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
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
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
float64
1
77k
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
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
c7f48b90476d9273a83a835e825a587bc26d085e
7,212
cpp
C++
CodeXL/Components/ShaderAnalyzer/AMDTBackEnd/Emulator/Parser/ParserSIVOP.cpp
jeongjoonyoo/CodeXL
ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5
[ "MIT" ]
1,025
2016-04-19T21:36:08.000Z
2020-04-26T05:12:53.000Z
RadeonGPUAnalyzerBackend/Emulator/Parser/ParserSIVOP.cpp
Acidburn0zzz/RGA
35cd028602e21f6b8853fdc86b16153b693acb72
[ "MIT" ]
244
2016-04-20T02:05:43.000Z
2020-04-29T17:40:49.000Z
RadeonGPUAnalyzerBackend/Emulator/Parser/ParserSIVOP.cpp
Acidburn0zzz/RGA
35cd028602e21f6b8853fdc86b16153b693acb72
[ "MIT" ]
161
2016-04-20T03:23:53.000Z
2020-04-14T01:46:55.000Z
#include "ParserSIVOP.h" ParserSI::kaStatus ParserSIVOP::Parse(GDT_HW_GENERATION hwGen, Instruction::instruction32bit hexInstruction, Instruction*& instruction, bool, uint32_t, int iLabel /*=NO_LABEL*/ , int iGotoLabel /*=NO_LABEL*/) { kaStatus retStatus = ParserSI::Status_32BitInstructionNotSupported; VOPIn...
40.290503
189
0.655713
c7f5d37f2f9affbcdd465c9f91e8781534c13646
5,801
cpp
C++
pytorch/torch/csrc/jit/codegen/cuda/ir_base_nodes.cpp
zhou3968322/dl-code-read
aca204a986dabe2755becff0f42de1082299d791
[ "MIT" ]
null
null
null
pytorch/torch/csrc/jit/codegen/cuda/ir_base_nodes.cpp
zhou3968322/dl-code-read
aca204a986dabe2755becff0f42de1082299d791
[ "MIT" ]
null
null
null
pytorch/torch/csrc/jit/codegen/cuda/ir_base_nodes.cpp
zhou3968322/dl-code-read
aca204a986dabe2755becff0f42de1082299d791
[ "MIT" ]
null
null
null
#include <torch/csrc/jit/codegen/cuda/dispatch.h> #include <torch/csrc/jit/codegen/cuda/fusion.h> #include <torch/csrc/jit/codegen/cuda/ir_all_nodes.h> #include <torch/csrc/jit/codegen/cuda/ir_cloner.h> #include <torch/csrc/jit/codegen/cuda/ir_printer.h> #include <torch/csrc/jit/codegen/cuda/mutator.h> #include <torc...
25.331878
80
0.649198
c7f67ff450e18a1e3a905a4e42055e19347c62d5
919
cc
C++
pw_rpc/client_call.cc
curtin-space/pigweed
fe2e1743e03fabd2676f01d9de0ac9d34a426076
[ "Apache-2.0" ]
86
2021-03-09T23:49:40.000Z
2022-03-30T08:14:51.000Z
pw_rpc/client_call.cc
curtin-space/pigweed
fe2e1743e03fabd2676f01d9de0ac9d34a426076
[ "Apache-2.0" ]
4
2021-07-27T20:32:03.000Z
2022-03-08T10:39:07.000Z
pw_rpc/client_call.cc
curtin-space/pigweed
fe2e1743e03fabd2676f01d9de0ac9d34a426076
[ "Apache-2.0" ]
22
2021-03-11T15:15:47.000Z
2022-02-09T06:16:36.000Z
// Copyright 2021 The Pigweed Authors // // 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 agre...
32.821429
80
0.73123
c7f72e6d15db91277c9f4fb1210e6213dd14a20e
791
cpp
C++
Codeforces/1618A-polycarp-and-sums-of-subsequences.cpp
SusmoySenGupta/online-judge-solutions
8735a1bc71a05dc46255664c3ec6f47f042bfa6c
[ "MIT" ]
null
null
null
Codeforces/1618A-polycarp-and-sums-of-subsequences.cpp
SusmoySenGupta/online-judge-solutions
8735a1bc71a05dc46255664c3ec6f47f042bfa6c
[ "MIT" ]
null
null
null
Codeforces/1618A-polycarp-and-sums-of-subsequences.cpp
SusmoySenGupta/online-judge-solutions
8735a1bc71a05dc46255664c3ec6f47f042bfa6c
[ "MIT" ]
null
null
null
/* author: Susmoy Sen Gupta email: susmoy.cse@gmail.com github: github.com/SusmoySenGupta Judge: Codeforces problem no: 1618A problem name: Polycarp and Sums of Subsequences problem link: https://codeforces.com/problemset/problem/1618/A Status: ____ Solved at: __ */ #include <iost...
16.142857
100
0.60177
c7f84d6a17f9d22101dfbad974788699083da3f0
7,462
cc
C++
src/htsim/flow_driver.cc
ngvozdiev/ncode
269573ee651f3b5e13d323ee747fede244d47564
[ "Apache-2.0" ]
null
null
null
src/htsim/flow_driver.cc
ngvozdiev/ncode
269573ee651f3b5e13d323ee747fede244d47564
[ "Apache-2.0" ]
null
null
null
src/htsim/flow_driver.cc
ngvozdiev/ncode
269573ee651f3b5e13d323ee747fede244d47564
[ "Apache-2.0" ]
null
null
null
#include "flow_driver.h" #include <algorithm> #include <limits> #include "../common/logging.h" #include "packet.h" namespace ncode { namespace htsim { void ManualFlowDriver::AddData(const std::vector<AddDataEvent>& events) { add_data_events_.insert(add_data_events_.end(), events.begin(), events.end()); std::sta...
30.581967
80
0.713214
c7fbd92e7d4db60613a9ef434077b074ab2335ca
37,463
hpp
C++
include/tao/algorithm/adjacent_swap.hpp
tao-cpp/algorithm
156655aed1c522a3386cb82fb4aa2b3a302ee7e8
[ "MIT" ]
2
2017-01-13T09:20:58.000Z
2019-06-28T15:27:13.000Z
include/tao/algorithm/adjacent_swap.hpp
tao-cpp/algorithm
156655aed1c522a3386cb82fb4aa2b3a302ee7e8
[ "MIT" ]
null
null
null
include/tao/algorithm/adjacent_swap.hpp
tao-cpp/algorithm
156655aed1c522a3386cb82fb4aa2b3a302ee7e8
[ "MIT" ]
2
2017-05-31T12:05:26.000Z
2019-10-13T22:36:32.000Z
//! \file tao/algorithm/adjacent_swap.hpp // Tao.Algorithm // // Copyright (c) 2016-2021 Fernando Pelliccioni. // // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef TAO_ALGORITHM_ADJACENT_SWAP_HPP_ #define TAO_ALGORITHM_ADJ...
36.90936
117
0.564077
c7fd68c3bb0e7f828e32f707a2c1f0769da5e05e
26,218
cpp
C++
test/com/ComModTestAAF/ModuleTests/CAAFTypeDefWeakObjRefTest.cpp
Phygon/aaf
faef720e031f501190481e1d1fc1870a7dc8f98b
[ "Linux-OpenIB" ]
null
null
null
test/com/ComModTestAAF/ModuleTests/CAAFTypeDefWeakObjRefTest.cpp
Phygon/aaf
faef720e031f501190481e1d1fc1870a7dc8f98b
[ "Linux-OpenIB" ]
null
null
null
test/com/ComModTestAAF/ModuleTests/CAAFTypeDefWeakObjRefTest.cpp
Phygon/aaf
faef720e031f501190481e1d1fc1870a7dc8f98b
[ "Linux-OpenIB" ]
null
null
null
//=---------------------------------------------------------------------= // // $Id$ $Name$ // // The contents of this file are subject to the AAF SDK Public Source // License Agreement Version 2.0 (the "License"); You may not use this // file except in compliance with the License. The License is available // in AAFSD...
36.013736
117
0.729079
c7fd6bb7f2d8e5953656243d97b5db63a9aeada5
5,321
cpp
C++
hw1/p2.cpp
andy0130tw/NTU-DSnP2015
38c883db0c94509819f6bd72bbc581bec42e18d7
[ "MIT" ]
6
2016-10-29T05:50:13.000Z
2020-02-16T22:20:25.000Z
hw1/p2.cpp
andy0130tw/NTU-DSnP2015
38c883db0c94509819f6bd72bbc581bec42e18d7
[ "MIT" ]
1
2016-12-13T20:28:13.000Z
2016-12-14T12:01:02.000Z
hw1/p2.cpp
andy0130tw/NTU-DSnP2015
38c883db0c94509819f6bd72bbc581bec42e18d7
[ "MIT" ]
null
null
null
#include<cstdio> #include<iostream> #include<iomanip> #include<algorithm> #include<vector> #define UNDEF 9999 using namespace std; class Data { public: Data(size_t s) { _cols = new int[s]; } const int operator[] (size_t i) const { return _cols[i]; } int& operator[] (size_t i) { r...
24.748837
78
0.430934
c7fde809d3cae6496f625738bb68bf5e73b9de03
4,318
hpp
C++
src/game_api/savedata.hpp
estebanfer/overlunky
ffc41e7cc9bb6345942ed346f1a65a966fd0f39d
[ "MIT" ]
null
null
null
src/game_api/savedata.hpp
estebanfer/overlunky
ffc41e7cc9bb6345942ed346f1a65a966fd0f39d
[ "MIT" ]
null
null
null
src/game_api/savedata.hpp
estebanfer/overlunky
ffc41e7cc9bb6345942ed346f1a65a966fd0f39d
[ "MIT" ]
1
2020-11-15T05:43:12.000Z
2020-11-15T05:43:12.000Z
#pragma once #include <array> #include <cstdint> #include "state_structs.hpp" #pragma pack(push, 1) struct SaveGameArenaRuleset { uint8_t unknown1; uint8_t unknown12; uint8_t timer; uint8_t timer_ending; uint8_t wins; uint8_t lives; uint8_t unknown7; uint8_t unknown8; std::array<...
30.195804
189
0.695924
c7ff8d1ca5558b155a60f714ab2ab389ad30bd33
614
hpp
C++
include/boost/sml/policies.hpp
GuiCodron/sml
2dab1265f87f70a2941af9de8f3f157df9a6a53f
[ "BSL-1.0" ]
320
2020-07-03T18:58:34.000Z
2022-03-31T05:31:44.000Z
include/boost/sml/policies.hpp
GuiCodron/sml
2dab1265f87f70a2941af9de8f3f157df9a6a53f
[ "BSL-1.0" ]
106
2020-06-30T15:03:00.000Z
2022-03-31T10:42:38.000Z
include/boost/sml/policies.hpp
GuiCodron/sml
2dab1265f87f70a2941af9de8f3f157df9a6a53f
[ "BSL-1.0" ]
55
2020-07-10T12:32:49.000Z
2022-03-14T07:12:28.000Z
#include "boost/sml/back/policies.hpp" #include "boost/sml/front/actions/defer.hpp" template <class T> struct thread_safe : aux::pair<back::thread_safety_policy__, thread_safe<T>> { using type = T; }; template <template <class...> class T> struct defer_queue : aux::pair<back::defer_queue_policy__, defer_queue<T>> {...
25.583333
78
0.701954
2a011b6bef490a13a1d357054abc7e639f9bdbff
1,132
cpp
C++
UVA/vol-111/11110.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
3
2017-05-12T14:45:37.000Z
2020-01-18T16:51:25.000Z
UVA/vol-111/11110.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
null
null
null
UVA/vol-111/11110.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int n; char A[120][120]; int dfs(int y, int x, char c) { if (A[y][x] != c) return 0; A[y][x] = -1; int r = 1; if (x > 0) r += dfs(y, x-1, c); if (x<n-1) r += dfs(y, x+1, c); if (y > 0) r += dfs(y-1, x, c); if (y<n-1) r += dfs(y+1, x, c); re...
21.769231
49
0.373675
2a04f476927a2787f725f277f6e2177e7981b46d
772
hpp
C++
include/networking/Event.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
include/networking/Event.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
include/networking/Event.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
1
2019-06-11T03:41:48.000Z
2019-06-11T03:41:48.000Z
#ifndef NETWORK_EVENT_H_ #define NETWORK_EVENT_H_ #include <vector> #include "Types.hpp" #include "ClientHandle.hpp" #include "ServerHandle.hpp" #include "RemoteConnectionHandle.hpp" namespace ice_engine { namespace networking { enum EventType { UNKNOWN = 0, SERVERDISCONNECT, CLIENTDISCONNECT, SERVERCONNEC...
13.310345
47
0.774611
2a05993080fc16187d08ec6cef2e7ff66e2d0ac3
4,031
cpp
C++
test/test_client.cpp
lichuan/fly
7927f819f74997314fb526c5d8ab4d88ea593b91
[ "Apache-2.0" ]
60
2015-06-23T12:36:33.000Z
2022-03-09T01:27:14.000Z
test/test_client.cpp
lichuan/fly
7927f819f74997314fb526c5d8ab4d88ea593b91
[ "Apache-2.0" ]
1
2021-12-21T11:23:04.000Z
2021-12-21T11:23:04.000Z
test/test_client.cpp
lichuan/fly
7927f819f74997314fb526c5d8ab4d88ea593b91
[ "Apache-2.0" ]
30
2015-08-03T07:22:04.000Z
2022-01-13T08:49:48.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * _______ _ * * ( ____ \ ( \ |\ /| * * | ( \/ | ( ( \ / ) * * | (__ ...
41.556701
132
0.354999
2a0e0b31f8896732621146f8c97e7bdbbad7ea87
5,637
hpp
C++
nvidia_flex/common/helpers.hpp
bluekyu/rpcpp_samples
dab4d21229e9793434d727b2ed8e4c5088c17218
[ "MIT" ]
4
2018-09-15T20:30:38.000Z
2022-02-13T19:41:00.000Z
nvidia_flex/common/helpers.hpp
bluekyu/rpcpp_samples
dab4d21229e9793434d727b2ed8e4c5088c17218
[ "MIT" ]
4
2017-09-05T15:18:40.000Z
2018-08-27T01:15:46.000Z
nvidia_flex/common/helpers.hpp
bluekyu/rpcpp_samples
dab4d21229e9793434d727b2ed8e4c5088c17218
[ "MIT" ]
null
null
null
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
35.904459
120
0.659038
2a0f6d0725d97dc1332a8ce9872eb32a43402f73
33,384
cpp
C++
lipton-tarjan.cpp
jeffythedragonslayer/lipton-tarjan
d6f43395ca9d5a459c61cd55ccac6ed6295bc1dd
[ "BSL-1.0" ]
8
2017-05-20T11:20:39.000Z
2020-11-10T15:50:33.000Z
lipton-tarjan.cpp
jeffythedragonslayer/lipton-tarjan
d6f43395ca9d5a459c61cd55ccac6ed6295bc1dd
[ "BSL-1.0" ]
14
2017-12-02T06:35:48.000Z
2020-04-12T19:58:56.000Z
lipton-tarjan.cpp
jeffythedragonslayer/lipton-tarjan
d6f43395ca9d5a459c61cd55ccac6ed6295bc1dd
[ "BSL-1.0" ]
3
2017-04-19T16:37:32.000Z
2022-03-19T04:29:33.000Z
//======================================================================= // Copyright 2015 - 2020 Jeff Linahan // // 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) //===============================================...
49.311669
224
0.603672
2a11bad50ddeed1c4d00966be02e838f549793ce
9,417
cpp
C++
Meteorites.Tests/GoldSolverTests.cpp
m-krivov/MeteoriteSimulator
a60cdef30ffff0bfab11ee8db799b41b3cdee452
[ "MIT" ]
null
null
null
Meteorites.Tests/GoldSolverTests.cpp
m-krivov/MeteoriteSimulator
a60cdef30ffff0bfab11ee8db799b41b3cdee452
[ "MIT" ]
null
null
null
Meteorites.Tests/GoldSolverTests.cpp
m-krivov/MeteoriteSimulator
a60cdef30ffff0bfab11ee8db799b41b3cdee452
[ "MIT" ]
null
null
null
#include "TestDefs.h" #include "Meteorites.CpuSolvers/GoldSolver.h" TEST_CLASS(GoldSolverTests) { public: TEST_METHOD(Vacuum_VerticalSpeed) { GoldSolver solver(GoldSolver::ONE_STEP_ADAMS); solver.Configure(dt_sim, 3600.0f); Case problem(1.0f, 0.0f, 2000.0f, 0.0f, 0.0f, 1....
35.007435
92
0.520442
2a135182bcd849349aba93fed5d88b57833f0d87
21,399
cpp
C++
src/core/graph/internal/GraphInternal.cpp
alexbatashev/athena
eafbb1e16ed0b273a63a20128ebd4882829aa2db
[ "MIT" ]
2
2020-07-16T06:42:27.000Z
2020-07-16T06:42:28.000Z
src/core/graph/internal/GraphInternal.cpp
PolarAI/polarai-framework
c5fd886732afe787a06ebf6fb05fc38069257457
[ "MIT" ]
null
null
null
src/core/graph/internal/GraphInternal.cpp
PolarAI/polarai-framework
c5fd886732afe787a06ebf6fb05fc38069257457
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // Copyright (c) 2020 PolarAI. All rights reserved. // // Licensed under MIT license. // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT //...
44.030864
196
0.672415
2a1618ac5fa12b27203eae430a3b0626a1072042
14,232
cpp
C++
data/frameProcessor/src/HexitecThresholdPlugin.cpp
stfc-aeg/hexitec-detector
c535cd212b39a809990fbec91bf503723f6ad787
[ "Apache-2.0" ]
1
2020-10-22T07:50:41.000Z
2020-10-22T07:50:41.000Z
data/frameProcessor/src/HexitecThresholdPlugin.cpp
stfc-aeg/hexitec-detector
c535cd212b39a809990fbec91bf503723f6ad787
[ "Apache-2.0" ]
68
2020-10-19T08:16:02.000Z
2022-03-12T00:55:16.000Z
data/frameProcessor/src/HexitecThresholdPlugin.cpp
stfc-aeg/hexitec-detector
c535cd212b39a809990fbec91bf503723f6ad787
[ "Apache-2.0" ]
null
null
null
/* * HexitecThresholdPlugin.cpp * * Created on: 11 Jul 2018 * Author: Christian Angelsen */ #include <HexitecThresholdPlugin.h> #include "version.h" namespace FrameProcessor { const std::string HexitecThresholdPlugin::CONFIG_THRESHOLD_MODE = "threshold_mode"; const std::string HexitecThr...
32.944444
105
0.649592
2a1a7e7a18142c1ee49b0eebc9c9a2ee771762d3
490
cpp
C++
src/1663/1663-Smallest-String-With-A-Given-Numeric-Value-UnitTest.cpp
coldnew/leetcode-solutions
3bc7943f8341397840ecd34aefc5af6e52b09b4e
[ "Unlicense" ]
2
2022-03-10T17:06:18.000Z
2022-03-11T08:52:00.000Z
src/1663/1663-Smallest-String-With-A-Given-Numeric-Value-UnitTest.cpp
coldnew/leetcode-solutions
3bc7943f8341397840ecd34aefc5af6e52b09b4e
[ "Unlicense" ]
null
null
null
src/1663/1663-Smallest-String-With-A-Given-Numeric-Value-UnitTest.cpp
coldnew/leetcode-solutions
3bc7943f8341397840ecd34aefc5af6e52b09b4e
[ "Unlicense" ]
null
null
null
#include <gtest/gtest.h> #include "1663-Smallest-String-With-A-Given-Numeric-Value.cpp" #define LEETCODE_TEST(SolutionX) \ TEST(SmallestStringWithAGivenNumericValueTest, SolutionX) { \ SolutionX s; \ EXPECT_EQ("aay", s.getSmallestStri...
32.666667
63
0.597959
2a1a80ab5e8666efb976f897eb94e28f009e298f
928
cpp
C++
LinkQueue/LinkQueue.cpp
yudongxuer/CppExam
17c0a2c6fa40db103e968a9eaed5b8aa5a129f75
[ "MIT" ]
null
null
null
LinkQueue/LinkQueue.cpp
yudongxuer/CppExam
17c0a2c6fa40db103e968a9eaed5b8aa5a129f75
[ "MIT" ]
null
null
null
LinkQueue/LinkQueue.cpp
yudongxuer/CppExam
17c0a2c6fa40db103e968a9eaed5b8aa5a129f75
[ "MIT" ]
null
null
null
#include "LinkQueue.h" LinkQueue::LinkQueue() { this->head = nullptr; this->tail = nullptr; this->length = 0; } int LinkQueue::len() { return this->length; } void LinkQueue::push(int value) { Node *appendElement = new Node(); appendElement->value = value; if (this->length == 0) { ...
22.095238
38
0.582974
2a1af715d88b1579c055abb7b170f46cd05b265d
893
cpp
C++
src/WebSocketProto/WebSocketProto.cpp
yottaawesome/bits-test
3ce1d08b0f86161b11d50e50f04170c624c27bcd
[ "MIT" ]
1
2020-11-29T19:06:20.000Z
2020-11-29T19:06:20.000Z
src/WebSocketProto/WebSocketProto.cpp
yottaawesome/bits-test
3ce1d08b0f86161b11d50e50f04170c624c27bcd
[ "MIT" ]
1
2020-12-12T21:35:45.000Z
2020-12-12T21:35:45.000Z
src/WebSocketProto/WebSocketProto.cpp
yottaawesome/bits-test
3ce1d08b0f86161b11d50e50f04170c624c27bcd
[ "MIT" ]
null
null
null
#define _SILENCE_ALL_CXX20_DEPRECATION_WARNINGS 1 #include <vector> #include <Windows.h> #include "WinHttp.hpp" #include "testmessage.pb.h" #pragma comment(lib, "winhttp.lib") int main(int argc, char** args) { TestMessage ts; ts.set_sometext("poop"); WinHttp::WinHttpWebSocket ws(L"https://127.0.0.1", 51...
24.135135
68
0.655095
2a1d93449690fe46cc10bdc1c70c04897ee65cd5
351
hpp
C++
include/Client/Vector.hpp
semper24/R-Type
b91184d656ffcec39b0a43e7a42c1a1ecd236c9b
[ "MIT" ]
null
null
null
include/Client/Vector.hpp
semper24/R-Type
b91184d656ffcec39b0a43e7a42c1a1ecd236c9b
[ "MIT" ]
null
null
null
include/Client/Vector.hpp
semper24/R-Type
b91184d656ffcec39b0a43e7a42c1a1ecd236c9b
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2019 ** OOP_arcade_2019 ** File description: ** Vector.hpp */ #ifndef _VECTOR_HPP_ # define _VECTOR_HPP_ struct posVector { posVector() = default; posVector(const posVector& other) = default; posVector& operator=(const posVector& other) = default; ~posVector() = default; fl...
15.954545
59
0.669516
2a204353dfa4eebda8b2d6a97be2c9cffc287f6f
1,331
cpp
C++
linux/Chess/Player.cpp
bricsi0000000000000/Chess
f1d93153bc7d2f25a117cdc81c69ac23b6407f87
[ "MIT" ]
null
null
null
linux/Chess/Player.cpp
bricsi0000000000000/Chess
f1d93153bc7d2f25a117cdc81c69ac23b6407f87
[ "MIT" ]
null
null
null
linux/Chess/Player.cpp
bricsi0000000000000/Chess
f1d93153bc7d2f25a117cdc81c69ac23b6407f87
[ "MIT" ]
null
null
null
#include "Player.h" Player::Player(std::string name, Color color, bool is_bot) : name(name), points(0), color(color), is_bot(is_bot) {} std::string Player::GetName() { return name; } int Player::GetPoints() { return points; } void Player::AddPoints(int point) { points += point; } Color Player::GetColor() { ...
19.573529
131
0.676935
2a20c70f99f9eb70be02ee9758619655be7e7d70
14,820
cpp
C++
sources/Engine/Modules/Graphics/OpenGL/GLGraphicsContext.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
22
2017-07-26T17:42:56.000Z
2022-03-21T22:12:52.000Z
sources/Engine/Modules/Graphics/OpenGL/GLGraphicsContext.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
50
2017-08-02T19:37:48.000Z
2020-07-24T21:10:38.000Z
sources/Engine/Modules/Graphics/OpenGL/GLGraphicsContext.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
4
2018-08-20T08:12:48.000Z
2020-07-19T14:10:05.000Z
#include "precompiled.h" #pragma hdrstop #include "GLGraphicsContext.h" #include <spdlog/spdlog.h> #include "Modules/Graphics/GraphicsSystem/FrameStats.h" #include "Exceptions/exceptions.h" #include "options.h" GLGraphicsContext::GLGraphicsContext(SDL_Window* window) : m_window(window) { spdlog::info("Creating...
28.33652
120
0.741768
2a224fe9e62e5191548e94f9c44eff44175e768c
1,620
cpp
C++
Source/TopDownARPG/TopDownARPGGameMode.cpp
Ivan-Vankov/GameEnginesCourseProject
31c719adb139ec08e5b70092689502a6d4290cea
[ "Apache-2.0" ]
null
null
null
Source/TopDownARPG/TopDownARPGGameMode.cpp
Ivan-Vankov/GameEnginesCourseProject
31c719adb139ec08e5b70092689502a6d4290cea
[ "Apache-2.0" ]
null
null
null
Source/TopDownARPG/TopDownARPGGameMode.cpp
Ivan-Vankov/GameEnginesCourseProject
31c719adb139ec08e5b70092689502a6d4290cea
[ "Apache-2.0" ]
null
null
null
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. #include "TopDownARPGGameMode.h" #include "TopDownARPGPlayerController.h" #include "TopDownARPGCharacter.h" #include "UObject/ConstructorHelpers.h" #include "TopDownARPG.h" #include "Engine/World.h" ATopDownARPGGameMode::ATopDownARPGGameMode() { // use our...
28.928571
120
0.780864
2a24a509d120560b682941d047a102f04ba1a6af
3,705
cxx
C++
CPP/cgal3d.cxx
amit112amit/learning-cgal
a00b2a559cc9bd38fd041873353423f13406cb01
[ "MIT" ]
2
2019-06-01T06:55:57.000Z
2019-12-18T15:54:13.000Z
CPP/cgal3d.cxx
amit112amit/learning-cgal
a00b2a559cc9bd38fd041873353423f13406cb01
[ "MIT" ]
null
null
null
CPP/cgal3d.cxx
amit112amit/learning-cgal
a00b2a559cc9bd38fd041873353423f13406cb01
[ "MIT" ]
null
null
null
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Delaunay_triangulation_3.h> #include <CGAL/Triangulation_vertex_base_with_info_3.h> #include <Eigen/Dense> #include <vtkPolyDataReader.h> #include <vtkPolyDataWriter.h> #include <vtkPolyData.h> #include <vtkCellArray.h> #include <vtkDoubleA...
36.323529
91
0.588394
2a264dbac30dca8a07343598e64714d01853f644
2,516
cpp
C++
Sources/Core/cpp/NdxDataStorage/IndexStorage_test.cpp
elzin/SentimentAnalysisService
41fba2ef49746473535196e89a5e49250439fd83
[ "MIT" ]
2
2021-07-07T19:39:11.000Z
2021-12-02T15:54:15.000Z
Sources/Core/cpp/NdxDataStorage/IndexStorage_test.cpp
elzin/SentimentAnalysisService
41fba2ef49746473535196e89a5e49250439fd83
[ "MIT" ]
null
null
null
Sources/Core/cpp/NdxDataStorage/IndexStorage_test.cpp
elzin/SentimentAnalysisService
41fba2ef49746473535196e89a5e49250439fd83
[ "MIT" ]
1
2021-12-01T17:48:20.000Z
2021-12-01T17:48:20.000Z
#include "StdAfx.h" #ifdef _SS_UNITTESTS #include ".\indexstorage_test.h" #include ".\test_const.h" #include ".\console.h" #include ".\index_storage.h" #include ".\data_storages_factory.h" CPPUNIT_TEST_SUITE_REGISTRATION(SS::UnitTests::NdxSE::NdxDataStorage::CIndexStorage_test); typedef HRESULT (*CREATE_INSTANCE)(c...
23.514019
99
0.736089
2a26cb3bbb819a3fe4e2ef314cb4739c7b0cc715
9,142
cpp
C++
Source/AccelByteUe4Sdk/Private/Api/AccelByteItemApi.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
Source/AccelByteUe4Sdk/Private/Api/AccelByteItemApi.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
Source/AccelByteUe4Sdk/Private/Api/AccelByteItemApi.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
// Copyright (c) 2018 - 2019 AccelByte Inc. All Rights Reserved. // This is licensed software from AccelByte Inc, for limitations // and restrictions contact your company contract manager. #include "Api/AccelByteItemApi.h" #include "Core/AccelByteError.h" #include "JsonUtilities.h" #include "Core/AccelByteRegistry.h" ...
32.077193
231
0.692299
2a2830f9a0a3381e9c4086c616eda4a5038e5e74
27,285
cpp
C++
moos-ivp/ivp/src/uFldNodeComms/FldNodeComms.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
moos-ivp/ivp/src/uFldNodeComms/FldNodeComms.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
moos-ivp/ivp/src/uFldNodeComms/FldNodeComms.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
/*****************************************************************/ /* NAME: Michael Benjamin */ /* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */ /* FILE: FldNodeComms.cpp */ /* DATE: Dec 4th 2011 ...
32.024648
82
0.613597
2a291633e0c1a8ff7405ad7c78b4b4df634f1948
3,738
cpp
C++
qtserver/components/transforms.cpp
jimfinnis/stumpy2
4011e42b7082f847396816b1b5aee46d7ce93b2b
[ "MIT" ]
null
null
null
qtserver/components/transforms.cpp
jimfinnis/stumpy2
4011e42b7082f847396816b1b5aee46d7ce93b2b
[ "MIT" ]
1
2016-05-18T12:03:16.000Z
2016-10-01T19:05:26.000Z
qtserver/components/transforms.cpp
jimfinnis/stumpy2
4011e42b7082f847396816b1b5aee46d7ce93b2b
[ "MIT" ]
null
null
null
/** * @file * Simple transform components. * * */ #include "engine/engine.h" #include "serverbase/model.h" /// base class for all transforms which sets up common parameters class SimpleTransformComponentType : public ComponentType { public: SimpleTransformComponentType(const char *name) : ComponentType(nam...
29.433071
88
0.52702
2a29441c759c4e99f4f66784107318ede2d083dd
4,005
cpp
C++
GTraining/Map_v_UnorderedMap.cpp
tzaffi/cpp
43d99e70d8fa712f90ea0f6147774e4e0f2b11da
[ "MIT" ]
null
null
null
GTraining/Map_v_UnorderedMap.cpp
tzaffi/cpp
43d99e70d8fa712f90ea0f6147774e4e0f2b11da
[ "MIT" ]
null
null
null
GTraining/Map_v_UnorderedMap.cpp
tzaffi/cpp
43d99e70d8fa712f90ea0f6147774e4e0f2b11da
[ "MIT" ]
null
null
null
// // Created by zeph on 11/25/16. // /* * In the interview prep at coogle, Sam Greenfiled pointed out that * o map's basic operations run in O(log n) since it's backed by a BST * while * o unordered_map's is a true hash table with O(1) operations * * Let's test this theory out. */ #include <iostream> #i...
36.743119
149
0.653433
2a2aee399852bfcadf84621b8ed8c3ba630b1f54
153
hh
C++
CppPool/cpp_d07m/ex04/Destination.hh
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
40
2018-01-28T14:23:27.000Z
2022-03-05T15:57:47.000Z
CppPool/cpp_d07m/ex04/Destination.hh
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
1
2021-10-05T09:03:51.000Z
2021-10-05T09:03:51.000Z
CppPool/cpp_d07m/ex04/Destination.hh
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
73
2019-01-07T18:47:00.000Z
2022-03-31T08:48:38.000Z
#ifndef _DESTINATION_ #define _DESTINATION_ enum Destination { EARTH, VULCAN, ROMULUS, REMUS, UNICOMPLEX, JUPITER, BABEL }; #endif
10.2
22
0.673203
2a313450a43c796fc2aaa13024b20d247cc1f511
228,084
cpp
C++
src/3rdparty/pythonqt/generated_cpp_50/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp
aliakseis/FVD
8d549834fcf9e8fdd5ebecdcaf9410074876b2ed
[ "MIT" ]
null
null
null
src/3rdparty/pythonqt/generated_cpp_50/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp
aliakseis/FVD
8d549834fcf9e8fdd5ebecdcaf9410074876b2ed
[ "MIT" ]
null
null
null
src/3rdparty/pythonqt/generated_cpp_50/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp
aliakseis/FVD
8d549834fcf9e8fdd5ebecdcaf9410074876b2ed
[ "MIT" ]
null
null
null
#include "com_trolltech_qt_webkit0.h" #include <PythonQtConversion.h> #include <PythonQtMethodInfo.h> #include <PythonQtSignalReceiver.h> #include <QGraphicsScene> #include <QVariant> #include <qaction.h> #include <qbackingstore.h> #include <qbitmap.h> #include <qbytearray.h> #include <qcoreevent.h> #include <qcursor.h...
37.305201
224
0.728346
2a31ebfddbe4dcd9bedd2ece45c27c9f8017a430
9,013
cpp
C++
SRTI_Source/v2_C++_Sim_Wrapper_Source/simulations/Array/string_sim.cpp
ICoR-code/SRTI
1261f24e5fee6df587e926b107173cacd2cf3126
[ "Apache-2.0" ]
4
2020-10-09T20:19:53.000Z
2022-01-29T06:24:31.000Z
SRTI_Source/v2_C++_Sim_Wrapper_Source/simulations/Array/string_sim.cpp
hlynka-a/SRTI
1261f24e5fee6df587e926b107173cacd2cf3126
[ "Apache-2.0" ]
4
2020-07-07T20:42:24.000Z
2022-03-25T18:52:23.000Z
SRTI_Source/v2_C++_Sim_Wrapper_Source/simulations/Array/string_sim.cpp
ICoR-code/SRTI
1261f24e5fee6df587e926b107173cacd2cf3126
[ "Apache-2.0" ]
2
2020-10-09T20:17:02.000Z
2021-03-24T06:40:57.000Z
#include <vector> #include <iostream> #include <type_traits> #include "string_sim.hpp" using namespace std; namespace rj = rapidjson; StringSim::StringSim() { input.insert(pair <string, rj::Value> ("Double", rj::Value())); output.insert(pair <string, rj::Value> ("String", rj::Value(rj::kObjectType))); ou...
26.508824
167
0.582159
2a31ff4194392d7dcf31835486fdf10f91d81e13
15,956
cpp
C++
tests/MetadataEngine/tst_metadataenginetest.cpp
DatabasesWorks/passiflora-symphytum-configurable-fields
6128d0391fe33438250efad4398d65c5982b005b
[ "BSD-2-Clause" ]
374
2015-01-03T17:25:16.000Z
2022-03-04T07:58:07.000Z
tests/MetadataEngine/tst_metadataenginetest.cpp
DatabasesWorks/symphytum-configurable-fields
187b72e9ff758bd207a415cb3fc9e2d97889996c
[ "BSD-2-Clause" ]
133
2015-01-03T17:28:29.000Z
2020-09-22T11:44:14.000Z
tests/MetadataEngine/tst_metadataenginetest.cpp
DatabasesWorks/symphytum-configurable-fields
187b72e9ff758bd207a415cb3fc9e2d97889996c
[ "BSD-2-Clause" ]
78
2015-01-19T13:26:07.000Z
2022-03-21T00:02:55.000Z
#include <QString> #include <QtTest> #include <QSqlQuery> #include "../../components/metadataengine.h" #include "../../components/databasemanager.h" class MetadataEngineTest : public QObject { Q_OBJECT public: MetadataEngineTest(); ~MetadataEngineTest(); private Q_SLOTS: void testCollectionI...
34.686957
85
0.635435
2a340eedb70e93dbac2193f8b0125757e80a0feb
4,051
cpp
C++
sdk/core/azure-core/test/ut/http.cpp
JasonYang-MSFT/azure-sdk-for-cpp
c0faea5f90c0d78f088f8c049353a2ee66ba3930
[ "MIT" ]
null
null
null
sdk/core/azure-core/test/ut/http.cpp
JasonYang-MSFT/azure-sdk-for-cpp
c0faea5f90c0d78f088f8c049353a2ee66ba3930
[ "MIT" ]
1
2021-02-23T00:43:57.000Z
2021-02-23T00:49:17.000Z
sdk/core/azure-core/test/ut/http.cpp
JasonYang-MSFT/azure-sdk-for-cpp
c0faea5f90c0d78f088f8c049353a2ee66ba3930
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #include "gtest/gtest.h" #include <http/http.hpp> #include <string> #include <vector> using namespace Azure::Core; TEST(Http_Request, getters) { Http::HttpMethod httpMethod = Http::HttpMethod::Get; std::string url = "htt...
34.042017
99
0.662552
2a35ba2c64c78650b483bb976d85e5603b77018b
258
cpp
C++
Cpp_primer_5th/code_part9/prog9_34.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part9/prog9_34.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part9/prog9_34.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main(){ vector<int> vi{1,2,3,4,5}; auto iter = vi.begin(); while(iter != vi.end() ){ //endless loo iter = vi.insert(iter, *iter); cout << *iter << endl; } ++iter; return 0; }
14.333333
40
0.581395
2a3664d0d70d55544f209d77704c0f9a57ddff24
1,116
cpp
C++
mp/src/old/cl_dll/vgui_consolepanel.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
1
2021-03-20T14:27:45.000Z
2021-03-20T14:27:45.000Z
mp/src/old/cl_dll/vgui_consolepanel.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
mp/src/old/cl_dll/vgui_consolepanel.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
//======== (C) Copyright 1999, 2000 Valve, L.L.C. All rights reserved. ======== // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of // Valve, L.L.C., or in accordance with the terms and conditions stipulated in // the ...
20.666667
79
0.543011
2a3b854022134ea7d90ee72dcb8b39a2cad1e4a5
11,860
cpp
C++
src/native_extensions/process_manager_win.cpp
devcxx/zephyros
3ba2c63c5d11bfab66b896e8e09287e222f645a2
[ "Unlicense", "MIT" ]
null
null
null
src/native_extensions/process_manager_win.cpp
devcxx/zephyros
3ba2c63c5d11bfab66b896e8e09287e222f645a2
[ "Unlicense", "MIT" ]
null
null
null
src/native_extensions/process_manager_win.cpp
devcxx/zephyros
3ba2c63c5d11bfab66b896e8e09287e222f645a2
[ "Unlicense", "MIT" ]
null
null
null
/******************************************************************************* * Copyright (c) 2015-2017 Vanamco AG, http://www.vanamco.com * * The MIT License (MIT) * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software...
30.101523
128
0.626391
2a3cc5850d3a481d73bb75f09bc6c57020260f4a
614
hpp
C++
AdenitaCoreSE/include/SEDSDNACreatorEditorDescriptor.hpp
edellano/Adenita-SAMSON-Edition-Win-
6df8d21572ef40fe3fc49165dfaa1d4318352a69
[ "BSD-3-Clause" ]
2
2020-09-07T20:48:43.000Z
2021-09-03T05:49:59.000Z
AdenitaCoreSE/include/SEDSDNACreatorEditorDescriptor.hpp
edellano/Adenita-SAMSON-Edition-Linux
a7e267e5dd37e0073f4d1e3e603c5fb1c69a350a
[ "BSD-3-Clause" ]
6
2020-04-05T18:39:28.000Z
2022-01-11T14:28:55.000Z
AdenitaCoreSE/include/SEDSDNACreatorEditorDescriptor.hpp
edellano/Adenita-SAMSON-Edition-Linux
a7e267e5dd37e0073f4d1e3e603c5fb1c69a350a
[ "BSD-3-Clause" ]
2
2021-07-13T12:58:13.000Z
2022-01-11T13:52:00.000Z
/// \headerfile SBProxy.hpp "SBProxy.hpp" #include "SBProxy.hpp" /// \headerfile SEDSDNACreatorEditor.hpp "SEDSDNACreatorEditor.hpp" #include "SEDSDNACreatorEditor.hpp" // Class descriptor // SAMSON Element generator pro tip: complete this descriptor to expose this class to SAMSON and other SAMSON Elements SB_CLAS...
21.172414
118
0.788274
2a3f1d0fb7dadf387ed900ab643d6f0132c964ad
4,771
cpp
C++
src/Prop.cpp
fauresystems/ArduinoProps
b6b94208f5d31e600ed5f4c6ccd45f8bedc46a52
[ "MIT" ]
null
null
null
src/Prop.cpp
fauresystems/ArduinoProps
b6b94208f5d31e600ed5f4c6ccd45f8bedc46a52
[ "MIT" ]
null
null
null
src/Prop.cpp
fauresystems/ArduinoProps
b6b94208f5d31e600ed5f4c6ccd45f8bedc46a52
[ "MIT" ]
null
null
null
/* Name: Prop.cpp Author: Faure Systems <dev at faure dot systems> Editor: https://github.com/fauresystems License: MIT License (c) Faure Systems <dev at faure dot systems> Base class to make prop sketch for Escape Room 2.0 (connected). */ #include "Prop.h" #if defined(__AVR__) #include <avr/wdt.h> #en...
23.502463
110
0.656466
2a3f479e43bd5d826b012ae081234b5767e0c106
881
cpp
C++
src/c_handshake.cpp
DreamHacks/dd3d
4665cc6e55b415c48385c6b6279bb3fd5f8e4bc9
[ "MIT" ]
null
null
null
src/c_handshake.cpp
DreamHacks/dd3d
4665cc6e55b415c48385c6b6279bb3fd5f8e4bc9
[ "MIT" ]
null
null
null
src/c_handshake.cpp
DreamHacks/dd3d
4665cc6e55b415c48385c6b6279bb3fd5f8e4bc9
[ "MIT" ]
5
2017-07-09T12:03:19.000Z
2022-02-09T09:37:36.000Z
#include "dd3d.h" #include "connection.h" #include "crypt.h" #include "m_user.h" #include "log.h" #include "c_handshake.h" bool c_handshake_handler(void* message, uint32_t message_size) { bool rv = false; if (message_size == 4 + RSA_SIZE) { uint8_t key[RSA_SIZE]; int key_size = crypt_rsa_private_decrypt(utils_p...
28.419355
100
0.687855
2a41e6153124ff7b2dd9a1452eb623b5b2378c4c
5,715
cpp
C++
applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Deformables/Collisions_And_Interactions/TRIANGLE_COLLISIONS_POINT_FACE_VISITOR.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Deformables/Collisions_And_Interactions/TRIANGLE_COLLISIONS_POINT_FACE_VISITOR.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Deformables/Collisions_And_Interactions/TRIANGLE_COLLISIONS_POINT_FACE_VISITOR.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
//##################################################################### // Copyright 2002-2007, Robert Bridson, Ronald Fedkiw, Eran Guendelman, Geoffrey Irving, Nipun Kwatra, Neil Molino, Andrew Selle, Jonathan Su, Joseph Teran. // This file is part of PhysBAM whose distribution is governed by the license contained in ...
73.269231
178
0.712511
2a45f8f0806cb2aa41ad4988c5b187d4881018d1
1,300
hpp
C++
libs/core/include/fcppt/math/matrix/has_dim.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/matrix/has_dim.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/matrix/has_dim.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // 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 FCPPT_MATH_MATRIX_HAS_DIM_HPP_INCLUDED #define FCPPT_MATH_MATRIX_HAS_DIM_HPP_INCLUDED #in...
16.25
76
0.719231
2a4634de99fe9c2e51c1b7786e27d524d5bf7fe6
6,482
cpp
C++
test/stream.cpp
jspaaks/cuda-wrapper
66262b819d55814d35cdb88a7eb9ab3b67fadaf0
[ "BSD-3-Clause" ]
null
null
null
test/stream.cpp
jspaaks/cuda-wrapper
66262b819d55814d35cdb88a7eb9ab3b67fadaf0
[ "BSD-3-Clause" ]
null
null
null
test/stream.cpp
jspaaks/cuda-wrapper
66262b819d55814d35cdb88a7eb9ab3b67fadaf0
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2020 Jaslo Ziska * * This file is part of cuda-wrapper. * * This software may be modified and distributed under the terms of the * 3-clause BSD license. See accompanying file LICENSE for details. */ #define BOOST_TEST_MODULE stream #include <boost/test/unit_test.hpp> #include <algorithm> #i...
30.28972
93
0.655199
2a46e9dac0560f9dbb529cb6ed9db8b91bb34790
44,789
cpp
C++
src/AM/CatalogInstance.cpp
fsaintjacques/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
14
2016-07-11T04:08:09.000Z
2022-03-11T05:56:59.000Z
src/AM/CatalogInstance.cpp
ibrarahmad/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
null
null
null
src/AM/CatalogInstance.cpp
ibrarahmad/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
13
2016-06-01T10:41:15.000Z
2022-01-06T09:01:15.000Z
/* Copyright (c) 2005, Regents of Massachusetts Institute of Technology, * Brandeis University, Brown University, and University of Massachusetts * Boston. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
33.549813
330
0.666458
2a513e5ab77fc89931a095b7e07b743e045f68ce
2,807
hpp
C++
src/sprite.hpp
gulrak/lostcolonies
ba47bbb3b642fbde9c87670666d02f288cfe7984
[ "MIT" ]
1
2022-02-03T20:42:24.000Z
2022-02-03T20:42:24.000Z
src/sprite.hpp
gulrak/lostcolonies
ba47bbb3b642fbde9c87670666d02f288cfe7984
[ "MIT" ]
null
null
null
src/sprite.hpp
gulrak/lostcolonies
ba47bbb3b642fbde9c87670666d02f288cfe7984
[ "MIT" ]
null
null
null
#pragma once #include <raylib.h> #include <algorithm> #include <vector> #include "raymath.hpp" struct Sprite { enum Type { Unused, Alien, Player, ColonyShip, AlienShot, AlienBomb, PlayerShot, DotParticle }; Type _type{Unused}; Vector2 _pos{}; Vector2 _velocity{}; Rectangle _sprite{}; Rectangle...
32.639535
156
0.576772
2a55eca06e121661d59d4d4095424ee625cddfb3
6,514
cpp
C++
source/console/Console.cpp
mkapusnik/duel6r
1e5ed50035b1c2878622c9129ee8255a5abf9227
[ "BSD-3-Clause" ]
12
2015-06-21T14:57:53.000Z
2021-11-30T23:32:27.000Z
source/console/Console.cpp
mkapusnik/duel6r
1e5ed50035b1c2878622c9129ee8255a5abf9227
[ "BSD-3-Clause" ]
37
2015-01-04T18:21:13.000Z
2020-11-02T15:50:38.000Z
source/console/Console.cpp
mkapusnik/duel6r
1e5ed50035b1c2878622c9129ee8255a5abf9227
[ "BSD-3-Clause" ]
10
2015-03-12T23:31:31.000Z
2020-02-25T23:19:44.000Z
/* * Copyright (c) 2006, Ondrej Danek (www.ondrej-danek.net) * 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, ...
32.08867
119
0.558336
3985f0535f179aaf2cb072470e1acdf442469f85
8,868
cc
C++
ftr/label.cc
louis-tru/Ngui
c1f25d8b6c42e873d5969fb588af22f428c58d4c
[ "BSD-3-Clause-Clear" ]
86
2017-11-21T01:05:30.000Z
2020-05-21T12:30:31.000Z
ftr/label.cc
louis-tru/Ngui
c1f25d8b6c42e873d5969fb588af22f428c58d4c
[ "BSD-3-Clause-Clear" ]
14
2020-10-16T11:30:57.000Z
2021-04-16T06:10:06.000Z
ftr/label.cc
louis-tru/Ngui
c1f25d8b6c42e873d5969fb588af22f428c58d4c
[ "BSD-3-Clause-Clear" ]
13
2017-11-21T10:18:53.000Z
2019-10-18T09:15:55.000Z
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2015, xuewen.chu * 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 sourc...
27.286154
92
0.671967
3987183d1e817ce5ac116084fdd44af061869c3d
4,342
cpp
C++
DTLiving/core/effect/video_two_pass_effect.cpp
danjiang/DTLiving
c0008b7b7f94a392a514b112c0b97564d7d8f12a
[ "MIT" ]
21
2020-04-04T13:41:45.000Z
2022-02-19T23:38:36.000Z
DTLiving/core/effect/video_two_pass_effect.cpp
danjiang/DTLiving
c0008b7b7f94a392a514b112c0b97564d7d8f12a
[ "MIT" ]
9
2020-02-02T10:42:05.000Z
2022-02-28T18:50:48.000Z
DTLiving/core/effect/video_two_pass_effect.cpp
danjiang/DTLiving
c0008b7b7f94a392a514b112c0b97564d7d8f12a
[ "MIT" ]
3
2020-10-19T08:28:38.000Z
2021-11-29T09:24:42.000Z
// // video_two_pass_effect.cpp // DTLiving // // Created by Dan Jiang on 2020/4/15. // Copyright © 2020 Dan Thought Studio. All rights reserved. // #include "video_two_pass_effect.h" #include "video_texture_cache.h" namespace dtliving { namespace effect { VideoTwoPassEffect::VideoTwoPassEffect(std::string name...
34.460317
156
0.647167
3987220c58035f6fabb2b13fb7b7bb47751ddbf7
3,962
cpp
C++
src/ffmpeg_io/avio_reading.cpp
zzu-andrew/ffmpeg_doc
dd9c3333b2aa00cf57e55fe2bd0d29503f16ab55
[ "Apache-2.0" ]
null
null
null
src/ffmpeg_io/avio_reading.cpp
zzu-andrew/ffmpeg_doc
dd9c3333b2aa00cf57e55fe2bd0d29503f16ab55
[ "Apache-2.0" ]
null
null
null
src/ffmpeg_io/avio_reading.cpp
zzu-andrew/ffmpeg_doc
dd9c3333b2aa00cf57e55fe2bd0d29503f16ab55
[ "Apache-2.0" ]
null
null
null
// // Created by andrew on 2020/12/13. // #include <iostream> extern "C" { #include <libavformat/avformat.h> #include <libavutil/log.h> #include <libavcodec/avcodec.h> #include <libavformat/avio.h> #include <libavutil/file.h> #include <cstdio> } using namespace std; // 为mmap buffer定义一个结构体指针用户管理数据 struct buffer_data...
31.444444
199
0.636295
39873ae8de1ba67e9cd7c929aa0bbd5fd8502ba5
13,585
hpp
C++
include/poplar/compact_bonsai_trie.hpp
MatsuTaku/dynpdt_Correction
10605c1dc8ae6196741bee0e991935e8877b930a
[ "MIT" ]
47
2018-02-24T09:56:24.000Z
2022-02-13T12:10:00.000Z
include/poplar/compact_bonsai_trie.hpp
MatsuTaku/dynpdt_Correction
10605c1dc8ae6196741bee0e991935e8877b930a
[ "MIT" ]
4
2018-03-08T03:28:05.000Z
2021-09-29T06:38:25.000Z
include/poplar/compact_bonsai_trie.hpp
MatsuTaku/dynpdt_Correction
10605c1dc8ae6196741bee0e991935e8877b930a
[ "MIT" ]
5
2018-03-07T06:34:43.000Z
2022-02-12T19:54:18.000Z
/** * MIT License * * Copyright (c) 2018–2019 Shunsuke Kanda * * 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, c...
31.666667
113
0.583585
39892cdc51302fced93a48a78ea60f237a0e6159
926
cpp
C++
C++/1663.SmallestStringWithAGivenNumericValue.cpp
SSKale1/LeetCode-Solutions
dd6ff16f6af1e96acd036b6e9c2a5cc11f0e330b
[ "MIT" ]
null
null
null
C++/1663.SmallestStringWithAGivenNumericValue.cpp
SSKale1/LeetCode-Solutions
dd6ff16f6af1e96acd036b6e9c2a5cc11f0e330b
[ "MIT" ]
null
null
null
C++/1663.SmallestStringWithAGivenNumericValue.cpp
SSKale1/LeetCode-Solutions
dd6ff16f6af1e96acd036b6e9c2a5cc11f0e330b
[ "MIT" ]
null
null
null
class Solution { public: string getSmallestString(int n, int k) { //initialising a string of length n and filling it with 'a' string result(n, 'a'); //numeric value of 'a' = 1, the numeric value of the resulting string will become k-n as we have //filled all with 'a', so k = k - (1...
29.870968
130
0.587473
399484533e6c99bd21e5f923282e780ad8129dac
4,076
hpp
C++
code/dtslam/ReprojectionError3DImpl.hpp
luoyongheng/dtslam
d3c2230d45db14c811eff6fd43e119ac39af1352
[ "BSD-3-Clause" ]
144
2015-01-15T03:38:44.000Z
2022-02-17T09:07:52.000Z
code/dtslam/ReprojectionError3DImpl.hpp
luoyongheng/dtslam
d3c2230d45db14c811eff6fd43e119ac39af1352
[ "BSD-3-Clause" ]
9
2015-09-09T06:51:46.000Z
2020-06-17T14:10:10.000Z
code/dtslam/ReprojectionError3DImpl.hpp
luoyongheng/dtslam
d3c2230d45db14c811eff6fd43e119ac39af1352
[ "BSD-3-Clause" ]
58
2015-01-14T23:43:49.000Z
2021-11-15T05:19:08.000Z
/* * ReprojectionError3DImpl.hpp * * Copyright(C) 2014, University of Oulu, all rights reserved. * Copyright(C) 2014, NVIDIA Corporation, all rights reserved. * Third party copyrights are property of their respective owners. * Contact: Daniel Herrera C. (dherrera@ee.oulu.fi), * Kihwan Kim(kihwank@nvidia...
25.31677
146
0.717125
399546e00444a45becd8ba3afbcbee2cdfc78038
1,935
cpp
C++
Engine/Plugins/GameWorks/Blast/Source/BlastEditor/Private/BlastActorFactory.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Plugins/GameWorks/Blast/Source/BlastEditor/Private/BlastActorFactory.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Plugins/GameWorks/Blast/Source/BlastEditor/Private/BlastActorFactory.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
#include "BlastActorFactory.h" #include "BlastMesh.h" #include "BlastMeshActor.h" #include "BlastMeshComponent.h" #define LOCTEXT_NAMESPACE "Blast" /*----------------------------------------------------------------------------- UActorFactoryBlastMesh -------------------------------------------------------------------...
30.234375
100
0.715245
399670d626858db8cc6a3719e993b1bbe73c3d4d
10,258
cpp
C++
src/common/BitBuffer.cpp
AllMethodGrind/bmxlib
9480bdec14c082f9b121b7a6102461b05bdea547
[ "BSD-3-Clause" ]
4
2015-02-24T23:55:07.000Z
2021-04-13T20:48:45.000Z
src/common/BitBuffer.cpp
AllMethodGrind/bmxlib
9480bdec14c082f9b121b7a6102461b05bdea547
[ "BSD-3-Clause" ]
null
null
null
src/common/BitBuffer.cpp
AllMethodGrind/bmxlib
9480bdec14c082f9b121b7a6102461b05bdea547
[ "BSD-3-Clause" ]
3
2019-03-20T18:34:45.000Z
2020-10-04T20:37:52.000Z
/* * Copyright (C) 2013, British Broadcasting Corporation * All Rights Reserved. * * Author: Philip de Nier * * 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 t...
25.26601
111
0.649834
39983831b290107356747722b8b8a138dd6d427d
799
hpp
C++
bs_bos_core/src/explicit_model.hpp
bs-eagle/bs-eagle
b1017a4f6ac2dcafba2deafec84052ddde792671
[ "BSD-3-Clause" ]
7
2015-07-16T22:30:36.000Z
2020-02-06T10:16:42.000Z
bs_bos_core/src/explicit_model.hpp
bs-eagle/bs-eagle
b1017a4f6ac2dcafba2deafec84052ddde792671
[ "BSD-3-Clause" ]
null
null
null
bs_bos_core/src/explicit_model.hpp
bs-eagle/bs-eagle
b1017a4f6ac2dcafba2deafec84052ddde792671
[ "BSD-3-Clause" ]
3
2017-01-05T20:06:28.000Z
2021-12-20T16:19:10.000Z
#ifndef EXPLICIT_MODEL_HPP_b3428474_754b_11e0_a55e_8fd394202658 #define EXPLICIT_MODEL_HPP_b3428474_754b_11e0_a55e_8fd394202658 /** * \file explicit_model.hpp * \brief EXPLICIT Initialization model * \author Sergey Miryanov (sergey-miryanov), sergey.miryanov@gmail.com * \date 03.05.2011 * ...
24.212121
84
0.71965
399a60eb69b17fbcb51cc18fee6538f34f8feef9
28,716
cpp
C++
mtp/ffs/mtp_MtpDatabase.cpp
imranpopz/android_bootable_recovery-1
ec4512ad1e20f640b3dcd6faf8c04cae711e4f30
[ "Apache-2.0" ]
95
2018-10-31T12:12:01.000Z
2022-03-20T21:30:48.000Z
mtp/ffs/mtp_MtpDatabase.cpp
imranpopz/android_bootable_recovery-1
ec4512ad1e20f640b3dcd6faf8c04cae711e4f30
[ "Apache-2.0" ]
34
2018-10-22T11:01:15.000Z
2021-11-21T14:10:26.000Z
mtp/ffs/mtp_MtpDatabase.cpp
imranpopz/android_bootable_recovery-1
ec4512ad1e20f640b3dcd6faf8c04cae711e4f30
[ "Apache-2.0" ]
81
2018-10-23T08:37:20.000Z
2022-03-20T00:27:08.000Z
/* * Copyright (C) 2010 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 applic...
33.743831
98
0.746309
399b5fe9995c29421efdc58b92713c79652f4502
292
cc
C++
storage/sharding/sharding.cc
hjinlin/toft
ebf3ebb3d37e9a59e27b197cefe8fdc3e8810441
[ "BSD-3-Clause" ]
264
2015-01-03T11:50:17.000Z
2022-03-17T02:38:34.000Z
storage/sharding/sharding.cc
hjinlin/toft
ebf3ebb3d37e9a59e27b197cefe8fdc3e8810441
[ "BSD-3-Clause" ]
12
2015-04-27T15:17:34.000Z
2021-05-01T04:31:18.000Z
storage/sharding/sharding.cc
hjinlin/toft
ebf3ebb3d37e9a59e27b197cefe8fdc3e8810441
[ "BSD-3-Clause" ]
128
2015-02-07T18:13:10.000Z
2022-02-21T14:24:14.000Z
// Copyright (c) 2013, The Toft Authors. // All rights reserved. // // Author: Ye Shunping <yeshunping@gmail.com> #include "toft/storage/sharding/sharding.h" namespace toft { ShardingPolicy::ShardingPolicy() : shard_num_(1) { } ShardingPolicy::~ShardingPolicy() { } } // namespace util
17.176471
50
0.708904
399b7ec3c214faa112b544b4bb526a1dde110857
387
cpp
C++
recursion/6.cpp
ChiragLohani/Dsa-placement
be68273528283c41f7598169425b1e731d0eacb9
[ "Apache-2.0" ]
null
null
null
recursion/6.cpp
ChiragLohani/Dsa-placement
be68273528283c41f7598169425b1e731d0eacb9
[ "Apache-2.0" ]
null
null
null
recursion/6.cpp
ChiragLohani/Dsa-placement
be68273528283c41f7598169425b1e731d0eacb9
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; double sum_recursive(int n) { if (n <= 0) { return 0.0; } else { cout << "1/" << n << (n!=1 ? " + " : " = "); // just for debugging return (1.0 / double(n)) + sum_recursive(n-1); } } int main() { int x; cin>>x; cout...
18.428571
75
0.459948
399f3ab199b29023dc728aec59c3b2639f73c2b5
392
cpp
C++
demo/main.cpp
IonkinaM/lab2
aa06f0430b589b8720bdf883925b4538de395045
[ "MIT" ]
null
null
null
demo/main.cpp
IonkinaM/lab2
aa06f0430b589b8720bdf883925b4538de395045
[ "MIT" ]
null
null
null
demo/main.cpp
IonkinaM/lab2
aa06f0430b589b8720bdf883925b4538de395045
[ "MIT" ]
null
null
null
#include <header.hpp> int main() { const int L1 = 128; const int L2 = 12288; int *values = new int(9); int k = 16; filling_arr(values, count(L1, L2), k); values[8] = pow(2, 20)*3; print(values, count(L1, L2), std::cout); delete(values); // apple silicon 2 уровня кэша, первый = 128кб, второй = 8мб ...
23.058824
70
0.589286
39a30b122ce0e19281d620512e0297bd264d747e
161
cpp
C++
LuoguCodes/AT3918.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/AT3918.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/AT3918.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
//【AT3918】Infinite Coins - 洛谷 - Wa #include <iostream> int main() { int n, m; std::cin >> n >> m; std::cout << (n % 500 <= m ? "Yes" : "No") << std::endl; }
20.125
57
0.509317
39a32f5be200a05c51505a5fcb4cc8b85c8aa370
7,389
cpp
C++
src/irt/translator/expr.cpp
martinogden/mer
33b4b39b1604ce0708b0d3d1c809b95683a2f4cb
[ "Unlicense" ]
2
2019-11-17T22:54:16.000Z
2020-08-07T20:53:25.000Z
src/irt/translator/expr.cpp
martinogden/mer
33b4b39b1604ce0708b0d3d1c809b95683a2f4cb
[ "Unlicense" ]
null
null
null
src/irt/translator/expr.cpp
martinogden/mer
33b4b39b1604ce0708b0d3d1c809b95683a2f4cb
[ "Unlicense" ]
null
null
null
#include "type/comparison.hpp" #include "irt/size-analyser.hpp" #include "irt/translator/utils.hpp" #include "irt/translator/expr.hpp" #include "irt/translator/bool-expr.hpp" #include "irt/translator/lvalue.hpp" ExprTranslator::ExprTranslator(Generator& gen, Map<IRTStruct>& structs) : gen(gen), structs(structs), r...
25.926316
107
0.68223
39aca69969eed09551e2ce784791eeac654e9393
135
cpp
C++
unix/reverse.cpp
kybr/MAT240B-2019
d3a875f90e12df195a172b4f4f485153d4251086
[ "MIT" ]
null
null
null
unix/reverse.cpp
kybr/MAT240B-2019
d3a875f90e12df195a172b4f4f485153d4251086
[ "MIT" ]
null
null
null
unix/reverse.cpp
kybr/MAT240B-2019
d3a875f90e12df195a172b4f4f485153d4251086
[ "MIT" ]
null
null
null
#include "everything.h" using namespace diy; int main(int argc, char* argv[]) { // // reverse the stream of numbers coming in.. }
16.875
46
0.666667
39b2fc3009e1ef4d429390a9b45e43976ae93d52
1,002
cpp
C++
private/LoadedSQLData.cpp
Izowiuz/iz-sql-utilities
307a5c791f4e83b13e9a54dfec60fcd4c24b2ca3
[ "MIT" ]
1
2019-07-11T07:05:03.000Z
2019-07-11T07:05:03.000Z
private/LoadedSQLData.cpp
Izowiuz/iz-sql-utilities
307a5c791f4e83b13e9a54dfec60fcd4c24b2ca3
[ "MIT" ]
null
null
null
private/LoadedSQLData.cpp
Izowiuz/iz-sql-utilities
307a5c791f4e83b13e9a54dfec60fcd4c24b2ca3
[ "MIT" ]
null
null
null
#include "LoadedSQLData.h" QMap<int, QString> IzSQLUtilities::LoadedSQLData::indexColumnMap() const { return m_indexColumnMap; } void IzSQLUtilities::LoadedSQLData::setIndexColumnMap(const QMap<int, QString>& indexColumnMap) { m_indexColumnMap = indexColumnMap; } void IzSQLUtilities::LoadedSQLData::addRow(s...
23.857143
96
0.769461
39b490bf22346d620848c16c8a008b0d0fb681d5
409
cpp
C++
PAT/PAT Basic/1010.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
1
2019-09-18T23:45:27.000Z
2019-09-18T23:45:27.000Z
PAT/PAT Basic/1010.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
null
null
null
PAT/PAT Basic/1010.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
1
2019-09-18T23:45:28.000Z
2019-09-18T23:45:28.000Z
#include <iostream> using namespace std; //PAT Advanced No.1010 “一元多项式求导” int main() { int c, i; bool flag = false; //利用输入动作触发输入循环 while (cin >> c >> i) { if (c != 0 && i != 0) { if (flag) cout << ' '; else flag = true; cout << c * i << ' ' << i - 1; } //注意题设中的指数递降,也就是如果第一次就输入指数为0即触发零多项式判断 ...
15.730769
39
0.511002
39b5f2f5cbf139a32e7665d06b9ee3684286d10a
1,683
cc
C++
components/component_updater/configurator_impl_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/component_updater/configurator_impl_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/component_updater/configurator_impl_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 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 <memory> #include "base/command_line.h" #include "base/macros.h" #include "components/component_updater/configurator_impl.h" #include "testi...
32.365385
77
0.762923
39b6c205b7d40c3ebf4c554e262517b6b9a75b52
2,353
hpp
C++
Lib/Chip/Unknown/Toshiba/M061/PG.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
376
2015-07-17T01:41:20.000Z
2022-03-26T04:02:49.000Z
Lib/Chip/Unknown/Toshiba/M061/PG.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
59
2015-07-03T21:30:13.000Z
2021-03-05T11:30:08.000Z
Lib/Chip/Unknown/Toshiba/M061/PG.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
53
2015-07-14T12:17:06.000Z
2021-06-04T07:28:40.000Z
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //General Purpose Input_Output Port (PG) namespace PgData{ ///<PG Data Register using Addr = Register::Address<0x400c0600,0xfffffffe,0x00000000,unsigned>; ///PG0 constexpr Register::FieldLocation<Addr,Register::maskFromRange...
51.152174
121
0.695708
39b77990f6b48c3cd3807cdf1c80cb9066de238f
317
cpp
C++
sonar_control/src/SonarControl.cpp
g4idrijs/underwater_map_construction
04c4ebbc094449994f53e280b85db604b468019b
[ "MIT" ]
null
null
null
sonar_control/src/SonarControl.cpp
g4idrijs/underwater_map_construction
04c4ebbc094449994f53e280b85db604b468019b
[ "MIT" ]
null
null
null
sonar_control/src/SonarControl.cpp
g4idrijs/underwater_map_construction
04c4ebbc094449994f53e280b85db604b468019b
[ "MIT" ]
1
2020-06-28T09:45:26.000Z
2020-06-28T09:45:26.000Z
#include "SonarControl.h" SonarControl::SonarControl(ros::NodeHandle* n){ ros::NodeHandle nh("~"); nh.param("cloudSubscribeTopic_", cloudSubscribeTopic_, string("/Sonar/Scan/SonarCloud")); nh.param("cloudPublishTopic_", cloudPublishTopic_, string("/SonarControl/Cloud")); } int main (int argc, char** argv){ }
24.384615
90
0.735016
39b8ae6a3265c4a39077cb71a6ff1392672ebffd
3,780
cpp
C++
DEM/Low/src/UI/CEGUI/DEMRenderTarget.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
15
2019-05-07T11:26:13.000Z
2022-01-12T18:26:45.000Z
DEM/Low/src/UI/CEGUI/DEMRenderTarget.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
16
2021-10-04T17:15:31.000Z
2022-03-20T09:34:29.000Z
DEM/Low/src/UI/CEGUI/DEMRenderTarget.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
2
2019-04-28T23:27:48.000Z
2019-05-07T11:26:18.000Z
#if defined(_MSC_VER) # pragma warning(push) # pragma warning(disable : 4530) // C++ exception handler used, but unwind semantics not enabled #endif #include "DEMRenderTarget.h" #include <Render/GPUDriver.h> #include <UI/CEGUI/DEMGeometryBuffer.h> #include <glm/gtc/matrix_transform.hpp> namespace CEGUI { CDEMRen...
33.75
112
0.682804
39bd410749a02210b06bcdb9f71d74595f086d29
4,367
cpp
C++
read_rope_shared_library/test/test.cpp
adct-the-experimenter/read-rope
0f8603cf8d6c197266bcaa447cd3ed92714a5b9d
[ "BSD-3-Clause" ]
2
2019-12-27T19:41:27.000Z
2019-12-27T19:41:38.000Z
read_rope_shared_library/test/test.cpp
adct-the-experimenter/read-rope
0f8603cf8d6c197266bcaa447cd3ed92714a5b9d
[ "BSD-3-Clause" ]
null
null
null
read_rope_shared_library/test/test.cpp
adct-the-experimenter/read-rope
0f8603cf8d6c197266bcaa447cd3ed92714a5b9d
[ "BSD-3-Clause" ]
null
null
null
#include "readrope.h" int main(int argc, char** argv) { /* ************************************************************ Initialize read rope system ************************************************************* */ //initialize read rope system ReadRope::InitReadRopeSystem(); /* ****************...
29.113333
127
0.531257
39bdbcd3e405ba6af33138c133145baba97163b9
6,940
hpp
C++
ThirdParty-mod/java2cpp/android/text/InputFilter.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/android/text/InputFilter.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/android/text/InputFilter.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: android.text.InputFilter ================================================================================*/ #ifndef J2CPP_INCLUDE_IMPLEME...
30.982143
220
0.708646
39be02b7823513716ee378ab7a6d34dde73493c8
1,372
cpp
C++
UTEngine/Native/NStatLogFile.cpp
neuromancer/UTEngine
630398eabbaa173c933234e4c44ff2d62f0347e8
[ "Apache-2.0", "CC0-1.0" ]
50
2020-12-02T17:41:17.000Z
2022-03-18T05:08:21.000Z
UTEngine/Native/NStatLogFile.cpp
neuromancer/UTEngine
630398eabbaa173c933234e4c44ff2d62f0347e8
[ "Apache-2.0", "CC0-1.0" ]
11
2021-07-14T13:41:12.000Z
2021-09-30T10:32:58.000Z
UTEngine/Native/NStatLogFile.cpp
neuromancer/UTEngine
630398eabbaa173c933234e4c44ff2d62f0347e8
[ "Apache-2.0", "CC0-1.0" ]
4
2021-07-20T20:22:36.000Z
2022-01-06T15:30:26.000Z
#include "Precomp.h" #include "NStatLogFile.h" #include "VM/NativeFunc.h" #include "Engine.h" void NStatLogFile::RegisterFunctions() { RegisterVMNativeFunc_0("StatLogFile", "CloseLog", &NStatLogFile::CloseLog, 0); RegisterVMNativeFunc_0("StatLogFile", "FileFlush", &NStatLogFile::FileFlush, 0); RegisterVMNativeFunc...
29.191489
85
0.764577
39c1a65d8eba90676be411f5ba1f697d3302be0b
14,090
cpp
C++
csrc/DAF.cpp
cloudwin/rabbithole
4cff5e5d7579142f541c12e6308bd65aba4389f5
[ "MIT" ]
null
null
null
csrc/DAF.cpp
cloudwin/rabbithole
4cff5e5d7579142f541c12e6308bd65aba4389f5
[ "MIT" ]
null
null
null
csrc/DAF.cpp
cloudwin/rabbithole
4cff5e5d7579142f541c12e6308bd65aba4389f5
[ "MIT" ]
null
null
null
/******************************************************************** * DAF.cpp: define DAF * * 2018 Hui * ********************************************************************/ #include "DAF.h" #include "time.h" //...
25.571688
118
0.485238
39c2a18b03880bec4bc9ebb178344add4c9e5a57
2,269
cpp
C++
test/input_cases/tcs_trough_physical_input.cpp
mfwatki2/ssc
289a6df2e0563bbad588da947e2a9fcc3f9dda55
[ "MIT" ]
null
null
null
test/input_cases/tcs_trough_physical_input.cpp
mfwatki2/ssc
289a6df2e0563bbad588da947e2a9fcc3f9dda55
[ "MIT" ]
null
null
null
test/input_cases/tcs_trough_physical_input.cpp
mfwatki2/ssc
289a6df2e0563bbad588da947e2a9fcc3f9dda55
[ "MIT" ]
null
null
null
#include <string.h> #include "sscapi.h" #include "vartab.h" #include "core.h" #include "tcs_trough_physical_input.h" using namespace std; /** * Custom Testing Handler that does nothing */ void var(var_table* vt, string name, string value){ var_data* vd = new var_data(value); vt->assign(name, *vd); } void var(v...
26.08046
68
0.668576
39c39a66067ff8660dbe12126e281a7095d38236
63
hpp
C++
src/boost_mpl_aux__preprocessed_dmc_advance_forward.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_aux__preprocessed_dmc_advance_forward.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_aux__preprocessed_dmc_advance_forward.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/aux_/preprocessed/dmc/advance_forward.hpp>
31.5
62
0.825397
39c4d50c3a1d672bdb831a11cd5943a75d11d61d
884
cpp
C++
functions.cpp
swsvindland/MullersMethod
75a4c5cc47e2f4491626ba5499c36df623663f83
[ "MIT" ]
null
null
null
functions.cpp
swsvindland/MullersMethod
75a4c5cc47e2f4491626ba5499c36df623663f83
[ "MIT" ]
null
null
null
functions.cpp
swsvindland/MullersMethod
75a4c5cc47e2f4491626ba5499c36df623663f83
[ "MIT" ]
null
null
null
#include <iostream> #include "functions.h" /** * * https://en.wikipedia.org/wiki/Divided_differences */ double dividedDifference(double (*f)(double), double *x, int n) { double sum = 0.0; for(int j = 0; j < n; ++j) { double product = 1.0; for(int k = 0; k < n; ++k) { if(k != j) ...
18.416667
84
0.4819
39c5efe15eace3756e6fe49cc4a8d3ae0e994e1f
1,348
cpp
C++
LeetCode/C++/147. Insertion Sort List.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
3
2020-12-30T00:29:59.000Z
2021-01-24T22:43:04.000Z
LeetCode/C++/147. Insertion Sort List.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/147. Insertion Sort List.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
//Runtime: 132 ms, faster than 5.57% of C++ online submissions for Insertion Sort List. //Memory Usage: 8.6 MB, less than 100.00% of C++ online submissions for Insertion Sort List. /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next...
25.923077
92
0.511869
39c899021bc217a26f65a5a907d6aba381dcfb57
75
cpp
C++
dev/premake/premake/samples/project/CppConsoleApp/CppConsoleApp.cpp
gdewald/Spacefrog
eae9bd5c91670f7d13442740b5d801286ba41e5e
[ "BSD-2-Clause" ]
94
2015-04-02T05:41:21.000Z
2021-11-14T18:30:12.000Z
dev/premake/premake/samples/project/CppConsoleApp/CppConsoleApp.cpp
gdewald/Spacefrog
eae9bd5c91670f7d13442740b5d801286ba41e5e
[ "BSD-2-Clause" ]
18
2015-06-16T16:57:14.000Z
2021-04-06T18:35:40.000Z
dev/premake/premake/samples/project/CppConsoleApp/CppConsoleApp.cpp
gdewald/Spacefrog
eae9bd5c91670f7d13442740b5d801286ba41e5e
[ "BSD-2-Clause" ]
33
2015-04-07T05:43:54.000Z
2021-08-21T22:13:03.000Z
#include "stdafx.h" int main() { printf("CppConsoleApp\n"); return 0; }
9.375
27
0.64
39ceba325ee4ff5066f63d189511d29caafabce4
351
cpp
C++
Userland/Libraries/LibWeb/DOM/DOMEventListener.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
2
2022-02-16T02:12:38.000Z
2022-02-20T18:40:41.000Z
Userland/Libraries/LibWeb/DOM/DOMEventListener.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
null
null
null
Userland/Libraries/LibWeb/DOM/DOMEventListener.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2022, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibWeb/DOM/AbortSignal.h> #include <LibWeb/DOM/DOMEventListener.h> #include <LibWeb/DOM/IDLEventListener.h> namespace Web::DOM { DOMEventListener::DOMEventListener() = default; DOMEventListener::~D...
23.4
59
0.746439
39cf381804f87c2540f96d09de47f01591f1f485
3,195
hpp
C++
include/metrics/m_psnr.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
include/metrics/m_psnr.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
include/metrics/m_psnr.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
/* PICCANTE The hottest HDR imaging library! http://vcg.isti.cnr.it/piccante Copyright (C) 2014 Visual Computing Laboratory - ISTI CNR http://vcg.isti.cnr.it First author: Francesco Banterle This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed ...
24.767442
109
0.57903
39cf9236712bfa5b82bcf8db2a7f5e9f71783921
2,155
cc
C++
AbsEnv/AbsDetEnv.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
AbsEnv/AbsDetEnv.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
AbsEnv/AbsDetEnv.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------- // File and Version Information: // $Id: AbsDetEnv.cc 483 2010-01-13 14:03:08Z stroili $ // // Description: // Class AbsDetEnv // // Abstract class for detector envirnoments. Individual // detectors' environment classes will inheri...
22.925532
76
0.488631
39d2feb01906c3ba9ce50d4527fd3a718f70cf2f
2,256
cpp
C++
src/OpenGL/entrypoints/GL3.0/gl_uniform_2ui.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
114
2018-08-05T16:26:53.000Z
2021-12-30T07:28:35.000Z
src/OpenGL/entrypoints/GL3.0/gl_uniform_2ui.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
5
2018-08-18T21:16:58.000Z
2018-11-22T21:50:48.000Z
src/OpenGL/entrypoints/GL3.0/gl_uniform_2ui.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
6
2018-08-05T22:32:28.000Z
2021-10-04T15:39:53.000Z
/* VKGL (c) 2018 Dominik Witczak * * This code is licensed under MIT license (see LICENSE.txt for details) */ #include "OpenGL/entrypoints/GL3.0/gl_uniform_2ui.h" #include "OpenGL/context.h" #include "OpenGL/globals.h" static bool validate(OpenGL::Context* in_context_ptr, const GLint& in_lo...
30.90411
76
0.449025
39d72a4f6b8217868560200043da064b13b4df0c
430
cpp
C++
day19/main.cpp
wuggy-ianw/AoC2017
138c66bdd407e76f6ad71c9d68df50e0afa2251a
[ "Unlicense" ]
null
null
null
day19/main.cpp
wuggy-ianw/AoC2017
138c66bdd407e76f6ad71c9d68df50e0afa2251a
[ "Unlicense" ]
null
null
null
day19/main.cpp
wuggy-ianw/AoC2017
138c66bdd407e76f6ad71c9d68df50e0afa2251a
[ "Unlicense" ]
null
null
null
#include "day19.h" #include "../utils/aocutils.h" #include <iostream> #include <fstream> int main(void) { std::ifstream ifs("input.txt"); std::vector<std::string> path = AOCUtils::parseByLines<std::string>(ifs, [](const std::string& s) -> std::string {return s;}); std::pair<std::string, int> result = Day19::so...
25.294118
128
0.646512
39d7cbb0fba3bbfe79ad50d547f17fe04df866c2
286
cpp
C++
22.09.2021-Homework/Task8/Task8.cpp
Enigma1123/programming-c-2021-autumn-1course
b7c5400298bd9a3e346940e14c4025c954db90aa
[ "Apache-2.0" ]
null
null
null
22.09.2021-Homework/Task8/Task8.cpp
Enigma1123/programming-c-2021-autumn-1course
b7c5400298bd9a3e346940e14c4025c954db90aa
[ "Apache-2.0" ]
null
null
null
22.09.2021-Homework/Task8/Task8.cpp
Enigma1123/programming-c-2021-autumn-1course
b7c5400298bd9a3e346940e14c4025c954db90aa
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { int h1 = 0; int m1 = 0; int s1 = 0; int h2 = 0; int m2 = 0; int s2 = 0; int a = 0; cin >> h1 >> m1 >> s1 >> h2 >> m2 >> s2; a = abs((h1 * 3600 + m1 * 60 + s1) - (h2 * 3600 + m2 * 60 + s2)); cout << a; }
16.823529
67
0.447552
39d7ccd9b2ba51737016e43eb3e9b9671da3994c
29,668
cpp
C++
src/treecore/File.cpp
jiandingzhe/treecore
0a2a23dce68dbb55174569ec9cff64faeaac4a31
[ "MIT" ]
2
2017-10-14T23:13:37.000Z
2019-11-18T16:23:49.000Z
src/treecore/File.cpp
jiandingzhe/treecore
0a2a23dce68dbb55174569ec9cff64faeaac4a31
[ "MIT" ]
null
null
null
src/treecore/File.cpp
jiandingzhe/treecore
0a2a23dce68dbb55174569ec9cff64faeaac4a31
[ "MIT" ]
null
null
null
/* ============================================================================== This file is part of the juce_core module of the JUCE library. Copyright (c) 2013 - Raw Material Software Ltd. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is...
32.424044
133
0.555413
39d7e4e4a6f500f70e2a326e71d80d0c802871ea
751
cpp
C++
src/StringUtils.cpp
madmaxoft/LunaPaak
795fbc57bb592f2b33835b19f5fd75ceef23d95d
[ "Unlicense" ]
null
null
null
src/StringUtils.cpp
madmaxoft/LunaPaak
795fbc57bb592f2b33835b19f5fd75ceef23d95d
[ "Unlicense" ]
null
null
null
src/StringUtils.cpp
madmaxoft/LunaPaak
795fbc57bb592f2b33835b19f5fd75ceef23d95d
[ "Unlicense" ]
1
2022-03-10T05:46:36.000Z
2022-03-10T05:46:36.000Z
#include "StringUtils.h" #include <Windows.h> std::string toUtf8(const std::wstring & aSrcWide) { auto srcLength = static_cast<int>(aSrcWide.length()) + 1; auto len = WideCharToMultiByte(CP_UTF8, 0, aSrcWide.c_str(), srcLength, nullptr, 0, 0, nullptr); std::string res(len, '\0'); WideCharToMultiB...
25.896552
101
0.667111
39db3e42db98fa485f60ffb204a13dbd0786931b
258
cpp
C++
c++/Project/project6-3/main.cpp
roostaa/cpp_archive
41e58a8c1e9cb7b4400fa4f5e5aa05df923fd872
[ "MIT" ]
null
null
null
c++/Project/project6-3/main.cpp
roostaa/cpp_archive
41e58a8c1e9cb7b4400fa4f5e5aa05df923fd872
[ "MIT" ]
null
null
null
c++/Project/project6-3/main.cpp
roostaa/cpp_archive
41e58a8c1e9cb7b4400fa4f5e5aa05df923fd872
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int x; for (x = 1; x <=20; x++) { if (x == 3 || x == 11 || x == 16) { continue; } cout << x << endl; } return 0; }
12.285714
42
0.333333
39dff968cb27b359b4c831bedb91c94bbe28945b
4,241
hpp
C++
Crowdflower Search Results Relevance/rgf1.2/src/tet/AzTET_Eval_Dflt.hpp
Tuanlase02874/Machine-Learning-Kaggle
c31651acd8f2407d8b60774e843a2527ce19b013
[ "MIT" ]
1
2018-07-11T16:20:43.000Z
2018-07-11T16:20:43.000Z
Crowdflower Search Results Relevance/rgf1.2/src/tet/AzTET_Eval_Dflt.hpp
Tuanlase02874/Machine-Learning-Kaggle
c31651acd8f2407d8b60774e843a2527ce19b013
[ "MIT" ]
null
null
null
Crowdflower Search Results Relevance/rgf1.2/src/tet/AzTET_Eval_Dflt.hpp
Tuanlase02874/Machine-Learning-Kaggle
c31651acd8f2407d8b60774e843a2527ce19b013
[ "MIT" ]
null
null
null
/* * * * * * AzTET_Eval_Dflt.hpp * Copyright (C) 2011, 2012 Rie Johnson * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
26.50625
77
0.603867
39e055bceb1e414cb1b1f47a2fef97e2844cf7f0
8,559
cpp
C++
export/release/windows/obj/src/openfl/ui/Keyboard.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
export/release/windows/obj/src/openfl/ui/Keyboard.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
export/release/windows/obj/src/openfl/ui/Keyboard.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
// Generated by Haxe 4.1.5 #include <hxcpp.h> #ifndef INCLUDED_openfl_ui_Keyboard #include <openfl/ui/Keyboard.h> #endif HX_LOCAL_STACK_FRAME(_hx_pos_410ccb691917537a_815___getCharCode,"openfl.ui.Keyboard","__getCharCode",0x5c5ae14e,"openfl.ui.Keyboard.__getCharCode","openfl/ui/Keyboard.hx",815,0x5fb867bb) namespace ...
26.830721
186
0.468746
39e063360296154fe53e3414e2779cf32e99311c
939
cpp
C++
LeetCode/Problems/Algorithms/#203_RemoveLinkedListElements_sol2_O(N)_time_O(1)_extra_space.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#203_RemoveLinkedListElements_sol2_O(N)_time_O(1)_extra_space.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#203_RemoveLinkedListElements_sol2_O(N)_time_O(1)_extra_space.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * ListNode(int x) : val(x), next(nullptr) {} * ListNode(int x, ListNode *next) : val(x), next(next) {} * }; */ class Solution { public: ListNode*...
26.828571
63
0.467519
39e275300249bd12116dcbe24635ecc564ef59b2
644
cpp
C++
benchmark/sum_array.cilk.cpp
mikerainey/taskparts
27d4bdda15a5c370c25df6ce8be1233362107cc8
[ "MIT" ]
null
null
null
benchmark/sum_array.cilk.cpp
mikerainey/taskparts
27d4bdda15a5c370c25df6ce8be1233362107cc8
[ "MIT" ]
null
null
null
benchmark/sum_array.cilk.cpp
mikerainey/taskparts
27d4bdda15a5c370c25df6ce8be1233362107cc8
[ "MIT" ]
null
null
null
#include "cilk.hpp" double sum_array_cilk(double* __restrict__ a, uint64_t lo, uint64_t hi) { cilk::reducer_opadd<double> sum(0); cilk_for (uint64_t i = 0; i != hi; i++) { *sum += a[i]; } return sum.get_value(); } int main() { size_t nb_items = taskparts::cmdline::parse_or_default_long("n", 100 * 1000 *...
23
86
0.579193
39e2c8de74e7882f16e38daa31a1cf9845f5ea05
5,158
cpp
C++
test/util/testMath.cpp
KUDB/MSDB
19e89d1d9c09c57b242737f0634ac30b4c8ecfd7
[ "MIT" ]
2
2021-08-31T12:43:16.000Z
2021-12-13T13:49:19.000Z
test/util/testMath.cpp
KUDB/MSDB
19e89d1d9c09c57b242737f0634ac30b4c8ecfd7
[ "MIT" ]
3
2021-09-09T17:23:31.000Z
2021-09-09T19:14:50.000Z
test/util/testMath.cpp
KUDB/MSDB
19e89d1d9c09c57b242737f0634ac30b4c8ecfd7
[ "MIT" ]
null
null
null
#include <pch_test.h> #include <util/math.h> using namespace msdb::core; TEST(util_math, msb_char) { // 0111 1000 EXPECT_EQ(msb<char>(120, 1), 7); EXPECT_EQ(msb<char>(120, 2), 6); EXPECT_EQ(msb<char>(120, 3), 5); EXPECT_EQ(msb<char>(120, 4), 4); EXPECT_EQ(msb<char>(120, 5), 0); // 0101 0101 EXPECT_EQ(msb<cha...
29.988372
56
0.642691
39e31ff5d9cf5478fc0183ec4f1664a9ad4218e9
31,717
inl
C++
engine/xboxsystem.xsessioncallstack.inl
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
cstrike15_src/engine/xboxsystem.xsessioncallstack.inl
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
cstrike15_src/engine/xboxsystem.xsessioncallstack.inl
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
#define HELPER_OVERLAPPED_SESSION_CALL_C_0( ) #define HELPER_OVERLAPPED_SESSION_CALL_A_0( ) #define HELPER_OVERLAPPED_SESSION_CALL_P_0( ) #define HELPER_OVERLAPPED_SESSION_CALL_I_0( ) #define HELPER_OVERLAPPED_SESSION_CALL_M_0( ) #define DECLARE_OVERLAPPED_SESSION_CALL_0( XCallNameFN_T ) \ struct XCallNameFN...
90.361823
459
0.784437
39e32bb345f24ec8e744b243f14681b715305457
7,905
cpp
C++
Source/AllProjects/Tests/TestCIDLib/TestCIDLib_PerThreadData.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
1
2019-05-28T06:33:01.000Z
2019-05-28T06:33:01.000Z
Source/AllProjects/Tests/TestCIDLib/TestCIDLib_PerThreadData.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
Source/AllProjects/Tests/TestCIDLib/TestCIDLib_PerThreadData.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
// // FILE NAME: TestCIDLib_PerThreadData.cpp // // AUTHOR: Dean Roddey // // CREATED: 01/29/1998 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This file is part of a demonstration program of the CIDLib C++ // Frameworks. Its contents are distributed 'as is', to provide guidance on // the use of the CIDLi...
31.494024
95
0.588362
39e48bf081d40ec8db3df48831bb390e76566619
6,256
cpp
C++
UnitTest/AlgorismTest/vertex_delaunay_test.cpp
rocketman123456/RocketEngine
ede1670d70c4689a5dc8543ca5351e8f23fcb840
[ "Apache-2.0" ]
null
null
null
UnitTest/AlgorismTest/vertex_delaunay_test.cpp
rocketman123456/RocketEngine
ede1670d70c4689a5dc8543ca5351e8f23fcb840
[ "Apache-2.0" ]
null
null
null
UnitTest/AlgorismTest/vertex_delaunay_test.cpp
rocketman123456/RocketEngine
ede1670d70c4689a5dc8543ca5351e8f23fcb840
[ "Apache-2.0" ]
null
null
null
#include "Log/Log.h" #include "Window/DesktopWindow.h" #include "Render/SoftRasterizer.h" #include "Render/SoftTriangle.h" #include "Geometry/Vertex.h" #include "Geometry/Triangle.h" #include "Geometry/Sphere.h" #include "Geometry/Tetrahedra.h" #include "Geometry/MeshOperation/Delaunay3D.h" using namespace Rocket; #...
34
126
0.556426
39e8a1fa6ba2d3f047d0316b7bd2a087c6c90956
15,548
cpp
C++
example/UIToolkitTest/mainwindow.cpp
fast01/chaosframework
28194bcca5f976fd5cf61448ca84ce545e94d822
[ "Apache-2.0" ]
2
2020-04-16T13:20:57.000Z
2021-06-24T02:05:25.000Z
example/UIToolkitTest/mainwindow.cpp
fast01/chaosframework
28194bcca5f976fd5cf61448ca84ce545e94d822
[ "Apache-2.0" ]
null
null
null
example/UIToolkitTest/mainwindow.cpp
fast01/chaosframework
28194bcca5f976fd5cf61448ca84ce545e94d822
[ "Apache-2.0" ]
null
null
null
/* * MainWindow.cpp * !CHOAS * Created by Bisegni Claudio. * * Copyright 2012 INFN, National Institute of Nuclear Physics * * 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...
31.346774
112
0.665166
39ee791e1476915f2238a14bb8473981b6f899bc
7,082
cpp
C++
image_common/image_transport/src/image_transport.cpp
zhj-buffer/ROS2-driver-for-Realsense
936cf27be4e7dc3d699ff99499e72ea8638cc622
[ "Apache-2.0" ]
null
null
null
image_common/image_transport/src/image_transport.cpp
zhj-buffer/ROS2-driver-for-Realsense
936cf27be4e7dc3d699ff99499e72ea8638cc622
[ "Apache-2.0" ]
null
null
null
image_common/image_transport/src/image_transport.cpp
zhj-buffer/ROS2-driver-for-Realsense
936cf27be4e7dc3d699ff99499e72ea8638cc622
[ "Apache-2.0" ]
null
null
null
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2009, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
33.093458
129
0.741175
39ef41a0e19e73f03e71ce04e9ff3a329f3330b0
104,341
cpp
C++
core/jni/android_opengl_GLES11.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
164
2015-01-05T16:49:11.000Z
2022-03-29T20:40:27.000Z
core/jni/android_opengl_GLES11.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
127
2015-01-12T12:02:32.000Z
2021-11-28T08:46:25.000Z
core/jni/android_opengl_GLES11.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
1,141
2015-01-01T22:54:40.000Z
2022-02-09T22:08:26.000Z
/* ** ** Copyright 2009, 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 appl...
31.685697
129
0.644617
39f29b35292f353d7248f2c14e87aa69ce48235a
2,824
cpp
C++
salmap_rv/src/salmap_rv_interface.cpp
flyingfalling/salmap_rv
61827a42f456afcd9c930646de33bc3f9533e3e2
[ "MIT" ]
1
2022-02-17T03:05:40.000Z
2022-02-17T03:05:40.000Z
salmap_rv/src/salmap_rv_interface.cpp
flyingfalling/salmap_rv
61827a42f456afcd9c930646de33bc3f9533e3e2
[ "MIT" ]
null
null
null
salmap_rv/src/salmap_rv_interface.cpp
flyingfalling/salmap_rv
61827a42f456afcd9c930646de33bc3f9533e3e2
[ "MIT" ]
null
null
null
#include <salmap_rv/include/salmap_rv_interface.hpp> #include <salmap_rv/include/salmap.hpp> #include <salmap_rv/include/itti_salmap.hpp> #include <salmap_rv/include/param_set.hpp> #include <salmap_rv/include/util_functs.hpp> using namespace salmap_rv; int salmap_vers( ) { return salmap_rv::SalMap::VERSION; } vo...
25.214286
199
0.661827