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
97fcf84aeade82751ece864173c2ab4e874befb6
1,415
hpp
C++
include/synthizer/downsampler.hpp
wiresong/synthizer
d6fb7a5f9eb0c5760411eee29b12a10fdd7ad420
[ "Unlicense" ]
25
2020-09-05T18:21:21.000Z
2021-12-05T02:47:42.000Z
include/synthizer/downsampler.hpp
wiresong/synthizer
d6fb7a5f9eb0c5760411eee29b12a10fdd7ad420
[ "Unlicense" ]
77
2020-07-08T23:33:46.000Z
2022-03-19T05:34:26.000Z
include/synthizer/downsampler.hpp
wiresong/synthizer
d6fb7a5f9eb0c5760411eee29b12a10fdd7ad420
[ "Unlicense" ]
9
2020-07-08T18:16:53.000Z
2022-03-02T21:35:28.000Z
#pragma once #include <algorithm> #include <cstddef> #include <type_traits> #include "synthizer/filter_design.hpp" #include "synthizer/iir_filter.hpp" #include "synthizer/types.hpp" namespace synthizer { /* * A downsampler. Requires that the size be a power of 2 for the time being. * * We use this for efficient ...
30.106383
114
0.7053
wiresong
3f05727f9a934649f20584837066023f36e7ee0f
1,075
hpp
C++
src/Core/CCubeMap.hpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
1
2019-06-14T08:24:17.000Z
2019-06-14T08:24:17.000Z
src/Core/CCubeMap.hpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
null
null
null
src/Core/CCubeMap.hpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
null
null
null
#ifndef _DEF_OMEGLOND3D_CCUBEMAP_HPP #define _DEF_OMEGLOND3D_CCUBEMAP_HPP #include "ICubeMap.hpp" namespace OMGL3D { namespace CORE { class CCubeMap : public ICubeMap { public: CCubeMap(const std::string &name); virtual ~CCubeMap(); ...
25
122
0.623256
Sebajuste
3f134aa5421e484b68023bceb8870003b3d9790d
568
cpp
C++
references/zeoslib/packages/cbuilder6/ZTestPerformance.cpp
athiffau/alcinoe
4e59270f6a9258beed02676c698829e83e636b51
[ "Apache-2.0" ]
851
2018-02-05T09:54:56.000Z
2022-03-24T23:13:10.000Z
references/zeoslib/packages/cbuilder6/ZTestPerformance.cpp
azrael11/alcinoe
98e92421321ef5df4be876f8d818dbfdfdca6757
[ "Apache-2.0" ]
200
2018-02-06T18:52:39.000Z
2022-03-24T19:59:14.000Z
references/zeoslib/packages/cbuilder6/ZTestPerformance.cpp
azrael11/alcinoe
98e92421321ef5df4be876f8d818dbfdfdca6757
[ "Apache-2.0" ]
197
2018-03-20T20:49:55.000Z
2022-03-21T17:38:14.000Z
//--------------------------------------------------------------------------- #include <vcl.h> #include <TextTestRunner.hpp> #include <ZPerformanceTestCase.hpp> #pragma hdrstop //--------------------------------------------------------------------------- #pragma argsused int main(int argc, char* argv[]) {...
28.4
78
0.426056
athiffau
3f1ab60a81464b8c1978ae75ddbec6c47fb91e20
557
cpp
C++
exam2/passFunction.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
1
2019-01-06T22:36:01.000Z
2019-01-06T22:36:01.000Z
exam2/passFunction.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
exam2/passFunction.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
#include <iostream> int compare(int a, int b) { if(a > b) return -1; else return 1; } void bubbleSort(int *arr, int size, int (*compare)(int, int)) { for(int i = 0; i < size; i++) { for(int j = 0; j < size - 1; j++) { if(compare(arr[j], arr[j+1]) > 0) { int temp = arr[j]; arr[j] = arr[...
19.892857
63
0.490126
WeiChienHsu
3f1f01df324be4a85eb5e2553fc4dd56bb914c35
40,024
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/view/KeyEvent.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/view/KeyEvent.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/view/KeyEvent.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 // // ...
25.235813
96
0.628273
jingcao80
3f287ae5781c2e83cdbfb3b931b466c1bbf094b0
1,120
cpp
C++
platform/qt/test/headless_backend_qt.cpp
followtherider/mapbox-gl-native
62b56b799a7d4fcd1a8f151eed878054b862da5b
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
platform/qt/test/headless_backend_qt.cpp
followtherider/mapbox-gl-native
62b56b799a7d4fcd1a8f151eed878054b862da5b
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
platform/qt/test/headless_backend_qt.cpp
followtherider/mapbox-gl-native
62b56b799a7d4fcd1a8f151eed878054b862da5b
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
#include <mbgl/platform/default/headless_backend.hpp> #include <mbgl/platform/default/headless_display.hpp> #include <QApplication> #include <QGLContext> #include <QGLWidget> #if QT_VERSION >= 0x050000 #include <QOpenGLContext> #endif namespace mbgl { gl::glProc HeadlessBackend::initializeExtension(const char* name...
23.829787
85
0.721429
followtherider
3f293f21d797a9eb2e8670cba5b2222d05fb82cc
954
cpp
C++
Codechef/Compete/Long Challenge/November Challenge 2020/Restore sequence.cpp
mohitkhedkar/Competitive-programming
85d08791002363c6a1104b6b51bf049489fd5257
[ "MIT" ]
2
2020-10-22T15:37:14.000Z
2020-12-11T06:45:02.000Z
Codechef/Compete/Long Challenge/November Challenge 2020/Restore sequence.cpp
mohitkhedkar/Competitive-programming
85d08791002363c6a1104b6b51bf049489fd5257
[ "MIT" ]
null
null
null
Codechef/Compete/Long Challenge/November Challenge 2020/Restore sequence.cpp
mohitkhedkar/Competitive-programming
85d08791002363c6a1104b6b51bf049489fd5257
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { // your code goes here int t; cin>>t; while(t--) { int n,j=1; cin>>n; int b[100000]; for(int i=1;i<=n;i++) { cin>>b[i]; } int a[100000]; int status = 1, num = 2, count, c; if (n>= ...
17.666667
49
0.301887
mohitkhedkar
3f2c1ac046105797fe34a37395d66b2f99694bc9
7,704
cc
C++
onnxruntime/core/optimizer/gemm_sum_fusion.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
669
2018-12-03T22:00:31.000Z
2019-05-06T19:42:49.000Z
onnxruntime/core/optimizer/gemm_sum_fusion.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
440
2018-12-03T21:09:56.000Z
2019-05-06T20:47:23.000Z
onnxruntime/core/optimizer/gemm_sum_fusion.cc
lchang20/onnxruntime
97b8f6f394ae02c73ed775f456fd85639c91ced1
[ "MIT" ]
140
2018-12-03T21:15:28.000Z
2019-05-06T18:02:36.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/optimizer/gemm_sum_fusion.h" #include "core/graph/graph_utils.h" #include "core/optimizer/initializer.h" #include "core/optimizer/utils.h" using namespace ONNX_NAMESPACE; using namespace onnxruntime::common...
45.857143
135
0.697819
lchang20
3f2d6500f38024628daad9287e1fb6cc9e21d5b0
12,101
cpp
C++
thirdparty/geogram/src/lib/exploragram/hexdom/mesh_inspector.cpp
AmericaMakes/OASIS-marcwang
7aa10040251d7a1b807a773a45d123e1a52faac5
[ "BSD-2-Clause" ]
1
2021-03-07T14:47:09.000Z
2021-03-07T14:47:09.000Z
thirdparty/geogram/src/lib/exploragram/hexdom/mesh_inspector.cpp
AmericaMakes/OASIS-marcwang
7aa10040251d7a1b807a773a45d123e1a52faac5
[ "BSD-2-Clause" ]
null
null
null
thirdparty/geogram/src/lib/exploragram/hexdom/mesh_inspector.cpp
AmericaMakes/OASIS-marcwang
7aa10040251d7a1b807a773a45d123e1a52faac5
[ "BSD-2-Clause" ]
1
2021-03-07T00:24:57.000Z
2021-03-07T00:24:57.000Z
/* * OGF/Graphite: Geometry and Graphics Programming Library + Utilities * Copyright (C) 2000-2015 INRIA - Project ALICE * * 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...
40.471572
184
0.514338
AmericaMakes
3f3428b521990d6815e3af30a408b9e17e03bd96
4,464
cpp
C++
sources/cpp/omp/omp003.cpp
xunilrj/sandbox
f92c12f83433cac01a885585e41c02bb5826a01f
[ "Apache-2.0" ]
7
2017-04-01T17:18:35.000Z
2022-01-12T05:23:23.000Z
sources/cpp/omp/omp003.cpp
xunilrj/sandbox
f92c12f83433cac01a885585e41c02bb5826a01f
[ "Apache-2.0" ]
6
2020-05-24T13:36:50.000Z
2022-02-15T06:44:20.000Z
sources/cpp/omp/omp003.cpp
xunilrj/sandbox
f92c12f83433cac01a885585e41c02bb5826a01f
[ "Apache-2.0" ]
2
2018-09-20T01:07:39.000Z
2019-02-22T14:55:38.000Z
#include <iostream> #include <sstream> #include <omp.h> #include <atomic> void runIncrement() { const int LOOPSIZE = 1000000; int A = 0; int B = 0; int C = 0; std::atomic<int> D {0}; //https://stackoverflow.com/questions/21554099/can-stdatomic-be-safely-used-with-openmp std::cout << "Incremen...
30.367347
126
0.482751
xunilrj
27862f8f6280f51ab208695ec87fcc1b07641033
2,059
hh
C++
libsrc/spatialdata/spatialdb/TimeHistoryIO.hh
jedbrown/spatialdata
f18d34d92253986e8018f393201bf901e9667c2a
[ "MIT" ]
null
null
null
libsrc/spatialdata/spatialdb/TimeHistoryIO.hh
jedbrown/spatialdata
f18d34d92253986e8018f393201bf901e9667c2a
[ "MIT" ]
null
null
null
libsrc/spatialdata/spatialdb/TimeHistoryIO.hh
jedbrown/spatialdata
f18d34d92253986e8018f393201bf901e9667c2a
[ "MIT" ]
null
null
null
// -*- C++ -*- // // ---------------------------------------------------------------------- // // Brad T. Aagaard, U.S. Geological Survey // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://geodynamics.org). // // Copyright (c) 2010-2017 University of California, Davis /...
27.092105
73
0.605634
jedbrown
278b96e92f4373c89dc965d0fbee66db9fe66e19
1,067
hpp
C++
src/demo/fly_sorter/identity_tracker.hpp
hhhHanqing/bias
ac409978ac0bfc6bc4cf8570bf7ce7509e81a219
[ "Apache-2.0" ]
5
2020-07-23T18:59:08.000Z
2021-12-14T02:56:12.000Z
src/demo/fly_sorter/identity_tracker.hpp
hhhHanqing/bias
ac409978ac0bfc6bc4cf8570bf7ce7509e81a219
[ "Apache-2.0" ]
4
2020-08-30T13:55:22.000Z
2022-03-24T21:14:15.000Z
src/demo/fly_sorter/identity_tracker.hpp
hhhHanqing/bias
ac409978ac0bfc6bc4cf8570bf7ce7509e81a219
[ "Apache-2.0" ]
3
2020-10-04T17:53:15.000Z
2022-02-24T05:55:53.000Z
#ifndef IDENTITY_TRACKKER_HPP #define IDENTITY_TRACKKER_HPP #include "parameters.hpp" #include "blob_finder.hpp" #include <vector> #include <memory> #include <map> class IdentityTracker { public: IdentityTracker(); IdentityTracker(IdentityTrackerParam param); void setParam(Id...
27.358974
87
0.686036
hhhHanqing
278ed8f8742fd69407d3c303a6a78863e35ff914
8,207
cpp
C++
NLoader/loadermain.cpp
NellaR1/NEPS
f8ea7181449a858bf660f58ef7c40c11d04b8bf1
[ "BSD-2-Clause" ]
null
null
null
NLoader/loadermain.cpp
NellaR1/NEPS
f8ea7181449a858bf660f58ef7c40c11d04b8bf1
[ "BSD-2-Clause" ]
null
null
null
NLoader/loadermain.cpp
NellaR1/NEPS
f8ea7181449a858bf660f58ef7c40c11d04b8bf1
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <Windows.h> #include <TlHelp32.h> #ifdef REQ_NET #include "curl/curl.h" #endif // REQ_NET #include "resource.h" #include "version.hpp" using namespace std; typedef HMODULE(__stdcall *PLOADLIBRARY)(LPCSTR); typedef FARPROC(__stdcall *PGETPROCADDRESS)(HMODULE, LPCSTR); ...
30.623134
149
0.7256
NellaR1
2793ae74e55517111e854a55bf1617dc3554c5a7
1,383
cpp
C++
lib/socket_server.cpp
itsPG/asiod
29b56947ed1021f6d45a1275ef7b23fde7b94511
[ "MIT" ]
2
2019-01-29T08:17:19.000Z
2019-01-29T08:52:20.000Z
lib/socket_server.cpp
itsPG/asiod
29b56947ed1021f6d45a1275ef7b23fde7b94511
[ "MIT" ]
null
null
null
lib/socket_server.cpp
itsPG/asiod
29b56947ed1021f6d45a1275ef7b23fde7b94511
[ "MIT" ]
null
null
null
// by PG, MIT license. // this repo is for practicing boost::asio, not well tested, use it at your own risk. #include "socket_server.h" #include <cstdio> #include "packet.h" #include "session.h" namespace PG { socket_server::socket_server(asio::io_context::strand& strand, string path) : strand_{strand} , p...
25.611111
103
0.591468
itsPG
2793c2a77cf4a5ac7aee8652fb62a6f3c0de1315
512
cpp
C++
PD/PD_HW3_1.cpp
A2Zntu/DSPA
955202438ef2e0c963f98a0666cb6e7e30aa3e7a
[ "MIT" ]
null
null
null
PD/PD_HW3_1.cpp
A2Zntu/DSPA
955202438ef2e0c963f98a0666cb6e7e30aa3e7a
[ "MIT" ]
null
null
null
PD/PD_HW3_1.cpp
A2Zntu/DSPA
955202438ef2e0c963f98a0666cb6e7e30aa3e7a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ int totalLen = 0, maxStop = 0, startStop = 0, endStop = 0; cin >> totalLen >> maxStop >> startStop >> endStop; int** array = new int*[totalLen-1]; for(int i = 0; i < totalLen-1; ++i) array[i] = new int[totalLen-1]; for(int j = 0; j <= i; j++ ){ cin >> ...
21.333333
59
0.521484
A2Zntu
27968bd02dbc519b7804b0cfac104f9ae9e73ca1
438
hpp
C++
graphics-library/include/scene/scene_shape.hpp
thetorine/opengl3-library
3904d857fd1085ba2c57c4289eb0e0d123f11a14
[ "MIT" ]
null
null
null
graphics-library/include/scene/scene_shape.hpp
thetorine/opengl3-library
3904d857fd1085ba2c57c4289eb0e0d123f11a14
[ "MIT" ]
null
null
null
graphics-library/include/scene/scene_shape.hpp
thetorine/opengl3-library
3904d857fd1085ba2c57c4289eb0e0d123f11a14
[ "MIT" ]
null
null
null
#pragma once #include "geometry/shape.hpp" #include "scene/scene_object.hpp" namespace gl::scene { class SceneShape : public SceneObject { public: static std::shared_ptr<SceneShape> create(const std::shared_ptr<geometry::Shape> &shape); void drawSelf() const; private: st...
29.2
98
0.657534
thetorine
27970b29072df60fbd329ebebae747b073c353d1
102,344
cpp
C++
net/config/netoc/netoc.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
net/config/netoc/netoc.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
net/config/netoc/netoc.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1997. // // File: N E T O C . C P P // // Contents: Functions for handling installation and removal of optional // networking components. // /...
32.844673
109
0.471791
npocmaka
279721dbb14936e37a675ff91a72024cb1022ce2
11,669
cpp
C++
source/Plugins/Generic/CastorGui/CtrlListBox.cpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
245
2015-10-29T14:31:45.000Z
2022-03-31T13:04:45.000Z
source/Plugins/Generic/CastorGui/CtrlListBox.cpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
64
2016-03-11T19:45:05.000Z
2022-03-31T23:58:33.000Z
source/Plugins/Generic/CastorGui/CtrlListBox.cpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
11
2018-05-24T09:07:43.000Z
2022-03-21T21:05:20.000Z
#include "CastorGui/CtrlListBox.hpp" #include "CastorGui/ControlsManager.hpp" #include "CastorGui/CtrlStatic.hpp" #include <Castor3D/Engine.hpp> #include <Castor3D/Cache/MaterialCache.hpp> #include <Castor3D/Event/Frame/GpuFunctorEvent.hpp> #include <Castor3D/Material/Material.hpp> #include <Castor3D/Material/Pass/Pa...
22.880392
139
0.657554
Mu-L
2797ce9a09a948dafc437fab640be2fc0b982248
686
cpp
C++
src/main.cpp
pigatron-industries/arduino_eurorack_template
24cf48f14720ee03d5d652802421cb9dcf5fa6d0
[ "Unlicense" ]
null
null
null
src/main.cpp
pigatron-industries/arduino_eurorack_template
24cf48f14720ee03d5d652802421cb9dcf5fa6d0
[ "Unlicense" ]
null
null
null
src/main.cpp
pigatron-industries/arduino_eurorack_template
24cf48f14720ee03d5d652802421cb9dcf5fa6d0
[ "Unlicense" ]
null
null
null
#include <Arduino.h> #include "hwconfig.h" #include "Config.h" #include "Hardware.h" #include "MainController.h" #include "controllers/TestController.h" TestController testController = TestController(); MainController mainController = MainController(); void setup() { Serial.begin(SERIAL_BAUD); delay(100); ...
22.129032
54
0.625364
pigatron-industries
2799cac237d65f737878d98c615edc69f4bcb292
3,997
cpp
C++
benchmarks/allocator_benchmarks.cpp
nanzifan/Umpire-edit
990895b527bef0716aaa0fbb0c0f2017e8e15882
[ "MIT" ]
null
null
null
benchmarks/allocator_benchmarks.cpp
nanzifan/Umpire-edit
990895b527bef0716aaa0fbb0c0f2017e8e15882
[ "MIT" ]
null
null
null
benchmarks/allocator_benchmarks.cpp
nanzifan/Umpire-edit
990895b527bef0716aaa0fbb0c0f2017e8e15882
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2018, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory // // Created by David Beckingsale, david@llnl.gov // LLNL-CODE-747640 // // All rights reserved. // // This file is ...
29.607407
87
0.641981
nanzifan
279b22e9f90e6a8cb81f16bf7bfb8a29ee781a25
763
cpp
C++
src/random-set/main.cpp
schien/practices
b248813e51314095c21cf9dc6193d0e1e48550d3
[ "MIT" ]
null
null
null
src/random-set/main.cpp
schien/practices
b248813e51314095c21cf9dc6193d0e1e48550d3
[ "MIT" ]
null
null
null
src/random-set/main.cpp
schien/practices
b248813e51314095c21cf9dc6193d0e1e48550d3
[ "MIT" ]
null
null
null
#include <iostream> #include "input_helper.h" #include "solution.cpp" int main() { RandomizedSet rset; while (std::cin.good()) { char op; std::cin >> op; if (std::cin.eof()) { break; } switch (op) { case 'i': { std::cout << std::boolalpha << rset.insert(next<int>...
18.609756
74
0.415465
schien
279c9c7e74e622d478ea12804163ac171fa04981
207
hpp
C++
parser/spirit/BoostPrecompile.hpp
Vitaliy-Grigoriev/PDL
da528e34e91add4e11415e31e01535db04e7043f
[ "MIT" ]
1
2019-09-23T08:27:31.000Z
2019-09-23T08:27:31.000Z
parser/spirit/BoostPrecompile.hpp
Vitaliy-Grigoriev/PDL
da528e34e91add4e11415e31e01535db04e7043f
[ "MIT" ]
null
null
null
parser/spirit/BoostPrecompile.hpp
Vitaliy-Grigoriev/PDL
da528e34e91add4e11415e31e01535db04e7043f
[ "MIT" ]
null
null
null
//#define BOOST_SPIRIT_X3_DEBUG #define BOOST_SPIRIT_NO_STANDARD_WIDE // Disable wide characters for compilation speed. #include <boost/spirit/home/x3.hpp> #include <boost/fusion/include/adapt_struct.hpp>
34.5
88
0.816425
Vitaliy-Grigoriev
279e201b5087433e51391b8b41c1d569115758b8
22,572
cxx
C++
main/sw/source/core/text/txtio.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sw/source/core/text/txtio.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sw/source/core/text/txtio.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
23.885714
90
0.616073
Grosskopf
279ebb6034b6a93be79868b35fc5586368c57798
825
cpp
C++
src/error_handling_tk205.cpp
open205/libtk205
48b9c13623bd737e80cc9323d82a217afd927d04
[ "BSD-3-Clause" ]
1
2021-12-09T00:04:43.000Z
2021-12-09T00:04:43.000Z
src/error_handling_tk205.cpp
open205/libtk205
48b9c13623bd737e80cc9323d82a217afd927d04
[ "BSD-3-Clause" ]
null
null
null
src/error_handling_tk205.cpp
open205/libtk205
48b9c13623bd737e80cc9323d82a217afd927d04
[ "BSD-3-Clause" ]
null
null
null
#include "error_handling_tk205.h" #include <map> #include <iostream> #include <string_view> namespace tk205 { msg_handler _error_handler; void Set_error_handler(msg_handler handler) { _error_handler = std::move(handler); } void Show_message(msg_severity severity, const std::string &messa...
24.264706
82
0.578182
open205
279fca8026a43de5182a515cb704965a388aa3a8
6,403
cpp
C++
src/lllarith.cpp
gligneul/Lua-LLVM
1579b46e28d9ca16b70b9e9f3c11b389734eca00
[ "MIT" ]
12
2016-02-26T02:50:59.000Z
2021-05-27T00:56:16.000Z
src/lllarith.cpp
gligneul/Lua-LLVM
1579b46e28d9ca16b70b9e9f3c11b389734eca00
[ "MIT" ]
null
null
null
src/lllarith.cpp
gligneul/Lua-LLVM
1579b46e28d9ca16b70b9e9f3c11b389734eca00
[ "MIT" ]
1
2021-03-25T18:56:50.000Z
2021-03-25T18:56:50.000Z
/* ** LLL - Lua Low Level ** September, 2015 ** Author: Gabriel de Quadros Ligneul ** Copyright Notice for LLL: see lllcore.h ** ** lllarith.cpp ** Compiles the arithmetics opcodes */ #include "lllarith.h" #include "lllcompilerstate.h" #include "lllvalue.h" extern "C" { #include "lprefix.h" #include "lobject.h" #incl...
30.636364
82
0.640325
gligneul
27a1ee71243b7276ca7d333f8a7d3dde4bc3800b
785
cpp
C++
Codeforces/1108A-Two_distinct_points.cpp
Pankajcoder1/Competitive_programming
72ee0d41f3f72f43a5c2a232255eb84a04b14df9
[ "MIT" ]
null
null
null
Codeforces/1108A-Two_distinct_points.cpp
Pankajcoder1/Competitive_programming
72ee0d41f3f72f43a5c2a232255eb84a04b14df9
[ "MIT" ]
null
null
null
Codeforces/1108A-Two_distinct_points.cpp
Pankajcoder1/Competitive_programming
72ee0d41f3f72f43a5c2a232255eb84a04b14df9
[ "MIT" ]
1
2020-10-02T04:51:22.000Z
2020-10-02T04:51:22.000Z
/* written by Pankaj Kumar. country:-INDIA Institute: National Institute of Technology, Uttarakhand */ #include<iostream> #include<vector> #include<cmath> #include<algorithm> #include<string.h> #define pan cin.tie(0);cout.tie(0);ios_base::sync_with_stdio(0); #define mod 1000000007; using namespace std; type...
19.625
64
0.628025
Pankajcoder1
27a1f8f0e9171053961ab73f49b30d853cdbf9d1
25,258
cpp
C++
test/code/myauth/myauth_test.cpp
Bhaskers-Blu-Org2/MySQL-Provider
211f79e98e7f34a13c4fb7c01f3aaaefc0dada63
[ "MIT" ]
5
2016-06-18T14:41:36.000Z
2019-01-10T09:46:20.000Z
test/code/myauth/myauth_test.cpp
microsoft/MySQL-Provider
211f79e98e7f34a13c4fb7c01f3aaaefc0dada63
[ "MIT" ]
5
2016-04-12T23:00:45.000Z
2019-03-28T23:04:57.000Z
test/code/myauth/myauth_test.cpp
microsoft/MySQL-Provider
211f79e98e7f34a13c4fb7c01f3aaaefc0dada63
[ "MIT" ]
6
2019-09-18T00:11:36.000Z
2021-11-10T10:07:03.000Z
/* * --------------------------------- START OF LICENSE ---------------------------- * * MySQL cimprov ver. 1.0 * * Copyright (c) Microsoft Corporation * * All rights reserved. * * MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated...
45.428058
141
0.598305
Bhaskers-Blu-Org2
27a228655f5fe4c49b886949898cbc561d65c722
2,891
hpp
C++
include/Graphy/Graphables/Styles/LabelStyle.hpp
dominicprice/Graphy
4553adf06e9c63365ed2ef994fa76c460f8673f4
[ "MIT" ]
null
null
null
include/Graphy/Graphables/Styles/LabelStyle.hpp
dominicprice/Graphy
4553adf06e9c63365ed2ef994fa76c460f8673f4
[ "MIT" ]
null
null
null
include/Graphy/Graphables/Styles/LabelStyle.hpp
dominicprice/Graphy
4553adf06e9c63365ed2ef994fa76c460f8673f4
[ "MIT" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////// //MIT License // //Copyright(c) 2017 Dominic Price // //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 ...
36.1375
87
0.583189
dominicprice
27a6b11730fa13345cf43b0a3ed5ce356008fcee
1,848
hpp
C++
ParticleSystem/src/ParticleUpdater.hpp
Azatsu/ParticleSystem
8d8a5f41200c1865089b3b2dff8c41cc63dc3b13
[ "MIT" ]
1
2021-05-05T06:42:19.000Z
2021-05-05T06:42:19.000Z
ParticleSystem/src/ParticleUpdater.hpp
Azatsu/ParticleSystem
8d8a5f41200c1865089b3b2dff8c41cc63dc3b13
[ "MIT" ]
5
2021-05-04T10:05:11.000Z
2021-05-05T08:28:02.000Z
ParticleSystem/src/ParticleUpdater.hpp
Azatsu/ParticleSystem
8d8a5f41200c1865089b3b2dff8c41cc63dc3b13
[ "MIT" ]
null
null
null
#ifndef __PRTCL_UPDT_HPP__ #define __PRTCL_UPDT_HPP__ #include <vector> #include <algorithm> #include "particleGenerator.hpp" class ParticleUpdater { public: ParticleUpdater() { } virtual ~ParticleUpdater() { } virtual void Update(float dt, ParticleData* p) = 0; }; class EulerUpdater : public ParticleUpdater { ...
21.488372
79
0.731061
Azatsu
27a79a997fe218c175ba9a076c86934794aa53d3
96
hh
C++
vm/vm/main/cached/Unit-implem-decl.hh
Ahzed11/mozart2
4806504b103e11be723e7813be8f69e4d85875cf
[ "BSD-2-Clause" ]
379
2015-01-02T20:27:33.000Z
2022-03-26T23:18:17.000Z
vm/vm/main/cached/Unit-implem-decl.hh
Ahzed11/mozart2
4806504b103e11be723e7813be8f69e4d85875cf
[ "BSD-2-Clause" ]
81
2015-01-08T13:18:52.000Z
2021-12-21T14:02:21.000Z
vm/vm/main/cached/Unit-implem-decl.hh
Ahzed11/mozart2
4806504b103e11be723e7813be8f69e4d85875cf
[ "BSD-2-Clause" ]
75
2015-01-06T09:08:20.000Z
2021-12-17T09:40:18.000Z
class Unit; template <> class Storage<Unit> { public: typedef struct mozart::unit_t Type; };
12
37
0.708333
Ahzed11
27a7c014c2902b7a8d7ab0d4b44e8fa5b6538169
1,632
cpp
C++
Gym/0719/c.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
2
2021-06-09T12:27:07.000Z
2021-06-11T12:02:03.000Z
Gym/0719/c.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
1
2021-09-08T12:00:05.000Z
2021-09-08T14:52:30.000Z
Gym/0719/c.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int MAXN = 405; int val[MAXN][MAXN], dis[MAXN], vis[MAXN]; int T, n, m, k, W, w, s, t, op; struct node { int id, d; bool operator<(const node &rhs) const { return id > rhs.id; } }; vector<pair<int,int>> toerase; bool hd; void dfs(int id, int des) { if(hd) re...
18.133333
58
0.474265
tusikalanse
27a836943d08f7a9b12542c16ca7586f2d6c4e34
1,689
cpp
C++
BRAC University Competitive Programming training/Prefix sum/chechinkg range for a particular summation.cpp
Mit382/Mitul-s-Competitive-Programming-March-August
3b0d9b3d018444584020e37b892021f7e9ec984d
[ "MIT" ]
1
2021-04-23T16:53:35.000Z
2021-04-23T16:53:35.000Z
BRAC University Competitive Programming training/Prefix sum/chechinkg range for a particular summation.cpp
Mit382/Mitul-s-Competitive-Programming-March-August
3b0d9b3d018444584020e37b892021f7e9ec984d
[ "MIT" ]
null
null
null
BRAC University Competitive Programming training/Prefix sum/chechinkg range for a particular summation.cpp
Mit382/Mitul-s-Competitive-Programming-March-August
3b0d9b3d018444584020e37b892021f7e9ec984d
[ "MIT" ]
1
2021-03-27T19:56:19.000Z
2021-03-27T19:56:19.000Z
//Question in array 1 , -1, 0,2 there is how many ranges, that can make the summation 2? //Input: //4 2 //1 -1 0 2 //Output: //3 //solve: //index: 0 1 2 3 4 //array 1 -1 0 2 //prefix: 0 1 0 0 2 // check that there is 2 , (0,2 ), (1,-1,0,2) can make summation 2. thus...
31.867925
222
0.606868
Mit382
27ad1a1f8e279742a161e298429f27e55e93c7b6
1,481
cc
C++
src/Parser/AST/MatchStatementNode.cc
stenbror/PythonCoreNative
9b5b1e55acf7d6adc7d8202e951872b2b9f71167
[ "BSL-1.0" ]
null
null
null
src/Parser/AST/MatchStatementNode.cc
stenbror/PythonCoreNative
9b5b1e55acf7d6adc7d8202e951872b2b9f71167
[ "BSL-1.0" ]
null
null
null
src/Parser/AST/MatchStatementNode.cc
stenbror/PythonCoreNative
9b5b1e55acf7d6adc7d8202e951872b2b9f71167
[ "BSL-1.0" ]
1
2021-05-24T11:18:32.000Z
2021-05-24T11:18:32.000Z
#include <ast/MatchStatementNode.h> using namespace PythonCoreNative::RunTime::Parser::AST; using namespace PythonCoreNative::RunTime::Parser; MatchStatementNode::MatchStatementNode( unsigned int start, unsigned int end, std::shared_ptr<Token> op1, ...
24.278689
95
0.602296
stenbror
27ad2135e457a7db745ea1d84b8fd2e9f8eb59b5
1,239
cpp
C++
arm9/source/menuDemo.cpp
henke37/hblankmegademo
638d6200c930e305acb6aea341211cff99dc5893
[ "BSD-2-Clause" ]
2
2019-09-01T14:31:51.000Z
2019-09-10T11:00:20.000Z
arm9/source/menuDemo.cpp
henke37/hblankmegademo
638d6200c930e305acb6aea341211cff99dc5893
[ "BSD-2-Clause" ]
8
2017-09-24T20:21:15.000Z
2022-03-04T15:29:05.000Z
arm9/source/menuDemo.cpp
henke37/hblankmegademo
638d6200c930e305acb6aea341211cff99dc5893
[ "BSD-2-Clause" ]
2
2019-02-04T02:59:42.000Z
2019-02-05T06:16:07.000Z
#include "menuDemo.h" #include "sinScrollDemo.h" #include "peepHoleWindowDemo.h" #include "spotlightDemo.h" #include "demoRunner.h" #include "scanInDemo.h" #include "rasterbarDemo.h" #include "flutterDemo.h" #include <nds/arm9/console.h> #include <cassert> #include <nds/arm9/input.h> MenuDemo::MenuDemo() : selection(...
21
56
0.696529
henke37
27b1c2cd6ce82237c2f7d858ce0e4ac2557e9295
487
hpp
C++
src/util.hpp
Cynnexis/dna-not-ascii
9df62c48f530297a12c9c0328a8d3e115c5c18cf
[ "MIT" ]
null
null
null
src/util.hpp
Cynnexis/dna-not-ascii
9df62c48f530297a12c9c0328a8d3e115c5c18cf
[ "MIT" ]
1
2021-03-03T08:51:30.000Z
2021-03-03T08:51:30.000Z
src/util.hpp
Cynnexis/dna-not-ascii
9df62c48f530297a12c9c0328a8d3e115c5c18cf
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <functional> #include <cstdlib> #include <string> #include <sstream> #include <cassert> using std::cout, std::cerr, std::cin, std::endl, std::string; /** * @brief Get the current epoch in milliseconds. * @details Source code inspired from https://stackoverflow.com/a/173719...
23.190476
82
0.722793
Cynnexis
27b7166908d70e2f3a7588a7d6f426a25888dffc
1,287
cpp
C++
VeronixApp.cpp
LNAV/Sudoku_Solver_Cpp
431a5d0e370d3d5f7da33674601f3a57efd7032a
[ "Apache-2.0" ]
1
2020-05-17T11:46:46.000Z
2020-05-17T11:46:46.000Z
VeronixApp.cpp
LNAV/VeronixApp-Sudoku_Solver
431a5d0e370d3d5f7da33674601f3a57efd7032a
[ "Apache-2.0" ]
null
null
null
VeronixApp.cpp
LNAV/VeronixApp-Sudoku_Solver
431a5d0e370d3d5f7da33674601f3a57efd7032a
[ "Apache-2.0" ]
null
null
null
/* * VeronixApp.cpp * * Created on: May 18, 2019 * Author: LavishK1 */ #include <SudokuConsoleViewController.h> #include "VeronixApp.h" #include "AppDefines.h" #include "APP/GridSolver.h" #include "APP/Helper/InputHelper.h" namespace Veronix { namespace App { VeronixApp::VeronixApp() { DEF_COUT( "Veronix...
18.652174
107
0.694639
LNAV
27ba6a4992b0b98dd27c85182d91b4b2eb479c1f
1,729
cc
C++
components/shared_highlighting/core/common/disabled_sites.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
components/shared_highlighting/core/common/disabled_sites.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
components/shared_highlighting/core/common/disabled_sites.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "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/shared_highlighting/core/common/disabled_sites.h" #include "base/feature_list.h" #include "components/shared_highlighting/core/commo...
32.622642
84
0.614806
Ron423c
27bf7731c49ad3e4ee83bc3d6c5443f9e1de0774
1,980
hpp
C++
include/Animation.hpp
prfcto2/noName
e179d49282755039f2acb267931ef445aff5000b
[ "MIT" ]
3
2019-08-05T13:33:01.000Z
2022-02-14T12:55:18.000Z
include/Animation.hpp
prfcto2/noName
e179d49282755039f2acb267931ef445aff5000b
[ "MIT" ]
null
null
null
include/Animation.hpp
prfcto2/noName
e179d49282755039f2acb267931ef445aff5000b
[ "MIT" ]
null
null
null
# define ANIMATION_HPP # ifndef HELPERS_HPP # include <Helpers.hpp> # endif # include <vector> //Animation has the animation's frames, it's duration and it's loop conditional. // if the animation is looping, it means that the animation is going to repite itself // in the pass of time but, if it is not looping, it is...
33
93
0.697475
prfcto2
27c63cfb63003f012076586134080800fb72ffc3
46
cpp
C++
libs/vis_utils/summedareatable.cpp
danniesim/cpp_volume_rendering
242c8917aea0a58c9851c2ae3e6c1555db51912e
[ "MIT" ]
10
2020-05-15T23:50:19.000Z
2022-02-17T09:54:44.000Z
libs/vis_utils/summedareatable.cpp
danniesim/cpp_volume_rendering
242c8917aea0a58c9851c2ae3e6c1555db51912e
[ "MIT" ]
1
2022-01-25T02:36:59.000Z
2022-01-26T11:41:38.000Z
libs/vis_utils/summedareatable.cpp
danniesim/cpp_volume_rendering
242c8917aea0a58c9851c2ae3e6c1555db51912e
[ "MIT" ]
3
2021-11-01T10:32:46.000Z
2021-12-28T16:40:10.000Z
#include "summedareatable.h" namespace vis {}
11.5
28
0.76087
danniesim
27cbf90cb2a6126f4154915a781b815cccc234b3
4,422
cpp
C++
TestApps/bnn/bin_dense_tb.cpp
HansGiesen/hls_tuner
9c8d03737d1115f4e5cfa03cabc2334ea8b3ca19
[ "MIT" ]
1
2021-02-21T12:13:09.000Z
2021-02-21T12:13:09.000Z
TestApps/bnn/bin_dense_tb.cpp
HansGiesen/hls_tuner
9c8d03737d1115f4e5cfa03cabc2334ea8b3ca19
[ "MIT" ]
null
null
null
TestApps/bnn/bin_dense_tb.cpp
HansGiesen/hls_tuner
9c8d03737d1115f4e5cfa03cabc2334ea8b3ca19
[ "MIT" ]
1
2019-09-10T16:45:27.000Z
2019-09-10T16:45:27.000Z
#include <random> #include <ap_int.h> const unsigned WORD_SIZE = 64; const unsigned CONVOLVERS = 2; const unsigned CONV_W_PER_WORD = 7; const unsigned WT_L = 16*4*512*64; // parameter to control wt mem size const unsigned C_WT_WORDS = ((WT_L+CONV_W_PER_WORD-1)/CONV_W_PER_WORD + CONVOLVERS-1) / CONVOLVERS; /...
31.585714
128
0.644731
HansGiesen
27cc89b508504ad3d2e1b8f11c79735721451191
1,441
cpp
C++
src/image/todo/bezier.cpp
TurkMvc/lol
c3fb98c6f371e4648891b59b4adc6cb95ae73451
[ "WTFPL" ]
4
2015-02-14T21:14:25.000Z
2021-12-12T15:45:44.000Z
src/image/todo/bezier.cpp
TurkMvc/lol
c3fb98c6f371e4648891b59b4adc6cb95ae73451
[ "WTFPL" ]
3
2015-02-14T20:56:26.000Z
2015-02-16T08:50:54.000Z
src/image/todo/bezier.cpp
TurkMvc/lol
c3fb98c6f371e4648891b59b4adc6cb95ae73451
[ "WTFPL" ]
1
2021-10-06T16:01:03.000Z
2021-10-06T16:01:03.000Z
/* * Lol Engine * * Copyright © 2004—2008 Sam Hocevar <sam@hocevar.net> * © 2008 Jean-Yves Lamoureux <jylam@lnxscene.org> * * This library is free software. It comes without any warranty, to * the extent permitted by applicable law. You can redistribute it * and/or modify it under the terms of t...
25.280702
72
0.517696
TurkMvc
27d0429e58d7d8f5e96edd66b15c88fb56dc89ac
21,788
cc
C++
wrappers/7.0.0/vtkPointSetToLabelHierarchyWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/7.0.0/vtkPointSetToLabelHierarchyWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/7.0.0/vtkPointSetToLabelHierarchyWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkLabelHierarchyAlgorithmWrap.h" #include "vtkPointSetToLabelHierarchyWrap.h" #include "vtkObjectWrap.h" #include "vtkTextPropertyWrap.h" #inc...
35.085346
118
0.760694
axkibe
27d2471f54f504a268038549362c62d3e2f861f2
1,954
cpp
C++
cpp/sololearn/s31_operator_overloading.cpp
bayramcicek/py-repo
e99d8881dd3eb5296ec5dcfba4de2c3418044897
[ "Unlicense" ]
null
null
null
cpp/sololearn/s31_operator_overloading.cpp
bayramcicek/py-repo
e99d8881dd3eb5296ec5dcfba4de2c3418044897
[ "Unlicense" ]
null
null
null
cpp/sololearn/s31_operator_overloading.cpp
bayramcicek/py-repo
e99d8881dd3eb5296ec5dcfba4de2c3418044897
[ "Unlicense" ]
null
null
null
// C11 standard // created by cicek on Feb 05, 2021 8:29 PM #include <iostream> #include <string> using namespace std; // Our class has two constructors and one member variable. class MyClass { public: int var; MyClass() {} MyClass(int a) : var(a) {} /* * Overloaded operators are ...
29.164179
116
0.66172
bayramcicek
27d526834319a6235abb936f009d3d0696ae33c9
34
cpp
C++
src/MinoGame/ApplicationBuilder.cpp
Nicowcow/Minotaur
74689a1a76b0577138009acc5f8cd37db7bd7630
[ "MIT" ]
5
2017-07-09T08:24:24.000Z
2021-01-11T21:32:39.000Z
src/MinoGame/ApplicationBuilder.cpp
Nicowcow/Minotaur
74689a1a76b0577138009acc5f8cd37db7bd7630
[ "MIT" ]
1
2018-03-06T18:55:13.000Z
2018-12-21T14:20:23.000Z
src/MinoGame/ApplicationBuilder.cpp
Nicowcow/Minotaur
74689a1a76b0577138009acc5f8cd37db7bd7630
[ "MIT" ]
1
2019-01-24T09:32:04.000Z
2019-01-24T09:32:04.000Z
namespace MinoGame { }
2.428571
20
0.5
Nicowcow
27d975962cf6301c44ffaf27390159f286a0a5b9
2,891
hpp
C++
libs/Aether/include/Aether/primary/Text.hpp
tkgstrator/SeedHack
227566d993bdea7a2851a8fc664b539186509697
[ "MIT" ]
1
2021-02-04T07:27:46.000Z
2021-02-04T07:27:46.000Z
libs/Aether/include/Aether/primary/Text.hpp
tkgstrator/SeedHack
227566d993bdea7a2851a8fc664b539186509697
[ "MIT" ]
null
null
null
libs/Aether/include/Aether/primary/Text.hpp
tkgstrator/SeedHack
227566d993bdea7a2851a8fc664b539186509697
[ "MIT" ]
null
null
null
#ifndef AETHER_TEXT_HPP #define AETHER_TEXT_HPP #include "Aether/base/BaseText.hpp" namespace Aether { /** * @brief Text extends BaseText by implementing scrolling when the text overflows. * * It's for single-line text. */ class Text : public BaseText { private: /** @br...
29.20202
133
0.471117
tkgstrator
27d9b546990c5c710f165f13626d9aab24f02301
1,020
cpp
C++
CTN_05_Hardware_3D_DirectX/src/PixelShader.cpp
TheUnicum/CTN_05_Hardware_3D_DirectX
39940fb0466ff5b419d7f7c4cf55ee1f90784baa
[ "Apache-2.0" ]
null
null
null
CTN_05_Hardware_3D_DirectX/src/PixelShader.cpp
TheUnicum/CTN_05_Hardware_3D_DirectX
39940fb0466ff5b419d7f7c4cf55ee1f90784baa
[ "Apache-2.0" ]
null
null
null
CTN_05_Hardware_3D_DirectX/src/PixelShader.cpp
TheUnicum/CTN_05_Hardware_3D_DirectX
39940fb0466ff5b419d7f7c4cf55ee1f90784baa
[ "Apache-2.0" ]
null
null
null
#include "PixelShader.h" #include "GraphicsThrowMacros.h" #include "BindableCodex.h" #include "ChiliUtil.h" namespace Bind { PixelShader::PixelShader(Graphics& gfx, const std::string& path) : path(path) { INFOMAN(gfx); Microsoft::WRL::ComPtr<ID3DBlob> pBlob; GFX_THROW_INFO(D3DReadFileToBlob(ToWide(path).c...
26.842105
127
0.731373
TheUnicum
27dc65478aacdac1d26b33fa008c55c454198a04
5,526
cpp
C++
src/binaryServer/CachedConverterCallback.cpp
peramic/OPC-UA.Server
ebfafb0f9a1943fc1f2d44f20a0497a59e5bfd97
[ "Apache-2.0" ]
null
null
null
src/binaryServer/CachedConverterCallback.cpp
peramic/OPC-UA.Server
ebfafb0f9a1943fc1f2d44f20a0497a59e5bfd97
[ "Apache-2.0" ]
null
null
null
src/binaryServer/CachedConverterCallback.cpp
peramic/OPC-UA.Server
ebfafb0f9a1943fc1f2d44f20a0497a59e5bfd97
[ "Apache-2.0" ]
null
null
null
#include "CachedConverterCallback.h" #include <common/Exception.h> #include <common/Mutex.h> #include <common/MutexLock.h> #include <common/ScopeGuard.h> #include <common/logging/Logger.h> #include <common/logging/LoggerFactory.h> #include <sasModelProvider/base/ConversionException.h> #include <uadatetime.h> #include <...
38.643357
99
0.570575
peramic
27e252a5da99b05ecfa26445abd8b1f44f37d85a
722
cpp
C++
code/415.addStrings.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
1
2020-10-04T13:39:34.000Z
2020-10-04T13:39:34.000Z
code/415.addStrings.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
null
null
null
code/415.addStrings.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
null
null
null
class Solution { public: vector<int> add(vector<int>& A, vector<int>& B) { vector<int> C; for (int i = 0, t = 0; i < A.size() || i < B.size() || t; i++) { if (i < A.size()) t += A[i]; if (i < B.size()) t += B[i]; C.push_back(t % 10); t /= 10; ...
31.391304
78
0.414127
T1mzhou
27e699cf3d090e1f05b7311a45fa803498de7c0d
15,892
cpp
C++
Base/PLGui/src/Widgets/Controls/Label.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
1
2019-11-09T16:54:04.000Z
2019-11-09T16:54:04.000Z
Base/PLGui/src/Widgets/Controls/Label.cpp
naetherm/pixelligh
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Base/PLGui/src/Widgets/Controls/Label.cpp
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
null
null
null
/*********************************************************\ * File: Label.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
26.267769
140
0.586333
naetherm
27ef3911b12e41cec13c81fd65eda459051308ba
6,818
cpp
C++
src/autoxtime/db/DbListener.cpp
nmaludy/autoxtime
c4c2603a6990ef3cfddaa1bfab14e48bc81ec2a3
[ "Apache-2.0" ]
null
null
null
src/autoxtime/db/DbListener.cpp
nmaludy/autoxtime
c4c2603a6990ef3cfddaa1bfab14e48bc81ec2a3
[ "Apache-2.0" ]
4
2021-02-23T20:56:42.000Z
2021-04-03T01:56:08.000Z
src/autoxtime/db/DbListener.cpp
nmaludy/autoxtime
c4c2603a6990ef3cfddaa1bfab14e48bc81ec2a3
[ "Apache-2.0" ]
null
null
null
#include <autoxtime/db/DbListener.h> #include <autoxtime/db/DbConnection.h> #include <autoxtime/log/Log.h> #include <google/protobuf/util/json_util.h> #include <QSemaphore> #include <iostream> AUTOXTIME_DB_NAMESPACE_BEG DbEmitter::DbEmitter(const google::protobuf::Message& prototype) : QObject(), mpProto...
35.326425
128
0.652977
nmaludy
27f2e20ee83b2678a10d6728ab2b4ca3b15b0503
580
cpp
C++
ports/esp32/src/hSystem.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
33
2017-07-03T22:49:30.000Z
2022-03-31T19:32:55.000Z
ports/esp32/src/hSystem.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
6
2017-07-13T13:23:22.000Z
2019-10-25T17:51:28.000Z
ports/esp32/src/hSystem.cpp
ygjukim/hFramework
994ea7550c34b4943e2fa2d5e9ca447aa555f39e
[ "MIT" ]
17
2017-07-01T05:35:47.000Z
2022-03-22T23:33:00.000Z
/** * Copyright (c) 2013-2017 Husarion Sp. z o.o. * Distributed under the MIT license. * For full terms see the file LICENSE.md. */ #include "hSystem.h" #include <cstring> extern "C" { #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_system.h" }; namespace hFramework { uint32_t hSystem::g...
15.675676
46
0.663793
ygjukim
27f85a367dbf23a4e12bc9099bddd1f19dd96cbe
5,936
hpp
C++
sol/function_types_member.hpp
SuperV1234/sol2
76b73bdfab4475933c42e715fd98737a4699794a
[ "MIT" ]
null
null
null
sol/function_types_member.hpp
SuperV1234/sol2
76b73bdfab4475933c42e715fd98737a4699794a
[ "MIT" ]
null
null
null
sol/function_types_member.hpp
SuperV1234/sol2
76b73bdfab4475933c42e715fd98737a4699794a
[ "MIT" ]
1
2021-05-02T15:57:13.000Z
2021-05-02T15:57:13.000Z
// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors // 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...
38.051282
119
0.673349
SuperV1234
27f90f4cda72a862e2d5853d1e85cef25c5ee71a
552
hpp
C++
P4/usuario_pedido.hpp
moooises/Practica-Global-de-Programacion-Orientada-a-Objetos
534f909c6cd731482baaf9682feb6d07d9d35fa6
[ "MIT" ]
null
null
null
P4/usuario_pedido.hpp
moooises/Practica-Global-de-Programacion-Orientada-a-Objetos
534f909c6cd731482baaf9682feb6d07d9d35fa6
[ "MIT" ]
null
null
null
P4/usuario_pedido.hpp
moooises/Practica-Global-de-Programacion-Orientada-a-Objetos
534f909c6cd731482baaf9682feb6d07d9d35fa6
[ "MIT" ]
null
null
null
#ifndef USUARIO_PEDIDO_HPP_ #define USUARIO_PEDIDO_HPP_ #include "usuario.hpp" #include "pedido.hpp" #include<set> #include<map> class Usuario; class Pedido; class Usuario_Pedido{ public: typedef set<Pedido*> Pedidos; void asocia(Usuario& user, Pedido& p); void asocia(Pedido& p,Usuario& us...
21.230769
58
0.681159
moooises
27fb12c20936fbd399932af3586df1acb164d0df
29,028
inl
C++
include/sre/impl/ShaderSource.inl
KasperHdL/SimpleRenderEngine
2d7edeead1d14e00c3d41a29cf9880e216d366e0
[ "MIT" ]
null
null
null
include/sre/impl/ShaderSource.inl
KasperHdL/SimpleRenderEngine
2d7edeead1d14e00c3d41a29cf9880e216d366e0
[ "MIT" ]
null
null
null
include/sre/impl/ShaderSource.inl
KasperHdL/SimpleRenderEngine
2d7edeead1d14e00c3d41a29cf9880e216d366e0
[ "MIT" ]
null
null
null
// autogenerated by // files_to_cpp shader src/embedded_deps/skybox_frag.glsl skybox_frag.glsl src/embedded_deps/skybox_vert.glsl skybox_vert.glsl src/embedded_deps/sre_utils_incl.glsl sre_utils_incl.glsl src/embedded_deps/debug_normal_frag.glsl debug_normal_frag.glsl src/embedded_deps/debug_normal_vert.glsl debug_norm...
30.427673
1,608
0.701805
KasperHdL
27fb453dc6c7a40951d513a131c0e349d4c57920
1,040
hpp
C++
Pi/server.hpp
FundCompXbee/XBeeMessenger
f3210077cb82e1597980b33bc6e2f8f9cf7bc042
[ "MIT" ]
1
2016-04-29T22:30:58.000Z
2016-04-29T22:30:58.000Z
Pi/server.hpp
FundCompXbee/XBeeMessenger
f3210077cb82e1597980b33bc6e2f8f9cf7bc042
[ "MIT" ]
null
null
null
Pi/server.hpp
FundCompXbee/XBeeMessenger
f3210077cb82e1597980b33bc6e2f8f9cf7bc042
[ "MIT" ]
null
null
null
// Team: XBeeMessenger // Course: Fundamentals of Computing II // Assignment: Final Project // Purpose: Interface for a server which receives requests, handles // requests, and broadcasts responses #ifndef SERVER #define SERVER #include <string> #include <unistd.h> #include <cstdlib> #include "IRCCommandHand...
28.888889
79
0.735577
FundCompXbee
7e0119a4fd94dd780940a2fc66941202f79fc7b6
2,088
cpp
C++
libs/libvtrutil/src/vtr_list.cpp
rding2454/IndeStudy
c27be794bc2ce5ada93b16c92569a4bcafc8a21c
[ "MIT" ]
null
null
null
libs/libvtrutil/src/vtr_list.cpp
rding2454/IndeStudy
c27be794bc2ce5ada93b16c92569a4bcafc8a21c
[ "MIT" ]
null
null
null
libs/libvtrutil/src/vtr_list.cpp
rding2454/IndeStudy
c27be794bc2ce5ada93b16c92569a4bcafc8a21c
[ "MIT" ]
null
null
null
#include <cstdlib> #include "vtr_list.h" #include "vtr_memory.h" namespace vtr { t_linked_vptr *insert_in_vptr_list(t_linked_vptr *head, void *vptr_to_add) { /* Inserts a new element at the head of a linked list of void pointers. * * Returns the new head of the list. */ t_lin...
27.84
80
0.688218
rding2454
7e02f72ff574211551d229e1e0fc74712916682b
4,370
hxx
C++
opencascade/HLRBRep_EdgeData.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/HLRBRep_EdgeData.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/HLRBRep_EdgeData.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 1997-04-17 // Created by: Christophe MARION // Copyright (c) 1997-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the ...
24.829545
399
0.731579
valgur
7e03a73e36dc22f3de69ca364f53f10da5f6634b
769
cpp
C++
dbms/src/Parsers/ASTTTLElement.cpp
sunadm/ClickHouse
55903fbe23ef6dff8fc7ec25ae68e04919bc9b7f
[ "Apache-2.0" ]
7
2021-02-26T04:34:22.000Z
2021-12-31T08:15:47.000Z
dbms/src/Parsers/ASTTTLElement.cpp
sunadm/ClickHouse
55903fbe23ef6dff8fc7ec25ae68e04919bc9b7f
[ "Apache-2.0" ]
1
2019-10-13T16:06:13.000Z
2019-10-13T16:06:13.000Z
dbms/src/Parsers/ASTTTLElement.cpp
sunadm/ClickHouse
55903fbe23ef6dff8fc7ec25ae68e04919bc9b7f
[ "Apache-2.0" ]
3
2020-02-24T12:57:54.000Z
2021-10-04T13:29:00.000Z
#include <Columns/Collator.h> #include <Common/quoteString.h> #include <Parsers/ASTTTLElement.h> namespace DB { void ASTTTLElement::formatImpl(const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const { children.front()->formatImpl(settings, state, frame); if (destination_type ==...
27.464286
116
0.694408
sunadm
7e042ee4252496e14df8e3c73c6b1adecbcd3299
1,248
cc
C++
StatModules/src/ToyMCLikelihoodEvaluator.cc
GooStats/GooStats
5a8bc35736eb390d658c790fa0026b576898a462
[ "MIT" ]
3
2020-01-28T21:51:46.000Z
2021-09-06T18:43:00.000Z
StatModules/src/ToyMCLikelihoodEvaluator.cc
GooStats/GooStats
5a8bc35736eb390d658c790fa0026b576898a462
[ "MIT" ]
12
2019-08-09T08:58:49.000Z
2022-03-16T04:00:11.000Z
StatModules/src/ToyMCLikelihoodEvaluator.cc
GooStats/GooStats
5a8bc35736eb390d658c790fa0026b576898a462
[ "MIT" ]
3
2018-04-12T11:53:55.000Z
2022-03-17T13:06:06.000Z
/*****************************************************************************/ // Author: Xuefeng Ding <xuefeng.ding.physics@gmail.com> // Insitute: Gran Sasso Science Institute, L'Aquila, 67100, Italy // Date: 2018 April 7th // Version: v1.0 // Description: GooStats, a statistical analysis toolkit that runs on GPU. /...
36.705882
143
0.614583
GooStats
7e06656f021627fc251d7c71b350492b3a325178
7,917
cpp
C++
test/stkdatatest/ManyRecords.cpp
Aekras1a/YaizuComLib
470d33376add0d448002221b75f7efd40eec506f
[ "MIT" ]
1
2022-01-30T20:17:16.000Z
2022-01-30T20:17:16.000Z
test/stkdatatest/ManyRecords.cpp
Aekras1a/YaizuComLib
470d33376add0d448002221b75f7efd40eec506f
[ "MIT" ]
null
null
null
test/stkdatatest/ManyRecords.cpp
Aekras1a/YaizuComLib
470d33376add0d448002221b75f7efd40eec506f
[ "MIT" ]
null
null
null
#include "../../src/stkpl/StkPl.h" #include "../../src/stkdata/stkdata.h" #include "../../src/stkdata/stkdataapi.h" /* ManyRecords ・WStr(256)×32カラム×16383レコードのテーブルを作成することができる。InsertRecordを16383回繰り返しレコードを追加できる ・既存の[焼津沼津辰口町和泉町中田北白楽]テーブルから10レコードを削除できる。条件として連結されたレコードを指定する ・存在しないカラム名を指定してZaSortRecordを実行したとき,-1が返却される。 */ in...
31.795181
143
0.662372
Aekras1a
7e0671a6332d41f1426f827a417780c062d6f38d
35,068
cpp
C++
earth_enterprise/src/fusion/gst/gstGeometryChecker_unittest.cpp
ezeeyahoo/earthenterprise
b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9
[ "Apache-2.0" ]
2,661
2017-03-20T22:12:50.000Z
2022-03-30T09:43:19.000Z
earth_enterprise/src/fusion/gst/gstGeometryChecker_unittest.cpp
ezeeyahoo/earthenterprise
b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9
[ "Apache-2.0" ]
1,531
2017-03-24T17:20:32.000Z
2022-03-16T18:11:14.000Z
earth_enterprise/src/fusion/gst/gstGeometryChecker_unittest.cpp
ezeeyahoo/earthenterprise
b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9
[ "Apache-2.0" ]
990
2017-03-24T11:54:28.000Z
2022-03-22T11:51:47.000Z
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
35.820225
77
0.678767
ezeeyahoo
7e0765782b6bd26a518cb85d5d7cc059157aefbb
1,148
hpp
C++
_engine/code/include/global/component/profiler.hpp
Shelim/pixie_engine
bf1d80f3f03bd3d6890f4dfc63440f7dd0ff34a1
[ "MIT" ]
null
null
null
_engine/code/include/global/component/profiler.hpp
Shelim/pixie_engine
bf1d80f3f03bd3d6890f4dfc63440f7dd0ff34a1
[ "MIT" ]
null
null
null
_engine/code/include/global/component/profiler.hpp
Shelim/pixie_engine
bf1d80f3f03bd3d6890f4dfc63440f7dd0ff34a1
[ "MIT" ]
null
null
null
#ifndef ENGINE_GLOBAL_COMPONENT_PROFILER_HPP #define ENGINE_GLOBAL_COMPONENT_PROFILER_HPP #pragma once #include "utility/text/ustring.hpp" namespace engine { class profiler_t { public: virtual ~profiler_t() { } virtual void prof_begin_section(const char * name) ...
17.661538
117
0.577526
Shelim
7e086850a54e4560c0bc1ff6f6ab4de9098222e9
2,803
hxx
C++
src/control/genai/c_frontal.hxx
AltSysrq/Abendstern
106e1ad2457f7bfd90080eecf49a33f6079f8e1e
[ "BSD-3-Clause" ]
null
null
null
src/control/genai/c_frontal.hxx
AltSysrq/Abendstern
106e1ad2457f7bfd90080eecf49a33f6079f8e1e
[ "BSD-3-Clause" ]
null
null
null
src/control/genai/c_frontal.hxx
AltSysrq/Abendstern
106e1ad2457f7bfd90080eecf49a33f6079f8e1e
[ "BSD-3-Clause" ]
1
2022-01-29T11:54:41.000Z
2022-01-29T11:54:41.000Z
/** * @file * @author Jason Lingle * @brief Contains the FrontalCortex */ /* * c_frontal.hxx * * Created on: 02.11.2011 * Author: jason */ #ifndef C_FRONTAL_HXX_ #define C_FRONTAL_HXX_ #include "src/sim/objdl.hxx" #include "cortex.hxx" #include "ci_nil.hxx" #include "ci_self.hxx" #include "ci_objectiv...
24.80531
90
0.674278
AltSysrq
7e0960ec09e3cb190439b783fe4f7141de760acb
2,479
cpp
C++
Infinit/src/Platform/OpenGL/OpenGLFrameBuffer.cpp
J4m3s00/Infinit
dd877100f8529e4a97c13f0d179b356800ef2eb9
[ "Apache-2.0" ]
null
null
null
Infinit/src/Platform/OpenGL/OpenGLFrameBuffer.cpp
J4m3s00/Infinit
dd877100f8529e4a97c13f0d179b356800ef2eb9
[ "Apache-2.0" ]
6
2019-07-03T14:21:06.000Z
2019-12-22T12:37:56.000Z
Infinit/src/Platform/OpenGL/OpenGLFrameBuffer.cpp
J4m3s00/Infinit
dd877100f8529e4a97c13f0d179b356800ef2eb9
[ "Apache-2.0" ]
null
null
null
#include "inpch.h" namespace Infinit { OpenGLFrameBuffer::OpenGLFrameBuffer(uint width, uint height, FramebufferFormat format) : m_Format(format), m_Width(0), m_Height(0), m_RendererID(0) { Resize(width, height); } OpenGLFrameBuffer::~OpenGLFrameBuffer() { } void OpenGLFrameBuffer::Resize(uint width, ui...
28.170455
135
0.736587
J4m3s00
7e182c2caf9e70471094294efe271e0b5c274604
10,961
cc
C++
chrome/browser/extensions/api/bluetooth/bluetooth_api.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
1
2019-04-23T15:57:04.000Z
2019-04-23T15:57:04.000Z
chrome/browser/extensions/api/bluetooth/bluetooth_api.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/extensions/api/bluetooth/bluetooth_api.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
null
null
null
// 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 "chrome/browser/extensions/api/bluetooth/bluetooth_api.h" #include "base/utf_string_conversions.h" #include "chrome/browser/extensions/exten...
28.47013
80
0.716632
1065672644894730302
7e1a088a7797a422fe47eb3c8731608f189a1c84
3,975
cpp
C++
Firmware/Src/io/lcd/LcdDriver.cpp
borgu/midi-grid
ce65669f55d5d5598a8ff185debcec76ab001bfa
[ "BSD-3-Clause" ]
null
null
null
Firmware/Src/io/lcd/LcdDriver.cpp
borgu/midi-grid
ce65669f55d5d5598a8ff185debcec76ab001bfa
[ "BSD-3-Clause" ]
null
null
null
Firmware/Src/io/lcd/LcdDriver.cpp
borgu/midi-grid
ce65669f55d5d5598a8ff185debcec76ab001bfa
[ "BSD-3-Clause" ]
null
null
null
#include "io/lcd/LcdDriver.hpp" #include "system/gpio_definitions.h" #include "stm32f4xx_hal.h" namespace lcd { static DMA_HandleTypeDef lcdSpiDma; static SPI_HandleTypeDef lcdSpi; extern "C" void DMA1_Stream4_IRQHandler() { HAL_DMA_IRQHandler(&lcdSpiDma); } LcdDriver::LcdDriver() { } LcdDriver::~LcdDriver() ...
27.797203
88
0.720755
borgu
7e1ae4aa4ceb168d6d7f5a29b2f60d26b7096f1f
9,157
cpp
C++
Source/dvlnet/tcp_server.cpp
pionere/devilutionX
63f8deb298a00b040010fc299c0568eae19522e1
[ "Unlicense" ]
2
2021-02-02T19:27:20.000Z
2022-03-07T16:50:55.000Z
Source/dvlnet/tcp_server.cpp
pionere/devilutionX
63f8deb298a00b040010fc299c0568eae19522e1
[ "Unlicense" ]
null
null
null
Source/dvlnet/tcp_server.cpp
pionere/devilutionX
63f8deb298a00b040010fc299c0568eae19522e1
[ "Unlicense" ]
1
2022-03-07T16:51:16.000Z
2022-03-07T16:51:16.000Z
#include "tcp_server.h" #ifdef TCPIP #include <chrono> #include <memory> #include "base.h" DEVILUTION_BEGIN_NAMESPACE namespace net { tcp_server::tcp_server(asio::io_context &ioc, buffer_t info, unsigned srvType) : ioc(ioc) , acceptor(ioc) , connTimer(ioc) , game_init_info(info) , serverType(s...
24.748649
96
0.642569
pionere
7e1b2f410e7f84f5311dea12c79674b57900bc0a
758
cpp
C++
cpp/BalancedBinaryTree.cpp
thinksource/code_interview
08be992240508b73894eaf6b8c025168fd19df19
[ "Apache-2.0" ]
12
2015-03-12T03:27:26.000Z
2021-03-11T09:26:16.000Z
cpp/BalancedBinaryTree.cpp
thinksource/code_interview
08be992240508b73894eaf6b8c025168fd19df19
[ "Apache-2.0" ]
null
null
null
cpp/BalancedBinaryTree.cpp
thinksource/code_interview
08be992240508b73894eaf6b8c025168fd19df19
[ "Apache-2.0" ]
11
2015-01-28T16:45:40.000Z
2017-03-28T20:01:38.000Z
/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: bool isBalanced(TreeNode *root) { int h = 0; return isBalanced(root, h); } ...
25.266667
69
0.555409
thinksource
7e1be89d5ebd582653ffef7f21993d81a14d0ab8
5,033
cpp
C++
gui/statuses/LocalStatuses.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
81
2019-09-18T13:53:17.000Z
2022-03-19T00:44:20.000Z
gui/statuses/LocalStatuses.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
4
2019-10-03T15:17:00.000Z
2019-11-03T01:05:41.000Z
gui/statuses/LocalStatuses.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
25
2019-09-27T16:56:02.000Z
2022-03-14T07:11:14.000Z
#include "stdafx.h" #include "utils/JsonUtils.h" #include "../utils/features.h" #include "LocalStatuses.h" #include "gui_settings.h" #include "utils/utils.h" #include "utils/InterConnector.h" #include "rapidjson/writer.h" namespace { inline QString getDefaultJSONPath() { return (Ui::get_gui_settings()...
25.943299
168
0.622293
mail-ru-im
7e1caedc68709129a2d488241201b6042bf4625e
1,608
cpp
C++
Native/Framework/source/Library.Shared/SpriteManager.cpp
btrowbridge/DirectX.2D.Bespoke.Games
382728f7c9d50597f9fc84e222efd468c33716a5
[ "MS-PL" ]
null
null
null
Native/Framework/source/Library.Shared/SpriteManager.cpp
btrowbridge/DirectX.2D.Bespoke.Games
382728f7c9d50597f9fc84e222efd468c33716a5
[ "MS-PL" ]
null
null
null
Native/Framework/source/Library.Shared/SpriteManager.cpp
btrowbridge/DirectX.2D.Bespoke.Games
382728f7c9d50597f9fc84e222efd468c33716a5
[ "MS-PL" ]
null
null
null
#include "pch.h" #include "SpriteManager.h" using namespace std; using namespace DirectX; namespace Library { unique_ptr<SpriteManager> SpriteManager::sInstance; SpriteManager::SpriteManager(Game& game) : mGame(&game), mSpriteBatch(make_shared<DirectX::SpriteBatch>(mGame->Direct3DDeviceContext())) { } shared...
27.724138
133
0.75995
btrowbridge
7e1dbbe5a0decdaec568540334ac2b00e0186796
5,991
cpp
C++
JNIManagedPeer.cpp
jessebenson/JNIManagedPeerBase
7188fc75ecd2010901c9baf98436e7f16eb488b2
[ "MIT" ]
null
null
null
JNIManagedPeer.cpp
jessebenson/JNIManagedPeerBase
7188fc75ecd2010901c9baf98436e7f16eb488b2
[ "MIT" ]
null
null
null
JNIManagedPeer.cpp
jessebenson/JNIManagedPeerBase
7188fc75ecd2010901c9baf98436e7f16eb488b2
[ "MIT" ]
1
2019-01-03T12:34:01.000Z
2019-01-03T12:34:01.000Z
/* * The MIT License (MIT) * * Copyright (c) 2014 Jesse Benson * * 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 us...
24.157258
121
0.59122
jessebenson
7e249238e151222cbd66c831c38133c8da2bc74d
5,968
hpp
C++
include/gct/graphics_pipeline_create_info.hpp
Fadis/gct
bde211f9336e945e4db21f5abb4ce01dcad78049
[ "MIT" ]
1
2022-03-03T09:27:09.000Z
2022-03-03T09:27:09.000Z
include/gct/graphics_pipeline_create_info.hpp
Fadis/gct
bde211f9336e945e4db21f5abb4ce01dcad78049
[ "MIT" ]
1
2021-12-02T03:45:45.000Z
2021-12-03T23:44:37.000Z
include/gct/graphics_pipeline_create_info.hpp
Fadis/gct
bde211f9336e945e4db21f5abb4ce01dcad78049
[ "MIT" ]
null
null
null
#ifndef GCT_GRAPHICS_PIPELINE_CREATE_INFO_HPP #define GCT_GRAPHICS_PIPELINE_CREATE_INFO_HPP #include <memory> #include <optional> #include <vulkan/vulkan.hpp> #include <gct/extension.hpp> #include <gct/pipeline_shader_stage_create_info.hpp> #include <gct/pipeline_vertex_input_state_create_info.hpp> #include <gct/pipeli...
56.838095
116
0.847185
Fadis
7e257d7e240a3539b250416a09ef45c6f35ba85d
345
hpp
C++
include/di/systems/display/opengl_profile.hpp
acdemiralp/nano_engine
64069cf300af574efb0c979dbc97eb0a03cdc7a3
[ "MIT" ]
4
2021-02-24T14:13:47.000Z
2022-02-06T12:02:24.000Z
include/di/systems/display/opengl_profile.hpp
acdemiralp/nano_engine
64069cf300af574efb0c979dbc97eb0a03cdc7a3
[ "MIT" ]
1
2018-01-06T11:52:16.000Z
2018-01-06T11:52:16.000Z
include/di/systems/display/opengl_profile.hpp
acdemiralp/nano_engine
64069cf300af574efb0c979dbc97eb0a03cdc7a3
[ "MIT" ]
2
2018-02-11T14:51:17.000Z
2021-02-24T14:13:49.000Z
#ifndef DI_SYSTEMS_DISPLAY_OPENGL_PROFILE_HPP_ #define DI_SYSTEMS_DISPLAY_OPENGL_PROFILE_HPP_ #include <SDL2/SDL_video.h> namespace di { enum class opengl_profile { core = SDL_GL_CONTEXT_PROFILE_CORE , compatibility = SDL_GL_CONTEXT_PROFILE_COMPATIBILITY, embedded_systems = SDL_GL_CONTEXT...
20.294118
58
0.77971
acdemiralp
7e2b55280d92f7dfeaca8cb2e6e15423710fa09d
636
cpp
C++
Sources/11XXX/11651/11651.cpp
DDManager/Baekjoon-Online-Judge
7dd6d76838d3309bfe5bef46f1778c5776ebdf2a
[ "MIT" ]
1
2019-07-02T09:07:58.000Z
2019-07-02T09:07:58.000Z
Sources/11XXX/11651/11651.cpp
DDManager/Baekjoon-Online-Judge
7dd6d76838d3309bfe5bef46f1778c5776ebdf2a
[ "MIT" ]
null
null
null
Sources/11XXX/11651/11651.cpp
DDManager/Baekjoon-Online-Judge
7dd6d76838d3309bfe5bef46f1778c5776ebdf2a
[ "MIT" ]
1
2022-02-13T04:17:10.000Z
2022-02-13T04:17:10.000Z
/** * BOJ 11651번 C++ 소스 코드 * 작성자 : 동동매니저 (DDManager) * * ※ 실행 결과 * 사용 메모리 : 1,900 KB / 262,144 KB * 소요 시간 : 60 ms / 1,000 ms * * Copyright 2020. DDManager all rights reserved. */ #include <cstdio> #include <cstdlib> #include <algorithm> using namespace std; typedef struct{ int x,y; }Point; bool comp(...
17.666667
52
0.584906
DDManager
7e2ed3b3ff7340e46e18f1daf504f0c2408c0eee
4,692
cpp
C++
src/slam/instance.cpp
01org/node-realsense
9c000380f61912415c2943a20f8caeb41d579f7b
[ "MIT" ]
12
2017-02-27T14:10:12.000Z
2017-09-25T08:02:07.000Z
src/slam/instance.cpp
01org/node-realsense
9c000380f61912415c2943a20f8caeb41d579f7b
[ "MIT" ]
209
2017-02-22T08:02:38.000Z
2017-09-27T09:26:24.000Z
src/slam/instance.cpp
01org/node-realsense
9c000380f61912415c2943a20f8caeb41d579f7b
[ "MIT" ]
18
2017-02-22T09:05:42.000Z
2017-09-21T07:52:40.000Z
// Copyright (c) 2016 Intel Corporation. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. #include "instance.h" #include "gen/promise-helper.h" Instance::Instance() { } Instance& Instance::operator=(const Instance& rhs) { if (&rhs != this...
28.609756
73
0.734015
01org
7e2ee7a99267f610e6b03bd97bb9fb7424d661bc
13,599
cpp
C++
src/plugins/summary/summarywidget.cpp
devel29a/leechcraft
faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a
[ "BSL-1.0" ]
null
null
null
src/plugins/summary/summarywidget.cpp
devel29a/leechcraft
faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a
[ "BSL-1.0" ]
null
null
null
src/plugins/summary/summarywidget.cpp
devel29a/leechcraft
faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
28.390397
125
0.686521
devel29a
7e3044e1f0bee2fa979528e79a9b8a20527e7894
910
hpp
C++
mod08/ex02/mutantStack.hpp
paozer/piscine_cpp
449d4a60b3c50c7ba6d94e38a7b632b5f447a438
[ "Unlicense" ]
null
null
null
mod08/ex02/mutantStack.hpp
paozer/piscine_cpp
449d4a60b3c50c7ba6d94e38a7b632b5f447a438
[ "Unlicense" ]
null
null
null
mod08/ex02/mutantStack.hpp
paozer/piscine_cpp
449d4a60b3c50c7ba6d94e38a7b632b5f447a438
[ "Unlicense" ]
2
2021-01-31T13:52:11.000Z
2021-05-19T18:36:17.000Z
#pragma once #ifndef MUTANTSTACK_HPP #define MUTANTSTACK_HPP #include <iterator> #include <deque> #include <stack> template <typename T, typename Container = std::deque<T> > class mutantStack : public std::stack<T, Container> { public: mutantStack() {} mutantStack(const mutantStack & other) { *thi...
30.333333
96
0.617582
paozer
7e305c2400bc8774a10c5cc9dec4757f2847085b
1,031
hpp
C++
RayCharles/Sphere.hpp
CoderGirl42/RayTracer
4e370864ec6b9c02ea030a9cbe4354b2d55f3aba
[ "MIT" ]
null
null
null
RayCharles/Sphere.hpp
CoderGirl42/RayTracer
4e370864ec6b9c02ea030a9cbe4354b2d55f3aba
[ "MIT" ]
null
null
null
RayCharles/Sphere.hpp
CoderGirl42/RayTracer
4e370864ec6b9c02ea030a9cbe4354b2d55f3aba
[ "MIT" ]
null
null
null
#pragma once #include "Entity.hpp" class _MMX_ALIGN_ Sphere : public Entity { public: Sphere() {} Sphere(const Vec3& c, real r) : Center(c), Radius(r) {}; virtual bool Hit(const Ray& r, real t_min, real t_max, HitRecord& rec); Vec3 Center; real Radius; Entity *Entity; }; bool Sphere::Hit(const Ray& r, real t...
19.092593
72
0.587779
CoderGirl42
cce1758fd8acd349c852f95809bfb32fcc86af24
51,552
cpp
C++
solarpilot/Toolbox.cpp
rchintala13/ssc
3424d9b1bfab50cc11d1895d0893cf1771fd3a5e
[ "BSD-3-Clause" ]
null
null
null
solarpilot/Toolbox.cpp
rchintala13/ssc
3424d9b1bfab50cc11d1895d0893cf1771fd3a5e
[ "BSD-3-Clause" ]
null
null
null
solarpilot/Toolbox.cpp
rchintala13/ssc
3424d9b1bfab50cc11d1895d0893cf1771fd3a5e
[ "BSD-3-Clause" ]
1
2017-10-01T08:36:05.000Z
2017-10-01T08:36:05.000Z
/** BSD-3-Clause Copyright 2019 Alliance for Sustainable Energy, LLC 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...
27.523759
178
0.585118
rchintala13
cce4c58fd7f2fe5c465f493d28169a189cb5e6b9
2,019
cpp
C++
cocos2dx_playground/Classes/cpg_input_BasicKeyCollector.cpp
R2Road/cocos2dx_playground
6e6f349b5c9fc702558fe8720ba9253a8ba00164
[ "Apache-2.0" ]
9
2020-06-11T17:09:44.000Z
2021-12-25T00:34:33.000Z
cocos2dx_playground/Classes/cpg_input_BasicKeyCollector.cpp
R2Road/cocos2dx_playground
6e6f349b5c9fc702558fe8720ba9253a8ba00164
[ "Apache-2.0" ]
9
2019-12-21T15:01:01.000Z
2020-12-05T15:42:43.000Z
cocos2dx_playground/Classes/cpg_input_BasicKeyCollector.cpp
R2Road/cocos2dx_playground
6e6f349b5c9fc702558fe8720ba9253a8ba00164
[ "Apache-2.0" ]
1
2020-09-07T01:32:16.000Z
2020-09-07T01:32:16.000Z
#include "cpg_input_BasicKeyCollector.h" #include "cpg_input_KeyMap.h" #include "step_rain_of_chaos_input_KeyCodeCollector.h" USING_NS_CC; namespace cpg_input { BasicKeyCollector::BasicKeyCollector( const KeyMapSp& key_map_container ) : iKeyCollector( key_map_container ) , mKeyHistory() , mCurrent_KeyStatus_Con...
33.098361
120
0.771174
R2Road
cce5501e3b418a4945627888a305392c92ee0906
1,763
inl
C++
libblk/info.inl
transpixel/tpqz
2d8400b1be03292d0c5ab74710b87e798ae6c52c
[ "MIT" ]
1
2017-06-01T00:21:16.000Z
2017-06-01T00:21:16.000Z
libblk/info.inl
transpixel/tpqz
2d8400b1be03292d0c5ab74710b87e798ae6c52c
[ "MIT" ]
3
2017-06-01T00:26:16.000Z
2020-05-09T21:06:27.000Z
libblk/info.inl
transpixel/tpqz
2d8400b1be03292d0c5ab74710b87e798ae6c52c
[ "MIT" ]
null
null
null
// // // MIT License // // Copyright (c) 2017 Stellacore Corporation. // // 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 ...
25.926471
72
0.695973
transpixel
cce6a75dd76da1b27efb082873e079f1c618091f
6,868
hpp
C++
src/Renderer.hpp
CobaltXII/Tempest
5963e21b98cd414b1b525b11a193512ec3e35f14
[ "MIT" ]
4
2020-01-03T02:52:53.000Z
2021-09-16T23:03:06.000Z
src/Renderer.hpp
CobaltXII/Tempest
5963e21b98cd414b1b525b11a193512ec3e35f14
[ "MIT" ]
null
null
null
src/Renderer.hpp
CobaltXII/Tempest
5963e21b98cd414b1b525b11a193512ec3e35f14
[ "MIT" ]
null
null
null
// A renderer. struct Renderer { const float FOV = 60.0f; const float NEAR_PLANE = 0.5f; const float FAR_PLANE = 5000.0f; Display display; glm::mat4 projection; int width; int height; Renderer() { return; } Renderer(std::string title, int width, int height) { display = Display(title, width, height); ...
27.805668
96
0.755679
CobaltXII
cceaba2286593dc1fa55e6559cc1ece25b0bc55a
18,490
cpp
C++
src/QMCWaveFunctions/tests/test_einset_spinor.cpp
kayahans/qmcpack
c25d77702e36363ff7368ded783bf31c1b1c5f17
[ "NCSA" ]
null
null
null
src/QMCWaveFunctions/tests/test_einset_spinor.cpp
kayahans/qmcpack
c25d77702e36363ff7368ded783bf31c1b1c5f17
[ "NCSA" ]
null
null
null
src/QMCWaveFunctions/tests/test_einset_spinor.cpp
kayahans/qmcpack
c25d77702e36363ff7368ded783bf31c1b1c5f17
[ "NCSA" ]
null
null
null
////////////////////////////////////////////////////////////////////////////////////// // This file is distributed under the University of Illinois/NCSA Open Source License. // See LICENSE file in top directory for details. // // Copyright (c) 2020 Jeongnim Kim and QMCPACK developers. // // File developed by: Raymond C...
43.505882
182
0.669605
kayahans
ccedd60d98c2a361b0bdc6a2daf26844379be7bf
1,550
cpp
C++
gui/previewer/Previewer.cpp
ERPShuen/ICQ1
f319a72ad60aae4809eef0e4eb362f4d69292296
[ "Apache-2.0" ]
1
2019-12-02T08:37:10.000Z
2019-12-02T08:37:10.000Z
gui/previewer/Previewer.cpp
ERPShuen/ICQ1
f319a72ad60aae4809eef0e4eb362f4d69292296
[ "Apache-2.0" ]
null
null
null
gui/previewer/Previewer.cpp
ERPShuen/ICQ1
f319a72ad60aae4809eef0e4eb362f4d69292296
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "Previewer.h" #include "../main_window/MainWindow.h" #include "../utils/InterConnector.h" #include "../../corelib/enumerations.h" #include "../../gui.shared/implayer.h" #include "../utils/utils.h" namespace { std::unique_ptr<QWidget> PreviewWidget_; std::unique_ptr<QWid...
27.678571
220
0.574839
ERPShuen
ccee09a4cf7e1da94d802e73212aa239db62006d
151
cpp
C++
components/eam/src/physics/crm/samxx/diffuse_mom.cpp
Fa-Li/E3SM
a91995093ec6fc0dd6e50114f3c70b5fb64de0f0
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
235
2018-04-23T16:30:06.000Z
2022-03-21T17:53:12.000Z
components/eam/src/physics/crm/samxx/diffuse_mom.cpp
Fa-Li/E3SM
a91995093ec6fc0dd6e50114f3c70b5fb64de0f0
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
2,372
2018-04-20T18:12:34.000Z
2022-03-31T23:43:17.000Z
components/eam/src/physics/crm/samxx/diffuse_mom.cpp
Fa-Li/E3SM
a91995093ec6fc0dd6e50114f3c70b5fb64de0f0
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
254
2018-04-20T20:43:32.000Z
2022-03-30T20:13:38.000Z
#include "diffuse_mom.h" void diffuse_mom() { if (RUN3D) { diffuse_mom3D(sgs_field_diag); } else { diffuse_mom2D(sgs_field_diag); } }
12.583333
34
0.655629
Fa-Li
ccf059187eb3c8bccf715f1eae37d74469aa3c52
1,684
hpp
C++
include/memory/hadesmem/detail/force_initialize.hpp
CvX/hadesmem
d2c5164cc753dac37879ac8079f2ae23f2b8edb5
[ "MIT" ]
24
2018-08-18T18:05:37.000Z
2021-09-28T00:26:35.000Z
include/memory/hadesmem/detail/force_initialize.hpp
CvX/hadesmem
d2c5164cc753dac37879ac8079f2ae23f2b8edb5
[ "MIT" ]
null
null
null
include/memory/hadesmem/detail/force_initialize.hpp
CvX/hadesmem
d2c5164cc753dac37879ac8079f2ae23f2b8edb5
[ "MIT" ]
9
2018-04-16T09:53:09.000Z
2021-02-26T05:04:49.000Z
// Copyright (C) 2010-2014 Joshua Boyce. // See the file COPYING for copying permission. #pragma once #include <array> #include <windows.h> #include <hadesmem/config.hpp> #include <hadesmem/detail/remote_thread.hpp> #include <hadesmem/detail/trace.hpp> #include <hadesmem/process.hpp> #include <hadesmem...
28.542373
73
0.736342
CvX
ccf1d89f4b4f212721515d1d3cc2aabfa14856a5
1,807
cpp
C++
1 term/2/3/A/A.cpp
alexkats/Discrete-Math
dd4edd9ff9322e319d162d56567b9d81a6636373
[ "Unlicense" ]
null
null
null
1 term/2/3/A/A.cpp
alexkats/Discrete-Math
dd4edd9ff9322e319d162d56567b9d81a6636373
[ "Unlicense" ]
null
null
null
1 term/2/3/A/A.cpp
alexkats/Discrete-Math
dd4edd9ff9322e319d162d56567b9d81a6636373
[ "Unlicense" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <cstring> #include <cmath> #include <cstdio> #include <cstdlib> #include <vector> #include <algorithm> #include <set> #include <map> #include <cassert> #include <ctime> #include <stack> #include <queue> #include <deque> #include <utility>...
15.444444
62
0.50249
alexkats
ccf5f771d0469f00cb4cc1d90ea48201f516bf7e
1,277
cpp
C++
src/ScorePeg.cpp
DarkMaguz/mastermind-gtkmm
4abfd70c81e4fb7688898cb4d55610216d75eeb8
[ "MIT" ]
null
null
null
src/ScorePeg.cpp
DarkMaguz/mastermind-gtkmm
4abfd70c81e4fb7688898cb4d55610216d75eeb8
[ "MIT" ]
null
null
null
src/ScorePeg.cpp
DarkMaguz/mastermind-gtkmm
4abfd70c81e4fb7688898cb4d55610216d75eeb8
[ "MIT" ]
null
null
null
/* * ScorePeg.cpp * * Created on: Nov 18, 2021 * Author: magnus */ #include "ScorePeg.h" ScorePeg::ScorePeg() : m_score(MasterMind::NONE) { set_size_request(20, 20); //show_all_children(); } ScorePeg::~ScorePeg() { } void ScorePeg::setScore(const MasterMind::score& score) { m_score = score; // Reque...
19.348485
64
0.648395
DarkMaguz
ccf7ec1dcc93d8a545e8911fc4acaa7925ef9731
888
cpp
C++
src/13merge.cpp
baseoursteps/faang
8508b3bd66a607fa4ff5a71efd9e2a25a2a263d5
[ "MIT" ]
1
2021-07-13T19:47:57.000Z
2021-07-13T19:47:57.000Z
src/13merge.cpp
baseoursteps/faang
8508b3bd66a607fa4ff5a71efd9e2a25a2a263d5
[ "MIT" ]
1
2021-05-07T15:02:27.000Z
2021-05-09T08:44:05.000Z
src/13merge.cpp
baseoursteps/faang
8508b3bd66a607fa4ff5a71efd9e2a25a2a263d5
[ "MIT" ]
1
2021-05-07T13:18:01.000Z
2021-05-07T13:18:01.000Z
#include <algorithm> #include <iostream> #include <vector> struct interval { int start { -1 }, end { -1 }; interval(int a, int b) : start(a), end(b) {} bool operator<(const interval &o) const { return start < o.start; } }; int main() { using namespace std; vector<interval> val...
20.651163
71
0.427928
baseoursteps
ccf943e42d13ae924ebf1fc082f4bd04a5a594c6
2,532
cxx
C++
src/Filtering/BinaryMathematicalMorphology/ThinImage/Code.cxx
kian-weimer/ITKSphinxExamples
ff614cbba28831d1bf2a0cfaa5a2f1949a627c1b
[ "Apache-2.0" ]
34
2015-01-26T19:38:36.000Z
2021-02-04T02:15:41.000Z
src/Filtering/BinaryMathematicalMorphology/ThinImage/Code.cxx
kian-weimer/ITKSphinxExamples
ff614cbba28831d1bf2a0cfaa5a2f1949a627c1b
[ "Apache-2.0" ]
142
2016-01-22T15:59:25.000Z
2021-03-17T15:11:19.000Z
src/Filtering/BinaryMathematicalMorphology/ThinImage/Code.cxx
kian-weimer/ITKSphinxExamples
ff614cbba28831d1bf2a0cfaa5a2f1949a627c1b
[ "Apache-2.0" ]
32
2015-01-26T19:38:41.000Z
2021-03-17T15:28:14.000Z
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
28.449438
106
0.664297
kian-weimer
ccfd8be8e8655529c7f77980743cf67f842fc07f
1,759
cpp
C++
Graph Theory/Union-Find (Disjoint-Sets) and MST/prim.cpp
hoanghai1803/DataStructures_Algorithms
b5e8ccb3deba7566b915b21c6b7e9435cfe55301
[ "MIT" ]
1
2021-03-06T00:36:08.000Z
2021-03-06T00:36:08.000Z
Graph Theory/Union-Find (Disjoint-Sets) and MST/prim.cpp
hoanghai1803/DataStructures_Algorithms
b5e8ccb3deba7566b915b21c6b7e9435cfe55301
[ "MIT" ]
null
null
null
Graph Theory/Union-Find (Disjoint-Sets) and MST/prim.cpp
hoanghai1803/DataStructures_Algorithms
b5e8ccb3deba7566b915b21c6b7e9435cfe55301
[ "MIT" ]
null
null
null
/* ========== PRIM'S ALGORITHM IMPLEMENTATION ========== */ // This implementation of Prim's algorithm calculates the minimum // weight spanning tree of the weighted undirected graph with non-negative // edge weights. We assume that the graph is connected. // Time complexity: // Using adjacency matrix: O(V^2) // U...
25.492754
87
0.554292
hoanghai1803
ccff98407b71a41ddc6d1cfe4c03e22bb036ff48
738
cpp
C++
Curso/PILHA.cpp
Pedro-H-Castoldi/c-
a01cec85559efec8c84bef142119d83dad12bb1e
[ "Apache-2.0" ]
null
null
null
Curso/PILHA.cpp
Pedro-H-Castoldi/c-
a01cec85559efec8c84bef142119d83dad12bb1e
[ "Apache-2.0" ]
null
null
null
Curso/PILHA.cpp
Pedro-H-Castoldi/c-
a01cec85559efec8c84bef142119d83dad12bb1e
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <stack> using namespace std; int main(){ stack <string> cartas; cartas.push("Carta 1"); cartas.push("Carta 2"); cartas.push("Carta 3"); cartas.push("carta 4"); /*while (!cartas.empty()){ // Maneira de excluir elementos da Pilha cartas.pop(); }*/ if(cartas.empty()){ cout ...
18.923077
86
0.574526
Pedro-H-Castoldi
6905dfe09a3904ce69ca6b5d0687257e919975aa
1,427
cpp
C++
PIXEL2D/Utilities/StringExtensions.cpp
Maxchii/PIXEL2D
ac1ce604e4f1b8448f14a4f92c69a2ff6d127f56
[ "Apache-2.0" ]
1
2015-05-18T15:20:19.000Z
2015-05-18T15:20:19.000Z
PIXEL2D/Utilities/StringExtensions.cpp
Ossadtchii/PIXEL2D
ac1ce604e4f1b8448f14a4f92c69a2ff6d127f56
[ "Apache-2.0" ]
5
2015-05-18T15:21:28.000Z
2015-06-28T12:43:52.000Z
PIXEL2D/Utilities/StringExtensions.cpp
Maxchii/PIXEL2D
ac1ce604e4f1b8448f14a4f92c69a2ff6d127f56
[ "Apache-2.0" ]
null
null
null
#include "StringExtensions.h" #include <sstream> namespace PIXL { namespace utilities { void GetWords(std::string s, std::vector<std::string>& words) { UInt32 end = 0; while (s.size() > 0) { for (unsigned int i = 0; i < s.size(); i++) { if (s[i] == ' ') { end = i; string word = s.subs...
17.192771
75
0.576034
Maxchii
690c1ea3a04477e1258114150bfd6cd416334903
4,644
cpp
C++
xcore/smart_analyzer.cpp
zongwave/libxcam
2c0cc6839ddd3ef2b6ad22d2580f7878314daf14
[ "Apache-2.0" ]
400
2018-01-26T05:33:23.000Z
2022-03-31T06:36:47.000Z
xcore/smart_analyzer.cpp
zihengchang/libxcam
53e2b415f9f20ab315de149afdfee97574aeaad0
[ "Apache-2.0" ]
77
2018-01-25T06:16:15.000Z
2022-02-23T02:50:49.000Z
xcore/smart_analyzer.cpp
zihengchang/libxcam
53e2b415f9f20ab315de149afdfee97574aeaad0
[ "Apache-2.0" ]
161
2018-03-05T01:03:42.000Z
2022-03-29T17:14:20.000Z
/* * smart_analyzer.cpp - smart analyzer * * Copyright (c) 2015 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
25.944134
117
0.680233
zongwave
690eddb5ac828cb5061e5482d514dd2ee0d81b27
1,531
cpp
C++
acwing/winter/1113. 红与黑.cpp
xmmmmmovo/MyAlgorithmSolutions
f5198d438f36f41cc4f72d53bb71d474365fa80d
[ "MIT" ]
1
2020-03-26T13:40:52.000Z
2020-03-26T13:40:52.000Z
acwing/winter/1113. 红与黑.cpp
xmmmmmovo/MyAlgorithmSolutions
f5198d438f36f41cc4f72d53bb71d474365fa80d
[ "MIT" ]
null
null
null
acwing/winter/1113. 红与黑.cpp
xmmmmmovo/MyAlgorithmSolutions
f5198d438f36f41cc4f72d53bb71d474365fa80d
[ "MIT" ]
null
null
null
/** * author: xmmmmmovo * generation time: 2021/01/12 * filename: red_and_black.cpp * language & build version : C 11 & C++ 17 */ #include <algorithm> #include <iostream> #include <queue> #define x first #define y second using namespace std; typedef pair<int, int> PII; char g[25][25]; int n, m; int dx[] = {-1, ...
20.413333
79
0.367734
xmmmmmovo
691328ec21e9bae7dd92209d732428dfda11a04d
2,656
hpp
C++
sdk/attestation/azure-security-attestation/src/private/crypto/openssl/openssl_helpers.hpp
JinmingHu-MSFT/azure-sdk-for-cpp
933486385a54a5a09a7444dbd823425f145ad75a
[ "MIT" ]
1
2022-01-19T22:54:41.000Z
2022-01-19T22:54:41.000Z
sdk/attestation/azure-security-attestation/src/private/crypto/openssl/openssl_helpers.hpp
LarryOsterman/azure-sdk-for-cpp
d96216f50909a2bd39b555c9088f685bf0f7d6e6
[ "MIT" ]
null
null
null
sdk/attestation/azure-security-attestation/src/private/crypto/openssl/openssl_helpers.hpp
LarryOsterman/azure-sdk-for-cpp
d96216f50909a2bd39b555c9088f685bf0f7d6e6
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #pragma once #include <memory> #include <openssl/bio.h> #include <openssl/evp.h> #include <stdexcept> #include <type_traits> #include <utility> namespace Azure { namespace Security { namespace Attestation { namespace _detail ...
35.891892
96
0.67997
JinmingHu-MSFT
6913324610ba42002ca621321552d927c8186c93
1,341
cpp
C++
src/CLR/Core/StringTable.cpp
TIPConsulting/nf-interpreter
d5407872f4705d6177e1ee5a2e966bd02fd476e4
[ "MIT" ]
null
null
null
src/CLR/Core/StringTable.cpp
TIPConsulting/nf-interpreter
d5407872f4705d6177e1ee5a2e966bd02fd476e4
[ "MIT" ]
1
2021-02-22T07:54:30.000Z
2021-02-22T07:54:30.000Z
src/CLR/Core/StringTable.cpp
TIPConsulting/nf-interpreter
d5407872f4705d6177e1ee5a2e966bd02fd476e4
[ "MIT" ]
null
null
null
// // Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // #include "stdafx.h" #include "Core.h" ////////////////////////////////////////////////////////////////////////...
24.833333
101
0.541387
TIPConsulting
6917d70520912ba9c78126e9e2359c219333c51c
1,184
hh
C++
src/faodel-services/MPISyncStart.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-01-25T21:21:07.000Z
2021-04-29T17:24:00.000Z
src/faodel-services/MPISyncStart.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
8
2018-10-09T14:35:30.000Z
2020-09-30T20:09:42.000Z
src/faodel-services/MPISyncStart.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-04-23T19:01:36.000Z
2021-05-11T07:44:55.000Z
// Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. #ifndef FAODEL_MPISYNCHSTART_HH #define FAODEL_MPISYNCHSTART_HH #include <string> #include "faodel-common/Boots...
25.73913
76
0.727196
faodel
691a7ea5b06c5bdcd19fb807d06fcd2fa90ae730
1,241
cpp
C++
tests/expected/loop.cpp
div72/py2many
60277bc13597bd32d078b88a7390715568115fc6
[ "MIT" ]
345
2021-01-28T17:33:08.000Z
2022-03-25T16:07:56.000Z
tests/expected/loop.cpp
mkos11/py2many
be6cfaad5af32c43eb24f182cb20ad63b979d4ef
[ "MIT" ]
291
2021-01-31T13:15:06.000Z
2022-03-23T21:28:49.000Z
tests/expected/loop.cpp
mkos11/py2many
be6cfaad5af32c43eb24f182cb20ad63b979d4ef
[ "MIT" ]
23
2021-02-09T17:15:03.000Z
2022-02-03T05:57:44.000Z
#include <iostream> // NOLINT(build/include_order) #include "pycpp/runtime/builtins.h" // NOLINT(build/include_order) #include "pycpp/runtime/range.hpp" // NOLINT(build/include_order) #include "pycpp/runtime/sys.h" // NOLINT(build/include_order) inline void for_with_break() { for (auto i : rangepp::xrange(...
19.390625
67
0.560838
div72
6925bfa6d418c2725a6e7538337347caf2d38bbb
977
cpp
C++
Sources/libosp/test/array_bench.cpp
nihospr01/OpenSpeechPlatform
799fb5baa5b8cdfad0f5387dd48b394adc583ede
[ "BSD-2-Clause" ]
null
null
null
Sources/libosp/test/array_bench.cpp
nihospr01/OpenSpeechPlatform
799fb5baa5b8cdfad0f5387dd48b394adc583ede
[ "BSD-2-Clause" ]
null
null
null
Sources/libosp/test/array_bench.cpp
nihospr01/OpenSpeechPlatform
799fb5baa5b8cdfad0f5387dd48b394adc583ede
[ "BSD-2-Clause" ]
null
null
null
#include <benchmark/benchmark.h> #include <OSP/array_utilities/array_utilities.hpp> #include <cassert> #include <iostream> #include <string> using namespace std; void array_sum_bench(benchmark::State &state) { int num = state.range(0); float *arr1 = new float[num]; float total; for (auto i = 0; i < n...
24.425
63
0.635619
nihospr01