hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
5acc4ab4d9834f6261945e202b17ad0eaa29e43f
394
cpp
C++
src/State.cpp
JoanStinson/AI_Decisions
22632090c80b4a12e0f1049b4e6c78be3d024b2a
[ "MIT" ]
3
2021-03-31T03:42:42.000Z
2021-12-13T03:03:03.000Z
src/State.cpp
JoanStinson/AI_Decisions
22632090c80b4a12e0f1049b4e6c78be3d024b2a
[ "MIT" ]
null
null
null
src/State.cpp
JoanStinson/AI_Decisions
22632090c80b4a12e0f1049b4e6c78be3d024b2a
[ "MIT" ]
1
2021-12-13T03:02:55.000Z
2021-12-13T03:02:55.000Z
#include "State.h" State::State() { bankPosition = Vector2D(208, 624); homePosition = Vector2D(624, 624); minePosition = Vector2D(272, 112); saloonPosition = Vector2D(1040, 624); } State::~State() { delete agent; } void State::Init(Agent * agent, Uint32 delayTime) { this->agent = agent; this->delayTime = dela...
17.909091
51
0.682741
JoanStinson
5ace0782dec3b99ee0a5f4f46b0d1c899d9277ad
2,326
cpp
C++
graph-source-code/362-E/8343555.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/362-E/8343555.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/362-E/8343555.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <algorithm> #include <climits> #include <vector> #include <queue> #include <cstdlib> #include <string> #include <set> #include <stack> #define LL long long #define pii pair<int,int> #define INF 0x3f3f3f3f using name...
23.029703
65
0.410146
AmrARaouf
5ace2172fa2ef85d29199534b22ab9249c590b0d
1,792
hpp
C++
tools/json-ast-exporter/src/json_utils.hpp
TheoKant/cclyzer-souffle
dfcd01daa592a2356e36aaeaa9c933305c253cba
[ "MIT" ]
63
2016-02-06T21:06:40.000Z
2021-11-16T19:58:27.000Z
tools/json-ast-exporter/src/json_utils.hpp
TheoKant/cclyzer-souffle
dfcd01daa592a2356e36aaeaa9c933305c253cba
[ "MIT" ]
11
2019-05-23T20:55:12.000Z
2021-12-08T22:18:01.000Z
tools/json-ast-exporter/src/json_utils.hpp
TheoKant/cclyzer-souffle
dfcd01daa592a2356e36aaeaa9c933305c253cba
[ "MIT" ]
14
2016-02-21T17:12:36.000Z
2021-09-26T02:48:41.000Z
#ifndef JSON_UTILS_HPP__ #define JSON_UTILS_HPP__ #include <string> #include <clang-c/Index.h> #include <jsoncons/json.hpp> namespace cclyzer { namespace ast_exporter { namespace jsonexport { typedef jsoncons::json json_t; // Recording routines void record_extent( j...
32
72
0.541853
TheoKant
62c26d2c087b23d3802b9a3ea8eeba0faf253fea
601
cpp
C++
238-product-of-array-except-self/238-product-of-array-except-self.cpp
dishanp/LeetCode-World
6c49c8731dae772fb7bc47f777a4d3b3e01dd70e
[ "MIT" ]
null
null
null
238-product-of-array-except-self/238-product-of-array-except-self.cpp
dishanp/LeetCode-World
6c49c8731dae772fb7bc47f777a4d3b3e01dd70e
[ "MIT" ]
null
null
null
238-product-of-array-except-self/238-product-of-array-except-self.cpp
dishanp/LeetCode-World
6c49c8731dae772fb7bc47f777a4d3b3e01dd70e
[ "MIT" ]
null
null
null
class Solution { public: vector<int> productExceptSelf(vector<int>& nums) { int p=1; int ctr=0; int zp=1; for(int i:nums) { p*=i; if(i==0) ++ctr; if(ctr>1){ vector<int>ans(nums.size(),0); retu...
20.724138
54
0.344426
dishanp
62c7c24a915b70d87ec6da0b51c9364ddca01ca9
1,290
hpp
C++
engine/source/src/Engine_collision_listener.hpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
5
2019-02-12T07:23:55.000Z
2020-06-22T15:03:36.000Z
engine/source/src/Engine_collision_listener.hpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
null
null
null
engine/source/src/Engine_collision_listener.hpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
2
2019-06-17T05:04:21.000Z
2020-04-22T09:05:57.000Z
#ifndef _ENGINE_COLLISION_LISTENER_HPP #define _ENGINE_COLLISION_LISTENER_HPP #include "Collision_listener.hpp" #include <cstdint> namespace physics_2d { class Body_2d; } namespace gom { class Game_object; } class Engine_collision_listener final : public physics_2d::Collision_listener { public: Engine_collisi...
40.3125
80
0.633333
mateusgondim
62e13304ec181f0310e516012ce590692c08d901
816
cpp
C++
src/core/hooks/vmt.cpp
Metaphysical1/gamesneeze
59d31ee232bbcc80d29329e0f64ebdde599c37df
[ "MIT" ]
1,056
2020-11-17T11:49:12.000Z
2022-03-23T12:32:42.000Z
src/core/hooks/vmt.cpp
dweee/gamesneeze
99f574db2617263470280125ec78afa813f27099
[ "MIT" ]
102
2021-01-15T12:05:18.000Z
2022-02-26T00:19:58.000Z
src/core/hooks/vmt.cpp
dweee/gamesneeze
99f574db2617263470280125ec78afa813f27099
[ "MIT" ]
121
2020-11-18T12:08:21.000Z
2022-03-31T07:14:32.000Z
#include "vmt.hpp" #include <stdint.h> #include <unistd.h> #include <sys/mman.h> int pagesize = sysconf(_SC_PAGE_SIZE); int pagemask = ~(pagesize-1); int unprotect(void* region) { mprotect((void*) ((intptr_t)region & pagemask), pagesize, PROT_READ|PROT_WRITE|PROT_EXEC); return PROT_READ|PROT_EXEC; } void pro...
29.142857
94
0.689951
Metaphysical1
62e8b82ae340868a4bdd8ab29df1733b2677d8a7
6,723
hpp
C++
include/boost/numpy/dstream/detail/caller.hpp
IceCube-SPNO/BoostNumpy
66538c0b6e38e2f985e0b44d8191c878cea0332d
[ "BSL-1.0" ]
6
2015-01-07T17:29:40.000Z
2019-03-28T15:18:27.000Z
include/boost/numpy/dstream/detail/caller.hpp
IceCube-SPNO/BoostNumpy
66538c0b6e38e2f985e0b44d8191c878cea0332d
[ "BSL-1.0" ]
2
2017-04-12T19:01:21.000Z
2017-04-14T16:18:38.000Z
include/boost/numpy/dstream/detail/caller.hpp
IceCube-SPNO/BoostNumpy
66538c0b6e38e2f985e0b44d8191c878cea0332d
[ "BSL-1.0" ]
2
2018-01-15T07:32:24.000Z
2020-10-14T02:55:55.000Z
/** * $Id$ * * Copyright (C) * 2014 - $Date$ * Martin Wolf <boostnumpy@martin-wolf.org> * This file has been adopted from <boost/python/detail/caller.hpp>. * * @file boost/numpy/dstream/detail/caller.hpp * @version $Revision$ * @date $Date$ * @author Martin Wolf <boostnumpy@martin-wolf.org> * * ...
34.834197
125
0.62844
IceCube-SPNO
62ecbe261582bd004825d91639ba33c012f6258a
2,604
cpp
C++
SysLib/Demand/Files/Matrix_File.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
SysLib/Demand/Files/Matrix_File.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
SysLib/Demand/Files/Matrix_File.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Matrix_File.cpp - Matrix File Input/Output //********************************************************* #include "Matrix_File.hpp" //----------------------------------------------------------- // Matrix_File constructors //--------------------------------...
22.448276
84
0.422043
kravitz
62eed194e14ec20219bfcc92913587fb6ffc1fd7
9,451
cc
C++
dcmtk-master2/dcmsr/libsrc/dsrtpltn.cc
happymanx/Weather_FFI
a7f9bf8f1bda2b50c9d9a875c08fccf58379ad9f
[ "MIT" ]
null
null
null
dcmtk-master2/dcmsr/libsrc/dsrtpltn.cc
happymanx/Weather_FFI
a7f9bf8f1bda2b50c9d9a875c08fccf58379ad9f
[ "MIT" ]
null
null
null
dcmtk-master2/dcmsr/libsrc/dsrtpltn.cc
happymanx/Weather_FFI
a7f9bf8f1bda2b50c9d9a875c08fccf58379ad9f
[ "MIT" ]
null
null
null
/* * * Copyright (C) 2015-2018, J. Riesmeier, Oldenburg, Germany * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation are maintained by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmsr * *...
35.799242
129
0.611575
happymanx
62f8a945d1122a19d6a5aba08b02631a769d9347
2,742
cpp
C++
texture_handler.cpp
paracelso93/rocket-simulator
746469b2ffea032bed5793ef499eba0cd443240d
[ "MIT" ]
null
null
null
texture_handler.cpp
paracelso93/rocket-simulator
746469b2ffea032bed5793ef499eba0cd443240d
[ "MIT" ]
null
null
null
texture_handler.cpp
paracelso93/rocket-simulator
746469b2ffea032bed5793ef499eba0cd443240d
[ "MIT" ]
null
null
null
#include "texture_handler.h" TextureHandler* TextureHandler::mInstance = nullptr; bool TextureHandler::add_texture(const std::string& filePath, texture_t& id, SDL_Renderer* renderer) { id = std::hash<std::string>()(filePath); if (mTextures.find(id) != mTextures.end()) { return true; } SDL_Surface* sur = IMG_L...
30.808989
197
0.659373
paracelso93
62fbaca3bfaa78e541b1665b57744139a23cba24
1,223
cpp
C++
318. Maximum Product of Word Lengths.cpp
rajeev-ranjan-au6/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
3
2020-12-30T00:29:59.000Z
2021-01-24T22:43:04.000Z
318. Maximum Product of Word Lengths.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
318. Maximum Product of Word Lengths.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
// Solution 1. Straight forward, 165ms class Solution { public: int maxProduct(vector<string>& words) { int maxlen = 0; for(int i = 0; i < words.size(); i++) for(int j = i + 1; j < words.size(); j++){ if(words[i].size() * words[j].size() <= maxlen) continue; ...
32.184211
112
0.472608
rajeev-ranjan-au6
62fdd32bf4578aadeef43d6531ee0cdb52538338
2,264
hh
C++
include/io/ssl.hh
king1600/Valk
b376a0dcce522ae03ced7d882835e4dea98df86e
[ "MIT" ]
null
null
null
include/io/ssl.hh
king1600/Valk
b376a0dcce522ae03ced7d882835e4dea98df86e
[ "MIT" ]
null
null
null
include/io/ssl.hh
king1600/Valk
b376a0dcce522ae03ced7d882835e4dea98df86e
[ "MIT" ]
null
null
null
#pragma once #include <boost/asio.hpp> #include <boost/asio/ssl.hpp> #include <boost/asio/ip/tcp.hpp> namespace io { namespace asio = boost::asio; namespace ssl = asio::ssl; typedef asio::ip::tcp tcp; typedef boost::system::error_code error_code; static const error_code Success = boost::system::errc...
28.3
83
0.673587
king1600
1a058f089c816fe656fccfdf5b0d50e4ca781b28
2,870
cpp
C++
src/CAN/CANMotor_PSOC.cpp
huskyroboticsteam/Resurgence
649f78103b6d76709fdf55bb38d08c0ff50da140
[ "Apache-2.0" ]
3
2021-12-23T23:31:42.000Z
2022-02-16T07:17:41.000Z
src/CAN/CANMotor_PSOC.cpp
huskyroboticsteam/Resurgence
649f78103b6d76709fdf55bb38d08c0ff50da140
[ "Apache-2.0" ]
2
2021-11-22T05:33:43.000Z
2022-01-23T07:01:47.000Z
src/CAN/CANMotor_PSOC.cpp
huskyroboticsteam/Resurgence
649f78103b6d76709fdf55bb38d08c0ff50da140
[ "Apache-2.0" ]
null
null
null
#include "CAN.h" #include "CANMotor.h" #include "CANUtils.h" #include <chrono> #include <cmath> #include <condition_variable> #include <mutex> #include <queue> #include <thread> #include <vector> extern "C" { #include "../HindsightCAN/CANCommon.h" #include "../HindsightCAN/CANMotorUnit.h" #include "../HindsightCAN/CA...
27.596154
91
0.74216
huskyroboticsteam
1a05fd4f32bf7ac9e3f364b003d152b41f41516b
2,184
cpp
C++
Hello 2019/c.cpp
anirudha-ani/Codeforces
6c7f64257939d44b1c2ec9dd202f1c9f899f1cad
[ "Apache-2.0" ]
null
null
null
Hello 2019/c.cpp
anirudha-ani/Codeforces
6c7f64257939d44b1c2ec9dd202f1c9f899f1cad
[ "Apache-2.0" ]
null
null
null
Hello 2019/c.cpp
anirudha-ani/Codeforces
6c7f64257939d44b1c2ec9dd202f1c9f899f1cad
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std ; int main() { stack <char> data; char input[500005]; int n ; scanf("%d", &n); map <int , int> marking ; int balanced= 0 ; long long int ans = 0 ; for(int i = 0 ; i < n ; i++) { scanf("%s", input); int...
24
64
0.287088
anirudha-ani
1a0823730e616552e21f820c37d0889c43151bc6
1,769
cpp
C++
codes/POJ/poj3468.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/POJ/poj3468.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/POJ/poj3468.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; #define lson(x) ((x)<<1) #define rson(x) (((x)<<1)+1) const int maxn = 100005; typedef long long ll; struct Node { int l, r; ll sum, add; void set (int l, int r, ll sum, ll add) { this->l = l; this->r = r; this->sum = sum; thi...
16.229358
47
0.487846
JeraKrs
1a0ed3e7186d638471d1b6fd0a646abe72bf17ce
871
cpp
C++
Binary Tree/Ancestors_Of_A_Node.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
19
2018-12-02T05:59:44.000Z
2021-07-24T14:11:54.000Z
Binary Tree/Ancestors_Of_A_Node.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
null
null
null
Binary Tree/Ancestors_Of_A_Node.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
13
2019-04-25T16:20:00.000Z
2021-09-06T19:50:04.000Z
//Print all the ancestors of a given node #include<iostream> using namespace std; struct Node { int data; Node *left; Node *right; }; //creates a node Node* create(int data) { try { Node *node=new Node; node->data=data; node->left=NULL; node->right=NULL; return node; } catch(bad_alloc xa) { cout<<...
14.278689
68
0.657865
susantabiswas
1a0ff312380fc1200503bb7f17cbbec9408ee287
404
hpp
C++
examples/rucksack/testbed/include/sge/rucksack/testbed/object_impl_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
examples/rucksack/testbed/include/sge/rucksack/testbed/object_impl_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
examples/rucksack/testbed/include/sge/rucksack/testbed/object_impl_fwd.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SGE_RUCKSACK_TESTBED_OBJECT_IMPL_FWD_HPP_INCLUDED #define SGE_RUCKSACK_TESTBED_OBJECT_IMPL_...
23.764706
61
0.759901
cpreh
1a10a79e16490f9837cc80b4d97b6cc4c35fa011
835
cpp
C++
streambox/WinKeyReducer/WinKeyReducerEval-yahoo-winbundle.cpp
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
3
2019-07-03T14:03:31.000Z
2021-12-19T10:18:49.000Z
streambox/WinKeyReducer/WinKeyReducerEval-yahoo-winbundle.cpp
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
6
2020-02-17T12:01:30.000Z
2021-12-09T22:02:33.000Z
streambox/WinKeyReducer/WinKeyReducerEval-yahoo-winbundle.cpp
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
2
2020-12-03T04:41:18.000Z
2021-01-11T21:44:42.000Z
// // Created by manuelrenz on 12.04.18. // #include "WinKeyReducerEval.h" /* ----------------------------------------- * specialized for yahoo -- using normal hashtable * NB: we have to do full specialization per C++ * ----------------------------------------- */ // using MyWinKeyReduerEval = WinKeyReducerEval<...
32.115385
87
0.590419
chenzongxiong
1a150466293290bde2678ab09e37514c5e673198
594
cpp
C++
LeetCode/0003.LongestSubstringWithoutRepeatingCharacters/LSWRC.cpp
luspock/algorithms
91644427f3f683481f911f6bc30c9eeb19934cdd
[ "MIT" ]
1
2017-12-24T07:51:07.000Z
2017-12-24T07:51:07.000Z
LeetCode/0003.LongestSubstringWithoutRepeatingCharacters/LSWRC.cpp
luspock/algorithms
91644427f3f683481f911f6bc30c9eeb19934cdd
[ "MIT" ]
null
null
null
LeetCode/0003.LongestSubstringWithoutRepeatingCharacters/LSWRC.cpp
luspock/algorithms
91644427f3f683481f911f6bc30c9eeb19934cdd
[ "MIT" ]
null
null
null
#include <unordered_map> #include <iostream> #include <string> int lengthOfLongestSubstring(std::string s){ std::unordered_map<char, int> smap; int n = s.length(); int max_length = 0; if(n<2){ return n; } for(int i=0,j=0;j<n;++j){ char c = s.at(j); if(smap.count(c)){ i=smap[c]>i?smap[c]:i;...
20.482759
54
0.60101
luspock
1a19c14e380f519b3eedb83c76f7ee7dcd473c07
57
hpp
C++
src/boost_fusion_view_filter_view_filter_view.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_fusion_view_filter_view_filter_view.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_fusion_view_filter_view_filter_view.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/fusion/view/filter_view/filter_view.hpp>
28.5
56
0.824561
miathedev
1a1bf305dff57f8ef966632556b29af27fdd2b66
1,162
cpp
C++
gesture-sensor.cpp
memorial-ece/arduino-seeed
170875ab65aff1a00e05fe2a5eb4c8049ea82525
[ "BSD-2-Clause" ]
null
null
null
gesture-sensor.cpp
memorial-ece/arduino-seeed
170875ab65aff1a00e05fe2a5eb4c8049ea82525
[ "BSD-2-Clause" ]
null
null
null
gesture-sensor.cpp
memorial-ece/arduino-seeed
170875ab65aff1a00e05fe2a5eb4c8049ea82525
[ "BSD-2-Clause" ]
null
null
null
#include "gesture-sensor.h" #include "Gesture_PAJ7620/paj7620.h" /** Initialiazes gesture sensor **/ unsigned int gestureInit() { paj7620Init(); } /** Reads gesture sensor and returns value of gesture (or 0 if no gesture detected) For more info see: http://wiki.seeedstudio.com/Grove-Gesture_v1.0/ @returns data = ...
29.05
170
0.754733
memorial-ece
1a21833b125a42eaea4adc2df9fbb966b754a605
2,744
cpp
C++
bitreverse.cpp
k9bao/tools
18b52767f4e6c9e5001462d828b1bba69c3832a0
[ "Apache-2.0" ]
null
null
null
bitreverse.cpp
k9bao/tools
18b52767f4e6c9e5001462d828b1bba69c3832a0
[ "Apache-2.0" ]
null
null
null
bitreverse.cpp
k9bao/tools
18b52767f4e6c9e5001462d828b1bba69c3832a0
[ "Apache-2.0" ]
null
null
null
#include <cstring> #include <ctime> #include <fstream> #include <iostream> using namespace std; void usage() { cout << "para is error." << endl; cout << "example: a.out in out pwd" << endl; } std::chrono::steady_clock::time_point now() { return std::chrono::steady_clock::now(); } long long subSecond(std...
25.64486
84
0.492347
k9bao
1a21cb2d3ab3b4f974a0062f92d74b4be234f1e9
1,560
cpp
C++
example_contests/fk_2014_beta/problems/rod/submissions/accepted/solution_2.cpp
ForritunarkeppniFramhaldsskolanna/epsilon
a31260ad33aba3d1846cda585840d7e7d2f2349c
[ "MIT" ]
6
2016-03-28T13:57:54.000Z
2017-07-25T06:04:05.000Z
example_contests/fk_2014_delta/problems/rod/solution_2.cpp
ForritunarkeppniFramhaldsskolanna/epsilon
a31260ad33aba3d1846cda585840d7e7d2f2349c
[ "MIT" ]
25
2015-01-23T18:02:35.000Z
2015-03-17T01:40:27.000Z
example_contests/fk_2014_delta/problems/rod/solution_2.cpp
ForritunarkeppniFramhaldsskolanna/epsilon
a31260ad33aba3d1846cda585840d7e7d2f2349c
[ "MIT" ]
3
2016-06-28T00:48:38.000Z
2017-05-25T05:29:25.000Z
#include <algorithm> #include <bitset> #include <cassert> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <fstream> #include <iomanip> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <sstream> #include <stack> #include <strin...
19.5
98
0.502564
ForritunarkeppniFramhaldsskolanna
1a2ef9f4e0f1a167b3ccd77dfee875e7e2e5f181
375
cpp
C++
tests/e2e/e2e_test_case.cpp
avs/odatacpp-client
c2af181468d345aef0c952a8a0182a1ff11b4b57
[ "MIT" ]
39
2015-01-22T08:13:28.000Z
2021-02-03T07:29:56.000Z
tests/e2e/e2e_test_case.cpp
avs/odatacpp-client
c2af181468d345aef0c952a8a0182a1ff11b4b57
[ "MIT" ]
20
2015-04-27T02:35:31.000Z
2021-01-20T16:47:23.000Z
tests/e2e/e2e_test_case.cpp
avs/odatacpp-client
c2af181468d345aef0c952a8a0182a1ff11b4b57
[ "MIT" ]
30
2015-01-29T21:23:57.000Z
2021-01-11T14:19:47.000Z
//--------------------------------------------------------------------- // <copyright file="e2e_test_case.cpp" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //------------------------------------------...
53.571429
126
0.458667
avs
1a3481fd62fddf822dd050eb0f24ebee0a0dfd13
2,375
cpp
C++
DelProtect2Config/DelProtect2Config.cpp
pvthuyet/priority-booster
1f0036a4528b799a6ddd862787d4181a1d082917
[ "BSL-1.0" ]
3
2020-09-19T07:27:34.000Z
2022-01-02T21:10:38.000Z
DelProtect2Config/DelProtect2Config.cpp
pvthuyet/windows-kernel-programming
1f0036a4528b799a6ddd862787d4181a1d082917
[ "BSL-1.0" ]
null
null
null
DelProtect2Config/DelProtect2Config.cpp
pvthuyet/windows-kernel-programming
1f0036a4528b799a6ddd862787d4181a1d082917
[ "BSL-1.0" ]
null
null
null
// DelProtect2Config.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include "stdafx.h" #include "..\DelProtect2\DelProtectCommon.h" #include <iostream> int Error(const char* text) { printf("%s (%d)\n", text, ::GetLastError()); return 1; } int PrintUsage() { printf("Usage...
26.988636
135
0.671579
pvthuyet
1a3e64646759c6e42fb554b1722fb23abd9fac41
907
hpp
C++
output/include/core/threading/read_write_lock.hpp
picofox/pilo
59e12c947307d664c4ca9dcc232b481d06be104a
[ "MIT" ]
1
2019-07-31T06:44:46.000Z
2019-07-31T06:44:46.000Z
src/pilo/core/threading/read_write_lock.hpp
picofox/pilo
59e12c947307d664c4ca9dcc232b481d06be104a
[ "MIT" ]
null
null
null
src/pilo/core/threading/read_write_lock.hpp
picofox/pilo
59e12c947307d664c4ca9dcc232b481d06be104a
[ "MIT" ]
null
null
null
#pragma once #include "core/coredefs.hpp" namespace pilo { namespace core { namespace threading { class read_write_lock { public: #ifdef WINDOWS read_write_lock() { ::InitializeSRWLock(&m_lock); ...
18.895833
57
0.416759
picofox
1a412569050244cbdd0b2b246b2ecbf4c5c37b3a
164
hpp
C++
chaine/src/mesh/vertex/is_valid.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
chaine/src/mesh/vertex/is_valid.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
chaine/src/mesh/vertex/is_valid.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
#pragma once #include "proxy.hpp" #include "topology.hpp" namespace face_vertex { inline bool is_valid(VertexProxy vp) { return is_valid(topology(vp)); } }
11.714286
34
0.719512
the-last-willy
1a43b6233a940ecb5091f95246199e1d08b44a81
1,461
cpp
C++
leetcode/problems/easy/859-buddy-string.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/easy/859-buddy-string.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/easy/859-buddy-string.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Buddy Strings https://leetcode.com/problems/buddy-strings/ Given two strings A and B of lowercase letters, return true if you can swap two letters in A so the result is equal to B, otherwise, return false. Swapping letters is defined as taking two indices i and j (0-indexed) such that i != j and swapping the chara...
26.089286
202
0.590691
wingkwong
1a49226dab9c37637f639d113eaa776ed9b030cf
1,352
hpp
C++
Programming Guide/Headers/Siv3D/RenderTexture.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
38
2016-01-14T13:51:13.000Z
2021-12-29T01:49:30.000Z
Programming Guide/Headers/Siv3D/RenderTexture.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
null
null
null
Programming Guide/Headers/Siv3D/RenderTexture.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
16
2016-01-15T11:07:51.000Z
2021-12-29T01:49:37.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (C) 2008-2016 Ryo Suzuki // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include "Texture.hpp" namespace s3d { class RenderTexture : public Textur...
30.044444
178
0.699704
Reputeless
1a495c21c102171ec676f78c94de7d3c26d81452
2,096
cc
C++
src/graphics/bin/vulkan_loader/loader.cc
dreamboy9/fuchsia
4ec0c406a28f193fe6e7376ee7696cca0532d4ba
[ "BSD-2-Clause" ]
null
null
null
src/graphics/bin/vulkan_loader/loader.cc
dreamboy9/fuchsia
4ec0c406a28f193fe6e7376ee7696cca0532d4ba
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
src/graphics/bin/vulkan_loader/loader.cc
dreamboy9/fuchsia
4ec0c406a28f193fe6e7376ee7696cca0532d4ba
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2021 The Fuchsia 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 "src/graphics/bin/vulkan_loader/loader.h" #include <lib/fdio/directory.h> #include <lib/fdio/io.h> LoaderImpl::~LoaderImpl() { app_->RemoveObser...
32.75
100
0.689885
dreamboy9
1a55fef6e547e747fbd7704e3b90f38d875e7382
1,831
cc
C++
selfdrive/common/testparams/test_params.cc
lukeadams/openpilot
c3bd28c2d5029749c47ee03440b3cc509f786968
[ "MIT" ]
null
null
null
selfdrive/common/testparams/test_params.cc
lukeadams/openpilot
c3bd28c2d5029749c47ee03440b3cc509f786968
[ "MIT" ]
null
null
null
selfdrive/common/testparams/test_params.cc
lukeadams/openpilot
c3bd28c2d5029749c47ee03440b3cc509f786968
[ "MIT" ]
null
null
null
#include "selfdrive/common/params.h" #include <cstring> static const char* const kUsage = "%s: read|write|read_block params_path key [value]\n"; int main(int argc, const char* argv[]) { if (argc < 4) { printf(kUsage, argv[0]); return 0; } Params params(argv[2]); const char* key = argv[3]; if (strc...
29.063492
118
0.607318
lukeadams
1a5b1fb2d6c86019f43255d5c217e30395d9c968
7,517
cpp
C++
src/com/cyosp/mpa/api/rest/v1/MPAOFactory.cpp
cyosp/MPA
f640435c483dcbf7bfe7ff7887a25e6c76612528
[ "BSD-3-Clause" ]
null
null
null
src/com/cyosp/mpa/api/rest/v1/MPAOFactory.cpp
cyosp/MPA
f640435c483dcbf7bfe7ff7887a25e6c76612528
[ "BSD-3-Clause" ]
null
null
null
src/com/cyosp/mpa/api/rest/v1/MPAOFactory.cpp
cyosp/MPA
f640435c483dcbf7bfe7ff7887a25e6c76612528
[ "BSD-3-Clause" ]
null
null
null
/* * MPAOFactory.cpp * * Created on: 21 March 2015 * Author: cyosp */ #include <com/cyosp/mpa/api/rest/v1/MPAOFactory.hpp> namespace mpa_api_rest_v1 { // Initialize static member MPAOFactory * MPAOFactory::mpaofactory = NULL; MPAOFactory * MPAOFactory::getInstance() { if( mpaofact...
37.585
101
0.518159
cyosp
1a5cad6550b20dbdefcd13178dd1e94768258ae2
3,141
cc
C++
src/tests/functionspace/test_reduced_halo.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
67
2018-03-01T06:56:49.000Z
2022-03-08T18:44:47.000Z
src/tests/functionspace/test_reduced_halo.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
93
2018-12-07T17:38:04.000Z
2022-03-31T10:04:51.000Z
src/tests/functionspace/test_reduced_halo.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
33
2018-02-28T17:06:19.000Z
2022-01-20T12:12:27.000Z
/* * (C) Copyright 2013 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an intergo...
32.05102
96
0.559058
twsearle
1a61d1a6a96afadc80416f46aaf1e217616dc71f
4,176
cpp
C++
Plugins/SPARK_PL/src/RenderingAPIs/PixelLight/SPK_PLLineRenderer.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
83
2015-01-08T15:06:14.000Z
2021-07-20T17:07:00.000Z
Plugins/SPARK_PL/src/RenderingAPIs/PixelLight/SPK_PLLineRenderer.cpp
PixelLightFoundation/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Plugins/SPARK_PL/src/RenderingAPIs/PixelLight/SPK_PLLineRenderer.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
40
2015-02-25T18:24:34.000Z
2021-03-06T09:01:48.000Z
/*********************************************************\ * File: SPK_PLLineRenderer.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
42.612245
232
0.534722
ktotheoz
1a680e179daa526101317eb8f2d21d4435439a12
1,803
cpp
C++
src/demo/main.cpp
Glockenspiel/Fibers4U
69dac46b0995164d16bdb048071f43909b1faf5f
[ "Apache-2.0" ]
1
2020-07-11T12:39:03.000Z
2020-07-11T12:39:03.000Z
src/demo/main.cpp
Glockenspiel/Fibers4U
69dac46b0995164d16bdb048071f43909b1faf5f
[ "Apache-2.0" ]
null
null
null
src/demo/main.cpp
Glockenspiel/Fibers4U
69dac46b0995164d16bdb048071f43909b1faf5f
[ "Apache-2.0" ]
null
null
null
#include "include/fbr.h" #include "Player.h" using namespace std; using namespace fbr; int main(){ Player *p = new Player(); BaseTask *printHP = new TaskArgs<>(&Player::printHp, p); TaskArgs<int> *taskArg = new TaskArgs<int>(&Player::addHp, p); int a = 20; taskArg->setArgs(a); TaskArgs<int, bool> *test = new...
25.757143
87
0.684415
Glockenspiel
1a6885151eed7a9c4445dd976ea5a82ec986cb63
898
cpp
C++
euler065.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
euler065.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
euler065.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
#include <cstdint> #include <iostream> #include <utility> #include "continued_fraction.h" #include "largeint.h" using uInt = std::uint_fast32_t; using LInt = Euler::LargeInt<uInt>; using Fraction = std::pair<LInt, LInt>; // first: 分子, second: 分母 using namespace Euler::ContinuedFraction; int main(void) { constexp...
23.631579
68
0.635857
suihan74
1a69b234e05419fabf8a71196bb209069b6d6387
3,385
cpp
C++
src/mfx/dsp/wnd/XFadeShape.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
src/mfx/dsp/wnd/XFadeShape.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
src/mfx/dsp/wnd/XFadeShape.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
/***************************************************************************** XFadeShape.cpp Author: Laurent de Soras, 2017 --- Legal stuff --- This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the ...
19.454023
78
0.534417
mikelange49
1a6e268dde28804830c7cc3dcdd417023249b707
93
cpp
C++
Source/Nova/Game/NovaDestination.cpp
Sabrave/ShipBuilder
4610c16701ccb85d6f1e0de77f914e58bcf4de7e
[ "BSD-3-Clause" ]
17
2022-02-19T05:39:33.000Z
2022-03-01T01:56:19.000Z
Source/Nova/Game/NovaDestination.cpp
Frank1eJohnson/ShipBuilder
4610c16701ccb85d6f1e0de77f914e58bcf4de7e
[ "BSD-3-Clause" ]
null
null
null
Source/Nova/Game/NovaDestination.cpp
Frank1eJohnson/ShipBuilder
4610c16701ccb85d6f1e0de77f914e58bcf4de7e
[ "BSD-3-Clause" ]
null
null
null
// Nova project - Gwennaël Arbona #include "NovaDestination.h" #include "Nova/Nova.h"
15.5
34
0.688172
Sabrave
1a6f4a155ba3def3a2ad336ba461a65aed37ae45
5,536
cpp
C++
src/core.cpp
xiroV/ninja-castle-game
92b5adde81e68cc98c6a696d6b3f6837a17499ca
[ "MIT" ]
null
null
null
src/core.cpp
xiroV/ninja-castle-game
92b5adde81e68cc98c6a696d6b3f6837a17499ca
[ "MIT" ]
null
null
null
src/core.cpp
xiroV/ninja-castle-game
92b5adde81e68cc98c6a696d6b3f6837a17499ca
[ "MIT" ]
null
null
null
#include"core.h" Collision::Collision() {} void Collision::init(std::string filename) { std::ifstream inFile; this->center_point = glm::vec2(22.5, 31.0); this->player_position.push_back(glm::vec4(0, 0, 0, 0)); this->player_position.push_back(glm::vec4(0, 0, 0, 0)); std::vector<unsigned int> vert...
28.536082
144
0.53974
xiroV
2b2dd61a9b564be843b5a4a768fe43e64162ec90
6,944
hpp
C++
INCLUDE/ServiceConfiguration.hpp
SammyB428/WFC
64aee7c7953e38c8a418ba9530339e8f4faac046
[ "BSD-2-Clause" ]
1
2021-03-29T06:09:19.000Z
2021-03-29T06:09:19.000Z
INCLUDE/ServiceConfiguration.hpp
SammyB428/WFC
64aee7c7953e38c8a418ba9530339e8f4faac046
[ "BSD-2-Clause" ]
null
null
null
INCLUDE/ServiceConfiguration.hpp
SammyB428/WFC
64aee7c7953e38c8a418ba9530339e8f4faac046
[ "BSD-2-Clause" ]
null
null
null
/* ** Author: Samuel R. Blackburn ** Internet: wfc@pobox.com ** ** Copyright, 1995-2019, Samuel R. Blackburn ** ** "You can get credit for something or get it done, but not both." ** Dr. Richard Garwin ** ** BSD License follows. ** ** Redistribution and use in source and binary forms, with or without ** modification, a...
45.986755
117
0.751296
SammyB428
2b3437df2442f79b844247273b091143e02b3108
3,341
cpp
C++
Game.cpp
JankoDedic/TappyPlane
79b047e6343aaaa41fdf1281e4db9dfbb95bb0d2
[ "MIT" ]
1
2018-02-28T14:21:14.000Z
2018-02-28T14:21:14.000Z
Game.cpp
djanko1337/TappyPlane
79b047e6343aaaa41fdf1281e4db9dfbb95bb0d2
[ "MIT" ]
null
null
null
Game.cpp
djanko1337/TappyPlane
79b047e6343aaaa41fdf1281e4db9dfbb95bb0d2
[ "MIT" ]
1
2020-07-13T08:56:55.000Z
2020-07-13T08:56:55.000Z
#include "Game.hpp" #include "RectangleFunctions.hpp" #include "Renderer.hpp" namespace TappyPlane { using namespace SDLW::Video; using namespace SDLW::Events; constexpr auto backgroundSpritesheetHandle = "background"; constexpr auto backgroundBounds = canvasBounds; constexpr auto backgroundScrollSpeed = 0.5f; con...
24.566176
75
0.657887
JankoDedic
2b3c6494fcf05fd98c75d47ed901c2fa1affe08f
24,449
cpp
C++
src/article.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
9
2020-04-01T04:15:22.000Z
2021-09-26T21:03:47.000Z
src/article.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
17
2020-04-02T19:38:40.000Z
2020-04-12T05:47:08.000Z
src/article.cpp
taviso/mpgravity
f6a2a7a02014b19047e44db76ae551bd689c16ac
[ "BSD-3-Clause" ]
null
null
null
/*****************************************************************************/ /* SOURCE CONTROL VERSIONS */ /*---------------------------------------------------------------------------*/ /* ...
24.4002
95
0.598961
taviso
2b3f56c43262005553a7666cdfa8b342238ac1bd
3,199
hpp
C++
attributes/attribute.hpp
5cript/electronpp
03e257d62f2b939544c5d1c2d8718e58f2d71e34
[ "MIT" ]
null
null
null
attributes/attribute.hpp
5cript/electronpp
03e257d62f2b939544c5d1c2d8718e58f2d71e34
[ "MIT" ]
null
null
null
attributes/attribute.hpp
5cript/electronpp
03e257d62f2b939544c5d1c2d8718e58f2d71e34
[ "MIT" ]
null
null
null
#pragma once #include "generic_attribute.hpp" #include "../util/observer.hpp" #include <emscripten/val.h> #include <functional> #include <iostream> namespace CppDom::Attributes { template <typename ValueT> class Attribute : public GenericAttribute { public: Attribute(std::str...
26.438017
100
0.530166
5cript
2b422105b1d620f109831fd004da587a0acba6f1
3,431
cpp
C++
goldfilter/win32/msgpack_server.cpp
orinocoz/dripcap
096f464e8855da9882fbf0ec3294ff6d7e329dc9
[ "MIT" ]
5
2019-12-20T05:48:26.000Z
2021-10-13T12:32:50.000Z
goldfilter/win32/msgpack_server.cpp
orinocoz/dripcap
096f464e8855da9882fbf0ec3294ff6d7e329dc9
[ "MIT" ]
null
null
null
goldfilter/win32/msgpack_server.cpp
orinocoz/dripcap
096f464e8855da9882fbf0ec3294ff6d7e329dc9
[ "MIT" ]
2
2020-03-07T11:40:38.000Z
2022-01-24T22:37:40.000Z
#include "msgpack_server.hpp" #include <msgpack.hpp> typedef long ssize_t; typedef std::basic_string<TCHAR> tstring; inline void operator<<(tstring &t, const std::string &s) { #ifdef _UNICODE if (s.size() > 0) { t.resize(s.size() + 1); size_t length = 0; mbstowcs_s(&length, &t[0], t.size(...
21.179012
97
0.558146
orinocoz
2b423a2bbdd5dc4457462f2f23e00bd3dc3cf5b4
190
cpp
C++
flare_skia/src/skr_actor_star.cpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
14
2019-04-29T15:17:24.000Z
2020-12-30T12:51:05.000Z
flare_skia/src/skr_actor_star.cpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
null
null
null
flare_skia/src/skr_actor_star.cpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
6
2019-04-29T15:17:25.000Z
2021-11-16T03:20:59.000Z
#include "flare_skia/skr_actor_star.hpp" using namespace flare; SkrActorStar::SkrActorStar() : SkrActorBasePath(this) {} void SkrActorStar::invalidateDrawable() { m_IsPathValid = false; }
27.142857
66
0.784211
taehyub
2b4df60058134010d44cb4d759db34fe24b65a3b
7,330
cpp
C++
src/gameworld/gameworld/other/fb/rolestoryfb.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/gameworld/gameworld/other/fb/rolestoryfb.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/gameworld/gameworld/other/fb/rolestoryfb.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#include "rolestoryfb.hpp" #include "obj/character/role.h" #include "config/logicconfigmanager.hpp" #include "other/vip/vipconfig.hpp" #include "other/fb/storyfbconfig.hpp" #include "servercommon/errornum.h" #include "protocal/msgfb.h" #include "other/event/eventhandler.hpp" #include "monster/monsterpool.h" #include "...
22.978056
156
0.715825
mage-game
2b531c733edd0986429110aec5a426add9e73335
354
hpp
C++
ntd/vector.hpp
aconstlink/natus
d2123c6e1798bd0771b8a1a05721c68392afc92f
[ "MIT" ]
null
null
null
ntd/vector.hpp
aconstlink/natus
d2123c6e1798bd0771b8a1a05721c68392afc92f
[ "MIT" ]
292
2020-03-19T22:38:52.000Z
2022-03-05T22:49:34.000Z
ntd/vector.hpp
aconstlink/natus
d2123c6e1798bd0771b8a1a05721c68392afc92f
[ "MIT" ]
null
null
null
#pragma once #include <natus/memory/allocator.hpp> #include <vector> namespace natus { namespace ntd { //template< typename T > //using vector = ::std::vector< T, natus::memory::allocator<T> > ; // for now, we use the default allocator template< typename T > using vec...
19.666667
74
0.581921
aconstlink
2b5c0973d77dc6cbcd0829a6c30084dc53a6eb39
112
cc
C++
src/messages/reply.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
17
2016-11-27T13:13:40.000Z
2021-09-07T06:42:25.000Z
src/messages/reply.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
22
2017-01-18T06:10:18.000Z
2019-05-15T03:49:19.000Z
src/messages/reply.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
5
2017-07-24T15:19:32.000Z
2022-02-19T09:11:01.000Z
#include "reply.hh" using namespace eclipse::messages; std::string Reply::get_type() const { return "Reply"; }
22.4
55
0.723214
zzunny97
2b605c0a5c1cfdd09444dd5187f3d3a7193f9301
1,994
hpp
C++
include/Zelta/Core/RenderLayer.hpp
RafaelGC/ese
95868d2f7221334271d4a74ef38b2ed3478a8b91
[ "MIT" ]
1
2018-01-28T21:35:14.000Z
2018-01-28T21:35:14.000Z
include/Zelta/Core/RenderLayer.hpp
RafaelGC/ese
95868d2f7221334271d4a74ef38b2ed3478a8b91
[ "MIT" ]
1
2018-01-23T02:03:45.000Z
2018-01-23T02:03:45.000Z
include/Zelta/Core/RenderLayer.hpp
rafaelgc/ESE
95868d2f7221334271d4a74ef38b2ed3478a8b91
[ "MIT" ]
null
null
null
#ifndef ZELTALIB_LAYER_HPP #define ZELTALIB_LAYER_HPP #include <vector> #include <SFML/Graphics/Drawable.hpp> // Base class: sf::Drawable #include <SFML/Graphics/RenderTarget.hpp> namespace zt { /** * @brief Container for drawable objects. * This class allows you to group sf::Drawable elements such as...
26.236842
83
0.549147
RafaelGC
2b6a60525f50008936b2c335749c76337bbd685d
935
cpp
C++
test/example/executor/strand.cpp
YACLib/YACLib
fa5e13cdcc1f719e6b6363ba25a4791315e66916
[ "MIT" ]
106
2021-07-04T01:10:18.000Z
2022-03-21T00:58:27.000Z
test/example/executor/strand.cpp
YACLib/YACLib
fa5e13cdcc1f719e6b6363ba25a4791315e66916
[ "MIT" ]
119
2021-07-10T14:26:24.000Z
2022-03-22T22:48:18.000Z
test/example/executor/strand.cpp
YACLib/YACLib
fa5e13cdcc1f719e6b6363ba25a4791315e66916
[ "MIT" ]
7
2021-07-23T11:23:04.000Z
2021-11-13T20:22:56.000Z
/** * \example strand.cpp * Simple \ref Strand examples */ #include <yaclib/executor/strand.hpp> #include <yaclib/executor/thread_pool.hpp> #include <iostream> #include <gtest/gtest.h> using namespace yaclib; TEST(Example, Strand) { std::cout << "Strand" << std::endl; auto tp = MakeThreadPool(4); auto s...
18.7
110
0.59893
YACLib
2b6d76ef984531a8a4aa2be05d6e7ede8a9f96a9
12,142
cpp
C++
src/c++/lib/model/IntervalGenerator.cpp
sequencing/EAGLE
6da0438c1f7620ea74dec1f34baf20bb0b14b110
[ "BSD-3-Clause" ]
28
2015-05-22T16:03:29.000Z
2022-01-15T12:12:46.000Z
src/c++/lib/model/IntervalGenerator.cpp
sequencing/EAGLE
6da0438c1f7620ea74dec1f34baf20bb0b14b110
[ "BSD-3-Clause" ]
15
2015-10-21T11:19:09.000Z
2020-07-15T05:01:12.000Z
src/c++/lib/model/IntervalGenerator.cpp
sequencing/EAGLE
6da0438c1f7620ea74dec1f34baf20bb0b14b110
[ "BSD-3-Clause" ]
8
2017-01-21T00:31:17.000Z
2018-08-12T13:28:57.000Z
/** ** Copyright (c) 2014 Illumina, Inc. ** ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE), ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file) ** ** \description Generation of random/uniform intervals with precise boundaries ** Based on: ** [1] Jon Louis...
37.36
357
0.674848
sequencing
2b6edefa630bd18dcd564cccb200219b6dcbb4d4
4,791
cpp
C++
src/web/downloadthread.cpp
quizzmaster/chemkit
803e4688b514008c605cb5c7790f7b36e67b68fc
[ "BSD-3-Clause" ]
34
2015-01-24T23:59:41.000Z
2020-11-12T13:48:01.000Z
src/web/downloadthread.cpp
soplwang/chemkit
d62b7912f2d724a05fa8be757f383776fdd5bbcb
[ "BSD-3-Clause" ]
4
2015-12-28T20:29:16.000Z
2016-01-26T06:48:19.000Z
src/web/downloadthread.cpp
soplwang/chemkit
d62b7912f2d724a05fa8be757f383776fdd5bbcb
[ "BSD-3-Clause" ]
17
2015-01-23T14:50:24.000Z
2021-06-10T15:43:50.000Z
/****************************************************************************** ** ** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com> ** All rights reserved. ** ** This file is a part of the chemkit project. For more information ** see <http://www.chemkit.org>. ** ** Redistribution and use in source and binar...
33.041379
86
0.615947
quizzmaster
2b6feb5740721ab22d1b8a61391e5f5f9cb7af52
60
cpp
C++
common/UIOverlay.cpp
daozhangXDZ/OpenGLES_Examples
9266842fbd0ae899446b6ccda9cd63eeeaf1451f
[ "MIT" ]
248
2019-06-04T16:46:24.000Z
2022-02-13T11:21:14.000Z
common/UIOverlay.cpp
YKHahahaha/OpenGLES_Examples
b3451184bb5fffd2d6e8390ece93ca6cfcf80bfc
[ "MIT" ]
null
null
null
common/UIOverlay.cpp
YKHahahaha/OpenGLES_Examples
b3451184bb5fffd2d6e8390ece93ca6cfcf80bfc
[ "MIT" ]
40
2019-07-18T09:59:22.000Z
2021-09-17T13:00:05.000Z
// Implementation of Common library #include "UIOverlay.h"
20
36
0.766667
daozhangXDZ
2b763a401e508f70e6f79004fda13fa62b744358
10,614
cpp
C++
mpegts/mpegts/mpegts_muxer.cpp
Unit-X/srt_tango_2
9443457f807ad151c9b543f892c969404e74e3a7
[ "MIT" ]
1
2020-06-16T11:45:26.000Z
2020-06-16T11:45:26.000Z
mpegts/mpegts/mpegts_muxer.cpp
Unit-X/srt_tango_2
9443457f807ad151c9b543f892c969404e74e3a7
[ "MIT" ]
null
null
null
mpegts/mpegts/mpegts_muxer.cpp
Unit-X/srt_tango_2
9443457f807ad151c9b543f892c969404e74e3a7
[ "MIT" ]
null
null
null
#include "mpegts_muxer.h" #include "simple_buffer.h" #include "ts_packet.h" #include "crc.h" #include <string.h> #include "common.h" static const uint16_t MPEGTS_NULL_PACKET_PID = 0x1FFF; static const uint16_t MPEGTS_PAT_PID = 0x00; static const uint16_t MPEGTS_PMT_PID = 0x100; static const uint16_t MPEGTS_P...
36.102041
129
0.63746
Unit-X
2b795362dfcbc6fe454f61ae890685908c7f1d6f
694
cpp
C++
flex-engine/src/flex-engine/Log.cpp
flexed-team/flex-engine
481f40a431a33a9f1a4cc0de95edb7dc81aba34e
[ "Apache-2.0" ]
null
null
null
flex-engine/src/flex-engine/Log.cpp
flexed-team/flex-engine
481f40a431a33a9f1a4cc0de95edb7dc81aba34e
[ "Apache-2.0" ]
null
null
null
flex-engine/src/flex-engine/Log.cpp
flexed-team/flex-engine
481f40a431a33a9f1a4cc0de95edb7dc81aba34e
[ "Apache-2.0" ]
null
null
null
#include "log.hpp" namespace FE { std::shared_ptr<spdlog::logger> Log::s_core_logger; std::shared_ptr<spdlog::logger> Log::s_client_logger; void Log::init() { // See spdlog [wiki](https://github.com/gabime/spdlog/wiki) for more pattern settings // ^ - start color range // T - ISO 8601 time format // n - ...
26.692308
87
0.680115
flexed-team
2b8b20fd3f2f2b67388e511070ed3135875ff451
1,362
cpp
C++
aws-cpp-sdk-cloudtrail/source/model/ListEventDataStoresResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-cloudtrail/source/model/ListEventDataStoresResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-cloudtrail/source/model/ListEventDataStoresResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/cloudtrail/model/ListEventDataStoresResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #includ...
27.24
126
0.768722
perfectrecall
2b957045c492074cd0090fa7e5a5a8b75985c999
2,954
cpp
C++
source/RegistCallback.cpp
xzrunner/nserializer
44c252703a53c5970b8d9f2b608d56830601055e
[ "MIT" ]
null
null
null
source/RegistCallback.cpp
xzrunner/nserializer
44c252703a53c5970b8d9f2b608d56830601055e
[ "MIT" ]
null
null
null
source/RegistCallback.cpp
xzrunner/nserializer
44c252703a53c5970b8d9f2b608d56830601055e
[ "MIT" ]
null
null
null
#include "ns/RegistCallback.h" #include "ns/CompSerializer.h" #include "ns/CompNoSerialize.h" #include "ns/N0CompComplex.h" #include <node0/CompComplex.h> #include "ns/N2CompAnim.h" #include <node2/CompAnim.h> #include "ns/N2CompColorCommon.h" #include <node2/CompColorCommon.h> #include "ns/N2CompColorMap.h" #include...
27.607477
57
0.756601
xzrunner
2b9629798298c6704a0c43083e35af2d7e4529af
145
inl
C++
Projects/CygnusAuxBoardMonitor/Resources/ConfigurationXML_info.inl
hightower70/CygnusGroundStationDev
9fd709f28a67adb293a99c5c251b4ed89e755db3
[ "BSD-2-Clause" ]
1
2019-04-23T05:24:16.000Z
2019-04-23T05:24:16.000Z
Projects/CygnusAuxBoardMonitor/Resources/ConfigurationXML_info.inl
hightower70/CygnusGroundStationDev
9fd709f28a67adb293a99c5c251b4ed89e755db3
[ "BSD-2-Clause" ]
1
2016-08-16T13:05:39.000Z
2016-08-16T13:05:39.000Z
Projects/CygnusAuxBoardMonitor/Resources/ConfigurationXML_info.inl
hightower70/CygnusGroundStationDev
9fd709f28a67adb293a99c5c251b4ed89e755db3
[ "BSD-2-Clause" ]
1
2018-06-24T14:51:20.000Z
2018-06-24T14:51:20.000Z
0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x02, 0x0A, 0x03, 0x00, 0x02, 0x0A, 0x05, 0x00, 0x02, 0x03, 0x07, 0x00, 0x02, 0x0A, 0x09, 0x00, 0x02, 0x03
48.333333
96
0.662069
hightower70
2b9e3b7072aa6eac36c65a288f0b47b2c92fdab0
2,406
cpp
C++
Examples/Chess/src/chess-application.cpp
JoachimHerber/Bembel-Game-Engine
5c4e46c5a15356af6e997038a8d76065b0691b50
[ "MIT" ]
2
2018-01-02T14:07:54.000Z
2021-07-05T08:05:21.000Z
Examples/Chess/src/chess-application.cpp
JoachimHerber/Bembel-Game-Engine
5c4e46c5a15356af6e997038a8d76065b0691b50
[ "MIT" ]
null
null
null
Examples/Chess/src/chess-application.cpp
JoachimHerber/Bembel-Game-Engine
5c4e46c5a15356af6e997038a8d76065b0691b50
[ "MIT" ]
null
null
null
#include "chess-application.h" #include <GLFW/glfw3.h> #include <chrono> #include <iostream> #include <random> #include "selection-rendering-stage.h" using namespace bembel; ChessApplication::ChessApplication() : kernel::Application() { this->graphic_system = this->kernel->addSystem<graphics::GraphicSystem>()...
32.08
99
0.715711
JoachimHerber
2ba7bcde3e5dfc15bf94af1a4d55546f3cfbba51
14,693
cpp
C++
macros/phi_correlation_he6_carbon_compare.cpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
macros/phi_correlation_he6_carbon_compare.cpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
macros/phi_correlation_he6_carbon_compare.cpp
serjinio/thesis_ana
633a61dee56cf2cf4dcb67997ac87338537fb578
[ "MIT" ]
null
null
null
#include <iostream> #include "init_6he_ds.hpp" #include "TChain.h" void hdraw(TTree& tree, TString name, TString draw_cmd, TString binning, TCut cuts = "", TString title = "", TString xaxis_title = "", TString yaxis_title = "", TString draw_opts = "colz") { TString hstr = TString::...
38.064767
100
0.574355
serjinio
2ba8b7704ef008a72827b0bfff98fe3808468963
10,557
cpp
C++
src/drivers/milliped.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-01-25T20:16:33.000Z
2021-01-25T20:16:33.000Z
src/drivers/milliped.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-05-24T20:28:35.000Z
2021-05-25T14:44:54.000Z
src/drivers/milliped.cpp
PSP-Archive/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
null
null
null
/*************************************************************************** Millipede memory map (preliminary) 0400-040F POKEY 1 0800-080F POKEY 2 1000-13BF SCREEN RAM (8x8 TILES, 32x30 SCREEN) 13C0-13CF SPRITE IMAGE OFFSETS 13D0-13DF SPRITE HORIZONTAL OFFSETS 13E0-13EF SPRITE VER...
29.822034
134
0.637586
pierrelouys
ad9601f7ae49dc17671c16c6096ce479c6bbd639
9,600
cpp
C++
quake_framebuffer/quake_framebuffer/sv_move.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
4
2018-07-03T14:21:39.000Z
2021-06-01T06:12:14.000Z
quake_framebuffer/quake_framebuffer/sv_move.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
null
null
null
quake_framebuffer/quake_framebuffer/sv_move.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (C) 1996-1997 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in th...
22.535211
92
0.621354
WarlockD
ad9db69271a9151979b183ac511aa504315c42c6
1,106
cpp
C++
c++/dp/MiniSqaureCut.cpp
Nk095291/pepcoding
fb57f8fa58c155d38bdbc47824f547e24c0804b6
[ "MIT" ]
1
2020-04-24T05:45:44.000Z
2020-04-24T05:45:44.000Z
c++/dp/MiniSqaureCut.cpp
Nk095291/pepcoding
fb57f8fa58c155d38bdbc47824f547e24c0804b6
[ "MIT" ]
null
null
null
c++/dp/MiniSqaureCut.cpp
Nk095291/pepcoding
fb57f8fa58c155d38bdbc47824f547e24c0804b6
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include<climits> using namespace std; int solve(vector<vector<int>>&res, int b,int l){ if(l<=0||b<=0) return 0; if(l==b) return 0; if(res[b][l]!=INT_MAX) return res[b][l]; for(int i =1;i<=min(b,l);i++){ int p1v=solve(res,b-i...
21.269231
57
0.507233
Nk095291
ada146d03ec82a7927462795c75ab534000fad54
451
cpp
C++
Arrays - Reverse array/Arrays - Reverse array/Source.cpp
CHList/CS-305
731a192fb8ef38bde2e845733d43fd63e4129695
[ "MIT" ]
null
null
null
Arrays - Reverse array/Arrays - Reverse array/Source.cpp
CHList/CS-305
731a192fb8ef38bde2e845733d43fd63e4129695
[ "MIT" ]
null
null
null
Arrays - Reverse array/Arrays - Reverse array/Source.cpp
CHList/CS-305
731a192fb8ef38bde2e845733d43fd63e4129695
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void reverseArray(int [], int); int main() { const int size = 6; int list[size] = { 1,6,7,9,2,5 }; reverseArray(list, size); cout << list[0]; for (int i = 1; i < size; i++) { cout << "," << list[i]; } cout << endl; return 0; } void reverseArray(int list[], int size) ...
18.791667
41
0.552106
CHList
ada2e2c33c4a1f6ea0a55e19426f4182afc20be6
1,115
cpp
C++
03-composition-references/1-reference/assign_a_reference.cpp
nofar88/cpp-5782
473c68627fc0908fdef8956caf1e1d2267c9417b
[ "MIT" ]
14
2021-01-30T16:36:18.000Z
2022-03-30T17:24:44.000Z
03-composition-references/1-reference/assign_a_reference.cpp
dimastar2310/cpp-5781
615ba07e0841522df74384f380172557f5e305a7
[ "MIT" ]
1
2022-03-02T20:55:14.000Z
2022-03-02T20:55:14.000Z
03-composition-references/1-reference/assign_a_reference.cpp
dimastar2310/cpp-5781
615ba07e0841522df74384f380172557f5e305a7
[ "MIT" ]
16
2021-03-02T11:13:41.000Z
2021-07-09T14:18:15.000Z
/** * Demonstrates assigning values to references in C++. * * @author Erel Segal-Halevi * @since 2018-02 */ #include <iostream> using namespace std; int main() { int* p1; //int& r1; // compile error int num = 1, num2 = 999; cout << "Pointer:" << endl; int* pnum = &num; cout << "pnum = ...
30.135135
76
0.442152
nofar88
ada5da0873736248a9ef99e8067522d738188fd2
838
cpp
C++
UbiGame_Blank/Source/Game/Util/WallManager.cpp
AdrienPringle/HTN-team-brain-damage
f234bd1e46bd83f5c2a8af5535d3e795e0b8d985
[ "MIT" ]
null
null
null
UbiGame_Blank/Source/Game/Util/WallManager.cpp
AdrienPringle/HTN-team-brain-damage
f234bd1e46bd83f5c2a8af5535d3e795e0b8d985
[ "MIT" ]
null
null
null
UbiGame_Blank/Source/Game/Util/WallManager.cpp
AdrienPringle/HTN-team-brain-damage
f234bd1e46bd83f5c2a8af5535d3e795e0b8d985
[ "MIT" ]
null
null
null
#include "WallManager.h" #include "GameEngine/GameEngineMain.h" #include "Game/GameEntities/WallEntity.h" using namespace Game; WallManager* WallManager::sm_instance = nullptr; WallManager::WallManager(){ wasMouseDown = true; } WallManager::~WallManager(){ } void WallManager::Update(){ //spawn wall on mo...
23.942857
92
0.689737
AdrienPringle
adad1ee2fe75ed250ac64d745fa10f209da9c2a0
735
cpp
C++
ESOData/Filesystem/DataFileHeader.cpp
FloorBelow/ESOData
eb35a95ec64d56c5842c4df85bc844e06fc72582
[ "MIT" ]
1
2021-12-20T02:46:34.000Z
2021-12-20T02:46:34.000Z
ESOData/Filesystem/DataFileHeader.cpp
rekiofoldhome/ESOData
3c176110e7fa37fcff0b74b0bf0649f7251e59ed
[ "MIT" ]
null
null
null
ESOData/Filesystem/DataFileHeader.cpp
rekiofoldhome/ESOData
3c176110e7fa37fcff0b74b0bf0649f7251e59ed
[ "MIT" ]
1
2021-06-10T03:00:46.000Z
2021-06-10T03:00:46.000Z
#include <ESOData/Filesystem/DataFileHeader.h> #include <ESOData/Serialization/SerializationStream.h> #include <stdexcept> namespace esodata { SerializationStream &operator <<(SerializationStream &stream, const DataFileHeader &header) { stream << DataFileHeader::Signature; stream << header.version; stream <<...
24.5
94
0.742857
FloorBelow
adb86ae40f02307ae6ef47ba88df07ccb71ad290
3,225
hpp
C++
src/xml/Xml.hpp
Yousazoe/Solar
349c75f7a61b1727aa0c6d581cf75124b2502a57
[ "Apache-2.0" ]
1
2021-08-07T13:02:01.000Z
2021-08-07T13:02:01.000Z
src/xml/Xml.hpp
Yousazoe/Solar
349c75f7a61b1727aa0c6d581cf75124b2502a57
[ "Apache-2.0" ]
null
null
null
src/xml/Xml.hpp
Yousazoe/Solar
349c75f7a61b1727aa0c6d581cf75124b2502a57
[ "Apache-2.0" ]
null
null
null
#pragma once #include<../thirdparty/tinyxml/tinyxml.h> #include<memory> #include<fstream> namespace tutorial { class XMLAttribute { public: XMLAttribute() : _attrib(nullptr) {} XMLAttribute(TiXmlAttribute *attrib) : _attrib(attrib) {} bool is_empty() const { return _attrib == nullptr; } const char* name()...
23.201439
99
0.671628
Yousazoe
adbc18e69243df5c6ea4b52bfeae1e38d8b83f58
6,237
cpp
C++
levelManager.cpp
LEpigeon888/IndevBuggedGame
c99f9bc64d3b52fca830be4a79fb81dbdb8f97d7
[ "Zlib" ]
null
null
null
levelManager.cpp
LEpigeon888/IndevBuggedGame
c99f9bc64d3b52fca830be4a79fb81dbdb8f97d7
[ "Zlib" ]
null
null
null
levelManager.cpp
LEpigeon888/IndevBuggedGame
c99f9bc64d3b52fca830be4a79fb81dbdb8f97d7
[ "Zlib" ]
null
null
null
#include <fstream> #include <utility> #include "blockManager.hpp" #include "eventManager.hpp" #include "global.hpp" #include "levelManager.hpp" #include "utilities.hpp" void LevelManager::setBlockHere(std::map<Point, std::unique_ptr<Block>>& currentMap, BlockId idOfBlock, int xBlock, i...
36.473684
118
0.636364
LEpigeon888
adbecc30a0fe5a2dbe4ac91abdf0b678606a2c3f
955
cpp
C++
src/mxml/parsing/MordentHandler.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
18
2016-05-22T00:55:28.000Z
2021-03-29T08:44:23.000Z
src/mxml/parsing/MordentHandler.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
6
2017-05-17T13:20:09.000Z
2018-10-22T20:00:57.000Z
src/mxml/parsing/MordentHandler.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
14
2016-05-12T22:54:34.000Z
2021-10-19T12:43:16.000Z
// Copyright © 2016 Venture Media Labs. // // This file is part of mxml. The full mxml copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "MordentHandler.h" #include "EmptyPlacementHandler....
30.806452
110
0.736126
dkun7944
adccb5f1b156054bc25860aecc8c8c7d649bfd59
14,637
cpp
C++
Source/Client/IM-Client/IMClient/HttpDownloader.cpp
InstantBusinessNetwork/IBN
bbcf47de56bfc52049eeb2e46677642a28f38825
[ "MIT" ]
21
2015-07-22T15:22:41.000Z
2021-03-23T05:40:44.000Z
Source/Client/IM-Client/IMClient/HttpDownloader.cpp
InstantBusinessNetwork/IBN
bbcf47de56bfc52049eeb2e46677642a28f38825
[ "MIT" ]
11
2015-10-19T07:54:10.000Z
2021-09-01T08:47:56.000Z
Source/Client/IM-Client/IMClient/HttpDownloader.cpp
InstantBusinessNetwork/IBN
bbcf47de56bfc52049eeb2e46677642a28f38825
[ "MIT" ]
16
2015-07-22T15:23:09.000Z
2022-01-17T10:49:43.000Z
// HttpDownloader.cpp: implementation of the CHttpDownloader class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "HttpDownloader.h" #include "Resource.h" #include "GlobalFunction.h" #include "atlenc.h" #ifdef _DEBUG #undef THIS_FILE static char T...
23.27027
169
0.662909
InstantBusinessNetwork
add35b5bbe2b0962674ac0b421017a86f1f02314
8,813
cc
C++
common/cpp/src/google_smart_card_common/pp_var_utils/extraction.cc
swapnil119/chromeos_smart_card_connector
c01ec7e9aad61ede90f1eeaf8554540ede988d2d
[ "Apache-2.0" ]
1
2021-10-18T03:23:18.000Z
2021-10-18T03:23:18.000Z
common/cpp/src/google_smart_card_common/pp_var_utils/extraction.cc
AdrianaDJ/chromeos_smart_card_connector
63bcbc1ce293779efbe99a63edfbc824d96719fc
[ "Apache-2.0" ]
1
2021-02-23T22:37:22.000Z
2021-02-23T22:37:22.000Z
common/cpp/src/google_smart_card_common/pp_var_utils/extraction.cc
AdrianaDJ/chromeos_smart_card_connector
63bcbc1ce293779efbe99a63edfbc824d96719fc
[ "Apache-2.0" ]
1
2021-04-15T17:09:55.000Z
2021-04-15T17:09:55.000Z
// Copyright 2016 Google Inc. 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...
30.181507
80
0.666969
swapnil119
add80978f49c3218f7ec8dd60422cf62bb0cd10f
51,310
cpp
C++
source/TrickHLA/Interaction.cpp
jiajlin/TrickHLA
ae704b97049579e997593ae6d8dd016010b8fa1e
[ "NASA-1.3" ]
null
null
null
source/TrickHLA/Interaction.cpp
jiajlin/TrickHLA
ae704b97049579e997593ae6d8dd016010b8fa1e
[ "NASA-1.3" ]
null
null
null
source/TrickHLA/Interaction.cpp
jiajlin/TrickHLA
ae704b97049579e997593ae6d8dd016010b8fa1e
[ "NASA-1.3" ]
null
null
null
/*! @file TrickHLA/Interaction.cpp @ingroup TrickHLA @brief This class represents an HLA Interaction that is managed by Trick. @copyright Copyright 2019 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. No copyright is claimed in the United States under ...
40.982428
123
0.638823
jiajlin
addc2b8b55dc4dcf0b78935062600f696c73c88e
10,750
cpp
C++
Src/GUI/FrTabControl.cpp
VladGordienko28/FluorineEngine-I
31114c41884d41ec60d04dba7965bc83be47d229
[ "MIT" ]
null
null
null
Src/GUI/FrTabControl.cpp
VladGordienko28/FluorineEngine-I
31114c41884d41ec60d04dba7965bc83be47d229
[ "MIT" ]
null
null
null
Src/GUI/FrTabControl.cpp
VladGordienko28/FluorineEngine-I
31114c41884d41ec60d04dba7965bc83be47d229
[ "MIT" ]
null
null
null
/*============================================================================= FrTabControl.cpp: Tab control widget. Copyright Jul.2016 Vlad Gordienko. =============================================================================*/ #include "GUI.h" /*----------------------------------------------------------...
19.265233
102
0.574233
VladGordienko28
adddaedc9a8c59629f3f2fd012503ac9d6c83d26
336
cpp
C++
net.ssa/Dima/bge.root/bge/bge/ui.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
Dima/bge.root/bge/bge/ui.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
Dima/bge.root/bge/bge/ui.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
//////////////////////////////////////////////////////////////////////////// // Module : ui.cpp // Created : 12.11.2004 // Modified : 12.11.2004 // Author : Dmitriy Iassenev // Description : User interface //////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #...
30.545455
77
0.330357
ixray-team
ade07f5f3e86790ca6d9be1a00bce643a4edcc95
109
cpp
C++
Engine/src/Engine/Graphics/renderers/RenderAPI.cpp
AustinLynes/Arcana-Tools
ce585d552e30174c4c629a9ea05e7f83947499a5
[ "Apache-2.0" ]
null
null
null
Engine/src/Engine/Graphics/renderers/RenderAPI.cpp
AustinLynes/Arcana-Tools
ce585d552e30174c4c629a9ea05e7f83947499a5
[ "Apache-2.0" ]
null
null
null
Engine/src/Engine/Graphics/renderers/RenderAPI.cpp
AustinLynes/Arcana-Tools
ce585d552e30174c4c629a9ea05e7f83947499a5
[ "Apache-2.0" ]
null
null
null
#include "RenderAPI.h" namespace ArcanaTools { RenderAPI::API RenderAPI::s_API = RenderAPI::API::OPENGL; }
18.166667
58
0.743119
AustinLynes
ade1d45bdeffb800948221a346afcac788e4ec1f
2,740
cpp
C++
codes/CF/CF_911F.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
2
2021-03-07T03:34:02.000Z
2021-03-09T01:22:21.000Z
codes/CF/CF_911F.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T15:01:23.000Z
2021-03-27T15:55:34.000Z
codes/CF/CF_911F.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T05:02:33.000Z
2021-03-27T05:02:33.000Z
//here take a cat #include <iostream> #include <cstdio> #include <cstring> #include <cstdlib> #include <string> #include <utility> #include <cmath> #include <cassert> #include <algorithm> #include <vector> #include <random> #include <chrono> #include <queue> #include <set> #define ll long long #define lb long double #...
21.92
84
0.55438
chessbot108
ade50fce87017a1c81f10895ab73bae9171ceb65
196
cpp
C++
src/main/cpp/miscar/Fix.cpp
MisCar/libmiscar
b7da8ea84f1183ce4a8c5b51bcb29bea7052f7b2
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/miscar/Fix.cpp
MisCar/libmiscar
b7da8ea84f1183ce4a8c5b51bcb29bea7052f7b2
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/miscar/Fix.cpp
MisCar/libmiscar
b7da8ea84f1183ce4a8c5b51bcb29bea7052f7b2
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) MisCar 1574 #include "miscar/Fix.h" #include <cmath> double miscar::Fix(double value, double range) { return (std::abs(value) < range) ? 0 : (value - range) / (1 - range); }
19.6
71
0.637755
MisCar
ade5137afabf9677c83d62a9053a95abc5ccfb16
5,038
cpp
C++
LAVFilters/decoder/LAVVideo/VideoInputPin.cpp
lcmftianci/licodeanalysis
62e2722eba1b75ef82f7c1328585873d08bb41cc
[ "Apache-2.0" ]
2
2019-11-17T14:01:21.000Z
2019-12-24T14:29:45.000Z
LAVFilters/decoder/LAVVideo/VideoInputPin.cpp
lcmftianci/licodeanalysis
62e2722eba1b75ef82f7c1328585873d08bb41cc
[ "Apache-2.0" ]
null
null
null
LAVFilters/decoder/LAVVideo/VideoInputPin.cpp
lcmftianci/licodeanalysis
62e2722eba1b75ef82f7c1328585873d08bb41cc
[ "Apache-2.0" ]
3
2019-08-28T14:37:01.000Z
2020-06-17T16:46:32.000Z
/* * Copyright (C) 2010-2019 Hendrik Leppkes * http://www.1f0.de * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any...
29.121387
166
0.708615
lcmftianci
ade52bb499f53d45cc0770a06faa187155e32b1f
14,504
cpp
C++
Axis.Physalis/application/parsing/parsers/StepParser.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.Physalis/application/parsing/parsers/StepParser.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.Physalis/application/parsing/parsers/StepParser.cpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#include "StepParser.hpp" #include "SnapshotParser.hpp" #include "ResultCollectorParser.hpp" #include "application/factories/parsers/StepParserProvider.hpp" #include "application/jobs/AnalysisStep.hpp" #include "application/jobs/StructuralAnalysis.hpp" #include "application/locators/ClockworkFactoryLocator.hpp" #includ...
42.285714
104
0.678089
renato-yuzup
ade991857f9ce165f7166cae00134638ce25675a
7,501
cpp
C++
openstudiocore/src/energyplus/Test/GeneratorMicroTurbine_GTest.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-04-21T15:38:54.000Z
2019-04-21T15:38:54.000Z
openstudiocore/src/energyplus/Test/GeneratorMicroTurbine_GTest.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
null
null
null
openstudiocore/src/energyplus/Test/GeneratorMicroTurbine_GTest.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-07-18T06:52:29.000Z
2019-07-18T06:52:29.000Z
/********************************************************************** * Copyright (c) 2008-2016, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Fre...
41.441989
146
0.758299
hongyuanjia
adf0c68c4d4e4dff66ea7a9388d9a254bcb27d32
375
cpp
C++
src/libgraphic/src/message/entity/DestroyGraphicEntityMessage.cpp
SimonPiCarter/GameEngine
10d366bd37d202a5a22eb504b2a2dd9a49669dc8
[ "Apache-2.0" ]
null
null
null
src/libgraphic/src/message/entity/DestroyGraphicEntityMessage.cpp
SimonPiCarter/GameEngine
10d366bd37d202a5a22eb504b2a2dd9a49669dc8
[ "Apache-2.0" ]
15
2021-05-18T14:16:03.000Z
2021-06-17T19:36:32.000Z
src/libgraphic/src/message/entity/DestroyGraphicEntityMessage.cpp
SimonPiCarter/GameEngine
10d366bd37d202a5a22eb504b2a2dd9a49669dc8
[ "Apache-2.0" ]
null
null
null
#include "DestroyGraphicEntityMessage.h" #include "message/GraphicMessageHandler.h" DestroyGraphicEntityMessage::DestroyGraphicEntityMessage(GraphicEntity * entity_p, bool delete_p) : GraphicMessage("") , _entity(entity_p) , _delete(delete_p) {} void DestroyGraphicEntityMessage::visit(GraphicMessageHandler &handl...
25
97
0.816
SimonPiCarter
adf2f68c4db3313d196b8d7dd7fd4b58bfd933e7
1,253
cpp
C++
src/option.cpp
jserot/rfsm-gui
4eee507ae6e06088fbc66fd2383d5533af49090b
[ "MIT" ]
null
null
null
src/option.cpp
jserot/rfsm-gui
4eee507ae6e06088fbc66fd2383d5533af49090b
[ "MIT" ]
null
null
null
src/option.cpp
jserot/rfsm-gui
4eee507ae6e06088fbc66fd2383d5533af49090b
[ "MIT" ]
null
null
null
/**********************************************************************/ /* */ /* This file is part of the RFSM package */ /* */ /* Copyright (c) 2018-p...
35.8
88
0.381484
jserot
adfa2a6509c6eb97a30e4c8cf91e4d188ed88b0c
952
cpp
C++
914C.cpp
basuki57/Codeforces
5227c3deecf13d90e5ea45dab0dfc16b44bd028c
[ "MIT" ]
null
null
null
914C.cpp
basuki57/Codeforces
5227c3deecf13d90e5ea45dab0dfc16b44bd028c
[ "MIT" ]
null
null
null
914C.cpp
basuki57/Codeforces
5227c3deecf13d90e5ea45dab0dfc16b44bd028c
[ "MIT" ]
2
2020-10-03T04:52:14.000Z
2020-10-03T05:19:12.000Z
#include<bits/stdc++.h> using namespace std; typedef long long int ll; ll c[1010][1010], mod = 1e9 + 7; void comb(){ c[0][0] = 1; for(ll i = 1; i < 1010; ++i){ c[i][0] = 1; for(ll j = 1; j < 1010; ++j) c[i][j] = (c[i-1][j-1] + c[i-1][j])%mod; } } void solve(){ comb(); string s; ...
21.636364
91
0.422269
basuki57
adfc689d5fd35369ad097c09dc98495f9ec30835
736
cpp
C++
faculdade2020Fatec/lista2/ex4.cpp
DouSam/AnyLiteryAnyThingIDo
48313b1dd0534df15c6b024f2f2118a76bd2ac0a
[ "MIT" ]
1
2018-07-13T23:59:34.000Z
2018-07-13T23:59:34.000Z
faculdade2020Fatec/lista2/ex4.cpp
CoalaDrogado69/AnyLiteryAnyThingIDo
48313b1dd0534df15c6b024f2f2118a76bd2ac0a
[ "MIT" ]
null
null
null
faculdade2020Fatec/lista2/ex4.cpp
CoalaDrogado69/AnyLiteryAnyThingIDo
48313b1dd0534df15c6b024f2f2118a76bd2ac0a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int vetor[10]; int pares = 0; //Para cada posição eu irei pedir um valor para o usuário for (int i = 0; i < 10; i++) { cout << "Digite um valor para posição " << i << endl; cin >> vetor[i]; }; //Para ca...
22.30303
79
0.45788
DouSam
adfc7e4e1421cd2e7252b8bd45f1a168a4d124e3
5,476
cpp
C++
Compiler/src/AST.cpp
BrandonKi/ARCANE
425d481610125ba89bbe36e4c16b680d6e2b7868
[ "MIT" ]
7
2020-06-24T03:32:36.000Z
2022-01-15T03:59:56.000Z
Compiler/src/AST.cpp
BrandonKi/ARCANE
425d481610125ba89bbe36e4c16b680d6e2b7868
[ "MIT" ]
2
2021-06-25T02:18:41.000Z
2021-06-25T18:59:05.000Z
Compiler/src/AST.cpp
BrandonKi/ARCANE
425d481610125ba89bbe36e4c16b680d6e2b7868
[ "MIT" ]
1
2021-06-25T17:43:20.000Z
2021-06-25T17:43:20.000Z
#include "AST.h" extern ErrorHandler error_log; extern TypeManager type_manager; AST::AST() { PROFILE(); } AST::~AST() { PROFILE(); } //FIXME fix all of this absolute trash // at the moment we are making copies of the vectors and moving some and none of it is good // FIXME use allocator [[nodiscard]] Projec...
31.471264
164
0.669467
BrandonKi
adfd0ca913de67a10322e8feb232510d30d79519
2,588
cpp
C++
Procedural Programming I/tema10.cpp
dindareanualin/School-Work
3ce04376e0a22d4c709303540a91ba17d0b63096
[ "MIT" ]
null
null
null
Procedural Programming I/tema10.cpp
dindareanualin/School-Work
3ce04376e0a22d4c709303540a91ba17d0b63096
[ "MIT" ]
null
null
null
Procedural Programming I/tema10.cpp
dindareanualin/School-Work
3ce04376e0a22d4c709303540a91ba17d0b63096
[ "MIT" ]
null
null
null
//10. Given an n lines, m columns matrix, write an algorithm which will // first display the matrix with each line sorted in ascending order, //then display the matrix with each column sorted in ascending order. #include <iostream> using namespace std; int main(){ int m, n; int matrice[50][50], c...
25.372549
88
0.376739
dindareanualin
bc0287b34fa8cbfa7b7c45fb81aa69b519d9f986
284
cpp
C++
src/hir/crate_ptr.cpp
spacekookie/mrustc
e49cd3b71a5b5458ecd3f3937c04d1a35871a190
[ "MIT" ]
null
null
null
src/hir/crate_ptr.cpp
spacekookie/mrustc
e49cd3b71a5b5458ecd3f3937c04d1a35871a190
[ "MIT" ]
null
null
null
src/hir/crate_ptr.cpp
spacekookie/mrustc
e49cd3b71a5b5458ecd3f3937c04d1a35871a190
[ "MIT" ]
null
null
null
/* */ #include "crate_ptr.hpp" #include "hir.hpp" ::HIR::CratePtr::CratePtr(): m_ptr(nullptr) { } ::HIR::CratePtr::CratePtr(HIR::Crate c): m_ptr( new ::HIR::Crate(mv$(c)) ) { } ::HIR::CratePtr::~CratePtr() { if( m_ptr ) { delete m_ptr, m_ptr = nullptr; } }
13.52381
40
0.559859
spacekookie
bc06002ef7dfd4b4baffe42fa63ee98eb66c952d
3,190
cpp
C++
Code/exec/BCHLaiTest.cpp
amihashemi/cs294project
7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec
[ "MIT" ]
null
null
null
Code/exec/BCHLaiTest.cpp
amihashemi/cs294project
7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec
[ "MIT" ]
null
null
null
Code/exec/BCHLaiTest.cpp
amihashemi/cs294project
7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec
[ "MIT" ]
null
null
null
// Final project for CS 294-73 at Berkeley // Amirreza Hashemi and Júlio Caineta // 2017 #include "RectMDArray.H" #include "FFT1DW.H" #include "FieldData.H" #include "RK4.H" #include "WriteRectMDArray.H" #include "RHSNavierStokes.H" void computeVorticity(RectMDArray< double >& vorticity, const DBox box, ...
27.5
74
0.577429
amihashemi
bc0c4d6a5d840e43582c8b9398cfc22a90a2e49b
7,266
cpp
C++
lib/https/server/src/session.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
2
2020-03-03T12:40:29.000Z
2021-05-06T06:20:19.000Z
lib/https/server/src/session.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
7
2020-01-14T20:38:04.000Z
2021-05-17T09:52:07.000Z
lib/https/server/src/session.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
2
2019-11-09T09:14:48.000Z
2020-03-03T12:40:30.000Z
/* * The MIT License (MIT) * * Copyright (c) 2018 Sylko Olzscher * */ #include <smf/https/srv/session.h> #include <smf/https/srv/connections.h> #include <cyng/vm/controller.h> #include <cyng/vm/generator.h> #include <boost/uuid/uuid_io.hpp> namespace node { namespace https { plain_session::plain_session(cy...
25.674912
147
0.664052
solosTec
bc12089b2c6c25751953acfb23eec71c208d6e35
7,391
cpp
C++
moai/src/moaicore/MOAIFrameBufferTexture.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/src/moaicore/MOAIFrameBufferTexture.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/src/moaicore/MOAIFrameBufferTexture.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved. // http://getmoai.com #include "pch.h" #include <moaicore/MOAIGfxDevice.h> #include <moaicore/MOAILogMessages.h> #include <moaicore/MOAIFrameBufferTexture.h> //================================================================// // local //============...
30.290984
123
0.593154
jjimenezg93
bc13edf112b8f9d50bc5a4620b431ef1d143ae80
498
cpp
C++
coding/if else condition.cpp
tusharkumar2005/developer
b371cedcd77b7926db7b6b7c7d6a144f48eed07b
[ "CC0-1.0" ]
1
2021-09-21T11:49:50.000Z
2021-09-21T11:49:50.000Z
coding/if else condition.cpp
tusharkumar2005/developer
b371cedcd77b7926db7b6b7c7d6a144f48eed07b
[ "CC0-1.0" ]
null
null
null
coding/if else condition.cpp
tusharkumar2005/developer
b371cedcd77b7926db7b6b7c7d6a144f48eed07b
[ "CC0-1.0" ]
null
null
null
#include <iostream> using namespace std; int main(){ int age; cout<<"enter your age"<<endl; cin>>age; /* if (age>=150){ cout<<"invalid age"; } else if (age >=18){ cout<<"you can vote"; } else { cout<<"sorry,you can not vote"; } */ switch (age){ case 12: ...
10.375
34
0.487952
tusharkumar2005
bc1fc1a8a367e5db98a479107f426247edc329ae
1,561
cpp
C++
scm_gl_core/src/scm/gl_classic/utilities/volume_generator_checkerboard.cpp
Nyran/schism
c2cdb8884e3e6714a3b291f0f754220b7f5cbc7b
[ "BSD-3-Clause" ]
10
2015-09-17T06:01:03.000Z
2019-10-23T07:10:20.000Z
scm_gl_core/src/scm/gl_classic/utilities/volume_generator_checkerboard.cpp
Nyran/schism
c2cdb8884e3e6714a3b291f0f754220b7f5cbc7b
[ "BSD-3-Clause" ]
5
2015-01-06T14:11:32.000Z
2016-12-12T10:26:53.000Z
scm_gl_core/src/scm/gl_classic/utilities/volume_generator_checkerboard.cpp
Nyran/schism
c2cdb8884e3e6714a3b291f0f754220b7f5cbc7b
[ "BSD-3-Clause" ]
15
2015-01-29T20:56:13.000Z
2020-07-02T19:03:20.000Z
// Copyright (c) 2012 Christopher Lux <christopherlux@gmail.com> // Distributed under the Modified BSD License, see license.txt. #include "volume_generator_checkerboard.h" #include <scm/core/math/math.h> #include <exception> #include <new> namespace scm { namespace gl_classic { bool volume_generator_checkerboard::...
28.381818
93
0.467008
Nyran
bc22c3e20e78c425c89b39a2d6243c4cae9717a0
4,390
cpp
C++
Atom.AI_Contest/main/Distance.cpp
mocxi/Arduino
3133f7416238c448347ef39bb259ac7dcf016d19
[ "BSD-3-Clause" ]
null
null
null
Atom.AI_Contest/main/Distance.cpp
mocxi/Arduino
3133f7416238c448347ef39bb259ac7dcf016d19
[ "BSD-3-Clause" ]
null
null
null
Atom.AI_Contest/main/Distance.cpp
mocxi/Arduino
3133f7416238c448347ef39bb259ac7dcf016d19
[ "BSD-3-Clause" ]
null
null
null
#include "Distance.h" #include <DebugUtils.h> #if USE_IR #include "IR_Distance.h" #endif //Init int avr_front , avr_right , avr_left, avr_TOTAL = 0; //int angle, delta_angle; NewPing sonar_front (PING_PIN_FRONT, PING_PIN_FRONT, MAX_DISTANCE); NewPing sonar_right (PING_PIN_RIGHT, PING_PIN_RIGHT, ...
23.475936
153
0.680182
mocxi
bc22fe2cac68d6912490bbd1c953818a646c3f94
2,110
cpp
C++
nau/src/nau/material/materialGroup.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
29
2015-09-16T22:28:30.000Z
2022-03-11T02:57:36.000Z
nau/src/nau/material/materialGroup.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
1
2017-03-29T13:32:58.000Z
2017-03-31T13:56:03.000Z
nau/src/nau/material/materialGroup.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
10
2015-10-15T14:20:15.000Z
2022-02-17T10:37:29.000Z
#include "nau/material/materialGroup.h" #include "nau.h" #include "nau/geometry/vertexData.h" #include "nau/render/opengl/glMaterialGroup.h" #include "nau/math/vec3.h" #include "nau/clogger.h" using namespace nau::material; using namespace nau::render; using namespace nau::render::opengl; using namespace nau::math; ...
16.10687
83
0.729858
Khirion
bc2e1cac9ed2df3f1065af958a3136f3415fa07e
1,866
hpp
C++
src/cc/Books/ElementsOfProgrammingInterviews/ch8.hpp
nuggetwheat/study
1e438a995c3c6ce783af9ae6a537c349afeedbb8
[ "MIT" ]
null
null
null
src/cc/Books/ElementsOfProgrammingInterviews/ch8.hpp
nuggetwheat/study
1e438a995c3c6ce783af9ae6a537c349afeedbb8
[ "MIT" ]
null
null
null
src/cc/Books/ElementsOfProgrammingInterviews/ch8.hpp
nuggetwheat/study
1e438a995c3c6ce783af9ae6a537c349afeedbb8
[ "MIT" ]
null
null
null
#ifndef Books_ElementsOfProgrammingInterviews_ch8_hpp #define Books_ElementsOfProgrammingInterviews_ch8_hpp #include "reference/ch8.hpp" #include <cstdlib> #include <memory> #include <string> #include <vector> namespace study { extern std::shared_ptr<reference::ListNode<int>> MergeTwoSortedLists(std::shared_ptr<...
40.565217
127
0.700429
nuggetwheat
bc2f0548b0855345014ca64feeb3ad37eadb0d7f
10,012
cc
C++
build/X86_MESI_Two_Level/python/m5/internal/param_X86ACPIRSDP.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
build/X86_MESI_Two_Level/python/m5/internal/param_X86ACPIRSDP.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
1
2020-08-20T05:53:30.000Z
2020-08-20T05:53:30.000Z
build/X86_MESI_Two_Level/python/m5/internal/param_X86ACPIRSDP.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_internal_param_X86ACPIRSDP[] = { 120,156,197,88,109,115,220,72,17,238,209,190,121,109,175,189, 142,223,242,226,196,162,136,47,11,199,217,192,85,224,224,66, 138,92,46,64,170,14,39,37,135,74,98,168,82,201,171,177, 45,103,87,218,90,141,237,236,149,...
58.209302
92
0.6669
hoho20000000
bc30785f43a2059b7a6e9c87e32c84d9a2157470
1,228
cpp
C++
aws-cpp-sdk-shield/source/model/ProtectionGroupArbitraryPatternLimits.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-shield/source/model/ProtectionGroupArbitraryPatternLimits.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-shield/source/model/ProtectionGroupArbitraryPatternLimits.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/shield/model/ProtectionGroupArbitraryPatternLimits.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; ...
19.806452
108
0.762215
perfectrecall
bc308fc74a58e7d9e4929425df42b0800ce878d4
2,010
cpp
C++
aoapcbac2nd/example9-4_unidirectionaltsp.cpp
aoibird/pc
b72c0b10117f95d45e2e7423614343b5936b260a
[ "MIT" ]
null
null
null
aoapcbac2nd/example9-4_unidirectionaltsp.cpp
aoibird/pc
b72c0b10117f95d45e2e7423614343b5936b260a
[ "MIT" ]
null
null
null
aoapcbac2nd/example9-4_unidirectionaltsp.cpp
aoibird/pc
b72c0b10117f95d45e2e7423614343b5936b260a
[ "MIT" ]
null
null
null
// UVa 116 #include <cctype> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <algorithm> using namespace std; const int MAXR = 10+10; const int MAXC = 100+10; const int INF = 1 << 30; int F[MAXR][MAXC]; int dp[MAXR][MAXC]; int nxt[MAXR][MAXC]; int R, C; void print...
26.103896
79
0.374129
aoibird
bc343ef1acf95d594fd021c9dc93956ae9b51c7d
2,807
cpp
C++
[Lib]__RanClientUI/Sources/InnerUI/ItemBankWindow.cpp
yexiuph/RanOnline
7f7be07ef740c8e4cc9c7bef1790b8d099034114
[ "Apache-2.0" ]
null
null
null
[Lib]__RanClientUI/Sources/InnerUI/ItemBankWindow.cpp
yexiuph/RanOnline
7f7be07ef740c8e4cc9c7bef1790b8d099034114
[ "Apache-2.0" ]
null
null
null
[Lib]__RanClientUI/Sources/InnerUI/ItemBankWindow.cpp
yexiuph/RanOnline
7f7be07ef740c8e4cc9c7bef1790b8d099034114
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "ItemBankWindow.h" #include "ItemBankPage.h" #include "../[Lib]__EngineUI/Sources/BasicButton.h" #include "GLGaeaClient.h" #include "../[Lib]__EngineUI/Sources/BasicTextBox.h" #include "InnerInterface.h" #include "ModalCallerID.h" #include "../[Lib]__Engine/Sources/DxTools/DxFontMan.h" #inclu...
27.519608
134
0.728892
yexiuph