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
d2813b5b4f4a00082b3336869334f58be45e8df3
333
cpp
C++
code/String_Game.cpp
Shiv-sharma-111/Data-Structure
4ce78da070ca2fb3a8552e9997e2607be25ff16e
[ "MIT" ]
null
null
null
code/String_Game.cpp
Shiv-sharma-111/Data-Structure
4ce78da070ca2fb3a8552e9997e2607be25ff16e
[ "MIT" ]
null
null
null
code/String_Game.cpp
Shiv-sharma-111/Data-Structure
4ce78da070ca2fb3a8552e9997e2607be25ff16e
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int t; scanf("%d",&t); while(t--) { string s; cin>>s; int a[26]={0}; int size=s.length(); int c=0; for(int i=0;i<size;i++) { a[s[i]-'a']++; } for(int i=0;i<26;i++) { if(a[i]!=0) c++; } if(c%2==0) printf("Player2\n"); else printf("Player1...
11.482759
24
0.501502
Shiv-sharma-111
d283e01ba3530f404def365a0b75658d14629606
1,277
hpp
C++
protean/detail/tuple.hpp
llawall/protean
31496f177704dc31b24cda5863e5ca921f5f0945
[ "BSL-1.0" ]
null
null
null
protean/detail/tuple.hpp
llawall/protean
31496f177704dc31b24cda5863e5ca921f5f0945
[ "BSL-1.0" ]
null
null
null
protean/detail/tuple.hpp
llawall/protean
31496f177704dc31b24cda5863e5ca921f5f0945
[ "BSL-1.0" ]
null
null
null
// (C) Copyright Johan Ditmar, Karel Hruda, Paul O'Neill & Luke Stedman 2009. // Use, modification and distribution are subject to 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 PROTEAN_DETAIL_TUPLE_HPP #define PROTEAN...
27.170213
81
0.657792
llawall
d284d1f4d7a9e16f1ce190c9bf4fa61e9d993795
8,562
inl
C++
src/common/graph/AuthResponseOps.inl
linkensphere201/nebula-common-personal
e31b7e88326195a08ac0460fd469326455df6417
[ "Apache-2.0" ]
null
null
null
src/common/graph/AuthResponseOps.inl
linkensphere201/nebula-common-personal
e31b7e88326195a08ac0460fd469326455df6417
[ "Apache-2.0" ]
null
null
null
src/common/graph/AuthResponseOps.inl
linkensphere201/nebula-common-personal
e31b7e88326195a08ac0460fd469326455df6417
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2020 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #ifndef COMMON_GRAPH_AUTHRESPONSEOPS_H_ #define COMMON_GRAPH_AUTHRESPONSEOPS_H_ #include "common/base/Base.h" #include...
37.552632
100
0.582925
linkensphere201
d28baa3f6798807a256bb2991cdf1f5cea4804b4
57,421
cpp
C++
DarkSpace/NounPlanet.cpp
SnipeDragon/darkspace
b6a1fa0a29d3559b158156e7b96935bd0a832ee3
[ "MIT" ]
null
null
null
DarkSpace/NounPlanet.cpp
SnipeDragon/darkspace
b6a1fa0a29d3559b158156e7b96935bd0a832ee3
[ "MIT" ]
null
null
null
DarkSpace/NounPlanet.cpp
SnipeDragon/darkspace
b6a1fa0a29d3559b158156e7b96935bd0a832ee3
[ "MIT" ]
null
null
null
/* NounPlanet.cpp (c)1999 PaleStar, Richard Lyle */ #include "Debug/Assert.h" #include "Debug/Profile.h" #include "Render3D/NodeMesh.h" #include "Render3D/NodeComplexMesh.h" #include "Render3D/NodeComplexMesh2.h" #include "Render3D/NodeLight.h" #include "World/VerbChat.h" #include "GadgetShield.h" #include "NounPl...
28.883803
156
0.663712
SnipeDragon
d28e700dd2c1578adaef00d0e33687c530acd07f
648
hpp
C++
include/utility/Properties.hpp
mldelaro/edison-pid-flight-controller
06255628dee5d4c2fefc8cf5a70a24f7ac5cb31b
[ "Apache-2.0" ]
null
null
null
include/utility/Properties.hpp
mldelaro/edison-pid-flight-controller
06255628dee5d4c2fefc8cf5a70a24f7ac5cb31b
[ "Apache-2.0" ]
null
null
null
include/utility/Properties.hpp
mldelaro/edison-pid-flight-controller
06255628dee5d4c2fefc8cf5a70a24f7ac5cb31b
[ "Apache-2.0" ]
null
null
null
#ifndef _PROPERTIES #define _PROPERTIES #include <iostream> #include <map> #include <string> #include <string.h> //strncmp #include <fstream> #include <stdlib.h> // atof using namespace std; class Properties { public: Properties(string filename); string getStringForKey(string key); double getDoubl...
21.6
57
0.740741
mldelaro
d28eb77920d7183f20bbbee6c1c3184b3e058863
455
cpp
C++
IL2CPP/Il2CppOutputProject/IL2CPP/libil2cpp/icalls/System/System.Diagnostics/Stopwatch.cpp
dngoins/AutographTheWorld-MR
24e567c8030b73a6942e25b36b7370667c649b90
[ "MIT" ]
48
2020-03-25T11:18:58.000Z
2022-02-24T06:03:45.000Z
IL2CPP/Il2CppOutputProject/IL2CPP/libil2cpp/icalls/System/System.Diagnostics/Stopwatch.cpp
dngoins/AutographTheWorld-MR
24e567c8030b73a6942e25b36b7370667c649b90
[ "MIT" ]
3
2018-12-27T22:46:43.000Z
2019-03-19T12:28:37.000Z
IL2CPP/Il2CppOutputProject/IL2CPP/libil2cpp/icalls/System/System.Diagnostics/Stopwatch.cpp
dngoins/AutographTheWorld-MR
24e567c8030b73a6942e25b36b7370667c649b90
[ "MIT" ]
30
2020-03-26T19:02:19.000Z
2022-02-16T08:53:33.000Z
#include "il2cpp-config.h" #include "icalls/System/System.Diagnostics/Stopwatch.h" #include "os/Time.h" namespace il2cpp { namespace icalls { namespace System { namespace System { namespace Diagnostics { int64_t Stopwatch::GetTimestamp() { return il2cpp::os::Time::GetTicks100NanosecondsMonotonic(); ...
18.958333
67
0.701099
dngoins
d2911f39f6865935db9c4d0989b2bbd0be0426b2
2,319
hpp
C++
Libraries/Physics/CollisionGroup.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
3
2022-02-11T10:34:33.000Z
2022-02-24T17:44:17.000Z
Libraries/Physics/CollisionGroup.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
Libraries/Physics/CollisionGroup.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #pragma once namespace Zero { /// Represents a label for a Collider to be used with a CollisionTable. class CollisionGroup : public DataResource { public: ZilchDeclareType(CollisionGroup, TypeCopyMode::ReferenceType); CollisionGroup(); ~CollisionGroup(); // Data Resource In...
32.208333
78
0.753773
RyanTylerRae
d2919e9aa69ac8ce3d1a2cf5781d5fd46dfe9e53
1,989
cpp
C++
processing/module_set/yas_processing_module_set.cpp
objective-audio/processing
5aa8bf2d1443f87c530f25f0282c03b9d2bd0293
[ "MIT" ]
null
null
null
processing/module_set/yas_processing_module_set.cpp
objective-audio/processing
5aa8bf2d1443f87c530f25f0282c03b9d2bd0293
[ "MIT" ]
null
null
null
processing/module_set/yas_processing_module_set.cpp
objective-audio/processing
5aa8bf2d1443f87c530f25f0282c03b9d2bd0293
[ "MIT" ]
null
null
null
// // yas_processing_module_set.cpp // #include "yas_processing_module_set.h" #include <processing/yas_processing_module.h> #include <processing/yas_processing_module_set_utils.h> using namespace yas; using namespace yas::proc; module_set::module_set(module_vector_t &&modules) : _modules_holder(module_vector_h...
27.625
99
0.688286
objective-audio
d294de91bb18e554468d938f1fa811227af34383
1,172
hpp
C++
engine/dram_allocator.hpp
asd19951995/kvdk
167206a0bb2702d96b78889e6f7a9e01ce6f835c
[ "BSD-3-Clause" ]
null
null
null
engine/dram_allocator.hpp
asd19951995/kvdk
167206a0bb2702d96b78889e6f7a9e01ce6f835c
[ "BSD-3-Clause" ]
null
null
null
engine/dram_allocator.hpp
asd19951995/kvdk
167206a0bb2702d96b78889e6f7a9e01ce6f835c
[ "BSD-3-Clause" ]
null
null
null
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2021 Intel Corporation */ #pragma once #include "allocator.hpp" #include "assert.h" #include "atomic" #include "kvdk/engine.hpp" #include "logger.hpp" #include "structures.hpp" #include <string> #include <sys/mman.h> namespace KVDK_NAMESPACE { // Chunk based...
26.044444
79
0.714164
asd19951995
d2a193c2421c64b598ddef3a71183a6ca619565e
1,699
hpp
C++
include/yampi/error.hpp
naoki-yoshioka/yampi
d9d121bc352a5a062ff0ddbc948d2bcbad56c473
[ "MIT" ]
1
2019-05-02T23:22:06.000Z
2019-05-02T23:22:06.000Z
include/yampi/error.hpp
naoki-yoshioka/yampi
d9d121bc352a5a062ff0ddbc948d2bcbad56c473
[ "MIT" ]
55
2018-08-09T08:29:40.000Z
2022-03-11T08:11:20.000Z
include/yampi/error.hpp
naoki-yoshioka/yampi
d9d121bc352a5a062ff0ddbc948d2bcbad56c473
[ "MIT" ]
null
null
null
#ifndef YAMPI_ERROR_HPP # define YAMPI_ERROR_HPP # include <boost/config.hpp> # include <string> # include <stdexcept> # include <mpi.h> namespace yampi { class error_in_error : public std::runtime_error { public: explicit error_in_error(std::string const& where) : std::runtime_error( ...
24.623188
94
0.668629
naoki-yoshioka
d2a487160c957a49d5251f98a45e6ecd0cb9c3d6
455
cpp
C++
src/Kobieta.cpp
kiimchi/DEADlines
929f5dbdfa0aa3883e375d6d518195c944353ab5
[ "MIT" ]
null
null
null
src/Kobieta.cpp
kiimchi/DEADlines
929f5dbdfa0aa3883e375d6d518195c944353ab5
[ "MIT" ]
null
null
null
src/Kobieta.cpp
kiimchi/DEADlines
929f5dbdfa0aa3883e375d6d518195c944353ab5
[ "MIT" ]
null
null
null
// // Created by student on 2/2/20. // #include "Kobieta.h" Kobieta::Kobieta(int x,int y,int live):Character(x,y) { Character::setLives(live); Character::setCounter(200); Character::setVelocity(4); person=TextureMenager::LoadTexture("/home/student/CLionProjects/local/zustyna/DEADlines/textures/girl.png"); ...
32.5
112
0.738462
kiimchi
d2ac036763419cb97652e164c7bc37a05944db59
1,618
cpp
C++
Skip_List/code/mythread.cpp
AjdeDjokovic/DataStructureCourseDesign
ea8c1cd422714ca39f8100927f044159c58fc74e
[ "MIT" ]
3
2020-05-15T20:33:54.000Z
2021-11-25T02:25:17.000Z
Skip_List/code/mythread.cpp
AjdeDjokovic/DataStructureCourseDesign
ea8c1cd422714ca39f8100927f044159c58fc74e
[ "MIT" ]
null
null
null
Skip_List/code/mythread.cpp
AjdeDjokovic/DataStructureCourseDesign
ea8c1cd422714ca39f8100927f044159c58fc74e
[ "MIT" ]
1
2022-03-10T13:48:45.000Z
2022-03-10T13:48:45.000Z
#include "mythread.h" int generateRandomInteger(int min, int max) { Q_ASSERT(min < max); // 加入随机种子。种子是当前时间距离0点0分0秒的秒数。 // 每次启动程序,只添加一次种子,以做到数字真正随机。 static bool seedStatus; if (!seedStatus) { qsrand(QTime(0, 0, 0).secsTo(QTime::currentTime())); seedStatus = true; } int nR...
19.261905
83
0.590235
AjdeDjokovic
d2ac65fb1ca82831b00328df36e355f1c78d3f0a
2,509
hpp
C++
include/python_token_type.hpp
AJacques-UDS/Hubbart
b1b04989cb4be2c36dfdd17bd23eb5348ad5eede
[ "MIT" ]
null
null
null
include/python_token_type.hpp
AJacques-UDS/Hubbart
b1b04989cb4be2c36dfdd17bd23eb5348ad5eede
[ "MIT" ]
null
null
null
include/python_token_type.hpp
AJacques-UDS/Hubbart
b1b04989cb4be2c36dfdd17bd23eb5348ad5eede
[ "MIT" ]
null
null
null
//===-- python_token_type.hpp - Instruction class definition ----*- C++ -*-===// // // Part of the Hubbart Project, under the MIT License. // See https://mit-license.org/ for license information. // SPDX-License-Identifier: MIT License // //===----------------------------------------------------------------------===// ...
20.735537
127
0.591471
AJacques-UDS
d2affc8143d922680e89b25c471f82b509574378
1,475
cpp
C++
dmengine/tests/dmlibrary/dmlibrary_test.cpp
damao1222/dmengine
09ab62c043a520f8f6b15eb8790c7ee56c006931
[ "Apache-2.0" ]
null
null
null
dmengine/tests/dmlibrary/dmlibrary_test.cpp
damao1222/dmengine
09ab62c043a520f8f6b15eb8790c7ee56c006931
[ "Apache-2.0" ]
null
null
null
dmengine/tests/dmlibrary/dmlibrary_test.cpp
damao1222/dmengine
09ab62c043a520f8f6b15eb8790c7ee56c006931
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2012-2014 Xiongfa Li 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 Unless required by ap...
26.339286
96
0.694237
damao1222
d2b1a3e3040ef7ca8a8bcbc4c06e8c468db33f4c
2,591
cpp
C++
_posts/data-structure/list/slist.cpp
superLish/superLish.github.io
4e33fb01411aab3e5bd1a5bdff61a6495434645d
[ "MIT" ]
1
2021-06-20T16:32:50.000Z
2021-06-20T16:32:50.000Z
_posts/data-structure/list/slist.cpp
superLish/superLish.github.io
4e33fb01411aab3e5bd1a5bdff61a6495434645d
[ "MIT" ]
null
null
null
_posts/data-structure/list/slist.cpp
superLish/superLish.github.io
4e33fb01411aab3e5bd1a5bdff61a6495434645d
[ "MIT" ]
null
null
null
// 单向链表实现 #include<iostream> using namespace std; // 节点类 template<class T> class Node { public: Node() { next = 0; } Node(T e, Node* p = 0) :data(e), next(p) {} T data; //节点信息 Node<T>* next; //下一节点地址 }; //单向链表类 template<class T> class SList { public: SList(); virtual ~SList(); bool isEmpty...
19.051471
106
0.549981
superLish
d2b259eb78433d3dbd7e3187f976ea5cbba84e76
14,057
cc
C++
node_modules/aerospike/src/main/client/info.cc
pygupta/tweetaspike
bc15d20fe7111cabc6e6d0e2e84784cd44bd734f
[ "Apache-2.0" ]
1
2021-08-09T04:47:07.000Z
2021-08-09T04:47:07.000Z
node_modules/aerospike/src/main/client/info.cc
pygupta/tweetaspike
bc15d20fe7111cabc6e6d0e2e84784cd44bd734f
[ "Apache-2.0" ]
null
null
null
node_modules/aerospike/src/main/client/info.cc
pygupta/tweetaspike
bc15d20fe7111cabc6e6d0e2e84784cd44bd734f
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2013 Aerospike Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, ...
34.285366
135
0.567048
pygupta
d2b3cd628554517e53195b8ecd02e9f39c37f4ff
2,329
cpp
C++
tc 160+/FarFromPrimes.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/FarFromPrimes.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/FarFromPrimes.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> using namespace std; #define N 10000 unsigned primes[N]; void nprime(int x) { primes[x/16] |= (1u<<(x%16)); } bool is_prime(int x) { return !((prim...
31.90411
309
0.567196
ibudiselic
d2b5e88c49214996f6a86949fb9e85dab0527b29
187
hpp
C++
include/OrganizedPointFilters/RS/RS.hpp
oori/OrganizedPointFilters
9030badec776e4bb4d98a397767630efb9dc078f
[ "MIT" ]
2
2021-01-30T09:45:05.000Z
2021-04-13T09:21:19.000Z
include/OrganizedPointFilters/RS/RS.hpp
oori/OrganizedPointFilters
9030badec776e4bb4d98a397767630efb9dc078f
[ "MIT" ]
3
2020-12-13T23:09:33.000Z
2022-02-04T02:22:40.000Z
include/OrganizedPointFilters/RS/RS.hpp
oori/OrganizedPointFilters
9030badec776e4bb4d98a397767630efb9dc078f
[ "MIT" ]
3
2021-02-20T03:55:32.000Z
2021-09-17T08:25:23.000Z
#ifndef ORGANIZEDPOINTFILTERS_RS #define ORGANIZEDPOINTFILTERS_RS #include "OrganizedPointFilters/RS/SpatialFilter.hpp" #include "OrganizedPointFilters/RS/DisparityTransform.hpp" #endif
26.714286
58
0.86631
oori
d2b7f12054cc0b46ec53bf72e4ab018e99e1017d
4,063
hpp
C++
common/cxx/adstutil_cxx/include/adstutil_cxx/compiler_diagnostics.hpp
csitarichie/someip_cyclone_dds_bridge
2ccaaa6e2484a938b08562497431df61ab23769f
[ "MIT" ]
null
null
null
common/cxx/adstutil_cxx/include/adstutil_cxx/compiler_diagnostics.hpp
csitarichie/someip_cyclone_dds_bridge
2ccaaa6e2484a938b08562497431df61ab23769f
[ "MIT" ]
null
null
null
common/cxx/adstutil_cxx/include/adstutil_cxx/compiler_diagnostics.hpp
csitarichie/someip_cyclone_dds_bridge
2ccaaa6e2484a938b08562497431df61ab23769f
[ "MIT" ]
null
null
null
#pragma once /** \file compiler_diagnostics.hpp Defines macros to help with compiler warnings/errors. */ /** * \brief Convert \a s to a string literal using the `#` preprocessor * operator. * * \param s String to stringize. */ #define ADST_STRINGIZE(s) #s /** * \def ADST_DISABLE_WARNING(warning_name) *...
30.320896
107
0.716712
csitarichie
d2be2ee99244c4ca224d3fa9fbfd841f1bd662f8
3,693
cpp
C++
src/game/client/object_motion_blur_effect.cpp
SCell555/hl2-asw-port
16441f599c6b2d3fd051ee2805cc08680dedbb03
[ "MIT" ]
null
null
null
src/game/client/object_motion_blur_effect.cpp
SCell555/hl2-asw-port
16441f599c6b2d3fd051ee2805cc08680dedbb03
[ "MIT" ]
null
null
null
src/game/client/object_motion_blur_effect.cpp
SCell555/hl2-asw-port
16441f599c6b2d3fd051ee2805cc08680dedbb03
[ "MIT" ]
1
2020-11-24T22:01:21.000Z
2020-11-24T22:01:21.000Z
//============ Copyright (c) Valve Corporation, All rights reserved. ============ // // Functionality to render object motion blur // //=============================================================================== #include "cbase.h" #include "object_motion_blur_effect.h" #include "model_types.h" ConVar mat_object_m...
31.564103
160
0.749255
SCell555
d2c217d8003f1d103d98b2a402104278aed20296
2,505
cxx
C++
tests/core/moneta/pp/detail/cat_include_name_test.cxx
madera/Moneta
4c0da911bceb511d7d1133699b0d85216bb63d74
[ "BSL-1.0" ]
2
2015-10-09T12:11:54.000Z
2016-01-20T15:34:33.000Z
tests/core/moneta/pp/detail/cat_include_name_test.cxx
madera/Moneta
4c0da911bceb511d7d1133699b0d85216bb63d74
[ "BSL-1.0" ]
5
2015-07-04T20:31:32.000Z
2015-07-04T20:44:58.000Z
tests/core/moneta/pp/detail/cat_include_name_test.cxx
madera/Moneta
4c0da911bceb511d7d1133699b0d85216bb63d74
[ "BSL-1.0" ]
null
null
null
// [===========================================================================] // [ M o n e t a ] // [---------------------------------------------------------------------------] // [ ...
61.097561
137
0.578044
madera
d2c6c3184c6b2e5d3f0af715b625c0d21c4c3672
85
hpp
C++
include/gkom/Size.hpp
akowalew/mill-opengl
91ef11e6cdbfe691e0073d9883e42c0a29d29b45
[ "MIT" ]
null
null
null
include/gkom/Size.hpp
akowalew/mill-opengl
91ef11e6cdbfe691e0073d9883e42c0a29d29b45
[ "MIT" ]
null
null
null
include/gkom/Size.hpp
akowalew/mill-opengl
91ef11e6cdbfe691e0073d9883e42c0a29d29b45
[ "MIT" ]
null
null
null
#pragma once namespace gkom { struct Size { int width; int height; }; } // gkom
7.083333
16
0.635294
akowalew
d2c90a6fa6c47b2a4dd57c13376cc016785406c8
3,088
cpp
C++
Shark/src/Platform/Windows/PLatformUtils.cpp
morlyno/Shark
27afc267d76e0b69128606479c061685ba8576f8
[ "Apache-2.0" ]
1
2021-01-12T18:50:14.000Z
2021-01-12T18:50:14.000Z
Shark/src/Platform/Windows/PLatformUtils.cpp
morlyno/Shark
27afc267d76e0b69128606479c061685ba8576f8
[ "Apache-2.0" ]
null
null
null
Shark/src/Platform/Windows/PLatformUtils.cpp
morlyno/Shark
27afc267d76e0b69128606479c061685ba8576f8
[ "Apache-2.0" ]
null
null
null
#include "skpch.h" #include "Shark/Utility/PlatformUtils.h" #include "Shark/Core/Application.h" #include "Platform/Windows/WindowsUtility.h" #include <fmt/core.h> namespace Shark { namespace FileDialogs { std::string OpenFile(const char* filter) { // TODO(moro): switch to wide version OPENFILENAMEA of...
24.704
191
0.675194
morlyno
d2c985849a726ef043744447bc0a1806db5a81f9
423
cpp
C++
Pbinfo/Paginare.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
7
2019-01-06T19:10:14.000Z
2021-10-16T06:41:23.000Z
Pbinfo/Paginare.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
null
null
null
Pbinfo/Paginare.cpp
Al3x76/cpp
08a0977d777e63e0d36d87fcdea777de154697b7
[ "MIT" ]
6
2019-01-06T19:17:30.000Z
2020-02-12T22:29:17.000Z
#include <iostream> using namespace std; int main() { int n, v, p, cpv=9+2*90+3*201; //=792 bool ok=true; cin>>n; if(n%cpv==0) v=n/cpv, p=300; else{ v=n/cpv+1; n%=cpv; p=0; if(n<10) p+=n, n=0; else n-=9, p+=9; if(n<=2*90){ if(n%2==0) p+=n/2, n=0; else ok=false; } else p+=90, n-=2*90; ...
12.441176
38
0.503546
Al3x76
d2cc0b55965e246646f4b3f2dd9911b325ba15ac
613
cpp
C++
src/Application/Modules/LoggingModule.cpp
cpv-project/cpv-framework
b0da79c8c57ceecb6b13f4d8658ec4d4c0237668
[ "MIT" ]
86
2018-04-20T04:40:20.000Z
2022-02-09T08:36:28.000Z
src/Application/Modules/LoggingModule.cpp
cpv-project/cpv-framework
b0da79c8c57ceecb6b13f4d8658ec4d4c0237668
[ "MIT" ]
16
2018-04-25T09:34:40.000Z
2020-10-16T03:55:05.000Z
src/Application/Modules/LoggingModule.cpp
cpv-project/cpv-framework
b0da79c8c57ceecb6b13f4d8658ec4d4c0237668
[ "MIT" ]
10
2019-10-07T08:06:15.000Z
2021-07-26T18:46:11.000Z
#include <CPVFramework/Application/Modules/LoggingModule.hpp> namespace cpv { /** Set custom logger */ void LoggingModule::setLogger(const seastar::shared_ptr<Logger>& logger) { logger_ = logger; } /** Do some work for given application state */ seastar::future<> LoggingModule::handle(Container& container, App...
27.863636
88
0.727569
cpv-project
d2cef2e205c1f1af5caee1d621ab381cb14662ff
7,187
cpp
C++
Raytracer/src/Material.cpp
brunolueders/Cook-Raytracer
9bba5b0af04bd60a89b9de601f0560c819b03c24
[ "MIT" ]
1
2018-10-12T19:12:16.000Z
2018-10-12T19:12:16.000Z
Raytracer/src/Material.cpp
brunolueders/Cook-Raytracer
9bba5b0af04bd60a89b9de601f0560c819b03c24
[ "MIT" ]
7
2018-09-03T17:47:58.000Z
2018-09-03T20:17:52.000Z
Raytracer/src/Material.cpp
brunolueders/Cook-Raytracer
9bba5b0af04bd60a89b9de601f0560c819b03c24
[ "MIT" ]
null
null
null
#include "Material.hpp" #include "Util.hpp" #include <iostream> #include <vector> namespace cook { namespace _hemisphereSampling { struct _FuncPoint { float x, y; }; using _FuncPointList = std::vector<_FuncPoint>; /* Calculate Simpson's Rule for reflec...
36.115578
130
0.539864
brunolueders
d2d2bc1f15def1f8aab092842094e1957a149f79
1,893
hpp
C++
lib/mtl4/boost/numeric/mtl/matrices.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
2
2018-07-04T16:44:04.000Z
2021-01-03T07:26:27.000Z
lib/mtl4/boost/numeric/mtl/matrices.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
null
null
null
lib/mtl4/boost/numeric/mtl/matrices.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
null
null
null
// Software License for MTL // // Copyright (c) 2007 The Trustees of Indiana University. // 2008 Dresden University of Technology and the Trustees of Indiana University. // 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com. // All rights reserved. // Authors: Peter Gottschling and And...
40.276596
94
0.7813
spraetor
d2d5642ebbd2ac8d2991bee27c3c98d095fed789
14,106
cpp
C++
Development/mdns/bonjour_dns_impl.cpp
cylonbrain/nmos-cpp
727b52efddb7eca692248c81cc37d2e4a07b6407
[ "Apache-2.0" ]
1
2018-02-22T15:46:46.000Z
2018-02-22T15:46:46.000Z
Development/mdns/bonjour_dns_impl.cpp
cylonbrain/nmos-cpp
727b52efddb7eca692248c81cc37d2e4a07b6407
[ "Apache-2.0" ]
null
null
null
Development/mdns/bonjour_dns_impl.cpp
cylonbrain/nmos-cpp
727b52efddb7eca692248c81cc37d2e4a07b6407
[ "Apache-2.0" ]
null
null
null
#include "mdns/bonjour_dns_impl.h" #include <boost/algorithm/string/predicate.hpp> #include <boost/algorithm/string/erase.hpp> #include "cpprest/basic_utils.h" #include "cpprest/host_utils.h" #include "slog/all_in_one.h" #ifdef _WIN32 // winsock2.h provides htons #else // POSIX #include <arpa/inet.h> // for htons #en...
35.442211
226
0.6113
cylonbrain
d2de57287df0ef593078001c326f07ade038f350
2,456
cpp
C++
convert_multicut_to_text.cpp
pawelswoboda/opengm-converter
0333a085fcc0d1fc46ab24d4e5c85b6f0b6873b5
[ "BSD-2-Clause" ]
null
null
null
convert_multicut_to_text.cpp
pawelswoboda/opengm-converter
0333a085fcc0d1fc46ab24d4e5c85b6f0b6873b5
[ "BSD-2-Clause" ]
null
null
null
convert_multicut_to_text.cpp
pawelswoboda/opengm-converter
0333a085fcc0d1fc46ab24d4e5c85b6f0b6873b5
[ "BSD-2-Clause" ]
null
null
null
#include <fstream> #include "opengm/opengm.hxx" #include "opengm/graphicalmodel/graphicalmodel.hxx" #include "opengm/graphicalmodel/graphicalmodel_hdf5.hxx" #include "opengm/operations/adder.hxx" #include "assert.h" int main(int argc, char** argv) { assert(argc == 3); // first arg input in opengm format, second is ...
55.818182
207
0.594055
pawelswoboda
d2df48fa30e5b62f5b8ff2de6c2d974196b70276
613
cc
C++
examples/crash_print_stacktrace.cc
ShawnFeng0/stacktrace
3795470563793ff5b66aea4a734fecf8e68f5a13
[ "MIT" ]
null
null
null
examples/crash_print_stacktrace.cc
ShawnFeng0/stacktrace
3795470563793ff5b66aea4a734fecf8e68f5a13
[ "MIT" ]
null
null
null
examples/crash_print_stacktrace.cc
ShawnFeng0/stacktrace
3795470563793ff5b66aea4a734fecf8e68f5a13
[ "MIT" ]
null
null
null
// // Created by shawnfeng on 2021/9/18. // #include <cstdlib> #include <iostream> #include <thread> #include "backtrace.h" #include "stacktrace/stacktrace_with_dllib.h" static void exit_handle(int32_t signal_num) { std::cout << "handle signal:" << strsignal(signal_num) << std::endl; std::cout << stacktrace_dl::...
21.892857
102
0.693312
ShawnFeng0
d2e0785334f9b361dc8aa202f5eb759788da6642
481
cpp
C++
luogu/p1059.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
luogu/p1059.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
luogu/p1059.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> int main(int argc, char const *argv[]) { int n; std::cin >> n; int a[n]; int i; for (i = 0; i < n; ++i) { std::cin >> a[i]; } std::sort(a,a+n); for (i = 0; i < n; ++i) { if (a[i+1] == a[i]) { a[i] = 0; } } int cnt = 0; for (i = 0; i < n; ++i) { ...
10.688889
38
0.397089
ajidow
5e4dcc2798ad84200ed48f2315b53ddcda490a73
2,828
cpp
C++
BnxUnixDriver.cpp
nslay/ircbnx
763d1cb0c7eb006bcb1baa1a9b51337db0653f01
[ "BSD-3-Clause" ]
1
2020-01-18T08:11:18.000Z
2020-01-18T08:11:18.000Z
BnxUnixDriver.cpp
nslay/ircbnx
763d1cb0c7eb006bcb1baa1a9b51337db0653f01
[ "BSD-3-Clause" ]
null
null
null
BnxUnixDriver.cpp
nslay/ircbnx
763d1cb0c7eb006bcb1baa1a9b51337db0653f01
[ "BSD-3-Clause" ]
null
null
null
/*- * Copyright (c) 2013 Nathan Lay (nslay@users.sourceforge.net) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * ...
25.944954
76
0.718529
nslay
5e52d5ec5799cfeb89a1bef82d853314a4e58baa
3,266
cpp
C++
source/main.cpp
SC-Develop/SCD-Shoutcast
3f7c45b1606e0ed698039e2a6d487bc30cc08754
[ "MIT" ]
1
2020-02-17T09:59:21.000Z
2020-02-17T09:59:21.000Z
source/main.cpp
SC-Develop/SCD-Shoutcast
3f7c45b1606e0ed698039e2a6d487bc30cc08754
[ "MIT" ]
null
null
null
source/main.cpp
SC-Develop/SCD-Shoutcast
3f7c45b1606e0ed698039e2a6d487bc30cc08754
[ "MIT" ]
null
null
null
/** * @brief SCDShoutcast Demo - https://github.com/sc-develop * * @author Ing. Salvatore Cerami - dev.salvatore.cerami@gmail.com */ #include <QCoreApplication> #include <QTextStream> #include <QSettings> #include <QFile> #include <QFileInfo> #include "../shoutcast.hpp" #include <unistd.h> /** * @brief main * @pa...
22.839161
109
0.598592
SC-Develop
5e531aab973a60799c2284953b7445616ee99778
1,389
cpp
C++
LookupTable/0001-Two-Sum/main2-4ms.cpp
FeiZhao0531/PlayLeetCode
ed23477fd6086d5139bda3d93feeabc09b06854d
[ "MIT" ]
5
2019-05-11T18:33:32.000Z
2019-12-13T09:13:02.000Z
LookupTable/0001-Two-Sum/main2-4ms.cpp
FeiZhao0531/PlayLeetCode
ed23477fd6086d5139bda3d93feeabc09b06854d
[ "MIT" ]
null
null
null
LookupTable/0001-Two-Sum/main2-4ms.cpp
FeiZhao0531/PlayLeetCode
ed23477fd6086d5139bda3d93feeabc09b06854d
[ "MIT" ]
null
null
null
/// Source : https://leetcode.com/problems/two-sum/description/ /// Author : Fei /// Time : May-20-2019 #include <iostream> #include <vector> #include <cassert> #include <unordered_map> #include <algorithm> using namespace std; /// Sort and two-pointers /// Time Complexity: O(n) /// Space Complexity: O(n) class So...
22.403226
67
0.50396
FeiZhao0531
5e595f1af55551c03d194e78b98d0fd0885ef41a
38,866
cpp
C++
libnd4j/blas/cpu/NDArrayFactory.cpp
Raffaello/deeplearning4j
08374fdd6a154712869a1403f59f49132f39c66a
[ "Apache-2.0" ]
null
null
null
libnd4j/blas/cpu/NDArrayFactory.cpp
Raffaello/deeplearning4j
08374fdd6a154712869a1403f59f49132f39c66a
[ "Apache-2.0" ]
null
null
null
libnd4j/blas/cpu/NDArrayFactory.cpp
Raffaello/deeplearning4j
08374fdd6a154712869a1403f59f49132f39c66a
[ "Apache-2.0" ]
1
2022-02-05T08:02:18.000Z
2022-02-05T08:02:18.000Z
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
57.240059
179
0.685947
Raffaello
5e5ebd6fec02165e7cb55e76867f90e926d02289
22,903
cpp
C++
libs/tm-parser/textmate/parser/parser.cpp
icedman/flutter_editor
3ed8bba5774c3d5653a7c07dc5572ee85996d5fc
[ "MIT" ]
6
2022-03-12T23:20:52.000Z
2022-03-21T03:13:54.000Z
libs/tm-parser/textmate/parser/parser.cpp
icedman/flutter_editor
3ed8bba5774c3d5653a7c07dc5572ee85996d5fc
[ "MIT" ]
1
2022-03-29T15:25:49.000Z
2022-03-30T01:53:53.000Z
libs/tm-parser/textmate/parser/parser.cpp
icedman/flutter_editor
3ed8bba5774c3d5653a7c07dc5572ee85996d5fc
[ "MIT" ]
3
2022-03-17T00:18:57.000Z
2022-03-29T12:13:03.000Z
#include "grammar.h" #include "parse.h" #include <cstring> #include <iostream> #include <map> #include <set> #include <string> #include <vector> #include "onigmognu.h" static size_t const kParserMaxLineSize = 4096; namespace { static std::string replace_in_string(std::string str, std::string from, std::string ...
34.544495
127
0.550583
icedman
5e5ef755379882b4f347290991419028e4f3cac2
871
cpp
C++
tests/test_manager_lib.cpp
utevo/Multiprocess-filesystem
38ce2c53bd18a8946c1d01c071e5d1c0b6c1f348
[ "MIT" ]
null
null
null
tests/test_manager_lib.cpp
utevo/Multiprocess-filesystem
38ce2c53bd18a8946c1d01c071e5d1c0b6c1f348
[ "MIT" ]
null
null
null
tests/test_manager_lib.cpp
utevo/Multiprocess-filesystem
38ce2c53bd18a8946c1d01c071e5d1c0b6c1f348
[ "MIT" ]
null
null
null
#include "../libraries/manager/lib.hpp" #include <cassert> bool TestCalcInodeBitmapBlocks() { if (CalcInodeBitmapBlocks(1) != 1) return false; if (CalcInodeBitmapBlocks(256) != 1) return false; if (CalcInodeBitmapBlocks(257) != 2) return false; if (CalcInodeBitmapBlocks(512) != 2) return false...
22.921053
45
0.699196
utevo
5e5fdd24680d8d1409535584c30e7a31430697e7
1,428
cpp
C++
src/mfx/ui/LedInterface.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
69
2017-01-17T13:17:31.000Z
2022-03-01T14:56:32.000Z
src/mfx/ui/LedInterface.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
1
2020-11-03T14:52:45.000Z
2020-12-01T20:31:15.000Z
src/mfx/ui/LedInterface.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
8
2017-02-08T13:30:42.000Z
2021-12-09T08:43:09.000Z
/***************************************************************************** LedInterface.cpp Author: Laurent de Soras, 2016 --- 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 th...
18.789474
78
0.473389
mikelange49
5e649090ad4c0dcec15f63b151a8c23c456fc937
2,565
hpp
C++
headers/irc_server.hpp
mastereuclid/cs494project
8131fb23e20a96c50e7d1252af2bc359e1009a52
[ "Apache-2.0" ]
null
null
null
headers/irc_server.hpp
mastereuclid/cs494project
8131fb23e20a96c50e7d1252af2bc359e1009a52
[ "Apache-2.0" ]
null
null
null
headers/irc_server.hpp
mastereuclid/cs494project
8131fb23e20a96c50e7d1252af2bc359e1009a52
[ "Apache-2.0" ]
null
null
null
#include "irc_msg.hpp" #include "message.hpp" #include "protocol.hpp" #include "responses.hpp" #include <atomic> #include <condition_variable> #include <exception> #include <map> #include <mutex> #include <set> #include <thread> #include <unordered_map> namespace irc::server { class server { public: void start_accept...
28.820225
84
0.711501
mastereuclid
5e6561fca9b84bd6ef0d88ed314315e8c362ecf5
1,420
hpp
C++
Dependencies/include/FileIO/Common/BurpPointer.hpp
upMKuhn/SnailEngine
e1a96791bc9029d227496c164be5dd29f908de92
[ "MIT" ]
null
null
null
Dependencies/include/FileIO/Common/BurpPointer.hpp
upMKuhn/SnailEngine
e1a96791bc9029d227496c164be5dd29f908de92
[ "MIT" ]
null
null
null
Dependencies/include/FileIO/Common/BurpPointer.hpp
upMKuhn/SnailEngine
e1a96791bc9029d227496c164be5dd29f908de92
[ "MIT" ]
null
null
null
#pragma once #include "Common.h" namespace FileIO { namespace Common{ template<typename T> struct is_pointer { static const bool value = false; }; template<typename T> struct is_pointer<T*> { static const bool value = true; }; template <typename T> /// This class is a smarter pointer. It deletes the content once t...
15.604396
91
0.646479
upMKuhn
5e69d626a2ac5b70aaaf25f5ef999e12972faf35
4,125
hpp
C++
include/base_pxfoundations/foundation/PsHash.hpp
DeanoC/base_pxfoundations
8150e24a606b184781bf1552e09f17c03e67e501
[ "BSD-3-Clause" ]
null
null
null
include/base_pxfoundations/foundation/PsHash.hpp
DeanoC/base_pxfoundations
8150e24a606b184781bf1552e09f17c03e67e501
[ "BSD-3-Clause" ]
null
null
null
include/base_pxfoundations/foundation/PsHash.hpp
DeanoC/base_pxfoundations
8150e24a606b184781bf1552e09f17c03e67e501
[ "BSD-3-Clause" ]
null
null
null
// // 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 list of conditions and the following disclaimer. // * Redistributions in bin...
27.684564
74
0.705212
DeanoC
5e6a8dd119ef8751818f206998cd25c9dcd1070e
872
cpp
C++
lib/core/randomizer.cpp
LeDYoM/sgh
66a56d0df5c0acc8a3f47212a91da7ea889695de
[ "MIT" ]
null
null
null
lib/core/randomizer.cpp
LeDYoM/sgh
66a56d0df5c0acc8a3f47212a91da7ea889695de
[ "MIT" ]
null
null
null
lib/core/randomizer.cpp
LeDYoM/sgh
66a56d0df5c0acc8a3f47212a91da7ea889695de
[ "MIT" ]
null
null
null
#include "randomizer.hpp" #include <random> #include <lib/core/log.hpp> #include <lib/core/compileconfig.hpp> namespace lib { class RandomizerPrivate { public: std::random_device rd; std::mt19937 mt; RandomizerPrivate() : mt{ rd() } { } std::uniform_int_distribution<int> dist; }; Randomizer::Ran...
19.377778
73
0.661697
LeDYoM
5e6b58ebd655e12205f8d5d19115c0fc1009d373
6,270
cpp
C++
tools/map_maker/map_data/src/Lane.cpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
61
2019-12-19T20:57:24.000Z
2022-03-29T15:20:51.000Z
tools/map_maker/map_data/src/Lane.cpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
54
2020-04-05T05:32:47.000Z
2022-03-15T18:42:33.000Z
tools/map_maker/map_data/src/Lane.cpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
31
2019-12-20T07:37:39.000Z
2022-03-16T13:06:16.000Z
// ----------------- BEGIN LICENSE BLOCK --------------------------------- // // Copyright (C) 2018-2019 Intel Corporation // // SPDX-License-Identifier: MIT // // ----------------- END LICENSE BLOCK ----------------------------------- #include "ad/map/maker/map_data/Lane.hpp" #include <ad/map/maker/geometry/Point2d.h...
30.144231
118
0.717225
seowwj
5e6f1990b9fb3bb83deec52acb564ba9cf7f91d2
3,508
cpp
C++
snifferpp/Packet_Lib/PacketHeader.cpp
rarnott/snifferpp
b80e36569f478a29eeee67c03d96015a142d857c
[ "MIT" ]
null
null
null
snifferpp/Packet_Lib/PacketHeader.cpp
rarnott/snifferpp
b80e36569f478a29eeee67c03d96015a142d857c
[ "MIT" ]
null
null
null
snifferpp/Packet_Lib/PacketHeader.cpp
rarnott/snifferpp
b80e36569f478a29eeee67c03d96015a142d857c
[ "MIT" ]
null
null
null
// // PacketHeader.cpp // tcp_demo // // Created by Robert Arnott on 4/20/20. // Copyright © 2020 Robert Arnott. All rights reserved. // #include "PacketHeader.hpp" using std::unique_ptr; using std::shared_ptr; using std::ostream; using std::cout; using std::cerr; using std::endl; using std::vector; std::ostream...
26.984615
84
0.620867
rarnott
5e70809b23028e524253be5045cc1e64a6467ed5
2,913
hpp
C++
src/macros.hpp
silverqx/TinyOrmPlayground
3b0f039978927c3993b5f0e434f1438d1e2d272e
[ "MIT" ]
null
null
null
src/macros.hpp
silverqx/TinyOrmPlayground
3b0f039978927c3993b5f0e434f1438d1e2d272e
[ "MIT" ]
null
null
null
src/macros.hpp
silverqx/TinyOrmPlayground
3b0f039978927c3993b5f0e434f1438d1e2d272e
[ "MIT" ]
null
null
null
#pragma once #ifndef TINYPLAY_MACROS_COMMON_HPP #define TINYPLAY_MACROS_COMMON_HPP #ifndef QT_NO_EXCEPTIONS # include "orm/utils/type.hpp" # define TINY_VERIFY_EXCEPTION_THROWN(expression, exceptiontype) \ do { ...
58.26
90
0.375558
silverqx
5e754c407ce5e7855c5eaf2dda8ad6ac999f00e6
644
cpp
C++
2021.09.20-lesson-2/Project4/Source.cpp
st095229/programming-2021
839b9e3056991db9cebaf5fb5a682d7573580a57
[ "Apache-2.0" ]
null
null
null
2021.09.20-lesson-2/Project4/Source.cpp
st095229/programming-2021
839b9e3056991db9cebaf5fb5a682d7573580a57
[ "Apache-2.0" ]
null
null
null
2021.09.20-lesson-2/Project4/Source.cpp
st095229/programming-2021
839b9e3056991db9cebaf5fb5a682d7573580a57
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<clocale> #include<cmath> #include<ctime> #include<cstdlib> //setlocale(LC_ALL, "Russian"); using namespace std; int main(int argc, char* argv[]) { int a = 0; cin >> a; if (a == 1) { cout << "Monday" << endl; } else if (a == 2) { cout << "Tuesday" << endl; } switch (a) { cas...
13.142857
32
0.543478
st095229
5e7d4f3bdc97a877adf804449e8161d31c0a506c
6,978
hxx
C++
OCC/opencascade-7.2.0/x64/debug/inc/BRepMesh_IncrementalMesh.hxx
jiaguobing/FastCAE
2348ab87e83fe5c704e4c998cf391229c25ac5d5
[ "BSD-3-Clause" ]
2
2020-02-21T01:04:35.000Z
2020-02-21T03:35:37.000Z
OCC/opencascade-7.2.0/x64/debug/inc/BRepMesh_IncrementalMesh.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2020-03-06T04:49:42.000Z
2020-03-06T04:49:42.000Z
OCC/opencascade-7.2.0/x64/debug/inc/BRepMesh_IncrementalMesh.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2021-11-21T13:03:26.000Z
2021-11-21T13:03:26.000Z
// Copyright (c) 2013 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special ...
35.784615
99
0.722843
jiaguobing
5e7e8585cfbffc38c088715cbe4e3f4361e0516e
711
cpp
C++
src/nodes/shared/tests/graph/graph.cpp
snowmeltarcade/texturegenerator
87a406eff7530b4c9e5f10049891c55dbd9601a2
[ "MIT" ]
null
null
null
src/nodes/shared/tests/graph/graph.cpp
snowmeltarcade/texturegenerator
87a406eff7530b4c9e5f10049891c55dbd9601a2
[ "MIT" ]
null
null
null
src/nodes/shared/tests/graph/graph.cpp
snowmeltarcade/texturegenerator
87a406eff7530b4c9e5f10049891c55dbd9601a2
[ "MIT" ]
null
null
null
#include "catch2/catch.hpp" #include "nodes/shared/graph/graph.h" using namespace texturegenerator::shared::graph; ////////// /// constructor ////////// TEST_CASE("constructor - null factory - throws exception", "[shared/graph/graph]") { try { graph g(nullptr); } catch (const std::exception&) { ...
21.545455
96
0.59775
snowmeltarcade
5e83bcd389ddf4b523f22d9ffe972772826201c6
688
hpp
C++
jungles/singleton.hpp
KKoovalsky/JunglesCppUtils
8429958f77db10b3e4bab4eceebd7af04ff9a5fc
[ "MIT" ]
null
null
null
jungles/singleton.hpp
KKoovalsky/JunglesCppUtils
8429958f77db10b3e4bab4eceebd7af04ff9a5fc
[ "MIT" ]
null
null
null
jungles/singleton.hpp
KKoovalsky/JunglesCppUtils
8429958f77db10b3e4bab4eceebd7af04ff9a5fc
[ "MIT" ]
null
null
null
/** * @file singleton.hpp * @brief Implements a CRTP component that objects can use to mark themselves singletons. * @author Kacper Kowalski - kacper.s.kowalski@gmail.com */ #ifndef SINGLETON_HPP #define SINGLETON_HPP #include <exception> #include <stdexcept> namespace jungles { template<typename T, typename Exc...
17.641026
89
0.674419
KKoovalsky
5e84601b331d436e4d004d79ecbb50a284e018f2
14,659
cpp
C++
Game.cpp
MKoi/BicycleAdventure
238464e1546edd332522e375e92c022ec0174dd9
[ "MIT" ]
null
null
null
Game.cpp
MKoi/BicycleAdventure
238464e1546edd332522e375e92c022ec0174dd9
[ "MIT" ]
null
null
null
Game.cpp
MKoi/BicycleAdventure
238464e1546edd332522e375e92c022ec0174dd9
[ "MIT" ]
null
null
null
#include "pch.h" #include "Game.h" #include "Menu.h" #include <ppltasks.h> #include <string> using namespace Windows::Storage; using namespace Windows::UI::Core; using namespace Concurrency; using namespace DirectX; const Physics::Parameters bikeparams = { b2BodyType::b2_dynamicBody, 1.0f, 1.0f, 0.1f, Phys...
26.317774
145
0.668463
MKoi
5e84ca12019b4229471b3a50c81706846c7cf3b9
3,094
hpp
C++
include/SFUI/Icon.hpp
MStr3am/sfui
64bdf89e229c1f4c3461c9d8e21e2a2d6e83c5c4
[ "BSD-3-Clause" ]
null
null
null
include/SFUI/Icon.hpp
MStr3am/sfui
64bdf89e229c1f4c3461c9d8e21e2a2d6e83c5c4
[ "BSD-3-Clause" ]
null
null
null
include/SFUI/Icon.hpp
MStr3am/sfui
64bdf89e229c1f4c3461c9d8e21e2a2d6e83c5c4
[ "BSD-3-Clause" ]
null
null
null
#ifndef ICON_HPP_INCLUDED #define ICON_HPP_INCLUDED /* Copyright (c) 2009, Robin RUAUX 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 re...
32.568421
88
0.61894
MStr3am
5e88974d6fc18993b5148c21ee4a668900e2c61f
3,682
cpp
C++
test/v13/decoder/meter_band_decoder_test.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
test/v13/decoder/meter_band_decoder_test.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
8
2016-07-21T11:29:13.000Z
2016-12-03T05:16:42.000Z
test/v13/decoder/meter_band_decoder_test.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
#define BOOST_TEST_DYN_LINK #include <canard/net/ofp/v13/decoder/meter_band_decoder.hpp> #include <boost/test/unit_test.hpp> #include <boost/optional/optional.hpp> #include "../../test_utility.hpp" namespace ofp = canard::net::ofp; namespace v13 = ofp::v13; namespace bands = v13::meter_bands; namespace { struct me...
30.941176
82
0.657795
amedama41
5e8bbd4c4694f4a905913251a3a6f6ed406c40de
980
hpp
C++
include/eepp/ui/uilistboxitem.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
include/eepp/ui/uilistboxitem.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
null
null
null
include/eepp/ui/uilistboxitem.hpp
jayrulez/eepp
09c5c1b6b4c0306bb0a188474778c6949b5df3a7
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#ifndef EE_UICUILISTBOXITEM_HPP #define EE_UICUILISTBOXITEM_HPP #include <eepp/ui/uiitemcontainer.hpp> #include <eepp/ui/uitextview.hpp> namespace EE { namespace UI { class UIListBox; class EE_API UIListBoxItem : public UITextView { public: static UIListBoxItem* New(); static UIListBoxItem* NewWithTag( const s...
19.6
78
0.745918
jayrulez
5e9447129788608e0b24b785a43d952166ff4a29
2,150
hpp
C++
libraries/chain/include/infrablockchain/chain/yx_symbol.hpp
InfraBlockchain/infrablockchain
447fa0e836d31be35357a07c22dc55d93079bbcf
[ "MIT" ]
14
2021-04-15T06:50:08.000Z
2022-02-23T14:43:14.000Z
libraries/chain/include/infrablockchain/chain/yx_symbol.hpp
InfraBlockchain/infrablockchain
447fa0e836d31be35357a07c22dc55d93079bbcf
[ "MIT" ]
null
null
null
libraries/chain/include/infrablockchain/chain/yx_symbol.hpp
InfraBlockchain/infrablockchain
447fa0e836d31be35357a07c22dc55d93079bbcf
[ "MIT" ]
3
2021-07-04T13:08:17.000Z
2021-12-14T03:46:50.000Z
/** * @file * @copyright defined in infrablockchain/LICENSE */ #pragma once #include <eosio/chain/symbol.hpp> #include <eosio/chain/exceptions.hpp> namespace infrablockchain { namespace chain { using namespace eosio::chain; const static char symbol_issuer_denominator = '@'; // DEPRECATED struct ...
33.59375
104
0.599535
InfraBlockchain
5ea2321f15c5e30b1ad525428c92ff8f4cf660e6
3,192
hpp
C++
umintl/debug.hpp
ptillet/umintl
605da5703d36c2150fd1c2b979ff6e631b4cad47
[ "MIT" ]
null
null
null
umintl/debug.hpp
ptillet/umintl
605da5703d36c2150fd1c2b979ff6e631b4cad47
[ "MIT" ]
null
null
null
umintl/debug.hpp
ptillet/umintl
605da5703d36c2150fd1c2b979ff6e631b4cad47
[ "MIT" ]
null
null
null
/* =========================== Copyright (c) 2013 Philippe Tillet UMinTL - Unconstrained Minimization Template Library License : MIT X11 - See the LICENSE file in the root folder * ===========================*/ #ifndef UMINTL_DEBUG_HPP #define UMINTL_DEBUG_HPP #include "tools/shared_ptr.hpp" #include "umintl/...
36.689655
151
0.630013
ptillet
5ea2e5beb0cd839a8bf8e69f31ad4dac8e36b0b7
736
cpp
C++
_site/Competitive Programming/SPOJ/MST1.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
1
2019-06-10T04:39:49.000Z
2019-06-10T04:39:49.000Z
_site/Competitive Programming/SPOJ/MST1.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
2
2021-09-27T23:34:07.000Z
2022-02-26T05:54:27.000Z
_site/Competitive Programming/SPOJ/MST1.cpp
anujkyadav07/anuj-k-yadav.github.io
ac5cccc8cdada000ba559538cd84921437b3c5e6
[ "MIT" ]
3
2019-06-23T14:15:08.000Z
2019-07-09T20:40:58.000Z
#include <bits/stdc++.h> typedef long long ll; using namespace std; ll memo[1000]; ll dp(ll n){ if(n == 1){ return 0; } if(memo[n] != -1){ return memo[n]; } if(n%2 == 0 && n%3 == 0){ ll ans = 1 + min(min(dp(n-1),dp(n/2)),dp(n/3)); return memo[n] = ans; } els...
18.871795
55
0.422554
anujkyadav07
5ea5c2c1f853716c3919d0f72512709640a5f62f
2,570
cpp
C++
Practice/2018/2018.7.18/CF375D.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2018/2018.7.18/CF375D.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2018/2018.7.18/CF375D.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include<vector> using namespace std; #define ll long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) #define lowbit(x) ((x)&(-x)) const int maxN=101000; const int maxM=maxN<<1; const int inf=2147483647; class Question { pu...
17.482993
74
0.578599
SYCstudio
5eab37c7caed5e27ee8a15f8e39ceb9de07e9ad1
573
cpp
C++
Rumble3D/src/ParticleEngine/ParticleAnchoredSpring.cpp
Nelaty/Rumble3D
801b9feec27ceeea91db3b759083f6351634e062
[ "MIT" ]
1
2020-01-21T16:01:53.000Z
2020-01-21T16:01:53.000Z
Rumble3D/src/ParticleEngine/ParticleAnchoredSpring.cpp
Nelaty/Rumble3D
801b9feec27ceeea91db3b759083f6351634e062
[ "MIT" ]
1
2019-10-08T08:25:33.000Z
2019-10-09T06:39:06.000Z
Rumble3D/src/ParticleEngine/ParticleAnchoredSpring.cpp
Nelaty/Rumble3D
801b9feec27ceeea91db3b759083f6351634e062
[ "MIT" ]
1
2019-05-14T13:48:16.000Z
2019-05-14T13:48:16.000Z
#include "R3D/ParticleEngine/ParticleAnchoredSpring.h" #include "R3D/ParticleEngine/Particle.h" namespace r3 { ParticleAnchoredSpring::ParticleAnchoredSpring(glm::vec3* anchor, real springConstant, real restLength) : ParticleSpringBase(springConstant, restLength), m_anchor{anchor} { } void ParticleAnchoredSpr...
23.875
104
0.743455
Nelaty
5eab73eb3b7957bd76a009c9cc947c8b9e715b1c
3,337
hpp
C++
ReactNativeFrontend/ios/Pods/boost/boost/hana/fwd/unique.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
ReactNativeFrontend/ios/Pods/boost/boost/hana/fwd/unique.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
ReactNativeFrontend/ios/Pods/boost/boost/hana/fwd/unique.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
/*! @file Forward declares `boost::hana::unique`. @copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_HANA_FWD_UNIQUE_HPP #define BOOST_HANA_FWD_UNIQUE_HPP #include <boost/hana/co...
36.271739
78
0.634702
Harshitha91
5eb20181a783bd35bb7658aa258998a8afdbfd86
286
cpp
C++
verify/verify-aoj-ntl/aoj-ntl-1-e.test.cpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
69
2020-11-06T05:21:42.000Z
2022-03-29T03:38:35.000Z
verify/verify-aoj-ntl/aoj-ntl-1-e.test.cpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
21
2020-07-25T04:47:12.000Z
2022-02-01T14:39:29.000Z
verify/verify-aoj-ntl/aoj-ntl-1-e.test.cpp
NachiaVivias/library
73091ddbb00bc59328509c8f6e662fea2b772994
[ "CC0-1.0" ]
9
2020-11-06T11:55:10.000Z
2022-03-20T04:45:31.000Z
#define PROBLEM \ "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=NTL_1_E" #include "../../template/template.hpp" #include "../../math/elementary-function.hpp" using namespace Nyaan; void Nyaan::solve() { ini(a, b); int x, y; tie(x, y) = extgcd(a, b); out(x, y); }
23.833333
68
0.643357
NachiaVivias
5eb5fe9248a1169f62c1d3dfe64064a97f1b76a5
10,661
cpp
C++
core/src/Panzer_MemUtils.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
core/src/Panzer_MemUtils.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
core/src/Panzer_MemUtils.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
// @HEADER // *********************************************************************** // // Panzer: A partial differential equation assembly // engine for strongly coupled ...
36.138983
142
0.493669
hillyuan
5eb68abf9eadb3f0bbd736920b109a1f8ca6e6ec
836
cpp
C++
Merge2SortedLists_STL.cpp
parth1614/DSA_Questions
7083952eb310a21f7e30267efa437dfbb8c0f88f
[ "MIT" ]
null
null
null
Merge2SortedLists_STL.cpp
parth1614/DSA_Questions
7083952eb310a21f7e30267efa437dfbb8c0f88f
[ "MIT" ]
null
null
null
Merge2SortedLists_STL.cpp
parth1614/DSA_Questions
7083952eb310a21f7e30267efa437dfbb8c0f88f
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #include<algorithm> using namespace std; void merge(vector<int> &list1, vector<int> &list2){ vector<int> v(list1); //copying two vectors into an empty 3rd vector so as to join the lists v.insert(v.end(),list2.begin(),list2.end()); //sorting the newly joined lists/vector...
17.061224
72
0.511962
parth1614
5eb7a3f0190116d6b0cda9fc56b79c313ab1e8a4
534
hpp
C++
redfish-core/include/rf_async_resp.hpp
Chengyiyu/openbmc-webbmc
364c5bec2f036398286fa3dcc8ed1bca5eadb204
[ "Apache-2.0" ]
null
null
null
redfish-core/include/rf_async_resp.hpp
Chengyiyu/openbmc-webbmc
364c5bec2f036398286fa3dcc8ed1bca5eadb204
[ "Apache-2.0" ]
null
null
null
redfish-core/include/rf_async_resp.hpp
Chengyiyu/openbmc-webbmc
364c5bec2f036398286fa3dcc8ed1bca5eadb204
[ "Apache-2.0" ]
null
null
null
#pragma once #include "http_response.hpp" namespace redfish { /** * AsyncResp * Gathers data needed for response processing after async calls are done */ class AsyncResp { public: AsyncResp(crow::Response& response) : res(response) {} AsyncResp(const AsyncResp&) = delete; AsyncResp(AsyncResp&&)...
16.6875
73
0.64794
Chengyiyu
5ebc2cb68157df1ccb7a4e88a1e4c5a53fe8651c
2,471
cpp
C++
src/ast/stmt/import.cpp
RauliL/snek
ad530c0485addaf71fd01469860b83a16d16bf9d
[ "BSD-2-Clause" ]
null
null
null
src/ast/stmt/import.cpp
RauliL/snek
ad530c0485addaf71fd01469860b83a16d16bf9d
[ "BSD-2-Clause" ]
null
null
null
src/ast/stmt/import.cpp
RauliL/snek
ad530c0485addaf71fd01469860b83a16d16bf9d
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2020, Rauli Laine * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditi...
28.732558
79
0.673816
RauliL
5ec7aac942e740a54f07fa3244f191bac03ef0fd
1,269
cpp
C++
gwen/src/Controls/Dragger.cpp
andryblack/GWEN
0ae2d533b874c97ff0733c5a69ca307c2bc6acee
[ "MIT" ]
null
null
null
gwen/src/Controls/Dragger.cpp
andryblack/GWEN
0ae2d533b874c97ff0733c5a69ca307c2bc6acee
[ "MIT" ]
null
null
null
gwen/src/Controls/Dragger.cpp
andryblack/GWEN
0ae2d533b874c97ff0733c5a69ca307c2bc6acee
[ "MIT" ]
1
2018-10-31T16:27:35.000Z
2018-10-31T16:27:35.000Z
/* GWEN Copyright (c) 2010 Facepunch Studios See license in Gwen.h */ #include "Gwen/Controls/Dragger.h" using namespace Gwen; using namespace Gwen::ControlsInternal; GWEN_CONTROL_CONSTRUCTOR( Dragger ) { m_pTarget = NULL; SetMouseInputEnabled( true ); m_bDepressed = false; m_bDoMove = true; } void Dragge...
18.128571
66
0.671395
andryblack
5ecde187e1b83b29ac354e16faef96ad8af16c3e
1,632
cpp
C++
232.cpp
R-penguins/UVa-Online-Judge-Solutions
4bb24ab26c207903ff5b6fea6cfe122ae6578d62
[ "MIT" ]
null
null
null
232.cpp
R-penguins/UVa-Online-Judge-Solutions
4bb24ab26c207903ff5b6fea6cfe122ae6578d62
[ "MIT" ]
null
null
null
232.cpp
R-penguins/UVa-Online-Judge-Solutions
4bb24ab26c207903ff5b6fea6cfe122ae6578d62
[ "MIT" ]
null
null
null
/** * AOAPC II 3-6 Puzzle * ICPC WF 1994 * I/O * 47 AC */ #include <bits/stdc++.h> using namespace std; int main() { int r, c, ds = 0; while ((cin >> r) && r) { cin >> c; vector<string> puz(r); for (string &row : puz) cin >> row; vector<vector<int>> num(r, vector...
32.64
115
0.332108
R-penguins
5ed56b05520eec37204b9814f11c16b68fb42959
1,077
cpp
C++
android-31/java/net/URLDecoder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/net/URLDecoder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/net/URLDecoder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JString.hpp" #include "../nio/charset/Charset.hpp" #include "./URLDecoder.hpp" namespace java::net { // Fields // QJniObject forward URLDecoder::URLDecoder(QJniObject obj) : JObject(obj) {} // Constructors URLDecoder::URLDecoder() : JObject( "java.net.URLDecoder", "()V" ) {} // Me...
21.117647
75
0.670381
YJBeetle
5ee77376618c1b49aae996820255c3ef55e4c849
5,552
cpp
C++
server/server.cpp
AmandineFORTIER/File-System-Storage
a0c3679ae4f4b9f6b666e5b62f92f9a77567bfe2
[ "MIT" ]
null
null
null
server/server.cpp
AmandineFORTIER/File-System-Storage
a0c3679ae4f4b9f6b666e5b62f92f9a77567bfe2
[ "MIT" ]
null
null
null
server/server.cpp
AmandineFORTIER/File-System-Storage
a0c3679ae4f4b9f6b666e5b62f92f9a77567bfe2
[ "MIT" ]
null
null
null
#include <sys/socket.h> // For socket functions #include <netinet/in.h> // For sockaddr_in #include <cstdlib> // For exit() and EXIT_FAILURE #include <iostream> // For cout #include <unistd.h> // For read #include <errno.h> #include <cstring> #include <thread> #include <sys/stat.h> #include <cstdlib> #include <iostrea...
28.471795
177
0.530439
AmandineFORTIER
5ee94629f76f082e7f075e269c5d70b0fda9b6a8
1,639
cpp
C++
time/clock.cpp
TheCandianVendingMachine/TCVM_2dAnimation
c0ca27e07691487cedd2a4eb09d28b2397cae958
[ "MIT" ]
null
null
null
time/clock.cpp
TheCandianVendingMachine/TCVM_2dAnimation
c0ca27e07691487cedd2a4eb09d28b2397cae958
[ "MIT" ]
null
null
null
time/clock.cpp
TheCandianVendingMachine/TCVM_2dAnimation
c0ca27e07691487cedd2a4eb09d28b2397cae958
[ "MIT" ]
null
null
null
#include "clock.hpp" #include <chrono> #include <iomanip> fe::time fe::clock::m_getCurrentTime() { auto currentTime = std::chrono::time_point_cast<std::chrono::microseconds>(std::chrono::system_clock::now()); return fe::microseconds(currentTime.time_since_epoch().count()); } fe::clock::clock()...
26.435484
117
0.606467
TheCandianVendingMachine
5eeb32ab7ae03ac9f08c9fba3b1ab1fa7b2d9ecf
25,680
hpp
C++
lib/lexertl14/lexertl/generator.hpp
weltling/parle
36499abc0227e95f716623a32413ec03a89a48e6
[ "BSD-2-Clause" ]
66
2017-09-02T21:39:42.000Z
2021-12-02T06:25:22.000Z
lib/lexertl14/lexertl/generator.hpp
remicollet/parle
034023e97ccff74b20c5761df3227c908c67b195
[ "BSD-2-Clause" ]
24
2017-09-09T05:23:18.000Z
2022-01-28T09:26:16.000Z
lib/lexertl14/lexertl/generator.hpp
remicollet/parle
034023e97ccff74b20c5761df3227c908c67b195
[ "BSD-2-Clause" ]
7
2017-09-05T18:57:09.000Z
2022-03-28T09:39:03.000Z
// generator.hpp // Copyright (c) 2005-2018 Ben Hanson (http://www.benhanson.net/) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file licence_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef LEXERTL_GENERATOR_HPP #define LEXERTL_GENERATOR_HPP #include <al...
35.469613
81
0.52317
weltling
5eed2b4dae38f8e80232ef96f204098efad0607a
988,448
cc
C++
src/data_scanner_re.cc
thedataflows/lnav
30c603c1c846e8b3718d6617e279a0bfa6ca76c3
[ "BSD-2-Clause" ]
4,184
2015-01-09T23:30:28.000Z
2022-03-31T04:28:33.000Z
src/data_scanner_re.cc
4sokol/lnav
ab671d5834f51003ec938db8321ff92216f59614
[ "BSD-2-Clause" ]
699
2015-01-18T21:07:22.000Z
2022-03-31T16:36:18.000Z
src/data_scanner_re.cc
4sokol/lnav
ab671d5834f51003ec938db8321ff92216f59614
[ "BSD-2-Clause" ]
288
2015-03-12T07:26:27.000Z
2022-03-26T01:33:17.000Z
/* Generated by re2c 2.0.3 on Tue Mar 2 15:19:00 2021 */ #line 1 "../../lnav2/src/data_scanner_re.re" /** * Copyright (c) 2015, Timothy Stack * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are me...
12.411452
89
0.562076
thedataflows
5eed5789da4fcc953e16abb51b8a89b9cfaf514a
1,066
cpp
C++
BinarySearch/81_SearchInRotatedSortedArrayII.cpp
trierbo/OJCode
327f78b12d3461f64c42375d611b6b65e71f4f78
[ "MIT" ]
null
null
null
BinarySearch/81_SearchInRotatedSortedArrayII.cpp
trierbo/OJCode
327f78b12d3461f64c42375d611b6b65e71f4f78
[ "MIT" ]
null
null
null
BinarySearch/81_SearchInRotatedSortedArrayII.cpp
trierbo/OJCode
327f78b12d3461f64c42375d611b6b65e71f4f78
[ "MIT" ]
null
null
null
#include <vector> using namespace std; class Solution { public: int search(vector<int>& nums, int target) { return binarySearch(nums, target, 0, nums.size()-1); } int binarySearch(vector<int>& nums, int target, int beg, int end) { int res = -1; while (beg <= end) { int ...
30.457143
97
0.402439
trierbo
d679e069d6fcebc85396f7e47550e784cceaa4d9
22,111
cpp
C++
Lumos/Source/Lumos/Graphics/Renderers/ShadowRenderer.cpp
gameconstructer/Lumos
92f6e812fdfc9404bf557e131679ae9071f25c80
[ "MIT" ]
2
2021-06-04T09:49:23.000Z
2021-06-14T02:52:36.000Z
Lumos/Source/Lumos/Graphics/Renderers/ShadowRenderer.cpp
gameconstructer/Lumos
92f6e812fdfc9404bf557e131679ae9071f25c80
[ "MIT" ]
null
null
null
Lumos/Source/Lumos/Graphics/Renderers/ShadowRenderer.cpp
gameconstructer/Lumos
92f6e812fdfc9404bf557e131679ae9071f25c80
[ "MIT" ]
null
null
null
#include "Precompiled.h" #include "ShadowRenderer.h" #include "Graphics/API/Texture.h" #include "Graphics/API/Framebuffer.h" #include "Graphics/API/Renderer.h" #include "Graphics/API/CommandBuffer.h" #include "Graphics/API/RenderPass.h" #include "Graphics/API/Pipeline.h" #include "Graphics/API/UniformBuffer.h" #includ...
38.927817
205
0.549862
gameconstructer
d67ee422964d80a6549fe0272059d89e964a7936
3,414
cpp
C++
sdl2/CaveStory/src/PixTone.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
sdl2/CaveStory/src/PixTone.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
sdl2/CaveStory/src/PixTone.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
null
null
null
#include "PixTone.h" #include <math.h> #include <stdlib.h> #include <string.h> #include "WindowsWrapper.h" static signed char gWaveModelTable[6][256]; void MakeWaveTables(void) { int i, a; // Sine wave for (i = 0; i < 256; ++i) { gWaveModelTable[0][i] = (signed char)(sin(i * 6.283184 / 256.0) * 64.0); a = ...
22.168831
119
0.601347
pdpdds
d67f23c3a393b6b7ab0f9dfaadd406510ee26519
2,623
cpp
C++
MSCL/source/mscl/MicroStrain/Wireless/Commands/ReadSingleSensor.cpp
HTLife/MSCL
9d84ed27a176ff20e058b9188a97d6ff81de7604
[ "BSL-1.0", "OpenSSL", "MIT" ]
null
null
null
MSCL/source/mscl/MicroStrain/Wireless/Commands/ReadSingleSensor.cpp
HTLife/MSCL
9d84ed27a176ff20e058b9188a97d6ff81de7604
[ "BSL-1.0", "OpenSSL", "MIT" ]
null
null
null
MSCL/source/mscl/MicroStrain/Wireless/Commands/ReadSingleSensor.cpp
HTLife/MSCL
9d84ed27a176ff20e058b9188a97d6ff81de7604
[ "BSL-1.0", "OpenSSL", "MIT" ]
null
null
null
/******************************************************************************* Copyright(c) 2015-2018 LORD Corporation. All rights reserved. MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License. *******************************************************************************/ #include "stdafx...
32.382716
161
0.581777
HTLife
d67f25bc8bedaf074a00c848000bb6b40437deee
525
hpp
C++
src/engine/components/light/pointlight.hpp
DavidPeicho/3DEngine
e27cd4ac72b4bf72cc0213061c5d386f5f670749
[ "MIT" ]
2
2018-04-17T07:33:48.000Z
2018-09-12T13:03:23.000Z
src/engine/components/light/pointlight.hpp
DavidPeicho/3DEngine
e27cd4ac72b4bf72cc0213061c5d386f5f670749
[ "MIT" ]
2
2018-04-30T03:54:51.000Z
2021-03-09T22:36:13.000Z
src/engine/components/light/pointlight.hpp
DavidPeicho/3DEngine
e27cd4ac72b4bf72cc0213061c5d386f5f670749
[ "MIT" ]
null
null
null
#pragma once #include "light.hpp" namespace Engine { namespace Components { class PointLight : public Light { public: typedef std::shared_ptr<PointLight> PointLightPtr; public: PointLightPtr static inline create() { auto ptr = PointLightPtr(ne...
15.909091
67
0.554286
DavidPeicho
d6831ce1c43f4d22f287828942c0bfd792dea20f
5,858
cpp
C++
dbms/src/AggregateFunctions/AggregateFunctionUniq.cpp
ssmike/ClickHouse
fafecb3c25a59777ed691c0a1936d66181d4d093
[ "Apache-2.0" ]
5
2018-05-10T14:40:44.000Z
2020-12-13T11:43:15.000Z
dbms/src/AggregateFunctions/AggregateFunctionUniq.cpp
ssmike/ClickHouse
fafecb3c25a59777ed691c0a1936d66181d4d093
[ "Apache-2.0" ]
null
null
null
dbms/src/AggregateFunctions/AggregateFunctionUniq.cpp
ssmike/ClickHouse
fafecb3c25a59777ed691c0a1936d66181d4d093
[ "Apache-2.0" ]
2
2020-05-23T04:55:22.000Z
2020-05-24T11:30:51.000Z
#include <AggregateFunctions/AggregateFunctionFactory.h> #include <AggregateFunctions/AggregateFunctionUniq.h> #include <AggregateFunctions/Helpers.h> #include <AggregateFunctions/FactoryHelpers.h> #include <DataTypes/DataTypeDate.h> #include <DataTypes/DataTypeDateTime.h> #include <DataTypes/DataTypeString.h> #includ...
44.717557
130
0.729088
ssmike
d684a5528d5759d5a79d8b288ba1e7b5a0ea5b23
15,181
cpp
C++
rai/secure/rpc.cpp
raicoincommunity/Raicoin
22dd5f16d299ced2b14f321682153b9e477c1609
[ "MIT" ]
94
2019-09-25T05:57:44.000Z
2021-12-30T09:08:06.000Z
rai/secure/rpc.cpp
Cryptonoz/Raicoin
2641cf6b361446d6451f75c885b8be28e54221ba
[ "MIT" ]
4
2020-05-06T10:10:14.000Z
2021-12-26T09:35:16.000Z
rai/secure/rpc.cpp
Cryptonoz/Raicoin
2641cf6b361446d6451f75c885b8be28e54221ba
[ "MIT" ]
13
2019-09-25T05:57:52.000Z
2022-02-24T02:09:03.000Z
#include <rai/secure/rpc.hpp> #include <boost/property_tree/json_parser.hpp> #include <boost/property_tree/ptree.hpp> #include <rai/common/log.hpp> #include <rai/common/stat.hpp> rai::Rpc::Rpc(boost::asio::io_service& service, const rai::RpcConfig& config, const rai::RpcHandlerMaker& maker) : servic...
25.86201
80
0.529346
raicoincommunity
d6869a4d559e9d57c1410b78955926c1886395b6
2,136
hpp
C++
AirLib/include/controllers/VehicleCameraBase.hpp
jelaredulla/thesis
dc348652cc0bd0a35e5d7506144d641510c2483b
[ "MIT" ]
null
null
null
AirLib/include/controllers/VehicleCameraBase.hpp
jelaredulla/thesis
dc348652cc0bd0a35e5d7506144d641510c2483b
[ "MIT" ]
null
null
null
AirLib/include/controllers/VehicleCameraBase.hpp
jelaredulla/thesis
dc348652cc0bd0a35e5d7506144d641510c2483b
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #ifndef air_VehicleCameraBase_hpp #define air_VehicleCameraBase_hpp #include "common/Common.hpp" #include "common/common_utils/EnumFlags.hpp" namespace msr { namespace airlib { // This is an abstraction for camera...
33.375
156
0.551498
jelaredulla
d687084161b7c8ad7c159beb0ca4b7085c8e800e
373
cpp
C++
WonderBrush/src/history/canvas_actions/CanvasAction.cpp
waddlesplash/WonderBrush-v2
df20b6a43115d02e4606c71f27d0712ac2aebb62
[ "MIT" ]
11
2018-11-10T11:14:11.000Z
2021-12-27T17:17:08.000Z
WonderBrush/src/history/canvas_actions/CanvasAction.cpp
waddlesplash/WonderBrush-v2
df20b6a43115d02e4606c71f27d0712ac2aebb62
[ "MIT" ]
27
2018-11-11T00:06:25.000Z
2021-06-24T06:43:38.000Z
WonderBrush/src/history/canvas_actions/CanvasAction.cpp
waddlesplash/WonderBrush-v2
df20b6a43115d02e4606c71f27d0712ac2aebb62
[ "MIT" ]
7
2018-11-10T20:32:49.000Z
2021-03-15T18:03:42.000Z
// CanvasAction.cpp #include <stdio.h> #include "CanvasAction.h" // constructor CanvasAction::CanvasAction(Canvas* canvas) : fCanvas(canvas) { } // destructor CanvasAction::~CanvasAction() { } // InitCheck status_t CanvasAction::InitCheck() { return fCanvas ? B_OK : B_NO_INIT; } // GetName void CanvasAction::Ge...
12.032258
42
0.705094
waddlesplash
d687166a5e9728700c65fd4f39f1dadf11af7ee3
3,687
cpp
C++
source/Weapon.cpp
TheCyberMonk/scionsofchanneling
7a4695d9c82faa41564e3bfbde87f7f0845f0f3b
[ "MIT" ]
null
null
null
source/Weapon.cpp
TheCyberMonk/scionsofchanneling
7a4695d9c82faa41564e3bfbde87f7f0845f0f3b
[ "MIT" ]
null
null
null
source/Weapon.cpp
TheCyberMonk/scionsofchanneling
7a4695d9c82faa41564e3bfbde87f7f0845f0f3b
[ "MIT" ]
null
null
null
#include "../include/Being.h" Weapon::Weapon() { ID = 0; Name = "NULL"; Type = weapon; SubType = "NULL"; Description = "You have no weapon equipped..."; Damage = 0; MagicEssence = 0; Value = 0; } Weapon::Weapon(int id, string name, string type, string desc, int damage, int magic, int value) { ID = id; Name =...
23.941558
190
0.635476
TheCyberMonk
d689b12bc9720c4477d58fcc29fe0ed0304e4aae
513
hpp
C++
Versionen/2021_06_15/RMF/rmf_ws/install/rmf_building_map_msgs/include/rmf_building_map_msgs/srv/get_building_map.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
null
null
null
Versionen/2021_06_15/RMF/rmf_ws/install/rmf_building_map_msgs/include/rmf_building_map_msgs/srv/get_building_map.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
null
null
null
Versionen/2021_06_15/RMF/rmf_ws/install/rmf_building_map_msgs/include/rmf_building_map_msgs/srv/get_building_map.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
2
2021-06-21T07:32:09.000Z
2021-08-17T03:05:38.000Z
// generated from rosidl_generator_cpp/resource/idl.hpp.em // generated code does not contain a copyright notice #ifndef RMF_BUILDING_MAP_MSGS__SRV__GET_BUILDING_MAP_HPP_ #define RMF_BUILDING_MAP_MSGS__SRV__GET_BUILDING_MAP_HPP_ #include "rmf_building_map_msgs/srv/detail/get_building_map__struct.hpp" #include "rmf_bu...
42.75
73
0.875244
flitzmo-hso
d68a6e0fc9ccfe9853931cb51cf10b436f6d57c9
22,887
cpp
C++
fallen/psxlib/Source/MFx.cpp
jordandavidson/MuckyFoot-UrbanChaos
00f7bda3f061bff9ecbb611d430f8f71bd557d14
[ "MIT" ]
188
2017-05-20T03:26:33.000Z
2022-03-10T16:58:39.000Z
fallen/psxlib/Source/MFx.cpp
jordandavidson/MuckyFoot-UrbanChaos
00f7bda3f061bff9ecbb611d430f8f71bd557d14
[ "MIT" ]
7
2017-05-28T14:28:13.000Z
2022-01-09T01:47:38.000Z
fallen/psxlib/Source/MFx.cpp
inco1/MuckyFoot-UrbanChaos
81aa5cfe18ef7fe2d1b1f9911bd33a47c22d5390
[ "MIT" ]
43
2017-05-20T07:31:32.000Z
2022-03-09T18:39:35.000Z
// // MFx.cpp // // Muckyfoot sound fx api for A3D / PSX // // (same header, different cpp) // #include "MFStdLib.h" #include "MFx.h" #include <libspu.h> #include <libgte.h> #include <libcd.h> #include <libpad.h> #include "ctrller.h" #include "c:\fallen\psxeng\headers\psxeng.h" #include "c:\fallen\headers\sound_id...
21.673295
198
0.706689
jordandavidson
d69383499553e8618b12233879ef0292fd553793
8,071
hpp
C++
sources/Framework/Physics/spPhysicsSimulator.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
14
2015-08-16T21:05:20.000Z
2019-08-21T17:22:01.000Z
sources/Framework/Physics/spPhysicsSimulator.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
null
null
null
sources/Framework/Physics/spPhysicsSimulator.hpp
rontrek/softpixel
73a13a67e044c93f5c3da9066eedbaf3805d6807
[ "Zlib" ]
3
2020-02-15T09:17:41.000Z
2020-05-21T14:10:40.000Z
/* * Physics simulator header * * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) * See "SoftPixelEngine.hpp" for license information. */ #ifndef __SP_PHYSICS_SYSTEM_H__ #define __SP_PHYSICS_SYSTEM_H__ #include "Base/spStandard.hpp" #ifdef SP_COMPILE_WITH_PHYSICS #include ...
36.03125
134
0.638706
rontrek
d69c6f1cb34f8c97ba2c2a33a4be8696033a2597
691
cpp
C++
Source/AudioMixer.cpp
olehch/uDrumSampler
053ba3bd28b47d032de5c5b3792ef3cc041d8fe4
[ "MIT" ]
4
2016-08-19T15:02:45.000Z
2018-01-13T08:53:48.000Z
Source/AudioMixer.cpp
audiowaves/uDrumSampler
053ba3bd28b47d032de5c5b3792ef3cc041d8fe4
[ "MIT" ]
1
2016-08-19T22:52:57.000Z
2016-08-19T22:52:57.000Z
Source/AudioMixer.cpp
olehch/uDrumSampler
053ba3bd28b47d032de5c5b3792ef3cc041d8fe4
[ "MIT" ]
1
2021-03-28T22:42:21.000Z
2021-03-28T22:42:21.000Z
/* ============================================================================== AudioMixer.cpp Created: 20 Aug 2016 8:23:58pm Author: Homepc ============================================================================== */ #include "../JuceLibraryCode/JuceHeader.h" #include "AudioMixer.h" //=====...
24.678571
80
0.450072
olehch
d69e7a63b47068834527853e0e131fec77324682
4,373
cpp
C++
tests/unit/vcd_assert/timing_checker.cpp
qedalab/vcd_assert
40da307e60600fc4a814d4bba4679001f49f4375
[ "BSD-2-Clause" ]
1
2019-04-30T17:56:23.000Z
2019-04-30T17:56:23.000Z
tests/unit/vcd_assert/timing_checker.cpp
qedalab/vcd_assert
40da307e60600fc4a814d4bba4679001f49f4375
[ "BSD-2-Clause" ]
null
null
null
tests/unit/vcd_assert/timing_checker.cpp
qedalab/vcd_assert
40da307e60600fc4a814d4bba4679001f49f4375
[ "BSD-2-Clause" ]
4
2018-08-01T08:32:00.000Z
2019-12-18T06:34:33.000Z
#include "timing_checker.hpp" TEST_CASE("VCDAssert.TimingChecker") { SECTION("Empty ") { auto header = std::make_shared<Header>(); auto design = std::make_shared<Design>(); TimingChecker ttc(header, design); } SECTION("Without SDF annotation"){ SECTION("No Design") { HeaderReader h_read...
32.634328
77
0.61308
qedalab
d6a1ebf08e560bb2eb1c432104692c88de212b2f
2,099
cpp
C++
luogu/2741.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
luogu/2741.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
luogu/2741.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
#include <bits/stdc++.h> #define N 50 #define ll long long using namespace std; inline int read(){ int x=0,f=1;char ch=getchar(); while(ch>'9'||ch<'0')ch=='-'&&(f=0)||(ch=getchar()); while(ch<='9'&&ch>='0')x=(x<<3)+(x<<1)+ch-'0',ch=getchar(); return f?x:-x; } int u[N], d[N], l[N], r[N], in[N], a[N], vis[N], sum; ch...
32.292308
88
0.428776
swwind
d6a38f8c981148d76c660cc7b68966056e7cefa1
3,216
hh
C++
include/DetectionSystemTestcan.hh
hbidaman/detectorSimulations_v10
6ceae8e9561638d5a3c886571f60141abc09922c
[ "MIT" ]
7
2015-04-11T01:06:42.000Z
2021-06-04T18:07:42.000Z
include/DetectionSystemTestcan.hh
hbidaman/detectorSimulations_v10
6ceae8e9561638d5a3c886571f60141abc09922c
[ "MIT" ]
44
2015-04-12T00:00:13.000Z
2022-03-24T11:02:13.000Z
include/DetectionSystemTestcan.hh
hbidaman/detectorSimulations_v10
6ceae8e9561638d5a3c886571f60141abc09922c
[ "MIT" ]
17
2015-04-22T20:30:43.000Z
2020-10-20T16:23:45.000Z
// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration...
36.545455
95
0.611629
hbidaman
d6a39be673e44998f0cb40f9d8497768317d57da
12,598
cpp
C++
tests/unit-tests/concurrency_control_test.cpp
bloodeagle40234/LineairDB
b0e1f601b0459c71f2c58471849340e6da3f830a
[ "Apache-2.0", "BSD-2-Clause" ]
83
2020-04-28T05:44:32.000Z
2022-03-27T10:40:55.000Z
tests/unit-tests/concurrency_control_test.cpp
bloodeagle40234/LineairDB
b0e1f601b0459c71f2c58471849340e6da3f830a
[ "Apache-2.0", "BSD-2-Clause" ]
170
2020-04-28T08:32:25.000Z
2022-03-28T23:07:24.000Z
tests/unit-tests/concurrency_control_test.cpp
bloodeagle40234/LineairDB
b0e1f601b0459c71f2c58471849340e6da3f830a
[ "Apache-2.0", "BSD-2-Clause" ]
10
2020-04-28T07:12:48.000Z
2022-03-27T07:05:10.000Z
/* * Copyright (C) 2020 Nippon Telegraph and Telephone Corporation. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless re...
35.091922
86
0.592872
bloodeagle40234
d6a480374a56c28977d45ff74f500ec3919ce022
2,406
cpp
C++
test/utilities/utility/pairs/pairs.pair/move_ctor.pass.cpp
puorc/ddstl
b7e7d7286114f2dc30c0b2e0e84cc7662d329e8f
[ "MIT" ]
null
null
null
test/utilities/utility/pairs/pairs.pair/move_ctor.pass.cpp
puorc/ddstl
b7e7d7286114f2dc30c0b2e0e84cc7662d329e8f
[ "MIT" ]
null
null
null
test/utilities/utility/pairs/pairs.pair/move_ctor.pass.cpp
puorc/ddstl
b7e7d7286114f2dc30c0b2e0e84cc7662d329e8f
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
29.703704
80
0.554863
puorc
d6a882ff212d4cc703c7c0ca25947cdcf82aa488
8,034
cpp
C++
arduboy-progger/isp.cpp
MrBlinky/Arduboy-Progger
87c0f64ef232e7c67eef31b3683a802ffec3b68c
[ "CC0-1.0" ]
1
2020-11-27T16:03:46.000Z
2020-11-27T16:03:46.000Z
arduboy-progger/isp.cpp
MrBlinky/Arduboy-Progger
87c0f64ef232e7c67eef31b3683a802ffec3b68c
[ "CC0-1.0" ]
null
null
null
arduboy-progger/isp.cpp
MrBlinky/Arduboy-Progger
87c0f64ef232e7c67eef31b3683a802ffec3b68c
[ "CC0-1.0" ]
null
null
null
#include "isp.h" #include "boot.h" uint8_t ISP_command(uint16_t command, uint8_t data) { writeByte(command >> 8); writeByte(command & 0xFF); uint8_t tmp = 0; if ((uint8_t)(command >> 8) == (uint8_t)(ISP_CMD_READ_ID >> 8)) { tmp = data; data = 0; } uint8_t result = writeByte(tmp); ...
25.75
107
0.616505
MrBlinky
d6a970f8ce0a6f3ff55f7227e53c71e40ebeac7f
1,330
cpp
C++
src/simpleParser.cpp
eddelbuettel/rcpptomlplusplus
c82d6b59ef583528d5ae1a7c8d81e35d06841923
[ "MIT" ]
1
2021-05-23T15:13:54.000Z
2021-05-23T15:13:54.000Z
src/simpleParser.cpp
eddelbuettel/rcpptomlplusplus
c82d6b59ef583528d5ae1a7c8d81e35d06841923
[ "MIT" ]
null
null
null
src/simpleParser.cpp
eddelbuettel/rcpptomlplusplus
c82d6b59ef583528d5ae1a7c8d81e35d06841923
[ "MIT" ]
null
null
null
// simplerParser.cpp // // initial (minimal) RcppTomlPlusPlus example // // taken from upstream file examples/simple_parser.cpp and Rcpp-ified for R use // This file is a part of toml++ and is subject to the the terms of the MIT license. // Copyright (c) Mark Gillard <mark.gillard@outlook.com.au> // See https://githu...
27.708333
92
0.687218
eddelbuettel
d6aa4d15b09fa0fe17977f4a96ca23de0de49b07
195
cpp
C++
src/vanleer.cpp
mhdproject/mhdvanleer
63d3a3f94ae2265dd78bc05b23fa3a6cbc950309
[ "MIT" ]
5
2018-12-31T17:40:48.000Z
2021-06-17T22:10:25.000Z
src/vanleer.cpp
mhdproject/mhdvanleer
63d3a3f94ae2265dd78bc05b23fa3a6cbc950309
[ "MIT" ]
2
2017-07-12T18:45:00.000Z
2017-07-23T10:05:03.000Z
src/vanleer.cpp
garethcmurphy/mhdvanleer
63d3a3f94ae2265dd78bc05b23fa3a6cbc950309
[ "MIT" ]
1
2017-11-03T19:47:55.000Z
2017-11-03T19:47:55.000Z
#include "vanleer.h" double vanleer(double a, double b) { double temp = 0; temp = a * a + b * b; if (temp > 0.0) { return (a * a * b + b * b * a) / temp; } else { return 0; } }
16.25
42
0.492308
mhdproject
d6ab04babdf71d4cd786977f587cffb88550a3f5
6,210
cpp
C++
plugins/internet/wicdutils.cpp
emmios/Neon_Panel
4d2180d0ea3a00d2c8f3e0b19de131d347e19128
[ "MIT" ]
null
null
null
plugins/internet/wicdutils.cpp
emmios/Neon_Panel
4d2180d0ea3a00d2c8f3e0b19de131d347e19128
[ "MIT" ]
null
null
null
plugins/internet/wicdutils.cpp
emmios/Neon_Panel
4d2180d0ea3a00d2c8f3e0b19de131d347e19128
[ "MIT" ]
null
null
null
#include "wicdutils.h" Wicdutils::Wicdutils() { } //void Wicdutils::Scan() //{ // QDBusInterface wireless("org.wicd.daemon", // "/org/wicd/daemon/wireless", // "org.wicd.daemon.wireless", this->bus); // wireless.call("Scan"); //} //void Wicdutils...
34.5
92
0.563124
emmios
d6ad4fc9e37bd9dbbd79ec5aaed29aaedf9f3ba0
541
cpp
C++
src/goal_avg_grad.cpp
bgranzow/poisson
c4e653852822eefed4d172053f51142f1398dfab
[ "BSD-2-Clause-FreeBSD" ]
1
2019-12-05T09:39:02.000Z
2019-12-05T09:39:02.000Z
src/goal_avg_grad.cpp
bgranzow/poisson
c4e653852822eefed4d172053f51142f1398dfab
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/goal_avg_grad.cpp
bgranzow/poisson
c4e653852822eefed4d172053f51142f1398dfab
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include "goal_avg_grad.hpp" #include "goal_soln.hpp" namespace goal { using Teuchos::rcp_static_cast; template <typename T> AvgGrad<T>::AvgGrad(RCP<Integrator> u_) : u(rcp_static_cast<Soln<T>>(u_)), num_dims(u->get_num_dims()) { this->name = "avg grad"; } template <typename T> void AvgGrad<T>::at_point(a...
20.807692
69
0.672828
bgranzow
d6af8e2fe376d128819a40df143cc75bce194182
14,718
cpp
C++
KeyboardDraw.cpp
RadStr/Music-Keyboard
0c6ec4fc98c215911c5680ed0397b320770849d0
[ "MIT" ]
1
2019-05-14T20:16:41.000Z
2019-05-14T20:16:41.000Z
KeyboardDraw.cpp
RadStr/Music-Keyboard
0c6ec4fc98c215911c5680ed0397b320770849d0
[ "MIT" ]
21
2019-08-07T09:54:13.000Z
2020-03-06T16:16:20.000Z
KeyboardDraw.cpp
RadStr/Music-Keyboard
0c6ec4fc98c215911c5680ed0397b320770849d0
[ "MIT" ]
null
null
null
#include "Keyboard.h" ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////// /////// Draw methods ////////////////////////////////// ///////////////////////////...
34.630588
189
0.610885
RadStr
d6afa7e6a158e318ce960f190901a793139da7d9
1,998
hpp
C++
libs/executors/include/hpx/executors/pool_executor.hpp
picanumber/hpx
76d6fe0bf4bd7f23e62c170fd8a0c8dbed66ec7d
[ "BSL-1.0" ]
null
null
null
libs/executors/include/hpx/executors/pool_executor.hpp
picanumber/hpx
76d6fe0bf4bd7f23e62c170fd8a0c8dbed66ec7d
[ "BSL-1.0" ]
null
null
null
libs/executors/include/hpx/executors/pool_executor.hpp
picanumber/hpx
76d6fe0bf4bd7f23e62c170fd8a0c8dbed66ec7d
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2018 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // 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) /// \file parallel/executors/pool_executor.hpp #if !defined(HPX_PARALLEL_EXECUTO...
30.272727
80
0.648148
picanumber
d6b3dfda9d53dfbe5838ef27981b9d087c08aa9d
5,042
cpp
C++
Common/Core/Core/Utilities.cpp
MadLadSquad/UntitledLinuxGameManager
f4f003e2b929055f3a00afb63cc1118f1765cb99
[ "MIT" ]
1
2022-02-01T12:45:19.000Z
2022-02-01T12:45:19.000Z
Common/Core/Core/Utilities.cpp
MadLadSquad/UntitledLinuxGameManager
f4f003e2b929055f3a00afb63cc1118f1765cb99
[ "MIT" ]
null
null
null
Common/Core/Core/Utilities.cpp
MadLadSquad/UntitledLinuxGameManager
f4f003e2b929055f3a00afb63cc1118f1765cb99
[ "MIT" ]
null
null
null
#include "Utilities.hpp" #include <thread> #include <iostream> #include <Core/Defines.hpp> #include <sys/wait.h> std::string UGM::Core::Utilities::toLower(const char* str) { std::string ret = str; toLower(ret); return ret; } void UGM::Core::Utilities::toLower(std::string& str) { for (auto& a : str) ...
23.022831
150
0.449821
MadLadSquad
d6bb6fd73eab751b74271db8ada3cf81209a6a22
21,641
cpp
C++
xlqc-omp/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
58
2020-08-06T18:53:44.000Z
2021-10-01T07:59:46.000Z
xlqc-omp/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
2
2020-12-04T12:35:02.000Z
2021-03-04T22:49:25.000Z
xlqc-omp/main.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
13
2020-08-19T13:44:18.000Z
2021-09-08T04:25:34.000Z
/***************************************************************************** This file is part of the XLQC program. Copyright (C) 2015 Xin Li <lixin.reco@gmail.com> Filename...
32.348281
94
0.562867
BeauJoh
d6c055b822641e833f79e324f2278433959589e9
41,502
cpp
C++
bos.pegtoken/src/bos.pegtoken_v1.cpp
libhasheos/bos.contracts
8b775b22001a898137b3acf0fe64b1bcc1ba096c
[ "MIT" ]
1
2019-03-12T08:46:12.000Z
2019-03-12T08:46:12.000Z
bos.pegtoken/src/bos.pegtoken_v1.cpp
libhasheos/bos.contracts
8b775b22001a898137b3acf0fe64b1bcc1ba096c
[ "MIT" ]
null
null
null
bos.pegtoken/src/bos.pegtoken_v1.cpp
libhasheos/bos.contracts
8b775b22001a898137b3acf0fe64b1bcc1ba096c
[ "MIT" ]
null
null
null
#include <bos.pegtoken/bos.pegtoken.hpp> #include <eosiolib/transaction.hpp> #include <eosiolib/action.hpp> #include "def.cpp" namespace eosio { void pegtoken::create_v1(symbol sym, name issuer, name acceptor, name address_style, string organization, string website) { require_auth(get_self()); STR...
41.668675
155
0.583466
libhasheos