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
ef8288d270254917a45a48b713c22233ee9924eb
1,021
cpp
C++
codeforces/1041f.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
codeforces/1041f.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
codeforces/1041f.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // note, A,B are int. i.e. period is int. // key is optim has some period 2^lg. by parity and divide. omit,check editorial proof. void solve() { int n, _y1; cin >> n >> _y1; vector<int> a(n); for (auto& x: a) { cin >> x; } int m, _y2; ...
20.42
87
0.44858
[ "vector" ]
ef841e320a8088759a3385456463b71e65ea9f94
29,614
cpp
C++
h16/h16/h16.cpp
blueshark42/h16_cpp
0cc39415946cb9c7990a8572a4b8ce2522fed836
[ "MIT" ]
null
null
null
h16/h16/h16.cpp
blueshark42/h16_cpp
0cc39415946cb9c7990a8572a4b8ce2522fed836
[ "MIT" ]
null
null
null
h16/h16/h16.cpp
blueshark42/h16_cpp
0cc39415946cb9c7990a8572a4b8ce2522fed836
[ "MIT" ]
null
null
null
#define _USE_MATH_DEFINES #include <iostream> #include <vector> #include <string> #include <fstream> #include <random> #include "time.h" #include "math.h" #include <array> // Jednoduche zadania na vystupy void Vypis_1(); void Vypis_2(); void Vypis_3(); void Udaje_ziak(); void Automobil(); void Trieda...
23.099844
139
0.571453
[ "vector" ]
ef862977789a9520627ba61650d3183afa679dd4
430
cpp
C++
LeetCode/Longest Continuous Increasing Subsequence/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
LeetCode/Longest Continuous Increasing Subsequence/main.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
null
null
null
LeetCode/Longest Continuous Increasing Subsequence/main.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
2
2021-01-23T14:35:48.000Z
2021-03-15T05:04:24.000Z
auto speedup = []() { ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); return nullptr; }(); class Solution { public: int findLengthOfLCIS(vector<int>& nums) { int ans = 0, i = 0, n = nums.size(); for (int j = 0; j < n; j++) { if (j > 0 && nums[j - 1] >= num...
21.5
47
0.446512
[ "vector" ]
ef88a74167dc00b249c17f20772efa59ae5fb035
200
hpp
C++
contracts/myeoslib/vector.hpp
bithacks-tech/myeosio
577f6830e72fa764497c20a6b9200ba02b80ab2e
[ "MIT" ]
null
null
null
contracts/myeoslib/vector.hpp
bithacks-tech/myeosio
577f6830e72fa764497c20a6b9200ba02b80ab2e
[ "MIT" ]
null
null
null
contracts/myeoslib/vector.hpp
bithacks-tech/myeosio
577f6830e72fa764497c20a6b9200ba02b80ab2e
[ "MIT" ]
null
null
null
#pragma once #include <myeoslib/memory.hpp> #include <myeoslib/stdlib.hpp> #include <vector> namespace myeosio { using std::vector; typedef std::vector<char> bytes; } /// namespace myeosio
15.384615
35
0.71
[ "vector" ]
ef8a05f4ebcfccf1b446474c1bbaef614412d27b
4,758
hpp
C++
include/System/Security/Cryptography/X509Certificates/X509ChainStatus.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Security/Cryptography/X509Certificates/X509ChainStatus.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Security/Cryptography/X509Certificates/X509ChainStatus.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.ValueType #include "System/V...
58.740741
244
0.762085
[ "vector" ]
ef8a25ede57551b964ff2464bd2a79245079e224
918
cpp
C++
examples/limited_concurrency.cpp
drobison00/taskflow
9415c3b68fd050889f57412394933e94b74755e0
[ "MIT" ]
3,337
2020-06-02T02:04:17.000Z
2022-03-31T19:12:03.000Z
examples/limited_concurrency.cpp
drobison00/taskflow
9415c3b68fd050889f57412394933e94b74755e0
[ "MIT" ]
235
2020-06-02T01:26:49.000Z
2022-03-31T01:35:31.000Z
examples/limited_concurrency.cpp
drobison00/taskflow
9415c3b68fd050889f57412394933e94b74755e0
[ "MIT" ]
414
2020-06-02T16:25:23.000Z
2022-03-30T09:17:19.000Z
// A simple example with a semaphore constraint that only one task can // execute at a time. #include <taskflow/taskflow.hpp> void sl() { std::this_thread::sleep_for(std::chrono::seconds(1)); } int main() { tf::Executor executor(4); tf::Taskflow taskflow; // define a critical region of 1 worker tf::Sem...
24.157895
70
0.592593
[ "vector" ]
ef8c16a8c4f13d9222b7bd700bde1165dac51590
3,919
cpp
C++
widgets/form_widgets/moddateformwidget.cpp
DatabasesWorks/passiflora-symphytum-configurable-fields
6128d0391fe33438250efad4398d65c5982b005b
[ "BSD-2-Clause" ]
374
2015-01-03T17:25:16.000Z
2022-03-04T07:58:07.000Z
widgets/form_widgets/moddateformwidget.cpp
DatabasesWorks/symphytum-configurable-fields
187b72e9ff758bd207a415cb3fc9e2d97889996c
[ "BSD-2-Clause" ]
133
2015-01-03T17:28:29.000Z
2020-09-22T11:44:14.000Z
widgets/form_widgets/moddateformwidget.cpp
DatabasesWorks/symphytum-configurable-fields
187b72e9ff758bd207a415cb3fc9e2d97889996c
[ "BSD-2-Clause" ]
78
2015-01-19T13:26:07.000Z
2022-03-21T00:02:55.000Z
/* * Copyright (c) 2012 Giorgio Wicklein <giowckln@gmail.com> */ //----------------------------------------------------------------------------- // Hearders //----------------------------------------------------------------------------- #include "moddateformwidget.h" #include "../../utils/platformcolorservice.h" #...
27.215278
79
0.540189
[ "solid" ]
ef8effcfe496de142d9ca699fc07b45b46054d71
652
cpp
C++
Relative atomic mass/2016.11.23.7.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
Relative atomic mass/2016.11.23.7.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
Relative atomic mass/2016.11.23.7.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<cmath> #include<vector> #include<map> #include<set> #include<queue> #include<stack> #include<algorithm> using namespace std; int main(){ char s[1000]; int n; scanf("%d",&n); int i,j; int ans; while(n--){ sc...
15.52381
32
0.424847
[ "vector" ]
ef96fab0d7a65ed958592be802c395a878a3eb58
2,786
hpp
C++
utils/stream/items.hpp
hardened-steel/lua
b468699f2d44c18394470eece597afb6c8ca53e5
[ "MIT" ]
null
null
null
utils/stream/items.hpp
hardened-steel/lua
b468699f2d44c18394470eece597afb6c8ca53e5
[ "MIT" ]
null
null
null
utils/stream/items.hpp
hardened-steel/lua
b468699f2d44c18394470eece597afb6c8ca53e5
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <vector> #include <optional> #include <utils/channel/ichannel.hpp> #include <utils/buffer.hpp> namespace utils { template<class IChannel> class items { using Buffer = typename IChannel::value_type; struct Record { Buffer buffer; std::shared_ptr<Record> next; pub...
25.099099
88
0.638909
[ "vector" ]
aab80e92800bc40fbd252899bf292865b8124ba8
22,041
cpp
C++
src/Communications/LmcpObjectNetworkZeroMqZyreBridge.cpp
sahabi/OpenUxAS
aba0ffca2d7940b5331dd1dd30c3cffee0b229cf
[ "NASA-1.3" ]
1
2018-03-18T13:41:59.000Z
2018-03-18T13:41:59.000Z
src/Communications/LmcpObjectNetworkZeroMqZyreBridge.cpp
cmcghan/OpenUxAS_old
7982e32432b36e7877fe27bd4024e61fe316a5ea
[ "NASA-1.3" ]
null
null
null
src/Communications/LmcpObjectNetworkZeroMqZyreBridge.cpp
cmcghan/OpenUxAS_old
7982e32432b36e7877fe27bd4024e61fe316a5ea
[ "NASA-1.3" ]
null
null
null
// =============================================================================== // Authors: AFRL/RQQA // Organization: Air Force Research Laboratory, Aerospace Systems Directorate, Power and Control Division // // Copyright (c) 2017 Government of the United State of America, as represented by // the Secretary of th...
50.903002
362
0.685767
[ "object", "vector" ]
aac1973f6c1fe6eaa485fc868e636faaa494657b
33,099
cpp
C++
hihope_neptune-oh_hid/00_src/v0.1/test/xts/acts/global_lite/datatime_posix/src/UnitDateTimeTest.cpp
dawmlight/vendor_oh_fun
bc9fb50920f06cd4c27399f60076f5793043c77d
[ "Apache-2.0" ]
1
2022-02-15T08:51:55.000Z
2022-02-15T08:51:55.000Z
hihope_neptune-oh_hid/00_src/v0.3/test/xts/acts/global_lite/datatime_posix/src/UnitDateTimeTest.cpp
dawmlight/vendor_oh_fun
bc9fb50920f06cd4c27399f60076f5793043c77d
[ "Apache-2.0" ]
null
null
null
hihope_neptune-oh_hid/00_src/v0.3/test/xts/acts/global_lite/datatime_posix/src/UnitDateTimeTest.cpp
dawmlight/vendor_oh_fun
bc9fb50920f06cd4c27399f60076f5793043c77d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * 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 applica...
45.716851
118
0.724614
[ "vector" ]
aac2a97415003970916fdce3ff311c92e5030219
1,170
cpp
C++
src/string-match/01.09-string-rotation-lcci.cpp
hewei-nju/LeetCode
39aafffa9cc260056435ef4611e305f402b32223
[ "MIT" ]
null
null
null
src/string-match/01.09-string-rotation-lcci.cpp
hewei-nju/LeetCode
39aafffa9cc260056435ef4611e305f402b32223
[ "MIT" ]
null
null
null
src/string-match/01.09-string-rotation-lcci.cpp
hewei-nju/LeetCode
39aafffa9cc260056435ef4611e305f402b32223
[ "MIT" ]
null
null
null
class Solution { public: // 思路:这不直接两个字符串拼接一次,然后KMP查一下就好了嘛?有手就行? // 不过我想偷懒使用find! // 算了,还是码一遍KMP吧! bool kmp(const string& a, const string& b) { // 面向测试用例! if (a == b) return true; // 注意这里稍微修改一丢丢 if (b.size() != a.size() / 2) return false; ...
26
85
0.357265
[ "vector" ]
aac60d30554564f945b395d483894ed8ed2ddd5e
2,447
cpp
C++
main.cpp
tackOlab/image_io
165bb55a3918212c576f59cdd0d10a6c655d18d3
[ "MIT" ]
null
null
null
main.cpp
tackOlab/image_io
165bb55a3918212c576f59cdd0d10a6c655d18d3
[ "MIT" ]
null
null
null
main.cpp
tackOlab/image_io
165bb55a3918212c576f59cdd0d10a6c655d18d3
[ "MIT" ]
null
null
null
#include <chrono> #include <cstdio> #include <string> #if defined(USE_OPENCV) #include <opencv2/highgui.hpp> #endif #include "image_io.hpp" int main(int argc, char *argv[]) { auto start = std::chrono::high_resolution_clock::now(); std::vector<std::string> fnames; for (int i = 1; i < argc; ++i) { fnames.pus...
38.84127
96
0.553739
[ "vector" ]
aaca7dfb08f01b0e3363f8de5c783d0e7ebe744c
7,420
cpp
C++
src/game.cpp
kdt111/RaylibSnake
592fe21475a8c6a5106530006ab482fffa6f7fad
[ "Zlib" ]
null
null
null
src/game.cpp
kdt111/RaylibSnake
592fe21475a8c6a5106530006ab482fffa6f7fad
[ "Zlib" ]
null
null
null
src/game.cpp
kdt111/RaylibSnake
592fe21475a8c6a5106530006ab482fffa6f7fad
[ "Zlib" ]
null
null
null
#include <math.h> #include <raylib.h> #include "engine.h" //Main game namespace Game { // Snake fragment, they will be represnted as a one-way linked-list struct SnakePiece { Vector2 position; //Current position of this fragment SnakePiece* prev; //Pointer to the next piece of the snake SnakePiece(const Vec...
28.648649
147
0.685445
[ "vector" ]
aacaa3b5b8f83e608ee62db9f7aba92446ee506f
3,397
cpp
C++
code archive/USACO/2018dec-platinum3.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
4
2018-04-08T08:07:58.000Z
2021-06-07T14:55:24.000Z
code archive/USACO/2018dec-platinum3.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
null
null
null
code archive/USACO/2018dec-platinum3.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
1
2018-10-29T12:37:25.000Z
2018-10-29T12:37:25.000Z
//{ #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef double lf; typedef pair<ll,ll> ii; #define REP(i,n) for(ll i=0;i<n;i++) #define REP1(i,n) for(ll i=1;i<=n;i++) #define FILL(i,n) memset(i,n,sizeof i) #define X first #define Y second #define SZ(_a) (int)_a.size() #define ALL(_a) _a.begin(),_...
23.755245
129
0.527819
[ "vector" ]
aaceb34d1fd147f270313e445197a2b89ce808fd
8,138
hh
C++
src/meshing/GeniusLoader.hh
kwisniew/devsim
3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138
[ "Apache-2.0" ]
null
null
null
src/meshing/GeniusLoader.hh
kwisniew/devsim
3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138
[ "Apache-2.0" ]
null
null
null
src/meshing/GeniusLoader.hh
kwisniew/devsim
3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138
[ "Apache-2.0" ]
null
null
null
/*** DEVSIM Copyright 2013 Devsim LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
28.256944
157
0.629393
[ "mesh", "vector" ]
aad632d7013bc3c2ac6704adf43feea8cd8569a9
3,413
cpp
C++
archsim/src/blockjit/block-compiler/lowering/x86/vector/LowerVMul.cpp
Linestro/Gensim_Y
031b74234a92622cf2d2d2ebc2d5ba03ca28ecf8
[ "MIT" ]
10
2020-07-14T22:09:30.000Z
2022-01-11T09:57:52.000Z
archsim/src/blockjit/block-compiler/lowering/x86/vector/LowerVMul.cpp
Linestro/Gensim_Y
031b74234a92622cf2d2d2ebc2d5ba03ca28ecf8
[ "MIT" ]
6
2020-07-09T12:01:57.000Z
2021-04-27T10:23:58.000Z
archsim/src/blockjit/block-compiler/lowering/x86/vector/LowerVMul.cpp
Linestro/Gensim_Y
031b74234a92622cf2d2d2ebc2d5ba03ca28ecf8
[ "MIT" ]
10
2020-07-29T17:05:26.000Z
2021-12-04T14:57:15.000Z
/* This file is Copyright University of Edinburgh 2018. For license details, see LICENSE. */ #include "blockjit/block-compiler/lowering/x86/X86LoweringContext.h" #include "blockjit/block-compiler/lowering/x86/X86Lowerers.h" #include "blockjit/block-compiler/block-compiler.h" #include "blockjit/translation-context.h" ...
35.185567
148
0.732493
[ "vector" ]
aadf6e77d134ce4130e39ecacc3f43cb3feedd8e
43,718
cpp
C++
src/gausskernel/runtime/executor/nodeSubplan.cpp
opengauss-mirror/openGauss-graph
6beb138fd00abdbfddc999919f90371522118008
[ "MulanPSL-1.0" ]
1
2021-11-05T10:14:39.000Z
2021-11-05T10:14:39.000Z
src/gausskernel/runtime/executor/nodeSubplan.cpp
opengauss-mirror/openGauss-graph
6beb138fd00abdbfddc999919f90371522118008
[ "MulanPSL-1.0" ]
null
null
null
src/gausskernel/runtime/executor/nodeSubplan.cpp
opengauss-mirror/openGauss-graph
6beb138fd00abdbfddc999919f90371522118008
[ "MulanPSL-1.0" ]
null
null
null
/* ------------------------------------------------------------------------- * * nodeSubplan.cpp * routines to support subselects * * Portions Copyright (c) 2020 Huawei Technologies Co.,Ltd. * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the Un...
38.825933
119
0.628551
[ "vector" ]
aae3cff484bc07c57fcaea0955fb752c7394f1f1
13,963
cpp
C++
src/opencl/level1/scan/Scan.cpp
ashwinma/mpiacc-contention-tests
6246ad9b177095220aa9cea5c85def7effd78222
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
src/opencl/level1/scan/Scan.cpp
ashwinma/mpiacc-contention-tests
6246ad9b177095220aa9cea5c85def7effd78222
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
src/opencl/level1/scan/Scan.cpp
ashwinma/mpiacc-contention-tests
6246ad9b177095220aa9cea5c85def7effd78222
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
#include <math.h> #include <stdlib.h> #include <string.h> #include <iostream> #include <fstream> #include <vector> #include "OpenCLDeviceInfo.h" #include "Event.h" #include "OptionParser.h" #include "ResultDatabase.h" #include "support.h" #include "Timer.h" using namespace std; template <class T> void runTest(const...
33.484412
79
0.592709
[ "vector" ]
aae434117019e3b812c47a551226d5a5a0ad5f44
10,987
hpp
C++
Labs/Puppeteer/src/glm/core/type.hpp
jadnohra/jad-pre-2015-dabblings
368cbd39c6371b3e48b0c67d9a83fc20eee41346
[ "MIT" ]
null
null
null
Labs/Puppeteer/src/glm/core/type.hpp
jadnohra/jad-pre-2015-dabblings
368cbd39c6371b3e48b0c67d9a83fc20eee41346
[ "MIT" ]
null
null
null
Labs/Puppeteer/src/glm/core/type.hpp
jadnohra/jad-pre-2015-dabblings
368cbd39c6371b3e48b0c67d9a83fc20eee41346
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////////////////////////// // OpenGL Mathematics Copyright (c) 2005 - 2010 G-Truc Creation (www.g-truc.net) /////////////////////////////////////////////////////////////////////////////////////////////////// // Created : 2008-01-08 // Updated ...
38.68662
100
0.702194
[ "vector" ]
aae46b6ed4a9654c382783e868c322516388ae23
8,910
cpp
C++
src/vg_set.cpp
6br/vg
b28c18733d852a867a4899227a58ecb927cf205a
[ "BSL-1.0" ]
null
null
null
src/vg_set.cpp
6br/vg
b28c18733d852a867a4899227a58ecb927cf205a
[ "BSL-1.0" ]
1
2020-04-27T23:28:51.000Z
2020-04-27T23:28:51.000Z
src/vg_set.cpp
6br/vg
b28c18733d852a867a4899227a58ecb927cf205a
[ "BSL-1.0" ]
null
null
null
#include "vg_set.hpp" #include "stream.hpp" namespace vg { // sets of VGs on disk void VGset::transform(std::function<void(VG*)> lambda) { for (auto& name : filenames) { // load VG* g = NULL; if (name == "-") { g = new VG(std::cin, show_progress); } else { i...
36.818182
117
0.541077
[ "object", "vector", "transform" ]
aaf6d75fc7c09c8e2bf0be37732dca31ed37f43f
6,137
cpp
C++
src/qt/src/gui/statemachine/qmouseeventtransition.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
25
2015-07-21T18:14:57.000Z
2021-02-21T10:00:48.000Z
src/qt/src/gui/statemachine/qmouseeventtransition.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
3
2015-01-19T11:31:54.000Z
2015-07-01T13:28:48.000Z
src/qt/src/gui/statemachine/qmouseeventtransition.cpp
jefleponot/phantomjs
4333acfa798677ec895d73673898c3ffad36e4c0
[ "BSD-3-Clause" ]
9
2016-03-14T13:25:14.000Z
2021-02-21T10:09:22.000Z
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ...
29.647343
87
0.726414
[ "object" ]
aaf702f272afd1db73ee0c54d4a3873218b3ff65
3,691
cpp
C++
spooler/Main.cpp
jeremyong/spool
5ff994ce1f626ef52e4bd2422ca76e2424d32bca
[ "MIT" ]
28
2019-05-30T12:26:59.000Z
2021-03-13T13:33:00.000Z
spooler/Main.cpp
jeremyong/spool
5ff994ce1f626ef52e4bd2422ca76e2424d32bca
[ "MIT" ]
null
null
null
spooler/Main.cpp
jeremyong/spool
5ff994ce1f626ef52e4bd2422ca76e2424d32bca
[ "MIT" ]
1
2019-05-31T17:34:47.000Z
2019-05-31T17:34:47.000Z
#include "Database.hpp" #include "Generator.hpp" #include "Origins.hpp" #include "Parser.hpp" #include "Strings.hpp" #include <cstdio> #include <cstring> #include <sqlite3.h> #include <string> #include <vector> void print_help() { printf( "Usage:\n" "spooler [command] [path to db] [path to file] [m...
24.771812
114
0.598754
[ "vector" ]
aafb013f9249d569477e5a68b03afcfd79cc83ba
22,969
cpp
C++
src/Features/Demo/GhostEntity.cpp
atl128/SourceAutoRecord
e7fa739a9a55f9c5c4f88f96ce59f0fdbc86c92d
[ "MIT" ]
null
null
null
src/Features/Demo/GhostEntity.cpp
atl128/SourceAutoRecord
e7fa739a9a55f9c5c4f88f96ce59f0fdbc86c92d
[ "MIT" ]
null
null
null
src/Features/Demo/GhostEntity.cpp
atl128/SourceAutoRecord
e7fa739a9a55f9c5c4f88f96ce59f0fdbc86c92d
[ "MIT" ]
null
null
null
#include "Features/Demo/GhostEntity.hpp" #include "Features/Demo/DemoGhostPlayer.hpp" #include "Features/Demo/NetworkGhostPlayer.hpp" #include "Features/Hud/Hud.hpp" #include "Features/OverlayRender.hpp" #include "Features/Session.hpp" #include "Modules/Client.hpp" #include "Modules/Engine.hpp" #include "Modules/Serve...
31.725138
414
0.684401
[ "vector", "model" ]
aaffa9a1db81f9ee9157703a0d3bfcf86019d711
2,536
cpp
C++
PlanetRendering/ParticleSystem.cpp
Gooseguy/PlanetRendering2
2c148f47de6df3d0a0055233f0254218b3b3b677
[ "MIT" ]
15
2017-09-23T22:57:31.000Z
2020-12-19T20:31:06.000Z
PlanetRendering/ParticleSystem.cpp
christiancosgrove/PlanetRendering2
2c148f47de6df3d0a0055233f0254218b3b3b677
[ "MIT" ]
1
2015-02-27T00:30:30.000Z
2015-02-27T00:30:30.000Z
PlanetRendering/ParticleSystem.cpp
Gooseguy/PlanetRendering2
2c148f47de6df3d0a0055233f0254218b3b3b677
[ "MIT" ]
4
2017-09-27T08:09:53.000Z
2021-01-15T09:40:12.000Z
// // ParticleSystem.cpp // PlanetRendering // // Created by Christian Cosgrove on 1/30/15. // Copyright (c) 2015 Christian. All rights reserved. // #include "ParticleSystem.h" #include "RandomUtils.h" Particle::Particle(glm::dvec3 position, glm::dvec3 velocity, double mass) : PhysicsObject(position, velocity, m...
27.565217
130
0.596609
[ "vector" ]
c905a7bb708a824dc262acdc98705e8249296e38
2,327
cpp
C++
thrift/tutorial/cpp/stateful/AuthHandler.cpp
reddit/fbthrift
7514229f33d26c8ab82d6b671dac0ed9c225b58d
[ "Apache-2.0" ]
5
2015-11-23T00:26:06.000Z
2020-07-31T12:56:08.000Z
thrift/tutorial/cpp/stateful/AuthHandler.cpp
reddit/fbthrift
7514229f33d26c8ab82d6b671dac0ed9c225b58d
[ "Apache-2.0" ]
2
2017-05-10T15:43:34.000Z
2018-01-04T22:36:04.000Z
thrift/tutorial/cpp/stateful/AuthHandler.cpp
reddit/fbthrift
7514229f33d26c8ab82d6b671dac0ed9c225b58d
[ "Apache-2.0" ]
7
2017-09-01T01:30:25.000Z
2019-02-04T17:46:24.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
30.220779
79
0.740438
[ "vector" ]
c910f12fc60db3702154213bf7b239333b7e8f25
7,422
cpp
C++
test.cpp
6851-2021/kinetic
8225a4556b799be280957dcd4c2d3e37e2e1e11c
[ "MIT" ]
null
null
null
test.cpp
6851-2021/kinetic
8225a4556b799be280957dcd4c2d3e37e2e1e11c
[ "MIT" ]
null
null
null
test.cpp
6851-2021/kinetic
8225a4556b799be280957dcd4c2d3e37e2e1e11c
[ "MIT" ]
null
null
null
// The only purpose of this file is to test code. #include "heap.h" #include <map> #include <string> #include <stdexcept> #include <optional> #include <iostream> #include <set> #include <random> #include <algorithm> #define assert1(cond) if (!(cond)) {throw std::logic_error("Assertion failed: " #cond);} #define assert...
33.890411
109
0.456615
[ "vector" ]
c913ce6062cd94693173e4c9e932e70b4ecf5ec8
1,002
cpp
C++
Cpp/all.cpp
kchevali/OnlineJudge
c1d1894078fa45eef05c8785aba29758d9adf0c6
[ "MIT" ]
null
null
null
Cpp/all.cpp
kchevali/OnlineJudge
c1d1894078fa45eef05c8785aba29758d9adf0c6
[ "MIT" ]
null
null
null
Cpp/all.cpp
kchevali/OnlineJudge
c1d1894078fa45eef05c8785aba29758d9adf0c6
[ "MIT" ]
null
null
null
#include "helper.cpp" #define xx first #define yy second // TYPES typedef vector<l> vl; typedef vector<vl> vvl; typedef pair<l, l> ll; typedef vector<ll> vll; typedef vector<vll> vvll; typedef pair<bool, bool> bb; typedef vector<bool> vb; typedef vector<vb> vvb; typedef vector<bb> vbb; typedef vector<o> vo; typedef...
20.44898
61
0.728543
[ "vector" ]
c91e7475f5b7c4ea7c420eb72cccd8cd82b0aa0c
3,064
cc
C++
paddle/phi/kernels/cpu/triangular_solve_kernel.cc
DevilCarp/Paddle
04325d2cbefb029a4478bdc069d3279cd566ac6a
[ "Apache-2.0" ]
2
2022-03-30T09:55:45.000Z
2022-03-30T09:55:49.000Z
paddle/phi/kernels/cpu/triangular_solve_kernel.cc
DevilCarp/Paddle
04325d2cbefb029a4478bdc069d3279cd566ac6a
[ "Apache-2.0" ]
null
null
null
paddle/phi/kernels/cpu/triangular_solve_kernel.cc
DevilCarp/Paddle
04325d2cbefb029a4478bdc069d3279cd566ac6a
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
35.627907
75
0.634138
[ "vector" ]
c92c00110eeea9e3951db6da6799b86bc84a7d09
7,800
cpp
C++
dstream/dsdemo/dsdemo.cpp
renzbagaporo/depthstream
9ad0febf3e7c0af5ccfbdca2746ce24b353c76a1
[ "MIT" ]
14
2017-08-29T03:55:02.000Z
2022-03-14T11:14:36.000Z
dstream/dsdemo/dsdemo.cpp
renzbagaporo/depthstream
9ad0febf3e7c0af5ccfbdca2746ce24b353c76a1
[ "MIT" ]
null
null
null
dstream/dsdemo/dsdemo.cpp
renzbagaporo/depthstream
9ad0febf3e7c0af5ccfbdca2746ce24b353c76a1
[ "MIT" ]
2
2020-02-02T00:55:06.000Z
2020-09-27T23:08:57.000Z
#include "dsdemo.h" #include <iomanip> #include <opencv2\opencv.hpp> #include <opencv2\viz.hpp> #include "DSMatcher.h" #include "DSFrame.h" void create_mask(cv::Mat hsv, cv::Mat &mask, int hue_min, int hue_max, int sat_min, int sat_max, int val_min, int val_max, int morph_size){ cv::inRange(hsv, cv::Scalar(hue_mi...
27.857143
139
0.689487
[ "geometry", "vector", "3d" ]
c92c7ad5699a4cd38489fcb438769bc9a8a6b717
535
cpp
C++
src/sexp_object.cpp
sudopluto/natalie
a4b95b8cdf3fb594eb313bc170878f766f78b08c
[ "MIT" ]
null
null
null
src/sexp_object.cpp
sudopluto/natalie
a4b95b8cdf3fb594eb313bc170878f766f78b08c
[ "MIT" ]
null
null
null
src/sexp_object.cpp
sudopluto/natalie
a4b95b8cdf3fb594eb313bc170878f766f78b08c
[ "MIT" ]
null
null
null
#include "natalie/sexp_object.hpp" #include "natalie.hpp" namespace Natalie { SexpObject::SexpObject(Env *env, Node *node, std::initializer_list<Value> list) : ArrayObject { list } { m_klass = GlobalEnv::the()->Object()->const_fetch("Sexp"_s)->as_class(); if (node->file()) ivar_set(env, "@file"_s,...
33.4375
87
0.665421
[ "object" ]
c9442a5705c71adfbb0d878a0b8d17eb57defd46
1,126
hpp
C++
include/graph_functions.hpp
silvalab/MMOptimizer
cf36c6d54e4cb6b5a3d9a46232498432595f05a0
[ "MIT" ]
5
2016-11-24T12:21:40.000Z
2021-08-31T06:11:03.000Z
include/graph_functions.hpp
silvalab/MMOptimizer
cf36c6d54e4cb6b5a3d9a46232498432595f05a0
[ "MIT" ]
2
2016-12-01T09:46:49.000Z
2016-12-06T16:11:26.000Z
include/graph_functions.hpp
silvalab/MMOptimizer
cf36c6d54e4cb6b5a3d9a46232498432595f05a0
[ "MIT" ]
1
2019-10-03T18:02:01.000Z
2019-10-03T18:02:01.000Z
#ifndef GRAPH_FUNCTIONS_HPP_ #define GRAPH_FUNCTIONS_HPP_ #include <vector> #include <string> #include <cstdlib> #include <cstring> #include <iostream> #include "mkl.h" #include "math_functions.hpp" namespace Graph { struct Edge { Edge(int v1, int v2) : V1(v1), V2(v2) {}; Edge(const Edge& e) : V1(e.V1), V...
20.851852
68
0.64476
[ "vector" ]
c94e33bee0b468866dbdfe05a5dcc6c3ccc370ba
7,112
cpp
C++
02_Dynamics/05_Cantilever_Impulse/cpp/main.cpp
JohnDTill/ContinuumRobotExamples
3eee9d5cb8c44b262988a27de9e63e2a16e96bca
[ "MIT" ]
73
2019-03-21T04:59:34.000Z
2022-03-31T18:44:50.000Z
02_Dynamics/05_Cantilever_Impulse/cpp/main.cpp
JohnDTill/ContinuumRobotExamples
3eee9d5cb8c44b262988a27de9e63e2a16e96bca
[ "MIT" ]
9
2019-04-23T18:22:39.000Z
2022-03-29T07:05:29.000Z
02_Dynamics/05_Cantilever_Impulse/cpp/main.cpp
JohnDTill/ContinuumRobotExamples
3eee9d5cb8c44b262988a27de9e63e2a16e96bca
[ "MIT" ]
28
2019-04-02T04:01:39.000Z
2022-03-31T06:59:02.000Z
#include <iostream> #include <stdio.h> #include <ctime> #ifdef QT_CORE_LIB #include <simpleplotting.h> #endif #include <commonmath.h> #include <convexoptimization.h> #include "timemanagement.h" #include "numericalpde.h" using namespace ContinuumRobotLibrary; //Independent Parameters const double E = 200e9; const dou...
35.034483
122
0.655231
[ "vector" ]
c9527e0748814fb748c1bb0347240c4e828d7405
19,540
cpp
C++
src/body.cpp
lu1and10/SkellySim
6d319f2d1c1c85506d7debedc082747d89995045
[ "Apache-2.0" ]
null
null
null
src/body.cpp
lu1and10/SkellySim
6d319f2d1c1c85506d7debedc082747d89995045
[ "Apache-2.0" ]
null
null
null
src/body.cpp
lu1and10/SkellySim
6d319f2d1c1c85506d7debedc082747d89995045
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <skelly_sim.hpp> #include <body.hpp> #include <cnpy.hpp> #include <kernels.hpp> #include <parse_util.hpp> #include <periphery.hpp> #include <utils.hpp> #include <spdlog/spdlog.h> /// @brief Update internal Body::K_ matrix variable /// @see update_preconditioner void Body::update_K_matrix...
42.478261
120
0.66653
[ "object", "shape", "vector" ]
c9545f10408870ce041a4e6a7aff70742c9ccbd3
898
hpp
C++
roguelike/map.hpp
BagelTheKid/rogue-
8cd3da29fc4a1b7142b648399091913d557fb6e5
[ "MIT" ]
null
null
null
roguelike/map.hpp
BagelTheKid/rogue-
8cd3da29fc4a1b7142b648399091913d557fb6e5
[ "MIT" ]
null
null
null
roguelike/map.hpp
BagelTheKid/rogue-
8cd3da29fc4a1b7142b648399091913d557fb6e5
[ "MIT" ]
null
null
null
// // map.hpp // roguelike // // Created by Nicolas Polhamus on 5/10/17. // Copyright © 2017 Nicolas Polhamus. All rights reserved. // #ifndef map_hpp #define map_hpp #include <stdio.h> #include <array> #include <list> #include <vector> #include <tuple> #include "enums.h" #include "room.hpp" #include "square.hpp"...
19.106383
93
0.629176
[ "vector" ]
c95e10a876fb0ac3478b6cec38f1c9d58ee0cee1
12,421
cpp
C++
ship.cpp
jpfli/pokittogp
454eefe4563a0bbe1b2a513b2dc76b3d5b18a872
[ "Apache-2.0" ]
null
null
null
ship.cpp
jpfli/pokittogp
454eefe4563a0bbe1b2a513b2dc76b3d5b18a872
[ "Apache-2.0" ]
null
null
null
ship.cpp
jpfli/pokittogp
454eefe4563a0bbe1b2a513b2dc76b3d5b18a872
[ "Apache-2.0" ]
null
null
null
#include "Pokitto.h" #include "PokittoCookie.h" #include "fix16.h" #include "ship.h" CShip::PhysicsParameters CShip::m_physParmsArray[3]; CShip::ShipParameters CShip::m_shipParms; fix16_t CShip::m_fxDeltaTime(0); uint32_t CShip::m_prevFrameTimeInMs(0); CShip::CShip() : m_fxAngle(0), m_activeLapNum(0), m_l...
32.859788
156
0.673778
[ "vector" ]
e92097adab830a1ba282aa3224abc935ddfd3e9a
11,016
hh
C++
third_party/OpenMesh-8.1/src/OpenMesh/Apps/Unsupported/IvViewer/SoOpenMeshNodeT_impl.hh
hporro/grafica_cpp
1427bb6e8926b44be474b906e9f52cca77b3df9d
[ "MIT" ]
2
2022-03-05T03:04:25.000Z
2022-03-05T03:04:50.000Z
third_party/OpenMesh-8.1/src/OpenMesh/Apps/Unsupported/IvViewer/SoOpenMeshNodeT_impl.hh
hporro/grafica_cpp
1427bb6e8926b44be474b906e9f52cca77b3df9d
[ "MIT" ]
null
null
null
third_party/OpenMesh-8.1/src/OpenMesh/Apps/Unsupported/IvViewer/SoOpenMeshNodeT_impl.hh
hporro/grafica_cpp
1427bb6e8926b44be474b906e9f52cca77b3df9d
[ "MIT" ]
4
2021-09-06T20:44:47.000Z
2021-10-04T22:05:12.000Z
/* ========================================================================= * * * * OpenMesh * * Copyright (c) 2001-2015, RWTH-Aachen University * * ...
28.6875
79
0.513435
[ "mesh", "shape" ]
e921a9a7ec51d6e025345c5014fdd315fec80108
1,567
cpp
C++
Raven.CppClient/CurlHandlesHolder.cpp
maximburyak/ravendb-cpp-client
ab284d00bc659e8438c829f1b4a39aa78c31fa88
[ "MIT" ]
null
null
null
Raven.CppClient/CurlHandlesHolder.cpp
maximburyak/ravendb-cpp-client
ab284d00bc659e8438c829f1b4a39aa78c31fa88
[ "MIT" ]
null
null
null
Raven.CppClient/CurlHandlesHolder.cpp
maximburyak/ravendb-cpp-client
ab284d00bc659e8438c829f1b4a39aa78c31fa88
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "CurlHandlesHolder.h" namespace ravendb::client::impl { CurlHandlesHolder::CurlGlobalInit CurlHandlesHolder::_curl_global_init{}; CurlHandlesHolder::CurlGlobalInit::CurlGlobalInit() { const auto res = curl_global_init(CURL_GLOBAL_ALL); if (res != CURLE_OK) { throw std::runtime...
22.070423
90
0.713465
[ "object" ]
e929cdbb48fc65ef61c3bbd4e17f7145c802b31b
7,723
cc
C++
examples/png_viewer/png_viewer.cc
rafaelw/mojo
d3495a129dcbe679e2d5ac729c85a58acf38f8c4
[ "BSD-3-Clause" ]
5
2015-04-30T00:13:21.000Z
2019-07-10T02:17:24.000Z
examples/png_viewer/png_viewer.cc
rafaelw/mojo
d3495a129dcbe679e2d5ac729c85a58acf38f8c4
[ "BSD-3-Clause" ]
null
null
null
examples/png_viewer/png_viewer.cc
rafaelw/mojo
d3495a129dcbe679e2d5ac729c85a58acf38f8c4
[ "BSD-3-Clause" ]
1
2019-05-12T13:53:44.000Z
2019-05-12T13:53:44.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <algorithm> #include "base/macros.h" #include "base/memory/scoped_ptr.h" #include "base/message_loop/message_loop.h" #include "base/strings/stri...
33.4329
82
0.705166
[ "vector" ]
e92a4449fbf445cf91d1bb17c34c2ac852192b8c
5,575
hpp
C++
core/src/api/DynamicArray.hpp
kodxana/lib-ledger-core
96f04d378b7747e1b80b49da7ae637eb33b23678
[ "MIT" ]
null
null
null
core/src/api/DynamicArray.hpp
kodxana/lib-ledger-core
96f04d378b7747e1b80b49da7ae637eb33b23678
[ "MIT" ]
null
null
null
core/src/api/DynamicArray.hpp
kodxana/lib-ledger-core
96f04d378b7747e1b80b49da7ae637eb33b23678
[ "MIT" ]
null
null
null
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from dynamic.djinni #ifndef DJINNI_GENERATED_DYNAMICARRAY_HPP #define DJINNI_GENERATED_DYNAMICARRAY_HPP #include "../utils/optional.hpp" #include <cstdint> #include <memory> #include <string> #include <vector> namespace ledger { namespace core {...
28.015075
106
0.65722
[ "object", "vector" ]
e92a7129036ef75b9231138c20df0f08d395028f
3,895
cpp
C++
plugins/mdao2/src/ShaderUtilities.cpp
bkmgit/megamol
1b70b47fa35691625f1aab2e0fe03d000077811c
[ "BSD-3-Clause" ]
null
null
null
plugins/mdao2/src/ShaderUtilities.cpp
bkmgit/megamol
1b70b47fa35691625f1aab2e0fe03d000077811c
[ "BSD-3-Clause" ]
null
null
null
plugins/mdao2/src/ShaderUtilities.cpp
bkmgit/megamol
1b70b47fa35691625f1aab2e0fe03d000077811c
[ "BSD-3-Clause" ]
null
null
null
#include "stdafx.h" #include "ShaderUtilities.h" #include <iostream> #include <string> using namespace megamol; bool mdao::InitializeShader(megamol::core::utility::ShaderSourceFactory* factory, vislib::graphics::gl::GLSLShader& shader, const std::string& vertexName, const std::string& fragmentName) { vislib::graphi...
31.666667
228
0.660077
[ "geometry" ]
e92a8f5101f08bca6da5e020e50aedacdd046785
9,279
cc
C++
chrome/browser/ui/app_list/search/drive_quick_access_provider.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/app_list/search/drive_quick_access_provider.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/app_list/search/drive_quick_access_provider.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2019 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 "chrome/browser/ui/app_list/search/drive_quick_access_provider.h" #include <algorithm> #include <memory> #include <utility> #include "ash/publi...
36.105058
80
0.739735
[ "vector" ]
e92cf5396aaf8100cb2b2c5c5035d6286e280b4d
16,673
hpp
C++
falcon/iostreams/ignore.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
2
2018-02-02T14:19:59.000Z
2018-05-13T02:48:24.000Z
falcon/iostreams/ignore.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
falcon/iostreams/ignore.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
#ifndef FALCON_IOSTREAM_IGNORE_HPP #define FALCON_IOSTREAM_IGNORE_HPP #include <ios> #include <utility> #include <type_traits> namespace falcon { namespace iostreams { ///\brief This function calls @c ignore() for that stream object. template<class CharT, class Traits> std::basic_istream<CharT, Traits>& ignore(std::...
26.215409
80
0.693456
[ "object" ]
e93ec458ff1976ecfec3c2950e1846f70367eb1d
2,687
hpp
C++
include/codegen/include/UnityEngine/AudioSettings_Mobile.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/AudioSettings_Mobile.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/AudioSettings_Mobile.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:27 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" // Including type...
41.984375
99
0.732415
[ "object" ]
e93f11ed6dcb03b65ac141cc04a6eb96fa6711dd
12,741
cpp
C++
Tuvok/IO/TransferFunction1D.cpp
JensDerKrueger/ImageVis3D
699ab32132c899b7ea227bc87a9de80768ab879f
[ "MIT" ]
null
null
null
Tuvok/IO/TransferFunction1D.cpp
JensDerKrueger/ImageVis3D
699ab32132c899b7ea227bc87a9de80768ab879f
[ "MIT" ]
null
null
null
Tuvok/IO/TransferFunction1D.cpp
JensDerKrueger/ImageVis3D
699ab32132c899b7ea227bc87a9de80768ab879f
[ "MIT" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2008 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation ...
33.093506
141
0.640217
[ "vector" ]
e9412a54098de7666847b42a86bad55360574490
6,925
cpp
C++
Kruskal_main.cpp
Coslate/MST_Kruskal
fa232a752f235cf950468a87ace5f9696242b205
[ "MIT" ]
null
null
null
Kruskal_main.cpp
Coslate/MST_Kruskal
fa232a752f235cf950468a87ace5f9696242b205
[ "MIT" ]
null
null
null
Kruskal_main.cpp
Coslate/MST_Kruskal
fa232a752f235cf950468a87ace5f9696242b205
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <cstring> #include <climits> #include <vector> #include <Kruskal.h> int main(){ bool debug_addr = true; bool debug_name = true; bool debug_key = true; //Declare final solution of MST std::vector<MST_Edge*> final_mst; //Declare a new adjacent list...
52.067669
114
0.594513
[ "vector" ]
e9497e0bbefbbde85c9fa7e59786ecc420bc9b56
693
hpp
C++
verifier/verifier.hpp
FranciscoThiesen/mst_benchmarks
68124753464a5b94bc5b65d4043f298a470d0506
[ "MIT" ]
5
2020-12-11T19:00:16.000Z
2022-03-17T19:56:41.000Z
verifier/verifier.hpp
FranciscoThiesen/karger-klein-tarjan
68124753464a5b94bc5b65d4043f298a470d0506
[ "MIT" ]
null
null
null
verifier/verifier.hpp
FranciscoThiesen/karger-klein-tarjan
68124753464a5b94bc5b65d4043f298a470d0506
[ "MIT" ]
null
null
null
#ifndef VERIFIER_H #define VERIFIER_H #include <tuple> #include <vector> using namespace std; // Implementation of MST Verification, as described by Hagerup 2009. His version // uses the idea of reducing the spanning tree to a full branching tree in order // to achieve a simpler/cleaner implementation. The first lin...
31.5
83
0.756133
[ "vector" ]
e9557f978d1358ca9873b165b3190d51b98ca654
7,086
cpp
C++
src/graphics/text.cpp
cstrahan/argss
cc595bd9a1e4a2c079ea181ff26bdd58d9e65ace
[ "BSD-2-Clause" ]
1
2015-02-12T01:24:04.000Z
2015-02-12T01:24:04.000Z
src/graphics/text.cpp
cstrahan/argss
cc595bd9a1e4a2c079ea181ff26bdd58d9e65ace
[ "BSD-2-Clause" ]
null
null
null
src/graphics/text.cpp
cstrahan/argss
cc595bd9a1e4a2c079ea181ff26bdd58d9e65ace
[ "BSD-2-Clause" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // ARGSS - Copyright (c) 2009 - 2010, Alejandro Marzini (vgvgf) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // ar...
34.067308
117
0.558143
[ "vector" ]
e95ca804ee9f9008564fa4b2cd0f7f41fd70e94b
6,456
cpp
C++
OgreGame1/CameraController.cpp
zzyzy/OgrePlayground
0bb619945078a38b8fa32582540b9a11cfb54411
[ "MIT" ]
2
2016-09-18T05:09:41.000Z
2016-09-19T00:20:59.000Z
OgreGame1/CameraController.cpp
zzyzy/OgrePlayground
0bb619945078a38b8fa32582540b9a11cfb54411
[ "MIT" ]
null
null
null
OgreGame1/CameraController.cpp
zzyzy/OgrePlayground
0bb619945078a38b8fa32582540b9a11cfb54411
[ "MIT" ]
null
null
null
// // OgreBasicTut/CameraController.cpp // // Controls the camera in different styles: free roam, // arcball orbit, and third person // // Author: Zhen Zhi Lee <leezhenzhi@gmail.com> // // Copyright (C) 2016 Zhen Zhi Lee. // // The design of the class is inspired by OgreBites SdkCameraMan // #include "CameraCon...
20.758842
115
0.675651
[ "object" ]
e95e1fe6ecbeb9424f73af67df2af2a5510fff0f
11,387
cc
C++
SuperReads_RNA/global-1/jellyfish/unit_tests/test_large_hash_array.cc
Kuanhao-Chao/multiStringTie
be37f9b4ae72b14e7cf645f24725b7186f66a816
[ "MIT" ]
255
2015-02-18T20:27:23.000Z
2022-03-18T18:55:35.000Z
SuperReads_RNA/global-1/jellyfish/unit_tests/test_large_hash_array.cc
Kuanhao-Chao/multiStringTie
be37f9b4ae72b14e7cf645f24725b7186f66a816
[ "MIT" ]
350
2015-03-11T14:24:06.000Z
2022-03-29T03:54:10.000Z
SuperReads_RNA/global-1/jellyfish/unit_tests/test_large_hash_array.cc
wrf/stringtie
2e99dccd9a2e2ce51cfddcb3896984fa773697f7
[ "MIT" ]
66
2015-02-19T00:21:38.000Z
2022-03-30T09:52:23.000Z
#include <sys/types.h> #include <signal.h> #include <unistd.h> #include <map> #include <vector> #include <limits> #include <gtest/gtest.h> #include <unit_tests/test_main.hpp> #include <jellyfish/large_hash_array.hpp> #include <jellyfish/mer_dna.hpp> #include <jellyfish/atomic_gcc.hpp> #include <jellyfish/allocators_...
32.815562
120
0.608325
[ "vector" ]
e96630534fd355fe82934018e31fcd864b4dcc88
1,574
cpp
C++
src/PyZPK/zk_proof_systems/pcd/r1cs_pcd/r1cs_pcd_params.cpp
gargarchit/PyZPK
682c20efc6ae5d7bf705f9fcbcbf003d9e382412
[ "Apache-2.0" ]
4
2020-05-21T13:55:33.000Z
2020-08-17T00:59:29.000Z
src/PyZPK/zk_proof_systems/pcd/r1cs_pcd/r1cs_pcd_params.cpp
gargarchit/PyZPK
682c20efc6ae5d7bf705f9fcbcbf003d9e382412
[ "Apache-2.0" ]
1
2020-07-21T07:37:59.000Z
2020-07-21T07:39:14.000Z
src/PyZPK/zk_proof_systems/pcd/r1cs_pcd/r1cs_pcd_params.cpp
gargarchit/PyZPK
682c20efc6ae5d7bf705f9fcbcbf003d9e382412
[ "Apache-2.0" ]
null
null
null
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <pybind11/stl_bind.h> #include <libff/algebra/curves/mnt/mnt6/mnt6_pp.hpp> #include <libsnark/zk_proof_systems/pcd/r1cs_pcd/r1cs_pcd_params.hpp> namespace py = pybind11; using namespace libsnark; using namespace libff; void declare_r1cs_pcd_compliance_p...
46.294118
166
0.777637
[ "vector" ]
e966b94accc7a9ce66aba48edf45d891d8502b62
3,817
cpp
C++
libstark/src/languages/Bair/BairWitnessChecker.cpp
ddsvetlov/libSTARK
38aeda615864346dc1ff4c290e0d0d12ea324dfb
[ "MIT" ]
399
2018-02-28T17:11:54.000Z
2022-03-24T07:41:39.000Z
libstark/src/languages/Bair/BairWitnessChecker.cpp
ddsvetlov/libSTARK
38aeda615864346dc1ff4c290e0d0d12ea324dfb
[ "MIT" ]
18
2018-03-02T14:53:53.000Z
2022-02-14T21:30:03.000Z
libstark/src/languages/Bair/BairWitnessChecker.cpp
ddsvetlov/libSTARK
38aeda615864346dc1ff4c290e0d0d12ea324dfb
[ "MIT" ]
90
2018-03-01T01:18:44.000Z
2022-02-23T00:28:50.000Z
#include "BairWitnessChecker.hpp" #include "common/Utils/TaskReporting.hpp" using std::vector; using Algebra::FieldElement; namespace libstark { static bool isPermutation(size_t const numElements, const BairWitness::permutation_t& mapping){ //We check the mapping is a bijection (permutation) //by checking that it ...
34.7
114
0.735656
[ "vector" ]
e96c4df1a5d09da3c59723412024f79b0543c442
495
cpp
C++
A. Word.cpp
Samim-Arefin/Codeforce-Problem-Solution
7219ee6173faaa9e06231d4cd3e9ba292ae27ce3
[ "MIT" ]
null
null
null
A. Word.cpp
Samim-Arefin/Codeforce-Problem-Solution
7219ee6173faaa9e06231d4cd3e9ba292ae27ce3
[ "MIT" ]
null
null
null
A. Word.cpp
Samim-Arefin/Codeforce-Problem-Solution
7219ee6173faaa9e06231d4cd3e9ba292ae27ce3
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { string str; while (cin >> str) { int c = 0, s = 0; for (int i = 0; i < str.size(); i++) { if (str[i] >= 'a' && str[i] <= 'z') { s++; } else if (str[i] >= 'A' && str[i] <= 'Z') { c++; } } if (s >= c) { transform(str.beg...
15.967742
61
0.432323
[ "transform" ]
e96e3d353e653e6b611f4da895307a9cda282e54
4,745
cc
C++
chrome/browser/extensions/dev_mode_bubble_controller.cc
SlimKatLegacy/android_external_chromium_org
ee480ef5039d7c561fc66ccf52169ead186f1bea
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-04T02:36:53.000Z
2016-06-25T11:22:17.000Z
chrome/browser/extensions/dev_mode_bubble_controller.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/extensions/dev_mode_bubble_controller.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2015-02-09T08:49:30.000Z
2017-08-26T02:03:34.000Z
// Copyright (c) 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 "chrome/browser/extensions/dev_mode_bubble_controller.h" #include "base/bind.h" #include "base/metrics/histogram.h" #include "base/strings/u...
31.633333
80
0.773024
[ "vector" ]
e974b4ff02a2205df09ba7e35cc5b3b1f8a09d19
1,249
hpp
C++
src/mbgl/geometry/line_atlas.hpp
followtherider/mapbox-gl-native
62b56b799a7d4fcd1a8f151eed878054b862da5b
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/geometry/line_atlas.hpp
followtherider/mapbox-gl-native
62b56b799a7d4fcd1a8f151eed878054b862da5b
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/geometry/line_atlas.hpp
followtherider/mapbox-gl-native
62b56b799a7d4fcd1a8f151eed878054b862da5b
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
#pragma once #include <mbgl/gl/object.hpp> #include <mbgl/util/optional.hpp> #include <vector> #include <unordered_map> #include <memory> namespace mbgl { namespace gl { class Context; } // namespace gl typedef struct { float width; float height; float y; } LinePatternPos; enum class LinePatternCap : ...
23.12963
96
0.695757
[ "object", "vector" ]
e9766ebfcb936d78a238cc137d5a647c47d45388
1,568
cpp
C++
modules/task_2/krasilnikov_a_bubble_sort/main.cpp
RachinIA/pp_2020_autumn_engineer
23f7df688a77cad9496b9d95bbe2645e0528f106
[ "BSD-3-Clause" ]
null
null
null
modules/task_2/krasilnikov_a_bubble_sort/main.cpp
RachinIA/pp_2020_autumn_engineer
23f7df688a77cad9496b9d95bbe2645e0528f106
[ "BSD-3-Clause" ]
1
2020-12-27T20:31:37.000Z
2020-12-27T20:31:37.000Z
modules/task_2/krasilnikov_a_bubble_sort/main.cpp
RachinIA/pp_2020_autumn_engineer
23f7df688a77cad9496b9d95bbe2645e0528f106
[ "BSD-3-Clause" ]
1
2021-03-14T18:08:22.000Z
2021-03-14T18:08:22.000Z
// Copyright 2020 Krasilnikov Alexey #include <gtest-mpi-listener.hpp> #include <gtest/gtest.h> #include <vector> #include "../../../modules/task_2/krasilnikov_a_bubble_sort/bubble_sort.h" void CustomTest(const size_t test_size); TEST(Parallel_Operations_MPI, Test_single) { CustomTest(1); } TEST(Parallel_Operatio...
27.508772
76
0.765306
[ "vector" ]
e97706f82bba3f6a047099173edb14aec635b552
3,765
cc
C++
src/linear_algebra/qr_eigenvalues.cc
fedorovpavel/numerical_analysis
549bfda1629a38d43978d1a2d9f582ee2b533c8a
[ "MIT" ]
null
null
null
src/linear_algebra/qr_eigenvalues.cc
fedorovpavel/numerical_analysis
549bfda1629a38d43978d1a2d9f582ee2b533c8a
[ "MIT" ]
null
null
null
src/linear_algebra/qr_eigenvalues.cc
fedorovpavel/numerical_analysis
549bfda1629a38d43978d1a2d9f582ee2b533c8a
[ "MIT" ]
null
null
null
#include "qr_eigenvalues.h" #include <complex> #include <vector> using Complex = std::complex<double>; using CPair = std::pair<Complex, Complex>; QREigenvalues::QREigenvalues() { } inline Matrix ComputeMinor(const Matrix &mat, int d) { Matrix res = Matrix::Zero(mat.rows(), mat.cols()); for (int i = 0; i <...
26.702128
100
0.418858
[ "vector" ]
e977748d150a574f6a73ed9461e1e9c95487553f
1,175
cpp
C++
Hackerrank/data structures/arrays/2d_array.cpp
schneiderl/problems-solved
881895fc262ccd49c278ce38a06c1d2686fb72b6
[ "Unlicense" ]
null
null
null
Hackerrank/data structures/arrays/2d_array.cpp
schneiderl/problems-solved
881895fc262ccd49c278ce38a06c1d2686fb72b6
[ "Unlicense" ]
2
2017-09-29T14:09:48.000Z
2018-01-25T01:07:31.000Z
Hackerrank/data structures/arrays/2d_array.cpp
schneiderl/problems-solved
881895fc262ccd49c278ce38a06c1d2686fb72b6
[ "Unlicense" ]
null
null
null
#include <map> #include <set> #include <list> #include <cmath> #include <ctime> #include <deque> #include <queue> #include <stack> #include <string> #include <bitset> #include <cstdio> #include <limits> #include <vector> #include <climits> #include <cstring> #include <cstdlib> #include <fstream> #include <numeric> #inc...
23.5
149
0.64766
[ "vector" ]
e97ae9c918d7512543c62d8c5755d0ace85ca231
5,020
cc
C++
vpc/src/model/DescribeVpcAttributeResult.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
3
2020-01-06T08:23:14.000Z
2022-01-22T04:41:35.000Z
vpc/src/model/DescribeVpcAttributeResult.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
null
null
null
vpc/src/model/DescribeVpcAttributeResult.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2009-2017 Alibaba Cloud 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...
28.202247
114
0.757769
[ "vector", "model" ]
e980d042b11eb936dc34e68cf27bfe72a3d230ef
10,828
hxx
C++
opencascade/RWMesh_TriangulationReader.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/RWMesh_TriangulationReader.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/RWMesh_TriangulationReader.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2021 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special ...
38.126761
130
0.685353
[ "mesh", "object", "vector" ]
e986aff2df53fc06f462237d88a30cc410e9a8f9
2,269
cpp
C++
104IO/color_code.cpp
Coderik/104P
37435ff3709fbce9fcc87b59acc46212f484daad
[ "BSD-2-Clause" ]
null
null
null
104IO/color_code.cpp
Coderik/104P
37435ff3709fbce9fcc87b59acc46212f484daad
[ "BSD-2-Clause" ]
null
null
null
104IO/color_code.cpp
Coderik/104P
37435ff3709fbce9fcc87b59acc46212f484daad
[ "BSD-2-Clause" ]
null
null
null
/** * Copyright (C) 2016, Vadim Fedorov <coderiks@gmail.com> * * This program is free software: you can use, modify and/or * redistribute it under the terms of the simplified BSD * License. You should have received a copy of this license along * this program. If not, see * <http://www.opensource.org/licenses/bsd...
25.211111
79
0.603349
[ "vector" ]
e989f76557f7e2484454c903062928745c927e05
4,310
cpp
C++
src/EQjson.cpp
Spationaute/FullEarth
10bbd39d33a3944616f5697032a293beda3efa76
[ "MIT" ]
5
2019-08-19T00:08:27.000Z
2021-12-28T02:36:57.000Z
src/EQjson.cpp
Spationaute/FullEarth
10bbd39d33a3944616f5697032a293beda3efa76
[ "MIT" ]
5
2019-08-12T14:14:41.000Z
2019-08-14T17:40:55.000Z
src/EQjson.cpp
Spationaute/FullEarth
10bbd39d33a3944616f5697032a293beda3efa76
[ "MIT" ]
3
2019-09-18T13:09:48.000Z
2021-07-25T04:27:30.000Z
// // Created by gabriel on 18/07/19. // #include "EQjson.h" using json = nlohmann::json; EQjson::~EQjson() { clearEq(); } bool EQjson::parse() { bool res = Geojson::parse(); std::vector<Owner*> ownerList = this->getOwners(); std::vector<Pts> pointsList = this->getPoints(); clearEq(); float m...
25.352941
88
0.540835
[ "vector" ]
e98d16fef4d9fba7e4102a903c3c94bbec333e3d
7,790
cpp
C++
libraries/octomap-1.9.6/octovis/src/extern/QGLViewer/debug/moc_manipulatedFrame.cpp
joeyzhouhaiyi/CapstoneSimulationWebots
adfac89e32fb9f4a50c2adb7defafc539ce7200a
[ "Apache-2.0" ]
null
null
null
libraries/octomap-1.9.6/octovis/src/extern/QGLViewer/debug/moc_manipulatedFrame.cpp
joeyzhouhaiyi/CapstoneSimulationWebots
adfac89e32fb9f4a50c2adb7defafc539ce7200a
[ "Apache-2.0" ]
null
null
null
libraries/octomap-1.9.6/octovis/src/extern/QGLViewer/debug/moc_manipulatedFrame.cpp
joeyzhouhaiyi/CapstoneSimulationWebots
adfac89e32fb9f4a50c2adb7defafc539ce7200a
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'manipulatedFrame.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) ** ** WARNING! All changes made in this file will be lost! ***************************************************...
36.232558
112
0.622465
[ "object" ]
e98d70013175ccae11cdd4aa7554297845eef3cd
1,647
cpp
C++
Cpp/671_second_minimum_node_in_a_bianry_tree/solution1.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
1
2015-12-19T23:05:35.000Z
2015-12-19T23:05:35.000Z
Cpp/671_second_minimum_node_in_a_bianry_tree/solution1.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
Cpp/671_second_minimum_node_in_a_bianry_tree/solution1.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: static bool compareNode(const TreeNode* a, const TreeNode* b) { return a->val < b-...
28.396552
81
0.41105
[ "vector" ]
e990ec255bd14b173582e8648d8a672fa870f670
919
cpp
C++
ObjectController.cpp
Powerman1254/Game
f48be9fc0eb592b310002d6e6d0edc7d05ebe8a2
[ "Unlicense" ]
null
null
null
ObjectController.cpp
Powerman1254/Game
f48be9fc0eb592b310002d6e6d0edc7d05ebe8a2
[ "Unlicense" ]
null
null
null
ObjectController.cpp
Powerman1254/Game
f48be9fc0eb592b310002d6e6d0edc7d05ebe8a2
[ "Unlicense" ]
null
null
null
#include "ObjectController.h" #include <cassert> #include "Entity.h" #include "EntityManager.h" #include "PlayerController.h" #include "RenderComponent.h" #include "Transform.h" #include "game.h" void ObjectController::Update(Entity& entity) { Transform* transform = entity.GetComponent<Transform>(); const Render...
24.184211
85
0.713819
[ "transform" ]
e991ee0939680116c70fd7315db56cb6d8dd2a6c
1,204
cpp
C++
components/render/opengl_driver/sources/input_stage/gl_input_system_memory_buffer.cpp
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/render/opengl_driver/sources/input_stage/gl_input_system_memory_buffer.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/render/opengl_driver/sources/input_stage/gl_input_system_memory_buffer.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
#include "shared.h" using namespace render::low_level; using namespace render::low_level::opengl; using namespace common; /* Конструктор / деструктор */ SystemMemoryBuffer::SystemMemoryBuffer (const ContextManager& context_manager, const BufferDesc& in_desc) : Buffer (context_manager, in_desc), buff...
20.40678
106
0.69186
[ "render" ]
e99463a51dd2f83e683f162186b1844fc269542d
7,712
cc
C++
examples/master/packages/popc/lib/secure_jobmgr.cc
GaretJax/pop-utils
2cdfaf24c2f8678edfab1f430c07611d488247d5
[ "MIT" ]
null
null
null
examples/master/packages/popc/lib/secure_jobmgr.cc
GaretJax/pop-utils
2cdfaf24c2f8678edfab1f430c07611d488247d5
[ "MIT" ]
1
2021-03-22T17:12:51.000Z
2021-03-22T17:12:51.000Z
examples/master/packages/popc/lib/secure_jobmgr.cc
GaretJax/pop-utils
2cdfaf24c2f8678edfab1f430c07611d488247d5
[ "MIT" ]
null
null
null
/** * File : secure_jobmgr.ph * Author : Valentin Clément * Description : Declarataion of the parallel object SecureJobMgr * Creation date : 2010/12/07 * * Modifications : * Authors Date Comment * clementval 2010/12/07 Creation of this file */ #include "secure_jobmgr.ph" #include "popc_security_manag...
30.007782
256
0.710192
[ "object" ]
e99d8acfb3fb9ff7f0e08d0cc7bde7acccdb370c
1,204
cpp
C++
aws-cpp-sdk-chime/source/model/CreateVoiceConnectorGroupRequest.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-chime/source/model/CreateVoiceConnectorGroupRequest.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-chime/source/model/CreateVoiceConnectorGroupRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-03-23T15:17:18.000Z
2022-03-23T15:17:18.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/chime/model/CreateVoiceConnectorGroupRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Chime::Model; using namespace Aws::Utils::Json; ...
25.083333
141
0.776578
[ "model" ]
e9a6a6de6fae7ab17a8cd40e61270142f8b6f1b7
13,667
hpp
C++
src/VoxieBackend/Data/PlaneInfo.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/VoxieBackend/Data/PlaneInfo.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/VoxieBackend/Data/PlaneInfo.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie 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 rights * to use, copy, modify, mer...
31.709977
80
0.644179
[ "vector", "transform", "3d" ]
e9ae5f2c7084ea4d290b65cfb5dbe393b99157ff
1,480
cpp
C++
src/test/test_code/single_end_barcode_processor_test.cpp
LaoZZZZZ/bartender-1.1
ddfb2e52bdf92258dd837ab8ee34306e9fb45b81
[ "MIT" ]
22
2016-08-11T06:16:25.000Z
2022-02-22T00:06:59.000Z
src/test/test_code/single_end_barcode_processor_test.cpp
LaoZZZZZ/bartender-1.1
ddfb2e52bdf92258dd837ab8ee34306e9fb45b81
[ "MIT" ]
9
2016-12-08T12:42:38.000Z
2021-12-28T20:12:15.000Z
src/test/test_code/single_end_barcode_processor_test.cpp
LaoZZZZZ/bartender-1.1
ddfb2e52bdf92258dd837ab8ee34306e9fb45b81
[ "MIT" ]
8
2017-06-26T13:15:06.000Z
2021-11-12T18:39:54.000Z
#include <iostream> #include <cassert> #include <memory> #include <boost/regex.hpp> #include "../singleendbarcodeprocessor.h" #include "../formats.h" using std::string; using std::vector; using std::endl; using std::cout; using std::unique_ptr; using barcodeSpace::SingleEndBarcodeProcessor; using barcodeSpace::BarcodeC...
32.888889
178
0.67027
[ "vector" ]
e9bd9b9860e81a59eb4449d1c3ca82c6e420cfaa
5,003
cpp
C++
USACO/solutions/cryptcow.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
USACO/solutions/cryptcow.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
USACO/solutions/cryptcow.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
/* ID: ivan.bu1 PROG: cryptcow LANG: C++ */ #include <iostream> #include <iterator> #include <fstream> #include <string> #include <vector> #include <algorithm> #include <cstdio> #include <cctype> #include <cstring> #include <queue> #include <set> #include <map> #include <cstdlib> #include <utility> #...
28.919075
94
0.359384
[ "vector" ]
e9be466c2530d9e232c22526ef5263c922b6f965
1,509
cpp
C++
ural/1056.cpp
jffifa/algo-solution
af2400d6071ee8f777f9473d6a34698ceef08355
[ "MIT" ]
5
2015-07-14T10:29:25.000Z
2016-10-11T12:45:18.000Z
ural/1056.cpp
jffifa/algo-solution
af2400d6071ee8f777f9473d6a34698ceef08355
[ "MIT" ]
null
null
null
ural/1056.cpp
jffifa/algo-solution
af2400d6071ee8f777f9473d6a34698ceef08355
[ "MIT" ]
3
2016-08-23T01:05:26.000Z
2017-05-28T02:04:20.000Z
/* Problem: Ural1056 Algorithm: Graph, Diameter of Tree Time: O() Memory: O() Detail: Simple Coded by [BUPT]AkemiHomura */ #include <cstdio> #include <cstring> #include <cmath> #include <vector> using namespace std; const int MaxN = 10001; int N, u, v, S, T, Dia; int Ans[2], a; char Vis[MaxN...
17.147727
56
0.484427
[ "vector" ]
e9c78c5e62920d9bebc3496a967a9ffa2b6f1d4c
21,682
hpp
C++
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/include/agent-framework/module/model/memory.hpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
5
2019-11-11T07:57:26.000Z
2022-03-28T08:26:53.000Z
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/include/agent-framework/module/model/memory.hpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
3
2019-09-05T21:47:07.000Z
2019-09-17T18:10:45.000Z
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/include/agent-framework/module/model/memory.hpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
11
2019-07-20T00:16:32.000Z
2022-01-11T14:17:48.000Z
/*! * @copyright * Copyright (c) 2015-2019 Intel Corporation * * @copyright * 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 * * @copyright * http://www.apache.org/licenses/LICENSE-...
29.906207
137
0.663038
[ "object", "model", "transform" ]
83962556677db601bb8df4103018b3bfbf12e53e
1,355
cc
C++
content/browser/devtools/protocol/dom_handler.cc
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
content/browser/devtools/protocol/dom_handler.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/devtools/protocol/dom_handler.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/devtools/protocol/dom_handler.h" #include "base/strings/utf_string_conversions.h" #include "build/build_config.h" #include "con...
27.653061
79
0.704797
[ "vector" ]
839ae699fedf53c2a0a351bb71474ce6c74946b3
1,382
hpp
C++
Engine/Game/World/Public/Subspace.hpp
iuyhcdfs/amaneshi
f8ee7f6bbd42662d85c7bb0785dbc158ad35b956
[ "WTFPL" ]
1
2018-08-09T03:27:39.000Z
2018-08-09T03:27:39.000Z
Engine/Game/World/Public/Subspace.hpp
iuyhcdfs/amaneshi
f8ee7f6bbd42662d85c7bb0785dbc158ad35b956
[ "WTFPL" ]
null
null
null
Engine/Game/World/Public/Subspace.hpp
iuyhcdfs/amaneshi
f8ee7f6bbd42662d85c7bb0785dbc158ad35b956
[ "WTFPL" ]
null
null
null
#pragma once #include <Amaneshi/Internal/Math_Position.hpp> #include <Amaneshi/Game_Object.hpp> #include <vector> //#include <unordered_map> #include <unordered_set> namespace amaneshi { namespace world { // subspace just stores the general area of many objects enum AxisEnum { x, y, z, AxisEnumSize };...
18.426667
72
0.657019
[ "object", "vector" ]
83a962c00b1ec4f437dc0a8f9a3c6dad62a58f80
502
cc
C++
examples/c++/ex03.cc
mantielero/occt.nim
756a087145c805ddfb4fe932757219ce99f7090e
[ "BSD-3-Clause" ]
null
null
null
examples/c++/ex03.cc
mantielero/occt.nim
756a087145c805ddfb4fe932757219ce99f7090e
[ "BSD-3-Clause" ]
null
null
null
examples/c++/ex03.cc
mantielero/occt.nim
756a087145c805ddfb4fe932757219ce99f7090e
[ "BSD-3-Clause" ]
null
null
null
#include "Standard_Handle.hxx" #include "AIS_InteractiveContext.hxx" // Display shape in Viewer VM Handle(AIS_InteractiveContext) aContext = new AIS_InteractiveContext (VM); aContext->Display(shape); // Create a Perspective View in Viewer VM Handle(V3d_View) V = new V3d_View (VM); aview->Camera()->SetProjectionType ...
33.466667
84
0.7749
[ "object", "shape" ]
83aee7b20c3ae9d6e521e138aceb8f3cdf16919b
13,663
cpp
C++
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/curl/ReaderWriterCURL.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
3
2018-08-20T12:12:43.000Z
2021-06-06T09:43:27.000Z
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/curl/ReaderWriterCURL.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
null
null
null
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgPlugins/curl/ReaderWriterCURL.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
1
2022-03-31T03:12:23.000Z
2022-03-31T03:12:23.000Z
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * included with ...
28.824895
176
0.597965
[ "object", "model" ]
83af7492764be4762cf42a85469dfd2eb9705b2d
8,005
cpp
C++
lib/calltree.cpp
ARM-software/tarmac-trace-utilities
2e0be052f65e528941f74395a59741c0657c4abe
[ "Apache-2.0" ]
21
2021-04-27T15:54:09.000Z
2022-03-18T19:24:17.000Z
lib/calltree.cpp
ARM-software/tarmac-trace-utilities
2e0be052f65e528941f74395a59741c0657c4abe
[ "Apache-2.0" ]
5
2021-07-09T10:44:05.000Z
2022-01-14T15:14:02.000Z
lib/calltree.cpp
ARM-software/tarmac-trace-utilities
2e0be052f65e528941f74395a59741c0657c4abe
[ "Apache-2.0" ]
12
2021-04-27T15:45:27.000Z
2022-03-18T19:24:19.000Z
/* * Copyright 2016-2021 Arm Limited. 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 a...
31.765873
79
0.621986
[ "vector" ]
83b25ad512bdfe36d1eaf97c7dcff2f978d6f54e
29,733
cpp
C++
encfs/SSL_Cipher.cpp
penma/findvolkey
a7f70e856fe2f03761e4967246a6ffa5bab7f2d8
[ "OpenSSL" ]
6
2020-04-08T11:50:00.000Z
2021-08-08T03:23:58.000Z
encfs/SSL_Cipher.cpp
penma/findvolkey
a7f70e856fe2f03761e4967246a6ffa5bab7f2d8
[ "OpenSSL" ]
3
2020-04-08T11:54:37.000Z
2020-04-10T22:39:13.000Z
encfs/SSL_Cipher.cpp
penma/findvolkey
a7f70e856fe2f03761e4967246a6ffa5bab7f2d8
[ "OpenSSL" ]
2
2020-04-08T16:14:28.000Z
2020-04-08T16:15:55.000Z
/***************************************************************************** * Author: Valient Gough <vgough@pobox.com> * ***************************************************************************** * Copyright (c) 2004, Valient Gough * * This program is free software: you can redistribute it and/or modify i...
30.939646
113
0.656711
[ "vector" ]
83b3c4b0de6678ecd1007c4559b687552201c7c8
8,380
cpp
C++
oi/bzoj/P2229/minimum-cut.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
3
2018-08-30T09:43:20.000Z
2019-12-03T04:53:43.000Z
oi/bzoj/P2229/minimum-cut.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
oi/bzoj/P2229/minimum-cut.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
/** * 使用Dinic算法寻找s-t最小割 * 注意要卡常,由于n = 150, m有几千级别,图比较密 * 因此,注意if的短路,先判定是否是分层图的边 * 然后判定是否可走,因为边数很多的情况下 * 一般只有m / 2条边为0流量 * 而绝大部分边都不在分层图上。该优化加速33% * 在递归时去掉所有自环。该优化加速22% * 使用前向弧优化。该优化加速45% */ #define NDEBUG #include <cassert> #include <cstdio> #include <cstring> #include <climits> #include <queue> #include <ve...
19.671362
65
0.406325
[ "vector" ]
83b685fb7ed4b3d7e327e81c6052ea48e20e06d2
1,293
cpp
C++
srcs/History.cpp
siliotar/IRC-Server
d1867d02623c4f5dafa8560e1fd0857c81f13554
[ "MIT" ]
20
2021-11-04T18:37:37.000Z
2022-03-29T06:02:04.000Z
srcs/History.cpp
mhufflep/IRC-Server
abf2e2c4e95236bc056b641d050cfc25de91372d
[ "MIT" ]
6
2021-11-16T13:32:37.000Z
2021-12-15T23:23:50.000Z
srcs/History.cpp
mhufflep/IRC-Server
abf2e2c4e95236bc056b641d050cfc25de91372d
[ "MIT" ]
2
2021-11-07T01:03:58.000Z
2022-03-01T14:02:48.000Z
#include "History.hpp" UserInfo::UserInfo(const User &user) : nickname(user.getNickname()), username(user.getUsername()), hostname(user.getHostname()), servername(user.getServername()), realname(user.getRealname()), registrationTime(time(0)) {} const std::string &UserInfo::getNickname() const { return nickname; } c...
19.298507
96
0.720804
[ "vector" ]
83c98a511836a25aaf12b1f74b9460007f2179e9
36,907
cpp
C++
nkr_tests/charcoder/src/utf_8_t.cpp
r-neal-kelly/nkr
73cacf4a05ef5b6c8aab25b1d86ac8d5445fc7e9
[ "MIT" ]
null
null
null
nkr_tests/charcoder/src/utf_8_t.cpp
r-neal-kelly/nkr
73cacf4a05ef5b6c8aab25b1d86ac8d5445fc7e9
[ "MIT" ]
18
2022-02-19T00:12:00.000Z
2022-03-31T14:10:16.000Z
nkr_tests/charcoder/src/utf_8_t.cpp
r-neal-kelly/nkr
73cacf4a05ef5b6c8aab25b1d86ac8d5445fc7e9
[ "MIT" ]
null
null
null
/* Copyright 2021 r-neal-kelly */ #include "doctest.h" #include "unicode.h" namespace nkr { namespace charcoder { // I kind of want a test that ensures every single unicode point. I wonder how slow it will be? hopefully not very... TEST_SUITE("utf_8_t") { #define nkr_REGULAR \ utf_8_t ...
40.116304
143
0.452841
[ "object" ]
83d0b9fe99f85ac61e127f3198c17d620b26fd17
2,716
cpp
C++
OpenCup/e_bf.cpp
JackBai0914/Competitive-Programming-Codebase
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
[ "MIT" ]
null
null
null
OpenCup/e_bf.cpp
JackBai0914/Competitive-Programming-Codebase
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
[ "MIT" ]
null
null
null
OpenCup/e_bf.cpp
JackBai0914/Competitive-Programming-Codebase
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
[ "MIT" ]
null
null
null
/* * * * * * * * * * * * * * * * * * * * * @author: Xingjian Bai * @date: 2020-10-11 10:31:31 * @description: * /Users/jackbai/Desktop/OI/OpenCup/e.cpp * * @notes: * g++ -fsanitize=address -ftrapv e_bf.cpp * * * * * * * * * * * * * * * * * */ #include <bits/stdc++.h> #define F fi...
23.016949
75
0.487113
[ "vector" ]
83d32970b56613089b9d585d8877551865ea0216
1,462
cpp
C++
code/366_2.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
23
2020-03-30T05:44:56.000Z
2021-09-04T16:00:57.000Z
code/366_2.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
1
2020-05-10T15:04:05.000Z
2020-06-14T01:21:44.000Z
code/366_2.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 TreeNod...
20.305556
67
0.510944
[ "vector" ]
83de3f821c3ae962a4ea60c3fdae89629187ffbb
9,291
cpp
C++
src/net/association.cpp
z-btc/z-btc-main
325510d88c0acafdbc041d3e03f6600c8509cda9
[ "OML" ]
2
2021-07-07T09:55:43.000Z
2021-07-07T10:20:34.000Z
src/net/association.cpp
z-btc/z-btc-main
325510d88c0acafdbc041d3e03f6600c8509cda9
[ "OML" ]
null
null
null
src/net/association.cpp
z-btc/z-btc-main
325510d88c0acafdbc041d3e03f6600c8509cda9
[ "OML" ]
null
null
null
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Copyright (c) 2017 The Bitcoin developers // Copyright (c) 2020 Bitcoin Association // Distributed under the Open BSV software license, see the accompanying file LICENSE. #include <net/association.h> #include <net/net...
28.412844
114
0.631794
[ "vector" ]
83e01b99dd1ea05070e85c510f38a49c539f8a27
696
hpp
C++
net/http2/frame.hpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
3
2020-03-28T01:36:44.000Z
2020-06-19T23:55:08.000Z
net/http2/frame.hpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
null
null
null
net/http2/frame.hpp
usadson/WebEngine
73f436535a70c6c9d7f3a5c565650b6152effd8d
[ "BSD-2-Clause" ]
null
null
null
#pragma once /** * Copyright (C) 2020 Tristan. All Rights Reserved. * This file is licensed under the BSD 2-Clause license. * See the COPYING file for licensing information. */ #include <vector> #include <cstdint> namespace Net::HTTP::H2 { namespace FrameFlags { const uint8_t ACK = 0x1; } enum FrameType ...
16.571429
56
0.66092
[ "vector" ]
83e47cea83895e5f052f20ebef9c1021de2a01e7
1,606
hh
C++
src/physics/base/ParticleDef.hh
shefmarkh/celeritas
01a16333a44c6fea4d374959f6c1bed4c18a34fa
[ "Apache-2.0", "MIT" ]
null
null
null
src/physics/base/ParticleDef.hh
shefmarkh/celeritas
01a16333a44c6fea4d374959f6c1bed4c18a34fa
[ "Apache-2.0", "MIT" ]
null
null
null
src/physics/base/ParticleDef.hh
shefmarkh/celeritas
01a16333a44c6fea4d374959f6c1bed4c18a34fa
[ "Apache-2.0", "MIT" ]
null
null
null
//----------------------------------*-C++-*----------------------------------// // Copyright 2020 UT-Battelle, LLC, and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //-------------------------------------------------------------------------...
35.688889
79
0.523661
[ "vector" ]
83e6fa935aab14e94989b64a8c4dcc7ec7e0e0fd
9,038
cc
C++
chrome/browser/web_applications/components/web_app_icon_generator.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chrome/browser/web_applications/components/web_app_icon_generator.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/browser/web_applications/components/web_app_icon_generator.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2018 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 "chrome/browser/web_applications/components/web_app_icon_generator.h" #include <cctype> #include <string> #include <utility> #include "base/i18...
34.761538
80
0.699712
[ "geometry", "vector" ]
83efa4d23ef44073836fd7161cecdec8e5eaa6cb
396
cpp
C++
_site/Competitive Programming/Hackerearth/Monk and Search.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
1
2019-06-10T04:39:49.000Z
2019-06-10T04:39:49.000Z
_site/Competitive Programming/Hackerearth/Monk and Search.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
2
2021-09-27T23:34:07.000Z
2022-02-26T05:54:27.000Z
_site/Competitive Programming/Hackerearth/Monk and Search.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
3
2019-06-23T14:15:08.000Z
2019-07-09T20:40:58.000Z
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; vector<int> a(n); for(int i=0;i<n;i++) { cin>>a[i]; } sort(a.begin(),a.end()); int q; cin>>q; while(q--) { int x,y; cin>>x>>y; if(x==0) { int result=lower_bound(a.begin(),a.end(),y)-a.begin(); cout<<n-result<<"\n"; } else { int result=upper_bo...
10.421053
54
0.570707
[ "vector" ]
83f4087d90e642cfd14e71462c7ad2eef3b67691
792
cpp
C++
acmicpc/12784.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/12784.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/12784.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
#include <iostream> #include <vector> using namespace std; #define MAX 1001 const int INF = 1e9+7; vector<pair<int, int>> graph[MAX]; int dfs(int prev, int cur, int dist) { int ret = 0; for (int i=0; i<graph[cur].size(); ++i) { auto [next, cost] = graph[cur][i]; if (prev != next) ret += dfs(cur, next, cost);...
14.666667
42
0.521465
[ "vector" ]
83fad2f31f82c382d9ab192e290dff74a78d2c3f
512
cpp
C++
qtableviewex.cpp
chemmalion/EIDBEditor
1e7b6ae225924088737b41f5aef75f94dcff51e4
[ "MIT" ]
10
2015-08-31T17:21:53.000Z
2021-02-14T13:35:52.000Z
qtableviewex.cpp
chemmalion/EIDBEditor
1e7b6ae225924088737b41f5aef75f94dcff51e4
[ "MIT" ]
5
2018-03-19T03:02:50.000Z
2020-12-31T14:54:13.000Z
qtableviewex.cpp
chemmalion/EIDBEditor
1e7b6ae225924088737b41f5aef75f94dcff51e4
[ "MIT" ]
null
null
null
#include "qtableviewex.h" QTableViewEx::QTableViewEx(QAbstractItemModel * model, QWidget * parent) : FreezeTableWidget(model,parent) { } QTableViewEx::~QTableViewEx () { } QModelIndex QTableViewEx::myMoveCursor( int cursorAction, Qt::KeyboardModifiers modifiers ) { return moveCursor( (QAbstractI...
23.272727
92
0.724609
[ "model" ]
8609d06c2719e7059b5a1a76fd39dc34a6db3965
1,438
cpp
C++
cpp/src/WordSearch.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
4
2018-03-05T02:27:16.000Z
2021-03-15T14:19:44.000Z
cpp/src/WordSearch.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
null
null
null
cpp/src/WordSearch.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
2
2018-07-22T10:32:10.000Z
2018-10-20T03:14:28.000Z
#include "WordSearch.h" #include <cassert> #include <limits> using namespace lcpp; template<typename T> using Vec2D = std::vector<std::vector<T>>; static bool exist(Vec2D<char> &Board, Vec2D<char>::size_type I, Vec2D<char>::size_type J, Vec2D<bool> &Visited, ...
30.595745
72
0.548679
[ "vector" ]
860e099ec48d8ea39be3d76dab4ccbe5bb972718
298
hh
C++
Sources/AGEngine/Render/Pipelining/Buffer/IFramebufferStorage.hh
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
47
2015-03-29T09:44:25.000Z
2020-11-30T10:05:56.000Z
Sources/AGEngine/Render/Pipelining/Buffer/IFramebufferStorage.hh
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
313
2015-01-01T18:16:30.000Z
2015-11-30T07:54:07.000Z
Sources/AGEngine/Render/Pipelining/Buffer/IFramebufferStorage.hh
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
9
2015-06-07T13:21:54.000Z
2020-08-25T09:50:07.000Z
#pragma once # include <Utils/OpenGL.hh> # include <Render/Pipelining/Buffer/Framebuffer.hh> namespace AGE { class IFramebufferStorage { public: virtual ~IFramebufferStorage(){} virtual IFramebufferStorage const &attachment(Framebuffer const &framebuffer, GLenum attach) const = 0; }; }
18.625
105
0.758389
[ "render" ]
862733a28ad688707f7c5ba5a306e6e13d8dfe14
329
hpp
C++
src/sys/render.hpp
vanill4Sky/aconitum
fe0449376995d469f9dcfff524f3e36ba2097f5c
[ "MIT" ]
null
null
null
src/sys/render.hpp
vanill4Sky/aconitum
fe0449376995d469f9dcfff524f3e36ba2097f5c
[ "MIT" ]
null
null
null
src/sys/render.hpp
vanill4Sky/aconitum
fe0449376995d469f9dcfff524f3e36ba2097f5c
[ "MIT" ]
null
null
null
#pragma once #include <entt/fwd.hpp> #include <SFML/Graphics/RenderWindow.hpp> #include <vector> #include "../comp/sprite.hpp" namespace aco::sys { void sort_sprites(std::vector<const aco::comp::sprite*>& orderd_sprites); void draw_entities(std::vector<const aco::comp::sprite*>& orderd_sprites, sf::RenderWindow& wi...
21.933333
100
0.741641
[ "vector" ]
862a2822ba1c871ade68528469205353e5a193b9
11,081
cpp
C++
Source/Renderer/NuklearGUIRenderer.cpp
DavidTheFighter/KalosEngine
4c550114066bee1c41d08f38f5b692e567e96c27
[ "MIT" ]
1
2018-12-16T21:19:58.000Z
2018-12-16T21:19:58.000Z
Source/Renderer/NuklearGUIRenderer.cpp
DavidTheFighter/KalosEngine
4c550114066bee1c41d08f38f5b692e567e96c27
[ "MIT" ]
null
null
null
Source/Renderer/NuklearGUIRenderer.cpp
DavidTheFighter/KalosEngine
4c550114066bee1c41d08f38f5b692e567e96c27
[ "MIT" ]
null
null
null
#include "Renderer/NuklearGUIRenderer.h" #include <RendererCore/Renderer.h> #define NK_INCLUDE_FIXED_TYPES #define NK_INCLUDE_STANDARD_IO #define NK_INCLUDE_STANDARD_VARARGS #define NK_INCLUDE_DEFAULT_ALLOCATOR #define NK_INCLUDE_VERTEX_BUFFER_OUTPUT #define NK_INCLUDE_FONT_BAKING #include <nuklear.h> ty...
39.155477
206
0.777006
[ "vector" ]
86384a0f2be5385ce09c5f0f387ff1c2e8c6d53b
2,490
inl
C++
inc/behaviac/base/object/tagobject.inl
675492062/behaviac
f7c3df58e704b1e8248b3f931c6f582915da654b
[ "BSD-3-Clause" ]
1
2016-07-25T10:38:38.000Z
2016-07-25T10:38:38.000Z
inc/behaviac/base/object/tagobject.inl
675492062/behaviac
f7c3df58e704b1e8248b3f931c6f582915da654b
[ "BSD-3-Clause" ]
null
null
null
inc/behaviac/base/object/tagobject.inl
675492062/behaviac
f7c3df58e704b1e8248b3f931c6f582915da654b
[ "BSD-3-Clause" ]
2
2016-03-17T11:19:16.000Z
2020-03-16T16:17:56.000Z
///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Tencent is pleased to support the open source community by making behaviac available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clau...
41.5
113
0.669076
[ "object" ]
863ef14c7a5bf293540d2be666cda654dceccbd1
4,051
hpp
C++
include/lvr2/registration/GraphSLAM.hpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
38
2019-06-19T15:10:35.000Z
2022-02-16T03:08:24.000Z
include/lvr2/registration/GraphSLAM.hpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
9
2019-06-19T16:19:51.000Z
2021-09-17T08:31:25.000Z
include/lvr2/registration/GraphSLAM.hpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
13
2019-04-16T11:50:32.000Z
2020-11-26T07:47:44.000Z
/** * Copyright (c) 2018, University Osnabrück * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this li...
37.509259
137
0.716119
[ "vector" ]
8646973e10782272d12cbb8aae6f19f7fe579c69
2,346
cpp
C++
SU2-Quantum/Common/src/geometry/primal_grid/CLine.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/Common/src/geometry/primal_grid/CLine.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/Common/src/geometry/primal_grid/CLine.cpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
1
2021-12-03T06:40:08.000Z
2021-12-03T06:40:08.000Z
/*! * \file CLine.cpp * \brief Main classes for defining the primal grid elements * \author F. Palacios * \version 7.0.6 "Blackbird" * * SU2 Project Website: https://su2code.github.io * * The SU2 Project is maintained by the SU2 Foundation * (http://su2foundation.org) * * Copyright 2012-2020, SU2 Contributor...
28.609756
83
0.694373
[ "geometry" ]
8648e7123be435500cfe76e3dc042479355e8a62
929
hpp
C++
lib/glimac/include/glimac/Rbf.hpp
elisacia/World-Imaker
c168521c168336a4be7835a2adeee9cc7a672681
[ "MIT" ]
null
null
null
lib/glimac/include/glimac/Rbf.hpp
elisacia/World-Imaker
c168521c168336a4be7835a2adeee9cc7a672681
[ "MIT" ]
null
null
null
lib/glimac/include/glimac/Rbf.hpp
elisacia/World-Imaker
c168521c168336a4be7835a2adeee9cc7a672681
[ "MIT" ]
null
null
null
#ifndef RBF_HPP #define RBF_HPP #pragma once #include <vector> #include <glimac/Cube.hpp> #include <math.h> #include <algorithm> #include <numeric> #include <Eigen/Dense> namespace glimac{ enum class FunctionType { Gaussian, // f(r) = exp(-(epsilon * r)^2) ThinPlateSpline, // f(r) = (r...
23.225
114
0.638321
[ "vector" ]
864e8fd3015f57f28535bbebe57f57a01f1a5bfe
54,229
cpp
C++
export/windows/obj/src/flixel/tweens/FlxTween.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/flixel/tweens/FlxTween.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/flixel/tweens/FlxTween.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_95f339a1d026d52c #define INCLUDED_95f339a1d026d52c #include "hxMath.h" #endif #ifndef INCLUDED_flixel_FlxBasic #include <flixel/FlxBasic.h> #endif #ifndef INCLUDED_flixel_FlxObject #include <flixel/FlxObject.h> #endif #ifndef INCLUDED_flixel_FlxSprite #inc...
47.485989
260
0.708366
[ "object", "3d" ]