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
37caa01c67b60d9dc807fc724d2a41b71d96f253
811
cpp
C++
SmallPetsHealthcare/AmbentController.cpp
mihotoyama/doingio-small-pets-healthcare
94f88e8ce10265a022cbc2c75554b9819f335cc6
[ "Apache-2.0" ]
6
2020-09-26T02:31:46.000Z
2022-03-17T07:20:08.000Z
SmallPetsHealthcare/AmbentController.cpp
mihotoyama/doingio-small-pets-healthcare
94f88e8ce10265a022cbc2c75554b9819f335cc6
[ "Apache-2.0" ]
1
2020-10-06T07:20:34.000Z
2020-10-06T07:20:34.000Z
SmallPetsHealthcare/AmbentController.cpp
mihotoyama/doingio-small-pets-healthcare
94f88e8ce10265a022cbc2c75554b9819f335cc6
[ "Apache-2.0" ]
3
2020-10-02T16:04:24.000Z
2021-12-11T00:16:53.000Z
#include "AmbentController.h" void AmbentController::setup(DayDataModel *_dayDataRef, int channelid, char *writekey, WiFiClient *wclient) { dayDataRef = _dayDataRef; if(channelid >= 0) { Serial.print("ambient setup"); const char* cwriteKey = writekey; int b = ambient.begin(channelid, cwriteKey, wclie...
25.34375
107
0.694205
mihotoyama
37cae3a7a81edd4d93baa509512c37f826e930b0
2,414
cpp
C++
third_party/poco_1.5.3/Net/src/NTPEventArgs.cpp
0u812/roadrunner
f464c2649e388fa1f5a015592b0b29b65cc84b4b
[ "Apache-2.0" ]
1
2015-10-20T09:48:14.000Z
2015-10-20T09:48:14.000Z
third_party/poco_1.5.3/Net/src/NTPEventArgs.cpp
0u812/roadrunner
f464c2649e388fa1f5a015592b0b29b65cc84b4b
[ "Apache-2.0" ]
null
null
null
third_party/poco_1.5.3/Net/src/NTPEventArgs.cpp
0u812/roadrunner
f464c2649e388fa1f5a015592b0b29b65cc84b4b
[ "Apache-2.0" ]
3
2018-01-17T02:09:24.000Z
2019-11-16T23:55:53.000Z
// // NTPEventArgs.cpp // // $Id: //poco/1.4/Net/src/NTPEventArgs.cpp#1 $ // // Library: Net // Package: NTP // Module: NTPEventArgs // // Implementation of NTPEventArgs // // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // Permission is hereby granted, free of charge, to ...
25.680851
78
0.738194
0u812
56cbd8c0aee4ca2b1a04dbfd6b30f6eda17af25b
323
cpp
C++
WBF/src/WBF_DATA/ModuleElement.cpp
heesok2/OpenGL
6ba159a77428635bf73eab9a0080203b248b015c
[ "MIT" ]
null
null
null
WBF/src/WBF_DATA/ModuleElement.cpp
heesok2/OpenGL
6ba159a77428635bf73eab9a0080203b248b015c
[ "MIT" ]
null
null
null
WBF/src/WBF_DATA/ModuleElement.cpp
heesok2/OpenGL
6ba159a77428635bf73eab9a0080203b248b015c
[ "MIT" ]
1
2019-11-25T02:03:08.000Z
2019-11-25T02:03:08.000Z
#include "stdafx.h" #include "ModuleElement.h" #include "EntityDefine.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif CModuleElement::CModuleElement(CPackage * pPackage) : CModuleData<CEntityElement>(pPackage, E_TYPE_ELEMENT) { } CModuleElement::~CModuleElement() {...
17
56
0.770898
heesok2
56cd82760e635fa18e1fde799a2fc1debcb4ebe3
518
cpp
C++
CodeForces/Complete/800-899/831A-UnimodalArray.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/800-899/831A-UnimodalArray.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/800-899/831A-UnimodalArray.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <cstdio> int main(){ long n; scanf("%ld", &n); long prev; scanf("%ld", &prev); int state(0); bool unimodal(true); for(long p = 1; p < n; p++){ long x; scanf("%ld", &x); if(x > prev && state > 0){unimodal = false; break;} else if(x == prev){ if(state == ...
20.72
59
0.451737
Ashwanigupta9125
56d0eb68f5cb6e620e2d79c9a5a1d67ce374978e
257
cpp
C++
c,c++ codes/letusc/ifelse.cpp
arpan-svci/c-cpp
5b1f9d9b3a90a846ea6b5fb437c9596293966089
[ "MIT" ]
null
null
null
c,c++ codes/letusc/ifelse.cpp
arpan-svci/c-cpp
5b1f9d9b3a90a846ea6b5fb437c9596293966089
[ "MIT" ]
null
null
null
c,c++ codes/letusc/ifelse.cpp
arpan-svci/c-cpp
5b1f9d9b3a90a846ea6b5fb437c9596293966089
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int a,b,c; cout<<"enter the number"; cin>>a; if(a%2==0){ cout<<"\n the number is a even no."; } else{ cout<<"\n the number is a odd number"; } return 0; }
15.117647
46
0.513619
arpan-svci
56d10a34d66b25b5479d18e65432f0feb7d24c86
16,399
cxx
C++
main/sd/source/ui/framework/configuration/ResourceId.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sd/source/ui/framework/configuration/ResourceId.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sd/source/ui/framework/configuration/ResourceId.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...
26.322632
96
0.631502
Grosskopf
56d6349b11bb21c869c0258aa3f8e3bc3572c2bf
1,486
hpp
C++
src/feata-gui/gui/wgt/basewidgetgeomsel.hpp
master-clown/ofeata
306cbc3a402551fb62b3925d23a2d4f63f60d525
[ "MIT" ]
1
2021-08-30T13:51:42.000Z
2021-08-30T13:51:42.000Z
src/feata-gui/gui/wgt/basewidgetgeomsel.hpp
master-clown/ofeata
306cbc3a402551fb62b3925d23a2d4f63f60d525
[ "MIT" ]
null
null
null
src/feata-gui/gui/wgt/basewidgetgeomsel.hpp
master-clown/ofeata
306cbc3a402551fb62b3925d23a2d4f63f60d525
[ "MIT" ]
1
2021-08-30T13:51:35.000Z
2021-08-30T13:51:35.000Z
#pragma once #include "gui/wgt/basewidget.hpp" #include "geom/geom_ent_type.hpp" namespace gui::wgt { class BaseWidgetGeomSel : public BaseWidget { public: BaseWidgetGeomSel(QWidget* parent = nullptr); virtual void SetGeomSelType(const geom::GeomEntityType geom_...
26.070175
101
0.653432
master-clown
56d93b499e9c428f2504811b1da595c4bb1f885b
2,910
cpp
C++
Real-Time Corruptor/BizHawk_RTC/lynx/rom.cpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
1,414
2015-06-28T09:57:51.000Z
2021-10-14T03:51:10.000Z
Real-Time Corruptor/BizHawk_RTC/lynx/rom.cpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
2,369
2015-06-25T01:45:44.000Z
2021-10-16T08:44:18.000Z
Real-Time Corruptor/BizHawk_RTC/lynx/rom.cpp
redscientistlabs/Bizhawk50X-Vanguard
96e0f5f87671a1230784c8faf935fe70baadfe48
[ "MIT" ]
430
2015-06-29T04:28:58.000Z
2021-10-05T18:24:17.000Z
// // Copyright (c) 2004 K. Wilkins // // 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 commerci...
43.432836
78
0.390378
redscientistlabs
56daed38cdd38fa0f2c902776411b848bdc1e0fc
4,254
cpp
C++
SelectionDialog.cpp
Landgraf132/ScreenTranslator
fa894604666baaa5426057015cc181be93a62785
[ "MIT" ]
null
null
null
SelectionDialog.cpp
Landgraf132/ScreenTranslator
fa894604666baaa5426057015cc181be93a62785
[ "MIT" ]
null
null
null
SelectionDialog.cpp
Landgraf132/ScreenTranslator
fa894604666baaa5426057015cc181be93a62785
[ "MIT" ]
null
null
null
#include "SelectionDialog.h" #include "ui_SelectionDialog.h" #include "LanguageHelper.h" #include "StAssert.h" #include <QMouseEvent> #include <QPainter> #include <QDebug> #include <QMenu> SelectionDialog::SelectionDialog (const LanguageHelper &dictionary, QWidget *parent) : QDialog (parent), ui (new Ui::Selectio...
34.585366
93
0.649741
Landgraf132
56db3a1c74beb014fcad16326bd4f4948d3e7cac
14,809
cpp
C++
tarea-01/tests/half_edge/test_half_edge.cpp
ppizarror/tareas-CC7515
9f9bd00b33dcc20e60b549ffbee475e0ad4c9110
[ "MIT" ]
null
null
null
tarea-01/tests/half_edge/test_half_edge.cpp
ppizarror/tareas-CC7515
9f9bd00b33dcc20e60b549ffbee475e0ad4c9110
[ "MIT" ]
null
null
null
tarea-01/tests/half_edge/test_half_edge.cpp
ppizarror/tareas-CC7515
9f9bd00b33dcc20e60b549ffbee475e0ad4c9110
[ "MIT" ]
null
null
null
/** * Testea estructura Half-Edge. * * @package tests.half_edge * @author Pablo Pizarro * @date 01/10/2018 */ // Define parámetros compilación #pragma ide diagnostic ignored "performance-unnecessary-value-param" #pragma ide diagnostic ignored "modernize-use-auto" // Importa librerías #include <cassert> #include...
26.118166
119
0.545817
ppizarror
56e12a0837e1348711900c9a2412157bf93bfd86
192
cpp
C++
codility/lesson-6/Distinct.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
codility/lesson-6/Distinct.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
codility/lesson-6/Distinct.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
#include <unordered_set> int solution(vector<int> &A) { unordered_set<int> st; int n = A.size(); for (int i=0; i<n; ++i) { st.insert(A[i]); } return st.size(); }
16
30
0.526042
juseongkr
56e1376d70867d0a2d08e92bea404630f986a9f5
4,894
cpp
C++
src/Drawing.cpp
karjonas/ld35
e6ea8334199bd636bde16412a642ba2f94756211
[ "MIT" ]
2
2021-09-03T12:33:58.000Z
2021-12-26T12:44:20.000Z
src/Drawing.cpp
karjonas/ld35
e6ea8334199bd636bde16412a642ba2f94756211
[ "MIT" ]
null
null
null
src/Drawing.cpp
karjonas/ld35
e6ea8334199bd636bde16412a642ba2f94756211
[ "MIT" ]
null
null
null
#include "Drawing.h" #include "GlobalState.h" #include "allegro5/allegro.h" #include <allegro5/allegro_primitives.h> #include <allegro5/allegro_font.h> #include <vector> #include <algorithm> struct ShapePoints { std::vector<Point> points; ALLEGRO_COLOR color; int mid_x; }; struct LineColor { LineCol...
29.305389
125
0.62076
karjonas
56e26e15b2781256469ba26b3a0551893914d35c
975
hpp
C++
include/gkom/ShaderLoader.hpp
akowalew/mill-opengl
91ef11e6cdbfe691e0073d9883e42c0a29d29b45
[ "MIT" ]
null
null
null
include/gkom/ShaderLoader.hpp
akowalew/mill-opengl
91ef11e6cdbfe691e0073d9883e42c0a29d29b45
[ "MIT" ]
null
null
null
include/gkom/ShaderLoader.hpp
akowalew/mill-opengl
91ef11e6cdbfe691e0073d9883e42c0a29d29b45
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <unordered_map> #include <vector> #include <string_view> namespace gkom { //! Forward declarations class GraphicsManager; class Logger; class ShaderLoader { public: ShaderLoader(GraphicsManager& graphicsManager); unsigned int loadShaderProgram(std::string_view vertexShader...
21.195652
66
0.754872
akowalew
56e466326b75fbd4a90de96bbf77cb6ac88668c7
2,125
cpp
C++
test/basic4.cpp
armos-db/libpaxos-cpp
31e8a3f9664e3e6563d26dbc1323457f596b8eef
[ "BSD-3-Clause" ]
54
2015-02-09T11:46:30.000Z
2021-08-13T14:08:52.000Z
test/basic4.cpp
armos-db/libpaxos-cpp
31e8a3f9664e3e6563d26dbc1323457f596b8eef
[ "BSD-3-Clause" ]
null
null
null
test/basic4.cpp
armos-db/libpaxos-cpp
31e8a3f9664e3e6563d26dbc1323457f596b8eef
[ "BSD-3-Clause" ]
17
2015-01-13T03:18:49.000Z
2022-03-23T02:20:57.000Z
/*! Tests whether the quorum will properly handle a dead node and it coming alive in a later stadium, including a proper catch up. */ #include <boost/date_time/posix_time/posix_time_duration.hpp> #include <paxos++/client.hpp> #include <paxos++/server.hpp> #include <paxos++/configuration.hpp> #include <...
31.25
100
0.585412
armos-db
56e6c51577d68c2427821b8aa06715c7acfb538f
18,164
cpp
C++
Backups/DxGuiFramework - 17.2.01/DGGraphics.cpp
Maultasche/SeniorProject
1bdb3c5e5d2298906f361af6fdda79438a56cb7c
[ "MIT" ]
null
null
null
Backups/DxGuiFramework - 17.2.01/DGGraphics.cpp
Maultasche/SeniorProject
1bdb3c5e5d2298906f361af6fdda79438a56cb7c
[ "MIT" ]
null
null
null
Backups/DxGuiFramework - 17.2.01/DGGraphics.cpp
Maultasche/SeniorProject
1bdb3c5e5d2298906f361af6fdda79438a56cb7c
[ "MIT" ]
null
null
null
/*------------------------------------------------------------------------ File Name: DGGraphics.h Description: This file contains the DGGraphics class implementation, which manages the DirectDraw surfaces and controls and what is drawn to the screen. Version: 1.0.0 10.02.2000 Created the file ---...
37.451546
88
0.609998
Maultasche
56ec4a59ede740735759a7b7a5e5195c78e13b84
1,960
cpp
C++
ToyRenderer/src/Audio/AudioEngine.cpp
IRCSS/ToyRenderer
39b919a99cae47f9da34229b427958ea720d98d0
[ "MIT" ]
40
2020-03-19T20:05:22.000Z
2022-03-27T07:52:38.000Z
ToyRenderer/src/Audio/AudioEngine.cpp
IRCSS/ToyRenderer
39b919a99cae47f9da34229b427958ea720d98d0
[ "MIT" ]
null
null
null
ToyRenderer/src/Audio/AudioEngine.cpp
IRCSS/ToyRenderer
39b919a99cae47f9da34229b427958ea720d98d0
[ "MIT" ]
5
2021-09-25T01:32:25.000Z
2021-11-18T13:42:18.000Z
#include "AudioEngine.h" #include "vendor/soloud/soloud.h" #include "Audio/AudioClip.h" #include "vendor/soloud/soloud_wav.h" #include "Components/Transform.h" #include "log/Log.h" namespace ToyRenderer { AudioEngine* AudioEngine::m_pSingelton = nullptr; AudioEngine::AudioEngine() : m_soLoudBackend(nullptr) ...
29.253731
181
0.729082
IRCSS
56efffeb98c7187150e4e1f289e9cf4291d7c4a7
777
cpp
C++
scripts/calc_recall_dis.cpp
PwzXxm/BBAnn
2dafce027599b3cdf84070248467294dca2a1042
[ "MIT" ]
11
2021-11-01T06:49:30.000Z
2022-02-25T08:09:21.000Z
scripts/calc_recall_dis.cpp
PwzXxm/BBAnn
2dafce027599b3cdf84070248467294dca2a1042
[ "MIT" ]
null
null
null
scripts/calc_recall_dis.cpp
PwzXxm/BBAnn
2dafce027599b3cdf84070248467294dca2a1042
[ "MIT" ]
5
2021-11-04T02:18:41.000Z
2022-03-17T04:13:07.000Z
#include <stdio.h> const char *flat = "bigann_flat.txt"; const char *index = "bigann_ivf_64.txt"; int nq = 1000; int topk = 1000; bool is_l2 = true; int main() { FILE *f1 = fopen(flat, "r"); FILE *f2 = fopen(index, "r"); if (!f1 || !f2) { return 0; } int truth = 0; double dis_base, dis_cnt; for (i...
18.95122
59
0.478764
PwzXxm
56f65353c1b604263049631bc31f9b911eef7970
1,608
cpp
C++
tests/api/evaluator/debug.cpp
SalusaSecondus/homomorphic-implementors-toolkit
b7775b77cb0ff4ff42a1b47bf958bb0e3c75fb9b
[ "Apache-2.0" ]
38
2020-12-02T12:43:16.000Z
2022-03-15T19:27:39.000Z
tests/api/evaluator/debug.cpp
SalusaSecondus/homomorphic-implementors-toolkit
b7775b77cb0ff4ff42a1b47bf958bb0e3c75fb9b
[ "Apache-2.0" ]
15
2020-12-03T05:04:12.000Z
2021-08-20T21:26:27.000Z
tests/api/evaluator/debug.cpp
SalusaSecondus/homomorphic-implementors-toolkit
b7775b77cb0ff4ff42a1b47bf958bb0e3c75fb9b
[ "Apache-2.0" ]
6
2021-01-06T18:37:00.000Z
2021-09-20T06:43:13.000Z
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 #include <iostream> #include "../../testutil.h" #include "gtest/gtest.h" #include "hit/hit.h" using namespace std; using namespace hit; // Test variables. const int RANGE = 16; const int NUM_OF_SLOTS = 4096;...
39.219512
119
0.758085
SalusaSecondus
56f95dbe031bdb94b5979686e8f30a4580d4cf92
4,261
cc
C++
RAVL2/Image/VideoIO/rawFormat.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/Image/VideoIO/rawFormat.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/Image/VideoIO/rawFormat.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
// This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2001, University of Surrey // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here...
35.214876
159
0.666041
isuhao
56fcf68c14a83e2d81bcf4fc60c0157e0e6f41ff
2,910
cpp
C++
liblumi/sources/Bmp.cpp
Rertsyd/LumiRT
d562fd786f769b385bc051e2ea8bcd26162a9dc6
[ "MIT" ]
null
null
null
liblumi/sources/Bmp.cpp
Rertsyd/LumiRT
d562fd786f769b385bc051e2ea8bcd26162a9dc6
[ "MIT" ]
null
null
null
liblumi/sources/Bmp.cpp
Rertsyd/LumiRT
d562fd786f769b385bc051e2ea8bcd26162a9dc6
[ "MIT" ]
null
null
null
/* ************************************************************************** */ /* ,, */ /* `7MMF' db `7MM"""Mq. MMP""MM""YMM */ /* MM MM `MM.P' MM `7 ...
35.060241
83
0.521993
Rertsyd
56fcfdbb0ae5310cd0986c36752dd5a390749e89
619
cpp
C++
MeetingCodes/Meeting3/Main.cpp
SubhoB/spectre-cpp-basics
0f581b879e83e88d1491b31e22aa447419d471a3
[ "MIT" ]
15
2020-06-01T19:48:57.000Z
2021-11-01T07:33:42.000Z
MeetingCodes/Meeting3/Main.cpp
SubhoB/spectre-cpp-basics
0f581b879e83e88d1491b31e22aa447419d471a3
[ "MIT" ]
1
2020-06-02T02:43:41.000Z
2020-06-02T03:55:50.000Z
MeetingCodes/Meeting3/Main.cpp
SubhoB/spectre-cpp-basics
0f581b879e83e88d1491b31e22aa447419d471a3
[ "MIT" ]
6
2020-06-23T22:36:56.000Z
2021-06-14T14:46:49.000Z
#include <iomanip> #include <iostream> #include "Rectangle.hpp" int main() { const Rectangle rect{4.0, 3.0}; Rectangle rect2{5.0, 6.0}; double x{4.0}; std::cout << std::setprecision(15) << std::fixed; std::cout << "Width of rect: " << rect.width() << "\n"; std::cout << "Width of height: " << rect.heigh...
26.913043
72
0.576737
SubhoB
56fdbfa78f19867040146caaace61c11befddabc
683
cpp
C++
Backdoor.Win32.Chode/modSettings.cpp
010001111/Vx-Suites
6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79
[ "MIT" ]
2
2021-02-04T06:47:45.000Z
2021-07-28T10:02:10.000Z
Backdoor.Win32.Chode/modSettings.cpp
010001111/Vx-Suites
6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79
[ "MIT" ]
null
null
null
Backdoor.Win32.Chode/modSettings.cpp
010001111/Vx-Suites
6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79
[ "MIT" ]
null
null
null
// modSettings.cpp : implementation file #include "stdafx.h" #include "modRewjgistry.h" //{{ChodeBot_Includes(CmodSettings) //}}ChodeBot_Includes #include "modSettings.h" bool GetSettingBool(CString& strName) { bool GetSettingBool = false; return GetSettingBool; } int GetSettingLong(CString& strName) { int GetS...
15.883721
104
0.758419
010001111
71013b7efd4b207eceb702a0be624e2ba7cf9f0c
15,904
cpp
C++
src/gpu_api/AmdgpuApi.cpp
DavHau/Riner
f9e9815b713572f03497f0e4e66c3f82a0241b66
[ "MIT" ]
4
2019-07-24T03:24:08.000Z
2022-03-04T07:41:08.000Z
src/gpu_api/AmdgpuApi.cpp
DavHau/Riner
f9e9815b713572f03497f0e4e66c3f82a0241b66
[ "MIT" ]
3
2019-07-30T22:10:39.000Z
2020-06-15T15:57:08.000Z
src/gpu_api/AmdgpuApi.cpp
DavHau/Riner
f9e9815b713572f03497f0e4e66c3f82a0241b66
[ "MIT" ]
6
2019-07-30T21:33:07.000Z
2022-03-21T20:53:11.000Z
#include "AmdgpuApi.h" #include <climits> #include <cstdio> #ifdef __linux__ #include <sys/types.h> #include <dirent.h> #endif namespace riner { static optional<int> getCurrentDpmFreq(std::fstream &file) { optional<int> freq = nullopt; if (file.is_open()) { file.clear(); f...
39.859649
171
0.487676
DavHau
71045a5127c78b16379afa0ea5c27e8be27cafa8
4,913
cpp
C++
Source/WinWakerLib/codec.cpp
bingart/WinWaker
dc3f6c067a5f215c17aa2e0c3386f92f158ec941
[ "Apache-2.0" ]
null
null
null
Source/WinWakerLib/codec.cpp
bingart/WinWaker
dc3f6c067a5f215c17aa2e0c3386f92f158ec941
[ "Apache-2.0" ]
null
null
null
Source/WinWakerLib/codec.cpp
bingart/WinWaker
dc3f6c067a5f215c17aa2e0c3386f92f158ec941
[ "Apache-2.0" ]
null
null
null
#include <windows.h> #include <io.h> #include <string> #include "scrambler.h" #include "base64.h" #include "codec.h" #include "easylog.hpp" #include "libstr.h" #include "key.h" #define MAX_CODEC_LENGTH 20480000 #define MOD 13 BOOL Encode(const char* exe_file_path, const char* txt_file_path) { FILE* in = NULL; FILE...
19.34252
79
0.594342
bingart
7104938da106909fca42fe6914e1336cb08b4fb8
2,416
cpp
C++
solutions/course-schedule-ii/solution.cpp
locker/leetcode
bf34a697de47aaf32823224d054f9a45613ce180
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
solutions/course-schedule-ii/solution.cpp
locker/leetcode
bf34a697de47aaf32823224d054f9a45613ce180
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
solutions/course-schedule-ii/solution.cpp
locker/leetcode
bf34a697de47aaf32823224d054f9a45613ce180
[ "BSD-2-Clause-FreeBSD" ]
1
2019-08-30T06:53:23.000Z
2019-08-30T06:53:23.000Z
#include <iostream> #include <queue> #include <utility> #include <vector> using namespace std; template<typename T> ostream& operator<<(ostream& out, const vector<T>& v) { out << '['; for (auto it = v.begin(); it != v.end(); ++it) { if (it != v.begin()) out << ','; out << *it; } out << ']'; return out; } ...
24.16
77
0.577815
locker
710508bb4cb3f037bb877de0dfb45bf0e516d871
439
cc
C++
fft/utils/Signals.cc
ddamiani/fft-tests
5f119271c12b4a8ae1caf3edb7c727d59d4f2170
[ "BSD-3-Clause" ]
null
null
null
fft/utils/Signals.cc
ddamiani/fft-tests
5f119271c12b4a8ae1caf3edb7c727d59d4f2170
[ "BSD-3-Clause" ]
null
null
null
fft/utils/Signals.cc
ddamiani/fft-tests
5f119271c12b4a8ae1caf3edb7c727d59d4f2170
[ "BSD-3-Clause" ]
null
null
null
#include "Signals.hh" #define _USE_MATH_DEFINES #include <cmath> void fft::math::signal(double& re, double& im, double frac) { double theta = frac * M_PI; re = 1.0 * std::cos(10.0 * theta) +0.5 * std::cos(25.0 * theta); ...
54.875
308
0.412301
ddamiani
71051b2400d6e0116bd99945bfa47dd6f5794812
2,391
cpp
C++
Source/Pineapple/Engine/Graphics/TextureAtlas.cpp
JoshYaxley/Pineapple
490b0ccdfa26e2bb6fd9ec290b43b355462dd9ec
[ "Zlib" ]
11
2017-04-15T14:44:19.000Z
2022-02-04T13:16:04.000Z
Source/Pineapple/Engine/Graphics/TextureAtlas.cpp
JoshYaxley/Pineapple
490b0ccdfa26e2bb6fd9ec290b43b355462dd9ec
[ "Zlib" ]
25
2017-04-19T12:48:42.000Z
2020-05-09T05:28:29.000Z
Source/Pineapple/Engine/Graphics/TextureAtlas.cpp
JoshYaxley/Pineapple
490b0ccdfa26e2bb6fd9ec290b43b355462dd9ec
[ "Zlib" ]
1
2019-04-21T21:14:04.000Z
2019-04-21T21:14:04.000Z
/*------------------------------------------------------------------------------ Pineapple Game Engine - Copyright (c) 2011-2017 Adam Yaxley This software is licensed under the Zlib license (see license.txt for details) ------------------------------------------------------------------------------*/ #include <Pine...
24.397959
106
0.60435
JoshYaxley
7106db184bf174c54734760b9d196b1e6e9221ef
1,121
cpp
C++
C-PhotoDeal_level2_APP/C-PhotoDeal_level2/main.cpp
numberwolf/iOSDealFace
5a109690d143ac125a4b679a8ea6ef28a9f147e3
[ "Apache-2.0" ]
8
2016-03-12T08:39:56.000Z
2021-07-12T01:48:20.000Z
C-PhotoDeal_level2_APP/C-PhotoDeal_level2/main.cpp
numberwolf/iOSDealFace
5a109690d143ac125a4b679a8ea6ef28a9f147e3
[ "Apache-2.0" ]
null
null
null
C-PhotoDeal_level2_APP/C-PhotoDeal_level2/main.cpp
numberwolf/iOSDealFace
5a109690d143ac125a4b679a8ea6ef28a9f147e3
[ "Apache-2.0" ]
2
2016-03-15T09:48:38.000Z
2017-02-04T23:53:32.000Z
// // main.cpp // C-PhotoDeal_level2 // // Created by numberwolf on 2016/10/12. // Copyright © 2016年 numberwolf. All rights reserved. // #include <iostream> #include "canny_door.hpp" #include "numberPhoto.hpp" #include "tess_ocr.hpp" using namespace cv; using namespace std; int main(int argc, const char * argv[]...
28.74359
116
0.676182
numberwolf
7107d8b6fc0612ab31329ef5ffb946698aa3226f
2,332
cpp
C++
tests/cxx/isce3/focus/presum.cpp
isce3-testing/isce3-circleci-poc
ec1dfb6019bcdc7afb7beee7be0fa0ce3f3b87b3
[ "Apache-2.0" ]
64
2019-08-06T19:22:22.000Z
2022-03-20T17:11:46.000Z
tests/cxx/isce3/focus/presum.cpp
isce-framework/isce3
59cdd2c659a4879367db5537604b0ca93d26b372
[ "Apache-2.0" ]
8
2020-09-01T22:46:53.000Z
2021-11-04T00:05:28.000Z
tests/cxx/isce3/focus/presum.cpp
isce-framework/isce3
59cdd2c659a4879367db5537604b0ca93d26b372
[ "Apache-2.0" ]
29
2019-08-05T21:40:55.000Z
2022-03-23T00:17:03.000Z
#include <gtest/gtest.h> #include <isce3/core/Kernels.h> #include <isce3/focus/Presum.h> TEST(Presum, Domain) { // Check that coefficients cover the expected domain. long n = 10, offset = 0; // set up a time vector--uniformly sampled. std::vector<double> t(n); for (long i = 0; i < n; ++i) { ...
27.761905
76
0.588336
isce3-testing
7108d320e449735ac0586fe26b0123887828fa19
3,425
cpp
C++
test/variant.cpp
jmairboeck/PTL
fed731de5cf73219fad1f2006e2978d981c02535
[ "BSL-1.0" ]
null
null
null
test/variant.cpp
jmairboeck/PTL
fed731de5cf73219fad1f2006e2978d981c02535
[ "BSL-1.0" ]
null
null
null
test/variant.cpp
jmairboeck/PTL
fed731de5cf73219fad1f2006e2978d981c02535
[ "BSL-1.0" ]
null
null
null
// Copyright Michael Florian Hava. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file ../LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> #include "ptl/variant.hpp" #include "moveable.hpp" BOOST_AUTO_TEST...
25.94697
82
0.675912
jmairboeck
710bee79fdae07c6b845edc2546744ffc7b6daad
1,903
cpp
C++
src/examples/cpp/example-perlin.cpp
Overdrivr/ZNoise
9d3727cadb671bd4e5998e679721381812dbf007
[ "MIT" ]
27
2015-09-16T10:04:31.000Z
2021-11-12T02:46:16.000Z
src/examples/cpp/example-perlin.cpp
Overdrivr/ZNoise
9d3727cadb671bd4e5998e679721381812dbf007
[ "MIT" ]
7
2015-08-07T15:35:12.000Z
2016-12-16T03:55:17.000Z
src/examples/cpp/example-perlin.cpp
Overdrivr/ZNoise
9d3727cadb671bd4e5998e679721381812dbf007
[ "MIT" ]
4
2016-08-05T15:49:19.000Z
2017-08-03T10:53:16.000Z
#include <iostream> #include "Perlin.hpp" #include "include_all.hpp" void generate_perlin(cimg_library::CImg<unsigned char> & image) { /* Generate Perlin 2D */ Perlin perlin; perlin.Shuffle(10); for(int x = 0 ; x < image.width() ; x++) for(int y = 0 ; y < image.height() ; y++) { ...
27.185714
92
0.538623
Overdrivr
711340b5d95cde832fd8f7900d9a3eb017149ef3
845
cpp
C++
samples/snippets/cpp/VS_Snippets_CLR/File GetAttributes/CPP/file getattributes.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_CLR/File GetAttributes/CPP/file getattributes.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_CLR/File GetAttributes/CPP/file getattributes.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
// <Snippet1> using namespace System; using namespace System::IO; using namespace System::Text; int main() { String^ path = "c:\\temp\\MyTest.txt"; // Create the file if it does not exist. if ( !File::Exists( path ) ) { File::Create( path ); } if ( (File::GetAttributes( pat...
25.606061
118
0.583432
hamarb123
7115ab51860209c3f30e6ca6e06bb72e15cfe21a
712
hpp
C++
include/complex.hpp
BURNINGTIGER/Complex
c87aa365aa123a89608aa176342dc4ee9db019fb
[ "MIT" ]
null
null
null
include/complex.hpp
BURNINGTIGER/Complex
c87aa365aa123a89608aa176342dc4ee9db019fb
[ "MIT" ]
null
null
null
include/complex.hpp
BURNINGTIGER/Complex
c87aa365aa123a89608aa176342dc4ee9db019fb
[ "MIT" ]
null
null
null
#include <iostream> #include <conio.h> #include <locale> using namespace std; class Complex { double rel, img; public: Complex(); Complex(double real, double imag); Complex add(const Complex) const; Complex sub(const Complex) const; Complex mult(const int) const; Complex divd(const int) const; Complex(cons...
21.575758
49
0.710674
BURNINGTIGER
7122261a541cb87857a672832aedfaf08f6dd602
13,620
hpp
C++
src/mlpack/methods/ann/cnn.hpp
vj-ug/Contribution-to-mlpack
0ddb5ed463861f459ff2829712bdc59ba9d810b0
[ "BSD-3-Clause" ]
null
null
null
src/mlpack/methods/ann/cnn.hpp
vj-ug/Contribution-to-mlpack
0ddb5ed463861f459ff2829712bdc59ba9d810b0
[ "BSD-3-Clause" ]
null
null
null
src/mlpack/methods/ann/cnn.hpp
vj-ug/Contribution-to-mlpack
0ddb5ed463861f459ff2829712bdc59ba9d810b0
[ "BSD-3-Clause" ]
null
null
null
/** * @file cnn.hpp * @author Shangtong Zhang * @author Marcus Edel * * Definition of the CNN class, which implements convolutional neural networks. */ #ifndef __MLPACK_METHODS_ANN_CNN_HPP #define __MLPACK_METHODS_ANN_CNN_HPP #include <mlpack/core.hpp> #include <mlpack/methods/ann/network_traits.hpp> #include <...
33.058252
80
0.624156
vj-ug
7123259643cb93a1b3dda4dd1b15381b22bc0887
1,765
cc
C++
cpp/server/debug_server.cc
propaganda-gold/deeprev
0c6ccf83131a879ed858acdb0675e75ebf2f2d3d
[ "BSD-3-Clause" ]
null
null
null
cpp/server/debug_server.cc
propaganda-gold/deeprev
0c6ccf83131a879ed858acdb0675e75ebf2f2d3d
[ "BSD-3-Clause" ]
2
2021-05-11T16:29:38.000Z
2022-01-22T12:28:49.000Z
cpp/server/debug_server.cc
propaganda-gold/deeprev
0c6ccf83131a879ed858acdb0675e75ebf2f2d3d
[ "BSD-3-Clause" ]
null
null
null
#include "absl/flags/flag.h" #include "absl/flags/parse.h" #include "api/router.h" #include "data/connection.h" #include "data/globals.h" #include "data/vectorbook.pb.h" #include "handlers/api.h" #include "handlers/delegating_handler.h" #include "handlers/requests.h" #include "network/init.h" #include "server/http_serv...
28.934426
74
0.717847
propaganda-gold
712631463cd05be873393e3f95c1e72b548a884f
2,759
cpp
C++
OpenTESArena/src/Media/Font.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
OpenTESArena/src/Media/Font.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
OpenTESArena/src/Media/Font.cpp
Digital-Monk/OpenTESArena
95f0bdaa642ff090b94081795a53b00f10dc4b03
[ "MIT" ]
null
null
null
#include <unordered_map> #include "SDL.h" #include "Font.h" #include "FontName.h" #include "../Assets/FontFile.h" #include "../Rendering/Renderer.h" #include "../Rendering/Surface.h" #include "components/debug/Debug.h" namespace { const std::unordered_map<FontName, std::string> FontFilenames = { ...
25.546296
82
0.654223
Digital-Monk
7128adf5c1f9d10dd50b9ce20fc49699b7eb1eb1
513
cpp
C++
compendium/test_bundles/ManagedServiceAndFactoryBundle/src/ManagedServiceFactoryServiceImpl.cpp
rohinikumar4073/CppMicroServices
f8ce77814c65eb8273823c7ca5df256ec9768956
[ "Apache-2.0" ]
1
2020-12-08T16:21:45.000Z
2020-12-08T16:21:45.000Z
compendium/test_bundles/ManagedServiceAndFactoryBundle/src/ManagedServiceFactoryServiceImpl.cpp
iHouLei/CppMicroServices
aa9cc47dde75ba9ead18df399ce08269c15e3aa1
[ "Apache-2.0" ]
null
null
null
compendium/test_bundles/ManagedServiceAndFactoryBundle/src/ManagedServiceFactoryServiceImpl.cpp
iHouLei/CppMicroServices
aa9cc47dde75ba9ead18df399ce08269c15e3aa1
[ "Apache-2.0" ]
null
null
null
#include "ManagedServiceFactoryServiceImpl.hpp" namespace cppmicroservices { namespace service { namespace cm { namespace test { TestManagedServiceFactoryServiceImpl::TestManagedServiceFactoryServiceImpl(int initialValue) : value{initialValue} {} TestManagedServiceFactoryServiceImpl::~TestManagedServiceFactorySe...
24.428571
92
0.805068
rohinikumar4073
71297894429bf2299c8e6b641c7a3a9cf26b29c1
981
cpp
C++
cloud_processing/cpp/ground_removal.cpp
MinesNicaicai/large-scale-pointcloud-matching
cfe140f2be1110ed75b6edd27538021e513a31c9
[ "MIT" ]
1
2020-11-21T16:39:51.000Z
2020-11-21T16:39:51.000Z
cloud_processing/cpp/ground_removal.cpp
MinesNicaicai/large-scale-pointcloud-matching
cfe140f2be1110ed75b6edd27538021e513a31c9
[ "MIT" ]
null
null
null
cloud_processing/cpp/ground_removal.cpp
MinesNicaicai/large-scale-pointcloud-matching
cfe140f2be1110ed75b6edd27538021e513a31c9
[ "MIT" ]
1
2020-12-13T14:51:44.000Z
2020-12-13T14:51:44.000Z
#include <pcl/point_types.h> #include <pcl/io/pcd_io.h> #include <string> using PointT = pcl::PointXYZ; int main(int argc, char **argv) { if (argc != 2) { std::cout << "usage: ./ground_removal pcd-file\n"; return 0; } // Read in the cloud data pcl::PCDReader reader; pcl::PointCl...
25.815789
87
0.623853
MinesNicaicai
712ab680f4ba1b33a33efb844bc787502179d0a0
363
hpp
C++
libmsr145/headers/libmsr145_structs.hpp
StefanRvO/libmsr145
f9e49c1b116cdb8bb991084e9de11d5df8cd3b37
[ "Beerware" ]
null
null
null
libmsr145/headers/libmsr145_structs.hpp
StefanRvO/libmsr145
f9e49c1b116cdb8bb991084e9de11d5df8cd3b37
[ "Beerware" ]
null
null
null
libmsr145/headers/libmsr145_structs.hpp
StefanRvO/libmsr145
f9e49c1b116cdb8bb991084e9de11d5df8cd3b37
[ "Beerware" ]
null
null
null
#pragma once #include <cstdint> #include "libmsr145_enums.hpp" struct rec_entry { uint16_t address; struct tm time; uint16_t length; bool isRecording; }; struct sample { sampletype type; int16_t value; uint64_t timestamp; //this is the time since the start of the recording in 1/512 seconds ...
19.105263
92
0.707989
StefanRvO
712f7037a3aac3be92d9bb0bff838fa72dffa626
5,364
cc
C++
components/safe_browsing_db/database_manager.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
1
2020-09-15T08:43:34.000Z
2020-09-15T08:43:34.000Z
components/safe_browsing_db/database_manager.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
components/safe_browsing_db/database_manager.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 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/safe_browsing_db/database_manager.h" #include "components/safe_browsing_db/v4_get_hash_protocol_manager.h" #include "content/public/...
33.31677
80
0.7239
maidiHaitai
71311f1d13a7e8e83939ef6b87d92c0f10fbb72c
224
cpp
C++
2521/1683225_AC_0MS_68K.cpp
vandreas19/POJ_sol
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
18
2017-08-14T07:34:42.000Z
2022-01-29T14:20:29.000Z
2521/1683225_AC_0MS_68K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
null
null
null
2521/1683225_AC_0MS_68K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
14
2016-12-21T23:37:22.000Z
2021-07-24T09:38:57.000Z
#include<iostream.h> void main() { int iCost,iSell,iFake,iBack; while(1) { cin>>iCost>>iSell>>iFake>>iBack; if(iCost==0 && iSell==0 && iFake==0 && iBack==0) break; cout<<iCost-iSell+iFake<<endl; } }
17.230769
51
0.580357
vandreas19
71376ccf83770aa04107f163ca946c1244c462a5
2,147
cpp
C++
progpar/test/progpar-test.cpp
dmitigr/cefeika
6189843d4244f7334558708e57e952584561b1e0
[ "Zlib" ]
19
2019-07-21T15:38:12.000Z
2022-01-06T05:24:48.000Z
progpar/test/progpar-test.cpp
dmitigr/cefeika
6189843d4244f7334558708e57e952584561b1e0
[ "Zlib" ]
6
2019-12-07T22:12:37.000Z
2022-01-10T22:31:48.000Z
progpar/test/progpar-test.cpp
dmitigr/cefeika
6189843d4244f7334558708e57e952584561b1e0
[ "Zlib" ]
1
2019-08-15T14:49:00.000Z
2019-08-15T14:49:00.000Z
// -*- C++ -*- // Copyright (C) 2021 Dmitry Igrishin // // 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, // i...
32.044776
77
0.616209
dmitigr
7143ac46680ebf63717201570aae8b1099c84a9e
6,537
cpp
C++
gddm/netlib_server.cpp
asm128/nwol
a28d6df356bec817393adcd2e6573a65841832e2
[ "MIT" ]
3
2017-06-05T13:49:43.000Z
2017-06-19T22:31:58.000Z
gddm/netlib_server.cpp
asm128/nwol
a28d6df356bec817393adcd2e6573a65841832e2
[ "MIT" ]
1
2017-06-19T12:36:46.000Z
2017-06-30T22:34:06.000Z
gddm/netlib_server.cpp
asm128/nwol
a28d6df356bec817393adcd2e6573a65841832e2
[ "MIT" ]
null
null
null
#include "netlib_server.h" #include "nwol_sleep.h" #include "gref_definition.h" #include <time.h> #if defined(__WINDOWS__) #include <process.h> #include <WinSock2.h> #endif void gdnet::disconnectClient (SServer& serverInstance, int32_t clientId) { ::nwol::CMutexGuard lockClients ...
50.284615
221
0.659936
asm128
714a23b2269a75ab0a6137842ce74562b0f9f337
1,895
cpp
C++
Beeftext/Snippet/ShortcutSnippetFragment.cpp
sharpsteve/Beeftext
9f4c7abfe6f33914cd49956f9c576ab5b10ff660
[ "MIT" ]
546
2017-12-19T15:44:56.000Z
2022-03-29T20:38:01.000Z
Beeftext/Snippet/ShortcutSnippetFragment.cpp
sharpsteve/Beeftext
9f4c7abfe6f33914cd49956f9c576ab5b10ff660
[ "MIT" ]
455
2017-12-30T07:47:49.000Z
2022-03-24T15:53:14.000Z
Beeftext/Snippet/ShortcutSnippetFragment.cpp
sharpsteve/Beeftext
9f4c7abfe6f33914cd49956f9c576ab5b10ff660
[ "MIT" ]
45
2018-03-04T15:07:22.000Z
2022-03-16T22:13:58.000Z
/// \file /// \author /// /// \brief Implementation of shortcut snippet fragment class. /// /// Copyright (c) . All rights reserved. /// Licensed under the MIT License. See LICENSE file in the project root for full license information. #include "stdafx.h" #include "ShortcutSnippetFragment.h" #include "Beeftext...
37.9
120
0.355145
sharpsteve
714d2195d6ab17af6170977fd9ef4dee662ea17f
571
cpp
C++
src/platform/web/worker.cpp
reubenscratton/oaknut
03b37965ad84745bd5c077a27d8b53d58a173662
[ "MIT" ]
5
2019-10-04T05:10:06.000Z
2021-02-03T23:29:10.000Z
src/platform/web/worker.cpp
reubenscratton/oaknut
03b37965ad84745bd5c077a27d8b53d58a173662
[ "MIT" ]
null
null
null
src/platform/web/worker.cpp
reubenscratton/oaknut
03b37965ad84745bd5c077a27d8b53d58a173662
[ "MIT" ]
2
2019-09-27T00:34:36.000Z
2020-10-27T09:44:26.000Z
// // Copyright © 2018 Sandcastle Software Ltd. All rights reserved. // // This file is part of 'Oaknut' which is released under the MIT License. // See the LICENSE file in the root of this installation for details. // #if PLATFORM_WEB #include <oaknut.h> #if BUILD_AS_WORKER emscripten_worker_respond(0, 0); #else ...
17.30303
96
0.718039
reubenscratton
7150dc8663ec4dddc2f9528a8cdb214f9023ad50
1,264
cpp
C++
leetcode/128_Longest_Consecutive_Sequence.cpp
wllvcxz/leetcode
82358a0946084ba935ca1870b5e3f7c29c03fac3
[ "MIT" ]
null
null
null
leetcode/128_Longest_Consecutive_Sequence.cpp
wllvcxz/leetcode
82358a0946084ba935ca1870b5e3f7c29c03fac3
[ "MIT" ]
null
null
null
leetcode/128_Longest_Consecutive_Sequence.cpp
wllvcxz/leetcode
82358a0946084ba935ca1870b5e3f7c29c03fac3
[ "MIT" ]
null
null
null
#include <unordered_map> #include <vector> using namespace std; class Solution { public: int longestConsecutive(const vector<int> &nums) { unordered_map<int, bool> used; used.find(123); for(auto i : nums) used[i] = false; int maxlen = 0; for(auto i: nums){ ...
25.28
62
0.412184
wllvcxz
715ef9818033fa5e738ed84fdd366620ae9afdc4
657
cpp
C++
src/servo/ServoPublisher.cpp
CatixBot/KinematicsNode
451d109a472807029de8dc7392dd851f3039c3db
[ "MIT" ]
null
null
null
src/servo/ServoPublisher.cpp
CatixBot/KinematicsNode
451d109a472807029de8dc7392dd851f3039c3db
[ "MIT" ]
null
null
null
src/servo/ServoPublisher.cpp
CatixBot/KinematicsNode
451d109a472807029de8dc7392dd851f3039c3db
[ "MIT" ]
null
null
null
#include "servo/ServoPublisher.h" #include <catix_messages/ServoState.h> servo::ServoPublisher::ServoPublisher(size_t servoIndex, ros::NodeHandle& node) : servoIndex(servoIndex) , publisherServoState(node.advertise<catix_messages::ServoState>("Catix/Servo", 1)) { } bool servo::ServoPublisher::setAngle(double...
31.285714
87
0.757991
CatixBot
715f98468a0e18a07ffcd8d1d964dc29da804d66
4,380
cpp
C++
qt-gui/siditemmodel.cpp
jgilje/reveller
19529bcf63811146e605d3fe7c16dd73bdd7814d
[ "Apache-2.0" ]
5
2015-05-23T14:44:08.000Z
2020-03-23T20:17:36.000Z
qt-gui/siditemmodel.cpp
jgilje/reveller
19529bcf63811146e605d3fe7c16dd73bdd7814d
[ "Apache-2.0" ]
7
2015-05-23T09:30:05.000Z
2021-07-06T07:24:41.000Z
qt-gui/siditemmodel.cpp
jgilje/reveller
19529bcf63811146e605d3fe7c16dd73bdd7814d
[ "Apache-2.0" ]
null
null
null
#include "siditemmodel.h" #include "siditem.h" #include <QDebug> #include <QFileIconProvider> SidItemModel::SidItemModel(QObject *parent) : QAbstractItemModel(parent) { rootItem = new SidItem("ROOT", SidItem::DIRECTORY); } SidItemModel::~SidItemModel() { } QModelIndex SidItemModel::index(int row, int column...
25.172414
116
0.652283
jgilje
716067b7af884a37fd3019909351f61da829093b
11,760
cpp
C++
source/lexical.cpp
Facenapalm/interpreter
4bb8906098e5eb9fee6d9782c51d855013fea548
[ "MIT" ]
2
2019-09-10T18:13:34.000Z
2020-09-27T11:42:14.000Z
source/lexical.cpp
Facenapalm/interpreter
4bb8906098e5eb9fee6d9782c51d855013fea548
[ "MIT" ]
null
null
null
source/lexical.cpp
Facenapalm/interpreter
4bb8906098e5eb9fee6d9782c51d855013fea548
[ "MIT" ]
null
null
null
#include <sstream> #include "exceptions.h" #include "lexical.h" LexicalAnalyzer::LexicalAnalyzer(bool case_insensetive, bool alternative_names): case_insensetive(case_insensetive), alternative_names(alternative_names), ready(false), state(NULL), lexeme_line(0), lexeme_column(0), input(NULL), cur_char('\0')...
26.910755
95
0.591582
Facenapalm
716251e358fe5dc5609abe7111749217d9607cab
1,084
cpp
C++
GPcode00_Timer/StopWatch.cpp
dknife/Lectures
cc00046bebd0d38c07a6442cd4d7af6c06624c1d
[ "Unlicense" ]
1
2016-04-20T13:00:29.000Z
2016-04-20T13:00:29.000Z
GPcode00_Timer/StopWatch.cpp
dknife/Lectures
cc00046bebd0d38c07a6442cd4d7af6c06624c1d
[ "Unlicense" ]
null
null
null
GPcode00_Timer/StopWatch.cpp
dknife/Lectures
cc00046bebd0d38c07a6442cd4d7af6c06624c1d
[ "Unlicense" ]
null
null
null
/* * StopWatch.cpp * Young-Min Kang * Tongmyong University * */ #include "StopWatch.h" StopWatch::StopWatch() { #ifdef WIN32 QueryPerformanceFrequency(&frequency); startCount.QuadPart = 0; endCount.QuadPart = 0; #else startCount.tv_sec = startCount.tv_usec = 0; endCount.tv_sec = endCount.t...
23.06383
81
0.719557
dknife
7162b04f9ca9821d3b0be771e612a4a6c51f6d42
1,829
cpp
C++
foo_spider_monkey_panel/ui/ui_slow_script.cpp
kbuffington/foo_spider_monkey_panel
ce39bb098a9ea150baf78d18c60f7ee6617598f7
[ "MIT" ]
189
2018-09-28T19:02:41.000Z
2022-03-30T06:43:36.000Z
foo_spider_monkey_panel/ui/ui_slow_script.cpp
kbuffington/foo_spider_monkey_panel
ce39bb098a9ea150baf78d18c60f7ee6617598f7
[ "MIT" ]
145
2018-09-20T01:09:55.000Z
2022-03-03T16:50:40.000Z
foo_spider_monkey_panel/ui/ui_slow_script.cpp
kbuffington/foo_spider_monkey_panel
ce39bb098a9ea150baf78d18c60f7ee6617598f7
[ "MIT" ]
34
2018-09-20T12:44:01.000Z
2022-03-13T22:24:21.000Z
#include <stdafx.h> #include "ui_slow_script.h" namespace smp::ui { // TODO: add question icon like here - https://www.google.com/search?q=firefox+slow+script+warning&tbm=isch CDialogSlowScript::CDialogSlowScript( const qwr::u8string& panelName, const qwr::u8string& scriptInfo, CDialogSlowScript::Data& data ) :...
22.036145
134
0.58994
kbuffington
7165747917d856a2da08088c2d11eda94f7106e7
1,545
cpp
C++
dot_prod/dot_prod.cpp
drreynolds/Math6370-codes
5fbc413204c64dabf9a262f308314da3d372f98e
[ "CC0-1.0" ]
1
2021-09-05T01:11:31.000Z
2021-09-05T01:11:31.000Z
dot_prod/dot_prod.cpp
drreynolds/Math6370-codes
5fbc413204c64dabf9a262f308314da3d372f98e
[ "CC0-1.0" ]
null
null
null
dot_prod/dot_prod.cpp
drreynolds/Math6370-codes
5fbc413204c64dabf9a262f308314da3d372f98e
[ "CC0-1.0" ]
null
null
null
/* Daniel R. Reynolds SMU Mathematics Math 4370/6370 7 February 2015 */ // Inclusions #include <stdlib.h> #include <stdio.h> #include "get_time.h" // Example routine to compute the dot-product of two vectors int main(int argc, char* argv[]) { // declarations int i, n; double *a, *b, sum, alloctime, ...
22.391304
70
0.587702
drreynolds
7169274d62bcd4f4613351eedba1f4725c0af843
13,558
cpp
C++
src/phyx-1.01/src/main_bpseq.cpp
jlanga/smsk_selection
08070c6d4a6fbd9320265e1e698c95ba80f81123
[ "MIT" ]
4
2021-07-18T05:20:20.000Z
2022-01-03T10:22:33.000Z
src/phyx-1.01/src/main_bpseq.cpp
jlanga/smsk_selection
08070c6d4a6fbd9320265e1e698c95ba80f81123
[ "MIT" ]
1
2017-08-21T07:26:13.000Z
2018-11-08T13:59:48.000Z
src/phyx-1.01/src/main_bpseq.cpp
jlanga/smsk_orthofinder
08070c6d4a6fbd9320265e1e698c95ba80f81123
[ "MIT" ]
2
2021-07-18T05:20:26.000Z
2022-03-31T18:23:31.000Z
#include <iostream> #include <fstream> #include <string> #include <vector> #include <cstring> #include <getopt.h> #include <algorithm> #include <set> using namespace std; #include "tree.h" #include "tree_reader.h" #include "sequence.h" #include "seq_reader.h" #include "utils.h" #include "log.h" void print_help() { ...
36.643243
243
0.474923
jlanga
716a14b13f23ea4982ea9db24a3910515a5adea9
4,503
cpp
C++
nucleus/library/tests_timely/test_earth_time.cpp
fredhamster/feisty_meow
66dc4221dc485a5cf9e28b724fe36268e8843043
[ "Apache-2.0" ]
2
2019-01-22T23:34:37.000Z
2021-10-31T15:44:15.000Z
nucleus/library/tests_timely/test_earth_time.cpp
fredhamster/feisty_meow
66dc4221dc485a5cf9e28b724fe36268e8843043
[ "Apache-2.0" ]
2
2020-06-01T16:35:46.000Z
2021-10-05T21:02:09.000Z
nucleus/library/tests_timely/test_earth_time.cpp
fredhamster/feisty_meow
66dc4221dc485a5cf9e28b724fe36268e8843043
[ "Apache-2.0" ]
null
null
null
/* * Name : test_earth_time * * Author : Chris Koeritz * ** * Copyright (c) 2007-$now By Author. This program is free software; you can * * redistribute it and/or modify it under the terms of the GNU General Publ...
32.868613
82
0.70664
fredhamster
716a4f48a8db46c8577cc5bb2b5ef1ef5f698de7
28,586
cpp
C++
src/ofxRemoteUI.cpp
bensnell/ofxRemoteUI
748c2da201d7568370610212efef4e4ea9710265
[ "MIT" ]
74
2015-01-06T05:08:42.000Z
2022-01-09T03:29:14.000Z
src/ofxRemoteUI.cpp
bensnell/ofxRemoteUI
748c2da201d7568370610212efef4e4ea9710265
[ "MIT" ]
15
2015-01-22T20:37:32.000Z
2020-02-06T12:25:58.000Z
src/ofxRemoteUI.cpp
bensnell/ofxRemoteUI
748c2da201d7568370610212efef4e4ea9710265
[ "MIT" ]
12
2015-02-22T16:52:14.000Z
2020-06-30T04:19:10.000Z
// // ofxRemoteUI.cpp // emptyExample // // Created by Oriol Ferrer Mesià on 09/01/13. // // #include "ofxRemoteUI.h" #include <iostream> #include <stdlib.h> #include "uriencode.h" #include <sstream> #ifdef _WIN32 #include <windows.h> #include <iphlpapi.h> #include <WinSock2.h> #pragma comment(lib, "iphlpapi.lib")...
29.050813
167
0.669489
bensnell
716d6ff89efec8bad608f89174518f0b59c56ae0
2,783
cpp
C++
src/Components/ConcaveCollider.cpp
charlieSewell/YOKAI
4fb39975e58e9a49bc984bc6e844721a7ad9462e
[ "MIT" ]
null
null
null
src/Components/ConcaveCollider.cpp
charlieSewell/YOKAI
4fb39975e58e9a49bc984bc6e844721a7ad9462e
[ "MIT" ]
null
null
null
src/Components/ConcaveCollider.cpp
charlieSewell/YOKAI
4fb39975e58e9a49bc984bc6e844721a7ad9462e
[ "MIT" ]
null
null
null
#include "ConcaveCollider.hpp" ConcaveCollider::ConcaveCollider(GameObject* parent) : Component(parent){} void ConcaveCollider::Start() { if(m_parent->GetComponent<Transform>() == nullptr) { m_parent->AddComponent<Transform>(); } modelID = m_parent->GetComponent<DrawableEntity>()->GetModelID()...
33.939024
161
0.775782
charlieSewell
716f342aa6b588f4e376ac4f8618ba577645342c
1,928
cpp
C++
C++/Timer.cpp
juliafeingold/My-Cpp-programs
cbc7095082da25ce2a4f66d711d77af8d794206c
[ "Apache-2.0" ]
null
null
null
C++/Timer.cpp
juliafeingold/My-Cpp-programs
cbc7095082da25ce2a4f66d711d77af8d794206c
[ "Apache-2.0" ]
null
null
null
C++/Timer.cpp
juliafeingold/My-Cpp-programs
cbc7095082da25ce2a4f66d711d77af8d794206c
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; class Timer { protected: int setting; int current; public: Timer(int s){ setting = s; current = s; } virtual void OneTick(){ current--; } virtual bool Done() const{ return (current == 0); } virtual void Reset(){ current = setting; } virtual void Go() { ...
14.176471
53
0.560685
juliafeingold
716fcb49daa264f7a86e37db02e53c3b1ac79a24
670
cpp
C++
src/hatchetfish_stopwatch.cpp
microwerx/hatchetfish
923b951fc0ef578773fe88edaad9754d8a43ff77
[ "MIT" ]
null
null
null
src/hatchetfish_stopwatch.cpp
microwerx/hatchetfish
923b951fc0ef578773fe88edaad9754d8a43ff77
[ "MIT" ]
null
null
null
src/hatchetfish_stopwatch.cpp
microwerx/hatchetfish
923b951fc0ef578773fe88edaad9754d8a43ff77
[ "MIT" ]
null
null
null
#include <hatchetfish_stopwatch.hpp> namespace Hf { StopWatch::StopWatch() { start_timepoint = std::chrono::system_clock::now(); } StopWatch::~StopWatch() {} void StopWatch::Start() { start_timepoint = std::chrono::system_clock::now(); } void StopWatch::Stop() { end_timepoint = std::chrono...
23.928571
66
0.676119
microwerx
7172b98808cb8022c7da883aeb8c5bd3eadaa54b
739
cpp
C++
atcoder/abc/abc162/b.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
atcoder/abc/abc162/b.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
atcoder/abc/abc162/b.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; using pii = pair<int, int>; using pll = pair<ll, ll>; #define REP(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i) #define all(x) (x).begin(),(x).end() #define m0(x) memset(x,0,sizeof(x)) int dx4[4] = {1,0,-1,0}, dy4[4] = {0,1...
18.02439
58
0.516915
yu3mars
71744100fa3dcbba7d3dc1c420e6aaccd574fa6b
2,808
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/os/CMessenger.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/os/CMessenger.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/os/CMessenger.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 // // ...
23.596639
75
0.633547
jingcao80
71794cdb6a0874ede23cb71158bf445c76abbe89
1,476
cpp
C++
audio/linux/AudioEngine-linux.cpp
yangosoft/cocos2d-x-arm-opengles
af33a880b3f375ea31f0eacf4ffab769424ceba6
[ "MIT" ]
1
2020-12-26T19:47:41.000Z
2020-12-26T19:47:41.000Z
audio/linux/AudioEngine-linux.cpp
yangosoft/cocos2d-x-arm-opengles
af33a880b3f375ea31f0eacf4ffab769424ceba6
[ "MIT" ]
1
2018-05-09T08:39:17.000Z
2018-06-13T05:44:43.000Z
audio/linux/AudioEngine-linux.cpp
yangosoft/cocos2d-x-arm-opengles
af33a880b3f375ea31f0eacf4ffab769424ceba6
[ "MIT" ]
null
null
null
/** * @author cesarpachon */ #include <cstring> #include "audio/linux/AudioEngine-linux.h" #include "cocos2d.h" using namespace cocos2d; using namespace cocos2d::experimental; AudioEngineImpl * g_AudioEngineImpl = nullptr; typedef int FMOD_RESULT; AudioEngineImpl::AudioEngineImpl(){ }; AudioEngineImpl::~Audi...
15.216495
117
0.72019
yangosoft
717957c21cf925811f7f560c87d312e025a0ac71
367
cpp
C++
Algorithms/strReverseInP.cpp
Alex0Blackwell/c-projects
eb5a4507603b8510abc18223fd99c454e8effc38
[ "MIT" ]
1
2020-12-07T03:00:52.000Z
2020-12-07T03:00:52.000Z
Algorithms/strReverseInP.cpp
Alex0Blackwell/c-projects
eb5a4507603b8510abc18223fd99c454e8effc38
[ "MIT" ]
1
2020-10-02T06:27:48.000Z
2020-10-02T06:27:48.000Z
Algorithms/strReverseInP.cpp
Alex0Blackwell/c-projects
eb5a4507603b8510abc18223fd99c454e8effc38
[ "MIT" ]
2
2020-10-02T06:16:11.000Z
2020-10-27T15:05:25.000Z
#include <iostream> using namespace std; void str_reverse(char * str) { int len = 0; while (str[len] != '\0') len++; for (int i = 0; i < len / 2; i++) { char _tmp = str[i]; str[i] = str[len - 1 - i]; str[len - 1 - i] = _tmp; } return; } int main(void) { char str[] = "testing"; str_reve...
15.291667
37
0.514986
Alex0Blackwell
717a9cc799efd9644639ab0d1289a8b34e6f68e8
332
cpp
C++
code/uva/Q494.cpp
as535364/Judge-WriteupCode
e3e439a8c01d473e84422558593f7c992d0e9f8d
[ "MIT" ]
null
null
null
code/uva/Q494.cpp
as535364/Judge-WriteupCode
e3e439a8c01d473e84422558593f7c992d0e9f8d
[ "MIT" ]
null
null
null
code/uva/Q494.cpp
as535364/Judge-WriteupCode
e3e439a8c01d473e84422558593f7c992d0e9f8d
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int main() { string s; while(getline (cin,s) ){ bool flag = 0; int ans = 0; for(int i=0;i<s.size();i++){ if( ('A'<=s[i]&&s[i]<='Z')||('a'<=s[i]&&s[i]<='z') ) flag = 1; else if(flag==1){ ans++; flag = 0; } } cout<<ans<<'\n'; } ...
15.809524
55
0.478916
as535364
717e672f38fe33083e75f97b54301e9deae62407
1,057
cpp
C++
src/engine/Log.cpp
KrokodileGlue/blueshock
0e082556015562ec8fd847b9fb2f0ec62bdd9bd9
[ "MIT" ]
null
null
null
src/engine/Log.cpp
KrokodileGlue/blueshock
0e082556015562ec8fd847b9fb2f0ec62bdd9bd9
[ "MIT" ]
1
2019-06-09T14:16:34.000Z
2019-06-18T20:10:42.000Z
src/engine/Log.cpp
KrokodileGlue/blueshock
0e082556015562ec8fd847b9fb2f0ec62bdd9bd9
[ "MIT" ]
null
null
null
#include "Log.h" #include <algorithm> #include <fstream> #include <chrono> #include <ctime> std::ostringstream oss; std::ostringstream null_stream; LogLevel max_log_level = LogLevel::DEBUG3; std::ostringstream& log(LogLevel level) { if (level > max_log_level) { null_stream.str(""), null_stream.clear(); return ...
22.020833
85
0.676443
KrokodileGlue
7180d4551c55f2a4edf3579c055c57094047cc56
34,226
cpp
C++
external/GTEngine/Source/Imagics/GteMarchingCubesTable.cpp
yushuiqiang/geometry3cpp
2727986b89da2d40ffbd0dddb6947183c8bf68b0
[ "BSL-1.0" ]
1
2021-02-18T10:25:42.000Z
2021-02-18T10:25:42.000Z
external/GTEngine/Source/Imagics/GteMarchingCubesTable.cpp
yushuiqiang/geometry3cpp
2727986b89da2d40ffbd0dddb6947183c8bf68b0
[ "BSL-1.0" ]
null
null
null
external/GTEngine/Source/Imagics/GteMarchingCubesTable.cpp
yushuiqiang/geometry3cpp
2727986b89da2d40ffbd0dddb6947183c8bf68b0
[ "BSL-1.0" ]
null
null
null
// David Eberly, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2018 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // File Version: 3.0.0 (2016/06/19) #include <GTEnginePCH.h> #includ...
125.369963
134
0.315754
yushuiqiang
71830e78e2b8897dfc1f04b796deb1f4a414220c
81
cpp
C++
Source/FSDEngine/Private/SDFSphereComponent.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
8
2021-07-10T20:06:05.000Z
2022-03-04T19:03:50.000Z
Source/FSDEngine/Private/SDFSphereComponent.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
9
2022-01-13T20:49:44.000Z
2022-03-27T22:56:48.000Z
Source/FSDEngine/Private/SDFSphereComponent.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
2
2021-07-10T20:05:42.000Z
2022-03-14T17:05:35.000Z
#include "SDFSphereComponent.h" USDFSphereComponent::USDFSphereComponent() { }
13.5
44
0.790123
trumank
7184fc1cd21606c535d6a2867dd72c3ebf651762
229
hpp
C++
src/lib/utils/null_streambuf.hpp
nilsthamm/hyrise
75a701f281bb7dc1636832012c43005ec3c66384
[ "MIT" ]
2
2019-01-22T19:44:32.000Z
2019-01-22T19:52:33.000Z
src/lib/utils/null_streambuf.hpp
nilsthamm/hyrise
75a701f281bb7dc1636832012c43005ec3c66384
[ "MIT" ]
69
2019-05-24T10:01:32.000Z
2019-12-13T19:09:05.000Z
src/lib/utils/null_streambuf.hpp
nilsthamm/hyrise
75a701f281bb7dc1636832012c43005ec3c66384
[ "MIT" ]
null
null
null
#pragma once #include <iosfwd> namespace opossum { // Create no-op stream that just swallows everything streamed into it // See https://stackoverflow.com/a/11826666 std::ostream& get_null_streambuf(); } // namespace opossum
19.083333
69
0.751092
nilsthamm
71852aa19c76eef464ec2e50994909b5d2afb0ff
6,257
cpp
C++
WildMagic4/LibFoundation/ComputationalGeometry/Wm4Query.cpp
rms80/libgeometry
e60ec7d34968573a9cda3f3bf56d2d4717385dc9
[ "BSL-1.0" ]
23
2015-08-13T07:36:00.000Z
2022-01-24T19:00:04.000Z
WildMagic4/LibFoundation/ComputationalGeometry/Wm4Query.cpp
rms80/libgeometry
e60ec7d34968573a9cda3f3bf56d2d4717385dc9
[ "BSL-1.0" ]
null
null
null
WildMagic4/LibFoundation/ComputationalGeometry/Wm4Query.cpp
rms80/libgeometry
e60ec7d34968573a9cda3f3bf56d2d4717385dc9
[ "BSL-1.0" ]
6
2015-07-06T21:37:31.000Z
2020-07-01T04:07:50.000Z
// Geometric Tools, LLC // Copyright (c) 1998-2010 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 4.10.0 (2009/11/18) #include "Wm4FoundationPCH.h" #include "Wm4Query.h" u...
26.400844
79
0.282564
rms80
718d79499f119a3f97eeee29a7b7b42a0ac73e6c
3,843
hpp
C++
RobWorkStudio/src/rwslibs/luaeditor/LuaEditorWindow.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
1
2021-12-29T14:16:27.000Z
2021-12-29T14:16:27.000Z
RobWorkStudio/src/rwslibs/luaeditor/LuaEditorWindow.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
RobWorkStudio/src/rwslibs/luaeditor/LuaEditorWindow.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
/******************************************************************************** * Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
28.894737
95
0.659901
ZLW07
718d9f01288ac2f7d4dbbb76e6f7c3fad456603b
7,808
cpp
C++
dlc/src/v20210125/model/TableInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
dlc/src/v20210125/model/TableInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
dlc/src/v20210125/model/TableInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
29.243446
136
0.653304
suluner
718f2915857eb78572ee3087ff8964cb0a6cb89e
3,848
cpp
C++
PressureEngineCore/Src/Graphics/Skybox/SkyboxRenderer.cpp
Playturbo/PressureEngine
6b023165fcaecb267e13cf5532ea26a8da3f1450
[ "MIT" ]
1
2017-09-13T13:29:27.000Z
2017-09-13T13:29:27.000Z
PressureEngineCore/Src/Graphics/Skybox/SkyboxRenderer.cpp
Playturbo/PressureEngine
6b023165fcaecb267e13cf5532ea26a8da3f1450
[ "MIT" ]
null
null
null
PressureEngineCore/Src/Graphics/Skybox/SkyboxRenderer.cpp
Playturbo/PressureEngine
6b023165fcaecb267e13cf5532ea26a8da3f1450
[ "MIT" ]
1
2019-01-18T07:16:59.000Z
2019-01-18T07:16:59.000Z
#include "SkyboxRenderer.h" #include "../Textures/TextureManager.h" namespace Pressure { const std::vector<float> SkyboxRenderer::VERTICES = { -PRESSURE_SKYBOX_SIZE, PRESSURE_SKYBOX_SIZE, -PRESSURE_SKYBOX_SIZE, -PRESSURE_SKYBOX_SIZE, -PRESSURE_SKYBOX_SIZE, -PRESSURE_SKYBOX_SIZE, PRESSURE_SKYBOX_SIZE, -PRESSURE...
48.1
77
0.836798
Playturbo
71901b35a1e9482e7ee7a427b6ceec6f61d50b0b
525
cc
C++
media/base/win/mf_feature_checks.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-11-16T13:10:29.000Z
2021-11-16T13:10:29.000Z
media/base/win/mf_feature_checks.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
media/base/win/mf_feature_checks.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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 "media/base/win/mf_feature_checks.h" #include "base/win/windows_version.h" #include "media/base/media_switches.h" namespace media { bool Suppo...
30.882353
76
0.750476
zealoussnow
7192f64980fdd3af0c267a589655e31114203a1e
142
cpp
C++
tournaments/metroCard/metroCard.cpp
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
5
2020-02-06T09:51:22.000Z
2021-03-19T00:18:44.000Z
tournaments/metroCard/metroCard.cpp
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
null
null
null
tournaments/metroCard/metroCard.cpp
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
3
2019-09-27T13:06:21.000Z
2021-04-20T23:13:17.000Z
std::vector<int> metroCard(int lastNumberOfDays) { if (lastNumberOfDays == 31) { return {28, 30, 31}; } else { return {31}; } }
17.75
50
0.591549
gurfinkel
71932e8b4bcf143e427c8f8bc21a1315ba681d1a
10,837
cc
C++
chrome/browser/cookies_tree_model.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
11
2015-03-20T04:08:08.000Z
2021-11-15T15:51:36.000Z
chrome/browser/cookies_tree_model.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/cookies_tree_model.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009 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/cookies_tree_model.h" #include <algorithm> #include <functional> #include <vector> #include "app/l10n_util.h" #include "app...
36.860544
79
0.667251
rwatson
719cd1668f97259fd6054860c45f9deeac2c3834
2,765
cpp
C++
project-euler/229/euler_229_v1.cpp
zoffixznet/project-euler
39921379385ae2521354c7266a541c46785e85a2
[ "MIT" ]
null
null
null
project-euler/229/euler_229_v1.cpp
zoffixznet/project-euler
39921379385ae2521354c7266a541c46785e85a2
[ "MIT" ]
null
null
null
project-euler/229/euler_229_v1.cpp
zoffixznet/project-euler
39921379385ae2521354c7266a541c46785e85a2
[ "MIT" ]
null
null
null
// The Expat License // // Copyright (c) 2017, Shlomi Fish // // 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, ...
26.84466
80
0.515009
zoffixznet
719f720be5fbe75c0f3c5fe4a2b09b9b8d09eaac
20,394
cpp
C++
src/funcs_cpp/BACKUP/BKU_lib_integrals_electron.cpp
Jussmith01/HFSCFCISProgram
957d92229905c06fb97fba4ca3c2765ae8f700bb
[ "MIT" ]
null
null
null
src/funcs_cpp/BACKUP/BKU_lib_integrals_electron.cpp
Jussmith01/HFSCFCISProgram
957d92229905c06fb97fba4ca3c2765ae8f700bb
[ "MIT" ]
null
null
null
src/funcs_cpp/BACKUP/BKU_lib_integrals_electron.cpp
Jussmith01/HFSCFCISProgram
957d92229905c06fb97fba4ca3c2765ae8f700bb
[ "MIT" ]
null
null
null
#define _USE_MATH_DEFINES #include <stdio.h> #include <stdlib.h> #include <sstream> #include <string.h> #include <string> #include <cmath> #include <math.h> #include <fstream> #include <time.h> #include <iostream> #include "../utils_cpp/lib_includes.h" #include "../classes/classes.h" #include "../scf_main/scf_classes....
43.484009
409
0.500539
Jussmith01
71a35a92fec1bf1815c9967598ef40051242e149
3,416
cpp
C++
frameworks/util/socket/test/uds_session_test.cpp
openharmony-gitee-mirror/multimodalinput_input
17303b7662d0382f27c972ad7d149bee61a14f23
[ "Apache-2.0" ]
1
2021-12-03T13:56:40.000Z
2021-12-03T13:56:40.000Z
frameworks/util/socket/test/uds_session_test.cpp
openharmony-gitee-mirror/multimodalinput_input
17303b7662d0382f27c972ad7d149bee61a14f23
[ "Apache-2.0" ]
null
null
null
frameworks/util/socket/test/uds_session_test.cpp
openharmony-gitee-mirror/multimodalinput_input
17303b7662d0382f27c972ad7d149bee61a14f23
[ "Apache-2.0" ]
1
2021-09-13T11:18:23.000Z
2021-09-13T11:18:23.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * 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 ...
26.48062
75
0.721604
openharmony-gitee-mirror
71a7cb1b0aa87ccbbc1dde0f374cd02b583a74e5
2,310
cpp
C++
csrc/demo.cpp
DhruvKoolRajamani/ihmc-ros-control
80ce78de88f7b540d6a2b153f6899fb5cfe865fe
[ "Apache-2.0" ]
1
2022-01-05T01:38:01.000Z
2022-01-05T01:38:01.000Z
csrc/demo.cpp
DhruvKoolRajamani/ihmc-ros-control
80ce78de88f7b540d6a2b153f6899fb5cfe865fe
[ "Apache-2.0" ]
3
2016-06-15T18:26:56.000Z
2016-10-18T19:06:06.000Z
csrc/demo.cpp
DhruvKoolRajamani/ihmc-ros-control
80ce78de88f7b540d6a2b153f6899fb5cfe865fe
[ "Apache-2.0" ]
2
2016-10-25T23:36:45.000Z
2018-06-08T18:56:05.000Z
#include "jvmLauncher/launcher.h" #include <iostream> JNIEXPORT void JNICALL callVoidFunctionWithString (JNIEnv *env, jobject obj, jstring str) { const char * cstr = env->GetStringUTFChars(str, 0); std::cout << "Got string from java: " << cstr << std::endl; env->ReleaseStringUTFChars(str, cstr); } JNIE...
27.831325
179
0.644156
DhruvKoolRajamani
71a8e84d1bee23bd95dc69a14bc2afb34cdc7ffb
4,306
cpp
C++
quad.cpp
mihalyvaghy/whiteboard
252d938157ff29740c2a9ba68904df9a0c8d28f0
[ "MIT" ]
null
null
null
quad.cpp
mihalyvaghy/whiteboard
252d938157ff29740c2a9ba68904df9a0c8d28f0
[ "MIT" ]
null
null
null
quad.cpp
mihalyvaghy/whiteboard
252d938157ff29740c2a9ba68904df9a0c8d28f0
[ "MIT" ]
null
null
null
#include <string> #include "quad.hpp" double QuadTree::Node::diffThreshold = 45.0; std::map<char, Color> QuadTree::Node::colorMap = QuadTree::Node::initializeColorMap(); std::map<char, Color> QuadTree::Node::initializeColorMap() { std::map<char, Color> res; res['k'] = Color::BLACK; res['b'] = Color::BLUE; res['g...
24.327684
118
0.602183
mihalyvaghy
71a975ed8787b8ddd826d80a98ed774f88982031
1,074
cpp
C++
solutions/c++/problems/[0265_Hard] Paint House II.cpp
RageBill/leetcode
a11d411f4e38b5c3f05ca506a193f50b25294497
[ "MIT" ]
6
2021-02-20T14:00:22.000Z
2022-03-31T15:26:44.000Z
solutions/c++/problems/[0265_Hard] Paint House II.cpp
RageBill/leetcode
a11d411f4e38b5c3f05ca506a193f50b25294497
[ "MIT" ]
null
null
null
solutions/c++/problems/[0265_Hard] Paint House II.cpp
RageBill/leetcode
a11d411f4e38b5c3f05ca506a193f50b25294497
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Solution { public: vector<int> getCurrCost(vector<int> prev, vector<int> curr) { int n = prev.size(); int min = 999; int min2 = 1000; for (int num: prev) { if (num < min) { min2 = min; m...
27.538462
72
0.443203
RageBill
71ab6557ad4b2f5a609fadc31cdf93350e003176
1,378
cpp
C++
comp sci 3/homework2.cpp
MattPhilpot/RandomHomework
efa61590689c0af862a52104bad89c35bc133a65
[ "Apache-2.0" ]
null
null
null
comp sci 3/homework2.cpp
MattPhilpot/RandomHomework
efa61590689c0af862a52104bad89c35bc133a65
[ "Apache-2.0" ]
null
null
null
comp sci 3/homework2.cpp
MattPhilpot/RandomHomework
efa61590689c0af862a52104bad89c35bc133a65
[ "Apache-2.0" ]
null
null
null
// Matthew Philpot // Computer Science 3 // 3.21.10 #include <iostream> #include <string> #include <sstream> using namespace std; class Operations { public: void digits(string AintNoThang, int total) { string rawr; int test = 0; if(!AintNoThang.empty()) { rawr = AintNoThang[0]; istringstream buffer(r...
16.404762
80
0.559507
MattPhilpot
71ac1784b47660a2bd641055f45236018d8dda94
7,291
cpp
C++
BeaconCompilerBackend.cpp
beacon1096/Project-Guider
3dcb16da2e091878e340a33230e66ddd4b4c2be1
[ "Apache-2.0" ]
null
null
null
BeaconCompilerBackend.cpp
beacon1096/Project-Guider
3dcb16da2e091878e340a33230e66ddd4b4c2be1
[ "Apache-2.0" ]
null
null
null
BeaconCompilerBackend.cpp
beacon1096/Project-Guider
3dcb16da2e091878e340a33230e66ddd4b4c2be1
[ "Apache-2.0" ]
null
null
null
#include "BeaconCompilerBackend.h" BeaconCompilerBackend::BeaconCompilerBackend(QObject *parent) : QObject(parent) { QSettings settings; if(!settings.value("gccPath").toString().isEmpty()){ gcc.setProgram(settings.value("gccPath").toString()); gpp.setProgram(settings.value("gppPath").toString()...
43.921687
255
0.654368
beacon1096
71b84c3a2426d6a1ffa72dbf69768504bf6bacf9
214
cpp
C++
SourceCode/main.cpp
Remsya/M2Process
b2ad03ed91cc32305a114de187ac6dbc463baae7
[ "MIT" ]
null
null
null
SourceCode/main.cpp
Remsya/M2Process
b2ad03ed91cc32305a114de187ac6dbc463baae7
[ "MIT" ]
null
null
null
SourceCode/main.cpp
Remsya/M2Process
b2ad03ed91cc32305a114de187ac6dbc463baae7
[ "MIT" ]
null
null
null
// // main.cpp // CauchyProcess, 1-dimension only // // Created by Rémi Carnec on 13/05/2020. // Copyright © 2020 Rémi Carnec. All rights reserved. // int main(int argc, const char * argv[]){ return 0; }
16.461538
54
0.640187
Remsya
71bc1fa5fd7927bc8e6cc6d9877f27f0c54aaae1
516
hpp
C++
source/Graphics/GLCheck.hpp
Dante12129/Pancake
35282814e2f3b2d5e155a539ca5ddee32e240d3e
[ "Zlib" ]
null
null
null
source/Graphics/GLCheck.hpp
Dante12129/Pancake
35282814e2f3b2d5e155a539ca5ddee32e240d3e
[ "Zlib" ]
null
null
null
source/Graphics/GLCheck.hpp
Dante12129/Pancake
35282814e2f3b2d5e155a539ca5ddee32e240d3e
[ "Zlib" ]
null
null
null
//File adapted from SFML source code, https://github.com/LaurentGomila/SFML #ifndef GLCHECK_HPP #define GLCHECK_HPP #include <string> namespace pcke { #ifdef PCKE_DEBUG // In debug mode, perform a test on every OpenGL call #define glCheck(x) x; pcke::glCheckError(__FILE__, __LINE__); #else ...
19.846154
75
0.676357
Dante12129
71cac75766a0c1076c05bec0aec9d7806d7bc9be
1,849
cpp
C++
windows/advcore/gdiplus/test/functest/cregions.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
windows/advcore/gdiplus/test/functest/cregions.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
windows/advcore/gdiplus/test/functest/cregions.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/******************************Module*Header*******************************\ * Module Name: CRegions.cpp * * This file contains the code to support the functionality test harness * for GDI+. This includes menu options and calling the appropriate * functions for execution. * * Created: 05-May-2000 - Jeff Vezina...
27.191176
77
0.57166
npocmaka
71ce8ea516e381387939e641d93df8d5fe46cc76
422
cpp
C++
src/admin/migrate.cpp
victorvw/eos-wps
e115197eb78b6f6a851f253f68784324383fae14
[ "MIT" ]
4
2020-03-26T11:12:07.000Z
2020-04-19T02:07:31.000Z
src/admin/migrate.cpp
victorvw/eos-wps
e115197eb78b6f6a851f253f68784324383fae14
[ "MIT" ]
13
2019-12-12T21:33:49.000Z
2019-12-22T17:23:54.000Z
src/admin/migrate.cpp
victorvw/eos-wps
e115197eb78b6f6a851f253f68784324383fae14
[ "MIT" ]
4
2019-11-11T14:13:25.000Z
2020-03-15T17:44:38.000Z
void wps::migrate( const name type ) { require_auth( get_self() ); if (type == "del.comment"_n) { for ( auto row : _proposals ) { comments_table _comments( get_self(), row.proposal_name.value ); auto comment_itr = _comments.begin(); while ( comment_itr != _comments.e...
30.142857
76
0.545024
victorvw
71d12fcc7be997f1276c986f63064be2cc843554
2,164
cc
C++
src/graphics/examples/vkproto/common/render_pass.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/graphics/examples/vkproto/common/render_pass.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
src/graphics/examples/vkproto/common/render_pass.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2018 The Fuchsia 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 "src/graphics/examples/vkproto/common/render_pass.h" #include "src/graphics/examples/vkproto/common/utils.h" namespace vkp { RenderPass::Render...
37.964912
97
0.773105
allansrc
71d211f8f05affbfcb9d38d47caad40b91c5ae15
16,601
hpp
C++
SDK/ARKSurvivalEvolved_Dino_Character_BP_DivingFlyer_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Dino_Character_BP_DivingFlyer_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Dino_Character_BP_DivingFlyer_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Dino_Character_BP_DivingFlyer_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //----------------------------------------...
52.369085
173
0.630805
2bite
71d3a70dd489985d0020b470d9b2197dc0a32681
1,818
hpp
C++
src/connectors/kokkos/include/impl/Kokkos_Profiling_DeviceInfo.hpp
cdwdirect/apollo
499f1b4bf111011e4d59b6d86da60559157b5474
[ "MIT" ]
14
2020-06-16T12:59:18.000Z
2022-01-31T17:40:52.000Z
src/connectors/kokkos/include/impl/Kokkos_Profiling_DeviceInfo.hpp
cdwdirect/apollo
499f1b4bf111011e4d59b6d86da60559157b5474
[ "MIT" ]
9
2020-08-11T01:18:26.000Z
2022-02-18T16:33:02.000Z
src/connectors/kokkos/include/impl/Kokkos_Profiling_DeviceInfo.hpp
cdwdirect/apollo
499f1b4bf111011e4d59b6d86da60559157b5474
[ "MIT" ]
8
2020-06-16T12:59:25.000Z
2021-06-21T20:33:04.000Z
/* //@HEADER // ************************************************************************ // // Kokkos v. 3.0 // Copyright (2020) National Technology & Engineering // Solutions of Sandia, LLC (NTESS). // // Under the terms of Contract DE-NA0003525 with NTESS, // the U.S....
40.4
79
0.710671
cdwdirect
71d608089ed4ae5f8005a6345999d2f7f5d2b491
1,054
cpp
C++
UVa/uva 1056.cpp
Xi-Plus/OJ-Code
7ff6d691f34c9553d53dc9cddf90ad7dc7092349
[ "MIT" ]
null
null
null
UVa/uva 1056.cpp
Xi-Plus/OJ-Code
7ff6d691f34c9553d53dc9cddf90ad7dc7092349
[ "MIT" ]
null
null
null
UVa/uva 1056.cpp
Xi-Plus/OJ-Code
7ff6d691f34c9553d53dc9cddf90ad7dc7092349
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define endl '\n' using namespace std; const int BIGDIS = INT_MAX/2; int dis[55][55]; int main() { ios::sync_with_stdio(false); cin.tie(0); int P, R; string s1, s2; int t=1; while(cin>>P>>R, P||R){ map<string, int> pid; int pidcnt=0; for(int q=0; q<P; q++){ for(int w=0; w<P; w++)...
18.491228
49
0.48482
Xi-Plus
71d8e080d688606526c691c0d060553c7978435d
2,084
cpp
C++
src/xmol/io/pdb/PdbRecord.cpp
sizmailov/pyxmolpp2
9395ba1b1ddc957e0b33dc6decccdb711e720764
[ "MIT" ]
4
2020-06-24T11:07:57.000Z
2022-01-15T23:00:30.000Z
src/xmol/io/pdb/PdbRecord.cpp
sizmailov/pyxmolpp2
9395ba1b1ddc957e0b33dc6decccdb711e720764
[ "MIT" ]
84
2018-04-22T12:29:31.000Z
2020-06-17T15:03:37.000Z
src/xmol/io/pdb/PdbRecord.cpp
sizmailov/pyxmolpp2
9395ba1b1ddc957e0b33dc6decccdb711e720764
[ "MIT" ]
6
2018-06-04T09:16:26.000Z
2022-03-12T11:05:54.000Z
#include "xmol/io/pdb/PdbRecord.h" #include "xmol/io/pdb/exceptions.h" #include <fstream> using namespace xmol::io; using namespace xmol::io::pdb; const std::vector<int>& PdbRecordType::getFieldColons(const FieldName& fieldName) const { auto col = fieldColons.find(fieldName); if (col != fieldColons.end()) { ...
31.575758
80
0.675144
sizmailov
71d9e0440a273165a085872bb963684a3c3363db
1,496
cpp
C++
core/net/ntp.cpp
JartC0ding/horizon
2b9a75b45ac768a8da0f7a98f164a37690dc583f
[ "MIT" ]
4
2022-01-06T09:19:46.000Z
2022-03-27T18:08:36.000Z
core/net/ntp.cpp
JartC0ding/horizon
2b9a75b45ac768a8da0f7a98f164a37690dc583f
[ "MIT" ]
null
null
null
core/net/ntp.cpp
JartC0ding/horizon
2b9a75b45ac768a8da0f7a98f164a37690dc583f
[ "MIT" ]
1
2022-03-22T19:10:05.000Z
2022-03-22T19:10:05.000Z
#include <net/ntp.h> #include <utils/abort.h> #include <utils/log.h> #include <utils/string.h> #include <timer/timer.h> #include <utils/unix_time.h> using namespace net; network_time_protocol::network_time_protocol(udp_socket* socket) { this->socket = socket; } void network_time_protocol::on_udp_message(udp_socket...
25.793103
118
0.720588
JartC0ding
71e2482ff3f03d617c8f98ceb6049a692592375d
691
cpp
C++
libraries/lib-ffmpeg-support/wrappers/AVFrameWrapper.cpp
joshrose/audacity
e2b1a2be6b92661628bbb054f915bc50b211c020
[ "CC-BY-3.0" ]
7,892
2015-03-31T09:24:05.000Z
2022-03-31T12:30:32.000Z
libraries/lib-ffmpeg-support/wrappers/AVFrameWrapper.cpp
joshrose/audacity
e2b1a2be6b92661628bbb054f915bc50b211c020
[ "CC-BY-3.0" ]
2,050
2015-04-03T13:27:52.000Z
2022-03-31T19:14:10.000Z
libraries/lib-ffmpeg-support/wrappers/AVFrameWrapper.cpp
joshrose/audacity
e2b1a2be6b92661628bbb054f915bc50b211c020
[ "CC-BY-3.0" ]
2,613
2015-03-26T11:28:10.000Z
2022-03-30T13:17:03.000Z
/********************************************************************** Audacity: A Digital Audio Editor AVFrameWrapper.cpp Dmitry Vedenko **********************************************************************/ #include "AVFrameWrapper.h" #include "FFmpegFunctions.h" AVFrameWrapper::AVFrameWrapper(const FF...
19.194444
71
0.586107
joshrose
71e387d3770567a10d0f161f181cf185497fa96b
6,358
cpp
C++
template_mp/src/utils/RCBot2/bot_accessclient.cpp
moeabm/VS2013
dd29099567b286acac7bb542a06f085df78ea480
[ "Unlicense" ]
null
null
null
template_mp/src/utils/RCBot2/bot_accessclient.cpp
moeabm/VS2013
dd29099567b286acac7bb542a06f085df78ea480
[ "Unlicense" ]
null
null
null
template_mp/src/utils/RCBot2/bot_accessclient.cpp
moeabm/VS2013
dd29099567b286acac7bb542a06f085df78ea480
[ "Unlicense" ]
null
null
null
/* * This file is part of RCBot. * * RCBot by Paul Murphy adapted from Botman's HPB Bot 2 template. * * RCBot is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the Licen...
25.031496
155
0.651777
moeabm
71e4828fe3a91bf35c9f4748b2daa081a9dfb241
6,718
cpp
C++
lighthub/modules/in_ccs811_hdc1080.cpp
anklimov/lighthub
99e9c1a27aca52bf38efec000547720fb8f82860
[ "Apache-2.0" ]
83
2017-11-05T14:05:16.000Z
2022-02-21T16:34:53.000Z
lighthub/modules/in_ccs811_hdc1080.cpp
anklimov/lighthub
99e9c1a27aca52bf38efec000547720fb8f82860
[ "Apache-2.0" ]
27
2018-03-12T21:49:33.000Z
2022-01-20T19:06:05.000Z
lighthub/modules/in_ccs811_hdc1080.cpp
anklimov/lighthub
99e9c1a27aca52bf38efec000547720fb8f82860
[ "Apache-2.0" ]
20
2017-11-20T08:27:17.000Z
2022-03-28T02:26:17.000Z
#include "modules/in_ccs811_hdc1080.h" #include "Arduino.h" #include "options.h" #include "Streaming.h" #include "item.h" #include "main.h" #if defined(M5STACK) #include <M5Stack.h> #endif #ifndef CSSHDC_DISABLE static ClosedCube_HDC1080 hdc1080; static CCS811 ccs811(CCS811_ADDR); long ccs811Baseline; static bool H...
26.448819
91
0.686365
anklimov
71e90916fb1a1ee401320c25368a423298bb280a
5,873
cpp
C++
src/display/VRDisplayNode.cpp
elainejiang8/MinVR
d3905b0a7b6b3e324e6ab3773ef29f651b8ad9d7
[ "BSD-3-Clause" ]
null
null
null
src/display/VRDisplayNode.cpp
elainejiang8/MinVR
d3905b0a7b6b3e324e6ab3773ef29f651b8ad9d7
[ "BSD-3-Clause" ]
null
null
null
src/display/VRDisplayNode.cpp
elainejiang8/MinVR
d3905b0a7b6b3e324e6ab3773ef29f651b8ad9d7
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright Regents of the University of Minnesota, 2016. This software is released under the following license: http://opensource.org/licenses/ * Source code originally developed at the University of Minnesota Interactive Visualization Lab (http://ivlab.cs.umn.edu). * * Code author(s): * Dan Orban (dtorban)...
30.273196
146
0.612294
elainejiang8
71eae2207b9960d1915ef7957da7c589d508f102
1,882
cpp
C++
problems/codejam/2021/2/matrygons/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
problems/codejam/2021/2/matrygons/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
problems/codejam/2021/2/matrygons/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // ***** vector<int> primes, lp, nxt; auto get_divisors(const unordered_map<int, int>& factors) { vector<int> divs = {1}; for (const auto& [p, e] : factors) { int D = divs.size(); divs.resize(D * (e + 1)); for (int n = 1; n <= e; n++) { ...
21.386364
81
0.425611
brunodccarvalho
71ec616984ec83f8c0d5bc35f4c489b5450206c5
690
hpp
C++
include/strf/fps.hpp
AnttiVainio/STRF
8c397a1efad0e35f76de0242c4fb82f48b48e824
[ "MIT" ]
null
null
null
include/strf/fps.hpp
AnttiVainio/STRF
8c397a1efad0e35f76de0242c4fb82f48b48e824
[ "MIT" ]
null
null
null
include/strf/fps.hpp
AnttiVainio/STRF
8c397a1efad0e35f76de0242c4fb82f48b48e824
[ "MIT" ]
null
null
null
/** fps.hpp **/ #ifndef STRF_FPS_HPP #define STRF_FPS_HPP #include <strf/global.hpp> #include <deque> namespace strf { #ifndef STRF_INIT_HPP DLL_EXPORT void DLL_CALL set_fps_draw_size(cfloat value = 40.0); #endif class DLL_EXPORT fps { private: fps(const fps &fps); //Copy constructor fps &operator=(con...
17.692308
65
0.688406
AnttiVainio
71ecf89145d9edcafadc572248fecacead660f35
1,049
hpp
C++
include/SDPVer.hpp
Cyberunner23/libSDP
0c4cffc951980c618c6f0e04bb8c3b184f246226
[ "Apache-2.0" ]
3
2015-03-07T09:51:56.000Z
2017-05-13T20:17:15.000Z
include/SDPVer.hpp
Cyberunner23/libSDP
0c4cffc951980c618c6f0e04bb8c3b184f246226
[ "Apache-2.0" ]
null
null
null
include/SDPVer.hpp
Cyberunner23/libSDP
0c4cffc951980c618c6f0e04bb8c3b184f246226
[ "Apache-2.0" ]
null
null
null
/* Copyright 2015 Alex Frappier Lachapelle 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...
21.854167
75
0.666349
Cyberunner23
71ecfa1dd87de1a6f3903e8a1189a73efa335ea3
4,231
hh
C++
src/patient/patient.hh
Apperta-IXN-for-the-NHS/GOSH-FHIRworks2020-datamaskgen
b8c075b01640f99730fcd39ad87c3009a510fa01
[ "Apache-2.0" ]
2
2020-03-10T04:35:17.000Z
2020-03-30T12:26:51.000Z
src/patient/patient.hh
Apperta-IXN-for-the-NHS/GOSH-FHIRworks2020-datamaskgen
b8c075b01640f99730fcd39ad87c3009a510fa01
[ "Apache-2.0" ]
4
2020-03-09T01:11:30.000Z
2020-03-10T03:12:43.000Z
src/patient/patient.hh
Apperta-IXN-for-the-NHS/GOSH-FHIRworks2020-datamaskgen
b8c075b01640f99730fcd39ad87c3009a510fa01
[ "Apache-2.0" ]
1
2020-05-29T14:38:49.000Z
2020-05-29T14:38:49.000Z
// // Created by Patrick Wu on 02/03/2020. // #ifndef GOSH_FHIRWORKS2020_DATAMASKGEN_PATIENT_HH #define GOSH_FHIRWORKS2020_DATAMASKGEN_PATIENT_HH #include <string> #include <ctime> #include <vector> #include <sstream> #include "name.hh" #include "address.hh" #include "language.hh" #include "telecom.hh" #include "ide...
35.855932
177
0.559679
Apperta-IXN-for-the-NHS