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
108
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
67k
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
b596a4e244c9ffe341d62867aaec6691ec97eb55
2,445
cpp
C++
webrtc-jni/src/main/cpp/src/api/RTCSessionDescription.cpp
hhgyu/webrtc-java
572c3814c94a407cfacdee1e2bc898522063731f
[ "Apache-2.0" ]
110
2019-12-25T11:54:02.000Z
2022-03-16T06:27:05.000Z
webrtc-jni/src/main/cpp/src/api/RTCSessionDescription.cpp
hhgyu/webrtc-java
572c3814c94a407cfacdee1e2bc898522063731f
[ "Apache-2.0" ]
54
2020-04-09T06:57:10.000Z
2022-03-28T16:29:39.000Z
webrtc-jni/src/main/cpp/src/api/RTCSessionDescription.cpp
internet-of-presence/webrtc-java
26ab2091f962533288e2267a16980008d7008528
[ "Apache-2.0" ]
37
2019-12-26T10:12:11.000Z
2022-03-10T18:06:23.000Z
/* * Copyright 2019 Alex Andres * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
31.346154
113
0.7182
hhgyu
b59891d8490af7c5bae5516d5442206aac5cf7b0
1,395
hpp
C++
include/formatters/gherkinCpp/element.hpp
JoeLoser/GUnit
5ccb6c05eba86c0286368b6f5818df33af3a05ad
[ "BSL-1.0" ]
189
2017-01-06T19:50:24.000Z
2022-03-29T06:19:02.000Z
include/formatters/gherkinCpp/element.hpp
JoeLoser/GUnit
5ccb6c05eba86c0286368b6f5818df33af3a05ad
[ "BSL-1.0" ]
46
2017-04-23T17:17:44.000Z
2022-03-18T10:18:30.000Z
include/formatters/gherkinCpp/element.hpp
JoeLoser/GUnit
5ccb6c05eba86c0286368b6f5818df33af3a05ad
[ "BSL-1.0" ]
46
2017-01-02T12:02:45.000Z
2022-02-27T10:03:14.000Z
/* * element.hpp * * Created on: Feb 17, 2020 * Author: rbauer */ #ifndef TESTS_GUNIT_LIBS_GHERKIN_CPP_INCLUDE_ELEMENT_HPP_ #define TESTS_GUNIT_LIBS_GHERKIN_CPP_INCLUDE_ELEMENT_HPP_ #include <unordered_map> #include "step.hpp" #include "genericinfo.hpp" #include "tag.hpp" namespace GherkinCpp { class El...
22.142857
134
0.678853
JoeLoser
b598937246f8d6b9055d0b3b5997e54e4614135a
4,436
hpp
C++
Source/AliveLibAO/BirdPortal.hpp
Leonard2/alive_reversing
c6d85f435e275db1d41e2ec8b4e52454aa932e05
[ "MIT" ]
null
null
null
Source/AliveLibAO/BirdPortal.hpp
Leonard2/alive_reversing
c6d85f435e275db1d41e2ec8b4e52454aa932e05
[ "MIT" ]
null
null
null
Source/AliveLibAO/BirdPortal.hpp
Leonard2/alive_reversing
c6d85f435e275db1d41e2ec8b4e52454aa932e05
[ "MIT" ]
null
null
null
#pragma once #include "FunctionFwd.hpp" #include "BaseAnimatedWithPhysicsGameObject.hpp" #include "Map.hpp" #include "DynamicArray.hpp" namespace AO { enum class LevelIds : s16; enum class PortalType : s16 { eAbe_0 = 0, eWorker_1 = 1, eShrykull_2 = 2, eMudTeleport_3 = 3, }; enum class PortalSide : ...
27.04878
131
0.715735
Leonard2
b599d7884fd7f9af5d528ef2cf49ffaf7d43298c
359
cpp
C++
missions/_missions/Exile_config/REBORN/@ExileServer/addons/Enigma_Exile_Custom/config.cpp
ademirt/Arma3
f75c28f59deb45e56d021d9d1d3458b145432bd8
[ "MIT" ]
9
2017-03-30T15:37:09.000Z
2022-02-06T22:44:17.000Z
missions/_missions/Exile_config/REBORN/@ExileServer/addons/Enigma_Exile_Custom/config.cpp
ademirt/Arma3
f75c28f59deb45e56d021d9d1d3458b145432bd8
[ "MIT" ]
1
2017-04-10T14:59:31.000Z
2017-04-11T14:42:13.000Z
missions/_missions/Exile_config/REBORN/@ExileServer/addons/Enigma_Exile_Custom/config.cpp
ademirt/Arma3
f75c28f59deb45e56d021d9d1d3458b145432bd8
[ "MIT" ]
6
2017-02-25T00:19:40.000Z
2022-02-16T19:54:45.000Z
class CfgPatches { class Enigma_Exile_Custom { units[] = {}; weapons[] = {}; requiredVersion = 0.1; author[]= {"Happydayz_EngimaTeam"}; }; }; class CfgFunctions { class EnigmaTeam { class main { file = "\Enigma_Exile_Custom\init"; class init { preInit = 1; }; class postinit ...
11.966667
39
0.559889
ademirt
b59c6f00402e4abf66024d7f2c0ed88652849111
45
cpp
C++
qiniu/err/QNError.cpp
jjzhang166/qt-qiniu
ad950e6e85c2f403fc3b18392a99a868ac9a384b
[ "Apache-2.0" ]
5
2015-12-27T15:31:10.000Z
2016-07-05T09:27:48.000Z
qiniu/err/QNError.cpp
jjzhang166/qt-qiniu
ad950e6e85c2f403fc3b18392a99a868ac9a384b
[ "Apache-2.0" ]
1
2016-02-22T09:05:19.000Z
2016-04-27T06:59:59.000Z
qiniu/err/QNError.cpp
jjzhang166/qt-qiniu
ad950e6e85c2f403fc3b18392a99a868ac9a384b
[ "Apache-2.0" ]
null
null
null
#include "QNError.h" QNError::QNError() { }
7.5
20
0.644444
jjzhang166
b5a1f49a4800b3a9b270d44e1b7c54006a805dcb
78
cpp
C++
Source/FSD/Private/BoxGenerationItem.cpp
Dr-Turtle/DRG_ModPresetManager
abd7ff98a820969504491a1fe68cf2f9302410dc
[ "MIT" ]
8
2021-07-10T20:06:05.000Z
2022-03-04T19:03:50.000Z
Source/FSD/Private/BoxGenerationItem.cpp
Dr-Turtle/DRG_ModPresetManager
abd7ff98a820969504491a1fe68cf2f9302410dc
[ "MIT" ]
9
2022-01-13T20:49:44.000Z
2022-03-27T22:56:48.000Z
Source/FSD/Private/BoxGenerationItem.cpp
Dr-Turtle/DRG_ModPresetManager
abd7ff98a820969504491a1fe68cf2f9302410dc
[ "MIT" ]
2
2021-07-10T20:05:42.000Z
2022-03-14T17:05:35.000Z
#include "BoxGenerationItem.h" ABoxGenerationItem::ABoxGenerationItem() { }
13
42
0.782051
Dr-Turtle
b5a3363d7e2c8587721e4f6f639dfe312f0d478a
1,791
cpp
C++
PlatformLib/iOS/RenderBuffer.cpp
cdoty/SuperPlay
e2d33cb52635251cd3f180b73f5fb08944940d18
[ "MIT" ]
26
2015-01-23T03:07:12.000Z
2021-11-14T20:35:03.000Z
PlatformLib/iOS/RenderBuffer.cpp
cdoty/SuperPlay
e2d33cb52635251cd3f180b73f5fb08944940d18
[ "MIT" ]
1
2016-05-09T22:04:21.000Z
2016-05-10T03:27:07.000Z
PlatformLib/iOS/RenderBuffer.cpp
cdoty/SuperPlay
e2d33cb52635251cd3f180b73f5fb08944940d18
[ "MIT" ]
8
2015-04-13T19:15:36.000Z
2021-01-13T13:24:45.000Z
// This code is part of the Super Play Library (http://www.superplay.info), // and may only be used under the terms contained in the LICENSE file, // included with the Super Play Library. // // THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT...
23.25974
114
0.778336
cdoty
b5a47107308f78437a490af472ae63274b2ea303
1,809
cpp
C++
src/competitiveProgrammingTest/cpp/competitive/programming/physics/DiskTest.cpp
dareagle/competitive-programming
4f92a09592b8e0cb4cbcc530681721a728902908
[ "Apache-2.0" ]
160
2016-05-27T14:26:38.000Z
2022-03-06T19:30:00.000Z
src/competitiveProgrammingTest/cpp/competitive/programming/physics/DiskTest.cpp
dareagle/competitive-programming
4f92a09592b8e0cb4cbcc530681721a728902908
[ "Apache-2.0" ]
7
2016-06-26T16:01:43.000Z
2019-06-15T21:00:10.000Z
src/competitiveProgrammingTest/cpp/competitive/programming/physics/DiskTest.cpp
dareagle/competitive-programming
4f92a09592b8e0cb4cbcc530681721a728902908
[ "Apache-2.0" ]
40
2016-06-28T11:06:13.000Z
2021-12-01T14:48:28.000Z
#include "gtest/gtest.h" #include "competitive/programming/physics/Disk.hpp" #include <cmath> using competitive::programming::physics::Disk; TEST(Disk, Move) { Disk disk(2, 1, 2, 3, 5); ASSERT_EQ(Disk(4, 4, 2, 3, 5), disk.move()); ASSERT_EQ(Disk(2, 1, 2, 3, 5), disk); disk.moveInPlace(); ASSERT_EQ(Disk(4, 4, 2...
29.177419
68
0.682698
dareagle
b26eb3a2837b12402258842916dcc01ed7e66e6d
197
cpp
C++
30-app/viewdll/source/ctrlapp2.cpp
RealCrond/view
0a5f0b5d6e57d0d91f8b254ec9f3075e5185a34d
[ "MIT" ]
1
2020-03-27T09:37:18.000Z
2020-03-27T09:37:18.000Z
30-app/viewdll/source/ctrlapp2.cpp
RealCrond/view
0a5f0b5d6e57d0d91f8b254ec9f3075e5185a34d
[ "MIT" ]
null
null
null
30-app/viewdll/source/ctrlapp2.cpp
RealCrond/view
0a5f0b5d6e57d0d91f8b254ec9f3075e5185a34d
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "ctrlapp2.h" CCtrlApp2::CCtrlApp2() { } CCtrlApp2::~CCtrlApp2() { } BEGIN_MSG_MAP(CCtrlApp2) //REG_MSG(emFistEventId, CCtrlApp1::OnCameraSelectCmd) END_MSG_MAP()
11.588235
55
0.736041
RealCrond
b26f54a765a757e07a98cb40380c1c40609d268f
1,812
cpp
C++
src/ast/array-literal.cpp
alta-lang/ceetah
bddb3478d10480f62ff0b3b4930479a2d745ae52
[ "MIT" ]
null
null
null
src/ast/array-literal.cpp
alta-lang/ceetah
bddb3478d10480f62ff0b3b4930479a2d745ae52
[ "MIT" ]
null
null
null
src/ast/array-literal.cpp
alta-lang/ceetah
bddb3478d10480f62ff0b3b4930479a2d745ae52
[ "MIT" ]
null
null
null
#include "../../include/ceetah/ast/array-literal.hpp" Ceetah::AST::NodeType Ceetah::AST::ArrayLiteral::nodeType() const { return NodeType::ArrayLiteral; }; std::string Ceetah::AST::ArrayLiteral::toStringWithIndent(std::string indent) const { std::string result = ""; if (type) { result += '('; result +=...
23.532468
91
0.607616
alta-lang
b2709ac5af83f9388a81e4fd46bfe216ff82c986
694
cpp
C++
utils/src/drawing/Color.cpp
AleksievAleksandar/Game_Engine
78b055862f8a887bd7a90142ef8eb56e21ca5e3b
[ "MIT" ]
1
2022-02-21T11:09:17.000Z
2022-02-21T11:09:17.000Z
utils/src/drawing/Color.cpp
AleksievAleksandar/Game_Engine
78b055862f8a887bd7a90142ef8eb56e21ca5e3b
[ "MIT" ]
null
null
null
utils/src/drawing/Color.cpp
AleksievAleksandar/Game_Engine
78b055862f8a887bd7a90142ef8eb56e21ca5e3b
[ "MIT" ]
null
null
null
#include "utils/drawing/Color.h" namespace Colors { const Color RED(255, 0, 0, 255); const Color GREEN(0, 255, 0, 255); const Color BLUE(0, 0, 255, 255); const Color BLACK(0, 0, 0, 255); const Color WHITE(255, 255, 255, 255); const Color GRAY(192, 192, 192, 255); const Color CYAN(0, 255, 255, 255); const Color...
26.692308
93
0.67147
AleksievAleksandar
b273f7c0247de5acce0cd8c101893a83ff613c53
836
hpp
C++
src/headers/game-graphics.hpp
big-leo/2048.cpp
072becdcd8b91d1b15a5802991a92975768b4b20
[ "MIT" ]
1
2020-10-24T07:29:36.000Z
2020-10-24T07:29:36.000Z
src/headers/game-graphics.hpp
big-leo/2048.cpp
072becdcd8b91d1b15a5802991a92975768b4b20
[ "MIT" ]
null
null
null
src/headers/game-graphics.hpp
big-leo/2048.cpp
072becdcd8b91d1b15a5802991a92975768b4b20
[ "MIT" ]
null
null
null
#ifndef GAMEGRAPHICS_H #define GAMEGRAPHICS_H #include <string> enum GameBoardDimensions { MIN_GAME_BOARD_PLAY_SIZE = 3, MAX_GAME_BOARD_PLAY_SIZE = 10 }; enum { COMPETITION_GAME_BOARD_PLAY_SIZE = 4 }; namespace Game { namespace Graphics { std::string MessageScoreSavedPrompt(); std::string AskForPlayerNamePrompt(...
26.125
47
0.800239
big-leo
b27484f9ab04eb5c7313df8c2d8fc2bac8d9bf27
2,815
cpp
C++
modules/win.gl/source/Window.cpp
LCClyde/nyra
f8280db2633e888ab62e929a2c238a33755ff694
[ "MIT" ]
null
null
null
modules/win.gl/source/Window.cpp
LCClyde/nyra
f8280db2633e888ab62e929a2c238a33755ff694
[ "MIT" ]
1
2016-01-25T13:03:03.000Z
2016-01-25T13:03:03.000Z
modules/win.gl/source/Window.cpp
LCClyde/nyra
f8280db2633e888ab62e929a2c238a33755ff694
[ "MIT" ]
null
null
null
/* * Copyright (c) 2016 Clyde Stanfield * * 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, pub...
29.322917
79
0.553819
LCClyde
b27699f9c7e1ce722f7518383e35f0e0e281642e
327
cpp
C++
test_cttrie_print.cpp
smilingthax/cttrie
010182660de3c978343bc8148dd08963c9c4c5be
[ "MIT" ]
40
2016-08-03T22:07:04.000Z
2021-12-18T05:02:54.000Z
3party/cttrie/test_cttrie_print.cpp
mapsme/geocore
346fceb020cd909b37706ab6ad454aec1a11f52e
[ "Apache-2.0" ]
37
2019-10-04T00:55:46.000Z
2019-12-27T15:13:19.000Z
3party/cttrie/test_cttrie_print.cpp
mapsme/geocore
346fceb020cd909b37706ab6ad454aec1a11f52e
[ "Apache-2.0" ]
13
2019-10-02T15:03:58.000Z
2020-12-28T13:06:22.000Z
#include "cttrie-print.h" #include <stdio.h> int main() { auto trie=CtTrie::makeTrie( CSTR("Rosten"), CSTR("Raben"), CSTR("Rasen"), CSTR("Rasten"), CSTR("Raster"), CSTR("Rastender"), CSTR("Raban") ); // trie is not constexpr, but decltype(trie) is. CtTrie::printTrie(trie); retur...
15.571429
50
0.587156
smilingthax
b2780d67ab05e2bc176aef7a2afaa597a7267b84
1,246
cpp
C++
Source/Engine/src/stdlib/stdlib.cpp
DatZach/Swift
b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7
[ "MIT" ]
null
null
null
Source/Engine/src/stdlib/stdlib.cpp
DatZach/Swift
b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7
[ "MIT" ]
null
null
null
Source/Engine/src/stdlib/stdlib.cpp
DatZach/Swift
b0c6f9c87e8c8dfe8a19dedc4dd57081fa5cdef7
[ "MIT" ]
1
2021-10-30T20:43:01.000Z
2021-10-30T20:43:01.000Z
/* * stdlib.cpp * Swift Standard Library */ namespace StdLib { // Audio namespace Sound { void Install(); } // DataStructures namespace Grid { void Install(); } // IO namespace BinaryFile { void Install(); } namespace FileSystem { void Install(); } namespace Keyboard { void Install(); } namespace Mouse {...
16.394737
41
0.624398
DatZach
b27b96292030d50b2fae3571dca5c8c33992d250
5,810
cpp
C++
src/random.cpp
brentnd/random-cpp
dbb5adfc93238e18625bfd0424e7b8ed1bfcd4e9
[ "MIT" ]
null
null
null
src/random.cpp
brentnd/random-cpp
dbb5adfc93238e18625bfd0424e7b8ed1bfcd4e9
[ "MIT" ]
null
null
null
src/random.cpp
brentnd/random-cpp
dbb5adfc93238e18625bfd0424e7b8ed1bfcd4e9
[ "MIT" ]
null
null
null
#include <randomcpp.hpp> #include <algorithm> // std::find #include <ctime> // std::time #include <cmath> namespace randomcpp { static unsigned seed_value = 0; static std::random_device rd; static float const SG_MAGICCONST = 1.0f + std::log(4.5f); static float const NV_MAGICCONST = static_cast<float>(4.0f * std...
23.811475
93
0.519621
brentnd
b27bf8744cb6bbe1c0b34445929dd4c66b48c35b
4,534
cpp
C++
Surrounded Regions.cpp
Xe0n0/LeetCode
a7a383d88d222edaadd52b317e848f06632a569a
[ "MIT" ]
1
2017-08-22T00:43:27.000Z
2017-08-22T00:43:27.000Z
Surrounded Regions.cpp
Xe0n0/LeetCode
a7a383d88d222edaadd52b317e848f06632a569a
[ "MIT" ]
null
null
null
Surrounded Regions.cpp
Xe0n0/LeetCode
a7a383d88d222edaadd52b317e848f06632a569a
[ "MIT" ]
null
null
null
//solution rev.2 BFS to deal with O that can not be flip to X, complexity is O(input) class Solution { public: void solve(vector<vector<char>> &board) { // Start typing your C/C++ solution below // DO NOT write int main() function int h, w; if ((h = board.size()) == 0 || (w ...
26.828402
85
0.363917
Xe0n0
b27d30af4932be401e7f006c603c796550cdb93a
8,483
cpp
C++
velox/functions/sparksql/ArraySort.cpp
vancexu/velox
fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4
[ "Apache-2.0" ]
672
2021-09-22T16:45:58.000Z
2022-03-31T13:42:31.000Z
velox/functions/sparksql/ArraySort.cpp
vancexu/velox
fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4
[ "Apache-2.0" ]
986
2021-09-22T17:02:52.000Z
2022-03-31T23:57:25.000Z
velox/functions/sparksql/ArraySort.cpp
vancexu/velox
fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4
[ "Apache-2.0" ]
178
2021-09-22T17:27:47.000Z
2022-03-31T03:18:37.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
32.752896
80
0.659201
vancexu
b280154534cfe18b384d005dec4febdc9fe980b1
1,757
cc
C++
test/slice_test.cc
pragkent/logbox
15274be0726cd3f0d71266a0ce4755106c8bdd1f
[ "MIT" ]
2
2015-02-14T04:24:07.000Z
2015-02-28T11:23:48.000Z
test/slice_test.cc
pragkent/logbox
15274be0726cd3f0d71266a0ce4755106c8bdd1f
[ "MIT" ]
null
null
null
test/slice_test.cc
pragkent/logbox
15274be0726cd3f0d71266a0ce4755106c8bdd1f
[ "MIT" ]
null
null
null
#include <string> #include "util/slice.h" #include <gtest/gtest.h> using logbox::Slice; TEST(SliceTest, CreateByCharPointerAndLength) { const char* hello = "Hello"; Slice slice(hello, 2); EXPECT_EQ(hello, slice.data()); EXPECT_EQ(2U, slice.size()); } TEST(SliceTest, CreateByStdString) { std::string hello...
20.430233
47
0.663062
pragkent
b28215c717148495e3bc175f3134e5ff79a5298e
714
cpp
C++
examples/google-code-jam/rapel/C_1.cpp
rbenic-fer/progauthfp
d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675
[ "MIT" ]
null
null
null
examples/google-code-jam/rapel/C_1.cpp
rbenic-fer/progauthfp
d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675
[ "MIT" ]
null
null
null
examples/google-code-jam/rapel/C_1.cpp
rbenic-fer/progauthfp
d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define ff first #define mp make_pair #define ss second using namespace std; priority_queue<pair<int,pair<int,int> > > pq; int main() { int ntc; scanf("%d",&ntc); for(int tc=1;tc<=ntc;tc++) { int n,k; scanf("%d %d",&n,&k); while(!pq.empty()) pq.pop(); pq.push(mp(n+...
20.4
46
0.515406
rbenic-fer
b28ad1de34bb39582e8c625f7381f3972f33cf98
4,324
cpp
C++
CraftEngine/src/dev-ui/DevUI.cpp
guibec/rpgcraft
a4fd84effaf334b1ed637d32b8853b0e6beadf1e
[ "MIT" ]
9
2017-04-05T01:42:36.000Z
2021-11-14T20:37:58.000Z
CraftEngine/src/dev-ui/DevUI.cpp
guibec/rpgcraft
a4fd84effaf334b1ed637d32b8853b0e6beadf1e
[ "MIT" ]
82
2017-04-05T00:26:54.000Z
2019-09-21T22:43:09.000Z
CraftEngine/src/dev-ui/DevUI.cpp
guibec/rpgcraft
a4fd84effaf334b1ed637d32b8853b0e6beadf1e
[ "MIT" ]
3
2019-01-08T17:11:17.000Z
2021-08-11T23:59:23.000Z
#include "PCH-rpgcraft.h" #include "x-types.h" #include "x-png-decode.h" #include "x-chrono.h" #include "appConfig.h" #include "Scene.h" #include "dev-ui/ui-assets.h" ImGuiTextures s_gui_tex; void DevUI_LoadImageAsset(DevUI_ImageAsset& dest, const char* asset_name) { xString fullpath = FindAsset(xFmtStr(...
37.275862
146
0.670444
guibec
b292bb4e6f73faf1b0f8e6857ddf61761b5c3a29
1,515
cpp
C++
src/Router.cpp
joseluis8906/PantherExpress
30933c86d64cd60f651fed910718225fbfb8ce29
[ "BSD-3-Clause" ]
null
null
null
src/Router.cpp
joseluis8906/PantherExpress
30933c86d64cd60f651fed910718225fbfb8ce29
[ "BSD-3-Clause" ]
null
null
null
src/Router.cpp
joseluis8906/PantherExpress
30933c86d64cd60f651fed910718225fbfb8ce29
[ "BSD-3-Clause" ]
null
null
null
#include "Router.hpp" PantherExpress::Router::Router(std::string method, std::string path, std::shared_ptr<PantherExpress::ControllerFactory> factory) { this->method = method; this->path = path; this->factory = factory; } PantherExpress::Router::Router(std::string method, std::string path, std::shared_p...
33.666667
201
0.651485
joseluis8906
b29516ffe92678496962c72333bec1d751093b44
1,172
cpp
C++
examples/eth/message.cpp
jmigual/metasim2.0
f426aefde08fc216e6aa2428538caa59f7e4d08b
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
examples/eth/message.cpp
jmigual/metasim2.0
f426aefde08fc216e6aa2428538caa59f7e4d08b
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
examples/eth/message.cpp
jmigual/metasim2.0
f426aefde08fc216e6aa2428538caa59f7e4d08b
[ "Naumen", "Condor-1.1", "MS-PL" ]
8
2015-06-08T17:22:19.000Z
2021-03-01T17:41:18.000Z
#include "message.hpp" #include "netinterface.hpp" #include "node.hpp" using namespace std; using namespace MetaSim; Message::Message(int l, Node *s, Node *d) : _len(l), _dst(d), _src(s), _dst_net_interf(NULL), _src_net_interf(NULL) { _dst_net_interf = _dst->getNetInterface(); _src_net_interf = _src->getNetIn...
14.120482
51
0.707338
jmigual
b2992225501666a19d50f57677e7a593bb964df8
1,259
cpp
C++
aws-cpp-sdk-apprunner/source/model/AssociateCustomDomainRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-apprunner/source/model/AssociateCustomDomainRequest.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-apprunner/source/model/AssociateCustomDomainRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T12:02:58.000Z
2021-11-09T12:02:58.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/apprunner/model/AssociateCustomDomainRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::AppRunner::Model; using namespace Aws::Utils::Js...
21.338983
96
0.76251
perfectrecall
b29c493a1f267f91d3ffe1f67f74f2404e2e9295
1,299
cpp
C++
test/math/matrix/binary_map.cpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
test/math/matrix/binary_map.cpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
test/math/matrix/binary_map.cpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // 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) #include <fcppt/cast/to_signed.hpp> #include <fcppt/catch/begin.hpp> #include <fcppt/catch/end.hpp>...
36.083333
94
0.682063
freundlich
b2a3f62bf815d2d67373bf35a342fae0f142d228
31,399
cpp
C++
catkin_ws/src/pr2_power_drivers/pr2_power_board/src/power_node/power_node2.cpp
Camixxx/-noetic-pr2
9a2263bdb4a1b76c39ab5d62e7701baa2a117b7c
[ "MIT" ]
4
2020-12-15T06:54:31.000Z
2021-06-16T01:41:13.000Z
catkin_ws/src/pr2_power_drivers/pr2_power_board/src/power_node/power_node2.cpp
Camixxx/-noetic-pr2
9a2263bdb4a1b76c39ab5d62e7701baa2a117b7c
[ "MIT" ]
null
null
null
catkin_ws/src/pr2_power_drivers/pr2_power_board/src/power_node/power_node2.cpp
Camixxx/-noetic-pr2
9a2263bdb4a1b76c39ab5d62e7701baa2a117b7c
[ "MIT" ]
2
2021-01-25T03:54:51.000Z
2021-06-23T09:47:27.000Z
/* * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this l...
29.5381
141
0.637664
Camixxx
b2a47c017312959e38718276f8d50cec0eb9ef4b
73,883
cpp
C++
src/ConvolutionsCompilerForAICore.cpp
stephenneuendorffer/vyasa
8dc1c8be2c1fd51e9c68c1b52542c3ba6cc432be
[ "MIT" ]
7
2021-05-04T01:39:19.000Z
2021-11-16T20:06:47.000Z
src/ConvolutionsCompilerForAICore.cpp
stephenneuendorffer/vyasa
8dc1c8be2c1fd51e9c68c1b52542c3ba6cc432be
[ "MIT" ]
null
null
null
src/ConvolutionsCompilerForAICore.cpp
stephenneuendorffer/vyasa
8dc1c8be2c1fd51e9c68c1b52542c3ba6cc432be
[ "MIT" ]
null
null
null
// // (c) Copyright 2019 Xilinx Inc. All Rights Reserved. // Created by pchatara on 5/21/19. // #include <utility> #include <iostream> #include <limits> #include <fstream> #include "ConvolutionsCompilerForAICore.h" #include "CodeGen_Internal.h" #include "IROperator.h" #include "Simplify.h" #include "Substitute.h" #in...
42.80591
113
0.523422
stephenneuendorffer
b2a7b073cfe7d3495ecb1388e2aec760c9d1811e
23,084
cpp
C++
src/gausskernel/cbb/utils/hll/hll_function.cpp
Yanci0/openGauss-server
b2ff10be1367c77f2fda396d6c12ffa3c25874c7
[ "MulanPSL-1.0" ]
360
2020-06-30T14:47:34.000Z
2022-03-31T15:21:53.000Z
src/gausskernel/cbb/utils/hll/hll_function.cpp
Yanci0/openGauss-server
b2ff10be1367c77f2fda396d6c12ffa3c25874c7
[ "MulanPSL-1.0" ]
4
2020-06-30T15:09:16.000Z
2020-07-14T06:20:03.000Z
src/gausskernel/cbb/utils/hll/hll_function.cpp
futurewei-cloud/chogori-opengauss
f43410e1643c887819e718d9baceb9e853ad9574
[ "MulanPSL-1.0" ]
133
2020-06-30T14:47:36.000Z
2022-03-25T15:29:00.000Z
/* * Copyright (c) 2021 Huawei Technologies Co.,Ltd. * * openGauss is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ...
30.534392
119
0.691648
Yanci0
b2a8e07f4893ff9218f337962a1a33de96948b32
676
cpp
C++
Mathematics/Session_code/tailing_Zeroes.cpp
ayushid549/DSA_Marathon
504c7cd7d153da10bbab3273c38d3368b72f946a
[ "MIT" ]
24
2021-09-14T13:16:58.000Z
2022-02-25T18:54:26.000Z
Mathematics/Session_code/tailing_Zeroes.cpp
ayushid549/DSA_Marathon
504c7cd7d153da10bbab3273c38d3368b72f946a
[ "MIT" ]
11
2021-09-13T15:27:48.000Z
2021-10-05T21:56:02.000Z
Mathematics/Session_code/tailing_Zeroes.cpp
ayushid549/DSA_Marathon
504c7cd7d153da10bbab3273c38d3368b72f946a
[ "MIT" ]
22
2021-09-13T13:37:55.000Z
2021-10-17T05:12:35.000Z
#include<bits/stdc++.h> using namespace std; #define loop(i,l,h) for(int i=l;i<h;i++) #define endl "\n" typedef long long int ll; typedef long double ld; inline void puneetMode() { #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); #endif // ONLINE_JUDGE } /* ************...
17.333333
59
0.58284
ayushid549
b2a968bdf665cdfccd86a8ae9f61caddc81a33fe
429
cpp
C++
1382.cpp
yyong119/ACM-OnlineJudge
5871993b15231c6615bfa3e7c2b04f0f6a23e9dc
[ "MIT" ]
22
2017-08-12T11:56:19.000Z
2022-03-27T10:04:31.000Z
1382.cpp
yyong119/ACM-OnlineJudge
5871993b15231c6615bfa3e7c2b04f0f6a23e9dc
[ "MIT" ]
2
2017-12-17T02:52:59.000Z
2018-02-09T02:10:43.000Z
1382.cpp
yyong119/ACM-OnlineJudge
5871993b15231c6615bfa3e7c2b04f0f6a23e9dc
[ "MIT" ]
4
2017-12-22T15:24:38.000Z
2020-05-18T14:51:16.000Z
#include <iostream> #include <algorithm> #define MAX_N 100010 using namespace std; int main() { ios::sync_with_stdio(false); int n, s; cin >> n >> s; int a[MAX_N]; for (int i = 0; i < n; ++i) cin >> a[i]; sort(a, a + n); long long total = 0; int back = n - 1; for (int i = 0; i < n; ++i) { while (a[i] + a...
18.652174
41
0.545455
yyong119
b2aa0a5efe592c7fe3da633070034b78745bbf8c
517
cpp
C++
Codeforces/9A - Die Roll.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/9A - Die Roll.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/9A - Die Roll.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int yakko_points, wakko_points, max_points, chances, total_outcomes = 6; cin >> yakko_points >> wakko_points; max_points = (yakko_points > wakko_points) ? yakko_points : wakko_points; chances = 6 - max_points + 1; for (int i = 6; i > 1; i--)...
24.619048
77
0.564797
naimulcsx
b2aaace3bb6527efd9e31c88d0eda73a2ac22a38
1,054
cpp
C++
components/xtl/tests/xtl/signals/connection1.cpp
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/xtl/tests/xtl/signals/connection1.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/xtl/tests/xtl/signals/connection1.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
#include "test.h" #include <stl/functional> using namespace stl; void handler () { printf ("Handler called\n"); } int main () { printf ("Results of connection1_test:\n"); try { xtl::signal<void ()> signal; { xtl::connection connection1 = signal.connect (&handler); xtl::auto_connec...
16.215385
69
0.56926
untgames
b2aab670c48d18402d1474d3831b64fff997e16e
53,884
cpp
C++
src/gausskernel/storage/access/nbtree/nbtpage.cpp
wotchin/openGauss-server
ebd92e92b0cfd76b121d98e4c57a22d334573159
[ "MulanPSL-1.0" ]
1
2020-06-30T15:00:50.000Z
2020-06-30T15:00:50.000Z
src/gausskernel/storage/access/nbtree/nbtpage.cpp
wotchin/openGauss-server
ebd92e92b0cfd76b121d98e4c57a22d334573159
[ "MulanPSL-1.0" ]
null
null
null
src/gausskernel/storage/access/nbtree/nbtpage.cpp
wotchin/openGauss-server
ebd92e92b0cfd76b121d98e4c57a22d334573159
[ "MulanPSL-1.0" ]
null
null
null
/* ------------------------------------------------------------------------- * * nbtpage.cpp * BTree-specific page management code for the Postgres btree access * method. * * Portions Copyright (c) 2020 Huawei Technologies Co.,Ltd. * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group * Po...
37.707488
122
0.631616
wotchin
b2ace2b2f410a658c1846bda7eca08585efa697b
643
cc
C++
100. Symmetric Tree/main.cc
corkiwang1122/LeetCode
39b1680b58173e6ec23a475605c3450ce8f78a81
[ "MIT" ]
3,690
2015-01-03T03:40:23.000Z
2022-03-31T08:10:19.000Z
100. Symmetric Tree/main.cc
Windfall94/LeetCode
1756256d7e619164076bbf358c8f7ca68cd8bd79
[ "MIT" ]
21
2015-01-25T16:39:43.000Z
2021-02-26T05:28:22.000Z
100. Symmetric Tree/main.cc
Windfall94/LeetCode
1756256d7e619164076bbf358c8f7ca68cd8bd79
[ "MIT" ]
1,290
2015-01-09T01:28:20.000Z
2022-03-28T12:20:39.000Z
#include "solution.h" #include <iostream> #include <vector> using vecIter = std::vector<int>::iterator; TreeNode *createBinaryTree(vecIter beg, vecIter end) { std::vector<TreeNode *> vec; for (vecIter it = beg; it != end; ++it) vec.push_back(new TreeNode(*it)); for (int i = 0, pos = 0; pos != ...
20.741935
86
0.564541
corkiwang1122
b2adf67b4f0203fc42a5c90cb7d6e2cdcfd4a168
1,332
hpp
C++
CvGameCoreDLL/Boost-1.32.0/include/boost/regex/pattern_except.hpp
macaurther/DOCUSA
40586727c351d1b1130c05c2d4648cca3a8bacf5
[ "MIT" ]
93
2015-11-20T04:13:36.000Z
2022-03-24T00:03:08.000Z
CvGameCoreDLL/Boost-1.32.0/include/boost/regex/pattern_except.hpp
macaurther/DOCUSA
40586727c351d1b1130c05c2d4648cca3a8bacf5
[ "MIT" ]
206
2015-11-09T00:27:15.000Z
2021-12-04T19:05:18.000Z
CvGameCoreDLL/Boost-1.32.0/include/boost/regex/pattern_except.hpp
dguenms/Dawn-of-Civilization
1c4f510af97a869637cddb4c0859759158cea5ce
[ "MIT" ]
117
2015-11-08T02:43:46.000Z
2022-02-12T06:29:00.000Z
/* * * Copyright (c) 1998-2002 * Dr John Maddock * * 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) * */ /* * LOCATION: see http://www.boost.org for mo...
21.142857
73
0.694444
macaurther
b2ae6ab5dd9bc19ba025fc35c3aa0e3f9cf1c071
25,170
hpp
C++
Base/include/Framework/Math/Matrix.hpp
BlockProject3D/Framework
1c27ef19d9a12d158a2b53f6bd28dd2d8e678912
[ "BSD-3-Clause" ]
2
2019-02-02T20:48:17.000Z
2019-02-22T09:59:40.000Z
Base/include/Framework/Math/Matrix.hpp
BlockProject3D/Framework
1c27ef19d9a12d158a2b53f6bd28dd2d8e678912
[ "BSD-3-Clause" ]
125
2020-01-14T18:26:38.000Z
2021-02-23T15:33:55.000Z
Base/include/Framework/Math/Matrix.hpp
BlockProject3D/Framework
1c27ef19d9a12d158a2b53f6bd28dd2d8e678912
[ "BSD-3-Clause" ]
1
2020-05-26T08:55:10.000Z
2020-05-26T08:55:10.000Z
// Copyright (c) 2020, BlockProject 3D // // 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.30597
107
0.457449
BlockProject3D
b2b21417126c8a6d7c7d300a384a15f98a4a0f14
7,582
cpp
C++
src/PRPParticleSequence.cpp
schmittsfn/primary_particle
141662802fd4ec11fbb85bf05b1185cbad0c931d
[ "MIT" ]
3
2021-07-09T09:45:08.000Z
2021-08-21T19:39:09.000Z
src/PRPParticleSequence.cpp
schmittsfn/primary_particle
141662802fd4ec11fbb85bf05b1185cbad0c931d
[ "MIT" ]
null
null
null
src/PRPParticleSequence.cpp
schmittsfn/primary_particle
141662802fd4ec11fbb85bf05b1185cbad0c931d
[ "MIT" ]
null
null
null
// // PRPParticleSequence.cpp // primaryp // // Created by Stefan Schmitt on 5/20/14. // // #include "PRPParticleSequence.h" #include "PRPParticleSequenceInterval.h" #include "PRPAppDelegate.h" #include "PRPRandomGenerator.h" USING_NS_CC; USING_NS_PRP; static unsigned long s_sequenceId = 0; /** * Returns the ...
27.078571
132
0.625561
schmittsfn
b2b215e251cfb04c01c65aa8a7bcfb02f19f29da
779
cpp
C++
solutions-PAT/B1045.cpp
Ki-Seki/solutions
e4329712d664180d850e0a48d7d0f637215f13d0
[ "MIT" ]
1
2022-02-26T10:33:24.000Z
2022-02-26T10:33:24.000Z
solutions-PAT/B1045.cpp
Ki-Seki/solutions
e4329712d664180d850e0a48d7d0f637215f13d0
[ "MIT" ]
null
null
null
solutions-PAT/B1045.cpp
Ki-Seki/solutions
e4329712d664180d850e0a48d7d0f637215f13d0
[ "MIT" ]
1
2021-12-01T14:54:33.000Z
2021-12-01T14:54:33.000Z
/* * hint: * 测试点 2:考察当没有一个数字满足情况时的处理:应当输出一个换行 */ #include <iostream> #include <algorithm> #define MAXN 100005 using namespace std; int arr[MAXN], ans[MAXN], left_max[MAXN], right_min[MAXN] = {INT32_MAX}; int main() { int n, cnt = 0; scanf("%d", &n); left_max[0] = -1; for (int i = 1; i <= n; i++) ...
22.911765
72
0.483954
Ki-Seki
b2b4d9a624e50cfc7c15ff2e1f2e6c59ff2ebf1a
469
hxx
C++
src/engine/Transform.hxx
broken-bytes/Cyanite
0392e3114c946e41b7352afd4b8eceb6f03939da
[ "MIT" ]
1
2021-11-11T02:56:56.000Z
2021-11-11T02:56:56.000Z
src/engine/Transform.hxx
broken-bytes/Cyanite
0392e3114c946e41b7352afd4b8eceb6f03939da
[ "MIT" ]
null
null
null
src/engine/Transform.hxx
broken-bytes/Cyanite
0392e3114c946e41b7352afd4b8eceb6f03939da
[ "MIT" ]
null
null
null
#pragma once #include "Component.hxx" #include "Worlds/Quaternion.hxx" #include "Worlds/Vector3D.hxx" namespace BrokenBytes::Cyanite::Engine { #pragma pack(push, 1) struct Transform: Component { Transform(): Transform({0,0,0}, {0,0,0,0}) { } Transform(World::Vector3D pos, World::Quaternion rot):Component(type...
20.391304
93
0.695096
broken-bytes
b2b5d44a3d4d3f99b0a5138025622432d02a7c46
482
hpp
C++
parse/jsd_check.hpp
5cript/SimpleJSON
878a6341baed91c29630447f6bd480391f563045
[ "MIT" ]
4
2015-06-25T02:06:13.000Z
2018-07-11T13:20:24.000Z
parse/jsd_check.hpp
5cript/SimpleJSON
878a6341baed91c29630447f6bd480391f563045
[ "MIT" ]
14
2015-03-29T10:32:21.000Z
2018-01-25T16:45:08.000Z
parse/jsd_check.hpp
5cript/SimpleJSON
878a6341baed91c29630447f6bd480391f563045
[ "MIT" ]
2
2017-07-16T09:43:22.000Z
2020-08-30T09:33:40.000Z
#pragma once #include "jsd_core.hpp" namespace JSON { namespace Internal { template<typename T> class can_parse { template<typename U> static char check(...); template<typename U> static char (&check(decltype(parse(std::declval<U>(), std::declval<std::string const>(), std:...
24.1
178
0.618257
5cript
b2b83a1d1d32bf0a1012ff763db9d61181085024
3,201
cpp
C++
Tests/read_write_lock.cpp
klassen-software-solutions/kssthread
8b2929e596ae16a13d1d2d94b512e4884f3dbffb
[ "MIT" ]
null
null
null
Tests/read_write_lock.cpp
klassen-software-solutions/kssthread
8b2929e596ae16a13d1d2d94b512e4884f3dbffb
[ "MIT" ]
3
2019-01-28T17:40:43.000Z
2019-12-26T14:52:20.000Z
Tests/read_write_lock.cpp
klassen-software-solutions/kssthread
8b2929e596ae16a13d1d2d94b512e4884f3dbffb
[ "MIT" ]
null
null
null
// // read_write_lock.cpp // unittest // // Created by Steven W. Klassen on 2014-12-12. // Copyright (c) 2014 Klassen Software Solutions. All rights reserved. // Licensing follows the MIT License. // #include <cstdlib> #include <cstring> #include <memory> #include <mutex> #include <new> #include <system_error> #i...
28.078947
129
0.552015
klassen-software-solutions
b2b97e5675fd1886d299b680cdb2d06a0dc49b51
5,593
cpp
C++
src/images-utilities.cpp
XHPlus/deep-activity-rec
bb9003390ee3f9a721e4d61deb1a9b3f3144b304
[ "BSD-2-Clause" ]
140
2016-04-07T14:26:36.000Z
2022-03-21T17:32:03.000Z
src/images-utilities.cpp
XHPlus/deep-activity-rec
bb9003390ee3f9a721e4d61deb1a9b3f3144b304
[ "BSD-2-Clause" ]
26
2016-09-13T03:01:24.000Z
2021-10-09T21:21:50.000Z
src/images-utilities.cpp
XHPlus/deep-activity-rec
bb9003390ee3f9a721e4d61deb1a9b3f3144b304
[ "BSD-2-Clause" ]
42
2016-08-24T19:42:08.000Z
2022-03-15T14:50:10.000Z
#include "images-utilities.h" #include <iostream> using std::cout; #include "opencv2/core/core.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "custom-images-macros.h" #include "custom-macros.h" namespace MostCV { void ShowImage(Mat image, int wait, bool bShow, string st...
24.107759
146
0.63347
XHPlus
b2b98dae3e7fa74a812bac35408d0a9ba9189be8
1,255
hpp
C++
include/h3api/H3Constants/H3CstResources.hpp
Patrulek/H3API
91f10de37c6b86f3160706c1fdf4792f927e9952
[ "MIT" ]
14
2020-09-07T21:49:26.000Z
2021-11-29T18:09:41.000Z
include/h3api/H3Constants/H3CstResources.hpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
2
2021-02-12T15:52:31.000Z
2021-02-12T16:21:24.000Z
include/h3api/H3Constants/H3CstResources.hpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
8
2021-02-12T15:52:41.000Z
2022-01-31T15:28:10.000Z
////////////////////////////////////////////////////////////////////// // // // Created by RoseKavalier: // // rosekavalierhc@gmail.com // // Created or last upda...
32.179487
70
0.341036
Patrulek
b2bb52fadb33b4ccb71fca6a425d34b0b5ffa5a7
7,627
cc
C++
src/tokenpool-gnu-make-win32.cc
Kitware/ninja
51db22c9ece4cb08f6c460b3b0257ce1a6fb5d8e
[ "Apache-2.0" ]
44
2017-02-24T23:20:03.000Z
2022-03-29T20:59:54.000Z
src/tokenpool-gnu-make-win32.cc
Kitware/ninja
51db22c9ece4cb08f6c460b3b0257ce1a6fb5d8e
[ "Apache-2.0" ]
null
null
null
src/tokenpool-gnu-make-win32.cc
Kitware/ninja
51db22c9ece4cb08f6c460b3b0257ce1a6fb5d8e
[ "Apache-2.0" ]
4
2017-07-22T00:10:49.000Z
2020-10-02T13:26:06.000Z
// Copyright 2018 Google Inc. 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 applicable...
31.779167
87
0.682706
Kitware
b2bb732975449b2a10e203d64726cd56e6d7695a
110,828
cpp
C++
src/plugPikiKando/generator.cpp
doldecomp/pikmin
8c8c20721ecb2a19af8e50a4bdebdba90c9a27ed
[ "Unlicense" ]
27
2021-09-28T00:33:11.000Z
2021-11-18T19:38:40.000Z
src/plugPikiKando/generator.cpp
doldecomp/pikmin
8c8c20721ecb2a19af8e50a4bdebdba90c9a27ed
[ "Unlicense" ]
null
null
null
src/plugPikiKando/generator.cpp
doldecomp/pikmin
8c8c20721ecb2a19af8e50a4bdebdba90c9a27ed
[ "Unlicense" ]
null
null
null
#include "types.h" /* * --INFO-- * Address: ........ * Size: 00009C */ void _Error(char*, ...) { // UNUSED FUNCTION } /* * --INFO-- * Address: ........ * Size: 0000F4 */ void _Print(char*, ...) { // UNUSED FUNCTION } /* * --INFO-- * Address: ........ * Size: 000088 */ void writeID(RandomAccessStream&, ...
20.04123
60
0.457014
doldecomp
b2c05459049314c3b6bc9786afb6fe5700ab9f30
5,908
cpp
C++
source/D2Common/src/DataTbls/InvTbls.cpp
eezstreet/D2MOO
28a30aecc69bf43c80e6757a94d533fb37634b68
[ "MIT" ]
42
2020-12-26T00:21:49.000Z
2022-03-21T03:48:03.000Z
source/D2Common/src/DataTbls/InvTbls.cpp
eezstreet/D2MOO
28a30aecc69bf43c80e6757a94d533fb37634b68
[ "MIT" ]
24
2020-12-26T09:46:51.000Z
2021-09-05T16:22:43.000Z
source/D2Common/src/DataTbls/InvTbls.cpp
eezstreet/D2MOO
28a30aecc69bf43c80e6757a94d533fb37634b68
[ "MIT" ]
19
2020-12-26T10:06:20.000Z
2022-03-27T17:20:09.000Z
#include <DataTbls/InvTbls.h> #include <D2DataTbls.h> //D2Common.0x6FD542D0 void __fastcall DATATBLS_LoadInventoryTxt(void* pMemPool) { D2BinFieldStrc pTbl[] = { { "invLeft", TXTFIELD_DWORD, 0, 0, NULL }, { "invRight", TXTFIELD_DWORD, 0, 4, NULL }, { "invTop", TXTFIELD_DWORD, 0, 8, NULL }, { "invBottom", TXT...
41.900709
166
0.703453
eezstreet
b2c496d5e2d097a7310ae0efb5c3da70e00c0794
11,836
cpp
C++
2 Year/2015 Pattern/DSL/Group B/Assignment 17.cpp
bhushanasati25/College
638ab4f038a783beae297652623e8c6679465fef
[ "MIT" ]
4
2020-10-22T15:37:09.000Z
2022-02-17T17:30:03.000Z
2 Year/2015 Pattern/DSL/Group B/Assignment 17.cpp
mohitkhedkar/College
f713949827d69f13b1bf8fb082e86e8bead7ac6e
[ "MIT" ]
null
null
null
2 Year/2015 Pattern/DSL/Group B/Assignment 17.cpp
mohitkhedkar/College
f713949827d69f13b1bf8fb082e86e8bead7ac6e
[ "MIT" ]
5
2021-06-19T01:23:18.000Z
2022-02-26T14:47:15.000Z
// Second year Computer Engineering class, set A of students like Vanilla Ice-cream and set B of students like butterscotch ice-cream. Write C/C++ program to store two sets using linked list. compute and display- // 1. Set of students who like either vanilla or butterscotch or both // 2. Set of students who like bo...
35.866667
446
0.247888
bhushanasati25
b2c589c3e7168d8a1935a32a353ff1b26ad4393c
3,209
cc
C++
client/hash_store.cc
apardyl/cloudrun-hashfs
09420e16ab8e37c140af9684afbb895e742ac11f
[ "MIT" ]
null
null
null
client/hash_store.cc
apardyl/cloudrun-hashfs
09420e16ab8e37c140af9684afbb895e742ac11f
[ "MIT" ]
1
2018-08-30T20:08:14.000Z
2018-08-31T18:57:42.000Z
client/hash_store.cc
apardyl/cloudrun-fs
09420e16ab8e37c140af9684afbb895e742ac11f
[ "MIT" ]
null
null
null
#include "hash_store.h" #include "common/config.h" #include "common/random_utils.h" #include "common/sha256.h" #include <utility> #include <fcntl.h> #include <unistd.h> int HashStore::open_hash(const std::string &hash, const std::string &real_path, int flags) { if (hash.size() < 8) { debug_print("Invalid ...
34.138298
114
0.549081
apardyl
b2c848c2e8aaff78d5716b66b2579490cc703a50
7,769
cpp
C++
src/cSteamHTTP.cpp
thecocce/steamwrapper
3836739a0cc61955cc88fa0539f87f9bdc0a684c
[ "MIT" ]
32
2015-01-08T09:04:58.000Z
2022-03-04T19:48:51.000Z
src/cSteamHTTP.cpp
AdriaanBoshoff/steamwrapper
47997bcab31d2518525d5086f90ae7f6d127982a
[ "MIT" ]
null
null
null
src/cSteamHTTP.cpp
AdriaanBoshoff/steamwrapper
47997bcab31d2518525d5086f90ae7f6d127982a
[ "MIT" ]
10
2016-06-27T10:47:36.000Z
2021-01-06T09:39:12.000Z
//---------------------------------------------------- // © 2015 Andrey Volia // // License: MIT // Site: https://github.com/voliaandrey/steamwrapper //---------------------------------------------------- #include "libMain.h" // Initializes a new HTTP request, returning a handle to use in further operations on it. R...
87.292135
238
0.796628
thecocce
b2cedebdcbab1bb99325739ca98fd86ac1443656
4,713
hh
C++
GerdaCore/GerdaOther.hh
pmandrik/GerdaEngine
e399514785939e3499cdb7c87193a9272d3a523c
[ "MIT" ]
null
null
null
GerdaCore/GerdaOther.hh
pmandrik/GerdaEngine
e399514785939e3499cdb7c87193a9272d3a523c
[ "MIT" ]
null
null
null
GerdaCore/GerdaOther.hh
pmandrik/GerdaEngine
e399514785939e3499cdb7c87193a9272d3a523c
[ "MIT" ]
null
null
null
#ifndef GERDA_OTHER #define GERDA_OTHER_HH 1 namespace ge { // ======= Timer ==================================================================== class Timer{ public: Timer(){}; Timer(int max_time) : mtime(max_time) { dtime = 1./float(mtime); Reset(); } inline void Set(int time){itime = time; fti...
30.211538
107
0.551666
pmandrik
b2cf9223cf4350dbca15e3686793c889796b19dd
3,806
hpp
C++
src/components/ComponentBase.hpp
daveying/latch
c3d75b2d34f0d0342b3841374771360424165038
[ "MIT" ]
3
2021-11-20T09:46:49.000Z
2021-12-25T05:06:49.000Z
src/components/ComponentBase.hpp
daveying/latch
c3d75b2d34f0d0342b3841374771360424165038
[ "MIT" ]
null
null
null
src/components/ComponentBase.hpp
daveying/latch
c3d75b2d34f0d0342b3841374771360424165038
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////// // MIT License // // Copyright (c) 2021 Xingpeng Da // // 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 wit...
33.982143
115
0.625066
daveying
b2d15563594f63282796fc0d794a2538095a98d7
662
cpp
C++
TAOP/C2/DutchFlagProblem.cpp
Michael-Ma/Coding-Practice
6ab3d76ae1cd3a97046b399c59d6bf2b135d7b5f
[ "MIT" ]
null
null
null
TAOP/C2/DutchFlagProblem.cpp
Michael-Ma/Coding-Practice
6ab3d76ae1cd3a97046b399c59d6bf2b135d7b5f
[ "MIT" ]
null
null
null
TAOP/C2/DutchFlagProblem.cpp
Michael-Ma/Coding-Practice
6ab3d76ae1cd3a97046b399c59d6bf2b135d7b5f
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void swapFlags(int input[], int size) { int curr=0, begin=0, end=size-1; while(curr < end) { if(input[curr] == 1) { swap(input[curr], input[begin]); curr++; begin++; //curr always >= begin, so no worry about the swaped element. }else if(input[curr] == 2) ...
17.421053
84
0.574018
Michael-Ma
b2d21479866c6d3a8947d8e864f640189fb68618
35,176
cpp
C++
game/client/cstrike15/Scaleform/teammenu_scaleform.cpp
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
cstrike15_src/game/client/cstrike15/Scaleform/teammenu_scaleform.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
cstrike15_src/game/client/cstrike15/Scaleform/teammenu_scaleform.cpp
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
//========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #if defined( INCLUDE_SCALEFORM ) #include <game/client/iviewport.h> #include "teammenu_scalef...
26.954789
186
0.688168
DannyParker0001
b2d3ad3d5ed3c7fda778d542e8be3e6389ea2f33
22,758
cpp
C++
qws/src/core/QSettings.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
42
2015-02-16T19:29:16.000Z
2021-07-25T11:09:03.000Z
qws/src/core/QSettings.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
1
2017-11-23T12:49:25.000Z
2017-11-23T12:49:25.000Z
qws/src/core/QSettings.cpp
keera-studios/hsQt
8aa71a585cbec40005354d0ee43bce9794a55a9a
[ "BSD-2-Clause" ]
5
2015-10-15T21:25:30.000Z
2017-11-22T13:18:24.000Z
///////////////////////////////////////////////////////////////////////////// // // File : QSettings.cpp // Copyright : (c) David Harley 2010 // Project : qtHaskell // Version : 1.1.4 // Modified : 2010-09-02 17:01:55 // // Warning : this file is machine generated -...
42.778195
126
0.663679
keera-studios
b2d4ab869bde6a134bc5cc3dceb4d7198ff34f0c
10,203
cpp
C++
KendarNtlmLib/KendarNtlmLib.cpp
kendarorg/KendarNtlmLib
03310257fc02c5fdb9c3a43a8357f6ec214d9454
[ "MS-PL" ]
null
null
null
KendarNtlmLib/KendarNtlmLib.cpp
kendarorg/KendarNtlmLib
03310257fc02c5fdb9c3a43a8357f6ec214d9454
[ "MS-PL" ]
null
null
null
KendarNtlmLib/KendarNtlmLib.cpp
kendarorg/KendarNtlmLib
03310257fc02c5fdb9c3a43a8357f6ec214d9454
[ "MS-PL" ]
null
null
null
#define USE_TARGET //#define USE_UNKNOWN #include "stdafx.h" //#include <stdlib.h> #include "KendarNtlmLib.h" #include "Type1Message.h" #include "Type2Message.h" #include "Type3Message.h" #include "NtlmUtils.h" namespace KLib { KendarNtlmLib::KendarNtlmLib(unsigned char* nonce,unsigned char *targetDomain,int tdLen...
30.547904
127
0.726551
kendarorg
b2d4fab9e6c078fc07103647921f766fca99ec03
1,107
cpp
C++
Binary Trees/27 Find Largest subtree sum in a tree.cpp
i-am-grut/LoveBabbar-450-Questions
08faaa70198363c6ac481a67c548e1e7e4c7c591
[ "MIT" ]
2
2021-06-25T07:26:23.000Z
2022-01-28T22:24:34.000Z
Binary Trees/27 Find Largest subtree sum in a tree.cpp
i-am-grut/LoveBabbar-450-Questions
08faaa70198363c6ac481a67c548e1e7e4c7c591
[ "MIT" ]
null
null
null
Binary Trees/27 Find Largest subtree sum in a tree.cpp
i-am-grut/LoveBabbar-450-Questions
08faaa70198363c6ac481a67c548e1e7e4c7c591
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
27.675
93
0.499548
i-am-grut
b2d5f4e39747062ba061f9b0f5bbc64c087d9150
584
cpp
C++
Kernel/kernel.cpp
BEASTSM96/KiwifruitOS
3b8f49cc09aa69339ae59eb3d93cabbd122e4f64
[ "MIT" ]
null
null
null
Kernel/kernel.cpp
BEASTSM96/KiwifruitOS
3b8f49cc09aa69339ae59eb3d93cabbd122e4f64
[ "MIT" ]
null
null
null
Kernel/kernel.cpp
BEASTSM96/KiwifruitOS
3b8f49cc09aa69339ae59eb3d93cabbd122e4f64
[ "MIT" ]
null
null
null
#include "Common/uints.h" #include "Common/Macros.h" #if defined(__linux__) #error "You are not using a cross-compiler!" #endif #if !defined(__i386__) #error "This needs to be compiled with a ix86-elf compiler!" #endif using Constructor = void( * )( ); Constructor Constructors_begin; Constructor Constructors_end; ...
17.69697
84
0.674658
BEASTSM96
b2dee4bd66ab06393b62ee953b269cf0e0980cd4
1,621
hh
C++
src/ArtificialViscosity/RadialViscosity.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/ArtificialViscosity/RadialViscosity.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/ArtificialViscosity/RadialViscosity.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//---------------------------------Spheral++----------------------------------// // A version of the Monaghan Gingold pairwise viscosity with a hard wired // radial interaction. // // Created by $Author, $Date: 2003-07-31 15:44:32 -0700 (Thu, 31 Jul 2003) $ //------------------------------------------------------------...
31.784314
80
0.567551
jmikeowen
b2e5d776d7624619d016265449628806d4483c0d
5,449
hh
C++
src/sgvb_inference.hh
YPARK/fqtl
a1ced54a2b18f8ee66f39c62304c48f5522f7682
[ "MIT" ]
4
2017-06-15T12:05:02.000Z
2017-11-16T11:11:45.000Z
src/sgvb_inference.hh
YPARK/fqtl
a1ced54a2b18f8ee66f39c62304c48f5522f7682
[ "MIT" ]
1
2022-02-22T16:41:36.000Z
2022-02-22T16:41:36.000Z
src/sgvb_inference.hh
YPARK/fqtl
a1ced54a2b18f8ee66f39c62304c48f5522f7682
[ "MIT" ]
null
null
null
// [[Rcpp::plugins(cpp14)]] #include <Rcpp.h> // [[Rcpp::depends(RcppEigen)]] #include <RcppEigen.h> // [[Rcpp::depends(RcppProgress)]] #include <progress.hpp> // [[Rcpp::plugins(openmp)]] #include <omp.h> #include "convergence.hh" #include "tuple_util.hh" #ifndef SGVB_INFERENCE_HH_ #define SGVB_INFERENCE_HH_ templa...
32.242604
77
0.626904
YPARK
b2e86e1fe982117884666131b19f70c2d3db058d
1,700
hpp
C++
addons/cirkit-addon-reversible/gui/programs/gui/core/flow_scene.hpp
eletesta/cirkit
6d0939798ea25cecf92306ce796be154139b94f5
[ "MIT" ]
null
null
null
addons/cirkit-addon-reversible/gui/programs/gui/core/flow_scene.hpp
eletesta/cirkit
6d0939798ea25cecf92306ce796be154139b94f5
[ "MIT" ]
null
null
null
addons/cirkit-addon-reversible/gui/programs/gui/core/flow_scene.hpp
eletesta/cirkit
6d0939798ea25cecf92306ce796be154139b94f5
[ "MIT" ]
null
null
null
/* RevKit: A Toolkit for Reversible Circuit Design (www.revkit.org) * Copyright (C) 2009-2014 The RevKit Developers <revkit@informatik.uni-bremen.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 ...
22.368421
83
0.731176
eletesta
b2eadc937712381a9dcae255be4555a4df75b0c4
5,129
cpp
C++
OOVisualization/src/semantic_zoom/VDeclarationConstantSz.cpp
dimitar-asenov/Envision
1ab5c846fca502b7fe73ae4aff59e8746248446c
[ "BSD-3-Clause" ]
75
2015-01-18T13:29:43.000Z
2022-01-14T08:02:01.000Z
OOVisualization/src/semantic_zoom/VDeclarationConstantSz.cpp
dimitar-asenov/Envision
1ab5c846fca502b7fe73ae4aff59e8746248446c
[ "BSD-3-Clause" ]
364
2015-01-06T10:20:21.000Z
2018-12-17T20:12:28.000Z
OOVisualization/src/semantic_zoom/VDeclarationConstantSz.cpp
dimitar-asenov/Envision
1ab5c846fca502b7fe73ae4aff59e8746248446c
[ "BSD-3-Clause" ]
14
2015-01-09T00:44:24.000Z
2022-02-22T15:01:44.000Z
/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2014 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** following c...
40.385827
120
0.698967
dimitar-asenov
b2ec2845f5b16e0ed6c82647c2c7a4f5b4793f77
260,350
cpp
C++
com.ibm.streamsx.dps/impl/src/RedisClusterPlusPlusDBLayer.cpp
IBMStreams/streamsx.dps
05d6f0ba600056a26d1184745db6509e66b7229f
[ "Apache-2.0" ]
4
2017-02-16T13:56:51.000Z
2020-11-30T22:12:22.000Z
com.ibm.streamsx.dps/impl/src/RedisClusterPlusPlusDBLayer.cpp
IBMStreams/streamsx.dps
05d6f0ba600056a26d1184745db6509e66b7229f
[ "Apache-2.0" ]
58
2015-02-19T14:07:50.000Z
2021-04-14T13:16:06.000Z
com.ibm.streamsx.dps/impl/src/RedisClusterPlusPlusDBLayer.cpp
IBMStreams/streamsx.dps
05d6f0ba600056a26d1184745db6509e66b7229f
[ "Apache-2.0" ]
9
2015-10-05T15:07:10.000Z
2021-04-02T06:43:37.000Z
/* # Licensed Materials - Property of IBM # Copyright IBM Corp. 2011, 2020 # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with # IBM Corp. */ /* ===================================================================== Here is the copyright statement for o...
50.740596
385
0.657692
IBMStreams
b2ed6cd719ce0d88da0f3e465b90deac4419b408
256
hpp
C++
src/include/others/sdsl/construct_config.hpp
jamie-jjd/figiss
23a0975c7333d273901f2f61b49edad67d3e696d
[ "MIT" ]
20
2017-12-26T16:04:18.000Z
2022-02-09T03:30:13.000Z
src/include/others/sdsl/construct_config.hpp
jamie-jjd/figiss
23a0975c7333d273901f2f61b49edad67d3e696d
[ "MIT" ]
6
2018-11-12T15:14:24.000Z
2021-04-29T14:07:13.000Z
src/include/others/sdsl/construct_config.hpp
jamie-jjd/figiss
23a0975c7333d273901f2f61b49edad67d3e696d
[ "MIT" ]
4
2018-11-12T14:36:34.000Z
2021-01-26T22:16:32.000Z
#ifndef INCLUDED_SDSL_CONSTRUCT_CONFIG #define INCLUDED_SDSL_CONSTRUCT_CONFIG #include "config.hpp" namespace sdsl { class construct_config { public: static byte_sa_algo_type byte_algo_sa; construct_config() = delete; }; } #endif
12.8
46
0.742188
jamie-jjd
b2f04cc0028dece117e9b89c5e6b5739ec992aca
119
hpp
C++
heap/lib/heap_draw.hpp
HoussemBousmaha/data_structures
a7a9c6daaf2b2981780e327f9c5cb2c693ea6d72
[ "MIT" ]
2
2022-01-30T04:01:27.000Z
2022-01-30T04:01:28.000Z
heap/lib/heap_draw.hpp
HoussemBousmaha/data_structures
a7a9c6daaf2b2981780e327f9c5cb2c693ea6d72
[ "MIT" ]
null
null
null
heap/lib/heap_draw.hpp
HoussemBousmaha/data_structures
a7a9c6daaf2b2981780e327f9c5cb2c693ea6d72
[ "MIT" ]
null
null
null
void Draw_Heap(vector<int> tree); void dessinArbre(vector<int> tree, int index, FILE *f, int *nbNil, int treesize);
19.833333
81
0.722689
HoussemBousmaha
b2f9ba1e663d3fe12cd1c87fc234d4916cc2d9b7
1,953
cc
C++
chromeos/services/cellular_setup/esim_mojo_utils.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chromeos/services/cellular_setup/esim_mojo_utils.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chromeos/services/cellular_setup/esim_mojo_utils.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/services/cellular_setup/esim_mojo_utils.h" #include "chromeos/services/cellular_setup/public/mojom/esim_manager.mojom.h" namespace ch...
35.509091
77
0.754736
zealoussnow
b2fbcacf7d3b1f00df83d40aa4a1e73de38e2ac5
2,420
cpp
C++
src/TestFieldParser.cpp
mserdarsanli/QuantumJson
7aa8c7e17d2ff6677264edd20f54d7ee20821213
[ "MIT" ]
6
2016-09-28T21:05:46.000Z
2019-03-26T16:58:49.000Z
src/TestFieldParser.cpp
mserdarsanli/QuantumJson
7aa8c7e17d2ff6677264edd20f54d7ee20821213
[ "MIT" ]
null
null
null
src/TestFieldParser.cpp
mserdarsanli/QuantumJson
7aa8c7e17d2ff6677264edd20f54d7ee20821213
[ "MIT" ]
null
null
null
// The MIT License (MIT) // // Copyright (c) 2017 Mustafa Serdar Sanli // // 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...
35.072464
81
0.738843
mserdarsanli
b2fe09658f8065c7c62f9c5b701529ed4a4b9ee1
3,067
hpp
C++
include/three-dim-util/opengl3/shader.hpp
yuki-koyama/3d-util
e3eca11f300d9af6cc5d3eb5636c62f95276de59
[ "MIT" ]
4
2019-10-13T15:16:40.000Z
2021-11-29T06:07:55.000Z
include/three-dim-util/opengl3/shader.hpp
yuki-koyama/3d-util
e3eca11f300d9af6cc5d3eb5636c62f95276de59
[ "MIT" ]
9
2018-05-14T00:34:56.000Z
2019-08-20T13:50:42.000Z
include/three-dim-util/opengl3/shader.hpp
yuki-koyama/3d-util
e3eca11f300d9af6cc5d3eb5636c62f95276de59
[ "MIT" ]
3
2019-03-18T07:36:15.000Z
2021-06-04T19:42:33.000Z
#ifndef THREEDIMUTIL_OPENGL3_SHADER_HPP #define THREEDIMUTIL_OPENGL3_SHADER_HPP #include <string> namespace threedimutil { const std::string& GetDefaultVertShaderCode() { static const std::string code = R"glsl( #version 330 uniform mat4 view; uniform mat4 projection; layout(l...
24.934959
113
0.547114
yuki-koyama
b2ffe161b3f654625da28e30830d57e2f4860f58
2,942
cpp
C++
src_smartcontract/lang_sql/sql_expression/SQLDistinctArgument.cpp
alinous-core/codable-cash
32a86a152a146c592bcfd8cc712f4e8cb38ee1a0
[ "MIT" ]
1
2020-10-15T08:24:35.000Z
2020-10-15T08:24:35.000Z
src_smartcontract/lang_sql/sql_expression/SQLDistinctArgument.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
null
null
null
src_smartcontract/lang_sql/sql_expression/SQLDistinctArgument.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
null
null
null
/* * SQLDistinctArgument.cpp * * Created on: 2021/11/02 * Author: iizuka */ #include "lang_sql/sql_expression/SQLDistinctArgument.h" #include "engine/sc_analyze/AnalyzedType.h" #include "scan_select/scan_columns/ScanColumnHolder.h" #include "scan_select/scan_planner/base/SelectScanPlanner.h" #include "vm...
25.362069
114
0.774983
alinous-core
6501dc3faa8d1efd926d94fae0c5edad157adc0d
196
hpp
C++
NCGB/Compile/src/OrderType.hpp
mcdeoliveira/NC
54b2a81ebda9e5260328f88f83f56fe8cf472ac3
[ "BSD-3-Clause" ]
103
2016-09-21T06:01:23.000Z
2022-03-27T06:52:10.000Z
NCGB/Compile/src/OrderType.hpp
albinjames/NC
157a55458931a18dd1f42478872c9df0de5cc450
[ "BSD-3-Clause" ]
11
2017-03-27T13:11:42.000Z
2022-03-08T13:46:14.000Z
NCGB/Compile/src/OrderType.hpp
albinjames/NC
157a55458931a18dd1f42478872c9df0de5cc450
[ "BSD-3-Clause" ]
21
2017-06-23T09:01:21.000Z
2022-02-18T06:24:00.000Z
// OrderType.h #ifndef INCLUDED_ORDERTYPE_H #define INCLUDED_ORDERTYPE_H struct OrderType { static int s_UseMultiLexOrder; static int s_UseMLex; static int s_Current; }; #endif
16.333333
33
0.739796
mcdeoliveira
6504bb505805592f60ef3a76d8045a71cc6cbf21
8,980
cc
C++
src/reader/tag/vorbis_ogg.cc
jiajen/mp3edit
0517fd54359b25bb0fd4e015833d51ab8183d884
[ "MIT" ]
null
null
null
src/reader/tag/vorbis_ogg.cc
jiajen/mp3edit
0517fd54359b25bb0fd4e015833d51ab8183d884
[ "MIT" ]
null
null
null
src/reader/tag/vorbis_ogg.cc
jiajen/mp3edit
0517fd54359b25bb0fd4e015833d51ab8183d884
[ "MIT" ]
null
null
null
#include "mp3edit/src/reader/tag/vorbis_ogg.h" #include <cstring> #include <stdexcept> #include "mp3edit/src/reader/tag/vorbis_shared.h" #include "mp3edit/src/reader/utility.h" namespace Mp3Edit { namespace ReaderTag { namespace VorbisOgg { namespace { using Filesystem::readBytes; const int kFirstPageLength = 58...
38.376068
80
0.704677
jiajen
650933ce64d5c1dd42675480972506ec4b40add0
3,307
cc
C++
syzygy/pe/transforms/add_metadata_transform.cc
nzeh/syzygy
3573e3d458dbb4285753c28a7cb42ced739f9f55
[ "Apache-2.0" ]
343
2015-01-07T05:58:44.000Z
2022-03-15T14:55:21.000Z
syzygy/pe/transforms/add_metadata_transform.cc
nzeh/syzygy-nzeh
3757e53f850644721284073de318e218224dd411
[ "Apache-2.0" ]
61
2015-03-19T18:20:21.000Z
2019-10-23T12:58:23.000Z
syzygy/pe/transforms/add_metadata_transform.cc
nzeh/syzygy-nzeh
3757e53f850644721284073de318e218224dd411
[ "Apache-2.0" ]
66
2015-01-20T15:35:05.000Z
2021-11-25T16:49:41.000Z
// Copyright 2012 Google Inc. 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 applicable...
30.906542
77
0.685516
nzeh
65096c18c6d7b80615031f0a20b0945a5b308f74
1,338
hh
C++
src/fi/issue_execute_fault.hh
ramirocf/gem5-pipe
3eca35c39f72b2bbb9293d10ec8d568c326e2886
[ "BSD-3-Clause" ]
null
null
null
src/fi/issue_execute_fault.hh
ramirocf/gem5-pipe
3eca35c39f72b2bbb9293d10ec8d568c326e2886
[ "BSD-3-Clause" ]
null
null
null
src/fi/issue_execute_fault.hh
ramirocf/gem5-pipe
3eca35c39f72b2bbb9293d10ec8d568c326e2886
[ "BSD-3-Clause" ]
null
null
null
#ifndef __ISSUE_EXECUTE_FAULT_HH__ #define __ISSUE_EXECUTE_FAULT_HH__ #include "config/the_isa.hh" #include "base/types.hh" #include "fi/rename_issue_fault.hh" #include "fi/faultq.hh" #include "cpu/op_class.hh" /* * Inject a fault into the issue to execute stage pipeline register */ class Issue_ExecuteFault : pub...
22.3
126
0.758595
ramirocf
650d9e89a7e01c568ceb30f30fe847234bec796e
1,678
cpp
C++
src/platform/file_watcher.cpp
Markovna/UbikEngine
b26d99a65dbad12d7cd64ca8b562e4cea25c4c93
[ "MIT" ]
1
2021-07-05T11:50:09.000Z
2021-07-05T11:50:09.000Z
src/platform/file_watcher.cpp
Markovna/UbikEngine
b26d99a65dbad12d7cd64ca8b562e4cea25c4c93
[ "MIT" ]
null
null
null
src/platform/file_watcher.cpp
Markovna/UbikEngine
b26d99a65dbad12d7cd64ca8b562e4cea25c4c93
[ "MIT" ]
null
null
null
#include "file_watcher.h" #include <efsw/efsw.hpp> class update_listener : public efsw::FileWatchListener { public: using event_t = event<const std::string&, const std::string&, file_action, const std::string&>; public: explicit update_listener(event_t& event) : event_(event) {} void handleFileAction( efsw:...
27.508197
155
0.679976
Markovna
65176460e38e05b218d0e04975ba71aedc3bcca1
3,825
hpp
C++
smacc2/include/smacc2/smacc_asynchronous_client_behavior.hpp
reelrbtx/SMACC2
ac61cb1599f215fd9f0927247596796fc53f82bf
[ "Apache-2.0" ]
48
2021-05-28T01:33:20.000Z
2022-03-24T03:16:03.000Z
smacc2/include/smacc2/smacc_asynchronous_client_behavior.hpp
reelrbtx/SMACC2
ac61cb1599f215fd9f0927247596796fc53f82bf
[ "Apache-2.0" ]
75
2021-06-25T22:11:21.000Z
2022-03-30T13:05:38.000Z
smacc2/include/smacc2/smacc_asynchronous_client_behavior.hpp
reelrbtx/SMACC2
ac61cb1599f215fd9f0927247596796fc53f82bf
[ "Apache-2.0" ]
14
2021-06-16T12:10:57.000Z
2022-03-01T18:23:27.000Z
// Copyright 2021 RobosoftAI Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
37.871287
140
0.727059
reelrbtx
651980908b06651b07a44b87e31a2a6afb85ca8a
445
cpp
C++
C++/insert_arr.cpp
iamsuryakant/100-days-of-code
eaf4863d98dc273f03a989fe87d010d201d91516
[ "MIT" ]
1
2020-07-04T12:45:50.000Z
2020-07-04T12:45:50.000Z
C++/insert_arr.cpp
iamsuryakant/100-days-of-code
eaf4863d98dc273f03a989fe87d010d201d91516
[ "MIT" ]
1
2020-08-08T02:23:46.000Z
2020-08-08T02:47:56.000Z
C++/insert_arr.cpp
iamsuryakant/100-days-of-code
eaf4863d98dc273f03a989fe87d010d201d91516
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> using namespace std; int main() { int n; cin>>n; vector<int> v; int inp = 0; for(int i = 0; i<n; i++) { cin>>inp; v.push_back(inp); } int idx; cin>>idx; int x; cin>>x; for(int i = v.size();i>idx;i--) ...
10.348837
35
0.386517
iamsuryakant
fb91c6ccafcec2c74e1938730669cbd196bd5546
11,052
cpp
C++
src/example/TChem_IgnitionZeroD.cpp
kyungjoo-kim/TChem
69915ca8de71df9a6a463aae45c5bd6db31646bc
[ "BSD-2-Clause" ]
null
null
null
src/example/TChem_IgnitionZeroD.cpp
kyungjoo-kim/TChem
69915ca8de71df9a6a463aae45c5bd6db31646bc
[ "BSD-2-Clause" ]
null
null
null
src/example/TChem_IgnitionZeroD.cpp
kyungjoo-kim/TChem
69915ca8de71df9a6a463aae45c5bd6db31646bc
[ "BSD-2-Clause" ]
1
2022-02-26T18:04:44.000Z
2022-02-26T18:04:44.000Z
/* ===================================================================================== TChem version 2.0 Copyright (2020) NTESS https://github.com/sandialabs/TChem Copyright 2020 National Technology & Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Governme...
38.778947
88
0.653275
kyungjoo-kim
fb94546df2295bc1e1a19662e32217782d27bf39
8,509
cpp
C++
pure_pursuit_core/test/AckermannSteeringControllerTest.cpp
Idate96/se2_navigation
0fabe002742add5e4d716776b13704aa9c1aa339
[ "BSD-3-Clause" ]
216
2020-04-14T22:32:45.000Z
2022-03-30T17:56:12.000Z
pure_pursuit_core/test/AckermannSteeringControllerTest.cpp
Idate96/se2_navigation
0fabe002742add5e4d716776b13704aa9c1aa339
[ "BSD-3-Clause" ]
5
2020-09-23T08:41:38.000Z
2021-11-11T09:58:00.000Z
pure_pursuit_core/test/AckermannSteeringControllerTest.cpp
Idate96/se2_navigation
0fabe002742add5e4d716776b13704aa9c1aa339
[ "BSD-3-Clause" ]
56
2020-04-29T00:26:20.000Z
2022-03-30T17:27:55.000Z
/* * CreatorsTest.cpp * * Created on: Mar 25, 2020 * Author: jelavice */ #include <gtest/gtest.h> // Math #include <cmath> #include "test_helpers.hpp" #include "pure_pursuit_core/heading_control/AckermannSteeringController.hpp" namespace ppt = pure_pursuit_test; namespace pp = pure_pursuit; using Solution...
51.259036
100
0.772006
Idate96
fb988ee99f0bc8a8c7964cdf7e508077564db3f3
4,966
cpp
C++
src/abstract.cpp
ratanasv/3dlic
a128cd3a9bd86c9bbafa09ff150096163662d041
[ "Apache-2.0" ]
1
2022-03-02T07:08:40.000Z
2022-03-02T07:08:40.000Z
src/abstract.cpp
ratanasv/3dlic
a128cd3a9bd86c9bbafa09ff150096163662d041
[ "Apache-2.0" ]
null
null
null
src/abstract.cpp
ratanasv/3dlic
a128cd3a9bd86c9bbafa09ff150096163662d041
[ "Apache-2.0" ]
null
null
null
#include "StdAfx.h" #include "abstract.h" namespace vir{ Abstract::Abstract( const char* value ) { set(value); } Abstract::Abstract( int value ) { set(value); } Abstract::Abstract( bool value ) { set(value); } Abstract::Abstract( float value ) { set(value); } Abstract::Abstract(const Abstra...
18.190476
64
0.621426
ratanasv
fb9b5e95c1de897cc58baef6968393d0ab11ee6a
1,023
cpp
C++
src/Private/AnimSceneActions/FinishAllActiveActionsAction.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
src/Private/AnimSceneActions/FinishAllActiveActionsAction.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
src/Private/AnimSceneActions/FinishAllActiveActionsAction.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
#include <KYEngine/SceneTimelineInfo.h> #include <KYEngine/Private/AnimSceneActions/FinishAllActiveActionsAction.h> #include <KYEngine/Utility/TiXmlHelper.h> const std::string FinishAllActiveActionsAction::XML_NODE = "finish-all-active-actions"; FinishAllActiveActionsAction::FinishAllActiveActionsAction() { } Finish...
23.25
92
0.806452
heltena
fba17bf96053739438a7f7230ecb7bb93ba4f301
1,089
hh
C++
src/comm/detail/MpiTypes.nompi.i.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
22
2020-03-31T14:18:22.000Z
2022-01-10T09:43:06.000Z
src/comm/detail/MpiTypes.nompi.i.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
261
2020-04-29T15:14:29.000Z
2022-03-31T19:07:14.000Z
src/comm/detail/MpiTypes.nompi.i.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
15
2020-05-01T19:47:19.000Z
2021-12-25T06:12:09.000Z
//----------------------------------*-C++-*----------------------------------// // Copyright 2020 UT-Battelle, LLC, and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //-------------------------------------------------------------------------...
23.673913
79
0.438935
amandalund
fba5ed7be33d391f86a20ec2dc9338c20f6e74f3
1,224
hpp
C++
passes/loop-scheduler/include/LoopWriteScheduler.hpp
TUDSSL/WARio
e57fe0857ba3327d42ec0be71b62ed561b7c4b2b
[ "MIT" ]
2
2022-03-14T12:48:18.000Z
2022-03-14T12:48:24.000Z
passes/loop-scheduler/include/LoopWriteScheduler.hpp
TUDSSL/WARio
e57fe0857ba3327d42ec0be71b62ed561b7c4b2b
[ "MIT" ]
null
null
null
passes/loop-scheduler/include/LoopWriteScheduler.hpp
TUDSSL/WARio
e57fe0857ba3327d42ec0be71b62ed561b7c4b2b
[ "MIT" ]
null
null
null
#pragma once #include "Configurations.hpp" using namespace llvm; namespace LoopWriteScheduler { struct LoopWriteSchedulerInfo { int RescheduledWars = 0; int ResolvedLoads = 0; int InsertedLoadChecks = 0; }; typedef map<Instruction *, list<Value *>> InstructionDependecyMapTy; bool isCandidate(LoopDependenceI...
30.6
74
0.675654
TUDSSL
fba9ae34526cb9466c6a46ac28f3cdca5e98de01
252
cpp
C++
libs/device/src/Device.cpp
romz-pl/romz-btree
8f0634fa68c9c3245e53c81d100c1cf7a0bcac41
[ "Apache-2.0" ]
null
null
null
libs/device/src/Device.cpp
romz-pl/romz-btree
8f0634fa68c9c3245e53c81d100c1cf7a0bcac41
[ "Apache-2.0" ]
null
null
null
libs/device/src/Device.cpp
romz-pl/romz-btree
8f0634fa68c9c3245e53c81d100c1cf7a0bcac41
[ "Apache-2.0" ]
null
null
null
#include <romz/device/Device.h> namespace romz { Device::Device(const EnvConfig &config_) : config(config_) { } // virtual destructor Device::~Device() = default; std::size_t Device::page_size() const { return config.page_size_bytes; } }
14
40
0.694444
romz-pl
fbab1bec86fffc22aced2ad44ee2e26785b26863
1,294
cpp
C++
c++/codeforces/A.cpp
08pixels/juizes-online
7202eeaed6886e8ff33fc2031c213348043d5909
[ "Apache-2.0" ]
1
2020-06-23T06:23:03.000Z
2020-06-23T06:23:03.000Z
c++/codeforces/A.cpp
08pixels/juizes-online
7202eeaed6886e8ff33fc2031c213348043d5909
[ "Apache-2.0" ]
null
null
null
c++/codeforces/A.cpp
08pixels/juizes-online
7202eeaed6886e8ff33fc2031c213348043d5909
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> #define MAX 2100000 using namespace std; typedef struct { int x,y,z; }node; char str[1000006]; int o[MAX], c[MAX], v[MAX]; void build(int ind, int i, int j) { if(j == i) { if(str[i] == '(') o[ind] = 1; else c[ind] = 1; } else { int mid = (i+j) >> 1; build(2 * ind, i, mid);...
16.589744
54
0.486862
08pixels
fbb1757c90e442b4c0583a48b85e0d7736d0298c
9,888
cpp
C++
src/core/contract/ServerContract.cpp
da2ce7/opentxs
03a61c7a65b1dc27ffaa13da1adc053d67ec0ab0
[ "MIT" ]
null
null
null
src/core/contract/ServerContract.cpp
da2ce7/opentxs
03a61c7a65b1dc27ffaa13da1adc053d67ec0ab0
[ "MIT" ]
null
null
null
src/core/contract/ServerContract.cpp
da2ce7/opentxs
03a61c7a65b1dc27ffaa13da1adc053d67ec0ab0
[ "MIT" ]
null
null
null
/************************************************************ * * OPEN TRANSACTIONS * * Financial Cryptography and Digital Cash * Library, Protocol, API, Server, CLI, GUI * * -- Anonymous Numbered Accounts. * -- Untraceable Digital Cash. * -- Triple-Signed Receipts...
26.15873
78
0.611954
da2ce7
fbb34e5525b20460997535b04f32c00bfa6b8604
482
cpp
C++
src/detail/Library.cpp
GPMueller/mwe-cpp-exception
79836bf9a5d895f92051a8ce9d4f484bff600b35
[ "MIT" ]
21
2017-10-25T20:41:14.000Z
2022-01-20T10:11:43.000Z
src/detail/Library.cpp
GPMueller/mwe-cpp-exception
79836bf9a5d895f92051a8ce9d4f484bff600b35
[ "MIT" ]
1
2018-09-18T07:44:16.000Z
2019-12-12T12:30:32.000Z
src/detail/Library.cpp
GPMueller/mwe-cpp-exception
79836bf9a5d895f92051a8ce9d4f484bff600b35
[ "MIT" ]
3
2021-06-24T06:26:22.000Z
2021-11-09T20:43:46.000Z
#include <detail/Library.hpp> #include <detail/Exception.hpp> namespace mylib { namespace detail { void library_function() try { // some erronous code which throws an exception... // let's pretend we weren't able to open a file std::string filename = "nonexistent.txt"; libra...
22.952381
66
0.620332
GPMueller
fbb50a8abf7d69dcdbd162df357ec8d74dad387c
1,022
hpp
C++
xenium/backoff.hpp
dpayne/xenium
5336adf2089c3d263bf7e36cfc4fc2e11ee1ad7c
[ "MIT" ]
1
2021-01-03T07:18:27.000Z
2021-01-03T07:18:27.000Z
xenium/backoff.hpp
dpayne/xenium
5336adf2089c3d263bf7e36cfc4fc2e11ee1ad7c
[ "MIT" ]
null
null
null
xenium/backoff.hpp
dpayne/xenium
5336adf2089c3d263bf7e36cfc4fc2e11ee1ad7c
[ "MIT" ]
null
null
null
// // Copyright (c) 2018-2020 Manuel Pöter. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #ifndef XENIUM_BACKOFF_HPP #define XENIUM_BACKOFF_HPP #include <xenium/detail/port.hpp> #include <algorithm> #ifdef XENIUM_ARCH_X86 #include <emmintrin.h> ...
19.283019
117
0.65362
dpayne
fbb638a66cc7ea936d6e89f652f4c8efdeff523a
10,978
cpp
C++
soundgen/irrKlang/mxsoundgenirrklang.cpp
arturocepeda/Modus
849c9ada0e8bf7803db6e1b5c6098ab5898bc430
[ "MIT" ]
2
2015-04-08T21:03:09.000Z
2016-03-20T17:46:31.000Z
soundgen/irrKlang/mxsoundgenirrklang.cpp
arturocepeda/Modus
849c9ada0e8bf7803db6e1b5c6098ab5898bc430
[ "MIT" ]
null
null
null
soundgen/irrKlang/mxsoundgenirrklang.cpp
arturocepeda/Modus
849c9ada0e8bf7803db6e1b5c6098ab5898bc430
[ "MIT" ]
2
2015-08-18T08:59:07.000Z
2021-04-02T23:03:48.000Z
//////////////////////////////////////////////////////////////////////// // // Modus // C++ Music Library // [Sound Generator] // // Copyright (c) 2012-2015 Arturo Cepeda // // -------------------------------------------------------------------- // // Audio engine: // // irrKlang // Copyright (c) Nikolaus Geb...
30.7507
132
0.633995
arturocepeda
fbb6ec98cf6d9adafeeb5cc5096420cb38576ea0
35,730
cpp
C++
src/Loader.cpp
vadosnaprimer/desktop-m3g
fa04787e8609cd0f4e63defc7f2c669c8cc78d1f
[ "MIT" ]
2
2019-05-14T08:14:15.000Z
2021-01-19T13:28:38.000Z
src/Loader.cpp
vadosnaprimer/desktop-m3g
fa04787e8609cd0f4e63defc7f2c669c8cc78d1f
[ "MIT" ]
null
null
null
src/Loader.cpp
vadosnaprimer/desktop-m3g
fa04787e8609cd0f4e63defc7f2c669c8cc78d1f
[ "MIT" ]
null
null
null
#include "m3g/m3g.hpp" #include "m3g/stb_image_reader.hpp" #include "m3g/Config.hpp" #include "m3g/M3GReader.hpp" #include <iostream> #include <fstream> #include <algorithm> #include <cstring> using namespace std; using namespace m3g; // M3G(JSR184) identifier const unsigned char m3g_sig[12] = {0xab,0x4a,0x53,0x52,0x3...
34.126074
129
0.622726
vadosnaprimer
fbba48d6e7f4d8d6e5d9fa82409641de87fa13ab
8,676
cpp
C++
latentred/firmware/UART.cpp
azonenberg/latentpacket
af5612618f9704ecea3779bcd061496053a6d48a
[ "BSD-3-Clause" ]
14
2018-06-11T21:49:09.000Z
2021-12-07T07:29:23.000Z
latentred/firmware/UART.cpp
azonenberg/latentpacket
af5612618f9704ecea3779bcd061496053a6d48a
[ "BSD-3-Clause" ]
2
2019-08-18T07:14:42.000Z
2019-08-18T08:56:11.000Z
latentred/firmware/UART.cpp
azonenberg/latentpacket
af5612618f9704ecea3779bcd061496053a6d48a
[ "BSD-3-Clause" ]
3
2019-01-15T13:15:16.000Z
2019-08-18T09:09:39.000Z
/*********************************************************************************************************************** * * * LATENTPACKET v0.1 ...
30.657244
120
0.483402
azonenberg
fbbaf5e0074e10d2851ce506350c252f31cf638f
12,884
cc
C++
src/MapMatching/patArcTransition.cc
godosou/smaroute
e2ccc9492dff54c8ef5c74d5309d2b06758ba342
[ "MIT" ]
4
2015-02-23T16:02:52.000Z
2021-03-26T17:58:53.000Z
src/MapMatching/patArcTransition.cc
godosou/smaroute
e2ccc9492dff54c8ef5c74d5309d2b06758ba342
[ "MIT" ]
null
null
null
src/MapMatching/patArcTransition.cc
godosou/smaroute
e2ccc9492dff54c8ef5c74d5309d2b06758ba342
[ "MIT" ]
5
2015-02-23T16:05:59.000Z
2017-05-04T16:13:16.000Z
#include <fstream> #include <gsl/gsl_integration.h> #include "patConst.h" #include<sstream> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_math.h> #include <gsl/gsl_monte.h> #include <gsl/gsl_monte_plain.h> #include <gsl/gsl_monte_miser.h> #include <gsl/gsl_monte_vegas.h> #include "patErrMis...
27.354565
157
0.689227
godosou
fbbf3598e6dccb2caa5016b86431d4f7f7c1bed3
533
cpp
C++
STL/pair_basic.cpp
SanatankrMishra/MITMuz2020
e1d8007a0d3332ad32ce7aeba58780b7a6469442
[ "MIT" ]
null
null
null
STL/pair_basic.cpp
SanatankrMishra/MITMuz2020
e1d8007a0d3332ad32ce7aeba58780b7a6469442
[ "MIT" ]
null
null
null
STL/pair_basic.cpp
SanatankrMishra/MITMuz2020
e1d8007a0d3332ad32ce7aeba58780b7a6469442
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ pair<int,string> p , p1; p = make_pair(2,"abc"); p1 = {2, "abcd"}; cout<< p.first << " " << p.second <<endl; pair<int,string> &p2 = p; p2.first = 3; cout<< p.first << " " << p.second <<endl; pair<int,int> p_array[3]; p_arra...
20.5
66
0.49531
SanatankrMishra
fbbf5a86d8fb0570119c47d6c27baa37c4fad45f
3,123
hpp
C++
spacelogs.hpp
SpaceCraftTR/SpaceLogs
f913e85bf5940366359c698d6b4c96dd81285d7a
[ "MIT" ]
1
2021-02-23T21:36:40.000Z
2021-02-23T21:36:40.000Z
spacelogs.hpp
SpaceCraftTR/SpaceLogs
f913e85bf5940366359c698d6b4c96dd81285d7a
[ "MIT" ]
null
null
null
spacelogs.hpp
SpaceCraftTR/SpaceLogs
f913e85bf5940366359c698d6b4c96dd81285d7a
[ "MIT" ]
null
null
null
/* SpaceLogs SpaceLogs is an easy to use logging library for C++ developers. If you don't want to get your hands dirty with date formats, SpaceLogs is here to save your back! Copyright (c) 2021 - SpaceCraft Distributed under terms of the MIT licence. */ #pragma once #include <string> #include <fstream> #include <...
31.867347
184
0.57765
SpaceCraftTR
fbc1fdd3c68013e8caca0bddea82891f6236b175
863
cpp
C++
codes/raulcr-p2195-Accepted-s744339.cpp
raulcr98/coj-solutions
b8c4d6009869b76a67d7bc1d5328b9bd6bfc33ca
[ "MIT" ]
1
2020-03-17T01:44:21.000Z
2020-03-17T01:44:21.000Z
codes/raulcr-p2195-Accepted-s744339.cpp
raulcr98/coj-solutions
b8c4d6009869b76a67d7bc1d5328b9bd6bfc33ca
[ "MIT" ]
null
null
null
codes/raulcr-p2195-Accepted-s744339.cpp
raulcr98/coj-solutions
b8c4d6009869b76a67d7bc1d5328b9bd6bfc33ca
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int MAXN = 100001; int N, H[MAXN], V[MAXN]; int main() { ios_base::sync_with_stdio(0); cin.tie(); cin >> N; for(int i = 1 ; i <= N ; i++) cin >> H[i]; for(int i = N - 1 ; i >= 1 ; i--){ if(H[i] == H[i + 1])...
19.613636
46
0.273465
raulcr98
fbc20a97978ac17e8f1a132d84d7c5be559c6742
2,239
cc
C++
squid/squid3-3.3.8.spaceify/src/tests/stub_tools.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-01-20T15:25:34.000Z
2017-12-20T06:47:42.000Z
squid/squid3-3.3.8.spaceify/src/tests/stub_tools.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-05-15T09:32:55.000Z
2016-02-18T13:43:31.000Z
squid/squid3-3.3.8.spaceify/src/tests/stub_tools.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
null
null
null
#include "squid.h" #include "tools.h" #define STUB_API "tools.cc" #include "tests/STUB.h" int DebugSignal = -1; void releaseServerSockets(void) STUB char * dead_msg(void) STUB_RETVAL(NULL) void mail_warranty(void) STUB void dumpMallocStats(void) STUB void squid_getrusage(struct rusage *r) STUB double rusage_cputime(s...
32.449275
90
0.7749
spaceify
fbc3d8aeed409e96820c39d5d1e784bd40faac93
1,637
hpp
C++
src/backend/opencl/types/image2D_readwrite.hpp
wchang22/Nova
3db1e8f8a0dea1dcdd3d3d02332534d5945e17bb
[ "MIT" ]
21
2020-05-02T06:32:23.000Z
2021-07-14T11:22:07.000Z
src/backend/opencl/types/image2D_readwrite.hpp
wchang22/Nova
3db1e8f8a0dea1dcdd3d3d02332534d5945e17bb
[ "MIT" ]
null
null
null
src/backend/opencl/types/image2D_readwrite.hpp
wchang22/Nova
3db1e8f8a0dea1dcdd3d3d02332534d5945e17bb
[ "MIT" ]
1
2021-05-24T13:44:56.000Z
2021-05-24T13:44:56.000Z
#ifndef OPENCL_IMAGE2D_READWRITE_HPP #define OPENCL_IMAGE2D_READWRITE_HPP #ifdef OPENCL_2 #include <CL/cl2.hpp> #else #ifdef __APPLE__ #include <OpenCL/cl.hpp> #else #include <CL/cl.hpp> #endif #endif #include "backend/opencl/types/image2D.hpp" namespace nova { template <typename T> class Image2DRea...
24.073529
84
0.706781
wchang22
fbcb2e683659b08cd7a6b42f2964fb84954056a4
217,115
cpp
C++
ds/security/services/scerpc/server/server.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/security/services/scerpc/server/server.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/security/services/scerpc/server/server.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1996 Microsoft Corporation Module Name: server.cpp Abstract: Server (main) module Author: Jin Huang (jinhuang) 28-Jan-1998 Revision History: --*/ #include "serverp.h" #include "service.h" #include "ntrpcp.h" #include "pfp.h" #include "infp.h" #include "sce...
25.102902
143
0.489469
npocmaka
fbcc0bf3cb8ef5d04bc1ba11d7cb0479f49359f5
647
cpp
C++
src/circular_buffer/private/unit_tests/main_unit_tests.cpp
rybcom/circular_buffer
5cee33519bd5cd432bea4dd325913fb64ba93152
[ "BSD-3-Clause" ]
null
null
null
src/circular_buffer/private/unit_tests/main_unit_tests.cpp
rybcom/circular_buffer
5cee33519bd5cd432bea4dd325913fb64ba93152
[ "BSD-3-Clause" ]
null
null
null
src/circular_buffer/private/unit_tests/main_unit_tests.cpp
rybcom/circular_buffer
5cee33519bd5cd432bea4dd325913fb64ba93152
[ "BSD-3-Clause" ]
null
null
null
#include "project_config.h" #if RUN_AS_UNIT_TESTING() == true #define CATCH_CONFIG_RUNNER #include "catch.hpp" struct Point { float x{ 0 }; float y{ 0 }; }; static bool operator==(Point const& point, Point const& point_b) { return (point.x == point_b.x) && (point.y == point_b.y); } static bool operator!=(Point ...
17.026316
64
0.667697
rybcom
fbcd808eb203bbd96bcd4af6a958713da0101595
15,536
cc
C++
Kernel/Boundaries/PeriodicBoundary.cc
gustavo-castillo-bautista/Mercury
eeb402ccec8e487652229d4595c46ec84f6aefbb
[ "BSD-3-Clause" ]
null
null
null
Kernel/Boundaries/PeriodicBoundary.cc
gustavo-castillo-bautista/Mercury
eeb402ccec8e487652229d4595c46ec84f6aefbb
[ "BSD-3-Clause" ]
null
null
null
Kernel/Boundaries/PeriodicBoundary.cc
gustavo-castillo-bautista/Mercury
eeb402ccec8e487652229d4595c46ec84f6aefbb
[ "BSD-3-Clause" ]
null
null
null
//Copyright (c) 2013-2020, The MercuryDPM Developers Team. All rights reserved. //For the list of developers, see <http://www.MercuryDPM.org/Team>. // //Redistribution and use in source and binary forms, with or without //modification, are permitted provid->d that the following conditions are met: // * Redistributions...
33.773913
120
0.701982
gustavo-castillo-bautista
fbd232b86ff3fdcc05731a6079327e3a0b2a03c2
2,102
hpp
C++
src/genericcomponent.hpp
nek0bit/LoopCube
882296f32bfe3a8b1765950a9b8c9e24af75d009
[ "MIT" ]
9
2020-04-03T21:20:02.000Z
2021-08-23T19:57:57.000Z
src/genericcomponent.hpp
nek0bit/LoopCube
882296f32bfe3a8b1765950a9b8c9e24af75d009
[ "MIT" ]
2
2020-12-05T01:05:58.000Z
2021-01-23T04:41:24.000Z
src/genericcomponent.hpp
nek0bit/LoopCube
882296f32bfe3a8b1765950a9b8c9e24af75d009
[ "MIT" ]
4
2020-07-04T13:47:33.000Z
2021-09-11T15:29:08.000Z
#pragma once #include <functional> #include <variant> #include <glm/glm.hpp> #include <cmath> #include "margin.hpp" #include "camera.hpp" #include "generic.hpp" #include "eventwrapper.hpp" #include "graphics.hpp" #include "transform.hpp" #include "componenttypes.hpp" enum component_size_t { SIZE_AUTO = -1, SI...
28.405405
137
0.636061
nek0bit
fbd9466afe3360a204aafef7f0e06eda4d53ff84
8,749
cpp
C++
indra/newview/lleventpoll.cpp
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
indra/newview/lleventpoll.cpp
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
indra/newview/lleventpoll.cpp
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
/** * @file lleventpoll.cpp * @brief Implementation of the LLEventPoll class. * * $LicenseInfo:firstyear=2006&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GN...
30.168966
111
0.696765
humbletim