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
8baef9f62a3036660afa755725e8efc46e74a77b
150
cpp
C++
Disassembler.cpp
Pyxxil/LC3
7a2b201745846cd0f188648bfcc93f35d7ac711b
[ "MIT" ]
2
2020-08-18T01:04:58.000Z
2022-02-21T19:46:59.000Z
Disassembler.cpp
Pyxxil/LC3
7a2b201745846cd0f188648bfcc93f35d7ac711b
[ "MIT" ]
null
null
null
Disassembler.cpp
Pyxxil/LC3
7a2b201745846cd0f188648bfcc93f35d7ac711b
[ "MIT" ]
null
null
null
#include "Disassembler.hpp" auto main(int argc, char **argv) -> int { Disassembler disassembler(argc, argv); return disassembler.disassemble(); }
25
41
0.726667
Pyxxil
8bb3e4a4a1765909d48b9df682b6952f6fbd35fd
3,482
hpp
C++
inc/tetra/gl/Buffer.hpp
projectTetra/tetra-gl
318b0b4184ac3064b2bb5de6f82dc38c35aff956
[ "MIT" ]
null
null
null
inc/tetra/gl/Buffer.hpp
projectTetra/tetra-gl
318b0b4184ac3064b2bb5de6f82dc38c35aff956
[ "MIT" ]
null
null
null
inc/tetra/gl/Buffer.hpp
projectTetra/tetra-gl
318b0b4184ac3064b2bb5de6f82dc38c35aff956
[ "MIT" ]
null
null
null
#pragma once #ifndef TETRA_GL_BUFFER_HPP #define TETRA_GL_BUFFER_HPP #include <array> #include <vector> #include <tetra/gl/VertexArrayObject.hpp> #include <tetra/gl/GLException.hpp> namespace tetra { namespace gl { /** * A safe, RAII OpenGL array buffer object. * Templated on the type of the data that the buffer sh...
27.203125
70
0.68093
projectTetra
8bb55afe873241ca30ad591e397c0539aa69fdd5
9,295
cpp
C++
src/unittests/lsa/StandaloneGraphComputationTest.cpp
google/ohmu
33991d1bb655ab26ce1f172fdea0fd7eef32e763
[ "Apache-2.0" ]
79
2015-01-08T11:43:59.000Z
2022-02-13T23:39:27.000Z
src/unittests/lsa/StandaloneGraphComputationTest.cpp
google/ohmu
33991d1bb655ab26ce1f172fdea0fd7eef32e763
[ "Apache-2.0" ]
null
null
null
src/unittests/lsa/StandaloneGraphComputationTest.cpp
google/ohmu
33991d1bb655ab26ce1f172fdea0fd7eef32e763
[ "Apache-2.0" ]
22
2015-01-03T07:31:58.000Z
2021-10-13T09:08:31.000Z
#include <string> #include "gtest/gtest.h" #include "lsa/StandaloneGraphComputation.h" // Template specializations need to be performed in the same namespace due to // -fpermissive flag. class SinglePhaseComputation; class TwoPhaseComputation; class IteratedPhaseComputation; namespace ohmu { namespace lsa { templat...
32.051724
80
0.659925
google
8bbee86e792538faafdcaf2e97610bf01e3dabb9
1,022
cpp
C++
smacc/src/smacc/common.cpp
koyalbhartia/SMACC
609f017a91bc258deb0b64cac5f198d54f19c9e3
[ "BSD-3-Clause" ]
203
2019-04-11T16:42:10.000Z
2022-03-18T06:02:56.000Z
smacc/src/smacc/common.cpp
koyalbhartia/SMACC
609f017a91bc258deb0b64cac5f198d54f19c9e3
[ "BSD-3-Clause" ]
50
2019-04-18T09:09:48.000Z
2022-03-29T21:38:21.000Z
smacc/src/smacc/common.cpp
koyalbhartia/SMACC
609f017a91bc258deb0b64cac5f198d54f19c9e3
[ "BSD-3-Clause" ]
35
2019-09-10T15:06:37.000Z
2022-02-02T09:10:08.000Z
/***************************************************************************************************************** * ReelRobotix Inc. - Software License Agreement Copyright (c) 2018 * Authors: Pablo Inigo Blasco, Brett Aldrich * ********************************************************************************...
31.9375
116
0.546967
koyalbhartia
8bbf5b061cc224c341e47f9b3d9573633ed73eb9
773
cpp
C++
PETCS/Intermediate/ccc07j2.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
PETCS/Intermediate/ccc07j2.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
PETCS/Intermediate/ccc07j2.cpp
dl4us/Competitive-Programming-1
d42fab3bd68168adbe4b5f594f19ee5dfcd1389b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; map<string, string> mp; string shrt[12] = {"CU", ":-)", ":-(", ";-)", ":-P", "(~.~)", "TA", "CCC", "CUZ", "TY", "YW", "TTYL"}; string tran[12] = {"see you", "I'm happy", "I'm unhappy", "wink", "stick out my tongue", "sleepy", "totally awesome", "Canadian Computing Competiti...
29.730769
215
0.456662
dl4us
8bbfac6aa1e50ba1cfee8761ac41a96b4a40cd59
20,808
cpp
C++
arangod/V8Server/v8-voccursor.cpp
morsdatum/ArangoDB
9cfc6d5cd50b8f451ebdedd77e2c5257fa72a573
[ "Apache-2.0" ]
null
null
null
arangod/V8Server/v8-voccursor.cpp
morsdatum/ArangoDB
9cfc6d5cd50b8f451ebdedd77e2c5257fa72a573
[ "Apache-2.0" ]
null
null
null
arangod/V8Server/v8-voccursor.cpp
morsdatum/ArangoDB
9cfc6d5cd50b8f451ebdedd77e2c5257fa72a573
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// @brief V8-vocbase bridge /// /// @file /// /// DISCLAIMER /// /// Copyright 2014 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "Licen...
32.310559
114
0.564254
morsdatum
8bc52998b312a1a94b2f8ce8a4016799d24e8d1f
967
cpp
C++
src/Heteroclinic.cpp
tmkwan/Cpp-Runge-Kutta-Fehlberg
4e1aeb1d0231acbb12c94617fb79a33b3f542726
[ "MIT" ]
null
null
null
src/Heteroclinic.cpp
tmkwan/Cpp-Runge-Kutta-Fehlberg
4e1aeb1d0231acbb12c94617fb79a33b3f542726
[ "MIT" ]
null
null
null
src/Heteroclinic.cpp
tmkwan/Cpp-Runge-Kutta-Fehlberg
4e1aeb1d0231acbb12c94617fb79a33b3f542726
[ "MIT" ]
null
null
null
/* * Heteroclinic.cpp * * Implements a heteroclinic cycle. * * Created on: Aug 6, 2016 * Author: Ted Kwan. */ #include <cmath> #include "Heteroclinic.h" using namespace std; using namespace arma; /** * Default constructor with default parameters. */ Heteroclinic::Heteroclinic() { dim=2; epsilon=0.0;...
16.964912
61
0.659772
tmkwan
8bc8385b2ca50499fab71d9e0683370c1b8e5901
291
hpp
C++
matlab/src/util.hpp
nfagan/mtype
a745271d366df64e1b4692cc90f0685ea4084ba6
[ "MIT" ]
null
null
null
matlab/src/util.hpp
nfagan/mtype
a745271d366df64e1b4692cc90f0685ea4084ba6
[ "MIT" ]
null
null
null
matlab/src/util.hpp
nfagan/mtype
a745271d366df64e1b4692cc90f0685ea4084ba6
[ "MIT" ]
null
null
null
#pragma once #include "mex.h" #include <string> namespace mt { std::string get_string_with_trap(const mxArray* in_str, const char* id); bool bool_or_default(const mxArray* in_array, bool default_value); bool bool_convertible_or_default(const mxArray* in_array, bool default_value); }
29.1
80
0.780069
nfagan
8bcb9d5c7d216d58f7f08d73f21a1f174a681131
2,279
cpp
C++
src/transactiondb.cpp
jon34560/Safire
49bf7ec7d9f2b7536af9bd4a03789694078dfe77
[ "MIT" ]
null
null
null
src/transactiondb.cpp
jon34560/Safire
49bf7ec7d9f2b7536af9bd4a03789694078dfe77
[ "MIT" ]
null
null
null
src/transactiondb.cpp
jon34560/Safire
49bf7ec7d9f2b7536af9bd4a03789694078dfe77
[ "MIT" ]
null
null
null
#include "transactiondb.h" #include <sstream> #include <unistd.h> // open and close #include "leveldb/db.h" using namespace std; /** * * * Description: Generate a random sha256 hash to be used as a private key. * Generates 128 random ascii characters to feed into a sha256 hash. * * @param: std::string output ...
25.322222
80
0.627029
jon34560
8bcde7726a89c7b82dcf75cfa50762ef7ea666c4
519
cpp
C++
programowanie-i-struktury-danych/egzamin-przygotowanie/exam1/IBAN.cpp
kpagacz/software-engineering
6ac3965848919d7fe7350842ae9d59d65d213ef6
[ "MIT" ]
1
2022-01-17T07:50:54.000Z
2022-01-17T07:50:54.000Z
programowanie-i-struktury-danych/egzamin-przygotowanie/exam1/IBAN.cpp
kpagacz/software-engineering
6ac3965848919d7fe7350842ae9d59d65d213ef6
[ "MIT" ]
null
null
null
programowanie-i-struktury-danych/egzamin-przygotowanie/exam1/IBAN.cpp
kpagacz/software-engineering
6ac3965848919d7fe7350842ae9d59d65d213ef6
[ "MIT" ]
2
2021-02-02T18:13:35.000Z
2021-05-10T13:31:40.000Z
#include "IBAN.h" IBAN::IBAN(const std::string& new_value) { iban = ""; set_iban(new_value); } std::string IBAN::get_iban() const { return iban; } void IBAN::set_iban(const std::string& new_iban) { iban = new_iban; } bool IBAN::operator<(const IBAN& other) const { std::string other_iban = oth...
16.741935
62
0.639692
kpagacz
8bd0326a084c3291b46d74188bf46538d853b1bf
10,975
cpp
C++
Framework/Source/Windows/LWPlatform/LWInputDevice_Windows.cpp
slicer4ever/Lightwaver
1f444e42eab9988632f541ab3c8f491d557c7de7
[ "MIT" ]
3
2017-10-24T08:04:49.000Z
2018-08-28T10:08:08.000Z
Framework/Source/Windows/LWPlatform/LWInputDevice_Windows.cpp
slicer4ever/Lightwave
1f444e42eab9988632f541ab3c8f491d557c7de7
[ "MIT" ]
null
null
null
Framework/Source/Windows/LWPlatform/LWInputDevice_Windows.cpp
slicer4ever/Lightwave
1f444e42eab9988632f541ab3c8f491d557c7de7
[ "MIT" ]
null
null
null
#include "LWPlatform/LWInputDevice.h" #include "LWPlatform/LWPlatform.h" #include "LWPlatform/LWWindow.h" #include <Xinput.h> #include <algorithm> #include <iostream> #pragma region LWMouse bool LWMouse::ProcessSystemMessage(uint32_t MessageID, void *MessageData, uint64_t , LWWindow *Window){ MSG *M = (MSG*)...
38.780919
327
0.682825
slicer4ever
8bd0b2534fde342bff692e97d9fa027e5d755a26
880
cpp
C++
src/qad.cpp
mkujalowicz/trismers-qtadservice
c0315ebe7268fca9ac53504dda11af74a92689c7
[ "Apache-2.0" ]
null
null
null
src/qad.cpp
mkujalowicz/trismers-qtadservice
c0315ebe7268fca9ac53504dda11af74a92689c7
[ "Apache-2.0" ]
null
null
null
src/qad.cpp
mkujalowicz/trismers-qtadservice
c0315ebe7268fca9ac53504dda11af74a92689c7
[ "Apache-2.0" ]
null
null
null
#include "qad.h" QAd::QAd(QObject *parent) : QObject(parent), m_format(Null) { } void QAd::setUrl(const QUrl &arg) { if (m_url != arg) { m_url = arg; emit urlChanged(arg); } } void QAd::setImageUrl(QUrl arg) { if (m_imageUrl != arg) { m_imageUrl = arg; emit imageUrlCha...
16
37
0.564773
mkujalowicz
8bd60b3aba0e576d3d204e9177cfaa5d5bbc8032
5,929
cpp
C++
SCNN/seg_label_generate/src/lane/util.cpp
IAmNotMahd/LaneDetector
07198cc8e8981020f7375b8fb9acbdf8bd72b71e
[ "MIT" ]
2
2019-07-28T18:20:53.000Z
2020-02-19T08:08:59.000Z
SCNN/seg_label_generate/src/lane/util.cpp
IAmNotMahd/LaneDetector
07198cc8e8981020f7375b8fb9acbdf8bd72b71e
[ "MIT" ]
null
null
null
SCNN/seg_label_generate/src/lane/util.cpp
IAmNotMahd/LaneDetector
07198cc8e8981020f7375b8fb9acbdf8bd72b71e
[ "MIT" ]
null
null
null
/************************************************************************* > File Name: util.cpp > Author: Jun Li, Xingang Pan > Mail: xingangpan1994@gmail.com > Created Time: 2016年07月20日 星期三 16时20分51秒 ************************************************************************/ #include "lane/util.hpp" #include...
21.404332
157
0.572609
IAmNotMahd
8bdafaff33eb3d52dbfbb163085fcad0bac3631d
440
hpp
C++
src/face/eye/lenet/lenet.hpp
bububa/openvision
0864e48ec8e69ac13d6889d41f7e1171f53236dd
[ "Apache-2.0" ]
1
2022-02-08T06:42:05.000Z
2022-02-08T06:42:05.000Z
src/face/eye/lenet/lenet.hpp
bububa/openvision
0864e48ec8e69ac13d6889d41f7e1171f53236dd
[ "Apache-2.0" ]
null
null
null
src/face/eye/lenet/lenet.hpp
bububa/openvision
0864e48ec8e69ac13d6889d41f7e1171f53236dd
[ "Apache-2.0" ]
null
null
null
#ifndef _FACE_EYE_LENET_H_ #define _FACE_EYE_LENET_H_ #include "../eye.hpp" namespace ovface { class LenetEye : public Eye { public: int Status(const unsigned char *rgbdata, int img_width, int img_height, const ov::Rect rect, std::vector<float> &cls_scores); private: const int target_width = 36; co...
24.444444
73
0.713636
bububa
8be4028bd038fc25b930e28f93b6d628d7bb125e
1,232
hpp
C++
boost/network/protocol/http/client/macros.hpp
JimmyHwang/cpp-netlib
86d08de44145be6d1f7f80d07f69585842b8d325
[ "BSL-1.0" ]
null
null
null
boost/network/protocol/http/client/macros.hpp
JimmyHwang/cpp-netlib
86d08de44145be6d1f7f80d07f69585842b8d325
[ "BSL-1.0" ]
null
null
null
boost/network/protocol/http/client/macros.hpp
JimmyHwang/cpp-netlib
86d08de44145be6d1f7f80d07f69585842b8d325
[ "BSL-1.0" ]
null
null
null
#ifndef BOOST_NETWORK_PROTOCOL_HTTP_CLIENT_MACROS_HPP_20110430 #define BOOST_NETWORK_PROTOCOL_HTTP_CLIENT_MACROS_HPP_20110430 // Copyright 2011 Dean Michael Berris <mikhailberis@gmail.com>. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www....
39.741935
80
0.703734
JimmyHwang
8bea6947d86cd97ebcc460df5b81adad098724b5
1,086
cpp
C++
src/engine/graphics/vulkan.cpp
dmfedorin/ubiquitility
f3a1062d2489ffd48889bff5fc8062c05706a946
[ "MIT" ]
null
null
null
src/engine/graphics/vulkan.cpp
dmfedorin/ubiquitility
f3a1062d2489ffd48889bff5fc8062c05706a946
[ "MIT" ]
null
null
null
src/engine/graphics/vulkan.cpp
dmfedorin/ubiquitility
f3a1062d2489ffd48889bff5fc8062c05706a946
[ "MIT" ]
null
null
null
#include "vulkan.hpp" Vulkan::Vulkan(Window &wnd) { layers = std::make_unique<ValidationLayers>(true); inst = std::make_unique<Instance>(*layers); surface = std::make_unique<Surface>(inst.get(), wnd); phys_dev = std::make_unique<PhysicalDevice>(*inst, *surface); dev = std::make_...
28.578947
77
0.567219
dmfedorin
8bee177fd878b1c3f6be5c14901f01dc35f8a04c
655
cpp
C++
Leetcode/SumRoottoLeafNumbers.cpp
zhanghuanzj/C-
b271de02885466e97d6a2072f4f93f87625834e4
[ "Apache-2.0" ]
null
null
null
Leetcode/SumRoottoLeafNumbers.cpp
zhanghuanzj/C-
b271de02885466e97d6a2072f4f93f87625834e4
[ "Apache-2.0" ]
null
null
null
Leetcode/SumRoottoLeafNumbers.cpp
zhanghuanzj/C-
b271de02885466e97d6a2072f4f93f87625834e4
[ "Apache-2.0" ]
null
null
null
/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: int sumNumbers(TreeNode *root) { int result = 0; getValue(root,0,result); return result; } pr...
17.236842
59
0.580153
zhanghuanzj
8bee661d1e371865219495f1dab75fc535a5a71f
397
cpp
C++
SumaParesImpares.cpp
Wjavier15/cpp
cf7d1f541828a616520aea95faaac0f3a27c7d44
[ "MIT" ]
null
null
null
SumaParesImpares.cpp
Wjavier15/cpp
cf7d1f541828a616520aea95faaac0f3a27c7d44
[ "MIT" ]
null
null
null
SumaParesImpares.cpp
Wjavier15/cpp
cf7d1f541828a616520aea95faaac0f3a27c7d44
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int a=0,b=0,p=0,i=0; cout<<"ingrese un numero: ";cin>>a; cout<<"ingrese otro numero: ";cin>>b; while(a<=b) { if(a%2==0) {p=p+a; a=a+1;} else {i=i+a; a=a+1;} } cout<<"suma de pares: "<<p<<endl; ...
19.85
42
0.463476
Wjavier15
8bf2a1105b6570e6613afc0c936a4c7bc2cb0a5c
8,302
cpp
C++
BarCode39.cpp
matthias-christen/CdCoverCreator
edb223c2cf33ab3fb72d84ce2a9bce8500408c2a
[ "MIT" ]
null
null
null
BarCode39.cpp
matthias-christen/CdCoverCreator
edb223c2cf33ab3fb72d84ce2a9bce8500408c2a
[ "MIT" ]
null
null
null
BarCode39.cpp
matthias-christen/CdCoverCreator
edb223c2cf33ab3fb72d84ce2a9bce8500408c2a
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////// // Copyright 2003 by David Hillard // // This information must remain in file // // // // Please provide credit for this code in your // // finished application in the Help/About ...
31.328302
122
0.39364
matthias-christen
8bf43e304ab090e242ed61cb7b22bfe2dbc944a3
9,450
cpp
C++
examples/testbed/framework/view_model.cpp
irlanrobson/bounce
1cf7f40fff528bff8514a50e786ea58e86d53a54
[ "Zlib" ]
368
2016-12-18T21:19:18.000Z
2022-03-10T19:13:04.000Z
examples/testbed/framework/view_model.cpp
irlanrobson/bounce
1cf7f40fff528bff8514a50e786ea58e86d53a54
[ "Zlib" ]
104
2016-12-19T20:44:53.000Z
2022-03-12T21:31:14.000Z
examples/testbed/framework/view_model.cpp
irlanrobson/bounce
1cf7f40fff528bff8514a50e786ea58e86d53a54
[ "Zlib" ]
34
2017-02-12T23:50:56.000Z
2021-12-17T04:33:41.000Z
/* * Copyright (c) 2016-2019 Irlan Robson * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors 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 commercia...
30.095541
86
0.750053
irlanrobson
8bf55ffa6d4fc0c15dda133810e874c97d06dc38
22,546
cpp
C++
lib/AFE-APIs/AFE-API-MQTT-Domoticz.cpp
lukasz-pekala/AFE-Firmware
59e10dd2f9665ba816c22905e63eaa60ec8fda09
[ "MIT" ]
null
null
null
lib/AFE-APIs/AFE-API-MQTT-Domoticz.cpp
lukasz-pekala/AFE-Firmware
59e10dd2f9665ba816c22905e63eaa60ec8fda09
[ "MIT" ]
null
null
null
lib/AFE-APIs/AFE-API-MQTT-Domoticz.cpp
lukasz-pekala/AFE-Firmware
59e10dd2f9665ba816c22905e63eaa60ec8fda09
[ "MIT" ]
null
null
null
/* AFE Firmware for smart home devices, Website: https://afe.smartnydom.pl/ */ #include "AFE-API-MQTT-Domoticz.h" #ifdef AFE_CONFIG_API_DOMOTICZ_ENABLED AFEAPIMQTTDomoticz::AFEAPIMQTTDomoticz() : AFEAPI(){}; #ifdef AFE_CONFIG_HARDWARE_LED void AFEAPIMQTTDomoticz::begin(AFEDataAccess *Data, AFEDevice *Device, ...
33.204713
81
0.659762
lukasz-pekala
8bf64bb65d47dd57613615571f2a57962186f992
2,938
cpp
C++
Array/Subarray or Subsequence Related Problems/Find all unique pairs of max & second max elements over all sub arrays.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
8
2021-02-13T17:07:27.000Z
2021-08-20T08:20:40.000Z
Array/Subarray or Subsequence Related Problems/Find all unique pairs of max & second max elements over all sub arrays.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
null
null
null
Array/Subarray or Subsequence Related Problems/Find all unique pairs of max & second max elements over all sub arrays.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
5
2021-02-17T18:12:20.000Z
2021-10-10T17:49:34.000Z
// Ref: https://www.geeksforgeeks.org/find-all-unique-pairs-of-maximum-and-second-maximum-elements-over-all-sub-arrays-in-onlogn/ // Similar ques based on this: https://www.hackerearth.com/practice/data-structures/stacks/basics-of-stacks/practice-problems/algorithm/little-shino-and-pairs/ /*****************************...
27.716981
160
0.561266
Edith-3000
8bf6bd8fffef2c0f660f8f3add6f10838bd3a302
2,960
cpp
C++
consensus/rpos/src/MsgMgr.cpp
sighttviewliu/ultrain-core-production
c2807d9310da8b5dc1408502866be59299a96c22
[ "MIT" ]
1
2020-09-19T05:25:28.000Z
2020-09-19T05:25:28.000Z
consensus/rpos/src/MsgMgr.cpp
sighttviewliu/ultrain-core-production
c2807d9310da8b5dc1408502866be59299a96c22
[ "MIT" ]
null
null
null
consensus/rpos/src/MsgMgr.cpp
sighttviewliu/ultrain-core-production
c2807d9310da8b5dc1408502866be59299a96c22
[ "MIT" ]
null
null
null
#include <rpos/MsgMgr.h> #include <ultrainio/chain/exceptions.hpp> #include <rpos/Config.h> #include <rpos/Node.h> #include <rpos/Seed.h> #include <rpos/StakeVoteBase.h> #include <rpos/Vrf.h> namespace ultrainio { using namespace std; // class MessageManager shared_ptr<MsgMgr> MsgMgr::s_self = nullptr; ...
40
129
0.660473
sighttviewliu
8bf7a53faee372559c6fcf5c7f783bb7fa59e29f
2,532
cpp
C++
src/tmp.cpp
unhuman-io/realtime-rbdl
0948dcb5a91c0237c47c8663bfc5bb1dea119ba3
[ "MIT" ]
null
null
null
src/tmp.cpp
unhuman-io/realtime-rbdl
0948dcb5a91c0237c47c8663bfc5bb1dea119ba3
[ "MIT" ]
null
null
null
src/tmp.cpp
unhuman-io/realtime-rbdl
0948dcb5a91c0237c47c8663bfc5bb1dea119ba3
[ "MIT" ]
null
null
null
#include <iostream> #include <yaml-cpp/yaml.h> #include <rbdl/rbdl.h> #include <rbdl/rbdl_utils.h> #ifndef RBDL_BUILD_ADDON_URDFREADER #error "Error: RBDL addon URDFReader not enabled." #endif #include <rbdl/addons/urdfreader/urdfreader.h> using namespace RigidBodyDynamics; using namespace RigidBodyDynamics::Math; ...
32.050633
87
0.6797
unhuman-io
8bf8b20421748bf925d7480b4ed48c4d030305a0
728
hpp
C++
include/rcmp/detail/exception.hpp
Smertig/rcmp
72cef849f9de81f483347ae045ac02b3401f9aa2
[ "MIT" ]
41
2020-10-03T20:44:52.000Z
2022-03-09T07:07:16.000Z
include/rcmp/detail/exception.hpp
Smertig/rcmp
72cef849f9de81f483347ae045ac02b3401f9aa2
[ "MIT" ]
1
2020-11-09T13:11:47.000Z
2020-11-09T14:08:27.000Z
include/rcmp/detail/exception.hpp
Smertig/rcmp
72cef849f9de81f483347ae045ac02b3401f9aa2
[ "MIT" ]
3
2020-10-04T15:10:11.000Z
2021-01-18T05:16:07.000Z
#pragma once #include <stdexcept> #include <cstdio> #include <cinttypes> #include <string> namespace rcmp { class error : public std::exception { std::string m_message; public: template <class... Args> explicit error(const char* fmt, const Args& ...args) { if constexpr (sizeof...(Args) > 0) { ...
21.411765
71
0.563187
Smertig
8bf9390fb8c55c557f93e7620557e5806642a8a2
736
cpp
C++
Leetcode/String/consecutive-characters.cpp
susantabiswas/competitive_coding
49163ecdc81b68f5c1bd90988cc0dfac34ad5a31
[ "MIT" ]
2
2021-04-29T14:44:17.000Z
2021-10-01T17:33:22.000Z
Leetcode/String/consecutive-characters.cpp
adibyte95/competitive_coding
a6f084d71644606c21840875bad78d99f678a89d
[ "MIT" ]
null
null
null
Leetcode/String/consecutive-characters.cpp
adibyte95/competitive_coding
a6f084d71644606c21840875bad78d99f678a89d
[ "MIT" ]
1
2021-10-01T17:33:29.000Z
2021-10-01T17:33:29.000Z
/* https://leetcode.com/problems/consecutive-characters/ Idea is to traverse the array and look at the previous char each time to decide if are still part of the window with only 1 unique char. TC: O(N) */ class Solution { public: int maxPower(string s) { int curr_len = s.empty() ...
26.285714
73
0.504076
susantabiswas
8bfae929015f780e4b120256efba146d9bc3cb85
185,042
cc
C++
src/ll_parser_bracketed.cc
RobertLWalton/layered
020ef378d632ffaff157a8df86e13b13af10b7ed
[ "Unlicense" ]
null
null
null
src/ll_parser_bracketed.cc
RobertLWalton/layered
020ef378d632ffaff157a8df86e13b13af10b7ed
[ "Unlicense" ]
null
null
null
src/ll_parser_bracketed.cc
RobertLWalton/layered
020ef378d632ffaff157a8df86e13b13af10b7ed
[ "Unlicense" ]
null
null
null
// Layered Languages Bracketed Subexpression Parser // // File: ll_parser_bracketed.cc // Author: Bob Walton (walton@acm.org) // Date: Tue Dec 14 06:14:12 EST 2021 // // The authors have placed this program in the public // domain; they make no warranty and accept no liability // for this program. // Table of Contents...
24.194822
56
0.59079
RobertLWalton
8bffd41371efc8e0baead592cd97eaa3717c7f8c
888
hpp
C++
include/lab4.hpp
shockkolate/gameai-gecode
703849d96d1faf652c3931f1204dfa347216ea72
[ "Unlicense" ]
null
null
null
include/lab4.hpp
shockkolate/gameai-gecode
703849d96d1faf652c3931f1204dfa347216ea72
[ "Unlicense" ]
null
null
null
include/lab4.hpp
shockkolate/gameai-gecode
703849d96d1faf652c3931f1204dfa347216ea72
[ "Unlicense" ]
null
null
null
#pragma once #include <iostream> #include <gecode/minimodel.hh> namespace gameai { namespace gecode { class lab4 : public Gecode::Space { private: const int count = 2; Gecode::IntVarArray xy; public: lab4() : xy(*this, count, -30, 30) { Gecode::IntVar x(xy[0]), y(xy[1]); Gecode::rel(*this, x * ...
25.371429
66
0.503378
shockkolate
e300c3835723adc2ac8f96631835f79585fc5519
825
cpp
C++
libcaf_core/src/ipv4_endpoint.cpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
2,517
2015-01-04T22:19:43.000Z
2022-03-31T12:20:48.000Z
libcaf_core/src/ipv4_endpoint.cpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
894
2015-01-07T14:21:21.000Z
2022-03-30T06:37:18.000Z
libcaf_core/src/ipv4_endpoint.cpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
570
2015-01-21T18:59:33.000Z
2022-03-31T19:00:02.000Z
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #include "caf/ipv4_endpoint.hpp" #include "caf/hash/fnv.hpp" namespace caf { ipv4_endpo...
27.5
77
0.721212
seewpx
bdd8e30a5ef9045038801d08182d9596122c0479
1,364
cpp
C++
src/CodeGen/TypeLowering.cpp
artagnon/rhine
ca4ec684162838f4cb13d9d29ef9e4aedbc268dd
[ "MIT" ]
234
2015-01-02T18:32:50.000Z
2022-02-03T19:41:33.000Z
src/CodeGen/TypeLowering.cpp
artagnon/rhine
ca4ec684162838f4cb13d9d29ef9e4aedbc268dd
[ "MIT" ]
7
2015-02-16T15:02:54.000Z
2016-05-26T07:46:02.000Z
src/CodeGen/TypeLowering.cpp
artagnon/rhine
ca4ec684162838f4cb13d9d29ef9e4aedbc268dd
[ "MIT" ]
13
2015-02-16T13:37:12.000Z
2020-12-12T04:18:43.000Z
#include "rhine/IR/Context.hpp" #include "rhine/IR/Type.hpp" #include "rhine/IR/Value.hpp" namespace rhine { llvm::Type *UnType::generate(llvm::Module *M) { assert(0 && "Cannot generate() without inferring type"); return nullptr; } llvm::Type *VoidType::generate(llvm::Module *M) { return context()->Builder->get...
26.230769
81
0.670088
artagnon
bddb4c0ea0036bc0feca9882d2bd11ed4a072ac5
2,073
cpp
C++
code_snippets/Chapter26/chapter.26.3.3.2.cpp
TingeOGinge/stroustrup_ppp
bb69533fff8a8f1890c8c866bae2030eaca1cf8b
[ "MIT" ]
170
2015-05-02T18:08:38.000Z
2018-07-31T11:35:17.000Z
code_snippets/Chapter26/chapter.26.3.3.2.cpp
TingeOGinge/stroustrup_ppp
bb69533fff8a8f1890c8c866bae2030eaca1cf8b
[ "MIT" ]
7
2018-08-29T15:43:14.000Z
2021-09-23T21:56:49.000Z
code_snippets/Chapter26/chapter.26.3.3.2.cpp
TingeOGinge/stroustrup_ppp
bb69533fff8a8f1890c8c866bae2030eaca1cf8b
[ "MIT" ]
105
2015-05-28T11:52:19.000Z
2018-07-17T14:11:25.000Z
// // This is example code from Chapter 26.3.3.2 "Resource management" of // "Programming -- Principles and Practice Using C++" by Bjarne Stroustrup // #include <iostream> #include <fstream> #include <string> #include <vector> #include <stdio.h> using namespace std; //-----------------------------------------------...
28.39726
80
0.421129
TingeOGinge
bddd26f2252a0cc0517610afee861fa518897760
1,088
cpp
C++
adapters/FCGI/src/FCGIContext.cpp
rfernandes/answer
aeb69e72308072c445a011a86ce4c6838af42a46
[ "MIT" ]
1
2015-06-26T02:31:43.000Z
2015-06-26T02:31:43.000Z
adapters/FCGI/src/FCGIContext.cpp
rfernandes/answer
aeb69e72308072c445a011a86ce4c6838af42a46
[ "MIT" ]
null
null
null
adapters/FCGI/src/FCGIContext.cpp
rfernandes/answer
aeb69e72308072c445a011a86ce4c6838af42a46
[ "MIT" ]
null
null
null
#include "FCGIContext.hh" #include <boost/algorithm/string.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/xml_parser.hpp> namespace answer { namespace adapter { namespace fcgi { using namespace std; using namespace Fastcgipp; FCGIContext::FCGIContext(const Fastcgipp::Http::Environment ...
20.923077
83
0.6875
rfernandes
bddd47821e698aceca13eb46b78c0ae80edd1dc8
374
cpp
C++
src/utils/htmlutils.cpp
lizhyumzi/vnote
7c4d89b0272cf817902272e8733d56c2cddb797a
[ "MIT" ]
1
2021-09-13T04:38:27.000Z
2021-09-13T04:38:27.000Z
src/utils/htmlutils.cpp
micalstanley/vnote-1
606dcef16f882350cc2be2fd108625894d13143b
[ "MIT" ]
null
null
null
src/utils/htmlutils.cpp
micalstanley/vnote-1
606dcef16f882350cc2be2fd108625894d13143b
[ "MIT" ]
null
null
null
#include "htmlutils.h" #include <QRegExp> using namespace vnotex; bool HtmlUtils::hasOnlyImgTag(const QString &p_html) { // Tricky. QRegExp reg(QStringLiteral("<(?:p|span|div) ")); return !p_html.contains(reg); } QString HtmlUtils::escapeHtml(QString p_text) { p_text.replace(">", "&gt;").replace("<"...
19.684211
75
0.644385
lizhyumzi
bddd511230481b0e6248f249114a1830d5737696
624
hh
C++
src/include/utils/password.hh
spuriousdata/hush
978d6ad23ad771b90d0e4178fd87822049880b64
[ "MIT" ]
null
null
null
src/include/utils/password.hh
spuriousdata/hush
978d6ad23ad771b90d0e4178fd87822049880b64
[ "MIT" ]
null
null
null
src/include/utils/password.hh
spuriousdata/hush
978d6ad23ad771b90d0e4178fd87822049880b64
[ "MIT" ]
null
null
null
#ifndef PASSWORD_HH_ #define PASSWORD_HH_ #include <stdexcept> #include "utils/secure.hh" namespace hush { namespace utils { class PasswordException : public std::runtime_error { using std::runtime_error::runtime_error; using std::runtime_error::what; }; class Password { public: void ask(char c...
20.129032
77
0.703526
spuriousdata
bde3fd581d1b4b58ee5617ac76b3af7cadd45c69
1,046
hpp
C++
include/utility/trait/type/categories/is_pointer.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
2
2017-12-10T10:59:48.000Z
2017-12-13T04:11:14.000Z
include/utility/trait/type/categories/is_pointer.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
include/utility/trait/type/categories/is_pointer.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
#ifndef __UTILITY_TRAIT_TYPE_CATEGORIES_IS_POINTER__ #define __UTILITY_TRAIT_TYPE_CATEGORIES_IS_POINTER__ #include<utility/trait/trait_helper.hpp> #include<utility/trait/type/transform/remove_cv.hpp> namespace utility { namespace trait { namespace type { namespace categories { // is_p...
22.73913
60
0.630019
SakuraLife
bde44bacbaed3669f5d0ab1f6a3a0b23927952cd
24,065
cpp
C++
TestFMUs/LotkaVolterraPrey/src/fmi2common/fmi2Functions.cpp
ghorwin/MasterSim
281b71e228435ca8fa02319bf2ce86b66b8b2b45
[ "BSD-3-Clause" ]
5
2021-11-17T07:12:54.000Z
2022-03-16T15:06:39.000Z
TestFMUs/Math003Part2/src/fmi2common/fmi2Functions.cpp
ghorwin/MasterSim
281b71e228435ca8fa02319bf2ce86b66b8b2b45
[ "BSD-3-Clause" ]
25
2021-09-09T07:39:13.000Z
2022-01-23T13:00:19.000Z
TestFMUs/Math003Part3/src/fmi2common/fmi2Functions.cpp
ghorwin/MasterSim
281b71e228435ca8fa02319bf2ce86b66b8b2b45
[ "BSD-3-Clause" ]
null
null
null
/* FMI Interface for Model Exchange and CoSimulation Version 2 Written by Andreas Nicolai (2018), andreas.nicolai@gmx.net The details of the actual model in question are encapsulated in the class derived from InstanceData. This program is free software: you can redistribute it and/or modify it under the ter...
30.578145
144
0.733846
ghorwin
bde64c400c3bcff2576a84864e561b5cfabdf431
566
cpp
C++
OOP/Exercises/Semester2/23.1/myClass.cpp
Solaflex/hf-ict
2ebed689087407019b540df07612525e8b8d6821
[ "MIT" ]
null
null
null
OOP/Exercises/Semester2/23.1/myClass.cpp
Solaflex/hf-ict
2ebed689087407019b540df07612525e8b8d6821
[ "MIT" ]
null
null
null
OOP/Exercises/Semester2/23.1/myClass.cpp
Solaflex/hf-ict
2ebed689087407019b540df07612525e8b8d6821
[ "MIT" ]
null
null
null
#include<iostream> #include<string> #include<myHeader.h> using namespace std; Point::Point(double x, double y) { this->_x = x; this->_y = y; } Point::Point(const Point &P) { this->_x = P._x; this->_y = P._y; } void Point::setPoint(double x, double y) { this->_x = x; this->_y = y; } void Point::showPoint() ...
12.304348
59
0.597173
Solaflex
bdeb7e69cc153950f4a428ed0437ddc6fa12c80c
4,373
cpp
C++
Engine/Renderer/Renderer.cpp
MadLadSquad/UntitledVulkanGameEngine
e7d41ab7fe6e104ad4aed6363cb384032ff6c184
[ "MIT" ]
16
2020-12-13T09:38:04.000Z
2022-03-20T14:33:55.000Z
Engine/Renderer/Renderer.cpp
MadLadSquad/UntitledVulkanGameEngine
e7d41ab7fe6e104ad4aed6363cb384032ff6c184
[ "MIT" ]
8
2020-12-25T14:49:41.000Z
2021-08-25T01:21:53.000Z
Engine/Renderer/Renderer.cpp
MadLadSquad/UntitledVulkanGameEngine
e7d41ab7fe6e104ad4aed6363cb384032ff6c184
[ "MIT" ]
4
2021-04-05T13:19:53.000Z
2022-03-18T10:56:35.000Z
// Renderer.cpp // Last update 22/9/2021 by Madman10K #include "Renderer.hpp" #include <Engine/Core/Core/Global.hpp> #include <GameFramework/GameplayClasses/Level/Level.hpp> #include <Renderer/EditorUI/Editor.hpp> UVK::Renderer::Renderer(UVK::Level* lvl, bool bUsesEditor) { startRenderer(lvl, bUsesEditor); } void...
29.348993
136
0.62863
MadLadSquad
bdf08b121e490d05aef5f59dae483c52964089f8
709
cpp
C++
STL/string/C/memchr.cpp
bayusamudra5502/PustakaCpp
ac67e47374740b4923dd135d67f4bf987d4010b4
[ "MIT" ]
null
null
null
STL/string/C/memchr.cpp
bayusamudra5502/PustakaCpp
ac67e47374740b4923dd135d67f4bf987d4010b4
[ "MIT" ]
null
null
null
STL/string/C/memchr.cpp
bayusamudra5502/PustakaCpp
ac67e47374740b4923dd135d67f4bf987d4010b4
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef struct{ char nama[50]; char kelas[50]; } IDENTITAS; int main(){ IDENTITAS *siswa; // Sekalian belajar pointer lah :v // siswa = (IDENTITAS*) malloc(sizeof(IDENTITAS)); // #include <cstdlib> (Gaya Bahasa C) siswa = new IDENTITAS()...
27.269231
93
0.558533
bayusamudra5502
bdf1ea2cbd66ee6f5425f805a67f763cf6fe38f1
49
cpp
C++
tutorials/cplusplus.com#1.0#1/otherlanguagefeatures/preprocessordirectives/conditional_inclusions/source1.cpp
officialrafsan/CppDroid
5fb2cc7750fea53b1ea6ff47b5094da6e95e9224
[ "MIT" ]
null
null
null
tutorials/cplusplus.com#1.0#1/otherlanguagefeatures/preprocessordirectives/conditional_inclusions/source1.cpp
officialrafsan/CppDroid
5fb2cc7750fea53b1ea6ff47b5094da6e95e9224
[ "MIT" ]
null
null
null
tutorials/cplusplus.com#1.0#1/otherlanguagefeatures/preprocessordirectives/conditional_inclusions/source1.cpp
officialrafsan/CppDroid
5fb2cc7750fea53b1ea6ff47b5094da6e95e9224
[ "MIT" ]
null
null
null
#ifdef TABLE_SIZE int table[TABLE_SIZE]; #endif
16.333333
22
0.77551
officialrafsan
bdf42c5517a4fde31873cfd88b348bfc22e54145
20,673
cc
C++
biod/biod_storage_test.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
biod/biod_storage_test.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
biod/biod_storage_test.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Chromium OS 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 "biod/biod_storage.h" #include <sys/resource.h> #include <algorithm> #include <memory> #include <unordered_set> #include <utility> #include ...
33.834697
142
0.721666
Toromino
bdf44695e767d57356d4e626cdc1b3d2aaa6b52d
783
cpp
C++
projects/Phantom/phantom/lang/MemberAnonymousStruct.cpp
vlmillet/phantom
e5579ea52dafded64fd2fe88aabfdf8a73534918
[ "MIT" ]
12
2019-12-26T00:55:39.000Z
2020-12-03T14:46:56.000Z
projects/Phantom/phantom/lang/MemberAnonymousStruct.cpp
vlmillet/Phantom
e5579ea52dafded64fd2fe88aabfdf8a73534918
[ "MIT" ]
null
null
null
projects/Phantom/phantom/lang/MemberAnonymousStruct.cpp
vlmillet/Phantom
e5579ea52dafded64fd2fe88aabfdf8a73534918
[ "MIT" ]
1
2020-12-09T11:47:13.000Z
2020-12-09T11:47:13.000Z
// license [ // This file is part of the Phantom project. Copyright 2011-2020 Vivien Millet. // Distributed under the MIT license. Text available here at // https://github.com/vlmillet/phantom // ] /* ******************* Includes ****************** */ #include "MemberAnonymousStruct.h" #include "Type.h" /* **********...
27.964286
98
0.66539
vlmillet
bdf6fc6043842805abd9cf148159e597e67da2e5
5,243
cpp
C++
plugins/GUI/guidriverAndroidGLES/src/guidriverAndroidGLES_pluginAPI.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
5
2016-04-18T23:12:51.000Z
2022-03-06T05:12:07.000Z
plugins/GUI/guidriverAndroidGLES/src/guidriverAndroidGLES_pluginAPI.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
2
2015-10-09T19:13:25.000Z
2018-12-25T17:16:54.000Z
plugins/GUI/guidriverAndroidGLES/src/guidriverAndroidGLES_pluginAPI.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
15
2015-02-23T16:35:28.000Z
2022-03-25T13:40:33.000Z
/* * guidriverAndroidGLES: module implementing GLES based window management for Android * Copyright (C) 2002 - 2011. Dinand Vanvelzen * * 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 Softwa...
42.97541
112
0.424948
amvb
da0376ef9d8db1cc7025b7251dea91a71cc7dd27
58,808
cpp
C++
providers/calculator/constants.cpp
KDE/mangonel
4b045d8d9977236dbe7e5f4cf22d32d536b42c49
[ "BSD-2-Clause" ]
4
2015-10-30T15:00:37.000Z
2020-07-30T07:26:31.000Z
providers/calculator/constants.cpp
KDE/mangonel
4b045d8d9977236dbe7e5f4cf22d32d536b42c49
[ "BSD-2-Clause" ]
null
null
null
providers/calculator/constants.cpp
KDE/mangonel
4b045d8d9977236dbe7e5f4cf22d32d536b42c49
[ "BSD-2-Clause" ]
null
null
null
// This file is part of the SpeedCrunch project // Copyright (C) 2007 Ariya Hidayat <ariya@kde.org> // Copyright (C) 2007, 2009, 2011, 2013, 2016 @heldercorreia // Copyright (C) 2009 Andreas Scherer <andreas_coder@freenet.de> // Copyright (C) 2016 Hadrien Theveneau <theveneau@gmail.com> // // This program is free softw...
73.144279
247
0.500238
KDE
da041e2b4a00631e4fd41ed8e818991b51e58ea5
750
cpp
C++
code/Thistle/source/thistle.cpp
pospeselr/SiCKL
e6b3b022df168cb7b853e233967407ff28dd8d1b
[ "MIT" ]
null
null
null
code/Thistle/source/thistle.cpp
pospeselr/SiCKL
e6b3b022df168cb7b853e233967407ff28dd8d1b
[ "MIT" ]
null
null
null
code/Thistle/source/thistle.cpp
pospeselr/SiCKL
e6b3b022df168cb7b853e233967407ff28dd8d1b
[ "MIT" ]
null
null
null
#include "thistle.hpp" #include "thistle_error.hpp" using ruff::translate_exceptions; static spark_context_t* g_spark_context = nullptr; RUFF_EXPORT void thistle_begin_session(thistle_error_t** error) { return translate_exceptions(error, [&]() { RUFF_THROW_IF_FALSE(g_spark_context == nullptr); ...
27.777778
75
0.734667
pospeselr
da057295d0031327a3dba640abc770e6f0340e15
21,633
cc
C++
client/client.cc
dubey/weaver
56a42fd2d0bbb14867ba792ca5461d16310a7387
[ "BSD-3-Clause" ]
163
2015-01-02T03:51:38.000Z
2022-03-21T23:06:39.000Z
client/client.cc
dubey/weaver
56a42fd2d0bbb14867ba792ca5461d16310a7387
[ "BSD-3-Clause" ]
1
2015-04-08T23:17:06.000Z
2015-04-24T15:25:26.000Z
client/client.cc
dubey/weaver
56a42fd2d0bbb14867ba792ca5461d16310a7387
[ "BSD-3-Clause" ]
20
2015-02-17T19:24:05.000Z
2020-10-29T01:59:18.000Z
/* * =============================================================== * Description: Client methods implementation. * * Created: 03/19/2014 11:58:26 PM * * Author: Ayush Dubey, dubey@cs.cornell.edu * * Copyright (C) 2013, Cornell University, see the LICENSE file * for li...
28.921123
158
0.623446
dubey
da079fe5b9ed290d7468fcbeab4cfe934049bda4
3,742
cpp
C++
src/shadereditor/src/shadereditor/vdialogconfig.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/shadereditor/src/shadereditor/vdialogconfig.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/shadereditor/src/shadereditor/vdialogconfig.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
 #include "cbase.h" #include "editorCommon.h" static const char *blendNames[] = { "None", "Blend enabled", "Blend inverted", "Blend additive", "Alpha test", "Alpha to coverage", }; static const int blendIDx[] = { ABLEND_NONE, ABLEND_SIMPLE, ABLEN...
31.711864
107
0.683057
cstom4994
da09f66117140485d8d119639c5745821b4e15ff
2,293
cpp
C++
src/game/client/neotokyo/vgui/neoframe.cpp
L-Leite/neotokyo-re
a45cdcb9027ffe8af72cf1f8e22976375e6b1e0a
[ "Unlicense" ]
4
2017-08-29T15:39:53.000Z
2019-06-04T07:37:48.000Z
src/game/client/neotokyo/vgui/neoframe.cpp
Ochii/neotokyo
a45cdcb9027ffe8af72cf1f8e22976375e6b1e0a
[ "Unlicense" ]
null
null
null
src/game/client/neotokyo/vgui/neoframe.cpp
Ochii/neotokyo
a45cdcb9027ffe8af72cf1f8e22976375e6b1e0a
[ "Unlicense" ]
1
2021-08-10T20:01:00.000Z
2021-08-10T20:01:00.000Z
#include "cbase.h" #include "neoframe.h" #include <vgui/ISurface.h> #include "neobutton.h" #include "neoimagebutton.h" #include "neoiconpanel.h" namespace vgui { CNeoFrame::CNeoFrame( Panel* parent, const char *panelName ) : Frame( parent, panelName ) { ISurface* pSurface = surface(); SetScheme( scheme()->LoadSch...
24.923913
90
0.71522
L-Leite
da0b6cc6de542adb2130739b6051d69e196ff3e7
5,195
cc
C++
nb/mbe/internal/vocoder/ch_decode.cc
go-voice/voice
f5275d2171e170f3712897734a43fc3c214c4840
[ "MIT" ]
null
null
null
nb/mbe/internal/vocoder/ch_decode.cc
go-voice/voice
f5275d2171e170f3712897734a43fc3c214c4840
[ "MIT" ]
null
null
null
nb/mbe/internal/vocoder/ch_decode.cc
go-voice/voice
f5275d2171e170f3712897734a43fc3c214c4840
[ "MIT" ]
null
null
null
/* * Project 25 IMBE Encoder/Decoder Fixed-Point implementation * Developed by Pavel Yazev E-mail: pyazev@gmail.com * Version 1.0 (c) Copyright 2009 * * This 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 Foundat...
27.930108
146
0.635419
go-voice
da0f748b42735aea05519bdc45685d64c52fff8c
744
cpp
C++
Challenge-2021-06/03_maximum_area_of_a_piece_of_cake_after_horizontal_and_vertical_cuts.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2021-06/03_maximum_area_of_a_piece_of_cake_after_horizontal_and_vertical_cuts.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
Challenge-2021-06/03_maximum_area_of_a_piece_of_cake_after_horizontal_and_vertical_cuts.cpp
qiufengyu/LetsCode
196fae0bf5c78ee20d05798a9439596e702fdb24
[ "MIT" ]
null
null
null
#include "../header.h" class Solution { public: int maxArea(int h, int w, vector<int>& horizontalCuts, vector<int>& verticalCuts) { horizontalCuts.push_back(0); verticalCuts.push_back(0); horizontalCuts.push_back(h); verticalCuts.push_back(w); sort(horizontalCuts.begin(), horizontalCu...
33.818182
87
0.581989
qiufengyu
da10a6bd00197ad54dc6ed883b90bf99b90c2d0f
26,212
cpp
C++
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgFX/BumpMapping.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
3
2018-08-20T12:12:43.000Z
2021-06-06T09:43:27.000Z
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgFX/BumpMapping.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
null
null
null
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgFX/BumpMapping.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
1
2022-03-31T03:12:23.000Z
2022-03-31T03:12:23.000Z
#include <osgFX/BumpMapping> #include <osgFX/Registry> #include <osg/VertexProgram> #include <osg/FragmentProgram> #include <osg/Texture2D> #include <osg/Depth> #include <osg/TexEnv> #include <osg/TexEnvCombine> #include <osg/BlendFunc> #include <osg/Geometry> #include <osg/Notify> #include <osgUtil/TangentSpaceGener...
40.079511
191
0.515413
UM-ARM-Lab
da1d2d957ca4231f3acc9b11a9d19591616097aa
6,373
cpp
C++
tests/coreTests/TestHMDNSResult.cpp
tkraiser/NetCHASM
6b6e70fb071c9be497b0f83359ecfa0ef6e8b2f4
[ "Apache-2.0" ]
13
2019-06-06T01:14:30.000Z
2022-03-03T05:57:51.000Z
tests/coreTests/TestHMDNSResult.cpp
tkraiser/NetCHASM
6b6e70fb071c9be497b0f83359ecfa0ef6e8b2f4
[ "Apache-2.0" ]
7
2019-07-23T18:31:20.000Z
2021-05-26T12:57:34.000Z
tests/coreTests/TestHMDNSResult.cpp
tkraiser/NetCHASM
6b6e70fb071c9be497b0f83359ecfa0ef6e8b2f4
[ "Apache-2.0" ]
12
2019-06-27T13:58:03.000Z
2021-12-23T07:43:06.000Z
// Copyright 2019, Oath Inc. // Licensed under the terms of the Apache 2.0 license. See LICENSE file in the root of the distribution for licensing details. #include "TestHMDNSResult.h" #include "HMDNSCache.h" #include "HMStateManager.h" #include "HMEventLoopQueue.h" #include "common.h" #include <unistd.h> #include <ar...
32.025126
126
0.694649
tkraiser
da1d851d028d3d7b0ca854bcbbe15e803d9b711e
2,350
cpp
C++
src/main/cpp/Commands/DriveWithJoystick.cpp
Volxz/barebonesFRC
db22e69f66b0606142beb55615147505f56e8cd4
[ "MIT" ]
2
2018-07-28T17:30:42.000Z
2018-09-12T18:14:20.000Z
src/main/cpp/Commands/DriveWithJoystick.cpp
frc5024/Prototype
cf219c7354a6258f55717a28572ddc2d3437ac3f
[ "MIT" ]
2
2018-09-23T01:03:48.000Z
2019-08-30T19:11:10.000Z
src/main/cpp/Commands/DriveWithJoystick.cpp
frc5024/Prototype
cf219c7354a6258f55717a28572ddc2d3437ac3f
[ "MIT" ]
2
2018-07-28T14:53:16.000Z
2018-09-20T19:52:51.000Z
// Include Required Files #include <Commands/DriveWithJoystick.hpp> // Header File #include <math.h> // STD math lib #include <Utilities/Log.hpp> // LOG tool. Used for printing to the RIOlog console #include "../RobotCFG.hpp" // Robot-wide configuration file DriveWithJoystick::DriveWithJoystick() { LOG...
25.543478
94
0.709787
Volxz
da1e059a75ec9a2080562f0b71ee8fcfdf63c04d
51,610
cpp
C++
src/Automata/BuchiAutomaton.cpp
vhavlena/ranker
837a98b462ea92769c82bf6f1678cc40d63937b0
[ "MIT" ]
null
null
null
src/Automata/BuchiAutomaton.cpp
vhavlena/ranker
837a98b462ea92769c82bf6f1678cc40d63937b0
[ "MIT" ]
null
null
null
src/Automata/BuchiAutomaton.cpp
vhavlena/ranker
837a98b462ea92769c82bf6f1678cc40d63937b0
[ "MIT" ]
null
null
null
#include "BuchiAutomaton.h" #include <boost/math/special_functions/factorials.hpp> /* * Rename states and symbols of the automaton to numbers (symbols are renamed * by the explicit map). * @param mpsymbol Explicit map assigning numbers to original symbols * @param start Starting number for states * @return Rename...
27.37931
132
0.610521
vhavlena
da21bfd3597a3856380aa86245a7a1f532cc2d79
989
cpp
C++
metrics/config.cpp
linhanwang/cppmetrics
d40797c41ef0686302111c3473c6d670efc8620a
[ "MIT" ]
null
null
null
metrics/config.cpp
linhanwang/cppmetrics
d40797c41ef0686302111c3473c6d670efc8620a
[ "MIT" ]
null
null
null
metrics/config.cpp
linhanwang/cppmetrics
d40797c41ef0686302111c3473c6d670efc8620a
[ "MIT" ]
null
null
null
#include <metrics/config.h> #include <metrics/counter.h> #include <metrics/gauge.h> #include <metrics/histogram.h> #include <array> #include <string> namespace metrics { // clang-format off // --------------------Counters-------------------------- std::array<std::string, NumCounters> counter_keys = { "CounterPl...
23.547619
59
0.595551
linhanwang
da264e470a8bdf0152440d4d41cf2e64af6ab9f6
14,066
cpp
C++
src/cpp/server/http/HttpConnection.cpp
ey6es/witgap
8f4af7adbde6bb172b4c66c0969e6f5d8736e7cb
[ "BSD-2-Clause" ]
2
2017-06-24T03:47:12.000Z
2017-08-11T00:04:46.000Z
src/cpp/server/http/HttpConnection.cpp
ey6es/witgap
8f4af7adbde6bb172b4c66c0969e6f5d8736e7cb
[ "BSD-2-Clause" ]
null
null
null
src/cpp/server/http/HttpConnection.cpp
ey6es/witgap
8f4af7adbde6bb172b4c66c0969e6f5d8736e7cb
[ "BSD-2-Clause" ]
null
null
null
// // $Id$ #include <QBuffer> #include <QCryptographicHash> #include <QTcpSocket> #include "ServerApp.h" #include "http/HttpConnection.h" #include "http/HttpManager.h" HttpConnection::HttpConnection (ServerApp* app, QTcpSocket* socket) : QObject(app->httpManager()), _app(app), _socket(socket), _unmas...
29.92766
97
0.577918
ey6es
da275a58a51b51647548ebb195f5e2cd634084e0
10,163
cc
C++
build/X86_MESI_Two_Level/cpu/o3/O3CPU.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
build/X86_MESI_Two_Level/cpu/o3/O3CPU.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
1
2020-08-20T05:53:30.000Z
2020-08-20T05:53:30.000Z
build/X86_MESI_Two_Level/cpu/o3/O3CPU.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_objects_O3CPU[] = { 120,156,165,152,89,115,27,55,18,128,65,74,166,14,203,214, 101,217,241,61,190,233,67,86,108,199,142,227,56,137,117,218, 76,100,73,30,82,113,69,47,172,225,0,20,97,13,103,232, 1,70,22,183,178,85,91,229,125,221,170,60,236,79,216,...
57.744318
66
0.6626
hoho20000000
da29683938bbe8030bab1dbe5a47820a702eb1de
6,890
hpp
C++
include/Parallax/FS/FileHandler.hpp
Rarioty/Parallax-Engine
494fc6b07e51832c81b5efea0bc71cabac41ee7b
[ "MIT" ]
6
2017-07-13T10:55:49.000Z
2018-12-01T23:05:25.000Z
include/Parallax/FS/FileHandler.hpp
Rarioty/Parallax-Engine
494fc6b07e51832c81b5efea0bc71cabac41ee7b
[ "MIT" ]
null
null
null
include/Parallax/FS/FileHandler.hpp
Rarioty/Parallax-Engine
494fc6b07e51832c81b5efea0bc71cabac41ee7b
[ "MIT" ]
null
null
null
#ifndef PARALLAX_FILE_HANDLER_HPP_GUARD #define PARALLAX_FILE_HANDLER_HPP_GUARD #include <Parallax/FS/IFileSystem.hpp> namespace Parallax { /** * \namespace Parallax::FS * \ingroup PIL */ namespace FS { /** * \class FileHandler * \brief Class to handle fi...
32.196262
114
0.390566
Rarioty
da2a558a04a056022ed85842d70ea520484946a9
56
hpp
C++
src/boost_fusion_sequence_intrinsic_value_at.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_fusion_sequence_intrinsic_value_at.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_fusion_sequence_intrinsic_value_at.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/fusion/sequence/intrinsic/value_at.hpp>
28
55
0.821429
miathedev
da2c9a77307d69ebec5e3dc5b6ca812c83bcd4d4
1,867
cpp
C++
rawdev/Partition.cpp
NicolaiNyberg/rawdev
93069ea7a95d5fc1662ac14bd00e9e69f4220b8f
[ "BSD-3-Clause" ]
2
2016-07-15T14:50:33.000Z
2021-06-21T05:53:08.000Z
rawdev/Partition.cpp
NicolaiNyberg/rawdev
93069ea7a95d5fc1662ac14bd00e9e69f4220b8f
[ "BSD-3-Clause" ]
null
null
null
rawdev/Partition.cpp
NicolaiNyberg/rawdev
93069ea7a95d5fc1662ac14bd00e9e69f4220b8f
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2016, Nicolai R. Nyberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
41.488889
91
0.78361
NicolaiNyberg
da2e6880a61bdc8378a53e9f796ac41506cb629a
29,194
cc
C++
components/sync/base/sync_prefs_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/sync/base/sync_prefs_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/sync/base/sync_prefs_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright (c) 2012 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/sync/base/sync_prefs.h" #include <memory> #include "base/command_line.h" #include "base/test/metrics/histogram_tester.h" #inclu...
40.887955
80
0.745427
sarang-apps
da378dd73a89aa43be30628211b3325657fcc09e
963
cpp
C++
src/vogleditor/vogleditor_statetreearbprogramenvitem.cpp
apportable/vogl
4f05918a14ba3c4efc3cbd8b05b6964e625c751b
[ "MIT" ]
5
2016-07-23T00:33:31.000Z
2020-12-18T09:40:35.000Z
src/vogleditor/vogleditor_statetreearbprogramenvitem.cpp
LunarG/vogl
172a86d9c4ee08dccbf4e342caa1ba63f1ea2b0e
[ "MIT" ]
null
null
null
src/vogleditor/vogleditor_statetreearbprogramenvitem.cpp
LunarG/vogl
172a86d9c4ee08dccbf4e342caa1ba63f1ea2b0e
[ "MIT" ]
null
null
null
#include "vogleditor_statetreearbprogramenvitem.h" #include "vogl_arb_program_state.h" vogleditor_stateTreeArbProgramEnvItem::vogleditor_stateTreeArbProgramEnvItem(QString name, unsigned int index, vogleditor_stateTreeItem* parentNode, vogl_arb_program_environment_state& state) : vogleditor_stateTreeItem(name, "",...
32.1
191
0.725857
apportable
da3e450ee4ebba4325448b288dade730d02bb22d
17,900
cc
C++
apps/node_creator.cc
imonlius/interactive-neurons
da8cbdad8cf5595a2be1b48125ecad5e6c802f2c
[ "MIT" ]
2
2020-05-10T00:29:17.000Z
2020-05-16T21:55:31.000Z
apps/node_creator.cc
imonlius/interactive-neurons
da8cbdad8cf5595a2be1b48125ecad5e6c802f2c
[ "MIT" ]
null
null
null
apps/node_creator.cc
imonlius/interactive-neurons
da8cbdad8cf5595a2be1b48125ecad5e6c802f2c
[ "MIT" ]
null
null
null
// Copyright (c) 2020 Simon Liu. All rights reserved. #include <cinder/CinderImGui.h> #include <imnodes.h> #include "mnist-utilities.h" #include "node_creator.h" using neurons::Node; namespace neurons::spawner { bool SpawnMnistDataNode(neurons::Network& network, const std::string& data_directory, dim_t batch_s...
32.904412
80
0.616201
imonlius
da3effd26f64693e19d5245cc8a544e290c437e0
1,575
cpp
C++
XXmotif/src/seqFormat/Fasta.cpp
yanshen43/MCAT
336c5deea456dae0916fbc8935930402a4acbcad
[ "MIT" ]
null
null
null
XXmotif/src/seqFormat/Fasta.cpp
yanshen43/MCAT
336c5deea456dae0916fbc8935930402a4acbcad
[ "MIT" ]
null
null
null
XXmotif/src/seqFormat/Fasta.cpp
yanshen43/MCAT
336c5deea456dae0916fbc8935930402a4acbcad
[ "MIT" ]
null
null
null
#include "Fasta.h" #include <stdexcept> #include <iostream> #include <string> Fasta::Fasta(const std::string &id, const std::string &seq, const a_type alph) : FormatContainer(id, seq), A(alph){ } Fasta::Fasta(const char *id, const char *seq, const a_type alph) : FormatContainer(id, seq), A(alph){ } bool Fasta::read...
21.283784
101
0.591111
yanshen43
da410a14d08e8f8b5658beb5d929eb918978403f
5,577
cpp
C++
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/SimpleExamples/pinatrace.cpp
ArthasZhang007/15418FinalProject
a71f698ea48ebbc446111734c198f16a55633669
[ "MIT" ]
null
null
null
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/SimpleExamples/pinatrace.cpp
ArthasZhang007/15418FinalProject
a71f698ea48ebbc446111734c198f16a55633669
[ "MIT" ]
null
null
null
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/SimpleExamples/pinatrace.cpp
ArthasZhang007/15418FinalProject
a71f698ea48ebbc446111734c198f16a55633669
[ "MIT" ]
null
null
null
/* * Copyright (C) 2004-2021 Intel Corporation. * SPDX-License-Identifier: MIT */ /*! @file * This file contains an ISA-portable PIN tool for tracing memory accesses. */ #include "pin.H" #include <iostream> #include <fstream> #include <iomanip> using std::cerr; using std::dec; using std::endl; using std::hex; u...
29.823529
127
0.498655
ArthasZhang007
da43153b09481a6b64db4163963ca5576d975259
440
hpp
C++
Next Power of Two/include/powersOfTwo.hpp
sinamoghimi73/LazyCpp
429b3481856c3be0a37dbcb3b3c05d3f71310e2f
[ "MIT" ]
1
2021-07-11T18:30:03.000Z
2021-07-11T18:30:03.000Z
Next Power of Two/include/powersOfTwo.hpp
sinamoghimi73/LazyCpp
429b3481856c3be0a37dbcb3b3c05d3f71310e2f
[ "MIT" ]
null
null
null
Next Power of Two/include/powersOfTwo.hpp
sinamoghimi73/LazyCpp
429b3481856c3be0a37dbcb3b3c05d3f71310e2f
[ "MIT" ]
null
null
null
// // powersOfTwo.hpp // Math // #ifndef powersOfTwo_h #define powersOfTwo_h #include <algorithm> #include <vector> namespace math { bool isPowerOfTwo(int number) { return number && !(number & (number - 1)); } int nextPowerOfTwo(int number) { if (isPowerOfTwo(number)) return number; int twosPower{1}; ...
14.666667
76
0.670455
sinamoghimi73
da474f8a8c8079635c075037bd74ea43f7b3a823
212
cpp
C++
dev/Gems/CloudGemDefectReporter/v1/Code/Source/NSLookup_null.cpp
Kezryk/lumberyard
d21172c26536133a4213873469a171f4f0c4280c
[ "AML" ]
1
2019-02-06T19:12:41.000Z
2019-02-06T19:12:41.000Z
dev/Gems/CloudGemDefectReporter/v1/Code/Source/NSLookup_null.cpp
Kezryk/lumberyard
d21172c26536133a4213873469a171f4f0c4280c
[ "AML" ]
null
null
null
dev/Gems/CloudGemDefectReporter/v1/Code/Source/NSLookup_null.cpp
Kezryk/lumberyard
d21172c26536133a4213873469a171f4f0c4280c
[ "AML" ]
null
null
null
#include "CloudGemDefectReporter_precompiled.h" #include <NSLookup.h> namespace CloudGemDefectReporter { AZStd::string NSLookup::GetResult(const AZStd::string& domainName) { return ""; } }
16.307692
70
0.70283
Kezryk
da4abb832f9fcca96b4fcc7b3b6e62bff895e398
10,224
cc
C++
chrome/browser/content_settings/mixed_content_settings_tab_helper_browsertest.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
chrome/browser/content_settings/mixed_content_settings_tab_helper_browsertest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/browser/content_settings/mixed_content_settings_tab_helper_browsertest.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 2021 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 "chrome/browser/content_settings/mixed_content_settings_tab_helper.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser...
40.896
80
0.769562
zealoussnow
da4cb9fb3310cd42b8428597f08a82a72eea53cd
1,377
hpp
C++
apps/launcher/graphicspage.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/launcher/graphicspage.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/launcher/graphicspage.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#ifndef GRAPHICSPAGE_H #define GRAPHICSPAGE_H #include <QWidget> #include <OgreRoot.h> #include <OgreRenderSystem.h> #include <components/ogreinit/ogreinit.hpp> #include "ui_graphicspage.h" namespace Files { struct ConfigurationManager; } namespace Launcher { class GraphicsSettings; class GraphicsPage ...
23.741379
112
0.693537
Bodillium
da5496dbc745f0c0f3b16b78bc2ef3adb17e62e5
491
hxx
C++
src/include/Settings.hxx
michael-gober/Smart_Symbolic_Graphing_Calculator
56caaab9076d553de1fee24bb0e4f9e691c07e64
[ "MIT" ]
null
null
null
src/include/Settings.hxx
michael-gober/Smart_Symbolic_Graphing_Calculator
56caaab9076d553de1fee24bb0e4f9e691c07e64
[ "MIT" ]
null
null
null
src/include/Settings.hxx
michael-gober/Smart_Symbolic_Graphing_Calculator
56caaab9076d553de1fee24bb0e4f9e691c07e64
[ "MIT" ]
1
2021-11-20T21:25:15.000Z
2021-11-20T21:25:15.000Z
#ifndef SETTINGS_HXX #define SETTINGS_HXX #include <lvgl/lvgl.h> #include <calc_conf.h> #if ENABLE_MCP_KEYPAD #include <wiringPi.h> #include <softPwm.h> #endif #include <stdlib.h> #include <cstdio> // #include "utils.hxx" enum { LV_MENU_ITEM_BUILDER_VARIANT_1, LV_MENU_ITEM_BUILDER_VARIANT_2 }; typedef uint8_t ...
20.458333
46
0.773931
michael-gober
da56c172e745d9540553e4edce727aa1fe89662f
2,080
cxx
C++
MUON/MUONrec/AliMUONVClusterServer.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
MUON/MUONrec/AliMUONVClusterServer.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
MUON/MUONrec/AliMUONVClusterServer.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors are ...
37.142857
90
0.618269
AllaMaevskaya
da57dc11f6e9455b654944a2ba35f9263bc6423e
2,788
cpp
C++
OfferReview/OfferReview/Sort/01_bubbleSort/BubbleSort.cpp
chm994483868/HMDailyLearningRecord
95ff0a5347927ce4527bcdd70374e5be22bfc60d
[ "MIT" ]
2
2021-06-26T08:07:04.000Z
2021-08-03T06:05:40.000Z
OfferReview/OfferReview/Sort/01_bubbleSort/BubbleSort.cpp
chm994483868/HMDailyLearningRecord
95ff0a5347927ce4527bcdd70374e5be22bfc60d
[ "MIT" ]
null
null
null
OfferReview/OfferReview/Sort/01_bubbleSort/BubbleSort.cpp
chm994483868/HMDailyLearningRecord
95ff0a5347927ce4527bcdd70374e5be22bfc60d
[ "MIT" ]
null
null
null
// // BubbleSort.cpp // OfferReview // // Created by CHM on 2020/8/4. // Copyright © 2020 CHM. All rights reserved. // #include "BubbleSort.hpp" int sum(int n) { return n > 1? sum(n - 1) + n: 1; } void BubbleSort::bubbleSort(int nums[], int count) { if (nums == nullptr || count <= 0) { return; ...
21.612403
71
0.445122
chm994483868
da583ef22a4c40fc35c590c384b1ee57d11778d1
1,081
cpp
C++
examples/echo/tcpecho.cpp
Tonvey/HuoLun
f05e0faae6d397b18bf7ba198bc55c3a57844ee6
[ "BSD-2-Clause" ]
null
null
null
examples/echo/tcpecho.cpp
Tonvey/HuoLun
f05e0faae6d397b18bf7ba198bc55c3a57844ee6
[ "BSD-2-Clause" ]
null
null
null
examples/echo/tcpecho.cpp
Tonvey/HuoLun
f05e0faae6d397b18bf7ba198bc55c3a57844ee6
[ "BSD-2-Clause" ]
null
null
null
#include "Huolun.h" #include "HuolunCore/HTCPListenerComponent.h" #include "HuolunCore/HTCPDataComponent.h" #include "util/EchoLayer.hpp" #include <iostream> using namespace std; //Factory create the next layer of new socket data component class MyLayerFactory :public HLayerFactory { public: virtual HLayer *Cre...
23
65
0.635523
Tonvey
da59dc75af4536340a98f0fe440ccd71eb748d78
988
cpp
C++
CodeForces.com/regular_rounds/#355/D.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
CodeForces.com/regular_rounds/#355/D.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
CodeForces.com/regular_rounds/#355/D.cpp
mstrechen/cp
ffac439840a71f70580a0ef197e47479e167a0eb
[ "MIT" ]
null
null
null
#include<iostream> #include<fstream> #include<vector> using namespace std; int a[300][300]; vector < pair<pair<int,int>, int> > allX[90002]; int main() { fstream cin("input.txt"); ios::sync_with_stdio(false); int n,m,p; cin >> n >> m >> p; for(int i = 0; i<n; i++) for(int j = 0; j<m; j+...
26
98
0.48583
mstrechen
da5acfce2e340bab5dd5cfd12d94e23048341a27
9,822
hpp
C++
src/ttauri/GUI/draw_context.hpp
prollings/ttauri
51aa748eb52b72a06038ffa12952523cf3d4f9b6
[ "BSL-1.0" ]
null
null
null
src/ttauri/GUI/draw_context.hpp
prollings/ttauri
51aa748eb52b72a06038ffa12952523cf3d4f9b6
[ "BSL-1.0" ]
null
null
null
src/ttauri/GUI/draw_context.hpp
prollings/ttauri
51aa748eb52b72a06038ffa12952523cf3d4f9b6
[ "BSL-1.0" ]
null
null
null
// Copyright Take Vos 2020. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) // Copyright 2020 Pokitec // All rights reserved. #pragma once #include "gui_device_vulkan.hpp" #include "gui_window.hpp" #include "the...
33.986159
130
0.655366
prollings
da5c24c789ecf41b35d969605f88cd7430bd6a62
297
hpp
C++
include/SSVUtils/Easing/Easing.hpp
SuperV1234/SSVUtils
a0e801b180bf65d7b3be4ea1e15b840c52e92efc
[ "AFL-3.0" ]
55
2015-01-27T09:45:01.000Z
2020-05-18T18:26:44.000Z
include/SSVUtils/Easing/Easing.hpp
vittorioromeo/SSVUtils
dafa2499bcd350c3bfdbfb84d522e022c3513a93
[ "AFL-3.0" ]
10
2015-01-12T20:08:59.000Z
2020-08-29T23:40:59.000Z
include/SSVUtils/Easing/Easing.hpp
vittorioromeo/SSVUtils
dafa2499bcd350c3bfdbfb84d522e022c3513a93
[ "AFL-3.0" ]
8
2015-02-24T04:30:50.000Z
2021-02-04T04:37:58.000Z
// Copyright (mC) 2013-2015 Vittorio Romeo // License: Academic Free License ("AFL") v. 3.0 // AFL License page: http://opensource.org/licenses/AFL-3.0 // Adapted from: http://www.robertpenner.com/easing/ #ifndef SSVU_EASING #define SSVU_EASING #include "SSVUtils/Easing/Inc/Easing.hpp" #endif
24.75
59
0.737374
SuperV1234
da5ce6ca4c63c7f39ac5545ef54802e18552c23d
33,619
cc
C++
libipp/ipp_parser.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
libipp/ipp_parser.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
libipp/ipp_parser.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright 2019 The Chromium OS 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 "libipp/ipp_parser.h" #include <set> #include "libipp/ipp_encoding.h" namespace ipp { namespace { // This parameter defines how deep can b...
36.149462
80
0.642405
strassek
da5d9efe3ca0bf33f1659138cce138062b57df69
11,100
cc
C++
src/XmlFonts.cc
flexpaper/pdf2json
b671b647a7e487b021744f330b8dd2d6ccfa8103
[ "Linux-OpenIB" ]
278
2015-05-01T05:33:42.000Z
2022-03-26T15:51:30.000Z
src/XmlFonts.cc
flexpaper/pdf2json
b671b647a7e487b021744f330b8dd2d6ccfa8103
[ "Linux-OpenIB" ]
46
2015-09-14T17:03:45.000Z
2021-03-31T09:52:48.000Z
src/XmlFonts.cc
flexpaper/pdf2json
b671b647a7e487b021744f330b8dd2d6ccfa8103
[ "Linux-OpenIB" ]
49
2015-08-10T01:49:21.000Z
2022-03-23T07:32:59.000Z
#include "XmlFonts.h" #include "GlobalParams.h" #include "UnicodeMap.h" #include <stdio.h> #ifndef _WIN32 #include <unistd.h> #endif struct Fonts{ char *Fontname; char *name; }; const int font_num=13; static Fonts fonts[font_num+1]={ {"Courier", "Courier" }, {"Courier-Bold", ...
27.959698
112
0.517658
flexpaper
da610bd3ac859867f71e0a1d36911d18ea1604e0
1,855
cpp
C++
io/FileInputStream.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
3
2019-04-20T10:16:36.000Z
2021-03-21T19:51:38.000Z
io/FileInputStream.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
null
null
null
io/FileInputStream.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
2
2020-04-18T20:04:24.000Z
2021-09-19T05:07:41.000Z
#include "FileInputStream.h" #include "StdioEx.h" #include "FileNotFoundException.h" #include <assert.h> #include "config.h" //----------------------------------------------------------------------------- using namespace lang; //----------------------------------------------------------------------------- ...
19.123711
90
0.545553
Andrewich
da634c368b3a0a29c30f66ff098f84b99287efa1
1,713
cc
C++
Codeforces/358 Division 2/Problem C/C.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
Codeforces/358 Division 2/Problem C/C.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
Codeforces/358 Division 2/Problem C/C.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include <bits/stdc++.h> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define se second #define pb push_back #define mp make_pair #define foreach(it, v) for(__typeof((v).begin()) it=(v).begin(); it != (v).end(); ++it) #define meta __FUN...
19.465909
97
0.58669
VastoLorde95
da672bedd6ee61859e9f0732f337bd77db1cf8d7
832
cpp
C++
AtCoder/Tenka1 Programmer Beginner Contest/C.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
AtCoder/Tenka1 Programmer Beginner Contest/C.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
AtCoder/Tenka1 Programmer Beginner Contest/C.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
#include <cstdio> #include <algorithm> using namespace std; int n, m, l, r; long long a[100010], b[100010], ans, ans1; int main() { scanf("%d", &n); l = 1; r = n; for (int i = 1; i <= n; i++) scanf("%lld", &a[i]); sort(a + 1, a + n + 1); for (int i = 2; i < n; i++) b[i] = 2; b[1] = b[n] = 1; for (int i = 1; i...
21.894737
53
0.411058
HeRaNO
da6e53b2547e59fa9387918bfc120b88de19ddfb
1,525
cpp
C++
src/openloco/objects/objectmgr.cpp
IntelOrca/OpenLoco
9a72b10522a6b20c68bbf90e12c8aeb6089a043a
[ "MIT" ]
null
null
null
src/openloco/objects/objectmgr.cpp
IntelOrca/OpenLoco
9a72b10522a6b20c68bbf90e12c8aeb6089a043a
[ "MIT" ]
null
null
null
src/openloco/objects/objectmgr.cpp
IntelOrca/OpenLoco
9a72b10522a6b20c68bbf90e12c8aeb6089a043a
[ "MIT" ]
null
null
null
#include "objectmgr.h" #include "../interop/interop.hpp" using namespace openloco::interop; namespace openloco::objectmgr { loco_global_array<cargo_object*, 32, 0x0050C700> _cargoObjects; // 0x00470F3C void load_index() { call(0x00470F3C); } cargo_object* get_cargo_object(size_t id) ...
24.596774
67
0.419016
IntelOrca
da6ea16f1defdc05c395a9c036a0d6900ff7dce4
8,215
cpp
C++
flextyper/test/tst_qkMapClass.cpp
wassermanlab/OpenFlexTyper
35edbf2c29f20ccec20baaaf46cc2382b7defda6
[ "MIT" ]
7
2019-11-26T00:01:58.000Z
2021-04-03T05:31:44.000Z
flextyper/test/tst_qkMapClass.cpp
wassermanlab/OpenFlexTyper
35edbf2c29f20ccec20baaaf46cc2382b7defda6
[ "MIT" ]
33
2019-10-22T22:23:51.000Z
2020-10-02T20:14:17.000Z
flextyper/test/tst_qkMapClass.cpp
wassermanlab/OpenFlexTyper
35edbf2c29f20ccec20baaaf46cc2382b7defda6
[ "MIT" ]
4
2019-11-29T23:16:57.000Z
2020-03-07T19:04:26.000Z
#include <gtest/gtest.h> #include "qkMapClass.cpp" #include <set> #include <fstream> #include <climits> using namespace std; namespace ft { class TestQKMap : public ::testing::Test { protected: virtual void SetUp() {} virtual void TearDown() {} public: }; #define TEST_DESCRIPTION(desc) RecordProperty("d...
36.511111
87
0.637858
wassermanlab
da70ff3007720261a2b8a57f69eb0de419ef2aeb
36,007
cpp
C++
src/ExtFilterModifySurface/FeatureConvincedDenoising.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/ExtFilterModifySurface/FeatureConvincedDenoising.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/ExtFilterModifySurface/FeatureConvincedDenoising.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie Authors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, mer...
35.30098
80
0.634627
voxie-viewer
da7167b4bc175e444057d257763b7221b6630bc4
119
cpp
C++
TBGame/sfml_app.cpp
Alexander3006/TBGame
d4a73d0e76d3ef1bf894a325840a4d16c507d574
[ "Apache-2.0" ]
null
null
null
TBGame/sfml_app.cpp
Alexander3006/TBGame
d4a73d0e76d3ef1bf894a325840a4d16c507d574
[ "Apache-2.0" ]
null
null
null
TBGame/sfml_app.cpp
Alexander3006/TBGame
d4a73d0e76d3ef1bf894a325840a4d16c507d574
[ "Apache-2.0" ]
null
null
null
#include <SFML/Graphics.hpp> #include "GameManager.h" int main() { GameManager game; game.StartMenu(); return 0; }
11.9
28
0.697479
Alexander3006
da7222401f9a10b9aa345c4f925f04ac0d99accd
4,297
cpp
C++
src/app/qgsmaptooladdring.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/app/qgsmaptooladdring.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/app/qgsmaptooladdring.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgsmaptooladdring.cpp - map tool to cut rings in polygon and multipolygon features --------------------- begin : April 2007 copyright : (C) 2007 by Marco Hugentobler email : marco d...
30.692857
125
0.575052
dyna-mis
da72549b78468ab4136ac37a958007079d6e758b
912
cpp
C++
HackatonServer/app/testConvert/main.cpp
Engilian/3BF6PP
0edaaeb9cd4181dfd673ade96b8bd8b65e0a3970
[ "Apache-2.0" ]
null
null
null
HackatonServer/app/testConvert/main.cpp
Engilian/3BF6PP
0edaaeb9cd4181dfd673ade96b8bd8b65e0a3970
[ "Apache-2.0" ]
null
null
null
HackatonServer/app/testConvert/main.cpp
Engilian/3BF6PP
0edaaeb9cd4181dfd673ade96b8bd8b65e0a3970
[ "Apache-2.0" ]
null
null
null
#include <QCoreApplication> #include <QDebug> #include <pfactory/pfactory.h> #include <xl_to_json_converter.h> #include <xl_to_json_converter_task.h> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); try { pf::FactoryExp::inst()->add<xl::XlToJsonConverter>( "xl::XlToJsonConverter" ); } cat...
24.648649
82
0.58443
Engilian
da764f5e2ec794bb9f29bc83e7f8bcb398aea08d
782
hh
C++
CppPool/cpp_d10/ex03/AMateria.hh
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
40
2018-01-28T14:23:27.000Z
2022-03-05T15:57:47.000Z
CppPool/cpp_d10/ex03/AMateria.hh
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
1
2021-10-05T09:03:51.000Z
2021-10-05T09:03:51.000Z
CppPool/cpp_d10/ex03/AMateria.hh
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
73
2019-01-07T18:47:00.000Z
2022-03-31T08:48:38.000Z
// // AMateria.hh for AMetaria in /home/gwendoline/Epitech/Tek2/Piscine_cpp/piscine_cpp_d10/ex06 // // Made by Gwendoline Rodriguez // Login <gwendoline@epitech.net> // // Started on Fri Jan 15 16:29:55 2016 Gwendoline Rodriguez // Last update Fri Jan 15 16:56:33 2016 Gwendoline Rodriguez // #ifndef AMATERIA_HH #de...
22.342857
93
0.719949
667MARTIN
da7a26542d67ec8251cfabdbe7cd8ca6341e2290
15,911
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/app/admin/CDeviceAdminInfo.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/app/admin/CDeviceAdminInfo.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/app/admin/CDeviceAdminInfo.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos 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 // // ...
32.671458
106
0.641757
jingcao80
da7b6c911ae23ea1645159e3cd882c7bf86017ed
3,052
cpp
C++
ExemploGrafos_BuscaEmProfundidade/grafo_buscaprofundidade.cpp
lucaslgr/LearningCplusplus
579e4ddc8a55605af9b46e24bfb91897d3be0274
[ "MIT" ]
1
2020-07-14T16:49:52.000Z
2020-07-14T16:49:52.000Z
ExemploGrafos_BuscaEmProfundidade/grafo_buscaprofundidade.cpp
lucaslgr/LearningCplusplus
579e4ddc8a55605af9b46e24bfb91897d3be0274
[ "MIT" ]
null
null
null
ExemploGrafos_BuscaEmProfundidade/grafo_buscaprofundidade.cpp
lucaslgr/LearningCplusplus
579e4ddc8a55605af9b46e24bfb91897d3be0274
[ "MIT" ]
null
null
null
/* ---------------------------------GRAFO - DFS (BUSCA EM PROFUNDIDADE)------------------------------------ -MATERIAL UTILIZADO para entender a teoria: ->> https://www.slideshare.net/mcastrosouza/grafos-representao NÓS: são entidades ARESTAS: são relações entre eles */ #include <iostream> #include...
23.476923
108
0.539974
lucaslgr
da7b77477bb015f50380a03161481d333cccb0e0
636
cpp
C++
Engine/Input/Input.cpp
ryanvanrooyen/GameFramework
56ec1fe66964b2963cbdb2ba04640be47de59cc7
[ "Apache-2.0" ]
null
null
null
Engine/Input/Input.cpp
ryanvanrooyen/GameFramework
56ec1fe66964b2963cbdb2ba04640be47de59cc7
[ "Apache-2.0" ]
null
null
null
Engine/Input/Input.cpp
ryanvanrooyen/GameFramework
56ec1fe66964b2963cbdb2ba04640be47de59cc7
[ "Apache-2.0" ]
null
null
null
#include "Input.hpp" #include "Core/Engine.hpp" #include "Core/Window.hpp" namespace Game { bool Input::IsKeyPressed(KeyCode key) { return Engine::Instance()->ActiveWindow()->IsKeyPressed(key); } bool Input::IsMousePressed(MouseCode button) { return Engine::Instance()->ActiveWindow()->IsMousePressed(button...
16.736842
70
0.701258
ryanvanrooyen
da824fe767cabfa0e650463377120d29a7acf67c
29,223
hpp
C++
include/fiction/layouts/cartesian_layout.hpp
ElderDelp/fiction
f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8
[ "MIT" ]
null
null
null
include/fiction/layouts/cartesian_layout.hpp
ElderDelp/fiction
f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8
[ "MIT" ]
null
null
null
include/fiction/layouts/cartesian_layout.hpp
ElderDelp/fiction
f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8
[ "MIT" ]
null
null
null
// // Created by marcel on 31.03.21. // #ifndef FICTION_CARTESIAN_LAYOUT_HPP #define FICTION_CARTESIAN_LAYOUT_HPP #include "fiction/layouts/coordinates.hpp" #include "fiction/utils/range.hpp" #include <mockturtle/networks/detail/foreach.hpp> #include <algorithm> #include <cstdint> #include <memory> #include <set> #...
38.100391
120
0.627417
ElderDelp
da83becc04c5b2afeacec29c96ed4acf29d17340
19,791
cpp
C++
third_party/omr/compiler/runtime/OMRCodeMetaDataManager.cpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/compiler/runtime/OMRCodeMetaDataManager.cpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/compiler/runtime/OMRCodeMetaDataManager.cpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright (c) 2000, 2019 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at http://ec...
29.104412
166
0.635188
xiacijie
da8414df4a5d267ec1be753489477d5e10f86b4f
1,928
hpp
C++
src/arch/runtime/event_queue/kqueue.hpp
zadcha/rethinkdb
bb4f5cc28242dc1e29e9a46a8a931ec54420070c
[ "Apache-2.0" ]
21,684
2015-01-01T03:42:20.000Z
2022-03-30T13:32:44.000Z
src/arch/runtime/event_queue/kqueue.hpp
RethonkDB/rethonkdb
8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee
[ "Apache-2.0" ]
4,067
2015-01-01T00:04:51.000Z
2022-03-30T13:42:56.000Z
src/arch/runtime/event_queue/kqueue.hpp
RethonkDB/rethonkdb
8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee
[ "Apache-2.0" ]
1,901
2015-01-01T21:05:59.000Z
2022-03-21T08:14:25.000Z
// Copyright 2010-2014 RethinkDB, all rights reserved. #ifndef ARCH_RUNTIME_EVENT_QUEUE_KQUEUE_HPP_ #define ARCH_RUNTIME_EVENT_QUEUE_KQUEUE_HPP_ #include <sys/event.h> #include <map> #include <set> #include "arch/runtime/event_queue_types.hpp" #include "arch/runtime/runtime_utils.hpp" #include "arch/runtime/system_e...
34.428571
86
0.745851
zadcha
da8a3533e46589d70e81fbf044dc6f7c0a0bde61
535
cpp
C++
Small_2D_Game_Semester_Project_Windows/main.cpp
Sziperd/Portfolio
38eb86c9c3aca0457f15cc83ac16fccd968a9b3e
[ "Apache-2.0" ]
null
null
null
Small_2D_Game_Semester_Project_Windows/main.cpp
Sziperd/Portfolio
38eb86c9c3aca0457f15cc83ac16fccd968a9b3e
[ "Apache-2.0" ]
null
null
null
Small_2D_Game_Semester_Project_Windows/main.cpp
Sziperd/Portfolio
38eb86c9c3aca0457f15cc83ac16fccd968a9b3e
[ "Apache-2.0" ]
null
null
null
#include "Glowny.h" #define _CRTDBG_MAP_ALLOC #include <stdlib.h> #include <crtdbg.h> clock_t TimeZero; //dostep do clocka systemowego aby gra dzialala w takiej samej predkosci na szybszym jak i wolniejszym sprzecie oraz aby mozliwe bylo losowanie liczby (potrzebne do ruchow NPC) double deltaTime = 0; int...
21.4
195
0.697196
Sziperd
da8ac975ec6d3b5a38308ec07b9d3888dfd29d29
2,475
cpp
C++
p399/p399.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
1
2019-10-07T05:00:21.000Z
2019-10-07T05:00:21.000Z
p399/p399.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
p399/p399.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
class Solution { public: vector<double> calcEquation(vector<pair<string, string>> equations, vector<double>& values, vector<pair<string, string>> queries) { unordered_map<string,int> m; int n = 0; vector<vector<pair<int,double>>> g; for (int i = 0; i < equations.size(); ++i) ...
24.029126
135
0.423434
suzyz
da8c0a5d9483968b5938209dc7000f29616159dd
2,310
cc
C++
cookiec/src/impl/lexer/Token.cc
AdrianGjerstad/cookie
edffe55a6ca0fa4a1f3107f77a4fb27b3312fca6
[ "Apache-2.0" ]
null
null
null
cookiec/src/impl/lexer/Token.cc
AdrianGjerstad/cookie
edffe55a6ca0fa4a1f3107f77a4fb27b3312fca6
[ "Apache-2.0" ]
3
2021-04-21T16:12:35.000Z
2021-04-29T11:32:55.000Z
cookiec/src/impl/lexer/Token.cc
AdrianGjerstad/cookie
edffe55a6ca0fa4a1f3107f77a4fb27b3312fca6
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 Adrian Gjerstad // // 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...
25.108696
77
0.680087
AdrianGjerstad
da90156b45756610e735aefd4ab1b213747e7694
307
hpp
C++
kernel/x86/pata.hpp
Bunogi/bunos
52e55d16938c87d45aa148c18d3bf389f2067445
[ "BSD-3-Clause" ]
null
null
null
kernel/x86/pata.hpp
Bunogi/bunos
52e55d16938c87d45aa148c18d3bf389f2067445
[ "BSD-3-Clause" ]
null
null
null
kernel/x86/pata.hpp
Bunogi/bunos
52e55d16938c87d45aa148c18d3bf389f2067445
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <bustd/stddef.hpp> namespace kernel::x86 { void initialize_pata(); usize read_sectors_polling(u8 *buffer, u64 sector, u8 sector_count); usize read_bytes_polling(u8 *buffer, u64 offset, usize len); u64 disk_sector_count(); u16 disk_sector_size_in_bytes(); } // namespace kernel::x86
23.615385
68
0.775244
Bunogi
da90dfb8f1cc3c216768b5bc211c97f4f5f697a6
813
cc
C++
components/autofill_assistant/browser/switches.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
components/autofill_assistant/browser/switches.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
components/autofill_assistant/browser/switches.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.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 "components/autofill_assistant/browser/switches.h" namespace autofill_assistant { namespace switches { // Sets the API key to be used instead o...
35.347826
75
0.779828
sarang-apps
da930fc3656a174b321c1292958fa1611b628451
816
cpp
C++
examples/drums+grids/main.cpp
marcelbienvu/MabiluObjects
16b9bda2bebaba34550748c5a17b92361d6de241
[ "MIT" ]
null
null
null
examples/drums+grids/main.cpp
marcelbienvu/MabiluObjects
16b9bda2bebaba34550748c5a17b92361d6de241
[ "MIT" ]
null
null
null
examples/drums+grids/main.cpp
marcelbienvu/MabiluObjects
16b9bda2bebaba34550748c5a17b92361d6de241
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <Audio.h> #include <MabiluObjects.h> Grids seq; Kick kick; Hihat hh; Snare sd; AudioMixer4 mixer; AudioOutputI2S dac; AudioConnection con0(seq, 2, hh, 0); AudioConnection con1(seq, 1, sd, 0); AudioConnection con2(seq, ...
24
40
0.633578
marcelbienvu