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
5dda64e18a7fe9bfc8c8bd46d0577c4fb57a3cc9
1,199
cpp
C++
cpp/Problem-12.cpp
shivamacs/solve-project-euler
296ecc9098417c413366e01d4aa125b9acac31b1
[ "MIT" ]
null
null
null
cpp/Problem-12.cpp
shivamacs/solve-project-euler
296ecc9098417c413366e01d4aa125b9acac31b1
[ "MIT" ]
null
null
null
cpp/Problem-12.cpp
shivamacs/solve-project-euler
296ecc9098417c413366e01d4aa125b9acac31b1
[ "MIT" ]
null
null
null
/* The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be: 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ... Let us list the factors of the first seven triangle numbers: 1: 1 3: 1,3 ...
25.510638
147
0.53628
[ "vector" ]
5ddaa0d44a36f4e33771a556cb951d53d24e2e20
4,400
cpp
C++
src/video/drivers/pango_video.cpp
hyhyhy666/Pangolin
27abebdd1aa004a0ffb0b96b52319a816fd89574
[ "MIT" ]
25
2016-06-16T13:21:05.000Z
2021-01-05T12:03:02.000Z
src/video/drivers/pango_video.cpp
hyhyhy666/Pangolin
27abebdd1aa004a0ffb0b96b52319a816fd89574
[ "MIT" ]
1
2022-02-27T07:12:34.000Z
2022-02-27T07:12:34.000Z
src/video/drivers/pango_video.cpp
hyhyhy666/Pangolin
27abebdd1aa004a0ffb0b96b52319a816fd89574
[ "MIT" ]
23
2016-06-17T01:49:13.000Z
2022-01-24T13:59:31.000Z
/* This file is part of the Pangolin Project. * http://github.com/stevenlovegrove/Pangolin * * Copyright (c) 2014 Steven Lovegrove * * 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 wit...
26.829268
98
0.624773
[ "vector" ]
5ddbbe00387ec309e851eb250c469e55f50520f7
1,521
hpp
C++
cmake/external/coremltools/mlmodel/src/NeuralNetworkBuffer.hpp
fushwLZU/onnxruntime_test
7ee82dde9150dc0d3014c06a82eabdecb989f2f3
[ "MIT" ]
3
2018-10-02T17:23:01.000Z
2020-08-15T04:47:07.000Z
mlmodel/src/NeuralNetworkBuffer.hpp
holzschu/coremltools
5ece9069a1487d5083f00f56afe07832d88e3dfa
[ "BSD-3-Clause" ]
75
2020-11-24T05:37:45.000Z
2022-02-25T15:14:23.000Z
mlmodel/src/NeuralNetworkBuffer.hpp
holzschu/coremltools
5ece9069a1487d5083f00f56afe07832d88e3dfa
[ "BSD-3-Clause" ]
1
2021-05-07T15:38:20.000Z
2021-05-07T15:38:20.000Z
// // NeuralNetworkBuffer.hpp // CoreML // // Created by Bhushan Sonawane on 11/8/19. // Copyright © 2019 Apple Inc. All rights reserved. // #pragma once #include <fstream> #include <string> #include <vector> namespace NNBuffer { enum class BufferMode { Write=0, Append, Read }; // // NeuralNetworkB...
27.160714
99
0.720579
[ "vector" ]
5dedde5e3d075781fc38ed5defa9d5a519a011a1
4,934
hh
C++
sniper/common/misc/FSBAllocator.hh
kleberkruger/donuts
99a7c5885fcb6d252a47a4cb74ca714f8ba12ca6
[ "MIT" ]
1
2021-04-22T05:27:08.000Z
2021-04-22T05:27:08.000Z
sniper/common/misc/FSBAllocator.hh
kleberkruger/donuts
99a7c5885fcb6d252a47a4cb74ca714f8ba12ca6
[ "MIT" ]
null
null
null
sniper/common/misc/FSBAllocator.hh
kleberkruger/donuts
99a7c5885fcb6d252a47a4cb74ca714f8ba12ca6
[ "MIT" ]
1
2021-10-04T13:53:51.000Z
2021-10-04T13:53:51.000Z
/*=========================================================================== This library is released under the MIT license. See FSBAllocator.html for further information and documentation. Copyright (c) 2008-2011 Juha Nieminen Permission is hereby granted, free of charge, to any person obtaining a copy of this ...
29.90303
184
0.599311
[ "vector" ]
5df88074d2f7d51c3e243c598bef2ba91b2a2d75
3,048
cpp
C++
data/dailyCodingProblem292.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
2
2020-09-04T20:56:23.000Z
2021-06-11T07:42:26.000Z
data/dailyCodingProblem728.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
data/dailyCodingProblem728.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* A teacher must divide a class of students into two teams to play dodgeball. Unfortunately, not all the kids get along, and several refuse to be put on the same team as that of their enemies. Given an adjacency list of students and their enemies, write an algorithm that...
18.814815
77
0.631562
[ "vector" ]
5df96c5b9d1837e693a767f1f0faf29a1ae30d39
7,421
cpp
C++
src/phyx-1.01/src/main_revcomp.cpp
jlanga/smsk_selection
08070c6d4a6fbd9320265e1e698c95ba80f81123
[ "MIT" ]
4
2021-07-18T05:20:20.000Z
2022-01-03T10:22:33.000Z
src/phyx-1.01/src/main_revcomp.cpp
jlanga/smsk_selection
08070c6d4a6fbd9320265e1e698c95ba80f81123
[ "MIT" ]
1
2017-08-21T07:26:13.000Z
2018-11-08T13:59:48.000Z
src/phyx-1.01/src/main_revcomp.cpp
jlanga/smsk_orthofinder
08070c6d4a6fbd9320265e1e698c95ba80f81123
[ "MIT" ]
2
2021-07-18T05:20:26.000Z
2022-03-31T18:23:31.000Z
#include <algorithm> #include <iostream> #include <fstream> #include <string> #include <vector> #include <cstring> #include <time.h> #include <stdlib.h> #include <getopt.h> using namespace std; #include "seq_reader.h" #include "sequence.h" #include "seq_utils.h" #include "utils.h" #include "log.h" #include "edlib.h" ...
31.578723
123
0.518798
[ "vector" ]
5dfdb35644c0475c74da120eb5d7271207c2be58
3,930
cpp
C++
Shoot/src/Button.cpp
franticsoftware/starports
d723404b20383949874868c251c60cfa06120fde
[ "MIT" ]
5
2016-11-13T08:13:57.000Z
2019-03-31T10:22:38.000Z
Shoot/src/Button.cpp
franticsoftware/starports
d723404b20383949874868c251c60cfa06120fde
[ "MIT" ]
null
null
null
Shoot/src/Button.cpp
franticsoftware/starports
d723404b20383949874868c251c60cfa06120fde
[ "MIT" ]
1
2016-12-23T11:25:35.000Z
2016-12-23T11:25:35.000Z
/* Amine Rehioui Created: September 3rd 2013 */ #include "Shoot.h" #include "Button.h" #include "Sprite.h" #include "InputManager.h" #include "EventManager.h" #include "LayoutComponent.h" namespace shoot { DEFINE_OBJECT(Button); //! Constructor Button::Button() : m_bPressed(false) // properties , m_bC...
24.5625
98
0.707379
[ "transform" ]
b908936491207f437bd2c436a7bdbd03fac217b5
794
hpp
C++
include/RED4ext/Scripting/Natives/Generated/game/ReplicatedShotData.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/game/ReplicatedShotData.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/game/ReplicatedShotData.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Handle.hpp> #include <RED4ext/NativeTypes.hpp> #include <RED4ext/Scripting/Natives/Generated/Vector3.hpp> #include <RED4ext/Scripting/Natives/Generated/net/Time.hpp> namespace RED...
25.612903
65
0.736776
[ "object" ]
b90fae9f1ec1eb0193cf88c9f7c140c04ac71931
34,892
cpp
C++
water/src/water/water.cpp
Ludophonic/JigLib
541ec63b345ccf01e58cce49eb2f73c21eaf6aa6
[ "Zlib" ]
10
2016-06-01T12:54:45.000Z
2021-09-07T17:34:37.000Z
water/src/water/water.cpp
Ludophonic/JigLib
541ec63b345ccf01e58cce49eb2f73c21eaf6aa6
[ "Zlib" ]
null
null
null
water/src/water/water.cpp
Ludophonic/JigLib
541ec63b345ccf01e58cce49eb2f73c21eaf6aa6
[ "Zlib" ]
4
2017-05-03T14:03:03.000Z
2021-01-04T04:31:15.000Z
//============================================================== // Copyright (C) 2004 Danny Chapman // danny@rowlhouse.freeserve.co.uk //-------------------------------------------------------------- // /// @file water.cpp // // Simulation of a liquid (typically water...
28.788779
91
0.543391
[ "render", "object" ]
b913101a72e0d71d9bbdb0fe2e8a666a1e8390fe
3,930
cpp
C++
spoj/gss3.cpp
dotslash/algProg
5618c5741553776bcb28959b2838500be8b2c3b6
[ "MIT" ]
null
null
null
spoj/gss3.cpp
dotslash/algProg
5618c5741553776bcb28959b2838500be8b2c3b6
[ "MIT" ]
null
null
null
spoj/gss3.cpp
dotslash/algProg
5618c5741553776bcb28959b2838500be8b2c3b6
[ "MIT" ]
null
null
null
#include <cstdio> #include <cassert> #include <cstring> #include <climits> #include <cmath> #include <iostream> #include <algorithm> #include <vector> #define pb push_back #define long long long #define nl(x) scanf("%lld",&x) #define ni(x) scanf("%d",&x) #define pii pair<int,int> #define val1 first #define val2 secon...
25.519481
95
0.596438
[ "vector" ]
2c6c977465d53064dc37d0f9b5fab4bb469e6a52
1,059
cpp
C++
data/dailyCodingProblem244.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
2
2020-09-04T20:56:23.000Z
2021-06-11T07:42:26.000Z
data/dailyCodingProblem244.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
data/dailyCodingProblem244.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* The Sieve of Eratosthenes is an algorithm used to generate all prime numbers smaller than N. The method is to take increasingly larger prime numbers, and mark their multiples as composite. For example, to find all primes less than 100, we would first mark [4, 6, 8, ......
23.021739
98
0.653447
[ "vector" ]
2c7048e10614ab4e051e7222dbe59eb2f013817f
30,748
cpp
C++
Temp/StagingArea/Data/il2cppOutput/UnityEngine.PhysicsModule.cpp
Sunderer325/DigitalOxygenTest
26ae3e725fe6ecba49cf52739890a9a559ce61ce
[ "MIT" ]
1
2021-06-30T23:24:16.000Z
2021-06-30T23:24:16.000Z
Temp/StagingArea/Data/il2cppOutput/UnityEngine.PhysicsModule.cpp
Sunderer325/ThereIsAHundredOfThem
26ae3e725fe6ecba49cf52739890a9a559ce61ce
[ "MIT" ]
null
null
null
Temp/StagingArea/Data/il2cppOutput/UnityEngine.PhysicsModule.cpp
Sunderer325/ThereIsAHundredOfThem
26ae3e725fe6ecba49cf52739890a9a559ce61ce
[ "MIT" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "codegen/il2cpp-codegen.h" #include "il2cpp-object-internals.h" // Syste...
44.562319
247
0.848055
[ "object" ]
2c762793acbc806fda07a93ee353b7266b9c3bdd
26,247
cpp
C++
DXSDK30/sdk/samples/iklowns/cglevel.cpp
prefetchnta/dxsdk_old
beb6a7bd52dd1ae8460cf9dc810113f1e87a56fc
[ "CC0-1.0" ]
1
2022-03-21T06:31:34.000Z
2022-03-21T06:31:34.000Z
DXSDK30/sdk/samples/iklowns/cglevel.cpp
prefetchnta/dxsdk_old
beb6a7bd52dd1ae8460cf9dc810113f1e87a56fc
[ "CC0-1.0" ]
null
null
null
DXSDK30/sdk/samples/iklowns/cglevel.cpp
prefetchnta/dxsdk_old
beb6a7bd52dd1ae8460cf9dc810113f1e87a56fc
[ "CC0-1.0" ]
null
null
null
/*===========================================================================*\ | | File: cglevel.cpp | | Description: | |----------------------------------------------------------------------------- | | Copyright (C) 1995-1996 Microsoft Corporation. All Rights Reserved. | | Written by Mos...
29.590755
117
0.497809
[ "render", "object" ]
2c7e127272c7fb2094fd52c9d3e7b5b16dcc107d
49,775
cpp
C++
d-mon/dstr.cpp
DavydMon/plib_ios
10de286c9b517e9f9a39c306256b3d4a24f11da3
[ "MIT" ]
null
null
null
d-mon/dstr.cpp
DavydMon/plib_ios
10de286c9b517e9f9a39c306256b3d4a24f11da3
[ "MIT" ]
null
null
null
d-mon/dstr.cpp
DavydMon/plib_ios
10de286c9b517e9f9a39c306256b3d4a24f11da3
[ "MIT" ]
null
null
null
/* $Id:$ $Change:$ $DateTime:$ $Author:$ */ #include <string.h> #include "dmain.h" #include "dstr.h" #ifdef LINUX namespace dmon { #endif const char dlib_hex_symbol_table[16]={'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'}; const char *dlib_word_hex_symbols_tab...
15.30126
104
0.490869
[ "3d" ]
2c802d1135288769b258c55c31c094376db402a2
953
cpp
C++
C++/Algorithms/Dynamic Programming/Longest Increasing Subsequence.cpp
anandamit07/hacktoberfest2021
dba4da64a7dee2835d2e03bcdb0a71d28815d50d
[ "MIT" ]
null
null
null
C++/Algorithms/Dynamic Programming/Longest Increasing Subsequence.cpp
anandamit07/hacktoberfest2021
dba4da64a7dee2835d2e03bcdb0a71d28815d50d
[ "MIT" ]
null
null
null
C++/Algorithms/Dynamic Programming/Longest Increasing Subsequence.cpp
anandamit07/hacktoberfest2021
dba4da64a7dee2835d2e03bcdb0a71d28815d50d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int LIS(vector<int> &arr, int n){ int lis[n]; lis[0] = 1; for (int i = 1; i < n; i++) { lis[i] = 1; for (int j = 0; j < i; j++){ if (arr[i] > arr[j] && lis[i] < lis[j] + 1){ lis[i] = lis[j] + 1; ...
16.431034
69
0.406086
[ "vector" ]
2c80bc68434dabd6538ef215b42950ae1b03e0ca
1,182
cpp
C++
atcoder/arc/arc035_c_2.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
1
2018-11-12T15:18:55.000Z
2018-11-12T15:18:55.000Z
atcoder/arc/arc035_c_2.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
atcoder/arc/arc035_c_2.cpp
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef pair<int, int> P; typedef pair<ll, ll> Pll; typedef vector<int> Vi; //typedef tuple<int, int, int> T; #define FOR(i,s,x) for(int i=s;i<(int)(x);i++) #define REP(i,x) FOR(i,0,x) #define ALL(c) c.begin(), c.end() #define DUMP( x ) cerr << #x...
23.176471
74
0.468697
[ "vector" ]
2c8139453b26c5d5895fadc8afb1934ff304d82a
230
hpp
C++
src/aoc2021/runners/Day1.hpp
LunarWatcher/AoC2021
e327d1ff54ec0b9aa655545f465304797d1b7da0
[ "MIT" ]
null
null
null
src/aoc2021/runners/Day1.hpp
LunarWatcher/AoC2021
e327d1ff54ec0b9aa655545f465304797d1b7da0
[ "MIT" ]
null
null
null
src/aoc2021/runners/Day1.hpp
LunarWatcher/AoC2021
e327d1ff54ec0b9aa655545f465304797d1b7da0
[ "MIT" ]
null
null
null
#pragma once #include "Runner.hpp" #include <vector> namespace aoc { class Day1 : public Runner { private: std::vector<int> input; std::string runner(int offset); public: Day1(); StrPair run() override; }; }
11.5
35
0.643478
[ "vector" ]
2c85f2341b73356e0e561039e44cac9f6b327d38
99
hpp
C++
Quark-Core/include/render/buffer/buffer.hpp
thehutch/Quark-Engine
4afa0372e44707b89eecae218882021b415e2578
[ "MIT" ]
null
null
null
Quark-Core/include/render/buffer/buffer.hpp
thehutch/Quark-Engine
4afa0372e44707b89eecae218882021b415e2578
[ "MIT" ]
null
null
null
Quark-Core/include/render/buffer/buffer.hpp
thehutch/Quark-Engine
4afa0372e44707b89eecae218882021b415e2578
[ "MIT" ]
null
null
null
#pragma once namespace QE { namespace Render { class Buffer { public: public: }; } }
7.071429
17
0.59596
[ "render" ]
2c897e2fc008b6707f988bd221b42aed7b1166a5
23,092
cpp
C++
src/Sandbox/main.cpp
evinstk/TantechEngine
6621b6d159629547c8d75a49ffdf099a8052a2f6
[ "MIT" ]
null
null
null
src/Sandbox/main.cpp
evinstk/TantechEngine
6621b6d159629547c8d75a49ffdf099a8052a2f6
[ "MIT" ]
2
2015-11-16T16:05:08.000Z
2015-11-16T16:06:10.000Z
src/Sandbox/main.cpp
evinstk/TantechEngine
6621b6d159629547c8d75a49ffdf099a8052a2f6
[ "MIT" ]
null
null
null
#include <SDL.h> #include <GL/glew.h> #include <SDL_opengl.h> #include <gl/GLU.h> #include <iostream> #include <math.h> #include <vector> #include <map> #include <functional> #include <algorithm> #include <fstream> #include <sstream> #include <lua.hpp> #include <LuaBridge.h> #include <glm/glm.hpp> #include <glm/gtc/typ...
34.465672
171
0.560107
[ "mesh", "vector", "model", "transform" ]
2c8b58b7f39e46f0ec0398662c25789787bf0db9
2,767
cpp
C++
UVA/UVA1424-Salesmen-DP.cpp
xehoth/OnlineJudgeCodes
013d31cccaaa1d2b6d652c2f5d5d6cb2e39884a7
[ "Apache-2.0" ]
7
2017-09-21T13:20:05.000Z
2020-03-02T03:03:04.000Z
UVA/UVA1424-Salesmen-DP.cpp
xehoth/OnlineJudgeCodes
013d31cccaaa1d2b6d652c2f5d5d6cb2e39884a7
[ "Apache-2.0" ]
null
null
null
UVA/UVA1424-Salesmen-DP.cpp
xehoth/OnlineJudgeCodes
013d31cccaaa1d2b6d652c2f5d5d6cb2e39884a7
[ "Apache-2.0" ]
3
2019-01-05T07:02:57.000Z
2019-06-13T08:23:13.000Z
/** * Copyright (c) 2017, xehoth * All rights reserved. * 「UVA 1424」Salesmen 05-10-2017 * DP * @author xehoth */ #include <bits/stdc++.h> namespace IO { inline char read() { static const int IN_LEN = 100000; static char buf[IN_LEN], *s, *t; s == t ? t = (s = buf) + fread(buf, 1, IN_LEN, stdin) : 0; ...
22.314516
77
0.496205
[ "vector" ]
2c8e3f43b815b3fb8ff2bc43deaa2791f1b08608
4,236
cpp
C++
src/smartpeak/source/core/SequenceSegmentProcessor.cpp
dmccloskey/SmartPeak2
d3b42a938b225973117ddd4f9f5e5016034c09be
[ "MIT" ]
7
2020-07-16T02:51:26.000Z
2020-10-17T11:20:35.000Z
src/smartpeak/source/core/SequenceSegmentProcessor.cpp
dmccloskey/SmartPeak2
d3b42a938b225973117ddd4f9f5e5016034c09be
[ "MIT" ]
5
2020-08-02T20:18:31.000Z
2020-12-01T13:37:49.000Z
src/smartpeak/source/core/SequenceSegmentProcessor.cpp
dmccloskey/SmartPeak2
d3b42a938b225973117ddd4f9f5e5016034c09be
[ "MIT" ]
1
2020-07-25T07:41:22.000Z
2020-07-25T07:41:22.000Z
// -------------------------------------------------------------------------- // SmartPeak -- Fast and Accurate CE-, GC- and LC-MS(/MS) Data Processing // -------------------------------------------------------------------------- // Copyright The SmartPeak Team -- Novo Nordisk Foundation // Center for Biosustainabil...
41.529412
123
0.693107
[ "vector" ]
2ca16932c73f3bdbb3baa8dd2b5cecfcaefbd13e
16,124
cpp
C++
Libraries/RobsJuceModules/rapt/Filters/Scientific/InfiniteImpulseResponseDesigner.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Libraries/RobsJuceModules/rapt/Filters/Scientific/InfiniteImpulseResponseDesigner.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Libraries/RobsJuceModules/rapt/Filters/Scientific/InfiniteImpulseResponseDesigner.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
// construction/destruction: template<class T> rsInfiniteImpulseResponseDesigner<T>::rsInfiniteImpulseResponseDesigner() { sampleRate = 44100.0; frequency = 1000.0; setBandwidth(1.0); // sets up lowerFrequency and upperFrequency gain = rsAmpToDb(T(0.25)); mode = LOWPASS; protot...
33.245361
139
0.685252
[ "vector", "transform" ]
2ca3d044cec80278d2ffcd494094f61e01584342
13,515
cpp
C++
be/src/exec/vectorized/chunks_sorter.cpp
niexiongchao/starRocks
afecea80e50ee505261fffc3cff5f546ee285475
[ "Zlib", "PSF-2.0", "Apache-2.0" ]
null
null
null
be/src/exec/vectorized/chunks_sorter.cpp
niexiongchao/starRocks
afecea80e50ee505261fffc3cff5f546ee285475
[ "Zlib", "PSF-2.0", "Apache-2.0" ]
null
null
null
be/src/exec/vectorized/chunks_sorter.cpp
niexiongchao/starRocks
afecea80e50ee505261fffc3cff5f546ee285475
[ "Zlib", "PSF-2.0", "Apache-2.0" ]
null
null
null
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited. #include "exec/vectorized/chunks_sorter.h" #include "column/column_helper.h" #include "column/type_traits.h" #include "exec/vectorized/sorting/sort_permute.h" #include "exprs/expr.h" #include "gutil/casts.h" #include "r...
45.505051
120
0.602368
[ "vector" ]
2ca6ff31886ce3b3740903e510a8197189c02f14
4,018
hpp
C++
obs-studio/UI/qt-wrappers.hpp
noelemahcz/libobspp
029472b973e5a1985f883242f249848385df83a3
[ "MIT" ]
null
null
null
obs-studio/UI/qt-wrappers.hpp
noelemahcz/libobspp
029472b973e5a1985f883242f249848385df83a3
[ "MIT" ]
null
null
null
obs-studio/UI/qt-wrappers.hpp
noelemahcz/libobspp
029472b973e5a1985f883242f249848385df83a3
[ "MIT" ]
null
null
null
/****************************************************************************** Copyright (C) 2013 by Hugh Bailey <obs.jim@gmail.com> 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, e...
32.934426
79
0.720757
[ "vector" ]
2ca8b1dafb19b1a980d5361bce055e3eaf445f98
2,667
cpp
C++
game/Player.cpp
carbonacat/pokitto-tasui-example
eb4847833785cf28610d83cd13dc200be65dc2cf
[ "Apache-2.0" ]
null
null
null
game/Player.cpp
carbonacat/pokitto-tasui-example
eb4847833785cf28610d83cd13dc200be65dc2cf
[ "Apache-2.0" ]
null
null
null
game/Player.cpp
carbonacat/pokitto-tasui-example
eb4847833785cf28610d83cd13dc200be65dc2cf
[ "Apache-2.0" ]
null
null
null
#include "game/Player.hpp" #include "game/EnvTools.hpp" #include "ToiletPaper.h" namespace game { static constexpr Vector2 toiletPaperOrigin = {8, 8}; // Lifecycle. void Player::prepareForExploration() noexcept { _sprite.play(dude, Dude::walkS); } void Player::updateExplorat...
28.677419
176
0.512936
[ "render" ]
2ca9f03817b92f48a9410faf92cc63dd8fb98a0c
9,227
cc
C++
onnxruntime/core/providers/openvino/ov_versions/utils.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
6,036
2019-05-07T06:03:57.000Z
2022-03-31T17:59:54.000Z
onnxruntime/core/providers/openvino/ov_versions/utils.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
5,730
2019-05-06T23:04:55.000Z
2022-03-31T23:55:56.000Z
onnxruntime/core/providers/openvino/ov_versions/utils.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
1,566
2019-05-07T01:30:07.000Z
2022-03-31T17:06:50.000Z
// Copyright(C) 2019 Intel Corporation // Licensed under the MIT License #include "core/providers/shared_library/provider_api.h" #if defined(_MSC_VER) #pragma warning(disable : 4244 4245 5208) #elif __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-parameter" #endif #include <ngraph/ngraph...
36.184314
159
0.669015
[ "shape", "vector" ]
2cbadcf9061c27c208ce40b924c92bae5e7831fa
3,092
cpp
C++
AdvancedLevel_C++/1004. Counting Leaves (30) .cpp
XXlijiulong/ProgramTrouble
c6353bda1c2584a8f45a2c3b2f64ecf92500fc4f
[ "Apache-2.0" ]
null
null
null
AdvancedLevel_C++/1004. Counting Leaves (30) .cpp
XXlijiulong/ProgramTrouble
c6353bda1c2584a8f45a2c3b2f64ecf92500fc4f
[ "Apache-2.0" ]
null
null
null
AdvancedLevel_C++/1004. Counting Leaves (30) .cpp
XXlijiulong/ProgramTrouble
c6353bda1c2584a8f45a2c3b2f64ecf92500fc4f
[ "Apache-2.0" ]
null
null
null
1004. Counting Leaves (30) A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child. Input Each input file contains one test case. Each case starts with a line containing 0 < N < 100, the number of nodes in a tree, and M (< N), the number of non-leaf nodes....
32.893617
253
0.598642
[ "vector" ]
2cc9209629d962702a7c623b44f898c92f390fd1
14,288
cpp
C++
Engine/source/EtRendering/SceneRendering/ShadedSceneRenderer.cpp
NeroBurner/ETEngine
3fe039ff65cd1355957bcfce3f851fa411a86d94
[ "MIT" ]
null
null
null
Engine/source/EtRendering/SceneRendering/ShadedSceneRenderer.cpp
NeroBurner/ETEngine
3fe039ff65cd1355957bcfce3f851fa411a86d94
[ "MIT" ]
null
null
null
Engine/source/EtRendering/SceneRendering/ShadedSceneRenderer.cpp
NeroBurner/ETEngine
3fe039ff65cd1355957bcfce3f851fa411a86d94
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "ShadedSceneRenderer.h" #include <EtCore/Content/ResourceManager.h> #include <EtRendering/GlobalRenderingSystems/GlobalRenderingSystems.h> #include <EtRendering/SceneStructure/RenderScene.h> #include <EtRendering/GraphicsTypes/EnvironmentMap.h> #include <EtRendering/MaterialSystem/Materia...
30.793103
136
0.720605
[ "mesh", "render", "model", "transform" ]
2ccfd70e7e4651bbecd6e49425e76d3be808899a
4,915
cc
C++
src/Coordinates.cc
GandalfTea/enginehmw
29a363eed0b294ce76a90cd7da1b9c60b8c1839d
[ "MIT" ]
null
null
null
src/Coordinates.cc
GandalfTea/enginehmw
29a363eed0b294ce76a90cd7da1b9c60b8c1839d
[ "MIT" ]
null
null
null
src/Coordinates.cc
GandalfTea/enginehmw
29a363eed0b294ce76a90cd7da1b9c60b8c1839d
[ "MIT" ]
null
null
null
#include <Coordinates.h> namespace MEGA { // Quanternions Quaternion::Quaternion( float s, float v1, float v2, float v3 ) : s(s), v1(v1), v2(v2), v3(v3) { m = sqrt( pow(s, 2) + pow(v1, 2) + pow(v2, 2) + pow(v3, 2) ); } // Euler -> Quaternion Quaternion::Quaternion( EulerAngle src ) { float x = src.phi/...
29.431138
88
0.478128
[ "vector" ]
2cd1bd61e9d288ac995f2374235a1c387da82845
12,825
cc
C++
L1Trigger/L1TTrackMatch/plugins/L1TkFastVertexProducer.cc
tklijnsma/cmssw
d7f103c459dd195eaa651ce0c30e4bd4bfd0fe43
[ "Apache-2.0" ]
1
2020-07-12T11:51:32.000Z
2020-07-12T11:51:32.000Z
L1Trigger/L1TTrackMatch/plugins/L1TkFastVertexProducer.cc
tklijnsma/cmssw
d7f103c459dd195eaa651ce0c30e4bd4bfd0fe43
[ "Apache-2.0" ]
3
2020-02-19T08:33:16.000Z
2020-03-13T10:02:19.000Z
L1Trigger/L1TTrackMatch/plugins/L1TkFastVertexProducer.cc
tklijnsma/cmssw
d7f103c459dd195eaa651ce0c30e4bd4bfd0fe43
[ "Apache-2.0" ]
1
2018-01-22T10:20:10.000Z
2018-01-22T10:20:10.000Z
// -*- C++ -*- // // // Original Author: Emmanuelle Perez,40 1-A28,+41227671915, // Created: Tue Nov 12 17:03:19 CET 2013 // $Id$ // // // system include files #include <memory> #include <string> // user include files #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/E...
33.225389
121
0.647797
[ "geometry", "vector" ]
2cd85683bbb05633e26024198844b12afe0b62f8
91,860
cxx
C++
vtr/toro/TRP_RelativePlace/TRP_RelativePlaceHandler.cxx
haojunliu/OpenFPGA
b0c4f27077f698aae59bbcbd3ca002f22ba2a5a1
[ "BSD-2-Clause" ]
31
2016-02-15T02:57:28.000Z
2021-06-02T10:40:25.000Z
vtr/toro/TRP_RelativePlace/TRP_RelativePlaceHandler.cxx
haojunliu/OpenFPGA
b0c4f27077f698aae59bbcbd3ca002f22ba2a5a1
[ "BSD-2-Clause" ]
null
null
null
vtr/toro/TRP_RelativePlace/TRP_RelativePlaceHandler.cxx
haojunliu/OpenFPGA
b0c4f27077f698aae59bbcbd3ca002f22ba2a5a1
[ "BSD-2-Clause" ]
6
2017-02-08T21:51:51.000Z
2021-06-02T10:40:40.000Z
//===========================================================================// // Purpose : Method definitions for the TRP_RelativePlaceHandler class. // // Public methods include: // - NewInstance, DeleteInstance, GetInstance, HasInstance // - Configure // - Reset // ...
39.139327
134
0.535946
[ "transform" ]
2cdadbd11aa08879e925482db742e694b66c87d3
31,446
cpp
C++
Video_inpainting_matlab/Patch_match/patch_match_tools.cpp
zhukevgeniy/video-inpainting
0f650df61a802c17b2efdfa132211026a7e42eba
[ "MIT" ]
null
null
null
Video_inpainting_matlab/Patch_match/patch_match_tools.cpp
zhukevgeniy/video-inpainting
0f650df61a802c17b2efdfa132211026a7e42eba
[ "MIT" ]
null
null
null
Video_inpainting_matlab/Patch_match/patch_match_tools.cpp
zhukevgeniy/video-inpainting
0f650df61a802c17b2efdfa132211026a7e42eba
[ "MIT" ]
null
null
null
//this function defines the functions which are tools used for the //spatio-temporal patch_match algorithm #include "patch_match_tools.h" //check if the displacement values have already been used template <class T> bool check_already_used_patch( nTupleVolume<T> *dispField, int x, int y, int t, int dispX, int dispY, ...
48.378462
251
0.580233
[ "vector" ]
2cddb7c37d71b0bd47158501176591214dd1171a
7,327
cpp
C++
plugins/flowvis/src/flowvis.cpp
UniStuttgart-VISUS/implicit-topology
a7e0d5dd7253264e9feb2ae3d4dd44db5321d3e5
[ "BSD-3-Clause" ]
2
2020-10-16T10:15:37.000Z
2021-01-21T13:06:00.000Z
plugins/flowvis/src/flowvis.cpp
UniStuttgart-VISUS/implicit-topology
a7e0d5dd7253264e9feb2ae3d4dd44db5321d3e5
[ "BSD-3-Clause" ]
null
null
null
plugins/flowvis/src/flowvis.cpp
UniStuttgart-VISUS/implicit-topology
a7e0d5dd7253264e9feb2ae3d4dd44db5321d3e5
[ "BSD-3-Clause" ]
1
2021-01-28T01:19:54.000Z
2021-01-28T01:19:54.000Z
/* * flowvis.cpp * Copyright (C) 2018-2019 by MegaMol Team * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "flowvis/flowvis.h" #include "mmcore/api/MegaMolCore.std.h" #include "mmcore/utility/plugins/Plugin200Instance.h" #include "mmcore/versioninfo.h" #include "vislib/vislibversion.h" #include "clip...
39.181818
111
0.736864
[ "object" ]
2cdf3bb8132c3a35f05948d84355a4455cb30736
3,667
cpp
C++
client/ogre/src/window_ogre.cpp
qiujiangkun/Escape
c7238f7770271291a65e1f2f5682ac7bb3af1482
[ "MIT" ]
1
2020-02-21T08:27:17.000Z
2020-02-21T08:27:17.000Z
client/ogre/src/window_ogre.cpp
qiujiangkun/Escape
c7238f7770271291a65e1f2f5682ac7bb3af1482
[ "MIT" ]
null
null
null
client/ogre/src/window_ogre.cpp
qiujiangkun/Escape
c7238f7770271291a65e1f2f5682ac7bb3af1482
[ "MIT" ]
1
2020-03-24T04:49:13.000Z
2020-03-24T04:49:13.000Z
// // Created by jack on 20-2-25. // #include "window_ogre.h" using namespace Escape; bool InputState::keyPressed(const OgreBites::KeyboardEvent &evt) { if(evt.keysym.sym < MAX_KEY_NUM) keys[evt.keysym.sym] = true; else { // std::cerr << "Cannot handle key down " << evt.keysym.sym << std::endl;...
27.571429
140
0.686392
[ "render" ]
2ce31a54e97ceb590e3f5ff32418a7c86ff34ecc
5,447
cpp
C++
test/src/3d/scene/renderer3d/lighting/shadow/light/LightSplitShadowMapTest.cpp
petitg1987/urchinEngine
a14a57ac49a19237d748d2eafc7c2a38a45b95d6
[ "BSL-1.0" ]
18
2020-06-12T00:04:46.000Z
2022-01-11T14:56:19.000Z
test/src/3d/scene/renderer3d/lighting/shadow/light/LightSplitShadowMapTest.cpp
petitg1987/urchinEngine
a14a57ac49a19237d748d2eafc7c2a38a45b95d6
[ "BSL-1.0" ]
null
null
null
test/src/3d/scene/renderer3d/lighting/shadow/light/LightSplitShadowMapTest.cpp
petitg1987/urchinEngine
a14a57ac49a19237d748d2eafc7c2a38a45b95d6
[ "BSL-1.0" ]
6
2020-08-16T15:58:41.000Z
2022-03-05T13:17:50.000Z
#include <cppunit/TestSuite.h> #include <cppunit/TestCaller.h> #include <3d/scene/renderer3d/lighting/shadow/light/LightSplitShadowMapTest.h> #include <AssertHelper.h> using namespace urchin; void LightSplitShadowMapTest::modelsInFrustumSplit() { auto modelOctreeManager = buildModelOctreeManager({ Point3<...
59.206522
169
0.685331
[ "vector", "model", "3d" ]
2ce3d44a047e61a23a7f0a1b3c9cb266b4199a25
9,210
cc
C++
arcane/src/arcane/mesh/ItemConnectivitySynchronizer.cc
cedricga91/framework
143eeccb5bf375df4a3f11b888681f84f60380c6
[ "Apache-2.0" ]
16
2021-09-20T12:37:01.000Z
2022-03-18T09:19:14.000Z
arcane/src/arcane/mesh/ItemConnectivitySynchronizer.cc
cedricga91/framework
143eeccb5bf375df4a3f11b888681f84f60380c6
[ "Apache-2.0" ]
66
2021-09-17T13:49:39.000Z
2022-03-30T16:24:07.000Z
arcane/src/arcane/mesh/ItemConnectivitySynchronizer.cc
cedricga91/framework
143eeccb5bf375df4a3f11b888681f84f60380c6
[ "Apache-2.0" ]
11
2021-09-27T16:48:55.000Z
2022-03-23T19:06:56.000Z
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
44.926829
139
0.600651
[ "mesh" ]
2ce6a0f806e21aa4be05bb05e5ed4a9062a4a29b
8,927
cpp
C++
tests/opt_ext_test.cpp
alessandro90/cpputils
45ebd28be73cabc3a38f09cfc08779f72f518772
[ "MIT" ]
null
null
null
tests/opt_ext_test.cpp
alessandro90/cpputils
45ebd28be73cabc3a38f09cfc08779f72f518772
[ "MIT" ]
3
2022-02-26T23:37:11.000Z
2022-03-13T17:48:03.000Z
tests/opt_ext_test.cpp
alessandro90/cpputils
45ebd28be73cabc3a38f09cfc08779f72f518772
[ "MIT" ]
null
null
null
#include "catch2/catch_test_macros.hpp" #include "cpputils/functional/opt_ext.hpp" #include <memory> #include <optional> #include <tuple> using namespace cpputils; namespace { using intopt = std::optional<int>; auto const increment = [](int i) -> int { return i + 1; }; auto const sum = [](int a, int b) -> int { ret...
25.005602
82
0.473059
[ "transform" ]
f8e6a42d899d407000deffebf767d14922818bcd
783
cpp
C++
feedback-set/lib/src/lib/env.cpp
hmtbgc/combopt-zero
458426d6396e9023805475948f77f58fad8ede9d
[ "MIT" ]
32
2020-05-03T09:51:05.000Z
2022-02-19T20:13:04.000Z
feedback-set/lib/src/lib/env.cpp
omosan0627/combopt-zero
3a40b477dd651933d1483c3c2d1592a4e93ebd8d
[ "MIT" ]
5
2020-06-02T12:57:47.000Z
2021-01-29T07:34:16.000Z
feedback-set/lib/src/lib/env.cpp
omosan0627/combopt-zero
3a40b477dd651933d1483c3c2d1592a4e93ebd8d
[ "MIT" ]
10
2020-06-30T18:29:31.000Z
2022-02-19T19:32:07.000Z
#include "env.h" #include <map> #include <utility> bool is_end(const Graph& g) { int n = g.num_nodes; UnionFind uf(n); for (auto& p : g.edge_list) { if (!uf.unite(p.first, p.second)) return false; } return true; } Graph step(const Graph& g, int action) { std::vector<std::pair<int, int...
21.162162
55
0.538953
[ "vector" ]
f8e7666e93f7d6a89cbf941cd4dc0bfbcd9389b9
689
cpp
C++
LeetCode/Problems/Algorithms/#347_TopKFrequentElements_sol1_priority_queue_O(NlogK)_32ms_13.9MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#347_TopKFrequentElements_sol1_priority_queue_O(NlogK)_32ms_13.9MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#347_TopKFrequentElements_sol1_priority_queue_O(NlogK)_32ms_13.9MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { public: vector<int> topKFrequent(vector<int>& nums, int k) { unordered_map<int, int> cnt; for(int num: nums){ cnt[num] += 1; } priority_queue<pair<int, int>> pq; for(int num: nums){ if(cnt.count(num)){ ...
24.607143
57
0.37881
[ "vector" ]
f8e854a83764397a8adbd6d44daa78b9b8023367
3,368
cc
C++
compiler/mcr_cc/llvm/asm_arm_thumb.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
20
2021-06-24T16:38:42.000Z
2022-01-20T16:15:57.000Z
compiler/mcr_cc/llvm/asm_arm_thumb.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
null
null
null
compiler/mcr_cc/llvm/asm_arm_thumb.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
4
2021-11-03T06:01:12.000Z
2022-02-24T02:57:31.000Z
/** * Copyright (C) 2021 Paschalis Mpeis (paschalis.mpeis-AT-gmail.com) * * 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 * * Unles...
27.834711
75
0.678741
[ "vector" ]
f8eb05b3b9f916f84c8b493e2ca4b7b83a096b15
1,201
cpp
C++
Online Judges/CodeForces/580C - Kefa and Park/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
64
2019-03-17T08:56:28.000Z
2022-01-14T02:31:21.000Z
Online Judges/CodeForces/580C - Kefa and Park/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
1
2020-12-24T07:16:30.000Z
2021-03-23T20:51:05.000Z
Online Judges/CodeForces/580C - Kefa and Park/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
19
2019-05-25T10:48:16.000Z
2022-01-07T10:07:46.000Z
#include <iostream> #include <vector> #include <stack> using namespace std; vector<vector<int> > g; vector<int> vi, cat, pre; void dfs(int v, int contC, int& cont, int m) { vi[v] = 1; int cats = 0, leaf = 0; if(contC > m) return; for (int i = 0; i < (int)g[v].size(); i++) { if(!vi[g[v...
20.016667
60
0.393838
[ "vector" ]
f8ec75d7a6c3f994f048868177f1086aff881e26
4,649
cc
C++
src/magic_event/looper.cc
jeasonzs/magic_event
163b962859b809687261a18c61ce58fbef9f41a0
[ "MIT" ]
1
2021-02-02T02:46:32.000Z
2021-02-02T02:46:32.000Z
src/magic_event/looper.cc
jeasonzs/magic_event
163b962859b809687261a18c61ce58fbef9f41a0
[ "MIT" ]
null
null
null
src/magic_event/looper.cc
jeasonzs/magic_event
163b962859b809687261a18c61ce58fbef9f41a0
[ "MIT" ]
null
null
null
// // Created by jeason on 2021/1/14. // #include "magic_event/looper.h" #include "magic_event/utils/time_utils.h" #include <memory> #include <sys/socket.h> namespace magic_event { using EventType = PollEvent::EventType; PollEvent::EventSet channel2event_set(const Channel& channel) { PollEvent::EventSet set; se...
26.872832
92
0.627232
[ "vector" ]
f8eef808696a28ea0db54b8f196ffc02d15e7997
5,677
cpp
C++
tests/PTransformBench.cpp
gergondet/SpaceVecAlg
b5a92d961c7b52f147908c779dfa024c4c302f08
[ "BSD-2-Clause" ]
null
null
null
tests/PTransformBench.cpp
gergondet/SpaceVecAlg
b5a92d961c7b52f147908c779dfa024c4c302f08
[ "BSD-2-Clause" ]
null
null
null
tests/PTransformBench.cpp
gergondet/SpaceVecAlg
b5a92d961c7b52f147908c779dfa024c4c302f08
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright 2012-2019 CNRS-UM LIRMM, CNRS-AIST JRL */ // includes // std #include <iostream> // boost #define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE PTranformd bench #include <boost/math/constants/constants.hpp> #include <boost/test/unit_test.hpp> #include <boost/timer/timer.hpp> // The inclusion of boost...
26.528037
81
0.657566
[ "vector" ]
f8f0e67ce51fcd566dbb909129ad03027377a9fc
3,512
cpp
C++
StiGame/gui/Layout.cpp
jordsti/stigame
6ac0ae737667b1c77da3ef5007f5c4a3a080045a
[ "MIT" ]
8
2015-02-03T20:23:49.000Z
2022-02-15T07:51:05.000Z
StiGame/gui/Layout.cpp
jordsti/stigame
6ac0ae737667b1c77da3ef5007f5c4a3a080045a
[ "MIT" ]
null
null
null
StiGame/gui/Layout.cpp
jordsti/stigame
6ac0ae737667b1c77da3ef5007f5c4a3a080045a
[ "MIT" ]
2
2017-02-13T18:04:00.000Z
2020-08-24T03:21:37.000Z
#include "Layout.h" #include "PRect.h" namespace StiGame { namespace Gui { Layout::Layout(std::string name) : Item(name) { //ctor mouse = MPoint(); handleKey = true; verticalAlign = LVA_Middle; horizontalAlign = LHA_Center; childsChanged = false; drawBorder = true; } Layout::~Layout(...
18.983784
92
0.665433
[ "render" ]
f8fb1703ccc29637ebebfaac2f7bafdef6e57423
502
hpp
C++
test/helper.hpp
openbmc/google-ipmi-sys
f647e99165065feabb35aa744059cf6a2af46f1e
[ "Apache-2.0" ]
2
2020-01-16T02:04:13.000Z
2021-01-13T21:47:30.000Z
test/helper.hpp
openbmc/google-ipmi-sys
f647e99165065feabb35aa744059cf6a2af46f1e
[ "Apache-2.0" ]
null
null
null
test/helper.hpp
openbmc/google-ipmi-sys
f647e99165065feabb35aa744059cf6a2af46f1e
[ "Apache-2.0" ]
3
2019-12-10T21:56:33.000Z
2021-03-02T23:56:06.000Z
#pragma once #include "handler_mock.hpp" #include <ipmid/api-types.hpp> #include <span> #include <utility> #include <gtest/gtest.h> namespace google { namespace ipmi { // Validate the return code and the data for the IPMI reply. // Returns the subcommand and the optional informations. std::pair<std::uint8_t, std::...
20.916667
76
0.701195
[ "vector" ]
f8fcf7e01b07847a73123ccb63dc8bfa68de8d0a
43,807
cpp
C++
libs/VersionedStorage-cpp/tests/HeaderBlock-test.cpp
ivte-ms/MixedReality-Sharing
edb38467be6dcd09447962a3c1f998fe700b8832
[ "MIT" ]
24
2019-12-11T18:56:39.000Z
2021-12-28T02:48:59.000Z
libs/VersionedStorage-cpp/tests/HeaderBlock-test.cpp
ivte-ms/MixedReality-Sharing
edb38467be6dcd09447962a3c1f998fe700b8832
[ "MIT" ]
23
2019-12-11T20:21:30.000Z
2020-02-12T12:12:05.000Z
libs/VersionedStorage-cpp/tests/HeaderBlock-test.cpp
ivte-ms/MixedReality-Sharing
edb38467be6dcd09447962a3c1f998fe700b8832
[ "MIT" ]
14
2019-12-11T18:56:44.000Z
2021-06-09T18:13:10.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "pch.h" #include "src/HeaderBlock.h" #include <Microsoft/MixedReality/Sharing/VersionedStorage/KeyDescriptorWithHandle.h> #include <Microsoft/MixedReality/Sharing/Common/Testing/Testing.h> #include "TestBehavior.h" #include "src/St...
39.680254
84
0.710663
[ "vector" ]
f8fffb4b8f014cad74d08cc701151dc896dfacbd
1,603
cpp
C++
aws-cpp-sdk-rekognition/source/model/StartFaceDetectionRequest.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-rekognition/source/model/StartFaceDetectionRequest.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-rekognition/source/model/StartFaceDetectionRequest.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/rekognition/model/StartFaceDetectionRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Rekognition::Model; using namespace Aws::Utils::J...
22.263889
106
0.762944
[ "model" ]
5d046db8b032c2f006e354bb31dacdfa8b42143b
25,047
tpp
C++
src/Mesh.tpp
asterycs/rtsr
176bf342581daa58f84eaffc6d34034a98cfa255
[ "MIT" ]
13
2018-07-09T23:38:29.000Z
2022-01-05T09:06:46.000Z
src/Mesh.tpp
haohanxingkong/rtsr
176bf342581daa58f84eaffc6d34034a98cfa255
[ "MIT" ]
2
2019-01-05T14:38:55.000Z
2019-02-14T18:33:46.000Z
src/Mesh.tpp
haohanxingkong/rtsr
176bf342581daa58f84eaffc6d34034a98cfa255
[ "MIT" ]
5
2018-08-22T12:30:28.000Z
2022-01-20T13:09:24.000Z
#include "Mesh.hpp" #include "igl/barycentric_coordinates.h" #include "Util.hpp" #include <Eigen/QR> #include <iostream> #include <cstdlib> #include <iostream> template <typename T> using Mat = Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic>; template <typename T> using VecC3 = Eigen::Matrix<T, 3, 1>; template <ty...
33.440587
206
0.604863
[ "mesh", "vector", "transform" ]
5d0b2449a296b0aa15a872508470f878bbe01c17
10,220
hh
C++
notebooks/tutorial04/wavefem.hh
dokempf/dune-jupyter-course
1da9c0c2a056952a738e8c7f5aa5aa00fb59442c
[ "BSD-3-Clause" ]
1
2022-01-21T03:16:12.000Z
2022-01-21T03:16:12.000Z
notebooks/tutorial04/wavefem.hh
dokempf/dune-jupyter-course
1da9c0c2a056952a738e8c7f5aa5aa00fb59442c
[ "BSD-3-Clause" ]
21
2021-04-22T13:52:59.000Z
2021-10-04T13:31:59.000Z
notebooks/tutorial04/wavefem.hh
dokempf/dune-jupyter-course
1da9c0c2a056952a738e8c7f5aa5aa00fb59442c
[ "BSD-3-Clause" ]
1
2021-04-21T08:20:02.000Z
2021-04-21T08:20:02.000Z
#include<vector> #include<dune/common/exceptions.hh> #include<dune/common/fvector.hh> #include<dune/geometry/referenceelements.hh> #include<dune/geometry/type.hh> #include<dune/pdelab/common/geometrywrapper.hh> #include<dune/pdelab/common/quadraturerules.hh> #include<dune/pdelab/localoperator/defaultimp.hh> #include...
36.113074
100
0.639628
[ "geometry", "object", "shape", "vector", "transform" ]
5d190f304801bc3ee06bc63f8a5e690f7dbea6cb
5,006
cpp
C++
source/loader/windows/driver_discovery_win.cpp
fogflower/level-zero
7b2002369e0671687f3986fd5085e205bb41be26
[ "MIT" ]
1
2020-04-30T03:55:17.000Z
2020-04-30T03:55:17.000Z
source/loader/windows/driver_discovery_win.cpp
fogflower/level-zero
7b2002369e0671687f3986fd5085e205bb41be26
[ "MIT" ]
null
null
null
source/loader/windows/driver_discovery_win.cpp
fogflower/level-zero
7b2002369e0671687f3986fd5085e205bb41be26
[ "MIT" ]
null
null
null
/* * * Copyright (C) 2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "source/loader/driver_discovery.h" #include <Windows.h> #include <cassert> #include <cfgmgr32.h> #include <devpkey.h> #include <devguid.h> namespace loader { std::vector<DriverLibraryPath> discoverDriversBasedOnDisplay...
33.152318
126
0.604874
[ "vector" ]
5d222b021aeee8a32a8d98b028260116df34dfc7
21,806
cc
C++
extensions/browser/api/declarative_net_request/declarative_net_request_api.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
extensions/browser/api/declarative_net_request/declarative_net_request_api.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
extensions/browser/api/declarative_net_request/declarative_net_request_api.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.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 "extensions/browser/api/declarative_net_request/declarative_net_request_api.h" #include <memory> #include <set> #include <utility> #include <vec...
38.390845
87
0.751261
[ "vector" ]
5d23a28ad8d5107bd777904d0dced44fe01cb5bf
2,656
cpp
C++
Algorithm/LeetCode/98-isValidBST/98-isValidBST.cpp
nchkdxlq/Algorithm
a89aec4859a1e2a1367113bf17345ef4a5c40a91
[ "MIT" ]
1
2019-05-25T06:18:10.000Z
2019-05-25T06:18:10.000Z
Algorithm/LeetCode/98-isValidBST/98-isValidBST.cpp
nchkdxlq/Algorithm
a89aec4859a1e2a1367113bf17345ef4a5c40a91
[ "MIT" ]
null
null
null
Algorithm/LeetCode/98-isValidBST/98-isValidBST.cpp
nchkdxlq/Algorithm
a89aec4859a1e2a1367113bf17345ef4a5c40a91
[ "MIT" ]
null
null
null
// // 98-isValidBST.cpp // LeetCode // // Created by Knox on 2019/7/15. // Copyright © 2019 nchkdxlq. All rights reserved. // #include "98-isValidBST.hpp" #include "STLHelper.hpp" #include "TreeHelper.hpp" using namespace BTree; /** 给定一个二叉树,判断其是否是一个有效的二叉搜索树。 假设一个二叉搜索树具有如下特征: 节点的左子树只包含小于当前节点的数。 节点的右子树...
21.419355
67
0.479669
[ "vector" ]
5d2851d3fa4f34c23b752e84f68f8d5357ad3907
228,970
hpp
C++
cisco-ios-xr/ydk/models/cisco_ios_xr/fragmented/Cisco_IOS_XR_bundlemgr_oper_1.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/fragmented/Cisco_IOS_XR_bundlemgr_oper_1.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/fragmented/Cisco_IOS_XR_bundlemgr_oper_1.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#ifndef _CISCO_IOS_XR_BUNDLEMGR_OPER_1_ #define _CISCO_IOS_XR_BUNDLEMGR_OPER_1_ #include <memory> #include <vector> #include <string> #include <ydk/types.hpp> #include <ydk/errors.hpp> #include "Cisco_IOS_XR_bundlemgr_oper_0.hpp" namespace cisco_ios_xr { namespace Cisco_IOS_XR_bundlemgr_oper { class BundleInformat...
60.334651
251
0.729349
[ "vector" ]
5d33fc6af64bbfe0a831717310ac1ec757245e77
37,860
cpp
C++
aegisub/src/audio_display.cpp
rcombs/Aegisub
58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50
[ "ISC" ]
1
2018-02-12T02:44:57.000Z
2018-02-12T02:44:57.000Z
aegisub/src/audio_display.cpp
rcombs/Aegisub
58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50
[ "ISC" ]
null
null
null
aegisub/src/audio_display.cpp
rcombs/Aegisub
58f35cd31c7f0f5728e0a28e6a7a9fd6fce70c50
[ "ISC" ]
2
2018-02-12T03:46:24.000Z
2018-02-12T14:36:07.000Z
// Copyright (c) 2005, Rodrigo Braz Monteiro // Copyright (c) 2009-2010, Niels Martin Hansen // 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 retai...
29.508963
158
0.730983
[ "render", "object", "vector" ]
5d34c3e51f637b12ac83d1974f17b45c20b2d269
1,385
hpp
C++
inference-engine/src/low_precision_transformations/include/low_precision/split.hpp
Andruxin52rus/openvino
d824e371fe7dffb90e6d3d58e4e34adecfce4606
[ "Apache-2.0" ]
2
2020-11-18T14:14:06.000Z
2020-11-28T04:55:57.000Z
inference-engine/src/low_precision_transformations/include/low_precision/split.hpp
Andruxin52rus/openvino
d824e371fe7dffb90e6d3d58e4e34adecfce4606
[ "Apache-2.0" ]
30
2020-11-13T11:44:07.000Z
2022-02-21T13:03:16.000Z
inference-engine/src/low_precision_transformations/include/low_precision/split.hpp
mmakridi/openvino
769bb7709597c14debdaa356dd60c5a78bdfa97e
[ "Apache-2.0" ]
1
2021-07-28T17:30:46.000Z
2021-07-28T17:30:46.000Z
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <vector> #include "layer_transformation.hpp" #include "ngraph/node.hpp" namespace ngraph { namespace pass { namespace low_precision { class TRANSFORMATIONS_API SplitTransformation : public LayerTransformation { ...
34.625
108
0.742238
[ "shape", "vector", "transform" ]
5d3b1d52574399a2dbde83574ee67dea28957f2e
977
cpp
C++
USACO/Star League/Dynamic Programming 1/palin/sol.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2020-10-16T18:14:30.000Z
2020-10-16T18:14:30.000Z
USACO/Star League/Dynamic Programming 1/palin/sol.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
null
null
null
USACO/Star League/Dynamic Programming 1/palin/sol.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2021-01-06T04:45:38.000Z
2021-01-06T04:45:38.000Z
#define __USE_MINGW_ANSI_STDIO 0 #include <iostream> #include <stdio.h> #include <stdlib.h> #include <vector> #include <algorithm> #include <queue> #include <map> #include <set> #include <stack> #include <string.h> #include <math.h> using namespace std; #define PI 3.141592653589793 #define epsilon 0.000000001 #define...
23.829268
83
0.530194
[ "vector" ]
5d3f36f423aaa589cf70de1fea4dda4e67c2d2d4
1,859
cpp
C++
Contrib-Intel/RSD-PSME-RMM/common/ipmi/src/command/sdv/get_node_info.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
5
2019-11-11T07:57:26.000Z
2022-03-28T08:26:53.000Z
Contrib-Intel/RSD-PSME-RMM/common/ipmi/src/command/sdv/get_node_info.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
3
2019-09-05T21:47:07.000Z
2019-09-17T18:10:45.000Z
Contrib-Intel/RSD-PSME-RMM/common/ipmi/src/command/sdv/get_node_info.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
11
2019-07-20T00:16:32.000Z
2022-01-11T14:17:48.000Z
/*! * @section LICENSE * * @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.apach...
29.507937
110
0.713287
[ "vector" ]
5d4056a243038409a10508460ef5dc706af7651e
739
hpp
C++
VertexArray.hpp
mcgillowen/cpsc453-hw3
59b3d4c9d320d26d28668b830357f5606e09dd8d
[ "MIT" ]
null
null
null
VertexArray.hpp
mcgillowen/cpsc453-hw3
59b3d4c9d320d26d28668b830357f5606e09dd8d
[ "MIT" ]
null
null
null
VertexArray.hpp
mcgillowen/cpsc453-hw3
59b3d4c9d320d26d28668b830357f5606e09dd8d
[ "MIT" ]
null
null
null
// VertexArray.cpp // Class that holds the vertex information in a VertexArray object #ifndef VERTEX_ARRAY_HPP #define VERTEX_ARRAY_HPP #include <vector> #include <map> #include <string> #define GLFW_INCLUDE_GLCOREARB #define GL_GLEXT_PROTOTYPES #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matri...
18.948718
66
0.751015
[ "object", "vector" ]
5d45c9adcca6530c72e1cc41bd161f1ff2c35a9f
41,052
cpp
C++
framework/PVRCore/textureio/TextureReaderPVR.cpp
amaiorano/Native_SDK
0a5b48fd1f4ad251f5b4f0e07c46744c4841255b
[ "MIT" ]
null
null
null
framework/PVRCore/textureio/TextureReaderPVR.cpp
amaiorano/Native_SDK
0a5b48fd1f4ad251f5b4f0e07c46744c4841255b
[ "MIT" ]
null
null
null
framework/PVRCore/textureio/TextureReaderPVR.cpp
amaiorano/Native_SDK
0a5b48fd1f4ad251f5b4f0e07c46744c4841255b
[ "MIT" ]
null
null
null
/*! \brief Implementation of methods of the TextureReaderPVR class. \file PVRCore/textureio/TextureReaderPVR.cpp \author PowerVR by Imagination, Developer Technology Team \copyright Copyright (c) Imagination Technologies Limited. */ //!\cond NO_DOXYGEN #include "PVRCore/textureio/TextureReaderPVR.h" #include "PVRCore/L...
26.691808
178
0.713729
[ "vector" ]
5d543ac23e727d1466356bbfb893494c53e819a6
3,895
cpp
C++
ext/DebugDraw/CDraw3DLine.cpp
barszram/IrrlichtBAW
71c88dc45f28ff1fb4d948ed792f3051ad47d664
[ "Apache-2.0" ]
3
2016-05-12T06:49:40.000Z
2016-10-31T17:57:53.000Z
ext/DebugDraw/CDraw3DLine.cpp
barszram/IrrlichtBAW
71c88dc45f28ff1fb4d948ed792f3051ad47d664
[ "Apache-2.0" ]
2
2019-10-02T14:59:45.000Z
2019-10-27T11:10:20.000Z
ext/DebugDraw/CDraw3DLine.cpp
Przemog1/IrrlichtBAW
d3f148c810d528df44598a47e8a96e6838a1cc3e
[ "Apache-2.0" ]
1
2016-06-27T09:21:36.000Z
2016-06-27T09:21:36.000Z
#include "../ext/DebugDraw/CDraw3DLine.h" #include "../ext/DebugDraw/Draw3DLineShaders.h" using namespace irr; using namespace video; using namespace scene; using namespace asset; using namespace ext; using namespace DebugDraw; core::smart_refctd_ptr<CDraw3DLine> CDraw3DLine::create(IVideoDriver* _driver) { retur...
41
153
0.719897
[ "vector" ]
5d573f2d9543ed2d053019cab83d64564520a868
2,777
cpp
C++
tree.cpp
raviMaurya12/snippets-1
9846c8cf7e751f53b74531c19174bdf6874c1eea
[ "Unlicense" ]
2
2020-07-29T19:26:58.000Z
2020-07-30T19:37:34.000Z
tree.cpp
duckladydinh/snippets
f793a9062fae9183fc0812d40cde5cc70728b7a0
[ "Unlicense" ]
null
null
null
tree.cpp
duckladydinh/snippets
f793a9062fae9183fc0812d40cde5cc70728b7a0
[ "Unlicense" ]
null
null
null
// Common algorithms on trees // // To initialize, call dfs(root, -1). // // Globals: // - N is the number of nodes // - length[x] is the cost of the edge between x and it's parent // - adj[x] is a list of nodes adjacent to x // - jump[x][i] is the 2^i-th ancestor of x, or -1 if it doesn't exist // - depth[x] is the de...
25.018018
88
0.561757
[ "vector" ]
5d58f918d88106e53ce52a44f428f1f933dcfbfb
1,989
hpp
C++
include/msg/MessageMergeProcess.hpp
Yhgenomics/maraton-cli
64e982f46b12e3fabe3881d5c42872c259e21dca
[ "MIT" ]
null
null
null
include/msg/MessageMergeProcess.hpp
Yhgenomics/maraton-cli
64e982f46b12e3fabe3881d5c42872c259e21dca
[ "MIT" ]
null
null
null
include/msg/MessageMergeProcess.hpp
Yhgenomics/maraton-cli
64e982f46b12e3fabe3881d5c42872c259e21dca
[ "MIT" ]
null
null
null
#ifndef MESSAGE_MERGE_PROCESS_HPP_ #define MESSAGE_MERGE_PROCESS_HPP_ #include "Message.h" #include "json.hpp" #include <string> using namespace std; namespace Protocol { class MessageMergeProcess : public Message { public: // Getter of task_id_ string task_id() { ...
24.256098
91
0.498743
[ "vector" ]
5d5acdc8cd1058f5c4504497d540bacf6e98f2e4
5,112
hpp
C++
include/operon/interpreter/interpreter.hpp
lf-shaw/operon
09a6ac1932d552b8be505f235318e50e923b0da1
[ "MIT" ]
50
2020-10-14T10:08:21.000Z
2022-03-10T12:55:05.000Z
include/operon/interpreter/interpreter.hpp
lf-shaw/operon
09a6ac1932d552b8be505f235318e50e923b0da1
[ "MIT" ]
16
2020-10-26T13:05:47.000Z
2022-02-22T20:24:41.000Z
include/operon/interpreter/interpreter.hpp
lf-shaw/operon
09a6ac1932d552b8be505f235318e50e923b0da1
[ "MIT" ]
16
2020-10-26T13:05:38.000Z
2022-01-14T02:52:13.000Z
// SPDX-License-Identifier: MIT // SPDX-FileCopyrightText: Copyright 2019-2021 Heal Research #ifndef OPERON_INTERPRETER_HPP #define OPERON_INTERPRETER_HPP #include <algorithm> #include <optional> #include "core/dataset.hpp" #include "core/tree.hpp" #include "core/types.hpp" #include "interpreter/dispatch_table.hpp" ...
37.588235
176
0.597418
[ "vector" ]
5d5cffd40bedcd90d1aa1bd45518475652b6f2ee
2,709
hpp
C++
sw/3rd_party/VTK-7.1.0/ThirdParty/xdmf3/vtkxdmf3/core/XdmfSharedPtr.hpp
esean/stl_voro_fill
c569a4019ff80afbf85482c7193711ea85a7cafb
[ "MIT" ]
4
2019-05-30T01:52:12.000Z
2021-09-29T21:12:13.000Z
sw/3rd_party/VTK-7.1.0/ThirdParty/xdmf3/vtkxdmf3/core/XdmfSharedPtr.hpp
esean/stl_voro_fill
c569a4019ff80afbf85482c7193711ea85a7cafb
[ "MIT" ]
null
null
null
sw/3rd_party/VTK-7.1.0/ThirdParty/xdmf3/vtkxdmf3/core/XdmfSharedPtr.hpp
esean/stl_voro_fill
c569a4019ff80afbf85482c7193711ea85a7cafb
[ "MIT" ]
2
2019-08-30T23:36:13.000Z
2019-11-08T16:52:01.000Z
/*****************************************************************************/ /* XDMF */ /* eXtensible Data Model and Format */ /* ...
43.693548
84
0.388335
[ "model" ]
5d613c90dc95cb2cb27c99b3eafa3ab3fccfee32
47,217
cpp
C++
apps/yocto_opengl.cpp
erez-o/yocto-gl
b722ae746433369ec891a5cd5b1975953951c491
[ "MIT" ]
2
2020-10-16T06:05:27.000Z
2021-03-31T03:58:56.000Z
apps/yocto_opengl.cpp
erez-o/yocto-gl
b722ae746433369ec891a5cd5b1975953951c491
[ "MIT" ]
null
null
null
apps/yocto_opengl.cpp
erez-o/yocto-gl
b722ae746433369ec891a5cd5b1975953951c491
[ "MIT" ]
null
null
null
// // Utilities to use OpenGL 3, GLFW and ImGui. // // // LICENSE: // // Copyright (c) 2016 -- 2019 Fabio Pellacini // // 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,...
33.726429
114
0.679162
[ "render", "vector" ]
5d625b166e140e395b778dc702bb351f3466ad04
81,994
cpp
C++
jointlimits.cpp
orangeduck/Joint-Limits
1e48238f656bd8fe24a58dabe040c5a3ce122215
[ "MIT" ]
61
2021-11-11T17:57:46.000Z
2022-03-17T11:00:20.000Z
jointlimits.cpp
orangeduck/Joint-Limits
1e48238f656bd8fe24a58dabe040c5a3ce122215
[ "MIT" ]
3
2021-12-01T03:29:53.000Z
2022-01-10T21:40:50.000Z
jointlimits.cpp
orangeduck/Joint-Limits
1e48238f656bd8fe24a58dabe040c5a3ce122215
[ "MIT" ]
7
2021-11-12T10:47:18.000Z
2021-12-29T05:48:38.000Z
extern "C" { #include "raylib.h" #include "raymath.h" #define RAYGUI_IMPLEMENTATION #include "raygui.h" } #if defined(PLATFORM_WEB) #include <emscripten/emscripten.h> #endif #include "common.h" #include "vec.h" #include "mat.h" #include "quat.h" #include "spring.h" #include "array.h" #include "charact...
35.649565
136
0.567139
[ "mesh", "render", "vector", "model", "transform" ]
5d64f37c8aa3d2c3dbabde71b9f67216f7106b08
50,145
cpp
C++
BuiltinType.cpp
zyd2001/NewBie
6d197d0b4b69b6f4f875c2e0fc0b2c2c506603f4
[ "MIT" ]
null
null
null
BuiltinType.cpp
zyd2001/NewBie
6d197d0b4b69b6f4f875c2e0fc0b2c2c506603f4
[ "MIT" ]
null
null
null
BuiltinType.cpp
zyd2001/NewBie
6d197d0b4b69b6f4f875c2e0fc0b2c2c506603f4
[ "MIT" ]
null
null
null
#include "NewBie_Lang.hpp" #include "NewBie.hpp" #include <codecvt> #include <locale> #include <sstream> using namespace std; namespace zyd2001 { namespace NewBie { wstring_convert<codecvt_utf8<char_t>, char_t> conv; int32_t zyd2001::NewBie::object_container_t::getInt() { ...
49.113614
182
0.576468
[ "vector" ]
5d6728cf6d7869b25d55991f45ea2e90a6f5e017
4,022
cpp
C++
scr/wxClient/ChatApp.cpp
dZh0/Chat
966eb227a3cb0cab3d05b2c5091c5b0bf6e5342e
[ "Unlicense" ]
null
null
null
scr/wxClient/ChatApp.cpp
dZh0/Chat
966eb227a3cb0cab3d05b2c5091c5b0bf6e5342e
[ "Unlicense" ]
null
null
null
scr/wxClient/ChatApp.cpp
dZh0/Chat
966eb227a3cb0cab3d05b2c5091c5b0bf6e5342e
[ "Unlicense" ]
null
null
null
#include <wx/busyinfo.h> #include <wx/log.h> #include "ConnectDialog.h" #include "ChatWindow.h" #include "ChatApp.h" wxIMPLEMENT_APP(ChatApp); wxDEFINE_EVENT(EVT_CONVERSATION, wxThreadEvent); wxDEFINE_EVENT(EVT_MESSAGE, wxThreadEvent); wxDEFINE_EVENT(EVT_ERROR, wxThreadEvent); bool ChatApp::OnInit() { Bind(EVT_ERROR...
26.993289
133
0.743411
[ "vector" ]
5d6aea2114442e0b4739bdb24789bf6f713c85ce
3,230
cpp
C++
pipeline/fudgepacker/source/datablockparam.cpp
DavidCoenFish/ancient-code-0
243fb47b9302a77f9b9392b6e3f90bba2ef3c228
[ "Unlicense" ]
null
null
null
pipeline/fudgepacker/source/datablockparam.cpp
DavidCoenFish/ancient-code-0
243fb47b9302a77f9b9392b6e3f90bba2ef3c228
[ "Unlicense" ]
null
null
null
pipeline/fudgepacker/source/datablockparam.cpp
DavidCoenFish/ancient-code-0
243fb47b9302a77f9b9392b6e3f90bba2ef3c228
[ "Unlicense" ]
null
null
null
//file: DataBlockParam.cpp #include "DataBlockParam.h" #include "DataBlock.h" #include "packcommon.h" #include "main.h" // typedefs typedef std::vector<U8> TArrayByte; static void LocalAppendFlatData( TArrayByte& inout_arrayFlatData, const TArrayByte& in_arrayData, const int in_lowWater, const int in_highWater ...
21.972789
128
0.750774
[ "vector" ]
5d6ba02fa3b844193094a13fabf9d7c112d0a7ed
2,668
hpp
C++
openstudiocore/src/model/PhotovoltaicPerformance_Impl.hpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
1
2016-12-29T08:45:03.000Z
2016-12-29T08:45:03.000Z
openstudiocore/src/model/PhotovoltaicPerformance_Impl.hpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
null
null
null
openstudiocore/src/model/PhotovoltaicPerformance_Impl.hpp
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...
31.761905
113
0.662294
[ "object", "vector", "model" ]
5d6c644bdf4d75b57e323ba10b6fb3bc55b03513
122
cpp
C++
ThorEngine/Source Code/R_Model.cpp
markitus18/Thor-Engine
d89c75f803357d6493cd018450bceb384d2dd265
[ "Unlicense" ]
12
2019-10-07T12:30:12.000Z
2021-09-25T13:05:26.000Z
ThorEngine/Source Code/R_Model.cpp
markitus18/Thor-Engine
d89c75f803357d6493cd018450bceb384d2dd265
[ "Unlicense" ]
15
2017-06-14T13:10:06.000Z
2020-11-21T11:27:54.000Z
ThorEngine/Source Code/R_Model.cpp
markitus18/Thor-Engine
d89c75f803357d6493cd018450bceb384d2dd265
[ "Unlicense" ]
4
2019-12-17T11:48:45.000Z
2020-11-13T19:09:59.000Z
#include "R_Model.h" R_Model::R_Model() : Resource(ResourceType::MODEL) { isExternal = true; } R_Model::~R_Model() { }
11.090909
50
0.672131
[ "model" ]
5d71828477bf5a709cf228ebcc97f78d0e29dc2c
4,772
cpp
C++
BalanceTree/RBTree_tb.cpp
flyinglandlord/BUAA-SAE-DataStructure-2021
7eb686465b18b125115e03b39e6d83e4ed7a30cb
[ "MIT" ]
2
2022-03-31T01:43:24.000Z
2022-03-31T02:05:14.000Z
BalanceTree/RBTree_tb.cpp
flyinglandlord/BUAA-SAE-DataStructure-2021
7eb686465b18b125115e03b39e6d83e4ed7a30cb
[ "MIT" ]
null
null
null
BalanceTree/RBTree_tb.cpp
flyinglandlord/BUAA-SAE-DataStructure-2021
7eb686465b18b125115e03b39e6d83e4ed7a30cb
[ "MIT" ]
null
null
null
#include "RBTree.c" #include <iostream> #include <vector> #include <algorithm> #include <random> #include <chrono> #include <ctime> using namespace std; vector<int> generate_random_array(int n) { vector<int> arr; arr.clear(); unsigned seed = std::chrono::system_clock::now().time_since_epoch().count(); ...
36.427481
171
0.541702
[ "vector" ]
5d71b682c7953cfd6085545396df6dab63f500b1
8,057
cpp
C++
sql5300.cpp
SAMR1T/5300-Dolphin
aee8cba69d0de7c614eba2c6e96d76e08f65ed12
[ "MIT" ]
null
null
null
sql5300.cpp
SAMR1T/5300-Dolphin
aee8cba69d0de7c614eba2c6e96d76e08f65ed12
[ "MIT" ]
null
null
null
sql5300.cpp
SAMR1T/5300-Dolphin
aee8cba69d0de7c614eba2c6e96d76e08f65ed12
[ "MIT" ]
null
null
null
/* @file sql5300.cpp - main entry for the SQL Shell of the relation manager @author Ruoyang Qiu, Samrit Dhesi @ Seattle University, cpsc4300/5300, 2020 Spring */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "db_cxx.h" #include "SQLParser.h" #include "sqlhelper.h" #include "heap_storag...
22.568627
93
0.651111
[ "object" ]
5d75089414426ce5ede35b5a674b4109af2432f6
1,935
cpp
C++
Code/PanelTools.cpp
JaumeMontagut/CITM_3_GameEngine
57a85b89a72723ce555a4eec3830e6bf00499de9
[ "MIT" ]
1
2020-07-09T00:38:40.000Z
2020-07-09T00:38:40.000Z
Code/PanelTools.cpp
YessicaSD/CITM_3_GameEngine
57a85b89a72723ce555a4eec3830e6bf00499de9
[ "MIT" ]
null
null
null
Code/PanelTools.cpp
YessicaSD/CITM_3_GameEngine
57a85b89a72723ce555a4eec3830e6bf00499de9
[ "MIT" ]
null
null
null
#include "PanelTools.h" #include "Application.h" #include "ModuleImportTexture.h" #include "imgui/imgui.h" #include "ResourceTexture.h" #include "ModuleResourceManager.h" #include "ModuleTime.h" PanelTools::PanelTools(std::string name, bool active, std::vector<SDL_Scancode> shortcuts):Panel(name, active, shortcuts) { ...
23.888889
143
0.642894
[ "vector" ]
5d77c74c8ae90d955a5db1fe4501eff4f3f7f709
857
hpp
C++
code/src/lib/Stage/Splitting/Model.hpp
raphaelmenges/visual-stimuli-discovery
e02e9a0283a2d561165a39cf83fe85b8f687d884
[ "MIT" ]
null
null
null
code/src/lib/Stage/Splitting/Model.hpp
raphaelmenges/visual-stimuli-discovery
e02e9a0283a2d561165a39cf83fe85b8f687d884
[ "MIT" ]
null
null
null
code/src/lib/Stage/Splitting/Model.hpp
raphaelmenges/visual-stimuli-discovery
e02e9a0283a2d561165a39cf83fe85b8f687d884
[ "MIT" ]
2
2020-06-25T15:41:56.000Z
2020-07-20T08:36:44.000Z
//! Split model interface and implementations. /*! Provides decision whether split of log dates into different intra-user states should be performed. */ #pragma once #include <Core/VisualChangeClassifier.hpp> #include <Data/Layer.hpp> #include <Core/VisualDebug.hpp> #include <opencv2/core/types.hpp> #include <memory>...
23.162162
98
0.731622
[ "model" ]
5d79c422c130895af8e4c11ea14381b41c91f202
828
hpp
C++
ddopt/src/problem/bp/bp_instance.hpp
ctjandra/ddopt-cut
0ca4358e7c27a8a56fb2640d450356dcda91b7f0
[ "MIT" ]
6
2018-02-15T03:54:35.000Z
2022-02-24T03:06:05.000Z
ddopt/src/problem/bp/bp_instance.hpp
ctjandra/ddopt-cut
0ca4358e7c27a8a56fb2640d450356dcda91b7f0
[ "MIT" ]
null
null
null
ddopt/src/problem/bp/bp_instance.hpp
ctjandra/ddopt-cut
0ca4358e7c27a8a56fb2640d450356dcda91b7f0
[ "MIT" ]
2
2021-01-07T02:29:55.000Z
2021-12-05T13:21:13.000Z
/** * Binary problem instance */ #ifndef BP_INSTANCE_HPP_ #define BP_INSTANCE_HPP_ #include "../instance.hpp" #include "bpvar.hpp" #include "bprow.hpp" using namespace std; /** * Binary program instance structure */ class BPInstance : public Instance { public: vector<BPVar*> vars; ...
18
82
0.561594
[ "vector" ]
5d8609dfba6343bd7b4fb23cf2f6aef71a0bd2ea
3,627
cpp
C++
missile.cpp
dridk/tankfighter
2a4f9e72b524bb991ad1d5c665890845d4e288ba
[ "Zlib", "MIT" ]
1
2019-04-17T14:54:19.000Z
2019-04-17T14:54:19.000Z
missile.cpp
dridk/tankfighter
2a4f9e72b524bb991ad1d5c665890845d4e288ba
[ "Zlib", "MIT" ]
null
null
null
missile.cpp
dridk/tankfighter
2a4f9e72b524bb991ad1d5c665890845d4e288ba
[ "Zlib", "MIT" ]
1
2019-04-17T14:54:20.000Z
2019-04-17T14:54:20.000Z
#include "missile.h" #include "player.h" #include "wall.h" #include "coretypes.h" #include "engine.h" #include "engine_event.h" #include "geometry.h" #include <math.h> #include <stdio.h> #include "controller.h" #include "parameters.h" #include "misc.h" using namespace sf; Missile::Missile(Player *player0) :Entity(SH...
26.669118
106
0.693686
[ "geometry" ]
5d8f45f206c896558d401bd362df7725712993e4
19,383
cpp
C++
test/tree_3d.cpp
gnzlbg/htree
30e29145b6b0b0f4d1106f05376df94bd58cadc9
[ "BSL-1.0" ]
15
2015-09-02T13:25:55.000Z
2021-04-23T04:02:19.000Z
test/tree_3d.cpp
gnzlbg/htree
30e29145b6b0b0f4d1106f05376df94bd58cadc9
[ "BSL-1.0" ]
1
2015-11-18T03:50:18.000Z
2016-06-16T08:34:01.000Z
test/tree_3d.cpp
gnzlbg/htree
30e29145b6b0b0f4d1106f05376df94bd58cadc9
[ "BSL-1.0" ]
4
2016-05-20T18:57:27.000Z
2019-03-17T09:18:13.000Z
/// \file tree_3d.cpp #include <fstream> #include "test.hpp" #include "tree.hpp" #include <ndtree/algorithm/dfs_sort.hpp> #include <ndtree/algorithm/node_location.hpp> #include <ndtree/location/slim.hpp> using namespace test; /// Explicit instantiate it template struct ndtree::tree<3>; NDTREE_STATIC_ASSERT_RANDOM_AC...
46.370813
79
0.435691
[ "vector" ]
5d961dcd66e36ba4e0b371d96333eb9fbbbb585e
3,577
cc
C++
middle-end-optis/procedure-placement/src/lib/pp.cc
obs145628/cle
4a4a18b2ab5a6fbf26629f6845147541edabd7c9
[ "MIT" ]
null
null
null
middle-end-optis/procedure-placement/src/lib/pp.cc
obs145628/cle
4a4a18b2ab5a6fbf26629f6845147541edabd7c9
[ "MIT" ]
null
null
null
middle-end-optis/procedure-placement/src/lib/pp.cc
obs145628/cle
4a4a18b2ab5a6fbf26629f6845147541edabd7c9
[ "MIT" ]
null
null
null
#include "pp.hh" #include <algorithm> #include <iostream> namespace { struct CGVal { std::size_t src; std::size_t dst; int val; CGVal(std::size_t src, std::size_t dst, int val) : src(src), dst(dst), val(val) {} }; class CGQueue { public: void add(const CGVal &ci) { if (ci.src == ci.dst) r...
23.379085
80
0.559966
[ "vector" ]
4b68cc61d5c0fe6b9df95af4717c1a1de5fc1198
4,957
cpp
C++
tools/macpo/libmacpo/tracer.cpp
roystgnr/perfexpert
a03b13db9ac83e992e1c5cc3b6e45e52c266fe30
[ "BSD-4-Clause-UC" ]
28
2015-05-05T15:54:25.000Z
2021-09-27T16:23:36.000Z
tools/macpo/libmacpo/tracer.cpp
roystgnr/perfexpert
a03b13db9ac83e992e1c5cc3b6e45e52c266fe30
[ "BSD-4-Clause-UC" ]
15
2015-10-07T20:52:05.000Z
2018-04-18T16:08:41.000Z
tools/macpo/libmacpo/tracer.cpp
roystgnr/perfexpert
a03b13db9ac83e992e1c5cc3b6e45e52c266fe30
[ "BSD-4-Clause-UC" ]
11
2015-01-23T15:41:40.000Z
2020-08-18T03:53:19.000Z
/* * Copyright (c) 2011-2013 University of Texas at Austin. All rights reserved. * * $COPYRIGHT$ * * Additional copyrights may follow * * This file is part of PerfExpert. * * PerfExpert is free software: you can redistribute it and/or modify it under * the terms of the The University of Texas at Austin Resea...
31.980645
80
0.682469
[ "vector" ]
4b69f348da8c6a1d158364f1e66f40c543c6f9fa
12,857
cpp
C++
src/ukf.cpp
eoguzinci/unscented-kalman-filter
16e2528dd7bda4dc65f7ebdba07b9b1bdaa98b3f
[ "MIT" ]
null
null
null
src/ukf.cpp
eoguzinci/unscented-kalman-filter
16e2528dd7bda4dc65f7ebdba07b9b1bdaa98b3f
[ "MIT" ]
null
null
null
src/ukf.cpp
eoguzinci/unscented-kalman-filter
16e2528dd7bda4dc65f7ebdba07b9b1bdaa98b3f
[ "MIT" ]
null
null
null
#include "ukf.h" #include "Eigen/Dense" #include <iostream> #include "measurement_package.h" #include <fstream> using namespace std; using Eigen::MatrixXd; using Eigen::VectorXd; using std::vector; /** * Initializes Unscented Kalman filter * This is scaffolding, do not modify */ UKF::UKF() { // counter for metr...
27.413646
151
0.636774
[ "object", "vector", "model" ]
4b6bf92e426c5b4ae726797e815ccba87231649a
22,997
cc
C++
tensorflow/core/kernels/mkl_conv_grad_input_ops.cc
shengfuintel/tensorflow
e67f3af48c94c9456c3ff376dc30c82a4bf982cd
[ "Apache-2.0" ]
522
2016-06-08T02:15:50.000Z
2022-03-02T05:30:36.000Z
tensorflow/core/kernels/mkl_conv_grad_input_ops.cc
shengfuintel/tensorflow
e67f3af48c94c9456c3ff376dc30c82a4bf982cd
[ "Apache-2.0" ]
48
2016-07-26T00:11:55.000Z
2022-02-23T13:36:33.000Z
tensorflow/core/kernels/mkl_conv_grad_input_ops.cc
shengfuintel/tensorflow
e67f3af48c94c9456c3ff376dc30c82a4bf982cd
[ "Apache-2.0" ]
108
2016-06-16T15:34:05.000Z
2022-03-12T13:23:11.000Z
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
42.119048
80
0.677306
[ "shape", "vector" ]
4b6efd7c34ef5c2a1bb0986401c3645a2de8c470
3,562
cpp
C++
src/nighthaunt/TombBanshee.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
5
2019-02-01T01:41:19.000Z
2021-06-17T02:16:13.000Z
src/nighthaunt/TombBanshee.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
2
2020-01-14T16:57:42.000Z
2021-04-01T00:53:18.000Z
src/nighthaunt/TombBanshee.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 <UnitFactory.h> #include <Board.h> #include "nighthaunt/TombBanshee.h" #include "NighthauntPrivate.h"...
38.717391
143
0.59854
[ "model" ]
4b7500488937b8d2f6427b031fb01b71e9f74001
5,967
hpp
C++
MyApplication/Middlewares/ST/touchgfx/framework/include/touchgfx/widgets/VideoWidget.hpp
rshane960/TouchGFX
1f1465f1aa1215d52264ae0199dafa821939de64
[ "MIT" ]
null
null
null
MyApplication/Middlewares/ST/touchgfx/framework/include/touchgfx/widgets/VideoWidget.hpp
rshane960/TouchGFX
1f1465f1aa1215d52264ae0199dafa821939de64
[ "MIT" ]
null
null
null
MyApplication/Middlewares/ST/touchgfx/framework/include/touchgfx/widgets/VideoWidget.hpp
rshane960/TouchGFX
1f1465f1aa1215d52264ae0199dafa821939de64
[ "MIT" ]
null
null
null
/****************************************************************************** * Copyright (c) 2018(-2021) STMicroelectronics. * All rights reserved. * * This file is part of the TouchGFX 4.18.1 distribution. * * This software is licensed under terms that can be found in the LICENSE file in * the root directory of thi...
30.6
126
0.617396
[ "object" ]
4b7f538e18aa7295d00263fdc235e1e0665a370e
5,318
cpp
C++
src/graph.cpp
pickerxxr/block_greedy
db499b3d80ea43727584b8ab1f9e757ad1d940eb
[ "MIT" ]
11
2021-05-11T08:23:19.000Z
2022-03-23T18:39:46.000Z
src/graph.cpp
pickerxxr/block_greedy
db499b3d80ea43727584b8ab1f9e757ad1d940eb
[ "MIT" ]
1
2021-12-07T09:23:37.000Z
2021-12-07T13:55:14.000Z
src/graph.cpp
pickerxxr/block_greedy
db499b3d80ea43727584b8ab1f9e757ad1d940eb
[ "MIT" ]
2
2021-05-09T02:49:29.000Z
2021-06-15T11:35:04.000Z
#include "graph.hpp" #include "conversions.hpp" #include <iostream> #include <fstream> #include "util.hpp" // returns number of h2h edges size_t mem_graph_t::stream_build(std::ifstream &fin, size_t num_edges, dense_bitset &is_high_degree, dense_bitset &has_high_degree_neighbor, std::vector<size_t> &count, bool write_l...
32.82716
201
0.656826
[ "vector" ]
4b8689b82279636ca673577aba3756b074ab514c
54
cc
C++
geometry/render/render_label_class.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
2
2021-02-25T02:01:02.000Z
2021-03-17T04:52:04.000Z
geometry/render/render_label_class.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
null
null
null
geometry/render/render_label_class.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
1
2021-06-13T12:05:39.000Z
2021-06-13T12:05:39.000Z
#include "drake/geometry/render/render_label_class.h"
27
53
0.833333
[ "geometry", "render" ]
4ba23bab8f56d0bb541f0fe6b6d65669e16b7bde
3,331
hpp
C++
cpp/subprojects/common/include/common/rule_induction/rule_induction.hpp
Waguy02/Boomer-Scripted
b06bb9213d64dca0c05d41701dea12666931618c
[ "MIT" ]
8
2020-06-30T01:06:43.000Z
2022-03-14T01:58:29.000Z
cpp/subprojects/common/include/common/rule_induction/rule_induction.hpp
Waguy02/Boomer-Scripted
b06bb9213d64dca0c05d41701dea12666931618c
[ "MIT" ]
3
2020-12-14T11:30:18.000Z
2022-02-07T06:31:51.000Z
cpp/subprojects/common/include/common/rule_induction/rule_induction.hpp
Waguy02/Boomer-Scripted
b06bb9213d64dca0c05d41701dea12666931618c
[ "MIT" ]
4
2020-06-24T08:45:00.000Z
2021-12-23T21:44:51.000Z
/* * @author Michael Rapp (michael.rapp.ml@gmail.com) */ #pragma once #include "common/model/model_builder.hpp" #include "common/post_processing/post_processor.hpp" #include "common/pruning/pruning.hpp" #include "common/sampling/feature_sampling.hpp" #include "common/sampling/weight_vector.hpp" #include "common/samp...
52.873016
120
0.619934
[ "object", "model" ]
4ba3149c48728a935308aa18dd19e79a9234ca30
6,515
cc
C++
chrome/browser/metrics/perf/metric_provider.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/metrics/perf/metric_provider.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/metrics/perf/metric_provider.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// 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/metrics/perf/metric_provider.h" #include "base/bind.h" #include "base/metrics/histogram_functions.h" #include "base/task/post_ta...
39.72561
80
0.701151
[ "vector" ]
4ba8d7ab9a8dc92bb11fe97791f6148b21e92b84
2,779
hh
C++
include/libbio/vcf/variant/abstract_variant_decl.hh
tsnorri/libbio
6cd929ac5f7bcccc340be60a6aa0a4ca6c7cb761
[ "MIT" ]
2
2021-05-21T08:44:53.000Z
2021-12-24T16:22:56.000Z
include/libbio/vcf/variant/abstract_variant_decl.hh
tsnorri/libbio
6cd929ac5f7bcccc340be60a6aa0a4ca6c7cb761
[ "MIT" ]
null
null
null
include/libbio/vcf/variant/abstract_variant_decl.hh
tsnorri/libbio
6cd929ac5f7bcccc340be60a6aa0a4ca6c7cb761
[ "MIT" ]
null
null
null
/* * Copyright (c) 2020 Tuukka Norri * This code is licensed under MIT license (see LICENSE for details). */ #ifndef LIBBIO_VCF_VARIANT_ABSTRACT_VARIANT_DECL_HH #define LIBBIO_VCF_VARIANT_ABSTRACT_VARIANT_DECL_HH #include <libbio/buffer.hh> #include <libbio/types.hh> #include <vector> namespace libbio::vcf { ...
33.890244
124
0.70529
[ "vector" ]
4baa061fbb295176c8ce3175e2f74bd3005821ce
3,917
cpp
C++
src/core/src/rt_info.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
1,127
2018-10-15T14:36:58.000Z
2020-04-20T09:29:44.000Z
src/core/src/rt_info.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
439
2018-10-20T04:40:35.000Z
2020-04-19T05:56:25.000Z
src/core/src/rt_info.cpp
ryanloney/openvino-1
4e0a740eb3ee31062ba0df88fcf438564f67edb7
[ "Apache-2.0" ]
414
2018-10-17T05:53:46.000Z
2020-04-16T17:29:53.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "openvino/core/rt_info.hpp" #include "ngraph/variant.hpp" namespace { std::unordered_map<std::string, std::vector<ov::Any>> get_copyable_attrs(const ov::OutputVector& outputs) { std::unordered_map<std::string, std::v...
30.130769
107
0.585652
[ "vector" ]
4bc54b6af91b3c2805246f255c7d28479414559b
1,880
hpp
C++
JEBIO/JEBIO/Json/TextReader.hpp
jebreimo/JEBLib
9066403a9372951aa8ce4f129cd4877e2ae779ab
[ "BSD-3-Clause" ]
1
2019-12-25T05:30:20.000Z
2019-12-25T05:30:20.000Z
JEBIO/JEBIO/Json/TextReader.hpp
jebreimo/JEBLib
9066403a9372951aa8ce4f129cd4877e2ae779ab
[ "BSD-3-Clause" ]
null
null
null
JEBIO/JEBIO/Json/TextReader.hpp
jebreimo/JEBLib
9066403a9372951aa8ce4f129cd4877e2ae779ab
[ "BSD-3-Clause" ]
null
null
null
#ifndef JEB_TEXTREADER_HPP #define JEB_TEXTREADER_HPP #include <memory> #include <iosfwd> #include <vector> #include <JEB/String/StringConversion.hpp> namespace JEBIO { class TextReader { public: typedef std::vector<char> Buffer; static const size_t DefaultBufferSize = 16 * 1024; /** @brief Opens a fil...
27.246377
77
0.678723
[ "vector" ]
4bc5752ba35fa120ff6049f21280b8356959b3ee
3,086
cc
C++
ons/src/model/OnsMqttQueryClientByClientIdResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
ons/src/model/OnsMqttQueryClientByClientIdResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
ons/src/model/OnsMqttQueryClientByClientIdResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * 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...
39.564103
115
0.798121
[ "model" ]
4bca064e28aefd5209831bbe0b915db27d02560d
847
cpp
C++
0054-spiral-matrix.cpp
Jamesweng/leetcode
1711a2a0e31d831e40137203c9abcba0bf56fcad
[ "Apache-2.0" ]
106
2019-06-08T15:23:45.000Z
2020-04-04T17:56:54.000Z
0054-spiral-matrix.cpp
Jamesweng/leetcode
1711a2a0e31d831e40137203c9abcba0bf56fcad
[ "Apache-2.0" ]
null
null
null
0054-spiral-matrix.cpp
Jamesweng/leetcode
1711a2a0e31d831e40137203c9abcba0bf56fcad
[ "Apache-2.0" ]
3
2019-07-13T05:51:29.000Z
2020-04-04T17:56:57.000Z
class Solution { public: vector<int> spiralOrder(vector<vector<int>>& matrix) { int dir[4][2] = {{0, 1}, {1, 0}, {0, -1}, {-1, 0}}; int k = 0, VISITED = 345672384; vector<int> ans; if (matrix.empty()) return ans; int x = 0, y = 0; int total = matrix....
28.233333
69
0.367178
[ "vector" ]
4bd5b30299060a88d1579a3b270dfb4a34569bae
1,109
cpp
C++
src/window.cpp
FathomRaven/CppCodeReview
9c06304659db4aa192cad7c92efc3fa1af7bd75b
[ "MIT" ]
null
null
null
src/window.cpp
FathomRaven/CppCodeReview
9c06304659db4aa192cad7c92efc3fa1af7bd75b
[ "MIT" ]
1
2021-09-01T11:40:22.000Z
2021-09-01T17:03:48.000Z
src/window.cpp
FathomRaven/CppCodeReview
9c06304659db4aa192cad7c92efc3fa1af7bd75b
[ "MIT" ]
1
2021-08-31T21:56:05.000Z
2021-08-31T21:56:05.000Z
#pragma once #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include <vector> #include "rect.hpp" #include "window.hpp" #include "constants.hpp" windowApp::windowApp() { SDL_Init(SDL_INIT_VIDEO); window = SDL_CreateWindow("Test Window", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 400, 400, 0); ren...
21.326923
147
0.698828
[ "render", "vector" ]
4bd69e34e3c3b37fabf164642fc82bf932404bc4
3,647
cpp
C++
lib/Object/ELFObjectFile.cpp
kpdev/llvm-tnt
d81ccf6fad01597f0143a1598d94d7d29002cf41
[ "MIT" ]
1,073
2017-06-28T05:11:54.000Z
2022-03-31T12:52:07.000Z
lib/Object/ELFObjectFile.cpp
kpdev/llvm-tnt
d81ccf6fad01597f0143a1598d94d7d29002cf41
[ "MIT" ]
25
2018-07-23T08:34:15.000Z
2021-11-05T07:13:36.000Z
lib/Object/ELFObjectFile.cpp
kpdev/llvm-tnt
d81ccf6fad01597f0143a1598d94d7d29002cf41
[ "MIT" ]
244
2017-06-28T05:08:57.000Z
2022-03-13T05:03:12.000Z
//===- ELFObjectFile.cpp - ELF object file implementation -------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
28.944444
80
0.641075
[ "object" ]
4bd81a791c54973fa973bd8b8750a1ca9678d6bf
69,476
cc
C++
chromium/net/quic/quic_packet_generator_test.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
27
2016-04-27T01:02:03.000Z
2021-12-13T08:53:19.000Z
chromium/net/quic/quic_packet_generator_test.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
2
2017-03-09T09:00:50.000Z
2017-09-21T15:48:20.000Z
chromium/net/quic/quic_packet_generator_test.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
17
2016-04-27T02:06:39.000Z
2019-12-18T08:07:00.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/quic/quic_packet_generator.h" #include <string> #include "base/macros.h" #include "net/quic/crypto/crypto_protocol.h" #include "net/qu...
40.440047
80
0.741119
[ "vector" ]
4bdf2a8499f5f4133aa2327baa841e1d6d2229fa
2,946
cpp
C++
UnicornRender/video/source/vulkan/VkMesh.cpp
GrapefruitTechnique/R7
3eaa97ac63bbc1b42e4cabf97d4d12649e36f665
[ "MIT" ]
12
2017-02-18T15:17:53.000Z
2020-02-03T16:20:33.000Z
UnicornRender/video/source/vulkan/VkMesh.cpp
GrapefruitTechnique/R7
3eaa97ac63bbc1b42e4cabf97d4d12649e36f665
[ "MIT" ]
93
2017-02-15T21:05:31.000Z
2020-08-19T06:46:27.000Z
UnicornRender/video/source/vulkan/VkMesh.cpp
GrapefruitTechnique/R-7
3eaa97ac63bbc1b42e4cabf97d4d12649e36f665
[ "MIT" ]
4
2015-10-23T11:55:07.000Z
2016-11-30T10:00:52.000Z
/* * Copyright (C) 2017 by Godlike * This code is licensed under the MIT license (MIT) * (http://opensource.org/licenses/MIT) */ #include <unicorn/video/vulkan/VkMesh.hpp> #include <unicorn/video/Material.hpp> namespace unicorn { namespace video { namespace vulkan { VkMesh::VkMesh(vk::Device device, vk::PhysicalDevic...
29.168317
184
0.738289
[ "mesh" ]
4be003e75bf7f7edd91a2d33e0c38f1134360592
3,374
cpp
C++
src/solver/AdvectionSolver.cpp
Ozaq/ARTSS
32fc99623bf06db3ceb89fe20504867ccf28959d
[ "MIT" ]
null
null
null
src/solver/AdvectionSolver.cpp
Ozaq/ARTSS
32fc99623bf06db3ceb89fe20504867ccf28959d
[ "MIT" ]
null
null
null
src/solver/AdvectionSolver.cpp
Ozaq/ARTSS
32fc99623bf06db3ceb89fe20504867ccf28959d
[ "MIT" ]
null
null
null
/// \file AdvectionSolver.cpp /// \brief Defines the steps to solve the advection equation /// \date August 22, 2016 /// \author Severt /// \copyright <2015-2020> Forschungszentrum Juelich GmbH. All rights reserved. #include <string> #include <vector> #include <algorithm> #include "AdvectionSolv...
36.27957
105
0.572318
[ "vector" ]
4be0d8d12cb452701e29fdcf5eb8a7e36cfd500d
1,651
cpp
C++
src/scenes/editor/toolbox/tool/resize.cpp
Firstbober/MPS
998436b223842b089f0c048b3e7d5676a7688c67
[ "MIT" ]
9
2018-05-15T06:03:51.000Z
2022-01-30T01:23:24.000Z
src/scenes/editor/toolbox/tool/resize.cpp
Firstbober/MPS
998436b223842b089f0c048b3e7d5676a7688c67
[ "MIT" ]
5
2018-06-28T16:48:04.000Z
2021-06-05T21:24:32.000Z
src/scenes/editor/toolbox/tool/resize.cpp
Firstbober/MPS
998436b223842b089f0c048b3e7d5676a7688c67
[ "MIT" ]
9
2018-05-03T19:40:54.000Z
2021-06-05T17:54:32.000Z
#include "resize.hpp" #include "../../drawer.hpp" #include "../toolbox.hpp" #include "../../editor.hpp" void Resize::init(){ iconName = "resize"; Frame * frame = scene->frameMan.getCurrentFrame(); box_width.init(scene).setMinValue(1).setMaxValue(8192).setValue(frame->getWidth()); box_height.init(scene...
30.018182
125
0.671108
[ "render" ]
4be2cd9cad576e35eb963389e90b30e828a08d64
2,384
cpp
C++
demos/consoleTest.cpp
Steve132/VirtuosoConsole
f9c927301ac1f135f78814266e4284fef6dc81b1
[ "Unlicense" ]
16
2017-07-07T11:05:50.000Z
2022-02-23T08:12:14.000Z
demos/consoleTest.cpp
Steve132/VirtuosoConsole
f9c927301ac1f135f78814266e4284fef6dc81b1
[ "Unlicense" ]
2
2017-07-06T19:00:14.000Z
2017-07-08T18:45:13.000Z
demos/consoleTest.cpp
Steve132/VirtuosoConsole
f9c927301ac1f135f78814266e4284fef6dc81b1
[ "Unlicense" ]
6
2017-04-18T22:06:37.000Z
2022-03-03T16:31:27.000Z
#include "../QuakeStyleConsole.h" using namespace Virtuoso; bool running = true; void printSum(const int& a, const int& b) { std::cout<<a+b<<std::endl; } class Adder { std::string str; public: Adder(const std::string& pr):str(pr){} void add(int a, int b, int c, int d, int e) {...
30.961039
165
0.645134
[ "object" ]