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
5dce0207b6d99ec0a88c88a57160b5a0ecc20997
4,507
cpp
C++
source/predictdepth.cpp
astolap/WaSP
2daa1963d1f3d3fb50d3b576d470f9af0f6ce463
[ "BSD-2-Clause" ]
4
2020-03-04T10:41:26.000Z
2021-04-15T06:29:41.000Z
source/predictdepth.cpp
astolap/WaSP
2daa1963d1f3d3fb50d3b576d470f9af0f6ce463
[ "BSD-2-Clause" ]
2
2019-01-14T15:58:47.000Z
2021-04-18T09:09:51.000Z
source/predictdepth.cpp
astolap/WaSP
2daa1963d1f3d3fb50d3b576d470f9af0f6ce463
[ "BSD-2-Clause" ]
4
2018-07-20T14:36:42.000Z
2021-06-28T13:03:57.000Z
/*BSD 2-Clause License * Copyright(c) 2019, Pekka Astola * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met : * * 1. Redistributions of source code must retain the above copyright notice, this * list ...
31.739437
87
0.607278
astolap
5dce530424b87c168b126ff86d52f7deab82eb32
375
hpp
C++
src/texture.hpp
Honeybunch/raycaster
7fc70e1cae2a4959fec6e99a94ccf57f36420c88
[ "MIT" ]
null
null
null
src/texture.hpp
Honeybunch/raycaster
7fc70e1cae2a4959fec6e99a94ccf57f36420c88
[ "MIT" ]
null
null
null
src/texture.hpp
Honeybunch/raycaster
7fc70e1cae2a4959fec6e99a94ccf57f36420c88
[ "MIT" ]
null
null
null
#pragma once #include "texture_types.hpp" namespace raycaster { texture load_texture(const char *filepath); const uint8_t *texture_get_image(texture t); uint32_t texture_get_width(texture t); uint32_t texture_get_height(texture t); uint32_t texture_get_channels(texture t); uint32_t texture_get_size(texture t); voi...
22.058824
44
0.810667
Honeybunch
5dd761884638a68e07ba43e0773063c7e933c7ec
1,969
cc
C++
gui/load_relief_frame.cc
soukouki/simutrans
758283664349afb5527db470780767abb4db8114
[ "Artistic-1.0" ]
23
2017-03-11T16:44:14.000Z
2022-02-10T13:31:03.000Z
gui/load_relief_frame.cc
soukouki/simutrans
758283664349afb5527db470780767abb4db8114
[ "Artistic-1.0" ]
32
2018-01-31T11:11:16.000Z
2022-03-03T14:37:58.000Z
gui/load_relief_frame.cc
soukouki/simutrans
758283664349afb5527db470780767abb4db8114
[ "Artistic-1.0" ]
17
2017-08-02T15:59:25.000Z
2022-02-10T13:31:06.000Z
/* * This file is part of the Simutrans project under the Artistic License. * (see LICENSE.txt) */ #include <string> #include <stdio.h> #include "../simworld.h" #include "load_relief_frame.h" #include "welt.h" #include "simwin.h" #include "../dataobj/translator.h" #include "../dataobj/settings.h" #include "../data...
25.907895
135
0.731336
soukouki
5de0866d172736958bd7f785d6d2b2f265c6201b
495
hpp
C++
contracts/vapaeetokens/vapaeetokens.dispatcher.hpp
vapaee/vapaee.io-source
b2b0c07850a817629055a848b9239a59dc10b545
[ "MIT" ]
7
2019-06-09T03:52:14.000Z
2020-03-01T13:27:24.000Z
contracts/vapaeetokens/vapaeetokens.dispatcher.hpp
vapaee/vapaee.io-source
b2b0c07850a817629055a848b9239a59dc10b545
[ "MIT" ]
27
2019-12-28T12:29:12.000Z
2022-03-02T04:08:55.000Z
contracts/vapaeetokens/vapaeetokens.dispatcher.hpp
vapaee/vapaee.io-source
b2b0c07850a817629055a848b9239a59dc10b545
[ "MIT" ]
2
2019-11-29T22:32:47.000Z
2021-02-18T23:47:47.000Z
#define HANDLER void #define EOSIO_DISPATCH_VAPAEE( TYPE, MEMBERS, HANDLERS ) \ extern "C" { \ void apply( uint64_t receiver, uint64_t code, uint64_t action ) { \ if( code == receiver ) { \ switch( action ) { \ EOSIO_DISPATCH_HELPER( TYPE, MEMBERS ) \ } \ } \ name han...
30.9375
82
0.567677
vapaee
5de18f2b8e19e5f3e560b6afae3f6c584c0624e2
1,697
cpp
C++
ext/include/osgEarth/TextureCompositor.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
6
2015-09-26T15:33:41.000Z
2021-06-13T13:21:50.000Z
ext/include/osgEarth/TextureCompositor.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
null
null
null
ext/include/osgEarth/TextureCompositor.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
5
2015-05-04T09:02:23.000Z
2019-06-17T11:34:12.000Z
/* -*-c++-*- */ /* osgEarth - Dynamic map generation toolkit for OpenSceneGraph * Copyright 2008-2013 Pelican Mapping * http://osgearth.org * * osgEarth is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundat...
28.762712
98
0.709487
energonQuest
5de81bd593ea23d921b914f76e6e658d904aa090
475
cpp
C++
alerts/zlipWrapper/private/CCRC.cpp
ymuv/CameraAlerts
7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4
[ "BSD-3-Clause" ]
null
null
null
alerts/zlipWrapper/private/CCRC.cpp
ymuv/CameraAlerts
7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4
[ "BSD-3-Clause" ]
null
null
null
alerts/zlipWrapper/private/CCRC.cpp
ymuv/CameraAlerts
7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4
[ "BSD-3-Clause" ]
null
null
null
#include <string> #include <QByteArray> #include <zlib.h> #include "alerts/zlipWrapper/CCRC.hpp" template <class T> unsigned long CCRC::calc(const T& data, int offset, int endOffset) { unsigned long crc = crc32(0L, Z_NULL, 0); crc = crc32(crc, reinterpret_cast<const unsigned char *>( data.dat...
23.75
79
0.644211
ymuv
5de87638ebd72dc517076c2a159d070c8504250a
2,972
cpp
C++
fboss/agent/packet/test/ICMPHdrTest.cpp
vitaliy-senchyshyn/fboss
6cb64342bfba08a668848e2b105689ff11887aa1
[ "BSD-3-Clause" ]
2
2018-02-28T06:57:08.000Z
2018-02-28T06:57:37.000Z
fboss/agent/packet/test/ICMPHdrTest.cpp
vitaliy-senchyshyn/fboss
6cb64342bfba08a668848e2b105689ff11887aa1
[ "BSD-3-Clause" ]
2
2018-10-06T18:29:44.000Z
2018-10-07T16:46:04.000Z
fboss/agent/packet/test/ICMPHdrTest.cpp
vitaliy-senchyshyn/fboss
6cb64342bfba08a668848e2b105689ff11887aa1
[ "BSD-3-Clause" ]
1
2019-10-14T05:28:17.000Z
2019-10-14T05:28:17.000Z
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
26.535714
79
0.702557
vitaliy-senchyshyn
5de996fa4d288cf20fa94093dc1352dea15f8d33
7,167
cpp
C++
tests/vu/test_runner.cpp
unknownbrackets/ps2autotests
97469ffbed8631277b94e28d01dabd702aa97ef3
[ "0BSD" ]
25
2015-04-07T23:13:49.000Z
2021-09-27T08:03:53.000Z
tests/vu/test_runner.cpp
unknownbrackets/ps2autotests
97469ffbed8631277b94e28d01dabd702aa97ef3
[ "0BSD" ]
42
2015-04-27T03:12:48.000Z
2018-05-08T13:53:39.000Z
tests/vu/test_runner.cpp
unknownbrackets/ps2autotests
97469ffbed8631277b94e28d01dabd702aa97ef3
[ "0BSD" ]
8
2015-04-26T06:29:01.000Z
2021-05-27T09:50:03.000Z
#include <assert.h> #include <common-ee.h> #include <string.h> #include <timer.h> #include "test_runner.h" static const bool DEBUG_TEST_RUNNER = false; static u32 vu_reg_pos = 0x100; // 16 integer regs, 32 float regs, 3 status regs. static u32 vu_reg_size = 16 * (16 + 32 + 3); static u8 *const vu0_reg_mem = vu0_mem ...
23.89
130
0.629273
unknownbrackets
5decf23567abe79738db2ccd0ab8f389a42e1458
1,600
hpp
C++
algorithms/kruskal.hpp
EMACC99/graph_visualizer
79291c2365c139d846b67698c2b983d22b670f6c
[ "MIT" ]
null
null
null
algorithms/kruskal.hpp
EMACC99/graph_visualizer
79291c2365c139d846b67698c2b983d22b670f6c
[ "MIT" ]
1
2021-03-16T20:13:58.000Z
2021-03-17T01:04:08.000Z
algorithms/kruskal.hpp
EMACC99/graph_visualizer
79291c2365c139d846b67698c2b983d22b670f6c
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <algorithm> #include "../includes/node.hpp" #include "../includes/edge.hpp" #include "../includes/globals.hpp" // int raiz(const int &u, const std::vector<int> &padres){ // if (padres[u] != -1) // return raiz(padres[u], padres); // return u; // } /** * @brief ...
24.242424
116
0.575
EMACC99
5df28db94f03945126a46fe651a3622346012c95
2,145
hpp
C++
engine/lib/math-funcs/include/noob/math/mat4.hpp
ColinGilbert/noobwerkz-engine
f5670e98ca0dada8865be9ab82d25d3acf549ebe
[ "Apache-2.0" ]
23
2015-03-02T10:56:40.000Z
2021-01-27T03:32:49.000Z
engine/lib/math-funcs/include/noob/math/mat4.hpp
ColinGilbert/noobwerkz-engine-borked
f5670e98ca0dada8865be9ab82d25d3acf549ebe
[ "Apache-2.0" ]
73
2015-04-14T09:39:05.000Z
2020-11-11T21:49:10.000Z
engine/lib/math-funcs/include/noob/math/mat4.hpp
ColinGilbert/noobwerkz-engine-borked
f5670e98ca0dada8865be9ab82d25d3acf549ebe
[ "Apache-2.0" ]
3
2016-02-22T01:29:32.000Z
2018-01-02T06:07:12.000Z
#pragma once #include <array> #include "vec4.hpp" namespace noob { /* stored like this: 0 4 8 12 1 5 9 13 2 6 10 14 3 7 11 15 */ template <typename T> struct mat4_type { mat4_type() noexcept(true) = default; mat4_type(T a, T b, T c, T d, T e, T f, T g, T h, T i, T j, T k, T l, T mm, T ...
18.491379
108
0.435431
ColinGilbert
5df3bde3711d7e111f675f2b04d73527f8b74c8a
2,012
cpp
C++
Prim/PrimComToken_Enum.cpp
UltimateScript/FOG
edc96d916fc299f0a822f8c534a4e7487c0e3ea2
[ "BSD-3-Clause" ]
null
null
null
Prim/PrimComToken_Enum.cpp
UltimateScript/FOG
edc96d916fc299f0a822f8c534a4e7487c0e3ea2
[ "BSD-3-Clause" ]
2
2021-07-07T17:31:49.000Z
2021-07-16T11:40:38.000Z
Prim/PrimComToken_Enum.cpp
OuluLinux/FOG
edc96d916fc299f0a822f8c534a4e7487c0e3ea2
[ "BSD-3-Clause" ]
null
null
null
#include <Prim/PrimIncludeAll.h> #ifndef NO_DATA TYPEINFO_SINGLE(PrimComToken_Enum, PrimComToken_String); #endif #ifndef NO_CODE // // Construct an aName token for a string value in theValue as part of aParser, using // someOptions for parsing, and aUsage as a description of the token. // PrimComToken_Enum::P...
28.338028
126
0.698807
UltimateScript
5df5298d3186ec5d2e696adea58960b14325d6cb
19,504
cpp
C++
src/mirrage/graphic/src/device_memory.cpp
lowkey42/mirrage
2527537989a548062d0bbca8370d063fc6b81a18
[ "MIT" ]
14
2017-10-26T08:45:54.000Z
2021-04-06T11:44:17.000Z
src/mirrage/graphic/src/device_memory.cpp
lowkey42/mirrage
2527537989a548062d0bbca8370d063fc6b81a18
[ "MIT" ]
17
2017-10-09T20:11:58.000Z
2018-11-08T22:05:14.000Z
src/mirrage/graphic/src/device_memory.cpp
lowkey42/mirrage
2527537989a548062d0bbca8370d063fc6b81a18
[ "MIT" ]
1
2018-09-26T23:10:06.000Z
2018-09-26T23:10:06.000Z
#include <mirrage/graphic/device_memory.hpp> #include <mirrage/utils/container_utils.hpp> #include <mirrage/utils/ranges.hpp> #include <gsl/gsl> #include <bitset> #include <cmath> #include <mutex> namespace mirrage::graphic { namespace { template <typename T> constexpr T log2(T n) { return (n < 2) ? 0 :...
31.559871
104
0.622488
lowkey42
5df53d6d97c8bc4307d93f202acfe67b94973e08
238
cpp
C++
src/PL_CSC.cpp
ddsmarques/pairtree
b04e590acf769269ebc38b76ba1f19d6344fef80
[ "BSD-3-Clause" ]
null
null
null
src/PL_CSC.cpp
ddsmarques/pairtree
b04e590acf769269ebc38b76ba1f19d6344fef80
[ "BSD-3-Clause" ]
null
null
null
src/PL_CSC.cpp
ddsmarques/pairtree
b04e590acf769269ebc38b76ba1f19d6344fef80
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2018 Daniel dos Santos Marques <danielsmarques7@gmail.com> // License: BSD 3 clause #include <iostream> #include "Trainer.h" int main(int argc, char** argv) { Trainer trainer; trainer.train(argv[1]); return 0; }
18.307692
75
0.697479
ddsmarques
5df6477f2ff543a723c0d79fdccef83c74875181
6,176
cc
C++
cores/Nibbler/RISC-V-ILA/app/main.cc
yuzeng2333/IMDb
84a3ae9ec4d0c9251e3dee572e9bc0240bddb660
[ "MIT" ]
null
null
null
cores/Nibbler/RISC-V-ILA/app/main.cc
yuzeng2333/IMDb
84a3ae9ec4d0c9251e3dee572e9bc0240bddb660
[ "MIT" ]
null
null
null
cores/Nibbler/RISC-V-ILA/app/main.cc
yuzeng2333/IMDb
84a3ae9ec4d0c9251e3dee572e9bc0240bddb660
[ "MIT" ]
null
null
null
#include "riscvIla.hpp" #include <ilang/vtarget-out/vtarget_gen.h> using namespace ilang; /// the function to parse commandline arguments VerilogVerificationTargetGenerator::vtg_config_t SetConfiguration(); VerilogVerificationTargetGenerator::vtg_config_t HandleArguments(int argc, char **argv); void verifyNibblerIns...
32.505263
110
0.686528
yuzeng2333
5df8c24ffd67744dd690811b123ba5f5648fd10a
3,148
cpp
C++
src/Buffers/test_CPUBuffer.cpp
abcucberkeley/cudaDecon
d21ae81f47701bdd68ba155ccf2be97cf6bc3feb
[ "BSL-1.0" ]
13
2020-03-11T18:41:04.000Z
2022-03-10T09:46:47.000Z
src/Buffers/test_CPUBuffer.cpp
tlambert03/CUDA_SIMrecon
84f6828d2db850660088ec4d625735f98ab722d5
[ "MIT" ]
8
2019-12-16T15:38:14.000Z
2021-11-25T20:38:44.000Z
src/Buffers/test_CPUBuffer.cpp
tlambert03/CUDA_SIMrecon
84f6828d2db850660088ec4d625735f98ab722d5
[ "MIT" ]
11
2019-02-28T22:37:16.000Z
2021-07-12T15:05:54.000Z
#include "Buffer.h" #include "CPUBuffer.h" #include "GPUBuffer.h" #include "gtest/gtest.h" #include <cstdlib> int compareArrays(char* arr1, char* arr2, int size); TEST(CPUBuffer, IncludeTest) { ASSERT_EQ(0, 0); } TEST(CPUBuffer, ConstructorTest) { CPUBuffer a; ASSERT_EQ(0, a.getSize()); ASSERT_E...
27.137931
72
0.589263
abcucberkeley
5dfce1c18a3a44da16a8b3fb291b51abb45bce46
21,261
cpp
C++
source/file/brfile.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
115
2015-01-18T17:29:30.000Z
2022-01-30T04:31:48.000Z
source/file/brfile.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
9
2015-01-22T04:53:38.000Z
2015-01-31T13:52:40.000Z
source/file/brfile.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
9
2015-01-23T20:06:46.000Z
2020-05-20T16:06:00.000Z
/*************************************** File Class Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com> It is released under an MIT Open Source license. Please see LICENSE for license details. Yes, you can use it in a commercial title without paying anything, just give me a cr...
28.423797
174
0.648041
Olde-Skuul
b909222bddaf0414336790ed23872ec1ea1532c0
168
cc
C++
c_src/allocators.cc
silviucpp/ezlib
f7b74e29d26a9359062894c2e05649be2fca1868
[ "MIT" ]
16
2016-01-12T21:36:32.000Z
2022-01-13T13:28:43.000Z
c_src/allocators.cc
silviucpp/ezlib
f7b74e29d26a9359062894c2e05649be2fca1868
[ "MIT" ]
2
2016-01-11T22:20:01.000Z
2018-10-09T20:11:07.000Z
c_src/allocators.cc
silviucpp/ezlib
f7b74e29d26a9359062894c2e05649be2fca1868
[ "MIT" ]
3
2016-01-11T16:12:50.000Z
2020-12-02T21:44:31.000Z
#include "allocators.h" #include "erl_nif.h" void* mem_allocate(size_t size) { return enif_alloc(size); } void mem_deallocate(void* ptr) { enif_free(ptr); }
12
31
0.690476
silviucpp
b90b91620a969c95e23a40f6f2a7381727c4d1c6
6,942
cpp
C++
build_bwt.cpp
jltsiren/relative-fm
68c11f172fd2a546792aad3ad81ee1e185b5ee7f
[ "MIT" ]
16
2015-04-29T11:18:01.000Z
2020-09-21T20:32:08.000Z
build_bwt.cpp
jltsiren/relative-fm
68c11f172fd2a546792aad3ad81ee1e185b5ee7f
[ "MIT" ]
null
null
null
build_bwt.cpp
jltsiren/relative-fm
68c11f172fd2a546792aad3ad81ee1e185b5ee7f
[ "MIT" ]
2
2015-12-06T20:49:38.000Z
2021-08-14T10:33:01.000Z
/* Copyright (c) 2015, 2016, 2017 Genome Research Ltd. Copyright (c) 2014 Jouni Siren and Simon Gog Author: Jouni Siren <jouni.siren@iki.fi> Author: Simon Gog Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), ...
34.029412
126
0.60703
jltsiren
2c6cc68367f41d0284cd7f981f6da2ea7a251162
942
cpp
C++
Matrix/Median in a row-wise Sortedd Matrix.cpp
vermagaurav8/GeeksforGeeks
f54d3297337981b5fc5054272cfa6788011c2c5a
[ "Apache-2.0" ]
9
2020-10-01T09:29:10.000Z
2022-02-12T04:58:41.000Z
Matrix/Median in a row-wise Sortedd Matrix.cpp
vermagaurav8/GeeksforGeeks
f54d3297337981b5fc5054272cfa6788011c2c5a
[ "Apache-2.0" ]
6
2020-10-03T16:08:58.000Z
2020-10-14T12:06:25.000Z
Matrix/Median in a row-wise Sortedd Matrix.cpp
vermagaurav8/GeeksforGeeks
f54d3297337981b5fc5054272cfa6788011c2c5a
[ "Apache-2.0" ]
17
2020-10-01T09:17:27.000Z
2021-06-18T09:36:31.000Z
class Solution{ public: int median(vector<vector<int>> &matrix, int r, int c){ // code here int min = INT_MAX, max = INT_MIN; // Maximum and minimum element from the array for(int i = 0;i<r;++i) { if(matrix[i][0] < min) { min = matrix[i][0]; ...
25.459459
98
0.359873
vermagaurav8
2c6d492cbe59ce88947591fe7dbfe67dfb0cf0b7
4,038
hpp
C++
em_unet/src/PyGreentea/evaluation/src_cython/zi/heap/binary_heap.hpp
VCG/psc
4826c495b89ff77b68a3c0d5c6e3af805db25386
[ "MIT" ]
10
2018-09-13T17:37:22.000Z
2020-05-08T16:20:42.000Z
em_unet/src/PyGreentea/evaluation/src_cython/zi/heap/binary_heap.hpp
VCG/psc
4826c495b89ff77b68a3c0d5c6e3af805db25386
[ "MIT" ]
1
2018-12-02T14:17:39.000Z
2018-12-02T20:59:26.000Z
em_unet/src/PyGreentea/evaluation/src_cython/zi/heap/binary_heap.hpp
VCG/psc
4826c495b89ff77b68a3c0d5c6e3af805db25386
[ "MIT" ]
2
2019-03-03T12:06:10.000Z
2020-04-12T13:23:02.000Z
// // Copyright (C) 2010 Aleksandar Zlateski <zlateski@mit.edu> // ---------------------------------------------------------- // // 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 versio...
30.590909
82
0.668895
VCG
2c7155ffd3fe940dc76676ef5cc2c14c387fae9b
140
hxx
C++
src/Providers/UNIXProviders/BGPAttributesForRoute/UNIX_BGPAttributesForRoute_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/BGPAttributesForRoute/UNIX_BGPAttributesForRoute_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/BGPAttributesForRoute/UNIX_BGPAttributesForRoute_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_FREEBSD #ifndef __UNIX_BGPATTRIBUTESFORROUTE_PRIVATE_H #define __UNIX_BGPATTRIBUTESFORROUTE_PRIVATE_H #endif #endif
11.666667
46
0.864286
brunolauze
2c726e26dbc634fe32ce8ee51e3229c60d158366
1,630
cpp
C++
src/lib/Micro-XRCE-DDS-Client/ucdr/test/FullBuffer.cpp
shaopengyuan/FMT-Firmware
bbdb3649ec4c1cad3d4a7fc3866091f99807fcfc
[ "Apache-2.0" ]
72
2021-09-13T20:29:29.000Z
2022-03-30T01:42:09.000Z
src/lib/Micro-XRCE-DDS-Client/ucdr/test/FullBuffer.cpp
shaopengyuan/FMT-Firmware
bbdb3649ec4c1cad3d4a7fc3866091f99807fcfc
[ "Apache-2.0" ]
33
2019-01-09T11:02:15.000Z
2022-03-31T11:47:54.000Z
src/lib/Micro-XRCE-DDS-Client/ucdr/test/FullBuffer.cpp
shaopengyuan/FMT-Firmware
bbdb3649ec4c1cad3d4a7fc3866091f99807fcfc
[ "Apache-2.0" ]
35
2019-03-06T01:54:00.000Z
2022-02-03T07:06:37.000Z
// Copyright 2017 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 re...
24.328358
75
0.745399
shaopengyuan
2c76092f73c7aa8f3ba9540812917f283984af57
106
cpp
C++
src/add_test/library/src/echo.cpp
mariokonrad/cmake-cheatsheet
268d68327e0d6af997684ec9e0fc96b5e7276a22
[ "CC-BY-4.0" ]
36
2019-03-28T09:05:10.000Z
2022-01-13T14:33:17.000Z
src/add_test/library/src/echo.cpp
bernedom/cmake-cheatsheet
280378bafe187a525b8376ba17b73781bba08861
[ "CC-BY-4.0" ]
null
null
null
src/add_test/library/src/echo.cpp
bernedom/cmake-cheatsheet
280378bafe187a525b8376ba17b73781bba08861
[ "CC-BY-4.0" ]
5
2019-04-05T20:55:37.000Z
2021-11-01T08:40:42.000Z
#include <library/echo.hpp> namespace library { std::string echo(const std::string & s) { return s; } }
11.777778
39
0.679245
mariokonrad
2c7a7c042aec611c7029b8ec65a0be05c512621c
9,713
cc
C++
benchmarks/ycsb-cs.cc
sfu-dis/corobase
3a213e72d5561687bbedb925b977c86a9ce36e04
[ "MIT" ]
166
2020-11-02T05:30:35.000Z
2022-03-26T07:39:16.000Z
benchmarks/ycsb-cs.cc
sfu-dis/corobase
3a213e72d5561687bbedb925b977c86a9ce36e04
[ "MIT" ]
2
2020-06-02T00:12:58.000Z
2020-06-13T23:22:25.000Z
benchmarks/ycsb-cs.cc
sfu-dis/corobase
3a213e72d5561687bbedb925b977c86a9ce36e04
[ "MIT" ]
19
2020-11-08T02:44:09.000Z
2022-02-26T19:49:33.000Z
/* * A YCSB implementation based off of Silo's and equivalent to FOEDUS's. */ #include "bench.h" #include "ycsb.h" #ifndef ADV_COROUTINE extern uint g_reps_per_tx; extern uint g_rmw_additional_reads; extern ReadTransactionType g_read_txn_type; extern YcsbWorkload ycsb_workload; class ycsb_cs_worker : public ycsb_...
36.107807
120
0.650777
sfu-dis
2c7fdde362e53ae77e884f8df0b864268c483ff4
5,130
cpp
C++
plugins/api/src/data_object_modify_info.cpp
mcv21/irods
3c793a5acbbbe25b5f20aaeeca2609417855eee6
[ "BSD-3-Clause" ]
null
null
null
plugins/api/src/data_object_modify_info.cpp
mcv21/irods
3c793a5acbbbe25b5f20aaeeca2609417855eee6
[ "BSD-3-Clause" ]
null
null
null
plugins/api/src/data_object_modify_info.cpp
mcv21/irods
3c793a5acbbbe25b5f20aaeeca2609417855eee6
[ "BSD-3-Clause" ]
null
null
null
#include "api_plugin_number.h" #include "rodsDef.h" #include "rcConnect.h" #include "rodsPackInstruct.h" #include "rcMisc.h" #include "client_api_whitelist.hpp" #include "apiHandler.hpp" #include <functional> #ifdef RODS_SERVER // // Server-side Implementation // #include "objDesc.hpp" #include "irods_stacktrace.h...
32.675159
94
0.569591
mcv21
2c8c834831719e425d519b2c0b9966f3d5ef31b0
1,035
cpp
C++
Problem Set Volumes/Volume 2/291 - The House Of Santa Claus.cpp
ztrixack/uva-online-judge
ef87e745390a6a1965fe06621e50c6dc48db7257
[ "MIT" ]
null
null
null
Problem Set Volumes/Volume 2/291 - The House Of Santa Claus.cpp
ztrixack/uva-online-judge
ef87e745390a6a1965fe06621e50c6dc48db7257
[ "MIT" ]
null
null
null
Problem Set Volumes/Volume 2/291 - The House Of Santa Claus.cpp
ztrixack/uva-online-judge
ef87e745390a6a1965fe06621e50c6dc48db7257
[ "MIT" ]
null
null
null
//============================================================================ // Name : 291 - The House Of Santa Claus.cpp // Author : ztrixack // Copyright : MIT License // Description : 278 The House Of Santa Claus in C++, Ansi-style // Run Time : 0.008 seconds //====================================...
25.875
110
0.416425
ztrixack
2c9ba5f1643b1cd82cb93145c7fca4d5cf0795fc
2,673
cpp
C++
src/main.cpp
ghostdart/connect-four
5910c7e5952b1f1dbeafb0eb0f9eb94fc6bd0f69
[ "MIT" ]
null
null
null
src/main.cpp
ghostdart/connect-four
5910c7e5952b1f1dbeafb0eb0f9eb94fc6bd0f69
[ "MIT" ]
null
null
null
src/main.cpp
ghostdart/connect-four
5910c7e5952b1f1dbeafb0eb0f9eb94fc6bd0f69
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <iomanip> #include "Connect4State.h" #include "humanplayer.h" #include "autoc4player.h" #include "l181139AIplayer.h" using namespace std; void BlankLines(int n) { for (int i = 0; i < n; i++) cout << "\n"; } void ShowConnect4(GameState *C) { Connect4State *C4 = ...
22.090909
123
0.495698
ghostdart
2c9c77633a0c1777af09aa7d61a0ee6dbf81c06d
2,058
cpp
C++
test/src/hcExam/hcExam01.cpp
josokw/ExamGenerator
22a566799c4bb31275ef942ae5ae529285eb741a
[ "MIT" ]
2
2019-07-15T05:01:57.000Z
2019-09-25T20:23:04.000Z
test/src/hcExam/hcExam01.cpp
josokw/ExamGenerator
22a566799c4bb31275ef942ae5ae529285eb741a
[ "MIT" ]
null
null
null
test/src/hcExam/hcExam01.cpp
josokw/ExamGenerator
22a566799c4bb31275ef942ae5ae529285eb741a
[ "MIT" ]
null
null
null
#include "hcExam01.h" #include "GenHeader.h" #include "GenItem.h" #include "GenOption.h" #include "GenText.h" #include "Log.h" #include <vector> void hcExam01(std::ofstream &LaTeXfile) { LOGD("Generating LaTeX started", 3); const bool IS_CORRECT{true}; // std::vector<message_t> messages; // std::...
31.181818
80
0.6069
josokw
2ca4465ca23c9ca59239947c9babf8dd0212fafd
1,486
hpp
C++
3rdparty/stout/include/stout/os/socket.hpp
sagar8192/mesos
a018cf33d5f06f5a9f9099a4c74b2daea00bd0f7
[ "Apache-2.0" ]
4
2019-03-06T03:04:40.000Z
2019-07-20T15:35:00.000Z
3rdparty/stout/include/stout/os/socket.hpp
sagar8192/mesos
a018cf33d5f06f5a9f9099a4c74b2daea00bd0f7
[ "Apache-2.0" ]
6
2018-11-30T08:04:45.000Z
2019-05-15T03:04:28.000Z
3rdparty/stout/include/stout/os/socket.hpp
sagar8192/mesos
a018cf33d5f06f5a9f9099a4c74b2daea00bd0f7
[ "Apache-2.0" ]
4
2019-03-11T11:51:22.000Z
2020-05-11T07:27:31.000Z
// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed und...
28.037736
76
0.728129
sagar8192
2ca7d5a766386b8acd33397e6800e2896350a71f
1,900
cpp
C++
C++/ServerProject/main.cpp
AlexanderArgyriou/TCP-Sever-Client
ad621f94afda08b3d03cb760faf148b4348ed401
[ "MIT" ]
null
null
null
C++/ServerProject/main.cpp
AlexanderArgyriou/TCP-Sever-Client
ad621f94afda08b3d03cb760faf148b4348ed401
[ "MIT" ]
null
null
null
C++/ServerProject/main.cpp
AlexanderArgyriou/TCP-Sever-Client
ad621f94afda08b3d03cb760faf148b4348ed401
[ "MIT" ]
null
null
null
#include "pch.h" #define _WIN32_WINNT 0x0501 #include "Server.h" int main() { cout << "Server is Running..." << endl << endl; for (;;) { Server newServer; boost::asio::io_service NewService; tcp::acceptor NewAcceptor(NewService, tcp::endpoint(tcp::v4(), 4523)); //listen to new Connection tcp:...
30.15873
106
0.625263
AlexanderArgyriou
2ca87bae7f11b13142de7d3ee4935ff338a1a172
10,072
cpp
C++
Examples/PatternedSubstrate/PatternedSubstrate.cpp
YourKarma42/ViennaLS
aae39a860e1fb6edc2d3568ab09110f7e81572b1
[ "MIT" ]
6
2019-11-18T16:05:12.000Z
2021-06-16T16:11:41.000Z
Examples/PatternedSubstrate/PatternedSubstrate.cpp
YourKarma42/ViennaLS
aae39a860e1fb6edc2d3568ab09110f7e81572b1
[ "MIT" ]
26
2019-10-17T14:59:31.000Z
2022-02-07T17:06:30.000Z
Examples/PatternedSubstrate/PatternedSubstrate.cpp
YourKarma42/ViennaLS
aae39a860e1fb6edc2d3568ab09110f7e81572b1
[ "MIT" ]
7
2020-03-13T07:17:07.000Z
2022-03-29T07:58:37.000Z
#include <iostream> #include <random> #include <lsAdvect.hpp> #include <lsBooleanOperation.hpp> #include <lsConvexHull.hpp> #include <lsDomain.hpp> #include <lsExpand.hpp> #include <lsMakeGeometry.hpp> #include <lsPrune.hpp> #include <lsSmartPointer.hpp> #include <lsToDiskMesh.hpp> #include <lsToMesh.hpp> #include <ls...
34.611684
80
0.606732
YourKarma42
2ca90626c2839ad729800f30daddb71e9c9d17de
699
cpp
C++
Math/PillaiFunction.cpp
igortakeo/Algorithms
6608132e442df7b0fb295aa63f287fa65a941939
[ "MIT" ]
null
null
null
Math/PillaiFunction.cpp
igortakeo/Algorithms
6608132e442df7b0fb295aa63f287fa65a941939
[ "MIT" ]
null
null
null
Math/PillaiFunction.cpp
igortakeo/Algorithms
6608132e442df7b0fb295aa63f287fa65a941939
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define pb push_back using namespace std; // Pillai's Arithmetical Function search result to for(i = 1 until n) sum += gcd(i, n) vector<int> Divisors(int n){ vector<int>v; for(int i=1; i*i <= n; i++){ if(n%i == 0){ v.pb(i); if(i != (n/i))v.pb(n/i); } } return v; } doub...
14.265306
87
0.515021
igortakeo
2caf4f07438e65cc804bea91704c942233c37e81
4,344
cpp
C++
Client/Client.cpp
laboox/Computer-Networks-CA3-S2015
1c6d6cd03be06c1978dda355bdeb2401d6d154d5
[ "MIT" ]
null
null
null
Client/Client.cpp
laboox/Computer-Networks-CA3-S2015
1c6d6cd03be06c1978dda355bdeb2401d6d154d5
[ "MIT" ]
null
null
null
Client/Client.cpp
laboox/Computer-Networks-CA3-S2015
1c6d6cd03be06c1978dda355bdeb2401d6d154d5
[ "MIT" ]
null
null
null
/** * File "Client.cpp" * Created by Sina on Sun May 31 13:39:03 2015. */ #include "Client.h" Client::Client(string name, address IP, address serverIp, int routerPort) : SuperClient(IP, serverIp, routerPort) { this->name = name; } void Client::run(){ fd_set router_fds, read_fds; FD_ZERO(&...
24.542373
84
0.508748
laboox
2cafb68262c344939433dd3300226cc9f8519380
7,369
cpp
C++
src/GoIO_cpp/GPortRef.cpp
lionel-rigoux/GoIO_SDK
ea7311d03dac554eceb830f70e2dcd273ae47459
[ "BSD-3-Clause" ]
3
2018-11-14T07:20:39.000Z
2021-12-20T20:32:48.000Z
src/GoIO_cpp/GPortRef.cpp
lionel-rigoux/GoIO_SDK
ea7311d03dac554eceb830f70e2dcd273ae47459
[ "BSD-3-Clause" ]
null
null
null
src/GoIO_cpp/GPortRef.cpp
lionel-rigoux/GoIO_SDK
ea7311d03dac554eceb830f70e2dcd273ae47459
[ "BSD-3-Clause" ]
3
2020-04-28T13:10:05.000Z
2021-12-20T13:32:12.000Z
/********************************************************************************* Copyright (c) 2010, Vernier Software & Technology All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistri...
33.495455
91
0.680825
lionel-rigoux
2cb6c94b694687676e30311e354d1d830ba7d363
421
hpp
C++
src/pattern-aggregator.hpp
Rutvik28/dfc
86ce00057c358f91d38826d3c36c95ad0d7b4b74
[ "MIT" ]
null
null
null
src/pattern-aggregator.hpp
Rutvik28/dfc
86ce00057c358f91d38826d3c36c95ad0d7b4b74
[ "MIT" ]
1
2019-09-19T21:31:36.000Z
2019-09-23T04:43:25.000Z
src/pattern-aggregator.hpp
skindstrom/dfc
4d7b9c29bc791c0a18a325478eafbeb459b48758
[ "MIT" ]
null
null
null
#ifndef DFC_PATTERN_AGGREGATOR_HPP #define DFC_PATTERN_AGGREGATOR_HPP #include <vector> #include "immutable-pattern.hpp" namespace dfc { class PatternAggregator { private: std::vector<RawPattern> patterns_; public: void add(RawPattern pat); std::vector<ImmutablePattern> aggregate(); private: void remove...
17.541667
55
0.760095
Rutvik28
2cb925922e5aab8253a8ee29367255f1a2b29f6b
8,461
cpp
C++
CocosWidget/Slider.cpp
LingJiJian/Tui-x
e00e79109db466143ed2b399a8991be4e5fea28f
[ "MIT" ]
67
2015-02-09T03:20:59.000Z
2022-01-17T05:53:07.000Z
CocosWidget/Slider.cpp
fuhongxue/Tui-x
9b288540a36942dd7f3518dc3e12eb2112bd93b0
[ "MIT" ]
3
2015-04-14T01:47:27.000Z
2016-03-15T06:56:04.000Z
CocosWidget/Slider.cpp
fuhongxue/Tui-x
9b288540a36942dd7f3518dc3e12eb2112bd93b0
[ "MIT" ]
34
2015-02-18T04:42:07.000Z
2019-08-15T05:34:46.000Z
/**************************************************************************** Copyright (c) 2014 Lijunlin - Jason lee Created by Lijunlin - Jason lee on 2014 jason.lee.c@foxmail.com http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ...
23.372928
131
0.714336
LingJiJian
2cbcbf06bc2d170744d660890740960491444f2d
871
c++
C++
9.1.two.arrays.c++
Sambitcr-7/DSA-C-
f3c80f54fa6160a99f39a934f330cdf40711de50
[ "Apache-2.0" ]
null
null
null
9.1.two.arrays.c++
Sambitcr-7/DSA-C-
f3c80f54fa6160a99f39a934f330cdf40711de50
[ "Apache-2.0" ]
null
null
null
9.1.two.arrays.c++
Sambitcr-7/DSA-C-
f3c80f54fa6160a99f39a934f330cdf40711de50
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { #ifndef ONLINE_JUDGE freopen("input.txt", "r",stdin); freopen("output.txt","w", stdout); #endif int n,m; cin>>n>>m; int arr[n][m]; for( int i=0; i<n;i++){ for(int j=0;j<m;j++){ cin>>arr[i][j]; ...
15.836364
38
0.375431
Sambitcr-7
2cbcc094d6d3489ff9636dc69edb9fcf8f692dd4
9,380
cpp
C++
test/src/generators.cpp
BeatWolf/etl
32e8153b38e0029176ca4fe2395b7fa6babe3189
[ "MIT" ]
1
2020-02-19T13:13:10.000Z
2020-02-19T13:13:10.000Z
test/src/generators.cpp
BeatWolf/etl
32e8153b38e0029176ca4fe2395b7fa6babe3189
[ "MIT" ]
null
null
null
test/src/generators.cpp
BeatWolf/etl
32e8153b38e0029176ca4fe2395b7fa6babe3189
[ "MIT" ]
null
null
null
//======================================================================= // Copyright (c) 2014-2018 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================================...
25.911602
95
0.6129
BeatWolf
2cc1a61317e22d15fc9f4f103cf81cd7de2522bf
1,063
cpp
C++
src/render/OGL2_0/CIndexBufferOGL2_0.cpp
opengamejam/OpenJam
565dd19fa7f1a727966b4274b810424e5395600b
[ "MIT" ]
4
2015-08-13T08:25:36.000Z
2017-04-07T21:33:10.000Z
src/render/OGL2_0/CIndexBufferOGL2_0.cpp
opengamejam/OpenJam
565dd19fa7f1a727966b4274b810424e5395600b
[ "MIT" ]
null
null
null
src/render/OGL2_0/CIndexBufferOGL2_0.cpp
opengamejam/OpenJam
565dd19fa7f1a727966b4274b810424e5395600b
[ "MIT" ]
null
null
null
// // CIndexBufferOGL2_0.h // OpenJam // // Created by Yevgeniy Logachev // Copyright (c) 2014 yev. All rights reserved. // #if defined(RENDER_OGL2_0) #include "CIndexBufferOGL2_0.h" using namespace jam; // ***************************************************************************** // Constants // ************...
27.25641
80
0.281279
opengamejam
2cc2880daa8fb8d10a2c84b8b5d42d91dba386af
9,740
cpp
C++
test/test_unscented_transform.cpp
MartinEekGerhardsen/bayes-filter-cpp
fb734811a2eed1339616e95f70c42b988ef7719f
[ "MIT" ]
8
2018-06-27T13:10:45.000Z
2022-01-25T02:57:54.000Z
test/test_unscented_transform.cpp
MartinEekGerhardsen/bayes-filter-cpp
fb734811a2eed1339616e95f70c42b988ef7719f
[ "MIT" ]
null
null
null
test/test_unscented_transform.cpp
MartinEekGerhardsen/bayes-filter-cpp
fb734811a2eed1339616e95f70c42b988ef7719f
[ "MIT" ]
3
2020-08-20T03:00:13.000Z
2022-01-04T10:11:16.000Z
/* * test_unscented_transform.cpp * * Created on: 12 Jun 2018 * Author: Fabian Meyer */ #include "bayes_filter/unscented_transform.h" #include "eigen_assert.h" #include <catch.hpp> using namespace bf; using namespace std::placeholders; static Eigen::VectorXd linearTransform( const Eigen::VectorXd &sta...
30.342679
80
0.489322
MartinEekGerhardsen
2cc4c8b4378b4d8b9f4621e2b5599b8ee8d786d2
447
cpp
C++
headers/10-throw1.cpp
cpp-tutor/learnmoderncpp-tutorial
96ca86a2508c80093f51f8ac017f41a994d04d52
[ "MIT" ]
1
2022-03-07T09:14:07.000Z
2022-03-07T09:14:07.000Z
headers/10-throw1.cpp
cpp-tutor/learnmoderncpp-tutorial
96ca86a2508c80093f51f8ac017f41a994d04d52
[ "MIT" ]
null
null
null
headers/10-throw1.cpp
cpp-tutor/learnmoderncpp-tutorial
96ca86a2508c80093f51f8ac017f41a994d04d52
[ "MIT" ]
null
null
null
// 10-throw1.cpp : simple exception demonstration, throw and catch #include <iostream> #include <exception> using namespace std; template <typename T> void getInteger(T& value) { cout << "Please enter an integer (0 to throw): "; cin >> value; if (!value) { throw exception{}; } } int main() { long long v{}; t...
16.555556
66
0.612975
cpp-tutor
2cc77442f3f1ac290fd662ee4c3e018d2c6df545
4,664
cpp
C++
libraries/vulkan_utils/private/VulkanMemory.cpp
jcelerier/scop_vulkan
9b91c0ccd5027c9641ccacfb5043bb1bc2f51ad0
[ "MIT" ]
132
2021-04-04T21:19:46.000Z
2022-03-13T13:47:00.000Z
libraries/vulkan_utils/private/VulkanMemory.cpp
jcelerier/scop_vulkan
9b91c0ccd5027c9641ccacfb5043bb1bc2f51ad0
[ "MIT" ]
null
null
null
libraries/vulkan_utils/private/VulkanMemory.cpp
jcelerier/scop_vulkan
9b91c0ccd5027c9641ccacfb5043bb1bc2f51ad0
[ "MIT" ]
7
2021-04-04T21:19:48.000Z
2021-04-09T09:16:34.000Z
#include "VulkanMemory.hpp" #include <stdexcept> #include <cstring> #include "VulkanCommandBuffer.hpp" uint32_t findMemoryType(VkPhysicalDevice physical_device, uint32_t type_filter, VkMemoryPropertyFlags properties) { VkPhysicalDeviceMemoryProperties mem_prop; vkGetPhysicalDevi...
31.727891
79
0.65416
jcelerier
2cc81dc413167b8d02de7c92c789bfdbe81d834d
816
hpp
C++
src/monitors/probes/list.hpp
owenmylotte/ablate
92b190a2d422eb89748338c04fd7b29976be54b1
[ "BSD-3-Clause" ]
null
null
null
src/monitors/probes/list.hpp
owenmylotte/ablate
92b190a2d422eb89748338c04fd7b29976be54b1
[ "BSD-3-Clause" ]
null
null
null
src/monitors/probes/list.hpp
owenmylotte/ablate
92b190a2d422eb89748338c04fd7b29976be54b1
[ "BSD-3-Clause" ]
null
null
null
#ifndef ABLATELIBRARY_PROBEINITIALIZER_LIST_HPP #define ABLATELIBRARY_PROBEINITIALIZER_LIST_HPP #include <memory> #include <vector> #include "probeInitializer.hpp" namespace ablate::monitors::probes { class List : public ProbeInitializer { private: const std::vector<Probe> list; public: /** * def...
22.666667
73
0.675245
owenmylotte
2cc82bfa7ec04687ec56f78e45d1b268fc14af9c
8,688
cpp
C++
tests/tria/math/quat_test.cpp
BastianBlokland/tria
a90c1a1b0cc9479b1e3a1c41aa5286571a8aab78
[ "MIT" ]
null
null
null
tests/tria/math/quat_test.cpp
BastianBlokland/tria
a90c1a1b0cc9479b1e3a1c41aa5286571a8aab78
[ "MIT" ]
null
null
null
tests/tria/math/quat_test.cpp
BastianBlokland/tria
a90c1a1b0cc9479b1e3a1c41aa5286571a8aab78
[ "MIT" ]
null
null
null
#include "catch2/catch.hpp" #include "tria/math/mat.hpp" #include "tria/math/quat.hpp" #include "tria/math/quat_io.hpp" #include "tria/math/utils.hpp" #include "tria/math/vec.hpp" namespace tria::math::tests { TEST_CASE("[math] - Quat", "[math]") { SECTION("Quaternions are fixed size") { auto q1 = Quatf{}; ...
37.61039
100
0.635474
BastianBlokland
2cca7b2d7c7dc21b45de21c60391fab7a08e3f31
7,798
cpp
C++
src/services/openid_connect.cpp
umr-dbs/mapping-gfbio
820f0ccde16cab9f5780864d2402149230f01acf
[ "MIT" ]
null
null
null
src/services/openid_connect.cpp
umr-dbs/mapping-gfbio
820f0ccde16cab9f5780864d2402149230f01acf
[ "MIT" ]
2
2018-04-04T10:38:47.000Z
2020-12-07T13:26:04.000Z
src/services/openid_connect.cpp
umr-dbs/mapping-gfbio
820f0ccde16cab9f5780864d2402149230f01acf
[ "MIT" ]
2
2018-03-07T07:50:24.000Z
2018-06-05T13:51:58.000Z
#include "openid_connect.h" void OpenIdConnectService::OpenIdConnectService::run() { try { const std::string &request = params.get("request"); if (request == "login") { this->login(params.get("access_token")); } else { // FALLBACK response.sendFailureJSON("OpenIdCon...
39.989744
136
0.63901
umr-dbs
2cd067070b2e7be96aa262c8a9c3d38d039051b4
607
hpp
C++
nucleo/Inc/globals.hpp
cerberuspower/monochromator
0324831743652bccea7c760b3994d06c7a766c16
[ "Apache-2.0" ]
null
null
null
nucleo/Inc/globals.hpp
cerberuspower/monochromator
0324831743652bccea7c760b3994d06c7a766c16
[ "Apache-2.0" ]
null
null
null
nucleo/Inc/globals.hpp
cerberuspower/monochromator
0324831743652bccea7c760b3994d06c7a766c16
[ "Apache-2.0" ]
null
null
null
#ifndef __GLOBALS_INCLUDED__ #define __GLOBALS_INCLUDED__ #include "motor.hpp" #include "uart.hpp" #include <string.h> #include <stdlib.h> #include "stm32f3xx_hal.h" typedef struct monochromator_t { Motor *motor; Uart *uart; uint16_t end_stop_forward; uint16_t end_stop_reverse; uint8_t aBuffer...
21.678571
38
0.75453
cerberuspower
2cd2b742faf6023ff160a7276bbbf12f21043749
554
cc
C++
BetaScatt/src/PadEventAction.cc
eric-presbitero/BetaScatt
3dc27e088483d6c34f714825a76439382ea08204
[ "MIT" ]
5
2020-10-14T09:45:57.000Z
2022-02-08T10:45:59.000Z
BetaScatt/src/PadEventAction.cc
eric-presbitero/BetaScatt
3dc27e088483d6c34f714825a76439382ea08204
[ "MIT" ]
null
null
null
BetaScatt/src/PadEventAction.cc
eric-presbitero/BetaScatt
3dc27e088483d6c34f714825a76439382ea08204
[ "MIT" ]
null
null
null
#ifdef G4ANALYSIS_USE #include "PadAnalysisManager.hh" #endif #include "PadEventAction.hh" PadEventAction::PadEventAction( PadAnalysisManager* aAnalysisManager ):fAnalysisManager(aAnalysisManager){} PadEventAction::~PadEventAction(){} void PadEventAction::BeginOfEventAction(const G4Event* aEvent){ #ifdef G4ANALYSI...
23.083333
63
0.815884
eric-presbitero
2cd524148cb8c4d18e66358a72d90effe06160dc
2,062
cpp
C++
examples/dfa/src/dfa_layer.cpp
ktnyt/LAPlus
d750862c758a2d6fa3acc5b2b567efc05008b5ae
[ "MIT" ]
null
null
null
examples/dfa/src/dfa_layer.cpp
ktnyt/LAPlus
d750862c758a2d6fa3acc5b2b567efc05008b5ae
[ "MIT" ]
null
null
null
examples/dfa/src/dfa_layer.cpp
ktnyt/LAPlus
d750862c758a2d6fa3acc5b2b567efc05008b5ae
[ "MIT" ]
null
null
null
/****************************************************************************** * * dfa_layer.cpp * * MIT License * * Copyright (c) 2016 Kotone Itaya * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * de...
38.90566
79
0.654219
ktnyt
2cd7cf85017d8c97a5a3a16b7d89b7552d83b960
1,359
cpp
C++
src/617.merge-two-binary-trees.cpp
Hilbert-Yaa/heil-my-lc
075567698e3b826a542f63389e9a8f3136df799a
[ "MIT" ]
null
null
null
src/617.merge-two-binary-trees.cpp
Hilbert-Yaa/heil-my-lc
075567698e3b826a542f63389e9a8f3136df799a
[ "MIT" ]
null
null
null
src/617.merge-two-binary-trees.cpp
Hilbert-Yaa/heil-my-lc
075567698e3b826a542f63389e9a8f3136df799a
[ "MIT" ]
null
null
null
/* * @lc app=leetcode id=617 lang=cpp * * [617] Merge Two Binary Trees */ #include <bits/stdc++.h> #using namespace std; // @lc code=start /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nu...
33.146341
134
0.597498
Hilbert-Yaa
2cda2623e923f4dc411d197b1b6e215b64a3f9aa
35,118
cpp
C++
hip/hip/kernels/share/qDataUpdateS.cpp
artv3/Laghos
64449d427349b0ca35086a63ae4e7d1ed5894f08
[ "BSD-2-Clause" ]
1
2019-11-20T21:45:18.000Z
2019-11-20T21:45:18.000Z
hip/hip/kernels/share/qDataUpdateS.cpp
jeffhammond/Laghos
12e62aa7eb6175f27380106b40c9286d710a0f52
[ "BSD-2-Clause" ]
null
null
null
hip/hip/kernels/share/qDataUpdateS.cpp
jeffhammond/Laghos
12e62aa7eb6175f27380106b40c9286d710a0f52
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights // reserved. See files LICENSE and NOTICE for details. // // This file is part of CEED, a collection of benchmarks, miniapps, software // libraries and APIs for effic...
48.371901
129
0.440287
artv3
2cddcd8889216dde8e8197eab76a84f25b0bdbe1
410
hpp
C++
library/ATF/stdext__hash_compare.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/stdext__hash_compare.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/stdext__hash_compare.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <std__less.hpp> START_ATF_NAMESPACE namespace stdext { template<typename _Ty, typename _Less = std::less<_Ty>> struct hash_compare ...
22.777778
108
0.663415
lemkova
2ce5982951e8331ea1d02d7b12f25da0b03c43b5
742
cpp
C++
main.cpp
fore-head/210810_Make-to-1_LIS
2595e1fd34042248cc22d825df966dcfb08311a3
[ "MIT" ]
null
null
null
main.cpp
fore-head/210810_Make-to-1_LIS
2595e1fd34042248cc22d825df966dcfb08311a3
[ "MIT" ]
null
null
null
main.cpp
fore-head/210810_Make-to-1_LIS
2595e1fd34042248cc22d825df966dcfb08311a3
[ "MIT" ]
1
2021-08-03T13:51:37.000Z
2021-08-03T13:51:37.000Z
// // Created by 이인성 on 2021/08/03. // #include <iostream> int min_op[1000001]; int min(int n, int m) { if(n <= m) return n; else return m; } int main() { int N; scanf("%d", &N); min_op[0] = 0; min_op[1] = 0; for(int i = 2; i <= N; i++) { if((i%2 != 0) && (i%3 != 0)) { min_op[i] = min...
19.526316
70
0.442049
fore-head
f8ebd0e4432c71e9c8f689f4a14ea4e5ed4a7eb3
1,891
cpp
C++
src/lib/Colour.cpp
gtirloni/procdraw
34ddb1b96f0f47af7304914e938f53d10ca5478d
[ "Apache-2.0" ]
null
null
null
src/lib/Colour.cpp
gtirloni/procdraw
34ddb1b96f0f47af7304914e938f53d10ca5478d
[ "Apache-2.0" ]
null
null
null
src/lib/Colour.cpp
gtirloni/procdraw
34ddb1b96f0f47af7304914e938f53d10ca5478d
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 Simon Bates // // 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 agree...
23.345679
76
0.424114
gtirloni
f8f320e68bdc82147a13add265cd46a71fee8340
1,575
cpp
C++
BAC_2nd/ch7/UVa1354.cpp
Anyrainel/aoapc-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
3
2017-08-15T06:00:01.000Z
2018-12-10T09:05:53.000Z
BAC_2nd/ch7/UVa1354.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
null
null
null
BAC_2nd/ch7/UVa1354.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
2
2017-09-16T18:46:27.000Z
2018-05-22T05:42:03.000Z
// UVa1354 Mobile Computing // Rujia Liu #include<cstdio> #include<cstring> #include<vector> using namespace std; struct Tree { double L, R; // distance from the root to the leftmost/rightmost point Tree():L(0),R(0) {} }; const int maxn = 6; int n, vis[1<<maxn]; double r, w[maxn], sum[1<<maxn]; vector<Tree> tree...
22.826087
72
0.525714
Anyrainel
f8f38bd682ef50835a6d1e7a0c972d62133fe7d3
1,213
cpp
C++
Syl3D/misc/skyboxmanager.cpp
Jedi18/Syl3D
8f62a3cd5349eaff83c36e9366003da61888ec73
[ "MIT" ]
2
2020-12-06T06:43:32.000Z
2021-01-13T14:16:01.000Z
Syl3D/misc/skyboxmanager.cpp
Jedi18/Syl3D
8f62a3cd5349eaff83c36e9366003da61888ec73
[ "MIT" ]
4
2020-11-30T03:18:03.000Z
2021-05-22T16:46:25.000Z
Syl3D/misc/skyboxmanager.cpp
Jedi18/Syl3D
8f62a3cd5349eaff83c36e9366003da61888ec73
[ "MIT" ]
2
2020-12-05T07:46:14.000Z
2020-12-05T12:09:54.000Z
#include "skyboxmanager.h" #include "../entity/entityfactory.h" #include "../utility/fileio.h" SkyboxManager* SkyboxManager::_instance = nullptr; SkyboxManager::SkyboxManager() { _skyboxNames = utility::FileIO::filesInPath("resources/skyboxes"); } SkyboxManager* SkyboxManager::skyboxManager() { if (_instance == n...
24.755102
102
0.734542
Jedi18
f8f9a636edda72964354efc7bec76edea8cf6d55
651
cpp
C++
sample/k_distance_main.cpp
iwiwi/top-k-pruned-landmark-labeling
e334aab5faa10b0aa098f6895d8df393644fa532
[ "BSD-3-Clause" ]
1
2021-06-06T01:31:34.000Z
2021-06-06T01:31:34.000Z
sample/k_distance_main.cpp
iwiwi/top-k-pruned-landmark-labeling
e334aab5faa10b0aa098f6895d8df393644fa532
[ "BSD-3-Clause" ]
null
null
null
sample/k_distance_main.cpp
iwiwi/top-k-pruned-landmark-labeling
e334aab5faa10b0aa098f6895d8df393644fa532
[ "BSD-3-Clause" ]
1
2018-01-10T00:18:42.000Z
2018-01-10T00:18:42.000Z
#include <cstdlib> #include <iostream> #include "top_k_pruned_landmark_labeling.hpp" using namespace std; int main(int argc, char **argv) { if (argc != 2) { cerr << "Usage: " << argv[0] << " (index_file)" << endl; exit(EXIT_FAILURE); } TopKPrunedLandmarkLabeling kpll; if (!kpll.LoadIndex(argv[1]...
20.34375
60
0.55914
iwiwi
5d0944bbcca152ebd69e6ea349b58a1d45764087
5,428
cpp
C++
PlatformTest/main.cpp
SamirAroudj/BaseProject
50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d
[ "BSD-3-Clause" ]
null
null
null
PlatformTest/main.cpp
SamirAroudj/BaseProject
50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d
[ "BSD-3-Clause" ]
1
2019-06-19T15:55:25.000Z
2019-06-27T07:47:27.000Z
PlatformTest/main.cpp
SamirAroudj/BaseProject
50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d
[ "BSD-3-Clause" ]
1
2019-07-07T04:37:56.000Z
2019-07-07T04:37:56.000Z
/* * Copyright (C) 2017 by Author: Aroudj, Samir, born in Suhl, Thueringen, Germany * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-Clause license. See the License.txt file for details. */ #ifdef _WINDOWS #include <Windows.h> #elif _LINUX #include <cstdio> #...
23
128
0.670965
SamirAroudj
5d0c3b90f20d4d8285413757a86b5a10ca171c7a
16,731
cpp
C++
latte-dock/declarativeimports/core/iconitem.cpp
VaughnValle/lush-pop
cdfe9d7b6a7ebb89ba036ab9a4f07d8db6817355
[ "MIT" ]
64
2020-07-08T18:49:29.000Z
2022-03-23T22:58:49.000Z
latte-dock/declarativeimports/core/iconitem.cpp
VaughnValle/kanji-pop
0153059f0c62a8aeb809545c040225da5d249bb8
[ "MIT" ]
1
2021-04-02T04:39:45.000Z
2021-09-25T11:53:18.000Z
latte-dock/declarativeimports/core/iconitem.cpp
VaughnValle/kanji-pop
0153059f0c62a8aeb809545c040225da5d249bb8
[ "MIT" ]
11
2020-12-04T18:19:11.000Z
2022-01-10T08:50:08.000Z
/* * Copyright 2012 Marco Martin <mart@kde.org> * Copyright 2014 David Edmundson <davidedmudnson@kde.org> * Copyright 2016 Smith AR <audoban@openmailbox.org> * Michail Vourlakos <mvourlakos@gmail.com> * * This file is part of Latte-Dock and is a Fork of PlasmaCore::IconItem * * Latte-Dock is fr...
27.931553
152
0.591298
VaughnValle
5d184b089a0766b1185c34f8932657fda107ae31
12,451
cpp
C++
dali/internal/event/actors/layer-impl.cpp
vcebollada/dali-core
1f880695d4f6cb871db7f946538721e882ba1633
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
dali/internal/event/actors/layer-impl.cpp
vcebollada/dali-core
1f880695d4f6cb871db7f946538721e882ba1633
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-03-22T10:19:17.000Z
2020-03-22T10:19:17.000Z
dali/internal/event/actors/layer-impl.cpp
fayhot/dali-core
a69ea317f30961164520664a645ac36c387055ef
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
25.410204
145
0.674886
vcebollada
5d1b2a4f682f4dd4ba7a71698dff5a1e231f6ddb
1,943
cpp
C++
firmware/src/main.cpp
brianpepin/lpm
969105a6374fa65c2de4e74a119d614b32e6ea2c
[ "MIT" ]
3
2020-06-02T01:23:18.000Z
2022-02-25T22:20:24.000Z
firmware/src/main.cpp
brianpepin/lpm
969105a6374fa65c2de4e74a119d614b32e6ea2c
[ "MIT" ]
null
null
null
firmware/src/main.cpp
brianpepin/lpm
969105a6374fa65c2de4e74a119d614b32e6ea2c
[ "MIT" ]
null
null
null
#include <globals.h> #include <adc.h> #include <battery.h> #include <button.h> #include <power.h> #include <flash.h> #include <logger.h> #include <views/default.h> Button buttons[] = { {PIN_UP, BUTTON_ACTIVE_LOW}, {PIN_DOWN, BUTTON_ACTIVE_LOW}, {PIN_LEFT, BUTTON_ACTIVE_LOW}, {PIN_RI...
18.158879
75
0.626866
brianpepin
5d1d823c10e30cee858f14367fe30222b494d526
1,256
hpp
C++
gapvector_impl/gapvector_reverse_iterator_implement.hpp
Catminusminus/gapvector
cdc235fbf26022a12234057877e6189a9312c0b7
[ "Unlicense" ]
null
null
null
gapvector_impl/gapvector_reverse_iterator_implement.hpp
Catminusminus/gapvector
cdc235fbf26022a12234057877e6189a9312c0b7
[ "Unlicense" ]
2
2018-03-26T14:06:23.000Z
2018-03-29T17:08:45.000Z
gapvector_impl/gapvector_reverse_iterator_implement.hpp
Catminusminus/gapvector
cdc235fbf26022a12234057877e6189a9312c0b7
[ "Unlicense" ]
null
null
null
#ifndef GAPVECTOR_REVERSE_ITERATOR_IMPLEMENT_HPP #define GAPVECTOR_REVERSE_ITERATOR_IMPLEMENT_HPP template <typename T> void gapvectorReverseIterator<T>::increment() { --index; } template <typename T> void gapvectorReverseIterator<T>::decrement() { ++index; } template <typename T> T &gapvectorReverseIterator...
22.836364
118
0.754777
Catminusminus
5d29761d3684c04b79fec3c3688e9df1d29eaf01
4,449
cpp
C++
Source/Editor/Private/Customizations/ClassFilter/ClassFilterNode.cpp
foobit/SaveExtension
390033bc757f2b694c497e22c324dcac539bcd15
[ "Apache-2.0" ]
110
2018-10-20T21:47:54.000Z
2022-03-14T03:47:58.000Z
Source/Editor/Private/Customizations/ClassFilter/ClassFilterNode.cpp
foobit/SaveExtension
390033bc757f2b694c497e22c324dcac539bcd15
[ "Apache-2.0" ]
68
2018-12-19T09:08:56.000Z
2022-03-09T06:43:38.000Z
Source/Editor/Private/Customizations/ClassFilter/ClassFilterNode.cpp
foobit/SaveExtension
390033bc757f2b694c497e22c324dcac539bcd15
[ "Apache-2.0" ]
45
2018-12-03T14:35:47.000Z
2022-03-05T01:35:24.000Z
// Copyright 2015-2020 Piperift. All Rights Reserved. #include "ClassFilterNode.h" #include <Engine/Blueprint.h> #include <PropertyHandle.h> #include "Misc/ClassFilter.h" FSEClassFilterNode::FSEClassFilterNode(const FString& InClassName, const FString& InClassDisplayName) { ClassName = InClassName; ClassDisplayNa...
26.017544
115
0.757249
foobit
5d2a22a3ee1d87aaad98253af00bf68a0238fa0e
2,820
cpp
C++
libs/network/src/p2pservice/identity_cache.cpp
jinmannwong/ledger
f3b129c127e107603e08bb192eb695d23eb17dbc
[ "Apache-2.0" ]
null
null
null
libs/network/src/p2pservice/identity_cache.cpp
jinmannwong/ledger
f3b129c127e107603e08bb192eb695d23eb17dbc
[ "Apache-2.0" ]
null
null
null
libs/network/src/p2pservice/identity_cache.cpp
jinmannwong/ledger
f3b129c127e107603e08bb192eb695d23eb17dbc
[ "Apache-2.0" ]
2
2019-11-13T10:55:24.000Z
2019-11-13T11:37:09.000Z
//------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 // // ...
25.87156
96
0.599645
jinmannwong
5d2a6ba7920af77702281f15fe3eef4a488cbdd0
21,032
cpp
C++
planning/obstacle_cruise_planner/src/pid_based_planner/pid_based_planner.cpp
meliketanrikulu/autoware.universe
04f2b53ae1d7b41846478641ad6ff478c3d5a247
[ "Apache-2.0" ]
null
null
null
planning/obstacle_cruise_planner/src/pid_based_planner/pid_based_planner.cpp
meliketanrikulu/autoware.universe
04f2b53ae1d7b41846478641ad6ff478c3d5a247
[ "Apache-2.0" ]
null
null
null
planning/obstacle_cruise_planner/src/pid_based_planner/pid_based_planner.cpp
meliketanrikulu/autoware.universe
04f2b53ae1d7b41846478641ad6ff478c3d5a247
[ "Apache-2.0" ]
null
null
null
// Copyright 2022 TIER IV, 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 law or agreed to i...
39.092937
100
0.762695
meliketanrikulu
5d2b1c78a5d1d15b83368bca74be19fd8364237f
1,811
cpp
C++
String/Reverse string with no change in words.cpp
scortier/DSA-Complete-Sheet
925a5cb148d9addcb32192fe676be76bfb2915c7
[ "MIT" ]
1
2021-07-20T06:08:26.000Z
2021-07-20T06:08:26.000Z
String/Reverse string with no change in words.cpp
scortier/DSA-Complete-Sheet
925a5cb148d9addcb32192fe676be76bfb2915c7
[ "MIT" ]
null
null
null
String/Reverse string with no change in words.cpp
scortier/DSA-Complete-Sheet
925a5cb148d9addcb32192fe676be76bfb2915c7
[ "MIT" ]
null
null
null
// QUARANTINE DAYS..;) #include <bits/stdc++.h> using namespace std; #define endl "\n" #define test int tt;cin>>tt;while(tt--) #define fl(i,a,b) for( int i=a;i<b;i++) #define ll long long int #define pb push_back #define mp make_pair #define MOD 1000000007 #define PI ...
19.684783
71
0.563777
scortier
5d2cdb5eed2575ef74e606ac0e99d16af6a15662
503
hpp
C++
plugins/opengl/include/sge/opengl/glx/visual/optional_srgb_flag.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/opengl/include/sge/opengl/glx/visual/optional_srgb_flag.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/opengl/include/sge/opengl/glx/visual/optional_srgb_flag.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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 SGE_OPENGL_GLX_VISUAL_OPTIONAL_SRGB_FLAG_HPP_INCLUDED #define SGE_OPENGL_GLX_VISUAL_OPTIONA...
35.928571
61
0.781312
cpreh
5d300fcbc8b3d333153f560939896bb5881e474e
247
hpp
C++
include/System/NonCopyable.hpp
Mac1512/engge
50c203c09b57c0fbbcdf6284c60886c8db471e07
[ "MIT" ]
null
null
null
include/System/NonCopyable.hpp
Mac1512/engge
50c203c09b57c0fbbcdf6284c60886c8db471e07
[ "MIT" ]
null
null
null
include/System/NonCopyable.hpp
Mac1512/engge
50c203c09b57c0fbbcdf6284c60886c8db471e07
[ "MIT" ]
null
null
null
#pragma once namespace ng { class NonCopyable { protected: NonCopyable() = default; ~NonCopyable() = default; private: NonCopyable(const NonCopyable &) = delete; NonCopyable &operator=(const NonCopyable &) = delete; }; } // namespace ng
17.642857
55
0.704453
Mac1512
5d308de96ca733a52327049c72673fcc2a7127e0
1,852
cpp
C++
src/hssh/global_metric/main.cpp
h2ssh/Vulcan
cc46ec79fea43227d578bee39cb4129ad9bb1603
[ "MIT" ]
6
2020-03-29T09:37:01.000Z
2022-01-20T08:56:31.000Z
src/hssh/global_metric/main.cpp
h2ssh/Vulcan
cc46ec79fea43227d578bee39cb4129ad9bb1603
[ "MIT" ]
1
2021-03-05T08:00:50.000Z
2021-03-05T08:00:50.000Z
src/hssh/global_metric/main.cpp
h2ssh/Vulcan
cc46ec79fea43227d578bee39cb4129ad9bb1603
[ "MIT" ]
11
2019-05-13T00:04:38.000Z
2022-01-20T08:56:38.000Z
/* Copyright (C) 2010-2019, The Regents of The University of Michigan. All rights reserved. This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an MIT-style License that can be foun...
43.069767
139
0.698164
h2ssh
5d3488bdbeda335cfe226761fdf45d6f937b3c0d
18,446
cpp
C++
Base/PLCore/src/Xml/XmlElement.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
83
2015-01-08T15:06:14.000Z
2021-07-20T17:07:00.000Z
Base/PLCore/src/Xml/XmlElement.cpp
PixelLightFoundation/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Base/PLCore/src/Xml/XmlElement.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
40
2015-02-25T18:24:34.000Z
2021-03-06T09:01:48.000Z
/*********************************************************\ * File: XmlElement.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
27.449405
125
0.63629
ktotheoz
5d369d9507357ae3a82d7fd1db8f675e09dd3c7f
2,810
cpp
C++
src/Library/Library/sources/Functions/dencryptionFunctions.cpp
myNameIsAndrew00/Cryptographic-Hardware-Simulator
cfd5c9a75ba9461faf5fd48257ef9ac3b259365a
[ "MIT" ]
null
null
null
src/Library/Library/sources/Functions/dencryptionFunctions.cpp
myNameIsAndrew00/Cryptographic-Hardware-Simulator
cfd5c9a75ba9461faf5fd48257ef9ac3b259365a
[ "MIT" ]
null
null
null
src/Library/Library/sources/Functions/dencryptionFunctions.cpp
myNameIsAndrew00/Cryptographic-Hardware-Simulator
cfd5c9a75ba9461faf5fd48257ef9ac3b259365a
[ "MIT" ]
null
null
null
#include "../../include/pkcs11.h" #include "../../include/IPkcs11Token.h" #include <stdlib.h> #include <string.h> extern Abstractions::IPkcs11TokenReference Token; CK_DEFINE_FUNCTION(CK_RV, C_EncryptInit)(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) { if (nullptr == pMechanism) ...
33.855422
171
0.802847
myNameIsAndrew00
5d401c19452901ae86f32ac359aae3a8a22142fe
1,489
hpp
C++
src/parser/skip-to-sequence.hpp
aaron-michaux/giraffe
457b55d80f6d21616a5c40232c2f68ee9e2c8335
[ "MIT" ]
null
null
null
src/parser/skip-to-sequence.hpp
aaron-michaux/giraffe
457b55d80f6d21616a5c40232c2f68ee9e2c8335
[ "MIT" ]
null
null
null
src/parser/skip-to-sequence.hpp
aaron-michaux/giraffe
457b55d80f6d21616a5c40232c2f68ee9e2c8335
[ "MIT" ]
null
null
null
#pragma once #include "scanner/scanner.hpp" #include "utils/in-list.hpp" namespace giraffe::detail { template<typename T> bool match_worker(Scanner& tokens, T&& id) noexcept { if(in_list(tokens.current().id(), id)) { tokens.consume(); return true; } return false; } template<typename T, typename...
26.122807
89
0.648086
aaron-michaux
5d43ad0d9b3cf124ef0a593cbac87f07d63dce2e
3,753
cpp
C++
tests/longest_strictly_increasing_subsequence_tester.cpp
pawel-kieliszczyk/algorithms
0703ec99ce9fb215709b56fb0eefbdd576c71ed2
[ "MIT" ]
null
null
null
tests/longest_strictly_increasing_subsequence_tester.cpp
pawel-kieliszczyk/algorithms
0703ec99ce9fb215709b56fb0eefbdd576c71ed2
[ "MIT" ]
null
null
null
tests/longest_strictly_increasing_subsequence_tester.cpp
pawel-kieliszczyk/algorithms
0703ec99ce9fb215709b56fb0eefbdd576c71ed2
[ "MIT" ]
null
null
null
#include <vector> #include <gtest/gtest.h> #include "longest_monotonic_subsequence.hpp" namespace gt = testing; namespace pk { namespace testing { struct longest_strictly_increasing_subsequence_tester : public gt::Test { static const int MAX_SEQUENCE_SIZE = 9; // tested class: typedef longest_monot...
23.45625
106
0.716227
pawel-kieliszczyk
5d48b709e6fdd41429967fe580ca39b047eab5fa
1,142
cpp
C++
test/priQue.cpp
DQiuLin/calculator
2717cdca1d6adb38d7ac4be3cf6f851f129fe3f6
[ "MIT" ]
null
null
null
test/priQue.cpp
DQiuLin/calculator
2717cdca1d6adb38d7ac4be3cf6f851f129fe3f6
[ "MIT" ]
null
null
null
test/priQue.cpp
DQiuLin/calculator
2717cdca1d6adb38d7ac4be3cf6f851f129fe3f6
[ "MIT" ]
null
null
null
#include "common.h" static bool cmp(const std::pair<int, int> &a, const std::pair<int, int> &b) { return a.second < b.second; } class MyCompare { public: bool operator()(const std::pair<int, int> &a, const std::pair<int, int> &b) { return a.second < b.second; } }; int main() { // priority_qu...
29.282051
108
0.436077
DQiuLin
5d4b8388df4e5a976081a87e4f0385c478f2c995
6,187
cpp
C++
src/Core/QSafeguard.cpp
ericzh86/qt-toolkit
63ec071f8989d6efcc4afa30fa98ede695edba27
[ "MIT" ]
4
2020-01-07T07:05:18.000Z
2020-01-09T10:25:41.000Z
src/Core/QSafeguard.cpp
ericzh86/qt-toolkit
63ec071f8989d6efcc4afa30fa98ede695edba27
[ "MIT" ]
null
null
null
src/Core/QSafeguard.cpp
ericzh86/qt-toolkit
63ec071f8989d6efcc4afa30fa98ede695edba27
[ "MIT" ]
null
null
null
#include "QSafeguard.h" #include "QSafeguard_p.h" #include <QStringBuilder> #include <QLoggingCategory> Q_LOGGING_CATEGORY(lcSafeguard, "QSafeguard") // class QSafeguard QSafeguard::QSafeguard(const QString &dumpPath, QObject *parent) : QObject(parent) , d_ptr(new QSafeguardPrivate()) { d_ptr->q_ptr = t...
33.625
115
0.390981
ericzh86
5d4caf277b27ba63bbb807483211bf2ceba71b87
1,990
cpp
C++
src/fireball.cpp
alohamora/legend-of-zelda
63b764ab27a171af1f809dcd8aa8e85b2c06accc
[ "MIT" ]
null
null
null
src/fireball.cpp
alohamora/legend-of-zelda
63b764ab27a171af1f809dcd8aa8e85b2c06accc
[ "MIT" ]
null
null
null
src/fireball.cpp
alohamora/legend-of-zelda
63b764ab27a171af1f809dcd8aa8e85b2c06accc
[ "MIT" ]
null
null
null
#include"main.h" #include"fireball.h" Fireball::Fireball(color_t color){ position = glm::vec3(0,-1,0); speed = 0.8; speed_up = 0; acc_y = 0; static const GLfloat vertex_buffer_data[] = { -0.5,-0.5,-0.5, // triangle 1 : begin -0.5,-0.5, 0.5, -0.5, 0.5, 0.5, // triangle 1 : en...
24.875
90
0.443216
alohamora
5d4f1ab5241e92633625bb1351f5d8ead7776e17
15,807
cpp
C++
src/string_calculator.cpp
botn365/cpp-discord-bot
20cd173fa1a806a4c7fc44cf7e23163f78e88e79
[ "MIT" ]
null
null
null
src/string_calculator.cpp
botn365/cpp-discord-bot
20cd173fa1a806a4c7fc44cf7e23163f78e88e79
[ "MIT" ]
1
2021-12-19T01:46:40.000Z
2021-12-20T18:57:07.000Z
src/string_calculator.cpp
botn365/cpp-discord-bot
20cd173fa1a806a4c7fc44cf7e23163f78e88e79
[ "MIT" ]
null
null
null
// // Created by vanda on 12/10/2021. // #include <cmath> #include "../include/string_calculator.hpp" #include "../include/load_operators.hpp" static std::unordered_map<char32_t, Bot::Operator> unicodeToOperator; static std::unordered_map<char32_t, int> unicodeToNumber; static std::unordered_map<char32_t, bool> usedU...
38.742647
120
0.486746
botn365
5d51795d9f817177e42f08b1df322aed162b9210
35,686
cpp
C++
src/validate.cpp
biologic/stylus
ae642bbb7e2205bab1ab1b4703ea037e996e13db
[ "Apache-2.0" ]
null
null
null
src/validate.cpp
biologic/stylus
ae642bbb7e2205bab1ab1b4703ea037e996e13db
[ "Apache-2.0" ]
null
null
null
src/validate.cpp
biologic/stylus
ae642bbb7e2205bab1ab1b4703ea037e996e13db
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * \file validate.cpp * \brief Stylus Gene class (validation methods) * * Stylus, Copyright 2006-2009 Biologic Institute * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compl...
31.44141
149
0.657989
biologic
5d558bb08d4ef14678f8a1be773aa5f48a93dd83
16,633
cpp
C++
tests/CppUTest/TestUTestStringMacro.cpp
aunitt/cpputest
c981ed449df76e8e769286663c1caab069da324e
[ "BSD-3-Clause" ]
2
2016-02-04T16:34:01.000Z
2021-05-27T17:48:15.000Z
tests/CppUTest/TestUTestStringMacro.cpp
aunitt/cpputest
c981ed449df76e8e769286663c1caab069da324e
[ "BSD-3-Clause" ]
null
null
null
tests/CppUTest/TestUTestStringMacro.cpp
aunitt/cpputest
c981ed449df76e8e769286663c1caab069da324e
[ "BSD-3-Clause" ]
1
2020-01-22T19:46:10.000Z
2020-01-22T19:46:10.000Z
/* * Copyright (c) 2007, Michael Feathers, James Grenning and Bas Vodde * 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...
35.464819
118
0.788252
aunitt
5d5edeafb6b57aacc1a54a3edb36df001c920da1
20,107
cpp
C++
Game/OGRE/OgreMain/src/OgreHardwareBufferManager.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/OGRE/OgreMain/src/OgreHardwareBufferManager.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/OGRE/OgreMain/src/OgreHardwareBufferManager.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2005 The OGRE Team Also see acknowledgements in Readme.html This program is free software...
39.194932
118
0.561198
hackerlank
5d60f4453a4e2c0bff29e205fc60cc7dd8f2b7f5
5,548
cpp
C++
src/core/transform/ojph_colour_sse2.cpp
jpambrun/OpenJPH
9cce6ed4a74b3dd0f0cdc48d90b595cd0b8d9030
[ "BSD-2-Clause" ]
null
null
null
src/core/transform/ojph_colour_sse2.cpp
jpambrun/OpenJPH
9cce6ed4a74b3dd0f0cdc48d90b595cd0b8d9030
[ "BSD-2-Clause" ]
null
null
null
src/core/transform/ojph_colour_sse2.cpp
jpambrun/OpenJPH
9cce6ed4a74b3dd0f0cdc48d90b595cd0b8d9030
[ "BSD-2-Clause" ]
null
null
null
/****************************************************************************/ // This software is released under the 2-Clause BSD license, included // below. // // Copyright (c) 2019, Aous Naman // Copyright (c) 2019, Kakadu Software Pty Ltd, Australia // Copyright (c) 2019, The University of New South Wales, Austral...
37.486486
78
0.550108
jpambrun
5d63312817b6c5ab1f5ff2e5a7de4c3775eff77e
8,319
cpp
C++
src/linux/InotifyEventLoop.cpp
dacap/panoptes
f7d4756f18ff610f0ef2c160d56cd00cc3582939
[ "MIT" ]
null
null
null
src/linux/InotifyEventLoop.cpp
dacap/panoptes
f7d4756f18ff610f0ef2c160d56cd00cc3582939
[ "MIT" ]
null
null
null
src/linux/InotifyEventLoop.cpp
dacap/panoptes
f7d4756f18ff610f0ef2c160d56cd00cc3582939
[ "MIT" ]
null
null
null
#include "pfw/linux/InotifyEventLoop.h" #include <sys/ioctl.h> #include <csignal> #include <iostream> using namespace pfw; InotifyEventLoop::InotifyEventLoop(int inotifyInstance, InotifyService *inotifyService) : mInotifyService(inotifyService) , mInotifyInstan...
33.011905
80
0.572184
dacap
5d6564bb0a711a45cfb9ec66e881bf51ebc78c8a
1,103
cpp
C++
src/worker/ProgressReporter.cpp
rosneru/ADiffView
5f7d6cf4c7b5c65ba1221370d272ba12c21f4911
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/worker/ProgressReporter.cpp
rosneru/ADiffView
5f7d6cf4c7b5c65ba1221370d272ba12c21f4911
[ "BSD-3-Clause", "MIT" ]
7
2019-02-09T18:27:06.000Z
2021-07-13T09:47:18.000Z
src/worker/ProgressReporter.cpp
rosneru/ADiffView
5f7d6cf4c7b5c65ba1221370d272ba12c21f4911
[ "BSD-3-Clause", "MIT" ]
null
null
null
#ifdef __clang__ #include <clib/exec_protos.h> #else #include <proto/exec.h> #endif #include <stddef.h> #include "ProgressMessage.h" #include "ProgressReporter.h" ProgressReporter::ProgressReporter(struct MsgPort* pProgressPort, struct MsgPort*& pReplyPort) : m_pProgressPort(...
23.468085
72
0.738894
rosneru
5d680959dcb71b868b23f43aa85a4f3640be88cc
1,545
cc
C++
src/camera.cc
paly2/VESPID
aebfc05b7f9d152a69a168b9e31685de1abe48fa
[ "MIT" ]
1
2018-05-08T07:40:57.000Z
2018-05-08T07:40:57.000Z
src/camera.cc
paly2/VESPID
aebfc05b7f9d152a69a168b9e31685de1abe48fa
[ "MIT" ]
null
null
null
src/camera.cc
paly2/VESPID
aebfc05b7f9d152a69a168b9e31685de1abe48fa
[ "MIT" ]
null
null
null
#include <raspicam/raspicam_cv.h> #include <cxcore.hpp> #include <SDL_thread.h> #include <SDL_mutex.h> #include "camera.hh" #include "util.hh" namespace Camera { Camera::Camera() : m_newimage_tracker(CAMERA_CLASER_ONSUMERS) { m_thread.launch("CameraThread"); } bool Camera::newImage(int src_id) { if (m_newimag...
21.164384
75
0.716505
paly2
5d6fe65c08f398e3f90cb09b236e570fdce17ca2
6,612
cpp
C++
Graph/10numberOfOpsToMakeNetworkConnected.cpp
Coderangshu/450DSA
fff6cee65f75e5a0bb61d5fd8d000317a7736ca3
[ "MIT" ]
1
2021-01-18T14:51:20.000Z
2021-01-18T14:51:20.000Z
Graph/10numberOfOpsToMakeNetworkConnected.cpp
Coderangshu/450DSA
fff6cee65f75e5a0bb61d5fd8d000317a7736ca3
[ "MIT" ]
null
null
null
Graph/10numberOfOpsToMakeNetworkConnected.cpp
Coderangshu/450DSA
fff6cee65f75e5a0bb61d5fd8d000317a7736ca3
[ "MIT" ]
null
null
null
class Solution { public: // Method 1: Using adjacency matrix and DFS/BFS to traverse for each nodes // By traversing each nodes we find the components of a graph // then check if atleast component-1 redundant edges are present or not // if present we return ans as component-1 as that...
37.355932
86
0.540532
Coderangshu
5d72959b82f3512f3036468d26d20a78356e82a3
1,517
hpp
C++
src/Numerical/RootFinding/RootFinder.hpp
wthrowe/spectre
0ddd6405eef1e57de1d0a765aa4f6cfbc83c9f15
[ "MIT" ]
null
null
null
src/Numerical/RootFinding/RootFinder.hpp
wthrowe/spectre
0ddd6405eef1e57de1d0a765aa4f6cfbc83c9f15
[ "MIT" ]
null
null
null
src/Numerical/RootFinding/RootFinder.hpp
wthrowe/spectre
0ddd6405eef1e57de1d0a765aa4f6cfbc83c9f15
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. /// \file /// Declares function find_root_of_function #pragma once #include <functional> #include <limits> #include <boost/math/tools/toms748_solve.hpp> /*! \ingroup Functors * \brief Finds the root of the function f with the TOMS_748 method. ...
35.27907
80
0.673698
wthrowe
5d749b35c084fdd829b8b299179b46a3a95a6714
1,870
hpp
C++
external/caramel-poly/include/caramel-poly/detail/ConstexprPair.hpp
mikosz/caramel-engine
7dbf1bbe4ece9c1f6813723a0bb5872e33e0284a
[ "MIT" ]
1
2019-01-12T22:37:21.000Z
2019-01-12T22:37:21.000Z
external/caramel-poly/include/caramel-poly/detail/ConstexprPair.hpp
mikosz/caramel-engine
7dbf1bbe4ece9c1f6813723a0bb5872e33e0284a
[ "MIT" ]
null
null
null
external/caramel-poly/include/caramel-poly/detail/ConstexprPair.hpp
mikosz/caramel-engine
7dbf1bbe4ece9c1f6813723a0bb5872e33e0284a
[ "MIT" ]
null
null
null
// Copyright Mikolaj Radwan 2018 // Distributed under the MIT license (See accompanying file LICENSE) #ifndef CARAMELPOLY_DETAIL_CONSTEXPRPAIR_HPP__ #define CARAMELPOLY_DETAIL_CONSTEXPRPAIR_HPP__ #include <type_traits> namespace caramel::poly::detail { template <class FirstT, class SecondT, class = void> class Cons...
21.744186
117
0.738503
mikosz
5d74f56001e927aab9dae7bfaf5bcd2e6d6e99ed
554
inl
C++
GameEngine/GameEngine/src/Resources.inl
SamCooksley/GameEngine
3c32eba545428c8aa3227abcb815d8d799ab92d9
[ "Apache-2.0" ]
null
null
null
GameEngine/GameEngine/src/Resources.inl
SamCooksley/GameEngine
3c32eba545428c8aa3227abcb815d8d799ab92d9
[ "Apache-2.0" ]
null
null
null
GameEngine/GameEngine/src/Resources.inl
SamCooksley/GameEngine
3c32eba545428c8aa3227abcb815d8d799ab92d9
[ "Apache-2.0" ]
null
null
null
namespace engine { template <class T> std::shared_ptr<T> Resources::Load(const String & _path) { static_assert(std::is_base_of<Asset, T>::value, "Resource must be type of Object."); auto res = Application::s_context->resources.find(_path); if (res != Application::s_context->resources.end()) { ...
22.16
88
0.633574
SamCooksley
5d78dee24835002659c1dc33aa0a35839be4b565
3,773
cpp
C++
ngraph/core/reference/src/runtime/reference/tile.cpp
szabi-luxonis/openvino
c8dd831fc3ba68a256ab47edb4f6bf3cb5e804be
[ "Apache-2.0" ]
2
2020-11-18T14:14:06.000Z
2020-11-28T04:55:57.000Z
ngraph/core/reference/src/runtime/reference/tile.cpp
szabi-luxonis/openvino
c8dd831fc3ba68a256ab47edb4f6bf3cb5e804be
[ "Apache-2.0" ]
30
2020-11-13T11:44:07.000Z
2022-02-21T13:03:16.000Z
ngraph/core/reference/src/runtime/reference/tile.cpp
szabi-luxonis/openvino
c8dd831fc3ba68a256ab47edb4f6bf3cb5e804be
[ "Apache-2.0" ]
1
2020-12-18T15:47:45.000Z
2020-12-18T15:47:45.000Z
//***************************************************************************** // Copyright 2017-2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
35.933333
98
0.571694
szabi-luxonis
5d7af16dd1a8576e69027603e04837e44e0044ba
2,066
cpp
C++
GameServer/Source/MapRateInfo.cpp
sp3cialk/MU-S8EP2-Repack
202856a74c905c203b9b2795fd161f564ca8b257
[ "MIT" ]
10
2019-04-09T23:36:43.000Z
2022-02-10T19:20:52.000Z
GameServer/Source/MapRateInfo.cpp
microvn/mu-s8ep2-repack
202856a74c905c203b9b2795fd161f564ca8b257
[ "MIT" ]
1
2019-09-25T17:12:36.000Z
2019-09-25T17:12:36.000Z
GameServer/Source/MapRateInfo.cpp
microvn/mu-s8ep2-repack
202856a74c905c203b9b2795fd161f564ca8b257
[ "MIT" ]
9
2019-09-25T17:12:57.000Z
2021-08-18T01:21:25.000Z
#include "stdafx.h" #include "MapRateInfo.h" #include "..\pugixml\pugixml.hpp" #include "GameMain.h" #include "MasterSkillSystem.h" using namespace pugi; MapRateInfo g_MapRateInfo; MapRateInfo::MapRateInfo() { } MapRateInfo::~MapRateInfo() { } void MapRateInfo::Init() { this->m_RateInfo.clear(); if( this->m_Rat...
20.868687
82
0.671346
sp3cialk
5d7c098b2c29bc5c4548848c198e47fd3d847a75
2,573
cc
C++
linux/flutter_jscore_plugin.cc
xuelongqy/flutter_jscore
dd8bf1153c7a8bfc78adfd24accb129740b8aa29
[ "MIT" ]
122
2020-02-26T06:27:46.000Z
2022-03-25T08:37:54.000Z
linux/flutter_jscore_plugin.cc
xuelongqy/flutter_jscore
dd8bf1153c7a8bfc78adfd24accb129740b8aa29
[ "MIT" ]
11
2020-03-15T10:36:57.000Z
2022-01-19T06:28:08.000Z
linux/flutter_jscore_plugin.cc
xuelongqy/flutter_jscore
dd8bf1153c7a8bfc78adfd24accb129740b8aa29
[ "MIT" ]
19
2020-03-10T15:30:13.000Z
2021-11-23T14:52:25.000Z
#include "include/flutter_jscore/flutter_jscore_plugin.h" #include <flutter_linux/flutter_linux.h> #include <gtk/gtk.h> #include <sys/utsname.h> #include <cstring> #define FLUTTER_JSCORE_PLUGIN(obj) \ (G_TYPE_CHECK_INSTANCE_CAST((obj), flutter_jscore_plugin_get_type(), \ FlutterJscore...
36.239437
82
0.743101
xuelongqy
5d8351b210297e42b59a3a9f4d8cef979bbf537a
497
cpp
C++
CsWeapon/Source/CsWp/Public/Trace/Data/Sound/CsData_TraceWeapon_SoundFire.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
2
2019-03-17T10:43:53.000Z
2021-04-20T21:24:19.000Z
CsWeapon/Source/CsWp/Public/Trace/Data/Sound/CsData_TraceWeapon_SoundFire.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
CsWeapon/Source/CsWp/Public/Trace/Data/Sound/CsData_TraceWeapon_SoundFire.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
// Copyright 2017-2021 Closed Sum Games, LLC. All Rights Reserved. #include "Trace/Data/Sound/CsData_TraceWeapon_SoundFire.h" #include "CsWp.h" const FName ICsData_TraceWeapon_SoundFire::Name = FName("ICsData_TraceWeapon_SoundFire"); UCsData_TraceWeapon_SoundFire::UCsData_TraceWeapon_SoundFire(const FObjectInitialize...
45.181818
132
0.806841
closedsum
5d8526bbc9ca05b3cea9dc75b261669fe244cff1
6,971
hpp
C++
Code/Foundation/Common/Containers/SlotMap.hpp
WelderUpdates/WelderEngineRevamp
1c665239566e9c7156926852f7952948d9286d7d
[ "MIT" ]
3
2022-02-11T10:34:33.000Z
2022-02-24T17:44:17.000Z
Code/Foundation/Common/Containers/SlotMap.hpp
WelderUpdates/WelderEngineRevamp
1c665239566e9c7156926852f7952948d9286d7d
[ "MIT" ]
null
null
null
Code/Foundation/Common/Containers/SlotMap.hpp
WelderUpdates/WelderEngineRevamp
1c665239566e9c7156926852f7952948d9286d7d
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #pragma once #include "ContainerCommon.hpp" #include "Memory/Allocator.hpp" namespace Zero { /// Intrusive slot map container. Uses an array of slots combined with // a unique id. Value Type MUST be a pointer. template <typename keyType, typename dataType, typename slotPolicy, typen...
22.130159
106
0.629465
WelderUpdates
5d8656a057e698ddcbb02984eabfb6bfd9f7493b
3,334
cpp
C++
src/cpp/23. Merge k Sorted Lists.cpp
yjjnls/D.S.A-Leet
be19c3ccc1f704e75590786fdfd4cd3ab4818d4f
[ "MIT" ]
222
2018-09-25T08:46:31.000Z
2022-02-07T12:33:42.000Z
src/cpp/23. Merge k Sorted Lists.cpp
yjjnls/D.S.A-Leet
be19c3ccc1f704e75590786fdfd4cd3ab4818d4f
[ "MIT" ]
1
2017-11-23T04:39:48.000Z
2017-11-23T04:39:48.000Z
src/cpp/23. Merge k Sorted Lists.cpp
yjjnls/D.S.A-Leet
be19c3ccc1f704e75590786fdfd4cd3ab4818d4f
[ "MIT" ]
12
2018-10-05T03:16:05.000Z
2020-12-19T04:25:33.000Z
/* Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. */ /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ #include <common.hpp> using std::priority_queue; class ...
22.375839
98
0.538092
yjjnls
5d8d483cde66fb01c4dea11926a7591741ad3c7c
551
hpp
C++
library/ATF/__TEMP_WAIT_TOWER.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/__TEMP_WAIT_TOWER.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/__TEMP_WAIT_TOWER.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <CMapData.hpp> START_ATF_NAMESPACE #pragma pack(push, 8) struct __TEMP_WAIT_TOWER { unsigned int dwMasterSerial; char byItemIndex; ...
22.958333
108
0.662432
lemkova
5d90e81bf19edf19ce57074503f29e43b805b7df
996
hpp
C++
include/ShaderAST/Expr/ExprQuestion.hpp
jarrodmky/ShaderWriter
ee9ce00a003bf544f8c8f23b5c07739e21cb3754
[ "MIT" ]
148
2018-10-11T16:51:37.000Z
2022-03-26T13:55:08.000Z
include/ShaderAST/Expr/ExprQuestion.hpp
jarrodmky/ShaderWriter
ee9ce00a003bf544f8c8f23b5c07739e21cb3754
[ "MIT" ]
30
2019-11-30T11:43:07.000Z
2022-01-25T21:09:47.000Z
include/ShaderAST/Expr/ExprQuestion.hpp
jarrodmky/ShaderWriter
ee9ce00a003bf544f8c8f23b5c07739e21cb3754
[ "MIT" ]
8
2020-04-17T13:18:30.000Z
2021-11-20T06:24:44.000Z
/* See LICENSE file in root folder */ #ifndef ___AST_ExprQuestion_H___ #define ___AST_ExprQuestion_H___ #pragma once #include "Expr.hpp" namespace ast::expr { class Question : public Expr { public: SDAST_API Question( type::TypePtr type , ExprPtr ctrlExpr , ExprPtr trueExpr , ExprPtr falseExpr ); S...
17.172414
56
0.688755
jarrodmky
5d91476154f3b00ee3a98cb9c21e624303f71476
4,846
hpp
C++
include/Org/BouncyCastle/Math/EC/Rfc7748/X448Field.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/Org/BouncyCastle/Math/EC/Rfc7748/X448Field.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/Org/BouncyCastle/Math/EC/Rfc7748/X448Field.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Completed includes // Type namespace: Org.BouncyCastle.Math.EC.Rfc7748 namespace Org:...
52.673913
133
0.647751
darknight1050
4b6b6b0da66e98c0b06eae7ea6b4d0052f4684ef
562
cpp
C++
test/test_main.cpp
polestar/audio_utils
9f5aedb2e21475b4b86e0adfab2da13fbf539930
[ "MIT" ]
1
2020-02-23T09:53:27.000Z
2020-02-23T09:53:27.000Z
test/test_main.cpp
polestar/audio_utils
9f5aedb2e21475b4b86e0adfab2da13fbf539930
[ "MIT" ]
1
2022-03-06T09:04:17.000Z
2022-03-06T09:04:17.000Z
test/test_main.cpp
cfogelklou/sweet_osal_platform
3ebb0ccc37910caf09fd7d2974c742cbdb57171e
[ "MIT" ]
1
2021-12-16T04:26:49.000Z
2021-12-16T04:26:49.000Z
#include <gtest/gtest.h> #include <gmock/gmock.h> using namespace testing; #ifdef WIN32 #include <Windows.h> #define usleep(x) Sleep(x/1000) #endif static void stupidRandom(uint8_t *buf, int cnt) { for (int i = 0; i < cnt; i++) { buf[i] = rand() % 255; } } TEST(TestAudioLib, bleah){ } int main(int argc, c...
18.733333
66
0.670819
polestar
4b6f9ef0f862da502aaa6a2bd64d1b87072fd18e
2,606
cpp
C++
mbed-glove-firmware/drivers/collector.cpp
apadin1/Team-GLOVE
d5f5134da79d050164dffdfdf87f12504f6b1370
[ "Apache-2.0" ]
null
null
null
mbed-glove-firmware/drivers/collector.cpp
apadin1/Team-GLOVE
d5f5134da79d050164dffdfdf87f12504f6b1370
[ "Apache-2.0" ]
null
null
null
mbed-glove-firmware/drivers/collector.cpp
apadin1/Team-GLOVE
d5f5134da79d050164dffdfdf87f12504f6b1370
[ "Apache-2.0" ]
1
2019-01-09T05:16:42.000Z
2019-01-09T05:16:42.000Z
/* * Filename: collector.cpp * Project: EECS 473 - Team GLOVE * Date: Fall 2016 * Authors: * Nick Bertoldi * Ben Heckathorn * Ryan O’Keefe * Adrian Padin * Tim Schumacher * * Purpose: * Implementation of collector.h * * Copyright (c) 2016 by Nick Bertoldi, Ben Heckathorn, Ryan...
34.289474
82
0.719493
apadin1
4b735d80b365f4d2664e4cc049e18481dfc5751f
1,333
hpp
C++
irohad/model/commands/transfer_asset.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
irohad/model/commands/transfer_asset.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
irohad/model/commands/transfer_asset.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_TRANSFER_ASSET_HPP #define IROHA_TRANSFER_ASSET_HPP #include <string> #include "model/command.hpp" namespace iroha { namespace model { /** * Transfer asset from one account to another *...
22.216667
61
0.585146
akshatkarani
4b7415838596cae7fdb9101e92160b495319b9b4
570
cpp
C++
13-stencil-buffered/project/src/stencil.cpp
walkieq/fccm2021-tutorial
f0eb2976a657f5a7c5a54be0ebb5d19b79fe93ee
[ "Apache-2.0" ]
2
2021-05-07T22:12:42.000Z
2021-05-09T04:36:28.000Z
13-stencil-buffered/project/src/stencil.cpp
yluo39github/fccm2021-tutorial
af341027d6302deead2a6666254c60d3a46dc6d2
[ "Apache-2.0" ]
null
null
null
13-stencil-buffered/project/src/stencil.cpp
yluo39github/fccm2021-tutorial
af341027d6302deead2a6666254c60d3a46dc6d2
[ "Apache-2.0" ]
2
2021-05-09T14:42:51.000Z
2021-12-05T22:32:10.000Z
#define DATA_SIZE 1024 #define STENCIL_SIZE 16 extern "C" { void stencil(int *in1, int *out) { int buffer[STENCIL_SIZE]; for(unsigned int i = 0; i < (STENCIL_SIZE - 1); i++) buffer[i + 1] = in1[i]; for(unsigned int i = 0; i < DATA_SIZE; i++) { for(unsigned int j = 0; j < (STENCIL_SIZE - ...
22.8
61
0.519298
walkieq