blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9075d15590882ba5c51089ccf4fdeafa0697f942 | ef58f7cd07eb02b1f71265cb150cc53239890cdd | /modules/cloud-init/cassandra-module.hh | f27016fba54f0cf189c7febaa615296cd47e77f6 | [
"BSD-3-Clause"
] | permissive | SpirentOrion/osv | 4a636e5802551c15db8c27edd71709bae8bff914 | 32348562e2ba0b2275b2d8d64a78af97bedcdc88 | refs/heads/master | 2020-04-05T04:24:05.007536 | 2020-02-19T23:56:55 | 2020-02-19T23:56:55 | 40,269,211 | 2 | 3 | NOASSERTION | 2020-02-19T23:56:56 | 2015-08-05T21:15:32 | C | UTF-8 | C++ | false | false | 794 | hh | /*
* Copyright (C) 2014 Cloudius Systems, Ltd.
*
* This work is open source software, licensed under the terms of the
* BSD license as described in the LICENSE file in the top-level directory.
*/
#ifndef CLOUDINIT_CASSANDRA_HH_
#define CLOUDINIT_CASSANDRA_HH_
#include "cloud-init.hh"
#include "json.hh"
#include ... | [
"penberg@cloudius-systems.com"
] | penberg@cloudius-systems.com |
9aaf676d95870e6b28584e5cebe38d4fa806ce0e | e51648a72c966e5c3da36f2ab18af4355b623205 | /Ch10/3.cpp | 9a4a8f59a1f1ec6e97bee3278e89620cc629b1c6 | [] | no_license | derekszen/ElementsofProgramming | d11000898f6de1568957abb1aa4c33141759a211 | 4b64df3d27183f6520c31ca371c8e475f2e021d7 | refs/heads/master | 2022-03-07T18:32:30.127453 | 2019-04-11T02:03:57 | 2019-04-11T02:03:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,397 | cpp | /******** All Required Header Files (C++ version) ********/
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <sstream>
#include <queue>
#include <deque>
#include <bitset>
#include <iterator>
#include <list>
#include <stack>
#include <map>
#include <unordered_map>
#include <set>
#i... | [
"zengzhuoxi@gmail.com"
] | zengzhuoxi@gmail.com |
d2821712e2304b3daa390d7f71495c9efb3c2bbe | 47fbe84db0de0785c4f97fb0f360773fbf24685a | /DivsionPred.cpp | f121c3c7ab1576c80670d5debfcffcb9c4788627 | [] | no_license | mario9763/FP_tareas_00374819 | 9eecd901eb896937b9d745a7f83621057ae37a27 | b0d67253a01615961e0f2f10972ef1b1ff11ab35 | refs/heads/master | 2020-09-07T08:46:12.895492 | 2019-11-10T05:26:57 | 2019-11-10T05:26:57 | 220,727,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 713 | cpp | /******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
******************************************... | [
"54635532+mario9763@users.noreply.github.com"
] | 54635532+mario9763@users.noreply.github.com |
7ad6b75b2b02e722fb7e2257f3a9c54ca8032a34 | 102eae403665433dc48f48196a7e9210ca344678 | /MultiThreads/Generated Files/winrt/Windows.Phone.Notification.Management.h | f63281fd586c85d8a32b6f2546cfe9fc021181c6 | [] | no_license | AIchemists/multiThreads | 5fd583c46314296cc745d3afa23dbe1994dff9f6 | df57a18dff84cd51eda31184a9ba1c811d30e2c0 | refs/heads/master | 2022-12-18T16:09:57.390044 | 2020-09-22T01:57:58 | 2020-09-22T01:57:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 150,081 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.200917.4
#ifndef WINRT_Windows_Phone_Notification_Management_H
#define WINRT_Windows_Phone_Notification_Management_H
#include "winrt/base.h"
static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.200917.4"), "Mismatched C++/WinRT headers.")... | [
"jicheng@yahoo.com"
] | jicheng@yahoo.com |
2231d09dbcb60ba2b75b2dbc59bd22b41bdfbb0c | db55b589cced4d4db4511f86edadc3209716f7ae | /HPPSrc/HPPMatchTemp/main.cpp | fe7081ff182d9e5272949c4ff87cf51c0fa4fb11 | [] | no_license | kimbjerge/neuronDataCollector | 3480fa703068e97163290010ef033882f8d46e6c | dd5460f0b34d29b4383ba4589a1357be30992bf3 | refs/heads/master | 2020-04-08T17:04:54.154727 | 2019-06-28T12:20:25 | 2019-06-28T12:20:25 | 159,549,464 | 0 | 1 | null | 2020-01-08T08:08:06 | 2018-11-28T18:51:53 | C | UTF-8 | C++ | false | false | 2,819 | cpp | /*
* Empty C++ Application
*/
/*
* main.cpp
*
* Created on: 20. July 2018
* Author: Kim Bjerge
*/
#include <defsNet.h>
#include "NeuronChannels.h"
#include "CliCommand.h"
#include "DataUDPThread.h"
#include "CliTCPThread.h"
#include "UserThread.h"
#include "TestDataGenerator.h"
#include "TestDataSDCard.h... | [
"au288681@uni.au.dk"
] | au288681@uni.au.dk |
0ac59a293bcbeebd8eb7af633c333685ae9dbaa8 | dfadd879ccc98bb99c45651a33c80c18181589d9 | /Extensions/Editor/ResourceEditors.hpp | 56389b4a6f41273a304efbaeba985ef868eace94 | [
"LicenseRef-scancode-scintilla",
"MIT"
] | permissive | zeroengineteam/ZeroCore | f690bcea76e1040fe99268bd83a2b76e3e65fb54 | 14dc0df801b4351a2e9dfa3ce2dc27f68f8c3e28 | refs/heads/1.4.2 | 2022-02-26T04:05:51.952560 | 2021-04-09T23:27:57 | 2021-04-09T23:27:57 | 148,349,710 | 54 | 27 | MIT | 2022-02-08T18:28:30 | 2018-09-11T16:51:46 | C++ | UTF-8 | C++ | false | false | 754 | hpp | ///////////////////////////////////////////////////////////////////////////////
///
/// \file ResourceEditors.hpp
///
///
/// Authors: Chris Peters
/// Copyright 2014, DigiPen Institute of Technology
///
///////////////////////////////////////////////////////////////////////////////
#pragma once
namespace Ze... | [
"arend.danielek@zeroengine.io"
] | arend.danielek@zeroengine.io |
839d69f0bf91ffac56df5f32e440a5bba7646d64 | b2139a7f5e04114c39faea797f0f619e69b8b4ae | /src/speech/speechRecognizer/src/SpeechRecognizerModule.cpp | 7700082db0acee37b596c6c487818766e8470b43 | [] | no_license | hychyc07/contrib_bk | 6b82391a965587603813f1553084a777fb54d9d7 | 6f3df0079b7ea52d5093042112f55a921c9ed14e | refs/heads/master | 2020-05-29T14:01:20.368837 | 2015-04-02T21:00:31 | 2015-04-02T21:00:31 | 33,312,790 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 23,655 | cpp | #include "SpeechRecognizerModule.h"
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//Helpers for dealing with the weird strings of windows...
std::wstring s2ws(const std::string& s)
{
int len;
int slength = (int)s.length() + 1;
... | [
"hychyc07@cs.utexas.edu"
] | hychyc07@cs.utexas.edu |
a916e7319f8c276f8a8e7a6e9cc2221d0e2b353a | dde2922bd7e79fdbe090d3e03374d0b410974644 | /LeafNode.cpp | 4c892b7cbdf0c6bbb66debab88f9042d5bf02b91 | [] | no_license | ShellyCode/ECS60-p2 | bd8e5280335e67875ba777a432929ed9b8b6cd27 | d29cb4c804444a45ef57b2960b287848ffa8f49e | refs/heads/master | 2016-09-10T13:49:29.837113 | 2015-03-05T01:39:46 | 2015-03-05T01:39:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,233 | cpp | #include <iostream>
#include <climits>
#include <math.h>
#include "LeafNode.h"
#include "InternalNode.h"
#include "QueueAr.h"
using namespace std;
LeafNode::LeafNode(int LSize, InternalNode *p,
BTreeNode *left, BTreeNode *right) : BTreeNode(LSize, p, left, right)
{
values = new int[LSize];
} // LeafNode()
void... | [
"shellyzhang@campus-036-032.ucdavis.edu"
] | shellyzhang@campus-036-032.ucdavis.edu |
d5864eadf9932c37648b43ac4d65054796b6b45f | 0b69a011c9ffee099841c140be95ed93c704fb07 | /problemsets/Topcoder/SRM 463 (DIV2)/RabbitNumbering.cpp | 46852f57a39565a0db436c04feaca276a617233a | [
"Apache-2.0"
] | permissive | juarezpaulino/coderemite | 4bd03f4f2780eb6013f07c396ba16aa7dbbceea8 | a4649d3f3a89d234457032d14a6646b3af339ac1 | refs/heads/main | 2023-01-31T11:35:19.779668 | 2020-12-18T01:33:46 | 2020-12-18T01:33:46 | 320,931,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,516 | cpp | /**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
// BEGIN CUT HERE
// END CUT HERE
#line 5 "RabbitNumbering.cpp"
#include <cmath>
#include <cstdio>
#include <ctime>
#include <cctype>
#include <cstring>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#in... | [
"juarez.paulino@gmail.com"
] | juarez.paulino@gmail.com |
43d6dcd5518cfd90a7f09e39a0a5edf23facc654 | 9b8caa2e66fa81a0037e8066536f09b8c824941c | /atcoder/abc/abc269/g.cpp | 51ab47dc9200e1c871486ced0e67606941417e41 | [] | no_license | ayanamizuta/cpro | a66b46c87c71c2e9451fa01af1736242f09832a2 | ddd6fa35ed11a1fddadbed4027c52ed5479725eb | refs/heads/master | 2022-11-18T00:19:57.289569 | 2022-10-22T00:42:09 | 2022-10-22T00:42:09 | 149,390,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,045 | cpp | #include "bits/stdc++.h"
#include <atcoder/all>
using namespace std;
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define REP(i, n) FOR(i, 0, n)
#define ALL(a) (a).begin(), (a).end()
#define LL long long
int n, m, offset = 0;
vector<int> v;
int dp[200001];
vector<int> partition(int k)
{
vector<int> ret;
... | [
"ayanamizuta832@gmail.com"
] | ayanamizuta832@gmail.com |
3c52afd023beeb8d41be08c0c7215110d36e31a1 | 7903dcb1e8e3f26c558fc77107c14c287c50b554 | /1.0.0/Find File Game 1.0.0.cpp | 2e09b33256ef7be84a2212c6390086f1e4e975b8 | [] | no_license | Sowtyy/Find-File-Game | b8c27505ecd2b296e74e17fe2c80b5ad1ac004c7 | 0d8fd521edfe3ce1414dc979a22c7f6b834611d4 | refs/heads/main | 2023-02-27T10:15:49.466741 | 2021-02-10T13:38:29 | 2021-02-10T13:38:29 | 337,734,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,950 | cpp | // Find File
// Version 1.0.0
// Created by Sowtyy on 27.01.2021 @ 5:00 pm
#include <iostream>
#include <windows.h>
#include <string>
#include <fstream>
#include <stdlib.h>
#include <lmcons.h>
#include <errno.h>
#include <shlobj.h>
#pragma warning(disable : 4996)
int _ReadFile(const wchar_t* Chr3Path)
{
std::string... | [
"Sowtyy@users.noreply.github.com"
] | Sowtyy@users.noreply.github.com |
e3e3cba82590f405d3aa54c41ae71d6580b37dec | d4433d8c51e9dc6e0c2904def0a524c9125555de | /protos/shop_protocol.pb.cc | b1bacf45d5cb183b55451d2295b87591b111c0de | [] | no_license | 54993306/Classes | 3458d9e86d1f0e2caa791cde87aff383b2a228bb | d4d1ec5ca100162bd64156deba3748ce1410151d | refs/heads/master | 2020-04-12T06:23:49.273040 | 2016-11-17T04:00:19 | 2016-11-17T04:00:19 | 58,427,218 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | true | 89,731 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: shop_protocol.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "shop_protocol.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_strea... | [
"54993306@qq.com"
] | 54993306@qq.com |
210aa32d709df4dd306b6092ebab5ae597c77fcb | 0451bb80712ee438a71b0637610d8f03b3ef47d1 | /cpp/remove_char_inplace.cpp | d36bb5f77d9cdfc64d82d42cff7c1a6a049e05fc | [] | no_license | ddboline/programming_tests | f9a5c8d5fb2118ee5ef384a68e6a587210b09aa2 | 2a5374ab72a847257e6cfb2262e383916f7c8a86 | refs/heads/master | 2023-07-07T14:09:44.021171 | 2023-06-24T20:22:01 | 2023-06-24T20:22:01 | 26,826,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | cpp | #include <fstream>
#include <iostream>
#include <vector>
#include <string>
#include <string.h>
using namespace std;
void removeChar(string & source, unsigned int index) {
for(unsigned int i=0; i<source.size(); i++){
if(i >= index){
source[i] = source[i+1];
}
}
}
int main(int argc,... | [
"ddboline@gmail.com"
] | ddboline@gmail.com |
90fdeece3155f0136f6ffbfd426d0a748b7ff139 | 23e393f8c385a4e0f8f3d4b9e2d80f98657f4e1f | /ATL开发指南/Chap01/Templates/Templates.cpp | 2872b0f47720e43b401eabc5240bcd2bb94f72eb | [] | no_license | IgorYunusov/Mega-collection-cpp-1 | c7c09e3c76395bcbf95a304db6462a315db921ba | 42d07f16a379a8093b6ddc15675bf777eb10d480 | refs/heads/master | 2020-03-24T10:20:15.783034 | 2018-06-12T13:19:05 | 2018-06-12T13:19:05 | 142,653,486 | 3 | 1 | null | 2018-07-28T06:36:35 | 2018-07-28T06:36:35 | null | UTF-8 | C++ | false | false | 3,449 | cpp | //
// Templates.cpp
//
#include <windows.h>
#include <tchar.h>
#include <iostream.h>
//#define NO_TEMPLATES
#ifdef NO_TEMPLATES
class StackInt
{
public:
StackInt()
{
m_sSize = 100;
m_data = new int[ m_sSize ];
m_sPos = 0;
}
StackInt(short sSize)
{
m_sSize = sSize;
... | [
"wyrover@gmail.com"
] | wyrover@gmail.com |
84b4cf5ef258612ff9eefebbecbef46bb9ef33c5 | a815034289ea4b37bc56cc380bb722cf41bbeffb | /Menu.h | 10b6375265cd7fef5730eb2a01de8953bfd6923b | [] | no_license | toth108/assign5 | ae158af2ff93b4116432590c0f9fe23a5990983c | ff1cb1d57f44c0989d034701f917666a19a29b57 | refs/heads/master | 2020-05-18T22:58:20.570461 | 2019-05-03T05:12:29 | 2019-05-03T05:12:29 | 184,523,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | h | #include <iostream>
using namespace std;
class Menu
{
private:
int response;
public:
Menu();
~Menu();
void displayMenu();
}; | [
"noreply@github.com"
] | toth108.noreply@github.com |
49b2afc68c09e32794abb5b7cf544900e6de9132 | 57ac85ca91d0f218be2a97e41ad7f8967728e7b9 | /blaze/math/constraints/Columns.h | 8c466863b5277496867c2652053446ffef051286 | [
"BSD-3-Clause"
] | permissive | AuroraDysis/blaze | b297baa6c96b77c3d32de789e0e3af27782ced77 | d5cacf64e8059ca924eef4b4e2a74fc9446d71cb | refs/heads/master | 2021-01-01T16:49:28.921446 | 2017-07-22T23:24:26 | 2017-07-22T23:24:26 | 97,930,727 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,164 | h | //=================================================================================================
/*!
// \file blaze/math/constraints/Columns.h
// \brief Constraint on the data type
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze library. You can redistribute it... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
03670adc18fcf43af0529ba0e1294089f7b16a43 | 6ee6183408ebd088b1b619a788bd0a0bdcd39352 | /aten/src/ATen/native/Copy.cpp | 12e89a7feb71a85aaefb9b819db2b5b6f64bc982 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | ceseo/pytorch | c38a9075853bfc8805708ecb80877799f426d61d | abbe6347ff3a54fe1c165874ebe36208549d1b9e | refs/heads/master | 2020-09-06T03:18:50.104833 | 2019-11-07T17:33:02 | 2019-11-07T17:35:19 | 220,299,708 | 1 | 0 | NOASSERTION | 2019-11-07T18:08:06 | 2019-11-07T18:08:05 | null | UTF-8 | C++ | false | false | 5,093 | cpp | #include <ATen/native/Copy.h>
#include <ATen/ATen.h>
#include <ATen/Dispatch.h>
#include <ATen/NativeFunctions.h>
#include <ATen/native/TensorIterator.h>
#include <ATen/native/quantized/Copy.h>
#include <ATen/quantized/Quantizer.h>
#include <ATen/MemoryOverlap.h>
#include <ATen/NamedTensorUtils.h>
#include <ATen/core/... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
a5f5a07d901b0ba6d6932664d861567ee7c9df17 | 2d34422361367d6fb28167c713f689ee7084d5c0 | /libraries/windingNumber/windingNumber.cpp | f540e60102806dcbb64da3475802cb127601734b | [] | no_license | kengwit/VegaFEM-v3.0 | 5c307de1f2a2f57c2cc7d111c1da989fe07202f4 | 6eb4822f8d301d502d449d28bcfb5b9dbb916f08 | refs/heads/master | 2021-12-10T15:03:14.828219 | 2016-08-24T12:04:03 | 2016-08-24T12:04:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,870 | cpp | /*************************************************************************
* *
* Vega FEM Simulation Library Version 3.0 *
* *
* "windingNumber" l... | [
"jslee02@gmail.com"
] | jslee02@gmail.com |
cb248867c8151dbf34ba3cb96c09663e252f694f | aee223c0ae52713006b40059c42d3e3648681b38 | /test/dbc_zabbix_sender/TaskMonitorInfo.cpp | 1027e759420cdaab862eb96ded0a703ba7a2594c | [] | no_license | DeepBrainChain/DBC-AIComputingNet | 684d2a80dfefffa9cf1c1dde4018e0561e222e34 | 94448c385e37243f55bc45d60b1536b2db5ad4f4 | refs/heads/master | 2023-08-03T10:35:17.392602 | 2023-07-21T06:26:01 | 2023-07-21T06:26:01 | 118,290,364 | 21 | 13 | null | 2021-10-20T23:13:41 | 2018-01-20T23:50:43 | C++ | UTF-8 | C++ | false | false | 14,880 | cpp | #include "TaskMonitorInfo.h"
#include <cmath>
#include "rapidjson/rapidjson.h"
#include "rapidjson/document.h"
namespace dbcMonitor {
// 保留两位小数
inline float roundFloat(float value) {
return round(value * 100) / 100.0f;
}
class rappidJsonWriteFormat {
public:
rappidJsonWriteFormat(rapidjson::Writer<rapidjson::... | [
"1364812552@qq.com"
] | 1364812552@qq.com |
268555d85a823288ba1bf06df2e905b2f4629bb3 | a21c5f8dcc0fdd76303b9a808e86b6600361de8e | /2.cpp | cea9838317d03221942eba6ced73c1154655a2f9 | [] | no_license | kevindjoni/Homework-Chapter-4-Sir-Bagus- | c54fff225e16a2ba297d45f8abb3b3858af64db3 | bb41f69f06b684f1b8720a99c079466d22b5740b | refs/heads/master | 2021-01-11T01:10:07.069708 | 2016-10-17T01:41:32 | 2016-10-17T01:41:32 | 71,052,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | #include<iostream>
using namespace std;
int main()
{
int number;
cout << "Enter a number within a range of 1 to 10." << endl;
cin >> number;
if(number < 1 && number > 10)
{
cout << "Error";
}
switch(number)
{
case 1 :
cout << "I";
break;
case 2 :
cout << "II";
brea... | [
"noreply@github.com"
] | kevindjoni.noreply@github.com |
2aeec60c046b7d0294a92d0343245432cb46c83b | 79fd6e4c0dd0f982c9791fa50b3b2d5a0aa67957 | /Projects/data_structure/Chapter4_linked_queue_stack/Linked_queue/main@ed204d7550114007b90af8b0c9be7296.cpp | 1a88adcbe6e156ce13b3afa789b2e517604a3f52 | [] | no_license | wty1990000/TY_repository | 164192efb7180bb9e02a60b31fd52cfcca68fb12 | 3628b9ac0a0626546599759d6e5b0f35f4e7f168 | refs/heads/master | 2020-05-25T11:34:05.846396 | 2014-07-07T06:20:06 | 2014-07-07T06:20:06 | 16,769,489 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | #include "Extended_queue.h"
using namespace std;
int main()
{
Extended_queue q;
q.append('a');
q.append('b');
q.append('c');
q.print_queue();
cout<<q.size()<<endl;
} | [
"wty1990000@yeah.net"
] | wty1990000@yeah.net |
5f100cff43868dde59e233f5df527b0deb8f15da | 5be504e32c1d8c003b71ade91804fdee7487b046 | /lib/ui/painting/image_generator.cc | 59ee40768fe8f8265a20a50bff579d45f0062609 | [
"BSD-3-Clause"
] | permissive | linxuebin1990/engine | be83486c4e445b5a376c9fcc201721fcf2b0d106 | 4a358030cb0742491af5acc91ece40ee445ff027 | refs/heads/master | 2023-03-08T17:06:20.320016 | 2022-05-07T07:14:02 | 2022-05-07T07:14:02 | 241,888,547 | 2 | 1 | BSD-3-Clause | 2023-02-27T16:12:47 | 2020-02-20T13:18:16 | C++ | UTF-8 | C++ | false | false | 4,577 | cc | // Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/lib/ui/painting/image_generator.h"
#include "flutter/fml/logging.h"
namespace flutter {
ImageGenerator::~ImageGenerator() = default;
... | [
"noreply@github.com"
] | linxuebin1990.noreply@github.com |
fce676747ed57aab0a56cbecaaa738a805f4613d | eb18b92a256a0224e85a050902fb008fe8f35bb8 | /Project3-simple/Project3-simple/Project3-simple.cpp | 47a6ed91a69bbf13bfb88b8e8415e27b8785de54 | [] | no_license | unlimiteddigits/cs321 | 35ded96a50cac6c4ba30f8d31c1f0fda252abebc | 7e5637f51f15afdd17425c6e74b293fa7b60d4ce | refs/heads/master | 2023-02-01T07:03:23.900198 | 2020-12-11T05:03:09 | 2020-12-11T05:03:09 | 294,297,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,177 | cpp | /*
Project 3
CS321
Mark Erickson
https://github.com/unlimiteddigits/cs321
*/
// Source file including main method
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <string>
#include <fstream>
#include <GL/freeglut.h>
#include "Project3.h"
// In the future this program could need ... | [
"ericmw02@pfw.edu"
] | ericmw02@pfw.edu |
ac164899cb722d80077eaaf771c1d5f557a92072 | 3bc5d22175e2e32dcfd007bd94039ea8fa0a4b4e | /search/Similarity.cpp | 47d2d458a6bba8c3a24a6e0dcc6507d45195dff3 | [] | no_license | longmm/lucene--Distributed- | 3d21b1fdc3f03894420880498ecba075e721b1b4 | 174857cea15dd1312c2a00ae8f53ccb4603f758a | refs/heads/master | 2021-01-01T05:35:14.628982 | 2017-02-08T08:50:00 | 2017-02-08T08:50:00 | 14,352,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | cpp | #include "lucene_search.h"
using namespace std;
using namespace lucene_search;
union CODE{
float f;
int i;
};
char lucene_search::Similarity::encodeNorm(float src){
CODE c;
c.f=src;
int bits=c.i;
int smallfloat = bits >> (24-3);
if (smallfloat < (63-15)<<3) {
return (... | [
"longmm1988@sina.com"
] | longmm1988@sina.com |
75a626d876f2e1e88f967efe46452de368f2e315 | effc4e142e133980543af1c04381cd07b2a878d1 | /examples/example3.cpp | 590bc4c512726e51bbca82459e0e812d84bb9136 | [
"BSD-2-Clause"
] | permissive | Aureliano98/radix_tree | 7efd739812ac50206a063419ba95ef3fe170a2a3 | fcc47999335566d43302560a688aad3ae800eb83 | refs/heads/master | 2020-04-14T08:37:08.545590 | 2019-01-18T09:02:46 | 2019-01-18T09:02:46 | 163,739,366 | 0 | 0 | NOASSERTION | 2019-01-18T09:02:47 | 2019-01-01T13:38:48 | C++ | UTF-8 | C++ | false | false | 1,825 | cpp | #include <string>
#include <iostream>
#include <cstdlib>
#include <vector>
#include <list>
#include "../radix_tree.hpp"
using set_type = radix::radix_set<std::string>;
set_type tree;
void insert() {
std::string strs[] = {
"apache", "afford", "available", "affair",
"avenger", "binary", "bind", "br... | [
"liyilin16@mails.tsinghua.edu.cn"
] | liyilin16@mails.tsinghua.edu.cn |
09a065ab504151a0d7de502076f00fee256cbfad | 7ab3e03722412322193afc6f1c13e2ec96d6e83b | /ext/benchmarks/PLSA/ParaSWParam.cpp | fee68fa6ddb36fda58af375589b5b4015f5af4b8 | [] | no_license | sarachour/topaz | 65b19e445fc7c195e44246b034a1cbd6d52458b5 | 81d8ad7a54589010a287e0437d956ddec18094a1 | refs/heads/master | 2021-01-20T11:05:08.658561 | 2017-03-20T18:15:53 | 2017-03-20T18:15:53 | 38,016,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,009 | cpp | // ParaSWParam.cpp: implementation of the ParaSWParam class.
//
//////////////////////////////////////////////////////////////////////
#include "Common.h"
#include "memory.h"
#include "ctype.h"
#include "ParaSWParam.h"
#include "ParaSWProblem.h"
#include "Debug.h"
extern CDebug debugf;
/****************... | [
"sachour@mit.edu"
] | sachour@mit.edu |
e3b75738052fe30e707bf8fb092a5a44eefd17bd | 36c00fe2afff4818c937e312ce0c6a79f35e2a77 | /6-kyu/custom-christmas-tree/c++/solution.cpp | 6b9f3bd4df5c3e7a552e5c10339f94ff0acde591 | [] | no_license | p-lots/codewars | 0a67b6ee4c91180ff78c648421b9d2d64463ddc3 | 535faeee475c6b398124d6f5002b0e111406e8bb | refs/heads/master | 2023-08-23T22:14:33.635011 | 2023-08-23T13:30:37 | 2023-08-23T13:30:37 | 195,320,309 | 0 | 0 | null | 2023-05-09T19:25:50 | 2019-07-05T01:40:15 | Python | UTF-8 | C++ | false | false | 693 | cpp | std::string customChristmasTree(const std::string& chars, int n){
int num_before_spaces = n - 1, chars_it = 0, num_chars_per_line = 1;
std::string ret = "";
for (unsigned i = 1; i <= n; i++) {
if (num_before_spaces > 0) ret += std::string(num_before_spaces, ' ');
for (unsigned j = 0; j < num_chars_pe... | [
"paul.calotta@gmail.com"
] | paul.calotta@gmail.com |
7922fe2d60191c1dc155ac352a1c3d8b557cc565 | 91d6c82cf7e7c86f1770786033f91edc039535fa | /PlayBox/dev/prj/PlayBox/src/datainterface/ISkinDown.h | c202f2014f4f40da2394949c4fa4f5a3f60867ab | [] | no_license | linjianbjfu/PlayBox | 147c23ab304e9cc94d7b5a430c97fdc847e1819d | 83672444459b21d91ad68a9e6c1b4b9c04b18da8 | refs/heads/master | 2020-05-19T11:03:33.892941 | 2013-03-25T16:01:28 | 2013-03-25T16:01:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 132 | h | #ifndef _I_SKINDOWN_DATA_H
#define _I_SKINDOWN_DATA_H
#include "IData.h"
class ISkinDownData: public IData
{
public:
};
#endif
| [
"chaohua.gao@qq.com"
] | chaohua.gao@qq.com |
317e50e46ed72238d405e6c7518bd90ec25e440c | c82f55d437fc6bd889b9b231a2282029c1e51690 | /node_modules/@kartotherian/mapnik/deps/wagyu/include/mapbox/geometry/wagyu/edge.hpp | 5f974f082e23b79c626f611aba41fd37988b9077 | [
"BSD-3-Clause",
"BSL-1.0"
] | permissive | wikimedia/maps-kartotherian-deploy | aafe5dd96c43fdba5720583ee30198a3cad2fe7a | 33256832090c5a9d07322c840523d062e6dbc917 | refs/heads/master | 2023-08-31T11:31:20.341910 | 2023-08-14T14:15:55 | 2023-08-16T09:09:38 | 39,221,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,510 | hpp | #pragma once
#include <cmath>
#include <limits>
#include <list>
#include <mapbox/geometry/point.hpp>
#include <mapbox/geometry/wagyu/config.hpp>
#include <mapbox/geometry/wagyu/util.hpp>
#ifdef DEBUG
#include <iostream>
#endif
namespace mapbox {
namespace geometry {
namespace wagyu {
template <typename T>
struct b... | [
"msantos@wikimedia.org"
] | msantos@wikimedia.org |
f5aacae8d5d6fb3ad772f2561af6cea477becb4d | 8751230f16a776e5a61754c7d38c0c2380efbf42 | /src/appleseed/foundation/math/intersection/raytrianglehh.h | af2548f3ab84473a043445cd13fd3349615bfd66 | [
"MIT"
] | permissive | willzhou/appleseed | 0b5dc66480809c92b358264de6e9f628a5758922 | ea08888796006387c800c23b63a8ca7bb3c9b675 | refs/heads/master | 2021-01-20T23:16:42.617460 | 2012-05-31T08:29:22 | 2012-05-31T08:29:22 | 4,506,046 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,666 | h |
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2012 Francois Beaune, Jupiter Jazz Limited
//
// Permission is hereby granted, free of charge, to any person obtaining ... | [
"beaune@aist.enst.fr"
] | beaune@aist.enst.fr |
3510662c8e132484b75a682bed1cd9a9b4fde943 | 6f874ccb136d411c8ec7f4faf806a108ffc76837 | /code/Windows-classic-samples/Samples/Win7Samples/winui/WindowsRibbon/ContextPopup/CPP/ContextUI.cpp | 9e915d28cd324560ab4a786ae56e61b227dc6125 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | JetAr/ZDoc | c0f97a8ad8fd1f6a40e687b886f6c25bb89b6435 | e81a3adc354ec33345e9a3303f381dcb1b02c19d | refs/heads/master | 2022-07-26T23:06:12.021611 | 2021-07-11T13:45:57 | 2021-07-11T13:45:57 | 33,112,803 | 8 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | cpp | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
#include "ContextUI.h"
#i... | [
"126.org@gmail.com"
] | 126.org@gmail.com |
1fd59a13d35579f0a7da0a6d87ee4b8bb410aea1 | 858344e20d32e97d86efd06f229a3a130d5d64f4 | /CoreLib/DataHandle/RedisAdapter/RedisBuffer.h | 4150113141fe1864650c2a2c1bc6a23355d9494d | [] | no_license | zh880517/GMServer | 29b27e3c41a39a1f53a59aa41135a02ad8474d89 | 7b09312196750f82836fcdbb92ac3a421d0aad0d | refs/heads/master | 2020-04-10T16:56:04.661097 | 2016-11-04T07:49:28 | 2016-11-04T07:49:28 | 68,033,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 757 | h | #pragma once
#include <string>
#include <map>
#include <functional>
namespace Data
{
class RedisBuffer
{
struct FieldBuffer
{
void ValueChange(uint32_t iKeyField, const std::string& strValue);
std::map<uint32_t, std::string> mapField;
};
struct KeyBuffer
{
void ValueChange(uint32_t iKeyField, ... | [
"zh880517@163.com"
] | zh880517@163.com |
26891c33387cde4bae75ea05c189638e91002e62 | bb609ad7b827ef4e8647af20aa9db0348acc0a43 | /MEDIUM/Number Of Coins For Change/Solution1.cpp | 761b3f8c60c9806916bae5e77f2368c31fab18c2 | [] | no_license | silvistershebin/Algos | 1c71396ce14ed995876ed674b9c82c0c073e0e37 | 4b9caffebdd8547106f736f70668ce24ab066a8d | refs/heads/master | 2022-11-20T16:57:50.379554 | 2020-07-24T04:10:25 | 2020-07-24T04:10:25 | 269,698,949 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | cpp | /****************************************************
TC: O(n*d) : (n : target amount; d : number of denominations)
SC: O(n)
Method: DP
*****************************************************/
#include <vector>
using namespace std;
int minNumberOfCoinsForChange(int n, vector<int> denoms) {
vector<int> count(n+1, INT_... | [
"silvistershebin@gmail.com"
] | silvistershebin@gmail.com |
68d351bf5e8838dd58c91c562e3f2c49f2f71471 | f26886da529d8708dc3cd18ef85fb735177e4bed | /@DevilDust/Source_Code/addons/pAx_Base_DD/config.cpp | efe3f12c7c1a33a02a73d0ddda0c3572e85215c5 | [] | no_license | DevilDust/DevilDust | e53d7823b4d4505620ac1398fe3ed1627b407372 | 0521db8bc1fd97a385111a1e46b63c97a6c10bdc | refs/heads/master | 2020-12-11T07:52:57.736039 | 2015-11-08T04:49:59 | 2015-11-08T04:49:59 | 44,074,933 | 1 | 0 | null | 2015-11-08T04:49:59 | 2015-10-12T00:14:07 | C++ | UTF-8 | C++ | false | false | 127 | cpp | #include "cfgPatches.hpp"
#include "defines.hpp"
#include "dialogs.hpp"
#include "cfgfunctions.hpp"
#include "cfgVehicles.hpp"
| [
"lapxtn@gmail.com"
] | lapxtn@gmail.com |
b0f443ff1adbc15dc272e5dd1214581bbaa858bf | a44a6138ffec66f7ba9e28988336e67436b8d37a | /FlexEngine/src/stdafx.cpp | 7ea0b567812e2c9adfc22764d0e882170c59bc1d | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yu-cao/FlexEngine | 523914ebfc2b267d1dd843e59d3b546b01c062fa | 127668cf77fa6a3f020064bc00d570017dfe8ed3 | refs/heads/master | 2020-09-21T15:59:58.073081 | 2019-10-06T21:30:19 | 2019-10-06T21:30:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,785 | cpp | #include "stdafx.hpp"
#include <iostream>
namespace flex
{
ImVec4 g_WarningTextColor(1.0f, 0.25f, 0.25f, 1.0f);
ImVec4 g_WarningButtonColor(0.65f, 0.12f, 0.09f, 1.0f);
ImVec4 g_WarningButtonHoveredColor(0.45f, 0.04f, 0.01f, 1.0f);
ImVec4 g_WarningButtonActiveColor(0.35f, 0.0f, 0.0f, 1.0f);
}
void* operator new(s... | [
"ajweeks@shaw.ca"
] | ajweeks@shaw.ca |
20eb7b5394ca29f8f6458f318d4355277a6b65f4 | 14a47abaef60d4fd6d7a73f90c444e959ef5c12e | /src/graphic/kernels/shaded.h | 06f602782d770dc35b53598778c336dcba471dfd | [] | no_license | JonasToth/cuda_raytracer | 771a7e1aaf2e6333f6354c5ef9a45113161113ef | d9b138b0e7922cb8dfb27f3e64ea91033ca08673 | refs/heads/master | 2021-01-19T21:59:16.936547 | 2017-07-31T11:58:14 | 2017-07-31T11:58:14 | 88,734,231 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,718 | h | #ifndef SHADED_H_KK3H1DCZ
#define SHADED_H_KK3H1DCZ
#include "graphic/camera.h"
#include "graphic/light.h"
#include "graphic/ray.h"
#include "graphic/shading.h"
#include "graphic/triangle.h"
#include <gsl/gsl>
/// Calculate the whole shading formular for one channel
/// This is C-Style, since it must run on the gpu... | [
"jonas.toth@gmail.com"
] | jonas.toth@gmail.com |
c08a7a6e7711a4d8eaccdfeeab5de1f7a39d63af | ff616a08d88a204ca550110f0c36129114741ecd | /drivers/delta_lidar/sdk/include/CDeviceConnection.h | dcf21d935541af27ab8285fd87432e10a537423e | [
"MIT"
] | permissive | rascimatec/i3e-d3 | a84d33c8d62e8168448c1b8e74cd79d670fc6956 | 3a317f2d5c75ec19d1f4397c30853223eaa322b6 | refs/heads/master | 2022-02-26T00:25:48.126152 | 2022-02-19T19:42:19 | 2022-02-19T19:42:19 | 254,993,647 | 5 | 2 | MIT | 2022-01-08T19:49:04 | 2020-04-12T02:25:25 | C++ | UTF-8 | C++ | false | false | 4,258 | h | /**********************************************************************************
File name: CDeviceConnection.h
Author: Shizhe
Version: V1.6.1
Date: 2016-3-2
Description: A base class for device connect
Others: None
History:
1. Date: 2015-09-15
Author: Kimbo
Modification: Refactor this cl... | [
"felipe18mohr@gmail.com"
] | felipe18mohr@gmail.com |
03cfe56654fd5053cf46790f1acd1b972a4f7ab0 | 65cadb0d122c438cc55546bbecd843a1e84d3574 | /MiniLua/MiniLua.cpp | 5de0641f9103c53ef737d5d66810955459419415 | [
"MIT"
] | permissive | badewen/Lua-Adapter | b392681930f73abdc9d98c255e113953c7b4ab58 | 2f2b637f631f16c5e60647ea9b5814797c1ec99f | refs/heads/master | 2023-06-18T12:29:00.871775 | 2021-07-01T10:18:47 | 2021-07-01T10:18:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,743 | cpp | /*
* Copyright (c) 2015-2021 JlnWntr (jlnwntr@gmail.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify,... | [
"julian.winter@fh-muenster.de"
] | julian.winter@fh-muenster.de |
c820ce71f0fb8a3adaa06fa499fca50be60717a6 | 49f88ff91aa582e1a9d5ae5a7014f5c07eab7503 | /gen/third_party/blink/renderer/platform/network/http_names.cc | 91bc14a78510f2adda221f8ca3c2c732c5864871 | [] | no_license | AoEiuV020/kiwibrowser-arm64 | b6c719b5f35d65906ae08503ec32f6775c9bb048 | ae7383776e0978b945e85e54242b4e3f7b930284 | refs/heads/main | 2023-06-01T21:09:33.928929 | 2021-06-22T15:56:53 | 2021-06-22T15:56:53 | 379,186,747 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,439 | cc | // Copyright (c) 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Generated from template:
// templates/make_names.cc.tmpl
// and input files:
// ../../third_party/blink/renderer/platform/network/http_names.js... | [
"aoeiuv020@gmail.com"
] | aoeiuv020@gmail.com |
cfac1a17d6cc9a5b933bf14cd7ad485d41b408b1 | 511d7cd374cf8ecdc6a9d72223bed16a32d83c78 | /msdk/mscom/msc/CMSCMessageQueue.h | 868a9bdd10d709a8e0cf598cd6c244fab35e9c8a | [] | no_license | mynick777/msdk | 1818c718a181de772b9a3e2dd6d7b9a66296dc86 | 4ee669c60148ad72e1d8af9bea05e05019af79e6 | refs/heads/master | 2020-05-18T00:56:37.308774 | 2019-05-01T16:19:13 | 2019-05-01T16:19:13 | 184,075,465 | 0 | 0 | null | 2019-04-29T13:22:32 | 2019-04-29T13:22:32 | null | UTF-8 | C++ | false | false | 565 | h | #ifndef _C_MSC_MESSAGE_QUEUE_H_
#define _C_MSC_MESSAGE_QUEUE_H_
#include <queue>
#include "XMutex.h"
#include "XMessage.h"
/////////////////////////////////////////////////////////////////////////////
class CCMSCMessageQueue :public XMutex
{
public:
CCMSCMessageQueue();
~CCMSCMessageQueue();
BOOL Initialize();
VO... | [
"maguojun123@126.com"
] | maguojun123@126.com |
22571bebdd58da9c3311b2d5c8fb90aa1cfc66d3 | 9b570dbbb53fb7a3aaa5195468d0112aecbc1c11 | /src/idom/IDNodeImpl.cpp | db8dd40973e647cd212fd09cf6f03fd82231036f | [] | no_license | kidaak/xerces-c | ad9da8504451b7dfe402de565abffd967209204e | 63222906d7597ca0887d8fc2b090b339c7a04213 | refs/heads/AndyHeninger | 2020-04-29T09:53:28.838336 | 2015-12-11T17:04:34 | 2015-12-11T17:04:34 | 47,839,341 | 0 | 0 | null | 2015-12-11T16:59:59 | 2015-12-11T16:59:58 | null | UTF-8 | C++ | false | false | 13,408 | cpp | /*
* The Apache Software License, Version 1.1
*
* Copyright (c) 1999-2000 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | [
"andyh@apache.org"
] | andyh@apache.org |
40d8015b857c821feec075e722c7022ce8d8c50e | c636136096c92ddb07ce97d3960bf0289d70b57a | /Medusa/MedusaCore/Core/Pattern/Predicate/TruePredicate.cpp | b55e1d5462a7909c5bd3737aa3ec8a13fd290ac0 | [
"MIT"
] | permissive | johndpope/Medusa | 6a5a08e0c3f216dcab3b23db2f7bcf4d05845bce | 22aa6719a001330fea51a6822fec01150eb8aabc | refs/heads/master | 2020-12-30T20:51:14.718429 | 2015-12-15T12:31:22 | 2015-12-15T12:31:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | // Copyright (c) 2015 fjz13. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
#include "MedusaCorePreCompiled.h"
#include "TruePredicate.h"
MEDUSA_BEGIN;
MEDUSA_IMPLEMENT_RTTI(TruePredicate, IPredicate);
MEDUSA_END; | [
"fjz13@live.cn"
] | fjz13@live.cn |
b9ff2dbece895c3a13874607049eae2a379fe90b | c6d9ab6afa0901367847c4ae7ba2c5a741fd419b | /code/lecture11/list_pool.h | 23924a49dda867f2656958c9db576c605e7e6b16 | [] | no_license | rjernst/stepanov-components-course | d046ab58091ff14c835139837488773f242a2999 | 375bcb790ee40020ff639e0b8ddec0cfe58ba27a | refs/heads/master | 2021-01-22T13:42:34.362222 | 2019-01-08T19:00:28 | 2019-01-08T19:00:28 | 11,644,225 | 69 | 30 | null | 2016-12-26T16:31:18 | 2013-07-24T20:13:45 | C++ | UTF-8 | C++ | false | false | 4,023 | h | #ifndef LIST_POOL_H
#define LIST_POOL_H
#include <vector>
#include <cstddef>
#include <iterator>
// Requirements on T: semiregular.
// Requirements on N: integral
template <typename T, typename N = std::size_t>
class list_pool {
public:
typedef N list_type;
typedef T value_type;
private:
struct node_t {
... | [
"stepanov@a9.com"
] | stepanov@a9.com |
3eec2077277c927b6622267a6b416adf5a885c21 | 550e96fb6a69ee7d35bd1c1e4d6601505db42b38 | /APPLICATIONS/SHALLOW_WATER/SW_MSL/src/Kernels/Kbloc1x1_bloc1x2.cpp | ce0fcb698aac99fe065779478a4e919550100127 | [] | no_license | jbigot/csm | b81e460063b042a800d52c7db0a3dbf137d307e7 | 9ab0f08d0eb3c230c5bc0dfb59d872fe0d3ecbb3 | refs/heads/master | 2023-03-18T16:04:06.518853 | 2017-03-07T13:16:22 | 2017-03-07T13:16:22 | 350,790,392 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,383 | cpp | #include <iostream>
#include <llcmcpp/llcmcpp3.h>
#include <llcmcpp/go.h>
#include <datah.h>
#include <controller.hpp>
#include <kernelh.h>
#include <math.h>
typedef llcmcpp::Go Go;
using ::std::cout;
using ::std::endl;
#define max(a,b) (a>=b?a:b)
#define min(a,b) (a<=b?a:b)
#define grav 9.81
#define grav_dem 4.905... | [
"helene.coullon@inria.fr"
] | helene.coullon@inria.fr |
47114db8ff580a86358efd0ba20b538e76259925 | 62dfc291c5f81e06f297b63de6784d86aeef6e98 | /rotated sorted.cpp | 8320cdf556af8aec7bef54daa6b7f4ab17276b57 | [] | no_license | archanayadav1408/Rotated-Sorted-Array-search | ed2fdcfa60511acbc95532ccebfb0cc3c08a22ac | f1f0b36706805143d7512515e6d64507d2531ad5 | refs/heads/master | 2021-06-28T06:12:41.232389 | 2018-10-19T11:40:59 | 2018-10-19T11:40:59 | 153,773,273 | 0 | 2 | null | 2020-10-05T09:59:13 | 2018-10-19T11:33:54 | C++ | UTF-8 | C++ | false | false | 691 | cpp | int Solution::search(const vector<int> &A, int x) {
int n=A.size();
int st=0;
int end=n-1;
int mid;
while(st<=end){
mid = (st+end)/2;
if(A[mid]==x)
return mid;
if(A[st]>A[end])
{
if(A[mid]>=A[st])
{
if(A[mid]>x && x>=A[st])
end=mid... | [
"noreply@github.com"
] | archanayadav1408.noreply@github.com |
0261ee0d0822f192ca3877a11b48a4953c281e5d | ac20ec94cb12b285b955d9a3c6a9152ed6bc627f | /Thunder3D/Thunder3D/craft.h | bca7d7ef571722895cc20f810431778798888dc5 | [] | no_license | tomblack2014/Thunder3D | 5ceb4508afda0c9cf450579708e0d10097f3150b | 15c032af67e7ac0552b7b4e127c517d8003cb5b5 | refs/heads/master | 2020-03-18T17:35:41.314092 | 2018-08-28T08:56:00 | 2018-08-28T08:56:00 | 135,037,795 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 2,331 | h | #ifndef _CRAFT_H
#define _CRAFT_H
#include "object.h"
#include "materialModel.h"
#include "model.h"
class Craft : public Object
{
public:
/**
* \brief 构造方法
*
* \param pos 位置(世界坐标)
*
* \param velocity 速度(矢量)
*
* \param up 上方向向量
*/
static Craft* create(_In_ const Vec4f& pos, _In_ const Vec4f& velocity... | [
"491727969@qq.com"
] | 491727969@qq.com |
d7e22080675faf5b41f10950efd8e655dde78795 | f2911e25807c30452fefcf9619ac6b0031abd266 | /include/simple_window/window_win32.hpp | f3a9f18fd4b1c841f248397575900037ae095bc7 | [] | no_license | antlilja/simple_window | 4685b32d055044365879ef593b964dddb2da9b54 | f71cee1338913c98601452878b8c595e0e77adb8 | refs/heads/master | 2022-10-12T19:25:53.918942 | 2020-06-06T15:54:14 | 2020-06-06T15:54:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,484 | hpp | #pragma once
#include "simple_window/window_base.hpp"
#include "simple_window/enums.hpp"
#define NOMINMAX
#define WIN32_LEAN_AND_MEAN
#define VC_EXTRALEAN
#include <Windows.h>
#include <VersionHelpers.h>
namespace sw::detail {
class window_win32 : public window_base {
protected:
window_win32(const cha... | [
"liljaanton2001@gmail.com"
] | liljaanton2001@gmail.com |
0efe1ba9848481b42735570f0bbbee1588325d9c | 0d3a379e5e4967031fa05cc963b756251d412235 | /String/Z algorithm.cpp | 6cb19f67ddbf7876fb09321541d376341d914b2a | [] | no_license | iankury/CPP | 79d537f2bd5ed595ff06d4a0452c0368e7051c8e | d77c6f198c1c695d25e4a6453b5e03c339e11888 | refs/heads/master | 2023-03-03T03:43:27.151608 | 2021-02-14T15:10:47 | 2021-02-14T15:10:47 | 291,296,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | #include <bits/stdc++.h>
using namespace std;
void io() { ios_base::sync_with_stdio(0), cin.tie(0); }
typedef long long ll;
typedef vector<int> vi;
// ↓ Adapted from Laaksonen's handbook
vi Z_Array(const string& s) {
int x = 0, y = 0, n = s.size();
vi z(n);
for (int i = 1; i < n; i++) {
z[i] = max(0, min(z... | [
"iankwen@gmail.com"
] | iankwen@gmail.com |
c960b4836e36864303a43601ae3d59d6991d38d3 | 65613af2800ca7dc3153b29ce1abdbbb572077b6 | /model/balloc.cpp | 228d95bbbb9fe59f079c6cd15e62be97b3f5fbbb | [] | no_license | ziseputi/manet | 35bbb70c0c8aa6e8eae60b6dae03fb4394bb40ef | 2c57dc620685a78603c0f03ba3786f0c56f97cba | refs/heads/master | 2023-03-05T04:43:05.215841 | 2021-02-13T11:04:17 | 2021-02-13T11:05:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,503 | cpp | #include <opnet.h>
#include <balloc.hpp>
#include <string.h>
#include <vector>
#include <set>
#include <algorithm>
#include <iostream>
namespace balloc
{
const char *string_type[] = {"VACCANT", "PREORDAINED", "EXTENDED", "PRIMARY", "URGENT"};
const char *string_mode[] = {"INVALID", "RECV", "SEND"};
const char *string... | [
"1835654525@qq.com"
] | 1835654525@qq.com |
525721674f046e935f869ea3635203265cacdbba | 8903cb76cedac12995249e2e613af65365be7cf2 | /ares/sfc/ppu/ppu.hpp | 038afda30b3be4b9a03a0e5e86bd1148ea76e806 | [
"ISC"
] | permissive | kirwinia/ares-emu-v121 | 0c1e21e073f291741406cd1ed01acca43acd56d7 | 722aa227caf943a4a64f1678c1bdd07b38b15caa | refs/heads/main | 2023-06-09T15:28:23.665934 | 2021-06-28T06:10:46 | 2021-06-28T06:10:46 | 380,923,321 | 0 | 0 | ISC | 2021-06-28T06:05:04 | 2021-06-28T06:05:04 | null | UTF-8 | C++ | false | false | 10,044 | hpp | #if defined(PROFILE_PERFORMANCE)
#include "../ppu-performance/ppu.hpp"
#else
struct PPU : Thread, PPUcounter {
Node::Object node;
Node::Video::Screen screen;
Node::Setting::Natural versionPPU1;
Node::Setting::Natural versionPPU2;
Node::Setting::Natural vramSize;
Node::Setting::Boolean overscanEnable;
Node... | [
"ecallaghan@protonmail.com"
] | ecallaghan@protonmail.com |
17790b4c7be8181e28c38525f1838d9339dbd5fe | dd1e9e3796576da599f3981a7abaf2fcd9d6b89a | /lib/libopenmpt/src/mpt/base/detect_libcxx.hpp | d4524de99bc5a0b32c8ddec6c3437d364b6d1489 | [
"BSL-1.0",
"BSD-3-Clause",
"Zlib"
] | permissive | blitzimagine/BlitzSharp3D | 4ae674cfdd2aba09f6844dce10ad44796c92aad0 | cbf25a5d4ad3e1081e819c0dfaeb3ce40cd57860 | refs/heads/master | 2023-04-13T08:50:40.440863 | 2022-06-08T13:41:12 | 2022-06-08T13:41:12 | 189,093,663 | 9 | 1 | NOASSERTION | 2021-09-04T22:52:21 | 2019-05-28T19:52:11 | C | UTF-8 | C++ | false | false | 984 | hpp | /* SPDX-License-Identifier: BSL-1.0 OR BSD-3-Clause */
#ifndef MPT_BASE_DETECT_LIBCXX_HPP
#define MPT_BASE_DETECT_LIBCXX_HPP
#include "mpt/base/detect_compiler.hpp"
#include "mpt/base/detect_os.hpp"
#include "mpt/base/detect_quirks.hpp"
#if MPT_CXX_AT_LEAST(20)
#include <version>
#else // !C++20
#include <array>
#... | [
"39096122+HumanGamer@users.noreply.github.com"
] | 39096122+HumanGamer@users.noreply.github.com |
88f823d3422a588bcf349e65b8dfd1f5c8197d5a | 3670f46666214ef5e1ce6765e47b24758f3614a9 | /oneflow/core/actor/pack_compute_actor.cpp | 9b072179fc42a71a5232d17eb0bf1eb0c7d1b235 | [
"Apache-2.0"
] | permissive | ashing-zhang/oneflow | 0b8bb478ccd6cabea2dca0864defddab231919bf | 70db228a4d361c916f8f8d85e908795b479e5d20 | refs/heads/master | 2022-12-14T21:13:46.752535 | 2020-09-07T03:08:52 | 2020-09-07T03:08:52 | 293,535,931 | 1 | 0 | Apache-2.0 | 2020-09-07T13:28:25 | 2020-09-07T13:28:24 | null | UTF-8 | C++ | false | false | 2,765 | cpp | /*
Copyright 2020 The OneFlow Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | [
"noreply@github.com"
] | ashing-zhang.noreply@github.com |
7ebfcc77f7108887d6167b13a9476673c1bc2794 | 633971ec5038d4cf3086701b34aebfdd67e89100 | /src/Madgraph/PROC_SA_CPP_sm_DECAY_tbwjj/src/Parameters_sm_tbwjj.h | a9e255d5f3d2d77095f90cabb6b69fa1048c31c9 | [] | no_license | nchanon/MEMmultilepton | d1344dd054b14c1fb03bd109ea91c986cd9162f2 | 4c6ac27808e5dab8c81420efe183ae9c46ae2d3d | refs/heads/master | 2020-04-08T11:51:12.001601 | 2019-04-19T13:54:21 | 2019-04-19T13:54:21 | 159,323,017 | 0 | 3 | null | 2019-12-05T21:13:40 | 2018-11-27T11:12:28 | C++ | UTF-8 | C++ | false | false | 2,387 | h | //==========================================================================
// This file has been automatically generated for C++
// MadGraph5_aMC@NLO v. 2.2.2, 2014-11-06
// By the MadGraph5_aMC@NLO Development Team
// Visit launchpad.net/madgraph5 and amcatnlo.web.cern.ch
//==========================================... | [
"nicolas.pierre.chanon@cern.ch"
] | nicolas.pierre.chanon@cern.ch |
45d7997d2dd0a048f5b1b1bc6aec1cb8610fcfb9 | 95ef632631a31623b00b585bd8cd10310f33cea8 | /include/bm/bm_sim/options_parse.h | 42f9baf19cd6ca44467e1890bd45f9e1a2d062cd | [
"Apache-2.0"
] | permissive | p4db/p4db-bmv2 | 28130a9b99218a3a330b4cc351de72e83edfa51f | 91b07f03ddcb76bc5b319882c3199101879e5c7b | refs/heads/master | 2021-01-21T11:59:58.815261 | 2017-05-19T06:06:14 | 2017-05-19T06:06:14 | 91,769,794 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,513 | h | /* Copyright 2013-present Barefoot Networks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | [
"p4db-dev1@163.com"
] | p4db-dev1@163.com |
c7f376cefdbdd83e78ea25b9044e53c2c793161d | 67038fc7a445661e44f6ca82d20de4668fd3cc14 | /packages/message_generators/ImageLoader.hpp | fbf74add4e2775d75db9bc72d1cffc18d6321152 | [] | no_license | stevelimyh/Lidar_Backpack_ISAAC_SDK | bc551bbaf711d74bf694b7393358cc971c4867cc | 92ef2bb115068deec3b37af5392a8e5fb7a4b502 | refs/heads/master | 2022-11-16T07:37:37.087043 | 2020-07-03T05:54:58 | 2020-07-03T05:54:58 | 274,731,411 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,336 | hpp | /*
Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
NVIDIA CORPORATION and its licensors retain all intellectual property
and proprietary rights in and to this software, related documentation
and any modifications thereto. Any use, reproduction, disclosure or
distribution of this software and related docum... | [
"steven.lim0403@gmaail.com"
] | steven.lim0403@gmaail.com |
e52de05559bd4e711de5353f0d115e24d4dcc3e7 | f1addf3dac497d22615aacb28754fa7b1ef13f77 | /code/ch01.Intro_cpp/ch01/1.3.1CoutString.cpp | c3a98f566054e4d6820394415061bcb419659253 | [] | no_license | oddukgi/lightcpp | 7183c7aa5d7f57004f744a00f93b7deeea5ac8de | d1d21d6afe20024b5cee03f7199768caf66a2b75 | refs/heads/master | 2021-06-14T09:27:59.522317 | 2017-03-28T03:01:21 | 2017-03-28T03:01:21 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 362 | cpp | #include "stdafx.h"
#include <string>
#include <iostream>
int _tmain(int argc, _TCHAR* argv[])
{
std::string strData = "Test String";
std::cout << "Sample string" << std::endl;
std::cout << strData << std::endl;
strData = "New String";
std::cout << strData << std::endl;
std::cout << "저는 " << 30 << "살" << "입니다.... | [
"cutysunmi@gmail.com"
] | cutysunmi@gmail.com |
8447bf665416f054d240f1b5f1093092530f34e7 | 9d13d7fc23e96cb35ddc0f5bba309d0478b4a253 | /codeforces/problemset/259B.cpp | cddd9cecd790c708b39b1e305d234f9950717d68 | [] | no_license | mayankDhiman/cp | 68941309908f1add47855bde188d43fe861b9669 | c04cd4aaff9cedb6328dff097675307498210374 | refs/heads/master | 2021-07-22T04:05:46.968566 | 2021-02-05T16:17:58 | 2021-02-05T16:17:58 | 241,451,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int sm = 0, n = 3;
int a[3][3]; for (int i = 0; i < n; i ++) for (int j = 0; j < n; j ++){
cin >> a[i][j];
sm += a[i][j];
}
int ec = sm/2;
a[0][0] = ec - a[0][1] - a[0][2];
a[1][1] = ec - a[1][0] - a[1][2];
a[2][2] = ec - a[2][0] - a[2][1];
f... | [
"mdhiman536@gmail.com"
] | mdhiman536@gmail.com |
6da315f063d0d87054b3cabfec5404ce5b762178 | 70a793f950d8d5deecc21afea344cd2ec119d9ba | /CODES/aug long/KADANE.cpp | ab8c6397ca2f139dec3980aaff210c229032803e | [] | no_license | PrshntS/CODES | a5f30ba778606091edbc39550897aa46fd17977f | 8b31cd1020ce8c3f1cb97d2df83d458d48ca4c63 | refs/heads/main | 2023-03-08T08:54:06.144711 | 2021-02-27T09:58:53 | 2021-02-27T09:58:53 | 342,825,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 421 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
int main(){
#ifndef ONLINE_JUDGE
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
#endif
ll n;
cin>>n;
ll a[n];
for(ll i=0;i<n;i++)
{
cin>>a[i];
}
ll max=INT_MIN;
for(ll i=0;i<n;i++)
{
ll temp=0;
for(ll j=i;j<n;j++... | [
"51121370+PrshntS@users.noreply.github.com"
] | 51121370+PrshntS@users.noreply.github.com |
6928c030fe12252d7844e813e28f5086497617a3 | d2361a5dddb1f5a4332ffc13eef6bed4f6b66ca1 | /cpp_piscine/day05/ex04/Bureaucrat.hpp | 0788b0125ea8ea5a9a92a82e50f17be1f5203c28 | [] | no_license | costae/42_first_projects | b00fee7a684a247628671ce412f18c405c04eb2c | 309460972822582f5606190412650a34735fcc28 | refs/heads/master | 2021-03-22T00:11:51.018365 | 2017-12-12T16:23:09 | 2017-12-12T16:23:09 | 114,004,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | hpp | #ifndef BUREAUCRAT_H
#define BUREAUCRAT_H
#include <iostream>
#include "Form.hpp"
class Bureaucrat
{
public:
Bureaucrat();
Bureaucrat(std::string name, int grade);
// Bureaucrat(Bureaucrat &other);
~Bureaucrat();
std::string name;
int grade;
std::string getName() const;
int getGrade() const;
void increment()... | [
"cmiron@e1p47.chisinau.42.fr"
] | cmiron@e1p47.chisinau.42.fr |
ba8b32b8b28914fc0ed9167a91a6f485bb673492 | 7266b663078cdc1ed0db72589e078af28ecc98d8 | /Project1/Project1/ObjHospitalRoom1.cpp | e9a7859e599968e644f5980b0e85109de00254ba | [] | no_license | Tanaka1228/ankokusinsidan | bd09cd73e7092770570edb5379fc1321fbe085b1 | ccac38f3177159fe508fca3d8b42439ecf5d725c | refs/heads/main | 2023-01-25T05:09:45.849278 | 2020-12-09T00:07:37 | 2020-12-09T00:07:37 | 304,493,182 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 22,268 | cpp | //使用するヘッダーファイル
#include"GameL\DrawTexture.h"
#include"GameL/DrawFont.h"
#include"GameL\WinInputs.h"
#include"GameL\SceneManager.h"
#include"GameL\SceneObjManager.h"
#include"GameHead.h"
#include "ObjHospitalRoom1.h"
//使用するネームスペース
using namespace GameL;
//イニシャライズ
void CObjHospitalRoom1::Init()
{
mx_scroll = 0.0f;
m... | [
"h1202019027@hiratagakuen.onmicrosoft.com"
] | h1202019027@hiratagakuen.onmicrosoft.com |
f3a7836d8c577f9f2c55a378f1c6006e40673924 | 4da55187c399730f13c5705686f4b9af5d957a3f | /src/ode/ode/src/fluid_dynamics/immersion_cylinder.cpp | af076f927a0708ff692fbb0dc072afb936aeb99c | [
"Apache-2.0",
"BSD-3-Clause",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"Zlib"
] | permissive | Ewenwan/webots | 7111c5587100cf35a9993ab923b39b9e364e680a | 6b7b773d20359a4bcf29ad07384c5cf4698d86d3 | refs/heads/master | 2020-04-17T00:23:54.404153 | 2019-01-16T13:58:12 | 2019-01-16T13:58:12 | 166,048,591 | 2 | 0 | Apache-2.0 | 2019-01-16T13:53:50 | 2019-01-16T13:53:50 | null | UTF-8 | C++ | false | false | 9,795 | cpp | /*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001-2003 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... | [
"David.Mansolino@cyberbotics.com"
] | David.Mansolino@cyberbotics.com |
96660840ceed53aafe9754b5c9c9487c8d6c00c5 | 105c5463df8fd75d60eb37033101f783be2d03bc | /test/List/test_reverse.cpp | 2ee8acd55379dcf26faa1e65e0092eacb93bbd0a | [
"Apache-2.0"
] | permissive | ZizhengTai/gungnir_fp | 24c00a3f53385df557932a3883921a88d4ac38fc | 9bd158ef270851a399bc01eff402fb75b829141a | refs/heads/master | 2021-05-31T23:02:03.967538 | 2016-06-03T19:10:59 | 2016-06-03T19:10:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,489 | cpp | #include <memory>
#include "catch.hpp"
#include "gungnir/List.hpp"
using gungnir::List;
TEST_CASE("test List reverse", "[List][reverse]") {
SECTION("empty List") {
List<int> xs;
REQUIRE(xs.reverse() == xs);
REQUIRE(xs.reverse().reverse() == xs);
List<std::unique_ptr<int>> ys;
... | [
"zizheng.tai@gmail.com"
] | zizheng.tai@gmail.com |
6c8383345acc3024e9d6ebebdf4941cb4cb65869 | 7e760322b8e976f391f7985aed28ab8ed5b8a147 | /examples/multi_layer_perception.cpp | 1bdbb5299933e7364dc1ee82c5b29502a43028a1 | [
"MIT"
] | permissive | jangocheng/clnet | ad0918652100bf3863db2f54061618bc8262462d | c9e8a849e0424fa66e920f3ec0c9e286df3bd339 | refs/heads/master | 2020-05-04T06:30:45.082982 | 2019-03-28T13:46:31 | 2019-03-28T13:46:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,453 | cpp | /*
* multi_layer_perception.cpp
*
* Created on: 2017/1/31
* Author: ZhangHua
*/
#include <iostream>
#include <vector>
#include <functional>
#include <sstream>
#include <tensor.hpp>
#include <device_instance.hpp>
using namespace std;
using namespace clnet;
T MLP()
{
const int K = opti... | [
"mz24cn@hotmail.com"
] | mz24cn@hotmail.com |
4be40be8a02fd812e2046604e9f51170d480c652 | c2b161ce52e127f7036882f0ffa523f520dc1c87 | /libraries/device/general/bbFctns.cpp | 5c686ff09a32d65b6fc4b952ce8ad65d1ecd208b | [] | no_license | dmosher42/cosmos-core | 9991e7268044fa3b139716a48e3bf3c707ea3422 | 625d1de84eded5ff69b2870a9cbf57c1a6476f89 | refs/heads/master | 2023-03-21T17:26:05.288081 | 2021-01-28T00:12:33 | 2021-01-28T00:12:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,688 | cpp | /********************************************************************
* Copyright (C) 2015 by Interstel Technologies, Inc.
* and Hawaii Space Flight Laboratory.
*
* This file is part of the COSMOS/core that is the central
* module for COSMOS. For more information on COSMOS go to
* <http://cosmos-project.com>
*
* The ... | [
"pilger@hsfl.hawaii.edu"
] | pilger@hsfl.hawaii.edu |
53667a04eab9db79eda7d6c6de1b2407e62db221 | 809f2e7d93898025d4da73470d7990992eced20d | /test/Timer.cpp | 0cb799f938149d8a1f8d80be3c0469806ed9a0e8 | [] | no_license | donRumata03/ExpressionParsing | 173019454ebccfd7b4cf325610c7d568b669acae | 0e7cce38c29b45f3b9dca231ed6bedd02b8f9c5b | refs/heads/master | 2023-06-26T05:28:50.031856 | 2021-07-28T14:40:13 | 2021-07-28T14:40:13 | 308,740,380 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,215 | cpp | //
// Created by Vova on 23.05.2020.
//
#include "Timer.h"
#include <iostream>
#include <utility>
using namespace std::chrono_literals;
using namespace std::chrono;
Timer::Timer(std::string process_name)
: printing(true), message (std::move(process_name)), dur(0ms) {
if (printing) {
std::cout << message << ... | [
"donrumata03@gmail.com"
] | donrumata03@gmail.com |
4610fa196705258e640887dd934f0719c11644e6 | b2a53f7a14ff97c45634d59c82d5fe59a3abb310 | /instantmessagesalert/tsrc/testinstantmsgalert/src/stubs/s_user.cpp | bdae847c8a1b1f5d4f790ad7e801e8ff31356a99 | [] | no_license | SymbianSource/oss.FCL.sf.app.conversations | faf84f8ad33f2a39618339df2539a40f8fefb676 | 6bd308a746e80ed6d8a87acc123d163873ece9af | refs/heads/master | 2021-01-09T20:56:28.513888 | 2010-06-24T17:07:00 | 2010-06-24T17:07:00 | 65,732,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | cpp | /*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.h... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
c7e508b4ce1d3a28dafea6ae8e0da2a63f0176e5 | af11f45f57f71e649832fb386259696254efaad6 | /MiniProj/FileHandler.h | a7a26f92d6ddd94246e005360ce50e8892fd2004 | [] | no_license | charvakcpatel007/Bomberman | 75a10478c418000e6350d1b1e0bd57473fc943a8 | 2a7fd41085ad06cb7e7f9871d839ee5bff01e552 | refs/heads/master | 2021-01-10T13:36:00.356162 | 2016-05-07T04:21:36 | 2016-05-07T04:21:36 | 55,512,685 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | h | #pragma once
#include <Windows.h>
#include <vector>
#include <fstream>
#include <iostream>
using namespace std;
class FileHandler
{
public:
FileHandler();
~FileHandler();
static void fillFileNames(const char* path, vector<string> &files);
static void fillVec2D( const char* path, vector< vector<int> > &A );
static ... | [
"charvakcpatel007@gmail.com"
] | charvakcpatel007@gmail.com |
d13ecbf6897c8a790f584b70e7d92943ea8f21e7 | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-codeartifact/include/aws/codeartifact/model/CreateRepositoryRequest.h | cc9f4b93c8c279367b10e101cd9484e6e92a906b | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 14,168 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
#include <aws/codeartifact/CodeArtifactRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/A... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
3312a75beb29fae63f1f9e69471c605fd60be33d | b36abba7237386a443327f090a2d9790d1ef54b8 | /Source/CLI/CLI_Help.cpp | a92a4da726668126f167a2b03b3a0055cf9d6bef | [
"BSD-3-Clause"
] | permissive | thiloborgmann/dvrescue | 8f50920a578481c13dbf74c378308de9468a264f | a2a0b525e4cef6eb311a1defeba919db52f01de5 | refs/heads/master | 2022-05-26T03:44:13.566689 | 2020-04-24T20:02:54 | 2020-04-24T20:02:54 | 259,920,396 | 0 | 0 | null | 2020-04-29T12:34:20 | 2020-04-29T12:34:19 | null | UTF-8 | C++ | false | false | 2,129 | cpp | /* Copyright (c) MIPoPS. All Rights Reserved.
*
* Use of this source code is governed by a BSD-3-Clause license that can
* be found in the LICENSE file in the root of the source tree.
*/
//---------------------------------------------------------------------------
#include "CLI/CLI_Help.h"
#include <ostream>
us... | [
"jerome@mediaarea.net"
] | jerome@mediaarea.net |
cec3e09a85440b6d49fabb23fb01c2a77790d51b | cbd591c4e8598561b504ea99cc6fec1aae4b2102 | /graphicstest/mainwindow.h | 8fe3a4ea11098e378a3d7b109b0559a3fb8f5971 | [] | no_license | Franchovy/graphicstest | e9d1b7220feb61d688a1e546b052d4c90cebf5a2 | 372068048d1c06c8b02df06badb519bb64297bc6 | refs/heads/master | 2022-11-13T00:13:04.723207 | 2020-07-06T12:40:34 | 2020-07-06T12:40:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 433 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QGraphicsScene>
#include "myitem.h"
#include "effect.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
private:
Ui::... | [
"maxrofra@gmail.com"
] | maxrofra@gmail.com |
343cb7fbd539e9f9f174c17adf5c344e8d6439fe | 4a8a722c37e6282c6e968d9e02c3d8874ec3638b | /Firefly/src/Platform/OpenGL/OpenGLContext.cpp | bea4b79c4254d6b3f25fc17422bf707172592da8 | [
"Apache-2.0"
] | permissive | Latias94/Firefly | 0040c86123356054d8347fa1e4d8b3b8024dcc3b | ad6671df0b16ed9481b013936ba06ffc3be80e60 | refs/heads/master | 2023-08-07T13:23:05.336104 | 2021-09-12T13:39:36 | 2021-09-12T13:39:36 | 381,754,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 947 | cpp | #include "ffpch.h"
#include "glad/glad.h" // include before glfw.h in WindowsWindow.h
#include "Platform/OpenGL/OpenGLContext.h"
namespace Firefly
{
OpenGLContext::OpenGLContext(GLFWwindow* windowHandle) : m_WindowHandle(windowHandle)
{
FF_CORE_ASSERT(windowHandle, "Window handle is null");
}
... | [
"superfrankie621@gmail.com"
] | superfrankie621@gmail.com |
ca9b848e4d6a354d8731f1fda732f309cf5deddb | 48c1654e2160733e308253a195ff8392c0d65a51 | /cg_test/src/RL/kurata_model_2002.cpp | a2becc8591ade1833510bd53debbb28bdc06337b | [] | no_license | MauriceHendrix/utility_code_cardiac | b110be21973d316bc2945b2d54f94b9cbe2b57b3 | e9c22f14139a664eb33452f57074c93271f6d07e | refs/heads/master | 2023-06-12T12:22:16.221418 | 2021-07-05T15:30:20 | 2021-07-05T15:30:20 | 220,493,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 85,015 | cpp | //! @file
//!
//! This source file was generated from CellML by chaste_codegen version 0.1.0
//!
//! Model: kurata_model_2002
//!
//! Processed by chaste_codegen: https://github.com/ModellingWebLab/chaste-codegen
//! (translator: chaste_codegen, model type: normal)
//! on 2020-06-18 23:38:58
//!
//! <autogenerated>... | [
"maurice.hendrix@nottingham.ac.uk"
] | maurice.hendrix@nottingham.ac.uk |
0e3e8a5a987bec2b5cf7841f6a19aebd3fb06ecc | bb58447f8ab609c027320fd5c3ed6cbe6b596628 | /sources/core/obs_management/settings.cpp | c4a876bfc14b24418cd3cca3ee264301d2ac2b85 | [] | no_license | chipsi/WoT-Stream | f5b4121fc49a382e08adf1160d39b1788a0f4bc9 | 2a2878b88b5a220130c56b4eb9f92c41fb4bddd0 | refs/heads/master | 2020-05-22T07:35:18.875656 | 2018-03-17T22:50:31 | 2018-03-17T22:50:31 | 186,268,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,594 | cpp | #include "settings.h"
namespace wot_stream::core::obs_management {
Settings::Settings() { data = obs_data_create(); }
Settings::~Settings() { obs_data_release(data); }
Settings::operator obs_data*() const { return data; }
Settings& Settings::SetString(const std::string &name, const std::string &valu... | [
"art.stea1th@gmail.com"
] | art.stea1th@gmail.com |
96a0a0e2e63e6a3ca277cca0bdafe5bae9ec6e2d | cd08ba7f45bc49f8ba206f73fe599a6311f33866 | /src/resources/Martin Version/bs_02_ue5/Betriebssysteme1-task5/operating_system/include/device/CodeTable.h | d02dbb7f9030fc36335865decea85dafd5cf32af | [] | no_license | BadrAlzein/Compiler-with-C- | dcf4697a7418042a9864ef92aca71ddc0140f1bc | 5fe221c6b2b1f5a9b787cbb4059c857dbda6a8af | refs/heads/master | 2022-11-10T15:51:26.832805 | 2020-07-03T07:35:02 | 2020-07-03T07:35:02 | 253,450,160 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,551 | h | #ifndef CodeTable_h
#define CodeTable_h
/** Die Code Tabelle beschreibt die Umsetzung von Scancodes der Tastatur
* auf ASCII-Zeichen. Weiterhin wird festgelegt welche Scancodes als
* Steuerzeichen betrachtet werden, und nicht in ein ASCII-Zeichen
* umgesetzt werden.
*/
struct CodeTable {
public:
/** Hier werd... | [
"root@badr-MacBookPro.fritz.box"
] | root@badr-MacBookPro.fritz.box |
9e9236bd972f86b6343337193bb7563128e30125 | 23c6e6f35680bee885ee071ee123870c3dbc1e3d | /test/libcxx/strings/enabled_hashes.pass.cpp | 1628a570c30d624c51106bb8323a7433638f1b65 | [] | no_license | paradise-fi/divine | 3a354c00f39ad5788e08eb0e33aff9d2f5919369 | d47985e0b5175a7b4ee506fb05198c4dd9eeb7ce | refs/heads/master | 2021-07-09T08:23:44.201902 | 2021-03-21T14:24:02 | 2021-03-21T14:24:02 | 95,647,518 | 15 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,169 | cpp | /* TAGS: c++ fin */
/* CC_OPTS: -std=c++2a */
/* VERIFY_OPTS: -o nofail:malloc */
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-Lice... | [
"xkorenc1@fi.muni.cz"
] | xkorenc1@fi.muni.cz |
30afcd4e203a1c0cfc4c6f8cfe423c9562e751e8 | 945e5f8c7c43b7eaa89bac1d7eb9e072f76e3fbf | /Vision.cpp | e92a5300a205576f2a8082ec3481c229794c5ecd | [] | no_license | flash1319/2014master | 6d387d0948e08a5d9864791bb260a5e604fed5e3 | 86544d63881ca35531cbbd15c504ace3b283b308 | refs/heads/master | 2021-05-01T03:49:19.953851 | 2014-04-05T08:07:31 | 2014-04-05T08:07:31 | 17,530,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,141 | cpp | #include "Vision.h"
#include "CommandBase.h"
Vision::Vision() {
}
Vision::~Vision() {
CommandBase::shooter->SetCameraLED(false);
// be sure to delete images after using them
delete filteredImage;
delete thresholdImage;
delete image;
//delete allocated reports and Scores objects also
delete scores;
delete... | [
"joshnoodle@gmail.com"
] | joshnoodle@gmail.com |
6755a7a5193d28762156f350e8771cbb29559f20 | 246b446c4aa82e693dd62e98bbe2b95b29650d3f | /Include/Model/IRandomNumberGenerator.hpp | 26773b00d8b7637004d253fee1cc2d0efb8a695a | [] | no_license | pawel-kieliszczyk/pacman | 83fad500307564cce4b556b3d8c296720802d773 | 09d351d59297ad5b9b5ce74d43d0f9ecbb9b45a5 | refs/heads/master | 2018-12-11T14:24:47.013725 | 2018-09-12T18:20:35 | 2018-09-12T18:20:35 | 17,524,972 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 496 | hpp | #ifndef PACMAN_MODEL_IRANDOMNUMBERGENERATOR_HPP
#define PACMAN_MODEL_IRANDOMNUMBERGENERATOR_HPP
namespace Pacman
{
namespace Model
{
template<class NumberType>
class IRandomNumberGenerator
{
public:
virtual NumberType next(NumberType min, NumberType max) = 0;
virtual ~IRandomNumberGenerator() = default;
};... | [
"pawel.kieliszczyk@gmail.com"
] | pawel.kieliszczyk@gmail.com |
7ffa1406c3a82034f68434a344beaaf0e9a0144b | 94666367591f8ed0653b6c20c1d8cdcfffbe82fb | /팀포폴/progressBar.cpp | f5a8e02b6a3f3e717811f1c1a88e7c9486b1309e | [] | no_license | SHIVVVPP/HEXAAAAA | 5e05b444a436111c865b4840eb58431ee91b0aa6 | 97f9b8d795b38b084107511d99f27396ae3998fb | refs/heads/master | 2021-05-06T05:41:43.806305 | 2018-01-08T02:47:22 | 2018-01-08T02:47:22 | 115,125,450 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,795 | cpp | #include "stdafx.h"
#include "progressBar.h"
progressBar::progressBar()
{
}
progressBar::~progressBar()
{
}
HRESULT progressBar::init(int x, int y, int width, int height)
{
_x = x;
_y = y;
_rcProgress = RectMake(x, y, width, height);
_progressBarTop = IMAGEMANAGER->addImage("frontBar", ... | [
"noreply@github.com"
] | SHIVVVPP.noreply@github.com |
f1414c2178273fb2b01f711ef674b881684488e7 | 8356f9a6385545e067cbee101c1150dd593b0f60 | /Granita/exprgreaterandequal.cpp | 84fa59e290d9eed85e60d3d811db57f692b3a4f3 | [] | no_license | EnriqueUR/Compiladores_Granita | eb578730bee65b85b068fff3f4b3d712ca3926ed | 33190da89d35ecbef6b6ff8b593bb1bd4672e937 | refs/heads/master | 2021-01-19T07:25:04.503615 | 2013-09-24T15:53:19 | 2013-09-24T15:53:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | cpp | #include "exprgreaterandequal.h"
exprGreaterAndEqual::exprGreaterAndEqual(Expression *left_expr, Expression *right_expr,int linea)
{
this->Linea = linea;
this->left_expr = left_expr;
this->rigth_expr = right_expr;
}
void exprGreaterAndEqual::print()
{
this->left_expr->print();
cout<<">=";
this-... | [
"eur_it07@hotmail.es"
] | eur_it07@hotmail.es |
788446897c95dee07882f4e92635aa1a00efd257 | 97fde28997b618180cfa5dd979b142fd54dd2105 | /core/dep/acelite/ace/Time_Value.h | 4b752d3aefe9cb5523c9980e8611376c819c2d9d | [] | no_license | Refuge89/sunwell-2 | 5897f4e78c693e791e368761904e79d2b7af20da | f01a89300394065f33eaec799c8779c2cac5c320 | refs/heads/master | 2020-12-31T05:55:43.496145 | 2016-02-16T20:46:50 | 2016-02-16T20:46:50 | 80,622,543 | 1 | 0 | null | 2017-02-01T13:30:06 | 2017-02-01T13:30:06 | null | UTF-8 | C++ | false | false | 18,929 | h | // -*- C++ -*-
//=============================================================================
/**
* @file Time_Value.h
*
* @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
*/
//=============================================================================
#ifndef ACE_TIME_VALUE_H
#define ACE_TIME... | [
"root@wow.playstar.se"
] | root@wow.playstar.se |
7500950bc42e69d0465442a8f6f3c6940c166bb1 | df42e84dc0ef6d2840648f6bb0139ed301dbe417 | /projects/SleepWell/Classes/GameState.h | 7a283742e52156313ccb97114adb0a7efc63d9f4 | [] | no_license | bassarisse/sleep-well | 5e25ce73c5aa471a0209e79b1c7e6b29840fd8d8 | 8254091e9d84fa6930ed56433e00c0ad5ad5f5a5 | refs/heads/master | 2021-08-14T07:05:11.910304 | 2017-11-14T22:56:42 | 2017-11-14T22:56:42 | 110,754,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 699 | h |
#ifndef __SleepWell__GameState__
#define __SleepWell__GameState__
#include "cocos2d.h"
class GameState
{
private:
//Constructor
GameState();
//Instance of the singleton
static GameState* m_theInstance;
std::vector<float> _actTimes;
public:
//Get instance of singleton
s... | [
"bruno@assarisse.com.br"
] | bruno@assarisse.com.br |
2e49dceed33af02f2a5e3a6c3a744936cadf50bc | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /content/browser/indexed_db/indexed_db_unittest.cc | 863b77786cfb112b44047e2f3b27bab5e99fcfb5 | [
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 14,384 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stdint.h>
#include <utility>
#include "base/barrier_closure.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#i... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
0c9e3a50ed8af63863df902104587dfa45bfcfdd | 985e59ec5c0d909508ee8fbf3fadd993b8c29814 | /ValleyThief/Private/Component/PlayerHealthComponent.cpp | 66e39ce888632f9ab5d7bbbdfd5c604eba326943 | [
"MIT"
] | permissive | ShanuPatel/Project_ValleyThief | c5e7e235857bc5ef311298de09b6d4c37018750a | b101148cb926cbbcc1ca74f84f1dd4e35b9e7352 | refs/heads/main | 2023-07-27T10:04:50.036342 | 2021-09-02T04:11:20 | 2021-09-02T04:11:20 | 320,938,751 | 0 | 1 | MIT | 2021-01-19T17:50:18 | 2020-12-12T22:42:08 | C++ | UTF-8 | C++ | false | false | 1,508 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "ValleyThief/Public/Component/PlayerHealthComponent.h"
#include "Components/ActorComponent.h"
// Sets default values for this component's properties
UPlayerHealthComponent::UPlayerHealthComponent()
{
// Set this component to be ... | [
"shanu1195@Trickster.github.com"
] | shanu1195@Trickster.github.com |
f6fb2140dc7c158b32d534b2fc884331db65513f | e7a3f580e597e9229561ec758675ba5bd27c30a6 | /projv2.cpp | 020a72e07bcb88429d3831fec71601c1614381b1 | [] | no_license | jarvisan/School | 6dfe7fb908ae0644b35f2737695683f8d643785d | 262f395cf54567e487e6531946d977af11140c5d | refs/heads/master | 2018-12-28T16:50:27.742261 | 2014-01-14T00:46:13 | 2014-01-14T00:46:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,475 | cpp | #include <thread>
#include <unistd.h>
#include <iostream>
#include <stdio.h>
#include <vector>
using namespace std;
//mode one makes list up to X
void listloop();
//mode two checks values 2 to X for prime numbers
void limitloop();
//thread/pipe creation for mode 2
void primec(int num, int fd);
//trhead/pipe creation ... | [
"jarvis1990@gmail.com"
] | jarvis1990@gmail.com |
0fb1cb353b6027d0337bcb690548130ab8c81d54 | 5069f2992e1e3594295819b832032a5395e8e99c | /Actions/SelectAction.h | eba52e3dd3f1e761d3b1060dc07b7e18a797d534 | [] | no_license | AhmedHisham552/Paint-for-kids | 36e8ec9bffeb9be9451a601d49a9c07a3f41d6b7 | 503da2c694417017221914091fa6f9576c23a916 | refs/heads/master | 2020-04-12T19:27:52.804002 | 2018-12-22T09:04:46 | 2018-12-22T09:04:46 | 162,709,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 217 | h | #pragma once
#include "Action.h"
class SelectAction :
public Action
{
protected:
Point pClicked;
public:
SelectAction(ApplicationManager *pApp);
void ReadActionParameters();
void Execute();
~SelectAction();
};
| [
"40614397+AhmedHisham552@users.noreply.github.com"
] | 40614397+AhmedHisham552@users.noreply.github.com |
a7da5833166817cc691325ba2956e1e4a6e015d9 | 33a52c90e59d8d2ffffd3e174bb0d01426e48b4e | /uva/10700-/10740.cc | df5c3b20468dd1442f9bb535a64b254d3eaeab5b | [] | no_license | Hachimori/onlinejudge | eae388bc39bc852c8d9b791b198fc4e1f540da6e | 5446bd648d057051d5fdcd1ed9e17e7f217c2a41 | refs/heads/master | 2021-01-10T17:42:37.213612 | 2016-05-09T13:00:21 | 2016-05-09T13:00:21 | 52,657,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,251 | cc | #include<iostream>
#include<vector>
#include<queue>
#define BUF 105
#define dst first
#define cost second
using namespace std;
typedef pair<int,int> Edge;
class Data{
public:
int pos, cost;
Data(){}
Data(int p, int c): pos(p), cost(c){}
bool operator< (const Data &d) const {
return cost>d.cost;
}
};
i... | [
"ben.shooter2@gmail.com"
] | ben.shooter2@gmail.com |
4097ecde8373125f6d079a231f636d0eb29f3acc | 785df77400157c058a934069298568e47950e40b | /Common/Foam/include/base/labelField.hxx | 46c7edd445fa721e2f8440f0e13c021c7fb8fee3 | [] | no_license | amir5200fx/Tonb | cb108de09bf59c5c7e139435e0be008a888d99d5 | ed679923dc4b2e69b12ffe621fc5a6c8e3652465 | refs/heads/master | 2023-08-31T08:59:00.366903 | 2023-08-31T07:42:24 | 2023-08-31T07:42:24 | 230,028,961 | 9 | 3 | null | 2023-07-20T16:53:31 | 2019-12-25T02:29:32 | C++ | UTF-8 | C++ | false | false | 3,575 | hxx | #pragma once
#ifndef _labelField_Header
#define _labelField_Header
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A n... | [
"aasoleimani86@gmail.com"
] | aasoleimani86@gmail.com |
7306d72a4359f5d6c812ec1e7d6f5c633017d2bd | 751fe73c7a0188dfe27c9fe78c0410b137db91fb | /misc/fslib/Queue.h | a57e820f75fd4935db2bbc7a4fe7778a339a3ab1 | [] | no_license | longshadian/estl | 0b1380e9dacfc4e193e1bb19401de28dd135fedf | 3dba7a84abc8dbf999ababa977279e929a0a6623 | refs/heads/master | 2021-07-09T19:29:06.402311 | 2021-04-05T14:16:21 | 2021-04-05T14:16:21 | 12,356,617 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,736 | h | #pragma once
#include <mutex>
#include <condition_variable>
#include <queue>
#include <memory>
template <typename T>
class ThreadSafeQueue
{
public:
ThreadSafeQueue() = default;
~ThreadSafeQueue() = default;
ThreadSafeQueue(const ThreadSafeQueue& rhs)
{
std::lock_guard<std::mutex> lk(rhs.m_mtx... | [
"cgyhz@outlook.com"
] | cgyhz@outlook.com |
97d51e5af0b267ce5895c00bd17d15ae3c91fbd7 | f3706687c901aacd085623b0201d8e5b29108359 | /build-projet_Inge_Log-Desktop_Qt_5_14_1_MSVC2017_64bit-Debug/debug/moc_mainwindow.cpp | 6cdd5d38135eabdd8bdda4e9a670c225744893a3 | [] | no_license | sebtex1/Projet-Ing-Log | c20d7f985b1195c1bb6d76e54bbda8383df4a190 | 871f7fe4e3795a549c0e89d83b0be4203c519406 | refs/heads/main | 2023-04-10T19:03:52.758152 | 2021-05-04T15:58:34 | 2021-05-04T15:58:34 | 350,357,048 | 0 | 0 | null | 2021-05-04T15:51:34 | 2021-03-22T13:37:55 | Makefile | UTF-8 | C++ | false | false | 5,581 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.1)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... | [
"pierre.lebris@outlook.com"
] | pierre.lebris@outlook.com |
ee78b0ab7aa4296cde06dc814bf93da50f232a2b | d89f6a2729551bfd2c314416dc1bbb7584e7d1be | /PAINT/Source.cpp | 04e53000cb9001aa16fb564003436d32b38305bb | [] | no_license | Khyzar/Paint | 980c10f8899c1b09e3911279e2879b8bfb99d749 | 5c1d2729f2c42ce6a5564124bbfa9b123c3ef8c2 | refs/heads/master | 2020-06-25T12:42:01.665211 | 2019-07-28T16:34:15 | 2019-07-28T16:34:15 | 199,309,903 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 103 | cpp | #include<iostream>
using namespace std;
int main()
{
int count=0;
++count;
cout<<count;
return 0;
} | [
"khyzarasghar@gmail.com"
] | khyzarasghar@gmail.com |
08c677722d4cb08065ea2bbbc52658b388e60249 | 6768858dfdb0aec72ff95ed78e32760bc7198347 | /Algorithm Practice/Dynamic Programming.cpp | b40b58a9ec96cc64aec142e65808ce24b8f98f2c | [] | no_license | dhk1349/Algorithm | fe58f8d6bd48e02f30005f0ff440af7888a04424 | a9d547fa16eedf1338d049700688f3545b5b8686 | refs/heads/master | 2021-12-30T16:48:10.813904 | 2021-12-27T16:57:09 | 2021-12-27T16:57:09 | 194,836,267 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,767 | cpp | #include<iostream>
#include <algorithm>
#define INF 999999
using namespace std;
/*
=====Minimal Coin Problem=====
Selecting minimul numbers of coin to make certain amount of coin.
Coin with greedy algorithm sometimes fails to give right answer.
However with dynamic programming, function will return correct answer effic... | [
"dhk1349@naver.com"
] | dhk1349@naver.com |
36a1d89b69dc04c4a0a625c34ea5272061288f44 | a3dce79f831cd9628f1a0ef2f730014d9db57ee4 | /Investment Portfolio/ReadAndWriteFunctions.cpp | 5e6407825ddf10e720e08be04528b50170b9da96 | [] | no_license | Dylan-Maxwell-Wright/Stock-Watcher | 85ce0fa2543f6c6b68cd36aadc339aaf28f17952 | 94d31d9f57ba22bef9f74bc6217f785c4ddd3a61 | refs/heads/master | 2020-05-29T12:49:47.875829 | 2019-08-08T22:41:41 | 2019-08-08T22:41:41 | 189,140,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,060 | cpp | #include "pch.h"
#include <iostream>
#include <curl.h>
#include <easy.h>
#include <fstream>
#include <string>
#include <sstream>
using std::string;
using std::cin;
using std::cout;
using std::ifstream;
using std::ofstream;
using std::fstream;
using std::endl;
//Forward Declerations
class Portfolio;
void singleUpdate... | [
"dylan.wright03@gmail.com"
] | dylan.wright03@gmail.com |
0622a059fa7e9bcfd4281fef68a0d70f86f8491c | 70f46db7f53566a63063356386bcc1f7ff88309c | /include/JavaScriptCore/SymbolConstructor.h | b9a4a06eab797c77cfed30e5a72f6fa48a24f160 | [
"Apache-2.0"
] | permissive | openkraken/jsc | 79510114c028f98912e0021c27081ae98c660f27 | 05f661f9b44ad655486c9a1d61f50eb958eb2c89 | refs/heads/master | 2023-05-27T20:24:59.730326 | 2021-06-01T12:55:44 | 2021-06-01T12:55:44 | 356,278,322 | 4 | 1 | Apache-2.0 | 2021-04-30T07:54:54 | 2021-04-09T13:20:25 | C++ | UTF-8 | C++ | false | false | 2,427 | h | /*
* Copyright (C) 2012 Apple Inc. All rights reserved.
* Copyright (C) 2015 Yusuke Suzuki <utatane.tea@gmail.com>.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retai... | [
"chenghuai.dtc@alibaba-inc.com"
] | chenghuai.dtc@alibaba-inc.com |
02eacd2674709fd2f3d7c6f2942eaa6d05c18303 | a023e8f24edacbcdf091476d816e2672fcb946f7 | /Ejercicio1/Ejercicio4.cpp | 47ecd0fb02cdf0caf810c1133045420f7a419f43 | [] | no_license | Kronoxin/CherryMac | c3f854d77e746c09a5bc2fdd7ccec26edd0c1ef9 | 7be498cd2b756d7a00e697525d97e5deb8278a28 | refs/heads/master | 2016-08-12T19:11:45.517455 | 2016-01-31T20:17:52 | 2016-01-31T20:17:52 | 49,640,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,693 | cpp | // TAIS08 , Rubén Gómez y Daniel Lago
//
// Ejercicio 4 - Kesimo elemento.
//
/*
Resumen de solucion:
Hemos modificado la clase TreeMap_AVL de forma que al insertar un nodo nuevo en la rama izquierda (Siempre y cuando la clave no exista ya) se incrementa la variable tam_i que indica el numero de nodos en la rama iz... | [
"ruben.rgf@gmail.com"
] | ruben.rgf@gmail.com |
461cae884ab1c2e82cfa577403daeeee149c625a | e1e976ac6ae13b013a26c0fedf59dbd679754754 | /homework/Numeral_Truncation_in_a_String.cpp | d8448a4aa9a23ec05f9de19e9d87291c638ec1dd | [] | no_license | stew-pouch/dont-burn-bridges | b240a5325934f2fb7417565afa21ed7ed539cd5c | 9c6a5b8465f83a9adfbde21183320fe39eedf23e | refs/heads/main | 2023-08-29T10:08:25.881831 | 2021-10-27T04:59:03 | 2021-10-27T04:59:03 | 398,127,281 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,300 | cpp | /* It is not a good idea to share your password online.
* This program reads a string entered by the user,
* and truncates any segment that consists entirely of numbers. */
#include <iostream>
#include <string>
int main() {
using namespace std;
int index = 0, currentWord = 0;
string input;
bool pes... | [
"noreply@github.com"
] | stew-pouch.noreply@github.com |
1062b7fd1567b57c70880612b193824290d9d6ae | d39bd302aaaaeac11959eadb885f18f93f23d5af | /ConsoleRPG/Event.h | 8fea85e7a2dbce650ffb82b722cb18e5b3bcac01 | [] | no_license | ABitulescu/Game | 22082b24e092ae467b5db8d12e7672d69d404d06 | b106047f4759f2624b438b096103303b885223c2 | refs/heads/master | 2022-10-08T22:02:29.822084 | 2020-06-08T17:19:52 | 2020-06-08T17:19:52 | 264,880,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | h | #pragma once
#include "Character.h"
#include "Puzzle.h"
#include <stdlib.h>
#include "dArray.h"
class Event
{
private:
int nrOfEvents;
public:
Event();
virtual ~Event();
void generateEvent(Character& character, dArray<Enemy>& enemies);
//Events
void enemyEncounter(Character& character, dArray<Enemy>& enemies)... | [
"40036459+ABitulescu@users.noreply.github.com"
] | 40036459+ABitulescu@users.noreply.github.com |
580809bc403a5a2a680e638b4ce76ce7d3da5795 | b23da53a580952391215d9fe623491ac1b968d49 | /lib/node_types/esp8266/src/lux-bh1750.h | 02f415e42b130d3fe5823e59e46117ef88e3057e | [
"MIT"
] | permissive | ulno/ulnoiot | fb24c406c0c48878a130f935f2f02cfc329dea14 | 355f1a2f95389f1fe99a19a72933a5c95ee04445 | refs/heads/master | 2021-11-23T11:34:10.411559 | 2021-11-08T00:39:44 | 2021-11-08T00:39:44 | 140,750,990 | 12 | 5 | MIT | 2021-11-08T00:40:31 | 2018-07-12T18:32:49 | C++ | UTF-8 | C++ | false | false | 442 | h | // lux-bh1750.h
// light sensor based on bh1750 i2c chip
#ifndef _ULNOIOT_BH1750_H_
#define _ULNOIOT_BH1750_H_
#include <Arduino.h>
#include <Wire.h>
#include <i2c_device.h>
#include <BH1750.h>
class Lux_BH1750 : public I2C_Device {
private:
BH1750 *sensor = NULL;
unsigned long last_read;
pu... | [
"devel@mail.ulno.net"
] | devel@mail.ulno.net |
959e22837e2364f6d41a4fb127eb1a1a546aa0c8 | b7ebeb216615d22468af7ec8afd223ae13624ee4 | /QTweetLib/src/qtweetdirectmessagessent.cpp | 4af11e37e494c9266be9ec48f19213fae6334ed6 | [
"Apache-2.0"
] | permissive | akdev1l/legacy-projects | bfc6ad5e02a9a56a4f4243cfdab8e665e7ac60b7 | 9818379fe49a360370974b3c45b94df7fb080a18 | refs/heads/main | 2023-08-24T07:11:07.529024 | 2021-10-20T17:36:41 | 2021-10-20T17:37:01 | 419,421,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,287 | cpp | /* Copyright 2010 Antonie Jovanoski
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | [
"alex@akdev.xyz"
] | alex@akdev.xyz |
7ff228f2e6078fdee499c2e7c487c8bfcbc495a9 | 76731214a1f75c9500c2b2f6358f3848a9e5a7d0 | /t/create-withdrawal-data.fails.golden.re | 2a0fd0778344ff0a29d9026d3a2d1189204ca5e7 | [
"MIT"
] | permissive | CarboTeam/albacea | aa6dd83af48a5496c951e9e8cf8b00e364fc97eb | 8767cbfd10dde21650c7af3eacfae662f30cdc00 | refs/heads/master | 2023-07-06T05:05:00.234449 | 2021-08-03T11:23:09 | 2021-08-03T11:23:09 | 387,956,755 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,811 | re | Are you running this on a computer WITHOUT a network connection of any kind? (y/n)?Have the wireless cards in this computer been physically removed? (y/n)?Are you running on battery power? (y/n)?Are you running on an operating system booted from a USB drive? (y/n)?Is your screen hidden from view of windows, cameras, an... | [
"nerviosus@protonmail.com"
] | nerviosus@protonmail.com |
eae04c82048e3f418cd2267b28637a2f6f7e9548 | 1c17c5cad20da319eb88c38e3e9927a165d85662 | /src/SparrowFrontend/IntMods.cpp | 86b01b38b9337e3abb891d4fd2d39558e705407e | [
"MIT"
] | permissive | Sparrow-lang/sparrow | e14dec2847c59dceebe48a1d4b1ec3ef45a5d379 | b1cf41f79b52665d8208f8fb5a7539d764286daa | refs/heads/master | 2020-04-04T07:16:42.690182 | 2019-12-01T19:19:01 | 2019-12-01T19:19:01 | 34,960,748 | 89 | 8 | MIT | 2019-12-01T19:19:02 | 2015-05-02T19:34:26 | LLVM | UTF-8 | C++ | false | false | 16,908 | cpp | #include <StdInc.h>
#include "IntMods.h"
#include "Mods.h"
#include "SprDebug.h"
#include <Nodes/Builder.h>
#include <Helpers/SprTypeTraits.h>
#include <Helpers/DeclsHelpers.h>
#include <Helpers/StdDef.h>
#include "Feather/Api/Feather.h"
#include "Feather/Utils/FeatherUtils.hpp"
#include "Feather/Utils/cppif/FeatherTy... | [
"lucteo@lucteo.ro"
] | lucteo@lucteo.ro |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.