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
dfccd314035fc846f0521c04ac7b793b04388fec
1,389
hpp
C++
lib/mockturtle/include/mockturtle/networks/sta.hpp
Ace-Ma/LSOracle
6e940906303ef6c2c6b96352f44206567fdd50d3
[ "MIT" ]
null
null
null
lib/mockturtle/include/mockturtle/networks/sta.hpp
Ace-Ma/LSOracle
6e940906303ef6c2c6b96352f44206567fdd50d3
[ "MIT" ]
null
null
null
lib/mockturtle/include/mockturtle/networks/sta.hpp
Ace-Ma/LSOracle
6e940906303ef6c2c6b96352f44206567fdd50d3
[ "MIT" ]
null
null
null
#include <ot/timer/timer.hpp> /* * Interfaces the command line with OpenTimer API */ class STA { private: ot::Timer timer; public: void set_lib_path(const std::string &lib){ this->timer.read_celllib(lib,std::nullopt); } void set_netlist_path(const std::string &netlist){ this->timer...
33.071429
124
0.552196
[ "vector" ]
2545cc12f819ca8b51b9c5a40439cf3fc2ac389d
4,681
cc
C++
device/u2f/u2f_device.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
device/u2f/u2f_device.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
device/u2f/u2f_device.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 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 "u2f_device.h" #include "base/bind.h" #include "u2f_apdu_command.h" #include "u2f_apdu_response.h" namespace device { U2fDevice::U2fDevice() :...
34.932836
80
0.671865
[ "vector" ]
2549a6466ef17d1a2dcc0ecad4fcad0f1e6c96b7
831
cpp
C++
src/main.cpp
Werfpasta/ClockWorks
708ce5986359bbf2c0419439c4a365dc3169cabd
[ "Zlib" ]
1
2015-01-01T07:10:02.000Z
2015-01-01T07:10:02.000Z
src/main.cpp
Werfpasta/ClockWorks
708ce5986359bbf2c0419439c4a365dc3169cabd
[ "Zlib" ]
null
null
null
src/main.cpp
Werfpasta/ClockWorks
708ce5986359bbf2c0419439c4a365dc3169cabd
[ "Zlib" ]
null
null
null
#pragma warning(disable : 4426) //'constexpr' was ignored (class literal types are not yet supported) #include "clockworks\tinycpp.hpp" #include "clockworks\util\delegate.hpp" #include "clockworks\util\dispatcher.hpp" #include "clockworks\display\window.hpp" #include "clockworks\std\printf.hpp" #include "clockworks\st...
30.777778
131
0.723225
[ "3d" ]
254ba22563fa92f533e1a178c1494ba3a5f24a30
55,567
cpp
C++
core/server/projectC/commonGame/src/navmesh/NavMesh.cpp
hw233/home3
a15a63694918483b2e4853edab197b5cdddca560
[ "Apache-2.0" ]
8
2020-08-17T09:54:20.000Z
2021-02-08T05:25:02.000Z
core/server/projectC/commonGame/src/navmesh/NavMesh.cpp
shineTeam7/home3
a15a63694918483b2e4853edab197b5cdddca560
[ "Apache-2.0" ]
null
null
null
core/server/projectC/commonGame/src/navmesh/NavMesh.cpp
shineTeam7/home3
a15a63694918483b2e4853edab197b5cdddca560
[ "Apache-2.0" ]
5
2020-07-24T03:07:08.000Z
2021-11-17T14:20:15.000Z
#include "NavMesh.h" #include <DetourAssert.h> #include "utils/FileUtils.h" #include "utils/MathUtils.h" #include <DetourNavMeshQuery.h> #include <assert.h> #include <string.h> #include <float.h> void MeshProcess::process(struct dtNavMeshCreateParams* params, unsigned char* polyAreas, unsigned int* polyFlags) { if (!...
24.740427
170
0.681196
[ "mesh", "geometry", "vector", "solid" ]
254bfd970f6218e31159611ed99b376e1b54a554
311
cpp
C++
src/119.pascal_s_triangle_ii/code.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
1
2016-07-02T17:44:10.000Z
2016-07-02T17:44:10.000Z
src/119.pascal_s_triangle_ii/code.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
null
null
null
src/119.pascal_s_triangle_ii/code.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
1
2019-12-21T04:57:15.000Z
2019-12-21T04:57:15.000Z
class Solution { public: vector<int> getRow(int rowIndex) { vector<int> ans; for (int i = 0; i <= rowIndex; i++) { for (int j = ans.size() - 1; j > 0; j--) { ans[j] += ans[j - 1]; } ans.push_back(1); } return ans; } };
22.214286
54
0.398714
[ "vector" ]
254d289b5ce442da1c95f6f2316b59126cdb495b
1,773
hpp
C++
include/spotify/json/detail/bitset.hpp
ivangalkin/spotify-json
68cfafc488ffae851cca3f556b90129cffb26be1
[ "Apache-2.0" ]
11
2020-01-12T19:50:43.000Z
2022-01-27T20:15:24.000Z
include/spotify/json/detail/bitset.hpp
ivangalkin/spotify-json
68cfafc488ffae851cca3f556b90129cffb26be1
[ "Apache-2.0" ]
1
2021-10-31T07:10:47.000Z
2021-10-31T19:28:07.000Z
include/spotify/json/detail/bitset.hpp
ivangalkin/spotify-json
68cfafc488ffae851cca3f556b90129cffb26be1
[ "Apache-2.0" ]
2
2020-10-20T01:32:11.000Z
2021-06-04T10:31:26.000Z
/* * Copyright (c) 2016 Spotify AB * * 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 i...
27.703125
80
0.674563
[ "vector" ]
25526a4f8637e6b754cdba619b36a67ec2263a5b
4,387
cc
C++
src/fdb5/types/TypeParam.cc
dvuckovic/fdb
c529bf5293d1f5e33048b1b12e7fdfbf4d7448b2
[ "Apache-2.0" ]
5
2020-01-03T10:23:05.000Z
2021-10-21T12:52:47.000Z
src/fdb5/types/TypeParam.cc
dvuckovic/fdb
c529bf5293d1f5e33048b1b12e7fdfbf4d7448b2
[ "Apache-2.0" ]
null
null
null
src/fdb5/types/TypeParam.cc
dvuckovic/fdb
c529bf5293d1f5e33048b1b12e7fdfbf4d7448b2
[ "Apache-2.0" ]
1
2021-07-08T16:26:06.000Z
2021-07-08T16:26:06.000Z
/* * (C) Copyright 1996- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an interg...
27.248447
120
0.495099
[ "vector" ]
255504982a251679becf8201d842f8d2d1b5d4c2
10,534
cpp
C++
src/trunk/apps/tools/scplot/plotter.cpp
yannikbehr/seiscomp3
ebb44c77092555eef7786493d00ac4efc679055f
[ "Naumen", "Condor-1.1", "MS-PL" ]
94
2015-02-04T13:57:34.000Z
2021-11-01T15:10:06.000Z
src/trunk/apps/tools/scplot/plotter.cpp
yannikbehr/seiscomp3
ebb44c77092555eef7786493d00ac4efc679055f
[ "Naumen", "Condor-1.1", "MS-PL" ]
233
2015-01-28T15:16:46.000Z
2021-08-23T11:31:37.000Z
src/trunk/apps/tools/scplot/plotter.cpp
yannikbehr/seiscomp3
ebb44c77092555eef7786493d00ac4efc679055f
[ "Naumen", "Condor-1.1", "MS-PL" ]
95
2015-02-13T15:53:30.000Z
2021-11-02T14:54:54.000Z
/*************************************************************************** * Copyright (C) by GFZ Potsdam * * * * You can redistribute and/or modify this program under the * * terms o...
25.692683
112
0.410765
[ "vector" ]
256c43b37f51cdbaa11038a904381de94f89adba
2,563
hpp
C++
include/netlist_paths/Waypoints.hpp
heiner-bauer/netlist-paths
7575b87a07d61d03a3900186ae58f790aa5b66d7
[ "Apache-2.0" ]
14
2019-08-13T13:39:01.000Z
2022-02-25T22:33:23.000Z
include/netlist_paths/Waypoints.hpp
heiner-bauer/netlist-paths
7575b87a07d61d03a3900186ae58f790aa5b66d7
[ "Apache-2.0" ]
26
2018-11-20T08:10:00.000Z
2022-03-12T20:02:20.000Z
include/netlist_paths/Waypoints.hpp
heiner-bauer/netlist-paths
7575b87a07d61d03a3900186ae58f790aa5b66d7
[ "Apache-2.0" ]
1
2020-11-30T20:46:55.000Z
2020-11-30T20:46:55.000Z
#ifndef NETLIST_PATHS_WAYPOINTS_HPP #define NETLIST_PATHS_WAYPOINTS_HPP #include "netlist_paths/Exception.hpp" #include "netlist_paths/Vertex.hpp" namespace netlist_paths { /// A class representing a set of waypoints to constrain a search for a path. class Waypoints { std::vector<std::string> waypoints; std::vec...
26.697917
80
0.665236
[ "object", "vector" ]
25804ae6b2d90cae1eee5fb84995006024c6eff9
558
cpp
C++
main.cpp
KuntimaKiala/Immediate-Mode
07ac525899ac7817350d5c270f5c9fa1df111570
[ "MIT" ]
null
null
null
main.cpp
KuntimaKiala/Immediate-Mode
07ac525899ac7817350d5c270f5c9fa1df111570
[ "MIT" ]
null
null
null
main.cpp
KuntimaKiala/Immediate-Mode
07ac525899ac7817350d5c270f5c9fa1df111570
[ "MIT" ]
null
null
null
/* Author : Kuntima Description : Immediate Mode Date : 17/08/2018 Usage : g++ -std=c++11 main.cpp Display.cpp -o run -lSDL2 -lGL -lGLEW ./run Note : A lot can be changed, this is nothing more than a prototype that I created to train myself, my goal is to do 3D Game. */ #include <iostream> #include <SDL2/SDL.h> #i...
23.25
125
0.684588
[ "object", "3d" ]
25835c9aeb655a5d00e56d6cf2d18e282acdf6f1
712
cpp
C++
codeforces/988A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/988A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/988A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
// A. Diverse Team #include <iostream> #include <map> #include <vector> #include <algorithm> using namespace std; int main(){ int n, k; cin >> n >> k; map<int, int> mp; int tmp; for (int i=0; i<n; ++i){ cin >> tmp; mp.insert(pair<int, int>(tmp, i+1)); } if (mp.size() <...
16.55814
44
0.41573
[ "vector" ]
25864bd45ebeb0a94f348898885d7b7a0543392a
6,384
cpp
C++
dlls/avsign.cpp
avwuff/Half-Life-TFC-AVC-Mod
3b6a32b615e42cd541f078065458d47c3d4688ba
[ "MIT" ]
5
2019-05-08T19:25:02.000Z
2021-09-12T00:26:20.000Z
dlls/avsign.cpp
avwuff/Half-Life-TFC-AVC-Mod
3b6a32b615e42cd541f078065458d47c3d4688ba
[ "MIT" ]
1
2018-08-28T13:46:12.000Z
2018-08-28T13:48:40.000Z
dlls/avsign.cpp
avwuff/Half-Life-TFC-AVC-Mod
3b6a32b615e42cd541f078065458d47c3d4688ba
[ "MIT" ]
1
2021-03-08T15:39:39.000Z
2021-03-08T15:39:39.000Z
#include "extdll.h" #include "enginecallback.h" #include "util.h" #include "cbase.h" #include "entity_state.h" #include "soundent.h" #include "studio.h" #include "bot.h" #include "avdll.h" #include "sadll.h" #include "avsign.h" extern GETENTITYAPI other_GetEntityAPI; extern enginefuncs_t g_engfuncs; extern globalva...
21.422819
282
0.638941
[ "vector", "model", "solid" ]
259024dcad6929c5743c447dea8859b08116b686
3,089
cc
C++
chrome/browser/sync_file_system/local/syncable_file_operation_runner.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chrome/browser/sync_file_system/local/syncable_file_operation_runner.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chrome/browser/sync_file_system/local/syncable_file_operation_runner.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2013 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/sync_file_system/local/syncable_file_operation_runner.h" #include <stddef.h> #include <algorithm> #include "base/callback.h" #...
29.419048
81
0.7135
[ "vector" ]
259deab1e4a130ede1a874158c72dc8f4627922d
991
cpp
C++
ICPC_Mirrors/Nitc_22/gen.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
ICPC_Mirrors/Nitc_22/gen.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
ICPC_Mirrors/Nitc_22/gen.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #ifdef LOCAL #include "/debug.h" #else #define db(...) #endif #define all(v) v.begin(), v.end() #define pb push_back using ll = long long; const int NAX = 2e5 + 5, MOD = 1000000007; mt19937 rng(chrono::steady_clock::now().time_since_epoch().count()); void solveCase() { ...
21.543478
88
0.559031
[ "vector" ]
25a01a370e4d4d5ec0c74846ffad684f2fea7d69
55,863
cxx
C++
inetsrv/query/web/ixsso/ixsso.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/query/web/ixsso/ixsso.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/query/web/ixsso/ixsso.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 - 2002. // // File: ixsso.cxx // // Contents: Query SSO class // // History: 25 Oct 1996 Alanw Created // //-----------------------------...
26.177601
119
0.499042
[ "object" ]
25a66c90f6c237e811d71b2f3290e068adb1976b
3,845
cpp
C++
private/windows/shell/encrypt/addsheet.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/windows/shell/encrypt/addsheet.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/windows/shell/encrypt/addsheet.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
// AddSheet.cpp : implementation file // #include "stdafx.h" #include "EFSADU.h" #include "AddSheet.h" #include "userlist.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // ...
22.617647
82
0.610143
[ "object" ]
25b715add368b085e7d70214811ba48bf96869ea
7,493
cpp
C++
examples/cpp/rvtester.cpp
ijnek/RoboViz
11649ba555cee3dfada0ec071cf36ed99b4f9cad
[ "Apache-2.0" ]
48
2015-06-15T20:42:08.000Z
2022-01-27T08:43:19.000Z
examples/cpp/rvtester.cpp
igorasilveira/RoboViz
d45d8294999c70d8a1e45da10b2c86431b5ad0ec
[ "Apache-2.0" ]
80
2015-06-06T13:02:31.000Z
2022-02-17T03:30:20.000Z
examples/cpp/rvtester.cpp
igorasilveira/RoboViz
d45d8294999c70d8a1e45da10b2c86431b5ad0ec
[ "Apache-2.0" ]
24
2015-06-20T10:53:49.000Z
2021-12-06T10:26:04.000Z
/* * Copyright (C) 2011 Justin Stoecker * * 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.573379
117
0.642199
[ "3d" ]
25bed2826fc8bed75b7d1d481112a8f1b4b5b635
5,238
hpp
C++
source/proxyd/statemachine.hpp
mgrech/vitamine
d2fab653a0146b0ad9eb40d62213c968af2a100b
[ "Apache-2.0" ]
null
null
null
source/proxyd/statemachine.hpp
mgrech/vitamine
d2fab653a0146b0ad9eb40d62213c968af2a100b
[ "Apache-2.0" ]
null
null
null
source/proxyd/statemachine.hpp
mgrech/vitamine
d2fab653a0146b0ad9eb40d62213c968af2a100b
[ "Apache-2.0" ]
null
null
null
#pragma once #include <atomic> #include <memory> #include <string> #include <boost/container/flat_set.hpp> #include <boost/uuid/uuid.hpp> #include <boost/uuid/uuid_io.hpp> #include <common/buffer.hpp> #include <common/clock.hpp> #include <common/coord.hpp> #include <common/span.hpp> #include <common/types.hpp> #incl...
22.577586
95
0.727186
[ "vector" ]
25c56805dd44fb0ad550be0cc1319d962e26fc64
4,766
cpp
C++
ScriptHookDotNet/SkinTemplate.cpp
HazardX/gta4_scripthookdotnet
927b2830952664b63415234541a6c83592e53679
[ "MIT" ]
3
2021-11-14T20:59:58.000Z
2021-12-16T16:41:31.000Z
ScriptHookDotNet/SkinTemplate.cpp
HazardX/gta4_scripthookdotnet
927b2830952664b63415234541a6c83592e53679
[ "MIT" ]
2
2021-11-29T14:41:23.000Z
2021-11-30T13:13:51.000Z
ScriptHookDotNet/SkinTemplate.cpp
HazardX/gta4_scripthookdotnet
927b2830952664b63415234541a6c83592e53679
[ "MIT" ]
3
2021-11-21T12:41:55.000Z
2021-12-22T16:17:52.000Z
/* * Copyright (c) 2009-2011 Hazard (hazard_x@gmx.net / twitter.com/HazardX) * * 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 * ...
33.801418
132
0.690306
[ "model" ]
25c707c981483bca7b0550a1be033af093ab66f1
5,043
cpp
C++
Action/Action.cpp
Ricecrackie/Fantasy-Battle
058dc323101d405e222e9c8f135500044ce6e180
[ "Apache-2.0" ]
null
null
null
Action/Action.cpp
Ricecrackie/Fantasy-Battle
058dc323101d405e222e9c8f135500044ce6e180
[ "Apache-2.0" ]
null
null
null
Action/Action.cpp
Ricecrackie/Fantasy-Battle
058dc323101d405e222e9c8f135500044ce6e180
[ "Apache-2.0" ]
null
null
null
#include "Action.h" #include "../Skill/Regular_attack.h" #include "../Skill/Defence.h" #include "../Skill/Blessing.h" #include "../Skill/Blood_sucking.h" #include "../Skill/Cursing.h" #include "../Skill/Greater_defence.h" #include "../Skill/Greater_strengthen.h" #include "../Skill/Sharp_attack.h" #include "../Skill/Str...
36.810219
163
0.640492
[ "object" ]
25c766c576ee817da58036030801c01f29a4e18d
6,653
cpp
C++
Tools/TexturePacker/src/TexturePacker.cpp
palikar/DirectXer
c21b87eed220fc54d97d5363e8a33bd0944a2596
[ "MIT" ]
null
null
null
Tools/TexturePacker/src/TexturePacker.cpp
palikar/DirectXer
c21b87eed220fc54d97d5363e8a33bd0944a2596
[ "MIT" ]
null
null
null
Tools/TexturePacker/src/TexturePacker.cpp
palikar/DirectXer
c21b87eed220fc54d97d5363e8a33bd0944a2596
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <unordered_map> #include <vector> #include <string> #include <cstdint> #include <fstream> #include <GraphicsCommon.hpp> #include <Types.hpp> #include <Utils.hpp> #include <Assets.hpp> #include <fmt/format.h> #include <filesystem> #include <stb_image.h> #include <stb_ima...
31.680952
129
0.675635
[ "vector" ]
5ad5d9f279b7ccec093b02102b1253c3920bfd66
1,109
cpp
C++
Codeforces/FormingTeams.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
1
2018-08-28T19:58:40.000Z
2018-08-28T19:58:40.000Z
Codeforces/FormingTeams.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
2
2017-04-16T00:48:05.000Z
2017-08-03T20:12:26.000Z
Codeforces/FormingTeams.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
4
2016-03-04T19:42:00.000Z
2018-01-08T11:42:00.000Z
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <utility> #include <functional> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <assert.h> #include <limits.h> #define REP(i, n) for(i = 0; i < n; i++) typedef long long ll; us...
20.924528
59
0.444545
[ "vector" ]
5ad63b3bcabd589432967c1030d581646bb9a37e
1,929
hh
C++
lrauv_ignition_plugins/src/ReferenceAxis.hh
osrf/lrauv
2efa79e10682def98f8277fe313ffd1488708b1e
[ "Apache-2.0" ]
24
2021-11-03T18:45:41.000Z
2022-03-28T17:53:29.000Z
lrauv_ignition_plugins/src/ReferenceAxis.hh
osrf/lrauv
2efa79e10682def98f8277fe313ffd1488708b1e
[ "Apache-2.0" ]
105
2021-11-04T03:15:55.000Z
2022-03-30T20:48:01.000Z
lrauv_ignition_plugins/src/ReferenceAxis.hh
osrf/lrauv
2efa79e10682def98f8277fe313ffd1488708b1e
[ "Apache-2.0" ]
1
2022-03-18T14:16:47.000Z
2022-03-18T14:16:47.000Z
/* * Copyright (C) 2021 Open Source Robotics Foundation * * 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 appl...
29.227273
78
0.717989
[ "3d" ]
5adaa746e608018218acf4c48633ae7138ac3975
15,199
cpp
C++
collector/lib/NetworkStatusNotifier.cpp
kudz00/collector
73a5366e4d95bc33e85ed0d7578c74f0a2e8a0aa
[ "Apache-2.0" ]
1
2022-03-31T15:25:16.000Z
2022-03-31T15:25:16.000Z
collector/lib/NetworkStatusNotifier.cpp
kudz00/collector
73a5366e4d95bc33e85ed0d7578c74f0a2e8a0aa
[ "Apache-2.0" ]
4
2022-03-31T16:16:00.000Z
2022-03-31T23:24:33.000Z
collector/lib/NetworkStatusNotifier.cpp
stackrox/collector
4c3913176eb62636e32a8a56f889e611c638de73
[ "Apache-2.0" ]
null
null
null
/** collector A full notice with attributions is provided along with this source code. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will...
37.161369
233
0.733206
[ "vector" ]
5addad4cc48bf3e7f7339835b7d3cd86546c1df9
17,288
hh
C++
src/ob/fft.hh
octobanana/octavia
1c45addc4f8341bb7a8b445773efd3c8d2d10e90
[ "MIT" ]
11
2020-09-10T16:31:29.000Z
2022-01-14T12:17:08.000Z
src/ob/fft.hh
octobanana/octavia
1c45addc4f8341bb7a8b445773efd3c8d2d10e90
[ "MIT" ]
3
2020-09-14T15:18:39.000Z
2021-09-01T04:43:39.000Z
src/ob/fft.hh
octobanana/octavia
1c45addc4f8341bb7a8b445773efd3c8d2d10e90
[ "MIT" ]
1
2022-02-06T22:23:35.000Z
2022-02-06T22:23:35.000Z
/* 88888888 888888888888 88888888888888 8888888888888888 888888888888888888 888888 8888 888888 ...
36.627119
162
0.595558
[ "object", "vector", "transform" ]
5adff043d744c1ba3a8863d3074ddd7ba144a428
1,794
hpp
C++
gh/log_sink.hpp
coryan/gee-h
306ddb047b60e9bffdcee22f73960d984fb4dc44
[ "Apache-2.0" ]
2
2017-11-19T15:19:55.000Z
2019-12-19T09:14:00.000Z
gh/log_sink.hpp
coryan/gee-h
306ddb047b60e9bffdcee22f73960d984fb4dc44
[ "Apache-2.0" ]
6
2017-08-06T22:18:59.000Z
2018-05-24T18:54:32.000Z
gh/log_sink.hpp
coryan/gee-h
306ddb047b60e9bffdcee22f73960d984fb4dc44
[ "Apache-2.0" ]
2
2019-12-19T09:14:02.000Z
2020-10-26T10:05:05.000Z
#ifndef gh_log_sink_hpp #define gh_log_sink_hpp #include <gh/log_severity.hpp> #include <memory> #include <string> #include <utility> namespace gh { /** * A destination for logging messages. * * Applications can configure the destination for logging messages by setting one more more instances of gh::log_sink * ...
24.575342
117
0.701784
[ "object" ]
5aeddf05317acc76002cdb8f6a4970d1a7eff714
6,974
cpp
C++
HarmonyEditor/src/Windows/CommonWindows.cpp
Nick-Fanelli/HarmonyEngine
383ec0253665a69b961371ada03edafef4ecdd2a
[ "MIT" ]
1
2021-01-09T23:26:06.000Z
2021-01-09T23:26:06.000Z
HarmonyEditor/src/Windows/CommonWindows.cpp
Nick-Fanelli/HarmonyEngine
383ec0253665a69b961371ada03edafef4ecdd2a
[ "MIT" ]
1
2021-08-15T18:58:07.000Z
2021-08-15T18:58:07.000Z
HarmonyEditor/src/Windows/CommonWindows.cpp
Nick-Fanelli/HarmonyEngine
383ec0253665a69b961371ada03edafef4ecdd2a
[ "MIT" ]
null
null
null
#include "CommonWindows.h" #include <Core/Input.h> using namespace HarmonyEditor; void CommonWindows::OnImGuiRender() { ConfirmationWindow::OnImGuiRender(); NewComponentWindow::OnImGuiRender(); } // Confirmation Window const char* ConfirmationWindow::s_PopupWindowTitle = "Confirmation Window"; bool Confir...
35.764103
162
0.675509
[ "transform" ]
5aff80c43f1f87500af94dcd0067b0285463d4ac
3,970
cpp
C++
src/vbte/graphics/vertex_layout.cpp
Berling/bachelor_arbeit
c788227721a132560943c6991f5e3a25c47217cf
[ "MIT" ]
null
null
null
src/vbte/graphics/vertex_layout.cpp
Berling/bachelor_arbeit
c788227721a132560943c6991f5e3a25c47217cf
[ "MIT" ]
null
null
null
src/vbte/graphics/vertex_layout.cpp
Berling/bachelor_arbeit
c788227721a132560943c6991f5e3a25c47217cf
[ "MIT" ]
null
null
null
#include <vbte/graphics/vertex_layout.hpp> namespace vbte { namespace graphics { void vertex_layout::emplace_back(const std::string& name, uint32_t size, GLenum type, bool normalized, size_t stride, intptr_t offset, int index, int divisor) { auto attribute = vertex_attribute{name, size, type, normalized, stride,...
44.606742
199
0.721662
[ "vector" ]
850039e0e9535f54d545db47a63b292dbf4026cf
7,308
cc
C++
agp-7.1.0-alpha01/tools/base/deploy/installer/dump.cc
jomof/CppBuildCacheWorkInProgress
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
[ "Apache-2.0" ]
null
null
null
agp-7.1.0-alpha01/tools/base/deploy/installer/dump.cc
jomof/CppBuildCacheWorkInProgress
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
[ "Apache-2.0" ]
null
null
null
agp-7.1.0-alpha01/tools/base/deploy/installer/dump.cc
jomof/CppBuildCacheWorkInProgress
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 The Android Open Source Project * * 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 app...
30.705882
78
0.678024
[ "vector" ]
85051d73db97f2d038286690f9281743c66cf497
19,155
cc
C++
alljoyn_core/src/PermissionConfigurator.cc
liuxiang88/core-alljoyn
549c966482d9b89da84aa528117584e7049916cb
[ "Apache-2.0" ]
33
2018-01-12T00:37:43.000Z
2022-03-24T02:31:36.000Z
alljoyn_core/src/PermissionConfigurator.cc
liuxiang88/core-alljoyn
549c966482d9b89da84aa528117584e7049916cb
[ "Apache-2.0" ]
1
2020-01-05T05:51:27.000Z
2020-01-05T05:51:27.000Z
alljoyn_core/src/PermissionConfigurator.cc
liuxiang88/core-alljoyn
549c966482d9b89da84aa528117584e7049916cb
[ "Apache-2.0" ]
30
2017-12-13T23:24:00.000Z
2022-01-25T02:11:19.000Z
/** * @file * This file defines the implementation of the Permission Configurator to allow app to setup some permission templates. */ /****************************************************************************** * Copyright (c) Open Connectivity Foundation (OCF), AllJoyn Open Source * Project (AJOSP) Cont...
37.194175
144
0.739546
[ "object", "vector" ]
8505a34802e884469eca3027554b2a8442533967
1,944
cpp
C++
android-31/android/telephony/mbms/GroupCall.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/telephony/mbms/GroupCall.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/telephony/mbms/GroupCall.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "./GroupCall.hpp" namespace android::telephony::mbms { // Fields jint GroupCall::REASON_BY_USER_REQUEST() { return getStaticField<jint>( "android.telephony.mbms.GroupCall", "REASON_BY_USER_REQUEST" ); } jint GroupCall::REASON_FREQUENCY_CONFLICT() { return getStaticField<jint>( "android.te...
19.247525
66
0.698045
[ "object" ]
850754a2a167f131596f5519f52cffca8a308000
663
cpp
C++
LAB2/Stack_Array_Implementation.cpp
agarwalanant/DS_Assignment
2fc9258edfa522397d6068efac797ce3a8f2d174
[ "MIT" ]
null
null
null
LAB2/Stack_Array_Implementation.cpp
agarwalanant/DS_Assignment
2fc9258edfa522397d6068efac797ce3a8f2d174
[ "MIT" ]
null
null
null
LAB2/Stack_Array_Implementation.cpp
agarwalanant/DS_Assignment
2fc9258edfa522397d6068efac797ce3a8f2d174
[ "MIT" ]
null
null
null
// // Created by Anant Agarwal on 8/9/18. // #include "iostream" #include "vector" using namespace std; class stack { public: vector<char> vec; char pop() { char data = vec.at(vec.size()-1); vec.pop_back(); //print(); return data; } void push(char val) { ...
12.054545
46
0.455505
[ "vector" ]
8507657e2b24dee5b2c03e980e108cc9525a93f5
2,559
cpp
C++
Codes/jxdeng3264/701-800/707.Design-Linked-List/Solution.cpp
liuxiaohui1221/algorithm
d80e64185ceb4798ac5389bfbd226dc1d406f6b5
[ "Apache-2.0" ]
256
2017-10-25T13:02:15.000Z
2022-02-25T13:47:59.000Z
Codes/jxdeng3264/701-800/707.Design-Linked-List/Solution.cpp
liuxiaohui1221/algorithm
d80e64185ceb4798ac5389bfbd226dc1d406f6b5
[ "Apache-2.0" ]
56
2017-10-27T01:34:20.000Z
2022-03-01T00:20:55.000Z
Codes/jxdeng3264/701-800/707.Design-Linked-List/Solution.cpp
liuxiaohui1221/algorithm
d80e64185ceb4798ac5389bfbd226dc1d406f6b5
[ "Apache-2.0" ]
83
2017-10-25T12:51:53.000Z
2022-02-15T08:27:03.000Z
class MyLinkedList { public: /** Initialize your data structure here. */ MyLinkedList() { // m_head = new ListNode(0); m_size = 0; m_tail = &m_head; m_tail->next = NULL; } /** Get the value of the index-th node in the linked list. If the index is invalid, return -1. */ int get(int...
21.686441
246
0.5678
[ "object" ]
850874adee720f13b3b3193d3107530773755241
11,039
cpp
C++
Import/Detector.cpp
renesugar/FileConvert
1f304e126d7e5029c42d5f8943a9e725ef798035
[ "Apache-2.0" ]
21
2017-09-24T14:03:39.000Z
2021-05-21T02:01:16.000Z
Import/Detector.cpp
renesugar/FileConvert
1f304e126d7e5029c42d5f8943a9e725ef798035
[ "Apache-2.0" ]
null
null
null
Import/Detector.cpp
renesugar/FileConvert
1f304e126d7e5029c42d5f8943a9e725ef798035
[ "Apache-2.0" ]
1
2017-09-25T13:34:16.000Z
2017-09-25T13:34:16.000Z
/* * Copyright 2017 MapD Technologies, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
30.663889
107
0.648519
[ "vector" ]
850bf745c495e6cae3ece20cfa4abe1b114f0c93
3,147
cpp
C++
cpp-101/week8/tranche2.cpp
mcrts-learning/mcrts-cpp
5de2ce243d554c7a259e860d08e677059537084b
[ "Unlicense" ]
null
null
null
cpp-101/week8/tranche2.cpp
mcrts-learning/mcrts-cpp
5de2ce243d554c7a259e860d08e677059537084b
[ "Unlicense" ]
null
null
null
cpp-101/week8/tranche2.cpp
mcrts-learning/mcrts-cpp
5de2ce243d554c7a259e860d08e677059537084b
[ "Unlicense" ]
null
null
null
#include <iostream> #include <vector> #include <memory> using namespace std; typedef size_t Position; typedef vector<int> Sequence; struct SousSequence { Sequence& sequence; Position debut; Position fin; int somme; }; int evaluate(Sequence const& sequence, size_t debut, size_t fin) { int somme(0)...
26.008264
70
0.527804
[ "vector" ]
850d28b2a1e9444326de1f29234cf8f34773b4ff
424
cpp
C++
src/main.cpp
handsomefox/cpp-data-structures
61cdeb7824ad62278a8c9631f24e50841b16f47e
[ "MIT" ]
1
2021-04-01T13:32:55.000Z
2021-04-01T13:32:55.000Z
src/main.cpp
handsomefox/cpp-data-structures
61cdeb7824ad62278a8c9631f24e50841b16f47e
[ "MIT" ]
null
null
null
src/main.cpp
handsomefox/cpp-data-structures
61cdeb7824ad62278a8c9631f24e50841b16f47e
[ "MIT" ]
null
null
null
#include "pch.h" #include "Array.h" #include "String.h" #include "Vector.h" int main() { for (cpp::Array<int, 5> arr{ 1,2,3,4,5 }; const auto & element : arr) std::cout << element << ' '; for (const cpp::Vector vec{ 1,2,3,4,5,6 }; const auto & element : vec) std::cout << element << ' '; const cpp::String str...
19.272727
71
0.566038
[ "vector" ]
850e13fae7b914bcf966da155c1743f3892ed057
1,597
cpp
C++
BZOJ/2746/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/2746/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/2746/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<vector> #define pb push_back #define rg register #define rep(i,x,y) for(rg int i=(x);i<=(y);++i) #define per(i,x,y) for(rg int i=(x);i>=(y);--i) using namespace std; const int N=1e6+10,alp=26,mo=1e9+7; inline bool vaild(char c){return c>='a'&&c<='z';} inline char gc(){char c...
24.19697
72
0.539136
[ "vector" ]
850f127ff403bc67d71cb4d2322c29b63208d5a4
13,762
cpp
C++
FinalArrorDection/main.cpp
Jiaoboy96/Robomaster
3896320a28884016edbba492b81d514650c81d81
[ "MulanPSL-1.0" ]
1
2021-01-12T05:26:19.000Z
2021-01-12T05:26:19.000Z
FinalArrorDection/main.cpp
Jiaoboy96/Robomaster
3896320a28884016edbba492b81d514650c81d81
[ "MulanPSL-1.0" ]
null
null
null
FinalArrorDection/main.cpp
Jiaoboy96/Robomaster
3896320a28884016edbba492b81d514650c81d81
[ "MulanPSL-1.0" ]
null
null
null
/*###################&&&&&&&&&&&&&&&&############################# # 据xml文件调参 # Y-89,N-78 r-114,b-98 ###################@@@@@@@@@@@@@@@@#############################*/ #include "ArrorRecognition.h" //程序1---装甲识别 #include "BigPinwheel.h" //程序2---大风车 #include "ArrorAttitudeAlgorithm.h" //姿态解算 #in...
30.582222
204
0.669961
[ "vector" ]
851f916f1b09de63dba321d7aff962c46b3fec26
3,255
cpp
C++
5. Virtual Functions/1.Basic/2.Pointers.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
3
2019-11-06T15:43:06.000Z
2020-06-05T10:47:28.000Z
5. Virtual Functions/1.Basic/2.Pointers.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
null
null
null
5. Virtual Functions/1.Basic/2.Pointers.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
1
2019-09-06T03:37:08.000Z
2019-09-06T03:37:08.000Z
/* Write a program to demonstrate use of pointers */ #include <iostream> #include <string> using namespace std; class Engineer { public: string profession; public: Engineer() { profession = ""; } public: Engineer(string profession) { this -> profession = profession; } public: string GetJob() { re...
17.5
95
0.713671
[ "object" ]
852104efc0342556a37d76d0cc0559a3134429a2
3,346
cc
C++
modules/dreamview/backend/websocket.cc
Orientlee/apollo
710c3714b8be10ba3410e2c30b4b6758f6d99918
[ "Apache-2.0" ]
1
2017-07-19T07:17:29.000Z
2017-07-19T07:17:29.000Z
modules/dreamview/backend/websocket.cc
wzh212/apollo
0a87c670a9adea5e61b89458c082ddfb39218952
[ "Apache-2.0" ]
1
2022-02-10T18:36:05.000Z
2022-02-10T18:36:05.000Z
modules/dreamview/backend/websocket.cc
wzh212/apollo
0a87c670a9adea5e61b89458c082ddfb39218952
[ "Apache-2.0" ]
1
2017-10-04T12:27:24.000Z
2017-10-04T12:27:24.000Z
/* Copyright 2017 The Apollo Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
30.144144
80
0.638972
[ "vector" ]
8524d5ea6d62401ae1a549a8e4f233f485549320
1,394
cpp
C++
books/tech/cpp/std-17/m_bancila-modern_cpp_programming_cookbook/ch_01-core_lang/08-range-based_for_loops.cpp
ordinary-developer/education
1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58
[ "MIT" ]
null
null
null
books/tech/cpp/std-17/m_bancila-modern_cpp_programming_cookbook/ch_01-core_lang/08-range-based_for_loops.cpp
ordinary-developer/education
1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58
[ "MIT" ]
null
null
null
books/tech/cpp/std-17/m_bancila-modern_cpp_programming_cookbook/ch_01-core_lang/08-range-based_for_loops.cpp
ordinary-developer/education
1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58
[ "MIT" ]
null
null
null
// region [gettying ready] #include <vector> #include <map> std::vector<int> getRates() { return std::vector<int>{ 1, 1, 2, 3, 5, 8, 13 }; } std::multimap<int, bool> getRates2() { return std::multimap<int, bool> { { 1, true }, { 1, true }, { 2, false }, { 3, true }, { 5,...
19.09589
54
0.514347
[ "vector" ]
852cc9cfc8ed86be7e1a84176adb3489357ef347
1,298
hpp
C++
agency/cuda/execution/execution_policy/concurrent_grid_execution_policy.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
129
2016-08-18T23:24:15.000Z
2022-03-25T12:06:05.000Z
agency/cuda/execution/execution_policy/concurrent_grid_execution_policy.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
86
2016-08-19T03:43:33.000Z
2020-07-20T14:27:41.000Z
agency/cuda/execution/execution_policy/concurrent_grid_execution_policy.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
23
2016-08-18T23:52:13.000Z
2022-02-28T16:28:20.000Z
#pragma once #include <agency/detail/config.hpp> #include <agency/execution/execution_policy/basic_execution_policy.hpp> #include <agency/cuda/execution/executor/concurrent_grid_executor.hpp> #include <agency/cuda/execution/executor/scoped_executor.hpp> #include <agency/cuda/device.hpp> namespace agency { namespace c...
27.041667
94
0.775039
[ "object" ]
852e90a5fd2f67749f1c8c3e0d229a4e2c9725fb
347
cpp
C++
AtCoder/Mynavi Programming Contest 2021(AtCoder Beginner Contest 201)/A.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
3
2020-11-01T06:31:30.000Z
2022-02-21T20:37:51.000Z
AtCoder/Mynavi Programming Contest 2021(AtCoder Beginner Contest 201)/A.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
null
null
null
AtCoder/Mynavi Programming Contest 2021(AtCoder Beginner Contest 201)/A.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
1
2021-05-05T18:56:31.000Z
2021-05-05T18:56:31.000Z
//https://atcoder.jp/contests/abc201/tasks/abc201_a #include <bits/stdc++.h> using namespace std; int main () { ios_base::sync_with_stdio (0); cin.tie (0); cout.tie (0); vector<int> V(3); for (int i = 0; i < 3; ++i) { cin >> V[i]; } sort(V.begin(), V.end()); cout << (V[2] - V[1] == V[1]...
24.785714
61
0.512968
[ "vector" ]
8536c63f89089001afd9bffa47c5a38866da6261
164,330
cpp
C++
code/src/AmrIce.cpp
cemacrr/bisicles_gia
ee3a4c96ca492568900c31501935288c00f583f3
[ "BSD-3-Clause-LBNL" ]
null
null
null
code/src/AmrIce.cpp
cemacrr/bisicles_gia
ee3a4c96ca492568900c31501935288c00f583f3
[ "BSD-3-Clause-LBNL" ]
null
null
null
code/src/AmrIce.cpp
cemacrr/bisicles_gia
ee3a4c96ca492568900c31501935288c00f583f3
[ "BSD-3-Clause-LBNL" ]
null
null
null
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include <iostream> #include <fstream> #include <string> #include <cstdio> #i...
31.306916
136
0.612901
[ "geometry", "object", "vector", "model", "3d" ]
853c640e162322cba767874454daced9227a9dd2
11,941
cpp
C++
lib/IRremoteESP8266/src/ir_Truma.cpp
Eliauk-Forever/JARVIS
69569e530f0bc66c90bc2ba2a266edb65006bd6f
[ "MulanPSL-1.0" ]
14
2019-07-09T09:38:59.000Z
2022-02-11T13:57:18.000Z
lib/IRremoteESP8266/src/ir_Truma.cpp
Eliauk-Forever/JARVIS
69569e530f0bc66c90bc2ba2a266edb65006bd6f
[ "MulanPSL-1.0" ]
null
null
null
lib/IRremoteESP8266/src/ir_Truma.cpp
Eliauk-Forever/JARVIS
69569e530f0bc66c90bc2ba2a266edb65006bd6f
[ "MulanPSL-1.0" ]
1
2021-06-26T22:26:58.000Z
2021-06-26T22:26:58.000Z
// Copyright 2021 David Conran (crankyoldgit) /// @file /// @brief Support for Truma protocol. /// This protocol uses mark length bit encoding. /// @see https://github.com/crankyoldgit/IRremoteESP8266/issues/1440 /// @see https://docs.google.com/spreadsheets/d/1k-RHu0vSIB6IweiTZSa3Rxy3Z_qPUtqwcqot8uXVO6I/edit?usp=shar...
35.017595
109
0.689473
[ "model" ]
8543a0f36c10f0db060d98037cf7b59fd57db99f
2,629
cpp
C++
GongDolHoon/OpenGlSample/renderer.cpp
qkrtmdgns23/GameEngineArchitecture_GDH_Engine
042c3b04ffbacaccce22aea9a763dba35153d07d
[ "MIT" ]
1
2020-10-28T07:08:39.000Z
2020-10-28T07:08:39.000Z
GongDolHoon/OpenGlSample/renderer.cpp
qkrtmdgns23/GameEngineArchitecture_GDH_Engine
042c3b04ffbacaccce22aea9a763dba35153d07d
[ "MIT" ]
1
2020-10-30T12:18:24.000Z
2020-10-31T08:59:58.000Z
GongDolHoon/OpenGlSample/renderer.cpp
qkrtmdgns23/GameEngineArchitecture_GDH_Engine
042c3b04ffbacaccce22aea9a763dba35153d07d
[ "MIT" ]
null
null
null
#include <iostream> // library #include "include/GL/glew.h" #include "glm/gtc/matrix_transform.hpp" // custom header #include "renderer.h" namespace gdh_engine { namespace manager { Renderer* Renderer::instance_ = nullptr; Renderer::Renderer(const char* title, const unsigned int kMajorVersion, const unsigne...
26.555556
116
0.731076
[ "render", "object" ]
8544d4fa45319d9e67e41a91dd580d22b9c5b0e8
1,620
cpp
C++
CSGOSimple/features/skins/parser.cpp
YMY1666527646/CustomHooks-csgo
c79cb831dbcab044969abf556b5bfe6fab5b187c
[ "MIT" ]
7
2022-02-08T18:19:07.000Z
2022-03-25T22:17:55.000Z
CSGOSimple/features/skins/parser.cpp
Kajus14/CustomHooks-csgo
aebc092ff4c5930ec7672501ba5b450dc0cbe5ba
[ "MIT" ]
null
null
null
CSGOSimple/features/skins/parser.cpp
Kajus14/CustomHooks-csgo
aebc092ff4c5930ec7672501ba5b450dc0cbe5ba
[ "MIT" ]
5
2022-02-04T09:29:11.000Z
2022-03-21T15:09:13.000Z
#include "parser.h" namespace valve_parser { object::object(document* doc) : node(doc) {} object* object::to_object() { return this; } std::shared_ptr<node> object::get_key_by_name(char* name) { for (auto& child : children) { if (child->to_key_value()) { if (util::str_equ(child->to_key_value()-...
17.052632
86
0.582099
[ "object" ]
855cfa114d4bdaae81c0d722cf44e7da52a4d744
1,330
hpp
C++
test/util.hpp
amallia/Simple
63ae6cf58ab3a34cef94b910c9fe245f6f95c4b5
[ "Apache-2.0" ]
1
2020-03-17T14:34:16.000Z
2020-03-17T14:34:16.000Z
test/util.hpp
amallia/Simple
63ae6cf58ab3a34cef94b910c9fe245f6f95c4b5
[ "Apache-2.0" ]
null
null
null
test/util.hpp
amallia/Simple
63ae6cf58ab3a34cef94b910c9fe245f6f95c4b5
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2018-present Antonio Mallia <me@antoniomallia.it> * * 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 b...
30.930233
115
0.672932
[ "vector" ]
85641f7669f74ef7d59e2a223490dfd18ab7a966
6,528
cpp
C++
code/src/pdflib/cidfontdictionary.cpp
jgresula/jagpdf
6c36958b109e6522e6b57d04144dd83c024778eb
[ "MIT" ]
54
2015-02-16T14:25:16.000Z
2022-03-16T07:54:25.000Z
code/src/pdflib/cidfontdictionary.cpp
jgresula/jagpdf
6c36958b109e6522e6b57d04144dd83c024778eb
[ "MIT" ]
null
null
null
code/src/pdflib/cidfontdictionary.cpp
jgresula/jagpdf
6c36958b109e6522e6b57d04144dd83c024778eb
[ "MIT" ]
30
2015-03-05T08:52:25.000Z
2022-02-17T13:49:15.000Z
// Copyright (c) 2005-2009 Jaroslav Gresula // // Distributed under the MIT license (See accompanying file // LICENSE.txt or copy at http://jagpdf.org/LICENSE.txt) // #include "precompiled.h" #include "cidfontdictionary.h" #include "pdffont.h" #include "objfmt.h" #include "docwriterimpl.h" #include "resourcemanagemen...
28.137931
125
0.605086
[ "vector" ]
856627c38d5bbd5d3df35cb864553ae06f1c9f88
2,044
cpp
C++
src/Skybox.cpp
Loic-Corenthy/miniGL
47976ea80e253e115eafae5934ec3ebdd2275d16
[ "MIT" ]
1
2021-08-18T03:54:22.000Z
2021-08-18T03:54:22.000Z
src/Skybox.cpp
Loic-Corenthy/miniGL
47976ea80e253e115eafae5934ec3ebdd2275d16
[ "MIT" ]
null
null
null
src/Skybox.cpp
Loic-Corenthy/miniGL
47976ea80e253e115eafae5934ec3ebdd2275d16
[ "MIT" ]
null
null
null
//===============================================================================================// /*! * \file Skybox.cpp * \author Loïc Corenthy * \version 1.0 */ //===============================================================================================// #include "Skybox.hpp" #include <cass...
23.227273
99
0.630137
[ "mesh", "render", "transform" ]
85663406da34259569469b83ec37953de1bf2ab3
17,001
cpp
C++
pong.cpp
AlexViaColl/Pong2
2e34263893c1154731cdecb84265de67fafdba61
[ "MIT" ]
null
null
null
pong.cpp
AlexViaColl/Pong2
2e34263893c1154731cdecb84265de67fafdba61
[ "MIT" ]
null
null
null
pong.cpp
AlexViaColl/Pong2
2e34263893c1154731cdecb84265de67fafdba61
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/keysym.h> #include <GL/glx.h> #include <alsa/asoundlib.h> typedef unsigned char u8; typedef unsigned short u16; typedef unsigned int u32; typedef unsigned long lo...
36.249467
106
0.482501
[ "render" ]
856cf77b52bc835a7feecb4f23714d3205c82c01
2,262
cpp
C++
opensoap/src/server/XmlDoc.cpp
kbore/pbis-open
a05eb9309269b6402b4d6659bc45961986ea5eab
[ "Apache-2.0" ]
372
2016-10-28T10:50:35.000Z
2022-03-18T19:54:37.000Z
opensoap/src/server/XmlDoc.cpp
kbore/pbis-open
a05eb9309269b6402b4d6659bc45961986ea5eab
[ "Apache-2.0" ]
317
2016-11-02T17:41:48.000Z
2021-11-08T20:28:19.000Z
opensoap/src/server/XmlDoc.cpp
kenferrara/pbis-open
690c325d947b2bf6fb3032f9d660e41b94aea4be
[ "Apache-2.0" ]
107
2016-11-03T19:25:16.000Z
2022-03-20T21:15:22.000Z
/* -*- mode: c++; -*- *----------------------------------------------------------------------------- * $RCSfile: XmlDoc.cpp,v $ * * See Copyright for the status of this software. * * The OpenSOAP Project * http://opensoap.jp/ *----------------------------------------------------------------------------- */ #i...
18.85
79
0.549956
[ "vector" ]
8574aefa28e6054c07576879bc8fed7e8e7ee257
2,514
hpp
C++
thread_pool/thread_pool.hpp
huangsunyang/shiyanlou
0b42f783d6aae639c1b0c2a33883a94e127038f7
[ "MIT" ]
30
2017-05-24T06:24:29.000Z
2020-12-18T11:09:53.000Z
thread_pool/thread_pool.hpp
huangsunyang/shiyanlou
0b42f783d6aae639c1b0c2a33883a94e127038f7
[ "MIT" ]
null
null
null
thread_pool/thread_pool.hpp
huangsunyang/shiyanlou
0b42f783d6aae639c1b0c2a33883a94e127038f7
[ "MIT" ]
15
2017-05-24T06:24:33.000Z
2020-04-21T11:32:36.000Z
// // thread_pool.hpp // thread_pool // // Created by huangsunyang on 5/20/2017. // Copyright © 2017年 huangsunyang. All rights reserved. // #ifndef thread_pool_hpp #define thread_pool_hpp #include <stdio.h> #include <iostream> #include <thread> #include <chrono> #include <future> #include <string> #include <vect...
23.942857
73
0.541368
[ "vector" ]
85774b369ff40ae4cccacc60b840b00dc7eff57d
9,498
cpp
C++
animation-lab2/tankLab/Particles.cpp
marcus1337/DH2323
9d2f3815baba85a90384c58a8e49f78399890d86
[ "MIT" ]
null
null
null
animation-lab2/tankLab/Particles.cpp
marcus1337/DH2323
9d2f3815baba85a90384c58a8e49f78399890d86
[ "MIT" ]
null
null
null
animation-lab2/tankLab/Particles.cpp
marcus1337/DH2323
9d2f3815baba85a90384c58a8e49f78399890d86
[ "MIT" ]
null
null
null
#define GL_GLEXT_PROTOTYPES #include "stdlib.h" #include "stdio.h" #include "windows.h" #include <gl/gl.h> // standard OpenGL include #include <gl/glu.h> // OpenGL utilties #include "glut.h" // OpenGL utilties #include "Particles.h" #include "myVector.h" #include <iostream> using nam...
36.114068
90
0.66772
[ "render" ]
85825d49bded8b39a9c2f5075315d40a124c6762
77,301
cpp
C++
inetcore/outlookexpress/mailnews/rules/rulesui.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetcore/outlookexpress/mailnews/rules/rulesui.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetcore/outlookexpress/mailnews/rules/rulesui.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/////////////////////////////////////////////////////////////////////////////// // // RulesUI.cpp // /////////////////////////////////////////////////////////////////////////////// #include <pch.hxx> #include "rulesui.h" #include "aplyrule.h" #include "editrule.h" #include "ruledesc.h" #include "ruleutil.h...
27.766164
142
0.502503
[ "object" ]
3ff56b2c1667d58a2a10b899ad302369a2aeb73a
31,814
cpp
C++
third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-01-07T18:51:03.000Z
2021-01-07T18:51:03.000Z
third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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. #include "platform/graphics/compositing/PaintArtifactCompositor.h" #include "cc/layers/content_layer_client.h" #include "cc/layers/layer.h" #include "cc/...
38.609223
80
0.748538
[ "geometry", "render", "vector", "transform" ]
b2025317255bec594bf3fddddcbab4ca87a076a1
6,863
cpp
C++
EmbUI/ui.cpp
vortigont/EmbUI
aeab49347794bdae292edc27df927459aad9645d
[ "MIT" ]
1
2022-03-27T21:40:46.000Z
2022-03-27T21:40:46.000Z
EmbUI/ui.cpp
vortigont/EmbUI
aeab49347794bdae292edc27df927459aad9645d
[ "MIT" ]
null
null
null
EmbUI/ui.cpp
vortigont/EmbUI
aeab49347794bdae292edc27df927459aad9645d
[ "MIT" ]
null
null
null
// This framework originaly based on JeeUI2 lib used under MIT License Copyright (c) 2019 Marsel Akhkamov // then re-written and named by (c) 2020 Anton Zolotarev (obliterator) (https://github.com/anton-zolotarev) // also many thanks to Vortigont (https://github.com/vortigont), kDn (https://github.com/DmytroKorniienko)...
32.372642
175
0.646947
[ "object" ]
b203d0bdccdc2ef4022c5b795b784e30feca0809
11,864
cpp
C++
src/core/lib/core_data_model/reflection_proto/property_tree_model.cpp
wgsyd/wgtf
d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed
[ "BSD-3-Clause" ]
28
2016-06-03T05:28:25.000Z
2019-02-14T12:04:31.000Z
src/core/lib/core_data_model/reflection_proto/property_tree_model.cpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
null
null
null
src/core/lib/core_data_model/reflection_proto/property_tree_model.cpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
14
2016-06-03T05:52:27.000Z
2019-03-21T09:56:03.000Z
#include "property_tree_model.hpp" #include "core_common/assert.hpp" #include "core_data_model/common_data_roles.hpp" #include "core_reflection/metadata/meta_utilities.hpp" #include "core_reflection/metadata/meta_impl.hpp" #include "core_reflection/interfaces/i_base_property.hpp" #include "core_reflection/interfaces/i...
28.450839
153
0.714009
[ "object", "vector" ]
b208d7261165b6a3b845765a28827cd6e2cce7fd
767
hpp
C++
src/util/logging_system.hpp
Entalpi/MeineKraft
62b037e05270cf19df5f11c8dacaa55a7414015f
[ "Unlicense", "MIT" ]
31
2016-07-01T21:25:11.000Z
2022-03-26T03:19:42.000Z
src/util/logging_system.hpp
Entalpi/MeineKraft
62b037e05270cf19df5f11c8dacaa55a7414015f
[ "Unlicense", "MIT" ]
1
2017-04-23T08:15:31.000Z
2017-04-23T08:15:31.000Z
src/util/logging_system.hpp
Entalpi/MeineKraft
62b037e05270cf19df5f11c8dacaa55a7414015f
[ "Unlicense", "MIT" ]
4
2017-01-26T18:13:11.000Z
2020-01-28T22:42:52.000Z
#ifndef MEINEKRAFT_LOGGING_SYSTEM_H_ #define MEINEKRAFT_LOGGING_SYSTEM_H_ #include <string> #include <array> #include <mutex> #include <vector> struct LogMsg { std::string msg; uint16_t filter_flags; }; struct LoggingSystem { std::mutex buffer_mutex; std::vector<LogMsg> buffer; uint16_t filter_flags; st...
18.707317
53
0.710561
[ "vector" ]
b20ddae671fd07fdd224d8bc75986747976390a4
59
hpp
C++
src/boost_geometry_geometries_adapted_std_array.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_geometry_geometries_adapted_std_array.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_geometry_geometries_adapted_std_array.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/geometry/geometries/adapted/std_array.hpp>
29.5
58
0.830508
[ "geometry" ]
b21d79ddb94cac33bf24e8c8b233c0fa3b87534e
13,557
cc
C++
src/xapian/api/database.cc
Kronuz/Xapiand
a71570859dcfc9f48090d845053f359b07f4f78c
[ "MIT" ]
370
2016-03-14T12:19:08.000Z
2022-03-25T02:07:29.000Z
src/xapian/api/database.cc
YosefMac/Xapiand-1
a71570859dcfc9f48090d845053f359b07f4f78c
[ "MIT" ]
34
2015-11-30T19:06:40.000Z
2022-02-26T03:46:58.000Z
src/xapian/api/database.cc
YosefMac/Xapiand-1
a71570859dcfc9f48090d845053f359b07f4f78c
[ "MIT" ]
31
2015-02-13T22:27:34.000Z
2022-03-25T02:07:34.000Z
/** @file database.cc * @brief Database API class */ /* Copyright 2006,2007,2008,2009,2010,2011,2013,2014,2015,2016,2017,2019 Olly Betts * Copyright 2007,2008,2009 Lemur Consulting Ltd * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License a...
21.760835
83
0.709006
[ "vector" ]
b21fbed8ee24ad8e8ee317a686ede053f5c4861c
13,029
cpp
C++
src/MySQLConnector/MySQLConnector.cpp
jspark311/File-Librarian
0d4cddffe4e57c4feebd9ae62cbb9c82699e0a0b
[ "Apache-2.0" ]
null
null
null
src/MySQLConnector/MySQLConnector.cpp
jspark311/File-Librarian
0d4cddffe4e57c4feebd9ae62cbb9c82699e0a0b
[ "Apache-2.0" ]
null
null
null
src/MySQLConnector/MySQLConnector.cpp
jspark311/File-Librarian
0d4cddffe4e57c4feebd9ae62cbb9c82699e0a0b
[ "Apache-2.0" ]
null
null
null
#include <syslog.h> #include <mysql/errmsg.h> #include <mysql/mysql.h> #include "MySQLConnector.h" #include "StringBuilder.h" #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <ctype.h> #include <signal.h> #include <unistd.h> #include <sys/types.h> extern void fp_log(const char *f...
38.433628
218
0.578939
[ "object" ]
b2203c35d9fd11a2d97327312019f2b5bd3befd8
3,589
hpp
C++
src/SvgFontManager.hpp
StratifyLabs/fontutil
e8a7eab1fe0e851985a029abeb3e1acd848b6f10
[ "Apache-2.0" ]
null
null
null
src/SvgFontManager.hpp
StratifyLabs/fontutil
e8a7eab1fe0e851985a029abeb3e1acd848b6f10
[ "Apache-2.0" ]
null
null
null
src/SvgFontManager.hpp
StratifyLabs/fontutil
e8a7eab1fe0e851985a029abeb3e1acd848b6f10
[ "Apache-2.0" ]
null
null
null
/*! \file */ //Copyright 2011-2018 Tyler Gilbert; All Rights Reserved #ifndef SVGFONTMANAGER_HPP_ #define SVGFONTMANAGER_HPP_ #include "FontObject.hpp" #include "BmpFontGenerator.hpp" class FillPoint { public: FillPoint(const Point & point, sg_size_t spacing){ m_point = point; m_spacing = spacing; } Point...
25.635714
176
0.758429
[ "object", "vector" ]
b2228db8349a136613da88006f205320ffc255df
3,716
cpp
C++
src/butterfly/private/fieldpath_huffman.cpp
ButterflyStats/butterfly
339e91a882cadc1a8f72446616f7d7f1480c3791
[ "Apache-2.0" ]
19
2017-04-13T07:46:59.000Z
2021-12-05T20:58:54.000Z
src/butterfly/private/fieldpath_huffman.cpp
ButterflyStats/butterfly
339e91a882cadc1a8f72446616f7d7f1480c3791
[ "Apache-2.0" ]
5
2018-03-21T17:06:23.000Z
2021-12-03T10:58:46.000Z
src/butterfly/private/fieldpath_huffman.cpp
ButterflyStats/butterfly
339e91a882cadc1a8f72446616f7d7f1480c3791
[ "Apache-2.0" ]
4
2018-03-11T12:12:07.000Z
2020-11-17T07:46:37.000Z
/** * @file fieldpath_huffman.cpp * @author Robin Dietrich <me (at) invokr (dot) org> * * @par License * Butterfly Replay Parser * Copyright 2014-2016 Robin Dietrich * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License...
44.238095
95
0.745694
[ "vector" ]
b2291f5d61cf62ebe7dd7d141d7bd97c89d36d89
329
hpp
C++
src/serialization/matrix.hpp
degarashi/frea
bb598245c2ab710cc816e98d7361e5863af5fd7e
[ "MIT" ]
null
null
null
src/serialization/matrix.hpp
degarashi/frea
bb598245c2ab710cc816e98d7361e5863af5fd7e
[ "MIT" ]
null
null
null
src/serialization/matrix.hpp
degarashi/frea
bb598245c2ab710cc816e98d7361e5863af5fd7e
[ "MIT" ]
null
null
null
#pragma once #include "../matrix.hpp" #include "vector.hpp" #include <cereal/cereal.hpp> namespace frea { template <class Ar, class V, int M> void serialize(Ar& ar, DataM<V,M>& d) { using Dm = DataM<V,M>; std::size_t sz = Dm::dim_m; ar(cereal::make_size_tag(sz)); for(std::size_t i=0 ; i<sz ; i++) ar(d.m[i...
20.5625
40
0.6231
[ "vector" ]
b22b703aa66b4a71b0feb4e3fbf3bdbd6aaec990
7,225
cpp
C++
Engine/Dependences/Framework/Graphics/src/Types/Geometry/Mesh3D.cpp
GlebShikovec/SREngine
bb806c3e4da06ef6fddee5b46ed5d2fca231be43
[ "MIT" ]
null
null
null
Engine/Dependences/Framework/Graphics/src/Types/Geometry/Mesh3D.cpp
GlebShikovec/SREngine
bb806c3e4da06ef6fddee5b46ed5d2fca231be43
[ "MIT" ]
1
2022-03-07T14:42:22.000Z
2022-03-07T14:42:22.000Z
Engine/Dependences/Framework/Graphics/src/Types/Geometry/Mesh3D.cpp
GlebShikovec/SREngine
bb806c3e4da06ef6fddee5b46ed5d2fca231be43
[ "MIT" ]
null
null
null
// // Created by Nikita on 02.06.2021. // #include <Types/Geometry/Mesh3D.h> // TODO: UNSAFE SHIT! inline static std::map<unsigned int, unsigned long> VAO_usages = std::map<unsigned int, unsigned long>(); inline static std::map<std::string, unsigned int> VAO_names = std::map<std::string, unsigned int>(); inline s...
31.969027
150
0.551419
[ "mesh", "geometry", "render" ]
b22c35ebce66e21fdc0867da81291691762b9041
3,837
cpp
C++
013/L7/Repository.cpp
atenie/programming-challenges
32c06284c87eb0559cfd7c23a11824cd3935a254
[ "BSD-2-Clause" ]
null
null
null
013/L7/Repository.cpp
atenie/programming-challenges
32c06284c87eb0559cfd7c23a11824cd3935a254
[ "BSD-2-Clause" ]
null
null
null
013/L7/Repository.cpp
atenie/programming-challenges
32c06284c87eb0559cfd7c23a11824cd3935a254
[ "BSD-2-Clause" ]
null
null
null
// // Created by alexandru on 03.06.2018. // #include <iostream> #include "Repository.h" void Repository::addMovie(std::shared_ptr<Movie> m) { m_List.push_back(m); } void Repository::addToWatchList(std::shared_ptr<Movie> m) { w_List.push_back(m); } std::vector<std::shared_ptr<Movie>> Repository::retWList()...
28.213235
92
0.513943
[ "vector" ]
b230c8fd4d0fdfaae4d65dc473dcbdc77a422941
2,039
hpp
C++
include/boost/gil/image_processing/filter.hpp
Sricharan16/gil
fbec8a3aa4b87245f840829cebfe722270e91f6e
[ "BSL-1.0" ]
1
2022-02-15T09:09:08.000Z
2022-02-15T09:09:08.000Z
include/boost/gil/image_processing/filter.hpp
Sricharan16/gil
fbec8a3aa4b87245f840829cebfe722270e91f6e
[ "BSL-1.0" ]
null
null
null
include/boost/gil/image_processing/filter.hpp
Sricharan16/gil
fbec8a3aa4b87245f840829cebfe722270e91f6e
[ "BSL-1.0" ]
null
null
null
// // Copyright 2019 Miral Shah <miralshah2211@gmail.com> // // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_GIL_IMAGE_PROCESSING_FILTER_HPP #define BOOST_GIL_IMA...
31.369231
106
0.745463
[ "vector" ]
b23ab0c174eef35f649250d5fde87007d04d5997
52,790
cxx
C++
src/render.cxx
jtrulson/conquest
3dcb92ad6bf3b6a2eb64e457ce50b63c34110c96
[ "MIT" ]
13
2018-03-28T17:25:40.000Z
2022-03-10T14:13:23.000Z
src/render.cxx
jtrulson/conquest
3dcb92ad6bf3b6a2eb64e457ce50b63c34110c96
[ "MIT" ]
null
null
null
src/render.cxx
jtrulson/conquest
3dcb92ad6bf3b6a2eb64e457ce50b63c34110c96
[ "MIT" ]
1
2020-09-13T05:12:34.000Z
2020-09-13T05:12:34.000Z
// // Author: Jon Trulson <jon@radscan.com> // Copyright (c) 1994-2018 Jon Trulson // // The MIT License // // 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, includin...
32.829602
85
0.547376
[ "geometry", "render" ]
b2428d7a705752b7c168d630701b836dc48cffaa
932
hpp
C++
NDD_VR_Viewer/include/videosynchronizer.hpp
Ezrit/VR_TCMPODS
bc114a4c98bf7af6a348825671fcea49004e22b5
[ "Unlicense" ]
null
null
null
NDD_VR_Viewer/include/videosynchronizer.hpp
Ezrit/VR_TCMPODS
bc114a4c98bf7af6a348825671fcea49004e22b5
[ "Unlicense" ]
null
null
null
NDD_VR_Viewer/include/videosynchronizer.hpp
Ezrit/VR_TCMPODS
bc114a4c98bf7af6a348825671fcea49004e22b5
[ "Unlicense" ]
null
null
null
#ifndef __MSI_VR__VIDEOSYNCHRONIZER_HPP__ #define __MSI_VR__VIDEOSYNCHRONIZER_HPP__ #include <vector> #include <chrono> #include "videotexture.hpp" namespace msi_vr { class VideoSynchronizer { public: bool repeat = true; VideoSynchronizer(); ~VideoSynchronizer(); voi...
21.181818
103
0.636266
[ "vector" ]
b2484a75242d0721c361c9a00b00e7898a4e0238
1,163
cpp
C++
test/container/grid/fill.cpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
test/container/grid/fill.cpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
test/container/grid/fill.cpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <fcppt/cast/size.hpp> #include <fcppt/cast/to_signed.hpp> #include <fcppt/container/grid/...
15.716216
61
0.625967
[ "object" ]
b24c30a46c34da02779f5beb21e96e605fdc467c
36,530
cpp
C++
src/slam/LinearSolver_CholMod.cpp
meitiever/SLAM-BA
57ee2af8508300e818feb67f7adbe026eee3ada7
[ "MIT" ]
null
null
null
src/slam/LinearSolver_CholMod.cpp
meitiever/SLAM-BA
57ee2af8508300e818feb67f7adbe026eee3ada7
[ "MIT" ]
null
null
null
src/slam/LinearSolver_CholMod.cpp
meitiever/SLAM-BA
57ee2af8508300e818feb67f7adbe026eee3ada7
[ "MIT" ]
null
null
null
/* +-----------------------------------+ | | | *** CHOLMOD linear solver *** | | | | Copyright (c) -tHE SWINe- 2012 | | | | LinearSolver_CholMod...
35.813725
164
0.721872
[ "vector", "model" ]
b24f31bcd5ea87bae282eb209d7fe9f4168bda09
3,176
cpp
C++
CH19/HULL/hull.cpp
acastellanos95/AppCompPhys
920a7ba707e92f1ef92fba9d97323863994f0b1a
[ "MIT" ]
null
null
null
CH19/HULL/hull.cpp
acastellanos95/AppCompPhys
920a7ba707e92f1ef92fba9d97323863994f0b1a
[ "MIT" ]
null
null
null
CH19/HULL/hull.cpp
acastellanos95/AppCompPhys
920a7ba707e92f1ef92fba9d97323863994f0b1a
[ "MIT" ]
null
null
null
/* hull.cpp Jarvis March algorithm for the convex hull */ #include <iostream> #include <fstream> #include <cmath> #include <random> #include <vector> using namespace std; class TwoVect { public: double x; double y; TwoVect () { x=0.0; y=0.0; }; TwoVect (double x0, double y0) { x=x0; y=y0; ...
21.033113
133
0.596662
[ "vector" ]
b2571273881376fd5b96cfa81c7a846096fa2e6f
1,240
cpp
C++
volume_I/acm_1024.cpp
raidenluikang/acm.timus.ru
9b7c99eb03959acff9dd96326eec642a2c31ed04
[ "MIT" ]
null
null
null
volume_I/acm_1024.cpp
raidenluikang/acm.timus.ru
9b7c99eb03959acff9dd96326eec642a2c31ed04
[ "MIT" ]
null
null
null
volume_I/acm_1024.cpp
raidenluikang/acm.timus.ru
9b7c99eb03959acff9dd96326eec642a2c31ed04
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <set> #include <map> #include <stack> #include <utility> #include <functional> #include <algorithm> #include <list> #include <queue> #include <iomanip> #include <cstddef> #include <cstdio> #include <cstdlib> #include <cstring> #include <string> typedef long long i64; type...
19.68254
90
0.566129
[ "vector" ]
b2588d535d7fbac8f2b72e6d88fb21b016510d29
2,764
hpp
C++
src/common/types.hpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
3
2021-06-24T01:05:42.000Z
2021-07-23T07:24:16.000Z
src/common/types.hpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
5
2021-06-25T00:13:51.000Z
2021-07-23T14:26:01.000Z
src/common/types.hpp
farleyknight/PotatoDB
cf8e39a76caf8a66a0182310509756737c624cfa
[ "MIT" ]
null
null
null
#pragma once #include <deque> #include <future> #include <memory> #include <mutex> #include <limits> #include <list> #include <string> #include <map> #include <unordered_map> #include <unordered_set> #include <vector> /************************************************ * Macros *********************************...
19.602837
58
0.640738
[ "vector" ]
b263fb30b5853df3744bfeda0b77c726cef36f52
241
inl
C++
include/inline/com.inl
vn-os/Vutils
e8c4cbc9ff5eebc6f3cc0114f5239f23ee696ad9
[ "MIT" ]
15
2018-05-17T12:15:45.000Z
2022-03-18T03:22:42.000Z
include/inline/com.inl
vn-os/Vutils
e8c4cbc9ff5eebc6f3cc0114f5239f23ee696ad9
[ "MIT" ]
null
null
null
include/inline/com.inl
vn-os/Vutils
e8c4cbc9ff5eebc6f3cc0114f5239f23ee696ad9
[ "MIT" ]
14
2018-05-17T12:58:32.000Z
2022-03-18T03:22:46.000Z
/** * @file com.inl * @author Vic P. * @brief Inline for Component Object Model */ #if defined(VU_WMI_ENABLED) struct IWbemLocator; struct IWbemServices; struct IWbemClassObject; struct IEnumWbemClassObject; #endif // VU_WMI_ENABLED
18.538462
44
0.751037
[ "object", "model" ]
b265420a14886318dcc20650f443bc101d7fe7dd
1,275
cc
C++
runtime/vm/instructions.cc
TheRakeshPurohit/sdk
2885ecc42664e4972343addeb73beb892f4737ea
[ "BSD-3-Clause" ]
null
null
null
runtime/vm/instructions.cc
TheRakeshPurohit/sdk
2885ecc42664e4972343addeb73beb892f4737ea
[ "BSD-3-Clause" ]
null
null
null
runtime/vm/instructions.cc
TheRakeshPurohit/sdk
2885ecc42664e4972343addeb73beb892f4737ea
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "vm/instructions.h" #include "vm/object.h" #if defined(DART_PRECOMPILER) #include "vm/compile...
30.357143
78
0.671373
[ "object" ]
b26788cfe5a04b414da12109f7744872a212157b
828
cc
C++
2nQuatri/InsertionSort/main_insertion.cc
ulidev/UPC2015
8b3b44ce204fcb0faced227d32ba85f882a510d7
[ "MIT" ]
null
null
null
2nQuatri/InsertionSort/main_insertion.cc
ulidev/UPC2015
8b3b44ce204fcb0faced227d32ba85f882a510d7
[ "MIT" ]
null
null
null
2nQuatri/InsertionSort/main_insertion.cc
ulidev/UPC2015
8b3b44ce204fcb0faced227d32ba85f882a510d7
[ "MIT" ]
null
null
null
#import <iostream> #import <vector> using namespace std; void insertion_sort(vector<double>& v) { if (v.size() < 2) return; for (int i = 1; i < v.size(); i++){ int j = i; while (j > 0 && v[j] < v[j-1]){ int aux = v[j]; v[j] = v[j-1]; v[j-1] = aux; j--; } } } // for (int i = 1; i <...
15.622642
40
0.448068
[ "vector" ]
b267dc5efea58bb1f461c59f91c7b27d1637af3d
4,866
cpp
C++
src/chroma/cpp/Disk.cpp
bensteinert/chromarenderer
d29b1b080e7f7e4e8650eaa74f03752a07afdab8
[ "MIT" ]
null
null
null
src/chroma/cpp/Disk.cpp
bensteinert/chromarenderer
d29b1b080e7f7e4e8650eaa74f03752a07afdab8
[ "MIT" ]
null
null
null
src/chroma/cpp/Disk.cpp
bensteinert/chromarenderer
d29b1b080e7f7e4e8650eaa74f03752a07afdab8
[ "MIT" ]
1
2018-03-06T03:31:08.000Z
2018-03-06T03:31:08.000Z
#include "Defines.h" #include "BoundingBox.h" #include "Disk.h" #include "Chroma.h" #include "Hitpoint.h" Disk::Disk() { } Disk::Disk(const Vector3 &center_in, const Vector3 &normal_in, const float &radius_in, Material *insideMat_in, Material *outsideMat_in) : Primitive(insideMat_in, false, outsi...
23.852941
111
0.606658
[ "transform" ]
05da5f61aed36d9784c120f81219ac996ddc2eff
6,759
hpp
C++
redfish-core/lib/cable.hpp
cjcain/bmcweb
80badf7ceff486ef2bcb912309563919fc5326ea
[ "Apache-2.0" ]
null
null
null
redfish-core/lib/cable.hpp
cjcain/bmcweb
80badf7ceff486ef2bcb912309563919fc5326ea
[ "Apache-2.0" ]
null
null
null
redfish-core/lib/cable.hpp
cjcain/bmcweb
80badf7ceff486ef2bcb912309563919fc5326ea
[ "Apache-2.0" ]
null
null
null
#pragma once #include <boost/container/flat_map.hpp> #include <utils/json_utils.hpp> namespace redfish { /** * @brief Fill cable specific properties. * @param[in,out] resp HTTP response. * @param[in] ec Error code corresponding to Async method call. * @param[in] properties List of Ca...
36.535135
80
0.487942
[ "object" ]
05ddd8f4928772a24ca4e4cdfbb5cda40809b345
15,632
cc
C++
src/nnet3/nnet-cctc-example.cc
roscisz/kaldi-mpi
2176d0810da77defb382fd8da7066ed583b7fe73
[ "Apache-2.0" ]
2
2018-08-09T14:11:48.000Z
2020-04-27T02:46:00.000Z
src/nnet3/nnet-cctc-example.cc
roscisz/kaldi-mpi
2176d0810da77defb382fd8da7066ed583b7fe73
[ "Apache-2.0" ]
null
null
null
src/nnet3/nnet-cctc-example.cc
roscisz/kaldi-mpi
2176d0810da77defb382fd8da7066ed583b7fe73
[ "Apache-2.0" ]
null
null
null
// nnet3/nnet-ctcexample.cc // Copyright 2015 Johns Hopkins University (author: Daniel Povey) // See ../../COPYING for clarification regarding multiple 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 o...
38.034063
86
0.651164
[ "vector" ]
05df7ea6a25403ef274ca645a20ec70c4f7e35ce
1,939
cpp
C++
scsdk/c++/scsdk_test/standard_cyborg/io/json/PolylineFileIOTests.cpp
StandardCyborg/scsdk
92f80bf2a580ebaafa6b0d1052d90d5c8f6682f7
[ "Apache-2.0" ]
7
2020-11-26T01:07:26.000Z
2021-12-14T07:45:19.000Z
scsdk/c++/scsdk_test/standard_cyborg/io/json/PolylineFileIOTests.cpp
StandardCyborg/scsdk
92f80bf2a580ebaafa6b0d1052d90d5c8f6682f7
[ "Apache-2.0" ]
null
null
null
scsdk/c++/scsdk_test/standard_cyborg/io/json/PolylineFileIOTests.cpp
StandardCyborg/scsdk
92f80bf2a580ebaafa6b0d1052d90d5c8f6682f7
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 Standard Cyborg 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, sof...
32.864407
90
0.732852
[ "vector" ]
05e2f61f7fcc213e160d096745c3384ea6b478ef
6,140
cpp
C++
kr_quadrotor_simulator/src/quadrotor_simulator_trpy.cpp
fcladera/kr_mav_control
3e4a80f9af469df59628537876fb4e9a8f2fcd14
[ "BSD-3-Clause" ]
29
2021-02-08T17:04:13.000Z
2022-03-29T10:43:50.000Z
kr_quadrotor_simulator/src/quadrotor_simulator_trpy.cpp
fcladera/kr_mav_control
3e4a80f9af469df59628537876fb4e9a8f2fcd14
[ "BSD-3-Clause" ]
6
2021-02-08T20:28:40.000Z
2021-09-29T16:51:24.000Z
kr_quadrotor_simulator/src/quadrotor_simulator_trpy.cpp
fcladera/kr_mav_control
3e4a80f9af469df59628537876fb4e9a8f2fcd14
[ "BSD-3-Clause" ]
16
2021-02-10T09:38:10.000Z
2022-03-30T15:55:59.000Z
#include <kr_mav_msgs/TRPYCommand.h> #include <Eigen/Geometry> #include "quadrotor_simulator_base.hpp" namespace QuadrotorSimulator { typedef struct _TRPYCommand { float thrust; float roll, pitch, yaw; float angular_velocity[3]; float kR[3]; float kOm[3]; bool enable_motors; } TRPYCommand; class Quadrot...
37.212121
120
0.569218
[ "geometry" ]
af0349797c126669531e76755d4be313cf8a7554
16,362
cc
C++
chrome/browser/extensions/extension_browser_event_router.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
11
2015-03-20T04:08:08.000Z
2021-11-15T15:51:36.000Z
chrome/browser/extensions/extension_browser_event_router.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/extensions/extension_browser_event_router.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009 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/extensions/extension_browser_event_router.h" #include "base/json/json_writer.h" #include "base/values.h" #include "chrome/br...
36.279379
80
0.697225
[ "object" ]
af0b8732d4af8ba49a766eb73581505eddf906e7
27,300
cpp
C++
EngineLayer/FdrAnalysis/FdrAnalysisEngine.cpp
edgargabriel/HPCMetaMorpheus
160cc269464b8e563fa2f62f6843690b6a2533ee
[ "MIT" ]
2
2020-09-10T19:14:20.000Z
2021-09-11T16:36:56.000Z
EngineLayer/FdrAnalysis/FdrAnalysisEngine.cpp
edgargabriel/HPCMetaMorpheus
160cc269464b8e563fa2f62f6843690b6a2533ee
[ "MIT" ]
null
null
null
EngineLayer/FdrAnalysis/FdrAnalysisEngine.cpp
edgargabriel/HPCMetaMorpheus
160cc269464b8e563fa2f62f6843690b6a2533ee
[ "MIT" ]
3
2020-09-11T01:19:47.000Z
2021-09-02T02:05:01.000Z
#include "FdrAnalysisEngine.h" #include "../PeptideSpectralMatch.h" #include "../CommonParameters.h" #include "../MetaMorpheusEngineResults.h" #include "FdrAnalysisResults.h" #include "../GlobalVariables.h" #include <boost/math/special_functions/gamma.hpp> #include <numeric> #include <math.h> #include "Group.h" nam...
51.028037
176
0.458828
[ "vector" ]
af0eaf321df04eee1b8d22af442db69f44d429d3
12,511
cpp
C++
logos/bootstrap/connection.cpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
3
2020-01-17T18:05:19.000Z
2021-12-29T04:21:59.000Z
logos/bootstrap/connection.cpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
null
null
null
logos/bootstrap/connection.cpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
2
2020-12-22T05:51:53.000Z
2021-06-08T00:27:46.000Z
#include <logos/bootstrap/bootstrap_messages.hpp> #include <logos/bootstrap/connection.hpp> #include <logos/bootstrap/pull_connection.hpp> #include <logos/bootstrap/tip_connection.hpp> #include <logos/bootstrap/attempt.hpp> #include <boost/asio/buffer.hpp> namespace Bootstrap { SocketTimeout::SocketTimeout (Socke...
36.369186
123
0.468548
[ "vector" ]
af1439520f729756ba81d2d3b87f4d4f825b5f9b
30,449
cc
C++
android/art/tools/hiddenapi/hiddenapi_test.cc
Solotov/deoptfuscator
8a54119e81517bcef73d2d6dfefba910ae2446e7
[ "MIT" ]
206
2020-04-13T03:19:33.000Z
2022-03-27T13:52:25.000Z
android/art/tools/hiddenapi/hiddenapi_test.cc
Solotov/deoptfuscator
8a54119e81517bcef73d2d6dfefba910ae2446e7
[ "MIT" ]
9
2020-06-07T12:51:09.000Z
2022-03-28T23:55:09.000Z
android/art/tools/hiddenapi/hiddenapi_test.cc
Solotov/deoptfuscator
8a54119e81517bcef73d2d6dfefba910ae2446e7
[ "MIT" ]
42
2020-04-13T03:37:58.000Z
2022-03-23T15:08:12.000Z
/* * Copyright (C) 2017 The Android Open Source Project * * 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 app...
50.579734
100
0.708463
[ "object", "vector" ]
af1ae2bba3d655b1ffc8051dacdaef4a760f682a
4,620
cc
C++
second/align.cc
Enigmatisms/DIP
f8dcbfc60bcb7be3d79d52e23c689e214f79630b
[ "MIT" ]
1
2021-03-28T09:03:39.000Z
2021-03-28T09:03:39.000Z
second/align.cc
Enigmatisms/DIP
f8dcbfc60bcb7be3d79d52e23c689e214f79630b
[ "MIT" ]
null
null
null
second/align.cc
Enigmatisms/DIP
f8dcbfc60bcb7be3d79d52e23c689e214f79630b
[ "MIT" ]
null
null
null
/** * @brief 2D配准 闭式解算法 * @author hqy * @date 2021.3.15 */ #include <opencv2/core.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/calib3d.hpp> #include <opencv2/features2d.hpp> #include <Eigen/Core> #include <Eigen/Geometry> #include <iostream> template<typename T> void printM...
32.307692
119
0.568182
[ "geometry", "vector" ]
af1b24055dd4e890c0803f853b240a81006ecde4
385
cpp
C++
Algorithms/reverseStrRecursive.cpp
Alex0Blackwell/c-projects
eb5a4507603b8510abc18223fd99c454e8effc38
[ "MIT" ]
1
2020-12-07T03:00:52.000Z
2020-12-07T03:00:52.000Z
Algorithms/reverseStrRecursive.cpp
Alex0Blackwell/c-projects
eb5a4507603b8510abc18223fd99c454e8effc38
[ "MIT" ]
1
2020-10-02T06:27:48.000Z
2020-10-02T06:27:48.000Z
Algorithms/reverseStrRecursive.cpp
Alex0Blackwell/c-projects
eb5a4507603b8510abc18223fd99c454e8effc38
[ "MIT" ]
2
2020-10-02T06:16:11.000Z
2020-10-27T15:05:25.000Z
class Solution { void swap(char & a, char & b) { char _tmp = a; a = b; b = _tmp; } void help(vector<char> & s, int left, int right) { if(left >= right) return; swap(s[left], s[right]); help(s, ++left, --right); } public: void reverseSt...
16.73913
54
0.449351
[ "vector" ]
af225bb6750d7f8386d10cd221f48bbe5a92420b
73,604
cpp
C++
tests/unit/fem/test_get_value.cpp
stefanhenneking/mfem
dc4715e03d177233ea0d891f2875324cadb06dc4
[ "BSD-3-Clause" ]
1
2021-05-02T23:05:53.000Z
2021-05-02T23:05:53.000Z
tests/unit/fem/test_get_value.cpp
stefanhenneking/mfem
dc4715e03d177233ea0d891f2875324cadb06dc4
[ "BSD-3-Clause" ]
null
null
null
tests/unit/fem/test_get_value.cpp
stefanhenneking/mfem
dc4715e03d177233ea0d891f2875324cadb06dc4
[ "BSD-3-Clause" ]
1
2021-09-15T14:14:29.000Z
2021-09-15T14:14:29.000Z
// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
40.154937
80
0.391365
[ "mesh", "vector", "transform", "3d" ]
af293d76abe214958a58ac2d82d2817a834bf3c9
555
cpp
C++
helloworld.cpp
LetoThe2nd/node-addon-api-boilerplate
4854c317f679e8d415031b7f7c791a32af0ea75d
[ "MIT" ]
null
null
null
helloworld.cpp
LetoThe2nd/node-addon-api-boilerplate
4854c317f679e8d415031b7f7c791a32af0ea75d
[ "MIT" ]
null
null
null
helloworld.cpp
LetoThe2nd/node-addon-api-boilerplate
4854c317f679e8d415031b7f7c791a32af0ea75d
[ "MIT" ]
null
null
null
#include <napi.h> Napi::String SayHi(const Napi::CallbackInfo& info) { Napi::Env env = info.Env(); return Napi::String::New(env, "Hi!"); } Napi::String SayLo(const Napi::CallbackInfo& info) { Napi::Env env = info.Env(); return Napi::String::New(env, "Lo!"); } Napi::Object init(Napi::Env env, Napi::Object ex...
25.227273
82
0.657658
[ "object" ]
af2f7ea014c77c012527b5d524596bec6c31a744
7,607
cc
C++
tigon-sql/src/main/c/cluster_manager/cluster_manager.cc
caskdata/tigon
5be6dffd7c79519d1211bb08f75be7dcfbbad392
[ "Apache-2.0" ]
105
2015-01-02T03:41:13.000Z
2018-10-13T01:32:02.000Z
tigon-sql/src/main/c/cluster_manager/cluster_manager.cc
cdapio/tigon
5be6dffd7c79519d1211bb08f75be7dcfbbad392
[ "Apache-2.0" ]
1
2015-03-09T17:00:38.000Z
2015-03-16T20:27:34.000Z
tigon-sql/src/main/c/cluster_manager/cluster_manager.cc
caskdata/tigon
5be6dffd7c79519d1211bb08f75be7dcfbbad392
[ "Apache-2.0" ]
28
2015-02-23T18:59:03.000Z
2017-12-20T01:04:57.000Z
/* ------------------------------------------------ Copyright 2014 AT&T Intellectual Property 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...
26.05137
136
0.672013
[ "vector" ]
af394e63863cdf3e38db899b087af1830c0f2646
4,817
cpp
C++
src/PathTracer.cpp
jLantxa/PathTracer
37dabfeefebd16799357233242b76eed1f0cd2ab
[ "Apache-2.0" ]
null
null
null
src/PathTracer.cpp
jLantxa/PathTracer
37dabfeefebd16799357233242b76eed1f0cd2ab
[ "Apache-2.0" ]
5
2018-07-11T22:13:05.000Z
2018-07-13T21:22:29.000Z
src/PathTracer.cpp
jLantxa/PathTracer
37dabfeefebd16799357233242b76eed1f0cd2ab
[ "Apache-2.0" ]
null
null
null
/* * This source file is part of PathTracer * * Copyright 2018, 2019 Javier Lancha Vázquez * * 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/LICENS...
29.919255
103
0.621549
[ "render", "vector" ]
af3a9fe17818e76e8d6af879c85fd6df190b8afb
967
cc
C++
base/free_list_test.cc
romange/beeri
60718d0f3133fffdf1500f8844852a79c91d8351
[ "BSD-2-Clause" ]
2
2015-01-07T06:34:25.000Z
2019-01-25T10:11:24.000Z
base/free_list_test.cc
romange/beeri
60718d0f3133fffdf1500f8844852a79c91d8351
[ "BSD-2-Clause" ]
null
null
null
base/free_list_test.cc
romange/beeri
60718d0f3133fffdf1500f8844852a79c91d8351
[ "BSD-2-Clause" ]
1
2019-01-25T10:11:28.000Z
2019-01-25T10:11:28.000Z
// Copyright 2015, Beeri 15. All rights reserved. // Author: Roman Gershman (romange@gmail.com) // #include "base/free_list.h" #include <chrono> #include <random> #include <thread> #include "base/gtest.h" namespace base { class FreelistTest : public testing::Test { public: FreelistTest() : list_(100) {} void ...
21.488889
72
0.667011
[ "vector" ]
af3d1ebaca2c0005d2a77f07be29b732558d0cbc
3,092
cpp
C++
src/ui/scene_view.cpp
MIXISAMA/Simple-3D-Reconstruction
705977d0206852309f7424dc211dab7682bce0d6
[ "MIT" ]
2
2021-11-22T16:46:21.000Z
2021-11-23T02:19:51.000Z
src/ui/scene_view.cpp
MIXISAMA/Simple-3D-Reconstruction
705977d0206852309f7424dc211dab7682bce0d6
[ "MIT" ]
null
null
null
src/ui/scene_view.cpp
MIXISAMA/Simple-3D-Reconstruction
705977d0206852309f7424dc211dab7682bce0d6
[ "MIT" ]
null
null
null
#include "ui/scene_view.h" #include "file/ply.h" namespace mixi { namespace s3r { SceneView::SceneView( const VertexArray* vertexArray_, const Program* program_ ) : width_(400), height_(400), camera_(glm::vec3(0.0f, 0.0f, 100.0f)), frameBuffer_(new FrameBuffer(width_, height_)), vertexAr...
21.929078
79
0.617076
[ "render", "model" ]
af3ee929c8ef5e978d1fc4e50fc483827bfb6103
1,708
cpp
C++
src/exemplos/kruskal.cpp
marcoputon/CircuitRouting
63bf505fec4169dfc998a85d6472d87040448c9f
[ "MIT" ]
null
null
null
src/exemplos/kruskal.cpp
marcoputon/CircuitRouting
63bf505fec4169dfc998a85d6472d87040448c9f
[ "MIT" ]
null
null
null
src/exemplos/kruskal.cpp
marcoputon/CircuitRouting
63bf505fec4169dfc998a85d6472d87040448c9f
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; struct UF { vector<int> rank; vector<int> root; UF(int n): rank(n, 0), root(n) { for(int i = 0; i < n; ++i) root[i] = i; } int Find(int x) { if (root[x] != x) { root[x] = Find(root[x]); ...
17.791667
59
0.423888
[ "vector" ]
af4458a4e984aee1b9aff401fc33c32637fb6e2b
511
cpp
C++
src/fs.cpp
AliusDieMorietur/scv
a999e4e8128480eed556f30fe63bcfd7358accc8
[ "MIT" ]
null
null
null
src/fs.cpp
AliusDieMorietur/scv
a999e4e8128480eed556f30fe63bcfd7358accc8
[ "MIT" ]
1
2020-07-22T14:17:55.000Z
2020-07-22T14:17:55.000Z
src/fs.cpp
AliusDieMorietur/scv
a999e4e8128480eed556f30fe63bcfd7358accc8
[ "MIT" ]
null
null
null
#include "headers/fs.h" #include <fstream> #include <filesystem> #include <vector> using namespace std; namespace fs { void write_file(string file_name, string content) { ofstream file (file_name); file << content; file.close(); } string read_file(string file_name) { ifstream file; file.open(file_n...
19.653846
53
0.690802
[ "vector" ]
af544ea103e3b8d8d5b1e4c5e8c03c5d0076bae0
1,914
hpp
C++
AdenitaCoreSE/modules/MSV/includes/MSVDisplayHelper.hpp
edellano/Adenita-SAMSON-Edition-Win-
6df8d21572ef40fe3fc49165dfaa1d4318352a69
[ "BSD-3-Clause" ]
2
2020-09-07T20:48:43.000Z
2021-09-03T05:49:59.000Z
AdenitaCoreSE/modules/MSV/includes/MSVDisplayHelper.hpp
edellano/Adenita-SAMSON-Edition-Linux
a7e267e5dd37e0073f4d1e3e603c5fb1c69a350a
[ "BSD-3-Clause" ]
6
2020-04-05T18:39:28.000Z
2022-01-11T14:28:55.000Z
AdenitaCoreSE/modules/MSV/includes/MSVDisplayHelper.hpp
edellano/Adenita-SAMSON-Edition-Linux
a7e267e5dd37e0073f4d1e3e603c5fb1c69a350a
[ "BSD-3-Clause" ]
2
2021-07-13T12:58:13.000Z
2022-01-11T13:52:00.000Z
#pragma once #include <SAMSON.hpp> #include "ADNAuxiliary.hpp" #include <iostream> #include <iomanip> #include "ADNVectorMath.hpp" #include "DASPolyhedron.hpp" #include "ADNPart.hpp" #include "ADNArray.hpp" #include "ADNConfig.hpp" namespace ADNDisplayHelper { void displayLine(SBPosition3 start, SBPosition3 end, s...
44.511628
120
0.768548
[ "vector" ]
af6b73546743c16b3d97d2886a749c7d29b1e99c
4,233
cpp
C++
DeepLearning/NeuralNet/PLayer.cpp
dragunovdenis/DeepLearning
1ddd39e7b431b54849e7bd542f9fb0aeb92bb958
[ "MIT" ]
null
null
null
DeepLearning/NeuralNet/PLayer.cpp
dragunovdenis/DeepLearning
1ddd39e7b431b54849e7bd542f9fb0aeb92bb958
[ "MIT" ]
null
null
null
DeepLearning/NeuralNet/PLayer.cpp
dragunovdenis/DeepLearning
1ddd39e7b431b54849e7bd542f9fb0aeb92bb958
[ "MIT" ]
null
null
null
//Copyright (c) 2022 Denys Dragunov, dragunovdenis@gmail.com //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...
41.097087
145
0.758564
[ "vector" ]
af6fa9b2b5b94c33cfb3c5fe807bf1833d8c43cb
5,175
inl
C++
branch/old_angsys/angsys_beta3/include/angsys/ang/core/inline/listener.inl
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
branch/old_angsys/angsys_beta3/include/angsys/ang/core/inline/listener.inl
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
branch/old_angsys/angsys_beta3/include/angsys/ang/core/inline/listener.inl
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
#ifndef __CORE_LISTENER_H__ #error ... #elif !defined __CORE_LISTENER_INL__ #define __CORE_LISTENER_INL__ template<typename T, typename... Ts> ang::core::delegates::listener<T(Ts...)>::listener() { } template<typename T, typename... Ts> ang::core::delegates::listener<T(Ts...)>::listener(listener&& other) : function...
24.526066
155
0.667633
[ "vector" ]