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
9ff86a2e64d951722dc911e9b13622784d0d31d7
505
cpp
C++
MGR_PBR/src/Main.cpp
KosssteK/master-thesis
d3c3f6f3b1f5c56e047da63b00927d948974c32a
[ "MIT" ]
null
null
null
MGR_PBR/src/Main.cpp
KosssteK/master-thesis
d3c3f6f3b1f5c56e047da63b00927d948974c32a
[ "MIT" ]
null
null
null
MGR_PBR/src/Main.cpp
KosssteK/master-thesis
d3c3f6f3b1f5c56e047da63b00927d948974c32a
[ "MIT" ]
null
null
null
#include <GL/glew.h> #include <GLFW/glfw3.h> #include <iostream> #include <fstream> #include <string> #include <sstream> #include "engine/Renderer.h" #include "engine/Container.h" #include "engine/Object.h" #include "engine/Skybox.h" #include "engine/render/Helpers.h" #include "Stage.h" #include "MilkyWayStage.h" ...
17.413793
34
0.726733
[ "render", "object" ]
b00944e1bcc6b42a9eae7d9170fd402421a38d37
3,394
cpp
C++
src/compute_pair.cpp
luwei0917/GlpG_Nature_Communication
a7f4f8b526e633b158dc606050e8993d70734943
[ "MIT" ]
1
2018-11-28T15:04:55.000Z
2018-11-28T15:04:55.000Z
src/compute_pair.cpp
luwei0917/GlpG_Nature_Communication
a7f4f8b526e633b158dc606050e8993d70734943
[ "MIT" ]
null
null
null
src/compute_pair.cpp
luwei0917/GlpG_Nature_Communication
a7f4f8b526e633b158dc606050e8993d70734943
[ "MIT" ]
null
null
null
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
28.049587
77
0.563936
[ "vector" ]
b01eec413ef53de56a7f0e65cde865245287d9c0
453
cpp
C++
lib/sequence/lis.cpp
mdstoy/atcoder-cpp
5dfe4db5558dfa1faaf10f19c1a99fee1b4104e7
[ "Unlicense" ]
null
null
null
lib/sequence/lis.cpp
mdstoy/atcoder-cpp
5dfe4db5558dfa1faaf10f19c1a99fee1b4104e7
[ "Unlicense" ]
null
null
null
lib/sequence/lis.cpp
mdstoy/atcoder-cpp
5dfe4db5558dfa1faaf10f19c1a99fee1b4104e7
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // verifying : https://atcoder.jp/contests/abc006/submissions/22157599 int lis(vector<int> a) { int n = (int)a.size(); vector<int> dp(n, 1 << 30); for (int i = 0; i < n; i++) { auto itr = lower_bound(dp.begin(), dp.end(), a[i]); *itr = a[i]; ...
22.65
70
0.492274
[ "vector" ]
b0226c9218d5a535ada564804a8257528c45568e
3,399
cc
C++
Algorithms/VideoInterpolation/VideoInterpolation.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
Algorithms/VideoInterpolation/VideoInterpolation.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
Algorithms/VideoInterpolation/VideoInterpolation.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
#include "boost/bind.hpp" #include "Logger/Log.h" #include "Messages/RadarConfig.h" #include "Messages/Video.h" #include "Utils/VsipVector.h" #include "VideoInterpolation.h" #include "VideoInterpolation_defaults.h" using namespace SideCar::Algorithms; using namespace SideCar::Messages; VideoInterpolation::VideoInte...
27.41129
110
0.629303
[ "vector" ]
b023af9158be28883014194009811440b6a31f60
2,821
cpp
C++
src/putstlclass.cpp
NULLCT/BlackJackOP
6807b41204a14115db02e64fdb1bac5d4fff23a3
[ "MIT" ]
3
2021-06-11T08:39:25.000Z
2022-01-21T13:44:41.000Z
src/putstlclass.cpp
NULLCT/BlackJackOP
6807b41204a14115db02e64fdb1bac5d4fff23a3
[ "MIT" ]
null
null
null
src/putstlclass.cpp
NULLCT/BlackJackOP
6807b41204a14115db02e64fdb1bac5d4fff23a3
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <vector> #include <deque> #include <list> #include <tuple> #include <map> #include <set> using namespace std; template <typename T> ostream &operator<<(ostream &_ostr, const vector<T> &_v); template <typename T> ostream &operator<<(ostream &_ostr, const deque<T> &_v); templa...
23.90678
61
0.545551
[ "vector" ]
b02a558b502181882579c30f7da950a293e85caf
3,403
cpp
C++
src/data-structures/ranged-fenwick-tree.cpp
Jyang772/umb-trd
012b74472bf394624c0d7d7835cabd3c737a6fa0
[ "MIT" ]
10
2015-05-13T01:28:44.000Z
2021-08-17T15:43:07.000Z
src/data-structures/ranged-fenwick-tree.cpp
Jyang772/umb-trd
012b74472bf394624c0d7d7835cabd3c737a6fa0
[ "MIT" ]
null
null
null
src/data-structures/ranged-fenwick-tree.cpp
Jyang772/umb-trd
012b74472bf394624c0d7d7835cabd3c737a6fa0
[ "MIT" ]
3
2016-07-16T01:36:58.000Z
2020-10-15T22:35:48.000Z
#include <iostream> #include <algorithm> #include <vector> #include <cstring> using namespace std; // Implementation based on the code provided at Petr's blog. Nevertheless, // an easy and helpful explanation can be found in TopCoder's forums // http://petr-mitrichev.blogspot.com/2013/05/fenwick-tree-range-updates.htm...
25.780303
77
0.566853
[ "vector" ]
b035c12d81704db9c2a937a46d46442b6f7bc5f8
1,078
cpp
C++
example/example_str_str.cpp
DaikiShimada/kadare
95d546586c16933bb534a49b928458936e25557e
[ "MIT" ]
null
null
null
example/example_str_str.cpp
DaikiShimada/kadare
95d546586c16933bb534a49b928458936e25557e
[ "MIT" ]
null
null
null
example/example_str_str.cpp
DaikiShimada/kadare
95d546586c16933bb534a49b928458936e25557e
[ "MIT" ]
null
null
null
#include "../include/kadare/kadare.hpp" #include <iostream> #include <string> int main(int argc, char* argv[]) { std::string data_file = "data/test_str_str.data"; kadare::DataManager<std::string, std::string> dm(data_file); std::cout << "Input file name: " << dm.getDbfile() << std::endl; std::cout << "# of Record...
29.944444
79
0.611317
[ "vector" ]
b03b6fcd9d79117efe541c1cfd1f1bfe1f8e4859
6,787
hh
C++
contrib/fluxbox/src/FbTk/MenuTheme.hh
xk2600/lightbox
987d901366fe706de1a8bbd1efd49b87abff3e0b
[ "BSD-2-Clause" ]
null
null
null
contrib/fluxbox/src/FbTk/MenuTheme.hh
xk2600/lightbox
987d901366fe706de1a8bbd1efd49b87abff3e0b
[ "BSD-2-Clause" ]
2
2017-05-30T05:21:59.000Z
2018-03-14T07:21:33.000Z
src/FbTk/MenuTheme.hh
antix-skidoo/fluxbox
b83ee923f4ab2ab51f3b8c14343bda0579e538c6
[ "MIT" ]
null
null
null
// MenuTheme.hh for FbTk // Copyright (c) 2002 - 2006 Henrik Kinnunen (fluxgen at fluxbox dot org) // // 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...
39.923529
102
0.705908
[ "shape" ]
b0473fb58065136a6e3fa3472912a5b82fe26132
57,652
cp
C++
Sources_Common/Plugins/Security/CSecurityPlugin.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
5
2015-03-23T13:45:09.000Z
2021-11-06T08:37:42.000Z
Sources_Common/Plugins/Security/CSecurityPlugin.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
Sources_Common/Plugins/Security/CSecurityPlugin.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2021-03-27T09:10:59.000Z
2022-01-19T12:12:48.000Z
/* Copyright (c) 2007 Cyrus Daboo. 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 re...
27.690682
161
0.69642
[ "object" ]
b0486754075d6b79523202000543f5dabf0b9b26
4,823
cpp
C++
luogu/5471/me.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
luogu/5471/me.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
luogu/5471/me.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
/* the vast starry sky, bright for those who chase the light. */ #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> pii; #define mk make_pair const int inf=(int)1e9; const ll INF=(ll)5e18; const int MOD=998244353; int add(int x,int y){x+=y; return x>=MOD ? x-MOD : x;} int sub(int x...
28.204678
98
0.460709
[ "vector" ]
b04fa6650b747307163571c41e4c87e7e8a86cbb
7,962
cpp
C++
services/se_standard/src/access_rule_application_controller.cpp
dawmlight/communication_nfc
84a10d69eb9cb3128e864230c53d5a5e6660dfb9
[ "Apache-2.0" ]
null
null
null
services/se_standard/src/access_rule_application_controller.cpp
dawmlight/communication_nfc
84a10d69eb9cb3128e864230c53d5a5e6660dfb9
[ "Apache-2.0" ]
null
null
null
services/se_standard/src/access_rule_application_controller.cpp
dawmlight/communication_nfc
84a10d69eb9cb3128e864230c53d5a5e6660dfb9
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
40.212121
117
0.684878
[ "vector" ]
b05579d95c765d248d3bab9092583e3767a8ec72
2,885
hpp
C++
src/engine/processing/ConvolutionPyramid.hpp
kosua20/Rendu
6b8e730f16658738572bc2f49e08fc4a2c59df07
[ "MIT" ]
399
2019-05-25T16:05:59.000Z
2022-03-31T23:38:04.000Z
src/engine/processing/ConvolutionPyramid.hpp
kosua20/Rendu
6b8e730f16658738572bc2f49e08fc4a2c59df07
[ "MIT" ]
3
2019-07-23T21:03:33.000Z
2020-12-14T12:47:51.000Z
src/engine/processing/ConvolutionPyramid.hpp
kosua20/Rendu
6b8e730f16658738572bc2f49e08fc4a2c59df07
[ "MIT" ]
20
2019-06-08T17:15:01.000Z
2022-03-21T11:20:14.000Z
#pragma once #include "graphics/Framebuffer.hpp" #include "resources/ResourcesManager.hpp" #include "Common.hpp" /** \brief Implements a multiscale scheme for approximating convolution with large filters. This is the basis of the technique described in Convolution Pyramids, Farbman et al., 2011. A set of filter par...
37.960526
105
0.721664
[ "vector" ]
b056381bfc5771b8ac1f946090b155cdd8e15ea4
20,815
cpp
C++
src/tools/ControllerTest.cpp
kosua20/Rendu
6b8e730f16658738572bc2f49e08fc4a2c59df07
[ "MIT" ]
399
2019-05-25T16:05:59.000Z
2022-03-31T23:38:04.000Z
src/tools/ControllerTest.cpp
kosua20/Rendu
6b8e730f16658738572bc2f49e08fc4a2c59df07
[ "MIT" ]
3
2019-07-23T21:03:33.000Z
2020-12-14T12:47:51.000Z
src/tools/ControllerTest.cpp
kosua20/Rendu
6b8e730f16658738572bc2f49e08fc4a2c59df07
[ "MIT" ]
20
2019-06-08T17:15:01.000Z
2022-03-21T11:20:14.000Z
#include "input/Input.hpp" #include "system/System.hpp" #include "system/Config.hpp" #include "system/Window.hpp" #include "resources/ResourcesManager.hpp" #include "input/controller/RawController.hpp" #include "graphics/Framebuffer.hpp" #include "graphics/GPU.hpp" #include "Common.hpp" /** \defgroup Contr...
43.455115
189
0.658419
[ "geometry", "render", "vector" ]
b05efda814c41271143b643670599f167e289fa0
1,267
cxx
C++
examples/example2.cxx
PeteLealiieeJ/MultiVariateRNG
30f0bbba65e0173eb54ef52b244376328831dc4d
[ "MIT" ]
null
null
null
examples/example2.cxx
PeteLealiieeJ/MultiVariateRNG
30f0bbba65e0173eb54ef52b244376328831dc4d
[ "MIT" ]
null
null
null
examples/example2.cxx
PeteLealiieeJ/MultiVariateRNG
30f0bbba65e0173eb54ef52b244376328831dc4d
[ "MIT" ]
null
null
null
#include <MultiVariRNG.h> #include <vector> #include <Eigen/Dense> // CHECKING/PROVING COVARIANCE TRANSFORM int main(){ int nsamp = 10000; Eigen::Matrix3d covar; // SAMPLE COVARIANVE FROM UNNAMED SIMULATED SENSOR covar << 3.74594018895874e-05, 1.07418247112003e-05, -6.33235754470261e-06, ...
26.395833
79
0.625099
[ "vector", "transform" ]
b063d595d575fdbda741199f6909073fe3b06df8
16,701
hpp
C++
FruitNinjaGL/src/fn/ecs/Database.hpp
CncGpp/FruitNinjaGL
90435c9e19733aece4a334c2d889ae5975f7706e
[ "Apache-2.0" ]
null
null
null
FruitNinjaGL/src/fn/ecs/Database.hpp
CncGpp/FruitNinjaGL
90435c9e19733aece4a334c2d889ae5975f7706e
[ "Apache-2.0" ]
null
null
null
FruitNinjaGL/src/fn/ecs/Database.hpp
CncGpp/FruitNinjaGL
90435c9e19733aece4a334c2d889ae5975f7706e
[ "Apache-2.0" ]
null
null
null
#pragma once #include"ecs_types.hpp" #include"Entity.hpp" namespace fn { /** * @brief Classe che gestisce la costruzione, recupero e accesso delle entità. * * Rappresenta appunto un database di tutte le possibili entità e consente di effettuare 'query' * - recuperare una specifica entità dato il suo eid. ...
34.153374
125
0.657685
[ "render", "vector", "model" ]
b06bab1ab217324d013fbd72e0e748c947f95f57
12,933
cpp
C++
src/del/managers/Errors.cpp
NablaVM/Del
d353bc40a225635fc5b6efd0134b797c161acc11
[ "MIT" ]
null
null
null
src/del/managers/Errors.cpp
NablaVM/Del
d353bc40a225635fc5b6efd0134b797c161acc11
[ "MIT" ]
null
null
null
src/del/managers/Errors.cpp
NablaVM/Del
d353bc40a225635fc5b6efd0134b797c161acc11
[ "MIT" ]
null
null
null
#include "Errors.hpp" #include "del_driver.hpp" #include <libnabla/termcolor.hpp> namespace DEL { // ---------------------------------------------------------- // // ---------------------------------------------------------- Errors::Errors(DEL_Driver & driver) : driver(driver) { } // --...
35.628099
196
0.418232
[ "vector" ]
b06ef32e1de7393b4888e365c9073d72698665d9
5,226
cpp
C++
Plugins/VulkanRendering/VulkanPipelineBuilder.cpp
fraqqer/Hall-Guys-CSC8503
8507b09588944f661553bb9d9cdef2338ec87fda
[ "MIT" ]
null
null
null
Plugins/VulkanRendering/VulkanPipelineBuilder.cpp
fraqqer/Hall-Guys-CSC8503
8507b09588944f661553bb9d9cdef2338ec87fda
[ "MIT" ]
null
null
null
Plugins/VulkanRendering/VulkanPipelineBuilder.cpp
fraqqer/Hall-Guys-CSC8503
8507b09588944f661553bb9d9cdef2338ec87fda
[ "MIT" ]
null
null
null
#include "VulkanPipelineBuilder.h" #include "VulkanMesh.h" #include "VulkanShader.h" using namespace NCL; using namespace Rendering; VulkanPipelineBuilder::VulkanPipelineBuilder() { dynamicStateEnables[0] = vk::DynamicState::eViewport; dynamicStateEnables[1] = vk::DynamicState::eScissor; dynamicCreate.setDynamicS...
33.716129
168
0.809797
[ "mesh" ]
b071425364395bf8bde2e80ddef1c6c8557b06ed
1,184
hpp
C++
lib/include/cppgui/Boxed.hpp
JPGygax68/libCppGUI
9484b6b4e544a522019276fcd49eb8495b04e60d
[ "Apache-2.0" ]
2
2017-03-28T14:11:47.000Z
2021-05-31T07:31:43.000Z
lib/include/cppgui/Boxed.hpp
JPGygax68/libCppGUI
9484b6b4e544a522019276fcd49eb8495b04e60d
[ "Apache-2.0" ]
null
null
null
lib/include/cppgui/Boxed.hpp
JPGygax68/libCppGUI
9484b6b4e544a522019276fcd49eb8495b04e60d
[ "Apache-2.0" ]
1
2021-05-31T07:31:44.000Z
2021-05-31T07:31:44.000Z
#pragma once #include "./Box.hpp" namespace cppgui { /* * Note: the Boxed<> decorator MUST NOT be used on abstract classes - for example, it is not * possible to apply it to Container_base. * (The reason for this is that Boxed<> modifieds the two main layouting methods by overriding * and ...
25.191489
98
0.605574
[ "render" ]
b0720374c768a211b7b1ea0c1dcdfdb1002d5e66
4,882
cpp
C++
test/hard.cpp
lkeegan/CTCI
1f15dabaf85aaa6d2f8bd21b5451d55173cf8ad4
[ "MIT" ]
1
2018-10-09T03:52:16.000Z
2018-10-09T03:52:16.000Z
test/hard.cpp
lkeegan/CTCI
1f15dabaf85aaa6d2f8bd21b5451d55173cf8ad4
[ "MIT" ]
null
null
null
test/hard.cpp
lkeegan/CTCI
1f15dabaf85aaa6d2f8bd21b5451d55173cf8ad4
[ "MIT" ]
null
null
null
#include "hard.hpp" #include "catch.hpp" // Unit tests using namespace ctci::hard; TEST_CASE("17.1 add_without_plus", "[hard]") { REQUIRE(add_without_plus(0, 0) == 0); REQUIRE(add_without_plus(1, 0) == 1); REQUIRE(add_without_plus(0, 1) == 1); REQUIRE(add_without_plus(1, 1) == 2); REQUIRE(add_without_plus(1...
33.210884
79
0.619009
[ "vector" ]
b07882bb011e549df54651f70a0cec0fd3de9756
2,111
cpp
C++
coverage/cpp/cov7.cpp
0152la/z3test
0b9c5cbefb457aced86b3914c1f7f9de221eb8b1
[ "MIT" ]
23
2015-04-20T08:51:00.000Z
2021-11-15T12:20:59.000Z
coverage/cpp/cov7.cpp
0152la/z3test
0b9c5cbefb457aced86b3914c1f7f9de221eb8b1
[ "MIT" ]
18
2016-03-02T15:17:42.000Z
2021-12-16T22:10:05.000Z
coverage/cpp/cov7.cpp
0152la/z3test
0b9c5cbefb457aced86b3914c1f7f9de221eb8b1
[ "MIT" ]
30
2015-05-30T15:29:17.000Z
2022-02-25T15:58:58.000Z
#include <vector> #include "z3++.h" z3::expr mod_by_sub(z3::expr t1, z3::expr t2) { z3::expr t1_div_t2 = z3::ite(t2 == 0, t1, t1 / t2); return z3::ite(t2 == 0, t1, t1 - t2 * t1_div_t2); } int main() { z3::context ctx; std::vector<z3::expr> vars; for (size_t i = 0; i < 65; ++i) { std::strin...
31.507463
66
0.553292
[ "vector" ]
b07bbbb49afc22e83794b334ff61a531049d5eee
1,060
cpp
C++
ECS/Components/TurretController.cpp
Excelsus4/DirectX2DPortfolio
ffc77a412366c7da5bd8585e49ca97b5fc735010
[ "MIT" ]
null
null
null
ECS/Components/TurretController.cpp
Excelsus4/DirectX2DPortfolio
ffc77a412366c7da5bd8585e49ca97b5fc735010
[ "MIT" ]
null
null
null
ECS/Components/TurretController.cpp
Excelsus4/DirectX2DPortfolio
ffc77a412366c7da5bd8585e49ca97b5fc735010
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "TurretController.h" #include "ECS/Entity.h" #include "ECS/World.h" #include "ECS/Components/Transform.h" TurretController::TurretController(Entity * entity, float rotSpeed, float fireDelay, float cooltime): Component(entity), rotSpeed(rotSpeed), fireDelay(fireDelay), cooltime(cooltime) {...
26.5
101
0.710377
[ "transform" ]
b08551017cc76351c5e5fbeaf73c55741f413573
11,747
cxx
C++
inetsrv/query/query/bindexp.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/query/query/bindexp.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/query/query/bindexp.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1996 - 2000. // // File: bindexp.cxx // // Contents: IFilter binding functions // // Functions: BindIFilterFromStorage // BindIFilterFromStr...
28.374396
93
0.455861
[ "object" ]
b09d12e9d4af913c6a05747aa80175b2bba9b6ac
2,614
hpp
C++
framework/assets.hpp
zakorgy/vulkan-sdk
bb2cdcfd8c0d7769462beb0e5f5c14c14d156280
[ "MIT" ]
196
2017-03-02T23:58:12.000Z
2022-03-23T07:19:50.000Z
framework/assets.hpp
zakorgy/vulkan-sdk
bb2cdcfd8c0d7769462beb0e5f5c14c14d156280
[ "MIT" ]
27
2017-03-04T01:20:46.000Z
2022-03-10T03:42:10.000Z
framework/assets.hpp
zakorgy/vulkan-sdk
bb2cdcfd8c0d7769462beb0e5f5c14c14d156280
[ "MIT" ]
53
2017-03-02T11:48:51.000Z
2022-03-25T02:47:41.000Z
/* Copyright (c) 2016-2017, ARM Limited and Contributors * * SPDX-License-Identifier: MIT * * 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 limita...
42.16129
129
0.732976
[ "vector" ]
b0a87eff92ac39e4f2db2e745b8aa729501f30df
3,729
cc
C++
tools/mkramdisk/create.cc
SmartPolarBear/dionysus-lite
9f02e7a4e1ed983368aa5967bd8412244fc469d9
[ "MIT" ]
24
2020-02-05T15:20:31.000Z
2022-03-29T03:49:06.000Z
tools/mkramdisk/create.cc
SmartPolarBear/dionysus-lite
9f02e7a4e1ed983368aa5967bd8412244fc469d9
[ "MIT" ]
null
null
null
tools/mkramdisk/create.cc
SmartPolarBear/dionysus-lite
9f02e7a4e1ed983368aa5967bd8412244fc469d9
[ "MIT" ]
1
2021-10-15T10:14:39.000Z
2021-10-15T10:14:39.000Z
// Copyright (c) 2021 SmartPolarBear // // 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, merge, publish...
24.86
112
0.667203
[ "vector" ]
b0a9461f50cd4a3d5577b445176b0813c8f687f1
774
cpp
C++
bindings/python/src/serialization.cpp
jcfr/diy
23599226078c426c1d469b32981ee9166f142ebf
[ "BSD-3-Clause-LBNL" ]
43
2016-10-23T14:52:59.000Z
2022-03-18T20:47:06.000Z
bindings/python/src/serialization.cpp
jcfr/diy
23599226078c426c1d469b32981ee9166f142ebf
[ "BSD-3-Clause-LBNL" ]
39
2016-11-25T22:14:09.000Z
2022-01-13T21:44:51.000Z
bindings/python/src/serialization.cpp
jcfr/diy
23599226078c426c1d469b32981ee9166f142ebf
[ "BSD-3-Clause-LBNL" ]
21
2016-11-28T22:08:36.000Z
2022-03-16T10:31:32.000Z
#include "serialization.h" #include <diy/serialization.hpp> using namespace diy; void PyObjectSerialization::save(BinaryBuffer& bb, const py::object& o) { // TODO: find a way to avoid this overhead on every call py::module pickle = py::module::import("pickle"); py::object dumps = pickle.attr("dumps"); ...
25.8
71
0.665375
[ "object" ]
b0a98b711f7b59daabc4351579cd685b582c47f7
2,002
hpp
C++
tests/app/src/opengles2/mordaren/OpenGLES2ShaderBase.hpp
Mactor2018/morda
7194f973783b4472b8671fbb52e8c96e8c972b90
[ "MIT" ]
1
2018-10-27T05:07:05.000Z
2018-10-27T05:07:05.000Z
tests/app/src/opengles2/mordaren/OpenGLES2ShaderBase.hpp
Mactor2018/morda
7194f973783b4472b8671fbb52e8c96e8c972b90
[ "MIT" ]
null
null
null
tests/app/src/opengles2/mordaren/OpenGLES2ShaderBase.hpp
Mactor2018/morda
7194f973783b4472b8671fbb52e8c96e8c972b90
[ "MIT" ]
null
null
null
#pragma once #include <utki/config.hpp> #include <utki/debug.hpp> #include <utki/Exc.hpp> #include <utki/Buf.hpp> #include <kolme/Matrix4.hpp> #include <vector> #include <morda/render/VertexArray.hpp> #if M_OS_NAME == M_OS_NAME_IOS # include <OpenGlES/ES2/glext.h> #else # include <GLES2/gl2.h> #endif #include "Op...
20.222222
83
0.744755
[ "render", "vector" ]
b0ab3f066d533e49b125f1ff9f059337fd44b200
2,646
cpp
C++
codes/HDU/HDU_2222.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
2
2021-03-07T03:34:02.000Z
2021-03-09T01:22:21.000Z
codes/HDU/HDU_2222.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T15:01:23.000Z
2021-03-27T15:55:34.000Z
codes/HDU/HDU_2222.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T05:02:33.000Z
2021-03-27T05:02:33.000Z
//gyrating cat enthusiast #include <iostream> #include <cstdio> #include <cstring> #include <cstdlib> #include <string> #include <utility> #include <cassert> #include <algorithm> #include <vector> #include <random> #include <chrono> #include <queue> #include <set> #define ll long long #define lb long double #define pi...
23.415929
71
0.463719
[ "vector" ]
b0b951e62af33dd00cf41fe9633feb6c94ab11ee
3,328
cpp
C++
sources/headers.cpp
Push0CHKA/lab_2
15fcdfaaad0de5c828e10a3008a6ad3c7332beb6
[ "MIT" ]
null
null
null
sources/headers.cpp
Push0CHKA/lab_2
15fcdfaaad0de5c828e10a3008a6ad3c7332beb6
[ "MIT" ]
null
null
null
sources/headers.cpp
Push0CHKA/lab_2
15fcdfaaad0de5c828e10a3008a6ad3c7332beb6
[ "MIT" ]
null
null
null
//Copyright 2021 pushochka #include <stdexcept> #include <chrono> #include <cmath> #include <iostream> #include <vector> using std::cin; using std::cout; using std::endl; using std::vector; using std::chrono::high_resolution_clock; using std::chrono::duration_cast; using std::chrono::duration; using std::chrono::milli...
25.79845
79
0.528546
[ "vector" ]
b0babbfa1014e0eae4900ca5ca1c8203831ad475
104,579
cpp
C++
src/words/word5.cpp
richardkchapman/nlp-engine
393d9f2b6352f6c41c3aa79ed5f7075cd93950c4
[ "MIT" ]
3
2021-01-08T19:14:43.000Z
2021-06-08T04:52:22.000Z
src/words/word5.cpp
richardkchapman/nlp-engine
393d9f2b6352f6c41c3aa79ed5f7075cd93950c4
[ "MIT" ]
62
2020-06-04T02:37:12.000Z
2022-03-12T12:43:39.000Z
src/words/word5.cpp
richardkchapman/nlp-engine
393d9f2b6352f6c41c3aa79ed5f7075cd93950c4
[ "MIT" ]
7
2019-07-18T19:58:27.000Z
2022-02-02T13:21:20.000Z
// AUTOMATICALLY GENERATED BY wordarrays ANALYZER. #include "StdAfx.h" _TCHAR *word5[]={0, _T("aahed"),_T("aalii"),_T("aargh"),_T("abaca"),_T("abaci"),_T("aback"),_T("abaft"),_T("abaka"),_T("abamp"),_T("abase"), _T("abash"),_T("abate"),_T("abbas"),_T("abbes"),_T("abbey"),_T("abbot"),_T("abeam"),_T("abele"),_T("abets"),...
120.344074
120
0.578644
[ "shape", "model", "solid" ]
37d06b7274bb0894051f98fdd51d5b23d136615e
2,308
cpp
C++
23-mergeKLists.cpp
zjukk/LeetCode-is-my-son
d8851bd2a76f77e4bec89c6a5947acb435fff074
[ "Apache-2.0" ]
null
null
null
23-mergeKLists.cpp
zjukk/LeetCode-is-my-son
d8851bd2a76f77e4bec89c6a5947acb435fff074
[ "Apache-2.0" ]
1
2019-08-15T16:55:04.000Z
2019-08-15T16:55:04.000Z
23-mergeKLists.cpp
zjukk/LeetCode-is-my-son
d8851bd2a76f77e4bec89c6a5947acb435fff074
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include <algorithm> #include <vector> #include <map> #include <limits> using namespace std; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; public: //sol1:Brute force ListNode* mergeLists(vector<ListNode*>& lists) { ...
28.493827
63
0.470971
[ "vector" ]
37d6ae94a8e3a9303ac1bd1252570a3f0ecf4315
491
cpp
C++
Problemset/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-lcof/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-lcof.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
1
2020-10-06T01:06:45.000Z
2020-10-06T01:06:45.000Z
Problemset/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-lcof/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-lcof.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
null
null
null
Problemset/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-lcof/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-lcof.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
1
2021-11-17T13:52:51.000Z
2021-11-17T13:52:51.000Z
// @Title: 数组中数字出现的次数 (数组中数字出现的次数 LCOF) // @Author: Singularity0909 // @Date: 2020-07-20 02:39:10 // @Runtime: 36 ms // @Memory: 15.7 MB class Solution { public: vector<int> singleNumbers(vector<int>& nums) { int res = 0; for (int n : nums) res ^= n; int a = 0, b = 0, mask = 1; ...
21.347826
48
0.468432
[ "vector" ]
37dfd6e463814e2a2149cc7d95d839bc9e725ef9
3,133
hpp
C++
ThirdParty-mod/java2cpp/java/lang/TypeNotPresentException.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/java/lang/TypeNotPresentException.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/java/lang/TypeNotPresentException.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: java.lang.TypeNotPresentException ================================================================================*/ #ifndef J2CPP_INCLUD...
29.838095
150
0.719438
[ "object" ]
37e240d71d8a53a0a256043ee6b26e2c6f6184bd
1,967
cpp
C++
src/control_system/src/lqr_controller.cpp
duckstarr/controller
ed8020a4ba010981a6ea7377f39f0d1490359450
[ "MIT" ]
7
2021-05-15T21:58:46.000Z
2022-02-03T04:34:54.000Z
src/control_system/src/lqr_controller.cpp
duckstarr/controller
ed8020a4ba010981a6ea7377f39f0d1490359450
[ "MIT" ]
null
null
null
src/control_system/src/lqr_controller.cpp
duckstarr/controller
ed8020a4ba010981a6ea7377f39f0d1490359450
[ "MIT" ]
null
null
null
/** * @file lqr_controller.cpp * @brief Infinite-horizon Linear Quadratic Regulator. * */ #include <lqr_controller.hpp> #include <Eigen/Dense> using namespace controller; LQR::LQR( const Eigen::MatrixXd& Q, const Eigen::MatrixXd& R ): Q(Q), R(R) { P.setZero(Q.rows(), Q.cols()); cmd_...
30.734375
117
0.601423
[ "vector" ]
37e39641c833cf202d3d6dba92323fd8e9cd4e10
11,626
cpp
C++
LibFoundation/ComputationalGeometry/Wm4TriangulateEC.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
3
2021-08-02T04:03:03.000Z
2022-01-04T07:31:20.000Z
LibFoundation/ComputationalGeometry/Wm4TriangulateEC.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
null
null
null
LibFoundation/ComputationalGeometry/Wm4TriangulateEC.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
5
2019-10-13T02:44:19.000Z
2021-08-02T04:03:10.000Z
// Geometric Tools, Inc. // http://www.geometrictools.com // Copyright (c) 1998-2006. All Rights Reserved // // The Wild Magic Version 4 Foundation Library source code is supplied // under the terms of the license agreement // http://www.geometrictools.com/License/Wm4FoundationLicense.pdf // and may not be copied ...
28.848635
78
0.493119
[ "transform" ]
37f12ce004332428d588347dd3010ace0495e357
10,281
cpp
C++
addons/ofxGuido/lib/guidolib-code/src/graphic/GRMeter.cpp
k4rm/AscoGraph
9038ae785b6f4f144a3ab5c4c5520761c0cd08f2
[ "MIT" ]
18
2015-01-18T22:34:22.000Z
2020-09-06T20:30:30.000Z
addons/ofxGuido/lib/guidolib-code/src/graphic/GRMeter.cpp
k4rm/AscoGraph
9038ae785b6f4f144a3ab5c4c5520761c0cd08f2
[ "MIT" ]
2
2015-08-04T00:07:46.000Z
2017-05-10T15:53:51.000Z
addons/ofxGuido/lib/guidolib-code/src/graphic/GRMeter.cpp
k4rm/AscoGraph
9038ae785b6f4f144a3ab5c4c5520761c0cd08f2
[ "MIT" ]
10
2015-01-18T23:46:10.000Z
2019-08-25T12:10:04.000Z
/* GUIDO Library Copyright (C) 2002 Holger Hoos, Juergen Kilian, Kai Renz Copyright (C) 2002-2013 Grame 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.0/. Grame ...
27.786486
141
0.629413
[ "vector" ]
37f285c850ab9a23f5ea3f82f31310e28c1448ee
5,339
cpp
C++
tests/core/test_tlsf_heap.cpp
jgavert/FazE
7cf63655869c285a7e5ca8f5a48f296d9548bd6c
[ "MIT" ]
15
2020-01-15T13:04:36.000Z
2022-02-18T17:08:25.000Z
tests/core/test_tlsf_heap.cpp
jgavert/FazE
7cf63655869c285a7e5ca8f5a48f296d9548bd6c
[ "MIT" ]
3
2015-09-09T08:16:30.000Z
2015-11-24T16:22:48.000Z
tests/core/test_tlsf_heap.cpp
jgavert/FazE
7cf63655869c285a7e5ca8f5a48f296d9548bd6c
[ "MIT" ]
1
2021-12-06T07:19:05.000Z
2021-12-06T07:19:05.000Z
#include <catch2/catch_all.hpp> #include <higanbana/core/platform/definitions.hpp> #include <higanbana/core/allocators/heap_allocator_raw.hpp> //#include <css/utils/dynamic_allocator.hpp> TEST_CASE("some basic allocation tests") { constexpr size_t size = 1024; void* heap = malloc(size); higanbana::HeapAllocatorR...
25.183962
59
0.636449
[ "vector" ]
37fa52f372500ffb5825feb7c2653df387c6c05b
3,660
cpp
C++
src/txt/SystemFonts.cpp
Potion/Cinder-Text
c08210a45d384b9461bf01c2ba6a1e06ed84053b
[ "MIT" ]
5
2018-08-10T18:49:03.000Z
2019-10-22T18:04:47.000Z
src/txt/SystemFonts.cpp
Potion/Cinder-Text
c08210a45d384b9461bf01c2ba6a1e06ed84053b
[ "MIT" ]
2
2019-09-27T17:29:35.000Z
2020-03-17T11:16:09.000Z
src/txt/SystemFonts.cpp
Potion/Cinder-Text
c08210a45d384b9461bf01c2ba6a1e06ed84053b
[ "MIT" ]
3
2018-08-06T01:35:10.000Z
2021-05-12T03:16:29.000Z
#include "txt/SystemFonts.h" #include "cinder/Font.h" //#if defined( cinder_msw_desktop ) //#include <windows.h> //#define max(a, b) (((a) > (b)) ? (a) : (b)) //#define min(a, b) (((a) < (b)) ? (a) : (b)) //#include <gdiplus.h> //#undef min //#undef max //#include "cinder/msw/cindermsw.h" //#include "cinder...
25.594406
120
0.63388
[ "vector", "transform" ]
5303d46c80481ab54de33b12520aecd4771400fc
15,670
cpp
C++
src/stolen_cpp_code/Server.cpp
kim3-sudo/developers-against-humanity
5e8e2bb86c3ab3b1d2dd2e899d94bd7bcd1d27f5
[ "Apache-2.0" ]
null
null
null
src/stolen_cpp_code/Server.cpp
kim3-sudo/developers-against-humanity
5e8e2bb86c3ab3b1d2dd2e899d94bd7bcd1d27f5
[ "Apache-2.0" ]
null
null
null
src/stolen_cpp_code/Server.cpp
kim3-sudo/developers-against-humanity
5e8e2bb86c3ab3b1d2dd2e899d94bd7bcd1d27f5
[ "Apache-2.0" ]
null
null
null
/* * The server implementation of Cards Against Humanity * This handles communication between clients and runs the game. * * Written by: Sean Brown * UCID: 10062604 * * Features: * + Accepts any client connection * + Sends messages to clients * + Can receive messages from client * + Implements all steps...
25.943709
108
0.608998
[ "vector" ]
530a67dbf1f63cb6b6df35eeb0c5a9272ac79cbf
2,701
cpp
C++
Google Code Jam/2019/kick start Round C/Circuit Board.cpp
Sohieeb/competitive-programming
fe3fca0d4d2a242053d097c7ae71667a135cfc45
[ "MIT" ]
1
2020-01-30T20:08:24.000Z
2020-01-30T20:08:24.000Z
Google Code Jam/2019/kick start Round C/Circuit Board.cpp
Sohieb/competitive-programming
fe3fca0d4d2a242053d097c7ae71667a135cfc45
[ "MIT" ]
null
null
null
Google Code Jam/2019/kick start Round C/Circuit Board.cpp
Sohieb/competitive-programming
fe3fca0d4d2a242053d097c7ae71667a135cfc45
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using namespace __gnu_cxx; typedef double db; typedef long long ll; typedef pair<db, db> pdd; typedef pair<ll, ll> pll; typedef pair<int, int> pii; typedef unsigned long long ull; #define F first #define S second #define pnl printf("\n") #define ...
28.135417
81
0.413551
[ "vector" ]
531975b1212b9e43f4de153904d634b956d0f7bc
3,747
cpp
C++
aws-cpp-sdk-customer-profiles/source/model/AppflowIntegrationWorkflowStep.cpp
irods/aws-sdk-cpp
ea5a4d61a26c1eac41443fb9829e969ebac6e09b
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-customer-profiles/source/model/AppflowIntegrationWorkflowStep.cpp
irods/aws-sdk-cpp
ea5a4d61a26c1eac41443fb9829e969ebac6e09b
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-customer-profiles/source/model/AppflowIntegrationWorkflowStep.cpp
irods/aws-sdk-cpp
ea5a4d61a26c1eac41443fb9829e969ebac6e09b
[ "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/customer-profiles/model/AppflowIntegrationWorkflowStep.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Util...
22.572289
94
0.752869
[ "model" ]
531b876e07d30b2b705f84ac58caa564ece26ef7
4,818
cpp
C++
tests/06-network/network.cpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
81
2018-12-11T20:48:41.000Z
2022-03-18T22:24:11.000Z
tests/06-network/network.cpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
7
2020-04-19T11:50:39.000Z
2021-11-12T16:08:53.000Z
tests/06-network/network.cpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
4
2019-04-24T11:51:29.000Z
2021-03-10T05:26:33.000Z
#include "gfx/gfx.hpp" #include "gfx/Application.hpp" #include "en/World.hpp" #include "3d/RenderSystem.hpp" #include "3d/SceneSystem.hpp" #include "3d/Camera.hpp" #include "3d/BoxShape.hpp" #include "net/ServerSystem.hpp" #include "net/ClientSystem.hpp" #include "core/log.h" void RpcServerTest(int i) { log_debug("Rp...
25.09375
108
0.695102
[ "3d" ]
5322133886d184b07b8393fc8a200ca4b81295a9
58,332
cpp
C++
example_quadruped_leg_kinematics/src/ikfast.cpp
ajshort/cdrm
d5140740555a56c1e17518c3f6ab882275c530d7
[ "MIT" ]
4
2020-04-19T13:03:19.000Z
2020-09-10T04:43:52.000Z
example_quadruped_leg_kinematics/src/ikfast.cpp
ajshort/cdrm
d5140740555a56c1e17518c3f6ab882275c530d7
[ "MIT" ]
1
2020-05-14T08:25:56.000Z
2020-05-31T00:14:11.000Z
example_quadruped_leg_kinematics/src/ikfast.cpp
ajshort/cdrm
d5140740555a56c1e17518c3f6ab882275c530d7
[ "MIT" ]
null
null
null
/// autogenerated analytical inverse kinematics code from ikfast program part of OpenRAVE /// \author Rosen Diankov /// /// 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....
29.490394
402
0.638226
[ "object", "vector" ]
53228af6c3c12e93257a5e932cdccb0c40685bc6
5,852
cpp
C++
src/Frontend/ParseDecl.cpp
mshockwave/gross
4cf048bbdf41a03a083b99c5dbaf14c249eaf407
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
47
2019-03-26T01:50:04.000Z
2022-02-16T21:25:39.000Z
src/Frontend/ParseDecl.cpp
mshockwave/gross
4cf048bbdf41a03a083b99c5dbaf14c249eaf407
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/Frontend/ParseDecl.cpp
mshockwave/gross
4cf048bbdf41a03a083b99c5dbaf14c249eaf407
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
2
2019-04-04T14:08:44.000Z
2019-06-18T14:04:25.000Z
#include "gross/Support/Log.h" #include "gross/Graph/Graph.h" #include "gross/Graph/NodeUtils.h" #include "gross/Graph/NodeMarker.h" #include "Parser.h" using namespace gross; template<IrOpcode::ID OC> bool Parser::ParseTypeDecl(NodeBuilder<OC>& NB) { gross_unreachable("Unimplemented"); return false; } namespace ...
26.479638
75
0.634313
[ "vector" ]
532c16de95410451f37832716be108c2b65421a1
983
cpp
C++
Atcoder/ABC188/D.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
4
2021-01-27T11:51:30.000Z
2021-01-30T17:02:55.000Z
Atcoder/ABC188/D.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
null
null
null
Atcoder/ABC188/D.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
5
2021-01-27T11:46:12.000Z
2021-05-06T05:37:47.000Z
#include <bits/stdc++.h> #define x first #define y second #define pb push_back #define all(v) v.begin(),v.end() #pragma gcc optimize("O3") #pragma gcc optimize("Ofast") #pragma gcc optimize("unroll-loops") using namespace std; const int INF = 1e9; const int TMX = 1 << 18; const long long llINF = 2e18; const long long ...
20.914894
46
0.620549
[ "vector" ]
53326601903f744507f893c4c512a73878b374e1
1,407
cc
C++
dbus-binding-generator/chromeos-dbus-bindings/method_name_generator.cc
Keneral/ae1
e5bbf05e3a01b449f33cca14c5ce8048df45624b
[ "Unlicense" ]
null
null
null
dbus-binding-generator/chromeos-dbus-bindings/method_name_generator.cc
Keneral/ae1
e5bbf05e3a01b449f33cca14c5ce8048df45624b
[ "Unlicense" ]
null
null
null
dbus-binding-generator/chromeos-dbus-bindings/method_name_generator.cc
Keneral/ae1
e5bbf05e3a01b449f33cca14c5ce8048df45624b
[ "Unlicense" ]
null
null
null
// Copyright 2014 The Chromium OS 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 "chromeos-dbus-bindings/method_name_generator.h" #include <base/files/file_path.h> #include <base/strings/stringprintf.h> #include "chromeos...
29.93617
76
0.7086
[ "vector" ]
5332c604d6408f6b11a16cf3ba1a19e384edd33f
5,280
cpp
C++
tasks/CodeForces/R366/TaskC.cpp
ducaddepar/ProgrammingContest
4c47cada50ed23bd841cfea06a377a4129d4d88f
[ "MIT" ]
39
2018-08-26T05:53:19.000Z
2021-12-11T07:47:24.000Z
tasks/CodeForces/R366/TaskC.cpp
ducaddepar/ProgrammingContest
4c47cada50ed23bd841cfea06a377a4129d4d88f
[ "MIT" ]
1
2018-06-21T00:40:41.000Z
2018-06-21T00:40:46.000Z
tasks/CodeForces/R366/TaskC.cpp
ducaddepar/ProgrammingContest
4c47cada50ed23bd841cfea06a377a4129d4d88f
[ "MIT" ]
8
2018-08-27T00:34:23.000Z
2020-09-27T12:51:22.000Z
#include "global.hpp" #include "Scanner.hpp" struct Edge { int edgeId; int begin, end; bool signBegin, signEnd; Edge(int edgeId, int begin, int end, bool signBegin, bool signEnd) : edgeId(edgeId), begin(begin), end(end), signBegin(signBegin), signEnd(signEnd) { } }; struct Graph { ...
23.571429
117
0.491098
[ "vector" ]
533b3fc51ca8206e61bb0f52f68b3fc41900b72b
644
cpp
C++
bonsai/test/semi_persistent_vector.cpp
rsk0315/codefolio
1de990978489f466e1fd47884d4a19de9cc30e02
[ "MIT" ]
1
2020-03-20T13:24:30.000Z
2020-03-20T13:24:30.000Z
bonsai/test/semi_persistent_vector.cpp
rsk0315/codefolio
1de990978489f466e1fd47884d4a19de9cc30e02
[ "MIT" ]
null
null
null
bonsai/test/semi_persistent_vector.cpp
rsk0315/codefolio
1de990978489f466e1fd47884d4a19de9cc30e02
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> #include <utility> #include <vector> #include <random> #include "../../DataStructure/semi_persistent_vector.cpp" int main() { size_t n = 10; semi_persistent_vector<int> spa(n); size_t t = 10; std::mt19937 rsk(0315); std::uniform_int_distribution<size_t> neko(0, n-1); ...
23.851852
57
0.582298
[ "vector" ]
c727d4c958df75528cc023b0f0155dfb5a890d20
4,773
cpp
C++
main.cpp
sfan5/dnshammer
06f783ea304d6e6975049712405d9f172bedd5d4
[ "MIT" ]
2
2018-05-26T14:44:17.000Z
2018-05-27T03:35:58.000Z
main.cpp
sfan5/dnshammer
06f783ea304d6e6975049712405d9f172bedd5d4
[ "MIT" ]
null
null
null
main.cpp
sfan5/dnshammer
06f783ea304d6e6975049712405d9f172bedd5d4
[ "MIT" ]
null
null
null
#include <getopt.h> #include <iostream> #include <fstream> #include <set> #include "common.hpp" #include "socket.hpp" #include "dns.hpp" #include "query.hpp" static void usage(); static bool parse_resolver_list(std::istream &s, std::vector<SocketAddress> &res); static bool parse_query_list(std::istream &s, std::vecto...
23.057971
104
0.602556
[ "vector" ]
c72ac655123cf6e4678ab6d59eb1af3649ab8823
859
cpp
C++
cpp_snippet/dp/D-Knapsack1.cpp
hsmtknj/programming-contest
b0d7f8a2d12fb031d3a802e6a4769cd6d2defcab
[ "MIT" ]
null
null
null
cpp_snippet/dp/D-Knapsack1.cpp
hsmtknj/programming-contest
b0d7f8a2d12fb031d3a802e6a4769cd6d2defcab
[ "MIT" ]
null
null
null
cpp_snippet/dp/D-Knapsack1.cpp
hsmtknj/programming-contest
b0d7f8a2d12fb031d3a802e6a4769cd6d2defcab
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> int main() { // 入力 (1-based indexing) long long N; long long W; std::cin >> N >> W; std::vector<long long> w(N+1, 0); std::vector<long long> v(N+1, 0); for (int i = 0; i < N; i++) std::cin >> w[i+1] >> v[i+1]; // 問題を解く std::vector<std::vector<long long>> dp...
26.030303
103
0.472643
[ "vector" ]
c7381c8b4ebfbaf8823db6808c6b7b1eea54bcc8
643
cpp
C++
1000-1100/1002. Find Common Characters.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
1000-1100/1002. Find Common Characters.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
1000-1100/1002. Find Common Characters.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
class Solution { public: vector<string> commonChars(vector<string> &words) { vector<int> cnt(26, 0); for (auto &c : words[0]) { cnt[c - 'a']++; } for (int i = 1; i < words.size(); i++) { vector<int> tmp(26, 0); for (auto &c : words[i]) { tmp[c - 'a']++; ...
18.371429
51
0.402799
[ "vector" ]
c738f6375950cf3cda5d9325e4e4af220b9829b2
15,581
cpp
C++
libmevent/meventmgr.cpp
stardog-union/rocks_snmp
7fa1a752957c7b4999833d89e5a8023d855d8ce8
[ "Apache-2.0" ]
null
null
null
libmevent/meventmgr.cpp
stardog-union/rocks_snmp
7fa1a752957c7b4999833d89e5a8023d855d8ce8
[ "Apache-2.0" ]
null
null
null
libmevent/meventmgr.cpp
stardog-union/rocks_snmp
7fa1a752957c7b4999833d89e5a8023d855d8ce8
[ "Apache-2.0" ]
1
2020-11-14T16:41:51.000Z
2020-11-14T16:41:51.000Z
/** * @file meventmgr.cpp * @author matthewv * @date Created February 22, 2010 * @date Copyright 2011 * * @brief Event object and event list (manager) */ #include <errno.h> #include <fcntl.h> #include <memory.h> #include <sys/epoll.h> #include <unistd.h> #include "meventmgr.h" #include "logging.h" // exists i...
24.81051
96
0.592067
[ "object" ]
c73ea329a12bcbf5b09c9d2cfa594ac5d60ce1d0
680
cpp
C++
graph-source-code/29-C/126862.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/29-C/126862.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/29-C/126862.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <cstdio> #include <vector> #include <map> using namespace std; int n,x,y,z,k,i,s[222222]; vector <int> g[222222]; map <int, int> m; int main() { scanf("%d",&n); for (i=0; i<n; i++) { scanf("%d",&x); y=m[x]; if (y==0) { m[x]=y=++k; s[k]=x; } scanf("%d",&x); z=m[...
21.935484
49
0.426471
[ "vector" ]
c742cdf0417165fb70872415abd66830b384bbcf
9,243
cpp
C++
src/objects/Pickup.cpp
ashleygwinnell/foh-ld42
4ed004c193087d936337d6365493e3397ca99137
[ "MIT" ]
null
null
null
src/objects/Pickup.cpp
ashleygwinnell/foh-ld42
4ed004c193087d936337d6365493e3397ca99137
[ "MIT" ]
null
null
null
src/objects/Pickup.cpp
ashleygwinnell/foh-ld42
4ed004c193087d936337d6365493e3397ca99137
[ "MIT" ]
null
null
null
/* * Pickup.cpp * * Created on: 29 Jan 2011 * Author: Ashley */ #include "Pickup.h" #include "MyParticle.h" #include "Enemy.h" #include "Player.h" #include "../DefaultGame.h" #include "EightWayMovementComponent.h" #include <ARK2D/Core/+.h> #include <ARK2D/Audio/Sound.h> #include <ARK2D/Util/CameraShake.h> ...
30.404605
165
0.706156
[ "geometry", "render", "object" ]
c744793472c1f93276e69208581c2939726bc1f5
1,479
cc
C++
2021/21/main1.cc
coffee-addict/AOC
f2a8da10970b085d01dc1df995764d297219a427
[ "CC0-1.0" ]
null
null
null
2021/21/main1.cc
coffee-addict/AOC
f2a8da10970b085d01dc1df995764d297219a427
[ "CC0-1.0" ]
null
null
null
2021/21/main1.cc
coffee-addict/AOC
f2a8da10970b085d01dc1df995764d297219a427
[ "CC0-1.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define FOR(i,s,e) for(int i=(s);(i)<(int)(e);++(i)) #define REP(i,e) FOR(i,0,e) #define all(o) (o).begin(), (o).end() #define epb(x) emplace_back((x)) #define psb(x) push_back((x)) #define ppb(x) pop_back((x)) #define mkp(x,y) make_pair((x),(y)) #define mkt(x,y,z) make_tu...
19.460526
66
0.485463
[ "vector" ]
c74faf0fb3fc095fbaede1718dea961effaa4681
4,305
hpp
C++
include/uit/ducts/proc/impl/backend/impl/InletMemoryAccumulatingPool.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
15
2020-07-31T23:06:09.000Z
2022-01-13T18:05:33.000Z
include/uit/ducts/proc/impl/backend/impl/InletMemoryAccumulatingPool.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
137
2020-08-13T23:32:17.000Z
2021-10-16T04:00:40.000Z
include/uit/ducts/proc/impl/backend/impl/InletMemoryAccumulatingPool.hpp
mmore500/pipe-profile
861babd819909d1bda5e933269e7bc64018272d6
[ "MIT" ]
3
2020-08-09T01:52:03.000Z
2020-10-02T02:13:47.000Z
#pragma once #ifndef UIT_DUCTS_PROC_IMPL_BACKEND_IMPL_INLETMEMORYACCUMULATINGPOOL_HPP_INCLUDE #define UIT_DUCTS_PROC_IMPL_BACKEND_IMPL_INLETMEMORYACCUMULATINGPOOL_HPP_INCLUDE #include <algorithm> #include "../../../../../../../third-party/Empirical/include/emp/base/assert.hpp" #include "../../../../../../../third-par...
26.73913
90
0.659233
[ "vector" ]
c75596030bcd9985bd586b266b0eb1ce6bcf43ea
3,308
cpp
C++
src/Samples/src/samples/materials/shadermaterial/shader_material_skybox_scene.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
277
2017-05-18T08:27:10.000Z
2022-03-26T01:31:37.000Z
src/Samples/src/samples/materials/shadermaterial/shader_material_skybox_scene.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
77
2017-09-03T15:35:02.000Z
2022-03-28T18:47:20.000Z
src/Samples/src/samples/materials/shadermaterial/shader_material_skybox_scene.cpp
sacceus/BabylonCpp
94669cf7cbe3214ec6e905cbf249fa0c9daf6222
[ "Apache-2.0" ]
37
2017-03-30T03:36:24.000Z
2022-01-28T08:28:36.000Z
#include <babylon/cameras/free_camera.h> #include <babylon/interfaces/irenderable_scene.h> #include <babylon/lights/hemispheric_light.h> #include <babylon/materials/effect.h> #include <babylon/materials/effect_shaders_store.h> #include <babylon/materials/shader_material.h> #include <babylon/meshes/mesh.h> #include <bab...
26.894309
99
0.724909
[ "mesh" ]
c75ef7289d77dec7c6895dea4a32275a4153718a
28,018
cpp
C++
python/py-parse.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
python/py-parse.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
python/py-parse.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
// -*- coding: us-ascii-unix -*- // Copyright 2014 Lukas Kemmer // // Licensed under the Apache License, Version 2.0 (the "License"); you // may not use this file except in compliance with the License. You // may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
24.750883
89
0.662181
[ "object", "shape" ]
c762ace0d86333d9f70158a27e45b7eeac0e5d7e
568
cpp
C++
Problemset/cong-shang-dao-xia-da-yin-er-cha-shu-lcof/cong-shang-dao-xia-da-yin-er-cha-shu-lcof.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
1
2020-10-06T01:06:45.000Z
2020-10-06T01:06:45.000Z
Problemset/cong-shang-dao-xia-da-yin-er-cha-shu-lcof/cong-shang-dao-xia-da-yin-er-cha-shu-lcof.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
null
null
null
Problemset/cong-shang-dao-xia-da-yin-er-cha-shu-lcof/cong-shang-dao-xia-da-yin-er-cha-shu-lcof.cpp
Singularity0909/LeetCode
d46fb1c8ed9b16339d46d5c37f69d44e5c178954
[ "MIT" ]
1
2021-11-17T13:52:51.000Z
2021-11-17T13:52:51.000Z
// @Title: 从上到下打印二叉树 (从上到下打印二叉树 LCOF) // @Author: Singularity0909 // @Date: 2020-07-21 20:26:09 // @Runtime: 4 ms // @Memory: 12 MB class Solution { public: vector<int> levelOrder(TreeNode* root) { if (!root) return {}; vector<int> res; queue<TreeNode*> q; q.push(root); whi...
22.72
47
0.503521
[ "vector" ]
c7657a6e15ad44a8f5c1bbe39e244ad3c29c2ee2
6,098
cpp
C++
src/Pipeline.cpp
chao-mu/vidrevolt
d7be4ed7a30ef9cec794c54ca1a06e4117420604
[ "MIT" ]
null
null
null
src/Pipeline.cpp
chao-mu/vidrevolt
d7be4ed7a30ef9cec794c54ca1a06e4117420604
[ "MIT" ]
null
null
null
src/Pipeline.cpp
chao-mu/vidrevolt
d7be4ed7a30ef9cec794c54ca1a06e4117420604
[ "MIT" ]
null
null
null
#include "Pipeline.h" // STL #include <stdexcept> // Ours #include "midi/Device.h" #include "KeyboardManager.h" #include "osc/Server.h" #include "gl/ParamSet.h" namespace vidrevolt { Pipeline::Pipeline() : rand_gen_(rand_dev_()) {} void Pipeline::load(const Resolution& resolution) { resolution_ = re...
27.102222
140
0.566087
[ "render", "vector" ]
c768d271c8133a095f151b46fbbf215e987d8999
5,870
cpp
C++
BenchElise/bench/b_0_1.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
451
2016-11-25T09:40:28.000Z
2022-03-30T04:20:42.000Z
BenchElise/bench/b_0_1.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
143
2016-11-25T20:35:57.000Z
2022-03-01T11:58:02.000Z
BenchElise/bench/b_0_1.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
139
2016-12-02T10:26:21.000Z
2022-03-10T19:40:29.000Z
/*eLiSe06/05/99 Copyright (C) 1999 Marc PIERROT DESEILLIGNY eLiSe : Elements of a Linux Image Software Environment 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 ...
23.574297
84
0.550256
[ "vector" ]
c773f5c5b883e193b0d0327e4819f81a810fd4f5
1,632
cpp
C++
OTHER/PlyProgram/PlyVisualization/src/ply/readPly.cpp
Magic-Xin/Luogu
d8f1b4461f33f946c0a9ce4d36f1e5369518b7a6
[ "MIT" ]
15
2020-10-08T06:59:38.000Z
2021-11-30T11:20:22.000Z
OTHER/PlyProgram/PlyVisualization/src/ply/readPly.cpp
Magic-Xin/Luogu
d8f1b4461f33f946c0a9ce4d36f1e5369518b7a6
[ "MIT" ]
1
2022-03-12T01:00:59.000Z
2022-03-12T01:00:59.000Z
OTHER/PlyProgram/PlyVisualization/src/ply/readPly.cpp
Magic-Xin/Luogu
d8f1b4461f33f946c0a9ce4d36f1e5369518b7a6
[ "MIT" ]
2
2021-02-08T11:30:20.000Z
2021-05-31T06:47:34.000Z
// // Created by MagicXin on 2021/4/9. // #include "readPly.h" void read_ply_file(const std::string filepath, std::vector<float3> &verts) { try { std::ifstream ss(filepath); if (ss.fail()) { throw std::runtime_error("Failed to open: " + filepath); } tinyply::PlyFile fi...
28.631579
99
0.580882
[ "vector" ]
c78115e430e6d191571ea7114a5e08619713d819
540
cpp
C++
C++/1431. KidsWithTheGreatesNumberOfCandies.cpp
nizD/LeetCode-Solutions
7f4ca37bab795e0d6f9bfd9148a8fe3b62aa5349
[ "MIT" ]
263
2020-10-05T18:47:29.000Z
2022-03-31T19:44:46.000Z
C++/1431. KidsWithTheGreatesNumberOfCandies.cpp
nizD/LeetCode-Solutions
7f4ca37bab795e0d6f9bfd9148a8fe3b62aa5349
[ "MIT" ]
1,264
2020-10-05T18:13:05.000Z
2022-03-31T23:16:35.000Z
C++/1431. KidsWithTheGreatesNumberOfCandies.cpp
nizD/LeetCode-Solutions
7f4ca37bab795e0d6f9bfd9148a8fe3b62aa5349
[ "MIT" ]
760
2020-10-05T18:22:51.000Z
2022-03-29T06:06:20.000Z
/** * Solution to Kids With the Greatest Number of Candies in CPP * * author: ITES7321 * ref:https://leetcode.com/problems/kids-with-the-greatest-number-of-candies/ */ class Solution { public: vector<bool> kidsWithCandies(vector<int>& candies, int extraCandies) { int m = *max_element(candies.begin(),c...
27
78
0.583333
[ "vector" ]
c784521bc1c5c8a34b6707aa3fd9665e76dbc6bc
9,201
cpp
C++
SGL_BRP/src/BRP_Cube.cpp
Jesseblast/SGL
0ad1302ae024853e322fd1f0ad366059379a5fb0
[ "Zlib" ]
null
null
null
SGL_BRP/src/BRP_Cube.cpp
Jesseblast/SGL
0ad1302ae024853e322fd1f0ad366059379a5fb0
[ "Zlib" ]
null
null
null
SGL_BRP/src/BRP_Cube.cpp
Jesseblast/SGL
0ad1302ae024853e322fd1f0ad366059379a5fb0
[ "Zlib" ]
null
null
null
#include "BRP_Cube.h" namespace SGL { /* ***************************************************************************************** */ BRP_Cube::BRP_Cube( const BRP_Camera& camera, const BRP_Shader& shader, const Vector3<float>& size, const Texture* diffuseMap, const T...
30.875839
113
0.44843
[ "vector", "transform" ]
c784cb2abfad4c61521d2fa541f78c46102784de
18,596
cpp
C++
docker/water/delft3d/tags/v6686/src/engines_gpl/flow2d3d/packages/flow2d3d/src/dd/mapper/mapper_config.cpp
liujiamingustc/phd
4f815a738abad43531d02ac66f5bd0d9a1def52a
[ "Apache-2.0" ]
3
2021-01-06T03:01:18.000Z
2022-03-21T03:02:55.000Z
docker/water/delft3d/tags/v6686/src/engines_gpl/flow2d3d/packages/flow2d3d/src/dd/mapper/mapper_config.cpp
liujiamingustc/phd
4f815a738abad43531d02ac66f5bd0d9a1def52a
[ "Apache-2.0" ]
null
null
null
docker/water/delft3d/tags/v6686/src/engines_gpl/flow2d3d/packages/flow2d3d/src/dd/mapper/mapper_config.cpp
liujiamingustc/phd
4f815a738abad43531d02ac66f5bd0d9a1def52a
[ "Apache-2.0" ]
null
null
null
//---- GPL --------------------------------------------------------------------- // // Copyright (C) Stichting Deltares, 2011-2016. // // 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 version ...
28.434251
187
0.523769
[ "object", "3d" ]
c7901634f0edafcd2b3437559d99bf5cedb2d270
6,680
cpp
C++
Lab03/code/main.cpp
jz1371/COURSE_NYU_Operating-System
e79424b5e054c94cc9d65d54c7b815f01e157061
[ "MIT" ]
null
null
null
Lab03/code/main.cpp
jz1371/COURSE_NYU_Operating-System
e79424b5e054c94cc9d65d54c7b815f01e157061
[ "MIT" ]
null
null
null
Lab03/code/main.cpp
jz1371/COURSE_NYU_Operating-System
e79424b5e054c94cc9d65d54c7b815f01e157061
[ "MIT" ]
7
2019-02-18T15:11:38.000Z
2021-11-02T17:26:51.000Z
/* * File: a.cpp * ------------------ * By : Jingxin Zhu * Date : 04/2014 * Usage: * 1. to compile, g++ -o mmu a.cpp FaultHandler.cpp HandlerFIFO.cpp HandlerSC.cpp HandlerClock.cpp HandlerRandom.cpp HandlerLRU.cpp HandlerNRU.cpp HandlerAging.cpp Or type 'make' to take advantage of...
24.832714
81
0.605689
[ "vector", "3d" ]
c798f69442873c9abfae31d083e9db31d940e83d
5,865
cpp
C++
snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
834
2017-06-24T10:40:36.000Z
2022-03-31T19:48:51.000Z
snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
7,042
2017-06-23T22:34:47.000Z
2022-03-31T23:05:23.000Z
snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ListView1/CPP/form1.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
1,640
2017-06-23T22:31:39.000Z
2022-03-31T02:45:37.000Z
// The following Snippet code example demonstrates using the: // ListView.MultiSelect, ListView.SelectedItems, // ListView.SelectIndices, SelectedIndexCollection, // SelectedListViewItemCollection ListView.SelectedIndexChanged event, // and ListView.HeaderStyle members and the SelectedIndexCollection and // Selec...
38.084416
127
0.663427
[ "object" ]
c7aa6d21adb785240d197ae96afc5384786ed677
634
hpp
C++
median-finder/median_finder.hpp
lmdamato/median-finder
82eb239db34e627e78e478c7e84b882840f025f1
[ "MIT" ]
null
null
null
median-finder/median_finder.hpp
lmdamato/median-finder
82eb239db34e627e78e478c7e84b882840f025f1
[ "MIT" ]
null
null
null
median-finder/median_finder.hpp
lmdamato/median-finder
82eb239db34e627e78e478c7e84b882840f025f1
[ "MIT" ]
null
null
null
// // median_finder.hpp // median-finder // // Copyright © 2016 Luigi Damato. All rights reserved. // #ifndef median_finder_hpp #define median_finder_hpp #include <queue> #include <vector> #include <functional> template<class T> class median_finder { private: std::priority_queue<T, std::vector<T>, std::l...
18.114286
67
0.656151
[ "vector" ]
c7c68c6bc0269087c5e6fce2f9d938d30249d9d9
13,440
cpp
C++
code/editors/xrECoreLite/EditMesh.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
7
2018-03-27T12:36:07.000Z
2020-06-26T11:31:52.000Z
code/editors/xrECoreLite/EditMesh.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
2
2018-05-26T23:17:14.000Z
2019-04-14T18:33:27.000Z
code/editors/xrECoreLite/EditMesh.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
3
2019-10-20T19:35:34.000Z
2022-02-28T01:42:10.000Z
//---------------------------------------------------- // file: StaticMesh.cpp //---------------------------------------------------- #include "xrCore\xrCore.h" #include "files_list.hpp" #pragma hdrstop #include "EditMesh.h" #include "EditObject.h" #include "../../utils/common/itterate_adjacents.h" #include "itterate_a...
24.303797
183
0.615699
[ "render", "object" ]
c7ca956c21340e832ff37fe5aa47090b830f6eaa
19,591
cpp
C++
Calib_2d/main.cpp
Hxxawl499295/Drareni-Calibration-Algorithm-for-Line-Scan-Camera
cf2e25e8147e0e6350d8f819dbe6e5ad717c6ff0
[ "MIT" ]
2
2021-08-24T08:39:16.000Z
2022-01-11T12:46:55.000Z
Calib_2d/main.cpp
Hxxawl499295/Drareni-Calibration-Algorithm-for-Line-Scan-Camera
cf2e25e8147e0e6350d8f819dbe6e5ad717c6ff0
[ "MIT" ]
1
2021-12-07T07:26:15.000Z
2021-12-07T07:26:15.000Z
Calib_2d/main.cpp
Hxxawl499295/Drareni-Calibration-Algorithm-for-Line-Scan-Camera
cf2e25e8147e0e6350d8f819dbe6e5ad717c6ff0
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <opencv2/highgui/highgui.hpp> #include <opencv2/aruco.hpp> //用opencv自带的aruco模块 #include <opencv2/aruco/dictionary.hpp> #include <string> #include <vector> #include <regex> #include "calibration.h" using namespace std; using namespace cv; int main() { string imgFol...
42.962719
141
0.641417
[ "object", "vector" ]
c7cb4db658557710f5778612c5a5cb3b8a6772c2
2,592
cpp
C++
PlatformerEngine/main.cpp
pixelpicosean/PlatformerEngine
2093289bac9fd7de53bfa64a445c05c3d30dff86
[ "MIT" ]
1
2020-11-03T16:04:25.000Z
2020-11-03T16:04:25.000Z
PlatformerEngine/main.cpp
pixelpicosean/PlatformerEngine
2093289bac9fd7de53bfa64a445c05c3d30dff86
[ "MIT" ]
null
null
null
PlatformerEngine/main.cpp
pixelpicosean/PlatformerEngine
2093289bac9fd7de53bfa64a445c05c3d30dff86
[ "MIT" ]
null
null
null
// // Disclaimer: // ---------- // // This code will work only if you selected window, graphics and audio. // // Note that the "Run Script" build phase will copy the required frameworks // or dylibs to your application bundle so you can execute it on any OS X // computer. // // Your resource files (images, sounds, fon...
26.721649
90
0.528164
[ "render" ]
c7cd4477970a99ed1ab4f46fa564c208e09da6de
2,520
cpp
C++
inetsrv/iis/svcs/smtp/aqueue/aqadmin/src/dllmain.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/iis/svcs/smtp/aqueue/aqadmin/src/dllmain.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/iis/svcs/smtp/aqueue/aqadmin/src/dllmain.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//----------------------------------------------------------------------------- // // // File: dllmain.cpp // // Description: DLL main for aqadmin.dll // // Author: Alex Wetmore (Awetmore) // // History: // 12/10/98 - MikeSwa Updated for initial checkin // // Copyright (C) 1998 Microsoft Corporati...
25.2
82
0.512302
[ "object" ]
c7ce6e0859f4f0d8dedd986a1d1be440231eb0b0
4,023
cpp
C++
src/tests/ascent/t_ascent_mpi_multi_topo.cpp
srini009/ascent
70558059dc3fe514206781af6e48715d8934c37c
[ "BSD-3-Clause" ]
null
null
null
src/tests/ascent/t_ascent_mpi_multi_topo.cpp
srini009/ascent
70558059dc3fe514206781af6e48715d8934c37c
[ "BSD-3-Clause" ]
null
null
null
src/tests/ascent/t_ascent_mpi_multi_topo.cpp
srini009/ascent
70558059dc3fe514206781af6e48715d8934c37c
[ "BSD-3-Clause" ]
null
null
null
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// // Copyright (c) Lawrence Livermore National Security, LLC and other Ascent // Project developers. See top-level LICENSE AND COPYRIGHT files for dates and // other details. No copyright assignment is required to contribute to Ascent. //~~~~...
27.182432
79
0.56003
[ "mesh" ]
93acfc12c793ab63ed14c50ca213cb6792f9e2da
1,056
cpp
C++
boboleetcode/Play-Leetcode-master/0954-canReorderDoubled/cpp-0954/main.cpp
yaominzh/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
2
2021-03-25T05:26:55.000Z
2021-04-20T03:33:24.000Z
boboleetcode/Play-Leetcode-master/0954-canReorderDoubled/cpp-0954/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
6
2019-12-04T06:08:32.000Z
2021-05-10T20:22:47.000Z
boboleetcode/Play-Leetcode-master/0954-canReorderDoubled/cpp-0954/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
null
null
null
/// Source : https://leetcode.com/problems/array-of-doubled-pairs/ /// Author : liuyubobobo /// Time : 2018-12-12 #include <iostream> #include <vector> #include <unordered_map> using namespace std; /// Greedy, from large absolute value to small absolute value /// Time Complexity: O(nlogn) /// Space Complexity: O(...
21.55102
76
0.482008
[ "vector" ]
93b1fd3f8ce6176a6089a61a50ed7c2b6b2d0151
736
cpp
C++
test/data_structure/range_minimum_query_and_range_add_query.test.cpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
1
2021-12-26T14:17:29.000Z
2021-12-26T14:17:29.000Z
test/data_structure/range_minimum_query_and_range_add_query.test.cpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
3
2020-07-13T06:23:02.000Z
2022-02-16T08:54:26.000Z
test/data_structure/range_minimum_query_and_range_add_query.test.cpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
null
null
null
/* * @brief データ構造/遅延伝播セグメント木 (range minimum query and range add query) */ #define PROBLEM "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_2_H" #include <iostream> #include <limits> #include <vector> #include "../../data_structure/lazy_segment_tree.hpp" int main() { int n, q; std::cin >...
26.285714
136
0.567935
[ "vector" ]
93c1d3dae30ef8fa4630fd953f16aa250c1e8904
4,694
cpp
C++
src/d3d12/render_pass/d3d12_render_pass_postprocess.cpp
jimbi-o/illuminate
4dc75c927a4ce1f722f42f84e4b1a1524e9958e3
[ "MIT" ]
null
null
null
src/d3d12/render_pass/d3d12_render_pass_postprocess.cpp
jimbi-o/illuminate
4dc75c927a4ce1f722f42f84e4b1a1524e9958e3
[ "MIT" ]
null
null
null
src/d3d12/render_pass/d3d12_render_pass_postprocess.cpp
jimbi-o/illuminate
4dc75c927a4ce1f722f42f84e4b1a1524e9958e3
[ "MIT" ]
null
null
null
#include "d3d12_render_pass_postprocess.h" #include "d3d12_render_pass_util.h" namespace illuminate { namespace { struct Param { BufferSizeRelativeness size_type{BufferSizeRelativeness::kPrimaryBufferRelative}; uint32_t rtv_index{0}; void** cbv_ptr{nullptr}; uint32_t cbv_size{0}; }; auto UpdatePingpongA(RenderP...
51.021739
197
0.758415
[ "render" ]
93cd438e5b5c693570fac4b8de6eb613015a408e
2,573
cpp
C++
middleware/common/source/buffer/transport.cpp
tompis/casual
d838716c7052a906af8a19e945a496acdc7899a2
[ "MIT" ]
null
null
null
middleware/common/source/buffer/transport.cpp
tompis/casual
d838716c7052a906af8a19e945a496acdc7899a2
[ "MIT" ]
null
null
null
middleware/common/source/buffer/transport.cpp
tompis/casual
d838716c7052a906af8a19e945a496acdc7899a2
[ "MIT" ]
null
null
null
//! //! transport.cpp //! //! Created on: Dec 27, 2014 //! Author: Lazan //! #include "common/buffer/transport.h" #include "common/buffer/pool.h" #include "common/algorithm.h" namespace casual { namespace common { namespace buffer { namespace transport { bool o...
28.588889
153
0.508745
[ "vector" ]
93cdf672a4feebd2414d7e9e9b1cdbef9ee46b40
5,075
cc
C++
tools/em.cc
MIRTK/NeoSeg
d2ff4e307638727d66aff3ece25496677bbd8df1
[ "Apache-2.0" ]
16
2016-03-25T22:39:48.000Z
2021-07-07T09:35:23.000Z
tools/em.cc
MIRTK/NeoSeg
d2ff4e307638727d66aff3ece25496677bbd8df1
[ "Apache-2.0" ]
24
2016-02-24T16:22:11.000Z
2021-10-05T12:34:39.000Z
tools/em.cc
MIRTK/NeoSeg
d2ff4e307638727d66aff3ece25496677bbd8df1
[ "Apache-2.0" ]
13
2016-03-17T03:41:01.000Z
2021-11-13T02:43:49.000Z
/* * Developing brain Region Annotation With Expectation-Maximization (Draw-EM) * * Copyright 2013-2020 Imperial College London * * 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 * * ...
29.678363
138
0.592709
[ "vector" ]
93ce1ad647255b082fb1bca18f75e150786b729e
1,549
cc
C++
base/test/statistics_delta_reader.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
base/test/statistics_delta_reader.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-02-10T21:00:08.000Z
2018-03-20T05:09:50.000Z
base/test/statistics_delta_reader.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
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. #include "base/test/statistics_delta_reader.h" #include "base/metrics/histogram.h" #include "base/metrics/histogram_samples.h" #include "base/metrics/sta...
34.422222
79
0.764364
[ "object" ]
93d077054dd3000b73b907938cafd232bf586f76
354
cpp
C++
CodeRed/DirectX12/DirectX12RenderPass.cpp
LinkClinton/Code-Red
491621144aba559f068c7f91d71e3d0d7c87761e
[ "MIT" ]
34
2019-09-11T09:12:16.000Z
2022-02-13T12:50:25.000Z
CodeRed/DirectX12/DirectX12RenderPass.cpp
LinkClinton/Code-Red
491621144aba559f068c7f91d71e3d0d7c87761e
[ "MIT" ]
7
2019-09-22T14:21:26.000Z
2020-03-24T10:36:20.000Z
CodeRed/DirectX12/DirectX12RenderPass.cpp
LinkClinton/Code-Red
491621144aba559f068c7f91d71e3d0d7c87761e
[ "MIT" ]
6
2019-10-21T18:05:55.000Z
2021-04-22T05:07:30.000Z
#pragma once #include "DirectX12RenderPass.hpp" #ifdef __ENABLE__DIRECTX12__ using namespace CodeRed::DirectX12; CodeRed::DirectX12RenderPass::DirectX12RenderPass( const std::shared_ptr<GpuLogicalDevice>& device, const std::vector<Attachment>& colors, const std::optional<Attachment>& depth) : GpuRenderPass(dev...
18.631579
50
0.779661
[ "vector" ]
93d5b87bb017e188c9bc2e477de66e31ddf86a8f
580
cpp
C++
cf/1140/c.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
2
2021-06-09T12:27:07.000Z
2021-06-11T12:02:03.000Z
cf/1140/c.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
1
2021-09-08T12:00:05.000Z
2021-09-08T14:52:30.000Z
cf/1140/c.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int N = 3e5 + 10; int n, k; long long ans, tmp; int lenth, beauty; vector<int> BB[1000010]; int main() { scanf("%d%d", &n, &k); for(int i = 1; i <= n; ++i) { scanf("%d%d", &lenth, &beauty); BB[beauty].push_back(lenth); } multiset<int> st; for(int mx = 100...
18.125
42
0.52931
[ "vector" ]
93d8e87bd8cef4a47293edf8a7d1b035cef0ecd9
2,513
cc
C++
tests/ampcor.lib/correlators/coarse_gamma.cc
aivazis/ampcor
a673e6fd12ac29086c88002ce999a8eabdf406cd
[ "BSD-2-Clause" ]
3
2018-12-16T14:16:51.000Z
2020-11-12T17:33:02.000Z
tests/ampcor.lib/correlators/coarse_gamma.cc
aivazis/ampcor
a673e6fd12ac29086c88002ce999a8eabdf406cd
[ "BSD-2-Clause" ]
null
null
null
tests/ampcor.lib/correlators/coarse_gamma.cc
aivazis/ampcor
a673e6fd12ac29086c88002ce999a8eabdf406cd
[ "BSD-2-Clause" ]
null
null
null
// -*- c++ -*- // // michael a.g. aïvázis <michael.aivazis@para-sim.com> // parasim // (c) 1998-2021 all rights reserved // support #include <cassert> #include <algorithm> // get the header #include <ampcor/dom.h> // the plan details #include "plan.h" // type aliases using arena_const_raster_t = ampcor::dom::arena_...
31.810127
87
0.635097
[ "shape" ]
93e56b2a4d738b72aeef6223b84184567cd90642
7,569
cpp
C++
src/Shared/Core/FCKeys.cpp
mslinklater/FC
d00e2e56a982cd7c85c7de18ac0449bf43d8025e
[ "MIT" ]
null
null
null
src/Shared/Core/FCKeys.cpp
mslinklater/FC
d00e2e56a982cd7c85c7de18ac0449bf43d8025e
[ "MIT" ]
null
null
null
src/Shared/Core/FCKeys.cpp
mslinklater/FC
d00e2e56a982cd7c85c7de18ac0449bf43d8025e
[ "MIT" ]
2
2015-04-13T10:07:14.000Z
2019-05-16T11:14:18.000Z
/* Copyright (C) 2011-2012 by Martin Linklater 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, merge, publi...
37.285714
78
0.771436
[ "mesh", "shape", "model" ]
93e5b6c1523655e5c395e529eec68f4cdf762738
1,016
hpp
C++
third_party/boost/simd/function/cumsum.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
6
2018-02-25T22:23:33.000Z
2021-01-15T15:13:12.000Z
third_party/boost/simd/function/cumsum.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
third_party/boost/simd/function/cumsum.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
7
2017-12-12T12:36:31.000Z
2020-02-10T14:27:07.000Z
//================================================================================================== /*! @file @copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ //=========================...
23.627907
100
0.583661
[ "object" ]
93eba84053d1a718fcab2c8867edf40bc7336d0e
1,735
cpp
C++
matog/util/ml/None.cpp
mergian/matog
d03de27b92a0772ceac1c556293217ff91d405eb
[ "BSD-3-Clause" ]
1
2021-06-10T13:09:57.000Z
2021-06-10T13:09:57.000Z
matog/util/ml/None.cpp
mergian/matog
d03de27b92a0772ceac1c556293217ff91d405eb
[ "BSD-3-Clause" ]
null
null
null
matog/util/ml/None.cpp
mergian/matog
d03de27b92a0772ceac1c556293217ff91d405eb
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2015 Nicolas Weber / GCC / TU-Darmstadt. All rights reserved. // Use of this source code is governed by the BSD 3-Clause license that can be // found in the LICENSE file. #include <matog/util/ml/None.h> #include <matog/util/ml/Type.h> #include <matog/util/Mem.h> #include <matog/log.h> #include <sstre...
26.692308
117
0.473775
[ "model" ]
93ede0095243b4bfad6bfffc3f1708bd3610eab3
1,818
cpp
C++
2020codes/codeforces/1291/B - Array Sharpening.cpp
TieWay59/HappyACEveryday
6474a05a9eafc83e9c185ba8e6d716f7d44eade0
[ "MIT" ]
3
2019-08-27T19:38:23.000Z
2020-10-08T17:47:21.000Z
2020codes/codeforces/1291/B - Array Sharpening.cpp
TieWay59/HappyACEveryday
6474a05a9eafc83e9c185ba8e6d716f7d44eade0
[ "MIT" ]
15
2019-08-27T18:15:58.000Z
2019-09-28T03:28:05.000Z
2020codes/codeforces/1291/B - Array Sharpening.cpp
TieWay59/HappyACEveryday
6474a05a9eafc83e9c185ba8e6d716f7d44eade0
[ "MIT" ]
1
2020-09-19T22:11:15.000Z
2020-09-19T22:11:15.000Z
/** * █████╗ ██████╗ ██████╗ ██╗ ███████╗ * ██╔══██╗██╔════╝ ██╔══██╗██║ ╚══███╔╝ * ███████║██║ ██████╔╝██║ ███╔╝ * ██╔══██║██║ ██╔═══╝ ██║ ███╔╝ * ██║ ██║╚██████╗▄█╗ ██║ ███████╗███████╗ * ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚══════╝╚═══...
19.548387
72
0.360286
[ "vector" ]
93ee7e9903f297e36acab922a3b7fbcd53a8e805
11,882
cpp
C++
src/mac_time_tracker.cpp
yoshito-n-students/mac_time_tracker
0532b0c71635bad343ae06b09818156024ff39f5
[ "MIT" ]
null
null
null
src/mac_time_tracker.cpp
yoshito-n-students/mac_time_tracker
0532b0c71635bad343ae06b09818156024ff39f5
[ "MIT" ]
null
null
null
src/mac_time_tracker.cpp
yoshito-n-students/mac_time_tracker
0532b0c71635bad343ae06b09818156024ff39f5
[ "MIT" ]
null
null
null
#include <chrono> #include <iostream> #include <stdexcept> #include <string> #include <thread> #include <vector> #include <boost/algorithm/string/join.hpp> #include <boost/lexical_cast.hpp> #include <boost/program_options/options_description.hpp> #include <boost/program_options/parsers.hpp> // for parse_command...
42.587814
100
0.600741
[ "vector" ]
93fe2d749f2d8669ebe462118e2abc7335cc752d
5,862
cpp
C++
3rdparty/meshlab-master/src/plugins_unsupported/render_rfx/rfx_uniform.cpp
HoEmpire/slambook2
96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4
[ "MIT" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
graphics/meshlab/src/meshlabplugins/render_rfx/rfx_uniform.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
graphics/meshlab/src/meshlabplugins/render_rfx/rfx_uniform.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** * MeshLab o o * * A versatile mesh processing toolbox o o * * _ O _ * * Copyri...
24.02459
92
0.562607
[ "mesh", "render" ]
93fe7a4a8ec7549da5017f247099eb78bf7e91db
2,395
cxx
C++
direct/src/distributed/config_distributed.cxx
kestred/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
3
2018-03-09T12:07:29.000Z
2021-02-25T06:50:25.000Z
direct/src/distributed/config_distributed.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
direct/src/distributed/config_distributed.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
// Filename: config_distributed.cxx // Created by: drose (19May04) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. Yo...
35.220588
80
0.619207
[ "3d" ]
9e05d35ee86cf07924f84c23748f2683dd5e6c13
10,866
cpp
C++
src/main.cpp
lukapozega/FinalThesis
6e7f9784b0d0335a9be48f836489de27f0751bd1
[ "MIT" ]
null
null
null
src/main.cpp
lukapozega/FinalThesis
6e7f9784b0d0335a9be48f836489de27f0751bd1
[ "MIT" ]
null
null
null
src/main.cpp
lukapozega/FinalThesis
6e7f9784b0d0335a9be48f836489de27f0751bd1
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <getopt.h> #include <iostream> #include <vector> #include <string> #include <fstream> #include <sstream> #include <tuple> #include <algorithm> #include <unordered_map> #include "Config.h" #include "bioparser/bioparser.hpp" #include "PAFObject.cpp" #include "FASTAQObjec...
32.630631
180
0.622768
[ "vector" ]
9e0d948043195b9bc2c99f2b47f7ff23947e2533
2,022
hpp
C++
include/task_orchestrator/task_orchestrator.hpp
Rishabh96M/Swarm-Automation-for-Warehouses
904b8edba394cde65a68059648c1727cc2c70190
[ "MIT" ]
null
null
null
include/task_orchestrator/task_orchestrator.hpp
Rishabh96M/Swarm-Automation-for-Warehouses
904b8edba394cde65a68059648c1727cc2c70190
[ "MIT" ]
null
null
null
include/task_orchestrator/task_orchestrator.hpp
Rishabh96M/Swarm-Automation-for-Warehouses
904b8edba394cde65a68059648c1727cc2c70190
[ "MIT" ]
2
2021-12-03T19:55:22.000Z
2021-12-11T15:20:22.000Z
/** * Copyright (c) 2021 Prannoy Namala, Rishabh Mukund, Dani Lerner * * @file task.hpp * @author Dani Lerner (dalerner@umd.edu) * @author Prannoy Namala (pnamala@umd.edu) * @author Rishabh Mukund (rmukund@umd.edu) * @brief TaskOrchestrator class declaration * @version 3.0.1 * @date 2021-12-03 * * MIT Licens...
31.107692
79
0.710682
[ "vector" ]
9e207829d3eb419a5d306e8442cfab54748114d2
3,514
cpp
C++
lib/libcpp/Mesh/nodesandnodesofcells.cpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
lib/libcpp/Mesh/nodesandnodesofcells.cpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
1
2019-01-31T10:59:11.000Z
2019-01-31T10:59:11.000Z
lib/libcpp/Mesh/nodesandnodesofcells.cpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
#include "Alat/sparsitypattern.hpp" #include "Mesh/nodesandnodesofcells.hpp" #include <cassert> #include <mpi.h> using namespace mesh; /*--------------------------------------------------------------------------*/ NodesAndNodesOfCells::~NodesAndNodesOfCells() {} NodesAndNodesOfCells::NodesAndNodesOfCells(): Geome...
38.615385
131
0.682413
[ "mesh" ]
9e2382a07cb1afe916118396a02f65a58a8d7530
11,242
cpp
C++
bangc-ops/test/mlu_op_gtest/src/runtime.cpp
Alaskra/mlu-ops
68f167f06bd0fecdb650346de1770ba0e6e1cf2e
[ "Apache-2.0" ]
25
2021-11-17T12:48:58.000Z
2022-03-14T13:22:24.000Z
bangc-ops/test/mlu_op_gtest/src/runtime.cpp
Alaskra/mlu-ops
68f167f06bd0fecdb650346de1770ba0e6e1cf2e
[ "Apache-2.0" ]
4
2021-11-02T11:08:22.000Z
2022-03-25T07:46:42.000Z
bangc-ops/test/mlu_op_gtest/src/runtime.cpp
Alaskra/mlu-ops
68f167f06bd0fecdb650346de1770ba0e6e1cf2e
[ "Apache-2.0" ]
14
2021-12-02T03:25:55.000Z
2022-03-30T07:38:34.000Z
/************************************************************************* * Copyright (C) 2021 by Cambricon, Inc. All rights reserved. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULA...
34.590769
100
0.634051
[ "vector" ]
9e2ac2f0abdab80d3ac7b370440adeb6869b21c6
3,944
cpp
C++
geometry/path.cpp
huangjund/path_planner
79892899ffa39a6368ae8b70ff4742b6d618ae14
[ "BSD-3-Clause" ]
null
null
null
geometry/path.cpp
huangjund/path_planner
79892899ffa39a6368ae8b70ff4742b6d618ae14
[ "BSD-3-Clause" ]
null
null
null
geometry/path.cpp
huangjund/path_planner
79892899ffa39a6368ae8b70ff4742b6d618ae14
[ "BSD-3-Clause" ]
null
null
null
#include "path.h" using namespace HybridAStar; //################################################### // CLEAR PATH //################################################### void Path::clear() { std::shared_ptr<Common::SE2State> node; path.poses.clear(); pathNodes.markers.cl...
27.971631
80
0.590517
[ "vector" ]
9e2f1e0622e7f207f314150ce21e7d32011f6a32
16,019
cpp
C++
Xcode/tamgugui/Tamgu/interface.cpp
naver/tamgu
9532edc82aa90f7610dbd98dc379e0631de4b252
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
192
2019-07-10T15:47:11.000Z
2022-03-10T09:26:31.000Z
Xcode/tamgugui/Tamgu/interface.cpp
naver/tamgu
9532edc82aa90f7610dbd98dc379e0631de4b252
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
5
2019-10-01T13:17:28.000Z
2021-01-05T15:31:39.000Z
Xcode/tamgugui/Tamgu/interface.cpp
naver/tamgu
9532edc82aa90f7610dbd98dc379e0631de4b252
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
14
2019-09-23T03:39:59.000Z
2021-09-02T12:20:14.000Z
/* * Tamgu (탐구) * * Copyright 2019-present NAVER Corp. * under BSD 3-clause */ /* --- CONTENTS --- Project : Tamgu (탐구) Version : See tamgu.cxx for the version number filename : interface.cpp Date : 2017/09/01 Purpose : Functions and Methods to communicate with Tamgu API Programmer : Claude...
28.103509
152
0.501717
[ "object", "vector" ]
9e2f935013df347f5c601e712aa58ef6813332e9
1,873
cpp
C++
inference-engine/tests/unit/transformations/sub_test.cpp
FengYen-Chang/dldt
1a7ab8871de68bef05c959ea20191d8242761635
[ "Apache-2.0" ]
1
2020-08-26T02:37:00.000Z
2020-08-26T02:37:00.000Z
inference-engine/tests/unit/transformations/sub_test.cpp
FengYen-Chang/dldt
1a7ab8871de68bef05c959ea20191d8242761635
[ "Apache-2.0" ]
null
null
null
inference-engine/tests/unit/transformations/sub_test.cpp
FengYen-Chang/dldt
1a7ab8871de68bef05c959ea20191d8242761635
[ "Apache-2.0" ]
1
2018-12-14T07:52:51.000Z
2018-12-14T07:52:51.000Z
// Copyright (C) 2019 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <string.h> #include <transform/transform_network.hpp> #include <transform/transformations/sub.hpp> #include <ie_builders.hpp> #include "tranformations_test.hpp" using namespace testing; using namespace...
48.025641
159
0.748532
[ "transform" ]
9e30b434358f3a99dcf3919f5d698ac8431a35dc
4,315
cpp
C++
src/backend/opencl/qr.cpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2018-06-14T23:49:18.000Z
2018-06-14T23:49:18.000Z
src/backend/opencl/qr.cpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2015-07-02T15:53:02.000Z
2015-07-02T15:53:02.000Z
src/backend/opencl/qr.cpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2018-02-26T17:11:03.000Z
2018-02-26T17:11:03.000Z
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
28.576159
101
0.503129
[ "vector" ]
9e3a321e58d530e1292e6beea7ffd3ef7bdd556b
6,346
cpp
C++
tests/src/openvino_blob_test.cpp
slitcch/depthai-core
b6e5f3bc9ac1473c0a91012611a6f7f9d97c384d
[ "MIT" ]
1
2022-03-22T07:15:47.000Z
2022-03-22T07:15:47.000Z
tests/src/openvino_blob_test.cpp
slitcch/depthai-core
b6e5f3bc9ac1473c0a91012611a6f7f9d97c384d
[ "MIT" ]
null
null
null
tests/src/openvino_blob_test.cpp
slitcch/depthai-core
b6e5f3bc9ac1473c0a91012611a6f7f9d97c384d
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> // std #include <atomic> #include <fstream> #include <iostream> // Include depthai library #include <depthai/depthai.hpp> // setBlob void checkBlob(dai::OpenVINO::Blob& blob) { printf("Blob: "); for(const auto& in : blob.networkInputs) { std::str...
33.57672
127
0.689253
[ "vector" ]
9e4238c284ddb3c3c992672e6f108c1b95648569
3,447
cpp
C++
chap7/chap7-1.3.cpp
liangzai90/Amazing-Algorithm-With-C
d1e992517eafd9197075d85591ed5270d945b5e3
[ "Apache-2.0" ]
null
null
null
chap7/chap7-1.3.cpp
liangzai90/Amazing-Algorithm-With-C
d1e992517eafd9197075d85591ed5270d945b5e3
[ "Apache-2.0" ]
null
null
null
chap7/chap7-1.3.cpp
liangzai90/Amazing-Algorithm-With-C
d1e992517eafd9197075d85591ed5270d945b5e3
[ "Apache-2.0" ]
null
null
null
/* 数据结构趣题 在原表空间进行链表的归并 有两个按元素值递增有序排列的链表L1,L2, 编写一个程序将L1,L2,归并为一个按元素值递增有序的链表L3 要求: 1.链表中允许有相同元素,只要链表L1,L2,L3单调不减即可 2.要利用原表空间(即L1,L2,L3)的结点空间构造表L3. */ #include <iostream> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #include <time.h> #include <vector> #include <malloc.h> using namesp...
15.668182
74
0.616478
[ "vector", "3d" ]
9e4476b1119699bd9c845dc7e80a6b964609bdcf
32,321
cc
C++
src/amuse/community/smalln/src/analyze.cc
rknop/amuse
85d5bdcc29cfc87dc69d91c264101fafd6658aec
[ "Apache-2.0" ]
131
2015-06-04T09:06:57.000Z
2022-02-01T12:11:29.000Z
src/amuse/community/smalln/src/analyze.cc
rknop/amuse
85d5bdcc29cfc87dc69d91c264101fafd6658aec
[ "Apache-2.0" ]
690
2015-10-17T12:18:08.000Z
2022-03-31T16:15:58.000Z
src/amuse/community/smalln/src/analyze.cc
rieder/amuse
3ac3b6b8f922643657279ddee5c8ab3fc0440d5e
[ "Apache-2.0" ]
102
2015-01-22T10:00:29.000Z
2022-02-09T13:29:43.000Z
// Analysis routines for use with smallN. Based on the Starlab // version, with a custom class to make it self-contained. The only // externally visible functions are // // int check_structure(hdyn *bin, bool verbose = true) // hdyn *get_tree(hdyn *bin) // // NOTES: The original code code used Starlab stories to tr...
27.092205
80
0.614121
[ "object" ]
eafb0cfa474057a5c97ff4c47fb11371a623c5d5
27,732
cpp
C++
src/Arabic/parse/ar_ChartDecoder.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
1
2022-03-24T19:57:00.000Z
2022-03-24T19:57:00.000Z
src/Arabic/parse/ar_ChartDecoder.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
src/Arabic/parse/ar_ChartDecoder.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
// Copyright 2008 by BBN Technologies Corp. // All Rights Reserved. #include "Generic/common/leak_detection.h" #include "Generic/parse/LanguageSpecificFunctions.h" #include "Arabic/parse/ar_ChartDecoder.h" #include "Arabic/parse/ar_WordSegment.h" #include "Arabic/common/ar_ArabicSymbol.h" #include "Arabic/pa...
32.74144
110
0.653144
[ "vector" ]