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
dde01a22f535ffb628ff2fa7d630ffed7d6ccc1d
1,227
cpp
C++
DSA/Sorting/Merge_sort.cpp
ShrishtiAgarwal/DSA
8086cc31bef3aefc06a8ea5c7c36fa4aabe7c1df
[ "MIT" ]
null
null
null
DSA/Sorting/Merge_sort.cpp
ShrishtiAgarwal/DSA
8086cc31bef3aefc06a8ea5c7c36fa4aabe7c1df
[ "MIT" ]
null
null
null
DSA/Sorting/Merge_sort.cpp
ShrishtiAgarwal/DSA
8086cc31bef3aefc06a8ea5c7c36fa4aabe7c1df
[ "MIT" ]
null
null
null
#include <iostream> #include <bits/stdc++.h> using namespace std; void print(vector<int>&arr) { for(int i=0;i<arr.size();i++) { cout<<arr[i]<<" "; } } void merge(vector<int>&arr,int l,int m,int r) { int n1=m-(l+1); int n2=r-m; int i=0,j=0,k=l; int arr1[n1]; int arr2[n2]; fo...
15.730769
45
0.378158
[ "vector" ]
dde2929114bcf1a1a392ce3b133be18710256825
333
cpp
C++
CMakeDemo/Demo/main.cpp
cestlascorpion/Practice
a2b1aec7d403d40a3d07130a1bb923c06d4c4d28
[ "MIT" ]
null
null
null
CMakeDemo/Demo/main.cpp
cestlascorpion/Practice
a2b1aec7d403d40a3d07130a1bb923c06d4c4d28
[ "MIT" ]
null
null
null
CMakeDemo/Demo/main.cpp
cestlascorpion/Practice
a2b1aec7d403d40a3d07130a1bb923c06d4c4d28
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main() { vector<int> vec(10); // 10 zero-initialized elements for (auto i = 0u; i < vec.size(); i++) vec[i] = i; cout << "vec contains:"; for (auto i = 0u; i < vec.size(); i++) cout << ' ' << vec[i]; cout << '\n'; ...
18.5
56
0.507508
[ "vector" ]
ddead387cba69019c0bf674d4736b16f42ba88e4
1,127
cpp
C++
LexicographicalNumbers/solution.cpp
JasonLin6086/leetcode
e14e2fb6b600dc6f822c6e86899bf3289f0fa727
[ "MIT" ]
null
null
null
LexicographicalNumbers/solution.cpp
JasonLin6086/leetcode
e14e2fb6b600dc6f822c6e86899bf3289f0fa727
[ "MIT" ]
null
null
null
LexicographicalNumbers/solution.cpp
JasonLin6086/leetcode
e14e2fb6b600dc6f822c6e86899bf3289f0fa727
[ "MIT" ]
null
null
null
/* * solution.cpp * * Created on: Aug 31, 2016 * Author: jason */ #include <iostream> #include <vector> #include <algorithm> #include <cmath> using namespace std; class Solution { public: vector<int> lexicalOrder(int n) { vector<int> rs; int i = 1, j, k; while (true) {...
19.101695
89
0.450754
[ "vector" ]
ddecb7e644372371ca0ab559951ed74334446201
848
cpp
C++
src/solidMaterial.cpp
important-sample/path-tracer
a52c9e27563ea3d8bcc2b0f4c26bfebb22c9d8c1
[ "MIT" ]
null
null
null
src/solidMaterial.cpp
important-sample/path-tracer
a52c9e27563ea3d8bcc2b0f4c26bfebb22c9d8c1
[ "MIT" ]
null
null
null
src/solidMaterial.cpp
important-sample/path-tracer
a52c9e27563ea3d8bcc2b0f4c26bfebb22c9d8c1
[ "MIT" ]
null
null
null
#include "solidMaterial.hpp" #include "lambertBrdf.hpp" SolidMaterial::SolidMaterial(): BaseMaterial(), color(Vector(1, 1, 1)), emittance(Vector(0,0,0)) { brdf = new LambertBRDF(); } SolidMaterial::SolidMaterial(const Vector& col, float kDiffuse): BaseMaterial(), color(col), emittance(Vector(0,0,0)) { brdf = ne...
31.407407
129
0.733491
[ "vector" ]
ddedaad5d6f06139fc48eeb9643b86aece1458dc
2,045
cpp
C++
source/Simulation.cpp
frmr/wizmatch
cf16207bea7b7d0dd9c7c18e74bae630c20ef796
[ "MIT" ]
null
null
null
source/Simulation.cpp
frmr/wizmatch
cf16207bea7b7d0dd9c7c18e74bae630c20ef796
[ "MIT" ]
null
null
null
source/Simulation.cpp
frmr/wizmatch
cf16207bea7b7d0dd9c7c18e74bae630c20ef796
[ "MIT" ]
null
null
null
#include <iostream> #include "Frustum.h" #include "Simulation.h" using std::cout; using std::endl; void Simulation::LoadBillboardAnimation( const string filename ) { } bool Simulation::ChangeMap( const string filename ) { UnloadCurrentMap(); LoadMap( filename ); return true; } Pers...
24.058824
132
0.690954
[ "render", "vector" ]
ddf334cb5071b9471276aa871d705487b7113104
30,146
cc
C++
core/main/server.cc
OxOOo/ntf
d110dddbf061fdd8f3788ace96faf740e30e7a12
[ "MIT" ]
null
null
null
core/main/server.cc
OxOOo/ntf
d110dddbf061fdd8f3788ace96faf740e30e7a12
[ "MIT" ]
null
null
null
core/main/server.cc
OxOOo/ntf
d110dddbf061fdd8f3788ace96faf740e30e7a12
[ "MIT" ]
null
null
null
#include <atomic> #include <list> #include <mutex> #include <set> #include <string> #include <vector> #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "absl/time/time.h" #include "file/epoll.h" #include "file/filesystem.h" #include "file/nonblocking.h" #include "gflags/gflags.h" #include...
37.967254
80
0.476348
[ "object", "vector" ]
ddf5b3462f4f802dd4e733f164450e5d7975996f
17,812
cxx
C++
ds/adsi/winnt/cggi.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/adsi/winnt/cggi.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/adsi/winnt/cggi.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 1995 // // File: cggi.cxx // // Contents: This file contains the Group Object's // IADsGroup and IADsGroupOperation methods // // History: ...
24.07027
84
0.468954
[ "object" ]
ddf79b2f410cdba1da5fc30ce4cef4f4562964cd
2,064
hh
C++
CommObjectRecognitionObjects/smartsoft/src-gen/CommObjectRecognitionObjects/CommObjectRecognitionObjectPropertiesData.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
null
null
null
CommObjectRecognitionObjects/smartsoft/src-gen/CommObjectRecognitionObjects/CommObjectRecognitionObjectPropertiesData.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
2
2020-08-20T14:49:47.000Z
2020-10-07T16:10:07.000Z
CommObjectRecognitionObjects/smartsoft/src-gen/CommObjectRecognitionObjects/CommObjectRecognitionObjectPropertiesData.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
8
2018-06-25T08:41:28.000Z
2020-08-13T10:39:30.000Z
//-------------------------------------------------------------------------- // Code generated by the SmartSoft MDSD Toolchain // The SmartSoft Toolchain has been developed by: // // Service Robotics Research Center // University of Applied Sciences Ulm // Prittwitzstr. 10 // 89075 Ulm (Germany) // // Information abo...
42.122449
127
0.789729
[ "mesh", "vector" ]
ddffa46339fdf916f62a8f2aa791560a10e56874
5,554
cpp
C++
src/renderer/shader.cpp
hexoctal/zenith
eeef065ed62f35723da87c8e73a6716e50d34060
[ "MIT" ]
2
2021-03-18T16:25:04.000Z
2021-11-13T00:29:27.000Z
src/renderer/shader.cpp
hexoctal/zenith
eeef065ed62f35723da87c8e73a6716e50d34060
[ "MIT" ]
null
null
null
src/renderer/shader.cpp
hexoctal/zenith
eeef065ed62f35723da87c8e73a6716e50d34060
[ "MIT" ]
1
2021-11-13T00:29:30.000Z
2021-11-13T00:29:30.000Z
/** * @file * @author __AUTHOR_NAME__ <mail@host.com> * @copyright 2021 __COMPANY_LTD__ * @license <a href="https://opensource.org/licenses/MIT">MIT License</a> */ #include "shader.hpp" #include "utility.hpp" #include "../utils/map/contains.hpp" #include "renderer.hpp" #include <functional> namespace Zen { ex...
22.395161
81
0.687613
[ "vector" ]
fb072879c37f5a45d5fab072f4ce84ef534fcd74
677
cpp
C++
codeforces/1417B.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1417B.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1417B.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
// B. Two Arrays #include <iostream> #include <vector> using namespace std; int main(){ int t; cin >> t; while(t--){ int n, T; cin >> n >> T; int ans[n]; // Editorial - https://codeforces.com/blog/entry/83036 vector<int> x, y, z; int tmp; int ...
15.744186
62
0.379616
[ "vector" ]
fb09174f0cedec3955ebf77d1238f272cc01882b
2,611
cpp
C++
TermRankingMethod/analysis.cpp
ifapmzadu6/TRankingMethod
aa5b02cb921537fd954bd80e0aa050c86b00d547
[ "MIT" ]
null
null
null
TermRankingMethod/analysis.cpp
ifapmzadu6/TRankingMethod
aa5b02cb921537fd954bd80e0aa050c86b00d547
[ "MIT" ]
null
null
null
TermRankingMethod/analysis.cpp
ifapmzadu6/TRankingMethod
aa5b02cb921537fd954bd80e0aa050c86b00d547
[ "MIT" ]
null
null
null
// // analysis.cpp // FireflyProject // // Created by Keisuke Karijuku on 2013/12/11. // Copyright (c) 2013年 Keisuke Karijuku. All rights reserved. // #include "analysis.h" #include<vector> #include<iostream> /* &flucP 周期揺らぎ sn 音声データ fsize 零点修正誤差範囲(秒) dsize 相関関数の幅(秒) dmin 求める周期幅の最小(秒) dmax 求める周期幅の最大(...
19.780303
106
0.569131
[ "vector" ]
fb0a317eb14b075d872fcaa7c6864f943d9a4a32
269
cpp
C++
XConsole/vector.cpp
vaxerski/XConsole
bd9138b66f28dba03ee003da6d196942446166a5
[ "MIT" ]
null
null
null
XConsole/vector.cpp
vaxerski/XConsole
bd9138b66f28dba03ee003da6d196942446166a5
[ "MIT" ]
null
null
null
XConsole/vector.cpp
vaxerski/XConsole
bd9138b66f28dba03ee003da6d196942446166a5
[ "MIT" ]
null
null
null
#include "vector.h" Vector2D::Vector2D(double xx, double yy) { x = xx; y = yy; } Vector2D::~Vector2D() {} double Vector2D::normalize() { //get max abs const auto max = abs(x) > abs(y) ? abs(x) : abs(y); x /= max; y /= max; return max; }
14.944444
55
0.539033
[ "vector" ]
fb1064c1cc2a2c3826cd17274b880e2864f07a8f
2,081
cpp
C++
DSA_Implementation/23. String/5. Longest Palindromic Substring.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
5
2021-02-14T17:48:21.000Z
2022-01-24T14:29:44.000Z
DSA_Implementation/23. String/5. Longest Palindromic Substring.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
DSA_Implementation/23. String/5. Longest Palindromic Substring.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Solution { public: string longestPalindrome(string str) { //approach-01: Brute Force: O(n^3) //approach-02: Expand Around Center: Time: O(n^2), Space: O(1) /* if(str=="" or str.size()<1) return ""; ...
22.868132
70
0.416146
[ "vector" ]
fb121306bd9e8e5dae267f55e66bc73fa761bb50
1,110
cpp
C++
HWyuzhuChapter10/Problem6/main.cpp
yzhu5/computational-physics
40c35aebecd2ebfac81f3d1e9c8de3eb9310895a
[ "MIT" ]
null
null
null
HWyuzhuChapter10/Problem6/main.cpp
yzhu5/computational-physics
40c35aebecd2ebfac81f3d1e9c8de3eb9310895a
[ "MIT" ]
null
null
null
HWyuzhuChapter10/Problem6/main.cpp
yzhu5/computational-physics
40c35aebecd2ebfac81f3d1e9c8de3eb9310895a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class Move { private: double x; double y; public: Move(double a = 0, double b = 0); // sets x, y to a, b void showmove() const; // shows current x, y values Move add(const Move & m) const; ...
20.555556
78
0.498198
[ "object" ]
fb148098c6bda86a7d2b5293db96d4f049e22af1
1,219
cpp
C++
atcoder/agc037e.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
atcoder/agc037e.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
atcoder/agc037e.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // take u=s+t mx = most consective a // then each round ....aaaa | aaaa..... double size // rep of a = 2^(k-1) * mx // note in final round aa..a in start void solve() { int n, k; cin >> n >> k; string s; cin >> s; string t = s; reverse(t.begin(), t.end(...
22.163636
51
0.417555
[ "vector" ]
fb17ef3798ec20f728da2fc412a5a4c6a20c404f
2,753
cpp
C++
src/utils/Settings.cpp
oz117/wonder-space
daef954ef93af17ea692a26895ab7102e0696908
[ "BSD-2-Clause" ]
null
null
null
src/utils/Settings.cpp
oz117/wonder-space
daef954ef93af17ea692a26895ab7102e0696908
[ "BSD-2-Clause" ]
null
null
null
src/utils/Settings.cpp
oz117/wonder-space
daef954ef93af17ea692a26895ab7102e0696908
[ "BSD-2-Clause" ]
null
null
null
// COPYRIGHT (c) 2016 Andre Paulos // // BSD ISC License // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTWARE IS PROVIDED "AS IS" AN...
29.602151
75
0.691609
[ "object" ]
fb23934b0ded4d9474ec3112ac476972a883bc04
16,182
cc
C++
icing/index/lite/lite-index.cc
PixelPlusUI-SnowCone/external_icing
206a7d6b4ab83c6acdb8b14565e2431751c9e4cf
[ "Apache-2.0" ]
null
null
null
icing/index/lite/lite-index.cc
PixelPlusUI-SnowCone/external_icing
206a7d6b4ab83c6acdb8b14565e2431751c9e4cf
[ "Apache-2.0" ]
null
null
null
icing/index/lite/lite-index.cc
PixelPlusUI-SnowCone/external_icing
206a7d6b4ab83c6acdb8b14565e2431751c9e4cf
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2019 Google 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...
34.429787
80
0.691138
[ "vector" ]
fb2ed8e69f53088aa17a512e64984358781b79f4
15,395
cc
C++
src/search/sym/old/bhs.cc
whitemech/SymBA-star
34e9fdd1dc25f9af15c54478e39bbab422cac91a
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
src/search/sym/old/bhs.cc
whitemech/SymBA-star
34e9fdd1dc25f9af15c54478e39bbab422cac91a
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
src/search/sym/old/bhs.cc
whitemech/SymBA-star
34e9fdd1dc25f9af15c54478e39bbab422cac91a
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
#include "bhs.h" #include "sym_hnode.h" #include "../debug.h" #include "sym_exploration.h" #include "../option_parser.h" #include "../plugin.h" BHS::BHS(const Options &opts) : SymEngine(opts), maxStepTime (opts.get<int> ("max_step_time")), maxStepNodes (opts.get<int> ("max_step_nodes")), ma...
35.390805
115
0.668529
[ "vector" ]
fb38942eb6cbf4ceeaf8c99b3971479d3af68052
1,502
cpp
C++
cuda_tests/graph_tests/capture_test.cpp
ermig1979/mmosbs
e009644c3e8294435e7909fc0b58372b6bb23a03
[ "MIT" ]
29
2019-03-12T04:34:34.000Z
2020-04-21T19:02:30.000Z
cuda_tests/graph_tests/capture_test.cpp
ermig1979/Examples
729cfc82a28d3390314fab338d637549018ef6e1
[ "MIT" ]
null
null
null
cuda_tests/graph_tests/capture_test.cpp
ermig1979/Examples
729cfc82a28d3390314fab338d637549018ef6e1
[ "MIT" ]
4
2020-08-25T04:32:17.000Z
2021-12-18T09:47:51.000Z
#include "tests.h" #include "nodes.h" #include "tensor.h" #include "utils.h" void capture_test() { std::cout << "Start capture_test:" << std::endl; const size_t N = 1, C = 1, H = 32, W = 32; shape_t shape = to_shape(N, C, H, W); cpu_tensor_t ca(shape), cb(shape), cc(shape), cd(shape); ...
24.622951
77
0.636485
[ "shape" ]
fb3b05fbcba69d9c20d525bfc0a03e739fd53644
4,693
cpp
C++
src/ui/model/database.cpp
jtymburski/halodoom-launcher
3d0c20599c79eb1a953b9be88dd68b53378cb571
[ "MIT" ]
1
2021-09-19T22:43:28.000Z
2021-09-19T22:43:28.000Z
src/ui/model/database.cpp
jtymburski/halodoom-launcher
3d0c20599c79eb1a953b9be88dd68b53378cb571
[ "MIT" ]
null
null
null
src/ui/model/database.cpp
jtymburski/halodoom-launcher
3d0c20599c79eb1a953b9be88dd68b53378cb571
[ "MIT" ]
null
null
null
/** * @class Database * * User interface database of commonly accessed and re-used components. */ #include "ui/model/database.h" /* Constructor */ Database::Database() { buildMaps(); buildModes(); } /* Build all available maps and cache internally */ void Database::buildMaps() { maps.insert(Map::WAREHOUSE, ...
39.436975
96
0.567867
[ "model" ]
fb3c5dd58f57ecb1e183ddd9f8a77ee74e09c43c
15,522
cpp
C++
CastleDoctrine/gameSource/EditHousePage.cpp
PhilipLudington/CastleDoctrine
443f2b6b0215a6d71515c8887c99b4322965622e
[ "Unlicense" ]
1
2020-01-16T00:07:11.000Z
2020-01-16T00:07:11.000Z
CastleDoctrine/gameSource/EditHousePage.cpp
PhilipLudington/CastleDoctrine
443f2b6b0215a6d71515c8887c99b4322965622e
[ "Unlicense" ]
null
null
null
CastleDoctrine/gameSource/EditHousePage.cpp
PhilipLudington/CastleDoctrine
443f2b6b0215a6d71515c8887c99b4322965622e
[ "Unlicense" ]
2
2019-09-17T12:08:20.000Z
2020-09-26T00:54:48.000Z
#include "EditHousePage.h" #include "message.h" #include "balance.h" #include "minorGems/game/Font.h" #include "minorGems/game/game.h" #include "minorGems/game/drawUtils.h" #include "minorGems/util/stringUtils.h" #include "minorGems/util/SettingsManager.h" extern Font *mainFont; extern int diffHighlightsOff...
24.599049
79
0.615449
[ "object" ]
fb438f1b5b3e2d2784e90411767934ba38cce47e
6,683
cpp
C++
Win32xx/samples/FastGDI/src/View.cpp
mufunyo/VisionRGBApp
c09092770032150083eda171a22b1a3ef0914dab
[ "Unlicense" ]
2
2021-03-25T04:19:22.000Z
2021-05-03T03:23:30.000Z
Win32xx/samples/FastGDI/src/View.cpp
mufunyo/VisionRGBApp
c09092770032150083eda171a22b1a3ef0914dab
[ "Unlicense" ]
null
null
null
Win32xx/samples/FastGDI/src/View.cpp
mufunyo/VisionRGBApp
c09092770032150083eda171a22b1a3ef0914dab
[ "Unlicense" ]
1
2020-12-28T08:53:42.000Z
2020-12-28T08:53:42.000Z
////////////////////////////////////////////// // View.cpp // Definitions for the CView class #include "stdafx.h" #include "view.h" #include "FastGDIApp.h" #include "resource.h" CView::CView() { } CView::~CView() { } BOOL CView::LoadFileImage(LPCTSTR filename) { // Only bitmap images (bmp files) can be loaded...
26.625498
139
0.626365
[ "object", "vector" ]
fb52447f01b58e31160c96cff536887607246d5b
3,699
cpp
C++
library/tree/lcaSchieberVishkin.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
40
2017-11-26T05:29:18.000Z
2020-11-13T00:29:26.000Z
library/tree/lcaSchieberVishkin.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
101
2019-02-09T06:06:09.000Z
2021-12-25T16:55:37.000Z
library/tree/lcaSchieberVishkin.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
6
2017-01-03T14:17:58.000Z
2021-01-22T10:37:04.000Z
#include <cmath> #include <queue> #include <vector> #include <algorithm> using namespace std; #include "lcaSchieberVishkin.h" /////////// For Testing /////////////////////////////////////////////////////// #include <time.h> #include <cassert> #include <string> #include <numeric> #include <iostream> #include "../com...
27.4
113
0.382265
[ "vector" ]
fb5393a5407abe78773914ea9fdb1e775379ceee
14,679
cpp
C++
src/graphics/gui/font.cpp
tedle/blonstech
f5a221d1e08b408ccffcaee7f982ba00b497f4e0
[ "MIT" ]
3
2020-09-06T15:33:00.000Z
2021-06-28T08:37:14.000Z
src/graphics/gui/font.cpp
tedle/blonstech
f5a221d1e08b408ccffcaee7f982ba00b497f4e0
[ "MIT" ]
null
null
null
src/graphics/gui/font.cpp
tedle/blonstech
f5a221d1e08b408ccffcaee7f982ba00b497f4e0
[ "MIT" ]
1
2021-06-28T08:37:17.000Z
2021-06-28T08:37:17.000Z
//////////////////////////////////////////////////////////////////////////////// // blonstech // Copyright(c) 2017 Dominic Bowden // // 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 ...
30.773585
121
0.597725
[ "mesh", "render", "vector" ]
fb5698530b90eac2b8d2df53d6478941721102f0
1,131
cpp
C++
array/leetcode_array/73_set_matrix_zeroes.cpp
Hadleyhzy/data_structure_and_algorithm
0e610ba78dcb216323d9434a0f182756780ce5c0
[ "MIT" ]
1
2020-10-12T19:18:19.000Z
2020-10-12T19:18:19.000Z
array/leetcode_array/73_set_matrix_zeroes.cpp
Hadleyhzy/data_structure_and_algorithm
0e610ba78dcb216323d9434a0f182756780ce5c0
[ "MIT" ]
null
null
null
array/leetcode_array/73_set_matrix_zeroes.cpp
Hadleyhzy/data_structure_and_algorithm
0e610ba78dcb216323d9434a0f182756780ce5c0
[ "MIT" ]
1
2020-10-12T19:18:04.000Z
2020-10-12T19:18:04.000Z
// // 73_set_matrix_zeroes.cpp // leetcode_array // // Created by Hadley on 03.10.20. // Copyright © 2020 Hadley. All rights reserved. // #include <stdio.h> #include "/usr/local/include/stdc++.h" using namespace std; class Solution { public: void setZeroes(vector<vector<int>>& matrix) { int m=matrix.s...
22.176471
53
0.37931
[ "vector" ]
fb624bc71c3a48029e13803b01d6a3f157e112ad
795
cpp
C++
source/aufgabe_13.cpp
saJonMR/programmiersprachen-aufgabenblatt-3
db95d43008c7c8052c778fa1850b78a9d5b9ba4b
[ "MIT" ]
null
null
null
source/aufgabe_13.cpp
saJonMR/programmiersprachen-aufgabenblatt-3
db95d43008c7c8052c778fa1850b78a9d5b9ba4b
[ "MIT" ]
null
null
null
source/aufgabe_13.cpp
saJonMR/programmiersprachen-aufgabenblatt-3
db95d43008c7c8052c778fa1850b78a9d5b9ba4b
[ "MIT" ]
null
null
null
// // Created by Jonas Roquette on 2019-05-18. // #define CATCH_CONFIG_RUNNER #include <catch.hpp> #include <iostream> #include <vector> #include <algorithm> #include <cmath> bool is_even(int n) {return n % 2 == 0;} template<typename container, typename condition> std::vector<int> filter(container &cont, condition ...
20.384615
68
0.615094
[ "vector" ]
fb66e2bafda661e635268115d4239678d426cab7
1,591
cpp
C++
Problems/CodeForces/Rated/Div_2/Codeforces_Rounds/Round_670/C.Link_Cut_Centroids.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
2
2020-07-20T06:40:22.000Z
2021-11-20T01:23:26.000Z
Problems/CodeForces/Rated/Div_2/Codeforces_Rounds/Round_670/C.Link_Cut_Centroids.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
Problems/CodeForces/Rated/Div_2/Codeforces_Rounds/Round_670/C.Link_Cut_Centroids.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fi first #define se second #define maxn 100003 #define pb push_back using namespace std; typedef pair<int,int> pi; int T,n; int best; int cnt[maxn]; pi edge[maxn]; vector<int> centers; vector<int> adj[maxn]; void reset() { best = INT_MAX; centers.clear(); for( int i = 1 ; i <= n ; ...
18.287356
46
0.484601
[ "vector" ]
fb7059f782a1fd43deed54b7f05c7afa9f6de567
8,162
hh
C++
src/c++/include/alignment/MatchSelector.hh
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
13
2018-02-09T22:59:39.000Z
2021-11-29T06:33:22.000Z
src/c++/include/alignment/MatchSelector.hh
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
17
2018-01-26T11:36:07.000Z
2022-02-03T18:48:43.000Z
src/c++/include/alignment/MatchSelector.hh
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
4
2018-10-19T20:00:00.000Z
2020-10-29T14:44:06.000Z
/** ** Isaac Genome Alignment Software ** Copyright (c) 2010-2017 Illumina, Inc. ** All rights reserved. ** ** This software is provided under the terms and conditions of the ** GNU GENERAL PUBLIC LICENSE Version 3 ** ** You should have received a copy of the GNU GENERAL PUBLIC LICENSE Version 3 ** along with ...
38.682464
113
0.740995
[ "geometry", "vector" ]
fb75d8af97a0d793670d7ae3bf8e20ada10c4194
5,227
cpp
C++
orthogonal-planes/Volume_box_batch_processing/orthogonal_planes/include/graph/ParallelPlaneGraph_filtering.cpp
tamaslevente/trai
4bf68463b941f305d9b25a9374b6c2a2d51a8046
[ "MIT" ]
40
2020-01-22T12:57:09.000Z
2022-03-16T02:31:35.000Z
orthogonal-planes/Volume_box_batch_processing/orthogonal_planes/include/graph/ParallelPlaneGraph_filtering.cpp
tamaslevente/trai
4bf68463b941f305d9b25a9374b6c2a2d51a8046
[ "MIT" ]
5
2020-07-07T14:10:46.000Z
2021-12-14T08:10:01.000Z
orthogonal-planes/Volume_box_batch_processing/orthogonal_planes/include/graph/ParallelPlaneGraph_filtering.cpp
tamaslevente/trai
4bf68463b941f305d9b25a9374b6c2a2d51a8046
[ "MIT" ]
14
2020-03-13T19:53:41.000Z
2021-11-30T02:04:34.000Z
/** BSD 3-Clause License This file is part of the code accompanying the paper From Planes to Corners: Multi-Purpose Primitive Detection in Unorganized 3D Point Clouds by C. Sommer, Y. Sun, L. Guibas, D. Cremers and T. Birdal, accepted for Publication in IEEE Robotics and Automation Letters (RA-L) 2020. Copyright (c) ...
41.15748
164
0.626746
[ "vector", "3d" ]
fb799c9920d1e8ab1d20bb53bcb1a9f97331e68e
34,766
cpp
C++
src/ParticleFilter/ParticleFilter.cpp
TKUICLab-humanoid/localization_submodule
c43646919158b3b1432e6b45df28c5205ad245c2
[ "MIT" ]
null
null
null
src/ParticleFilter/ParticleFilter.cpp
TKUICLab-humanoid/localization_submodule
c43646919158b3b1432e6b45df28c5205ad245c2
[ "MIT" ]
null
null
null
src/ParticleFilter/ParticleFilter.cpp
TKUICLab-humanoid/localization_submodule
c43646919158b3b1432e6b45df28c5205ad245c2
[ "MIT" ]
1
2020-12-09T16:45:21.000Z
2020-12-09T16:45:21.000Z
#include "ParticleFilter/ParticleFilter.h" ParticleFilter::ParticleFilter() { rand_angle_init = 5; particlepoint_num = PARTICLNUM; excellent_particle_num = EXCELLENTPARTICLNUM; Robot_Position.postion.X = -1; //830 700 Robot_Position.postion.Y = -1; //640 370 Robot_Position.angle = -1.0; ...
47.689986
180
0.56771
[ "vector" ]
fb7fae7901720865734afa9bcbaedb3797b9435b
27,942
cpp
C++
src/game/PathFinder.cpp
mfooo/wow
3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d
[ "OpenSSL" ]
1
2017-11-16T19:04:07.000Z
2017-11-16T19:04:07.000Z
src/game/PathFinder.cpp
mfooo/wow
3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d
[ "OpenSSL" ]
null
null
null
src/game/PathFinder.cpp
mfooo/wow
3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d
[ "OpenSSL" ]
null
null
null
/* * Copyright (C) 2005-2011 MaNGOS <http://getmangos.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; either version 2 of the License, or * (at your option) any later version. * ...
36.054194
134
0.614917
[ "mesh" ]
fb81f32ea31861332e2a347cf69f15154ce48a35
10,531
cpp
C++
GTE/Samples/Graphics/ShaderReflection/ShaderReflectionConsole.cpp
lakinwecker/GeometricTools
cff3e3fcb52d714afe0b6789839c460437c10b27
[ "BSL-1.0" ]
null
null
null
GTE/Samples/Graphics/ShaderReflection/ShaderReflectionConsole.cpp
lakinwecker/GeometricTools
cff3e3fcb52d714afe0b6789839c460437c10b27
[ "BSL-1.0" ]
1
2022-03-18T00:34:13.000Z
2022-03-18T00:34:13.000Z
GTE/Samples/Graphics/ShaderReflection/ShaderReflectionConsole.cpp
lakinwecker/GeometricTools
cff3e3fcb52d714afe0b6789839c460437c10b27
[ "BSL-1.0" ]
1
2022-03-17T21:54:55.000Z
2022-03-17T21:54:55.000Z
// David Eberly, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2022 // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt // https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // Version: 6.0.2022.01.06 #include "ShaderReflectionConsole.h" #if defin...
26.002469
145
0.608014
[ "vector" ]
fb833874c6b78e4709d3601e9c4bde881dcbb483
9,891
cpp
C++
GIDI/Src/GIDI_Ys1d.cpp
Mathnerd314/gidiplus
ed4c48ab399a964fe782f73d0a065849b00090bb
[ "MIT-0", "MIT" ]
null
null
null
GIDI/Src/GIDI_Ys1d.cpp
Mathnerd314/gidiplus
ed4c48ab399a964fe782f73d0a065849b00090bb
[ "MIT-0", "MIT" ]
null
null
null
GIDI/Src/GIDI_Ys1d.cpp
Mathnerd314/gidiplus
ed4c48ab399a964fe782f73d0a065849b00090bb
[ "MIT-0", "MIT" ]
null
null
null
/* # <<BEGIN-copyright>> # Copyright 2019, Lawrence Livermore National Security, LLC. # See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: MIT # <<END-copyright>> */ #include <stdlib.h> #include "GIDI.hpp" #include <HAPI.hpp> namespace GIDI { namespace Functions { /*! \class Ys1d * Class t...
43.19214
165
0.443939
[ "vector" ]
fb86a83e30ae9c65fdaae6621ca1c1db3d352ae6
5,069
cpp
C++
src/rdxclib/caching.cpp
elasota/rdx2
e08ca09a07d3ac8675f7f950a7bdf838a9f5f907
[ "MIT" ]
null
null
null
src/rdxclib/caching.cpp
elasota/rdx2
e08ca09a07d3ac8675f7f950a7bdf838a9f5f907
[ "MIT" ]
null
null
null
src/rdxclib/caching.cpp
elasota/rdx2
e08ca09a07d3ac8675f7f950a7bdf838a9f5f907
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include "../lua/src/lua.h" #include "../rdx/rdx_basictypes.hpp" #define MAX_FILES 4096 enum { ValueType_Table, ValueType_String, ValueType_Number, }; struct CacheFileInfo { struct CacheFileDictionary { char con...
20.689796
113
0.60071
[ "object" ]
fb8c61b6b5978825c0694cf718780fd48167dec8
40,579
cpp
C++
source/NavigationMesh.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
31
2015-03-19T08:44:48.000Z
2021-12-15T20:52:31.000Z
source/NavigationMesh.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
19
2015-07-09T09:02:44.000Z
2016-06-09T03:51:03.000Z
source/NavigationMesh.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
3
2017-10-04T23:38:18.000Z
2022-03-07T08:27:13.000Z
// Copyright (C) 2011 - 2014 David Reid. See included LICENCE. #include <GTGE/NavigationMesh.hpp> #include <GTGE/Scene.hpp> #include <GTGE/GTEngine.hpp> #include <GTGE/Recast/RecastAlloc.h> namespace GT { // A function taken from the Recast/Detour source for use when drawing the navigation mesh. float distanc...
44.543359
214
0.466325
[ "mesh", "object", "vector", "transform" ]
651efd3ad6a3fe0e83596d92164854b19a2bd88c
3,708
cpp
C++
Pod/Classes/algorithms/standard/spline.cpp
jbloit/iosEssentia
785ba29e8178942b396575dd3872bdf3d5d63cd5
[ "MIT" ]
null
null
null
Pod/Classes/algorithms/standard/spline.cpp
jbloit/iosEssentia
785ba29e8178942b396575dd3872bdf3d5d63cd5
[ "MIT" ]
null
null
null
Pod/Classes/algorithms/standard/spline.cpp
jbloit/iosEssentia
785ba29e8178942b396575dd3872bdf3d5d63cd5
[ "MIT" ]
null
null
null
/* * Copyright (C) 2006-2013 Music Technology Group - Universitat Pompeu Fabra * * This file is part of Essentia * * Essentia is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation (FSF), either version...
39.870968
350
0.68959
[ "vector" ]
651f08bd6f2abd6839191087a63c14707338fbb9
4,662
cpp
C++
src/file/rlsm.cpp
moonshadow565/bincollector
e627bd858aa6da4c4fccf7f671e00d400a6576cd
[ "MIT" ]
null
null
null
src/file/rlsm.cpp
moonshadow565/bincollector
e627bd858aa6da4c4fccf7f671e00d400a6576cd
[ "MIT" ]
null
null
null
src/file/rlsm.cpp
moonshadow565/bincollector
e627bd858aa6da4c4fccf7f671e00d400a6576cd
[ "MIT" ]
1
2021-04-25T09:46:07.000Z
2021-04-25T09:46:07.000Z
#include <common/bt_error.hpp> #include <common/mmap.hpp> #include <file/hashlist.hpp> #include <file/raw.hpp> #include <file/rlsm.hpp> #include <file/rlsm/manifest.hpp> using namespace file; struct FileRLSM::Reader final : IReader { Reader(rlsm::FileInfo const& info, fs::path const& path) : info_(info) ...
33.782609
136
0.634921
[ "vector" ]
6521115c5431b8c388845694585e426ba722f7cb
2,273
cpp
C++
monitor/ActionMonitor/ActiveDefaultAction.cpp
FFMG/myoddweb.piger
6c5e9dff6ab8e2e02d6990c1959450f087acf371
[ "MIT" ]
18
2016-03-04T15:44:24.000Z
2021-12-31T11:06:25.000Z
monitor/ActionMonitor/ActiveDefaultAction.cpp
FFMG/myoddweb.piger
6c5e9dff6ab8e2e02d6990c1959450f087acf371
[ "MIT" ]
49
2016-02-29T17:59:52.000Z
2019-05-05T04:59:26.000Z
monitor/ActionMonitor/ActiveDefaultAction.cpp
FFMG/myoddweb.piger
6c5e9dff6ab8e2e02d6990c1959450f087acf371
[ "MIT" ]
2
2016-07-30T10:17:12.000Z
2016-08-11T20:31:46.000Z
//This file is part of Myoddweb.Piger. // // Myoddweb.Piger is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Myo...
36.66129
164
0.731632
[ "vector" ]
65233b1ebde9838f3dfe74cb694f38b998e93f8f
3,827
hpp
C++
inc/UI/Button.hpp
barne856/3DSWMM
60dd2702c82857dcf4358b8d42a1fb430a568e90
[ "MIT" ]
null
null
null
inc/UI/Button.hpp
barne856/3DSWMM
60dd2702c82857dcf4358b8d42a1fb430a568e90
[ "MIT" ]
null
null
null
inc/UI/Button.hpp
barne856/3DSWMM
60dd2702c82857dcf4358b8d42a1fb430a568e90
[ "MIT" ]
null
null
null
#ifndef BUTTON #define BUTTON #include "Application/Application.hpp" #include "Meshes/Rectangle.hpp" #include "Materials/Flat.hpp" #include "Application/Renderer.hpp" #include "Meshes/Text.hpp" #include <iostream> #include <functional> class Button : public UIElement { public: Button(std::string label) { ...
28.992424
212
0.593154
[ "render" ]
6526f977708e538da60753e9053cebb2c2843e07
8,549
cpp
C++
deps/libgeos/geos/src/operation/IsSimpleOp.cpp
AmristarSolutions/node-gdal-next
8c0a7d9b26c240bf04abbf1b1de312b0691b3d88
[ "Apache-2.0" ]
57
2020-02-08T17:52:17.000Z
2021-10-14T03:45:09.000Z
deps/libgeos/geos/src/operation/IsSimpleOp.cpp
AmristarSolutions/node-gdal-next
8c0a7d9b26c240bf04abbf1b1de312b0691b3d88
[ "Apache-2.0" ]
47
2020-02-12T16:41:40.000Z
2021-09-28T22:27:56.000Z
deps/libgeos/geos/src/operation/IsSimpleOp.cpp
AmristarSolutions/node-gdal-next
8c0a7d9b26c240bf04abbf1b1de312b0691b3d88
[ "Apache-2.0" ]
8
2020-03-17T11:18:07.000Z
2021-10-14T03:45:15.000Z
/********************************************************************** * * GEOS - Geometry Engine Open Source * http://geos.osgeo.org * * Copyright (C) 2009 Sandro Santilli <strk@kbt.io> * Copyright (C) 2001-2002 Vivid Solutions Inc. * Copyright (C) 2005 Refractions Research Inc. * * This is free softwar...
24.21813
95
0.617967
[ "geometry", "vector" ]
653607b797c7ad53fd8f372f42468cad85cec9ed
4,607
cpp
C++
Source/Core/RenderAPI_old/VulkanAPI/Wrapper/VulkanBuffer.cpp
Cube219/CubeEngine_old2
d251d540a4fdbc993ec5c9183eb30ac4dc81d5be
[ "MIT" ]
null
null
null
Source/Core/RenderAPI_old/VulkanAPI/Wrapper/VulkanBuffer.cpp
Cube219/CubeEngine_old2
d251d540a4fdbc993ec5c9183eb30ac4dc81d5be
[ "MIT" ]
null
null
null
Source/Core/RenderAPI_old/VulkanAPI/Wrapper/VulkanBuffer.cpp
Cube219/CubeEngine_old2
d251d540a4fdbc993ec5c9183eb30ac4dc81d5be
[ "MIT" ]
null
null
null
#include "VulkanBuffer.h" #include <memory.h> #include "VulkanDevice.h" #include "EngineCore/Assertion.h" namespace cube { namespace render { VkBufferUsageFlags GetVkBufferUsageFlags(BufferTypeFlags typeBits) { VkBufferUsageFlags f = 0; if(typeBits.IsSet(BufferTypeFlag::Uniform)) f |= VK_BUFFER_USAG...
28.438272
112
0.72086
[ "render" ]
6539eff7ce45f8a4a707ac50644ac668378b1ecb
1,332
cpp
C++
calc-sheet-column-number/calc-sheet-column-number.cpp
fatihcansu/kripton
e680d9fd24a632167f5a8ac71924ef636dcd567c
[ "Unlicense" ]
13
2021-01-24T20:03:35.000Z
2022-03-15T00:49:10.000Z
calc-sheet-column-number/calc-sheet-column-number.cpp
fatihcansu/kripton
e680d9fd24a632167f5a8ac71924ef636dcd567c
[ "Unlicense" ]
null
null
null
calc-sheet-column-number/calc-sheet-column-number.cpp
fatihcansu/kripton
e680d9fd24a632167f5a8ac71924ef636dcd567c
[ "Unlicense" ]
8
2021-01-18T21:10:27.000Z
2021-03-27T11:31:17.000Z
// Build instruction: g++ -g calc-sheet-column-number.cpp -o calc-sheet-column-number.o #include <iostream> #include <vector> #include <cmath> using namespace std; class Solution { public: int titleToNumber(string s) { string sLetters("ABCDEFGHIJKLMNOPQRSTUVWXYZ"); int nSum = 0; int...
29.6
136
0.607357
[ "vector" ]
6548a81f94020f98f34da2481281fab543aece71
2,643
cc
C++
ros_node/urdf_reader.cc
Foued70/StaticMapping
1ca31318386de954702ad88804e1cb41d5ee0486
[ "MIT" ]
264
2019-08-08T08:39:39.000Z
2022-03-27T09:46:42.000Z
ros_node/urdf_reader.cc
Foued70/StaticMapping
1ca31318386de954702ad88804e1cb41d5ee0486
[ "MIT" ]
26
2019-08-26T13:35:05.000Z
2022-03-14T10:16:55.000Z
ros_node/urdf_reader.cc
Foued70/StaticMapping
1ca31318386de954702ad88804e1cb41d5ee0486
[ "MIT" ]
62
2019-08-20T17:14:14.000Z
2022-03-16T12:18:35.000Z
// MIT License // Copyright (c) 2019 Edward Liu // 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, merg...
37.757143
80
0.745743
[ "vector", "model", "transform" ]
656e8acbbabfa9911937b8ff606e62d01e62bc7a
3,736
hpp
C++
Code/Source/Tools/Browse3D/GraphicsWidget.hpp
sidch/Thea
d5ea3e3f1bd7389255cfabf1d55a6fe88c3c7db7
[ "BSD-3-Clause" ]
77
2016-11-06T17:25:54.000Z
2022-03-29T16:30:34.000Z
Code/Source/Tools/Browse3D/GraphicsWidget.hpp
sidch/Thea
d5ea3e3f1bd7389255cfabf1d55a6fe88c3c7db7
[ "BSD-3-Clause" ]
1
2017-04-22T16:47:04.000Z
2017-04-22T16:47:04.000Z
Code/Source/Tools/Browse3D/GraphicsWidget.hpp
sidch/Thea
d5ea3e3f1bd7389255cfabf1d55a6fe88c3c7db7
[ "BSD-3-Clause" ]
20
2015-10-17T20:38:50.000Z
2022-02-18T09:56:27.000Z
//============================================================================ // // This file is part of the Thea toolkit. // // This software is distributed under the BSD license, as detailed in the // accompanying LICENSE.txt file. Portions are derived from other works: // their respective licenses and copyright inf...
35.580952
120
0.69031
[ "model" ]
657a7dadf17ad76d7b320ddb4b8aedfda02d8924
2,253
cpp
C++
competitive programming/leetcode/380. Insert Delete GetRandom O(1).cpp
kashyap99saksham/Code
96658d0920eb79c007701d2a3cc9dbf453d78f96
[ "MIT" ]
16
2020-06-02T19:22:45.000Z
2022-02-05T10:35:28.000Z
competitive programming/leetcode/380. Insert Delete GetRandom O(1).cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
null
null
null
competitive programming/leetcode/380. Insert Delete GetRandom O(1).cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
2
2020-08-27T17:40:06.000Z
2022-02-05T10:33:52.000Z
class RandomizedSet { public: unordered_map<int, int> m; vector<int>v; /** Initialize your data structure here. */ RandomizedSet() { } /** Inserts a value to the set. Returns true if the set did not already contain the specified element. */ bool insert(int val) { if(m.find(val)!=m...
23.226804
109
0.564581
[ "object", "vector" ]
657b23236aff8928e8ea7a6d64e353b1bc88c506
6,482
cpp
C++
src/World.cpp
jaydonhansen/predator-prey-simulator
5aa4e6e1d0af1f15ea6316aee2c3a0bff5fd178b
[ "MIT" ]
null
null
null
src/World.cpp
jaydonhansen/predator-prey-simulator
5aa4e6e1d0af1f15ea6316aee2c3a0bff5fd178b
[ "MIT" ]
null
null
null
src/World.cpp
jaydonhansen/predator-prey-simulator
5aa4e6e1d0af1f15ea6316aee2c3a0bff5fd178b
[ "MIT" ]
null
null
null
#include <vector> #include <algorithm> #include <iostream> #include "Rand.h" #include "World.h" using namespace std; World::World(int size, int initial_predators, int initial_prey, float predator_reproduction_chance, float prey_reproduction_chance, int predator_hunger_limit): gri...
30.575472
125
0.489509
[ "vector" ]
657cf98e3ac274ab3b2fc0f317eeb0d10dc044bc
9,735
cpp
C++
compiler/compiler.cpp
NREL/Spawn
2f6861db6b147b2ee60a7b1e8bae81ba755f2dfe
[ "BSD-3-Clause" ]
6
2020-05-10T20:48:36.000Z
2022-01-18T14:59:07.000Z
compiler/compiler.cpp
NREL/Spawn
2f6861db6b147b2ee60a7b1e8bae81ba755f2dfe
[ "BSD-3-Clause" ]
29
2020-05-13T12:40:43.000Z
2022-01-24T00:50:21.000Z
compiler/compiler.cpp
NREL/Spawn
2f6861db6b147b2ee60a7b1e8bae81ba755f2dfe
[ "BSD-3-Clause" ]
null
null
null
#include "clang/Basic/DiagnosticOptions.h" #include "clang/CodeGen/CodeGenAction.h" #include "clang/CodeGen/ObjectFilePCHContainerOperations.h" #include "clang/Driver/Compilation.h" #include "clang/Driver/Driver.h" #include "clang/Driver/Options.h" #include "clang/Driver/Tool.h" #include "clang/Frontend/CompilerInstanc...
29.953846
112
0.692553
[ "object", "vector", "transform" ]
657d7be290acd05a4aebe6425b6efbc8d86097fa
773
cpp
C++
dataStructure/DisjointSet.cpp
qwer312132/competive-programing
05ea48900c827753a7b5723ef54a0852f7e7cbc1
[ "CECILL-B" ]
1
2022-03-19T16:52:31.000Z
2022-03-19T16:52:31.000Z
dataStructure/DisjointSet.cpp
qwer312132/competive-programing
05ea48900c827753a7b5723ef54a0852f7e7cbc1
[ "CECILL-B" ]
null
null
null
dataStructure/DisjointSet.cpp
qwer312132/competive-programing
05ea48900c827753a7b5723ef54a0852f7e7cbc1
[ "CECILL-B" ]
null
null
null
struct DisjointSet{ // save() is like recursive // undo() is like return int n, fa[ N ], sz[ N ]; vector< pair<int*,int> > h; vector<int> sp; void init( int tn ){ n=tn; for( int i = 0 ; i < n ; i ++ ){ fa[ i ]=i; sz[ i ]=1; } sp.clear(); h.clear(); } void assign( int *k, int ...
22.735294
43
0.438551
[ "vector" ]
65815305e31cc6d0c2de26de7836eb7ae6b9353d
7,597
cpp
C++
rank_server/src/RankModule.cpp
zyb2013/shiny-engine
4d615975e778522499c1699929867c711456c23a
[ "MIT" ]
17
2018-04-24T03:47:19.000Z
2022-02-25T15:41:10.000Z
rank_server/src/RankModule.cpp
ericyonng/shiny-engine
96a8eb0fae36471570ae0fc61741bbc8c26c7139
[ "MIT" ]
null
null
null
rank_server/src/RankModule.cpp
ericyonng/shiny-engine
96a8eb0fae36471570ae0fc61741bbc8c26c7139
[ "MIT" ]
7
2018-09-10T12:02:15.000Z
2021-09-13T02:36:24.000Z
/* * File: RankModule.cpp * Author: Jehu Shaw * * Created on 2014_7_9, 16:00 */ #include "RankModule.h" #include "NodeDefines.h" #include "ThreadPool.h" #include "Log.h" #include "BodyMessage.h" #include "ChannelManager.h" #include "WorkerOperateHelper.h" #include "CacheOperateHelper.h" #include "TimestampMana...
29.332046
97
0.721864
[ "vector" ]
65828429a636eb7ebc68620bcb0776d87f932ffd
567
cpp
C++
Cplus/EditDistance.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
1
2018-01-22T12:06:28.000Z
2018-01-22T12:06:28.000Z
Cplus/EditDistance.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
Cplus/EditDistance.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
#include <algorithm> #include <string> #include <vector> using namespace std; class Solution { public: int minDistance(string word1, string word2) { int M = word1.size(), N = word2.size(); vector<int> dp(N + 1); for (int j = 0; j < N; ++j) dp[j + 1] = dp[j] + 1; for (int i = 0; i < M; ++i) { int pre ...
18.290323
50
0.485009
[ "vector" ]
658c40283526ea3cbdc55f0d002f7db018da261d
3,214
cc
C++
src/funct.cc
ManfredMaennle/fzymodel
fa4a07ce06b0e410f1032f45c8555f1edd4c5220
[ "MIT" ]
null
null
null
src/funct.cc
ManfredMaennle/fzymodel
fa4a07ce06b0e410f1032f45c8555f1edd4c5220
[ "MIT" ]
null
null
null
src/funct.cc
ManfredMaennle/fzymodel
fa4a07ce06b0e410f1032f45c8555f1edd4c5220
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 1999, 2020 Manfred Maennle * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
30.903846
82
0.597698
[ "vector" ]
659102f0a3238983a2a7399e4fcfc029719130a5
2,562
cpp
C++
Crypto/EdDSAKey.cpp
artur00231/webauthn
445e9042330d724dc58e95e53799d62011687375
[ "BSL-1.0" ]
null
null
null
Crypto/EdDSAKey.cpp
artur00231/webauthn
445e9042330d724dc58e95e53799d62011687375
[ "BSL-1.0" ]
null
null
null
Crypto/EdDSAKey.cpp
artur00231/webauthn
445e9042330d724dc58e95e53799d62011687375
[ "BSL-1.0" ]
null
null
null
#include "EdDSAKey.h" #include <memory> #include <openssl/evp.h> #include <openssl/param_build.h> #include <openssl/core_names.h> #include <iostream> std::optional<webauthn::crypto::EdDSAKey> webauthn::crypto::EdDSAKey::create(const std::vector<std::byte>& bin_x, const COSE::EdDSA_EC ec) { EdDSAKey ...
28.786517
171
0.645589
[ "vector" ]
4f1dc1eefff184834a26dfa4cffb229c8ed98a7b
32,946
cpp
C++
src/util.cpp
farsider350/AUTX-Core
6d00d1e027a5a6dffb3b0815a155e4515ced007b
[ "MIT" ]
null
null
null
src/util.cpp
farsider350/AUTX-Core
6d00d1e027a5a6dffb3b0815a155e4515ced007b
[ "MIT" ]
null
null
null
src/util.cpp
farsider350/AUTX-Core
6d00d1e027a5a6dffb3b0815a155e4515ced007b
[ "MIT" ]
1
2021-01-03T02:35:54.000Z
2021-01-03T02:35:54.000Z
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Copyright (c) 2014-2019 The autx Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #i...
29.654365
162
0.644206
[ "object", "vector" ]
4f1e02bb777a13471aafafdc846a4be095a95362
6,312
cpp
C++
src/patterngen/pattern_extractor/types/symbol_pattern.cpp
mehrdad-shokri/retdec
a82f16e97b163afe789876e0a819489c5b9b358e
[ "MIT", "Zlib", "BSD-3-Clause" ]
4,816
2017-12-12T18:07:09.000Z
2019-04-17T02:01:04.000Z
src/patterngen/pattern_extractor/types/symbol_pattern.cpp
mehrdad-shokri/retdec
a82f16e97b163afe789876e0a819489c5b9b358e
[ "MIT", "Zlib", "BSD-3-Clause" ]
514
2017-12-12T18:22:52.000Z
2019-04-16T16:07:11.000Z
src/patterngen/pattern_extractor/types/symbol_pattern.cpp
mehrdad-shokri/retdec
a82f16e97b163afe789876e0a819489c5b9b358e
[ "MIT", "Zlib", "BSD-3-Clause" ]
579
2017-12-12T18:38:02.000Z
2019-04-11T13:32:53.000Z
/** * @file src/patterngen/pattern_extractor/types/symbol_pattern.cpp * @brief Class representing pattern of one symbol. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #include <set> #include "retdec/utils/container.h" #include "retdec/utils/conversion.h" #include "retdec/utils/string.h" ...
22.542857
79
0.700412
[ "vector" ]
4f20b197725c0076331049678f18473a4b322c97
60,298
cpp
C++
pcm.cpp
CrabJounrnal/pcm
3756d595b2e0e69d7fa04eab194fcc70048aba62
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
pcm.cpp
CrabJounrnal/pcm
3756d595b2e0e69d7fa04eab194fcc70048aba62
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
pcm.cpp
CrabJounrnal/pcm
3756d595b2e0e69d7fa04eab194fcc70048aba62
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2009-2020, Intel Corporation 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 list of conditions and the fol...
42.255081
754
0.553153
[ "vector" ]
4f20e1efbd87309492ddd41fd5d1604402cfb048
14,283
cpp
C++
main.cpp
Ian-Parberry/opticalillusions
3c65fdaea567ea06ff97a2b60886978b185c0c4e
[ "MIT" ]
null
null
null
main.cpp
Ian-Parberry/opticalillusions
3c65fdaea567ea06ff97a2b60886978b185c0c4e
[ "MIT" ]
null
null
null
main.cpp
Ian-Parberry/opticalillusions
3c65fdaea567ea06ff97a2b60886978b185c0c4e
[ "MIT" ]
null
null
null
/// \file main.cpp /// \brief Generate a pair of optical illusions in SVG format. // MIT License // // Copyright (c) 2021 Ian Parberry // // 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 ...
37.785714
93
0.657845
[ "transform" ]
4f242a0af67702964ebcdbfd979e13e7e333ea62
2,845
cpp
C++
src/PhysicsEngine/PhysicsEngineMath.cpp
ThePythonator/PhysicsEngine
8ee0d275df9674554697f25f9d782079c8a41596
[ "MIT" ]
5
2022-01-20T16:01:52.000Z
2022-03-19T23:07:23.000Z
src/PhysicsEngine/PhysicsEngineMath.cpp
ThePythonator/PhysicsEngine
8ee0d275df9674554697f25f9d782079c8a41596
[ "MIT" ]
null
null
null
src/PhysicsEngine/PhysicsEngineMath.cpp
ThePythonator/PhysicsEngine
8ee0d275df9674554697f25f9d782079c8a41596
[ "MIT" ]
null
null
null
#include "PhysicsEngineMath.hpp" namespace PhysicsEngine { const float PI = 3.14159265f; //const float EPSILON = 0.0001f; // todo: check if reasonable float length_squared(vec2 v) { return linalg::length2(v); } vec2 normalise(vec2 v) { return linalg::normalize(v); } float deg_to_rad(float degrees) { re...
27.621359
126
0.698418
[ "shape", "vector", "model" ]
4f24d3f285753057537f9f7078d7bf5f97a281a8
5,458
hpp
C++
networkit/cpp/randomization/CurveballImpl.hpp
kmc-kk/networkit
28c1208104acae8ef70911340bf88b3e3dd08db7
[ "MIT" ]
null
null
null
networkit/cpp/randomization/CurveballImpl.hpp
kmc-kk/networkit
28c1208104acae8ef70911340bf88b3e3dd08db7
[ "MIT" ]
null
null
null
networkit/cpp/randomization/CurveballImpl.hpp
kmc-kk/networkit
28c1208104acae8ef70911340bf88b3e3dd08db7
[ "MIT" ]
1
2020-02-05T17:39:47.000Z
2020-02-05T17:39:47.000Z
/* * CurveballImpl.h * * Author: Hung Tran <htran@ae.cs.uni-frankfurt.de> */ // networkit-format #ifndef RANDOMIZATION_CURVEBALL_IMPL_H #define RANDOMIZATION_CURVEBALL_IMPL_H #include <cassert> #include <utility> #include <networkit/Globals.hpp> #include <networkit/graph/Graph.hpp> namespace NetworKit { namespac...
25.867299
100
0.687248
[ "vector" ]
4f24fb152ca59176f03004a582efcd4a00a80e7f
3,109
cpp
C++
Geom/Mesh.cpp
danheeks/PyCAD
711543aaa88c88a82d909f329b6ee36a9b96ae79
[ "BSD-3-Clause" ]
17
2018-07-30T17:38:02.000Z
2022-02-03T10:35:38.000Z
Geom/Mesh.cpp
danheeks/PyCAD
711543aaa88c88a82d909f329b6ee36a9b96ae79
[ "BSD-3-Clause" ]
2
2020-06-11T10:29:06.000Z
2020-06-11T15:42:00.000Z
Geom/Mesh.cpp
danheeks/PyCAD
711543aaa88c88a82d909f329b6ee36a9b96ae79
[ "BSD-3-Clause" ]
null
null
null
#include "Mesh.h" #include "Tris.h" int face_id = 1; CMesh::CMesh(const CTris& tris) { face_id = 1; for (std::list<CTri>::const_iterator It = tris.m_tris.begin(); It != tris.m_tris.end(); It++) { const CTri& tri = *It; AddTri(tri.x[0]); } } CMeshVertex* CMesh::AddGetVertex(const float* x) { ...
23.02963
100
0.599871
[ "mesh", "vector" ]
4f273676d995ab67ec9a6ab6041b0adc87b328a1
5,010
hpp
C++
CvGameCoreDLL/Boost-1.32.0/include/boost/signals/detail/signal_base.hpp
macaurther/DOCUSA
40586727c351d1b1130c05c2d4648cca3a8bacf5
[ "MIT" ]
93
2015-11-20T04:13:36.000Z
2022-03-24T00:03:08.000Z
CvGameCoreDLL/Boost-1.32.0/include/boost/signals/detail/signal_base.hpp
macaurther/DOCUSA
40586727c351d1b1130c05c2d4648cca3a8bacf5
[ "MIT" ]
206
2015-11-09T00:27:15.000Z
2021-12-04T19:05:18.000Z
CvGameCoreDLL/Boost-1.32.0/include/boost/signals/detail/signal_base.hpp
dguenms/Dawn-of-Civilization
1c4f510af97a869637cddb4c0859759158cea5ce
[ "MIT" ]
117
2015-11-08T02:43:46.000Z
2022-02-12T06:29:00.000Z
// Boost.Signals library // Copyright Douglas Gregor 2001-2004. Use, modification and // distribution is subject to the Boost Software License, Version // 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // For more information, see http://www.boost.org #ifndef...
31.118012
77
0.618563
[ "vector" ]
4f28103370771248a447b4808617853a97163cce
878
cpp
C++
XmlParser/XmlParser/xml_node.cpp
startrunner/fmi-intro-programming-xml-parser
461b0f740c507a53f7e272232476d5bd3a1c5c1e
[ "MIT" ]
1
2019-06-05T06:44:42.000Z
2019-06-05T06:44:42.000Z
XmlParser/XmlParser/xml_node.cpp
startrunner/fmi-intro-programming-xml-parser
461b0f740c507a53f7e272232476d5bd3a1c5c1e
[ "MIT" ]
null
null
null
XmlParser/XmlParser/xml_node.cpp
startrunner/fmi-intro-programming-xml-parser
461b0f740c507a53f7e272232476d5bd3a1c5c1e
[ "MIT" ]
null
null
null
#include "pch.h" #include "xml_node.h" using namespace std; xml_node::xml_node(string name) { name = name; } xml_node::xml_node(string name, map<string, string> attributes, string content) { this->name = name; this->attributes = attributes; this->content = content; } xml_node::xml_node(string name, map<s...
23.72973
90
0.686788
[ "vector" ]
4f2908fac4f568515a51f5aa444c02dcfa50fd7c
24,384
cpp
C++
src/turtlebot_tag.cpp
ikhatri/turtlebot-tag
ebdf15bb8738fdd82ff0a028e0b759f6f9224631
[ "MIT" ]
null
null
null
src/turtlebot_tag.cpp
ikhatri/turtlebot-tag
ebdf15bb8738fdd82ff0a028e0b759f6f9224631
[ "MIT" ]
null
null
null
src/turtlebot_tag.cpp
ikhatri/turtlebot-tag
ebdf15bb8738fdd82ff0a028e0b759f6f9224631
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <ros/ros.h> #include <std_msgs/String.h> #include <sstream> #include <math.h> #include <eigen3/Eigen/Dense> #include <geometry_msgs/Point32.h> #include <geometry_msgs/Point.h> #include <sensor_msgs/LaserScan.h> #include <sensor_msgs/PointCloud.h> #include <geometry_msg...
35.753666
141
0.718258
[ "vector" ]
4f2eaa145976dabe7d5ca8863479bd7623e174ab
3,151
cpp
C++
3d_walk/nodes/spherenode.cpp
ivan-uskov/graphics
dbcfa9db45fb8ba362209470bbae95452b7bfe75
[ "MIT" ]
null
null
null
3d_walk/nodes/spherenode.cpp
ivan-uskov/graphics
dbcfa9db45fb8ba362209470bbae95452b7bfe75
[ "MIT" ]
2
2015-10-26T08:18:53.000Z
2016-01-11T18:05:00.000Z
3d_walk/nodes/spherenode.cpp
ivan-uskov/graphics
dbcfa9db45fb8ba362209470bbae95452b7bfe75
[ "MIT" ]
null
null
null
#include "spherenode.h" #include "../utils/mycast.h" #include <vector> using namespace MyMath; using namespace std; SphereNode::SphereNode(SceneNode * parent, Sphere const& sphere, int accuracy) : ModifiedSceneNode(parent) , m_sphere(sphere) , m_accuracy(accuracy) { } void SphereNode::rende...
29.448598
99
0.648366
[ "render", "vector" ]
4f30202db28135c91d29fde62cdec2937361cc1b
1,493
cc
C++
src/device/bluetooth/bluetooth_utils.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
9
2018-09-21T05:36:12.000Z
2021-11-15T15:14:36.000Z
device/bluetooth/bluetooth_utils.cc
devasia1000/chromium
919a8a666862fb866a6bb7aa7f3ae8c0442b4828
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
device/bluetooth/bluetooth_utils.cc
devasia1000/chromium
919a8a666862fb866a6bb7aa7f3ae8c0442b4828
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2018-11-28T14:54:13.000Z
2020-07-02T07:36:07.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 "device/bluetooth/bluetooth_utils.h" #include <vector> #include "base/basictypes.h" #include "base/logging.h" #include "base/string_util.h"...
24.883333
73
0.610181
[ "vector" ]
4f309aaccaaf5469c333b4e5a0197d5dae8f0823
1,152
hpp
C++
hw3-Constructing Abstract Syntax Trees/src/include/AST/ast.hpp
banne2266/compiler-NCTU-2020
d8a642479bc0d62611773591af844b7daebcc99a
[ "MIT" ]
1
2021-08-03T13:45:31.000Z
2021-08-03T13:45:31.000Z
hw3-Constructing Abstract Syntax Trees/src/include/AST/ast.hpp
banne2266/compiler-NCTU-2020
d8a642479bc0d62611773591af844b7daebcc99a
[ "MIT" ]
null
null
null
hw3-Constructing Abstract Syntax Trees/src/include/AST/ast.hpp
banne2266/compiler-NCTU-2020
d8a642479bc0d62611773591af844b7daebcc99a
[ "MIT" ]
1
2021-06-17T07:13:52.000Z
2021-06-17T07:13:52.000Z
#ifndef __AST_H #define __AST_H #include <cstdint> #include <cstring> #include <string> #include<vector> #include "visitor/AstNodeVisitor.hpp" struct Location { Location(const uint32_t line, const uint32_t col) : line(line), col(col) {} uint32_t line; uint32_t col; }; enum p_type{ int_, real_,...
16.457143
79
0.681424
[ "vector" ]
4f345abafd654998252ba6bcdf624fea7865ea95
21,015
cc
C++
tests/unittests/plugin_unittest.cc
Exstream-OpenSource/Chromium-Embedded-Framework
74cf22c97ad16b56a37c9362c47a04425615dc28
[ "BSD-3-Clause" ]
1
2020-06-30T01:18:35.000Z
2020-06-30T01:18:35.000Z
tests/unittests/plugin_unittest.cc
Exstream-OpenSource/Chromium-Embedded-Framework
74cf22c97ad16b56a37c9362c47a04425615dc28
[ "BSD-3-Clause" ]
null
null
null
tests/unittests/plugin_unittest.cc
Exstream-OpenSource/Chromium-Embedded-Framework
74cf22c97ad16b56a37c9362c47a04425615dc28
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2015 The Chromium Embedded Framework 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 "include/base/cef_bind.h" #include "include/cef_pack_resources.h" #include "include/cef_resource_bundle.h" #include "inclu...
32.990581
80
0.678896
[ "model" ]
4f3a034c6512d505a20bdb987de7dd8e451f2161
1,249
cpp
C++
src/caffe/layers/tanh_layer.cpp
Luoyadan/dgx-1_caffe
ca2c8a7c94d528d68f9630106a415f93be620dd4
[ "BSD-2-Clause" ]
17
2018-06-13T06:33:52.000Z
2022-02-05T18:43:14.000Z
src/caffe/layers/tanh_layer.cpp
Luoyadan/dgx-1_caffe
ca2c8a7c94d528d68f9630106a415f93be620dd4
[ "BSD-2-Clause" ]
1
2019-04-17T02:19:39.000Z
2019-04-17T02:19:39.000Z
src/caffe/layers/tanh_layer.cpp
Luoyadan/dgx-1_caffe
ca2c8a7c94d528d68f9630106a415f93be620dd4
[ "BSD-2-Clause" ]
9
2018-06-14T07:56:56.000Z
2021-04-29T08:32:31.000Z
// TanH neuron activation function layer. // Adapted from ReLU layer code written by Yangqing Jia #include <vector> #include "caffe/layers/tanh_layer.hpp" namespace caffe { template <typename Ftype, typename Btype> void TanHLayer<Ftype, Btype>::Forward_cpu(const vector<Blob*>& bottom, const vector<Blob*>& top) ...
27.755556
70
0.666934
[ "vector" ]
4f3a298bee0c651b4e031ff015a608869622011a
33,442
cc
C++
src/yb/client/transaction.cc
Arnav15/yugabyte-db
e4675ba8be2409af7e89634f7f68a63440eb3874
[ "Apache-2.0" ]
1
2022-01-31T20:38:23.000Z
2022-01-31T20:38:23.000Z
src/yb/client/transaction.cc
Arnav15/yugabyte-db
e4675ba8be2409af7e89634f7f68a63440eb3874
[ "Apache-2.0" ]
null
null
null
src/yb/client/transaction.cc
Arnav15/yugabyte-db
e4675ba8be2409af7e89634f7f68a63440eb3874
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) YugaByte, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
34.36999
100
0.668441
[ "vector" ]
4f3b1f3b3dd32e9572cc967555388a3722ae58f3
8,743
cpp
C++
src/plugins/graphcut/graphcut.cpp
circlingthesun/cloudclean
4b9496bc3b52143c35f0ad83ee68bbc5e8aa32d5
[ "MIT" ]
2
2018-10-18T16:10:21.000Z
2020-05-28T01:52:24.000Z
src/plugins/graphcut/graphcut.cpp
circlingthesun/cloudclean
4b9496bc3b52143c35f0ad83ee68bbc5e8aa32d5
[ "MIT" ]
null
null
null
src/plugins/graphcut/graphcut.cpp
circlingthesun/cloudclean
4b9496bc3b52143c35f0ad83ee68bbc5e8aa32d5
[ "MIT" ]
4
2017-12-13T07:39:18.000Z
2021-05-29T13:13:48.000Z
#include "plugins/graphcut/graphcut.h" #include <QDebug> #include <QEvent> #include <QKeyEvent> #include <QAction> #include <QGLShaderProgram> #include <QGLBuffer> #include <QTabWidget> #include <QApplication> #include <QToolBar> #include <QVBoxLayout> #include <QDoubleSpinBox> #include <QLabel> #include <QSpacerItem> ...
30.252595
115
0.653437
[ "object", "vector", "model" ]
4f3cb011bac31681a3407ec41c24d0a614dfb7ed
25,655
cpp
C++
src/hasp_gui.cpp
yuzi40277738/openHASP
e5332a3aad19a399194bcf31add3bcacf3e2c130
[ "MIT" ]
1
2021-11-26T08:55:31.000Z
2021-11-26T08:55:31.000Z
src/hasp_gui.cpp
yuzi40277738/openHASP
e5332a3aad19a399194bcf31add3bcacf3e2c130
[ "MIT" ]
null
null
null
src/hasp_gui.cpp
yuzi40277738/openHASP
e5332a3aad19a399194bcf31add3bcacf3e2c130
[ "MIT" ]
null
null
null
/* MIT License - Copyright (c) 2019-2022 Francis Van Roie For full license information read the LICENSE file in the project folder */ #include "hasplib.h" #include "lv_drv_conf.h" // Filesystem Driver #include "lv_misc/lv_fs.h" #include "lv_fs_if.h" // Device Drivers #include "dev/device.h" #include "drv/tft/tft...
33.935185
116
0.666069
[ "object" ]
4f3e158c6e7071ddcc89c9e12c5c0a127d1163a0
9,165
cpp
C++
mp/src/game/client/toolframework_client.cpp
ozxybox/source-sdk-2013
17dbb5ca5c2aa0e9cfc5360b098833d8b009e79c
[ "Unlicense" ]
4
2022-03-08T04:03:06.000Z
2022-03-09T06:51:54.000Z
mp/src/game/client/toolframework_client.cpp
ozxybox/source-sdk-2013
17dbb5ca5c2aa0e9cfc5360b098833d8b009e79c
[ "Unlicense" ]
null
null
null
mp/src/game/client/toolframework_client.cpp
ozxybox/source-sdk-2013
17dbb5ca5c2aa0e9cfc5360b098833d8b009e79c
[ "Unlicense" ]
1
2022-03-17T12:22:45.000Z
2022-03-17T12:22:45.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //===========================================================================// #include "cbase.h" #include "toolframework_client.h" #include "igamesystem.h" #include "tier1/KeyValues.h" #include "toolframework/iclientengin...
25.672269
141
0.589416
[ "render", "vector" ]
4f42c4f6b31b35375eca2983e5662a1d88122f48
1,287
cc
C++
PhysicsTools/PatAlgos/plugins/GenMETExtractor.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
PhysicsTools/PatAlgos/plugins/GenMETExtractor.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
PhysicsTools/PatAlgos/plugins/GenMETExtractor.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "PhysicsTools/PatAlgos/plugins/GenMETExtractor.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h" #include "FWCore/ParameterSet/interface/ParameterSetDescription.h" #include <memory> using namespace pat; GenMETExtractor::GenMETEx...
28.6
100
0.738928
[ "vector" ]
4f446dfbb6992056f78e122ccc8224bbc4cc25e8
16,748
cc
C++
ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_unittest.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_unittest.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_unittest.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "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 "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter.h" #include <memory> #include <utility> #include <vector> #include "bas...
38.948837
89
0.672021
[ "vector" ]
4f447468e407a22b7e4409607e6ba04f3bb1146c
5,081
hpp
C++
ios/Pods/boost-for-react-native/boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
8,805
2015-11-03T00:52:29.000Z
2022-03-29T22:30:03.000Z
ios/Pods/boost-for-react-native/boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
14,694
2015-02-24T15:13:42.000Z
2022-03-31T13:16:45.000Z
ios/Pods/boost-for-react-native/boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
1,329
2015-11-03T20:25:51.000Z
2022-03-31T18:10:38.000Z
#ifndef BOOST_INTERPROCESS_DETAIL_SP_COUNTED_IMPL_HPP_INCLUDED #define BOOST_INTERPROCESS_DETAIL_SP_COUNTED_IMPL_HPP_INCLUDED #ifndef BOOST_CONFIG_HPP # include <boost/config.hpp> #endif # #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif // // This file is the adaptation for shared memory memory ...
31.75625
87
0.685298
[ "object" ]
4f449c6af09424d09add79fb69c662d751b9489c
1,713
hpp
C++
src/net/crossbar.hpp
rikygege/Hornet
8b8ebe70fbc6391f361d98b8960dfdeeca0b8ebd
[ "MIT" ]
null
null
null
src/net/crossbar.hpp
rikygege/Hornet
8b8ebe70fbc6391f361d98b8960dfdeeca0b8ebd
[ "MIT" ]
null
null
null
src/net/crossbar.hpp
rikygege/Hornet
8b8ebe70fbc6391f361d98b8960dfdeeca0b8ebd
[ "MIT" ]
null
null
null
// -*- mode:c++; c-style:k&r; c-basic-offset:4; indent-tabs-mode: nil; -*- // vi:set et cin sw=4 cino=>se0n0f0{0}0^0\:0=sl1g0hspst0+sc3C0/0(0u0U0w0m0: #ifndef __CROSSBAR_HPP__ #define __CROSSBAR_HPP__ #include <vector> #include "node_id.hpp" #include "virtual_queue.hpp" #include "ingress.hpp" #include "egress.hpp" #i...
31.145455
85
0.705779
[ "vector" ]
4f45683d278719a3cdb819fcd3cc072c0b9a6353
2,359
hpp
C++
c++/include/connect/ncbi_pipe_connector.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/include/connect/ncbi_pipe_connector.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/include/connect/ncbi_pipe_connector.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
#ifndef CONNECT___NCBI_PIPE_CONNECTOR__HPP #define CONNECT___NCBI_PIPE_CONNECTOR__HPP /* $Id: ncbi_pipe_connector.hpp 337342 2011-09-11 01:13:46Z lavr $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center ...
31.878378
78
0.673167
[ "vector" ]
4f4645211f2ae84af63bc17a41d54d566e37a1ce
12,394
cpp
C++
libs/geometry/test/algorithms/overlay/traverse_multi.cpp
zsims/boost
40e6df4e47fc98cf6833d34cc3ea9570b3dfeeaa
[ "BSL-1.0" ]
9
2016-03-01T02:19:06.000Z
2020-05-07T08:48:51.000Z
libs/geometry/test/algorithms/overlay/traverse_multi.cpp
zsims/boost
40e6df4e47fc98cf6833d34cc3ea9570b3dfeeaa
[ "BSL-1.0" ]
2
2016-01-05T06:36:48.000Z
2017-07-13T16:16:30.000Z
libs/geometry/test/algorithms/overlay/traverse_multi.cpp
zsims/boost
40e6df4e47fc98cf6833d34cc3ea9570b3dfeeaa
[ "BSL-1.0" ]
4
2016-06-14T02:31:01.000Z
2019-06-27T00:41:46.000Z
// Boost.Geometry (aka GGL, Generic Geometry Library) // Unit Test // Copyright (c) 2007-2015 Barend Gehrels, Amsterdam, the Netherlands. // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_...
27.061135
80
0.562127
[ "geometry", "shape", "model" ]
4f4704871b39f21cddb52d0b4da2a37c20a50bbb
27,451
cpp
C++
editor/editor_help_search.cpp
ZopharShinta/SegsEngine
86d52c5b805e05e107594efd3358cabd694365f0
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
editor/editor_help_search.cpp
ZopharShinta/SegsEngine
86d52c5b805e05e107594efd3358cabd694365f0
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
editor/editor_help_search.cpp
ZopharShinta/SegsEngine
86d52c5b805e05e107594efd3358cabd694365f0
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
/*************************************************************************/ /* editor_help_search.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
39.726483
191
0.647663
[ "object", "vector" ]
4f4883baf960924352bf4e8e7d3e748c5e785b0b
26,619
cpp
C++
pxr/imaging/lib/hdSt/vboMemoryManager.cpp
navefx/YuksUSD
56c2e1def36ee07121f4ecb349c1626472b3c338
[ "AML" ]
6
2018-08-26T13:27:22.000Z
2021-08-14T23:57:38.000Z
pxr/imaging/lib/hdSt/vboMemoryManager.cpp
navefx/YuksUSD
56c2e1def36ee07121f4ecb349c1626472b3c338
[ "AML" ]
1
2021-08-14T23:57:51.000Z
2021-08-14T23:57:51.000Z
pxr/imaging/lib/hdSt/vboMemoryManager.cpp
navefx/YuksUSD
56c2e1def36ee07121f4ecb349c1626472b3c338
[ "AML" ]
4
2018-06-14T18:14:59.000Z
2021-09-13T22:20:50.000Z
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
34.214653
90
0.608362
[ "mesh", "vector" ]
4f4a2fa4afe6cdc4d2a760b77e7ae00ca4942357
2,329
hpp
C++
include/ieompp/models/hubbard/dispersion.hpp
qftphys/Simulate-the-non-equilibrium-dynamics-of-Fermionic-systems
48d36fecbe4bc12af90f104cdf1f9f68352c508c
[ "MIT" ]
2
2021-01-18T14:35:43.000Z
2022-03-22T15:12:49.000Z
include/ieompp/models/hubbard/dispersion.hpp
f-koehler/ieompp
48d36fecbe4bc12af90f104cdf1f9f68352c508c
[ "MIT" ]
null
null
null
include/ieompp/models/hubbard/dispersion.hpp
f-koehler/ieompp
48d36fecbe4bc12af90f104cdf1f9f68352c508c
[ "MIT" ]
null
null
null
#ifndef IEOMPP_MODELS_HUBBARD_DISPERSION_HPP_ #define IEOMPP_MODELS_HUBBARD_DISPERSION_HPP_ #include "ieompp/constants.hpp" #include "ieompp/types/dot_product.hpp" #include "ieompp/types/matrix.hpp" #include <cmath> #include <vector> namespace ieompp { namespace models { namespace hubbard { ...
32.802817
93
0.519536
[ "vector" ]
4f4e664dc72a44dfb97ad39ae9b7b0763d7b0b4f
4,177
cpp
C++
easy/cpp/c0157_653_two-sum-iv-input-is-a-bst/00_leetcode_0157.cpp
drunkwater/leetcode
8cc4a07763e71efbaedb523015f0c1eff2927f60
[ "Ruby" ]
null
null
null
easy/cpp/c0157_653_two-sum-iv-input-is-a-bst/00_leetcode_0157.cpp
drunkwater/leetcode
8cc4a07763e71efbaedb523015f0c1eff2927f60
[ "Ruby" ]
null
null
null
easy/cpp/c0157_653_two-sum-iv-input-is-a-bst/00_leetcode_0157.cpp
drunkwater/leetcode
8cc4a07763e71efbaedb523015f0c1eff2927f60
[ "Ruby" ]
3
2018-02-09T02:46:48.000Z
2021-02-20T08:32:03.000Z
// DRUNKWATER TEMPLATE(add description and prototypes) // Question Title and Description on leetcode.com // Function Declaration and Function Prototypes on leetcode.com //653. Two Sum IV - Input is a BST //Given a Binary Search Tree and a target number, return true if there exist two elements in the BST such that their...
19.248848
150
0.575772
[ "vector" ]
4f4f5edcf3cc3227703651c26863f544a1218f92
2,676
cpp
C++
source/sampler.cpp
gonnavis/voxelizer
701b4d282c51bebca370fe2497085dfaa9bb6ba9
[ "Apache-2.0" ]
21
2021-12-03T16:23:47.000Z
2022-02-03T07:50:47.000Z
source/sampler.cpp
gonnavis/voxelizer
701b4d282c51bebca370fe2497085dfaa9bb6ba9
[ "Apache-2.0" ]
1
2022-03-04T16:24:28.000Z
2022-03-04T16:24:28.000Z
source/sampler.cpp
gonnavis/voxelizer
701b4d282c51bebca370fe2497085dfaa9bb6ba9
[ "Apache-2.0" ]
2
2021-12-04T15:41:28.000Z
2021-12-04T17:37:11.000Z
#include <voxelizer/sampler.hpp> #include <voxelizer/sequence.hpp> #include <voxelizer/index.hpp> #include <voxelizer/color.hpp> #include <chrono> #include <thread> #include <atomic> namespace voxelizer { static bool inside(glm::vec3 const & p, index const & i) { int intersections = 0; i.intersects_ray(p, {1....
23.681416
100
0.624066
[ "mesh", "vector" ]
4f4f665d4ee2ebd02d72b6256463e0718f2fca43
12,672
cc
C++
tensorflow/compiler/mlir/tools/kernel_gen/tf_framework_c_interface.cc
brinkqiang/tensorflow
a9643a6a04dbc29e79f2026ec5fc501259b8c53c
[ "Apache-2.0" ]
2
2021-11-25T09:39:10.000Z
2022-03-19T07:14:10.000Z
tensorflow/compiler/mlir/tools/kernel_gen/tf_framework_c_interface.cc
brinkqiang/tensorflow
a9643a6a04dbc29e79f2026ec5fc501259b8c53c
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/mlir/tools/kernel_gen/tf_framework_c_interface.cc
brinkqiang/tensorflow
a9643a6a04dbc29e79f2026ec5fc501259b8c53c
[ "Apache-2.0" ]
1
2022-03-19T07:14:17.000Z
2022-03-19T07:14:17.000Z
/* Copyright 2020 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...
39.232198
80
0.682292
[ "shape" ]
4f51558612095c1ee51efdb7f4411c81084a3f52
9,512
cpp
C++
src/Dictionaries/PolygonDictionaryImplementations.cpp
pdv-ru/ClickHouse
0ff975bcf3008fa6c6373cbdfed16328e3863ec5
[ "Apache-2.0" ]
15,577
2019-09-23T11:57:53.000Z
2022-03-31T18:21:48.000Z
src/Dictionaries/PolygonDictionaryImplementations.cpp
pdv-ru/ClickHouse
0ff975bcf3008fa6c6373cbdfed16328e3863ec5
[ "Apache-2.0" ]
16,476
2019-09-23T11:47:00.000Z
2022-03-31T23:06:01.000Z
src/Dictionaries/PolygonDictionaryImplementations.cpp
pdv-ru/ClickHouse
0ff975bcf3008fa6c6373cbdfed16328e3863ec5
[ "Apache-2.0" ]
3,633
2019-09-23T12:18:28.000Z
2022-03-31T15:55:48.000Z
#include "PolygonDictionaryImplementations.h" #include "DictionaryFactory.h" #include <DataTypes/DataTypeArray.h> #include <DataTypes/DataTypeTuple.h> #include <DataTypes/DataTypesNumber.h> #include <base/logger_useful.h> #include <numeric> namespace DB { namespace ErrorCodes { extern const int BAD_ARGUMENTS; ...
36.584615
186
0.674411
[ "vector" ]
4f53ed41c4b9434cc688712ff1fa77cc655be1da
20,988
cc
C++
chrome/services/speech/cloud_speech_recognition_client_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
chrome/services/speech/cloud_speech_recognition_client_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
chrome/services/speech/cloud_speech_recognition_client_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2020 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/services/speech/cloud_speech_recognition_client.h" #include <memory> #include <string> #include <vector> #include "base/bind.h" #includ...
37.081272
82
0.768296
[ "vector" ]
4f54991daded1c4d837d0ee2dfe3526d4eabb514
11,707
cpp
C++
kratos/sources/connectivity_preserve_modeler.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
2
2019-10-25T09:28:10.000Z
2019-11-21T12:51:46.000Z
kratos/sources/connectivity_preserve_modeler.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
13
2019-10-07T12:06:51.000Z
2020-02-18T08:48:33.000Z
kratos/sources/connectivity_preserve_modeler.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
null
null
null
// | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ ` // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // // License: BSD License // Kratos default license: kratos/license.txt // // Main authors: Riccardo Rossi // // #include...
42.263538
142
0.722901
[ "geometry", "vector", "model" ]
4f564f47d7809b7ecd76bdcf56c03047fa49db6c
9,202
cpp
C++
backends/imgui_impl_sdlrenderer.cpp
tcarrel/imgui
306d6e14589cd228103af7d72f08dc2314a4c698
[ "MIT" ]
1
2021-09-23T08:44:23.000Z
2021-09-23T08:44:23.000Z
backends/imgui_impl_sdlrenderer.cpp
tcarrel/imgui
306d6e14589cd228103af7d72f08dc2314a4c698
[ "MIT" ]
1
2021-09-14T19:15:34.000Z
2021-09-14T19:15:34.000Z
backends/imgui_impl_sdlrenderer.cpp
tcarrel/imgui
306d6e14589cd228103af7d72f08dc2314a4c698
[ "MIT" ]
1
2021-09-12T18:24:12.000Z
2021-09-12T18:24:12.000Z
// dear imgui: Renderer Backend for SDL_Renderer // (Requires: SDL 2.0.17+) // Important to understand: SDL_Renderer is an _optional_ component of SDL. We do not recommend you use SDL_Renderer // because it provide a rather limited API to the end-user. We provide this backend for the sake of completeness. // For a mul...
41.45045
366
0.69148
[ "render" ]
4f56e389de4d187ce82d0408bf99560caa2b59df
8,336
cpp
C++
tests/test_ED.cpp
ruelj2/ED_Lib
b48add475f392dc70aec0098c61a3b0f7c6e2d8f
[ "MIT" ]
null
null
null
tests/test_ED.cpp
ruelj2/ED_Lib
b48add475f392dc70aec0098c61a3b0f7c6e2d8f
[ "MIT" ]
null
null
null
tests/test_ED.cpp
ruelj2/ED_Lib
b48add475f392dc70aec0098c61a3b0f7c6e2d8f
[ "MIT" ]
null
null
null
#include "ED_Lib/EDLib.h" #include <iostream> #include "opencv2/ximgproc.hpp" #include "opencv2/imgcodecs.hpp" using namespace cv; using namespace std; using namespace cv::ximgproc; namespace EDLIB { int main(int argc, char **argv) { char *filename; if (argc > 1) filename = argv[1]; ...
43.643979
116
0.482006
[ "vector" ]
4f57b981c7710e94cb2d3d20b19f37d654848aa5
2,177
cpp
C++
src/chain.cpp
devo2018/bony
628710c3535c484ea06298ecfe63b935572f7636
[ "MIT" ]
null
null
null
src/chain.cpp
devo2018/bony
628710c3535c484ea06298ecfe63b935572f7636
[ "MIT" ]
null
null
null
src/chain.cpp
devo2018/bony
628710c3535c484ea06298ecfe63b935572f7636
[ "MIT" ]
1
2018-12-15T20:54:22.000Z
2018-12-15T20:54:22.000Z
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2016-2017 The BONY developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chain.h" using namespace std...
27.2125
70
0.598071
[ "vector" ]
4f587cc1ec5288ae2b30034c10b4d81dab3e5ff0
3,142
cc
C++
ns-3-dev/src/mobility/model/constant-velocity-helper.cc
maxvonhippel/snake
0805773dc34e1480dffaae40174aa1f82d1c6ce8
[ "BSD-3-Clause" ]
11
2015-11-24T11:07:28.000Z
2021-12-23T04:10:29.000Z
ns-3-dev/src/mobility/model/constant-velocity-helper.cc
maxvonhippel/snake
0805773dc34e1480dffaae40174aa1f82d1c6ce8
[ "BSD-3-Clause" ]
null
null
null
ns-3-dev/src/mobility/model/constant-velocity-helper.cc
maxvonhippel/snake
0805773dc34e1480dffaae40174aa1f82d1c6ce8
[ "BSD-3-Clause" ]
6
2016-03-01T06:32:21.000Z
2022-03-24T19:31:41.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distri...
25.966942
76
0.703055
[ "vector" ]
4f5d7db82ef3ea58a03e0088015da905b0938125
16,540
cpp
C++
src/wcl/graphics/structuredlight/GrayCode.cpp
WearableComputerLab/LibWCL
e1687a8fd2f96bfec3a84221044cfb8b7126a79c
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/wcl/graphics/structuredlight/GrayCode.cpp
WearableComputerLab/LibWCL
e1687a8fd2f96bfec3a84221044cfb8b7126a79c
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/wcl/graphics/structuredlight/GrayCode.cpp
WearableComputerLab/LibWCL
e1687a8fd2f96bfec3a84221044cfb8b7126a79c
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
/*- * Copyright (c) 2010 Benjamin Close <Benjamin.Close@clearchain.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright...
34.894515
138
0.669468
[ "vector" ]
4f5ddab1f96ca6d9381054bd90ba47774e87c60c
43,588
cc
C++
mindspore/ccsrc/plugin/device/gpu/optimizer/trt_pass/trt_op_converter.cc
AK391/mindspore
f5aeaa9172dcd647885774e7f657593c81b79fc6
[ "Apache-2.0" ]
null
null
null
mindspore/ccsrc/plugin/device/gpu/optimizer/trt_pass/trt_op_converter.cc
AK391/mindspore
f5aeaa9172dcd647885774e7f657593c81b79fc6
[ "Apache-2.0" ]
null
null
null
mindspore/ccsrc/plugin/device/gpu/optimizer/trt_pass/trt_op_converter.cc
AK391/mindspore
f5aeaa9172dcd647885774e7f657593c81b79fc6
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Huawei Technologies 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 applicable law...
43.895267
119
0.688309
[ "shape", "vector", "model", "transform" ]
4f62e78ed2116f14c9bfb7b11a3ec1ed0d4656cb
111,629
cpp
C++
pywinrt/winsdk/src/py.Windows.UI.WindowManagement.cpp
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
3
2022-02-14T14:53:08.000Z
2022-03-29T20:48:54.000Z
pywinrt/winsdk/src/py.Windows.UI.WindowManagement.cpp
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
4
2022-01-28T02:53:52.000Z
2022-02-26T18:10:05.000Z
pywinrt/winsdk/src/py.Windows.UI.WindowManagement.cpp
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
null
null
null
// WARNING: Please don't edit this file. It was generated by Python/WinRT v1.0.0-beta.4 #include "pybase.h" #include "py.Windows.UI.WindowManagement.h" PyTypeObject* py::winrt_type<winrt::Windows::UI::WindowManagement::AppWindow>::python_type; PyTypeObject* py::winrt_type<winrt::Windows::UI::WindowManagement::AppWind...
35.709853
272
0.623655
[ "object" ]
4f6325cd39dd8bc59822714778f2f5aad6218bb9
3,386
cpp
C++
WholesomeEngine/WholesomeEngine/VulkanInstance.cpp
HeladodePistacho/WholesomeEngine
e85b512f749d2f506cf5eb5603d2791e3221ccd5
[ "MIT" ]
null
null
null
WholesomeEngine/WholesomeEngine/VulkanInstance.cpp
HeladodePistacho/WholesomeEngine
e85b512f749d2f506cf5eb5603d2791e3221ccd5
[ "MIT" ]
null
null
null
WholesomeEngine/WholesomeEngine/VulkanInstance.cpp
HeladodePistacho/WholesomeEngine
e85b512f749d2f506cf5eb5603d2791e3221ccd5
[ "MIT" ]
null
null
null
#include "VulkanInstance.h" #include "SDL2/SDL_vulkan.h" VulkanInstance::VulkanInstance() : instance(std::make_unique<VkInstance>()), current_gpu(VK_NULL_HANDLE) { } VkResult VulkanInstance::CreateInstance(const SDL_Window* window) { VkApplicationInfo application_info{ VkStructureType::VK_STRUCTURE_TYPE_APPLICATIO...
25.458647
108
0.697874
[ "vector" ]
4f65f8f95bd09c440ea8e11aeedcf5fce339a878
7,031
cpp
C++
Table.cpp
PengaloGit/connect-four-cpp
ba6324ef349ef0ea5a7b0a689ec4975e6f899ced
[ "MIT" ]
3
2020-01-24T01:48:50.000Z
2020-04-06T23:57:16.000Z
Table.cpp
PengaloGit/connect-four-cpp
ba6324ef349ef0ea5a7b0a689ec4975e6f899ced
[ "MIT" ]
null
null
null
Table.cpp
PengaloGit/connect-four-cpp
ba6324ef349ef0ea5a7b0a689ec4975e6f899ced
[ "MIT" ]
null
null
null
/* * Connect Four * MIT License, Copyright 2018 Loukmane Maada, Soukaina Moumou & Anas Limouri */ #include "Table.h" Table::Table() { for (int i = 0; i < 6; i++) { for (int j = 0; j < 7; j++) { t[i][j] = 0; } } poids = 0; } void Table::placerPio...
20.679412
112
0.30778
[ "vector" ]
4f65ff15173cf995fd2b3cefe88687e336808df7
2,139
cpp
C++
POI/difference/kd_ac.cpp
syedakainat3/youtube
9e6860786b3f7b57add7cb4a0d44c551f88b8248
[ "MIT" ]
2,605
2019-02-05T16:03:10.000Z
2022-03-31T15:17:10.000Z
POI/difference/kd_ac.cpp
MohaiminulEraj/youtube
9e6860786b3f7b57add7cb4a0d44c551f88b8248
[ "MIT" ]
11
2019-10-21T14:40:15.000Z
2021-11-07T21:57:26.000Z
POI/difference/kd_ac.cpp
MohaiminulEraj/youtube
9e6860786b3f7b57add7cb4a0d44c551f88b8248
[ "MIT" ]
586
2019-03-24T18:39:57.000Z
2022-03-26T12:22:17.000Z
// POI 18-2, Difference // O(N * A + A^2) where A is the alphabet size #include <bits/stdc++.h> using namespace std; const int NAX = 1e6 + 5; char s[NAX]; vector<int> occurrences[26]; // occurrences[x] - indices where letter 'x' occurs int consider(const vector<int>& A, const vector<int>& B) { if(A.empty() || B.em...
26.7375
87
0.486209
[ "vector" ]
4f689ee89787af5d9e0e14ec33a2efbea9496270
25,363
cc
C++
rewriter/Prop.cc
qaisjp/sorbet
971ed17fd768ea1aca2dbed940fefa91f8cd76db
[ "Apache-2.0" ]
null
null
null
rewriter/Prop.cc
qaisjp/sorbet
971ed17fd768ea1aca2dbed940fefa91f8cd76db
[ "Apache-2.0" ]
null
null
null
rewriter/Prop.cc
qaisjp/sorbet
971ed17fd768ea1aca2dbed940fefa91f8cd76db
[ "Apache-2.0" ]
null
null
null
#include "rewriter/Prop.h" #include "ast/Helpers.h" #include "ast/ast.h" #include "core/Context.h" #include "core/Names.h" #include "core/core.h" #include "core/errors/rewriter.h" #include "rewriter/Util.h" using namespace std; namespace sorbet::rewriter { namespace { // these helpers work on a purely syntactic leve...
43.72931
120
0.597445
[ "vector" ]
4f699d38a0fe396e698eedf7252e0b2483d06d59
6,365
cpp
C++
Source/Falcor/Scene/Transform.cpp
gonsolo/Falcor
db27e6fa0efb1c04a51333c14ddfeac309995145
[ "BSD-3-Clause" ]
1,615
2017-07-28T05:41:39.000Z
2022-03-31T16:31:57.000Z
Source/Falcor/Scene/Transform.cpp
gonsolo/Falcor
db27e6fa0efb1c04a51333c14ddfeac309995145
[ "BSD-3-Clause" ]
232
2017-08-03T10:58:41.000Z
2022-03-31T16:17:46.000Z
Source/Falcor/Scene/Transform.cpp
gonsolo/Falcor
db27e6fa0efb1c04a51333c14ddfeac309995145
[ "BSD-3-Clause" ]
383
2017-07-30T04:28:34.000Z
2022-03-30T05:12:13.000Z
/*************************************************************************** # Copyright (c) 2015-21, NVIDIA CORPORATION. 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...
35.758427
125
0.587431
[ "transform" ]
4f6bca07fc85245d2b5616c295b3210c9a01a6a0
1,766
cpp
C++
perf_test/double/axpby_double.cpp
lql341/ChipSum
75611fecdd0c5577dd0f1eed5e5a0046bd934122
[ "MIT" ]
12
2021-06-25T01:49:05.000Z
2022-01-20T16:49:51.000Z
perf_test/double/axpby_double.cpp
lql341/ChipSum
75611fecdd0c5577dd0f1eed5e5a0046bd934122
[ "MIT" ]
4
2021-06-25T05:56:43.000Z
2021-08-30T02:46:52.000Z
perf_test/double/axpby_double.cpp
lql341/ChipSum
75611fecdd0c5577dd0f1eed5e5a0046bd934122
[ "MIT" ]
4
2021-08-19T01:12:47.000Z
2022-01-14T11:59:40.000Z
/* * * * * * * * * * * * * * * * * * * * * * File: test.cpp * Author: Li Kunyun * group: CDCS-HPC * Time: 2021-07-28 * * * * * * * * * * * * * * * * * * * * * */ #include <iostream> using namespace std; #include <type_traits> #include <vector> #include "ChipSum.hpp" #include <KokkosKernels...
28.031746
80
0.411665
[ "vector" ]
4f6fd14fe29bad4f1b9ef69bee41ff5d9b31a861
5,362
cpp
C++
abstractionalgorithms/AStar3.cpp
AaronTrip/hog2
96616b40f4173959b127011c76f3e649688e1a99
[ "MIT" ]
5
2020-08-03T09:43:26.000Z
2022-01-11T08:28:30.000Z
abstractionalgorithms/AStar3.cpp
AaronTrip/hog2
96616b40f4173959b127011c76f3e649688e1a99
[ "MIT" ]
null
null
null
abstractionalgorithms/AStar3.cpp
AaronTrip/hog2
96616b40f4173959b127011c76f3e649688e1a99
[ "MIT" ]
7
2017-07-31T13:01:28.000Z
2021-05-16T10:15:49.000Z
/* * $Id: aStar3.cpp,v 1.2 2006/09/18 06:19:31 nathanst Exp $ * * Hierarchical Open Graph File * * Created by Nathan Sturtevant on 9/29/04. * Copyright 2004 Nathan Sturtevant. All rights reserved. * * This file is part of HOG. * * HOG is free software; you can redistribute it and/or modify * it under the ...
30.465909
137
0.668034
[ "vector" ]