hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
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
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
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
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
4ce63cde6592cfc58aee4772fc5e52f4f52659df
229
cpp
C++
point.cpp
Unicorn3D/Analyst
25261a601c97a64bffd3926c125dc441ffdbb661
[ "MIT" ]
1
2016-06-16T07:08:54.000Z
2016-06-16T07:08:54.000Z
point.cpp
Unicorn3D/Analyst
25261a601c97a64bffd3926c125dc441ffdbb661
[ "MIT" ]
null
null
null
point.cpp
Unicorn3D/Analyst
25261a601c97a64bffd3926c125dc441ffdbb661
[ "MIT" ]
null
null
null
#include "point.h" point::point() { } point::point(float lat, float lng) { this->lat = lat; this->lng = lng; } void point::write(QJsonObject &json) const { json["lat"] = this->lat; json["lng"] = this->lng; }
11.45
42
0.572052
Unicorn3D
4ce778d1f6a68cc2e4507edb1153366b4c8b65d9
10,249
cpp
C++
thirdparty/physx/PhysXSDK/Source/PhysXMetaData/core/src/PxMetaDataObjects.cpp
johndpope/echo
e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7
[ "MIT" ]
null
null
null
thirdparty/physx/PhysXSDK/Source/PhysXMetaData/core/src/PxMetaDataObjects.cpp
johndpope/echo
e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7
[ "MIT" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
thirdparty/physx/PhysXSDK/Source/PhysXMetaData/core/src/PxMetaDataObjects.cpp
johndpope/echo
e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7
[ "MIT" ]
null
null
null
/* * Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved. * * NVIDIA CORPORATION and its licensors retain all intellectual property * and proprietary rights in and to this software, related documentation * and any modifications thereto. Any use, reproduction, disclosure or * distribution of this so...
56.624309
192
0.796273
johndpope
4ce77d76d10cffdd619c575b32bf8f1bbca39b7b
6,571
cpp
C++
src/CellCam.cpp
odinsbane/toy-model-cell-gl
a1e976d51e9673a364f130cf5685d86ed0d50ea4
[ "MIT" ]
null
null
null
src/CellCam.cpp
odinsbane/toy-model-cell-gl
a1e976d51e9673a364f130cf5685d86ed0d50ea4
[ "MIT" ]
null
null
null
src/CellCam.cpp
odinsbane/toy-model-cell-gl
a1e976d51e9673a364f130cf5685d86ed0d50ea4
[ "MIT" ]
null
null
null
#include "CellCam.h" #include "error.h" #include "stdio.h" CellCam::CellCam(GLuint &program){ theProgram = program; aspect = 1.0f; setPerspectiveMatrix(); xx = new float[4]; yy = new float[4]; zz = new float[4]; r = 1; for(int i = 0; i<4; i++){ quarternion[i] = 0.0; ...
29.599099
112
0.628671
odinsbane
4ceb3c3726b0bcc22f9208e1cc63b0c9b09a20d0
3,009
cpp
C++
GraphManager/shared/DrRef.cpp
TheWhiteEagle/Dryad
ad28579dd8303925befc6502633949850b7ca550
[ "Apache-2.0" ]
242
2015-01-04T08:08:04.000Z
2022-03-31T02:00:14.000Z
GraphManager/shared/DrRef.cpp
TheWhiteEagle/Dryad
ad28579dd8303925befc6502633949850b7ca550
[ "Apache-2.0" ]
2
2015-04-30T07:44:42.000Z
2015-05-19T06:24:31.000Z
GraphManager/shared/DrRef.cpp
TheWhiteEagle/Dryad
ad28579dd8303925befc6502633949850b7ca550
[ "Apache-2.0" ]
50
2015-01-13T20:39:53.000Z
2022-01-09T20:42:34.000Z
/* Copyright (c) Microsoft Corporation 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 THIS CODE IS PROVIDED *AS IS* BASIS, W...
23.880952
100
0.699236
TheWhiteEagle
4cec70398d1c3c0086f32b0ada552e06029c28fc
782
cpp
C++
wumpus_simulator/src/model/Agent.cpp
dasys-lab/cnc-turtlebots
c3749d3905f85c7955a8da8cb3194f7fbe0ba64b
[ "MIT" ]
null
null
null
wumpus_simulator/src/model/Agent.cpp
dasys-lab/cnc-turtlebots
c3749d3905f85c7955a8da8cb3194f7fbe0ba64b
[ "MIT" ]
null
null
null
wumpus_simulator/src/model/Agent.cpp
dasys-lab/cnc-turtlebots
c3749d3905f85c7955a8da8cb3194f7fbe0ba64b
[ "MIT" ]
null
null
null
/* * Agent.cpp * * Created on: Dec 1, 2016 * Author: stefan */ #include <model/Agent.h> namespace wumpus_simulator { Agent::Agent(shared_ptr<GroundTile> tile) { this->tile = tile; type = "agent"; arrow = false; hasGold = false; this->heading = WumpusEnums::heading::up; } Agent::~Agent() { ...
13.254237
53
0.648338
dasys-lab
4cf026b586614503a05d7e51c2ecb3e9b6737920
2,843
hpp
C++
src/Evolution/Systems/NewtonianEuler/PrimitiveFromConservative.hpp
GAcuna001/spectre
645a7f203b2ced1b1205e346d3abaf2adaf0e6ba
[ "MIT" ]
null
null
null
src/Evolution/Systems/NewtonianEuler/PrimitiveFromConservative.hpp
GAcuna001/spectre
645a7f203b2ced1b1205e346d3abaf2adaf0e6ba
[ "MIT" ]
null
null
null
src/Evolution/Systems/NewtonianEuler/PrimitiveFromConservative.hpp
GAcuna001/spectre
645a7f203b2ced1b1205e346d3abaf2adaf0e6ba
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <cstddef> #include "DataStructures/Tensor/TypeAliases.hpp" #include "Evolution/Systems/NewtonianEuler/TagsDeclarations.hpp" // IWYU pragma: keep #include "PointwiseFunctions/Hydro/EquationsOfState/EquationOfState.hpp" // IW...
36.922078
94
0.730918
GAcuna001
4cf4105a46744bc1e966fc799296dfbba60826df
3,997
cpp
C++
src/SignalOperation/KeySampler.cpp
Lut1n/QuasarBell
c5b5052ac1db94d0a97fd07e512883a9fd244fd5
[ "MIT" ]
2
2021-01-31T10:06:33.000Z
2021-03-10T13:20:15.000Z
src/SignalOperation/KeySampler.cpp
Lut1n/QuasarBell
c5b5052ac1db94d0a97fd07e512883a9fd244fd5
[ "MIT" ]
null
null
null
src/SignalOperation/KeySampler.cpp
Lut1n/QuasarBell
c5b5052ac1db94d0a97fd07e512883a9fd244fd5
[ "MIT" ]
null
null
null
#include "SignalOperation/KeySampler.hpp" #include <iostream> #include <string> #include "imgui.h" #include "Json/Json.hpp" //-------------------------------------------------------------- KeySampler::KeySampler() { _hasCustomData = true; makeOutput("value", BaseOperationDataType::Float); ...
30.052632
105
0.504128
Lut1n
4cf47eebe814d6cd8b406fc93172bcbfcf6d1d08
6,073
cpp
C++
src/ML/Graphics/Image.cpp
Gurman8r/ML
171e7865291f3fd9ea748d59f9d4bdb4e2a6eed1
[ "MIT" ]
3
2019-10-09T19:03:05.000Z
2019-12-15T14:22:38.000Z
src/ML/Graphics/Image.cpp
Gurman8r/ML
171e7865291f3fd9ea748d59f9d4bdb4e2a6eed1
[ "MIT" ]
null
null
null
src/ML/Graphics/Image.cpp
Gurman8r/ML
171e7865291f3fd9ea748d59f9d4bdb4e2a6eed1
[ "MIT" ]
null
null
null
#include <ML/Graphics/Image.hpp> #include <ML/Core/Debug.hpp> #define STB_IMAGE_IMPLEMENTATION #include <stb/stb_image.h> /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ namespace ml { /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ static inline...
22.916981
84
0.503376
Gurman8r
e07cfb66e6048da2a26e32e0aa88f53c6b7541cb
5,683
cpp
C++
DemoApps/Shared/VulkanWillemsMeshDemoAppExperimental/source/Shared/VulkanWillemsMeshDemoAppExperimental/VulkanMeshLoaderAssimp.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
3
2019-01-19T20:21:24.000Z
2021-08-10T02:11:32.000Z
DemoApps/Shared/VulkanWillemsMeshDemoAppExperimental/source/Shared/VulkanWillemsMeshDemoAppExperimental/VulkanMeshLoaderAssimp.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
null
null
null
DemoApps/Shared/VulkanWillemsMeshDemoAppExperimental/source/Shared/VulkanWillemsMeshDemoAppExperimental/VulkanMeshLoaderAssimp.cpp
alejandrolozano2/OpenGL_DemoFramework
5fd85f05c98cc3d0c0a68bac438035df8cabaee7
[ "MIT", "BSD-3-Clause" ]
1
2021-08-10T02:11:33.000Z
2021-08-10T02:11:33.000Z
/* * Mesh loader for creating Vulkan resources from models loaded with ASSIMP * * Copyright (C) 2016 by Sascha Willems - www.saschawillems.de * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ // Based on a code by Sascha Willems from https://github.com/SaschaWillems/Vulkan ...
36.429487
145
0.665846
alejandrolozano2
e07ee8ca0eebbbfd6367120f3f5d286321f641ff
465
cpp
C++
src/loggers/messenger_logger.cpp
pmenon/noisepage
73d50cdfa2e15b5d45e61b51e34672d10a851e14
[ "MIT" ]
971
2020-09-13T10:24:02.000Z
2022-03-31T07:02:51.000Z
src/loggers/messenger_logger.cpp
pmenon/noisepage
73d50cdfa2e15b5d45e61b51e34672d10a851e14
[ "MIT" ]
1,019
2018-07-20T23:11:10.000Z
2020-09-10T06:41:42.000Z
src/loggers/messenger_logger.cpp
pmenon/noisepage
73d50cdfa2e15b5d45e61b51e34672d10a851e14
[ "MIT" ]
318
2018-07-23T16:48:16.000Z
2020-09-07T09:46:31.000Z
#include "loggers/messenger_logger.h" #include <memory> namespace noisepage::messenger { #ifdef NOISEPAGE_USE_LOGGING common::SanctionedSharedPtr<spdlog::logger>::Ptr messenger_logger = nullptr; void InitMessengerLogger() { if (messenger_logger == nullptr) { messenger_logger = std::make_shared<spdlog::logger>(...
27.352941
103
0.75914
pmenon
e084a7e9ed1121316e77fba00ea902f104838b11
8,844
inl
C++
include/tpf/geometry/tpf_cuboid.inl
UniStuttgart-VISUS/tpf
cf9327363242daff9644bc0d0e40577cdaaf97aa
[ "MIT" ]
null
null
null
include/tpf/geometry/tpf_cuboid.inl
UniStuttgart-VISUS/tpf
cf9327363242daff9644bc0d0e40577cdaaf97aa
[ "MIT" ]
1
2021-06-10T15:24:28.000Z
2021-06-10T15:24:28.000Z
include/tpf/geometry/tpf_cuboid.inl
UniStuttgart-VISUS/tpf
cf9327363242daff9644bc0d0e40577cdaaf97aa
[ "MIT" ]
1
2021-03-19T16:08:34.000Z
2021-03-19T16:08:34.000Z
#include "tpf_cuboid.h" #include "tpf_geometric_object.h" #include "tpf_point.h" #include "../exception/tpf_not_implemented_exception.h" #include <CGAL/Iso_cuboid_3.h> #include <memory> #include <vector> namespace tpf { namespace geometry { template <typename floatp_t, typename kernel_t> in...
39.482143
146
0.599389
UniStuttgart-VISUS
e086d715be6ca76019b03df22548778482286e4f
1,428
cpp
C++
Inheritance/main.cpp
clemaitre58/LessonsCpp
a385b30c9ca970f0be68a781a55cfe409058aa05
[ "MIT" ]
null
null
null
Inheritance/main.cpp
clemaitre58/LessonsCpp
a385b30c9ca970f0be68a781a55cfe409058aa05
[ "MIT" ]
null
null
null
Inheritance/main.cpp
clemaitre58/LessonsCpp
a385b30c9ca970f0be68a781a55cfe409058aa05
[ "MIT" ]
5
2020-04-11T20:19:27.000Z
2020-04-14T04:20:19.000Z
#include <iostream> #include "inheritance.hpp" int main() { inheritance::Parent my_parent; my_parent.set_a(1); my_parent.set_b(2); my_parent.set_c(3); std::cout << "My parent a attribute value : " << my_parent.get_a() << std::endl; std::cout << "My parent b attribute value : " << my_parent....
31.733333
86
0.606443
clemaitre58
e087cd03a4bb1630131fb1b690a616af6b3df221
938
cpp
C++
src/apply_gate.cpp
Milos9304/FastVQA
a48f535212c5d081009f32a707cb79e92f5273d2
[ "MIT" ]
null
null
null
src/apply_gate.cpp
Milos9304/FastVQA
a48f535212c5d081009f32a707cb79e92f5273d2
[ "MIT" ]
null
null
null
src/apply_gate.cpp
Milos9304/FastVQA
a48f535212c5d081009f32a707cb79e92f5273d2
[ "MIT" ]
null
null
null
#include "accelerator.h" #include "logger.h" namespace fastVQA{ void Accelerator::apply_gate(Gate gate, double param){ std::string message; switch(gate.code){ case Gate::g_H: logd("H " + std::to_string(gate.qubit1)); hadamard(qureg, gate.qubit1); break; case Gate::g_Ry: logd("Ry " + std::to_string(gate....
23.45
82
0.659915
Milos9304
e08d53775ab8572776061e0a0100004193ca1993
279
hpp
C++
ext-falcon-bms-linear-acc/falcon-bms-ext.hpp
dendisuhubdy/opentrack
0f13f02f2fdce44934476665a9e3bc97c1fccb82
[ "ISC" ]
2,134
2015-01-02T04:47:23.000Z
2022-03-29T14:04:54.000Z
ext-falcon-bms-linear-acc/falcon-bms-ext.hpp
dendisuhubdy/opentrack
0f13f02f2fdce44934476665a9e3bc97c1fccb82
[ "ISC" ]
1,284
2015-01-02T20:02:47.000Z
2022-03-29T16:55:55.000Z
ext-falcon-bms-linear-acc/falcon-bms-ext.hpp
dendisuhubdy/opentrack
0f13f02f2fdce44934476665a9e3bc97c1fccb82
[ "ISC" ]
373
2015-01-02T04:50:30.000Z
2022-03-28T13:39:34.000Z
#pragma once #include "api/plugin-api.hpp" struct falcon_bms_acceleration_ext : IExtension { event_mask hook_types() override; falcon_bms_acceleration_ext(); void process_finished(Pose&p) override; module_status initialize() override { return status_ok(); } };
23.25
63
0.749104
dendisuhubdy
e09358aeb14a393f891f30a12c0d4ddf0fd82621
1,403
cpp
C++
poj 1947 Rebuilding Roads/2016.12.6.1.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
poj 1947 Rebuilding Roads/2016.12.6.1.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
poj 1947 Rebuilding Roads/2016.12.6.1.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #include<cstdlib> #include<cmath> #include<vector> #include<stack> #include<set> #include<map> #include<queue> #include<algorithm> using namespace std; vector<int>sons[155]; int dp[155][155]; int father[155]; int n,p; int dfs(int root){ int i,j,k; for(i=0;i<...
22.269841
96
0.442623
1980744819
e0946149d7244e942d8fd49021dd340ed44627f7
845
cpp
C++
acmicpc.net/source/2740.cpp
tdm1223/Algorithm
994149afffa21a81e38b822afcfc01f677d9e430
[ "MIT" ]
7
2019-06-26T07:03:32.000Z
2020-11-21T16:12:51.000Z
acmicpc.net/source/2740.cpp
tdm1223/Algorithm
994149afffa21a81e38b822afcfc01f677d9e430
[ "MIT" ]
null
null
null
acmicpc.net/source/2740.cpp
tdm1223/Algorithm
994149afffa21a81e38b822afcfc01f677d9e430
[ "MIT" ]
9
2019-02-28T03:34:54.000Z
2020-12-18T03:02:40.000Z
// 2740. 행렬 곱셈 // 2020.05.09 // 구현, 수학 #include<iostream> using namespace std; int a[101][101]; int b[101][101]; int c[101][101]; int main() { int n, m, n2, m2; cin >> n >> m; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { cin >> a[i][j]; } } ...
15.943396
45
0.294675
tdm1223
e095c0362c30f50b3a670b8c390383232eefd4ed
37,013
cpp
C++
source_code/system_fpl/source_code/calculation/section_fpl/mechanisms/dike/Fpl_Seepage_Calculator_Dike.cpp
dabachma/ProMaIDes_src
3fa6263c46f89abbdb407f2e1643843d54eb6ccc
[ "BSD-3-Clause" ]
null
null
null
source_code/system_fpl/source_code/calculation/section_fpl/mechanisms/dike/Fpl_Seepage_Calculator_Dike.cpp
dabachma/ProMaIDes_src
3fa6263c46f89abbdb407f2e1643843d54eb6ccc
[ "BSD-3-Clause" ]
null
null
null
source_code/system_fpl/source_code/calculation/section_fpl/mechanisms/dike/Fpl_Seepage_Calculator_Dike.cpp
dabachma/ProMaIDes_src
3fa6263c46f89abbdb407f2e1643843d54eb6ccc
[ "BSD-3-Clause" ]
null
null
null
#include "source_code\Fpl_Headers_Precompiled.h" //#include "Fpl_Seepage_Calculator_Dike.h" //Default constructor Fpl_Seepage_Calculator_Dike::Fpl_Seepage_Calculator_Dike(void){ this->ptr_waterside_cub=NULL; this->ptr_landside_cub=NULL; this->ptr_cubature=NULL; this->seepage_calc_max=_fpl_max_waterlevel_seepage...
39.884698
262
0.764947
dabachma
e0a00fc1c7dc3aa77dd5dd692eb750da571331c4
2,136
cc
C++
source/src/Analysis/OverlayEstimator/TreeProcessor.cc
rete/Baboon
e5b2cfe6b9e5b5a41c2c68feda84b8df109eb086
[ "FSFAP" ]
null
null
null
source/src/Analysis/OverlayEstimator/TreeProcessor.cc
rete/Baboon
e5b2cfe6b9e5b5a41c2c68feda84b8df109eb086
[ "FSFAP" ]
null
null
null
source/src/Analysis/OverlayEstimator/TreeProcessor.cc
rete/Baboon
e5b2cfe6b9e5b5a41c2c68feda84b8df109eb086
[ "FSFAP" ]
null
null
null
/// \file TreeProcessor.cc /* * * TreeProcessor.cc source template generated by fclass * Creation date : ven. mai 3 2013 * Copyright (c) CNRS , IPNL * * All Right Reserved. * Use and copying of these libraries and preparation of derivative works * based upon these libraries are permitted. Any copy of these li...
28.105263
74
0.742509
rete
e0a0463fb6b548ea1917d880d9df81d6be1553d2
673
cpp
C++
cpp/july/day_19_Add Binary.cpp
kashyapvinay/leetcode-challenge
750b0056cb547dc5266d142a9a5048ebd50d8ae3
[ "MIT" ]
1
2020-06-01T11:35:46.000Z
2020-06-01T11:35:46.000Z
cpp/july/day_19_Add Binary.cpp
kashyapvinay/leetcode-challenge
750b0056cb547dc5266d142a9a5048ebd50d8ae3
[ "MIT" ]
null
null
null
cpp/july/day_19_Add Binary.cpp
kashyapvinay/leetcode-challenge
750b0056cb547dc5266d142a9a5048ebd50d8ae3
[ "MIT" ]
null
null
null
class Solution { public: string addBinary(string a, string b) { string res = ""; int i = 0, j, c, s; reverse(a.begin(), a.end()); reverse(b.begin(), b.end()); c = 0; while(i < a.size() || i < b.size()){ s = c; if(i < a.size()){ ...
23.206897
44
0.294205
kashyapvinay
e0a06b63d3b458bbbfe2303704913d618734eae6
2,558
cpp
C++
PID_Autotune/lib/QuadEnc/QuadEnc.cpp
PassionForRobotics/DeadReconQuadratureEncoder
d112ea1eb3cd3014347cb88ee593babddd72b353
[ "MIT" ]
null
null
null
PID_Autotune/lib/QuadEnc/QuadEnc.cpp
PassionForRobotics/DeadReconQuadratureEncoder
d112ea1eb3cd3014347cb88ee593babddd72b353
[ "MIT" ]
null
null
null
PID_Autotune/lib/QuadEnc/QuadEnc.cpp
PassionForRobotics/DeadReconQuadratureEncoder
d112ea1eb3cd3014347cb88ee593babddd72b353
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "QuadEnc.h" #include <DeadReckoner.h> #define SPEED_COMPUTE_INTERVAL (10.0) #define ENCODER_PULSES_PER_REV (334) #define SPEED_MUTIPLIER (9000.0) // To match output QuadEncoder::QuadEncoder(int _pin_1, int _pin_2)//, float _radius, float _separation, int _ticks_per_rev, int _comput...
27.804348
130
0.666927
PassionForRobotics
e0a15e7e55f505dd57d84fd8639e330a8a3e04af
334
cpp
C++
leetcode/126. Word Ladder II/main.cpp
joycse06/LeetCode-1
ad105bd8c5de4a659c2bbe6b19f400b926c82d93
[ "Fair" ]
1
2021-02-11T01:23:10.000Z
2021-02-11T01:23:10.000Z
leetcode/126. Word Ladder II/main.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
null
null
null
leetcode/126. Word Ladder II/main.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
1
2021-03-25T17:11:14.000Z
2021-03-25T17:11:14.000Z
#include "../+Helper/Helper.h" #include "s2.cpp" #include <cstdio> int main() { Solution s; unordered_set<string> d{"hot","cog","dot","dog","hit","lot","log"}; string a = "hit"; string b = "cog"; auto v = s.findLadders(a, b, d); for (auto vv : v) { for (auto s : vv) { cout << s << ","; } cout << endl; ...
18.555556
68
0.54491
joycse06
e0a49d9b9c25435467fcdba032d33856a947ad6d
24,822
cpp
C++
src/CSeahaven.cpp
colinw7/CQSeahaven
fc32309db202637e3330dd011fe32b21edbc125c
[ "MIT" ]
null
null
null
src/CSeahaven.cpp
colinw7/CQSeahaven
fc32309db202637e3330dd011fe32b21edbc125c
[ "MIT" ]
null
null
null
src/CSeahaven.cpp
colinw7/CQSeahaven
fc32309db202637e3330dd011fe32b21edbc125c
[ "MIT" ]
null
null
null
#include <CSeahaven.h> #include <CSeahavenStack.h> #include <CSeahavenPile.h> #include <CSeahavenWorkArea.h> #include <CSeahavenMove.h> #include <CInstCount.h> #include <CCardDeck.h> #include <CStrUtil.h> #include <cstring> enum { MAX_ITERATIONS = 100000, DIE_ITERATIONS = 101000 }; bool CSeahaven::debug_ = false; ...
20.295993
95
0.611595
colinw7
e0a7cf516ede79dbbb32b6c1554e2c30e6d74738
75,193
cpp
C++
tests/PathOpsOpTest.cpp
omapzoom/platform-external-skia
50bf382c46a9d2348701cb3ce822a306bd9f3812
[ "BSD-3-Clause" ]
null
null
null
tests/PathOpsOpTest.cpp
omapzoom/platform-external-skia
50bf382c46a9d2348701cb3ce822a306bd9f3812
[ "BSD-3-Clause" ]
null
null
null
tests/PathOpsOpTest.cpp
omapzoom/platform-external-skia
50bf382c46a9d2348701cb3ce822a306bd9f3812
[ "BSD-3-Clause" ]
2
2019-02-04T02:15:39.000Z
2021-03-04T00:45:13.000Z
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "PathOpsExtendedTest.h" #define TEST(name) { name, #name } static void cubicOp1d(skiatest::Reporter* reporter) { SkPath path, pathB; path.setFillType(SkPath:...
34.319032
119
0.689014
omapzoom
e0a9be48a2c317e296d85914fe77faa0f2a48d69
7,639
cpp
C++
cdl/InputLogger.cpp
RetroReversing/libRetroReversing
b0a029b76c92e38340550a5a21e2a0d2f6cb10db
[ "MIT" ]
8
2020-01-20T18:56:14.000Z
2022-01-16T02:00:49.000Z
cdl/InputLogger.cpp
RetroReversing/libRetroReversing
b0a029b76c92e38340550a5a21e2a0d2f6cb10db
[ "MIT" ]
9
2020-05-18T12:02:20.000Z
2022-02-13T05:41:37.000Z
cdl/InputLogger.cpp
RetroReversing/libRetroReversing
b0a029b76c92e38340550a5a21e2a0d2f6cb10db
[ "MIT" ]
4
2020-03-19T22:36:40.000Z
2021-07-05T02:53:09.000Z
#include "CDL.hpp" #include <queue> #include "../include/libRR.h" struct retro_input_descriptor desc[64]; int total_input_buttons=0; std::queue<unsigned long long> button_history; std::queue<unsigned long long> playback_button_history; // Should append is for when you were playing back a history and it reached the end...
36.550239
127
0.716586
RetroReversing
e0a9d2102a913327888cdfaa8be0df079a3fedd5
2,886
cpp
C++
src/business/plate_recognition_worker.cpp
lvnux/midden
261e2661690e9212ccb90dc64a02fde40f6ce1a7
[ "MIT" ]
1
2021-06-13T14:13:31.000Z
2021-06-13T14:13:31.000Z
src/business/plate_recognition_worker.cpp
lvnux/midden
261e2661690e9212ccb90dc64a02fde40f6ce1a7
[ "MIT" ]
null
null
null
src/business/plate_recognition_worker.cpp
lvnux/midden
261e2661690e9212ccb90dc64a02fde40f6ce1a7
[ "MIT" ]
null
null
null
#include "plate_recognition_worker.h" #include "thread_macro.h" #include "user_thread_macro.h" #include "log.h" #include "car_http_thread.h" #include "general.h" #include "car_algo/pd_api.h" PlateRecognitionWorker* PlateRecognitionWorker::inst_ = new PlateRecognitionWorker(); PlateRecognitionWorker::PlateRecognitio...
20.614286
112
0.646916
lvnux
e0aaac1f8352e2bc5057754bb2354cf49b9d6651
2,964
cpp
C++
docs/rgba_example.cpp
Clemapfel/jluna
5768f4b8520f28e219788d28c8e84418257c5994
[ "MIT" ]
102
2022-02-06T02:54:32.000Z
2022-03-30T12:56:07.000Z
docs/rgba_example.cpp
Clemapfel/jluna
5768f4b8520f28e219788d28c8e84418257c5994
[ "MIT" ]
9
2022-02-04T21:21:39.000Z
2022-03-18T20:44:08.000Z
docs/rgba_example.cpp
Clemapfel/jluna
5768f4b8520f28e219788d28c8e84418257c5994
[ "MIT" ]
6
2022-03-07T07:15:36.000Z
2022-03-14T14:56:29.000Z
// // Copyright 2022 Clemens Cords // Created on 19.04.22 by clem (mail@clemens-cords.com) // // this file summarizes all code from the usertype section of the manual // see: https://github.com/Clemapfel/jluna/blob/master/docs/manual.md#usertypes // #include <jluna.hpp> using namespace jluna; // define RGBA struct RG...
24.907563
79
0.528677
Clemapfel
e0af86690b6ecc008c5a3c6612a44acb0e8b6d35
1,428
hpp
C++
include/ancient/src/IMPDecompressor.hpp
ford442/openmpt
614c44fe665b0e1cce15092ecf0d069cbb3e1fe7
[ "BSD-3-Clause" ]
335
2017-02-25T16:39:27.000Z
2022-03-29T17:45:42.000Z
include/ancient/src/IMPDecompressor.hpp
ford442/openmpt
614c44fe665b0e1cce15092ecf0d069cbb3e1fe7
[ "BSD-3-Clause" ]
19
2020-06-20T17:20:11.000Z
2022-02-07T17:40:18.000Z
include/ancient/src/IMPDecompressor.hpp
ford442/openmpt
614c44fe665b0e1cce15092ecf0d069cbb3e1fe7
[ "BSD-3-Clause" ]
69
2017-04-10T00:48:09.000Z
2022-03-20T10:24:45.000Z
/* Copyright (C) Teemu Suutari */ #ifndef IMPDECOMPRESSOR_HPP #define IMPDECOMPRESSOR_HPP #include "Decompressor.hpp" #include "XPKDecompressor.hpp" namespace ancient::internal { class IMPDecompressor : public Decompressor, public XPKDecompressor { public: IMPDecompressor(const Buffer &packedData,bool verify); IM...
31.733333
170
0.803922
ford442
e0b1b92ea8cff348c184bfbe43f1f860b58a6a59
1,459
cpp
C++
src/widgets/progressbar.cpp
BusyStudent/Btk
27b23aa77e4fbcc48bdfe566ce7cae46183c289c
[ "MIT" ]
2
2021-06-19T08:21:38.000Z
2021-08-15T21:37:30.000Z
src/widgets/progressbar.cpp
BusyStudent/Btk
27b23aa77e4fbcc48bdfe566ce7cae46183c289c
[ "MIT" ]
null
null
null
src/widgets/progressbar.cpp
BusyStudent/Btk
27b23aa77e4fbcc48bdfe566ce7cae46183c289c
[ "MIT" ]
1
2021-04-03T14:27:39.000Z
2021-04-03T14:27:39.000Z
#include "../build.hpp" #include <Btk/progressbar.hpp> #include <Btk/render.hpp> #include <Btk/themes.hpp> #include <algorithm> namespace Btk{ ProgressBar::ProgressBar(){ set_value(0); } ProgressBar::~ProgressBar() = default; void ProgressBar::draw(Renderer &render){ FRect fixed_rect...
24.316667
69
0.550377
BusyStudent
e0b2695c521f452d7765e9e462c59f5f2253abaf
1,173
cpp
C++
GDPARCM_HO2/AGameObject.cpp
NeilDG/GDADPRG-GDPARCM_Courseware
771509ec7b3eb6d6375807819ca9da957dd22641
[ "MIT" ]
null
null
null
GDPARCM_HO2/AGameObject.cpp
NeilDG/GDADPRG-GDPARCM_Courseware
771509ec7b3eb6d6375807819ca9da957dd22641
[ "MIT" ]
null
null
null
GDPARCM_HO2/AGameObject.cpp
NeilDG/GDADPRG-GDPARCM_Courseware
771509ec7b3eb6d6375807819ca9da957dd22641
[ "MIT" ]
null
null
null
#include "AGameObject.h" AGameObject::AGameObject(String name) { this->name = name; } AGameObject::~AGameObject() { delete this->sprite; delete this->texture; } AGameObject::String AGameObject::getName() { return this->name; } void AGameObject::draw(sf::RenderWindow* targetWindow) { if (this->sprite != NULL) {...
18.919355
100
0.693947
NeilDG
e0b27fd1e5011210eaf28d67dce3884375d433b2
5,884
cpp
C++
external_libs/gemalto/common/src/Applet.cpp
twilio/wireless-trust-onboard
1267c5c2a736c0edd79882039b129e3a613be96b
[ "Apache-2.0" ]
null
null
null
external_libs/gemalto/common/src/Applet.cpp
twilio/wireless-trust-onboard
1267c5c2a736c0edd79882039b129e3a613be96b
[ "Apache-2.0" ]
null
null
null
external_libs/gemalto/common/src/Applet.cpp
twilio/wireless-trust-onboard
1267c5c2a736c0edd79882039b129e3a613be96b
[ "Apache-2.0" ]
2
2019-04-27T01:43:09.000Z
2019-10-14T04:47:52.000Z
/* * Copyright (c) 2017 Gemalto Limited. All Rights Reserved * This software is the confidential and proprietary information of GEMALTO. * * GEMALTO MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED * TO THE IMPLIED W...
27.495327
152
0.663154
twilio
e0b9f5412cfcc4c300d968a882d069a31d20fd5e
2,155
cpp
C++
apps/image_recs.cpp
cdriehuys/comp475
efcd1d5a3055f0a6676a8771397bd826ee1d7b50
[ "MIT" ]
1
2018-07-26T05:02:28.000Z
2018-07-26T05:02:28.000Z
apps/image_recs.cpp
cdriehuys/comp475
efcd1d5a3055f0a6676a8771397bd826ee1d7b50
[ "MIT" ]
null
null
null
apps/image_recs.cpp
cdriehuys/comp475
efcd1d5a3055f0a6676a8771397bd826ee1d7b50
[ "MIT" ]
4
2018-04-25T05:39:47.000Z
2022-02-24T04:21:56.000Z
/** * Copyright 2015 Mike Reed */ #include "image.h" #include "image_pa1.cpp" #include "image_pa2.cpp" #include "image_pa3.cpp" #include "image_pa4.cpp" #include "image_pa5.cpp" #include "image_pa6.cpp" #include "image_final.cpp" const GDrawRec gDrawRecs[] = { { draw_solid_ramp, 256, 7*28, "solid_ramp", 1...
37.807018
69
0.543387
cdriehuys
e0be66b22e477c83ea8920fe5f97a10bb5098d84
2,406
cpp
C++
src/state/city.cpp
sstanfield/hexGame
99edad55703846992d3f64ad4cf9d146d57ca625
[ "Zlib" ]
null
null
null
src/state/city.cpp
sstanfield/hexGame
99edad55703846992d3f64ad4cf9d146d57ca625
[ "Zlib" ]
null
null
null
src/state/city.cpp
sstanfield/hexGame
99edad55703846992d3f64ad4cf9d146d57ca625
[ "Zlib" ]
null
null
null
/* Copyright (c) 2015-2016 Steven Stanfield This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applicat...
24.55102
82
0.704489
sstanfield
e0c012f7953c67129226a27d685eb3cee3f6ebd5
5,552
cpp
C++
src/py/wrapper/wrapper_3d6a15edb2225daba874c2b80defe6b4.cpp
StatisKit/Core
79d8ec07c203eb7973a6cf482852ddb2e8e1e93e
[ "Apache-2.0" ]
null
null
null
src/py/wrapper/wrapper_3d6a15edb2225daba874c2b80defe6b4.cpp
StatisKit/Core
79d8ec07c203eb7973a6cf482852ddb2e8e1e93e
[ "Apache-2.0" ]
7
2018-03-20T14:23:16.000Z
2019-04-09T11:57:57.000Z
src/py/wrapper/wrapper_3d6a15edb2225daba874c2b80defe6b4.cpp
StatisKit/Core
79d8ec07c203eb7973a6cf482852ddb2e8e1e93e
[ "Apache-2.0" ]
7
2017-04-28T07:41:01.000Z
2021-03-15T18:17:20.000Z
#include "_core.h" namespace autowig { typedef ::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstimation::Estimator > class_type; class Trampoline : public class_type { public: using ::statiskit::Optimization< ::statiskit::DiscreteMultivariateDistributionEstima...
102.814815
468
0.810519
StatisKit
e0c33b06063fe323cfa12cbbbcd7acb1285cc2f1
8,142
cpp
C++
source/examples/common/ContextFormat.cpp
dgimb89/glannotations
df687dbae1906cdb08c7b10cb006c025c4ba6406
[ "MIT" ]
null
null
null
source/examples/common/ContextFormat.cpp
dgimb89/glannotations
df687dbae1906cdb08c7b10cb006c025c4ba6406
[ "MIT" ]
null
null
null
source/examples/common/ContextFormat.cpp
dgimb89/glannotations
df687dbae1906cdb08c7b10cb006c025c4ba6406
[ "MIT" ]
null
null
null
#include <common/ContextFormat.h> #include <cassert> #include <sstream> #include <map> #include <globjects/base/baselogging.h> using namespace globjects; ContextFormat::ContextFormat() : m_version(glbinding::Version(4, 5)) , m_profile(Profile::None) , m_debugContext(false) , m_forwardCompatibility(false) , m_red...
24.017699
109
0.688529
dgimb89
e0c34532ae1ce2cd3841d45edc2aad9d860e5731
1,206
hpp
C++
Tests/UnitTests/Helper/Include/UTH/Config.hpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
1
2022-01-20T23:17:18.000Z
2022-01-20T23:17:18.000Z
Tests/UnitTests/Helper/Include/UTH/Config.hpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
null
null
null
Tests/UnitTests/Helper/Include/UTH/Config.hpp
SapphireSuite/Engine
f29821853aec6118508f31d3e063e83e603f52dd
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Sapphire's Suite. All Rights Reserved. #pragma once #ifndef SAPPHIRE_UTH_CONFIG_GUARD #define SAPPHIRE_UTH_CONFIG_GUARD #include <SA/Core/Support/ModuleAPI.hpp> /** * \file UTH/Config.hpp * * \brief Sapphire Engine UnitTestHelper module config file. * * \ingroup UTH * \{ */ #if defined(SA_U...
16.08
70
0.733002
SapphireSuite
e0c714c77ac0f7076885184070940b1237484c26
3,846
cpp
C++
librankernet/object_ranker.cpp
Rufaim/Ranker-Net
a3100d7c5b0b51ad764abb8025f299be29b2f688
[ "MIT" ]
null
null
null
librankernet/object_ranker.cpp
Rufaim/Ranker-Net
a3100d7c5b0b51ad764abb8025f299be29b2f688
[ "MIT" ]
null
null
null
librankernet/object_ranker.cpp
Rufaim/Ranker-Net
a3100d7c5b0b51ad764abb8025f299be29b2f688
[ "MIT" ]
null
null
null
#include <fstream> #include "object_ranker.h" #include "json/json.hpp" #include "ranker/dense.h" #include "ranker/nalu.h" using json = nlohmann::json; void InitRanker(ranker_context& ranker, std::string filename) { std::ifstream i(filename); json j; i >> j; // for previous versions capabilty if ...
33.443478
116
0.547842
Rufaim
e0c89c9d0cb63d330787e21583f63bedea61b48f
1,851
cpp
C++
test/auto/ListModel/ListModelTester.cpp
ericzh86/ModelsModule
e1f263420e5e54ac280d1c61485ccb6a0a625129
[ "MIT" ]
8
2019-12-11T08:52:37.000Z
2021-08-04T03:42:55.000Z
test/auto/ListModel/ListModelTester.cpp
ericzh86/ModelsModule
e1f263420e5e54ac280d1c61485ccb6a0a625129
[ "MIT" ]
null
null
null
test/auto/ListModel/ListModelTester.cpp
ericzh86/ModelsModule
e1f263420e5e54ac280d1c61485ccb6a0a625129
[ "MIT" ]
1
2020-04-16T07:07:50.000Z
2020-04-16T07:07:50.000Z
#include "ListModelTester.h" #include "ListModelTester_p.h" #include <QAbstractItemModelTester> // class ListModelTester ListModelTester::ListModelTester(Internal::QCxxListModel *model, QObject *parent) : QObject(parent ? parent : model) , d_ptr(new ListModelTesterPrivate()) { d_ptr->q_ptr = this; Q_...
19.691489
108
0.698541
ericzh86
e0c8a438c45ad79cafe0a31514a8a0383c06cb43
2,795
cpp
C++
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/fields/SoMFBitMask.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/fields/SoMFBitMask.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/fields/SoMFBitMask.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by Kongsberg Oil & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
29.114583
76
0.699821
KraftOreo
e0cb366fd7ae6f2844eec0447288d324a9619fa0
25,763
hpp
C++
trng/special_functions.hpp
mminutoli/trng4
1ef58a7027242d395f4407d0ce0fe42e4904f9bf
[ "BSD-3-Clause" ]
null
null
null
trng/special_functions.hpp
mminutoli/trng4
1ef58a7027242d395f4407d0ce0fe42e4904f9bf
[ "BSD-3-Clause" ]
null
null
null
trng/special_functions.hpp
mminutoli/trng4
1ef58a7027242d395f4407d0ce0fe42e4904f9bf
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2000-2021, Heiko Bauke // 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 ...
32.324969
96
0.539922
mminutoli
e0cc0f854c7d5aea69285822c51d07e14dfecbcd
2,135
cpp
C++
polymorphism/cpp/volatility.cpp
DonatienB/cpp_dauphine
530f9e62054675de0c075496e8695491988298e3
[ "BSD-3-Clause" ]
null
null
null
polymorphism/cpp/volatility.cpp
DonatienB/cpp_dauphine
530f9e62054675de0c075496e8695491988298e3
[ "BSD-3-Clause" ]
null
null
null
polymorphism/cpp/volatility.cpp
DonatienB/cpp_dauphine
530f9e62054675de0c075496e8695491988298e3
[ "BSD-3-Clause" ]
null
null
null
#include "volatility.hpp" #include <iostream> namespace dauphine { /***************************** * volatility implementation * *****************************/ volatility::volatility(const std::string& name) : m_name(name) { std::cout << "volatility constructor" << std::endl; ...
26.036585
99
0.545667
DonatienB
e0ccc49dffbbd481127e49788f840ba4c88eab48
7,336
cc
C++
src/cpu/power/ppred_stat.cc
JimmyZhang12/gem5
34a009b9f7f33667cc230ac7f7ebfb8705718c5d
[ "BSD-3-Clause" ]
null
null
null
src/cpu/power/ppred_stat.cc
JimmyZhang12/gem5
34a009b9f7f33667cc230ac7f7ebfb8705718c5d
[ "BSD-3-Clause" ]
null
null
null
src/cpu/power/ppred_stat.cc
JimmyZhang12/gem5
34a009b9f7f33667cc230ac7f7ebfb8705718c5d
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2020, University of Illinois * 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 condit...
27.070111
107
0.676799
JimmyZhang12
e0d15de572b1b9628e0974d02df5dcef9fb20fcd
7,416
cpp
C++
Hash3/Hash3/Hash.cpp
Phetlada/learn-Cplusplus
3e33a4fd6553bc36eec7a7be02db75c327401df7
[ "MIT" ]
null
null
null
Hash3/Hash3/Hash.cpp
Phetlada/learn-Cplusplus
3e33a4fd6553bc36eec7a7be02db75c327401df7
[ "MIT" ]
null
null
null
Hash3/Hash3/Hash.cpp
Phetlada/learn-Cplusplus
3e33a4fd6553bc36eec7a7be02db75c327401df7
[ "MIT" ]
null
null
null
#include<iomanip> #include<iostream> #include<string> #include<vector> using namespace std; template <class HashedObj> class HashTable { public: explicit HashTable(const HashedObj & notFound, int size = 31); HashTable(const HashTable & rhs) : currentSize(rhs.currentSize), ITEM_NOT_FOUND(rhs.ITEM_NOT_FOUND), ...
22.818462
79
0.582255
Phetlada
e0d295cc92fee109923784b34b0a7d4a826114af
19,125
cpp
C++
test/test_SequentialTask.cpp
SkyZH/CAHRR
ab24d3e437962caf7e545dac135fafa7537c40b0
[ "MIT" ]
null
null
null
test/test_SequentialTask.cpp
SkyZH/CAHRR
ab24d3e437962caf7e545dac135fafa7537c40b0
[ "MIT" ]
1
2018-10-27T02:48:35.000Z
2018-10-27T02:50:35.000Z
test/test_SequentialTask.cpp
SkyZH/CAHRR
ab24d3e437962caf7e545dac135fafa7537c40b0
[ "MIT" ]
null
null
null
// // Created by Alex Chi on 2018/11/11. // #include "gtest/gtest.h" #include "MockTask.h" #include "SequentialTask.h" #include <vector> namespace { class SequentialTaskTest : public ::testing::Test { protected: SequentialTaskTest() { } ~SequentialTaskTest() override { } ...
38.558468
174
0.634353
SkyZH
e0d32a8c54e5e1b0439375b1ad82999d7978fb13
1,528
cc
C++
drivers/gpu/msd-intel-gen/src/global_context.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
1
2019-10-09T10:50:57.000Z
2019-10-09T10:50:57.000Z
drivers/gpu/msd-intel-gen/src/global_context.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
5
2020-09-06T09:02:06.000Z
2022-03-02T04:44:22.000Z
garnet/drivers/gpu/msd-intel-gen/src/global_context.cc
ZVNexus/fuchsia
c5610ad15208208c98693618a79c705af935270c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 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 "global_context.h" bool GlobalContext::Map(std::shared_ptr<AddressSpace> address_space, EngineCommandStreamerId id) { DLOG("Map for engine %d...
30.56
99
0.687173
PowerOlive
e0d77997eb69e054af00c522e537309e8f7d221d
9,637
cpp
C++
src/qt/blocknetcreateproposal2.cpp
braveheart12/Blocknet
b6676a92e0d485a32a3bb129c1e80ba2e2fe2f89
[ "MIT" ]
null
null
null
src/qt/blocknetcreateproposal2.cpp
braveheart12/Blocknet
b6676a92e0d485a32a3bb129c1e80ba2e2fe2f89
[ "MIT" ]
null
null
null
src/qt/blocknetcreateproposal2.cpp
braveheart12/Blocknet
b6676a92e0d485a32a3bb129c1e80ba2e2fe2f89
[ "MIT" ]
null
null
null
// Copyright (c) 2018 The Blocknet Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "blocknetcreateproposal2.h" #include "blocknethdiv.h" #include "init.h" #include "util.h" #include "servicenode-budget.h" #i...
38.090909
186
0.682474
braveheart12
e0d7a69bd29a4914c38ab3ec02f9798a15a3648a
2,692
cpp
C++
examples/cpp/example_s2.cpp
JeremyBYU/FastGaussianAccumulator
995c1cb53485212bc2c71dad3ed3834caaa1f45b
[ "MIT" ]
4
2020-10-20T15:54:00.000Z
2021-09-05T22:24:57.000Z
examples/cpp/example_s2.cpp
JeremyBYU/GaussianAccumulator
995c1cb53485212bc2c71dad3ed3834caaa1f45b
[ "MIT" ]
1
2021-06-09T03:32:14.000Z
2021-06-09T03:32:14.000Z
examples/cpp/example_s2.cpp
JeremyBYU/GaussianAccumulator
995c1cb53485212bc2c71dad3ed3834caaa1f45b
[ "MIT" ]
1
2021-04-13T09:24:30.000Z
2021-04-13T09:24:30.000Z
#include <random> #include <cmath> #include <chrono> #include <vector> #include <iostream> #include "FastGA.hpp" #include "Hilbert/Hilbert.hpp" #include <cinttypes> #include <cstdint> #include <cstdio> #include "s2/s2earth.h" #include "s2/s1chord_angle.h" #include "s2/s2closest_point_query.h" #include "s2/s2point_ind...
39.014493
213
0.537519
JeremyBYU
e0d7ac4366277a63c3e040b69b48ac81c7ca9e2e
670
cpp
C++
01_simplest_programs/guessnumber.cpp
zaychenko-sergei/cpp_intro
6f1786b18950bf47ee385c97084f3516734e5199
[ "MIT" ]
1
2021-03-05T01:14:00.000Z
2021-03-05T01:14:00.000Z
01_simplest_programs/guessnumber.cpp
zaychenko-sergei/cpp_intro
6f1786b18950bf47ee385c97084f3516734e5199
[ "MIT" ]
null
null
null
01_simplest_programs/guessnumber.cpp
zaychenko-sergei/cpp_intro
6f1786b18950bf47ee385c97084f3516734e5199
[ "MIT" ]
2
2015-01-13T11:25:07.000Z
2021-04-29T12:58:51.000Z
#include <stdio.h> #include <stdlib.h> #include <time.h> int main () { time_t currentTime; time( & currentTime ); srand( ( unsigned ) currentTime ); const int numberToGuess = rand() % 100; int userInput; int steps = 0; do { printf( "Try to guess the number within [ 0 : 99...
20.9375
64
0.537313
zaychenko-sergei
e0d970306ec5850583e94d25e1abd5b2725fe1eb
2,067
cpp
C++
oi/vijos/P1775/main.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
3
2018-08-30T09:43:20.000Z
2019-12-03T04:53:43.000Z
oi/vijos/P1775/main.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
oi/vijos/P1775/main.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> #include <map> #include <vector> using namespace std; #define NMAX 350 #define MMAX 40 #define MOD 10000007 typedef pair<int, int> IntPair; static int n, m; static int score[NMAX + 10]; static int cnt[10]; // static int f[NMAX + 10][MMAX + 1][MMAX + 1][MMAX...
21.091837
77
0.496372
Riteme
e0dafaad61f52a0da6392bb59590fd828bbd5d2b
5,727
cc
C++
chrome/browser/chromeos/child_accounts/family_user_session_metrics.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chrome/browser/chromeos/child_accounts/family_user_session_metrics.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/browser/chromeos/child_accounts/family_user_session_metrics.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/child_accounts/family_user_session_metrics.h" #include <string> #include <utility> #include "base/logging.h" #include ...
36.246835
80
0.743496
Ron423c
e0dd8dc839af8d643e510e0f0448524a3ea9592f
83,849
cpp
C++
aten/src/TH/generic/THTensorMoreMath.cpp
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
1
2019-07-21T02:13:22.000Z
2019-07-21T02:13:22.000Z
aten/src/TH/generic/THTensorMoreMath.cpp
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
null
null
null
aten/src/TH/generic/THTensorMoreMath.cpp
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
null
null
null
#ifndef TH_GENERIC_FILE #define TH_GENERIC_FILE "generic/THTensorMoreMath.cpp" #else #include <TH/generic/THTensorApply.hpp> void THTensor_(baddbmm)(THTensor *result, real beta, THTensor *t, real alpha, THTensor *batch1, THTensor *batch2) { int64_t batch; THArgCheck(THTensor_(nDimensionLegacyNoScalars)(batch1) =...
34.966222
155
0.595213
DavidKo3
e0df631bb5eacd0a9c41369dbe29293f02b1dd49
5,093
cxx
C++
src/par/src/MLPart/mlpart/HGraph/subHGraph.cxx
JayjeetAtGithub/OpenROAD
751d7860e2e2929a3b3f8a163c79d843f252ad5b
[ "BSD-3-Clause" ]
null
null
null
src/par/src/MLPart/mlpart/HGraph/subHGraph.cxx
JayjeetAtGithub/OpenROAD
751d7860e2e2929a3b3f8a163c79d843f252ad5b
[ "BSD-3-Clause" ]
1
2021-08-20T07:50:34.000Z
2021-08-20T07:50:34.000Z
src/par/src/MLPart/mlpart/HGraph/subHGraph.cxx
JayjeetAtGithub/OpenROAD
751d7860e2e2929a3b3f8a163c79d843f252ad5b
[ "BSD-3-Clause" ]
2
2021-06-27T09:48:36.000Z
2021-07-23T08:08:01.000Z
/************************************************************************** *** *** Copyright (c) 1995-2000 Regents of the University of California, *** Andrew E. Caldwell, Andrew B. Kahng and Igor L. Markov *** Copyright (c) 2000-2007 Regents of the University of Michigan, *** Saurabh N. Ad...
41.406504
239
0.572943
JayjeetAtGithub
e0dfacd64f22906c454e38b0f0aa630fa73afad6
2,436
cpp
C++
C++/UCIApp3/UCIApp3/UCIApp3.cpp
MuscleNrd/Student-Self-Completed
87c20c4cbd561554eb112047660b698d58711cdc
[ "MIT" ]
null
null
null
C++/UCIApp3/UCIApp3/UCIApp3.cpp
MuscleNrd/Student-Self-Completed
87c20c4cbd561554eb112047660b698d58711cdc
[ "MIT" ]
null
null
null
C++/UCIApp3/UCIApp3/UCIApp3.cpp
MuscleNrd/Student-Self-Completed
87c20c4cbd561554eb112047660b698d58711cdc
[ "MIT" ]
null
null
null
// UCIApp3.cpp : Defines the entry point for the console application. // #include "stdafx.h" template <class T> class setList { private: struct setListNode { T info; setListNode* next; setListNode() : next(0) {} //setListNode(const T& newinfo) : info(newinfo), next(0) {} setListNode(T& newinfo, setListNo...
16.459459
90
0.626847
MuscleNrd
e0e0900842540fe857d203c84206d53231838295
7,474
cpp
C++
CocosNet/CCNetDelegate.cpp
leecjson/CocosNet
e762999aa6c0be276bc6d3eb0b511e921b792f36
[ "MIT" ]
8
2018-11-29T02:07:44.000Z
2020-12-24T09:34:06.000Z
CocosNet/CCNetDelegate.cpp
leecjson/CocosNet
e762999aa6c0be276bc6d3eb0b511e921b792f36
[ "MIT" ]
null
null
null
CocosNet/CCNetDelegate.cpp
leecjson/CocosNet
e762999aa6c0be276bc6d3eb0b511e921b792f36
[ "MIT" ]
4
2019-01-14T13:33:14.000Z
2020-06-06T06:42:50.000Z
/**************************************************************************** Copyright (c) 2014 Lijunlin - Jason lee Created by Lijunlin - Jason lee on 2014 jason.lee.c@foxmail.com http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ...
21.601156
100
0.701766
leecjson
e0e3a3f3e1e98ff3452f99a0064ce44d6eca3529
703
cpp
C++
tests/multiArray.cpp
Oparilames/aNDAr-library
304e4923a3777b73d63964460a859896583b8a3d
[ "MIT" ]
null
null
null
tests/multiArray.cpp
Oparilames/aNDAr-library
304e4923a3777b73d63964460a859896583b8a3d
[ "MIT" ]
1
2022-03-31T17:07:07.000Z
2022-03-31T17:07:07.000Z
tests/multiArray.cpp
Oparilames/aNDAr-library
304e4923a3777b73d63964460a859896583b8a3d
[ "MIT" ]
null
null
null
#include <aNDAr/multiDimensionalArray.hpp> using namespace aNDAr; int main(){ using T = multiDimensionalArray<int,3,3,3>; using C = multiDimensionalArray<char,3,3,3>; {T ar{};} {T ar(5);} /// {T ar(initialisationMethod::incrementFrom,1);} // 2022 {T ar{initialisationMethod::decrementFrom,1};} ...
33.47619
132
0.664296
Oparilames
e0e3d1b6e8b7d7c1456019b81cd135f4e2c532e0
32,257
cpp
C++
DumpDWG/maps.cpp
MadhukarMoogala/RealDWGInstallerWithWix
ad7734ec2e968bb192b4d0a827d60647066df6a6
[ "MIT" ]
11
2018-08-03T19:22:03.000Z
2021-12-16T15:33:00.000Z
DumpDWG/maps.cpp
MadhukarMoogala/RealDWGInstallerWithWix
ad7734ec2e968bb192b4d0a827d60647066df6a6
[ "MIT" ]
null
null
null
DumpDWG/maps.cpp
MadhukarMoogala/RealDWGInstallerWithWix
ad7734ec2e968bb192b4d0a827d60647066df6a6
[ "MIT" ]
6
2019-01-10T09:16:23.000Z
2021-12-08T16:29:24.000Z
// ////////////////////////////////////////////////////////////////////////////// // // Copyright 2018 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies th...
24.813077
96
0.561026
MadhukarMoogala
e0e66a0a8dfdbcd05cf7c8c06ba0e679ce34314f
603
cpp
C++
Assignment4/main.cpp
rehman000/Data_Structures
32e0d5dcb6e787c17f2ee65939b6500984d46338
[ "MIT" ]
null
null
null
Assignment4/main.cpp
rehman000/Data_Structures
32e0d5dcb6e787c17f2ee65939b6500984d46338
[ "MIT" ]
null
null
null
Assignment4/main.cpp
rehman000/Data_Structures
32e0d5dcb6e787c17f2ee65939b6500984d46338
[ "MIT" ]
null
null
null
#include <iostream> #include "sequence3.h" int main() { data_structures_assignment3::sequence s1; s1.insert(1); s1.insert(2); s1.insert(3); s1.insert(4); s1.insert(5); s1.insert(6); s1.insert(7); std::cout << s1.current() << std::endl; s1.advance(); std::cout << s1.current...
19.451613
45
0.545605
rehman000
e0e7efca5e7330bec9b876a88ce5ab668ab601fb
5,350
cpp
C++
ComputerGraphicsProject/Viewer/imgLoad.cpp
KvanTTT/Education
e9dc00bfc25ccf0e25c4e7ec187bccb680f126f9
[ "MIT" ]
1
2018-04-06T19:47:37.000Z
2018-04-06T19:47:37.000Z
ComputerGraphicsProject/Viewer/imgLoad.cpp
KvanTTT/Education
e9dc00bfc25ccf0e25c4e7ec187bccb680f126f9
[ "MIT" ]
null
null
null
ComputerGraphicsProject/Viewer/imgLoad.cpp
KvanTTT/Education
e9dc00bfc25ccf0e25c4e7ec187bccb680f126f9
[ "MIT" ]
null
null
null
#include "std.h" #include "imgLoad.h" #include "Image.h" #include "IOFile.h" #include "IJL/ijl.h" #pragma comment(lib, "IJL/ijl15.lib" ) typedef struct bmpFileHeader_tag_ { UInt8 B, M; UInt32 nSize; UInt32 nReserved; UInt32 nOffsetToBits; } BMPFileHeader; typedef struct bmpImageHeader_tag_ { UInt32 nSize; In...
21.230159
95
0.603178
KvanTTT
e0e8c70b6b068e99814f9bcec6f25ba7633c35e0
15,007
cpp
C++
source/GameLib/RaceMotionData.cpp
beetle2k/Metin2Client
114f492b71fcc90e8f5010c5b35b9fddb51639ca
[ "MIT" ]
13
2018-08-27T19:06:54.000Z
2021-11-12T05:44:04.000Z
source/GameLib/RaceMotionData.cpp
stempomzeskas/Metin2Client
114f492b71fcc90e8f5010c5b35b9fddb51639ca
[ "MIT" ]
null
null
null
source/GameLib/RaceMotionData.cpp
stempomzeskas/Metin2Client
114f492b71fcc90e8f5010c5b35b9fddb51639ca
[ "MIT" ]
15
2018-10-25T14:28:10.000Z
2022-03-25T14:05:09.000Z
#include "StdAfx.h" #include "../EffectLib/EffectManager.h" #include "FlyingObjectManager.h" #include "RaceMotionData.h" CDynamicPool<CRaceMotionData> CRaceMotionData::ms_kPool; void CRaceMotionData::CreateSystem(UINT uCapacity) { ms_kPool.Create(uCapacity); } void CRaceMotionData::DestroySystem() { ms_kPool.Clear...
24.283172
139
0.738589
beetle2k
e0ecddff9542367d0ac444c99ed054e6e5a29875
1,199
hpp
C++
include/asioext/detail/chrono.hpp
zweistein-frm2/asio-extensions
bafea77c48d674930405cb7f93bdfe65539abc39
[ "BSL-1.0" ]
17
2018-04-13T00:38:55.000Z
2022-01-21T08:38:36.000Z
include/asioext/detail/chrono.hpp
zweistein-frm2/asio-extensions
bafea77c48d674930405cb7f93bdfe65539abc39
[ "BSL-1.0" ]
4
2017-03-16T03:34:38.000Z
2020-05-08T00:05:51.000Z
include/asioext/detail/chrono.hpp
zweistein-frm2/asio-extensions
bafea77c48d674930405cb7f93bdfe65539abc39
[ "BSL-1.0" ]
5
2017-09-06T15:56:04.000Z
2021-09-14T07:38:02.000Z
/// @copyright Copyright (c) 2017 Tim Niederhausen (tim@rnc-ag.de) /// 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) #ifndef ASIOEXT_DETAIL_CHRONO_HPP #define ASIOEXT_DETAIL_CHRONO_HPP #include "asioext/detail...
26.644444
75
0.765638
zweistein-frm2
e0ee282577ff44a28cbc0d6dc40e72db7788f70e
2,862
cpp
C++
ClasificadoresSensor/GeneradorDatosEntrenamiento/main.cpp
mrcportillo/Guda
12be3c7d80d25fb041ac2a61ecf8b3f9be43eb23
[ "MIT" ]
null
null
null
ClasificadoresSensor/GeneradorDatosEntrenamiento/main.cpp
mrcportillo/Guda
12be3c7d80d25fb041ac2a61ecf8b3f9be43eb23
[ "MIT" ]
null
null
null
ClasificadoresSensor/GeneradorDatosEntrenamiento/main.cpp
mrcportillo/Guda
12be3c7d80d25fb041ac2a61ecf8b3f9be43eb23
[ "MIT" ]
null
null
null
// prueba6.cpp : Defines the entry point for the console application. // // practica6.c - creacion y visualizacion de una imagen usando OpenCV // // Robotica y Vision por Computador #include "cv.h" // incluye las definiciones de OpenCV #include "cvaux.h" // Stuff. #include "highgui.h" // incluye highGUI. Necesario para...
29.8125
124
0.605521
mrcportillo
e0f173909783178ef17e264ac572d9f5f83cc624
25,081
cpp
C++
examples/0400-stl-template-classes/cib/__zz_cib_bidirectional_iterator.h.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
30
2018-03-05T17:35:29.000Z
2022-03-17T18:59:34.000Z
examples/0400-stl-template-classes/cib/__zz_cib_bidirectional_iterator.h.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
2
2016-05-26T04:47:13.000Z
2019-02-15T05:17:43.000Z
examples/0400-stl-template-classes/cib/__zz_cib_bidirectional_iterator.h.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
5
2019-02-15T05:09:22.000Z
2021-04-14T12:10:16.000Z
#include "C.h" #include "__zz_cib_stl-helpers/__zz_cib_bidirectional_iterator.h" #include "__zz_cib_Example-class-down-cast.h" #include "__zz_cib_Example-delegate-helper.h" #include "__zz_cib_Example-generic.h" #include "__zz_cib_Example-ids.h" #include "__zz_cib_Example-type-converters.h" #include "__zz_cib_Example-m...
66.704787
202
0.79008
satya-das
e0f287d44faf17bf633f0ac7720ca847dedf37d8
562
cpp
C++
src/DataStreams/MaterializingBlockInputStream.cpp
lizhichao/ClickHouse
3f5dc37095ccca18de490fab162d6e3cb99756aa
[ "Apache-2.0" ]
18
2021-05-29T01:12:33.000Z
2021-11-18T12:34:48.000Z
src/DataStreams/MaterializingBlockInputStream.cpp
lizhichao/ClickHouse
3f5dc37095ccca18de490fab162d6e3cb99756aa
[ "Apache-2.0" ]
16
2021-06-07T21:32:30.000Z
2022-03-31T21:08:29.000Z
src/DataStreams/MaterializingBlockInputStream.cpp
lizhichao/ClickHouse
3f5dc37095ccca18de490fab162d6e3cb99756aa
[ "Apache-2.0" ]
22
2019-06-14T10:31:51.000Z
2020-10-12T14:57:44.000Z
#include <DataStreams/MaterializingBlockInputStream.h> #include <DataStreams/materializeBlock.h> namespace DB { MaterializingBlockInputStream::MaterializingBlockInputStream(const BlockInputStreamPtr & input) { children.push_back(input); } String MaterializingBlockInputStream::getName() const { return "Mater...
19.37931
95
0.782918
lizhichao
e0f298ee5f5c25ba3cb97af084526bc0d2ea8ada
950
cpp
C++
Trees/diameter_of_BT.cpp
jatin-code21/DSA-CP-
e29e1fd7ab4860a4eb46d11f6a42a285be1216cb
[ "MIT" ]
5
2021-12-28T01:48:46.000Z
2022-02-18T05:57:10.000Z
Trees/diameter_of_BT.cpp
jatin-code21/DSA-CP-
e29e1fd7ab4860a4eb46d11f6a42a285be1216cb
[ "MIT" ]
null
null
null
Trees/diameter_of_BT.cpp
jatin-code21/DSA-CP-
e29e1fd7ab4860a4eb46d11f6a42a285be1216cb
[ "MIT" ]
null
null
null
// Diameter is the longest path betweeen any 2 nodes; // It is not necessary that it will pass through root; #include <bits/stdc++.h> using namespace std; class TreeNode { public: int data; TreeNode *left,*right; TreeNode(int val) { data = val; left = right = NULL; } }; int height(TreeNode *root, int &diame...
18.627451
82
0.668421
jatin-code21
e0f29da9409cec332f9026ae61f9640b6f1e19e2
234
cpp
C++
src/dbc.cpp
SoultatosStefanos/dbc
aa9c787cd383c8b8f110f779ad0978e4512c7811
[ "MIT" ]
1
2021-09-08T11:41:58.000Z
2021-09-08T11:41:58.000Z
src/dbc.cpp
SoultatosStefanos/dbc
aa9c787cd383c8b8f110f779ad0978e4512c7811
[ "MIT" ]
null
null
null
src/dbc.cpp
SoultatosStefanos/dbc
aa9c787cd383c8b8f110f779ad0978e4512c7811
[ "MIT" ]
null
null
null
/** * @file dbc.cpp * @author Soultatos Stefanos (stefanoss1498@gmail.com) * @brief Includes the dbc header for linking purposes. * @version 3.0 * @date 2021-10-29 * * @copyright Copyright (c) 2021 * */ #include "dbc/dbc.hpp"
21.272727
55
0.67094
SoultatosStefanos
e0f84c6dfe4651427c40133f3f8a8da1aaaa6618
3,002
hpp
C++
stapl_release/stapl/runtime/request/header_decoder.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/runtime/request/header_decoder.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/runtime/request/header_decoder.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part with...
30.632653
78
0.60926
parasol-ppl
e0f93b88c7d1f16101f5ecc33cdd51c78ac31949
9,040
cpp
C++
algorithms/kernel/optimization_solver/adagrad/adagrad_types.cpp
h2oai/daal
d49815df3040f3872a1fdb9dc99ee86148e4494e
[ "Apache-2.0" ]
2
2020-05-16T00:57:44.000Z
2020-05-17T15:56:38.000Z
algorithms/kernel/optimization_solver/adagrad/adagrad_types.cpp
afcarl/daal
d49815df3040f3872a1fdb9dc99ee86148e4494e
[ "Apache-2.0" ]
null
null
null
algorithms/kernel/optimization_solver/adagrad/adagrad_types.cpp
afcarl/daal
d49815df3040f3872a1fdb9dc99ee86148e4494e
[ "Apache-2.0" ]
3
2017-09-29T19:51:42.000Z
2020-12-03T09:09:48.000Z
/* file: adagrad_types.cpp */ /******************************************************************************* * Copyright 2014-2017 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 Lic...
41.278539
175
0.701659
h2oai
804108c1d686266a438f95572009bc04f2b7682f
1,062
cpp
C++
src/problems/51-100/91/problem91.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
1
2019-12-25T10:17:15.000Z
2019-12-25T10:17:15.000Z
src/problems/51-100/91/problem91.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
src/problems/51-100/91/problem91.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
// // Created by Alex Beccaro on 28/02/18. // #include "problem91.hpp" namespace problems { bool problem91::has_right_angle(uint32_t x1, uint32_t y1, uint32_t x2, uint32_t y2) { // check right angle in origin if (y2 == 0 && x1 == 0) return true; // cross product int dx...
26.55
89
0.450094
abeccaro
8044935b81414a4f2a0cd031ed2cfb9fa25a8729
2,182
cpp
C++
tests/atomic_test.cpp
xiyou-linuxer/demo
e1176dde72be50732e39e289d91a0c14ece964d7
[ "MIT" ]
7
2019-04-26T03:49:55.000Z
2019-04-27T10:03:00.000Z
tests/atomic_test.cpp
xiyou-linuxer/demo
e1176dde72be50732e39e289d91a0c14ece964d7
[ "MIT" ]
null
null
null
tests/atomic_test.cpp
xiyou-linuxer/demo
e1176dde72be50732e39e289d91a0c14ece964d7
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "atomic.hpp" using namespace Demo; TEST(TEST_ATOMIC_INT32, ONLY_TEST) { AtomicInt32 refCount; ASSERT_EQ(0, refCount.get()); ASSERT_EQ(1, refCount.incrementAndGet()); ASSERT_EQ(2, refCount.incrementAndGet()); ASSERT_EQ(3, refCount.incrementAndGet()); ASSERT_E...
25.97619
45
0.665445
xiyou-linuxer
8045db2c9775a6856e93e8d3de12b42ac7fb7e56
1,278
inl
C++
TAO/tao/AnyTypeCode/TypeCode_Base_Attributes.inl
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/tao/AnyTypeCode/TypeCode_Base_Attributes.inl
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/tao/AnyTypeCode/TypeCode_Base_Attributes.inl
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// -*- C++ -*- // // $Id: TypeCode_Base_Attributes.inl 69182 2005-11-03 17:38:46Z ossama $ #include "tao/AnyTypeCode/TypeCode_Traits.h" TAO_BEGIN_VERSIONED_NAMESPACE_DECL template <typename STRING_TYPE> ACE_INLINE TAO::TypeCode::Base_Attributes<STRING_TYPE>::Base_Attributes ( char const * id, char const * name) ...
23.236364
73
0.739437
cflowe
8045fefca3d7b3e52a78a4a2fd3f39d1e076d441
1,032
cc
C++
leetcode/0664-strange-printer.cc
Magic07/online-judge-solutions
02a289dd7eb52d7eafabc97bd1a043213b65f70a
[ "MIT" ]
null
null
null
leetcode/0664-strange-printer.cc
Magic07/online-judge-solutions
02a289dd7eb52d7eafabc97bd1a043213b65f70a
[ "MIT" ]
null
null
null
leetcode/0664-strange-printer.cc
Magic07/online-judge-solutions
02a289dd7eb52d7eafabc97bd1a043213b65f70a
[ "MIT" ]
null
null
null
#include <string> using namespace std; class Solution { public: int calulateDp(const string& s, int dp[100][100], int start, int end) { if (dp[start][end] != 0) { return dp[start][end]; } if (start == end) { dp[start][start] = 1; return 1; } else { int c[3] = {INT_MAX, INT_M...
26.461538
73
0.471899
Magic07
804c2d590906fed27e88df282f388bfead6f1d94
656,961
cpp
C++
hphp/parser/hphp.7.tab.cpp
fredemmott/hhvm
e819c0c5016607c286384d9c76e33fa4ef42d4bb
[ "PHP-3.01", "Zend-2.0" ]
1
2016-10-08T12:13:09.000Z
2016-10-08T12:13:09.000Z
hphp/parser/hphp.7.tab.cpp
fredemmott/hhvm
e819c0c5016607c286384d9c76e33fa4ef42d4bb
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/parser/hphp.7.tab.cpp
fredemmott/hhvm
e819c0c5016607c286384d9c76e33fa4ef42d4bb
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
// @generated /* A Bison parser, made by GNU Bison 3.0.4. */ /* Bison implementation for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License a...
45.470723
151
0.386793
fredemmott
804cccfc8aac002dad67bc2c3bd5a1edc5e8ade7
5,350
hpp
C++
include/SSVBloodshed/GUI/Controls/TextBox.hpp
SuperV1234/SSVBloodshed
63800034a0cfa9d61f9406001072b38f1268883a
[ "AFL-3.0" ]
12
2015-09-09T13:31:42.000Z
2021-07-10T17:20:06.000Z
include/SSVBloodshed/GUI/Controls/TextBox.hpp
vittorioromeo/SSVBloodshed
63800034a0cfa9d61f9406001072b38f1268883a
[ "AFL-3.0" ]
1
2015-12-13T10:13:34.000Z
2015-12-18T13:16:02.000Z
include/SSVBloodshed/GUI/Controls/TextBox.hpp
vittorioromeo/SSVBloodshed
63800034a0cfa9d61f9406001072b38f1268883a
[ "AFL-3.0" ]
2
2015-12-18T08:06:14.000Z
2017-04-22T16:40:26.000Z
// Copyright (c) 2013-2015 Vittorio Romeo // License: Academic Free License ("AFL") v. 3.0 // AFL License page: http://opensource.org/licenses/AFL-3.0 #ifndef SSVOB_GUI_CONTROLS_TEXTBOX #define SSVOB_GUI_CONTROLS_TEXTBOX #include "SSVBloodshed/OBCommon.hpp" #include "SSVBloodshed/GUI/Widget.hpp" #include "SSVBloodshe...
35.666667
80
0.451963
SuperV1234
8052159598068b8e0bbbb02a47268bb16136196d
255
cpp
C++
Hashes/SHA2_Functions.cpp
r4yan2/OpenPGP
0299d96ee3b60d1d29b2d59f43610603a1135a5e
[ "MIT" ]
20
2016-01-10T13:53:41.000Z
2022-01-28T02:09:07.000Z
Hashes/SHA2_Functions.cpp
m0n0ph1/Hashes
4764d88bc71b4905141a208ab38f475cdc547f13
[ "MIT" ]
1
2020-07-13T17:48:10.000Z
2020-07-18T21:03:41.000Z
Hashes/SHA2_Functions.cpp
m0n0ph1/Hashes
4764d88bc71b4905141a208ab38f475cdc547f13
[ "MIT" ]
10
2017-05-15T16:25:59.000Z
2022-02-03T15:31:11.000Z
#include "SHA2_Functions.h" uint64_t Ch(const uint64_t & m, const uint64_t & n, const uint64_t & o){ return (m & n) ^ (~m & o); } uint64_t Maj(const uint64_t & m, const uint64_t & n, const uint64_t & o){ return (m & n) ^ (m & o) ^ (n & o); }
23.181818
74
0.584314
r4yan2
8052e3c343e8be15389d8d45b90a61afe637c4e2
7,785
cpp
C++
updated/catkin_ws/src/grasp_sampler/src/GraspSamplerClient.cpp
JisuHann/Point-Cloud--Grasp
083244632412709dbc29ac7841b6a837e4ed3cb6
[ "BSD-2-Clause" ]
null
null
null
updated/catkin_ws/src/grasp_sampler/src/GraspSamplerClient.cpp
JisuHann/Point-Cloud--Grasp
083244632412709dbc29ac7841b6a837e4ed3cb6
[ "BSD-2-Clause" ]
null
null
null
updated/catkin_ws/src/grasp_sampler/src/GraspSamplerClient.cpp
JisuHann/Point-Cloud--Grasp
083244632412709dbc29ac7841b6a837e4ed3cb6
[ "BSD-2-Clause" ]
1
2021-03-31T06:27:31.000Z
2021-03-31T06:27:31.000Z
#include <ros/ros.h> #include <cstdlib> // custom srv #include "task_assembly/door_open_planner.h" // msgs #include <geometry_msgs/Pose.h> const std::string Joint_name[7] = { "panda_joint1", "panda_joint2", "panda_joint3", "panda_joint4", "panda_joint5", "panda_joint6", "panda_joint7"}; ...
36.378505
136
0.579062
JisuHann
8053b00e6296f9ab891935053bf782d1f6e8d8f6
1,194
cpp
C++
src/bliss.cpp
yunseo-h68/bliss
1eaafd7bbc117f3b39f0900956db7ab7b085d941
[ "MIT" ]
1
2020-07-27T06:20:32.000Z
2020-07-27T06:20:32.000Z
src/bliss.cpp
yunseo-h68/bliss
1eaafd7bbc117f3b39f0900956db7ab7b085d941
[ "MIT" ]
null
null
null
src/bliss.cpp
yunseo-h68/bliss
1eaafd7bbc117f3b39f0900956db7ab7b085d941
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> #include <string> #include "bliss.h" static std::string parse_option_name(const char* str) { int i = 0; std::string name = ""; while (str[i] == '-') i++; for (int j = 0; str[i+j] != '\0'; j++) { name += str[i+j]; } return name; } int bliss_run(BlissApp* app, int argc, ch...
20.947368
67
0.552764
yunseo-h68
8057815b4c971e0c90a11fafb826a004b8553bb9
16,115
cpp
C++
src/cui-1.0.4/PJADV/PJADV.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
1
2021-07-21T00:58:45.000Z
2021-07-21T00:58:45.000Z
src/cui-1.0.4/PJADV/PJADV.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
null
null
null
src/cui-1.0.4/PJADV/PJADV.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
null
null
null
#include <windows.h> #include <tchar.h> #include <crass_types.h> #include <acui.h> #include <cui.h> #include <package.h> #include <resource.h> #include <cui_error.h> #include <stdio.h> #include <utility.h> /* 接口数据结构: 表示cui插件的一般信息 */ struct acui_information PJADV_cui_information = { _T("ぼとむれす"), /* copyright */ ...
24.016393
102
0.670555
MaiReo
805a8feb74fbb10cdec4830e3f48c8f810f690ba
11,466
cpp
C++
src/lib/operators/insert.cpp
cmfcmf/hyrise
d3465dfc83039876c1800bf245e73874947da114
[ "MIT" ]
2
2019-01-22T19:44:32.000Z
2019-01-22T19:52:33.000Z
src/lib/operators/insert.cpp
tom-lichtenstein/hyrise
a11b5bdf6be726fd88b16c6e6284a238f5ec7873
[ "MIT" ]
33
2019-02-02T09:52:50.000Z
2019-03-07T13:14:40.000Z
src/lib/operators/insert.cpp
tom-lichtenstein/hyrise
a11b5bdf6be726fd88b16c6e6284a238f5ec7873
[ "MIT" ]
null
null
null
#include "insert.hpp" #include <algorithm> #include <memory> #include <string> #include <vector> #include "concurrency/transaction_context.hpp" #include "resolve_type.hpp" #include "storage/base_encoded_segment.hpp" #include "storage/storage_manager.hpp" #include "storage/value_segment.hpp" #include "type_cast.hpp" #...
45.5
120
0.720129
cmfcmf
805aaa5e61422543be05ee86f402d1bdd476e5da
6,744
cpp
C++
src/cpp/bigInteger.cpp
Praggya17/HacktoberFestContribute
098cb1012f1f2ed6ca6b3544a7b962b6c49e2643
[ "MIT" ]
98
2018-10-09T15:42:41.000Z
2021-10-04T15:25:44.000Z
src/cpp/bigInteger.cpp
Praggya17/HacktoberFestContribute
098cb1012f1f2ed6ca6b3544a7b962b6c49e2643
[ "MIT" ]
141
2018-10-06T16:55:20.000Z
2021-10-31T18:25:35.000Z
src/cpp/bigInteger.cpp
Praggya17/HacktoberFestContribute
098cb1012f1f2ed6ca6b3544a7b962b6c49e2643
[ "MIT" ]
885
2018-10-06T17:14:44.000Z
2022-01-29T03:16:21.000Z
/* @author: Priyendu Mori Big Integer library that supports add, sub, mul, div and gcd of large numbers */ #include <bits/stdc++.h> #include <string> #define ll long long using namespace std; string add(string, string); string sub(string, string); bool isSmaller(string x, string y) { for (ll i=0; i<x.l...
21.009346
81
0.440391
Praggya17
805ea71dabf146f76d987af60fe31fc1d9cb9102
11,863
hpp
C++
src/game_api/state.hpp
iojon/overlunky
096902bf8f0de28522ab140d900d64354ce536ac
[ "MIT" ]
null
null
null
src/game_api/state.hpp
iojon/overlunky
096902bf8f0de28522ab140d900d64354ce536ac
[ "MIT" ]
null
null
null
src/game_api/state.hpp
iojon/overlunky
096902bf8f0de28522ab140d900d64354ce536ac
[ "MIT" ]
1
2020-11-14T14:45:16.000Z
2020-11-14T14:45:16.000Z
#pragma once #include "items.hpp" #include "layer.hpp" #include "memory.hpp" #include "savedata.hpp" #include "screen.hpp" #include "screen_arena.hpp" #include "state_structs.hpp" #include "thread_utils.hpp" const float ZF = 0.737f; struct Layer; struct LevelGenSystem; struct StateMemory { siz...
31.634667
159
0.610975
iojon
805f5b72a24bbc10381767291985701ab8bf2916
342
cc
C++
runtime/chxvm_op.cc
vermashresth/chainer-compiler
5f5ad365d14398d6ae0214fa012eb10360db8e7e
[ "MIT" ]
116
2019-01-25T03:54:44.000Z
2022-03-08T00:11:14.000Z
runtime/chxvm_op.cc
vermashresth/chainer-compiler
5f5ad365d14398d6ae0214fa012eb10360db8e7e
[ "MIT" ]
431
2019-01-25T10:18:44.000Z
2020-06-17T05:28:55.000Z
runtime/chxvm_op.cc
vermashresth/chainer-compiler
5f5ad365d14398d6ae0214fa012eb10360db8e7e
[ "MIT" ]
26
2019-01-25T07:21:09.000Z
2021-11-26T04:24:35.000Z
#include "runtime/chxvm_op.h" #include <common/strutil.h> namespace chainer_compiler { namespace runtime { ChxVMOp::ChxVMOp(const ChxVMInstructionProto& inst) : inst_(inst), id_(inst.id()), op_(inst.op()), name_(StrCat(ChxVMInstructionProto_Op_Name(inst.op()), inst.id())) { } } // namespace runtime } // names...
24.428571
119
0.72807
vermashresth
80629117d2c79ecfb56e7211afef34ff974ecfd5
18,248
cpp
C++
tags/20090801_v0.2.0/src/singlePlayer/wh/CSelectTeamWindowHandler.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
tags/20090801_v0.2.0/src/singlePlayer/wh/CSelectTeamWindowHandler.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
tags/20090801_v0.2.0/src/singlePlayer/wh/CSelectTeamWindowHandler.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
/****************************************************************************** * Copyright (C) 2008 - Ikaro Games www.ikarogames.com * * * * This program is free software; you can redistribute it and/or * ...
46.43257
218
0.678431
dividio
8063c264cbd2bfa952a1ee4fb10a3a7a290bac0b
1,171
cc
C++
patches/process-kill_posix.cc
bolthole/solaris-chromium-patches
5ed86010096ace6e50bfa97bb8ca0237b0f834ee
[ "Apache-2.0" ]
null
null
null
patches/process-kill_posix.cc
bolthole/solaris-chromium-patches
5ed86010096ace6e50bfa97bb8ca0237b0f834ee
[ "Apache-2.0" ]
null
null
null
patches/process-kill_posix.cc
bolthole/solaris-chromium-patches
5ed86010096ace6e50bfa97bb8ca0237b0f834ee
[ "Apache-2.0" ]
1
2018-11-12T09:01:36.000Z
2018-11-12T09:01:36.000Z
diff --git a/base/process/kill_posix.cc b/base/process/kill_posix.cc index bff7be4..544b9a3 100644 --- a/base/process/kill_posix.cc +++ b/base/process/kill_posix.cc @@ -248,6 +248,17 @@ bool WaitForExitCodeWithTimeout(ProcessHandle handle, bool WaitForProcessesToExit(const FilePath::StringType& executable_name, ...
37.774194
92
0.687447
bolthole
8067adad0aa629091a19ffd2ada16175fbdd5d4b
1,924
inl
C++
dependencies/2dmapping/UnitSquareToTriangle.inl
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
6
2015-12-29T07:21:01.000Z
2020-05-29T10:47:38.000Z
dependencies/2dmapping/UnitSquareToTriangle.inl
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
null
null
null
dependencies/2dmapping/UnitSquareToTriangle.inl
jaredhoberock/gotham
e3551cc355646530574d086d7cc2b82e41e8f798
[ "Apache-2.0" ]
null
null
null
/*! \file UnitSquareToTriangle.inl * \author Jared Hoberock * \brief Inline file for UnitSquareToTriangle.h. */ #include "UnitSquareToTriangle.h" #include "UnitSquareToIsoscelesRightTriangle.h" template<typename Real, typename Point> void UnitSquareToTriangle ::evaluate(const Real &u, const Real ...
30.0625
93
0.601871
jaredhoberock
806898e6e74ed2387d1eec075d58469555b53dc6
817
cpp
C++
LD20 - Acid/imagemgr.cpp
milo-brandt/milos-ludum-dare-entries
6b4907463395ee99720386bca48726a798af14d2
[ "MIT" ]
null
null
null
LD20 - Acid/imagemgr.cpp
milo-brandt/milos-ludum-dare-entries
6b4907463395ee99720386bca48726a798af14d2
[ "MIT" ]
null
null
null
LD20 - Acid/imagemgr.cpp
milo-brandt/milos-ludum-dare-entries
6b4907463395ee99720386bca48726a798af14d2
[ "MIT" ]
null
null
null
/* * imagemgr.cpp * Acid * * Created by Milo Brandt on 4/30/11. * Copyright 2011 Apple Inc. All rights reserved. * */ #include "imagemgr.h" imageManager::imageManager(){ x[plyr_sprite].LoadFromFile("player.png"); x[goal_sprite].LoadFromFile("Goal.png"); x[complete_sprite].LoadFromFile("complete.png"); ...
30.259259
50
0.724602
milo-brandt
8068ab1c95f7f3b86016674e48db57c8b904aa89
109
hpp
C++
include/rua/sched.hpp
yulon/rua
acb14aa0e60b68f09e88c726965552f7f4f5ace0
[ "MIT" ]
null
null
null
include/rua/sched.hpp
yulon/rua
acb14aa0e60b68f09e88c726965552f7f4f5ace0
[ "MIT" ]
null
null
null
include/rua/sched.hpp
yulon/rua
acb14aa0e60b68f09e88c726965552f7f4f5ace0
[ "MIT" ]
null
null
null
#ifndef _RUA_SCHED_HPP #define _RUA_SCHED_HPP #include "sched/await.hpp" #include "sched/dozer.hpp" #endif
13.625
26
0.779817
yulon
8069c0f0f5b6082614643f71af872753d87ad731
1,008
cpp
C++
atcoder-dp/lcs.cpp
rranjan14/cp-solutions
9614508efbed1e4ee8b970b5eed535d782a5783f
[ "MIT" ]
null
null
null
atcoder-dp/lcs.cpp
rranjan14/cp-solutions
9614508efbed1e4ee8b970b5eed535d782a5783f
[ "MIT" ]
null
null
null
atcoder-dp/lcs.cpp
rranjan14/cp-solutions
9614508efbed1e4ee8b970b5eed535d782a5783f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { string X, Y; cin >> X; cin >> Y; int m = X.length(); int n = Y.length(); vector<vector<int>> dp(m + 1, vector<int>(n + 1, 0)); for (int i = 0; i <= m; i++) { for (int j = 0; j <= n; j++) { if (i == 0 ...
21
63
0.284722
rranjan14
806de58feef32412eb8bef584173bd323b5a0349
32,707
cpp
C++
3rdparty/meshlab-master/src/meshlabplugins/filter_select/meshselect.cpp
HoEmpire/slambook2
96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4
[ "MIT" ]
null
null
null
3rdparty/meshlab-master/src/meshlabplugins/filter_select/meshselect.cpp
HoEmpire/slambook2
96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4
[ "MIT" ]
null
null
null
3rdparty/meshlab-master/src/meshlabplugins/filter_select/meshselect.cpp
HoEmpire/slambook2
96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4
[ "MIT" ]
null
null
null
/**************************************************************************** * MeshLab o o * * A versatile mesh processing toolbox o o * * _ O _ * * Co...
43.843164
337
0.676614
HoEmpire
80715f67f775881f9ab4b28a5ffd43db8f167f49
839
cpp
C++
main/PISupervisor/src/PIDiskSize.cpp
sim1st/endpointdlp
f5203f23e93b00c8242c45fa85c26d9b7419e50c
[ "Apache-2.0" ]
null
null
null
main/PISupervisor/src/PIDiskSize.cpp
sim1st/endpointdlp
f5203f23e93b00c8242c45fa85c26d9b7419e50c
[ "Apache-2.0" ]
null
null
null
main/PISupervisor/src/PIDiskSize.cpp
sim1st/endpointdlp
f5203f23e93b00c8242c45fa85c26d9b7419e50c
[ "Apache-2.0" ]
null
null
null
#ifndef _PIDISKSIZE_CPP #define _PIDISKSIZE_CPP #include "PIDiskSize.h" #include "include_system.h" #include <sys/statvfs.h> //////////////////////////////////////// // CPIDiskSize CPIDiskSize::CPIDiskSize() { clear(); } CPIDiskSize::~CPIDiskSize() { } void CPIDiskSize::clear(void) { totalBytes ...
19.511628
51
0.622169
sim1st
807aa7f5dd3ef3255444c00cf2901498e3b89131
1,496
cc
C++
src/triangle.cc
interval1066/quetest
68958adaae845ce1132a21da3955af56f74228bb
[ "BSD-2-Clause" ]
null
null
null
src/triangle.cc
interval1066/quetest
68958adaae845ce1132a21da3955af56f74228bb
[ "BSD-2-Clause" ]
null
null
null
src/triangle.cc
interval1066/quetest
68958adaae845ce1132a21da3955af56f74228bb
[ "BSD-2-Clause" ]
null
null
null
#include <triangle.h> #include <segment.h> #include <algorithm> #include <iostream> using namespace std; using namespace slicer; Triangle::Triangle(Vertex v1, Vertex v2, Vertex v3) : v1(v1), v2(v2), v3(v3) {} float Triangle::x_min() const { return min(v1.x, min(v2.x, v3.x)); } float Triangle::x_max() const { retu...
16.622222
80
0.637032
interval1066
807e040eab83840fa93d4f8ddbc74e2ba0089fae
1,574
hh
C++
StRoot/StMcEvent/StMcFtpcHitCollection.hh
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StMcEvent/StMcFtpcHitCollection.hh
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StMcEvent/StMcFtpcHitCollection.hh
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
/*************************************************************************** * * $Id: StMcFtpcHitCollection.hh,v 2.5 2012/03/22 00:41:15 perev Exp $ * $Log: StMcFtpcHitCollection.hh,v $ * Revision 2.5 2012/03/22 00:41:15 perev * private => protected * * Revision 2.4 2009/07/24 19:08:07 perev * Cleanup + Bto...
29.698113
76
0.64803
xiaohaijin
807f4d7636b2fb2cd56284bca43557e3f1599d65
12,874
cpp
C++
alljoyn/alljoyn_core/samples/simple/android/client/jni/Client_jni.cpp
WigWagCo/alljoyn
1b148edd934882ca32fd319af86a5a927f9d35a7
[ "0BSD" ]
37
2015-01-18T21:27:23.000Z
2018-01-12T00:33:43.000Z
alljoyn/alljoyn_core/samples/simple/android/client/jni/Client_jni.cpp
WigWagCo/alljoyn
1b148edd934882ca32fd319af86a5a927f9d35a7
[ "0BSD" ]
14
2015-02-24T11:44:01.000Z
2020-07-20T18:48:44.000Z
alljoyn/alljoyn_core/samples/simple/android/client/jni/Client_jni.cpp
WigWagCo/alljoyn
1b148edd934882ca32fd319af86a5a927f9d35a7
[ "0BSD" ]
29
2015-01-23T16:40:52.000Z
2019-10-21T12:22:30.000Z
/* * Copyright (c) 2010-2011, AllSeen Alliance. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWA...
36.782857
137
0.609135
WigWagCo
8080f9d759f4ec143184b51efb217efd278f91bf
1,636
cc
C++
iioservice/libiioservice_ipc/sensor_server_dbus.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
iioservice/libiioservice_ipc/sensor_server_dbus.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
iioservice/libiioservice_ipc/sensor_server_dbus.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "iioservice/libiioservice_ipc/sensor_server_dbus.h" #include <memory> #include <base/bind.h> #include <base/check.h> #include <chromeos/dbus...
32.72
80
0.761002
Toromino
80828e098e1da2831b8968f319cfd94c80c1d5f0
4,679
cpp
C++
source/drivers/event/chimera_event.cpp
brandonbraun653/Loki
65c9472a81f66c13b729d7c2047013d1198f0c3c
[ "MIT" ]
1
2020-02-23T09:55:46.000Z
2020-02-23T09:55:46.000Z
source/drivers/event/chimera_event.cpp
brandonbraun653/Loki
65c9472a81f66c13b729d7c2047013d1198f0c3c
[ "MIT" ]
28
2019-04-02T17:12:19.000Z
2020-12-13T15:12:23.000Z
source/drivers/event/chimera_event.cpp
brandonbraun653/Loki
65c9472a81f66c13b729d7c2047013d1198f0c3c
[ "MIT" ]
null
null
null
/******************************************************************************** * File Name: * chimera_event.cpp * * Description: * Implements the event functionality for Chimera * * 2020 | Brandon Braun | brandonbraun653@gmail.com *********************************************************************...
29.062112
104
0.520838
brandonbraun653
8083cad615a5b2f6f6e9acb88dea393cd65e70fd
495
cpp
C++
Array/liuchang/day45/day45.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
39
2020-05-31T06:14:39.000Z
2021-01-09T11:06:39.000Z
Array/liuchang/day45/day45.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
7
2020-06-02T11:04:14.000Z
2020-06-11T14:11:58.000Z
Array/liuchang/day45/day45.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
20
2020-05-31T06:21:57.000Z
2020-10-01T04:48:38.000Z
// // Created by 刘畅 on 2020/7/15. // #include "day45.h" #include "iostream" char *toHex(int num) { if (num == 0) return "0"; char *ret, s[] = "0123456789abcdef", c; ret = (char *) malloc(sizeof(char) * 9); int i, j = 0; for (i = 0; i < 8 && num; i++) { ret[i] = s[num & 0xf]; num >>...
17.068966
44
0.40202
JessonYue
80842a0a5b8365f8e37d3b4c3514392abc363945
1,612
hpp
C++
code/jalog/Scope.hpp
iboB/jalog
d89a5bb4ef8b0ea701a7cd3ea0229de3fbb3ecd9
[ "MIT" ]
3
2021-12-07T06:16:31.000Z
2021-12-22T14:12:36.000Z
code/jalog/Scope.hpp
iboB/jalog
d89a5bb4ef8b0ea701a7cd3ea0229de3fbb3ecd9
[ "MIT" ]
null
null
null
code/jalog/Scope.hpp
iboB/jalog
d89a5bb4ef8b0ea701a7cd3ea0229de3fbb3ecd9
[ "MIT" ]
null
null
null
// jalog // Copyright (c) 2021-2022 Borislav Stanimirov // // Distributed under the MIT Software License // See accompanying file LICENSE.txt or copy at // https://opensource.org/licenses/MIT // #pragma once #include "API.h" #include "Level.hpp" #include "ScopeDesc.hpp" #include <atomic> #include <vector> #include <s...
23.705882
103
0.684243
iboB
808bc2b68f3917e36970e82b72836aa2f5d18f30
1,672
cpp
C++
RealityCore/Source/GUI/Login.cpp
Intro-Ventors/Re-Co-Desktop
8547cca9230069a36973ec836426d4610f30f8bb
[ "MIT" ]
null
null
null
RealityCore/Source/GUI/Login.cpp
Intro-Ventors/Re-Co-Desktop
8547cca9230069a36973ec836426d4610f30f8bb
[ "MIT" ]
null
null
null
RealityCore/Source/GUI/Login.cpp
Intro-Ventors/Re-Co-Desktop
8547cca9230069a36973ec836426d4610f30f8bb
[ "MIT" ]
null
null
null
// Copyright (c) 2022 Intro-Ventors #include "Login.hpp" #include "../../ui_Login.h" #include <QMovie> #include <QCryptographicHash> namespace GUI { Login::Login(QWidget* pParent) : QDialog(pParent, Qt::FramelessWindowHint) , m_pLogin(new Ui::Login()) { // Setup the UI. m_pLogin->setupUi(this); // Creat...
20.641975
106
0.68122
Intro-Ventors
80926846273cfea668bdebae73a235d443533e22
1,150
cpp
C++
src/largest-divisible-subset.cpp
amoudgl/leetcode-solutions
dc6570bb06b82c2c70d6f387b3486897035cc995
[ "MIT" ]
null
null
null
src/largest-divisible-subset.cpp
amoudgl/leetcode-solutions
dc6570bb06b82c2c70d6f387b3486897035cc995
[ "MIT" ]
null
null
null
src/largest-divisible-subset.cpp
amoudgl/leetcode-solutions
dc6570bb06b82c2c70d6f387b3486897035cc995
[ "MIT" ]
null
null
null
// Author: Abhinav Moudgil [ https://leetcode.com/amoudgl/ ] class Solution { public: vector<int> largestDivisibleSubset(vector<int>& nums) { int i, j, n = nums.size(), prev, max = 0, ind, maxind, ans = 0; vector<int> largestSet; if (n == 0) return largestSet; sort(nums.begin(), nu...
28.75
73
0.395652
amoudgl
80991cf5210708c7a5d74dd5a5151ee8912e20ed
7,394
cpp
C++
tools/binlog/binlog.cpp
chronoxor/CppLogging
13743b54086ad80af121c7bb77f5e9a71473753b
[ "MIT" ]
97
2016-10-09T04:10:25.000Z
2022-03-30T21:23:25.000Z
tools/binlog/binlog.cpp
chronoxor/CppLogging
13743b54086ad80af121c7bb77f5e9a71473753b
[ "MIT" ]
4
2019-10-25T01:45:13.000Z
2021-12-15T04:09:58.000Z
tools/binlog/binlog.cpp
chronoxor/CppLogging
13743b54086ad80af121c7bb77f5e9a71473753b
[ "MIT" ]
34
2018-12-28T14:01:46.000Z
2021-11-24T17:22:09.000Z
/*! \file binlog.cpp \brief Binary logs reader definition \author Ivan Shynkarenka \date 16.09.2015 \copyright MIT License */ #include "logging/record.h" #include "logging/layouts/text_layout.h" #include "logging/version.h" #include "../source/logging/appenders/minizip/unzip.h" #if defined(_WIN32)...
29.694779
115
0.617933
chronoxor
809a93ee2b6e537001737479389c09c46d51dc92
3,244
cpp
C++
main/controller.cpp
lucasnunes/tcc_source
695610ec134d946694080fd2efae3f1dc41c2fa2
[ "Apache-2.0" ]
2
2019-01-08T12:51:04.000Z
2019-01-08T12:51:04.000Z
main/controller.cpp
lucasnunes/tcc_source
695610ec134d946694080fd2efae3f1dc41c2fa2
[ "Apache-2.0" ]
null
null
null
main/controller.cpp
lucasnunes/tcc_source
695610ec134d946694080fd2efae3f1dc41c2fa2
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2014 Lucas Nunes de Lima * * 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...
25.543307
80
0.460543
lucasnunes
809c004dab8f2e13b058b94afeb1ddfa6c95b8e1
1,601
cpp
C++
fw/src/util.cpp
cednik/one-wire_sniffer
bfa8e38e6310c8a20ac48eaa711be53b3454806b
[ "MIT" ]
null
null
null
fw/src/util.cpp
cednik/one-wire_sniffer
bfa8e38e6310c8a20ac48eaa711be53b3454806b
[ "MIT" ]
null
null
null
fw/src/util.cpp
cednik/one-wire_sniffer
bfa8e38e6310c8a20ac48eaa711be53b3454806b
[ "MIT" ]
null
null
null
#include "util.hpp" #include "print.hpp" #include "esp_system.h" #include "FreeRTOS.h" void checkReset() { esp_reset_reason_t resetReason = esp_reset_reason(); switch (resetReason) { case ESP_RST_UNKNOWN: print("\tUnknown reset - strange\n"); break; case ESP_RST_POWERON: prin...
27.603448
93
0.632105
cednik