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
c5ddde20f6c56e7f56b531984129997f544d710d
39,411
cpp
C++
Temp/StagingArea/Data/il2cppOutput/Bulk_UnityEngine.DirectorModule_0.cpp
BorntoDev/WTFCity
03a03f435a91379ae77adb023c36e1f3eef53ac9
[ "MIT" ]
2
2018-12-24T04:15:16.000Z
2020-04-17T08:39:06.000Z
Temp/StagingArea/Data/il2cppOutput/Bulk_UnityEngine.DirectorModule_0.cpp
BorntoDev/WTFCity
03a03f435a91379ae77adb023c36e1f3eef53ac9
[ "MIT" ]
null
null
null
Temp/StagingArea/Data/il2cppOutput/Bulk_UnityEngine.DirectorModule_0.cpp
BorntoDev/WTFCity
03a03f435a91379ae77adb023c36e1f3eef53ac9
[ "MIT" ]
4
2018-12-24T04:16:08.000Z
2020-04-15T05:24:50.000Z
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "i...
36.156881
227
0.823146
BorntoDev
c5dea68dcaeefd7c2a1d23e0e4dd7ca288ce6807
18,621
cc
C++
src/nodes/mec/MECPlatform/MECServices/LocationService/LocationService.cc
aferaudo/Simu5G
301888f86d97a291f6dc8386590c8f7ba817a42d
[ "Intel" ]
null
null
null
src/nodes/mec/MECPlatform/MECServices/LocationService/LocationService.cc
aferaudo/Simu5G
301888f86d97a291f6dc8386590c8f7ba817a42d
[ "Intel" ]
null
null
null
src/nodes/mec/MECPlatform/MECServices/LocationService/LocationService.cc
aferaudo/Simu5G
301888f86d97a291f6dc8386590c8f7ba817a42d
[ "Intel" ]
1
2021-12-15T14:50:34.000Z
2021-12-15T14:50:34.000Z
// // Simu5G // // Authors: Giovanni Nardini, Giovanni Stea, Antonio Virdis (University of Pisa) // // This file is part of a software released under the license included in file // "license.pdf". Please read LICENSE and README files before using it. // The above files and the present reference are par...
40.131466
205
0.602921
aferaudo
c5dfd15cfba1dc543850cd9b1bcb73714f374875
2,654
cpp
C++
src/hal/Mouse.cpp
bajric/eeros
157dcfa87f87f55bc2fec703ea2c4eb1c27a35c8
[ "Apache-2.0" ]
null
null
null
src/hal/Mouse.cpp
bajric/eeros
157dcfa87f87f55bc2fec703ea2c4eb1c27a35c8
[ "Apache-2.0" ]
null
null
null
src/hal/Mouse.cpp
bajric/eeros
157dcfa87f87f55bc2fec703ea2c4eb1c27a35c8
[ "Apache-2.0" ]
null
null
null
#include <eeros/hal/Mouse.hpp> using namespace eeros::hal; #include <cstdio> #include <fcntl.h> #include <unistd.h> Mouse::Mouse() { current.button.left = 0; current.button.middle = 0; current.button.right = 0; current.axis.x = 0; current.axis.y = 0; current.axis.z =...
23.486726
88
0.433308
bajric
c5e35732dcf338d7f51cce15fbdb062145a5b8c3
3,368
cpp
C++
source/FAST/Algorithms/ImageCropper/Tests.cpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
source/FAST/Algorithms/ImageCropper/Tests.cpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
source/FAST/Algorithms/ImageCropper/Tests.cpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
#include <FAST/Testing.hpp> #include "ImageCropper.hpp" #include <FAST/Importers/ImageFileImporter.hpp> #include <FAST/Data/Image.hpp> using namespace fast; TEST_CASE("ImageCropper 2D", "[fast][ImageCropper]") { auto importer = ImageFileImporter::create(Config::getTestDataPath() + "US/US-2D.png"); auto croppe...
39.162791
100
0.662411
andreped
c5e4f861dcab7ff4e1f82b5c6f721e2b795374f2
675
cpp
C++
_Algotester/47sequence.cpp
DenysGusti/university
d90ddbc3cb023a0d8c8799223457999da4da23b1
[ "MIT" ]
null
null
null
_Algotester/47sequence.cpp
DenysGusti/university
d90ddbc3cb023a0d8c8799223457999da4da23b1
[ "MIT" ]
null
null
null
_Algotester/47sequence.cpp
DenysGusti/university
d90ddbc3cb023a0d8c8799223457999da4da23b1
[ "MIT" ]
null
null
null
#include <iostream> #include <array> using namespace std; int main() { array<unsigned long long, 83> fib{}; fib[0] = 0, fib[1] = 1; for (int i = 2; i < 83; ++i) fib[i] = fib[i - 1] + fib[i - 2]; unsigned long long n, k; cin >> n >> k; if (k > fib[n + 2]) cout << "Flowers"; ...
24.107143
62
0.379259
DenysGusti
c5e86d5823fe1c2e1f1b2ea26646c0485d2f2f50
10,252
cpp
C++
Dispatch/source/Interval.cpp
macmade/Dispatch
72f41a955583e3c94f8696a546bc644912292ea0
[ "MIT" ]
1
2022-02-24T08:53:31.000Z
2022-02-24T08:53:31.000Z
Dispatch/source/Interval.cpp
macmade/Dispatch
72f41a955583e3c94f8696a546bc644912292ea0
[ "MIT" ]
null
null
null
Dispatch/source/Interval.cpp
macmade/Dispatch
72f41a955583e3c94f8696a546bc644912292ea0
[ "MIT" ]
null
null
null
/******************************************************************************* * The MIT License (MIT) * * Copyright (c) 2020 Jean-David Gadina - www.xs-labs.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
27.338667
116
0.530238
macmade
c5ec3ebd25da29bf243043280f2b78b6c9a3338e
2,143
cc
C++
nac/core/common.cc
carlushuang/nnac
1e2300bc89b818902803562bb8c69e76dc451f03
[ "BSD-2-Clause" ]
null
null
null
nac/core/common.cc
carlushuang/nnac
1e2300bc89b818902803562bb8c69e76dc451f03
[ "BSD-2-Clause" ]
null
null
null
nac/core/common.cc
carlushuang/nnac
1e2300bc89b818902803562bb8c69e76dc451f03
[ "BSD-2-Clause" ]
null
null
null
#include "common.h" namespace nac{ static struct { const char * str; int data_type; } data_type_str_table [] = { {"fp32", NAC_DATA_FP32}, {"fp16", NAC_DATA_FP16}, {"dt1", NAC_DATA_DEV_TYPE_1}, {"dt2", NAC_DATA_DEV_TYPE_2}, }; const char * data_type_to_str(int data_type){ i...
28.959459
75
0.620625
carlushuang
c5f42b352e0a832f043025cb8757bb192aaf78f0
1,561
cpp
C++
LeetCode/LeetCoding Challenge/2020/April/8_Letter Combinations of a Phone Number.cpp
cindy-cho/problem_solving
8e230c610573011ca114872fd04070902842232c
[ "MIT" ]
null
null
null
LeetCode/LeetCoding Challenge/2020/April/8_Letter Combinations of a Phone Number.cpp
cindy-cho/problem_solving
8e230c610573011ca114872fd04070902842232c
[ "MIT" ]
null
null
null
LeetCode/LeetCoding Challenge/2020/April/8_Letter Combinations of a Phone Number.cpp
cindy-cho/problem_solving
8e230c610573011ca114872fd04070902842232c
[ "MIT" ]
null
null
null
// Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. Return the answer in any order. // A mapping of digit to letters (just like on the telephone buttons) is given below. Note that 1 does not map to any letters. // Example 1: // Input: digits ...
24.390625
160
0.570147
cindy-cho
c5fbaa8b11a41d5e4c4d67a500764432db89d39a
1,630
hpp
C++
grid_map_filters/include/grid_map_filters/NormalVectorsFilter.hpp
jacobhuesman/grid_map
16673339229f9669aab407d60324515e2459281b
[ "BSD-3-Clause" ]
2
2019-09-11T02:32:16.000Z
2020-05-28T10:59:20.000Z
grid_map_filters/include/grid_map_filters/NormalVectorsFilter.hpp
jacobhuesman/grid_map
16673339229f9669aab407d60324515e2459281b
[ "BSD-3-Clause" ]
null
null
null
grid_map_filters/include/grid_map_filters/NormalVectorsFilter.hpp
jacobhuesman/grid_map
16673339229f9669aab407d60324515e2459281b
[ "BSD-3-Clause" ]
2
2019-07-05T17:48:18.000Z
2020-04-11T07:55:44.000Z
/* * NormalVectorsFilter.hpp * * Created on: May 05, 2015 * Author: Peter Fankhauser, Martin Wermelinger * Institute: ETH Zurich, ANYbotics */ #pragma once #include <filters/filter_base.h> #include <grid_map_core/grid_map_core.hpp> #include <Eigen/Core> #include <string> namespace grid_map { /*! * C...
21.447368
109
0.701227
jacobhuesman
c5ffcb5f6e1065e8634e449306a94dcec9783730
2,450
cpp
C++
base-usage/cplusplus/client-server/test_server3.cpp
sczzq/symmetrical-spoon
aa0c27bb40a482789c7c6a7088307320a007b49b
[ "Unlicense" ]
null
null
null
base-usage/cplusplus/client-server/test_server3.cpp
sczzq/symmetrical-spoon
aa0c27bb40a482789c7c6a7088307320a007b49b
[ "Unlicense" ]
null
null
null
base-usage/cplusplus/client-server/test_server3.cpp
sczzq/symmetrical-spoon
aa0c27bb40a482789c7c6a7088307320a007b49b
[ "Unlicense" ]
null
null
null
/************************************************************************* > File Name: test_server3.cpp > Author: ziqiang > Mail: ziqiang_free@163.com > Created Time: Mon 08 May 2017 09:42:35 PM CST ************************************************************************/ #include <iostream> using namespace std...
22.897196
85
0.597551
sczzq
680719c130395bdbdeb40f6c5352f5d532218b32
1,466
cpp
C++
src/compressedString.cpp
RemiMattheyDoret/SimBit
ed0e64c0abb97c6c889bc0adeec1277cbc6cbe43
[ "MIT" ]
11
2017-06-06T23:02:48.000Z
2021-08-17T20:13:05.000Z
src/compressedString.cpp
RemiMattheyDoret/SimBit
ed0e64c0abb97c6c889bc0adeec1277cbc6cbe43
[ "MIT" ]
1
2017-06-06T23:08:05.000Z
2017-06-07T09:28:08.000Z
src/compressedString.cpp
RemiMattheyDoret/SimBit
ed0e64c0abb97c6c889bc0adeec1277cbc6cbe43
[ "MIT" ]
null
null
null
class compressedString { std::string s; std::string sep; uint32_t counter; std::string countingString; void addCountingString(bool exactCapacity = false) { if (counter != 0) { if (counter == 1) { if (exactCapacity) s.reserve(s.size() + countingString.size()); s += countingString; } else...
17.878049
129
0.578445
RemiMattheyDoret
680e2ec86fd9cb3a0aa540d5c55f132fadd51bd0
1,438
cpp
C++
2020/day02/main.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
3
2021-07-01T14:31:06.000Z
2022-03-29T20:41:21.000Z
2020/day02/main.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
null
null
null
2020/day02/main.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
null
null
null
#include "file.h" #include "utilities.h" #include <iostream> #include <set> #include <vector> namespace aoc2020_day02 { int part_1(std::string_view path) { std::vector<std::string> input = file::readFileAsArrayString(path); int sol = 0; for (const auto &line : input) { std::vect...
31.26087
92
0.514604
alexandru-andronache
681a8b22a152f07979e4bbb14d70018a14144c99
648
cpp
C++
C++11/language/constant expressions/ideone_t8PJY6.cpp
varunnagpaal/cpp
1b7e1678d05d93227caea49b5629cadd217553de
[ "MIT" ]
1
2016-12-15T12:56:41.000Z
2016-12-15T12:56:41.000Z
C++11/language/constant expressions/ideone_t8PJY6.cpp
varunnagpaal/cpp
1b7e1678d05d93227caea49b5629cadd217553de
[ "MIT" ]
null
null
null
C++11/language/constant expressions/ideone_t8PJY6.cpp
varunnagpaal/cpp
1b7e1678d05d93227caea49b5629cadd217553de
[ "MIT" ]
null
null
null
// constexpr part two #include <iostream> using namespace std; // function-type-qualifier func-type function( argument-type-qualifier arg-type argument ) // 3(constexpr,const,nothing) x 2(const,nothing) = 6 // nothing, nothing double func1( double a ) { } // nothing, const double func2( const double& a ) { ...
14.086957
92
0.67284
varunnagpaal
681c05a91d19db168794c3c765aba5177f515a2c
55,671
cpp
C++
modules/ocl/test/test_imgproc.cpp
emaknyus/OpenCV-2.4.3-custom
a0e0cd505560dcc0f13cb7ea4c5506e0251a21e7
[ "MIT" ]
null
null
null
modules/ocl/test/test_imgproc.cpp
emaknyus/OpenCV-2.4.3-custom
a0e0cd505560dcc0f13cb7ea4c5506e0251a21e7
[ "MIT" ]
null
null
null
modules/ocl/test/test_imgproc.cpp
emaknyus/OpenCV-2.4.3-custom
a0e0cd505560dcc0f13cb7ea4c5506e0251a21e7
[ "MIT" ]
null
null
null
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
31.595346
253
0.53112
emaknyus
681ff9eb0e883196be3bf9ce77dd6cd863a9bdb5
2,956
cpp
C++
hal/chibios/time_keeper.cpp
jlecoeur/MAVRIC_Library
56281851da7541d5c1199490a8621d7f18482be1
[ "BSD-3-Clause" ]
12
2016-07-12T10:26:47.000Z
2021-12-14T10:03:11.000Z
hal/chibios/time_keeper.cpp
jlecoeur/MAVRIC_Library
56281851da7541d5c1199490a8621d7f18482be1
[ "BSD-3-Clause" ]
183
2015-01-22T12:35:18.000Z
2017-06-09T10:11:26.000Z
hal/chibios/time_keeper.cpp
jlecoeur/MAVRIC_Library
56281851da7541d5c1199490a8621d7f18482be1
[ "BSD-3-Clause" ]
25
2015-02-03T15:15:48.000Z
2021-12-14T08:55:04.000Z
/******************************************************************************* * Copyright (c) 2009-2016, MAV'RIC Development Team * 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. R...
30.791667
80
0.677267
jlecoeur
682629fb1ff2298af91d3a57552ed0d370917b81
283
hpp
C++
src/sdk/clrrender.hpp
glaivxd/coffee
b724d17164004f377a6704c5c0b2ddf3e6562063
[ "MIT" ]
null
null
null
src/sdk/clrrender.hpp
glaivxd/coffee
b724d17164004f377a6704c5c0b2ddf3e6562063
[ "MIT" ]
null
null
null
src/sdk/clrrender.hpp
glaivxd/coffee
b724d17164004f377a6704c5c0b2ddf3e6562063
[ "MIT" ]
null
null
null
#pragma once class ClrRender { public: ClrRender(unsigned char red, unsigned char green, unsigned char blue) { r = red; g = green; b = blue; } // extravagant balls ClrRender() {}; unsigned char r, g, b; }; namespace Colors { inline ClrRender green = { 0, 255, 0 }; }
12.863636
70
0.64311
glaivxd
682ac2a94803c59e11e21a6e4af0ddaa6d172dd4
11,910
cpp
C++
src/d3d12/d3d12_render_target.cpp
LaisoEmilio/WispRenderer
8186856a7b3e1f0a19f6f6c8a9b99d8ccff38572
[ "Apache-2.0" ]
203
2019-04-26T10:52:22.000Z
2022-03-15T17:42:44.000Z
src/d3d12/d3d12_render_target.cpp
LaisoEmilio/WispRenderer
8186856a7b3e1f0a19f6f6c8a9b99d8ccff38572
[ "Apache-2.0" ]
90
2018-11-23T09:07:05.000Z
2019-04-13T10:44:03.000Z
src/d3d12/d3d12_render_target.cpp
LaisoEmilio/WispRenderer
8186856a7b3e1f0a19f6f6c8a9b99d8ccff38572
[ "Apache-2.0" ]
14
2019-06-19T00:52:00.000Z
2021-02-19T13:44:01.000Z
/*! * Copyright 2019 Breda University of Applied Sciences and Team Wisp (Viktor Zoutman, Emilio Laiso, Jens Hagen, Meine Zeinstra, Tahar Meijs, Koen Buitenhuis, Niels Brunekreef, Darius Bouma, Florian Schut) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except i...
38.794788
205
0.767506
LaisoEmilio
682e491a2c369fe87cc83e4bffbc3d487a80bf4b
117
hpp
C++
src/util/file_to_string.hpp
tuket/OWMAN
d1b3502c3f8e72e4442cc7b52ad32ca191ab8a11
[ "MIT" ]
6
2018-04-26T16:12:56.000Z
2021-08-06T05:20:01.000Z
src/util/file_to_string.hpp
ArnCarveris/OWMAN
d1b3502c3f8e72e4442cc7b52ad32ca191ab8a11
[ "MIT" ]
13
2015-11-17T10:18:45.000Z
2018-06-08T21:02:29.000Z
src/util/file_to_string.hpp
ArnCarveris/OWMAN
d1b3502c3f8e72e4442cc7b52ad32ca191ab8a11
[ "MIT" ]
2
2018-04-26T19:43:33.000Z
2019-07-03T12:27:31.000Z
#include <fstream> #ifndef FILE_TO_STRING #define FILE_TO_STRING char* fileToString(const char* fileName); #endif
13
41
0.786325
tuket
68301b12a5b4089c62b09c89b711f053262ae1a4
16,653
cpp
C++
src/item/item.cpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
18
2016-05-26T18:11:31.000Z
2022-02-10T20:00:52.000Z
src/item/item.cpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
null
null
null
src/item/item.cpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
2
2016-06-30T15:20:01.000Z
2020-08-27T18:28:33.000Z
/// @file item.cpp /// @brief Implements item methods. /// @author Enrico Fraccaroli /// @date Aug 25 2014 /// @copyright /// Copyright (c) 2016 Enrico Fraccaroli <enrico.fraccaroli@gmail.com> /// Permission is hereby granted, free of charge, to any person obtaining a /// copy of this software and associated docum...
28.466667
79
0.569687
Galfurian
683216bfd91418633a512e7a1ad3c035de7d781a
746
cpp
C++
src/Map/src/test_minkowski.cpp
attaoveisi/PathPlanning_Classics
8d4412b147ab99d9a28d1ff4c8b7844b37de23bb
[ "Apache-2.0" ]
1
2021-01-10T10:52:21.000Z
2021-01-10T10:52:21.000Z
src/Map/src/test_minkowski.cpp
attaoveisi/PathPlanning_Classics
8d4412b147ab99d9a28d1ff4c8b7844b37de23bb
[ "Apache-2.0" ]
null
null
null
src/Map/src/test_minkowski.cpp
attaoveisi/PathPlanning_Classics
8d4412b147ab99d9a28d1ff4c8b7844b37de23bb
[ "Apache-2.0" ]
null
null
null
#include "minkowski.hpp" int main() { // Define the coordinates of triangle A and B in 2D vectors std::vector<std::vector<double>> A(3, std::vector<double>(2)); // Robot A A = {{ 0, -1 }, { 0, 1 }, { 1, 0 }, {-2, 0}}; std::vector<std::vector<double>> B(3, std::vector<double>(2)); // Obstacle B ...
26.642857
66
0.565684
attaoveisi
683440bc961d3e97733126fdf846ada662a61c42
1,422
cpp
C++
acpp/chp7/xref.cpp
Binary-bug/Cplusplus
48e33d1c572062b34ca57fe61a186ef675a9980b
[ "MIT" ]
null
null
null
acpp/chp7/xref.cpp
Binary-bug/Cplusplus
48e33d1c572062b34ca57fe61a186ef675a9980b
[ "MIT" ]
null
null
null
acpp/chp7/xref.cpp
Binary-bug/Cplusplus
48e33d1c572062b34ca57fe61a186ef675a9980b
[ "MIT" ]
null
null
null
#include<string> #include<iostream> #include<vector> #include<map> #include "split.h" using namespace std; map<string, vector<int> > xref(istream& in, vector<string> find_words(const string&) = split){ string line; int line_number = 0; map<string,vector<int> > ret; // read the nextline while(getline(in,line))...
23.311475
128
0.670886
Binary-bug
683784a1690f3a2965322df38ce2dd129a04d82b
21
cpp
C++
src/Vm/Allocator/RootSet.cpp
minium2/neolang
08b8b9c551abc026222ba6188d48489fcc3486f1
[ "Apache-2.0" ]
null
null
null
src/Vm/Allocator/RootSet.cpp
minium2/neolang
08b8b9c551abc026222ba6188d48489fcc3486f1
[ "Apache-2.0" ]
null
null
null
src/Vm/Allocator/RootSet.cpp
minium2/neolang
08b8b9c551abc026222ba6188d48489fcc3486f1
[ "Apache-2.0" ]
null
null
null
#include "RootSet.h"
10.5
20
0.714286
minium2
683da7e1b026b555639621643cf47e99044f6338
355
cpp
C++
Code/UnitTests/RendererTest/Basics/LineRendering.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
703
2015-03-07T15:30:40.000Z
2022-03-30T00:12:40.000Z
Code/UnitTests/RendererTest/Basics/LineRendering.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
233
2015-01-11T16:54:32.000Z
2022-03-19T18:00:47.000Z
Code/UnitTests/RendererTest/Basics/LineRendering.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
101
2016-10-28T14:05:10.000Z
2022-03-30T19:00:59.000Z
#include <RendererTest/RendererTestPCH.h> #include "Basics.h" ezTestAppRun ezRendererTestBasics::SubtestLineRendering() { BeginFrame(); ezColor clear(0, 0, 0, 0); ClearScreen(clear); RenderLineObjects(ezShaderBindFlags::Default); EZ_TEST_IMAGE(0, 150); EndFrame(); return m_iFrame < 0 ? ezTestAppRun...
17.75
68
0.732394
Tekh-ops
683dc34754ff3a6de68d4e223bda99b3cb086c81
4,885
cpp
C++
Samples/JTSP/JPBX/Properties.cpp
markjulmar/tsplib3
f58a281ce43f4d57ef10e24d306fd46e6febcc41
[ "MIT" ]
1
2021-02-08T20:31:46.000Z
2021-02-08T20:31:46.000Z
Samples/JTSP/JPBX/Properties.cpp
markjulmar/tsplib3
f58a281ce43f4d57ef10e24d306fd46e6febcc41
[ "MIT" ]
null
null
null
Samples/JTSP/JPBX/Properties.cpp
markjulmar/tsplib3
f58a281ce43f4d57ef10e24d306fd46e6febcc41
[ "MIT" ]
4
2019-11-14T03:47:33.000Z
2021-03-08T01:18:05.000Z
/*******************************************************************/ // // PROPERTIES.CPP // // Global PBX properties dialog // // Copyright (C) 1998 JulMar Technology, Inc. // All rights reserved // // TSP++ Version 3.00 PBX/ACD Emulator Projects // Internal Source Code - Do Not Release // // Modification History // ...
29.251497
90
0.50911
markjulmar
68409b8e6440955acf4f4d9d689ec8bc3c1a0434
970
cpp
C++
codeforces/556div2/B.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
codeforces/556div2/B.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
codeforces/556div2/B.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define fori(i,a,b) for (long int i = a; i <= b ; ++i) #define ford(i,a,b) for(long int i = a;i >= b ; --i) #define mk make_pair #define mod 1000000007 #define pb push_back #define ll long long #define rnd mt19937_64 rng(chrono::high_resolution_clock::now().time_since_epoch...
19.4
116
0.454639
xenowits
684258ce3d317e6f00abb6f3b4035b14073376db
1,292
cpp
C++
COREDLL/wcecl_dialogs.cpp
feel-the-dz3n/wcecl
ea29d587056625b40bf942d9cba0fb38cb848aed
[ "MIT" ]
54
2019-07-05T22:03:30.000Z
2022-03-28T08:16:17.000Z
COREDLL/wcecl_dialogs.cpp
feel-the-dz3n/wcecl
ea29d587056625b40bf942d9cba0fb38cb848aed
[ "MIT" ]
16
2019-06-24T21:29:05.000Z
2020-06-16T19:04:57.000Z
COREDLL/wcecl_dialogs.cpp
feel-the-dz3n/WinCeCompatLayer
ea29d587056625b40bf942d9cba0fb38cb848aed
[ "MIT" ]
9
2019-07-31T23:49:09.000Z
2022-03-30T15:32:10.000Z
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #include "stdafx.h" VOID DisplayAssert32ErrorDialog(LPCWSTR ExpressionText, LPCWSTR Comment, BOOL ShowLastError) { WCHAR Buffer[512]; DWORD Error = ShowLastError ? GetLastError() : 0xD3ADB33F; WCHAR ErrorBuffer[256]; if (Er...
26.367347
92
0.70743
feel-the-dz3n
684377936ef49b9d627d935b061e4391a5da1205
8,656
cpp
C++
simulation_core/linearcongruentialgenerator.cpp
SirTobias/DMPCRobotSimulation
e393538b37e5a63bfe4da94e9bd13feba45699db
[ "MIT" ]
2
2021-12-06T08:05:12.000Z
2022-03-22T13:56:38.000Z
simulation_core/linearcongruentialgenerator.cpp
SirTobias/DMPCRobotSimulation
e393538b37e5a63bfe4da94e9bd13feba45699db
[ "MIT" ]
null
null
null
simulation_core/linearcongruentialgenerator.cpp
SirTobias/DMPCRobotSimulation
e393538b37e5a63bfe4da94e9bd13feba45699db
[ "MIT" ]
1
2022-03-29T12:46:37.000Z
2022-03-29T12:46:37.000Z
#include "linearcongruentialgenerator.h" #include <iostream> #include <QProcess> #include <QFile> #include <QTextStream> #include <QStringList> #include <QDir> #include <QStringBuilder> #include <cmath> const int LinearCongruentialGenerator::primesFileCount = 1000000; const int LinearCongruentialGenerator::primesFile...
33.292308
146
0.609982
SirTobias
6844ab46826d4146700844988b1392891deab946
17,922
hpp
C++
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/tun/linux/client/tunnetlink.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
10
2021-03-29T13:52:06.000Z
2022-03-10T02:24:25.000Z
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/tun/linux/client/tunnetlink.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
null
null
null
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/tun/linux/client/tunnetlink.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
6
2021-07-03T07:56:56.000Z
2022-02-14T15:28:23.000Z
// OpenVPN -- An application to securely tunnel IP networks // over a single port, with support for SSL/TLS-based // session authentication and key exchange, // packet encryption, packet authentication, and // packet compression. // // Copyright (C) 2012-201...
25.566334
130
0.614161
TiagoPedroByterev
9696dc0cbaa5ec45d183805f99449c83b5f9ff89
6,877
cpp
C++
World.cpp
drako0812/GalactiQuest
b90b37470d48285de07d65e9c9a524ddbeb50589
[ "MIT" ]
1
2017-02-05T22:43:47.000Z
2017-02-05T22:43:47.000Z
World.cpp
drako0812/GalactiQuest
b90b37470d48285de07d65e9c9a524ddbeb50589
[ "MIT" ]
null
null
null
World.cpp
drako0812/GalactiQuest
b90b37470d48285de07d65e9c9a524ddbeb50589
[ "MIT" ]
null
null
null
// The MIT License (MIT) // // Copyright (c) 2017 Drew Wibbenmeyer // // 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...
36.005236
145
0.596917
drako0812
9697f4aede63c0d1e8879de271fec12bf0d84115
15,772
cpp
C++
Code/Engine/RendererCore/BakedProbes/Implementation/BakedProbesComponent.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
703
2015-03-07T15:30:40.000Z
2022-03-30T00:12:40.000Z
Code/Engine/RendererCore/BakedProbes/Implementation/BakedProbesComponent.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
233
2015-01-11T16:54:32.000Z
2022-03-19T18:00:47.000Z
Code/Engine/RendererCore/BakedProbes/Implementation/BakedProbesComponent.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
101
2016-10-28T14:05:10.000Z
2022-03-30T19:00:59.000Z
#include <RendererCore/RendererCorePCH.h> #include <Core/Graphics/Geometry.h> #include <Core/Messages/UpdateLocalBoundsMessage.h> #include <Core/WorldSerializer/WorldReader.h> #include <Core/WorldSerializer/WorldWriter.h> #include <Foundation/Configuration/Singleton.h> #include <Foundation/Serialization/AbstractObject...
33.4862
144
0.751585
Tekh-ops
96981421f9d85cd2398d12340d689dccb02496f1
8,481
cpp
C++
src/utils/boosting.cpp
h2ssh/Vulcan
cc46ec79fea43227d578bee39cb4129ad9bb1603
[ "MIT" ]
6
2020-03-29T09:37:01.000Z
2022-01-20T08:56:31.000Z
src/utils/boosting.cpp
h2ssh/Vulcan
cc46ec79fea43227d578bee39cb4129ad9bb1603
[ "MIT" ]
1
2021-03-05T08:00:50.000Z
2021-03-05T08:00:50.000Z
src/utils/boosting.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...
27.182692
118
0.570216
h2ssh
969ccbeba042cc2338a9771ab90414d5b5b7cc12
4,375
cpp
C++
src/gppopulation.cpp
nacmacfeegle/gpsr
421143b42594870d601ee78ade6598a2f49d64c8
[ "AFL-3.0" ]
null
null
null
src/gppopulation.cpp
nacmacfeegle/gpsr
421143b42594870d601ee78ade6598a2f49d64c8
[ "AFL-3.0" ]
null
null
null
src/gppopulation.cpp
nacmacfeegle/gpsr
421143b42594870d601ee78ade6598a2f49d64c8
[ "AFL-3.0" ]
null
null
null
#include <iostream> #include "gppopulation.h" #include "usefulfunctions.h" using namespace std; GPPopulation::GPPopulation(int size) { indexOfBest = 0; population.reserve(size); for (int i=0; i<size; i++) { population.push_back(new GPProgram()); } } GPPopulation::GPPopulation(const GPPopulation &other) { popu...
22.208122
73
0.677943
nacmacfeegle
96abb8edffa57ba28a55c4fb0ecb257e6df2411e
369
cpp
C++
src/SFMTAVX2eq.cpp
MSaito/DevAVXPRNG
3860d6c89437a0aa6bf48f4b0baa2f4756683363
[ "MIT" ]
null
null
null
src/SFMTAVX2eq.cpp
MSaito/DevAVXPRNG
3860d6c89437a0aa6bf48f4b0baa2f4756683363
[ "MIT" ]
null
null
null
src/SFMTAVX2eq.cpp
MSaito/DevAVXPRNG
3860d6c89437a0aa6bf48f4b0baa2f4756683363
[ "MIT" ]
null
null
null
#include "devavxprng.h" #include "SFMTAVX2search.hpp" #include "EQOptions.hpp" #include "SFMTAVXeq.hpp" using namespace MTToolBox; int main(int argc, char * argv[]) { EQOptions<SFMTAVX2_param> opt; if (!opt.parse(argc, argv)) { return -1; } int r = sfmtavx_equidistribution<w256_t, SFMT...
20.5
79
0.663957
MSaito
96aca0106594d86dac938a1b494cac3a239af4d1
681
hpp
C++
nenfu/nf_manager.hpp
atsisy/nuno
58e2587d0abd030e1f1c6bfb63244e296fb35760
[ "Apache-2.0" ]
1
2018-02-13T22:19:29.000Z
2018-02-13T22:19:29.000Z
nenfu/nf_manager.hpp
atsisy/nuno
58e2587d0abd030e1f1c6bfb63244e296fb35760
[ "Apache-2.0" ]
null
null
null
nenfu/nf_manager.hpp
atsisy/nuno
58e2587d0abd030e1f1c6bfb63244e296fb35760
[ "Apache-2.0" ]
null
null
null
#pragma once #include <memory> #include <string> namespace nf { class DeviceTrackerManager; class DisplayCallBack; class WindowManager; class NFManager { private: DeviceTrackerManager *device_tracker_manager; DisplayCallBack *display_callback; WindowManager *window_manager; public: NFManager(std::...
14.489362
86
0.744493
atsisy
96b035103ab3efb4e3ab0504a11d61be07125967
2,149
cpp
C++
ewk/unittest/utc_blink_ewk_context_web_database_origins_get_func.cpp
Jabawack/chromium-efl
6d3a3accc8afba0aa0eff6461eb5c83138172e6e
[ "BSD-3-Clause" ]
9
2015-04-09T20:22:08.000Z
2021-03-17T08:34:56.000Z
ewk/unittest/utc_blink_ewk_context_web_database_origins_get_func.cpp
Jabawack/chromium-efl
6d3a3accc8afba0aa0eff6461eb5c83138172e6e
[ "BSD-3-Clause" ]
2
2015-02-04T13:41:12.000Z
2015-05-25T14:00:40.000Z
ewk/unittest/utc_blink_ewk_context_web_database_origins_get_func.cpp
isabella232/chromium-efl
db2d09aba6498fb09bbea1f8440d071c4b0fde78
[ "BSD-3-Clause" ]
14
2015-02-12T16:20:47.000Z
2022-01-20T10:36:26.000Z
// Copyright 2014 Samsung Electronics. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "utc_blink_ewk_base.h" class utc_blink_ewk_context_web_database_origins_get : public utc_blink_ewk_base { protected: utc_blink_ewk_context_web_...
30.267606
132
0.764542
Jabawack
96b2a313176f6877b90fa13336db7d72e46f2220
1,222
hpp
C++
tree/centroid-decomposition.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
69
2020-11-06T05:21:42.000Z
2022-03-29T03:38:35.000Z
tree/centroid-decomposition.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
21
2020-07-25T04:47:12.000Z
2022-02-01T14:39:29.000Z
tree/centroid-decomposition.hpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
9
2020-11-06T11:55:10.000Z
2022-03-20T04:45:31.000Z
#pragma once template <typename G> struct CentroidDecomposition { const G &g; vector<int> sub; vector<bool> v; vector<vector<int>> tree; int root; CentroidDecomposition(const G &g_, int isbuild = true) : g(g_) { sub.resize(g.size(), 0); v.resize(g.size(), false); if (isbuild) build(); } ...
21.068966
66
0.567103
NachiaVivias
96b6361b5089533e1bd53538755f28ca064c1f86
2,647
hpp
C++
include/keisan/angle/euler.impl.hpp
ichiro-its/keisan
074f0278c2117c714533074877bba425b8c5afa8
[ "MIT" ]
1
2021-04-16T07:59:44.000Z
2021-04-16T07:59:44.000Z
include/keisan/angle/euler.impl.hpp
ichiro-its/keisan
074f0278c2117c714533074877bba425b8c5afa8
[ "MIT" ]
31
2021-04-15T05:37:48.000Z
2022-02-22T23:53:30.000Z
include/keisan/angle/euler.impl.hpp
ichiro-its/keisan
074f0278c2117c714533074877bba425b8c5afa8
[ "MIT" ]
1
2021-06-22T16:02:14.000Z
2021-06-22T16:02:14.000Z
// Copyright (c) 2021 ICHIRO ITS // // 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, merge, publish, di...
29.741573
96
0.68946
ichiro-its
96bf1fbbe390bcd0ae3763bc87954cd2715429b9
4,339
cpp
C++
src/pascoalksp.cpp
dkykuta/ksp-code
6bd8754f9fcf2aacaa1bd97b59f319cedd90fef5
[ "MIT" ]
1
2020-05-23T01:51:25.000Z
2020-05-23T01:51:25.000Z
src/pascoalksp.cpp
dkykuta/ksp-code
6bd8754f9fcf2aacaa1bd97b59f319cedd90fef5
[ "MIT" ]
null
null
null
src/pascoalksp.cpp
dkykuta/ksp-code
6bd8754f9fcf2aacaa1bd97b59f319cedd90fef5
[ "MIT" ]
null
null
null
/* * Copyright (C) 2018 Diogo Haruki Kykuta * * 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, merge,...
32.380597
102
0.640009
dkykuta
96c95354cfb155100492bc48319fdbf0669808ef
1,172
hpp
C++
Drain/Drain/Bubble.hpp
maxrchung/Drain
291162fe8256e84551cfb094178e22734c8892b6
[ "MIT" ]
1
2018-06-05T05:30:16.000Z
2018-06-05T05:30:16.000Z
Drain/Drain/Bubble.hpp
maxrchung/Drain
291162fe8256e84551cfb094178e22734c8892b6
[ "MIT" ]
null
null
null
Drain/Drain/Bubble.hpp
maxrchung/Drain
291162fe8256e84551cfb094178e22734c8892b6
[ "MIT" ]
null
null
null
#pragma once #include "Easing.hpp" #include "SpriteCollection.hpp" #include "Vector2.hpp" class Bubble { public: Bubble(bool outline = 1); void Move(int startTime, int endTime, Vector2 startPos, Vector2 endPos, Easing easing = Easing::Linear); void MoveX(int startTime, int endTime, float startX, float endX, Easin...
31.675676
166
0.758532
maxrchung
96cce7e1a01981c264fdbdf1f0edd97ee882e9e9
1,009
cpp
C++
Source/Runtime/Private/Core/ByteOrder.cpp
ValtoForks/BlueshiftEngine
a6684aa3bf9b4bd22d5cc4d4b6647fea6b074fee
[ "Apache-2.0" ]
1
2019-03-27T14:24:59.000Z
2019-03-27T14:24:59.000Z
Source/Runtime/Private/Core/ByteOrder.cpp
kbb-uran/BlueshiftEngine
beb690093ca643c38437831c93581e29686ff508
[ "Apache-2.0" ]
null
null
null
Source/Runtime/Private/Core/ByteOrder.cpp
kbb-uran/BlueshiftEngine
beb690093ca643c38437831c93581e29686ff508
[ "Apache-2.0" ]
null
null
null
// Copyright(c) 2017 POLYGONTEK // // 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...
29.676471
75
0.71556
ValtoForks
96cf08a1c41486a8238905c9db3f1a3d9cf730f0
390
hpp
C++
include/bam/utility.hpp
StephanDollberg/BAM
ed418abdf5f1c5064a81526c60ea0687e252f5d3
[ "BSL-1.0" ]
2
2016-12-07T03:07:36.000Z
2018-03-30T21:54:19.000Z
include/bam/utility.hpp
StephanDollberg/BAM
ed418abdf5f1c5064a81526c60ea0687e252f5d3
[ "BSL-1.0" ]
null
null
null
include/bam/utility.hpp
StephanDollberg/BAM
ed418abdf5f1c5064a81526c60ea0687e252f5d3
[ "BSL-1.0" ]
null
null
null
#ifndef UTILITY_HPP #define UTILITY_HPP #include <memory> namespace bam { // make_unique by Herb Sutter http://herbsutter.com/gotw/_102/ //! standard make_unique funciton template<typename T, typename ...Args> std::unique_ptr<T> make_unique( Args&& ...args ) { return std::unique_ptr<T>( n...
21.666667
74
0.651282
StephanDollberg
96d2cc8aa0284b3335abfac7f9341fdbe0feb958
891
hxx
C++
libodb-2.4.0/odb/details/type-info.hxx
edidada/odb
78ed750a9dde65a627fc33078225410306c2e78b
[ "MIT" ]
null
null
null
libodb-2.4.0/odb/details/type-info.hxx
edidada/odb
78ed750a9dde65a627fc33078225410306c2e78b
[ "MIT" ]
null
null
null
libodb-2.4.0/odb/details/type-info.hxx
edidada/odb
78ed750a9dde65a627fc33078225410306c2e78b
[ "MIT" ]
null
null
null
// file : odb/details/type-info.hxx // copyright : Copyright (c) 2009-2015 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file #ifndef ODB_DETAILS_TYPE_INFO_HXX #define ODB_DETAILS_TYPE_INFO_HXX #include <odb/pre.hxx> #include <typeinfo> #include <odb/details/export.hxx> namespace...
22.275
73
0.646465
edidada
96d54b261e8bdc08c587090604a2b7ac69ada2cb
6,336
cpp
C++
Lab6/treenode.cpp
tnguyen0317/Compilers-and-interpreters
d88faffacf7f425ec0dad97d2a48ca0c107ad736
[ "MIT" ]
1
2018-10-01T17:07:16.000Z
2018-10-01T17:07:16.000Z
Lab6/treenode.cpp
tnguyen0317/Compilers-and-interpreters
d88faffacf7f425ec0dad97d2a48ca0c107ad736
[ "MIT" ]
null
null
null
Lab6/treenode.cpp
tnguyen0317/Compilers-and-interpreters
d88faffacf7f425ec0dad97d2a48ca0c107ad736
[ "MIT" ]
null
null
null
#include "treenode.h" #include "global.h" #include "29.tab.hpp" TreeNode* mkleaf(int type, int value){ TreeNode* p = new TreeNode(); p->type = type; p->leaf_value = value; return p; } TreeNode* mknode(int type, TreeNode* a0, TreeNode* a1, TreeNode* a2){ TreeNode* p = new TreeNode(); p->type = type; p->args[0] ...
19.084337
69
0.504577
tnguyen0317
96d7ab9cdd316aecb11c1ec25be0cc8dec7442ac
1,776
cpp
C++
workbench/src/source.cpp
MasterQ32/cg-workbench
3d6229b961192689e6dbd0a09ec4b61041ecb155
[ "MIT" ]
5
2017-12-27T12:57:36.000Z
2021-10-02T03:21:40.000Z
workbench/src/source.cpp
MasterQ32/cg-workbench
3d6229b961192689e6dbd0a09ec4b61041ecb155
[ "MIT" ]
9
2020-09-29T22:40:49.000Z
2020-10-17T20:05:05.000Z
workbench/src/source.cpp
MasterQ32/cg-workbench
3d6229b961192689e6dbd0a09ec4b61041ecb155
[ "MIT" ]
null
null
null
#include "source.hpp" #include <stdexcept> Source::Source(CgDataType type, std::string const & name, void const * object) : Slot(type, name), object(object) { if(this->object == nullptr) throw std::invalid_argument("object must not be null."); } Source::~Source() { } static Source * GetGeometryDefault() {...
17.411765
80
0.67286
MasterQ32
96d905df40a97e52fae8df155e4da0360c001123
3,140
hpp
C++
tpcc/include/delivery_tx.hpp
starpos/tpcc-runner
8c0119494b8e693e75ae1ad954323c4e74dbc92e
[ "MIT" ]
null
null
null
tpcc/include/delivery_tx.hpp
starpos/tpcc-runner
8c0119494b8e693e75ae1ad954323c4e74dbc92e
[ "MIT" ]
null
null
null
tpcc/include/delivery_tx.hpp
starpos/tpcc-runner
8c0119494b8e693e75ae1ad954323c4e74dbc92e
[ "MIT" ]
null
null
null
#pragma once #include <inttypes.h> #include <cstdint> #include "logger.hpp" #include "record_key.hpp" #include "record_layout.hpp" #include "tx_utils.hpp" class DeliveryTx { public: DeliveryTx(uint16_t w_id0) { input.generate(w_id0); input.print(); } struct Input { uint16_t w_i...
34.505495
100
0.571656
starpos
96dbf2bbf74980afa321677f29e906442d64d8d3
4,857
cpp
C++
test/gtest_matrix_decomp.cpp
nmakimoto/nmlib
dd518a7a61c9b1e41fd393659dc91691272c0565
[ "MIT" ]
null
null
null
test/gtest_matrix_decomp.cpp
nmakimoto/nmlib
dd518a7a61c9b1e41fd393659dc91691272c0565
[ "MIT" ]
null
null
null
test/gtest_matrix_decomp.cpp
nmakimoto/nmlib
dd518a7a61c9b1e41fd393659dc91691272c0565
[ "MIT" ]
null
null
null
// Unit test (matrix decomposition) #include <gtest/gtest.h> #include <cmath> #include <cstdlib> #include "matrix.h" #include "matrix_decomp.h" using namespace std; using namespace nmlib; typedef double R; typedef std::complex<R> C; typedef matrix<R> MatR; typedef matrix<C> MatC; // Random sample template<class T...
28.739645
127
0.614783
nmakimoto
96df55aec6cf037149b44e0ab826f43e837b62b6
2,001
cpp
C++
3658/5298390_WA.cpp
twilightgod/twilight-poj-solution
3af3f0fb0c5f350cdf6421b943c6df02ee3f2f82
[ "Apache-2.0" ]
21
2015-05-26T10:18:12.000Z
2021-06-01T09:39:47.000Z
3658/5298390_WA.cpp
twilightgod/twilight-poj-solution
3af3f0fb0c5f350cdf6421b943c6df02ee3f2f82
[ "Apache-2.0" ]
null
null
null
3658/5298390_WA.cpp
twilightgod/twilight-poj-solution
3af3f0fb0c5f350cdf6421b943c6df02ee3f2f82
[ "Apache-2.0" ]
8
2015-09-30T08:41:15.000Z
2020-03-11T03:49:42.000Z
/******************************************************************************* * Online Judge : POJ * Problem Title : Artificial Lake * Problem URL : http://acm.pku.edu.cn/JudgeOnline/problem?id=3658 * ID : 3658 * Date : 6/14/2009 * Time : 22:24:33 ...
16.008
80
0.483258
twilightgod
96e3cb32ec049eca811c3047d985755aed205349
45,155
cpp
C++
src/SceneGraph/InlineGeometry.cpp
hyzboy/ULRE
dcda5b0facb118f10347922ac5dd4a797f03d1d0
[ "MIT" ]
21
2018-12-07T08:49:44.000Z
2022-03-26T17:26:06.000Z
src/SceneGraph/InlineGeometry.cpp
hyzboy/ULRE
dcda5b0facb118f10347922ac5dd4a797f03d1d0
[ "MIT" ]
1
2019-04-25T12:30:50.000Z
2019-04-25T12:30:50.000Z
src/SceneGraph/InlineGeometry.cpp
hyzboy/ULRE
dcda5b0facb118f10347922ac5dd4a797f03d1d0
[ "MIT" ]
6
2019-04-12T09:21:59.000Z
2021-03-01T13:13:10.000Z
// sphere、cylinear、cone、tours code from McNopper,website: https://github.com/McNopper/GLUS // GL to VK: swap Y/Z of position/normal/tangent/index #include<hgl/graph/InlineGeometry.h> #include<hgl/graph/VertexAttribDataAccess.h> #include<hgl/graph/VKDevice.h> #include<hgl/graph/VKShaderModule.h> #include<hgl/graph/VKR...
36.921504
301
0.411494
hyzboy
96e41a059c36b44237f9b8d2544479f32996fe5c
228
hpp
C++
src/gen/types.hpp
kazupon/kt-msgpack
a995eaaf01128b2b5f9d3a9cccc566de27c368cd
[ "Apache-2.0" ]
1
2021-08-16T03:14:21.000Z
2021-08-16T03:14:21.000Z
src/gen/types.hpp
kazupon/kt-msgpack
a995eaaf01128b2b5f9d3a9cccc566de27c368cd
[ "Apache-2.0" ]
null
null
null
src/gen/types.hpp
kazupon/kt-msgpack
a995eaaf01128b2b5f9d3a9cccc566de27c368cd
[ "Apache-2.0" ]
null
null
null
#ifndef MPRPC_TYPES_429de9fc_HPP__ #define MPRPC_TYPES_429de9fc_HPP__ #include <msgpack/rpc/client.h> #include <msgpack/rpc/server.h> #include <stdexcept> static const int64_t C_INT64_MAX = 9223372036854775807LL; #endif
14.25
57
0.802632
kazupon
96eb7e950151ca93825ed2ba3dbcb9f7b3794808
985
cpp
C++
ProceduralClipLooking.cpp
IvarJonsson/Project-Unknown
4675b41bbb5e90135c7bf3aded2c2e262b50f351
[ "BSL-1.0" ]
null
null
null
ProceduralClipLooking.cpp
IvarJonsson/Project-Unknown
4675b41bbb5e90135c7bf3aded2c2e262b50f351
[ "BSL-1.0" ]
null
null
null
ProceduralClipLooking.cpp
IvarJonsson/Project-Unknown
4675b41bbb5e90135c7bf3aded2c2e262b50f351
[ "BSL-1.0" ]
null
null
null
// Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved. // //////////////////////////////////////////////////////////////////////////// #include "StdAfx.h" #include "ICryMannequin.h" #include <CryAnimation/ICryAnimation.h> #include <CryAnimation/IAnimationPoseModifier.h> #include <CryExtension/ClassWe...
26.621622
92
0.720812
IvarJonsson
96ebb692b66137c8561a9e732e2b7114bd2e5926
415
cc
C++
src/main.cc
baileyforrest/calico
68f859d244e1dc62b1b690349263cb51e1c19bce
[ "MIT" ]
null
null
null
src/main.cc
baileyforrest/calico
68f859d244e1dc62b1b690349263cb51e1c19bce
[ "MIT" ]
null
null
null
src/main.cc
baileyforrest/calico
68f859d244e1dc62b1b690349263cb51e1c19bce
[ "MIT" ]
null
null
null
#include <cstdlib> #include <memory> #include "absl/memory/memory.h" #include "src/controller.h" #include "src/window/file_window.h" int main(int argc, char** argv) { Controller controller; std::string file_path; if (argc > 1) { file_path = argv[1]; } auto window = absl::make_unique<FileWindow>(file_p...
18.863636
57
0.693976
baileyforrest
96ed52bd22e2c1385d28111f7cf625958d3fde76
7,627
cpp
C++
type-safely-daemon/TSPGUIWorker.cpp
castvoid/type-safely
2c85aab2582783ea4a2d71ba28a7e8f27c24a4e9
[ "Apache-2.0" ]
null
null
null
type-safely-daemon/TSPGUIWorker.cpp
castvoid/type-safely
2c85aab2582783ea4a2d71ba28a7e8f27c24a4e9
[ "Apache-2.0" ]
null
null
null
type-safely-daemon/TSPGUIWorker.cpp
castvoid/type-safely
2c85aab2582783ea4a2d71ba28a7e8f27c24a4e9
[ "Apache-2.0" ]
null
null
null
#include <cinttypes> #include <unistd.h> #include "tsp_host_state_machine.hpp" #include "TSPGUIWorker.hpp" #include "HIDHandler.hpp" #include "crypto.h" #include "usb.h" #include "utils.h" std::string fname_for_id(std::array<uint8_t, TypeSafelyProtocol::len_entity_id> &id) { return Utils::buf_to_hex(id.data(), id....
33.747788
188
0.640619
castvoid
96f1195f62d0ec357a1d9650f0fe12a86f586601
8,845
hpp
C++
src/Version.hpp
moodboom/quick-http
91a105ce11a329a7880f57b99b4479256357cca5
[ "MIT" ]
3
2016-01-23T21:48:56.000Z
2022-03-03T10:40:06.000Z
src/Version.hpp
moodboom/quick-http
91a105ce11a329a7880f57b99b4479256357cca5
[ "MIT" ]
null
null
null
src/Version.hpp
moodboom/quick-http
91a105ce11a329a7880f57b99b4479256357cca5
[ "MIT" ]
null
null
null
/* Copyright (c) A better Software http://abettersoftware.com All rights reserved. */ #ifndef VERSION_H #define VERSION_H /* VERSIONING "Release m.c" official name mm.cc.rr.ddd full version string Setup_m.c.r.exe (etc) build names; No need for d as r w...
74.327731
197
0.692595
moodboom
96f6eaf39ceb6b7a4466964749bf02c903021260
2,039
cpp
C++
common/BVH.cpp
findstr/rasterizer
dc4331f5189a57f2c962ea7891f9770d8ecc9e58
[ "MIT" ]
7
2018-06-08T02:22:04.000Z
2021-11-08T06:15:54.000Z
common/BVH.cpp
findstr/rasterizer
dc4331f5189a57f2c962ea7891f9770d8ecc9e58
[ "MIT" ]
null
null
null
common/BVH.cpp
findstr/rasterizer
dc4331f5189a57f2c962ea7891f9770d8ecc9e58
[ "MIT" ]
1
2021-03-06T04:16:16.000Z
2021-03-06T04:16:16.000Z
#include <vector> #include <cassert> #include <algorithm> #include "BVH.h" BVH::BVH(std::vector<AABB3f> &b) { time_t start, stop; std::vector<const AABB3f *> objs; buf = std::move(b); buf.shrink_to_fit(); objs.reserve(buf.size()); const AABB3f *ptr = &buf[0]; for (size_t i = 0; i < buf.size(); i++) objs.empla...
23.988235
73
0.60667
findstr
96fa69377e01e1b991bb0dd7696729328e3d3a20
208
cpp
C++
code/344.reverseString.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
1
2020-10-04T13:39:34.000Z
2020-10-04T13:39:34.000Z
code/344.reverseString.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
null
null
null
code/344.reverseString.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
null
null
null
class Solution { public: void reverseString(vector<char>& s) { if (s.empty()) return; for (int i = 0, j = s.size() - 1; i < j; i++, j--) { swap(s[i], s[j]); } } };
20.8
60
0.423077
T1mzhou
96fc39c30a2a8ded0ebe7f9bd178c40fea172587
123
cpp
C++
sdl2/uMario/uNext/main.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
2
2021-02-09T11:29:38.000Z
2021-08-06T10:37:17.000Z
cpp/mario/src/main.cpp
SergiiSharpov/tcpp
b5d3840b6b5bedc736b617a22fe779ceba90ac6f
[ "MIT" ]
null
null
null
cpp/mario/src/main.cpp
SergiiSharpov/tcpp
b5d3840b6b5bedc736b617a22fe779ceba90ac6f
[ "MIT" ]
null
null
null
#include "header.h" #include "Core.h" int main(int argc, char *argv[]) { CCore oCore; oCore.mainLoop(); return 0; }
10.25
32
0.634146
pdpdds
96fcb08d0fe9c3fe64342799056544365c68f3f4
43
hpp
C++
src/rtest.hpp
agerasev/cpp-rstd
cb4dcb510c4b3d562f7fed0d9eaa3eca94c9db36
[ "MIT" ]
null
null
null
src/rtest.hpp
agerasev/cpp-rstd
cb4dcb510c4b3d562f7fed0d9eaa3eca94c9db36
[ "MIT" ]
null
null
null
src/rtest.hpp
agerasev/cpp-rstd
cb4dcb510c4b3d562f7fed0d9eaa3eca94c9db36
[ "MIT" ]
null
null
null
#pragma once #include <rtest/prelude.hpp>
10.75
28
0.744186
agerasev
96fd6c36fd4651fefb3de9be5d1138a6cecf2064
244
hpp
C++
src/village/world.hpp
snailbaron/village
95ffe06fa2ed2e80346eb4d7686b517f6f7afc7e
[ "MIT" ]
null
null
null
src/village/world.hpp
snailbaron/village
95ffe06fa2ed2e80346eb4d7686b517f6f7afc7e
[ "MIT" ]
null
null
null
src/village/world.hpp
snailbaron/village
95ffe06fa2ed2e80346eb4d7686b517f6f7afc7e
[ "MIT" ]
null
null
null
#pragma once #include "ai.hpp" #include "movement.hpp" #include "ge/thing.hpp" class World { public: void update(Time delta); private: ge::EntityManager _entityManager; MovementSystem _movementSystem; AiSystem _aiSystem; };
14.352941
37
0.713115
snailbaron
8c00951cc5e5bf26c0322053f61071ae5aab85e1
344
cc
C++
lab3.1/storage.cc
mengguanya/Elementary-Computer-Architecture-Lab
38167d54f9af8af0fade1ff38dd8adb795db476f
[ "MIT" ]
null
null
null
lab3.1/storage.cc
mengguanya/Elementary-Computer-Architecture-Lab
38167d54f9af8af0fade1ff38dd8adb795db476f
[ "MIT" ]
null
null
null
lab3.1/storage.cc
mengguanya/Elementary-Computer-Architecture-Lab
38167d54f9af8af0fade1ff38dd8adb795db476f
[ "MIT" ]
null
null
null
#include"storage.h" Storage::Storage() { /* initial the latency */ latency_.bus_latency = 0; latency_.hit_latency = 0; /* initial the statistical data */ stats_.access_counter = 0; stats_.access_time = 0; stats_.fetch_num = 0; stats_.miss_num = 0; stats_.prefetch_num = 0; st...
19.111111
31
0.633721
mengguanya
8c09d80e0b3606b88a9ffc0197cd45556a9872ad
1,165
cpp
C++
test/condition_variable1.cpp
DQiuLin/calculator
2717cdca1d6adb38d7ac4be3cf6f851f129fe3f6
[ "MIT" ]
null
null
null
test/condition_variable1.cpp
DQiuLin/calculator
2717cdca1d6adb38d7ac4be3cf6f851f129fe3f6
[ "MIT" ]
null
null
null
test/condition_variable1.cpp
DQiuLin/calculator
2717cdca1d6adb38d7ac4be3cf6f851f129fe3f6
[ "MIT" ]
null
null
null
#include "common.h" std::deque<int> q; std::mutex mu; std::condition_variable cond; void function_1() { int count = 10; while (count > 0) { std::unique_lock<std::mutex> locker(mu); q.push_front(count); locker.unlock(); // 唤醒前释放锁 cond.notify_one(); // 唤醒 std::this_th...
23.3
93
0.513305
DQiuLin
8c0cf0f4a98f9b89854e1a4196eff8a2cda093a9
2,586
cpp
C++
Range Queries/polynomial_queries.cpp
su050300/CSES-Problemset-Solutions
292281f9ac3c57c21c8208b30087386c29238d17
[ "MIT" ]
2
2021-02-05T04:21:42.000Z
2021-02-10T14:24:38.000Z
Range Queries/polynomial_queries.cpp
su050300/CSES-Problemset-Solutions
292281f9ac3c57c21c8208b30087386c29238d17
[ "MIT" ]
null
null
null
Range Queries/polynomial_queries.cpp
su050300/CSES-Problemset-Solutions
292281f9ac3c57c21c8208b30087386c29238d17
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define ll long long int namespace lazyseg { ll tre[1000001],v[1000001]; pair<ll,ll>po[1000001]; void push(ll node,ll l,ll r) { ll mid=(l+r)/2; if(l!=r) { if(po[node].first!=0||po[node].second!=0) { ...
23.944444
95
0.41802
su050300
8c10c605cb9ba5ce90889e577c54b81638dc092c
15,432
cc
C++
src/fico4omnet/scheduler/flexray/FRScheduler.cc
CoRE-RG/FiCo4OMNeT
545afef2eb01ae117d303fba9f011e48f2a25569
[ "BSD-3-Clause" ]
8
2018-11-14T15:41:38.000Z
2022-03-21T06:02:33.000Z
src/fico4omnet/scheduler/flexray/FRScheduler.cc
CoRE-RG/FiCo4OMNeT
545afef2eb01ae117d303fba9f011e48f2a25569
[ "BSD-3-Clause" ]
5
2020-02-24T16:20:23.000Z
2022-01-05T09:44:34.000Z
src/fico4omnet/scheduler/flexray/FRScheduler.cc
CoRE-RG/FiCo4OMNeT
545afef2eb01ae117d303fba9f011e48f2a25569
[ "BSD-3-Clause" ]
4
2019-08-27T12:09:23.000Z
2020-04-15T15:05:42.000Z
// // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that ...
41.152
165
0.560912
CoRE-RG
8c12c72e807a644906b6a1f9c9c836abfb5b5a26
3,850
cp
C++
Obx/Mod/Ascii.cp
romiras/Blackbox-fw-playground
6de94dc65513e657a9b86c1772e2c07742b608a8
[ "BSD-2-Clause" ]
1
2018-03-15T00:25:25.000Z
2018-03-15T00:25:25.000Z
Obx/Mod/Ascii.cps
Spirit-of-Oberon/LightBox
8a45ed11dcc02ae97e86f264dcee3e07c910ff9d
[ "BSD-2-Clause" ]
null
null
null
Obx/Mod/Ascii.cps
Spirit-of-Oberon/LightBox
8a45ed11dcc02ae97e86f264dcee3e07c910ff9d
[ "BSD-2-Clause" ]
1
2021-04-14T21:17:51.000Z
2021-04-14T21:17:51.000Z
MODULE ObxAscii; (** project = "BlackBox" organization = "www.oberon.ch" contributors = "Oberon microsystems" version = "System/Rsrc/About" copyright = "System/Rsrc/About" license = "Docu/BB-License" purpose = "formatted I/O from/to ASCII text files" changes = ""...
31.557377
100
0.558182
romiras
22cad3311ec2465a6c4ab0463aeb1da8adbf19ad
5,764
cpp
C++
src/graph/optimizer/rule/GetEdgesTransformAppendVerticesLimitRule.cpp
sworduo/nebula
9d172209cf05b0d4fb433d2fb17f44e301cdf440
[ "Apache-2.0" ]
null
null
null
src/graph/optimizer/rule/GetEdgesTransformAppendVerticesLimitRule.cpp
sworduo/nebula
9d172209cf05b0d4fb433d2fb17f44e301cdf440
[ "Apache-2.0" ]
null
null
null
src/graph/optimizer/rule/GetEdgesTransformAppendVerticesLimitRule.cpp
sworduo/nebula
9d172209cf05b0d4fb433d2fb17f44e301cdf440
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2021 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License. */ #include "graph/optimizer/rule/GetEdgesTransformAppendVerticesLimitRule.h" #include "common/expression/Expression.h" #include "graph/optimizer/OptContext.h" #include "graph/optimizer/OptGroup.h" #in...
38.684564
100
0.717731
sworduo
22caf2961b24f1d14bbf474f8b362369c94ebd6b
1,287
hpp
C++
src/libGBP/OpticalElements/Interface.hpp
CD3/libGBP
6561f41d74d0e4010872c12db1dcc12363826365
[ "MIT" ]
null
null
null
src/libGBP/OpticalElements/Interface.hpp
CD3/libGBP
6561f41d74d0e4010872c12db1dcc12363826365
[ "MIT" ]
null
null
null
src/libGBP/OpticalElements/Interface.hpp
CD3/libGBP
6561f41d74d0e4010872c12db1dcc12363826365
[ "MIT" ]
null
null
null
#ifndef OpticalElements_Interface_hpp #define OpticalElements_Interface_hpp /** @file Interface.hpp * @brief Base class for media interfaces, i.e. a change in refractive index. * This causes a change in the wavelength when the interface is crossed. * @author C.D. Clark III * @date 07/01/16 */ #include "BaseOptic...
25.74
77
0.752914
CD3
22cdd7d7dbf18a4a95ede9cf32f6ef346cd552f0
942
cpp
C++
tests/lab7test/ArrayFillUniformTest.cpp
Adrjanjan/JiMP-Exercises
0c5de5878bcf0ede27fedcdf3cebbe081679e180
[ "MIT" ]
null
null
null
tests/lab7test/ArrayFillUniformTest.cpp
Adrjanjan/JiMP-Exercises
0c5de5878bcf0ede27fedcdf3cebbe081679e180
[ "MIT" ]
null
null
null
tests/lab7test/ArrayFillUniformTest.cpp
Adrjanjan/JiMP-Exercises
0c5de5878bcf0ede27fedcdf3cebbe081679e180
[ "MIT" ]
null
null
null
// // Created by mwypych on 10.04.17. // #include <gtest/gtest.h> #include <vector> #include <MemLeakTest.h> #include <ArrayFill.h> using ::arrays::UniformFill; using ::arrays::FillArray; class ArrayFillUniformTests : public ::testing::Test, MemLeakTest { }; TEST_F(ArrayFillUniformTests, FillsArrayUniformly) { st...
22.428571
67
0.653928
Adrjanjan
22cff301d2124d1982dcac15814b72ac990e25c8
28,246
cpp
C++
posixino/posixino.cpp
ern0/ledclock
c32ce76a7e3aa599cb30240a275f205465ed2a09
[ "MIT" ]
1
2018-01-07T15:15:17.000Z
2018-01-07T15:15:17.000Z
posixino/posixino.cpp
ern0/ledclock
c32ce76a7e3aa599cb30240a275f205465ed2a09
[ "MIT" ]
null
null
null
posixino/posixino.cpp
ern0/ledclock
c32ce76a7e3aa599cb30240a275f205465ed2a09
[ "MIT" ]
null
null
null
# include "posixino.hpp" // ----[ Set up Unix environment ]------------------------------------- Posixino posixino; int main() { atexit(cleanup); signal(SIGINT,quit); posixino.init(); setup(); # ifdef __TIMER_USED posixino.setupTimerIntervals(); posixino.startTimerThread(); # endif while(...
20.527616
119
0.608582
ern0
22d6ecbea2f93c2e97e30ca7d32ff30042bde234
10,738
cpp
C++
src/ofxOceanode.cpp
PlaymodesStudio/ofxOceanode
400df6d49c4b29bc6916e4a045145e935beff4e0
[ "MIT" ]
31
2018-04-20T13:47:38.000Z
2021-12-26T04:32:24.000Z
src/ofxOceanode.cpp
PlaymodesStudio/ofxOceanode
400df6d49c4b29bc6916e4a045145e935beff4e0
[ "MIT" ]
25
2018-02-19T17:15:32.000Z
2020-01-05T01:51:00.000Z
src/ofxOceanode.cpp
PlaymodesStudio/ofxOceanode
400df6d49c4b29bc6916e4a045145e935beff4e0
[ "MIT" ]
5
2018-09-25T18:37:23.000Z
2021-01-21T16:26:16.000Z
// // ofxOceanode.cpp // example-basic // // Created by Eduard Frigola Bagué on 13/04/2020. // #include "ofxOceanode.h" #include "ofxOceanodeTheme.h" #include "ofxOceanodeShared.h" #include "imgui_internal.h" ofxOceanode::ofxOceanode(){ nodeRegistry = make_shared<ofxOceanodeNodeRegistry>(); typesRegistry =...
38.213523
163
0.607841
PlaymodesStudio
22d95be43abc8f2b2805b63cce4cbd7499f03259
2,675
cpp
C++
core/BpNodeFunc.cpp
lkpworkspace/SoftwareFactory
578b7a7541b8e818097ca7948a1dbc7957e248ee
[ "MIT" ]
2
2022-02-10T20:27:26.000Z
2022-03-10T01:21:50.000Z
core/BpNodeFunc.cpp
lkpworkspace/SoftwareFactory
578b7a7541b8e818097ca7948a1dbc7957e248ee
[ "MIT" ]
null
null
null
core/BpNodeFunc.cpp
lkpworkspace/SoftwareFactory
578b7a7541b8e818097ca7948a1dbc7957e248ee
[ "MIT" ]
1
2022-02-11T14:17:53.000Z
2022-02-11T14:17:53.000Z
#include "BpNodeFunc.hpp" #include "BpGraph.hpp" #include "Bp.hpp" namespace bp { BpNodeFunc::BpNodeFunc(const std::string& func_full_path, std::shared_ptr<BpGraph> parent) : BpNode(func_full_path, parent) { _node_type = BpNodeType::BP_NODE_FUNC; } void BpNodeFunc::Logic() { // 根据输入参数,输出参数数量,转换指针并调用 // ...
34.74026
90
0.566355
lkpworkspace
22db0ba9eb13d164fddbba0b5574c374d7c5476e
2,063
cpp
C++
C++/binary-search.cpp
burneychen/LintCode
babd95aca1fa7540e75b1d3b4d458971ebbe6bcb
[ "Unlicense" ]
null
null
null
C++/binary-search.cpp
burneychen/LintCode
babd95aca1fa7540e75b1d3b4d458971ebbe6bcb
[ "Unlicense" ]
null
null
null
C++/binary-search.cpp
burneychen/LintCode
babd95aca1fa7540e75b1d3b4d458971ebbe6bcb
[ "Unlicense" ]
null
null
null
// Time: O(logn) // Space: O(1) class Solution { public: /** * @param nums: The integer array. * @param target: Target number to find. * @return: The first position of target. Position starts from 0. */ int binarySearch(vector<int> &array, int target) { int left = 0; int ri...
22.423913
69
0.448861
burneychen
22e04af46deedc168c98d2d94b610b5bb0704fee
4,457
cpp
C++
logos/unit_test/liability_manager.cpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
3
2020-01-17T18:05:19.000Z
2021-12-29T04:21:59.000Z
logos/unit_test/liability_manager.cpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
null
null
null
logos/unit_test/liability_manager.cpp
LogosNetwork/logos-core
6b155539a734efefb8f649a761d044b5f267a51a
[ "BSD-2-Clause" ]
2
2020-12-22T05:51:53.000Z
2021-06-08T00:27:46.000Z
#include <gtest/gtest.h> #include <logos/staking/liability_manager.hpp> #include <logos/unit_test/msg_validator_setup.hpp> #define Unit_Test_Liabilities #ifdef Unit_Test_Liabilities TEST(Liabilities, liabilities) { logos::block_store* store(get_db()); logos::transaction txn(store->environment, nullptr, true...
30.527397
93
0.705856
LogosNetwork
22e13b310127cc073a1825c98ef08960cfce7e8a
2,540
cpp
C++
libnhttp/nhttp/server/xfwk/xfwk_middleware.cpp
jay94ks/libnhttp
a244eb2d04c339454ef4831b43d1ab270ee7d13d
[ "MIT" ]
4
2021-04-11T22:46:13.000Z
2021-05-27T06:01:37.000Z
libnhttp/nhttp/server/xfwk/xfwk_middleware.cpp
jay94ks/libnhttp
a244eb2d04c339454ef4831b43d1ab270ee7d13d
[ "MIT" ]
3
2021-05-26T04:16:56.000Z
2021-05-27T04:34:14.000Z
libnhttp/nhttp/server/xfwk/xfwk_middleware.cpp
jay94ks/libnhttp
a244eb2d04c339454ef4831b43d1ab270ee7d13d
[ "MIT" ]
1
2021-04-11T22:46:15.000Z
2021-04-11T22:46:15.000Z
#include "xfwk_middleware.hpp" #include "xfwk_target.hpp" #include <stack> namespace nhttp { namespace server { namespace xfwk { class xfwk_middleware_stack; /** * struct xfwk_middleware_state. * state which indicates current processing middleware. */ struct xfwk_middleware_state { const xfwk_middleware* ...
23.738318
124
0.723228
jay94ks
22ed0713c0a2833b68559512dd0308d59504ba78
3,229
cc
C++
test/unit/LexerTest.cc
peryaudo/Peryan
405402fe4aca071c5152d3f11405ec81e7c3fb9d
[ "MIT" ]
4
2015-06-08T03:01:26.000Z
2017-09-18T03:10:43.000Z
test/unit/LexerTest.cc
peryaudo/Peryan
405402fe4aca071c5152d3f11405ec81e7c3fb9d
[ "MIT" ]
2
2016-03-20T11:34:32.000Z
2016-03-20T11:35:30.000Z
test/unit/LexerTest.cc
peryaudo/Peryan
405402fe4aca071c5152d3f11405ec81e7c3fb9d
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include <sstream> #include <map> #include "../../src/WarningPrinter.h" #include "../../src/Options.h" #include "../../src/Lexer.h" #include "../../src/StringSourceReader.h" namespace { class LexerTest : public ::testing::Test { protected: Peryan::StringSourceReader ssr; Peryan::Lexer le...
20.832258
95
0.590585
peryaudo
22efabf32fcb4b2adf79e561a045cd698ca1b337
1,333
cpp
C++
LivingCity/LC_main.cpp
pavyedav/manta
575d4395ad8a6000e8ca1de8c450fad2a541f19b
[ "BSD-3-Clause" ]
10
2020-08-12T12:45:35.000Z
2022-03-13T03:05:00.000Z
LivingCity/LC_main.cpp
pavyedav/manta
575d4395ad8a6000e8ca1de8c450fad2a541f19b
[ "BSD-3-Clause" ]
24
2020-08-19T18:19:04.000Z
2022-03-12T00:55:34.000Z
LivingCity/LC_main.cpp
pavyedav/manta
575d4395ad8a6000e8ca1de8c450fad2a541f19b
[ "BSD-3-Clause" ]
3
2020-06-05T03:40:38.000Z
2021-06-12T01:55:02.000Z
#define BOOST_TT_HAS_OPERATOR_HPP_INCLUDED #include "src/benchmarker.h" #include "src/linux_host_memory_logger.h" #ifdef B18_RUN_WITH_GUI #include <QApplication> #include "LC_UrbanMain.h" #else #include "qcoreapplication.h" #endif #include <QDebug> #include "traffic/b18CommandLineVersion.h" // NOTE: Ch...
24.685185
73
0.682671
pavyedav
22f0f1511fc35fc2d254583e0f2f425e2cddfe33
3,326
hpp
C++
Nacro/SDK/FN_ItemTransformKeyPickerTileButton_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_ItemTransformKeyPickerTileButton_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_ItemTransformKeyPickerTileButton_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
#pragma once // Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif namespace SDK { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------------------------- // WidgetBlueprintGeneratedClass ItemTransformKeyPi...
66.52
644
0.747144
Milxnor
22f30d634e9c3779ce0dbfa47b91b56e4829fbcd
5,321
cc
C++
p4rt_app/sonic/adapters/fake_sonic_db_table.cc
fichtl/sonic-pins
60d2467b03cf67b9a61be5be7b6840b63dbb9c5b
[ "Apache-2.0" ]
6
2021-12-08T17:29:38.000Z
2022-02-17T20:36:54.000Z
p4rt_app/sonic/adapters/fake_sonic_db_table.cc
fichtl/sonic-pins
60d2467b03cf67b9a61be5be7b6840b63dbb9c5b
[ "Apache-2.0" ]
2
2022-01-20T08:55:05.000Z
2022-03-08T18:30:11.000Z
p4rt_app/sonic/adapters/fake_sonic_db_table.cc
fichtl/sonic-pins
60d2467b03cf67b9a61be5be7b6840b63dbb9c5b
[ "Apache-2.0" ]
5
2021-12-10T02:41:52.000Z
2022-03-03T06:59:23.000Z
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
33.465409
80
0.665664
fichtl
22f4bb8877873cbb4ca174f21713593288085e39
7,189
cpp
C++
src/shape.cpp
Kabegami/breakout
63e13ceb6c3d34a204bb21ccb492ef66684e7b1a
[ "MIT" ]
null
null
null
src/shape.cpp
Kabegami/breakout
63e13ceb6c3d34a204bb21ccb492ef66684e7b1a
[ "MIT" ]
null
null
null
src/shape.cpp
Kabegami/breakout
63e13ceb6c3d34a204bb21ccb492ef66684e7b1a
[ "MIT" ]
null
null
null
#include <SFML/System/Vector2.hpp> #include <iostream> #include <utility> #include <ostream> #include "shape.hpp" #include "utils.hpp" //definition of virtual functions void Shape::move(sf::Vector2f next_position){} void Shape::set_vertex_array(sf::VertexArray &array, int index, sf::IntRec...
29.829876
140
0.687717
Kabegami
22f5f490573eba0eecb9c68e053211cd4ad27e75
662
cpp
C++
Source/UtilityAI/Private/Tests/AITest_TargetActorAffiliation.cpp
heilhead/UE4-UtilityAI
dc19d0d26c7debcfadca6f2d8abfbbfc515ef80e
[ "MIT" ]
null
null
null
Source/UtilityAI/Private/Tests/AITest_TargetActorAffiliation.cpp
heilhead/UE4-UtilityAI
dc19d0d26c7debcfadca6f2d8abfbbfc515ef80e
[ "MIT" ]
null
null
null
Source/UtilityAI/Private/Tests/AITest_TargetActorAffiliation.cpp
heilhead/UE4-UtilityAI
dc19d0d26c7debcfadca6f2d8abfbbfc515ef80e
[ "MIT" ]
null
null
null
#include "Tests/AITest_TargetActorAffiliation.h" #include "AIController.h" float UAITest_TargetActorAffiliation::ComputeScore(const FAIEvaluationContext& Context, const FAITarget& Target) const { const auto* TargetActor = Target.GetActor(); if (!TargetActor) { return 0.f; } const auto Attitud...
25.461538
112
0.688822
heilhead
22fadadee267db7706a83657deed5181c3c5bf6a
4,610
cpp
C++
Network/TcpSocket.cpp
westcoastcode-se/JsonSlave
60f12b39ed78644811b2c14fb877a14b9432b8f0
[ "MIT" ]
null
null
null
Network/TcpSocket.cpp
westcoastcode-se/JsonSlave
60f12b39ed78644811b2c14fb877a14b9432b8f0
[ "MIT" ]
null
null
null
Network/TcpSocket.cpp
westcoastcode-se/JsonSlave
60f12b39ed78644811b2c14fb877a14b9432b8f0
[ "MIT" ]
null
null
null
// // Created by Per Andersson on 2018-02-23. // Copyright (c) 2018 West Coast Code AB. All rights reserved. // #include <iostream> #include "TcpSocket.hpp" #if defined(_WIN32) # ifdef _WIN32_WINNT # undef _WIN32_WINNT # define _WIN32_WINNT 0x0600 # endif # include <Ws2tcpip.h> #endif namespace {...
22.935323
88
0.692408
westcoastcode-se
fe020dc5d32258e6122bdde2478420f6b69501be
859
cpp
C++
Labs/Lab04/Evaluator.cpp
profsergiocosta/Compiladores
3618d7fbc3ec5cd6bec47b6dee9763b78a74e0e7
[ "MIT" ]
14
2021-05-06T13:21:44.000Z
2022-03-18T18:09:34.000Z
Labs/Lab04/Evaluator.cpp
lucasjose23bs/Compiladores
82042b5c4162de83b4c9f90d6a831297d3380389
[ "MIT" ]
null
null
null
Labs/Lab04/Evaluator.cpp
lucasjose23bs/Compiladores
82042b5c4162de83b4c9f90d6a831297d3380389
[ "MIT" ]
4
2021-09-10T20:12:20.000Z
2022-01-11T08:51:46.000Z
#include <iostream> #include <string> #include <stack> using namespace std; int Eval(string input) { stack<int> numbers; for (char token : input) { switch (token) { case '+': { int arg2 = numbers.top(); numbers.pop(); int arg1 = numbers.top(); number...
20.452381
52
0.452852
profsergiocosta
fe048459d81e12e81059bcb2c016f32c93f99dc8
440
cpp
C++
codeforces/742B.cpp
NafiAsib/competitive-programming
3255b2fe3329543baf9e720e1ccaf08466d77303
[ "MIT" ]
null
null
null
codeforces/742B.cpp
NafiAsib/competitive-programming
3255b2fe3329543baf9e720e1ccaf08466d77303
[ "MIT" ]
null
null
null
codeforces/742B.cpp
NafiAsib/competitive-programming
3255b2fe3329543baf9e720e1ccaf08466d77303
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { // freopen("../io/in.txt", "r", stdin); int n, x; scanf("%d %d", &n, &x); if(n <=1 ) { printf("0\n"); return 0; } int freq[200005] = {0}; int tmp; long long ans = 0; for(int i=0; i<n; i++) ...
16.923077
44
0.404545
NafiAsib
fe0593c83afad601eee1df1424333e780331506d
10,624
cpp
C++
SampleCodeU16/PowerTransition/App/App.cpp
Doresimon/sgx-playground
d21ad532e00da233462e1658bdf7a3543d90e386
[ "MIT" ]
null
null
null
SampleCodeU16/PowerTransition/App/App.cpp
Doresimon/sgx-playground
d21ad532e00da233462e1658bdf7a3543d90e386
[ "MIT" ]
null
null
null
SampleCodeU16/PowerTransition/App/App.cpp
Doresimon/sgx-playground
d21ad532e00da233462e1658bdf7a3543d90e386
[ "MIT" ]
null
null
null
/* * Copyright (C) 2011-2018 Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this li...
33.2
161
0.596197
Doresimon
fe06ae9095c6b25e785f9f0d88cb0ece016cca78
2,435
cc
C++
filter.cc
dragonquest/cpp-worklog
dd964c14cf1ac1e1e0b06c82bfd3cd363eac330e
[ "Unlicense", "MIT" ]
null
null
null
filter.cc
dragonquest/cpp-worklog
dd964c14cf1ac1e1e0b06c82bfd3cd363eac330e
[ "Unlicense", "MIT" ]
null
null
null
filter.cc
dragonquest/cpp-worklog
dd964c14cf1ac1e1e0b06c82bfd3cd363eac330e
[ "Unlicense", "MIT" ]
null
null
null
#include <algorithm> #include <string> #include "atl/string.h" #include "worklog.h" #include "filter.h" namespace worklog { Filter ParseFilter(const std::string& text) { Filter filter; bool ignore_empty = true; auto queries = atl::Split(text, " ", ignore_empty); for (const auto& query : queries) { std...
24.846939
104
0.619713
dragonquest
fe0754843f5f41ee73ce296fd52e67c8846d4c1c
4,735
hpp
C++
Nacro/SDK/FN_ItemTransformSlotEntry_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_ItemTransformSlotEntry_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_ItemTransformSlotEntry_classes.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
#pragma once // Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif namespace SDK { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------------------------- // WidgetBlueprintGeneratedClass ItemTransformSlotE...
89.339623
644
0.737276
Milxnor
fe08079bbd46a9e783bc384bd4bae89d4ecfdfb1
222
hpp
C++
include/Game/Entities/Bricks/SolidBrick.hpp
FoxelCode/Barkanoid
3e582cbfb4bf13aa522d344489c8b0bac77fa8c5
[ "Unlicense" ]
null
null
null
include/Game/Entities/Bricks/SolidBrick.hpp
FoxelCode/Barkanoid
3e582cbfb4bf13aa522d344489c8b0bac77fa8c5
[ "Unlicense" ]
null
null
null
include/Game/Entities/Bricks/SolidBrick.hpp
FoxelCode/Barkanoid
3e582cbfb4bf13aa522d344489c8b0bac77fa8c5
[ "Unlicense" ]
null
null
null
#pragma once #include "Brick.hpp" class SolidBrick : public Brick { public: SolidBrick(sf::Vector2f pos); void Collided(GameObject* other); void Kill() {} static const char id = 's'; static const char frame = 3; };
15.857143
34
0.693694
FoxelCode
fe16b7c12f0a0877885e9f893eccde72de7517d7
15,129
hpp
C++
Lib/Chip/CM4/STMicro/STM32L4x6/SCB.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
Lib/Chip/CM4/STMicro/STM32L4x6/SCB.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
Lib/Chip/CM4/STMicro/STM32L4x6/SCB.hpp
operativeF/Kvasir
dfbcbdc9993d326ef8cc73d99129e78459c561fd
[ "Apache-2.0" ]
null
null
null
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //System control block namespace ScbCpuid{ ///<CPUID base register using Addr = Register::Address<0xe000ed00,0x00000000,0x00000000,std::uint32_t>; ///Revision number constexpr Register::FieldLocation<Addr,Register::maskFromR...
76.025126
132
0.701897
operativeF
fe16bce827a75262b5ff45e18a9fd220eb8b8084
6,715
cpp
C++
src/common/Application.cpp
johan1/rocket
b614f317ca380c82f84149a56ea163e7bc88cd8d
[ "Apache-2.0" ]
null
null
null
src/common/Application.cpp
johan1/rocket
b614f317ca380c82f84149a56ea163e7bc88cd8d
[ "Apache-2.0" ]
null
null
null
src/common/Application.cpp
johan1/rocket
b614f317ca380c82f84149a56ea163e7bc88cd8d
[ "Apache-2.0" ]
null
null
null
#include <memory> #include <boost/chrono.hpp> #include <boost/format.hpp> #include <boost/thread.hpp> #include "Application.h" /* #include "egl/EglDisplay.h" */ #include <rocket/Log.h> // TODO: Remove later, it should be the platforms that sets the GlContextManager. // #include "EglContextManager.h" using namespace...
26.437008
141
0.710201
johan1
fe1719892b7f8cf459d32a68641487ee84d942a9
3,465
cpp
C++
source/app/MLValue.cpp
ngwese/madronalib
4e9221532bb250f0c034cc9091b4be1fb4f5a572
[ "MIT" ]
null
null
null
source/app/MLValue.cpp
ngwese/madronalib
4e9221532bb250f0c034cc9091b4be1fb4f5a572
[ "MIT" ]
null
null
null
source/app/MLValue.cpp
ngwese/madronalib
4e9221532bb250f0c034cc9091b4be1fb4f5a572
[ "MIT" ]
null
null
null
// MadronaLib: a C++ framework for DSP applications. // Copyright (c) 2013 Madrona Labs LLC. http://www.madronalabs.com // Distributed under the MIT license: http://madrona-labs.mit-license.org/ #include "MLValue.h" #include "MLTextUtils.h" namespace ml { const Matrix Value::nullSignal; Value::Value() : mType(kUnd...
19.913793
75
0.624531
ngwese
fe20e86e4eb61e72e73c4ff1971244886e27ee01
435
cc
C++
kattis/vacuumba.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
506
2018-08-22T10:30:38.000Z
2022-03-31T10:01:49.000Z
kattis/vacuumba.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
13
2019-08-07T18:31:18.000Z
2020-12-15T21:54:41.000Z
kattis/vacuumba.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
234
2018-08-06T17:11:41.000Z
2022-03-26T10:56:42.000Z
// https://open.kattis.com/problems/vacuumba #include <bits/stdc++.h> using namespace std; using pt = complex<double>; int main() { int n, m; cin >> n; while (n--) { cin >> m; pt p = {0,0}; double a = M_PI/2; for (int i = 0; i < m; i++) { double d, l; cin >> d >> l; a += (d * M...
18.913043
68
0.45977
Ashindustry007
fe224782bfc9bbcd09bff7cc6a9b0288d82037ed
1,831
cpp
C++
src/ticore/src/Ti_Callback.cpp
ssaracut/titanium_mobile_blackberry
952a8100086dcc625584e33abc2dc03340cbb219
[ "Apache-2.0" ]
3
2015-03-07T15:41:18.000Z
2015-11-05T05:07:45.000Z
src/ticore/src/Ti_Callback.cpp
ssaracut/titanium_mobile_blackberry
952a8100086dcc625584e33abc2dc03340cbb219
[ "Apache-2.0" ]
1
2015-04-12T11:50:33.000Z
2015-04-12T21:13:19.000Z
src/ticore/src/Ti_Callback.cpp
ssaracut/titanium_mobile_blackberry
952a8100086dcc625584e33abc2dc03340cbb219
[ "Apache-2.0" ]
5
2015-01-13T17:14:41.000Z
2015-05-25T16:54:26.000Z
#include "Ti_Constants.h" #include "Ti_Proxy.h" #include "Ti_Value.h" #include "Ti_EventParameters.h" #include "Ti_Callback.h" #include "Ti_ErrorScreen.h" #include "TitaniumRuntime.h" namespace Ti { TiCallback::TiCallback(Ti::TiProxy* proxy, Ti::TiValue val) : hasFunction(true) { if(val.isUndefined()) { hasFunct...
27.328358
110
0.726925
ssaracut
fe258c33ddb034a4e058b6106b9c43344dcf51a3
10,288
cpp
C++
src/Sources/Extensions/MemoryExtensions.cpp
BerkanYildiz/EasyNT
60441e098cae9a28174d1eb9c119742ff15a8d2a
[ "MIT" ]
5
2021-06-17T03:01:11.000Z
2022-02-07T03:47:46.000Z
src/Sources/Extensions/MemoryExtensions.cpp
BerkanYildiz/EasyNT
60441e098cae9a28174d1eb9c119742ff15a8d2a
[ "MIT" ]
null
null
null
src/Sources/Extensions/MemoryExtensions.cpp
BerkanYildiz/EasyNT
60441e098cae9a28174d1eb9c119742ff15a8d2a
[ "MIT" ]
1
2021-07-23T11:59:34.000Z
2021-07-23T11:59:34.000Z
#include "../../Headers/EasyNT.h" /// <summary> /// Allocate virtual memory in a given process. /// </summary> /// <param name="InProcess">The process.</param> /// <param name="InNumberOfBytes">The number of bytes to allocate.</param> /// <param name="InAllocationType">The type of the allocation.</param> /// <param na...
30.258824
230
0.74825
BerkanYildiz
fe28b706591595785eb4d8b987aa2d670185b0df
41
hpp
C++
test/data/headerIncludeHeaderInSubdirectory/a.hpp
FastAlien/cpp-merge
0ed8f0c36ed80883570c7cf4b384a9854c1e8522
[ "MIT" ]
2
2021-12-10T13:12:38.000Z
2022-03-30T00:51:00.000Z
test/data/headerIncludeHeaderInSubdirectory/a.hpp
FastAlien/cpp-merge
0ed8f0c36ed80883570c7cf4b384a9854c1e8522
[ "MIT" ]
3
2022-01-13T10:29:21.000Z
2022-03-29T20:18:58.000Z
test/data/headerIncludeHeaderInSubdirectory/a.hpp
FastAlien/cpp-merge
0ed8f0c36ed80883570c7cf4b384a9854c1e8522
[ "MIT" ]
null
null
null
#pragma once #include "b.hpp" // a.hpp
6.833333
16
0.609756
FastAlien
fe2d692b9905a426508b90c7c3b1124066ef3525
762
hpp
C++
SpellChecker/include/Tree.hpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
6
2019-08-29T23:31:17.000Z
2021-11-14T20:35:47.000Z
SpellChecker/include/Tree.hpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
null
null
null
SpellChecker/include/Tree.hpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
1
2019-09-01T12:22:58.000Z
2019-09-01T12:22:58.000Z
#ifndef TREE_HPP #define TREE_HPP #include <vector> class Tree { char c; bool isword; std::vector< Tree * > nodes; public: Tree() { isword = false; } ~Tree() { for( auto node : nodes ) delete node; } void SetChar( char c ) { this->c = c; } char GetChar() { return c; } void SetIsWord( boo...
12.095238
57
0.552493
Electrux
fe2f9f36b28433ea15d1598bab3ccd14a1c38a56
6,163
cpp
C++
srcpy/wrappers.cpp
intelligent-soft-robots/pam_interface
b968ad35b7d4aa8755acb108d16273826c919e96
[ "BSD-3-Clause" ]
null
null
null
srcpy/wrappers.cpp
intelligent-soft-robots/pam_interface
b968ad35b7d4aa8755acb108d16273826c919e96
[ "BSD-3-Clause" ]
3
2022-02-25T10:37:17.000Z
2022-03-31T14:22:08.000Z
srcpy/wrappers.cpp
intelligent-soft-robots/pam_interface
b968ad35b7d4aa8755acb108d16273826c919e96
[ "BSD-3-Clause" ]
null
null
null
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include "pam_interface/command.hpp" #include "pam_interface/configuration.hpp" #include "pam_interface/dummy/driver.hpp" #include "pam_interface/pressure_action.hpp" #include "pam_interface/real/driver.hpp" #include "pam_interface/sign.hpp" #include "pam_interfa...
40.019481
79
0.613662
intelligent-soft-robots
fe305829f8dfd98fe6167c6aae32ffae36aed580
821
hpp
C++
Error/include/ErrorBase.hpp
MartinSimango/CPPError
24b4fa354b8af6fb31423524b732c3b909bbdc58
[ "MIT" ]
2
2021-06-30T23:48:48.000Z
2022-01-21T09:00:50.000Z
Error/include/ErrorBase.hpp
MartinSimango/cpperror
24b4fa354b8af6fb31423524b732c3b909bbdc58
[ "MIT" ]
null
null
null
Error/include/ErrorBase.hpp
MartinSimango/cpperror
24b4fa354b8af6fb31423524b732c3b909bbdc58
[ "MIT" ]
null
null
null
#pragma once #include <stdio.h> #include <cpperror/ErrorConstants.h> #include <memory> #include <iostream> class ErrorBase { protected: std::string *errorMessage; std::shared_ptr<void> retVal; int funcReturnType; virtual void setFunctionReturnType() { funcReturnType = UNKNOWN_TYPE; ...
18.659091
63
0.62972
MartinSimango
fe313fdb85941cfd59f4482535f75292f625fc63
5,763
cc
C++
code/application/scriptfeature/fsm/behaviourproperty.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/application/scriptfeature/fsm/behaviourproperty.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/application/scriptfeature/fsm/behaviourproperty.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // behaviourproperty.cc // (C) 2006 Radon Labs GmbH // (C) 2013-2016 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "scriptfeature/...
32.195531
114
0.570883
gscept
fe4277eb615e82251ab1995c7c2d20b0d5e1633e
15,404
cpp
C++
src/libtextmode/image/image.cpp
joelpob/ansilove-term
2842c41bc2429a98d51e02e2d6eb55254afa79bb
[ "BSD-3-Clause" ]
null
null
null
src/libtextmode/image/image.cpp
joelpob/ansilove-term
2842c41bc2429a98d51e02e2d6eb55254afa79bb
[ "BSD-3-Clause" ]
null
null
null
src/libtextmode/image/image.cpp
joelpob/ansilove-term
2842c41bc2429a98d51e02e2d6eb55254afa79bb
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include "image.h" #include "textmode.h" #include "../lodepng/lodepng.h" #include "font_definitions.h" #include "palettes.h" font_t get_font(font_type_t font_type) { switch(font_type) { case font_type_t::custom: case font_type_t::ibm_vga: case font_type_t::ibm_vga_43...
40.01039
176
0.616658
joelpob
1cfbe3dbb2955894af13cf91354fc1f091454a34
1,063
cpp
C++
extension/windows.cpp
Miwwa/hlimgui
d33f859c8c4ed6849318e92745d728e8ab309aae
[ "MIT" ]
30
2020-08-06T14:43:47.000Z
2022-03-16T10:50:43.000Z
extension/windows.cpp
Miwwa/hlimgui
d33f859c8c4ed6849318e92745d728e8ab309aae
[ "MIT" ]
11
2020-10-21T03:33:54.000Z
2021-09-03T15:28:34.000Z
extension/windows.cpp
Miwwa/hlimgui
d33f859c8c4ed6849318e92745d728e8ab309aae
[ "MIT" ]
7
2020-10-20T15:54:56.000Z
2021-07-22T05:34:46.000Z
#define HL_NAME(n) hlimgui_##n #include <hl.h> #include "imgui/imgui.h" #include "utils.h" HL_PRIM bool HL_NAME(begin)(vstring* name, bool* open, ImGuiWindowFlags* flags) { return ImGui::Begin(convertString(name), open, convertPtr(flags, 0)); } HL_PRIM void HL_NAME(end)() { ImGui::End(); } HL_PRIM bool HL_NAME(be...
28.72973
115
0.746002
Miwwa
1cfd09222721865c2726c874f8d0bbc519a116ce
4,602
cpp
C++
LeetCode/308. Range Sum Query 2D - Mutable.cpp
anubhawbhalotia/Competitive-Programming
32d7003abf9af4999b3dfa78fe1df9022ebbf50b
[ "MIT" ]
null
null
null
LeetCode/308. Range Sum Query 2D - Mutable.cpp
anubhawbhalotia/Competitive-Programming
32d7003abf9af4999b3dfa78fe1df9022ebbf50b
[ "MIT" ]
null
null
null
LeetCode/308. Range Sum Query 2D - Mutable.cpp
anubhawbhalotia/Competitive-Programming
32d7003abf9af4999b3dfa78fe1df9022ebbf50b
[ "MIT" ]
1
2020-05-20T18:36:31.000Z
2020-05-20T18:36:31.000Z
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector<long long> vl; typedef vector<vector<int>> vvi; typedef vector<vector<long long>> vvl; typedef pair<int,int> pii; typedef pair<long long ,long long> pll; typedef set<int> si; typedef set<long long> sl; typedef uno...
28.583851
83
0.530204
anubhawbhalotia
1cfff864729f0477b146e12efd69c8370f076d01
892
cpp
C++
src/lib/detectors/DimentionDetector.cpp
Extended-Object-Detection-ROS/extended_object_detection
2552c75f29c2e436f3850eacdd05d39432dc9def
[ "BSD-3-Clause" ]
19
2020-12-01T07:30:51.000Z
2022-03-17T10:48:50.000Z
detectors/DimentionDetector.cpp
Extended-Object-Detection-ROS/lib
11865c85f9f46c28552bacf160f0639584310006
[ "BSD-3-Clause" ]
1
2021-02-26T10:49:25.000Z
2021-04-26T13:04:09.000Z
detectors/DimentionDetector.cpp
Extended-Object-Detection-ROS/lib
11865c85f9f46c28552bacf160f0639584310006
[ "BSD-3-Clause" ]
4
2020-11-30T21:41:05.000Z
2022-02-02T07:40:47.000Z
#include "DimentionDetector.h" using namespace std; using namespace cv; namespace eod{ DimentionAttribute::DimentionAttribute(){ Type = DIMEN_A; } DimentionAttribute::DimentionAttribute(double ratioMin_, double ratioMax_){ ratioMax = ratioMax_; ratioMin = ratioMin_; Type = DIMEN_A; } ...
22.871795
85
0.673767
Extended-Object-Detection-ROS