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
109
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
48.5k
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
9108955b49f7f48dea454530454dc867462dd24c
2,495
cpp
C++
libvast/src/system/signal_monitor.cpp
vast-io/vast
6c9c787adc54079202dba85ea4a929004063f1ba
[ "BSD-3-Clause" ]
63
2016-04-22T01:50:03.000Z
2019-07-31T15:50:36.000Z
libvast/src/system/signal_monitor.cpp
vast-io/vast
6c9c787adc54079202dba85ea4a929004063f1ba
[ "BSD-3-Clause" ]
216
2017-01-24T16:25:43.000Z
2019-08-01T19:37:00.000Z
libvast/src/system/signal_monitor.cpp
vast-io/vast
6c9c787adc54079202dba85ea4a929004063f1ba
[ "BSD-3-Clause" ]
28
2016-05-19T13:09:19.000Z
2019-04-12T15:11:42.000Z
// _ _____ __________ // | | / / _ | / __/_ __/ Visibility // | |/ / __ |_\ \ / / Across // |___/_/ |_/___/ /_/ Space and Time // // SPDX-FileCopyrightText: (c) 2016 The VAST Contributors // SPDX-License-Identifier: BSD-3-Clause #include "vast/system/signal_monitor.hpp" #include "vas...
30.802469
79
0.625651
vast-io
910affbde23fb26cd3aaa8866651a6385ef9f13f
20,815
cpp
C++
src/mme-app/utils/mmeContextManagerUtils.cpp
aggarwalanubhav/Nucleus
107113cd9a1b68b1a28b35091ed17785ed32d319
[ "Apache-2.0" ]
null
null
null
src/mme-app/utils/mmeContextManagerUtils.cpp
aggarwalanubhav/Nucleus
107113cd9a1b68b1a28b35091ed17785ed32d319
[ "Apache-2.0" ]
null
null
null
src/mme-app/utils/mmeContextManagerUtils.cpp
aggarwalanubhav/Nucleus
107113cd9a1b68b1a28b35091ed17785ed32d319
[ "Apache-2.0" ]
1
2021-05-18T07:21:24.000Z
2021-05-18T07:21:24.000Z
/* * Copyright (c) 2019, Infosys Ltd. * * SPDX-License-Identifier: Apache-2.0 */ #include <cmath> #include <controlBlock.h> #include <contextManager/subsDataGroupManager.h> #include <err_codes.h> #include <log.h> #include <mmeStates/createBearerProcedureStates.h> #include <mmeStates/dedBearerActProcedureStates.h> ...
30.386861
125
0.684122
aggarwalanubhav
51066701eaff539f3f66d545f3214ad8a0d6ddef
6,239
cpp
C++
quic/api/QuicBatchWriter.cpp
neko-suki/mvfst
275edda5be49742221dfb0072e93786eb79cdc43
[ "MIT" ]
1
2020-01-29T06:41:43.000Z
2020-01-29T06:41:43.000Z
quic/api/QuicBatchWriter.cpp
neko-suki/mvfst
275edda5be49742221dfb0072e93786eb79cdc43
[ "MIT" ]
null
null
null
quic/api/QuicBatchWriter.cpp
neko-suki/mvfst
275edda5be49742221dfb0072e93786eb79cdc43
[ "MIT" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ #include <quic/api/QuicBatchWriter.h> namespace quic { // BatchWriter bool BatchWriter::needsFlush(size_t /*unused*/) { retur...
23.279851
77
0.677032
neko-suki
51067fb7034721216304f1ce1b0206557d544038
38,851
cpp
C++
src/etl/ETLSource.cpp
crypticrabbit/clio
ffc8779a14f22e25830e801487e898cec6c2f5c2
[ "ISC" ]
null
null
null
src/etl/ETLSource.cpp
crypticrabbit/clio
ffc8779a14f22e25830e801487e898cec6c2f5c2
[ "ISC" ]
null
null
null
src/etl/ETLSource.cpp
crypticrabbit/clio
ffc8779a14f22e25830e801487e898cec6c2f5c2
[ "ISC" ]
null
null
null
#include <ripple/beast/net/IPEndpoint.h> #include <ripple/protocol/STLedgerEntry.h> #include <boost/asio/strand.hpp> #include <boost/beast/http.hpp> #include <boost/beast/ssl.hpp> #include <boost/json.hpp> #include <boost/json/src.hpp> #include <boost/log/trivial.hpp> #include <backend/DBHelpers.h> #include <etl/ETLSou...
32.896698
81
0.524337
crypticrabbit
510a8912d1fb1aadb57f069a27baad9adb0206fc
2,279
cpp
C++
Practica2/ProyectosOGREvc15x86/IG2App/AspasMolino.cpp
nicoFdez/PracticasIG2
cae65f0020e9231b5575cabcc86280a26ab3ba6e
[ "MIT" ]
null
null
null
Practica2/ProyectosOGREvc15x86/IG2App/AspasMolino.cpp
nicoFdez/PracticasIG2
cae65f0020e9231b5575cabcc86280a26ab3ba6e
[ "MIT" ]
null
null
null
Practica2/ProyectosOGREvc15x86/IG2App/AspasMolino.cpp
nicoFdez/PracticasIG2
cae65f0020e9231b5575cabcc86280a26ab3ba6e
[ "MIT" ]
null
null
null
#include "AspasMolino.h" #include <OgreSceneManager.h> #include <OgreEntity.h> #include <SDL_keycode.h> #include "Avion.h" AspasMolino::AspasMolino(Ogre::SceneNode* rootNode, int numAspas, int number) : EntidadIG(), numAspas(numAspas) { Ogre::Entity* ent; if(modoGiro == 0) mNode = rootNode->createChildSceneNode("a...
27.792683
121
0.679684
nicoFdez
510d87800f34aa4a9523b96fe5dca8ba92f0c3e6
65
cpp
C++
TileDeck.cpp
kengonakajima/moyai
70077449eb2446de6c24de928050ad8affc6df3d
[ "Zlib" ]
37
2015-07-23T04:02:51.000Z
2021-09-23T08:39:12.000Z
TileDeck.cpp
kengonakajima/moyai
70077449eb2446de6c24de928050ad8affc6df3d
[ "Zlib" ]
1
2018-08-30T08:33:38.000Z
2018-08-30T08:33:38.000Z
TileDeck.cpp
kengonakajima/moyai
70077449eb2446de6c24de928050ad8affc6df3d
[ "Zlib" ]
8
2015-07-23T04:02:58.000Z
2020-11-10T14:52:12.000Z
#include "client.h" #include "TileDeck.h" int Deck::idgen = 1;
10.833333
21
0.661538
kengonakajima
511158aad9b954dfa26a6b4b65ef6b6eb0430a4b
445
hpp
C++
include/innovatrics/ansiiso_accuracy_test.hpp
tomas-krupa/ansi_iso_accuracy_test
a87600c1ff8997cd689539432e5badaa1bf8a776
[ "Apache-2.0" ]
null
null
null
include/innovatrics/ansiiso_accuracy_test.hpp
tomas-krupa/ansi_iso_accuracy_test
a87600c1ff8997cd689539432e5badaa1bf8a776
[ "Apache-2.0" ]
null
null
null
include/innovatrics/ansiiso_accuracy_test.hpp
tomas-krupa/ansi_iso_accuracy_test
a87600c1ff8997cd689539432e5badaa1bf8a776
[ "Apache-2.0" ]
null
null
null
/** * @file ansiiso_accuracy_test.hpp * * @copyright Copyright (c) 2020 Innovatrics s.r.o. All rights reserved. * * @maintainer Tomas Krupa <tomas.krupa@innovatrics.com> * @created 10.08.2020 * */ #pragma once #include <string> #include <innovatrics/config.hpp> namespace Innovatrics { class AnsiIsoAccuracy...
15.344828
72
0.719101
tomas-krupa
511307c7d5ebd32269ebb54010987c6873d834ae
7,453
cpp
C++
Examples/GrandBlimpBastards/SceneDirector.cpp
radical-bumblebee/bumblebee-engine
c5b7eb4bcd825bc2c5be66d6306912c519a56a2d
[ "MIT" ]
1
2017-08-15T03:56:22.000Z
2017-08-15T03:56:22.000Z
Examples/GrandBlimpBastards/SceneDirector.cpp
radical-bumblebee/bumblebee-engine
c5b7eb4bcd825bc2c5be66d6306912c519a56a2d
[ "MIT" ]
null
null
null
Examples/GrandBlimpBastards/SceneDirector.cpp
radical-bumblebee/bumblebee-engine
c5b7eb4bcd825bc2c5be66d6306912c519a56a2d
[ "MIT" ]
null
null
null
#include "SceneDirector.h" #include "SceneInfo.h" #include <sstream> void SceneDirector::tick() { if (_world->config->game_over < 1.0f && _world->config->game_over > 0.0f) { _world->config->game_over -= 0.3f * _world->dt; if (_world->config->game_over < 0.0f) { _world->config->game_over = 0.0f; _world->scen...
43.331395
216
0.695693
radical-bumblebee
5114fdf5e436670aa4f96417aa6beb7218245e57
1,791
hpp
C++
teas/teaport_utils/shell.hpp
benman64/buildhl
137f53d3817928d67b898653b612bbaa669d0112
[ "MIT" ]
null
null
null
teas/teaport_utils/shell.hpp
benman64/buildhl
137f53d3817928d67b898653b612bbaa669d0112
[ "MIT" ]
null
null
null
teas/teaport_utils/shell.hpp
benman64/buildhl
137f53d3817928d67b898653b612bbaa669d0112
[ "MIT" ]
null
null
null
#pragma once // this is a good item to be it's own library. Cross platform process // creation library. #include <string> #include <initializer_list> #include <vector> #include <cstdint> #include "Version.hpp" namespace tea { struct CompletedProcess { int exit_code = 1; std::vector<uint8_t> stdo...
34.442308
104
0.691234
benman64
5120fed4befbeb143a9526102c6a639bf65349fd
5,051
cc
C++
src/ptr_matrix.cc
Charles-Chao-Chen/fastSolver2
60eed8825f05c29919f7153497a4b57dec1ef76d
[ "MIT" ]
1
2020-11-28T12:41:51.000Z
2020-11-28T12:41:51.000Z
src/ptr_matrix.cc
Charles-Chao-Chen/fastSolver2
60eed8825f05c29919f7153497a4b57dec1ef76d
[ "MIT" ]
2
2017-09-15T23:39:34.000Z
2017-11-21T21:43:00.000Z
src/ptr_matrix.cc
Charles-Chao-Chen/fastSolver2
60eed8825f05c29919f7153497a4b57dec1ef76d
[ "MIT" ]
3
2016-10-04T04:34:32.000Z
2017-09-15T22:16:11.000Z
#include "ptr_matrix.hpp" #include "utility.hpp" #include <assert.h> #include <stdlib.h> // for srand48_r(), lrand48_r() and drand48_r() PtrMatrix::PtrMatrix() : mRows(-1), mCols(-1), leadD(-1), ptr(NULL), has_memory(false), trans('n') {} PtrMatrix::PtrMatrix(int r, int c) : mRows(r), mCols(c), leadD(r), ...
24.519417
67
0.559097
Charles-Chao-Chen
512301f537ba191042486d680edab9c600e5d49b
15,210
cpp
C++
2dSpriteGame/Monkey/Level_Editor/Classes/AppFrame.cpp
ScottRMcleod/CPLUSPLUS
94352ddf374b048fab960c1e7d5b2000d08ab399
[ "Unlicense" ]
null
null
null
2dSpriteGame/Monkey/Level_Editor/Classes/AppFrame.cpp
ScottRMcleod/CPLUSPLUS
94352ddf374b048fab960c1e7d5b2000d08ab399
[ "Unlicense" ]
null
null
null
2dSpriteGame/Monkey/Level_Editor/Classes/AppFrame.cpp
ScottRMcleod/CPLUSPLUS
94352ddf374b048fab960c1e7d5b2000d08ab399
[ "Unlicense" ]
null
null
null
#include "AppFrame.h" #define TOOLBAR_SIZE 16 #define GRID_SIZE 32 BEGIN_EVENT_TABLE(AppFrame, wxFrame) EVT_MENU( ID_New_Package, AppFrame::OnNewPackage) EVT_MENU( ID_New_Level, AppFrame::OnNewLevel) EVT_MENU( ID_Save, AppFrame::OnSave) EVT_MENU( ID_Load, AppFrame::OnLoad) EVT_MENU( ID_About, AppFrame:...
25.955631
132
0.673044
ScottRMcleod
512306955fcd3f467b3442d6632e987902f2d21f
3,439
cpp
C++
desktop-ui/program/drivers.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
desktop-ui/program/drivers.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
desktop-ui/program/drivers.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
auto Program::videoDriverUpdate() -> void { ruby::video.create(settings.video.driver); ruby::video.setContext(presentation.viewport.handle()); videoMonitorUpdate(); videoFormatUpdate(); ruby::video.setExclusive(settings.video.exclusive); ruby::video.setBlocking(settings.video.blocking); ruby::video.setFlu...
30.433628
131
0.700785
CasualPokePlayer
512398c8e1c780d5fd682f014a3e27bb0eb3e881
2,684
hpp
C++
modules/boost/simd/base/include/boost/simd/operator/functions/shift_right.hpp
feelpp/nt2
4d121e2c7450f24b735d6cff03720f07b4b2146c
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/base/include/boost/simd/operator/functions/shift_right.hpp
feelpp/nt2
4d121e2c7450f24b735d6cff03720f07b4b2146c
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/base/include/boost/simd/operator/functions/shift_right.hpp
feelpp/nt2
4d121e2c7450f24b735d6cff03720f07b4b2146c
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
31.952381
145
0.625931
feelpp
5124183a50986bde23dacf6d7b946a55c22a9d59
16,733
cpp
C++
src/main.cpp
MlsDmitry/RakNet-samples
05873aecb5c8dac0c0f822845c764bd5f8dc6a6d
[ "MIT" ]
null
null
null
src/main.cpp
MlsDmitry/RakNet-samples
05873aecb5c8dac0c0f822845c764bd5f8dc6a6d
[ "MIT" ]
null
null
null
src/main.cpp
MlsDmitry/RakNet-samples
05873aecb5c8dac0c0f822845c764bd5f8dc6a6d
[ "MIT" ]
null
null
null
// #include <iostream> // #include <thread> // #include <chrono> // #include <string> // #include <iomanip> // #include <cstring> // #include "RakPeerInterface.h" // #include "RakNetTypes.h" // #include "RakNetDefines.h" // #include "RakNetStatistics.h" // #include "BitStream.h" // #include "StringCompressor.h" // #in...
32.874263
166
0.541804
MlsDmitry
512d3ec39e3fa15402e93f461609be030e11f815
7,821
cc
C++
benchmarks/benchmark.cc
jlquinn/intgemm
a56f8225c2ebade4a742b1e691514c7d6c9def3d
[ "MIT" ]
37
2018-06-25T07:08:05.000Z
2022-03-30T05:10:19.000Z
benchmarks/benchmark.cc
jlquinn/intgemm
a56f8225c2ebade4a742b1e691514c7d6c9def3d
[ "MIT" ]
50
2019-03-20T10:34:34.000Z
2022-03-30T16:49:10.000Z
benchmarks/benchmark.cc
jlquinn/intgemm
a56f8225c2ebade4a742b1e691514c7d6c9def3d
[ "MIT" ]
16
2018-10-10T11:58:32.000Z
2022-01-28T23:19:05.000Z
#include "../intgemm/aligned.h" #include "intgemm/intgemm_config.h" #include "../intgemm/avx512_gemm.h" #include "../intgemm/sse2_gemm.h" #include "../intgemm/avx2_gemm.h" #include "../intgemm/ssse3_gemm.h" #include "../intgemm/intgemm.h" #include "../intgemm/stats.h" #include "../intgemm/callbacks.h" #include <algori...
36.376744
193
0.664749
jlquinn
512f0745860519e583a559b258a8aecc0b41b6a7
905
cpp
C++
mp32wav/tests/LittleBigEndian_Test.cpp
dissabte/mp32wav
6b3e8e08f94df0db84ff99fe4bdf5f6aa92c7cee
[ "MIT" ]
3
2018-03-26T03:54:14.000Z
2021-12-27T14:04:03.000Z
mp32wav/tests/LittleBigEndian_Test.cpp
dissabte/mp32wav
6b3e8e08f94df0db84ff99fe4bdf5f6aa92c7cee
[ "MIT" ]
null
null
null
mp32wav/tests/LittleBigEndian_Test.cpp
dissabte/mp32wav
6b3e8e08f94df0db84ff99fe4bdf5f6aa92c7cee
[ "MIT" ]
null
null
null
#include <UnitTest++/UnitTest++.h> #include "../src/LittleBigEndian.h" #include <cstring> SUITE(AudilFileTest) { TEST(LittleEndianTest) { const uint32_t testValue = 0x00AACCBB; LittleEndian<uint32_t> leValue; std::memcpy(leValue.bytes, &testValue, sizeof(uint32_t)); uint32_t leCheckValue = leValue; CHECK...
25.857143
60
0.740331
dissabte
5130edb3dd55fe64a3752239e9d9ca4d6f82a649
10,497
cc
C++
unittests/libtests/meshio/TestMeshIO.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
1
2021-09-09T06:24:11.000Z
2021-09-09T06:24:11.000Z
unittests/libtests/meshio/TestMeshIO.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
null
null
null
unittests/libtests/meshio/TestMeshIO.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
null
null
null
// -*- C++ -*- // // ---------------------------------------------------------------------- // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University of Chicago // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
34.758278
199
0.656187
joegeisz
51382e19cbcbdfcb6b312e8d57c035f52a61d321
21,914
hpp
C++
unit_test/tstGridOperator3d.hpp
abisner/picasso
06c1ae58e75f7da4c3eb2421c3297e5258c2ad90
[ "BSD-3-Clause" ]
null
null
null
unit_test/tstGridOperator3d.hpp
abisner/picasso
06c1ae58e75f7da4c3eb2421c3297e5258c2ad90
[ "BSD-3-Clause" ]
null
null
null
unit_test/tstGridOperator3d.hpp
abisner/picasso
06c1ae58e75f7da4c3eb2421c3297e5258c2ad90
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** * Copyright (c) 2021 by the Picasso authors * * All rights reserved. * * * * This ...
39.843636
80
0.544401
abisner
5138a09ebc9f4012bdbaa539c9546a9ea4fa182c
1,368
cpp
C++
tests/transactions/helpers.cpp
brett19/couchbase-transactions-cxx
468342818a62b8648798b112618afb47ed229c0b
[ "Apache-2.0" ]
null
null
null
tests/transactions/helpers.cpp
brett19/couchbase-transactions-cxx
468342818a62b8648798b112618afb47ed229c0b
[ "Apache-2.0" ]
null
null
null
tests/transactions/helpers.cpp
brett19/couchbase-transactions-cxx
468342818a62b8648798b112618afb47ed229c0b
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 Couchbase, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
25.811321
77
0.679094
brett19
513d3587339e31c9de95dc67bba5ced73c4966b9
19,821
cpp
C++
gtest/containers/set_test.cpp
public-jun/42_ft_containers
28e32632ebf7100537fc2c0bc85438ada9f0e4f0
[ "MIT" ]
null
null
null
gtest/containers/set_test.cpp
public-jun/42_ft_containers
28e32632ebf7100537fc2c0bc85438ada9f0e4f0
[ "MIT" ]
40
2022-02-12T06:50:14.000Z
2022-03-31T14:43:29.000Z
gtest/containers/set_test.cpp
public-jun/42_ft_containers
28e32632ebf7100537fc2c0bc85438ada9f0e4f0
[ "MIT" ]
null
null
null
#if STL // -DTEST=1 #else // -DTEST=0 #include <set.hpp> #endif #if __cplusplus >= 201103L #include <gtest/gtest.h> #else #include "../ft_test.hpp" #endif #include <set> #include <time.h> // 内部構造はmapと同じなのでテストは簡易 template <class T> void compare_set_iterator(T first1, T end1, T first2) { for (; first1 != end1; ...
27.152055
79
0.498007
public-jun
5148c105f61a8d9a40261bdc33f36e846b1d9c63
1,030
hpp
C++
src/controls/color_picker.hpp
AndrewGrim/Agro
f065920ab665938852bc8aa7e38d4d73f7e3ec0d
[ "MIT" ]
null
null
null
src/controls/color_picker.hpp
AndrewGrim/Agro
f065920ab665938852bc8aa7e38d4d73f7e3ec0d
[ "MIT" ]
null
null
null
src/controls/color_picker.hpp
AndrewGrim/Agro
f065920ab665938852bc8aa7e38d4d73f7e3ec0d
[ "MIT" ]
1
2021-04-18T12:06:55.000Z
2021-04-18T12:06:55.000Z
#pragma once #include "widget.hpp" #include "label.hpp" #include "line_edit.hpp" #define COLOR_PICKER_WIDTH 300 #define COLOR_PICKER_HEIGHT 200 class ColorPicker : public Widget { public: EventListener<Widget*, Color> onColorChanged = EventListener<Widget*, Color>(); ColorPicker(); ~Colo...
32.1875
101
0.675728
AndrewGrim
514c8365dd9993283844233c553e94c886391f7a
1,453
cpp
C++
aws-cpp-sdk-lexv2-runtime/source/model/DialogAction.cpp
blinemedical/aws-sdk-cpp
c7c814b2d6862b4cb48f3fb3ac083a9e419674e8
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-lexv2-runtime/source/model/DialogAction.cpp
blinemedical/aws-sdk-cpp
c7c814b2d6862b4cb48f3fb3ac083a9e419674e8
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-lexv2-runtime/source/model/DialogAction.cpp
blinemedical/aws-sdk-cpp
c7c814b2d6862b4cb48f3fb3ac083a9e419674e8
[ "Apache-2.0" ]
null
null
null
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/lexv2-runtime/model/DialogAction.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { na...
19.118421
93
0.73159
blinemedical
5150a860afb3aa8901f132cbdf37307813c7e933
3,867
cc
C++
dash/test/meta/RangeTest.cc
RuhanDev/dash
c56193149c334e552df6f8439c3fb1510048b7f1
[ "BSD-3-Clause" ]
1
2019-05-19T20:31:20.000Z
2019-05-19T20:31:20.000Z
dash/test/meta/RangeTest.cc
RuhanDev/dash
c56193149c334e552df6f8439c3fb1510048b7f1
[ "BSD-3-Clause" ]
null
null
null
dash/test/meta/RangeTest.cc
RuhanDev/dash
c56193149c334e552df6f8439c3fb1510048b7f1
[ "BSD-3-Clause" ]
2
2019-10-02T23:19:22.000Z
2020-06-27T09:23:31.000Z
#include "RangeTest.h" #include <gtest/gtest.h> #include <dash/View.h> #include <dash/Array.h> #include <dash/Matrix.h> #include <dash/internal/StreamConversion.h> #include <array> #include <iterator> TEST_F(RangeTest, RangeTraits) { dash::Array<int> array(dash::size() * 10); auto v_sub = dash::sub(0, 10, ...
39.865979
78
0.57564
RuhanDev
51519fac19dcbe9973762850e55c65a79c3c9ff2
1,550
cpp
C++
src/efscape/utils/type.cpp
clinejc/efscape
ef8bbf272827c7b364aa02af33dc5d239f070e0b
[ "0BSD" ]
1
2019-07-29T07:44:13.000Z
2019-07-29T07:44:13.000Z
src/efscape/utils/type.cpp
clinejc/efscape
ef8bbf272827c7b364aa02af33dc5d239f070e0b
[ "0BSD" ]
null
null
null
src/efscape/utils/type.cpp
clinejc/efscape
ef8bbf272827c7b364aa02af33dc5d239f070e0b
[ "0BSD" ]
1
2019-07-11T10:49:48.000Z
2019-07-11T10:49:48.000Z
// __COPYRIGHT_START__ // Package Name : efscape // File Name : type.cpp // Copyright (C) 2006-2018 Jon C. Cline // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear...
27.678571
158
0.694194
clinejc
51594205af499ec87806554cc33848bb3ce7283d
1,124
cpp
C++
dbus-cxx/standard-interfaces/peerinterfaceproxy.cpp
tvladax/dbus-cxx
396041a2130985acd72bb801b7137ec06e04b161
[ "BSD-3-Clause" ]
null
null
null
dbus-cxx/standard-interfaces/peerinterfaceproxy.cpp
tvladax/dbus-cxx
396041a2130985acd72bb801b7137ec06e04b161
[ "BSD-3-Clause" ]
null
null
null
dbus-cxx/standard-interfaces/peerinterfaceproxy.cpp
tvladax/dbus-cxx
396041a2130985acd72bb801b7137ec06e04b161
[ "BSD-3-Clause" ]
null
null
null
// SPDX-License-Identifier: LGPL-3.0-or-later OR BSD-3-Clause /*************************************************************************** * Copyright (C) 2020 by Robert Middleton * * robert.middleton@rm5248.com * * ...
37.466667
80
0.513345
tvladax
515b7518098672ff18f2ff1ec2ade048038696b1
2,540
cpp
C++
src/xray/editor/world/sources/command_delete_object.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/editor/world/sources/command_delete_object.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/editor/world/sources/command_delete_object.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 02.04.2009 // Author : Armen Abroyan // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #include "pch.h" #include "command_delete_object.h" #include "le...
26.736842
108
0.666929
ixray-team
5160a119e018d97e0d7c700ff5632049d9c9de36
447
cpp
C++
nhn_next_gameserver_lab_2017_IocpServer/Samples/ObjectPoolTest/main.cpp
jacking75/Netowrok_Projects
7788a9265818db6d781620fd644124aca425fe3c
[ "MIT" ]
25
2019-05-20T08:07:39.000Z
2021-08-17T11:25:02.000Z
nhn_next_gameserver_lab_2017_IocpServer/Samples/ObjectPoolTest/main.cpp
jacking75/Netowrok_Projects
7788a9265818db6d781620fd644124aca425fe3c
[ "MIT" ]
null
null
null
nhn_next_gameserver_lab_2017_IocpServer/Samples/ObjectPoolTest/main.cpp
jacking75/Netowrok_Projects
7788a9265818db6d781620fd644124aca425fe3c
[ "MIT" ]
17
2019-07-07T12:20:16.000Z
2022-01-11T08:27:44.000Z
#include <iostream> #include <vector> #include "ClientSession.h" int main() { std::vector<ClientSession*> sessions; for (int i = 0; i < 3; ++i) { auto session = new ClientSession(); sessions.push_back(session); } for (int i = 0; i < 3; ++i) { delete sessions[i]; } sessions.clear()...
15.413793
39
0.572707
jacking75
5162729d357122aa639de9b836496c5469f72068
2,113
cpp
C++
test/training_data/plag_original_codes/abc037_c_6420655_827.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
13
2021-01-20T19:53:16.000Z
2021-11-14T16:30:32.000Z
test/training_data/plag_original_codes/abc037_c_6420655_827.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
test/training_data/plag_original_codes/abc037_c_6420655_827.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
/* 引用元:https://atcoder.jp/contests/abc037/tasks/abc037_c C - 総和Editorial // ソースコードの引用元 : https://atcoder.jp/contests/abc037/submissions/6420655 // 提出ID : 6420655 // 問題ID : abc037_c // コンテストID : abc037 // ユーザID : xryuseix // コード長 : 1857 // 実行時間 : 11 */ #include <iostream> #include <cstdio> #include <algorithm> #inclu...
20.920792
70
0.563654
xryuseix
516441de661be2abaab3cbf612dac08b81f2820d
11,487
cpp
C++
libRaftExt/protobuffer/RaftProtoBufferSerializer.cpp
ZhenYongFan/libRaft
7da0b124d9eed800bebaff39b01c9d1ae36c1ccd
[ "Apache-2.0" ]
4
2019-08-21T06:32:36.000Z
2021-12-16T09:30:48.000Z
libRaftExt/protobuffer/RaftProtoBufferSerializer.cpp
ZhenYongFan/libRaft
7da0b124d9eed800bebaff39b01c9d1ae36c1ccd
[ "Apache-2.0" ]
1
2019-08-20T07:11:42.000Z
2019-08-26T00:03:22.000Z
libRaftExt/protobuffer/RaftProtoBufferSerializer.cpp
ZhenYongFan/libRaft
7da0b124d9eed800bebaff39b01c9d1ae36c1ccd
[ "Apache-2.0" ]
2
2020-03-09T06:03:02.000Z
2021-02-03T03:21:57.000Z
#include "stdafx.h" #include "RaftProtoBufferSerializer.h" #include "raft.pb.h" #include "rpc.pb.h" #include <RaftEntry.h> #include <RequestOp.h> void LocalToPb(const CRaftEntry &entry, raftpb::Entry &entryPb) { entryPb.set_term(entry.m_u64Term); entryPb.set_index(entry.m_u64Index); entryPb.set_type(raftpb...
34.809091
106
0.716984
ZhenYongFan
5166174d985515dd0a3fa627f1c1736d6b152600
4,659
cpp
C++
src/generic_cpu/b_ipc_target.cpp
cicerone/kosim
a9f718a19019c11fd6e6c6fc0164d4d214bbb5e2
[ "BSL-1.0" ]
2
2019-11-15T19:15:36.000Z
2022-03-14T12:53:18.000Z
src/generic_cpu/b_ipc_target.cpp
cicerone/kosim
a9f718a19019c11fd6e6c6fc0164d4d214bbb5e2
[ "BSL-1.0" ]
null
null
null
src/generic_cpu/b_ipc_target.cpp
cicerone/kosim
a9f718a19019c11fd6e6c6fc0164d4d214bbb5e2
[ "BSL-1.0" ]
null
null
null
/*=============================================================================================== Copyright (c) 2009 Kotys LLC. 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) Author: Cicerone Mihalache ...
36.116279
97
0.605924
cicerone
51681500c39ac4640164102458d08cbc89d5e7c2
807
cpp
C++
Codeforces/r217d2/B.cpp
s9v/toypuct
68e65e6da5922af340de72636a9a4f136454c70d
[ "MIT" ]
null
null
null
Codeforces/r217d2/B.cpp
s9v/toypuct
68e65e6da5922af340de72636a9a4f136454c70d
[ "MIT" ]
null
null
null
Codeforces/r217d2/B.cpp
s9v/toypuct
68e65e6da5922af340de72636a9a4f136454c70d
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <queue> #include <vector> #define sz(X) (int)X.size() using namespace std; typedef vector<int> vi; int n; vi m[100]; int main() { cin >> n; for (int i = 0; i < n; i++) { int x; cin >> x; m[i].resize(x); for (int j = 0; j < x; j++) cin >> m[i][j]; ...
13.016129
41
0.408922
s9v
516c8c98979cb71a25f3b40f2ed3b4509106adba
600
hpp
C++
include/kjq_navigation/BiPridgeNode.hpp
CtfChan/kjq_navigation
4969fe633c74fa19ab3330e30a561efbcacc6b03
[ "BSD-3-Clause" ]
null
null
null
include/kjq_navigation/BiPridgeNode.hpp
CtfChan/kjq_navigation
4969fe633c74fa19ab3330e30a561efbcacc6b03
[ "BSD-3-Clause" ]
null
null
null
include/kjq_navigation/BiPridgeNode.hpp
CtfChan/kjq_navigation
4969fe633c74fa19ab3330e30a561efbcacc6b03
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <ros/ros.h> #include <sensor_msgs/LaserScan.h> #include <geometry_msgs/Pose.h> #include <tf/transform_broadcaster.h> namespace kjq_navigation { class PiBridgeNode { public: PiBridgeNode(ros::NodeHandle& nh); private: void scanCallback(sensor_msgs::LaserScan::Ptr msg); void odomC...
17.142857
55
0.728333
CtfChan
516d06a3b4c1c5d214b2de1e4313584fe89cae16
54,826
cpp
C++
include/enki/viewer/objects/EPuckBody.cpp
ou-real/nevil-grandparent
38324705678afac77d002391da753c6f10ee95e2
[ "MIT" ]
null
null
null
include/enki/viewer/objects/EPuckBody.cpp
ou-real/nevil-grandparent
38324705678afac77d002391da753c6f10ee95e2
[ "MIT" ]
null
null
null
include/enki/viewer/objects/EPuckBody.cpp
ou-real/nevil-grandparent
38324705678afac77d002391da753c6f10ee95e2
[ "MIT" ]
null
null
null
/* Enki - a fast 2D robot simulator Copyright (C) 1999-2013 Stephane Magnenat <stephane at magnenat dot net> Copyright (C) 2004-2005 Markus Waibel <markus dot waibel at epfl dot ch> Copyright (c) 2004-2005 Antoine Beyeler <abeyeler at ab-ware dot com> Copyright (C) 2005-2006 Laboratory of Int...
74.189445
117
0.6378
ou-real
516ee4d8d4246c315aa8525ee046b6e0ae3f44e7
1,962
cpp
C++
tree/search_tree/best_fit/bestFit.cpp
vectordb-io/vstl
1cd35add1a28cc1bcac560629b4a49495fe2b065
[ "Apache-2.0" ]
null
null
null
tree/search_tree/best_fit/bestFit.cpp
vectordb-io/vstl
1cd35add1a28cc1bcac560629b4a49495fe2b065
[ "Apache-2.0" ]
null
null
null
tree/search_tree/best_fit/bestFit.cpp
vectordb-io/vstl
1cd35add1a28cc1bcac560629b4a49495fe2b065
[ "Apache-2.0" ]
null
null
null
// best fit bin packing #include <iostream> #include "dBinarySearchTreeWithGE.h" using namespace std; void bestFitPack(int *objectSize, int numberOfObjects, int binCapacity) {// Output best-fit packing into bins of size binCapacity. // objectSize[1:numberOfObjects] are the object sizes. int n = numbe...
27.633803
72
0.583588
vectordb-io
516fb1cfc8317517817557bd7bd6fe676725cda1
5,187
cpp
C++
ethernet_bridge/src/tcp_client/node.cpp
UniBwTAS/ethernet_bridge
c13c537b0c08326728911687dddfcdf14a727798
[ "BSD-3-Clause" ]
5
2021-06-06T18:38:35.000Z
2021-08-09T22:31:13.000Z
ethernet_bridge/src/tcp_client/node.cpp
UniBwTAS/ethernet_bridge
c13c537b0c08326728911687dddfcdf14a727798
[ "BSD-3-Clause" ]
null
null
null
ethernet_bridge/src/tcp_client/node.cpp
UniBwTAS/ethernet_bridge
c13c537b0c08326728911687dddfcdf14a727798
[ "BSD-3-Clause" ]
4
2021-08-08T23:50:59.000Z
2021-08-09T22:31:39.000Z
#include "node.h" #include <QTcpSocket> #include <QHostAddress> #include <ethernet_msgs/Event.h> #include <ethernet_msgs/EventType.h> #include <ethernet_msgs/ProtocolType.h> #include <ethernet_msgs/utils.h> Node::Node(ros::NodeHandle& nh, ros::NodeHandle& private_nh) : nh_(nh), private_nh_(nh) { /// Pa...
36.787234
135
0.710816
UniBwTAS
51706b4bc2a573e50ce30f7eebe1e9225cc7608a
196
cpp
C++
Floating_Point_Instructions/DP_Instructions/Conversion_and_Move/FMV.D.X.cpp
vinodganesan/shaktiISS
fb48e202596989004136b3d44e6fcfa191ba6ea8
[ "BSD-3-Clause" ]
null
null
null
Floating_Point_Instructions/DP_Instructions/Conversion_and_Move/FMV.D.X.cpp
vinodganesan/shaktiISS
fb48e202596989004136b3d44e6fcfa191ba6ea8
[ "BSD-3-Clause" ]
null
null
null
Floating_Point_Instructions/DP_Instructions/Conversion_and_Move/FMV.D.X.cpp
vinodganesan/shaktiISS
fb48e202596989004136b3d44e6fcfa191ba6ea8
[ "BSD-3-Clause" ]
null
null
null
#include<stdio.h> #include<sstream> #include<iostream> #include<string> void fmvdx(int rd, int rs1, std::string rm) { getrounding(rm); for(int i= 0; i < 64 ; ++i) Rreg[rs1][i] = Freg[rd][i]; }
15.076923
43
0.642857
vinodganesan
517089bb21af2202511875938970efe499b93c99
2,469
cpp
C++
2021day21/run.cpp
AntonJoha/AdventOfCode
3349f789adf3dc1d8062d56ba3efb20fbb0ee335
[ "MIT" ]
null
null
null
2021day21/run.cpp
AntonJoha/AdventOfCode
3349f789adf3dc1d8062d56ba3efb20fbb0ee335
[ "MIT" ]
null
null
null
2021day21/run.cpp
AntonJoha/AdventOfCode
3349f789adf3dc1d8062d56ba3efb20fbb0ee335
[ "MIT" ]
null
null
null
#include "run.h" #include <iostream> #define STARTONE 1 #define STARTTWO 7 //FIRST PROBLEM HERE #ifdef FIRST #define MAXSIZE 10 #define WINNING 1000 std::string run::solve(std::ifstream* file){ unsigned int point1 = 0; unsigned int point2 = 0; unsigned int pos1 = STARTONE; unsigned int pos2 = STARTTWO; unsig...
16.243421
141
0.617659
AntonJoha
517d4a1a62061ad5166536ef1e0a5fd4a610adcc
708
cpp
C++
src/plugins/monocle/plugins/dik/util.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/monocle/plugins/dik/util.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/monocle/plugins/dik/util.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
22.83871
83
0.538136
Maledictus
517dc23312aef835ebeb65f481f6b9e7f0cfea00
18,480
cpp
C++
src/editor/BMC-Editor.midi.utility.cpp
neroroxxx/BMC
ec85174f5398e548c829821f75a14edfeabfecf1
[ "MIT" ]
36
2020-07-16T02:19:21.000Z
2022-03-21T22:11:41.000Z
src/editor/BMC-Editor.midi.utility.cpp
neroroxxx/BMC
ec85174f5398e548c829821f75a14edfeabfecf1
[ "MIT" ]
1
2021-11-24T05:49:19.000Z
2021-11-24T15:01:57.000Z
src/editor/BMC-Editor.midi.utility.cpp
neroroxxx/BMC
ec85174f5398e548c829821f75a14edfeabfecf1
[ "MIT" ]
null
null
null
/* See https://www.RoxXxtar.com/bmc for more details Copyright (c) 2020 RoxXxtar.com Licensed under the MIT license. See LICENSE file in the project root for full license information. */ #include "editor/BMC-Editor.h" void BMCEditor::utilityCommand(){ dataForBMC.reset(); if(dataForBMC.set(isWriteMessage(),...
29.010989
93
0.695238
neroroxxx
517efa2467c899b605c19800a56ab2b618abba44
8,412
cpp
C++
newweb/browser/render_process/webengine/dom/Document.cpp
cauthu/shadow-browser-plugin
e1eb930b1bdf71cb3cdcbb1d70467e6e6203c298
[ "BSD-3-Clause" ]
null
null
null
newweb/browser/render_process/webengine/dom/Document.cpp
cauthu/shadow-browser-plugin
e1eb930b1bdf71cb3cdcbb1d70467e6e6203c298
[ "BSD-3-Clause" ]
null
null
null
newweb/browser/render_process/webengine/dom/Document.cpp
cauthu/shadow-browser-plugin
e1eb930b1bdf71cb3cdcbb1d70467e6e6203c298
[ "BSD-3-Clause" ]
null
null
null
#include <event2/event.h> #include <strings.h> #include <boost/bind.hpp> #include "../../../../utility/easylogging++.h" #include "../../../../utility/common.hpp" #include "../../../../utility/folly/ScopeGuard.h" #include "Document.hpp" #include "../webengine.hpp" #include "../events/EventTypeNames.hpp" #include "../...
26.620253
98
0.666429
cauthu
5183065061469c4b6fdb4010bde946649fdbeff5
1,487
cpp
C++
src/search/searchdata.cpp
l1422586361/vnote
606dcef16f882350cc2be2fd108625894d13143b
[ "MIT" ]
1
2021-09-13T04:38:27.000Z
2021-09-13T04:38:27.000Z
src/search/searchdata.cpp
micalstanley/vnote-1
606dcef16f882350cc2be2fd108625894d13143b
[ "MIT" ]
null
null
null
src/search/searchdata.cpp
micalstanley/vnote-1
606dcef16f882350cc2be2fd108625894d13143b
[ "MIT" ]
null
null
null
#include "searchdata.h" #include <QJsonObject> using namespace vnotex; SearchOption::SearchOption() : m_objects(SearchObject::SearchName | SearchObject::SearchContent), m_targets(SearchTarget::SearchFile | SearchTarget::SearchFolder) { } QJsonObject SearchOption::toJson() const { QJsonObject obj; ...
30.979167
76
0.68191
l1422586361
3d674e75f4301f260f133e265014501c3167b91e
20,853
cpp
C++
module/mpc-be/SRC/src/filters/source/SubtitleSource/SubtitleSource.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
module/mpc-be/SRC/src/filters/source/SubtitleSource/SubtitleSource.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
module/mpc-be/SRC/src/filters/source/SubtitleSource/SubtitleSource.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
/* * (C) 2003-2006 Gabest * (C) 2006-2020 see Authors.txt * * This file is part of MPC-BE. * * MPC-BE 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 opt...
26.06625
147
0.714669
1aq
3d6b7d93ea70ca5f0d91a162cb8c03dc2179ee6c
1,496
cc
C++
src/Queue/lockFreeQueue.cc
josebrandao13/MDTs
923251280beebb10127c5216c2ef6d7789261e94
[ "MIT" ]
null
null
null
src/Queue/lockFreeQueue.cc
josebrandao13/MDTs
923251280beebb10127c5216c2ef6d7789261e94
[ "MIT" ]
null
null
null
src/Queue/lockFreeQueue.cc
josebrandao13/MDTs
923251280beebb10127c5216c2ef6d7789261e94
[ "MIT" ]
null
null
null
#include <boost/lockfree/queue.hpp> #include <boost/thread/thread.hpp> #include <thread> #include <iostream> #define LOOP 500000 #define BENCH_RUNS 5 using namespace std; boost::lockfree::queue<int> q{LOOP}; vector<int> NTHREADS; int poped; void lockFree(){ for (int i=0; i < LOOP; i++){ q.push(i); if...
22.666667
71
0.556818
josebrandao13
3d6dd30c1e48578bce39c83660ffea14e92d3371
3,227
cpp
C++
ordered_set.cpp
shiningflash/Advance-Data-Structure
87f1813c5bcfb2ad77b8f1f2d8f0259d3f87371a
[ "MIT" ]
3
2020-11-09T18:36:48.000Z
2020-12-31T03:51:08.000Z
ordered_set.cpp
shiningflash/data-structure
87f1813c5bcfb2ad77b8f1f2d8f0259d3f87371a
[ "MIT" ]
null
null
null
ordered_set.cpp
shiningflash/data-structure
87f1813c5bcfb2ad77b8f1f2d8f0259d3f87371a
[ "MIT" ]
3
2019-04-30T22:11:19.000Z
2020-04-11T18:34:27.000Z
/* +> Ordered set is a policy based data structure in g++ that keeps the unique elements in sorted order. It performs all the operations as performed by the set data structure in STL in log(n) complexity and performs two additional operations also in log(n) complexity. - order_of_key (k) : Number of items strictly sm...
30.158879
156
0.693214
shiningflash
3d6f50e094123507a09b9784d36d9a35c3bf0f29
2,157
cpp
C++
modules/OCULUS/external/oculusSDK/LibOVRKernel/Src/Kernel/OVR_Rand.cpp
Mithsen/Gallbladder
981cec68ca9e9af8613a6bf5a71048f86c16a070
[ "BSD-3-Clause" ]
3
2016-01-18T06:15:18.000Z
2016-05-23T22:21:16.000Z
modules/OCULUS/external/oculusSDK/LibOVRKernel/Src/Kernel/OVR_Rand.cpp
Mithsen/Gallbladder
981cec68ca9e9af8613a6bf5a71048f86c16a070
[ "BSD-3-Clause" ]
null
null
null
modules/OCULUS/external/oculusSDK/LibOVRKernel/Src/Kernel/OVR_Rand.cpp
Mithsen/Gallbladder
981cec68ca9e9af8613a6bf5a71048f86c16a070
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************** Filename : OVR_Rand.cpp Content : Random number generator Created : Aug 28, 2014 Author : Chris Taylor Copyright : Copyright 2014 Oculus VR, Inc. All Rights reserved. Licensed under the Oculus VR Rift SDK License ...
26.9625
85
0.634678
Mithsen
3d73f71afaf2e57b2d8224491cd80507a053becb
22,080
cpp
C++
src/fred2/campaigneditordlg.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
1
2020-07-14T07:29:18.000Z
2020-07-14T07:29:18.000Z
src/fred2/campaigneditordlg.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
2
2019-01-01T22:35:56.000Z
2022-03-14T07:34:00.000Z
src/fred2/campaigneditordlg.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
2
2021-03-07T11:40:42.000Z
2021-12-26T21:40:39.000Z
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on * the source. */ // CampaignEditorDlg.cpp : implementation file // #include <setjmp.h> #inclu...
24.949153
163
0.71721
ptitSeb
3d75c6be53f8faf936c05a7ea8f4ebbaa3cf55d7
10,769
hpp
C++
rapi_core/include/core/port.hpp
csitarichie/someip_cyclone_dds_bridge
2ccaaa6e2484a938b08562497431df61ab23769f
[ "MIT" ]
null
null
null
rapi_core/include/core/port.hpp
csitarichie/someip_cyclone_dds_bridge
2ccaaa6e2484a938b08562497431df61ab23769f
[ "MIT" ]
null
null
null
rapi_core/include/core/port.hpp
csitarichie/someip_cyclone_dds_bridge
2ccaaa6e2484a938b08562497431df61ab23769f
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <cassert> #include <condition_variable> #include <deque> #include <functional> #include <limits> #include <map> #include <memory> #include <mutex> #include <iostream> #include "adstlog_cxx/adstlog.hpp" #include "adstutil_cxx/compiler_diagnostics.hpp" #include "core/impl/asy...
34.73871
116
0.642957
csitarichie
3d7a945d5c2782cee1353075fa0211fbc70be92d
3,371
cpp
C++
2JCIE-EV01/OPT3001DNP.cpp
takjn/GRMOmronTest
26478958be0c623ac8c1cbc9bbfd607f7c9bf245
[ "MIT" ]
null
null
null
2JCIE-EV01/OPT3001DNP.cpp
takjn/GRMOmronTest
26478958be0c623ac8c1cbc9bbfd607f7c9bf245
[ "MIT" ]
null
null
null
2JCIE-EV01/OPT3001DNP.cpp
takjn/GRMOmronTest
26478958be0c623ac8c1cbc9bbfd607f7c9bf245
[ "MIT" ]
1
2020-02-14T06:49:41.000Z
2020-02-14T06:49:41.000Z
// SPDX-License-Identifier: MIT /* * MIT License * Copyright (c) 2019, 2018 - present OMRON Corporation * Copyright (c) 2019 Renesas Electronics Corporation * All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation file...
27.185484
78
0.677544
takjn
3d7b0b4c14ef977d5aad1ddab068dd5a80480113
18,514
hh
C++
Kaskade/io/lossystorageDUNE.hh
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
3
2019-07-03T14:03:31.000Z
2021-12-19T10:18:49.000Z
Kaskade/io/lossystorageDUNE.hh
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
6
2020-02-17T12:01:31.000Z
2021-12-09T22:02:36.000Z
Kaskade/io/lossystorageDUNE.hh
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
2
2020-12-03T04:41:18.000Z
2021-01-11T21:44:42.000Z
#ifndef LOSSYSTORAGEDUNE_HH #define LOSSYSTORAGEDUNE_HH #include <map> #include <cassert> #include "dune/grid/common/grid.hh" #include "dune/grid/common/entitypointer.hh" #include "dune/grid/common/entity.hh" #include "dune/grid/io/file/dgfparser/dgfparser.hh" #include "dune/istl/matrix.hh" #include "dune/istl/bcrsma...
30.35082
128
0.633737
chenzongxiong
3d7b49ae1d91f630dd24ca58761b05eec3f2eb85
841
cpp
C++
Leetcode/Coding Interviews/56_01_Single_Numbers.cpp
ZR-Huang/AlgorithmPractices
226cecde136531341ce23cdf88529345be1912fc
[ "BSD-3-Clause" ]
1
2019-11-26T11:52:25.000Z
2019-11-26T11:52:25.000Z
Leetcode/Coding Interviews/56_01_Single_Numbers.cpp
ZR-Huang/AlgorithmPractices
226cecde136531341ce23cdf88529345be1912fc
[ "BSD-3-Clause" ]
null
null
null
Leetcode/Coding Interviews/56_01_Single_Numbers.cpp
ZR-Huang/AlgorithmPractices
226cecde136531341ce23cdf88529345be1912fc
[ "BSD-3-Clause" ]
null
null
null
/* 一个整型数组 nums 里除两个数字之外,其他数字都出现了两次。请写程序找出这两个只出现一次的数字。 要求时间复杂度是O(n),空间复杂度是O(1)。 示例 1: 输入:nums = [4,1,4,6] 输出:[1,6] 或 [6,1] 示例 2: 输入:nums = [1,2,10,4,1,4,3,3] 输出:[2,10] 或 [10,2] 限制: 2 <= nums <= 10000 */ #include <iostream> #include <vector> using namespace std; class Solution { public: vector<int> singleNum...
21.564103
148
0.525565
ZR-Huang
3d7dc2702f89d2573a9aa8f59d12c1217bcd3428
2,199
hpp
C++
plugins/history_plugin/include/eosio/history_plugin/public_key_history_object.hpp
linapex/eos-chinese
33539709c30940b6489cec1ed2d982ff76da5cc5
[ "MIT" ]
null
null
null
plugins/history_plugin/include/eosio/history_plugin/public_key_history_object.hpp
linapex/eos-chinese
33539709c30940b6489cec1ed2d982ff76da5cc5
[ "MIT" ]
null
null
null
plugins/history_plugin/include/eosio/history_plugin/public_key_history_object.hpp
linapex/eos-chinese
33539709c30940b6489cec1ed2d982ff76da5cc5
[ "MIT" ]
null
null
null
//<developer> // <name>linapex 曹一峰</name> // <email>linapex@163.com</email> // <wx>superexc</wx> // <qqgroup>128148617</qqgroup> // <url>https://jsq.ink</url> // <role>pku engineer</role> // <date>2019-03-16 19:44:17</date> //</624457052034437120> /* *@文件 *@eos/license中定义的版权 **/ #pragma once ...
31.869565
126
0.740791
linapex
3d8369e2d74a6da787ed278e972c1233294725a3
1,117
cpp
C++
oclint-core/lib/RuleBase.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
3,128
2015-01-01T06:00:31.000Z
2022-03-29T23:43:20.000Z
oclint-core/lib/RuleBase.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
432
2015-01-03T15:43:08.000Z
2022-03-29T02:32:48.000Z
oclint-core/lib/RuleBase.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
454
2015-01-06T03:11:12.000Z
2022-03-22T05:49:38.000Z
#include "oclint/RuleBase.h" using namespace oclint; void RuleBase::takeoff(RuleCarrier *carrier) { _carrier = carrier; apply(); } const std::string RuleBase::attributeName() const { return name(); } const std::string RuleBase::identifier() const { std::string copy = name(); if (copy.empty()) ...
18.616667
77
0.59803
BGU-AiDnD
3d85a355c011f71f3f8f59494c3b6a539c6ba3c6
6,869
cpp
C++
src/Huffman.cpp
taleroangel/ProyeccionesEDD
d246dc22776fca09b2a36c82b3db682f3af3a155
[ "MIT" ]
null
null
null
src/Huffman.cpp
taleroangel/ProyeccionesEDD
d246dc22776fca09b2a36c82b3db682f3af3a155
[ "MIT" ]
null
null
null
src/Huffman.cpp
taleroangel/ProyeccionesEDD
d246dc22776fca09b2a36c82b3db682f3af3a155
[ "MIT" ]
null
null
null
#include "Huffman.h" #include <cstdlib> #include <cstring> #include <exception> #include <fstream> #include <map> #include <queue> #include <sstream> #include <stdexcept> #include <string> #include <utility> #include "ArbolCodificacion.hxx" #include "CodigoElemento.hxx" #include "Imagen.h" #include "NodoCodificacion....
31.081448
78
0.579706
taleroangel
3d85a65106b3b1cbf38d423250ae88c711eb6ae9
22,475
cpp
C++
Blizzlike/ArcEmu/C++/Battlegrounds/StrandOfTheAncient.cpp
499453466/Lua-Other
43fd2b72405faf3f2074fd2a2706ef115d16faa6
[ "Unlicense" ]
2
2015-06-23T16:26:32.000Z
2019-06-27T07:45:59.000Z
Blizzlike/ArcEmu/C++/Battlegrounds/StrandOfTheAncient.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
null
null
null
Blizzlike/ArcEmu/C++/Battlegrounds/StrandOfTheAncient.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
3
2015-01-10T18:22:59.000Z
2021-04-27T21:28:28.000Z
/* * ArcEmu MMORPG Server * Copyright (C) 2008-2011 <http://www.ArcEmu.org/> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later versi...
30.127346
153
0.703671
499453466
3d863b82983aeee62a5aacb13b2ba80e00c330b0
2,932
cc
C++
tests/test_routing_table2.cc
telosprotocol/xkad
f3591d5544bf26ba486cb4a7f141d9500422206e
[ "MIT" ]
13
2019-09-16T13:34:35.000Z
2020-01-13T08:06:17.000Z
tests/test_routing_table2.cc
telosprotocol/xkad
f3591d5544bf26ba486cb4a7f141d9500422206e
[ "MIT" ]
null
null
null
tests/test_routing_table2.cc
telosprotocol/xkad
f3591d5544bf26ba486cb4a7f141d9500422206e
[ "MIT" ]
null
null
null
// Copyright (c) 2017-2019 Telos Foundation & contributors // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <stdio.h> #include <string.h> #include <string> #include <memory> #include <fstream> #include <gtest/gtest.h> ...
27.401869
75
0.731924
telosprotocol
3d8b9179a7bc8e45d7a7a15a1fa954ca8e555e82
4,822
cpp
C++
P9/BST/main.cpp
summerwish/DataStructure_homework
7ba86f69edd413643679aba3cf9da5e987b14055
[ "MIT" ]
null
null
null
P9/BST/main.cpp
summerwish/DataStructure_homework
7ba86f69edd413643679aba3cf9da5e987b14055
[ "MIT" ]
null
null
null
P9/BST/main.cpp
summerwish/DataStructure_homework
7ba86f69edd413643679aba3cf9da5e987b14055
[ "MIT" ]
null
null
null
// // main.cpp // BST // // Created by Breezewish on 11/24/14. // Copyright (c) 2014 BW. All rights reserved. // #include <iostream> #include <string> using namespace std; class Node { public: int key; int n; Node* left; Node* right; Node(int k):key(k),n(1),left(NULL),right(NULL){}; }; void ...
24.602041
71
0.421609
summerwish
3d932aa33720f1c7a77a75b9994337d062f2494a
2,000
cpp
C++
libs/icl/test/fix_tickets_/fix_tickets.cpp
olegshnitko/libboost
548eb6365af3724d8f4b47ebbabf7eb3ad8e66a8
[ "BSL-1.0" ]
1
2019-10-31T00:40:22.000Z
2019-10-31T00:40:22.000Z
libs/icl/test/fix_tickets_/fix_tickets.cpp
olegshnitko/libboost
548eb6365af3724d8f4b47ebbabf7eb3ad8e66a8
[ "BSL-1.0" ]
1
2018-01-17T10:11:43.000Z
2018-01-17T10:11:43.000Z
libs/icl/test/fix_tickets_/fix_tickets.cpp
olegshnitko/libboost
548eb6365af3724d8f4b47ebbabf7eb3ad8e66a8
[ "BSL-1.0" ]
null
null
null
/*-----------------------------------------------------------------------------+ Copyright (c) 2011-2011: Joachim Faulhaber +------------------------------------------------------------------------------+ Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENCE.txt or copy ...
35.087719
84
0.646
olegshnitko
3d93346dff30ce2e5a4205407046d262a11ac7f0
1,347
cpp
C++
3D/Model.cpp
Floppy/alienation
d2fca9344f88f70f1547573bea2244f77bd23379
[ "BSD-3-Clause" ]
null
null
null
3D/Model.cpp
Floppy/alienation
d2fca9344f88f70f1547573bea2244f77bd23379
[ "BSD-3-Clause" ]
null
null
null
3D/Model.cpp
Floppy/alienation
d2fca9344f88f70f1547573bea2244f77bd23379
[ "BSD-3-Clause" ]
null
null
null
#include "3D/Model.h" #include <SDL_opengl.h> #include <iostream> using namespace std; CModel::CModel() { } CModel::~CModel() { // Delete meshes for (vector<C3DObject*>::iterator it(m_oObjects.begin()); it!=m_oObjects.end(); ++it) { delete *it; } } void CModel::init() { vector<C3DObject*>::itera...
21.725806
96
0.623608
Floppy
3d938a72a0fbca54f2579dfd96f53f6b7fe1aa32
139
cc
C++
u-math.cc
lvv/lvvlib
b610a089103853e7cf970efde2ce4bed9f505090
[ "MIT" ]
13
2015-02-05T12:26:16.000Z
2020-09-14T23:13:14.000Z
u-math.cc
lvv/lvvlib
b610a089103853e7cf970efde2ce4bed9f505090
[ "MIT" ]
null
null
null
u-math.cc
lvv/lvvlib
b610a089103853e7cf970efde2ce4bed9f505090
[ "MIT" ]
null
null
null
#include <lvv/check.h> #include <lvv/math.h> //using namespace std; using namespace lvv; int main() { CHECK_EXIT; }
10.692308
23
0.589928
lvv
3d93f1cb10ea3bee5d995ee83b7a16e26d503a20
1,385
hpp
C++
src/NumericalAlgorithms/LinearOperators/Tags.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
2
2021-04-11T04:07:42.000Z
2021-04-11T05:07:54.000Z
src/NumericalAlgorithms/LinearOperators/Tags.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
4
2018-06-04T20:26:40.000Z
2018-07-27T14:54:55.000Z
src/NumericalAlgorithms/LinearOperators/Tags.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
1
2019-01-03T21:47:04.000Z
2019-01-03T21:47:04.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <string> #include "DataStructures/DataBox/Tag.hpp" #include "Options/Options.hpp" namespace OptionTags { /*! * \ingroup OptionGroupsGroup * \brief Groups the filtering configurations in the input file. */ struct Filtering...
25.181818
76
0.725632
macedo22
3da038efc520f05d7de39e486984c907e32def8d
27,204
cpp
C++
device/pal/palcounters.cpp
devurandom/ROCclr
96724e055997473b36c74a0516d1e5ad9e1ca959
[ "MIT" ]
null
null
null
device/pal/palcounters.cpp
devurandom/ROCclr
96724e055997473b36c74a0516d1e5ad9e1ca959
[ "MIT" ]
null
null
null
device/pal/palcounters.cpp
devurandom/ROCclr
96724e055997473b36c74a0516d1e5ad9e1ca959
[ "MIT" ]
null
null
null
/* Copyright (c) 2015 - 2021 Advanced Micro Devices, Inc. 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, mer...
33.6267
152
0.474489
devurandom
3da14a42571d935284d2b3c5246050a0b6bfe644
16,167
cc
C++
lib/fromfile.cc
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
null
null
null
lib/fromfile.cc
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
null
null
null
lib/fromfile.cc
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
null
null
null
// -*- related-file-name: "../include/click/fromfile.hh"; c-basic-offset: 4 -*- /* * fromfile.{cc,hh} -- provides convenient, fast access to files * Eddie Kohler * * Copyright (c) 1999-2000 Massachusetts Institute of Technology * Copyright (c) 2001-2003 International Computer Science Institute * Copyright (c) 200...
24.022288
135
0.623616
BorisPis
3da5cdd56c3e5b293637dbd764dbed8d1a4f6ebc
1,737
cpp
C++
PlatformIO/Peak-ESP32-fw/src/App/Pages/SystemInfos/SystemInfosModel.cpp
Xinyuan-LilyGO/T-Watch-2019-reissue-peak
9bc2b065e652ce78ef1bcff50a250d6bbea866e1
[ "MIT" ]
null
null
null
PlatformIO/Peak-ESP32-fw/src/App/Pages/SystemInfos/SystemInfosModel.cpp
Xinyuan-LilyGO/T-Watch-2019-reissue-peak
9bc2b065e652ce78ef1bcff50a250d6bbea866e1
[ "MIT" ]
null
null
null
PlatformIO/Peak-ESP32-fw/src/App/Pages/SystemInfos/SystemInfosModel.cpp
Xinyuan-LilyGO/T-Watch-2019-reissue-peak
9bc2b065e652ce78ef1bcff50a250d6bbea866e1
[ "MIT" ]
1
2021-12-22T08:32:14.000Z
2021-12-22T08:32:14.000Z
#include "SystemInfosModel.h" #include <stdio.h> using namespace Page; void SystemInfosModel::Init() { account = new Account("SystemInfosModel", AccountSystem::Broker(), 0, this); account->Subscribe("IMU"); account->Subscribe("Power"); account->Subscribe("Storage"); } void SystemInfosModel::Deinit()...
19.087912
80
0.583765
Xinyuan-LilyGO
3da63cb408e8386af37d557baa797fe3a21753c3
1,452
cpp
C++
Source/Core/TornadoEngine/Features/Graphic/TitleUpdaterSystem.cpp
RamilGauss/MMO-Framework
c7c97b019adad940db86d6533861deceafb2ba04
[ "MIT" ]
27
2015-01-08T08:26:29.000Z
2019-02-10T03:18:05.000Z
Source/Core/TornadoEngine/Features/Graphic/TitleUpdaterSystem.cpp
RamilGauss/MMO-Framework
c7c97b019adad940db86d6533861deceafb2ba04
[ "MIT" ]
1
2017-04-05T02:02:14.000Z
2017-04-05T02:02:14.000Z
Source/Core/TornadoEngine/Features/Graphic/TitleUpdaterSystem.cpp
RamilGauss/MMO-Framework
c7c97b019adad940db86d6533861deceafb2ba04
[ "MIT" ]
17
2015-01-18T02:50:01.000Z
2019-02-08T21:00:53.000Z
/* Author: Gudakov Ramil Sergeevich a.k.a. Gauss Гудаков Рамиль Сергеевич Contacts: [ramil2085@mail.ru, ramil2085@gmail.com] See for more information LICENSE.md. */ #include "TitleUpdaterSystem.h" #include "ButtonComponent.h" #include "DialogComponent.h" #include "InputTextComponent.h" #include "MenuNodeC...
40.333333
125
0.614325
RamilGauss
3dac8bc324e9532eb6200a2d9208019c5702462d
524
cpp
C++
src/crypto/test/src/UUIDTest.cpp
karz0n/algorithms
b2a08ba990c7e4f078eb7bf3c90d050eb38de9d8
[ "MIT" ]
1
2020-04-18T14:34:16.000Z
2020-04-18T14:34:16.000Z
src/crypto/test/src/UUIDTest.cpp
karz0n/algorithms
b2a08ba990c7e4f078eb7bf3c90d050eb38de9d8
[ "MIT" ]
null
null
null
src/crypto/test/src/UUIDTest.cpp
karz0n/algorithms
b2a08ba990c7e4f078eb7bf3c90d050eb38de9d8
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <gmock/gmock.h> #include "UUID.hpp" using namespace testing; using namespace algorithms; TEST(UUIDTest, ByTime) { const auto uuid = UUID::createByTime().toString(); EXPECT_THAT(uuid, Not(IsEmpty())); } TEST(UUIDTest, ByRandom) { const auto uuid = UUID::createByRandom()....
20.96
84
0.685115
karz0n
3dacbd05c705863a5af6703ad7ea29bc2383bec8
7,740
cpp
C++
lib/fuzzer/FuzzerUtilFuchsia.cpp
MaskRay/compiler-rt
3756e8110e6f7d8e1e8a47a048afe02fb3a09999
[ "MIT" ]
null
null
null
lib/fuzzer/FuzzerUtilFuchsia.cpp
MaskRay/compiler-rt
3756e8110e6f7d8e1e8a47a048afe02fb3a09999
[ "MIT" ]
null
null
null
lib/fuzzer/FuzzerUtilFuchsia.cpp
MaskRay/compiler-rt
3756e8110e6f7d8e1e8a47a048afe02fb3a09999
[ "MIT" ]
null
null
null
//===- FuzzerUtilFuchsia.cpp - Misc utils for Fuchsia. --------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
29.318182
80
0.624935
MaskRay
3db3f42f1fc67fbe8b23f279b65efa163b3c7a3b
1,142
cpp
C++
shortest_path_in_DAG.cpp
WizArdZ3658/Data-Structures-and-Algorithms
4098c0680c13127473d7ce6a41ead519559ff962
[ "MIT" ]
3
2020-09-14T04:50:13.000Z
2021-04-17T06:42:43.000Z
shortest_path_in_DAG.cpp
WizArdZ3658/Data-Structures-and-Algorithms
4098c0680c13127473d7ce6a41ead519559ff962
[ "MIT" ]
null
null
null
shortest_path_in_DAG.cpp
WizArdZ3658/Data-Structures-and-Algorithms
4098c0680c13127473d7ce6a41ead519559ff962
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int shortest_path(vector<vector<int>> &adj) { int n = adj.size(); int indegree[n] = {0}; int s_path[n] = {0}; for (int i = 0; i < n; ++i) { for (int j = 0; j < adj[i].size(); ++j) { indegree[adj[i][j]]++; } } queue<int> q; for (int i = 0; i < n; ++i) { i...
17.569231
61
0.517513
WizArdZ3658
3db6382bf802d86f342da1d68b881dfdcadfa86a
2,308
cpp
C++
Untitled-1.cpp
amitRan109/Cpp-Ex2
e52ee35d5a1857a423c2a78f96e44830bbf275a7
[ "MIT" ]
null
null
null
Untitled-1.cpp
amitRan109/Cpp-Ex2
e52ee35d5a1857a423c2a78f96e44830bbf275a7
[ "MIT" ]
null
null
null
Untitled-1.cpp
amitRan109/Cpp-Ex2
e52ee35d5a1857a423c2a78f96e44830bbf275a7
[ "MIT" ]
1
2021-02-05T11:09:02.000Z
2021-02-05T11:09:02.000Z
// string Tree:: relation(string relate) { // Node root = getRoot(); // if (root == NULL) return "unrelated"; // if (relate == "me") { // return root.getData(); // } // if (relate == "father"){ // if (root.getFather() == NULL) return "unrelated"; // return root.getFather().g...
37.225806
94
0.519064
amitRan109
3db7feb4d96c5071323b56e854906ac011e8682f
5,192
cpp
C++
src/test/WorldPacketHandlerTestCase.cpp
Lidocian/ZeroBots
297072e07f85fc661e1b0e9a34c09580e3bfef14
[ "PostgreSQL", "Zlib", "OpenSSL" ]
1
2018-05-06T12:13:04.000Z
2018-05-06T12:13:04.000Z
src/test/WorldPacketHandlerTestCase.cpp
Lidocian/ZeroBots
297072e07f85fc661e1b0e9a34c09580e3bfef14
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
src/test/WorldPacketHandlerTestCase.cpp
Lidocian/ZeroBots
297072e07f85fc661e1b0e9a34c09580e3bfef14
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
#include "pch.h" #include "aitest.h" #include "MockAiObjectContext.h" #include "MockedAiObjectContextTestCase.h" #include "../../modules/Bots/playerbot/strategy/generic/ChatCommandHandlerStrategy.h" using namespace ai; class WorldPacketHandlerTestCase : public MockedAiObjectContextTestCase { CPPUNIT_TEST_SUITE( W...
19.969231
108
0.561633
Lidocian
3dbfb7ec317b20d1d50b712a6ecc29a3c718378d
18,526
hpp
C++
libs/fnd/span/include/bksge/fnd/span/span.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/span/include/bksge/fnd/span/span.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/span/include/bksge/fnd/span/span.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file span.hpp * * @brief span の定義 * * @author myoukaku */ #ifndef BKSGE_FND_SPAN_SPAN_HPP #define BKSGE_FND_SPAN_SPAN_HPP #include <bksge/fnd/span/config.hpp> #if defined(BKSGE_USE_STD_SPAN) namespace bksge { using std::span; } // namespace bksge #else #include <bksge/fnd/s...
25.171196
111
0.685577
myoukaku
3dc8042fc8abf17f09b30eb2226376c847630ff6
4,748
cpp
C++
src/engine/render/renderer/pass_lighting.cpp
LunarGameTeam/Lunar-GameEngine
b387d7008525681fe06db8811f4f7ee95aa7aaf1
[ "MIT" ]
4
2020-08-07T02:18:13.000Z
2021-07-08T09:46:11.000Z
src/engine/render/renderer/pass_lighting.cpp
LunarGameTeam/Lunar-GameEngine
b387d7008525681fe06db8811f4f7ee95aa7aaf1
[ "MIT" ]
null
null
null
src/engine/render/renderer/pass_lighting.cpp
LunarGameTeam/Lunar-GameEngine
b387d7008525681fe06db8811f4f7ee95aa7aaf1
[ "MIT" ]
null
null
null
#include "render/renderer/pass_lighting.h" #include "core/asset/asset_subsystem.h" #include "render/render_subsystem.h" #include "render/interface/i_light.h" #include "render/rhi/rhi_device.h" #include "render/rhi/rhi_command_list.h" namespace luna { namespace render { LightingRenderPass::LightingRenderPass(): m_def...
26.52514
102
0.721567
LunarGameTeam
3dca8542a1fec0d1582cd2640b4d1ddf77fd09d4
583
cpp
C++
libkiml/src/stringpool.cpp
alexanderdna/KimL
58915197ac5a85686a9d6126c4c2fe0374419fde
[ "MIT" ]
null
null
null
libkiml/src/stringpool.cpp
alexanderdna/KimL
58915197ac5a85686a9d6126c4c2fe0374419fde
[ "MIT" ]
1
2020-07-13T03:44:19.000Z
2020-07-14T08:32:03.000Z
libkiml/src/stringpool.cpp
alexanderdna/KimL
58915197ac5a85686a9d6126c4c2fe0374419fde
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "stringpool.h" void StringPool::Init(void) { this->buffer.reserve(5120); //5KB } void StringPool::AddString(KIMLCSTRING str) { std::string s(str); std::map<std::string, KIMLUINT>::iterator it = this->table.find(s); if (it == this->table.end()) { KIMLUINT ptr = this->buffer.size();...
18.21875
69
0.665523
alexanderdna
3dcaf9903b786f895d5385684bfd728f7534822c
2,455
cc
C++
cpp/src/arrow/util/compression_brotli.cc
thaining/arrow
b796b579b8aba472c6690a49f95e8e174d01a4bb
[ "Apache-2.0" ]
null
null
null
cpp/src/arrow/util/compression_brotli.cc
thaining/arrow
b796b579b8aba472c6690a49f95e8e174d01a4bb
[ "Apache-2.0" ]
null
null
null
cpp/src/arrow/util/compression_brotli.cc
thaining/arrow
b796b579b8aba472c6690a49f95e8e174d01a4bb
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
36.641791
85
0.686354
thaining
3dce70b1ce463fd95c96a45c8ad93c5d9a561d55
7,054
cpp
C++
3dparty/taglib/taglib/riff/wav/wavfile.cpp
olanser/uteg
c8c79a8e8e5d185253b415e67f7b6d9e37114da3
[ "MIT" ]
3,066
2016-06-10T09:23:40.000Z
2022-03-31T11:01:01.000Z
3dparty/taglib/taglib/riff/wav/wavfile.cpp
olanser/uteg
c8c79a8e8e5d185253b415e67f7b6d9e37114da3
[ "MIT" ]
414
2016-09-20T20:26:05.000Z
2022-03-29T00:43:13.000Z
3dparty/taglib/taglib/riff/wav/wavfile.cpp
olanser/uteg
c8c79a8e8e5d185253b415e67f7b6d9e37114da3
[ "MIT" ]
310
2016-06-13T21:53:04.000Z
2022-03-18T14:36:38.000Z
/*************************************************************************** copyright : (C) 2008 by Scott Wheeler email : wheeler@kde.org ***************************************************************************/ /*******************************************************************...
26.618868
85
0.523391
olanser
3dcfa251c840550bb543c175dab852b9b79314ad
316,966
hpp
C++
inc/pegtl.hpp
glaba/glc
f262ee29594da9cee3ddfb476baa4a300d0eace4
[ "MIT" ]
null
null
null
inc/pegtl.hpp
glaba/glc
f262ee29594da9cee3ddfb476baa4a300d0eace4
[ "MIT" ]
null
null
null
inc/pegtl.hpp
glaba/glc
f262ee29594da9cee3ddfb476baa4a300d0eace4
[ "MIT" ]
null
null
null
/* Welcome to the Parsing Expression Grammar Template Library (PEGTL). -e See https://github.com/taocpp/PEGTL/ for more information, documentation, etc. -e The library is licensed as follows: The MIT License (MIT) Copyright (c) 2007-2020 Dr. Colin Hirsch and Daniel Frey Permission is hereby granted, free of charge...
29.335123
834
0.592966
glaba
3dd826c3ebf05ae78877f8923818494ada1ff2b2
5,033
hpp
C++
src/StateSystem.hpp
epicbrownie/Epic
c54159616b899bb24c6d59325d582e73f2803ab6
[ "MIT" ]
null
null
null
src/StateSystem.hpp
epicbrownie/Epic
c54159616b899bb24c6d59325d582e73f2803ab6
[ "MIT" ]
29
2016-08-01T14:50:12.000Z
2017-12-17T20:28:27.000Z
src/StateSystem.hpp
epicbrownie/Epic
c54159616b899bb24c6d59325d582e73f2803ab6
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2017 Ronnie Brohn (EpicBrownie) // // Distributed under The MIT License (MIT). // (See accompanying file License.txt or copy at // https://opensource.org/licens...
21.326271
84
0.641963
epicbrownie
3dd8cf6ffba045e1fc8596f8bcdf4dc6c02188f1
352
hpp
C++
components/python/detail/forward.hpp
jinntechio/RocketJoe
9b08a21fda1609c57b40ef8b9750897797ac815b
[ "BSD-3-Clause" ]
9
2020-07-20T15:32:07.000Z
2021-06-04T13:02:58.000Z
components/python/detail/forward.hpp
jinntechio/RocketJoe
9b08a21fda1609c57b40ef8b9750897797ac815b
[ "BSD-3-Clause" ]
26
2019-10-27T12:58:42.000Z
2020-05-30T16:43:48.000Z
components/python/detail/forward.hpp
jinntechio/RocketJoe
9b08a21fda1609c57b40ef8b9750897797ac815b
[ "BSD-3-Clause" ]
3
2020-08-29T07:07:49.000Z
2021-06-04T13:02:59.000Z
#pragma once namespace components { namespace python { namespace detail { class data_set; class file_manager; class file_view; class context; class context_manager; class file_manager; class pipelien_data_set; }}} // namespace components::python::detail namespace boost { template<cla...
19.555556
60
0.713068
jinntechio
3ddba1dee7955e894c7f5f6062caa28e9763c5d6
2,348
cpp
C++
src/extern-libs/DXInterceptorLibs/xgraph/XGraphDataNotation.cpp
heyyod/AttilaSimulator
cf9bcaa8c86dee378abbfb5967896dd9a1ab5ce1
[ "BSD-3-Clause" ]
null
null
null
src/extern-libs/DXInterceptorLibs/xgraph/XGraphDataNotation.cpp
heyyod/AttilaSimulator
cf9bcaa8c86dee378abbfb5967896dd9a1ab5ce1
[ "BSD-3-Clause" ]
1
2022-03-18T05:02:32.000Z
2022-03-21T07:27:48.000Z
src/extern-libs/DXInterceptorLibs/xgraph/XGraphDataNotation.cpp
heyyod/AttilaSimulator
cf9bcaa8c86dee378abbfb5967896dd9a1ab5ce1
[ "BSD-3-Clause" ]
null
null
null
// XGraphDataNotation.cpp: Implementierung der Klasse XGraphDataNotation. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "XGraphDataNotation.h" #include "XGraphDataSerie.h" #include "XGraph.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #def...
23.959184
104
0.644804
heyyod
3de367680d4198058bcc8b91c87a2267491b006a
4,221
cpp
C++
api/python/DEX/objects/pyHeader.cpp
ahawad/LIEF
88931ea405d9824faa5749731427533e0c27173e
[ "Apache-2.0" ]
null
null
null
api/python/DEX/objects/pyHeader.cpp
ahawad/LIEF
88931ea405d9824faa5749731427533e0c27173e
[ "Apache-2.0" ]
null
null
null
api/python/DEX/objects/pyHeader.cpp
ahawad/LIEF
88931ea405d9824faa5749731427533e0c27173e
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 - 2022 R. Thomas * Copyright 2017 - 2022 Quarkslab * * 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 req...
34.598361
79
0.631604
ahawad
3de43e659fc789111f0b749ee864dddfec0d486c
4,217
cxx
C++
source/code/core/collections/tests/test_queue.cxx
iceshard-engine/engine
4f2092af8d2d389ea72addc729d0c2c8d944c95c
[ "BSD-3-Clause-Clear" ]
39
2019-08-17T09:08:51.000Z
2022-02-13T10:14:19.000Z
source/code/core/collections/tests/test_queue.cxx
iceshard-engine/engine
4f2092af8d2d389ea72addc729d0c2c8d944c95c
[ "BSD-3-Clause-Clear" ]
63
2020-05-22T16:09:30.000Z
2022-01-21T14:24:05.000Z
source/code/core/collections/tests/test_queue.cxx
iceshard-engine/engine
4f2092af8d2d389ea72addc729d0c2c8d944c95c
[ "BSD-3-Clause-Clear" ]
null
null
null
#include <catch2/catch.hpp> #include <ice/memory/memory_globals.hxx> #include <ice/memory/proxy_allocator.hxx> #include <ice/pod/queue.hxx> SCENARIO("ice :: pod :: Queue") { namespace queue = ice::pod::queue; ice::memory::ProxyAllocator alloc{ ice::memory::default_allocator(), "queue_test" }; ice::pod::Qu...
30.338129
107
0.487076
iceshard-engine
3de4b080b151db5aded6bf2c3540ec6c597795ff
746
hpp
C++
app/app/render/material.hpp
muleax/slope
254138703163705b57332fc7490dd2eea0082b57
[ "MIT" ]
6
2022-02-05T23:28:12.000Z
2022-02-24T11:08:04.000Z
app/app/render/material.hpp
muleax/slope
254138703163705b57332fc7490dd2eea0082b57
[ "MIT" ]
null
null
null
app/app/render/material.hpp
muleax/slope
254138703163705b57332fc7490dd2eea0082b57
[ "MIT" ]
null
null
null
#pragma once #include "app/render/mesh.hpp" #include "slope/math/matrix44.hpp" namespace slope::app { class Material { public: Material(std::shared_ptr<MeshShader> shader) { m_shader = std::move(shader); } ~Material() = default; const MeshShader& shader() const { return *m_shader; } void...
22.606061
74
0.654155
muleax
3de8f2e2d0cdf4b65cea513af95d002aa92ee99c
398
cpp
C++
Recursion/Recursion - 1 - Basics/05. CheckIfArrayIsSortedOrNot.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
2
2021-05-21T17:10:02.000Z
2021-05-29T05:13:06.000Z
Recursion/Recursion - 1 - Basics/05. CheckIfArrayIsSortedOrNot.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
null
null
null
Recursion/Recursion - 1 - Basics/05. CheckIfArrayIsSortedOrNot.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; bool is_sorted(int a[], int n) { if (n == 1 || n == 0) return true; // if (a[0] > a[1]) // return false; if (a[n - 1] < a[n - 2]) return false; return is_sorted(a, n - 1); } int main() { int arr[] = {0, 1, 2, 2, 3, 4, 5, 6}; int...
18.090909
41
0.459799
sohamnandi77
3dec393e5efd50be03aacbbe26b5c971f80bae78
4,382
hpp
C++
include/list/doublelist.hpp
Dacilndak/ds
edae4a057912946329066338bada4deea8d723ab
[ "MIT" ]
null
null
null
include/list/doublelist.hpp
Dacilndak/ds
edae4a057912946329066338bada4deea8d723ab
[ "MIT" ]
null
null
null
include/list/doublelist.hpp
Dacilndak/ds
edae4a057912946329066338bada4deea8d723ab
[ "MIT" ]
null
null
null
#ifndef _MPH_DOUBLE_LIST_H_ #define _MPH_DOUBLE_LIST_H_ #include <iostream> #include "node.hpp" template <typename T> class DoubleList { public: Node<T> * fwalk(Node<T> * start, int dist) const; Node<T> * rwalk(Node<T> * start, int dist) const; Node<T> * head; Node<T> * tail; public: DoubleList(); Double...
20.966507
72
0.580785
Dacilndak
3dec8082c3a6bd13f612a2a986484d874d20c4c6
228
cpp
C++
Eva/Config.cpp
wangxh1007/ddmk
a6ff276d96b663e71b3ccadabc2d92c50c18ebac
[ "Zlib" ]
null
null
null
Eva/Config.cpp
wangxh1007/ddmk
a6ff276d96b663e71b3ccadabc2d92c50c18ebac
[ "Zlib" ]
null
null
null
Eva/Config.cpp
wangxh1007/ddmk
a6ff276d96b663e71b3ccadabc2d92c50c18ebac
[ "Zlib" ]
null
null
null
#include "Config.h" CONFIG Config; CONFIG DefaultConfig; const char * Config_directory = "configs"; const char * Config_file = "Eva.bin"; byte * Config_addr = (byte*)&Config; uint32 Config_size = (uint32)sizeof(CONFIG);
20.727273
44
0.714912
wangxh1007
3dee87132f8f4332eeb1b1e72026fdc656db0ce2
4,311
cpp
C++
tests/src_test/config_test/config_test.cpp
dleliuhin/CV_Labs
cb8282f0e48cd022c07dafdd106f979ff679bee7
[ "DOC" ]
null
null
null
tests/src_test/config_test/config_test.cpp
dleliuhin/CV_Labs
cb8282f0e48cd022c07dafdd106f979ff679bee7
[ "DOC" ]
null
null
null
tests/src_test/config_test/config_test.cpp
dleliuhin/CV_Labs
cb8282f0e48cd022c07dafdd106f979ff679bee7
[ "DOC" ]
null
null
null
/*! \file config_test.cpp * \brief ConfigTest class implementation. * \authors Dmitrii Leliuhin * \date July 2020 */ //======================================================================================= #include "config_test.h" #include "config.h" #include <filesystem> //=====================...
37.486957
90
0.4971
dleliuhin
3df35c816015d8031bd2df0f2fcc3725e7346b53
3,532
cpp
C++
tests/dcm_tests_common.cpp
skybaboon/dailycashmanager
0b022cc230a8738d5d27a799728da187e22f17f8
[ "Apache-2.0" ]
4
2016-07-05T07:42:07.000Z
2020-07-15T15:27:22.000Z
tests/dcm_tests_common.cpp
skybaboon/dailycashmanager
0b022cc230a8738d5d27a799728da187e22f17f8
[ "Apache-2.0" ]
1
2020-05-07T20:58:21.000Z
2020-05-07T20:58:21.000Z
tests/dcm_tests_common.cpp
skybaboon/dailycashmanager
0b022cc230a8738d5d27a799728da187e22f17f8
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2013 Matthew Harvey * * 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...
26.961832
75
0.7047
skybaboon
3df528e20f8991878d477ef35b8241d9a7f12e2a
505
cpp
C++
pg_answer/602b44e70a2a44769de13a38a02e96d0.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
8
2019-10-09T14:33:42.000Z
2020-12-03T00:49:29.000Z
pg_answer/602b44e70a2a44769de13a38a02e96d0.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
pg_answer/602b44e70a2a44769de13a38a02e96d0.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
#include <iostream> #include <vector> int ans; std::vector<int> v; void dfs(int i, int m) { if (m == 0) { ans++; return; } if (i == v.size()) return; dfs(i + 1, m - v[i]); dfs(i + 1, m); } int main() { while (true) { int n; std::cin >> n; v.push_ba...
16.290323
42
0.4
Guyutongxue
3df77a6245cd9674970ecbdfdc58cc8e5bb6f24f
832
hpp
C++
src/Project6/SymbolsTable.hpp
HSU-F20-CS243/p06-starter
108791397c0454575f72d6787e0214417e0f5ec2
[ "Apache-2.0" ]
null
null
null
src/Project6/SymbolsTable.hpp
HSU-F20-CS243/p06-starter
108791397c0454575f72d6787e0214417e0f5ec2
[ "Apache-2.0" ]
null
null
null
src/Project6/SymbolsTable.hpp
HSU-F20-CS243/p06-starter
108791397c0454575f72d6787e0214417e0f5ec2
[ "Apache-2.0" ]
null
null
null
#pragma once #include <unordered_map> #include <string> using std::unordered_map; using std::string; using std::to_string; class SymbolsTable { private: unordered_map<string, int> _lookup_table; int _address_counter = 16; public: SymbolsTable() { //predefined symbols (p. 110 in book) _lookup_table["SP"] = 0; ...
20.292683
53
0.661058
HSU-F20-CS243
3dfb9a4cb4df21161cc102fcdcbaa3027a9b4430
1,141
cpp
C++
mainAP.cpp
julioofilho/AP1
0d33c2d08763e752935f11bb111a2a03223ce78c
[ "MIT" ]
null
null
null
mainAP.cpp
julioofilho/AP1
0d33c2d08763e752935f11bb111a2a03223ce78c
[ "MIT" ]
null
null
null
mainAP.cpp
julioofilho/AP1
0d33c2d08763e752935f11bb111a2a03223ce78c
[ "MIT" ]
null
null
null
#define _GLIBCXX_USE_CXX11_ABI 0 #include <iostream> #include <vector> #include <string> #include <iterator> #include <algorithm> #include "gerenciar.h" #include "automovel.h" #include "concessionaria.h" using namespace std; gerenciar listaConc; int automovel::numeroCarros = 0; int concessionaria::numeroConc = 0; i...
21.12963
63
0.584575
julioofilho
3dfea706fba69eb8e27a31804902bd0a67d8e7b2
718
cpp
C++
src/base/LayerHandler.cpp
pitchShifter/liteForge
df3337842005e6b113663fcf85e9331a18e678b9
[ "MIT" ]
null
null
null
src/base/LayerHandler.cpp
pitchShifter/liteForge
df3337842005e6b113663fcf85e9331a18e678b9
[ "MIT" ]
null
null
null
src/base/LayerHandler.cpp
pitchShifter/liteForge
df3337842005e6b113663fcf85e9331a18e678b9
[ "MIT" ]
null
null
null
#include "LayerHandler.h" namespace liteForge { void LayerHandler::add( std::string name, Layer *layer ) { if( !find( name ) ) layers.insert( std::make_pair( name, layerPtr( layer ) ) ); } bool LayerHandler::find( std::string name ) { auto it = layers.find( name ); // Found if( it != layers.end() ) ...
16.697674
68
0.622563
pitchShifter
ad0227d39811a2b2a3496cf245dc27c03e17322f
3,344
hpp
C++
include/Nazara/Math/Angle.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
include/Nazara/Math/Angle.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
include/Nazara/Math/Angle.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Math module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_MATH_ANGLE_HPP #define NAZARA_MATH_ANGLE_HPP #include <Nazara/Core/TypeTag.hpp> #inclu...
30.678899
138
0.727572
jayrulez
ad06bcad77750d86702173cdadf4e33def8bbdb7
366
cpp
C++
src/Animation/AnimationManager.cpp
Henningson/Connect2
2ccf3431016a11b7fd6aeac65e259f197c01f121
[ "MIT" ]
1
2020-01-06T21:06:29.000Z
2020-01-06T21:06:29.000Z
src/Animation/AnimationManager.cpp
Henningson/Connect2
2ccf3431016a11b7fd6aeac65e259f197c01f121
[ "MIT" ]
3
2020-01-31T11:53:50.000Z
2020-01-31T11:54:24.000Z
src/Animation/AnimationManager.cpp
Henningson/Connect2
2ccf3431016a11b7fd6aeac65e259f197c01f121
[ "MIT" ]
1
2021-06-22T19:42:00.000Z
2021-06-22T19:42:00.000Z
#pragma once #include "AnimationManager.h" AnimationManager::AnimationManager() {} void AnimationManager::drawAnimations(sf::RenderTarget& target, sf::RenderStates states) { for (AnimatedSprite* sprite : this->sprites) { //sprite->draw(target, states); } } void AnimationManager::addAnimatedSprite(AnimatedSprite*...
26.142857
90
0.762295
Henningson
ad12fa59690383ce7e4478050528dea924fd56ef
9,293
cpp
C++
depspawn-blitz-0.10/benchmarks/acoustic.cpp
fraguela/depspawn
b5760f4c0d38a1b245ee5274e2ccc5c5fe2d3d45
[ "MIT" ]
8
2017-04-12T11:05:40.000Z
2022-03-29T11:10:27.000Z
ibtk/third_party/blitz-0.10/benchmarks/acoustic.cpp
MSV-Project/IBAMR
3cf614c31bb3c94e2620f165ba967cba719c45ea
[ "BSD-3-Clause" ]
null
null
null
ibtk/third_party/blitz-0.10/benchmarks/acoustic.cpp
MSV-Project/IBAMR
3cf614c31bb3c94e2620f165ba967cba719c45ea
[ "BSD-3-Clause" ]
null
null
null
//#define BZ_DISABLE_RESTRICT #define BZ_ARRAY_2D_NEW_STENCIL_TILING #include <blitz/array.h> #include <blitz/timer.h> #include <blitz/benchext.h> #include <blitz/vector2.h> #ifdef BZ_HAVE_STD #include <fstream> #else #include <fstream.h> #endif BZ_USING_NAMESPACE(blitz) #if defined(BZ_FORTRAN_SYMBOLS_WITH_TRAI...
25.116216
71
0.617454
fraguela
ad173a61a75d8a4dd633c6011e92503459e4c5f0
852
hpp
C++
src/common/interfaces/presenters/tools/inavigatetoolpresenteraux.hpp
squeevee/Addle
20ec4335669fbd88d36742f586899d8416920959
[ "MIT" ]
3
2020-03-05T06:36:51.000Z
2020-06-20T03:25:02.000Z
src/common/interfaces/presenters/tools/inavigatetoolpresenteraux.hpp
squeevee/Addle
20ec4335669fbd88d36742f586899d8416920959
[ "MIT" ]
13
2020-03-11T17:43:42.000Z
2020-12-11T03:36:05.000Z
src/common/interfaces/presenters/tools/inavigatetoolpresenteraux.hpp
squeevee/Addle
20ec4335669fbd88d36742f586899d8416920959
[ "MIT" ]
1
2020-09-28T06:53:46.000Z
2020-09-28T06:53:46.000Z
/** * Addle source code * @file * @copyright Copyright 2020 Eleanor Hawk * @copyright Modification and distribution permitted under the terms of the * MIT License. See "LICENSE" for full details. */ #ifndef INAVIGATEPRESENTERAUX_HPP #define INAVIGATEPRESENTERAUX_HPP #include "compat.hpp" #include "idtypes/tooli...
23.666667
79
0.764085
squeevee
ad19a322ff3caa634a45e2f8fa0b235f8a42bb3a
7,754
cxx
C++
3rd/fltk/src/Choice.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
11
2017-09-30T12:21:55.000Z
2021-04-29T21:31:57.000Z
3rd/fltk/src/Choice.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
2
2017-07-11T11:20:08.000Z
2018-03-27T12:09:02.000Z
3rd/fltk/src/Choice.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
24
2018-03-27T11:46:16.000Z
2021-05-01T20:28:34.000Z
// "$Id: Choice.cxx 7513 2010-04-15 17:19:27Z spitzak $" // // Copyright 1998-2006 by Bill Spitzak and others. // // 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 o...
30.407843
80
0.66959
MarioHenze
ad1d04ce83b9c96dfdccff1799d52dfdd347bfef
12,453
hpp
C++
src/centurion/system.hpp
Creeperface01/centurion
e3b674c11849367a18c2d976ce94071108e1590d
[ "MIT" ]
14
2020-05-17T21:38:03.000Z
2020-11-21T00:16:25.000Z
src/centurion/system.hpp
Creeperface01/centurion
e3b674c11849367a18c2d976ce94071108e1590d
[ "MIT" ]
70
2020-04-26T17:08:52.000Z
2020-11-21T17:34:03.000Z
src/centurion/system.hpp
Creeperface01/centurion
e3b674c11849367a18c2d976ce94071108e1590d
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2019-2022 Albin Johansson * * 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...
23.810707
95
0.688589
Creeperface01
ad1fb0131c5a29a41edd18d9fb0e649b5d7f10ad
720
cpp
C++
LeetCode/Stone Game VII/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
LeetCode/Stone Game VII/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
null
null
null
LeetCode/Stone Game VII/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
null
null
null
class Solution { private: vector<vector<int>> dp; int solve(const vector<int>& stones, int i, int j, int score) { if (i == j) return 0; if (dp[i][j] != -1) return dp[i][j]; int a = score - stones[i] - solve(stones, i + 1, j, score - stones[i]); int b = score - stones[...
31.304348
80
0.483333
Code-With-Aagam
ad24c72b700631e2bc7c3305809dc33de94046ea
3,291
cpp
C++
examples/Reactor/WFMO_Reactor/Abandoned.cpp
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
null
null
null
examples/Reactor/WFMO_Reactor/Abandoned.cpp
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
null
null
null
examples/Reactor/WFMO_Reactor/Abandoned.cpp
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
1
2020-04-26T03:07:12.000Z
2020-04-26T03:07:12.000Z
//============================================================================= /** * @file Abandoned.cpp * * Tests the WFMO_Reactor's ability to handle abandoned mutexes. * * @author Irfan Pyarali <irfan@cs.wustl.edu> */ //==========================================================================...
24.744361
84
0.508052
azerothcore
ad24f559138c35dfb5a8732db1b7a72982c7a9c3
6,445
cpp
C++
201922/dec201922_2.cpp
jibsen/aocpp2019
99cda72f6477bde0731c5fc958eebbc2219d6fb3
[ "MIT" ]
2
2020-04-26T17:31:31.000Z
2020-10-03T00:54:16.000Z
201922/dec201922_2.cpp
jibsen/aocpp2019
99cda72f6477bde0731c5fc958eebbc2219d6fb3
[ "MIT" ]
null
null
null
201922/dec201922_2.cpp
jibsen/aocpp2019
99cda72f6477bde0731c5fc958eebbc2219d6fb3
[ "MIT" ]
null
null
null
// // Advent of Code 2019, day 22, part two // // First we note that we do not need to perform the operations on an entire // deck to be able to track the position of one card through the shuffle. // // In the modular arithmetic of the deck, the stack shuffle is equivalent to // negating the position, the cut shuffle ...
24.788462
102
0.627463
jibsen
ad2a1afdd614128fb7569d950746c6408c1812d9
2,076
cpp
C++
v2/src/Neuron.cpp
cherosene/learning_algorithms
8ec9d8b7f744a375170ac2396cfb8bc216f84f53
[ "MIT" ]
null
null
null
v2/src/Neuron.cpp
cherosene/learning_algorithms
8ec9d8b7f744a375170ac2396cfb8bc216f84f53
[ "MIT" ]
null
null
null
v2/src/Neuron.cpp
cherosene/learning_algorithms
8ec9d8b7f744a375170ac2396cfb8bc216f84f53
[ "MIT" ]
null
null
null
#include "Neuron.h" #include <iostream> #include <cmath> unsigned int Neuron::idGenerator = 0; const std::function<float(float)> Neuron::SIGMOID = [](float r){ float res = 1 + exp(-r); return 1/res; }; const std::function<float(float)> Neuron::SIGMOID_DER = [](float r){ float res = 2 * ( cosh(r) +...
21.402062
122
0.630058
cherosene