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
f2b2feb092193c235224344928d5e1d42b0e5438
90
cxx
C++
app/create_date.cxx
engrvivs/tutorial-nptel-ppd
eecf699d579d13e2ef7c8352798b514b760b7d06
[ "MIT" ]
null
null
null
app/create_date.cxx
engrvivs/tutorial-nptel-ppd
eecf699d579d13e2ef7c8352798b514b760b7d06
[ "MIT" ]
null
null
null
app/create_date.cxx
engrvivs/tutorial-nptel-ppd
eecf699d579d13e2ef7c8352798b514b760b7d06
[ "MIT" ]
null
null
null
#include "Date.hpp" int main() { Date date(30, 7, 1961); date.print(); return 0; }
11.25
25
0.577778
engrvivs
f2b36aa3a7811f6b2f5c6c74600110ee0725331d
407
cpp
C++
solution/day1/part1.cpp
Desheen/AdventOfCode-2018
4d633f51ba5f906c365bb8ef2512465dea941d24
[ "BSD-3-Clause" ]
1
2018-12-02T20:17:59.000Z
2018-12-02T20:17:59.000Z
solution/day1/part1.cpp
Desheen/AdventOfCode-2018
4d633f51ba5f906c365bb8ef2512465dea941d24
[ "BSD-3-Clause" ]
null
null
null
solution/day1/part1.cpp
Desheen/AdventOfCode-2018
4d633f51ba5f906c365bb8ef2512465dea941d24
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <string> #include <fstream> #include <numeric> #include <vector> int main( int argc ,char**argv ) { std::string line; std::vector<int> v; std::ifstream file; file.open("input", std::ifstream::in); while(std::getline( file , line )) { v.push_back( std::stoi(line) ); } file.clos...
17.695652
67
0.628993
Desheen
f2b61be1b8edaacda9d86a55acae83d124accd20
503
hpp
C++
src/sdk/src/CountlyMetrics.hpp
kaszarek/drivenowandthen
9632ae308544f2833a2de9b7d1a5bdb7649c2930
[ "MIT" ]
null
null
null
src/sdk/src/CountlyMetrics.hpp
kaszarek/drivenowandthen
9632ae308544f2833a2de9b7d1a5bdb7649c2930
[ "MIT" ]
1
2021-06-02T17:40:48.000Z
2021-06-02T17:40:48.000Z
WordsPlusFree/src/CountlyMetrics.hpp
BerryTrucks/wordsplus
f42247587935bcd9a359257c58deb5534d4e63b1
[ "MIT" ]
null
null
null
/* * CountlyMetrics.hpp * * Created on: 11 Jan 2013 * Author: craig * * (c) 2013 Craig Mason-Jones. All Right Reserved. * Please see LICENCE for licence details. * */ #ifndef COUNTLYMETRICS_HPP_ #define COUNTLYMETRICS_HPP_ #include <QObject> #include <QString> #include <QVariant> namespace countly {...
16.766667
51
0.703777
kaszarek
f2bb2fb70e632f5087e716264be73c7edf2298ff
477
cpp
C++
ZF/ZFCore/zfsrc/ZFCore/ZFOutputForConsole_ZFOutputDefaultExt.cpp
ZFFrameworkDist/ZFFramework
6b498e7b95ee6d6aaa28d8369eef8c2ff94daaf7
[ "MIT" ]
57
2016-06-12T11:05:55.000Z
2021-05-22T13:12:17.000Z
ZF/ZFCore/zfsrc/ZFCore/ZFOutputForConsole_ZFOutputDefaultExt.cpp
ZFFrameworkDist/ZFFramework
6b498e7b95ee6d6aaa28d8369eef8c2ff94daaf7
[ "MIT" ]
null
null
null
ZF/ZFCore/zfsrc/ZFCore/ZFOutputForConsole_ZFOutputDefaultExt.cpp
ZFFrameworkDist/ZFFramework
6b498e7b95ee6d6aaa28d8369eef8c2ff94daaf7
[ "MIT" ]
20
2016-05-26T04:47:37.000Z
2020-12-13T01:39:39.000Z
#include "ZFOutputForConsole.h" ZF_NAMESPACE_GLOBAL_BEGIN ZF_GLOBAL_INITIALIZER_INIT_WITH_LEVEL(ZFOutputForConsole_ZFOutputDefaultExt, ZFLevelZFFrameworkEssential) { ZFExportVarEnsureInit_ZFOutputForConsole(); ZFOutputDefaultAdd(ZFOutputForConsole()); } ZF_GLOBAL_INITIALIZER_DESTROY(ZFOutputForConsole_ZFOutpu...
26.5
105
0.87631
ZFFrameworkDist
f2ce529aafb57b3955f4d7c74ecb56370d6dad78
975
cpp
C++
test/colormaptest.cpp
VITObelgium/cpp-infra
2a95a112439b21ff9125c2e6e29810a418b94a4d
[ "MIT" ]
1
2022-02-23T03:15:54.000Z
2022-02-23T03:15:54.000Z
test/colormaptest.cpp
VITObelgium/cpp-infra
2a95a112439b21ff9125c2e6e29810a418b94a4d
[ "MIT" ]
null
null
null
test/colormaptest.cpp
VITObelgium/cpp-infra
2a95a112439b21ff9125c2e6e29810a418b94a4d
[ "MIT" ]
null
null
null
#include "infra/colormap.h" #include <doctest/doctest.h> namespace inf::test { TEST_CASE("ColorMapTest.colorMapFromDict") { ColorMap cm(Cmap::summer); CHECK(Color(64, 160, 102) == cm.get_color(0.25f)); CHECK(Color(128, 192, 102) == cm.get_color(0.5f)); CHECK(Color(191, 223, 102) == cm.get_color(0.75...
25.657895
55
0.632821
VITObelgium
f2ce87b94bfc4006658bcfe469dd26b81f235095
1,445
cc
C++
src/main/cpp/options.cc
xiaoma20082008/edb
780bc9debdadd8ec199ad7b358a5494b8c388e00
[ "Apache-2.0" ]
null
null
null
src/main/cpp/options.cc
xiaoma20082008/edb
780bc9debdadd8ec199ad7b358a5494b8c388e00
[ "Apache-2.0" ]
null
null
null
src/main/cpp/options.cc
xiaoma20082008/edb
780bc9debdadd8ec199ad7b358a5494b8c388e00
[ "Apache-2.0" ]
null
null
null
// 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 writing, software // distributed ...
27.788462
75
0.690657
xiaoma20082008
f2d996b2d16885b9545177a711799c2281713796
15,816
cpp
C++
src/legwork.cpp
gamepoet/legwork
8071182cf73d278e7e950cc77209a8961b43fafa
[ "MIT" ]
null
null
null
src/legwork.cpp
gamepoet/legwork
8071182cf73d278e7e950cc77209a8961b43fafa
[ "MIT" ]
null
null
null
src/legwork.cpp
gamepoet/legwork
8071182cf73d278e7e950cc77209a8961b43fafa
[ "MIT" ]
null
null
null
#include <atomic> #include <condition_variable> #include <mutex> #include <queue> #include <stack> #include <stdlib.h> #include <thread> #include <vector> #include "legwork.h" #include "fcontext.h" #define DEFAULT_FIBER_COUNT 256 #define DEFAULT_FIBER_STACK_SIZE_BYTES (64 * 1024) #define DEFAULT_WORKER_THREAD_SPIN_COU...
31.759036
131
0.736027
gamepoet
f2da83a0e40d23b1c59aaf06e6cbbed7b43f8f02
1,436
cpp
C++
Sources/TQTOutput.cpp
thinkyhead/fretpetx
36e79f4fa47a08a8aacc9d0045d610dfb7d984bb
[ "MIT" ]
4
2018-09-10T15:05:26.000Z
2020-12-05T16:44:40.000Z
Sources/TQTOutput.cpp
thinkyhead/fretpetx
36e79f4fa47a08a8aacc9d0045d610dfb7d984bb
[ "MIT" ]
null
null
null
Sources/TQTOutput.cpp
thinkyhead/fretpetx
36e79f4fa47a08a8aacc9d0045d610dfb7d984bb
[ "MIT" ]
1
2019-08-13T19:57:35.000Z
2019-08-13T19:57:35.000Z
/* * TQTOutput.cpp * FretPetX * * Created by Scott Lahteine on 6/25/11. * Copyright © 2012 Scott Lahteine. All rights reserved. * */ #include "TQTOutput.h" #include "TError.h" #include <QuickTime/QuickTime.h> TQTOutput::TQTOutput(UInt16 index) { err = noErr; na = NULL; nc = 0; NoteRequestInfo &info = n...
22.092308
66
0.708914
thinkyhead
f2dcb4399322aba796a707cdc702a7ad60b5929c
1,641
cpp
C++
opentera-webrtc-native-client/OpenteraWebrtcNativeClient/python/src/opentera_webrtc_native_client.cpp
introlab/opentera-webrtc
cf92ccd0b239646f6caf68e3638b8f28598ea609
[ "Apache-2.0" ]
12
2021-05-30T18:32:36.000Z
2022-03-25T12:31:57.000Z
opentera-webrtc-native-client/OpenteraWebrtcNativeClient/python/src/opentera_webrtc_native_client.cpp
introlab/opentera-webrtc
cf92ccd0b239646f6caf68e3638b8f28598ea609
[ "Apache-2.0" ]
22
2021-03-17T12:18:42.000Z
2022-03-19T19:12:51.000Z
opentera-webrtc-native-client/OpenteraWebrtcNativeClient/python/src/opentera_webrtc_native_client.cpp
introlab/opentera-webrtc-teleop
ecb671635832d6d66e0f2f0a7e90b0877ce7c338
[ "Apache-2.0" ]
1
2022-02-07T21:30:33.000Z
2022-02-07T21:30:33.000Z
#include <OpenteraWebrtcNativeClientPython/Configurations/AudioSourceConfigurationPython.h> #include <OpenteraWebrtcNativeClientPython/Configurations/DataChannelConfigurationPython.h> #include <OpenteraWebrtcNativeClientPython/Configurations/SignalingServerConfigurationPython.h> #include <OpenteraWebrtcNativeClientPyth...
37.295455
95
0.845216
introlab
f2e0f249b3827d6a25a9476806e9b2f48ee040ae
339
cpp
C++
src/widgets/multiinfolistentry.cpp
jpcima/iconnconfig
626dbda20366d5814a7cc6bdc29b42c3dfe2d938
[ "MIT" ]
null
null
null
src/widgets/multiinfolistentry.cpp
jpcima/iconnconfig
626dbda20366d5814a7cc6bdc29b42c3dfe2d938
[ "MIT" ]
null
null
null
src/widgets/multiinfolistentry.cpp
jpcima/iconnconfig
626dbda20366d5814a7cc6bdc29b42c3dfe2d938
[ "MIT" ]
null
null
null
#include "multiinfolistentry.h" MultiInfoListEntry::MultiInfoListEntry() {} MultiInfoListEntry::MultiInfoListEntry( MultiInfoListEntry::ListEntryCode entryCode, std::string name, int index) : entryCode(entryCode), name(name), index(index) { icon = QIcon(); if (entryCode == SECTION) { enabled = false; select...
24.214286
75
0.734513
jpcima
f2e2994c3d1e0d268511d9e5fa79e012f53e8b92
251
hpp
C++
multi_dispatch/properties/area.hpp
alipha/cpp
0e880164e58ee8fcfe2fc818b4b9de289a4dd476
[ "MIT" ]
4
2020-10-28T21:31:30.000Z
2021-08-02T21:38:22.000Z
multi_dispatch/properties/area.hpp
alipha/cpp
0e880164e58ee8fcfe2fc818b4b9de289a4dd476
[ "MIT" ]
null
null
null
multi_dispatch/properties/area.hpp
alipha/cpp
0e880164e58ee8fcfe2fc818b4b9de289a4dd476
[ "MIT" ]
null
null
null
#ifndef AREA_HPP #define AREA_HPP #include "property.hpp" #include "../multi_dispatch/subclass_registrar.hpp" class area : public subclass_registrar<property, area> { public: area() : subclass_registrar<property, area>("area") {} }; #endif
15.6875
59
0.7251
alipha
f2e3aae7f58aeb870477af763a554037820c577c
3,406
cpp
C++
qpid-proton-cpp/reconnect/receiver-close-link.cpp
ssorj/jobs
edf7a2b0b6c7e0a7d42c4515872521c100153c77
[ "Apache-2.0" ]
null
null
null
qpid-proton-cpp/reconnect/receiver-close-link.cpp
ssorj/jobs
edf7a2b0b6c7e0a7d42c4515872521c100153c77
[ "Apache-2.0" ]
null
null
null
qpid-proton-cpp/reconnect/receiver-close-link.cpp
ssorj/jobs
edf7a2b0b6c7e0a7d42c4515872521c100153c77
[ "Apache-2.0" ]
null
null
null
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
30.963636
90
0.610981
ssorj
f2e550e8214d01a5eda16dbe4d7cfb21d2dec5f2
819
cpp
C++
Engine/00_Unit_Tests/Test_eventSystem.cpp
TB989/Fierce-Engine
4fa97b55fafdf97ee0b9eb72203425490b7a01c5
[ "Apache-2.0" ]
null
null
null
Engine/00_Unit_Tests/Test_eventSystem.cpp
TB989/Fierce-Engine
4fa97b55fafdf97ee0b9eb72203425490b7a01c5
[ "Apache-2.0" ]
43
2020-03-01T12:55:12.000Z
2021-07-10T20:51:23.000Z
Engine/00_Unit_Tests/Test_eventSystem.cpp
TB989/Fierce-Engine
4fa97b55fafdf97ee0b9eb72203425490b7a01c5
[ "Apache-2.0" ]
null
null
null
#include "UnitTests.h" #include "02_system/01_logging/Logger.h" #include "02_system/02_event/EventSystem.h" Test_eventSystem::Test_eventSystem(){ eventSystem->addListener(this, &Test_eventSystem::onAppInit); eventSystem->addListener(this, &Test_eventSystem::onAppUpdate); eventSystem->addListener(this, &Test_eventS...
30.333333
65
0.769231
TB989
f2e6f51e281f5be04192510a1e5280d779b8cfe5
5,975
cxx
C++
Examples/ANTSIntegrateVelocityField.cxx
KevinScholtes/ANTsX
5462269c0c32e5d65560bae4014c5a05cb02588d
[ "BSD-3-Clause" ]
null
null
null
Examples/ANTSIntegrateVelocityField.cxx
KevinScholtes/ANTsX
5462269c0c32e5d65560bae4014c5a05cb02588d
[ "BSD-3-Clause" ]
null
null
null
Examples/ANTSIntegrateVelocityField.cxx
KevinScholtes/ANTsX
5462269c0c32e5d65560bae4014c5a05cb02588d
[ "BSD-3-Clause" ]
1
2019-10-06T07:31:58.000Z
2019-10-06T07:31:58.000Z
#include "antsUtilities.h" #include "antsAllocImage.h" #include <algorithm> #include "itkVectorIndexSelectionCastImageFilter.h" #include "itkImageRegionIteratorWithIndex.h" #include "vnl/algo/vnl_determinant.h" #include "itkANTSImageRegistrationOptimizer.h" #include "itkTimeVaryingVelocityFieldIntegrationImageFilter...
29.433498
116
0.658577
KevinScholtes
f2eaeb4224e5d8299e60e4aa642275745f785ba2
7,284
cpp
C++
LevelEditorNativeRendering/LvEdRenderingEngine/Renderer/WireframeShader.cpp
T-rvw/LevelEditor
12c3a0d66e7870d4d27edb7f6b351ab467ca968b
[ "Apache-2.0" ]
null
null
null
LevelEditorNativeRendering/LvEdRenderingEngine/Renderer/WireframeShader.cpp
T-rvw/LevelEditor
12c3a0d66e7870d4d27edb7f6b351ab467ca968b
[ "Apache-2.0" ]
null
null
null
LevelEditorNativeRendering/LvEdRenderingEngine/Renderer/WireframeShader.cpp
T-rvw/LevelEditor
12c3a0d66e7870d4d27edb7f6b351ab467ca968b
[ "Apache-2.0" ]
null
null
null
//Copyright ?2014 Sony Computer Entertainment America LLC. See License.txt. #include "WireFrameShader.h" #include "../Core/NonCopyable.h" #include <D3D11.h> #include "Renderable.h" #include "RenderBuffer.h" #include "RenderUtil.h" #include "../Core/Utils.h" #include "RenderContext.h" #include "RenderState.h"...
33.87907
122
0.672433
T-rvw
f2edefa51e60328650aa1e0358070c64fc59f8fb
9,043
cpp
C++
misc/cg_ddf.cpp
georeth/OJLIBS
de59d4fd21255cc2f0a580db7726b634449e6885
[ "MIT" ]
15
2017-03-26T03:54:16.000Z
2021-04-04T13:10:43.000Z
misc/cg_ddf.cpp
georeth/OJLIBS
de59d4fd21255cc2f0a580db7726b634449e6885
[ "MIT" ]
null
null
null
misc/cg_ddf.cpp
georeth/OJLIBS
de59d4fd21255cc2f0a580db7726b634449e6885
[ "MIT" ]
1
2018-03-06T09:59:14.000Z
2018-03-06T09:59:14.000Z
#include <bits/stdc++.h> using namespace std; #define rep(i,a,n) for(int i=(a);i<(n);i++) #define per(i,a,n) for(int i=(n)-1;i>=(a);i--) #define mp make_pair #define pb push_back typedef double db; const db EPS = 1e-8; inline int sign(db a) { return a < -EPS ? -1 : a > EPS; } inline int cmp(db a, db b){ retur...
27.996904
101
0.512219
georeth
f2f5eca24d303a74be9a63d60d4f79aae6f080cd
2,044
cpp
C++
src_smartcontract_db/schema_table/table_store/AlterRecordValueExecutor.cpp
alinous-core/codable-cash
32a86a152a146c592bcfd8cc712f4e8cb38ee1a0
[ "MIT" ]
6
2019-01-06T05:02:39.000Z
2020-10-01T11:45:32.000Z
src_smartcontract_db/schema_table/table_store/AlterRecordValueExecutor.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
209
2018-05-18T03:07:02.000Z
2022-03-26T11:42:41.000Z
src_smartcontract_db/schema_table/table_store/AlterRecordValueExecutor.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
3
2019-07-06T09:16:36.000Z
2020-10-15T08:23:28.000Z
/* * AlterRecordValueExecutor.cpp * * Created on: 2020/10/09 * Author: iizuka */ #include <cstdint> #include "schema_table/table_store/AlterRecordValueExecutor.h" #include "schema_table/table/CdbTableColumn.h" #include "schema_table/record/table_record/CdbRecord.h" #include "schema_table/record/table_re...
26.894737
106
0.752446
alinous-core
f2f8b6b45cc6dd88219e5a665d31cc91c03a4c1f
21,412
cpp
C++
catkin_ws/src/srrg2_laser_slam_2d/srrg2_laser_slam_2d/src/srrg2_laser_slam_2d/mapping/grid_mapper_2d.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
null
null
null
catkin_ws/src/srrg2_laser_slam_2d/srrg2_laser_slam_2d/src/srrg2_laser_slam_2d/mapping/grid_mapper_2d.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
null
null
null
catkin_ws/src/srrg2_laser_slam_2d/srrg2_laser_slam_2d/src/srrg2_laser_slam_2d/mapping/grid_mapper_2d.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
null
null
null
#include "grid_mapper_2d.h" #include <srrg_data_structures/grid_map_2d.h> #include <srrg_geometry/geometry3d.h> #include <srrg_geometry/geometry2d.h> #include <srrg_data_structures/traverse_line.h> #include <srrg_solver/variables_and_factors/types_2d/se2_pose_pose_geodesic_error_factor.h> #include <srrg_config/configur...
40.172608
153
0.628853
laaners
f2f90e626684085e7c1f06467dcd33e68e979a6f
1,972
hh
C++
hardware/libraries/Elektron/ElektronDataEncoder.hh
anupam19/mididuino
27c30f586a8d61381309434ed05b4958c7727402
[ "BSD-3-Clause" ]
null
null
null
hardware/libraries/Elektron/ElektronDataEncoder.hh
anupam19/mididuino
27c30f586a8d61381309434ed05b4958c7727402
[ "BSD-3-Clause" ]
null
null
null
hardware/libraries/Elektron/ElektronDataEncoder.hh
anupam19/mididuino
27c30f586a8d61381309434ed05b4958c7727402
[ "BSD-3-Clause" ]
null
null
null
#ifndef ELEKTRON_DATA_ENCODER_H__ #define ELEKTRON_DATA_ENCODER_H__ #include "WProgram.h" #include "Midi.h" #include "DataEncoder.hh" class ElektronDataToSysexEncoder : public DataEncoder { protected: uint16_t retLen; uint16_t cnt7; bool in7Bit; MidiUartParent *uart; uint8_t buf[8]; uint16_t checksum; bool i...
23.47619
96
0.757099
anupam19
f2fadc5885ac33fdf5f2f5c7d6d3e1a1c2528bbf
13,319
cpp
C++
tests/Basic/TransfersSubscription/main.cpp
CASH2-js/cash2
17d5582ec41149567fcad12ba58c392fab502097
[ "BSD-3-Clause" ]
null
null
null
tests/Basic/TransfersSubscription/main.cpp
CASH2-js/cash2
17d5582ec41149567fcad12ba58c392fab502097
[ "BSD-3-Clause" ]
null
null
null
tests/Basic/TransfersSubscription/main.cpp
CASH2-js/cash2
17d5582ec41149567fcad12ba58c392fab502097
[ "BSD-3-Clause" ]
1
2020-05-13T19:39:58.000Z
2020-05-13T19:39:58.000Z
// Copyright (c) 2018-2020 The Cash2 developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "gtest/gtest.h" #include "helperFunctions.h" #include "Transfers/TransfersSubscription.h" #include "Transfers/Transfers...
31.940048
109
0.803664
CASH2-js
f2fb77025dadd84bcfb60d1ef6cda901db9578d5
370,541
cpp
C++
src/main_12400.cpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
src/main_12400.cpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
src/main_12400.cpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: Zenject.PrefabResourceBindingFinalizer #include "Zenject/PrefabResourceBindingFinalizer.hpp" // Including type: Zenject.PrefabResourceBindingFinali...
81.563064
477
0.779369
RedBrumbler
84096a855d6bb313ae7cb6519d30d522f42d0fce
1,402
cpp
C++
aws-cpp-sdk-ecs/source/model/DeploymentCircuitBreaker.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-ecs/source/model/DeploymentCircuitBreaker.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-ecs/source/model/DeploymentCircuitBreaker.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ecs/model/DeploymentCircuitBreaker.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { ...
17.746835
82
0.718973
perfectrecall
8409c438c70edcb8e9b50301c0cc9aa89d05cae4
658
cpp
C++
Lab7(part2)/main.cpp
sdeng006/CS10
5eb00d4cda1b1cba8c24eea54b60cd09f8faa1ee
[ "MIT" ]
null
null
null
Lab7(part2)/main.cpp
sdeng006/CS10
5eb00d4cda1b1cba8c24eea54b60cd09f8faa1ee
[ "MIT" ]
null
null
null
Lab7(part2)/main.cpp
sdeng006/CS10
5eb00d4cda1b1cba8c24eea54b60cd09f8faa1ee
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <ctime> using namespace std; double percentHeads(int times) { srand(4444); double numOf0 = 0.0; int rollresult; int i = 0; while ( i < times ) { rollresult = rand () % 2; if (rollresult == 0) { num...
17.315789
84
0.50304
sdeng006
84111bf66a456cc9b701d044b39ab4fc85fdcade
4,744
cpp
C++
src/Driver.cpp
gavv/libASPL
3139692c9aef6896b184e4599842f3de9fa479bd
[ "AML", "MIT" ]
22
2021-07-15T08:31:52.000Z
2022-01-20T15:13:18.000Z
src/Driver.cpp
gavv/libASPL
3139692c9aef6896b184e4599842f3de9fa479bd
[ "AML", "MIT" ]
1
2021-12-19T07:36:15.000Z
2022-02-02T18:40:29.000Z
src/Driver.cpp
gavv/libASPL
3139692c9aef6896b184e4599842f3de9fa479bd
[ "AML", "MIT" ]
1
2022-01-11T16:06:20.000Z
2022-01-11T16:06:20.000Z
// Copyright (c) libASPL authors // Licensed under MIT #include <aspl/Driver.hpp> #include "Bridge.hpp" #include <cstddef> namespace aspl { Driver::Driver(const std::shared_ptr<Context>& context, const std::shared_ptr<Plugin>& plugin) : context_(context ? context : std::make_shared<Context>()) , plugin...
26.954545
89
0.708263
gavv
8412aacb296332d7fb8317bda5ca7aabd748ff93
1,933
cpp
C++
samples/BaseSource/Utils.cpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
samples/BaseSource/Utils.cpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
samples/BaseSource/Utils.cpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
#include "Utils.h" #include <stdio.h> #include <string.h> bool WriteToBMP(const char *fileName, const void *data, unsigned int width, unsigned int height, int bits, bool flipRGB) { //dump the height data to greyscale format FILE * f = fopen(fileName, "wb"); if (f == NULL) return false; unsigned int pixelSize = ...
26.847222
120
0.621831
kakashidinho
8412c967fdc691c43b088f07dba185c6a6407637
616
cpp
C++
c++/.leetcode/868.binary-gap.cpp
ming197/MyLeetCode
eba575765976b12db07be0857faad85b9c60d723
[ "Apache-2.0" ]
null
null
null
c++/.leetcode/868.binary-gap.cpp
ming197/MyLeetCode
eba575765976b12db07be0857faad85b9c60d723
[ "Apache-2.0" ]
null
null
null
c++/.leetcode/868.binary-gap.cpp
ming197/MyLeetCode
eba575765976b12db07be0857faad85b9c60d723
[ "Apache-2.0" ]
null
null
null
/* * @lc app=leetcode id=868 lang=cpp * * [868] Binary Gap */ // @lc code=start #include <bits/stdc++.h> using namespace std; class Solution { public: int binaryGap(int n) { int l = -1, r = -1; int i = 0; int res = 0; while (n){ /* code */ int bit = n&1; ...
17.6
42
0.327922
ming197
8412d36e638b5f37999258f8babfd8da57da4351
9,699
cpp
C++
fato_rendering/src/tracker_renderer.cpp
clickcao/fato
d2de665e83f82ea1094f488102aba37a8cdd53bb
[ "BSD-3-Clause" ]
1
2018-07-31T04:11:32.000Z
2018-07-31T04:11:32.000Z
fato_rendering/src/tracker_renderer.cpp
clickcao/fato
d2de665e83f82ea1094f488102aba37a8cdd53bb
[ "BSD-3-Clause" ]
null
null
null
fato_rendering/src/tracker_renderer.cpp
clickcao/fato
d2de665e83f82ea1094f488102aba37a8cdd53bb
[ "BSD-3-Clause" ]
null
null
null
/*****************************************************************************/ /* Copyright (c) 2016, Alessandro Pieropan */ /* All rights reserved. */ /* */ ...
36.6
92
0.623776
clickcao
841b635a0402031608af9a37f51396c551df7065
287
cpp
C++
prog_100.cpp
Jairfsj/learning_C
8c876059132ca19bcf55ac1a0c81d97a3d175e95
[ "MIT" ]
null
null
null
prog_100.cpp
Jairfsj/learning_C
8c876059132ca19bcf55ac1a0c81d97a3d175e95
[ "MIT" ]
null
null
null
prog_100.cpp
Jairfsj/learning_C
8c876059132ca19bcf55ac1a0c81d97a3d175e95
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int num,maior,ind; maior = 0; for (ind= 1; ind <=100; ind=ind+1) { scanf("%d",&num); if (num > maior) maior=num; } printf ("%d é o maior dos números lidos ",maior); system ("pause"); return 0; }
11.958333
51
0.550523
Jairfsj
841dee8cf90771dfd69b388ffe8872bfd771093c
4,681
cpp
C++
admin/activec/samples/sdksamples/atl_samp/dsadminext/globals.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/activec/samples/sdksamples/atl_samp/dsadminext/globals.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/activec/samples/sdksamples/atl_samp/dsadminext/globals.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//==============================================================; // // This source code is only intended as a supplement to existing Microsoft documentation. // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE // ...
33.92029
93
0.620808
npocmaka
84261eabc5f8ee4bab9f75520df31faf25ac2eeb
569
cc
C++
google_interview_practice/Rotate_Image/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
1
2020-04-11T22:04:23.000Z
2020-04-11T22:04:23.000Z
google_interview_practice/Rotate_Image/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
google_interview_practice/Rotate_Image/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
class Solution { public: void rotate(vector<vector<int>>& matrix) { int len = matrix.size(); for (int i = 0; i < matrix.size() / 2; ++i) { for (int j = 0; j < len - 1; ++j) { int tmp = matrix[i][i + j]; matrix[i][i + j] = matrix[i + len - 1 - j][i]; ma...
29.947368
82
0.383128
ldy121
8426f5869189840fe3181414a57db636c24d35cc
5,098
cpp
C++
android/android_42/base/libs/hwui/TextDropShadowCache.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_42/base/libs/hwui/TextDropShadowCache.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_42/base/libs/hwui/TextDropShadowCache.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
30.526946
90
0.568851
yakuizhao
8428e624b29fde20dab49f27c219f3e8bd4026ea
2,520
cpp
C++
src/tcp/tcp_message.cpp
NervanaSystems/he-transformer
1da853b07e937fe213f774238d0665252b3370ed
[ "Apache-2.0" ]
225
2018-12-03T04:55:19.000Z
2022-03-11T07:46:38.000Z
src/tcp/tcp_message.cpp
NervanaSystems/he-transformer
1da853b07e937fe213f774238d0665252b3370ed
[ "Apache-2.0" ]
54
2018-12-14T23:00:54.000Z
2022-03-04T07:55:56.000Z
src/tcp/tcp_message.cpp
NervanaSystems/he-transformer
1da853b07e937fe213f774238d0665252b3370ed
[ "Apache-2.0" ]
44
2018-12-03T21:38:04.000Z
2021-01-09T19:41:11.000Z
//***************************************************************************** // Copyright 2018-2019 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://w...
34.054054
79
0.678968
NervanaSystems
8428fc694520ce070b3c44d4da67b2175586e59b
230
cpp
C++
libs/nyast/BaseClassLibrary/Magnitude.cpp
ronsaldo/nyast
6729f0831acb63b6351d2197ce8620268269ccf5
[ "MIT" ]
null
null
null
libs/nyast/BaseClassLibrary/Magnitude.cpp
ronsaldo/nyast
6729f0831acb63b6351d2197ce8620268269ccf5
[ "MIT" ]
null
null
null
libs/nyast/BaseClassLibrary/Magnitude.cpp
ronsaldo/nyast
6729f0831acb63b6351d2197ce8620268269ccf5
[ "MIT" ]
null
null
null
#include "nyast/BaseClassLibrary/Magnitude.hpp" #include "nyast/BaseClassLibrary/NativeClassRegistration.hpp" namespace nyast { static NativeClassRegistration<Magnitude> magnitudeClassRegistration; } // End of namespace nyast
20.909091
69
0.830435
ronsaldo
842933e06b74aedab6b790190a14e71dec7c6831
2,844
hh
C++
packages/spatial/Weak_Spatial_Discretization_Factory.hh
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
2
2020-04-13T20:06:41.000Z
2021-02-12T17:55:54.000Z
packages/spatial/Weak_Spatial_Discretization_Factory.hh
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
1
2018-10-22T21:03:35.000Z
2018-10-22T21:03:35.000Z
packages/spatial/Weak_Spatial_Discretization_Factory.hh
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
3
2019-04-03T02:15:37.000Z
2022-01-04T05:50:23.000Z
#ifndef Weak_Spatial_Discretization_Factory_hh #define Weak_Spatial_Discretization_Factory_hh #include <memory> #include <string> #include <vector> #include "Meshless_Function_Factory.hh" class Basis_Function; class Cartesian_Plane; class Dimensional_Moments; class KD_Tree; class Meshless_Function; class Solid_Geome...
45.870968
148
0.577356
brbass
842b8a322764bacd7a420954df40e4c8a235625a
1,207
cpp
C++
tests/StringTokenizerTests.cpp
pinoOgni/simple-cpp-router
5c851265f0c8213dd633afe545995f75441b3c3a
[ "MIT" ]
6
2016-05-10T22:02:40.000Z
2021-11-18T03:03:19.000Z
tests/StringTokenizerTests.cpp
pinoOgni/simple-cpp-router
5c851265f0c8213dd633afe545995f75441b3c3a
[ "MIT" ]
null
null
null
tests/StringTokenizerTests.cpp
pinoOgni/simple-cpp-router
5c851265f0c8213dd633afe545995f75441b3c3a
[ "MIT" ]
7
2018-05-16T06:49:59.000Z
2021-11-23T16:24:27.000Z
#include <gtest/gtest.h> #include <Routing/Details/StringTokenizer.h> #include <vector> using namespace Routing::Details; TEST(StringTokenizerTests, route_tokenize) { std::string str = "/this/will/be/tokenized"; std::vector<std::string> expected { "this", "will", "be", "tokenized" }; char de...
24.632653
80
0.649544
pinoOgni
8431347f2fff6c2667f3859dbb7968210e7322df
1,540
hpp
C++
test/analysis/TransactionAssignerTest.hpp
vimofthevine/UnderBudget
5711be8e5da3cb7a78da007fe43cf1ce1b796493
[ "Apache-2.0" ]
2
2016-07-17T02:12:44.000Z
2016-11-22T14:04:55.000Z
test/analysis/TransactionAssignerTest.hpp
vimofthevine/UnderBudget
5711be8e5da3cb7a78da007fe43cf1ce1b796493
[ "Apache-2.0" ]
null
null
null
test/analysis/TransactionAssignerTest.hpp
vimofthevine/UnderBudget
5711be8e5da3cb7a78da007fe43cf1ce1b796493
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2013 Kyle Treubig * * 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...
22
75
0.725974
vimofthevine
8431376574d724324a81f5fcd204c5f2f723552b
1,789
cc
C++
src/gdb/gdb-8.3/gdb/testsuite/gdb.cp/operator.cc
aps337/unum-sdk
2de3ae625e474c5064f6a88b720ec2ffdcdefad9
[ "Apache-2.0" ]
31
2018-08-01T21:25:24.000Z
2022-02-14T07:52:34.000Z
gdb/testsuite/gdb.cp/operator.cc
greyblue9/binutils-gdb
05377632b124fe7600eea7f4ee0e9a35d1b0cbdc
[ "BSD-3-Clause" ]
40
2018-12-03T19:48:52.000Z
2021-03-10T06:34:26.000Z
gdb/testsuite/gdb.cp/operator.cc
greyblue9/binutils-gdb
05377632b124fe7600eea7f4ee0e9a35d1b0cbdc
[ "BSD-3-Clause" ]
20
2018-11-16T21:19:22.000Z
2021-10-18T23:08:24.000Z
class A { }; int operator== (A, int) { return 11; } int operator== (A, char) { return 12; } //------------------ namespace B { class C { }; int operator== (C, int) { return 22; } int operator== (C, char) { return 23; } namespace BD { int operator== (C, int) { retur...
8.438679
29
0.424818
aps337
8433554f80fb68523c45436132e4fb88c8de246c
1,148
hpp
C++
src/cpp/bron-kerbosch.hpp
adshidtadka/server-allocation
ce533ce31cc2ce12f0c6a01bff97be3875e35b30
[ "MIT" ]
null
null
null
src/cpp/bron-kerbosch.hpp
adshidtadka/server-allocation
ce533ce31cc2ce12f0c6a01bff97be3875e35b30
[ "MIT" ]
1
2019-10-01T08:12:20.000Z
2019-10-01T09:29:36.000Z
src/cpp/bron-kerbosch.hpp
adshidtadka/server-allocation
ce533ce31cc2ce12f0c6a01bff97be3875e35b30
[ "MIT" ]
null
null
null
#ifndef BRON_KERBOSCH_H #define BRON_KERBOSCH_H #include <algorithm> #include <forward_list> #include <functional> #include <unordered_set> namespace BronKerbosch { template <typename T> struct Vertex { Vertex(const T id) : id{id} {} bool operator==(const Vertex& other) const { return this->id == other.id; ...
22.96
79
0.582753
adshidtadka
8435427afd0429ea8703140438712324ebf5556d
463
cpp
C++
914. X of a Kind in a Deck of Cards.cpp
rajeev-ranjan-au6/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
3
2020-12-30T00:29:59.000Z
2021-01-24T22:43:04.000Z
914. X of a Kind in a Deck of Cards.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
914. X of a Kind in a Deck of Cards.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
class Solution { public: bool hasGroupsSizeX(vector<int>& deck) { unordered_map<int, int>m; int n = deck.size(); for (int i = 0; i < n; ++i) { m[deck[i]]++; } int base = 0; for (auto& p: m) { base = gcd(p.second, base); } return...
20.130435
44
0.393089
rajeev-ranjan-au6
8438fcddbae1bc436d46253f1916b26068e009db
1,922
cpp
C++
modules/boost/simd/sdk/unit/memory/utility/aligned_malloc.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/sdk/unit/memory/utility/aligned_malloc.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/sdk/unit/memory/utility/aligned_malloc.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // Copyright 2012 - 2013 MetaScale SAS // // Distributed under the Boost...
28.686567
83
0.560874
psiha
843a543c0d76647d46aafee93ba05a7c902d0f3c
899
hpp
C++
include/tracer/bits/unsafe.hpp
stdml/stdtracer
e7ee9fb5168e31a75b53360b94dfdeaac4d51e4b
[ "MIT" ]
2
2018-09-30T14:51:37.000Z
2020-01-26T02:28:47.000Z
include/tracer/bits/unsafe.hpp
lgarithm/stdtracer
e7ee9fb5168e31a75b53360b94dfdeaac4d51e4b
[ "MIT" ]
7
2018-09-30T06:11:44.000Z
2020-02-16T14:18:50.000Z
include/tracer/bits/unsafe.hpp
stdml/stdtracer
e7ee9fb5168e31a75b53360b94dfdeaac4d51e4b
[ "MIT" ]
1
2019-10-08T00:26:41.000Z
2019-10-08T00:26:41.000Z
#pragma once #include <iostream> #include <string> class unsafe_guard_t { std::string file_; int line_; std::string hint_; public: unsafe_guard_t(std::string file, int line, std::string hint) : file_(std::move(file)), line_(line), hint_(std::move(hint)) { } std::string msg() con...
23.657895
69
0.525028
stdml
843d16e23aa4adeca539a65d58c7b64acaf76883
362
hpp
C++
NWNXLib/API/Mac/API/Plane.hpp
acaos/nwnxee-unified
0e4c318ede64028c1825319f39c012e168e0482c
[ "MIT" ]
1
2019-06-04T04:30:24.000Z
2019-06-04T04:30:24.000Z
NWNXLib/API/Mac/API/Plane.hpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/Plane.hpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
1
2019-10-20T07:54:45.000Z
2019-10-20T07:54:45.000Z
#pragma once #include <cstdint> #include "Vector.hpp" namespace NWNXLib { namespace API { // Forward class declarations (defined in the source file) struct Quaternion; struct Plane { Vector normal; float dist; void Transform(const Vector&, const Quaternion&); }; void Plane__Transform(Plane* thisPtr,...
13.407407
72
0.71547
acaos
84483e18280c2ca3bf9bdf73762514e2853d3b8b
3,150
cpp
C++
Source/MellowsMegaRide/Private/FollowerSpawner.cpp
Reuapmok/MellowsMegaRide
89f0f0fc834db5b04c790e87108b9393c3c65021
[ "MIT" ]
null
null
null
Source/MellowsMegaRide/Private/FollowerSpawner.cpp
Reuapmok/MellowsMegaRide
89f0f0fc834db5b04c790e87108b9393c3c65021
[ "MIT" ]
null
null
null
Source/MellowsMegaRide/Private/FollowerSpawner.cpp
Reuapmok/MellowsMegaRide
89f0f0fc834db5b04c790e87108b9393c3c65021
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "FollowerSpawner.h" #include "UObject/ConstructorHelpers.h" #include "Components/StaticMeshComponent.h" #include "FollowingActor.h" #include "Engine/World.h" #define COLLISION_PICKUP ECC_GameTraceChannel2 // Sets default...
26.694915
139
0.739365
Reuapmok
e0fa22cbc37cb6b118da1419f8273ce59c6c882d
1,703
hpp
C++
Engine/Header/Physics/CBoxCollider.hpp
Aredhele/OOM-Engine
e52f706d17f1867f575a85ba5b87b4cc34a7fa97
[ "MIT" ]
9
2018-07-21T00:30:35.000Z
2021-09-04T02:54:11.000Z
Engine/Header/Physics/CBoxCollider.hpp
Aredhele/OOM-Engine
e52f706d17f1867f575a85ba5b87b4cc34a7fa97
[ "MIT" ]
null
null
null
Engine/Header/Physics/CBoxCollider.hpp
Aredhele/OOM-Engine
e52f706d17f1867f575a85ba5b87b4cc34a7fa97
[ "MIT" ]
1
2021-12-03T14:12:41.000Z
2021-12-03T14:12:41.000Z
/// \file CBoxCollider.hpp /// \date 01/08/2018 /// \project OOM-Engine /// \package Physics /// \author Vincent STEHLY--CALISTO #ifndef OOM_ENGINE_C_BOX_COLLIDER_HPP__ #define OOM_ENGINE_C_BOX_COLLIDER_HPP__ #include "Composite/IComponent.hpp" // Forward declaration struct q3Box; namespace Oo...
23.985915
57
0.630065
Aredhele
e0fa8eb74bfd60aa2faefadf7777470a933deb45
24,466
cpp
C++
ext/cache/backend/mongo.cpp
unisys12/phalcon-hhvm
ceeabc4f8d2e51b7cae9d0e100bb4055affe65bf
[ "BSD-2-Clause" ]
13
2015-01-10T23:34:25.000Z
2017-08-25T15:16:29.000Z
ext/cache/backend/mongo.cpp
unisys12/phalcon-hhvm
ceeabc4f8d2e51b7cae9d0e100bb4055affe65bf
[ "BSD-2-Clause" ]
1
2015-04-14T06:47:20.000Z
2015-10-02T04:07:34.000Z
ext/cache/backend/mongo.cpp
unisys12/phalcon-hhvm
ceeabc4f8d2e51b7cae9d0e100bb4055affe65bf
[ "BSD-2-Clause" ]
null
null
null
/* +------------------------------------------------------------------------+ | Phalcon Framework | +------------------------------------------------------------------------+ | Copyright (c) 2011-2014 Phalcon Team (http://www.phalconphp.com) | +-----...
30.317224
151
0.733058
unisys12
e0fb17853d8f73af54b7c1eddeb88aab4c58877b
212
hh
C++
Middlewares/ugfx/tools/mcufontencoder/src/freetype_import.hh
YZ-Qiu/Scope_STM32
c8da92e1222952af3501ca7c8a0353d0c0dd287f
[ "MIT" ]
1
2017-07-18T20:02:40.000Z
2017-07-18T20:02:40.000Z
Middlewares/ugfx/tools/mcufontencoder/src/freetype_import.hh
YZ-Qiu/Scope_STM32
c8da92e1222952af3501ca7c8a0353d0c0dd287f
[ "MIT" ]
null
null
null
Middlewares/ugfx/tools/mcufontencoder/src/freetype_import.hh
YZ-Qiu/Scope_STM32
c8da92e1222952af3501ca7c8a0353d0c0dd287f
[ "MIT" ]
null
null
null
// Function for importing any font supported by libfreetype. #pragma once #include "datafile.hh" namespace mcufont { std::unique_ptr<DataFile> LoadFreetype(std::istream &file, int size, bool bw); }
19.272727
79
0.716981
YZ-Qiu
e0fd051fa85cb1524ad6449e2fb376a66f54e559
1,604
cpp
C++
MS/Merge_k_sorted_arraay.cpp
anishacharya/Cracking-Coding-Interviews
f94e70c240ad9a76eddf22b8f4d5b4185c611a71
[ "MIT" ]
1
2019-03-24T12:35:43.000Z
2019-03-24T12:35:43.000Z
MS/Merge_k_sorted_arraay.cpp
anishacharya/Cracking-Coding-Interviews
f94e70c240ad9a76eddf22b8f4d5b4185c611a71
[ "MIT" ]
null
null
null
MS/Merge_k_sorted_arraay.cpp
anishacharya/Cracking-Coding-Interviews
f94e70c240ad9a76eddf22b8f4d5b4185c611a71
[ "MIT" ]
null
null
null
#include <iostream> #include<vector> using namespace std; vector<int> merge(vector<int> nums1, vector<int>nums2) { vector<int> temp; int m=nums1.size(); int n=nums2.size(); int i=0,j=0; while(i<m && j<n) { if(nums1[i]<=nums2[j]) { temp.push_back(nums1[i]); ...
16.20202
54
0.509352
anishacharya
e0fe3caf5f2846bd3460ce8c6e3c306ed2197da2
1,627
cpp
C++
cxx_base/move.cpp
liujinxinggithub/C-11
20ad920a6ae799702efcbfea1f803fa27554d518
[ "Apache-2.0" ]
null
null
null
cxx_base/move.cpp
liujinxinggithub/C-11
20ad920a6ae799702efcbfea1f803fa27554d518
[ "Apache-2.0" ]
null
null
null
cxx_base/move.cpp
liujinxinggithub/C-11
20ad920a6ae799702efcbfea1f803fa27554d518
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <memory> #include <cassert> #include "easylogging++.h" using namespace std; INITIALIZE_EASYLOGGINGPP // assert(),运行断言,不可以提前到编译器发现错误,在发行版中,assert都会被关掉 // 会对表达式expression进行检测: // 如果expression的结果为 0(条件不成立),那么断言失败,表明程序出错,assert() 会向标准输出设备(一般是显示器)打印一条错误信息,并调用 abort() 函数终止程序的执行。 // 如果expressio...
21.986486
99
0.590043
liujinxinggithub
4603cb74afe635c61938acc39566f2f431f9e523
2,553
cpp
C++
Training-Code/2015 ACMICPC Asia Regional Shanghai Online/C.cpp
PrayStarJirachi/Exercise-Code
801a5926eccc971ab2182e5e99e3a0746bd6a7f0
[ "MIT" ]
null
null
null
Training-Code/2015 ACMICPC Asia Regional Shanghai Online/C.cpp
PrayStarJirachi/Exercise-Code
801a5926eccc971ab2182e5e99e3a0746bd6a7f0
[ "MIT" ]
null
null
null
Training-Code/2015 ACMICPC Asia Regional Shanghai Online/C.cpp
PrayStarJirachi/Exercise-Code
801a5926eccc971ab2182e5e99e3a0746bd6a7f0
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> #ifdef WIN32 #define LL "%I64d" #else #define LL "%lld" #endif const int MAXN = 2000001; const int MAXT = 4000001; const int MAXS = 4000001; const long long INF = 1ll << 50; int T, A, B, last, size, p, c[MAXT][26], l[MAXT], f[MAXT], w[MAXN]; long long dp[MA...
24.314286
98
0.489228
PrayStarJirachi
460f29086e9318587657f51c14ea336e82493a3c
1,328
cpp
C++
Ch 4 - Trees and Graphs/109. Convert Sorted List to Binary Search Tree.cpp
JanaSabuj/ctci-leetcode
aca6990417385d6d48fb8c453cc83bfd66accc10
[ "MIT" ]
1
2021-02-24T08:03:45.000Z
2021-02-24T08:03:45.000Z
Ch 4 - Trees and Graphs/109. Convert Sorted List to Binary Search Tree.cpp
JanaSabuj/ctci-leetcode
aca6990417385d6d48fb8c453cc83bfd66accc10
[ "MIT" ]
null
null
null
Ch 4 - Trees and Graphs/109. Convert Sorted List to Binary Search Tree.cpp
JanaSabuj/ctci-leetcode
aca6990417385d6d48fb8c453cc83bfd66accc10
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * ListNode(int x) : val(x), next(nullptr) {} * ListNode(int x, ListNode *next) : val(x), next(next) {} * }; */ /** * Definition for a binary tree node. * struc...
24.145455
93
0.589608
JanaSabuj
46103a9857950246f0ba3e599490fe633f37b1ee
144,002
hpp
C++
include/Oculus/Avatar/CAPI.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/Oculus/Avatar/CAPI.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/Oculus/Avatar/CAPI.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.IntPtr #include "System/IntP...
73.246185
296
0.77685
RedBrumbler
46168395119df0d5ea9f0c236ccbd21fa51abb0f
313
cpp
C++
src/Tankist/local/Battler/glob_game.cpp
Sasha7b9/U-Cube
442927ff1391bfe78cdf520ad303c7dc29086b46
[ "MIT" ]
null
null
null
src/Tankist/local/Battler/glob_game.cpp
Sasha7b9/U-Cube
442927ff1391bfe78cdf520ad303c7dc29086b46
[ "MIT" ]
null
null
null
src/Tankist/local/Battler/glob_game.cpp
Sasha7b9/U-Cube
442927ff1391bfe78cdf520ad303c7dc29086b46
[ "MIT" ]
null
null
null
/* (c) Aleksandr Shevchenko e-mail : Sasha7b9@tut.by */ #include "stdafx.h" Battler *TheBattler = nullptr; CServer *TheServer = nullptr; Keyboard *TheInput = nullptr; GameScene *TheScene = nullptr; MainCamera *TheMainCamera = nullptr; Mouse *TheMouse = nullptr; Vehicle *TheVehicle = nullptr;
24.076923
55
0.702875
Sasha7b9
4617748052a6869b4c74892efded6937205d25cc
735
cpp
C++
source/code/programs/examples/spdlog/info/main.cpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
33
2019-05-30T07:43:32.000Z
2021-12-30T13:12:32.000Z
source/code/programs/examples/spdlog/info/main.cpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
371
2019-05-16T15:23:50.000Z
2021-09-04T15:45:27.000Z
source/code/programs/examples/spdlog/info/main.cpp
UniLang/compiler
c338ee92994600af801033a37dfb2f1a0c9ca897
[ "MIT" ]
6
2019-08-22T17:37:36.000Z
2020-11-07T07:15:32.000Z
#include "spdlog/spdlog.h" #include "spdlog/sinks/stdout_sinks.h" void source_info_example() { auto console = spdlog::stdout_logger_mt("console"); spdlog::set_default_logger(console); spdlog::set_pattern("[source %s] [function %!] [line %#] %v"); SPDLOG_LOGGER_INFO(console, "log with source info"); //...
38.684211
154
0.706122
luxe
461a83e694a6801213babf84474fe747a4d2ac9e
4,561
cpp
C++
ref.neo/game/EndLevel.cpp
Grimace1975/bclcontrib-scriptsharp
8c1b05024404e9115be96a328c79a8555eca2e4a
[ "MIT" ]
null
null
null
ref.neo/game/EndLevel.cpp
Grimace1975/bclcontrib-scriptsharp
8c1b05024404e9115be96a328c79a8555eca2e4a
[ "MIT" ]
null
null
null
ref.neo/game/EndLevel.cpp
Grimace1975/bclcontrib-scriptsharp
8c1b05024404e9115be96a328c79a8555eca2e4a
[ "MIT" ]
null
null
null
/* =========================================================================== Doom 3 GPL Source Code Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). Doom 3 Source Code is free software: you can redistribute it and/or modify...
24.521505
342
0.675729
Grimace1975
461abcefa5c732f795c05da3f568e39bd32d3628
6,500
cpp
C++
src/vcml/protocols/tlm_host.cpp
nbosb/vcml
5b946a32b024cbba8da6928971ffc2a4f9b712f1
[ "Apache-2.0" ]
36
2018-01-29T12:20:37.000Z
2022-03-29T06:14:59.000Z
src/vcml/protocols/tlm_host.cpp
nbosb/vcml
5b946a32b024cbba8da6928971ffc2a4f9b712f1
[ "Apache-2.0" ]
9
2018-12-04T10:37:14.000Z
2021-11-16T16:57:29.000Z
src/vcml/protocols/tlm_host.cpp
nbosb/vcml
5b946a32b024cbba8da6928971ffc2a4f9b712f1
[ "Apache-2.0" ]
18
2018-10-14T11:30:43.000Z
2022-01-08T07:12:56.000Z
/****************************************************************************** * * * Copyright 2021 Jan Henrik Weinstock * * * ...
35.519126
80
0.564923
nbosb
461b3cbd0ccaa43922a9b53040d9999593453275
33
hpp
C++
src/boost_process_cmd.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_process_cmd.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_process_cmd.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/process/cmd.hpp>
16.5
32
0.757576
miathedev
46201f2bd9fa4e937e4769aa174e216b923429a3
437
cpp
C++
balls/src/ball.cpp
KorovinVA/4_sem
332057670b19283b187c993351693f65335da139
[ "MIT" ]
null
null
null
balls/src/ball.cpp
KorovinVA/4_sem
332057670b19283b187c993351693f65335da139
[ "MIT" ]
null
null
null
balls/src/ball.cpp
KorovinVA/4_sem
332057670b19283b187c993351693f65335da139
[ "MIT" ]
null
null
null
#include "ball.h" #include <iostream> constexpr auto RAD = 4; ball::ball() : radius(RAD) { orb.setRadius(radius); orb.setPosition(getStartPosition()); orb.setFillColor(sf::Color::Black); } void ball::update(sf::Time dt, int ball_number) { collision::update(velocity, ball_number); orb.move(getVelocity() * dt.as...
14.096774
47
0.693364
KorovinVA
46203328f7474e2a20b6bc3d10ff758b98f645f7
10,739
cpp
C++
TIGLViewer/src/TIGLViewerSelectWingAndFlapStatusDialog.cpp
Mk-arc/tigl
45ace0b17008e2beab3286babe310a817fcd6578
[ "Apache-2.0" ]
171
2015-04-13T11:24:34.000Z
2022-03-26T00:56:38.000Z
TIGLViewer/src/TIGLViewerSelectWingAndFlapStatusDialog.cpp
Mk-arc/tigl
45ace0b17008e2beab3286babe310a817fcd6578
[ "Apache-2.0" ]
620
2015-01-20T08:34:36.000Z
2022-03-30T11:05:33.000Z
TIGLViewer/src/TIGLViewerSelectWingAndFlapStatusDialog.cpp
Mk-arc/tigl
45ace0b17008e2beab3286babe310a817fcd6578
[ "Apache-2.0" ]
56
2015-02-09T13:33:56.000Z
2022-03-19T04:52:51.000Z
/* * Copyright (C) 2007-2013 German Aerospace Center (DLR/SC) * * Created: 2014-01-28 Mark Geiger <Mark.Geiger@dlr.de> * * 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://...
32.740854
156
0.701648
Mk-arc
4620941114fa773e16effc37b033bea510b936fc
2,006
cpp
C++
MonoNative.Tests/mscorlib/System/Runtime/InteropServices/mscorlib_System_Runtime_InteropServices_RuntimeEnvironment_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/Runtime/InteropServices/mscorlib_System_Runtime_InteropServices_RuntimeEnvironment_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/Runtime/InteropServices/mscorlib_System_Runtime_InteropServices_RuntimeEnvironment_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System.Runtime.InteropServices // Name: RuntimeEnvironment // C++ Typed Name: mscorlib::System::Runtime::InteropServices::RuntimeEnvironment #include <gtest/gtest.h> #include <mscorlib/System/...
25.392405
146
0.739282
brunolauze
462a091ddd70d8c42f9852b2f15b06889baf2f69
3,246
cpp
C++
Classes/HomeScene.cpp
melonedo/fate-grand-rider
63ff2a31dca4d0f29a60258554a3544c624ef7f1
[ "MIT" ]
1
2020-05-10T13:57:03.000Z
2020-05-10T13:57:03.000Z
Classes/HomeScene.cpp
melonedo/fate-grand-rider
63ff2a31dca4d0f29a60258554a3544c624ef7f1
[ "MIT" ]
null
null
null
Classes/HomeScene.cpp
melonedo/fate-grand-rider
63ff2a31dca4d0f29a60258554a3544c624ef7f1
[ "MIT" ]
null
null
null
#include "cocos2d.h" #include "HomeScene.h" #include "assert.h" #include "constants.h" #include "GameScene.h" #include "Pause.h" #include "DataSet.h" using namespace cocos2d; HomeScene* HomeScene::create(callback_t on_start_pressed, callback_t on_settings_pressed) { // 首先创建 auto scene = HomeScene::create(); a...
35.282609
79
0.675909
melonedo
462a35475c6a45b74906402e8ac403bb8603517a
6,158
cpp
C++
graphics/ResourceManager.cpp
adanielnoel/CPP-GUI
2a612700c5be7788cf43fba9a8a737ddfc588787
[ "MIT" ]
null
null
null
graphics/ResourceManager.cpp
adanielnoel/CPP-GUI
2a612700c5be7788cf43fba9a8a737ddfc588787
[ "MIT" ]
null
null
null
graphics/ResourceManager.cpp
adanielnoel/CPP-GUI
2a612700c5be7788cf43fba9a8a737ddfc588787
[ "MIT" ]
null
null
null
/* Created by Alejandro Daniel Noel on 03/01/2017. */ #include "ResourceManager.h" #include "Window.h" //std::map<std::string, glm::vec3> ResourceManager::colors; //std::map<std::string, glm::vec4> ResourceManager::colorScheme; //std::map<std::string, Font> ResourceManager::fonts; //std::map<ShaderType, Shader> R...
37.321212
161
0.600032
adanielnoel
462a7dcbd2e712cb08de4fde4e4c0ee30940372c
26,613
hpp
C++
src/Mesh.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
2
2018-07-04T16:44:04.000Z
2021-01-03T07:26:27.000Z
src/Mesh.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
null
null
null
src/Mesh.hpp
spraetor/amdis2
53c45c81a65752a8fafbb54f9ae6724a86639dcd
[ "MIT" ]
null
null
null
/** \defgroup Triangulation Triangulation module * @{ <img src="triangulation.png"> @} * * Example: * * @{ <img src="hierarchicalMesh.png"> @} * * \brief * Contains all triangulation classes. */ #pragma once #include <deque> #include <set> #include <stdio.h> #include "AMDiS_fwd.hpp" #include "BoundaryCondit...
28.958651
87
0.632661
spraetor
462c27746b2bd7d593dc3df5a70b20b4f04dd28e
4,567
cpp
C++
chuffed/examples/mosp.cpp
tlyphed/chuffed
23b9fcee3bb30b11f68d82ef4534040ebae1a8fb
[ "MIT" ]
62
2016-11-25T08:03:51.000Z
2022-03-05T18:24:19.000Z
chuffed/examples/mosp.cpp
tlyphed/chuffed
23b9fcee3bb30b11f68d82ef4534040ebae1a8fb
[ "MIT" ]
57
2016-11-29T16:43:51.000Z
2022-03-06T22:14:45.000Z
chuffed/examples/mosp.cpp
tlyphed/chuffed
23b9fcee3bb30b11f68d82ef4534040ebae1a8fb
[ "MIT" ]
31
2016-11-17T12:37:21.000Z
2022-01-22T20:39:17.000Z
#include <cstdio> #include <cassert> #include <chuffed/core/engine.h> #include <chuffed/core/propagator.h> #include <chuffed/branching/branching.h> #include <chuffed/vars/modelling.h> class MOSP : public Problem { public: int n; int m; bool **a; vec<IntVar*> s; vec<IntVar*> e; vec<vec<BoolView> > sb; vec<vec<Bo...
19.270042
70
0.482374
tlyphed
462e67574ba202a816ab4adf33500cc567fffa98
279
cpp
C++
ieee_sep/token.cpp
Tylores/ieee_sep
1928bed8076f4bfe702d34e436c6a85f197b0832
[ "BSD-2-Clause" ]
null
null
null
ieee_sep/token.cpp
Tylores/ieee_sep
1928bed8076f4bfe702d34e436c6a85f197b0832
[ "BSD-2-Clause" ]
null
null
null
ieee_sep/token.cpp
Tylores/ieee_sep
1928bed8076f4bfe702d34e436c6a85f197b0832
[ "BSD-2-Clause" ]
null
null
null
/////////////////////////////////////////////////////////// // token.cpp // Implementation of the Class token // Created on: 13-Apr-2020 2:51:45 PM /////////////////////////////////////////////////////////// #include "token.h" token::token(){ } token::~token(){ }
15.5
59
0.340502
Tylores
4632f6ab65f9c407fd00c18576368dc49afbf464
768
hpp
C++
include/burst/range/cache_one.hpp
izvolov/thrust
399e12eed54131d731c4c5ef40512b17107bca56
[ "BSL-1.0" ]
85
2015-11-25T14:05:42.000Z
2021-11-15T11:47:19.000Z
include/burst/range/cache_one.hpp
izvolov/burst
399e12eed54131d731c4c5ef40512b17107bca56
[ "BSL-1.0" ]
147
2015-01-11T08:36:53.000Z
2021-11-04T09:03:36.000Z
include/burst/range/cache_one.hpp
izvolov/thrust
399e12eed54131d731c4c5ef40512b17107bca56
[ "BSL-1.0" ]
6
2016-06-02T17:28:26.000Z
2020-04-05T11:16:16.000Z
#ifndef BURST__RANGE__CACHE_ONE_HPP #define BURST__RANGE__CACHE_ONE_HPP #include <burst/iterator/cache_iterator.hpp> #include <boost/range/iterator_range.hpp> #include <iterator> namespace burst { //! Функция для создания диапазона кэширующих итераторов /*! Принимает на вход произвольный диа...
24
64
0.641927
izvolov
463ac5856b1f4d56eac58b33d723b9923e1d3042
6,226
cpp
C++
src/SubtreeTracker.cpp
ravidavi/OpenFrames
67cce87f1ccd23df91d6d070d86c06ceb180dadb
[ "Apache-2.0" ]
26
2017-08-16T18:17:50.000Z
2022-03-11T10:23:52.000Z
src/SubtreeTracker.cpp
ravidavi/OpenFrames
67cce87f1ccd23df91d6d070d86c06ceb180dadb
[ "Apache-2.0" ]
4
2018-10-18T12:31:19.000Z
2020-08-12T08:59:25.000Z
src/SubtreeTracker.cpp
ravidavi/OpenFrames
67cce87f1ccd23df91d6d070d86c06ceb180dadb
[ "Apache-2.0" ]
11
2018-09-10T18:29:07.000Z
2022-03-09T13:53:52.000Z
/*********************************** Copyright 2020 Ravishankar Mathur 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 requi...
28.045045
143
0.681658
ravidavi
463d0151eb33cb45fefa7a806bd065497dad38d1
6,131
hpp
C++
tests/WIP/apps/fom_gold_states.hpp
Pressio/pressio
e07eb1ed71266490217f2f7a3aad5e1acfecfd4a
[ "BSD-3-Clause" ]
29
2019-11-11T13:17:57.000Z
2022-03-16T01:31:31.000Z
tests/WIP/apps/fom_gold_states.hpp
Pressio/pressio
e07eb1ed71266490217f2f7a3aad5e1acfecfd4a
[ "BSD-3-Clause" ]
303
2019-09-30T10:15:41.000Z
2022-03-30T08:24:04.000Z
tests/WIP/apps/fom_gold_states.hpp
nittaya1990/pressio
22fad15ffc00f3e4d880476a5e60b227ac714ef4
[ "BSD-3-Clause" ]
4
2020-07-07T03:32:36.000Z
2022-03-10T05:21:42.000Z
#ifndef PRESSIO_APPS_TEST_STEADY_ADV_DIFF_2D_GOLD_HPP_ #define PRESSIO_APPS_TEST_STEADY_ADV_DIFF_2D_GOLD_HPP_ namespace pressio { namespace apps{ namespace test{ const std::map<int, double> steadyAdvDiff2d_nx11ny21 = { { 0, 0.891273974928453}, { 1, 0.639232629093212}, { 2, 0.798702684256647}, { ...
30.351485
54
0.601533
Pressio
463f0cd59a5da7b55768e417840def727d9ab8cf
3,307
hpp
C++
include/xlnt/styles/number_format.hpp
AlanIWBFT/xlnt-ue4
486da299390a05198a0ba4ebb456f226b87924b3
[ "MIT", "Unlicense" ]
12
2015-09-05T04:12:16.000Z
2021-08-22T23:24:18.000Z
include/xlnt/styles/number_format.hpp
AlanIWBFT/xlnt-ue4
486da299390a05198a0ba4ebb456f226b87924b3
[ "MIT", "Unlicense" ]
null
null
null
include/xlnt/styles/number_format.hpp
AlanIWBFT/xlnt-ue4
486da299390a05198a0ba4ebb456f226b87924b3
[ "MIT", "Unlicense" ]
4
2015-09-06T13:00:10.000Z
2021-07-12T05:15:21.000Z
// Copyright (c) 2014 Thomas Fussell // Copyright (c) 2010-2014 openpyxl // // 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 // ...
31.198113
95
0.680375
AlanIWBFT
46401b105d3a685761a2cee10df345fe2ecf80b4
1,384
cc
C++
headless/test/test_url_request_job.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
headless/test/test_url_request_job.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
headless/test/test_url_request_job.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "headless/test/test_url_request_job.h" #include "net/base/io_buffer.h" #include "net/http/http_response_headers.h" namespace headless { TestUR...
32.952381
76
0.692197
zipated
4640cef72df52309fc55049499d81c61a5cf8770
258
cpp
C++
src/Commands/ShootGuidedMissileCommand.cpp
SCOTT-HAMILTON/RobotsWar
dd8b639d51e81c607ee45d95c78e04f3cd0736d3
[ "MIT" ]
1
2018-04-26T11:45:39.000Z
2018-04-26T11:45:39.000Z
src/Commands/ShootGuidedMissileCommand.cpp
SCOTT-HAMILTON/RobotsWar
dd8b639d51e81c607ee45d95c78e04f3cd0736d3
[ "MIT" ]
null
null
null
src/Commands/ShootGuidedMissileCommand.cpp
SCOTT-HAMILTON/RobotsWar
dd8b639d51e81c607ee45d95c78e04f3cd0736d3
[ "MIT" ]
null
null
null
#include "Commands/ShootGuidedMissileCommand.h" ShootGuidedMissileCommand::ShootGuidedMissileCommand(ScriptBlock &block) : ScriptCommand(block, "shootguidedmissile") { } ShootGuidedMissileCommand::~ShootGuidedMissileCommand() { //dtor }
21.5
75
0.763566
SCOTT-HAMILTON
464871ae9dc4ff6efa68362775487084935f849a
38,576
cpp
C++
src/cpp/mcmc_updater.cpp
plewis/phycas
9f5a4d9b2342dab907d14a46eb91f92ad80a5605
[ "MIT" ]
3
2015-09-24T23:12:57.000Z
2021-04-12T07:07:01.000Z
src/cpp/mcmc_updater.cpp
plewis/phycas
9f5a4d9b2342dab907d14a46eb91f92ad80a5605
[ "MIT" ]
null
null
null
src/cpp/mcmc_updater.cpp
plewis/phycas
9f5a4d9b2342dab907d14a46eb91f92ad80a5605
[ "MIT" ]
1
2015-11-23T10:35:43.000Z
2015-11-23T10:35:43.000Z
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\ | Phycas: Python software for phylogenetic analysis | | Copyright (C) 2006 Mark T. Holder, Paul O. Lewis and David L. Swofford | | | ...
39.728115
187
0.531833
plewis
464d9ce9c87925954ea5596b16651b0de3639f6d
1,986
cpp
C++
Game/Source/Archetypes/WallArchetype.cpp
JanVijfhuizen/Data-Oriented-Engine
cf0af33249a5b81a28adb8e3502e426d112934ba
[ "MIT" ]
null
null
null
Game/Source/Archetypes/WallArchetype.cpp
JanVijfhuizen/Data-Oriented-Engine
cf0af33249a5b81a28adb8e3502e426d112934ba
[ "MIT" ]
null
null
null
Game/Source/Archetypes/WallArchetype.cpp
JanVijfhuizen/Data-Oriented-Engine
cf0af33249a5b81a28adb8e3502e426d112934ba
[ "MIT" ]
null
null
null
#include "pch.h" #include "Archetypes/WallArchetype.h" #include "Systems/CollisionSystem.h" #include "Graphics/RenderConventions.h" namespace game { SubTexture WallArchetype::GenerateSubTexture(const Texture& texture) const { return texture::GenerateSubTexture(texture, renderConventions::ENTITY_SIZE, renderConven...
28.782609
105
0.763847
JanVijfhuizen
464f92d0288de96943070e3ec64d53333cbfcb10
705
cpp
C++
04_graph_algorithms/23_road_construction.cpp
hariharanragothaman/CSES
fa3478a71fbf66f695673e2a644d84084f6a3b90
[ "MIT" ]
1
2021-06-17T17:14:13.000Z
2021-06-17T17:14:13.000Z
04_graph_algorithms/23_road_construction.cpp
hariharanragothaman/CSES
fa3478a71fbf66f695673e2a644d84084f6a3b90
[ "MIT" ]
null
null
null
04_graph_algorithms/23_road_construction.cpp
hariharanragothaman/CSES
fa3478a71fbf66f695673e2a644d84084f6a3b90
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct DSU { vector<int> e; void init (int n) { e = vector<int> (n, -1); } int get (int x) { return (e[x] < 0 ? x : e[x] = get(e[x])); } bool sameSet (int x, int y) { return get(x) == get(y); } int size (int x) { return -e[get(x)]; } bool unite (int x, int y) { x ...
18.552632
62
0.468085
hariharanragothaman
4650842f2a566bc49d1c2879a8d79e990b32193e
1,800
hpp
C++
include/fontCache.hpp
iaiacthulhu/fontCache
f6204d35916f820b7f96d412e76f451d9c0aaed5
[ "MIT" ]
null
null
null
include/fontCache.hpp
iaiacthulhu/fontCache
f6204d35916f820b7f96d412e76f451d9c0aaed5
[ "MIT" ]
null
null
null
include/fontCache.hpp
iaiacthulhu/fontCache
f6204d35916f820b7f96d412e76f451d9c0aaed5
[ "MIT" ]
null
null
null
#ifndef FONTCACHE_H #define FONTCACHE_H #include <iostream> #include <map> #include <GL/glew.h> #include <ft2build.h> #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-register" #endif #include FT_FREETYPE_H #ifdef __clang__ #pragma clang diagnostic pop #endif #inclu...
22.78481
70
0.607778
iaiacthulhu
465532a99532249604784d180205c12930604fcb
4,473
cpp
C++
src/messaging/IIASAPI.cpp
andersgjerdrum/diggi
c072911c439758b6f1bb1d9972c6fc32aa49d560
[ "Intel", "CC-BY-3.0", "MIT-CMU" ]
null
null
null
src/messaging/IIASAPI.cpp
andersgjerdrum/diggi
c072911c439758b6f1bb1d9972c6fc32aa49d560
[ "Intel", "CC-BY-3.0", "MIT-CMU" ]
null
null
null
src/messaging/IIASAPI.cpp
andersgjerdrum/diggi
c072911c439758b6f1bb1d9972c6fc32aa49d560
[ "Intel", "CC-BY-3.0", "MIT-CMU" ]
null
null
null
/** * @file IIASAPI.cpp * @author Anders Gjerdrum (anders.t.gjerdrum@uit.no) * @brief Implementations of the IAttestationApi interface * @version 0.1 * @date 2020-01-31 * * @copyright Copyright (c) 2020 * */ #include "messaging/IIASAPI.h" /** * @brief wrapper to send attestation verification request to the...
27.611111
111
0.748715
andersgjerdrum
4655e50fb40164da11a32e064f6f853d8eae5495
7,773
cpp
C++
Source/RState.cpp
HaikuArchives/Rez
db5e7e1775a379e1e54bc17012047d92ec782202
[ "BSD-4-Clause" ]
1
2016-09-12T19:04:30.000Z
2016-09-12T19:04:30.000Z
Source/RState.cpp
HaikuArchives/Rez
db5e7e1775a379e1e54bc17012047d92ec782202
[ "BSD-4-Clause" ]
null
null
null
Source/RState.cpp
HaikuArchives/Rez
db5e7e1775a379e1e54bc17012047d92ec782202
[ "BSD-4-Clause" ]
null
null
null
/* $Id: RState.cpp,v 1.1.1.1 2000/03/05 06:22:40 tpv Exp $ Copyright 1996, 1997, 1998 Hekkelman Programmatuur B.V. 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 s...
22.997041
77
0.660363
HaikuArchives
4656360df12f56b3b31a88bc97acd2bbc3e6b852
11,162
cc
C++
src/device.cc
xaudioproject/xapcppcore-audioio
615df98bfbc2fbca6b68127f2f9b342d69e7cc8d
[ "BSD-3-Clause" ]
1
2021-07-18T02:22:42.000Z
2021-07-18T02:22:42.000Z
src/device.cc
xaudioproject/xapcppcore-audioio
615df98bfbc2fbca6b68127f2f9b342d69e7cc8d
[ "BSD-3-Clause" ]
null
null
null
src/device.cc
xaudioproject/xapcppcore-audioio
615df98bfbc2fbca6b68127f2f9b342d69e7cc8d
[ "BSD-3-Clause" ]
null
null
null
// // Copyright 2019 - 2021 The XOrange Studio. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE.md file. // // // Imports. // #include "error_p.h" #include <exception> #include <portaudio.h> #include <xap/audioio/device.h> #include <xap/audioi...
28.620513
78
0.566207
xaudioproject
4657ae11d1632533b3a0f9ed7c686f5d5ec45df4
31,638
cpp
C++
tests/unit_tests.cpp
adeobootpin/light-tensor
dfc2d19495848e773b7367427cf848e4ac30b29d
[ "MIT" ]
null
null
null
tests/unit_tests.cpp
adeobootpin/light-tensor
dfc2d19495848e773b7367427cf848e4ac30b29d
[ "MIT" ]
null
null
null
tests/unit_tests.cpp
adeobootpin/light-tensor
dfc2d19495848e773b7367427cf848e4ac30b29d
[ "MIT" ]
null
null
null
#include <iostream> #include <chrono> #include "lten.h" template<typename Dtype> int Compare(Dtype* A, Dtype* B, uint64_t len, Dtype error = 0) { uint64_t i; for (i = 0; i < len; i++) { if (fabs(A[i] - B[i]) > error) { return -1; } } return 0; } //------------------------------------...
23.734434
644
0.514792
adeobootpin
465b0e6c5f6183613e7f76f1de5d628cdd63bd0c
6,011
cpp
C++
example/mirror/chai_on_mirror.cpp
jagrut08/mirror
d219fb719212bff81714771846ceecbe505002cb
[ "BSL-1.0" ]
null
null
null
example/mirror/chai_on_mirror.cpp
jagrut08/mirror
d219fb719212bff81714771846ceecbe505002cb
[ "BSL-1.0" ]
null
null
null
example/mirror/chai_on_mirror.cpp
jagrut08/mirror
d219fb719212bff81714771846ceecbe505002cb
[ "BSL-1.0" ]
null
null
null
/// @example mirror/chai_on_mirror.cpp /// /// Copyright Matus Chochlik. /// Distributed under the Boost Software License, Version 1.0. /// See accompanying file LICENSE_1_0.txt or copy at /// http://www.boost.org/LICENSE_1_0.txt /// #include <mirror/chaiscript.hpp> #include <mirror/sequence.hpp> #include <cassert> #i...
28.220657
129
0.655465
jagrut08
465c65ec5fa942cfb21afa4a132e2aa96d237aa1
21,868
cpp
C++
src/interactive_mid_protocols/OTOneSidedSimulation.cpp
manel1874/libscapi
8cf705162af170c04c8e2299213f52888193cabe
[ "MIT" ]
160
2016-05-11T09:45:56.000Z
2022-03-06T09:32:19.000Z
src/interactive_mid_protocols/OTOneSidedSimulation.cpp
cryptobiu/libscapi
49eee7aee9eb3544a7facb199d0a6e98097b058a
[ "MIT" ]
57
2016-12-26T07:02:12.000Z
2022-03-06T16:34:31.000Z
src/interactive_mid_protocols/OTOneSidedSimulation.cpp
manel1874/libscapi
8cf705162af170c04c8e2299213f52888193cabe
[ "MIT" ]
67
2016-10-10T17:56:22.000Z
2022-03-15T22:56:39.000Z
#include "../../include/interactive_mid_protocols/OTOneSidedSimulation.hpp" OTOneSidedSimDDHSenderAbs::OTOneSidedSimDDHSenderAbs(const shared_ptr<CommParty> & channel, const shared_ptr<PrgFromOpenSSLAES> & random, const shared_ptr<DlogGroup> & dlog) : zkVerifier(channel, make_shared<SigmaDlogVerifierComputation>(d...
35.270968
178
0.687489
manel1874
465ff86bff8701ada34c890b1eec14e57d5b18a6
1,637
cc
C++
my_web/include/core/HttpServer.cc
LhdDream/my_web
463bac5103fab5ba32f8971ede8d1e480ff6b274
[ "MIT" ]
6
2019-09-06T09:06:05.000Z
2021-10-09T16:05:02.000Z
my_web/include/core/HttpServer.cc
LhdDream/my_web
463bac5103fab5ba32f8971ede8d1e480ff6b274
[ "MIT" ]
null
null
null
my_web/include/core/HttpServer.cc
LhdDream/my_web
463bac5103fab5ba32f8971ede8d1e480ff6b274
[ "MIT" ]
1
2020-08-14T06:31:59.000Z
2020-08-14T06:31:59.000Z
// // Created by kiosk on 19-8-5. // #include "core/HttpServer.h" #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wmissing-noreturn" httpserver::httpserver() : m_acceptor{}, m_epoll(), m_users(m_epoll) { m_acceptor.SetCallback([&](int fd) { m_users.AddUser(fd); m_epoll.Add_Channel...
34.104167
105
0.583384
LhdDream
4664553d0cbcabc17439ef81f391a32783ee0d81
2,114
cpp
C++
Array/33. Search in Rotated Sorted Array/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
1
2021-11-19T19:58:33.000Z
2021-11-19T19:58:33.000Z
Array/33. Search in Rotated Sorted Array/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
null
null
null
Array/33. Search in Rotated Sorted Array/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
2
2021-11-26T12:47:27.000Z
2022-01-13T16:14:46.000Z
// // main.cpp // 33. Search in Rotated Sorted Array // // Created by 边俊林 on 2018/7/13. // Copyright © 2018 minecode. All rights reserved. // /* ------------------------------------------------------------------------ *\ https://leetcode-cn.com/problems/search-in-rotated-sorted-array/description/ \* -------------...
25.780488
142
0.466887
Minecodecraft
466a0cb88c59fb690c68030f7b62edf50d850393
3,393
hpp
C++
lib/libchen/include/chen/data/ini.hpp
chensoft/libxio
17345e500cca5085641b5392ce8ef7dc65369d69
[ "MIT" ]
6
2018-07-28T08:03:24.000Z
2022-03-31T08:56:57.000Z
include/chen/data/ini.hpp
chensoft/libchen
03ae1da49a39595cd8afcb6089122b9a5caa7891
[ "MIT" ]
null
null
null
include/chen/data/ini.hpp
chensoft/libchen
03ae1da49a39595cd8afcb6089122b9a5caa7891
[ "MIT" ]
2
2019-05-21T02:26:36.000Z
2020-04-13T16:46:20.000Z
/** * A tiny ini parser * @since 2016.03.24 * @author Jian Chen <admin@chensoft.com> * @link http://chensoft.com * @link https://en.wikipedia.org/wiki/INI_file * ----------------------------------------------------------------------------- * Ini file consists of two parts: section and property * -) Case se...
39.453488
114
0.59387
chensoft
466ef3f27d3e4758bafa5cc9a053ee6a64b6cd25
3,771
cpp
C++
src/nucleus/x86/idt.cpp
fossabot/metta
a5f56403886ddfb93f2262e4f03b49b38bbcce00
[ "BSL-1.0" ]
32
2017-05-29T00:55:50.000Z
2022-03-15T06:40:01.000Z
src/nucleus/x86/idt.cpp
fossabot/metta
a5f56403886ddfb93f2262e4f03b49b38bbcce00
[ "BSL-1.0" ]
1
2018-01-01T14:22:32.000Z
2021-06-30T14:15:51.000Z
src/nucleus/x86/idt.cpp
fossabot/metta
a5f56403886ddfb93f2262e4f03b49b38bbcce00
[ "BSL-1.0" ]
9
2017-09-22T00:58:29.000Z
2021-06-25T16:54:44.000Z
// // Part of Metta OS. Check https://atta-metta.net for latest version. // // Copyright 2007 - 2017, Stanislav Karchebnyy <berkus@atta-metta.net> // // Distributed under the Boost Software License, Version 1.0. // (See file LICENSE_1_0.txt or a copy at http://www.boost.org/LICENSE_1_0.txt) // #include "idt.h" #include...
24.809211
79
0.640414
fossabot
467125d505247e01a85ebc8748e7c1ee0a879efd
980
cpp
C++
sm_c_vector.cpp
xzrunner/sm
e31351c4fcd4470efa4dbec5bb6ee02c21ae42f8
[ "MIT" ]
null
null
null
sm_c_vector.cpp
xzrunner/sm
e31351c4fcd4470efa4dbec5bb6ee02c21ae42f8
[ "MIT" ]
null
null
null
sm_c_vector.cpp
xzrunner/sm
e31351c4fcd4470efa4dbec5bb6ee02c21ae42f8
[ "MIT" ]
null
null
null
#include "SM_Vector.h" namespace sm { extern "C" struct sm_vec2* sm_vec2_vector(struct sm_vec2* v, const struct sm_vec2* p1, const struct sm_vec2* p2) { *(vec2*)v = (*(const vec2*)p1) - (*(const vec2*)p2); return v; } extern "C" struct sm_vec2* sm_vec2_add(struct sm_vec2* v, const struct sm_vec2* p1, const struct ...
20.416667
101
0.670408
xzrunner
46723a13e6c172c8c1887d7176122c9db5de5319
2,827
cxx
C++
src/gadget/main_apply_merges.cxx
lejeunel/glia
24b763a230627951139010cd07b0d0ff2356a365
[ "MIT" ]
11
2016-08-16T02:26:31.000Z
2021-08-25T06:51:47.000Z
src/gadget/main_apply_merges.cxx
lejeunel/glia
24b763a230627951139010cd07b0d0ff2356a365
[ "MIT" ]
3
2017-05-26T15:33:42.000Z
2018-04-27T12:12:24.000Z
src/gadget/main_apply_merges.cxx
lejeunel/glia
24b763a230627951139010cd07b0d0ff2356a365
[ "MIT" ]
9
2016-07-25T08:28:12.000Z
2021-03-17T15:02:41.000Z
#include "util/struct_merge.hxx" #include "util/container.hxx" #include "util/image_io.hxx" #include "util/text_io.hxx" #include "util/text_cmd.hxx" using namespace glia; bool comp (TTriple<Label> const& m0, TTriple<Label> const& m1) { return m0.x2 < m1.x2; } bool operation (std::string const& outputImageFile, ...
38.726027
78
0.650513
lejeunel
4677a9d36e5af82fdba9b7a5e1aff6ecf817e527
210
cpp
C++
ch2/sizeof.cpp
janewen134/cpp_self_improvement
0e66ee529502c0965e3ddc959399b0ef0c942061
[ "MIT" ]
null
null
null
ch2/sizeof.cpp
janewen134/cpp_self_improvement
0e66ee529502c0965e3ddc959399b0ef0c942061
[ "MIT" ]
null
null
null
ch2/sizeof.cpp
janewen134/cpp_self_improvement
0e66ee529502c0965e3ddc959399b0ef0c942061
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { cout << "The size of int is " << sizeof(int) << "bytes" << endl; cout << "The size of long is " << sizeof(long) << "bytes" << endl; return 0; }
26.25
70
0.571429
janewen134
46784251df709ca00dafe33068ef175077f33a02
8,018
cpp
C++
a3d/src/vulkan/a3dUnorderedAccessView.cpp
ProjectAsura/asura-SDK
e823129856185b023b164415b7aec2de0ba9c338
[ "MIT" ]
42
2016-11-11T13:27:48.000Z
2021-07-27T17:53:43.000Z
a3d/src/vulkan/a3dUnorderedAccessView.cpp
ProjectAsura/asura-SDK
e823129856185b023b164415b7aec2de0ba9c338
[ "MIT" ]
null
null
null
a3d/src/vulkan/a3dUnorderedAccessView.cpp
ProjectAsura/asura-SDK
e823129856185b023b164415b7aec2de0ba9c338
[ "MIT" ]
2
2017-03-26T08:25:29.000Z
2018-10-24T06:10:29.000Z
//------------------------------------------------------------------------------------------------- // File : a3dUnorderedAccessView.cpp // Desc : Unordered Access View Module. // Copyright(c) Project Asura. All right reserved. //-----------------------------------------------------------------------------------------...
39.303922
111
0.392991
ProjectAsura
46841b554277ffe7974add8ade14f9090a160ab1
1,191
cpp
C++
2A. C++ Advanced (STL)/Workshops/Workshop 6/w6.cpp
alemesa1991/School-Projects
ed9170fa4cadfe18c6d9850a17077686ca16d1a1
[ "MIT" ]
null
null
null
2A. C++ Advanced (STL)/Workshops/Workshop 6/w6.cpp
alemesa1991/School-Projects
ed9170fa4cadfe18c6d9850a17077686ca16d1a1
[ "MIT" ]
null
null
null
2A. C++ Advanced (STL)/Workshops/Workshop 6/w6.cpp
alemesa1991/School-Projects
ed9170fa4cadfe18c6d9850a17077686ca16d1a1
[ "MIT" ]
null
null
null
/* OOP345 Workshop 6 Title : Lambda Expressions Date : 03/21/17 Author : Alejandro Mesa Student# : 038515151 Email : amesasuarez@myseneca.ca */ // Workshop 6 - Lambda Expression // w6.cpp #include <iostream> #include "Grades.h" int main(int argc, char* argv[]) { if (argc != 2) { std::c...
18.904762
61
0.553317
alemesa1991
46847858f82ed42ed05f6c41dda691a2af89e86e
49
cpp
C++
nanodbc_ext/detail/async_folly.cpp
fesily/nanodbc_ext
1d0d96130183bac6d27bd3dc07d82cc4f6e4b7cb
[ "MIT" ]
null
null
null
nanodbc_ext/detail/async_folly.cpp
fesily/nanodbc_ext
1d0d96130183bac6d27bd3dc07d82cc4f6e4b7cb
[ "MIT" ]
null
null
null
nanodbc_ext/detail/async_folly.cpp
fesily/nanodbc_ext
1d0d96130183bac6d27bd3dc07d82cc4f6e4b7cb
[ "MIT" ]
null
null
null
#include <nanodbc_ext/detail/async_folly-inl.h>
16.333333
47
0.795918
fesily
468ae108245ae09b027a77ac25375732789ccc78
2,145
cpp
C++
Phoenix3D/PX2Launcher/PX2L_App.cpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
36
2016-04-24T01:40:38.000Z
2022-01-18T07:32:26.000Z
Phoenix3D/PX2Launcher/PX2L_App.cpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
null
null
null
Phoenix3D/PX2Launcher/PX2L_App.cpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
16
2016-06-13T08:43:51.000Z
2020-09-15T13:25:58.000Z
// PX2L_App.cpp #include "PX2L_App.hpp" #include "PX2L_MainFrame.hpp" #include "PX2EngineLoop.hpp" #include "PX2LuaManager.hpp" using namespace PX2Launcher; using namespace PX2; //----------------------------------------------------------------------------- IMPLEMENT_APP(PX2Launcher::L_App) //------------------------...
27.151899
97
0.573893
PheonixFoundation
468c343db026ee176b3d31511339458cc18833d7
4,109
cxx
C++
CandyKing/Animal.cxx
trilog/Tri
5fedee71b1cedaa3003d68f0228135a471d1f09e
[ "Apache-2.0" ]
null
null
null
CandyKing/Animal.cxx
trilog/Tri
5fedee71b1cedaa3003d68f0228135a471d1f09e
[ "Apache-2.0" ]
null
null
null
CandyKing/Animal.cxx
trilog/Tri
5fedee71b1cedaa3003d68f0228135a471d1f09e
[ "Apache-2.0" ]
null
null
null
#include "Animal.h" // **************** Con/Destructors *********************** Animal::Animal(): soundManager(NULL), state(asStanding), currentClip(0), flip(SDL_FLIP_NONE), hitBoxShown(false), vectorsShown(false), maxVelocity(10), maxPoints(10), theta(0), velocity(0) { } // **************** setImage **************...
23.614943
85
0.513264
trilog
46937783dc5eada20a7f8dc2884cc494620a8536
264
cpp
C++
Meinkraft/Meinkraft/RawModel.cpp
iceklue/Meinkraft-V2.0
9cd3a35654ef6c82bcb67bfd62d9cce76baa05a0
[ "MIT" ]
null
null
null
Meinkraft/Meinkraft/RawModel.cpp
iceklue/Meinkraft-V2.0
9cd3a35654ef6c82bcb67bfd62d9cce76baa05a0
[ "MIT" ]
null
null
null
Meinkraft/Meinkraft/RawModel.cpp
iceklue/Meinkraft-V2.0
9cd3a35654ef6c82bcb67bfd62d9cce76baa05a0
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "RawModel.h" RawModel::RawModel(int vaoID, int vertexCount) { this->vaoID = vaoID; this->vertexCount = vertexCount; } int RawModel::GetVaoID() const { return vaoID; } int RawModel::GetVertexCount() const { return vertexCount; }
13.894737
46
0.719697
iceklue
46968b85fcb635e7c3d55de417b3ce9552b96774
5,653
cpp
C++
src/Main.cpp
ShihaoWang/Online-Contact-Planning-for-Fall-Mitigation
ef63e67e92e369edbff9854f681e1c2329f2a6d3
[ "MIT" ]
null
null
null
src/Main.cpp
ShihaoWang/Online-Contact-Planning-for-Fall-Mitigation
ef63e67e92e369edbff9854f681e1c2329f2a6d3
[ "MIT" ]
null
null
null
src/Main.cpp
ShihaoWang/Online-Contact-Planning-for-Fall-Mitigation
ef63e67e92e369edbff9854f681e1c2329f2a6d3
[ "MIT" ]
null
null
null
#include <ctime> #include "CommonHeader.h" #include "NonlinearOptimizerInfo.h" #include <omp.h> #include "Control/PathController.h" #include "Simulation/WorldSimulation.h" #include <ode/ode.h> #include <sys/stat.h> #include <unistd.h> #include <string> SignedDistanceFieldInfo NonlinearOptimizerInfo::SDFInfo; std::vect...
38.455782
215
0.730409
ShihaoWang
469cfa95b6f02124d745e11f18eb274375d489e8
3,313
cpp
C++
Tools/ExternalSrc/LibRaw/LibRawInterface.cpp
ronan-kerviche/glip-lib
6ae64559db7616abc33e586364940695665795a9
[ "MIT" ]
16
2016-07-29T07:39:07.000Z
2022-03-17T04:27:22.000Z
Tools/ExternalSrc/LibRaw/LibRawInterface.cpp
ronan-kerviche/glip-lib
6ae64559db7616abc33e586364940695665795a9
[ "MIT" ]
2
2017-02-04T19:34:26.000Z
2020-05-29T20:13:58.000Z
Tools/ExternalSrc/LibRaw/LibRawInterface.cpp
ronan-kerviche/glip-lib
6ae64559db7616abc33e586364940695665795a9
[ "MIT" ]
4
2016-07-07T10:16:11.000Z
2019-03-24T05:56:16.000Z
/* ************************************************************************************************************* */ /* */ /* LIBRAW INTERFACE ...
66.26
166
0.418956
ronan-kerviche
469e570b7ca06b8f51abd8b53a14d908d015a295
1,258
cpp
C++
algorithms/kruskal.cpp
mvgmb/Marathon
0dcc428a5e6858e2427fb40cefbd7453d1abcdb5
[ "Xnet", "X11" ]
null
null
null
algorithms/kruskal.cpp
mvgmb/Marathon
0dcc428a5e6858e2427fb40cefbd7453d1abcdb5
[ "Xnet", "X11" ]
null
null
null
algorithms/kruskal.cpp
mvgmb/Marathon
0dcc428a5e6858e2427fb40cefbd7453d1abcdb5
[ "Xnet", "X11" ]
null
null
null
#include <vector> #include <queue> #include <iostream> #include <limits> #include <set> #include <map> #include <algorithm> #define vi vector<int> #define vii vector<vector<int>> #define ii pair<int, int> #define fr(i, n) for (int i = 0; i < n; i++) #define all(v) v.begin(),v.end() #define pb push_back #define tr(c, i...
19.353846
71
0.573927
mvgmb
46a0cd861ce66fa28764e6c6e984965113651f44
320
cpp
C++
1. Beginner/URI1143.cpp
antuniooh/uri-resolutions
c2844a9a6e2fae350293d6d24b0551691e7c8656
[ "MIT" ]
null
null
null
1. Beginner/URI1143.cpp
antuniooh/uri-resolutions
c2844a9a6e2fae350293d6d24b0551691e7c8656
[ "MIT" ]
null
null
null
1. Beginner/URI1143.cpp
antuniooh/uri-resolutions
c2844a9a6e2fae350293d6d24b0551691e7c8656
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <algorithm> #include <vector> #include <math.h> #include <string> using namespace std; int main() { int N = 0; cin >> N; for (int i = 1; i <= N; ++i) { int q = i*i; int c = i*i*i; printf("%d %d %d\n", i, q,c); } return 0; }
13.913043
37
0.496875
antuniooh
46a5e78de53b8b0cc8aa2fdb61a416d8cb518488
7,119
cpp
C++
tests/blocksignificant/arithmetic/division.cpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
tests/blocksignificant/arithmetic/division.cpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
tests/blocksignificant/arithmetic/division.cpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
// division.cpp: functional tests for blocksignificant division // // Copyright (C) 2017-2021 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include <universal/utility/directives.hpp> #include <universal/utility/long_double....
42.375
169
0.759095
FloEdelmann
46a78140ffbfb7c94b2894c31e6c0b847d1d58a8
508
cpp
C++
UVA/vol-004/414.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
3
2017-05-12T14:45:37.000Z
2020-01-18T16:51:25.000Z
UVA/vol-004/414.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
null
null
null
UVA/vol-004/414.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
null
null
null
#include <stdio.h> #include <iostream> using namespace std; int main() { int n; char line[50]; while(cin>>n && n) { cin.getline(line, 50); int ms = 100, total = 0; for (int i=0; i<n; i++) { cin.getline(line, 50); int cnt = 0; for (int i=0; i<25;...
18.142857
39
0.391732
arash16
9e4dbd4b2bd37e914385fcbee11f3e3664a943ea
1,045
cpp
C++
source/aufgabe_4.cpp
ttobollik/programmiersprachen-aufgabenblatt-3
7b64c32f028b931ba5f01d86ea6abd950101cb37
[ "MIT" ]
null
null
null
source/aufgabe_4.cpp
ttobollik/programmiersprachen-aufgabenblatt-3
7b64c32f028b931ba5f01d86ea6abd950101cb37
[ "MIT" ]
null
null
null
source/aufgabe_4.cpp
ttobollik/programmiersprachen-aufgabenblatt-3
7b64c32f028b931ba5f01d86ea6abd950101cb37
[ "MIT" ]
null
null
null
#include "circle.hpp" #include <set> #include <algorithm> using namespace std; bool exists(set<Circle>& Circles, string& name){ //Prueft ob der Name schon existiert bool answer = true; for (auto& element : Circles) { if (element.get_name()== name) { cout << "This name is in use already. Restarti...
23.75
128
0.569378
ttobollik