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
306457b56fcc8b0bb24435ef1636fda603dce097
16,186
cpp
C++
src/enumbra.cpp
Scaless/enumbra
a5ffd287a15bf39f5636d4257c9a49c64d0903c2
[ "MIT" ]
null
null
null
src/enumbra.cpp
Scaless/enumbra
a5ffd287a15bf39f5636d4257c9a49c64d0903c2
[ "MIT" ]
null
null
null
src/enumbra.cpp
Scaless/enumbra
a5ffd287a15bf39f5636d4257c9a49c64d0903c2
[ "MIT" ]
null
null
null
// enumbra.cpp : Defines the entry point for the application. // #include "enumbra.h" #include "cpp_generator.h" #include <iostream> #include <filesystem> #include <cxxopts.hpp> #include <toml++/toml.h> using namespace enumbra; enumbra::enumbra_config load_enumbra_config(std::string_view config_toml_file, enumbra::...
38.722488
171
0.713889
Scaless
306798e38e1e28c871ffb64106e0ee02b70a05ad
306
hpp
C++
src/decoders/sndfile.hpp
CDanSantana/alure
cb69d15adc74be4963f9589e4587aa1d9b5f4b62
[ "Zlib" ]
56
2016-01-15T03:23:32.000Z
2022-02-19T10:32:10.000Z
src/decoders/sndfile.hpp
CDanSantana/alure
cb69d15adc74be4963f9589e4587aa1d9b5f4b62
[ "Zlib" ]
41
2016-11-04T10:27:44.000Z
2021-01-08T16:37:21.000Z
src/decoders/sndfile.hpp
CDanSantana/alure
cb69d15adc74be4963f9589e4587aa1d9b5f4b62
[ "Zlib" ]
18
2017-01-06T11:23:38.000Z
2022-02-19T10:32:13.000Z
#ifndef DECODERS_SNDFILE_HPP #define DECODERS_SNDFILE_HPP #include "alure2.h" namespace alure { class SndFileDecoderFactory final : public DecoderFactory { SharedPtr<Decoder> createDecoder(UniquePtr<std::istream> &file) noexcept override; }; } // namespace alure #endif /* DECODERS_SNDFILE_HPP */
20.4
86
0.777778
CDanSantana
306ec6f8b790e056be41efb2b014f514573ecb62
609
cpp
C++
BuilldTool/main.cpp
warvstar/buildtool
1680a1dc789dfb1ff74b912ae99ab34b481004b1
[ "Apache-2.0" ]
2
2017-11-19T21:18:30.000Z
2017-11-23T18:08:56.000Z
BuilldTool/main.cpp
warvstar/buildtool
1680a1dc789dfb1ff74b912ae99ab34b481004b1
[ "Apache-2.0" ]
null
null
null
BuilldTool/main.cpp
warvstar/buildtool
1680a1dc789dfb1ff74b912ae99ab34b481004b1
[ "Apache-2.0" ]
null
null
null
#include "BuildTool.h" #include <iostream> #include <string> #include <vector> int main(int argc, char *argv[]) { bool useVS = false; bool clean = false; bool rebuild = false; std::string current_exec_name = argv[0]; // Name of the current exec program std::string first_arg; std::vector<std::string> a...
23.423077
78
0.625616
warvstar
307f65f30f17ea18b31530cf47a744410e1af5c3
454
hpp
C++
src/utils.hpp
rjmacready/Hylas-Lisp
39fb92bd2a5e4abd427909b60ff15ec4f76989e7
[ "MIT" ]
2
2018-09-04T04:46:56.000Z
2019-01-18T04:50:11.000Z
src/old/utils.hpp
Arcterus/Hylas-Lisp
4a109b97b1a0c1a1203e39710d514740facfe90e
[ "Unlicense" ]
null
null
null
src/old/utils.hpp
Arcterus/Hylas-Lisp
4a109b97b1a0c1a1203e39710d514740facfe90e
[ "Unlicense" ]
null
null
null
/*! * @file utils.hpp * @brief Declaration of mostly string-related utilities. * @author Eudoxia */ namespace Hylas { using namespace std; using namespace llvm; template <typename T> inline string to_string(T datum); template <typename T> inline T from_string(string datum); string dump_form(...
17.461538
57
0.696035
rjmacready
307ff06e1f07d6e7b9d991d1ff7ba5ec5c57122c
1,457
cpp
C++
unit_tests/validity/frustum.cpp
obhi-d/vml
c8a19720f70b613790e57f17095b1c0e11a75604
[ "MIT" ]
null
null
null
unit_tests/validity/frustum.cpp
obhi-d/vml
c8a19720f70b613790e57f17095b1c0e11a75604
[ "MIT" ]
null
null
null
unit_tests/validity/frustum.cpp
obhi-d/vml
c8a19720f70b613790e57f17095b1c0e11a75604
[ "MIT" ]
null
null
null
#include <catch2/catch.hpp> #include <vml.hpp> TEST_CASE("Validate frustum::set", "[frustum::set]") { vml::mat4_t m = vml::mat4::from_orthographic_projection(100.0f, 90.0f, 1.0f, 1000.0f); vml::frustum_t frustum_orig = vml::frustum::from_mat4_transpose(vml::mat4::transpose(m)); vml::frustum_t frustum_othe...
45.53125
79
0.60604
obhi-d
30816f45e394918626e334564cfc25d2e6785ad4
108,955
hpp
C++
include/vulkan/internal/dispatch.hpp
skyline-emu/vkhpp
a4b8f74942a932ea191dc95cc4a210fea524508f
[ "Apache-2.0" ]
2
2020-04-22T21:14:24.000Z
2021-11-03T18:21:12.000Z
include/vulkan/internal/dispatch.hpp
skyline-emu/vkhpp
a4b8f74942a932ea191dc95cc4a210fea524508f
[ "Apache-2.0" ]
null
null
null
include/vulkan/internal/dispatch.hpp
skyline-emu/vkhpp
a4b8f74942a932ea191dc95cc4a210fea524508f
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2015-2019 The Khronos Group 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 applicab...
55.335196
568
0.801634
skyline-emu
30836207da5958b8a5ddc3386565ea9d63baf43c
558
hpp
C++
Source/Parser/Tokenizer/Impl/Token.hpp
JoinCAD/CPP-Reflection
61163369b6b3b370c4ce726dbf8e60e441723821
[ "MIT" ]
540
2015-09-18T09:44:57.000Z
2022-03-25T07:23:09.000Z
Source/Parser/Tokenizer/Impl/Token.hpp
yangzhengxing/CPP-Reflection
43ec755b7a5c62e3252c174815c2e44727e11e72
[ "MIT" ]
16
2015-09-23T06:37:43.000Z
2020-04-10T15:40:08.000Z
Source/Parser/Tokenizer/Impl/Token.hpp
yangzhengxing/CPP-Reflection
43ec755b7a5c62e3252c174815c2e44727e11e72
[ "MIT" ]
88
2015-09-21T15:12:32.000Z
2021-11-30T14:07:34.000Z
/* ---------------------------------------------------------------------------- ** Copyright (c) 2016 Austin Brunkhorst, All Rights Reserved. ** ** Token.hpp ** --------------------------------------------------------------------------*/ template<typename TokenEnumType, typename InputType> Token<TokenEnumType, InputTy...
39.857143
82
0.52509
JoinCAD
3085858a785f9ba9392e668e02c8969a4bdc8378
6,919
cpp
C++
OpenTESArena/src/Interface/ChooseClassCreationPanel.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
OpenTESArena/src/Interface/ChooseClassCreationPanel.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
OpenTESArena/src/Interface/ChooseClassCreationPanel.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
#include "SDL.h" #include "ChooseClassCreationPanel.h" #include "ChooseClassPanel.h" #include "CursorAlignment.h" #include "MainMenuPanel.h" #include "RichTextString.h" #include "TextAlignment.h" #include "TextBox.h" #include "../Assets/ExeData.h" #include "../Assets/MiscAssets.h" #include "../Game/Game.h" #include "....
30.615044
87
0.719613
Digital-Monk
30a24c2afa12a6c0752b18fffe6aab8a21f3ae11
1,075
cpp
C++
Utilities/LogTesting/LogTesting/LogTesting.cpp
stoyannk/dx11-framework
1f1ce560d7c80f9e05f39479c316761f54c5cf12
[ "BSD-2-Clause" ]
18
2015-12-07T16:08:27.000Z
2020-02-11T12:30:36.000Z
Utilities/LogTesting/LogTesting/LogTesting.cpp
stoyannk/dx11-framework
1f1ce560d7c80f9e05f39479c316761f54c5cf12
[ "BSD-2-Clause" ]
null
null
null
Utilities/LogTesting/LogTesting/LogTesting.cpp
stoyannk/dx11-framework
1f1ce560d7c80f9e05f39479c316761f54c5cf12
[ "BSD-2-Clause" ]
8
2017-02-18T01:30:57.000Z
2022-01-03T22:41:11.000Z
// LogTesting.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "../../Logger.h" using namespace Logging; struct LogTester { static const int iter = 1024; LogTester(int id) : m_Id(id) {} void operator()() { std::ostringstream mydata; mydata << "Th...
17.33871
78
0.595349
stoyannk
30a5101942a5b0d0f522f96de1e97239422dc48c
5,107
cc
C++
FileWriter.cc
dberesford/rocksdb-node
5951c92dde2a0f8d64b2d758a57a6a4ae0cd4492
[ "MIT" ]
36
2017-05-04T09:20:09.000Z
2021-03-29T10:57:09.000Z
FileWriter.cc
jacogr/rocksdb-node
00ebfdbf0462ee615f4f48f1db403fd4df8471ea
[ "MIT" ]
13
2017-05-04T22:04:18.000Z
2019-11-07T17:23:11.000Z
FileWriter.cc
jacogr/rocksdb-node
00ebfdbf0462ee615f4f48f1db403fd4df8471ea
[ "MIT" ]
9
2017-10-23T21:07:06.000Z
2021-03-29T10:57:14.000Z
#include <node.h> #include <nan.h> #include "rocksdb/db.h" #include "FileWriter.h" #include "DBNode.h" #include "Errors.h" #include <iostream> Nan::Persistent<v8::FunctionTemplate> filewriter_constructor; FileWriter::FileWriter (rocksdb::ColumnFamilyHandle *handle, rocksdb::DB* db) { rocksdb::EnvOptions env(db->Ge...
30.76506
147
0.663403
dberesford
dd611345401374b464e0fcf6404a69f3fd09b96f
1,972
cpp
C++
WaveletTL/interval/jl_index.cpp
kedingagnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
3
2018-05-20T15:25:58.000Z
2021-01-19T18:46:48.000Z
WaveletTL/interval/jl_index.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
null
null
null
WaveletTL/interval/jl_index.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
2
2019-04-24T18:23:26.000Z
2020-09-17T10:00:27.000Z
// implementation for jl_index.h namespace WaveletTL { JLIndex::JLIndex() : j_(1), e_(0), c_(0), k_(1) { } JLIndex::JLIndex(const JLIndex& index) : j_(index.j_), e_(index.e_), c_(index.c_), k_(index.k_) { } JLIndex::JLIndex(const JLIndex* index) : j_(index->j_), e_(index->e_), c_(index->c_)...
15.650794
100
0.48073
kedingagnumerikunimarburg
dd684cdc3bd2a68b353e6a1a319a388e32a37fd2
6,023
cpp
C++
Code en C++ de Mage War Online/LavaFloor.cpp
Drakandes/Portfolio_NicolasPaulBonneau
c8115d5ecd6c284113766d64d0f907c074315cff
[ "MIT" ]
null
null
null
Code en C++ de Mage War Online/LavaFloor.cpp
Drakandes/Portfolio_NicolasPaulBonneau
c8115d5ecd6c284113766d64d0f907c074315cff
[ "MIT" ]
null
null
null
Code en C++ de Mage War Online/LavaFloor.cpp
Drakandes/Portfolio_NicolasPaulBonneau
c8115d5ecd6c284113766d64d0f907c074315cff
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "LavaFloor.h" LavaFloor::LavaFloor() { if (!texture_projectile.loadFromFile("Lava.png")) { std::cout << "Error while loading lava texture" << std::endl; } } LavaFloor::~LavaFloor() { parent.reset(); } void LavaFloor::Init(sf::Vector2f position_initial, float damage...
24.684426
235
0.700149
Drakandes
dd6d2624e254b308f3ecee0d7e3608031bed2d34
870
hpp
C++
HLS/moving_average.hpp
emanueledelsozzo/pynq_hls_moving_average
ee42454875d84e3767d633e8add570dfbb50804a
[ "MIT" ]
1
2020-12-03T15:13:40.000Z
2020-12-03T15:13:40.000Z
HLS/moving_average.hpp
emanueledelsozzo/pynq_hls_moving_average
ee42454875d84e3767d633e8add570dfbb50804a
[ "MIT" ]
null
null
null
HLS/moving_average.hpp
emanueledelsozzo/pynq_hls_moving_average
ee42454875d84e3767d633e8add570dfbb50804a
[ "MIT" ]
null
null
null
// Authors: // Emanuele Del Sozzo, Davide Conficconi // {emanuele.delsozzo, davide.conficconi}@polimi.it // #ifndef MV_AVG_HPP #define MV_AVG_HPP #include "hls_stream.h" #include "ap_int.h" // Shift Register Maximum Size #define MAX_WINDOW_SIZE 16 // Template for AXI Stream interface template<class DT, i...
21.75
58
0.722989
emanueledelsozzo
dd6e6ad258f7e5a628939285e99b28067fcedc0b
5,518
cpp
C++
engine/calculators/source/unit_tests/PacificationCalculator_test.cpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/calculators/source/unit_tests/PacificationCalculator_test.cpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/calculators/source/unit_tests/PacificationCalculator_test.cpp
prolog/shadow-of-the-wyrm
a1312c3e9bb74473f73c4e7639e8bd537f10b488
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#include "gtest/gtest.h" TEST(SW_Engine_Calculators_PacificationCalculator, calculate_pct_chance_pacify_music) { CreaturePtr music_creature; CreaturePtr fov_creature; PacificationCalculator pc; ItemStatus status = ItemStatus::ITEM_STATUS_UNCURSED; EXPECT_EQ(0, pc.calculate_pct_chance_pacify_music(m...
39.414286
126
0.746285
prolog
dd720a068b7df04e90ab64b797c2f39bb389d1e6
8,129
cpp
C++
cpp/src/file_server/FileConn.cpp
KevinHM/TTServer
c3a8dcb7e0d2dd0d3fc88ff919019ca5f0a81306
[ "Apache-2.0" ]
22
2015-05-02T11:21:32.000Z
2022-03-04T09:58:19.000Z
cpp/src/file_server/FileConn.cpp
luyongfugx/TTServer
c3a8dcb7e0d2dd0d3fc88ff919019ca5f0a81306
[ "Apache-2.0" ]
null
null
null
cpp/src/file_server/FileConn.cpp
luyongfugx/TTServer
c3a8dcb7e0d2dd0d3fc88ff919019ca5f0a81306
[ "Apache-2.0" ]
21
2015-01-02T01:21:04.000Z
2021-05-12T09:52:54.000Z
/* * FileConn.cpp * * Created on: 2013-12-9 * Author: ziteng@mogujie.com */ #include "FileConn.h" #include "TokenValidator.h" #include <sys/stat.h> static ConnMap_t g_file_conn_map; static UserMap_t g_file_user_map; static char g_current_save_path[BUFSIZ]; static uchar_t g_tmp_file_buf[PARTIAL_FILE_SIZE];...
23.908824
106
0.698364
KevinHM
dd7c2802da4b8ca92236f1e9a848062daea3c387
2,309
cc
C++
driver/beagle/beagle_pci_driver_provider_linux.cc
ghollingworth/libedgetpu
d37e668cd9ef0e657b9e4e413df53f370532e87e
[ "Apache-2.0" ]
99
2020-06-09T05:52:44.000Z
2022-03-08T06:06:55.000Z
driver/beagle/beagle_pci_driver_provider_linux.cc
ghollingworth/libedgetpu
d37e668cd9ef0e657b9e4e413df53f370532e87e
[ "Apache-2.0" ]
35
2020-06-09T15:00:26.000Z
2022-03-15T10:22:32.000Z
driver/beagle/beagle_pci_driver_provider_linux.cc
ghollingworth/libedgetpu
d37e668cd9ef0e657b9e4e413df53f370532e87e
[ "Apache-2.0" ]
23
2020-06-09T14:50:54.000Z
2022-03-15T11:18:16.000Z
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
36.078125
79
0.75314
ghollingworth
dd8601c8981cc5b727c879eca9fc9b94c5284f7f
13,340
cpp
C++
msj_archives/code/msj1096.src/Liposuction/Lipogui.cpp
sarangbaheti/misc-code
d47a8d1cc41f19701ce628c9f15976bb5baa239d
[ "Unlicense" ]
1
2020-10-22T12:58:55.000Z
2020-10-22T12:58:55.000Z
msj_archives/code/msj1096.src/Liposuction/Lipogui.cpp
sarangbaheti/misc-code
d47a8d1cc41f19701ce628c9f15976bb5baa239d
[ "Unlicense" ]
null
null
null
msj_archives/code/msj1096.src/Liposuction/Lipogui.cpp
sarangbaheti/misc-code
d47a8d1cc41f19701ce628c9f15976bb5baa239d
[ "Unlicense" ]
2
2020-10-19T23:36:26.000Z
2020-10-22T12:59:37.000Z
//========================================== // LIPO32/LIPOSUCTION32 - Matt Pietrek 1996 // Microsoft Systems Journal, October 1996 // FILE: LIPOGUI.CPP //========================================== #include <windows.h> #include <shellapi.h> #pragma hdrstop #include "lipo32res.h" #include "lipo32output.h" //-----------...
31.761905
80
0.623463
sarangbaheti
dd8c81065a83fc060abf0c5e8ce5397e70972586
1,540
cpp
C++
src/Private/Natives/RawFileReader.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
src/Private/Natives/RawFileReader.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
src/Private/Natives/RawFileReader.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
#include <CoreFoundation/CoreFoundation.h> #include <KYEngine/Core.h> #include <KYEngine/Private/Natives/RawFileReader.h> #include <stdexcept> RawFileReader::RawFileReader(const std::string& filename, const std::string& suffix, bool simple) { if (simple) m_resFilename = filename; else m_resFi...
35.813953
102
0.70974
heltena
dd8d9a29a1391b7b18bb0b975ce247777e06488a
1,414
hpp
C++
lang/cxx/clone.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
41
2019-09-24T02:17:34.000Z
2022-01-18T03:14:46.000Z
lang/cxx/clone.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
2
2019-11-04T09:01:40.000Z
2020-06-23T03:03:38.000Z
lang/cxx/clone.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
8
2019-09-24T02:17:35.000Z
2021-09-11T00:21:03.000Z
#ifndef xusing_lang_cxx #include"lang/private/cxx.hpp" #endif #ifndef xpack_lang_cxx_clone #define xpack_lang_cxx_clone #pragma push_macro("xuser") #pragma push_macro("xusing_lang_cxx") #undef xusing_lang_cxx #undef xuser #define xuser mixc::lang_cxx_clone::inc #include"define/base_type.hpp" #include"interface/can_a...
25.25
77
0.666902
Better-Idea
dd96068e8274df8b8e4d6d5fb90d43e46b87e928
14,928
cpp
C++
Code/Projects/Eldritch/src/Components/wbcompeldhands.cpp
kas1e/Eldritch
032b4ac52f7508c89efa407d6fe60f40c6281fd9
[ "Zlib" ]
null
null
null
Code/Projects/Eldritch/src/Components/wbcompeldhands.cpp
kas1e/Eldritch
032b4ac52f7508c89efa407d6fe60f40c6281fd9
[ "Zlib" ]
null
null
null
Code/Projects/Eldritch/src/Components/wbcompeldhands.cpp
kas1e/Eldritch
032b4ac52f7508c89efa407d6fe60f40c6281fd9
[ "Zlib" ]
null
null
null
#include "core.h" #include "wbcompeldhands.h" #include "wbcompeldweapon.h" #include "wbeventmanager.h" #include "hashedstring.h" #include "wbcompeldinventory.h" #include "idatastream.h" #include "inputsystem.h" WBCompEldHands::WBCompEldHands() : m_HideHandsRefs(0) { STATIC_HASHED_STRING(OnWorldLoaded); GetEventMan...
31.493671
80
0.711147
kas1e
dd99bf7fc308c728a4aa05dc27026c2624c5e9e0
4,705
cpp
C++
HEVD - Integer Overflow Exploit/HEVD - Integer Overflow Exploit/HEVD - Integer Overflow Exploit.cpp
tekwizz123/HEVD-Exploit-Solutions
65992fd3802fb8204fac3a96ead19279db78bdfc
[ "MIT" ]
19
2017-07-24T15:47:51.000Z
2022-01-22T22:04:02.000Z
HEVD - Integer Overflow Exploit/HEVD - Integer Overflow Exploit/HEVD - Integer Overflow Exploit.cpp
tekwizz123/HEVD-Exploit-Solutions
65992fd3802fb8204fac3a96ead19279db78bdfc
[ "MIT" ]
null
null
null
HEVD - Integer Overflow Exploit/HEVD - Integer Overflow Exploit/HEVD - Integer Overflow Exploit.cpp
tekwizz123/HEVD-Exploit-Solutions
65992fd3802fb8204fac3a96ead19279db78bdfc
[ "MIT" ]
12
2017-07-24T18:52:32.000Z
2021-11-18T01:06:23.000Z
#include "stdafx.h" #include "windows.h" int main() { printf("Starting exploitation of HEVD integer overflow\r\n"); printf("Exploit by @tekwizz123\r\n"); printf("-----------------------------------------------------\r\n\r\n"); printf("Opening handle to device...\r\n"); HANDLE devHandle = CreateFileA("\...
51.141304
272
0.664825
tekwizz123
dd9e6cf503e210e8ef20643380eacea5afdb87ad
2,645
cpp
C++
src/activeinfowindow.cpp
caozx1110/ThunderClass
e7e06a6cefa63887e2ebcbf34c2d855c06651aee
[ "Apache-2.0" ]
1
2022-03-31T06:27:32.000Z
2022-03-31T06:27:32.000Z
src/activeinfowindow.cpp
caozx1110/ThunderClass
e7e06a6cefa63887e2ebcbf34c2d855c06651aee
[ "Apache-2.0" ]
null
null
null
src/activeinfowindow.cpp
caozx1110/ThunderClass
e7e06a6cefa63887e2ebcbf34c2d855c06651aee
[ "Apache-2.0" ]
null
null
null
#include "activeinfowindow.h" #include "ui_activeinfowindow.h" ActiveInfoWindow::ActiveInfoWindow(QWidget *parent, vector<StuTimeInfo> TimeInfo) : QDialog(parent), ui(new Ui::ActiveInfoWindow) { ui->setupUi(this); //6-19,获取时间 time_t Time = time(NULL); char cTime[64] = {0}; strftime(cTime, ...
36.232877
104
0.620038
caozx1110
dda245a7f6395df0beebb8eb5d452bf6615e0e0e
355
hpp
C++
src/headers/SubroutineInfoRow.hpp
pointbazaar/dracovm-compiler
47eaf0bd049b205cc17fefcb7448a088b55d7d83
[ "MIT" ]
5
2019-11-30T23:42:03.000Z
2020-08-12T07:47:00.000Z
src/headers/SubroutineInfoRow.hpp
pointbazaar/dracovm-compiler
47eaf0bd049b205cc17fefcb7448a088b55d7d83
[ "MIT" ]
4
2019-10-17T22:18:46.000Z
2020-01-02T18:32:19.000Z
src/headers/SubroutineInfoRow.hpp
pointbazaar/dracovm-compiler
47eaf0bd049b205cc17fefcb7448a088b55d7d83
[ "MIT" ]
null
null
null
#include <string> #include <vector> using namespace std; class SubroutineInfoRow{ /* This class is supposed to represent one row of information (about one subroutine) in the .dracovm.info file, which is used to support incremental compilation. */ public: string filename; vector<string> dependencies; str...
19.722222
59
0.749296
pointbazaar
dda523b1f71266046f80c9e903ca24830c826e1c
4,437
cpp
C++
src/register/registers.cpp
Zhuagenborn/Tiny-Windows-x86-Debugger
2ccbff9e1a524ad64361be5284310b6ef8cda48f
[ "MIT" ]
3
2022-02-05T12:54:59.000Z
2022-02-10T18:05:01.000Z
src/register/registers.cpp
Zhuagenborn/Tiny-Windows-x86-Debugger
2ccbff9e1a524ad64361be5284310b6ef8cda48f
[ "MIT" ]
null
null
null
src/register/registers.cpp
Zhuagenborn/Tiny-Windows-x86-Debugger
2ccbff9e1a524ad64361be5284310b6ef8cda48f
[ "MIT" ]
null
null
null
#include "registers.h" #include "error.h" #include <cassert> #include <cstring> Registers::Registers(const HANDLE thread, const std::uint32_t context_flags) : EAX{ *this, RegisterIndex::EAX }, EBX{ *this, RegisterIndex::EBX }, ECX{ *this, RegisterIndex::ECX }, EDX{ *this, RegisterIndex::EDX }, EI...
25.067797
78
0.502592
Zhuagenborn
dda6b4cc6c0bddb83c9dc908d522a1dfc8edf7f8
468
hpp
C++
include/xul/io/bmf_format.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
2
2018-03-16T07:06:48.000Z
2018-04-02T03:02:14.000Z
include/xul/io/bmf_format.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
null
null
null
include/xul/io/bmf_format.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
1
2019-08-12T05:15:29.000Z
2019-08-12T05:15:29.000Z
#pragma once /** * @file * @brief bmf(binary message format) */ #include <xul/io/bmf_integer_encoding.hpp> #include <xul/io/output_stream.hpp> #include <boost/noncopyable.hpp> #include <stddef.h> #include <stdint.h> namespace xul { /// bmf(binary message format) class bmf_format { public: enum { ...
13.371429
42
0.598291
hindsights
ddb0dc5422cb0516f12849a0addd4d43d08a8bb4
1,295
cpp
C++
src/main.cpp
scavis/PowerWallClock
c393ef69b1435d854eb16eae5360f16b1808dced
[ "BSD-2-Clause-FreeBSD" ]
1
2022-01-20T20:24:27.000Z
2022-01-20T20:24:27.000Z
src/main.cpp
ko-lab/PowerWallClock
c393ef69b1435d854eb16eae5360f16b1808dced
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/main.cpp
ko-lab/PowerWallClock
c393ef69b1435d854eb16eae5360f16b1808dced
[ "BSD-2-Clause-FreeBSD" ]
1
2019-08-25T11:19:41.000Z
2019-08-25T11:19:41.000Z
/**************************************************************************/ /*! @file main.cpp @author Scavis (@hacker Space: Ko-Lab) @license BSD (see license.txt) @section HISTORY v1.0 - First release */ /**************************************************************************/ /...
20.234375
76
0.579151
scavis
ddb3d62bc699347ffdc4a8fda871b1d40c12fd15
921
hpp
C++
src/course/OO-programing/LearningDefaultAndDeletedFunctions.hpp
eduardoc7/learning-cplusplus
3cb597dd40685cae8e73a53f4969f5e54c50dac2
[ "MIT" ]
null
null
null
src/course/OO-programing/LearningDefaultAndDeletedFunctions.hpp
eduardoc7/learning-cplusplus
3cb597dd40685cae8e73a53f4969f5e54c50dac2
[ "MIT" ]
null
null
null
src/course/OO-programing/LearningDefaultAndDeletedFunctions.hpp
eduardoc7/learning-cplusplus
3cb597dd40685cae8e73a53f4969f5e54c50dac2
[ "MIT" ]
null
null
null
#pragma once /** * The keyword default is used to create an automatically default implementation to my constructor class, * without having to define it manually * * Used only those functions that can be synthesized by the compiler. * This way, that include's the destructor, copy constructor and assignment * * D...
29.709677
105
0.726384
eduardoc7
ddb8264cfe48ce735aae42839d88f1c48a567cd3
6,538
cpp
C++
packages/data/ace/src/Data_ACEFileHandler.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/data/ace/src/Data_ACEFileHandler.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/data/ace/src/Data_ACEFileHandler.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file Data_ACEFileHandler.cpp //! \author Alex Robinson //! \brief A Compact ENDF file handler class definition. //! //---------------------------------------------------------------------------// // Std Lib Includes #include <s...
27.470588
87
0.674212
lkersting
ddbe1ddb58b96c1e77ffd32e45b54174a4deaf56
7,374
hxx
C++
resip/stack/QValueParameter.hxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
1
2019-04-15T14:10:58.000Z
2019-04-15T14:10:58.000Z
resip/stack/QValueParameter.hxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
null
null
null
resip/stack/QValueParameter.hxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
2
2019-10-31T09:11:09.000Z
2021-09-17T01:00:49.000Z
#if !defined(RESIP_QVALUEPARAMETER_HXX) #define RESIP_QVALUEPARAMETER_HXX #include "rutil/resipfaststreams.hxx" #include "resip/stack/Parameter.hxx" #include "resip/stack/ParameterTypeEnums.hxx" #include "resip/stack/QValue.hxx" #include "rutil/PoolBase.hxx" #include <iosfwd> namespace resip { class ParseBuffer...
40.516484
98
0.684839
dulton
ddc2484341a57640c448d0fd656a003d364069b0
15,430
cpp
C++
example/ccana/source/Project2Photon3D.cpp
goroyabu/anlpy
2d5d65b898d31d69f990e973cbfdbabd8cb0a15c
[ "MIT" ]
null
null
null
example/ccana/source/Project2Photon3D.cpp
goroyabu/anlpy
2d5d65b898d31d69f990e973cbfdbabd8cb0a15c
[ "MIT" ]
null
null
null
example/ccana/source/Project2Photon3D.cpp
goroyabu/anlpy
2d5d65b898d31d69f990e973cbfdbabd8cb0a15c
[ "MIT" ]
null
null
null
/** @file Project2Photon3D.cpp @date 2020/05/18 @author @detail Automatically generated by make_anlpy_project.sh 1.0.0 **/ #include "Project2Photon3D.hpp" #include <iostream> using std::cout; using std::endl; #include <bnk.hpp> #include <evs.hpp> #include <TROOT.h> #include <TSeqCollection.h> #incl...
35.800464
128
0.654893
goroyabu
ddc3a39a81e82bacd63311af604fb480ff5aaca4
831
cpp
C++
solved/0-b/balls-game/balls.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/0-b/balls-game/balls.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/0-b/balls-game/balls.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <algorithm> #include <cstdio> using namespace std; #define MAXN 100 int n, k, x; int balls[MAXN]; int simulate(int i) { int a = i; int b = i + 1; int ball = balls[i]; int total = 0; for (int j = 0; true; ++j) { int cnt = j == 0 ? 1 : 0; for (; a >= 0 && balls[a] == ball; --a) ++cnt; for (; ...
13.622951
52
0.477738
abuasifkhan
ddc42601305c77ca09d99a77aba4e81449a81bb8
20,216
cpp
C++
src/model/Service.cpp
minyor/PocoBlog
9556c5e70618dd64abd36913cc34c5c373b5673f
[ "BSD-2-Clause" ]
5
2016-01-19T02:12:40.000Z
2018-01-12T09:20:53.000Z
src/model/Service.cpp
minyor/PocoBlog
9556c5e70618dd64abd36913cc34c5c373b5673f
[ "BSD-2-Clause" ]
null
null
null
src/model/Service.cpp
minyor/PocoBlog
9556c5e70618dd64abd36913cc34c5c373b5673f
[ "BSD-2-Clause" ]
null
null
null
#include "Poco/Data/Session.h" #include "Poco/Data/TypeHandler.h" #include <core/Header.h> #include <model/Service.h> #include <core/Server.h> #include <core/db/SQLTable.h> using namespace Poco::Data::Keywords; using Poco::Data::Session; using Poco::Data::Statement; using namespace core; using namespace core::db; u...
31.68652
118
0.652899
minyor
ddc84f6c1b0d959438bc7e823b07c7de7901351a
4,955
hpp
C++
Lib-Engine/src/sfz/strings/DynString.hpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
2
2020-09-04T16:52:47.000Z
2021-04-21T18:30:25.000Z
Lib-Engine/src/sfz/strings/DynString.hpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
null
null
null
Lib-Engine/src/sfz/strings/DynString.hpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
null
null
null
// Copyright (c) Peter Hillerström (skipifzero.com, peter@hstroem.se) // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // // Permission is granted to anyone to use this software for ...
42.715517
99
0.636932
PetorSFZ
ddcc57e6a1d24b36dfc36a8d8146d8ef7eab015d
2,267
hpp
C++
include/transform_publisher/main_window.hpp
Zhang-Hongda/transform_publisher
d7057cb1ac5d83075ab486ed90dd987cf76af690
[ "MIT" ]
1
2020-05-13T14:46:00.000Z
2020-05-13T14:46:00.000Z
include/transform_publisher/main_window.hpp
Zhang-Hongda/transform_publisher
d7057cb1ac5d83075ab486ed90dd987cf76af690
[ "MIT" ]
null
null
null
include/transform_publisher/main_window.hpp
Zhang-Hongda/transform_publisher
d7057cb1ac5d83075ab486ed90dd987cf76af690
[ "MIT" ]
null
null
null
/** * @file /include/transform_publisher/main_window.hpp * * @brief Qt based gui for transform_publisher. * * @date November 2010 **/ #ifndef transform_publisher_MAIN_WINDOW_H #define transform_publisher_MAIN_WINDOW_H /***************************************************************************** ** Includes ****...
30.635135
78
0.580062
Zhang-Hongda
dddb80f6632fe6fa08415742608936c791613440
3,162
cpp
C++
lib/serial/bus/src/baudrate.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
2
2020-03-03T12:40:29.000Z
2021-05-06T06:20:19.000Z
lib/serial/bus/src/baudrate.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
7
2020-01-14T20:38:04.000Z
2021-05-17T09:52:07.000Z
lib/serial/bus/src/baudrate.cpp
solosTec/node
e35e127867a4f66129477b780cbd09c5231fc7da
[ "MIT" ]
2
2019-11-09T09:14:48.000Z
2020-03-03T12:40:30.000Z
/* * The MIT License (MIT) * * Copyright (c) 2019 Sylko Olzscher * */ #include <smf/serial/baudrate.h> namespace node { namespace serial { std::uint32_t get_speed(baudrate br) { switch (br) { case BR_50: return 50u; case BR_75: return 75u; case BR_110: return 110u; case BR_134: return 134u; ...
21.221477
64
0.647059
solosTec
dddbea3a43800f827c7c04c2cbf9969e5763997e
2,082
cc
C++
src/access/verification/ugi_verification.cc
cuisonghui/tera
99a3f16de13dd454a64d64e938fcfeb030674d5f
[ "Apache-2.0", "BSD-3-Clause" ]
2,003
2015-07-13T08:36:45.000Z
2022-03-26T02:10:07.000Z
src/access/verification/ugi_verification.cc
a1e2w3/tera
dbcd28af792d879d961bf9fc7eb60de81b437646
[ "Apache-2.0", "BSD-3-Clause" ]
981
2015-07-14T00:03:24.000Z
2021-05-10T09:50:01.000Z
src/access/verification/ugi_verification.cc
a1e2w3/tera
dbcd28af792d879d961bf9fc7eb60de81b437646
[ "Apache-2.0", "BSD-3-Clause" ]
461
2015-07-14T02:53:35.000Z
2022-03-10T10:31:49.000Z
// Copyright (c) 2015-2018, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ugi_verification.h" #include <gflags/gflags.h> #include <glog/logging.h> namespace tera { namespace auth { UgiVerification::UgiVerification...
32.53125
96
0.692123
cuisonghui
50b453249233b4c2a5a6827ec178d2b149e128da
1,838
cpp
C++
Ultrasonic_Detection/01_Comm_FMUK66-ArduinoNano I2C-PoC/FMUK66/daiDrone_EZ/dd_ultrasonic.cpp
howeverpw/hovergame_project03
09c767ea7950157112132cc69dac9d3c29eb066e
[ "BSD-3-Clause" ]
2
2020-03-08T23:53:11.000Z
2020-05-09T17:01:28.000Z
Ultrasonic_Detection/01_Comm_FMUK66-ArduinoNano I2C-PoC/FMUK66/daiDrone_EZ/dd_ultrasonic.cpp
howeverpw/hovergame_project03
09c767ea7950157112132cc69dac9d3c29eb066e
[ "BSD-3-Clause" ]
null
null
null
Ultrasonic_Detection/01_Comm_FMUK66-ArduinoNano I2C-PoC/FMUK66/daiDrone_EZ/dd_ultrasonic.cpp
howeverpw/hovergame_project03
09c767ea7950157112132cc69dac9d3c29eb066e
[ "BSD-3-Clause" ]
1
2020-05-09T16:56:59.000Z
2020-05-09T16:56:59.000Z
/** * @file dd_ultrasonic.cpp * * Example app for ultrasonic distance measurement with HRLV-MaxSonar-EZ4 & HRLV-MaxSonar-EZ0 using I2C * * @author Dan-Marius Dobrea */ #include "dd_ultrasonic.h" #include <px4_log.h> extern "C" __EXPORT int dd_ultrasonic_main (int argc, char *argv[]); /* Constructor */ dd_ult...
23.265823
130
0.654516
howeverpw
50c1753b992a9620f96a7675b48d0219472d7b25
25,143
cpp
C++
examples/textoverlay/textoverlay.cpp
nidefawl/Vulkan-Examples-Fork
2d93474957a6357ddebbe199d2bd79a215f16ee5
[ "MIT" ]
null
null
null
examples/textoverlay/textoverlay.cpp
nidefawl/Vulkan-Examples-Fork
2d93474957a6357ddebbe199d2bd79a215f16ee5
[ "MIT" ]
null
null
null
examples/textoverlay/textoverlay.cpp
nidefawl/Vulkan-Examples-Fork
2d93474957a6357ddebbe199d2bd79a215f16ee5
[ "MIT" ]
null
null
null
/* * Vulkan Example - Text overlay rendering on-top of an existing scene using a separate render pass * * Copyright (C) 2016-2021 by Sascha Willems - www.saschawillems.de * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ /* * This sample shows how to render a basic 2...
48.53861
208
0.775643
nidefawl
50c35dfcf07f03a80d4d5062c31185c3082d6ff4
2,957
hpp
C++
DaxaMinecraft/src/engine/world/block.hpp
Ipotrick/Daxa
07f3f9717f43b32cbe60761602fc16b3a2789b5a
[ "MIT" ]
3
2021-03-24T21:26:59.000Z
2021-12-28T01:54:17.000Z
DaxaMinecraft/src/engine/world/block.hpp
Ipotrick/Daxa
07f3f9717f43b32cbe60761602fc16b3a2789b5a
[ "MIT" ]
1
2021-12-10T01:08:15.000Z
2021-12-15T23:38:33.000Z
DaxaMinecraft/src/engine/world/block.hpp
Ipotrick/Daxa
07f3f9717f43b32cbe60761602fc16b3a2789b5a
[ "MIT" ]
1
2022-02-18T16:07:19.000Z
2022-02-18T16:07:19.000Z
#pragma once #include <glm/glm.hpp> enum class BlockID : uint32_t { Air, Dirt, Grass, TallGrass, Rose, Log, }; enum class BlockFace : uint32_t { Back, Front, Left, Right, Bottom, Top, }; struct Block { BlockID id; bool is_transparent() const { switch (...
24.438017
59
0.493067
Ipotrick
50cb6a76dd7d088f22ed3ca1cec863724a0e8ff1
43,854
cpp
C++
Vroom/External/MathGeoLib/tests/PositiveTests.cpp
IsaaColomer/Vroom
72ee58e20863583d966e77de15f424ecef8a5901
[ "Unlicense" ]
null
null
null
Vroom/External/MathGeoLib/tests/PositiveTests.cpp
IsaaColomer/Vroom
72ee58e20863583d966e77de15f424ecef8a5901
[ "Unlicense" ]
null
null
null
Vroom/External/MathGeoLib/tests/PositiveTests.cpp
IsaaColomer/Vroom
72ee58e20863583d966e77de15f424ecef8a5901
[ "Unlicense" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include "../src/MathGeoLib.h" #include "../src/Math/myassert.h" #include "TestRunner.h" AABB RandomAABBContainingPoint(const float3 &pt, float maxSideLength) { float w = rng.Float(1e-2f, maxSideLength); float h = rng.Float(1e-2f, maxSideLength); float d = rng.Float(1e-2f, ma...
32.508525
131
0.710243
IsaaColomer
50d647e809e75b13cbc9443fe2b78983f4c8c69b
4,259
cpp
C++
detection/src/TCoordsCalculator.cpp
JMassing/Pokerbot
40b2e4756fc8ef1be4af4d649deb6035a9774bdc
[ "MIT" ]
1
2021-12-10T06:27:47.000Z
2021-12-10T06:27:47.000Z
detection/src/TCoordsCalculator.cpp
JMassing/Pokerbot
40b2e4756fc8ef1be4af4d649deb6035a9774bdc
[ "MIT" ]
null
null
null
detection/src/TCoordsCalculator.cpp
JMassing/Pokerbot
40b2e4756fc8ef1be4af4d649deb6035a9774bdc
[ "MIT" ]
null
null
null
#include "TCoordsCalculator.hpp" namespace detect{ std::vector<cv::Point2f> TCoordsCalculator::calc_coords( const std::vector<cv::Point2f>& sorted_points, int width, int height, int offset ) { // Order of Points depend on Cards Orientation in the Image // First we to sort the points for their x-...
38.718182
126
0.636065
JMassing
50dccdddf4829cc0c7be947ec586a3676f6702a0
3,245
cpp
C++
src/library/SoftMaxLayerDefinition.cpp
charlesrwest/Caffe2ComputeModules
7d9d67159bf84b7611211945d0d7e26f5c3614ab
[ "BSD-2-Clause" ]
6
2017-08-01T07:35:07.000Z
2018-01-02T13:25:03.000Z
src/library/SoftMaxLayerDefinition.cpp
charlesrwest/Caffe2ComputeModules
7d9d67159bf84b7611211945d0d7e26f5c3614ab
[ "BSD-2-Clause" ]
2
2017-10-04T02:13:50.000Z
2017-10-04T03:11:58.000Z
src/library/SoftMaxLayerDefinition.cpp
charlesrwest/Caffe2ComputeModules
7d9d67159bf84b7611211945d0d7e26f5c3614ab
[ "BSD-2-Clause" ]
null
null
null
#include "SoftMaxLayerDefinition.hpp" #include "UtilityFunctions.hpp" using namespace GoodBot; SoftMaxLayerDefinition::SoftMaxLayerDefinition(const SoftMaxLayerDefinitionParameters& inputParameters) : inputBlobName(inputParameters.inputBlobName), layerName(inputParameters.layerName), trainingExpectedOutputBlobName(in...
26.382114
340
0.801849
charlesrwest
50e6fbcd69a00a13481967f6de13c533dbb07841
24,170
cpp
C++
lib/params/regionparams.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
lib/params/regionparams.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
lib/params/regionparams.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
//************************************************************************ // * // Copyright (C) 2004 * // University Corporation for Atmospheric Research * // All Rights Reserved * // * //**********************************************************...
30.2125
130
0.675134
yyr
50e998ad3972dc840652fc047c708767019ee94f
110,654
cpp
C++
src/HSD.cpp
ilwoolyu/HSD
f1695956bf833d5f83659db4264ef3cc6faaf950
[ "MIT" ]
4
2019-11-08T07:31:34.000Z
2020-07-05T07:53:52.000Z
src/HSD.cpp
ilwoolyu/HSD
f1695956bf833d5f83659db4264ef3cc6faaf950
[ "MIT" ]
null
null
null
src/HSD.cpp
ilwoolyu/HSD
f1695956bf833d5f83659db4264ef3cc6faaf950
[ "MIT" ]
null
null
null
/************************************************* * HSD.cpp * * Release: Sep 2016 * Update: June 2021 * * Ulsan National Institute of Science and Technology * Department of Computer Science and Engineering * * Ilwoo Lyu, ilwoolyu@unist.ac.kr *************************************************/ #include <cstring> #incl...
35.431956
478
0.611166
ilwoolyu
50eccdd8c7ddd30f070aa000a779c026b00388fe
495
cpp
C++
game/prefabs/JafarPalaceSceneSoundPrefab.cpp
Khuongnb1997/game-aladdin
74b13ffcd623de0d6f799b0669c7e8917eef3b14
[ "MIT" ]
2
2017-11-08T16:27:25.000Z
2018-08-10T09:08:35.000Z
game/prefabs/JafarPalaceSceneSoundPrefab.cpp
Khuongnb1997/game-aladdin
74b13ffcd623de0d6f799b0669c7e8917eef3b14
[ "MIT" ]
null
null
null
game/prefabs/JafarPalaceSceneSoundPrefab.cpp
Khuongnb1997/game-aladdin
74b13ffcd623de0d6f799b0669c7e8917eef3b14
[ "MIT" ]
4
2017-11-08T16:25:30.000Z
2021-05-23T06:14:59.000Z
#include "JafarPalaceSceneSoundPrefab.h" #include"../Define.h" USING_NAMESPACE_ALA; ALA_CLASS_SOURCE_1(JafarPalaceSceneSoundPrefab, ala::PrefabV2) void JafarPalaceSceneSoundPrefab::doInstantiate( ala::GameObject* object, std::istringstream& argsStream ) const { const auto sceneAudio = new AudioSource( object, "Bos...
29.117647
114
0.737374
Khuongnb1997
50f91987b0885c66b5be2eea8029d44cec2f0d55
19,344
cpp
C++
DSPlib/matrix_multiply/dsplib/L1/tests/src/widget_api_cast_ref.cpp
abehbood/Vitis_Model_Composer
7a4e91604879cf98b93685537486d3387db4b616
[ "Apache-2.0" ]
9
2020-10-18T17:47:29.000Z
2021-04-23T02:31:45.000Z
DSPlib/matrix_multiply/dsplib/L1/tests/src/widget_api_cast_ref.cpp
abehbood/Vitis_Model_Composer
7a4e91604879cf98b93685537486d3387db4b616
[ "Apache-2.0" ]
2
2021-01-17T16:17:08.000Z
2021-01-19T18:17:35.000Z
DSPlib/matrix_multiply/dsplib/L1/tests/src/widget_api_cast_ref.cpp
abehbood/Vitis_Model_Composer
7a4e91604879cf98b93685537486d3387db4b616
[ "Apache-2.0" ]
11
2020-11-12T20:46:31.000Z
2021-05-11T18:44:30.000Z
/* Widget API Cast reference model */ #include "widget_api_cast_ref.hpp" #include "fir_ref_utils.hpp" namespace xf { namespace dsp { namespace aie { namespace widget { namespace api_cast { // Widget API Cast - default/base 'specialization' template <typename TT_DATA, unsigned int TP_IN_API, unsi...
41.960954
124
0.671526
abehbood
50fdcc1c34e97f9d8492fbefd90fbef5c3c6d892
644
cpp
C++
src/component/scroll/vertical-scroll/vertical_scroll.cpp
i582/component-sdl2
0c8769f4e14505f4d54a3d7fbe5cd475c3c28c5d
[ "MIT" ]
24
2019-12-14T09:38:44.000Z
2022-03-13T18:22:45.000Z
src/component/scroll/vertical-scroll/vertical_scroll.cpp
i582/component-sdl2
0c8769f4e14505f4d54a3d7fbe5cd475c3c28c5d
[ "MIT" ]
null
null
null
src/component/scroll/vertical-scroll/vertical_scroll.cpp
i582/component-sdl2
0c8769f4e14505f4d54a3d7fbe5cd475c3c28c5d
[ "MIT" ]
3
2020-05-13T13:49:26.000Z
2021-08-19T07:02:01.000Z
#include "vertical_scroll.h" Kit::vertical_scroll::vertical_scroll(Kit::Component* parent_) : scroll(parent_) {} void Kit::vertical_scroll::shift(int delta_) { scroll::shift(delta_); const int new_y_sliderPos = (int)((_body.h - _slider.h) * _nowPosition); _slider.y = new_y_sliderPos; } void Kit::ver...
30.666667
109
0.690994
i582
50feb33f69b8332c0f3b8c0bcdff4aa8e97c2fb6
13,047
cpp
C++
2002/samples/mfcsamps/arxdd/dropTarget.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
1
2021-06-25T02:58:47.000Z
2021-06-25T02:58:47.000Z
2004/samples/editor/mfcsamps/arxdd/dropTarget.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
null
null
null
2004/samples/editor/mfcsamps/arxdd/dropTarget.cpp
kevinzhwl/ObjectARXMod
ef4c87db803a451c16213a7197470a3e9b40b1c6
[ "MIT" ]
3
2020-05-23T02:47:44.000Z
2020-10-27T01:26:53.000Z
// (C) Copyright 1996,1998 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warr...
28.737885
129
0.611252
kevinzhwl
dd008eac909f7ea0cf54287fa246693cc48b22cc
26,023
inl
C++
src/fonts/stb_font_times_26_usascii.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
3
2018-03-13T12:51:57.000Z
2021-10-11T11:32:17.000Z
src/fonts/stb_font_times_26_usascii.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
null
null
null
src/fonts/stb_font_times_26_usascii.inl
stetre/moonfonts
5c8010c02ea62edcf42902e09478b0cd14af56ea
[ "MIT" ]
null
null
null
// Font generated by stb_font_inl_generator.c (4/1 bpp) // // Following instructions show how to use the only included font, whatever it is, in // a generic way so you can replace it with any other font by changing the include. // To use multiple fonts, replace STB_SOMEFONT_* below with STB_FONT_times_26_usascii_*,...
61.665877
117
0.765016
stetre
dd05ed481da2965ea286d04573b84043105d3b16
976
cpp
C++
Source/OpenTournament/UR_LocalMessage.cpp
HAARP-art/OpenTournament
1bb188983ba4d013a8ce00bbe1a333f2952814e8
[ "OML" ]
97
2020-05-24T23:09:26.000Z
2022-01-22T13:35:58.000Z
Source/OpenTournament/UR_LocalMessage.cpp
HAARP-art/OpenTournament
1bb188983ba4d013a8ce00bbe1a333f2952814e8
[ "OML" ]
165
2020-05-26T02:42:54.000Z
2022-03-29T11:01:11.000Z
Source/OpenTournament/UR_LocalMessage.cpp
HAARP-art/OpenTournament
1bb188983ba4d013a8ce00bbe1a333f2952814e8
[ "OML" ]
78
2020-05-24T23:10:29.000Z
2022-03-14T13:54:09.000Z
// Copyright (c) 2019-2020 Open Tournament Project, All Rights Reserved. ///////////////////////////////////////////////////////////////////////////////////////////////// #include "UR_LocalMessage.h" #include "Kismet/KismetSystemLibrary.h" #include "GameFramework/PlayerController.h" #include "GameFramework/P...
42.434783
188
0.567623
HAARP-art
dd0777b83bd9ea91bfb3f12276fd08a70ce99e9d
3,665
cpp
C++
253-meeting-rooms-ii/solution.cpp
darxsys/leetcode
1174f0dbad56c6bfd8196bc4c14798b5f8cee418
[ "MIT" ]
null
null
null
253-meeting-rooms-ii/solution.cpp
darxsys/leetcode
1174f0dbad56c6bfd8196bc4c14798b5f8cee418
[ "MIT" ]
null
null
null
253-meeting-rooms-ii/solution.cpp
darxsys/leetcode
1174f0dbad56c6bfd8196bc4c14798b5f8cee418
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <cstdlib> #include <cassert> #include <vector> #include <map> #include <stack> #include <queue> #include <deque> #include <set> #include <map> #include <unordered_map> #include <algorithm> using namespace std; struct Interval { int start; int end; Interval() :...
63.189655
2,376
0.68895
darxsys
dd07ed0c770d51a2bb386a9891234c0ed3384035
1,196
hh
C++
include/AbsorptionDetectorMessenger.hh
OliWenman/geant4tomosim
663961933628eba678534bbe9bf099c6bcf5514b
[ "Apache-2.0" ]
4
2019-05-14T15:24:05.000Z
2022-01-28T19:29:23.000Z
include/AbsorptionDetectorMessenger.hh
OliWenman/geant4tomosim
663961933628eba678534bbe9bf099c6bcf5514b
[ "Apache-2.0" ]
1
2019-05-13T09:47:12.000Z
2019-05-13T09:47:12.000Z
include/AbsorptionDetectorMessenger.hh
OliWenman/geant4tomosim
663961933628eba678534bbe9bf099c6bcf5514b
[ "Apache-2.0" ]
3
2019-05-13T08:59:55.000Z
2021-09-15T18:16:18.000Z
/* A messenger class for AbsorptionDetector, interfaces commands to control variables with in that class via macrofiles. Author: Oliver Jack Wenman */ #ifndef AbsorptionDetectorMessenger_h #define AbsorptionDetectorMessenger_h 1 #include "G4UImessenger.hh" #include "globals.hh" class AbsorptionDetector;; class G4U...
23
82
0.809365
OliWenman
dd0d37863942f8c8e868ca524cba6c7dba0ee379
1,809
cpp
C++
abcd/crypto/OtpKey.cpp
Airbitz/airbitz-core-private
dc6742a5622f6d8bae750e60fcee3bb473bc67ce
[ "BSD-2-Clause-FreeBSD" ]
1
2021-05-28T02:52:00.000Z
2021-05-28T02:52:00.000Z
abcd/crypto/OtpKey.cpp
Airbitz/airbitz-core-private
dc6742a5622f6d8bae750e60fcee3bb473bc67ce
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
abcd/crypto/OtpKey.cpp
Airbitz/airbitz-core-private
dc6742a5622f6d8bae750e60fcee3bb473bc67ce
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
/* * Copyright (c) 2015, Airbitz, Inc. * All rights reserved. * * See the LICENSE file for more information. */ #include "OtpKey.hpp" #include "Encoding.hpp" #include "Random.hpp" #include <openssl/hmac.h> #include <time.h> #include <sstream> namespace abcd { Status OtpKey::create(size_t keySize) { ABC_CHEC...
22.333333
68
0.60199
Airbitz
dd141253497f9fb3372a6830b4b745dcb130d674
6,015
cpp
C++
examples/img_segmentation.cpp
pAIgn10/RandomBallCover
d39241d17e3767c802310b28dc1327083a297406
[ "MIT" ]
3
2015-05-24T20:20:49.000Z
2016-06-18T23:46:21.000Z
examples/img_segmentation.cpp
nlamprian/RandomBallCover
d39241d17e3767c802310b28dc1327083a297406
[ "MIT" ]
1
2015-12-05T23:36:07.000Z
2015-12-05T23:36:07.000Z
examples/img_segmentation.cpp
pAIgn10/RandomBallCover
d39241d17e3767c802310b28dc1327083a297406
[ "MIT" ]
2
2016-06-18T23:46:22.000Z
2017-04-06T14:48:54.000Z
/*! \file img_segmentation.cpp * \brief An application examining the potential of the `Random Ball Cover` * data structure for image segmentation. * \details This application was developed for testing the eligibility of `RBC` for * image segmentation. Try changing the `step` variable for confi...
40.918367
108
0.602161
pAIgn10
dd14201cfde336449adfb9db4e07dca20c7b4531
3,175
cpp
C++
snowman.cpp
LiorAtiya/Snowman
056ce8b8d1d2de1eca9d98d91d406b2e78361481
[ "MIT" ]
null
null
null
snowman.cpp
LiorAtiya/Snowman
056ce8b8d1d2de1eca9d98d91d406b2e78361481
[ "MIT" ]
null
null
null
snowman.cpp
LiorAtiya/Snowman
056ce8b8d1d2de1eca9d98d91d406b2e78361481
[ "MIT" ]
null
null
null
#include <cstring> #include <iostream> #include "snowman.hpp" #include <array> using namespace std; namespace ariel { string snowman(int input) { const std::array<string,4> hat {"_===_"," ___\n....."," _\n /_\\"," ___\n(_*_)"}; const std::array<string,4> nose {",",".","_"," "}; const s...
29.398148
102
0.417953
LiorAtiya
dd1427c4a8444a2f116678b4105a434cb90d02eb
877
cpp
C++
N1281-Subtract-the-Product-and-Sum-of-Digits-of-an-Integer/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N1281-Subtract-the-Product-and-Sum-of-Digits-of-an-Integer/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N1281-Subtract-the-Product-and-Sum-of-Digits-of-an-Integer/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
2
2022-01-25T05:31:31.000Z
2022-02-26T07:22:23.000Z
// // main.cpp // LeetCode-Solution // // Created by Loyio Hex on 3/9/22. // #include <iostream> #include <chrono> using namespace std; using namespace std::chrono; class Solution { public: int subtractProductAndSum(int n) { int product = 1; int sum = 0; while(n){ int remai...
19.488889
74
0.566705
loyio
dd14707f9eebd95f8ce941c3ae789d0746affff2
44,774
cpp
C++
source/wrapper/core/ze_module.cpp
fogflower/level-zero
7b2002369e0671687f3986fd5085e205bb41be26
[ "MIT" ]
1
2020-04-30T03:55:17.000Z
2020-04-30T03:55:17.000Z
source/wrapper/core/ze_module.cpp
fogflower/level-zero
7b2002369e0671687f3986fd5085e205bb41be26
[ "MIT" ]
null
null
null
source/wrapper/core/ze_module.cpp
fogflower/level-zero
7b2002369e0671687f3986fd5085e205bb41be26
[ "MIT" ]
null
null
null
/* * * Copyright (C) 2019 Intel Corporation * * SPDX-License-Identifier: MIT * * @file ze_module.cpp * * @brief C++ wrapper of Intel 'One API' Level-Zero APIs for Module * */ #include "ze_api.hpp" #include "ze_singleton.h" #define _STRING(s) #s #define STRING(s) _STRING(s) namespace ze { ///////////////...
41.039413
139
0.526913
fogflower
dd162a7456f7f49fe0e57297df85403605d50e5e
2,379
cpp
C++
src/globalsearch/optimizerdialog.cpp
lilithean/XtalOpt
9ebc125e6014b27e72a04fb62c8820c7b9670c61
[ "BSD-3-Clause" ]
23
2017-09-01T04:35:02.000Z
2022-01-16T13:51:17.000Z
src/globalsearch/optimizerdialog.cpp
lilithean/XtalOpt
9ebc125e6014b27e72a04fb62c8820c7b9670c61
[ "BSD-3-Clause" ]
20
2017-08-29T15:29:46.000Z
2022-01-20T09:10:59.000Z
src/globalsearch/optimizerdialog.cpp
lilithean/XtalOpt
9ebc125e6014b27e72a04fb62c8820c7b9670c61
[ "BSD-3-Clause" ]
21
2017-06-15T03:11:34.000Z
2022-02-28T05:20:44.000Z
/********************************************************************** OptimizerDialog - Generic optimizer configuration dialog Copyright (C) 2011 by David C. Lonie This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, software ...
29.7375
76
0.67129
lilithean
dd1ba55e54dee7961bf146a083e622e813e1b5de
11,653
cpp
C++
libraries/baking/src/MaterialBaker.cpp
chamberlain-gcc/hifi
6ccf16dfe5752c57e21a1f2db4fe39390adee348
[ "Apache-2.0" ]
null
null
null
libraries/baking/src/MaterialBaker.cpp
chamberlain-gcc/hifi
6ccf16dfe5752c57e21a1f2db4fe39390adee348
[ "Apache-2.0" ]
null
null
null
libraries/baking/src/MaterialBaker.cpp
chamberlain-gcc/hifi
6ccf16dfe5752c57e21a1f2db4fe39390adee348
[ "Apache-2.0" ]
null
null
null
// // MaterialBaker.cpp // libraries/baking/src // // Created by Sam Gondelman on 2/26/2019 // Copyright 2019 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "MaterialBaker.h" #includ...
46.987903
156
0.639749
chamberlain-gcc
dd22cdacb893b26789ea188d6336fdb90faf40c3
1,356
hpp
C++
YTVideoLister/include/MainProgramController.hpp
Surgeon-/YTVideoListerSolution
feb6ddd1658b31581bb5122a0c63f454a4220193
[ "MIT" ]
null
null
null
YTVideoLister/include/MainProgramController.hpp
Surgeon-/YTVideoListerSolution
feb6ddd1658b31581bb5122a0c63f454a4220193
[ "MIT" ]
null
null
null
YTVideoLister/include/MainProgramController.hpp
Surgeon-/YTVideoListerSolution
feb6ddd1658b31581bb5122a0c63f454a4220193
[ "MIT" ]
null
null
null
#pragma once #include <deque> #include <fstream> #include <string> #include "HttpsRequestSender.hpp" #include "ProgramConfig.hpp" namespace jcul { class MainProgramController { public: MainProgramController(const ProgramConfig & config, const std::string & apiKey, const std::string & pathToOut...
23.789474
126
0.583333
Surgeon-
dd240196dd4d96349c16f8e3cfda7b4873bfd063
2,568
cpp
C++
Algorithms/Sorting/Bigger_is_Greater.cpp
whitehatty/HackerRank
6b0f5716ccd69cdf5857ba2d00740eef2b6520af
[ "MIT" ]
null
null
null
Algorithms/Sorting/Bigger_is_Greater.cpp
whitehatty/HackerRank
6b0f5716ccd69cdf5857ba2d00740eef2b6520af
[ "MIT" ]
null
null
null
Algorithms/Sorting/Bigger_is_Greater.cpp
whitehatty/HackerRank
6b0f5716ccd69cdf5857ba2d00740eef2b6520af
[ "MIT" ]
null
null
null
/** Given a word w, rearrange the letters of w to construct another word s in such a way that s is lexicographically greater than w. In case of multiple possible answers, find the lexicographically smallest one among them. Input Format The first line of input contains tt, the number of test cases. Each of the next t...
23.777778
129
0.567757
whitehatty
dd252393b1648769e75bdfb2a87f735545dcc612
95
cpp
C++
source/dummy-header-includes/kickstart/root/core/stdlib-extensions/files/wrapped-clib-io.include.cpp
progrock-libraries/kickstart
d62c22efc92006dd76d455cf8f9d4f2a045e9126
[ "MIT" ]
2
2021-09-21T18:34:27.000Z
2022-02-13T02:50:57.000Z
source/dummy-header-includes/kickstart/root/core/stdlib-extensions/files/wrapped-clib-io.include.cpp
progrock-libraries/kickstart
d62c22efc92006dd76d455cf8f9d4f2a045e9126
[ "MIT" ]
null
null
null
source/dummy-header-includes/kickstart/root/core/stdlib-extensions/files/wrapped-clib-io.include.cpp
progrock-libraries/kickstart
d62c22efc92006dd76d455cf8f9d4f2a045e9126
[ "MIT" ]
null
null
null
#include <kickstart/main_library/core/stdlib-extensions/files/ns▸c_files/wrapped-clib-io.hpp>
47.5
94
0.821053
progrock-libraries
dd277378d15a69aca7f8d6ef6f7887192228c191
1,078
cpp
C++
unique-word-abbreviation/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
unique-word-abbreviation/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
unique-word-abbreviation/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
class ValidWordAbbr { protected: unordered_map<string, int> m_map; unordered_set<string> m_set; string calculateAbbreviation(const string& word) { if (word.length() <= 2) { return word; } else { ostringstream oss; oss << word[0] << word.length() - 2 << wor...
29.944444
75
0.559369
tsenmu
dd27b51a9fd9f03d9f817a39661db16f57631018
2,489
cpp
C++
source/tests/suite-casemapping-initialize.cpp
tkelman/utf8rewind
b0871d6243e716ee072b130f83b50d25c63edffd
[ "MIT" ]
null
null
null
source/tests/suite-casemapping-initialize.cpp
tkelman/utf8rewind
b0871d6243e716ee072b130f83b50d25c63edffd
[ "MIT" ]
null
null
null
source/tests/suite-casemapping-initialize.cpp
tkelman/utf8rewind
b0871d6243e716ee072b130f83b50d25c63edffd
[ "MIT" ]
null
null
null
#include "tests-base.hpp" extern "C" { #include "../internal/casemapping.h" #include "../internal/database.h" } #include "../helpers/helpers-casemapping.hpp" #include "../helpers/helpers-locale.hpp" #include "../helpers/helpers-strings.hpp" TEST(CaseMappingInitialize, Initialize) { CaseMappingState s...
29.630952
118
0.72961
tkelman
dd294384fdcb0f78ca9b9781a1d98635100e1d37
607
cpp
C++
src/ast/EntityImport.cpp
denisw/soyac
2531e16e8dfbfa966931b774f9d79af528d16ff9
[ "MIT" ]
1
2019-06-17T07:16:01.000Z
2019-06-17T07:16:01.000Z
src/ast/EntityImport.cpp
denisw/soyac
2531e16e8dfbfa966931b774f9d79af528d16ff9
[ "MIT" ]
null
null
null
src/ast/EntityImport.cpp
denisw/soyac
2531e16e8dfbfa966931b774f9d79af528d16ff9
[ "MIT" ]
null
null
null
/* * soyac - Soya Programming Language compiler * Copyright (c) 2009 Denis Washington <dwashington@gmx.net> * * This file is distributed under the terms of the MIT license. * See LICENSE.txt for details. */ #include <cassert> #include "EntityImport.hpp" #include "Visitor.hpp" namespace soyac { namespace ast { ...
15.175
63
0.710049
denisw
dd2b651df52e2771ffc181e719e8da159cff0c1a
929
hpp
C++
libs/core/include/fcppt/intrusive/detail/iterator_base.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/intrusive/detail/iterator_base.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/intrusive/detail/iterator_base.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_INTRUSIVE_DETAIL_ITERATOR_BASE_HPP_INCLUDED #define FCPPT_INTRUSIVE_DETAIL_ITERATOR_...
17.865385
61
0.742734
pmiddend
dd313eb520fef08ef2d60842bcd2fdf491ac6ecf
2,512
cpp
C++
src/framework/ShapeGen.cpp
native-m/vulkan-learn
baa6d499f971046391e19f95a91a0891f435d119
[ "MIT" ]
1
2021-04-18T16:28:22.000Z
2021-04-18T16:28:22.000Z
src/framework/ShapeGen.cpp
native-m/vulkan-learn
baa6d499f971046391e19f95a91a0891f435d119
[ "MIT" ]
null
null
null
src/framework/ShapeGen.cpp
native-m/vulkan-learn
baa6d499f971046391e19f95a91a0891f435d119
[ "MIT" ]
null
null
null
#include <framework/ShapeGen.h> namespace frm { size_t ShapeGen::makeTriangle(float scale, VertexPos*& verts) { verts = new VertexPos[3]; verts[0].pos = glm::vec3(scale, scale, 1.0f); verts[1].pos = glm::vec3(-scale, scale, 1.0f); verts[2].pos = glm::vec3(0.0f, -scale, 1.0f); ...
27.304348
110
0.517516
native-m
dd33b3d81b5dda119f57ad8ea978cc0df7a518a4
1,733
cpp
C++
Quickie/src/Run.cpp
CIA-hideout/Dont-Panic
0fd9b91e82c64e61a46b809b951dca315837e90f
[ "MIT" ]
2
2017-01-11T03:36:24.000Z
2017-01-11T03:37:34.000Z
Quickie/src/Run.cpp
CIA-hideout/Dont-Panic
0fd9b91e82c64e61a46b809b951dca315837e90f
[ "MIT" ]
1
2017-02-07T16:39:33.000Z
2017-02-07T16:39:33.000Z
Quickie/src/Run.cpp
CIA-hideout/Quickie
0fd9b91e82c64e61a46b809b951dca315837e90f
[ "MIT" ]
null
null
null
#include "Run.h" Run::Run() { } Run::~Run() { } void Run::initialize(NodeManager* nM) { Behaviour::initialize(nM); currentBehaviour = behaviourNS::RUN; nextBehaviour = behaviourNS::RUN; nodeManager->setTarget(nodeNS::OBJECT_TYPE_NODE); printf("RUN\n"); } void Run::act(std::vector<VertexShape*>& vS, AI* compu...
23.739726
156
0.672822
CIA-hideout
dd352c36d37141e837ea891da3beca1566164ef0
721
hpp
C++
Common/Common/Misc/TerminalColors.hpp
muellerlab/agri-fly
6851f2f207e73300b4ed9be7ec1c72c2f23eeef5
[ "BSD-2-Clause" ]
1
2022-03-09T21:31:49.000Z
2022-03-09T21:31:49.000Z
Common/Common/Misc/TerminalColors.hpp
muellerlab/agri-fly
6851f2f207e73300b4ed9be7ec1c72c2f23eeef5
[ "BSD-2-Clause" ]
4
2022-02-11T18:24:49.000Z
2022-03-28T01:16:51.000Z
Common/Common/Misc/TerminalColors.hpp
muellerlab/agri-fly
6851f2f207e73300b4ed9be7ec1c72c2f23eeef5
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include <stdio.h> namespace TerminalColors { enum Color { RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE, RESET, }; inline void SetTerminalColor(Color c) { switch (c) { case RED: printf("\x1B[31m"); return; case GREEN: printf("\x1B[32m"); return; c...
14.137255
39
0.546463
muellerlab
dd395fb5c003df37b2e6fd9a643814597c3b8676
4,470
cpp
C++
cute/test/cute_case.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
cute/test/cute_case.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
cute/test/cute_case.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
/********************************************************************************* * This file is part of CUTE. * * CUTE 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 Lice...
33.358209
119
0.723266
zer0infinity
dd3c63635562481b74d5f103834413301c9815e4
2,977
cpp
C++
src/interpreter.cpp
mkornaukhov03/bf_interpreter
a058c641c01cef68afff95b570892f75a6170c47
[ "MIT" ]
null
null
null
src/interpreter.cpp
mkornaukhov03/bf_interpreter
a058c641c01cef68afff95b570892f75a6170c47
[ "MIT" ]
null
null
null
src/interpreter.cpp
mkornaukhov03/bf_interpreter
a058c641c01cef68afff95b570892f75a6170c47
[ "MIT" ]
null
null
null
#include "interpreter.h" #include <algorithm> #include <array> #include <cassert> #include <cctype> #include <iostream> // tmp namespace bf_interpreter { Interpreter::Interpreter(std::istream &stdin, std::ostream &stdout, std::ostream &stderr) : stdin_(stdin), stdout_(stdout), stderr_(stderr) { } void Interpreter...
24.203252
89
0.425596
mkornaukhov03
dd3c6fb66e82ecc6ea0221a4eeadd607876da3ca
3,669
hpp
C++
apps/RenderingManagerTest/PlayerController.hpp
wemadedis/wme
f84ecb6106614eefaa3bf233ca7927ad7708f143
[ "MIT" ]
1
2019-07-03T12:27:16.000Z
2019-07-03T12:27:16.000Z
apps/RenderingManagerTest/PlayerController.hpp
wemadedis/wme
f84ecb6106614eefaa3bf233ca7927ad7708f143
[ "MIT" ]
9
2019-07-03T12:31:39.000Z
2019-07-05T14:30:59.000Z
apps/RenderingManagerTest/PlayerController.hpp
wemadedis/wme
f84ecb6106614eefaa3bf233ca7927ad7708f143
[ "MIT" ]
null
null
null
#pragma once #include <rte/RTE.hpp> #include "rte/WindowManager.h" #include "rte/Utility.hpp" #include "imgui/imgui.h" #include "rte/RenderingManager.h" #include <string> class PlayerController : public RTE::Runtime::Component { private: RTE::StdComponents::TransformComponent *_transform; RTE::StdComponents:...
36.69
132
0.557373
wemadedis
dd4523c05f8c108e3508e3e02e9a58b4e0904194
359
hpp
C++
library/ATF/$ED0D0DF0A3DDA5624107AE1B9D51B7C0.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/$ED0D0DF0A3DDA5624107AE1B9D51B7C0.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/$ED0D0DF0A3DDA5624107AE1B9D51B7C0.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 <_FILETIME.hpp> #include <_SYSTEMTIME.hpp> START_ATF_NAMESPACE union $ED0D0DF0A3DDA5624107AE1B9D51B7C0 { _SYSTEMTIME SystemTime; _FILET...
22.4375
108
0.740947
lemkova
dd4b19bf0c640380e95ea29799c3f4e867966e39
1,160
cpp
C++
Codeforces/ModuloSum.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
1
2019-09-29T03:58:35.000Z
2019-09-29T03:58:35.000Z
Codeforces/ModuloSum.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
Codeforces/ModuloSum.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> #define EL cerr << endl; #define DB(x) cerr << "#" << (#x) << ": " << (x) << " "; #define DEB(x) cerr << "#" << (#x) << ": " << (x) << endl; #define PR(x) cout << (x) << endl #define X first #define Y second #define PB push_back #define MP make_pair using namespace std; typedef unsigned long ...
25.777778
62
0.571552
MartinAparicioPons
dd4c638a174ce019e1d38562f10bbe21a0ab0de0
955
cpp
C++
cpp/01_arrays_and_strings/05_one_away/ans2.cpp
zulinx86/cracking-the-coding-interview
fdb1e9f2cb1b06be2012c29d781190907bad9fd6
[ "MIT" ]
null
null
null
cpp/01_arrays_and_strings/05_one_away/ans2.cpp
zulinx86/cracking-the-coding-interview
fdb1e9f2cb1b06be2012c29d781190907bad9fd6
[ "MIT" ]
null
null
null
cpp/01_arrays_and_strings/05_one_away/ans2.cpp
zulinx86/cracking-the-coding-interview
fdb1e9f2cb1b06be2012c29d781190907bad9fd6
[ "MIT" ]
null
null
null
/* * N: the length of the longer string in the given strings * Time complexity: O(N) * Space complexity: O(1) */ #include <iostream> #include <string> #include <vector> using namespace std; bool oneAway(const string &s1, const string &s2) { const string *t1, *t2; if (s1.length() > s2.length()) t1 = &s1, t2 =...
16.754386
84
0.541361
zulinx86
dd4caa667f7d6330bb5f5f2cb1c1a563a1a1ffe4
1,450
cpp
C++
src/wave_files.cpp
skyeyester/wav2mp3
4271fe05b251ac665ad4d19e1e76540df975459c
[ "Apache-2.0" ]
null
null
null
src/wave_files.cpp
skyeyester/wav2mp3
4271fe05b251ac665ad4d19e1e76540df975459c
[ "Apache-2.0" ]
null
null
null
src/wave_files.cpp
skyeyester/wav2mp3
4271fe05b251ac665ad4d19e1e76540df975459c
[ "Apache-2.0" ]
null
null
null
#include "wave_files.h" #include "wave_format_exception.h" #include "wave_header.h" #include <algorithm> #include <cctype> #include <experimental/filesystem> #include <fstream> #include <iostream> //uncomment if want to print log //#define DEBUG using namespace std; using experimental::filesystem::directory_iterator...
21.014493
81
0.711724
skyeyester
dd4d8c46159f99c0114fe69c908c378119a4c3be
968
cc
C++
leet_code/Reordered_Power_of_2/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
1
2020-04-11T22:04:23.000Z
2020-04-11T22:04:23.000Z
leet_code/Reordered_Power_of_2/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
leet_code/Reordered_Power_of_2/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
static set<int> g_answer; void fillSet(vector<int>& vec, vector<bool>& visited, int num, int count) { if (count == vec.size()) { g_answer.insert(num); return; } for (int i = 0; i < vec.size(); ++i) { if (visited[i]) { continue; } if (count == 0 && vec[i...
21.043478
75
0.461777
ldy121
dd55fd7ad95fd8af22696ffcd1cb1760eca83b75
2,943
hpp
C++
include/quickcpplib/algorithm/memory.hpp
BurningEnlightenment/quickcpplib
9a3892eb10fdbe19fb335b508e0f6db0b88254d0
[ "Apache-2.0" ]
72
2017-06-27T07:14:18.000Z
2022-03-29T08:03:18.000Z
include/quickcpplib/algorithm/memory.hpp
BurningEnlightenment/quickcpplib
9a3892eb10fdbe19fb335b508e0f6db0b88254d0
[ "Apache-2.0" ]
25
2017-08-17T13:42:10.000Z
2022-02-07T14:03:23.000Z
include/quickcpplib/algorithm/memory.hpp
BurningEnlightenment/quickcpplib
9a3892eb10fdbe19fb335b508e0f6db0b88254d0
[ "Apache-2.0" ]
16
2017-10-08T15:31:16.000Z
2022-03-29T08:03:21.000Z
/* Memory algorithms (C) 2018-2020 Niall Douglas <http://www.nedproductions.biz/> (7 commits) File Created: Jun 2018 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 in the accompanying file Licence.tx...
25.815789
117
0.647638
BurningEnlightenment
dd5e2f2f16ba24fd9b80593f494484407e96556b
6,019
cpp
C++
examples/HardShadows/main.cpp
Zynapse500/Xerus
08c0ac51c19a06348fe753b77509ba1dffa47602
[ "MIT" ]
null
null
null
examples/HardShadows/main.cpp
Zynapse500/Xerus
08c0ac51c19a06348fe753b77509ba1dffa47602
[ "MIT" ]
null
null
null
examples/HardShadows/main.cpp
Zynapse500/Xerus
08c0ac51c19a06348fe753b77509ba1dffa47602
[ "MIT" ]
null
null
null
#include <Xerus.h> void onKeyPressed(int key); void onMousePressed(int button, int x, int y); void onMouseReleased(int button, int x, int y); void onMouseMoved(int x, int y); xr::Window* window = nullptr; xr::WindowPreferences createPreferences() { xr::WindowPreferences prefs; prefs.contextVersionMajor = 3; pr...
21.729242
111
0.67802
Zynapse500
e577455bd9165d83975528e6a27d4f735d963835
3,975
cpp
C++
include/app/Window.cpp
hvidal/GameEngine3D
1794ad891d2200260be935283645a03af3ebcfcc
[ "MIT" ]
6
2020-07-03T21:14:56.000Z
2021-11-11T09:37:40.000Z
include/app/Window.cpp
hvidal/GameEngine3D
1794ad891d2200260be935283645a03af3ebcfcc
[ "MIT" ]
null
null
null
include/app/Window.cpp
hvidal/GameEngine3D
1794ad891d2200260be935283645a03af3ebcfcc
[ "MIT" ]
2
2020-08-15T22:37:21.000Z
2021-01-17T11:31:27.000Z
#include <OpenGL/gl3.h> #include <future> #include <SDL2/SDL_video.h> #include "Window.h" Window::Window(const char* title, unsigned int width, unsigned int height, Uint32 flags): mWindow(nullptr), mContext(nullptr), mWidth(width), mHeight(height) { //initialize all SDL subsystems if (SDL_Init(SDL_INIT_EVERYTHI...
26.858108
107
0.691824
hvidal
e5783c7771ac65b51360efb0cc4cddb6845048b3
12,813
cpp
C++
console_client/console_client.cpp
arh-eu/gds-cpp-messages
4552396d33c348896e5b0ce9dd167ca837def41d
[ "Apache-2.0" ]
null
null
null
console_client/console_client.cpp
arh-eu/gds-cpp-messages
4552396d33c348896e5b0ce9dd167ca837def41d
[ "Apache-2.0" ]
null
null
null
console_client/console_client.cpp
arh-eu/gds-cpp-messages
4552396d33c348896e5b0ce9dd167ca837def41d
[ "Apache-2.0" ]
null
null
null
#include "console_client.hpp" #include <chrono> #include <cstdio> #include <filesystem> #include <fstream> #include <iostream> #include <iterator> #include <sstream> #include <utility> #include <vector> #include "gds_uuid.hpp" using namespace gds_lib; using namespace gds_lib::gds_types; GDSConsoleClient::GDSConsole...
32.274559
139
0.635526
arh-eu
e578f2afc5bcf840525abb1786c169b7884ecf4d
2,538
cpp
C++
src/gui/viewport-gui.cpp
guillaume-haerinck/voxel-editor
78c2db3e7f33a1944ef6202c8ae33f4008695153
[ "MIT" ]
7
2019-12-30T21:01:06.000Z
2022-02-24T07:41:52.000Z
src/gui/viewport-gui.cpp
guillaume-haerinck/voxel-editor
78c2db3e7f33a1944ef6202c8ae33f4008695153
[ "MIT" ]
null
null
null
src/gui/viewport-gui.cpp
guillaume-haerinck/voxel-editor
78c2db3e7f33a1944ef6202c8ae33f4008695153
[ "MIT" ]
1
2020-04-26T22:02:29.000Z
2020-04-26T22:02:29.000Z
#include "viewport-gui.h" #include <met/met.hpp> #include <glm/glm.hpp> #include <imgui.h> #include <spdlog/spdlog.h> #include "components/graphics/material.h" #include "components/physics/transform.h" // Temp #ifdef __EMSCRIPTEN__ #include <GLES3/gl3.h> #else #include <glad/gles2.h> #endif ViewportGui::ViewportG...
30.214286
147
0.64539
guillaume-haerinck
e57bed8e2addfc06b57ee7014babb6d8eb4d5541
473
cpp
C++
test/CoroutineCondition_test.cpp
gatsbyd/HPNL
8e95eef4cb076292b9cf4d88bbb59b37d7beb4eb
[ "MIT" ]
38
2019-12-07T04:51:36.000Z
2022-03-04T03:17:46.000Z
test/CoroutineCondition_test.cpp
gatsbyd/HPNL
8e95eef4cb076292b9cf4d88bbb59b37d7beb4eb
[ "MIT" ]
1
2020-07-02T03:55:53.000Z
2020-07-02T03:55:53.000Z
test/CoroutineCondition_test.cpp
gatsbyd/HPNL
8e95eef4cb076292b9cf4d88bbb59b37d7beb4eb
[ "MIT" ]
10
2019-12-21T08:44:36.000Z
2022-02-14T14:09:14.000Z
#include "Scheduler.h" #include <unistd.h> using namespace melon; using namespace std; CoroutineCondition cond; void bar() { cout << "bar(): start bar" << endl; cond.wait(); cout << "bar(): pass wait" << endl; } void foo() { cout << "foo(): start sleep" << endl; sleep(3); cout << "foo(): notify" << endl; co...
14.333333
38
0.632135
gatsbyd
e57ca4f5d0b0d4e0ce83e8b373ff6acba35fae96
3,439
cpp
C++
Code/src/OE/Application/InputManager.cpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
21
2018-06-26T16:37:36.000Z
2022-01-11T01:19:42.000Z
Code/src/OE/Application/InputManager.cpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
null
null
null
Code/src/OE/Application/InputManager.cpp
mlomb/OrbitEngine
41f053626f05782e81c2e48f5c87b04972f9be2c
[ "Apache-2.0" ]
3
2019-10-01T14:10:50.000Z
2021-11-19T20:30:18.000Z
#include "OE/Application/WindowImpl.hpp" #include "OE/Application/InputManager.hpp" namespace OrbitEngine { namespace Application { InputManager::InputManager() : m_WheelDelta(0.0f) { for (int i = 0; i < OE_MAX_KEYS; i++) { m_Keys[i] = false; m_KeysPressed[i] = false; } for (int i = 0; i < OE_MAX_CBU...
22.187097
103
0.685374
mlomb
e57d4f65c17ee561cd99f3f00d407284206be270
329
cpp
C++
Source/pdfium/pdfium.cpp
Banbury/ue4-pdfium
f193a76a98b3d66d9c0b6544c50b556fa592b268
[ "MIT" ]
null
null
null
Source/pdfium/pdfium.cpp
Banbury/ue4-pdfium
f193a76a98b3d66d9c0b6544c50b556fa592b268
[ "MIT" ]
null
null
null
Source/pdfium/pdfium.cpp
Banbury/ue4-pdfium
f193a76a98b3d66d9c0b6544c50b556fa592b268
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "pdfium.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE(FPdfiumModule, pdfium, "pdfium" ); void FPdfiumModule::StartupModule() { FPDF_InitLibrary(); } void FPdfiumModule::ShutdownModule() { FPDF_DestroyLibr...
19.352941
78
0.775076
Banbury
e57e5262a69bbc9b88e0c6a0c3e34b33bf5d8d9e
24
cpp
C++
elenasrc2/ide/messagelog.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
193
2015-07-03T22:23:27.000Z
2022-03-15T18:56:02.000Z
elenasrc2/ide/messagelog.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
531
2015-05-07T09:39:42.000Z
2021-09-27T07:51:38.000Z
elenasrc2/ide/messagelog.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
31
2015-09-30T13:07:36.000Z
2021-10-15T13:08:04.000Z
// !! has to be removed
12
23
0.583333
drkameleon
e5811068e1f9e6924532ee8a187b56a774aa7d24
66,334
cpp
C++
src/Lib/RtpSession.cpp
miseri/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
1
2021-07-14T08:15:05.000Z
2021-07-14T08:15:05.000Z
src/Lib/RtpSession.cpp
7956968/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
null
null
null
src/Lib/RtpSession.cpp
7956968/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
2
2021-07-14T08:15:02.000Z
2021-07-14T08:56:10.000Z
#include "CorePch.h" #include <boost/exception/all.hpp> #include <cpputil/Conversion.h> #include <cpputil/StringTokenizer.h> #include <rtp++/RtpSession.h> #include <rtp++/RtpUtil.h> #include <rtp++/experimental/RtcpHeaderExtension.h> #include <rtp++/experimental/ExperimentalRtcpParser.h> #include <rtp++/experimental/Sc...
39.936183
206
0.68431
miseri
e5817c0952f3cf02d2cc2e642494fae23004d257
1,994
cpp
C++
src/external/hauser_parabolic_smoother/Timer.cpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
181
2016-04-22T15:11:23.000Z
2022-03-26T12:51:08.000Z
src/external/hauser_parabolic_smoother/Timer.cpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
514
2016-04-20T04:29:51.000Z
2022-02-10T19:46:21.000Z
src/external/hauser_parabolic_smoother/Timer.cpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
31
2017-03-17T09:53:02.000Z
2022-03-23T10:35:05.000Z
#include "Timer.h" #include <stdlib.h> using namespace ParabolicRamp; #ifdef WIN32 #define GETCURRENTTIME(x) x=timeGetTime() #else #ifdef _POSIX_MONOTONIC_CLOCK #define GETCURRENTTIME(x) clock_gettime(CLOCK_MONOTONIC,&x) #else #define GETCURRENTTIME(x) gettimeofday(&x,NULL) #endif //_POSIX_MONOTONIC_CLOCK #endif //WI...
19.173077
97
0.731695
usc-csci-545
e58340fda35c31b19389308f0679cbc21c96206b
2,421
cpp
C++
Data Structure Implementation/Trees/03.Count_all_nodes.cpp
soumilk/Inheritance-
8aa19aef0f4d739db71124af1616ec8f6ddd8375
[ "BSL-1.0" ]
12
2019-07-04T19:35:36.000Z
2021-11-28T15:10:19.000Z
Data Structure Implementation/Trees/03.Count_all_nodes.cpp
soumilk/Inheritance-
8aa19aef0f4d739db71124af1616ec8f6ddd8375
[ "BSL-1.0" ]
13
2019-07-16T17:15:27.000Z
2019-10-25T09:07:12.000Z
Data Structure Implementation/Trees/03.Count_all_nodes.cpp
soumilk/Inheritance-
8aa19aef0f4d739db71124af1616ec8f6ddd8375
[ "BSL-1.0" ]
16
2019-08-16T00:52:50.000Z
2021-09-29T15:03:32.000Z
// // Created by soumil on 4/1/2020. // // Binary Tree Implementation C++ - COUNT NUMBER OF NODES IN THE BINARY TREE /* * This is the implementation for the Binary Tree. * Code performs some basic operations like 1. Creation 2. INORDER Traversal 3. COUNT TOTAL NUMBER OF NODES IN THE TREE ...
24.704082
89
0.581991
soumilk
e5862fd9ba40ca861ad1b12c15cabea974487063
1,576
hpp
C++
src/platforms/any/doublebuffer_pattern/patterned.hpp
enji-ahn/teach-yourself-cpp
906fe1e87b1f044054da85047690729a9e430250
[ "MIT" ]
null
null
null
src/platforms/any/doublebuffer_pattern/patterned.hpp
enji-ahn/teach-yourself-cpp
906fe1e87b1f044054da85047690729a9e430250
[ "MIT" ]
null
null
null
src/platforms/any/doublebuffer_pattern/patterned.hpp
enji-ahn/teach-yourself-cpp
906fe1e87b1f044054da85047690729a9e430250
[ "MIT" ]
null
null
null
#ifndef __PATTERNED__HPP__ #define __PATTERNED__HPP__ #include <cassert> #include <iostream> #include <list> #include <memory> class FrameBuffer { public: FrameBuffer() { clear(); } void clear() { for (auto i = 0; i < WIDTH * HEIGHT; ++i) { pixels_[i] = 0xFF; // WHITE } } void d...
21.589041
63
0.529822
enji-ahn
e58b009e46918968c51932b7817b950622923951
978
cpp
C++
backup/2/codewars/c++/complete-the-pattern-4.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
21
2019-11-16T19:08:35.000Z
2021-11-12T12:26:01.000Z
backup/2/codewars/c++/complete-the-pattern-4.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
1
2022-02-04T16:02:53.000Z
2022-02-04T16:02:53.000Z
backup/2/codewars/c++/complete-the-pattern-4.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
4
2020-05-15T19:39:41.000Z
2021-10-30T06:40:31.000Z
// Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)...
39.12
345
0.627812
yangyanzhan
e58ed6d8c88374df1306b63a6bef8e7443ada0c4
1,393
cpp
C++
modules/task_1/ryazanov_d_integral_trap/main.cpp
RachinIA/pp_2020_autumn_engineer
23f7df688a77cad9496b9d95bbe2645e0528f106
[ "BSD-3-Clause" ]
1
2020-10-30T13:49:58.000Z
2020-10-30T13:49:58.000Z
modules/task_1/ryazanov_d_integral_trap/main.cpp
RachinIA/pp_2020_autumn_engineer
23f7df688a77cad9496b9d95bbe2645e0528f106
[ "BSD-3-Clause" ]
2
2020-11-14T18:00:55.000Z
2020-11-19T16:12:50.000Z
modules/task_1/ryazanov_d_integral_trap/main.cpp
RachinIA/pp_2020_autumn_engineer
23f7df688a77cad9496b9d95bbe2645e0528f106
[ "BSD-3-Clause" ]
1
2020-10-14T19:37:21.000Z
2020-10-14T19:37:21.000Z
// Copyright 2020 Dmitriy Ryazanov #include <gtest-mpi-listener.hpp> #include <gtest/gtest.h> #include <vector> #include "../../../modules/task_1/ryazanov_d_integral_trap/integral_trap.h" TEST(Local_Integration_Test, Local_Integration_Throws) { EXPECT_EQ(f(6), 1); } TEST(Parallel_Operations_MPI, Compare_Local_Integ...
30.282609
78
0.740129
RachinIA
e5915bf86f8498a26f121bdd9b9d5d2772c4b3be
5,700
hpp
C++
include/smp/utils/branch_and_bound_euclidean.hpp
reobaird/srl_global_planner
e2a4b3ea60a0b870aba0ca3e96ea07899c411bd2
[ "BSD-3-Clause" ]
120
2016-09-01T07:06:43.000Z
2022-03-08T23:07:50.000Z
include/smp/utils/branch_and_bound_euclidean.hpp
dz306271098/srl_global_planner
e2a4b3ea60a0b870aba0ca3e96ea07899c411bd2
[ "BSD-3-Clause" ]
7
2015-08-26T05:24:46.000Z
2021-03-17T06:57:28.000Z
include/smp/utils/branch_and_bound_euclidean.hpp
dz306271098/srl_global_planner
e2a4b3ea60a0b870aba0ca3e96ea07899c411bd2
[ "BSD-3-Clause" ]
56
2015-08-07T07:54:06.000Z
2021-11-12T01:14:57.000Z
#ifndef _SMP_BRANCH_AND_BOUND_EUCLIDEAN_HPP_ #define _SMP_BRANCH_AND_BOUND_EUCLIDEAN_HPP_ #include <smp/utils/branch_and_bound_euclidean.h> #include <smp/planner_utils/vertex_edge.hpp> #include <smp/utils/branch_and_bound_base.hpp> #include <cmath> template< class typeparams, int NUM_DIMENSIONS > smp::branch_and_bo...
29.6875
104
0.692632
reobaird
e59529bb9b026f0616664e278e8f2b1a2ef3ca79
3,577
hpp
C++
IMa/update_gtree_common.hpp
jaredgk/IMgui-electron
b72ce318dcc500664bd264d8c1578723f61aa769
[ "CC0-1.0", "BSD-3-Clause" ]
null
null
null
IMa/update_gtree_common.hpp
jaredgk/IMgui-electron
b72ce318dcc500664bd264d8c1578723f61aa769
[ "CC0-1.0", "BSD-3-Clause" ]
null
null
null
IMa/update_gtree_common.hpp
jaredgk/IMgui-electron
b72ce318dcc500664bd264d8c1578723f61aa769
[ "CC0-1.0", "BSD-3-Clause" ]
null
null
null
/*IMa2p 2009-2015 Jody Hey, Rasmus Nielsen, Sang Chul Choi, Vitor Sousa, Janeen Pisciotta, and Arun Sethuraman */ #ifndef _UPDATE_GTREE_COMMON_H_ #define _UPDATE_GTREE_COMMON_H_ #undef __BEGIN_DECLS #undef __END_DECLS #ifdef __cplusplus # define __BEGIN_DECLS extern "C" { # define __END_DECLS } #else # define ...
51.1
132
0.700308
jaredgk
e596845545978ca085eee9cd60dae4d67744fe1e
1,368
hpp
C++
allocgc/include/liballocgc/details/allocators/freelist_pool_chunk.hpp
eucpp/allocgc
8d134d58515e0e2a7348fdd1fdbe8c2e8423cfef
[ "Apache-2.0" ]
null
null
null
allocgc/include/liballocgc/details/allocators/freelist_pool_chunk.hpp
eucpp/allocgc
8d134d58515e0e2a7348fdd1fdbe8c2e8423cfef
[ "Apache-2.0" ]
2
2017-01-17T16:24:59.000Z
2017-06-08T17:39:26.000Z
allocgc/include/liballocgc/details/allocators/freelist_pool_chunk.hpp
eucpp/allocgc
8d134d58515e0e2a7348fdd1fdbe8c2e8423cfef
[ "Apache-2.0" ]
null
null
null
#ifndef ALLOCGC_FREELIST_POOL_CHUNK_HPP #define ALLOCGC_FREELIST_POOL_CHUNK_HPP #include <cstddef> #include <limits> #include <liballocgc/gc_common.hpp> #include <liballocgc/details/constants.hpp> #include <liballocgc/details/utils/utility.hpp> #include <liballocgc/details/allocators/allocator_tag.hpp> namespace all...
25.333333
81
0.734649
eucpp
e5a49bb4b0d53e535bbbc8871c3c4f7cac4c3300
3,285
hpp
C++
engine/GameComponent.hpp
InfiniBrains/mobagen
262fa833195cd1b32f82ee4d825b0a39e7ebe4cb
[ "WTFPL" ]
32
2017-12-29T16:44:35.000Z
2021-08-06T23:10:28.000Z
engine/GameComponent.hpp
InfiniBrains/mobagen
262fa833195cd1b32f82ee4d825b0a39e7ebe4cb
[ "WTFPL" ]
66
2017-12-29T16:37:35.000Z
2019-04-19T23:57:20.000Z
engine/GameComponent.hpp
InfiniBrains/mobagen
262fa833195cd1b32f82ee4d825b0a39e7ebe4cb
[ "WTFPL" ]
7
2017-12-29T16:49:53.000Z
2021-08-06T23:10:35.000Z
#pragma once #include "Object.hpp" #include "SendMessageOptions.hpp" #include <string> namespace mobagen { class GameObject; class GameTransform; class GameComponent : public Object { public: /// \brief The game object this component is attached to. A component is always attached to a game object. std...
44.391892
130
0.728463
InfiniBrains
e5a98f12d5f85a55d66e30e9420fe3c48f3c7e1f
1,443
hpp
C++
libs/mavlink/include/mavlink/v2.0/common/mavlink_msg_auth_key.hpp
thanhhaibk96/VIAM_AUV2000_QGC
ebe45f35bb8b136c57cea4296968a742d59a9658
[ "Apache-2.0" ]
10
2021-03-15T03:58:06.000Z
2021-12-30T15:33:38.000Z
libs/mavlink/include/mavlink/v2.0/common/mavlink_msg_auth_key.hpp
thanhhaibk96/VIAM_AUV2000_QGC
ebe45f35bb8b136c57cea4296968a742d59a9658
[ "Apache-2.0" ]
2
2019-11-25T17:56:41.000Z
2022-03-22T23:28:09.000Z
libs/mavlink/include/mavlink/v2.0/common/mavlink_msg_auth_key.hpp
thanhhaibk96/VIAM_AUV2000_QGC
ebe45f35bb8b136c57cea4296968a742d59a9658
[ "Apache-2.0" ]
8
2021-10-09T08:47:53.000Z
2022-01-17T07:45:33.000Z
// MESSAGE AUTH_KEY support class #pragma once namespace mavlink { namespace common { namespace msg { /** * @brief AUTH_KEY message * * Emit an encrypted signature / key identifying this system. PLEASE NOTE: This protocol has been kept simple, so transmitting the key requires an encrypted channel for true safety....
23.655738
181
0.600139
thanhhaibk96
e5ace106025c586349eef0fa7f4366cb268cdc18
1,005
cpp
C++
aoc-2015/day-20/day_20.cpp
bsamseth/advent-of-code-2018
bdd3969e61fac3f1543c20983260aa9fda912e99
[ "MIT" ]
1
2021-01-03T17:09:13.000Z
2021-01-03T17:09:13.000Z
aoc-2015/day-20/day_20.cpp
bsamseth/advent-of-code-2018
bdd3969e61fac3f1543c20983260aa9fda912e99
[ "MIT" ]
3
2021-06-01T23:09:26.000Z
2022-03-12T01:08:40.000Z
aoc-2015/day-20/day_20.cpp
bsamseth/advent-of-code
65d40548057a86b6fda37aec8e7d5d473d627124
[ "MIT" ]
null
null
null
#include <cmath> #include <fstream> #include <functional> #include <iostream> int part1_present_sum(const int house) { const int d = std::sqrt(house) + 1; int s = 0; for (int i = 1; i <= d; i++) if (house % i == 0) s += i + house / i; return 10 * s; } int part2_present_sum(const in...
23.928571
88
0.551244
bsamseth
e5ad8368815a7f5d434bf1c4f371493205cb57d7
4,413
cpp
C++
src/audio.cpp
TylerSeiford/Gravitational-Snake-AI
b77b8c24d2ce691baa2689c0575c364691579b53
[ "MIT" ]
35
2019-11-27T06:53:57.000Z
2021-11-27T11:11:50.000Z
src/audio.cpp
TylerSeiford/Gravitational-Snake-AI
b77b8c24d2ce691baa2689c0575c364691579b53
[ "MIT" ]
null
null
null
src/audio.cpp
TylerSeiford/Gravitational-Snake-AI
b77b8c24d2ce691baa2689c0575c364691579b53
[ "MIT" ]
3
2020-03-10T08:34:56.000Z
2021-08-23T06:32:45.000Z
#include "audio.h" #include <iostream> #define DR_WAV_IMPLEMENTATION #include "ext/dr_wav.h" #include "ext/stb_vorbis.h" Audio::Audio() { init(); } Audio::~Audio() { // Destroy the context. alcMakeContextCurrent(NULL); alcDestroyContext(this->al_context); // Close the device. alcCloseDevice(this->al_devic...
21.014286
111
0.690687
TylerSeiford
e5b7b47004033608e055692bb3fc6bdde65d8c33
5,019
hpp
C++
autodiff/common/eigen.hpp
yatli/autodiff
1a8e6a899c8ee0cd5e7cf3fa3167cfae0ca683dd
[ "MIT" ]
1
2020-04-24T06:54:48.000Z
2020-04-24T06:54:48.000Z
autodiff/common/eigen.hpp
yatli/autodiff
1a8e6a899c8ee0cd5e7cf3fa3167cfae0ca683dd
[ "MIT" ]
null
null
null
autodiff/common/eigen.hpp
yatli/autodiff
1a8e6a899c8ee0cd5e7cf3fa3167cfae0ca683dd
[ "MIT" ]
null
null
null
// _ _ // _ _|_ _ _|o_|__|_ // (_||_||_(_)(_|| | | // // automatic differentiation made easier in C++ // https://github.com/autodiff/autodiff // // Licensed under the MIT License <http://opensource.org/licenses/MIT>. // // Copyright (c) 2018-2020 Allan Leal // // Permission is hereby granted, fre...
53.967742
119
0.646942
yatli