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
ff03d6b79099de095796e0d21f0c5fc595595efb
3,182
hpp
C++
src/utility/utility.hpp
cooky451/pingstats
ed908ff6ed8fed40623c9eb8d4ae255c3c188061
[ "MIT" ]
15
2016-04-11T14:41:25.000Z
2022-01-10T00:41:53.000Z
src/utility/utility.hpp
cooky451/pingstats
ed908ff6ed8fed40623c9eb8d4ae255c3c188061
[ "MIT" ]
null
null
null
src/utility/utility.hpp
cooky451/pingstats
ed908ff6ed8fed40623c9eb8d4ae255c3c188061
[ "MIT" ]
5
2016-08-06T11:15:57.000Z
2021-04-18T08:28:57.000Z
/* * Copyright (c) 2016 - 2017 cooky451 * * 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, p...
26.081967
81
0.700189
cooky451
ff0b70084f0a27195e5f7470cf8ba103ba72dfae
10,720
cpp
C++
src/ArduinoOcpp/Core/OcppOperation.cpp
bs-github/ArduinoOcpp
be15473ef90fb94ea1c3a6ef9c886946ceba8a5f
[ "MIT" ]
null
null
null
src/ArduinoOcpp/Core/OcppOperation.cpp
bs-github/ArduinoOcpp
be15473ef90fb94ea1c3a6ef9c886946ceba8a5f
[ "MIT" ]
null
null
null
src/ArduinoOcpp/Core/OcppOperation.cpp
bs-github/ArduinoOcpp
be15473ef90fb94ea1c3a6ef9c886946ceba8a5f
[ "MIT" ]
null
null
null
// matth-x/ESP8266-OCPP // Copyright Matthias Akstaller 2019 - 2021 // MIT License #include <ArduinoOcpp/Core/OcppOperation.h> #include <Variants.h> int unique_id_counter = 531531531; using namespace ArduinoOcpp; OcppOperation::OcppOperation(OcppMessage *ocppMessage) : ocppMessage(ocppMessage) { } OcppOperatio...
28.972973
153
0.689552
bs-github
ff0ff5a4ba2e179344b94b695bbe36a0a53f7a39
1,010
cpp
C++
lc15/solution.cpp
loganautomata/leetcode-hot100
4942b27428ec3335578a8a0630ad1be46a9b6325
[ "MIT" ]
null
null
null
lc15/solution.cpp
loganautomata/leetcode-hot100
4942b27428ec3335578a8a0630ad1be46a9b6325
[ "MIT" ]
null
null
null
lc15/solution.cpp
loganautomata/leetcode-hot100
4942b27428ec3335578a8a0630ad1be46a9b6325
[ "MIT" ]
null
null
null
#include "solution.h" using namespace std; vector<vector<int>> Solution::threeSum(vector<int> &nums) { vector<vector<int>> res; sort(nums.begin(), nums.end()); for (int i = 0; i < nums.size() && nums[i] <= 0;) { for (int j = i + 1, k = nums.size() - 1; j < k;) { if (nums[...
24.634146
75
0.341584
loganautomata
d42f969bf14a662f2bd0f067a45439eb0fc6505c
2,975
cpp
C++
core/src/jni/jni/RippleLikeAddress.cpp
RomanWlm/lib-ledger-core
8c068fccb074c516096abb818a4e20786e02318b
[ "MIT" ]
92
2016-11-13T01:28:34.000Z
2022-03-25T01:11:37.000Z
core/src/jni/jni/RippleLikeAddress.cpp
RomanWlm/lib-ledger-core
8c068fccb074c516096abb818a4e20786e02318b
[ "MIT" ]
242
2016-11-28T11:13:09.000Z
2022-03-04T13:02:53.000Z
core/src/jni/jni/RippleLikeAddress.cpp
RomanWlm/lib-ledger-core
8c068fccb074c516096abb818a4e20786e02318b
[ "MIT" ]
91
2017-06-20T10:35:28.000Z
2022-03-09T14:15:40.000Z
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from addresses.djinni #include "RippleLikeAddress.hpp" // my header #include "Marshal.hpp" #include "RippleLikeNetworkParameters.hpp" namespace djinni_generated { RippleLikeAddress::RippleLikeAddress() : ::djinni::JniInterface<::ledger::core::a...
46.484375
170
0.743866
RomanWlm
d4331f7603fc6d4ef4d2df0aafb1173fc25b803f
3,571
cpp
C++
Sandbox/src/TerminalWindows.cpp
xdevapps/ApexGameEngine
4e9c232838eb718584643db69520a069c4657565
[ "MIT" ]
1
2021-02-13T08:53:36.000Z
2021-02-13T08:53:36.000Z
Sandbox/src/TerminalWindows.cpp
xdevapps/ApexGameEngine
4e9c232838eb718584643db69520a069c4657565
[ "MIT" ]
27
2020-05-29T20:03:03.000Z
2022-02-25T03:27:26.000Z
Sandbox/src/TerminalWindows.cpp
xdevapps/ApexGameEngine
4e9c232838eb718584643db69520a069c4657565
[ "MIT" ]
null
null
null
#ifdef APEX_PLATFORM_WINDOWS #include "Terminal.h" //#include <cstdint> Terminal::Terminal(/* COORD size */) : m_ConsoleHandle{ INVALID_HANDLE_VALUE }, m_InputHandle(INVALID_HANDLE_VALUE), m_OutputHandle(INVALID_HANDLE_VALUE), m_Process{} { } void Terminal::Init() { CreateConsole({}); m_Process.Init(m_ConsoleHand...
24.798611
130
0.745449
xdevapps
d43d22e3cc8fae9c221b99abd519158c91877d25
4,871
cpp
C++
src/prod/src/ServiceModel/DigestedEnvironmentDescription.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/ServiceModel/DigestedEnvironmentDescription.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/ServiceModel/DigestedEnvironmentDescription.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
27.676136
128
0.685486
AnthonyM
d444645a69c746ecf903ab78658203fcdaf24a74
3,125
cpp
C++
tc 160+/UserName.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/UserName.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/UserName.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; class UserName { public: string str(int x) { if (x == 0) return ""; ostringstream os; os << x; return os.str(); ...
45.289855
315
0.60384
ibudiselic
d4456d8b834d1dece764f2e20a9638e7c1607e6f
4,240
hpp
C++
src/heliocentric/camera/Camera.hpp
Tuqz/Helion
9ef6ec1f5483eb3ab3883d81e04122d36e2aa703
[ "BSD-3-Clause" ]
2
2015-06-03T19:08:15.000Z
2019-02-25T16:52:54.000Z
src/heliocentric/camera/Camera.hpp
Tuqz/helion
9ef6ec1f5483eb3ab3883d81e04122d36e2aa703
[ "BSD-3-Clause" ]
1
2015-06-12T00:21:00.000Z
2015-06-13T16:54:51.000Z
src/heliocentric/camera/Camera.hpp
Tuqz/helion
9ef6ec1f5483eb3ab3883d81e04122d36e2aa703
[ "BSD-3-Clause" ]
1
2015-06-08T19:13:19.000Z
2015-06-08T19:13:19.000Z
/* * File: Camera.hpp * Author: Ale Strooisma * * Created on June 11, 2015, 7:39 PM */ #ifndef CAMERA_HPP #define CAMERA_HPP #define GLM_FORCE_RADIANS #include <glm/vec3.hpp> #include <glm/mat4x4.hpp> #include <glm/gtc/quaternion.hpp> using namespace glm; /** * A camera object for defining the perspective ...
30.285714
79
0.694104
Tuqz
d44ab875c6dd9ce27455b52f178a169de8536d49
8,523
cpp
C++
src/utilities/core/UpdateManager.cpp
macumber/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
src/utilities/core/UpdateManager.cpp
macumber/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
src/utilities/core/UpdateManager.cpp
macumber/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
36.114407
139
0.670187
macumber
d44d0166393b840be636303bd1c2d4833a978365
1,020
hpp
C++
src/tokenizer/scanner.hpp
fcten/xscrip
3bad5fa410191bc0577d489c1465c5a680e8e82d
[ "BSD-3-Clause" ]
6
2018-11-01T20:00:55.000Z
2021-11-08T09:22:07.000Z
src/tokenizer/scanner.hpp
fcten/xscrip
3bad5fa410191bc0577d489c1465c5a680e8e82d
[ "BSD-3-Clause" ]
null
null
null
src/tokenizer/scanner.hpp
fcten/xscrip
3bad5fa410191bc0577d489c1465c5a680e8e82d
[ "BSD-3-Clause" ]
1
2019-07-22T10:04:10.000Z
2019-07-22T10:04:10.000Z
#ifndef _XSCRIPT_TOKENIZER_SCANNER_HPP_ #define _XSCRIPT_TOKENIZER_SCANNER_HPP_ #include <unordered_map> #include <string> #include "token.hpp" #include "../util/trie.hpp" namespace xscript::tokenizer { typedef util::trie<token_t, char> trie; class scanner { private: static std::unordered_map<char, trie*> trie_...
17.894737
55
0.669608
fcten
d450cad634d0c4f4fa26b765583cac4f996eea11
2,007
cpp
C++
References/Competitive Programming 3/ch9/SparseTable.cpp
eashwaranRaghu/Data-Structures-and-Algorithms
3aad0f1da3d95b572fbb1950c770198bd042a80f
[ "MIT" ]
6
2020-01-29T14:05:56.000Z
2021-04-24T04:37:27.000Z
References/Competitive Programming 3/ch9/SparseTable.cpp
eashwaranRaghu/Data-Structures-and-Algorithms
3aad0f1da3d95b572fbb1950c770198bd042a80f
[ "MIT" ]
null
null
null
References/Competitive Programming 3/ch9/SparseTable.cpp
eashwaranRaghu/Data-Structures-and-Algorithms
3aad0f1da3d95b572fbb1950c770198bd042a80f
[ "MIT" ]
1
2020-05-22T06:37:20.000Z
2020-05-22T06:37:20.000Z
#include <bits/stdc++.h> using namespace std; #define MAXN 10000 // adjust this value as needed #define L2_N 14 // 2^14 = 16384 > 10000, adjust this value as needed class RMQ { // Range Minimum Query private: int i, j, k, x, y, P2[L2_N], L2[(...
34.603448
85
0.406577
eashwaranRaghu
d455c628fafe56328c34bb8d252516b359155789
2,705
hpp
C++
bark/models/behavior/motion_primitives/primitives/primitive.hpp
GAIL-4-BARK/bark
1cfda9ba6e9ec5318fbf01af6b67c242081b516e
[ "MIT" ]
null
null
null
bark/models/behavior/motion_primitives/primitives/primitive.hpp
GAIL-4-BARK/bark
1cfda9ba6e9ec5318fbf01af6b67c242081b516e
[ "MIT" ]
null
null
null
bark/models/behavior/motion_primitives/primitives/primitive.hpp
GAIL-4-BARK/bark
1cfda9ba6e9ec5318fbf01af6b67c242081b516e
[ "MIT" ]
null
null
null
// Copyright (c) 2020 Julian Bernhard, Klemens Esterle, Patrick Hart and // Tobias Kessler // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #ifndef BARK_MODELS_BEHAVIOR_MOTION_PRIMITIVES_PRIMITIVES_PRIMITIVE_HPP_ #define BARK_MODELS_BEHAVIOR_MOTI...
32.987805
87
0.760444
GAIL-4-BARK
d455e41adfd9781c989d97f90fd9ee1caa306544
60,512
cpp
C++
cstrike15_src/game/shared/cstrike15/weapon_c4.cpp
5R33CH4/-5R33CH4-CSGO-Source-Code
dafb3cafa88f37cd405df3a9ffbbcdcb1dba8f63
[ "MIT" ]
4
2020-11-25T11:45:10.000Z
2021-03-17T15:22:01.000Z
cstrike15_src/game/shared/cstrike15/weapon_c4.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
null
null
null
cstrike15_src/game/shared/cstrike15/weapon_c4.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
7
2021-08-22T11:29:02.000Z
2022-03-29T11:59:15.000Z
//========= Copyright 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "cbase.h" #include "weapon_c4.h" #include "in_buttons.h" #include "cs_gamerules.h" #include "decals.h" #include "SoundEm...
28.342857
171
0.676031
5R33CH4
d457129f88242fd2d745ab128fecaff39af3a368
17,261
hpp
C++
Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_MethodImpl.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
216
2019-03-09T06:41:28.000Z
2022-02-25T16:27:19.000Z
Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_MethodImpl.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
9
2020-09-27T08:00:52.000Z
2021-07-02T14:27:31.000Z
Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_MethodImpl.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
29
2019-03-09T10:12:24.000Z
2021-03-03T22:25:29.000Z
// // FILE NAME: CIDMacroEng_MethodImpl.hpp // // AUTHOR: Dean Roddey // // CREATED: 01/12/2003 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://op...
35.154786
79
0.429755
MarkStega
d45e8da108bd088cc08e247620a6723b222514d5
44,310
cpp
C++
driver/src/build/Driver.cpp
pranavsubramani/Birch
0a4bb698ed44353c8e8b93d234f2941d7511683c
[ "Apache-2.0" ]
null
null
null
driver/src/build/Driver.cpp
pranavsubramani/Birch
0a4bb698ed44353c8e8b93d234f2941d7511683c
[ "Apache-2.0" ]
null
null
null
driver/src/build/Driver.cpp
pranavsubramani/Birch
0a4bb698ed44353c8e8b93d234f2941d7511683c
[ "Apache-2.0" ]
null
null
null
/** * @file */ #include "src/build/Driver.hpp" #include "src/build/MetaParser.hpp" #include "src/build/Compiler.hpp" #include "src/build/misc.hpp" #include "src/generate/MarkdownGenerator.hpp" #include "src/primitive/encode.hpp" #include "src/exception/DriverException.hpp" birch::Driver::Driver(int argc, char** arg...
34.00614
195
0.585173
pranavsubramani
d4644d02efdf70327ee837409bceed6cbd7a49a9
3,209
cpp
C++
aws-cpp-sdk-backup/source/model/BackupSelectionsListMember.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
2
2019-03-11T15:50:55.000Z
2020-02-27T11:40:27.000Z
aws-cpp-sdk-backup/source/model/BackupSelectionsListMember.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-backup/source/model/BackupSelectionsListMember.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
22.284722
86
0.746027
curiousjgeorge
d4668adda81516bb765d2a0bdae7c8f3e39a5451
6,939
cpp
C++
mn/src/mn/RAD.cpp
mahrr/mn
4e7955a8fb9227ce1d3be3500c1e0a84f1c103e0
[ "BSD-3-Clause" ]
20
2019-08-18T19:47:39.000Z
2022-02-17T16:56:46.000Z
mn/src/mn/RAD.cpp
mahrr/mn
4e7955a8fb9227ce1d3be3500c1e0a84f1c103e0
[ "BSD-3-Clause" ]
24
2020-05-06T17:10:16.000Z
2022-03-24T08:59:22.000Z
mn/src/mn/RAD.cpp
mahrr/mn
4e7955a8fb9227ce1d3be3500c1e0a84f1c103e0
[ "BSD-3-Clause" ]
11
2020-05-02T11:23:49.000Z
2022-03-23T17:01:35.000Z
#include "mn/RAD.h" #include "mn/Buf.h" #include "mn/Str.h" #include "mn/Library.h" #include "mn/Defer.h" #include "mn/Thread.h" #include "mn/Path.h" #include "mn/IO.h" #include "mn/Log.h" #include "mn/UUID.h" #include <chrono> RAD* rad_global = nullptr; typedef void* Load_Func(void*, bool); struct RAD_Module { mn...
24.010381
103
0.678916
mahrr
d466d32c4187ee1617321ab69cc8f9797a73b03a
6,414
cpp
C++
src/objects/mesh.cpp
nddvn2008/bullet-physics-playground
2895af190054b6a38525b679cf3f241c7147ee6f
[ "Zlib" ]
1
2015-10-05T01:25:18.000Z
2015-10-05T01:25:18.000Z
src/objects/mesh.cpp
nddvn2008/bullet-physics-playground
2895af190054b6a38525b679cf3f241c7147ee6f
[ "Zlib" ]
null
null
null
src/objects/mesh.cpp
nddvn2008/bullet-physics-playground
2895af190054b6a38525b679cf3f241c7147ee6f
[ "Zlib" ]
2
2015-01-02T20:02:13.000Z
2018-02-26T03:08:43.000Z
#ifdef WIN32_VC90 #pragma warning (disable : 4251) #endif #include "mesh.h" #ifdef WIN32 #include <windows.h> #endif #include <QDebug> // assimp include files. These three are usually needed. #include <assimp/cimport.h> #include <assimp/scene.h> #include <assimp/postprocess.h> using namespace std; #include <luabi...
28.008734
103
0.515903
nddvn2008
d46a7b5181117fbed14ad22653358cd6b9cfb1eb
237
hpp
C++
include/algodts/algos/reverse_string.hpp
paulpan05/algodts-cpp
db02a8d18668afb004bc63a1814fcc6fe32729ef
[ "Apache-2.0" ]
null
null
null
include/algodts/algos/reverse_string.hpp
paulpan05/algodts-cpp
db02a8d18668afb004bc63a1814fcc6fe32729ef
[ "Apache-2.0" ]
null
null
null
include/algodts/algos/reverse_string.hpp
paulpan05/algodts-cpp
db02a8d18668afb004bc63a1814fcc6fe32729ef
[ "Apache-2.0" ]
null
null
null
#ifndef REVERSESTRING_HPP_ #define REVERSESTRING_HPP_ #include <algorithm> #include <vector> void reverseString(std::vector<char>& s) { for (int i = 0; i < s.size() / 2; ++i) { std::swap(s[i], s[s.size() - i - 1]); } } #endif
16.928571
42
0.616034
paulpan05
d474a60108ca024be5925036a1fdce1357909b0f
26,163
cpp
C++
dep/include/yse/JuceLibraryCode/examples/Demo/Source/MainWindow.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
2
2015-10-27T21:36:59.000Z
2017-03-17T21:52:19.000Z
dep/include/yse/JuceLibraryCode/examples/Demo/Source/MainWindow.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
null
null
null
dep/include/yse/JuceLibraryCode/examples/Demo/Source/MainWindow.cpp
ChrSacher/MyEngine
8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8
[ "Apache-2.0" ]
null
null
null
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2015 - ROLI Ltd. Permission is granted to use this software under the terms of either: a) the GPL v2 (or any later version) b) the Affero GPL v3 Details of these ...
38.991058
236
0.602645
ChrSacher
d47749b0ea3957da5019af3ac4674e737820e2ae
8,716
cpp
C++
Space Invaders/Space Invaders/Space Invaders.cpp
JoshuaSimon/Space-Invaders
c9feccaa3d632d0b9ce471425892a4d1d81e5c61
[ "MIT" ]
null
null
null
Space Invaders/Space Invaders/Space Invaders.cpp
JoshuaSimon/Space-Invaders
c9feccaa3d632d0b9ce471425892a4d1d81e5c61
[ "MIT" ]
null
null
null
Space Invaders/Space Invaders/Space Invaders.cpp
JoshuaSimon/Space-Invaders
c9feccaa3d632d0b9ce471425892a4d1d81e5c61
[ "MIT" ]
null
null
null
/* A recreation of the classic arcade hit "Space Invaders" from 1978. Author: Joshua Simon Date: 24.08.2020 */ #include <iostream> #include <string> #include <vector> #include <conio.h> #include <thread> #include <chrono> class Player { public: int health; char model; char weapon; ...
29.053333
106
0.454566
JoshuaSimon
d47b1ce63ac90454092b3994b6381a4f36a3770e
2,375
cpp
C++
rover-framework/test/src/lost_cities/discard.cpp
johron/rover
3952e718468085d102d17cb7d4eebe72db373916
[ "MIT" ]
null
null
null
rover-framework/test/src/lost_cities/discard.cpp
johron/rover
3952e718468085d102d17cb7d4eebe72db373916
[ "MIT" ]
4
2018-11-30T11:51:40.000Z
2018-12-08T21:17:19.000Z
rover-framework/test/src/lost_cities/discard.cpp
johron/rover
3952e718468085d102d17cb7d4eebe72db373916
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "../src/games/lost_cities/discard.h" using namespace rover::lost_cities; TEST(discard_pile, empty) { const discard_pile empty_discard(color::blue); EXPECT_TRUE(empty_discard.empty()); } TEST(discard_pile, can_add) { const discard_pile blue_discard(color::blue); EXPECT_FALSE(blue...
30.844156
108
0.729263
johron
d47dc6cd16a7061be9f8236bd4e9ec7394296a9f
1,495
cpp
C++
src/Profiler.cpp
QBRC/seqminer
959fdb8819aef614ed811afaa1c8c23b0c6f0d46
[ "BSD-3-Clause" ]
null
null
null
src/Profiler.cpp
QBRC/seqminer
959fdb8819aef614ed811afaa1c8c23b0c6f0d46
[ "BSD-3-Clause" ]
null
null
null
src/Profiler.cpp
QBRC/seqminer
959fdb8819aef614ed811afaa1c8c23b0c6f0d46
[ "BSD-3-Clause" ]
null
null
null
#include "Profiler.h" #ifdef _WIN32 // need to undef ERROR to avoid redefinition between R and Windows gdi.h #undef ERROR #endif #include <R.h> #include <vector> #include <algorithm> #include "SimpleTimer.h" std::map<std::string, Profiler::Metric> Profiler::data; void Profiler::addTimer(const char* func) { Metri...
24.112903
113
0.646154
QBRC
d4842474d1b1822dfdc2adb2cd1611a55dcf1368
9,416
cpp
C++
src/hdf5/DataArrayHDF5.cpp
balint42/nix
50f1de33b946b7b194c82fb0efd9b0cecba9ed54
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/hdf5/DataArrayHDF5.cpp
balint42/nix
50f1de33b946b7b194c82fb0efd9b0cecba9ed54
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/hdf5/DataArrayHDF5.cpp
balint42/nix
50f1de33b946b7b194c82fb0efd9b0cecba9ed54
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2013, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. #include <nix/util/util.hpp> #include <nix...
27.135447
134
0.623726
balint42
d487de17784690450384389cb007f9af10a9f2af
41,134
cxx
C++
PWGGA/GammaConv/AliAnalysisTaskTrackQA.cxx
scostanz/AliPhysics
0071713935585b7451bf063bdbe0726d6c7bcebf
[ "BSD-3-Clause" ]
2
2021-01-04T10:25:33.000Z
2021-01-04T10:25:33.000Z
PWGGA/GammaConv/AliAnalysisTaskTrackQA.cxx
scostanz/AliPhysics
0071713935585b7451bf063bdbe0726d6c7bcebf
[ "BSD-3-Clause" ]
null
null
null
PWGGA/GammaConv/AliAnalysisTaskTrackQA.cxx
scostanz/AliPhysics
0071713935585b7451bf063bdbe0726d6c7bcebf
[ "BSD-3-Clause" ]
1
2022-01-24T11:11:09.000Z
2022-01-24T11:11:09.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Authors: Friederike Bock * * March 2019: A. Marin, TrackQA * * Version 1.0 * * * ...
40.646245
204
0.703263
scostanz
d488d6878cc45d4c5bff865f71c51ff652d102e9
214
cpp
C++
codeforces/random/SherlockGF.cpp
skmorningstar/Competitive-Programming
05ba602d0fe1492d5c36267237980a9ac2f124d6
[ "Apache-2.0" ]
null
null
null
codeforces/random/SherlockGF.cpp
skmorningstar/Competitive-Programming
05ba602d0fe1492d5c36267237980a9ac2f124d6
[ "Apache-2.0" ]
null
null
null
codeforces/random/SherlockGF.cpp
skmorningstar/Competitive-Programming
05ba602d0fe1492d5c36267237980a9ac2f124d6
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> #define ll long long int #define ld long double #define MOD 1000000007 using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); ll n; cin>>n; return 0; }
13.375
34
0.691589
skmorningstar
d48de5f321aacbc144cdd517e3da2606a15a5158
599
cpp
C++
Codes/2767.cpp
whitesimian/URI-Online-Judge
773b8a663d6eb113a030ea72aad3cefe758eed21
[ "MIT" ]
1
2019-10-13T03:43:59.000Z
2019-10-13T03:43:59.000Z
Codes/2767.cpp
rafflezs/URI-Online-Judge
773b8a663d6eb113a030ea72aad3cefe758eed21
[ "MIT" ]
null
null
null
Codes/2767.cpp
rafflezs/URI-Online-Judge
773b8a663d6eb113a030ea72aad3cefe758eed21
[ "MIT" ]
2
2021-02-16T05:47:06.000Z
2021-02-24T14:11:54.000Z
#include <bits/stdc++.h> #define fr(inicio, fim) for(int i = inicio; i < fim; i++) using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int n, m, k, h, rem[100001]; while(cin >> n >> m >> k){ // O(n + m + k) long long cont = 0; memset(rem, 0, sizeof(rem...
20.655172
78
0.430718
whitesimian
d492f50b021c57bae0bc346edfd8c0abe381c59d
188,800
cpp
C++
camCtrl/src/GT1290Camera.cpp
svarjo/VisMe
1e7e129ff2e6aa29f3a16d838e69e72455027e4a
[ "MIT" ]
3
2016-10-27T02:20:38.000Z
2019-11-22T18:14:33.000Z
camCtrl/src/GT1290Camera.cpp
svarjo/VisMe
1e7e129ff2e6aa29f3a16d838e69e72455027e4a
[ "MIT" ]
null
null
null
camCtrl/src/GT1290Camera.cpp
svarjo/VisMe
1e7e129ff2e6aa29f3a16d838e69e72455027e4a
[ "MIT" ]
2
2015-07-12T00:50:49.000Z
2020-12-17T00:02:45.000Z
/*============================================================================= Copyright (C) 2013 Allied Vision Technologies. All Rights Reserved. Redistribution of this file, in original or modified form, without prior written consent of Allied Vision Technologies is prohibited. -----------------------------...
30.29039
126
0.688882
svarjo
d4948774a68fcb3ee52d9f1a06b184a675882503
1,358
cpp
C++
cpp/0300-0399/304. Range Sum Query 2D - Immutable/solution.cpp
RapDoodle/LeetCode-Solutions
6f14b7621bc6db12303be7f85508f3a5b2c2c30a
[ "MIT" ]
null
null
null
cpp/0300-0399/304. Range Sum Query 2D - Immutable/solution.cpp
RapDoodle/LeetCode-Solutions
6f14b7621bc6db12303be7f85508f3a5b2c2c30a
[ "MIT" ]
null
null
null
cpp/0300-0399/304. Range Sum Query 2D - Immutable/solution.cpp
RapDoodle/LeetCode-Solutions
6f14b7621bc6db12303be7f85508f3a5b2c2c30a
[ "MIT" ]
null
null
null
class NumMatrix { private: vector<vector<int>> psum; public: NumMatrix(vector<vector<int>>& matrix) : psum(matrix.size()+1, vector<int>(matrix[0].size()+1, 0)) { // Partial sum int m = matrix.size(), n = matrix[0].size(); for (int i = 1; i <= m; ++i) for (int j = 1; j...
42.4375
90
0.508837
RapDoodle
d4980f8b3b5cfa9cd05fd4b3c6901b03ee84e3fe
749
hpp
C++
upgrade/boot_loader/ImageUpgraderEraseSectors.hpp
oguzcanphilips/embeddedinfralib
f1b083d61a34d123d34ab7cd51267377aa2f7855
[ "Unlicense" ]
54
2019-04-02T14:42:54.000Z
2022-03-20T23:02:19.000Z
upgrade/boot_loader/ImageUpgraderEraseSectors.hpp
oguzcanphilips/embeddedinfralib
f1b083d61a34d123d34ab7cd51267377aa2f7855
[ "Unlicense" ]
32
2019-03-26T06:57:29.000Z
2022-03-25T00:04:44.000Z
upgrade/boot_loader/ImageUpgraderEraseSectors.hpp
oguzcanphilips/embeddedinfralib
f1b083d61a34d123d34ab7cd51267377aa2f7855
[ "Unlicense" ]
20
2019-03-25T15:49:49.000Z
2022-03-20T23:02:22.000Z
#ifndef UPGRADE_IMAGE_UPGRADER_ERASE_SECTORS_HPP #define UPGRADE_IMAGE_UPGRADER_ERASE_SECTORS_HPP #include "infra/util/WithStorage.hpp" #include "upgrade/boot_loader/ImageUpgrader.hpp" namespace application { class ImageUpgraderEraseSectors : public ImageUpgrader { public: ImageUpgraderEra...
29.96
160
0.769025
oguzcanphilips
d4990f2312673b7ce5cac6f5f17af09b31c6178c
1,417
hpp
C++
src/gl/outlines/gloutlinescenery.hpp
helloer/polybobin
63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1
[ "MIT" ]
8
2016-10-06T11:49:14.000Z
2021-11-06T21:06:36.000Z
src/gl/outlines/gloutlinescenery.hpp
helloer/polybobin
63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1
[ "MIT" ]
20
2017-04-25T14:23:02.000Z
2018-12-04T22:46:04.000Z
src/gl/outlines/gloutlinescenery.hpp
helloer/polybobin
63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1
[ "MIT" ]
4
2016-11-22T16:06:18.000Z
2021-05-28T21:53:52.000Z
#ifndef GLOUTLINESCENERY_HPP #define GLOUTLINESCENERY_HPP #include "gloutline.hpp" #include "../../map/pmsstructs.hpp" #include <glm/gtc/matrix_transform.hpp> #include "../../selection.hpp" /** * \brief Handles the drawing of scenery's outline. Can be used for selection and wireframe. */ class GLOutlineScenery: pub...
30.804348
107
0.675371
helloer
d49a0dd3ef5b98123d55d2328358086c4cca04e6
819
hpp
C++
src/robolisp/parse.hpp
szsy-robotics/robolisp
22a9cda2fe43b859a4c5ab559bb7c55756ee0951
[ "BSD-3-Clause-Clear" ]
3
2020-03-04T16:53:26.000Z
2020-06-05T08:33:37.000Z
src/robolisp/parse.hpp
szsy-robotics/robolisp
22a9cda2fe43b859a4c5ab559bb7c55756ee0951
[ "BSD-3-Clause-Clear" ]
null
null
null
src/robolisp/parse.hpp
szsy-robotics/robolisp
22a9cda2fe43b859a4c5ab559bb7c55756ee0951
[ "BSD-3-Clause-Clear" ]
2
2020-03-26T04:14:36.000Z
2020-06-05T08:33:25.000Z
#pragma once #include <string> #include "val.hpp" #include "val/list.hpp" #include "val/err.hpp" namespace robolisp::impl { class Parser { public : explicit Parser(const std::string &str); ValPtr parse(); private : std::string::const_iterator char_iter_; ValPtrList err_list_ ...
19.97561
66
0.65812
szsy-robotics
d49eab4172d19927ede1a507507fec693d36a48d
17,294
cpp
C++
VirtualSMC/kern_keys.cpp
Cxp1220/VirtualSMC
10e5ad20d5acffc5a3949d45362bb8a819e6093b
[ "BSD-3-Clause" ]
1
2021-09-13T13:55:49.000Z
2021-09-13T13:55:49.000Z
VirtualSMC/kern_keys.cpp
chencaidy/VirtualSMC
999012964a7dffa2ea4f863b866bc7e0c4657277
[ "BSD-3-Clause" ]
null
null
null
VirtualSMC/kern_keys.cpp
chencaidy/VirtualSMC
999012964a7dffa2ea4f863b866bc7e0c4657277
[ "BSD-3-Clause" ]
1
2020-12-02T13:54:24.000Z
2020-12-02T13:54:24.000Z
// // kern_keys.cpp // VirtualSMC // // Copyright © 2017 vit9696. All rights reserved. // #include <Headers/kern_crypto.hpp> #include <Headers/kern_rtc.hpp> #include <Headers/kern_time.hpp> #include <architecture/i386/pio.h> #include "kern_keys.hpp" #include "kern_vsmc.hpp" #include "kern_efiend.hpp" VirtualSMCVa...
27.938611
172
0.705331
Cxp1220
d49f1b4926429f18b94d52fa5c698c6cf5724a34
2,727
cpp
C++
ClientEngine/game/engine/Stage/Paths/PathAnimator.cpp
twesd/editor
10ea9f535115dadab5694fecdb0c499d0013ac1b
[ "MIT" ]
null
null
null
ClientEngine/game/engine/Stage/Paths/PathAnimator.cpp
twesd/editor
10ea9f535115dadab5694fecdb0c499d0013ac1b
[ "MIT" ]
null
null
null
ClientEngine/game/engine/Stage/Paths/PathAnimator.cpp
twesd/editor
10ea9f535115dadab5694fecdb0c499d0013ac1b
[ "MIT" ]
null
null
null
#include "PathAnimator.h" #include "Core/GeometryWorker.h" PathAnimator::PathAnimator(SharedParams_t params) : Base(params), _targetPos(), _pathFinder(params, 256, 250.0f) { _speed = 0; _prevTime = 0; _targetDist = 1; _completeAnimate = true; _userParams = NULL; _stopCounter = 0; } PathAnimator::~PathAnimato...
20.503759
90
0.713971
twesd
d4a500dbfab8245c10155ca3e60955050e12792a
3,918
hpp
C++
source/Euclid/Numerics/Angle.hpp
kurocha/euclid
932e4a01043442becc696eb337e796ae9578a078
[ "Unlicense", "MIT" ]
7
2015-10-16T20:49:20.000Z
2019-04-17T09:34:35.000Z
source/Euclid/Numerics/Angle.hpp
kurocha/euclid
932e4a01043442becc696eb337e796ae9578a078
[ "Unlicense", "MIT" ]
null
null
null
source/Euclid/Numerics/Angle.hpp
kurocha/euclid
932e4a01043442becc696eb337e796ae9578a078
[ "Unlicense", "MIT" ]
null
null
null
// // Numerics/Angle.h // Euclid // // Created by Samuel Williams on 21/11/12. // Copyright (c) 2012 Samuel Williams. All rights reserved. // #ifndef _EUCLID_NUMERICS_ANGLE_H #define _EUCLID_NUMERICS_ANGLE_H #include "Numerics.hpp" #include "Number.hpp" #include "Float.hpp" namespace Euclid { namespace Numerics...
24.641509
110
0.666667
kurocha
d4a5dac586818d8e04c9291da59a06f83c8f6522
29,214
cpp
C++
code/engine/xrGame/visual_memory_manager.cpp
InNoHurryToCode/xray-162
fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e
[ "Apache-2.0" ]
58
2016-11-20T19:14:35.000Z
2021-12-27T21:03:35.000Z
code/engine/xrGame/visual_memory_manager.cpp
InNoHurryToCode/xray-162
fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e
[ "Apache-2.0" ]
59
2016-09-10T10:44:20.000Z
2018-09-03T19:07:30.000Z
code/engine/xrGame/visual_memory_manager.cpp
InNoHurryToCode/xray-162
fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e
[ "Apache-2.0" ]
39
2017-02-05T13:35:37.000Z
2022-03-14T11:00:12.000Z
//////////////////////////////////////////////////////////////////////////// // Module : visual_memory_manager.cpp // Created : 02.10.2001 // Modified : 19.11.2003 // Author : Dmitriy Iassenev // Description : Visual memory manager //////////////////////////////////////////////////////////////////////////// #inc...
34.654804
112
0.644349
InNoHurryToCode
d4ab2762235791210b85779c0375078f14f0bebd
255
cpp
C++
week2/GreatestCommonDivisor.cpp
leohr/coursera-algorithmic-toolbox
53894f826f00b0776859174d45395eab48180dde
[ "MIT" ]
null
null
null
week2/GreatestCommonDivisor.cpp
leohr/coursera-algorithmic-toolbox
53894f826f00b0776859174d45395eab48180dde
[ "MIT" ]
null
null
null
week2/GreatestCommonDivisor.cpp
leohr/coursera-algorithmic-toolbox
53894f826f00b0776859174d45395eab48180dde
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ int a, b; cin >> a >> b; int m1 = min(a,b), m2 = max(a,b); int r = m2%m1; while (r != 0){ m2 = m1; m1 = r; r = m2%m1; } cout << m1 << endl; }
17
38
0.407843
leohr
d4b066be4de9732511fa962149ac6db3c122ee5f
1,634
cpp
C++
src/Util/Time.cpp
D3r3k23/DrkCraft
5eaae66f558ce84f18de702b4227ca8d2cfe534f
[ "MIT" ]
1
2022-02-10T04:41:57.000Z
2022-02-10T04:41:57.000Z
src/Util/Time.cpp
D3r3k23/DrkCraft
5eaae66f558ce84f18de702b4227ca8d2cfe534f
[ "MIT" ]
null
null
null
src/Util/Time.cpp
D3r3k23/DrkCraft
5eaae66f558ce84f18de702b4227ca8d2cfe534f
[ "MIT" ]
null
null
null
#include "Time.hpp" namespace DrkCraft { namespace Time { static Time s_programStart = Clock::now(); static const auto s_currentTimezone = std::chrono::current_zone(); Time get_program_start_time(void) { return s_programStart; } Time get_program_tim...
22.081081
83
0.580783
D3r3k23
d4b38a69d16ce07a3b02da61ab866e052612fd7b
1,112
cpp
C++
solved/u-w/wertyu/wertyu.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/u-w/wertyu/wertyu.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/u-w/wertyu/wertyu.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <cstdio> #include <cstring> #define Sc(t,v) static_cast<t>(v) char map[256]; void add_map(const char *str) { int len = strlen(str); for (int i = 1; i < len; ++i) map[Sc(int, str[i])] = str[i - 1]; } void prepare() { add_map("`1234567890-="); add_map("QWERTYUIOP[]\\"); add_map("...
19.857143
70
0.446043
abuasifkhan
d4b9da483a8b5197a03b25a84186a2287d09bf76
10,368
hpp
C++
include/g6/http/impl/static_parser_handler.hpp
Garcia6l20/g6-web
6e9a1f9d85f26a977407d4c895f357e5f045efb9
[ "MIT" ]
3
2021-05-16T11:37:59.000Z
2022-01-30T13:52:59.000Z
include/g6/http/impl/static_parser_handler.hpp
Garcia6l20/g6-web
6e9a1f9d85f26a977407d4c895f357e5f045efb9
[ "MIT" ]
null
null
null
include/g6/http/impl/static_parser_handler.hpp
Garcia6l20/g6-web
6e9a1f9d85f26a977407d4c895f357e5f045efb9
[ "MIT" ]
1
2021-11-06T12:36:37.000Z
2021-11-06T12:36:37.000Z
#pragma once #include <g6/http/http.hpp> #include <g6/utils/c_ptr.hpp> #include <g6/web/uri.hpp> #include <unifex/span.hpp> #include <unifex/task.hpp> #include <fmt/format.h> #include <charconv> #include <concepts> #include <g6/net/net_cpo.hpp> #include <memory> namespace g6::http::detail { template<detail::ht...
38.117647
120
0.57012
Garcia6l20
d4badd2b2b0ba7f1d2bb2995cba72cd9bb924213
27,287
hpp
C++
SDK/ARKSurvivalEvolved_AIModule_structs.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_AIModule_structs.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_AIModule_structs.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_Basic.hpp" #include "ARKSurvivalEvolved_CoreUObject_classes.hpp" #include "ARKSurvivalEvolved_Engine_classes.hpp" namespace sdk { //------------------------------------------------------------...
41.281392
219
0.59893
2bite
d4bbf730afd2792a00add17a7aef8f3e2424f1ea
1,889
hpp
C++
util/function_traits.hpp
kindone/proptest
174981600571b75bbd9ed69f56453c9994d2878c
[ "MIT" ]
1
2021-06-19T05:40:33.000Z
2021-06-19T05:40:33.000Z
util/function_traits.hpp
kindone/cppproptest
db3cace33af7914d6d2b65945baa5554da281725
[ "MIT" ]
null
null
null
util/function_traits.hpp
kindone/cppproptest
db3cace33af7914d6d2b65945baa5554da281725
[ "MIT" ]
null
null
null
#pragma once #include "std.hpp" #include "typelist.hpp" namespace proptest { template <class F> struct function_traits; template <class R, class... Args> struct function_traits<R (*)(Args...)> : public function_traits<R(Args...)> { }; template <class R, class... Args> struct function_traits<R(Args...)> { using ...
23.6125
88
0.68396
kindone
d4bf282b8d1c961b12ca50dd1567d20c2bb4d2bb
1,245
cpp
C++
spoki/libspoki/src/net/icmp.cpp
inetrg/spoki
599a19366e4cea70e2391471de6f6b745935cddf
[ "MIT" ]
1
2022-02-03T15:35:16.000Z
2022-02-03T15:35:16.000Z
spoki/libspoki/src/net/icmp.cpp
inetrg/spoki
599a19366e4cea70e2391471de6f6b745935cddf
[ "MIT" ]
null
null
null
spoki/libspoki/src/net/icmp.cpp
inetrg/spoki
599a19366e4cea70e2391471de6f6b745935cddf
[ "MIT" ]
null
null
null
/* * This file is part of the CAF spoki driver. * * Copyright (C) 2018-2021 * Authors: Raphael Hiesgen * * All rights reserved. * * Report any bugs, questions or comments to raphael.hiesgen@haw-hamburg.de * */ #include "spoki/net/icmp.hpp" #include <sstream> #include <nlohmann/json.hpp> #include "spoki/co...
19.153846
80
0.592771
inetrg
d4bfeb249592f76b17d2ca03e30573dc4792e5ca
5,815
cpp
C++
KeePass.1.39.a/WinGUI/DbSettingsDlg.cpp
rrvt/KeePassLastPass
217b627d906cf0af21ac69643a2d2e24e88f934b
[ "MIT" ]
null
null
null
KeePass.1.39.a/WinGUI/DbSettingsDlg.cpp
rrvt/KeePassLastPass
217b627d906cf0af21ac69643a2d2e24e88f934b
[ "MIT" ]
null
null
null
KeePass.1.39.a/WinGUI/DbSettingsDlg.cpp
rrvt/KeePassLastPass
217b627d906cf0af21ac69643a2d2e24e88f934b
[ "MIT" ]
null
null
null
/* KeePass Password Safe - The Open-Source Password Manager Copyright (C) 2003-2021 Dominik Reichl <dominik.reichl@t-online.de> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either versio...
28.504902
107
0.743766
rrvt
d4c056a44a6bb6e77a252f6b557b7baa199356e4
2,273
cpp
C++
Plugins/org.mitk.core.ext/src/internal/mitkInputDeviceDescriptor.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2022-03-03T12:03:32.000Z
2022-03-03T12:03:32.000Z
Plugins/org.mitk.core.ext/src/internal/mitkInputDeviceDescriptor.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Plugins/org.mitk.core.ext/src/internal/mitkInputDeviceDescriptor.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
30.716216
127
0.720634
zhaomengxiao
d4c4f37267497e5ad5e2d576fba7f0238b5f66cd
109,184
cpp
C++
src/Game.cpp
MasterMenOfficial/CSPSP-Client
d8ab8cc52543ca4cb136aab98c10d3efb61f8ebe
[ "BSD-3-Clause" ]
3
2021-01-20T08:57:23.000Z
2021-11-21T02:10:13.000Z
src/Game.cpp
MasterMenSilver/PSP-CSPSP-Client
d8ab8cc52543ca4cb136aab98c10d3efb61f8ebe
[ "BSD-3-Clause" ]
1
2018-06-26T00:02:20.000Z
2020-10-20T21:07:54.000Z
src/Game.cpp
MasterMenOfficial/CSPSP-1.92-rev9.0-Source-Code
d8ab8cc52543ca4cb136aab98c10d3efb61f8ebe
[ "BSD-3-Clause" ]
null
null
null
#include "Game.h" //------------------------------------------------------------------------------------------------ Game::Game(GameApp* parent): GameState(parent) { mSpecState = FREELOOK; mSpecDead = false; mRespawnTime = 5; mRoundTimer = 0.0f; mRoundEndTimer = 0.0f; mBuyTimer = 0.0f; mTimer = 0.0f; mSwitch...
30.930312
280
0.594391
MasterMenOfficial
d4c6687eb5dda5deb55af3a73030abe385257b12
2,108
hpp
C++
src/graphics/shader_util.hpp
clman94/Wolf-Gang-Engine
52fa71d6be1fb940a0998f29b4e0ce631e624b25
[ "MIT" ]
5
2016-09-18T01:39:19.000Z
2020-05-24T02:37:45.000Z
src/graphics/shader_util.hpp
clman94/Wolf-Gang-Engine
52fa71d6be1fb940a0998f29b4e0ce631e624b25
[ "MIT" ]
25
2017-02-11T21:13:24.000Z
2020-06-24T08:48:33.000Z
src/graphics/shader_util.hpp
clman94/Wolf-Gang-Engine
52fa71d6be1fb940a0998f29b4e0ce631e624b25
[ "MIT" ]
2
2017-04-29T22:12:16.000Z
2018-04-05T10:35:25.000Z
#pragma once #include <iostream> #include <string> #include <cassert> #include <fstream> #include <wge/logging/log.hpp> namespace wge::graphics { inline bool compile_shader(GLuint pGL_shader, const std::string& pSource) { // Compile Shader const char * source_ptr = pSource.c_str(); glShaderSource(pGL_shader, 1, &...
26.024691
98
0.753795
clman94
d4cb0ab0d5fe66832085ecba4c87e95fbd0cb925
6,776
cpp
C++
code/engine.vc2008/xrGame/UIZoneMap.cpp
StalkerEz/xray-oxygen
77f7791fa71ad08eacc1330b5441d29cd8ce79ef
[ "Apache-2.0" ]
6
2020-07-06T13:34:28.000Z
2021-07-12T10:36:23.000Z
code/engine.vc2008/xrGame/UIZoneMap.cpp
StalkerEz/xray-oxygen
77f7791fa71ad08eacc1330b5441d29cd8ce79ef
[ "Apache-2.0" ]
null
null
null
code/engine.vc2008/xrGame/UIZoneMap.cpp
StalkerEz/xray-oxygen
77f7791fa71ad08eacc1330b5441d29cd8ce79ef
[ "Apache-2.0" ]
5
2020-10-18T11:55:26.000Z
2022-03-28T07:21:35.000Z
#include "stdafx.h" #include "UIZoneMap.h" #include "InfoPortion.h" #include "Pda.h" #include "Grenade.h" #include "level.h" #include "actor.h" #include "ai_space.h" #include "game_graph.h" #include "ui/UIMap.h" #include "../xrUICore/UIXmlInit.h" #include "../xrUICore/UIHelper.h" #include "ui/UIInventoryUtilities....
25.569811
134
0.683294
StalkerEz
d4cb56c3a4c11302573cdaf723a772c8b9359f5b
310
hpp
C++
Tests/debug.hpp
echo-Mike/CodeSnippets
64b730662f01529eb8f8245c296637c35f9acb1f
[ "MIT" ]
null
null
null
Tests/debug.hpp
echo-Mike/CodeSnippets
64b730662f01529eb8f8245c296637c35f9acb1f
[ "MIT" ]
null
null
null
Tests/debug.hpp
echo-Mike/CodeSnippets
64b730662f01529eb8f8245c296637c35f9acb1f
[ "MIT" ]
null
null
null
#pragma once #define DEBUG #define DEBUG_LIB_TEST #ifdef DEBUG_LIB_TEST_MT # define DEBUG_LIB_THREAD_SAFETY # define DEBUG_LIB_FILE_LOG # define DEBUG_LIB_LOG_FILE_NAME "DebugLib_MT.log" #else namespace DebugLibTests { struct FlushTag {}; } # define DEBUG_LIB_FLUSH ::DebugLibTests::FlushTag() #endif
20.666667
54
0.793548
echo-Mike
d4cb624741c485b1ad0b1acc17c9ac04075034d5
3,003
cpp
C++
src/FBXNode.cpp
inosphe/GIRenderer
3856c2455b668d16c0bf41d453be895a39053217
[ "MIT" ]
2
2016-07-25T22:47:28.000Z
2020-08-10T08:02:06.000Z
src/FBXNode.cpp
inosphe/GIRenderer
3856c2455b668d16c0bf41d453be895a39053217
[ "MIT" ]
null
null
null
src/FBXNode.cpp
inosphe/GIRenderer
3856c2455b668d16c0bf41d453be895a39053217
[ "MIT" ]
1
2020-08-10T08:02:08.000Z
2020-08-10T08:02:08.000Z
// // Created by inosphe on 2016. 4. 3.. // #include "common_header.h" #include "FBXNode.h" #include <fbxsdk.h> #include <cassert> #include "FBXMesh.h" #include "util/FBXUtil.h" #include "FBXMesh.h" #include "FBXMaterial.h" Render::FBXNode::FBXNode(FbxNode *pNode, Resource::ResourceManager& rm) :IModel() { InitFBXNo...
26.342105
93
0.73693
inosphe
d4cbec1e9d779cc7047108f9ac0c2e2cc4375074
1,232
hpp
C++
src/ccf/Link.hpp
tomcreutz/knowledge-reasoning-moreorg
545fa92eaf0fc8ccc4cc042bd994afc918d16f68
[ "BSD-3-Clause" ]
null
null
null
src/ccf/Link.hpp
tomcreutz/knowledge-reasoning-moreorg
545fa92eaf0fc8ccc4cc042bd994afc918d16f68
[ "BSD-3-Clause" ]
1
2021-02-26T11:11:03.000Z
2021-02-26T19:16:10.000Z
src/ccf/Link.hpp
tomcreutz/knowledge-reasoning-moreorg
545fa92eaf0fc8ccc4cc042bd994afc918d16f68
[ "BSD-3-Clause" ]
1
2021-05-17T13:02:49.000Z
2021-05-17T13:02:49.000Z
#ifndef MULTIAGENT_CCF_LINK_HPP #define MULTIAGENT_CCF_LINK_HPP #include <vector> #include <set> #include <moreorg/ccf/Actor.hpp> #include <moreorg/ccf/Interface.hpp> #include <moreorg/ccf/LinkGroup.hpp> #include <moreorg/ccf/LinkType.hpp> namespace multiagent { namespace ccf { class Link { // The id of the lin...
26.782609
84
0.706169
tomcreutz
d4cd831185dbec62db66399bb042e66a81746fdc
497
cpp
C++
projects/realtimeCamera.v2/realtimeCamera.cpp
lucasbrsa/OpenCV3.2
b6db40bd43dce7847dce1a808fd29bb1b140dea3
[ "MIT" ]
null
null
null
projects/realtimeCamera.v2/realtimeCamera.cpp
lucasbrsa/OpenCV3.2
b6db40bd43dce7847dce1a808fd29bb1b140dea3
[ "MIT" ]
null
null
null
projects/realtimeCamera.v2/realtimeCamera.cpp
lucasbrsa/OpenCV3.2
b6db40bd43dce7847dce1a808fd29bb1b140dea3
[ "MIT" ]
null
null
null
/* * Realtime Camera Version 2 * * This is an overall improvement of the original realtime * camera project. Targeting linux distros specifically * * 24.04.17 | Lucas Barbosa | Open source software */ #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <iostream> #inclu...
17.137931
59
0.692153
lucasbrsa
d4d1b96bff3842bde057b2eabb6ab31874f57cee
1,666
cpp
C++
telephone_dsa.cpp
MeredithCL/Algorithms-Basic-Exercises
c9cadfbe3cf5a0d6fabb34aa6ff170e97f1e4e83
[ "MIT" ]
null
null
null
telephone_dsa.cpp
MeredithCL/Algorithms-Basic-Exercises
c9cadfbe3cf5a0d6fabb34aa6ff170e97f1e4e83
[ "MIT" ]
null
null
null
telephone_dsa.cpp
MeredithCL/Algorithms-Basic-Exercises
c9cadfbe3cf5a0d6fabb34aa6ff170e97f1e4e83
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct Node { bool end; Node* c[10]; Node() { end = false; for (int i = 0; i < 10; ++ i) { c[i] = NULL; } } }; void insertx(string str, Node* root) { int l = str.length(); Node* temp = root; for (in...
17.913978
40
0.35114
MeredithCL
d4d7818eeaa90d19c6380238c834448d05e0c010
3,175
cpp
C++
HappyLetterDiv2.cpp
felikjunvianto/kfile-tc-srm-submissions
c98b21c6dbffb8c80b97abddc08d77c508aa43dc
[ "MIT" ]
null
null
null
HappyLetterDiv2.cpp
felikjunvianto/kfile-tc-srm-submissions
c98b21c6dbffb8c80b97abddc08d77c508aa43dc
[ "MIT" ]
null
null
null
HappyLetterDiv2.cpp
felikjunvianto/kfile-tc-srm-submissions
c98b21c6dbffb8c80b97abddc08d77c508aa43dc
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <cmath> #include <cstring> #include <iostream> #include <string> #include <algorithm> #include <vector> #include <stack> #include <queue> #include <map> #include <set> #include <utility> #define LL long long #define INF 1000000000 #define EPS 1e-9 #define ...
22.678571
98
0.558425
felikjunvianto
d4d8a33aa01db75149baeb0c5105a488476f1cf0
1,362
cpp
C++
CarND-Extended-Kalman-Filter-Project/src/kalman_filter.cpp
rune2002/Udacity-self-driving-projects
2f3c46fddb52a8539720ec9f3021e85b249cfa39
[ "MIT" ]
null
null
null
CarND-Extended-Kalman-Filter-Project/src/kalman_filter.cpp
rune2002/Udacity-self-driving-projects
2f3c46fddb52a8539720ec9f3021e85b249cfa39
[ "MIT" ]
null
null
null
CarND-Extended-Kalman-Filter-Project/src/kalman_filter.cpp
rune2002/Udacity-self-driving-projects
2f3c46fddb52a8539720ec9f3021e85b249cfa39
[ "MIT" ]
null
null
null
#include "kalman_filter.h" #include <math.h> using Eigen::MatrixXd; using Eigen::VectorXd; KalmanFilter::KalmanFilter() {} KalmanFilter::~KalmanFilter() {} void KalmanFilter::Init(VectorXd &x_in, MatrixXd &P_in, MatrixXd &F_in, MatrixXd &H_in, MatrixXd &R_in, MatrixXd &Q_in) { x_ = x_in; ...
21.967742
73
0.563877
rune2002
d4d8b439ff3ea28163b7aa28a93f23c79762c555
1,664
cpp
C++
snippets/cpp/VS_Snippets_CLR_System/system.datetime.addminutes/cpp/addminutes1.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
2
2020-03-12T19:26:36.000Z
2022-01-10T21:45:33.000Z
snippets/cpp/VS_Snippets_CLR_System/system.datetime.addminutes/cpp/addminutes1.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
555
2019-09-23T22:22:58.000Z
2021-07-15T18:51:12.000Z
snippets/cpp/VS_Snippets_CLR_System/system.datetime.addminutes/cpp/addminutes1.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
3
2020-01-29T16:31:15.000Z
2021-08-24T07:00:15.000Z
// <Snippet1> using namespace System; void main() { DateTime dateValue(2013, 9, 15, 12, 0, 0); array<Double>^ minutes = { .01667, .08333, .16667, .25, .33333, .5, .66667, 1, 2, 15, 30, 17, 45, 60, 180, 60 * 24 }; for each (Double minute in ...
48.941176
88
0.567909
BohdanMosiyuk
d4d8f1990d2d2ff97f11f01fdccb0bf183b4de22
1,052
cpp
C++
src/main.cpp
wimblerobotics/football_demo
34927955947dafb4aa5a457cf1cc3e1e8ebdb4da
[ "MIT" ]
1
2020-12-05T22:24:27.000Z
2020-12-05T22:24:27.000Z
src/main.cpp
wimblerobotics/football_demo
34927955947dafb4aa5a457cf1cc3e1e8ebdb4da
[ "MIT" ]
null
null
null
src/main.cpp
wimblerobotics/football_demo
34927955947dafb4aa5a457cf1cc3e1e8ebdb4da
[ "MIT" ]
null
null
null
#include <assert.h> #include <curses.h> #include <iostream> #include <string> //#include <stdlib.h> #include <unistd.h> /* for sleep() */ #include "football.h" #include "team.h" int main() { Team away_team = Team(Team::NINERS); Team home_team = Team(Team::GIANTS); Football* football = new Footb...
28.432432
77
0.648289
wimblerobotics
d4dc9d3d1dc8c14776027c96fa04924cea0e4f8b
5,986
cpp
C++
QSynthesis/Frontend/Tabs/Welcome/WelcomeTabContent.cpp
SineStriker/QSynthesis-Old
7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d
[ "MIT" ]
3
2021-12-08T05:30:52.000Z
2021-12-18T10:46:49.000Z
QSynthesis/Frontend/Tabs/Welcome/WelcomeTabContent.cpp
QSynthesis/QSynthesis-Old
7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d
[ "MIT" ]
null
null
null
QSynthesis/Frontend/Tabs/Welcome/WelcomeTabContent.cpp
QSynthesis/QSynthesis-Old
7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d
[ "MIT" ]
null
null
null
#include "WelcomeTabContent.h" #include "SettingIniFile.h" #include "WelcomeTab.h" #include "application.h" WelcomeTabContent::WelcomeTabContent(WelcomeTab *tab, QWidget *parent) : CentralTabContent(parent), m_tab(tab) { mainLayout = new QVBoxLayout(this); mainLayout->setMargin(40); mainLayout->setSpac...
30.697436
95
0.640996
SineStriker
d4dcdd143d652c7246ba6af51ca874f012242f3e
2,338
cc
C++
lib/basic_sdl.cc
anton4o123/histogram
1a48b5193fdd3a20d91eab51ac6462db66864e60
[ "BSD-3-Clause" ]
null
null
null
lib/basic_sdl.cc
anton4o123/histogram
1a48b5193fdd3a20d91eab51ac6462db66864e60
[ "BSD-3-Clause" ]
null
null
null
lib/basic_sdl.cc
anton4o123/histogram
1a48b5193fdd3a20d91eab51ac6462db66864e60
[ "BSD-3-Clause" ]
null
null
null
#include "basic_sdl.hh" bool start_SDL() { if(SDL_Init(SDL_INIT_EVERYTHING) == -1 || TTF_Init() == -1) { return false; } SDL_EnableUNICODE(SDL_ENABLE); screen = SDL_SetVideoMode(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP, SDL_SWSURFACE); if(screen == NULL) { return false; } SDL_WM_SetCaption("Histogram equal...
25.413043
360
0.665954
anton4o123
d4dd313aba5a26bc8fe18393d94bd2f41dc22570
673
cpp
C++
ipc/ipc_posix_mq_send.cpp
opensource000/cnblogs
31eaee01e150072f26ac50d43a740143016588ea
[ "Apache-2.0" ]
3
2017-08-30T07:12:28.000Z
2017-08-30T07:12:33.000Z
ipc/ipc_posix_mq_send.cpp
opensource000/cnblogs
31eaee01e150072f26ac50d43a740143016588ea
[ "Apache-2.0" ]
null
null
null
ipc/ipc_posix_mq_send.cpp
opensource000/cnblogs
31eaee01e150072f26ac50d43a740143016588ea
[ "Apache-2.0" ]
1
2019-04-18T02:37:20.000Z
2019-04-18T02:37:20.000Z
#include <iostream> #include <cstring> #include <errno.h> #include <unistd.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <mqueue.h> using namespace std; int main(int argc, char** argv) { mqd_t mqID; unsigned int iprio; if (argc!=4) { printf("usage: ./ipc_posix_mq_send <mq name> <messa...
21.03125
83
0.625557
opensource000
d4de9d67a2b6e2b2f805acfaf7cc8d3440477ecc
8,605
cc
C++
src/search/RTDPCore.cc
ktushar14/zmdp
55174941c85eb04ab2f6ea13d7f3fd72e8530d54
[ "Apache-2.0" ]
null
null
null
src/search/RTDPCore.cc
ktushar14/zmdp
55174941c85eb04ab2f6ea13d7f3fd72e8530d54
[ "Apache-2.0" ]
null
null
null
src/search/RTDPCore.cc
ktushar14/zmdp
55174941c85eb04ab2f6ea13d7f3fd72e8530d54
[ "Apache-2.0" ]
null
null
null
/********** tell emacs we use -*- c++ -*- style comments ******************* $Revision: 1.26 $ $Author: trey $ $Date: 2007-04-19 22:18:46 $ @file RTDPCore.cc @brief Common code used by multiple RTDP variants found in this directory. Copyright (c) 2006, Trey Smith. All rights reserved. Licens...
30.087413
185
0.684253
ktushar14
d4df3e9a524cec185e01eb7486097b77d05f9ec7
326
hpp
C++
cell/cell.hpp
svr8/SegmentedPathPlanner
f3a1ae57d0370c0528b231bd2994322fc28bdb6b
[ "MIT" ]
7
2021-04-01T05:06:38.000Z
2021-04-06T13:56:41.000Z
cell/cell.hpp
svr8/SegmentedPathPlanner
f3a1ae57d0370c0528b231bd2994322fc28bdb6b
[ "MIT" ]
null
null
null
cell/cell.hpp
svr8/SegmentedPathPlanner
f3a1ae57d0370c0528b231bd2994322fc28bdb6b
[ "MIT" ]
null
null
null
#ifndef CELL_INCLUDE #define CELL_INCLUDE enum cell_type { UNVISITED, VISITED, FREE, BLOCK }; // cell is a single point in the grid environment class cell { public: int row; int col; cell(); cell(int r, int c); double euclidean_distance(cell& other); bool is_equal(cell& other); }; ...
14.173913
49
0.656442
svr8
d4df5caa3b5918afb257901b308194bf8c8f522f
1,422
cpp
C++
antmanrun/Classes/GameTransferScene.cpp
arksha/AntManRunning
8ac61dd3891c42ca5782cf361da125be1ea12452
[ "Apache-2.0" ]
null
null
null
antmanrun/Classes/GameTransferScene.cpp
arksha/AntManRunning
8ac61dd3891c42ca5782cf361da125be1ea12452
[ "Apache-2.0" ]
null
null
null
antmanrun/Classes/GameTransferScene.cpp
arksha/AntManRunning
8ac61dd3891c42ca5782cf361da125be1ea12452
[ "Apache-2.0" ]
1
2019-07-21T07:58:51.000Z
2019-07-21T07:58:51.000Z
#include "cocostudio/CocoStudio.h" #include "ui/CocosGUI.h" #include "GameTransferScene.h" #include "GameLayer.h" #include "Definitions.h" #include "SimpleAudioEngine.h" USING_NS_CC; //using namespace cocostudio::timeline; unsigned int TransferScore; unsigned int myMapIndex; unsigned int TransferEnergy; Scene* Ga...
23.311475
107
0.711674
arksha
d4e2c44a7605d208f39cd2b42eef11af6a54b9d2
858
cpp
C++
Recursion/Recursion - 2 - Strings/07. RemoveDuplicates.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
2
2021-05-21T17:10:02.000Z
2021-05-29T05:13:06.000Z
Recursion/Recursion - 2 - Strings/07. RemoveDuplicates.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
null
null
null
Recursion/Recursion - 2 - Strings/07. RemoveDuplicates.cpp
sohamnandi77/Cpp-Data-Structures-And-Algorithm
f29a14760964103a5b58cfff925cd8f7ed5aa6c1
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int len(char *str) { if (str[0] == '\0') return 0; return 1 + len(str + 1); } void RemoveDuplicates(char *s) { // Base Case if (len(s) <= 1) return; if (s[0] == s[1]) { int i = 1; for (; s[i] != '\0'; ...
16.5
47
0.484848
sohamnandi77
d4e6332a5f6057b2cf132edc933e4149392958f9
598
hpp
C++
include/RED4ext/Scripting/Natives/Generated/work/WorkspotResource.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/work/WorkspotResource.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/work/WorkspotResource.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Handle.hpp> #include <RED4ext/Scripting/Natives/Generated/anim/AnimGraph.hpp> namespace RED4ext { namespace work { struct WorkspotTree; } namespace work { struct WorkspotResourc...
23.92
65
0.755853
jackhumbert
d4e86b6047b40aeab3efd734b0d78240e150d7a3
5,692
hpp
C++
src/test/src/uima/parse_handlers.hpp
RoboSherlock/uima-uimacpp
6eb3ce9f9a766dd28ff727feb9463636ef29288d
[ "Apache-2.0" ]
null
null
null
src/test/src/uima/parse_handlers.hpp
RoboSherlock/uima-uimacpp
6eb3ce9f9a766dd28ff727feb9463636ef29288d
[ "Apache-2.0" ]
null
null
null
src/test/src/uima/parse_handlers.hpp
RoboSherlock/uima-uimacpp
6eb3ce9f9a766dd28ff727feb9463636ef29288d
[ "Apache-2.0" ]
1
2018-05-05T04:13:59.000Z
2018-05-05T04:13:59.000Z
/** \file parse_handlers.hpp . * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version...
35.575
105
0.550597
RoboSherlock
d4ece90d8ab3149c608877feb79e4f99ce1b06a2
21
cpp
C++
Classes/Models/Character/Cell/EffectCell/Effector/Effector.cpp
friedcroco070801/bloodypenguins
35f62812ca3e5a15de64bd2808eabbdc82fd848b
[ "MIT" ]
null
null
null
Classes/Models/Character/Cell/EffectCell/Effector/Effector.cpp
friedcroco070801/bloodypenguins
35f62812ca3e5a15de64bd2808eabbdc82fd848b
[ "MIT" ]
null
null
null
Classes/Models/Character/Cell/EffectCell/Effector/Effector.cpp
friedcroco070801/bloodypenguins
35f62812ca3e5a15de64bd2808eabbdc82fd848b
[ "MIT" ]
1
2022-02-06T21:44:31.000Z
2022-02-06T21:44:31.000Z
#include "Effector.h"
21
21
0.761905
friedcroco070801
d4f0737d56866fd73cc1a70587cd433a01172934
602
cpp
C++
HDUOJ/2088.cpp
LzyRapx/Competitive-Programming
6b0eea727f9a6444700a6966209397ac7011226f
[ "Apache-2.0" ]
81
2018-06-03T04:27:45.000Z
2020-09-13T09:04:12.000Z
HDUOJ/2088.cpp
Walkerlzy/Competitive-algorithm
6b0eea727f9a6444700a6966209397ac7011226f
[ "Apache-2.0" ]
null
null
null
HDUOJ/2088.cpp
Walkerlzy/Competitive-algorithm
6b0eea727f9a6444700a6966209397ac7011226f
[ "Apache-2.0" ]
21
2018-07-11T04:02:38.000Z
2020-07-18T20:31:14.000Z
#include <iostream> using namespace std; int main() { int n; int a[51]; int mid; long long sum; bool first = true; while(cin >> n && n) { sum = 0; if(!first) cout << endl; for(int i = 0; i < n; i++) { cin >> a[i]; ...
18.8125
36
0.332226
LzyRapx
d4f0a09178729bb0729cb9485e79660caba8ebf6
2,009
cc
C++
ScatterAndGather/mpi_all_avg.cc
zearom32/MPI_TUTORIAL
c35d638ceefd91ac33587dcabc85068f2f179677
[ "MIT" ]
null
null
null
ScatterAndGather/mpi_all_avg.cc
zearom32/MPI_TUTORIAL
c35d638ceefd91ac33587dcabc85068f2f179677
[ "MIT" ]
null
null
null
ScatterAndGather/mpi_all_avg.cc
zearom32/MPI_TUTORIAL
c35d638ceefd91ac33587dcabc85068f2f179677
[ "MIT" ]
null
null
null
// Author: Wes Kendall // Copyright 2012 www.mpitutorial.com // This code is provided freely with the tutorials on mpitutorial.com. Feel // free to modify it for your own use. Any distribution of the code must // either provide a link to www.mpitutorial.com or keep this header intact. // // Program that computes the av...
28.7
145
0.711299
zearom32
d4f4e64096d286dcee2c15153c3dc6bd3e7b0fbb
9,718
cpp
C++
src/common.cpp
makuke1234/PdfiumView
906099f7121a74953486a00a340e57ebe038e9bb
[ "MIT" ]
null
null
null
src/common.cpp
makuke1234/PdfiumView
906099f7121a74953486a00a340e57ebe038e9bb
[ "MIT" ]
3
2022-01-17T09:54:43.000Z
2022-03-15T13:57:29.000Z
src/common.cpp
makuke1234/PdfiumView
906099f7121a74953486a00a340e57ebe038e9bb
[ "MIT" ]
null
null
null
#include "common.hpp" #include "mainwindow.hpp" #include <shellapi.h> [[nodiscard]] RECT pdfv::w::getCliR(HWND hwnd, RECT def) noexcept { RECT r; if (::GetClientRect(hwnd, &r)) [[likely]] { return r; } else [[unlikely]] { return def; } } [[nodiscard]] RECT pdfv::w::getWinR(HWND hwnd, RECT def) noexcept { ...
21.172113
141
0.646224
makuke1234
d4f5a1f7a43ca5f502efb9f472d36be2c8308478
776
cpp
C++
PAT/Basic Level_C++/1086.cpp
APTX-4396/PAT
e159211e42a1ebcae80fb41da984b286f71d571e
[ "MIT" ]
1
2021-09-16T00:44:06.000Z
2021-09-16T00:44:06.000Z
PAT/Basic Level_C++/1086.cpp
APTX-4396/PAT
e159211e42a1ebcae80fb41da984b286f71d571e
[ "MIT" ]
null
null
null
PAT/Basic Level_C++/1086.cpp
APTX-4396/PAT
e159211e42a1ebcae80fb41da984b286f71d571e
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int a, b, c; int size[10]; int i = 0, num = 0; cin >> a >> b; c = a * b; for (num; c != 0; num++) { size[num] = c % 10; c = c / 10; } int flag = 1; for (i = 0; i < num; i++) { if (flag == 1) { if (size[i] == 0) continue; else { cout << si...
13.614035
42
0.485825
APTX-4396
d4f8103d4e5b4b855d684a14a4582a9bb3cec517
16,746
cc
C++
src/RestStringProcessing.cc
Alexey-Ershov/runos
dfbf8f74d7f45d25f0d4fad743b51f572ec272c9
[ "Apache-2.0" ]
9
2019-04-04T18:03:36.000Z
2019-05-03T23:48:59.000Z
src/RestStringProcessing.cc
Alexey-Ershov/runos
dfbf8f74d7f45d25f0d4fad743b51f572ec272c9
[ "Apache-2.0" ]
16
2019-04-04T12:22:19.000Z
2019-04-09T19:04:42.000Z
src/RestStringProcessing.cc
Alexey-Ershov/runos
dfbf8f74d7f45d25f0d4fad743b51f572ec272c9
[ "Apache-2.0" ]
2
2019-10-11T14:17:26.000Z
2022-03-15T10:06:08.000Z
/* * Copyright 2016 Applied Research Center for Computer Networks * * 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 b...
33.492
141
0.549265
Alexey-Ershov
d4f98e28a7726099f33b6e8182d53ca36ea326fc
28,951
cpp
C++
source/src/drivers/cs_ADC.cpp
lingfennan/bluenet
6cedf1631e98a5a277abf2674a319b12d5fa5e9d
[ "Apache-2.0", "MIT" ]
null
null
null
source/src/drivers/cs_ADC.cpp
lingfennan/bluenet
6cedf1631e98a5a277abf2674a319b12d5fa5e9d
[ "Apache-2.0", "MIT" ]
null
null
null
source/src/drivers/cs_ADC.cpp
lingfennan/bluenet
6cedf1631e98a5a277abf2674a319b12d5fa5e9d
[ "Apache-2.0", "MIT" ]
null
null
null
/** * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: 4 Nov., 2014 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #include <cs_Crownstone.h> #include <ble/cs_Nordic.h> #include <cfg/cs_Boards.h> #include <cfg/cs_Config.h> #include <cfg/cs_Strings.h> #inc...
29.541837
171
0.75728
lingfennan
d4fb33a5f6caeefcddda98f989cf381584d81880
11,989
cpp
C++
src/lib/Dialog.cpp
keestux/tuxcap
6298d14ad4dc57fd142d4c5f0ee2fa42cdd42bee
[ "MIT-0" ]
2
2017-10-10T20:44:49.000Z
2022-02-09T09:08:04.000Z
src/lib/Dialog.cpp
keestux/tuxcap
6298d14ad4dc57fd142d4c5f0ee2fa42cdd42bee
[ "MIT-0" ]
null
null
null
src/lib/Dialog.cpp
keestux/tuxcap
6298d14ad4dc57fd142d4c5f0ee2fa42cdd42bee
[ "MIT-0" ]
2
2017-11-23T13:23:30.000Z
2019-12-12T21:41:02.000Z
#include "Common.h" #include "Dialog.h" #include "DialogButton.h" #include "SexyAppBase.h" #include "WidgetManager.h" #if 0 #include "SysFont.h" #endif #include "ImageFont.h" using namespace Sexy; SexyString Sexy::DIALOG_YES_STRING = _S("YES"); SexyString Sexy::DIALOG_NO_STRING = _S("NO");...
28.477435
220
0.641755
keestux
d4fbf9e83373b968ea098658ffb1dca4fddc37e4
14,454
cpp
C++
AfxHookSource/AfxShaders.cpp
markusforss/advancedfx
0c427594e23c30b88081139c6b80f2688b7c211f
[ "MIT" ]
339
2018-01-09T13:12:38.000Z
2022-03-22T21:25:59.000Z
AfxHookSource/AfxShaders.cpp
markusforss/advancedfx
0c427594e23c30b88081139c6b80f2688b7c211f
[ "MIT" ]
474
2018-01-01T18:58:41.000Z
2022-03-27T11:09:44.000Z
AfxHookSource/AfxShaders.cpp
markusforss/advancedfx
0c427594e23c30b88081139c6b80f2688b7c211f
[ "MIT" ]
77
2018-01-24T11:47:04.000Z
2022-03-30T12:25:59.000Z
#include "stdafx.h" #include "AfxShaders.h" #include "hlaeFolder.h" //#include "SourceInterfaces.h" #include <string> CAfxShaders g_AfxShaders; bool GetShaderDirectory(std::wstring & outShaderDirectory) { outShaderDirectory.assign(GetHlaeFolderW()); outShaderDirectory.append(L"resources\\AfxHookS...
21.508929
132
0.637609
markusforss
d4fc96d3da8e09d76a29c03851454fb31cecd273
512
cpp
C++
template/day20/tests/TestClass.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
3
2021-07-01T14:31:06.000Z
2022-03-29T20:41:21.000Z
template/day20/tests/TestClass.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
null
null
null
template/day20/tests/TestClass.cpp
alexandru-andronache/adventofcode
ee41d82bae8b705818fda5bd43e9962bb0686fec
[ "Apache-2.0" ]
null
null
null
#include "TestClass.h" #include "../test.h" namespace aocXXXX_day20 { TEST_F(TestsXXXXDay20, part_1_test) { ASSERT_EQ(part_1("../XXXX/day20/input_test.in"), 0); } TEST_F(TestsXXXXDay20, part_1_real_test) { ASSERT_EQ(part_1("../XXXX/day20/input.in"), 0); } TEST_F(TestsXXXXDay20, pa...
24.380952
60
0.630859
alexandru-andronache
d4fcd224c80cb207578edd584080a45b273a463b
3,065
cpp
C++
Models/TokenStream.cpp
kakol20/HFG
055ebd29c12a3830256c8469dc7b1f5de155d810
[ "MIT" ]
null
null
null
Models/TokenStream.cpp
kakol20/HFG
055ebd29c12a3830256c8469dc7b1f5de155d810
[ "MIT" ]
null
null
null
Models/TokenStream.cpp
kakol20/HFG
055ebd29c12a3830256c8469dc7b1f5de155d810
[ "MIT" ]
null
null
null
/* Beginning DirectX 11 Game Programming By Allen Sherrod and Wendy Jones TokenStream - Used to return blocks of text in a file. */ #include<string> #include"TokenStream.h" bool isValidIdentifier( char c ) { // Ascii from ! to ~. if( ( int )c > 32 && ( int )c < 127 ) return true; ...
19.647436
92
0.520065
kakol20
d4fd22a7d3e37fb2f1753c90fed84c77cbcdec5d
459
cpp
C++
solutions/codeforces/16-C.cpp
brnpapa/icpc
8149397daddc630e0fe2395f3f48e017154d223d
[ "MIT" ]
19
2020-10-05T08:02:40.000Z
2021-08-17T08:13:16.000Z
solutions/codeforces/16-C.cpp
brnpapa/judge-resolutions
8149397daddc630e0fe2395f3f48e017154d223d
[ "MIT" ]
null
null
null
solutions/codeforces/16-C.cpp
brnpapa/judge-resolutions
8149397daddc630e0fe2395f3f48e017154d223d
[ "MIT" ]
10
2020-10-05T08:03:43.000Z
2021-08-19T17:19:25.000Z
/* math > ad-hoc difficulty: easy date: 08/Jun/2020 by: @brpapa */ #include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { ll a, b, x, y; cin >> a >> b >> x >> y; for (int i = 2; i*i <= max(x, y); i++) while (x % i == 0 && y % i == 0) x /= i, y /= i; if (...
18.36
45
0.424837
brnpapa
d4fd820a9c015a5300b9c4158a1c85e8ba1c0829
6,772
cc
C++
open_spiel/algorithms/alpha_zero_torch/puct.cc
zfahmad/open_spiel
cb30d812a31f03e6550cfa1141750147b9481693
[ "Apache-2.0" ]
null
null
null
open_spiel/algorithms/alpha_zero_torch/puct.cc
zfahmad/open_spiel
cb30d812a31f03e6550cfa1141750147b9481693
[ "Apache-2.0" ]
null
null
null
open_spiel/algorithms/alpha_zero_torch/puct.cc
zfahmad/open_spiel
cb30d812a31f03e6550cfa1141750147b9481693
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <iterator> #include <limits> #include <random> #include <algorithm> #include <tuple> #include <cmath> #include <chrono> #include <string> #include "open_spiel/algorithms/alpha_zero_torch/puct.h" using namespace std::chrono; namespace open_spiel { namespace algorithms { n...
32.714976
120
0.579149
zfahmad
be0626fefa0aff2a28e81dde3f399308475dbfb4
626
cpp
C++
arch/common/smc/via-virt-mapping.cpp
tspink/captive
9db853df410e06ddb6384dc5e319b92f90483065
[ "MIT" ]
24
2017-01-02T18:46:34.000Z
2022-01-10T09:37:58.000Z
arch/common/smc/via-virt-mapping.cpp
tspink/captive
9db853df410e06ddb6384dc5e319b92f90483065
[ "MIT" ]
4
2019-09-19T17:48:03.000Z
2020-09-17T11:01:29.000Z
arch/common/smc/via-virt-mapping.cpp
tspink/captive
9db853df410e06ddb6384dc5e319b92f90483065
[ "MIT" ]
8
2017-04-28T04:53:42.000Z
2022-01-10T10:11:29.000Z
/* SPDX-License-Identifier: MIT */ #include <smc/via-virt-mapping.h> #include <mmu/strategy/strategy.h> #include <printf.h> #include <cpu.h> using namespace captive::arch::smc; bool ViaVirtMapping::initialise() { return true; } void ViaVirtMapping::mark_page_translated(gpa_t page) { } void ViaVirtMapping::handle_...
17.388889
73
0.760383
tspink
be084159382873a64f9f49c3e18c555b44fe79ac
3,525
cpp
C++
src/atlas/graphics/Node.cpp
Groutcho/atlas
b69b7759be0361ffdcbbba64501e07feb79143be
[ "MIT" ]
5
2018-12-13T03:41:12.000Z
2020-08-27T04:45:11.000Z
src/atlas/graphics/Node.cpp
Groutcho/atlas
b69b7759be0361ffdcbbba64501e07feb79143be
[ "MIT" ]
1
2020-09-08T07:26:59.000Z
2020-09-08T09:21:44.000Z
src/atlas/graphics/Node.cpp
Groutcho/atlas
b69b7759be0361ffdcbbba64501e07feb79143be
[ "MIT" ]
5
2018-12-20T10:31:09.000Z
2021-09-07T07:38:49.000Z
#include "Node.hpp" namespace atlas { namespace graphics { Node::Node() : _parent(nullptr), _rightSibling(nullptr), _flags((uint32_t)NodeFlags::None), _transform(glm::mat4(1.0)), _localTransform(glm::mat4(1.0)) { } Nod...
24.479167
85
0.432624
Groutcho
be129ab893dcb440abd39cae622b8f0871da9d9e
606
cpp
C++
N1042-Flower-Planting-With-No-Adjacent/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N1042-Flower-Planting-With-No-Adjacent/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N1042-Flower-Planting-With-No-Adjacent/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
2
2022-01-25T05:31:31.000Z
2022-02-26T07:22:23.000Z
class Solution { public: vector<int> gardenNoAdj(int n, vector<vector<int>>& paths) { vector<int> res(n); vector<vector<int>> G(n); for(vector<int>& p : paths){ G[p[0]-1].push_back(p[1]-1); G[p[1]-1].push_back(p[0]-1); } for(int i = 0; i < n; i++){ ...
25.25
64
0.359736
loyio
be16b7c91097fe81ca84d9122a1a92507fdf1148
542
hpp
C++
include/stream_matrix.hpp
ypsoh/ALTO-1
a1ff0d5c37336244402964385ac6c12f2f50432e
[ "MIT" ]
null
null
null
include/stream_matrix.hpp
ypsoh/ALTO-1
a1ff0d5c37336244402964385ac6c12f2f50432e
[ "MIT" ]
null
null
null
include/stream_matrix.hpp
ypsoh/ALTO-1
a1ff0d5c37336244402964385ac6c12f2f50432e
[ "MIT" ]
null
null
null
#ifndef STREAM_MATRIX_HPP_ #define STREAM_MATRIX_HPP_ #include "common.hpp" #include "matrix.hpp" class StreamMatrix { public: StreamMatrix(IType rank); ~StreamMatrix(); void grow_zero(IType nrows); void grow_rand(IType nrows); inline Matrix * mat() { return _mat; }; inline FType * vals() { return _mat-...
17.483871
47
0.697417
ypsoh
be17ba8a11413a0a91ebf067d617d5356174994d
371
cpp
C++
cpp/cpp_primer/chapter11/ex_11_03.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
2
2019-12-21T00:53:47.000Z
2020-01-01T10:36:30.000Z
cpp/cpp_primer/chapter11/ex_11_03.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
null
null
null
cpp/cpp_primer/chapter11/ex_11_03.cpp
KaiserLancelot/Cpp-Primer
a4791a6765f0b6c864e8881e6a5328e2a3d68974
[ "MIT" ]
null
null
null
// // Created by kaiser on 18-12-18. // #include <cstdint> #include <iostream> #include <string> #include <unordered_map> int main() { std::unordered_map<std::string, std::int32_t> word_count; std::string word; while (std::cin >> word) { ++word_count[word]; } for (const auto& [s, count] : word_count) {...
17.666667
59
0.595687
KaiserLancelot
be2713cb3b4de8161d89810677a8c6db88f3a2a4
2,057
hpp
C++
src/numeric/deformation_gradient.hpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
9
2018-07-12T17:06:33.000Z
2021-11-20T23:13:26.000Z
src/numeric/deformation_gradient.hpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
119
2016-06-22T07:36:04.000Z
2019-03-10T19:38:12.000Z
src/numeric/deformation_gradient.hpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
9
2017-10-08T16:51:38.000Z
2021-03-15T08:08:04.000Z
#pragma once /// @file #include "numeric/dense_matrix.hpp" namespace neon::mechanics { /// Compute the local deformation gradient /// \f{align*}{ F_{\xi} &= \bf{x}_\xi \f} /// \param rhea Shape function gradients at quadrature point /// \param configuration Configuration of the element (nodal coordinates) template ...
40.333333
95
0.653379
dbeurle
be27e88427923135e0426c7a6b1ef664118eaf07
5,271
cc
C++
extras/mini-daq/src/mini_daq_replay.cc
flueke/mesytec-mvlc
48086db8f7b63fd8adb6215a5d3fdbeaa56d567d
[ "BSL-1.0" ]
null
null
null
extras/mini-daq/src/mini_daq_replay.cc
flueke/mesytec-mvlc
48086db8f7b63fd8adb6215a5d3fdbeaa56d567d
[ "BSL-1.0" ]
3
2021-07-15T10:10:19.000Z
2021-08-05T13:47:36.000Z
extras/mini-daq/src/mini_daq_replay.cc
flueke/mesytec-mvlc
48086db8f7b63fd8adb6215a5d3fdbeaa56d567d
[ "BSL-1.0" ]
5
2020-09-22T10:21:25.000Z
2022-02-17T15:06:14.000Z
#include <regex> #include <unordered_set> #include <mesytec-mvlc/mesytec-mvlc.h> #include <lyra/lyra.hpp> using std::cout; using std::cerr; using std::endl; using namespace mesytec::mvlc; int main(int argc, char *argv[]) { bool opt_printReadoutData = false; bool opt_printCrateConfig = false; std::string...
30.468208
125
0.5775
flueke
be286ff4ca2d49c9d1679e8258341b1a51f0b50d
7,677
hh
C++
libview/weakPtr.hh
libview/libview
3d9b8bd63589e8bdc43638331bf6061127690cd3
[ "MIT" ]
2
2020-10-22T22:02:52.000Z
2021-12-13T18:07:16.000Z
libview/weakPtr.hh
libview/libview
3d9b8bd63589e8bdc43638331bf6061127690cd3
[ "MIT" ]
null
null
null
libview/weakPtr.hh
libview/libview
3d9b8bd63589e8bdc43638331bf6061127690cd3
[ "MIT" ]
null
null
null
/* ************************************************************************* * Copyright (c) 2005 VMware, 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, incl...
24.925325
81
0.429074
libview
be29ecf8f048766ec152d95158c9863ba0d7ce10
8,044
cc
C++
src/colour_image.cc
grial1/ATIPI
c491f0b569765eff4444d69c145b9989939b359c
[ "Apache-2.0" ]
null
null
null
src/colour_image.cc
grial1/ATIPI
c491f0b569765eff4444d69c145b9989939b359c
[ "Apache-2.0" ]
null
null
null
src/colour_image.cc
grial1/ATIPI
c491f0b569765eff4444d69c145b9989939b359c
[ "Apache-2.0" ]
null
null
null
/** @file colour_image.h * Interfaz de la clase ColourImage * Parseo de imagenes en formato PPM a tres * objetos de tipo GreyImage (ColourImage) * @see http://netpbm.sourceforge.net/doc/pgm.html */ #include "colour_image.h" /// @brief Constructor por defecto ColourImage::ColourImage(){}; /** * brief Constructor...
26.724252
84
0.57633
grial1
be2d0ca9825e779e9d7acb783a14fa67313df4b1
4,647
cpp
C++
src/apps/haikudepot/ui/FilterView.cpp
dezelin/haiku
41458d977a6a5d89c65dd99e8d28381865ba04e9
[ "MIT" ]
2
2020-09-26T13:18:36.000Z
2021-06-16T20:38:20.000Z
src/apps/haikudepot/ui/FilterView.cpp
dezelin/haiku
41458d977a6a5d89c65dd99e8d28381865ba04e9
[ "MIT" ]
null
null
null
src/apps/haikudepot/ui/FilterView.cpp
dezelin/haiku
41458d977a6a5d89c65dd99e8d28381865ba04e9
[ "MIT" ]
1
2020-05-08T04:02:02.000Z
2020-05-08T04:02:02.000Z
/* * Copyright 2013, Stephan Aßmus <superstippi@gmx.de>. * All rights reserved. Distributed under the terms of the MIT License. */ #include "FilterView.h" #include <algorithm> #include <stdio.h> #include <Catalog.h> #include <LayoutBuilder.h> #include <MenuField.h> #include <MenuItem.h> #include <Messenger.h> #in...
25.816667
77
0.730579
dezelin
be2f34d831fd497c3b07da7e6b34226aba8d4c5c
4,672
cpp
C++
src/coherence/util/Date.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
src/coherence/util/Date.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
src/coherence/util/Date.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #include "private/coherence/util/Date.hpp" #include "private/coherence/native/NativeTime.hpp" COH_OPEN_NAMESPACE2(coherence,util) using cohe...
23.958974
78
0.545805
chpatel3
be2f55a4f59c863583ddaa19868bef14ffe234c7
8,025
hpp
C++
include/codegen/include/GlobalNamespace/AppCoreInstaller.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/AppCoreInstaller.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/AppCoreInstaller.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: Zenject.MonoInstaller #include "Zenject/MonoInstaller.h...
46.12069
102
0.792025
Futuremappermydud
be33101fe146af1852ec84577efb7192504ec439
549
cpp
C++
KFContrib/KFHttp/KFHttpFactory.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
1
2021-04-26T09:31:32.000Z
2021-04-26T09:31:32.000Z
KFContrib/KFHttp/KFHttpFactory.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
null
null
null
KFContrib/KFHttp/KFHttpFactory.cpp
282951387/KFrame
5d6e953f7cc312321c36632715259394ca67144c
[ "Apache-2.0" ]
null
null
null
#include "KFHttpFactory.h" #include "KFHttpServer.h" #include "Poco/Net/HTTPServerRequest.h" #include "KFHttpHandle.h" namespace KFrame { KFHttpFactory::KFHttpFactory( KFHttpServer* kfhttpserver ) { _http_server = kfhttpserver; } Poco::Net::HTTPRequestHandler* KFHttpFactory::createRequestHand...
24.954545
117
0.562842
282951387
be3d723870edaecdb6295f4f0a440323da9a9b87
634
hpp
C++
android-31/android/telephony/SubscriptionManager_OnSubscriptionsChangedListener.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/telephony/SubscriptionManager_OnSubscriptionsChangedListener.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/telephony/SubscriptionManager_OnSubscriptionsChangedListener.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../JObject.hpp" namespace android::telephony { class SubscriptionManager_OnSubscriptionsChangedListener : public JObject { public: // Fields // QJniObject forward template<typename ...Ts> explicit SubscriptionManager_OnSubscriptionsChangedListener(const char *className, const cha...
26.416667
191
0.760252
YJBeetle
be4013c5ed6de9134f76ada2478c1a6bc0ec9d74
3,043
cpp
C++
DerydocaEngine.Components.Editor/src/Components/EngineAssetBrowser.cpp
Derydoca/derydocaengine
a9cdb71082fbb879d9448dc0c1a95581681d61f1
[ "BSD-3-Clause" ]
37
2018-05-21T15:21:26.000Z
2020-11-16T17:50:44.000Z
DerydocaEngine.Components.Editor/src/Components/EngineAssetBrowser.cpp
Derydoca/derydocaengine
a9cdb71082fbb879d9448dc0c1a95581681d61f1
[ "BSD-3-Clause" ]
38
2018-03-09T23:57:07.000Z
2020-07-10T20:52:42.000Z
DerydocaEngine.Components.Editor/src/Components/EngineAssetBrowser.cpp
Derydoca/derydocaengine
a9cdb71082fbb879d9448dc0c1a95581681d61f1
[ "BSD-3-Clause" ]
5
2018-08-28T11:12:18.000Z
2019-09-05T09:30:41.000Z
#include "EditorComponentsPch.h" #include "EngineAssetBrowser.h" #include "ObjectLibrary.h" #include "Scenes\SceneManager.h" namespace DerydocaEngine::Components { EngineAssetBrowser::EngineAssetBrowser() { m_SelectionGroup = Editor::SelectionManager::getInstance().getPrimarySelectionGroup(); } EngineAssetBrow...
25.788136
119
0.72067
Derydoca
be40e9d0e30636172c9ac4668ab0a25a60fec253
515
cpp
C++
src/Engine/Scenes/Model.cpp
danimtz/VulkanEngine
a7c566d7f8627b9f4a33ba93bbf102f1ba0a8892
[ "MIT" ]
null
null
null
src/Engine/Scenes/Model.cpp
danimtz/VulkanEngine
a7c566d7f8627b9f4a33ba93bbf102f1ba0a8892
[ "MIT" ]
null
null
null
src/Engine/Scenes/Model.cpp
danimtz/VulkanEngine
a7c566d7f8627b9f4a33ba93bbf102f1ba0a8892
[ "MIT" ]
null
null
null
#include "Model.h" #include "Engine/Renderer/Vulkan/Buffers/VertexBuffer.h" Model::Model(std::string folder_filepath, std::string material_name, std::string gltf_file) { std::string gltf_filepath_str = folder_filepath; const char* gltf_filepath = gltf_filepath_str.append(gltf_file).c_str(); m_mesh = AssetLoader:...
32.1875
156
0.796117
danimtz
be41870e7a04be4f7be409892119cb3674549ac0
9,278
cpp
C++
examples/various-qt/timer01.cpp
JohanVanslembrouck/corolib
0ebbabfe368c29901bf96ae1d3b6e989e3ff82c9
[ "MIT" ]
1
2021-08-19T13:49:01.000Z
2021-08-19T13:49:01.000Z
examples/various-qt/timer01.cpp
JohanVanslembrouck/corolib
0ebbabfe368c29901bf96ae1d3b6e989e3ff82c9
[ "MIT" ]
null
null
null
examples/various-qt/timer01.cpp
JohanVanslembrouck/corolib
0ebbabfe368c29901bf96ae1d3b6e989e3ff82c9
[ "MIT" ]
null
null
null
/** * @file timer01.cpp * @brief * * @author Johan Vanslembrouck (johan.vanslembrouck@altran.com, johan.vanslembrouck@gmail.com) */ #include <QThread> #include <QDebug> #include "wait_all_awaitable.h" #include "timer01.h" /** * @brief Timer01::Timer01 * @param parent */ Timer01::Timer01(QObject *parent) ...
27.049563
121
0.596357
JohanVanslembrouck
be42a43a128031cd7a3edf108c5a26cf4c617b39
5,568
cpp
C++
source/PerspCam.cpp
xzrunner/painting3
2208e9dbb1e190fe1cd331ead01808046597df56
[ "MIT" ]
null
null
null
source/PerspCam.cpp
xzrunner/painting3
2208e9dbb1e190fe1cd331ead01808046597df56
[ "MIT" ]
null
null
null
source/PerspCam.cpp
xzrunner/painting3
2208e9dbb1e190fe1cd331ead01808046597df56
[ "MIT" ]
null
null
null
#include "painting3/PerspCam.h" #include "painting3/Blackboard.h" #include "painting3/WindowContext.h" #include <sm_const.h> namespace pt3 { static const float ZNEAR = 0.01f; static const float ZFAR = 1000; static const float AOV = 45; PerspCam::PerspCam() : m_distance(0) , m_znear(ZNEAR) , m_zfar(ZFAR) , m_...
19.134021
94
0.595366
xzrunner
be436fbeaf65a61cfdb0bae681e3ca6c9ef13f69
2,209
hh
C++
elements/userlevel/kernelfilter.hh
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
1
2021-05-06T07:28:08.000Z
2021-05-06T07:28:08.000Z
elements/userlevel/kernelfilter.hh
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
null
null
null
elements/userlevel/kernelfilter.hh
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
null
null
null
// -*- c-basic-offset: 4 -*- #ifndef CLICK_KERNELFILTER_HH #define CLICK_KERNELFILTER_HH #include <click/element.hh> CLICK_DECLS /* =c KernelFilter(FILTERSPEC, ...) =s comm block kernel from handling packets =d The KernelFilter element installs filter rules in the kernel to stop the kernel from handling certain t...
27.6125
76
0.763694
BorisPis
be4936ce618c7c9071f3c6d75b3b0e692a111bc3
3,086
cpp
C++
aws-cpp-sdk-sagemaker/source/model/DescribeInferenceRecommendationsJobResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-12-06T20:36:35.000Z
2021-12-06T20:36:35.000Z
aws-cpp-sdk-sagemaker/source/model/DescribeInferenceRecommendationsJobResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-sagemaker/source/model/DescribeInferenceRecommendationsJobResult.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/sagemaker/model/DescribeInferenceRecommendationsJobResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringU...
25.716667
162
0.759883
perfectrecall
be4bbdeaf559da4de70063c0389f9f7021a9723b
10,253
cc
C++
daemon/index_primitive.cc
derekchiang/HyperDex
8a1ca06bd387e6bd9d57bce6292d93f22d23c680
[ "BSD-3-Clause" ]
null
null
null
daemon/index_primitive.cc
derekchiang/HyperDex
8a1ca06bd387e6bd9d57bce6292d93f22d23c680
[ "BSD-3-Clause" ]
null
null
null
daemon/index_primitive.cc
derekchiang/HyperDex
8a1ca06bd387e6bd9d57bce6292d93f22d23c680
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2013, Cornell University // 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 list ...
31.069697
126
0.548522
derekchiang