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
933a3eba09ee7058ecbf4375bc4bbd7a39214df4
2,082
cpp
C++
foobar2000/SDK/console.cpp
ttsping/foo_fix
4a0b950ccb8c10c912a9abeeffdd85e777463309
[ "Info-ZIP" ]
294
2017-11-20T17:42:08.000Z
2022-03-31T04:15:13.000Z
foobar2000/SDK/console.cpp
ttsping/foo_fix
4a0b950ccb8c10c912a9abeeffdd85e777463309
[ "Info-ZIP" ]
108
2021-04-08T10:57:27.000Z
2022-03-27T08:02:15.000Z
foobar2000/SDK/console.cpp
ttsping/foo_fix
4a0b950ccb8c10c912a9abeeffdd85e777463309
[ "Info-ZIP" ]
14
2018-03-10T12:47:03.000Z
2021-11-11T09:00:08.000Z
#include "foobar2000.h" void console::info(const char * p_message) {print(p_message);} void console::error(const char * p_message) {complain("Error", p_message);} void console::warning(const char * p_message) {complain("Warning", p_message);} void console::info_location(const playable_location & src) {print_l...
25.084337
82
0.690202
ttsping
933ce72b5fe5ab5c82eb4813b347590d5c28c7da
4,816
cpp
C++
Source/V2World/V2Localisation.cpp
Zemurin/EU3ToVic2
7df6de2039986ed46683d792ec0c72bbdf6a2f18
[ "MIT" ]
114
2015-06-07T20:27:45.000Z
2020-08-16T05:05:56.000Z
EU3ToV2/Source/V2World/V2Localisation.cpp
iamdafu/paradoxGameConverters
674364a22917155642ade923e5dfbe38a5fa9610
[ "MIT" ]
553
2015-07-20T23:58:26.000Z
2019-06-13T21:45:56.000Z
EU3ToV2/Source/V2World/V2Localisation.cpp
iamdafu/paradoxGameConverters
674364a22917155642ade923e5dfbe38a5fa9610
[ "MIT" ]
106
2015-07-27T00:21:16.000Z
2020-06-10T10:13:13.000Z
/*Copyright (c) 2014 The Paradox Game Converters Project Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, mer...
28.497041
161
0.670473
Zemurin
933db5aeb9fa89518a14f7f027f19c2f902cb16c
7,014
hpp
C++
cplus/libcfint/cfintobj/ICFIntMimeTypeTableObj.hpp
msobkow/cfint_2_13
63ff9dfc85647066d0c8d61469ada572362e2b48
[ "Apache-2.0" ]
null
null
null
cplus/libcfint/cfintobj/ICFIntMimeTypeTableObj.hpp
msobkow/cfint_2_13
63ff9dfc85647066d0c8d61469ada572362e2b48
[ "Apache-2.0" ]
null
null
null
cplus/libcfint/cfintobj/ICFIntMimeTypeTableObj.hpp
msobkow/cfint_2_13
63ff9dfc85647066d0c8d61469ada572362e2b48
[ "Apache-2.0" ]
null
null
null
#pragma once // Description: C++18 Table Object interface for CFInt. /* * org.msscf.msscf.CFInt * * Copyright (c) 2020 Mark Stephen Sobkow * * MSS Code Factory CFInt 2.13 Internet Essentials * * Copyright 2020-2021 Mark Stephen Sobkow * * This file is part of MSS Code Factory. * * MSS Code Factory is...
32.929577
101
0.795979
msobkow
933ed79568df20fbe3b6c80e554625477769863e
5,289
cc
C++
Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/ScrollerItem.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/ScrollerItem.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/ScrollerItem.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */ /* * $Header: /fuji/lewis/RCS/ScrollerItem.cc,v 1.4 1992/09/08 16:40:43 lewis Exp $ * * TODO: * * Changes: * $Log: ScrollerItem.cc,v $ * Revision 1.4 1992/09/08 16:40:43 lewis * Renamed NULL -> Nil. * * Revision 1.3 1992/09/01 ...
22.896104
114
0.656646
SophistSolutions
9343eddb8090e93ce379fe6e757a74f1c43adb29
53,922
cpp
C++
Matrix4f.cpp
PankeyCR/aMonkeyEngine
83e631a6185a65e88d6eea95c73475b0da59ea54
[ "BSD-3-Clause" ]
1
2021-07-02T11:47:10.000Z
2021-07-02T11:47:10.000Z
Matrix4f.cpp
PankeyCR/aMonkeyEngine
83e631a6185a65e88d6eea95c73475b0da59ea54
[ "BSD-3-Clause" ]
null
null
null
Matrix4f.cpp
PankeyCR/aMonkeyEngine
83e631a6185a65e88d6eea95c73475b0da59ea54
[ "BSD-3-Clause" ]
null
null
null
#ifndef Matrix4f_cpp #define Matrix4f_cpp #include "Matrix4f.h" ame::Matrix4f *ame::Matrix4f::ZERO = new ame::Matrix4f(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); ame::Matrix4f *ame::Matrix4f::IDENTITY = new ame::Matrix4f(); ame::Matrix4f::Matrix4f() { //this->loadIdentity(); } ame::Matrix4...
31.944313
125
0.473109
PankeyCR
9344a6ad1befd9f84148b291e984f69434968892
8,354
cpp
C++
src/hpglopenglparser.cpp
jusirkka/qopencpn
5e514ae8f43199c4d52278df6e4df85c46bd1ddc
[ "ISC", "X11", "MIT" ]
2
2021-07-09T14:13:55.000Z
2022-02-11T06:41:03.000Z
src/hpglopenglparser.cpp
jusirkka/qopencpn
5e514ae8f43199c4d52278df6e4df85c46bd1ddc
[ "ISC", "X11", "MIT" ]
null
null
null
src/hpglopenglparser.cpp
jusirkka/qopencpn
5e514ae8f43199c4d52278df6e4df85c46bd1ddc
[ "ISC", "X11", "MIT" ]
2
2022-02-11T06:41:05.000Z
2022-03-17T09:29:46.000Z
/* -*- coding: utf-8-unix -*- * * File: src/hpglparser.cpp * * Copyright (C) 2021 Jukka Sirkka * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (a...
26.605096
84
0.645918
jusirkka
934930d25543e1a3a1034663733da437300199c0
1,161
cpp
C++
2021.09.08-Lesson-1/Project3/Source.cpp
021213/programming-c-eng--2021-autumn
84ff4e86e7b4ee68d5bfd83ef6388a1f3e762348
[ "Apache-2.0" ]
null
null
null
2021.09.08-Lesson-1/Project3/Source.cpp
021213/programming-c-eng--2021-autumn
84ff4e86e7b4ee68d5bfd83ef6388a1f3e762348
[ "Apache-2.0" ]
null
null
null
2021.09.08-Lesson-1/Project3/Source.cpp
021213/programming-c-eng--2021-autumn
84ff4e86e7b4ee68d5bfd83ef6388a1f3e762348
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; int main() { int a = 3; int b = 5; int c = 0; c = a + b; c = a - b; c = a * b; c = a / b; c = a % b; a += b; a *= b; a /= b; // a = a / b; a %= b; // a = a / b; a -= b; // a = a - b; float f = 0; a = 5; b = 2; f = a / b; // 2.0 f = (float)a / b; f = 1.0f * ...
12.619565
31
0.356589
021213
934e5aef93fda065b64434dfaa69269c0db2d171
16,781
cpp
C++
iree/compiler/Conversion/LinalgToSPIRV/LinalgTileAndFusePass.cpp
River707/iree
09b7742466ce7fb48742fd900e6c1f66cf51d3f3
[ "Apache-2.0" ]
1
2020-08-16T17:38:25.000Z
2020-08-16T17:38:25.000Z
iree/compiler/Conversion/LinalgToSPIRV/LinalgTileAndFusePass.cpp
georgemitenkov/iree
77d2f8b4fd53f1dbe7ef03b4b4a7ba7be06f2416
[ "Apache-2.0" ]
null
null
null
iree/compiler/Conversion/LinalgToSPIRV/LinalgTileAndFusePass.cpp
georgemitenkov/iree
77d2f8b4fd53f1dbe7ef03b4b4a7ba7be06f2416
[ "Apache-2.0" ]
1
2021-01-29T09:30:09.000Z
2021-01-29T09:30:09.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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
39.954762
80
0.663012
River707
9350f8ba18aa434405f0b4cf415cf2e97241f204
152
hpp
C++
src/tokenizer.hpp
sischkg/nxnsattack
c20896e40187bbcacb5c0255ff8f3cc7d0592126
[ "MIT" ]
5
2020-05-22T10:01:51.000Z
2022-01-01T04:45:14.000Z
src/tokenizer.hpp
sischkg/dns-fuzz-server
6f45079014e745537c2f564fdad069974e727da1
[ "MIT" ]
1
2020-06-07T14:09:44.000Z
2020-06-07T14:09:44.000Z
src/tokenizer.hpp
sischkg/dns-fuzz-server
6f45079014e745537c2f564fdad069974e727da1
[ "MIT" ]
2
2020-03-10T03:06:20.000Z
2021-07-25T15:07:45.000Z
#ifndef TOKENIZER_HPP #define TOKENIZER_HPP #include <string> #include <vector> std::vector<std::string> tokenize( const std::string &line ); #endif
15.2
61
0.743421
sischkg
93512b9e6cb0fef8ac747c2a714e04b563eddf0b
1,569
cpp
C++
src/graphics/texture.cpp
luihabl/tinysdl
5159577b4d7dd58d42df4f6790fabcd86e78491b
[ "MIT" ]
2
2021-09-10T20:34:55.000Z
2021-11-27T11:25:23.000Z
src/graphics/texture.cpp
luihabl/tinysdl
5159577b4d7dd58d42df4f6790fabcd86e78491b
[ "MIT" ]
1
2021-10-21T19:23:23.000Z
2021-10-21T21:25:29.000Z
src/graphics/texture.cpp
luihabl/tinysdl
5159577b4d7dd58d42df4f6790fabcd86e78491b
[ "MIT" ]
null
null
null
#include <glad/glad.h> #include "tinysdl/graphics/texture.h" #include "tinysdl/platform/log.h" #include "tinysdl/platform/file.h" using namespace TinySDL; Image::Image(const char * path) { this->data = File::load_image(path, &this->w, &this->h, &this->n_comp); if(!data) Log::error("File does not exist: %s", ...
27.051724
84
0.684512
luihabl
9355019fd7bcf514e4ac35bbedb784badb1fad57
4,892
cpp
C++
examples/project3/src/rrt.cpp
harsha336/rrt_sig
1afa8ad45562f20850360d691c2cc29faf18565b
[ "Apache-2.0" ]
null
null
null
examples/project3/src/rrt.cpp
harsha336/rrt_sig
1afa8ad45562f20850360d691c2cc29faf18565b
[ "Apache-2.0" ]
null
null
null
examples/project3/src/rrt.cpp
harsha336/rrt_sig
1afa8ad45562f20850360d691c2cc29faf18565b
[ "Apache-2.0" ]
null
null
null
#include "rrt.h" RRTGraph::RRTGraph() { walls_ = new Walls; alpha_ = 1; maxi_ = 3000; } void RRTGraph::init(GsPnt2 start, float rt, float win_w, float win_h, GsMat *pos) { gsout << "RRTGraph::init: Got the matrix: " << gsnl; position_ = pos; root_ = new Node; path_computed_ = false; root_->parent = NULL; roo...
23.295238
81
0.591578
harsha336
935927654a534a8a0ca4c10ca582ee2d59074ad8
3,520
cpp
C++
ScriptingProject/Item_Timer.cpp
CITMProject3/Project3
5076dbaf4eced4eb69bb43b811684206e62eded4
[ "MIT" ]
3
2017-04-02T19:37:52.000Z
2018-11-06T13:37:33.000Z
ScriptingProject/Item_Timer.cpp
CITMProject3/Project3
5076dbaf4eced4eb69bb43b811684206e62eded4
[ "MIT" ]
74
2017-04-03T14:32:09.000Z
2017-06-08T10:12:56.000Z
ScriptingProject/Item_Timer.cpp
CITMProject3/Project3
5076dbaf4eced4eb69bb43b811684206e62eded4
[ "MIT" ]
3
2017-06-06T17:10:46.000Z
2019-10-28T16:25:27.000Z
#include "stdafx.h" #include <string> #include <map> #include "../ModuleScripting.h" #include "../GameObject.h" #include "../ComponentScript.h" #include "../ComponentCollider.h" #include "../ComponentCar.h" #include "../ComponentMesh.h" #include "../ComponentAudioSource.h" #include "../ComponentParticleSystem.h" #inclu...
26.074074
222
0.70483
CITMProject3
935a367f373c8b72d2d75dee4d2023c3bda40867
7,702
cpp
C++
test/map/HashMapProbingTest.cpp
zpooky/sputil
3eddf94655fe4ec5bc2a3b5e487a86d772b038ae
[ "Apache-2.0" ]
null
null
null
test/map/HashMapProbingTest.cpp
zpooky/sputil
3eddf94655fe4ec5bc2a3b5e487a86d772b038ae
[ "Apache-2.0" ]
null
null
null
test/map/HashMapProbingTest.cpp
zpooky/sputil
3eddf94655fe4ec5bc2a3b5e487a86d772b038ae
[ "Apache-2.0" ]
null
null
null
#include <gtest/gtest.h> #include <map/HashMapProbing.h> #include <map/HashMapTree.h> #include <test/gcstruct.h> template <typename MAP> static void test_simple(MAP &map) { using TK = typename MAP::key_type; using TV = typename MAP::value_type; const std::size_t c_key_one = 1; std::size_t key_one = 1; const...
20.3219
62
0.589977
zpooky
93612d7e4efc504ab2aa8a024bc874af40d6b4ba
2,202
hpp
C++
CmnMath/module/numericalmethod/inc/numericalmethod/ode_euler.hpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
CmnMath/module/numericalmethod/inc/numericalmethod/ode_euler.hpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
CmnMath/module/numericalmethod/inc/numericalmethod/ode_euler.hpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
// Geometric Tools LLC, Redmond WA 98052 // Copyright (c) 1998-2015 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // File Version: 1.0.2 (2014/12/13) // The TVector template parameter allows you to cr...
33.363636
78
0.619437
Khoronus
9361b0b8990a7777692301a3bd08e43f4979bf0a
8,409
cpp
C++
third_party/vss/GoogleVssAgent/VssAgent.cpp
playplay/compute-image-windows
9f45829af870e7801ac9b9cdb2e3fe9820244e84
[ "Apache-2.0" ]
97
2015-06-03T03:05:10.000Z
2021-11-13T13:52:20.000Z
third_party/vss/GoogleVssAgent/VssAgent.cpp
playplay/compute-image-windows
9f45829af870e7801ac9b9cdb2e3fe9820244e84
[ "Apache-2.0" ]
112
2015-06-04T00:37:34.000Z
2022-03-25T10:39:02.000Z
third_party/vss/GoogleVssAgent/VssAgent.cpp
playplay/compute-image-windows
9f45829af870e7801ac9b9cdb2e3fe9820244e84
[ "Apache-2.0" ]
70
2015-06-01T23:57:45.000Z
2022-02-22T06:15:20.000Z
// The VssAgent service logs the service start and stop information to // the application event log, and runs the main function of the // service in a thread pool worker thread. #include "stdafx.h" #include "VssAgent.h" #include "../snapshot.h" #include "GoogleVssClient.h" #include "util.h" VssService::VssService(PWS...
40.23445
92
0.649899
playplay
936418de8bc21450a377175496bf3bbe5f36d4f5
984
cpp
C++
arc.cpp
hepeidong/Graph
f2be17e9a656488b0e26db3bd76d2ca4a85ca1a9
[ "Apache-2.0" ]
null
null
null
arc.cpp
hepeidong/Graph
f2be17e9a656488b0e26db3bd76d2ca4a85ca1a9
[ "Apache-2.0" ]
null
null
null
arc.cpp
hepeidong/Graph
f2be17e9a656488b0e26db3bd76d2ca4a85ca1a9
[ "Apache-2.0" ]
null
null
null
#include "arc.h" #include <algorithm> template<typename Tp> Arc<Tp>::Arc():m_adjVertex(-1) { } template<typename Tp> Arc<Tp>::~Arc() { } template<typename Tp> Arc<Tp>* Arc<Tp>::CreateArc(value_t weight, site_t adjVertex) { Arc<Tp>* arc = new (std::nothrow) Arc(); if (arc->InitArc(weight, adjVertex)) { ...
15.870968
61
0.661585
hepeidong
9364706c8ae59aca17b5e39ea17a8bebb360734e
4,315
cpp
C++
src/count_kmers_per_bin.cpp
Felix-Droop/Chopper
5cc214103b2d088ae400bec0fde8973e03dd3095
[ "BSD-3-Clause" ]
null
null
null
src/count_kmers_per_bin.cpp
Felix-Droop/Chopper
5cc214103b2d088ae400bec0fde8973e03dd3095
[ "BSD-3-Clause" ]
null
null
null
src/count_kmers_per_bin.cpp
Felix-Droop/Chopper
5cc214103b2d088ae400bec0fde8973e03dd3095
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <fstream> #include <chrono> #include <numeric> #include <algorithm> #include <unordered_map> #include <unordered_set> #include <seqan3/argument_parser/all.hpp> #include <seqan3/io/sequence_file/input.hpp> #include <seqan3/search/views/kmer_hash.hpp> #include <chopper/build/read_chopper_sp...
35.081301
113
0.609502
Felix-Droop
936719eb694d275d2b3d1a7acad921e888c92889
10,453
cp
C++
Win32/Sources/Application/Speech/CSpeechSynthesis.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Win32/Sources/Application/Speech/CSpeechSynthesis.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Win32/Sources/Application/Speech/CSpeechSynthesis.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007-2009 Cyrus Daboo. All rights reserved. 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 ...
22.923246
110
0.647565
mulberry-mail
9368165cf6fefe25843710913b94afec7f6edb5d
1,539
cpp
C++
test_mbed/src/main.cpp
chris3069/BLDC_Project
69f6b7ed810d091dd430d93554056e34af130d2d
[ "BSL-1.0" ]
null
null
null
test_mbed/src/main.cpp
chris3069/BLDC_Project
69f6b7ed810d091dd430d93554056e34af130d2d
[ "BSL-1.0" ]
null
null
null
test_mbed/src/main.cpp
chris3069/BLDC_Project
69f6b7ed810d091dd430d93554056e34af130d2d
[ "BSL-1.0" ]
null
null
null
#include <mbed.h> #define MAXIMUM_BUFFER_SIZE 32 // Open Loop Betrieb // Timer lauft, y Values verändern sich alle 100ms // y-Value in pulsewidth laden // IN2 startet von Value 20, // IN3 starte von Value 40 // mit Poti einstellbar InterruptIn button_stop(D7); // Stop Taster, Falling Edge glaub ich InterruptIn b...
24.046875
250
0.647823
chris3069
9370df570a0ad5b979edcff5c6b44d9018735660
4,660
cpp
C++
src/svLibrary/src/resource/ResourceFolderPC.cpp
sevanspowell/sev
c678aaab3a9e6bd4e5b98774205c8775c9a3291d
[ "MIT" ]
null
null
null
src/svLibrary/src/resource/ResourceFolderPC.cpp
sevanspowell/sev
c678aaab3a9e6bd4e5b98774205c8775c9a3291d
[ "MIT" ]
1
2017-06-11T06:34:50.000Z
2017-06-11T06:34:50.000Z
src/svLibrary/src/resource/ResourceFolderPC.cpp
sevanspowell/sev
c678aaab3a9e6bd4e5b98774205c8775c9a3291d
[ "MIT" ]
null
null
null
#include <sv/System.h> #if SV_PLATFORM_POSIX #include <cstdio> #include <dirent.h> #include <string.h> #include <sys/stat.h> #include <sys/types.h> #endif #include <fstream> #include <sstream> #include <sv/resource/ResourceFolderPC.h> namespace sv { bool ResourceFolderPC::open() { isFolderOpen = true; // No...
27.251462
82
0.550429
sevanspowell
93710bca8319031063d93ccf1a196ae4359500c4
1,381
hpp
C++
lib/why3cpp/private/whyml-lextract-listener.hpp
sellamiy/GPiD-Framework
f6ed1abb2da6d51639f5ee410b1f9b143a200465
[ "BSD-3-Clause" ]
8
2018-07-13T07:07:08.000Z
2021-05-18T17:56:59.000Z
lib/why3cpp/private/whyml-lextract-listener.hpp
sellamiy/GPiD-Framework
f6ed1abb2da6d51639f5ee410b1f9b143a200465
[ "BSD-3-Clause" ]
null
null
null
lib/why3cpp/private/whyml-lextract-listener.hpp
sellamiy/GPiD-Framework
f6ed1abb2da6d51639f5ee410b1f9b143a200465
[ "BSD-3-Clause" ]
null
null
null
#ifndef LIB_WHY3CPP__LOCAL_INCLUDE__L_EXTRACT_LISTENER_HPP #define LIB_WHY3CPP__LOCAL_INCLUDE__L_EXTRACT_LISTENER_HPP #include <WhyMLBaseListener.h> #include "whyml-type-visitor.hpp" class LextractWhyMLListener : public WhyMLBaseListener { map<string, string> literals; stack<pair<string, string>> lstack; pub...
30.021739
103
0.645185
sellamiy
9373fe179f73403d0d7e13d85b99cb7a94c7332b
3,797
hpp
C++
libs/renderer/include/Skybox.hpp
Sharpyfile/WARdrobe
7842d486f65c7a045771f9ef78c0655eda2d346a
[ "DOC" ]
null
null
null
libs/renderer/include/Skybox.hpp
Sharpyfile/WARdrobe
7842d486f65c7a045771f9ef78c0655eda2d346a
[ "DOC" ]
null
null
null
libs/renderer/include/Skybox.hpp
Sharpyfile/WARdrobe
7842d486f65c7a045771f9ef78c0655eda2d346a
[ "DOC" ]
1
2021-03-21T16:52:22.000Z
2021-03-21T16:52:22.000Z
#ifndef SKYBOX_H #define SKYBOX_H #include <glad/glad.h> // holds all OpenGL type declarations #include <glm/glm.hpp> #include <vector> class Skybox { public: Skybox() { } Skybox(vector<std::string> faces) { LoadCubemap(faces); SetupSkybox(); } void DrawSkybox(unsi...
28.765152
126
0.51725
Sharpyfile
93740f1fd09685bf8a244b2c138b953501436c45
4,389
cpp
C++
src/mfx/cmd/lat/TreeList.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
69
2017-01-17T13:17:31.000Z
2022-03-01T14:56:32.000Z
src/mfx/cmd/lat/TreeList.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
1
2020-11-03T14:52:45.000Z
2020-12-01T20:31:15.000Z
src/mfx/cmd/lat/TreeList.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
8
2017-02-08T13:30:42.000Z
2021-12-09T08:43:09.000Z
/***************************************************************************** TreeList.cpp Author: Laurent de Soras, 2019 --- Legal stuff --- This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the te...
21.945
78
0.57553
mikelange49
9374a2124793d3532000d617cc30248de7baefb5
13,428
hxx
C++
c++/laolrt/laol/rt/primitives.hxx
gburdell/laol
4ba457b2d4fa25525173cd045aa57ff4485ef7ae
[ "MIT" ]
null
null
null
c++/laolrt/laol/rt/primitives.hxx
gburdell/laol
4ba457b2d4fa25525173cd045aa57ff4485ef7ae
[ "MIT" ]
null
null
null
c++/laolrt/laol/rt/primitives.hxx
gburdell/laol
4ba457b2d4fa25525173cd045aa57ff4485ef7ae
[ "MIT" ]
null
null
null
/* * The MIT License * * Copyright 2017 kpfalzer. * * 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...
33.994937
96
0.524873
gburdell
9374f01b5eaee6710c7a94d56f031e5a5859ed9f
48,416
cpp
C++
src/CX_Synth.cpp
hardmanko/ofxCX
0d1276e4ba8c25a0803da7b03088da24d8871f38
[ "MIT" ]
7
2015-02-19T21:21:34.000Z
2022-03-18T13:38:20.000Z
src/CX_Synth.cpp
hardmanko/ofxCX
0d1276e4ba8c25a0803da7b03088da24d8871f38
[ "MIT" ]
null
null
null
src/CX_Synth.cpp
hardmanko/ofxCX
0d1276e4ba8c25a0803da7b03088da24d8871f38
[ "MIT" ]
4
2018-02-16T12:56:13.000Z
2022-03-23T01:27:33.000Z
#include "CX_Synth.h" namespace CX { namespace Synth { // Initial id is 0. uint64_t ModuleControlData::_nextId = 1; /*! The sinc function, defined as `sin(x)/x`. */ double sinc(double x) { return sin(x) / x; } /*! This function returns the frequency that is `semitoneDifference` semitones from `f`. \param f The sta...
29.026379
149
0.696278
hardmanko
937826ce082e414a4045cbb7aa1e028ee32805d2
955
hpp
C++
src/tools/tools.hpp
InspectorSolaris/nd-engine
a8d63fe4bc0e57a96317adf015534d2e779ffcbb
[ "WTFPL" ]
null
null
null
src/tools/tools.hpp
InspectorSolaris/nd-engine
a8d63fe4bc0e57a96317adf015534d2e779ffcbb
[ "WTFPL" ]
null
null
null
src/tools/tools.hpp
InspectorSolaris/nd-engine
a8d63fe4bc0e57a96317adf015534d2e779ffcbb
[ "WTFPL" ]
null
null
null
#pragma once #include "pch.hpp" #include "types.hpp" #include "scope.hpp" #if defined(NDEBUG) #define ND_ASSERT_NOTHROW (true) #else #define ND_ASSERT_NOTHROW (false) #endif #define ND_DECLARE_BUILDER_FIELD(field) decltype(Type::field) field #define ND_DEFINE_BUILDER_SET(field) \ ...
28.088235
68
0.464921
InspectorSolaris
937a04039a3c3b06f33d76e0bc6442a8980d670c
1,747
hpp
C++
include/Factory/Module/Decoder/RA/Decoder_RA.hpp
FredrikBlomgren/aff3ct
fa616bd923b2dcf03a4cf119cceca51cf810d483
[ "MIT" ]
315
2016-06-21T13:32:14.000Z
2022-03-28T09:33:59.000Z
include/Factory/Module/Decoder/RA/Decoder_RA.hpp
a-panella/aff3ct
61509eb756ae3725b8a67c2d26a5af5ba95186fb
[ "MIT" ]
153
2017-01-17T03:51:06.000Z
2022-03-24T15:39:26.000Z
include/Factory/Module/Decoder/RA/Decoder_RA.hpp
a-panella/aff3ct
61509eb756ae3725b8a67c2d26a5af5ba95186fb
[ "MIT" ]
119
2017-01-04T14:31:58.000Z
2022-03-21T08:34:16.000Z
/*! * \file * \brief Class factory::Decoder_RA. */ #ifndef FACTORY_DECODER_RA_HPP #define FACTORY_DECODER_RA_HPP #include <vector> #include <string> #include <map> #include <cli.hpp> #include "Tools/Factory/Header.hpp" #include "Tools/auto_cloned_unique_ptr.hpp" #include "Module/Encoder/Encoder.hpp" #include "Modu...
30.12069
116
0.655982
FredrikBlomgren
937b13734bffb857defc4114a0f1bbee1512662c
3,197
cpp
C++
Sources Age of Enigma/Scene_Egypt_Mazeentry.cpp
calidrelle/Gamecodeur
4449ea1dce02b8f08e39d258d864546fcc9b2fc6
[ "CC0-1.0" ]
29
2016-05-04T08:22:46.000Z
2022-01-27T10:20:55.000Z
Sources Age of Enigma/Scene_Egypt_Mazeentry.cpp
calidrelle/Gamecodeur
4449ea1dce02b8f08e39d258d864546fcc9b2fc6
[ "CC0-1.0" ]
1
2018-11-25T14:12:39.000Z
2018-11-25T14:12:39.000Z
Sources Age of Enigma/Scene_Egypt_Mazeentry.cpp
calidrelle/Gamecodeur
4449ea1dce02b8f08e39d258d864546fcc9b2fc6
[ "CC0-1.0" ]
49
2016-04-29T19:43:42.000Z
2022-02-19T16:13:35.000Z
/* * Scene_Egypt_Mazeentry.cpp * enigma * * Created by MEKERSA David on 24/11/10. * Copyright 2010 Casual Games France. All rights reserved. * */ #include "EScene.h" #include "Scene_Egypt_Mazeentry.h" #include "ESceneDirector.h" #include "GlobalBank.h" /* Constructeur */ Scene_Egypt_Mazeentry::Scene_Egypt_...
27.324786
137
0.699093
calidrelle
938936970416a05ff2ebb471131e86bcf9a0b165
14
cpp
C++
src/test.cpp
xpack/xpm-develop-test-xpack
c8f60e64324f751d3848dad12f4add838fa9da8c
[ "MIT" ]
null
null
null
src/test.cpp
xpack/xpm-develop-test-xpack
c8f60e64324f751d3848dad12f4add838fa9da8c
[ "MIT" ]
null
null
null
src/test.cpp
xpack/xpm-develop-test-xpack
c8f60e64324f751d3848dad12f4add838fa9da8c
[ "MIT" ]
null
null
null
// Test file.
7
13
0.571429
xpack
93896c5f265e702f4c7628ca39b30322980dde21
452
cxx
C++
Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector_fixed+uint.allsizes-.cxx
TeoZosa/ITK
bc989624d640b30ee047634eda6acfc4cdd3f39b
[ "Apache-2.0" ]
1
2019-12-10T21:26:08.000Z
2019-12-10T21:26:08.000Z
Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector_fixed+uint.allsizes-.cxx
TeoZosa/ITK
bc989624d640b30ee047634eda6acfc4cdd3f39b
[ "Apache-2.0" ]
null
null
null
Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector_fixed+uint.allsizes-.cxx
TeoZosa/ITK
bc989624d640b30ee047634eda6acfc4cdd3f39b
[ "Apache-2.0" ]
null
null
null
#include "vnl/vnl_vector_fixed.hxx" VNL_VECTOR_FIXED_INSTANTIATE(unsigned int,2); VNL_VECTOR_FIXED_INSTANTIATE(unsigned int,3); VNL_VECTOR_FIXED_INSTANTIATE(unsigned int,4); VNL_VECTOR_FIXED_INSTANTIATE(unsigned int,5); VNL_VECTOR_FIXED_INSTANTIATE(unsigned int,6); VNL_VECTOR_FIXED_INSTANTIATE(unsigned int,7); VNL_VEC...
37.666667
46
0.862832
TeoZosa
938cf719dbd42d5ca3727e460f1042314873a7bb
3,075
cpp
C++
codes/tool/Project.cpp
liangpengcheng/tng
01c6517f734d5db01f7d59bf95b225f6d1642b6e
[ "BSD-3-Clause" ]
3
2016-04-16T06:24:20.000Z
2018-09-29T13:36:51.000Z
codes/tool/Project.cpp
liangpengcheng/tng
01c6517f734d5db01f7d59bf95b225f6d1642b6e
[ "BSD-3-Clause" ]
null
null
null
codes/tool/Project.cpp
liangpengcheng/tng
01c6517f734d5db01f7d59bf95b225f6d1642b6e
[ "BSD-3-Clause" ]
3
2016-04-29T11:46:08.000Z
2019-09-16T03:27:30.000Z
#include "Project.h" #include <QAction> #include <QFileDialog> #include "modelimport/port.h" #include "core/binary_reader_writer.h" namespace tng { void ProjectMain::Init() { tng::Log* log = new tng::ConsoleLog; tng::Log::SetLog(log); string exename, exepath, exeext; Path::GetExePath().Split(exepath, exename,...
25.204918
93
0.682602
liangpengcheng
938d563efe409da780ef3115ba532f41ac67a326
1,136
cpp
C++
liberty/support/specpriv-profile/escape.cpp
righier/cpf
0a9d7c2cde6676be519c490d98197eb5283520b4
[ "MIT" ]
18
2020-08-14T21:19:59.000Z
2022-02-22T12:43:52.000Z
liberty/support/specpriv-profile/escape.cpp
righier/cpf
0a9d7c2cde6676be519c490d98197eb5283520b4
[ "MIT" ]
23
2020-08-17T21:04:36.000Z
2022-03-02T19:29:27.000Z
liberty/support/specpriv-profile/escape.cpp
righier/cpf
0a9d7c2cde6676be519c490d98197eb5283520b4
[ "MIT" ]
2
2020-09-17T17:25:19.000Z
2021-05-21T11:21:43.000Z
#include "escape.h" void EscapeTable::report_escape(const AUHolder &au, const CtxHolder &ctx) { Escape key(au,ctx); ++escapeFrequencies[key]; } void EscapeTable::report_local(const AUHolder &au, const CtxHolder &ctx) { for(CtxHolder cc=ctx; !cc.is_null(); cc=cc->parent) { Escape key(au,cc); ++localFre...
22.72
106
0.629401
righier
938ed5ee46e822eb997eee1f0ece1885b921cc16
9,515
cpp
C++
src/filesiconv/IconvWorker.cpp
hufuman/filesiconv
1443469db1a37571c984b64027f8936c87dc3e3d
[ "MIT" ]
2
2015-07-01T01:24:15.000Z
2017-07-13T14:54:29.000Z
src/filesiconv/IconvWorker.cpp
hufuman/filesiconv
1443469db1a37571c984b64027f8936c87dc3e3d
[ "MIT" ]
null
null
null
src/filesiconv/IconvWorker.cpp
hufuman/filesiconv
1443469db1a37571c984b64027f8936c87dc3e3d
[ "MIT" ]
3
2015-02-08T15:24:43.000Z
2018-03-08T05:18:05.000Z
#include "StdAfx.h" #include "IconvWorker.h" #include "FileMap.h" #include <cassert> #include <Shlwapi.h> BYTE g_byUtf8BOM[] = {0xEF, 0xBB, 0xBF}; BYTE g_byUnicodeBOM[] = {0xFF, 0xFE}; BOOL WriteFileHelper(HANDLE hFile, LPCVOID pBuffer, int nSize) { DWORD dwWritten = 0; BOOL bResult = ::WriteFile(hFile, pB...
24.714286
133
0.548292
hufuman
9390d396b3f0a13d8508cb8226a5b36d5ac6bff4
3,493
hpp
C++
Source/boost/scoped_ptr.hpp
Negrutiu/nsis
14eed5608d44e998309892fe8226aeb5252b9ab9
[ "BSD-3-Clause" ]
19
2018-09-21T09:44:42.000Z
2022-03-26T03:37:02.000Z
Source/boost/scoped_ptr.hpp
Negrutiu/nsis
14eed5608d44e998309892fe8226aeb5252b9ab9
[ "BSD-3-Clause" ]
3
2019-07-19T08:58:50.000Z
2021-02-03T19:42:00.000Z
Source/boost/scoped_ptr.hpp
Negrutiu/nsis
14eed5608d44e998309892fe8226aeb5252b9ab9
[ "BSD-3-Clause" ]
1
2021-08-23T02:44:27.000Z
2021-08-23T02:44:27.000Z
#ifndef BOOST_SCOPED_PTR_HPP_INCLUDED #define BOOST_SCOPED_PTR_HPP_INCLUDED // (C) Copyright Greg Colvin and Beman Dawes 1998, 1999. // Copyright (c) 2001, 2002 Peter Dimov // // Permission to copy, use, modify, sell and distribute this software // is granted provided this copyright notice appears in all copies. /...
23.761905
101
0.643287
Negrutiu
9394c96f6fac255fc668b2770bcecf5f8b8a67a6
1,016
cpp
C++
src/QtFTP/FTP/nBonjourRecord.cpp
Vladimir-Lin/QtFTP
a297ac9cd3dd44407a39adcd87953fb4d2d90f1f
[ "MIT" ]
null
null
null
src/QtFTP/FTP/nBonjourRecord.cpp
Vladimir-Lin/QtFTP
a297ac9cd3dd44407a39adcd87953fb4d2d90f1f
[ "MIT" ]
null
null
null
src/QtFTP/FTP/nBonjourRecord.cpp
Vladimir-Lin/QtFTP
a297ac9cd3dd44407a39adcd87953fb4d2d90f1f
[ "MIT" ]
null
null
null
#include <qtftp.h> N::BonjourRecord:: BonjourRecord(void) { } N::BonjourRecord:: BonjourRecord ( const QString & name , const QString & regType , const QString & domain ) : serviceName ( name ) , re...
27.459459
70
0.515748
Vladimir-Lin
93966166dcfeeb1355a91268734307e26950ffea
11,525
cpp
C++
src/clp/FileCompressor.cpp
NITROGENousFish/clp-core
2dcc58aae66a97fca43a139a4ff637005c0f9065
[ "Apache-2.0" ]
null
null
null
src/clp/FileCompressor.cpp
NITROGENousFish/clp-core
2dcc58aae66a97fca43a139a4ff637005c0f9065
[ "Apache-2.0" ]
null
null
null
src/clp/FileCompressor.cpp
NITROGENousFish/clp-core
2dcc58aae66a97fca43a139a4ff637005c0f9065
[ "Apache-2.0" ]
null
null
null
#include "FileCompressor.hpp" // C++ standard libraries #include <algorithm> #include <iostream> #include <set> // Boost libraries #include <boost/filesystem/path.hpp> // libarchive #include <archive_entry.h> // Project headers #include "utils.hpp" using std::cout; using std::endl; using std::set; using std::strin...
47.427984
158
0.653189
NITROGENousFish
939766ed756a9cf44e433c592abc0ba7a57e6518
4,308
cpp
C++
mock-eye-module/main.cpp
hogaku/azure-percept-advanced-development
90177b9f1ec96dee1e7c436af5471007c4092655
[ "MIT" ]
52
2021-03-02T14:28:37.000Z
2022-02-07T20:27:52.000Z
mock-eye-module/main.cpp
hogaku/azure-percept-advanced-development
90177b9f1ec96dee1e7c436af5471007c4092655
[ "MIT" ]
29
2021-03-03T09:36:33.000Z
2022-03-12T00:59:10.000Z
mock-eye-module/main.cpp
hogaku/azure-percept-advanced-development
90177b9f1ec96dee1e7c436af5471007c4092655
[ "MIT" ]
30
2021-03-02T14:09:14.000Z
2022-03-11T05:58:54.000Z
/** * Copyright (c) Microsoft Corporation. * Licensed under the MIT license. * * Use this application as a test bed for adding new AI models to the Azure Percept DK azureeyemodule. * This application is small and easy to extend, so can be used for debugging and proving that a model * works before porting it to th...
35.02439
115
0.639044
hogaku
9397a1566ba2f8b4d802fe9b27344fc1e0dac58f
1,323
cpp
C++
shared_mutex.cpp
opensvn/boost_learning
7f21551a7f3db38bea2c31d95d0c8b4e00f4537e
[ "BSL-1.0" ]
null
null
null
shared_mutex.cpp
opensvn/boost_learning
7f21551a7f3db38bea2c31d95d0c8b4e00f4537e
[ "BSL-1.0" ]
null
null
null
shared_mutex.cpp
opensvn/boost_learning
7f21551a7f3db38bea2c31d95d0c8b4e00f4537e
[ "BSL-1.0" ]
1
2021-10-01T04:27:44.000Z
2021-10-01T04:27:44.000Z
#include <iostream> #include <boost/thread.hpp> using namespace std; boost::mutex io_mu; class rw_data { private: int m_x; boost::shared_mutex rw_mu; public: rw_data() : m_x(0) { } void write() { boost::unique_lock<boost::shared_mutex> ul(rw_mu); ++m_x; } void read(i...
18.633803
83
0.543462
opensvn
939ac781007d93639b949611cab142451205015c
5,313
cpp
C++
libraries/PION/src/PION_Network.cpp
joaopedrovbs/arduino-support-test
1bea23f00040e386b44285f926b6871ba1bcd5fb
[ "MIT" ]
17
2021-07-28T21:57:26.000Z
2022-02-28T20:32:04.000Z
libraries/PION/src/PION_Network.cpp
joaopedrovbs/arduino-support-test
1bea23f00040e386b44285f926b6871ba1bcd5fb
[ "MIT" ]
7
2021-08-07T23:20:14.000Z
2022-03-20T15:05:21.000Z
libraries/PION/src/PION_Network.cpp
joaopedrovbs/arduino-support-test
1bea23f00040e386b44285f926b6871ba1bcd5fb
[ "MIT" ]
10
2021-08-11T13:47:36.000Z
2022-03-26T02:41:45.000Z
#include <Arduino.h> #include <ESPAsyncWebServer.h> #include <ArduinoJson.h> #include "_config.h" #include "_types.h" #include "webpage.h" #include "PION_System.h" #include "PION_Network.h" #include "PION_Sensors.h" #include "PION_Storage.h" #include "PION_Interface.h" // External Objects AsyncWebServer server(80)...
30.534483
125
0.678336
joaopedrovbs
4d34bfb49b84429f084a6ffb47759ba06fecac7f
5,457
hpp
C++
heart/src/problem/AbstractOutputModifier.hpp
AvciRecep/chaste_2019
1d46cdac647820d5c5030f8a9ea3a1019f6651c1
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-04-05T12:11:54.000Z
2020-04-05T12:11:54.000Z
heart/src/problem/AbstractOutputModifier.hpp
AvciRecep/chaste_2019
1d46cdac647820d5c5030f8a9ea3a1019f6651c1
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
heart/src/problem/AbstractOutputModifier.hpp
AvciRecep/chaste_2019
1d46cdac647820d5c5030f8a9ea3a1019f6651c1
[ "Apache-2.0", "BSD-3-Clause" ]
2
2020-04-05T14:26:13.000Z
2021-03-09T08:18:17.000Z
/* Copyright (c) 2005-2019, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
40.422222
149
0.741067
AvciRecep
4d3fdf9a85f8d94b2ebe372c8eeb2e5d06d11fb3
1,834
cpp
C++
examples/ftp_server/ftp_server.cpp
kayfour/MAVSDK
48faf36a15ad9371b9e0a3c16ecac248e27e03ad
[ "BSD-3-Clause" ]
null
null
null
examples/ftp_server/ftp_server.cpp
kayfour/MAVSDK
48faf36a15ad9371b9e0a3c16ecac248e27e03ad
[ "BSD-3-Clause" ]
null
null
null
examples/ftp_server/ftp_server.cpp
kayfour/MAVSDK
48faf36a15ad9371b9e0a3c16ecac248e27e03ad
[ "BSD-3-Clause" ]
1
2021-01-08T00:43:04.000Z
2021-01-08T00:43:04.000Z
/** * @file ftp_server.cpp * * @brief Demonstrates how to use a FTP server with MAVSDK. * * @author Matej Frančeškin <matej@auterion.com>, * @date 2019-09-06 */ #include <mavsdk/mavsdk.h> #include <mavsdk/plugins/ftp/ftp.h> #include <chrono> #include <iostream> #include <iomanip> #include <string> #include <th...
28.65625
99
0.640676
kayfour
4d41c982c02c6b1679db108db4806e2ebbb3178e
6,347
inl
C++
gemcutter/Entity/Entity.inl
EmilianC/Jewel3D
ce11aa686ab35d4989f018c948b26abed6637d77
[ "MIT" ]
30
2017-02-02T01:57:13.000Z
2020-07-04T04:38:20.000Z
gemcutter/Entity/Entity.inl
EmilianC/Jewel3D
ce11aa686ab35d4989f018c948b26abed6637d77
[ "MIT" ]
null
null
null
gemcutter/Entity/Entity.inl
EmilianC/Jewel3D
ce11aa686ab35d4989f018c948b26abed6637d77
[ "MIT" ]
10
2017-07-10T01:31:54.000Z
2020-01-13T20:38:57.000Z
// Copyright (c) 2017 Emilian Cioca namespace gem { namespace detail { // Allows for compile-time decision of whether or not a dynamic cast is required. // A dynamic cast is required when a class inherits from Component indirectly, and // as such, doesn't compile its own unique component type ID. template<cla...
24.13308
115
0.659367
EmilianC
4d4371cc7edda0cc1c18a53bb8f33acfeedaa2a2
1,045
cpp
C++
13.cpp
jonathanxqs/lintcode
148435aff0a83ac5d77a7ccbd5d0caaea3140a62
[ "MIT" ]
1
2016-06-21T16:29:37.000Z
2016-06-21T16:29:37.000Z
13.cpp
jonathanxqs/lintcode
148435aff0a83ac5d77a7ccbd5d0caaea3140a62
[ "MIT" ]
null
null
null
13.cpp
jonathanxqs/lintcode
148435aff0a83ac5d77a7ccbd5d0caaea3140a62
[ "MIT" ]
null
null
null
class Solution { public: /** * Returns a index to the first occurrence of target in source, * or -1 if target is not part of source. * @param source string to be scanned. * @param target string containing the sequence of characters to match. */ int strStr(const char *source, const char...
26.794872
75
0.396172
jonathanxqs
4d45f4dcb3f8f12614bda83bfaa9de1c212b7f9d
1,112
cpp
C++
tests/juliet/testcases/CWE775_Missing_Release_of_File_Descriptor_or_Handle/CWE775_Missing_Release_of_File_Descriptor_or_Handle__fopen_no_close_82_goodB2G.cpp
RanerL/analyzer
a401da4680f163201326881802ee535d6cf97f5a
[ "MIT" ]
28
2017-01-20T15:25:54.000Z
2020-03-17T00:28:31.000Z
testcases/CWE775_Missing_Release_of_File_Descriptor_or_Handle/CWE775_Missing_Release_of_File_Descriptor_or_Handle__fopen_no_close_82_goodB2G.cpp
mellowCS/cwe_checker_juliet_suite
ae604f6fd94964251fbe88ef04d5287f6c1ffbe2
[ "MIT" ]
1
2017-01-20T15:26:27.000Z
2018-08-20T00:55:37.000Z
testcases/CWE775_Missing_Release_of_File_Descriptor_or_Handle/CWE775_Missing_Release_of_File_Descriptor_or_Handle__fopen_no_close_82_goodB2G.cpp
mellowCS/cwe_checker_juliet_suite
ae604f6fd94964251fbe88ef04d5287f6c1ffbe2
[ "MIT" ]
2
2019-07-15T19:07:04.000Z
2019-09-07T14:21:04.000Z
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE775_Missing_Release_of_File_Descriptor_or_Handle__fopen_no_close_82_goodB2G.cpp Label Definition File: CWE775_Missing_Release_of_File_Descriptor_or_Handle__fopen_no_close.label.xml Template File: source-sinks-82_goodB2G.tmpl.cpp */ /* * @description * CWE: 775 M...
31.771429
105
0.758094
RanerL
4d476c70e24e2cc79d4838d0bcb7f49818ef157f
1,795
cc
C++
Linked_List/7B_Merge_K_Sorted_Lists/method2/solution.cc
sheriby/DandAInLeetCode
dd7f5029aa0c297ea82bb20f882b524789f35c96
[ "MIT" ]
1
2020-02-07T12:25:56.000Z
2020-02-07T12:25:56.000Z
Linked_List/7B_Merge_K_Sorted_Lists/method2/solution.cc
sheriby/DandAInLeetCode
dd7f5029aa0c297ea82bb20f882b524789f35c96
[ "MIT" ]
null
null
null
Linked_List/7B_Merge_K_Sorted_Lists/method2/solution.cc
sheriby/DandAInLeetCode
dd7f5029aa0c297ea82bb20f882b524789f35c96
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <vector> using std::vector; /** * The definition from single-linked list */ struct ListNode { int val; ListNode *next; ListNode(int val) : val(val), next(nullptr) {} // here use nullptr instead of NULL }; class Solution { public: ListNode *...
26.791045
75
0.504178
sheriby
4d4998fa064380187f433abefda6740bd4e4f9d8
2,476
cpp
C++
development/Tests/YagetCore-Test/TestFiles/Json_Test.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
null
null
null
development/Tests/YagetCore-Test/TestFiles/Json_Test.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
44
2018-06-28T03:01:44.000Z
2022-03-20T19:53:00.000Z
development/Tests/YagetCore-Test/TestFiles/Json_Test.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
null
null
null
#include "pch.h" #include "Debugging/DevConfiguration.h" #include "Debugging/DevConfigurationParsers.h" #include "TestHelpers/TestHelpers.h" #include "Json/JsonHelpers.h" //CHECK_EQUAL(expected, actual); class JsonUtilities : public ::testing::Test { }; TEST_F(JsonUtilities, ConfigString) { using namespace yag...
38.6875
103
0.753635
eglowacki
4d4ad7e828eb02cd709ca8268e8ee2d507abc1b8
1,231
cpp
C++
src/pages/incomes_pages.cpp
FORGIS98/budgetwarrior
ca4c79a7b9694a0db5c7fe11b1b4e9cba96a9971
[ "MIT" ]
null
null
null
src/pages/incomes_pages.cpp
FORGIS98/budgetwarrior
ca4c79a7b9694a0db5c7fe11b1b4e9cba96a9971
[ "MIT" ]
null
null
null
src/pages/incomes_pages.cpp
FORGIS98/budgetwarrior
ca4c79a7b9694a0db5c7fe11b1b4e9cba96a9971
[ "MIT" ]
null
null
null
//======================================================================= // Copyright (c) 2013-2020 Baptiste Wicht. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //=================================================================...
25.645833
84
0.595451
FORGIS98
4d4d390aa51a2f123a85615508ca73322ec5c7fc
3,327
cpp
C++
Source/Macad.Occt/Generated/BRepIntCurveSurface.cpp
zhyifei/Macad3D
55d92a7de53a1fc8f4453c09b162c261a40586f0
[ "MIT" ]
107
2020-11-29T18:01:50.000Z
2022-03-31T13:54:40.000Z
Source/Macad.Occt/Generated/BRepIntCurveSurface.cpp
zhyifei/Macad3D
55d92a7de53a1fc8f4453c09b162c261a40586f0
[ "MIT" ]
10
2021-03-12T18:34:24.000Z
2022-01-08T21:03:58.000Z
Source/Macad.Occt/Generated/BRepIntCurveSurface.cpp
zhyifei/Macad3D
55d92a7de53a1fc8f4453c09b162c261a40586f0
[ "MIT" ]
42
2021-01-07T06:23:24.000Z
2022-03-29T10:03:51.000Z
// Generated wrapper code for package BRepIntCurveSurface #include "OcctPCH.h" #include "BRepIntCurveSurface.h" using namespace System::Runtime::InteropServices; // for class Marshal #include "BRepIntCurveSurface.h" #include "TopoDS.h" #include "GeomAdaptor.h" #include "Standard.h" #include "gp.h" #inclu...
34.65625
157
0.715359
zhyifei
4d50a0e6b36072965cdb4ebd4e6b830f58f7bf35
2,522
cpp
C++
src/CLR/CorLib/corlib_native_System_Object.cpp
TIPConsulting/nf-interpreter
d5407872f4705d6177e1ee5a2e966bd02fd476e4
[ "MIT" ]
null
null
null
src/CLR/CorLib/corlib_native_System_Object.cpp
TIPConsulting/nf-interpreter
d5407872f4705d6177e1ee5a2e966bd02fd476e4
[ "MIT" ]
1
2021-02-22T07:54:30.000Z
2021-02-22T07:54:30.000Z
src/CLR/CorLib/corlib_native_System_Object.cpp
TIPConsulting/nf-interpreter
d5407872f4705d6177e1ee5a2e966bd02fd476e4
[ "MIT" ]
null
null
null
// // Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // #include "CorLib.h" //--// HRESULT Library_corlib_native_System_Object::Equals___BOOLEAN__OBJECT( CLR_RT_Stack...
27.413043
123
0.692308
TIPConsulting
4d51020f7f574bf33eb2bc46fcf386c3e10c485f
2,107
cpp
C++
neutrino/graphics/src/render/opengl/opengl_logger.cpp
alexiynew/nih_framework
a65335586331daa0ece892f98265bd1d2f8f579f
[ "MIT" ]
1
2017-07-14T04:51:54.000Z
2017-07-14T04:51:54.000Z
neutrino/graphics/src/render/opengl/opengl_logger.cpp
alexiynew/nih_framework
a65335586331daa0ece892f98265bd1d2f8f579f
[ "MIT" ]
32
2017-02-02T14:49:41.000Z
2019-06-25T19:38:27.000Z
neutrino/graphics/src/render/opengl/opengl_logger.cpp
alexiynew/nih_framework
a65335586331daa0ece892f98265bd1d2f8f579f
[ "MIT" ]
null
null
null
#include <map> #include <string> #include <log/log.hpp> #include <graphics/src/opengl/opengl.hpp> #include <graphics/src/render/opengl/opengl_logger.hpp> using namespace framework::graphics::details::opengl; namespace framework::graphics { const std::string tag = "OpenGL"; void log_opengl_errors(const std::string&...
36.964912
119
0.654485
alexiynew
4d5369d2135904d9036d4497808d6d343d0553d3
128
hpp
C++
libraries/fc/include/fc/compress/zlib.hpp
techsharesteam/techshares
47c58630a578204147057b7504e571e19546444f
[ "MIT" ]
6
2018-08-08T06:10:45.000Z
2019-06-23T13:45:08.000Z
libraries/fc/include/fc/compress/zlib.hpp
techsharesteam/techshares
47c58630a578204147057b7504e571e19546444f
[ "MIT" ]
null
null
null
libraries/fc/include/fc/compress/zlib.hpp
techsharesteam/techshares
47c58630a578204147057b7504e571e19546444f
[ "MIT" ]
2
2018-08-06T06:50:46.000Z
2019-01-03T09:48:54.000Z
#pragma once #include <fc/string.hpp> namespace fc { string zlib_compress(const string& in); } // namespace fc
11.636364
42
0.640625
techsharesteam
4d55a5a46029f396546008aaed68a9e37b73376b
1,651
cpp
C++
sliding-window-min-swaps-group-1s/min_swaps.cpp
JBlakd/self-study
71cb86d43fe7f6514657958db0c0e81113bd4c43
[ "MIT" ]
null
null
null
sliding-window-min-swaps-group-1s/min_swaps.cpp
JBlakd/self-study
71cb86d43fe7f6514657958db0c0e81113bd4c43
[ "MIT" ]
null
null
null
sliding-window-min-swaps-group-1s/min_swaps.cpp
JBlakd/self-study
71cb86d43fe7f6514657958db0c0e81113bd4c43
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <limits> #include <string> #include <vector> using namespace std; class Solution { public: int minSwaps(vector<int>& data) { // count number of 1's int count = 0; for (int& element : data) { if (element == 1) { ...
19.423529
63
0.396124
JBlakd
4d5a9f0b7a81565ca0eb186d5b068b8f40997fff
1,064
cpp
C++
benchmarks/binary_tree/taskflow.cpp
drobison00/taskflow
9415c3b68fd050889f57412394933e94b74755e0
[ "MIT" ]
3,337
2020-06-02T02:04:17.000Z
2022-03-31T19:12:03.000Z
benchmarks/binary_tree/taskflow.cpp
drobison00/taskflow
9415c3b68fd050889f57412394933e94b74755e0
[ "MIT" ]
235
2020-06-02T01:26:49.000Z
2022-03-31T01:35:31.000Z
benchmarks/binary_tree/taskflow.cpp
drobison00/taskflow
9415c3b68fd050889f57412394933e94b74755e0
[ "MIT" ]
414
2020-06-02T16:25:23.000Z
2022-03-30T09:17:19.000Z
#include "binary_tree.hpp" #include <taskflow/taskflow.hpp> // binary_tree_taskflow void binary_tree_taskflow(size_t num_layers, unsigned num_threads) { std::atomic<size_t> counter {0}; std::vector<tf::Task> tasks(1 << num_layers); tf::Executor executor(num_threads); tf::Taskflow taskflow; for(unsigne...
24.744186
74
0.660714
drobison00
4d5d98e5f9a65f11b2760888910775c9e064eb45
9,782
cpp
C++
src/common.cpp
bwpow/libshaga
d457ee8dc267af9e20564961c9f6928290cb29cb
[ "CC0-1.0" ]
1
2018-05-09T18:15:21.000Z
2018-05-09T18:15:21.000Z
src/common.cpp
bwpow/libshaga
d457ee8dc267af9e20564961c9f6928290cb29cb
[ "CC0-1.0" ]
null
null
null
src/common.cpp
bwpow/libshaga
d457ee8dc267af9e20564961c9f6928290cb29cb
[ "CC0-1.0" ]
null
null
null
/****************************************************************************** Shaga library is released under the New BSD license (see LICENSE.md): Copyright (c) 2012-2021, SAGE team s.r.o., Samuel Kupka All rights reserved. *******************************************************************************/ #include "...
29.026706
123
0.665099
bwpow
4d62d974734cff2e28346adfc6941e2f4c8d5a4f
1,320
hpp
C++
boost/network/message/directives/detail/string_value.hpp
antoinelefloch/cpp-netlib
5eb9b5550a10d06f064ee9883c7d942d3426f31b
[ "BSL-1.0" ]
3
2015-02-10T22:08:08.000Z
2021-11-13T20:59:25.000Z
include/boost/network/message/directives/detail/string_value.hpp
waTeim/boost
eb3850fae8c037d632244cf15cf6905197d64d39
[ "BSL-1.0" ]
1
2018-08-10T04:47:12.000Z
2018-08-10T13:54:57.000Z
include/boost/network/message/directives/detail/string_value.hpp
waTeim/boost
eb3850fae8c037d632244cf15cf6905197d64d39
[ "BSL-1.0" ]
5
2017-12-28T12:42:25.000Z
2021-07-01T07:41:53.000Z
#ifndef BOOST_NETWORK_MESSAGE_DIRECTIVES_DETAIL_STRING_VALUE_HPP_20100915 #define BOOST_NETWORK_MESSAGE_DIRECTIVES_DETAIL_STRING_VALUE_HPP_20100915 // Copyright Dean Michael Berris 2010. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // ...
32.195122
78
0.643939
antoinelefloch
4d6595d2982fe160d200bd0cf3f2e92703cb6a68
1,003
cpp
C++
oy/test1.cpp
mhilmyh/algo-data-struct
6a9b1e5220e3c4e4a41200a09cb27f3f55560693
[ "MIT" ]
null
null
null
oy/test1.cpp
mhilmyh/algo-data-struct
6a9b1e5220e3c4e4a41200a09cb27f3f55560693
[ "MIT" ]
null
null
null
oy/test1.cpp
mhilmyh/algo-data-struct
6a9b1e5220e3c4e4a41200a09cb27f3f55560693
[ "MIT" ]
null
null
null
// **Level 1** operator (+, -) // “-3+2” = -1 // “4+7” = 11 // “9-5” = 4 // “4-7+5-3” = -1 #include <bits/stdc++.h> #define lli long long int using namespace std; bool isNum(char x) { return x >= '0' && x <= '9'; } int main() { string str; int sum = 0; int num = 0; bool neg = false; cin >> str...
20.06
65
0.335992
mhilmyh
4d6e617024c9b39158f791aa408cfdb29b0b247b
10,909
cpp
C++
src/ace/ACE_wrappers/apps/JAWS/clients/Blobby/Blob_Handler.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
8
2017-06-05T08:56:27.000Z
2020-04-08T16:50:11.000Z
src/ace/ACE_wrappers/apps/JAWS/clients/Blobby/Blob_Handler.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
null
null
null
src/ace/ACE_wrappers/apps/JAWS/clients/Blobby/Blob_Handler.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
17
2017-06-05T08:54:27.000Z
2021-08-29T14:19:12.000Z
#include "Blob_Handler.h" #include "ace/OS_NS_stdio.h" #include "ace/OS_NS_string.h" #include "ace/OS_NS_strings.h" // Empty constructor for compliance with new Connector behavior. ACE_Blob_Handler::ACE_Blob_Handler (void) { } // Always use this constructor ACE_Blob_Handler::ACE_Blob_Handler (ACE_Message_Block * mb, ...
31.62029
109
0.602713
wfnex
4d6eac15ee37d246dc7c92db6ee8cf1035e95de5
682
cpp
C++
demos/game_of_life/get_life_1_06.cpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
284
2017-11-07T10:06:48.000Z
2021-01-12T15:32:51.000Z
demos/game_of_life/get_life_1_06.cpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
38
2018-01-14T12:34:54.000Z
2020-09-26T15:32:43.000Z
demos/game_of_life/get_life_1_06.cpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
31
2017-11-30T11:22:21.000Z
2020-11-03T05:27:47.000Z
#include "get_life_1_06.hpp" #include <fstream> #include <string> #include "coordinate.hpp" #include "pattern.hpp" namespace gol { auto get_life_1_06(std::string const& filename) -> Pattern { auto file = std::ifstream{filename}; if (file.fail()) return {}; auto cells = Pattern::Cells{}; ...
19.485714
58
0.548387
a-n-t-h-o-n-y
4d6ef2f4ab020aa44724318655dc86a81342b6e5
150
cpp
C++
ace/OS_NS_dlfcn.cpp
BeiJiaan/ace
2845970c894bb350d12d6a32e867d7ddf2487f25
[ "DOC" ]
16
2015-05-11T04:33:44.000Z
2022-02-15T04:28:39.000Z
ace/OS_NS_dlfcn.cpp
BeiJiaan/ace
2845970c894bb350d12d6a32e867d7ddf2487f25
[ "DOC" ]
null
null
null
ace/OS_NS_dlfcn.cpp
BeiJiaan/ace
2845970c894bb350d12d6a32e867d7ddf2487f25
[ "DOC" ]
7
2015-01-08T16:11:34.000Z
2021-07-04T16:04:40.000Z
// $Id$ #include "ace/OS_NS_dlfcn.h" #if !defined (ACE_HAS_INLINED_OSCALLS) # include "ace/OS_NS_dlfcn.inl" #endif /* ACE_HAS_INLINED_OSCALLS */
13.636364
38
0.72
BeiJiaan
4d6f5ab508b9e91fd3279b2ab2256a5bbd018544
5,424
cpp
C++
src/Magnum/MeshTools/Test/SubdivideRemoveDuplicatesBenchmark.cpp
Graphics-Physics-Libraries/magnum-games-and-data-visualization
a817f55d6ff0ef0510d93b310c2ba897e4de49ee
[ "MIT" ]
null
null
null
src/Magnum/MeshTools/Test/SubdivideRemoveDuplicatesBenchmark.cpp
Graphics-Physics-Libraries/magnum-games-and-data-visualization
a817f55d6ff0ef0510d93b310c2ba897e4de49ee
[ "MIT" ]
null
null
null
src/Magnum/MeshTools/Test/SubdivideRemoveDuplicatesBenchmark.cpp
Graphics-Physics-Libraries/magnum-games-and-data-visualization
a817f55d6ff0ef0510d93b310c2ba897e4de49ee
[ "MIT" ]
null
null
null
/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), ...
40.781955
99
0.722529
Graphics-Physics-Libraries
4d7486d172f08aa5b6a4322a5aed68011e24833e
766
cpp
C++
C++/lengthOfLongestSubstring.cpp
colorfulberry/LeetCode
a4103a63d2969e8819447685f42423cd22fed2ff
[ "MIT" ]
2
2020-04-08T17:57:43.000Z
2021-11-07T09:11:51.000Z
C++/lengthOfLongestSubstring.cpp
colorfulberry/LeetCode
a4103a63d2969e8819447685f42423cd22fed2ff
[ "MIT" ]
null
null
null
C++/lengthOfLongestSubstring.cpp
colorfulberry/LeetCode
a4103a63d2969e8819447685f42423cd22fed2ff
[ "MIT" ]
8
2018-03-13T18:20:26.000Z
2022-03-09T19:48:11.000Z
// Time Complexity: O(n) // Space Complexity: O(1) class Solution { public: int lengthOfLongestSubstring(string s) { vector<int> last(26, -1); int start = 0; int ans = 0; for(int i = 0; i < s.size(); ++i) { if(last[s[i] - 'a'] >= start) { ...
34.818182
110
0.462141
colorfulberry
4d7a143cd5adac6653ab63b68221b4be6add2a3f
1,954
cpp
C++
LuoguCodes/P2568.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/P2568.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/P2568.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
// luogu-judger-enable-o2 // luogu-judger-enable-o2 #include <cmath> #include <cctype> #include <cstdio> #include <cstring> #include <set> #include <map> #include <stack> #include <queue> #include <string> #include <vector> #include <numeric> #include <iomanip> #include <iostream> #include <algorithm> #define fn "2818"...
24.123457
72
0.520983
Anguei
4d7a53e6253cd1f694f58516275d426e8cb95458
42,863
cxx
C++
GPU/GPUTracking/Global/GPUChainTrackingClusterizer.cxx
chengtt0406/AliRoot
c1d89b133b433f608b2373112d3608d8cec26095
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
GPU/GPUTracking/Global/GPUChainTrackingClusterizer.cxx
chengtt0406/AliRoot
c1d89b133b433f608b2373112d3608d8cec26095
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
GPU/GPUTracking/Global/GPUChainTrackingClusterizer.cxx
chengtt0406/AliRoot
c1d89b133b433f608b2373112d3608d8cec26095
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
//**************************************************************************\ //* This file is property of and copyright by the ALICE Project *\ //* ALICE Experiment at CERN, All rights reserved. *\ //* *\ //* Prim...
56.99867
324
0.692812
chengtt0406
4d7f93f0016f329758d5450b3ab9c7024a88d65b
1,035
cpp
C++
src/State.cpp
Speedy-code13/Shawarma.is-SFML-2022
904359317eef4fb90df32db961dfcb3819287bbb
[ "Apache-2.0" ]
null
null
null
src/State.cpp
Speedy-code13/Shawarma.is-SFML-2022
904359317eef4fb90df32db961dfcb3819287bbb
[ "Apache-2.0" ]
null
null
null
src/State.cpp
Speedy-code13/Shawarma.is-SFML-2022
904359317eef4fb90df32db961dfcb3819287bbb
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "State.h" State::State(StateData* stateData) : resolution(stateData->gfx->resolution), stateData(stateData) { this->window = this->stateData->window; this->dt = this->stateData->dt; this->states = this->stateData->states; this->quit = false; this->updatedRes = false; this->keytim...
16.693548
92
0.675362
Speedy-code13
4d8034c64400950d7b8e6b00e08fd4214d510e6b
4,576
cxx
C++
minisw/minisw.cxx
trotill/11parts_CPP
53a69d516fdcb5c92b591b5dadc49dfdd2a3b26b
[ "MIT" ]
null
null
null
minisw/minisw.cxx
trotill/11parts_CPP
53a69d516fdcb5c92b591b5dadc49dfdd2a3b26b
[ "MIT" ]
null
null
null
minisw/minisw.cxx
trotill/11parts_CPP
53a69d516fdcb5c92b591b5dadc49dfdd2a3b26b
[ "MIT" ]
null
null
null
#include "engine/minisw/minisw.h" #include "engine/lib/11p_string.h" eErrorTp MiniSW_Run(int argc,char *argv[],string SWname) { //printf("run %s\n",SWname.c_str()); if (SWname.compare(USB_RESET_SW)==0) { usb_reset_main(argc,argv); } if (SWname.compare(IMAGE_CHECK)==0) { imcheck_main(argc,argv); } if (SW...
22.653465
122
0.646416
trotill
4d81bc7e0d9fbcccbeb19e2375f19e83c1b5ab8e
2,478
hh
C++
hoo/emitter/EmitterContext.hh
benoybose/hoolang
4e280a03caec837be35c8aac948923e1bea96b85
[ "BSD-3-Clause" ]
null
null
null
hoo/emitter/EmitterContext.hh
benoybose/hoolang
4e280a03caec837be35c8aac948923e1bea96b85
[ "BSD-3-Clause" ]
14
2020-07-24T10:25:59.000Z
2020-08-02T13:27:09.000Z
hoo/emitter/EmitterContext.hh
benoybose/hoolang
4e280a03caec837be35c8aac948923e1bea96b85
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2020 Benoy Bose * * 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, distri...
38.71875
100
0.679177
benoybose
4d85d955ffae4b0f070bcee9a900a806bb3195d0
11,945
cpp
C++
olp-cpp-sdk-dataservice-write/src/generated/PublishApi.cpp
matthiaskunter/here-data-sdk-cpp
30b0cdce39dc7218416e820cc3f928f2f2e15675
[ "Apache-2.0" ]
null
null
null
olp-cpp-sdk-dataservice-write/src/generated/PublishApi.cpp
matthiaskunter/here-data-sdk-cpp
30b0cdce39dc7218416e820cc3f928f2f2e15675
[ "Apache-2.0" ]
null
null
null
olp-cpp-sdk-dataservice-write/src/generated/PublishApi.cpp
matthiaskunter/here-data-sdk-cpp
30b0cdce39dc7218416e820cc3f928f2f2e15675
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2019 HERE Europe B.V. * * 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 a...
37.211838
91
0.721139
matthiaskunter
4d8cc39ad118c3961952f65f6821862138fa2485
371
cpp
C++
mazeLocation.cpp
bolym/C-Escape
fe448c1bcbfcda8090c6642fa1417e08581cdf8e
[ "MIT" ]
null
null
null
mazeLocation.cpp
bolym/C-Escape
fe448c1bcbfcda8090c6642fa1417e08581cdf8e
[ "MIT" ]
null
null
null
mazeLocation.cpp
bolym/C-Escape
fe448c1bcbfcda8090c6642fa1417e08581cdf8e
[ "MIT" ]
null
null
null
#include "mazeLocation.hpp" /****************************************************************** * Function: mazeLocation() * Description: Default empty MazeLocation constructor * Parameters: None * Pre-Conditions: None * Post-Conditions: None ***************************************************************...
28.538462
68
0.447439
bolym
4d8d565fa9d9a5ef5f1918204e8c55481a02c65c
7,246
cxx
C++
examples/cmdline.cxx
elcuco/mimetic
00c46f7e25235ea6de9ddefc0b63c3249eb1d1da
[ "MIT" ]
null
null
null
examples/cmdline.cxx
elcuco/mimetic
00c46f7e25235ea6de9ddefc0b63c3249eb1d1da
[ "MIT" ]
null
null
null
examples/cmdline.cxx
elcuco/mimetic
00c46f7e25235ea6de9ddefc0b63c3249eb1d1da
[ "MIT" ]
1
2022-02-24T19:24:28.000Z
2022-02-24T19:24:28.000Z
#include <getopt.h> #include <iostream> #include <cstring> #include "mm.h" #include "cmdline.h" using namespace std; command_line::command_line() { for(int i = 0; i < p_last_item; ++i) m_is_opt_set[i] = 0; } command_line::iterator command_line::begin(const string& key) { if(key.length()) retu...
33.238532
85
0.571488
elcuco
4d8e6016b10a02398941365fb9b5e4a78b8011fb
5,083
cpp
C++
src/xray/animation/sources/test_mixing_animation_group.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/animation/sources/test_mixing_animation_group.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/animation/sources/test_mixing_animation_group.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 15.04.2010 // Author : Konstantin Slipchenko // Copyright (C) GSC Game World - 2010 //////////////////////////////////////////////////////////////////////////// #include "pch.h" #include "test_mixing_animation_group.h" ...
31.968553
173
0.677159
ixray-team
4da11d3b7e98ea2242567634b3cae0a956d67928
4,412
cpp
C++
lib/heif/Srcs/common/samplegroupdescriptionbox.cpp
anzksdk/tifig-by
17a306b27e6e2dd2992e1c0896312047541f4be0
[ "Apache-2.0" ]
null
null
null
lib/heif/Srcs/common/samplegroupdescriptionbox.cpp
anzksdk/tifig-by
17a306b27e6e2dd2992e1c0896312047541f4be0
[ "Apache-2.0" ]
null
null
null
lib/heif/Srcs/common/samplegroupdescriptionbox.cpp
anzksdk/tifig-by
17a306b27e6e2dd2992e1c0896312047541f4be0
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2015, Nokia Technologies Ltd. * All rights reserved. * * Licensed under the Nokia High-Efficiency Image File Format (HEIF) License (the "License"). * * You may not use the High-Efficiency Image File Format except in compliance with the License. * The License accompanies the software and can be fo...
28.649351
132
0.682457
anzksdk
4da4220cb0d259307ff95cd134a724b843b45219
16,191
cpp
C++
src/yyy_main.cpp
FlyingJester/kashyyyk2
b7de62d6db6d3740f49ff72e5dd94b2f412aa143
[ "Linux-OpenIB" ]
null
null
null
src/yyy_main.cpp
FlyingJester/kashyyyk2
b7de62d6db6d3740f49ff72e5dd94b2f412aa143
[ "Linux-OpenIB" ]
null
null
null
src/yyy_main.cpp
FlyingJester/kashyyyk2
b7de62d6db6d3740f49ff72e5dd94b2f412aa143
[ "Linux-OpenIB" ]
null
null
null
/* * Copyright (c) 2014-2017 Martin McDonough. 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 l...
29.708257
99
0.584955
FlyingJester
4dabc83776b871de31d9a018c3b16d6d078091ae
298
cpp
C++
Crack_Practice/Xor_Decode_Shellcode.cpp
TuringGu/RELearning
a44813d6ae0416631bf5b345a7606cdf3d1a3ffe
[ "MIT" ]
null
null
null
Crack_Practice/Xor_Decode_Shellcode.cpp
TuringGu/RELearning
a44813d6ae0416631bf5b345a7606cdf3d1a3ffe
[ "MIT" ]
null
null
null
Crack_Practice/Xor_Decode_Shellcode.cpp
TuringGu/RELearning
a44813d6ae0416631bf5b345a7606cdf3d1a3ffe
[ "MIT" ]
null
null
null
void main() { __asm int 3 // break __asm { nop nop nop nop nop nop pop eax add eax, 0x14 xor ecx,ecx decode_loop: mov bl,[eax+ecx] xor bl, 0x44 mov [eax+ecx],bl inc ecx cmp bl,0x90 // Ende jne decode_loop nop nop nop nop nop } }
9.933333
22
0.536913
TuringGu
4dac4be4eb05e68464363041ed58d3aacfcb99c3
6,057
cpp
C++
skse/GameEvents.cpp
Schwarz-Hexe/YAMMS
2a64c482a3813ec2450f025e97854f5671c1851e
[ "MIT" ]
null
null
null
skse/GameEvents.cpp
Schwarz-Hexe/YAMMS
2a64c482a3813ec2450f025e97854f5671c1851e
[ "MIT" ]
null
null
null
skse/GameEvents.cpp
Schwarz-Hexe/YAMMS
2a64c482a3813ec2450f025e97854f5671c1851e
[ "MIT" ]
null
null
null
#include "GameEvents.h" // For testing // TESActivateEvent 0x012E3E60 // TESActiveEffectApplyRemoveEvent 0x012E3E90 // TESActorLocationChangeEvent 0x012E3EC0 // TESBookReadEvent 0x012E3EF0 // TESCellAtta...
62.443299
139
0.517418
Schwarz-Hexe
4db2c93e2f3756702fca4065eb04355580b84e38
1,844
cpp
C++
POJ/10 - 13/poj1001.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2017-08-19T16:02:15.000Z
2017-08-19T16:02:15.000Z
POJ/10 - 13/poj1001.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
null
null
null
POJ/10 - 13/poj1001.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2018-01-05T23:37:23.000Z
2018-01-05T23:37:23.000Z
#include <iostream> #include <cstdio> #include <string> #include <cstring> using namespace std; const int MaxL = 1000; int n, point, index; // n次幂。point代表小数点后有几位。 int si[MaxL], res[MaxL], tmp[MaxL], l; // si[MaxL]存s变成的整数,一位一位存 string s; void _toInt() // 让s变成一个整数串,并且记录下小数点后有几位 { point = 0; // 初始化point; index = 0; /...
19.410526
63
0.453362
bilibiliShen
4dbaef671c5ae9df84c6bc67b713e514c099acb9
5,061
cpp
C++
lib/AST/Stmt.cpp
jamboree/Sora
a75c96452857109e90ff61771991415d880b5b37
[ "MIT" ]
null
null
null
lib/AST/Stmt.cpp
jamboree/Sora
a75c96452857109e90ff61771991415d880b5b37
[ "MIT" ]
null
null
null
lib/AST/Stmt.cpp
jamboree/Sora
a75c96452857109e90ff61771991415d880b5b37
[ "MIT" ]
null
null
null
//===--- Stmt.cpp -----------------------------------------------*- C++ -*-===// // Part of the Sora project, licensed under the MIT license. // See LICENSE.txt in the project root for license information. // // Copyright (c) 2019 Pierre van Houtryve //===----------------------------------------------------------------...
34.903448
80
0.586248
jamboree
4dbc7e2c54ee15fdcc13bd611c177fae31bcc842
931
hpp
C++
SDK/ARKSurvivalEvolved_SpiderL_Character_BP_Medium_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_SpiderL_Character_BP_Medium_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_SpiderL_Character_BP_Medium_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_SpiderL_Character_BP_Medium_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //------------------------------------------...
28.212121
152
0.62406
2bite
4dc0bf2ad998aef2dc265069a24a59052750f211
1,279
cpp
C++
test/doc/math/geommean.cpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
340
2020-09-16T21:12:48.000Z
2022-03-28T15:40:33.000Z
test/doc/math/geommean.cpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
383
2020-09-17T06:56:35.000Z
2022-03-13T15:58:53.000Z
test/doc/math/geommean.cpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
28
2021-02-27T23:11:23.000Z
2022-03-25T12:31:29.000Z
//#include <eve/function/geommean.hpp> #include <eve/module/math.hpp> #include <eve/literals.hpp> #include <eve/wide.hpp> #include <vector> #include <iostream> int main() { using w_t = eve::wide<double, eve::fixed<4>>; w_t pi = {3, 2, 3, -3}, qi = {4, 2, 1, -100}; std::cout << "---- simd" << '\n' <<...
36.542857
101
0.351837
the-moisrex
4dc15a0f79e0439877e50c88b073d29b408d3ebb
2,458
cpp
C++
src/RcppExports.cpp
rdinnager/rbff
899e4f32558c82e180ecd79df247f1c8e5e92308
[ "MIT" ]
4
2021-08-18T04:33:42.000Z
2021-12-30T02:06:07.000Z
src/RcppExports.cpp
rdinnager/rbff
899e4f32558c82e180ecd79df247f1c8e5e92308
[ "MIT" ]
7
2021-09-21T17:38:21.000Z
2022-01-11T14:54:54.000Z
src/RcppExports.cpp
rdinnager/rbff
899e4f32558c82e180ecd79df247f1c8e5e92308
[ "MIT" ]
3
2021-09-09T20:43:55.000Z
2021-12-29T23:17:04.000Z
// Generated by using Rcpp::compileAttributes() -> do not edit by hand // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #include <Rcpp.h> using namespace Rcpp; #ifdef RCPP_USE_GLOBAL_ROSTREAM Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get(); Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get(...
47.269231
163
0.771766
rdinnager
4dc3e113d59467dae5f14e3acbd211f36d0677d0
634
hpp
C++
services/interactive_python/jupyter/display_publisher.hpp
jinntechio/RocketJoe
9b08a21fda1609c57b40ef8b9750897797ac815b
[ "BSD-3-Clause" ]
9
2020-07-20T15:32:07.000Z
2021-06-04T13:02:58.000Z
services/interactive_python/jupyter/display_publisher.hpp
jinntechio/RocketJoe
9b08a21fda1609c57b40ef8b9750897797ac815b
[ "BSD-3-Clause" ]
26
2019-10-27T12:58:42.000Z
2020-05-30T16:43:48.000Z
services/interactive_python/jupyter/display_publisher.hpp
jinntechio/RocketJoe
9b08a21fda1609c57b40ef8b9750897797ac815b
[ "BSD-3-Clause" ]
3
2020-08-29T07:07:49.000Z
2021-06-04T13:02:59.000Z
#pragma once #include <pybind11/embed.h> #include <pybind11/functional.h> #include <pybind11/pybind11.h> #include <pybind11/stl.h> namespace services { namespace interactive_python { namespace jupyter { namespace py = pybind11; class display_publisher final { public: static auto set_parent(py::o...
26.416667
82
0.648265
jinntechio
4dca20639345e2fb09e2ae2ac76726892aa651ab
5,493
cpp
C++
src/lib/foundations/geometry/decomposition.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-10-27T15:18:28.000Z
2022-02-09T11:13:07.000Z
src/lib/foundations/geometry/decomposition.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
4
2019-12-09T11:49:11.000Z
2020-07-30T17:34:45.000Z
src/lib/foundations/geometry/decomposition.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-06-10T20:05:30.000Z
2020-12-18T04:59:19.000Z
// decomposition.cpp // // Anton Betten // // December 1, 2012 #include "foundations.h" using namespace std; namespace orbiter { namespace foundations { decomposition::decomposition() { null(); } decomposition::~decomposition() { freeself(); } void decomposition::null() { Inc = 0; I = 0; Stack = NULL; f_...
21.373541
66
0.697797
abetten
4dca932f6db3b9a3dabc5d7c95e9075d7f91d709
617
cpp
C++
Websites/Codeforces/339A.cpp
justaname94/Algorithms
4c9ec4119b0d92d5889f85b89fcb24f885a82373
[ "MIT" ]
null
null
null
Websites/Codeforces/339A.cpp
justaname94/Algorithms
4c9ec4119b0d92d5889f85b89fcb24f885a82373
[ "MIT" ]
null
null
null
Websites/Codeforces/339A.cpp
justaname94/Algorithms
4c9ec4119b0d92d5889f85b89fcb24f885a82373
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> using namespace std; int main() { string operation; cin >> operation; string result; int arrSize = (operation.length()/2) + 1; int digits[arrSize]; int digitIndex = 0; for (int i = 0; i < operation.length(); i++) { if (operation[i] != '+') ...
21.275862
54
0.531605
justaname94
4dcaff8952eddbe7a377bcbff443daebfb3f60a7
173
cpp
C++
cpp_composition_over_inheritance_code/src/i_movable.cpp
kedingp/sandbox
b9a814c6578dfabe2463b3c83982c3fdfeda7f21
[ "MIT" ]
null
null
null
cpp_composition_over_inheritance_code/src/i_movable.cpp
kedingp/sandbox
b9a814c6578dfabe2463b3c83982c3fdfeda7f21
[ "MIT" ]
4
2019-02-24T07:59:05.000Z
2019-03-17T22:51:23.000Z
cpp_composition_over_inheritance_code/src/i_movable.cpp
kedingp/sandbox
b9a814c6578dfabe2463b3c83982c3fdfeda7f21
[ "MIT" ]
null
null
null
#include <cpp_composition_over_inheritance_code/i_movable.h> namespace table_tennis { I_Movable::I_Movable() { } I_Movable::~I_Movable() { } }
10.8125
60
0.641618
kedingp
4dccdbec58853d23d5d1490cdc0bedf6d57efc12
184
cpp
C++
source/tests.cpp
Looo911/programmiersprachen-aufgabenblatt-3
7ac3e5f0a37e889e03ceae3b62ebd5da2370b91f
[ "MIT" ]
null
null
null
source/tests.cpp
Looo911/programmiersprachen-aufgabenblatt-3
7ac3e5f0a37e889e03ceae3b62ebd5da2370b91f
[ "MIT" ]
null
null
null
source/tests.cpp
Looo911/programmiersprachen-aufgabenblatt-3
7ac3e5f0a37e889e03ceae3b62ebd5da2370b91f
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_RUNNER #include <catch.hpp> TEST_CASE("Circle&Rectangle", "[operator]") { } int main(int argc, char *argv[]) { return Catch::Session().run(argc, argv); }
12.266667
43
0.668478
Looo911
4dd0653c57f4ce46eb0910682235f37dab678229
721
cpp
C++
samples/round_robin.cpp
alarouche/cppao
5519c8014286c60200bc7123b445b57848168584
[ "MIT", "Unlicense" ]
null
null
null
samples/round_robin.cpp
alarouche/cppao
5519c8014286c60200bc7123b445b57848168584
[ "MIT", "Unlicense" ]
null
null
null
samples/round_robin.cpp
alarouche/cppao
5519c8014286c60200bc7123b445b57848168584
[ "MIT", "Unlicense" ]
null
null
null
#include <active/object.hpp> #include <cstdio> /* A slightly more sophisticated example. * In this case, each node punts a message to its next node in a loop. * To make things interesting, we add lots of messages concurrently. */ struct RoundRobin : public active::object<RoundRobin> { RoundRobin * next; void ac...
20.6
70
0.67129
alarouche
4dddccd6861c9ebff6d530023c4981974fbe7aed
5,947
hpp
C++
src/autonomy/script_commands.hpp
medlefsen/autonomy
ed9da86e9be98dd2505a7f02af9cd4db995e6baf
[ "Artistic-2.0" ]
2
2015-05-31T20:26:51.000Z
2022-02-19T16:11:14.000Z
src/autonomy/script_commands.hpp
medlefsen/autonomy
ed9da86e9be98dd2505a7f02af9cd4db995e6baf
[ "Artistic-2.0" ]
null
null
null
src/autonomy/script_commands.hpp
medlefsen/autonomy
ed9da86e9be98dd2505a7f02af9cd4db995e6baf
[ "Artistic-2.0" ]
null
null
null
#ifndef AUTONOMY_SCRIPT_COMMANDS_HPP #define AUTONOMY_SCRIPT_COMMANDS_HPP #include <boost/random.hpp> #include <autonomy/script_instruction.hpp> #include <autonomy/entity/scripted_drone.hpp> namespace autonomy { //! \brief Move command. //! Takes 2 "directions", up and right. //! A direction is either pos...
38.121795
95
0.633092
medlefsen
4ddf249e6bd0d57ada52921e5a19a88b411a1ba6
748
cpp
C++
local_addons/ofxCv/example-gesture/src/ofApp.cpp
yxcde/RTP_MIT_RECODED
181deb2e3228484fa9d4ed0e6bf3f4a639d99419
[ "MIT" ]
446
2015-01-08T00:14:06.000Z
2022-03-16T13:08:03.000Z
local_addons/ofxCv/example-gesture/src/ofApp.cpp
yxcde/RTP_MIT_RECODED
181deb2e3228484fa9d4ed0e6bf3f4a639d99419
[ "MIT" ]
139
2015-01-02T19:20:53.000Z
2021-05-03T16:54:45.000Z
local_addons/ofxCv/example-gesture/src/ofApp.cpp
yxcde/RTP_MIT_RECODED
181deb2e3228484fa9d4ed0e6bf3f4a639d99419
[ "MIT" ]
195
2015-01-18T05:13:39.000Z
2022-03-21T08:24:37.000Z
#include "ofApp.h" using namespace ofxCv; using namespace cv; void ofApp::setup() { ofSetVerticalSync(true); ofEnableSmoothing(); ofEnableAlphaBlending(); ofSetLineWidth(3); ofSetFrameRate(120); } void ofApp::update() { } void ofApp::draw() { ofBackground(0); ofSetColor(255, 64); polyline.draw(); switch...
18.7
65
0.713904
yxcde
4de02a6730eedb7fe2158b32483e9c1f5c3e26ce
177
cpp
C++
non-iOS/antlr4_generated_src/init_parser/InitFileParserListener.cpp
opendragon/IF
11e9132b896a67115b8fc9fc9cddcd592b838bfa
[ "BSD-3-Clause" ]
null
null
null
non-iOS/antlr4_generated_src/init_parser/InitFileParserListener.cpp
opendragon/IF
11e9132b896a67115b8fc9fc9cddcd592b838bfa
[ "BSD-3-Clause" ]
null
null
null
non-iOS/antlr4_generated_src/init_parser/InitFileParserListener.cpp
opendragon/IF
11e9132b896a67115b8fc9fc9cddcd592b838bfa
[ "BSD-3-Clause" ]
null
null
null
// Generated from /Volumes/Shejidan/git.repositories/IF/non-iOS/../InitFile/InitFileParser.g4 by ANTLR 4.8 #include "InitFileParserListener.h" using namespace InitParser;
17.7
106
0.779661
opendragon
4de37c1987a34efbda06b44fed249896d9a9865b
15,204
cpp
C++
src/sprite.cpp
GhostInABottle/octopus_engine
50429e889493527bdc0e78b307937002e0f2c510
[ "BSD-2-Clause" ]
null
null
null
src/sprite.cpp
GhostInABottle/octopus_engine
50429e889493527bdc0e78b307937002e0f2c510
[ "BSD-2-Clause" ]
null
null
null
src/sprite.cpp
GhostInABottle/octopus_engine
50429e889493527bdc0e78b307937002e0f2c510
[ "BSD-2-Clause" ]
null
null
null
#include "../include/sprite.hpp" #include "../include/sprite_data.hpp" #include "../include/map_object.hpp" #include "../include/canvas.hpp" #include "../include/object_layer.hpp" #include "../include/object_layer_renderer.hpp" #include "../include/image_layer.hpp" #include "../include/game.hpp" #include "../include/co...
32.143763
127
0.587872
GhostInABottle
4de479230edb288dc4c57ca2b364fcc1ab9474bc
195
cpp
C++
Software/CPU/myscrypt/build/cmake-3.12.3/Tests/AliasTarget/targetgenerator.cpp
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
107
2021-08-28T20:08:42.000Z
2022-03-22T08:02:16.000Z
Software/CPU/myscrypt/build/cmake-3.12.3/Tests/AliasTarget/targetgenerator.cpp
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
3
2021-09-08T02:18:00.000Z
2022-03-12T00:39:44.000Z
Software/CPU/myscrypt/build/cmake-3.12.3/Tests/AliasTarget/targetgenerator.cpp
duonglvtnaist/Multi-ROMix-Scrypt-Accelerator
9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8
[ "MIT" ]
16
2021-08-30T06:57:36.000Z
2022-03-22T08:05:52.000Z
#include <fstream> int main(int argc, char** argv) { std::ofstream fout("targetoutput.h"); if (!fout) return 1; fout << "#define TARGETOUTPUT_DEFINE\n"; fout.close(); return 0; }
15
42
0.630769
duonglvtnaist
4e2896425937add552d5ce4aedf077c28aac0cee
5,027
hpp
C++
include/nodamushi/svd/svd_reader.hpp
nodamushi/nsvd-reader
cf3a840aaac78d5791df1cf045596ec20dc03257
[ "CC0-1.0" ]
null
null
null
include/nodamushi/svd/svd_reader.hpp
nodamushi/nsvd-reader
cf3a840aaac78d5791df1cf045596ec20dc03257
[ "CC0-1.0" ]
null
null
null
include/nodamushi/svd/svd_reader.hpp
nodamushi/nsvd-reader
cf3a840aaac78d5791df1cf045596ec20dc03257
[ "CC0-1.0" ]
null
null
null
/*! @brief svd_reader @file nodamushi/svd/svd_reader.hpp */ /* * These codes are licensed under CC0. * http://creativecommons.org/publicdomain/zero/1.0/ */ #ifndef NODAMUSHI_SVD_SVD_READER_HPP #define NODAMUSHI_SVD_SVD_READER_HPP # include "nodamushi/const_string.hpp" # include "nodamushi/boxvec.hpp" # include...
22.048246
74
0.636364
nodamushi
4e3543d791d949534f562cd11bd3278e14a298d5
2,771
inl
C++
dist/include/Fuji/MFHashList.inl
TurkeyMan/fuji
afd6a26c710ce23965b088ad158fe916d6a1a091
[ "BSD-2-Clause" ]
35
2015-01-19T22:07:48.000Z
2022-02-21T22:17:53.000Z
dist/include/Fuji/MFHashList.inl
TurkeyMan/fuji
afd6a26c710ce23965b088ad158fe916d6a1a091
[ "BSD-2-Clause" ]
1
2022-02-23T09:34:15.000Z
2022-02-23T09:34:15.000Z
dist/include/Fuji/MFHashList.inl
TurkeyMan/fuji
afd6a26c710ce23965b088ad158fe916d6a1a091
[ "BSD-2-Clause" ]
4
2015-05-11T03:31:35.000Z
2018-09-27T04:55:57.000Z
template<class T> const T* MFHashList<T>::operator[](const char *pHashString) const { uint32 crc = MFUtil_CrcString(pHashBuffer); uint32 id = crc%listSize; //..... } template<class T> T* MFHashList<T>::operator[](const char *pHashString) { uint32 crc = MFUtil_CrcString(pHashBuffer); uint32 id = crc%...
20.679104
156
0.653555
TurkeyMan
4e3939b19ea82d41e8b79c1b4eef53ade4cc59ed
1,266
cpp
C++
draw_rr_robot.cpp
HebiRobotics/RobotDiagrams
722040e919bd3ecf89fc5df65233aff9ce6ad6c8
[ "MIT" ]
5
2018-02-13T02:40:45.000Z
2021-04-02T01:23:12.000Z
draw_rr_robot.cpp
HebiRobotics/RobotDiagrams
722040e919bd3ecf89fc5df65233aff9ce6ad6c8
[ "MIT" ]
null
null
null
draw_rr_robot.cpp
HebiRobotics/RobotDiagrams
722040e919bd3ecf89fc5df65233aff9ce6ad6c8
[ "MIT" ]
1
2019-03-16T07:45:20.000Z
2019-03-16T07:45:20.000Z
#include "robot_diagrams_0.0.hpp" int main() { // TODO: messy! figure out the C++03 way to do this right... // NOTE: in C++11, these could be unique_ptrs... // Build robot: // Link 1: // l = 100 // theta = pi/4 // Line 2: // l = 50 // theta = pi/8 // End effector: rob_diag::Robot robot; rob...
30.142857
78
0.668246
HebiRobotics
4e40271d3c05cc41522e8de3a7c1b09c9e60bfde
946
cpp
C++
04 April Leetcode Challenge 2021/17 removeAdjString2.cpp
FazeelUsmani/Leetcode
aff4c119178f132c28a39506ffaa75606e0a861b
[ "MIT" ]
7
2020-12-01T14:27:57.000Z
2022-02-12T09:17:22.000Z
04 April Leetcode Challenge 2021/17 removeAdjString2.cpp
FazeelUsmani/Leetcode
aff4c119178f132c28a39506ffaa75606e0a861b
[ "MIT" ]
4
2020-11-12T17:49:22.000Z
2021-09-06T07:46:37.000Z
04 April Leetcode Challenge 2021/17 removeAdjString2.cpp
FazeelUsmani/Leetcode
aff4c119178f132c28a39506ffaa75606e0a861b
[ "MIT" ]
6
2021-05-21T03:49:22.000Z
2022-01-20T20:36:53.000Z
class Solution { public: string removeDuplicates(string s, int k) { // support variables string res; int counter, tot = s.size(), pos = 0, prevPos; pair<char, int> stack[tot]; // parsing s for (char c: s) { prevPos = pos - 1; // case 1: new ins...
29.5625
70
0.438689
FazeelUsmani
4e42b370cefd6081554867c536f6fdf68f1140fb
7,037
cc
C++
tests/checkers/checker.cc
numairmansur/crab
316e3946d3a4d92db638c54fbfa8fb7bee1ebbc7
[ "Apache-2.0" ]
4
2021-05-19T17:35:30.000Z
2021-08-17T04:03:21.000Z
tests/checkers/checker.cc
numairmansur/crab
316e3946d3a4d92db638c54fbfa8fb7bee1ebbc7
[ "Apache-2.0" ]
null
null
null
tests/checkers/checker.cc
numairmansur/crab
316e3946d3a4d92db638c54fbfa8fb7bee1ebbc7
[ "Apache-2.0" ]
1
2022-01-15T11:20:30.000Z
2022-01-15T11:20:30.000Z
#include "../program_options.hpp" #include "../common.hpp" #include <crab/checkers/base_property.hpp> #include <crab/checkers/null.hpp> #include <crab/checkers/div_zero.hpp> #include <crab/checkers/assertion.hpp> #include <crab/checkers/checker.hpp> #include <crab/analysis/dataflow/assertion_crawler.hpp> #include <crab...
31.137168
95
0.647293
numairmansur
4e49a7fefdd9e99a662c62d628dc49a1394a442a
34,868
cpp
C++
src/libs/viface/viface.cpp
francescomessina/polycube
38f2fb4ffa13cf51313b3cab9994be738ba367be
[ "ECL-2.0", "Apache-2.0" ]
337
2018-12-12T11:50:15.000Z
2022-03-15T00:24:35.000Z
src/libs/viface/viface.cpp
l1b0k/polycube
7af919245c131fa9fe24c5d39d10039cbb81e825
[ "ECL-2.0", "Apache-2.0" ]
253
2018-12-17T21:36:15.000Z
2022-01-17T09:30:42.000Z
src/libs/viface/viface.cpp
l1b0k/polycube
7af919245c131fa9fe24c5d39d10039cbb81e825
[ "ECL-2.0", "Apache-2.0" ]
90
2018-12-19T15:49:38.000Z
2022-03-27T03:56:07.000Z
/** * Copyright (C) 2015 Hewlett Packard Enterprise Development LP * * 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 requi...
28.347967
80
0.52085
francescomessina
4e4d01653ccd5b2005f830cb05245bc5eb02fd1f
2,082
hpp
C++
zen/tuple.hpp
ZenLibraries/ZenLibraries
ae189b5080c75412cbd4f33cf6cfb51e15f6ee66
[ "Apache-2.0" ]
null
null
null
zen/tuple.hpp
ZenLibraries/ZenLibraries
ae189b5080c75412cbd4f33cf6cfb51e15f6ee66
[ "Apache-2.0" ]
2
2020-02-06T17:01:39.000Z
2020-02-12T17:50:14.000Z
zen/tuple.hpp
ZenLibraries/ZenLibraries
ae189b5080c75412cbd4f33cf6cfb51e15f6ee66
[ "Apache-2.0" ]
null
null
null
#ifndef ZEN_TUPLE_HPP #define ZEN_TUPLE_HPP #include "zen/config.h" #include "zen/meta.hpp" ZEN_NAMESPACE_START template<typename T> struct IsEmpty; template<size_t I, typename ValueT, bool IsEmpty = IsEmpty<ValueT>::value> class _TupleLeaf { ValueT value; }; template<size_t ...I> struct _TupleIndices {}; tem...
20.82
91
0.685879
ZenLibraries
4e4dfa73660b3973982c98467dfb425e9c4efb25
255
cpp
C++
src/fft_x86_sse41.cpp
mzient/genFFT
93e778ba6c16b989fe0eb3150e1e56fcac6f665c
[ "BSD-2-Clause" ]
3
2019-10-30T11:17:32.000Z
2019-11-04T16:38:37.000Z
src/fft_x86_sse41.cpp
mzient/genFFT
93e778ba6c16b989fe0eb3150e1e56fcac6f665c
[ "BSD-2-Clause" ]
null
null
null
src/fft_x86_sse41.cpp
mzient/genFFT
93e778ba6c16b989fe0eb3150e1e56fcac6f665c
[ "BSD-2-Clause" ]
null
null
null
#include <cassert> #include <smmintrin.h> #include <genFFT/FFTLevel.h> #include <genFFT/generic/fft_impl_generic.h> #include "dispatch_helper.h" namespace genfft { namespace impl_SSE41 { #include <genFFT/x86/fft_impl_x86.inl> DISPATCH_ALL() } }
18.214286
44
0.745098
mzient
4e4f4236e4e4e37a73a068f75f77abf5d1ba4e7a
2,125
cpp
C++
ares/ngp/kge/sprite.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
ares/ngp/kge/sprite.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
ares/ngp/kge/sprite.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
//technically, the Neo Geo Pocket attempts to buffer a line of sprites in advance. //so long as the user program does not write to VRAM during display, it can render //all 64 sprites on the same line. currently, the "character over" condition when //writing to VRAM during active display is not emulated, nor is the exac...
27.960526
86
0.603765
CasualPokePlayer
4e51aed902d19268ced31e4b9cddd7a9870820a5
1,381
cpp
C++
firmware/lib/LCDMenu/LCDMenu.cpp
nowtechnologies/open_ozone_controller
38999144a71794eb44ba3ed1d4227068e6253085
[ "Unlicense" ]
null
null
null
firmware/lib/LCDMenu/LCDMenu.cpp
nowtechnologies/open_ozone_controller
38999144a71794eb44ba3ed1d4227068e6253085
[ "Unlicense" ]
null
null
null
firmware/lib/LCDMenu/LCDMenu.cpp
nowtechnologies/open_ozone_controller
38999144a71794eb44ba3ed1d4227068e6253085
[ "Unlicense" ]
null
null
null
#include <LiquidCrystal.h> #include <Arduino.h> #include "LCDMenu.h" LCDMenu::LCDMenu(String newName, LiquidCrystal* newLCD, LCDMenu* parentMenu) { setName(newName); setLCD(newLCD); menuFirst = NULL; menuLast = NULL; parent = parentMenu; } void LCDMenu::setName(String newName) { Name = newName; } LCDMenuI...
16.247059
76
0.678494
nowtechnologies