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
7937ab402838b6eeabbe04bec2b5c0eb2be89809
160
hpp
C++
test/axbench_ilp_embedded/src/inversek2j/data.hpp
TAFFO-org/TAFFO
a6edbf0814a264d6877f9579e9f37ad9b48fcabb
[ "MIT" ]
3
2022-02-24T14:34:02.000Z
2022-03-21T10:43:04.000Z
test/axbench_ilp_embedded/src/inversek2j/data.hpp
TAFFO-org/TAFFO
a6edbf0814a264d6877f9579e9f37ad9b48fcabb
[ "MIT" ]
5
2021-11-30T14:37:15.000Z
2022-02-27T19:21:13.000Z
test/axbench_ilp_embedded/src/inversek2j/data.hpp
TAFFO-org/TAFFO
a6edbf0814a264d6877f9579e9f37ad9b48fcabb
[ "MIT" ]
1
2022-02-24T14:33:06.000Z
2022-02-24T14:33:06.000Z
#pragma once struct inversek2j_line { float x, y; }; #define INVERSEK2J_DATA_SIZE 2000 extern const inversek2j_line inversek2j_data[INVERSEK2J_DATA_SIZE];
16
67
0.80625
TAFFO-org
7938be70891636dc4b0e5c1c580bab7aa7e657ad
2,607
cpp
C++
Base/RenderUnit.cpp
CrusaderCrab/YugiohPhantomRealm
79bd1e9948d2d2d29acf042fd412804c30562a8e
[ "Zlib" ]
13
2018-04-13T22:10:00.000Z
2022-01-01T08:26:23.000Z
Base/RenderUnit.cpp
CrusaderCrab/YugiohPhantomRealm
79bd1e9948d2d2d29acf042fd412804c30562a8e
[ "Zlib" ]
null
null
null
Base/RenderUnit.cpp
CrusaderCrab/YugiohPhantomRealm
79bd1e9948d2d2d29acf042fd412804c30562a8e
[ "Zlib" ]
3
2017-02-22T16:35:06.000Z
2019-12-21T20:39:23.000Z
#include <GL\glew.h> #include <Utility\ErrorHandler.h> #include <Base\RenderUnit.h> #include <Game\Animation\Camera.h> #include <Utility\DebugUnit.h> #include <Utility\TextPrinter.h> #include <Game\Cursor.h> #include <Utility\Clock.h> #include <Game\Animation\FadeUnit.h> #include <iostream>//needed to print glew error ...
24.828571
92
0.752589
CrusaderCrab
7938e3f9690c6ba7b1894e70ff4f95ec7b61b649
200,701
inl
C++
2d_samples/pmj02_339.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
1
2021-12-10T23:35:04.000Z
2021-12-10T23:35:04.000Z
2d_samples/pmj02_339.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
2d_samples/pmj02_339.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
{std::array<float,2>{0.574865222f, 0.717404485f}, std::array<float,2>{0.296307385f, 0.468312413f}, std::array<float,2>{0.941933513f, 0.0187484808f}, std::array<float,2>{0.11922197f, 0.795354962f}, std::array<float,2>{0.818768919f, 0.979393661f}, std::array<float,2>{0.129698187f, 0.156977192f}, std::array<float,2>{0.631...
48.999268
52
0.734685
st-ario
793a560eb76a88ec6330b05717b876b27a295a73
9,153
cc
C++
src/test/politetest.cc
aaszodi/multovl
00c5b74e65c7aa37cddea8b2ae277fe67fbc59a8
[ "MIT" ]
2
2018-03-06T02:36:25.000Z
2020-01-13T10:55:35.000Z
src/test/politetest.cc
aaszodi/multovl
00c5b74e65c7aa37cddea8b2ae277fe67fbc59a8
[ "MIT" ]
null
null
null
src/test/politetest.cc
aaszodi/multovl
00c5b74e65c7aa37cddea8b2ae277fe67fbc59a8
[ "MIT" ]
null
null
null
/* <LICENSE> License for the MULTOVL multiple genomic overlap tools Copyright (c) 2007-2012, Dr Andras Aszodi, Campus Science Support Facilities GmbH (CSF), Dr-Bohr-Gasse 3, A-1030 Vienna, Austria, Europe. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permi...
26.763158
106
0.596526
aaszodi
793c3a394098bb31b07bb24892dfb35e0075e749
601
hpp
C++
src/threadpool.hpp
ASLeonard/pangenie
aeb0c2aa28bf69041755855306d32f5523371274
[ "MIT" ]
8
2021-12-10T10:30:08.000Z
2022-03-30T08:49:01.000Z
src/threadpool.hpp
ASLeonard/pangenie
aeb0c2aa28bf69041755855306d32f5523371274
[ "MIT" ]
7
2022-02-09T15:28:23.000Z
2022-03-22T10:12:50.000Z
src/threadpool.hpp
ASLeonard/pangenie
aeb0c2aa28bf69041755855306d32f5523371274
[ "MIT" ]
1
2022-02-08T09:56:36.000Z
2022-02-08T09:56:36.000Z
#ifndef THREADPOOL_HPP #define THREADPOOL_HPP #include <vector> #include <thread> #include <mutex> #include <condition_variable> #include <functional> #include <list> /** Code take from: http://www.mathematik.uni-ulm.de/numerik/pp/ss17/pp-folien-2017-05-18.pdf **/ class ThreadPool { public: using Job = std::functio...
20.033333
97
0.727121
ASLeonard
7940ee5f7b830a848e54d6f1555224f173fd1a2e
4,837
cpp
C++
hardware/mtkcam/test/TestSensorListener/main.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2022-01-07T01:53:19.000Z
2022-01-07T01:53:19.000Z
hardware/mtkcam/test/TestSensorListener/main.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
null
null
null
hardware/mtkcam/test/TestSensorListener/main.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2020-02-28T02:48:42.000Z
2020-02-28T02:48:42.000Z
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein is * confidential and proprietary to MediaTek Inc. and/or its licensors. Without * the prior written permission of MediaTek inc. and/or ...
40.647059
114
0.615257
touxiong88
7941ae64bdd430f7f8aa71de41033a2f13b7cf57
18,312
cpp
C++
Seidon/src/Physics/PhysicSystem.cpp
Soarex/Seidon
65a59783e6fddb02670b1ba8c4f1e2e231a06f50
[ "Apache-2.0" ]
null
null
null
Seidon/src/Physics/PhysicSystem.cpp
Soarex/Seidon
65a59783e6fddb02670b1ba8c4f1e2e231a06f50
[ "Apache-2.0" ]
null
null
null
Seidon/src/Physics/PhysicSystem.cpp
Soarex/Seidon
65a59783e6fddb02670b1ba8c4f1e2e231a06f50
[ "Apache-2.0" ]
null
null
null
#include "PhysicSystem.h" #include "../Core/Application.h" #include "../Ecs/Entity.h" using namespace physx; namespace Seidon { void PhysicSystem::Init() { api = Application::Get()->GetPhysicsApi(); physics = api->GetPhysics(); PxSceneDesc sceneDesc(physics->getTolerancesScale()); sceneDesc.gravity = PxVe...
31.195911
127
0.749563
Soarex
79455d04392be106a44bc3fcce19fdd8c41f677e
2,864
cpp
C++
dsp++/src/flt_biquad.cpp
andrzejc/dsp-
fd39d2395a37ade36e3b551d261de0177b78296b
[ "MIT" ]
null
null
null
dsp++/src/flt_biquad.cpp
andrzejc/dsp-
fd39d2395a37ade36e3b551d261de0177b78296b
[ "MIT" ]
null
null
null
dsp++/src/flt_biquad.cpp
andrzejc/dsp-
fd39d2395a37ade36e3b551d261de0177b78296b
[ "MIT" ]
null
null
null
#include <dsp++/flt/biquad_design.h> #include <dsp++/const.h> #include <stdexcept> #include <cmath> void dsp::biquad::design(double b[], double a[], biquad::type::spec type, double norm_freq, const double* gain_db, const double* q, const double* bw, const double* s) { if (norm_freq < 0. || norm_freq > 0.5) ...
33.302326
167
0.519553
andrzejc
794796ffd91e2fbc8d202c6deab7eefc46fd98dc
5,076
cc
C++
towr/src/spline_holder.cc
IoannisDadiotis/towr
cbbe6d30d637b4271558e31bf522536451a9110c
[ "BSD-3-Clause" ]
null
null
null
towr/src/spline_holder.cc
IoannisDadiotis/towr
cbbe6d30d637b4271558e31bf522536451a9110c
[ "BSD-3-Clause" ]
null
null
null
towr/src/spline_holder.cc
IoannisDadiotis/towr
cbbe6d30d637b4271558e31bf522536451a9110c
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** Copyright (c) 2018, Alexander W. Winkler. 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...
55.173913
135
0.709811
IoannisDadiotis
7949b76cc91f78db66439d82c8be53818c6ad366
21,656
cc
C++
ext/candc/src/main/relations.cc
TeamSPoon/logicmoo_nlu
5c3e5013a3048da7d68a8a43476ad84d3ea4bb47
[ "MIT" ]
6
2020-01-27T12:08:02.000Z
2020-02-28T19:30:28.000Z
pack/logicmoo_nlu/prolog/candc/src/main/relations.cc
logicmoo/old_logicmoo_workspace
44025b6e389e2f2f7d86b46c1301cab0604bba26
[ "MIT" ]
2
2017-03-13T02:56:09.000Z
2019-07-27T02:47:29.000Z
ext/candc/src/main/relations.cc
TeamSPoon/logicmoo_nlu
5c3e5013a3048da7d68a8a43476ad84d3ea4bb47
[ "MIT" ]
1
2020-11-25T06:09:33.000Z
2020-11-25T06:09:33.000Z
// C&C NLP tools // Copyright (c) Universities of Edinburgh, Oxford and Sydney // Copyright (c) James R. Curran // // This software is covered by a non-commercial use licence. // See LICENCE.txt for the full text of the licence. // // If LICENCE.txt is not included in this distribution // please email candc@it.usyd.edu...
27.907216
96
0.598772
TeamSPoon
794a0502582baef37ac0012d1e12234beb9716b6
1,990
cpp
C++
llvm-2.9/tools/clang/test/CXX/temp/temp.arg/temp.arg.template/p3-0x.cpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-2.9/tools/clang/test/CXX/temp/temp.arg/temp.arg.template/p3-0x.cpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-2.9/tools/clang/test/CXX/temp/temp.arg/temp.arg.template/p3-0x.cpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s template <class T> struct eval; // expected-note 3{{template is declared here}} template <template <class, class...> class TT, class T1, class... Rest> struct eval<TT<T1, Rest...>> { }; template <class T1> struct A; template <class T1, class T2> struct B; tem...
48.536585
156
0.717588
vidkidz
794e9f968002a5779ef3c130f756770cfa6ba52a
1,918
cpp
C++
startalk_ui/messagebubble/MessageAddFriends.cpp
xuepingiw/open_source_startalk
44d962b04039f5660ec47a10313876a0754d3e72
[ "MIT" ]
34
2019-03-18T08:09:24.000Z
2022-03-15T02:03:25.000Z
startalk_ui/messagebubble/MessageAddFriends.cpp
venliong/open_source_startalk
51fda091a932a8adea626c312692836555753a9a
[ "MIT" ]
5
2019-05-29T09:32:05.000Z
2019-08-29T03:01:33.000Z
startalk_ui/messagebubble/MessageAddFriends.cpp
venliong/open_source_startalk
51fda091a932a8adea626c312692836555753a9a
[ "MIT" ]
32
2019-03-15T09:43:22.000Z
2021-08-10T08:26:02.000Z
#include "MessageAddFriends.h" #include "XmppMessage.h" MessageAddingFriend::MessageAddingFriend() { } MessageAddingFriend::~MessageAddingFriend() { } int MessageAddingFriend::getMessageMediaType() { return 0; } bool MessageAddingFriend::getTranslatedMessage(QSharedPointer<Biz::XmppMessage> spMessage, QString& ...
24.909091
130
0.707508
xuepingiw
794ea829fbc143167cfd7b09e52bcee0feaf2bbd
5,806
cpp
C++
src/hide_from_debugger_patch.cpp
xforce/jc3-handling-editor
48485e91ef3ce0e2849ae5f5aae1ef40f989c4c6
[ "MIT" ]
4
2016-11-25T12:45:35.000Z
2020-02-20T21:55:49.000Z
src/hide_from_debugger_patch.cpp
xforce/jc3-handling-editor
48485e91ef3ce0e2849ae5f5aae1ef40f989c4c6
[ "MIT" ]
6
2016-11-21T19:32:47.000Z
2017-03-21T17:18:43.000Z
src/hide_from_debugger_patch.cpp
xforce/jc3-handling-editor
48485e91ef3ce0e2849ae5f5aae1ef40f989c4c6
[ "MIT" ]
2
2016-11-20T21:05:41.000Z
2022-01-31T02:19:12.000Z
#include <Windows.h> #include <Winternl.h> #include <cstdint> #include <cassert> #define STATUS_SUCCESS ((NTSTATUS)0x00000000L) // ntsubauth static void* origQIP = nullptr; typedef NTSTATUS(*ZwSetInformationThreadType)(HANDLE ThreadHandle, THREADINFOCLASS ThreadInformationClass, PVOID ThreadInfo...
30.239583
163
0.660351
xforce
7953225d9e5e5e2822bc499789723fb186804cc8
1,832
hpp
C++
src/utils.hpp
LiamPattinson/luaconfig
8f09b3176fcc08f5d212ca49f72a4da429716479
[ "MIT" ]
null
null
null
src/utils.hpp
LiamPattinson/luaconfig
8f09b3176fcc08f5d212ca49f72a4da429716479
[ "MIT" ]
null
null
null
src/utils.hpp
LiamPattinson/luaconfig
8f09b3176fcc08f5d212ca49f72a4da429716479
[ "MIT" ]
null
null
null
// utils.hpp // // Collection of reusable code bits for luaconfig #ifndef __LUACONFIG_UTILS_HPP #define __LUACONFIG_UTILS_HPP #include <tuple> #include <functional> namespace luaconfig { // Is type T a std::tuple? template<class T> struct is_tuple { static const bool value = false; }; template<class... Args> s...
22.617284
72
0.632096
LiamPattinson
795566e958e921525140d4e598fad45cb36429cb
2,117
cpp
C++
src/util/NetworkStatus.cpp
jdapena/webosose-wam
91a98e8ed267fa8b28f6223b9b540141eb675bb5
[ "Apache-2.0" ]
null
null
null
src/util/NetworkStatus.cpp
jdapena/webosose-wam
91a98e8ed267fa8b28f6223b9b540141eb675bb5
[ "Apache-2.0" ]
7
2018-10-18T14:08:39.000Z
2022-03-31T08:34:07.000Z
src/util/NetworkStatus.cpp
jdapena/webosose-wam
91a98e8ed267fa8b28f6223b9b540141eb675bb5
[ "Apache-2.0" ]
8
2018-10-17T11:33:09.000Z
2021-11-04T18:15:24.000Z
// Copyright (c) 2008-2018 LG Electronics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
34.145161
87
0.674067
jdapena
7957f3d59aba96a1a8876a15bad3007dc32c9382
627
cpp
C++
UVa/01. Problem Set Volumes (100...1999)/Volume 04 - 06 (400 - 699)/uva573.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2017-08-19T16:02:15.000Z
2017-08-19T16:02:15.000Z
UVa/01. Problem Set Volumes (100...1999)/Volume 04 - 06 (400 - 699)/uva573.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
null
null
null
UVa/01. Problem Set Volumes (100...1999)/Volume 04 - 06 (400 - 699)/uva573.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2018-01-05T23:37:23.000Z
2018-01-05T23:37:23.000Z
/**** *@PoloShen *Title:UVa 573 */ #include <iostream> #include <cstring> #include <cstdio> #include <cmath> using namespace std; double H, U, D, F; void solve(){ double height = 0, down = U * F / 100.0; int cnt = 1; while (1){ if (U > 0) height += U; if (height > H) {printf("success on ...
20.225806
66
0.484848
bilibiliShen
7958aea1ae3799584f61d47cbc035ab569decc70
26,684
cpp
C++
src/tests/class_tests/smartpeak/source/ApplicationProcessor_test.cpp
ChristopherAbram/SmartPeak
2851c4b43ad02e436a2dfe0f102ea0ce1e303484
[ "MIT" ]
null
null
null
src/tests/class_tests/smartpeak/source/ApplicationProcessor_test.cpp
ChristopherAbram/SmartPeak
2851c4b43ad02e436a2dfe0f102ea0ce1e303484
[ "MIT" ]
null
null
null
src/tests/class_tests/smartpeak/source/ApplicationProcessor_test.cpp
ChristopherAbram/SmartPeak
2851c4b43ad02e436a2dfe0f102ea0ce1e303484
[ "MIT" ]
null
null
null
// -------------------------------------------------------------------------- // SmartPeak -- Fast and Accurate CE-, GC- and LC-MS(/MS) Data Processing // -------------------------------------------------------------------------- // Copyright The SmartPeak Team -- Novo Nordisk Foundation // Center for Biosustainabil...
33.355
127
0.800667
ChristopherAbram
7958d866dc84702a234799126c4c173ad2931627
49
cpp
C++
Source/EngineStd/EventManager/BaseEvent.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
2
2015-12-30T00:32:09.000Z
2016-02-27T14:50:06.000Z
Source/EngineStd/EventManager/BaseEvent.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
null
null
null
Source/EngineStd/EventManager/BaseEvent.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
null
null
null
#include "EngineStd.h" #include "BaseEvent.h"
8.166667
22
0.693878
vivienneanthony
795c19dc31d89ad0449b77b82c7b06640a622c2a
6,271
cc
C++
chrome/browser/chromeos/login/screens/discover_screen_browsertest.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/chromeos/login/screens/discover_screen_browsertest.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/chromeos/login/screens/discover_screen_browsertest.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/login/screens/discover_screen.h" #include "ash/public/cpp/test/shell_test_api.h" #include "base/bind.h" #include "base/...
37.550898
80
0.748684
mghgroup
795f0bc1d7594700cd45135111dd369f72a94887
596
cpp
C++
Classes/Bird.cpp
pedrohenriquerls/flappybird_cocos2d
72ea4d9d5d2f5a3109f0785c50d7a5497b61a061
[ "MIT" ]
null
null
null
Classes/Bird.cpp
pedrohenriquerls/flappybird_cocos2d
72ea4d9d5d2f5a3109f0785c50d7a5497b61a061
[ "MIT" ]
null
null
null
Classes/Bird.cpp
pedrohenriquerls/flappybird_cocos2d
72ea4d9d5d2f5a3109f0785c50d7a5497b61a061
[ "MIT" ]
null
null
null
#include "Bird.h" #include "Definitions.h" USING_NS_CC; Bird::Bird(cocos2d::Size visibleSize, cocos2d::Vec2 origin, cocos2d::Layer *scene){ this->visibleSize = visibleSize; this->origin = origin; auto birdSprite = Sprite::create("Ball.png"); birdSprite->setPosition(CENTER_POSITION); auto...
27.090909
84
0.708054
pedrohenriquerls
7961d2155bc822e8edcde64ac63a6b6b5c91e1c7
971
cpp
C++
object_tracking/main.cpp
mmmfarrell/robotic_vision
3657b54578a7e2f7fbc899fbca39d991fe211c1e
[ "MIT" ]
null
null
null
object_tracking/main.cpp
mmmfarrell/robotic_vision
3657b54578a7e2f7fbc899fbca39d991fe211c1e
[ "MIT" ]
null
null
null
object_tracking/main.cpp
mmmfarrell/robotic_vision
3657b54578a7e2f7fbc899fbca39d991fe211c1e
[ "MIT" ]
null
null
null
/* * File: main.cpp * Author: sagar * * Created on 10 September, 2012, 7:48 PM */ #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <iostream> using namespace cv; using namespace std; int main() { VideoCapture vcap(0); //0 is the id of video device.0 if you have only one...
24.275
107
0.624099
mmmfarrell
79655bde8a58ee06340ddf8635624d7121bc697e
88,325
cpp
C++
src/AdvCmpProc.cpp
FarPlugins/AdvCmpEx
f8f308b51dfd42b7f45766455370a066d10bfaee
[ "BSD-3-Clause" ]
6
2021-01-20T08:45:30.000Z
2022-01-23T09:39:58.000Z
src/AdvCmpProc.cpp
FarPlugins/AdvCmpEx
f8f308b51dfd42b7f45766455370a066d10bfaee
[ "BSD-3-Clause" ]
5
2021-01-04T19:02:34.000Z
2021-02-01T16:32:05.000Z
src/AdvCmpProc.cpp
FarPlugins/AdvCmpEx
f8f308b51dfd42b7f45766455370a066d10bfaee
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** * AdvCmpProc.cpp * * Plugin module for Far Manager 3.0 * * Copyright (c) 2006 Alexey Samlyukov ****************************************************************************/ /* Redistribution and use in source and binary forms, with or w...
35.217305
159
0.545044
FarPlugins
79685e7630222d6acb6c76fc563b77264e43dddb
744
cpp
C++
src/common/utils.cpp
destenson/tjanczuk--edge
3eb4f4e71e1b22c973568750802f6fba5ff4c051
[ "Apache-2.0" ]
4,039
2015-01-02T05:15:16.000Z
2022-03-30T22:48:24.000Z
src/common/utils.cpp
destenson/tjanczuk--edge
3eb4f4e71e1b22c973568750802f6fba5ff4c051
[ "Apache-2.0" ]
517
2015-01-08T00:47:02.000Z
2022-03-28T05:42:29.000Z
node_modules/edge/src/common/utils.cpp
dm-dashboard/dashboard
1c3e65f3ba26581c656d24675741f85b0f6565a4
[ "MIT" ]
603
2015-01-07T10:33:11.000Z
2022-03-30T05:54:53.000Z
#include "edge_common.h" v8::Local<Value> throwV8Exception(v8::Local<Value> exception) { Nan::EscapableHandleScope scope; Nan::ThrowError(exception); return scope.Escape(exception); } v8::Local<Value> throwV8Exception(const char* format, ...) { va_list args; va_start(args, format); size_t size = vsnpr...
24.8
95
0.715054
destenson
79687c670cf84e222e523c52a887e84b811ef347
2,457
cc
C++
src/astshim/base.cc
DarkEnergySurvey/cosmicRays
5c29bd9fc4a9f37e298e897623ec98fff4a8d539
[ "NCSA" ]
null
null
null
src/astshim/base.cc
DarkEnergySurvey/cosmicRays
5c29bd9fc4a9f37e298e897623ec98fff4a8d539
[ "NCSA" ]
null
null
null
src/astshim/base.cc
DarkEnergySurvey/cosmicRays
5c29bd9fc4a9f37e298e897623ec98fff4a8d539
[ "NCSA" ]
null
null
null
#include "astshim/base.h" #include <sstream> #include <stdexcept> #include <string> #include <vector> namespace ast { namespace { static std::ostringstream errorMsgStream; /* Write an error message to `errorMsgStream` Intended to be registered as an error handler to AST by calling `astSetPutErr(reportError)`. */ v...
30.333333
103
0.64998
DarkEnergySurvey
796aa03fe3dcccda61d9ae14f2afbd5bf64e3eef
9,496
hpp
C++
include/HoudiniEngineUnity/HEU_HandleParamBinding.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HoudiniEngineUnity/HEU_HandleParamBinding.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/HoudiniEngineUnity/HEU_HandleParamBinding.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "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: HoudiniEngineUnity.IEquivable`1 #in...
54.574713
233
0.760531
RedBrumbler
796aaf1229fc37e7335cca05666c6c6e8e1935fa
9,377
cpp
C++
CMinus/CMinus/type/type_object.cpp
benbraide/CMinusMinus
6e32b825f192634538b3adde6ca579a548ca3f7e
[ "MIT" ]
null
null
null
CMinus/CMinus/type/type_object.cpp
benbraide/CMinusMinus
6e32b825f192634538b3adde6ca579a548ca3f7e
[ "MIT" ]
null
null
null
CMinus/CMinus/type/type_object.cpp
benbraide/CMinusMinus
6e32b825f192634538b3adde6ca579a548ca3f7e
[ "MIT" ]
null
null
null
#include "../node/node_object.h" #include "../storage/global_storage.h" #include "../evaluator/initializer.h" #include "../evaluator/evaluator_object.h" #include "class_type.h" #include "primitive_type.h" cminus::type::object::object(const std::string &name, storage::object *parent) : name_(name), parent_(parent){}...
30.845395
171
0.743948
benbraide
796dfdee2d179ab44cf7cda19c2c72567863566c
4,717
cpp
C++
libs/chessx-pgn/database/duplicatesearch.cpp
loloof64/ChessPgnReviser
c325c86c963b73814e634172a17a9679e5c6b94b
[ "MIT" ]
null
null
null
libs/chessx-pgn/database/duplicatesearch.cpp
loloof64/ChessPgnReviser
c325c86c963b73814e634172a17a9679e5c6b94b
[ "MIT" ]
null
null
null
libs/chessx-pgn/database/duplicatesearch.cpp
loloof64/ChessPgnReviser
c325c86c963b73814e634172a17a9679e5c6b94b
[ "MIT" ]
null
null
null
/**************************************************************************** * Copyright (C) 2016 by Jens Nissen jens-chessx@gmx.net * ****************************************************************************/ #include "database.h" #include "duplicatesearch.h" #include "index.h" #if de...
32.531034
100
0.38181
loloof64
796fb40af4f664d014d7d714b2745c2018acf0ec
211
hpp
C++
src/libs/dijkstra.hpp
ronaldpereira/efficient-transport
ed6956bbc3b727a3105eff49c9376129c7b0dbed
[ "MIT" ]
null
null
null
src/libs/dijkstra.hpp
ronaldpereira/efficient-transport
ed6956bbc3b727a3105eff49c9376129c7b0dbed
[ "MIT" ]
null
null
null
src/libs/dijkstra.hpp
ronaldpereira/efficient-transport
ed6956bbc3b727a3105eff49c9376129c7b0dbed
[ "MIT" ]
null
null
null
#ifndef DIJKSTRA #define DIJKSTRA #include <algorithm> #include "graph.hpp" #include "heap.hpp" class Dijkstra { public: Graph *graph; Heap heap; Dijkstra(Graph *); void Execute(); }; #endif
11.105263
22
0.658768
ronaldpereira
7970282347f5360f8a46d77d47cebe6e07d9675e
584
cpp
C++
PKU/Introduction to Calculation A/Homework/5-Phrase_1_Coding_Practice_(3)/5-2-no_of_4digits_num_satisfy_condition.cpp
sailinglove/personal-general
b2e932dcd7989bdf856d4852e38f96cbbfc9c907
[ "MIT" ]
1
2020-06-19T11:47:23.000Z
2020-06-19T11:47:23.000Z
PKU/Introduction to Calculation A/Homework/5-Phrase_1_Coding_Practice_(3)/5-2-no_of_4digits_num_satisfy_condition.cpp
sailinglove/personal-general
b2e932dcd7989bdf856d4852e38f96cbbfc9c907
[ "MIT" ]
null
null
null
PKU/Introduction to Calculation A/Homework/5-Phrase_1_Coding_Practice_(3)/5-2-no_of_4digits_num_satisfy_condition.cpp
sailinglove/personal-general
b2e932dcd7989bdf856d4852e38f96cbbfc9c907
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int num = 0, sum = 0; cin >> num; int array[32] = {0}; for (int i = 0; i < num; i++) { cin >> array[i]; } int thousands = 0, hundreds = 0, tens = 0; for (int i = 0; i < num; i++) { thousands = array[i] / 1000; ...
22.461538
59
0.429795
sailinglove
7971bc9a6662e77d376e350801981e9b77f8e166
701
cpp
C++
Qt/1/44_qundoview/command.cpp
alientek-openedv/Embedded-Qt-Tutorial
3c75142235b4d39c22e1ad56a5bd92d08c1a0d42
[ "MIT" ]
1
2022-02-21T03:19:36.000Z
2022-02-21T03:19:36.000Z
Qt/1/44_qundoview/command.cpp
alientek-openedv/Embedded-Qt-Tutorial
3c75142235b4d39c22e1ad56a5bd92d08c1a0d42
[ "MIT" ]
null
null
null
Qt/1/44_qundoview/command.cpp
alientek-openedv/Embedded-Qt-Tutorial
3c75142235b4d39c22e1ad56a5bd92d08c1a0d42
[ "MIT" ]
1
2021-10-19T04:03:56.000Z
2021-10-19T04:03:56.000Z
#include "command.h" #include <QDebug> addCommand::addCommand(int *value, QUndoCommand *parent) { /* 使用Q_UNUSED,避免未使用的数据类型 */ Q_UNUSED(parent); /* undoView显示的操作信息 */ setText("进行了加1操作"); /* value的地址赋值给new_count */ new_count = value; /* 让构造函数传过来的*new_count的值赋值给old_count */ old_count = ...
15.577778
56
0.616262
alientek-openedv
7974112d42495828b4d62405446e4d498f09aefa
1,127
cpp
C++
PC_Parcial_1/Parcial E.8/ADAPLANT.cpp
ElizabethYasmin/PC
e3cd03d7f80fae366df1181d5b87514ea8ee597c
[ "MIT" ]
null
null
null
PC_Parcial_1/Parcial E.8/ADAPLANT.cpp
ElizabethYasmin/PC
e3cd03d7f80fae366df1181d5b87514ea8ee597c
[ "MIT" ]
null
null
null
PC_Parcial_1/Parcial E.8/ADAPLANT.cpp
ElizabethYasmin/PC
e3cd03d7f80fae366df1181d5b87514ea8ee597c
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> #define MAXN 100010 using namespace std; const int INF = 1e9 + 1; int arvore[4*MAXN],vetor[MAXN],n; void build(int pos,int left,int right){ if(left == right){ arvore[pos] = vetor[left]; return; } int mid = (left + right)/2; build(2*pos,left,mid); build(2*pos+1,mid+1,right...
19.431034
99
0.570541
ElizabethYasmin
7979a594370db7520f2625c9eab9919298e59526
654
hpp
C++
test/StdUnorderedSetTester.hpp
andybui01/Bloom
20cc1bbb03f84c6f96a191f92e596013c9ac2da9
[ "MIT" ]
null
null
null
test/StdUnorderedSetTester.hpp
andybui01/Bloom
20cc1bbb03f84c6f96a191f92e596013c9ac2da9
[ "MIT" ]
null
null
null
test/StdUnorderedSetTester.hpp
andybui01/Bloom
20cc1bbb03f84c6f96a191f92e596013c9ac2da9
[ "MIT" ]
null
null
null
#ifndef TEST_STDUNORDEREDSETTESTER_HPP #define TEST_STDUNORDEREDSETTESTER_HPP #include <vector> #include <string> #include <unordered_set> #include "Tester.hpp" class StdUnorderedSetTester : public Tester { private: std::unordered_set<std::string> set; public: void insert_words(std::vector<std::string> inse...
21.096774
60
0.665138
andybui01
797ca9d264dd22a130385dabeeefbd49cab7e99d
7,307
cc
C++
src/library/specex_trace.cc
marcelo-alvarez/specex
809c5540e76dc1681453488732d5845078427ad1
[ "BSD-3-Clause" ]
null
null
null
src/library/specex_trace.cc
marcelo-alvarez/specex
809c5540e76dc1681453488732d5845078427ad1
[ "BSD-3-Clause" ]
null
null
null
src/library/specex_trace.cc
marcelo-alvarez/specex
809c5540e76dc1681453488732d5845078427ad1
[ "BSD-3-Clause" ]
null
null
null
#include <cmath> #include <iostream> #include <fstream> #include <harp.hpp> #include <specex_spot.h> #include <specex_trace.h> #include <specex_linalg.h> #include <specex_message.h> #include <specex_spot_array.h> #include <specex_vector_utils.h> specex::Trace::Trace(int i_fiber) : fiber(i_fiber) { synchronized=f...
27.67803
123
0.630491
marcelo-alvarez
797d0076aa32a4c6c064861da6620d03e30cabfe
592
cpp
C++
engine/kotek.core.defines.static.render.vk/src/main_core_defines_static_render_vk_dll.cpp
wh1t3lord/kotek
1e3eb61569974538661ad121ed8eb28c9e608ae6
[ "Apache-2.0" ]
null
null
null
engine/kotek.core.defines.static.render.vk/src/main_core_defines_static_render_vk_dll.cpp
wh1t3lord/kotek
1e3eb61569974538661ad121ed8eb28c9e608ae6
[ "Apache-2.0" ]
null
null
null
engine/kotek.core.defines.static.render.vk/src/main_core_defines_static_render_vk_dll.cpp
wh1t3lord/kotek
1e3eb61569974538661ad121ed8eb28c9e608ae6
[ "Apache-2.0" ]
null
null
null
#include "../include/kotek_core_defines_static_render_vk.h" namespace Kotek { namespace Core { bool InitializeModule_Core_Defines_Static_Render_Vulkan( ktkMainManager* p_manager) { return true; } bool ShutdownModule_Core_Defines_Static_Render_Vulkan( ktkMainManager* p_manager) { return true; ...
19.096774
59
0.760135
wh1t3lord
797d98230d599336f5fa421ae5b22867f2f75206
927
cpp
C++
Felix/match_score.cpp
ultimatezen/felix
5a7ad298ca4dcd5f1def05c60ae3c84519ec54c4
[ "MIT" ]
null
null
null
Felix/match_score.cpp
ultimatezen/felix
5a7ad298ca4dcd5f1def05c60ae3c84519ec54c4
[ "MIT" ]
null
null
null
Felix/match_score.cpp
ultimatezen/felix
5a7ad298ca4dcd5f1def05c60ae3c84519ec54c4
[ "MIT" ]
null
null
null
#include "StdAfx.h" #include ".\match_score.h" match_score::match_score(void) : m_base_score(0.f), m_formatting_penalty(0.f) { } match_score::~match_score(void) { } bool match_score::HasFormattingPenalty(void) const { return ! FLOAT_EQ( GetFormattingPenalty(), 0.f ) ; } void match_score::SetB...
18.918367
66
0.72384
ultimatezen
79816129fb95ffeb8cebc2ae22fd0f81a93f633b
6,886
cpp
C++
src/minami/so_routing.cpp
AlanPi1992/MAC-POSTS
4e4ed3bb6faa5ebd0aa5059b2dfff103fe8f1961
[ "MIT" ]
18
2017-03-02T20:12:11.000Z
2022-03-11T02:38:38.000Z
src/minami/so_routing.cpp
AlanPi1992/MAC-POSTS
4e4ed3bb6faa5ebd0aa5059b2dfff103fe8f1961
[ "MIT" ]
7
2019-02-26T04:11:49.000Z
2019-09-16T05:43:17.000Z
src/minami/so_routing.cpp
Lemma1/MAC-POSTS
7e3d0fe2d34a2f3d1edc8c33059e9c84868bd236
[ "MIT" ]
19
2017-08-18T04:11:25.000Z
2022-03-11T02:38:43.000Z
#include "routing.h" /************************************************************************** Pre determined Routing **************************************************************************/ MNM_Routing_Predetermined::MNM_Routing_Predetermined(PNEGraph &graph, MNM_OD_Facto...
40.034884
129
0.615452
AlanPi1992
7981e09aa3629a087ab7850b04593d10d4819488
1,114
cc
C++
emu-ex-plus-alpha/imagine/src/io/mmap/generic/IoMmapGeneric.cc
damoonvisuals/GBA4iOS
95bfce0aca270b68484535ecaf0d3b2366739c77
[ "MIT" ]
1
2018-11-14T23:40:35.000Z
2018-11-14T23:40:35.000Z
emu-ex-plus-alpha/imagine/src/io/mmap/generic/IoMmapGeneric.cc
damoonvisuals/GBA4iOS
95bfce0aca270b68484535ecaf0d3b2366739c77
[ "MIT" ]
null
null
null
emu-ex-plus-alpha/imagine/src/io/mmap/generic/IoMmapGeneric.cc
damoonvisuals/GBA4iOS
95bfce0aca270b68484535ecaf0d3b2366739c77
[ "MIT" ]
null
null
null
/* This file is part of Imagine. Imagine 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 3 of the License, or (at your option) any later version. Imagine is distributed in the hope that it w...
24.755556
69
0.737882
damoonvisuals
7981fb05ae90b74441190fd1e587eda36b5b3701
3,805
cpp
C++
Ui/NaaliMainWindow.cpp
zemo/naali
a02ee7a0547c5233579eda85dedb934b61c546ab
[ "Apache-2.0" ]
null
null
null
Ui/NaaliMainWindow.cpp
zemo/naali
a02ee7a0547c5233579eda85dedb934b61c546ab
[ "Apache-2.0" ]
null
null
null
Ui/NaaliMainWindow.cpp
zemo/naali
a02ee7a0547c5233579eda85dedb934b61c546ab
[ "Apache-2.0" ]
1
2021-09-04T12:37:34.000Z
2021-09-04T12:37:34.000Z
// For conditions of distribution and use, see copyright notice in license.txt #include "DebugOperatorNew.h" #include "NaaliMainWindow.h" #include "Framework.h" #include "ConfigurationManager.h" #include <QCloseEvent> #include <QDesktopWidget> #include <QApplication> #include <QIcon> #include <utility> #include <io...
35.896226
123
0.69435
zemo
7982d8a08bdb36fa2ff451f487c35e6603cf9251
6,065
cpp
C++
src/msix/pack/AppxBlockMapWriter.cpp
palenshus/msix-packaging
5883559c90f792f24e2237e9e4de10164548f2a2
[ "MIT" ]
486
2018-03-07T17:15:03.000Z
2019-05-06T20:05:44.000Z
src/msix/pack/AppxBlockMapWriter.cpp
palenshus/msix-packaging
5883559c90f792f24e2237e9e4de10164548f2a2
[ "MIT" ]
172
2019-05-14T18:56:36.000Z
2022-03-30T16:35:24.000Z
src/msix/pack/AppxBlockMapWriter.cpp
palenshus/msix-packaging
5883559c90f792f24e2237e9e4de10164548f2a2
[ "MIT" ]
83
2019-05-29T18:38:36.000Z
2022-03-17T07:34:16.000Z
// // Copyright (C) 2019 Microsoft. All rights reserved. // See LICENSE file in the project root for full license information. // #include "XmlWriter.hpp" #include "AppxBlockMapWriter.hpp" #include "StringHelper.hpp" #include <vector> namespace MSIX { /* <BlockMap HashMethod="http://www....
44.925926
149
0.662325
palenshus
798315d0ff1534d1841ead27d97cd2201472a878
6,123
cc
C++
src/libmu/core/readtable.cc
Software-Knife-and-Tool/mux
19166e2efde01dd5dcab60f06fc5d9ec2740ac5a
[ "MIT" ]
null
null
null
src/libmu/core/readtable.cc
Software-Knife-and-Tool/mux
19166e2efde01dd5dcab60f06fc5d9ec2740ac5a
[ "MIT" ]
105
2021-07-11T15:54:40.000Z
2021-08-07T04:38:06.000Z
src/libmu/core/readtable.cc
Software-Knife-and-Tool/xian
bd5c77a222bfa9c18379510e63930627cb2f028a
[ "MIT" ]
null
null
null
/******** ** ** SPDX-License-Identifier: MIT ** ** Copyright (c) 2017-2022 James M. Putnam <putnamjm.design@gmail.com> ** **/ /******** ** ** readtable.cc: library readtable ** **/ #include "libmu/core/readtable.h" #include <cassert> #include <map> #include <vector> #include "libmu/core/core.h" namespa...
41.09396
79
0.608035
Software-Knife-and-Tool
7983879bd84000b7a69ee68d0ca886647e842b33
44,572
cpp
C++
torch/csrc/jit/script/init.cpp
wxwoods/mctorch
7cd6eb51fdd01fa75ed9245039a4f145ba342de2
[ "BSD-3-Clause" ]
1
2019-07-23T11:20:58.000Z
2019-07-23T11:20:58.000Z
torch/csrc/jit/script/init.cpp
wxwoods/mctorch
7cd6eb51fdd01fa75ed9245039a4f145ba342de2
[ "BSD-3-Clause" ]
null
null
null
torch/csrc/jit/script/init.cpp
wxwoods/mctorch
7cd6eb51fdd01fa75ed9245039a4f145ba342de2
[ "BSD-3-Clause" ]
null
null
null
#include <torch/csrc/jit/script/init.h> #include <torch/csrc/Device.h> #include <torch/csrc/Dtype.h> #include <torch/csrc/Layout.h> #include <torch/csrc/jit/import.h> #include <torch/csrc/jit/script/compiler.h> #include <torch/csrc/jit/script/module.h> #include <torch/csrc/jit/script/module_python.h> #include <torch/c...
35.772071
103
0.610024
wxwoods
7984d1bc10f489e3d3a5333e3a6ca31ba42d5890
8,375
cpp
C++
src/GLCloud1/CloudBlock.cpp
Shelnutt2/SPO_Sandbox
2be47b33510d59a165e119d92e09f4b92c6d4a19
[ "BSD-3-Clause" ]
null
null
null
src/GLCloud1/CloudBlock.cpp
Shelnutt2/SPO_Sandbox
2be47b33510d59a165e119d92e09f4b92c6d4a19
[ "BSD-3-Clause" ]
null
null
null
src/GLCloud1/CloudBlock.cpp
Shelnutt2/SPO_Sandbox
2be47b33510d59a165e119d92e09f4b92c6d4a19
[ "BSD-3-Clause" ]
null
null
null
/* s_p_oneil@hotmail.com Copyright (c) 2000, Sean O'Neil All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of ...
27.916667
107
0.586746
Shelnutt2
7985ad3ee126ec191ccc2f9055bf24c050a7af10
1,008
cpp
C++
openjudge/02/03/6262.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
1
2020-07-22T16:54:07.000Z
2020-07-22T16:54:07.000Z
openjudge/02/03/6262.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
1
2018-05-12T12:53:06.000Z
2018-05-12T12:53:06.000Z
openjudge/02/03/6262.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <iostream> int main () { char list [100][100]; char list2[100][100]; int n; scanf ("%d", &n); int d; for (int a = 0; a < n; a += 1) { scanf ("%c", &d); for (int b = 0; b < n; b += 1) scanf ("%c", &list [a][b]); } std::cin >> d; for (int f = 0; f < d-1; f += 1) { for (int...
21.913043
66
0.369048
TheBadZhang
7985bb529ecb9dde61be6dee805bd99363b5ea51
8,881
cpp
C++
examples/tartool/tartool.cpp
Vladimir-Lin/QtTAR
47a6757f5c072d9e0977658fbcc45be0471cb9b2
[ "MIT" ]
null
null
null
examples/tartool/tartool.cpp
Vladimir-Lin/QtTAR
47a6757f5c072d9e0977658fbcc45be0471cb9b2
[ "MIT" ]
null
null
null
examples/tartool/tartool.cpp
Vladimir-Lin/QtTAR
47a6757f5c072d9e0977658fbcc45be0471cb9b2
[ "MIT" ]
null
null
null
#include <QtCore> #include <QtTar> #if defined(Q_OS_WIN) #include <windows.h> #endif class TarBALL : public QtTarBall { public: explicit TarBALL (void) ; virtual ~TarBALL (void) ; protected: virtual bool Interval (void) ; virtual void Report (void * hiddenFileInfo) ; ...
37.952991
79
0.267988
Vladimir-Lin
79863b20ccf84c6f28028fd63da92d23a8979da5
7,488
cpp
C++
cpp/apps/NavalBattle/Battleship.cpp
ProkopHapala/SimpleSimulationEngine
240f9b7e85b3a6eda7a27dc15fe3f7b8c08774c5
[ "MIT" ]
26
2016-12-04T04:45:12.000Z
2022-03-24T09:39:28.000Z
cpp/apps/NavalBattle/Battleship.cpp
ProkopHapala/SimpleSimulationEngine
240f9b7e85b3a6eda7a27dc15fe3f7b8c08774c5
[ "MIT" ]
null
null
null
cpp/apps/NavalBattle/Battleship.cpp
ProkopHapala/SimpleSimulationEngine
240f9b7e85b3a6eda7a27dc15fe3f7b8c08774c5
[ "MIT" ]
2
2019-02-09T12:31:06.000Z
2019-04-28T02:24:50.000Z
#include <math.h> #include <cstdlib> #include <stdio.h> #include <vector> //#include <SDL2/SDL.h> #include <SDL2/SDL_opengl.h> #include "IO_utils.h" #include "Draw2D.h" #include "Battleship.h" // THE HEADER bool Battleship::loadFromFile( char const* filename ){ printf(" filename: %s \n", filename ); FILE *...
29.952
153
0.564904
ProkopHapala
798782f6ddb77892cd065c6f56e7562bc4b1154c
2,673
cxx
C++
src/par/src/MLPart/mlpart/FMPart/fmPartPlus.cxx
gatecat/OpenROAD
cd7a2f497c69a77dc056e8b966daa5de7d211a58
[ "BSD-3-Clause" ]
2
2021-03-04T02:35:37.000Z
2021-05-21T23:57:23.000Z
src/par/src/MLPart/mlpart/FMPart/fmPartPlus.cxx
gatecat/OpenROAD
cd7a2f497c69a77dc056e8b966daa5de7d211a58
[ "BSD-3-Clause" ]
1
2021-08-20T07:50:34.000Z
2021-08-20T07:50:34.000Z
src/par/src/MLPart/mlpart/FMPart/fmPartPlus.cxx
gatecat/OpenROAD
cd7a2f497c69a77dc056e8b966daa5de7d211a58
[ "BSD-3-Clause" ]
2
2021-06-27T09:48:36.000Z
2021-07-23T08:08:01.000Z
/************************************************************************** *** *** Copyright (c) 1995-2000 Regents of the University of California, *** Andrew E. Caldwell, Andrew B. Kahng and Igor L. Markov *** Copyright (c) 2000-2007 Regents of the University of Michigan, *** Saurabh N. Ad...
50.433962
385
0.662926
gatecat
7988381cc5f413a099ed5909d626c3b2ed805f41
252
cpp
C++
2791.cpp
Valarr/Uri
807de771b14b0e60d44b23835ad9ee7423c83471
[ "MIT" ]
null
null
null
2791.cpp
Valarr/Uri
807de771b14b0e60d44b23835ad9ee7423c83471
[ "MIT" ]
null
null
null
2791.cpp
Valarr/Uri
807de771b14b0e60d44b23835ad9ee7423c83471
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int a,b,c,d; scanf("%d %d %d %d", &a,&b,&c,&d); if(a!=0) cout << 1 << "\n"; if(b!=0) cout << 2 << "\n"; if(c!=0) cout << 3 << "\n"; if(d!=0) cout << 4 << "\n"; }
15.75
38
0.396825
Valarr
7988ee511f1e67bc9e88b0662839c219bea8e89c
2,715
cpp
C++
src/generated/rpg_savepicture.cpp
BeWorld2018/liblcf
01b73de93cf80185fcdf3ffd4737dfdb9111a85e
[ "MIT" ]
72
2015-01-03T12:04:47.000Z
2022-03-14T23:40:24.000Z
src/generated/rpg_savepicture.cpp
BeWorld2018/liblcf
01b73de93cf80185fcdf3ffd4737dfdb9111a85e
[ "MIT" ]
207
2015-01-03T11:00:17.000Z
2022-02-25T15:50:25.000Z
src/generated/rpg_savepicture.cpp
BeWorld2018/liblcf
01b73de93cf80185fcdf3ffd4737dfdb9111a85e
[ "MIT" ]
42
2015-01-07T12:30:40.000Z
2022-02-11T12:05:05.000Z
/* !!!! GENERATED FILE - DO NOT EDIT !!!! * -------------------------------------- * * This file is part of liblcf. Copyright (c) 2021 liblcf authors. * https://github.com/EasyRPG/liblcf - https://easyrpg.org * * liblcf is Free/Libre Open Source Software, released under the MIT License. * For the full copyright ...
36.689189
77
0.641621
BeWorld2018
79897611df6eda188cd6c98bc4d5ac175a77bfe6
1,656
cc
C++
src/pks/mpc_pk/ChemistryMatrixFracture_PK.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/pks/mpc_pk/ChemistryMatrixFracture_PK.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/pks/mpc_pk/ChemistryMatrixFracture_PK.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* This is the mpc_pk component of the Amanzi code. Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Authors: Konstantin Lipnikov ...
33.12
105
0.533816
fmyuan
798e1b5c6185a904dc0b297593fda4d8f09b7601
446
hpp
C++
src/centurion/detail/czstring_compare.hpp
twantonie/centurion
198b80f9e8a29da2ae7d3c15e48ffa1a046165c3
[ "MIT" ]
126
2020-12-05T00:05:56.000Z
2022-03-30T15:15:03.000Z
src/centurion/detail/czstring_compare.hpp
twantonie/centurion
198b80f9e8a29da2ae7d3c15e48ffa1a046165c3
[ "MIT" ]
46
2020-12-27T14:25:22.000Z
2022-01-26T13:58:11.000Z
src/centurion/detail/czstring_compare.hpp
twantonie/centurion
198b80f9e8a29da2ae7d3c15e48ffa1a046165c3
[ "MIT" ]
13
2021-01-20T20:50:18.000Z
2022-03-25T06:59:03.000Z
#ifndef CENTURION_DETAIL_CZSTRING_COMPARE_HEADER #define CENTURION_DETAIL_CZSTRING_COMPARE_HEADER #include "../core/str.hpp" #include "czstring_eq.hpp" /// \cond FALSE namespace cen::detail { struct czstring_compare final { auto operator()(const str lhs, const str rhs) const noexcept -> bool { return detail:...
20.272727
70
0.748879
twantonie
79907086e98fa3d21f45c1c9e02963e4a4d9fe2f
2,003
cpp
C++
Daa_Greedy1/A_3/program3.cpp
anuj0405/DAA
3ea853200317dd1b588d56e7d24f65d66821040c
[ "MIT" ]
1
2020-02-01T20:19:44.000Z
2020-02-01T20:19:44.000Z
Daa_Greedy1/A_3/program3.cpp
anuj0405/DAA
3ea853200317dd1b588d56e7d24f65d66821040c
[ "MIT" ]
null
null
null
Daa_Greedy1/A_3/program3.cpp
anuj0405/DAA
3ea853200317dd1b588d56e7d24f65d66821040c
[ "MIT" ]
null
null
null
#include<chrono> #include<vector> #include<fstream> #include<iostream> using namespace std::chrono; using namespace std; class sort { public: long a,cm=0; int i=0,j=0; vector<double> v1; void mergesort(int,int); void merge_count(int,int,int); void countingversion(int); }; static long long int count...
14.837037
86
0.560659
anuj0405
7991a76127e1207939f8bce489dc11c6ff2cbe96
437
cpp
C++
Wk6-SortingAlgos/SortingAlgos/main.cpp
DanielCender/CST-201
a001182db8445b71c82b19c08d3526ceb318e717
[ "MIT" ]
null
null
null
Wk6-SortingAlgos/SortingAlgos/main.cpp
DanielCender/CST-201
a001182db8445b71c82b19c08d3526ceb318e717
[ "MIT" ]
null
null
null
Wk6-SortingAlgos/SortingAlgos/main.cpp
DanielCender/CST-201
a001182db8445b71c82b19c08d3526ceb318e717
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { // Setup array for sorting tests int arr[1000]; int n = sizeof(arr)/sizeof(arr[0]); for(int i = 0; i < n; i++) { arr[i] = (rand()%1000); cout << arr[i] << endl; } sort(arr, arr+n, greater<int>()); cout << "Sorted!!!!!" << endl; for(in...
14.566667
44
0.505721
DanielCender
79959a948bcb77223666327ed4ab8bbef1417c89
3,128
cc
C++
src/featbin/concat-feats.cc
shuipi100/kaldi
8e30fddb300a87e7c79ef2c0b9c731a8a9fd23f0
[ "Apache-2.0" ]
805
2018-05-28T02:32:04.000Z
2022-03-26T09:13:12.000Z
src/featbin/concat-feats.cc
shuipi100/kaldi
8e30fddb300a87e7c79ef2c0b9c731a8a9fd23f0
[ "Apache-2.0" ]
49
2015-10-24T22:06:28.000Z
2019-12-24T11:13:34.000Z
src/featbin/concat-feats.cc
shuipi100/kaldi
8e30fddb300a87e7c79ef2c0b9c731a8a9fd23f0
[ "Apache-2.0" ]
267
2018-06-07T08:33:28.000Z
2022-03-30T12:18:33.000Z
// featbin/concat-feats.cc // Copyright 2013 Johns Hopkins University (Author: Daniel Povey) // 2015 Tom Ko // See ../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Licen...
31.918367
105
0.655691
shuipi100
799859ae36eb0f2f1ee23d15f55de4b88ba99bda
7,238
cc
C++
tensorflow_io/ignite/kernels/dataset/ignite_dataset_ops.cc
HubBucket-Team/io
de05464e53672389119a6215fea9ceacf7f77203
[ "Apache-2.0" ]
1
2019-10-10T06:11:23.000Z
2019-10-10T06:11:23.000Z
tensorflow_io/ignite/kernels/dataset/ignite_dataset_ops.cc
VonRosenchild/io
de05464e53672389119a6215fea9ceacf7f77203
[ "Apache-2.0" ]
null
null
null
tensorflow_io/ignite/kernels/dataset/ignite_dataset_ops.cc
VonRosenchild/io
de05464e53672389119a6215fea9ceacf7f77203
[ "Apache-2.0" ]
1
2019-10-10T06:11:24.000Z
2019-10-10T06:11:24.000Z
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
36.371859
80
0.624896
HubBucket-Team
799966ddda15fbf932275109f9eae3785915d647
1,158
cpp
C++
modules/lwjgl/driftfx/src/main/c/src/DriftFXSurface.cpp
Thendont/lwjgl
02934555dad9d0a69d076cbfc2aee37e2d2b71d4
[ "BSD-3-Clause" ]
4,054
2015-01-01T10:30:02.000Z
2022-03-31T11:05:37.000Z
modules/lwjgl/driftfx/src/main/c/src/DriftFXSurface.cpp
Thendont/lwjgl
02934555dad9d0a69d076cbfc2aee37e2d2b71d4
[ "BSD-3-Clause" ]
678
2015-01-07T15:45:25.000Z
2022-03-28T20:09:08.000Z
modules/lwjgl/driftfx/src/main/c/src/DriftFXSurface.cpp
Thendont/lwjgl
02934555dad9d0a69d076cbfc2aee37e2d2b71d4
[ "BSD-3-Clause" ]
892
2015-01-01T03:01:21.000Z
2022-03-30T11:44:03.000Z
/* * Copyright (c) 2019 BestSolution.at and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: ...
30.473684
107
0.755613
Thendont
799a2031763ecbcf92a6d09dd52f2474a5dbe48b
11,954
cpp
C++
solClientThread.cpp
brandonto/topic-monitor
d3aa666e92e13e93abe8539799c98f985b79f1bb
[ "BSD-3-Clause" ]
2
2019-10-22T22:05:09.000Z
2020-02-02T05:42:19.000Z
solClientThread.cpp
brandonto/topic-monitor
d3aa666e92e13e93abe8539799c98f985b79f1bb
[ "BSD-3-Clause" ]
null
null
null
solClientThread.cpp
brandonto/topic-monitor
d3aa666e92e13e93abe8539799c98f985b79f1bb
[ "BSD-3-Clause" ]
null
null
null
//****************************************************************************** // // Copyright (c) 2019, Brandon To // 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 o...
33.391061
103
0.678267
brandonto
79a0bb73780abbea33fe3c5fc98eedf1f634ef65
110
hpp
C++
libcaramel/adapters/queue.hpp
Wmbat/libcaramel
71bd054aea82b081f202f52b7d24226871123b3f
[ "MIT" ]
2
2020-12-19T04:00:41.000Z
2021-09-11T19:28:29.000Z
libcaramel/adapters/queue.hpp
Wmbat/libcaramel
71bd054aea82b081f202f52b7d24226871123b3f
[ "MIT" ]
4
2021-05-11T22:52:16.000Z
2021-05-16T20:43:31.000Z
libcaramel/adapters/queue.hpp
Wmbat/libcaramel
71bd054aea82b081f202f52b7d24226871123b3f
[ "MIT" ]
1
2021-01-06T04:05:56.000Z
2021-01-06T04:05:56.000Z
#pragma once namespace caramel { template <typename Any> class queue { }; } // namespace caramel
11
26
0.645455
Wmbat
79a346ce41317849a953cf58e572534c4526d437
705
cpp
C++
leetcode/problems/easy/69-sqrtx.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/easy/69-sqrtx.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/easy/69-sqrtx.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Sqrt(x) https://leetcode.com/problems/sqrtx/ Given a non-negative integer x, compute and return the square root of x. Since the return type is an integer, the decimal digits are truncated, and only the integer part of the result is returned. Example 1: Input: x = 4 Output: 2 Example 2: Input: x = 8 Output: 2 E...
20.735294
123
0.575887
wingkwong
79a58e6f679687548894f8a39e10181acd6d6672
6,857
cc
C++
script/api/api_simple.cc
chris-nada/simutrans-extended
71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f
[ "Artistic-1.0" ]
38
2017-07-26T14:48:12.000Z
2022-03-24T23:48:55.000Z
script/api/api_simple.cc
chris-nada/simutrans-extended
71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f
[ "Artistic-1.0" ]
74
2017-03-15T21:07:34.000Z
2022-03-18T07:53:11.000Z
script/api/api_simple.cc
chris-nada/simutrans-extended
71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f
[ "Artistic-1.0" ]
43
2017-03-10T15:27:28.000Z
2022-03-05T10:55:38.000Z
/* * This file is part of the Simutrans-Extended project under the Artistic License. * (see LICENSE.txt) */ #include "api.h" /** @file api_simple.cc exports simple data types. */ #include "api_simple.h" #include "../api_class.h" #include "../api_function.h" #include "../../dataobj/ribi.h" #include "../../simworld...
27.873984
96
0.684264
chris-nada
79a6b9efe0dd1aecd62e87a7f901339e21cd22f3
5,238
cpp
C++
src/core/Collection.cpp
demonatic/Skilo
adc73692dfa41c11b74ce02bfc657a5692156187
[ "MIT" ]
3
2020-05-10T16:52:35.000Z
2021-03-12T08:06:06.000Z
src/core/Collection.cpp
demonatic/Skilo
adc73692dfa41c11b74ce02bfc657a5692156187
[ "MIT" ]
null
null
null
src/core/Collection.cpp
demonatic/Skilo
adc73692dfa41c11b74ce02bfc657a5692156187
[ "MIT" ]
null
null
null
#include "Collection.h" #include "g3log/g3log.hpp" #include "search/IndexSearcher.h" namespace Skilo { using namespace Schema; Collection::Collection(const CollectionMeta &collection_meta,StorageService *storage_service,const SkiloConfig &config): _collection_id(collection_meta.get_collection_id()), _collect...
35.391892
130
0.734822
demonatic
79a6d5cac7c48459079f05a2b5cbca81a4a52e94
1,180
hpp
C++
test/test_parent_parsers.hpp
MasterMann/argparse
e6a8802551d54fbd5a9eefb543239776dc763e96
[ "MIT" ]
3
2019-12-31T09:13:42.000Z
2021-11-25T12:26:20.000Z
test/test_parent_parsers.hpp
MasterMann/argparse
e6a8802551d54fbd5a9eefb543239776dc763e96
[ "MIT" ]
20
2019-12-24T16:57:30.000Z
2019-12-29T03:34:03.000Z
test/test_parent_parsers.hpp
MasterMann/argparse
e6a8802551d54fbd5a9eefb543239776dc763e96
[ "MIT" ]
1
2020-01-05T00:25:11.000Z
2020-01-05T00:25:11.000Z
#pragma once #include <catch.hpp> #include <argparse.hpp> TEST_CASE("Add parent parsers", "[parent_parsers]") { argparse::ArgumentParser parent_parser("main"); parent_parser.add_argument("--verbose") .default_value(false) .implicit_value(true); argparse::ArgumentParser child_parser("foo"); child_parse...
34.705882
72
0.688983
MasterMann
79a7d6d4510165a7845990b23d244c0fb1d66cd9
2,948
hpp
C++
Tools/AtlasViewer/src/AtlasViewer.hpp
palikar/DirectXer
c21b87eed220fc54d97d5363e8a33bd0944a2596
[ "MIT" ]
null
null
null
Tools/AtlasViewer/src/AtlasViewer.hpp
palikar/DirectXer
c21b87eed220fc54d97d5363e8a33bd0944a2596
[ "MIT" ]
null
null
null
Tools/AtlasViewer/src/AtlasViewer.hpp
palikar/DirectXer
c21b87eed220fc54d97d5363e8a33bd0944a2596
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <unordered_map> #include <vector> #include <string> #include <cstdint> #include <fstream> #include <stb_image.h> #include <GraphicsCommon.hpp> #include <Types.hpp> #include <Utils.hpp> #include <Assets.hpp> #include <fmt/format.h> #include <filesystem> static LPSTR* CommandL...
22.165414
98
0.712008
palikar
79a98caec1979e1f2ac949ae42ec5b8c37462694
19,404
hpp
C++
include/util/timsort.hpp
izenecloud/izenelib
9d5958100e2ce763fc75f27217adf982d7c9d902
[ "Apache-2.0" ]
31
2015-03-03T19:13:42.000Z
2020-09-03T08:11:56.000Z
include/util/timsort.hpp
izenecloud/izenelib
9d5958100e2ce763fc75f27217adf982d7c9d902
[ "Apache-2.0" ]
1
2016-12-24T00:12:11.000Z
2016-12-24T00:12:11.000Z
include/util/timsort.hpp
izenecloud/izenelib
9d5958100e2ce763fc75f27217adf982d7c9d902
[ "Apache-2.0" ]
8
2015-09-06T01:55:21.000Z
2021-12-20T02:16:13.000Z
/* * C++ implementation of timsort * * ported from http://cr.openjdk.java.net/~martin/webrevs/openjdk7/timsort/raw_files/new/src/share/classes/java/util/TimSort.java * * Copyright 2011 Fuji, Goro <gfuji@cpan.org>. All rights reserved. * * You can use and/or redistribute in the same term of the original license. ...
27.799427
129
0.416203
izenecloud
79b0849accd41d291fd083601cea7d4fe92782cf
764
cpp
C++
third_party/libprocess/src/synchronized.cpp
clearstorydata/mesos
4164125048c6635a4d0dbe72daf243457b0f325b
[ "Apache-2.0" ]
1
2019-02-17T15:56:26.000Z
2019-02-17T15:56:26.000Z
third_party/libprocess/src/synchronized.cpp
yubo/mesos
b177a56a4c4343e87e3eead34863a63a2e91db94
[ "Apache-2.0" ]
null
null
null
third_party/libprocess/src/synchronized.cpp
yubo/mesos
b177a56a4c4343e87e3eead34863a63a2e91db94
[ "Apache-2.0" ]
3
2017-07-10T07:28:30.000Z
2020-07-25T19:48:07.000Z
#include "synchronized.hpp" using std::string; static string s1; static synchronizable(s1); static string s2; static synchronizable(s2) = SYNCHRONIZED_INITIALIZER; static string s3; static synchronizable(s3) = SYNCHRONIZED_INITIALIZER_RECURSIVE; void bar() { synchronized(s3) { } } void foo() { synchroni...
11.402985
63
0.653141
clearstorydata
79b46c50134dcd826977991118d73753bf8405d7
429
cpp
C++
Leetcode/1000-2000/1521. Find a Value of a Mysterious Function Closest to Target/1521.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/1000-2000/1521. Find a Value of a Mysterious Function Closest to Target/1521.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/1000-2000/1521. Find a Value of a Mysterious Function Closest to Target/1521.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class Solution { public: int closestToTarget(vector<int>& arr, int target) { int ans = INT_MAX; // s(j) := arr[i] & arr[i + 1] & ... & arr[j] for all 0 <= i <= j (fixed) unordered_set<int> s; for (const int a : arr) { unordered_set<int> s2{a}; for (const int b : s) s2.insert(a & ...
21.45
77
0.505828
Next-Gen-UI
79b5adc304ce24f89fe0b3f5e6b412245010db7e
6,564
hpp
C++
modules/concurrency/include/shard/concurrency/channel.hpp
ikimol/shard
72a72dbebfd247d2b7b300136c489672960b37d8
[ "MIT" ]
null
null
null
modules/concurrency/include/shard/concurrency/channel.hpp
ikimol/shard
72a72dbebfd247d2b7b300136c489672960b37d8
[ "MIT" ]
null
null
null
modules/concurrency/include/shard/concurrency/channel.hpp
ikimol/shard
72a72dbebfd247d2b7b300136c489672960b37d8
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Miklos Molnar. All rights reserved. #ifndef SHARD_CONCURRENCY_CHANNEL_HPP #define SHARD_CONCURRENCY_CHANNEL_HPP #include <shard/core/non_copyable.hpp> #include <shard/optional.hpp> #include <atomic> #include <condition_variable> #include <mutex> #include <queue> #include <utility> namespace sh...
28.663755
79
0.587599
ikimol
79b7bc50e3feec0d780bc392d247762da59b9b34
352
cpp
C++
Practice Programs/alice_bob_cindi_dani.cpp
SR-Sunny-Raj/CPP_Language_Programs
3e10a365187f70cc473c5b62155ff51dc12e38b8
[ "MIT" ]
3
2021-02-04T17:59:00.000Z
2022-01-29T17:21:42.000Z
Practice Programs/alice_bob_cindi_dani.cpp
SR-Sunny-Raj/CPP_Language_Programs
3e10a365187f70cc473c5b62155ff51dc12e38b8
[ "MIT" ]
null
null
null
Practice Programs/alice_bob_cindi_dani.cpp
SR-Sunny-Raj/CPP_Language_Programs
3e10a365187f70cc473c5b62155ff51dc12e38b8
[ "MIT" ]
3
2021-10-02T14:38:21.000Z
2021-10-05T06:19:22.000Z
#include <iostream> using namespace std; int main() { string str1, str2, str3; cin >> str1 >> str2 >> str3; if (str1 != "Alice") cout << "Alice" << endl; else if (str2 != "Bob") cout << "Bob" << endl; else if (str3 != "Cindy") cout << "Cindy" << endl; else cout <<...
22
32
0.485795
SR-Sunny-Raj
79ba07b4f83837cb53909d50b2cf9aa25a796e3e
3,963
hxx
C++
src/core/include/ivy/io/transcodechannel.hxx
sikol/ivy
6365b8783353cf0c79c633bbc7110be95a55225c
[ "BSL-1.0" ]
null
null
null
src/core/include/ivy/io/transcodechannel.hxx
sikol/ivy
6365b8783353cf0c79c633bbc7110be95a55225c
[ "BSL-1.0" ]
null
null
null
src/core/include/ivy/io/transcodechannel.hxx
sikol/ivy
6365b8783353cf0c79c633bbc7110be95a55225c
[ "BSL-1.0" ]
null
null
null
/* * Copyright (c) 2019, 2020, 2021 SiKol Ltd. * Distributed under the Boost Software License, Version 1.0. */ #ifndef IVY_IO_TRANSCODECHANNEL_HXX_INCLUDED #define IVY_IO_TRANSCODECHANNEL_HXX_INCLUDED #include <deque> #include <span> #include <system_error> #include <ivy/charenc.hxx> #include <ivy/ex...
35.383929
81
0.574817
sikol
79ba1de0a45375b206513f390cf7fa8e7a7a3e38
153
cpp
C++
src/mango/core/wire/request/ScenarioRequest.cpp
vero-zhang/mango
0cc8d34a8b729151953df41a7e9cd26324345d44
[ "MIT" ]
null
null
null
src/mango/core/wire/request/ScenarioRequest.cpp
vero-zhang/mango
0cc8d34a8b729151953df41a7e9cd26324345d44
[ "MIT" ]
null
null
null
src/mango/core/wire/request/ScenarioRequest.cpp
vero-zhang/mango
0cc8d34a8b729151953df41a7e9cd26324345d44
[ "MIT" ]
null
null
null
#include "mango/core/wire/request/ScenarioRequest.h" MANGO_NS_BEGIN ScenarioRequest::ScenarioRequest(const Tags& tags) : tags(tags) {} MANGO_NS_END
15.3
52
0.784314
vero-zhang
79be6d71569663060fd3db563a97ed31f9a909d9
13,800
cpp
C++
src/commands/ScreenshotCommand.cpp
Audacity-Team/Audacity
61cdb408abcb2260c539cdffb1602a33e366ec2d
[ "CC-BY-3.0", "MIT" ]
24
2015-01-22T13:55:17.000Z
2021-06-25T09:41:19.000Z
src/commands/ScreenshotCommand.cpp
Audacity-Team/Audacity
61cdb408abcb2260c539cdffb1602a33e366ec2d
[ "CC-BY-3.0", "MIT" ]
null
null
null
src/commands/ScreenshotCommand.cpp
Audacity-Team/Audacity
61cdb408abcb2260c539cdffb1602a33e366ec2d
[ "CC-BY-3.0", "MIT" ]
14
2015-01-12T23:13:35.000Z
2021-01-16T09:02:41.000Z
/********************************************************************** Audacity - A Digital Audio Editor Copyright 1999-2009 Audacity Team License: GPL v2 - see LICENSE.txt Dominic Mazzoni Dan Horgan ******************************************************************//** \class ScreenshotCommand \bri...
28.105906
81
0.613768
Audacity-Team
79bf2bc92a01302721f77adb1ee71cde7d736086
282
cpp
C++
C++Code/1008.cpp
CrystianPrintes20/ProjetoUri
92a88ae2671a556f4d418c3605e9a2c6933dc9d8
[ "MIT" ]
null
null
null
C++Code/1008.cpp
CrystianPrintes20/ProjetoUri
92a88ae2671a556f4d418c3605e9a2c6933dc9d8
[ "MIT" ]
null
null
null
C++Code/1008.cpp
CrystianPrintes20/ProjetoUri
92a88ae2671a556f4d418c3605e9a2c6933dc9d8
[ "MIT" ]
null
null
null
//Questão: Salario #include <iostream> #include <iomanip> using namespace std; int main() { int N, HT; cin >> N >> HT; float SH; cin >> SH; cout << "NUMBER = "<< N <<endl; cout << fixed << setprecision(2); cout << "SALARY = U$ "<< HT*SH <<endl; return 0; }
16.588235
41
0.546099
CrystianPrintes20
79c2cc0898a994722fcb1ac0a5d0af17bc6cb10a
106
cpp
C++
test/llvm_test_code/module_wise/module_wise_8/src1.cpp
janniclas/phasar
324302ae96795e6f0a065c14d4f7756b1addc2a4
[ "MIT" ]
1
2022-02-15T07:56:29.000Z
2022-02-15T07:56:29.000Z
test/llvm_test_code/module_wise/module_wise_8/src1.cpp
fabianbs96/phasar
5b8acd046d8676f72ce0eb85ca20fdb0724de444
[ "MIT" ]
null
null
null
test/llvm_test_code/module_wise/module_wise_8/src1.cpp
fabianbs96/phasar
5b8acd046d8676f72ce0eb85ca20fdb0724de444
[ "MIT" ]
null
null
null
#include "src1.h" void foo(int &a, int &b, int &c) { c = a + b; inc(c); } void inc(int &a) { ++a; }
11.777778
34
0.471698
janniclas
79c2f119428a404b6b860101ce8b18f947f5bdee
478
cpp
C++
nd-coursework/books/cpp/C++Templates/basics/myfirstmain.cpp
crdrisko/nd-grad
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
1
2020-09-26T12:38:55.000Z
2020-09-26T12:38:55.000Z
nd-coursework/books/cpp/C++Templates/basics/myfirstmain.cpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
nd-coursework/books/cpp/C++Templates/basics/myfirstmain.cpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
// Copyright (c) 2017 by Addison-Wesley, David Vandevoorde, Nicolai M. Josuttis, and Douglas Gregor. All rights reserved. // See the LICENSE file in the project root for more information. // // Name: myfirstmain.cpp // Author: crdrisko // Date: 08/12/2020-14:52:01 // Description: Using the printTypeof<> template #incl...
29.875
121
0.658996
crdrisko
79c537fe27718a983781d5afb6576759b3fcd8f2
26,326
cpp
C++
untests/flat_map_tests.cpp
BlackMATov/flat.hpp
98184d75a8227e47ac426b590fd23ead4859bb88
[ "MIT" ]
71
2019-05-04T01:34:33.000Z
2022-01-31T13:46:47.000Z
untests/flat_map_tests.cpp
BlackMATov/flat.hpp
98184d75a8227e47ac426b590fd23ead4859bb88
[ "MIT" ]
21
2019-05-04T11:23:59.000Z
2020-11-29T22:26:24.000Z
untests/flat_map_tests.cpp
BlackMATov/flat.hpp
98184d75a8227e47ac426b590fd23ead4859bb88
[ "MIT" ]
1
2019-05-06T11:04:38.000Z
2019-05-06T11:04:38.000Z
/******************************************************************************* * This file is part of the "https://github.com/blackmatov/flat.hpp" * For conditions of distribution and use, see copyright notice in LICENSE.md * Copyright (C) 2019-2021, by Matvey Cherevko (blackmatov@gmail.com) *********************...
40.009119
139
0.517245
BlackMATov
79c86d2dcdb409c36b8cbd454c4c168756a080fc
594
cc
C++
src/opustags.cc
hackerb9/opustags
3d941961c88053259b4d249675f8903b80c6f7c6
[ "BSD-3-Clause" ]
38
2016-07-10T03:01:26.000Z
2022-03-17T16:17:17.000Z
src/opustags.cc
hackerb9/opustags
3d941961c88053259b4d249675f8903b80c6f7c6
[ "BSD-3-Clause" ]
51
2016-03-16T10:51:50.000Z
2022-02-25T19:50:57.000Z
src/opustags.cc
hackerb9/opustags
3d941961c88053259b4d249675f8903b80c6f7c6
[ "BSD-3-Clause" ]
9
2018-05-31T18:11:08.000Z
2022-03-17T16:18:05.000Z
/** * \file src/opustags.cc * \brief Main function for opustags. * * See opustags.h for the program's documentation. */ #include <opustags.h> #include <locale.h> /** * Main function of the opustags binary. * * Does practically nothing but call the cli module. */ int main(int argc, char** argv) { try { se...
20.482759
57
0.636364
hackerb9
79c8b503e1bfbf60f47f62b2be068268d4869a83
48,323
cpp
C++
test/TestApp/AutoGenTests/AutoGenSharedGroupsTests.cpp
jasonsandlin/PlayFabCoreCSdk
ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19
[ "Apache-2.0" ]
null
null
null
test/TestApp/AutoGenTests/AutoGenSharedGroupsTests.cpp
jasonsandlin/PlayFabCoreCSdk
ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19
[ "Apache-2.0" ]
null
null
null
test/TestApp/AutoGenTests/AutoGenSharedGroupsTests.cpp
jasonsandlin/PlayFabCoreCSdk
ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19
[ "Apache-2.0" ]
null
null
null
#include "TestAppPch.h" #include "TestContext.h" #include "TestApp.h" #include "AutoGenSharedGroupsTests.h" #include "XAsyncHelper.h" #include "playfab/PFAuthentication.h" namespace PlayFabUnit { using namespace PlayFab::Wrappers; AutoGenSharedGroupsTests::SharedGroupsTestData AutoGenSharedGroupsTests::testData; vo...
48.959473
215
0.788672
jasonsandlin
79c97a2a383b882d89292785813d09e57d0ff8e3
58,359
cpp
C++
Engine/Source/Editor/PListEditor/Private/SPlistEditor.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Editor/PListEditor/Private/SPlistEditor.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Editor/PListEditor/Private/SPlistEditor.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "SPlistEditor.h" #include "HAL/FileManager.h" #include "Misc/App.h" #include "Widgets/SOverlay.h" #include "Framework/Application/SlateApplication.h" #include "Framework/MultiBox/MultiBoxBuilder.h" #include "Widgets/Input/SEditableText.h" #include "...
27.360056
181
0.703816
windystrife
79ca2c119548a8bc01a7d1148a50e166db9d6d4d
3,626
cpp
C++
share/packages/implementations/jobst-ibm1/src/Dictionary.cpp
tud-fop/vanda-studio
b636a695d5ba1f199c07aa0950bfeacede4fdf19
[ "BSD-3-Clause" ]
1
2021-01-31T12:07:50.000Z
2021-01-31T12:07:50.000Z
share/packages/implementations/jobst-ibm1/src/Dictionary.cpp
tud-fop/vanda-studio
b636a695d5ba1f199c07aa0950bfeacede4fdf19
[ "BSD-3-Clause" ]
null
null
null
share/packages/implementations/jobst-ibm1/src/Dictionary.cpp
tud-fop/vanda-studio
b636a695d5ba1f199c07aa0950bfeacede4fdf19
[ "BSD-3-Clause" ]
1
2019-04-08T14:51:01.000Z
2019-04-08T14:51:01.000Z
#include "../include/Dictionary.h" #include "../include/kbhit.h" #include <fstream> #include <omp.h> #include "../include/exceptions.h" #include "../include/Words.h" #include "../include/Timer.h" #include "../include/utility.h" #include <boost/algorithm/string.hpp> #include <boost/lexical_cast.hpp> #include <boost/i...
24.013245
75
0.466354
tud-fop
79caa9119b3a31843cdeacb6ea0fbeabbaf47076
7,854
cpp
C++
cpu_seg.cpp
kele/cuda_image_segmentation
1d9aa1c83e73ed1af29640e7fcc909abfb355439
[ "MIT" ]
null
null
null
cpu_seg.cpp
kele/cuda_image_segmentation
1d9aa1c83e73ed1af29640e7fcc909abfb355439
[ "MIT" ]
null
null
null
cpu_seg.cpp
kele/cuda_image_segmentation
1d9aa1c83e73ed1af29640e7fcc909abfb355439
[ "MIT" ]
null
null
null
#include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <deque> #include "cpu_seg.hpp" void push_relabel(ImageGraph &g); void segmentation_cpu(int width, int height, const pixel_t *image, const pixel_t *marks, pixel_t *segmented_image) { typedef ImageGraph::regular_node_t regular_n...
31.926829
85
0.424879
kele
79cb1e2cfc749ca403b43c14cb950b3a34a6a1bd
15,367
cc
C++
tracker/stereo/stereo_tracker_orb.cc
bartn8/stereo-vision
1180045fe560478e5c441e75202cc899fe90ec3d
[ "BSD-3-Clause" ]
52
2016-04-02T18:18:48.000Z
2022-02-14T11:47:58.000Z
tracker/stereo/stereo_tracker_orb.cc
bartn8/stereo-vision
1180045fe560478e5c441e75202cc899fe90ec3d
[ "BSD-3-Clause" ]
3
2016-08-01T14:36:44.000Z
2021-02-14T08:15:50.000Z
tracker/stereo/stereo_tracker_orb.cc
bartn8/stereo-vision
1180045fe560478e5c441e75202cc899fe90ec3d
[ "BSD-3-Clause" ]
26
2016-08-25T11:28:05.000Z
2022-02-18T12:17:47.000Z
#include "stereo_tracker_orb.h" #include <chrono> namespace track { namespace { void SortInRows(const std::vector<cv::KeyPoint>& points, size_t img_rows, std::vector<std::vector<size_t>>& row_indices) { row_indices.resize(img_rows); for (size_t i = 0; i < points.size(); i++) { int row = stat...
38.805556
103
0.649379
bartn8
79d1f28ce9442cfddaee2448aa6cd97a5328c50f
26,083
cpp
C++
src/OptimizableFunctionGenerator.cpp
afriesen/rdis
7c7696431c5d1b9e4aab8cd74ebb97287f3405be
[ "MIT" ]
67
2015-07-29T03:11:59.000Z
2021-11-21T07:09:34.000Z
src/OptimizableFunctionGenerator.cpp
afriesen/rdis
7c7696431c5d1b9e4aab8cd74ebb97287f3405be
[ "MIT" ]
2
2015-11-12T03:56:47.000Z
2016-08-25T20:26:53.000Z
src/OptimizableFunctionGenerator.cpp
afriesen/rdis
7c7696431c5d1b9e4aab8cd74ebb97287f3405be
[ "MIT" ]
26
2015-08-19T05:44:02.000Z
2020-03-29T17:10:00.000Z
/* * OptimizableFunctionGenerator.cpp * * Created on: Jan 29, 2013 * Author: afriesen */ #include "OptimizableFunctionGenerator.h" #include "util/utility.h" #include "VariableDomain.h" #include "NonlinearProductFactor.h" #include "PolynomialFunction.h" #include "SimpleSumFactor.h" #include BOOSTPATH/make_...
30.364377
85
0.659012
afriesen
79d3efe7cc270b106db582ae299dfe961d32a5ab
1,601
cc
C++
src/TRAINING/io.cc
DrAugus/augus_cpp
ba46aae72cd7e91052dd17985f1625efd146b0fa
[ "MIT" ]
null
null
null
src/TRAINING/io.cc
DrAugus/augus_cpp
ba46aae72cd7e91052dd17985f1625efd146b0fa
[ "MIT" ]
1
2022-03-10T03:17:07.000Z
2022-03-10T03:17:07.000Z
src/TRAINING/io.cc
DrAugus/cpp
ba46aae72cd7e91052dd17985f1625efd146b0fa
[ "MIT" ]
null
null
null
// // Created by AUGUS on 2021/8/9. // #include "io.hh" #include "gtest/gtest.h" std::string binaryToHex(const std::string &binaryStr) { std::string ret; static const char *hex = "0123456789ABCDEF"; for (auto c:binaryStr) { ret.push_back(hex[(c >> 4) & 0xf]); //取二进制高四位 ret.push_back(hex[c ...
24.630769
178
0.532167
DrAugus
79d49e69821340407b9782f046431279be1cc256
1,953
cc
C++
src/graphics/color_test.cc
kofuk/pixel-terrain
f39e2a0120aab5a11311f57cfd1ab46efa65fddd
[ "MIT" ]
2
2020-10-16T08:46:45.000Z
2020-11-04T02:19:19.000Z
src/graphics/color_test.cc
kofuk/minecraft-image-generator
ef2f7deb2daac7f7c2cfb468ef39e0cdc8b33db7
[ "MIT" ]
null
null
null
src/graphics/color_test.cc
kofuk/minecraft-image-generator
ef2f7deb2daac7f7c2cfb468ef39e0cdc8b33db7
[ "MIT" ]
null
null
null
// SPDX-License-Identifier: MIT #include <boost/test/tools/interface.hpp> #include <boost/test/unit_test.hpp> #include <boost/test/unit_test_suite.hpp> #include "graphics/color.hh" using namespace pixel_terrain; BOOST_AUTO_TEST_CASE(blend_color) { BOOST_TEST((graphics::blend_color(0xffffffaa, 0x00000000) & 0xff...
39.06
78
0.664619
kofuk
79d58b6d2b272a8cbe82d3b32bcf35471eebd27e
575
cpp
C++
LuoguOJ/Luogu 1781.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
1
2018-02-11T09:41:54.000Z
2018-02-11T09:41:54.000Z
LuoguOJ/Luogu 1781.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
LuoguOJ/Luogu 1781.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define _ ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); using namespace std; struct Item { string num; int no; }; bool cmp(Item a,Item b){ if(a.num.length()==b.num.length()){ int i; for(i=0;i<(int)a.num.length()&&a.num[i]==b.num[i];i++); return a.num[i]>b.num[i]; } else return a....
19.827586
57
0.591304
tico88612
79d657060df323046cab2275d30bfc4c267350f3
87,000
cpp
C++
wind/qDbManager.cpp
huangwenguang/wind
d2b7e15d3ad41a0a5ea17e7ed5780d148e5d4dff
[ "Apache-2.0" ]
null
null
null
wind/qDbManager.cpp
huangwenguang/wind
d2b7e15d3ad41a0a5ea17e7ed5780d148e5d4dff
[ "Apache-2.0" ]
null
null
null
wind/qDbManager.cpp
huangwenguang/wind
d2b7e15d3ad41a0a5ea17e7ed5780d148e5d4dff
[ "Apache-2.0" ]
null
null
null
#include "qDbManager.h" #include <QTimer> #include <QTime> #include <QtSql> #include <QSqlQuery> #include "qConfig.h" qDbManager::qDbManager(QObject *parent) : QObject(parent) { } qDbManager::~qDbManager() { delete m_redis; } /**连接数据库11 * @brief qDbManager::createConnection * @return */ bool qDbManager::cr...
41.232227
123
0.364103
huangwenguang
79dfd05b1bfad2afe56dcec8446963d070cad25c
2,486
cpp
C++
binding/python/io.cpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
null
null
null
binding/python/io.cpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
1
2021-08-04T13:29:57.000Z
2021-08-04T14:10:49.000Z
binding/python/io.cpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
1
2020-09-21T22:25:57.000Z
2020-09-21T22:25:57.000Z
/** @file "/owlcpp/binding/python/io.cpp" part of owlcpp project. @n Distributed under the Boost Software License, Version 1.0; see doc/license.txt. @n Copyright Mikhail K Levin 2011 *******************************************************************************/ #include "boost/python.hpp" namespace bp = boost::pytho...
27.622222
89
0.600161
GreyMerlin
79e05f4f9af279c86aece3c7a0c2edc387be088f
40,272
cpp
C++
src/data/extern/knnspeed/avxmemcmp.cpp
BuildJet/sharkbite
a8355be6e4879ea7648ea045537d6720538b00b8
[ "Apache-2.0" ]
30
2017-01-23T10:42:29.000Z
2022-02-04T18:06:08.000Z
src/data/extern/knnspeed/avxmemcmp.cpp
BuildJet/sharkbite
a8355be6e4879ea7648ea045537d6720538b00b8
[ "Apache-2.0" ]
55
2017-01-29T13:15:52.000Z
2022-02-05T17:49:51.000Z
src/data/extern/knnspeed/avxmemcmp.cpp
BuildJet/sharkbite
a8355be6e4879ea7648ea045537d6720538b00b8
[ "Apache-2.0" ]
5
2017-01-23T10:42:34.000Z
2021-09-07T19:11:00.000Z
// Compile with GCC -O3 for best performance // It pretty much entirely negates the need to write these by hand in asm. #include "data/extern/knnspeed/avxmem.h" #ifndef NATIVE_ARCH #include <cstring> #endif #ifdef NATIVE_ARCH int memcmp(const void *str1, const void *str2, size_t count) { const unsigned char *s1 = (...
33.172982
96
0.589988
BuildJet
076a8cd90f93853076a89e582437e5e741544744
2,700
cpp
C++
src/machine/timer/timer.cpp
elmerucr/E64-II
47115cba99630cd0890768e8657e1fabba6c2c3b
[ "MIT" ]
2
2021-02-02T19:28:02.000Z
2021-11-28T20:14:28.000Z
src/machine/timer/timer.cpp
elmerucr/E64-II
47115cba99630cd0890768e8657e1fabba6c2c3b
[ "MIT" ]
null
null
null
src/machine/timer/timer.cpp
elmerucr/E64-II
47115cba99630cd0890768e8657e1fabba6c2c3b
[ "MIT" ]
null
null
null
// timer.cpp // E64-II // // Copyright © 2019-2020 elmerucr. All rights reserved. #include "timer.hpp" #include "common.hpp" void E64::timer_ic::reset() { machine.TTL74LS148->release_line(interrupt_device_number); registers[0] = 0x00; // no pending irq's registers[1] = 0x00; // all timers turned off // l...
25
74
0.591852
elmerucr
076f36f86be4488f6068c6d0f011b0b7c40ec59e
1,879
cpp
C++
compiler-rt/lib/scudo/standalone/tests/size_class_map_test.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
compiler-rt/lib/scudo/standalone/tests/size_class_map_test.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
compiler-rt/lib/scudo/standalone/tests/size_class_map_test.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//===-- size_class_map_test.cpp ---------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
31.316667
80
0.712613
mkinsner
07728ca8ec0ebf5af9134cb2a72d37baf9991d63
971
cpp
C++
next-greater-number-bst.cpp
babu-thomas/interviewbit-solutions
21125bf30b2d94b6f03310a4917679f216f55af3
[ "MIT" ]
16
2018-12-04T16:23:07.000Z
2021-09-21T06:32:04.000Z
next-greater-number-bst.cpp
babu-thomas/interviewbit-solutions
21125bf30b2d94b6f03310a4917679f216f55af3
[ "MIT" ]
1
2019-08-21T16:20:03.000Z
2019-08-21T16:21:41.000Z
next-greater-number-bst.cpp
babu-thomas/interviewbit-solutions
21125bf30b2d94b6f03310a4917679f216f55af3
[ "MIT" ]
23
2019-06-21T12:09:57.000Z
2021-09-22T18:03:28.000Z
/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ TreeNode* search_node(TreeNode *root, int value) { if(root->val == value) { return root; } if(value < root...
21.577778
64
0.566426
babu-thomas
0777728cfc4a2a06445b9daf796e5cecaadac892
100
cpp
C++
XI/recursivitate/info.mcip.ro/216.cpp
rlodina99/Learn_cpp
0c5bd9e6c52ca21e2eb95eb91597272ddc842c08
[ "MIT" ]
null
null
null
XI/recursivitate/info.mcip.ro/216.cpp
rlodina99/Learn_cpp
0c5bd9e6c52ca21e2eb95eb91597272ddc842c08
[ "MIT" ]
null
null
null
XI/recursivitate/info.mcip.ro/216.cpp
rlodina99/Learn_cpp
0c5bd9e6c52ca21e2eb95eb91597272ddc842c08
[ "MIT" ]
null
null
null
#216. [2010-03-20 - 18:00:30] Sa se calculeze recusiv suma S=1/2+2/1+2/3+3/2+...+n/(n+1)+(n+1)/n.
25
39
0.56
rlodina99
077802f97457dcd4a612891ebc01e376e3f840a6
10,149
cpp
C++
JetBrainsFileWatcher/JetBrainsFileWatcher/JBNativeFileWatcher.cpp
SineStriker/fsnotifier
38e8253e6a164f760e5e42bf2f4ba9e63d3fb0f6
[ "Apache-2.0" ]
4
2022-03-07T01:47:19.000Z
2022-03-07T12:24:48.000Z
JetBrainsFileWatcher/JetBrainsFileWatcher/JBNativeFileWatcher.cpp
SineStriker/fsnotifier
38e8253e6a164f760e5e42bf2f4ba9e63d3fb0f6
[ "Apache-2.0" ]
null
null
null
JetBrainsFileWatcher/JetBrainsFileWatcher/JBNativeFileWatcher.cpp
SineStriker/fsnotifier
38e8253e6a164f760e5e42bf2f4ba9e63d3fb0f6
[ "Apache-2.0" ]
null
null
null
#include "JBNativeFileWatcher.h" #include "JBFileWatcher.h" #include "JBFileWatcherNotificationSink.h" #include <QCoreApplication> #include <QFileInfo> #include <QThread> using namespace JBFileWatcherUtils; JBNativeFileWatcher::JBNativeFileWatcher(QObject *parent) : JBPluggableFileWatcher(parent), myLastChangedP...
28.113573
100
0.618288
SineStriker
077af8d955f545651c664c4e7b9b225c939c8323
385
cpp
C++
tree/priority_queue/heap_sort/heapSort.cpp
vectordb-io/vstl
1cd35add1a28cc1bcac560629b4a49495fe2b065
[ "Apache-2.0" ]
null
null
null
tree/priority_queue/heap_sort/heapSort.cpp
vectordb-io/vstl
1cd35add1a28cc1bcac560629b4a49495fe2b065
[ "Apache-2.0" ]
null
null
null
tree/priority_queue/heap_sort/heapSort.cpp
vectordb-io/vstl
1cd35add1a28cc1bcac560629b4a49495fe2b065
[ "Apache-2.0" ]
null
null
null
// test heap sort #include <iostream> #include <algorithm> #include "heapSort.h" using namespace std; int main(void) { int a[11], i, n = 10; // initialize descending data for (i = 1; i <= 10; i++) a[i] = n - i + 1; heapSort(a, 10); // output sorted data copy(a, a+n, ostrea...
16.73913
51
0.537662
vectordb-io
077b568c1bf309906fb337ac28cd97b730978dd0
2,244
cpp
C++
src/levels/level1.cpp
ant512/EarthShakerDS
c23920bb96652570616059ee4b807e82617c2385
[ "MIT" ]
null
null
null
src/levels/level1.cpp
ant512/EarthShakerDS
c23920bb96652570616059ee4b807e82617c2385
[ "MIT" ]
null
null
null
src/levels/level1.cpp
ant512/EarthShakerDS
c23920bb96652570616059ee4b807e82617c2385
[ "MIT" ]
null
null
null
#include "level1.h" #include "bitmapserver.h" #include "blocktype.h" const static u8 level1Data[600] = { 13,13,13,13,11,14,14,14,14,14,12,14,14,14,14,14,14,14,12,12,14,14,14,14,13,13,13,13,13,13, 13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,12,14,14,2, 13,2, 2, 2, 13,13, 13,2, 14,14,14,14,14,1...
59.052632
92
0.605615
ant512
077bc8525a993f66fe619826094b26f7a432f4cc
544
hpp
C++
LevelManager.hpp
HyruleExplorer/FORGE
95b29e9f810d901efa7e904e2ceed9936cef2a11
[ "Zlib" ]
null
null
null
LevelManager.hpp
HyruleExplorer/FORGE
95b29e9f810d901efa7e904e2ceed9936cef2a11
[ "Zlib" ]
null
null
null
LevelManager.hpp
HyruleExplorer/FORGE
95b29e9f810d901efa7e904e2ceed9936cef2a11
[ "Zlib" ]
null
null
null
#ifndef LEVEL_MANAGER_HPP #define LEVEL_MANAGER_HPP #include "SFML/Graphics.hpp" #include "Level_1.hpp" #include "Level_2.hpp" class LevelManager { public: LevelManager(); ~LevelManager(); void run(); void ignite( Level& level ); void update( Level& level ); private: Level mM...
18.758621
58
0.641544
HyruleExplorer
077cf772881551e212f9eda07607dc866bcf9d51
271
cpp
C++
window_gerenciar.cpp
hun251/Fastmarket
2b759bf08bd0ff7872b09ffc74af272fbb0b3ae7
[ "Apache-2.0" ]
1
2021-04-23T16:13:55.000Z
2021-04-23T16:13:55.000Z
window_gerenciar.cpp
hun251/Fastmarket
2b759bf08bd0ff7872b09ffc74af272fbb0b3ae7
[ "Apache-2.0" ]
2
2021-05-03T21:02:42.000Z
2021-06-08T17:18:23.000Z
window_gerenciar.cpp
hun251/Fastmarket
2b759bf08bd0ff7872b09ffc74af272fbb0b3ae7
[ "Apache-2.0" ]
null
null
null
#include "window_gerenciar.h" #include "ui_window_gerenciar.h" window_gerenciar::window_gerenciar(QWidget *parent) : QDialog(parent), ui(new Ui::window_gerenciar) { ui->setupUi(this); } window_gerenciar::~window_gerenciar() { delete ui; }
18.066667
54
0.682657
hun251
077ea6bf2d9e4761a945e18c6f1dc7381ef48fd2
6,020
cpp
C++
example/27.pid/3.AutoTune.cpp
eboxmaker/eboxFramework-rtt
9718678422f56faec1cf21a6a8fd3f72441bea33
[ "MIT" ]
115
2018-08-12T08:41:17.000Z
2022-03-08T07:43:48.000Z
example/27.pid/3.AutoTune.cpp
eboxmaker/eboxFramework-rtt
9718678422f56faec1cf21a6a8fd3f72441bea33
[ "MIT" ]
4
2018-08-13T10:14:55.000Z
2019-07-03T06:54:10.000Z
example/27.pid/3.AutoTune.cpp
eboxmaker/eboxFramework-rtt
9718678422f56faec1cf21a6a8fd3f72441bea33
[ "MIT" ]
59
2018-09-02T21:54:25.000Z
2022-01-13T02:28:28.000Z
/** ****************************************************************************** * @file pwm.cpp * @author shentq * @version V2.0 * @date 2016/08/14 * @brief ebox application example . ****************************************************************************** * @attention * * No part ...
24.471545
114
0.504319
eboxmaker
078020748cb1f323c4d5e80b90793743a3871543
3,630
hxx
C++
src/freertos_drivers/nxp/Lpc17xx40xxCan.hxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
34
2015-05-23T03:57:56.000Z
2022-03-27T03:48:48.000Z
src/freertos_drivers/nxp/Lpc17xx40xxCan.hxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
214
2015-07-05T05:06:55.000Z
2022-02-06T14:53:14.000Z
src/freertos_drivers/nxp/Lpc17xx40xxCan.hxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
38
2015-08-28T05:32:07.000Z
2021-07-06T16:47:23.000Z
/** \copyright * Copyright (c) 2015, Stuart W Baker * 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...
31.025641
79
0.686777
balazsracz
0780729d3cda65dc43e8620e65df5e2cc01cf2bf
41,239
cc
C++
protobuf-2.0.3/src/google/protobuf/compiler/command_line_interface_unittest.cc
BADKOD/metasyntactic
cea5408f8c575aae4f280df983f511b5fa7ed541
[ "Apache-2.0" ]
1
2016-01-02T10:37:45.000Z
2016-01-02T10:37:45.000Z
protobuf-2.0.3/src/google/protobuf/compiler/command_line_interface_unittest.cc
BADKOD/metasyntactic
cea5408f8c575aae4f280df983f511b5fa7ed541
[ "Apache-2.0" ]
1
2016-12-15T12:24:46.000Z
2016-12-15T12:24:46.000Z
protobuf-2.0.3/src/google/protobuf/compiler/command_line_interface_unittest.cc
BADKOD/metasyntactic
cea5408f8c575aae4f280df983f511b5fa7ed541
[ "Apache-2.0" ]
null
null
null
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // http://code.google.com/p/protobuf/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistri...
31.894045
80
0.672761
BADKOD
0780a3297ef2a8d06710c56da757685d71c91db8
2,725
cpp
C++
BlueNoise/src/Kopf/read_tileset_web.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
24
2016-12-13T09:48:17.000Z
2022-01-13T03:24:45.000Z
BlueNoise/src/Kopf/read_tileset_web.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
2
2019-03-29T06:44:41.000Z
2019-11-12T03:14:25.000Z
BlueNoise/src/Kopf/read_tileset_web.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
8
2016-11-09T15:54:19.000Z
2021-04-08T14:04:17.000Z
/* modified from the code provided by Kopf http://johanneskopf.de/publications/blue_noise/tilesets/index.html Li-Yi Wei 10/18/2007 */ #include <iostream> using namespace std; #include <stdlib.h> int freadi(FILE * fIn) { int iTemp; fread(&iTemp, sizeof(int), 1, fIn); return iTemp; } float freadf(FILE * ...
23.903509
115
0.529174
1iyiwei