hexsha
stringlengths
40
40
size
int64
19
11.4M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
270
max_stars_repo_name
stringlengths
5
110
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
3
270
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
1
67k
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
3
270
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
9
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
19
11.4M
avg_line_length
float64
1.93
229k
max_line_length
int64
12
688k
alphanum_fraction
float64
0.07
0.99
matches
listlengths
1
10
63dd0966ccc96260586e6efb39ecbb81ce9d4486
1,011
cpp
C++
gSpiderMac/gSpiderMac/cssstyleWrap.cpp
reichtiger/grampusSpider
d8ba6b96a7af085c7c2420a5bcb1fa35ee8b03b7
[ "Apache-2.0" ]
87
2015-08-05T12:49:16.000Z
2021-09-23T03:24:40.000Z
gSpiderMac/gSpiderMac/cssstyleWrap.cpp
reichtiger/grampusSpider
d8ba6b96a7af085c7c2420a5bcb1fa35ee8b03b7
[ "Apache-2.0" ]
null
null
null
gSpiderMac/gSpiderMac/cssstyleWrap.cpp
reichtiger/grampusSpider
d8ba6b96a7af085c7c2420a5bcb1fa35ee8b03b7
[ "Apache-2.0" ]
52
2015-09-24T05:19:29.000Z
2020-10-14T07:14:22.000Z
// // cssstyleWrap.cpp // gSpiderMac // // Created by reich on 14/12/19. // Copyright (c) 2014年 zhaohu. All rights reserved. // #include "cssstyleWrap.h" namespace gSpider { Handle<Object> cssstyle_Wrap(Isolate* isolate, cssstyle* pStyle) { EscapableHandleScope handle_scope(isolate); ...
26.605263
114
0.637982
[ "object" ]
63e3f354a6e4f076fdd6005e33497643f05f96d1
5,811
cc
C++
src/fzyestim.cc
ManfredMaennle/fzymodel
fa4a07ce06b0e410f1032f45c8555f1edd4c5220
[ "MIT" ]
null
null
null
src/fzyestim.cc
ManfredMaennle/fzymodel
fa4a07ce06b0e410f1032f45c8555f1edd4c5220
[ "MIT" ]
null
null
null
src/fzyestim.cc
ManfredMaennle/fzymodel
fa4a07ce06b0e410f1032f45c8555f1edd4c5220
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 1999, 2020 Manfred Maennle * * 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 *...
30.265625
82
0.589916
[ "model" ]
63e86fdc21e40f6b2336da3bcc1f76409c8f1650
634
cpp
C++
solved-codeforces/the_redback/contest/3/a/24394270.cpp
Maruf-Tuhin/Online_Judge
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
1
2019-03-31T05:47:30.000Z
2019-03-31T05:47:30.000Z
solved-codeforces/the_redback/contest/3/a/24394270.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
solved-codeforces/the_redback/contest/3/a/24394270.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
#include <iostream> #include <map> #include <algorithm> #include <fstream> #include <cstring> #include <cmath> #include <cctype> #include <string> #include <cstdio> #include <vector> #include <stack> #include <bitset> using namespace std; int main() { int b, d; char a, c; scanf("%c%d", &a, &b); getchar(); scanf(...
12.192308
41
0.512618
[ "vector" ]
63e89f66a27ae4395d7c3ee8dcc0416ace203ba9
4,541
hpp
C++
raygun/pch.hpp
maggo007/Raygun
f6be537c835976a9d6cc356ebe187feba6592847
[ "MIT" ]
null
null
null
raygun/pch.hpp
maggo007/Raygun
f6be537c835976a9d6cc356ebe187feba6592847
[ "MIT" ]
null
null
null
raygun/pch.hpp
maggo007/Raygun
f6be537c835976a9d6cc356ebe187feba6592847
[ "MIT" ]
null
null
null
// The MIT License (MIT) // // Copyright (c) 2019,2020 The Raygun Authors. // // 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 // right...
26.869822
79
0.590619
[ "vector" ]
63ed156e34687115c51f1f83e6d5ed0bd3f728fa
3,802
cpp
C++
imt2531_Graphics_Exam_2016/TextureHandler.cpp
Muff1nz/imt2531_Graphics_Exam_2016
4be3c69f7fba3d7839add5d5af2c5855f8d00407
[ "MIT" ]
null
null
null
imt2531_Graphics_Exam_2016/TextureHandler.cpp
Muff1nz/imt2531_Graphics_Exam_2016
4be3c69f7fba3d7839add5d5af2c5855f8d00407
[ "MIT" ]
1
2018-02-13T20:43:52.000Z
2018-02-13T20:43:52.000Z
imt2531_Graphics_Exam_2016/TextureHandler.cpp
Muff1nz/imt2531_Graphics_Exam_2016
4be3c69f7fba3d7839add5d5af2c5855f8d00407
[ "MIT" ]
null
null
null
#include "TextureHandler.h" #include "globals.h" void TextureHandler::init() { loadTexture("track", "./resources/trackFixed.png"); loadCubemap("skyBoxDay", "./resources/greywash_"); loadCubemap("skyBoxNight", "./resources/purplenebula_"); loadTexture("snow", "./resources/snow.png"); loadTexture("snow2", "./res...
43.204545
148
0.765913
[ "render" ]
63ff800f3c9b0f830bb15d74624c3c79f14ded4b
4,057
cpp
C++
code/aoce_ffmpeg/media/FH264Encoder.cpp
xxxzhou/aoce
c1895d7ecc784354744886fb6db4174f211d81d1
[ "MIT" ]
71
2020-10-15T03:13:50.000Z
2022-03-30T02:04:28.000Z
code/aoce_ffmpeg/media/FH264Encoder.cpp
dengxbin/aoce
c1895d7ecc784354744886fb6db4174f211d81d1
[ "MIT" ]
9
2021-02-20T10:30:10.000Z
2022-03-04T07:59:58.000Z
code/aoce_ffmpeg/media/FH264Encoder.cpp
dengxbin/aoce
c1895d7ecc784354744886fb6db4174f211d81d1
[ "MIT" ]
19
2021-01-01T12:03:02.000Z
2022-03-21T07:59:59.000Z
#include "FH264Encoder.hpp" namespace aoce { namespace ffmpeg { FH264Encoder::FH264Encoder(/* args */) {} FH264Encoder::~FH264Encoder() {} bool FH264Encoder::onPrepare() { std::vector<std::string> videoEncodes = {"libx264", "h264_nvenc", "h264_qsv"}; for (const a...
32.198413
69
0.561499
[ "vector" ]
121065f90819d212c856618238758354023792bb
7,211
cpp
C++
libpharos/demangle_json.cpp
tjschweizer/pharos
4c5cea68c4489d798e341319d1d5e0d2fee71422
[ "RSA-MD" ]
1,247
2015-06-15T17:51:31.000Z
2022-03-31T10:24:47.000Z
libpharos/demangle_json.cpp
tjschweizer/pharos
4c5cea68c4489d798e341319d1d5e0d2fee71422
[ "RSA-MD" ]
191
2017-07-05T19:06:28.000Z
2022-03-20T14:31:10.000Z
libpharos/demangle_json.cpp
tjschweizer/pharos
4c5cea68c4489d798e341319d1d5e0d2fee71422
[ "RSA-MD" ]
180
2015-06-25T21:34:54.000Z
2022-03-21T04:25:04.000Z
// Copyright 2017-2018 Carnegie Mellon University. See LICENSE file for terms. #include "demangle_json.hpp" #include <utility> // std::move #include <sstream> // std::ostringstream namespace demangle { void JsonOutput::handle_symbol_type(Object & obj, DemangledType const & sym) const { /...
25.753571
86
0.631258
[ "object" ]
1216148c7769303687c5cc6a7124975cecfa4913
2,059
cpp
C++
leetcode/310. Minimum Height Trees.cpp
chamow97/Interview-Prep
9ce13afef6090b1604f72bf5f80a6e1df65be24f
[ "MIT" ]
1
2018-09-13T12:16:42.000Z
2018-09-13T12:16:42.000Z
leetcode/310. Minimum Height Trees.cpp
chamow97/Interview-Prep
9ce13afef6090b1604f72bf5f80a6e1df65be24f
[ "MIT" ]
null
null
null
leetcode/310. Minimum Height Trees.cpp
chamow97/Interview-Prep
9ce13afef6090b1604f72bf5f80a6e1df65be24f
[ "MIT" ]
null
null
null
class Solution { public: int maxDepth; int farthestNode; void dfs(int s, vector<bool> &visited, vector< vector<int> > &adj, int currDepth, vector<int> &path) { visited[s] = true; if(maxDepth < currDepth) { maxDepth = currDepth; farthestNode = s; } for(...
31.676923
106
0.478388
[ "vector" ]
1217af7539fe693cbe4134b56384ed31d572f27a
3,940
hpp
C++
src/GraphViz.hpp
jhidalgocarrio/slam-envire_core
4a1bc6b458989e39e4f16cab80777fdbb76cbff3
[ "BSD-2-Clause" ]
null
null
null
src/GraphViz.hpp
jhidalgocarrio/slam-envire_core
4a1bc6b458989e39e4f16cab80777fdbb76cbff3
[ "BSD-2-Clause" ]
null
null
null
src/GraphViz.hpp
jhidalgocarrio/slam-envire_core
4a1bc6b458989e39e4f16cab80777fdbb76cbff3
[ "BSD-2-Clause" ]
null
null
null
#ifndef __ENVIRE_CORE_GRAPHVIZ__ #define __ENVIRE_CORE_GRAPHVIZ__ #include <fstream> // std::ofstream #include <envire_core/TransformTree.hpp> #include <boost/graph/graphviz.hpp> namespace envire { namespace core { /**@class Transform Writer * Frame Graph Viz property writer for boost graphs * */ t...
27.172414
184
0.513959
[ "shape", "transform" ]
121abd15584c89eb709f1b462bd0cfbb8702646e
1,213
cpp
C++
src/xyz_reader.cpp
aasoni/wave
91f4c4d45d97e8aed9d10d3a7114120e55d02a26
[ "MIT" ]
null
null
null
src/xyz_reader.cpp
aasoni/wave
91f4c4d45d97e8aed9d10d3a7114120e55d02a26
[ "MIT" ]
1
2016-06-25T22:10:57.000Z
2016-06-25T22:10:57.000Z
src/xyz_reader.cpp
aasoni/wave
91f4c4d45d97e8aed9d10d3a7114120e55d02a26
[ "MIT" ]
null
null
null
#include <xyz_reader.h> #include <fstream> #include <iostream> namespace aasoni { //Reads file in format: //x_1 y_m z_1_m //x_2 y_m z_1_m //x_3 y_m z_1_m // . // . //x_n y_m z_1_(m-1) //x_1 y_(m_1) z_1_(m-1) // . // . //x_n y_1 z_n_1 bool XYZ_Reader::readFile(VE...
18.661538
57
0.472383
[ "vector" ]
12272ecd85ed5ff772c5af06eed8e3acd94d2542
20,551
cc
C++
diagnostics/cros_healthd/cros_healthd_mojo_service_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
null
null
null
diagnostics/cros_healthd/cros_healthd_mojo_service_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
null
null
null
diagnostics/cros_healthd/cros_healthd_mojo_service_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Chromium OS 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 <functional> #include <string> #include <utility> #include <vector> #include <base/bind.h> #include <base/optional.h> #include <base/run_loop...
38.557223
80
0.686147
[ "vector" ]
1233181b9474322b556110502a4152f9b8da6b38
1,567
hpp
C++
.References/src/github.com/reinterpretcat/utymap_generative_3d_map/core/shared/Callbacks.hpp
roscopecoltran/SniperKit-Core
4600dffe1cddff438b948b6c22f586d052971e04
[ "MIT" ]
null
null
null
.References/src/github.com/reinterpretcat/utymap_generative_3d_map/core/shared/Callbacks.hpp
roscopecoltran/SniperKit-Core
4600dffe1cddff438b948b6c22f586d052971e04
[ "MIT" ]
null
null
null
.References/src/github.com/reinterpretcat/utymap_generative_3d_map/core/shared/Callbacks.hpp
roscopecoltran/SniperKit-Core
4600dffe1cddff438b948b6c22f586d052971e04
[ "MIT" ]
null
null
null
#ifndef CALLBACKS_HPP_DEFINED #define CALLBACKS_HPP_DEFINED #include <cstdint> /// Callback which is called when directory should be created. /// NOTE with C++11, directory cannot be created with header only libs. typedef void OnNewDirectory(const char *path); /// Callback which is called when mesh is built. typedef...
52.233333
117
0.555201
[ "mesh" ]
123634b2c8366bc070f801b054fdd03c8f76dc72
6,572
hpp
C++
compression/src/tthresh/encode.hpp
shamanDevel/fV-SRN
966926ee678a0db0f1c67661537c4bb7eec0c56f
[ "MIT" ]
13
2021-12-06T05:08:09.000Z
2022-03-07T15:11:06.000Z
compression/src/tthresh/encode.hpp
shamanDevel/fV-SRN
966926ee678a0db0f1c67661537c4bb7eec0c56f
[ "MIT" ]
1
2022-02-07T10:07:44.000Z
2022-02-24T14:13:50.000Z
compression/src/tthresh/encode.hpp
shamanDevel/fV-SRN
966926ee678a0db0f1c67661537c4bb7eec0c56f
[ "MIT" ]
5
2021-12-13T07:02:23.000Z
2022-01-12T15:46:44.000Z
/* * Copyright (c) 2016-2017, Rafael Ballester-Ripoll * (Visualization and MultiMedia Lab, University of Zurich), * rballester@ifi.uzh.ch * * Licensed under the LGPLv3.0 (https://github.com/rballester/tthresh/blob/master/LICENSE) */ /* The arithmetic loop (last ...
32.696517
132
0.565429
[ "vector" ]
72f3a16747c48a358e8d3e0671237a654a3797c5
609
cpp
C++
competitive/c++/codeforces/round 694 div 2/mainb.cpp
HackintoshwithUbuntu/BigRepo
70746ddf7edc1ec9f13fe5f53a40eb4c3ebd2874
[ "MIT" ]
null
null
null
competitive/c++/codeforces/round 694 div 2/mainb.cpp
HackintoshwithUbuntu/BigRepo
70746ddf7edc1ec9f13fe5f53a40eb4c3ebd2874
[ "MIT" ]
null
null
null
competitive/c++/codeforces/round 694 div 2/mainb.cpp
HackintoshwithUbuntu/BigRepo
70746ddf7edc1ec9f13fe5f53a40eb4c3ebd2874
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void solve() { int n; cin >> n; int x; cin >> x; vector<int> a(n); int ans = 0; for(int i = 0; i < n; i++){ int y; cin >> y; a[i] = y; ans += y; } for(int i = 0; i < a.size(); i++){ if(a[i] % x == 0){ ...
15.615385
43
0.37931
[ "vector" ]
f400df17001737560c138f4809cc91c43c7f0944
1,959
cpp
C++
Solutions/Problem_002.cpp
aviral19/daily-coding-problem
a4c3a0b820a41eaad785234551e757dcdfea2f4d
[ "MIT" ]
null
null
null
Solutions/Problem_002.cpp
aviral19/daily-coding-problem
a4c3a0b820a41eaad785234551e757dcdfea2f4d
[ "MIT" ]
null
null
null
Solutions/Problem_002.cpp
aviral19/daily-coding-problem
a4c3a0b820a41eaad785234551e757dcdfea2f4d
[ "MIT" ]
null
null
null
#include <iostream> #include <bits/stdc++.h> using namespace std; #define ll long long int #define LOP(i,j,n) for(int i = j; i<n; i++) #define MOD 1000000007 #define mp make_pair #define pb push_back #define FOREACH(it, l) for(auto it = l.begin(); it!= l.end(); it++) // When Division is allowed vector<int> productWi...
23.321429
72
0.529862
[ "vector" ]
f402147f1f7b285115d6242476cc3cb02abf820d
1,376
cpp
C++
android-31/android/provider/ContactsContract_PinnedPositions.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/provider/ContactsContract_PinnedPositions.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/provider/ContactsContract_PinnedPositions.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../content/ContentResolver.hpp" #include "./ContactsContract_PinnedPositions.hpp" namespace android::provider { // Fields jint ContactsContract_PinnedPositions::DEMOTED() { return getStaticField<jint>( "android.provider.ContactsContract$PinnedPositions", "DEMOTED" ); } jint ContactsContract_Pi...
24.571429
106
0.74564
[ "object" ]
f4035c239145bbc034bc0f2ad5909f1bf5be9ce3
412
hh
C++
tests/Titon/Common/StringableTest.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
206
2015-01-02T20:01:12.000Z
2021-04-15T09:49:56.000Z
tests/Titon/Common/StringableTest.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
44
2015-01-02T06:03:43.000Z
2017-11-20T18:29:06.000Z
tests/Titon/Common/StringableTest.hh
titon/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
27
2015-01-03T05:51:29.000Z
2022-02-21T13:50:40.000Z
<?hh namespace Titon\Common; use Titon\Test\Stub\Common\StringableStub; use Titon\Test\TestCase; class StringableTest extends TestCase { public function testToString(): void { $object = new StringableStub(); $this->assertEquals('Titon\Test\Stub\Common\StringableStub', $object->toString()); ...
24.235294
90
0.701456
[ "object" ]
f40689eaeb4748e7c8c110865640e1067803b832
2,272
cpp
C++
tools/aapt2/compile/XmlIdCollector.cpp
Keneral/aframeworksbase1
0287c3e3f6f763cd630290343cda11e15db1844f
[ "Unlicense" ]
null
null
null
tools/aapt2/compile/XmlIdCollector.cpp
Keneral/aframeworksbase1
0287c3e3f6f763cd630290343cda11e15db1844f
[ "Unlicense" ]
null
null
null
tools/aapt2/compile/XmlIdCollector.cpp
Keneral/aframeworksbase1
0287c3e3f6f763cd630290343cda11e15db1844f
[ "Unlicense" ]
null
null
null
/* * Copyright (C) 2015 The Android Open Source Project * * 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 app...
32
94
0.622799
[ "vector" ]
f40fba82f5ebf52ebb433a848827c06d1e885404
3,963
cpp
C++
src/app/IAPreferences.cpp
MatthiasWM/AllPlatformAppFLTK
24054a8a494803ffae51cef7bdc5afb470c787eb
[ "MIT" ]
12
2018-08-14T00:55:35.000Z
2022-02-08T12:01:39.000Z
src/app/IAPreferences.cpp
MatthiasWM/AllPlatformAppFLTK
24054a8a494803ffae51cef7bdc5afb470c787eb
[ "MIT" ]
34
2018-09-17T08:02:42.000Z
2018-10-17T22:56:23.000Z
src/app/IAPreferences.cpp
MatthiasWM/AllPlatformAppFLTK
24054a8a494803ffae51cef7bdc5afb470c787eb
[ "MIT" ]
9
2018-10-05T09:16:47.000Z
2022-02-28T02:39:33.000Z
// // IAPreferences.cpp // // Copyright (c) 2013-2018 Matthias Melcher. All rights reserved. // #include "IAPreferences.h" #include "view/IAGUIMain.h" #include <FL/Fl_Preferences.H> /** * Create the preferences interface an load the last settings. */ IAPreferences::IAPreferences() { char buf[FL_PATH_MAX]; ...
23.311765
84
0.619228
[ "3d" ]
f41b630606bc51b427ad4f6d9fc8647832a3cae6
1,314
cpp
C++
metapushstream2/video/yangrecordthread.cpp
guoai2015/metaRTC
70e9a09c9a703a547e791cd246c4054d87881f08
[ "MIT" ]
147
2021-09-12T07:23:45.000Z
2021-11-11T11:31:26.000Z
metapushstream2/video/yangrecordthread.cpp
guoai2015/metaRTC
70e9a09c9a703a547e791cd246c4054d87881f08
[ "MIT" ]
6
2021-11-30T07:53:09.000Z
2022-02-25T01:36:38.000Z
metapushstream2/video/yangrecordthread.cpp
guoai2015/metaRTC
70e9a09c9a703a547e791cd246c4054d87881f08
[ "MIT" ]
36
2021-09-13T06:24:20.000Z
2021-11-12T10:23:54.000Z
#include "yangrecordthread.h" #include <QDebug> #include <QMapIterator> YangRecordThread::YangRecordThread() { m_isLoop=0; m_video=nullptr; m_videoBuffer=nullptr; m_bgColor={0,0,0}; m_textColor={0,0,255}; m_videoPlayNum=5; m_sid=1; showType=1; m_isStart=0; } YangRecordThread::...
16.425
99
0.592846
[ "render" ]
f42abfbcbc3f31df9a51e3f2243eec937d0c9c83
813
cpp
C++
src/software/simulated_tests/terminating_validation_functions/robot_in_center_circle_validation.cpp
jonl112/Software
61a028a98d5c0dd5e79bf055b231633290ddbf9f
[ "MIT" ]
null
null
null
src/software/simulated_tests/terminating_validation_functions/robot_in_center_circle_validation.cpp
jonl112/Software
61a028a98d5c0dd5e79bf055b231633290ddbf9f
[ "MIT" ]
null
null
null
src/software/simulated_tests/terminating_validation_functions/robot_in_center_circle_validation.cpp
jonl112/Software
61a028a98d5c0dd5e79bf055b231633290ddbf9f
[ "MIT" ]
null
null
null
#include "software/simulated_tests/terminating_validation_functions/robot_in_center_circle_validation.h" #include "software/geom/algorithms/contains.h" #include "software/logger/logger.h" void robotInCenterCircle(std::shared_ptr<World> world_ptr, ValidationCoroutine::push_type& yield) { a...
36.954545
104
0.682657
[ "vector" ]
f42bd3edb229a7ebe3272d100a25ffeb0edaf5a5
2,232
cpp
C++
src/NULS/Signer.cpp
dinc334/wallet-core
b4502836c2bf7b6139868a22ab62ee894966f208
[ "MIT" ]
1
2020-09-18T14:15:09.000Z
2020-09-18T14:15:09.000Z
src/NULS/Signer.cpp
dinc334/wallet-core
b4502836c2bf7b6139868a22ab62ee894966f208
[ "MIT" ]
null
null
null
src/NULS/Signer.cpp
dinc334/wallet-core
b4502836c2bf7b6139868a22ab62ee894966f208
[ "MIT" ]
1
2019-09-21T18:07:59.000Z
2019-09-21T18:07:59.000Z
// Copyright © 2017-2019 Trust Wallet. // // This file is part of Trust. The full Trust 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 "Signer.h" #include "Address.h" #include "BinaryC...
33.818182
98
0.686828
[ "vector" ]
f42d67edfe899f8026281cd5379dcf7a93627448
22,376
cpp
C++
lib/transforms/xregPerspectiveXform.cpp
rg2/xreg
c06440d7995f8a441420e311bb7b6524452843d3
[ "MIT" ]
30
2020-09-29T18:36:13.000Z
2022-03-28T09:25:13.000Z
lib/transforms/xregPerspectiveXform.cpp
rg2/xreg
c06440d7995f8a441420e311bb7b6524452843d3
[ "MIT" ]
3
2020-10-09T01:21:27.000Z
2020-12-10T15:39:44.000Z
lib/transforms/xregPerspectiveXform.cpp
rg2/xreg
c06440d7995f8a441420e311bb7b6524452843d3
[ "MIT" ]
8
2021-05-25T05:14:48.000Z
2022-02-26T12:29:50.000Z
/* * MIT License * * Copyright (c) 2020 Robert Grupp * * 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, mod...
30.360923
110
0.646049
[ "vector" ]
f434bf4ab1cdf823f57a008d4e26e0fa8c46a5ca
2,466
hpp
C++
src/PCVR_Scene.hpp
InnovativeDigitalSolution/NASA_PointCloudsVR
d837bfa1b742ece464f7cd9173634e4ba93279ce
[ "NASA-1.3" ]
57
2019-12-26T20:31:36.000Z
2022-02-27T04:02:20.000Z
src/PCVR_Scene.hpp
InnovativeDigitalSolution/NASA_PointCloudsVR
d837bfa1b742ece464f7cd9173634e4ba93279ce
[ "NASA-1.3" ]
null
null
null
src/PCVR_Scene.hpp
InnovativeDigitalSolution/NASA_PointCloudsVR
d837bfa1b742ece464f7cd9173634e4ba93279ce
[ "NASA-1.3" ]
5
2020-02-01T22:26:25.000Z
2021-07-24T10:40:05.000Z
#pragma once #include <queue> #include <osg/ArgumentParser> #include <osg/ref_ptr> #include <openvr.h> #include <OpenFrames/CurveArtist.hpp> #include <OpenFrames/DrawableTrajectory.hpp> #include <OpenFrames/OpenVRDevice.hpp> #include <OpenFrames/QWidgetPanel.hpp> #include <OpenFrames/ReferenceFrame.hpp> #include <O...
28.344828
104
0.773317
[ "vector" ]
f436ecfcfd7593baf1564b8b8702bcc2bd82329b
24,857
cxx
C++
cupsfilters/pdftopdf/qpdf-pdftopdf-processor.cxx
thakan25/cups-filters
e496badbf23d4d4215b542d5e73f931c8d9bcf73
[ "Apache-2.0" ]
null
null
null
cupsfilters/pdftopdf/qpdf-pdftopdf-processor.cxx
thakan25/cups-filters
e496badbf23d4d4215b542d5e73f931c8d9bcf73
[ "Apache-2.0" ]
null
null
null
cupsfilters/pdftopdf/qpdf-pdftopdf-processor.cxx
thakan25/cups-filters
e496badbf23d4d4215b542d5e73f931c8d9bcf73
[ "Apache-2.0" ]
null
null
null
#include "qpdf-pdftopdf-processor-private.h" #include <stdio.h> #include <stdarg.h> #include <assert.h> #include <stdexcept> #include <qpdf/QPDFWriter.hh> #include <qpdf/QUtil.hh> #include <qpdf/QPDFPageDocumentHelper.hh> #include <qpdf/QPDFAcroFormDocumentHelper.hh> #include "qpdf-tools-private.h" #include "qpdf-xobje...
32.114987
255
0.683309
[ "vector", "transform" ]
f43a18443862f19fd1bd523cd1999a310a8495ee
720
cpp
C++
test/initializer_list_assignment.cpp
LeonineKing1199/sleip
aa6ac4d9b581e42c8eb3883a9e42c5d015d377cc
[ "BSL-1.0" ]
22
2020-01-19T03:47:26.000Z
2020-11-03T17:11:13.000Z
test/initializer_list_assignment.cpp
LeonineKing1199/sleip
aa6ac4d9b581e42c8eb3883a9e42c5d015d377cc
[ "BSL-1.0" ]
null
null
null
test/initializer_list_assignment.cpp
LeonineKing1199/sleip
aa6ac4d9b581e42c8eb3883a9e42c5d015d377cc
[ "BSL-1.0" ]
3
2020-01-05T21:18:25.000Z
2020-04-07T08:21:04.000Z
#include <sleip/dynamic_array.hpp> #include <vector> #include <boost/core/lightweight_test.hpp> void test_initializer_list_assignment() { // empty // { auto a = sleip::dynamic_array<int>(); auto list = std::initializer_list<int>{1, 2, 3}; a = list; BOOST_TEST_EQ(a.size(), list.size()); ...
17.560976
76
0.626389
[ "vector" ]
f43da71369a9c74a0eb34f89be1586d6673053db
211
cpp
C++
Extensions/PhysicsBehavior/Box2D/Contributions/Platforms/Box2D.Net/VariousImplementations.cpp
mohajain/GDevelop
8e8d96dd3a5957221fb3d0ec28a694620149d835
[ "MIT" ]
4
2021-03-18T22:26:31.000Z
2021-07-16T00:12:15.000Z
Extensions/PhysicsBehavior/Box2D/Contributions/Platforms/Box2D.Net/VariousImplementations.cpp
mohajain/GDevelop
8e8d96dd3a5957221fb3d0ec28a694620149d835
[ "MIT" ]
9
2020-04-04T19:26:47.000Z
2022-03-25T18:41:20.000Z
Extensions/PhysicsBehavior/Box2D/Contributions/Platforms/Box2D.Net/VariousImplementations.cpp
mohajain/GDevelop
8e8d96dd3a5957221fb3d0ec28a694620149d835
[ "MIT" ]
2
2020-03-02T05:20:41.000Z
2021-05-10T03:59:05.000Z
#pragma once #include "stdafx.h" #include "Shape.cpp" #include "Body.cpp" namespace Box2D { namespace Net { Body^ Shape::Body::get() { return gcnew Box2D::Net::Body(shape->GetBody()); } } }
8.791667
51
0.616114
[ "shape" ]
f43f2643b35b2e5a260ee6a631b940acdf2f1f67
3,337
hpp
C++
src/geohash/core/include/geohash/string.hpp
fbriol/pangeo-geohash
2f02985f789d91f4bb8ee28ff9ae224c2a990b04
[ "MIT" ]
null
null
null
src/geohash/core/include/geohash/string.hpp
fbriol/pangeo-geohash
2f02985f789d91f4bb8ee28ff9ae224c2a990b04
[ "MIT" ]
null
null
null
src/geohash/core/include/geohash/string.hpp
fbriol/pangeo-geohash
2f02985f789d91f4bb8ee28ff9ae224c2a990b04
[ "MIT" ]
null
null
null
#pragma once #include <pybind11/numpy.h> #include <Eigen/Core> #include <map> #include <optional> #include <tuple> #include <vector> #include "geohash/geometry.hpp" namespace geohash::string { // Handle the numpy arrays of geohash. class Array { public: // Creation of a vector of "size" items of strings of maxim...
34.05102
80
0.659574
[ "geometry", "vector" ]
f4422e160fad9ddfc8b9594f1bc53658f5966e86
5,604
hpp
C++
include/BlockManager.hpp
suncloudsmoon/Enemycraft
d47652ac954ae33c4548139be73b9a2d2535a448
[ "MIT-0" ]
1
2021-10-03T14:35:24.000Z
2021-10-03T14:35:24.000Z
include/BlockManager.hpp
suncloudsmoon/Enemycraft
d47652ac954ae33c4548139be73b9a2d2535a448
[ "MIT-0" ]
null
null
null
include/BlockManager.hpp
suncloudsmoon/Enemycraft
d47652ac954ae33c4548139be73b9a2d2535a448
[ "MIT-0" ]
null
null
null
/* * Copyright (c) 2021, suncloudsmoon and the Enemycraft contributors. * * 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 * ...
25.130045
92
0.681478
[ "object", "vector" ]
f4491644afb9d9520a40337ddcedbd0d4a39238f
3,478
cpp
C++
src/RmBkFilter/TransSmpte/TransSmpte.cpp
mkmpvtltd1/Webinaria
41d86467800adb48e77ab49b92891fae2a99bb77
[ "MIT" ]
5
2015-03-31T15:51:22.000Z
2022-03-10T07:01:56.000Z
src/RmBkFilter/TransSmpte/TransSmpte.cpp
mkmpvtltd1/Webinaria
41d86467800adb48e77ab49b92891fae2a99bb77
[ "MIT" ]
null
null
null
src/RmBkFilter/TransSmpte/TransSmpte.cpp
mkmpvtltd1/Webinaria
41d86467800adb48e77ab49b92891fae2a99bb77
[ "MIT" ]
null
null
null
// #include <streams.h> #include "..\iRGBFilters.h" #include "TransSmpte.h" static const AMOVIESETUP_MEDIATYPE sudInputPinTypes = { &MEDIATYPE_Video // clsMajorType , &MEDIASUBTYPE_NULL } ; // clsMinorType static const AMOVIESETUP_MEDIATYPE sudOutputPinTypes = { &MEDIATYPE...
25.573529
92
0.561242
[ "transform" ]
f44c0fb480c5f58b4efa5770d61edde92072c562
1,593
hxx
C++
Legolas/Matrix/VirtualMatrix/VirtualMatrixKernel.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/Matrix/VirtualMatrix/VirtualMatrixKernel.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/Matrix/VirtualMatrix/VirtualMatrixKernel.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
1
2021-02-11T14:43:25.000Z
2021-02-11T14:43:25.000Z
/** * project DESCARTES * * @file VirtualMatrixKernel.hxx * * @author Laurent PLAGNE * @date june 2004 - january 2005 * * @par Modifications * - author date object * * (c) Copyright EDF R&D - CEA 2001-2005 */ #ifndef __LEGOLAS_VIRTUALMATRIXKERNEL_HXX__ #define __LEGOLAS_VIRTUALMATRIXKERNEL_HXX__ ...
33.1875
96
0.684871
[ "object" ]
f44ed2da834cf98a6bd7da1df2f6afce2f93c4ba
5,582
cpp
C++
fox_track/src/main.cpp
lowerrandom/fox_trap
181eb3b809aa19eda2b03044d970f6abb76662d7
[ "MIT" ]
16
2018-08-31T18:42:03.000Z
2020-10-23T17:41:04.000Z
fox_track/src/main.cpp
lowerrandom/fox_trap
181eb3b809aa19eda2b03044d970f6abb76662d7
[ "MIT" ]
null
null
null
fox_track/src/main.cpp
lowerrandom/fox_trap
181eb3b809aa19eda2b03044d970f6abb76662d7
[ "MIT" ]
3
2018-08-31T19:46:20.000Z
2019-04-28T05:38:45.000Z
#include <painlessMesh.h> #include "../lib/stringUtils.cpp" #define MESH_PREFIX "Not_a_botnet" #define MESH_PASSWORD "password" #define MESH_PORT 5566 //Define these unsigned long ackSeconds = 3; uint32_t ackTimes = 20; // Prototype Scheduler userScheduler; // to control your personal task pain...
30.010753
130
0.671802
[ "mesh", "vector" ]
f45033e48926b0b07bb0ecf5e094051ec89c3809
22,187
cxx
C++
test/unity/toolkits/recsys/ranking_model_tests.cxx
LeeCenY/turicreate
fb2f3bf313e831ceb42a2e10aacda6e472ea8d93
[ "BSD-3-Clause" ]
null
null
null
test/unity/toolkits/recsys/ranking_model_tests.cxx
LeeCenY/turicreate
fb2f3bf313e831ceb42a2e10aacda6e472ea8d93
[ "BSD-3-Clause" ]
2
2022-01-13T04:03:55.000Z
2022-03-12T01:02:31.000Z
test/unity/toolkits/recsys/ranking_model_tests.cxx
ZeroInfinite/turicreate
dd210c2563930881abd51fd69cb73007955b33fd
[ "BSD-3-Clause" ]
null
null
null
/* Copyright © 2017 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ const bool enable_expensive_tests = false; #define BOOST_TEST_MODULE #include <boost/test/unit_test...
29.94197
102
0.591653
[ "vector", "model" ]
f4525860654f9b18630a70309ac3cd0a90a3744f
25,267
cpp
C++
src/mongo/s/collection_manager_test.cpp
wentingwang/morphus
af40299a5f07fd3157946112738f602a566a9908
[ "Apache-2.0" ]
5
2015-02-03T18:12:03.000Z
2016-07-09T09:52:00.000Z
src/mongo/s/collection_manager_test.cpp
stennie/mongo
9ff44ae9ad16a70e49517a78279260a37d31ac7c
[ "Apache-2.0" ]
null
null
null
src/mongo/s/collection_manager_test.cpp
stennie/mongo
9ff44ae9ad16a70e49517a78279260a37d31ac7c
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2012 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful...
40.885113
98
0.555586
[ "vector" ]
f459fe49b9d3d14b46fd31ced3cc9ebcaf2f9d3c
24,685
cpp
C++
src/mongo/dbtests/query_stage_cached_plan.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/dbtests/query_stage_cached_plan.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/dbtests/query_stage_cached_plan.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2018-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
44.638336
99
0.66745
[ "shape" ]
f46090bc0914ad4a3d6a7303f770038bc54f06e7
112,982
cpp
C++
plugins/protein_cuda/src/SombreroWarper.cpp
sellendk/megamol
0e4840b1897706c861946992ce3524bafab53352
[ "BSD-3-Clause" ]
null
null
null
plugins/protein_cuda/src/SombreroWarper.cpp
sellendk/megamol
0e4840b1897706c861946992ce3524bafab53352
[ "BSD-3-Clause" ]
null
null
null
plugins/protein_cuda/src/SombreroWarper.cpp
sellendk/megamol
0e4840b1897706c861946992ce3524bafab53352
[ "BSD-3-Clause" ]
null
null
null
/* * TunnelCutter.h * Copyright (C) 2006-2017 by MegaMol Team * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "SombreroWarper.h" #include <chrono> #include <climits> #include <iostream> #include <limits> #include <map> #include "geometry_calls/CallTriMeshData.h" #include "mmcore/param/BoolParam.h" #incl...
44.116361
159
0.547308
[ "mesh", "geometry", "vector" ]
c2e1c1ad0cf742c27bff6571bd70a5f8c5ae4596
542
cpp
C++
atcoder/contests/abc171/B.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
atcoder/contests/abc171/B.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
atcoder/contests/abc171/B.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* AtCoder Beginner Contest 171 - B - Mix Juice https://atcoder.jp/contests/abc171/tasks/abc171_b */ #include <bits/stdc++.h> using namespace std; #define FAST_INP ios_base::sync_with_stdio(false);cin.tie(NULL) int main() { FAST_INP; int n,k; cin >> n >> k; vector<int> v(n); // read the inpu...
19.357143
64
0.571956
[ "vector" ]
c2e2195047ab7f1d1a89524bc1051b7fd7c4a7de
379
hpp
C++
Projects/Cpp/Game/Breakout/BreakoutBrick.hpp
cimpresovec/Masters
d5705b72e1f9f19666d70a5ad6286fe6f5fb6c6c
[ "MIT" ]
null
null
null
Projects/Cpp/Game/Breakout/BreakoutBrick.hpp
cimpresovec/Masters
d5705b72e1f9f19666d70a5ad6286fe6f5fb6c6c
[ "MIT" ]
null
null
null
Projects/Cpp/Game/Breakout/BreakoutBrick.hpp
cimpresovec/Masters
d5705b72e1f9f19666d70a5ad6286fe6f5fb6c6c
[ "MIT" ]
null
null
null
#ifndef BREAKOUTBRICK_H #define BREAKOUTBRICK_H #include <raylib.h> class BreakoutBrick { Rectangle collisionRectangle{0, 0, 80, 30}; bool _shouldDestroy = false; Color color {}; public: BreakoutBrick(const Vector2 position); void render(); Rectangle getCollisionRectangle(); void destroy(...
18.047619
47
0.704485
[ "render" ]
c2e6f4ce79584d27db4c53eba952674291eceb73
399
cpp
C++
API/GameEngineContents/EnemyGreenEyegore.cpp
chaewoon83/WinApiPortfolio
e0f024a66a253a7e5b11e228cf9d0da93ddcc5ef
[ "MIT" ]
null
null
null
API/GameEngineContents/EnemyGreenEyegore.cpp
chaewoon83/WinApiPortfolio
e0f024a66a253a7e5b11e228cf9d0da93ddcc5ef
[ "MIT" ]
null
null
null
API/GameEngineContents/EnemyGreenEyegore.cpp
chaewoon83/WinApiPortfolio
e0f024a66a253a7e5b11e228cf9d0da93ddcc5ef
[ "MIT" ]
null
null
null
#include "EnemyGreenEyegore.h" #include <windows.h> #include <GameEngineBase/GameEngineWindow.h> EnemyGreenEyegore::EnemyGreenEyegore() { } EnemyGreenEyegore::~EnemyGreenEyegore() { } void EnemyGreenEyegore::Start() { SetPosition(GameEngineWindow::GetScale().Half()); SetScale({ 500,500 }); } void EnemyGreenEy...
13.758621
50
0.736842
[ "render" ]
c2e7fc628901839031ee21fd7bfca64bb65e7cbb
1,063
cpp
C++
boboleetcode/Play-Leetcode-master/0077-Combinations/cpp-0077/main3.cpp
yaominzh/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
2
2021-03-25T05:26:55.000Z
2021-04-20T03:33:24.000Z
boboleetcode/Play-Leetcode-master/0077-Combinations/cpp-0077/main3.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
6
2019-12-04T06:08:32.000Z
2021-05-10T20:22:47.000Z
boboleetcode/Play-Leetcode-master/0077-Combinations/cpp-0077/main3.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
null
null
null
/// Source : https://leetcode.com/problems/combinations/description/ /// Author : liuyubobobo /// Time : 2019-03-29 #include <iostream> #include <vector> using namespace std; /// Using bit mask /// Time Complexity: O(2^n * n) /// Space Complexity: O(1) class Solution { public: vector<vector<int>> combine(int...
18.649123
68
0.515522
[ "vector" ]
c2ea20fcab9f315c4d6d1448b422ea1f09914c1c
13,731
cpp
C++
openstudiocore/src/model/ZoneHVACBaseboardRadiantConvectiveWater.cpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
1
2016-12-29T08:45:03.000Z
2016-12-29T08:45:03.000Z
openstudiocore/src/model/ZoneHVACBaseboardRadiantConvectiveWater.cpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
null
null
null
openstudiocore/src/model/ZoneHVACBaseboardRadiantConvectiveWater.cpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
null
null
null
/********************************************************************** * 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 t...
40.504425
163
0.740369
[ "object", "vector", "model" ]
c2edfbf8d2c8cb15f522c3f6d6bfef50c0f16810
4,964
cpp
C++
Engine/Src/SFCore/Util/SFLog.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
1
2020-06-20T07:35:25.000Z
2020-06-20T07:35:25.000Z
Engine/Src/SFCore/Util/SFLog.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
null
null
null
Engine/Src/SFCore/Util/SFLog.cpp
blue3k/StormForge
1557e699a673ae9adcc8f987868139f601ec0887
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // CopyRight (c) Kyungkun Ko // // Author : KyungKun Ko // // Description : Log // // //////////////////////////////////////////////////////////////////////////////// #include "SFCorePCH.h" #include "SFTypedefs.h" #in...
22.563636
191
0.618453
[ "object" ]
c2f429b78e23e815f74692ea57a245b8a1d0f167
9,984
cpp
C++
src/Pegasus/ProviderManager2/CMPI/CMPI_Cql2Dnf.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
1
2021-11-12T21:28:50.000Z
2021-11-12T21:28:50.000Z
src/Pegasus/ProviderManager2/CMPI/CMPI_Cql2Dnf.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
39
2021-01-18T19:28:41.000Z
2022-03-27T20:55:36.000Z
src/Pegasus/ProviderManager2/CMPI/CMPI_Cql2Dnf.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
4
2021-07-09T12:52:33.000Z
2021-12-21T15:05:59.000Z
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
29.538462
80
0.536058
[ "object" ]
c2fa6bade20d0c30a03252e2b391e1c543da0429
13,287
cpp
C++
collab/sessions/sessions.cpp
alecmus/collab
5d2d968b6dca6734d1f981eb273082c092d2056e
[ "MIT" ]
null
null
null
collab/sessions/sessions.cpp
alecmus/collab
5d2d968b6dca6734d1f981eb273082c092d2056e
[ "MIT" ]
null
null
null
collab/sessions/sessions.cpp
alecmus/collab
5d2d968b6dca6734d1f981eb273082c092d2056e
[ "MIT" ]
1
2022-03-22T08:08:14.000Z
2022-03-22T08:08:14.000Z
/* ** MIT License ** ** Copyright(c) 2021 Alec Musasa ** ** 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...
27.56639
143
0.702867
[ "object", "vector" ]
6c08ebf36a6d560eb76a82ed2e9009b6bc061699
27,528
cpp
C++
src/listNode.cpp
LUSpace/pactree
e91d832fb286fe7d37063b5d112c2cea55720f85
[ "Apache-2.0" ]
14
2021-08-29T19:04:30.000Z
2022-03-10T09:35:21.000Z
src/listNode.cpp
LUSpace/pactree
e91d832fb286fe7d37063b5d112c2cea55720f85
[ "Apache-2.0" ]
2
2021-12-08T07:53:48.000Z
2022-02-17T04:16:35.000Z
src/listNode.cpp
LUSpace/pactree
e91d832fb286fe7d37063b5d112c2cea55720f85
[ "Apache-2.0" ]
7
2021-08-22T23:57:19.000Z
2022-01-26T19:31:00.000Z
// SPDX-FileCopyrightText: Copyright (c) 2019-2021 Virginia Tech // SPDX-License-Identifier: Apache-2.0 #include <cstring> #include <iostream> #include "Oplog.h" #include "listNode.h" #include "threadData.h" #include "pactree.h" thread_local int logCnt=0; thread_local int coreId=-1; extern thread_local ThreadData* cu...
28.262834
128
0.605965
[ "vector" ]
6c093616f86b8aff9a065be86598fd38d695ab19
123,893
cpp
C++
basecode/compiler/byte_code_emitter.cpp
Alaboudi1/bootstrap
4ec4629424ad6fe70c84d95d79b2132f24832379
[ "MIT" ]
32
2018-05-14T23:26:54.000Z
2020-06-14T10:13:20.000Z
basecode/compiler/byte_code_emitter.cpp
Alaboudi1/bootstrap
4ec4629424ad6fe70c84d95d79b2132f24832379
[ "MIT" ]
79
2018-08-01T11:50:45.000Z
2020-11-17T13:40:06.000Z
basecode/compiler/byte_code_emitter.cpp
Alaboudi1/bootstrap
4ec4629424ad6fe70c84d95d79b2132f24832379
[ "MIT" ]
14
2021-01-08T05:05:19.000Z
2022-03-27T14:56:56.000Z
// ---------------------------------------------------------------------------- // // Basecode Bootstrap Compiler // Copyright (C) 2018 Jeff Panici // All rights reserved. // // This software source file is licensed under the terms of MIT license. // For details, please read the LICENSE file. // // --------------------...
40.487908
128
0.474603
[ "vector" ]
6c0dd710754d54020621d04a92b187f5f60cd28c
11,047
cc
C++
contribs/qecode/WorkManager.cc
guidotack/gecode
027c57889d66dd26ad8e1a419c2cda22ab0cf305
[ "MIT-feh" ]
216
2016-07-11T12:44:44.000Z
2022-03-24T01:48:06.000Z
contribs/qecode/WorkManager.cc
guidotack/gecode
027c57889d66dd26ad8e1a419c2cda22ab0cf305
[ "MIT-feh" ]
105
2018-02-01T15:51:15.000Z
2022-03-05T16:10:36.000Z
contribs/qecode/WorkManager.cc
guidotack/gecode
027c57889d66dd26ad8e1a419c2cda22ab0cf305
[ "MIT-feh" ]
73
2016-02-15T07:09:36.000Z
2022-03-22T23:10:26.000Z
/************************************************************ WorkManager.cc Copyright (c) 2010 Universite d'Orleans - Jeremie Vautard 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 r...
29.302387
134
0.577261
[ "vector" ]
6c1750b3055eb3d9178afadf503d20f59c619bb5
6,786
cpp
C++
src/physics/collision/rectcollider.cpp
cbosoft/geas
9451b7fd4924d5bc3f21f3c9cc053540953b95c0
[ "MIT" ]
null
null
null
src/physics/collision/rectcollider.cpp
cbosoft/geas
9451b7fd4924d5bc3f21f3c9cc053540953b95c0
[ "MIT" ]
null
null
null
src/physics/collision/rectcollider.cpp
cbosoft/geas
9451b7fd4924d5bc3f21f3c9cc053540953b95c0
[ "MIT" ]
null
null
null
#include <vector> #include "../../util/exception.hpp" #include "../../geas_object/geas_object.hpp" #ifdef DEBUG #include "../../game/game.hpp" #endif #include "rectcollider.hpp" const static float _rect_overlap = 1.0f; RectCollider::RectCollider(GeasObject *owner, const Vec4 &rect) : Transform(owner) ...
27.144
186
0.59608
[ "vector", "transform" ]
6c2308d12322eec865d2b3be7619d0026a999e02
18,785
cpp
C++
Resource/Source/ResourceMgr.cpp
TaylorClark/PrimeTime
3c62f6c53e0494146a95be1412273de3cf05bcd2
[ "MIT" ]
null
null
null
Resource/Source/ResourceMgr.cpp
TaylorClark/PrimeTime
3c62f6c53e0494146a95be1412273de3cf05bcd2
[ "MIT" ]
null
null
null
Resource/Source/ResourceMgr.cpp
TaylorClark/PrimeTime
3c62f6c53e0494146a95be1412273de3cf05bcd2
[ "MIT" ]
null
null
null
//================================================================================================= /*! \file ResourceMgr.cpp Resources Library Resource Manager Source \author Taylor Clark \date March 3, 2006 This source file contains the implementation for ResourceManager class. */ //===========================...
31.571429
313
0.643865
[ "object", "vector" ]
6c2c1cd250c11011ac166bf5df25a6f103623d2b
4,779
cpp
C++
src/geometric_shapes/src/shape_extents.cpp
househear/_ws_moveit2
ea5c43ddd412ade6b4bebbdb929b6e08b7a5e888
[ "Apache-2.0" ]
null
null
null
src/geometric_shapes/src/shape_extents.cpp
househear/_ws_moveit2
ea5c43ddd412ade6b4bebbdb929b6e08b7a5e888
[ "Apache-2.0" ]
null
null
null
src/geometric_shapes/src/shape_extents.cpp
househear/_ws_moveit2
ea5c43ddd412ade6b4bebbdb929b6e08b7a5e888
[ "Apache-2.0" ]
null
null
null
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2012, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following...
43.844037
120
0.671061
[ "mesh" ]
6c2c8c2db31312b7074a4cc816a4ce3f9fb1a765
34,676
cc
C++
chromium/media/base/key_systems.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
27
2016-04-27T01:02:03.000Z
2021-12-13T08:53:19.000Z
chromium/media/base/key_systems.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
2
2017-03-09T09:00:50.000Z
2017-09-21T15:48:20.000Z
chromium/media/base/key_systems.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
17
2016-04-27T02:06:39.000Z
2019-12-18T08:07:00.000Z
// Copyright 2013 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 "media/base/key_systems.h" #include <stddef.h> #include "base/containers/hash_tables.h" #include "base/lazy_instance.h" #include "base/logging....
36.578059
80
0.743194
[ "vector" ]
6c2f74c9b8fa547c1adc776467351ca5162e4f56
11,068
cpp
C++
LibGraphics/Controllers/Wm4IKController.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
3
2021-08-02T04:03:03.000Z
2022-01-04T07:31:20.000Z
LibGraphics/Controllers/Wm4IKController.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
null
null
null
LibGraphics/Controllers/Wm4IKController.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
5
2019-10-13T02:44:19.000Z
2021-08-02T04:03:10.000Z
// Geometric Tools, Inc. // http://www.geometrictools.com // Copyright (c) 1998-2006. All Rights Reserved // // The Wild Magic Version 4 Restricted Libraries source code is supplied // under the terms of the license agreement // http://www.geometrictools.com/License/Wm4RestrictedLicense.pdf // and may not be copie...
28.16285
78
0.467203
[ "object", "vector" ]
6c388fa5476cfb5c22dbafe5ba302f4196a2879d
1,369
cpp
C++
src/Frodo-core/core/log/log.cpp
JeppeSRC/Frodo
f3229c4601608254f16f4499052d8d03c94c0e86
[ "MIT" ]
19
2016-04-19T21:31:47.000Z
2018-02-28T19:28:43.000Z
src/Frodo-core/core/log/log.cpp
JeppeSRC/Frodo
f3229c4601608254f16f4499052d8d03c94c0e86
[ "MIT" ]
null
null
null
src/Frodo-core/core/log/log.cpp
JeppeSRC/Frodo
f3229c4601608254f16f4499052d8d03c94c0e86
[ "MIT" ]
null
null
null
#include "log.h" #include "logdevice.h" #include <core/types.h> #include <stdarg.h> namespace fd { namespace core { namespace log { utils::List<LogDevice*> Log::devices; void Log::AddDevice(LogDevice* device) { devices.Push_back(device); } void Log::RemoveDevice(LogDevice* device) { devices.Re...
17.551282
53
0.615778
[ "vector" ]
6c46ba5d0742d4a999314dd9c133e9f5159a5fd5
648
cpp
C++
cpp-leetcode/leetcode455-assign-cookies_two_pointers.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
45
2021-07-25T00:45:43.000Z
2022-03-24T05:10:43.000Z
cpp-leetcode/leetcode455-assign-cookies_two_pointers.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
null
null
null
cpp-leetcode/leetcode455-assign-cookies_two_pointers.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
15
2021-07-25T00:40:52.000Z
2021-12-27T06:25:31.000Z
#include<algorithm> #include<vector> #include<iostream> using namespace std; class Solution { public: int findContentChildren(vector<int>& g, vector<int>& s) { sort(g.begin(), g.end()); sort(s.begin(), s.end()); // 双指针 int j = 0; // 遇到满足条件的情形, j才移动一步(同时是一个计数器) for (in...
20.25
61
0.498457
[ "vector" ]
6c470ebee942bf8c16a7930e4be1611ff53614f9
12,814
cpp
C++
src/LuminoEngine/src/Rendering/Material.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/Rendering/Material.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/Rendering/Material.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
 #include "Internal.hpp" #include <LuminoEngine/Base/Serializer.hpp> #include <LuminoEngine/Asset/Assets.hpp> #include <LuminoEngine/Graphics/GraphicsCommandBuffer.hpp> #include <LuminoEngine/Shader/ShaderDescriptor.hpp> #include <LuminoEngine/Graphics/Texture.hpp> #include <LuminoEngine/Rendering/Material.hpp> #inclu...
26.976842
139
0.6624
[ "object", "vector" ]
484389ab1fa311ecccdffd2cae29bbd2bc0063e6
1,711
cpp
C++
aws-cpp-sdk-mediatailor/source/model/HttpPackageConfiguration.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-mediatailor/source/model/HttpPackageConfiguration.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-mediatailor/source/model/HttpPackageConfiguration.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "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/mediatailor/model/HttpPackageConfiguration.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespac...
18.802198
82
0.722385
[ "model" ]
484e7cb9851553bbfeb1621d465e4cec6e04720c
1,399
cpp
C++
attic/hwcpp-source/core/work1.cpp
wovo/hwcpp
2462db6b360e585fd0c8c8c23fac2e5db24f52a0
[ "BSL-1.0" ]
21
2017-05-24T21:44:29.000Z
2021-03-24T05:41:14.000Z
attic/hwcpp-source/core/work1.cpp
wovo/hwcpp
2462db6b360e585fd0c8c8c23fac2e5db24f52a0
[ "BSL-1.0" ]
3
2017-11-21T14:44:13.000Z
2018-03-02T11:55:05.000Z
attic/hwcpp-source/core/work1.cpp
wovo/hwcpp
2462db6b360e585fd0c8c8c23fac2e5db24f52a0
[ "BSL-1.0" ]
2
2018-02-23T12:13:45.000Z
2019-07-10T17:29:15.000Z
template< typename Timing > class i2c_100kHz( Timing timing_ ) final { const auto timing = timing_from( timing_ ); // from the "I2C-bus specification and user manual, // 4 April 2014", UM10204.pdf, Table 10 const auto t_hd_sta = timing.ns( 4000 ); const auto t_low = timing.ns( 4700 ); ...
29.765957
81
0.668335
[ "object" ]
48521b3377ac0e5d7f3bee6fbc9d786ee1b92414
2,426
cpp
C++
codes/CSES/CSES_2111.cpp
chessbot108/collection-of-chessbot-codes
08418213edef5b4ed818cc84224e3122267bbb48
[ "MIT" ]
2
2021-03-07T03:34:02.000Z
2021-03-09T01:22:21.000Z
codes/CSES/CSES_2111.cpp
chessbot108/collection-of-chessbot-codes
08418213edef5b4ed818cc84224e3122267bbb48
[ "MIT" ]
1
2021-03-27T15:01:23.000Z
2021-03-27T15:55:34.000Z
codes/CSES/CSES_2111.cpp
chessbot108/collection-of-chessbot-codes
08418213edef5b4ed818cc84224e3122267bbb48
[ "MIT" ]
1
2021-03-27T05:02:33.000Z
2021-03-27T05:02:33.000Z
//chtholly and emilia will carry me to cm #include <iostream> #include <cstdio> #include <cstring> #include <cstdlib> #include <string> #include <utility> #include <cassert> #include <algorithm> #include <vector> #include <random> #include <chrono> #include <queue> #include <set> #include <map> using namespace std; #d...
24.505051
66
0.5169
[ "vector" ]
485259e61823278367952d8d106ca74eb0a13f54
5,115
cc
C++
example/laser_file_test.cc
ibyte2011/LaserDB
326fa477c4cbee36f46706ecb3b4a48d3bdab057
[ "Apache-2.0" ]
26
2021-01-07T09:32:37.000Z
2022-02-17T04:00:03.000Z
example/laser_file_test.cc
imotai/LaserDB
16f02fe001751b26e4221f54f9d3e2ca8c1a0607
[ "Apache-2.0" ]
1
2021-09-01T09:16:53.000Z
2021-12-04T02:25:15.000Z
example/laser_file_test.cc
imotai/LaserDB
16f02fe001751b26e4221f54f9d3e2ca8c1a0607
[ "Apache-2.0" ]
10
2021-01-21T06:26:46.000Z
2022-02-08T02:41:23.000Z
#include <fstream> #include "folly/init/Init.h" #include "folly/Random.h" #include "service_router/http.h" #include "laser/lib/loader_source_data.h" #include "laser/lib/status.h" #include "laser/client/laser_client.h" #include "common/metrics/metrics.h" DEFINE_string(host, "127.0.0.1", "current service host address")...
35.520833
116
0.705767
[ "vector" ]
48679371dfa9bc6b8488a5468c54ae4a4ff4cc26
2,011
cpp
C++
main/count-element-occurrences/count-element-occurrences-extraspace.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/count-element-occurrences/count-element-occurrences-extraspace.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/count-element-occurrences/count-element-occurrences-extraspace.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
// A C++ program to print elements with count more than n/k // Modified from original geeksforgeeks.org boilerplate source code: // (a) Added comments. // (b) Line numbering unfortunately changed (due to added code and comments). // (c) Improved indentation for readability. // (d) Used vector instead of VLA for com...
27.547945
79
0.604674
[ "vector" ]
4869e9e644b58cf234cc8a61f666401b9fcd812d
2,511
cpp
C++
Merge_Sorted_Arrays.cpp
omkar342/hacktober
615a1aef427e64dc1b8b319eb558e6aae372c07a
[ "MIT" ]
null
null
null
Merge_Sorted_Arrays.cpp
omkar342/hacktober
615a1aef427e64dc1b8b319eb558e6aae372c07a
[ "MIT" ]
31
2021-10-01T13:33:11.000Z
2021-10-31T05:23:03.000Z
Merge_Sorted_Arrays.cpp
omkar342/hacktober
615a1aef427e64dc1b8b319eb558e6aae372c07a
[ "MIT" ]
12
2020-10-02T15:01:18.000Z
2021-10-31T05:23:13.000Z
// You are given two integer arrays nums1 and nums2, sorted in non-decreasing order, and two integers m and n, representing the number of elements in nums1 and nums2 respectively. // Merge nums1 and nums2 into a single array sorted in non-decreasing order. // The final sorted array should not be returned by the funct...
27.9
316
0.540024
[ "vector" ]
486f056e432697a4479d450544d60e7328d2b91c
1,215
cpp
C++
src/SystemManager/SystemManager.cpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
null
null
null
src/SystemManager/SystemManager.cpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
1
2016-03-13T10:55:21.000Z
2016-03-13T10:55:21.000Z
src/SystemManager/SystemManager.cpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
null
null
null
#include <SystemManager/SystemManager.hpp> namespace ant{ bool SystemManager::addSystem(std::shared_ptr<System> s){ auto result = systems.insert(std::make_pair(s->getName(),s)); return result.second; } std::shared_ptr<System> SystemManager::getSystem(const std::string& name){ return...
31.973684
87
0.628807
[ "render" ]
486fac945c13aa4a46ef04410fc852292890d78f
16,448
cpp
C++
src/tests/test_basics.cpp
ondra-novak/couchit
10af4464327dcc2aeb470fe2db7fbd1594ff1b0d
[ "MIT" ]
4
2017-03-20T22:14:10.000Z
2018-03-21T09:24:32.000Z
src/tests/test_basics.cpp
ondra-novak/couchit
10af4464327dcc2aeb470fe2db7fbd1594ff1b0d
[ "MIT" ]
null
null
null
src/tests/test_basics.cpp
ondra-novak/couchit
10af4464327dcc2aeb470fe2db7fbd1594ff1b0d
[ "MIT" ]
null
null
null
/* * test_basics.cpp * * Created on: 19. 3. 2016 * Author: ondra */ #include <iostream> #include <set> #include <vector> #include <thread> #include <chrono> #include <condition_variable> #include "../couchit/attachment.h" #include "../couchit/document.h" #include "../couchit/queryCache.h" #include "../couch...
25.421947
246
0.660323
[ "vector" ]
4871d7925d1d501e920e5cd7346b0e55b4fcea0e
1,405
cpp
C++
code/56.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
23
2020-03-30T05:44:56.000Z
2021-09-04T16:00:57.000Z
code/56.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
1
2020-05-10T15:04:05.000Z
2020-06-14T01:21:44.000Z
code/56.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
6
2020-03-30T05:45:04.000Z
2020-08-13T10:01:39.000Z
#include <bits/stdc++.h> #define INF 2000000000 using namespace std; typedef long long ll; int read(){ int f = 1, x = 0; char c = getchar(); while(c < '0' || c > '9'){if(c == '-') f = -f; c = getchar();} while(c >= '0' && c <= '9')x = x * 10 + c - '0', c = getchar(); return f * x; } struct Interval { int star...
25.089286
69
0.499644
[ "vector" ]
48725ea626d3679862ec3095d2413ebafc461231
175
hpp
C++
include/border_mesh.hpp
yd-14/kurve
ec85f48df231f0bcc4ec93e07c6455fa38db6db6
[ "MIT" ]
2
2020-10-18T22:57:33.000Z
2020-12-30T17:37:34.000Z
include/border_mesh.hpp
yd-14/kurve
ec85f48df231f0bcc4ec93e07c6455fa38db6db6
[ "MIT" ]
22
2020-12-17T07:25:49.000Z
2021-01-09T20:56:14.000Z
include/border_mesh.hpp
yd-14/kurve
ec85f48df231f0bcc4ec93e07c6455fa38db6db6
[ "MIT" ]
2
2021-01-05T17:45:10.000Z
2021-01-09T15:25:39.000Z
#ifndef BORDER_MESH_HPP #define BORDER_MESH_HPP #include "mesh.hpp" class BorderMesh: public Mesh { public: BorderMesh(); virtual void draw() override; }; #endif
14.583333
33
0.714286
[ "mesh" ]
4875954dfb6ca3152191e1fe1d983aa0865bb96d
1,735
cpp
C++
src/examples/using-with-cmake/ascent_render_example.cpp
srini009/ascent
70558059dc3fe514206781af6e48715d8934c37c
[ "BSD-3-Clause" ]
null
null
null
src/examples/using-with-cmake/ascent_render_example.cpp
srini009/ascent
70558059dc3fe514206781af6e48715d8934c37c
[ "BSD-3-Clause" ]
null
null
null
src/examples/using-with-cmake/ascent_render_example.cpp
srini009/ascent
70558059dc3fe514206781af6e48715d8934c37c
[ "BSD-3-Clause" ]
null
null
null
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// // Copyright (c) Lawrence Livermore National Security, LLC and other Ascent // Project developers. See top-level LICENSE AND COPYRIGHT files for dates and // other details. No copyright assignment is required to contribute to Ascent. //~~~~...
27.539683
79
0.468012
[ "mesh", "render" ]
4881eff1d332c1f780714fc891a1fc6c28cb98f6
513
cc
C++
zircon/system/ulib/fs/transaction/block_transaction_host.cc
zarelaky/fuchsia
858cc1914de722b13afc2aaaee8a6bd491cd8d9a
[ "BSD-3-Clause" ]
null
null
null
zircon/system/ulib/fs/transaction/block_transaction_host.cc
zarelaky/fuchsia
858cc1914de722b13afc2aaaee8a6bd491cd8d9a
[ "BSD-3-Clause" ]
null
null
null
zircon/system/ulib/fs/transaction/block_transaction_host.cc
zarelaky/fuchsia
858cc1914de722b13afc2aaaee8a6bd491cd8d9a
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020 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 <zircon/assert.h> #include <fs/transaction/block_transaction.h> namespace fs { zx_status_t TransactionHandler::RunRequests( const std::vect...
27
73
0.756335
[ "vector" ]
48846db830a81f14a530437f4b55e403ee059f98
4,042
cpp
C++
English/Source/abearcs.cpp
bugsbycarlin/ABearCs
3502b298d280df2948bfcc4954c5df71ed4162e3
[ "MIT" ]
null
null
null
English/Source/abearcs.cpp
bugsbycarlin/ABearCs
3502b298d280df2948bfcc4954c5df71ed4162e3
[ "MIT" ]
null
null
null
English/Source/abearcs.cpp
bugsbycarlin/ABearCs
3502b298d280df2948bfcc4954c5df71ed4162e3
[ "MIT" ]
null
null
null
/* BearsLoveHoney Matthew Carlin Copyright 2018 */ #include "abearcs.h" using namespace std; using namespace Honey; ABearCs::ABearCs() { } void ABearCs::loop() { logic(); render(); } void ABearCs::initialize() { screen_width = hot_config.getInt("layout", "screen_width"); screen_height = hot_config.ge...
30.621212
97
0.675656
[ "render" ]
48852a31ce24ea37e0461fb2312c18668ddbd4a1
6,588
cpp
C++
libOTe/Tools/LDPC/LdpcSampler.cpp
ldr709/softspoken-implementation
a10ef32b81befc0832bdceb1584fec07c983ecee
[ "Unlicense" ]
1
2021-07-15T03:08:47.000Z
2021-07-15T03:08:47.000Z
libOTe/Tools/LDPC/LdpcSampler.cpp
DaneilNo1/libOTe
8879e47d46672ccadce5bcb42ce6ded79c2cb70d
[ "Unlicense" ]
null
null
null
libOTe/Tools/LDPC/LdpcSampler.cpp
DaneilNo1/libOTe
8879e47d46672ccadce5bcb42ce6ded79c2cb70d
[ "Unlicense" ]
1
2022-02-07T03:24:53.000Z
2022-02-07T03:24:53.000Z
#include "libOTe/Tools/LDPC/LdpcSampler.h" #include "libOTe/Tools/LDPC/LdpcEncoder.h" #include <fstream> #include "libOTe/Tools/LDPC/Util.h" #include <thread> #ifdef ENABLE_ALGO994 extern "C" { #include "libOTe/Tools/LDPC/Algo994/data_defs.h" } #endif namespace osuCrypto { std::vector<i64> slopes_, ys_, lastYs_;...
26.780488
92
0.378264
[ "vector" ]
488d1c66d9b2288b9a3c2699ca7d84481e07b105
2,978
cpp
C++
search/climbing_leaderboard/main.cpp
exbibyte/hr
100514dfc2a1c9b5366c12ec0a75e889132a620e
[ "MIT" ]
null
null
null
search/climbing_leaderboard/main.cpp
exbibyte/hr
100514dfc2a1c9b5366c12ec0a75e889132a620e
[ "MIT" ]
null
null
null
search/climbing_leaderboard/main.cpp
exbibyte/hr
100514dfc2a1c9b5366c12ec0a75e889132a620e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <iostream> using namespace std; vector<string> split_string(string); // Complete the climbingLeaderboard function below. vector<int> climbingLeaderboard(vector<int> scores, vector<int> alice) { vector<int> rank(scores.size(),1); int r = 1; int v = scores[0]; for(int...
20.39726
115
0.558764
[ "vector" ]
48937f179afc00f3bae742fe88527a042ca3a88d
556
cpp
C++
3]. Competitive Programming/09]. HackerRank/1]. Practice/02]. C++/1]. Introduction/_09)_Variable_Sized_Arrays.cpp
MLinesCode/The-Complete-FAANG-Preparation
2d0c7e8940eb2a58caaf4e978e548c08dd1f9a52
[ "MIT" ]
6,969
2021-05-29T11:38:30.000Z
2022-03-31T19:31:49.000Z
3]. Competitive Programming/09]. HackerRank/1]. Practice/02]. C++/1]. Introduction/_09)_Variable_Sized_Arrays.cpp
MLinesCode/The-Complete-FAANG-Preparation
2d0c7e8940eb2a58caaf4e978e548c08dd1f9a52
[ "MIT" ]
75
2021-06-15T07:59:43.000Z
2022-02-22T14:21:52.000Z
3]. Competitive Programming/09]. HackerRank/1]. Practice/02]. C++/1]. Introduction/_09)_Variable_Sized_Arrays.cpp
MLinesCode/The-Complete-FAANG-Preparation
2d0c7e8940eb2a58caaf4e978e548c08dd1f9a52
[ "MIT" ]
1,524
2021-05-29T16:03:36.000Z
2022-03-31T17:46:13.000Z
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { vector<vector<int>> arr; int n,q; cin>>n>>q; for(int i=0; i<n ; i++){ int e; cin>>e; vector<int> temp; for(int j=0; j < e; j++){ ...
15.444444
33
0.447842
[ "vector" ]
489492af74cf2f9d696f3071a04969b92a9f9866
42,685
cpp
C++
gnucash/qofbook.cpp
tkerns1965/tk_gnucash3.3-python
a62577482230766840ea04de342dfdd39af1c69c
[ "MIT" ]
null
null
null
gnucash/qofbook.cpp
tkerns1965/tk_gnucash3.3-python
a62577482230766840ea04de342dfdd39af1c69c
[ "MIT" ]
null
null
null
gnucash/qofbook.cpp
tkerns1965/tk_gnucash3.3-python
a62577482230766840ea04de342dfdd39af1c69c
[ "MIT" ]
null
null
null
/********************************************************************\ * qofbook.c -- dataset access (set of books of entities) * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU...
31.455416
139
0.620546
[ "object" ]
48950e9dba1715363d22e95d56db5d1ce67d3cbf
22,888
cc
C++
project/c++/mri/src/dataservice/test/ecm_harness.cc
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/dataservice/test/ecm_harness.cc
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/dataservice/test/ecm_harness.cc
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
/**************************************************************** * ecm_querytest.cc * * Created on: Sep 19, 2013 * * Author: lim55392 * * Copyright (2013) JDS Uniphase. All rights reserved ...
49.327586
119
0.571216
[ "vector" ]
48a4ff2b310716ec367d5c0e7f59cb7c9390971b
383
cpp
C++
array/kadane.cpp
Nilesh-Das/mustdogfg
bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f
[ "MIT" ]
null
null
null
array/kadane.cpp
Nilesh-Das/mustdogfg
bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f
[ "MIT" ]
null
null
null
array/kadane.cpp
Nilesh-Das/mustdogfg
bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ll long long using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(0); int n = 5; vector<int> arr = {1,2,3,-2,5}; // kadane algo int curr = 0, best = INT_MIN; for(int i=0; i<n; i++) { curr = max(arr[i], curr + arr[i]); best = max(best, curr);...
17.409091
38
0.545692
[ "vector" ]
48b317e0ab28e47ee289f0c05e5acf64e8ea3eee
1,435
cpp
C++
3rd/byzauth/libbpka/test/test_clean_protoinit.cpp
ShoufuLuo/csaw
0d030d5ab93e61b62dff10b27a15c83fcfce3ff3
[ "Apache-2.0" ]
null
null
null
3rd/byzauth/libbpka/test/test_clean_protoinit.cpp
ShoufuLuo/csaw
0d030d5ab93e61b62dff10b27a15c83fcfce3ff3
[ "Apache-2.0" ]
null
null
null
3rd/byzauth/libbpka/test/test_clean_protoinit.cpp
ShoufuLuo/csaw
0d030d5ab93e61b62dff10b27a15c83fcfce3ff3
[ "Apache-2.0" ]
null
null
null
/* * test if the initialization and destruction is algrind clean */ #include "messageprocessor.h" #include "byzantineauthenticationadapter.h" #include <map> #include <set> #include <vector> #include <string> #include <iostream> #include <cstring> #include <sys/stat.h> #include <sys/types.h> #include <zlib.h> ...
23.916667
92
0.540767
[ "vector" ]
48cf1a482011a215916f33553a41ced594999c3e
4,711
hpp
C++
cpp/subprojects/common/include/common/thresholds/coverage_state.hpp
mrapp-ke/SyndromeLearner
ed18c282949bebbc8e1dd5d2ddfb0b224ee71293
[ "MIT" ]
null
null
null
cpp/subprojects/common/include/common/thresholds/coverage_state.hpp
mrapp-ke/SyndromeLearner
ed18c282949bebbc8e1dd5d2ddfb0b224ee71293
[ "MIT" ]
null
null
null
cpp/subprojects/common/include/common/thresholds/coverage_state.hpp
mrapp-ke/SyndromeLearner
ed18c282949bebbc8e1dd5d2ddfb0b224ee71293
[ "MIT" ]
1
2022-03-08T22:06:56.000Z
2022-03-08T22:06:56.000Z
/* * @author Michael Rapp (mrapp@ke.tu-darmstadt.de) */ #pragma once #include "common/data/types.hpp" #include <memory> // Forward declarations class IThresholdsSubset; class SinglePartition; class BiPartition; class AbstractPrediction; class Refinement; /** * Defines an interface for all classes that allow to k...
52.344444
120
0.616005
[ "object" ]
48d49f1ee7517cac34c520eb2f3d53771f633f36
6,038
cpp
C++
clients/cpp-qt5/generated/client/OAIPipelineFolderImpl.cpp
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
23
2017-08-01T12:25:26.000Z
2022-01-25T03:44:11.000Z
clients/cpp-qt5/generated/client/OAIPipelineFolderImpl.cpp
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
35
2017-06-14T03:28:15.000Z
2022-02-14T10:25:54.000Z
clients/cpp-qt5/generated/client/OAIPipelineFolderImpl.cpp
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
11
2017-08-31T19:00:20.000Z
2021-12-19T12:04:12.000Z
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * OpenAPI spec version: 1.1.1 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually...
26.482456
100
0.683339
[ "object" ]
48d8a552537a6775cad00cb51cb014e18190c006
11,449
cpp
C++
src/server/cmd_keys.cpp
jianqingdu/kedis
97ac63d8d96c5cda69c878ef20f04eb8efb4b396
[ "MIT" ]
94
2017-11-30T03:17:58.000Z
2022-03-29T13:43:07.000Z
src/server/cmd_keys.cpp
flike/kedis
97ac63d8d96c5cda69c878ef20f04eb8efb4b396
[ "MIT" ]
9
2017-12-11T03:12:31.000Z
2020-04-20T13:04:00.000Z
src/server/cmd_keys.cpp
jianqingdu/kedis
97ac63d8d96c5cda69c878ef20f04eb8efb4b396
[ "MIT" ]
19
2017-12-01T17:22:15.000Z
2022-01-10T01:39:39.000Z
// // cmd_keys.cpp // kedis // // Created by ziteng on 17/7/25. // Copyright © 2017年 mgj. All rights reserved. // #include "cmd_keys.h" #include "db_util.h" #include "encoding.h" void del_command(ClientConn* conn, const vector<string>& cmd_vec) { int del_cnt = 0; int db_idx = conn->GetDBIndex(); int c...
30.449468
121
0.576819
[ "vector" ]
48da8fdf1ea53a18de0a45c7b373e3c1fa570e3f
1,519
cpp
C++
kattis/cake.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
3
2020-06-25T21:04:02.000Z
2021-05-12T03:33:19.000Z
kattis/cake.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
null
null
null
kattis/cake.cpp
btjanaka/competitive-programming-solutions
e3df47c18451802b8521ebe61ca71ee348e5ced7
[ "MIT" ]
1
2020-06-25T21:04:06.000Z
2020-06-25T21:04:06.000Z
// Author: btjanaka (Bryon Tjanaka) // Problem: (Kattis) cake // Title: Cake // Link: https://open.kattis.com/problems/cake // Idea: Greedily divide the cake - it should always be possible to divide // without leftovers. // Difficulty: medium // Tags: greedy, implementation #include <bits/stdc++.h> #define GET(x) scanf...
25.316667
74
0.508887
[ "vector" ]
48e0356a80d889311bedc97d53ec5715eae9cda7
77,151
hpp
C++
include/lely/coapp/master.hpp
tshu/lely-core
fd0ceff2db726af6d2a766039a0b5a6d33d056e8
[ "Apache-2.0" ]
4
2020-12-27T11:31:57.000Z
2022-02-09T11:32:08.000Z
include/lely/coapp/master.hpp
tshu/lely-core
fd0ceff2db726af6d2a766039a0b5a6d33d056e8
[ "Apache-2.0" ]
null
null
null
include/lely/coapp/master.hpp
tshu/lely-core
fd0ceff2db726af6d2a766039a0b5a6d33d056e8
[ "Apache-2.0" ]
1
2022-01-03T01:41:59.000Z
2022-01-03T01:41:59.000Z
/**@file * This header file is part of the C++ CANopen application library; it contains * the CANopen master declarations. * * @copyright 2018-2021 Lely Industries N.V. * * @author J. S. Seldenthuis <jseldenthuis@lely.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use th...
35.834185
169
0.634327
[ "object" ]
48e1904c4b5e69d26fe7490f5d8d4bf6bd3658ab
8,863
cc
C++
src/Enclave/ecallSrc/ecallIndex/enclaveBase.cc
debe-sgx/debe
641f2b6473fec8ebea301c533d5aab563e53bcbb
[ "MIT" ]
null
null
null
src/Enclave/ecallSrc/ecallIndex/enclaveBase.cc
debe-sgx/debe
641f2b6473fec8ebea301c533d5aab563e53bcbb
[ "MIT" ]
null
null
null
src/Enclave/ecallSrc/ecallIndex/enclaveBase.cc
debe-sgx/debe
641f2b6473fec8ebea301c533d5aab563e53bcbb
[ "MIT" ]
null
null
null
/** * @file enclaveBase.cc * @author * @brief implement the interface of the base of enclave * @version 0.1 * @date 2020-12-28 * * @copyright Copyright (c) 2020 * */ #include "../../include/enclaveBase.h" /** * @brief Construct a new Enclave Base object * * @param maxRecvChunkNum the pointer to the o...
30.562069
105
0.699199
[ "object" ]
48e41cf1219157a62057b6b044bb27973fc1551a
2,174
cpp
C++
src/1d_test.cpp
joshia5/ayj-omega_h
8b65215013df29af066fa076261ba897d64a72c2
[ "BSD-2-Clause-FreeBSD" ]
44
2019-01-23T03:37:18.000Z
2021-08-24T02:20:29.000Z
src/1d_test.cpp
joshia5/ayj-omega_h
8b65215013df29af066fa076261ba897d64a72c2
[ "BSD-2-Clause-FreeBSD" ]
67
2019-01-29T15:35:42.000Z
2021-08-17T20:42:40.000Z
src/1d_test.cpp
joshia5/ayj-omega_h
8b65215013df29af066fa076261ba897d64a72c2
[ "BSD-2-Clause-FreeBSD" ]
29
2019-01-14T21:33:32.000Z
2021-08-10T11:35:24.000Z
#include <iostream> #include "Omega_h_adapt.hpp" #include "Omega_h_array_ops.hpp" #include "Omega_h_build.hpp" #include "Omega_h_class.hpp" #include "Omega_h_compare.hpp" #include "Omega_h_for.hpp" #include "Omega_h_shape.hpp" #include "Omega_h_timer.hpp" using namespace Omega_h; Reals logistic_function(Reals x, Rea...
28.986667
76
0.677553
[ "mesh" ]
48ed5a5ff9bfeb9e4df2fea65a901d4c477fb443
3,114
hpp
C++
source/reactive/sinks.hpp
graham-riches/led-matrix
31e570732a8acdcfb3ea35b21fb96286aa8cd22a
[ "MIT" ]
null
null
null
source/reactive/sinks.hpp
graham-riches/led-matrix
31e570732a8acdcfb3ea35b21fb96286aa8cd22a
[ "MIT" ]
null
null
null
source/reactive/sinks.hpp
graham-riches/led-matrix
31e570732a8acdcfb3ea35b21fb96286aa8cd22a
[ "MIT" ]
null
null
null
/** * \file io_sinks.hpp * \author Graham Riches (graham.riches@live.com) * \brief * \version 0.1 * \date 2021-01-29 * * @copyright Copyright (c) 2021 * */ #pragma once /********************************** Includes *******************************************/ #include <functional> #include <utility> /****...
28.309091
129
0.668915
[ "object" ]
48f04376866f9cc78acc769bec66c74f9286d560
4,007
cpp
C++
src/khorne/Skullgrinder.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
5
2019-02-01T01:41:19.000Z
2021-06-17T02:16:13.000Z
src/khorne/Skullgrinder.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
2
2020-01-14T16:57:42.000Z
2021-04-01T00:53:18.000Z
src/khorne/Skullgrinder.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
1
2019-03-02T20:03:51.000Z
2019-03-02T20:03:51.000Z
/* * Warhammer Age of Sigmar battle simulator. * * Copyright (C) 2019 by Rick Weyrauch - rpweyrauch@gmail.com * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include <khorne/Skullgrinder.h> #include <UnitFactory.h> #include <Board.h> #include "KhornePrivate.h" name...
35.149123
114
0.599701
[ "model" ]
f70362d2ebd7b97f04fd157bcf28d0ad8acdc93e
6,193
cpp
C++
ensemble.cpp
K-Josai/make_rdf
8773ac8a37dce23db932b71947ac5fa93ed09fda
[ "MIT" ]
null
null
null
ensemble.cpp
K-Josai/make_rdf
8773ac8a37dce23db932b71947ac5fa93ed09fda
[ "MIT" ]
null
null
null
ensemble.cpp
K-Josai/make_rdf
8773ac8a37dce23db932b71947ac5fa93ed09fda
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <array> #include <math.h> #include "consts.hpp" #include "ensemble.hpp" #include "MT.h" using namespace std; //コンストラクタ Ens::Ens(){ int i, ix, iy; div_t div_i; double sum_ux=0, sum_uy=0, r1, r2; init_genrand(1); for(i=0; i<NAtom; i++){ div_i = div(i, NInitCo...
20.304918
68
0.527693
[ "vector" ]
f738c32743fbd0f19b104d2433c523ed44667401
3,942
cpp
C++
COGengine/src/Math/PathFinder.cpp
dodoknight/CogEngine
fda1193c2d1258ba9780e1025933d33a8dce2284
[ "MIT" ]
3
2016-06-01T10:14:00.000Z
2016-10-11T15:53:45.000Z
COGengine/src/Math/PathFinder.cpp
dormantor/ofxCogEngine
fda1193c2d1258ba9780e1025933d33a8dce2284
[ "MIT" ]
null
null
null
COGengine/src/Math/PathFinder.cpp
dormantor/ofxCogEngine
fda1193c2d1258ba9780e1025933d33a8dce2284
[ "MIT" ]
1
2020-08-15T17:01:00.000Z
2020-08-15T17:01:00.000Z
#include "PathFinder.h" #include "ofAppBaseWindow.h" namespace Cog { void PathFinder::CalcPathFromSteps(Vec2i start, Vec2i goal, unordered_map<Vec2i, Vec2i>& steps, vector<Vec2i>& output) const { Vec2i current = goal; output.push_back(current); while (current != start) { current = steps[current]; output....
27.566434
127
0.694318
[ "vector" ]
f73cbaf6b79501548afb7c488cd15261da242531
3,590
cpp
C++
src/Model.cpp
ClaudeTO80/Opti_plus_plus
772bdce297f2b52455ba483b747890362d97beb4
[ "MIT" ]
4
2020-02-03T17:05:24.000Z
2022-01-25T23:02:40.000Z
src/Model.cpp
ClaudeTO80/Opti_plus_plus
772bdce297f2b52455ba483b747890362d97beb4
[ "MIT" ]
null
null
null
src/Model.cpp
ClaudeTO80/Opti_plus_plus
772bdce297f2b52455ba483b747890362d97beb4
[ "MIT" ]
null
null
null
#include "Model.h" #include "AnalysisConstraints.h" #include "RobustDesign.h" using namespace std; using namespace AnalysisGenerator; Model::Model() {}; Model::Model(std::shared_ptr<Generator>& generator) : generator_(generator) { auto temp = generator_->getBlock(); setBlock(temp); return; } void Model::setGene...
25.827338
111
0.654596
[ "vector", "model" ]
f754fe184acfe6b61e1f63a154d2599110ce462b
5,369
cpp
C++
SpaceBomber/Linux/graph/Menu.cpp
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
40
2018-01-28T14:23:27.000Z
2022-03-05T15:57:47.000Z
SpaceBomber/Linux/graph/Menu.cpp
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
1
2021-10-05T09:03:51.000Z
2021-10-05T09:03:51.000Z
SpaceBomber/Linux/graph/Menu.cpp
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
73
2019-01-07T18:47:00.000Z
2022-03-31T08:48:38.000Z
#include "irrKlang-64bit-1.5.0/include/irrKlang.h" #include "irrlicht.hpp" #include "Menu.hpp" #include "MenuEventReceiver.hpp" Menu::Menu(irr::IrrlichtDevice* device) { this->nbHuman = 2; this->nbIA = 0; this->mode = DEFAULT; this->menuDevice = device; this->button = device->getVideoDriver()->getTexture("....
26.579208
99
0.65189
[ "vector" ]
f7559e965d0a39d94934c28dccbb614c5b10d438
13,235
cpp
C++
src/sensor_osus_manager_class.cpp
USArmyResearchLab/Fusion3D
98b79ccfcbfd444a924f65c321482b540382758d
[ "Apache-2.0" ]
4
2021-09-08T02:07:22.000Z
2022-03-30T02:48:56.000Z
src/sensor_osus_manager_class.cpp
USArmyResearchLab/Fusion3D
98b79ccfcbfd444a924f65c321482b540382758d
[ "Apache-2.0" ]
null
null
null
src/sensor_osus_manager_class.cpp
USArmyResearchLab/Fusion3D
98b79ccfcbfd444a924f65c321482b540382758d
[ "Apache-2.0" ]
1
2021-10-11T02:53:53.000Z
2021-10-11T02:53:53.000Z
#include "internals.h" // ********************************************** /// Constructor. // ********************************************** sensor_osus_manager_class::sensor_osus_manager_class() :atrlab_manager_class(100) // Never should use this max value { strcpy(class_type, "sensorOSUS"); n_data = ...
36.161202
180
0.597053
[ "vector" ]
f75759f2a17df2ba9632dd742ea57bec4659cb43
344
cpp
C++
Algorithms/0946.Validate_Stack_Sequences.cpp
metehkaya/LeetCode
52f4a1497758c6f996d515ced151e8783ae4d4d2
[ "MIT" ]
2
2020-07-20T06:40:22.000Z
2021-11-20T01:23:26.000Z
Problems/LeetCode/Problems/0946.Validate_Stack_Sequences.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
Problems/LeetCode/Problems/0946.Validate_Stack_Sequences.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
class Solution { public: bool validateStackSequences(vector<int>& a, vector<int>& b) { stack<int> st; int n = a.size(); for( int i = 0 , j = 0 ; i < n ; i++ ) { st.push(a[i]); while(!st.empty() && st.top() == b[j]) st.pop() , j++; } ret...
26.461538
65
0.415698
[ "vector" ]
f7594df9a9ecdcf5ca7bb980d6a207e63c1397cb
1,106
cpp
C++
src/plugins/cgal/lua/module.cpp
martin-pr/possumwood
0ee3e0fe13ef27cf14795a79fb497e4d700bef63
[ "MIT" ]
232
2017-10-09T11:45:28.000Z
2022-03-28T11:14:46.000Z
src/plugins/cgal/lua/module.cpp
martin-pr/possumwood
0ee3e0fe13ef27cf14795a79fb497e4d700bef63
[ "MIT" ]
26
2019-01-20T21:38:25.000Z
2021-10-16T03:57:17.000Z
src/plugins/cgal/lua/module.cpp
martin-pr/possumwood
0ee3e0fe13ef27cf14795a79fb497e4d700bef63
[ "MIT" ]
33
2017-10-26T19:20:38.000Z
2022-03-16T11:21:43.000Z
#include "module.h" #include "polyhedron.h" namespace possumwood { namespace cgal { std::string Module::name() { return "cgal"; } void Module::init(possumwood::lua::State& state) { using namespace luabind; module(state, name().c_str())[class_<PolyhedronWrapper::Face>("face") ....
36.866667
110
0.487342
[ "mesh" ]
f75d498797583fe2e4f78f2ac157c186303a22ac
3,024
cpp
C++
lib/tree/segment_tree.cpp
ta7uw/atcoder-cpp
30c30ec3d5aab4f60a8447298316b7c36a1c32da
[ "MIT" ]
1
2021-01-22T01:54:34.000Z
2021-01-22T01:54:34.000Z
lib/tree/segment_tree.cpp
ta7uw/atcoder-cpp
30c30ec3d5aab4f60a8447298316b7c36a1c32da
[ "MIT" ]
13
2020-01-04T10:42:47.000Z
2020-09-22T06:28:35.000Z
lib/tree/segment_tree.cpp
ta7uw/atcoder-cpp
30c30ec3d5aab4f60a8447298316b7c36a1c32da
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; using P = pair<ll, ll>; using Graph = vector<vector<ll>>; #define rep(i, n) for(ll i=0;i<(ll)(n);i++) #define rep2(i, m, n) for(ll i=m;i<(ll)(n);i++) #define rrep(i, n, m) for(ll i=n;i>=(ll)(m);i--) const int dx[4] = {1, 0, -1, 0}; const int dy[4] = ...
24.786885
120
0.457011
[ "vector" ]
f767bf214836e157bc76d171d50da4beb31cce62
2,964
cpp
C++
src/dropbox/files/FilesSaveCopyReferenceError.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
17
2016-12-03T09:12:29.000Z
2020-06-20T22:08:44.000Z
src/dropbox/files/FilesSaveCopyReferenceError.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
8
2017-01-05T17:50:16.000Z
2021-08-06T18:56:29.000Z
src/dropbox/files/FilesSaveCopyReferenceError.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
8
2017-09-13T17:28:40.000Z
2020-07-27T00:41:44.000Z
/********************************************************** DO NOT EDIT This file was generated from stone specification "files" Part of "Ardi - the organizer" project. osoft4ardi@gmail.com www.prokarpaty.net ***********************************************************/ #include "dropbox/files/FilesSaveCopyReferen...
28.776699
117
0.620445
[ "object" ]
f772011241f079148c400d80b9d29ab68298e949
64,976
cc
C++
project4/mariadb/server/sql/filesort.cc
jiunbae/ITE4065
3b9fcf9317e93ca7c829f1438b85f0f5ea2885db
[ "MIT" ]
11
2017-10-28T08:41:08.000Z
2021-06-24T07:24:21.000Z
project4/mariadb/server/sql/filesort.cc
jiunbae/ITE4065
3b9fcf9317e93ca7c829f1438b85f0f5ea2885db
[ "MIT" ]
null
null
null
project4/mariadb/server/sql/filesort.cc
jiunbae/ITE4065
3b9fcf9317e93ca7c829f1438b85f0f5ea2885db
[ "MIT" ]
4
2017-09-07T09:33:26.000Z
2021-02-19T07:45:08.000Z
/* Copyright (c) 2000, 2015, Oracle and/or its affiliates. Copyright (c) 2009, 2015, MariaDB 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; version 2 of the License. This program is ...
29.710105
84
0.608886
[ "object" ]
f772ea1b3a927f946dfc9d8a691b0a678d984392
31,464
cpp
C++
generation-module/main.cpp
Sunssshine/VirtualCameraEmulator
97e2af5ab179f800d3ea43f1b7590a56cc3da38f
[ "MIT" ]
null
null
null
generation-module/main.cpp
Sunssshine/VirtualCameraEmulator
97e2af5ab179f800d3ea43f1b7590a56cc3da38f
[ "MIT" ]
null
null
null
generation-module/main.cpp
Sunssshine/VirtualCameraEmulator
97e2af5ab179f800d3ea43f1b7590a56cc3da38f
[ "MIT" ]
null
null
null
#include <Windows.h> #include <iostream> #include "CameraDriver.h" #include "setup_config.h" #include "Color.h" #include "Shader.h" #include "Cylinder.h" #include "camera_definition.h" #include "Paraboloid.h" #include "CurvedBlade.h" extern "C" { #include <libavcodec/avcodec.h> #include <libavutil/imgutils.h> #...
29.711048
206
0.67261
[ "render", "object", "model", "transform", "3d" ]
f7757e38b01512537c7f6ce130c615f91cd622a4
405
cpp
C++
src/kazen/accel.cpp
ZhongLingXiao/tinykazen
34c8e4a676ea1b4e59b6ee990e2ab4645fc860a9
[ "MulanPSL-1.0" ]
1
2021-08-16T12:48:37.000Z
2021-08-16T12:48:37.000Z
src/kazen/accel.cpp
ZhongLingXiao/tinykazen
34c8e4a676ea1b4e59b6ee990e2ab4645fc860a9
[ "MulanPSL-1.0" ]
null
null
null
src/kazen/accel.cpp
ZhongLingXiao/tinykazen
34c8e4a676ea1b4e59b6ee990e2ab4645fc860a9
[ "MulanPSL-1.0" ]
null
null
null
#include <kazen/accel.h> NAMESPACE_BEGIN(kazen) void Accel::addMesh(Mesh *mesh) { } void Accel::build() { /* Nothing to do here for now */ } bool Accel::rayIntersect(const Ray3f &ray_, Intersection &its, bool shadowRay) const { bool foundIntersection = false; // Was an intersection found so far? /* ...
16.875
86
0.693827
[ "mesh" ]
f77608e1a058dfcf1bc2e395b22c4539180de0b2
3,040
cc
C++
test/test_execution_engine_cache.cc
apaszke/TensorComprehensions
378d61061a7c5c14e4c4cc117ec9b1b4e4f91a6c
[ "Apache-2.0" ]
1
2019-02-13T06:31:57.000Z
2019-02-13T06:31:57.000Z
test/test_execution_engine_cache.cc
apaszke/TensorComprehensions
378d61061a7c5c14e4c4cc117ec9b1b4e4f91a6c
[ "Apache-2.0" ]
null
null
null
test/test_execution_engine_cache.cc
apaszke/TensorComprehensions
378d61061a7c5c14e4c4cc117ec9b1b4e4f91a6c
[ "Apache-2.0" ]
1
2018-10-13T19:19:11.000Z
2018-10-13T19:19:11.000Z
/** * Copyright (c) 2017-present, Facebook, 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 ...
34.157303
75
0.684868
[ "vector" ]
f7781990a7113bc5384bdca1de28cc85ce46cdec
32,723
cxx
C++
ITS/AliITSsimulationSPDgeom.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
ITS/AliITSsimulationSPDgeom.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
ITS/AliITSsimulationSPDgeom.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
34.086458
88
0.58928
[ "geometry", "model" ]
f77aa4165f2991a53e24064a0e34651227936a12
721
hpp
C++
src/ttauri/widgets/row_column_delegate.hpp
RustWorks/ttauri
4b093eb16465091d01d80159e23fd26e5d4e4c03
[ "BSL-1.0" ]
279
2021-02-17T09:53:40.000Z
2022-03-22T04:08:40.000Z
src/ttauri/widgets/row_column_delegate.hpp
RustWorks/ttauri
4b093eb16465091d01d80159e23fd26e5d4e4c03
[ "BSL-1.0" ]
269
2021-02-17T12:53:15.000Z
2022-03-29T22:10:49.000Z
src/ttauri/widgets/row_column_delegate.hpp
sthagen/ttauri
772f4e55c007e0bc199a07d86ef4e2d4d46af139
[ "BSL-1.0" ]
25
2021-02-17T17:14:10.000Z
2022-03-16T04:13:00.000Z
// Copyright Take Vos 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) #pragma once #include "../geometry/axis.hpp" #include <memory> #include <functional> namespace tt::inline v1 { template<axis> class row...
26.703704
91
0.757282
[ "geometry" ]
f7861cfc5b14b11558f0a3d96f4056c8e66e5b74
966
cpp
C++
Codechef/JAN19B/fancy.cpp
Binary-bug/CP
f9f356d36bd252c71ee3ed2d0585cc372f2baf5e
[ "MIT" ]
null
null
null
Codechef/JAN19B/fancy.cpp
Binary-bug/CP
f9f356d36bd252c71ee3ed2d0585cc372f2baf5e
[ "MIT" ]
null
null
null
Codechef/JAN19B/fancy.cpp
Binary-bug/CP
f9f356d36bd252c71ee3ed2d0585cc372f2baf5e
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; bool space(char c){ return ::isspace(c); } bool not_space(char c){ return ! ::isspace(c); } vector<string> split(string& str){ typedef string::iterator iter; vector<string> ret; iter i = str.begin(); while(i!=st...
18.226415
131
0.595238
[ "vector" ]