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
62672e14d458749c6e1b9a35909f974ff437ee79
4,899
cc
C++
src/runtime/registry.cc
TheTimmy/decord
67bfd14e4ae50b2751e7b92b73c6d73df35cbdaf
[ "Apache-2.0" ]
762
2020-01-16T02:44:50.000Z
2022-03-30T10:03:36.000Z
src/runtime/registry.cc
TheTimmy/decord
67bfd14e4ae50b2751e7b92b73c6d73df35cbdaf
[ "Apache-2.0" ]
161
2020-01-20T07:47:38.000Z
2022-03-11T15:19:10.000Z
src/runtime/registry.cc
TheTimmy/decord
67bfd14e4ae50b2751e7b92b73c6d73df35cbdaf
[ "Apache-2.0" ]
77
2020-01-23T17:47:20.000Z
2022-03-28T10:12:19.000Z
/*! * Copyright (c) 2019 by Contributors if not otherwise specified * \file registry.cc * \brief The global registry of packed function. */ #include <dmlc/logging.h> #include <dmlc/thread_local.h> #include <decord/runtime/registry.h> #include <unordered_map> #include <mutex> #include <memory> #include <array> #inc...
29.690909
88
0.676669
[ "vector" ]
627224039141977553250e66d6c48d4795d7511b
8,552
cpp
C++
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/boost/1.69.0-r0/boost_1_69_0/libs/locale/src/icu/boundary.cpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/boost/1.69.0-r0/boost_1_69_0/libs/locale/src/icu/boundary.cpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/boost/1.69.0-r0/boost_1_69_0/libs/locale/src/icu/boundary.cpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh) // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #define BOOST_LOCALE_SOURCE #include <unicode/uversion.h> #include <boost/locale/boundary.hpp> #inc...
32.150376
80
0.536483
[ "vector" ]
6276be0946b9c991d81f393ed4851dd83b865df8
10,508
cpp
C++
src/HMPdetector.cpp
Yeshasvitvs/HMP
cdaa4cf2a9eaa0ebe4708d965b110b44698ef666
[ "MIT" ]
null
null
null
src/HMPdetector.cpp
Yeshasvitvs/HMP
cdaa4cf2a9eaa0ebe4708d965b110b44698ef666
[ "MIT" ]
null
null
null
src/HMPdetector.cpp
Yeshasvitvs/HMP
cdaa4cf2a9eaa0ebe4708d965b110b44698ef666
[ "MIT" ]
null
null
null
//===============================================================================// // Name : HMPdetector.cpp // Author(s) : Barbara Bruno // Affiliation : University of Genova, Italy - dept. DIBRIS // Version : 1.1 // Description : Human Motion Primitives and Fall detection system //================================...
31.842424
106
0.644271
[ "vector", "model" ]
627aa3a0ed1acca2b791208da4873c5b01a24e4d
2,001
cpp
C++
solutions/LeetCode/C++/890.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
solutions/LeetCode/C++/890.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
solutions/LeetCode/C++/890.cpp
timxor/leetcode-journal
5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 4 ms submission #include <iostresam> #include <vector> class Solution { public: string toPattern(string word) { map<char,char> M; int curr = 97; // a = 97 for ( char& w : w...
30.784615
98
0.563218
[ "vector" ]
627ac31f476e82994771f6a35229c7f624d0483b
1,051
hpp
C++
src/main/cpp/lemon/log/sink.hpp
lemonkit/lemon
ad34410586659fc650898b60d7e168797a3d9e5b
[ "MIT" ]
1
2018-01-12T05:13:58.000Z
2018-01-12T05:13:58.000Z
src/main/cpp/lemon/log/sink.hpp
lemonkit/lemon
ad34410586659fc650898b60d7e168797a3d9e5b
[ "MIT" ]
null
null
null
src/main/cpp/lemon/log/sink.hpp
lemonkit/lemon
ad34410586659fc650898b60d7e168797a3d9e5b
[ "MIT" ]
null
null
null
#ifndef LEMON_LOG_SINK_HPP #define LEMON_LOG_SINK_HPP #include <vector> #include <string> #include <unordered_set> #include <lemon/nocopy.hpp> namespace lemon{ namespace log{ /** * the predeclared of message structure */ struct message; class sink { public: sink():_apply_all(true){} sink(const std::...
15.924242
67
0.669838
[ "vector" ]
627cfe1abe1b0b2b170bc3143aab134f34ace777
1,089
cpp
C++
04. Arrays/Subarrays_with_k_different_integers.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
225
2021-10-01T03:09:01.000Z
2022-03-11T11:32:49.000Z
04. Arrays/Subarrays_with_k_different_integers.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
252
2021-10-01T03:45:20.000Z
2021-12-07T18:32:46.000Z
04. Arrays/Subarrays_with_k_different_integers.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
911
2021-10-01T02:55:19.000Z
2022-02-06T09:08:37.000Z
/* Problem : Given an integer array and an integer k, return the number of subarrays of given arrays having exactly k different integers. Example: Input: n = 5 ,arr = [1,3,1,3,4] , k = 2 Output: 7 Explanation: subarrays with exactly 2 different integers are: [1,3] , [3,1] , [1,3] , [3,4], [1,3,1], [3,1,3] , [1,3,1,...
17.015625
134
0.536272
[ "vector" ]
627e902072b539809c451a3007a0d37212cea677
2,303
cc
C++
popravek_pozicije_aero_gel_plosc/distribution_cerphotons/script_distrib_photons.cc
rokgm/Shift-of-Aerogel-panels-ArichBelle2
7258328ba2e43ed1898a96375ee562e32a5f9ea0
[ "Apache-2.0" ]
1
2020-12-02T16:59:50.000Z
2020-12-02T16:59:50.000Z
popravek_pozicije_aero_gel_plosc/distribution_cerphotons/script_distrib_photons.cc
rokgm/Shift-of-Aerogel-panels-ArichBelle2
7258328ba2e43ed1898a96375ee562e32a5f9ea0
[ "Apache-2.0" ]
null
null
null
popravek_pozicije_aero_gel_plosc/distribution_cerphotons/script_distrib_photons.cc
rokgm/Shift-of-Aerogel-panels-ArichBelle2
7258328ba2e43ed1898a96375ee562e32a5f9ea0
[ "Apache-2.0" ]
null
null
null
struct TrackHit { Int_t PDG; Float_t x; Float_t y; Float_t z; Float_t p; Float_t theta; Float_t phi; }; void script_distrib_photons() { TChain *trx = new TChain("arich"); trx->Add("/afs/f9.ijs.si/data/belle/data/arich/arich_mumu_proc11*.root"); TChain *trs = ne...
27.746988
134
0.521928
[ "vector" ]
62845227f501d143a0f7036740db1954bcd9e665
3,437
cpp
C++
PixelVFO/hotspot.cpp
rzzzwilson/KiCad_Projects
12066e85b066484b9db3202b1ee599748992091f
[ "MIT" ]
null
null
null
PixelVFO/hotspot.cpp
rzzzwilson/KiCad_Projects
12066e85b066484b9db3202b1ee599748992091f
[ "MIT" ]
13
2017-07-18T03:29:05.000Z
2017-11-08T06:32:20.000Z
PixelVFO/hotspot.cpp
rzzzwilson/KiCad_Projects
12066e85b066484b9db3202b1ee599748992091f
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // A "hotspot" system for PixelVFO. // // The idea is to define rectangular extents on the screen with associated // handler functions and arguments. Given a touchscreen touch event with // associated (x, y) coordinates, call the appropri...
32.121495
82
0.491417
[ "3d" ]
628d72eda6c6f537fc54f0bbb1d23ac791a86cdf
1,133
cpp
C++
src/warping_test.cpp
fritzo/kazoo
7281fe382b98ec81a0e223bfc76c49749543afdb
[ "MIT" ]
3
2015-04-29T11:38:29.000Z
2018-08-31T01:32:13.000Z
src/warping_test.cpp
fritzo/kazoo
7281fe382b98ec81a0e223bfc76c49749543afdb
[ "MIT" ]
null
null
null
src/warping_test.cpp
fritzo/kazoo
7281fe382b98ec81a0e223bfc76c49749543afdb
[ "MIT" ]
null
null
null
#include "splines.h" class TestWarpFwd : public FunctionAndDeriv { public: virtual float value (float t_large) const { float t_small = 0.5f * (1 - cos(M_PI * t_large)); return t_small; } virtual float deriv (float t_large) const { float t_small = M_PI * 0.5f * sin(M_PI * t_large); return t_s...
21.788462
75
0.64872
[ "object", "vector" ]
628e00c919e1349edd55ad24c7d6afb9f15229b3
34,080
cpp
C++
src/prod/src/Reliability/LoadBalancing/PLBScheduler.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
1
2018-06-28T02:13:54.000Z
2018-06-28T02:13:54.000Z
src/prod/src/Reliability/LoadBalancing/PLBScheduler.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
null
null
null
src/prod/src/Reliability/LoadBalancing/PLBScheduler.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 "...
41.109771
233
0.685945
[ "vector" ]
62957126bd6877698270b4e3b451d893e28b5d87
5,741
cpp
C++
services/game_console/server/checksystem.cpp
vient/proctf-2019
b7b954fff2396a7a7a83c90ec55d75bce4a3485c
[ "MIT" ]
2
2020-04-22T19:36:16.000Z
2020-09-16T07:45:54.000Z
services/game_console/server/checksystem.cpp
vient/proctf-2019
b7b954fff2396a7a7a83c90ec55d75bce4a3485c
[ "MIT" ]
3
2021-03-31T19:21:51.000Z
2021-06-08T20:31:48.000Z
services/game_console/server/checksystem.cpp
leetchicken/proctf-2019
b7b954fff2396a7a7a83c90ec55d75bce4a3485c
[ "MIT" ]
3
2019-10-26T00:25:03.000Z
2019-11-23T21:10:10.000Z
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <thread> #include <mutex> #include <map> #include "checksystem.h" #include "network.h" #include "../common.h" #include "log.h" struct HwConsole { HwConsole() = default; std::mutex mutex; Socket* so...
25.86036
109
0.585438
[ "vector" ]
6296d28da7ae75981f63485ec006fd5e8f115434
10,067
cpp
C++
engine/src/render/utils/ResourceCache.cpp
Arthapz/StormKit
7c8dead874734d04b97776287b25bf2ebe9be617
[ "MIT" ]
17
2019-02-12T14:40:06.000Z
2021-12-21T12:54:17.000Z
engine/src/render/utils/ResourceCache.cpp
Arthapz/StormKit
7c8dead874734d04b97776287b25bf2ebe9be617
[ "MIT" ]
null
null
null
engine/src/render/utils/ResourceCache.cpp
Arthapz/StormKit
7c8dead874734d04b97776287b25bf2ebe9be617
[ "MIT" ]
2
2019-02-21T10:07:42.000Z
2020-05-08T19:49:10.000Z
// Copryright (C) 2021 Arthur LAURENT <arthur.laurent4@gmail.com> // This file is subject to the license terms in the LICENSE file // found in the top-level of this distribution /////////// - StormKit::engine - /////////// #include "../../Log.hpp" #include <storm/engine/render/utils/ResourceCache.hpp> /////////// - S...
42.65678
99
0.492997
[ "render" ]
62a16f624b9c556eeeaf86aef4848f346816d7b3
8,394
cc
C++
tools/RMK/SerializationMap.cc
unterweg/peanoclaw
2d8b45727e3b26d824f8afc6a8772736176083af
[ "BSD-3-Clause" ]
1
2015-07-14T10:05:52.000Z
2015-07-14T10:05:52.000Z
tools/RMK/SerializationMap.cc
unterweg/peanoclaw
2d8b45727e3b26d824f8afc6a8772736176083af
[ "BSD-3-Clause" ]
null
null
null
tools/RMK/SerializationMap.cc
unterweg/peanoclaw
2d8b45727e3b26d824f8afc6a8772736176083af
[ "BSD-3-Clause" ]
1
2019-12-03T15:58:53.000Z
2019-12-03T15:58:53.000Z
#ifdef Parallel #include <mpi.h> #endif #include "tarch/Assertions.h" #include "SerializationMap.h" peano::parallel::SerializationMap& peano::parallel::SerializationMap::getInstance() { static SerializationMap singleton; return singleton; } peano::parallel::SerializationMap::~SerializationMap() { } peano:...
47.965714
222
0.705147
[ "object", "vector" ]
62b01885c2dcd9315215c5f89f563a6a3e6f9788
2,230
cpp
C++
source/test/TestIssues.cpp
dougpuob/namelint
6a144cdc4b3935994059961fe712525ce30ff269
[ "MIT" ]
30
2020-08-01T07:29:23.000Z
2022-03-30T13:21:43.000Z
source/test/TestIssues.cpp
dougpuob/namelint
6a144cdc4b3935994059961fe712525ce30ff269
[ "MIT" ]
48
2019-01-02T18:19:41.000Z
2020-04-26T02:53:23.000Z
source/test/TestIssues.cpp
dougpuob/namelint
6a144cdc4b3935994059961fe712525ce30ff269
[ "MIT" ]
5
2019-08-30T08:41:17.000Z
2020-05-19T01:17:15.000Z
#include <string> #include <vector> #include <gtest/gtest.h> #include "../Common.h" #include "../TraceMemo.h" // clang-format off namespace TestIssue { TEST(Issue55, FirstLineIsAnInvalidPathOnLinux) { // https://github.com/dougpuob/cppnamelint/issues/55 const std::string SourceCode = "\ // ...
49.555556
85
0.270404
[ "vector" ]
62b81e9dfbfece5f8aaa3dfb64a284cf9d061457
1,862
cpp
C++
src/platform/qt/NativePlatform.cpp
Tencent/libpag
aec151f3fa8d651a6671fc4a47af5edaec00d694
[ "BSL-1.0", "CC0-1.0", "MIT" ]
1,546
2022-01-14T02:09:47.000Z
2022-03-31T10:38:42.000Z
src/platform/qt/NativePlatform.cpp
Tencent/libpag
aec151f3fa8d651a6671fc4a47af5edaec00d694
[ "BSL-1.0", "CC0-1.0", "MIT" ]
86
2022-01-14T04:50:28.000Z
2022-03-31T01:54:31.000Z
src/platform/qt/NativePlatform.cpp
Tencent/libpag
aec151f3fa8d651a6671fc4a47af5edaec00d694
[ "BSL-1.0", "CC0-1.0", "MIT" ]
207
2022-01-14T02:09:52.000Z
2022-03-31T08:34:49.000Z
///////////////////////////////////////////////////////////////////////////////////////////////// // // Tencent is pleased to support the open source community by making libpag available. // // Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the Apache License, Versio...
39.617021
97
0.585929
[ "vector" ]
62bc3e0209811cff0b05f84b016b18d1b5cf0a10
12,550
cpp
C++
Ex1/Shape.cpp
MaximV88/Battleship
dbd389814943ae1fb7276623987c773405c971be
[ "MIT" ]
null
null
null
Ex1/Shape.cpp
MaximV88/Battleship
dbd389814943ae1fb7276623987c773405c971be
[ "MIT" ]
null
null
null
Ex1/Shape.cpp
MaximV88/Battleship
dbd389814943ae1fb7276623987c773405c971be
[ "MIT" ]
null
null
null
/************************************************************ * Student Name: Maxim Vainshtein * * Exercise Name: Ex1 * * File description: Implementation of Shape Class * ***********************************************************/ #include ...
49.215686
130
0.367251
[ "object", "shape", "vector" ]
4985e2e26940f5a2f4d165b730750369b5e0b380
1,409
cpp
C++
android-31/android/app/AuthenticationRequiredException.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/app/AuthenticationRequiredException.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/app/AuthenticationRequiredException.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "./PendingIntent.hpp" #include "../os/Parcel.hpp" #include "../../JThrowable.hpp" #include "./AuthenticationRequiredException.hpp" namespace android::app { // Fields JObject AuthenticationRequiredException::CREATOR() { return getStaticObjectField( "android.app.AuthenticationRequiredException", "CRE...
25.160714
121
0.735273
[ "object" ]
498660c882c1b69319e5768d8fde2c94ce3acba9
4,140
cpp
C++
src/onnx/verify_onnx.cpp
aaronenyeshi/AMDMIGraphX
87528938188f0247f3dfcc6ab9b83c22187109fd
[ "MIT" ]
null
null
null
src/onnx/verify_onnx.cpp
aaronenyeshi/AMDMIGraphX
87528938188f0247f3dfcc6ab9b83c22187109fd
[ "MIT" ]
null
null
null
src/onnx/verify_onnx.cpp
aaronenyeshi/AMDMIGraphX
87528938188f0247f3dfcc6ab9b83c22187109fd
[ "MIT" ]
null
null
null
#include <migraphx/onnx.hpp> #include <migraphx/cpu/target.hpp> #include <migraphx/gpu/target.hpp> #include <migraphx/gpu/hip.hpp> #include <migraphx/generate.hpp> #include <migraphx/verify_args.hpp> #include <migraphx/instruction.hpp> template <class T> auto get_hash(const T& x) { return std::hash<T>{}(x); } t...
27.972973
95
0.537681
[ "vector" ]
498d1aad6ce5bdb46efbb8f6df51826ab118ee97
1,049
cpp
C++
tools/vcflib/src/dumpContigsFromHeader.cpp
benranco/test
7cf9740108844da30dcc506e733015fd5dd76a05
[ "MIT" ]
1
2019-09-04T08:07:46.000Z
2019-09-04T08:07:46.000Z
tools/vcflib/src/dumpContigsFromHeader.cpp
benranco/test
7cf9740108844da30dcc506e733015fd5dd76a05
[ "MIT" ]
2
2018-10-08T23:44:16.000Z
2019-05-10T08:04:09.000Z
tools/vcflib/src/dumpContigsFromHeader.cpp
benranco/test
7cf9740108844da30dcc506e733015fd5dd76a05
[ "MIT" ]
3
2017-12-19T09:10:28.000Z
2018-10-08T17:07:44.000Z
#include "Variant.h" #include "split.h" #include "var.hpp" #include <string> #include <iostream> #include <stdlib.h> #include <stdio.h> #include <getopt.h> using namespace vcflib; int main(int argc, char** argv) { string filename = argv[1]; VariantCallFile variantFile; variantFile.open(filename); vector<...
21.854167
88
0.560534
[ "vector" ]
498d32fec4b9c3cb8fff4010335cb40bf36189d3
932
cpp
C++
CPP_Classes/Plot_OpenCV.cpp
bobdavies2000/OpenCVB
1d339a94643a97e2d34f82dc7776677a8566d71d
[ "MIT" ]
69
2019-07-17T21:20:37.000Z
2022-03-23T08:38:03.000Z
CPP_Classes/Plot_OpenCV.cpp
bobdavies2000/OpenCVB
1d339a94643a97e2d34f82dc7776677a8566d71d
[ "MIT" ]
5
2021-02-05T05:48:50.000Z
2022-03-12T01:43:15.000Z
CPP_Classes/Plot_OpenCV.cpp
bobdavies2000/OpenCVB
1d339a94643a97e2d34f82dc7776677a8566d71d
[ "MIT" ]
6
2019-12-24T05:36:52.000Z
2021-02-19T15:55:13.000Z
#include <cstdlib> #include <cstdio> #include <iostream> #include <algorithm> #include <opencv2/core.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/plot.hpp> using namespace std; using namespace cv; // https://github.com/opencv/opencv_contrib/blob/master/modules/plot/samples/plot...
30.064516
90
0.73176
[ "render" ]
49948f5900e981cbc95ecb215cec020dd3467ba3
717
cpp
C++
plugins/community/repos/Valley/src/DynamicLight.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
233
2018-07-02T16:49:36.000Z
2022-02-27T21:45:39.000Z
plugins/community/repos/Valley/src/DynamicLight.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
24
2018-07-09T11:32:15.000Z
2022-01-07T01:45:43.000Z
plugins/community/repos/Valley/src/DynamicLight.cpp
guillaume-plantevin/VeeSeeVSTRack
76fafc8e721613669d6f5ae82a0f58ce923a91e1
[ "Zlib", "BSD-3-Clause" ]
24
2018-07-14T21:55:30.000Z
2021-05-04T04:20:34.000Z
#include "ValleyWidgets.hpp" void DynamicModuleLightWidget::step() { if(visibility != nullptr) { if(*visibility) { visible = true; } else { visible = false; } if(viewMode == ACTIVE_LOW_VIEW) { visible = !visible; } } else {...
23.9
71
0.532775
[ "vector" ]
4994da8ebbcfbd44d76745bcf531bdce617f0ba3
2,694
cpp
C++
src/operations.cpp
itsMaru/nfsu2-magazine-worker
871cf0ca007d541a5d424a009210f7e69e058821
[ "WTFPL" ]
1
2020-08-12T15:49:08.000Z
2020-08-12T15:49:08.000Z
src/operations.cpp
itsMaru/nfsu2-magazine-worker
871cf0ca007d541a5d424a009210f7e69e058821
[ "WTFPL" ]
null
null
null
src/operations.cpp
itsMaru/nfsu2-magazine-worker
871cf0ca007d541a5d424a009210f7e69e058821
[ "WTFPL" ]
null
null
null
#include <vector> #include <cstdint> #include <iostream> #include <algorithm> #include "../libs/lodepng/lodepng.h" #include "operations.h" #include "magazine.h" static constexpr auto MAGAZINE_EXPORT_NAME = "magazine"; std::uint32_t Operations::exportMagazineToPNG( const std::vector< std::string >& pathList, bool pr...
26.94
122
0.62732
[ "vector" ]
49950bb083765a0f810e9525b39c264c088e690b
1,236
hpp
C++
algorithms/p406/406.hpp
baishuai/leetcode_go
440ff08cf15e03ee64b3aa18370af1f75e958d18
[ "Apache-2.0" ]
9
2017-06-05T15:10:35.000Z
2021-06-08T03:10:46.000Z
algorithms/p406/406.hpp
baishuai/leetcode
440ff08cf15e03ee64b3aa18370af1f75e958d18
[ "Apache-2.0" ]
3
2017-07-12T14:08:39.000Z
2017-10-11T03:08:15.000Z
algorithms/p406/406.hpp
baishuai/leetcode_go
440ff08cf15e03ee64b3aa18370af1f75e958d18
[ "Apache-2.0" ]
1
2017-07-21T03:51:51.000Z
2017-07-21T03:51:51.000Z
// // Created by bai on 17-6-30. // #ifndef LEETCODE_406_HPP #define LEETCODE_406_HPP #include <iostream> #include <queue> #include <algorithm> #include <vector> #include <unordered_map> #include <unordered_set> #include <numeric> using namespace std; /** Suppose you have a random list of people standing in a queu...
22.888889
109
0.630259
[ "vector" ]
4996fd6a27a09248e5e5af9699bb8c326fc34368
2,914
cpp
C++
Core/Source/fbxSettings.cpp
EDFilms/GCAP
4d68809efe3528cb0b9a0039d3082512400c84da
[ "MIT" ]
17
2018-03-29T15:24:40.000Z
2022-01-10T05:01:09.000Z
Core/Source/fbxSettings.cpp
EDFilms/GCAP
4d68809efe3528cb0b9a0039d3082512400c84da
[ "MIT" ]
null
null
null
Core/Source/fbxSettings.cpp
EDFilms/GCAP
4d68809efe3528cb0b9a0039d3082512400c84da
[ "MIT" ]
3
2018-04-07T06:02:05.000Z
2019-01-21T00:37:18.000Z
// Copyright 2018 E*D Films. All Rights Reserved. /** * fbxSettings.cpp * * A collection of user settings and enumerations * * @author dotBunny <hello@dotbunny.com> * @version 1 * @since 1.0.0 */ #include "fbxSettings.h" namespace SceneTrackFbx { const char* sFbxFileVersionStr[] = { "FBX_53_MB55", ...
25.12069
118
0.605353
[ "mesh", "transform" ]
499c0c636128b6e70e8585f1b3cfd25aede6c421
733
cpp
C++
main.cpp
tzhenghao/KnightBoard
d11e70119e62f2bd37ea2c8847f41e991c381ac8
[ "MIT" ]
null
null
null
main.cpp
tzhenghao/KnightBoard
d11e70119e62f2bd37ea2c8847f41e991c381ac8
[ "MIT" ]
null
null
null
main.cpp
tzhenghao/KnightBoard
d11e70119e62f2bd37ea2c8847f41e991c381ac8
[ "MIT" ]
null
null
null
// Zheng Hao Tan // Date: December 25, 2015 #include <iostream> #include <vector> #include "KnightEngine.h" using namespace std; // Prototypes. int main(int argc, char *argv[]) { if (argc != 2) { cerr << "Invalid file arguments\n"; cerr << "Please run:\n"; cerr << "./knightboard <test case file>"; return...
17.452381
67
0.623465
[ "vector" ]
49a2f0a29967865fa3690f950cd719625859bcba
7,586
cpp
C++
CaWE/MapEditor/SurfaceInfo.cpp
dns/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
3
2020-04-11T13:00:31.000Z
2020-12-07T03:19:10.000Z
CaWE/MapEditor/SurfaceInfo.cpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
null
null
null
CaWE/MapEditor/SurfaceInfo.cpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
1
2020-04-11T13:00:04.000Z
2020-04-11T13:00:04.000Z
/* Cafu Engine, http://www.cafu.de/ Copyright (c) Carsten Fuchs and other contributors. This project is licensed under the terms of the MIT license. */ #include "SurfaceInfo.hpp" #include "TextParser/TextParser.hpp" #include "Math3D/Matrix3x3.hpp" #include "Math3D/Misc.hpp" #include <ostream> SurfaceInfoT::Surface...
27.485507
118
0.597416
[ "vector" ]
49aa67bce85c95bad0dd28fbad40e7018c462574
6,328
cc
C++
src/system/zone-render-system.cc
emptyland/nyaa
e2092a086869342b14de51c2afc1246500dbf47d
[ "BSD-2-Clause" ]
null
null
null
src/system/zone-render-system.cc
emptyland/nyaa
e2092a086869342b14de51c2afc1246500dbf47d
[ "BSD-2-Clause" ]
null
null
null
src/system/zone-render-system.cc
emptyland/nyaa
e2092a086869342b14de51c2afc1246500dbf47d
[ "BSD-2-Clause" ]
null
null
null
#include "system/zone-render-system.h" #include "system/geometry-transform-system.h" #include "component/zone-component.h" #include "resource/shader-library.h" #include "resource/texture-library.h" #include "game/game.h" #include "game/matrix.h" #include <GL/glew.h> namespace nyaa { namespace sys { const float ZoneR...
36.790698
120
0.484987
[ "geometry", "render", "vector", "transform" ]
49b70ef683f703155c1409eb4150b7d694cad651
3,726
cpp
C++
game_main.cpp
TTimo/es_core
c966baaa6b3466645d0d298900752fed70e4f644
[ "BSD-3-Clause" ]
72
2015-02-03T15:30:22.000Z
2021-12-07T00:18:43.000Z
game_main.cpp
TTimo/es_core
c966baaa6b3466645d0d298900752fed70e4f644
[ "BSD-3-Clause" ]
null
null
null
game_main.cpp
TTimo/es_core
c966baaa6b3466645d0d298900752fed70e4f644
[ "BSD-3-Clause" ]
11
2015-08-08T10:48:21.000Z
2021-01-18T17:56:28.000Z
/* Copyright (c) 2013, Timothee Besset 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 and the f...
36.891089
106
0.71766
[ "render" ]
49bddacee334e8adf29a45213c6019f691e2e63c
57,206
cpp
C++
test/Mandelbulb/Mandelbulb.cpp
WubiCookie/VkRenderer
87cc5d858591fc976c197ab2834e1ac9a418becd
[ "MIT" ]
2
2020-05-31T19:54:19.000Z
2021-09-14T12:00:12.000Z
test/Mandelbulb/Mandelbulb.cpp
WubiCookie/VkRenderer
87cc5d858591fc976c197ab2834e1ac9a418becd
[ "MIT" ]
null
null
null
test/Mandelbulb/Mandelbulb.cpp
WubiCookie/VkRenderer
87cc5d858591fc976c197ab2834e1ac9a418becd
[ "MIT" ]
null
null
null
#include "MandelBulb.hpp" #include "TextureFactory.hpp" #include <CompilerSpirV/compileSpirV.hpp> #include <ShaderWriter/Intrinsics/Intrinsics.hpp> #include <ShaderWriter/Source.hpp> #include "imgui.h" #include "imgui_impl_glfw.h" #include "my_imgui_impl_vulkan.h" #include <array> #include <iostream> #include <stde...
33.710077
113
0.678932
[ "render", "vector" ]
49bff17fc78211fa5c10e299ab09ee2b924e4667
15,035
cpp
C++
openbabel-2.4.1/src/formats/pngformat.cpp
sxhexe/reaction-route-search
f7694c84ca1def4a133ade3e1e2e09705cd28312
[ "MIT" ]
1
2017-09-16T07:36:29.000Z
2017-09-16T07:36:29.000Z
openbabel-2.4.1/src/formats/pngformat.cpp
sxhexe/reaction-route-search
f7694c84ca1def4a133ade3e1e2e09705cd28312
[ "MIT" ]
null
null
null
openbabel-2.4.1/src/formats/pngformat.cpp
sxhexe/reaction-route-search
f7694c84ca1def4a133ade3e1e2e09705cd28312
[ "MIT" ]
null
null
null
/********************************************************************** Copyright (C) 2007 by Chris Morley This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License. This program is di...
33.560268
119
0.643232
[ "object", "vector", "transform", "3d" ]
49cd54aaa754b2499d2cba5d9bb15ad928f1636e
1,322
hpp
C++
src/renderer/graphics_system.hpp
tuket/OWMAN
d1b3502c3f8e72e4442cc7b52ad32ca191ab8a11
[ "MIT" ]
6
2018-04-26T16:12:56.000Z
2021-08-06T05:20:01.000Z
src/renderer/graphics_system.hpp
ArnCarveris/OWMAN
d1b3502c3f8e72e4442cc7b52ad32ca191ab8a11
[ "MIT" ]
13
2015-11-17T10:18:45.000Z
2018-06-08T21:02:29.000Z
src/renderer/graphics_system.hpp
ArnCarveris/OWMAN
d1b3502c3f8e72e4442cc7b52ad32ca191ab8a11
[ "MIT" ]
2
2018-04-26T19:43:33.000Z
2019-07-03T12:27:31.000Z
#include "low_level_renderer_2d.hpp" #include "sprite_factory.hpp" #include <string> #include <set> #include <vector> #include "camera.hpp" #ifndef ENGINE class Engine; #endif #ifndef GRAPHICS_SYSTEM #define GRAPHICS_SYSTEM class GraphicsSystem { enum class PendingTaskType { DESTROY_SPRITE }; class PendingTa...
16.121951
69
0.727685
[ "vector" ]
49d0759b43e31d2bfc8663a22c7e3fbbf0ed811f
9,962
cpp
C++
torch/csrc/jit/script/sugared_value.cpp
wxwoods/mctorch
7cd6eb51fdd01fa75ed9245039a4f145ba342de2
[ "BSD-3-Clause" ]
1
2019-07-23T11:20:58.000Z
2019-07-23T11:20:58.000Z
torch/csrc/jit/script/sugared_value.cpp
wxwoods/mctorch
7cd6eb51fdd01fa75ed9245039a4f145ba342de2
[ "BSD-3-Clause" ]
null
null
null
torch/csrc/jit/script/sugared_value.cpp
wxwoods/mctorch
7cd6eb51fdd01fa75ed9245039a4f145ba342de2
[ "BSD-3-Clause" ]
null
null
null
#include <torch/csrc/jit/script/sugared_value.h> #include <torch/csrc/jit/ir.h> #include <torch/csrc/jit/script/schema_matching.h> #include <torch/csrc/jit/script/tree_views.h> namespace torch { namespace jit { namespace script { struct NoneValue : SugaredValue { NoneValue() = default; std::string kind() const ov...
35.578571
86
0.633808
[ "object", "shape", "vector" ]
49d26dcfbbd517f9114651daca2909d868065902
3,783
cpp
C++
ReactQt/runtime/src/reactpropertyhandler.cpp
dmgctrl/react-native-linux
3b05fb169f0242a9c6084064c26bccecf2a4aefa
[ "CC-BY-4.0", "BSD-3-Clause" ]
15
2018-03-11T23:50:11.000Z
2021-12-24T08:41:05.000Z
ReactQt/runtime/src/reactpropertyhandler.cpp
dmgctrl/react-native-linux
3b05fb169f0242a9c6084064c26bccecf2a4aefa
[ "CC-BY-4.0", "BSD-3-Clause" ]
null
null
null
ReactQt/runtime/src/reactpropertyhandler.cpp
dmgctrl/react-native-linux
3b05fb169f0242a9c6084064c26bccecf2a4aefa
[ "CC-BY-4.0", "BSD-3-Clause" ]
2
2018-04-14T19:47:35.000Z
2020-07-30T21:48:29.000Z
/** * Copyright (C) 2016, Canonical Ltd. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * Author: Justin M...
34.390909
117
0.69125
[ "object" ]
49d2838b2cabee1180faed85f07bcdde414cff8e
1,463
cpp
C++
spoj/MAXISET.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
5
2019-03-17T01:33:19.000Z
2021-06-25T09:50:45.000Z
spoj/MAXISET.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
spoj/MAXISET.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
/** Courage is a word of justice. It means the quality of mind that enables one to face apprehension with confidence and resolution. It is not right to use it as an excuse to kill someone */ #include <bits/stdc++.h> #define forn(i, l, r) for(int i=l;i<=r;i++) #define all(v) v.begin(),v.end() #define pb push_ba...
22.859375
191
0.643882
[ "vector" ]
49e2238ea04f69ce99b83cfcca66385f1c3a2a62
7,200
cpp
C++
tools/faodel-cli/KelpieBlastParams.cpp
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-01-25T21:21:07.000Z
2021-04-29T17:24:00.000Z
tools/faodel-cli/KelpieBlastParams.cpp
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
8
2018-10-09T14:35:30.000Z
2020-09-30T20:09:42.000Z
tools/faodel-cli/KelpieBlastParams.cpp
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-04-23T19:01:36.000Z
2021-05-11T07:44:55.000Z
// Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. #include <iostream> #include <functional> #include "faodelConfig.h" #ifdef Faodel_ENABLE_MPI_SUPPORT #include <m...
32.432432
140
0.603889
[ "object", "vector" ]
49e821649413cba6d2856c0fde4a8ee232971fe1
1,690
cpp
C++
Exemplo21/sources/model/Lamp.cpp
alencarrh/ComputacaoGrafica
b7ea6b46956e47f695e4437fe254fd974a2b90de
[ "MIT" ]
null
null
null
Exemplo21/sources/model/Lamp.cpp
alencarrh/ComputacaoGrafica
b7ea6b46956e47f695e4437fe254fd974a2b90de
[ "MIT" ]
null
null
null
Exemplo21/sources/model/Lamp.cpp
alencarrh/ComputacaoGrafica
b7ea6b46956e47f695e4437fe254fd974a2b90de
[ "MIT" ]
null
null
null
#include "../../headers/model/Lamp.h" Lamp::Lamp() {} Lamp::~Lamp() { delete this->_mesh; } Face* createFace2(int v0, int v1, int v2, int v3, int normal) { Face* face = new Face(); face->addVerticeId(v0); face->addVerticeId(v1); face->addVerticeId(v3); face->addVerticeId(v1); face->addVe...
34.489796
99
0.584615
[ "mesh", "model" ]
49eb08ee5e4fd3b7215e394b3c1a641c0767c186
2,775
cpp
C++
sparse/src/magma_zwrapper.cpp
LiangqinGong/magma
4c2588119ee636999b230b248fca3e3824a23be9
[ "BSD-3-Clause" ]
13
2018-03-25T01:03:31.000Z
2022-03-31T09:12:23.000Z
sparse/src/magma_zwrapper.cpp
LiangqinGong/magma
4c2588119ee636999b230b248fca3e3824a23be9
[ "BSD-3-Clause" ]
3
2020-01-02T05:21:16.000Z
2020-01-07T20:04:05.000Z
sparse/src/magma_zwrapper.cpp
LiangqinGong/magma
4c2588119ee636999b230b248fca3e3824a23be9
[ "BSD-3-Clause" ]
7
2018-03-24T23:33:28.000Z
2022-01-25T18:41:03.000Z
/* -- MAGMA (version 2.0) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date @precisions normal z -> c d s @author Hartwig Anzt */ #include "magmasparse_internal.h" /** Purpose ------- This is the interface to MAG...
28.90625
105
0.535135
[ "vector" ]
49eb29d0371c7f89a5b796d5bf3ad4d47436d5de
10,199
cc
C++
tensorflow/core/grappler/optimizers/dependency_optimizer.cc
yasunakacho/tensorflow
cf36c3fdefda3c874cd8cebb779744c5035bb435
[ "Apache-2.0" ]
null
null
null
tensorflow/core/grappler/optimizers/dependency_optimizer.cc
yasunakacho/tensorflow
cf36c3fdefda3c874cd8cebb779744c5035bb435
[ "Apache-2.0" ]
null
null
null
tensorflow/core/grappler/optimizers/dependency_optimizer.cc
yasunakacho/tensorflow
cf36c3fdefda3c874cd8cebb779744c5035bb435
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
36.555556
80
0.622414
[ "vector" ]
49f761a7fa42b810510e8c3d11d1930a6e1d0976
3,905
cpp
C++
src/Testbench.cpp
spcl/stencil_hls
a1274256b40c670115bbc18eb088114232db0506
[ "BSD-3-Clause" ]
6
2020-02-07T09:52:00.000Z
2022-03-15T22:11:13.000Z
src/Testbench.cpp
spcl/stencil_hls
a1274256b40c670115bbc18eb088114232db0506
[ "BSD-3-Clause" ]
null
null
null
src/Testbench.cpp
spcl/stencil_hls
a1274256b40c670115bbc18eb088114232db0506
[ "BSD-3-Clause" ]
2
2021-02-16T15:51:45.000Z
2021-06-19T02:45:48.000Z
/// @author Johannes de Fine Licht (definelicht@inf.ethz.ch) /// @copyright This software is copyrighted under the BSD 3-Clause License. #include "Stencil.h" #include "Reference.h" #include <algorithm> // std::copy #include <cmath> // std::fabs #include <iostream> #include <vector> bool Verify(std::vector<Dat...
38.284314
79
0.542894
[ "vector" ]
49fe9d6407b8c4e73ce50d1f2ae1958bba767bfe
5,269
cpp
C++
p1/src/project.cpp
goncaloinunes/asa
cefb161741eec50ff060d8182e8a41fc5ad83dc4
[ "MIT" ]
null
null
null
p1/src/project.cpp
goncaloinunes/asa
cefb161741eec50ff060d8182e8a41fc5ad83dc4
[ "MIT" ]
null
null
null
p1/src/project.cpp
goncaloinunes/asa
cefb161741eec50ff060d8182e8a41fc5ad83dc4
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <sstream> #include <string> #include <climits> #include <unordered_map> #include <algorithm> #define ull unsigned long long #define ll long long using namespace std; void readSequenceToVector(vector<int>& vec) { int number; string line; getline(cin >> ws, ...
27.300518
121
0.565193
[ "vector" ]
8e654395574bf954cbc4e700218aed614c2d5c3e
22,002
cpp
C++
Shizuku/Window.cpp
blackoffee/Shizuku
dde4c4f437ca271181d59a78da2815dee01800eb
[ "MIT" ]
15
2018-12-17T14:17:12.000Z
2022-01-21T16:21:44.000Z
Shizuku/Window.cpp
blackoffee/InteractiveCFD
dde4c4f437ca271181d59a78da2815dee01800eb
[ "MIT" ]
1
2019-03-03T18:01:11.000Z
2019-03-03T18:20:13.000Z
Shizuku/Window.cpp
blackoffee/InteractiveCFD
dde4c4f437ca271181d59a78da2815dee01800eb
[ "MIT" ]
4
2017-03-14T21:38:46.000Z
2018-09-20T14:45:26.000Z
#include "../imgui/imgui.h" #include "../imgui/imgui_impl_glfw.h" #include "Window.h" #include "../imgui/imgui_impl_opengl3.h" #include "Shizuku.Flow/Command/Zoom.h" #include "Shizuku.Flow/Command/Pan.h" #include "Shizuku.Flow/Command/Rotate.h" #include "Shizuku.Flow/Command/AddObstruction.h" #include "Shizuku.Flow/Co...
34.92381
133
0.644941
[ "mesh", "render" ]
8e65894e0fdcb5895b541b8de1d97a3c74bcb55e
18,464
hpp
C++
plugins/pixel_plugin/include/eosio/pixel_plugin/protocol.hpp
ai-chen2050/eos
dd61ccde3c4273aef763abdfe1de21d59b7267d6
[ "MIT" ]
2
2018-10-23T14:30:10.000Z
2018-10-23T14:30:13.000Z
plugins/pixel_plugin/include/eosio/pixel_plugin/protocol.hpp
ai-chen2050/eos
dd61ccde3c4273aef763abdfe1de21d59b7267d6
[ "MIT" ]
null
null
null
plugins/pixel_plugin/include/eosio/pixel_plugin/protocol.hpp
ai-chen2050/eos
dd61ccde3c4273aef763abdfe1de21d59b7267d6
[ "MIT" ]
null
null
null
#pragma once #include <eosio/chain/types.hpp> #include <eosio/plugin_lib/plugin_lib.hpp> #include <eosio/chain/action.hpp> #include <regex> #include <string> #include <map> #include <eosio/wallet_plugin/wallet_plugin.hpp> #include <eosio/wallet_plugin/wallet_manager.hpp> #include <fc/static_variant.hpp> #include <fc/...
35.852427
194
0.654409
[ "vector" ]
8e73808232682e841b4679a3a4b36ef931109b88
2,602
cpp
C++
src/networking/Client.cpp
dwarfofdawn/framework
78c207b6efdb3a19d27626b501711539c6c20fbd
[ "MIT" ]
null
null
null
src/networking/Client.cpp
dwarfofdawn/framework
78c207b6efdb3a19d27626b501711539c6c20fbd
[ "MIT" ]
null
null
null
src/networking/Client.cpp
dwarfofdawn/framework
78c207b6efdb3a19d27626b501711539c6c20fbd
[ "MIT" ]
null
null
null
// Copyright 2016 Florian Kramer #include "Network.h" #ifdef unix #include <sys/socket.h> #include <netinet/in.h> #include <ifaddrs.h> // allows for setting sockets asynchronious #include <fcntl.h> #include <errno.h> // provides close #include <unistd.h> // provides inet_aton #include <arpa/inet.h> #include <thread> #...
21.865546
107
0.65834
[ "vector" ]
8e784d03b11050ca6b8a7f77ea4ef6b497e7bf61
2,321
hpp
C++
cpp-projects/base/graphics/light.hpp
FlorianLance/toolbox
87882a14ec86852d90527c81475b451b9f6e12cf
[ "MIT" ]
null
null
null
cpp-projects/base/graphics/light.hpp
FlorianLance/toolbox
87882a14ec86852d90527c81475b451b9f6e12cf
[ "MIT" ]
null
null
null
cpp-projects/base/graphics/light.hpp
FlorianLance/toolbox
87882a14ec86852d90527c81475b451b9f6e12cf
[ "MIT" ]
1
2021-07-06T14:47:41.000Z
2021-07-06T14:47:41.000Z
/******************************************************************************* ** Toolbox-base ** ** MIT License ** ** Copyright (c) [2018] [Florian Lance] ...
52.75
81
0.483843
[ "geometry" ]
8e7a355251e88f0a8ce598750260cf651fddf5f7
5,894
cpp
C++
lib/LSPServer/LSPTypes.cpp
kwalberg/allium
13b98d56fe480f0e87a45cf870a76ef7a96f398d
[ "MIT" ]
null
null
null
lib/LSPServer/LSPTypes.cpp
kwalberg/allium
13b98d56fe480f0e87a45cf870a76ef7a96f398d
[ "MIT" ]
null
null
null
lib/LSPServer/LSPTypes.cpp
kwalberg/allium
13b98d56fe480f0e87a45cf870a76ef7a96f398d
[ "MIT" ]
null
null
null
#include <math.h> #include "LSPServer/LSPTypes.h" #include "Utils/VectorUtils.h" // This is a trick to pass types with multiple template parameters to a macro. // Extra parentheses are allowed around function arguments, so these templates // make it possible to pass a parenthesized template type to a macro and then /...
29.178218
126
0.647438
[ "object" ]
8e8a4df705be18050a5be3f342c39cfc317204e3
24,174
hpp
C++
project/ksdiy/components/esp-dl/include/image/dl_image.hpp
Kevincoooool/esp32s3_openmv_lvgl
554ee35d63f3c8f3108538eb8d85a6f8ca9fe690
[ "MIT" ]
100
2021-06-13T03:04:49.000Z
2022-03-26T08:23:23.000Z
project/ksdiy/components/esp-dl/include/image/dl_image.hpp
Kevincoooool/esp32s3_openmv_lvgl
554ee35d63f3c8f3108538eb8d85a6f8ca9fe690
[ "MIT" ]
65
2021-07-13T02:34:48.000Z
2022-03-25T17:25:36.000Z
project/ksdiy/components/esp-dl/include/image/dl_image.hpp
Kevincoooool/esp32s3_openmv_lvgl
554ee35d63f3c8f3108538eb8d85a6f8ca9fe690
[ "MIT" ]
27
2021-06-11T22:10:58.000Z
2022-03-26T18:06:17.000Z
#pragma once #include <stdint.h> #include <stdlib.h> #include <math.h> #include <vector> #include "dl_define.hpp" #include "dl_variable.hpp" #include "dl_math_matrix.hpp" namespace dl { namespace image { typedef enum { IMAGE_RESIZE_BILINEAR = 0, /*<! Resize image by taking bilinear...
49.134146
167
0.50604
[ "object", "shape", "vector" ]
8e949f1f722e465166feba29e4c09de526b5290d
9,631
cpp
C++
examples/cpp/qt/shadertoy/Shadertoy.cpp
jzitelli/OculusRiftInAction
7b4136ef4af3d5c392f464cf712e618e6f6a60f9
[ "Apache-2.0" ]
135
2015-01-08T03:27:23.000Z
2022-03-06T08:30:21.000Z
examples/cpp/qt/shadertoy/Shadertoy.cpp
jzitelli/OculusRiftInAction
7b4136ef4af3d5c392f464cf712e618e6f6a60f9
[ "Apache-2.0" ]
34
2015-01-03T10:40:12.000Z
2021-04-15T18:24:02.000Z
examples/cpp/qt/shadertoy/Shadertoy.cpp
jzitelli/OculusRiftInAction
7b4136ef4af3d5c392f464cf712e618e6f6a60f9
[ "Apache-2.0" ]
80
2015-01-10T08:41:28.000Z
2022-03-06T08:30:24.000Z
/************************************************************************************ Authors : Bradley Austin Davis <bdavis@saintandreas.org> Copyright : Copyright Bradley Austin Davis. All Rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in ...
36.071161
129
0.654553
[ "object" ]
8ea10ebbca13185283b69c15e6f3b7feab76fc56
7,799
cc
C++
cyber/examples/self_part/lidar_listener.cc
sunzengpeng/cyber_multisensor_fusion
36118c58da6fb97932218a33981ed54157144363
[ "MIT" ]
null
null
null
cyber/examples/self_part/lidar_listener.cc
sunzengpeng/cyber_multisensor_fusion
36118c58da6fb97932218a33981ed54157144363
[ "MIT" ]
null
null
null
cyber/examples/self_part/lidar_listener.cc
sunzengpeng/cyber_multisensor_fusion
36118c58da6fb97932218a33981ed54157144363
[ "MIT" ]
1
2021-10-19T12:15:33.000Z
2021-10-19T12:15:33.000Z
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
34.056769
119
0.702013
[ "vector" ]
8eaeb57cfe29e4119280f83aea0622aa90ea9c69
8,548
cpp
C++
src/NVMeSensorMain.cpp
serve-bh-bmc/dbus-sensors
f69fbf998745bf006748c3b6ba6558443b560d21
[ "Apache-2.0" ]
15
2019-02-26T03:44:55.000Z
2021-11-04T23:58:51.000Z
src/NVMeSensorMain.cpp
serve-bh-bmc/dbus-sensors
f69fbf998745bf006748c3b6ba6558443b560d21
[ "Apache-2.0" ]
17
2019-01-23T19:47:44.000Z
2022-03-31T23:03:43.000Z
src/NVMeSensorMain.cpp
serve-bh-bmc/dbus-sensors
f69fbf998745bf006748c3b6ba6558443b560d21
[ "Apache-2.0" ]
21
2019-08-07T03:32:20.000Z
2022-01-27T09:40:22.000Z
/* // Copyright (c) 2019 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
30.971014
80
0.609265
[ "vector" ]
8ebde752bc4b956a496aeca4b435b5ae1cd6e549
2,289
cpp
C++
tools/aapt2/SdkConstants.cpp
Y-D-Lu/rr_frameworks_base
c5a298fb78e662bb3775016a6ad5ff7c423ec8a9
[ "Apache-2.0" ]
null
null
null
tools/aapt2/SdkConstants.cpp
Y-D-Lu/rr_frameworks_base
c5a298fb78e662bb3775016a6ad5ff7c423ec8a9
[ "Apache-2.0" ]
null
null
null
tools/aapt2/SdkConstants.cpp
Y-D-Lu/rr_frameworks_base
c5a298fb78e662bb3775016a6ad5ff7c423ec8a9
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
28.974684
99
0.707296
[ "vector" ]
8ec438c711812b360c1eb3dbcb5fb4a92e016934
27,260
cc
C++
fbench/src/grpcclient/third_party/googleapis/gens/google/actions/sdk/v2/interactionmodel/conditional_event.pb.cc
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
fbench/src/grpcclient/third_party/googleapis/gens/google/actions/sdk/v2/interactionmodel/conditional_event.pb.cc
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
fbench/src/grpcclient/third_party/googleapis/gens/google/actions/sdk/v2/interactionmodel/conditional_event.pb.cc
kashiish/vespa
307de4bb24463d0f36cd8391a7b8df75bd0949b2
[ "Apache-2.0" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/actions/sdk/v2/interactionmodel/conditional_event.proto #include "google/actions/sdk/v2/interactionmodel/conditional_event.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/io/coded_stream.h> #i...
47.16263
317
0.747542
[ "object" ]
8ec4a666c75021376ab7bfa13b06c2769fb12386
1,636
cpp
C++
assignments/a2-interpolation/particlecubic.cpp
dndinh7/animation-toolkit
906b003166f5ea588333e8681448afaf33cb30b3
[ "MIT" ]
null
null
null
assignments/a2-interpolation/particlecubic.cpp
dndinh7/animation-toolkit
906b003166f5ea588333e8681448afaf33cb30b3
[ "MIT" ]
null
null
null
assignments/a2-interpolation/particlecubic.cpp
dndinh7/animation-toolkit
906b003166f5ea588333e8681448afaf33cb30b3
[ "MIT" ]
null
null
null
#include "atkui/framework.h" using namespace glm; class ParticleCubic : public atkui::Framework { public: ParticleCubic() : atkui::Framework(atkui::Orthographic) { } void setup() { float interval = 1.0f / (60 + 1); points.push_back(B0); for (int i = 1; i <= 60; i++) { float t = inte...
25.169231
89
0.567848
[ "vector" ]
8ecc9a443ce6d14a63b86ea8feb57c361b4106eb
20,293
hpp
C++
framework/areg/base/private/posix/SynchLockAndWaitIX.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
70
2021-07-20T11:26:16.000Z
2022-03-27T11:17:43.000Z
framework/areg/base/private/posix/SynchLockAndWaitIX.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
32
2021-07-31T05:20:44.000Z
2022-03-20T10:11:52.000Z
framework/areg/base/private/posix/SynchLockAndWaitIX.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
40
2021-11-02T09:45:38.000Z
2022-03-27T11:17:46.000Z
#pragma once /************************************************************************ * This file is part of the AREG SDK core engine. * AREG SDK is dual-licensed under Free open source (Apache version 2.0 * License) and Commercial (with various pricing models) licenses, depending * on the nature of the project (c...
45.911765
170
0.59114
[ "object" ]
8ecea50f14811fb3037fdd6fe37dff64a99db976
4,874
cpp
C++
src/tsppd/solver/ruland/ruland_tsp_solver.cpp
ryanjoneil/tsppd
f0e1e5e867e13c8fa0dcddf4d2ffa2aae7f46da4
[ "AFL-1.1" ]
4
2018-03-30T20:58:57.000Z
2018-04-25T01:48:09.000Z
src/tsppd/solver/ruland/ruland_tsp_solver.cpp
ryanjoneil/tsppd
f0e1e5e867e13c8fa0dcddf4d2ffa2aae7f46da4
[ "AFL-1.1" ]
7
2019-04-21T13:42:09.000Z
2019-05-09T15:49:56.000Z
src/tsppd/solver/ruland/ruland_tsp_solver.cpp
ryanjoneil/tsppd-hybrid
f0e1e5e867e13c8fa0dcddf4d2ffa2aae7f46da4
[ "AFL-1.1" ]
1
2020-03-01T16:19:18.000Z
2020-03-01T16:19:18.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the tsppd program and library for solving */ /* Traveling Salesman Problems with Pickup and Delivery. tsppd requires */ ...
37.206107
106
0.590685
[ "model" ]
8ede9d87743333ef88bdf89b3dbec74a04ee6288
1,406
cpp
C++
Master-Engine/MasterEngineLibAggregator/Vector2Wrapper.cpp
palmelund/Master-Engine
d947ca31c27e91bf72e22074883eec64e9c6fb9d
[ "MIT" ]
null
null
null
Master-Engine/MasterEngineLibAggregator/Vector2Wrapper.cpp
palmelund/Master-Engine
d947ca31c27e91bf72e22074883eec64e9c6fb9d
[ "MIT" ]
null
null
null
Master-Engine/MasterEngineLibAggregator/Vector2Wrapper.cpp
palmelund/Master-Engine
d947ca31c27e91bf72e22074883eec64e9c6fb9d
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Vector2Wrapper.h" #include <vector> #include "thread" #include "ThreadPool.h" #include "Vector2Delta.h" Vector2Wrapper::Vector2Wrapper() { value_ = {}; } void Vector2Wrapper::operator+=(const sf::Vector2f& rhs) { auto* pointer_deltas = &MasterEngine::LibAggregator::ThreadPool::deltas[...
21.30303
101
0.71266
[ "vector" ]
8eebe74a15adb327a0937d7a4b0bd8301da7088c
2,487
cc
C++
src/validate.cc
cchudant/anitomy-js
1d0dd38b443fb78776e0fd43d7a81822948e05bf
[ "MIT" ]
1
2020-04-01T17:06:59.000Z
2020-04-01T17:06:59.000Z
src/validate.cc
cchudant/anitomy-js
1d0dd38b443fb78776e0fd43d7a81822948e05bf
[ "MIT" ]
null
null
null
src/validate.cc
cchudant/anitomy-js
1d0dd38b443fb78776e0fd43d7a81822948e05bf
[ "MIT" ]
null
null
null
#include "validate.hpp" #include "util.hpp" namespace anitomy_js { using Nan::FunctionCallbackInfo; using Nan::Get; using Nan::Has; using Nan::Set; using Nan::To; using Nan::Undefined; using v8::Local; using v8::Object; using v8::Value; const char *ValidateData(const FunctionCallbackInfo<Value> &args, Local<Value> &...
23.242991
102
0.64616
[ "object" ]
8ef3d5748089e1fbccb52dc70501bfe6e6fb4e4f
5,935
cpp
C++
leadsense/leadsenseVIO.cpp
monticle/ygz-stereo-inertial
04c253ad7b7362cf208a6f28d80c3e571192c4ec
[ "MIT" ]
null
null
null
leadsense/leadsenseVIO.cpp
monticle/ygz-stereo-inertial
04c253ad7b7362cf208a6f28d80c3e571192c4ec
[ "MIT" ]
null
null
null
leadsense/leadsenseVIO.cpp
monticle/ygz-stereo-inertial
04c253ad7b7362cf208a6f28d80c3e571192c4ec
[ "MIT" ]
null
null
null
#include<iostream> #include<algorithm> #include<fstream> #include<iomanip> #include<chrono> #include<opencv2/opencv.hpp> #include<ygz/System.h> //Evo SDK header #include <evo_global_define.h>//global define #include <evo_stereocamera.h>//stereo camera #include <evo_mat.h>//evo Mat define #include <evo_matconverter.h...
28.127962
126
0.641449
[ "vector" ]
8ef56491503c594465fb46447bf3fd8cc4b7d9a6
1,557
cpp
C++
irohad/network/impl/peer_communication_service_impl.cpp
laSinteZ/iroha
78f152a85ee2b3b86db7b705831938e96a186c36
[ "Apache-2.0" ]
1
2017-01-15T08:47:16.000Z
2017-01-15T08:47:16.000Z
irohad/network/impl/peer_communication_service_impl.cpp
laSinteZ/iroha
78f152a85ee2b3b86db7b705831938e96a186c36
[ "Apache-2.0" ]
1
2017-11-08T02:34:24.000Z
2017-11-08T02:34:24.000Z
irohad/network/impl/peer_communication_service_impl.cpp
laSinteZ/iroha
78f152a85ee2b3b86db7b705831938e96a186c36
[ "Apache-2.0" ]
null
null
null
/* Copyright Soramitsu Co., Ltd. 2016 All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
34.6
73
0.7386
[ "model" ]
f104195cd7b66de39a57e51c59b6603e1482f180
3,321
cpp
C++
device.cpp
LAGonauta/Alure-C-Interface
d6eb94a0bedd68ee076b084b6736dfee8ff95d0e
[ "Zlib" ]
1
2019-07-19T03:37:33.000Z
2019-07-19T03:37:33.000Z
device.cpp
LAGonauta/Alure-C-Interface
d6eb94a0bedd68ee076b084b6736dfee8ff95d0e
[ "Zlib" ]
null
null
null
device.cpp
LAGonauta/Alure-C-Interface
d6eb94a0bedd68ee076b084b6736dfee8ff95d0e
[ "Zlib" ]
null
null
null
#include "device.hpp" #include "context.hpp" #include "wrapString.hpp" #include "wrapStringVector.hpp" device_t* device_create() { device_t* dm; dm = new device_t(alure::Device()); return dm; } device_t* device_set(alure::Device dev) { device_t* dm; dm = new device_t(dev); return dm; } void device_de...
15.966346
111
0.657934
[ "vector" ]
f104b9c27a8835c02fa412bbb6c9f34084c876c0
331
hpp
C++
src/gl/mesh_loader.hpp
Harrand/Topaz-2
c3cd3f67b1aaf20229075a593c8ffcad5585f362
[ "Apache-2.0" ]
null
null
null
src/gl/mesh_loader.hpp
Harrand/Topaz-2
c3cd3f67b1aaf20229075a593c8ffcad5585f362
[ "Apache-2.0" ]
9
2019-12-22T17:57:29.000Z
2020-03-30T22:06:53.000Z
src/gl/mesh_loader.hpp
Harrand/Topaz-2
c3cd3f67b1aaf20229075a593c8ffcad5585f362
[ "Apache-2.0" ]
null
null
null
#ifndef TOPAZ_GL_MESH_LOADER_HPP #define TOPAZ_GL_MESH_LOADER_HPP #include "gl/mesh.hpp" #include "gl/tz_assimp/scene.hpp" namespace tz::gl { /** * \addtogroup tz_gl Topaz Graphics Library (tz::gl) * @{ */ tz::gl::IndexedMesh load_mesh(const std::string& filename); /** * @} */ } #endif // TOPAZ_GL_MESH...
16.55
60
0.691843
[ "mesh" ]
f104e42c7945c9d86db5fc2f8b568b614cfc7196
39,939
cpp
C++
VulkanVisual/src/old.cpp
rEddieD/VulTerGen
0e6d7a1dcf3321ac570b27d9d031a110161766ff
[ "Apache-2.0" ]
null
null
null
VulkanVisual/src/old.cpp
rEddieD/VulTerGen
0e6d7a1dcf3321ac570b27d9d031a110161766ff
[ "Apache-2.0" ]
null
null
null
VulkanVisual/src/old.cpp
rEddieD/VulTerGen
0e6d7a1dcf3321ac570b27d9d031a110161766ff
[ "Apache-2.0" ]
null
null
null
#define VK_USE_PLATFORM_WIN32_KHR #define VK_NO_PROTOTYPE #include <iostream> #include <vulkan/vulkan.hpp> #include <vector> #include "old.h" #include "Shader.h" #include "Pipeline.h" #include <bitset> namespace VulTerGen { std::vector<const char*> layers = { "VK_LAYER_KHRONOS_validation" }; std::vector<const char*...
39.504451
205
0.791457
[ "geometry", "render", "object", "vector", "model" ]
f10e114447298e4179313103dc057874fd4844c4
37,028
cpp
C++
zircon/system/core/devmgr/devcoordinator/coordinator-test.cpp
yanyushr/fuchsia
98e70672a81a206d235503e398f37b7b65581f79
[ "BSD-3-Clause" ]
null
null
null
zircon/system/core/devmgr/devcoordinator/coordinator-test.cpp
yanyushr/fuchsia
98e70672a81a206d235503e398f37b7b65581f79
[ "BSD-3-Clause" ]
null
null
null
zircon/system/core/devmgr/devcoordinator/coordinator-test.cpp
yanyushr/fuchsia
98e70672a81a206d235503e398f37b7b65581f79
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <ddk/binding.h> #include <ddk/driver.h> #include <fbl/algorithm.h> #include <fbl/vector.h> #include <fuchsia/device/manager/c/fidl.h> #include <li...
41.464726
109
0.656692
[ "object", "vector" ]
f110fab1b8d20d81aab8fa2abf040b1606040a8a
33,596
cpp
C++
koptions.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
null
null
null
koptions.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
null
null
null
koptions.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
1
2021-08-20T16:15:01.000Z
2021-08-20T16:15:01.000Z
/* // // DEKAF(tm): Lighter, Faster, Smarter(tm) // // Copyright (c) 2018, Ridgeware, Inc. // // +-------------------------------------------------------------------------+ // | /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\| // |/+------------------------------------------------------...
27.425306
144
0.491487
[ "vector" ]
47edfc2a7d64a2e9402ba6608f49f09a06aa4b64
286
hpp
C++
include/mpi/core/structs/sub_array_information.hpp
acdemiralp/mpi
c3d445404ed129f1f0dee61fa7b36033a11801d5
[ "MIT" ]
9
2021-11-09T06:07:00.000Z
2022-02-06T12:03:56.000Z
include/mpi/core/structs/sub_array_information.hpp
acdemiralp/mpi
c3d445404ed129f1f0dee61fa7b36033a11801d5
[ "MIT" ]
3
2021-10-19T00:04:53.000Z
2021-11-10T07:26:34.000Z
include/mpi/core/structs/sub_array_information.hpp
acdemiralp/mpi
c3d445404ed129f1f0dee61fa7b36033a11801d5
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <vector> namespace mpi { struct sub_array_information { std::vector<std::int32_t> sizes ; std::vector<std::int32_t> sub_sizes ; std::vector<std::int32_t> starts ; bool fortran_order = false; }; }
19.066667
50
0.611888
[ "vector" ]
47ee72b294bb1e0df44fe061a063d8b7d75d81cd
1,490
cpp
C++
cpp/atcoder/NTL_1_A.cpp
KeiichiHirobe/algorithms
8de082dab33054f3e433330a2cf5d06bd770bd04
[ "Apache-2.0" ]
null
null
null
cpp/atcoder/NTL_1_A.cpp
KeiichiHirobe/algorithms
8de082dab33054f3e433330a2cf5d06bd770bd04
[ "Apache-2.0" ]
null
null
null
cpp/atcoder/NTL_1_A.cpp
KeiichiHirobe/algorithms
8de082dab33054f3e433330a2cf5d06bd770bd04
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <cmath> #include <map> #include <algorithm> #include <queue> #include <iomanip> // clang-format off #define rep(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i) template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; } template<class T>bool chmi...
21.594203
87
0.477852
[ "vector" ]
47f0a099e182a5f89647e5fa19a9f1d8978ed85a
1,363
cpp
C++
src/Common/FS.cpp
feral-lang/feral
1ce8eb72eec7c8a5ac19d3767e907b86387e29e0
[ "MIT" ]
131
2020-03-19T15:22:37.000Z
2021-12-19T02:37:01.000Z
src/Common/FS.cpp
Electrux/feral
1ce8eb72eec7c8a5ac19d3767e907b86387e29e0
[ "BSD-3-Clause" ]
14
2020-04-06T05:50:15.000Z
2021-06-26T06:19:04.000Z
src/Common/FS.cpp
Electrux/feral
1ce8eb72eec7c8a5ac19d3767e907b86387e29e0
[ "BSD-3-Clause" ]
20
2020-04-06T07:28:30.000Z
2021-09-05T14:46:25.000Z
/* MIT License Copyright (c) 2020 Feral Language repositories 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, modi...
21.983871
94
0.696258
[ "vector" ]
47f14204517bae22ffaf5129501955216d63d92f
1,256
cpp
C++
0289-Game of Life/0289-Game of Life.cpp
zhuangli1987/LeetCode-1
e81788abf9e95e575140f32a58fe983abc97fa4a
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
0201-0300/0289-Game of Life/0289-Game of Life.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
0201-0300/0289-Game of Life/0289-Game of Life.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution { public: void gameOfLife(vector<vector<int>>& board) { int m = board.size(); if (m == 0) { return; } int n = board[0].size(); vector<int> deltaX = {-1, -1, -1, 0, 0, 1, 1, 1}; vector<int> deltaY = {-1, 0, 1, -1, 1, -1, 0, 1}; ...
29.209302
65
0.259554
[ "vector" ]
47f161ca00c82e56cb00b1f4710928cd43501230
9,968
cpp
C++
wfs/stored_queries/GetDataSetByIdHandler.cpp
nakkim/smartmet-plugin-wfs
851334dd3be1a24b9708f66696f088fdc857a999
[ "MIT" ]
null
null
null
wfs/stored_queries/GetDataSetByIdHandler.cpp
nakkim/smartmet-plugin-wfs
851334dd3be1a24b9708f66696f088fdc857a999
[ "MIT" ]
2
2018-04-17T10:02:46.000Z
2019-10-21T08:57:55.000Z
wfs/stored_queries/GetDataSetByIdHandler.cpp
nakkim/smartmet-plugin-wfs
851334dd3be1a24b9708f66696f088fdc857a999
[ "MIT" ]
2
2017-05-10T12:03:51.000Z
2021-07-06T07:05:25.000Z
#include "stored_queries/GetDataSetByIdHandler.h" #include "StoredQueryHandlerBase.h" #include "StoredQueryHandlerFactoryDef.h" #include "StoredQueryMap.h" #include "WfsConvenience.h" #include <boost/algorithm/string.hpp> #include <boost/foreach.hpp> #include <macgyver/StringConversion.h> #include <macgyver/TypeName.h>...
27.234973
100
0.67827
[ "vector" ]
47fc3ce826fc988ecbcd868c96d710e53cd064b9
1,984
cpp
C++
RUEngine/Engine/Texture.cpp
rutgerklamer/Rugine
39b7c60cfc54629ac76da33bc0e61ca9b82f7483
[ "Unlicense" ]
4
2017-11-10T07:57:36.000Z
2021-04-04T15:34:23.000Z
RUEngine/Engine/Texture.cpp
rutgerklamer/Rugine
39b7c60cfc54629ac76da33bc0e61ca9b82f7483
[ "Unlicense" ]
null
null
null
RUEngine/Engine/Texture.cpp
rutgerklamer/Rugine
39b7c60cfc54629ac76da33bc0e61ca9b82f7483
[ "Unlicense" ]
null
null
null
#include "Texture.h" GLuint tex::loadTexture(const char* path) { //Make a texture GLuint textureID; int textureWidth, textureHeight; glGenTextures(1, &textureID); glBindTexture(GL_TEXTURE_2D, textureID); //GL_REPEAT for multiplication in fragment shader glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S...
31.492063
127
0.78377
[ "vector" ]
47fec840d80fa1a6a8c77962ef5426663f17066e
785
cpp
C++
src/Triangle.cpp
benpigchu/CG-RayTracing
4e5f2bea6e3f537ac0ef109d5b503595c2898516
[ "Unlicense" ]
1
2019-04-26T17:44:13.000Z
2019-04-26T17:44:13.000Z
src/Triangle.cpp
benpigchu/CG-RayTracing
4e5f2bea6e3f537ac0ef109d5b503595c2898516
[ "Unlicense" ]
null
null
null
src/Triangle.cpp
benpigchu/CG-RayTracing
4e5f2bea6e3f537ac0ef109d5b503595c2898516
[ "Unlicense" ]
null
null
null
#include "Geometry.h" #include "Vector3.h" #include "Matrix4.h" #include "Ray.h" #include "Triangle.h" IntersectInfo Triangle::testIntersect(Ray r)const noexcept{ // x+dt=au+bv+cw // a+b+c=1 // [M4x4][a,b,c,d]T=[...x,1] IntersectInfo ii; // uv not supported yet ii.u=0; ii.v=0; Vector3 t=r.getDirection(); Vect...
22.428571
76
0.638217
[ "geometry" ]
9a0516556a04f97270517b7199c1f67eaec37288
9,805
cpp
C++
game/Source/OptionsMenu.cpp
alexgesti/PROYECTO-2
c67aad3c674127147d1cf762e3636a4beceeebce
[ "MIT" ]
4
2021-03-08T20:06:56.000Z
2021-03-14T18:46:46.000Z
game/Source/OptionsMenu.cpp
alexgesti/Odd-Space
c67aad3c674127147d1cf762e3636a4beceeebce
[ "MIT" ]
1
2021-02-25T11:10:08.000Z
2021-02-25T11:10:08.000Z
game/Source/OptionsMenu.cpp
alexgesti/Odd-Space
c67aad3c674127147d1cf762e3636a4beceeebce
[ "MIT" ]
1
2021-03-03T17:04:57.000Z
2021-03-03T17:04:57.000Z
#include "OptionsMenu.h" #include "SceneManager.h" // Constructor OptionsMenu::OptionsMenu(SceneManager* sceneManager) { this->sceneManager = sceneManager; } // Destructor OptionsMenu::~OptionsMenu() { Unload(); } bool OptionsMenu::Load() { texture = sceneManager->tex->Load("sprites/ui/ui_menupause.png...
35.143369
135
0.615706
[ "render" ]
9a08502499b874a77b6df8ced316c132f5f1aab4
10,473
hpp
C++
include/GlobalNamespace/GameLiftConnectionManager_-GameLiftConnectToServer-d__81.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/GameLiftConnectionManager_-GameLiftConnectToServer-d__81.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/GameLiftConnectionManager_-GameLiftConnectToServer-d__81.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: GameLiftConnectionManager #include ...
61.970414
1,104
0.758331
[ "vector" ]
9a0fa85edff25a670320661c8cb48055162a976d
7,169
cpp
C++
projects/Physics2D/Actor.cpp
JayStilla/AIEPhysics
d3e45c1bbe44987a96ed12781ef9781fba06bcfa
[ "MIT" ]
null
null
null
projects/Physics2D/Actor.cpp
JayStilla/AIEPhysics
d3e45c1bbe44987a96ed12781ef9781fba06bcfa
[ "MIT" ]
null
null
null
projects/Physics2D/Actor.cpp
JayStilla/AIEPhysics
d3e45c1bbe44987a96ed12781ef9781fba06bcfa
[ "MIT" ]
null
null
null
#include "Actor.h" void Actor::Update(float a_deltaTime, const glm::vec3& a_gravity) { if (nullptr != m_geometry) { // static movement Spin(m_angularVelocity * a_deltaTime); Move(m_velocity * a_deltaTime); if (m_dynamic) { // linear force glm::vec3 force = m_force + a_gravity; if (0 < m_material....
34.301435
104
0.669131
[ "geometry" ]
9a1103b8bfb2f4df39f3e8ded56c7e6690665c50
2,793
cc
C++
src/abc025/d.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
src/abc025/d.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
src/abc025/d.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
#include <bitset> #include <cstring> #include <iostream> #include <vector> using namespace std; const int MOD = 1000000007; int dx[4] = {1, 0, -1, 0}; int dy[4] = {0, 1, 0, -1}; int x[5][5]; int iniPlaceI[30], iniPlaceJ[30]; static int dp[(1 << 25) + 10]; inline int toInd(int i, int j) { return i * 5 + j; } bool ...
27.382353
79
0.412818
[ "vector" ]
9a1695272f04cf64c31b4cb06e5979c008092933
26,192
cpp
C++
Source/System/Math/Algebra/Matrix33.cpp
arian153/Engine-5
34f85433bc0a74a7ebe7da350d3f3698de77226e
[ "MIT" ]
2
2020-01-09T07:48:24.000Z
2020-01-09T07:48:26.000Z
Source/System/Math/Algebra/Matrix33.cpp
arian153/Engine-5
34f85433bc0a74a7ebe7da350d3f3698de77226e
[ "MIT" ]
null
null
null
Source/System/Math/Algebra/Matrix33.cpp
arian153/Engine-5
34f85433bc0a74a7ebe7da350d3f3698de77226e
[ "MIT" ]
null
null
null
#include "Matrix33.hpp" #include "Quaternion.hpp" #include "../Utility/Utility.hpp" #include "Vector2.hpp" #include <ostream> #include "Matrix44.hpp" #include "../../Core/Utility/CoreUtility.hpp" #include "../Utility/VectorDef.hpp" namespace Engine5 { Matrix33::Matrix33(Real c0, Real c1, Real c2, Real c3, Real c4...
30.562427
107
0.460331
[ "vector" ]
9a1979b539c7e54ecc738b59c3c0fe392adbb36d
28,348
cpp
C++
tests/unittests/transforms/unittest_streamingmemory.cpp
graphcore/popart
15ce5b098638dc34a4d41ae2a7621003458df798
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
tests/unittests/transforms/unittest_streamingmemory.cpp
graphcore/popart
15ce5b098638dc34a4d41ae2a7621003458df798
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
tests/unittests/transforms/unittest_streamingmemory.cpp
graphcore/popart
15ce5b098638dc34a4d41ae2a7621003458df798
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2021 Graphcore Ltd. All rights reserved. #define BOOST_TEST_MODULE streamingmemory_unittest #include <testutil/irquery/irquery.hpp> #include <testutil/test_graphs/graph_test_models.hpp> #include <boost/test/unit_test.hpp> #include <popart/graphutils.hpp> #include <popart/ir.hpp> #include <popart/op.h...
44.018634
80
0.536369
[ "model" ]
9a1b8122a40c090b5100b844dca2f0e1ee15394d
27,980
cpp
C++
common/CommonStructures.cpp
S1lv10Fr4gn4n1/physics-simulation-tool-ios
6d32bfcbe0b90a9b0112c56faa971ea4be278e93
[ "MIT" ]
null
null
null
common/CommonStructures.cpp
S1lv10Fr4gn4n1/physics-simulation-tool-ios
6d32bfcbe0b90a9b0112c56faa971ea4be278e93
[ "MIT" ]
null
null
null
common/CommonStructures.cpp
S1lv10Fr4gn4n1/physics-simulation-tool-ios
6d32bfcbe0b90a9b0112c56faa971ea4be278e93
[ "MIT" ]
null
null
null
// // CommonStructures.cpp // Physical.Simulation.Tool // // Created by Silvio Fragnani on 21/08/12. // // #include "CommonStructures.h" /***************************** Vector3 *****************************/ Vector3::Vector3() { this->x = 0.0f; this->y = 0.0f; this->z = 0.0f; this->pad = 0.0f; } Ve...
32.610723
141
0.5698
[ "vector", "transform" ]
9a2585e2213c9529f0d818bad101942fae490506
4,122
cpp
C++
tutorials/advanced/utils/src/save_image.cpp
adityak2920/pytorch-cpp
1b087742f8aaaad1a3f10880e35aaf7f93425eef
[ "MIT" ]
null
null
null
tutorials/advanced/utils/src/save_image.cpp
adityak2920/pytorch-cpp
1b087742f8aaaad1a3f10880e35aaf7f93425eef
[ "MIT" ]
null
null
null
tutorials/advanced/utils/src/save_image.cpp
adityak2920/pytorch-cpp
1b087742f8aaaad1a3f10880e35aaf7f93425eef
[ "MIT" ]
null
null
null
// Copyright 2020-present pytorch-cpp Authors #include "save_image.h" #include <torch/torch.h> #define STB_IMAGE_WRITE_IMPLEMENTATION #include "stb_image_write.h" namespace image_utils { namespace { void norm_ip(torch::Tensor img, double min, double max) { img.clamp_(min, max); img.sub_(min).div_(...
34.932203
113
0.556769
[ "vector" ]
9a27a68b266cc83ae331e196dd56a0e524fc42d6
1,354
hpp
C++
modules/slideio/include/opencv2/slideio/svssmallscene.hpp
Booritas/opencv_slideio
86789b833cb5411c71757e7a1d49d481b1b905cd
[ "BSD-3-Clause" ]
null
null
null
modules/slideio/include/opencv2/slideio/svssmallscene.hpp
Booritas/opencv_slideio
86789b833cb5411c71757e7a1d49d481b1b905cd
[ "BSD-3-Clause" ]
null
null
null
modules/slideio/include/opencv2/slideio/svssmallscene.hpp
Booritas/opencv_slideio
86789b833cb5411c71757e7a1d49d481b1b905cd
[ "BSD-3-Clause" ]
null
null
null
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #ifndef OPENCV_slideio_svssmallscene_HPP #define OPENCV_slideio_svssmallscene_HPP #include "opencv2/slideio/svsscene.hpp" #in...
36.594595
137
0.643279
[ "vector" ]
9a317228e97eae9cfe0de412c2d6fefee84ff11c
15,782
cpp
C++
pixelview.cpp
msgmaxim/cp-profiler
6b5327445fb0b62eef607795100d1822af457fab
[ "MIT-feh" ]
null
null
null
pixelview.cpp
msgmaxim/cp-profiler
6b5327445fb0b62eef607795100d1822af457fab
[ "MIT-feh" ]
null
null
null
pixelview.cpp
msgmaxim/cp-profiler
6b5327445fb0b62eef607795100d1822af457fab
[ "MIT-feh" ]
1
2020-04-12T02:44:51.000Z
2020-04-12T02:44:51.000Z
/* 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, * distribute, sublicense, and/or...
24.814465
102
0.625903
[ "vector" ]
9a40e517d0d8f15eff9993880426ad7c221c83d3
655
hxx
C++
include/z5/compression/compressor_base.hxx
davidbrochart/z5
2fc29798a68c66e4c60e3a9f65d4d390336d05d1
[ "MIT" ]
82
2018-02-02T04:03:49.000Z
2022-03-25T07:41:08.000Z
include/z5/compression/compressor_base.hxx
davidbrochart/z5
2fc29798a68c66e4c60e3a9f65d4d390336d05d1
[ "MIT" ]
152
2017-09-18T15:49:05.000Z
2022-03-16T21:07:07.000Z
include/z5/compression/compressor_base.hxx
davidbrochart/z5
2fc29798a68c66e4c60e3a9f65d4d390336d05d1
[ "MIT" ]
27
2017-09-19T14:52:56.000Z
2021-11-25T14:43:47.000Z
#pragma once #include <vector> #include "z5/types/types.hxx" namespace z5 { namespace compression { // abstract basis class for compression template<typename T> class CompressorBase { public: // // API -> must be implemented by child classes // virtual ~CompressorBas...
23.392857
87
0.619847
[ "vector" ]
9a5aaf8b036bbedb845f0cd02709e65ae1b4a146
717
cc
C++
testsuite/test_utils/common_functions.cc
ph4r05/CryptoStreams
0c197842f01994bf22f56121d886a1beebd23e89
[ "MIT" ]
8
2018-03-27T17:02:21.000Z
2021-09-09T07:26:00.000Z
testsuite/test_utils/common_functions.cc
DalavanCloud/CryptoStreams
7ed6eb5898d75389eee7f5afb7595a304f17514c
[ "MIT" ]
47
2018-03-27T17:57:07.000Z
2020-03-06T08:35:52.000Z
testsuite/test_utils/common_functions.cc
DalavanCloud/CryptoStreams
7ed6eb5898d75389eee7f5afb7595a304f17514c
[ "MIT" ]
3
2019-02-09T23:44:07.000Z
2019-09-24T11:06:02.000Z
#include "common_functions.h" namespace testsuite { value_type hex_to_bin(const char input) { if (input >= '0' && input <= '9') return input - '0'; if (input >= 'A' && input <= 'F') return input - 'A' + 10; if (input >= 'a' && input <= 'f') return input - 'a' + 10; throw std::i...
26.555556
85
0.563459
[ "vector" ]
9a6c80e0cf76fb30080b307d64bab936dd2f3270
5,778
cpp
C++
Game/Source/SceneIntro.cpp
Memory-Leakers/Pirates
1f11afe45369a75f924a9682941ffb483e0eae2f
[ "MIT" ]
4
2021-12-21T16:42:10.000Z
2022-01-30T16:16:04.000Z
Game/Source/SceneIntro.cpp
Memory-Leakers/Pirates
1f11afe45369a75f924a9682941ffb483e0eae2f
[ "MIT" ]
null
null
null
Game/Source/SceneIntro.cpp
Memory-Leakers/Pirates
1f11afe45369a75f924a9682941ffb483e0eae2f
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "SceneIntro.h" #include "PhysCore.h" #include "TurnsManager.h" #include "Water.h" #include "GameUI.h" SceneIntro::SceneIntro(Application* app) : Scene(app) {} SceneIntro::~SceneIntro() {} // Load assets bool SceneIntro::Start() { LOG("Loading Intro assets"); b...
24.075
143
0.664763
[ "object" ]
9a6eb7d08a84c45aed014d2920531030fa81db6d
10,338
cpp
C++
artifact/storm/src/storm/solver/SymbolicEliminationLinearEquationSolver.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/solver/SymbolicEliminationLinearEquationSolver.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/solver/SymbolicEliminationLinearEquationSolver.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
1
2022-02-05T12:39:53.000Z
2022-02-05T12:39:53.000Z
#include "storm/solver/SymbolicEliminationLinearEquationSolver.h" #include "storm/storage/dd/DdManager.h" #include "storm/storage/dd/Add.h" #include "storm/utility/dd.h" #include "storm/adapters/RationalFunctionAdapter.h" namespace storm { namespace solver { template<storm::dd::DdType DdType, type...
66.696774
559
0.682627
[ "vector" ]
9a6f1617a2e790fd59267bc2041c0dcd43c2d66c
94
cpp
C++
src/ball.cpp
liamst19/pong-study
03da70fc8092a1c20d5e70b2783d583c1418f95d
[ "MIT" ]
null
null
null
src/ball.cpp
liamst19/pong-study
03da70fc8092a1c20d5e70b2783d583c1418f95d
[ "MIT" ]
null
null
null
src/ball.cpp
liamst19/pong-study
03da70fc8092a1c20d5e70b2783d583c1418f95d
[ "MIT" ]
null
null
null
/** ball.cpp * * Ball object. * */ #include "mobilepiece.h" #include "ball.h"
9.4
25
0.510638
[ "object" ]
9a787e2e16cdf8b608cbb723328c33ef7614a21b
10,103
cpp
C++
Source/Workbenches/Sketcher/sketch_line_create_mode.cpp
neonkingfr/wildogcad
6d9798daa672d3ab293579439f38bb279fa376c7
[ "BSD-3-Clause" ]
null
null
null
Source/Workbenches/Sketcher/sketch_line_create_mode.cpp
neonkingfr/wildogcad
6d9798daa672d3ab293579439f38bb279fa376c7
[ "BSD-3-Clause" ]
null
null
null
Source/Workbenches/Sketcher/sketch_line_create_mode.cpp
neonkingfr/wildogcad
6d9798daa672d3ab293579439f38bb279fa376c7
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************* * Copyright (c) 2007, 2008, CerroKai Development * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribu...
43.547414
133
0.707018
[ "render" ]
9a7bbb8b2229b11825b8d191cc1ec231d3228ccb
4,341
cc
C++
src/pub14_core/simulation/scene.cc
JohnShandy/swganh
d20d22a8dca2e9220a35af0f45f7935ca2eda531
[ "MIT" ]
1
2015-03-25T16:02:17.000Z
2015-03-25T16:02:17.000Z
src/pub14_core/simulation/scene.cc
JohnShandy/swganh
d20d22a8dca2e9220a35af0f45f7935ca2eda531
[ "MIT" ]
null
null
null
src/pub14_core/simulation/scene.cc
JohnShandy/swganh
d20d22a8dca2e9220a35af0f45f7935ca2eda531
[ "MIT" ]
null
null
null
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #include "scene.h" #include <algorithm> #include "swganh/object/object.h" #include "swganh/object/object_controller.h" #include "pub14_core/messages/scene_destroy_object.h" using namespace ...
25.092486
95
0.670583
[ "object" ]
893b897e87eb0aa63245af1bae9dced034dc640a
18,124
cpp
C++
inetsrv/iis/svcs/cmp/asp/reg.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/iis/svcs/cmp/asp/reg.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/iis/svcs/cmp/asp/reg.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*=================================================================== Microsoft IIS Active Server Pages Microsoft Confidential. Copyright 1997 Microsoft Corporation. All Rights Reserved. Component: Registry stuff File: reg.cpp Owner: AndrewS/LeiJin ========================================================...
32.191829
125
0.49062
[ "object" ]
894238130b26324be3107c03f892f48e40b49007
3,882
cpp
C++
tests/util/lock_free_ring_queue_bench.cpp
chisuhua/costream
7478900c35032e849a387a0a3c7b00c597b1e2d8
[ "MIT" ]
2,831
2015-12-24T03:21:07.000Z
2022-03-31T18:37:29.000Z
tests/util/lock_free_ring_queue_bench.cpp
chisuhua/costream
7478900c35032e849a387a0a3c7b00c597b1e2d8
[ "MIT" ]
238
2016-01-26T03:35:35.000Z
2022-03-18T11:17:00.000Z
tests/util/lock_free_ring_queue_bench.cpp
chisuhua/costream
7478900c35032e849a387a0a3c7b00c597b1e2d8
[ "MIT" ]
781
2015-12-24T04:28:34.000Z
2022-03-26T05:23:12.000Z
#include <iostream> #include <iomanip> #include <chrono> #include <thread> #include <vector> #include <assert.h> #include "../../libgo/common/lock_free_ring_queue.h" using namespace std; using namespace std::chrono; #define OUT(x) cout << #x << " = " << x << endl #define O(x) cout << x << endl struct Timer { Timer() ...
26.772414
525
0.484802
[ "vector" ]
895084f9c2093f1ad5a0463b2b90eaa277ae6edc
1,383
hpp
C++
ch02/linear_search.hpp
shbling/CLRS
0ce4ff74b8d2a6376a15306e2441e9a624597d17
[ "MIT" ]
1
2018-11-26T13:54:10.000Z
2018-11-26T13:54:10.000Z
ch02/linear_search.hpp
shbling/CLRS
0ce4ff74b8d2a6376a15306e2441e9a624597d17
[ "MIT" ]
null
null
null
ch02/linear_search.hpp
shbling/CLRS
0ce4ff74b8d2a6376a15306e2441e9a624597d17
[ "MIT" ]
null
null
null
/*************************************************************************** * @file insertion_sort.hpp * @author Alan.W * @date 22 Aug 2014 * @version 2 * @remark CLRS Algorithms implementation in C++ templates. ************************************************************************...
22.306452
86
0.558207
[ "vector" ]
895bbda5af24d5c5c6a8355b44153a13591fa9dd
6,410
cpp
C++
Classes/CrushableModel.cpp
Mshnik/Pineapple
378917353d22d8497769ed8e45d9a73b40d2717e
[ "MIT" ]
null
null
null
Classes/CrushableModel.cpp
Mshnik/Pineapple
378917353d22d8497769ed8e45d9a73b40d2717e
[ "MIT" ]
null
null
null
Classes/CrushableModel.cpp
Mshnik/Pineapple
378917353d22d8497769ed8e45d9a73b40d2717e
[ "MIT" ]
1
2019-12-25T02:32:13.000Z
2019-12-25T02:32:13.000Z
#include "CrushableModel.h" #include <cornell/CUPolygonNode.h> #include <cornell/CUAssetManager.h> #include <cornell/CUSceneManager.h> #pragma mark - #pragma mark Physics Constants /** The amount to shrink the body fixture (vertically) relative to the image */ #define CRUSHABLE_VSHRINK 0.3f /** The amount to shrin...
29.004525
111
0.711856
[ "object", "shape" ]
896903e0098c10b4fb365c83815dacb77b22af85
18,688
cpp
C++
20/main.cpp
zv0n/advent_of_code_2020
f730794ff75e95286e55df8ebbb4a514d67b93e8
[ "Unlicense" ]
null
null
null
20/main.cpp
zv0n/advent_of_code_2020
f730794ff75e95286e55df8ebbb4a514d67b93e8
[ "Unlicense" ]
null
null
null
20/main.cpp
zv0n/advent_of_code_2020
f730794ff75e95286e55df8ebbb4a514d67b93e8
[ "Unlicense" ]
1
2020-12-20T16:35:13.000Z
2020-12-20T16:35:13.000Z
#include <fstream> #include <iostream> #include <regex> #include <sstream> #include <unordered_set> #include <vector> enum Pos { TOP, TOP_R, BOTTOM, BOTTOM_R, LEFT, LEFT_R, RIGHT, RIGHT_R, EMPTY, }; class Tile { public: Tile() { index = -1; } Tile( size_t num...
29.476341
77
0.488656
[ "vector" ]
897229b483b92249908d64edaecfcf9cccc7d3ff
7,056
cpp
C++
FlexEngine/src/Cameras/VehicleCamera.cpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
762
2017-11-07T23:40:58.000Z
2022-03-31T16:03:22.000Z
FlexEngine/src/Cameras/VehicleCamera.cpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
5
2018-03-13T14:41:06.000Z
2020-11-01T12:02:29.000Z
FlexEngine/src/Cameras/VehicleCamera.cpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
43
2017-11-17T11:22:37.000Z
2022-03-14T01:51:19.000Z
#include "stdafx.hpp" #include "Cameras/VehicleCamera.hpp" IGNORE_WARNINGS_PUSH #include <glm/gtc/matrix_transform.hpp> #include <glm/gtx/rotate_vector.hpp> // for rotateY #include <glm/vec2.hpp> #include <LinearMath/btIDebugDraw.h> IGNORE_WARNINGS_POP #include "Graphics/Renderer.hpp" #include "Helpers.hpp" #includ...
30.413793
152
0.743339
[ "transform" ]
897b3b4824ca17677c7703b4c60775aca179f9dc
2,580
hpp
C++
GC/TinyPrep.hpp
GnarlyMshtep/DORAM
c78f7d516b52046b3105e8b967f048faea6c6fed
[ "BSD-2-Clause" ]
null
null
null
GC/TinyPrep.hpp
GnarlyMshtep/DORAM
c78f7d516b52046b3105e8b967f048faea6c6fed
[ "BSD-2-Clause" ]
3
2022-02-22T16:14:53.000Z
2022-02-22T16:37:41.000Z
GC/TinyPrep.hpp
GnarlyMshtep/DORAM
c78f7d516b52046b3105e8b967f048faea6c6fed
[ "BSD-2-Clause" ]
null
null
null
/* * TinyPrep.cpp * */ #include "TinierSharePrep.h" #include "Protocols/MascotPrep.hpp" namespace GC { template<class T> void TinierSharePrep<T>::init_real(Player& P) { assert(real_triple_generator == 0); auto& thread = ShareThread<secret_type>::s(); real_triple_generator = new typename T::whole_type...
33.947368
79
0.574419
[ "vector" ]
897bebd3a32c9dea9fa3c10d320681e8ad465988
2,647
cpp
C++
UVA00670.cpp
MaSteve/UVA-problems
3a240fcca02e24a9c850b7e86062f8581df6f95f
[ "MIT" ]
17
2015-12-08T18:50:03.000Z
2022-03-16T01:23:20.000Z
UVA00670.cpp
MaSteve/UVA-problems
3a240fcca02e24a9c850b7e86062f8581df6f95f
[ "MIT" ]
null
null
null
UVA00670.cpp
MaSteve/UVA-problems
3a240fcca02e24a9c850b7e86062f8581df6f95f
[ "MIT" ]
6
2017-04-04T18:16:23.000Z
2020-06-28T11:07:22.000Z
#include <iostream> #include <vector> #include <algorithm> #include <queue> #include <utility> #include <cmath> using namespace std; typedef vector<int> vi; typedef pair<int, int> ii; typedef vector<ii> vii; int mf, f, s, t, INF = 2000000; int res[204][204]; vi p; inline double dis(int x0, int y0, int x1, int y1) { ...
27.863158
199
0.365319
[ "vector" ]
8984d0a04a8e0e53945e01c8e1cbde1bbdb24910
3,291
cpp
C++
lib/commands/src/CommandAttack.cpp
maxim-puchkov/TheAdventure2019
049b0318b492f7a360817825f8772d7e28b5f75e
[ "MIT" ]
null
null
null
lib/commands/src/CommandAttack.cpp
maxim-puchkov/TheAdventure2019
049b0318b492f7a360817825f8772d7e28b5f75e
[ "MIT" ]
null
null
null
lib/commands/src/CommandAttack.cpp
maxim-puchkov/TheAdventure2019
049b0318b492f7a360817825f8772d7e28b5f75e
[ "MIT" ]
null
null
null
#include "CommandAttack.h" #include <boost/algorithm/string.hpp> #include <iostream> using internationalization::Internationalization; void CommandAttack::executeInHeartbeat(const std::string& username, const std::vector<std::string>& fullCommand) { auto& currentCombat = combatManager.getCombatWithPlayer(username...
43.302632
128
0.694318
[ "vector" ]
898c632f58b7d41ba79c026856e31a5a4a663ba6
654
hpp
C++
helpers_extended/include/GarrysMod/Symbols.hpp
SupinePandora43/garrysmod_common
88dc3e4fc1983bd5ace1ff1ecfd2355347e453f6
[ "BSD-3-Clause" ]
null
null
null
helpers_extended/include/GarrysMod/Symbols.hpp
SupinePandora43/garrysmod_common
88dc3e4fc1983bd5ace1ff1ecfd2355347e453f6
[ "BSD-3-Clause" ]
null
null
null
helpers_extended/include/GarrysMod/Symbols.hpp
SupinePandora43/garrysmod_common
88dc3e4fc1983bd5ace1ff1ecfd2355347e453f6
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <vector> #include "Symbol.hpp" namespace Symbols { extern const std::vector<Symbol> CBasePlayer_HandleClientLuaError; extern const std::vector<Symbol> FileSystemFactory; extern const Symbol g_pFullFileSystem; extern const std::vector<Symbol> IServer; extern const std::vector<Symbol> CNetChan_P...
29.727273
66
0.830275
[ "vector" ]
898cf77cb32dcd785dbb678b05a4bb0a863df934
47,308
cpp
C++
core/jni/android/graphics/Paint.cpp
Keneral/aframeworksbase
e1212ca12f63686efee5c32582b2878c9ae71ead
[ "Unlicense" ]
null
null
null
core/jni/android/graphics/Paint.cpp
Keneral/aframeworksbase
e1212ca12f63686efee5c32582b2878c9ae71ead
[ "Unlicense" ]
null
null
null
core/jni/android/graphics/Paint.cpp
Keneral/aframeworksbase
e1212ca12f63686efee5c32582b2878c9ae71ead
[ "Unlicense" ]
null
null
null
/* libs/android_runtime/android/graphics/Paint.cpp ** ** Copyright 2006, The Android Open Source Project ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/li...
45.974733
113
0.653674
[ "vector" ]
898d58fd3e74c87ef6bdcb0303dc38a43265bbef
272
cpp
C++
AtCoder/abc085/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/abc085/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/abc085/b/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <set> #include <vector> using namespace std; int main() { int N; cin >> N; set<int> S; for (int i = 0; i < N; ++i) { int a; cin >> a; S.insert(a); } printf("%d\n", S.size()); }
18.133333
37
0.533088
[ "vector" ]
898e62599d882725236a92aa9272ad3a7f668c6f
654
cpp
C++
294/B/main.cpp
tamimcsedu19/codeforces
8e61025b99bc0a5b32cb03f736123b39dcc23f61
[ "Apache-2.0" ]
null
null
null
294/B/main.cpp
tamimcsedu19/codeforces
8e61025b99bc0a5b32cb03f736123b39dcc23f61
[ "Apache-2.0" ]
null
null
null
294/B/main.cpp
tamimcsedu19/codeforces
8e61025b99bc0a5b32cb03f736123b39dcc23f61
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <bits/stdc++.h> using namespace std; vector<int> A,B,C; int main() { int n; cin>>n; for(int i=0;i<n;++i) { int x; cin>>x; A.push_back(x); } for(int i=0;i<n-1;++i) { int x; cin>>x; B.push_back(x); } for(int i=0;i<n-2;++i) { int x; c...
21.096774
76
0.487768
[ "vector" ]