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
aa263159498683f586a3f05cfe17a5aafe8cce9e
1,115
cc
C++
leetcode/Designing_data_structures/implement_queue_using_stacks.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
leetcode/Designing_data_structures/implement_queue_using_stacks.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
leetcode/Designing_data_structures/implement_queue_using_stacks.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <array> #include <vector> #include "third_party/gflags/include/gflags.h" #include "third_party/glog/include/logging.h" using std::array; class MyQueue { stack<int> in; stack<int> out; void reload() { while (in.size()) { out.push(in.top()); in.pop(); } } pub...
19.910714
77
0.586547
LIZHICHAOUNICORN
aa2a5424af642cbae6677c247f4dbbf364bfced1
12,260
cpp
C++
src/mongo/db/commands/pipeline_command.cpp
morsvolia/mongo
8cbe89efab77d70ac653d20b693cffe15a47acea
[ "Apache-2.0" ]
324
2015-01-01T14:56:10.000Z
2022-03-08T04:52:37.000Z
src/mongo/db/commands/pipeline_command.cpp
morsvolia/mongo
8cbe89efab77d70ac653d20b693cffe15a47acea
[ "Apache-2.0" ]
38
2015-01-31T03:57:16.000Z
2019-04-21T03:30:53.000Z
src/mongo/db/commands/pipeline_command.cpp
morsvolia/mongo
8cbe89efab77d70ac653d20b693cffe15a47acea
[ "Apache-2.0" ]
60
2015-01-14T14:19:41.000Z
2021-02-10T21:54:12.000Z
/** * Copyright (c) 2011 10gen Inc. * Copyright (C) 2013 Tokutek Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope th...
39.044586
118
0.619657
morsvolia
aa2a5831bef0ad1fa0f5274226548f00538d501f
5,936
cpp
C++
Cpp14/IO/Epoll_main.cpp
ernestyalumni/HrdwCCppCUDA
17ed937dea06431a4d5ca103f993ea69a6918734
[ "MIT" ]
1
2018-02-09T19:44:51.000Z
2018-02-09T19:44:51.000Z
Cpp14/IO/Epoll_main.cpp
ernestyalumni/HrdwCCppCUDA
17ed937dea06431a4d5ca103f993ea69a6918734
[ "MIT" ]
null
null
null
Cpp14/IO/Epoll_main.cpp
ernestyalumni/HrdwCCppCUDA
17ed937dea06431a4d5ca103f993ea69a6918734
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------ /// \file Epoll_main.cpp /// \author Ernest Yeung /// \email ernestyalumni@gmail.com /// \brief epoll as RAII main driver file. /// \ref http://man7.org/linux/man-pages/man2/epoll_create.2.html /// \details Using RAII for epoll inst...
37.56962
214
0.617419
ernestyalumni
aa2c65c36843ad34cde6e738b55267fc856cd3e4
2,232
cpp
C++
compute/perf/perf_host_sort.cpp
atksh/mimalloc-lgb
add692a5ef9a91cad0bc78fa18a051d43a8c930e
[ "MIT" ]
null
null
null
compute/perf/perf_host_sort.cpp
atksh/mimalloc-lgb
add692a5ef9a91cad0bc78fa18a051d43a8c930e
[ "MIT" ]
null
null
null
compute/perf/perf_host_sort.cpp
atksh/mimalloc-lgb
add692a5ef9a91cad0bc78fa18a051d43a8c930e
[ "MIT" ]
null
null
null
//---------------------------------------------------------------------------// // Copyright (c) 2013-2014 Kyle Lutz <kyle.r.lutz@gmail.com> // // 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 // // See http://boosto...
33.313433
79
0.616935
atksh
a8f7d1a77b271ec8e555251fbf18029debded219
1,330
hpp
C++
engine/src/events/InputEvents.hpp
Birdy2014/Birdy3d
96421f262ab6ba7448cae8381063aab32ac830fe
[ "MIT" ]
1
2021-11-01T20:22:41.000Z
2021-11-01T20:22:41.000Z
engine/src/events/InputEvents.hpp
Birdy2014/Birdy3d
96421f262ab6ba7448cae8381063aab32ac830fe
[ "MIT" ]
1
2021-11-02T12:45:20.000Z
2021-11-02T12:45:20.000Z
engine/src/events/InputEvents.hpp
Birdy2014/Birdy3d
96421f262ab6ba7448cae8381063aab32ac830fe
[ "MIT" ]
1
2021-11-02T12:28:58.000Z
2021-11-02T12:28:58.000Z
#pragma once #include "events/Event.hpp" namespace Birdy3d::events { class InputScrollEvent : public Event { public: const double xoffset; const double yoffset; InputScrollEvent(double xoffset, double yoffset) : xoffset(xoffset) , yoffset(yoffset) { } }; ...
23.333333
66
0.558647
Birdy2014
a8f91bc2cb2c0d7ad83b7d619f728dee4f4c8b0a
1,796
cpp
C++
src/crypto/arc4.cpp
Iglu47/innoextract
660546ad796bb7619ff0e99a6cd61c4e01e4e241
[ "Zlib" ]
526
2015-01-01T17:52:24.000Z
2022-03-30T10:16:25.000Z
src/crypto/arc4.cpp
Iglu47/innoextract
660546ad796bb7619ff0e99a6cd61c4e01e4e241
[ "Zlib" ]
104
2015-01-01T11:48:51.000Z
2022-03-11T17:25:58.000Z
src/crypto/arc4.cpp
Iglu47/innoextract
660546ad796bb7619ff0e99a6cd61c4e01e4e241
[ "Zlib" ]
83
2015-02-10T15:51:37.000Z
2022-03-08T13:11:12.000Z
/* * Copyright (C) 2018 Daniel Scharrer * * This software is provided 'as-is', without any express or implied * warranty. In no event will the author(s) be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * including ...
24.944444
92
0.658686
Iglu47
a8fbd745d619170515a02709c40b52df78188eda
2,962
cpp
C++
src_vc141/utils/BadWordFilter.cpp
nneesshh/mytoolkit
336ae9c7077c8687a8cf8a2ce4aec804c28ab90c
[ "Apache-2.0" ]
null
null
null
src_vc141/utils/BadWordFilter.cpp
nneesshh/mytoolkit
336ae9c7077c8687a8cf8a2ce4aec804c28ab90c
[ "Apache-2.0" ]
null
null
null
src_vc141/utils/BadWordFilter.cpp
nneesshh/mytoolkit
336ae9c7077c8687a8cf8a2ce4aec804c28ab90c
[ "Apache-2.0" ]
2
2020-11-04T03:07:09.000Z
2020-11-05T08:14:45.000Z
//------------------------------------------------------------------------------ // BadWordFilter.cpp // (C) 2016 n.lee //------------------------------------------------------------------------------ #include "BadWordFilter.h" #include "CharCode.h" wchar_t * wreplace(wchar_t *buffer, const wchar_t *dirty, c...
21.779412
114
0.422687
nneesshh
a8fce2a00b2b29a6e74ad3a33d412aa1e6183b19
1,159
hh
C++
src/main/c++/novemberizing/io/reactor.hh
iticworld/reactive-lib
9ab761376776e759390fa417d50921ec6e8a898a
[ "Apache-2.0" ]
1
2020-10-10T11:57:15.000Z
2020-10-10T11:57:15.000Z
src/main/c++/novemberizing/io/reactor.hh
iticworld/reactive-lib
9ab761376776e759390fa417d50921ec6e8a898a
[ "Apache-2.0" ]
null
null
null
src/main/c++/novemberizing/io/reactor.hh
iticworld/reactive-lib
9ab761376776e759390fa417d50921ec6e8a898a
[ "Apache-2.0" ]
null
null
null
#ifndef __NOVEMBERIZING_IO__REACTOR__HH__ #define __NOVEMBERIZING_IO__REACTOR__HH__ #include <sys/epoll.h> #include <unistd.h> #include <novemberizing/util/log.hh> #include <novemberizing/ds.hh> #include <novemberizing/ds/cyclable.hh> #include <novemberizing/ds/concurrent.set.hh> #include <novemberizing/io.hh> ...
26.953488
58
0.750647
iticworld
d1040b84fed60a0e8b316471642290367566cee9
387,371
cpp
C++
old/bna1/res/md5revert_main.cpp
sea-kg/reversehash
77bd44f589cd38dff7bd4b97963134ae27a16a95
[ "MIT" ]
null
null
null
old/bna1/res/md5revert_main.cpp
sea-kg/reversehash
77bd44f589cd38dff7bd4b97963134ae27a16a95
[ "MIT" ]
4
2016-05-30T18:37:26.000Z
2017-02-18T06:59:24.000Z
old/bna1/res/md5revert_main.cpp
sea-kg/bna
f2f228b3cd03be0719a850648c6c67a529453669
[ "MIT" ]
null
null
null
#include <iostream> #include <QString> #include <QVector> #include <QDebug> #include <QCryptographicHash> #include <QCoreApplication> #include "md5revert_helpers.h" #include "0/0/0/000.h" #include "0/0/1/001.h" #include "0/0/2/002.h" #include "0/0/3/003.h" #include "0/0/4/004.h" #include "0/0/5/005.h" #include "0/0/6/...
198.957884
803
0.675355
sea-kg
d1040bf25eecabce18fece7e0dc55f5589db5ca2
54,803
cpp
C++
test/API/VMTest.cpp
gmh5225/QBDI
d31872adae1099ac74a2e2238f909ad1e63cc3e8
[ "Apache-2.0" ]
null
null
null
test/API/VMTest.cpp
gmh5225/QBDI
d31872adae1099ac74a2e2238f909ad1e63cc3e8
[ "Apache-2.0" ]
null
null
null
test/API/VMTest.cpp
gmh5225/QBDI
d31872adae1099ac74a2e2238f909ad1e63cc3e8
[ "Apache-2.0" ]
null
null
null
/* * This file is part of QBDI. * * Copyright 2017 - 2021 Quarkslab * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
31.173493
80
0.644837
gmh5225
d104354102fd114bdc29eff8f74902da42a0cb51
6,110
cpp
C++
winsdkfb/winsdkfb/winsdkfb.Shared/FacebookProfilePictureControl.xaml.cpp
omer-ispl/winsdkfb1
e3bcd1d1e49e5ff94e6a9c971e4d8a9c82fad93b
[ "MIT" ]
197
2015-07-14T22:33:14.000Z
2019-05-05T15:26:15.000Z
winsdkfb/winsdkfb/winsdkfb.Shared/FacebookProfilePictureControl.xaml.cpp
omer-ispl/winsdkfb1
e3bcd1d1e49e5ff94e6a9c971e4d8a9c82fad93b
[ "MIT" ]
209
2015-07-15T14:49:48.000Z
2019-02-15T14:39:48.000Z
winsdkfb/winsdkfb/winsdkfb.Shared/FacebookProfilePictureControl.xaml.cpp
omer-ispl/winsdkfb1
e3bcd1d1e49e5ff94e6a9c971e4d8a9c82fad93b
[ "MIT" ]
115
2015-07-15T06:57:34.000Z
2019-01-12T08:55:15.000Z
//****************************************************************************** // // Copyright (c) 2015 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT L...
28.287037
109
0.642881
omer-ispl
d104c774952e0b052fc9eb7f4410b13c11603495
1,196
inl
C++
Breakout/MacOS-Demo/Glm/gtx/vector_access.inl
CoderYQ/LearnOpenGL
2fbb251d939df0d9d23d92346aa5d46a0ba6f91f
[ "MIT" ]
455
2015-02-04T01:39:12.000Z
2022-03-18T17:28:34.000Z
Breakout/MacOS-Demo/Glm/gtx/vector_access.inl
CoderYQ/LearnOpenGL
2fbb251d939df0d9d23d92346aa5d46a0ba6f91f
[ "MIT" ]
9
2016-09-12T05:00:23.000Z
2021-05-14T18:38:51.000Z
Breakout/MacOS-Demo/Glm/gtx/vector_access.inl
CoderYQ/LearnOpenGL
2fbb251d939df0d9d23d92346aa5d46a0ba6f91f
[ "MIT" ]
117
2015-01-30T10:13:54.000Z
2022-03-08T03:46:42.000Z
/////////////////////////////////////////////////////////////////////////////////////////////////// // OpenGL Mathematics Copyright (c) 2005 - 2013 G-Truc Creation (www.g-truc.net) /////////////////////////////////////////////////////////////////////////////////////////////////// // Created : 2006-01-16 // Updated ...
22.148148
100
0.43311
CoderYQ
d104e822805402d917967d9d57602ed38ab66986
7,577
cpp
C++
test/blockchain/pop/pop_vbk_block_tree_test.cpp
overcookedpanda/alt-integration-cpp
7932e79a77d9514ca0e0354636e77fba1845d707
[ "MIT" ]
null
null
null
test/blockchain/pop/pop_vbk_block_tree_test.cpp
overcookedpanda/alt-integration-cpp
7932e79a77d9514ca0e0354636e77fba1845d707
[ "MIT" ]
null
null
null
test/blockchain/pop/pop_vbk_block_tree_test.cpp
overcookedpanda/alt-integration-cpp
7932e79a77d9514ca0e0354636e77fba1845d707
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <exception> #include <memory> #include "util/pop_test_fixture.hpp" #include "veriblock/blockchain/pop/fork_resolution.hpp" using namespace altintegration; struct VbkBlockTreeTestFixture : public ::testing::Test { MockMiner popminer; void endorseVBK(size_t height) { auto* e...
40.089947
79
0.749901
overcookedpanda
d105bba5b5a279a10438e98316d36bba376f6309
7,084
cpp
C++
shadow/operators/kernels/pooling.cpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
20
2017-07-04T11:22:47.000Z
2022-01-16T03:58:32.000Z
shadow/operators/kernels/pooling.cpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
2
2017-12-03T13:07:39.000Z
2021-01-13T11:11:52.000Z
shadow/operators/kernels/pooling.cpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
10
2017-09-30T05:06:30.000Z
2020-11-13T05:43:44.000Z
#include "pooling.hpp" namespace Shadow { namespace Vision { template <> void Pooling2D<DeviceType::kCPU, float>(const float* in_data, const VecInt& in_shape, int pool_type, int kernel_size_h, int kernel_size_w, ...
40.022599
80
0.571429
junluan
d1069101a8af09186c744a8c372719a30d026858
13,059
cpp
C++
NanoTest/Source/Nano/Types/TRange.cpp
refnum/Nano
dceb0907061f7845d8a3c662f309ca164e932e6f
[ "BSD-3-Clause" ]
23
2019-11-12T09:31:11.000Z
2021-09-13T08:59:37.000Z
NanoTest/Source/Nano/Types/TRange.cpp
refnum/nano
dceb0907061f7845d8a3c662f309ca164e932e6f
[ "BSD-3-Clause" ]
1
2020-10-30T09:54:12.000Z
2020-10-30T09:54:12.000Z
NanoTest/Source/Nano/Types/TRange.cpp
refnum/Nano
dceb0907061f7845d8a3c662f309ca164e932e6f
[ "BSD-3-Clause" ]
3
2015-09-08T11:00:02.000Z
2017-09-11T05:42:30.000Z
/* NAME: TRange.cpp DESCRIPTION: NRange tests. COPYRIGHT: Copyright (c) 2006-2021, refNum Software All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code...
28.575492
97
0.50402
refnum
d10ae5fba69de104b27f9d9f39f7a59fa0c850af
27,033
cpp
C++
soundlib/tuning.cpp
sitomani/openmpt
913396209c22a1fc6dfb29f0e34893dfb0ffa591
[ "BSD-3-Clause" ]
null
null
null
soundlib/tuning.cpp
sitomani/openmpt
913396209c22a1fc6dfb29f0e34893dfb0ffa591
[ "BSD-3-Clause" ]
null
null
null
soundlib/tuning.cpp
sitomani/openmpt
913396209c22a1fc6dfb29f0e34893dfb0ffa591
[ "BSD-3-Clause" ]
null
null
null
/* * tuning.cpp * ---------- * Purpose: Alternative sample tuning. * Notes : (currently none) * Authors: OpenMPT Devs * The OpenMPT source code is released under the BSD license. Read LICENSE for more details. */ #include "stdafx.h" #include "tuning.h" #include "../common/mptIO.h" #include "../common/seriali...
27.556575
182
0.693449
sitomani
d10c0dadc94b54375b061dcfecd187a6d48e6d7a
8,088
cpp
C++
camera/hal/mediatek/mtkcam/utils/exif/v3/DebugExifUtils.cpp
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
camera/hal/mediatek/mtkcam/utils/exif/v3/DebugExifUtils.cpp
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
camera/hal/mediatek/mtkcam/utils/exif/v3/DebugExifUtils.cpp
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
/* * Copyright (C) 2019 MediaTek 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 agr...
31.470817
80
0.61956
strassek
d10cfad6d00593f9216095c2e7036837eec9b537
3,968
cpp
C++
Source/LaunchDarklyClient/Private/LaunchDarklyHelpers.cpp
Mohawk-Valley-Interactive/launchdarkly-client-ue4-plugin
183f856266e97537c3af9f519dd61b0a1cdc7c73
[ "Apache-2.0" ]
1
2021-02-05T22:57:39.000Z
2021-02-05T22:57:39.000Z
Source/LaunchDarklyClient/Private/LaunchDarklyHelpers.cpp
launchdarkly-labs/launchdarkly-client-ue4-plugin
7bd59afb384ae3ca7302af534752abac2b2c5239
[ "Apache-2.0" ]
null
null
null
Source/LaunchDarklyClient/Private/LaunchDarklyHelpers.cpp
launchdarkly-labs/launchdarkly-client-ue4-plugin
7bd59afb384ae3ca7302af534752abac2b2c5239
[ "Apache-2.0" ]
1
2020-04-16T17:33:33.000Z
2020-04-16T17:33:33.000Z
#include "LaunchDarklyHelpers.h" #include "Dom/JsonObject.h" #include "Serialization/JsonSerializer.h" #include "Serialization/JsonWriter.h" #include "LdNodeObject.h" #include "LdUserObject.h" FVector ULaunchDarklyHelpers::LdNodeObjectToVector(ULdNodeObject* LdDataObject) { TSharedPtr<FJsonObject> LdData =...
30.060606
104
0.709173
Mohawk-Valley-Interactive
d10d22a81ca7da0eb2082636b830b1e0e56ca319
1,675
cpp
C++
windows/pw6e.official/CPlusPlus/Chapter13/DialSketch/DialSketch/MainPage.xaml.cpp
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
1
2016-11-23T08:18:08.000Z
2016-11-23T08:18:08.000Z
windows/pw6e.official/CPlusPlus/Chapter13/DialSketch/DialSketch/MainPage.xaml.cpp
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
null
null
null
windows/pw6e.official/CPlusPlus/Chapter13/DialSketch/DialSketch/MainPage.xaml.cpp
nnaabbcc/exercise
255fd32b39473b3d0e7702d4b1a8a97bed2a68f8
[ "MIT" ]
1
2016-11-23T08:17:34.000Z
2016-11-23T08:17:34.000Z
// // MainPage.xaml.cpp // Implementation of the MainPage class. // #include "pch.h" #include "MainPage.xaml.h" using namespace DialSketch; using namespace Platform; using namespace Windows::Foundation; using namespace Windows::Foundation::Collections; using namespace Windows::UI::Xaml; using namespace...
32.211538
104
0.688955
nnaabbcc
d1110c51b076ce5fb65e3df0b5f00a1f23f4d286
20,497
cpp
C++
middleware/serviceframework/source/archive/ini.cpp
tompis/casual
d838716c7052a906af8a19e945a496acdc7899a2
[ "MIT" ]
null
null
null
middleware/serviceframework/source/archive/ini.cpp
tompis/casual
d838716c7052a906af8a19e945a496acdc7899a2
[ "MIT" ]
null
null
null
middleware/serviceframework/source/archive/ini.cpp
tompis/casual
d838716c7052a906af8a19e945a496acdc7899a2
[ "MIT" ]
null
null
null
/* * ini.cpp * * Created on: Feb 11, 2015 * Author: kristone */ #include "sf/archive/ini.h" #include "sf/exception.h" #include "common/transcode.h" #include <iterator> #include <algorithm> #include <locale> namespace casual { namespace sf { namespace archive { namespace ini ...
33.166667
127
0.354296
tompis
d1170012f63438cfd843d6df93e963044cebcf69
4,516
cpp
C++
Source/Renderer/Resources/Shader/Preprocessor.cpp
pgrabas/MoonGlare
25807680700697023d04830402af168f624ffb35
[ "MIT" ]
1
2018-03-18T16:29:16.000Z
2018-03-18T16:29:16.000Z
Source/Renderer/Resources/Shader/Preprocessor.cpp
pgrabas/MoonGlare
25807680700697023d04830402af168f624ffb35
[ "MIT" ]
null
null
null
Source/Renderer/Resources/Shader/Preprocessor.cpp
pgrabas/MoonGlare
25807680700697023d04830402af168f624ffb35
[ "MIT" ]
null
null
null
#include "Preprocessor.h" #include <functional> namespace MoonGlare::Renderer::Resources::Shader { bool ShaderFileCache::ReadFile(const std::string &FName, const ReadBuffer *&out) { auto it = loadedFiles.find(FName); if (it != loadedFiles.end()) { if (!it->second.has_value()) { AddLogf(Wa...
26.880952
116
0.534544
pgrabas
d1176f4566218035d596cbd43da3daa038bbc002
1,177
cpp
C++
Failed/1118E-failed.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
3
2019-07-20T07:26:31.000Z
2020-08-06T09:31:09.000Z
Failed/1118E-failed.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
null
null
null
Failed/1118E-failed.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
4
2019-06-20T18:43:32.000Z
2020-10-07T16:45:23.000Z
#include <bits/stdc++.h> using namespace std; #define PI 2*acos(0) #define ll long long int bool myAssert(bool b); void testDrivenDevelopment(); int start(int argc=0, char const *argv[] = NULL); ll n,k; vector<int> *g; bool *isvisited; int main(int argc, char const *argv[]) { /* code */ /* Soln soln */ // fr...
16.123288
49
0.486831
fahimfarhan
d11a0dafe97ebc1495c91642b9e8c182c6e54f88
916
cpp
C++
TallerProgra/Introduccion/A_HolidayOfEquality.cpp
CaDe27/Co-digos
9eea1dbf6ed06fd115391328c0a2481029c83fc0
[ "MIT" ]
null
null
null
TallerProgra/Introduccion/A_HolidayOfEquality.cpp
CaDe27/Co-digos
9eea1dbf6ed06fd115391328c0a2481029c83fc0
[ "MIT" ]
null
null
null
TallerProgra/Introduccion/A_HolidayOfEquality.cpp
CaDe27/Co-digos
9eea1dbf6ed06fd115391328c0a2481029c83fc0
[ "MIT" ]
null
null
null
/* Pensemos en cuánto va a tener cada persona despues de darles el dinero Como quiero dar lo menos posible, quiero que esta altura sea minima esta altura puede ser la de la persona con mas dinero no puede ser menos porque tendria que quitarle dinero a esta persona y si fuera mayor que esta, involuc...
24.756757
74
0.626638
CaDe27
d11a57104e47857ede1af0d7f2cc5eff68fef707
2,314
cpp
C++
geometry/barycentre_calculator_test.cpp
tinygrox/Principia
49a25646c673dcd84cefbc6295df410fc6d927d5
[ "MIT" ]
565
2015-01-04T21:47:18.000Z
2022-03-22T12:04:58.000Z
geometry/barycentre_calculator_test.cpp
tinygrox/Principia
49a25646c673dcd84cefbc6295df410fc6d927d5
[ "MIT" ]
1,019
2015-01-03T11:42:27.000Z
2022-03-29T21:02:15.000Z
geometry/barycentre_calculator_test.cpp
tinygrox/Principia
49a25646c673dcd84cefbc6295df410fc6d927d5
[ "MIT" ]
92
2015-02-11T23:08:58.000Z
2022-03-21T03:35:37.000Z
 #include "geometry/barycentre_calculator.hpp" #include <vector> #include "geometry/frame.hpp" #include "geometry/grassmann.hpp" #include "gtest/gtest.h" #include "quantities/named_quantities.hpp" #include "quantities/quantities.hpp" #include "quantities/si.hpp" #include "testing_utilities/almost_equals.hpp" namesp...
30.051948
79
0.671997
tinygrox
d11a5f09e4d7dbc6725bf80f68773ecb9157fcac
555
hpp
C++
include/RED4ext/Types/generated/anim/PoseLink.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/anim/PoseLink.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/anim/PoseLink.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Handle.hpp> namespace RED4ext { namespace anim { struct AnimNode_Base; } namespace anim { struct PoseLink { static constexpr const char* NAME ...
21.346154
57
0.724324
Cyberpunk-Extended-Development-Team
d1206e83b62507b2425d11c2a415be73fe2dd32f
7,890
cc
C++
mysql-secret-store/windows-credential/windows_credential_helper.cc
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
119
2016-04-14T14:16:22.000Z
2022-03-08T20:24:38.000Z
mysql-secret-store/windows-credential/windows_credential_helper.cc
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
9
2017-04-26T20:48:42.000Z
2021-09-07T01:52:44.000Z
mysql-secret-store/windows-credential/windows_credential_helper.cc
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
51
2016-07-20T05:06:48.000Z
2022-03-09T01:20:53.000Z
/* * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2.0, * as published by the Free Software Foundation. * * This program is also distributed with...
35.701357
80
0.679341
mueller
d1234c0f804861dc40b643f7929a0fa018642dec
45,488
cpp
C++
3rdparty/dshowbase/src/gmf/sink.cpp
jpjodoin/litiv
435556bea20d60816aff492f50587b1a2d748b21
[ "BSD-3-Clause" ]
97
2015-10-16T04:32:33.000Z
2022-03-29T07:04:02.000Z
3rdparty/dshowbase/src/gmf/sink.cpp
jpjodoin/litiv
435556bea20d60816aff492f50587b1a2d748b21
[ "BSD-3-Clause" ]
19
2016-07-01T16:37:02.000Z
2020-09-10T06:09:39.000Z
3rdparty/dshowbase/src/gmf/sink.cpp
jpjodoin/litiv
435556bea20d60816aff492f50587b1a2d748b21
[ "BSD-3-Clause" ]
41
2015-11-17T05:59:23.000Z
2022-02-16T09:30:28.000Z
// // GDCL Multigraph Framework // // Sink.cpp: implementation of sink filter and input pin // // Copyright (c) GDCL 2004. All Rights Reserved. // You are free to re-use this as the basis for your own filter development, // provided you retain this copyright notice in the source. // http://www.gdcl.co.uk #pragma warni...
24.535059
108
0.615767
jpjodoin
d12692abfd69ac17723509f519c82bd2493f4c8a
2,387
cpp
C++
src/backend/runtime/loader/ShaderUtils.cpp
HenryJanson707/Ignis
f8a3769ecd0fe371993ff2c78e41bb0030d5caa8
[ "MIT" ]
6
2021-08-19T08:38:37.000Z
2022-01-26T20:29:24.000Z
src/backend/runtime/loader/ShaderUtils.cpp
HenryJanson707/Ignis
f8a3769ecd0fe371993ff2c78e41bb0030d5caa8
[ "MIT" ]
17
2021-09-30T19:41:47.000Z
2022-02-27T11:10:49.000Z
src/backend/runtime/loader/ShaderUtils.cpp
HenryJanson707/Ignis
f8a3769ecd0fe371993ff2c78e41bb0030d5caa8
[ "MIT" ]
2
2022-01-11T14:45:26.000Z
2022-01-24T15:38:39.000Z
#include "ShaderUtils.h" #include <cctype> #include <sstream> namespace IG { std::string ShaderUtils::constructDevice(Target target) { std::stringstream stream; switch (target) { case Target::AVX: stream << "let device = make_avx_device();"; break; case Target::AVX2: stream <<...
27.125
90
0.585672
HenryJanson707
d127db0bd8c6ffd0cb6bd85b78870b89b178f4c8
68,099
cxx
C++
test/7cursor_primary.cxx
PositiveTechnologies/libfpta
57aff3aa85739fd9dce6a0b44955204d44e3c3b4
[ "Apache-2.0" ]
33
2017-07-13T10:38:11.000Z
2022-02-22T08:05:06.000Z
test/7cursor_primary.cxx
PositiveTechnologies/libfpta
57aff3aa85739fd9dce6a0b44955204d44e3c3b4
[ "Apache-2.0" ]
2
2017-07-13T21:25:16.000Z
2020-07-09T23:14:27.000Z
test/7cursor_primary.cxx
PositiveTechnologies/libfpta
57aff3aa85739fd9dce6a0b44955204d44e3c3b4
[ "Apache-2.0" ]
8
2017-10-04T20:07:41.000Z
2021-05-15T16:39:18.000Z
/* * Fast Positive Tables (libfpta), aka Позитивные Таблицы. * Copyright 2016-2020 Leonid Yuriev <leo@yuriev.ru> * * 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://w...
44.480078
80
0.68092
PositiveTechnologies
d12a1fe9644f19b49ca1359b0d87c8bfa1113e41
2,608
cpp
C++
LeetCode/103_zig_zag_level_order_traversal.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
LeetCode/103_zig_zag_level_order_traversal.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
LeetCode/103_zig_zag_level_order_traversal.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <map> #include <algorithm> #include <unordered_map> #include <string> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; class Solution { struct stackst{ Tre...
25.076923
67
0.409893
tanishq1g
d1359829334d73316421b50e476485f93b7db421
12,315
cc
C++
cartographer/cloud/internal/map_builder_server.cc
sotnik-github/cartographer
73d18e5fc54bfa4e4e61fd7feb615b46834aa584
[ "Apache-2.0" ]
30
2017-08-12T21:44:47.000Z
2022-03-23T09:31:05.000Z
cartographer/cloud/internal/map_builder_server.cc
sotnik-github/cartographer
73d18e5fc54bfa4e4e61fd7feb615b46834aa584
[ "Apache-2.0" ]
17
2017-06-02T01:55:21.000Z
2022-03-02T01:52:58.000Z
cartographer/cloud/internal/map_builder_server.cc
sotnik-github/cartographer
73d18e5fc54bfa4e4e61fd7feb615b46834aa584
[ "Apache-2.0" ]
16
2018-04-12T18:35:59.000Z
2022-01-03T14:25:35.000Z
/* * Copyright 2017 The Cartographer Authors * * 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...
43.515901
91
0.769306
sotnik-github
d136bcc92eef1f38d6d9e2da9fedf38a8857c027
15,235
cpp
C++
src/qos/monitoring_manager.cpp
poseidonos/poseidonos
1d4a72c823739ef3eaf86e65c57d166ef8f18919
[ "BSD-3-Clause" ]
38
2021-04-06T03:20:55.000Z
2022-03-02T09:33:28.000Z
src/qos/monitoring_manager.cpp
gye-ul/poseidonos
bce8fe2cd1f36ede8647446ecc4cf8a9749e6918
[ "BSD-3-Clause" ]
19
2021-04-08T02:27:44.000Z
2022-03-23T00:59:04.000Z
src/qos/monitoring_manager.cpp
gye-ul/poseidonos
bce8fe2cd1f36ede8647446ecc4cf8a9749e6918
[ "BSD-3-Clause" ]
28
2021-04-08T04:39:18.000Z
2022-03-24T05:56:00.000Z
/* * BSD LICENSE * Copyright (c) 2021 Samsung Electronics Corporation * 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 th...
32.209302
166
0.536856
poseidonos
d13948567ec8186633fb1fed03ad17ae1bd1e8ef
5,708
cpp
C++
cpp/libs/src/opendnp3/app/IINField.cpp
spazzarama/opendnp3
44c06cb148d40ed150e539895b3fa951376e5f74
[ "Apache-2.0" ]
1
2020-05-07T16:31:30.000Z
2020-05-07T16:31:30.000Z
cpp/libs/src/opendnp3/app/IINField.cpp
spazzarama/opendnp3
44c06cb148d40ed150e539895b3fa951376e5f74
[ "Apache-2.0" ]
null
null
null
cpp/libs/src/opendnp3/app/IINField.cpp
spazzarama/opendnp3
44c06cb148d40ed150e539895b3fa951376e5f74
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2013-2019 Automatak, LLC * * Licensed to Green Energy Corp (www.greenenergycorp.com) and Automatak * LLC (www.automatak.com) under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. Green Energy Co...
28.118227
78
0.639103
spazzarama
d13bdf53ff8dd887f93782cf6bb21a3bd4777a0d
2,281
cpp
C++
media/libmediaplayerservice/DeathNotifier.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
null
null
null
media/libmediaplayerservice/DeathNotifier.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
null
null
null
media/libmediaplayerservice/DeathNotifier.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
2
2021-07-08T07:42:11.000Z
2021-07-09T21:56:10.000Z
/* * Copyright 2019 The Android Open Source Project * * 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 applica...
28.160494
78
0.698816
Dreadwyrm
d1450db63ed155abcf68d26d6c58e8d9d098fddc
124
cpp
C++
Source/FSD/Private/TerminatorAnimInstance.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
Source/FSD/Private/TerminatorAnimInstance.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
Source/FSD/Private/TerminatorAnimInstance.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
null
null
null
#include "TerminatorAnimInstance.h" UTerminatorAnimInstance::UTerminatorAnimInstance() { this->ForwardLean = 0.00f; }
17.714286
52
0.766129
trumank
d145ee7c85328ff055a3b40f3816d1740405559a
7,683
hpp
C++
lib/integral/Reference.hpp
aphenriques/integral
157b1e07905a88f7786d8823bde19a3546502912
[ "MIT" ]
40
2015-01-18T19:03:12.000Z
2022-03-06T19:16:16.000Z
lib/integral/Reference.hpp
aphenriques/integral
157b1e07905a88f7786d8823bde19a3546502912
[ "MIT" ]
7
2019-06-25T20:53:27.000Z
2021-01-16T14:14:52.000Z
lib/integral/Reference.hpp
aphenriques/integral
157b1e07905a88f7786d8823bde19a3546502912
[ "MIT" ]
7
2015-05-13T12:31:15.000Z
2019-07-23T20:22:50.000Z
// // Reference.hpp // integral // // MIT License // // Copyright (c) 2016, 2017, 2019, 2020, 2021 André Pereira Henriques (aphenriques (at) outlook (dot) com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to...
39
225
0.62814
aphenriques
d14653eac2adba68e611977c15d3f59715e95c84
3,139
hpp
C++
vcd.hpp
matteo-maria-tommasini/polar
276b45a081af1b0dd0853fcb5111f8da1514bd18
[ "Apache-2.0" ]
null
null
null
vcd.hpp
matteo-maria-tommasini/polar
276b45a081af1b0dd0853fcb5111f8da1514bd18
[ "Apache-2.0" ]
null
null
null
vcd.hpp
matteo-maria-tommasini/polar
276b45a081af1b0dd0853fcb5111f8da1514bd18
[ "Apache-2.0" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // // // polar v1.0 - August the 15th 2019 // // // ...
48.292308
104
0.431029
matteo-maria-tommasini
d14744eb77fb83cdd6be425381731e385d7c1450
25,583
cpp
C++
include/HGJPathSmooth/pathSmoother.cpp
imbaguanxin/cppAstar
3dc53c1581064fe70e2cb4642d0b6f9fc24b0e10
[ "MIT" ]
1
2021-12-09T13:32:23.000Z
2021-12-09T13:32:23.000Z
include/HGJPathSmooth/pathSmoother.cpp
imbaguanxin/cppAstar
3dc53c1581064fe70e2cb4642d0b6f9fc24b0e10
[ "MIT" ]
null
null
null
include/HGJPathSmooth/pathSmoother.cpp
imbaguanxin/cppAstar
3dc53c1581064fe70e2cb4642d0b6f9fc24b0e10
[ "MIT" ]
null
null
null
// // Created by stumbo on 18-11-5. // #include <ilcplex/ilocplex.h> #include "pathSmoother.h" #include "tools.h" #include "TurnPoint.h" #include <iostream> #include <cmath> #include <map> #include <set> using namespace std; HGJ::pathPlanner::pathPlanner() = default; const HGJ::WayPoints & HGJ::pathPlanner::genCur...
34.110667
96
0.580112
imbaguanxin
d14ba8938709afc49e46dc49efac3620599ec721
817
cpp
C++
DirectProgramming/DPC++/Jupyter/oneapi-essentials-training/08_DPCPP_Reduction/src/sum_single_task.cpp
yafshar/oneAPI-samples
592a2036e86e7083a05c0d6a1613fb826adf9a60
[ "MIT" ]
null
null
null
DirectProgramming/DPC++/Jupyter/oneapi-essentials-training/08_DPCPP_Reduction/src/sum_single_task.cpp
yafshar/oneAPI-samples
592a2036e86e7083a05c0d6a1613fb826adf9a60
[ "MIT" ]
null
null
null
DirectProgramming/DPC++/Jupyter/oneapi-essentials-training/08_DPCPP_Reduction/src/sum_single_task.cpp
yafshar/oneAPI-samples
592a2036e86e7083a05c0d6a1613fb826adf9a60
[ "MIT" ]
null
null
null
//============================================================== // Copyright © Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <CL/sycl.hpp> using namespace sycl; static constexpr size_t N = 1024; // global size int main() { //# setup q...
23.342857
84
0.47858
yafshar
d14c345bdd8aac1022127a4a00023565aeb2def9
1,434
hpp
C++
src/game/intro_screen.hpp
lowkey42/BanishedBlaze
71e66f444a84bea1eca3639de3f3ff1f79e385d1
[ "MIT" ]
null
null
null
src/game/intro_screen.hpp
lowkey42/BanishedBlaze
71e66f444a84bea1eca3639de3f3ff1f79e385d1
[ "MIT" ]
null
null
null
src/game/intro_screen.hpp
lowkey42/BanishedBlaze
71e66f444a84bea1eca3639de3f3ff1f79e385d1
[ "MIT" ]
null
null
null
/** The intro screen that is shown when launching the game ******************* * * * Copyright (c) 2014 Florian Oetke * * This file is distributed under the MIT License * * ...
29.875
79
0.584379
lowkey42
d14c9fd13fc189e0c23007aa42ce17fe3ed35ca6
24,731
cpp
C++
arch/common/dbt/mc/x86/reverse-allocator.cpp
tspink/captive
9db853df410e06ddb6384dc5e319b92f90483065
[ "MIT" ]
24
2017-01-02T18:46:34.000Z
2022-01-10T09:37:58.000Z
arch/common/dbt/mc/x86/reverse-allocator.cpp
tspink/captive
9db853df410e06ddb6384dc5e319b92f90483065
[ "MIT" ]
4
2019-09-19T17:48:03.000Z
2020-09-17T11:01:29.000Z
arch/common/dbt/mc/x86/reverse-allocator.cpp
tspink/captive
9db853df410e06ddb6384dc5e319b92f90483065
[ "MIT" ]
8
2017-04-28T04:53:42.000Z
2022-01-10T10:11:29.000Z
/* SPDX-License-Identifier: MIT */ #include <dbt/mc/x86/reverse-allocator.h> #include <dbt/mc/x86/formatter.h> #include <dbt/util/list.h> //#define PDEBUG #define VERIFY #define SUPPORT_VOLATILE #define CLEVER_ALLOCATION_STRATEGY using namespace captive::arch::dbt::mc::x86; using namespace captive::arch::dbt::util; ...
29.868357
186
0.696009
tspink
d14f7e52a0543a55f8a96b7b4a6b8b9fe2130192
2,630
cpp
C++
examples/ga_binary.cpp
kogyblack/ime_machinelearning
10b9e9f40b3d0d8cee63d0f19fcf4cd8c429816e
[ "Zlib", "MIT" ]
1
2018-01-20T15:36:30.000Z
2018-01-20T15:36:30.000Z
examples/ga_binary.cpp
kogyblack/ime_machinelearning
10b9e9f40b3d0d8cee63d0f19fcf4cd8c429816e
[ "Zlib", "MIT" ]
null
null
null
examples/ga_binary.cpp
kogyblack/ime_machinelearning
10b9e9f40b3d0d8cee63d0f19fcf4cd8c429816e
[ "Zlib", "MIT" ]
null
null
null
#include <stack> #include <cmath> #include "geneticalgorithm/binarygenome.h" #include "geneticalgorithm/genalg.h" int genomeValue(const ga::BinaryGenome& genome) { auto decoded = genome.decode(4); std::stack<int> values; for (unsigned i = 0; i < decoded.size(); ++i) { unsigned d = decoded[i]; if (d <=...
23.693694
120
0.564259
kogyblack
d15013344bce2531ca9d4090bd948f167799be63
506
hpp
C++
src/timer.hpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
1
2021-12-23T21:14:37.000Z
2021-12-23T21:14:37.000Z
src/timer.hpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
null
null
null
src/timer.hpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
null
null
null
#ifndef TIMER_HPP #define TIMER_HPP class Timer { public: Timer(float sampleRate) : _ticks(0), _seconds(0.0), _sampleRate(sampleRate) {} float seconds() const { return _seconds; } unsigned long int ticks() const { return _ticks; } void update(const float &sampleRate) { _seconds = _...
14.457143
40
0.662055
aalin
d150b010adb13aa653b2eed74a47dec01ee5e66f
6,350
cpp
C++
engine/src/io/data_parser/ParquetParser.cpp
romulo-auccapuclla/blazingsql
c85429479cabc0907212e880d590441f25eb3b59
[ "Apache-2.0" ]
null
null
null
engine/src/io/data_parser/ParquetParser.cpp
romulo-auccapuclla/blazingsql
c85429479cabc0907212e880d590441f25eb3b59
[ "Apache-2.0" ]
null
null
null
engine/src/io/data_parser/ParquetParser.cpp
romulo-auccapuclla/blazingsql
c85429479cabc0907212e880d590441f25eb3b59
[ "Apache-2.0" ]
null
null
null
#include "metadata/parquet_metadata.h" #include "ParquetParser.h" #include "config/GPUManager.cuh" #include <blazingdb/io/Util/StringUtil.h> #include "utilities/CommonOperations.h" #include <algorithm> #include <string> #include <unordered_map> #include <vector> #include <memory> #include <algorithm> #include <numer...
32.397959
214
0.727559
romulo-auccapuclla
d1535016c4930684a9f9465fa42c728de581711b
1,610
cpp
C++
third party/openRTMFP-Cumulus/CumulusServer/sources/LUAAMFObjectWriter.cpp
Patrick-Bay/SocialCastr
888a57ca63037e566f6c0bf03a646ae91b484086
[ "MIT" ]
5
2015-04-30T09:08:30.000Z
2018-08-13T05:00:39.000Z
third party/openRTMFP-Cumulus/CumulusServer/sources/LUAAMFObjectWriter.cpp
Patrick-Bay/SocialCastr
888a57ca63037e566f6c0bf03a646ae91b484086
[ "MIT" ]
null
null
null
third party/openRTMFP-Cumulus/CumulusServer/sources/LUAAMFObjectWriter.cpp
Patrick-Bay/SocialCastr
888a57ca63037e566f6c0bf03a646ae91b484086
[ "MIT" ]
null
null
null
/* Copyright 2010 OpenRTMFP This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in...
32.2
72
0.775155
Patrick-Bay
d15453998041f2878223732791326256ad0c9b78
4,764
cpp
C++
core/sql/common/NAError.cpp
anoopsharma00/incubator-trafodion
b109e2cf5883f8e763af853ab6fad7ce7110d9e8
[ "Apache-2.0" ]
null
null
null
core/sql/common/NAError.cpp
anoopsharma00/incubator-trafodion
b109e2cf5883f8e763af853ab6fad7ce7110d9e8
[ "Apache-2.0" ]
null
null
null
core/sql/common/NAError.cpp
anoopsharma00/incubator-trafodion
b109e2cf5883f8e763af853ab6fad7ce7110d9e8
[ "Apache-2.0" ]
null
null
null
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
28.872727
74
0.581024
anoopsharma00
d1558c651a06df869cc51ac3f987ce1671993103
3,907
cpp
C++
src/Utility/SharedStringBuilder.cpp
cpv-project/cpv-framework
b0da79c8c57ceecb6b13f4d8658ec4d4c0237668
[ "MIT" ]
86
2018-04-20T04:40:20.000Z
2022-02-09T08:36:28.000Z
src/Utility/SharedStringBuilder.cpp
cpv-project/cpv-framework
b0da79c8c57ceecb6b13f4d8658ec4d4c0237668
[ "MIT" ]
16
2018-04-25T09:34:40.000Z
2020-10-16T03:55:05.000Z
src/Utility/SharedStringBuilder.cpp
cpv-project/cpv-framework
b0da79c8c57ceecb6b13f4d8658ec4d4c0237668
[ "MIT" ]
10
2019-10-07T08:06:15.000Z
2021-07-26T18:46:11.000Z
#include <CPVFramework/Utility/SharedStringBuilder.hpp> namespace cpv { namespace { /** Get max string size of integer, doesn't include zero terminator */ template <class IntType> constexpr std::size_t getMaxStringSize(std::size_t base) { IntType max = std::numeric_limits<IntType>::max(); std::size_t resu...
32.02459
85
0.668288
cpv-project
d15807a15a00ed306d3cfdacc35322432ec8ab60
2,078
cpp
C++
SOLVER/src/core/point/WindowSum.cpp
chaindl/AxiSEM-3D
0251f301c79c676fb37792209d6e24f107773b3d
[ "MIT" ]
null
null
null
SOLVER/src/core/point/WindowSum.cpp
chaindl/AxiSEM-3D
0251f301c79c676fb37792209d6e24f107773b3d
[ "MIT" ]
null
null
null
SOLVER/src/core/point/WindowSum.cpp
chaindl/AxiSEM-3D
0251f301c79c676fb37792209d6e24f107773b3d
[ "MIT" ]
null
null
null
#include "WindowSum.hpp" template <> void SFWindowSum<3>::feedComm(eigen::CColX &buffer, int &row) const { if (mStiffR.rows() > 0) { buffer.block(row, 0, mStiffR.size(), 1).real() = Eigen::Map<const eigen::RColX>(mStiffR.data(), mStiffR.size()); row +=...
34.633333
93
0.554379
chaindl
d15a8768711a61becc7a77f2558bcb80db3f4182
4,552
cpp
C++
admin/dcpromo/exe/welcomepage.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/dcpromo/exe/welcomepage.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/dcpromo/exe/welcomepage.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// Copyright (C) 1997 Microsoft Corporation // // welcome page // // 12-15-97 sburns #include "headers.hxx" #include "page.hpp" #include "WelcomePage.hpp" #include "resource.h" #include "common.hpp" #include "state.hpp" WelcomePage::WelcomePage() : DCPromoWizardPage( IDD_WELCOME, ...
19.536481
75
0.514719
npocmaka
d15b1074ba6c87946d8d14a2100e696fee3a6348
294
cpp
C++
test/test-Analyzer_LockedCandidates.cpp
jambolo/Sudoku
786499bfd6a8c948e91a1cfff7d65d38330b9efb
[ "MIT" ]
1
2021-12-24T07:29:41.000Z
2021-12-24T07:29:41.000Z
test/test-Analyzer_LockedCandidates.cpp
jambolo/Sudoku
786499bfd6a8c948e91a1cfff7d65d38330b9efb
[ "MIT" ]
1
2021-12-24T07:45:37.000Z
2021-12-24T08:40:57.000Z
test/test-Analyzer_LockedCandidates.cpp
jambolo/Sudoku
786499bfd6a8c948e91a1cfff7d65d38330b9efb
[ "MIT" ]
null
null
null
#include "Analyzer/LockedCandidates.h" #include <gtest/gtest.h> TEST(LockedCandidates, DISABLED_LockedCandidates) { } TEST(LockedCandidates, DISABLED_exists) { } int main(int argc, char ** argv) { ::testing::InitGoogleTest(&argc, argv); int rv = RUN_ALL_TESTS(); return rv; }
14
49
0.704082
jambolo
d15d5ee4bd3d6f47018a1baeec9d137dd46b1057
660
cpp
C++
cpp/0_check/johnstonc_programmingtoday_sourcecode/chapter04_pointers/ch4_knickknack/ch4knickknack.cpp
shadialameddin/numerical_tools_and_friends
cc9f10f58886ee286ed89080e38ebd303d3c72a5
[ "Unlicense" ]
null
null
null
cpp/0_check/johnstonc_programmingtoday_sourcecode/chapter04_pointers/ch4_knickknack/ch4knickknack.cpp
shadialameddin/numerical_tools_and_friends
cc9f10f58886ee286ed89080e38ebd303d3c72a5
[ "Unlicense" ]
null
null
null
cpp/0_check/johnstonc_programmingtoday_sourcecode/chapter04_pointers/ch4_knickknack/ch4knickknack.cpp
shadialameddin/numerical_tools_and_friends
cc9f10f58886ee286ed89080e38ebd303d3c72a5
[ "Unlicense" ]
null
null
null
//Program 4-8 Knick-knack Program with pointers and switch #include <iostream.h> int main() { int number; int *num_ptr; num_ptr = &number; cout << "\n Please enter an integer for knick-knacking "; cin >> *num_ptr; cout << "\n\n He played knick-knack "; switch(number) // the number was ...
18.857143
63
0.568182
shadialameddin
d15f7eecddc206fa641d73c5320031e79717531c
547
cpp
C++
tests/swap.cpp
clayne/tight_pair
1ba432f8130ee24698486569bb66f31b04d448e5
[ "MIT" ]
20
2017-10-19T23:30:52.000Z
2021-12-23T06:00:21.000Z
tests/swap.cpp
clayne/tight_pair
1ba432f8130ee24698486569bb66f31b04d448e5
[ "MIT" ]
15
2018-12-05T03:46:53.000Z
2021-09-11T11:36:29.000Z
tests/swap.cpp
clayne/tight_pair
1ba432f8130ee24698486569bb66f31b04d448e5
[ "MIT" ]
4
2018-12-06T02:33:00.000Z
2020-08-01T05:35:34.000Z
/* * Copyright (c) 2021 Morwenn * SPDX-License-Identifier: MIT */ #include <catch2/catch.hpp> #include <tight_pair.h> constexpr auto test_swap() -> bool { cruft::tight_pair<int, bool> p1(5, false); cruft::tight_pair<int, bool> p2(8, true); swap(p1, p2); using cruft::get; return get<0>(p1) =...
19.535714
46
0.572212
clayne
d16159ddf927a131b32b868753e0ed0698116d6e
903
cpp
C++
080_RemoveDuplicatesFromSortedArrayII.cpp
kun2012/Leetcode
fa6bbe3f559176911ebb12c9b911b969c6ec85fb
[ "MIT" ]
null
null
null
080_RemoveDuplicatesFromSortedArrayII.cpp
kun2012/Leetcode
fa6bbe3f559176911ebb12c9b911b969c6ec85fb
[ "MIT" ]
null
null
null
080_RemoveDuplicatesFromSortedArrayII.cpp
kun2012/Leetcode
fa6bbe3f559176911ebb12c9b911b969c6ec85fb
[ "MIT" ]
null
null
null
/**************************************************************** Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For example, Given sorted array nums = [1,1,1,2,2,3], Your function should return length = 5, with the first five elements of nums being 1, 1, 2, 2 and 3. It doesn't matter...
33.444444
101
0.409745
kun2012
d16300ef66e4364be4bbf24581079cd33a91b6a7
793
cpp
C++
source/ArchLab.cpp
xzrunner/cgaview
559899f0f9bcb1186e41b4108388ee2c69008966
[ "MIT" ]
null
null
null
source/ArchLab.cpp
xzrunner/cgaview
559899f0f9bcb1186e41b4108388ee2c69008966
[ "MIT" ]
null
null
null
source/ArchLab.cpp
xzrunner/cgaview
559899f0f9bcb1186e41b4108388ee2c69008966
[ "MIT" ]
null
null
null
#include "archlab/ArchLab.h" #include "archlab/PinCallback.h" #include "archlab/Node.h" #include <blueprint/NodeBuilder.h> #include <blueprint/node/Commentary.h> #include <archgraph/ArchGraph.h> namespace archlab { CU_SINGLETON_DEFINITION(ArchLab); extern void regist_rttr(); ArchLab::ArchLab() { archgraph::ArchG...
16.87234
64
0.69483
xzrunner
d1645b4bb2b5a8fb2e7e02e3580d47db9ff27bfa
1,781
cc
C++
UVa Online Judge/v116/11692.cc
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
1
2021-12-08T08:58:43.000Z
2021-12-08T08:58:43.000Z
UVa Online Judge/v116/11692.cc
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
null
null
null
UVa Online Judge/v116/11692.cc
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
null
null
null
/*============================================================================= # Author: Teerapat Jenrungrot - https://github.com/mjenrungrot/ # FileName: 11692.cc # Description: UVa Online Judge - 11692 =============================================================================*/ #include <al...
29.196721
79
0.468276
mjenrungrot
d165203a3c66bbf57320802c6a7a6c7c56655d07
8,527
cpp
C++
multimedia/dshow/tools/graphedt/graphedt/reconfig.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
multimedia/dshow/tools/graphedt/graphedt/reconfig.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
multimedia/dshow/tools/graphedt/graphedt/reconfig.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "stdafx.h" #include "ReConfig.h" /****************************************************************************** Internal Constants ******************************************************************************/ static const DWORD RECONFIGURE_NO_FLAGS = 0; static const HANDLE RECONFIGURE_NO_ABORT_E...
33.439216
112
0.56456
npocmaka
d16821bba6dda4b93696f1adcbfaf6ee8ea6b9d4
272
cpp
C++
engine/src/awesome/editor/window.cpp
vitodtagliente/AwesomeEngine
eff06dbad1c4a168437f69800629a7e20619051c
[ "MIT" ]
3
2019-08-15T18:57:20.000Z
2020-01-09T22:19:26.000Z
engine/src/awesome/editor/window.cpp
vitodtagliente/AwesomeEngine
eff06dbad1c4a168437f69800629a7e20619051c
[ "MIT" ]
null
null
null
engine/src/awesome/editor/window.cpp
vitodtagliente/AwesomeEngine
eff06dbad1c4a168437f69800629a7e20619051c
[ "MIT" ]
null
null
null
#include "window.h" namespace editor { std::string Window::getTitle() const { return getTypeDescriptor().name; } void Window::setFocus(bool focus) { if (m_hasFocus != focus) { m_hasFocus = focus; onFocusChange(m_hasFocus); } } REFLECT_IMP(Window) }
13.6
37
0.672794
vitodtagliente
d16c86a8cf322fb3cd7c0b217cf19749928ea075
4,381
hpp
C++
src/file_raw.hpp
liquidum-network/chiapos
899be669838fbe59307e37be52fdb94ecb1f121f
[ "Apache-2.0" ]
2
2021-07-15T02:32:07.000Z
2021-07-19T19:43:40.000Z
src/file_raw.hpp
liquidum-network/chiapos
899be669838fbe59307e37be52fdb94ecb1f121f
[ "Apache-2.0" ]
null
null
null
src/file_raw.hpp
liquidum-network/chiapos
899be669838fbe59307e37be52fdb94ecb1f121f
[ "Apache-2.0" ]
1
2021-07-14T20:29:32.000Z
2021-07-14T20:29:32.000Z
#ifndef SRC_CPP_FILE_RAW_HPP_ #define SRC_CPP_FILE_RAW_HPP_ #include <fcntl.h> #include <fmt/core.h> #include <sys/stat.h> #include <unistd.h> #include <filesystem> #include "logging.hpp" #include "logging_helpers.hpp" #include "storage.hpp" class FileRaw { public: static FileRaw Create(const std::filesystem::p...
27.904459
93
0.584341
liquidum-network
d16e0521039cde6e4dbc62deeb2dfc0d6c5d5db9
1,165
cpp
C++
ydb/ydb_op.cpp
allenporter/thebends
5e35c7e654e5260b37218e59b02fb0b1a5cb2eca
[ "Apache-2.0" ]
4
2015-07-27T04:05:50.000Z
2021-01-28T21:56:09.000Z
ydb/ydb_op.cpp
allenporter/thebends
5e35c7e654e5260b37218e59b02fb0b1a5cb2eca
[ "Apache-2.0" ]
null
null
null
ydb/ydb_op.cpp
allenporter/thebends
5e35c7e654e5260b37218e59b02fb0b1a5cb2eca
[ "Apache-2.0" ]
null
null
null
// ydb_op.cpp // Author: Allen Porter <allen@thebends.org> #include <map> #include "ydb_lock.h" #include "ydb_map.h" #include "ydb_op.h" Ydb_ReadOp::Ydb_ReadOp(const string& key, string* retval) : Ydb_Op(READLOCK, key), retval_(retval) { } Ydb_RetCode Ydb_ReadOp::Execute(Ydb_Map& map) { if (map.Get(key_, retval_...
19.416667
64
0.677253
allenporter
d16e2fefb99254082c332e8adb0de08f2fc4c416
5,066
hpp
C++
firmware/library/L2_Utilities/enum.hpp
Jeremy-Chau/SJSU-Dev2
b3c0b008f9f19a12fe70d319760459b4b2111003
[ "Apache-2.0" ]
2
2020-07-04T18:19:57.000Z
2020-07-04T18:20:44.000Z
firmware/library/L2_Utilities/enum.hpp
hangbogu/SJSU-Dev2
38c9e993aa869c4b29abed470d7fd8affae0e655
[ "Apache-2.0" ]
null
null
null
firmware/library/L2_Utilities/enum.hpp
hangbogu/SJSU-Dev2
38c9e993aa869c4b29abed470d7fd8affae0e655
[ "Apache-2.0" ]
2
2018-07-27T20:48:40.000Z
2018-08-02T21:32:05.000Z
// Enum.hpp includes enhancements to the "enum class" types. #pragma once #include <type_traits> namespace util { // Returns the value of the enum class. This should be used in place of // static_cast<some_numeric_type>(some_variable). // // @example // // enum class SomeType : uint32_t { kValue1 = 1, kValue2 = ...
38.378788
80
0.666601
Jeremy-Chau
d16eb6255da80f6b14890dccdf9c75c50c8e2430
3,427
cpp
C++
Code/WSTrainingTJM/FrmTXTRead/CopyPastMod.m/src/CopyPasteDlg.cpp
msdos41/CATIA_CAA_V5
bf831f7ecc3c4937b227782ee8bebf7c6675792a
[ "MIT" ]
5
2019-11-14T05:42:38.000Z
2022-03-12T12:51:46.000Z
Code/WSTrainingTJM/FrmTXTRead/CopyPastMod.m/src/CopyPasteDlg.cpp
msdos41/CATIA_CAA_V5
bf831f7ecc3c4937b227782ee8bebf7c6675792a
[ "MIT" ]
null
null
null
Code/WSTrainingTJM/FrmTXTRead/CopyPastMod.m/src/CopyPasteDlg.cpp
msdos41/CATIA_CAA_V5
bf831f7ecc3c4937b227782ee8bebf7c6675792a
[ "MIT" ]
4
2020-01-02T13:48:07.000Z
2022-01-05T04:23:30.000Z
// COPYRIGHT Dassault Systemes 2018 //=================================================================== // // CopyPasteDlg.cpp // The dialog : CopyPasteDlg // //=================================================================== // // Usage notes: // //=================================================================...
33.271845
78
0.618909
msdos41
d16efddb5721e6fe9a8b58c63e72550a1dead48e
903
hpp
C++
include/mbgl/util/peer.hpp
RobertSasak/mapbox-gl-native
dabf5d0c3a76f9fbe8b866f64f51accf12d1a2a6
[ "BSL-1.0", "Apache-2.0" ]
2
2019-04-18T21:25:22.000Z
2019-04-18T21:25:24.000Z
include/mbgl/util/peer.hpp
RobertSasak/mapbox-gl-native
dabf5d0c3a76f9fbe8b866f64f51accf12d1a2a6
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
include/mbgl/util/peer.hpp
RobertSasak/mapbox-gl-native
dabf5d0c3a76f9fbe8b866f64f51accf12d1a2a6
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
#pragma once #include <memory> #include <type_traits> #include <utility> namespace mbgl { namespace util { class peer { public: peer() noexcept : storage(nullptr, noop_deleter) {} template <class T> peer(T&& value) noexcept : storage(new std::decay_t<T>(std::forward<T>(value)), cast_deleter<std::decay_t...
25.8
116
0.669989
RobertSasak
d16f2e4a6b9b55257c7b2be372e66cbf58f8c2a1
352
inl
C++
src/Core/Mesh/DCEL/Face.inl
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
src/Core/Mesh/DCEL/Face.inl
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
src/Core/Mesh/DCEL/Face.inl
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
#include <Core/Mesh/DCEL/Face.hpp> #include <Core/Mesh/DCEL/HalfEdge.hpp> namespace Ra { namespace Core { /// HALFEDGE inline HalfEdge_ptr Face::HE() const { return m_he; } inline HalfEdge_ptr& Face::HE() { return m_he; } inline void Face::setHE( const HalfEdge_ptr& he ) { m_he = he; } } // na...
11
51
0.650568
nmellado
d172484997a149287ef3b0867e5fdaae0201fd65
4,512
cpp
C++
Lab3.cpp
mikeandino/Lab3_P3_MichaelAndino
a0d2516e725d07c4b01036e4de7dd0653f02c2b7
[ "MIT" ]
null
null
null
Lab3.cpp
mikeandino/Lab3_P3_MichaelAndino
a0d2516e725d07c4b01036e4de7dd0653f02c2b7
[ "MIT" ]
null
null
null
Lab3.cpp
mikeandino/Lab3_P3_MichaelAndino
a0d2516e725d07c4b01036e4de7dd0653f02c2b7
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <stdlib.h> using namespace std; int main(); bool menu(); void ruffini(); void fechas(); int*** crearMatriz(int); void limpiarMatriz(int***, int); void imprimirMatriz(int***,int,int); string calculofechas(int,int,int,int); int main(){ while(menu(...
21.084112
78
0.55164
mikeandino
d17295593fe5c854f7eaf8f3aeaf63a926d402b5
4,076
inl
C++
include/gum/vec/vec.inl
johannes-braun/gum
7f0cd74f0e4f8b6d9ffaf3312d24d0c720f6340a
[ "MIT" ]
null
null
null
include/gum/vec/vec.inl
johannes-braun/gum
7f0cd74f0e4f8b6d9ffaf3312d24d0c720f6340a
[ "MIT" ]
null
null
null
include/gum/vec/vec.inl
johannes-braun/gum
7f0cd74f0e4f8b6d9ffaf3312d24d0c720f6340a
[ "MIT" ]
null
null
null
#pragma once namespace gfx { inline namespace v1 { template<typename T, size_t S> template<std::size_t... Is> constexpr vec<T, S>::vec(std::index_sequence<Is...>, T&& value) noexcept : detail::vec_components<T, S>{(static_cast<void>(Is), value)...} {} template<typename T, size_t S> template<typename X, size_t D, std:...
31.114504
138
0.694553
johannes-braun
ab6e952cc54e52f391b08bc6f2354ffcaf3e25b3
1,147
cpp
C++
c++/NVIDIA/mutex.cpp
praveenpandit/programming
ee07b19d495f363297b5cc80d0b0a51b02cd964d
[ "MIT" ]
null
null
null
c++/NVIDIA/mutex.cpp
praveenpandit/programming
ee07b19d495f363297b5cc80d0b0a51b02cd964d
[ "MIT" ]
null
null
null
c++/NVIDIA/mutex.cpp
praveenpandit/programming
ee07b19d495f363297b5cc80d0b0a51b02cd964d
[ "MIT" ]
null
null
null
#include <iostream> #include <thread> #include <mutex> #include <condition_variable> using namespace std; void func(mutex &mx) { { lock_guard<mutex> lock(mx); cout << "Inside Thread :: " << this_thread::get_id() << endl; this_thread::sleep_for(chrono::seconds(4)); } } // bool run = tr...
23.408163
73
0.580645
praveenpandit
ab6f7ff2353ce86689413975f0d1e2a1fea6f50a
4,120
cpp
C++
src/example_all_pointers.cpp
vreverdy/type-utilities
510b558d30962973b983fd1d67bd8412dabf2fd5
[ "BSD-3-Clause" ]
5
2018-05-17T01:56:44.000Z
2021-03-13T11:53:24.000Z
src/example_all_pointers.cpp
vreverdy/type-utilities
510b558d30962973b983fd1d67bd8412dabf2fd5
[ "BSD-3-Clause" ]
2
2018-06-02T03:07:36.000Z
2018-08-03T21:36:53.000Z
src/example_all_pointers.cpp
vreverdy/type-utilities
510b558d30962973b983fd1d67bd8412dabf2fd5
[ "BSD-3-Clause" ]
null
null
null
// ========================== EXAMPLE ALL POINTERS ========================== // // Project: Type Utilities // Name: example_all_pointers.cpp // Description: Use cases for [remove/copy/clone]_all_pointers // Creator: Vincent Reverdy // Contributor(s): Vincent Reverdy [2018] // License: ...
33.495935
80
0.499272
vreverdy
ab7237df493381f35ef1107825da479322bc5814
2,646
hpp
C++
src/reyes/AddSymbolHelper.hpp
cwbaker/reyes
76bd5ed7fde8be2c771536a73234e3a12b3cd6f7
[ "MIT" ]
9
2019-01-10T21:37:24.000Z
2021-05-26T23:59:05.000Z
src/reyes/AddSymbolHelper.hpp
cwbaker/reyes
76bd5ed7fde8be2c771536a73234e3a12b3cd6f7
[ "MIT" ]
null
null
null
src/reyes/AddSymbolHelper.hpp
cwbaker/reyes
76bd5ed7fde8be2c771536a73234e3a12b3cd6f7
[ "MIT" ]
1
2018-09-05T01:40:09.000Z
2018-09-05T01:40:09.000Z
#ifndef REYES_ADDSYMBOLHELPER_HPP_INCLUDED #define REYES_ADDSYMBOLHELPER_HPP_INCLUDED #include "ValueType.hpp" #include "ValueStorage.hpp" #include <vector> #include <memory> namespace reyes { class Grid; class Symbol; class Value; class Renderer; class SymbolTable; /** // Syntax helper to provide...
60.136364
325
0.741497
cwbaker
ab741b97af0ac3b1b1b9dc805af4061dd1318a2f
5,396
cc
C++
device/udev_linux/udev1_loader.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-11-28T10:46:52.000Z
2019-11-28T10:46:52.000Z
device/udev_linux/udev1_loader.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
device/udev_linux/udev1_loader.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-27T11:15:39.000Z
2016-08-17T14:19:56.000Z
// Copyright 2014 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 "device/udev_linux/udev1_loader.h" #include "library_loaders/libudev1.h" namespace device { Udev1Loader::Udev1Loader() { } Udev1Loader::~Udev...
32.506024
80
0.744996
kjthegod
ab7732b7d370e272b69a32289605ea4001fe7b6e
31,194
cpp
C++
elftosb2/ElftosbAST.cpp
eewiki/elftosb
16d0f290f6ae20c646d9cdbf4724237a416a4a18
[ "BSD-3-Clause" ]
2
2017-12-09T15:26:37.000Z
2021-07-03T13:45:28.000Z
elftosb2/ElftosbAST.cpp
eewiki/elftosb
16d0f290f6ae20c646d9cdbf4724237a416a4a18
[ "BSD-3-Clause" ]
1
2019-12-04T20:03:25.000Z
2019-12-04T22:51:51.000Z
elftosb2/ElftosbAST.cpp
eewiki/elftosb
16d0f290f6ae20c646d9cdbf4724237a416a4a18
[ "BSD-3-Clause" ]
5
2015-05-15T14:41:14.000Z
2018-11-08T14:13:33.000Z
/* * File: ElftosbAST.cpp * * Copyright (c) Freescale Semiconductor, Inc. All rights reserved. * See included license file for license details. */ #include "ElftosbAST.h" #include <stdexcept> #include <math.h> #include <assert.h> #include "ElftosbErrors.h" #include "format_string.h" using namespace elftosb; #pr...
23.055432
147
0.704046
eewiki
ab7962bec0dcc9793a9c4f0efce9e4fe650472ac
780
cpp
C++
events/gamepad_button_up_event.cpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
events/gamepad_button_up_event.cpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
events/gamepad_button_up_event.cpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
/** * * gamepad_button_up_event.cpp * **/ #include"gamepad_button_up_event.hpp" #include<sdl.h> #include<cmath> namespace aab { namespace events{ GamepadButtonUpEvent::GamepadButtonUpEvent (InternalEvent internalEvent) : Event (getClassEventType ()) { SDL_Event * event = static_cast <SDL_Event *>...
15.6
104
0.682051
MrTAB
ab79f13cc8f1473c2074e26fe6d2ff83e4c33844
3,777
cpp
C++
QHTML_Static/qhtm/HTMLImage.cpp
karolbe/DSS
5a834561fbe7345d0be36f41ed8620ebbdb2f222
[ "BSD-3-Clause" ]
null
null
null
QHTML_Static/qhtm/HTMLImage.cpp
karolbe/DSS
5a834561fbe7345d0be36f41ed8620ebbdb2f222
[ "BSD-3-Clause" ]
null
null
null
QHTML_Static/qhtm/HTMLImage.cpp
karolbe/DSS
5a834561fbe7345d0be36f41ed8620ebbdb2f222
[ "BSD-3-Clause" ]
1
2020-06-28T19:21:22.000Z
2020-06-28T19:21:22.000Z
/*---------------------------------------------------------------------- Copyright (c) 1998 Gipsysoft. All Rights Reserved. Please see the file "licence.txt" for licencing details. File: HTMLImage.cpp Owner: russf@gipsysoft.com Purpose: HTML Image object ----------------------------------------------------------------...
24.367742
159
0.664019
karolbe
ab82d063b854806f86cda0b52643df818c412182
1,479
cpp
C++
Jarawi/sol.cpp
papachristoumarios/IEEEXtreme11.0
4c3b5aaa71641a6d0b3e9823c4738050f2553b27
[ "MIT" ]
13
2018-10-11T14:13:56.000Z
2022-02-17T18:30:17.000Z
Jarawi/sol.cpp
papachristoumarios/IEEEXtreme11.0-PComplete
4c3b5aaa71641a6d0b3e9823c4738050f2553b27
[ "MIT" ]
null
null
null
Jarawi/sol.cpp
papachristoumarios/IEEEXtreme11.0-PComplete
4c3b5aaa71641a6d0b3e9823c4738050f2553b27
[ "MIT" ]
7
2018-10-24T08:36:59.000Z
2021-07-19T18:16:53.000Z
#include <cstdio> #include <cstring> #include <map> #include <vector> using namespace std; map<int, vector<int> > letter_bucket; char p[110]; bool check_suffix(char *p) { int length = strlen(p); int pointer = -1; for(int i = 0; i < length; i++) { if(('a' > p[i]) or ('z' < p[i])) conti...
21.434783
48
0.443543
papachristoumarios
ab834a86dd9e35e1876ba79edde3f1ba4f4ad0f7
7,265
cpp
C++
Common/Foundation/System/StreamParser.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
2
2017-04-19T01:38:30.000Z
2020-07-31T03:05:32.000Z
Common/Foundation/System/StreamParser.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
null
null
null
Common/Foundation/System/StreamParser.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
1
2021-12-29T10:46:12.000Z
2021-12-29T10:46:12.000Z
// // Copyright (C) 2004-2011 by Autodesk, Inc. // // This library is free software; you can redistribute it and/or // modify it under the terms of version 2.1 of the GNU Lesser // General Public License as published by the Free Software Foundation. // // This library is distributed in the hope that it will be use...
30.145228
101
0.585134
achilex
ab87d68707660a170dc7ba065ec3dbc4c2f401e9
3,267
cpp
C++
src/Particle.cpp
jildertviet/ofxJVisuals
878c5b0e7a7dda49ddb71b3f5d19c13987706a73
[ "MIT" ]
null
null
null
src/Particle.cpp
jildertviet/ofxJVisuals
878c5b0e7a7dda49ddb71b3f5d19c13987706a73
[ "MIT" ]
6
2021-10-16T07:10:04.000Z
2021-12-26T13:23:54.000Z
src/Particle.cpp
jildertviet/ofxJVisuals
878c5b0e7a7dda49ddb71b3f5d19c13987706a73
[ "MIT" ]
null
null
null
// // Particle.cpp // Shapes // // Created by Jildert Viet on 18-02-15. // // #include "Particle.h" Particle::Particle(){ } Particle::Particle(ofVec3f *destination, bool startAtDest){ this->destination = destination; if(startAtDest){ loc = ofVec2f(ofRandom(ofGetWindowWidth(...
24.380597
98
0.486073
jildertviet
ab8b5c301835727578c7c6061e32396e5d47135b
847
cpp
C++
Clion_Code/Hash/Permutation.cpp
jbapple/Pocket_Dictionary
445e4d6cf8b9f13388fb2f2b66438330a40c02c2
[ "Apache-2.0" ]
null
null
null
Clion_Code/Hash/Permutation.cpp
jbapple/Pocket_Dictionary
445e4d6cf8b9f13388fb2f2b66438330a40c02c2
[ "Apache-2.0" ]
null
null
null
Clion_Code/Hash/Permutation.cpp
jbapple/Pocket_Dictionary
445e4d6cf8b9f13388fb2f2b66438330a40c02c2
[ "Apache-2.0" ]
null
null
null
// // Created by tomer on 11/4/19. // #include <cassert> #include <cstdlib> #include "Permutation.h" Permutation::Permutation(size_t mod) : mod(mod) { // assert (mod <= P31); // size_t index = rand() % 5; size_t index = 0; mult_const = primitive_root_array[index]; mult_inv_const = inv_primitive_root...
22.891892
53
0.638725
jbapple
ab8ef5dca49c8814be008bec053324bf327883c2
7,456
hpp
C++
src/vendor/cget/cget/pkg/pqrs-org__cpp-osx-iokit_types/install/include/pqrs/osx/iokit_types/iokit_hid_usage.hpp
fe7/Karabiner-Elements
fdbf3b47d845e5d225c1d33f9b3c696406d404ba
[ "Unlicense" ]
1
2021-11-09T10:28:50.000Z
2021-11-09T10:28:50.000Z
src/vendor/cget/cget/pkg/pqrs-org__cpp-osx-iokit_types/install/include/pqrs/osx/iokit_types/iokit_hid_usage.hpp
fe7/Karabiner-Elements
fdbf3b47d845e5d225c1d33f9b3c696406d404ba
[ "Unlicense" ]
null
null
null
src/vendor/cget/cget/pkg/pqrs-org__cpp-osx-iokit_types/install/include/pqrs/osx/iokit_types/iokit_hid_usage.hpp
fe7/Karabiner-Elements
fdbf3b47d845e5d225c1d33f9b3c696406d404ba
[ "Unlicense" ]
2
2020-04-27T10:51:37.000Z
2020-09-09T03:44:04.000Z
#pragma once // (C) Copyright Takayama Fumihiko 2018. // Distributed under the Boost Software License, Version 1.0. // (See http://www.boost.org/LICENSE_1_0.txt) #include <IOKit/hid/IOHIDUsageTables.h> #include <functional> #include <iostream> #include <type_safe/strong_typedef.hpp> namespace pqrs { namespace osx { ...
64.834783
123
0.902495
fe7
ab91d189e724481634a22a03835bc6da31021bc4
3,513
hpp
C++
src/libtego/source/context.hpp
blueprint-freespeech/r2-rebound
65efe5bcea7c1222d0eef4ce447d3bebfee37779
[ "BSD-3-Clause" ]
1
2019-06-10T11:05:15.000Z
2019-06-10T11:05:15.000Z
src/libtego/source/context.hpp
blueprint-freespeech/r2-rebound
65efe5bcea7c1222d0eef4ce447d3bebfee37779
[ "BSD-3-Clause" ]
null
null
null
src/libtego/source/context.hpp
blueprint-freespeech/r2-rebound
65efe5bcea7c1222d0eef4ce447d3bebfee37779
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "signals.hpp" #include "tor.hpp" #include "user.hpp" #include "tor/TorControl.h" #include "tor/TorManager.h" #include "core/IdentityManager.h" // // Tego Context // struct tego_context { public: tego_context(); void start_tor(const tego_tor_launch_config_t* config); bool get_tor_d...
38.604396
120
0.744663
blueprint-freespeech
ab91e8a62201f0561c9b0a2184a1d9ce92c13ba7
1,136
hpp
C++
src/marnav/seatalk/message_11.hpp
ShadowTeolog/marnav
094dd06a2b9e52591bc9c3879ea4b5cf34a92192
[ "BSD-4-Clause" ]
null
null
null
src/marnav/seatalk/message_11.hpp
ShadowTeolog/marnav
094dd06a2b9e52591bc9c3879ea4b5cf34a92192
[ "BSD-4-Clause" ]
null
null
null
src/marnav/seatalk/message_11.hpp
ShadowTeolog/marnav
094dd06a2b9e52591bc9c3879ea4b5cf34a92192
[ "BSD-4-Clause" ]
null
null
null
#ifndef MARNAV__SEATALK__MESSAGE_11__HPP #define MARNAV__SEATALK__MESSAGE_11__HPP #include "message.hpp" namespace marnav { namespace seatalk { /// @brief Apparent Wind Speed /// /// @code /// 11 01 XX 0Y /// /// Apparent Wind Speed: (XX & 0x7F) + Y/10 Knots /// Units flag: XX&0x80=0 => Display value in Knots ...
21.846154
72
0.704225
ShadowTeolog
ab93373ef1a46946f305da66c9395d39ae25cc12
381
cpp
C++
persona.cpp
equirosa/simulacion-conversacion
8fc3d3b3612175d3cb5e846e1c05f4129a53c9f5
[ "BSD-2-Clause" ]
null
null
null
persona.cpp
equirosa/simulacion-conversacion
8fc3d3b3612175d3cb5e846e1c05f4129a53c9f5
[ "BSD-2-Clause" ]
null
null
null
persona.cpp
equirosa/simulacion-conversacion
8fc3d3b3612175d3cb5e846e1c05f4129a53c9f5
[ "BSD-2-Clause" ]
null
null
null
#include "persona.h" #include <string> Persona::Persona(){} //Constructor por default. Persona::Persona(std::string nombre, std::string nacionalidad, int edad) { this->nombre=nombre; this->nacionalidad=nacionalidad; this->edad=edad; } Persona::saludar(Persona persona) { persona.devolverSaludo(nombre)...
20.052632
72
0.677165
equirosa
ab9564926d739bfcf705d5e712dc44793722d0c4
6,351
cpp
C++
inference-engine/tests/unit/inference_engine_tests/ngraph_reader_tests/batch_norm_inference_tests.cpp
giulio1979/dldt
e7061922066ccefc54c8dae6e3215308ce9559e1
[ "Apache-2.0" ]
1
2021-07-30T17:03:50.000Z
2021-07-30T17:03:50.000Z
inference-engine/tests/unit/inference_engine_tests/ngraph_reader_tests/batch_norm_inference_tests.cpp
Dipet/dldt
b2140c083a068a63591e8c2e9b5f6b240790519d
[ "Apache-2.0" ]
null
null
null
inference-engine/tests/unit/inference_engine_tests/ngraph_reader_tests/batch_norm_inference_tests.cpp
Dipet/dldt
b2140c083a068a63591e8c2e9b5f6b240790519d
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "ngraph_reader_tests.hpp" #include <string> TEST_F(NGraphReaderTests, ReadBatchNormInferenceNetwork) { std::string model = R"V0G0N( <net name="BNFusion" version="10"> <layers> <layer name="in1" type="Parame...
33.781915
116
0.387026
giulio1979
ab95bb7e8172882c583bb2dd14101aff896025c6
342
hpp
C++
lib/kernel/src/kernel.hpp
sinanislekdemir/minik
cde6f228e20c51d96cdb3c84e8ae4c85a5b2f4fb
[ "BSD-3-Clause" ]
8
2022-01-01T19:36:06.000Z
2022-01-25T15:57:28.000Z
lib/kernel/src/kernel.hpp
sinanislekdemir/minik
cde6f228e20c51d96cdb3c84e8ae4c85a5b2f4fb
[ "BSD-3-Clause" ]
4
2022-01-17T15:45:39.000Z
2022-02-27T19:52:42.000Z
lib/kernel/src/kernel.hpp
sinanislekdemir/minik
cde6f228e20c51d96cdb3c84e8ae4c85a5b2f4fb
[ "BSD-3-Clause" ]
null
null
null
/** * Main Kernel Definitions */ #ifndef _kernel_hpp #define _kernel_hpp #include "program.hpp" #include "statement.hpp" #include "status.hpp" #include <Arduino.h> struct setup { int num_cores; bool serial; bool net; bool sdcard; }; void stop(); int kmain(); // Add kernel tasks like breath or serial console ...
13.153846
63
0.710526
sinanislekdemir
ab95c251b22c3470b0c99a12ccac5bf1b3c0d8f9
5,519
cpp
C++
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/caches/SoBoundingBoxCache.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/caches/SoBoundingBoxCache.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/caches/SoBoundingBoxCache.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by Kongsberg Oil & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
29.047368
85
0.671498
KraftOreo
ab960e26a1af8dc50e165151594063ddfd971b02
12,618
cpp
C++
storage/walletdb.cpp
ouyun/FnFnCoreWallet
3aa61145bc3f524d1dc10ada22e164689a73d794
[ "MIT" ]
1
2019-12-23T11:56:55.000Z
2019-12-23T11:56:55.000Z
storage/walletdb.cpp
ouyun/FnFnCoreWallet
3aa61145bc3f524d1dc10ada22e164689a73d794
[ "MIT" ]
null
null
null
storage/walletdb.cpp
ouyun/FnFnCoreWallet
3aa61145bc3f524d1dc10ada22e164689a73d794
[ "MIT" ]
null
null
null
// Copyright (c) 2017-2019 The Multiverse developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "walletdb.h" #include "leveldbeng.h" #include <boost/foreach.hpp> #include <boost/bind.hpp> using na...
21.868284
116
0.624029
ouyun
ab967c96d59adb365b9e31659a8c6d6a18a571fb
270
hpp
C++
src/widgets/settingspages/CommandPage.hpp
agenttud/chatterino7
b40763c5f847c017106115f92b864b40b3a20501
[ "MIT" ]
1,145
2019-05-18T22:51:52.000Z
2022-03-31T22:12:39.000Z
src/widgets/settingspages/CommandPage.hpp
agenttud/chatterino7
b40763c5f847c017106115f92b864b40b3a20501
[ "MIT" ]
2,034
2019-05-18T22:28:54.000Z
2022-03-31T22:24:21.000Z
src/widgets/settingspages/CommandPage.hpp
agenttud/chatterino7
b40763c5f847c017106115f92b864b40b3a20501
[ "MIT" ]
397
2019-05-18T22:45:51.000Z
2022-03-31T22:12:39.000Z
#pragma once #include <QTextEdit> #include <QTimer> #include "widgets/settingspages/SettingsPage.hpp" namespace chatterino { class CommandPage : public SettingsPage { public: CommandPage(); private: QTimer commandsEditTimer_; }; } // namespace chatterino
13.5
49
0.744444
agenttud
ab96996c768e015fb5aa467b3007b691dde42bbd
2,565
hpp
C++
include/Move_strategy.hpp
mjcaisse/CDT-plusplus
fa11dd19c806a96afbb48e406234e82cae62029a
[ "BSD-3-Clause" ]
null
null
null
include/Move_strategy.hpp
mjcaisse/CDT-plusplus
fa11dd19c806a96afbb48e406234e82cae62029a
[ "BSD-3-Clause" ]
null
null
null
include/Move_strategy.hpp
mjcaisse/CDT-plusplus
fa11dd19c806a96afbb48e406234e82cae62029a
[ "BSD-3-Clause" ]
null
null
null
/// Causal Dynamical Triangulations in C++ using CGAL /// /// Copyright © 2017-2020 Adam Getchell /// /// Template class for all move algorithms, e.g. Metropolis, MoveAlways /// /// @file Move_strategy.hpp /// @brief Base class for move algorithms on Delaunay Triangulations /// @author Adam Getchell #ifndef INCLUDE_MO...
25.147059
72
0.707212
mjcaisse
ab994df8acf4f2622f8289a48e4d877338e6e14d
5,336
cpp
C++
Source/WebKit/UIProcess/API/glib/WebKitWebsiteDataAccessPermissionRequest.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
Source/WebKit/UIProcess/API/glib/WebKitWebsiteDataAccessPermissionRequest.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Source/WebKit/UIProcess/API/glib/WebKitWebsiteDataAccessPermissionRequest.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2020 Igalia S.L * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This librar...
40.120301
240
0.81578
jacadcaps
ab9b927cd5e5a73439f7cb524192815962d71820
7,712
cc
C++
components/suggestions/webui/suggestions_source.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/suggestions/webui/suggestions_source.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/suggestions/webui/suggestions_source.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 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 "components/suggestions/webui/suggestions_source.h" #include "base/barrier_closure.h" #include "base/base64.h" #include "base/bind.h" #include "...
38.949495
79
0.669476
metux
ab9d0df4b91d7eed887be585aa4dde53d50eb971
2,133
hpp
C++
GLFramework/stdafx.hpp
Illation/GLFramework
2b9d3d67d4e951e2ff5ace0241750a438d6e743f
[ "MIT" ]
39
2016-03-23T00:39:46.000Z
2022-02-07T21:26:05.000Z
GLFramework/stdafx.hpp
Illation/GLFramework
2b9d3d67d4e951e2ff5ace0241750a438d6e743f
[ "MIT" ]
1
2016-03-24T14:39:45.000Z
2016-03-24T17:34:39.000Z
GLFramework/stdafx.hpp
Illation/GLFramework
2b9d3d67d4e951e2ff5ace0241750a438d6e743f
[ "MIT" ]
3
2016-08-15T01:27:13.000Z
2021-12-29T01:37:51.000Z
#pragma once #pragma region //C RunTime Header Files #include <wchar.h> #include <string> #include <iostream> #include <fstream> #include <sstream> #include <vector> #include <memory> using namespace std; #pragma endregion stl #pragma region //SDL and opengl Header files #include "staticDependancies/glad/glad.h" #in...
23.7
79
0.711205
Illation
ab9e78b628e2acadb080ef547e1f368d591a8f03
2,700
cpp
C++
src/ohm.cpp
rohanl/ESP8266_WiFi_v2.x
6ce604a64effa9c6a56ff078529f616de8f82835
[ "Unlicense" ]
72
2017-03-08T22:31:33.000Z
2022-01-28T05:41:39.000Z
src/ohm.cpp
rohanl/ESP8266_WiFi_v2.x
6ce604a64effa9c6a56ff078529f616de8f82835
[ "Unlicense" ]
228
2017-03-05T13:21:16.000Z
2021-10-09T23:06:26.000Z
src/ohm.cpp
rohanl/ESP8266_WiFi_v2.x
6ce604a64effa9c6a56ff078529f616de8f82835
[ "Unlicense" ]
53
2017-03-06T10:59:13.000Z
2022-02-06T23:08:25.000Z
#include "emonesp.h" #include "input.h" #include "wifi.h" #include "app_config.h" #include "RapiSender.h" #include <WiFiClientSecure.h> #include <ESP8266HTTPClient.h> #include <Arduino.h> #define ACTIVE_TAG_START "<active>" #define ACTIVE_TAG_END "</active>" //Server strings for Ohm Connect const char *ohm_host...
26.213592
77
0.510741
rohanl
aba579bd8df72707a495c46c1914a111dc0a4013
2,480
cpp
C++
dbms/src/Core/FieldVisitors.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
3
2016-12-30T14:19:47.000Z
2021-11-13T06:58:32.000Z
dbms/src/Core/FieldVisitors.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
null
null
null
dbms/src/Core/FieldVisitors.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
1
2021-02-07T16:00:54.000Z
2021-02-07T16:00:54.000Z
#include <DB/Core/FieldVisitors.h> namespace DB { String FieldVisitorDump::operator() (const String & x) const { String res; WriteBufferFromString wb(res); writeQuoted(x, wb); return res; } String FieldVisitorDump::operator() (const Array & x) const { String res; WriteBufferFromString wb(res); FieldVisito...
19.527559
106
0.662903
rudneff
aba597a776c11ed7cc96e272a450ffeaa32db935
1,113
cpp
C++
src/common/file_utils.cpp
subject721/flow-orchestrator
cadc646db5eece510c1dc1edf7bacf5060a7915c
[ "BSD-3-Clause" ]
3
2021-10-05T08:13:56.000Z
2022-02-07T22:41:03.000Z
src/common/file_utils.cpp
subject721/flow-orchestrator
cadc646db5eece510c1dc1edf7bacf5060a7915c
[ "BSD-3-Clause" ]
null
null
null
src/common/file_utils.cpp
subject721/flow-orchestrator
cadc646db5eece510c1dc1edf7bacf5060a7915c
[ "BSD-3-Clause" ]
1
2022-02-07T22:41:05.000Z
2022-02-07T22:41:05.000Z
/* * SPDX-License-Identifier: BSD-3-Clause * Copyright (c) 2021, Stefan Seitz * */ #include <common/file_utils.hpp> #include <fstream> std::string load_file_as_string(const std::filesystem::path& file_path) { if ( exists(file_path) ) { std::ifstream file_stream(file_path.c_str()); if ( !fil...
19.526316
74
0.651393
subject721
aba99ad1cea6bb5e10c4f5aaeb0a4836ae07bd03
3,622
cc
C++
components/ukm/ukm_reporting_service.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/ukm/ukm_reporting_service.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/ukm/ukm_reporting_service.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 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. // ReportingService specialized to report UKM metrics. #include "components/ukm/ukm_reporting_service.h" #include "base/memory/ptr_util.h" #include "bas...
34.495238
80
0.732192
metux
aba9cf1f2951343060df04a5d5c07031ce858464
46,210
cc
C++
call/adaptation/video_stream_adapter_unittest.cc
wnpllrzodiac/webrtc_code_mirror
0e7b3a9dadc64266eba82b0fc1265b36b7794839
[ "BSD-3-Clause" ]
344
2016-07-03T11:45:20.000Z
2022-03-19T16:54:10.000Z
call/adaptation/video_stream_adapter_unittest.cc
wnpllrzodiac/webrtc_code_mirror
0e7b3a9dadc64266eba82b0fc1265b36b7794839
[ "BSD-3-Clause" ]
59
2020-08-24T09:17:42.000Z
2022-02-27T23:33:37.000Z
call/adaptation/video_stream_adapter_unittest.cc
wnpllrzodiac/webrtc_code_mirror
0e7b3a9dadc64266eba82b0fc1265b36b7794839
[ "BSD-3-Clause" ]
278
2016-04-26T07:37:12.000Z
2022-01-24T10:09:44.000Z
/* * Copyright (c) 2020 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
48.84778
80
0.764423
wnpllrzodiac
abb17457625a833fd82e6260759d766f4e78964a
4,085
cpp
C++
03_Tutorial/T07_XMOgre3D/Source/Sample/SkyBox.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2017-08-03T07:15:00.000Z
2018-06-18T10:32:53.000Z
03_Tutorial/T07_XMOgre3D/Source/Sample/SkyBox.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
null
null
null
03_Tutorial/T07_XMOgre3D/Source/Sample/SkyBox.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2019-03-04T22:57:42.000Z
2020-03-06T01:32:26.000Z
/* ------------------------------------------------------------------------------------ * * File SkyBox.cpp * Description This source file is part of OGRE * (Object-oriented Graphics Rendering Engine) * Author Y.H Mun * * -------------------------------...
44.402174
117
0.583354
mcodegeeks
abb2e1af112da0d2e340cf43e24338c277ab56b5
4,006
cpp
C++
src/pair_wise_intersect.cpp
fanhualta/dint
d5b4b9ef1998119b2f06b9143153f7e82f12cb56
[ "Apache-2.0" ]
16
2019-01-27T20:41:07.000Z
2021-05-03T05:21:50.000Z
src/pair_wise_intersect.cpp
fanhualta/dint
d5b4b9ef1998119b2f06b9143153f7e82f12cb56
[ "Apache-2.0" ]
3
2020-06-25T03:28:28.000Z
2021-04-26T07:15:24.000Z
src/pair_wise_intersect.cpp
fanhualta/dint
d5b4b9ef1998119b2f06b9143153f7e82f12cb56
[ "Apache-2.0" ]
6
2019-08-20T02:34:16.000Z
2022-02-22T00:01:11.000Z
#include <iostream> #include <boost/algorithm/string/classification.hpp> #include <boost/algorithm/string/split.hpp> #include <succinct/mapper.hpp> #include "index_types.hpp" #include "util.hpp" typedef uint32_t term_id_type; typedef std::vector<term_id_type> term_id_vec; bool read_query(term_id_vec& ret, std::ist...
26.706667
76
0.545432
fanhualta
abb4af9ca0f37e64e893acb3d381b4a8ece93033
887
hpp
C++
libs/core/include/fcppt/math/clamp.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/math/clamp.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/math/clamp.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2017. // Copyright Philipp Middendorf 2009 - 2017. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_MATH_CLAMP_HPP_INCLUDED #define...
26.878788
86
0.709132
freundlich
abb634cee0a3ae2fe099476f69c2cac061dc19d2
136
cpp
C++
tutorials/learncpp.com#1.0#1/variables_part_i/boolean_values/source6.cpp
officialrafsan/CppDroid
5fb2cc7750fea53b1ea6ff47b5094da6e95e9224
[ "MIT" ]
null
null
null
tutorials/learncpp.com#1.0#1/variables_part_i/boolean_values/source6.cpp
officialrafsan/CppDroid
5fb2cc7750fea53b1ea6ff47b5094da6e95e9224
[ "MIT" ]
null
null
null
tutorials/learncpp.com#1.0#1/variables_part_i/boolean_values/source6.cpp
officialrafsan/CppDroid
5fb2cc7750fea53b1ea6ff47b5094da6e95e9224
[ "MIT" ]
null
null
null
bool bValue = true; if (!bValue) cout << "The if statement was true" << endl; else cout << "The if statement was false" << endl;
27.2
49
0.625
officialrafsan
abb665fee6e513631c6c6b5cd487fd41b08d95a2
1,343
cpp
C++
building_teams.cpp
ShinAKS/cses_solutions
e4ebcf80c010785f1b73df7aa8052da07ad549e0
[ "MIT" ]
null
null
null
building_teams.cpp
ShinAKS/cses_solutions
e4ebcf80c010785f1b73df7aa8052da07ad549e0
[ "MIT" ]
null
null
null
building_teams.cpp
ShinAKS/cses_solutions
e4ebcf80c010785f1b73df7aa8052da07ad549e0
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ll long long #define int long long #define pb push_back #define pii pair<int,int> #define vi vector<int> #define vii vector<pii> #define mi map<int,int> #define mii map<pii,int> #define all(a) (a).begin(),(a).end() #defi...
21.31746
66
0.553239
ShinAKS
abbf7479b6b322f55b3894d922be846eac47c4ea
36,711
cpp
C++
upo_navigation/src/trajectory_planner.cpp
robotics-upo/upo_robot_navigation
6e0b7668683b68037051b2dda0419bda38a51e01
[ "BSD-3-Clause" ]
50
2016-11-29T09:46:39.000Z
2021-05-27T10:44:07.000Z
upo_navigation/src/trajectory_planner.cpp
kayleckq/upo_robot_navigation
6e0b7668683b68037051b2dda0419bda38a51e01
[ "BSD-3-Clause" ]
5
2017-05-04T12:39:13.000Z
2021-03-30T07:44:38.000Z
upo_navigation/src/trajectory_planner.cpp
kayleckq/upo_robot_navigation
6e0b7668683b68037051b2dda0419bda38a51e01
[ "BSD-3-Clause" ]
22
2017-01-17T07:38:24.000Z
2021-02-18T13:17:29.000Z
/********************************************************************* * * Software License Agreement (BSD License) * * 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 cond...
36.204142
204
0.62627
robotics-upo