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
90dec70e690f7e7ac612b7e8fa8f325a5b021084
1,118
hpp
C++
src/tuple_contains.hpp
LB--/tuples
4e1c5ecc1f3d2237050868dd1e895113484de3c6
[ "Unlicense" ]
1
2016-04-13T19:57:54.000Z
2016-04-13T19:57:54.000Z
src/tuple_contains.hpp
LB--/tuples
4e1c5ecc1f3d2237050868dd1e895113484de3c6
[ "Unlicense" ]
null
null
null
src/tuple_contains.hpp
LB--/tuples
4e1c5ecc1f3d2237050868dd1e895113484de3c6
[ "Unlicense" ]
null
null
null
#ifndef LB_tuples_tuple_contains_HeaderPlusPlus #define LB_tuples_tuple_contains_HeaderPlusPlus #include "tuple.hpp" #include "tuple_template_forward.hpp" #include "tuple_type_cat.hpp" #include <type_traits> namespace LB { namespace tuples { namespace impl { template<typename Type, typename... Args> stru...
21.09434
76
0.70483
LB--
90e2482efa37c6664c80bfadbaf27d497f5e2739
14,320
cc
C++
content/renderer/media/webrtc_audio_capturer.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/renderer/media/webrtc_audio_capturer.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/renderer/media/webrtc_audio_capturer.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 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 "content/renderer/media/webrtc_audio_capturer.h" #include "base/bind.h" #include "base/logging.h" #include "base/metrics/histogram.h" #inclu...
33.694118
79
0.695321
pozdnyakov
90e69e6f340eeaf084901d09b18f28b3918e44a2
1,323
cpp
C++
chapter4_treesandGraphs/question2.cpp
kgajwan1/CTCI_practice
2e8e61f508777b4b7ad5d8c32dedd12ea5b27d39
[ "MIT" ]
null
null
null
chapter4_treesandGraphs/question2.cpp
kgajwan1/CTCI_practice
2e8e61f508777b4b7ad5d8c32dedd12ea5b27d39
[ "MIT" ]
null
null
null
chapter4_treesandGraphs/question2.cpp
kgajwan1/CTCI_practice
2e8e61f508777b4b7ad5d8c32dedd12ea5b27d39
[ "MIT" ]
null
null
null
//create a binary search tree from sorted array //make middle element root node, do recursion for left and right half #include<bits/stdc++.h> class node { public: int data; node *left, *right; }; //create a new node struct node *newNode(int item) { node *temp = new node; temp->da...
23.210526
70
0.557067
kgajwan1
90e82c89d9a98a73c2c5a1dbb14b53e30be80f11
1,472
cpp
C++
904-fruit-into-baskets/solution.cpp
darxsys/leetcode
1174f0dbad56c6bfd8196bc4c14798b5f8cee418
[ "MIT" ]
null
null
null
904-fruit-into-baskets/solution.cpp
darxsys/leetcode
1174f0dbad56c6bfd8196bc4c14798b5f8cee418
[ "MIT" ]
null
null
null
904-fruit-into-baskets/solution.cpp
darxsys/leetcode
1174f0dbad56c6bfd8196bc4c14798b5f8cee418
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <cstdlib> #include <cassert> #include <vector> #include <map> #include <stack> #include <queue> #include <deque> #include <map> #include <unordered_map> #include <algorithm> #include <unordered_set> using namespace std; class Solution { public: int totalFruit(vector<in...
19.891892
45
0.443614
darxsys
90e913ad776a0343185c5d8aaae1d43df3d0020a
880
cpp
C++
PC_Clase7/max_val_k_array.cpp
Angelussz/ProgramacionCompetitiva
681c0aa21020d8e843108e77abcf2a62dd471dc5
[ "BSD-3-Clause" ]
null
null
null
PC_Clase7/max_val_k_array.cpp
Angelussz/ProgramacionCompetitiva
681c0aa21020d8e843108e77abcf2a62dd471dc5
[ "BSD-3-Clause" ]
null
null
null
PC_Clase7/max_val_k_array.cpp
Angelussz/ProgramacionCompetitiva
681c0aa21020d8e843108e77abcf2a62dd471dc5
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** Maximum sum of any contiguous subarray of size k *******************************************************************************/ #include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.ti...
20.465116
80
0.359091
Angelussz
90e94d58c481a250c9ec78fd20e1c1b0fecb9ddd
14,546
cpp
C++
os/net/src/socket.cpp
rvedam/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
2
2020-11-30T18:38:20.000Z
2021-06-07T07:44:03.000Z
os/net/src/socket.cpp
LambdaLord/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
1
2019-01-14T03:09:45.000Z
2019-01-14T03:09:45.000Z
os/net/src/socket.cpp
LambdaLord/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2008, 2009 Google Inc. * Copyright 2006, 2007 Nintendo Co., Ltd. * * 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 * ...
18.11457
91
0.571497
rvedam
90f32b95bb13f5a5f7953dcbf0df514c560f22e5
30,383
cpp
C++
snap/snap-core/centr.cpp
dkw-aau/trident-clone
18f896db2be05870069ae7b3aa6b4837c74fff0f
[ "Apache-2.0" ]
20
2018-10-17T21:39:40.000Z
2021-11-10T11:07:23.000Z
snap/snap-core/centr.cpp
dkw-aau/trident-clone
18f896db2be05870069ae7b3aa6b4837c74fff0f
[ "Apache-2.0" ]
5
2020-07-06T22:50:04.000Z
2022-03-17T10:34:15.000Z
snap/snap-core/centr.cpp
dkw-aau/trident-clone
18f896db2be05870069ae7b3aa6b4837c74fff0f
[ "Apache-2.0" ]
9
2018-09-18T11:37:35.000Z
2022-03-29T07:46:41.000Z
namespace TSnap { ///////////////////////////////////////////////// // Node centrality measures double GetDegreeCentr(const PUNGraph& Graph, const int& NId) { if (Graph->GetNodes() > 1) { return double(Graph->GetNI(NId).GetDeg())/double(Graph->GetNodes()-1); } else { retu...
35.165509
210
0.453313
dkw-aau
90f393f374347ea6a5f0ca26af15137e11c1348f
3,135
cpp
C++
modules/task_3/oganyan_r_global_search/main.cpp
orcyyy/pp_2020_autumn_engineer-1
14cb1248b8b765a02eaa4c73f06807c250545491
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/oganyan_r_global_search/main.cpp
orcyyy/pp_2020_autumn_engineer-1
14cb1248b8b765a02eaa4c73f06807c250545491
[ "BSD-3-Clause" ]
1
2020-12-27T20:31:37.000Z
2020-12-27T20:31:37.000Z
modules/task_3/oganyan_r_global_search/main.cpp
schelyanskovan/pp_2020_autumn_engineer
2bacf7ccaf3c638044c41068565a693ac4fae828
[ "BSD-3-Clause" ]
1
2021-03-29T10:15:47.000Z
2021-03-29T10:15:47.000Z
// Copyright by Oganyan Robert 2020 #include <gtest/gtest.h> #include <gtest-mpi-listener.hpp> #include <iostream> #include "../../../modules/task_3/oganyan_r_global_search/functions.h" #include "../../../modules/task_3/oganyan_r_global_search/global_search.h" using std::cout; using std::endl; void CreateTest(in...
37.321429
99
0.652632
orcyyy
90f39cbff051c475bc215a36bb286219abebed96
540
cpp
C++
DeathMask/DeathMask.cpp
demensdeum/Death-Mask
6251bd5b3540adc494f2d8ea387e35479aa7b238
[ "MIT" ]
null
null
null
DeathMask/DeathMask.cpp
demensdeum/Death-Mask
6251bd5b3540adc494f2d8ea387e35479aa7b238
[ "MIT" ]
11
2017-08-12T17:04:34.000Z
2017-10-15T08:27:58.000Z
DeathMask/DeathMask.cpp
demensdeum/Death-Mask
6251bd5b3540adc494f2d8ea387e35479aa7b238
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include <DeathMask/src/Controllers/GameController/DMGameController.h> #include <DeathMask/src/Const/DMConstStates.h> using namespace std; int main() { cout << "Death Mask - Cyber Fantasy Adventure in Endless Techno-Maze\nPrepare to die!\n" << endl; #ifdef __EMSCRIPTEN__ try {...
19.285714
98
0.733333
demensdeum
90f42b30ce2c6d92894acac56640cb4fdc126166
907
cpp
C++
0410-Split Array Largest Sum/0410-Split Array Largest Sum.cpp
zhuangli1987/LeetCode-1
e81788abf9e95e575140f32a58fe983abc97fa4a
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
0401-0500/0410-Split Array Largest Sum/0410-Split Array Largest Sum.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
0401-0500/0410-Split Array Largest Sum/0410-Split Array Largest Sum.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution { public: int splitArray(vector<int>& nums, int m) { int start = nums[0], end = 0; for (int num : nums) { start = max(start, num); end += num; } while (start < end) { int mid = start + (end - start) / 2; if (doable(nums,...
21.595238
55
0.342889
zhuangli1987
90f48bfbae987cbc20421d1ad70fed346527945d
37,683
cpp
C++
src/prod/src/Hosting2/FabricUpgradeImpl.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
1
2020-06-15T04:33:36.000Z
2020-06-15T04:33:36.000Z
src/prod/src/Hosting2/FabricUpgradeImpl.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
null
null
null
src/prod/src/Hosting2/FabricUpgradeImpl.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "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 "...
38.256853
220
0.619616
vishnuk007
90f4baba0b86bb00ab5acbc2c492e5f808627a28
12,211
cpp
C++
test/dualtime/dualtimeExpDecayTest.cpp
MaxZZG/ExprLib
c35e361ef6af365e7cd6afca6548595693bd149a
[ "MIT" ]
null
null
null
test/dualtime/dualtimeExpDecayTest.cpp
MaxZZG/ExprLib
c35e361ef6af365e7cd6afca6548595693bd149a
[ "MIT" ]
null
null
null
test/dualtime/dualtimeExpDecayTest.cpp
MaxZZG/ExprLib
c35e361ef6af365e7cd6afca6548595693bd149a
[ "MIT" ]
null
null
null
#include <expression/dualtime/FixedPointBDFDualTimeIntegrator.h> #include <expression/dualtime/VariableImplicitBDFDualTimeIntegrator.h> #include <expression/dualtime/BlockImplicitBDFDualTimeIntegrator.h> #include <spatialops/structured/Grid.h> #include <spatialops/structured/FVStaggered.h> #include <spatialops/structu...
37.804954
127
0.534518
MaxZZG
90f55aecb8cea0f565a768b770147bdb8ebb289e
2,583
cpp
C++
dev/test/so_5/environment/reg_coop_after_stop/main.cpp
ZaMaZaN4iK/sobjectizer
afe9fc4d9fac6157860ec4459ac7a129223be87c
[ "BSD-3-Clause" ]
272
2019-05-16T11:45:54.000Z
2022-03-28T09:32:14.000Z
dev/test/so_5/environment/reg_coop_after_stop/main.cpp
ZaMaZaN4iK/sobjectizer
afe9fc4d9fac6157860ec4459ac7a129223be87c
[ "BSD-3-Clause" ]
40
2019-10-29T18:19:18.000Z
2022-03-30T09:02:49.000Z
dev/test/so_5/environment/reg_coop_after_stop/main.cpp
ZaMaZaN4iK/sobjectizer
afe9fc4d9fac6157860ec4459ac7a129223be87c
[ "BSD-3-Clause" ]
29
2019-05-16T12:05:32.000Z
2022-03-19T12:28:33.000Z
/* * A test for checking autoshutdown during execution of init function. */ #include <iostream> #include <map> #include <exception> #include <stdexcept> #include <cstdlib> #include <thread> #include <chrono> #include <sstream> #include <mutex> #include <so_5/all.hpp> #include <test/3rd_party/various_helpers/time_l...
17.22
74
0.612079
ZaMaZaN4iK
90f7b9d5a31589c2ee3fc23a3c03685f4f45815c
4,649
cc
C++
mindspore/lite/src/ops/concat.cc
huxian123/mindspore
ec5ba10c82bbd6eccafe32d3a1149add90105bc8
[ "Apache-2.0" ]
2
2021-04-22T07:00:59.000Z
2021-11-08T02:49:09.000Z
mindspore/lite/src/ops/concat.cc
huxian123/mindspore
ec5ba10c82bbd6eccafe32d3a1149add90105bc8
[ "Apache-2.0" ]
1
2020-12-29T06:46:38.000Z
2020-12-29T06:46:38.000Z
mindspore/lite/src/ops/concat.cc
huxian123/mindspore
ec5ba10c82bbd6eccafe32d3a1149add90105bc8
[ "Apache-2.0" ]
1
2021-05-10T03:30:36.000Z
2021-05-10T03:30:36.000Z
/** * Copyright 2019-2020 Huawei Technologies Co., Ltd * * 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 applicabl...
35.219697
106
0.687029
huxian123
90fc34239f2ecedc10add0d63ee205a7f0900360
211
hpp
C++
SwapChain/Driver/OpenGL-DX/include/GL-DX/Win32/Surface.hpp
Gpinchon/OCRA
341bb07facc616f1f8a27350054d1e86f022d7c6
[ "Apache-2.0" ]
null
null
null
SwapChain/Driver/OpenGL-DX/include/GL-DX/Win32/Surface.hpp
Gpinchon/OCRA
341bb07facc616f1f8a27350054d1e86f022d7c6
[ "Apache-2.0" ]
null
null
null
SwapChain/Driver/OpenGL-DX/include/GL-DX/Win32/Surface.hpp
Gpinchon/OCRA
341bb07facc616f1f8a27350054d1e86f022d7c6
[ "Apache-2.0" ]
null
null
null
#pragma once #include <GL-DX/Surface.hpp> namespace OCRA::Surface::Win32 { struct Impl : Surface::Impl { Impl(const Instance::Handle& a_Instance, const Info& a_Info); ~Impl(); const void* hdc; }; }
16.230769
65
0.668246
Gpinchon
290028fc14d0d66e7b0b96d1caf2a91a9bcefa8e
52,764
cxx
C++
Rendering/RayTracing/vtkOSPRayPolyDataMapperNode.cxx
gabrielventosa/vtk
723711d79b0a23de6f07421a27e89539f9d500da
[ "BSD-3-Clause" ]
null
null
null
Rendering/RayTracing/vtkOSPRayPolyDataMapperNode.cxx
gabrielventosa/vtk
723711d79b0a23de6f07421a27e89539f9d500da
[ "BSD-3-Clause" ]
null
null
null
Rendering/RayTracing/vtkOSPRayPolyDataMapperNode.cxx
gabrielventosa/vtk
723711d79b0a23de6f07421a27e89539f9d500da
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkOSPRayPolyDataMapperNode.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. Th...
37.315417
100
0.652813
gabrielventosa
2901d924cf1d1014a689b00559a8cd3d4932b738
10,041
cpp
C++
modules/basegl/processors/background.cpp
liu3xing3long/inviwo
69cca9b6ecd58037bda0ed9e6f53d02f189f19a7
[ "BSD-2-Clause" ]
1
2018-04-07T14:30:29.000Z
2018-04-07T14:30:29.000Z
modules/basegl/processors/background.cpp
liu3xing3long/inviwo
69cca9b6ecd58037bda0ed9e6f53d02f189f19a7
[ "BSD-2-Clause" ]
null
null
null
modules/basegl/processors/background.cpp
liu3xing3long/inviwo
69cca9b6ecd58037bda0ed9e6f53d02f189f19a7
[ "BSD-2-Clause" ]
null
null
null
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2013-2018 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
41.8375
98
0.627926
liu3xing3long
290236235d9c903a150cf047abbc35c1493025fa
11,083
cpp
C++
editor/DrawState.cpp
tay10r/libpx
0cdcaf959aed59907f68d08428e3808e69cfc8de
[ "MIT" ]
19
2020-06-16T01:43:26.000Z
2022-01-08T09:12:20.000Z
editor/DrawState.cpp
tay10r/libpx
0cdcaf959aed59907f68d08428e3808e69cfc8de
[ "MIT" ]
3
2020-06-16T10:27:14.000Z
2021-02-10T16:26:54.000Z
editor/DrawState.cpp
tay10r/libpx
0cdcaf959aed59907f68d08428e3808e69cfc8de
[ "MIT" ]
3
2020-10-24T09:26:28.000Z
2021-06-17T04:59:38.000Z
#include "DrawState.hpp" #include "App.hpp" #include "ColorEdit.hpp" #include "DrawPanel.hpp" #include "Input.hpp" #include "LayerPanel.hpp" #include "MenuBar.hpp" #include "Platform.hpp" #include "Renderer.hpp" #include "BucketTool.hpp" #include "ColorPickerTool.hpp" #include "EllipseTool.hpp" #include "EraserTool.h...
24.961712
90
0.643689
tay10r
2906827781d0fba19b4c5e6adab1a47edcbcd851
6,739
cpp
C++
software/build-gui-Qt_5_12_8_qt5_temporary-Profile/app/controls_graphs_FlowGraph_qml.cpp
wajo10/Ventilator
ff6678d8c2b7037113f0947fb2d91b6b07fff7b9
[ "Apache-2.0" ]
null
null
null
software/build-gui-Qt_5_12_8_qt5_temporary-Profile/app/controls_graphs_FlowGraph_qml.cpp
wajo10/Ventilator
ff6678d8c2b7037113f0947fb2d91b6b07fff7b9
[ "Apache-2.0" ]
null
null
null
software/build-gui-Qt_5_12_8_qt5_temporary-Profile/app/controls_graphs_FlowGraph_qml.cpp
wajo10/Ventilator
ff6678d8c2b7037113f0947fb2d91b6b07fff7b9
[ "Apache-2.0" ]
null
null
null
// /controls/graphs/FlowGraph.qml namespace QmlCacheGeneratedCode { namespace _controls_graphs_FlowGraph_qml { extern const unsigned char qmlData alignas(16) [] = { 0x71,0x76,0x34,0x63,0x64,0x61,0x74,0x61, 0x20,0x0,0x0,0x0,0x8,0xc,0x5,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0xdc,0x5,0x0,0x0,0x31,0x30,0x31,0x37, 0x39,0x3...
34.208122
53
0.743879
wajo10
290701c5781bd90b45d89b9372e917a8b4dd3533
14,078
cpp
C++
DNPakCrypto/DNPakCrypto/ACT_DNT.cpp
alin1337/DNSkyProject
f2126e7ac547837156c5a192ba4b02755ae2c73b
[ "WTFPL", "Unlicense" ]
4
2017-02-14T16:22:37.000Z
2018-06-10T02:29:44.000Z
DNPakCrypto/DNPakCrypto/ACT_DNT.cpp
alin1337/DNSkyProject
f2126e7ac547837156c5a192ba4b02755ae2c73b
[ "WTFPL", "Unlicense" ]
2
2017-04-14T20:11:24.000Z
2018-07-01T10:57:36.000Z
DNPakCrypto/DNPakCrypto/ACT_DNT.cpp
alin1337/DNSkyProject
f2126e7ac547837156c5a192ba4b02755ae2c73b
[ "WTFPL", "Unlicense" ]
5
2018-02-24T03:03:20.000Z
2022-02-02T02:48:14.000Z
#include <Windows.h> #include <iostream> #include <fstream> #include <algorithm> #include <string> #include <dirent.h> #include <conio.h> #include <time.h> #include "..\\..\\DNSkyProject\\vlizer.h" #include "lzo.h" #include "Header.h" #include <random> #include <stdio.h> #include <VMProtectSDK.h> using namespace std; ...
19.912306
221
0.575437
alin1337
290df6ca8947eadb25f8ac80c44dc683dd5457d4
1,953
cpp
C++
core/graphics/layout.cpp
NebulousDev/WyvernEngine
06e506a1b1c3dba8c4b9c57a6bbc33a003519854
[ "Apache-2.0" ]
4
2018-05-23T16:40:27.000Z
2018-06-19T22:28:59.000Z
core/graphics/layout.cpp
NebulousDev/WyvernEngine
06e506a1b1c3dba8c4b9c57a6bbc33a003519854
[ "Apache-2.0" ]
null
null
null
core/graphics/layout.cpp
NebulousDev/WyvernEngine
06e506a1b1c3dba8c4b9c57a6bbc33a003519854
[ "Apache-2.0" ]
null
null
null
#include "layout.h" #include "graphics.h" static InputLayout sLayouts[MAX_INPUT_LAYOUTS] = {}; static uint32 sNextLayout = 0; static bool8 sInitialized = false; bool8 ValidateLayoutHandle(InputLayoutHandle hHandle) { return hHandle > -1 && hHandle < (MAX_INPUT_LAYOUTS + 1) && sLayouts[hHandle].valid; } const Inpu...
24.4125
96
0.747568
NebulousDev
290e287b9485e49bf9303d3de19ceaf168fad9ef
2,312
hpp
C++
include/bounded/detail/underlying_type.hpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
44
2020-10-03T21:37:52.000Z
2022-03-26T10:08:46.000Z
include/bounded/detail/underlying_type.hpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
1
2021-01-01T23:22:39.000Z
2021-01-01T23:22:39.000Z
include/bounded/detail/underlying_type.hpp
davidstone/bounded-integer
d4f9a88a12174ca8382af60b00c5affd19aa8632
[ "BSL-1.0" ]
null
null
null
// Copyright David Stone 2017. // 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) #pragma once #include <bounded/detail/comparison.hpp> #include <bounded/detail/int128.hpp> #include <bounded/detail/overlapping_ran...
36.698413
86
0.754758
davidstone
290f0e43b3e843c5b55ae10774695af5f843ca99
591
cpp
C++
LCP.cpp
laxmena/CodeKata
6ae0b911f1a436f691dfac13a760a53beedf7405
[ "MIT" ]
null
null
null
LCP.cpp
laxmena/CodeKata
6ae0b911f1a436f691dfac13a760a53beedf7405
[ "MIT" ]
null
null
null
LCP.cpp
laxmena/CodeKata
6ae0b911f1a436f691dfac13a760a53beedf7405
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ vector<string> bucket; int n,minStr = INT_MAX; string temp; cout<<"enter number of strings: "; cin>>n; for(int i=0;i<n;i++){ cin>>temp; if(temp.size() < minStr) minStr = temp.size(); bucket.push_back(temp); } int prefixLen = 0; for(int i=0;...
18.46875
54
0.597293
laxmena
290f2cd9b71db8f4be70b7a7a61889028ec99130
3,868
cc
C++
gax/backoff_policy_test.cc
software-dov/gapic-generator-cpp
c5898a519bd2765ff02e3e0303dbb09ac17b41a0
[ "Apache-2.0" ]
9
2019-03-14T16:00:58.000Z
2021-10-07T21:32:08.000Z
gax/backoff_policy_test.cc
software-dov/gapic-generator-cpp
c5898a519bd2765ff02e3e0303dbb09ac17b41a0
[ "Apache-2.0" ]
43
2019-03-05T01:17:40.000Z
2020-07-18T03:43:21.000Z
gax/backoff_policy_test.cc
software-dov/gapic-generator-cpp
c5898a519bd2765ff02e3e0303dbb09ac17b41a0
[ "Apache-2.0" ]
9
2019-03-01T16:19:32.000Z
2020-11-03T11:05:45.000Z
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
36.838095
80
0.721044
software-dov
291655fe5de39ea765a8d9575aa61f7c3a8e220e
10,493
hpp
C++
samples/slam_or_pt_tutorial_1/cpp/pt/pt_module.hpp
bram4370/realsense_samples
69a1ca2c00765c76d524da56c6026e7abb95c1e3
[ "Apache-2.0" ]
36
2016-09-27T14:42:59.000Z
2021-09-22T09:45:41.000Z
samples/slam_or_pt_tutorial_1/cpp/pt/pt_module.hpp
bram4370/realsense_samples
69a1ca2c00765c76d524da56c6026e7abb95c1e3
[ "Apache-2.0" ]
12
2016-12-14T18:32:19.000Z
2017-12-19T13:46:04.000Z
samples/slam_or_pt_tutorial_1/cpp/pt/pt_module.hpp
bram4370/realsense_samples
69a1ca2c00765c76d524da56c6026e7abb95c1e3
[ "Apache-2.0" ]
22
2017-01-31T22:23:36.000Z
2022-02-18T11:59:28.000Z
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2017 Intel Corporation. All Rights Reserved. #pragma once #include <sys/stat.h> #include <string> #include <iostream> #include <unistd.h> #include <thread> #include <mutex> #include <algorithm> #include <set> #include <iomanip> #include <lib...
34.976667
176
0.631755
bram4370
29180c6f6adc24d05286dceb2845501570ccbef1
5,028
cpp
C++
example/Mcached/McachedRequestHandler.cpp
fasShare/moxie-simple
9b21320f868ca1fe05ca5d39e70eb053d31155ee
[ "MIT" ]
1
2018-09-27T09:10:11.000Z
2018-09-27T09:10:11.000Z
example/Mcached/McachedRequestHandler.cpp
fasShare/moxie-simple
9b21320f868ca1fe05ca5d39e70eb053d31155ee
[ "MIT" ]
1
2018-09-16T07:17:29.000Z
2018-09-16T07:17:29.000Z
example/Mcached/McachedRequestHandler.cpp
fasShare/moxie-simple
9b21320f868ca1fe05ca5d39e70eb053d31155ee
[ "MIT" ]
null
null
null
#include <McachedRequestHandler.h> #include <mraft/floyd/include/floyd.h> extern floyd::Floyd *floyd_raft; moxie::McachedClientHandler::McachedClientHandler(const std::shared_ptr<PollerEvent>& client, const std::shared_ptr<moxie::NetAddress>& cad) : event_(client), peer_(cad), argc_(0), argv_() { } ...
31.425
143
0.532617
fasShare
291c2493a5971195986acc6175589d3ad95574e8
346
cpp
C++
examples/cpp/common/Utils.cpp
jzitelli/OculusRiftInAction
7b4136ef4af3d5c392f464cf712e618e6f6a60f9
[ "Apache-2.0" ]
135
2015-01-08T03:27:23.000Z
2022-03-06T08:30:21.000Z
examples/cpp/common/Utils.cpp
jzitelli/OculusRiftInAction
7b4136ef4af3d5c392f464cf712e618e6f6a60f9
[ "Apache-2.0" ]
34
2015-01-03T10:40:12.000Z
2021-04-15T18:24:02.000Z
examples/cpp/common/Utils.cpp
jzitelli/OculusRiftInAction
7b4136ef4af3d5c392f464cf712e618e6f6a60f9
[ "Apache-2.0" ]
80
2015-01-10T08:41:28.000Z
2022-03-06T08:30:24.000Z
#include "Common.h" namespace oria { std::string readFile(const std::string & filename) { using namespace std; ifstream ins(filename.c_str(), ios::binary); if (!ins) { throw runtime_error("Failed to load file " + filename); } assert(ins); stringstream sstr; sstr << ins.rdbuf(); ...
20.352941
61
0.615607
jzitelli
291fcbfab4f16beff40ee534f447e348a833ece6
65,591
cc
C++
tests/ut/common/graph/testcase/ge_graph/ge_model_serialize_unittest.cc
TommyLike/graphengine
da2c616522cc078c2573eca8422ff70fda229efb
[ "Apache-2.0" ]
1
2020-07-18T17:49:20.000Z
2020-07-18T17:49:20.000Z
tests/ut/common/graph/testcase/ge_graph/ge_model_serialize_unittest.cc
zengchen1024/graphengine
0c33e9d12562953ca4bd6c03cb77da2c2da74acd
[ "Apache-2.0" ]
null
null
null
tests/ut/common/graph/testcase/ge_graph/ge_model_serialize_unittest.cc
zengchen1024/graphengine
0c33e9d12562953ca4bd6c03cb77da2c2da74acd
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2019-2020 Huawei Technologies Co., Ltd * * 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 applicabl...
40.563389
118
0.704807
TommyLike
291fd98f7c6b94875b3190bd3ced10dbdf31a604
344
cc
C++
util/env_win_detail/win_misc.cc
tamaskenez/leveldb
fa5614c35a7c58051e5f1d26f50f0c632a7f3e19
[ "BSD-3-Clause" ]
null
null
null
util/env_win_detail/win_misc.cc
tamaskenez/leveldb
fa5614c35a7c58051e5f1d26f50f0c632a7f3e19
[ "BSD-3-Clause" ]
null
null
null
util/env_win_detail/win_misc.cc
tamaskenez/leveldb
fa5614c35a7c58051e5f1d26f50f0c632a7f3e19
[ "BSD-3-Clause" ]
null
null
null
#include "win_misc.h" void usleep(int usec) { Sleep((usec + 999)/1000); } int getpagesize(void) { SYSTEM_INFO si; GetSystemInfo(&si); return si.dwPageSize; } bool ftruncate(const winapi::File& fd, int64_t length) { bool b = fd.setFilePointerEx(length, NULL, FILE_BEGIN); if ( !b ) return false; return f...
15.636364
57
0.677326
tamaskenez
2920c4da92e9e2b1a057b93a0efed11c7a96031e
900
hpp
C++
exchange/include/mmx/exchange/trade_pair_t.hpp
danpape/mmx-node
99bae72a5135c9b208af9f402c0259351e8da151
[ "Apache-2.0" ]
null
null
null
exchange/include/mmx/exchange/trade_pair_t.hpp
danpape/mmx-node
99bae72a5135c9b208af9f402c0259351e8da151
[ "Apache-2.0" ]
null
null
null
exchange/include/mmx/exchange/trade_pair_t.hpp
danpape/mmx-node
99bae72a5135c9b208af9f402c0259351e8da151
[ "Apache-2.0" ]
null
null
null
/* * trade_pair_t.hpp * * Created on: Jan 22, 2022 * Author: mad */ #ifndef INCLUDE_MMX_EXCHANGE_TRADE_PAIR_T_HPP_ #define INCLUDE_MMX_EXCHANGE_TRADE_PAIR_T_HPP_ #include <mmx/exchange/trade_pair_t.hxx> namespace mmx { namespace exchange { inline trade_pair_t trade_pair_t::reverse() const { trade_pair_...
16.981132
74
0.714444
danpape
2921588b51ab75aa7da5bc357b046a477bfd1e5b
24,713
cc
C++
src/lib/fidl/cpp/tests/integration/wire_interop_tests.cc
fabio-d/fuchsia-stardock
e57f5d1cf015fe2294fc2a5aea704842294318d2
[ "BSD-2-Clause" ]
5
2022-01-10T20:22:17.000Z
2022-01-21T20:14:17.000Z
src/lib/fidl/cpp/tests/integration/wire_interop_tests.cc
fabio-d/fuchsia-stardock
e57f5d1cf015fe2294fc2a5aea704842294318d2
[ "BSD-2-Clause" ]
null
null
null
src/lib/fidl/cpp/tests/integration/wire_interop_tests.cc
fabio-d/fuchsia-stardock
e57f5d1cf015fe2294fc2a5aea704842294318d2
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2021 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 <fidl/fidl.cpp.wire.interop.test/cpp/fidl.h> #include <lib/async-loop/cpp/loop.h> #include <lib/fidl/cpp/client.h> #include <lib/stdcompat/string_...
35.405444
100
0.695423
fabio-d
2922f187282f30413f91382b64bb5d76fa4692dd
443
cc
C++
doc/tutorial/src/tut5.2/tut.cc
wmeddie/frovedis
c134e5e64114799cc7c265c72525ff98d06b49c1
[ "BSD-2-Clause" ]
null
null
null
doc/tutorial/src/tut5.2/tut.cc
wmeddie/frovedis
c134e5e64114799cc7c265c72525ff98d06b49c1
[ "BSD-2-Clause" ]
null
null
null
doc/tutorial/src/tut5.2/tut.cc
wmeddie/frovedis
c134e5e64114799cc7c265c72525ff98d06b49c1
[ "BSD-2-Clause" ]
null
null
null
#include <frovedis.hpp> #include <frovedis/dataframe.hpp> int main(int argc, char* argv[]){ frovedis::use_frovedis use(argc, argv); auto t = frovedis::make_dftable_loadtext("./t.csv", {"int", "double", "string"}, {"c1", "c2", "c3"}...
23.315789
69
0.478555
wmeddie
2926fd1df903e9a28702599c86aeb5cad26468a7
4,628
cpp
C++
src/graph/widgets/CPositionedWindow.cpp
SindenDev/3dimviewer
e23a3147edc35034ef4b75eae9ccdcbc7192b1a1
[ "Apache-2.0" ]
6
2020-04-14T16:10:55.000Z
2021-05-21T07:13:55.000Z
src/graph/widgets/CPositionedWindow.cpp
SindenDev/3dimviewer
e23a3147edc35034ef4b75eae9ccdcbc7192b1a1
[ "Apache-2.0" ]
null
null
null
src/graph/widgets/CPositionedWindow.cpp
SindenDev/3dimviewer
e23a3147edc35034ef4b75eae9ccdcbc7192b1a1
[ "Apache-2.0" ]
2
2020-07-24T16:25:38.000Z
2021-01-19T09:23:18.000Z
/////////////////////////////////////////////////////////////////////////////// // $Id$ // // 3DimViewer // Lightweight 3D DICOM viewer. // // Copyright 2008-2016 3Dim Laboratory s.r.o. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with ...
23.373737
109
0.496327
SindenDev
292739efd9703d89374817bef87839e7442adc25
542
cc
C++
FWCore/Framework/src/EndPathStatusInserter.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
13
2015-11-30T15:49:45.000Z
2022-02-08T16:11:30.000Z
FWCore/Framework/src/EndPathStatusInserter.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
640
2015-02-11T18:55:47.000Z
2022-03-31T14:12:23.000Z
FWCore/Framework/src/EndPathStatusInserter.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
51
2015-08-11T21:01:40.000Z
2022-03-30T07:31:34.000Z
#include "FWCore/Framework/src/EndPathStatusInserter.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Utilities/interface/StreamID.h" #include "DataFormats/Common/interface/EndPathStatus.h" #include <memory> namespace edm { EndPathStatusInserter::EndPathStatusInserter(unsigned int) : token_{produc...
31.882353
99
0.771218
ckamtsikis
2928a326a82c08362714a0ba79fe33d1e93ded0f
6,246
cpp
C++
Chapter08/CognitiveCamera/CognitiveCamera/src/main.cpp
PacktPublishing/Artificial-Intelligence-for-IoT-Cookbook
c2f522c2a1dbb78c99e05abc3c0e8706618f4353
[ "MIT" ]
19
2019-11-06T08:00:03.000Z
2022-01-01T20:02:40.000Z
Chapter08/CognitiveCamera/CognitiveCamera/src/main.cpp
PacktPublishing/Artificial-Intelligence-for-IoT-Cookbook
c2f522c2a1dbb78c99e05abc3c0e8706618f4353
[ "MIT" ]
null
null
null
Chapter08/CognitiveCamera/CognitiveCamera/src/main.cpp
PacktPublishing/Artificial-Intelligence-for-IoT-Cookbook
c2f522c2a1dbb78c99e05abc3c0e8706618f4353
[ "MIT" ]
9
2020-02-17T23:44:16.000Z
2022-02-03T15:26:46.000Z
#include "WiFi.h" #include "esp_camera.h" //#include "esp_timer.h" //#include "img_converters.h" //#include "soc/soc.h" // Disable brownour problems //#include "soc/rtc_cntl_reg.h" // Disable brownour problems //#include "driver/rtc_io.h" //#include <StringArray.h> //#include <SPIFFS.h> //#include <FS.h> ...
25.185484
155
0.682197
PacktPublishing
292c33e3752b32af894fab2470a5e26ae45f7175
11,507
cc
C++
Source/Plugins/GraphicsPlugins/BladeTerrain/source/TerrainBlock.cc
OscarGame/blade
6987708cb011813eb38e5c262c7a83888635f002
[ "MIT" ]
146
2018-12-03T08:08:17.000Z
2022-03-21T06:04:06.000Z
Source/Plugins/GraphicsPlugins/BladeTerrain/source/TerrainBlock.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
1
2019-01-18T03:35:49.000Z
2019-01-18T03:36:08.000Z
Source/Plugins/GraphicsPlugins/BladeTerrain/source/TerrainBlock.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
31
2018-12-03T10:32:43.000Z
2021-10-04T06:31:44.000Z
/******************************************************************** created: 2010/05/13 filename: TerrainBlock.cc author: Crazii purpose: *********************************************************************/ #include <BladePCH.h> #include <interface/IGraphicsSystem.h> #include <interface/IRenderQueue.h> #incl...
39.954861
152
0.656644
OscarGame
292d58375aa0a24f7cc246038919d9346209326d
2,449
hpp
C++
lib/runtime/public/atelier/hash.hpp
giranath/atelier
e1b9056b6f930979c03057bba306005943cf1b12
[ "MIT" ]
null
null
null
lib/runtime/public/atelier/hash.hpp
giranath/atelier
e1b9056b6f930979c03057bba306005943cf1b12
[ "MIT" ]
null
null
null
lib/runtime/public/atelier/hash.hpp
giranath/atelier
e1b9056b6f930979c03057bba306005943cf1b12
[ "MIT" ]
null
null
null
#ifndef ATELIER_RUNTIME_HASH_HPP #define ATELIER_RUNTIME_HASH_HPP #include "runtime_export.hpp" #include <cstdint> #include <iterator> #include <type_traits> #include <string_view> namespace at { // Current default Hash function is fnv1a inline namespace fnv1a { /** * Hash a range of bytes * @tparam It The iterat...
25.247423
100
0.716211
giranath
292ed96e6b0f49d1171d85f28473c10f4acfee32
658
cpp
C++
src/debug/stdmsg.cpp
mirpm/mirp-avr
ff2521b8ccd5314e7f7c357dd36982d9c954a30d
[ "Apache-2.0" ]
1
2017-04-12T20:00:00.000Z
2017-04-12T20:00:00.000Z
src/debug/stdmsg.cpp
mirpm/mirp-avr
ff2521b8ccd5314e7f7c357dd36982d9c954a30d
[ "Apache-2.0" ]
null
null
null
src/debug/stdmsg.cpp
mirpm/mirp-avr
ff2521b8ccd5314e7f7c357dd36982d9c954a30d
[ "Apache-2.0" ]
null
null
null
#include "stdmsg.h" /* * Initialises the standard messaging debug system */ bool StdMsg::Init() { UART::Init(); return true; } /* * Sends a warning via stdmsg and hex codes */ bool StdMsg::SendWarning(msg warning) { UART::PutChar(warning.type[0]); UART::PutChar(warning.type[1]); UART::PutChar(warning.e...
18.277778
51
0.636778
mirpm
292ede574b22b7ab5f41ac7c70ce1c9159eb3906
16,477
cpp
C++
src/v_pfx.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
2
2018-01-18T21:30:20.000Z
2018-01-19T02:24:46.000Z
src/v_pfx.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
4
2021-09-02T00:05:17.000Z
2021-09-07T14:56:12.000Z
src/v_pfx.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
1
2021-09-28T19:03:39.000Z
2021-09-28T19:03:39.000Z
/* ** v_pfx.cpp ** Pixel format conversion routines ** **--------------------------------------------------------------------------- ** Copyright 1998-2006 Randy Heit ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the followi...
23.914369
92
0.583237
351ELEC
292fe05715f4cbbbcb23adb5d800e2d309725b75
1,240
cpp
C++
Leetcode/Q138.cpp
kingium/Leetcode
f23029637f3a16545f15abcd8eafa8eadd56f146
[ "Unlicense" ]
1
2019-01-21T09:05:32.000Z
2019-01-21T09:05:32.000Z
Leetcode/Q138.cpp
kingium/Leetcode
f23029637f3a16545f15abcd8eafa8eadd56f146
[ "Unlicense" ]
1
2019-08-08T09:58:02.000Z
2019-08-08T09:58:02.000Z
Leetcode/Q138.cpp
goldsail/Leetcode
f23029637f3a16545f15abcd8eafa8eadd56f146
[ "Unlicense" ]
null
null
null
/* // Definition for a Node. class Node { public: int val; Node* next; Node* random; Node() {} Node(int _val, Node* _next, Node* _random) { val = _val; next = _next; random = _random; } }; */ class Solution { public: Node* copyRandomList(Node* head) { this->...
22.545455
65
0.504032
kingium
a0955b149daa0b7e685e0bf3372985371779237d
5,012
cpp
C++
src/kernel/tengine/arm64/tengine_conv_2d_wino.cpp
mapnn/mapnn
fcd5ae04b9b9df809281882872842daaf5a35db0
[ "Apache-2.0" ]
2
2021-01-01T02:01:11.000Z
2022-02-15T02:50:44.000Z
src/kernel/tengine/arm64/tengine_conv_2d_wino.cpp
mapnn/mapnn
fcd5ae04b9b9df809281882872842daaf5a35db0
[ "Apache-2.0" ]
null
null
null
src/kernel/tengine/arm64/tengine_conv_2d_wino.cpp
mapnn/mapnn
fcd5ae04b9b9df809281882872842daaf5a35db0
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The Mapnn Team. 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 * ...
37.969697
125
0.627893
mapnn
a0985c4b23376a6bcf7e633ff0a6a998a3c5a33c
358
cpp
C++
SourceCode/Chapter 04/Pr4-3.cpp
aceiro/poo2019
0f93d22296f43a8b024a346f510c00314817d2cf
[ "MIT" ]
1
2019-04-09T18:29:38.000Z
2019-04-09T18:29:38.000Z
SourceCode/Chapter 04/Pr4-3.cpp
aceiro/poo2019
0f93d22296f43a8b024a346f510c00314817d2cf
[ "MIT" ]
null
null
null
SourceCode/Chapter 04/Pr4-3.cpp
aceiro/poo2019
0f93d22296f43a8b024a346f510c00314817d2cf
[ "MIT" ]
null
null
null
// This program demonstrates how a misplaced semicolon // prematurely terminates an if statement. #include <iostream> using namespace std; int main() { int x = 0, y = 10; cout << "x is " << x << " and y is " << y << endl; if (x > y); // Error! Misplaced semicolon cout << "x is greater than y\n"; //T...
25.571429
65
0.611732
aceiro
a098bf05abd1e3447dd861cc5fea1e2a4991f270
20,767
cc
C++
runtime/reflection_test.cc
lifansama/xposed_art_n
ec3fbe417d74d4664cec053d91dd4e3881176374
[ "MIT" ]
234
2017-07-18T05:30:27.000Z
2022-01-07T02:21:31.000Z
runtime/reflection_test.cc
lifansama/xposed_art_n
ec3fbe417d74d4664cec053d91dd4e3881176374
[ "MIT" ]
21
2017-07-18T04:56:09.000Z
2018-08-10T17:32:16.000Z
runtime/reflection_test.cc
lifansama/xposed_art_n
ec3fbe417d74d4664cec053d91dd4e3881176374
[ "MIT" ]
56
2017-07-18T10:37:10.000Z
2022-01-07T02:19:22.000Z
/* * Copyright (C) 2011 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...
32.963492
99
0.67901
lifansama
a0992cbad30cb80cec144a1003368325c5368475
20,901
hxx
C++
com/ole32/com/dcomrem/call.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/ole32/com/dcomrem/call.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/ole32/com/dcomrem/call.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------- // // File: call.hxx // // Contents: Support for canceling DCOM calls // // Classes: CCallTable // CMessageCall // CAsyncCall // // History: 14-May-97 Gopalk Created // History: 13-No...
34.151961
105
0.572748
npocmaka
a09a2b4f05ad623f8c253e4b604db59e5ec42fc4
290
cpp
C++
GeneticEvolution/main.cpp
nikluep/genetic-evo
c1556a9d5c7098b8a6b4392469b442cee718b6f3
[ "MIT" ]
null
null
null
GeneticEvolution/main.cpp
nikluep/genetic-evo
c1556a9d5c7098b8a6b4392469b442cee718b6f3
[ "MIT" ]
null
null
null
GeneticEvolution/main.cpp
nikluep/genetic-evo
c1556a9d5c7098b8a6b4392469b442cee718b6f3
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <SFML/Graphics.hpp> #include "Network.h" #include "Stage.h" int main() { Stage stage(3, 3000); sf::RenderWindow window(sf::VideoMode(1920, 1080), "Genetic Drone Evolution"); stage.init(window); stage.run(); return 0; }
16.111111
82
0.655172
nikluep
a09ada727d0b0e3a0d4a992f965706237158a599
5,559
cxx
C++
src/Cxx/PolyData/ColorDisconnectedRegionsDemo.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
81
2020-08-10T01:44:30.000Z
2022-03-23T06:46:36.000Z
src/Cxx/PolyData/ColorDisconnectedRegionsDemo.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
2
2020-09-12T17:33:52.000Z
2021-04-15T17:33:09.000Z
src/Cxx/PolyData/ColorDisconnectedRegionsDemo.cxx
ajpmaclean/vtk-examples
1a55fc8c6af67a3c07791807c7d1ec0ab97607a2
[ "Apache-2.0" ]
27
2020-08-17T07:09:30.000Z
2022-02-15T03:44:58.000Z
#include <vtkActor.h> #include <vtkCamera.h> #include <vtkInteractorStyleTrackballCamera.h> #include <vtkLookupTable.h> #include <vtkNamedColors.h> #include <vtkNew.h> #include <vtkPointData.h> #include <vtkPolyDataConnectivityFilter.h> #include <vtkPolyDataMapper.h> #include <vtkProperty.h> #include <vtkRenderWindow.h...
30.048649
80
0.706422
ajpmaclean
a0a497ab0c143d4db16f543dce6e56df6180c43b
2,476
cpp
C++
2021/20/a.cpp
kidonm/advent-of-code
b304d99d60dcdd9d67105964f2c6a6d8729ecfd6
[ "Apache-2.0" ]
null
null
null
2021/20/a.cpp
kidonm/advent-of-code
b304d99d60dcdd9d67105964f2c6a6d8729ecfd6
[ "Apache-2.0" ]
null
null
null
2021/20/a.cpp
kidonm/advent-of-code
b304d99d60dcdd9d67105964f2c6a6d8729ecfd6
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <iostream> #include <map> #include <queue> #include <set> #include <sstream> #include <string> #include <unordered_map> #include <unordered_set> #include <vector> using namespace std; typedef unsigned long long ull; typedef pair<int, int> ipair; typedef vector<int> coord; void widen(deq...
19.650794
67
0.477787
kidonm
a0a5b3992667fc8fada24388edf98ad6c2695f94
960
cpp
C++
src/utils.cpp
QwantResearch/text-nlu
862eaa41dd4c80688b857ffe0209cef994d18b1b
[ "Apache-2.0" ]
null
null
null
src/utils.cpp
QwantResearch/text-nlu
862eaa41dd4c80688b857ffe0209cef994d18b1b
[ "Apache-2.0" ]
6
2019-08-22T13:36:20.000Z
2020-06-02T13:13:27.000Z
src/utils.cpp
QwantResearch/text-nlu
862eaa41dd4c80688b857ffe0209cef994d18b1b
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 Qwant Research. Licensed under the terms of the Apache 2.0 // license. See LICENSE in the project root. #include "utils.h" void printCookies(const Pistache::Http::Request &req) { auto cookies = req.cookies(); const std::string indent(4, ' '); std::cout << "Cookies: [" << std::endl; for (con...
28.235294
97
0.65
QwantResearch
a0a5ef886fba1e320663486b9c6a451dabd8a65e
10,427
cpp
C++
src/shogun/labels/MultilabelLabels.cpp
Arpit2601/shogun
e509f8c57f47dc74b3f791d450a70b770d11582a
[ "BSD-3-Clause" ]
1
2019-10-02T11:10:08.000Z
2019-10-02T11:10:08.000Z
src/shogun/labels/MultilabelLabels.cpp
Arpit2601/shogun
e509f8c57f47dc74b3f791d450a70b770d11582a
[ "BSD-3-Clause" ]
null
null
null
src/shogun/labels/MultilabelLabels.cpp
Arpit2601/shogun
e509f8c57f47dc74b3f791d450a70b770d11582a
[ "BSD-3-Clause" ]
1
2020-06-02T09:15:40.000Z
2020-06-02T09:15:40.000Z
/* * Copyright (C) 2013 Zuse-Institute-Berlin (ZIB) * Copyright (C) 2013-2014 Thoralf Klein * Written (W) 2013-2014 Thoralf Klein * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Re...
28.803867
94
0.670279
Arpit2601
a0a9e505188887a284101e987186aa4132c14925
436
cc
C++
cnd/cnd.modelimpl/test/unit/data/org/netbeans/modules/cnd/modelimpl/trace/FileModelTest/throw_const.cc
leginee/netbeans
814ad30e2d0a094f4aa3813bcbb5323a95a0b1d6
[ "Apache-2.0" ]
null
null
null
cnd/cnd.modelimpl/test/unit/data/org/netbeans/modules/cnd/modelimpl/trace/FileModelTest/throw_const.cc
leginee/netbeans
814ad30e2d0a094f4aa3813bcbb5323a95a0b1d6
[ "Apache-2.0" ]
null
null
null
cnd/cnd.modelimpl/test/unit/data/org/netbeans/modules/cnd/modelimpl/trace/FileModelTest/throw_const.cc
leginee/netbeans
814ad30e2d0a094f4aa3813bcbb5323a95a0b1d6
[ "Apache-2.0" ]
null
null
null
class Exception {}; namespace ns { class Throwable {}; } void foo_1() throw (const char) { } void foo_2() throw (const char&) { } void foo_3() throw (Exception) { } void foo_4() throw (const Exception&) { } void foo_5() throw (const ns::Throwable&) { } void foo_6() throw () { } int fun1(int, int); int (*fp...
13.212121
43
0.62156
leginee
a0ade4bec71fb7f7fca99354d0ae7f796d1cc511
10,330
cpp
C++
test/TestParticleGPU.cpp
MaxZZG/RadProps
bd95421430fc266ee88d0480069f7d20be1414f6
[ "MIT" ]
null
null
null
test/TestParticleGPU.cpp
MaxZZG/RadProps
bd95421430fc266ee88d0480069f7d20be1414f6
[ "MIT" ]
null
null
null
test/TestParticleGPU.cpp
MaxZZG/RadProps
bd95421430fc266ee88d0480069f7d20be1414f6
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2017 The University of Utah * * 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...
39.277567
144
0.664569
MaxZZG
a0b17fdc2b25afc15f9cb4fcc46280e41d7c67a6
3,724
hpp
C++
willow/include/popart/alias/aliasmodelgrower.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/include/popart/alias/aliasmodelgrower.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/include/popart/alias/aliasmodelgrower.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2021 Graphcore Ltd. All rights reserved. #ifndef GUARD_NEURALNET_ALIAS_ALIAS_MODEL_GROWER_HPP #define GUARD_NEURALNET_ALIAS_ALIAS_MODEL_GROWER_HPP #include <functional> #include <memory> #include <popart/alias/aliasmodel.hpp> namespace popart { /** * An enum type that determines whether topologica...
33.25
80
0.718582
gglin001
a0b657ae7123fe48ac77fe7f4b2ad76c374283f9
27,674
cc
C++
src/SinCosOps.cc
oseikuffuor1/mgmol
5442962959a54c919a5e18c4e78db6ce41ee8f4e
[ "BSD-3-Clause-LBNL", "FSFAP" ]
null
null
null
src/SinCosOps.cc
oseikuffuor1/mgmol
5442962959a54c919a5e18c4e78db6ce41ee8f4e
[ "BSD-3-Clause-LBNL", "FSFAP" ]
null
null
null
src/SinCosOps.cc
oseikuffuor1/mgmol
5442962959a54c919a5e18c4e78db6ce41ee8f4e
[ "BSD-3-Clause-LBNL", "FSFAP" ]
null
null
null
// Copyright (c) 2017, Lawrence Livermore National Security, LLC and // UT-Battelle, LLC. // Produced at the Lawrence Livermore National Laboratory and the Oak Ridge // National Laboratory. // LLNL-CODE-743438 // All rights reserved. // This file is part of MGmol. For details, see https://github.com/llnl/mgmol. // Plea...
34.292441
80
0.422346
oseikuffuor1
a0b6d49deda766258341b2b10a34eec487dc0f69
551
cpp
C++
Prim/PrimCheckLock.cpp
UltimateScript/FOG
edc96d916fc299f0a822f8c534a4e7487c0e3ea2
[ "BSD-3-Clause" ]
null
null
null
Prim/PrimCheckLock.cpp
UltimateScript/FOG
edc96d916fc299f0a822f8c534a4e7487c0e3ea2
[ "BSD-3-Clause" ]
2
2021-07-07T17:31:49.000Z
2021-07-16T11:40:38.000Z
Prim/PrimCheckLock.cpp
OuluLinux/FOG
edc96d916fc299f0a822f8c534a4e7487c0e3ea2
[ "BSD-3-Clause" ]
null
null
null
#include <Prim/PrimIncludeAll.h> #ifndef NO_PRIM_CHECKS int PrimCheckLock::_check_locks = 0; // Number of locks in force. #endif // // Return the debug checking control variable. // bool& PrimCheckLock::debug_check() { static PrimGetEnv<bool> debugCheck("PrimCheckLock::debug_check", debug_full_check()); ...
21.192308
86
0.744102
UltimateScript
a0b7aa4bba66d43409216d479bc364403f3cdbcd
11,276
cpp
C++
pj_tflite_hand_mediapipe/ImageProcessor/HandLandmarkEngine.cpp
bjarkirafn/play_with_tflite
ab20bcfa79f1bbcf1cb5d8e2887df6253ef0a0c0
[ "Apache-2.0" ]
1
2021-01-13T00:52:14.000Z
2021-01-13T00:52:14.000Z
pj_tflite_hand_mediapipe/ImageProcessor/HandLandmarkEngine.cpp
bjarkirafn/play_with_tflite
ab20bcfa79f1bbcf1cb5d8e2887df6253ef0a0c0
[ "Apache-2.0" ]
null
null
null
pj_tflite_hand_mediapipe/ImageProcessor/HandLandmarkEngine.cpp
bjarkirafn/play_with_tflite
ab20bcfa79f1bbcf1cb5d8e2887df6253ef0a0c0
[ "Apache-2.0" ]
null
null
null
/*** Include ***/ /* for general */ #include <cstdint> #include <cstdlib> #define _USE_MATH_DEFINES #include <cmath> #include <cstring> #include <string> #include <vector> #include <array> #include <algorithm> #include <chrono> #include <fstream> /* for OpenCV */ #include <opencv2/opencv.hpp> /* for ...
39.426573
169
0.715945
bjarkirafn
a0ba8241d34a89a56e6b9642cda3a1bb4b9153b0
7,351
cpp
C++
src/internal/modbusTcpSlave.cpp
baggior/SmartHome_GATEWAY
14fd80e701d92ef79ee2289af40d8334fa48c154
[ "MIT" ]
1
2018-03-06T10:31:09.000Z
2018-03-06T10:31:09.000Z
src/internal/modbusTcpSlave.cpp
baggior/SmartHome_GATEWAY
14fd80e701d92ef79ee2289af40d8334fa48c154
[ "MIT" ]
4
2018-02-05T15:58:19.000Z
2018-11-05T10:11:50.000Z
src/internal/modbusTcpSlave.cpp
baggior/SmartHome_GATEWAY
14fd80e701d92ef79ee2289af40d8334fa48c154
[ "MIT" ]
null
null
null
#include "Arduino.h" #include "modbusTcpSlave.h" // WiFiServer mbServer(MODBUSIP_PORT); #define TCP_TIMEOUT_MS RTU_TIMEOUT * 2 ModbusTcpSlave::ModbusTcpSlave(_ApplicationLogger& logger, uint16_t port = MODBUSIP_PORT, bool _isDebug = false) : mbServer(port), mLogger(logger), isDebug(_isDebug) { mbServer.begin(); ...
26.828467
141
0.604544
baggior
a0bcee208db558a96a7b980ad65f41f7427f3692
2,093
cpp
C++
NorthstarDedicatedTest/version.cpp
r-ex/NorthstarLauncher
14bc1b6ac7425934cb9fdfbcc522c720d512b370
[ "MIT" ]
null
null
null
NorthstarDedicatedTest/version.cpp
r-ex/NorthstarLauncher
14bc1b6ac7425934cb9fdfbcc522c720d512b370
[ "MIT" ]
null
null
null
NorthstarDedicatedTest/version.cpp
r-ex/NorthstarLauncher
14bc1b6ac7425934cb9fdfbcc522c720d512b370
[ "MIT" ]
null
null
null
#include "version.h" #include "pch.h" char version[16]; char NSUserAgent[32]; void InitialiseVersion() { HRSRC hResInfo; DWORD dwSize; HGLOBAL hResData; LPVOID pRes, pResCopy; UINT uLen = 0; VS_FIXEDFILEINFO* lpFfi = NULL; HINSTANCE hInst = ::GetModuleHandle(NULL); hResInfo = FindResourceW(hInst, MAKEINTRESO...
31.712121
110
0.698041
r-ex
a0bdfd8f762fc66b4df84cdd9e62f37418311e2e
1,248
cpp
C++
Music Player/Using c++/Data sturcutre Project/Data sturcutre Project/Source.cpp
rafay99-epic/University-Projects
49cbd2c1e5e5879dd1dd2364301e35fd5c0bba81
[ "MIT" ]
null
null
null
Music Player/Using c++/Data sturcutre Project/Data sturcutre Project/Source.cpp
rafay99-epic/University-Projects
49cbd2c1e5e5879dd1dd2364301e35fd5c0bba81
[ "MIT" ]
null
null
null
Music Player/Using c++/Data sturcutre Project/Data sturcutre Project/Source.cpp
rafay99-epic/University-Projects
49cbd2c1e5e5879dd1dd2364301e35fd5c0bba81
[ "MIT" ]
null
null
null
#include "music.h" #include<iostream> #include<string> #include<fstream> using namespace std; int main() { Node n; int count{}; int choice; char yes; int const size = 3; int i = 0; music_data s; fstream data("music.txt", ios::out); ifstream take("music.txt"); take >> count; do { cout << endl << " " <...
20.459016
73
0.525641
rafay99-epic
a0bf0cbb58f91c85aa99a45764c32649855ed115
5,926
hpp
C++
aslam_backend_expressions/include/aslam/backend/CacheExpression.hpp
ethz-asl/aslam_optimizer
8e9dd18f9f0d8af461e88e108a3beda2003daf11
[ "BSD-3-Clause" ]
33
2017-04-26T13:30:49.000Z
2022-02-25T01:52:22.000Z
aslam_backend_expressions/include/aslam/backend/CacheExpression.hpp
ethz-asl/aslam_optimizer
8e9dd18f9f0d8af461e88e108a3beda2003daf11
[ "BSD-3-Clause" ]
15
2017-02-14T16:02:31.000Z
2020-05-12T06:07:22.000Z
aslam_backend_expressions/include/aslam/backend/CacheExpression.hpp
ethz-asl/aslam_optimizer
8e9dd18f9f0d8af461e88e108a3beda2003daf11
[ "BSD-3-Clause" ]
8
2017-06-28T04:17:08.000Z
2021-04-10T04:58:36.000Z
/* * CacheExpression.hpp * * Created on: 08.03.2016 * Author: Ulrich Schwesinger */ #ifndef INCLUDE_ASLAM_BACKEND_CACHEEXPRESSION_HPP_ #define INCLUDE_ASLAM_BACKEND_CACHEEXPRESSION_HPP_ // boost includes #include <boost/thread.hpp> // Eigen includes #include <Eigen/Dense> // aslam_backend includes #inclu...
29.192118
173
0.737091
ethz-asl
a0c0cd560571faf57abe861fc2187a746284e5d8
5,128
cpp
C++
libs/foe_model/src/animation.cpp
StableCoder/foe-engine
5d49696a46c119e708dc4055b99e18194bcd4c4f
[ "Apache-2.0" ]
4
2021-04-09T13:11:22.000Z
2022-03-26T07:29:31.000Z
libs/foe_model/src/animation.cpp
StableCoder/foe-engine
5d49696a46c119e708dc4055b99e18194bcd4c4f
[ "Apache-2.0" ]
null
null
null
libs/foe_model/src/animation.cpp
StableCoder/foe-engine
5d49696a46c119e708dc4055b99e18194bcd4c4f
[ "Apache-2.0" ]
1
2022-02-10T14:51:00.000Z
2022-02-10T14:51:00.000Z
/* Copyright (C) 2020 George Cave. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
38.268657
100
0.674337
StableCoder
a0c1081b9154764a0b406f369daefa67ff15aa10
8,726
cpp
C++
3rdparty/GPSTk/core/lib/GNSSEph/EphemerisRange.cpp
mfkiwl/ICE
e660d031bb1bcea664db1de4946fd8781be5b627
[ "MIT" ]
50
2019-10-12T01:22:20.000Z
2022-02-15T23:28:26.000Z
3rdparty/GPSTk/core/lib/GNSSEph/EphemerisRange.cpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
null
null
null
3rdparty/GPSTk/core/lib/GNSSEph/EphemerisRange.cpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
14
2019-11-05T01:50:29.000Z
2021-08-06T06:23:44.000Z
//============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published // by the Free Software Foundation; ei...
33.43295
84
0.578157
mfkiwl
a0c9490eb5ffbd3024b4491dda6703d2d72a8d27
1,750
cpp
C++
code/3rdParty/ogdf/src/ogdf/lib/abacus/row.cpp
turbanoff/qvge
53508adadb4ca566c011b2b41d432030a5fa5fac
[ "MIT" ]
3
2021-09-14T08:11:37.000Z
2022-03-04T15:42:07.000Z
code/3rdParty/ogdf/src/ogdf/lib/abacus/row.cpp
turbanoff/qvge
53508adadb4ca566c011b2b41d432030a5fa5fac
[ "MIT" ]
2
2021-12-04T17:09:53.000Z
2021-12-16T08:57:25.000Z
code/3rdParty/ogdf/src/ogdf/lib/abacus/row.cpp
turbanoff/qvge
53508adadb4ca566c011b2b41d432030a5fa5fac
[ "MIT" ]
2
2021-06-22T08:21:54.000Z
2021-07-07T06:57:22.000Z
/*!\file * \author Matthias Elf * * \par License: * This file is part of ABACUS - A Branch And CUt System * Copyright (C) 1995 - 2003 * University of Cologne, Germany * * \par * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Licens...
24.647887
76
0.627429
turbanoff
a0cca9a4ea3564c21c01f31d5a2b3beed2a53c10
626
cpp
C++
lab1/Zad6/main.cpp
fgulan/ooup-fer
f5df4ba2ab55e52c7475089b4f71c0e244e88162
[ "MIT" ]
null
null
null
lab1/Zad6/main.cpp
fgulan/ooup-fer
f5df4ba2ab55e52c7475089b4f71c0e244e88162
[ "MIT" ]
null
null
null
lab1/Zad6/main.cpp
fgulan/ooup-fer
f5df4ba2ab55e52c7475089b4f71c0e244e88162
[ "MIT" ]
null
null
null
// // main.cpp // Zad6 // // Created by Filip Gulan on 31/03/16. // Copyright © 2016 FIlip Gulan. All rights reserved. // #include <iostream> typedef int (*PTRFUN)(); class B { public: virtual int prva() = 0; virtual int druga() = 0; }; class D: public B { public: virtual int prva() { re...
14.904762
54
0.543131
fgulan
a0d1966a5f0f687659b75e2e06f569152b0a7a11
1,748
cpp
C++
leetcode99.cpp
SJTUGavinLiu/Leetcodes
99d4010bc34e78d22e3c8b6436e4489a7d1338da
[ "MIT" ]
null
null
null
leetcode99.cpp
SJTUGavinLiu/Leetcodes
99d4010bc34e78d22e3c8b6436e4489a7d1338da
[ "MIT" ]
null
null
null
leetcode99.cpp
SJTUGavinLiu/Leetcodes
99d4010bc34e78d22e3c8b6436e4489a7d1338da
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: void recoverTree(TreeNode* root) { if(!root) return; stack<TreeNode*> st; ...
20.091954
59
0.306636
SJTUGavinLiu
a0d2c4eba9be4d74b5122054bc41d60203387dbe
573
cc
C++
ODWROTNO.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
1
2021-02-01T11:21:56.000Z
2021-02-01T11:21:56.000Z
ODWROTNO.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
null
null
null
ODWROTNO.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
1
2022-01-28T15:25:45.000Z
2022-01-28T15:25:45.000Z
// C++ (gcc 8.3) #include <iostream> #include <tuple> std::tuple<int, int, int> ExtendedGCD(int a, int b) { if (a == 0) return std::make_tuple(0, 1, b); int x, y, gcd; std::tie(x, y, gcd) = ExtendedGCD(b % a, a); return std::make_tuple(y - (b / a) * x, x, gcd); } int main() { std::ios_base::sync_with_stdi...
18.483871
53
0.506108
hkktr
a0d4693a070316b4f3e9c3941bbe77b0c081a6b3
40,854
cpp
C++
export/windows/obj/src/lime/utils/Assets.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/utils/Assets.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/utils/Assets.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
1
2021-07-16T22:57:01.000Z
2021-07-16T22:57:01.000Z
// Generated by Haxe 4.0.0-rc.2+77068e10c #include <hxcpp.h> #ifndef INCLUDED_StringTools #include <StringTools.h> #endif #ifndef INCLUDED_haxe_IMap #include <haxe/IMap.h> #endif #ifndef INCLUDED_haxe_ds_StringMap #include <haxe/ds/StringMap.h> #endif #ifndef INCLUDED_haxe_io_Bytes #include <haxe/io/Bytes.h> #endif #i...
46.162712
293
0.683458
arturspon
a0d65a62bac666dc32545eb97211a79dfdb76e4e
120
cpp
C++
basic/assig_array.cpp
RohanKittu/CPP_practice_repo
4dd642cf2b3ba880f40f8dbd2cb5ae062fe6f089
[ "MIT" ]
null
null
null
basic/assig_array.cpp
RohanKittu/CPP_practice_repo
4dd642cf2b3ba880f40f8dbd2cb5ae062fe6f089
[ "MIT" ]
null
null
null
basic/assig_array.cpp
RohanKittu/CPP_practice_repo
4dd642cf2b3ba880f40f8dbd2cb5ae062fe6f089
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int arr[10] = {0}; cout<< arr[9]<<"\n"; return 0; }
10.909091
24
0.533333
RohanKittu
a0d77c396a1199ac137d1980f1a61e1ebec1f188
9,372
cxx
C++
STEER/ESD/AliESDMuonGlobalTrack.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
STEER/ESD/AliESDMuonGlobalTrack.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
STEER/ESD/AliESDMuonGlobalTrack.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
33.471429
150
0.55303
AllaMaevskaya
a0d8f38580b717c44c24b17cf5b2010a482272bb
2,267
cpp
C++
src/events/PusherEventListener.cpp
BlockChain-Station/enjin-cpp-sdk
3af1cd001d7e660787bbfb2e2414a96f5a95a228
[ "Apache-2.0" ]
12
2021-09-28T14:37:22.000Z
2022-03-04T17:54:11.000Z
src/events/PusherEventListener.cpp
BlockChain-Station/enjin-cpp-sdk
3af1cd001d7e660787bbfb2e2414a96f5a95a228
[ "Apache-2.0" ]
null
null
null
src/events/PusherEventListener.cpp
BlockChain-Station/enjin-cpp-sdk
3af1cd001d7e660787bbfb2e2414a96f5a95a228
[ "Apache-2.0" ]
8
2021-11-05T18:56:55.000Z
2022-01-10T11:14:24.000Z
/* Copyright 2021 Enjin Pte. Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
32.385714
99
0.659462
BlockChain-Station
a0da67996eacef201090cf59e4c6ac93ace5b7c4
7,297
cpp
C++
code/edmond_blossom.cpp
raynoldng/icpc_notebook
aef047bb441998411a1f89078634c93a6fa5b5c1
[ "MIT" ]
1
2021-08-10T15:08:35.000Z
2021-08-10T15:08:35.000Z
code/edmond_blossom.cpp
raynoldng/icpc_notebook
aef047bb441998411a1f89078634c93a6fa5b5c1
[ "MIT" ]
null
null
null
code/edmond_blossom.cpp
raynoldng/icpc_notebook
aef047bb441998411a1f89078634c93a6fa5b5c1
[ "MIT" ]
1
2020-10-29T01:38:59.000Z
2020-10-29T01:38:59.000Z
#include <algorithm> #include <iostream> #include <queue> #include <vector> class edmond_blossom { private: std::vector<std::vector<int>> adj_list; std::vector<int> match; std::vector<int> parent; std::vector<int> blossom_root; std::vector<bool> in_queue; std::vector<bool> in_blosso...
28.282946
85
0.438262
raynoldng
a0dbccc4e62ee5869886e15bc78814c6aa37882b
4,904
cpp
C++
editor/src/formula_editor_window.cpp
huangfeidian/formula_tree
fdb0db2c3e4503055630381e499934118d4a6036
[ "BSD-3-Clause" ]
5
2020-04-10T07:31:11.000Z
2021-11-19T04:41:58.000Z
editor/src/formula_editor_window.cpp
huangfeidian/formula_tree
fdb0db2c3e4503055630381e499934118d4a6036
[ "BSD-3-Clause" ]
null
null
null
editor/src/formula_editor_window.cpp
huangfeidian/formula_tree
fdb0db2c3e4503055630381e499934118d4a6036
[ "BSD-3-Clause" ]
null
null
null
#include <fstream> #include <streambuf> #include <qfiledialog.h> #include <tree_editor/common/dialogs/path_config_dialog.h> #include <tree_editor/common/choice_manager.h> #include <tree_editor/common/graph/tree_instance.h> #include <any_container/decode.h> #include "formula_editor_window.h" #include "formula_nodes....
31.235669
109
0.734095
huangfeidian
a0dbdb6f017542cc0b1646fda3086ac8535f1cd3
1,608
cxx
C++
inetsrv/query/cindex/prtiflst.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/query/cindex/prtiflst.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/query/cindex/prtiflst.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1991 - 1992. // // File: PRTIFLST.CXX // // Contents: Partition Information List // // Classes: // // History: 16-Feb-94 SrikantS Created. // ...
27.254237
79
0.342662
npocmaka
a0dc0fd8aa4d9131132ebfc7d480bfa0d82fa5ac
2,802
hpp
C++
kernel/include/kernel/kallocators.hpp
F4doraOfDoom/juos
cdec685701c406defc9204dcadf154df9eefc879
[ "MIT" ]
3
2020-12-22T01:24:56.000Z
2021-01-06T11:44:50.000Z
kernel/include/kernel/kallocators.hpp
F4doraOfDoom/juos
cdec685701c406defc9204dcadf154df9eefc879
[ "MIT" ]
null
null
null
kernel/include/kernel/kallocators.hpp
F4doraOfDoom/juos
cdec685701c406defc9204dcadf154df9eefc879
[ "MIT" ]
null
null
null
#ifndef KERNEL_NEW_H_ #define KERNEL_NEW_H_ #include "kdef.h" #include "kuseful.h" #include "klog.h" #include <kernel/mem_operators.hpp> NAMESPACE_BEGIN(kernel) /** * @brief Custome memory allocator, that uses __primitive_heap * as an allocation space. Has no ability to deconstruct an object, * s...
25.243243
79
0.534618
F4doraOfDoom
a0de34f02722046917ea77f2101c32b615e66db2
146
cpp
C++
Prova II/Aula XVIII/Teste.cpp
EhODavi/INF112
fe1b465a55b255dac4918f357a6e537b2893531e
[ "MIT" ]
null
null
null
Prova II/Aula XVIII/Teste.cpp
EhODavi/INF112
fe1b465a55b255dac4918f357a6e537b2893531e
[ "MIT" ]
null
null
null
Prova II/Aula XVIII/Teste.cpp
EhODavi/INF112
fe1b465a55b255dac4918f357a6e537b2893531e
[ "MIT" ]
null
null
null
#include "Teste.h" int Teste::ct =0; int Teste::getNumInstancias() { return ct; } Teste::Teste() { ct++; } Teste::~Teste() { ct--; }
8.588235
31
0.547945
EhODavi
a0df361c8cca36d2629df1a6e850ae30f244b7b7
1,207
cpp
C++
Piscines/CPP/rush01/srcs/TimeModule.cpp
SpeedFireSho/42-1
5d7ce17910794a28ca44d937651b961feadcff11
[ "MIT" ]
84
2020-10-13T14:50:11.000Z
2022-01-11T11:19:36.000Z
Piscines/CPP/rush01/srcs/TimeModule.cpp
SpeedFireSho/42-1
5d7ce17910794a28ca44d937651b961feadcff11
[ "MIT" ]
null
null
null
Piscines/CPP/rush01/srcs/TimeModule.cpp
SpeedFireSho/42-1
5d7ce17910794a28ca44d937651b961feadcff11
[ "MIT" ]
43
2020-09-10T19:26:37.000Z
2021-12-28T13:53:55.000Z
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* TimeModule.cpp :+: :+: :+: ...
32.621622
80
0.256835
SpeedFireSho
a0e344ab6d420ded2e24d5db2a21d00614491eb0
124
cpp
C++
cmake/checks/test-cxx_memory_make_unique.cpp
moorwen91/plasma-potd-spotlight
c16417485fb62a1c8854935b8ce73b4cba9e24b4
[ "BSD-2-Clause" ]
104
2019-02-12T20:41:07.000Z
2022-03-07T16:58:47.000Z
cmake/checks/test-cxx_memory_make_unique.cpp
moorwen91/plasma-potd-spotlight
c16417485fb62a1c8854935b8ce73b4cba9e24b4
[ "BSD-2-Clause" ]
9
2019-08-24T03:23:21.000Z
2021-06-06T17:59:07.000Z
{{cookiecutter.project_slug}}/cmake/checks/test-cxx_memory_make_unique.cpp
Aetf/cc-modern-cmake
4421755acf85a30a42f3f48b6d2e1a5130fd3f46
[ "BSD-2-Clause" ]
18
2019-03-04T07:45:41.000Z
2021-09-15T22:13:07.000Z
#include <memory> int main() { std::unique_ptr<int> foo = std::make_unique<int>(42); return ((*foo) == 42) ? 0 : 1; }
13.777778
55
0.572581
moorwen91
a0e47c413d155c3b47c5100527e7e055d399d522
13,881
cpp
C++
math/LAPACKInterface.cpp
smeng9/KrisLibrary
4bd1aa4d9a2d5e40954f5d0b8e3e8a9f19c32add
[ "BSD-3-Clause" ]
57
2015-05-07T18:07:11.000Z
2022-03-18T18:44:39.000Z
math/LAPACKInterface.cpp
smeng9/KrisLibrary
4bd1aa4d9a2d5e40954f5d0b8e3e8a9f19c32add
[ "BSD-3-Clause" ]
7
2018-12-10T21:46:52.000Z
2022-01-20T19:49:11.000Z
math/LAPACKInterface.cpp
smeng9/KrisLibrary
4bd1aa4d9a2d5e40954f5d0b8e3e8a9f19c32add
[ "BSD-3-Clause" ]
36
2015-01-10T18:36:45.000Z
2022-01-20T19:49:24.000Z
#include <KrisLibrary/Logger.h> #include "LAPACKInterface.h" #include "complex.h" #include "errors.h" using namespace Math; bool LAPACKInterface::IsCompliant(const fVector& x) { return (x.stride == 1); } bool LAPACKInterface::IsCompliant(const dVector& x) { return (x.stride == 1); } bool LAPACKInterface::IsCompl...
25.705556
126
0.654996
smeng9
a0e520d05a377d17ee332f8422515757b341ecf2
3,198
cpp
C++
src/caffe/layers/cross_perturbation_layer.cpp
chenbinghui1/Hybrid-Attention-based-Decoupled-Metric-Learning
7b1bda334efe0c98c6876548b35a728c3c35676d
[ "MIT" ]
44
2019-04-03T16:51:30.000Z
2022-02-02T15:19:48.000Z
src/caffe/layers/cross_perturbation_layer.cpp
chenbinghui1/Decoupled-Metric-Learning
7b1bda334efe0c98c6876548b35a728c3c35676d
[ "MIT" ]
1
2021-06-01T10:00:00.000Z
2021-06-23T01:46:43.000Z
src/caffe/layers/cross_perturbation_layer.cpp
chenbinghui1/Decoupled-Metric-Learning
7b1bda334efe0c98c6876548b35a728c3c35676d
[ "MIT" ]
8
2019-05-16T05:44:41.000Z
2020-08-19T17:16:28.000Z
//需要设置solver里面iter_size=2 ,第一次前向反向传播为正常输入和正常梯度,并记录反传回来的梯度,第二次前向为原输入+梯度干扰,输入list需要在第一次和第二次的时候保持一样。且根据ICLR18cross gradients 相应的loss也要做修改,此时只修改了BIER loss. #include <vector> #include "caffe/filler.hpp" #include "caffe/layers/cross_perturbation_layer.hpp" #include "caffe/util/math_functions.hpp" namespace caffe { templat...
34.387097
151
0.636023
chenbinghui1
a0e63ac905122c14183c8f42d24490ea113f3e5f
2,573
cpp
C++
src/editors/LevelEditor/Edit/SceneUtil.cpp
acidicMercury8/xray-1.6
52fba7348a93a52ff9694f2c9dd40c0d090e791e
[ "Linux-OpenIB" ]
10
2021-05-04T06:40:27.000Z
2022-01-20T20:24:28.000Z
src/editors/LevelEditor/Edit/SceneUtil.cpp
Samsuper12/ixray-1.5
8070f833f8216d4ead294a9f19b7cd123bb76ba3
[ "Linux-OpenIB" ]
null
null
null
src/editors/LevelEditor/Edit/SceneUtil.cpp
Samsuper12/ixray-1.5
8070f833f8216d4ead294a9f19b7cd123bb76ba3
[ "Linux-OpenIB" ]
2
2021-11-07T16:57:19.000Z
2021-12-05T13:17:12.000Z
//---------------------------------------------------- // file: SceneUtil.cpp //---------------------------------------------------- #include "stdafx.h" #pragma hdrstop #include "Scene.h" #include "ELight.h" #include "SceneObject.h" #include "ui_leveltools.h" //-------------------------------------------...
32.987179
166
0.552662
acidicMercury8
a0e8b87316eb686bb2997d40a1066a92e5746a5f
1,308
hpp
C++
libs/boost_1_72_0/boost/fusion/view/nview/detail/value_of_impl.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/fusion/view/nview/detail/value_of_impl.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/fusion/view/nview/detail/value_of_impl.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
/*============================================================================= Copyright (c) 2009 Hartmut Kaiser 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) ==============================================...
32.7
80
0.66896
henrywarhurst
a0ee0ba5749c2a6b6cbb9535419c1331fc71f08d
1,350
cpp
C++
sharing_data_new/src/main5.cpp
hadleyhzy34/distributed-deep-learning-framework-for-robotics
38f5e5b26403048ddd4b5beb381c58262580d5f7
[ "Apache-2.0" ]
null
null
null
sharing_data_new/src/main5.cpp
hadleyhzy34/distributed-deep-learning-framework-for-robotics
38f5e5b26403048ddd4b5beb381c58262580d5f7
[ "Apache-2.0" ]
null
null
null
sharing_data_new/src/main5.cpp
hadleyhzy34/distributed-deep-learning-framework-for-robotics
38f5e5b26403048ddd4b5beb381c58262580d5f7
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <thread> #include <map> #include <string> #include <mutex> #include <shared_mutex> #include <string> //void myprint(const int &i, const std::string &mybuf) void myprint(const int &i, char* mybuf) { //below print shows that address of i is not the same as one in the main function //...
32.926829
87
0.640741
hadleyhzy34
a0f0c8e40c3982bdc323228e9603e3da357f8ad7
612
cpp
C++
ianlmk/cs161b/zybooks/11.4.3.cpp
ianlmk/cs161
7a50740d1642ca0111a6d0d076b600744552a066
[ "MIT" ]
null
null
null
ianlmk/cs161b/zybooks/11.4.3.cpp
ianlmk/cs161
7a50740d1642ca0111a6d0d076b600744552a066
[ "MIT" ]
1
2022-03-25T18:34:47.000Z
2022-03-25T18:35:23.000Z
ianlmk/cs161b/zybooks/11.4.3.cpp
ianlmk/cs161
7a50740d1642ca0111a6d0d076b600744552a066
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { const int SCORES_SIZE = 4; int bonusScores[SCORES_SIZE]; int i; for (i = 0; i < SCORES_SIZE; ++i) { cin >> bonusScores[i]; } // Set all indexed values to itself plus the next value except for the last element for (i = 0; i < SCORES_SI...
20.4
88
0.545752
ianlmk
a0f12cf3aa1939bf73da706bf2ef14fdeb22c67e
411
cpp
C++
codeforces/gym/2018 IME Tryouts/b.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
4
2020-10-05T19:24:10.000Z
2021-07-15T00:45:43.000Z
codeforces/gym/2018 IME Tryouts/b.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
codeforces/gym/2018 IME Tryouts/b.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
#include <cpplib/stdinc.hpp> int32_t main(){ desync(); int acc = 0; char last = 0; string s; cin >> s; for(char c:s){ if(c != last) acc = 0; acc++; if(acc == 3){ cout << (c == 'C'? 'P' : 'T'); acc = 0; } else ...
17.125
42
0.3382
tysm
a0f3ed03f501666b3f05e094978fa1abd8f19733
6,486
cc
C++
components/offline_pages/core/background/request_queue.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
components/offline_pages/core/background/request_queue.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
components/offline_pages/core/background/request_queue.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2016 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 "components/offline_pages/core/background/request_queue.h" #include <utility> #include "base/bind.h" #include "base/location.h" #include "base/...
37.929825
81
0.726796
zipated
a0f3f3b75f368223a128d49a347759e4e33df816
1,438
cpp
C++
Chapter_04/Source/Chapter_04/BarricksUnit.cpp
CoolHandNick80/Unreal-Engine-4.x-Scripting-with-C-Cookbook---Second-edition
4ceb7a6f61cb9e1301def08a4a0aa1759c0659be
[ "MIT" ]
1
2020-10-26T10:11:26.000Z
2020-10-26T10:11:26.000Z
Chapter_04/Source/Chapter_04/BarricksUnit.cpp
CoolHandNick80/Unreal-Engine-4.x-Scripting-with-C-Cookbook---Second-edition
4ceb7a6f61cb9e1301def08a4a0aa1759c0659be
[ "MIT" ]
null
null
null
Chapter_04/Source/Chapter_04/BarricksUnit.cpp
CoolHandNick80/Unreal-Engine-4.x-Scripting-with-C-Cookbook---Second-edition
4ceb7a6f61cb9e1301def08a4a0aa1759c0659be
[ "MIT" ]
1
2020-10-26T10:11:36.000Z
2020-10-26T10:11:36.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "BarricksUnit.h" #include "Particles/ParticleSystemComponent.h" // Sets default values ABarricksUnit::ABarricksUnit() { // Set this character to call Tick() every frame. You can turn this off to improve performance if you don...
27.653846
192
0.749652
CoolHandNick80
a0f4e25382743a924359a066604f26bc2d114b41
158
cpp
C++
examples/access-via-this-under-construction.cpp
dawidpilarski/LifetimePresentation
56d59295b5ace86015072e65bccb3310cc5a435e
[ "BSD-3-Clause" ]
null
null
null
examples/access-via-this-under-construction.cpp
dawidpilarski/LifetimePresentation
56d59295b5ace86015072e65bccb3310cc5a435e
[ "BSD-3-Clause" ]
null
null
null
examples/access-via-this-under-construction.cpp
dawidpilarski/LifetimePresentation
56d59295b5ace86015072e65bccb3310cc5a435e
[ "BSD-3-Clause" ]
null
null
null
struct C { int c; C() : c(0) { no_opt(); } }; const C cobj; void no_opt() { int i = cobj.c * 100; //unspecified value std::cout << i << std::endl; }
15.8
43
0.525316
dawidpilarski
a0f5a62ecf0c44be91f23e92204d834d6c8bfae8
5,122
cpp
C++
src/saiga/vision/camera/KittiDataset.cpp
SimonMederer/saiga
ff167e60c50b1cead4d19eb5ab2e93acce8c42a3
[ "MIT" ]
null
null
null
src/saiga/vision/camera/KittiDataset.cpp
SimonMederer/saiga
ff167e60c50b1cead4d19eb5ab2e93acce8c42a3
[ "MIT" ]
null
null
null
src/saiga/vision/camera/KittiDataset.cpp
SimonMederer/saiga
ff167e60c50b1cead4d19eb5ab2e93acce8c42a3
[ "MIT" ]
null
null
null
/** * Copyright (c) 2017 Darius Rückert * Licensed under the MIT License. * See LICENSE file for more information. */ #include "KittiDataset.h" #include "saiga/core/util/ProgressBar.h" #include "saiga/core/util/easylogging++.h" #include "saiga/core/util/file.h" #include "saiga/core/util/fileChecker.h" #include "s...
28.614525
106
0.544319
SimonMederer
a0f628edf7995e28becf70ba07b68df379b0cb34
1,427
cpp
C++
4. Алгоритмы на графах/3.1. Максимальное число маршрутов (не пересекающихся по рёбрам) #747/[OK]234197.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
19
2018-05-19T16:37:14.000Z
2022-03-23T20:13:43.000Z
4. Алгоритмы на графах/3.1. Максимальное число маршрутов (не пересекающихся по рёбрам) #747/[OK]234197.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
6
2020-05-07T21:06:48.000Z
2020-06-05T17:52:57.000Z
4. Алгоритмы на графах/3.1. Максимальное число маршрутов (не пересекающихся по рёбрам) #747/[OK]234197.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
31
2019-03-01T21:41:38.000Z
2022-03-27T17:56:39.000Z
#include <iostream> #include <string.h> #include <queue> #include <fstream> using namespace std; int N, s,t; const int MAXN=100; int matrix[MAXN][MAXN]; bool bfs(int parent[]) { bool visit[N]; memset(visit, 0, sizeof(visit)); queue <int> q; q.push(s); visit[s] = true; pare...
17.8375
51
0.403644
godnoTA
a0f6a90104d0eea3dff399517fc88b84b3914b4c
9,116
cpp
C++
WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMUIEvent.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
1
2021-05-27T07:29:31.000Z
2021-05-27T07:29:31.000Z
WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMUIEvent.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
null
null
null
WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMUIEvent.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
null
null
null
/* * This file is part of the WebKit open source project. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later ve...
32.441281
162
0.709193
mlcldh
a0f935ea1b19f2035a51876111e7b2d8b81018d0
2,112
hpp
C++
include/linear_algebra/addition_traits_impl.hpp
shogun-toolbox/linger
953628ef636b7f87f5cdcbc6dd7367a1476ebc39
[ "BSD-3-Clause" ]
1
2020-04-26T09:45:32.000Z
2020-04-26T09:45:32.000Z
include/linear_algebra/addition_traits_impl.hpp
shogun-toolbox/linger
953628ef636b7f87f5cdcbc6dd7367a1476ebc39
[ "BSD-3-Clause" ]
2
2019-11-12T16:09:31.000Z
2020-09-09T18:52:43.000Z
include/linear_algebra/addition_traits_impl.hpp
shogun-toolbox/linger
953628ef636b7f87f5cdcbc6dd7367a1476ebc39
[ "BSD-3-Clause" ]
3
2019-11-11T15:55:48.000Z
2020-06-02T20:33:48.000Z
//================================================================================================== // File: addition_traits_impl.hpp // // Summary: This header defines the static member functions of matrix_addition_traits that // perform the actual arithmetic. //===============================...
32
106
0.516098
shogun-toolbox
a0f9cce195257aaf52a404852335cf7a0f4f2306
6,696
cpp
C++
legacy/src/camera/COrbitCamera.cpp
wpumacay/tiny_renderer
9d59be49086822860654afddaf94ce1cec374ea8
[ "MIT" ]
1
2018-07-05T15:54:51.000Z
2018-07-05T15:54:51.000Z
legacy/src/camera/COrbitCamera.cpp
wpumacay/cat1
9d59be49086822860654afddaf94ce1cec374ea8
[ "MIT" ]
null
null
null
legacy/src/camera/COrbitCamera.cpp
wpumacay/cat1
9d59be49086822860654afddaf94ce1cec374ea8
[ "MIT" ]
null
null
null
#include <camera/COrbitCamera.h> namespace engine { std::string ToString( const eOrbitCameraState& state ) { /**/ if ( state == eOrbitCameraState::IDLE ) return "idle"; else if ( state == eOrbitCameraState::DRAGGING ) return "dragging"; else if ( state == eOrbitCameraState::MOVING_TARG...
35.428571
112
0.535842
wpumacay
a0fc472e9841a08da115d317e030776f7ade7508
28,805
cpp
C++
src/libishlang/parser.cpp
jrtabash/ishlang
7e1d5dcfbb3383854ac9bff643d9f5820a63091e
[ "MIT" ]
2
2019-09-11T17:49:29.000Z
2021-09-03T21:13:17.000Z
src/libishlang/parser.cpp
jrtabash/ishlang
7e1d5dcfbb3383854ac9bff643d9f5820a63091e
[ "MIT" ]
null
null
null
src/libishlang/parser.cpp
jrtabash/ishlang
7e1d5dcfbb3383854ac9bff643d9f5820a63091e
[ "MIT" ]
null
null
null
#include "parser.h" #include "exception.h" #include "struct.h" #include "util.h" #include <algorithm> #include <cctype> #include <cstdlib> #include <fstream> using namespace Ishlang; // ------------------------------------------------------------- Parser::Parser() : lexer_() { initAppFtns(); } // ----------...
30.06785
135
0.451172
jrtabash
a0fd710ff66ab669b39c812004b64b79f5832e2f
388
cpp
C++
contest/May_Challenge_2021/LKDNGOLF.cpp
Akash671/Codechef
8de5cab864e011952d7428303f8b4e6951ee57cb
[ "MIT" ]
2
2020-09-26T07:17:19.000Z
2021-04-25T10:07:19.000Z
contest/May_Challenge_2021/LKDNGOLF.cpp
Akash671/Codechef
8de5cab864e011952d7428303f8b4e6951ee57cb
[ "MIT" ]
null
null
null
contest/May_Challenge_2021/LKDNGOLF.cpp
Akash671/Codechef
8de5cab864e011952d7428303f8b4e6951ee57cb
[ "MIT" ]
1
2021-08-18T20:04:53.000Z
2021-08-18T20:04:53.000Z
/* author : @akashsaini */ #include<bits/stdc++.h> using namespace std; #define ll long long int string solve(ll n,ll x,ll k) { if(x%k==0) { return "YES"; } else { if(((n+1)-x)%k==0) { return "YES"; } else { return "NO"; } } } int main() { long int t; cin>>t; while(t--) { ll n,x,k...
9.948718
30
0.489691
Akash671
9d004959d230e75a3d9873e82a91e64d7afad464
3,158
cpp
C++
test/lib/quickjs/quickjshelper.test.cpp
tmehnert/complate-cpp
8780cff967e25279584d0e1619666783f7ff6b40
[ "Apache-2.0" ]
5
2021-12-18T09:12:51.000Z
2022-01-28T17:43:13.000Z
test/lib/quickjs/quickjshelper.test.cpp
tmehnert/complate-cpp
8780cff967e25279584d0e1619666783f7ff6b40
[ "Apache-2.0" ]
10
2021-10-18T05:45:18.000Z
2021-12-12T11:09:20.000Z
test/lib/quickjs/quickjshelper.test.cpp
tmehnert/complate-cpp
8780cff967e25279584d0e1619666783f7ff6b40
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Torsten Mehnert * * 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 ...
36.72093
76
0.659595
tmehnert
9d0486e86314187d85d328afb72c6cddbed79843
4,663
cpp
C++
solid/frame/aio/src/aioerror.cpp
vipalade/solidframe
cff130652127ca9607019b4db508bc67f8bbecff
[ "BSL-1.0" ]
26
2015-08-25T16:07:58.000Z
2019-07-05T15:21:22.000Z
solid/frame/aio/src/aioerror.cpp
vipalade/solidframe
cff130652127ca9607019b4db508bc67f8bbecff
[ "BSL-1.0" ]
5
2016-10-15T22:55:15.000Z
2017-09-19T12:41:10.000Z
solid/frame/aio/src/aioerror.cpp
vipalade/solidframe
cff130652127ca9607019b4db508bc67f8bbecff
[ "BSL-1.0" ]
5
2016-09-15T10:34:52.000Z
2018-10-30T11:46:46.000Z
// solid/frame/aio/src/aioerror.cpp // // Copyright (c) 2016 Valentin Palade (vipalade @ gmail . com) // // This file is part of SolidFrame framework. // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt. // #include "...
29.512658
91
0.693759
vipalade
9d07f99ee1e5dfbb512cbd22f470000495a773f3
131
hpp
C++
75th_RR/cfgFactionClasses.hpp
cptbassbeard/Valhalla
56868a4567898750526e1d7a66731f23c1b7d18e
[ "CC0-1.0" ]
null
null
null
75th_RR/cfgFactionClasses.hpp
cptbassbeard/Valhalla
56868a4567898750526e1d7a66731f23c1b7d18e
[ "CC0-1.0" ]
null
null
null
75th_RR/cfgFactionClasses.hpp
cptbassbeard/Valhalla
56868a4567898750526e1d7a66731f23c1b7d18e
[ "CC0-1.0" ]
null
null
null
class CfgFactionClasses { class 75th_RR { displayName = "75th Ranger Regiment"; priority = 5; side = 1; icon = ""; }; };
13.1
39
0.618321
cptbassbeard
9d09ab5479200b17fcdfacb91a37167835f67963
49,418
cpp
C++
Causality/Foregrounds.cpp
ArcEarth/SrInspection
63c540d1736e323a0f409914e413cb237f03c5c9
[ "MIT" ]
3
2016-07-13T18:30:33.000Z
2020-03-31T22:20:34.000Z
Causality/Foregrounds.cpp
ArcEarth/SrInspection
63c540d1736e323a0f409914e413cb237f03c5c9
[ "MIT" ]
null
null
null
Causality/Foregrounds.cpp
ArcEarth/SrInspection
63c540d1736e323a0f409914e413cb237f03c5c9
[ "MIT" ]
5
2016-01-16T14:25:28.000Z
2017-06-12T16:15:18.000Z
#include "pch_bullet.h" #include <iostream> #include <numeric> #include "Foregrounds.h" #include "CausalityApplication.h" #include "Common\PrimitiveVisualizer.h" #include "Common\Extern\cpplinq.hpp" #include <boost\format.hpp> using namespace Causality; using namespace DirectX; using namespace DirectX::Scene; using na...
31.903163
251
0.68123
ArcEarth
9d0a0426a96bc1410fbc389a08ae818d5a5e3071
3,796
cpp
C++
modules/stitching/perf/perf_estimators.cpp
yo1990/opencv
aef4fab1c8632940d53c694f09466dcd3e72eae2
[ "BSD-3-Clause" ]
1
2020-05-11T22:26:54.000Z
2020-05-11T22:26:54.000Z
modules/stitching/perf/perf_estimators.cpp
yo1990/opencv
aef4fab1c8632940d53c694f09466dcd3e72eae2
[ "BSD-3-Clause" ]
3
2019-08-21T07:13:41.000Z
2020-06-23T12:35:17.000Z
modules/stitching/perf/perf_estimators.cpp
yo1990/opencv
aef4fab1c8632940d53c694f09466dcd3e72eae2
[ "BSD-3-Clause" ]
null
null
null
#include "perf_precomp.hpp" #include "opencv2/imgcodecs.hpp" #include "opencv2/opencv_modules.hpp" namespace opencv_test { using namespace perf; typedef TestBaseWithParam<tuple<string, string> > bundleAdjuster; #if defined(HAVE_OPENCV_XFEATURES2D) && defined(OPENCV_ENABLE_NONFREE) #define TEST_DETECTORS testing::Val...
37.584158
99
0.68098
yo1990
9d0b0c274542dcd1e6103378377dd038e647afab
7,035
cpp
C++
adapters-stk/test/stk_interface_test/tScatterSpeed_Epetra.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
1
2022-03-22T03:49:50.000Z
2022-03-22T03:49:50.000Z
adapters-stk/test/stk_interface_test/tScatterSpeed_Epetra.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
adapters-stk/test/stk_interface_test/tScatterSpeed_Epetra.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
// STL includes #include <iostream> #include <vector> #include <set> // Teuchos includes #include "Teuchos_GlobalMPISession.hpp" #include "Teuchos_RCP.hpp" #include "Teuchos_ParameterList.hpp" #include "Teuchos_FancyOStream.hpp" #include "Teuchos_TimeMonitor.hpp" #include <Teuchos_oblackholestream.hpp> // Intrepid2 i...
30.855263
139
0.653021
hillyuan
9d0b0e0c15ce51f590e9174537a4122d71fb630a
6,710
hpp
C++
boost/spirit/home/qi/nonterminal/nonterminal_director.hpp
mike-code/boost_1_38_0
7ff8b2069344ea6b0b757aa1f0778dfb8526df3c
[ "BSL-1.0" ]
30
2016-04-23T04:55:52.000Z
2021-05-19T10:26:27.000Z
boost/spirit/home/qi/nonterminal/nonterminal_director.hpp
xin3liang/platform_external_boost
ac861f8c0f33538060790a8e50701464ca9982d3
[ "BSL-1.0" ]
11
2016-11-22T13:14:55.000Z
2021-12-14T00:56:51.000Z
boost/spirit/home/qi/nonterminal/nonterminal_director.hpp
xin3liang/platform_external_boost
ac861f8c0f33538060790a8e50701464ca9982d3
[ "BSL-1.0" ]
15
2016-04-26T13:16:38.000Z
2022-03-08T06:13:14.000Z
/*============================================================================= Copyright (c) 2001-2007 Joel de Guzman 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) =========================================...
39.239766
85
0.608048
mike-code