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
ace12c280abf35b3c6b629e7028cb13918ba0e24
397
cpp
C++
2017.3.17/a.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
2017.3.17/a.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
2017.3.17/a.cpp
1980744819/ACM-code
a697242bc963e682e552e655e3d78527e044e854
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #include<cstdlib> #include<cmath> #include<string> #include<vector> #include<stack> #include<set> #include<map> #include<queue> #include<algorithm> using namespace std; char s[1000]; int main(){ cout<<"I"<<endl<<" "<<endl<<"L"<<endl<<"o"<<endl<<"v"<<endl<<"e"<<e...
19.85
130
0.632242
1980744819
ace3575cd6f7c290e3fabfbd45b8ec90796ade9d
14,287
cpp
C++
Samples/threadMigration/threadMigration.cpp
rob-opsi/cuda-samples
32943424ed7023f9168266d9fb7b76e8566fd054
[ "BSD-3-Clause" ]
1,947
2018-05-21T23:16:35.000Z
2022-03-31T15:29:23.000Z
Samples/threadMigration/threadMigration.cpp
rob-opsi/cuda-samples
32943424ed7023f9168266d9fb7b76e8566fd054
[ "BSD-3-Clause" ]
96
2018-07-12T18:51:46.000Z
2022-03-26T19:09:32.000Z
Samples/threadMigration/threadMigration.cpp
rob-opsi/cuda-samples
32943424ed7023f9168266d9fb7b76e8566fd054
[ "BSD-3-Clause" ]
756
2018-05-21T23:16:47.000Z
2022-03-31T20:01:29.000Z
/* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
33.148492
80
0.67208
rob-opsi
ace411b3a3f20ac6879fbaa863a943dedd909894
1,362
hh
C++
include/Activia/ActGuiRun.hh
UniversityofWarwick/ACTIVIA
bbd0dfa71337602f94d911fa5101a440e8c16606
[ "BSL-1.0" ]
1
2020-11-04T08:32:23.000Z
2020-11-04T08:32:23.000Z
include/Activia/ActGuiRun.hh
UniversityofWarwick/ACTIVIA
bbd0dfa71337602f94d911fa5101a440e8c16606
[ "BSL-1.0" ]
null
null
null
include/Activia/ActGuiRun.hh
UniversityofWarwick/ACTIVIA
bbd0dfa71337602f94d911fa5101a440e8c16606
[ "BSL-1.0" ]
1
2020-11-04T08:32:30.000Z
2020-11-04T08:32:30.000Z
#ifdef ACT_USE_QT #ifndef ACT_GUI_RUN_HH #define ACT_GUI_RUN_HH #include "Activia/ActAbsRun.hh" #include "Activia/ActGuiWindow.hh" #include "QtGui/qdialog.h" #include "QtGui/qmenubar.h" #include "QtGui/qprogressbar.h" /// \brief Run all of the isotope production code using a GUI /// /// All relevent input and outpu...
19.457143
68
0.707048
UniversityofWarwick
ace45f838efefc721e7e28f82d34c4a06ce2b73d
9,652
cc
C++
processors/IA32/bochs/cpu/bit32.cc
pavel-krivanek/opensmalltalk-vm
694dfe3ed015e16f5b8e9cf17d37e4bdd32bea16
[ "MIT" ]
445
2016-06-30T08:19:11.000Z
2022-03-28T06:09:49.000Z
processors/IA32/bochs/cpu/bit32.cc
pavel-krivanek/opensmalltalk-vm
694dfe3ed015e16f5b8e9cf17d37e4bdd32bea16
[ "MIT" ]
439
2016-06-29T20:14:36.000Z
2022-03-17T19:59:58.000Z
processors/IA32/bochs/cpu/bit32.cc
pavel-krivanek/opensmalltalk-vm
694dfe3ed015e16f5b8e9cf17d37e4bdd32bea16
[ "MIT" ]
137
2016-07-02T17:32:07.000Z
2022-03-20T11:17:25.000Z
///////////////////////////////////////////////////////////////////////// // $Id: bit32.cc,v 1.14 2008/08/11 18:53:23 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. // // MandrakeSoft S.A. // 43, rue d'Aboukir // 75002 Paris...
26.228261
102
0.657688
pavel-krivanek
ace4a50850d5f4d87cbe2a154f3840bcdccfc00b
17,895
cpp
C++
YGO3_Decoder/YGO3_Decoder.cpp
xan1242/ygo3_decoder
ed2344021c7a9ee92efbd2059ce7da245705ac1a
[ "MIT" ]
null
null
null
YGO3_Decoder/YGO3_Decoder.cpp
xan1242/ygo3_decoder
ed2344021c7a9ee92efbd2059ce7da245705ac1a
[ "MIT" ]
null
null
null
YGO3_Decoder/YGO3_Decoder.cpp
xan1242/ygo3_decoder
ed2344021c7a9ee92efbd2059ce7da245705ac1a
[ "MIT" ]
null
null
null
// Yu-Gi-Oh! Online 3 File Codec // #include "stdafx.h" #include "DecodeKeys.h" #include <stdlib.h> #include <string.h> char DecodeKeys1[0x48] = DECODE_KEYS_1; char DecodeKeys2[0x1000] = DECODE_KEYS_2; char* OutputFileName; char FileExt[16]; unsigned int KeyPointers[2]; struct stat st = { 0 }; v...
21.984029
71
0.501481
xan1242
ace4ff0b3f45dcf59d65921a5707091c2f87a03b
14,919
cpp
C++
Orbit/src/Render/VulkanBase.cpp
JusticesHand/orbit-engine
fd9bd160f6e54fb49a9e720f0c409ae5deb6e676
[ "MIT" ]
null
null
null
Orbit/src/Render/VulkanBase.cpp
JusticesHand/orbit-engine
fd9bd160f6e54fb49a9e720f0c409ae5deb6e676
[ "MIT" ]
8
2017-09-05T04:12:03.000Z
2017-10-26T03:17:07.000Z
Orbit/src/Render/VulkanBase.cpp
JusticesHand/orbit-engine
fd9bd160f6e54fb49a9e720f0c409ae5deb6e676
[ "MIT" ]
null
null
null
/*! @file Render/VulkanBase.cpp */ #include "Render/VulkanBase.h" #include "Input/Window.h" #include <iostream> #if defined(USE_WIN32) #error Win32Window not implemented yet! #elif defined(USE_XWINDOW) #error XWindow is not implemented yet! #elif defined(USE_WAYLAND) #error WaylandWindow is not implemented yet! #el...
31.742553
142
0.779878
JusticesHand
acedb20355f4007776c6263e6fce78f9bd456669
726
cpp
C++
src/InterruptHandler.cpp
Code-Log/UmikoBot
985dc422eadea06464e6610db17d726da9bbcef3
[ "MIT" ]
28
2019-11-15T14:43:48.000Z
2021-12-20T00:48:16.000Z
src/InterruptHandler.cpp
Code-Log/UmikoBot
985dc422eadea06464e6610db17d726da9bbcef3
[ "MIT" ]
22
2019-12-13T11:00:22.000Z
2021-09-29T09:06:10.000Z
src/InterruptHandler.cpp
Code-Log/UmikoBot
985dc422eadea06464e6610db17d726da9bbcef3
[ "MIT" ]
26
2020-02-21T16:28:11.000Z
2021-09-09T09:39:30.000Z
#include "InterruptHandler.h" #include <QtWidgets/QApplication> #if defined(Q_OS_WIN32) #include <windows.h> #elif defined(Q_OS_UNIX) #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #endif #if defined(Q_OS_WIN32) static BOOL WINAPI HandlerRoutine(DWORD sig) { QApplication::quit(); re...
19.105263
46
0.764463
Code-Log
acef8a783993b913184fc0b58bab11983ffca7cf
821
hh
C++
include/khmer/_cpy_countgraph.hh
wltrimbl/khmer
ff95776eabee96420f1ae43d0eff562682cbb17b
[ "CNRI-Python" ]
null
null
null
include/khmer/_cpy_countgraph.hh
wltrimbl/khmer
ff95776eabee96420f1ae43d0eff562682cbb17b
[ "CNRI-Python" ]
null
null
null
include/khmer/_cpy_countgraph.hh
wltrimbl/khmer
ff95776eabee96420f1ae43d0eff562682cbb17b
[ "CNRI-Python" ]
null
null
null
#ifndef _CPY_COUNTGRAPH_HH #define _CPY_COUNTGRAPH_HH #include <Python.h> #include "_cpy_utils.hh" #include "_cpy_hashgraph.hh" namespace khmer { typedef struct { khmer_KHashgraph_Object khashgraph; oxli::Countgraph * countgraph; } khmer_KCountgraph_Object; extern PyTypeObject khmer_KCountgraph_Type CPYCHE...
22.805556
71
0.771011
wltrimbl
acf5a4d1c5bada979452ea50c9d6fd52e3b599d6
3,554
cpp
C++
experiments/Experiment08/M8E8_apw5450.cpp
austinmwhaley/cmps121
d2ae8bad2f5cc6aee50e13f2b5b1a98f041de088
[ "MIT" ]
null
null
null
experiments/Experiment08/M8E8_apw5450.cpp
austinmwhaley/cmps121
d2ae8bad2f5cc6aee50e13f2b5b1a98f041de088
[ "MIT" ]
null
null
null
experiments/Experiment08/M8E8_apw5450.cpp
austinmwhaley/cmps121
d2ae8bad2f5cc6aee50e13f2b5b1a98f041de088
[ "MIT" ]
null
null
null
//Author: Austin Whaley, APW5450, 2019-03-03 //Class: CMPSC 121 //Experiment: 08 //File: cmpsc121/experiments/Experiment08/M7A15_apw5450.cpp //Purpose: Develop Confidence with random numbers /********************************************************************\ * Academic Integrity Affidavit: ...
26.132353
79
0.558244
austinmwhaley
acf7955cb0c8b46ddd741c48115b776920fd3a1e
3,518
cpp
C++
B2G/gecko/other-licenses/7zstub/src/Windows/PropVariantConversions.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/other-licenses/7zstub/src/Windows/PropVariantConversions.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/other-licenses/7zstub/src/Windows/PropVariantConversions.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
// PropVariantConversions.cpp #include "StdAfx.h" #include <stdio.h> #include "PropVariantConversions.h" #include "Windows/Defs.h" #include "Common/StringConvert.h" #include "Common/IntToString.h" static UString ConvertUInt64ToString(UInt64 value) { wchar_t buffer[32]; ConvertUInt64ToString(va...
24.09589
97
0.633883
wilebeast
acf90af34b816b8823c4e40426c066c2e9223c46
1,239
cpp
C++
Application/source/db/migrations/6_RemoveImages.cpp
RoutineFree/TriPlayer
4e5ee19c992eba033b57444b7f4b312acf339163
[ "MIT" ]
106
2020-11-01T09:58:37.000Z
2022-03-26T10:44:26.000Z
Application/source/db/migrations/6_RemoveImages.cpp
RoutineFree/TriPlayer
4e5ee19c992eba033b57444b7f4b312acf339163
[ "MIT" ]
30
2020-11-01T11:21:48.000Z
2022-02-01T23:09:47.000Z
Application/source/db/migrations/6_RemoveImages.cpp
RoutineFree/TriPlayer
4e5ee19c992eba033b57444b7f4b312acf339163
[ "MIT" ]
15
2020-11-02T12:06:03.000Z
2021-08-05T14:22:39.000Z
#include "db/migrations/6_RemoveImages.hpp" namespace Migration { std::string migrateTo6(SQLite * db) { // Add triggers to delete images when a relevant row is deleted bool ok = db->prepareAndExecuteQuery("CREATE TRIGGER deleteAlbumImage AFTER DELETE ON Albums WHEN removeImage(OLD.image_path) BEGIN...
45.888889
166
0.649718
RoutineFree
acfb66918f9c2725bb3c91b819491bd3004fd4a3
3,783
cpp
C++
src/Plugins/GOAPPlugin/Tasks/TaskAnimatablePlayWait.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
null
null
null
src/Plugins/GOAPPlugin/Tasks/TaskAnimatablePlayWait.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
null
null
null
src/Plugins/GOAPPlugin/Tasks/TaskAnimatablePlayWait.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
null
null
null
#include "TaskAnimatablePlayWait.h" #include "Interface/AnimationInterface.h" #include "Kernel/Logger.h" #include "Kernel/Assertion.h" #include "Kernel/DocumentHelper.h" #include "TaskAnimatablePlayReceiver.h" namespace Mengine { ////////////////////////////////////////////////////////////////////////// Tas...
38.602041
176
0.613534
Terryhata6
acfe52437cdad9d506c58b9f9d051007341c2bee
2,791
cpp
C++
2018_11_04/src/main.cpp
dafer45/SecondTech
262dda0c3599d182bf4bf51df595078c93b19b20
[ "Apache-2.0" ]
3
2018-10-29T04:33:16.000Z
2019-07-10T18:28:27.000Z
2018_11_04/src/main.cpp
dafer45/SecondTech
262dda0c3599d182bf4bf51df595078c93b19b20
[ "Apache-2.0" ]
null
null
null
2018_11_04/src/main.cpp
dafer45/SecondTech
262dda0c3599d182bf4bf51df595078c93b19b20
[ "Apache-2.0" ]
null
null
null
/* Copyright 2018 Kristofer Björnson * * 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...
26.084112
75
0.681834
dafer45
4a00f6a8c140aa42075347ce520ba22e120383c0
1,003
cpp
C++
core/source/detail/string_view.cpp
GremSnoort/actor-zeta
ec9f5624871f1fe3b844bb727e80388ba6c0557e
[ "BSD-3-Clause" ]
null
null
null
core/source/detail/string_view.cpp
GremSnoort/actor-zeta
ec9f5624871f1fe3b844bb727e80388ba6c0557e
[ "BSD-3-Clause" ]
null
null
null
core/source/detail/string_view.cpp
GremSnoort/actor-zeta
ec9f5624871f1fe3b844bb727e80388ba6c0557e
[ "BSD-3-Clause" ]
null
null
null
#include <actor-zeta/detail/string_view.hpp> #if CPP17_OR_GREATER #elif CPP14_OR_GREATER or CPP11_OR_GREATER #include <ostream> namespace std { std::ostream &operator<<(std::ostream &out, actor_zeta::detail::string_view str) { for (auto ch : str) out.put(ch); return out; } ...
26.394737
86
0.54337
GremSnoort
4a02c2e670b5085f6cbe172f79925b143a31ae7e
2,159
hpp
C++
include/rrl/cm/cm_no_reset.hpp
umbreensabirmain/readex-rrl
0cb73b3a3c6948a8dbdce96c240b24d8e992c2fe
[ "BSD-3-Clause" ]
1
2019-10-09T09:15:47.000Z
2019-10-09T09:15:47.000Z
include/rrl/cm/cm_no_reset.hpp
readex-eu/readex-rrl
ac8722c44f84d65668e2a60e4237ebf51b298c9b
[ "BSD-3-Clause" ]
null
null
null
include/rrl/cm/cm_no_reset.hpp
readex-eu/readex-rrl
ac8722c44f84d65668e2a60e4237ebf51b298c9b
[ "BSD-3-Clause" ]
1
2018-07-13T11:31:05.000Z
2018-07-13T11:31:05.000Z
/* * config_manager.hpp * * Created on: 06.06.2017 * Author: marcel */ #ifndef INCLUDE_CM_NO_RESET_HPP_ #define INCLUDE_CM_NO_RESET_HPP_ #include <cstdlib> #include <cstring> #include <fstream> #include <iostream> #include <mutex> #include <sstream> #include <string> #include <utility> #include <vector> #...
23.467391
99
0.691524
umbreensabirmain
4a04a4fc080162297ab1faa9e7d1e1ca936e9c20
245
cpp
C++
04. Recursion/taylorseriesiterative.cpp
pratik8696/DSA
049a76b6e2445bb5de2e87f3755038609006c06a
[ "MIT" ]
2
2021-09-27T14:12:28.000Z
2021-09-28T03:35:46.000Z
04. Recursion/taylorseriesiterative.cpp
pratik8696/DSA
049a76b6e2445bb5de2e87f3755038609006c06a
[ "MIT" ]
2
2021-09-30T09:07:11.000Z
2021-10-17T18:42:34.000Z
04. Recursion/taylorseriesiterative.cpp
pratik8696/DSA
049a76b6e2445bb5de2e87f3755038609006c06a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int iterative(int x,int n) { static int s=1; for(;n>0;n--) { s=1+x/n*s; } return s; } int main() { int x,n; cin>>x>>n; cout<<iterative(x,n); return 0; }
11.666667
26
0.493878
pratik8696
4a053aadc637d67124c9c9c6854b80eb6d5d96f8
790
cpp
C++
codes/UVA/10001-19999/uva10115.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/10001-19999/uva10115.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/10001-19999/uva10115.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include<stdio.h> #include<iostream> #include<string.h> using namespace std; #define N 15 #define M 85 #define K 260 int main() { char before[N][M], after[N][M]; char str[K], tem[K]; int n; while (cin >> n, n) { getchar(); // Init. memset(before, 0, sizeof(before)); memset(after, 0, sizeof(after)); mem...
14.90566
36
0.534177
JeraKrs
4a07af97299eb23ec1169cd59022da232c736bf9
1,446
hpp
C++
src/TypeInfo.hpp
MustafaSabur/RobotWereld
e696e6e7ad890abb719a78fc1a0c111a680d27e0
[ "BSD-2-Clause" ]
null
null
null
src/TypeInfo.hpp
MustafaSabur/RobotWereld
e696e6e7ad890abb719a78fc1a0c111a680d27e0
[ "BSD-2-Clause" ]
null
null
null
src/TypeInfo.hpp
MustafaSabur/RobotWereld
e696e6e7ad890abb719a78fc1a0c111a680d27e0
[ "BSD-2-Clause" ]
null
null
null
#ifndef TYPEINFO_HPP_ #define TYPEINFO_HPP_ /* * Copyright (c) 1997 - 2013 Askesis B.V. See license.txt for details. * For information, bug reports and additions send an e-mail to Danu@Askesis.nl. * * Author: jkr */ #include <cstdlib> #include <typeinfo> #include <cxxabi.h> #include <string> /** * @return The ...
23.322581
126
0.722683
MustafaSabur
4a096696d26a6a4fc08ed47839971e5973952e5f
11,793
cpp
C++
common/beerocks/hostapd/source/configuration.cpp
SWRT-dev/easymesh
12d902edde77599e074c0535f7256499b08f7494
[ "BSD-3-Clause", "BSD-2-Clause-Patent", "MIT" ]
null
null
null
common/beerocks/hostapd/source/configuration.cpp
SWRT-dev/easymesh
12d902edde77599e074c0535f7256499b08f7494
[ "BSD-3-Clause", "BSD-2-Clause-Patent", "MIT" ]
null
null
null
common/beerocks/hostapd/source/configuration.cpp
SWRT-dev/easymesh
12d902edde77599e074c0535f7256499b08f7494
[ "BSD-3-Clause", "BSD-2-Clause-Patent", "MIT" ]
null
null
null
/* SPDX-License-Identifier: BSD-2-Clause-Patent * * SPDX-FileCopyrightText: 2016-2020 the prplMesh contributors (see AUTHORS.md) * * This code is subject to the terms of the BSD+Patent license. * See LICENSE file for more details. */ #include <algorithm> #include <easylogging++.h> #include <fstream> #include <ho...
34.381924
100
0.603239
SWRT-dev
4a0a579c6cecb6ea87c59a31994edfdfe79eb966
2,222
cpp
C++
src/cv_tdmap_cell_image_frame_delegate.cpp
filipecosta90/im2model
ed43ed236c5a62b3af095fb949c517f680986ac5
[ "Apache-2.0" ]
7
2017-05-30T12:30:07.000Z
2017-09-07T08:35:26.000Z
src/cv_tdmap_cell_image_frame_delegate.cpp
filipecosta90/im2model_app
ed43ed236c5a62b3af095fb949c517f680986ac5
[ "Apache-2.0" ]
null
null
null
src/cv_tdmap_cell_image_frame_delegate.cpp
filipecosta90/im2model_app
ed43ed236c5a62b3af095fb949c517f680986ac5
[ "Apache-2.0" ]
null
null
null
/* * This file is subject to the terms and conditions defined in * file 'LICENSE', which is part of this source code package. * * Partialy financiated as part of the protocol between UTAustin I Portugal - UTA-P. * [2017] - [2018] University of Minho, Filipe Costa Oliveira * All Rights Reserved. */ #include "cv...
28.487179
140
0.721872
filipecosta90
4a0fb6af2475730dce42a50393476e1f7252e3a6
1,591
cpp
C++
BlueBerry/Bundles/org.blueberry.ui/src/guitk/berryGuiTkIControlListener.cpp
danielknorr/MITK
b1b9780b2a6671d8118313c5ef71e9aa128362be
[ "BSD-3-Clause" ]
5
2015-02-05T10:58:41.000Z
2019-04-17T15:04:07.000Z
BlueBerry/Bundles/org.blueberry.ui/src/guitk/berryGuiTkIControlListener.cpp
danielknorr/MITK
b1b9780b2a6671d8118313c5ef71e9aa128362be
[ "BSD-3-Clause" ]
141
2015-03-03T06:52:01.000Z
2020-12-10T07:28:14.000Z
BlueBerry/Bundles/org.blueberry.ui/src/guitk/berryGuiTkIControlListener.cpp
danielknorr/MITK
b1b9780b2a6671d8118313c5ef71e9aa128362be
[ "BSD-3-Clause" ]
4
2015-02-19T06:48:13.000Z
2020-06-19T16:20:25.000Z
/*=================================================================== BlueBerry Platform Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS...
26.516667
84
0.688875
danielknorr
4a102fb074013495ac392f71b3eb68e1426ac871
11,244
cpp
C++
test-suite/generated-src/cwrapper/cw__foo_receiver.cpp
trafi/trafi-djinni
47cd2c849782e2ab4b38e5dc6a5a3104cc87f673
[ "Apache-2.0" ]
null
null
null
test-suite/generated-src/cwrapper/cw__foo_receiver.cpp
trafi/trafi-djinni
47cd2c849782e2ab4b38e5dc6a5a3104cc87f673
[ "Apache-2.0" ]
null
null
null
test-suite/generated-src/cwrapper/cw__foo_receiver.cpp
trafi/trafi-djinni
47cd2c849782e2ab4b38e5dc6a5a3104cc87f673
[ "Apache-2.0" ]
null
null
null
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from foo_receiver.djinni #include <iostream> // for debugging #include <cassert> #include "wrapper_marshal.hpp" #include "foo_receiver.hpp" #include "cw__foo_listener.hpp" #include "cw__foo_listener_bf.hpp" #include "cw__foo_receiver.hpp" #includ...
51.577982
271
0.779171
trafi
4a11c773803aa6b0a1bfa392299e4058f70bfae3
4,658
cpp
C++
src/base/encoder.cpp
umichan0621/P2P-File-Share-System
3025dcde37c9fe4988f993ec2fa5bfe2804eaedb
[ "MIT" ]
null
null
null
src/base/encoder.cpp
umichan0621/P2P-File-Share-System
3025dcde37c9fe4988f993ec2fa5bfe2804eaedb
[ "MIT" ]
null
null
null
src/base/encoder.cpp
umichan0621/P2P-File-Share-System
3025dcde37c9fe4988f993ec2fa5bfe2804eaedb
[ "MIT" ]
null
null
null
#include "encoder.h" #include <windows.h> #include <wchar.h> namespace base { static uint8_t AlphabetMap[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; static uint8_t ReverseMap[] = { 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, ...
26.022346
99
0.597252
umichan0621
4a12bef02a73ba8fbc5f46e0dc69754b06740074
7,721
cpp
C++
Engine/gkDebugFps.cpp
gamekit-developers/gamekit
74c896af5826ebe8fb72f2911015738f38ab7bb2
[ "Zlib", "MIT" ]
241
2015-01-04T00:36:58.000Z
2022-01-06T19:19:23.000Z
Engine/gkDebugFps.cpp
slagusev/gamekit
a6e97fcf2a9c3b9b9799bc12c3643818503ffc7d
[ "MIT" ]
10
2015-07-10T18:27:17.000Z
2019-06-26T20:59:59.000Z
Engine/gkDebugFps.cpp
slagusev/gamekit
a6e97fcf2a9c3b9b9799bc12c3643818503ffc7d
[ "MIT" ]
82
2015-01-25T18:02:35.000Z
2022-03-05T12:28:17.000Z
/* ------------------------------------------------------------------------------- This file is part of OgreKit. http://gamekit.googlecode.com/ Copyright (c) 2006-2013 Xavier T. Contributor(s): Charlie C. ------------------------------------------------------------------------------- This software i...
32.995726
109
0.669732
gamekit-developers
4a1759c248922b0c08e7c47f9a1625f62e46fecc
7,106
cc
C++
archival/lzip-1.19/file_index.cc
myzhang1029/zmymingw
4c6b6088fb8a03248a1e6d9d6126dfaf225ffa56
[ "CC0-1.0" ]
null
null
null
archival/lzip-1.19/file_index.cc
myzhang1029/zmymingw
4c6b6088fb8a03248a1e6d9d6126dfaf225ffa56
[ "CC0-1.0" ]
null
null
null
archival/lzip-1.19/file_index.cc
myzhang1029/zmymingw
4c6b6088fb8a03248a1e6d9d6126dfaf225ffa56
[ "CC0-1.0" ]
null
null
null
/* Lzip - LZMA lossless data compressor Copyright (C) 2008-2017 Antonio Diaz Diaz. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your op...
36.818653
81
0.622854
myzhang1029
4a194049b6d19720ba1bf16da44ae734487318ef
1,020
cpp
C++
kernel/arch/x86_64/com.cpp
jasonwer/WingOS
1e3b8b272bc93542fda48ed1cf3226e63c923f39
[ "BSD-2-Clause" ]
1
2021-03-27T13:40:21.000Z
2021-03-27T13:40:21.000Z
kernel/arch/x86_64/com.cpp
jasonwer/WingOS
1e3b8b272bc93542fda48ed1cf3226e63c923f39
[ "BSD-2-Clause" ]
null
null
null
kernel/arch/x86_64/com.cpp
jasonwer/WingOS
1e3b8b272bc93542fda48ed1cf3226e63c923f39
[ "BSD-2-Clause" ]
null
null
null
#include <arch.h> #include <com.h> #include <kernel.h> #include <process.h> #include <stdarg.h> #include <utility.h> char temp_buffer[17]; uint64_t last_count = 17; bool com_device::echo_out(const char *data, uint64_t data_length) { for (uint64_t i = 0; i < data_length; i++) { write(data[i]); } ...
17
65
0.545098
jasonwer
4a1cf84fdc287c42f1dad8fa81015e3bc12e2db8
13,119
cpp
C++
src/Private/Resources/PlayingHudResource.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
src/Private/Resources/PlayingHudResource.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
src/Private/Resources/PlayingHudResource.cpp
heltena/KYEngine
4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e
[ "MIT" ]
null
null
null
#include <KYEngine/AddFaceViewParam.h> #include <KYEngine/AddMapViewParam.h> #include <KYEngine/AddProgressViewParam.h> #include <KYEngine/AddJoystickButtonParam.h> #include <KYEngine/AddPushButtonParam.h> #include <KYEngine/Core.h> #include <KYEngine/Private/Resources/PlayingHudResource.h> #include <KYEngine/Utility/T...
35.649457
139
0.647991
heltena
4a211385c55ec7464c20bc86d74449970d0c0d31
217
cpp
C++
CC/hello_world.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
1
2020-10-12T08:03:20.000Z
2020-10-12T08:03:20.000Z
CC/hello_world.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
null
null
null
CC/hello_world.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { long long a = 2992; long long b = 192; int prod = a * b; cout << "Product of " << a <<" and " << b << " is = " << prod << "\n"; return 0; }
24.111111
74
0.488479
MrRobo24
4a2904fda2c70d52ed7767a3317284c589584fdb
782
cpp
C++
leetcode/src/0142-detectCycle.cpp
Wasikowska/go-typebyname
460c50de881508f340c4785c18cee47232095a50
[ "MIT" ]
null
null
null
leetcode/src/0142-detectCycle.cpp
Wasikowska/go-typebyname
460c50de881508f340c4785c18cee47232095a50
[ "MIT" ]
null
null
null
leetcode/src/0142-detectCycle.cpp
Wasikowska/go-typebyname
460c50de881508f340c4785c18cee47232095a50
[ "MIT" ]
null
null
null
#include <iostream> #include <unordered_set> struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; class Solution { public: ListNode *detectCycle(ListNode *head) { if (!head) { return nullptr; } // floyd's cycle finding algorithm ListNode* n1{head}; Li...
16.291667
47
0.543478
Wasikowska
4a2bf58675380c45030695db57d420ccd8cd67f1
2,286
cpp
C++
src/tests/test_rdtree_select.cpp
rvianello/chemicalite
0feb0d122e2f38730e2033e76681699c12eb1b23
[ "BSD-3-Clause" ]
29
2015-03-07T14:40:35.000Z
2022-02-05T21:17:42.000Z
src/tests/test_rdtree_select.cpp
rvianello/chemicalite
0feb0d122e2f38730e2033e76681699c12eb1b23
[ "BSD-3-Clause" ]
3
2015-11-18T05:04:48.000Z
2020-12-16T22:37:25.000Z
src/tests/test_rdtree_select.cpp
rvianello/chemicalite
0feb0d122e2f38730e2033e76681699c12eb1b23
[ "BSD-3-Clause" ]
3
2020-05-13T19:02:07.000Z
2021-08-02T10:45:32.000Z
#include "test_common.hpp" TEST_CASE("rdtree select", "[rdtree]") { sqlite3 * db = nullptr; test_db_open(&db); int rc = sqlite3_exec( db, "CREATE VIRTUAL TABLE xyz USING rdtree(id integer primary key, s bits(1024))", NULL, NULL, NULL); REQUIRE(rc == SQLITE_OK); // insert some binary fing...
31.75
100
0.653981
rvianello
4a30d03c7eb0777c467f15599aebad9a2b02e6eb
2,894
cpp
C++
src/graphics/ressources/buffers.cpp
guillaume-haerinck/learn-vulkan
30acd5b477866f7454a3c89bf10a7bfffc11c9a1
[ "MIT" ]
null
null
null
src/graphics/ressources/buffers.cpp
guillaume-haerinck/learn-vulkan
30acd5b477866f7454a3c89bf10a7bfffc11c9a1
[ "MIT" ]
null
null
null
src/graphics/ressources/buffers.cpp
guillaume-haerinck/learn-vulkan
30acd5b477866f7454a3c89bf10a7bfffc11c9a1
[ "MIT" ]
null
null
null
#include "buffers.h" #include <chrono> #include <glm/gtc/matrix_transform.hpp> #include "graphics/setup/devices.h" VertexBuffer::VertexBuffer(LogicalDevice& device, MemoryAllocator& memoryAllocator, const std::vector<Vertex>& vertices) : m_vertices(vertices), IBuffer(device, memoryAllocator) { vk::BufferCrea...
35.728395
148
0.715619
guillaume-haerinck
4a3198d1b97e8de48fe4a53eea560a25f3d8c27f
1,565
cpp
C++
Algorithm important/search in almost sorted array.cpp
shauryauppal/Algo-DS-StudyMaterial
1c481f066d21b33ec2533156e75f45fa9b6a7606
[ "Apache-2.0" ]
3
2020-12-03T14:52:23.000Z
2021-12-19T09:26:50.000Z
Algorithm important/search in almost sorted array.cpp
shauryauppal/Algo-DS-StudyMaterial
1c481f066d21b33ec2533156e75f45fa9b6a7606
[ "Apache-2.0" ]
null
null
null
Algorithm important/search in almost sorted array.cpp
shauryauppal/Algo-DS-StudyMaterial
1c481f066d21b33ec2533156e75f45fa9b6a7606
[ "Apache-2.0" ]
null
null
null
/*Given an array which is sorted, but after sorting some elements are moved to either of the adjacent positions, i.e., arr[i] may be present at arr[i+1] or arr[i-1]. Write an efficient function to search an element in this array. Basically the element arr[i] can only be swapped with either arr[i+1] or arr[i-1]. For ...
26.083333
313
0.53738
shauryauppal
4a32688bc6ba34f96da03103f07dc211f948f8b8
529
cpp
C++
aula10092020/retangulo.cpp
imdcode/imd0030_t02_2020
9c08e159752fa3d1169518fcc4a1046c045d7cec
[ "MIT" ]
3
2020-09-23T00:59:43.000Z
2020-10-06T22:27:00.000Z
aula10092020/retangulo.cpp
imdcode/imd0030_t02_2020
9c08e159752fa3d1169518fcc4a1046c045d7cec
[ "MIT" ]
null
null
null
aula10092020/retangulo.cpp
imdcode/imd0030_t02_2020
9c08e159752fa3d1169518fcc4a1046c045d7cec
[ "MIT" ]
4
2020-10-05T05:36:25.000Z
2020-12-08T02:47:32.000Z
#include <iostream> #include "retangulo.hpp" using std::cout; using std::endl; int Retangulo::getLargura() { return largura; } void Retangulo::setLargura(int largura_) { if (largura_ < 0) { cout << "O valor da largura deve ser maior ou igual a zero." << endl; } else { largura = largura_; } } int Retangulo:...
16.53125
71
0.678639
imdcode
4a37d96cf9d056243d71c788eb078d88ef78a570
497
hpp
C++
src/loader/mod_package_loader.hpp
LeoCodes21/ModLoader
be2827f52390d77d7bf01b5f345092761b8f234d
[ "MIT" ]
4
2020-07-05T15:13:35.000Z
2021-02-04T00:03:01.000Z
src/loader/mod_package_loader.hpp
LeoCodes21/ModLoader
be2827f52390d77d7bf01b5f345092761b8f234d
[ "MIT" ]
1
2020-11-25T03:14:37.000Z
2020-11-25T03:14:37.000Z
src/loader/mod_package_loader.hpp
LeoCodes21/ModLoader
be2827f52390d77d7bf01b5f345092761b8f234d
[ "MIT" ]
5
2020-03-22T19:22:27.000Z
2021-02-21T15:22:58.000Z
// // Created by coder on 3/17/2020. // #ifndef MODLOADER_MOD_PACKAGE_LOADER_HPP #define MODLOADER_MOD_PACKAGE_LOADER_HPP #include <filesystem> #include "mod_package.hpp" namespace fs = std::filesystem; class mod_package_loader { public: mod_package_loader(std::string &server_id, fs::path &path); ~mod_pack...
17.75
63
0.738431
LeoCodes21
4a3997dd491fbc0f82d3a9540674e0dde872efae
6,512
hpp
C++
libs/Core/include/argos-Core/Support/SyntaxPool.hpp
henrikfroehling/argos
821ea18335838bcb2e88187adc12b59c51cd3522
[ "MIT" ]
null
null
null
libs/Core/include/argos-Core/Support/SyntaxPool.hpp
henrikfroehling/argos
821ea18335838bcb2e88187adc12b59c51cd3522
[ "MIT" ]
2
2022-02-16T23:58:02.000Z
2022-03-16T20:53:15.000Z
libs/Core/include/argos-Core/Support/SyntaxPool.hpp
henrikfroehling/argos
821ea18335838bcb2e88187adc12b59c51cd3522
[ "MIT" ]
null
null
null
#ifndef ARGOS_CORE_SUPPORT_SYNTAXPOOL_H #define ARGOS_CORE_SUPPORT_SYNTAXPOOL_H #include <memory> #include <unordered_map> #include <vector> #include "argos-Core/argos_global.hpp" #include "argos-Core/Syntax/ISyntaxNode.hpp" #include "argos-Core/Syntax/ISyntaxToken.hpp" #include "argos-Core/Syntax/ISyntaxTrivia.hpp" ...
42.285714
138
0.724355
henrikfroehling
6654c3d3a8690609b115e250c82c4b8bfa8c4ef1
7,848
cpp
C++
src/base64.cpp
abbyssoul/libsolace
390c3094af1837715787c33297720bf514f04710
[ "Apache-2.0" ]
18
2016-05-30T23:46:27.000Z
2022-01-11T18:20:28.000Z
src/base64.cpp
abbyssoul/libsolace
390c3094af1837715787c33297720bf514f04710
[ "Apache-2.0" ]
4
2017-09-12T13:32:28.000Z
2019-10-21T10:36:18.000Z
src/base64.cpp
abbyssoul/libsolace
390c3094af1837715787c33297720bf514f04710
[ "Apache-2.0" ]
5
2017-11-24T19:34:06.000Z
2019-10-18T14:24:12.000Z
/* * Copyright 2017 Ivan Ryabov * * 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.192825
114
0.541157
abbyssoul
665538034c76f7fbc9c98fc4defb37da81ee5eb2
347
cpp
C++
Online Judges/URI/2343/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
64
2019-03-17T08:56:28.000Z
2022-01-14T02:31:21.000Z
Online Judges/URI/2343/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
1
2020-12-24T07:16:30.000Z
2021-03-23T20:51:05.000Z
Online Judges/URI/2343/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
19
2019-05-25T10:48:16.000Z
2022-01-07T10:07:46.000Z
#include <iostream> using namespace std; int main() { int t, x, y, flag = false, vet[1000][1000] = {0}; cin >> t; while(t--) { cin >> x >> y; if(!flag && vet[x][y] == 1) flag = true; vet[x][y] = 1; } if(flag) cout << 1 << endl; else cout << ...
15.772727
53
0.409222
AnneLivia
665a99b19c8f938f1889a8d7480d84add7512067
1,413
cpp
C++
src/omplapp/graphics/RenderGeometry.cpp
SZanlongo/omplapp
c56679337e2a71d266359450afbe63d700c0a666
[ "BSD-3-Clause" ]
null
null
null
src/omplapp/graphics/RenderGeometry.cpp
SZanlongo/omplapp
c56679337e2a71d266359450afbe63d700c0a666
[ "BSD-3-Clause" ]
null
null
null
src/omplapp/graphics/RenderGeometry.cpp
SZanlongo/omplapp
c56679337e2a71d266359450afbe63d700c0a666
[ "BSD-3-Clause" ]
1
2019-07-01T09:30:45.000Z
2019-07-01T09:30:45.000Z
/********************************************************************* * Rice University Software Distribution License * * Copyright (c) 2010, Rice University * All Rights Reserved. * * For a full description see the file named LICENSE. * *********************************************************************/ /* Author...
34.463415
129
0.669498
SZanlongo
665aeb9b094f370b68541d7d69904a7aacd9eda9
22,967
hpp
C++
backend/BplusTree/Bptree.hpp
XunZhiyang/TTRS
c417dc46a198ee248c1b712dc8a0780b55482358
[ "MIT" ]
null
null
null
backend/BplusTree/Bptree.hpp
XunZhiyang/TTRS
c417dc46a198ee248c1b712dc8a0780b55482358
[ "MIT" ]
3
2020-07-17T04:22:52.000Z
2021-10-05T22:11:08.000Z
backend/BplusTree/Bptree.hpp
XunZhiyang/TTRS
c417dc46a198ee248c1b712dc8a0780b55482358
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <cstdio> #include <cstring> #include <deque> #include <cassert> #include "./utility.hpp" #include "./exceptions.hpp" #ifndef BPTREE_HPP #define BPTREE_HPP namespace sjtu { /* * Attention : In this file I use std::pair & std::map * replace them with sjtu...
33.725404
98
0.399704
XunZhiyang
665d31b97ead22c6052fe619466bf238dc418496
7,990
cc
C++
CalibTracker/SiPixelESProducers/src/SiPixelROCsStatusAndMappingWrapper.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CalibTracker/SiPixelESProducers/src/SiPixelROCsStatusAndMappingWrapper.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CalibTracker/SiPixelESProducers/src/SiPixelROCsStatusAndMappingWrapper.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
// C++ includes #include <algorithm> #include <iomanip> #include <iostream> #include <vector> // CUDA includes #include <cuda_runtime.h> // CMSSW includes #include "CUDADataFormats/SiPixelCluster/interface/gpuClusteringConstants.h" #include "CalibTracker/SiPixelESProducers/interface/SiPixelROCsStatusAndMappingWrapper...
46.453488
118
0.658698
ckamtsikis
6662d1f125d58e10c0535921002a78a797923a68
1,147
cpp
C++
BTTH05/01/PS.cpp
MiMi-Yup/sharing
1a04a4fdd5e179bd5491725004931d0f71923262
[ "BSD-4-Clause-UC" ]
null
null
null
BTTH05/01/PS.cpp
MiMi-Yup/sharing
1a04a4fdd5e179bd5491725004931d0f71923262
[ "BSD-4-Clause-UC" ]
null
null
null
BTTH05/01/PS.cpp
MiMi-Yup/sharing
1a04a4fdd5e179bd5491725004931d0f71923262
[ "BSD-4-Clause-UC" ]
null
null
null
#include "PS.h" PS::PS(int tuso, int mauso) { this->tuso = tuso; this->mauso = mauso; } PS::PS(const PS& ps) { this->tuso = ps.tuso; this->mauso = ps.mauso; } int PS::UCLN(int a, int b) { while (a * b != 0) { if (a > b) { a %= b; } else { b %= a; } } return a + b; } istream& operator>>(istream& is...
16.867647
64
0.543156
MiMi-Yup
6665430965fdfd0db578199d98aacd16a0af9933
3,211
hpp
C++
fon9/io/SocketConfig.hpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
21
2019-01-29T14:41:46.000Z
2022-03-11T00:22:56.000Z
fon9/io/SocketConfig.hpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
null
null
null
fon9/io/SocketConfig.hpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
9
2019-01-27T14:19:33.000Z
2022-03-11T06:18:24.000Z
/// \file fon9/io/SocketConfig.hpp /// \author fonwinz@gmail.com #ifndef __fon9_io_SocketConfig_hpp__ #define __fon9_io_SocketConfig_hpp__ #include "fon9/io/IoBase.hpp" #include "fon9/io/SocketAddress.hpp" namespace fon9 { namespace io { fon9_WARN_DISABLE_PADDING; /// \ingroup io /// Socket 基本參數. struct fon9_API Soc...
32.434343
93
0.628153
fonwin
666608b573eaf85c06b6e48c804cd76e24ba1785
1,543
cxx
C++
Code/Dashboard/bmScriptDashboardKeyAction.cxx
NIRALUser/BatchMake
1afeb15fa5bd18be6e4a56f4349eb6368a91441e
[ "Unlicense" ]
null
null
null
Code/Dashboard/bmScriptDashboardKeyAction.cxx
NIRALUser/BatchMake
1afeb15fa5bd18be6e4a56f4349eb6368a91441e
[ "Unlicense" ]
null
null
null
Code/Dashboard/bmScriptDashboardKeyAction.cxx
NIRALUser/BatchMake
1afeb15fa5bd18be6e4a56f4349eb6368a91441e
[ "Unlicense" ]
null
null
null
/*========================================================================= Program: BatchMake Module: bmScriptDashboardKeyAction.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2005 Insight Consortium. All rights reserved. See ITKCopyright.txt or http://www.itk.org/HTML/Cop...
23.738462
80
0.646792
NIRALUser
6669dc244a2317eda8e4323d4e94150abb79e048
12,095
cpp
C++
Source/spells.cpp
nomdenom/devilution
98a0692d14f338dc8f509c8424cab1ee6067a950
[ "Unlicense" ]
4
2018-09-24T17:02:21.000Z
2021-05-27T08:42:50.000Z
Source/spells.cpp
nomdenom/devilution
98a0692d14f338dc8f509c8424cab1ee6067a950
[ "Unlicense" ]
null
null
null
Source/spells.cpp
nomdenom/devilution
98a0692d14f338dc8f509c8424cab1ee6067a950
[ "Unlicense" ]
null
null
null
//HEADER_GOES_HERE #include "../types.h" SpellData spelldata[MAX_SPELLS] = { { 0, 0, 0, NULL, NULL, 0, 0, FALSE, FALSE, 0, 0, { 0, 0, 0 }, 0, 0, 40, 80, 0, 0 }, { SPL_FIREBOLT, 6, STYPE_FIRE, "Firebolt", "Firebolt", 1, 1, TRUE, FALSE, 15, IS_CAST2, { MIS_FIREBOLT, 0, 0 }, 1, 3, 40, 80, 1000, 50 }, ...
38.275316
154
0.518561
nomdenom
666b7b7e6178d193ed53e9af879004db7faf907d
3,228
hpp
C++
engine/src/utility/command.hpp
Sidharth-S-S/cloe
974ef649e7dc6ec4e6869e4cf690c5b021e5091e
[ "Apache-2.0" ]
20
2020-07-07T18:28:35.000Z
2022-03-21T04:35:28.000Z
engine/src/utility/command.hpp
Sidharth-S-S/cloe
974ef649e7dc6ec4e6869e4cf690c5b021e5091e
[ "Apache-2.0" ]
46
2021-01-20T10:13:09.000Z
2022-03-29T12:27:19.000Z
engine/src/utility/command.hpp
Sidharth-S-S/cloe
974ef649e7dc6ec4e6869e4cf690c5b021e5091e
[ "Apache-2.0" ]
12
2021-01-25T08:01:24.000Z
2021-07-27T10:09:53.000Z
/* * Copyright 2020 Robert Bosch GmbH * * 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 agre...
27.827586
83
0.701673
Sidharth-S-S
6672b3d702a814770de7ce50c8eab0494da22fe4
575
cpp
C++
C Programming/Insertion Sort/main.cpp
NanoCode012/ITStep
21807b6bcd564c9ed490e4af70954bff9a5d698d
[ "MIT" ]
5
2019-10-23T13:22:18.000Z
2022-02-04T18:36:00.000Z
C Programming/Insertion Sort/main.cpp
NanoCode012/ITStep
21807b6bcd564c9ed490e4af70954bff9a5d698d
[ "MIT" ]
null
null
null
C Programming/Insertion Sort/main.cpp
NanoCode012/ITStep
21807b6bcd564c9ed490e4af70954bff9a5d698d
[ "MIT" ]
3
2018-05-23T04:16:52.000Z
2021-12-19T14:56:00.000Z
#include <iostream> using namespace std; int main(){ const int length = 6; int nums[length] = { 6, 0, 10, 33, 7, 2}; /* 6, 0, 10 */ int x, j; for (int i = 0; i < length; i++) { x = nums[i]; j = i - 1;//0 while(j >= 0) { if (nums[j] > x) ...
16.911765
45
0.333913
NanoCode012
6677b144cba7b00227dccdf458f7ea20eb83da56
2,245
cpp
C++
LayerManagerBase/tests/ShaderProgramTest.cpp
SanctuaryComponents/layer_management
d3927a6ae5e6c9230d55b6ba4195d434586521c1
[ "Apache-2.0" ]
1
2020-10-21T05:24:10.000Z
2020-10-21T05:24:10.000Z
LayerManagerBase/tests/ShaderProgramTest.cpp
SanctuaryComponents/layer_management
d3927a6ae5e6c9230d55b6ba4195d434586521c1
[ "Apache-2.0" ]
null
null
null
LayerManagerBase/tests/ShaderProgramTest.cpp
SanctuaryComponents/layer_management
d3927a6ae5e6c9230d55b6ba4195d434586521c1
[ "Apache-2.0" ]
null
null
null
/*************************************************************************** * * Copyright 2010,2011 BMW Car IT GmbH * * * 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...
17.539063
95
0.679733
SanctuaryComponents
6678da66a2f24c7fc81b1bfb93c40b0ad6139e3f
1,742
cpp
C++
Dialogs/blurdialog.cpp
kalpanki/ocvGUI
9fc1f2278b414c316f091e1de5a4b1c4e3695ee9
[ "BSD-2-Clause" ]
2
2019-08-21T13:37:51.000Z
2019-10-18T01:39:53.000Z
Dialogs/blurdialog.cpp
kalpanki/ocvGUI
9fc1f2278b414c316f091e1de5a4b1c4e3695ee9
[ "BSD-2-Clause" ]
null
null
null
Dialogs/blurdialog.cpp
kalpanki/ocvGUI
9fc1f2278b414c316f091e1de5a4b1c4e3695ee9
[ "BSD-2-Clause" ]
null
null
null
#include "blurdialog.h" #include "ui_blurdialog.h" #include <iostream> using namespace std; BlurDialog::BlurDialog(QWidget *parent) : QDialog(parent), ui(new Ui::BlurDialog) { ui->setupUi(this); this->currentIndex = ui->BlurComboBox->currentIndex(); this->kernelH = ui->kernelHeightSpinBox->value();...
26.393939
83
0.730195
kalpanki
667976e24f139ddb0d10d6c3f056d5374a2ccee1
5,484
hpp
C++
test/test-200-types/include/test-develop.hpp
Kartonagnick/tools-types
4b3a697e579050eade081b82f9b96309fea8f5e7
[ "MIT" ]
null
null
null
test/test-200-types/include/test-develop.hpp
Kartonagnick/tools-types
4b3a697e579050eade081b82f9b96309fea8f5e7
[ "MIT" ]
49
2021-02-20T12:08:15.000Z
2021-05-07T19:59:08.000Z
test/test-200-types/include/test-develop.hpp
Kartonagnick/tools-types
4b3a697e579050eade081b82f9b96309fea8f5e7
[ "MIT" ]
null
null
null
// [2021y-03m-10d][12:46:41] Idrisov Denis R. #pragma once #ifndef dTEST_DEVELOP_USED_ #define dTEST_DEVELOP_USED_ 1 #define CODE_GENERATION_ON #define INCLUDE_AUTO_GENERATED // #define INCLUDE_STRESS_TESTS #define INCLUDE_LONG_LONG_TESTS #define INCLUDE_LONG_TESTS //============================...
58.340426
80
0.398432
Kartonagnick
6679f862eee8a9781371e0560ee2865749dd8c06
5,707
cpp
C++
Program Launcher/CCategory.cpp
barty32/program-launcher
f29277dda09f753e39258ff17af3b8c15d2504dc
[ "MIT" ]
null
null
null
Program Launcher/CCategory.cpp
barty32/program-launcher
f29277dda09f753e39258ff17af3b8c15d2504dc
[ "MIT" ]
null
null
null
Program Launcher/CCategory.cpp
barty32/program-launcher
f29277dda09f753e39258ff17af3b8c15d2504dc
[ "MIT" ]
null
null
null
// // _ // ___ __ _| |_ ___ __ _ ___ _ __ _ _ ___ _ __ _ __ // / __/ _` | __/ _ \/ _` |/ _ \| '__| | | | / __| '_ \| '_ \ // | (_| (_| | || __/ (_| | (_) | | | |_| || (__| |_) | |_) | // \___\__,_|\__\___|\__, |\___/|_| \__, (_)___| .__/| .__...
25.823529
192
0.686175
barty32
6681d9c5ac2bcd7d2b0e12df0c49bf20e41d3d09
8,724
cpp
C++
Jx3Full/Source/Source/Tools/SceneEditor/KSceneDataFlowEditorDefineDialog.cpp
RivenZoo/FullSource
cfd7fd7ad422fd2dae5d657a18839c91ff9521fd
[ "MIT" ]
2
2021-07-31T15:35:01.000Z
2022-02-28T05:54:54.000Z
Jx3Full/Source/Source/Tools/SceneEditor/KSceneDataFlowEditorDefineDialog.cpp
RivenZoo/FullSource
cfd7fd7ad422fd2dae5d657a18839c91ff9521fd
[ "MIT" ]
null
null
null
Jx3Full/Source/Source/Tools/SceneEditor/KSceneDataFlowEditorDefineDialog.cpp
RivenZoo/FullSource
cfd7fd7ad422fd2dae5d657a18839c91ff9521fd
[ "MIT" ]
5
2021-02-03T10:25:39.000Z
2022-02-23T07:08:37.000Z
// KSceneDataFlowEditorDefineDialog.cpp : implementation file // #include "stdafx.h" #include "SceneEditor.h" #include "KSceneDataFlowEditorDefineDialog.h" #include "IEEditor.h" // KSceneDataFlowEditorDefineDialog dialog IMPLEMENT_DYNAMIC(KSceneDataFlowEditorDefineDialog, CDialog) KSceneDataFlowEditorDe...
26.436364
119
0.755273
RivenZoo
6682ad244c2bee9a0251cff2761fa395fef5ab07
1,529
hpp
C++
Parallel/OMPFor.hpp
DLancer999/SPHSimulator
4f2f3a29d9769e62a9cae3d036b3e09dac99e305
[ "MIT" ]
null
null
null
Parallel/OMPFor.hpp
DLancer999/SPHSimulator
4f2f3a29d9769e62a9cae3d036b3e09dac99e305
[ "MIT" ]
null
null
null
Parallel/OMPFor.hpp
DLancer999/SPHSimulator
4f2f3a29d9769e62a9cae3d036b3e09dac99e305
[ "MIT" ]
1
2022-02-03T08:21:46.000Z
2022-02-03T08:21:46.000Z
/*************************************************************************\ License Copyright (c) 2018 Kavvadias Ioannis. This file is part of SPHSimulator. Licensed under the MIT License. See LICENSE file in the project root for full license information. Description Utility functions...
22.485294
77
0.606279
DLancer999
66859ef16719a2f95515aca56dac0dbb358934ab
9,563
cc
C++
src/libraries/JANA/Engine/JArrowProcessingController.cc
andrea-celentano/JANA2
84a07a432a3d216bfc45ebf9b391b572bf88addf
[ "Apache-2.0" ]
null
null
null
src/libraries/JANA/Engine/JArrowProcessingController.cc
andrea-celentano/JANA2
84a07a432a3d216bfc45ebf9b391b572bf88addf
[ "Apache-2.0" ]
null
null
null
src/libraries/JANA/Engine/JArrowProcessingController.cc
andrea-celentano/JANA2
84a07a432a3d216bfc45ebf9b391b572bf88addf
[ "Apache-2.0" ]
null
null
null
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // Jefferson Science Associates LLC Copyright Notice: // // Copyright 251 2014 Jefferson Science Associates LLC All Rights Reserved. Redistribution // and use in source and binary forms, with or without modification, are...
39.680498
122
0.685977
andrea-celentano
6686952c1868d5c1fb0527d6e7e8644b65d4a8a1
162
cpp
C++
Samples/exception.cpp
mahdialikhasi/Advanced-Programming
0ece123e6442e5e844f657e5ea2ca9de00d5c734
[ "CC0-1.0" ]
null
null
null
Samples/exception.cpp
mahdialikhasi/Advanced-Programming
0ece123e6442e5e844f657e5ea2ca9de00d5c734
[ "CC0-1.0" ]
null
null
null
Samples/exception.cpp
mahdialikhasi/Advanced-Programming
0ece123e6442e5e844f657e5ea2ca9de00d5c734
[ "CC0-1.0" ]
null
null
null
#include <iostream> using namespace std; int main(){ try{ throw 100; }catch(int a){ }catch(double b){ }catch(type1 c){ throw; //rethrow } return 0; }
10.8
20
0.623457
mahdialikhasi
668e69b9e9b7359e1b7cfa83bc97c3e5e3de540c
11,307
cpp
C++
symbol_utf8/symbol_utf8.cpp
xloem/Blessings
7ac5021fea2bbe30bd1f358eec1983edb4405bde
[ "MIT" ]
null
null
null
symbol_utf8/symbol_utf8.cpp
xloem/Blessings
7ac5021fea2bbe30bd1f358eec1983edb4405bde
[ "MIT" ]
null
null
null
symbol_utf8/symbol_utf8.cpp
xloem/Blessings
7ac5021fea2bbe30bd1f358eec1983edb4405bde
[ "MIT" ]
null
null
null
#include "symbol_utf8.hpp" #include "symbol_utf8_impl.hpp" #include <string> #include <iostream> #include <cstring> #include <cstdio> #include <cstdint> using namespace std; namespace blessings { const SymbolUTF8 SymbolUTF8::space({static_cast<char>(0x20)}); SymbolUTF8::SymbolUTF8(char c) noexcept { if (c&0...
25.933486
92
0.592819
xloem
668ef2606a04d1775e3bb6ee94354c5af262c4d4
14,595
hpp
C++
3rdparty/GPSTk/core/lib/GNSSCore/TropModel.hpp
mfkiwl/ICE
e660d031bb1bcea664db1de4946fd8781be5b627
[ "MIT" ]
50
2019-10-12T01:22:20.000Z
2022-02-15T23:28:26.000Z
3rdparty/GPSTk/core/lib/GNSSCore/TropModel.hpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
null
null
null
3rdparty/GPSTk/core/lib/GNSSCore/TropModel.hpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
14
2019-11-05T01:50:29.000Z
2021-08-06T06:23:44.000Z
//============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published // by the Free Software Foundation; ei...
44.769939
94
0.631381
mfkiwl
66918d61796c614b40c09fb2f4acc3bec8467315
13,225
cpp
C++
modules/variants/discovery/branch.cpp
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
16
2021-07-14T23:32:31.000Z
2022-03-24T16:25:15.000Z
modules/variants/discovery/branch.cpp
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
9
2021-07-20T20:39:47.000Z
2021-09-16T20:57:59.000Z
modules/variants/discovery/branch.cpp
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
9
2021-07-15T19:38:35.000Z
2022-01-31T19:24:56.000Z
#include "modules/variants/discovery/branch.h" #include "modules/variants/discovery/path.h" #include "modules/variants/discovery/rejoin.h" #include "modules/variants/discovery/view.h" namespace variants { namespace discovery { static constexpr bool k_dbg = false; search_result branch_search_entry::search(branch* br)...
31.264775
100
0.664726
spiralgenetics
66965d15808e8f0b412b06866e9adb3e76a5d424
1,352
hpp
C++
include/cmn/rect.hpp
InsaneHamster/ihamster
0f09e7eec3dff68ba7c2e899b03fd75940d3e242
[ "MIT" ]
1
2018-01-28T14:10:26.000Z
2018-01-28T14:10:26.000Z
include/cmn/rect.hpp
InsaneHamster/ihamster
0f09e7eec3dff68ba7c2e899b03fd75940d3e242
[ "MIT" ]
null
null
null
include/cmn/rect.hpp
InsaneHamster/ihamster
0f09e7eec3dff68ba7c2e899b03fd75940d3e242
[ "MIT" ]
null
null
null
#pragma once #include "point.hpp" namespace cmn { template< typename T, int D > struct rect_tt { typedef T value_type; static int const dimension = D; typedef point_tt<T,D> point_t; point_t origin; point_t size; }; t...
30.727273
171
0.545118
InsaneHamster
669bafa4c0de44b6196066a110b025bed518d007
33
cpp
C++
src/Qt5Sql/QSqlDriverCreator.cpp
dafrito/luacxx
278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad
[ "MIT" ]
128
2015-01-07T19:47:09.000Z
2022-01-22T19:42:14.000Z
src/Qt5Sql/QSqlDriverCreator.cpp
dafrito/luacxx
278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad
[ "MIT" ]
null
null
null
src/Qt5Sql/QSqlDriverCreator.cpp
dafrito/luacxx
278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad
[ "MIT" ]
24
2015-01-07T19:47:10.000Z
2022-01-25T17:42:37.000Z
#include "QSqlDriverCreator.hpp"
16.5
32
0.818182
dafrito
669cbac0cbdd5507c183a99e9fda1953d9dae3ef
776
cpp
C++
src/algorithms/warmup/plus_minus/plus_minus.cpp
bmgandre/hackerrank-cpp
f4af5777afba233c284790e02c0be7b82108c677
[ "MIT" ]
null
null
null
src/algorithms/warmup/plus_minus/plus_minus.cpp
bmgandre/hackerrank-cpp
f4af5777afba233c284790e02c0be7b82108c677
[ "MIT" ]
null
null
null
src/algorithms/warmup/plus_minus/plus_minus.cpp
bmgandre/hackerrank-cpp
f4af5777afba233c284790e02c0be7b82108c677
[ "MIT" ]
null
null
null
#include "plus_minus.h" #include <iostream> #include <iomanip> #include <string> using namespace hackerrank::bmgandre::algorithms::warmup; /// Practice>Algorithms>Warmup>Plus Minus /// /// https://www.hackerrank.com/challenges/plus-minus void plus_minus::solve() { auto count = 0; std::cin >> count; auto negatives...
24.25
82
0.614691
bmgandre
669cc5e4f3a9e7f8e4f12deff9f86a68bb64a9c6
6,403
cpp
C++
cpp/oneapi/dal/table/backend/interop/host_csr_table_adapter.cpp
cmsxbc/oneDAL
eeb8523285907dc359c84ca4894579d5d1d9f57e
[ "Apache-2.0" ]
188
2016-04-16T12:11:48.000Z
2018-01-12T12:42:55.000Z
cpp/oneapi/dal/table/backend/interop/host_csr_table_adapter.cpp
cmsxbc/oneDAL
eeb8523285907dc359c84ca4894579d5d1d9f57e
[ "Apache-2.0" ]
1,198
2020-03-24T17:26:18.000Z
2022-03-31T08:06:15.000Z
cpp/oneapi/dal/table/backend/interop/host_csr_table_adapter.cpp
cmsxbc/oneDAL
eeb8523285907dc359c84ca4894579d5d1d9f57e
[ "Apache-2.0" ]
93
2018-01-23T01:59:23.000Z
2020-03-16T11:04:19.000Z
/******************************************************************************* * Copyright 2021 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.o...
41.309677
100
0.634702
cmsxbc
66a043db9a0fe52d8c8ab13abe86d1b9e0e5c8ad
3,648
cpp
C++
src/GUI/FileIO.cpp
davidgreisler/four-in-a-line
a21014e926df30359365d76510c64665e49096e3
[ "MIT" ]
4
2015-01-18T09:33:30.000Z
2019-02-28T12:00:09.000Z
src/GUI/FileIO.cpp
davidgreisler/four-in-a-line
a21014e926df30359365d76510c64665e49096e3
[ "MIT" ]
null
null
null
src/GUI/FileIO.cpp
davidgreisler/four-in-a-line
a21014e926df30359365d76510c64665e49096e3
[ "MIT" ]
null
null
null
#include "FileIO.hpp" #include <QFile> #include <QTextStream> #include <QFileDialog> #include <QMessageBox> namespace GUI { /** * Opens the file with the given filename, reads the whole file and stores it in content. * * @param parentWidget Parent widget. * @param fileName File name/path of the file. * @param c...
26.627737
100
0.714638
davidgreisler
66a3907f117317eee1f35f0f5fb23e9a043976ce
12,026
cpp
C++
graphics_test/graphics_test/src/ngl/rhi/d3d12/rhi_util.d3d12.cpp
nagakagachi/sample_projct
300fcdaf65a009874ce1964a64682aeb6a6ef82e
[ "MIT" ]
null
null
null
graphics_test/graphics_test/src/ngl/rhi/d3d12/rhi_util.d3d12.cpp
nagakagachi/sample_projct
300fcdaf65a009874ce1964a64682aeb6a6ef82e
[ "MIT" ]
null
null
null
graphics_test/graphics_test/src/ngl/rhi/d3d12/rhi_util.d3d12.cpp
nagakagachi/sample_projct
300fcdaf65a009874ce1964a64682aeb6a6ef82e
[ "MIT" ]
null
null
null
 #include "rhi_util.d3d12.h" namespace ngl { namespace rhi { DXGI_FORMAT ConvertResourceFormat(ResourceFormat v) { static DXGI_FORMAT table[] = { DXGI_FORMAT_UNKNOWN, DXGI_FORMAT_R32G32B32A32_TYPELESS, DXGI_FORMAT_R32G32B32A32_FLOAT, DXGI_FORMAT_R32G32B32A32_UINT, DXGI_FORMAT_R32G32B...
23.580392
85
0.741144
nagakagachi
66a8a7065e80701be0a3391c258ec0d71bbec9f2
1,219
cpp
C++
Sources/Graphics/GUILib/Qt5Example/QtJsonTree.cpp
wurui1994/test
027cef75f98dbb252b322113dacd4a9a6997d84f
[ "MIT" ]
27
2017-12-19T09:15:36.000Z
2021-07-30T13:02:00.000Z
Sources/Graphics/GUILib/Qt5Example/QtJsonTree.cpp
wurui1994/test
027cef75f98dbb252b322113dacd4a9a6997d84f
[ "MIT" ]
null
null
null
Sources/Graphics/GUILib/Qt5Example/QtJsonTree.cpp
wurui1994/test
027cef75f98dbb252b322113dacd4a9a6997d84f
[ "MIT" ]
29
2018-04-10T13:25:54.000Z
2021-12-24T01:51:03.000Z
#include <QtCore> class JsonTree:public QJsonObject { public: JsonTree(QJsonDocument const& doc) { object = doc.object(); } JsonTree(QJsonObject const& obj) { object = obj; } JsonTree(QString const& str) { string = str; object = QJsonDocument::fromJson(str.toUtf8()).object(); } ...
17.414286
89
0.589828
wurui1994
66b1d6d3b8ea244167c0ceea8f4c35246154bd61
1,071
cc
C++
epi/tree_with_parent_inorder.cc
Vasniktel/interview-problems
ab901397194c81debe8c964fca097287466c9c27
[ "MIT" ]
null
null
null
epi/tree_with_parent_inorder.cc
Vasniktel/interview-problems
ab901397194c81debe8c964fca097287466c9c27
[ "MIT" ]
null
null
null
epi/tree_with_parent_inorder.cc
Vasniktel/interview-problems
ab901397194c81debe8c964fca097287466c9c27
[ "MIT" ]
null
null
null
#include <vector> #include "binary_tree_with_parent_prototype.h" #include "test_framework/generic_test.h" using std::vector; vector<int> InorderTraversal(const unique_ptr<BinaryTreeNode<int>>& tree) { if (!tree) return {}; vector<int> result; for (auto node = tree.get();;) { if (node->left) node = node->lef...
26.121951
75
0.594771
Vasniktel
66b67c2affc8a6f7db4583a13eaf253b5d9edb44
943
cpp
C++
BMCP/Coloring.cpp
TomaszRewak/BMCP
99e94b11f70658d9b8de792b36af7ecbb215d665
[ "MIT" ]
2
2019-11-04T15:09:52.000Z
2022-01-12T05:41:16.000Z
BMCP/Coloring.cpp
TomaszRewak/BMCP
99e94b11f70658d9b8de792b36af7ecbb215d665
[ "MIT" ]
null
null
null
BMCP/Coloring.cpp
TomaszRewak/BMCP
99e94b11f70658d9b8de792b36af7ecbb215d665
[ "MIT" ]
1
2020-09-09T12:24:35.000Z
2020-09-09T12:24:35.000Z
// ======================================== // ======= Created by Tomasz Rewak ======== // ======================================== // ==== https://github.com/TomaszRewak ==== // ======================================== #include "Coloring.h" namespace BMCP { size_t Coloring::size() { return genotype.size(); } ...
20.955556
69
0.498409
TomaszRewak
66b6c0c945523ad16100001e06698e0eeed87762
3,496
hpp
C++
src/includes/utils.hpp
WillBlack403/ZKP-onehot
42119353c6dfe3970267de1cb53d537854671f14
[ "MIT" ]
null
null
null
src/includes/utils.hpp
WillBlack403/ZKP-onehot
42119353c6dfe3970267de1cb53d537854671f14
[ "MIT" ]
null
null
null
src/includes/utils.hpp
WillBlack403/ZKP-onehot
42119353c6dfe3970267de1cb53d537854671f14
[ "MIT" ]
null
null
null
/*Author: William Black, * Ryan Henry *Email: william.black@ucalgary.ca, * ryan.henry@ucalgary.ca *Date: 2019/06/28 *Project: Proof Of Concept for: There are 10 Types of Vectors (and Polynomials) *File:utils.hpp * Contains function declations of utility functions used in this project. */ #ifndef...
29.880342
152
0.741419
WillBlack403
66ba586ba3c57343ffa3c0dd543a2a312e372c85
2,362
cpp
C++
Sources/Sound/AudioWorld/audio_world.cpp
xctan/ClanLib
1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d
[ "Linux-OpenIB" ]
248
2015-01-08T05:21:40.000Z
2022-03-20T02:59:16.000Z
Sources/Sound/AudioWorld/audio_world.cpp
xctan/ClanLib
1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d
[ "Linux-OpenIB" ]
39
2015-01-14T17:37:07.000Z
2022-03-17T12:59:26.000Z
Sources/Sound/AudioWorld/audio_world.cpp
xctan/ClanLib
1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d
[ "Linux-OpenIB" ]
82
2015-01-11T13:23:49.000Z
2022-02-19T03:17:24.000Z
#include "Sound/precomp.h" #include "API/Sound/AudioWorld/audio_world.h" #include "API/Sound/AudioWorld/audio_object.h" #include "API/Sound/soundbuffer.h" #include "API/Core/Math/cl_math.h" #include "audio_world_impl.h" #include "audio_object_impl.h" namespace clan { AudioWorld::AudioWorld(const ResourceManager &res...
24.350515
87
0.680779
xctan
66bb66a9cf268215f33f68579a760896dacc4bca
7,093
cpp
C++
file_util.cpp
LANL-Bioinformatics/BIGSI-
ccf1b1878b10f40ab475499aadcdb7c238e257e1
[ "BSD-3-Clause" ]
2
2020-03-12T19:11:56.000Z
2020-05-01T03:11:03.000Z
file_util.cpp
LANL-Bioinformatics/BIGSI-
ccf1b1878b10f40ab475499aadcdb7c238e257e1
[ "BSD-3-Clause" ]
null
null
null
file_util.cpp
LANL-Bioinformatics/BIGSI-
ccf1b1878b10f40ab475499aadcdb7c238e257e1
[ "BSD-3-Clause" ]
1
2020-12-11T22:04:56.000Z
2020-12-11T22:04:56.000Z
#include "file_util.h" #include "ifind.h" #include <algorithm> #include <sys/types.h> #include <sys/stat.h> #include <dirent.h> #include <ctype.h> #include <string.h> #include <unistd.h> using namespace std; // Return true if the directory exists or if we can // create it. Return false otherwise. bool make_dir(cons...
20.55942
90
0.649514
LANL-Bioinformatics
66bc56f7df16843d341047d9847c3515a847edd2
2,887
cc
C++
daemon/runtime.cc
cgvarela/memcached
493a2ed939e87d18eb368f17bec5b948701e9d2d
[ "BSD-3-Clause" ]
null
null
null
daemon/runtime.cc
cgvarela/memcached
493a2ed939e87d18eb368f17bec5b948701e9d2d
[ "BSD-3-Clause" ]
null
null
null
daemon/runtime.cc
cgvarela/memcached
493a2ed939e87d18eb368f17bec5b948701e9d2d
[ "BSD-3-Clause" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2015 Couchbase, 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://w...
29.459184
80
0.66124
cgvarela
66bf1efd3a0bed608491a19bc7320a774df752dd
2,732
cpp
C++
RUNETag/WinNTL/tests/LLLTest.cpp
vshesh/RUNEtag
800e93fb7c0560ea5a6261ffc60c02638a8cc8c9
[ "MIT" ]
null
null
null
RUNETag/WinNTL/tests/LLLTest.cpp
vshesh/RUNEtag
800e93fb7c0560ea5a6261ffc60c02638a8cc8c9
[ "MIT" ]
null
null
null
RUNETag/WinNTL/tests/LLLTest.cpp
vshesh/RUNEtag
800e93fb7c0560ea5a6261ffc60c02638a8cc8c9
[ "MIT" ]
null
null
null
#include <NTL/LLL.h> NTL_CLIENT int main() { mat_ZZ B; long s; #if 1 cin >> B; #else long i, j; long n; cerr << "n: "; cin >> n; long m; cerr << "m: "; cin >> m; long k; cerr << "k: "; cin >> k; B.SetDims(n, m); for (i = 1; i <= n; i++) for (j = 1; j <= m; j++) ...
19.514286
50
0.424597
vshesh
66c21c06dc026017e81dd6afcfd53b9af551b1f6
1,147
cpp
C++
lib/io/src/swap.cpp
solosTec/cyng
3862a6b7a2b536d1f00fef20700e64170772dcff
[ "MIT" ]
null
null
null
lib/io/src/swap.cpp
solosTec/cyng
3862a6b7a2b536d1f00fef20700e64170772dcff
[ "MIT" ]
null
null
null
lib/io/src/swap.cpp
solosTec/cyng
3862a6b7a2b536d1f00fef20700e64170772dcff
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * Copyright (c) 2018 Sylko Olzscher * */ #include <cyng/io/swap.h> namespace cyng { std::uint16_t swap_num(std::uint16_t val) { return (val << 8) | (val >> 8); } std::int16_t swap_num(std::int16_t val) { return (val << 8) | ((val >> 8) & 0xFF); } std::uint32_t swap...
22.94
86
0.571055
solosTec
66c246c4647f2dbd2187208abb958a23893de699
22,785
cpp
C++
rqt_gps_rtk_plugin/src/rqt_gps_rtk_plugin/GpsRtkPlugin.cpp
fm-uulm/ethz_piksi_ros
a228dc3bfb29266897c2bb38bdfb098ac475ffa0
[ "BSD-3-Clause" ]
65
2018-01-03T21:58:56.000Z
2022-03-09T22:02:33.000Z
rqt_gps_rtk_plugin/src/rqt_gps_rtk_plugin/GpsRtkPlugin.cpp
fm-uulm/ethz_piksi_ros
a228dc3bfb29266897c2bb38bdfb098ac475ffa0
[ "BSD-3-Clause" ]
138
2017-11-30T15:46:26.000Z
2022-02-22T06:57:53.000Z
rqt_gps_rtk_plugin/src/rqt_gps_rtk_plugin/GpsRtkPlugin.cpp
fm-uulm/ethz_piksi_ros
a228dc3bfb29266897c2bb38bdfb098ac475ffa0
[ "BSD-3-Clause" ]
86
2017-12-06T19:32:55.000Z
2022-03-29T17:57:26.000Z
#include <rqt_gps_rtk_plugin/GpsRtkPlugin.hpp> #include <rqt_gps_rtk_plugin/GpsRtkPluginThreads.hpp> // Qt #include <QStringList> // std #include <math.h> #include <pthread.h> #include <functional> #include <memory> GpsRtkPlugin::GpsRtkPlugin() : rqt_gui_cpp::Plugin(), widget_(0), timeFirstSampleMov...
39.903678
226
0.592188
fm-uulm
66c338b089efe6c614fb526cd5fa0e7984738317
51
cpp
C++
src/RefCore/Var.cpp
sppp/TheoremProver
efd583bc78e8fa93f6946def5f6af77001d01763
[ "BSD-3-Clause" ]
null
null
null
src/RefCore/Var.cpp
sppp/TheoremProver
efd583bc78e8fa93f6946def5f6af77001d01763
[ "BSD-3-Clause" ]
null
null
null
src/RefCore/Var.cpp
sppp/TheoremProver
efd583bc78e8fa93f6946def5f6af77001d01763
[ "BSD-3-Clause" ]
null
null
null
#include "RefCore.h" namespace RefCore { }
8.5
21
0.607843
sppp
66c889f150ecfffe511b6cd69f485e795db892a1
1,342
cpp
C++
server/homeserver/network/json/JsonApi.Core.cpp
williamkoehler/home-server
ce99af73ea2e53fea3939fe0c4442433e65ac670
[ "MIT" ]
1
2021-07-05T21:11:59.000Z
2021-07-05T21:11:59.000Z
server/homeserver/network/json/JsonApi.Core.cpp
williamkoehler/home-server
ce99af73ea2e53fea3939fe0c4442433e65ac670
[ "MIT" ]
null
null
null
server/homeserver/network/json/JsonApi.Core.cpp
williamkoehler/home-server
ce99af73ea2e53fea3939fe0c4442433e65ac670
[ "MIT" ]
null
null
null
#include "JsonApi.hpp" #include "../../Core.hpp" #include "../../tools/EMail.hpp" namespace server { // Core void JsonApi::BuildJsonSettings(const Ref<User>& user, rapidjson::Value& output, rapidjson::Document::AllocatorType& allocator) { assert(output.IsObject()); // Core settings { rapidjson::Value core...
24.851852
128
0.697466
williamkoehler
66c9e7bb67a6e27cfea4b72d827ad9fc7ce1b116
6,210
cpp
C++
src/base/ossimCsvFile.cpp
vladislav-horbatiuk/ossim
82417ad868fac022672335e1684bdd91d662c18c
[ "MIT" ]
251
2015-10-20T09:08:11.000Z
2022-03-22T18:16:38.000Z
src/base/ossimCsvFile.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
73
2015-11-02T17:12:36.000Z
2021-11-15T17:41:47.000Z
src/base/ossimCsvFile.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
146
2015-10-15T16:00:15.000Z
2022-03-22T12:37:14.000Z
#include <ossim/base/ossimCsvFile.h> #include <iostream> #include <iterator> static const ossim_uint32 DEFAULT_BUFFER_SIZE = 1024; ossim_int32 ossimCsvFile::INVALID_INDEX = -1; static std::istream& csvSkipWhiteSpace(std::istream& in) { int c = in.peek(); while(!in.fail()&& ( (c == ' ')||(c == '\t')||(c == '\n')|...
22.099644
87
0.554267
vladislav-horbatiuk
66cb1a9278851d2d9dc166e3c1f28165679a8dbc
309
hpp
C++
r0 - hardware testing code/src/aqua_inputs.hpp
Tassany/projeto_aquaponia_fablab
1973b9a74fd929ac445f95d1dda4cf0381c0c1cf
[ "MIT" ]
null
null
null
r0 - hardware testing code/src/aqua_inputs.hpp
Tassany/projeto_aquaponia_fablab
1973b9a74fd929ac445f95d1dda4cf0381c0c1cf
[ "MIT" ]
null
null
null
r0 - hardware testing code/src/aqua_inputs.hpp
Tassany/projeto_aquaponia_fablab
1973b9a74fd929ac445f95d1dda4cf0381c0c1cf
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <SPI.h> #include <aqua_pins.hpp> uint8_t aqua_inputs() { digitalWrite(AQ_PIN_PL, true); SPI.beginTransaction(SPISettings(1000000, MSBFIRST, SPI_MODE2)); uint8_t data = SPI.transfer(0); SPI.endTransaction(); digitalWrite(AQ_PIN_PL, false); return data; }
23.769231
68
0.705502
Tassany
66cbb6525540e5091d6eb0ed00a16e7753948acc
10,463
cc
C++
src/vt/vrt/collection/balance/stats_restart_reader.cc
rbuch/vt
74c2e0cae3201dfbcbfda7644c354703ddaed6bb
[ "BSD-3-Clause" ]
26
2019-11-26T08:36:15.000Z
2022-02-15T17:13:21.000Z
src/vt/vrt/collection/balance/stats_restart_reader.cc
rbuch/vt
74c2e0cae3201dfbcbfda7644c354703ddaed6bb
[ "BSD-3-Clause" ]
1,215
2019-09-09T14:31:33.000Z
2022-03-30T20:20:14.000Z
src/vt/vrt/collection/balance/stats_restart_reader.cc
rbuch/vt
74c2e0cae3201dfbcbfda7644c354703ddaed6bb
[ "BSD-3-Clause" ]
12
2019-09-08T00:03:05.000Z
2022-02-23T21:28:35.000Z
/* //@HEADER // ***************************************************************************** // // stats_restart_reader.cc // DARMA/vt => Virtual Transport // // Copyright 2019-2021 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of...
34.531353
81
0.684985
rbuch
66cc0f3b846b4a8720da090292c610a1779841ca
6,876
cc
C++
lite/kernels/arm/box_coder_compute.cc
shentanyue/Paddle-Lite
c6baab724c9047c3e9809db3fc24b7a2b5ca26a2
[ "Apache-2.0" ]
1
2022-01-27T07:34:50.000Z
2022-01-27T07:34:50.000Z
lite/kernels/arm/box_coder_compute.cc
shentanyue/Paddle-Lite
c6baab724c9047c3e9809db3fc24b7a2b5ca26a2
[ "Apache-2.0" ]
1
2021-05-26T05:19:38.000Z
2021-05-26T05:19:38.000Z
lite/kernels/arm/box_coder_compute.cc
shentanyue/Paddle-Lite
c6baab724c9047c3e9809db3fc24b7a2b5ca26a2
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
36.967742
75
0.528069
shentanyue
66cd92d9c1b1ace237ff434e25da5c806856994f
17,832
cc
C++
third_party/blink/renderer/core/exported/prerendering_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/core/exported/prerendering_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/core/exported/prerendering_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2012 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
35.310891
80
0.737775
sarang-apps
66cdc42eaeffa61eb5f56d5a8dcdc6272bf062c7
3,438
hpp
C++
Kernel/include/generic_symbolicator_factory.hpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
Kernel/include/generic_symbolicator_factory.hpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
Kernel/include/generic_symbolicator_factory.hpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
#ifndef FLAPJACKOS_COMMON_INCLUDE_GENERIC_SYMBOLICATOR_FACTORY_HPP #define FLAPJACKOS_COMMON_INCLUDE_GENERIC_SYMBOLICATOR_FACTORY_HPP #include <symbolicator.hpp> #include <hardware_memory_management_unit.hpp> #include <multiboot.h> #include <common/elf.hpp> #include <common/vector.hpp> #include <common/logger.hpp> te...
32.742857
130
0.690809
foxostro
66ce205f534e4c27baf0fd5499fe0227fcbd0125
806
cpp
C++
ICPC_Mirrors/Nitc_9.0/nwerc2019all/gnollhypothesis/submissions/accepted/bjarki_n2.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
ICPC_Mirrors/Nitc_9.0/nwerc2019all/gnollhypothesis/submissions/accepted/bjarki_n2.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
ICPC_Mirrors/Nitc_9.0/nwerc2019all/gnollhypothesis/submissions/accepted/bjarki_n2.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define rep(i,a,b) for (auto i=(a); i<(b); ++i) #define iter(it,c) for (auto it = (c).begin(); it != (c).end(); ++it) typedef pair<int, int> ii; typedef vector<int> vi; typedef vector<ii> vii; typedef vector<vi> vvi; typedef long long ll; const int INF = 2147483647; long d...
20.15
69
0.496278
Shahraaz
66cf9089ab7fe6895fd8c6c6cf77830b0ef44b51
2,298
cpp
C++
EpicForceTools/bin2c/main.cpp
MacgyverLin/MagnumEngine
975bd4504a1e84cb9698c36e06bd80c7b8ced0ff
[ "MIT" ]
1
2021-03-30T06:28:32.000Z
2021-03-30T06:28:32.000Z
EpicForceTools/bin2c/main.cpp
MacgyverLin/MagnumEngine
975bd4504a1e84cb9698c36e06bd80c7b8ced0ff
[ "MIT" ]
null
null
null
EpicForceTools/bin2c/main.cpp
MacgyverLin/MagnumEngine
975bd4504a1e84cb9698c36e06bd80c7b8ced0ff
[ "MIT" ]
null
null
null
// bin2c.c // // convert a binary file into a C source vector // // THE "BEER-WARE LICENSE" (Revision 3.1415): // sandro AT sigala DOT it wrote this file. As long as you retain this notice you can do // whatever you want with this stuff. If we meet some day, and you think this stuff is // worth it, you can buy me a be...
18.836066
88
0.578329
MacgyverLin
66d0c623ced4a3cdc08098f980bdcbe61dd1de4f
15,962
cpp
C++
c++/Date/Date/date.cpp
daviddicken/data-structures-and-algorithms
9d56194aaf6b8ceed048c5cdd646b4c3e59b1dfe
[ "MIT" ]
1
2020-12-11T22:31:52.000Z
2020-12-11T22:31:52.000Z
c++/Date/Date/date.cpp
daviddicken/data-structures-and-algorithms
9d56194aaf6b8ceed048c5cdd646b4c3e59b1dfe
[ "MIT" ]
19
2020-10-20T05:29:37.000Z
2021-02-24T22:06:53.000Z
c++/Date/Date/date.cpp
daviddicken/data-structures-and-algorithms
9d56194aaf6b8ceed048c5cdd646b4c3e59b1dfe
[ "MIT" ]
1
2020-09-14T19:07:39.000Z
2020-09-14T19:07:39.000Z
/* Filename: Date (Chapter 5 Programming Project 7) Author: David Dicken Description: This is a program that takes a date input from the user and outputs what day off the week it falls on Date last modified: 2/6/16 Algorithm: get date from user (has to be a pass by refer...
24.785714
139
0.480328
daviddicken
66d1495d6e7c9674a7968bce91ca036371a3116a
1,756
cc
C++
all-nodes-distance-k-in-binary-tree.cc
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
all-nodes-distance-k-in-binary-tree.cc
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
all-nodes-distance-k-in-binary-tree.cc
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} }; /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL...
21.95
94
0.460706
ArCan314
66d159a07d7c1db5a2034ce136cf06dddcbb6e11
5,967
cpp
C++
test/collision/vector.cpp
neboat/cilktools
7065c4f3281f133f2fd1a2e94b83c7326396ef7e
[ "MIT" ]
3
2017-01-30T22:44:33.000Z
2021-03-06T16:37:18.000Z
test/collision/vector.cpp
neboat/cilktools
7065c4f3281f133f2fd1a2e94b83c7326396ef7e
[ "MIT" ]
null
null
null
test/collision/vector.cpp
neboat/cilktools
7065c4f3281f133f2fd1a2e94b83c7326396ef7e
[ "MIT" ]
5
2015-06-17T14:12:11.000Z
2017-10-19T12:17:19.000Z
//========================================================================// // Copyright 1994 (Unpublished Material) // // SolidWorks Inc. // //========================================================================// // // File Name: vector.cpp // ...
22.516981
127
0.558405
neboat
202d141e7b3a212670d12c7ca4d95c82af4d46c6
1,576
cpp
C++
src/rfilters/catmullrom.cpp
tizian/layer-laboratory
008cc94b76127e9eb74227fcd3d0145da8ddec30
[ "CNRI-Python" ]
7
2020-07-24T03:19:59.000Z
2022-03-30T10:56:12.000Z
src/rfilters/catmullrom.cpp
tizian/layer-laboratory
008cc94b76127e9eb74227fcd3d0145da8ddec30
[ "CNRI-Python" ]
1
2021-04-07T22:30:23.000Z
2021-04-08T00:55:36.000Z
src/rfilters/catmullrom.cpp
tizian/layer-laboratory
008cc94b76127e9eb74227fcd3d0145da8ddec30
[ "CNRI-Python" ]
2
2020-06-08T08:25:09.000Z
2021-04-05T22:13:08.000Z
#include <mitsuba/core/rfilter.h> #include <mitsuba/render/fwd.h> NAMESPACE_BEGIN(mitsuba) /**! .. _rfilter-catmullrom: Catmull-Rom filter (:monosp:`catmullrom`) ----------------------------------------- Special version of the Mitchell-Netravali filter with constants B and C configured to match the Catmull-Rom spl...
28.142857
84
0.594543
tizian
202d45e38a36b90376523fe8e8129b6bf0cd7b7e
10,782
cpp
C++
src/math/matrix/matrix3x3.cpp
Gotatang/DadEngine_2.0
1e97e86996571c8ba1efec72b0f0e914d86533d3
[ "MIT" ]
2
2018-03-12T13:59:13.000Z
2018-11-27T20:13:57.000Z
src/math/matrix/matrix3x3.cpp
Gotatang/DadEngine_2.0
1e97e86996571c8ba1efec72b0f0e914d86533d3
[ "MIT" ]
5
2018-12-22T10:43:28.000Z
2019-01-17T22:02:16.000Z
src/math/matrix/matrix3x3.cpp
ladevieq/dadengine
1e97e86996571c8ba1efec72b0f0e914d86533d3
[ "MIT" ]
null
null
null
#include "matrix/matrix3x3.hpp" #include "constants.hpp" #include "vector/vector2.hpp" #include "vector/vector3.hpp" #include <limits> namespace DadEngine { Matrix3x3::Matrix3x3(std::array<Vector3, 3> _vectors) { m_11 = _vectors[0U].x, m_12 = _vectors[1U].x, m_13 = _vectors[2U].x; m_21 = _vec...
34.557692
106
0.560286
Gotatang
2032531a2a5b2ff52b3ce301a1007240bd5e3ba0
781
cc
C++
leet_code/Check_If_Word_Is_Valid_After_Substitutions/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
1
2020-04-11T22:04:23.000Z
2020-04-11T22:04:23.000Z
leet_code/Check_If_Word_Is_Valid_After_Substitutions/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
leet_code/Check_If_Word_Is_Valid_After_Substitutions/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
class Solution { private : const int windowSize = 3; const char invalid = -1; public: bool isValid(string S) { string& in = S; for (bool isChange = true; isChange;) { string data; for (int i = 0; i < in.length(); ++i) { if (in[i] != invalid) { ...
26.033333
68
0.386684
ldy121
20336bb91326e6df27c8ebf0790a01ef49d9b053
729
cpp
C++
cpp_alkeet/2_Harjoitukset_190912/fourth.cpp
Diapolo10/TAMK-Exercises
904958cc41b253201eef182f17e43d95cf4f7c89
[ "MIT" ]
null
null
null
cpp_alkeet/2_Harjoitukset_190912/fourth.cpp
Diapolo10/TAMK-Exercises
904958cc41b253201eef182f17e43d95cf4f7c89
[ "MIT" ]
null
null
null
cpp_alkeet/2_Harjoitukset_190912/fourth.cpp
Diapolo10/TAMK-Exercises
904958cc41b253201eef182f17e43d95cf4f7c89
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using std::vector; double mass_sum(vector<double> nums) { double result = .0; for (auto num : nums) { result += num; } return result; } vector<double>& get_passenger_masses(int n=4) { vector<double> masses; for (int i = 1; i <= n; ++i) { double mass; std::cout <...
16.2
121
0.628258
Diapolo10
20340ce7bf2c6ad38ec67191873ec6f8706fdbfc
1,879
cpp
C++
2-YellowBelt/FinalProject/node.cpp
mamoudmatook/CPlusPlusInRussian
ef1f92e4880f24fe16fbcbef8dba3a2658d2208e
[ "MIT" ]
null
null
null
2-YellowBelt/FinalProject/node.cpp
mamoudmatook/CPlusPlusInRussian
ef1f92e4880f24fe16fbcbef8dba3a2658d2208e
[ "MIT" ]
null
null
null
2-YellowBelt/FinalProject/node.cpp
mamoudmatook/CPlusPlusInRussian
ef1f92e4880f24fe16fbcbef8dba3a2658d2208e
[ "MIT" ]
null
null
null
#include "node.h" EmptyNode::EmptyNode() {} bool EmptyNode::Evaluate(const Date& date, const std::string& event) const { return true; } DateComparisonNode::DateComparisonNode(const Comparison& comprs, const Date& date) : cmpr(comprs), dt(date) {} bool DateComparisonNode::Evaluate(const Date& date, const std::string& ...
26.464789
123
0.711016
mamoudmatook
2035f9c617a2c5660a1e1a416b52124a7f622c40
3,188
cpp
C++
test/test_optimizers.cpp
AvocadoML/CudaBackend
314413c12efa7cb12a1ff0c2572c8aad9190d419
[ "Apache-2.0" ]
2
2022-03-14T07:13:37.000Z
2022-03-16T00:16:33.000Z
test/test_optimizers.cpp
AvocadoML/CudaBackend
314413c12efa7cb12a1ff0c2572c8aad9190d419
[ "Apache-2.0" ]
null
null
null
test/test_optimizers.cpp
AvocadoML/CudaBackend
314413c12efa7cb12a1ff0c2572c8aad9190d419
[ "Apache-2.0" ]
1
2022-03-14T07:13:44.000Z
2022-03-14T07:13:44.000Z
/* * test_optimizers.cpp * * Created on: Jan 27, 2022 * Author: Maciej Kozarzewski */ #include <testing/testing_helpers.hpp> #include <gtest/gtest.h> namespace avocado { namespace backend { TEST(TestOptimizer, float32_sgd) { if (not supportsType(AVOCADO_DTYPE_FLOAT32)) GTEST_SKIP(); Optimi...
34.27957
101
0.663425
AvocadoML
2039ba4370d7625f068debb573eb3548460aabea
744
cpp
C++
Arrays/miscellaneous/k_divisible_elements_subarray.cpp
khushisinha20/Data-Structures-and-Algorithms
114d365d03f7ba7175eefeace281972820a7fc76
[ "Apache-2.0" ]
null
null
null
Arrays/miscellaneous/k_divisible_elements_subarray.cpp
khushisinha20/Data-Structures-and-Algorithms
114d365d03f7ba7175eefeace281972820a7fc76
[ "Apache-2.0" ]
null
null
null
Arrays/miscellaneous/k_divisible_elements_subarray.cpp
khushisinha20/Data-Structures-and-Algorithms
114d365d03f7ba7175eefeace281972820a7fc76
[ "Apache-2.0" ]
null
null
null
//leetcode.com/problems/k-divisible-elements-subarrays/ #include <bits/stdc++.h> using namespace std; class Solution { public: int countDistinct(vector<int>& nums, int k, int p) { set<vector<int>> distinct_subarrays; int multiples_of_p = 0; for (int i = 0; i < nums.size(); ++i) { ...
29.76
56
0.508065
khushisinha20
203a102f86509c20df7e82f0cec3a908a06547bf
2,459
hpp
C++
INCLUDE/json.hpp
n-mam/cpp-osl
44f32d9e0670b30ff08f08f540e0f161f7d62965
[ "MIT" ]
null
null
null
INCLUDE/json.hpp
n-mam/cpp-osl
44f32d9e0670b30ff08f08f540e0f161f7d62965
[ "MIT" ]
null
null
null
INCLUDE/json.hpp
n-mam/cpp-osl
44f32d9e0670b30ff08f08f540e0f161f7d62965
[ "MIT" ]
null
null
null
#ifndef JSON_HPP #define JSON_HPP #include <map> #include <regex> #include <string> #include <vector> #include <sstream> #include <string.hpp> class Json { public: Json() { } Json(const std::string& s) { iJsonString = s; Parse(); } ~Json() ...
16.727891
109
0.413176
n-mam
203a3fb00b88e7e7bac33472923c81858d9ec485
1,705
cpp
C++
Editor/Sources/o2Editor/Core/Properties/Basic/EnumProperty.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
181
2015-12-09T08:53:36.000Z
2022-03-26T20:48:39.000Z
Editor/Sources/o2Editor/Core/Properties/Basic/EnumProperty.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
29
2016-04-22T08:24:04.000Z
2022-03-06T07:06:28.000Z
Editor/Sources/o2Editor/Core/Properties/Basic/EnumProperty.cpp
zenkovich/o2
cdbf10271f1bf0f3198c8005b13b66e6ca13a9db
[ "MIT" ]
13
2018-04-24T17:12:04.000Z
2021-11-12T23:49:53.000Z
#include "o2Editor/stdafx.h" #include "EnumProperty.h" #include "o2/Scene/UI/Widgets/DropDown.h" namespace Editor { EnumProperty::EnumProperty() {} EnumProperty::EnumProperty(const EnumProperty& other) : TPropertyField<int>(other) { InitializeControls(); } EnumProperty& EnumProperty::operator=(const EnumP...
19.375
90
0.70088
zenkovich
203ae6d848b59e2bdcc89ce0d41f1f886bb6007b
643
cpp
C++
Firmware/src/Buzzer/Buzzer.cpp
FERRERDEV/Mila
80e9a0ba9e8d5e318a659f17523e3ab3a1d15dd4
[ "MIT" ]
null
null
null
Firmware/src/Buzzer/Buzzer.cpp
FERRERDEV/Mila
80e9a0ba9e8d5e318a659f17523e3ab3a1d15dd4
[ "MIT" ]
null
null
null
Firmware/src/Buzzer/Buzzer.cpp
FERRERDEV/Mila
80e9a0ba9e8d5e318a659f17523e3ab3a1d15dd4
[ "MIT" ]
1
2021-02-22T00:54:07.000Z
2021-02-22T00:54:07.000Z
// Buzzer #include "Buzzer.h" // Arduino #include "Arduino.h" // Mila #include "Mila.h" Buzzer::Buzzer(int buzzerPin) { // Assign the buzzer pin. this->buzzerPin = buzzerPin; } void Buzzer::playAlarm(alarm alarmToPlay, int loops) { bInfiniteAlarm = loops == -1; while (bInfiniteAlarm) { for (int loop = loops...
15.682927
74
0.642302
FERRERDEV
203d7e2a78cc55216f2452d82f56b547523ba228
4,345
hh
C++
psdaq/psdaq/eb/EbLfLink.hh
slac-lcls/pdsdata2
6e2ad4f830cadfe29764dbd280fa57f8f9edc451
[ "BSD-3-Clause-LBNL" ]
null
null
null
psdaq/psdaq/eb/EbLfLink.hh
slac-lcls/pdsdata2
6e2ad4f830cadfe29764dbd280fa57f8f9edc451
[ "BSD-3-Clause-LBNL" ]
null
null
null
psdaq/psdaq/eb/EbLfLink.hh
slac-lcls/pdsdata2
6e2ad4f830cadfe29764dbd280fa57f8f9edc451
[ "BSD-3-Clause-LBNL" ]
null
null
null
#ifndef Pds_Eb_EbLfLink_hh #define Pds_Eb_EbLfLink_hh #include "Endpoint.hh" #include <stdint.h> #include <cstddef> #include <vector> namespace Pds { namespace Eb { int setupMr(Fabrics::Fabric* fabric, void* region, size_t size, ...
28.585526
104
0.560184
slac-lcls
203e80f0620ee2e5c2eaa63de1aea61ab20e64ea
2,597
hpp
C++
example/resnet/model.hpp
wzppengpeng/LittleConv
12aab4cfbbe965fa8b4053bb464db1165cc4ec31
[ "MIT" ]
93
2017-10-25T07:48:42.000Z
2022-02-02T15:18:11.000Z
example/resnet/model.hpp
wzppengpeng/LittleConv
12aab4cfbbe965fa8b4053bb464db1165cc4ec31
[ "MIT" ]
null
null
null
example/resnet/model.hpp
wzppengpeng/LittleConv
12aab4cfbbe965fa8b4053bb464db1165cc4ec31
[ "MIT" ]
20
2018-02-06T10:01:36.000Z
2019-07-07T09:26:40.000Z
/** * the model define by resnet */ #include "licon/licon.hpp" using namespace std; using namespace licon; nn::NodePtr BasicBlock(int in_channel, int out_channel, int stride=1) { auto basic_block = nn::Squential::CreateSquential(); auto conv_block = nn::Squential::CreateSquential(); conv_block->Add(nn...
38.761194
83
0.644975
wzppengpeng
2040523da9fbf8fa9a4f9488a0b88c808831f963
655
cpp
C++
383.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
383.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
383.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
// // Created by pzz on 2021/10/20. // #include <iostream> #include <algorithm> #include <string> using namespace std; class Solution { public: bool canConstruct(string ransomNote, string magazine) { int record[26] = {0}; for (char c: ransomNote) record[c - 'a']++; for (char ...
18.194444
59
0.538931
pengzhezhe
204162dacd7d6099609d23ddb4a3b6737485e432
5,423
cpp
C++
TouchGFXPortTo_ILI9341_XPT2046_basic_yt_tut2/TouchGFX/generated/images/src/BitmapDatabase.cpp
trteodor/TouchGFX_Test
cd1abdef7e5a6f161ad35754fd951ea5de076021
[ "MIT" ]
1
2022-02-25T07:20:23.000Z
2022-02-25T07:20:23.000Z
TouchGFXPortTo_ILI9341_XPT2046_basic_yt_tut2/TouchGFX/generated/images/src/BitmapDatabase.cpp
trteodor/TouchGFX_Test
cd1abdef7e5a6f161ad35754fd951ea5de076021
[ "MIT" ]
null
null
null
TouchGFXPortTo_ILI9341_XPT2046_basic_yt_tut2/TouchGFX/generated/images/src/BitmapDatabase.cpp
trteodor/TouchGFX_Test
cd1abdef7e5a6f161ad35754fd951ea5de076021
[ "MIT" ]
1
2021-12-26T22:11:21.000Z
2021-12-26T22:11:21.000Z
// 4.16.1 0x3fe153e6 // Generated by imageconverter. Please, do not edit! #include <BitmapDatabase.hpp> #include <touchgfx/Bitmap.hpp> extern const unsigned char image_blue_radio_buttons_radio_button_active[]; // BITMAP_BLUE_RADIO_BUTTONS_RADIO_BUTTON_ACTIVE_ID = 0, Size: 44x44 pixels extern const unsigned char image...
84.734375
169
0.717868
trteodor