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
e0f31dfb3177214ac2bb8d65b9362882ff84c70f
2,972
cpp
C++
Contests/USACO Solutions/2015-16/Open 2016/Plat/landscape_dp.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
1,760
2017-05-21T21:07:06.000Z
2022-03-29T13:15:08.000Z
Contests/USACO Solutions/2015-16/Open 2016/Plat/landscape_dp.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
12
2018-01-24T02:41:53.000Z
2022-03-17T13:09:26.000Z
Contests/USACO Solutions/2015-16/Open 2016/Plat/landscape_dp.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
473
2017-07-06T04:53:41.000Z
2022-03-28T13:03:28.000Z
#include <bits/stdc++.h> using namespace std; //using namespace __gnu_pbds; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> pi; //typedef tree<int,null_type,less<int>,rb_tree_tag,tree_order_statistics_node_update> ordered_set; #define FOR(i, a, b) for (int i=a; i<b; i++) #define F0R(i, a) for (...
23.587302
113
0.509758
[ "vector" ]
803e9f9721d20f61b68564fa751a2e9a72d54db9
2,507
cc
C++
ash/login/ui/login_test_utils.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
ash/login/ui/login_test_utils.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
ash/login/ui/login_test_utils.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// 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 "ash/login/ui/login_test_utils.h" #include "ash/login/ui/login_big_user_view.h" #include "base/strings/string_split.h" namespace ash { LockCont...
39.793651
79
0.698045
[ "vector" ]
8049a33fca6759e115756f8a80fcf93349429b6b
8,103
cpp
C++
src/vsg/state/GraphicsPipeline.cpp
liliolett/VulkanSceneGraph
882e05a68f64cc20f9c13a30dd1bc072e7c32b7d
[ "MIT" ]
null
null
null
src/vsg/state/GraphicsPipeline.cpp
liliolett/VulkanSceneGraph
882e05a68f64cc20f9c13a30dd1bc072e7c32b7d
[ "MIT" ]
null
null
null
src/vsg/state/GraphicsPipeline.cpp
liliolett/VulkanSceneGraph
882e05a68f64cc20f9c13a30dd1bc072e7c32b7d
[ "MIT" ]
null
null
null
/* <editor-fold desc="MIT License"> Copyright(c) 2018 Robert Osfield 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, mod...
32.027668
460
0.672344
[ "object" ]
805029adc4dd2c37032913e7aec3965d1ac6ff68
9,665
cpp
C++
Cores/Mednafen/mednafen-1.21/src/snes/src/cartridge/header.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
3,459
2015-01-07T14:07:09.000Z
2022-03-25T03:51:10.000Z
Cores/Mednafen/mednafen-1.21/src/snes/src/cartridge/header.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
1,046
2018-03-24T17:56:16.000Z
2022-03-23T08:13:09.000Z
Cores/Mednafen/mednafen-1.21/src/snes/src/cartridge/header.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
549
2015-01-07T14:07:15.000Z
2022-01-07T16:13:05.000Z
#ifdef CARTRIDGE_CPP void Cartridge::read_header(const uint8_t *data, unsigned size) { type = TypeUnknown; mapper = LoROM; dsp1_mapper = DSP1Unmapped; region = NTSC; ram_size = 0; has_bsx_slot = false; has_superfx = false; has_sa1 = false; has_srtc = false; ha...
30.015528
109
0.569477
[ "vector" ]
8052c830b6e0a6b844d8c575f3399f26e8c3ab38
3,749
hpp
C++
src/grammar.hpp
NoFunProgramming/Parser
e8eb77ca381ac1274ce44955a2939cc3ba3ce655
[ "MIT" ]
null
null
null
src/grammar.hpp
NoFunProgramming/Parser
e8eb77ca381ac1274ce44955a2939cc3ba3ce655
[ "MIT" ]
null
null
null
src/grammar.hpp
NoFunProgramming/Parser
e8eb77ca381ac1274ce44955a2939cc3ba3ce655
[ "MIT" ]
null
null
null
/******************************************************************************* * Grammar of a regular language. The class reads in a user defined grammar in * Backus-Naur Form (BNF) and and solves for all possible parse states of the * language. The class keeps a set of all unique terminal and nonterminals * fo...
33.774775
91
0.608696
[ "vector" ]
8059abab1fd086bb4128fe977e9d40a0717347d3
12,527
cpp
C++
src/SpectralAveraging/src/SpectralSample.cpp
LBNL-ETA/Windows-CalcEngine
c81528f25ffb79989fcb15b03f00b7c18da138c4
[ "BSD-3-Clause-LBNL" ]
15
2018-04-20T19:16:50.000Z
2022-02-11T04:11:41.000Z
src/SpectralAveraging/src/SpectralSample.cpp
LBNL-ETA/Windows-CalcEngine
c81528f25ffb79989fcb15b03f00b7c18da138c4
[ "BSD-3-Clause-LBNL" ]
31
2016-04-05T20:56:28.000Z
2022-03-31T22:02:46.000Z
src/SpectralAveraging/src/SpectralSample.cpp
LBNL-ETA/Windows-CalcEngine
c81528f25ffb79989fcb15b03f00b7c18da138c4
[ "BSD-3-Clause-LBNL" ]
6
2018-04-20T19:38:58.000Z
2020-04-06T00:30:47.000Z
#include <stdexcept> #include <cassert> #include "SpectralSample.hpp" #include "MeasuredSampleData.hpp" #include "WCECommon.hpp" using namespace FenestrationCommon; namespace SpectralAveraging { ////////////////////////////////////////////////////////////////////////////////////// //// CSample ////////...
32.622396
100
0.549373
[ "vector" ]
80687a6fdd57233f323ac9484ebbd36fef91813e
1,095
cc
C++
Code/1457-minimum-difficulty-of-a-job-schedule.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
2
2019-12-06T14:08:57.000Z
2020-01-15T15:25:32.000Z
Code/1457-minimum-difficulty-of-a-job-schedule.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
1
2020-01-15T16:29:16.000Z
2020-01-26T12:40:13.000Z
Code/1457-minimum-difficulty-of-a-job-schedule.cc
SMartQi/Leetcode
9e35c65a48ba1ecd5436bbe07dd65f993588766b
[ "MIT" ]
null
null
null
class Solution { int dp[300][300][11]; public: int minDifficulty(vector<int>& jobDifficulty, int d) { int size = jobDifficulty.size(); if (size < d) { return -1; } for (int i = 0; i < size; i++) { dp[i][i][1] = jobDifficulty[i]; for (int j = i ...
33.181818
116
0.421918
[ "vector" ]
806f22472387d0d928af523a2ed475b9257e01b8
1,147
hpp
C++
src/prx/bullet_sim/plants/BulletMultibody.hpp
aravindsiv/ML4KP
064015a7545e1713cbcad3e79807b5cec0849f54
[ "MIT" ]
3
2021-05-31T11:28:03.000Z
2021-05-31T13:49:30.000Z
src/prx/bullet_sim/plants/BulletMultibody.hpp
aravindsiv/ML4KP
064015a7545e1713cbcad3e79807b5cec0849f54
[ "MIT" ]
1
2021-09-03T09:39:32.000Z
2021-12-10T22:17:56.000Z
src/prx/bullet_sim/plants/BulletMultibody.hpp
aravindsiv/ML4KP
064015a7545e1713cbcad3e79807b5cec0849f54
[ "MIT" ]
2
2021-09-03T09:17:45.000Z
2021-10-04T15:52:58.000Z
#ifndef BULLET_NOT_BUILT #pragma once #include "prx/bullet_sim/plants/bullet_plant.hpp" #include "prx/simulation/playback/plan.hpp" namespace prx { class bullet_multibody_t : public bullet_t { public: bullet_multibody_t(const std::string& path); virtual ~bullet_mult...
26.674419
111
0.637315
[ "vector" ]
807b3015bf157e911c84d1d4e8f2013b702b73d9
13,343
cpp
C++
src/cpp/App.cpp
mmowbray/raytracing-realtime-approximation
61ff4bf9f995a313e0d24ee48624ae69b4cdf026
[ "Unlicense" ]
null
null
null
src/cpp/App.cpp
mmowbray/raytracing-realtime-approximation
61ff4bf9f995a313e0d24ee48624ae69b4cdf026
[ "Unlicense" ]
null
null
null
src/cpp/App.cpp
mmowbray/raytracing-realtime-approximation
61ff4bf9f995a313e0d24ee48624ae69b4cdf026
[ "Unlicense" ]
null
null
null
#include "App.h" #include <fstream> #include <GL/glew.h> #include <GLFW/glfw3.h> #include <GLSLProgram.h> #include <Model.h> #include <vector> #include <iostream> #include "glm/glm.hpp" #include "glm/gtc/matrix_transform.hpp" #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" glm::vec3 camera_position = glm::...
33.191542
146
0.694372
[ "render", "vector", "model" ]
8083fb8ccad28bd7d47c0422e0fb1643a1587340
11,170
cpp
C++
okvis_ceres/test/TestMarginalization.cpp
acyen/okvis
97546b92393d7cf5b51f02fe14ab708da9bc58c4
[ "BSD-3-Clause" ]
1,060
2016-02-04T21:36:15.000Z
2022-03-29T16:17:17.000Z
okvis_ceres/test/TestMarginalization.cpp
dywuha/okvis
1dce9129f22dd4d21d944788cd9da3a4341586aa
[ "BSD-3-Clause" ]
84
2016-02-06T19:26:54.000Z
2022-02-05T17:56:30.000Z
okvis_ceres/test/TestMarginalization.cpp
dywuha/okvis
1dce9129f22dd4d21d944788cd9da3a4341586aa
[ "BSD-3-Clause" ]
539
2016-02-04T21:54:28.000Z
2022-03-30T08:36:26.000Z
/********************************************************************************* * OKVIS - Open Keyframe-based Visual-Inertial SLAM * Copyright (c) 2015, Autonomous Systems Lab / ETH Zurich * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
46.932773
120
0.695971
[ "geometry", "vector" ]
80ae64747347188f4365a0442b894a00b5051ec9
9,181
cpp
C++
src/mocap/blob_detector.cpp
jeremypbrowne/tansa
e6044af397f99b9b985ed56015e9e0be13d4b026
[ "MIT" ]
38
2017-01-18T17:17:33.000Z
2022-01-04T17:24:08.000Z
src/mocap/blob_detector.cpp
jeremypbrowne/tansa
e6044af397f99b9b985ed56015e9e0be13d4b026
[ "MIT" ]
61
2016-12-04T13:26:48.000Z
2020-04-29T22:49:13.000Z
src/mocap/blob_detector.cpp
jeremypbrowne/tansa
e6044af397f99b9b985ed56015e9e0be13d4b026
[ "MIT" ]
21
2017-03-11T01:53:43.000Z
2019-12-09T07:53:57.000Z
#include "blob_detector.h" #ifdef __linux__ #include <sched.h> #endif #include <algorithm> using namespace std; namespace tansa { BlobDetector::BlobDetector(unsigned width, unsigned height, unsigned nthreads) : forest(width*height) { mask.width = width; mask.height = height; mask.data = (PixelType *) malloc(wid...
23.30203
144
0.645463
[ "vector" ]
80af52af016cb200c2d7e0acb6714d13929460f1
4,489
cpp
C++
test/all_pairs_shortest_paths_unittest.cpp
zero4drift/CLRS_Cpp_Implementations
efafbb34fb9f83dedecdcf01395def27fd64a33a
[ "MIT" ]
null
null
null
test/all_pairs_shortest_paths_unittest.cpp
zero4drift/CLRS_Cpp_Implementations
efafbb34fb9f83dedecdcf01395def27fd64a33a
[ "MIT" ]
null
null
null
test/all_pairs_shortest_paths_unittest.cpp
zero4drift/CLRS_Cpp_Implementations
efafbb34fb9f83dedecdcf01395def27fd64a33a
[ "MIT" ]
null
null
null
#include <iostream> #include <gtest/gtest.h> #include "chapter-24/single_source_shortest_paths/sssp_utilities.hpp" #include "chapter-25/all_pairs_shortest_paths/all_pairs_shortest_paths_utilities.hpp" #include "chapter-25/all_pairs_shortest_paths/matrix_all_pairs_shortest_paths/matrix_all_pairs_shortest_paths.hpp" #inc...
36.495935
114
0.681889
[ "vector" ]
80af7561e79032334dd10b149421f729c084aaa7
12,223
cpp
C++
Source/Falcor/Raytracing/RtProgram/RtProgram.cpp
WeakKnight/Falcor
9c0306a3d0525902b042efd2581369141bb95339
[ "BSD-3-Clause" ]
null
null
null
Source/Falcor/Raytracing/RtProgram/RtProgram.cpp
WeakKnight/Falcor
9c0306a3d0525902b042efd2581369141bb95339
[ "BSD-3-Clause" ]
null
null
null
Source/Falcor/Raytracing/RtProgram/RtProgram.cpp
WeakKnight/Falcor
9c0306a3d0525902b042efd2581369141bb95339
[ "BSD-3-Clause" ]
null
null
null
/*************************************************************************** # Copyright (c) 2020, NVIDIA CORPORATION. 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...
36.27003
195
0.625542
[ "object", "vector" ]
80af76c82edb0ec090bc5bd4495d250ba0382600
3,528
cpp
C++
datasets/github_cpp_10/10/39.cpp
yijunyu/demo-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
1
2019-05-03T19:27:45.000Z
2019-05-03T19:27:45.000Z
datasets/github_cpp_10/10/39.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
datasets/github_cpp_10/10/39.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
#include <string> #include <iostream> #include <fstream> #include <vector> #include <algorithm> #include <math.h> #include "includes/constants.h" #include "classes/Lexicon.h" #include "classes/Bleu.h" #include "classes/Levenshtein.h" #include "classes/Bleu2.h" using namespace std; static Lexicon l; int main(int ar...
25.021277
146
0.689909
[ "vector" ]
80bbf2f354f64b1923fc48e544066b4b7b48de64
6,665
cpp
C++
samples/catch/catch.cpp
togawamanabu/RoboND-DeepRL-Project
d3705eab15b01c381c1299bd3b5ee78e72339f2c
[ "MIT" ]
852
2016-08-23T03:24:38.000Z
2022-03-29T05:51:07.000Z
samples/catch/catch.cpp
togawamanabu/RoboND-DeepRL-Project
d3705eab15b01c381c1299bd3b5ee78e72339f2c
[ "MIT" ]
43
2016-09-21T01:11:55.000Z
2021-08-31T16:40:20.000Z
samples/catch/catch.cpp
togawamanabu/RoboND-DeepRL-Project
d3705eab15b01c381c1299bd3b5ee78e72339f2c
[ "MIT" ]
248
2016-08-17T17:15:38.000Z
2022-03-13T09:01:01.000Z
/* * 1D deepRL example */ #include "deepRL.h" #include "commandLine.h" #include "rand.h" #include <stdlib.h> #include <signal.h> #include <time.h> // Define DQN API settings #define DEFAULT_GAME_WIDTH 64 #define DEFAULT_GAME_HEIGHT 64 #define NUM_CHANNELS 1 #define OPTIMIZER "RMSprop" #define...
23.222997
163
0.605401
[ "render" ]
80bc06f534c44d852c47be8c26cd656a1c8bb81a
7,280
cpp
C++
TGEngine/private/graphics/GUIModule.cpp
MrTroble/TEngine
9e364840b5db3b3d642c2921264e07b5148783f2
[ "Apache-2.0" ]
1
2017-09-07T20:43:31.000Z
2017-09-07T20:43:31.000Z
TGEngine/private/graphics/GUIModule.cpp
MrTroble/TEngine
9e364840b5db3b3d642c2921264e07b5148783f2
[ "Apache-2.0" ]
8
2017-10-14T13:06:49.000Z
2017-11-19T13:34:38.000Z
TGEngine/private/graphics/GUIModule.cpp
MrTroble/TGEngine
9e364840b5db3b3d642c2921264e07b5148783f2
[ "Apache-2.0" ]
null
null
null
#include "../../public/graphics/GUIModule.hpp" #include "../../public/graphics/WindowModule.hpp" #include "../../public/graphics/vulkan/VulkanModuleDef.hpp" #include <Windows.h> #include <backends/imgui_impl_vulkan.h> #include <backends/imgui_impl_win32.cpp> #include <backends/imgui_impl_win32.h> #include <imgui.h> #i...
38.723404
82
0.653022
[ "render" ]
01f205ce2717f7e5aec12abce5f6ba3e43f7f663
8,534
cpp
C++
src/qwt-6/examples/oscilloscope/plot.cpp
copasi/copasi-dependencies
c01dd455c843522375c32c2989aa8675f59bb810
[ "Unlicense" ]
5
2015-04-16T14:27:38.000Z
2021-11-30T14:54:39.000Z
src/qwt-6/examples/oscilloscope/plot.cpp
copasi/copasi-dependencies
c01dd455c843522375c32c2989aa8675f59bb810
[ "Unlicense" ]
8
2017-05-30T16:58:39.000Z
2022-02-22T16:51:34.000Z
src/qwt-6/examples/oscilloscope/plot.cpp
copasi/copasi-dependencies
c01dd455c843522375c32c2989aa8675f59bb810
[ "Unlicense" ]
7
2016-05-29T08:12:59.000Z
2019-05-02T13:39:25.000Z
/***************************************************************************** * Qwt Examples - Copyright (C) 2002 Uwe Rathmann * This file may be used under the terms of the 3-clause BSD License *****************************************************************************/ #include "Plot.h" #include "SignalData.h"...
28.637584
85
0.579564
[ "object", "transform" ]
01f5da33b4cdd4f533fd52359dbe9753f89a30c2
2,605
cc
C++
RecoVertex/ConfigurableVertexReco/src/ConfigurableVertexFitter.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
RecoVertex/ConfigurableVertexReco/src/ConfigurableVertexFitter.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
RecoVertex/ConfigurableVertexReco/src/ConfigurableVertexFitter.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "RecoVertex/ConfigurableVertexReco/interface/ConfigurableVertexFitter.h" #include "RecoVertex/ConfigurableVertexReco/interface/VertexFitterManager.h" using namespace std; namespace { void errorNoFitter( const string & finder ) { cout << "[ConfigurableVertexFitter] got no fitter for \"" << fi...
26.85567
96
0.722073
[ "vector" ]
bf001cbb00ea9c735526ffb81b825a73a06cb6f6
665
cpp
C++
_episodes/code/Functions/return-tuple.cpp
glenn-horton-smith/hsf-training-cpp-webpage
5e24dbc7241fbab13d669d917cfb0f67d0d8475e
[ "CC-BY-4.0" ]
7
2020-10-15T01:33:03.000Z
2022-03-19T08:14:31.000Z
_episodes/code/Functions/return-tuple.cpp
glenn-horton-smith/hsf-training-cpp-webpage
5e24dbc7241fbab13d669d917cfb0f67d0d8475e
[ "CC-BY-4.0" ]
13
2020-12-18T10:19:42.000Z
2021-08-09T18:14:33.000Z
_episodes/code/Functions/return-tuple.cpp
glenn-horton-smith/hsf-training-cpp-webpage
5e24dbc7241fbab13d669d917cfb0f67d0d8475e
[ "CC-BY-4.0" ]
6
2020-12-16T13:11:40.000Z
2021-07-12T13:20:32.000Z
#include <iostream> #include <vector> #include <tuple> std::tuple<double,double,double> analyse( const std::vector<double> & data ) { double min {999.}, max{0}, sum {0} ; for ( unsigned i = 0 ; i < data.size() ; ++i ) { sum += data[i] ; if (data[i]<min ) min = data[i] ; if (data[i]>max ) max = data...
23.75
76
0.517293
[ "vector" ]
bf06c78bb7f31830d42d91f9acc1607a24a69114
13,013
cpp
C++
src/native/ipforward_entry.cpp
nonomal/node-tap
f8e5fa21b6f53bebbf948e52982d631be638a2c4
[ "Apache-2.0" ]
780
2018-02-25T13:32:44.000Z
2022-03-20T17:48:22.000Z
src/native/ipforward_entry.cpp
nonomal/node-tap
f8e5fa21b6f53bebbf948e52982d631be638a2c4
[ "Apache-2.0" ]
59
2018-02-26T21:00:01.000Z
2020-06-16T02:59:21.000Z
src/native/ipforward_entry.cpp
nonomal/node-tap
f8e5fa21b6f53bebbf948e52982d631be638a2c4
[ "Apache-2.0" ]
161
2018-04-01T04:21:18.000Z
2021-10-17T07:56:32.000Z
#include <nan.h> #include <string> #include <iostream> #include "./error.hpp" #include "./ipforward_entry.hpp" #include <winsock2.h> #include <windows.h> #include <ws2def.h> #include <ws2ipdef.h> #include <iphlpapi.h> #include <netioapi.h> #pragma comment(lib, "Ws2_32.lib") #pragma comment(lib, "iphlpapi.lib") NAN_...
47.32
147
0.648044
[ "object" ]
bf0821c9d2cb0b43734639e78cbb4ce9c3a877f0
894
cpp
C++
include/ops/declarable/generic/parity_ops/rank.cpp
gluonhq/libnd4j
6be4678caf6f820f5b0fd1a5392c0941936f2e43
[ "Apache-2.0" ]
null
null
null
include/ops/declarable/generic/parity_ops/rank.cpp
gluonhq/libnd4j
6be4678caf6f820f5b0fd1a5392c0941936f2e43
[ "Apache-2.0" ]
null
null
null
include/ops/declarable/generic/parity_ops/rank.cpp
gluonhq/libnd4j
6be4678caf6f820f5b0fd1a5392c0941936f2e43
[ "Apache-2.0" ]
1
2022-03-25T06:48:25.000Z
2022-03-25T06:48:25.000Z
// // Created by raver119 on 01.11.2017. // #include <ops/declarable/CustomOperations.h> namespace nd4j { namespace ops { CUSTOM_OP_IMPL(rank, 1, 1, false, 0, 0) { auto input = INPUT_VARIABLE(0); auto output = OUTPUT_VARIABLE(0); REQUIRE_TRUE(output->isScalar(), 0, "Ra...
25.542857
85
0.514541
[ "shape" ]
bf0cc19b91b3010fd564304ea26586e4910fa8c0
2,789
cpp
C++
kernels/chain/src/main.cpp
YC-Vertex/GeneSAK
10fcd2fc3d9c3df1f391dc277b8d5840abf3034c
[ "MIT" ]
4
2021-09-13T14:41:06.000Z
2021-12-25T03:31:56.000Z
kernels/chain/src/main.cpp
YC-Vertex/GeneSAK
10fcd2fc3d9c3df1f391dc277b8d5840abf3034c
[ "MIT" ]
null
null
null
kernels/chain/src/main.cpp
YC-Vertex/GeneSAK
10fcd2fc3d9c3df1f391dc277b8d5840abf3034c
[ "MIT" ]
1
2021-09-16T06:56:41.000Z
2021-09-16T06:56:41.000Z
#include <cstdio> #include <vector> #include <time.h> #include <sys/time.h> #include <getopt.h> #include <string> #include <iostream> #include "omp.h" #include "host_data_io.h" #include "host_data.h" #include "host_kernel.h" // #define PRINT_OUTPUT 1 // #define VTUNE_ANALYSIS 1 #ifdef VTUNE_ANALYSIS #include <it...
23.837607
101
0.552886
[ "vector" ]
bf1115888e94d134c6c92392b395a4aa4169b45f
2,268
hpp
C++
include/strix/rdf/store.hpp
JDRomano2/strix
21a0d3c623be40ceb76e2a37522e3e9f614c5f3b
[ "MIT" ]
null
null
null
include/strix/rdf/store.hpp
JDRomano2/strix
21a0d3c623be40ceb76e2a37522e3e9f614c5f3b
[ "MIT" ]
null
null
null
include/strix/rdf/store.hpp
JDRomano2/strix
21a0d3c623be40ceb76e2a37522e3e9f614c5f3b
[ "MIT" ]
null
null
null
#ifndef STORE_HPP #define STORE_HPP #include <strix/identifiers.hpp> #include <string> #include <vector> namespace rdf { class StoreEngine { public: StoreEngine() {}; private: strix::IDManager id_manager; }; class NodeKey { protected: strix::RDFNodeID node_id; public: rdf::NodeKe...
28.35
82
0.679894
[ "vector" ]
bf1f21aebd619d5ecb5580c3a49f063d22dca021
5,399
cc
C++
src/libmv/simple_pipeline/iterative_closest_points.cc
h33p/libmv
fc7f41a484c3cb8df94e71b591076ab3c9e84827
[ "MIT" ]
null
null
null
src/libmv/simple_pipeline/iterative_closest_points.cc
h33p/libmv
fc7f41a484c3cb8df94e71b591076ab3c9e84827
[ "MIT" ]
null
null
null
src/libmv/simple_pipeline/iterative_closest_points.cc
h33p/libmv
fc7f41a484c3cb8df94e71b591076ab3c9e84827
[ "MIT" ]
null
null
null
// Copyright (c) 2012 libmv authors. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation the // rights to use, copy, modify, merge, publish...
34.170886
79
0.615484
[ "vector", "transform" ]
bf2fc09d324e6c239dc7bdd40ddd74faadedd9ba
1,059
cpp
C++
src/view/InfoSheet.cpp
elias-leinenweber/head-sim
b93675385b00cd0c55e4b151ed7c24c9f13f4376
[ "0BSD" ]
1
2020-12-15T07:12:22.000Z
2020-12-15T07:12:22.000Z
src/view/InfoSheet.cpp
elias-leinenweber/head-sim
b93675385b00cd0c55e4b151ed7c24c9f13f4376
[ "0BSD" ]
null
null
null
src/view/InfoSheet.cpp
elias-leinenweber/head-sim
b93675385b00cd0c55e4b151ed7c24c9f13f4376
[ "0BSD" ]
null
null
null
#include <string> #include <SFML/Graphics.hpp> #include <SFML/OpenGL.hpp> #include <SFML/System.hpp> #include "imgui/imgui-SFML.h" #include "imgui/imgui.h" #include "controller/Game.h" #include "view/InfoSheet.h" #include "view/Utils.h" void InfoSheet::render() { centerNextWindow(500, 320); if (ImGui::Begin...
30.257143
76
0.614731
[ "render" ]
bf30ca20d152336747c6a95efde10e52f8033974
3,122
cpp
C++
Examples/CameraController/CameraControllerExample.cpp
quantingxie/vibe
965a79089ac3ec821ad65c45ac50e69bf32dc92f
[ "Apache-2.0" ]
2
2020-08-14T07:21:30.000Z
2021-08-30T09:39:09.000Z
Examples/CameraController/CameraControllerExample.cpp
quantingxie/vibe
965a79089ac3ec821ad65c45ac50e69bf32dc92f
[ "Apache-2.0" ]
null
null
null
Examples/CameraController/CameraControllerExample.cpp
quantingxie/vibe
965a79089ac3ec821ad65c45ac50e69bf32dc92f
[ "Apache-2.0" ]
1
2020-08-14T07:00:31.000Z
2020-08-14T07:00:31.000Z
/*========================================================================= Library: iMSTK Copyright (c) Kitware, Inc. & Center for Modeling, Simulation, & Imaging in Medicine, Rensselaer Polytechnic Institute. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file e...
31.535354
105
0.686739
[ "mesh" ]
bf3d5a66961cc3bf60a0933e4042698a83f1b079
10,664
cpp
C++
saga/saga/packages/job/job.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
saga/saga/packages/job/job.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
saga/saga/packages/job/job.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
#if defined(__WAVE__) && defined(SAGA_CREATE_PREPROCESSED_FILES) #pragma wave option(preserve: 2, line: 1, output: "preprocessed/job.cpp") #endif // Copyright (c) 2005-2009 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://ww...
32.413374
92
0.571174
[ "object", "vector" ]
bf3f704721396bec4978a64c18c6ee733df6ed96
1,958
cpp
C++
modulo_4/src/1_verdadero_miss_universo.cpp
SRendonn/analisis-diseno-algoritmos
16afc95f7a473c067a6bade5b70e458da53f70f7
[ "MIT" ]
null
null
null
modulo_4/src/1_verdadero_miss_universo.cpp
SRendonn/analisis-diseno-algoritmos
16afc95f7a473c067a6bade5b70e458da53f70f7
[ "MIT" ]
null
null
null
modulo_4/src/1_verdadero_miss_universo.cpp
SRendonn/analisis-diseno-algoritmos
16afc95f7a473c067a6bade5b70e458da53f70f7
[ "MIT" ]
null
null
null
#include <iostream> #include <tuple> #include <vector> #include <bits/stdc++.h> using namespace std; bool check_diags(vector<ushort> squares) { for (ushort i = 0; i < squares.size() - 1; i++) { ushort p = 1; for (ushort j = i + 1; j < squares.size(); j++) { if (squares[j] =...
22
117
0.447395
[ "vector" ]
bf433b23d209a9570038256ae5afa3586819b63c
925
hpp
C++
backend/controller/frame/HttpException.hpp
EricJeffrey/TheCheatSheet
d3a9c91be10ad9179fdcbb25832d3235ea644115
[ "MIT" ]
2
2020-10-31T14:46:13.000Z
2020-12-08T02:07:33.000Z
backend/controller/frame/HttpException.hpp
EricJeffrey/TheCheatSheet
d3a9c91be10ad9179fdcbb25832d3235ea644115
[ "MIT" ]
11
2020-10-20T08:14:04.000Z
2020-11-17T01:52:29.000Z
backend/controller/frame/HttpException.hpp
EricJeffrey/TheCheatSheet
d3a9c91be10ad9179fdcbb25832d3235ea644115
[ "MIT" ]
1
2020-10-20T07:57:28.000Z
2020-10-20T07:57:28.000Z
#if !defined(HTTP_EXCEPTION_HPP) #define HTTP_EXCEPTION_HPP #include <string> #include <vector> using std::string; using std::vector; namespace controller { // exception for the already defined http error (400, 500...) struct HttpException : public std::exception { static const int32_t CODE_SUCCESS = 200; st...
27.205882
80
0.71027
[ "vector" ]
bf46f58240db1d41f56304dc9bcfc0b913cc3bb2
268
cpp
C++
Dataset/Leetcode/test/136/223.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/136/223.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/136/223.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: int singleNumber(vector<int>& nums) { int n=nums.size(); set<int> a; for(int i=0;i<n;i++){ if(!a.count(nums[i])){ a.insert(nums[i]); } else{a.erase(nums[i]);} } return *a.begin(); } };
16.75
41
0.481343
[ "vector" ]
bf4b947de70d2653dd372b1ba225fdb3761cd830
125,366
cpp
C++
implementations/ugene/src/plugins/api_tests/src/core/format/sqlite_mod_dbi/ModDbiSQLiteSpecificUnitTests.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins/api_tests/src/core/format/sqlite_mod_dbi/ModDbiSQLiteSpecificUnitTests.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins/api_tests/src/core/format/sqlite_mod_dbi/ModDbiSQLiteSpecificUnitTests.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2020 UniPro <ugene@unipro.ru> * http://ugene.net * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * ...
42.51136
235
0.678214
[ "object", "model" ]
bf560dba43ebe175ea7d2a7aa897fc7255e90f98
4,387
cpp
C++
src/evaluator/samples/PositionErrorEval.cpp
neophack/steam
28f0637e3ae4ff2c21ad12b2331c535e9873c997
[ "BSD-3-Clause" ]
38
2019-10-17T01:37:41.000Z
2022-03-31T03:55:47.000Z
src/evaluator/samples/PositionErrorEval.cpp
neophack/steam
28f0637e3ae4ff2c21ad12b2331c535e9873c997
[ "BSD-3-Clause" ]
2
2019-12-21T21:25:48.000Z
2021-01-01T23:08:57.000Z
src/evaluator/samples/PositionErrorEval.cpp
neophack/steam
28f0637e3ae4ff2c21ad12b2331c535e9873c997
[ "BSD-3-Clause" ]
5
2019-12-21T21:13:01.000Z
2022-02-28T23:42:14.000Z
////////////////////////////////////////////////////////////////////////////////////////////// /// \file PositionErrorEval.cpp /// /// \author Kai van Es, ASRL ////////////////////////////////////////////////////////////////////////////////////////////// #include <steam/evaluator/samples/PositionErrorEval.hpp> //#inc...
49.852273
108
0.50171
[ "vector", "transform" ]
bf5f0ee1591e1ac06fbb00d7839fd4ccfe048949
1,763
hh
C++
include/iris/general.hh
izzyaxel/NovaPx
b5db202a585654e97c550425d1c0b9de4937bbd9
[ "BSD-3-Clause" ]
null
null
null
include/iris/general.hh
izzyaxel/NovaPx
b5db202a585654e97c550425d1c0b9de4937bbd9
[ "BSD-3-Clause" ]
null
null
null
include/iris/general.hh
izzyaxel/NovaPx
b5db202a585654e97c550425d1c0b9de4937bbd9
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <vector> #include <ctgmath> namespace Iris { /// PI constant template<typename T> T constexpr pi = static_cast<T>(3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055...
27.984127
314
0.690868
[ "vector" ]
bf685127336beb680d9b59e46d8a8a6c94cae4a0
13,626
cpp
C++
samples/gl-420-blend-op-amd.cpp
Groovounet/ogl-samples
7f8be365d1823b8609caf539d790c90712cd4c46
[ "Unlicense" ]
null
null
null
samples/gl-420-blend-op-amd.cpp
Groovounet/ogl-samples
7f8be365d1823b8609caf539d790c90712cd4c46
[ "Unlicense" ]
null
null
null
samples/gl-420-blend-op-amd.cpp
Groovounet/ogl-samples
7f8be365d1823b8609caf539d790c90712cd4c46
[ "Unlicense" ]
2
2020-12-30T04:44:14.000Z
2021-03-17T00:43:45.000Z
//********************************** // OpenGL Blending Operation // 28/01/2012 - 28/01/2012 //********************************** // Christophe Riccio // ogl-samples@g-truc.net //********************************** // G-Truc Creation // www.g-truc.net //********************************** #include <glf/glf.hpp> namespa...
32.520286
144
0.756935
[ "model", "transform" ]
bf790d678caa07701073cc8ac5d12d13ace1beb1
1,552
cpp
C++
src/transport_protocols/transport_control/selective_repeat/sr_client.cpp
MuhammedKhamis/RdtOverUDP
3244da6a216fc7a1d6a8415bfdec9b3c2cc603cf
[ "MIT" ]
4
2020-10-20T01:04:54.000Z
2020-12-23T05:13:33.000Z
src/transport_protocols/transport_control/selective_repeat/sr_client.cpp
751650693/RdtOverUDP
3244da6a216fc7a1d6a8415bfdec9b3c2cc603cf
[ "MIT" ]
1
2018-12-29T08:04:45.000Z
2018-12-29T16:11:34.000Z
src/transport_protocols/transport_control/selective_repeat/sr_client.cpp
751650693/RdtOverUDP
3244da6a216fc7a1d6a8415bfdec9b3c2cc603cf
[ "MIT" ]
3
2019-02-21T13:21:34.000Z
2020-12-31T22:36:25.000Z
#include "sr_client.h" /* constructor */ /******************************************/ sr_client::sr_client(port_handler *p) : selective_repeat(p) {} /* init */ /******************************************/ void sr_client::init(int expected_packets_count, vector<data_packet*> *received_packets) { this->expected_pac...
27.714286
88
0.580541
[ "vector" ]
bf823b5dffcee3c9607260d32f51c1cab2d96b5d
5,011
cc
C++
tests/unit/lib/GPUVector_unittest.cc
ShankarNara/shogun
8ab196de16b8d8917e5c84770924c8d0f5a3d17c
[ "BSD-3-Clause" ]
2,753
2015-01-02T11:34:13.000Z
2022-03-25T07:04:27.000Z
tests/unit/lib/GPUVector_unittest.cc
ShankarNara/shogun
8ab196de16b8d8917e5c84770924c8d0f5a3d17c
[ "BSD-3-Clause" ]
2,404
2015-01-02T19:31:41.000Z
2022-03-09T10:58:22.000Z
tests/unit/lib/GPUVector_unittest.cc
ShankarNara/shogun
8ab196de16b8d8917e5c84770924c8d0f5a3d17c
[ "BSD-3-Clause" ]
1,156
2015-01-03T01:57:21.000Z
2022-03-26T01:06:28.000Z
/* * Copyright (c) 2014, Shogun Toolbox Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright notice, * this list o...
23.976077
82
0.702055
[ "vector" ]
bf835e2d17dc38cef5ef9c65562a08a369b70a92
1,978
cpp
C++
src/cpp/opticalFlow.cpp
sisques/TFG
e2a971da6b8ef3651fbbad48573bf56aab632770
[ "MIT" ]
null
null
null
src/cpp/opticalFlow.cpp
sisques/TFG
e2a971da6b8ef3651fbbad48573bf56aab632770
[ "MIT" ]
null
null
null
src/cpp/opticalFlow.cpp
sisques/TFG
e2a971da6b8ef3651fbbad48573bf56aab632770
[ "MIT" ]
null
null
null
#include <string> #include <opencv2/core/mat.hpp> #include <opencv2/imgcodecs.hpp> #include <fstream> #include "DenseORB.hpp" #include "robustMatcher.hpp" using namespace cv; using namespace std; void opticalFlow(const string &im1, const string &im2, const string &dst, const int &H_W); int main(int argc, char** a...
25.688312
90
0.58999
[ "vector" ]
bf84cae1fc9251198c5ab410ca9d3b0b73a65c76
1,366
cpp
C++
Algorithms/Dynamic_Programming/Largest Divisible Subset.cpp
arslantalib3/algo_ds_101
a1293f407e00b8346f93e8770727f769e7add00e
[ "MIT" ]
182
2020-10-01T17:16:42.000Z
2021-10-04T17:52:49.000Z
Algorithms/Dynamic_Programming/Largest Divisible Subset.cpp
arslantalib3/algo_ds_101
a1293f407e00b8346f93e8770727f769e7add00e
[ "MIT" ]
759
2020-10-01T00:12:21.000Z
2021-10-04T19:35:11.000Z
Algorithms/Dynamic_Programming/Largest Divisible Subset.cpp
arslantalib3/algo_ds_101
a1293f407e00b8346f93e8770727f769e7add00e
[ "MIT" ]
1,176
2020-10-01T16:02:13.000Z
2021-10-04T19:20:19.000Z
#include <bits/stdc++.h> using namespace std; /* Given an array of distinct posotive integers,find the largest subset such that every pair(a1,a2) of elements in this subset satisfies a1 % a2 = 0 or a2 % a1 = 0 Note - In case of multiple sych solutions return any subset. Example 1: Input : [1 , 2 , 3] Output : [1 ...
20.088235
96
0.459736
[ "vector" ]
bf8c3647873a9760dd1e5e997c33eb2bde92726a
1,877
cc
C++
jarvis/src/model/DescribePhoneInfoResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
jarvis/src/model/DescribePhoneInfoResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
jarvis/src/model/DescribePhoneInfoResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
25.712329
78
0.747469
[ "model" ]
bf95289ddb0bd21a622da20f89f8fb09e5fb007b
5,880
cpp
C++
TEvtGen/EvtGen/EvtGenModels/EvtPVVCPLH.cpp
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
TEvtGen/EvtGen/EvtGenModels/EvtPVVCPLH.cpp
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
TEvtGen/EvtGen/EvtGenModels/EvtPVVCPLH.cpp
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Informat...
31.44385
101
0.65034
[ "vector" ]
bf981924043c1dcb8f5d1d66c134472fe6f93ea7
1,686
hpp
C++
willow/include/popart/patterns/elementwisegradoppattern.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/include/popart/patterns/elementwisegradoppattern.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/include/popart/patterns/elementwisegradoppattern.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2019 Graphcore Ltd. All rights reserved. #ifndef GUARD_NEURALNET_ELEMENTWISEGRADOPPATTERN_HPP #define GUARD_NEURALNET_ELEMENTWISEGRADOPPATTERN_HPP #include <popart/graph.hpp> #include <popart/ir.hpp> #include <popart/op/mul.hpp> #include <popart/patterns/pattern.hpp> namespace popart { // Generalize...
33.058824
79
0.694543
[ "vector" ]
bccda7b221cb26da85d5cef0184601a6f12bcd61
2,589
hpp
C++
kp2rig/src/KpSolidObject.hpp
mcengija/riggingtools
a9e725d3e4419da87f787ff6a0c67bfd28c8f1bb
[ "MIT" ]
30
2020-06-20T10:58:44.000Z
2022-03-07T16:41:35.000Z
kp2rig/src/KpSolidObject.hpp
mcengija/riggingtools
a9e725d3e4419da87f787ff6a0c67bfd28c8f1bb
[ "MIT" ]
11
2020-09-15T19:05:20.000Z
2021-09-14T16:46:37.000Z
kp2rig/src/KpSolidObject.hpp
mcengija/riggingtools
a9e725d3e4419da87f787ff6a0c67bfd28c8f1bb
[ "MIT" ]
7
2020-07-03T05:49:27.000Z
2021-09-07T18:33:36.000Z
#ifndef KpSolidObject_hpp #define KpSolidObject_hpp #include <vector> #include "Pose.hpp" #include "RigPose.hpp" class KpSolidObject : public Pose { public: KpSolidObject() = default; KpSolidObject( std::string kpType, const std::map< KEYPOINT_TYPE, int > & kpLayout ); KpSolidObject( const KpSolidObjec...
32.772152
101
0.70645
[ "vector" ]
bcd062cd85074ed0f875891bdee25c0c6a929c13
4,858
cpp
C++
scripting/ComponentsList.cpp
Kanma/Athena-Entities
c463bef9b5a6ec7989f3524739d0030ff24f32fe
[ "MIT" ]
1
2016-10-30T07:34:37.000Z
2016-10-30T07:34:37.000Z
scripting/ComponentsList.cpp
Kanma/Athena-Entities
c463bef9b5a6ec7989f3524739d0030ff24f32fe
[ "MIT" ]
null
null
null
scripting/ComponentsList.cpp
Kanma/Athena-Entities
c463bef9b5a6ec7989f3524739d0030ff24f32fe
[ "MIT" ]
null
null
null
#include <Athena-Entities/ComponentsList.h> #include <Athena-Entities/ComponentsManager.h> #include <Athena-Entities/Scripting.h> #include <Athena-Scripting/Utils.h> #include <Athena-Scripting/ScriptingManager.h> #include <v8.h> using namespace Athena::Entities; using namespace Athena::Scripting; using namespace v8; ...
30.746835
137
0.60951
[ "object" ]
bcd89b58d834acfbd3d01949c1c54b09ff30213e
11,887
cpp
C++
services/MobileConnection/Legato/src/MobileConnectionServiceImpl.cpp
gboyraz/macchina.io
3e26fea95e87512459693831242b297f0780cc21
[ "Apache-2.0" ]
2
2020-11-23T23:37:00.000Z
2020-12-22T04:02:41.000Z
services/MobileConnection/Legato/src/MobileConnectionServiceImpl.cpp
bas524/cmake.macchina.io
22a21d78f8075fd145b788b41a23603591e91c9f
[ "Apache-2.0" ]
null
null
null
services/MobileConnection/Legato/src/MobileConnectionServiceImpl.cpp
bas524/cmake.macchina.io
22a21d78f8075fd145b788b41a23603591e91c9f
[ "Apache-2.0" ]
1
2020-11-23T23:37:09.000Z
2020-11-23T23:37:09.000Z
// // MobileConnectionServiceImpl.cpp // // Copyright (c) 2017, Applied Informatics Software Engineering GmbH. // All rights reserved. // // SPDX-License-Identifier: Apache-2.0 // #include "MobileConnectionServiceImpl.h" #include "Poco/Process.h" #include "Poco/Pipe.h" #include "Poco/PipeStream.h" #include "Poco/Stre...
22.012963
128
0.70758
[ "vector" ]
bce2a001428c3281c7b0dc7b4640be96498fb7d2
2,393
cpp
C++
SRC/Element/Isoparametric/LumpedMass.cpp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
SRC/Element/Isoparametric/LumpedMass.cpp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
SRC/Element/Isoparametric/LumpedMass.cpp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
// LumpedMass.cpp: implementation of the LumpedMass class. // Copyright (c) 2017-2018 Extreme Computation Technology and Solutions, LLC // All rights reserved // see file License.txt for license details ////////////////////////////////////////////////////////////////////// #include <math.h> #include <cassert> #...
26.588889
77
0.632679
[ "shape", "vector" ]
bce69150bbc540aa53376b485055dc111216ff4c
5,346
cpp
C++
Projects/3. REST API Communication/requests.cpp
vladandreiy/Communication-Protocols
e6e44b111fc29387323cabcefea783991a8b3678
[ "MIT" ]
null
null
null
Projects/3. REST API Communication/requests.cpp
vladandreiy/Communication-Protocols
e6e44b111fc29387323cabcefea783991a8b3678
[ "MIT" ]
null
null
null
Projects/3. REST API Communication/requests.cpp
vladandreiy/Communication-Protocols
e6e44b111fc29387323cabcefea783991a8b3678
[ "MIT" ]
null
null
null
#include <cstdlib> #include <cstdio> #include <cstring> #include <vector> #include <string> #include <netinet/in.h> #include "helpers.hpp" #include "requests.hpp" using namespace std; #define HEADER_TERMINATOR_SIZE (sizeof(HEADER_TERMINATOR) - 1) #define CONTENT_LENGTH "Content-Length: " #define CONTENT_...
33.835443
82
0.570333
[ "vector" ]
bced64a5ea09de41699a8981dedbd3a54bce3895
1,113
hpp
C++
Server Lib/Game Server/PANGYA_DB/cmd_item_buff_info.hpp
CCasusensa/SuperSS-Dev
6c6253b0a56bce5dad150c807a9bbf310e8ff61b
[ "MIT" ]
23
2021-10-31T00:20:21.000Z
2022-03-26T07:24:40.000Z
Server Lib/Game Server/PANGYA_DB/cmd_item_buff_info.hpp
CCasusensa/SuperSS-Dev
6c6253b0a56bce5dad150c807a9bbf310e8ff61b
[ "MIT" ]
5
2021-10-31T18:44:51.000Z
2022-03-25T18:04:26.000Z
Server Lib/Game Server/PANGYA_DB/cmd_item_buff_info.hpp
CCasusensa/SuperSS-Dev
6c6253b0a56bce5dad150c807a9bbf310e8ff61b
[ "MIT" ]
18
2021-10-20T02:31:56.000Z
2022-02-01T11:44:36.000Z
// Arquivo cmd_item_buff_info.hpp // Criado em 21/03/2018 as 22:43 por Acrisio // Defini��o da classe CmdItemBuffInfo #pragma once #ifndef _STDA_CMD_ITEM_BUFF_INFO_HPP #define STDA_CMD_ITEM_BUFF_INFO_HPP #include "../../Projeto IOCP/PANGYA_DB/pangya_db.h" #include "../TYPE/pangya_game_st.h" #include <vector> namespa...
26.5
82
0.736748
[ "vector" ]
bcee017ca47fee2f632fad933c61fa47667875b7
79,916
cpp
C++
libBKPLPlot/plfill.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
libBKPLPlot/plfill.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
libBKPLPlot/plfill.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
// $Id: plfill.c 12008 2011-10-28 12:50:46Z andrewross $ // // Polygon pattern fill. // // Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Alan W. Irwin // Copyright (C) 2005, 2006, 2007, 2008, 2009 Arjen Markus // // This file is part of PLplot. // // PLplot is free software; you can redistribute it a...
36.641907
164
0.47386
[ "geometry", "render", "object", "vector", "transform", "3d" ]
bcf2b55bcd0db8d85bd96842bfea85b1d5e46ca9
2,312
hpp
C++
DebugSystem.hpp
MeatKO/Detail-Engine
4dcdc4ee90210ed74678d4ee9206a5df1a2d880c
[ "MIT" ]
12
2020-02-08T19:52:16.000Z
2022-01-15T19:32:50.000Z
DebugSystem.hpp
MeatKO/Detail-Engine
4dcdc4ee90210ed74678d4ee9206a5df1a2d880c
[ "MIT" ]
2
2020-10-01T10:05:42.000Z
2020-10-10T11:20:19.000Z
DebugSystem.hpp
MeatKO/Detail-Engine
4dcdc4ee90210ed74678d4ee9206a5df1a2d880c
[ "MIT" ]
2
2020-03-26T14:12:52.000Z
2020-10-01T08:57:11.000Z
#pragma once #include "ECS.hpp" #include "AssetManager.hpp" #include <GLFW/glfw3.h> namespace detailEngine { class DebugSystem : public Publisher, public Subscriber { public: DebugSystem() {} void TestMessageBus(int messageCount); void Update(Input* input, EntityController* entityController, AssetManager*...
26.883721
95
0.512543
[ "vector", "model" ]
bcfc9b8168ac798e3c6136f0782b3f28c931091c
23,507
cpp
C++
src/LSM6DSOX/LSM6DSOX.cpp
jspark311/ManuvrDrivers
3352d1394393b891ea50d5b3d36e04dea2949d72
[ "MIT" ]
4
2020-09-19T08:29:20.000Z
2021-12-14T15:21:25.000Z
src/LSM6DSOX/LSM6DSOX.cpp
jspark311/ManuvrDrivers
3352d1394393b891ea50d5b3d36e04dea2949d72
[ "MIT" ]
1
2021-02-14T09:32:32.000Z
2021-07-24T05:02:28.000Z
src/LSM6DSOX/LSM6DSOX.cpp
jspark311/ManuvrDrivers
3352d1394393b891ea50d5b3d36e04dea2949d72
[ "MIT" ]
null
null
null
#include "LSM6DSOX.h" /******************************************************************************* * Statics and externs *******************************************************************************/ /* The offsets for each register. */ static const uint8_t LSM6DSOX_REGISTER_ADDRESSES[78] = { 0x01, 0x02, 0x0...
31.217795
121
0.586932
[ "object" ]
bcfd0ee1b06d23a608750f649b547a84b9308344
2,372
hh
C++
extern/glow-extras/geometry/glow-extras/geometry/CoordFrame.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/glow-extras/geometry/glow-extras/geometry/CoordFrame.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/glow-extras/geometry/glow-extras/geometry/CoordFrame.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
#pragma once #include <typed-geometry/tg-lean.hh> #include <glow/common/shared.hh> #include <glow/objects/ArrayBuffer.hh> #include <glow/objects/ElementArrayBuffer.hh> #include <glow/objects/VertexArray.hh> namespace glow { namespace geometry { /// Default type for Frame vertices struct FrameVertex { tg::pos3 p...
27.905882
132
0.622681
[ "geometry", "vector" ]
bcfdfc495c40eeb7ae33323c70d6003454c5ab6e
25,453
cpp
C++
3DLfC4D/source/aov_layers.cpp
FilipMalmberg/3Delight-for-Cinema-4D
3394f8cd9e1121b8c35aa4e2b2443450ef82cbff
[ "MIT" ]
null
null
null
3DLfC4D/source/aov_layers.cpp
FilipMalmberg/3Delight-for-Cinema-4D
3394f8cd9e1121b8c35aa4e2b2443450ef82cbff
[ "MIT" ]
null
null
null
3DLfC4D/source/aov_layers.cpp
FilipMalmberg/3Delight-for-Cinema-4D
3394f8cd9e1121b8c35aa4e2b2443450ef82cbff
[ "MIT" ]
null
null
null
#include "aov_layers.h" #include "c4d_basebitmap.h" #include "c4d_symbols.h" #include <list> #include <vector> #include <string> #include <algorithm> #include <map> #include "3DelightRenderer.h" using namespace std; #define ID_CUSTOMGUI_LAYERS 1034668 #define ID_CUSTOMDATATYPE_LAYERS 1245668 struct LayersData { I...
26.764458
133
0.707736
[ "geometry", "object", "vector" ]
4c0866a69cf458b2db5499fcde70896580267e9f
9,138
cc
C++
aslam_cv_cameras/src/camera.cc
shuhannod/aslam_cv2
4dd48916b9e5b9d5aa56e28894a04d4a25a87348
[ "Apache-2.0" ]
3
2019-09-16T02:11:58.000Z
2020-03-20T22:49:32.000Z
aslam_cv_cameras/src/camera.cc
shuhannod/aslam_cv2
4dd48916b9e5b9d5aa56e28894a04d4a25a87348
[ "Apache-2.0" ]
null
null
null
aslam_cv_cameras/src/camera.cc
shuhannod/aslam_cv2
4dd48916b9e5b9d5aa56e28894a04d4a25a87348
[ "Apache-2.0" ]
3
2019-07-04T00:47:45.000Z
2019-10-17T02:22:11.000Z
#include <memory> #include <glog/logging.h> #include <aslam/cameras/camera.h> #include <aslam/cameras/distortion-null.h> #include <aslam/cameras/yaml/camera-yaml-serialization.h> #include <aslam/common/yaml-serialization.h> // TODO(slynen) Enable commented out PropertyTree support //#include <sm/PropertyTree.hpp> na...
36.846774
94
0.645656
[ "vector" ]
4c0b2253740020603a1472ece29933e9073b8901
10,871
cpp
C++
src/TripleAxisPipe.cpp
jspark311/CppPotpourri
e68acc26161d02835be6efc212b9e74e7795a208
[ "Apache-2.0" ]
3
2020-02-23T01:29:20.000Z
2021-01-27T21:26:34.000Z
src/TripleAxisPipe.cpp
jspark311/CppPotpourri
e68acc26161d02835be6efc212b9e74e7795a208
[ "Apache-2.0" ]
null
null
null
src/TripleAxisPipe.cpp
jspark311/CppPotpourri
e68acc26161d02835be6efc212b9e74e7795a208
[ "Apache-2.0" ]
1
2020-09-08T01:08:10.000Z
2020-09-08T01:08:10.000Z
/* File: TripleAxisPipe.cpp Author: J. Ian Lindsay Date: 2020.05.14 Copyright 2016 Manuvr, 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 U...
33.042553
176
0.567749
[ "transform" ]
4c0c38780abea48df595d33c67f69717f2a25348
26,621
cpp
C++
oneEngine/oneGame/source/after/developer/editor/CVoxelFileEditor.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
8
2017-12-08T02:59:31.000Z
2022-02-02T04:30:03.000Z
oneEngine/oneGame/source/after/developer/editor/CVoxelFileEditor.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
2
2021-04-16T03:44:42.000Z
2021-08-30T06:48:44.000Z
oneEngine/oneGame/source/after/developer/editor/CVoxelFileEditor.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
1
2021-04-16T02:09:54.000Z
2021-04-16T02:09:54.000Z
#include "CVoxelFileEditor.h" #include "core/input/CInput.h" #include "core/system/Screen.h" #include "core/system/System.h" #include "core-ext/system/io/mccvxg.h" #include "core-ext/system/io/Resources.h" #include "physical/physics/CPhysics.h" #include "engine/physics/raycast/Raycaster.h" #include "engine-common/...
32.504274
181
0.649149
[ "mesh", "render", "object", "transform", "solid" ]
4c20dc772c0f2258e0cd5472505fb8fd81f10292
21,313
cpp
C++
Crowny/Source/Platform/Vulkan/VulkanUniformParams.cpp
bojosos/Nworc
a59cb18412a45a101f877caedf6ed0025a9e44a9
[ "MIT" ]
2
2021-05-13T17:57:04.000Z
2021-10-04T07:07:01.000Z
Crowny/Source/Platform/Vulkan/VulkanUniformParams.cpp
bojosos/Crowny
5aef056d2c95e04870d2372a87257ad9dccf168a
[ "MIT" ]
null
null
null
Crowny/Source/Platform/Vulkan/VulkanUniformParams.cpp
bojosos/Crowny
5aef056d2c95e04870d2372a87257ad9dccf168a
[ "MIT" ]
null
null
null
#include "cwpch.h" #include "Platform/Vulkan/VulkanUniformParams.h" #include "Platform/Vulkan/VulkanDescriptorPool.h" #include "Platform/Vulkan/VulkanGpuBuffer.h" #include "Platform/Vulkan/VulkanGpuBufferManager.h" #include "Platform/Vulkan/VulkanRenderAPI.h" #include "Platform/Vulkan/VulkanSamplerState.h" #include "...
45.250531
119
0.570262
[ "vector" ]
4c245935549a97d3eeaed32a668f458a7ff50f66
1,896
cpp
C++
src/Bluez.cpp
ptenbrock/SimpleBluez
d7550cc60bd09c452e311555156c0bf277aa760e
[ "MIT" ]
1
2020-05-12T11:12:03.000Z
2020-05-12T11:12:03.000Z
src/Bluez.cpp
ptenbrock/SimpleBluez
d7550cc60bd09c452e311555156c0bf277aa760e
[ "MIT" ]
null
null
null
src/Bluez.cpp
ptenbrock/SimpleBluez
d7550cc60bd09c452e311555156c0bf277aa760e
[ "MIT" ]
null
null
null
#include <simplebluez/Bluez.h> #include <simplebluez/ProxyOrg.h> #include <simpledbus/interfaces/ObjectManager.h> using namespace SimpleBluez; Bluez::Bluez() : Proxy(std::make_shared<SimpleDBus::Connection>(DBUS_BUS_SYSTEM), "org.bluez", "/") { _interfaces["org.freedesktop.DBus.ObjectManager"] = std::static_point...
36.461538
119
0.705169
[ "vector" ]
4c280fb0b54ca32a40461c11d26b9449d532e3b1
7,036
cpp
C++
Engine/Source/Physics/src/RigidBody.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
Engine/Source/Physics/src/RigidBody.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
Engine/Source/Physics/src/RigidBody.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
#include "stdafx.h" #include "RigidBody.h" #include "Shape.hxx" #include "RectangleShape.h" #include "Physics.h" using namespace Physics; using namespace Base; using namespace Utilities; // ******************************************************************************************************************* cRigidBody:...
28.836066
121
0.529278
[ "shape" ]
4c2be5585b7bbd8011084489f7111168b3fe4883
413
hpp
C++
audio/AlBuffer.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
26
2015-04-22T05:25:25.000Z
2020-11-15T11:07:56.000Z
audio/AlBuffer.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
2
2015-01-05T10:41:27.000Z
2015-01-06T20:46:11.000Z
audio/AlBuffer.hpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
5
2016-08-02T11:13:57.000Z
2018-10-26T11:19:27.000Z
#ifndef ___INANITY_AUDIO_AL_BUFFER_HPP___ #define ___INANITY_AUDIO_AL_BUFFER_HPP___ #include "audio.hpp" #include "al.hpp" BEGIN_INANITY_AUDIO class AlDevice; class AlBuffer : public Object { private: ptr<AlDevice> device; ALuint bufferName; public: AlBuffer(ptr<AlDevice> device, ALuint bufferName); ~AlBuffer(...
14.75
51
0.779661
[ "object" ]
4c3e7643c6764569d0bde7e4ee16604d2ae627d4
1,505
cpp
C++
engine/core/base/channel.cpp
Houkime/echo
d115ca55faf3a140bea04feffeb2efdedb0e7f82
[ "MIT" ]
675
2019-02-07T01:23:19.000Z
2022-03-28T05:45:10.000Z
engine/core/base/channel.cpp
Houkime/echo
d115ca55faf3a140bea04feffeb2efdedb0e7f82
[ "MIT" ]
843
2019-01-25T01:06:46.000Z
2022-03-16T11:15:53.000Z
engine/core/base/channel.cpp
Houkime/echo
d115ca55faf3a140bea04feffeb2efdedb0e7f82
[ "MIT" ]
83
2019-02-20T06:18:46.000Z
2022-03-20T09:36:09.000Z
#include "channel.h" #include "engine/core/script/lua/lua_binder.h" #include "object.h" namespace Echo { Channel::Channel(Object* owner, const String& name, const String& expression) : m_owner(owner) , m_name(name) , m_expression(expression) { // unique id static i32 id ...
27.87037
126
0.548837
[ "object" ]
4c3fdc2ec342157f97c8bb9f7b05ef87f1be0ac7
1,707
cpp
C++
src/LongestPalindromicSubstring.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
src/LongestPalindromicSubstring.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
src/LongestPalindromicSubstring.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#include "LongestPalindromicSubstring.hpp" #include <vector> #include <algorithm> using namespace std; string LongestPalindromicSubstring::expandAroundCenter(string s, int c1, int c2) { int l = c1; int r = c2; int n = s.size(); while (l >= 0 && r <= n - 1 && s[l] == s[r]) { l--; r++;...
21.884615
82
0.493849
[ "vector" ]
4c41af2e083eaa9ec8c80ac729ed46c9cd8db09a
14,556
hpp
C++
libraries/wasm/modules/wasm_native_bank_module.hpp
chenxinhua2018/nchain
9c694d91dc48fc548b88a0016497c34c9a1cbaaa
[ "MIT" ]
1
2020-10-22T23:03:50.000Z
2020-10-22T23:03:50.000Z
src/vm/wasm/modules/wasm_native_bank_module.hpp
linnbenton/WaykiChain
91dc0aa5b28b63f00ea71c57f065e1b4ad4b124a
[ "MIT" ]
null
null
null
src/vm/wasm/modules/wasm_native_bank_module.hpp
linnbenton/WaykiChain
91dc0aa5b28b63f00ea71c57f065e1b4ad4b124a
[ "MIT" ]
null
null
null
#pragma once #include "wasm/wasm_context.hpp" #include "wasm/wasm_constants.hpp" #include "wasm/abi_def.hpp" #include "wasm/exception/exceptions.hpp" #include "wasm/wasm_log.hpp" #include "wasm/modules/wasm_router.hpp" #include "wasm/modules/wasm_native_commons.hpp" #include "wasm/types/asset.hpp" #include "wasm/types...
42.938053
137
0.485023
[ "vector" ]
4c4244fcedc228ee1c3d4b587f64f8f0868172b3
2,864
hpp
C++
visualization/src/visualization/ui/rendering/geometry_rendering.hpp
dotdecimal/open-cradle
f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d
[ "MIT" ]
null
null
null
visualization/src/visualization/ui/rendering/geometry_rendering.hpp
dotdecimal/open-cradle
f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d
[ "MIT" ]
null
null
null
visualization/src/visualization/ui/rendering/geometry_rendering.hpp
dotdecimal/open-cradle
f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d
[ "MIT" ]
4
2018-09-28T17:12:54.000Z
2022-03-20T14:22:29.000Z
#ifndef VISUALIZATION_UI_RENDERING_GEOMETRY_RENDERING_HPP #define VISUALIZATION_UI_RENDERING_GEOMETRY_RENDERING_HPP #include <visualization/data/types/geometry_types.hpp> #include <visualization/ui/views/spatial_3d_views.hpp> // This file provides functions for adding scene graph objects representing // common geomet...
29.833333
78
0.77898
[ "mesh", "3d" ]
4c468a380912e2a34e9753052edb8d71958f7c29
6,400
hpp
C++
tuple/include/array_of_doubles_sketch.hpp
etseidl/datasketches-cpp
e6fa0526520667d70e710211c5a37e7cc3e80655
[ "Apache-2.0" ]
52
2019-05-20T21:17:38.000Z
2020-12-08T15:58:10.000Z
tuple/include/array_of_doubles_sketch.hpp
etseidl/datasketches-cpp
e6fa0526520667d70e710211c5a37e7cc3e80655
[ "Apache-2.0" ]
53
2019-06-19T05:32:34.000Z
2020-10-13T19:05:36.000Z
tuple/include/array_of_doubles_sketch.hpp
etseidl/datasketches-cpp
e6fa0526520667d70e710211c5a37e7cc3e80655
[ "Apache-2.0" ]
30
2019-05-20T21:17:27.000Z
2020-12-05T09:14:00.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
35.555556
170
0.745781
[ "vector" ]
4c4f7d4d441ed0c6cc4d58f179dce17667262450
6,225
cpp
C++
src/Nvm.cpp
maarten-pennings/Nvm
c0e279c5cbc445cbd274c9ca094bee012f8ce22a
[ "MIT" ]
3
2018-06-10T10:08:46.000Z
2020-06-04T01:29:13.000Z
src/Nvm.cpp
maarten-pennings/Nvm
c0e279c5cbc445cbd274c9ca094bee012f8ce22a
[ "MIT" ]
null
null
null
src/Nvm.cpp
maarten-pennings/Nvm
c0e279c5cbc445cbd274c9ca094bee012f8ce22a
[ "MIT" ]
4
2017-12-01T13:35:55.000Z
2020-06-04T01:42:43.000Z
/* Nvm.cpp - Library for saving named strings in EEPROM (non-volatile memory) Created by Maarten Pennings 2017 April 17, Updated comments 2017 Oct 29, Allows len==0 2020 March 07 */ #include <Arduino.h> #include <EEPROM.h> #include "Nvm.h" // The initial vector for the checksum (of the fields). #define NVM_SUM...
33.648649
173
0.632289
[ "vector" ]
4c511a817b3d5f58504e20a66803d8e1a8814958
54,434
cpp
C++
SRC/Geometry/GeneralGeometry/GeneralGeometry.cpp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
SRC/Geometry/GeneralGeometry/GeneralGeometry.cpp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
SRC/Geometry/GeneralGeometry/GeneralGeometry.cpp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017-2018 Extreme Computation Technology and Solutions, LLC // All rights reserved // see file License.txt for license details //////////////////////////////////////////////////////////////////////////// #include <cassert> #include <fstream> #include "./GeneralGeometry.h" #include "Geometry/U...
32.47852
131
0.471856
[ "mesh", "geometry", "vector", "solid" ]
4c57349df1a352712e2c67d2e8a97b6226043780
5,062
cc
C++
modules/perception/obstacle/lidar/tracker/hm_tracker/hm_tracker_test.cc
DavidSplit/apollo-3.0
9f82838e857e4c9146952946cbc34b9f35098deb
[ "Apache-2.0" ]
6
2019-10-11T07:57:49.000Z
2022-02-23T15:23:41.000Z
modules/perception/obstacle/lidar/tracker/hm_tracker/hm_tracker_test.cc
DavidSplit/apollo-3.0
9f82838e857e4c9146952946cbc34b9f35098deb
[ "Apache-2.0" ]
null
null
null
modules/perception/obstacle/lidar/tracker/hm_tracker/hm_tracker_test.cc
DavidSplit/apollo-3.0
9f82838e857e4c9146952946cbc34b9f35098deb
[ "Apache-2.0" ]
12
2019-10-11T07:57:49.000Z
2022-03-16T05:13:00.000Z
/****************************************************************************** * Copyright 2017 The Apollo Authors. All Rights Reserved. * Modifications Copyright (c) 2018 LG Electronics, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
34.910345
79
0.659028
[ "object", "vector" ]
4c57990fe0971eff2879864a85c94506a9f801d8
847
cpp
C++
example/Trivial.cpp
rgreenblatt/OCLRadixSort
dfb89e898d2027977b1e8d54796a321aa9cde9f4
[ "Unlicense" ]
null
null
null
example/Trivial.cpp
rgreenblatt/OCLRadixSort
dfb89e898d2027977b1e8d54796a321aa9cde9f4
[ "Unlicense" ]
null
null
null
example/Trivial.cpp
rgreenblatt/OCLRadixSort
dfb89e898d2027977b1e8d54796a321aa9cde9f4
[ "Unlicense" ]
null
null
null
#include "../include/OCLRadixSort.hpp" int main() { // create instance for device bc::device device = bc::system::default_device(); bc::context context = bc::context(device); bc::command_queue command_queue = bc::command_queue(context, device); RadixSort<> rs(context, command_queue); std::vector<unsigned...
33.88
82
0.664699
[ "vector" ]
4c57a3ce7621a4a38726f1676de45ca90bd7350a
12,958
cpp
C++
src/model/solver/world.cpp
3d-pli/fastpli
fe90ac53a7e78d122696bebb4816f4cb953cdb72
[ "MIT" ]
13
2020-03-21T10:40:36.000Z
2022-03-20T17:27:56.000Z
src/model/solver/world.cpp
3d-pli/fastpli
fe90ac53a7e78d122696bebb4816f4cb953cdb72
[ "MIT" ]
11
2021-01-30T07:21:52.000Z
2021-03-16T15:24:41.000Z
src/model/solver/world.cpp
3d-pli/fastpli
fe90ac53a7e78d122696bebb4816f4cb953cdb72
[ "MIT" ]
6
2020-08-27T07:19:30.000Z
2021-07-20T08:49:11.000Z
#include "world.hpp" #include <fstream> #include <functional> #include <iomanip> #include <iostream> #include <map> #include <memory> #include <utility> #include <Python.h> #include "fiber_class.hpp" #include "include/aabb.hpp" #include "include/omp.hpp" #include "include/vemath.hpp" #include "objects/fiber.hpp" #in...
27.926724
80
0.567912
[ "mesh", "geometry", "object", "vector", "model" ]
4c6ee6cdd8fe2f36a588cff4b81b9956e8d36a20
3,466
cpp
C++
BlackVision/LibBlackVision/Source/Engine/Models/Plugins/Simple/DefaultGeometryPluginBase.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
1
2022-01-28T11:43:47.000Z
2022-01-28T11:43:47.000Z
BlackVision/LibBlackVision/Source/Engine/Models/Plugins/Simple/DefaultGeometryPluginBase.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
BlackVision/LibBlackVision/Source/Engine/Models/Plugins/Simple/DefaultGeometryPluginBase.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Engine/Models/Plugins/Simple/DefaultGeometryPluginBase.h" #include "Engine/Models/Plugins/Channels/Geometry/Simple/DefaultGeometryVertexAttributeChannel.h" #include "Engine/Models/Plugins/Channels/Geometry/HelperVertexAttributesChannel.h" #include "Engine/Models/Plugins/Channels/He...
30.672566
162
0.550779
[ "geometry", "model" ]
dbc916386ccea8d0d7857e93d8429330eb4adea3
1,605
cpp
C++
src/Utils/DataUtils.cpp
maciejjaskiewicz/FacelinkStudio
4bcb4ed06932546e58af4a01ee2b17e3dc45f366
[ "MIT" ]
1
2020-08-11T02:40:32.000Z
2020-08-11T02:40:32.000Z
src/Utils/DataUtils.cpp
maciejjaskiewicz/FacelinkStudio
4bcb4ed06932546e58af4a01ee2b17e3dc45f366
[ "MIT" ]
null
null
null
src/Utils/DataUtils.cpp
maciejjaskiewicz/FacelinkStudio
4bcb4ed06932546e58af4a01ee2b17e3dc45f366
[ "MIT" ]
null
null
null
#include "DataUtils.hpp" #include <opencv2/core/mat.hpp> #include <opencv2/cudaimgproc.hpp> #include <opencv2/core/opengl.hpp> namespace Fls { void DataUtils::matToVector(const cv::Mat& mat, std::vector<float>& out) { if (mat.isContinuous()) { out.assign(reinterpret_cast<float*>(ma...
28.157895
109
0.568224
[ "vector" ]
dbcc6cd8560eac401419a30f27eed115997e5990
4,755
cpp
C++
inverted_index.cpp
spetz911/lucifer
bd320327465728b1aef0805e2230321903dab92d
[ "MIT" ]
null
null
null
inverted_index.cpp
spetz911/lucifer
bd320327465728b1aef0805e2230321903dab92d
[ "MIT" ]
null
null
null
inverted_index.cpp
spetz911/lucifer
bd320327465728b1aef0805e2230321903dab92d
[ "MIT" ]
1
2018-11-29T23:02:24.000Z
2018-11-29T23:02:24.000Z
// // inv_index.cpp // ololo1 // // Created by Oleg Baskakov on 7/24/13. // Copyright (c) 2013 Oleg Baskakov. All rights reserved. // #include "inverted_index.h" #include "common.h" // a predicate implemented as a class: class is_odd_class { map<string, vector<int> > *postings; public: is_odd_class(map<st...
28.644578
98
0.611356
[ "vector" ]
dbd0566e45f0884bb336c0ea9d04e84e3d27f1f1
7,457
cpp
C++
apps/exampleViewer/widgets/cameraManipulator.cpp
burlen/ospray
e041b985dc53a2339a90a5735a22d0489b730df0
[ "Apache-2.0" ]
null
null
null
apps/exampleViewer/widgets/cameraManipulator.cpp
burlen/ospray
e041b985dc53a2339a90a5735a22d0489b730df0
[ "Apache-2.0" ]
null
null
null
apps/exampleViewer/widgets/cameraManipulator.cpp
burlen/ospray
e041b985dc53a2339a90a5735a22d0489b730df0
[ "Apache-2.0" ]
null
null
null
// ======================================================================== // // Copyright 2009-2019 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
37.852792
85
0.527424
[ "3d" ]
dbd34b0c71002c2db3a999048bf17f3cb6f1d380
5,031
cpp
C++
lib/random.cpp
gwpark-git/dynamics_of_networks_and_colloids
0b0a3687533379ec75171ae6b906aeff5bedfbba
[ "MIT" ]
null
null
null
lib/random.cpp
gwpark-git/dynamics_of_networks_and_colloids
0b0a3687533379ec75171ae6b906aeff5bedfbba
[ "MIT" ]
null
null
null
lib/random.cpp
gwpark-git/dynamics_of_networks_and_colloids
0b0a3687533379ec75171ae6b906aeff5bedfbba
[ "MIT" ]
null
null
null
#include "random.h" MKL_LONG RANDOM:: return_LONG_INT_rand (MKL_LONG SUP) { // it is using randomly generated seed const gsl_rng_type *T; gsl_rng *r; gsl_rng_env_setup(); T = gsl_rng_default; r = gsl_rng_alloc(T); gsl_rng_set(r, random()); MKL_LONG re = gsl_rng_uniform_int(r, SUP); gsl_rng_free(r);...
20.875519
135
0.654939
[ "vector" ]
dbda63a9f6fb843e375c4a36ec7708ce2008a338
3,489
hpp
C++
src/libraries/core/meshes/Identifiers/patch/coupleGroupIdentifier.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/meshes/Identifiers/patch/coupleGroupIdentifier.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/meshes/Identifiers/patch/coupleGroupIdentifier.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2013-2018 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of Caelus. Caelus is free software: you can redistribute it and/or modify it ...
28.137097
79
0.538836
[ "mesh" ]
dbdb934a09cd5cb14d2c1a638a675ca67d39c9ca
3,062
cpp
C++
Week 09/Code/main.cpp
toby0622/NDHU-Algorithm-Course
58c86d370643177c69a809dbdb8ec6b34ecf4d15
[ "MIT" ]
null
null
null
Week 09/Code/main.cpp
toby0622/NDHU-Algorithm-Course
58c86d370643177c69a809dbdb8ec6b34ecf4d15
[ "MIT" ]
null
null
null
Week 09/Code/main.cpp
toby0622/NDHU-Algorithm-Course
58c86d370643177c69a809dbdb8ec6b34ecf4d15
[ "MIT" ]
null
null
null
/* * Question Idea: * * There are 'n' SMTP servers connected with 'm' cables, * each cable connects between two servers, * the latency exists by using cable to send email. * Assume that the server will not cause any additional latencies, * what is the best possible time (latency) to send email * from server S t...
25.098361
83
0.562051
[ "vector" ]
dbdc97b442517eaa7298fa14b9c62ae39eb6f2b9
37,870
cpp
C++
src/cl_dll/VRSound.cpp
SolarisBravo/Half-Life-VR
f21db516a3fad10688307259eee2e8370b6c0b71
[ "Unlicense" ]
1
2021-04-03T16:52:33.000Z
2021-04-03T16:52:33.000Z
src/cl_dll/VRSound.cpp
SolarisBravo/Half-Life-VR
f21db516a3fad10688307259eee2e8370b6c0b71
[ "Unlicense" ]
null
null
null
src/cl_dll/VRSound.cpp
SolarisBravo/Half-Life-VR
f21db516a3fad10688307259eee2e8370b6c0b71
[ "Unlicense" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <algorithm> #include <memory> #include <vector> #include <unordered_map> #include <unordered_set> #include <optional> #include <regex> #include "snd_hook.h" #include "VRSound.h" #include "cl_entity.h" #include "pm_defs.h" #include "cl_util.h" #includ...
26.801132
196
0.700396
[ "geometry", "vector", "model", "transform", "3d", "solid" ]
dbe406768c762129312d512955c2566e32c0fb4a
15,680
cpp
C++
tinker/glgui/tree.cpp
BSVino/ViewbackMonitor
b18b13fc5417f723d5616928097bf70bf54797cc
[ "BSD-4-Clause" ]
null
null
null
tinker/glgui/tree.cpp
BSVino/ViewbackMonitor
b18b13fc5417f723d5616928097bf70bf54797cc
[ "BSD-4-Clause" ]
null
null
null
tinker/glgui/tree.cpp
BSVino/ViewbackMonitor
b18b13fc5417f723d5616928097bf70bf54797cc
[ "BSD-4-Clause" ]
null
null
null
/* Copyright (c) 2012, Lunar Workshop, Inc. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. R...
23.975535
205
0.710651
[ "vector" ]
dbec8dacad8dabb049cc94b44a5210f06b9185f8
986
cpp
C++
Electron.app/Contents/MacOS/app/node_modules/node-sass/src/libsass/sass.cpp
caseymorrisus/Electron-Compiler
ccb01f318d028e8b4b66660fe37e60004a681387
[ "MIT" ]
175
2015-01-05T16:14:21.000Z
2022-03-15T07:56:25.000Z
Electron.app/Contents/MacOS/app/node_modules/node-sass/src/libsass/sass.cpp
caseymorrisus/Electron-Compiler
ccb01f318d028e8b4b66660fe37e60004a681387
[ "MIT" ]
151
2015-01-02T15:31:00.000Z
2021-01-20T07:28:10.000Z
Electron.app/Contents/MacOS/app/node_modules/node-sass/src/libsass/sass.cpp
caseymorrisus/Electron-Compiler
ccb01f318d028e8b4b66660fe37e60004a681387
[ "MIT" ]
111
2015-01-04T16:26:24.000Z
2020-06-21T18:46:51.000Z
#include <cstdlib> #include <cstring> #include <vector> #include <sstream> #include "sass.h" #include "file.hpp" #include "util.hpp" extern "C" { using namespace std; using namespace Sass; using namespace File; // caller must free the returned memory char* ADDCALL sass_string_quote (const char *str, const ...
22.409091
74
0.697769
[ "vector" ]
dbf17935f9c6b5a6d6a7f7b6fc60cab2275a3b76
9,503
cc
C++
lib/spf/SPFRecord.src.cc
skywa04885/fsmtp-v2
a8023ff92e00e1df12f097f50c9bb3bf05d22d0e
[ "Apache-2.0" ]
1
2020-07-11T21:48:52.000Z
2020-07-11T21:48:52.000Z
lib/spf/SPFRecord.src.cc
skywa04885/fsmtp-v2
a8023ff92e00e1df12f097f50c9bb3bf05d22d0e
[ "Apache-2.0" ]
1
2020-07-13T15:01:30.000Z
2020-07-19T21:23:05.000Z
lib/spf/SPFRecord.src.cc
skywa04885/fsmtp-v2
a8023ff92e00e1df12f097f50c9bb3bf05d22d0e
[ "Apache-2.0" ]
1
2021-05-24T23:05:59.000Z
2021-05-24T23:05:59.000Z
/* Copyright [2020] [Luke A.C.A. Rieff] 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, ...
38.164659
115
0.603283
[ "vector", "transform" ]
dbf382f8ba67f6ac8eeacbb26fa25bdd332cf164
1,291
cpp
C++
CLIInterop/ModelUpdater.cpp
AnnaKrykora/indexer-plus-plus
99998b5205bf80ada23e2fdbd6aa2cc6be7f5ed1
[ "MIT" ]
59
2016-07-27T20:36:04.000Z
2022-02-21T07:39:43.000Z
CLIInterop/ModelUpdater.cpp
Stateford/indexer-plus-plus
6ffc46d85a00fd83f0117b358ffe3eaae82ea575
[ "MIT" ]
43
2016-08-18T15:59:50.000Z
2021-01-18T09:16:50.000Z
CLIInterop/ModelUpdater.cpp
Stateford/indexer-plus-plus
6ffc46d85a00fd83f0117b358ffe3eaae82ea575
[ "MIT" ]
13
2016-07-28T16:08:41.000Z
2020-12-17T06:06:27.000Z
// This file is the part of the Indexer++ project. // Copyright (C) 2016 Anna Krykora <krykoraanna@gmail.com>. All rights reserved. // Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. #include "ModelUpdater.h" using namespace System::Threading; // clang-format o...
23.472727
101
0.691712
[ "object", "model" ]
dbf7737487871fd9cd8b024d2338274e8fbc6d2a
3,587
cpp
C++
libopenfpga/librepackdc/src/read_xml_repack_design_constraints.cpp
avesus/OpenFPGA
c1dab2168655d41eb59d4923156dabd253ffbd3e
[ "MIT" ]
246
2020-12-03T08:49:29.000Z
2022-03-28T21:19:55.000Z
libopenfpga/librepackdc/src/read_xml_repack_design_constraints.cpp
a-canela/OpenFPGA
063c58b6cbe2e01aa5520ec43ec80ff064d7f228
[ "MIT" ]
261
2020-12-03T00:23:54.000Z
2022-03-31T10:00:37.000Z
libopenfpga/librepackdc/src/read_xml_repack_design_constraints.cpp
a-canela/OpenFPGA
063c58b6cbe2e01aa5520ec43ec80ff064d7f228
[ "MIT" ]
66
2020-12-12T09:05:53.000Z
2022-03-28T07:51:41.000Z
/******************************************************************** * This file includes the top-level function of this library * which reads an XML of a fabric key to the associated * data structures *******************************************************************/ #include <string> /* Headers from pugi XML ...
39.855556
142
0.63981
[ "object" ]
dbfeef88a66939c9953eea3bc2f1379e2ac2957f
24,448
cpp
C++
libraries/InCircuitTester/CRamCheck.cpp
Judder/arduino-mega-ict-atom
409453565a6f535d2e16ac9f86c6f43027b10786
[ "BSD-2-Clause" ]
1
2019-01-27T00:59:51.000Z
2019-01-27T00:59:51.000Z
libraries/InCircuitTester/CRamCheck.cpp
Judder/arduino-mega-ict-atom
409453565a6f535d2e16ac9f86c6f43027b10786
[ "BSD-2-Clause" ]
null
null
null
libraries/InCircuitTester/CRamCheck.cpp
Judder/arduino-mega-ict-atom
409453565a6f535d2e16ac9f86c6f43027b10786
[ "BSD-2-Clause" ]
null
null
null
// // Copyright (c) 2015, Paul R. Swan // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of condit...
25.282316
121
0.531332
[ "object" ]
e000511f1421a75e4b01442d4b937964383fb568
684
hh
C++
DbService/inc/DbIdList.hh
NamithaChitrazee/Offline-1
bcb6c74954f95dd48433d79a69d3ef3bdb99022e
[ "Apache-2.0" ]
null
null
null
DbService/inc/DbIdList.hh
NamithaChitrazee/Offline-1
bcb6c74954f95dd48433d79a69d3ef3bdb99022e
[ "Apache-2.0" ]
null
null
null
DbService/inc/DbIdList.hh
NamithaChitrazee/Offline-1
bcb6c74954f95dd48433d79a69d3ef3bdb99022e
[ "Apache-2.0" ]
null
null
null
#ifndef DbService_DbIdList_hh #define DbService_DbIdList_hh // // Read the connections.txt file, usually from cvmfs, // and hold the connections information. // connections are read from cvmfs in order to steer // running jobs in approximately real time. // As needed, create new DbId's with the appropriate // connecti...
22.8
64
0.741228
[ "vector" ]
e003e311c86a7066038279791470814aa577c8d2
9,298
cpp
C++
Cpp/Cpp14/FileIO/FileIO.cpp
ernestyalumni/CompPhys
1f5d7559146a14a21182653b77fd35e6d6829855
[ "Apache-2.0" ]
70
2017-07-24T04:09:27.000Z
2021-12-24T16:00:41.000Z
Cpp/Cpp14/FileIO/FileIO.cpp
ernestyalumni/CompPhys
1f5d7559146a14a21182653b77fd35e6d6829855
[ "Apache-2.0" ]
3
2018-01-16T22:34:47.000Z
2019-01-29T22:37:10.000Z
Cpp/Cpp14/FileIO/FileIO.cpp
ernestyalumni/CompPhys
1f5d7559146a14a21182653b77fd35e6d6829855
[ "Apache-2.0" ]
40
2017-01-24T19:18:42.000Z
2021-03-01T07:13:35.000Z
/** * @file : FileIO.cpp * @brief : File IO, with Python NumPy, in C++14, * @details : class CSVRow * * * @author : Ernest Yeung <ernestyalumni@gmail.com> * @date : 20171014 * @ref : * * https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ernestsaveschristmas%2bpaypal%40gmail%2ecom&l...
27.187135
213
0.660465
[ "object", "vector" ]
e00594db0d6b8cb46bf3baa93b4b13172f979f6f
3,405
cpp
C++
io_handler.cpp
bilyanhadzhi/susi
92ae0e30fe67b544f75fc3581b292ea87f4f078c
[ "MIT" ]
1
2021-03-01T14:14:56.000Z
2021-03-01T14:14:56.000Z
io_handler.cpp
bilyanhadzhi/susi
92ae0e30fe67b544f75fc3581b292ea87f4f078c
[ "MIT" ]
null
null
null
io_handler.cpp
bilyanhadzhi/susi
92ae0e30fe67b544f75fc3581b292ea87f4f078c
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> #include "io_handler.hpp" #include "lib/string.hpp" #include "constants.hpp" void IOHandler::set_command(String command) { this->command = command; } void IOHandler::input_command() { std::cin >> this->command; } void IOHandler::input_args(std::istream& i_stream) { ...
21.967742
85
0.613803
[ "vector" ]
e0066834564c26b0729c53eb47b0554cea536b0a
6,488
cpp
C++
test/libp2p/security/plaintext_adaptor_test.cpp
Alexey-N-Chernyshov/cpp-libp2p
8b52253f9658560a4b1311b3ba327f02284a42a6
[ "Apache-2.0", "MIT" ]
null
null
null
test/libp2p/security/plaintext_adaptor_test.cpp
Alexey-N-Chernyshov/cpp-libp2p
8b52253f9658560a4b1311b3ba327f02284a42a6
[ "Apache-2.0", "MIT" ]
null
null
null
test/libp2p/security/plaintext_adaptor_test.cpp
Alexey-N-Chernyshov/cpp-libp2p
8b52253f9658560a4b1311b3ba327f02284a42a6
[ "Apache-2.0", "MIT" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "libp2p/security/plaintext/plaintext.hpp" #include <gtest/gtest.h> #include <boost/di.hpp> #include <boost/di/extension/providers/mocks_provider.hpp> #include <libp2p/common/hexutil.hpp> #include <libp2p/peer...
38.850299
80
0.731967
[ "vector" ]
e006d88c51bac139e86c2bdb2ceeff30f1227251
775
cpp
C++
math/Divisors.cpp
yuruhi/library
fecbd92ec6c6997d50bf954c472ac4bfeff74de5
[ "Apache-2.0" ]
null
null
null
math/Divisors.cpp
yuruhi/library
fecbd92ec6c6997d50bf954c472ac4bfeff74de5
[ "Apache-2.0" ]
6
2021-01-05T07:39:05.000Z
2021-01-05T07:44:31.000Z
math/Divisors.cpp
yuruhi/library
fecbd92ec6c6997d50bf954c472ac4bfeff74de5
[ "Apache-2.0" ]
null
null
null
#pragma once #include <vector> #include <cmath> #include <cassert> template <class T> std::vector<T> Divisors(T n) { assert(0 < n); std::vector<T> result; T i = 1; for (; i * i < n; ++i) { if (n % i == 0) result.push_back(i); } bool flag = i * i == n; if (flag) result.push_back(i); for (i = (int)result.size(...
20.945946
55
0.52
[ "vector" ]
e008c65668133579ca7f775aaa49f50be1338992
3,474
cpp
C++
data-structures/reverse_polish_notation/expressionparser.cpp
stoimenoff/OOP-Cpp
5bd60f2ad1bd8c433c786bb9716853946b37b875
[ "MIT" ]
3
2017-01-07T23:37:14.000Z
2017-02-23T06:00:56.000Z
data-structures/reverse_polish_notation/expressionparser.cpp
stoimenoff/OOP-Cpp
5bd60f2ad1bd8c433c786bb9716853946b37b875
[ "MIT" ]
null
null
null
data-structures/reverse_polish_notation/expressionparser.cpp
stoimenoff/OOP-Cpp
5bd60f2ad1bd8c433c786bb9716853946b37b875
[ "MIT" ]
null
null
null
#include "expressionparser.h" ExpressionParser::ExpressionParser(const OperatorRegistry& operatorsRegistry) : operatorsRegistry(operatorsRegistry) {} ExpressionParser::ExpressionParser() : operatorsRegistry(OperatorRegistry::Default()) {}; bool ExpressionParser::shouldPopOperatorsStack(const stack<string>& ...
25.173913
107
0.715314
[ "vector" ]
e0138de624a7794332b28d6749b22db1b165a5c9
6,960
hpp
C++
src/relative_pose/relative_pose_estimator.hpp
youruncleda/relative_pose
cb613f210a812e03754fbfc9c2e93d1f6fe4a265
[ "BSD-3-Clause" ]
21
2020-07-08T17:58:17.000Z
2022-02-28T03:58:37.000Z
src/relative_pose/relative_pose_estimator.hpp
taogashi/relative_pose
cb613f210a812e03754fbfc9c2e93d1f6fe4a265
[ "BSD-3-Clause" ]
null
null
null
src/relative_pose/relative_pose_estimator.hpp
taogashi/relative_pose
cb613f210a812e03754fbfc9c2e93d1f6fe4a265
[ "BSD-3-Clause" ]
5
2020-07-24T01:26:28.000Z
2020-10-13T13:32:48.000Z
#ifndef RELATIVE_POSE_ESTIMATOR_HPP #define RELATIVE_POSE_ESTIMATOR_HPP #include <opencv2/opencv.hpp> #include "precomp.hpp" namespace cv { /* class RelativePoseEstimatorCallback: public PointSetRegistrator::Callback { protected: public: void computeError( InputArray _m1, InputArray _m2, InputArray _model, ...
36.439791
82
0.474569
[ "model" ]
e0281314d85c9cf43b4df3a8949a8464321c26e4
103,991
cpp
C++
binding/WebAssembly/module/src/wULIS.cpp
Praxinos/ULIS3
98eb48293fdd3b45fcfe4b659d471572100d1623
[ "RSA-MD" ]
null
null
null
binding/WebAssembly/module/src/wULIS.cpp
Praxinos/ULIS3
98eb48293fdd3b45fcfe4b659d471572100d1623
[ "RSA-MD" ]
null
null
null
binding/WebAssembly/module/src/wULIS.cpp
Praxinos/ULIS3
98eb48293fdd3b45fcfe4b659d471572100d1623
[ "RSA-MD" ]
null
null
null
// IDDN.FR.001.250001.005.S.P.2019.000.00000 // ULIS is subject to copyright laws and is the legal and intellectual property of Praxinos,Inc /* * ULIS *__________________ * @file wULIS.cpp * @author Clement Berthaud * @brief Binding of ULIS for JavaScript / WebAssembly. * @license Please ref...
60.24971
308
0.613149
[ "vector", "model" ]
e03b625b560d1e649577bb93c4d32915abd17b93
5,800
cpp
C++
main.cpp
rasidin/LEShaderConverter
84f37d9207dc1b616331bfbe0bb542e37250b588
[ "MIT" ]
null
null
null
main.cpp
rasidin/LEShaderConverter
84f37d9207dc1b616331bfbe0bb542e37250b588
[ "MIT" ]
null
null
null
main.cpp
rasidin/LEShaderConverter
84f37d9207dc1b616331bfbe0bb542e37250b588
[ "MIT" ]
null
null
null
/********************************************************************* Copyright (c) 2020 LIMITGAME 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 limitatio...
42.335766
128
0.662759
[ "vector" ]
e03d4bb6dbf47338c3299ed1c87b5f4e7f5669c4
3,695
cpp
C++
src/PngWriter.cpp
ignotuscaligo/ray-tracer
ac5d393975bd1bf4c7a715c8438173e4e8d0bf7e
[ "MIT" ]
null
null
null
src/PngWriter.cpp
ignotuscaligo/ray-tracer
ac5d393975bd1bf4c7a715c8438173e4e8d0bf7e
[ "MIT" ]
null
null
null
src/PngWriter.cpp
ignotuscaligo/ray-tracer
ac5d393975bd1bf4c7a715c8438173e4e8d0bf7e
[ "MIT" ]
null
null
null
#include "PngWriter.h" #include <iostream> PngWriter::PngWriter(const std::string& filename) { m_file = fopen(filename.c_str(), "wb"); if (m_file == nullptr) { std::cout << "Could not open file " << filename << " for writing" << std::endl; return; } m_structPtr = png_create_write_stru...
23.83871
96
0.614344
[ "vector" ]
e03e3d3ef56a04508db7299d92fd862b63fa83ba
5,816
cpp
C++
packetcapturer.cpp
jburnitz/Network-Music
5faf8af8b35f2ff6c158f7c41f12c3f1d506c9dc
[ "Apache-2.0" ]
2
2015-04-06T05:39:43.000Z
2015-08-29T20:22:28.000Z
packetcapturer.cpp
jburnitz/Network-Music
5faf8af8b35f2ff6c158f7c41f12c3f1d506c9dc
[ "Apache-2.0" ]
null
null
null
packetcapturer.cpp
jburnitz/Network-Music
5faf8af8b35f2ff6c158f7c41f12c3f1d506c9dc
[ "Apache-2.0" ]
null
null
null
#include "packetcapturer.h" #include <pcap.h> #include <qdebug.h> #include <QApplication> #define ETHERTYPE_EAP (0x888e) /* eap authentication */ #define ETHER_ADDR_LEN 6 #define ETHERTYPE_IP (0x0800) namespace packetprocess { u_short recentFreq = 100; QObject* parent; #define TYPE_TCP (6) /* Ethernet header */...
28.509804
137
0.649243
[ "object" ]
e042eda15c525e3e31e198f70af9d7211b021c26
1,806
cpp
C++
Contests/USACO Solutions/2014-15/Feb 2015/Feb 2015 Gold/15 Feb G1.cpp
wanglawrence9990/USACO
45c9bce4b3ac77d2a4ba2e646ff45a02563b59d2
[ "CC0-1.0" ]
null
null
null
Contests/USACO Solutions/2014-15/Feb 2015/Feb 2015 Gold/15 Feb G1.cpp
wanglawrence9990/USACO
45c9bce4b3ac77d2a4ba2e646ff45a02563b59d2
[ "CC0-1.0" ]
null
null
null
Contests/USACO Solutions/2014-15/Feb 2015/Feb 2015 Gold/15 Feb G1.cpp
wanglawrence9990/USACO
45c9bce4b3ac77d2a4ba2e646ff45a02563b59d2
[ "CC0-1.0" ]
null
null
null
// #include<iostream> #include<fstream> #include<vector> #include<set> #include<map> using namespace std; //using namespace __gnu_pbds; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> pi; //typedef tree<int,null_type,less<int>,rb_tree_tag,tree_order_statistics_node_update> ordered_set; #define ...
20.066667
98
0.565891
[ "vector" ]
e04442c8f4425a92b0747a968a1be967c7877d25
1,696
hh
C++
src/mesh_element/Geometry.hh
jhchang-lanl/Draco
b8e3bcd38ab739615c1df506268d70bf99929efa
[ "BSD-3-Clause-Open-MPI" ]
43
2017-02-17T23:47:36.000Z
2022-03-14T07:53:43.000Z
src/mesh_element/Geometry.hh
jhchang-lanl/Draco
b8e3bcd38ab739615c1df506268d70bf99929efa
[ "BSD-3-Clause-Open-MPI" ]
848
2017-01-16T01:03:38.000Z
2022-01-11T18:56:50.000Z
src/mesh_element/Geometry.hh
jhchang-lanl/Draco
b8e3bcd38ab739615c1df506268d70bf99929efa
[ "BSD-3-Clause-Open-MPI" ]
31
2017-03-02T19:51:15.000Z
2021-09-08T02:33:34.000Z
//--------------------------------------------*-C++-*---------------------------------------------// /*! * \file mesh_element/Geometry.hh * \author Kent Budge * \date Tue Dec 21 14:28:56 2004 * \brief Define an enumeration to specify supported geometric types. * \note Copyright (C) 2010-2021 Triad National ...
43.487179
100
0.567807
[ "geometry" ]
e04702ecf6b0acb5d5a2a79a197c1bfc2e6346c0
23,562
cpp
C++
src/cipher.cpp
jaihyunp/HE_clustering
b4e04a1468428805e35c0c55a8e590b00baafa03
[ "MIT" ]
null
null
null
src/cipher.cpp
jaihyunp/HE_clustering
b4e04a1468428805e35c0c55a8e590b00baafa03
[ "MIT" ]
null
null
null
src/cipher.cpp
jaihyunp/HE_clustering
b4e04a1468428805e35c0c55a8e590b00baafa03
[ "MIT" ]
null
null
null
#include "cipher.h" void left_rotate_sum(Ciphertext & res, Ciphertext &val, long len_of_seg, long log_num_of_iter, Scheme &scheme) { Ciphertext tmp, _res; _res.copy(val); for(long i = 0; i < log_num_of_iter; i ++){ scheme.leftRotateFast(tmp, _res, (1 << i) * len_of_seg); scheme.addAndEqua...
30.091954
138
0.527926
[ "vector" ]
e04c9ab5bb856e6c83c0b033bd4e11f3b78dd211
347
cpp
C++
Easy/Maximum Subarray/cpp/LeetCode/LeetCode/LeetCode.cpp
milliorn/Leetcode
ac521eec9ae21bb6f6c8fa660a025b13c267e907
[ "Unlicense" ]
null
null
null
Easy/Maximum Subarray/cpp/LeetCode/LeetCode/LeetCode.cpp
milliorn/Leetcode
ac521eec9ae21bb6f6c8fa660a025b13c267e907
[ "Unlicense" ]
1
2022-02-02T22:43:05.000Z
2022-02-02T22:43:05.000Z
Easy/Maximum Subarray/cpp/LeetCode/LeetCode/LeetCode.cpp
milliorn/Leetcode
ac521eec9ae21bb6f6c8fa660a025b13c267e907
[ "Unlicense" ]
null
null
null
#include <iostream> #include <vector> class Solution { public: int maxSubArray(std::vector<int>& nums) { int max = nums[0], min = 0, sum = 0; for (int num : nums) { sum += num; max = std::max(max, sum - min); min = std::min(min, sum); } return max; } }; int main() { std::c...
15.086957
43
0.524496
[ "vector" ]
e0504e1d1499ebe45824ba73569090116a0cfe95
2,064
cpp
C++
examples/Tirinis/stage1.cpp
maru-0/Tirinis
ecbdea0798311506582581af7d1034fe94259167
[ "MIT" ]
null
null
null
examples/Tirinis/stage1.cpp
maru-0/Tirinis
ecbdea0798311506582581af7d1034fe94259167
[ "MIT" ]
null
null
null
examples/Tirinis/stage1.cpp
maru-0/Tirinis
ecbdea0798311506582581af7d1034fe94259167
[ "MIT" ]
null
null
null
#include "stage1.hpp" #include "enemybullet.hpp" void Stage1::update(std::vector<Enemy> &enemies){ switch (currentState) { case Wave01: if(waveTimer.elapsed() > currentWait) { currentState = Wave01; waveDone = false; waveTimer.restart(); iterations...
33.290323
87
0.465601
[ "vector" ]
e05585c66ae271ea8694312bfdd236a34bd90958
10,671
cpp
C++
src/prod/src/query/GetReplicaResourceListQuerySpecification.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
1
2020-06-15T04:33:36.000Z
2020-06-15T04:33:36.000Z
src/prod/src/query/GetReplicaResourceListQuerySpecification.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
null
null
null
src/prod/src/query/GetReplicaResourceListQuerySpecification.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
null
null
null
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ #include "stdafx.h" using namespace std; using namespace Query; using namespace Common; using namespace ServiceModel; using namesp...
47.216814
211
0.639022
[ "vector" ]