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
d650b090cb4856c74d69fb505b2db3d6f0828e50
10,342
cpp
C++
src/Layer_Manager.cpp
meredityman/LayerDev
e9a9aa608b6355a1acb34b1e596cd732e998e940
[ "MIT" ]
3
2020-04-03T11:40:09.000Z
2020-04-08T04:34:37.000Z
src/Layer_Manager.cpp
meredityman/LayerDev
e9a9aa608b6355a1acb34b1e596cd732e998e940
[ "MIT" ]
null
null
null
src/Layer_Manager.cpp
meredityman/LayerDev
e9a9aa608b6355a1acb34b1e596cd732e998e940
[ "MIT" ]
2
2020-03-26T15:47:35.000Z
2020-04-08T04:34:39.000Z
#include "Layer_Manager.h" #include "Layers/layer.h" #include "Preset_layers.h" #include "GUI/LayerGui.h" #include "Utils/LayerUtils.h" using RESOURCE_TYPE = ProjectResource::RESOURCE_TYPE ; Layer_Manager::Layer_Manager() { layer_types = Layer_base::getLayerNames(); gui = new LayerGui(); canvas.setup();...
28.490358
102
0.649584
[ "vector" ]
d652273fc167f64598d93896e9a300f6f58c5e69
5,589
cpp
C++
src/utils/process/ProcessApp.cpp
veprbl/libepecur
83167ac6220e69887c03b556f1a7ffc518cbb227
[ "Unlicense" ]
1
2021-06-25T13:41:19.000Z
2021-06-25T13:41:19.000Z
src/utils/process/ProcessApp.cpp
veprbl/libepecur
83167ac6220e69887c03b556f1a7ffc518cbb227
[ "Unlicense" ]
null
null
null
src/utils/process/ProcessApp.cpp
veprbl/libepecur
83167ac6220e69887c03b556f1a7ffc518cbb227
[ "Unlicense" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <vector> #include <boost/program_options.hpp> #include <TFile.h> #include <TSystem.h> #include <TTree.h> #include <epecur/geometry.hpp> #include <epecur/git-rev-export.hpp> #include "Process2ndPass.hpp" #include "ProcessApp.hpp" #include "ProcessMain...
23.987124
107
0.679728
[ "geometry", "vector" ]
d65fbe45bef126120fdfb5241d6167b171970009
1,528
hpp
C++
include/Source.hpp
Buerner/ssrface
226afe2badb432cfef21f40cbce05c2c026d3e19
[ "MIT" ]
null
null
null
include/Source.hpp
Buerner/ssrface
226afe2badb432cfef21f40cbce05c2c026d3e19
[ "MIT" ]
null
null
null
include/Source.hpp
Buerner/ssrface
226afe2badb432cfef21f40cbce05c2c026d3e19
[ "MIT" ]
null
null
null
// // Source.hpp // SSRconnector // // Created by Martin Bürner on 09.06.16. // Copyright © 2016 Martin Bürner. All rights reserved. // #ifndef Source_hpp #define Source_hpp #include <string> #include <map> #include <math.h> namespace ssrface { enum param_idcs { name, id, x, y, orientation, ...
19.1
92
0.560209
[ "object", "model" ]
d664fcfb2f5bb236ed8348fbdf01af23db3bf919
447
cpp
C++
Dataset/Leetcode/train/22/657.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/22/657.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/22/657.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: //如果使用char str[]则需要记录一个cur void print_kuohao(vector<string>&res, string str, int l, int r, int n){ if(l == n && r == n){res.push_back(str); return;} if(l < n)print_kuohao(res, str + '(', l + 1, r, n); if(r < l)print_kuohao(res, str + ')', l, r + 1, n); } ...
27.9375
75
0.519016
[ "vector" ]
69943b56a590e25ffb86a5b58e2ced95d42e44a8
1,791
cc
C++
feeder/data_iterator_test.cc
disktnk/chainer-compiler
5cfd027b40ea6e4abf73eb42be70b4fba74d1cde
[ "MIT" ]
116
2019-01-25T03:54:44.000Z
2022-03-08T00:11:14.000Z
feeder/data_iterator_test.cc
disktnk/chainer-compiler
5cfd027b40ea6e4abf73eb42be70b4fba74d1cde
[ "MIT" ]
431
2019-01-25T10:18:44.000Z
2020-06-17T05:28:55.000Z
feeder/data_iterator_test.cc
disktnk/chainer-compiler
5cfd027b40ea6e4abf73eb42be70b4fba74d1cde
[ "MIT" ]
26
2019-01-25T07:21:09.000Z
2021-11-26T04:24:35.000Z
#include <cstring> #include <memory> #include <gtest/gtest.h> #include <chainerx/array.h> #include <chainerx/context.h> #include <chainerx/routines/creation.h> #include <chainerx/routines/manipulation.h> #include <feeder/data_iterator.h> namespace { class MyDataIterator : public DataIterator { public: explicit...
28.887097
100
0.673925
[ "vector" ]
6994e328cfad2e661587da915f00a518953c312a
10,653
cpp
C++
main.cpp
ryskina/romanization-decipherment
7c9a64e574b54671988017e442e20585b1a6559a
[ "MIT" ]
3
2020-06-29T19:28:41.000Z
2021-02-10T02:49:38.000Z
main.cpp
ryskina/romanization-decipherment
7c9a64e574b54671988017e442e20585b1a6559a
[ "MIT" ]
null
null
null
main.cpp
ryskina/romanization-decipherment
7c9a64e574b54671988017e442e20585b1a6559a
[ "MIT" ]
null
null
null
/* * main.cpp * * Created on: Oct 24, 2019 * Author: Maria Ryskina */ #include <list> #include <ctime> #include <math.h> #include <dirent.h> #include <getopt.h> #include <sys/stat.h> #include <fst/fstlib.h> #include <ngram/ngram.h> #include "data_utils.h" #include "fst_utils.h" #include "base_fst.h" #incl...
35.51
109
0.59495
[ "vector", "model" ]
69a23c505f4053460ece96efcad4833b97a8201e
9,504
cpp
C++
ROS_Eploration/agv_exploration/src/AgvExplorer.cpp
WarOfDevil/AGV
3891570995f639081d7865098c19efbed27e33f9
[ "MIT" ]
null
null
null
ROS_Eploration/agv_exploration/src/AgvExplorer.cpp
WarOfDevil/AGV
3891570995f639081d7865098c19efbed27e33f9
[ "MIT" ]
null
null
null
ROS_Eploration/agv_exploration/src/AgvExplorer.cpp
WarOfDevil/AGV
3891570995f639081d7865098c19efbed27e33f9
[ "MIT" ]
null
null
null
#include <agv_exploration/AgvExplorer.h> #include <actionlib/client/simple_action_client.h> #include <nav2d_navigator/GetFirstMapAction.h> #include <nav2d_navigator/GetFirstMapGoal.h> #include <nav2d_navigator/ExploreAction.h> #include <nav2d_navigator/ExploreGoal.h> #include <nav2d_operator/cmd.h> #include <actionlib_...
34.18705
119
0.688763
[ "transform" ]
69a3bc5be6c5a59d85e475a9ab6a9647ba616cee
8,561
cpp
C++
com/win32com/src/extensions/PyIPropertySetStorage.cpp
huanyin88/Mod-Pywin32-For-Python3.x-DDE
992931aa534357d54aaac34077f0128d3a740e5e
[ "Apache-2.0" ]
3
2020-06-18T16:57:44.000Z
2020-07-21T17:52:06.000Z
com/win32com/src/extensions/PyIPropertySetStorage.cpp
huanyin88/Mod-Pywin32-For-Python3.x-DDE
992931aa534357d54aaac34077f0128d3a740e5e
[ "Apache-2.0" ]
null
null
null
com/win32com/src/extensions/PyIPropertySetStorage.cpp
huanyin88/Mod-Pywin32-For-Python3.x-DDE
992931aa534357d54aaac34077f0128d3a740e5e
[ "Apache-2.0" ]
null
null
null
// This file implements the IPropertySetStorage Interface and Gateway for Python. // Generated by makegw.py #include "stdafx.h" #include "PythonCOM.h" #include "PythonCOMServer.h" #ifndef NO_PYCOM_IPROPERTYSETSTORAGE #include "PyIPropertySetStorage.h" // @doc - This file contains autoduck documentation // ----------...
35.820084
119
0.678776
[ "object" ]
69a827ad08b7b6279356f0d1c4e0dc6cde69676c
1,109
hpp
C++
Loader.hpp
SpectreVert/ykz
2922ec2178b0d53483d143888f945c7046f9f623
[ "MIT" ]
null
null
null
Loader.hpp
SpectreVert/ykz
2922ec2178b0d53483d143888f945c7046f9f623
[ "MIT" ]
null
null
null
Loader.hpp
SpectreVert/ykz
2922ec2178b0d53483d143888f945c7046f9f623
[ "MIT" ]
null
null
null
/* * Created by Costa Bushnaq * * 03-05-2021 @ 22:05:28 * * see LICENSE */ #ifndef _LOADER_HPP #define _LOADER_HPP #include "generic/IModule.hpp" #include <map> #include <memory> #include <functional> #include <string> #include <string_view> #include <vector> #include <dlfcn.h> namespace ykz { class Loader {...
18.79661
75
0.707845
[ "vector" ]
69ab74cc1b8b76e2d582885ef10851d6e53c1d2e
393
cpp
C++
collection/cp/bcw_codebook-master/codes/Geometry/Intersection_of_two_circles/Intersection_of_two_circles.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
1
2019-03-24T13:12:01.000Z
2019-03-24T13:12:01.000Z
collection/cp/bcw_codebook-master/codes/Geometry/Intersection_of_two_circles/Intersection_of_two_circles.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
collection/cp/bcw_codebook-master/codes/Geometry/Intersection_of_two_circles/Intersection_of_two_circles.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
using ld = double; vector<pdd> interCircle(pdd o1, double r1, pdd o2, double r2) { ld d2 = (o1 - o2) * (o1 - o2); ld d = sqrt(d2); if (d < abs(r1-r2)) return {}; if (d > r1+r2) return {}; pdd u = 0.5*(o1+o2) + ((r2*r2-r1*r1)/(2*d2))*(o1-o2); double A = sqrt((r1+r2+d) * (r1-r2+d) * (r1+r2-d) * (-r1+r2+d)); ...
32.75
66
0.503817
[ "vector" ]
69abd6059e225336d7d9af57274e530f7f599f96
1,802
cxx
C++
tests/getri.cxx
evaleev/scalapackpp
bf17a7246af38d34523bd0099b01d9961d06d311
[ "BSD-3-Clause" ]
2
2021-11-30T15:04:15.000Z
2021-11-30T18:41:58.000Z
tests/getri.cxx
evaleev/scalapackpp
bf17a7246af38d34523bd0099b01d9961d06d311
[ "BSD-3-Clause" ]
5
2020-02-12T19:29:45.000Z
2021-05-28T16:13:48.000Z
tests/getri.cxx
evaleev/scalapackpp
bf17a7246af38d34523bd0099b01d9961d06d311
[ "BSD-3-Clause" ]
2
2020-02-12T03:44:12.000Z
2021-11-30T13:54:03.000Z
/** * This file is a part of scalapackpp (see LICENSE) * * Copyright (c) 2019-2020 David Williams-Young * All rights reserved */ #include "ut.hpp" #include <scalapackpp/block_cyclic.hpp> #include <scalapackpp/pblas/gemm.hpp> #include <scalapackpp/factorizations/getrf.hpp> #include <scalapackpp/matrix_inverse/ge...
25.742857
77
0.602109
[ "vector" ]
69ad677e996945ff08c4e40d9f7c25659bb5952d
114,774
cpp
C++
FPSLighting/Dependencies/DIRECTX/Samples/C++/Misc/DxDiagReport/dxdiaginfo.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
FPSLighting/Dependencies/DIRECTX/Samples/C++/Misc/DxDiagReport/dxdiaginfo.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
FPSLighting/Dependencies/DIRECTX/Samples/C++/Misc/DxDiagReport/dxdiaginfo.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
//---------------------------------------------------------------------------- // File: dxdiaginfo.cpp // // Desc: Sample app to read info from dxdiagn.dll // // Copyright (c) Microsoft Corp. All rights reserved. //----------------------------------------------------------------------------- #define STRICT #define INIT...
42.938272
125
0.598515
[ "object", "vector" ]
69b5455ce56f55523fe6f93218561d75e911207d
5,231
hpp
C++
include/CDHMM.hpp
tim-krebs/CDHMM
7ab9ae5e7a470b213c471a9369ed1748308d0846
[ "MIT" ]
null
null
null
include/CDHMM.hpp
tim-krebs/CDHMM
7ab9ae5e7a470b213c471a9369ed1748308d0846
[ "MIT" ]
null
null
null
include/CDHMM.hpp
tim-krebs/CDHMM
7ab9ae5e7a470b213c471a9369ed1748308d0846
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <map> #include "GMM.hpp" class CDHMM { private: /* data */ int number_states; int number_gaussians; int dimension_feature; std::string type_covariance; std::string type_model; public: // Constructor/Destructor CDHMM(int num...
28.429348
149
0.622634
[ "object", "vector", "model" ]
69b54a5d57b2088a3f77fed625982c090d81ad11
2,783
cpp
C++
src/cli/main.cpp
Thinkaboutmin/C-Veia
b31454261389c716cca039eb8787909b6d32efc7
[ "MIT" ]
null
null
null
src/cli/main.cpp
Thinkaboutmin/C-Veia
b31454261389c716cca039eb8787909b6d32efc7
[ "MIT" ]
null
null
null
src/cli/main.cpp
Thinkaboutmin/C-Veia
b31454261389c716cca039eb8787909b6d32efc7
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include <locale> #include "cli_tic_tac_toe.h" #include "menu.h" #include "../lib/player/ai.h" #include "../lib/player/ai_min_max.h" #include "../lib/player/ai_min_max_pruned.h" #include "human_player.h" #include "string_table.h" #include "screen.h" using namespace tic_tac_toe; i...
31.988506
92
0.513115
[ "vector" ]
69b936f34b215d812179cf3cc38aa3d212f0afa4
475
hpp
C++
src/physics/WorldParser.hpp
hhebb/physics2d
58be79626831a0316b9648779786406fa1a7d900
[ "MIT" ]
null
null
null
src/physics/WorldParser.hpp
hhebb/physics2d
58be79626831a0316b9648779786406fa1a7d900
[ "MIT" ]
null
null
null
src/physics/WorldParser.hpp
hhebb/physics2d
58be79626831a0316b9648779786406fa1a7d900
[ "MIT" ]
null
null
null
# ifndef WORLD_PARSER # define WORLD_PARSER # include <jsoncpp/json/json.h> # include <fstream> # include <iostream> # include <sstream> # include "../Definition.hpp" using namespace std; class WorldParser { public: string testName; vector<POLY_DATA> polys; vector<Vector2> positions; vector<SCALAR> r...
17.592593
49
0.698947
[ "vector" ]
69cece2c6656296b3897a9099d9b09132b6a754d
2,391
hpp
C++
IO/src/decklink/include/decklink_discovery.hpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
182
2019-04-19T12:38:30.000Z
2022-03-20T16:48:20.000Z
IO/src/decklink/include/decklink_discovery.hpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
107
2019-04-23T10:49:35.000Z
2022-03-02T18:12:28.000Z
IO/src/decklink/include/decklink_discovery.hpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
59
2019-06-04T11:27:25.000Z
2022-03-17T23:49:49.000Z
// Copyright (c) 2012-2017 VideoStitch SAS // Copyright (c) 2018 stitchEm #ifndef DECKLINK_DISCOVERY_HPP_ #define DECKLINK_DISCOVERY_HPP_ #include "libvideostitch/plugin.hpp" #if defined(_WIN32) #include "DeckLinkAPI_h.h" #else #include "DeckLinkAPI.h" #include "DeckLinkAPIModes.h" #endif #include <vector> #include...
33.676056
112
0.736512
[ "vector" ]
69d0150716d69bed5d398185e4750093347f968e
634
cpp
C++
216.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
8
2018-10-31T11:00:19.000Z
2020-07-31T05:25:06.000Z
216.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
null
null
null
216.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
2
2018-05-31T11:29:22.000Z
2019-09-11T06:34:40.000Z
class Solution { public: vector<vector<int>> ans; vector<vector<int>> combinationSum3(int k, int n) { vector<int> t; helper(k,n,t); return ans; } void helper(int k, int n, vector<int> x){ if(k==0 && n==0){ ans.push_back(x); return; }else if...
25.36
55
0.44795
[ "vector" ]
69d4ba245e798c63808834e5fdbe6e634238f4dd
1,265
cpp
C++
listener/router.cpp
olafurw/server2
28cfc7c07ef5e87951af8f5326b54e3434391765
[ "MIT" ]
null
null
null
listener/router.cpp
olafurw/server2
28cfc7c07ef5e87951af8f5326b54e3434391765
[ "MIT" ]
null
null
null
listener/router.cpp
olafurw/server2
28cfc7c07ef5e87951af8f5326b54e3434391765
[ "MIT" ]
null
null
null
#include "router.hpp" #include "static_file.hpp" #include <iostream> router::router() { m_has_data = false; } void router::start() { std::cout << "[Router] Starting" << std::endl; m_config = std::unique_ptr<config_storage>(new config_storage( "/home/olafurw/server/config/routes" )); ...
19.166667
74
0.531225
[ "vector" ]
69d6b18d94822640ae60c58829f8622c84b43cf2
83,791
cpp
C++
audioserver/src/audsrv-main.cpp
rdkcmf/rdk-audioserver
4a6dcf24161427676359205280c12853e991e6ab
[ "Apache-2.0" ]
null
null
null
audioserver/src/audsrv-main.cpp
rdkcmf/rdk-audioserver
4a6dcf24161427676359205280c12853e991e6ab
[ "Apache-2.0" ]
null
null
null
audioserver/src/audsrv-main.cpp
rdkcmf/rdk-audioserver
4a6dcf24161427676359205280c12853e991e6ab
[ "Apache-2.0" ]
null
null
null
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2017 RDK Management * * 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 ...
29.390039
150
0.589455
[ "vector" ]
69de799dc102c839958521258f84ab387c829398
5,381
cpp
C++
android/android/os/Bundle.cpp
djangw/androidpp
7d78de900873184bf7bed231fabb3f4280c4edfd
[ "BSD-3-Clause" ]
null
null
null
android/android/os/Bundle.cpp
djangw/androidpp
7d78de900873184bf7bed231fabb3f4280c4edfd
[ "BSD-3-Clause" ]
null
null
null
android/android/os/Bundle.cpp
djangw/androidpp
7d78de900873184bf7bed231fabb3f4280c4edfd
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2016 NAVER Corp. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions ...
22.995726
91
0.715295
[ "vector" ]
69df8175b5d87060dc4777c8dfb2f3eaa9a9354a
15,905
cc
C++
test/unstable_log_test.cc
Myicefrog/libraft
30946643e59a97b83396b0a632219081cc3df565
[ "MIT" ]
1
2021-09-06T11:59:41.000Z
2021-09-06T11:59:41.000Z
test/unstable_log_test.cc
Myicefrog/libraft
30946643e59a97b83396b0a632219081cc3df565
[ "MIT" ]
null
null
null
test/unstable_log_test.cc
Myicefrog/libraft
30946643e59a97b83396b0a632219081cc3df565
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "libraft.h" #include "util.h" #include "unstable_log.h" #include "default_logger.h" TEST(unstableLogTests, TestUnstableMaybeFirstIndex) { struct tmp { EntryVec entries; uint64_t offset; Snapshot *snapshot; bool wok; uint64_t windex; tmp(EntryVec ens, uint64_...
23.218978
103
0.627036
[ "vector" ]
69e82dfbb06b7fbaebb9e6e8e25af2c23da39c38
2,722
cpp
C++
tcob/src/gfx/Quad.cpp
TobiasBohnen/tcob
53092b3c8e657f1ff5e48ce961659edf7cb1cb05
[ "MIT" ]
2
2021-08-18T19:14:35.000Z
2021-12-01T14:14:49.000Z
tcob/src/gfx/Quad.cpp
TobiasBohnen/tcob
53092b3c8e657f1ff5e48ce961659edf7cb1cb05
[ "MIT" ]
null
null
null
tcob/src/gfx/Quad.cpp
TobiasBohnen/tcob
53092b3c8e657f1ff5e48ce961659edf7cb1cb05
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Tobias Bohnen // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #include <tcob/gfx/Quad.hpp> #include <tcob/gfx/Texture.hpp> namespace tcob::gfx { static_assert(sizeof(Quad) == sizeof(Vertex) * 4); void Quad::set_color(const Color& color) { const...
30.931818
97
0.642175
[ "transform" ]
69e82e364cdf9e16a25c400b4a651be1f498149f
1,659
cpp
C++
UniEngine/src/TransformManager.cpp
edisonlee0212/UniEngine-deprecated
4b899980c280ac501c3b5fa2746cf1e71cfedd28
[ "MIT" ]
null
null
null
UniEngine/src/TransformManager.cpp
edisonlee0212/UniEngine-deprecated
4b899980c280ac501c3b5fa2746cf1e71cfedd28
[ "MIT" ]
null
null
null
UniEngine/src/TransformManager.cpp
edisonlee0212/UniEngine-deprecated
4b899980c280ac501c3b5fa2746cf1e71cfedd28
[ "MIT" ]
1
2021-09-06T08:07:37.000Z
2021-09-06T08:07:37.000Z
#include "pch.h" #include "TransformManager.h" #include "UniEngine.h" #include "EditorManager.h" #include "SerializationManager.h" using namespace UniEngine; void UniEngine::TransformManager::Init() { GetInstance().m_transformQuery = EntityManager::CreateEntityQuery(); EntityManager::SetEntityQueryAllFilters(GetInsta...
37.704545
176
0.762508
[ "transform" ]
69f0623a0b42339354ee01201b9db4bf2e377461
1,035
cpp
C++
cpp-leetcode/leetcode139-word-break_dp1.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
45
2021-07-25T00:45:43.000Z
2022-03-24T05:10:43.000Z
cpp-leetcode/leetcode139-word-break_dp1.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
null
null
null
cpp-leetcode/leetcode139-word-break_dp1.cpp
yanglr/LeetCodeOJ
27dd1e4a2442b707deae7921e0118752248bef5e
[ "MIT" ]
15
2021-07-25T00:40:52.000Z
2021-12-27T06:25:31.000Z
#include<vector> #include<algorithm> #include<iostream> #include<bits/stdc++.h> using namespace std; class Solution { public: bool wordBreak(string s, vector<string>& wordDict) { /** 题意: 1 <= s.length <= 300, 故不需要判空 */ const int len = s.size(); bool dp[len + 1]; dp[0] = true; ...
25.875
119
0.495652
[ "vector" ]
69fb1696e104ef9dec327fbdbbf36177e8858183
1,871
cpp
C++
libraries/hostsfile/tests/hostsfile.cpp
Smjert/osquery-extensions
6b83eb4156cb162adc8db24390f49ff6ac2841d8
[ "Apache-2.0" ]
194
2017-12-14T14:00:34.000Z
2022-03-21T23:56:06.000Z
libraries/hostsfile/tests/hostsfile.cpp
Smjert/osquery-extensions
6b83eb4156cb162adc8db24390f49ff6ac2841d8
[ "Apache-2.0" ]
49
2017-12-09T16:32:37.000Z
2021-12-14T22:15:06.000Z
libraries/hostsfile/tests/hostsfile.cpp
Smjert/osquery-extensions
6b83eb4156cb162adc8db24390f49ff6ac2841d8
[ "Apache-2.0" ]
27
2017-12-14T23:48:39.000Z
2022-02-25T01:54:45.000Z
/* * Copyright (c) 2018 Trail of Bits, 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...
27.925373
75
0.628541
[ "vector" ]
69fbbc172ca3188f47f20c66b2b6ad752da4ca1c
3,905
cpp
C++
src/AdventOfCode2019/Day10-MonitoringStation/test_Day10-MonitoringStation.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
src/AdventOfCode2019/Day10-MonitoringStation/test_Day10-MonitoringStation.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
src/AdventOfCode2019/Day10-MonitoringStation/test_Day10-MonitoringStation.cpp
dbartok/advent-of-code-cpp
c8c2df7a21980f8f3e42128f7bc5df8288f18490
[ "MIT" ]
null
null
null
#include "Day10-MonitoringStation.h" #include <AdventOfCodeCommon/UnittestExtraDefinitions.h> #include <AdventOfCodeCommon/DisableLibraryWarningsMacros.h> __BEGIN_LIBRARIES_DISABLE_WARNINGS #include "CppUnitTest.h" __END_LIBRARIES_DISABLE_WARNINGS using namespace Microsoft::VisualStudio::CppUnitTestFramework; names...
31.491935
85
0.42356
[ "vector" ]
69feb5ed8566169d5f237c183fecd0c490bee689
568
cpp
C++
DSA_UDEMY/Strings/findnoofsubstring.cpp
yusufkhan004/DSA-practice-problems
04e0ea2b311a63a38fbf9d28e974b266da1a60a1
[ "MIT" ]
null
null
null
DSA_UDEMY/Strings/findnoofsubstring.cpp
yusufkhan004/DSA-practice-problems
04e0ea2b311a63a38fbf9d28e974b266da1a60a1
[ "MIT" ]
null
null
null
DSA_UDEMY/Strings/findnoofsubstring.cpp
yusufkhan004/DSA-practice-problems
04e0ea2b311a63a38fbf9d28e974b266da1a60a1
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { string bigstring = "I liked the movie, acting in movie was great."; string smallstring = "zayn"; vector<int> arr; auto index = bigstring.find(smallstring); // while (index != -1) // { // arr.push_back(index); // index ...
17.75
71
0.482394
[ "vector" ]
0e0c2b0ebd4eddf9809b4f83d6dddc0e028a8243
1,293
cxx
C++
ARCHIVE/BRAINSSurfaceTools/vtkITK/Testing/VTKITKVectorReader.cxx
pnlbwh/BRAINSTools
a2fe63ab5b795f03da140a4081d1fef6314dab95
[ "Apache-2.0" ]
null
null
null
ARCHIVE/BRAINSSurfaceTools/vtkITK/Testing/VTKITKVectorReader.cxx
pnlbwh/BRAINSTools
a2fe63ab5b795f03da140a4081d1fef6314dab95
[ "Apache-2.0" ]
null
null
null
ARCHIVE/BRAINSSurfaceTools/vtkITK/Testing/VTKITKVectorReader.cxx
pnlbwh/BRAINSTools
a2fe63ab5b795f03da140a4081d1fef6314dab95
[ "Apache-2.0" ]
1
2022-02-08T05:39:46.000Z
2022-02-08T05:39:46.000Z
#include <vtkITKArchetypeImageSeriesVectorReaderFile.h> // VTK includes #include <vtkImageData.h> int main(int argc, char * argv[]) { if (argc < 2) { std::cout << "ERROR: need to specify a file to try reading on the command line." << std::endl; return 1; } std::cout << "Trying to read file '" << argv...
23.944444
112
0.649652
[ "vector" ]
0e0f73a999df923b7cf9f1ef0f0de701c4a9a163
6,825
cpp
C++
OnlineRindex_Demo.cpp
TNishimoto/OnlineRlbwt
f04a911cf95081d6f2f599d34914eabd927e0ae6
[ "MIT" ]
11
2018-05-10T16:37:28.000Z
2021-04-29T12:08:42.000Z
OnlineRindex_Demo.cpp
itomomoti/OnlineRLBWT
602bcd37b1effb660dcf6dba54d59be0879600a3
[ "MIT" ]
null
null
null
OnlineRindex_Demo.cpp
itomomoti/OnlineRLBWT
602bcd37b1effb660dcf6dba54d59be0879600a3
[ "MIT" ]
1
2019-05-27T04:20:05.000Z
2019-05-27T04:20:05.000Z
/*! * Copyright (c) 2018 Tomohiro I * * This program is released under the MIT License. * http://opensource.org/licenses/mit-license.php */ /*! * @file OnlineRindex_Demo.cpp * @brief Demonstration for online r-index, index based on Run-length encoded Burrows–Wheeler transform (RLBWT). * @author Tomohiro I * @d...
37.916667
129
0.596337
[ "transform" ]
97c03aa6318418ad2cf3df5522f11e378657ca96
14,542
cxx
C++
smtk/bridge/remote/RemusRPCWorker.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
smtk/bridge/remote/RemusRPCWorker.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
4
2016-11-10T15:49:51.000Z
2017-02-06T23:24:16.000Z
smtk/bridge/remote/RemusRPCWorker.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
32.900452
110
0.583689
[ "object", "model" ]
97c24f0a347cd0781e663ca99fd93185b655db2e
5,671
cpp
C++
general_decimal_arithmetic/libgdatest/test_line.cpp
GaryHughes/stddecimal
ebec00e6cdad29a978ee5b0d4998e8b484d8dce1
[ "MIT" ]
5
2020-08-08T07:01:00.000Z
2022-03-05T02:45:05.000Z
general_decimal_arithmetic/libgdatest/test_line.cpp
GaryHughes/stddecimal
ebec00e6cdad29a978ee5b0d4998e8b484d8dce1
[ "MIT" ]
6
2020-06-28T02:22:07.000Z
2021-04-01T20:14:29.000Z
general_decimal_arithmetic/libgdatest/test_line.cpp
GaryHughes/stddecimal
ebec00e6cdad29a978ee5b0d4998e8b484d8dce1
[ "MIT" ]
1
2021-02-05T08:59:49.000Z
2021-02-05T08:59:49.000Z
#include "test_line.hpp" #include <boost/algorithm/string/trim_all.hpp> #include <boost/algorithm/string/split.hpp> #include <boost/algorithm/string.hpp> #include <boost/regex.hpp> namespace gda { const boost::regex comment_regex("^\\s*--.*"); // keyword: value const boost::regex directive_regex("^([^:]+):(.+)"); // ...
28.074257
111
0.576618
[ "vector" ]
97d5dcbe656216c48c3608050441a35a39789a8b
14,835
cpp
C++
Source/Graphics/Vulkan/VkGpuSwapchain.cpp
InjectorGames/Inject
09e74a83c287b81fd8272c10d6bae2b1aa785c0e
[ "BSD-3-Clause" ]
2
2019-12-10T16:26:58.000Z
2020-04-17T11:47:42.000Z
Source/Graphics/Vulkan/VkGpuSwapchain.cpp
InjectorGames/Inject
09e74a83c287b81fd8272c10d6bae2b1aa785c0e
[ "BSD-3-Clause" ]
28
2020-08-17T12:39:50.000Z
2020-11-16T20:42:50.000Z
Source/Graphics/Vulkan/VkGpuSwapchain.cpp
InjectorGames/InjectorEngine
09e74a83c287b81fd8272c10d6bae2b1aa785c0e
[ "BSD-3-Clause" ]
null
null
null
#include "Injector/Graphics/Vulkan/VkGpuSwapchain.hpp" #include "Injector/Exception/NullException.hpp" #include "Injector/Graphics/Vulkan/VkGpuImageFormat.hpp" namespace Injector { vk::SurfaceFormatKHR VkGpuSwapchain::getBestSurfaceFormat( vk::PhysicalDevice physicalDevice, vk::SurfaceKHR surface) { auto surfa...
23
95
0.727064
[ "render", "vector", "transform" ]
97d6e898ed676d44e3797e7a25f5753511839b3b
6,350
cpp
C++
nvblox/src/core/camera.cpp
Isarm/nvblox
9065b8ec973500d1bbd4abc219558e44b4b55ef6
[ "Apache-2.0" ]
83
2022-03-23T16:14:00.000Z
2022-03-31T13:54:26.000Z
nvblox/src/core/camera.cpp
Isarm/nvblox
9065b8ec973500d1bbd4abc219558e44b4b55ef6
[ "Apache-2.0" ]
4
2022-03-30T08:58:24.000Z
2022-03-31T14:04:06.000Z
nvblox/src/core/camera.cpp
Isarm/nvblox
9065b8ec973500d1bbd4abc219558e44b4b55ef6
[ "Apache-2.0" ]
5
2022-03-25T00:57:08.000Z
2022-03-31T09:29:43.000Z
/* Copyright 2022 NVIDIA CORPORATION Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
34.89011
80
0.648189
[ "transform", "3d" ]
97dd803a4493bdc1ded745b342a378377cd066ee
6,799
cpp
C++
tests/msgpack-lite_test.cpp
Aliceljm1/msgpack-cpp-lite
ee9c5bf150607493c0d1ae1b74fd95f6bbe9fb4f
[ "Apache-2.0" ]
null
null
null
tests/msgpack-lite_test.cpp
Aliceljm1/msgpack-cpp-lite
ee9c5bf150607493c0d1ae1b74fd95f6bbe9fb4f
[ "Apache-2.0" ]
1
2016-05-19T14:03:53.000Z
2016-05-19T14:03:53.000Z
tests/msgpack-lite_test.cpp
Aliceljm1/msgpack-cpp-lite
ee9c5bf150607493c0d1ae1b74fd95f6bbe9fb4f
[ "Apache-2.0" ]
null
null
null
/** * @file msgpack-lite_test.hpp * @author Arturo Blas Jiménez <arturoblas@gmail.com> * @version 0.1 * * @section LICENSE * * \GPLv3 * * 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 Foundat...
21.180685
118
0.623474
[ "object", "vector" ]
97e625f06530069f37e44b533d0eaa10a57426ae
1,450
cpp
C++
leetcode/binary-tree/Traversals/987.(BFS)vertical-order-traversal-of-a-binary-tree.cpp
saurabhraj042/dsaPrep
0973a03bc565a2850003c7e48d99b97ff83b1d01
[ "MIT" ]
23
2021-10-30T04:11:52.000Z
2021-11-27T09:16:18.000Z
leetcode/binary-tree/Traversals/987.(BFS)vertical-order-traversal-of-a-binary-tree.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
null
null
null
leetcode/binary-tree/Traversals/987.(BFS)vertical-order-traversal-of-a-binary-tree.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
4
2021-10-30T03:26:05.000Z
2021-11-14T12:15:04.000Z
// saurabhraj042 // https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree/ /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nu...
30.851064
93
0.508276
[ "vector" ]
97e7a08a8f1bed43f36ee22e15948809990fa0d9
1,161
cpp
C++
fishmaster.cpp
urnenfeld/theFin
9ac6c2089cdfb5cac412e51b4ef5674630de70c8
[ "MIT" ]
null
null
null
fishmaster.cpp
urnenfeld/theFin
9ac6c2089cdfb5cac412e51b4ef5674630de70c8
[ "MIT" ]
null
null
null
fishmaster.cpp
urnenfeld/theFin
9ac6c2089cdfb5cac412e51b4ef5674630de70c8
[ "MIT" ]
null
null
null
#include "fishmaster.h" FishMaster::FishMaster(Context* context) : Object(context) , fisherTeam_() , cachedFishes_() , index_(0) { } void FishMaster::RegisterFisher(iFisher& fisher) { fisherTeam_.Push(&fisher); } Vector<Fish> FishMaster::RetrieveFishes() { cachedFishes_.Clear(); ind...
13.821429
57
0.579673
[ "object", "vector" ]
97ea23e0929af507a71a179898ba45babb999fd7
10,290
cpp
C++
src/compiler/ParserOperator.cpp
LucvandenBrand/OperatorGraph
a15f2c9acfc9265e5ed5cbd89a8d3f7f638cb565
[ "MIT" ]
null
null
null
src/compiler/ParserOperator.cpp
LucvandenBrand/OperatorGraph
a15f2c9acfc9265e5ed5cbd89a8d3f7f638cb565
[ "MIT" ]
null
null
null
src/compiler/ParserOperator.cpp
LucvandenBrand/OperatorGraph
a15f2c9acfc9265e5ed5cbd89a8d3f7f638cb565
[ "MIT" ]
null
null
null
#include <string> #include <map> #include <tuple> #include <boost/variant/get.hpp> #include <pga/core/Axis.h> #include <pga/compiler/EnumUtils.h> #include <pga/compiler/Symbol.h> #include "ParserUtils.h" #include "ParserSymbol.h" #include "ParserOperator.h" namespace PGA { namespace Compiler { namespace Parser ...
37.282609
255
0.637415
[ "vector" ]
97ece12dd2debd52c934ac0dca18200d886ea9c8
29,123
cpp
C++
src/sdk/flashdb/fdb_tsdb.cpp
southbear-club/aru
24a3b28d9a168c28435e9cb5b5c10a2e404042a8
[ "MIT" ]
2
2021-10-21T12:25:23.000Z
2021-10-22T00:38:35.000Z
src/sdk/flashdb/fdb_tsdb.cpp
southbear-club/aru
24a3b28d9a168c28435e9cb5b5c10a2e404042a8
[ "MIT" ]
null
null
null
src/sdk/flashdb/fdb_tsdb.cpp
southbear-club/aru
24a3b28d9a168c28435e9cb5b5c10a2e404042a8
[ "MIT" ]
null
null
null
/* * Copyright (c) 2020, Armink, <armink.ztl@gmail.com> * * SPDX-License-Identifier: Apache-2.0 */ /** * @file * @brief TSDB feature. * * Time series log (like TSDB) feature implement source file. * * TSL is time series log, the TSDB saved many TSLs. */ #include <inttypes.h> #include <string.h> #include "a...
35.386391
163
0.608419
[ "object" ]
97fef56c60dc363d05607d2996495d63d39e8d5a
8,542
cpp
C++
src/callbacks/callback_gradient_check.cpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
src/callbacks/callback_gradient_check.cpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
src/callbacks/callback_gradient_check.cpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2014-2016, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory. // Written by the LBANN Research Team (B. Van Essen, et al.) listed in // the CONTRIBUTORS file. <lbann-dev@l...
44.489583
113
0.549871
[ "vector", "model" ]
97ff04f059b686a80355f9c923c9e11248200e55
2,060
cpp
C++
card.cpp
guiqiqi/DurakRobot
4eaad895cf78bbcc6897944877e9a88a8f617ce0
[ "MIT" ]
3
2020-02-29T04:28:38.000Z
2021-05-29T07:35:11.000Z
card.cpp
guiqiqi/DurakRobot
4eaad895cf78bbcc6897944877e9a88a8f617ce0
[ "MIT" ]
null
null
null
card.cpp
guiqiqi/DurakRobot
4eaad895cf78bbcc6897944877e9a88a8f617ce0
[ "MIT" ]
1
2021-05-30T04:33:23.000Z
2021-05-30T04:33:23.000Z
#include "card.h" int iCard::compare(const iCard* first, const iCard* second) { return (global::iranks[first->_rank] - global::iranks[second->_rank]); } iCard::iCard(std::string suit, std::string rank) { this->_rank = rank; this->_suit = suit; } std::string iCard::rank(void) const { return this->_ran...
23.678161
72
0.63301
[ "vector" ]
3f03755e69a3068c38a29fe7d43553dbfa0a8ff1
387,908
cpp
C++
external/swak/libraries/swakParsers/bison/SubsetValueExpressionParser.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
external/swak/libraries/swakParsers/bison/SubsetValueExpressionParser.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
external/swak/libraries/swakParsers/bison/SubsetValueExpressionParser.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/* A Bison parser, made by GNU Bison 2.5. */ /* Skeleton implementation for Bison LALR(1) parsers in C++ Copyright (C) 2002-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
39.998763
295
0.490078
[ "object", "vector" ]
3f04c75a9221f95b6fd7331fd814c49988bcd8bf
2,262
cpp
C++
demo/Main.cpp
Godlike/Pegasus
4cf48b39c6899974c4ff164305be7830726ca8d6
[ "MIT" ]
11
2017-06-18T20:57:06.000Z
2019-10-21T22:46:04.000Z
demo/Main.cpp
Godlike/Pegasus
4cf48b39c6899974c4ff164305be7830726ca8d6
[ "MIT" ]
107
2017-04-24T18:25:17.000Z
2018-12-21T21:46:34.000Z
demo/Main.cpp
Godlike/Pegasus
4cf48b39c6899974c4ff164305be7830726ca8d6
[ "MIT" ]
3
2017-05-15T08:20:33.000Z
2020-05-19T17:42:04.000Z
/* * Copyright (C) 2017-2018 by Godlike * This code is licensed under the MIT license (MIT) * (http://opensource.org/licenses/MIT) */ #include "demo/Demo.hpp" std::list<pegasus::Demo::Primitive*> g_objects; void KeyButtonCallback(GLFWwindow* window, int key, int scancode, int action, int mods) { if (action == GL...
30.16
130
0.526525
[ "render" ]
3f1214880b1902d22be16128f7366af9371bc56f
825
cpp
C++
leetcode/0167_Two_Sum_2_Input_array_is_sorted/result.cpp
theck17/notes
f32f0f4b8f821b1ed38d173ef0913efddd094b91
[ "MIT" ]
null
null
null
leetcode/0167_Two_Sum_2_Input_array_is_sorted/result.cpp
theck17/notes
f32f0f4b8f821b1ed38d173ef0913efddd094b91
[ "MIT" ]
null
null
null
leetcode/0167_Two_Sum_2_Input_array_is_sorted/result.cpp
theck17/notes
f32f0f4b8f821b1ed38d173ef0913efddd094b91
[ "MIT" ]
null
null
null
/** * Copyright (C) 2021 All rights reserved. * * FileName :result.cpp * Author :C.K * Email :theck17@163.com * DateTime :2021-02-10 20:47:38 * Description : */ #include <algorithm> //STL 通用算法 #include <cctype> //字符处理 #include <vector> //STL 动态数组容器...
20.625
58
0.454545
[ "vector" ]
3f1a21b4e6928f3549e04fd562fb753af640e0a0
5,383
cc
C++
src/callow/solver/SlepcSolver.cc
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
4
2015-03-07T16:20:23.000Z
2020-02-10T13:40:16.000Z
src/callow/solver/SlepcSolver.cc
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
3
2018-02-27T21:24:22.000Z
2020-12-16T00:56:44.000Z
src/callow/solver/SlepcSolver.cc
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
9
2015-03-07T16:20:26.000Z
2022-01-29T00:14:23.000Z
//----------------------------------*-C++-*-----------------------------------// /** * @file SlepcSolver.cc * @brief SlepcSolver member definitions * @note Copyright (C) 2012-2013 Jeremy Roberts */ //----------------------------------------------------------------------------// #include "callow/callow_config....
32.233533
80
0.55731
[ "vector" ]
3f1badeda1f7e5ccb34e0231ba0ab0df3b16d455
24,184
cpp
C++
qtbase/tests/auto/widgets/widgets/qtabbar/tst_qtabbar.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qtbase/tests/auto/widgets/widgets/qtabbar/tst_qtabbar.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qtbase/tests/auto/widgets/widgets/qtabbar/tst_qtabbar.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercia...
33.588889
142
0.645716
[ "shape" ]
3f1ff3f6105dc86a77a8b17c7fcc05c80c2b399a
1,921
cpp
C++
applications/oxide/main.cpp
bdashore3/oxide_remarkable_fork
613084901f8776c792179863bd653438eb7b7d99
[ "MIT" ]
null
null
null
applications/oxide/main.cpp
bdashore3/oxide_remarkable_fork
613084901f8776c792179863bd653438eb7b7d99
[ "MIT" ]
null
null
null
applications/oxide/main.cpp
bdashore3/oxide_remarkable_fork
613084901f8776c792179863bd653438eb7b7d99
[ "MIT" ]
null
null
null
#include <QGuiApplication> #include <QQmlApplicationEngine> #include <QtPlugin> #include <QtQuick> #include <fstream> #include "controller.h" #ifdef __arm__ Q_IMPORT_PLUGIN(QsgEpaperPlugin) #endif bool exists(const std::string& name) { std::fstream file(name.c_str()); return file.good(); } const char *qt_ver...
32.016667
97
0.665279
[ "geometry" ]
3f2c5de3222dd242baf08164ca8eb8f4234ccb4c
4,238
hpp
C++
raintk/RainTkImageAtlas.hpp
preet/raintk
9cbd596d9cec9aca7d3bbf3994a2931bac87e98d
[ "Apache-2.0" ]
4
2016-05-03T20:47:51.000Z
2021-04-15T09:33:34.000Z
raintk/RainTkImageAtlas.hpp
preet/raintk
9cbd596d9cec9aca7d3bbf3994a2931bac87e98d
[ "Apache-2.0" ]
null
null
null
raintk/RainTkImageAtlas.hpp
preet/raintk
9cbd596d9cec9aca7d3bbf3994a2931bac87e98d
[ "Apache-2.0" ]
1
2017-07-26T07:31:35.000Z
2017-07-26T07:31:35.000Z
/* Copyright (C) 2016 Preet Desai (preet.desai@gmail.com) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applic...
27.341935
75
0.528787
[ "render", "vector" ]
3f2d730240abfeb1b8ddf97cccf688c4f0395ac9
20,346
cpp
C++
third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "core/layout/ScrollAnchor.h" #include "core/layout/LayoutBox.h" #include "core/layout/LayoutTestHelper.h" #include "core/paint/PaintLayerScrolla...
35.261698
112
0.591418
[ "object", "solid" ]
3f2fab538f9e575bf4d1263a0e50c0ed550d1891
6,160
cpp
C++
CodeXL/Components/GpuDebugging/AMDTOpenGLServer/src/gsSyncObjectsMonitor.cpp
jeongjoonyoo/CodeXL
ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5
[ "MIT" ]
1,025
2016-04-19T21:36:08.000Z
2020-04-26T05:12:53.000Z
CodeXL/Components/GpuDebugging/AMDTOpenGLServer/src/gsSyncObjectsMonitor.cpp
jeongjoonyoo/CodeXL
ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5
[ "MIT" ]
244
2016-04-20T02:05:43.000Z
2020-04-29T17:40:49.000Z
CodeXL/Components/GpuDebugging/AMDTOpenGLServer/src/gsSyncObjectsMonitor.cpp
jeongjoonyoo/CodeXL
ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5
[ "MIT" ]
161
2016-04-20T03:23:53.000Z
2020-04-14T01:46:55.000Z
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file gsSyncObjectsMonitor.cpp /// //===============================================================================...
33.297297
132
0.512338
[ "object", "vector" ]
3f337053bbd173572e74c0b31a5e99f29afc4617
3,750
cc
C++
TEvtGen/HepMC/Polarization.cc
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
TEvtGen/HepMC/Polarization.cc
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
TEvtGen/HepMC/Polarization.cc
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
////////////////////////////////////////////////////////////////////////// // Matt.Dobbs@Cern.CH, September 1999 // // Polarization object for a particle. All angles are in radians. ////////////////////////////////////////////////////////////////////////// #include "HepMC/Polarization.h" namespace HepMC { Polari...
27.372263
79
0.570667
[ "object", "vector" ]
3f342ffdee40ec4d8571ad7227028ebe4b5395a8
1,142
cpp
C++
Codeforces/1000/B-DivisorsofTwoIntegers.cpp
JanaSabuj/cpmaster
d943780c7ca4badbefbce2d300848343c4032650
[ "MIT" ]
1
2020-11-29T08:36:38.000Z
2020-11-29T08:36:38.000Z
Codeforces/1000/B-DivisorsofTwoIntegers.cpp
Sahu49/CompetitiveProgramming
adf11a546f81878ad2975926219af84deb3414e8
[ "MIT" ]
null
null
null
Codeforces/1000/B-DivisorsofTwoIntegers.cpp
Sahu49/CompetitiveProgramming
adf11a546f81878ad2975926219af84deb3414e8
[ "MIT" ]
null
null
null
//Built by Sabuj Jana(greenindia) from Jadavpur University #include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); // int t;cin>>t;cout<<t;cerr<<t; int n; cin >> n; vector<int> v1; for (int i = 0; i < n; i++) { int x;...
20.392857
73
0.410683
[ "vector" ]
3f39aea76fa63a7ed366a7d1fbdbb85e19dc48ee
2,833
cpp
C++
code/file.cpp
yinn-x/iFleaBooks
24ed3a77a5861076f162f0f9fa1e7458659a93cc
[ "MIT" ]
1
2022-02-07T16:27:15.000Z
2022-02-07T16:27:15.000Z
code/file.cpp
yinn-x/iFleaBooks
24ed3a77a5861076f162f0f9fa1e7458659a93cc
[ "MIT" ]
null
null
null
code/file.cpp
yinn-x/iFleaBooks
24ed3a77a5861076f162f0f9fa1e7458659a93cc
[ "MIT" ]
null
null
null
/** * File * @description 程序开始时进行数据载入 * 程序结束后进行数据保存 * @author YiNN * @creat 2022-01-30 23:39:17 */ #include"iostream" #include"fstream" #include"vector" #include"header/data.h" #include"header/display-color.h" using namespace std; vector<User> v_users; vector<Admin> v_admins; vector<Book> v_books; ...
21.792308
80
0.572538
[ "vector" ]
278683d258ef68508eec56bf1317970aeb7061ec
4,931
cpp
C++
ciaox11/deployment/util/ciaox11_corba_util.cpp
jwillemsen/ciaox11
483dd0f189a92615068366f566ea8354a1baf7a3
[ "MIT" ]
7
2016-04-12T15:09:33.000Z
2022-01-26T02:28:28.000Z
ciaox11/deployment/util/ciaox11_corba_util.cpp
jwillemsen/ciaox11
483dd0f189a92615068366f566ea8354a1baf7a3
[ "MIT" ]
10
2019-11-26T15:24:01.000Z
2022-03-28T11:45:14.000Z
ciaox11/deployment/util/ciaox11_corba_util.cpp
jwillemsen/ciaox11
483dd0f189a92615068366f566ea8354a1baf7a3
[ "MIT" ]
5
2016-04-12T18:40:44.000Z
2019-12-18T14:27:52.000Z
/** * @file ciaox11_corba_util.cpp * @author Martin Corino * * @brief CIAOX11 CORBA deployment utility methods * * @copyright Copyright (c) Remedy IT Expertise BV */ #include "ciaox11_corba_util.h" #include "ciaox11/config/ciaox11_config_util.h" #include "ciaox11/config/ciaox11_config_valuesC.h" #include "ccm...
37.641221
104
0.534577
[ "object" ]
278f0c0578989ddb74711d5a514928a264d2bc5e
2,070
hpp
C++
cpp/margin_metric.hpp
GaoSida/Neural-SampleRank
8b4a7a40cc34bff608f19d3f7eb64bda76669c5b
[ "MIT" ]
2
2020-11-17T18:41:05.000Z
2021-08-12T14:40:56.000Z
cpp/margin_metric.hpp
GaoSida/Neural-SampleRank
8b4a7a40cc34bff608f19d3f7eb64bda76669c5b
[ "MIT" ]
null
null
null
cpp/margin_metric.hpp
GaoSida/Neural-SampleRank
8b4a7a40cc34bff608f19d3f7eb64bda76669c5b
[ "MIT" ]
null
null
null
// Mirror nsr.graph.margin_metric #include "factor_graph.hpp" #include <vector> #include <unordered_set> class MarginMetric { public: std::vector<int> ground_truth; MarginMetric(std::vector<int>& ground_truth) { this->ground_truth = ground_truth; } virtual float compute_metric(std::vector<int>& label_...
29.15493
78
0.666184
[ "vector" ]
278f90ea1c539644e44cdb4ea0474f324f434c55
1,162
cpp
C++
src/LoboFEM/LoboDynamic/LoboDynamicSolver/LoboOptimizationSolver/Sparse/LinearStaticSolver.cpp
lrquad/LoboFEM2
4ac80bd7b6e347d5b1650f5241f7b7b53c9716f5
[ "MIT" ]
5
2020-05-09T12:33:08.000Z
2021-12-17T08:07:29.000Z
src/LoboFEM/LoboDynamic/LoboDynamicSolver/LoboOptimizationSolver/Sparse/LinearStaticSolver.cpp
FYTalon/LoboFEM2
4ac80bd7b6e347d5b1650f5241f7b7b53c9716f5
[ "MIT" ]
null
null
null
src/LoboFEM/LoboDynamic/LoboDynamicSolver/LoboOptimizationSolver/Sparse/LinearStaticSolver.cpp
FYTalon/LoboFEM2
4ac80bd7b6e347d5b1650f5241f7b7b53c9716f5
[ "MIT" ]
2
2021-02-11T10:00:37.000Z
2021-04-18T02:08:11.000Z
#include "LinearStaticSolver.h" #include "LoboDynamic/LoboDynamic.h" #include <fstream> Lobo::LinearStaticSolver::LinearStaticSolver(Lobo::DynamicModel *model_):Lobo::LoboOptimizationSolver(model_,0,0) { q.resize(r); q.setZero(); } void Lobo::LinearStaticSolver::precompute() { std::cout<<"LinearStaticSolv...
29.05
113
0.716867
[ "model" ]
279083038834ead48f16b4819d51efe618255655
909
hpp
C++
gamegio-library/src/gamegio/AngleCbor.hpp
tril0byte/HGamer3D
7979c67d9b4672a5b2d1a50320a6d47b1a97ff05
[ "Apache-2.0" ]
27
2015-06-08T16:45:47.000Z
2022-02-22T14:40:52.000Z
gamegio-library/src/gamegio/AngleCbor.hpp
tril0byte/HGamer3D
7979c67d9b4672a5b2d1a50320a6d47b1a97ff05
[ "Apache-2.0" ]
18
2015-04-20T20:42:02.000Z
2020-12-11T03:46:17.000Z
gamegio-library/src/gamegio/AngleCbor.hpp
tril0byte/HGamer3D
7979c67d9b4672a5b2d1a50320a6d47b1a97ff05
[ "Apache-2.0" ]
4
2017-06-20T13:24:18.000Z
2021-10-07T19:18:03.000Z
// HGamer3D Library (A project to enable 3D game development in Haskell) // Copyright 2015 - 2018 Peter Althainz // // Distributed under the Apache License, Version 2.0 // (See attached file LICENSE or copy at // http://www.apache.org/licenses/LICENSE-2.0) // // file: HGamer3D/gamegio-library/src/gamegio/AngelCbor.hpp ...
19.76087
72
0.668867
[ "3d" ]
27909972fc3d3e929dfdac753deb048d548135f5
2,254
cpp
C++
test/cppunit/TapOutputter.cpp
tacr-iotcloud/base
caa10794b965c578f596d616e9654a6a8ef2c169
[ "BSD-3-Clause" ]
null
null
null
test/cppunit/TapOutputter.cpp
tacr-iotcloud/base
caa10794b965c578f596d616e9654a6a8ef2c169
[ "BSD-3-Clause" ]
null
null
null
test/cppunit/TapOutputter.cpp
tacr-iotcloud/base
caa10794b965c578f596d616e9654a6a8ef2c169
[ "BSD-3-Clause" ]
1
2019-01-08T14:48:29.000Z
2019-01-08T14:48:29.000Z
#include <iostream> #include <map> #include <vector> #include <cppunit/Exception.h> #include <cppunit/Message.h> #include <cppunit/SourceLine.h> #include <cppunit/Test.h> #include <cppunit/TestFailure.h> #include <cppunit/TestResultCollector.h> #include "cppunit/TapOutputter.h" using namespace std; using namespace C...
22.098039
66
0.646406
[ "vector" ]
27952dcc6ff6c68d375e5c8fa8734e3219f7fd0e
5,619
hpp
C++
include/object_detection_msgs/synchronized_object_publisher.hpp
yoshito-n-students/object_detection_msgs
fee93c0bdeb0c27f65ddf025264dc94c439244bf
[ "MIT" ]
null
null
null
include/object_detection_msgs/synchronized_object_publisher.hpp
yoshito-n-students/object_detection_msgs
fee93c0bdeb0c27f65ddf025264dc94c439244bf
[ "MIT" ]
null
null
null
include/object_detection_msgs/synchronized_object_publisher.hpp
yoshito-n-students/object_detection_msgs
fee93c0bdeb0c27f65ddf025264dc94c439244bf
[ "MIT" ]
null
null
null
#ifndef OBJECT_DETECTION_MSGS_SYNCHRONIZED_OBJECT_PUBLISHER_HPP #define OBJECT_DETECTION_MSGS_SYNCHRONIZED_OBJECT_PUBLISHER_HPP #include <iterator> // for std::back_inserter() #include <vector> #include <image_transport/image_transport.h> #include <image_transport/subscriber.h> #include <image_transport/transport_hin...
36.487013
100
0.681972
[ "vector" ]
27bac2f69c78bbe5d08496cb0c557372bee883de
1,948
cpp
C++
src/render/Camera.cpp
Streetwalrus/WalrusRPG
53d88ef36ca1b2c169b5755dd95ac2c5626b91f5
[ "MIT" ]
12
2015-06-30T19:38:06.000Z
2017-11-27T20:26:32.000Z
src/render/Camera.cpp
Pokespire/pokespire
53d88ef36ca1b2c169b5755dd95ac2c5626b91f5
[ "MIT" ]
18
2015-06-26T01:44:48.000Z
2016-07-01T16:26:17.000Z
src/render/Camera.cpp
Pokespire/pokespire
53d88ef36ca1b2c169b5755dd95ac2c5626b91f5
[ "MIT" ]
1
2016-12-12T05:15:46.000Z
2016-12-12T05:15:46.000Z
#include "Camera.h" #include "input/Input.h" #include "utility/misc.h" using WalrusRPG::Camera; using namespace WalrusRPG; using WalrusRPG::Input::Key; Camera::Camera(signed x, signed y) : x(x), y(y), render_area_width(320), render_area_height(240) { } Camera::~Camera() { // TODO if you allocate dynamically ...
20.291667
88
0.587782
[ "object" ]
27bd15aa4788673bb60dbb74b9ba7afcaf608682
3,203
cpp
C++
libs/ml/tests/ml/ops/graph.cpp
fetchai/ledger-archive
69f4371541d9428780d4ed89fad5197ba7f69b6f
[ "Apache-2.0" ]
3
2019-07-11T08:49:27.000Z
2021-09-07T16:49:15.000Z
libs/ml/tests/ml/ops/graph.cpp
pbukva/ledger
0afeb1582da6ddae07155878b6a0c109c7ab2680
[ "Apache-2.0" ]
null
null
null
libs/ml/tests/ml/ops/graph.cpp
pbukva/ledger
0afeb1582da6ddae07155878b6a0c109c7ab2680
[ "Apache-2.0" ]
2
2019-07-13T12:45:22.000Z
2021-03-12T08:48:57.000Z
//------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 // // ...
31.401961
98
0.614736
[ "vector" ]
27ccf61618faf5236c7c8272df6fce110def3243
1,817
cpp
C++
cpp/godot-cpp/src/gen/PhysicsShapeQueryResult.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
1
2021-03-16T09:51:00.000Z
2021-03-16T09:51:00.000Z
cpp/godot-cpp/src/gen/PhysicsShapeQueryResult.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
cpp/godot-cpp/src/gen/PhysicsShapeQueryResult.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
#include "PhysicsShapeQueryResult.hpp" #include <core/GodotGlobal.hpp> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include <core/Godot.hpp> #include "__icalls.hpp" #include "Object.hpp" namespace godot { PhysicsShapeQueryResult::___method_bindings PhysicsShapeQueryResult::___mb = {}; void PhysicsSh...
37.854167
131
0.81508
[ "object" ]
27d192895c97400e164c84f9504bd6caddb54563
17,359
cpp
C++
src/renderPcFromPc.cpp
jstraub/cudaPcl
10b61d66f83c664942f1e7b6ee574246df8d8922
[ "MIT-feh" ]
84
2015-04-05T16:17:11.000Z
2022-01-27T13:40:51.000Z
src/renderPcFromPc.cpp
jstraub/cudaPcl
10b61d66f83c664942f1e7b6ee574246df8d8922
[ "MIT-feh" ]
4
2016-03-31T02:35:08.000Z
2019-03-04T06:50:53.000Z
src/renderPcFromPc.cpp
jstraub/cudaPcl
10b61d66f83c664942f1e7b6ee574246df8d8922
[ "MIT-feh" ]
28
2015-06-19T18:11:19.000Z
2021-05-02T08:21:22.000Z
/* Copyright (c) 2016, Julian Straub <jstraub@csail.mit.edu> * Licensed under the MIT license. See the license file LICENSE. */ #include <iostream> #include <sstream> #include <sys/time.h> //#include <random> // can only use with C++11 #include <pcl/io/ply_io.h> #include <pcl/point_types.h> #include <pcl/common/trans...
37.573593
116
0.608733
[ "render", "transform" ]
27d29ebed23122f6e5d128c626748832a4246750
1,188
cpp
C++
Windows.cpp
m-j-andr/Audio-Library
493d5d908bd5811b9306e695d37ddf27661d0a31
[ "MIT" ]
null
null
null
Windows.cpp
m-j-andr/Audio-Library
493d5d908bd5811b9306e695d37ddf27661d0a31
[ "MIT" ]
null
null
null
Windows.cpp
m-j-andr/Audio-Library
493d5d908bd5811b9306e695d37ddf27661d0a31
[ "MIT" ]
null
null
null
// // Windows.cpp // AAC Compression - Rework // // Created by Michael Andrews on 4/4/19. // Copyright © 2019 Michael Andrews. All rights reserved. // #include "Windows.hpp" std::vector<double> sine(size_t N) { std::vector<double> w(N); for (size_t n=0; n<N; ++n) { w[n] = sin(acos(-1) * (n + 0.5) ...
23.76
63
0.539562
[ "vector" ]
27daca3282f492d162309ed96cefa8a5c6ff0e21
1,799
cc
C++
chromecast/system/reboot/reboot_fuchsia.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chromecast/system/reboot/reboot_fuchsia.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chromecast/system/reboot/reboot_fuchsia.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <fuchsia/hardware/power/statecontrol/cpp/fidl.h> #include <lib/sys/cpp/component_context.h> #include "base/fuchsia/default_context.h" #include ...
24.643836
73
0.754864
[ "vector" ]
27dbe715f8a817ed4b3b14a31a2425a2df1623d3
2,800
cpp
C++
http_json/main.cpp
dtoma/cpp
1c6c726071092d9e238c6fb3de22fed833a148b2
[ "MIT" ]
null
null
null
http_json/main.cpp
dtoma/cpp
1c6c726071092d9e238c6fb3de22fed833a148b2
[ "MIT" ]
null
null
null
http_json/main.cpp
dtoma/cpp
1c6c726071092d9e238c6fb3de22fed833a148b2
[ "MIT" ]
null
null
null
#include <iostream> #include <string> /* Metaprogramming library, enables us to iterate over structure members. */ #include <boost/hana.hpp> namespace hana = boost::hana; /* Create and manipulate JSON objects. */ #include <nlohmann/json.hpp> using json = nlohmann::json; /* This function recursively visits a struct...
23.728814
90
0.53
[ "object", "model" ]
27dd8d11b49e7f9a2cfbfd5c96ff0809737533b8
8,904
hpp
C++
include/robot_fingers/trifinger_platform_frontend.hpp
open-dynamic-robot-initiative/robot_fingers
d186117dd1a1d7dcd7d38ae8fc847a972db24629
[ "BSD-3-Clause" ]
32
2020-06-20T15:23:16.000Z
2022-01-02T00:21:40.000Z
include/robot_fingers/trifinger_platform_frontend.hpp
open-dynamic-robot-initiative/robot_fingers
d186117dd1a1d7dcd7d38ae8fc847a972db24629
[ "BSD-3-Clause" ]
13
2020-03-02T10:54:19.000Z
2021-03-30T14:15:29.000Z
include/robot_fingers/trifinger_platform_frontend.hpp
open-dynamic-robot-initiative/robot_fingers
d186117dd1a1d7dcd7d38ae8fc847a972db24629
[ "BSD-3-Clause" ]
9
2020-08-12T09:29:17.000Z
2021-11-27T13:04:16.000Z
/** * @file * @brief Combined frontend for the TriFinger Platform * @copyright 2020, Max Planck Gesellschaft. All rights reserved. * @license BSD 3-clause */ #pragma once #include <robot_interfaces/finger_types.hpp> #include <robot_interfaces/sensors/sensor_frontend.hpp> #include <trifinger_cameras/tricamera_obs...
36.195122
80
0.683738
[ "object" ]
27dea766dae8962a776fbf6d0c4ce1c77ab62066
24,112
cxx
C++
pkgs/tools/cmake/src/Source/cmGlobalVisualStudio7Generator.cxx
relokin/parsec
75d63d9bd2368913343be9037e301947ecf78f7f
[ "BSD-3-Clause" ]
2
2017-04-24T22:37:28.000Z
2020-05-26T01:57:37.000Z
pkgs/tools/cmake/src/Source/cmGlobalVisualStudio7Generator.cxx
cota/parsec2-aarch64
cdf7da348afd231dbe067266f24dc14d22f5cebf
[ "BSD-3-Clause" ]
null
null
null
pkgs/tools/cmake/src/Source/cmGlobalVisualStudio7Generator.cxx
cota/parsec2-aarch64
cdf7da348afd231dbe067266f24dc14d22f5cebf
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: CMake - Cross-Platform Makefile Generator Module: $RCSfile: cmGlobalVisualStudio7Generator.cxx,v $ Language: C++ Date: $Date: 2008-05-01 16:35:39 $ Version: $Revision: 1.99.2.1 $ Copyright (c) 2002 Kitware, I...
31.726316
83
0.618198
[ "vector" ]
27e39b8d64805745c42dd11790aa2f48ca498784
1,914
cpp
C++
lib/year2016/src/Day15Puzzle.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
lib/year2016/src/Day15Puzzle.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
lib/year2016/src/Day15Puzzle.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
#include <2016/Day15Puzzle.hpp> #include <zeno-engine/Utility/StringExtensions.hpp> namespace TwentySixteen { Day15Puzzle::Day15Puzzle() : core::PuzzleBase("Timing is Everything", 2016, 15) { } Day15Puzzle::~Day15Puzzle() { } void Day15Puzzle::initialise(const core::InitialisationInfo& _initialisationInfo...
26.583333
143
0.700104
[ "vector" ]
27e563febf2169e2903e6b546fab13db8a05691e
19,267
hh
C++
net.ssa/xrLC/OpenMesh/Core/Mesh/Kernels/ArrayKernel/ArrayKernelT.hh
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
xrLC/OpenMesh/Core/Mesh/Kernels/ArrayKernel/ArrayKernelT.hh
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
xrLC/OpenMesh/Core/Mesh/Kernels/ArrayKernel/ArrayKernelT.hh
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
//============================================================================= // // OpenMesh // Copyright (C) 2003 by Computer Graphics Group, RWTH Aachen ...
29.825077
95
0.562516
[ "mesh", "vector" ]
27f1885ee03060efdc92489d0d380d9c9117deae
1,364
cpp
C++
Wangscape/noise/module/codecs/TurbulenceWrapperCodec.cpp
cheukyin699/Wangscape
b01cb310f97e33394c1c0fac23a7f40c34f632cf
[ "MIT" ]
60
2016-12-30T03:18:34.000Z
2022-02-15T21:43:59.000Z
Wangscape/noise/module/codecs/TurbulenceWrapperCodec.cpp
cheukyin699/Wangscape
b01cb310f97e33394c1c0fac23a7f40c34f632cf
[ "MIT" ]
149
2016-12-29T19:38:36.000Z
2017-10-29T18:19:51.000Z
Wangscape/noise/module/codecs/TurbulenceWrapperCodec.cpp
cheukyin699/Wangscape
b01cb310f97e33394c1c0fac23a7f40c34f632cf
[ "MIT" ]
16
2016-12-31T06:09:42.000Z
2021-09-10T05:34:51.000Z
#include "TurbulenceWrapperCodec.h" namespace spotify { namespace json { using TurbulenceWrapper = noise::module::Wrapper<noise::module::Turbulence>; codec::object_t<TurbulenceWrapper> default_codec_t<TurbulenceWrapper>::codec() { auto codec = codec::object<TurbulenceWrapper>(); codec.required("t...
42.625
107
0.596041
[ "object" ]
7e016f2f49165303c8bf9dd2eecae684bbe38f14
5,323
cpp
C++
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/platformsupport/fbconvenience/qfbwindow.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/platformsupport/fbconvenience/qfbwindow.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/platformsupport/fbconvenience/qfbwindow.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the plugins of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commercial Qt...
35.251656
131
0.703551
[ "geometry" ]
7e024d6848a17662ab6bc954007044f90d76c61b
11,337
cpp
C++
src/analysis/monogenic_signal.cpp
slokhorst/diplib
6e0f420243fd4e84888b5a5c25f805570fafd36d
[ "Apache-2.0" ]
140
2017-04-04T23:10:16.000Z
2022-03-24T18:21:34.000Z
src/analysis/monogenic_signal.cpp
slokhorst/diplib
6e0f420243fd4e84888b5a5c25f805570fafd36d
[ "Apache-2.0" ]
98
2018-01-13T23:16:00.000Z
2022-03-14T14:45:37.000Z
src/analysis/monogenic_signal.cpp
slokhorst/diplib
6e0f420243fd4e84888b5a5c25f805570fafd36d
[ "Apache-2.0" ]
40
2017-04-11T20:41:58.000Z
2022-03-24T18:21:36.000Z
/* * DIPlib 3.0 * This file contains definitions for the monogenic signal and related functionality * * (c)2018, Cris Luengo. * * 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 * * ...
38.171717
175
0.61339
[ "shape", "transform" ]
7e0a6b08a2498f3cb4ea2855ffb4bdc655de5c06
783
cpp
C++
203.cpp
machinecc/leetcode
32bbf6c1f9124049c046a235c85b14ca9168daa8
[ "MIT" ]
null
null
null
203.cpp
machinecc/leetcode
32bbf6c1f9124049c046a235c85b14ca9168daa8
[ "MIT" ]
null
null
null
203.cpp
machinecc/leetcode
32bbf6c1f9124049c046a235c85b14ca9168daa8
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <string> #include <unordered_set> #include <vector> #include <algorithm> #include <climits> #include <stack> #include <sstream> #include <numeric> #include <unordered_map> #include <array> #include "common.h" using namespace std; class Solution { public: ListNode* ...
15.352941
55
0.535121
[ "vector" ]
7e0bf038942077215db8b45659b35ccec4d98722
8,724
cpp
C++
Run3SoundRuntime.cpp
Sgw32/R3E
8a55dd137d9e102cf4c9c2fee3d89901bdefa3cd
[ "MIT" ]
7
2017-11-27T15:15:08.000Z
2021-03-29T16:53:22.000Z
Run3SoundRuntime.cpp
Sgw32/R3E
8a55dd137d9e102cf4c9c2fee3d89901bdefa3cd
[ "MIT" ]
null
null
null
Run3SoundRuntime.cpp
Sgw32/R3E
8a55dd137d9e102cf4c9c2fee3d89901bdefa3cd
[ "MIT" ]
4
2017-11-28T02:53:19.000Z
2021-01-29T10:37:52.000Z
///////////////////////////////////////////////////////////////////// ///////////////Original file by:Fyodor Zagumennov aka Sgw32////////// ///////////////Copyright(c) 2010 Fyodor Zagumennov ////////// ///////////////////////////////////////////////////////////////////// #include "Run3SoundRuntime.h" template<> Ru...
24.574648
141
0.672054
[ "vector" ]
7e136f6aded79a421a9ece975a7182a1ca007c78
2,352
cpp
C++
component/oai-nrf/src/api-server/model/AccessTokenErr.cpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
component/oai-nrf/src/api-server/model/AccessTokenErr.cpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
component/oai-nrf/src/api-server/model/AccessTokenErr.cpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
/** * NRF OAuth2 * NRF OAuth2 Authorization. © 2019, 3GPP Organizational Partners (ARIB, ATIS, * CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * * The version of the OpenAPI document: 1.0.2 * * * NOTE: This class is auto generated by OpenAPI Generator * (https://openapi-generator.tech). https://openapi-ge...
26.426966
80
0.698129
[ "model" ]
7e157d07ae4be0f30be52336628190ea8b54ede1
7,458
cpp
C++
src/prod/src/Management/HttpTransport/requestmessagecontext.linux.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
1
2018-03-15T02:09:21.000Z
2018-03-15T02:09:21.000Z
src/prod/src/Management/HttpTransport/requestmessagecontext.linux.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
null
null
null
src/prod/src/Management/HttpTransport/requestmessagecontext.linux.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
null
null
null
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" #include ...
31.601695
180
0.735318
[ "object", "vector" ]
7e1a494f441aef0d613ea9a834a939c0222eb38e
1,634
cpp
C++
aws-cpp-sdk-translate/source/model/TranslationSettings.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-translate/source/model/TranslationSettings.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-translate/source/model/TranslationSettings.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/translate/model/TranslationSettings.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws {...
21.220779
89
0.74541
[ "model" ]
7e1e6dadaa355d156644e4cd8a7647a0b1415db3
35,554
cpp
C++
src/Map.cpp
richard5635/PlaneLoc
aab6637124b1b99ad726a94e9f6762dddf3716b5
[ "MIT" ]
22
2017-08-29T06:22:07.000Z
2021-12-29T07:42:31.000Z
src/Map.cpp
richard5635/PlaneLoc
aab6637124b1b99ad726a94e9f6762dddf3716b5
[ "MIT" ]
5
2019-03-26T06:10:18.000Z
2021-11-26T01:59:41.000Z
src/Map.cpp
richard5635/PlaneLoc
aab6637124b1b99ad726a94e9f6762dddf3716b5
[ "MIT" ]
14
2018-04-24T08:49:01.000Z
2021-12-15T07:56:58.000Z
/* Copyright (c) 2017 Mobile Robots Laboratory at Poznan University of Technology: -Jan Wietrzykowski name.surname [at] put.poznan.pl Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Sof...
36.02229
128
0.510238
[ "object", "vector", "transform", "3d" ]
7e2c31a7b335d2bbcc9031adab53014134131497
9,473
cpp
C++
src/Generic/common/InputUtil.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
1
2022-03-24T19:57:00.000Z
2022-03-24T19:57:00.000Z
src/Generic/common/InputUtil.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
src/Generic/common/InputUtil.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" // This must be the first #include #include "Generic/common/InputUtil.h" #include "Generic/common/UTF8InputStream.h" #include "Generic/common/UnexpectedInputException.h" #include "Generic/common/Inte...
38.197581
159
0.700306
[ "vector" ]
7e2cb00223c510260e5aaaa1aa0a05481a9a0ae9
3,620
cpp
C++
sources/DR/PixMix/PixMixMarkerHiding.cpp
Mugichoko445/DRMarkerHiding
2b61d8408cee040bf5e7d0128c20818f2c47a24e
[ "BSD-3-Clause" ]
1
2022-01-08T03:25:13.000Z
2022-01-08T03:25:13.000Z
sources/DR/PixMix/PixMixMarkerHiding.cpp
Mugichoko445/DRMarkerHiding
2b61d8408cee040bf5e7d0128c20818f2c47a24e
[ "BSD-3-Clause" ]
null
null
null
sources/DR/PixMix/PixMixMarkerHiding.cpp
Mugichoko445/DRMarkerHiding
2b61d8408cee040bf5e7d0128c20818f2c47a24e
[ "BSD-3-Clause" ]
null
null
null
#include "PixMixMarkerHiding.h" namespace dr { PixMixMarkerHiding::PixMixMarkerHiding(const ArUcoMarker& marker, bool debugViz) : markerSize(marker.Size()), markerMargin(marker.Margin()), debugViz(debugViz) { } PixMixMarkerHiding::~PixMixMarkerHiding() { } void PixMixMarkerHiding::Reset(cv::InputArray color...
34.150943
135
0.66326
[ "vector" ]
7e330558cb8a5669a40540229ecad7b4b9475769
11,229
cpp
C++
SeismicMesh/generation/cpp/delaunay.cpp
WPringle/SeismicMesh
9e73aac63ecc4411163dc4093941af946cffae37
[ "BSD-2-Clause" ]
null
null
null
SeismicMesh/generation/cpp/delaunay.cpp
WPringle/SeismicMesh
9e73aac63ecc4411163dc4093941af946cffae37
[ "BSD-2-Clause" ]
null
null
null
SeismicMesh/generation/cpp/delaunay.cpp
WPringle/SeismicMesh
9e73aac63ecc4411163dc4093941af946cffae37
[ "BSD-2-Clause" ]
null
null
null
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <pybind11/complex.h> #include <pybind11/numpy.h> #include <boost/lexical_cast.hpp> #include <assert.h> #include <vector> #include <CGAL/Kernel/global_functions.h> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Delaunay_...
37.935811
101
0.580105
[ "shape", "vector" ]
7e3395b4567828fe2343d100afa785e4fecf5b3e
1,517
cpp
C++
Day_03/03_Majority_Element_I.cpp
premnaaath/SDE-180
6d7cc2404d310600a81adaa652049172f2e10ed8
[ "MIT" ]
null
null
null
Day_03/03_Majority_Element_I.cpp
premnaaath/SDE-180
6d7cc2404d310600a81adaa652049172f2e10ed8
[ "MIT" ]
null
null
null
Day_03/03_Majority_Element_I.cpp
premnaaath/SDE-180
6d7cc2404d310600a81adaa652049172f2e10ed8
[ "MIT" ]
null
null
null
// Problem Link: // https://leetcode.com/problems/majority-element/ // Approach 1: (Hashing) // TC: O(n) // SC: O(n) // Approach 2: (Sorting) // TC: O(n.log(n)) // SC: O(1) // Approach 3: (Moore Voting Algorithm) // TC: O(n) // SC: O(1) #include <bits/stdc++.h> using namespace std; #define ll long long #define deb...
17.847059
58
0.487805
[ "vector" ]
cceaebfb31c3167671cf8892235f474bc614ebe3
14,152
hpp
C++
src/catk/syntax/expr.hpp
CHChang810716/CAsterisk
410d2afaae6cd01402a35c1889466f97e4c208bf
[ "MIT" ]
null
null
null
src/catk/syntax/expr.hpp
CHChang810716/CAsterisk
410d2afaae6cd01402a35c1889466f97e4c208bf
[ "MIT" ]
null
null
null
src/catk/syntax/expr.hpp
CHChang810716/CAsterisk
410d2afaae6cd01402a35c1889466f97e4c208bf
[ "MIT" ]
null
null
null
#pragma once #include <tao/pegtl.hpp> #include <tao/pegtl/contrib/parse_tree.hpp> #include "ast.hpp" #include <range/v3/view/drop_last.hpp> #include <boost/lexical_cast.hpp> #include <vector> namespace catk::syntax { using Identifier = tao::pegtl::identifier; using IgnoredLval = tao::pegtl::one<'_'>; template<class...
25.003534
105
0.61221
[ "vector" ]
cceef02bea19d949a530d6d246e557b47c61ee9a
23,338
cpp
C++
ust/String.cpp
Brillist/libutl
e55c2af091ba1101a1d0608db2830e279ec95d16
[ "MIT" ]
1
2021-09-14T06:12:58.000Z
2021-09-14T06:12:58.000Z
ust/String.cpp
Brillist/libutl
e55c2af091ba1101a1d0608db2830e279ec95d16
[ "MIT" ]
null
null
null
ust/String.cpp
Brillist/libutl
e55c2af091ba1101a1d0608db2830e279ec95d16
[ "MIT" ]
2
2019-05-13T23:04:31.000Z
2021-09-14T06:12:59.000Z
#include <libutl/libutl.h> #include <libutl/BoyerMooreSearch.h> #include <libutl/Stream.h> #include <libutl/String.h> //////////////////////////////////////////////////////////////////////////////////////////////////// UTL_CLASS_IMPL(utl::String); /////////////////////////////////////////////////////////////////////...
23.573737
100
0.389879
[ "object" ]
ccf0691a2628b7ee75f9ab5cd2c799af706da724
10,122
cpp
C++
UI/UIEntityDynTexTag.cpp
IvarJonsson/Project-Unknown
4675b41bbb5e90135c7bf3aded2c2e262b50f351
[ "BSL-1.0" ]
null
null
null
UI/UIEntityDynTexTag.cpp
IvarJonsson/Project-Unknown
4675b41bbb5e90135c7bf3aded2c2e262b50f351
[ "BSL-1.0" ]
null
null
null
UI/UIEntityDynTexTag.cpp
IvarJonsson/Project-Unknown
4675b41bbb5e90135c7bf3aded2c2e262b50f351
[ "BSL-1.0" ]
null
null
null
// Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved. // ------------------------------------------------------------------------- // File name: UIEntityDynTexTag.cpp // Version: v1.00 // Created: 22/11/2011 by Paul Reindell. // Description: // -----------------------------------------...
35.893617
181
0.625963
[ "render", "object", "3d" ]
ccf188ded2dfb68f576840532059afb64cf20555
26,200
cpp
C++
modules/viz/src/interactor_style.cpp
Nerei/opencv
92d5f8744c872ccf63b17334f018343973353e47
[ "BSD-3-Clause" ]
1
2015-04-22T14:10:46.000Z
2015-04-22T14:10:46.000Z
modules/viz/src/interactor_style.cpp
ameydhar/opencv
1c3bfae2121f689535ab1a17284f40f5d64e0927
[ "BSD-3-Clause" ]
null
null
null
modules/viz/src/interactor_style.cpp
ameydhar/opencv
1c3bfae2121f689535ab1a17284f40f5d64e0927
[ "BSD-3-Clause" ]
2
2018-05-03T21:08:19.000Z
2020-09-26T06:27:08.000Z
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
37.806638
141
0.560038
[ "render" ]
ccf2b21b0e7181ecc76cb1805bdcddf7bbf23056
1,181
cc
C++
leet_code/Hand_of_Straights/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
1
2020-04-11T22:04:23.000Z
2020-04-11T22:04:23.000Z
leet_code/Hand_of_Straights/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
leet_code/Hand_of_Straights/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
class Solution { private : const int invalid = -1; public: bool isNStraightHand(vector<int>& hand, int W) { unordered_map<int, int> hash; vector<int> unique; sort(hand.begin(), hand.end()); for (int i = 0; i < hand.size(); ++i) { if (hash.find(hand[i]) == hash.end())...
25.12766
73
0.370025
[ "vector" ]
ccf4a42af3445d5e7758435d511bd5a7cc07ef59
14,630
hpp
C++
include/UnityEngine/RenderTextureDescriptor.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/RenderTextureDescriptor.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/RenderTextureDescriptor.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.ValueType #include "System/ValueType.hpp" // Including type: U...
56.705426
935
0.73609
[ "vector" ]
ccfbd03f36173f05039a657bd47031cef6e19d52
513
cpp
C++
vnoj/hsgso20_permswap.cpp
tiozo/Training
02cc8c4fcf68e07c16520fd05fcbfa524c171b6b
[ "MIT" ]
1
2021-08-28T04:16:34.000Z
2021-08-28T04:16:34.000Z
vnoj/hsgso20_permswap.cpp
tiozo/Training
02cc8c4fcf68e07c16520fd05fcbfa524c171b6b
[ "MIT" ]
null
null
null
vnoj/hsgso20_permswap.cpp
tiozo/Training
02cc8c4fcf68e07c16520fd05fcbfa524c171b6b
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int N,C; cin >> N >> C; map<int,int> diff; vector<int> p(N+1,0); for (int i=1;i<=N;++i) { cin >> p[i]; if (p[i]!=i) { diff[i] = p[i]; } } for (int i=1;i<=C;++i) { int x,y; cin >> x >> y; ...
23.318182
56
0.401559
[ "vector" ]
690e40b062f77674be9188b512f6d54b7501ccc5
1,628
cpp
C++
Code(2021)/20210328_Algospot_std-freejia.cpp
std-freejia/hymni.study
6c1f5f5f64f931c8da0580a09efa37929b3b502f
[ "MIT" ]
1
2020-06-06T04:01:57.000Z
2020-06-06T04:01:57.000Z
Code(2021)/20210328_Algospot_std-freejia.cpp
std-freejia/hymni.study
6c1f5f5f64f931c8da0580a09efa37929b3b502f
[ "MIT" ]
null
null
null
Code(2021)/20210328_Algospot_std-freejia.cpp
std-freejia/hymni.study
6c1f5f5f64f931c8da0580a09efa37929b3b502f
[ "MIT" ]
1
2020-07-30T13:15:30.000Z
2020-07-30T13:15:30.000Z
#include <iostream> #include <algorithm> #include <vector> #include <deque> #include <utility> #define MAX 101 using namespace std; // 알고스팟 BOJ 13549 int N, M, answer; int map[MAX][MAX]; // 지도 (0은 빈 방, 1은 벽) int broken_cnt[MAX][MAX] = {-1, }; // // 현재 지점에서 벽을 부순 횟수 // 4방향 이동 int xx[5] = {0, 0, -1, 1}; int yy[5] =...
18.712644
70
0.542998
[ "vector" ]
690efa70a42205c358dbaab6e86c916e6c6eb441
2,522
cpp
C++
L298N_Jetson.cpp
JKI757/L298N_Jetson
23109d95656b9e361d26a3ee998e66f3aff6409e
[ "MIT" ]
null
null
null
L298N_Jetson.cpp
JKI757/L298N_Jetson
23109d95656b9e361d26a3ee998e66f3aff6409e
[ "MIT" ]
1
2020-05-24T04:20:07.000Z
2020-05-24T04:20:07.000Z
L298N_Jetson.cpp
JKI757/L298N_Jetson
23109d95656b9e361d26a3ee998e66f3aff6409e
[ "MIT" ]
null
null
null
/* * MIT License */ /* * File: L298N_Jetson.cpp * Author: josh * * Created on May 23, 2020, 12:58 AM */ #include "L298N_Jetson.hpp" L298N_Jetson::L298N_Jetson() = default; L298N_Jetson::~L298N_Jetson() { this->Drive_PWM->stop(); if (this->setup){ GPIO::cleanup(); } }; L298N_Jets...
28.337079
125
0.616971
[ "object" ]
69100e2bcd564f566c893fbd85cbc162189d90ad
38,449
cpp
C++
implementation codes/quartic oscillator/simulation_quart.cpp
Z-T-WANG/DeepReinforcementLearningControlOfQuantumCartpoles
3b243f235b4945a4817b738d8dbc412937de9f28
[ "MIT" ]
6
2020-08-01T09:30:17.000Z
2021-10-31T19:40:51.000Z
implementation codes/inverted quartic oscillator/simulation_quart.cpp
Z-T-WANG/DeepReinforcementLearningControlOfQuantumCartpoles
3b243f235b4945a4817b738d8dbc412937de9f28
[ "MIT" ]
null
null
null
implementation codes/inverted quartic oscillator/simulation_quart.cpp
Z-T-WANG/DeepReinforcementLearningControlOfQuantumCartpoles
3b243f235b4945a4817b738d8dbc412937de9f28
[ "MIT" ]
1
2020-07-28T06:10:08.000Z
2020-07-28T06:10:08.000Z
#define PY_SSIZE_T_CLEAN #include <Python.h> #include <cmath> #include <iostream> #include <string> #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include <numpy/arrayobject.h> #include <cstdio> #include <mkl.h> // used to initialize numpy, otherwise it fails. int init_(){ mkl_set_dynamic(0); mkl_set_num_...
55.322302
219
0.686338
[ "object", "shape" ]
6910eb6c47400b9d1994ba853b8217846020b271
1,792
cpp
C++
test/api/pack/simple_binning_test.cpp
Felix-Droop/chopper-1
2dc9ff8f26509164cf28a504690793deb76fb5fc
[ "BSD-3-Clause" ]
null
null
null
test/api/pack/simple_binning_test.cpp
Felix-Droop/chopper-1
2dc9ff8f26509164cf28a504690793deb76fb5fc
[ "BSD-3-Clause" ]
null
null
null
test/api/pack/simple_binning_test.cpp
Felix-Droop/chopper-1
2dc9ff8f26509164cf28a504690793deb76fb5fc
[ "BSD-3-Clause" ]
null
null
null
#include <gtest/gtest.h> #include <sstream> #include <vector> #include <chopper/pack/simple_binning.hpp> TEST(simple_binning_test, small_example) { std::stringstream output_buffer; pack_data data; data.output_buffer = &output_buffer; data.header_buffer = &output_buffer; data.kmer_counts = {100, 4...
25.6
72
0.637835
[ "vector" ]
6911c90001c3cd51a0fe1b94f3d2c7d91d9ce5bd
80,008
cpp
C++
cpp/search/search.cpp
030helios/Kata2Connect5
e8ace620284b46f4a50fc0582924cbadf32653e7
[ "MIT" ]
null
null
null
cpp/search/search.cpp
030helios/Kata2Connect5
e8ace620284b46f4a50fc0582924cbadf32653e7
[ "MIT" ]
1
2021-06-03T14:30:04.000Z
2021-06-03T14:40:32.000Z
cpp/search/search.cpp
030helios/Kata2Surakarta
e8ace620284b46f4a50fc0582924cbadf32653e7
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------------- // This file contains the main core logic of the search. //------------------------------------------------------------------------------------- #include "../search/search.h" #include <algorithm> #include <numeric> #include "../...
35.448826
139
0.698905
[ "vector" ]
6916eeac982064cb73a023b9561bf11a3603f650
22,985
cpp
C++
apps/vaporgui/main/vizwin.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
apps/vaporgui/main/vizwin.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
apps/vaporgui/main/vizwin.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
//************************************************************************ // * // Copyright (C) 2004 * // University Corporation for Atmospheric Research * // All Rights Reserved * // * //************************************************************************/ // File: vizwin...
33.119597
129
0.675919
[ "object", "vector", "model", "transform", "3d" ]
691cdabb20b744dea1a26fae07599506b6a15679
6,690
cpp
C++
native_libs/plotter/Matplotlib/Plot.cpp
Magalame/dataframes
b851983fe707f6368bda1d2f3561289d069764fc
[ "MIT" ]
4
2019-05-09T17:25:29.000Z
2019-10-30T21:22:14.000Z
native_libs/plotter/Matplotlib/Plot.cpp
Magalame/dataframes
b851983fe707f6368bda1d2f3561289d069764fc
[ "MIT" ]
94
2018-07-09T19:02:56.000Z
2019-03-29T13:30:39.000Z
native_libs/plotter/Matplotlib/Plot.cpp
Magalame/dataframes
b851983fe707f6368bda1d2f3561289d069764fc
[ "MIT" ]
3
2019-05-16T21:05:39.000Z
2020-06-19T14:36:33.000Z
#include "Plot.h" #include <cmath> #include <arrow/array.h> #include <Core/ArrowUtilities.h> #include "B64.h" #include "ValueHolder.h" #include "Core/Error.h" #include "Python/IncludePython.h" #include <matplotlibcpp.h> #include "Python/PythonInterpreter.h" namespace { thread_local ValueHolder returnedString; } /...
25.930233
181
0.569058
[ "object" ]
6926cca2808bef84238fb3496213e6ac3ffa00d8
2,432
hpp
C++
src/libgl/draw/CGlDrawWireframeBox.hpp
schreiberx/lbm_free_surface_opencl
1149b68dc6bc5f3d7e4f3c646c4c9a72dcf4914e
[ "Apache-2.0" ]
null
null
null
src/libgl/draw/CGlDrawWireframeBox.hpp
schreiberx/lbm_free_surface_opencl
1149b68dc6bc5f3d7e4f3c646c4c9a72dcf4914e
[ "Apache-2.0" ]
null
null
null
src/libgl/draw/CGlDrawWireframeBox.hpp
schreiberx/lbm_free_surface_opencl
1149b68dc6bc5f3d7e4f3c646c4c9a72dcf4914e
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010 Martin Schreiber * * 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...
22.311927
75
0.679276
[ "render" ]
69317c2d06dc0c0bd0c1adc00bd63f731b71befd
15,545
cc
C++
inet/src/inet/common/packet/printer/PacketPrinter.cc
ntanetani/quisp
003f85746266d2eb62c66883e5b965b654672c70
[ "BSD-3-Clause" ]
null
null
null
inet/src/inet/common/packet/printer/PacketPrinter.cc
ntanetani/quisp
003f85746266d2eb62c66883e5b965b654672c70
[ "BSD-3-Clause" ]
null
null
null
inet/src/inet/common/packet/printer/PacketPrinter.cc
ntanetani/quisp
003f85746266d2eb62c66883e5b965b654672c70
[ "BSD-3-Clause" ]
1
2021-07-02T13:32:40.000Z
2021-07-02T13:32:40.000Z
// // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will...
43.421788
160
0.662592
[ "vector" ]
6935eeffd01e13861dd6f8d409af868fcf2a769c
4,951
cpp
C++
src/loop064.cpp
TannerRogalsky/Demoloops
13cb7c4b1bba892c24ddb8bbd78f4953b9c9a9d5
[ "MIT" ]
4
2016-11-07T12:50:14.000Z
2020-04-30T19:48:05.000Z
src/loop064.cpp
TannerRogalsky/Demoloops
13cb7c4b1bba892c24ddb8bbd78f4953b9c9a9d5
[ "MIT" ]
1
2017-04-17T12:00:16.000Z
2017-04-17T12:00:16.000Z
src/loop064.cpp
TannerRogalsky/Demoloops
13cb7c4b1bba892c24ddb8bbd78f4953b9c9a9d5
[ "MIT" ]
null
null
null
#include "demoloop.h" #include "graphics/shader.h" #include "helpers.h" #include <glm/gtx/rotate_vector.hpp> #include <array> #include <tuple> using namespace std; using namespace demoloop; const uint32_t CYCLE_LENGTH = 10; const static std::string shaderCode = R"===( uniform mediump float uTime; #ifdef VERTEX unifo...
29.470238
131
0.635427
[ "model" ]
6935f7f1a73138cd9b07e763da26b29dbd29d369
5,381
cpp
C++
ImageSearchingGoogle/src/ofApp.cpp
emodz/DM-GY-9103-Advanced-Creative-Coding
b1298ed6b0f067715437e51ca5e8f99b95ace01a
[ "MIT" ]
29
2018-01-26T00:34:06.000Z
2022-02-15T18:51:49.000Z
ImageSearchingGoogle/src/ofApp.cpp
emodz/DM-GY-9103-Advanced-Creative-Coding
b1298ed6b0f067715437e51ca5e8f99b95ace01a
[ "MIT" ]
2
2018-02-16T00:50:17.000Z
2018-02-16T01:15:34.000Z
ImageSearchingGoogle/src/ofApp.cpp
emodz/DM-GY-9103-Advanced-Creative-Coding
b1298ed6b0f067715437e51ca5e8f99b95ace01a
[ "MIT" ]
11
2018-01-26T00:08:46.000Z
2019-05-30T05:15:15.000Z
#include "ofApp.h" //Adapted from the Regular Expressions Example by @Kevin Siwoff // we need to include the standard regex library #include <regex> // Some explanation on regular expressions // http://gnosis.cx/publish/programming/regular_expressions.html // more info // http://www.regular-expressions.info/refere...
27.880829
119
0.524438
[ "vector" ]