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
de6b5ce8e6a9acb4b25d367a376be02b46be8882
6,364
cpp
C++
PluginSDK/BasicRecon/Nlmeans.cpp
yangshadip/YAP-SELF
c715baa61c9504304629f28c05fd0f70b629f32a
[ "MIT" ]
null
null
null
PluginSDK/BasicRecon/Nlmeans.cpp
yangshadip/YAP-SELF
c715baa61c9504304629f28c05fd0f70b629f32a
[ "MIT" ]
null
null
null
PluginSDK/BasicRecon/Nlmeans.cpp
yangshadip/YAP-SELF
c715baa61c9504304629f28c05fd0f70b629f32a
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Nlmeans.h" #include "Client/DataHelper.h" #include "Implement/DataObject.h" #include "Implement/LogUserImpl.h" using namespace std; using namespace Yap; using namespace arma; Nlmeans::Nlmeans(void): ProcessorImpl(L"Nlmeans") { LOG_TRACE(L"Nlmeans constructor called.", L"BasicRecon"); ...
23.057971
109
0.588152
[ "vector" ]
de758f3407c68391cffd67dfa074b4bfa42c0f57
13,403
cc
C++
predict/src/tensor.cc
unseenme/mindspore
4ba052f0cd9146ac0ccc4880a778706f1b2d0af8
[ "Apache-2.0" ]
7
2020-05-24T03:19:26.000Z
2020-05-24T03:20:00.000Z
predict/src/tensor.cc
liyong126/mindspore
930a1fb0a8fa9432025442c4f4732058bb7af592
[ "Apache-2.0" ]
7
2020-03-30T08:31:56.000Z
2020-04-01T09:54:39.000Z
predict/src/tensor.cc
liyong126/mindspore
930a1fb0a8fa9432025442c4f4732058bb7af592
[ "Apache-2.0" ]
1
2020-03-30T17:07:43.000Z
2020-03-30T17:07:43.000Z
/** * Copyright 2019 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...
25.874517
119
0.625308
[ "shape", "vector" ]
de7c0260080278b83852dee7d4d29bfbbc459648
1,388
cpp
C++
Level-1/18. Graphs/Is-Graph-Cyclic.cpp
anubhvshrma18/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
22
2021-06-02T04:25:55.000Z
2022-01-30T06:25:07.000Z
Level-1/18. Graphs/Is-Graph-Cyclic.cpp
amitdubey6261/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
2
2021-10-17T19:26:10.000Z
2022-01-14T18:18:12.000Z
Level-1/18. Graphs/Is-Graph-Cyclic.cpp
amitdubey6261/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
8
2021-07-21T09:55:15.000Z
2022-01-31T10:32:51.000Z
#include<bits/stdc++.h> using namespace std; struct Edge{ int src; int nbr; int wt; // Edge(){ // // } Edge(int src,int nbr,int wt){ this->src=src; this->nbr=nbr; this->wt=wt; } }; //BFS wala bool isComponentCyclic(vector<vector<Edge*>> &graph,int src,vector<bool> &vi...
19.549296
79
0.466859
[ "vector" ]
de87c4d014eec105bad1f8236420643d80034e82
6,843
cpp
C++
Dino's_Journey/Motor2D/j1Collisions.cpp
vlaad96/Vlowup
574310bae3d0d1695ac011b6e77459287a0aef32
[ "MIT" ]
null
null
null
Dino's_Journey/Motor2D/j1Collisions.cpp
vlaad96/Vlowup
574310bae3d0d1695ac011b6e77459287a0aef32
[ "MIT" ]
null
null
null
Dino's_Journey/Motor2D/j1Collisions.cpp
vlaad96/Vlowup
574310bae3d0d1695ac011b6e77459287a0aef32
[ "MIT" ]
null
null
null
#include "j1Collisions.h" #include "j1App.h" #include "j1Input.h" #include "j1Render.h" #include "p2Log.h" #include "j1Window.h" #include "j1Map.h" #include "j1Entities.h" #include "Player.h" j1Collisions::j1Collisions() { for (uint i = 0; i < MAX_COLLIDERS; ++i) { colliders[i] = nullptr; } name.create("Colli...
22.734219
210
0.659214
[ "render" ]
de88fab59ab30570dc03604092645e075a3fc1b4
9,284
hpp
C++
engine/alice/node.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
1
2020-04-14T13:55:16.000Z
2020-04-14T13:55:16.000Z
engine/alice/node.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
4
2020-09-25T22:34:29.000Z
2022-02-09T23:45:12.000Z
engine/alice/node.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
1
2020-07-02T11:51:17.000Z
2020-07-02T11:51:17.000Z
/* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
33.039146
100
0.70433
[ "vector" ]
de985233653994f41cc7b8c62c2a13645af2d584
14,418
cpp
C++
ext/emsdk_portable/clang/tag-e1.34.1/src/lib/Transforms/NaCl/BackendCanonicalize.cpp
slightperturbation/Cobalt
7b398d155d28f7ddf4068a6c25c8aa6aaae486d4
[ "Apache-2.0" ]
null
null
null
ext/emsdk_portable/clang/tag-e1.34.1/src/lib/Transforms/NaCl/BackendCanonicalize.cpp
slightperturbation/Cobalt
7b398d155d28f7ddf4068a6c25c8aa6aaae486d4
[ "Apache-2.0" ]
null
null
null
ext/emsdk_portable/clang/tag-e1.34.1/src/lib/Transforms/NaCl/BackendCanonicalize.cpp
slightperturbation/Cobalt
7b398d155d28f7ddf4068a6c25c8aa6aaae486d4
[ "Apache-2.0" ]
null
null
null
//===- BackendCanonicalize.cpp --------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
39.939058
80
0.632127
[ "vector" ]
de9bf722624b4f5993953d109928731a73914e7a
26,015
cpp
C++
boost/numeric/mtl/interface/vpt.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
24
2019-03-26T15:25:45.000Z
2022-03-26T10:00:45.000Z
boost/numeric/mtl/interface/vpt.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
2
2020-04-17T12:35:32.000Z
2021-03-03T15:46:25.000Z
boost/numeric/mtl/interface/vpt.cpp
lit-uriy/mtl4-mirror
37cf7c2847165d3537cbc3400cb5fde6f80e3d8b
[ "MTLL" ]
10
2019-12-01T13:40:30.000Z
2022-01-14T08:39:54.000Z
#include <boost/numeric/mtl/interface/vpt.hpp> #ifdef MTL_HAS_VPT namespace mtl { /// Namespace for Vampir Trace interface namespace vpt { // Categories: // Utilities + very small functions: 0000 // Static size operations: 1000 // Vector operations: 2000 // Matrix Vector & single matrix:...
58.592342
101
0.731501
[ "vector" ]
de9d866c14ccc4df62dd47b58b66c67da75f8f8c
1,296
cpp
C++
Algorithms/SubMatrixSum.cpp
RawRapter/CPlusPlus-Codes
5c88fa6aaee47f6414fdfaafe8274522cb227605
[ "MIT" ]
null
null
null
Algorithms/SubMatrixSum.cpp
RawRapter/CPlusPlus-Codes
5c88fa6aaee47f6414fdfaafe8274522cb227605
[ "MIT" ]
null
null
null
Algorithms/SubMatrixSum.cpp
RawRapter/CPlusPlus-Codes
5c88fa6aaee47f6414fdfaafe8274522cb227605
[ "MIT" ]
null
null
null
/* Submatrix Sum: Given a matrix MxN there are large number of queries to find subqueries sum. Input to Queries are left top and right bottom indexes of submatrix is to find out. Will use 2 D vector way */ #include<bits/stdc++.h> using namespace std; int sum(vector<vector<int>> v, int sr, int sc, int er, int ec){ ...
23.563636
93
0.536265
[ "vector" ]
de9fd7196b8e3139f7fb9a0a6daf2d646089d9a0
10,752
cpp
C++
src/game/KesslerSyndrome/elements/CloudLayerParticleSystem.cpp
ShamylZakariya/KesslerSyndrome
dce00108304fe2c1b528515dafc29c15011d4679
[ "MIT" ]
null
null
null
src/game/KesslerSyndrome/elements/CloudLayerParticleSystem.cpp
ShamylZakariya/KesslerSyndrome
dce00108304fe2c1b528515dafc29c15011d4679
[ "MIT" ]
null
null
null
src/game/KesslerSyndrome/elements/CloudLayerParticleSystem.cpp
ShamylZakariya/KesslerSyndrome
dce00108304fe2c1b528515dafc29c15011d4679
[ "MIT" ]
null
null
null
// // CloudLayerParticleSystem.cpp // Kessler Syndrome // // Created by Shamyl Zakariya on 10/18/17. // #include "game/KesslerSyndrome/elements/CloudLayerParticleSystem.hpp" #include "core/util/GlslProgLoader.hpp" #include "core/filters/Filters.hpp" using namespace core; using namespace elements; namespace game...
38.263345
138
0.635975
[ "object", "vector" ]
dea021e7639aa4193af77cd54d9fc397268488c2
974
cpp
C++
Codeforces/106B - Choosing Laptop.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/106B - Choosing Laptop.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/106B - Choosing Laptop.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct info { int speed, ram, hdd, cost; }; int main() { ios::sync_with_stdio(false); int n; cin >> n; vector<info> arr(n); vector<bool> marks(n, false); for (auto &el: arr) cin >> el.speed >> el.ram >> el.hdd >> el.cost; for (int i = 0; i <...
24.35
85
0.428131
[ "vector" ]
dea28d8ac9d8415c9c5de1fd050a37ad8de2b23e
1,530
cpp
C++
day16a.cpp
henbr/aoc2019
30f6ff902c5c48536db188bac1516df5dff2cb48
[ "MIT" ]
null
null
null
day16a.cpp
henbr/aoc2019
30f6ff902c5c48536db188bac1516df5dff2cb48
[ "MIT" ]
null
null
null
day16a.cpp
henbr/aoc2019
30f6ff902c5c48536db188bac1516df5dff2cb48
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <array> #include <math.h> using namespace std; static array<int, 4> pattern = {{0, 1, 0, -1}}; static string input = "5979067790332293069735877097945699671297385945170972051507448714124650741959003959832973561190975452668127908709132124188953756996521...
31.875
675
0.731373
[ "vector" ]
deab39f40747ee90fc3540d8ccbb01ca76f4055a
2,160
cpp
C++
effect_score_floater.cpp
darkoppressor/huberts-island-adventure-mouse-o-war
9ff8d9e2c2b388bf762a0e463238794fb0233df8
[ "MIT" ]
null
null
null
effect_score_floater.cpp
darkoppressor/huberts-island-adventure-mouse-o-war
9ff8d9e2c2b388bf762a0e463238794fb0233df8
[ "MIT" ]
null
null
null
effect_score_floater.cpp
darkoppressor/huberts-island-adventure-mouse-o-war
9ff8d9e2c2b388bf762a0e463238794fb0233df8
[ "MIT" ]
null
null
null
/* Copyright (c) 2012-2013 Cheese and Bacon Games, LLC */ /* See the file docs/COPYING.txt for copying permission. */ #include "effect_score_floater.h" #include "render.h" #include "mirror.h" #include "world.h" #include "random_number_generator.h" #include "holidays.h" using namespace std; Effect_Score_Floater::Effe...
24.545455
174
0.589352
[ "render" ]
deab9d75e873b2147651ea109d9bd9c538e313d4
2,726
cpp
C++
test/source/mazegenerator/Cell.cpp
danielplawrence/MazeGeneration
d9d0e878c94226aa379e6ee2a2681f1c99b2f792
[ "Unlicense" ]
null
null
null
test/source/mazegenerator/Cell.cpp
danielplawrence/MazeGeneration
d9d0e878c94226aa379e6ee2a2681f1c99b2f792
[ "Unlicense" ]
null
null
null
test/source/mazegenerator/Cell.cpp
danielplawrence/MazeGeneration
d9d0e878c94226aa379e6ee2a2681f1c99b2f792
[ "Unlicense" ]
null
null
null
#include <doctest/doctest.h> #include <mazegenerator/Cell.h> #include <mazegenerator/Distances.h> #include <algorithm> #include <vector> TEST_CASE("Cell") { SUBCASE("A cell has a location") { auto cell1 = Cell::create(0, 0); std::pair<int, int> expectedLocation = {0, 0}; CHECK(cell1->getLocation() == ex...
33.243902
69
0.632428
[ "vector" ]
deac4e2f1b0bcf642f6854539ec1988e0699b25e
4,701
cxx
C++
src/gadget/main_maxpool_image.cxx
lejeunel/glia
24b763a230627951139010cd07b0d0ff2356a365
[ "MIT" ]
11
2016-08-16T02:26:31.000Z
2021-08-25T06:51:47.000Z
src/gadget/main_maxpool_image.cxx
lejeunel/glia
24b763a230627951139010cd07b0d0ff2356a365
[ "MIT" ]
3
2017-05-26T15:33:42.000Z
2018-04-27T12:12:24.000Z
src/gadget/main_maxpool_image.cxx
lejeunel/glia
24b763a230627951139010cd07b0d0ff2356a365
[ "MIT" ]
9
2016-07-25T08:28:12.000Z
2021-03-17T15:02:41.000Z
#include "util/image_io.hxx" #include "util/text_cmd.hxx" using namespace glia; bool operation (std::string const& outputImageFile, std::string const& inputImageFile, std::vector<Int> const& skipDims, int n, bool compress) { std::unordered_set<Int> sd; for (auto d: skipDims) { sd.in...
35.613636
76
0.599234
[ "vector" ]
deacdabacda849211f29f9f87aeea27222c2ce21
10,359
cpp
C++
source/backend/cpu/x86_x64/AVX2Backend.cpp
foreverlms/MNN
8f9d3e3331fb54382bb61ac3a2087637a161fec5
[ "Apache-2.0" ]
null
null
null
source/backend/cpu/x86_x64/AVX2Backend.cpp
foreverlms/MNN
8f9d3e3331fb54382bb61ac3a2087637a161fec5
[ "Apache-2.0" ]
null
null
null
source/backend/cpu/x86_x64/AVX2Backend.cpp
foreverlms/MNN
8f9d3e3331fb54382bb61ac3a2087637a161fec5
[ "Apache-2.0" ]
null
null
null
// // AVX2Backend.cpp // MNN // // Created by MNN on 2021/05/16. // Copyright © 2018, Alibaba Group Holding Limited // #include <algorithm> #if defined(_MSC_VER) #include <intrin.h> #else #include <x86intrin.h> #endif #include "AVX2Functions.hpp" #include "AVX2Backend.hpp" #include "core/BufferAllocator.hpp" #inc...
33.201923
153
0.549184
[ "shape", "vector" ]
deb0476295ea05f9b2d8ad7e2fae311e76cdb72e
2,195
cpp
C++
src/Vulkan/DebugMessenger.cpp
nishidate-yuki/vkray
604714f09f9cf5b140c02ef04ce081e36387c763
[ "MIT" ]
9
2021-01-18T12:46:41.000Z
2021-01-20T08:16:11.000Z
src/Vulkan/DebugMessenger.cpp
nishidate-yuki/vkray
604714f09f9cf5b140c02ef04ce081e36387c763
[ "MIT" ]
null
null
null
src/Vulkan/DebugMessenger.cpp
nishidate-yuki/vkray
604714f09f9cf5b140c02ef04ce081e36387c763
[ "MIT" ]
1
2021-01-20T00:54:23.000Z
2021-01-20T00:54:23.000Z
#include "vktiny/Vulkan/DebugMessenger.hpp" #include "vktiny/Log.hpp" #include <iostream> #include <sstream> VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback( VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageTypes, VkDebugUtilsMessengerCallbackDataEXT...
31.357143
91
0.656948
[ "object" ]
deb24106eb8aa7e37bb32bf126668db33f452436
246
cpp
C++
docs/mfc/codesnippet/CPP/diagnostic-services_19.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
965
2017-06-25T23:57:11.000Z
2022-03-31T14:17:32.000Z
docs/mfc/codesnippet/CPP/diagnostic-services_19.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
3,272
2017-06-24T00:26:34.000Z
2022-03-31T22:14:07.000Z
docs/mfc/codesnippet/CPP/diagnostic-services_19.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
951
2017-06-25T12:36:14.000Z
2022-03-26T22:49:06.000Z
#ifdef _DEBUG //AfxDoForAllObjects will call the function DoForAllObjects //For each CObject-derived object that is allocated on the heap int nCount = 0; AfxDoForAllObjects(DoForAllObjects, &nCount); TRACE("%d Objects Checked\n", nCount); #endif
35.142857
63
0.792683
[ "object" ]
630e39a7c82553074ecf04c7aa428d01f802b45d
16,144
cpp
C++
kdrive/src/knx/datapoint/Datapoint.cpp
weinzierl-engineering/baos
306acc8e86da774fdeecec042dcf99734677fdc0
[ "MIT" ]
34
2015-09-16T10:10:14.000Z
2022-02-19T16:11:04.000Z
kdrive/src/knx/datapoint/Datapoint.cpp
weinzierl-engineering/baos
306acc8e86da774fdeecec042dcf99734677fdc0
[ "MIT" ]
17
2017-01-02T15:26:19.000Z
2022-01-20T01:27:24.000Z
kdrive/src/knx/datapoint/Datapoint.cpp
weinzierl-engineering/baos
306acc8e86da774fdeecec042dcf99734677fdc0
[ "MIT" ]
20
2016-12-12T22:18:08.000Z
2022-03-15T16:20:20.000Z
#include "pch/kdrive_pch.h" #include "kdrive/knx/datapoint/Datapoint.h" #include "kdrive/knx/datapoint/FloatConverter.h" #include "kdrive/knx/core/ByteStream.h" #include <Poco/Exception.h> #include <Poco/DateTime.h> #include <Poco/LocalDateTime.h> #include <boost/assert.hpp> using namespace kdrive::knx;using ...
75.439252
147
0.771184
[ "vector" ]
631a2d835f797ba0b1bf7cd869399fff896dec36
15,260
hpp
C++
include/camp/detail/functionimpl.hpp
16tons/camp
3edae6d6a06036bac5faf4e7b9e7b5dd8e463af8
[ "MIT" ]
1
2018-08-07T22:32:55.000Z
2018-08-07T22:32:55.000Z
include/camp/detail/functionimpl.hpp
16tons/camp
3edae6d6a06036bac5faf4e7b9e7b5dd8e463af8
[ "MIT" ]
null
null
null
include/camp/detail/functionimpl.hpp
16tons/camp
3edae6d6a06036bac5faf4e7b9e7b5dd8e463af8
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2009-2014 TEGESO/TEGESOFT and/or its subsidiary(-ies) and mother company. ** Contact: Tegesoft Information (contact@tegesoft.com) ** ** This file is part of the CAMP library. ** ** The MIT License (MIT) ** ** Copyright (C)...
29.459459
122
0.596789
[ "object" ]
631cabb217e13957017f83f0ffd99f2e9b6cf737
11,087
cpp
C++
mpc/kmpc_casadi/casadi_windows/include/casadi/core/convexify.cpp
se-hwan/MIT_Driverless
7674b29887ba518c134cfba805432f9c98f92270
[ "MIT" ]
1
2021-11-18T04:28:52.000Z
2021-11-18T04:28:52.000Z
mpc/kmpc_casadi/casadi_windows/include/casadi/core/convexify.cpp
se-hwan/MIT_Driverless
7674b29887ba518c134cfba805432f9c98f92270
[ "MIT" ]
null
null
null
mpc/kmpc_casadi/casadi_windows/include/casadi/core/convexify.cpp
se-hwan/MIT_Driverless
7674b29887ba518c134cfba805432f9c98f92270
[ "MIT" ]
1
2022-03-29T10:32:43.000Z
2022-03-29T10:32:43.000Z
/* * This file is part of CasADi. * * CasADi -- A symbolic framework for dynamic optimization. * Copyright (C) 2010-2014 Joel Andersson, Joris Gillis, Moritz Diehl, * K.U. Leuven. All rights reserved. * Copyright (C) 2011-2014 Greg Horn * * CasADi is free software; you ...
37.710884
98
0.637864
[ "vector" ]
6325c4cc07c24f84b6fab9ae06e6c4ea1997ee4c
75,258
cpp
C++
test/main.cpp
SuReLI/naibx-mlc
89839d475d134bdf9e8628aa8ccb4bcaec7bdaf1
[ "MIT" ]
null
null
null
test/main.cpp
SuReLI/naibx-mlc
89839d475d134bdf9e8628aa8ccb4bcaec7bdaf1
[ "MIT" ]
null
null
null
test/main.cpp
SuReLI/naibx-mlc
89839d475d134bdf9e8628aa8ccb4bcaec7bdaf1
[ "MIT" ]
null
null
null
/**@file: main.cpp * * @author Luca Mossina * * kfold, STARTED: 22 aug 2016 */ #include <iostream> // std::cin, std::cout #include <vector> #include <string> // std:string, std::stod, std::stoi #include <algorithm> // std::max_element #include <cstring> // #include <cstdlib> ...
43.93345
133
0.478195
[ "vector", "model" ]
632c616262fd059dd56e3d0e13f06be6df5d0087
1,278
cpp
C++
main.cpp
pLesur/Mediadexer
853df81d84ea70c6f79f82a6fa8c987760c118fb
[ "Apache-2.0" ]
null
null
null
main.cpp
pLesur/Mediadexer
853df81d84ea70c6f79f82a6fa8c987760c118fb
[ "Apache-2.0" ]
null
null
null
main.cpp
pLesur/Mediadexer
853df81d84ea70c6f79f82a6fa8c987760c118fb
[ "Apache-2.0" ]
null
null
null
#include <QGuiApplication> #include <QQmlApplicationEngine> #include <QQuickItem> #include <QQuickView> #include <memory> #include <qqmlcontext.h> #include "controllers/categorycontroller.h" #include "controllers/searchcontroller.h" #include "controllers/tabmanager.h" #include "entities/category.h" #include "entities/...
33.631579
80
0.751174
[ "model" ]
632d208915a8032b7aaf2634a12343a64dcd0de2
7,547
cpp
C++
mainwindow.cpp
GabiAndi/WOL
247b8575e04cc859c91f04c3c485329535c20e47
[ "MIT" ]
null
null
null
mainwindow.cpp
GabiAndi/WOL
247b8575e04cc859c91f04c3c485329535c20e47
[ "MIT" ]
null
null
null
mainwindow.cpp
GabiAndi/WOL
247b8575e04cc859c91f04c3c485329535c20e47
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); // Captura de las interfacez de red getInterfaces(); // Se cargan los equipos guardados readJsonData(); } MainWin...
27.245487
127
0.591096
[ "object" ]
633804648473bd5c81532c2285ced2951ae1f4fd
73,892
cpp
C++
SurfaceReconstruction/SurfaceReconstruction/Geometry/FlexibleMesh.cpp
pavelsevecek/TSR
ca411dedf178e5830f0536e361136f1e16751bc8
[ "BSD-3-Clause" ]
102
2017-10-17T10:10:59.000Z
2022-01-19T02:10:29.000Z
SurfaceReconstruction/SurfaceReconstruction/Geometry/FlexibleMesh.cpp
pavelsevecek/TSR
ca411dedf178e5830f0536e361136f1e16751bc8
[ "BSD-3-Clause" ]
2
2019-12-21T11:59:15.000Z
2020-09-08T11:38:36.000Z
SurfaceReconstruction/SurfaceReconstruction/Geometry/FlexibleMesh.cpp
pavelsevecek/TSR
ca411dedf178e5830f0536e361136f1e16751bc8
[ "BSD-3-Clause" ]
27
2017-10-18T09:37:34.000Z
2022-03-22T01:30:51.000Z
/* * Copyright (C) 2018 by Author: Aroudj, Samir * TU Darmstadt - Graphics, Capture and Massively Parallel Computing * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-Clause license. See the License.txt file for details. */ #include "Math/MathHelper.h" #incl...
33.587273
180
0.733571
[ "mesh", "geometry", "object", "vector" ]
633d768c633e58e1e723aac7f32ed72e3d49b138
3,767
cpp
C++
testMain.cpp
Ellie-42/FlaxCoin-Core
2d93dd8a73e46bf562356e526ca79da7dc7ffc37
[ "MIT" ]
null
null
null
testMain.cpp
Ellie-42/FlaxCoin-Core
2d93dd8a73e46bf562356e526ca79da7dc7ffc37
[ "MIT" ]
null
null
null
testMain.cpp
Ellie-42/FlaxCoin-Core
2d93dd8a73e46bf562356e526ca79da7dc7ffc37
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include "blockChain.h" #include <json/json.h> #include <chrono> #include "wallet.h" #include "block.h" int main() { std::cout<<"Compiled!"<<std::endl; blockChain testNet; std::shared_ptr<block> genBlockTest = testNet.getBlockAtIndex(0); std::cout<<"Genesis Blo...
33.04386
285
0.637112
[ "vector" ]
634211e228e46bcc30cd4878383f3298439c9da6
46,436
cpp
C++
src/common/wfsadecoder/ActiveStateTable.cpp
atk-/bavieca-0014
031216739b4800285af717f22f44ecda54675139
[ "Apache-2.0" ]
null
null
null
src/common/wfsadecoder/ActiveStateTable.cpp
atk-/bavieca-0014
031216739b4800285af717f22f44ecda54675139
[ "Apache-2.0" ]
null
null
null
src/common/wfsadecoder/ActiveStateTable.cpp
atk-/bavieca-0014
031216739b4800285af717f22f44ecda54675139
[ "Apache-2.0" ]
null
null
null
/*---------------------------------------------------------------------------------------------* * Copyright (C) 2012 Daniel Bolaños - www.bltek.com - Boulder Language Technologies * * * * www.bavieca.org is the web...
36.477612
256
0.684598
[ "object", "vector", "3d" ]
6342a8b7966b417e80e5ffa56ae616bfcbecfaef
5,090
cpp
C++
addons/ofxIO/libs/ofxIO/src/ByteBuffer.cpp
MartinHN/openFrameworks
14d17cd9589be0139de17bc6a11110439d86a4b1
[ "MIT" ]
null
null
null
addons/ofxIO/libs/ofxIO/src/ByteBuffer.cpp
MartinHN/openFrameworks
14d17cd9589be0139de17bc6a11110439d86a4b1
[ "MIT" ]
null
null
null
addons/ofxIO/libs/ofxIO/src/ByteBuffer.cpp
MartinHN/openFrameworks
14d17cd9589be0139de17bc6a11110439d86a4b1
[ "MIT" ]
null
null
null
// ============================================================================= // // Copyright (c) 2013 Christopher Baker <http://christopherbaker.net> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal //...
19.207547
80
0.651866
[ "vector" ]
63433b696e32a0f5a8020038c03b0101ae4d7ce8
3,572
cpp
C++
GIDI/Src/GIDI_grid.cpp
Mathnerd314/gidiplus
ed4c48ab399a964fe782f73d0a065849b00090bb
[ "MIT-0", "MIT" ]
null
null
null
GIDI/Src/GIDI_grid.cpp
Mathnerd314/gidiplus
ed4c48ab399a964fe782f73d0a065849b00090bb
[ "MIT-0", "MIT" ]
null
null
null
GIDI/Src/GIDI_grid.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 "GIDI.hpp" #include <HAPI.hpp> namespace GIDI { /*! \class Grid * Class to store a **GNDS grid** node. */ /* ****...
42.52381
144
0.533315
[ "vector" ]
6348236a69c98ab1e4c651aee56d15528adb6948
1,350
cpp
C++
Lorenz/Analysis/Stats.cpp
GEslinger/PhysClass
5e34167c34ca0e8779e4002063d95ffa24a24c9d
[ "BSD-2-Clause" ]
null
null
null
Lorenz/Analysis/Stats.cpp
GEslinger/PhysClass
5e34167c34ca0e8779e4002063d95ffa24a24c9d
[ "BSD-2-Clause" ]
null
null
null
Lorenz/Analysis/Stats.cpp
GEslinger/PhysClass
5e34167c34ca0e8779e4002063d95ffa24a24c9d
[ "BSD-2-Clause" ]
null
null
null
#include <vector> #include <cmath> #include <utility> #include <iostream> using namespace std; // Functions for analyzing the error and creating the log-log plot! double getAvg(vector<double> v){ // Get the arithmetic mean of a data set double sum = 0; for(int i = 0; i < v.size(); i++){ // Iterate through data su...
29.347826
136
0.663704
[ "vector" ]
63525bebd6d8fdf34435c2af595425da3334d372
24,077
cpp
C++
LibUIDK/tvmem.cpp
swjsky/sktminest
42fa47d9ffb0f50a5727e42811e949fff920bec9
[ "MIT" ]
3
2019-12-03T09:04:04.000Z
2021-01-29T02:03:30.000Z
LibUIDK/tvmem.cpp
swjsky/sktminest
42fa47d9ffb0f50a5727e42811e949fff920bec9
[ "MIT" ]
null
null
null
LibUIDK/tvmem.cpp
swjsky/sktminest
42fa47d9ffb0f50a5727e42811e949fff920bec9
[ "MIT" ]
2
2020-06-12T04:30:31.000Z
2020-11-25T13:23:03.000Z
#include "StdAfx.h" #include "treeview.h" #if defined(MAINWIN) #include <mainwin.h> #endif void TV_ScrollItems(PTREE pTree, int nItems, int iTopShownIndex, BOOL fDown); // in: // hItem item to delete // flags controls how/what to delete // TVDI_NORMAL delete this no...
24.51833
128
0.61702
[ "3d" ]
63568a0fb4d1b7c466aafa86de2c4ae962b570fa
6,552
cpp
C++
src/libs/JustFastUi/JustFastUi.cpp
Daniel-Boll/just-fast
a45c4b22553ab00a7f918bd93ec73373185ef1c2
[ "MIT" ]
19
2020-05-01T16:08:34.000Z
2022-03-22T09:14:10.000Z
src/libs/JustFastUi/JustFastUi.cpp
Daniel-Boll/just-fast
a45c4b22553ab00a7f918bd93ec73373185ef1c2
[ "MIT" ]
10
2020-05-01T17:08:27.000Z
2021-11-23T10:24:59.000Z
src/libs/JustFastUi/JustFastUi.cpp
Daniel-Boll/just-fast
a45c4b22553ab00a7f918bd93ec73373185ef1c2
[ "MIT" ]
6
2020-04-26T10:11:09.000Z
2022-02-04T10:12:13.000Z
#include "JustFastUi.h" #include <codecvt> #include <ftxui/component/event.hpp> #include <ftxui/screen/string.hpp> #include <string> #include <utility> void JustFastUi::setQuitFunction(std::function<void()> q) { quit = std::move(q); } JustFastUi::JustFastUi(const JustFastOptions& options) : statusMessage(L"")...
28
127
0.637973
[ "render" ]
635bece3e8f10d5372d6d59f9079b880b5ba4bf7
120,328
cc
C++
chrome/browser/ui/views/omnibox/omnibox_view_views.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chrome/browser/ui/views/omnibox/omnibox_view_views.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/browser/ui/views/omnibox/omnibox_view_views.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright (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 "chrome/browser/ui/views/omnibox/omnibox_view_views.h" #include <memory> #include <set> #include <utility> #include "base/auto_reset.h" #in...
41.180014
80
0.715586
[ "geometry", "vector", "model" ]
636bf82db0aec6a2ef9118b8f72bbdcd076c2570
8,483
cpp
C++
xsettlers/logic/playfield.cpp
Skarmux/X-Settlers
9a27ef2fac99e4efa2e169f085206aaebd2ecbf7
[ "Apache-2.0" ]
8
2020-07-29T20:45:26.000Z
2021-08-22T02:34:40.000Z
xsettlers/logic/playfield.cpp
PaweX/X-Settlers
9a27ef2fac99e4efa2e169f085206aaebd2ecbf7
[ "Apache-2.0" ]
null
null
null
xsettlers/logic/playfield.cpp
PaweX/X-Settlers
9a27ef2fac99e4efa2e169f085206aaebd2ecbf7
[ "Apache-2.0" ]
3
2020-08-16T16:17:18.000Z
2022-03-29T10:17:47.000Z
//#include "Playfield.h" // //PlayField::PlayField(const std::string& map_filepath) { // loadMapFile(map_filepath); //} // //PlayField::PlayField(uint32_t width, uint32_t height) // : m_width(width), m_height(height) //{ // m_walkable_mask = std::vector<std::vector<bool>>(width); // m_movables = std::vector<std::vector...
32.501916
136
0.60132
[ "vector" ]
6372a621b205e72be4893a41d3b04865ab2e0918
3,441
cpp
C++
src/Codecs/DataSource.cpp
divyang4481/quickfast
339c78e96a1f63b74c139afa1a3c9a07afff7b5f
[ "BSD-3-Clause" ]
198
2015-04-26T08:06:18.000Z
2022-03-13T01:31:50.000Z
src/Codecs/DataSource.cpp
divyang4481/quickfast
339c78e96a1f63b74c139afa1a3c9a07afff7b5f
[ "BSD-3-Clause" ]
15
2015-07-07T19:47:08.000Z
2022-02-04T05:56:51.000Z
src/Codecs/DataSource.cpp
divyang4481/quickfast
339c78e96a1f63b74c139afa1a3c9a07afff7b5f
[ "BSD-3-Clause" ]
96
2015-04-24T15:19:43.000Z
2022-03-28T13:15:11.000Z
// Copyright (c) 2009, Object Computing, Inc. // All rights reserved. // See the file license.txt for licensing information. #include <Common/QuickFASTPch.h> #include "DataSource.h" #include <Common/Exceptions.h> using namespace QuickFAST; using namespace Codecs; DataSource::DataSource() : buffer_(0) , size_(0) , posi...
20.728916
125
0.514095
[ "object" ]
6375d9c06933db62e0b719765fe7d1d08c5f144b
8,564
cc
C++
src/ledger/bin/p2p_provider/impl/p2p_provider_impl_unittest.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
3
2020-08-02T04:46:18.000Z
2020-08-07T10:10:53.000Z
src/ledger/bin/p2p_provider/impl/p2p_provider_impl_unittest.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
null
null
null
src/ledger/bin/p2p_provider/impl/p2p_provider_impl_unittest.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
1
2020-08-07T10:11:49.000Z
2020-08-07T10:11:49.000Z
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/ledger/bin/p2p_provider/impl/p2p_provider_impl.h" #include <fuchsia/overnet/cpp/fidl.h> #include <lib/fidl/cpp/binding.h> #include <lib/fit/...
33.584314
99
0.739724
[ "vector" ]
6376cf00cf2a3eb0634228f34721319dcf4e439b
1,199
cpp
C++
high-can-binding/high-viwi-binding-hat.cpp
rm-medina/high-level-viwi-service
66abc905889c96e77a570d22551749354e352789
[ "Apache-2.0" ]
9
2017-06-05T19:37:24.000Z
2019-12-30T19:20:22.000Z
high-can-binding/high-viwi-binding-hat.cpp
rm-medina/high-level-viwi-service
66abc905889c96e77a570d22551749354e352789
[ "Apache-2.0" ]
1
2019-03-13T08:47:14.000Z
2019-03-13T17:43:16.000Z
high-can-binding/high-viwi-binding-hat.cpp
rm-medina/high-level-viwi-service
66abc905889c96e77a570d22551749354e352789
[ "Apache-2.0" ]
4
2018-11-14T13:35:12.000Z
2019-03-28T21:25:21.000Z
#include "high-viwi-binding-hat.hpp" #include <cstddef> /// Interface between the daemon and the binding static int init_service(); static const struct afb_verb_v2 verbs[]= { { .verb= "subscribe", .callback= subscribe, .auth = NULL, .info = "subscribe to an ViWi object", .session = 0 }, { .verb= "unsubscribe"...
32.405405
129
0.647206
[ "object" ]
63787082ddfa1808881e099fd0f6aec6c3605c39
3,924
hpp
C++
genex/group/GlobalGroupSpace.hpp
mihinsumaria/genex
34786b0cf5d573348b82e5d164dbc05e0411d6a8
[ "MIT" ]
2
2020-06-28T07:36:42.000Z
2021-01-11T07:49:24.000Z
genex/group/GlobalGroupSpace.hpp
mihinsumaria/genex
34786b0cf5d573348b82e5d164dbc05e0411d6a8
[ "MIT" ]
null
null
null
genex/group/GlobalGroupSpace.hpp
mihinsumaria/genex
34786b0cf5d573348b82e5d164dbc05e0411d6a8
[ "MIT" ]
1
2020-12-01T20:25:42.000Z
2020-12-01T20:25:42.000Z
#ifndef GLOBAL_GROUP_SPACE_H #define GLOBAL_GROUP_SPACE_H #include <fstream> #include <vector> #include <boost/serialization/serialization.hpp> #include <boost/serialization/split_member.hpp> #include "group/LocalLengthGroupSpace.hpp" #include "TimeSeries.hpp" #include "TimeSeriesSet.hpp" #include "distance/Distance...
28.642336
100
0.685015
[ "vector" ]
6379e7bff8c84aa51106c729e26f1684205cb0f4
19,401
cc
C++
chrome/browser/importer/importer.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
2
2017-09-02T19:08:28.000Z
2021-11-15T15:15:14.000Z
chrome/browser/importer/importer.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/importer/importer.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
1
2020-04-13T05:45:10.000Z
2020-04-13T05:45:10.000Z
// Copyright (c) 2010 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/importer/importer.h" #include "app/l10n_util.h" #include "base/thread.h" #include "base/values.h" #include "chrome/browser/b...
31.342488
80
0.727231
[ "vector", "model" ]
637e528808d595c37ad57131f149479ab891700b
3,648
cpp
C++
2017/22/main.cpp
adrian-stanciu/adventofcode
47b3d12226b0c71fff485ef140cd7731c9a5d72f
[ "MIT" ]
null
null
null
2017/22/main.cpp
adrian-stanciu/adventofcode
47b3d12226b0c71fff485ef140cd7731c9a5d72f
[ "MIT" ]
null
null
null
2017/22/main.cpp
adrian-stanciu/adventofcode
47b3d12226b0c71fff485ef140cd7731c9a5d72f
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include <string> #include <vector> #include <unordered_map> enum State { Clean = 0, Weakened, Infected, Flagged, }; auto read_grid() { std::vector<std::string> grid; std::string line; while (getline(std::cin, line)) grid.push_back(std::move(...
21.585799
76
0.467654
[ "vector" ]
638910cc4b9c72d265a3d5f2a727d660a0234a15
59,106
cxx
C++
model_server/ui_viewer/src/miniBrowser.h.cxx
kit-transue/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
2
2015-11-24T03:31:12.000Z
2015-11-24T16:01:57.000Z
model_server/ui_viewer/src/miniBrowser.h.cxx
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
null
null
null
model_server/ui_viewer/src/miniBrowser.h.cxx
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
1
2019-05-19T02:26:08.000Z
2019-05-19T02:26:08.000Z
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
28.959334
123
0.660796
[ "object" ]
638993a39bf00ef215e85d2a14611554422892d6
579
hpp
C++
src/utilities/config-handler/config-handler.hpp
zenitheesc/daemons-framework
6115cb083c70db5ef23766307b7c9c3f32fac893
[ "MIT" ]
2
2021-09-10T20:40:27.000Z
2021-09-22T01:03:21.000Z
src/utilities/config-handler/config-handler.hpp
zenitheesc/daemons-framework
6115cb083c70db5ef23766307b7c9c3f32fac893
[ "MIT" ]
null
null
null
src/utilities/config-handler/config-handler.hpp
zenitheesc/daemons-framework
6115cb083c70db5ef23766307b7c9c3f32fac893
[ "MIT" ]
null
null
null
#include <fstream> #include <nlohmann/json.hpp> class ConfigHandler { private: static nlohmann::json m_config; std::string m_fileName; const std::vector<std::string> m_requiredFields { "data", "services", "serviceId" }; public: explicit ConfigHandler(const std::string& fileName); void ...
26.318182
89
0.680484
[ "vector" ]
638c4ca6998db7c84c41ca33fe273f3bd5a4e385
452
hpp
C++
parameters.hpp
ruben-cohen/jcr_pde1d
228306f6e06ff97ca317349cb3feb28e508683cf
[ "BSD-3-Clause" ]
null
null
null
parameters.hpp
ruben-cohen/jcr_pde1d
228306f6e06ff97ca317349cb3feb28e508683cf
[ "BSD-3-Clause" ]
null
null
null
parameters.hpp
ruben-cohen/jcr_pde1d
228306f6e06ff97ca317349cb3feb28e508683cf
[ "BSD-3-Clause" ]
null
null
null
#ifndef PARAMETERS_HPP #define PARAMETERS_HPP #include <vector> // this class is only the initialization of the three parameters needed to create the matrix namespace project{ class Parameters { public: Parameters(double vol, double rate, double theta); double Get_Vol() const; double Get_Rate() const;...
14.580645
93
0.714602
[ "vector" ]
b0d39bea3e6764352ef1a76f74d9c09c44bb3d22
1,547
cpp
C++
src/picotorrent/applicationoptions.cpp
kk7945287/pictorr
09bf9ccbd89f0b459cb07e3012ced9c35bea005c
[ "MIT" ]
null
null
null
src/picotorrent/applicationoptions.cpp
kk7945287/pictorr
09bf9ccbd89f0b459cb07e3012ced9c35bea005c
[ "MIT" ]
null
null
null
src/picotorrent/applicationoptions.cpp
kk7945287/pictorr
09bf9ccbd89f0b459cb07e3012ced9c35bea005c
[ "MIT" ]
null
null
null
#include "applicationoptions.hpp" #include <wx/filename.h> #include "picojson.hpp" using pt::ApplicationOptions; std::shared_ptr<ApplicationOptions> ApplicationOptions::JsonDecode(wxString json) { picojson::value val; std::string err = picojson::parse(val, json.ToStdString()); if (!err.emp...
24.951613
82
0.616031
[ "object" ]
b0d7b5de26c250081ce4da2df3a444d5bb3136b7
6,368
cc
C++
pdf/pdfium/fuzzers/pdfium_fuzzer.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
pdf/pdfium/fuzzers/pdfium_fuzzer.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
pdf/pdfium/fuzzers/pdfium_fuzzer.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright 2015 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 fuzzer is simplified & cleaned up pdfium/samples/pdfium_test.cc #include <assert.h> #include <limits.h> #include <stddef.h> #include <stdint.h> #...
28.556054
79
0.704774
[ "vector" ]
b0e1b28c8605f514684f80a9afa5ae633adf0309
3,052
cpp
C++
Rotas/Rotas/src/domain/cidade.cpp
fredrhae/rotas
fe63d474cfd7bff85f0d1a98851f6b8d98a23316
[ "Apache-2.0" ]
null
null
null
Rotas/Rotas/src/domain/cidade.cpp
fredrhae/rotas
fe63d474cfd7bff85f0d1a98851f6b8d98a23316
[ "Apache-2.0" ]
null
null
null
Rotas/Rotas/src/domain/cidade.cpp
fredrhae/rotas
fe63d474cfd7bff85f0d1a98851f6b8d98a23316
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include "cidade.h" using namespace std; namespace rotas { namespace domain { string Cidade::get_nome() { return nome; } int Cidade::get_id() { return id; } bool Cidade::is_mediana() { return mediana; } void Cidade::set_mediana(bool is_mediana) {...
21.8
118
0.625819
[ "vector" ]
b0e2e7b61faa5afbad69a240a50b8677a54f208d
1,699
cpp
C++
android-31/javax/net/SocketFactory.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/javax/net/SocketFactory.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/javax/net/SocketFactory.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JString.hpp" #include "../../java/net/InetAddress.hpp" #include "../../java/net/Socket.hpp" #include "./SocketFactory.hpp" namespace javax::net { // Fields // QJniObject forward SocketFactory::SocketFactory(QJniObject obj) : JObject(obj) {} // Constructors // Methods javax::net::SocketFacto...
23.273973
132
0.685109
[ "object" ]
b0e5465558a589cc735b8c1ebb39d87f8be21a27
11,504
cpp
C++
estun/src/renderer/context/device.cpp
ibvfteh/watersim
8a524f9290c49b84889785160ce875d524ed190b
[ "MIT" ]
null
null
null
estun/src/renderer/context/device.cpp
ibvfteh/watersim
8a524f9290c49b84889785160ce875d524ed190b
[ "MIT" ]
null
null
null
estun/src/renderer/context/device.cpp
ibvfteh/watersim
8a524f9290c49b84889785160ce875d524ed190b
[ "MIT" ]
null
null
null
#include "renderer/context/device.h" #include "renderer/context/instance.h" #include "renderer/context/surface.h" #include "renderer/context/validation_layers.h" #include <set> #include <iostream> estun::Device *estun::DeviceLocator::currDevice = nullptr; estun::Device::~Device() { vkDestroyDevice(logicalDevice,...
32.22409
210
0.715838
[ "vector" ]
b0ed7d8928fa7c667f9956e956b9834d6a5a7733
5,818
cpp
C++
interpreter/src/sm_state_machine.cpp
straceX/asminterpreter
e06d650989a69008c6ac277575982ca09ff51339
[ "Apache-2.0" ]
null
null
null
interpreter/src/sm_state_machine.cpp
straceX/asminterpreter
e06d650989a69008c6ac277575982ca09ff51339
[ "Apache-2.0" ]
null
null
null
interpreter/src/sm_state_machine.cpp
straceX/asminterpreter
e06d650989a69008c6ac277575982ca09ff51339
[ "Apache-2.0" ]
null
null
null
#include "sm_state_machine.h" #include <functional> #include <iostream> using namespace SM; StateMachine::StateMachine(std::vector<std::tuple<int, std::string, std::optional<int>>> &afterTokens) { for (const auto &line : afterTokens) m_stackExecute.emplace_back(std::make_pair(std::get<1>(line), std::get...
31.112299
121
0.662427
[ "vector" ]
b0ed7f9e92232b595d8dc1c945c65e0d23a7e3dd
3,861
cc
C++
MathUtils/test/measurement_format.cc
yimuchen/UserUtils
1a5c55d286f325424f4cfd23f22da63cfa6fb6a9
[ "MIT" ]
null
null
null
MathUtils/test/measurement_format.cc
yimuchen/UserUtils
1a5c55d286f325424f4cfd23f22da63cfa6fb6a9
[ "MIT" ]
1
2021-12-10T15:04:04.000Z
2022-01-10T18:56:53.000Z
MathUtils/test/measurement_format.cc
yimuchen/UserUtils
1a5c55d286f325424f4cfd23f22da63cfa6fb6a9
[ "MIT" ]
1
2018-06-05T14:08:08.000Z
2018-06-05T14:08:08.000Z
/******************************************************************************* * * Filename : parameter_format.cc * Description : Unit testing for parameter formatting functions * Author : Yi-Mu "Enoch" Chen [ ensc@hep1.phys.ntu.edu.tw ] * *******************************************************************...
30.401575
80
0.418544
[ "vector" ]
b0f252b56008e5bc244bd3717239813631701bf3
2,531
cc
C++
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_dal/dal_MatrixDriver.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_dal/dal_MatrixDriver.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_dal/dal_MatrixDriver.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
#ifndef INCLUDED_DAL_MATRIXDRIVER #include "dal_MatrixDriver.h" #define INCLUDED_DAL_MATRIXDRIVER #endif // Library headers. // PCRaster library headers. // Module headers. #ifndef INCLUDED_DAL_UTILS #include "dal_Utils.h" #define INCLUDED_DAL_UTILS #endif /*! \file This file contains the implementation of th...
21.449153
80
0.505334
[ "object" ]
7c0a1baad8aeb7f0bed851cae7a8824b84146877
953
cpp
C++
graph-source-code/389-D/5899258.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/389-D/5899258.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/389-D/5899258.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include<bits/stdc++.h> using namespace std; #define REP0(i,n) for(int i=0;i<n;++i) #define REP1(i,n) for(int i=1;i<=n;++i) #define ALL(c) (c).begin(),(c).end() vector<string> G(1000); int now=1; void con(int a,int b){ // if(b==1 || a==1) cout << a << b << endl; G[a][b]='Y'; G[b][a...
16.719298
53
0.452256
[ "vector" ]
7c176f2d7e93022bda171daed28c8b452ffabcc2
7,706
cpp
C++
ref-impl/src/impl/ImplAAFSoundDescriptor.cpp
Phygon/aaf
faef720e031f501190481e1d1fc1870a7dc8f98b
[ "Linux-OpenIB" ]
null
null
null
ref-impl/src/impl/ImplAAFSoundDescriptor.cpp
Phygon/aaf
faef720e031f501190481e1d1fc1870a7dc8f98b
[ "Linux-OpenIB" ]
null
null
null
ref-impl/src/impl/ImplAAFSoundDescriptor.cpp
Phygon/aaf
faef720e031f501190481e1d1fc1870a7dc8f98b
[ "Linux-OpenIB" ]
null
null
null
//=---------------------------------------------------------------------= // // $Id$ $Name$ // // The contents of this file are subject to the AAF SDK Public Source // License Agreement Version 2.0 (the "License"); You may not use this // file except in compliance with the License. The License is available // in AAFSD...
22.017143
86
0.709058
[ "object" ]
7c297ff015ee6600f14f2d5c540c76d2b40af1b5
15,603
cpp
C++
src/ppmdu/pmd2/pmd2_gameloader.cpp
SkyTemple/ppmdu
9731ea103affd66f2e8c1202c9acb2ebfd4c9924
[ "CC0-1.0" ]
37
2015-10-30T21:56:26.000Z
2021-11-30T15:33:26.000Z
src/ppmdu/pmd2/pmd2_gameloader.cpp
SkyTemple/ppmdu
9731ea103affd66f2e8c1202c9acb2ebfd4c9924
[ "CC0-1.0" ]
27
2015-01-06T05:45:55.000Z
2020-01-29T21:40:22.000Z
src/ppmdu/pmd2/pmd2_gameloader.cpp
SkyTemple/ppmdu
9731ea103affd66f2e8c1202c9acb2ebfd4c9924
[ "CC0-1.0" ]
8
2016-02-07T23:31:03.000Z
2020-07-12T08:51:41.000Z
#include "pmd2_gameloader.hpp" #include <utils/utility.hpp> #include <utils/library_wide.hpp> #include <ppmdu/pmd2/pmd2.hpp> #include <fstream> using namespace std; using utils::logutil::slog; namespace pmd2 { //=========================================================================================== // GameDataLoad...
35.062921
176
0.52099
[ "object" ]
7c2e8d25f16d863ee8cde77074ce78fc47fb5e57
2,748
cpp
C++
tests/compile/many_variables.cpp
nasailja/gensimcell
65726d0bfffff3f4dfd526a925974c32b37cec5e
[ "BSD-3-Clause" ]
null
null
null
tests/compile/many_variables.cpp
nasailja/gensimcell
65726d0bfffff3f4dfd526a925974c32b37cec5e
[ "BSD-3-Clause" ]
null
null
null
tests/compile/many_variables.cpp
nasailja/gensimcell
65726d0bfffff3f4dfd526a925974c32b37cec5e
[ "BSD-3-Clause" ]
null
null
null
/* Tests whether a cell with multiple variables compiles. Copyright 2013, 2014, 2015, 2016 Ilja Honkonen 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...
24.756757
80
0.776565
[ "vector" ]
7c3262dda6142c33c042f2bb9943d570e169cc78
2,831
cc
C++
coral/test_utils_test.cc
hjonnala/libcoral
3b1e06417cd239172912f87448b864226953762c
[ "Apache-2.0" ]
38
2020-10-27T12:46:12.000Z
2022-03-26T13:15:44.000Z
coral/test_utils_test.cc
hjonnala/libcoral
3b1e06417cd239172912f87448b864226953762c
[ "Apache-2.0" ]
19
2020-11-12T02:37:53.000Z
2022-03-24T14:28:07.000Z
coral/test_utils_test.cc
hjonnala/libcoral
3b1e06417cd239172912f87448b864226953762c
[ "Apache-2.0" ]
17
2020-11-21T16:35:46.000Z
2022-03-26T07:46:21.000Z
/* Copyright 2019-2021 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 in writing, software...
39.319444
80
0.564112
[ "vector" ]
7c3d95a662e95cc0df04211d2833d38eb237ee85
1,659
cpp
C++
advent-of-code/2021/day-9/problem-1.cpp
kpagacz/spoj
8bff809c6c5227a6e85e9b12f808dd921f24e587
[ "MIT" ]
1
2021-12-06T16:01:55.000Z
2021-12-06T16:01:55.000Z
advent-of-code/2021/day-9/problem-1.cpp
kpagacz/comp-programming
15482d762ede4d3b7f8ff45a193f6e6bcd85672a
[ "MIT" ]
null
null
null
advent-of-code/2021/day-9/problem-1.cpp
kpagacz/comp-programming
15482d762ede4d3b7f8ff45a193f6e6bcd85672a
[ "MIT" ]
null
null
null
// link to the problem https://adventofcode.com/2021/day/9 #include<iostream> #include<string> #include<vector> #include<algorithm> #include<numeric> #define DEBUG 0 typedef std::vector<std::vector<int>*> smokemap; bool is_low_point(smokemap map, int x, int y) { std::vector<int> x_perturb; if (x > 0) x_pertur...
25.921875
108
0.538276
[ "vector" ]
7c4177b69b2b962c9df523961370f0876c30823e
75,074
cxx
C++
admin/netui/acledit/acledit/ntfsacl.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/netui/acledit/acledit/ntfsacl.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/netui/acledit/acledit/ntfsacl.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/**********************************************************************/ /** Microsoft Windows/NT **/ /** Copyright(c) Microsoft Corp., 1991 **/ /**********************************************************************/ /* NTFSAcl.cxx ...
35.869087
104
0.481991
[ "object" ]
7c420e2bcdd465961a6c06696f4a27683325f6c8
1,718
hpp
C++
src/Enzo/enzo_EnzoComputeSmoothJacobi.hpp
drreynolds/cello_drreynolds
c75e36b99f9928b24d1bd421412c53dcf04a34d8
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/Enzo/enzo_EnzoComputeSmoothJacobi.hpp
drreynolds/cello_drreynolds
c75e36b99f9928b24d1bd421412c53dcf04a34d8
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/Enzo/enzo_EnzoComputeSmoothJacobi.hpp
drreynolds/cello_drreynolds
c75e36b99f9928b24d1bd421412c53dcf04a34d8
[ "MIT", "BSD-3-Clause" ]
null
null
null
// See LICENSE_CELLO file for license and copyright information /// @file enzo_EnzoComputeSmoothJacobi.hpp /// @author James Bordner (jobordner@ucsd.edu) /// @date 2015-04-30 18:45:58 /// @brief [\ref Enzo] Declaration of the EnzoComputeSmoothJacobi class #ifndef ENZO_ENZO_COMPUTE_SMOOTH_JACOBI_HPP #defi...
19.522727
74
0.652503
[ "vector" ]
7c42c2bb4abaa45badcc063cfc81827b004e6bc8
2,923
cpp
C++
src/main.cpp
ajulyav/Kalman-Filter
7d0b937ca12e603408e76d711e8c45ba476ed28a
[ "MIT" ]
1
2021-07-23T06:35:08.000Z
2021-07-23T06:35:08.000Z
src/main.cpp
ajulyav/Kalman-Filter
7d0b937ca12e603408e76d711e8c45ba476ed28a
[ "MIT" ]
null
null
null
src/main.cpp
ajulyav/Kalman-Filter
7d0b937ca12e603408e76d711e8c45ba476ed28a
[ "MIT" ]
null
null
null
/* Applied Video Analysis of Sequences (AVSA) * LAB3: Object Tracking */ //system libraries #include <stdio.h> #include <iostream> #include <sstream> #include <string> #include <algorithm> //openCV #include <opencv2/opencv.hpp> #include <opencv2/video/background_segm.hpp> #include "FgSegment.hpp" #include "Kalman....
27.064815
158
0.63428
[ "object" ]
7c4a11af9b33d605b6e2dbef2f5eb603e96a06c2
3,479
hpp
C++
Mediator.hpp
jetpotion/MonteCarloOptionPricer
0024c9c900d1c968fca8946aa438ba07453272d8
[ "MIT" ]
2
2020-12-13T00:07:01.000Z
2021-01-14T00:40:33.000Z
Mediator.hpp
jetpotion/MonteCarloOptionPricer
0024c9c900d1c968fca8946aa438ba07453272d8
[ "MIT" ]
null
null
null
Mediator.hpp
jetpotion/MonteCarloOptionPricer
0024c9c900d1c968fca8946aa438ba07453272d8
[ "MIT" ]
null
null
null
#include "Builder.hpp" #include "StopWatch.hpp" #include <fstream> #include <iostream> #include <omp.h> #include <memory> #include "mysql_connection.h" #include <cppconn/driver.h> #include <cppconn/exception.h> #include <cppconn/prepared_statement.h> #ifndef MEDIATOR_HPP #define MEDIATOR_HPP //One FileOutput at a tim...
37.408602
180
0.704513
[ "vector" ]
7c53bcd97d39cd34f91ecf10cf19d66db9f70ba7
351
hpp
C++
TGEngine/public/graphics/vulkan/VulkanGraphicsModule.hpp
MrTroble/TEngine
9e364840b5db3b3d642c2921264e07b5148783f2
[ "Apache-2.0" ]
9
2018-03-22T16:01:54.000Z
2022-01-12T02:27:10.000Z
TGEngine/public/graphics/vulkan/VulkanGraphicsModule.hpp
MrTroble/TEngine
9e364840b5db3b3d642c2921264e07b5148783f2
[ "Apache-2.0" ]
20
2018-03-11T12:35:55.000Z
2020-02-19T17:36:47.000Z
TGEngine/public/graphics/vulkan/VulkanGraphicsModule.hpp
MrTroble/TGEngine
9e364840b5db3b3d642c2921264e07b5148783f2
[ "Apache-2.0" ]
6
2019-02-26T13:59:55.000Z
2021-07-15T14:11:10.000Z
#pragma once #include "../GameGraphicsModule.hpp" #include <vector> #include <array> #include <string> #ifndef APPLICATION_NAME #define APPLICATION_NAME "unknown" #endif #ifndef APPLICATION_VERSION #define APPLICATION_VERSION VK_MAKE_VERSION(1, 0, 0) #endif namespace tge::graphics { APILayer *getNewVulkanModule();...
16.714286
52
0.77208
[ "vector" ]
7c5625aa96a137821aa2c385fbc0b99dabae4359
3,953
cc
C++
tensorflow_text/core/kernels/sentencepiece/sentencepiece_detokenizer_kernel.cc
sun1638650145/text
c5c14d7739e4d3a0368f196e8a733e9654df6d20
[ "Apache-2.0" ]
2
2021-10-31T03:30:37.000Z
2022-02-16T06:59:02.000Z
tensorflow_text/core/kernels/sentencepiece/sentencepiece_detokenizer_kernel.cc
sun1638650145/text
c5c14d7739e4d3a0368f196e8a733e9654df6d20
[ "Apache-2.0" ]
null
null
null
tensorflow_text/core/kernels/sentencepiece/sentencepiece_detokenizer_kernel.cc
sun1638650145/text
c5c14d7739e4d3a0368f196e8a733e9654df6d20
[ "Apache-2.0" ]
null
null
null
// Copyright 2022 TF.Text Authors. // // 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 t...
42.505376
81
0.714394
[ "vector" ]
7c6a3562995df299b75cd9ef400fa244195dfed9
581
cpp
C++
code/binary-tree-level-order-traversal-1.cpp
tqgy/interview
1f51a70fd6b86ba15a900aed072a138524e84609
[ "CC0-1.0" ]
4
2018-04-09T12:57:46.000Z
2019-07-30T00:25:40.000Z
code/binary-tree-level-order-traversal-1.cpp
tqgy/interview
1f51a70fd6b86ba15a900aed072a138524e84609
[ "CC0-1.0" ]
null
null
null
code/binary-tree-level-order-traversal-1.cpp
tqgy/interview
1f51a70fd6b86ba15a900aed072a138524e84609
[ "CC0-1.0" ]
3
2018-11-19T03:11:15.000Z
2021-07-28T11:48:30.000Z
// Binary Tree Level Order Traversal // 递归版,时间复杂度O(n),空间复杂度O(n) class Solution { public: vector<vector<int> > levelOrder(TreeNode *root) { vector<vector<int>> result; traverse(root, 1, result); return result; } void traverse(TreeNode *root, size_t level, vector<vector<int>> &result)...
27.666667
78
0.598967
[ "vector" ]
7c6bf61d9a37c70a67eea9ece37366623615f452
4,117
cpp
C++
code/test/hybrid_map.cpp
mbeckem/msc
93e71ba163a7ffef4eec3e83934fa793f3f50ff6
[ "MIT" ]
null
null
null
code/test/hybrid_map.cpp
mbeckem/msc
93e71ba163a7ffef4eec3e83934fa793f3f50ff6
[ "MIT" ]
null
null
null
code/test/hybrid_map.cpp
mbeckem/msc
93e71ba163a7ffef4eec3e83934fa793f3f50ff6
[ "MIT" ]
null
null
null
#include <catch.hpp> #include "geodb/hybrid_map.hpp" #include <boost/range/algorithm/equal.hpp> using namespace geodb; TEST_CASE("hybrid map lookup", "[hybrid-map]") { hybrid_map<int, long, 512> map(2); map.insert(10, 15); { auto pos = map.find(10); REQUIRE(pos != map.end()); RE...
22.745856
82
0.510323
[ "vector" ]
7c6da318463c6ee1b68ebc32387b1a2ee25796f4
2,594
cc
C++
src/XeSimEventData.cc
l-althueser/XeSim
972ea62a35db7c80c6e4b3349987e31945651399
[ "BSD-3-Clause" ]
null
null
null
src/XeSimEventData.cc
l-althueser/XeSim
972ea62a35db7c80c6e4b3349987e31945651399
[ "BSD-3-Clause" ]
null
null
null
src/XeSimEventData.cc
l-althueser/XeSim
972ea62a35db7c80c6e4b3349987e31945651399
[ "BSD-3-Clause" ]
null
null
null
#include "XeSimEventData.hh" XeSimEventData::XeSimEventData() { m_iEventId = 0; m_iNbPhotoDetHits = 0; m_pPhotoDetHits = new vector<int>; m_pPhotoDetHitID = new vector<int>; m_pPhotoDetHitTime = new vector<double>; m_pPhotoDetHitEnergy = new vector<float>; m_pPhotoDetHitTheta = new vector<float>; m_pPhot...
24.471698
49
0.728604
[ "vector" ]
7c7a1ed419e9d0b38031b86b4b988dc85afb4b1a
3,297
cpp
C++
SDK/Extras/Rayshade/Sources/Rayshade/LibCommon/sampling.cpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
24
2019-10-28T07:01:48.000Z
2022-03-04T16:10:39.000Z
SDK/Extras/Rayshade/Sources/Rayshade/LibCommon/sampling.cpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
8
2020-04-22T19:42:45.000Z
2021-04-30T16:28:32.000Z
SDK/Extras/Rayshade/Sources/Rayshade/LibCommon/sampling.cpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
6
2019-09-22T14:44:15.000Z
2021-04-01T20:04:29.000Z
/* * sampling.c * * Copyright (C) 1989, 1991, Craig E. Kolb, Rod G. Bogart * All rights reserved. * * This software may be freely copied, modified, and redistributed * provided that this copyright notice is preserved on all copies. * * You may not distribute this software, in whole or in part, as part of * an...
26.376
72
0.659994
[ "vector" ]
7c7af79865d6729fe1a5e9656945188d2253b8b5
3,894
cc
C++
src/exception.cc
Mons/tarantool
35daf23419c88e12758d49c7c60d2cc5f8a00ad1
[ "BSD-2-Clause" ]
null
null
null
src/exception.cc
Mons/tarantool
35daf23419c88e12758d49c7c60d2cc5f8a00ad1
[ "BSD-2-Clause" ]
null
null
null
src/exception.cc
Mons/tarantool
35daf23419c88e12758d49c7c60d2cc5f8a00ad1
[ "BSD-2-Clause" ]
null
null
null
/* * 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 notice, this list of conditions and the * following disclaimer. * * 2. Redistribu...
25.122581
70
0.705958
[ "object" ]
75aba085e1bca89f0458ee4ac8e02d13d30727e5
20,044
cpp
C++
Source/3rdParty/FrankLuna/d3dApp.cpp
trevortheblack/Physically_Based_Renderer
18fb422c6d8c6de8ed3471c3558b0aa2b5ba4344
[ "MIT" ]
1
2020-09-16T19:42:06.000Z
2020-09-16T19:42:06.000Z
Source/3rdParty/FrankLuna/d3dApp.cpp
trevordblack/Physically_Based_Renderer
18fb422c6d8c6de8ed3471c3558b0aa2b5ba4344
[ "MIT" ]
null
null
null
Source/3rdParty/FrankLuna/d3dApp.cpp
trevordblack/Physically_Based_Renderer
18fb422c6d8c6de8ed3471c3558b0aa2b5ba4344
[ "MIT" ]
null
null
null
//*************************************************************************************** // d3dApp.cpp by Frank Luna (C) 2015 All Rights Reserved. //*************************************************************************************** #include "d3dApp.h" #include <WindowsX.h> using Microsoft::WRL::ComPtr; using na...
28.512091
115
0.703702
[ "render", "vector", "transform" ]
75b1737468f8d2eb2727febc20e9ea909143dd58
8,105
cpp
C++
modules/vf_unfinished/graphics/vf_OuterGlowStyle.cpp
jrlanglois/VFLib
95c662c435d6e6df1b2ebca4cdcdc3e84bc69e2b
[ "MIT" ]
27
2015-05-07T02:10:39.000Z
2021-06-22T14:52:50.000Z
modules/vf_unfinished/graphics/vf_OuterGlowStyle.cpp
jrlanglois/VFLib
95c662c435d6e6df1b2ebca4cdcdc3e84bc69e2b
[ "MIT" ]
null
null
null
modules/vf_unfinished/graphics/vf_OuterGlowStyle.cpp
jrlanglois/VFLib
95c662c435d6e6df1b2ebca4cdcdc3e84bc69e2b
[ "MIT" ]
14
2015-09-12T12:00:22.000Z
2022-03-08T22:24:24.000Z
/*============================================================================*/ /* VFLib: https://github.com/vinniefalco/VFLib Copyright (C) 2008 by Vinnie Falco <vinnie.falco@gmail.com> This library contains portions of other open source products covered by separate licenses. Please see the corresponding so...
25.170807
91
0.527205
[ "solid" ]
75b9ab4104655d434bd6c333faba1f0975b28265
1,025
hpp
C++
src/include/duckdb/planner/operator/logical_table_function.hpp
rainmaple/duckdb
d3df77ba6740b8b089bddbfef77e2b969245b5cf
[ "MIT" ]
null
null
null
src/include/duckdb/planner/operator/logical_table_function.hpp
rainmaple/duckdb
d3df77ba6740b8b089bddbfef77e2b969245b5cf
[ "MIT" ]
null
null
null
src/include/duckdb/planner/operator/logical_table_function.hpp
rainmaple/duckdb
d3df77ba6740b8b089bddbfef77e2b969245b5cf
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // DuckDB // // duckdb/planner/operator/logical_table_function.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/planner/logical_operator.hpp"...
28.472222
107
0.626341
[ "vector" ]
75bb24211d2eaa4c1c088c3e09f3f6f3a6d97e40
4,102
cpp
C++
benchmarks/halide/wrapper_convolution_layer.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
23
2017-05-03T13:06:34.000Z
2018-06-07T07:12:43.000Z
benchmarks/halide/wrapper_convolution_layer.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
2
2017-04-25T08:59:09.000Z
2017-05-11T16:41:55.000Z
benchmarks/halide/wrapper_convolution_layer.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
5
2017-02-16T14:26:40.000Z
2018-05-30T16:49:27.000Z
#include "Halide.h" #include <cstdlib> #include <chrono> #include <fstream> #include <iostream> #include <fstream> #include <string> #include <time.h> #include "configure.h" #include "wrapper_convolution_layer.h" #include <tiramisu/utils.h> using namespace std; int main(int, char**) { Halide::Buffer<float> input(...
37.290909
165
0.556314
[ "vector" ]
75bbf0bd26a2666d31add6fd8d9072755a0b14ea
1,101
hpp
C++
shadow/algorithm/detect_faster_rcnn.hpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
20
2017-07-04T11:22:47.000Z
2022-01-16T03:58:32.000Z
shadow/algorithm/detect_faster_rcnn.hpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
2
2017-12-03T13:07:39.000Z
2021-01-13T11:11:52.000Z
shadow/algorithm/detect_faster_rcnn.hpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
10
2017-09-30T05:06:30.000Z
2020-11-13T05:43:44.000Z
#ifndef SHADOW_ALGORITHM_DETECT_FASTER_RCNN_HPP_ #define SHADOW_ALGORITHM_DETECT_FASTER_RCNN_HPP_ #include "method.hpp" #include "core/network.hpp" namespace Shadow { class DetectFasterRCNN final : public Method { public: DetectFasterRCNN() = default; void Setup(const std::string& model_file) override; voi...
28.230769
78
0.730245
[ "vector" ]
75bd7af4480b7981dad16806c7c53c4ffd1d877e
3,514
cc
C++
src/JMessage.cc
omnetpp/jsimplemodule
3c969af136fcea8063afdaf6e7913d4257b39474
[ "BSD-2-Clause" ]
null
null
null
src/JMessage.cc
omnetpp/jsimplemodule
3c969af136fcea8063afdaf6e7913d4257b39474
[ "BSD-2-Clause" ]
null
null
null
src/JMessage.cc
omnetpp/jsimplemodule
3c969af136fcea8063afdaf6e7913d4257b39474
[ "BSD-2-Clause" ]
null
null
null
// // This file is part of the OMNeT++ JSimpleModule project. // // Copyright 2009-2021 OpenSim Ltd and Andras Varga. // // 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 retai...
29.041322
84
0.683552
[ "object" ]
75c1131768632ad80b050c3d12b3f8ac2b055b45
47,038
hh
C++
core/include/ceps_ast.hh
cepsdev/ceps
badd1ac7582034f9b4f000ee93828bd584cf858b
[ "MIT" ]
3
2018-09-11T11:40:24.000Z
2021-07-02T10:24:36.000Z
core/include/ceps_ast.hh
cepsdev/ceps
badd1ac7582034f9b4f000ee93828bd584cf858b
[ "MIT" ]
null
null
null
core/include/ceps_ast.hh
cepsdev/ceps
badd1ac7582034f9b4f000ee93828bd584cf858b
[ "MIT" ]
null
null
null
/* Copyright 2021 Tomas Prerovsky (cepsdev@hotmail.com). Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
23.137236
150
0.669735
[ "vector" ]
75c25827a65ec4d835f621bb6af8853fd080f635
15,860
cpp
C++
src/IO/AssimpLoader/AssimpGeometryDataLoader.cpp
sylvaindeker/Radium-Engine
64164a258b3f7864c73a07c070e49b7138488d62
[ "Apache-2.0" ]
1
2018-04-16T13:55:45.000Z
2018-04-16T13:55:45.000Z
src/IO/AssimpLoader/AssimpGeometryDataLoader.cpp
sylvaindeker/Radium-Engine
64164a258b3f7864c73a07c070e49b7138488d62
[ "Apache-2.0" ]
null
null
null
src/IO/AssimpLoader/AssimpGeometryDataLoader.cpp
sylvaindeker/Radium-Engine
64164a258b3f7864c73a07c070e49b7138488d62
[ "Apache-2.0" ]
null
null
null
#include <IO/AssimpLoader/AssimpGeometryDataLoader.hpp> #include <assimp/mesh.h> #include <assimp/scene.h> #include <Core/Asset/GeometryData.hpp> #include <Core/Utils/Log.hpp> #include <IO/AssimpLoader/AssimpWrapper.hpp> #include <Core/Asset/BlinnPhongMaterialData.hpp> namespace Ra { namespace IO { Triplet::Triple...
31.656687
106
0.580706
[ "mesh", "geometry", "vector", "model", "transform" ]
75c5165508f6476c9d1fb58673b7d2f59377a5bd
4,226
cpp
C++
Graphs/Directed/Kosaraju SCC/kosaraju_scc.cpp
fork52/CPP_fork52
61c3967dc65985e2148184427161bc89a15c36ad
[ "Apache-2.0" ]
5
2021-05-12T09:10:27.000Z
2022-03-11T17:34:54.000Z
Graphs/Directed/Kosaraju SCC/kosaraju_scc.cpp
fork52/CPP_fork52
61c3967dc65985e2148184427161bc89a15c36ad
[ "Apache-2.0" ]
1
2021-05-10T12:01:17.000Z
2021-05-10T15:31:50.000Z
Graphs/Directed/Kosaraju SCC/kosaraju_scc.cpp
fork52/CP-ALGOS-DS
61c3967dc65985e2148184427161bc89a15c36ad
[ "Apache-2.0" ]
1
2021-05-29T10:43:11.000Z
2021-05-29T10:43:11.000Z
#include <bits\stdc++.h> using namespace std; using ll = long long; template<typename T1> void disp_vec(vector<T1> arr){ int n = arr.size(); for(auto a: arr){ cout << a << " "; } cout << "\n"; } /* References: https://cp-algorithms.com/graph/strongly-connected-components.html https:/...
23.608939
86
0.530762
[ "vector" ]
75cddd4be4241b43b3ee0580ba1a1acf4589eceb
20,207
cc
C++
src/callbacks.cc
LLNL/bindee
3df620803ef5b198a32732341e52971342493863
[ "MIT" ]
5
2020-02-19T08:10:46.000Z
2021-02-03T01:28:34.000Z
src/callbacks.cc
LLNL/bindee
3df620803ef5b198a32732341e52971342493863
[ "MIT" ]
null
null
null
src/callbacks.cc
LLNL/bindee
3df620803ef5b198a32732341e52971342493863
[ "MIT" ]
null
null
null
/* * Copyright (c) 2020, Lawrence Livermore National Security, LLC and other * bindee developers. See the top-level LICENSE file for details. * * SPDX-License-Identifier: MIT */ #include <unordered_set> #include <iostream> #include <sstream> #include "callbacks.hh" #include "database.hh" #include "bindee.hh" #inc...
34.018519
107
0.545009
[ "vector" ]
75d43430a3d9a14887e205d6cd7707f337831f11
7,252
cpp
C++
Testing/vtkALBA/vtkALBAExtrudeToCircleTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
Testing/vtkALBA/vtkALBAExtrudeToCircleTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Testing/vtkALBA/vtkALBAExtrudeToCircleTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: ALBA (Agile Library for Biomedical Applications) Module: vtkALBAExtrudeToCircleTest Authors: Nigel McFarlane Copyright (c) BIC All rights reserved. See Copyright.txt or This software is distributed WITHOUT ANY WARRANTY; with...
30.216667
147
0.570739
[ "mesh", "render", "shape" ]
75d923048c50bf227e28c0a7d4c9335426d1e559
4,499
cpp
C++
src/behavior.cpp
berlala/CarND-Path-Planning-Project
684825bfcd24e0a5c8700ed6864e7287fad19d7f
[ "MIT" ]
null
null
null
src/behavior.cpp
berlala/CarND-Path-Planning-Project
684825bfcd24e0a5c8700ed6864e7287fad19d7f
[ "MIT" ]
null
null
null
src/behavior.cpp
berlala/CarND-Path-Planning-Project
684825bfcd24e0a5c8700ed6864e7287fad19d7f
[ "MIT" ]
null
null
null
// // behavior.cpp // In this file, the decision whether change lane or not will be made // #include "behavior.hpp" int BehaviorPlanner::lanePlanner(double s, double d, vector<vector<double>> sensor_fusion) { int lane = laneCalc(d); int new_lane; double distance = closestVehicle(s, lane, sensor_fusion, true)[...
34.607692
122
0.630807
[ "vector" ]
75dc02b333654d3e5ccc17b685c4676123a90f9c
22,901
cpp
C++
src/terminal/Terminal.cpp
KeinR/Etermal
9bf66f6be6ae8585b763dd902701e72013a5abcc
[ "MIT" ]
null
null
null
src/terminal/Terminal.cpp
KeinR/Etermal
9bf66f6be6ae8585b763dd902701e72013a5abcc
[ "MIT" ]
null
null
null
src/terminal/Terminal.cpp
KeinR/Etermal
9bf66f6be6ae8585b763dd902701e72013a5abcc
[ "MIT" ]
null
null
null
#include "Terminal.h" #include <iostream> #include <algorithm> #include <cmath> #include "util/termError.h" #include "render/opengl.h" #include "../TermInput.h" #include "../EShell.h" #include "State.h" #include "codec.h" #include "Line.h" #include "Resources.h" #include "util/debug.h" #include "textmods/Mod.h" #inc...
28.203202
123
0.595913
[ "render", "object" ]
75e1107137024b0051913bf9c60e73e588f937c9
27,485
hpp
C++
src/batteries/status.hpp
tonyastolfi/batteries
67349930e54785f44eab84f1e56da6c78c66a5f9
[ "Apache-2.0" ]
1
2022-01-04T20:28:17.000Z
2022-01-04T20:28:17.000Z
src/batteries/status.hpp
mihir-thakkar/batteries
67349930e54785f44eab84f1e56da6c78c66a5f9
[ "Apache-2.0" ]
2
2020-06-04T14:02:24.000Z
2020-06-04T14:03:18.000Z
src/batteries/status.hpp
mihir-thakkar/batteries
67349930e54785f44eab84f1e56da6c78c66a5f9
[ "Apache-2.0" ]
1
2022-01-03T20:24:31.000Z
2022-01-03T20:24:31.000Z
// Copyright 2021 Anthony Paul Astolfi // #pragma once #ifndef BATTERIES_STATUS_HPP #define BATTERIES_STATUS_HPP #include <batteries/assert.hpp> #include <batteries/int_types.hpp> #include <batteries/stream_util.hpp> #include <batteries/strong_typedef.hpp> #include <batteries/utility.hpp> #include <boost/preprocessor...
29.364316
110
0.550373
[ "object", "vector" ]
75e808976dbd37bee9ca73caf6f7c872ffa5f133
1,172
cc
C++
Codeforces/260 Division 2/Problem A/A.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
Codeforces/260 Division 2/Problem A/A.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
Codeforces/260 Division 2/Problem A/A.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include<cstdio> #include<iostream> #include<cmath> #include<algorithm> #include<cstring> #include<map> #include<set> #include<vector> #include<utility> #include<queue> #include<stack> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define...
21.703704
79
0.587884
[ "vector" ]
75ebea6ea54618c9dba7d2d66cef97acb8397dcd
2,481
cpp
C++
test/framework/net/net_exec_test_bm.cpp
baajur/Anakin
5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730
[ "Apache-2.0" ]
533
2018-05-18T06:14:04.000Z
2022-03-23T11:46:30.000Z
test/framework/net/net_exec_test_bm.cpp
baajur/Anakin
5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730
[ "Apache-2.0" ]
100
2018-05-26T08:32:48.000Z
2022-03-17T03:26:25.000Z
test/framework/net/net_exec_test_bm.cpp
baajur/Anakin
5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730
[ "Apache-2.0" ]
167
2018-05-18T06:14:35.000Z
2022-02-14T01:44:20.000Z
#include <string> #include "net_test.h" #include "saber/funcs/timer.h" #include "saber/core/tensor_op.h" #include <chrono> #include "debug.h" #ifdef ENABLE_OP_TIMER #include "saber/funcs/impl/impl_base.h" #endif std::string g_model_path = ""; std::string g_bmodel_path = ""; int g_batch_size = 1; #ifdef USE_BM_PLACE ...
26.393617
77
0.59734
[ "vector", "model" ]
75f16253386ac1da8129ae6599db1816f1304059
335
cpp
C++
examples/automobile/main.cpp
3dh-de/clean-code-r
44053a4bca4f08a8ec17d1beff1394c7ecfd6d67
[ "Unlicense" ]
null
null
null
examples/automobile/main.cpp
3dh-de/clean-code-r
44053a4bca4f08a8ec17d1beff1394c7ecfd6d67
[ "Unlicense" ]
null
null
null
examples/automobile/main.cpp
3dh-de/clean-code-r
44053a4bca4f08a8ec17d1beff1394c7ecfd6d67
[ "Unlicense" ]
null
null
null
#include <iostream> #include "auto.h" using namespace std; /** * @brief main * @return != 0 for any errors */ int main() { Auto *pVW = new VW(); if (!pVW) { cerr << "Error: failed to initialize automobile object!" << endl; return -1; } pVW->starten(); pVW->beschleunigen(); ...
13.4
73
0.546269
[ "object" ]
75f1ea6d991eaa31cba3e51ebea540714fc36bbd
9,427
cpp
C++
src/cpu/CPU.cpp
MartensCedric/emuboy
4dc7a774d77b9cde01a60509ad7e7a0e9477fdef
[ "MIT" ]
1
2021-12-17T17:32:47.000Z
2021-12-17T17:32:47.000Z
src/cpu/CPU.cpp
MartensCedric/gameboy
4dc7a774d77b9cde01a60509ad7e7a0e9477fdef
[ "MIT" ]
null
null
null
src/cpu/CPU.cpp
MartensCedric/gameboy
4dc7a774d77b9cde01a60509ad7e7a0e9477fdef
[ "MIT" ]
null
null
null
// // Created by cedric on 2021-06-16. // #include "cpu/CPU.h" #include <cstring> #include <stdexcept> #include <util/opcode_parsing_8bit_lsm.h> #include <util/opcode_parsing_8bit_arithmetic.h> #include <util/opcode_parsing_16bit_lsm.h> #include <util/opcode_parsing_16bit_arithmetic.h> #include <util/opcode_parsing_8b...
29.006154
111
0.675719
[ "vector" ]
75f500cb4e5133df048fa9a51dca08e6983aacda
3,558
cpp
C++
src/basis/structures/kdtree.cpp
It4innovations/mesio
de966f2a13e1e301be818485815d43ceff1e7094
[ "BSD-3-Clause" ]
1
2021-09-16T10:15:50.000Z
2021-09-16T10:15:50.000Z
src/basis/structures/kdtree.cpp
It4innovations/mesio
de966f2a13e1e301be818485815d43ceff1e7094
[ "BSD-3-Clause" ]
null
null
null
src/basis/structures/kdtree.cpp
It4innovations/mesio
de966f2a13e1e301be818485815d43ceff1e7094
[ "BSD-3-Clause" ]
null
null
null
#include "kdtree.h" #include "esinfo/envinfo.h" #include "esinfo/eslog.h" #include <cmath> #include <algorithm> #include <numeric> #include <cstdio> #include <functional> #include <utility> using namespace mesio; KDTree::KDTree(const std::vector<Point> &coordinates, size_t bucketsize) : coordinates(coordinates) { ...
32.944444
152
0.646431
[ "vector" ]
2f0de65a9ca45b46e406a65a8d0d77cdd6a4db4f
7,268
cpp
C++
src/s_curve/include/scurve_one_dof_coefs_and_sampling.cpp
mahmoud-a-ali/S_curve
1a3a4041876bff0d3cb1e98d3a5f22531eeba236
[ "MIT" ]
1
2021-08-02T08:31:13.000Z
2021-08-02T08:31:13.000Z
src/s_curve/include/scurve_one_dof_coefs_and_sampling.cpp
mahmoud-a-ali/S_curve
1a3a4041876bff0d3cb1e98d3a5f22531eeba236
[ "MIT" ]
null
null
null
src/s_curve/include/scurve_one_dof_coefs_and_sampling.cpp
mahmoud-a-ali/S_curve
1a3a4041876bff0d3cb1e98d3a5f22531eeba236
[ "MIT" ]
null
null
null
#include"scurve_equations.cpp" //============================== one_dof_scurve_coef =========================== /* the main function that will be called to compute the scurve coeffients for specific trajectory with specific max limits of Pos, Vel, Acc, Jrk input argument: P_wpt: waypoints, ref_T: reference time fo...
42.752941
179
0.53481
[ "vector" ]
2f106fc9dd43810f8a1bd676f2e91a38dac8e17f
7,008
cpp
C++
AnimationProgramming/AnimationClip.cpp
FelixPog/AnimationEngine
f153dfc10d7db075d559cfc6a5bfae78334dfb5a
[ "Apache-2.0" ]
null
null
null
AnimationProgramming/AnimationClip.cpp
FelixPog/AnimationEngine
f153dfc10d7db075d559cfc6a5bfae78334dfb5a
[ "Apache-2.0" ]
null
null
null
AnimationProgramming/AnimationClip.cpp
FelixPog/AnimationEngine
f153dfc10d7db075d559cfc6a5bfae78334dfb5a
[ "Apache-2.0" ]
null
null
null
#include "AnimationClip.h" #include "Quaternion/Quaternion.h" #include "Skeleton.h" #include "Data.h" #include "Interpolation.h" #include "Engine.h" // TRANSFORM Transform::Transform(const LibMath::Vector3& pTranslation, const LibMath::Quaternion& pRotation) { translation = pTranslation; rotation = pRotation; } Tra...
25.67033
266
0.76484
[ "transform" ]
2f1b0ae4ce8eb2a9f894dd2bacb3670e46e94c84
875
cpp
C++
AutoFaceModifier/cubic_solver.cpp
TianYe2017/AutoWrappingToolBox
7ea1088825772224a354aa3d24717bfa3cae936e
[ "MIT" ]
1
2020-11-12T01:53:14.000Z
2020-11-12T01:53:14.000Z
AutoFaceModifier/cubic_solver.cpp
TianYe2017/AutoWrappingToolBox
7ea1088825772224a354aa3d24717bfa3cae936e
[ "MIT" ]
null
null
null
AutoFaceModifier/cubic_solver.cpp
TianYe2017/AutoWrappingToolBox
7ea1088825772224a354aa3d24717bfa3cae936e
[ "MIT" ]
null
null
null
#include "cubic_solver.h" using namespace std; vector<float> SolveCubic(vector<float>coef) { vector<float> ans; cv::solveCubic(coef, ans); return ans; } vector<float> SolveForInverseRange(float a, float range, float y) { vector<float> coef = { a / (range*range), 2.0f * a / range, a - 1.0f, y }; vector<float...
19.444444
75
0.557714
[ "vector" ]
2f1d1367a890b60616dde7ba5d1727a826c5e909
34,987
cpp
C++
src/modelmanager.cpp
wxthss82/openvino_model_server
93541522d301163a130751e4b4d3d9c40d869f2b
[ "Apache-2.0" ]
null
null
null
src/modelmanager.cpp
wxthss82/openvino_model_server
93541522d301163a130751e4b4d3d9c40d869f2b
[ "Apache-2.0" ]
null
null
null
src/modelmanager.cpp
wxthss82/openvino_model_server
93541522d301163a130751e4b4d3d9c40d869f2b
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2020 Intel Corporation // // 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.ap...
46.463479
236
0.681796
[ "shape", "vector", "model" ]
2f234c555f5a751c47a906e3e0f4405271e2d4ce
6,791
cpp
C++
pelican/server/src/DataReceiver.cpp
pelican/pelican
834ae2e5d0e58009500286eb7f7891611d02b50c
[ "BSD-3-Clause" ]
3
2015-10-11T07:30:59.000Z
2016-06-03T04:27:40.000Z
pelican/server/src/DataReceiver.cpp
pelican/pelican
834ae2e5d0e58009500286eb7f7891611d02b50c
[ "BSD-3-Clause" ]
null
null
null
pelican/server/src/DataReceiver.cpp
pelican/pelican
834ae2e5d0e58009500286eb7f7891611d02b50c
[ "BSD-3-Clause" ]
2
2016-05-09T09:52:38.000Z
2019-05-17T06:08:24.000Z
/* * Copyright (c) 2013, The University of Oxford * 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 notice, * this list ...
31.882629
79
0.646297
[ "object" ]
2f237b3a3671a09f8cbfed366a27594958e4e40e
7,287
hpp
C++
include/CSSHSession.hpp
clockworkengineer/Antikythera_mechanism
572dc5c83303548134adf8325f77c795c02481f2
[ "MIT" ]
1
2021-03-04T07:04:50.000Z
2021-03-04T07:04:50.000Z
include/CSSHSession.hpp
clockworkengineer/Antikythera_mechanism
572dc5c83303548134adf8325f77c795c02481f2
[ "MIT" ]
null
null
null
include/CSSHSession.hpp
clockworkengineer/Antikythera_mechanism
572dc5c83303548134adf8325f77c795c02481f2
[ "MIT" ]
1
2021-11-29T08:24:52.000Z
2021-11-29T08:24:52.000Z
#ifndef CSSHSESSION_HPP #define CSSHSESSION_HPP // // C++ STL // #include <stdexcept> #include <vector> #include <memory> #include <cassert> #include <mutex> // // Antik classes // #include "CommonAntik.hpp" // // Libssh // #include <libssh/libssh.h> #include <libssh/callbacks.h> // Threading intialisation // =========...
32.824324
143
0.485934
[ "vector" ]
2f2a1ac5c8a89a74aa3fb6729d9de98ba9c4b01d
897
hpp
C++
core/engine/inc/engine/service/AnimatorService.hpp
rawbby/WS20-CG-Pra-Dungeon-Crawler
4c1b372649a92fb08b8908054d82624ae2b68af5
[ "MIT" ]
null
null
null
core/engine/inc/engine/service/AnimatorService.hpp
rawbby/WS20-CG-Pra-Dungeon-Crawler
4c1b372649a92fb08b8908054d82624ae2b68af5
[ "MIT" ]
null
null
null
core/engine/inc/engine/service/AnimatorService.hpp
rawbby/WS20-CG-Pra-Dungeon-Crawler
4c1b372649a92fb08b8908054d82624ae2b68af5
[ "MIT" ]
null
null
null
#pragma once #include "CollisionService.hpp" #include <engine/component/DynamicCollisionCircle.hpp> #include <engine/component/StaticCollisionLine.hpp> #include <engine/component/PositionComponent.hpp> #include <model/Types.hpp> #include <model/Skin.hpp> #include <model/SkinnedMesh.hpp> #include <model/SkinAnimation...
24.243243
81
0.675585
[ "model" ]
2f2b03896b3f6adebcdfbdf512d464beffebaf5a
2,172
cpp
C++
Week 6-7/Cplus-OOP-Circlep/Circle.cpp
ToyVo/CSIIStout
c9b0f2adfa9eb60f078413c2a17f30b44d85059f
[ "MIT" ]
null
null
null
Week 6-7/Cplus-OOP-Circlep/Circle.cpp
ToyVo/CSIIStout
c9b0f2adfa9eb60f078413c2a17f30b44d85059f
[ "MIT" ]
null
null
null
Week 6-7/Cplus-OOP-Circlep/Circle.cpp
ToyVo/CSIIStout
c9b0f2adfa9eb60f078413c2a17f30b44d85059f
[ "MIT" ]
null
null
null
// This program uses a constructor to initialize a member variable. #include <iostream> #include <cmath> #include <stdlib.h> using namespace std; // Circle class declaration class Circle { private: double radius; public: // Member function prototypes Circle(); void setR...
28.96
67
0.496777
[ "object" ]
2f33e91beda84cb2b0ff9ce43ed8c0dcbc7e138f
4,589
hpp
C++
rbst/treap.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
69
2020-11-06T05:21:42.000Z
2022-03-29T03:38:35.000Z
rbst/treap.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
21
2020-07-25T04:47:12.000Z
2022-02-01T14:39:29.000Z
rbst/treap.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
9
2020-11-06T11:55:10.000Z
2022-03-20T04:45:31.000Z
#pragma once #include "../misc/rng.hpp" template <typename Node> struct TreapBase { using Ptr = Node *; template <typename... Args> inline Ptr my_new(Args... args) { return new Node(args...); } Ptr make_tree() { return nullptr; } // for avoiding memory leak, activate below /* using Ptr = shared_p...
22.385366
75
0.503813
[ "vector" ]
2f36fdaac88d3b7974f39ce766b2c0f6c0e4eb36
1,792
cpp
C++
dev/g++/test/networkThread.cpp
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
null
null
null
dev/g++/test/networkThread.cpp
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
null
null
null
dev/g++/test/networkThread.cpp
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
1
2017-01-27T12:53:50.000Z
2017-01-27T12:53:50.000Z
#include <iostream> #include <iomanip> #include "networkThread.h" #include "channelManager.h" networkThread::networkThread(const std::string & p_hostAddr, const int p_hostLocalPort, const int p_hostRemotePort) : _host(p_hostAddr, p_hostLocalPort), _remote(p_hostAddr, p_hostRemotePort) { std::clog << ">>> netwo...
36.571429
122
0.651228
[ "vector" ]
2f378d7cce6ea1133a02f89c4bddd5dd72090630
10,506
cpp
C++
frontend/src/ArrayIndexClassifier.cpp
uwplse/stng
ce12c2c079516df873382a5aa3c18c407833d130
[ "MIT" ]
14
2017-03-07T00:14:33.000Z
2022-02-09T00:59:22.000Z
frontend/src/ArrayIndexClassifier.cpp
uwplse/stng
ce12c2c079516df873382a5aa3c18c407833d130
[ "MIT" ]
11
2016-11-22T13:14:55.000Z
2021-12-14T00:56:51.000Z
frontend/src/ArrayIndexClassifier.cpp
uwplse/stng
ce12c2c079516df873382a5aa3c18c407833d130
[ "MIT" ]
6
2016-11-07T13:38:45.000Z
2021-04-04T12:13:31.000Z
#include "ArrayIndexClassifier.h" #include "debug.h" namespace StencilTranslator { TaintLattice::TaintLattice () { this->taint = Uninitialized; } TaintLattice::TaintLattice (const TaintLattice & o) { this->taint = o.taint; } void TaintLattice::initialize () {} Lattice * TaintLattice::copy () const { return...
27.359375
185
0.602894
[ "vector" ]
2f39f80c1f5afb4d3a4912821110be366725e3bc
27,346
cpp
C++
source/exprjit/src/exprjit.cpp
Archie3d/exprjit
84c6b97d157a81e6a069bdc580f7887ec754cf0e
[ "MIT" ]
1
2019-08-03T21:48:48.000Z
2019-08-03T21:48:48.000Z
source/exprjit/src/exprjit.cpp
Archie3d/exprjit
84c6b97d157a81e6a069bdc580f7887ec754cf0e
[ "MIT" ]
null
null
null
source/exprjit/src/exprjit.cpp
Archie3d/exprjit
84c6b97d157a81e6a069bdc580f7887ec754cf0e
[ "MIT" ]
null
null
null
#include <cmath> #include <istream> #include <sstream> #include <map> #include <functional> #include "NativeJIT/CodeGen/ExecutionBuffer.h" #include "NativeJIT/CodeGen/FunctionBuffer.h" #include "NativeJIT/Function.h" #include "exprjit.h" // Size of the JIT compiler buffers constexpr size_t CODE_BUFFER_SIZE = 16384; ...
29.659436
99
0.475133
[ "vector" ]
2f4157cd896851828bb7702f2a307e60c7ba17dd
1,975
cpp
C++
code/cpp/IMGresize.cpp
element-doo/ekade
9430572dff420c926bccf1872dbfdf2fdaa1c7e5
[ "BSD-3-Clause" ]
null
null
null
code/cpp/IMGresize.cpp
element-doo/ekade
9430572dff420c926bccf1872dbfdf2fdaa1c7e5
[ "BSD-3-Clause" ]
null
null
null
code/cpp/IMGresize.cpp
element-doo/ekade
9430572dff420c926bccf1872dbfdf2fdaa1c7e5
[ "BSD-3-Clause" ]
null
null
null
#define cimg_display 0 #define PIC "pic." #define PIC_RES "picresize." #define PORT 10020 #include <iostream> #include <fstream> #include <sstream> #include "CImg.h" #include "base64.h" #include <jsonrpc/rpc.h> #include "abstractimgserver.h" using namespace jsonrpc; using namespace std; using namespace Json; class ...
27.054795
163
0.700759
[ "vector" ]
2f4622047b2fce6828eed8099117c95dcf041716
2,786
cpp
C++
aws-cpp-sdk-transcribe/source/model/ContentRedaction.cpp
truthiswill/aws-sdk-cpp
6e854b6a8bc7945f150c3a11551196bda341962a
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-transcribe/source/model/ContentRedaction.cpp
truthiswill/aws-sdk-cpp
6e854b6a8bc7945f150c3a11551196bda341962a
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-transcribe/source/model/ContentRedaction.cpp
truthiswill/aws-sdk-cpp
6e854b6a8bc7945f150c3a11551196bda341962a
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/transcribe/model/ContentRedaction.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { n...
27.86
143
0.775305
[ "model" ]