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
109
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
48.5k
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
0c962a18f8cfd517e942eea403312fa83f246c86
6,162
cpp
C++
QSynthesis/Frontend/Tabs/Tuning/Editor/Modules/FindReplaceDialog.cpp
SineStriker/QSynthesis-Old
7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d
[ "MIT" ]
3
2021-12-08T05:30:52.000Z
2021-12-18T10:46:49.000Z
QSynthesis/Frontend/Tabs/Tuning/Editor/Modules/FindReplaceDialog.cpp
QSynthesis/QSynthesis-Old
7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d
[ "MIT" ]
null
null
null
QSynthesis/Frontend/Tabs/Tuning/Editor/Modules/FindReplaceDialog.cpp
QSynthesis/QSynthesis-Old
7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d
[ "MIT" ]
null
null
null
#include "FindReplaceDialog.h" FindReplaceDialog::FindReplaceDialog(QWidget *parent) : TransparentContainer(parent) { m_current = 0; m_total = 0; mainLayout = new QGridLayout(this); mainLayout->setVerticalSpacing(10); findEdit = new FixedLineEdit(); replaceEdit = new FixedLineEdit(); fin...
29.066038
100
0.708536
SineStriker
0c9be8bf8c8c8e849788107a267df066f7ee8212
228
hpp
C++
dynamic/wrappers/cell_based/FarhadifarForce2.cppwg.hpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-02-04T16:10:53.000Z
2021-07-01T08:03:16.000Z
dynamic/wrappers/cell_based/FarhadifarForce2.cppwg.hpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-06-22T08:50:41.000Z
2019-12-15T20:17:29.000Z
dynamic/wrappers/cell_based/FarhadifarForce2.cppwg.hpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
3
2017-05-15T21:33:58.000Z
2019-10-27T21:43:07.000Z
#ifndef FarhadifarForce2_hpp__pyplusplus_wrapper #define FarhadifarForce2_hpp__pyplusplus_wrapper namespace py = pybind11; void register_FarhadifarForce2_class(py::module &m); #endif // FarhadifarForce2_hpp__pyplusplus_wrapper
32.571429
52
0.877193
jmsgrogan
0ca65de3b6d4fe81148de61559e9529bc329a18f
10,630
cpp
C++
PosixTimespec_test/PosixTimespec_test.cpp
leighgarbs/toolbox
fd9ceada534916fa8987cfcb5220cece2188b304
[ "MIT" ]
null
null
null
PosixTimespec_test/PosixTimespec_test.cpp
leighgarbs/toolbox
fd9ceada534916fa8987cfcb5220cece2188b304
[ "MIT" ]
null
null
null
PosixTimespec_test/PosixTimespec_test.cpp
leighgarbs/toolbox
fd9ceada534916fa8987cfcb5220cece2188b304
[ "MIT" ]
null
null
null
#include <iostream> #include <time.h> #include <vector> #include "PosixTimespec_test.hpp" #include "PosixTimespec.hpp" #include "Test.hpp" #include "TestCases.hpp" #include "TestMacros.hpp" TEST_PROGRAM_MAIN(PosixTimespec_test); //============================================================================== void P...
32.31003
80
0.522201
leighgarbs
0ca8efe7daa5a13ef26181e08cd52b5a23f304fb
10,393
cpp
C++
Source/IO/NCCheckpoint.cpp
etpalmer63/ERF
88a3969ae93aae5b9d1416217df9051da476114e
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/IO/NCCheckpoint.cpp
etpalmer63/ERF
88a3969ae93aae5b9d1416217df9051da476114e
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/IO/NCCheckpoint.cpp
etpalmer63/ERF
88a3969ae93aae5b9d1416217df9051da476114e
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include <ERF.H> #include <NCInterface.H> #include <AMReX_PlotFileUtil.H> using namespace amrex; void ERF::WriteNCCheckpointFile () const { // checkpoint file name, e.g., chk00010 const std::string& checkpointname = amrex::Concatenate(check_file,istep[0],5); amrex::Print() << "Writing NetCDF checkpoint "...
43.852321
101
0.620995
etpalmer63
0ca9e8d598056fbe8c5fe6853b7646c56cc9445d
1,034
cpp
C++
Source/NdiMediaEditor/Private/Factories/NdiMediaFinderFactoryNew.cpp
Twentystudios/NdiMedia
4cc842c11940fbd2062cb940cce1e49ff5bea453
[ "BSD-3-Clause" ]
101
2016-08-05T10:33:42.000Z
2022-03-11T13:10:28.000Z
Source/NdiMediaEditor/Private/Factories/NdiMediaFinderFactoryNew.cpp
Twentystudios/NdiMedia
4cc842c11940fbd2062cb940cce1e49ff5bea453
[ "BSD-3-Clause" ]
35
2016-10-03T14:35:25.000Z
2021-03-25T05:18:34.000Z
Source/NdiMediaEditor/Private/Factories/NdiMediaFinderFactoryNew.cpp
Twentystudios/NdiMedia
4cc842c11940fbd2062cb940cce1e49ff5bea453
[ "BSD-3-Clause" ]
34
2016-08-19T15:34:55.000Z
2021-12-08T14:42:33.000Z
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "NdiMediaFinderFactoryNew.h" #include "AssetTypeCategories.h" #include "NdiMediaFinder.h" /* UNdiMediaFinderFactoryNew structors *****************************************************************************/ UNdiMediaFinderFactoryNew::UNdiMedia...
25.85
164
0.678917
Twentystudios
0cacfb880c05969b886658d21854f8329e526d1f
6,263
hpp
C++
stock_dbf_reader/stock_reader/mysql.hpp
smartdata-x/MarketSys
b4f999fb80b8f2357b75694c2ca94d46190a55f7
[ "Apache-2.0" ]
null
null
null
stock_dbf_reader/stock_reader/mysql.hpp
smartdata-x/MarketSys
b4f999fb80b8f2357b75694c2ca94d46190a55f7
[ "Apache-2.0" ]
null
null
null
stock_dbf_reader/stock_reader/mysql.hpp
smartdata-x/MarketSys
b4f999fb80b8f2357b75694c2ca94d46190a55f7
[ "Apache-2.0" ]
3
2016-10-25T01:56:17.000Z
2019-06-24T04:45:06.000Z
#ifndef MYSQL_HPP_ #define MYSQL_HPP_ #include <cassert> #include <cstdint> #include <cstring> #include <mysql.h> #include <string> #include <tuple> #include <typeinfo> #include <utility> #include <vector> #include "inpub_binder.hpp" #include "mysql_exception.hpp" #include "mysql_prepared_statement.hpp" #include "ou...
29.82381
82
0.724254
smartdata-x
0caf9398d1c7d6488eb8bcf273e9469f33ce18a1
2,082
cc
C++
src/ctl3d.cc
snmsts/xyzzy
3291c7898d17f90b1a50c3de1aeb5f9a446d9061
[ "RSA-MD" ]
90
2015-01-13T13:36:13.000Z
2022-03-25T12:22:19.000Z
src/ctl3d.cc
wanabe/xyzzy
a43581d9a2033d5c43d99cccfecc8e90aa3915e1
[ "RSA-MD" ]
6
2015-09-07T17:03:43.000Z
2019-08-13T12:35:48.000Z
src/ctl3d.cc
wanabe/xyzzy
a43581d9a2033d5c43d99cccfecc8e90aa3915e1
[ "RSA-MD" ]
38
2015-02-21T13:42:59.000Z
2022-03-25T12:25:15.000Z
#include "stdafx.h" #include "sysdep.h" #include "ctl3d.h" #include "vfs.h" static Ctl3d ctl3d; Ctl3dState Ctl3d::state; Ctl3d::~Ctl3d () { if (state.registered && state.Unregister) (*state.Unregister)(state.hinst); if (state.hlib) FreeLibrary (state.hlib); } void Ctl3d::enable (HINSTANCE h) { if (sys...
24.785714
61
0.627281
snmsts
0cb0513f28bd47fae2000ccd5f98171296258825
13,736
cpp
C++
src/elektronika/about.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
14
2016-05-09T01:14:03.000Z
2021-10-12T21:41:02.000Z
src/elektronika/about.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
null
null
null
src/elektronika/about.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
6
2015-08-19T01:28:54.000Z
2020-10-25T05:17:08.000Z
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // ABOUT.CPP (c) YoY'00 WEB: www.aestesis.org // //////////...
30.056893
174
0.39684
aestesis
0cb2df04b700296df273dae8ab674ba28ea8bd3d
8,791
cpp
C++
SystemInfo.cpp
knela96/Game-Engine
06659d933c4447bd8d6c8536af292825ce4c2ab1
[ "Unlicense" ]
1
2019-11-16T22:01:56.000Z
2019-11-16T22:01:56.000Z
SystemInfo.cpp
knela96/Game-Engine
06659d933c4447bd8d6c8536af292825ce4c2ab1
[ "Unlicense" ]
null
null
null
SystemInfo.cpp
knela96/Game-Engine
06659d933c4447bd8d6c8536af292825ce4c2ab1
[ "Unlicense" ]
null
null
null
#include"SystemInfo.h" namespace Engine { static sMStats MemoryStats_MMRG; void RecalculateMemStatisticsFromMMGR() { MemoryStats_MMRG = m_getMemoryStatistics(); } SystemInfo::SystemInfo() { mSoftware_Info.DetectSystemProperties(); mHardware_MemoryInfo.DetectSystemProperties(); mHardware_GPUInfo.DetectSy...
27.216718
220
0.730747
knela96
0cb450c25568097ae662d51a102af867ce5a9270
902
cpp
C++
BkZOOLib/bkzoo/util/StringUtil.cpp
yoichibeer/BkZOO
3ec97b6d34d0815063ca9d829e452771327101ff
[ "MIT" ]
null
null
null
BkZOOLib/bkzoo/util/StringUtil.cpp
yoichibeer/BkZOO
3ec97b6d34d0815063ca9d829e452771327101ff
[ "MIT" ]
null
null
null
BkZOOLib/bkzoo/util/StringUtil.cpp
yoichibeer/BkZOO
3ec97b6d34d0815063ca9d829e452771327101ff
[ "MIT" ]
null
null
null
/* * BkZOO! * * Copyright 2011-2017 yoichibeer. * Released under the MIT license. */ #include "StringUtil.h" #include <sstream> #include <ctime> using namespace bkzoo; namespace bkzoo { namespace util { std::string stringFromTime() { const time_t now = time(nullptr); ...
22.55
97
0.486696
yoichibeer
0cb9b423042546198ac82f0c23a68e8773e7a9cb
134
cpp
C++
WYMIANA - Zamiana miejsc/WYMIANA - Zamiana miejsc/main.cpp
wdsking/PolskiSpoj
aaa1128b0499f4e4e46405ff3ef2beec0127d0c0
[ "MIT" ]
null
null
null
WYMIANA - Zamiana miejsc/WYMIANA - Zamiana miejsc/main.cpp
wdsking/PolskiSpoj
aaa1128b0499f4e4e46405ff3ef2beec0127d0c0
[ "MIT" ]
null
null
null
WYMIANA - Zamiana miejsc/WYMIANA - Zamiana miejsc/main.cpp
wdsking/PolskiSpoj
aaa1128b0499f4e4e46405ff3ef2beec0127d0c0
[ "MIT" ]
2
2019-04-16T20:05:44.000Z
2020-11-15T11:44:30.000Z
#include<stdio.h> int main() { int x, y; scanf("%d %d", &x, &y); x += y; y = x - y; x -= y; printf("%d %d", x, y); return 0; }
11.166667
24
0.432836
wdsking
0cbbf656e6d6e3b7e62906f2259f976844885010
1,356
cpp
C++
include/MenuItemSDUpdater.cpp
beNative/M5Stack-Concepts
dfebc3d633bc4519021b15371e69c4a76e5cef65
[ "Apache-2.0" ]
null
null
null
include/MenuItemSDUpdater.cpp
beNative/M5Stack-Concepts
dfebc3d633bc4519021b15371e69c4a76e5cef65
[ "Apache-2.0" ]
null
null
null
include/MenuItemSDUpdater.cpp
beNative/M5Stack-Concepts
dfebc3d633bc4519021b15371e69c4a76e5cef65
[ "Apache-2.0" ]
1
2021-02-28T08:45:20.000Z
2021-02-28T08:45:20.000Z
#include "MenuItemSDUpdater.h" #include <M5StackUpdater.h> // https://github.com/tobozo/M5Stack-SD-Updater/ #include <SD.h> #undef min #include <algorithm> static SDUpdater sdUpdater; void MenuItemSDUpdater::onEnter() { if (!name.length()) { // SDのルートフォルダから *.bin ファイルを探す。 deleteItems(); SD.begin(); ...
23.789474
78
0.601032
beNative
0cbcba69300f9ba57f4ccd06e03054f74079fc93
11,275
hpp
C++
libformula/Headers/formula/Scanner.hpp
purefunsolutions/ember-plus
d022732f2533ad697238c6b5210d7fc3eb231bfc
[ "BSL-1.0" ]
78
2015-07-31T14:46:38.000Z
2022-03-28T09:28:28.000Z
libformula/Headers/formula/Scanner.hpp
purefunsolutions/ember-plus
d022732f2533ad697238c6b5210d7fc3eb231bfc
[ "BSL-1.0" ]
81
2015-08-03T07:58:19.000Z
2022-02-28T16:21:19.000Z
libformula/Headers/formula/Scanner.hpp
purefunsolutions/ember-plus
d022732f2533ad697238c6b5210d7fc3eb231bfc
[ "BSL-1.0" ]
49
2015-08-03T12:53:10.000Z
2022-03-17T17:25:49.000Z
/* Copyright (C) 2012-2016 Lawo GmbH (http://www.lawo.com). Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef __LIBFORMULA_SCANNER_HPP #define __LIBFORMULA_SCANNER_HPP #include <string> #include <cst...
37.70903
129
0.555565
purefunsolutions
0cc1da7e2deb9cfc343c619d6ff1ea29c40318e2
10,464
tcc
C++
include/dart/packet/object.tcc
Cfretz244/libdart
987b01aa1f11455ac6aaf89f8e60825e92e6ec25
[ "Apache-2.0" ]
85
2019-05-09T19:12:25.000Z
2021-02-07T16:31:55.000Z
include/dart/packet/object.tcc
Cfretz244/libdart
987b01aa1f11455ac6aaf89f8e60825e92e6ec25
[ "Apache-2.0" ]
10
2019-05-09T22:37:27.000Z
2020-03-29T03:25:16.000Z
include/dart/packet/object.tcc
Cfretz244/libdart
987b01aa1f11455ac6aaf89f8e60825e92e6ec25
[ "Apache-2.0" ]
10
2019-05-11T08:05:10.000Z
2020-06-11T11:05:17.000Z
#ifndef DART_PACKET_OBJECT_H #define DART_PACKET_OBJECT_H /*----- Project Includes -----*/ #include "../common.h" /*----- Function Implementations -----*/ namespace dart { template <template <class> class RefCount> template <class... Args, class EnableIf> basic_packet<RefCount> basic_packet<RefCount>::make_o...
38.189781
111
0.702886
Cfretz244
0cce115e7afb2e0f655c679e6a034ad18d19933f
4,093
cpp
C++
Old/mp3streamer_Plugin/cmpegaudiostreamdecoder.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
3
2022-01-05T08:47:51.000Z
2022-01-06T12:42:18.000Z
Old/mp3streamer_Plugin/cmpegaudiostreamdecoder.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
null
null
null
Old/mp3streamer_Plugin/cmpegaudiostreamdecoder.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
1
2022-01-06T16:12:58.000Z
2022-01-06T16:12:58.000Z
/* * CMpegAudioDecoder.cpp * audioenginetest * * Created by Tony Million on 24/11/2009. * Copyright 2009 Tony Million. All rights reserved. * */ #include "generaldefs.h" #include "cmpegaudiostreamdecoder.h" #include "stdlib.h" #include "stdio.h" #include "mpegdecoder.h" #define FRAMES_FLAG 0x0001 #de...
21.542105
114
0.632299
Harteex
7b4c0900cccfce3a5c05032ae73783bab8cfe010
240
hpp
C++
CPP_US/src/Engine/Engine.hpp
Basher207/Unity-style-Cpp-engine
812b0be2c61aea828cfd8c6d6f06f2cf6e889661
[ "MIT" ]
null
null
null
CPP_US/src/Engine/Engine.hpp
Basher207/Unity-style-Cpp-engine
812b0be2c61aea828cfd8c6d6f06f2cf6e889661
[ "MIT" ]
null
null
null
CPP_US/src/Engine/Engine.hpp
Basher207/Unity-style-Cpp-engine
812b0be2c61aea828cfd8c6d6f06f2cf6e889661
[ "MIT" ]
null
null
null
#pragma once //Adds all the relevant headers. #include "GameObject.hpp" #include "Camera.hpp" #include "Input.hpp" #include "Math.hpp" #include "MeshRenderer.hpp" #include "MonoBehaviour.hpp" #include "Runner.hpp" #include "Transform.hpp"
20
32
0.75
Basher207
7b56a1a4f3b734e5ba6b1f56cf4886b0f9e95854
2,773
cpp
C++
Source/SnowClient.cpp
zcharli/snow-olsr
3617044d3ad1a0541b346669bce76702f71f4d0c
[ "MIT" ]
3
2018-08-08T22:31:52.000Z
2019-12-17T14:02:59.000Z
Source/SnowClient.cpp
zcharli/snow-olsr
3617044d3ad1a0541b346669bce76702f71f4d0c
[ "MIT" ]
null
null
null
Source/SnowClient.cpp
zcharli/snow-olsr
3617044d3ad1a0541b346669bce76702f71f4d0c
[ "MIT" ]
null
null
null
#include "Headers/SnowClient.h" #include "Headers/NetworkTrafficManager.h" /* Testing headers */ #include "Headers/HelloMessage.h" using namespace std; SnowClient::SnowClient() { //mSocketPtr = make_shared<WLAN>(INTERFACE_NAME); } SnowClient::~SnowClient() {} int SnowClient::start() { shared_ptr<NetworkTra...
37.986301
116
0.60476
zcharli
7b5a37d255cdd1fa127a2330b641b04937616e7e
6,515
cc
C++
src/output/L2_Error_Calculator.cc
pgmaginot/DARK_ARTS
f04b0a30dcac911ef06fe0916921020826f5c42b
[ "MIT" ]
null
null
null
src/output/L2_Error_Calculator.cc
pgmaginot/DARK_ARTS
f04b0a30dcac911ef06fe0916921020826f5c42b
[ "MIT" ]
null
null
null
src/output/L2_Error_Calculator.cc
pgmaginot/DARK_ARTS
f04b0a30dcac911ef06fe0916921020826f5c42b
[ "MIT" ]
null
null
null
/** @file L2_Error_Calculator.cc * @author pmaginot * @brief A class that numerically approximates the L2 spatial errors of Temperature, Intensity, and Angle Integrated Intensity for MMS problems */ #include "L2_Error_Calculator.h" // ##########################################################...
36.396648
154
0.692556
pgmaginot
7b5cd1b1a1c5697011a60b990b9e544ec320d4db
1,080
cpp
C++
src/benchmarks/ShowHash.cpp
perara-public/map_benchmark
8efe2a5eab97449971733d71e2047c26537c6123
[ "MIT" ]
110
2019-02-19T05:20:55.000Z
2022-03-21T10:14:18.000Z
src/benchmarks/ShowHash.cpp
perara-public/map_benchmark
8efe2a5eab97449971733d71e2047c26537c6123
[ "MIT" ]
10
2019-02-27T09:41:39.000Z
2021-04-15T06:35:56.000Z
src/benchmarks/ShowHash.cpp
perara-public/map_benchmark
8efe2a5eab97449971733d71e2047c26537c6123
[ "MIT" ]
17
2019-02-26T12:12:43.000Z
2022-01-27T07:03:59.000Z
#include "Hash.h" #include "bench.h" #include "hex.h" #include <bitset> template <typename T> void showHash(T val) { auto sh = std::hash<T>{}(val); auto mh = Hash<T>{}(val); std::cerr << hex(val) << " -> " << hex(sh) << " " << hex(mh) << " " << std::bitset<sizeof(size_t) * 8>(mh) << std::endl; } template...
26.341463
124
0.498148
perara-public
7b5dfd74467b7861e4667f8720b7e389065afea4
1,351
cpp
C++
src/IO/Device/ControlBoard/CM730.cpp
NaokiTakahashi12/OpenHumanoidController
ce8da0cabc8bbeec86f16a36b9ba5e6a16c4a67d
[ "MIT" ]
1
2019-09-23T06:21:47.000Z
2019-09-23T06:21:47.000Z
src/IO/Device/ControlBoard/CM730.cpp
NaokiTakahashi12/hc-early
ce8da0cabc8bbeec86f16a36b9ba5e6a16c4a67d
[ "MIT" ]
12
2019-07-30T00:17:09.000Z
2019-12-09T23:00:43.000Z
src/IO/Device/ControlBoard/CM730.cpp
NaokiTakahashi12/OpenHumanoidController
ce8da0cabc8bbeec86f16a36b9ba5e6a16c4a67d
[ "MIT" ]
null
null
null
/** * * @file CM730.cpp * @author Naoki Takahashi * **/ #include "CM730.hpp" #include "CM730ControlTable.hpp" namespace IO { namespace Device { namespace ControlBoard { CM730::CM730(RobotStatus::InformationPtr &robot_status_information_ptr) : SerialControlBoard(robot_status_information_ptr) { id...
25.018519
153
0.715766
NaokiTakahashi12
7b5faea800d72e0705163223c5391249b42e51d7
1,030
cpp
C++
src/ipc/mq_receiver.cpp
kreopt/dcm
d9eae08b5ff716d5eb3d97684aeddd9492d342b0
[ "MIT" ]
null
null
null
src/ipc/mq_receiver.cpp
kreopt/dcm
d9eae08b5ff716d5eb3d97684aeddd9492d342b0
[ "MIT" ]
null
null
null
src/ipc/mq_receiver.cpp
kreopt/dcm
d9eae08b5ff716d5eb3d97684aeddd9492d342b0
[ "MIT" ]
null
null
null
#include "mq_receiver.hpp" #include <boost/interprocess/ipc/message_queue.hpp> #include <thread> #include "core/message.hpp" namespace bip = boost::interprocess; dcm::ipc::mq::receiver::receiver(const std::string &_mbox) : mbox_(_mbox) { bip::message_queue::remove(_mbox.c_str()); mq_ = std::make_shared<bip::...
30.294118
112
0.645631
kreopt
7b6183048a03ea269bef1c4c6fb76adc6a32665a
7,386
cc
C++
ns-allinone-2.35/ns-2.35/emulate/ping_responder.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2020-05-29T13:04:42.000Z
2020-05-29T13:04:42.000Z
ns-allinone-2.35/ns-2.35/emulate/ping_responder.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2019-01-20T17:35:23.000Z
2019-01-22T21:41:38.000Z
ns-allinone-2.35/ns-2.35/emulate/ping_responder.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2021-09-29T16:06:57.000Z
2021-09-29T16:06:57.000Z
/* * Copyright (c) 1998 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyrig...
29.782258
105
0.668291
nitishk017
7b64e395000258c1f463ca0822ff1866a6897001
1,543
hpp
C++
src/GUI.hpp
kririae/Fluid-Visualization
fc3d6deceb2428479a4ec58d5dbe44dcfc1a204e
[ "MIT" ]
2
2022-01-22T09:44:10.000Z
2022-01-22T09:45:02.000Z
src/GUI.hpp
kririae/Fluid-Visualization
fc3d6deceb2428479a4ec58d5dbe44dcfc1a204e
[ "MIT" ]
null
null
null
src/GUI.hpp
kririae/Fluid-Visualization
fc3d6deceb2428479a4ec58d5dbe44dcfc1a204e
[ "MIT" ]
null
null
null
// // Created by kr2 on 12/24/21. // #ifndef FLUIDVISUALIZATION_SRC_GUI_HPP #define FLUIDVISUALIZATION_SRC_GUI_HPP #include "Particle.hpp" #include "Shader.hpp" #include "PBuffer.hpp" #include <functional> #include <memory> typedef unsigned int uint; struct GLFWwindow; class Solver; class OrbitCamera; class GUI { ...
20.851351
64
0.714193
kririae
7b66efcfc3e73148dc12bd31e7b6f173dcb25565
2,044
cpp
C++
lib/year2020/src/Day06Puzzle.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
lib/year2020/src/Day06Puzzle.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
lib/year2020/src/Day06Puzzle.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
#include <2020/Day06Puzzle.hpp> #include <zeno-engine/Utility/StringExtensions.hpp> #include <sstream> #include <fstream> #include <iostream> namespace TwentyTwenty { Day06Puzzle::Day06Puzzle() : core::PuzzleBase("Custom Customs", 2020, 6) { } void Day06Puzzle::initialise(const core::InitialisationInfo& _initi...
21.291667
133
0.651174
MarkRDavison
7b682cb7d26f3b1663ee009f32fa184373b8c59b
1,284
cpp
C++
2-Data_Structures_and_Libraries/2.3-Non_Linear_Data_Structures_with_Built-in_Libraries/2-C++_STL_set_(Java_TreeSet)/vitorvgc/00978.cpp
IFCE-CP/CP3-solutions
1abcabd9a06968184a55d3b0414637019014694c
[ "MIT" ]
1
2017-11-16T10:56:17.000Z
2017-11-16T10:56:17.000Z
2-Data_Structures_and_Libraries/2.3-Non_Linear_Data_Structures_with_Built-in_Libraries/2-C++_STL_set_(Java_TreeSet)/vitorvgc/00978.cpp
IFCE-CP/CP3-solutions
1abcabd9a06968184a55d3b0414637019014694c
[ "MIT" ]
null
null
null
2-Data_Structures_and_Libraries/2.3-Non_Linear_Data_Structures_with_Built-in_Libraries/2-C++_STL_set_(Java_TreeSet)/vitorvgc/00978.cpp
IFCE-CP/CP3-solutions
1abcabd9a06968184a55d3b0414637019014694c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void print(priority_queue<int> pq) { for(; !pq.empty(); pq.pop()) printf("%d\n", pq.top()); } int main() { int t; for(scanf("%d", &t); t--; ) { int b, sg, sb; priority_queue<int> pqg, pqb; scanf("%d %d %d", &b, &sg, &sb); ...
24.692308
65
0.374611
IFCE-CP
7b68f7a35a39189548e2159af99658ae33d1ae8a
14,338
hpp
C++
include/gtest_mpi/gtest_mpi_internal.hpp
teonnik/gtest_mpi
9664675870b36d1be6af682e3d99e63dfb6a3ad7
[ "BSD-3-Clause" ]
4
2019-05-31T09:35:09.000Z
2021-08-08T03:59:49.000Z
include/gtest_mpi/gtest_mpi_internal.hpp
teonnik/gtest_mpi
9664675870b36d1be6af682e3d99e63dfb6a3ad7
[ "BSD-3-Clause" ]
1
2019-06-20T12:31:27.000Z
2019-06-20T12:31:27.000Z
include/gtest_mpi/gtest_mpi_internal.hpp
teonnik/gtest_mpi
9664675870b36d1be6af682e3d99e63dfb6a3ad7
[ "BSD-3-Clause" ]
2
2019-05-31T09:35:14.000Z
2019-06-14T14:16:43.000Z
// This project contains source code from the Googletest framework // obtained from https://github.com/google/googletest with the following // terms: // // Copyright 2005, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided...
35.934837
99
0.683917
teonnik
7b6932c63e3cfd74c36943631fae9d1aa5f72988
330
cpp
C++
pointer_example_4.cpp
pervincaliskan/SampleCExamples
c8cfd0076e4fdcfecdd4a1e97c482a506f6cca02
[ "MIT" ]
2
2019-12-22T18:52:34.000Z
2021-10-18T18:35:22.000Z
pointer_example_4.cpp
pervincaliskan/SampleCExamples
c8cfd0076e4fdcfecdd4a1e97c482a506f6cca02
[ "MIT" ]
1
2022-01-18T17:21:26.000Z
2022-01-18T17:21:26.000Z
pointer_example_4.cpp
pervincaliskan/SampleCExamples
c8cfd0076e4fdcfecdd4a1e97c482a506f6cca02
[ "MIT" ]
null
null
null
#include<stdio.h> int main(){ int x = 6; int *xptr = &x;; xptr = &x; // xptr gostergesine x adli bellek hucresinin adresi atandi printf("x'in onceki degeri: %d\n", x); x = *xptr + 1; // xptr gostergesinin gosterdigi bellek hucresindeki deger 1 artirildi printf("x'in sonraki degeri: %d\n", x); re...
17.368421
87
0.633333
pervincaliskan
7b6fd00fc4e231f30de15845796fba40b79f97b5
776
hpp
C++
src/home_screen.hpp
tomfleet/M5PaperUI
cad8ccbbdf2273865eb9cbec70f41f87eca3fadd
[ "Apache-2.0" ]
24
2021-02-25T21:17:22.000Z
2022-03-01T19:01:13.000Z
src/home_screen.hpp
sthagen/M5PaperUI
05025433054d4e59ce8ec01eecbe44ac074b08ec
[ "Apache-2.0" ]
null
null
null
src/home_screen.hpp
sthagen/M5PaperUI
05025433054d4e59ce8ec01eecbe44ac074b08ec
[ "Apache-2.0" ]
10
2021-02-27T21:26:46.000Z
2022-03-13T12:59:40.000Z
#pragma once #include <memory> #include "widgetlib.hpp" class HomeScreen : public Frame { public: using ptr_t = std::shared_ptr<HomeScreen>; HomeScreen(int16_t x, int16_t y, int16_t w, int16_t h); static ptr_t Create(int16_t x, int16_t y, int16_t w, int16_t h) { return std::make_shared<HomeScreen>(x, y, w...
25.866667
72
0.710052
tomfleet
7b700b53e635d656f15d42b7debe701c25e636ab
4,975
cpp
C++
FS_Utils.cpp
Lynnvon/UnrealUtils
2fe3b00ad8e0518a47a7f6415ebabe381923b74d
[ "MIT" ]
1
2020-05-19T08:40:40.000Z
2020-05-19T08:40:40.000Z
FS_Utils.cpp
Lynnvon/UnrealUtils
2fe3b00ad8e0518a47a7f6415ebabe381923b74d
[ "MIT" ]
null
null
null
FS_Utils.cpp
Lynnvon/UnrealUtils
2fe3b00ad8e0518a47a7f6415ebabe381923b74d
[ "MIT" ]
1
2020-05-19T08:40:44.000Z
2020-05-19T08:40:44.000Z
// Copyright Shinban.Inc /*! * file FS_Utils.cpp * * author Hailiang Feng * date 2019/09/06 12:09 * * */ #include "FS_Utils.h" #include "Kismet/KismetMathLibrary.h" #include "FlightSim.h" #include "Engine/Texture2D.h" //~~~ Image Wrapper ~~~ #include "ImageUtils.h" #include "IImageWrapper.h" #include "IImageW...
25.911458
144
0.728643
Lynnvon
7b72a3fcfc5eb6d9f1efd70ac1028c7117a6d729
1,994
cpp
C++
src/gmail/drafts/DraftsDraftResource.cpp
Vadimatorik/googleQt
814ad6f695bb8e88d6a773e69fb8c188febaab00
[ "MIT" ]
24
2016-12-03T09:12:43.000Z
2022-03-29T19:51:48.000Z
src/gmail/drafts/DraftsDraftResource.cpp
Vadimatorik/googleQt
814ad6f695bb8e88d6a773e69fb8c188febaab00
[ "MIT" ]
4
2016-12-03T09:14:42.000Z
2022-03-29T22:02:21.000Z
src/gmail/drafts/DraftsDraftResource.cpp
Vadimatorik/googleQt
814ad6f695bb8e88d6a773e69fb8c188febaab00
[ "MIT" ]
7
2018-01-01T09:14:10.000Z
2022-03-29T21:50:11.000Z
/********************************************************** DO NOT EDIT This file was generated from stone specification "drafts" Part of "Ardi - the organizer" project. osoft4ardi@gmail.com www.prokarpaty.net ***********************************************************/ #include "gmail/drafts/DraftsDraftResource....
25.564103
99
0.674524
Vadimatorik
7b743bec1c240137fcf927b0b1bb703d3dd22fc7
3,320
cpp
C++
main.cpp
SirJonthe/VoxelRayTrace
1c38a522e9734fcbac1ceb9c85c475a6c4709103
[ "Zlib" ]
26
2015-03-25T21:31:01.000Z
2021-11-09T11:40:45.000Z
main.cpp
SirJonthe/VoxelRayTrace
1c38a522e9734fcbac1ceb9c85c475a6c4709103
[ "Zlib" ]
1
2018-11-23T03:52:38.000Z
2018-11-24T10:39:05.000Z
main.cpp
SirJonthe/VoxelRayTrace
1c38a522e9734fcbac1ceb9c85c475a6c4709103
[ "Zlib" ]
null
null
null
#include <iostream> //#include <omp.h> #include "PlatformSDL.h" #include "Camera.h" #include "Renderer.h" #include "RobotModel.h" #include "Math3d.h" // Rudimentary OpenMP support is commented out // see main(...) and Renderer::Render(...) // see included header files in main.cpp and Renderer.cpp int ma...
23.055556
116
0.544578
SirJonthe
7b7f57bcdba784ba0df008ae1a3e72f043fb74df
7,210
cpp
C++
jack/example-clients/server_control.cpp
KimJeongYeon/jack2_android
4a8787be4306558cb52e5379466c0ed4cc67e788
[ "BSD-3-Clause-No-Nuclear-Warranty" ]
47
2015-01-04T21:47:07.000Z
2022-03-23T16:27:16.000Z
vendor/samsung/external/jack/example-clients/server_control.cpp
cesarmo759/android_kernel_samsung_msm8916
f19717ef6c984b64a75ea600a735dc937b127c25
[ "Apache-2.0" ]
3
2015-02-04T21:40:11.000Z
2019-09-16T19:53:51.000Z
jack/example-clients/server_control.cpp
KimJeongYeon/jack2_android
4a8787be4306558cb52e5379466c0ed4cc67e788
[ "BSD-3-Clause-No-Nuclear-Warranty" ]
7
2015-05-17T08:22:52.000Z
2021-08-07T22:36:17.000Z
/* Copyright (C) 2008 Grame 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 option) any later version. This program is distributed ...
29.428571
114
0.639528
KimJeongYeon
7b8c29d6976b119fe36a5f69a133ccaaf05316aa
5,980
cpp
C++
MMOCoreORB/src/server/zone/managers/creature/SpawnAreaMap.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
18
2017-02-09T15:36:05.000Z
2021-12-21T04:22:15.000Z
MMOCoreORB/src/server/zone/managers/creature/SpawnAreaMap.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
61
2016-12-30T21:51:10.000Z
2021-12-10T20:25:56.000Z
MMOCoreORB/src/server/zone/managers/creature/SpawnAreaMap.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
71
2017-01-01T05:34:38.000Z
2022-03-29T01:04:00.000Z
/* * SpawnAreaMap.cpp * * Created on: 12/08/2011 * Author: TheAnswer */ #include "SpawnAreaMap.h" #include "server/zone/Zone.h" #include "server/zone/managers/object/ObjectManager.h" #include "server/zone/objects/area/areashapes/CircularAreaShape.h" #include "server/zone/objects/area/areashapes/RectangularA...
25.232068
176
0.675585
V-Fib
7b92b68a537bf7fc0530c0f58ed4eead3c953bc6
3,896
cpp
C++
imove_peopleextractor/src/ImageProcessing/PeopleExtractor.cpp
fbredius/IMOVE
912b4d0696e88acfc0ce7bc556eecf8fc423c4d3
[ "MIT" ]
3
2018-04-24T10:04:37.000Z
2018-05-11T08:27:03.000Z
imove_peopleextractor/src/ImageProcessing/PeopleExtractor.cpp
fbredius/IMOVE
912b4d0696e88acfc0ce7bc556eecf8fc423c4d3
[ "MIT" ]
null
null
null
imove_peopleextractor/src/ImageProcessing/PeopleExtractor.cpp
fbredius/IMOVE
912b4d0696e88acfc0ce7bc556eecf8fc423c4d3
[ "MIT" ]
3
2018-05-16T08:44:19.000Z
2020-12-04T16:04:32.000Z
#include "PeopleExtractor.h" // PeopleExtractor::PeopleExtractor(const cv::Size& frame_size, float pixels_per_meter, float resolution_resize_height, const Boundary& boundary) { PeopleExtractor::PeopleExtractor(CameraConfiguration* camConfig) { // Get values from camera configuration frame_size = camConfig->getReso...
37.825243
147
0.728183
fbredius
7b9a3720b498e04ab54ebadc197a08c67a67d944
1,118
cpp
C++
src/reader.cpp
data-bridge/build
1bd37f7061d9bd5caf0c1bd9c5cbbd85c7a45486
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
src/reader.cpp
data-bridge/build
1bd37f7061d9bd5caf0c1bd9c5cbbd85c7a45486
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
src/reader.cpp
data-bridge/build
1bd37f7061d9bd5caf0c1bd9c5cbbd85c7a45486
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
/* Part of BridgeData. Copyright (C) 2016-17 by Soren Hein. See LICENSE and README. */ #include <iostream> #if defined(_WIN32) && defined(__MINGW32__) #include "mingw.thread.h" #else #include <thread> #endif #include "args.h" #include "Files.h" #include "AllStats.h" #include "dispatch.h" using name...
18.327869
76
0.67263
data-bridge
7b9e10ab1ad581b173f46315189e82526dcb0bdb
10,190
cpp
C++
tests/src/json_stream_reader_tests.cpp
Cebtenzzre/jsoncons
2301edbad93265a4f64c74609bc944cd279eb2a7
[ "BSL-1.0" ]
null
null
null
tests/src/json_stream_reader_tests.cpp
Cebtenzzre/jsoncons
2301edbad93265a4f64c74609bc944cd279eb2a7
[ "BSL-1.0" ]
null
null
null
tests/src/json_stream_reader_tests.cpp
Cebtenzzre/jsoncons
2301edbad93265a4f64c74609bc944cd279eb2a7
[ "BSL-1.0" ]
null
null
null
// Copyright 2018 Daniel Parker // Distributed under Boost license #include <catch/catch.hpp> #include <jsoncons/json.hpp> #include <jsoncons/json_serializer.hpp> #include <jsoncons/json_stream_reader.hpp> #include <sstream> #include <vector> #include <utility> #include <ctime> using namespace jsoncons; TEST_CASE("j...
30.972644
88
0.644259
Cebtenzzre
7ba2da4ac00956231e3ccac5506bdc31a1cce4f8
4,939
cc
C++
src/sdk/test/batch_muation_test.cc
cuisonghui/tera
99a3f16de13dd454a64d64e938fcfeb030674d5f
[ "Apache-2.0", "BSD-3-Clause" ]
2,003
2015-07-13T08:36:45.000Z
2022-03-26T02:10:07.000Z
src/sdk/test/batch_muation_test.cc
a1e2w3/tera
dbcd28af792d879d961bf9fc7eb60de81b437646
[ "Apache-2.0", "BSD-3-Clause" ]
981
2015-07-14T00:03:24.000Z
2021-05-10T09:50:01.000Z
src/sdk/test/batch_muation_test.cc
a1e2w3/tera
dbcd28af792d879d961bf9fc7eb60de81b437646
[ "Apache-2.0", "BSD-3-Clause" ]
461
2015-07-14T02:53:35.000Z
2022-03-10T10:31:49.000Z
// Copyright (c) 2015-2018, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Author: baorenyi@baidu.com #include <atomic> #include <iostream> #include <string> #include <thread> #include <memory> #include "gflags/gflags.h...
33.828767
96
0.678072
cuisonghui
7babe23056c9b996729ed10b7e0de941c3ebd3f5
3,523
cpp
C++
lib/ipv4addr.cpp
reroman/libreroarp
f269fda1260ff42f688258c95504ded318c5a3a8
[ "BSD-3-Clause" ]
null
null
null
lib/ipv4addr.cpp
reroman/libreroarp
f269fda1260ff42f688258c95504ded318c5a3a8
[ "BSD-3-Clause" ]
null
null
null
lib/ipv4addr.cpp
reroman/libreroarp
f269fda1260ff42f688258c95504ded318c5a3a8
[ "BSD-3-Clause" ]
null
null
null
#include <reroman/ipv4addr.hpp> #include <stdexcept> #include <system_error> #include <cerrno> #include <cstring> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <net/if.h> using namespace std; using namespace reroman; IPv4Addr::IPv4Addr( uint32_t addr ) noexcept :...
20.017045
66
0.665626
reroman
7bb4842f206386551cbb595198813881c22b5ce2
599
hpp
C++
Source/Ilum/Geometry/Mesh/Process/Parameterization.hpp
Chaf-Libraries/Ilum
83d0b7d4f2ba6cc3ba586f5442a09d55b69aedf8
[ "MIT" ]
11
2022-01-09T05:32:56.000Z
2022-03-28T06:35:16.000Z
Source/Ilum/Geometry/Mesh/Process/Parameterization.hpp
Chaf-Libraries/Ilum
83d0b7d4f2ba6cc3ba586f5442a09d55b69aedf8
[ "MIT" ]
null
null
null
Source/Ilum/Geometry/Mesh/Process/Parameterization.hpp
Chaf-Libraries/Ilum
83d0b7d4f2ba6cc3ba586f5442a09d55b69aedf8
[ "MIT" ]
1
2021-11-20T15:39:03.000Z
2021-11-20T15:39:03.000Z
#pragma once #include "IMeshProcess.hpp" namespace Ilum::geometry { class Parameterization : public IMeshProcess { public: enum class TutteWeightType { Uniform, Cotangent, ShapePreserving }; static std::pair<std::vector<Vertex>, std::vector<uint32_t>> MinimumSurface(const std::vector<Vertex> &in_vertices...
28.52381
194
0.752922
Chaf-Libraries
7bb8ee6ab7343c12d49cce4f1ddd761d109e8fab
687
hpp
C++
test/mock/core/runtime/core_factory_mock.hpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
test/mock/core/runtime/core_factory_mock.hpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
test/mock/core/runtime/core_factory_mock.hpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef KAGOME_CORE_FACTORY_MOCK_HPP #define KAGOME_CORE_FACTORY_MOCK_HPP #include "runtime/binaryen/core_factory.hpp" #include <gmock/gmock.h> namespace kagome::runtime::binaryen { class CoreFactoryMock : public...
23.689655
75
0.72198
igor-egorov
7bc20553db5798d3a40b8b3e586070525f7dc4f7
3,451
cpp
C++
Examples/IocTest/main.cpp
mrcao20/McQuickBoot
187a16ea9459fa5e2b3477b5280302a9090e8ccf
[ "MIT" ]
3
2020-03-29T18:41:42.000Z
2020-09-23T01:46:25.000Z
Examples/IocTest/main.cpp
mrcao20/McQuickBoot
187a16ea9459fa5e2b3477b5280302a9090e8ccf
[ "MIT" ]
3
2020-11-26T03:37:31.000Z
2020-12-21T02:17:17.000Z
Examples/IocTest/main.cpp
mrcao20/McQuickBoot
187a16ea9459fa5e2b3477b5280302a9090e8ccf
[ "MIT" ]
null
null
null
#include <QBuffer> #include <QCoreApplication> #include <QDebug> #include <QFile> #include <QTextStream> #include <QThread> #include <McIoc/ApplicationContext/impl/McLocalPathApplicationContext.h> #include <McIoc/ApplicationContext/impl/McAnnotationApplicationContext.h> #include <McIoc/ApplicationContext/impl/McXmlApp...
32.252336
92
0.671689
mrcao20
7bc2289c2f00a37905ef4e3a1be95dcd6e18a1c3
1,929
cpp
C++
Code/Runtime/Asset/CacheStream.cpp
NathanSaidas/LiteForgeMirror
84068b62bff6e443b53c46107a3946e2645e4447
[ "MIT" ]
null
null
null
Code/Runtime/Asset/CacheStream.cpp
NathanSaidas/LiteForgeMirror
84068b62bff6e443b53c46107a3946e2645e4447
[ "MIT" ]
null
null
null
Code/Runtime/Asset/CacheStream.cpp
NathanSaidas/LiteForgeMirror
84068b62bff6e443b53c46107a3946e2645e4447
[ "MIT" ]
null
null
null
// ******************************************************************** // Copyright (c) 2019 Nathan Hanlan // // 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, includ...
34.446429
116
0.67859
NathanSaidas
7bc4194e25196b4cc5d934b22032c7f2a2d5ac11
6,520
cpp
C++
src/overlay_params.cpp
DasCapschen/DiRT-Rally-2.0-Telemetry-HUD
7eaa754d7791239753b9d9209d574b654d120eb6
[ "MIT" ]
4
2020-02-21T18:16:42.000Z
2021-08-23T16:46:48.000Z
src/overlay_params.cpp
DasCapschen/DiRT-Rally-2.0-Telemetry-HUD
7eaa754d7791239753b9d9209d574b654d120eb6
[ "MIT" ]
null
null
null
src/overlay_params.cpp
DasCapschen/DiRT-Rally-2.0-Telemetry-HUD
7eaa754d7791239753b9d9209d574b654d120eb6
[ "MIT" ]
1
2020-06-09T10:57:22.000Z
2020-06-09T10:57:22.000Z
/* * Copyright © 2019 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, pub...
29.369369
79
0.596166
DasCapschen
7bc509aa911f1dba9daf558ccc7ed516521b31a3
789
hpp
C++
src/unpack_command.hpp
tzvetkoff/giffler
87133592e064f66a611ce9e00b670c20ec99dd82
[ "Beerware" ]
null
null
null
src/unpack_command.hpp
tzvetkoff/giffler
87133592e064f66a611ce9e00b670c20ec99dd82
[ "Beerware" ]
null
null
null
src/unpack_command.hpp
tzvetkoff/giffler
87133592e064f66a611ce9e00b670c20ec99dd82
[ "Beerware" ]
null
null
null
/* * ---------------------------------------------------------------------------- * "THE BEER-WARE LICENSE" (Revision 42): * <Latchezar Tzvetkoff> 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 ...
21.916667
79
0.569075
tzvetkoff
7bc53ae94b3ca39bd14c3e0a7b5f30eb6c68be27
1,095
cpp
C++
test/math/convolution/fast_zeta_transform.test.cpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
1
2021-12-26T14:17:29.000Z
2021-12-26T14:17:29.000Z
test/math/convolution/fast_zeta_transform.test.cpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
3
2020-07-13T06:23:02.000Z
2022-02-16T08:54:26.000Z
test/math/convolution/fast_zeta_transform.test.cpp
emthrm/library
0876ba7ec64e23b5ec476a7a0b4880d497a36be1
[ "Unlicense" ]
null
null
null
/* * @brief 数学/畳み込み/高速ゼータ変換 */ #define PROBLEM "https://atcoder.jp/contests/arc100/tasks/arc100_e" // #define PROBLEM "https://atcoder.jp/contests/arc100/tasks/arc100_c" #include <algorithm> #include <functional> #include <iostream> #include <utility> #include <vector> #include "../../../math/convolution/...
27.375
83
0.527854
emthrm
7bc5b45449fe670815fcb8e5f14e42101ef1723c
3,168
cc
C++
Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/GroupInfo.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/GroupInfo.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/GroupInfo.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* Copyright(c) Sophist Solutions Inc. 1991-1992. All rights reserved */ /* * $Header: /fuji/lewis/RCS/GroupInfo.cc,v 1.4 1992/07/21 18:28:39 sterling Exp $ * * Description: * * TODO: * * Changes: * $Log: GroupInfo.cc,v $ * Revision 1.4 1992/07/21 18:28:39 sterling * hi * * Revision 1.3 1992/07/16 ...
20.842105
94
0.681503
SophistSolutions
dcf5536bb29ae71b60c5178414f51678e576aa3d
1,479
cpp
C++
src/lib/Checksum/Checksum.cpp
Flowm/move-on-helium-sensors
3794d38671e1976c9801bcb8a9639465cdddb731
[ "Apache-2.0" ]
1
2021-11-11T01:49:28.000Z
2021-11-11T01:49:28.000Z
src/lib/Checksum/Checksum.cpp
Flowm/move-on-helium-sensors
3794d38671e1976c9801bcb8a9639465cdddb731
[ "Apache-2.0" ]
null
null
null
src/lib/Checksum/Checksum.cpp
Flowm/move-on-helium-sensors
3794d38671e1976c9801bcb8a9639465cdddb731
[ "Apache-2.0" ]
null
null
null
/* * Checksum.cpp * * Created on: Jan 31, 2018 * Author: tkale */ #include "Checksum.hpp" /** * Calculate CRC-16-CCITT in hardware * * @param [in] data A pointer to the data * @param [in] len The length of the data * * WARNING: Doesnt seem to work! * * @return The CRC16 checksum of data * */ uint...
21.434783
76
0.592292
Flowm
0d05be0a539ab2709befd17f4c1dd7575dcfc3fc
538
cpp
C++
791. Custom Sort String.cpp
ttang235/leetcode
ae2d6f61c80178f09de816210f53b00a838b0508
[ "MIT" ]
null
null
null
791. Custom Sort String.cpp
ttang235/leetcode
ae2d6f61c80178f09de816210f53b00a838b0508
[ "MIT" ]
null
null
null
791. Custom Sort String.cpp
ttang235/leetcode
ae2d6f61c80178f09de816210f53b00a838b0508
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/custom-sort-string/description/ class Solution { public: string customSortString(string S, string T) { vector<int> cnt(26, 0); for(auto c : T) { cnt[c - 'a']++; } string res; for(auto c : S) { res += string(cnt[c-'a'],...
23.391304
64
0.410781
ttang235
0d064ed4f1da137c1c12b430b7e50b792315d0d5
592
cpp
C++
src/ActiveBSP/src/ActorRegistry.cpp
fbaude/activebsp
d867d74e58bde38cc0f816bcb23c6c41a5bb4f81
[ "BSD-3-Clause" ]
null
null
null
src/ActiveBSP/src/ActorRegistry.cpp
fbaude/activebsp
d867d74e58bde38cc0f816bcb23c6c41a5bb4f81
[ "BSD-3-Clause" ]
null
null
null
src/ActiveBSP/src/ActorRegistry.cpp
fbaude/activebsp
d867d74e58bde38cc0f816bcb23c6c41a5bb4f81
[ "BSD-3-Clause" ]
null
null
null
#include "ActorRegistry.h" namespace activebsp { ActorRegistry * ActorRegistry::_instance = NULL; actor_registry_t & ActorRegistry::getActorRegistry() { static actor_registry_t * actor_handlers = new actor_registry_t(); return *actor_handlers; } ActorRegistry * ActorRegistry::getInstance() { if (_instan...
19.096774
79
0.716216
fbaude
0d07091ade61e54ebdde5051b8bcb2f3fb80e92b
1,376
cpp
C++
CepsyGLFramework/CepsyGLFramework/src/Graphics/AnimationData.cpp
cepsylon/CepsyGLFramework
72cf710c892ff34aeac5ed47b0b7799756a04032
[ "MIT" ]
null
null
null
CepsyGLFramework/CepsyGLFramework/src/Graphics/AnimationData.cpp
cepsylon/CepsyGLFramework
72cf710c892ff34aeac5ed47b0b7799756a04032
[ "MIT" ]
null
null
null
CepsyGLFramework/CepsyGLFramework/src/Graphics/AnimationData.cpp
cepsylon/CepsyGLFramework
72cf710c892ff34aeac5ed47b0b7799756a04032
[ "MIT" ]
null
null
null
#include "AnimationData.h" #include "Animation.h" #include "Application/Application.h" void AnimationData::update(float dt) { if (mAnimation) { mTime += dt; while (mAnimation->duration() < mTime) { mTime -= mAnimation->duration(); mPrevIndex = mIndex; mIndex = 0; } // TODO: fix this, we are ass...
23.322034
149
0.682413
cepsylon
0d1b8a5ee0a0e3d963a4a9c2dc913b838395b83e
15,548
cpp
C++
sunvox_engine/psynth/psynths_filter.cpp
Sound-Linux-More/sunvox
7376fbe9f9bca92be1e17aefaac2e68b558d8357
[ "BSD-3-Clause" ]
100
2016-01-15T02:43:07.000Z
2022-03-16T14:02:38.000Z
sunvox_engine/psynth/psynths_filter.cpp
Sound-Linux-More/sunvox
7376fbe9f9bca92be1e17aefaac2e68b558d8357
[ "BSD-3-Clause" ]
2
2018-01-10T18:21:37.000Z
2021-12-05T01:48:08.000Z
sunvox_engine/psynth/psynths_filter.cpp
Sound-Linux-More/sunvox
7376fbe9f9bca92be1e17aefaac2e68b558d8357
[ "BSD-3-Clause" ]
17
2016-05-16T19:48:19.000Z
2022-03-23T10:59:42.000Z
/* psynths_filter.cpp. This file is part of the SunVox engine. Copyright (C) 2002 - 2008 Alex Zolotov <nightradio@gmail.com> */ #include "psynth.h" //Unique names for objects in your synth: #define SYNTH_DATA filter_data #define SYNTH_HANDLER psynth_filter //And unique parameters: #define SYNTH_INPU...
27.087108
120
0.532223
Sound-Linux-More
0d2058ee7b206d3ca75aaa0e944ca25408010533
20,840
cpp
C++
src/engine/visibility/quadtree.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
2
2019-06-22T23:29:44.000Z
2019-07-07T18:34:04.000Z
src/engine/visibility/quadtree.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
src/engine/visibility/quadtree.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
/** * @file quadtree.cpp * @brief * @author Emmanuel RUFFIO (emmanuel.ruffio@gmail.com) * @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org) * @date 2001-12-25 * @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved. * @details */ #include "o3d/engine/precompiled.h" #include "o3d/...
29.393512
128
0.614971
dream-overflow
0d251186cca5970cbdcc2327dd32d62023d31798
1,358
cpp
C++
tools/CustomUI/customUI.cpp
RuanauR/BetterEdit
9e4c031b8dec0c80f901f79d9f4a40173a52725b
[ "MIT" ]
30
2021-01-25T22:25:05.000Z
2022-01-22T13:18:19.000Z
tools/CustomUI/customUI.cpp
RuanauR/BetterEdit
9e4c031b8dec0c80f901f79d9f4a40173a52725b
[ "MIT" ]
9
2021-07-03T11:41:47.000Z
2022-03-30T15:14:46.000Z
tools/CustomUI/customUI.cpp
RuanauR/BetterEdit
9e4c031b8dec0c80f901f79d9f4a40173a52725b
[ "MIT" ]
3
2021-07-01T20:52:24.000Z
2022-01-13T16:16:58.000Z
#include "customUI.hpp" #include "../../hooks/EditorPauseLayer.hpp" void EditorPauseLayer_CB::onCustomizeUI(CCObject*) { UIManager::get()->startCustomizing(); this->onResume(nullptr); } void loadEditorCustomizations(EditorUI* self) { self->m_pCopyBtn->removeFromParent(); self->m_pPasteBtn->removeFromP...
34.820513
75
0.693667
RuanauR
0d2859253f6d4463f3e6be5b72a87d4de46e12f0
527
cpp
C++
solutions/228.summary-ranges.318085037.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/228.summary-ranges.318085037.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/228.summary-ranges.318085037.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
class Solution { public: vector<string> summaryRanges(vector<int> &nums) { vector<pair<int, int>> ranges; for (int n : nums) { if (ranges.empty() || ranges.back().second + 1 != n) ranges.emplace_back(n, n); else ranges.back().second++; } vector<string> result; for (a...
21.958333
74
0.56926
satu0king
0d293d4448c4883356ecfdab4bca391a47f039a1
234
cpp
C++
gds/vadd.cpp
TheGPU/amdgpu-code
bb249b33b8b9ad15c195b591959f5cedfb552044
[ "MIT" ]
4
2018-02-11T13:00:57.000Z
2018-06-02T13:15:47.000Z
gds/vadd.cpp
IceNarwhal/amdgpu-code
bb249b33b8b9ad15c195b591959f5cedfb552044
[ "MIT" ]
2
2017-04-04T19:53:04.000Z
2017-05-10T16:15:12.000Z
gds/vadd.cpp
TheGPU/amdgpu-code
bb249b33b8b9ad15c195b591959f5cedfb552044
[ "MIT" ]
1
2021-05-21T08:08:43.000Z
2021-05-21T08:08:43.000Z
#include<iostream> #include<hip/hip_runtime.h> #include<hip/hip_runtime_api.h> #define LEN 16 __global__ void vAdd(hipLaunchParm lp, float *A, float *B, float *C){ int tx = hipThreadIdx_x; C[tx] = A[tx] + B[tx]; } int main(){}
18
69
0.683761
TheGPU
0d300a3aaa94ad42feb187f211b34dc921b16a82
3,810
cpp
C++
C Plus Plus/Graph/Floyd_Warshall_Shortest_Path.cpp
Amisha328/DS-Algo
34576fbe95717b1d3e2f75b0a04c631ca1833091
[ "MIT" ]
8
2021-06-19T12:49:46.000Z
2021-08-01T05:32:54.000Z
C Plus Plus/Graph/Floyd_Warshall_Shortest_Path.cpp
Amisha328/DS-Algo
34576fbe95717b1d3e2f75b0a04c631ca1833091
[ "MIT" ]
61
2021-06-10T08:22:51.000Z
2021-07-29T05:47:52.000Z
C Plus Plus/Graph/Floyd_Warshall_Shortest_Path.cpp
Amisha328/DS-Algo
34576fbe95717b1d3e2f75b0a04c631ca1833091
[ "MIT" ]
6
2021-06-10T08:28:26.000Z
2021-07-23T03:36:46.000Z
/* Floyd Warshall Shortest Path Algorithm is applied to find the shortest distance between two vertices in a graph. It is based on a formula given by floyd-warshall i.e. distance(k)[i][j] = minimum of (distance(k-1)[i][j] , distance(k-1)[i][k] + distance(k-1)[k][j]) where, i and j are the sou...
28.222222
104
0.572441
Amisha328
0d36f6d5205dcebed842075a6aaef7dc389eea5b
1,720
hxx
C++
include/usagi/json/picojson/to_bool.hxx
usagi/usagi
2d57d21eeb92eadfdf4154a3e470aebfc3e388e5
[ "MIT" ]
2
2016-11-20T04:59:17.000Z
2017-02-13T01:44:37.000Z
include/usagi/json/picojson/to_bool.hxx
usagi/usagi
2d57d21eeb92eadfdf4154a3e470aebfc3e388e5
[ "MIT" ]
3
2015-09-28T12:00:02.000Z
2015-09-28T12:03:21.000Z
include/usagi/json/picojson/to_bool.hxx
usagi/usagi
2d57d21eeb92eadfdf4154a3e470aebfc3e388e5
[ "MIT" ]
3
2017-07-02T06:09:47.000Z
2018-07-09T01:00:57.000Z
#pragma once #include "type.hxx" namespace usagi::json::picojson { static inline auto to_bool( const boolean_type in ) { return in; } /// @note ECMA-262 NaN: Boolean( 0/0 ) -> false /// @note ECMA-262 +Inf: Boolean( +1/0 ) -> true /// @note ECMA-262 -Inf: Boolean( -1/0 ) -> true static inline auto to_boo...
27.741935
68
0.59593
usagi
0d379fa4ba8a49230f96d1116eb76ef27edaeec0
5,126
cc
C++
src/Hmm/HiddenMarkovModel.cc
alexanderrichard/squirrel
12614a9eb429500c8f341654043f33a1b6bd1d31
[ "AFL-3.0" ]
63
2016-07-08T13:35:27.000Z
2021-01-13T18:37:13.000Z
src/Hmm/HiddenMarkovModel.cc
alexanderrichard/squirrel
12614a9eb429500c8f341654043f33a1b6bd1d31
[ "AFL-3.0" ]
4
2017-08-04T09:25:10.000Z
2022-02-24T15:38:52.000Z
src/Hmm/HiddenMarkovModel.cc
alexanderrichard/squirrel
12614a9eb429500c8f341654043f33a1b6bd1d31
[ "AFL-3.0" ]
30
2016-05-11T02:24:46.000Z
2021-11-12T14:06:20.000Z
/* * Copyright 2016 Alexander Richard * * This file is part of Squirrel. * * Licensed under the Academic Free License 3.0 (the "License"). * You may not use this file except in compliance with the License. * You should have received a copy of the License along with Squirrel. * If not, see <https://opensource.or...
28.960452
140
0.738978
alexanderrichard
0d3822f67c8867bd02497940e7c7d798801b842a
9,982
cpp
C++
plugins/WinVST/Ditherbox/Ditherbox.cpp
PanieriLorenzo/airwindows
03fe0bddb4689eddd5444116ba4862942d069b76
[ "MIT" ]
446
2018-01-22T18:03:39.000Z
2022-03-31T18:57:27.000Z
plugins/WinVST/Ditherbox/Ditherbox.cpp
PanieriLorenzo/airwindows
03fe0bddb4689eddd5444116ba4862942d069b76
[ "MIT" ]
33
2018-01-24T20:36:48.000Z
2022-03-23T21:27:37.000Z
plugins/WinVST/Ditherbox/Ditherbox.cpp
PanieriLorenzo/airwindows
03fe0bddb4689eddd5444116ba4862942d069b76
[ "MIT" ]
71
2018-02-16T18:17:21.000Z
2022-03-24T21:31:46.000Z
/* ======================================== * Ditherbox - Ditherbox.h * Copyright (c) 2016 airwindows, All rights reserved * ======================================== */ #ifndef __Ditherbox_H #include "Ditherbox.h" #endif AudioEffect* createEffectInstance(audioMasterCallback audioMaster) {return new Ditherbox(aud...
33.273333
104
0.676418
PanieriLorenzo
0d3f6b8cfd3a4a6999441ceb0071d9275d3534b3
4,071
cpp
C++
ds2/lib_demonsaw/component/chat_idle_component.cpp
demonsaw/Code
b036d455e9e034d7fd178e63d5e992242d62989a
[ "MIT" ]
132
2017-03-22T03:46:38.000Z
2022-03-08T15:08:16.000Z
ds2/lib_demonsaw/component/chat_idle_component.cpp
demonsaw/Code
b036d455e9e034d7fd178e63d5e992242d62989a
[ "MIT" ]
4
2017-04-06T17:46:10.000Z
2018-08-08T18:27:59.000Z
ds2/lib_demonsaw/component/chat_idle_component.cpp
demonsaw/Code
b036d455e9e034d7fd178e63d5e992242d62989a
[ "MIT" ]
30
2017-03-26T22:38:17.000Z
2021-11-21T20:50:17.000Z
// // The MIT License(MIT) // // Copyright(c) 2014 Demonsaw LLC // // 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, c...
23
131
0.669369
demonsaw
0d44f4292eb3dbad76d97d0ceb887f16194a6eb9
1,533
cpp
C++
test/bench/cpp/rbtree-ck.cpp
lovebaihezi/koka
b1670308f88dd1fc6c22cad28385fcb185d5b27d
[ "Apache-2.0" ]
2,057
2016-12-21T18:14:47.000Z
2022-03-30T13:51:43.000Z
test/bench/cpp/rbtree-ck.cpp
lovebaihezi/koka
b1670308f88dd1fc6c22cad28385fcb185d5b27d
[ "Apache-2.0" ]
207
2017-01-15T03:17:34.000Z
2022-03-23T06:39:40.000Z
test/bench/cpp/rbtree-ck.cpp
lovebaihezi/koka
b1670308f88dd1fc6c22cad28385fcb185d5b27d
[ "Apache-2.0" ]
116
2017-01-25T19:17:49.000Z
2022-03-11T01:25:57.000Z
// Try persisting std:map through copying; is too slow... // We should try to make a persistent RB tree in C++ but this is not trivial to do... #include <iostream> #include <map> #include <list> #include <algorithm> #include <memory> // #include "util/nat.h" // #include "util/list.h" // using namespace lean; using std...
24.333333
106
0.585127
lovebaihezi
0d4c744a76f95c97a248ba7f551d359e7406e9c4
4,225
hpp
C++
include/exec.hpp
geraldc-unm/Comb
790d054f9722e6752a27a1c2e08c135f9d5b8e75
[ "MIT" ]
21
2018-10-03T18:15:04.000Z
2022-02-16T08:07:50.000Z
include/exec.hpp
geraldc-unm/Comb
790d054f9722e6752a27a1c2e08c135f9d5b8e75
[ "MIT" ]
5
2019-10-07T23:06:57.000Z
2021-08-16T16:10:58.000Z
include/exec.hpp
geraldc-unm/Comb
790d054f9722e6752a27a1c2e08c135f9d5b8e75
[ "MIT" ]
6
2019-09-13T16:47:33.000Z
2022-03-03T16:17:32.000Z
////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2018-2021, Lawrence Livermore National Security, LLC. // // Produced at the Lawrence Livermore National Laboratory // // LLNL-CODE-758885 // // All rights reserved. // // This file is part of Comb. // // For details, see htt...
24.142857
199
0.725207
geraldc-unm
0d505c9bb221def9f896b1ac514935a8c9feb8ae
403
cpp
C++
Treads!/ScoreRecord.cpp
JoeKooler/Treads
5412d4a94a7b331aa37d04ff85e6f9e53da1150b
[ "MIT" ]
null
null
null
Treads!/ScoreRecord.cpp
JoeKooler/Treads
5412d4a94a7b331aa37d04ff85e6f9e53da1150b
[ "MIT" ]
null
null
null
Treads!/ScoreRecord.cpp
JoeKooler/Treads
5412d4a94a7b331aa37d04ff85e6f9e53da1150b
[ "MIT" ]
null
null
null
#include "ScoreRecord.hpp" using namespace std; ScoreRecord::ScoreRecord(std::string nameStr, int scoreVal, float timeVal) : name(nameStr), score(scoreVal), time(timeVal) { } void ScoreRecord::write(std::ostream & strm) const { strm << name << " "; strm << score << " "; strm << time << endl; } v...
19.190476
123
0.62531
JoeKooler
0d55e3d06c3d011f9c37c453b15ebbd14e0e909e
126
cpp
C++
contrib/UnitTest++/src/tests/Main.cpp
Alexander-Ignatyev/optimer
fc0fb8ffd35e6326f60d77c144cfe7635a6edaa7
[ "BSD-3-Clause" ]
null
null
null
contrib/UnitTest++/src/tests/Main.cpp
Alexander-Ignatyev/optimer
fc0fb8ffd35e6326f60d77c144cfe7635a6edaa7
[ "BSD-3-Clause" ]
null
null
null
contrib/UnitTest++/src/tests/Main.cpp
Alexander-Ignatyev/optimer
fc0fb8ffd35e6326f60d77c144cfe7635a6edaa7
[ "BSD-3-Clause" ]
null
null
null
#include "../TestRunnerTeamCity.h" int main(int, char const *[]) { return UnitTest::RunAllTestsWithTeamCity(); }
15.75
48
0.650794
Alexander-Ignatyev
0d562cab15d064ea2ea82648da228fecb4314811
6,517
cpp
C++
src/PhantomEngine/PhantomUITextBox.cpp
DexianZhao/PhantomEngineV2
cc3bf02ca1d442713d471ca8835ca026bb32e841
[ "MIT" ]
1
2021-10-30T07:38:25.000Z
2021-10-30T07:38:25.000Z
src/PhantomEngine/PhantomUITextBox.cpp
DexianZhao/PhantomEngineV2
cc3bf02ca1d442713d471ca8835ca026bb32e841
[ "MIT" ]
null
null
null
src/PhantomEngine/PhantomUITextBox.cpp
DexianZhao/PhantomEngineV2
cc3bf02ca1d442713d471ca8835ca026bb32e841
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////////////////////////////// /* 幻影游戏引擎, 2009-2016, Phantom Game Engine, http://www.aixspace.com Design Writer : 赵德贤 Dexian Zhao Email: yuzhou_995@hotmail.com */ ////////////////////////////////////////////////////////////////////////////////...
29.622727
197
0.651834
DexianZhao
0d579fffbca8a36f51ddfe773a5f0d234528cc0a
372
cpp
C++
IT-OOPs-A2/IT_OOP_L2Q2.cpp
umgbhalla/OOPsAssign
34cee8907fea4ee659b1e0cf146a2b1b09a96c3b
[ "MIT" ]
5
2021-09-03T18:33:40.000Z
2021-09-13T11:51:38.000Z
IT-OOPs-A2/IT_OOP_L2Q2.cpp
umgbhalla/OOPsAssign
34cee8907fea4ee659b1e0cf146a2b1b09a96c3b
[ "MIT" ]
1
2021-07-28T05:36:15.000Z
2021-07-28T05:36:15.000Z
IT-OOPs-A2/IT_OOP_L2Q2.cpp
umgbhalla/OOPsAssign
34cee8907fea4ee659b1e0cf146a2b1b09a96c3b
[ "MIT" ]
4
2021-07-28T05:26:52.000Z
2021-07-28T16:19:03.000Z
#include <iostream> using namespace std; int reversDigits(int n) { int rev_n = 0; while (n > 0) { rev_n = rev_n * 10 + n % 10; n = n / 10; } return rev_n; } int main() { int n = 0; cout << "Enter Integer value :: "; cin >> n; cout << "\nReverse of Integer value i...
14.88
75
0.5
umgbhalla
0d594964b80acaba29852914d098dd286b38795b
80
cpp
C++
Firefly/vendor/stb/stb_sprintf.cpp
Latias94/Firefly
ad6671df0b16ed9481b013936ba06ffc3be80e60
[ "Apache-2.0" ]
null
null
null
Firefly/vendor/stb/stb_sprintf.cpp
Latias94/Firefly
ad6671df0b16ed9481b013936ba06ffc3be80e60
[ "Apache-2.0" ]
null
null
null
Firefly/vendor/stb/stb_sprintf.cpp
Latias94/Firefly
ad6671df0b16ed9481b013936ba06ffc3be80e60
[ "Apache-2.0" ]
null
null
null
#include "ffpch.h" #define STB_SPRINTF_IMPLEMENTATION #include "stb_sprintf.h"
16
34
0.8
Latias94
0d5e451ba86c4fc06c9ee90cf820a4e0e7910b2e
41,787
cpp
C++
src/network/postgres_protocol_handler.cpp
phisiart/peloton
c2becb9d6f2e2c8f48696a371b0d7c0ff79d56fc
[ "Apache-2.0" ]
1
2017-04-17T15:19:36.000Z
2017-04-17T15:19:36.000Z
src/network/postgres_protocol_handler.cpp
phisiart/peloton
c2becb9d6f2e2c8f48696a371b0d7c0ff79d56fc
[ "Apache-2.0" ]
5
2017-04-23T17:16:14.000Z
2017-04-25T03:14:16.000Z
src/network/postgres_protocol_handler.cpp
phisiart/peloton-p3
c2becb9d6f2e2c8f48696a371b0d7c0ff79d56fc
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Peloton // // postgres_protocol_handler.cpp // // Identification: src/network/postgres_protocol_handler.cpp // // Copyright (c) 2015-17, Carnegie Mellon University Database Group // //===----------------------...
35.056208
112
0.675042
phisiart
0d609507770c42304e822774cfce78e26207ce2f
1,580
cpp
C++
code/client/citicore/GameMode.Win32.cpp
MyNameIsYesgo/fivem
6def381fa0a992261a4414fae700c1c077e59327
[ "MIT" ]
5
2020-07-26T16:06:24.000Z
2021-05-01T14:29:40.000Z
code/client/citicore/GameMode.Win32.cpp
MyNameIsYesgo/fivem
6def381fa0a992261a4414fae700c1c077e59327
[ "MIT" ]
6
2021-05-11T09:09:11.000Z
2022-03-23T18:34:23.000Z
code/client/citicore/GameMode.Win32.cpp
MyNameIsYesgo/fivem
6def381fa0a992261a4414fae700c1c077e59327
[ "MIT" ]
3
2020-11-09T12:41:05.000Z
2022-01-24T23:16:15.000Z
#include "StdInc.h" #include "ComponentLoader.h" #include "ToolComponent.h" #include <ResumeComponent.h> #include <Error.h> extern "C" DLL_EXPORT void GameMode_Init() { ComponentLoader* loader = ComponentLoader::GetInstance(); loader->Initialize(); // TODO: init dep tree fwRefContainer<ComponentData> cliCompon...
29.259259
136
0.744304
MyNameIsYesgo
0d60e9f614496667146802167c8e9ef9105a60af
35,069
cc
C++
src/xwrouter_xid_handler.cc
telosprotocol/xwrouter
20ef56c4ec2eaf0b7fd8baab1e06dfbcfbfe22c7
[ "MIT" ]
13
2019-09-17T08:49:46.000Z
2020-01-13T08:06:14.000Z
src/xwrouter_xid_handler.cc
telosprotocol/xwrouter
20ef56c4ec2eaf0b7fd8baab1e06dfbcfbfe22c7
[ "MIT" ]
null
null
null
src/xwrouter_xid_handler.cc
telosprotocol/xwrouter
20ef56c4ec2eaf0b7fd8baab1e06dfbcfbfe22c7
[ "MIT" ]
null
null
null
// Copyright (c) 2017-2019 Telos Foundation & contributors // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "xwrouter/message_handler/xwrouter_xid_handler.h" #include <algorithm> #include "xpbase/base/kad_key/get_kadml...
37.708602
144
0.645214
telosprotocol
0d638a65e38bcdbcae82f465615f70ed64c5b2ed
356
cpp
C++
QtOpenCV/main.cpp
ayaromenok/utils
d3bfd1f8b842def00d32834100ac893f2ae4638b
[ "MIT" ]
null
null
null
QtOpenCV/main.cpp
ayaromenok/utils
d3bfd1f8b842def00d32834100ac893f2ae4638b
[ "MIT" ]
7
2018-04-04T11:46:21.000Z
2020-06-12T14:44:31.000Z
QtOpenCV/main.cpp
ayaromenok/utils
d3bfd1f8b842def00d32834100ac893f2ae4638b
[ "MIT" ]
null
null
null
#include <QApplication> #include <QDebug> #include "cvwidget.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); qDebug() << "++++++++++++++++++++++++++++++++++++++++++"; qDebug() << "|\tQt OpenCV stub app \t|"; qDebug() << "------------------------------------------"; CvWidget w; ...
22.25
61
0.424157
ayaromenok
0d6eecec20affe9494c0a8fdcc96b95db8d1a440
30,077
inl
C++
Lumos/External/imgui/plugins/ImGuiAl/fonts/ProggyCleanSZ.inl
perefm/Lumos
2f0ae4d0bad1447b5318043500751be1753666a2
[ "MIT" ]
672
2019-01-29T18:14:40.000Z
2022-03-31T20:38:40.000Z
Lumos/External/imgui/plugins/ImGuiAl/fonts/ProggyCleanSZ.inl
gameconstructer/Lumos
92f6e812fdfc9404bf557e131679ae9071f25c80
[ "MIT" ]
25
2019-10-05T17:16:13.000Z
2021-12-29T01:40:04.000Z
Lumos/External/imgui/plugins/ImGuiAl/fonts/ProggyCleanSZ.inl
gameconstructer/Lumos
92f6e812fdfc9404bf557e131679ae9071f25c80
[ "MIT" ]
83
2019-03-13T14:11:12.000Z
2022-03-30T02:52:49.000Z
// File: 'ProggyCleanSZ.ttf' (41228 bytes) // Exported using binary_to_compressed_c.cpp static const unsigned int ProggyCleanSZ_compressed_size = 9614; static const unsigned int ProggyCleanSZ_compressed_data[9616/4] = { 0x0000bc57, 0x00000000, 0x0ca10000, 0x00000400, 0x00010037, 0x000c0000, 0x00030080, 0x2f534f40, ...
143.909091
148
0.805233
perefm
0d6fbe13958ea917914dd9f36a99095bedced173
25,912
cpp
C++
QTDialogs/ResultsAnalyzerTab/ResultsAnalyzerTab.cpp
msolids/musen
67d9a70d03d771ccda649c21b78d165684e31171
[ "BSD-3-Clause" ]
19
2020-09-28T07:22:50.000Z
2022-03-07T09:52:20.000Z
QTDialogs/ResultsAnalyzerTab/ResultsAnalyzerTab.cpp
LasCondes/musen
18961807928285ff802e050050f4c627dd7bec1e
[ "BSD-3-Clause" ]
5
2020-12-26T18:18:27.000Z
2022-02-23T22:56:43.000Z
QTDialogs/ResultsAnalyzerTab/ResultsAnalyzerTab.cpp
LasCondes/musen
18961807928285ff802e050050f4c627dd7bec1e
[ "BSD-3-Clause" ]
11
2020-11-02T11:32:03.000Z
2022-01-27T08:22:04.000Z
/* Copyright (c) 2013-2020, MUSEN Development Team. All rights reserved. This file is part of MUSEN framework http://msolids.net/musen. See LICENSE file for license and warranty information. */ #include "ResultsAnalyzerTab.h" #include "qtOperations.h" #include <QMessageBox> #include <QFileDialog> CAnalyzerThrea...
35.790055
214
0.793339
msolids
0d710ac67539bcd4976b0e80fbb224a418b64377
10,383
hpp
C++
MyBot/discord_profile_filesystem.hpp
Sijumah/Sijdiscbot
c58433b1bcaacc17ee17637c2daa6ce07d6d4120
[ "Apache-2.0" ]
null
null
null
MyBot/discord_profile_filesystem.hpp
Sijumah/Sijdiscbot
c58433b1bcaacc17ee17637c2daa6ce07d6d4120
[ "Apache-2.0" ]
null
null
null
MyBot/discord_profile_filesystem.hpp
Sijumah/Sijdiscbot
c58433b1bcaacc17ee17637c2daa6ce07d6d4120
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Sijf.hpp" #include <string.h> #include <string> #include <deque> #include <tuple> #include <array> #include<vector> #include <optional> namespace Sijdisc { struct gameprofile { std::string game_name; std::deque<std::pair<std::string,double>> game_stats; //A deque of for insta...
47.410959
313
0.663103
Sijumah
0d740f2ac7506d22caffb7fe306b683ddcb0402b
21,367
hpp
C++
src/vm/internal/ref_stream_tcp.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
14
2020-04-14T17:00:56.000Z
2021-08-30T08:29:26.000Z
src/vm/internal/ref_stream_tcp.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
27
2020-12-27T16:00:44.000Z
2021-08-01T13:12:14.000Z
src/vm/internal/ref_stream_tcp.hpp
BastianBlokland/novus
3b984c36855aa84d6746c14ff7e294ab7d9c1575
[ "MIT" ]
1
2020-05-29T18:33:37.000Z
2020-05-29T18:33:37.000Z
#pragma once #include "internal/os_include.hpp" #include "internal/platform_utilities.hpp" #include "internal/ref.hpp" #include "internal/ref_allocator.hpp" #include "internal/ref_string.hpp" #include "internal/settings.hpp" #include "internal/stream_opts.hpp" #include "internal/thread.hpp" #include "intrinsics.hpp" #i...
30.877168
100
0.683671
BastianBlokland
0d75976d5a721eda0c4153e5b1a0170f2675a3f5
926
cpp
C++
examples/CustomDemo/CustomServer/CustomServantImp.cpp
cSingleboy/TarsCpp
17b228b660d540baa1a93215fc007c5131a2fc68
[ "BSD-3-Clause" ]
386
2018-09-11T06:17:10.000Z
2022-03-31T05:59:41.000Z
examples/CustomDemo/CustomServer/CustomServantImp.cpp
cSingleboy/TarsCpp
17b228b660d540baa1a93215fc007c5131a2fc68
[ "BSD-3-Clause" ]
128
2018-09-12T03:43:33.000Z
2022-03-24T10:03:54.000Z
examples/CustomDemo/CustomServer/CustomServantImp.cpp
cSingleboy/TarsCpp
17b228b660d540baa1a93215fc007c5131a2fc68
[ "BSD-3-Clause" ]
259
2018-09-19T08:50:37.000Z
2022-03-11T07:17:56.000Z
#include "CustomServantImp.h" #include "servant/Application.h" using namespace std; ////////////////////////////////////////////////////// void CustomServantImp::initialize() { //initialize servant here: //... } ////////////////////////////////////////////////////// void CustomServantImp::destroy() { //...
23.74359
140
0.609071
cSingleboy
0d7d9e197253862c736a2348f2acca71e4567600
261
hpp
C++
tests/memory_resource_headers.hpp
olegpublicprofile/stdeasy
9f4ab01219f49ebab1983b4263d4dd6d3dc94bf0
[ "MIT" ]
5
2021-09-27T09:24:39.000Z
2021-10-14T12:34:46.000Z
tests/memory_resource_headers.hpp
olegpublicprofile/stdeasy
9f4ab01219f49ebab1983b4263d4dd6d3dc94bf0
[ "MIT" ]
null
null
null
tests/memory_resource_headers.hpp
olegpublicprofile/stdeasy
9f4ab01219f49ebab1983b4263d4dd6d3dc94bf0
[ "MIT" ]
null
null
null
#pragma once #include <stdeasy/memory_resource> #include <stdeasy/monotonic_buffer_resource> #include <stdeasy/polymorphic_allocator> #include <stdeasy/pool_options> #include <stdeasy/synchronized_pool_resource> #include <stdeasy/unsynchronized_pool_resource>
29
47
0.846743
olegpublicprofile
0d809854cbe613370439ebdcefa59e805b3642c0
11,783
cc
C++
tests/multi-test.cc
maxk-org/vdds
015473498661cb8f06868cce2dc4519a6452b861
[ "BSD-3-Clause" ]
null
null
null
tests/multi-test.cc
maxk-org/vdds
015473498661cb8f06868cce2dc4519a6452b861
[ "BSD-3-Clause" ]
null
null
null
tests/multi-test.cc
maxk-org/vdds
015473498661cb8f06868cce2dc4519a6452b861
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2021, Qualcomm Innovation Center, 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: // // 1. Redistributions of source code must retain the above copyright notice, // ...
28.324519
115
0.671985
maxk-org
0d82900198357ad2693a24a411ddb415aad4b6a4
584
hpp
C++
src/JImage.hpp
jildertviet/ofxJVisuals
878c5b0e7a7dda49ddb71b3f5d19c13987706a73
[ "MIT" ]
null
null
null
src/JImage.hpp
jildertviet/ofxJVisuals
878c5b0e7a7dda49ddb71b3f5d19c13987706a73
[ "MIT" ]
6
2021-10-16T07:10:04.000Z
2021-12-26T13:23:54.000Z
src/JImage.hpp
jildertviet/ofxJVisuals
878c5b0e7a7dda49ddb71b3f5d19c13987706a73
[ "MIT" ]
null
null
null
// // Image.hpp // Bas // // Created by Jildert Viet on 18-03-16. // // #ifndef Image_hpp #define Image_hpp #include <stdio.h> #include "ofMain.h" #include "Event.hpp" class JImage: public Event{ enum DrawMode{ DEFAULT }; public: JImage(string filename, ofVec2f loc = ofVec2...
16.685714
57
0.583904
jildertviet
0d8fe835f3d09c533a1b982dd950ec697e9208eb
188
cpp
C++
test.cpp
fobes/sfmath_tests
bc6b2f2a42b3392b421f042380b673d1da8b72f8
[ "Apache-2.0" ]
null
null
null
test.cpp
fobes/sfmath_tests
bc6b2f2a42b3392b421f042380b673d1da8b72f8
[ "Apache-2.0" ]
null
null
null
test.cpp
fobes/sfmath_tests
bc6b2f2a42b3392b421f042380b673d1da8b72f8
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "../sfmath/CSfmathMatrix.h" TEST(TestCaseName, TestName) { CSfmathMatrix mtx; for (unsigned n = 0; n < 1000000; n++) { //CSfmathMatrix::Multiplication } }
17.090909
39
0.675532
fobes
0d92cd8e21f307d777b4560c55606afa00122de9
1,288
cpp
C++
TypeTraits/TypeTraits.cpp
jbcoe/CppSandbox
574dc31bbd3640a8cf1b7642c4a449bee687cce5
[ "MIT" ]
7
2015-01-18T13:30:09.000Z
2021-08-21T19:50:26.000Z
TypeTraits/TypeTraits.cpp
jbcoe/CppSandbox
574dc31bbd3640a8cf1b7642c4a449bee687cce5
[ "MIT" ]
1
2016-03-13T21:26:37.000Z
2016-03-13T21:26:37.000Z
TypeTraits/TypeTraits.cpp
jbcoe/CppSandbox
574dc31bbd3640a8cf1b7642c4a449bee687cce5
[ "MIT" ]
1
2016-02-16T04:56:25.000Z
2016-02-16T04:56:25.000Z
#include <iostream> #include <sstream> #include <type_traits> class CEmptyClass { public: static constexpr const char* name = "CEmptyClass"; }; class CDerivedClass : public CEmptyClass { public: static constexpr const char* name = "CDerivedClass"; }; template <typename T> std::string TypeName() { std::stringst...
20.125
73
0.608696
jbcoe
0d957dd3a5434ce5e1c677cde6f7b212e1880753
368
cpp
C++
Day 3/A - Theatre Square.cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
4
2019-12-12T19:59:50.000Z
2020-01-20T15:44:44.000Z
Day 3/A - Theatre Square.cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
null
null
null
Day 3/A - Theatre Square.cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
null
null
null
// Question Link ---> https://codeforces.com/problemset/problem/1/A // Day #3 #include <iostream> using namespace std; int main(void) { int m, n, a; long long width=0, height=0; cin >> m >> n >> a; if (m % a == 0) width = m/a; else width=(m/a+1); if (n %a == 0) height = n/a; else height=(n/a+1)...
23
68
0.557065
shtanriverdi
0d959fe632aca31aeb1f9e005ddebf88a16f9e3a
454
hpp
C++
cpp/include/models/linear_gradient_builder.hpp
rive-app/rive-android
bb1ececb0b0b0412fb9d2669e79d9410e041d0a2
[ "MIT" ]
133
2020-10-05T21:33:00.000Z
2022-03-30T11:17:31.000Z
cpp/include/models/linear_gradient_builder.hpp
rive-app/rive-android
bb1ececb0b0b0412fb9d2669e79d9410e041d0a2
[ "MIT" ]
113
2020-10-06T12:36:32.000Z
2022-03-21T10:58:35.000Z
cpp/include/models/linear_gradient_builder.hpp
rive-app/rive-android
bb1ececb0b0b0412fb9d2669e79d9410e041d0a2
[ "MIT" ]
17
2020-10-21T06:10:51.000Z
2022-01-06T06:42:42.000Z
#ifndef _RIVE_ANDROID_LINEAR_GRADIENT_BUILDER_HPP_ #define _RIVE_ANDROID_LINEAR_GRADIENT_BUILDER_HPP_ #include "jni_refs.hpp" #include "models/gradient_builder.hpp" namespace rive_android { class JNILinearGradientBuilder : public JNIGradientBuilder { public: JNILinearGradientBuilder(float sx, float sy, float ex...
22.7
103
0.790749
rive-app
0d9842cbceb2432c92e9e688bdfda737b392739e
4,286
cpp
C++
src/pose_estimation/Kabsch.cpp
LiliMeng/btrf
c13da164b11c5ada522fa40deeaffc32192c4bf9
[ "BSD-2-Clause" ]
9
2017-10-28T15:24:04.000Z
2021-12-28T13:51:05.000Z
src/pose_estimation/Kabsch.cpp
LiliMeng/btrf
c13da164b11c5ada522fa40deeaffc32192c4bf9
[ "BSD-2-Clause" ]
null
null
null
src/pose_estimation/Kabsch.cpp
LiliMeng/btrf
c13da164b11c5ada522fa40deeaffc32192c4bf9
[ "BSD-2-Clause" ]
3
2017-11-08T16:10:39.000Z
2019-05-21T03:40:02.000Z
#include <Eigen/Geometry> #include "Kabsch.hpp" // Given two sets of 3D points, find the rotation + translation + scale // which best maps the first set to the second. // Source: http://en.wikipedia.org/wiki/Kabsch_algorithm // The input 3D points are stored as columns. Eigen::Affine3d Find3DAffineTransform(Eigen::Mat...
30.614286
90
0.602893
LiliMeng
0d98b716a60bd98f70382e2841346a5778e44157
1,580
cc
C++
simplest/src/NXSensitiveDetector.cc
maxwell-herrmann/geant4-simple-examples
0052d40fdc05baef05b4a6873c03d0d54885ad40
[ "BSD-2-Clause" ]
null
null
null
simplest/src/NXSensitiveDetector.cc
maxwell-herrmann/geant4-simple-examples
0052d40fdc05baef05b4a6873c03d0d54885ad40
[ "BSD-2-Clause" ]
null
null
null
simplest/src/NXSensitiveDetector.cc
maxwell-herrmann/geant4-simple-examples
0052d40fdc05baef05b4a6873c03d0d54885ad40
[ "BSD-2-Clause" ]
null
null
null
#include "NXSensitiveDetector.hh" #include "G4HCofThisEvent.hh" #include "G4Step.hh" #include "G4ThreeVector.hh" #include "G4SDManager.hh" #include "G4ios.hh" #include "G4RunManager.hh" //#include "NXRunAction.hh" #include "G4SystemOfUnits.hh" NXSensitiveDetector::NXSensitiveDetector(G4String name) : G4VSensitiv...
30.384615
100
0.731646
maxwell-herrmann
0d99dab65f7f7c4d0ce3127843baa892aa0eb166
1,183
cpp
C++
Data_Structures/Hashing/uni_number_of_occur.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
11
2020-03-20T17:24:28.000Z
2022-01-08T02:43:24.000Z
Data_Structures/Hashing/uni_number_of_occur.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
1
2021-07-25T11:24:46.000Z
2021-07-25T12:09:25.000Z
Data_Structures/Hashing/uni_number_of_occur.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
4
2020-03-20T17:24:36.000Z
2021-12-07T19:22:59.000Z
// Unique Number of Occurrences // Given an array of integers arr, write a function that // returns true if and only if the number of occurrences of each value in the array is unique. // Input: arr = [1,2,2,1,1,3] // Output: true // Explanation: The value 1 has 3 occurrences, 2 has 2 and 3 has 1. No two values have t...
21.509091
118
0.60186
abhishekjha786
0d9e764e29695356fe651a9baabe3a8b74526157
1,736
cpp
C++
src/lp/escf.cpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
src/lp/escf.cpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
src/lp/escf.cpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
#include <lp/escf.hpp> namespace MLCMST::lp { std::string ESCF::id() { static std::string id = "MP_ESCF"; return id; } ESCF::ESCF(bool exact_solution) : SCF(exact_solution) { } ESCF::ESCF(MLCMST::lp::LPSolverFactory mp_solver_factory) : SCF(mp_solver_factory) { } ESCF::~ESCF() = default; void ESCF::crea...
24.8
113
0.593894
qaskai
0d9eba0cd114e6380923e7b3393a2384d953ce4a
21,092
cpp
C++
ffscriptUT/ExpressionUT.cpp
VincentPT/xscript
cea6ee9e8c5af87af75188695ffa89080dce49b8
[ "MIT" ]
null
null
null
ffscriptUT/ExpressionUT.cpp
VincentPT/xscript
cea6ee9e8c5af87af75188695ffa89080dce49b8
[ "MIT" ]
null
null
null
ffscriptUT/ExpressionUT.cpp
VincentPT/xscript
cea6ee9e8c5af87af75188695ffa89080dce49b8
[ "MIT" ]
1
2019-12-24T22:24:01.000Z
2019-12-24T22:24:01.000Z
/****************************************************************** * File: ExpressionUT.cpp * Description: Test cases for checking compiling process, compiling * linking a single expression of C Lambda scripting * language. * Author: Vincent Pham * * Copyright (c) 2018 VincentPT. ...
38.630037
162
0.725062
VincentPT
0d9f7963efa15408fd1a55f3f467edb554f6eab8
2,008
cpp
C++
src/framework/shared/object/fxuserobject.cpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
994
2015-03-18T21:37:07.000Z
2019-04-26T04:04:14.000Z
src/framework/shared/object/fxuserobject.cpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
13
2019-06-13T15:58:03.000Z
2022-02-18T22:53:35.000Z
src/framework/shared/object/fxuserobject.cpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
350
2015-03-19T04:29:46.000Z
2019-05-05T23:26:50.000Z
/*++ Copyright (c) Microsoft Corporation Module Name: FxUserObject.cpp Abstract: This module implements the user object that device driver writers can use to take advantage of the driver frameworks infrastructure. Author: Environment: Both kernel and user mode Revision History: --*...
18.766355
98
0.687749
IT-Enthusiast-Nepal
d3fbf002b267c042748459b159b2aab8fad1264f
1,469
hpp
C++
freeflow/sys/epoll.hpp
flowgrammable/freeflow-legacy
c5cd77495d44fe3a9e48a2e06fbb44f7418d388e
[ "Apache-2.0" ]
1
2017-07-30T04:18:29.000Z
2017-07-30T04:18:29.000Z
freeflow/sys/epoll.hpp
flowgrammable/freeflow-legacy
c5cd77495d44fe3a9e48a2e06fbb44f7418d388e
[ "Apache-2.0" ]
null
null
null
freeflow/sys/epoll.hpp
flowgrammable/freeflow-legacy
c5cd77495d44fe3a9e48a2e06fbb44f7418d388e
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2013-2014 Flowgrammable.org // // 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 o...
21.925373
70
0.707965
flowgrammable
d3ff9946b91f77b916fb13f4d75fe6d4ba923dc0
3,102
cpp
C++
src/scams/impl/predefined_moc/eln/sca_eln_vcr.cpp
sivertism/mirror-sysc-ams
ae6a41555bbe32771799111b2a120fede6cb790f
[ "Apache-2.0" ]
null
null
null
src/scams/impl/predefined_moc/eln/sca_eln_vcr.cpp
sivertism/mirror-sysc-ams
ae6a41555bbe32771799111b2a120fede6cb790f
[ "Apache-2.0" ]
null
null
null
src/scams/impl/predefined_moc/eln/sca_eln_vcr.cpp
sivertism/mirror-sysc-ams
ae6a41555bbe32771799111b2a120fede6cb790f
[ "Apache-2.0" ]
null
null
null
/***************************************************************************** Copyright 2010-2014 Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V. Copyright 2015-2020 COSEDA Technologies GmbH *****************************************************************************/ /****...
22.808824
83
0.574468
sivertism
31038acb562f5488eb00972ee8b3075b7079cd0b
17,446
cpp
C++
Tests/src/Collection/HashMap.cpp
BlockProject3D/Framework
1c27ef19d9a12d158a2b53f6bd28dd2d8e678912
[ "BSD-3-Clause" ]
2
2019-02-02T20:48:17.000Z
2019-02-22T09:59:40.000Z
Tests/src/Collection/HashMap.cpp
BlockProject3D/Framework
1c27ef19d9a12d158a2b53f6bd28dd2d8e678912
[ "BSD-3-Clause" ]
125
2020-01-14T18:26:38.000Z
2021-02-23T15:33:55.000Z
Tests/src/Collection/HashMap.cpp
BlockProject3D/Framework
1c27ef19d9a12d158a2b53f6bd28dd2d8e678912
[ "BSD-3-Clause" ]
1
2020-05-26T08:55:10.000Z
2020-05-26T08:55:10.000Z
// Copyright (c) 2020, BlockProject 3D // // 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...
24.29805
104
0.542474
BlockProject3D
3109ae70bd42dca4f57abbda909aff86f6236ed1
8,269
cpp
C++
7_Queens/7_Queens.cpp
eduherminio/Academic_ArtificialIntelligence
f0ec4d35cef64a1bf6841ea7ecf1d33017b3745f
[ "MIT" ]
3
2017-05-16T22:25:16.000Z
2019-05-07T16:12:21.000Z
7_Queens/7_Queens.cpp
eduherminio/Academic_ArtificialIntelligence
f0ec4d35cef64a1bf6841ea7ecf1d33017b3745f
[ "MIT" ]
null
null
null
7_Queens/7_Queens.cpp
eduherminio/Academic_ArtificialIntelligence
f0ec4d35cef64a1bf6841ea7ecf1d33017b3745f
[ "MIT" ]
null
null
null
#include "header/nodo_reinas.h" #include "header/problema_csp.h" #include <iostream> #include <iomanip> const unsigned dimension = 15; const size_t iteraciones_max = 1000; const size_t n_problemas = 1000; typedef problema_csp::Problema_csp<nodo_reinas::Nodo_reinas> type_queens_noset; typedef problema_csp::Proble...
40.336585
107
0.743137
eduherminio
310c914eacea5d740c7c0b8b0d24c9615f52d05a
1,367
cpp
C++
all/native/geometry/WKTGeometryReader.cpp
JianYT/mobile-sdk
1835603e6cb7994222fea681928dc90055816628
[ "BSD-3-Clause" ]
155
2016-10-20T08:39:13.000Z
2022-02-27T14:08:32.000Z
all/native/geometry/WKTGeometryReader.cpp
JianYT/mobile-sdk
1835603e6cb7994222fea681928dc90055816628
[ "BSD-3-Clause" ]
448
2016-10-20T12:33:06.000Z
2022-03-22T14:42:58.000Z
all/native/geometry/WKTGeometryReader.cpp
JianYT/mobile-sdk
1835603e6cb7994222fea681928dc90055816628
[ "BSD-3-Clause" ]
64
2016-12-05T16:04:31.000Z
2022-02-07T09:36:22.000Z
#ifdef _CARTO_WKBT_SUPPORT #include "WKTGeometryReader.h" #include "components/Exceptions.h" #include "geometry/Geometry.h" #include "geometry/PointGeometry.h" #include "geometry/LineGeometry.h" #include "geometry/PolygonGeometry.h" #include "geometry/MultiGeometry.h" #include "geometry/MultiPointGeometry.h" #include ...
31.068182
130
0.699342
JianYT
3112f1173918bf0caabba1a67bd9bddc197d155b
7,235
cpp
C++
src-cpp/src/AST/ASTDumper.cpp
allen880117/NCTU-compiler-f19-hw4
0e2f9ed1d5870ae9909222b10cc0c9757bc6d51d
[ "MIT" ]
1
2020-12-10T18:25:48.000Z
2020-12-10T18:25:48.000Z
src/src/AST/ASTDumper.cpp
allen880117/NCTU-compiler-f19-hw4
0e2f9ed1d5870ae9909222b10cc0c9757bc6d51d
[ "MIT" ]
null
null
null
src/src/AST/ASTDumper.cpp
allen880117/NCTU-compiler-f19-hw4
0e2f9ed1d5870ae9909222b10cc0c9757bc6d51d
[ "MIT" ]
1
2020-12-21T11:49:22.000Z
2020-12-21T11:49:22.000Z
#include "AST/ASTDumper.hpp" #include "AST/program.hpp" #include "AST/declaration.hpp" #include "AST/variable.hpp" #include "AST/constant_value.hpp" #include "AST/function.hpp" #include "AST/compound_statement.hpp" #include "AST/assignment.hpp" #include "AST/print.hpp" #include "AST/read.hpp" #include "AST/variable_ref...
28.372549
68
0.566413
allen880117
311438a5c563372afc3e663c16bcee5b69593c16
1,823
cpp
C++
qt-mvvm/source/libmvvm_viewmodel/mvvm/viewmodel/standardviewitems.cpp
seaCheng/animation-
89a0cb0efbcfea202965a5851979ae6f1b67f8f0
[ "BSD-3-Clause" ]
6
2021-12-08T03:09:47.000Z
2022-02-24T03:51:14.000Z
qt-mvvm/source/libmvvm_viewmodel/mvvm/viewmodel/standardviewitems.cpp
seaCheng/animation-
89a0cb0efbcfea202965a5851979ae6f1b67f8f0
[ "BSD-3-Clause" ]
null
null
null
qt-mvvm/source/libmvvm_viewmodel/mvvm/viewmodel/standardviewitems.cpp
seaCheng/animation-
89a0cb0efbcfea202965a5851979ae6f1b67f8f0
[ "BSD-3-Clause" ]
null
null
null
// ************************************************************************** // // // Model-view-view-model framework for large GUI applications // //! @license GNU General Public License v3 or higher (see COPYING) //! @authors see AUTHORS // // ********************************************************************...
28.936508
100
0.56226
seaCheng
31145378480841bc41815445bf90027f49882f58
2,639
hpp
C++
Light/include/light/rendering/framebuffer.hpp
R-Bread/Light
151308c0159c4fe0d795b3c16f205e4af68710d7
[ "MIT" ]
1
2021-06-15T09:53:47.000Z
2021-06-15T09:53:47.000Z
Light/include/light/rendering/framebuffer.hpp
R-Bread/Light
151308c0159c4fe0d795b3c16f205e4af68710d7
[ "MIT" ]
21
2021-06-10T09:07:19.000Z
2022-01-30T21:52:24.000Z
Light/include/light/rendering/framebuffer.hpp
R-Bread/Light
151308c0159c4fe0d795b3c16f205e4af68710d7
[ "MIT" ]
9
2021-04-10T19:32:11.000Z
2021-05-19T16:29:25.000Z
#ifndef __FRAMEBUFFER_H__ #define __FRAMEBUFFER_H__ #include "core/base.hpp" namespace Light { enum class FramebufferTextureFormat { None, // Color Buffers RGBA8, RED_INTEGER, // Depth Buffers DEPTH24_STENCIL8, // Default depth Depth = DEPTH24_STENCIL8, /** * @brief First index of Depth ...
25.375
101
0.750663
R-Bread
311ab21746a058d062ea864e75831f091f8667de
6,083
cpp
C++
test/class.cpp
16tons/camp
3edae6d6a06036bac5faf4e7b9e7b5dd8e463af8
[ "MIT" ]
1
2018-08-07T22:32:55.000Z
2018-08-07T22:32:55.000Z
test/class.cpp
16tons/camp
3edae6d6a06036bac5faf4e7b9e7b5dd8e463af8
[ "MIT" ]
null
null
null
test/class.cpp
16tons/camp
3edae6d6a06036bac5faf4e7b9e7b5dd8e463af8
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** This file is part of the CAMP library. ** ** The MIT License (MIT) ** ** Copyright (C) 2009-2014 TEGESO/TEGESOFT and/or its subsidiary(-ies) and mother company. ** Contact: Tegesoft Information (contact@tegesoft.com) ** ** Permission is...
42.243056
141
0.605458
16tons
311b9b6de9cf2b8939ff1f533a5e465e28ae1f03
274
cpp
C++
GameFramework/Base/RenderSystem/RsIndexBuffer.cpp
GavWood/tutorials
d5140129b6acd6d61f6feedcd352c12e4ebabd40
[ "BSD-2-Clause" ]
8
2017-10-26T14:26:55.000Z
2022-01-07T07:35:39.000Z
GameFramework/Base/RenderSystem/RsIndexBuffer.cpp
GavWood/tutorials
d5140129b6acd6d61f6feedcd352c12e4ebabd40
[ "BSD-2-Clause" ]
1
2017-09-28T08:21:04.000Z
2017-10-04T09:17:57.000Z
GameFramework/Base/RenderSystem/RsIndexBuffer.cpp
GavWood/Game-Framework
d5140129b6acd6d61f6feedcd352c12e4ebabd40
[ "BSD-2-Clause" ]
1
2021-07-21T17:37:33.000Z
2021-07-21T17:37:33.000Z
//////////////////////////////////////////////////////////////////////////////// /// RsIndexBuffer.cpp #include "RsIndexBuffer.h" BtU32 RsIndexBuffer::IndType_Short = 1 << 0; BtU32 RsIndexBuffer::IndType_Long = 1 << 2; BtU32 RsIndexBuffer::IndType_Dynamic = 1 << 3;
27.4
80
0.5
GavWood
31259d261d4adfffd84bc8e11c6e76537527de79
7,003
cpp
C++
src/lib/import_export/csv_parser.cpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
1
2021-04-14T11:16:52.000Z
2021-04-14T11:16:52.000Z
src/lib/import_export/csv_parser.cpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
null
null
null
src/lib/import_export/csv_parser.cpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
1
2020-11-30T13:11:04.000Z
2020-11-30T13:11:04.000Z
#include "csv_parser.hpp" #include <fstream> #include <functional> #include <list> #include <memory> #include <optional> #include <string> #include <string_view> #include <utility> #include <vector> #include "constant_mappings.hpp" #include "import_export/csv_converter.hpp" #include "import_export/csv_meta.hpp" #incl...
33.830918
117
0.691561
IanJamesMcKay