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
fea8d82ec9e16d7ea097b3b455dca6a25ec14ef1
93,369
cpp
C++
Source/MediaInfo/Audio/File_Mpegh3da.cpp
ValZapod/MediaInfoLib
5ecc69a60264ab9684e0c5839c22be597c9837a3
[ "BSD-2-Clause" ]
446
2015-01-28T05:19:34.000Z
2022-03-27T13:44:39.000Z
Source/MediaInfo/Audio/File_Mpegh3da.cpp
ValZapod/MediaInfoLib
5ecc69a60264ab9684e0c5839c22be597c9837a3
[ "BSD-2-Clause" ]
580
2015-03-31T13:36:50.000Z
2022-03-20T02:44:15.000Z
Source/MediaInfo/Audio/File_Mpegh3da.cpp
ValZapod/MediaInfoLib
5ecc69a60264ab9684e0c5839c22be597c9837a3
[ "BSD-2-Clause" ]
171
2015-01-08T07:57:09.000Z
2022-03-30T11:40:06.000Z
/* Copyright (c) MediaArea.net SARL. All Rights Reserved. * * Use of this source code is governed by a BSD-style license that can * be found in the License.html file in the root of the source tree. */ //--------------------------------------------------------------------------- // Pre-compilation #inclu...
42.51776
239
0.50927
[ "object", "vector", "3d" ]
fea960f2767a99ab73c6ab1a386e2cfffb70041c
15,293
hpp
C++
libgbc/util/delegate.hpp
fwsGonzo/gamebro
3a06535b5c401788fb5428f2d2aafcd7421c5d18
[ "MIT" ]
20
2018-11-05T21:59:46.000Z
2022-01-24T10:45:54.000Z
libgbc/util/delegate.hpp
dendisuhubdy/gamebro
beebf7fd2c756d52188c8c378d077717516b655f
[ "MIT" ]
null
null
null
libgbc/util/delegate.hpp
dendisuhubdy/gamebro
beebf7fd2c756d52188c8c378d077717516b655f
[ "MIT" ]
5
2018-11-10T22:45:36.000Z
2022-01-14T14:44:17.000Z
// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015-2016 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // Yo...
31.402464
100
0.621003
[ "object" ]
feb30fab7c840902475104abf8291665f6a68653
33,487
cpp
C++
mcsema/CFG/CFG.cpp
FFengIll/mcsema
2edb800f1de4ae9ce5839df11faeab34c6cfb353
[ "BSD-3-Clause" ]
null
null
null
mcsema/CFG/CFG.cpp
FFengIll/mcsema
2edb800f1de4ae9ce5839df11faeab34c6cfb353
[ "BSD-3-Clause" ]
null
null
null
mcsema/CFG/CFG.cpp
FFengIll/mcsema
2edb800f1de4ae9ce5839df11faeab34c6cfb353
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2014, Trail of Bits 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 followin...
26.875602
81
0.671066
[ "object", "vector" ]
feb3c97a3717c919653c431040eeb823b8e67775
290
cpp
C++
src/0168.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
src/0168.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
src/0168.cpp
killf/leetcode_cpp
d1f308a9c3da55ae5416ea28ec2e7a3146533ae9
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <sstream> #include <algorithm> using namespace std; class Solution { public: string convertToTitle(int n) { string s; if (n > 26)s += convertToTitle((n - 1) / 26); s += 'A' + (n - 1) % 26; return s; } };
17.058824
49
0.603448
[ "vector" ]
feb41b495c592421aae1ea22b78d78e5bbaa4ef1
34,204
cpp
C++
EU4toV2/Source/V2World/Province/Province.cpp
ParadoxGameConverters/EU4toVic2
17a61d5662da02abcb976403cb50da365ef7061d
[ "MIT" ]
42
2018-12-22T03:59:43.000Z
2022-02-03T10:45:42.000Z
EU4toV2/Source/V2World/Province/Province.cpp
DrDudelsack/EU4toVic2
06da665b3eaa6e14d240f65f02caf9ffb7085b5b
[ "MIT" ]
336
2018-12-22T17:15:27.000Z
2022-03-02T11:19:32.000Z
EU4toV2/Source/V2World/Province/Province.cpp
DrDudelsack/EU4toVic2
06da665b3eaa6e14d240f65f02caf9ffb7085b5b
[ "MIT" ]
56
2018-12-22T19:13:23.000Z
2022-01-01T23:08:53.000Z
#include "Province.h" #include "../../Configuration.h" #include "../../EU4World/Regions/Regions.h" #include "../../Mappers/CountryMappings/CountryMappings.h" #include "../../Mappers/CultureMapper/CultureMapper.h" #include "../../Mappers/Geography/Continents.h" #include "../../Mappers/ReligionMapper/ReligionMapper.h" #i...
30.870036
146
0.705736
[ "vector" ]
feb781fb2c97984209c85f0e2efcd908f707ecdb
1,961
cpp
C++
source/p6_frame.cpp
Meta-chan/P6
2323f3f12894d2eb01a777643f69301a368f9c69
[ "MIT" ]
null
null
null
source/p6_frame.cpp
Meta-chan/P6
2323f3f12894d2eb01a777643f69301a368f9c69
[ "MIT" ]
null
null
null
source/p6_frame.cpp
Meta-chan/P6
2323f3f12894d2eb01a777643f69301a368f9c69
[ "MIT" ]
null
null
null
/* This software is distributed under MIT License, which means: - Do whatever you want - Please keep this notice and include the license file to your project - I provide no warranty Created by Kyrylo Sovailo (github.com/Meta-chan, k.sovailo@gmail.com) Reinventing bicycles since 2020 */ #include "../header/p6...
21.549451
72
0.717491
[ "render" ]
feb9ec0a96886533d9f94202bb8be5ec557ea1a8
2,300
hpp
C++
src/Evolution/Systems/ScalarWave/Initialize.hpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
src/Evolution/Systems/ScalarWave/Initialize.hpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
src/Evolution/Systems/ScalarWave/Initialize.hpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include "DataStructures/DataBox/DataBox.hpp" #include "DataStructures/Tensor/EagerMath/Norms.hpp" #include "DataStructures/Variables.hpp" #include "Evolution/Initialization/Evolution.hpp" #include "Evolution/Systems/ScalarWave/Constra...
37.704918
79
0.703478
[ "mesh" ]
febecaca118d50f2fc4667fdbd9230988b9d2a77
809
cpp
C++
UVa Online Judge/10128.cpp
xiezeju/ACM-Code-Archives
db135ed0953adcf5c7ab37a00b3f9458291ce0d7
[ "MIT" ]
1
2022-02-24T12:44:30.000Z
2022-02-24T12:44:30.000Z
UVa Online Judge/10128.cpp
xiezeju/ACM-Code-Archives
db135ed0953adcf5c7ab37a00b3f9458291ce0d7
[ "MIT" ]
null
null
null
UVa Online Judge/10128.cpp
xiezeju/ACM-Code-Archives
db135ed0953adcf5c7ab37a00b3f9458291ce0d7
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define LSOne(S) ((S) & -(S)) using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef vector<int> vi; typedef vector<ii> vii; typedef vector<ll> vll; const int INF = 0x3f3f3f3f; const long long LLINF = 4e18; const double EPS = 1e-9; const int N = 20; ll dp[N][N][N]; int...
24.515152
104
0.473424
[ "vector" ]
fecccfb1b10b05a010f1b1fe0a410f3006fd5dea
33,314
cc
C++
CryoMEM/cacti/memorybus.cc
SNU-HPCS/CryoModel
07a3fbe3f3d44c7960b5aed562a90e204014eea0
[ "MIT" ]
2
2021-05-26T12:32:46.000Z
2021-12-15T13:10:37.000Z
CryoMEM/cacti/memorybus.cc
SNU-HPCS/CryoModel
07a3fbe3f3d44c7960b5aed562a90e204014eea0
[ "MIT" ]
1
2022-03-02T01:49:20.000Z
2022-03-18T10:37:59.000Z
CryoMEM/cacti/memorybus.cc
SNU-HPCS/CryoModel
07a3fbe3f3d44c7960b5aed562a90e204014eea0
[ "MIT" ]
null
null
null
/***************************************************************************** * CACTI 7.0 * SOFTWARE LICENSE AGREEMENT * Copyright 2015 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and us...
50.475758
160
0.626283
[ "3d" ]
fecd55b9a36b14c4e5de5785a6f51aea3ffca9ca
202
cpp
C++
oi/vijos/P1459/test.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
3
2018-08-30T09:43:20.000Z
2019-12-03T04:53:43.000Z
oi/vijos/P1459/test.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
oi/vijos/P1459/test.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
#include <iostream> #include <queue> using namespace std; static priority_queue<int,vector<int>,greater<int>> q; int main(){ q.push(1); q.push(2); cout<<q.top()<<endl; return 0; }
14.428571
54
0.618812
[ "vector" ]
fed4030827075f657aa095127feb9f814c869346
1,688
cpp
C++
android-31/android/telephony/mbms/ServiceInfo.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/telephony/mbms/ServiceInfo.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-31/android/telephony/mbms/ServiceInfo.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../../JString.hpp" #include "../../../JObject.hpp" #include "../../../JString.hpp" #include "../../../java/util/Date.hpp" #include "../../../java/util/Locale.hpp" #include "./ServiceInfo.hpp" namespace android::telephony::mbms { // Fields // QJniObject forward ServiceInfo::ServiceInfo(QJniObject obj)...
19.858824
69
0.665877
[ "object" ]
fed4dc581c761dca37d502a4ce182b7fa97362dd
4,707
cpp
C++
src/params.cpp
Treecodes/TABI-PB
fe1c237b057418fed48535db125394607040d9de
[ "BSD-3-Clause" ]
5
2017-11-15T23:59:37.000Z
2021-11-25T00:48:43.000Z
src/params.cpp
Treecodes/TABI-PB
fe1c237b057418fed48535db125394607040d9de
[ "BSD-3-Clause" ]
3
2018-03-16T16:27:35.000Z
2022-03-14T03:43:11.000Z
src/params.cpp
Treecodes/TABI-PB
fe1c237b057418fed48535db125394607040d9de
[ "BSD-3-Clause" ]
null
null
null
#include <algorithm> #include <string> #include <vector> #include <iostream> #include <fstream> #include <sstream> #include <iterator> #include <cmath> #include <cstdlib> #include "constants.h" #include "params.h" Params::Params(char* infile) { std::ifstream paramfile (infile, std::ifstream::in); if (!paramfi...
36.773438
96
0.513066
[ "mesh", "vector", "transform" ]
fedb89c8a1c2df107dca91ab68d0d7b7ce188b41
2,370
inl
C++
include/Nazara/VulkanRenderer/Wrapper/Pipeline.inl
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
11
2019-11-27T00:40:43.000Z
2020-01-29T14:31:52.000Z
include/Nazara/VulkanRenderer/Wrapper/Pipeline.inl
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T00:29:08.000Z
2020-01-08T18:53:39.000Z
include/Nazara/VulkanRenderer/Wrapper/Pipeline.inl
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T10:27:40.000Z
2020-01-15T17:43:33.000Z
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/VulkanRenderer/Wrapper/Pipeline.hpp> #include <Nazara/VulkanRenderer/Utils.hpp> #include <Nazar...
26.931818
165
0.733333
[ "object" ]
fedd099301a0b8dd899a21e3ce561464343ad1c4
3,832
cxx
C++
detection.cxx
enfild/coral_object_detection_with_tflite
f8d012cf42fc589174417fcf1f1798058dece1ef
[ "MIT" ]
null
null
null
detection.cxx
enfild/coral_object_detection_with_tflite
f8d012cf42fc589174417fcf1f1798058dece1ef
[ "MIT" ]
null
null
null
detection.cxx
enfild/coral_object_detection_with_tflite
f8d012cf42fc589174417fcf1f1798058dece1ef
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <opencv2/opencv.hpp> #include "edgetpu.h" #include "tensorflow/lite/interpreter.h" #include "tensorflow/lite/kernels/register.h" #include "tensorflow/lite/model.h" std::unique_ptr<tflite::Interpreter> BuildEdgeTpuInterpreter(const tflite::FlatBufferMo...
37.203883
104
0.66858
[ "model" ]
feede0629c8c7bdbcb42af243075bf4fb234156b
2,419
cpp
C++
Utilities/Open3DMotion/src/Open3DMotion/OpenORM/Branches/TreeCompound.cpp
mitkof6/BTKCore
d4c03aa9e354be16265d0efe0815c09b35abc642
[ "Barr", "Unlicense" ]
61
2015-04-21T20:40:37.000Z
2022-03-25T03:35:03.000Z
Utilities/Open3DMotion/src/Open3DMotion/OpenORM/Branches/TreeCompound.cpp
mitkof6/BTKCore
d4c03aa9e354be16265d0efe0815c09b35abc642
[ "Barr", "Unlicense" ]
40
2018-03-11T15:14:50.000Z
2022-03-23T18:13:48.000Z
Utilities/Open3DMotion/src/Open3DMotion/OpenORM/Branches/TreeCompound.cpp
mitkof6/BTKCore
d4c03aa9e354be16265d0efe0815c09b35abc642
[ "Barr", "Unlicense" ]
56
2015-05-11T11:04:35.000Z
2022-01-15T20:37:04.000Z
/*-- Open3DMotion Copyright (c) 2004-2012. All rights reserved. See LICENSE.txt for more information. --*/ #include "Open3DMotion/OpenORM/Branches/TreeCompound.h" namespace Open3DMotion { DEFINE_CLASS_NAME(TreeCompound); TreeCompound::TreeCompound() { } TreeCompound::~TreeCompound() ...
20.5
112
0.594047
[ "vector" ]
fef24bb070e15fca80aa33f994a7d1165d0f6df7
582
cpp
C++
debugger/register_model.cpp
hcs64/cen64
0902da8113cb68fdbf016717d36c87ad95ccd4a3
[ "BSD-3-Clause" ]
340
2019-01-10T23:48:47.000Z
2022-03-27T04:06:55.000Z
debugger/register_model.cpp
hcs64/cen64
0902da8113cb68fdbf016717d36c87ad95ccd4a3
[ "BSD-3-Clause" ]
88
2019-01-07T04:37:12.000Z
2022-03-30T04:17:00.000Z
debugger/register_model.cpp
hcs64/cen64
0902da8113cb68fdbf016717d36c87ad95ccd4a3
[ "BSD-3-Clause" ]
62
2015-01-08T00:03:40.000Z
2019-01-02T17:43:07.000Z
// // register_model.cpp: CEN64D register model (MVC). // // CEN64D: Cycle-Accurate Nintendo 64 Debugger // Copyright (C) 2015, Tyler J. Stachecki. // // This file is subject to the terms and conditions defined in // 'LICENSE', which is part of this source code package. // #include "register_model.h" RegisterModel::R...
20.068966
62
0.709622
[ "model" ]
679b259b0c1d8efdee0924ef4a84d56b9f99ad19
623
cpp
C++
abs/ABC085C.cpp
ReiRev/atcoder-cpp
9735acac125f624e851ee888629c9795244d7f10
[ "MIT" ]
null
null
null
abs/ABC085C.cpp
ReiRev/atcoder-cpp
9735acac125f624e851ee888629c9795244d7f10
[ "MIT" ]
null
null
null
abs/ABC085C.cpp
ReiRev/atcoder-cpp
9735acac125f624e851ee888629c9795244d7f10
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define REP3(i, m, n) for (int i = (m); (i) < (int)(n); ++(i)) int main() { int n, y; cin >> n >> y; y /= 1000; for (int i = 0; i <= n; i++) { for (int j = ...
23.074074
75
0.337079
[ "vector" ]
67a0e8a52a947982895cf457bf85750d201ff36e
47,556
cpp
C++
src/pcl/Render.cpp
kkretzschmar/PCL
6354627260482afcb278a3f3a2bf30c26210d4fa
[ "JasPer-2.0" ]
null
null
null
src/pcl/Render.cpp
kkretzschmar/PCL
6354627260482afcb278a3f3a2bf30c26210d4fa
[ "JasPer-2.0" ]
null
null
null
src/pcl/Render.cpp
kkretzschmar/PCL
6354627260482afcb278a3f3a2bf30c26210d4fa
[ "JasPer-2.0" ]
null
null
null
// ____ ______ __ // / __ \ / ____// / // / /_/ // / / / // / ____// /___ / /___ PixInsight Class Library // /_/ \____//_____/ PCL 02.01.11.0938 // ---------------------------------------------------------------------------- // pcl/Render.cpp - Released 2019-01-21T12:06:21Z // -------------------...
33.944325
124
0.462486
[ "render", "vector" ]
67a0f9d12d92a6885b17e16a3a3dbffd894a8cfb
2,934
cpp
C++
sorting/merge_sort.cpp
ajaybiswas22/ds-and-algo
b0330059c1e788e0f7d9feffbcf68fe505fb0c45
[ "MIT" ]
null
null
null
sorting/merge_sort.cpp
ajaybiswas22/ds-and-algo
b0330059c1e788e0f7d9feffbcf68fe505fb0c45
[ "MIT" ]
null
null
null
sorting/merge_sort.cpp
ajaybiswas22/ds-and-algo
b0330059c1e788e0f7d9feffbcf68fe505fb0c45
[ "MIT" ]
null
null
null
/** * @brief Program to implement Out-of-place Merge Sort * @author Ajay Biswas * */ #include <iostream> #include <vector> /** * Swaps two values a and b * * @tparam a,b data to be swapped * @return void */ template <class T> void swap(T &a, T &b) { auto temp = a; a = b; b = temp; } /** * Print...
22.396947
81
0.543286
[ "vector" ]
67a26c34bcf73bd38d54259326fc64ed1710e0f7
2,692
cc
C++
deepmind/model_generation/transform_lua_test.cc
bfakhri/dml_custom
1e908b10890df11e510d72c21f3125e3069a0eac
[ "CC-BY-4.0" ]
null
null
null
deepmind/model_generation/transform_lua_test.cc
bfakhri/dml_custom
1e908b10890df11e510d72c21f3125e3069a0eac
[ "CC-BY-4.0" ]
null
null
null
deepmind/model_generation/transform_lua_test.cc
bfakhri/dml_custom
1e908b10890df11e510d72c21f3125e3069a0eac
[ "CC-BY-4.0" ]
null
null
null
// Copyright (C) 2017 Google Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distribut...
33.234568
80
0.676449
[ "geometry", "transform" ]
67a894912f689dabfc9298f44e061ba25ce72e10
111,777
cpp
C++
modules/gdscript/gdscript_compiler.cpp
MrSquigy/godot
28326aec60f7f53f822a386c845507dbdc55e9e1
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
1
2021-01-21T11:05:22.000Z
2021-01-21T11:05:22.000Z
modules/gdscript/gdscript_compiler.cpp
MrSquigy/godot
28326aec60f7f53f822a386c845507dbdc55e9e1
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
modules/gdscript/gdscript_compiler.cpp
MrSquigy/godot
28326aec60f7f53f822a386c845507dbdc55e9e1
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
/*************************************************************************/ /* gdscript_compiler.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
37.036779
256
0.700511
[ "object", "vector" ]
67ad9d60687210f45725a3c76f2490cc5830c823
220,250
cpp
C++
IL2CPP/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_20Table.cpp
dngoins/AutographTheWorld-MR
24e567c8030b73a6942e25b36b7370667c649b90
[ "MIT" ]
null
null
null
IL2CPP/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_20Table.cpp
dngoins/AutographTheWorld-MR
24e567c8030b73a6942e25b36b7370667c649b90
[ "MIT" ]
null
null
null
IL2CPP/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_20Table.cpp
dngoins/AutographTheWorld-MR
24e567c8030b73a6942e25b36b7370667c649b90
[ "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 "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "il...
40.494576
214
0.828863
[ "object" ]
67b303e7dbd5ffc6399bd5da0fad6c2861f7d227
1,924
cpp
C++
trees_and_graphs/tests.cpp
agurusa/interview_prep
b777e0803ee8d3316c0f3fb60efd8463d1437424
[ "MIT" ]
null
null
null
trees_and_graphs/tests.cpp
agurusa/interview_prep
b777e0803ee8d3316c0f3fb60efd8463d1437424
[ "MIT" ]
null
null
null
trees_and_graphs/tests.cpp
agurusa/interview_prep
b777e0803ee8d3316c0f3fb60efd8463d1437424
[ "MIT" ]
null
null
null
#include "../catch.hpp" #include "route_between_nodes.cpp" #include "minimal_tree.cpp" SCENARIO("Given a directed graph with two or more nodes, given two nodes"){ // Graph test_graph(); Graph *test_graph = new Graph(); Node *node_0 = new Node(0); Node *node_1 = new Node(1); Node *node_2 = new Node(2); Node *nod...
37
100
0.702703
[ "vector" ]
67bf073943ed35a0501dfb5ab9cfa319e63cac26
1,739
cpp
C++
hash_table.cpp
nowhh01/dataStructures-algorithms
ea4a8187a97672e8452e44d3acad7434f2fef070
[ "MIT" ]
null
null
null
hash_table.cpp
nowhh01/dataStructures-algorithms
ea4a8187a97672e8452e44d3acad7434f2fef070
[ "MIT" ]
null
null
null
hash_table.cpp
nowhh01/dataStructures-algorithms
ea4a8187a97672e8452e44d3acad7434f2fef070
[ "MIT" ]
null
null
null
#include <vector> #include <list> #include <algorithm> #include <string> template<typename HashedObj> class HashTable { public: explicit HashTable(int size = 101):mSize{size}{} constexpr bool Contains(const HashedObj& x) const; void Clear(); bool Insert(const HashedObj& x); bool Insert(HashedObj&& x); bool Rem...
17.04902
71
0.673376
[ "vector" ]
67c27c99f471201b447229e817b86722550ef0b2
2,801
hpp
C++
include/nanorange/detail/concepts/object.hpp
paulbendixen/NanoRange
993dc03ebb2d3de5395648f3c0d112d230127c65
[ "BSL-1.0" ]
null
null
null
include/nanorange/detail/concepts/object.hpp
paulbendixen/NanoRange
993dc03ebb2d3de5395648f3c0d112d230127c65
[ "BSL-1.0" ]
null
null
null
include/nanorange/detail/concepts/object.hpp
paulbendixen/NanoRange
993dc03ebb2d3de5395648f3c0d112d230127c65
[ "BSL-1.0" ]
null
null
null
// nanorange/detail/concepts/object.hpp // // Copyright (c) 2018 Tristan Brindle (tcbrindle at gmail dot com) // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef NANORANGE_DETAIL_CONCEPTS_OBJECT_HPP_INCLUDED #d...
28.01
89
0.705819
[ "object" ]
67c4de6f77371ff78fa56bb17046f2973c17a246
1,450
cpp
C++
Source/Services/Privacy/permission_check_result.cpp
claytonv/xbox-live-api
d8db86cf930085c7547ae95999c9b301506de343
[ "MIT" ]
3
2020-07-15T17:50:24.000Z
2021-11-17T11:15:11.000Z
Source/Services/Privacy/permission_check_result.cpp
CameronGoodwin/xbox-live-api
ee0c3ee2413f2fed6a373df4b26035792e922fe2
[ "MIT" ]
null
null
null
Source/Services/Privacy/permission_check_result.cpp
CameronGoodwin/xbox-live-api
ee0c3ee2413f2fed6a373df4b26035792e922fe2
[ "MIT" ]
1
2021-02-01T01:56:08.000Z
2021-02-01T01:56:08.000Z
// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "pch.h" #include "xsapi/privacy.h" NAMESPACE_MICROSOFT_XBOX_SERVICES_PRIVACY_CPP_BEGIN permission_check_result::permission_check_result() : m_isAllowed(false) { } ...
26.363636
162
0.786897
[ "vector" ]
67c7d0f4305385144c3d8a50425fb9c40dd58269
4,028
hpp
C++
src/openms/thirdparty/evergreen/src/Tensor/TensorLike.hpp
Amit0617/OpenMS
70ef98e32b02721f45fe72bd4de4b4833755a66f
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
348
2015-01-17T16:50:12.000Z
2022-03-30T22:55:39.000Z
src/openms/thirdparty/evergreen/src/Tensor/TensorLike.hpp
Amit0617/OpenMS
70ef98e32b02721f45fe72bd4de4b4833755a66f
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
4,259
2015-01-01T14:07:54.000Z
2022-03-31T16:49:14.000Z
src/openms/thirdparty/evergreen/src/Tensor/TensorLike.hpp
Amit0617/OpenMS
70ef98e32b02721f45fe72bd4de4b4833755a66f
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
266
2015-01-24T14:56:14.000Z
2022-03-30T12:32:35.000Z
#ifndef _TENSORLIKE_HPP #define _TENSORLIKE_HPP template <typename T> class TensorView; template <typename T> class WritableTensorView; // Never instantiate these; always pass by reference & or &&: template <typename T, template <typename> class TENSOR > class TensorLike { public: unsigned char dimension() const ...
35.026087
145
0.669067
[ "vector" ]
67c9e3a857807e9cebf6a0698ead5107b0d6d278
1,872
cxx
C++
src/Cxx/ImplicitFunctions/ImplicitSphere.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
81
2020-08-10T01:44:30.000Z
2022-03-23T06:46:36.000Z
src/Cxx/ImplicitFunctions/ImplicitSphere.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
2
2020-09-12T17:33:52.000Z
2021-04-15T17:33:09.000Z
src/Cxx/ImplicitFunctions/ImplicitSphere.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
27
2020-08-17T07:09:30.000Z
2022-02-15T03:44:58.000Z
#include <vtkActor.h> #include <vtkContourFilter.h> #include <vtkImageData.h> #include <vtkNamedColors.h> #include <vtkNew.h> #include <vtkOutlineFilter.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkRenderer.h> #include <vtkSa...
27.529412
68
0.740919
[ "render" ]
67caba39d7731d21181e4298f06a0f4f452528a1
48,697
cpp
C++
gen/blink/bindings/core/v8/V8HTMLFrameSetElement.cpp
wenfeifei/miniblink49
2ed562ff70130485148d94b0e5f4c343da0c2ba4
[ "Apache-2.0" ]
5,964
2016-09-27T03:46:29.000Z
2022-03-31T16:25:27.000Z
gen/blink/bindings/core/v8/V8HTMLFrameSetElement.cpp
w4454962/miniblink49
b294b6eacb3333659bf7b94d670d96edeeba14c0
[ "Apache-2.0" ]
459
2016-09-29T00:51:38.000Z
2022-03-07T14:37:46.000Z
gen/blink/bindings/core/v8/V8HTMLFrameSetElement.cpp
w4454962/miniblink49
b294b6eacb3333659bf7b94d670d96edeeba14c0
[ "Apache-2.0" ]
1,006
2016-09-27T05:17:27.000Z
2022-03-30T02:46:51.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8HTMLFrameSetElement.h" #include "b...
59.824324
586
0.77206
[ "object" ]
67cdbddd5caa5985fc9bbd5d2d06e77f53b33e1f
6,565
cpp
C++
series0_solution/2d-poissonlFEM/unittest/TestStiffnessMatrix.cpp
BeatHubmann/19H-AdvNCSE
3979f768da933de82bd6ab29bbf31ea9fc31e501
[ "MIT" ]
1
2020-01-05T22:38:47.000Z
2020-01-05T22:38:47.000Z
series0_solution/2d-poissonlFEM/unittest/TestStiffnessMatrix.cpp
BeatHubmann/19H-AdvNCSE
3979f768da933de82bd6ab29bbf31ea9fc31e501
[ "MIT" ]
null
null
null
series0_solution/2d-poissonlFEM/unittest/TestStiffnessMatrix.cpp
BeatHubmann/19H-AdvNCSE
3979f768da933de82bd6ab29bbf31ea9fc31e501
[ "MIT" ]
1
2019-12-08T20:43:27.000Z
2019-12-08T20:43:27.000Z
#include <gtest/gtest.h> #include <Eigen/Core> #include <Eigen/Dense> #include "stiffness_matrix.hpp" TEST(TestStiffnessMatrix, TestReferenceElement) { Eigen::MatrixXd vertices(3, 3); vertices << 0, 0, 0, 1, 0, 0, 0, 1, 0; Eigen::Matrix3d stiffnessMatrix; computeSti...
36.270718
109
0.576238
[ "vector" ]
67cec16fbb71d58f1f9f1f66df45c99932c505f8
7,925
cpp
C++
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/core/v8/V8WebGLDrawBuffers.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/core/v8/V8WebGLDrawBuffers.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/core/v8/V8WebGLDrawBuffers.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8WebGLDrawBuffers.h" #include "bindings/v8/E...
42.379679
261
0.744984
[ "object", "vector" ]
67cee0d5dde859a5b00144a737d895cc1b6b2c18
23,919
cpp
C++
libraries/model/src/ModelTransformer.cpp
harshmittal2210/ELL
83ee904a638badb922febd8b9d6f3a1155679181
[ "MIT" ]
null
null
null
libraries/model/src/ModelTransformer.cpp
harshmittal2210/ELL
83ee904a638badb922febd8b9d6f3a1155679181
[ "MIT" ]
null
null
null
libraries/model/src/ModelTransformer.cpp
harshmittal2210/ELL
83ee904a638badb922febd8b9d6f3a1155679181
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////// // // Project: Embedded Learning Library (ELL) // File: ModelTransformer.cpp (model) // Authors: Chuck Jacobs // /////////////////////////////////////////////////////////////////////////////////////////////////...
36.240909
225
0.624106
[ "vector", "model" ]
67d35721051e5a4327a0156d19da954ec8b83342
3,903
cpp
C++
src/utils/correction_inf_msg.cpp
mfkiwl/FLVIS
7472fef6fbc6cfc1e2c0de5dd1d0a7ae5462f689
[ "BSD-2-Clause" ]
113
2020-10-18T12:35:16.000Z
2022-03-29T06:08:49.000Z
src/utils/correction_inf_msg.cpp
JazzyFeng/FLVIS-gpu
74dd8a136d1923592d2ca74d2408cc2c3bbb8c7b
[ "BSD-2-Clause" ]
9
2020-07-04T07:54:57.000Z
2022-02-17T06:37:33.000Z
src/utils/correction_inf_msg.cpp
JazzyFeng/FLVIS-gpu
74dd8a136d1923592d2ca74d2408cc2c3bbb8c7b
[ "BSD-2-Clause" ]
29
2021-01-11T13:04:53.000Z
2022-03-29T06:08:50.000Z
#include "include/correction_inf_msg.h" CorrectionInfMsg::CorrectionInfMsg() { } CorrectionInfMsg::CorrectionInfMsg(ros::NodeHandle& nh, string topic_name, int buffersize) { correction_inf_pub = nh.advertise<flvis::CorrectionInf>(topic_name,1); } void CorrectionInfMsg::pub(const int64_t &frame_id_in, ...
36.138889
126
0.623879
[ "vector" ]
67d99ad375d27d9e81b6494a8ebc8781ffe4dec3
3,161
cpp
C++
src/main.cpp
oussamaabdulhay/positioning_system
b9c3b0c4616160aade2565d78238ae74d1b62274
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
oussamaabdulhay/positioning_system
b9c3b0c4616160aade2565d78238ae74d1b62274
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
oussamaabdulhay/positioning_system
b9c3b0c4616160aade2565d78238ae74d1b62274
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <vector> #include "../include/ROSUnit_RTK1.hpp" #include "../include/ROSUnit_RTK2.hpp" #include "../include/EmlidRTK.hpp" #include "../include/ROSUnit_Xsens.hpp" #include <fstream> int main(int argc, char** argv) { ros::init(argc, argv, "testing_node"); std::ofstream write_dat...
37.630952
83
0.575451
[ "vector" ]
67e1027af02023a8a93cd5e63c4a358cbd9b373f
1,337
cpp
C++
contests/atcoder/abc170/abc170_c/main.cpp
conao3/coder
2cdb610fec013da88a3470d460108e8a9b462445
[ "CC0-1.0" ]
null
null
null
contests/atcoder/abc170/abc170_c/main.cpp
conao3/coder
2cdb610fec013da88a3470d460108e8a9b462445
[ "CC0-1.0" ]
null
null
null
contests/atcoder/abc170/abc170_c/main.cpp
conao3/coder
2cdb610fec013da88a3470d460108e8a9b462445
[ "CC0-1.0" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <utility> #include <tuple> #include <cstdint> #include <cstdio> #include <map> #include <queue> #include <set> #include <stack> #include <deque> #include <unordered_map> #include <unordered_set> #include <bitset> #include <cctype> us...
18.315068
62
0.551234
[ "vector" ]
67e468c2c1ed20982f81962a59c922efec990746
4,384
cc
C++
shell/platform/linux/fl_method_call.cc
masterashu/engine
243bb59c7179a7e701ce478080d6ce990710ae73
[ "BSD-3-Clause" ]
null
null
null
shell/platform/linux/fl_method_call.cc
masterashu/engine
243bb59c7179a7e701ce478080d6ce990710ae73
[ "BSD-3-Clause" ]
null
null
null
shell/platform/linux/fl_method_call.cc
masterashu/engine
243bb59c7179a7e701ce478080d6ce990710ae73
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2013 The Flutter 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 "flutter/shell/platform/linux/public/flutter_linux/fl_method_call.h" #include "flutter/shell/platform/linux/fl_method_call_private.h" #include "fl...
36.533333
79
0.693887
[ "object" ]
67ec1aca04935e18611f2d58196a2279549bcb33
344
cpp
C++
Questions Level-Wise/Easy/maximum-product-of-three-numbers.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
2
2021-03-05T22:32:23.000Z
2021-03-05T22:32:29.000Z
Questions Level-Wise/Easy/maximum-product-of-three-numbers.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
Questions Level-Wise/Easy/maximum-product-of-three-numbers.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
class Solution { public: int maximumProduct(vector<int>& nums) { int Size=nums.size(); std::sort(nums.begin(),nums.end()); if(nums[0]<0&&nums[1]<0&&(nums[0]*nums[1]>=nums[Size-2]*nums[Size-3])) return nums[Size-1]*nums[0]*nums[1]; return nums[Size-1]*nums[Size-2]*num...
28.666667
78
0.543605
[ "vector" ]
67f483b629a0478e85cbe9aeadd6cb6397e48e64
10,027
cpp
C++
Box2d/Source/Dynamics/b2Body.cpp
sroske/launch-it
cba4f99f8d5ef6465b7b4b87b05936b26b13766a
[ "MIT" ]
1
2016-02-01T22:26:49.000Z
2016-02-01T22:26:49.000Z
Box2d/Source/Dynamics/b2Body.cpp
sroske/launch-it
cba4f99f8d5ef6465b7b4b87b05936b26b13766a
[ "MIT" ]
null
null
null
Box2d/Source/Dynamics/b2Body.cpp
sroske/launch-it
cba4f99f8d5ef6465b7b4b87b05936b26b13766a
[ "MIT" ]
null
null
null
/* * Copyright (c) 2006-2007 Erin Catto http://www.gphysics.com * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any pur...
21.893013
89
0.632293
[ "shape" ]
67f5850a7c713040eab3529780457e80503c6e50
5,429
cpp
C++
src/main/algorithms/cpp/array/create_maximum_number_321/solution.cpp
algorithmlover2016/leet_code
2eecc7971194c8a755e67719d8f66c636694e7e9
[ "Apache-2.0" ]
null
null
null
src/main/algorithms/cpp/array/create_maximum_number_321/solution.cpp
algorithmlover2016/leet_code
2eecc7971194c8a755e67719d8f66c636694e7e9
[ "Apache-2.0" ]
null
null
null
src/main/algorithms/cpp/array/create_maximum_number_321/solution.cpp
algorithmlover2016/leet_code
2eecc7971194c8a755e67719d8f66c636694e7e9
[ "Apache-2.0" ]
null
null
null
#include "../../head.h" // #define DEBUG class Solution { public: std::vector<int> maxNumber(std::vector<int> const & nums1, std::vector<int> const & nums2, int k) { // plagiarizing from https://leetcode.com/problems/create-maximum-number/discuss/77287/C%2B%2B-16ms-FASTEST-beats-97. int const nums...
38.232394
125
0.511881
[ "vector" ]
67fa77f46b8f180f6ddeef3c6ccd9c1af067c8cf
1,367
cpp
C++
C++/ambiguous-coordinates.cpp
black-shadows/LeetCode-Solutions
b1692583f7b710943ffb19b392b8bf64845b5d7a
[ "Fair", "Unlicense" ]
1
2020-04-16T08:38:14.000Z
2020-04-16T08:38:14.000Z
ambiguous-coordinates.cpp
Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise
f1111b4edd401a3fc47111993bd7250cf4dc76da
[ "MIT" ]
null
null
null
ambiguous-coordinates.cpp
Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise
f1111b4edd401a3fc47111993bd7250cf4dc76da
[ "MIT" ]
1
2021-12-25T14:48:56.000Z
2021-12-25T14:48:56.000Z
// Time: O(n^4) // Space: O(n^2) class Solution { public: vector<string> ambiguousCoordinates(string S) { vector<string> result; for (int i = 1; i < S.length() - 2; ++i) { const auto& lefts = make(S, 1, i); const auto& rights = make(S, i + 1, S.length() - 2 - i); ...
29.717391
69
0.355523
[ "vector" ]
db014ba0241321f4be6a291d661563cebee38a37
8,091
cpp
C++
src/wmecore/Scene2DBase.cpp
retrowork/wme
54cf8905091736aef0a35fe6d3e05b818441f3c8
[ "MIT" ]
null
null
null
src/wmecore/Scene2DBase.cpp
retrowork/wme
54cf8905091736aef0a35fe6d3e05b818441f3c8
[ "MIT" ]
null
null
null
src/wmecore/Scene2DBase.cpp
retrowork/wme
54cf8905091736aef0a35fe6d3e05b818441f3c8
[ "MIT" ]
null
null
null
// This file is part of Wintermute Engine // For conditions of distribution and use, see copyright notice in license.txt #include "Wme.h" #include "Scene2DBase.h" #include "SceneNode2D.h" #include "Viewport.h" #include "ViewportLayout.h" #include "Canvas2D.h" #include "ActiveSpot.h" // temp #include "Spri...
27.9
101
0.638487
[ "object" ]
db0c2d53f46ce528259323356569797e95a33198
6,082
cpp
C++
Apps/MultiTrackerViewer/MeshIO.cpp
xchern/MultiTracker
06cdad3e1b2e24f1a87de07f64b9aab2807b129e
[ "BSD-2-Clause" ]
3
2017-10-31T20:51:12.000Z
2020-12-18T15:56:40.000Z
Apps/MultiTrackerViewer/MeshIO.cpp
xchern/MultiTracker
06cdad3e1b2e24f1a87de07f64b9aab2807b129e
[ "BSD-2-Clause" ]
null
null
null
Apps/MultiTrackerViewer/MeshIO.cpp
xchern/MultiTracker
06cdad3e1b2e24f1a87de07f64b9aab2807b129e
[ "BSD-2-Clause" ]
3
2018-03-19T12:29:31.000Z
2020-12-22T12:04:46.000Z
// // MeshIO.cpp // // Christopher Batty, Fang Da 2014 // // #include <fstream> #include "MeshIO.h" bool MeshIO::save(LosTopos::SurfTrack & st, const std::string & filename, bool binary) { if (binary) { std::ofstream os(filename.c_str(), std::ios::binary); size_t n; n = st.m...
29.381643
101
0.464814
[ "vector" ]
db0e6f6a9071ed03da7bb502765b23bc1e594495
5,929
cpp
C++
LinaResource/src/Core/ResourceManager.cpp
moonantonio/LinaEngine
fe5a91a85c64dd0719656eb38e2fb37037bacfc1
[ "MIT" ]
10
2018-09-30T22:29:27.000Z
2018-10-08T14:04:42.000Z
LinaResource/src/Core/ResourceManager.cpp
moonantonio/LinaEngine
fe5a91a85c64dd0719656eb38e2fb37037bacfc1
[ "MIT" ]
15
2018-10-02T22:14:17.000Z
2018-10-12T08:01:36.000Z
LinaResource/src/Core/ResourceManager.cpp
moonantonio/LinaEngine
fe5a91a85c64dd0719656eb38e2fb37037bacfc1
[ "MIT" ]
1
2018-09-30T16:37:10.000Z
2018-09-30T16:37:10.000Z
/* This file is a part of: Lina Engine https://github.com/inanevin/Lina Author: Inan Evin http://www.inanevin.com Copyright (c) [2018-2020] [Inan Evin] 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 Sof...
39.264901
221
0.694215
[ "vector" ]
db10e09e47041434c6a1535b2faac57946c3e9d8
52,042
cpp
C++
oneflow/core/framework/op_interpreter/lazy_op_interpreter.cpp
felixhao28/oneflow
e558af6ef6c4ed90e4abc7bc1ba895f55795626d
[ "Apache-2.0" ]
null
null
null
oneflow/core/framework/op_interpreter/lazy_op_interpreter.cpp
felixhao28/oneflow
e558af6ef6c4ed90e4abc7bc1ba895f55795626d
[ "Apache-2.0" ]
null
null
null
oneflow/core/framework/op_interpreter/lazy_op_interpreter.cpp
felixhao28/oneflow
e558af6ef6c4ed90e4abc7bc1ba895f55795626d
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The OneFlow 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 agre...
49.611058
100
0.66823
[ "shape", "vector" ]
db184f5a1b4e45a0f668c32556da9fe4494b69ec
21,698
cc
C++
chrome/browser/webauthn/authenticator_request_dialog_model.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/webauthn/authenticator_request_dialog_model.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/webauthn/authenticator_request_dialog_model.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-03-07T14:20:02.000Z
2021-03-07T14:20:02.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/webauthn/authenticator_request_dialog_model.h" #include <iterator> #include <utility> #include "base/bind.h" #include "base/con...
33.903125
80
0.76431
[ "vector" ]
db186503b5174111415af979f02bc1ae9e3606a5
1,232
cpp
C++
Codeforces/1207B/implementation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
Codeforces/1207B/implementation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
Codeforces/1207B/implementation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <bits/stdc++.h> using namespace std; #define SIZE 51 bool arr[SIZE][SIZE], vis[SIZE][SIZE]; int row, col; vector<pair<int, int> > vec; bool check() { for (int i = 0; i < row; i++) for (int j = 0; j < col; j++) if (arr[i][j] && !vis[i][j]) return false; ...
25.142857
106
0.405032
[ "vector" ]
db18ff1ddc36668ddf9445f8d97521e7cf3f535b
11,657
hpp
C++
SRC/Maps/DataTileProvider.hpp
poli0048/Recon
d3836b3ea569f389c238469b17390ed6e9c34b65
[ "BSD-3-Clause" ]
1
2021-12-26T12:53:35.000Z
2021-12-26T12:53:35.000Z
SRC/Maps/DataTileProvider.hpp
poli0048/Recon
d3836b3ea569f389c238469b17390ed6e9c34b65
[ "BSD-3-Clause" ]
null
null
null
SRC/Maps/DataTileProvider.hpp
poli0048/Recon
d3836b3ea569f389c238469b17390ed6e9c34b65
[ "BSD-3-Clause" ]
2
2021-06-12T18:34:18.000Z
2021-12-26T12:53:44.000Z
//This module provides an interface for accessing GIS data stored in an FRF KV store. It can provide vis tiles of GIS //data for display with ImGui and it has utilities to retrieve and edit raw data at any point on Earth. Essentially, //the DataTileProvider allows other modules to pretend that we have a raster canvas c...
51.127193
158
0.756798
[ "object", "vector" ]
db1b60a3169b12ae07ff20600d62a0d8465531f7
9,343
cc
C++
onnxruntime/test/providers/cpu/controlflow/if_test.cc
twosense/onnxruntime
77b981824aed851442a3bed33525d27adb525111
[ "MIT" ]
2
2019-07-30T10:37:33.000Z
2021-01-05T21:12:29.000Z
onnxruntime/test/providers/cpu/controlflow/if_test.cc
twosense/onnxruntime
77b981824aed851442a3bed33525d27adb525111
[ "MIT" ]
null
null
null
onnxruntime/test/providers/cpu/controlflow/if_test.cc
twosense/onnxruntime
77b981824aed851442a3bed33525d27adb525111
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "gtest/gtest.h" #include "gmock/gmock.h" // #include "core/framework/customregistry.h" #include "core/framework/session_state.h" #include "core/providers/cpu/controlflow/if.h" #include "test/providers/provider_test...
32.782456
120
0.679118
[ "shape", "vector", "model" ]
db1bbd260dd30535733939269593a1ac8a23b9b7
18,262
cpp
C++
dev/Gems/EMotionFX/Code/MysticQt/Source/ButtonGroup.cpp
BadDevCode/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
2
2020-06-27T12:13:44.000Z
2020-06-27T12:13:46.000Z
dev/Gems/EMotionFX/Code/MysticQt/Source/ButtonGroup.cpp
olivier-be/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
null
null
null
dev/Gems/EMotionFX/Code/MysticQt/Source/ButtonGroup.cpp
olivier-be/lumberyard
3d688932f919dbf5821f0cb8a210ce24abe39e9e
[ "AML" ]
null
null
null
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
46.232911
298
0.513471
[ "solid" ]
db1cc18f8bdbb70b42b0e9f1b7c71a68ebe6415e
1,476
cpp
C++
Question_21_30/answers_cpp/answer_22.cpp
nuck555/ImageProcessing100Wen
9e0d361f6eb61c9f23ac3e14e36a384b994c5511
[ "MIT" ]
3,482
2019-03-26T15:00:42.000Z
2022-03-31T14:44:36.000Z
Question_21_30/answers_cpp/answer_22.cpp
nuck555/ImageProcessing100Wen
9e0d361f6eb61c9f23ac3e14e36a384b994c5511
[ "MIT" ]
33
2019-11-26T09:21:50.000Z
2021-09-17T08:35:23.000Z
Question_21_30/answers_cpp/answer_22.cpp
nuck555/ImageProcessing100Wen
9e0d361f6eb61c9f23ac3e14e36a384b994c5511
[ "MIT" ]
1,129
2019-04-11T02:00:34.000Z
2022-03-31T08:08:01.000Z
#include <opencv2/core.hpp> #include <opencv2/highgui.hpp> #include <iostream> #include <math.h> // histogram transform cv::Mat histogram_transform(cv::Mat img, int m0, int s0){ // get height and width int width = img.cols; int height = img.rows; int channel = img.channels(); // histogram transformation hy...
22.029851
70
0.556233
[ "transform" ]
db1ceee04311c14ce492f8682361c4be5e17167f
846
cpp
C++
75a.cpp
Vinzz34/important
5950931d95fa4c705e4bbcbcdb5af37aa1731fcf
[ "MIT" ]
null
null
null
75a.cpp
Vinzz34/important
5950931d95fa4c705e4bbcbcdb5af37aa1731fcf
[ "MIT" ]
null
null
null
75a.cpp
Vinzz34/important
5950931d95fa4c705e4bbcbcdb5af37aa1731fcf
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define ll long long #define ar array #define ld long double #define vi vector<int> #define vpii vector<pair<int,int>> #define PB push_back #define MP make_pair #define fi first #define se second #define sz(a) int((a).size()) #define FOR(a,b,c) for(int a=b;a<(int)(c);a++) ...
15.666667
56
0.619385
[ "vector" ]
db1e35454c6dd0745bce7818863bb05527239339
6,107
cpp
C++
tags/ewsupdateitemstagsjob.cpp
KrissN/akonadi-ews
05ce7e24547fbdb559de55dabda86d337716cfba
[ "RSA-MD" ]
122
2016-03-01T12:53:43.000Z
2021-11-06T21:14:21.000Z
tags/ewsupdateitemstagsjob.cpp
KrissN/akonadi-ews
05ce7e24547fbdb559de55dabda86d337716cfba
[ "RSA-MD" ]
54
2016-05-02T10:05:47.000Z
2022-02-01T18:10:38.000Z
tags/ewsupdateitemstagsjob.cpp
KrissN/akonadi-ews
05ce7e24547fbdb559de55dabda86d337716cfba
[ "RSA-MD" ]
17
2016-05-18T21:02:08.000Z
2022-01-27T20:33:26.000Z
/* This file is part of Akonadi EWS Resource Copyright (C) 2015-2016 Krzysztof Nowicki <krissn@op.pl> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of ...
34.502825
105
0.649091
[ "object" ]
db1fce247fdd2078e150df325493577fda05c1be
831
cpp
C++
Backtracking/Permutations.cpp
ShauryaAiri/InterviewBit-Solutions
89de715220be1e8a40f844a00c35120a13e10836
[ "MIT" ]
1
2019-03-11T12:37:20.000Z
2019-03-11T12:37:20.000Z
Backtracking/Permutations.cpp
ashaywalke/InterviewBit-Solutions
6757929e1fd3e65780cc4243266c1d477a2d225b
[ "MIT" ]
null
null
null
Backtracking/Permutations.cpp
ashaywalke/InterviewBit-Solutions
6757929e1fd3e65780cc4243266c1d477a2d225b
[ "MIT" ]
1
2018-10-04T11:03:49.000Z
2018-10-04T11:03:49.000Z
//https://www.interviewbit.com/problems/permutations/ void permutation(vector<int> A, int N, vector<vector<int>> &perms, vector<int>perm, vector<int> chosen ) { if(perm.size()==N) { // sort(perm.begin(), perm.end()); // cout<<"pushing = "<<left<<endl; perms.push_back(perm); retur...
25.181818
104
0.523466
[ "vector" ]
db20eff18d1803e4ccb10244971d25d3f12132b3
5,782
cc
C++
src/graphics/intersect.cc
asmuth-archive/travistest
b69b0981952bb8274031792a887169a2cca12d95
[ "Apache-2.0" ]
721
2015-01-01T15:14:48.000Z
2017-04-28T20:27:56.000Z
src/graphics/intersect.cc
asmuth-archive/travistest
b69b0981952bb8274031792a887169a2cca12d95
[ "Apache-2.0" ]
98
2019-08-02T01:01:59.000Z
2019-08-02T11:54:38.000Z
src/graphics/intersect.cc
asmuth-archive/travistest
b69b0981952bb8274031792a887169a2cca12d95
[ "Apache-2.0" ]
93
2015-01-02T11:21:33.000Z
2017-04-26T08:18:33.000Z
/** * This file is part of the "clip" project * Copyright (c) 2018 Paul Asmuth * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * Unless required by applicable law or agreed to in writing, software * distributed under the ...
26.893023
80
0.602041
[ "vector" ]
db234c586425b53ae2b7355192a4c6e2b718e439
962
cpp
C++
src/test/testlib/testbench_shells.cpp
catenocrypt/peerboot-cpp
2520cd6cf391d5554c0d072fc5d31414e161836a
[ "MIT" ]
7
2019-11-06T09:01:08.000Z
2022-01-24T00:08:18.000Z
src/test/testlib/testbench_shells.cpp
catenocrypt/peerboot-cpp
2520cd6cf391d5554c0d072fc5d31414e161836a
[ "MIT" ]
null
null
null
src/test/testlib/testbench_shells.cpp
catenocrypt/peerboot-cpp
2520cd6cf391d5554c0d072fc5d31414e161836a
[ "MIT" ]
1
2021-01-16T17:52:24.000Z
2021-01-16T17:52:24.000Z
#include "testbench_shells.hpp" #include "connector_peer.hpp" #include <memory> #include <vector> using namespace pebo; using namespace std; long TestBenchShells::myCounter = 0; void TestBenchShells::addShell(shared_ptr<Shell> shell_in) { string id = "testnode" + to_string(++myCounter); myShells[id] = shell...
22.904762
129
0.589397
[ "vector" ]
db260af005af8266fe65078ed0a38b00177130ec
8,912
cc
C++
src/tools/persistent_intersection_homology.cc
eudoxos/Aleph
874882c33a0e8429c74e567eb01525613fee0616
[ "MIT" ]
56
2019-04-24T22:11:15.000Z
2022-03-22T11:37:47.000Z
src/tools/persistent_intersection_homology.cc
eudoxos/Aleph
874882c33a0e8429c74e567eb01525613fee0616
[ "MIT" ]
48
2016-11-30T09:37:13.000Z
2019-01-30T21:43:39.000Z
src/tools/persistent_intersection_homology.cc
eudoxos/Aleph
874882c33a0e8429c74e567eb01525613fee0616
[ "MIT" ]
11
2019-05-02T11:54:31.000Z
2020-12-10T14:05:40.000Z
#include <aleph/containers/DataDescriptors.hh> #include <aleph/containers/DimensionalityEstimators.hh> #include <aleph/containers/PointCloud.hh> #include <aleph/config/FLANN.hh> #ifdef ALEPH_WITH_FLANN #include <aleph/geometry/FLANN.hh> #else #include <aleph/geometry/BruteForce.hh> #endif #include <aleph/geometr...
26.602985
122
0.587747
[ "geometry", "vector", "transform" ]
db2619220707ff4b8fcce1ad5336685e82dd8077
2,670
cpp
C++
Applications/NavierStokes/OAT15A/sources/exasim4.0/kernel/application/fluxDriver.cpp
rloekvh/Exasim
c794431e8b1eff902c2ffad8182d1a9b53339c0d
[ "MIT" ]
37
2020-12-09T20:24:36.000Z
2022-02-18T17:19:23.000Z
Applications/NavierStokes/OAT15A/sources/exasim4.0/kernel/application/fluxDriver.cpp
rloekvh/Exasim
c794431e8b1eff902c2ffad8182d1a9b53339c0d
[ "MIT" ]
25
2020-11-25T20:37:33.000Z
2022-02-25T15:53:11.000Z
Applications/NavierStokes/OAT15A/sources/exasim4.0/kernel/application/fluxDriver.cpp
rloekvh/Exasim
c794431e8b1eff902c2ffad8182d1a9b53339c0d
[ "MIT" ]
8
2020-11-30T15:34:06.000Z
2022-01-09T21:06:00.000Z
#ifndef __FLUXDRIVER #define __FLUXDRIVER void FluxDriver(dstype *f, dstype *xg, dstype *udg, dstype *odg, meshstruct &mesh, masterstruct &master, appstruct &app, solstruct &sol, tempstruct &temp, commonstruct &common, Int nge, Int e1, Int e2, Int backend) { Int nc = common.nc; // number of comp...
43.770492
98
0.491386
[ "mesh" ]
db330fdecd1bb77466597a92002f9731c92905a2
6,215
cpp
C++
Implementation/Core/amc_systemstate.cpp
alexanderoster/AutodeskMachineControlFramework
17aec986c2cb3c9ea46bbe583bdc0e766e6f980b
[ "BSD-3-Clause" ]
15
2020-11-10T17:22:39.000Z
2021-12-16T14:45:11.000Z
Implementation/Core/amc_systemstate.cpp
alexanderoster/AutodeskMachineControlFramework
17aec986c2cb3c9ea46bbe583bdc0e766e6f980b
[ "BSD-3-Clause" ]
5
2021-08-30T06:58:52.000Z
2022-03-09T15:25:49.000Z
Implementation/Core/amc_systemstate.cpp
alexanderoster/AutodeskMachineControlFramework
17aec986c2cb3c9ea46bbe583bdc0e766e6f980b
[ "BSD-3-Clause" ]
20
2020-08-06T15:53:34.000Z
2022-02-09T13:49:59.000Z
/*++ Copyright (C) 2020 Autodesk Inc. 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 follow...
26.334746
141
0.7786
[ "model" ]
db338e6ef10078f2d3cb89fb7e236674e39b8db1
1,142
cpp
C++
test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32F429I-Discovery/Demonstrations/TouchGFX/Gui/gui/src/menu_screen/MenuPresenter.cpp
hwiwonl/ACES
9b9a6766a177c531384b863854459a7e016dbdcc
[ "NCSA" ]
null
null
null
test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32F429I-Discovery/Demonstrations/TouchGFX/Gui/gui/src/menu_screen/MenuPresenter.cpp
hwiwonl/ACES
9b9a6766a177c531384b863854459a7e016dbdcc
[ "NCSA" ]
null
null
null
test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32F429I-Discovery/Demonstrations/TouchGFX/Gui/gui/src/menu_screen/MenuPresenter.cpp
hwiwonl/ACES
9b9a6766a177c531384b863854459a7e016dbdcc
[ "NCSA" ]
null
null
null
/** ****************************************************************************** * This file is part of the TouchGFX 4.10.0 distribution. * * <h2><center>&copy; Copyright (c) 2018 STMicroelectronics. * All rights reserved.</center></h2> * * This software component is licensed by ST under Ultimate Libert...
23.791667
80
0.541156
[ "model" ]
b9cdda16d4dfed86fdb6b486e053c7cafe4353f8
3,741
hpp
C++
far/hilight.hpp
lidacity/FarManager
4ff6edbd53b6652d3ab1d9ae86f66873be850209
[ "BSD-3-Clause" ]
null
null
null
far/hilight.hpp
lidacity/FarManager
4ff6edbd53b6652d3ab1d9ae86f66873be850209
[ "BSD-3-Clause" ]
null
null
null
far/hilight.hpp
lidacity/FarManager
4ff6edbd53b6652d3ab1d9ae86f66873be850209
[ "BSD-3-Clause" ]
null
null
null
#ifndef HILIGHT_HPP_DE941BF9_997F_45B6_A454_3F455C156548 #define HILIGHT_HPP_DE941BF9_997F_45B6_A454_3F455C156548 #pragma once /* hilight.hpp Files highlighting */ /* Copyright © 1996 Eugene Roshal Copyright © 2000 Far Group All rights reserved. Redistribution and use in source and binary forms, with or without mod...
25.979167
111
0.732692
[ "object", "vector" ]
b9d0f5fb47f345363784b04ae9386f21f1d11371
463
cpp
C++
CodeForces/Complete/1200-1299/1243A-MaximumSquare.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/1200-1299/1243A-MaximumSquare.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/1200-1299/1243A-MaximumSquare.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <cstdio> #include <vector> #include <algorithm> int main(){ long q; scanf("%ld", &q); while(q--){ long n; scanf("%ld", &n); std::vector<long> a(n); for(long p = 0; p < n; p++){scanf("%ld", &a[p]);} sort(a.rbegin(), a.rend()); long side(0); for(long p = 0; p < n...
20.130435
81
0.421166
[ "vector" ]
b9d6990c499ad7088d71f26b6bac9893dde8cb79
4,547
cpp
C++
fuzzer.cpp
zhaoxiaoyunok/python-library-fuzzers
83db496f75280795415821097802a96fbf72f50f
[ "MIT" ]
4
2019-07-03T06:01:08.000Z
2019-07-29T08:07:54.000Z
fuzzer.cpp
zhaoxiaoyunok/python-library-fuzzers
83db496f75280795415821097802a96fbf72f50f
[ "MIT" ]
null
null
null
fuzzer.cpp
zhaoxiaoyunok/python-library-fuzzers
83db496f75280795415821097802a96fbf72f50f
[ "MIT" ]
4
2019-07-03T03:24:56.000Z
2021-12-11T12:30:31.000Z
#include <climits> #include <cstdlib> #include <iomanip> #include <libgen.h> #include <sstream> #include <vector> #include <string> #include <optional> #include <Python.h> #ifndef PYTHON_HARNESS_PATH #error "Define PYTHON_HARNESS_PATH" #endif #define PY_SSIZE_T_CLEAN #include <Python.h> static std::string ToAbsolute...
27.895706
92
0.601495
[ "vector" ]
b9d75d853cca50f6979abab77ae3e1aae8b1f16a
1,764
cpp
C++
src/parser.cpp
baines/lang
afec2d61cda4569c5593ef491f5b2af69580728b
[ "MIT" ]
null
null
null
src/parser.cpp
baines/lang
afec2d61cda4569c5593ef491f5b2af69580728b
[ "MIT" ]
null
null
null
src/parser.cpp
baines/lang
afec2d61cda4569c5593ef491f5b2af69580728b
[ "MIT" ]
null
null
null
#include "el3.h" using namespace el3; static TokenType matching_bracket(TokenType t){ switch(t){ case TKN_FUNC_START: return TKN_FUNC_END; case TKN_BLOCK_START: return TKN_BLOCK_END; case TKN_LIST_START: return TKN_LIST_END; case TKN_FUNC_END: return TKN_FUNC_START; case TKN_BLOCK_END: return TKN_BL...
22.05
87
0.672902
[ "vector" ]
b9d8780a82a94371d78059f5d6b56b1f0095a648
10,702
cpp
C++
android-30/android/media/AudioFormat.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-30/android/media/AudioFormat.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/media/AudioFormat.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../os/Parcel.hpp" #include "../../JObject.hpp" #include "../../JString.hpp" #include "./AudioFormat.hpp" namespace android::media { // Fields jint AudioFormat::CHANNEL_CONFIGURATION_DEFAULT() { return getStaticField<jint>( "android.media.AudioFormat", "CHANNEL_CONFIGURATION_DEFAULT" ); } jint ...
19.564899
75
0.704822
[ "object" ]
b9e08ae5fb4eb9ebfcbff6991df6a19ac8fc9718
4,073
hpp
C++
core/src/Rendering/RenderQueue.hpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
36
2015-03-12T10:42:36.000Z
2022-01-12T04:20:40.000Z
core/src/Rendering/RenderQueue.hpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
1
2015-12-17T00:25:43.000Z
2016-02-20T12:00:57.000Z
core/src/Rendering/RenderQueue.hpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
6
2017-06-17T07:57:53.000Z
2019-04-09T21:11:24.000Z
/* * Copyright (c) 2013, Hernan Saez * 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 cond...
32.846774
94
0.668795
[ "geometry", "vector" ]
b9e2c93dc23d8417c19a5ba7f4be91bfafe2c62d
3,210
cpp
C++
src/webcam_capture.cpp
danielvicedo/webcam_capture
6e8101528392ca925be42e68fd212f431d318edc
[ "BSD-3-Clause" ]
null
null
null
src/webcam_capture.cpp
danielvicedo/webcam_capture
6e8101528392ca925be42e68fd212f431d318edc
[ "BSD-3-Clause" ]
null
null
null
src/webcam_capture.cpp
danielvicedo/webcam_capture
6e8101528392ca925be42e68fd212f431d318edc
[ "BSD-3-Clause" ]
null
null
null
//opencv #include "opencv2/opencv.hpp" #include <opencv2/core/mat.hpp> #include <opencv2/imgproc/imgproc.hpp> //std #include <iostream> #include <cstdlib> //main int main(int argc, char *argv[]) { cv::VideoCapture camera; //OpenCV video capture object cv::Mat image; //OpenCV image object cv::Mat temporar...
31.782178
112
0.638941
[ "object" ]
b9e7c0c3ca0541f49fb24ad111c156ee0650a10a
1,500
cpp
C++
src/game/server/tf/bot/map_entities/tf_bot_hint_entity.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/server/tf/bot/map_entities/tf_bot_hint_entity.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/server/tf/bot/map_entities/tf_bot_hint_entity.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // // //============================================================================= #include "cbase.h" #include "tf_bot_hint_entity.h" #include "tf_obj.h" #include "tf_player.h" BEGIN_DATADESC( CBaseTFBotHintEntity ) DEFINE_KEYFIELD( ...
24.590164
80
0.621333
[ "object" ]
b9eb6e3f88385cd4671c10a129eecdb371e95058
1,507
hpp
C++
include/nbla/computation_graph/computation_graph.hpp
PAC-P2P/nnabla
bb7e7d52555a5bc145ec3c9a2e152fa5b11574de
[ "Apache-2.0" ]
1
2021-04-08T00:33:23.000Z
2021-04-08T00:33:23.000Z
include/nbla/computation_graph/computation_graph.hpp
enomotom/nnabla
1947fe16a0a41d19d76cd916f151aa1991ea1b44
[ "Apache-2.0" ]
null
null
null
include/nbla/computation_graph/computation_graph.hpp
enomotom/nnabla
1947fe16a0a41d19d76cd916f151aa1991ea1b44
[ "Apache-2.0" ]
1
2020-08-19T08:32:51.000Z
2020-08-19T08:32:51.000Z
// Copyright (c) 2017 Sony Corporation. 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 ...
35.880952
79
0.658925
[ "vector" ]
b9f01d6886b19dfde42dc7e46c172740cc10fc1f
6,653
cc
C++
src/cache_refresh/cache_refresh.cc
zmarano/guest-oslogin
45dbaa6b9beee283d09a9b9ab4caf8c724fd458c
[ "Apache-2.0" ]
1
2022-01-25T15:47:40.000Z
2022-01-25T15:47:40.000Z
src/cache_refresh/cache_refresh.cc
JazzEd-EdTech/guest-oslogin
b7ada1adc2e7649bd7cb16070ce1d0c1d9df5906
[ "Apache-2.0" ]
null
null
null
src/cache_refresh/cache_refresh.cc
JazzEd-EdTech/guest-oslogin
b7ada1adc2e7649bd7cb16070ce1d0c1d9df5906
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
33.60101
115
0.678491
[ "vector" ]
b9f0c6a4cfe9e6763a1cdfd3350f654b9d40f873
6,743
cpp
C++
test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/AFMSPOSet.cpp
FeiyangJin/hclib
d23c850dce914e2d80cae733670820812a1edeee
[ "BSD-3-Clause" ]
55
2015-07-28T01:32:58.000Z
2022-02-27T16:27:46.000Z
test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/AFMSPOSet.cpp
FeiyangJin/hclib
d23c850dce914e2d80cae733670820812a1edeee
[ "BSD-3-Clause" ]
66
2015-06-15T20:38:19.000Z
2020-08-26T00:11:43.000Z
test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/AFMSPOSet.cpp
FeiyangJin/hclib
d23c850dce914e2d80cae733670820812a1edeee
[ "BSD-3-Clause" ]
26
2015-10-26T22:11:51.000Z
2021-03-02T22:09:15.000Z
////////////////////////////////////////////////////////////////// // (c) Copyright 2010- by Ken Esler and Jeongnim Kim ////////////////////////////////////////////////////////////////// // National Center for Supercomputing Applications & // Materials Computation Center // University of Illinois, Urbana-Champai...
28.572034
137
0.627614
[ "vector" ]
b9f1afac4230f156f5c00d78df32b2fca619fd79
3,618
cpp
C++
Altera/MemTest.cpp
vinayby/BlueLink
69944e51df8358877b9a86d3749f220fa459c0da
[ "Apache-2.0" ]
12
2015-09-29T10:16:36.000Z
2021-09-04T22:04:50.000Z
Altera/MemTest.cpp
vinayby/BlueLink
69944e51df8358877b9a86d3749f220fa459c0da
[ "Apache-2.0" ]
1
2015-09-14T22:35:10.000Z
2015-09-14T22:35:10.000Z
Altera/MemTest.cpp
vinayby/BlueLink
69944e51df8358877b9a86d3749f220fa459c0da
[ "Apache-2.0" ]
6
2015-08-25T18:09:17.000Z
2020-07-01T14:36:05.000Z
/* * MemTest.cpp * * Created on: Nov 26, 2015 * Author: jcassidy */ #include <cinttypes> struct Command { uint64_t time; uint64_t addr; uint64_t data; bool write; }; struct Response { uint64_t time; uint64_t data; }; class MultiPortMemory { public: /// Manage time (must be monotonically increas...
23.802632
216
0.570205
[ "vector" ]
b9f46e623404b6bac42768081eb2ccc0368bb188
13,596
cc
C++
src/sim/proxy_ptr.test.cc
He-Liu-ooo/Computer-Architecture-THUEE-2022-spring-
9d36aaacbc7eea357608524113bec97bae2ea229
[ "BSD-3-Clause" ]
4
2020-12-25T03:12:00.000Z
2022-01-07T03:35:35.000Z
src/sim/proxy_ptr.test.cc
He-Liu-ooo/Computer-Architecture-THUEE-2022-spring-
9d36aaacbc7eea357608524113bec97bae2ea229
[ "BSD-3-Clause" ]
3
2021-03-26T20:33:59.000Z
2022-01-24T22:54:03.000Z
src/sim/proxy_ptr.test.cc
He-Liu-ooo/Computer-Architecture-THUEE-2022-spring-
9d36aaacbc7eea357608524113bec97bae2ea229
[ "BSD-3-Clause" ]
3
2020-04-27T06:22:06.000Z
2021-04-15T10:12:33.000Z
/* * Copyright 2020 Google, Inc. * * 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 following disclaimer; * ...
26.146154
79
0.640997
[ "vector" ]
b9f5e68e23adc5de4da1e202514d533c831b2623
9,839
cpp
C++
geos-3.7.0beta1/src/index/strtree/STRtree.cpp
litbangbungamayang/SIMTR
23435e829f6c766ec8483c88005daac654de4057
[ "MIT" ]
null
null
null
geos-3.7.0beta1/src/index/strtree/STRtree.cpp
litbangbungamayang/SIMTR
23435e829f6c766ec8483c88005daac654de4057
[ "MIT" ]
null
null
null
geos-3.7.0beta1/src/index/strtree/STRtree.cpp
litbangbungamayang/SIMTR
23435e829f6c766ec8483c88005daac654de4057
[ "MIT" ]
null
null
null
/********************************************************************** * * GEOS - Geometry Engine Open Source * http://geos.osgeo.org * * Copyright (C) 2006 Refractions Research Inc. * Copyright (C) 2001-2002 Vivid Solutions Inc. * * This is free software; you can redistribute and/or modify it under * the ter...
28.436416
111
0.693566
[ "geometry", "vector" ]
b9f9279d3b4092de5b8f901cff43e5e841fd2035
3,154
cpp
C++
src/standalone-renderer/main.cpp
shiinamiyuki/MiyukiRenderer
81f45a86509b0c003ea7fa8c092c5b96b557d6c3
[ "MIT" ]
53
2019-06-13T12:34:46.000Z
2019-09-26T02:20:01.000Z
src/standalone-renderer/main.cpp
shiinamiyuki/miyuki-renderer
81f45a86509b0c003ea7fa8c092c5b96b557d6c3
[ "MIT" ]
null
null
null
src/standalone-renderer/main.cpp
shiinamiyuki/miyuki-renderer
81f45a86509b0c003ea7fa8c092c5b96b557d6c3
[ "MIT" ]
5
2020-01-01T03:05:39.000Z
2022-01-22T14:38:19.000Z
// MIT License // // Copyright (c) 2019 椎名深雪 // // 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,...
40.435897
87
0.604629
[ "render" ]
b9ff17e874b78dad277fc039fbc84cba75dda3f9
4,826
cc
C++
programl/graph/format/node_link_graph.cc
xshaun/compiler-programl
f90bcd84700d0f245c80440a3d5fd29370d2f973
[ "Apache-2.0" ]
1
2020-07-14T12:17:45.000Z
2020-07-14T12:17:45.000Z
programl/graph/format/node_link_graph.cc
island255/ProGraML
6c4ea50639773009e7c287feb62c6994fa4f3445
[ "Apache-2.0" ]
null
null
null
programl/graph/format/node_link_graph.cc
island255/ProGraML
6c4ea50639773009e7c287feb62c6994fa4f3445
[ "Apache-2.0" ]
null
null
null
// Copyright 2019-2020 the ProGraML authors. // // Contact Chris Cummins <chrisc.101@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/LI...
30.738854
75
0.659552
[ "object" ]
6a03c5eab4d89b8e6d77ce4f25c61e85a05619a7
10,118
cpp
C++
src/add-ons/kernel/drivers/network/usb_asix/Driver.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/add-ons/kernel/drivers/network/usb_asix/Driver.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/add-ons/kernel/drivers/network/usb_asix/Driver.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * ASIX AX88172/AX88772/AX88178 USB 2.0 Ethernet Driver. * Copyright (c) 2008, 2011 S.Zharski <imker@gmx.li> * Distributed under the terms of the MIT license. * * Heavily based on code of the * Driver for USB Ethernet Control Model devices * Copyright (C) 2008 Michael Lotz <mmlr@mlotz.ch> * Distributed under ...
25.61519
75
0.684127
[ "object", "model" ]
6a040ce6d387446c2b892d6927810f3e1813d7ca
5,122
cpp
C++
Terminal/Terminal.Draw.cpp
PierceLBrooks/Terminal
d29bcd031417b5b1dcb9893ead84e15dad7dfd08
[ "MIT" ]
2
2021-11-07T04:14:08.000Z
2022-03-08T02:44:37.000Z
Terminal/Terminal.Draw.cpp
PierceLBrooks/Terminal
d29bcd031417b5b1dcb9893ead84e15dad7dfd08
[ "MIT" ]
null
null
null
Terminal/Terminal.Draw.cpp
PierceLBrooks/Terminal
d29bcd031417b5b1dcb9893ead84e15dad7dfd08
[ "MIT" ]
1
2022-03-08T16:56:25.000Z
2022-03-08T16:56:25.000Z
#include "Terminal.hpp" #include "vterm/vterm.h" #include <cmath> using namespace std; using namespace sf; namespace { Color reverseOf(Color col) { return Color(255 - col.r, 255 - col.g, 255 - col.b, col.a); } void reverse(Color& col) { col.r = 255 - col.r; col.g = 255 - col.g; col.b = 255 - col.b; } ...
34.375839
146
0.681179
[ "vector" ]
6a0bd79bd94332c8f5a236476be588c8abf0e7f2
3,067
cpp
C++
private/shell/browseui/mbdrop.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/shell/browseui/mbdrop.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/shell/browseui/mbdrop.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
// // Routines for implementing drop target capability to menubands. // #include "priv.h" #include "mbdrop.h" #include "iface.h" // for MBIF_ #define SUPERCLASS //================================================================= // Implementation of CMenuBandDropTarget //========================...
24.34127
92
0.533746
[ "object" ]
6a1382604c020c9d6896c6b3ab840554feefa1be
2,443
cc
C++
leetcode/src/text_justification.cc
plusplus7/solutions
31233c13ee2bd0da6a907a24adbaf5b49ebf843c
[ "CC0-1.0" ]
5
2016-04-29T07:14:23.000Z
2020-01-07T04:56:11.000Z
leetcode/src/text_justification.cc
plusplus7/solutions
31233c13ee2bd0da6a907a24adbaf5b49ebf843c
[ "CC0-1.0" ]
null
null
null
leetcode/src/text_justification.cc
plusplus7/solutions
31233c13ee2bd0da6a907a24adbaf5b49ebf843c
[ "CC0-1.0" ]
1
2016-04-29T07:14:32.000Z
2016-04-29T07:14:32.000Z
#include <iostream> #include <vector> #include <string> using namespace std; class Solution { public: vector<string> fullJustify(vector<string> &words, int L) { vector<string> lv; lv.clear(); vector<string> ans; ans.clear(); int l_cnt = 0; for (int i=0; i<words.siz...
29.083333
67
0.306181
[ "vector" ]
6a1a61f7e3124dd98f728cd34528112a84061a36
1,834
cpp
C++
source/TestHarness/TestProfileLibrary.cpp
easmith14/cse687-group1
48de6502c0bcc76f5269fdab8b8d1f2378f75a1e
[ "MIT" ]
2
2021-04-15T22:57:53.000Z
2021-04-27T02:13:55.000Z
source/TestHarness/TestProfileLibrary.cpp
easmith14/cse687-group1
48de6502c0bcc76f5269fdab8b8d1f2378f75a1e
[ "MIT" ]
null
null
null
source/TestHarness/TestProfileLibrary.cpp
easmith14/cse687-group1
48de6502c0bcc76f5269fdab8b8d1f2378f75a1e
[ "MIT" ]
1
2021-04-15T22:58:35.000Z
2021-04-15T22:58:35.000Z
/* CSE687 - Object Oriented Design Syracuse University /////////////////////////////////////////////////////////// // Final Project by Aaron Mendelsohn, Evan Smith, Stephen Woodward, Mike Rice /////////////////////////////////////////////////////////// 5/13/2021 */ #define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_...
24.453333
87
0.642857
[ "object", "vector" ]
6a1c0111b3575b546d1d4f6dd2d7741809171bab
2,332
hpp
C++
agency/execution/execution_agent/detail/basic_execution_agent.hpp
ccecka/agency
729f5346e842c9cef3ad6f34d18d17a96a001a75
[ "BSD-3-Clause" ]
null
null
null
agency/execution/execution_agent/detail/basic_execution_agent.hpp
ccecka/agency
729f5346e842c9cef3ad6f34d18d17a96a001a75
[ "BSD-3-Clause" ]
null
null
null
agency/execution/execution_agent/detail/basic_execution_agent.hpp
ccecka/agency
729f5346e842c9cef3ad6f34d18d17a96a001a75
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <agency/detail/config.hpp> #include <agency/coordinate/lattice.hpp> #include <agency/detail/index_lexicographical_rank.hpp> #include <agency/execution/execution_agent/execution_agent_traits.hpp> #include <agency/execution/executor/properties/bulk_guarantee.hpp> #include <utility> namespace agen...
20.103448
119
0.660806
[ "shape" ]
6a1e51104f937fb7b2f50c2232b26793aef138b0
3,344
cpp
C++
SpaceShooter/src/Game/UI/Widget.cpp
tomasmartinsantos/SpaceShooter
2d930cd9061ca7dbb8f00386cb26ead902f69eff
[ "Apache-2.0" ]
null
null
null
SpaceShooter/src/Game/UI/Widget.cpp
tomasmartinsantos/SpaceShooter
2d930cd9061ca7dbb8f00386cb26ead902f69eff
[ "Apache-2.0" ]
null
null
null
SpaceShooter/src/Game/UI/Widget.cpp
tomasmartinsantos/SpaceShooter
2d930cd9061ca7dbb8f00386cb26ead902f69eff
[ "Apache-2.0" ]
null
null
null
#include "../../Engine/Audio/Audiosource.h" #include "../Components/CAnimation.h" #include "../../Engine/Renderer.h" #include "../../Engine/Image.h" #include "../../Engine/Math.h" #include "Widget.h" Ptr<Widget> Widget::Create() { Ptr<Widget> p = new Widget(); p->mThis = p; return p; } Ptr<Widget> Widget...
26.125
307
0.619318
[ "render", "transform" ]
6a2421c352255ed61229a477ef3ca72bfb20c5e2
213
hpp
C++
include/PascalTriangle.hpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
include/PascalTriangle.hpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
include/PascalTriangle.hpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#ifndef PASCAL_TRIANGLE_HPP_ #define PASCAL_TRIANGLE_HPP_ #include <vector> using namespace std; class PascalTriangle { public: vector<vector<int>> generate(int numRows); }; #endif // PASCAL_TRIANGLE_HPP_
15.214286
46
0.774648
[ "vector" ]
6a285419f73b87f2be7d2c1c5fd55a54453ab8b5
1,050
cpp
C++
solutions/merge_intervals.cpp
kmykoh97/My-Leetcode
0ffdea16c3025805873aafb6feffacaf3411a258
[ "Apache-2.0" ]
null
null
null
solutions/merge_intervals.cpp
kmykoh97/My-Leetcode
0ffdea16c3025805873aafb6feffacaf3411a258
[ "Apache-2.0" ]
null
null
null
solutions/merge_intervals.cpp
kmykoh97/My-Leetcode
0ffdea16c3025805873aafb6feffacaf3411a258
[ "Apache-2.0" ]
null
null
null
// Given a collection of intervals, merge all overlapping intervals. // Example 1: // Input: [[1,3],[2,6],[8,10],[15,18]] // Output: [[1,6],[8,10],[15,18]] // Explanation: Since intervals [1,3] and [2,6] overlaps, merge them into [1,6]. // Example 2: // Input: [[1,4],[4,5]] // Output: [[1,5]] // Explanation: Interva...
28.378378
126
0.548571
[ "vector" ]
6a295865f52c11789ed963501b86f380783f088d
4,265
cpp
C++
routing/leaps_graph.cpp
vicpopov/omim
664b458998fb0f2405f68ae830c2798e027b2dcc
[ "Apache-2.0" ]
null
null
null
routing/leaps_graph.cpp
vicpopov/omim
664b458998fb0f2405f68ae830c2798e027b2dcc
[ "Apache-2.0" ]
null
null
null
routing/leaps_graph.cpp
vicpopov/omim
664b458998fb0f2405f68ae830c2798e027b2dcc
[ "Apache-2.0" ]
null
null
null
#include "routing/leaps_graph.hpp" #include "base/assert.hpp" #include <set> #include <utility> namespace routing { LeapsGraph::LeapsGraph(IndexGraphStarter & starter, MwmHierarchyHandler && hierarchyHandler) : m_starter(starter), m_hierarchyHandler(std::move(hierarchyHandler)) { m_startPoint = m_starter.GetPoin...
32.067669
100
0.699883
[ "vector" ]
6a2b22b793d0938fa26a86342036679fae14791b
11,925
hpp
C++
Cbc/CoinUtils/src/CoinDenseVector.hpp
fadi-alkhoury/coin-or-cbc-with-cmake
b4a216118d8e773b694b44c5f27cd75a251cc2cb
[ "MIT" ]
null
null
null
Cbc/CoinUtils/src/CoinDenseVector.hpp
fadi-alkhoury/coin-or-cbc-with-cmake
b4a216118d8e773b694b44c5f27cd75a251cc2cb
[ "MIT" ]
null
null
null
Cbc/CoinUtils/src/CoinDenseVector.hpp
fadi-alkhoury/coin-or-cbc-with-cmake
b4a216118d8e773b694b44c5f27cd75a251cc2cb
[ "MIT" ]
null
null
null
/* $Id: CoinDenseVector.hpp 2083 2019-01-06 19:38:09Z unxusr $ */ // Copyright (C) 2003, International Business Machines // Corporation and others. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). #ifndef CoinDenseVector_H #define CoinDenseVector_H #if defined(_MSC_V...
29.664179
79
0.634465
[ "object", "vector" ]
6a31c6de2d5b919febea8c6e9b4a16ce9994a950
5,174
cpp
C++
RobotArm/src/main.cpp
CreateBaseNZ/cb_projects
0b024cdee6bbc90395814b61cdacc415b90fb931
[ "MIT" ]
null
null
null
RobotArm/src/main.cpp
CreateBaseNZ/cb_projects
0b024cdee6bbc90395814b61cdacc415b90fb931
[ "MIT" ]
null
null
null
RobotArm/src/main.cpp
CreateBaseNZ/cb_projects
0b024cdee6bbc90395814b61cdacc415b90fb931
[ "MIT" ]
null
null
null
#include "Arduino.h" #include "RobotArm.h" #include "SoftwareSerial.h" #include "VarSpeedServo.h" #include "Geometry.h" #include "BasicLinearAlgebra.h" float linkLengths[] = {0.05, 0.105, 0.105, 0.045}; RobotArm robotArm(linkLengths); float positions[10][3]; int noOfPositions=-1; // This function coverts a comma separ...
29.231638
164
0.568419
[ "geometry" ]
6a432e4440c401f16eaa62a0565a746756e1e252
27,012
cpp
C++
Engine/Source/Runtime/Landscape/Private/LandscapeLight.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Runtime/Landscape/Private/LandscapeLight.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Runtime/Landscape/Private/LandscapeLight.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. /*============================================================================= LandscapeLight.cpp: Static lighting for LandscapeComponents =============================================================================*/ #include "Landscape.h" #include "Land...
39.034682
222
0.708611
[ "mesh" ]
6a461f38b41d18d0802b77190ca6855da87668dc
3,742
cpp
C++
src/autocoder/CPPGenerator/generate_functions/generate_UserObjects.cpp
JPL-UNLV-CS-2021/qsm
e0b282040edc808bc62b6afe892c5d05adbc02d6
[ "Apache-2.0" ]
null
null
null
src/autocoder/CPPGenerator/generate_functions/generate_UserObjects.cpp
JPL-UNLV-CS-2021/qsm
e0b282040edc808bc62b6afe892c5d05adbc02d6
[ "Apache-2.0" ]
2
2021-05-14T17:26:52.000Z
2021-05-21T03:45:24.000Z
src/autocoder/CPPGenerator/generate_functions/generate_UserObjects.cpp
JPL-UNLV-CS-2021/qsm
e0b282040edc808bc62b6afe892c5d05adbc02d6
[ "Apache-2.0" ]
null
null
null
#include "generate_UserObjects.h" #include <vector> #include <string> using json = nlohmann::json; using namespace std; using std::filesystem::current_path; string cleanBSPCPP(string s); string cleanBSPHPP(string s); void eraseSubStr(std::string& mainStr, const std::string& toErase); void generate_UserObjects(json j) {...
34.018182
105
0.595938
[ "object", "vector" ]
6a4719e5d3920168b572589a7d47de1c8b8a4f88
2,942
cc
C++
gnuradio-3.7.13.4/gr-blocks/lib/multiply_const_vff_impl.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
1
2021-03-09T07:32:37.000Z
2021-03-09T07:32:37.000Z
gnuradio-3.7.13.4/gr-blocks/lib/multiply_const_vff_impl.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
gnuradio-3.7.13.4/gr-blocks/lib/multiply_const_vff_impl.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
/* -*- c++ -*- */ /* * Copyright 2014-2015 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio 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, or (at your o...
30.329897
85
0.64344
[ "vector" ]
6a48a30e8725e0159c831bd20c7f8ebb287b75e9
1,988
hpp
C++
pose_refinement/SA-LMPE/ba/openMVG/numeric/lm.hpp
Aurelio93/satellite-pose-estimation
46957a9bc9f204d468f8fe3150593b3db0f0726a
[ "MIT" ]
90
2019-05-19T03:48:23.000Z
2022-02-02T15:20:49.000Z
pose_refinement/SA-LMPE/ba/openMVG/numeric/lm.hpp
Aurelio93/satellite-pose-estimation
46957a9bc9f204d468f8fe3150593b3db0f0726a
[ "MIT" ]
11
2019-05-22T07:45:46.000Z
2021-05-20T01:48:26.000Z
pose_refinement/SA-LMPE/ba/openMVG/numeric/lm.hpp
Aurelio93/satellite-pose-estimation
46957a9bc9f204d468f8fe3150593b3db0f0726a
[ "MIT" ]
18
2019-05-19T03:48:32.000Z
2021-05-29T18:19:16.000Z
// This file is part of OpenMVG, an Open Multiple View Geometry C++ library. // Copyright (c) 2012, 2013 Pierre MOULON. // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2....
22.850575
83
0.69668
[ "geometry" ]
c69a4ed4e0fcc00aa2cbbb3c2e32ac2323b5893f
389
hpp
C++
gui/src/inspector/materialInspector.hpp
F4r3n/FarenMediaLibrary
3f71054df7178ca79781b101ca2d58cd95a20a43
[ "Apache-2.0" ]
7
2016-09-09T16:43:15.000Z
2021-06-16T22:32:33.000Z
gui/src/inspector/materialInspector.hpp
F4r3n/FarenMediaLibrary
3f71054df7178ca79781b101ca2d58cd95a20a43
[ "Apache-2.0" ]
null
null
null
gui/src/inspector/materialInspector.hpp
F4r3n/FarenMediaLibrary
3f71054df7178ca79781b101ca2d58cd95a20a43
[ "Apache-2.0" ]
1
2020-01-05T19:22:32.000Z
2020-01-05T19:22:32.000Z
#pragma once #include "inspector.hpp" #include "Components/CMaterial.h" #include "macroInspectorHelper.hpp" #include <vector> #include "Rendering/MaterialValue.h" namespace gui { DECLARE_INSPECTOR_CLASS(Material, fmc::CMaterial) private: std::string _ValueTypeToName(fm::ValuesType inValueType); std::vector<const ...
25.933333
58
0.77635
[ "vector" ]
c6a388205d51102a87acc7c9d41f2ed95dae94a1
1,921
cpp
C++
Maths/src/cCRC.cpp
ErrorFlexXx/Clipped
68266f1e418c25a10485ca2b4696bfdaa735ca6f
[ "MIT" ]
null
null
null
Maths/src/cCRC.cpp
ErrorFlexXx/Clipped
68266f1e418c25a10485ca2b4696bfdaa735ca6f
[ "MIT" ]
null
null
null
Maths/src/cCRC.cpp
ErrorFlexXx/Clipped
68266f1e418c25a10485ca2b4696bfdaa735ca6f
[ "MIT" ]
null
null
null
#include "cCRC.h" #include "cFormat.h" #include <ClippedUtils/cLogger.h> using namespace std; using namespace Clipped; template <class T> CRC<T>::CRC(const T generator, const T init, const T finalXOR, const bool reflectInput, const bool reflectResult, const String& name) : init(init) , crc(init) , reflect...
22.08046
133
0.571057
[ "vector" ]
c6a3ef300c92baccfdf1c05342af368f2a0a09fa
748
cpp
C++
1st/find_minimu_in_rotated_sorted_array.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
1st/find_minimu_in_rotated_sorted_array.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
1st/find_minimu_in_rotated_sorted_array.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <vector> using std::vector; using std::endl; using std::cout; class Solution { public: int findMin(vector<int> &num) { vector<int>::size_type left = 0; vector<int>::size_type right = num.size() - 1; vector<int>::size_type mid; do { if (num[l...
21.371429
54
0.501337
[ "vector" ]
c6a420d60ab855f60065b9bc53f8031bf1bfdaf1
7,885
cpp
C++
src/demos/gpu/demo_GPU_mixer.cpp
yangfengzzz/chrono
6abb679feef0e64ae1863268052624c581f876a8
[ "BSD-3-Clause" ]
null
null
null
src/demos/gpu/demo_GPU_mixer.cpp
yangfengzzz/chrono
6abb679feef0e64ae1863268052624c581f876a8
[ "BSD-3-Clause" ]
null
null
null
src/demos/gpu/demo_GPU_mixer.cpp
yangfengzzz/chrono
6abb679feef0e64ae1863268052624c581f876a8
[ "BSD-3-Clause" ]
null
null
null
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2019 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
39.228856
107
0.661256
[ "mesh", "geometry", "render", "vector", "transform" ]
c6a9ede02246aab85a418bbbca52edcba78cb650
3,558
cpp
C++
Samples/XamlContextMenu/cpp/Scenario3.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,504
2019-05-07T06:56:42.000Z
2022-03-31T19:37:59.000Z
Samples/XamlContextMenu/cpp/Scenario3.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
314
2019-05-08T16:56:30.000Z
2022-03-21T07:13:45.000Z
Samples/XamlContextMenu/cpp/Scenario3.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,219
2019-05-07T00:47:26.000Z
2022-03-30T21:12:31.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
38.258065
156
0.672569
[ "object", "model" ]
c6aa39417f0b62e54e8313df7f6ed8d2ef317914
3,132
cc
C++
art/Framework/IO/FileStatsCollector.cc
drbenmorgan/fnal-art
31b8a5c76af364bbbfd8960bc2039b4f3cd47ae3
[ "BSD-3-Clause" ]
null
null
null
art/Framework/IO/FileStatsCollector.cc
drbenmorgan/fnal-art
31b8a5c76af364bbbfd8960bc2039b4f3cd47ae3
[ "BSD-3-Clause" ]
16
2021-11-05T14:29:41.000Z
2022-03-24T15:43:39.000Z
art/Framework/IO/FileStatsCollector.cc
drbenmorgan/fnal-art
31b8a5c76af364bbbfd8960bc2039b4f3cd47ae3
[ "BSD-3-Clause" ]
2
2020-09-26T01:37:11.000Z
2021-05-03T13:02:24.000Z
#include "art/Framework/IO/FileStatsCollector.h" #include "boost/date_time/posix_time/posix_time.hpp" #include "boost/filesystem.hpp" #include <string> using boost::posix_time::ptime; namespace { auto now = boost::posix_time::second_clock::universal_time; } art::FileStatsCollector::FileStatsCollector(std::string c...
24.661417
75
0.692529
[ "vector" ]
c6aea733fe1837a3ce2b5a16691a5a118f450709
5,359
cpp
C++
src/Npfs/UnitTesting/MsgSerDes-Test.cpp
joluxer/NpfsCpp
f19d422b9ab4fa67e35c1e0c29dfa2abc8b0d78f
[ "Zlib" ]
null
null
null
src/Npfs/UnitTesting/MsgSerDes-Test.cpp
joluxer/NpfsCpp
f19d422b9ab4fa67e35c1e0c29dfa2abc8b0d78f
[ "Zlib" ]
null
null
null
src/Npfs/UnitTesting/MsgSerDes-Test.cpp
joluxer/NpfsCpp
f19d422b9ab4fa67e35c1e0c29dfa2abc8b0d78f
[ "Zlib" ]
null
null
null
/* * MsgSerDes-Test.cpp * * Created on: 19.07.2012 * Author: jlode */ #include "tut/tut.h" #include "../MsgBufferSerDes.h" #include "../NpStr.h" #include "HeapMemory.h" namespace tut { struct MsgSerDesTest: public Npfs::MsgBufferSerDes { static const unsigned char testPattern[8]; static const unsign...
30.976879
190
0.672887
[ "object" ]
c6af35bfafd835930dc1d1acb0f3c55cdc7db7a7
933
cpp
C++
matrix/shift2DGrid.cpp
Gooner1886/DSA-101
44092e10ad39bebbf7da93e897927106d5a45ae7
[ "MIT" ]
20
2022-01-04T19:36:14.000Z
2022-03-21T15:35:09.000Z
matrix/shift2DGrid.cpp
Gooner1886/DSA-101
44092e10ad39bebbf7da93e897927106d5a45ae7
[ "MIT" ]
null
null
null
matrix/shift2DGrid.cpp
Gooner1886/DSA-101
44092e10ad39bebbf7da93e897927106d5a45ae7
[ "MIT" ]
null
null
null
// Leetcode - 1260 - Shift 2D Grid void rev(vector<int> &nums, int start, int end) { while (start < end) { int temp = nums[start]; nums[start] = nums[end]; nums[end] = temp; start++; end--; } } vector<vector<int>> shiftGrid(vector<vector<int>> &grid, int k) { vec...
22.214286
63
0.436227
[ "vector" ]
c6bb97c4b6ef9adcc305eacdde9fe076d058bcdf
2,775
cpp
C++
graphics/src/models/Circle.cpp
brockyates/learning-opengl
ec229ad319b7dc32cb57f50b410d66386530b1a4
[ "MIT" ]
null
null
null
graphics/src/models/Circle.cpp
brockyates/learning-opengl
ec229ad319b7dc32cb57f50b410d66386530b1a4
[ "MIT" ]
null
null
null
graphics/src/models/Circle.cpp
brockyates/learning-opengl
ec229ad319b7dc32cb57f50b410d66386530b1a4
[ "MIT" ]
null
null
null
#include "pch.h" #include "Circle.h" #include "helpers/GlobalMacros.h" #include "types/Vertex1.h" #include <glm/gtc/matrix_transform.hpp> #include <sstream> namespace { int ValidateVertexCount(const int vertexCount) { if(vertexCount < 4) { std::stringstream ss; ss <<...
28.316327
140
0.598198
[ "vector", "model", "transform" ]