hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
73b17a94db8e98090e8472d125a66922f9fac2f0
594
cpp
C++
3 - Branches/3.10 - Character operations/isdigit/isdigit.cpp
aTonyXiao/Zybook
36cd05a436c6ca007cdd14638cf5ee2a7724b889
[ "MIT" ]
11
2017-11-17T07:31:44.000Z
2020-12-05T14:46:56.000Z
3 - Branches/3.10 - Character operations/isdigit/isdigit.cpp
aTonyXiao/Zybook
36cd05a436c6ca007cdd14638cf5ee2a7724b889
[ "MIT" ]
null
null
null
3 - Branches/3.10 - Character operations/isdigit/isdigit.cpp
aTonyXiao/Zybook
36cd05a436c6ca007cdd14638cf5ee2a7724b889
[ "MIT" ]
1
2019-10-15T20:58:51.000Z
2019-10-15T20:58:51.000Z
#include <iostream> #include <string> #include <cctype> using namespace std; // true if digit: 0-9. /* isdigit('x') // false isdigit('6') // true */ int main(){ string myString_1 = "?"; bool hasDigit = 0; //ask for username cout << "Enter name: "; getline(cin, myString_1); //check username for numbers fo...
15.631579
55
0.616162
aTonyXiao
73b34e6e36e7449a7906958971fc50d36f7bcb94
4,685
cpp
C++
tests/dummy.cpp
KPO-2020-2021/zad3-Ploneczka
37f6db13449d1a0d3efe652ff1e9b92f8a9166bf
[ "Unlicense" ]
null
null
null
tests/dummy.cpp
KPO-2020-2021/zad3-Ploneczka
37f6db13449d1a0d3efe652ff1e9b92f8a9166bf
[ "Unlicense" ]
null
null
null
tests/dummy.cpp
KPO-2020-2021/zad3-Ploneczka
37f6db13449d1a0d3efe652ff1e9b92f8a9166bf
[ "Unlicense" ]
null
null
null
#include "../tests/doctest/doctest.h" #include "example.h" #include "vector.hh" #include <sstream> #include "rectangle.hh" // Tests that don't naturally fit in the headers/.cpp files directly // can be placed in a tests/*.cpp file. Integration tests are a good example. TEST_CASE("konskruktor domyslny") { Vector v1,v...
16.044521
96
0.553042
KPO-2020-2021
73b7a24324dafbb415cc3222773c61fc33256d44
10,307
cpp
C++
runtime/file.cpp
JessicaGabriela/PROYECTO
f02c784174e028cc935b2d924309afbb690e9308
[ "Apache-2.0" ]
1
2022-01-06T15:44:48.000Z
2022-01-06T15:44:48.000Z
runtime/file.cpp
JessicaGabriela/PROYECTO
f02c784174e028cc935b2d924309afbb690e9308
[ "Apache-2.0" ]
2
2019-06-27T00:36:28.000Z
2021-06-29T20:05:03.000Z
runtime/file.cpp
JessicaGabriela/PROYECTO
f02c784174e028cc935b2d924309afbb690e9308
[ "Apache-2.0" ]
null
null
null
//===-- runtime/file.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 // //===---------------------------...
24.776442
91
0.601242
JessicaGabriela
73bd1bd881cd6bddf3aea5261316570f8a5ef5fe
9,811
cpp
C++
src/Magnum/Trade/PbrClearCoatMaterialData.cpp
RyanSamlalsingh/magnum
f80b238e2776b7c1fb60541b0d26b08ee488b735
[ "MIT" ]
null
null
null
src/Magnum/Trade/PbrClearCoatMaterialData.cpp
RyanSamlalsingh/magnum
f80b238e2776b7c1fb60541b0d26b08ee488b735
[ "MIT" ]
null
null
null
src/Magnum/Trade/PbrClearCoatMaterialData.cpp
RyanSamlalsingh/magnum
f80b238e2776b7c1fb60541b0d26b08ee488b735
[ "MIT" ]
null
null
null
/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Softwa...
49.80203
137
0.758536
RyanSamlalsingh
73bf7c62e91d08862bdefcfa14c1d2663d43b47c
440
cpp
C++
chat/stress-test/src/savelist.cpp
Shiny-Man/MCR
fa3cf2f7e00065011c14f472f985de04d2c8fa7d
[ "MIT" ]
3
2019-05-16T13:11:52.000Z
2019-08-02T09:09:28.000Z
chat/stress-test/src/savelist.cpp
Shiny-Man/MCR
fa3cf2f7e00065011c14f472f985de04d2c8fa7d
[ "MIT" ]
null
null
null
chat/stress-test/src/savelist.cpp
Shiny-Man/MCR
fa3cf2f7e00065011c14f472f985de04d2c8fa7d
[ "MIT" ]
4
2019-05-16T13:11:55.000Z
2022-02-26T02:35:09.000Z
#include "savelist.h" SaveList::SaveList() { pthread_mutex_init(&m_packmutex, NULL); } char* SaveList::pack_pop() { SaveMutex mutex_lock(&m_packmutex); char *p = m_package.front(); m_package.pop_front(); m_packcount--; return p; } int SaveList::getPackSize() { return m_packcount; } void ...
15.714286
43
0.670455
Shiny-Man
73c01d5082aa63acb2b3aa60711240c09390f555
25,860
cpp
C++
kizunano/node/telemetry.cpp
kizunanocoin/node
c6013e7e992ab75432db58da05054b381f821566
[ "BSD-3-Clause" ]
1
2021-08-16T06:41:05.000Z
2021-08-16T06:41:05.000Z
kizunano/node/telemetry.cpp
kizunanocoin/node
c6013e7e992ab75432db58da05054b381f821566
[ "BSD-3-Clause" ]
null
null
null
kizunano/node/telemetry.cpp
kizunanocoin/node
c6013e7e992ab75432db58da05054b381f821566
[ "BSD-3-Clause" ]
null
null
null
#include <kizunano/lib/alarm.hpp> #include <kizunano/lib/stats.hpp> #include <kizunano/lib/worker.hpp> #include <kizunano/node/network.hpp> #include <kizunano/node/nodeconfig.hpp> #include <kizunano/node/telemetry.hpp> #include <kizunano/node/transport/transport.hpp> #include <kizunano/secure/buffer.hpp> #include <boo...
39.541284
309
0.735576
kizunanocoin
73c10a3dbde87d2d64eb42a17cd565783794313b
778
cpp
C++
src/cbcSolver.cpp
yenyi/PcbDecompaction
5b783308e008c3b6119afde94d86f000d28e55ef
[ "BSD-3-Clause" ]
2
2020-05-06T10:43:42.000Z
2020-07-02T05:13:51.000Z
src/cbcSolver.cpp
yenyi/PcbDecompaction
5b783308e008c3b6119afde94d86f000d28e55ef
[ "BSD-3-Clause" ]
null
null
null
src/cbcSolver.cpp
yenyi/PcbDecompaction
5b783308e008c3b6119afde94d86f000d28e55ef
[ "BSD-3-Clause" ]
4
2020-10-16T23:59:01.000Z
2021-12-21T13:17:29.000Z
#include "cbcSolver.h" bool CbcSolver::solver(std::string lpFileName, std::string solFileName) { Cbc_Model *model = Cbc_newModel(); int status; status = Cbc_readLp(model, lpFileName.c_str()); Cbc_solve(model); const double *sol = Cbc_getColSolution(model); int n = Cbc_getNumCols(model); s...
27.785714
71
0.582262
yenyi
73c4658cccd007ef3225c3e09c8ea936e609e327
1,688
cpp
C++
gearoenix/gles2/pipeline/gx-gles2-pip-unlit-resource-set.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/gles2/pipeline/gx-gles2-pip-unlit-resource-set.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/gles2/pipeline/gx-gles2-pip-unlit-resource-set.cpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#include "gx-gles2-pip-unlit-resource-set.hpp" #ifdef GX_USE_OPENGL_ES2 #include "../../gl/gx-gl-loader.hpp" #include "../../render/buffer/gx-rnd-buf-uniform.hpp" #include "../../render/camera/gx-rnd-cmr-uniform.hpp" #include "../../render/graph/node/gx-rnd-gr-nd-unlit.hpp" #include "../../render/material/gx-rnd-mat-un...
45.621622
148
0.755332
Hossein-Noroozpour
73c4e13f4ec330b201ff538afe5a38696a0f13a8
14,926
hpp
C++
buffer.hpp
kmchan2018/piper
0b8a37511963f900d9476ec55b300dba72577660
[ "MIT" ]
null
null
null
buffer.hpp
kmchan2018/piper
0b8a37511963f900d9476ec55b300dba72577660
[ "MIT" ]
null
null
null
buffer.hpp
kmchan2018/piper
0b8a37511963f900d9476ec55b300dba72577660
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstddef> #include <cstring> #include <exception> #include <memory> #include <stdexcept> #include <type_traits> #include <utility> #include "exception.hpp" #ifndef BUFFER_HPP_ #define BUFFER_HPP_ namespace Piper { using Support::Exception::start; /** * Buffer is a value class ...
28.056391
176
0.647595
kmchan2018
73c78764ed0b39fe3d45febfdb05e87f3600ea1d
13,212
cxx
C++
arrows/ffmpeg/ffmpeg_video_output.cxx
hdefazio/kwiver
0e04c3727bfb6f55c9da439fff77d054f32a575c
[ "BSD-3-Clause" ]
null
null
null
arrows/ffmpeg/ffmpeg_video_output.cxx
hdefazio/kwiver
0e04c3727bfb6f55c9da439fff77d054f32a575c
[ "BSD-3-Clause" ]
null
null
null
arrows/ffmpeg/ffmpeg_video_output.cxx
hdefazio/kwiver
0e04c3727bfb6f55c9da439fff77d054f32a575c
[ "BSD-3-Clause" ]
null
null
null
// This file is part of KWIVER, and is distributed under the // OSI-approved BSD 3-Clause License. See top-level LICENSE file or // https://github.com/Kitware/kwiver/blob/master/LICENSE for details. /// \file /// \brief Implementation of FFmpeg video writer. #include "arrows/ffmpeg/ffmpeg_init.h" #include "arrows/ffm...
26.424
79
0.676658
hdefazio
73cab025818ff7d28ac012a99fe94a13bd603c9a
30,620
cpp
C++
sources/Renderer/Vulkan/VKRenderSystem.cpp
Krypton-Dev/LLGL
b1817bea26b81d26246a6e840caaecf839ace573
[ "BSD-3-Clause" ]
null
null
null
sources/Renderer/Vulkan/VKRenderSystem.cpp
Krypton-Dev/LLGL
b1817bea26b81d26246a6e840caaecf839ace573
[ "BSD-3-Clause" ]
null
null
null
sources/Renderer/Vulkan/VKRenderSystem.cpp
Krypton-Dev/LLGL
b1817bea26b81d26246a6e840caaecf839ace573
[ "BSD-3-Clause" ]
null
null
null
/* * VKRenderSystem.cpp * * This file is part of the "LLGL" project (Copyright (c) 2015-2019 by Lukas Hermanns) * See "LICENSE.txt" for license information. */ #include <LLGL/Platform/Platform.h> #include "VKRenderSystem.h" #include "Ext/VKExtensionLoader.h" #include "Ext/VKExtensions.h" #include "Memory/VKDevic...
33.35512
195
0.686022
Krypton-Dev
73d0b6a7bf3b74b9f32bda054da69bd9333ae7b8
530
hpp
C++
libs/common/result_fwd.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
libs/common/result_fwd.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
libs/common/result_fwd.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_RESULT_FWD_HPP #define IROHA_RESULT_FWD_HPP namespace iroha { namespace expected { struct ValueBase; template <typename T> struct Value; struct ErrorBase; template <typename E> ...
16.060606
53
0.692453
akshatkarani
73d100c00fc7c810da2fc583bf38aec05b12007c
21,026
cxx
C++
source/OOSQL/Evaluator/oosql_Eval_DS.cxx
odysseus-oosql/ODYSSEUS-OOSQL
49a5e32b6f73cea611dafdcc0e6767f80d4450ae
[ "BSD-3-Clause" ]
6
2016-08-29T08:03:21.000Z
2022-03-25T09:56:23.000Z
source/OOSQL/Evaluator/oosql_Eval_DS.cxx
odysseus-oosql/ODYSSEUS-OOSQL
49a5e32b6f73cea611dafdcc0e6767f80d4450ae
[ "BSD-3-Clause" ]
null
null
null
source/OOSQL/Evaluator/oosql_Eval_DS.cxx
odysseus-oosql/ODYSSEUS-OOSQL
49a5e32b6f73cea611dafdcc0e6767f80d4450ae
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************/ /* */ /* Copyright (c) 1990-2016, KAIST */ /* All rights reserved. ...
24.971496
133
0.56744
odysseus-oosql
73d123bd0a92bd1dce91c3d5410c13cea3ccb50b
2,191
cpp
C++
Libraries/LibCore/GetPassword.cpp
galileoDesk/serenity
602a830428986463e63b8cf2fdd4fbb621280d06
[ "BSD-2-Clause" ]
2
2021-06-09T01:33:00.000Z
2021-06-09T01:33:06.000Z
Libraries/LibCore/GetPassword.cpp
galileoDesk/serenity
602a830428986463e63b8cf2fdd4fbb621280d06
[ "BSD-2-Clause" ]
null
null
null
Libraries/LibCore/GetPassword.cpp
galileoDesk/serenity
602a830428986463e63b8cf2fdd4fbb621280d06
[ "BSD-2-Clause" ]
1
2021-06-25T06:30:52.000Z
2021-06-25T06:30:52.000Z
/* * Copyright (c) 2020, Peter Elliott <pelliott@ualberta.ca> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, t...
34.234375
96
0.724327
galileoDesk
73d3c0bb8fcba84c94f6e0bc8abff24ee7f93529
910
hpp
C++
src/Module/Codec/RSC/Codec_RSC.hpp
codechecker123/aff3ct
030af3e990027fa803fb2c68f974c9ec0ee79b5d
[ "MIT" ]
null
null
null
src/Module/Codec/RSC/Codec_RSC.hpp
codechecker123/aff3ct
030af3e990027fa803fb2c68f974c9ec0ee79b5d
[ "MIT" ]
null
null
null
src/Module/Codec/RSC/Codec_RSC.hpp
codechecker123/aff3ct
030af3e990027fa803fb2c68f974c9ec0ee79b5d
[ "MIT" ]
null
null
null
#ifndef CODEC_RSC_HPP_ #define CODEC_RSC_HPP_ #include "Factory/Module/Encoder/RSC/Encoder_RSC.hpp" #include "Factory/Module/Decoder/RSC/Decoder_RSC.hpp" #include "../Codec_SISO_SIHO.hpp" namespace aff3ct { namespace module { template <typename B = int, typename Q = float> class Codec_RSC : public Codec_SISO_SIHO<B,...
26
73
0.723077
codechecker123
73d582f4675ce156f6f801d97e4af6e555e94ceb
3,432
cpp
C++
test/single_phase_pressuer_solver_test.cpp
AleksanderSiwek/Fluide_Engine
12c626105b079a3dd21a3cc95b7d98342d041f5d
[ "MIT" ]
null
null
null
test/single_phase_pressuer_solver_test.cpp
AleksanderSiwek/Fluide_Engine
12c626105b079a3dd21a3cc95b7d98342d041f5d
[ "MIT" ]
null
null
null
test/single_phase_pressuer_solver_test.cpp
AleksanderSiwek/Fluide_Engine
12c626105b079a3dd21a3cc95b7d98342d041f5d
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "../src/fluid_solvers/single_phase_pressure_solver.hpp" void ___PrintArray3(const Array3<double>& input) { const auto& size = input.GetSize(); std::cout << std::setprecision(2) << std::fixed; std::cout << "Size: (" << size.x << ", " << size.y << ", " << size.z << ")\n"; ...
26.198473
82
0.42366
AleksanderSiwek
73d6346d5d5310e7b5975120063223636f1a328c
606
cpp
C++
RealmLib/Packets/Client/Buy.cpp
SometimesRain/realmnet
76ead08b4a0163a05b65389e512942a620331256
[ "MIT" ]
10
2018-11-25T21:59:43.000Z
2022-01-09T22:41:52.000Z
RealmLib/Packets/Client/Buy.cpp
SometimesRain/realmnet
76ead08b4a0163a05b65389e512942a620331256
[ "MIT" ]
1
2018-11-28T12:59:59.000Z
2018-11-28T12:59:59.000Z
RealmLib/Packets/Client/Buy.cpp
SometimesRain/realmnet
76ead08b4a0163a05b65389e512942a620331256
[ "MIT" ]
6
2018-12-28T22:34:13.000Z
2021-10-16T10:17:17.000Z
#include "stdafx.h" #include <GameData/Constants.h> #include <GameData/TypeManager.h> #include "Packets/PacketWriter.h" #include "Packets/PacketReader.h" #include <Packets/Buy.h> Buy::Buy(int objectId, int quantity) : objectId(objectId), quantity(quantity) { } Buy::Buy(byte* data) { PacketReader r(data); r.rea...
15.15
72
0.70462
SometimesRain
73d7203da0e077e884be43a8969520d8a38cb0aa
639
hpp
C++
library/ATF/_qry_case_unmandtrader_log_in_proc_update_complete.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/_qry_case_unmandtrader_log_in_proc_update_complete.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/_qry_case_unmandtrader_log_in_proc_update_complete.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE struct _qry_case_unmandtrader_log_in_proc_update_complete { struct __list { char byProcRet; char byP...
24.576923
108
0.629108
lemkova
73d84e4bcbb64a8f59d21dd726d03f1b51848e7a
7,017
hpp
C++
simulator/include/marlin/simulator/transport/SimulatedTransportFactory.hpp
WhiteWalker608/ActionsTest
41e3c3cf6d5a2094d90fd4c004ad0cd3856d42cd
[ "MIT" ]
null
null
null
simulator/include/marlin/simulator/transport/SimulatedTransportFactory.hpp
WhiteWalker608/ActionsTest
41e3c3cf6d5a2094d90fd4c004ad0cd3856d42cd
[ "MIT" ]
null
null
null
simulator/include/marlin/simulator/transport/SimulatedTransportFactory.hpp
WhiteWalker608/ActionsTest
41e3c3cf6d5a2094d90fd4c004ad0cd3856d42cd
[ "MIT" ]
1
2020-10-28T07:38:49.000Z
2020-10-28T07:38:49.000Z
#ifndef MARLIN_SIMULATOR_UDP_SIMULATEDTRANSPORTFACTORY_HPP #define MARLIN_SIMULATOR_UDP_SIMULATEDTRANSPORTFACTORY_HPP #include "marlin/simulator/transport/SimulatedTransport.hpp" #include <marlin/core/Buffer.hpp> #include <marlin/core/SocketAddress.hpp> #include <marlin/core/TransportManager.hpp> #include <spdlog/sp...
21.996865
105
0.782671
WhiteWalker608
73e1c00cd0391544c32320d45aaddcb5195d91eb
1,640
cpp
C++
src/UOJ_1195 - (1180313) Accepted.cpp
miguelarauj1o/UOJ
eb195754829c42c3dcf1a68616e63da1386cb5a9
[ "MIT" ]
80
2015-01-07T01:18:40.000Z
2021-05-04T15:23:18.000Z
src/UOJ_1195 - (1180313) Accepted.cpp
miguelarauj1o/OJ
eb195754829c42c3dcf1a68616e63da1386cb5a9
[ "MIT" ]
1
2019-01-07T01:13:32.000Z
2019-01-07T01:13:32.000Z
src/UOJ_1195 - (1180313) Accepted.cpp
miguelarauj1o/OJ
eb195754829c42c3dcf1a68616e63da1386cb5a9
[ "MIT" ]
28
2015-03-05T11:53:23.000Z
2020-07-05T15:50:42.000Z
#include <cstdio> using namespace std; struct Node { int data; Node* left; Node* right; }; Node* GetNewroot(int data) { Node* newroot = new Node(); newroot -> data = data; newroot -> left = NULL; newroot -> right = NULL; return newroot; } Node* Insert(Node* root, int data) { if(root == ...
16.907216
47
0.52439
miguelarauj1o
73e39a33fd3fb36dbc1e004b870de6468eeeeb19
6,330
cpp
C++
firmware/Parser.cpp
bespokegear/Power_Meter_Display_EA_LED_Matrix
61d538c21fefdf566b1cc10c8d4f824bfcbe6d80
[ "MIT" ]
null
null
null
firmware/Parser.cpp
bespokegear/Power_Meter_Display_EA_LED_Matrix
61d538c21fefdf566b1cc10c8d4f824bfcbe6d80
[ "MIT" ]
null
null
null
firmware/Parser.cpp
bespokegear/Power_Meter_Display_EA_LED_Matrix
61d538c21fefdf566b1cc10c8d4f824bfcbe6d80
[ "MIT" ]
null
null
null
#include <string.h> #include <Arduino.h> #include <MutilaDebug.h> #include "Matrix.h" #include "Parser.h" #include "Config.h" #include "SmallTextMode.h" #include "TextMode.h" #include "TextControlMode.h" #include "ClearMode.h" #include "CountdownMode.h" #include "TimerMode.h" #include "VoltageAndCurrentMode.h" #include...
26.822034
106
0.481675
bespokegear
73e635eed25043d735c37ae0c21474034685c122
2,920
cpp
C++
Engine/script/script_engine.cpp
monkey0506/ags
2f96ddf47e944efea2534386a4004849eb71372b
[ "Artistic-2.0" ]
null
null
null
Engine/script/script_engine.cpp
monkey0506/ags
2f96ddf47e944efea2534386a4004849eb71372b
[ "Artistic-2.0" ]
null
null
null
Engine/script/script_engine.cpp
monkey0506/ags
2f96ddf47e944efea2534386a4004849eb71372b
[ "Artistic-2.0" ]
null
null
null
//============================================================================= // // Adventure Game Studio (AGS) // // Copyright (C) 1999-2011 Chris Jones and 2011-20xx others // The full list of copyright holders can be found in the Copyright.txt // file, which is part of this source code distribution. // // The AGS ...
27.809524
92
0.603082
monkey0506
73e9b45bf7446b8516bbc0007b20ce5c9c8a2eb4
8,892
cc
C++
cbplusui/apps/settings/SettingWifiPasswordActivity.cc
Iorest/mg-demos
8375a84d6e5dfbd659a53f6dc17ea00e7b117ef9
[ "Apache-2.0" ]
11
2019-05-27T04:15:46.000Z
2022-03-18T05:16:52.000Z
cbplusui/apps/settings/SettingWifiPasswordActivity.cc
Iorest/mg-demos
8375a84d6e5dfbd659a53f6dc17ea00e7b117ef9
[ "Apache-2.0" ]
2
2019-08-17T11:54:12.000Z
2020-08-14T01:34:35.000Z
cbplusui/apps/settings/SettingWifiPasswordActivity.cc
Iorest/mg-demos
8375a84d6e5dfbd659a53f6dc17ea00e7b117ef9
[ "Apache-2.0" ]
11
2019-08-19T04:48:27.000Z
2022-01-27T09:25:05.000Z
/////////////////////////////////////////////////////////////////////////////// // // IMPORTANT NOTICE // // The following open source license statement does not apply to any // entity in the Exception List published by FMSoft. // // For more information, please visit: // // https://www.fmsoft....
30.662069
103
0.62978
Iorest
73eabfe1965cefc9c0961efa616bffa0ef3fd175
1,395
hpp
C++
Engine/video/Video.hpp
JuDelCo/SFML2-Game
b234eb59266c6969d3c57ee5d3833e4090205a90
[ "Zlib" ]
32
2015-07-04T02:47:22.000Z
2022-01-19T00:07:51.000Z
Engine/video/Video.hpp
JuDelCo/SFML2-Game
b234eb59266c6969d3c57ee5d3833e4090205a90
[ "Zlib" ]
null
null
null
Engine/video/Video.hpp
JuDelCo/SFML2-Game
b234eb59266c6969d3c57ee5d3833e4090205a90
[ "Zlib" ]
11
2016-11-14T15:53:15.000Z
2020-05-29T12:12:54.000Z
// Copyright (c) 2013 Juan Delgado (JuDelCo) // License: zlib/libpng License // zlib/libpng License web page: http://opensource.org/licenses/Zlib #pragma once #ifndef VIDEO_HPP #define VIDEO_HPP #include <SFML/Graphics.hpp> #include <memory> typedef std::shared_ptr<sf::RenderWindow> RenderWindowPtr; class Video { ...
25.833333
98
0.741935
JuDelCo
73eb71a165d827ab9b324eb581a9393adf51a045
7,039
hpp
C++
unit/atf-src/atf-c++/macros.hpp
Reverier-Xu/bind-EDNS-client-subnet-patched
c02debb6d48736db4601659107a358b3c445ba75
[ "MIT", "BSD-3-Clause" ]
7
2015-04-19T12:14:32.000Z
2021-08-11T21:43:00.000Z
unit/atf-src/atf-c++/macros.hpp
Reverier-Xu/bind-EDNS-client-subnet-patched
c02debb6d48736db4601659107a358b3c445ba75
[ "MIT", "BSD-3-Clause" ]
2
2020-02-04T01:58:46.000Z
2020-02-04T02:25:08.000Z
unit/atf-src/atf-c++/macros.hpp
Reverier-Xu/bind-EDNS-client-subnet-patched
c02debb6d48736db4601659107a358b3c445ba75
[ "MIT", "BSD-3-Clause" ]
5
2015-12-03T15:11:19.000Z
2019-09-06T16:53:22.000Z
// // Automated Testing Framework (atf) // // Copyright (c) 2007, 2008, 2010 The NetBSD Foundation, Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code...
35.195
80
0.542691
Reverier-Xu
73edc91a98330ddc9af2c5b4421e992698d1b4f4
522
cpp
C++
src/LG/lg-P5132.cpp
krishukr/cpp-code
1c94401682227bd86c0d9295134d43582247794e
[ "MIT" ]
1
2021-08-13T14:27:39.000Z
2021-08-13T14:27:39.000Z
src/LG/lg-P5132.cpp
krishukr/cpp-code
1c94401682227bd86c0d9295134d43582247794e
[ "MIT" ]
null
null
null
src/LG/lg-P5132.cpp
krishukr/cpp-code
1c94401682227bd86c0d9295134d43582247794e
[ "MIT" ]
null
null
null
#include <cstdio> #include <iostream> typedef long long ll; int a[1050]; int main() { std::ios::sync_with_stdio(false); int n; std::cin >> n; ll ans = 0; for (int i = 1; i <= n; i++) { std::cin >> a[i]; } for (int i = 1; i <= n; i++) { for (int j = 1; j <= n; j++) { ...
15.352941
54
0.371648
krishukr
73ef45ff7d7c6c526e0900f1bfcd59501ff46550
631
cpp
C++
labs/lab2/lab2ex3.cpp
MFarradji/inf3105
93ffd6a237acbb67072d69fb5a8be02439f59a04
[ "MIT" ]
null
null
null
labs/lab2/lab2ex3.cpp
MFarradji/inf3105
93ffd6a237acbb67072d69fb5a8be02439f59a04
[ "MIT" ]
null
null
null
labs/lab2/lab2ex3.cpp
MFarradji/inf3105
93ffd6a237acbb67072d69fb5a8be02439f59a04
[ "MIT" ]
2
2020-10-01T14:16:56.000Z
2021-07-06T16:31:33.000Z
/* UQAM / Département d'informatique INF3105 Laboratoire 2 - Type de passage de paramètres */ #include <iostream> using namespace std; void test(int a, int* b, int* c, int& d, int*& e) { a = 11; // effet local b++; // change l'adresse locale de b *c = 13; // change la valeur pointée par c d = 14; // ch...
21.758621
81
0.549921
MFarradji
73f10ba5b260e9287542d12ad5072bb629900394
746
cpp
C++
URI/Beginner/Experiments.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
URI/Beginner/Experiments.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
URI/Beginner/Experiments.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; char type; int total = 0; int T = 0, t = 0; double rats = 0, rabbits = 0, frogs = 0; int main () { cin >> T; while ( T-- ){ cin >> t >> type; total += t; if (type == 'C') rabbits+= t; else if (type == 'R') rats+= t; else if (type == 'S') frogs+=t; } print...
17.761905
65
0.552279
Mhmd-Hisham
73f1513f26ef5ad89a2d969229677e2bfdd9e6fb
1,923
hh
C++
libview/toolTip.hh
libview/libview
3d9b8bd63589e8bdc43638331bf6061127690cd3
[ "MIT" ]
2
2020-10-22T22:02:52.000Z
2021-12-13T18:07:16.000Z
libview/toolTip.hh
libview/libview
3d9b8bd63589e8bdc43638331bf6061127690cd3
[ "MIT" ]
null
null
null
libview/toolTip.hh
libview/libview
3d9b8bd63589e8bdc43638331bf6061127690cd3
[ "MIT" ]
null
null
null
/* ************************************************************************* * Copyright (c) 2005 VMware, Inc. * * 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, incl...
29.136364
77
0.683307
libview
73f2d8777738af49152d925531e53867642cb0b1
49,565
hpp
C++
casadi/casadi-windows-matlabR2016a-v3/include/casadi/core/function_internal.hpp
pymBRT/TROPIC
77ec31d34dbd8d038674e966d13915f8032cf4ab
[ "BSD-3-Clause" ]
29
2020-05-11T16:59:10.000Z
2022-02-24T11:30:16.000Z
casadi/casadi-windows-matlabR2016a-v3/include/casadi/core/function_internal.hpp
pymBRT/TROPIC
77ec31d34dbd8d038674e966d13915f8032cf4ab
[ "BSD-3-Clause" ]
1
2021-02-04T04:20:55.000Z
2021-02-28T20:47:02.000Z
casadi/casadi-windows-matlabR2016a-v3/include/casadi/core/function_internal.hpp
pymBRT/TROPIC
77ec31d34dbd8d038674e966d13915f8032cf4ab
[ "BSD-3-Clause" ]
10
2020-06-22T22:41:32.000Z
2021-12-15T12:26:13.000Z
/* * This file is part of CasADi. * * CasADi -- A symbolic framework for dynamic optimization. * Copyright (C) 2010-2014 Joel Andersson, Joris Gillis, Moritz Diehl, * K.U. Leuven. All rights reserved. * Copyright (C) 2011-2014 Greg Horn * * CasADi is free software; you ...
35.327869
99
0.632664
pymBRT
73f5e63507d40ef432fc8611de96bd944670a229
7,374
cpp
C++
extensions/Particle3D/PU/CCPUSphereCollider.cpp
DelinWorks/adxe
0f1ba3a086d744bb52e157e649fa986ae3c7ab05
[ "MIT" ]
null
null
null
extensions/Particle3D/PU/CCPUSphereCollider.cpp
DelinWorks/adxe
0f1ba3a086d744bb52e157e649fa986ae3c7ab05
[ "MIT" ]
4
2020-10-22T05:45:37.000Z
2020-10-23T12:11:44.000Z
extensions/Particle3D/PU/CCPUSphereCollider.cpp
DelinWorks/adxe
0f1ba3a086d744bb52e157e649fa986ae3c7ab05
[ "MIT" ]
1
2020-10-22T03:17:28.000Z
2020-10-22T03:17:28.000Z
/**************************************************************************** Copyright (C) 2013 Henry van Merode. All rights reserved. Copyright (c) 2015-2016 Chukong Technologies Inc. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. https://adxeproject.github.io/ Permission is hereby granted, free of cha...
36.50495
120
0.587469
DelinWorks
73f7790c7dcf98e5569d469d6aff2de8e5ecd2cb
3,963
cpp
C++
engine/liveupdate/src/liveupdate_private.cpp
Epitaph128/defold
554625a6438c38014b8f701c4a6e0ca684478618
[ "ECL-2.0", "Apache-2.0" ]
1
2020-05-19T15:47:07.000Z
2020-05-19T15:47:07.000Z
engine/liveupdate/src/liveupdate_private.cpp
CagdasErturk/defold
28e5eb635042d37e17cda4d33e47fce2b569cab8
[ "Apache-2.0" ]
null
null
null
engine/liveupdate/src/liveupdate_private.cpp
CagdasErturk/defold
28e5eb635042d37e17cda4d33e47fce2b569cab8
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 The Defold Foundation // Licensed under the Defold License version 1.0 (the "License"); you may not use // this file except in compliance with the License. // // You may obtain a copy of the License, together with FAQs at // https://www.defold.com/license // // Unless required by applicable law or a...
32.219512
128
0.587938
Epitaph128
73f8f3b6e4bf30367aff43d0951294b23415e79b
1,947
cc
C++
source/server/config/network/tcp_proxy.cc
georgi-d/envoy
3e6e4a73d5c1804842948088dd23b6f2f95ca377
[ "Apache-2.0" ]
null
null
null
source/server/config/network/tcp_proxy.cc
georgi-d/envoy
3e6e4a73d5c1804842948088dd23b6f2f95ca377
[ "Apache-2.0" ]
1
2017-11-22T09:35:42.000Z
2017-11-22T09:35:42.000Z
source/server/config/network/tcp_proxy.cc
georgi-d/envoy
3e6e4a73d5c1804842948088dd23b6f2f95ca377
[ "Apache-2.0" ]
null
null
null
#include "server/config/network/tcp_proxy.h" #include <string> #include "envoy/network/connection.h" #include "envoy/registry/registry.h" #include "common/config/filter_json.h" #include "common/filter/tcp_proxy.h" namespace Envoy { namespace Server { namespace Configuration { NetworkFilterFactoryCb TcpProxyConfigF...
36.055556
98
0.713919
georgi-d
73fa0df29d0bfc6c6ef21ca4a78445d954ac3077
23,102
cpp
C++
src/DX/d3dfont.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
1
2018-04-01T16:47:52.000Z
2018-04-01T16:47:52.000Z
src/DX/d3dfont.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
null
null
null
src/DX/d3dfont.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
null
null
null
//----------------------------------------------------------------------------- // File: D3DFont.cpp // // Desc: Texture-based font class // // Copyright (c) 1999-2000 Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- #define STRICT #in...
35.109422
106
0.54636
HonzaMD
bab71693892dc7b0edbbbf181f173dcb6ed26ca5
545
cpp
C++
src/mge/core/memory.cpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
src/mge/core/memory.cpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
91
2019-03-09T11:31:29.000Z
2022-02-27T13:06:06.000Z
src/mge/core/memory.cpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
// mge - Modern Game Engine // Copyright (c) 2021 by Alexander Schroeder // All rights reserved. #include "mge/core/memory.hpp" #include "mge/core/stdexceptions.hpp" namespace mge { void* mge::malloc(size_t size) { void* ptr = ::malloc(size); if (ptr == nullptr) { MGE_THROW(out_of_...
20.961538
79
0.537615
mge-engine
babb0f31f384c06114789059edc72a0acc8dd312
653
hpp
C++
src/interpreter/headers/TokenFactory.hpp
Rishirai7/cpp_interpreter
77756cba2c426db70be562c6e0119bad45346eb6
[ "MIT" ]
1
2022-02-02T05:44:20.000Z
2022-02-02T05:44:20.000Z
src/interpreter/headers/TokenFactory.hpp
Rishirai7/cpp_interpreter
77756cba2c426db70be562c6e0119bad45346eb6
[ "MIT" ]
6
2022-01-16T21:04:02.000Z
2022-01-16T21:17:52.000Z
src/interpreter/headers/TokenFactory.hpp
Rishirai7/cpp_interpreter
77756cba2c426db70be562c6e0119bad45346eb6
[ "MIT" ]
1
2022-01-22T19:10:23.000Z
2022-01-22T19:10:23.000Z
/* Author: R. Baltrusch */ #pragma once #ifndef TOKENFACTORY_H #define TOKENFACTORY_H #include <any> #include <map> #include <regex> #include <string> #include <memory> #include "Token.hpp" #include "Value.hpp" class TokenFactory { ConstructorMap tokens, regexTokens; std::map<std::string, std::regex> compi...
19.787879
74
0.732006
Rishirai7
babbc2ec47bd228e431312083880830470369af5
24,748
hpp
C++
src/roles/client.hpp
lfranchi/websocketpp
85b9ed7cef7280f9889b08053f45feb6d1ff3204
[ "BSD-3-Clause" ]
2
2016-07-31T10:50:43.000Z
2017-01-03T21:00:50.000Z
src/roles/client.hpp
lfranchi/websocketpp
85b9ed7cef7280f9889b08053f45feb6d1ff3204
[ "BSD-3-Clause" ]
null
null
null
src/roles/client.hpp
lfranchi/websocketpp
85b9ed7cef7280f9889b08053f45feb6d1ff3204
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2011, Peter Thorson. 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 cond...
34.709677
106
0.608211
lfranchi
bacbb2da043bdfff60ef9dc61b345ea75fdcd07c
6,248
cc
C++
modules/guardian/guardian_component.cc
aaaaliyun/apollo
5d4bb57a253327434c829ab5b6936916f5b229da
[ "Apache-2.0" ]
null
null
null
modules/guardian/guardian_component.cc
aaaaliyun/apollo
5d4bb57a253327434c829ab5b6936916f5b229da
[ "Apache-2.0" ]
null
null
null
modules/guardian/guardian_component.cc
aaaaliyun/apollo
5d4bb57a253327434c829ab5b6936916f5b229da
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright 2018 The Apollo 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 ...
41.653333
146
0.609955
aaaaliyun
bacdff80c95820123d28565c22915eaa1f575ce4
1,070
hh
C++
src/game/units/Car.hh
zermingore/warevolved
efd0c506658ce6e4ecb6c7eb5bb7d620bc05fd52
[ "MIT" ]
1
2019-09-23T18:16:27.000Z
2019-09-23T18:16:27.000Z
src/game/units/Car.hh
zermingore/warevolved
efd0c506658ce6e4ecb6c7eb5bb7d620bc05fd52
[ "MIT" ]
2
2018-11-12T18:48:03.000Z
2018-11-15T21:10:02.000Z
src/game/units/Car.hh
zermingore/warevolved
efd0c506658ce6e4ecb6c7eb5bb7d620bc05fd52
[ "MIT" ]
null
null
null
/** * \file * \date June 2, 2019 * \author Zermingore * \brief Car (specific Unit) class declaration */ #ifndef CAR_HH_ # define CAR_HH_ # include <string> # include <game/units/Vehicle.hh> /** * \class Car * \brief Specialization of Unit class */ class Car: public Vehicle { public: /** * \brief Defau...
20.980392
80
0.661682
zermingore
bad39e8fdca14d39e241f3cb6f2c4b057e3e8b15
2,103
cc
C++
src/utils/ambry_bitset_test.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
1
2021-01-11T14:19:51.000Z
2021-01-11T14:19:51.000Z
src/utils/ambry_bitset_test.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
null
null
null
src/utils/ambry_bitset_test.cc
pengdu/bubblefs
9b27e191a287b3a1d012adfd3bab6a30629a5f33
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright 2016 LinkedIn Corp. 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 applica...
28.418919
77
0.705183
pengdu
bad4c56593b298d9f0302a0d673da1458535c2c9
3,704
cpp
C++
isis/src/base/objs/PvlTokenizer/unitTest.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
134
2018-01-18T00:16:24.000Z
2022-03-24T03:53:33.000Z
isis/src/base/objs/PvlTokenizer/unitTest.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
3,825
2017-12-11T21:27:34.000Z
2022-03-31T21:45:20.000Z
isis/src/base/objs/PvlTokenizer/unitTest.cpp
jlaura/isis3
2c40e08caed09968ea01d5a767a676172ad20080
[ "CC0-1.0" ]
164
2017-11-30T21:15:44.000Z
2022-03-23T10:22:29.000Z
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0 ...
24.529801
79
0.49784
kdl222
bade0ae118df2427739823a2ca52c6c9120a42ec
8,647
cc
C++
Boss2D/addon/webrtc-jumpingyang001_for_boss/rtc_base/sslidentity.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/webrtc-jumpingyang001_for_boss/rtc_base/sslidentity.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/webrtc-jumpingyang001_for_boss/rtc_base/sslidentity.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
/* * Copyright 2004 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
32.878327
117
0.634555
Yash-Wasalwar-07
bae186b86e8137b246bc0265b48e5aee040e6de8
4,838
hpp
C++
FlexEngine/include/Types.hpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
762
2017-11-07T23:40:58.000Z
2022-03-31T16:03:22.000Z
FlexEngine/include/Types.hpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
5
2018-03-13T14:41:06.000Z
2020-11-01T12:02:29.000Z
FlexEngine/include/Types.hpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
43
2017-11-17T11:22:37.000Z
2022-03-14T01:51:19.000Z
#pragma once #include <cstdint> #include <limits> #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) #define ARRAY_LENGTH(a) ARRAY_SIZE(a) namespace flex { class GameObject; using u8 = uint8_t; using u16 = uint16_t; using u32 = uint32_t; using u64 = uint64_t; using i8 = int8_t; using i16 = int16_t; using i32 ...
27.804598
140
0.740389
ajweeks
bae40de52fdcf5a60576133398cae77b19f95b66
65,658
cpp
C++
src/condor_startd.V6/claim.cpp
krowenrao/htcondor
9cd7983fe4318849b9a133ee28c56cbfa2773de7
[ "Apache-2.0" ]
null
null
null
src/condor_startd.V6/claim.cpp
krowenrao/htcondor
9cd7983fe4318849b9a133ee28c56cbfa2773de7
[ "Apache-2.0" ]
null
null
null
src/condor_startd.V6/claim.cpp
krowenrao/htcondor
9cd7983fe4318849b9a133ee28c56cbfa2773de7
[ "Apache-2.0" ]
null
null
null
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
25.340795
174
0.668829
krowenrao
bae4f8a8b44e2debe1febe913da4b3938bdbddb4
298
cpp
C++
Necromancer/Logger.cpp
myffx36/RenderingEngine
38df29966b3126744fb40c2a97775ae44cea92f9
[ "MIT" ]
null
null
null
Necromancer/Logger.cpp
myffx36/RenderingEngine
38df29966b3126744fb40c2a97775ae44cea92f9
[ "MIT" ]
null
null
null
Necromancer/Logger.cpp
myffx36/RenderingEngine
38df29966b3126744fb40c2a97775ae44cea92f9
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Logger.h" #include "Necromancer.h" namespace Necromancer{ Logger::~Logger(){ } void Log(const String& str){ Necromancer* nec = Necromancer::get_instance(); Logger* logger = nec->logger(); logger->Log(str); } void Logger::Log(const String& str){ } }
13.545455
49
0.661074
myffx36
bae5513a3ea4821dee9cc3868b850df7efa848d8
13,007
cpp
C++
sdk/physx/2.8.3/Samples/SampleTerrain/src/NxSampleTerrain.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
1
2018-09-20T10:01:30.000Z
2018-09-20T10:01:30.000Z
sdk/physx/2.8.3/Samples/SampleTerrain/src/NxSampleTerrain.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
null
null
null
sdk/physx/2.8.3/Samples/SampleTerrain/src/NxSampleTerrain.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
null
null
null
// =============================================================================== // // NVIDIA PhysX SDK Sample Program // // Title: Terrain Sample // Description: This sample program builds a terrain and shows some of the debug // information that you can receive from the SDK. // // =============...
25.158607
149
0.700238
daher-alfawares
bae7ae1c11b6c787b7a287606c0a567b6e22e14c
22,959
cpp
C++
PVSNES/PVSNES/SNES/SNESCore/fxdbg.cpp
DaddyCal/Provenance
cda9464b4bef6dd48f9977047c4af90aca80c5a7
[ "BSD-3-Clause" ]
2
2015-10-03T18:38:58.000Z
2022-03-02T17:05:42.000Z
PVSNES/PVSNES/SNES/SNESCore/fxdbg.cpp
DaddyCal/Provenance
cda9464b4bef6dd48f9977047c4af90aca80c5a7
[ "BSD-3-Clause" ]
2
2015-05-13T10:06:29.000Z
2016-04-18T12:09:59.000Z
PVSNES/PVSNES/SNES/SNESCore/fxdbg.cpp
DaddyCal/Provenance
cda9464b4bef6dd48f9977047c4af90aca80c5a7
[ "BSD-3-Clause" ]
null
null
null
/*********************************************************************************** Snes9x - Portable Super Nintendo Entertainment System (TM) emulator. (c) Copyright 1996 - 2002 Gary Henderson (gary.henderson@ntlworld.com), Jerremy Koot (jkoot@snes9x.com) (c) Copyright 2002 - 200...
16.088998
108
0.490135
DaddyCal
bae827acd8db57d0f8481d75cda715e43792dc3d
6,351
cpp
C++
hphp/compiler/expression/modifier_expression.cpp
radford/hhvm
a7cd6754d14742b40528c847b607a1608cfcfe98
[ "PHP-3.01", "Zend-2.0" ]
1
2015-02-12T07:24:28.000Z
2015-02-12T07:24:28.000Z
hphp/compiler/expression/modifier_expression.cpp
radford/hhvm
a7cd6754d14742b40528c847b607a1608cfcfe98
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/compiler/expression/modifier_expression.cpp
radford/hhvm
a7cd6754d14742b40528c847b607a1608cfcfe98
[ "PHP-3.01", "Zend-2.0" ]
1
2015-06-16T05:47:12.000Z
2015-06-16T05:47:12.000Z
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) | +---------...
28.737557
79
0.568414
radford
baeca18c4b053d28c486e82663baac829ceca969
1,838
cpp
C++
C++/082_Remove_Duplicates_From_Sorted_Lists_II.cpp
stephenkid/LeetCode-Sol
8cb429652e0741ca4078b6de5f9eeaddcb8607a8
[ "MIT" ]
1,958
2015-01-30T01:19:03.000Z
2022-03-17T03:34:47.000Z
src/main/cpp/082_Remove_Duplicates_From_Sorted_Lists_II.cpp
TechnoBlogger14o3/LeetCode-Sol-Res
04621f21a76fab29909c1fa04a37417257a88f63
[ "MIT" ]
135
2016-03-03T04:53:10.000Z
2022-03-03T21:14:37.000Z
src/main/cpp/082_Remove_Duplicates_From_Sorted_Lists_II.cpp
TechnoBlogger14o3/LeetCode-Sol-Res
04621f21a76fab29909c1fa04a37417257a88f63
[ "MIT" ]
914
2015-01-27T22:27:22.000Z
2022-03-05T04:25:10.000Z
// 82 Remove Duplicates from Sorted List II /** * Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. * * For example, * Given 1->2->3->3->4->4->5, return 1->2->5. * Given 1->1->1->2->3, return 2->3. * * Tag: Linked List * * Author: Yanb...
23.564103
129
0.59086
stephenkid
baf1b2695f834fccfc4abdb4cdcb1e2a43408277
368
cpp
C++
C++programlecurer.cpp
Mohamed742/C-AIMS-SA-2018
a59ba718872dfae0f8ee216b10dbb66db3e8a921
[ "Apache-2.0" ]
null
null
null
C++programlecurer.cpp
Mohamed742/C-AIMS-SA-2018
a59ba718872dfae0f8ee216b10dbb66db3e8a921
[ "Apache-2.0" ]
null
null
null
C++programlecurer.cpp
Mohamed742/C-AIMS-SA-2018
a59ba718872dfae0f8ee216b10dbb66db3e8a921
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; int pow_itreative(int q, int n){ int out = 1 ; for( int i = 0 ; i < n;i++) out *= q; return out; } int main() { int x; int y; cout<< " Enter value for x" ; cin >> x; cout << "enter value of y" ; cin >> y ; cout<< x<< "^" << y << "=...
17.52381
60
0.480978
Mohamed742
baf2dd7de6fb3239434b1bc0ba6a7d66f5e49b51
4,347
cpp
C++
src/lnGPIO.cpp
mean00/Arduino_gd32_freeRTOS
de1828faaa5df79ee244c93ad45cf1dd63986f9f
[ "MIT" ]
4
2021-09-06T14:38:23.000Z
2022-03-13T01:15:48.000Z
src/lnGPIO.cpp
mean00/Arduino_gd32_freeRTOS
de1828faaa5df79ee244c93ad45cf1dd63986f9f
[ "MIT" ]
1
2021-10-14T09:38:56.000Z
2021-10-14T10:11:21.000Z
src/lnGPIO.cpp
mean00/lnArduino
de1828faaa5df79ee244c93ad45cf1dd63986f9f
[ "MIT" ]
null
null
null
/* * (C) 2021 MEAN00 fixounet@free.fr * See license file */ #include "lnArduino.h" #include "lnGPIO.h" #include "lnGPIO_priv.h" #include "lnAFIO_priv.h" #include "lnPeripheral_priv.h" #include "lnPinMapping.h" #include "lnTimer.h" static LN_GPIO *gpio[5]={(LN_GPIO *)LN_GPIOA_ADR,(LN_GPIO *)LN_GPIOB_ADR,(LN_GPIO...
22.06599
147
0.564297
mean00
bafe00bdce5f834f8f9dd136258d6e2798e5ad01
10,254
hpp
C++
include/nudb/_experimental/test/test_store.hpp
movitto/NuDB
79c1dcaec8aa54d93979fb56c66ab4d925eda29c
[ "BSL-1.0" ]
279
2016-08-24T18:50:33.000Z
2022-01-17T22:28:17.000Z
include/nudb/_experimental/test/test_store.hpp
movitto/NuDB
79c1dcaec8aa54d93979fb56c66ab4d925eda29c
[ "BSL-1.0" ]
61
2016-08-23T23:26:00.000Z
2019-04-04T22:26:26.000Z
include/nudb/_experimental/test/test_store.hpp
movitto/NuDB
79c1dcaec8aa54d93979fb56c66ab4d925eda29c
[ "BSL-1.0" ]
44
2016-08-25T19:17:03.000Z
2021-09-10T08:14:00.000Z
// // Copyright (c) 2015-2016 Vinnie Falco (vinnie dot falco at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef NUDB_TEST_TEST_STORE_HPP #define NUDB_TEST_TEST_STORE_HPP #include <nudb...
22.685841
109
0.552662
movitto
bafe6156613104f06687342cfa1d16ab3b1d699b
530
cpp
C++
KeepCryingEngine/Canvas.cpp
KeepCryingEngine/KeepCryingEngine
c2e3f89eb5c3d70916f97b7a04cfbab033553b04
[ "MIT" ]
1
2018-01-11T20:05:29.000Z
2018-01-11T20:05:29.000Z
KeepCryingEngine/Canvas.cpp
KeepCryingEngine/KeepCryingEngine
c2e3f89eb5c3d70916f97b7a04cfbab033553b04
[ "MIT" ]
28
2018-01-17T21:04:33.000Z
2018-03-02T13:26:17.000Z
KeepCryingEngine/Canvas.cpp
PereViader/KeepCryingEngine
c2e3f89eb5c3d70916f97b7a04cfbab033553b04
[ "MIT" ]
1
2020-01-12T02:28:04.000Z
2020-01-12T02:28:04.000Z
#include "Canvas.h" #include "GameObject.h" Canvas::Canvas():Component(Canvas::TYPE) {} Canvas::~Canvas() {} std::vector<Component::Type> Canvas::GetNeededComponents() const { return { Component::Type::Transform2D }; } void Canvas::DrawUI() { if(ImGui::CollapsingHeader("Canvas")) { ImGui::PushID(gameObject->Ge...
17.096774
64
0.664151
KeepCryingEngine
baff0f44401f87c170aa9b379ea8ff3a675f7304
47,087
cpp
C++
GameServer/Event.cpp
millerp/IGC.GameServer
0f67ec22d747a84d5934493939cada88a4e067db
[ "MIT" ]
2
2017-03-09T09:42:59.000Z
2020-11-18T07:58:58.000Z
GameServer/Event.cpp
millerp/IGC.GameServer
0f67ec22d747a84d5934493939cada88a4e067db
[ "MIT" ]
8
2017-03-08T13:26:53.000Z
2017-03-09T13:37:43.000Z
GameServer/Event.cpp
millerp/IGC.GameServer
0f67ec22d747a84d5934493939cada88a4e067db
[ "MIT" ]
5
2017-11-21T13:22:52.000Z
2022-02-17T07:41:34.000Z
#include "stdafx.h" #include "Event.h" #include "TLog.h" #include "DSProtocol.h" #include "GameServer.h" #include "GameMain.h" #include "winutil.h" #include "BagManager.h" #include "configread.h" // GS-N 0.99.60T 0x00460DF0 // GS-N 1.00.18 JPN 0x00470700 - Completed void EventChipEventProtocolCore(BYTE protoNum, LPB...
37.018082
117
0.499777
millerp
baff6468bd0fdf32c26af1f8bd4ffe5240c1900e
1,254
cpp
C++
src/Compiler/Parsing/parsers/assignment_parser.cpp
joakimthun/Elsa
3be901149c1102d190dda1c7f3340417f03666c7
[ "MIT" ]
16
2015-10-12T14:24:45.000Z
2021-07-20T01:56:04.000Z
src/Compiler/Parsing/parsers/assignment_parser.cpp
haifenghuang/Elsa
3be901149c1102d190dda1c7f3340417f03666c7
[ "MIT" ]
null
null
null
src/Compiler/Parsing/parsers/assignment_parser.cpp
haifenghuang/Elsa
3be901149c1102d190dda1c7f3340417f03666c7
[ "MIT" ]
2
2017-11-12T01:39:09.000Z
2021-07-20T01:56:09.000Z
#include "assignment_parser.h" namespace elsa { namespace compiler { std::unique_ptr<Expression> AssignmentParser::parse(ElsaParser* parser, std::unique_ptr<Expression> left) { parser->consume(TokenType::Equals); auto exp = std::make_unique<AssignmentExpression>(); exp->set_left(std::move(left)); ...
29.857143
163
0.722488
joakimthun
2401252dda1aa447ec8e9897e398065311f960f7
4,931
cpp
C++
examples/01_trafficlight/01_trafficlight.cpp
igor-krechetov/hsmcpp
5b0fcddacc43ad54a474c16767fa593ac0919393
[ "MIT" ]
10
2021-03-17T17:26:50.000Z
2022-03-30T17:33:23.000Z
examples/01_trafficlight/01_trafficlight.cpp
igor-krechetov/hsmcpp
5b0fcddacc43ad54a474c16767fa593ac0919393
[ "MIT" ]
1
2022-03-30T16:29:01.000Z
2022-03-30T16:29:01.000Z
examples/01_trafficlight/01_trafficlight.cpp
igor-krechetov/hsmcpp
5b0fcddacc43ad54a474c16767fa593ac0919393
[ "MIT" ]
null
null
null
// NOTE: For internal testing and will be removed later #include "hsmcpp/hsm.hpp" #include <thread> #include "hsmcpp/logging.hpp" #include "hsmcpp/HsmEventDispatcherGLibmm.hpp" #undef __HSM_TRACE_CLASS__ #define __HSM_TRACE_CLASS__ "01_trafficlight" __HSM_TRACE_PREINIT__(); using namespace s...
30.81875
155
0.674914
igor-krechetov
2401acd8c54761bf44155a20c465b48f8a17ca8f
75,347
cpp
C++
isis/src/cassini/apps/cisscal/main.cpp
gknorman/ISIS3
4800a8047626a864e163cc74055ba60008c105f7
[ "CC0-1.0" ]
1
2022-02-17T01:07:03.000Z
2022-02-17T01:07:03.000Z
isis/src/cassini/apps/cisscal/main.cpp
gknorman/ISIS3
4800a8047626a864e163cc74055ba60008c105f7
[ "CC0-1.0" ]
null
null
null
isis/src/cassini/apps/cisscal/main.cpp
gknorman/ISIS3
4800a8047626a864e163cc74055ba60008c105f7
[ "CC0-1.0" ]
null
null
null
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0...
40.400536
177
0.635287
gknorman
2403e60df3918394e99c3284b2a417e336fc3bae
12,424
cc
C++
paddle/fluid/framework/ir/mkldnn/conv_elementwise_add_mkldnn_fuse_pass.cc
tiancaishaonvjituizi/Paddle
76f8703445b269334035a891466a284148c26734
[ "Apache-2.0" ]
1
2022-03-14T23:22:21.000Z
2022-03-14T23:22:21.000Z
paddle/fluid/framework/ir/mkldnn/conv_elementwise_add_mkldnn_fuse_pass.cc
Abraham-Xu/Paddle
5d08a4471973e1c2b2a595781d0a0840875a0c77
[ "Apache-2.0" ]
null
null
null
paddle/fluid/framework/ir/mkldnn/conv_elementwise_add_mkldnn_fuse_pass.cc
Abraham-Xu/Paddle
5d08a4471973e1c2b2a595781d0a0840875a0c77
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
32.694737
83
0.690035
tiancaishaonvjituizi
240b8f928ba8dcce7e52e4d1b956548fb1b2e59d
132
hxx
C++
src/Providers/UNIXProviders/ClassifierService/UNIX_ClassifierService_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/ClassifierService/UNIX_ClassifierService_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/ClassifierService/UNIX_ClassifierService_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_FREEBSD #ifndef __UNIX_CLASSIFIERSERVICE_PRIVATE_H #define __UNIX_CLASSIFIERSERVICE_PRIVATE_H #endif #endif
11
42
0.856061
brunolauze
240eb8b55ed74407258df7adb26a04d8de9a8527
12,739
cpp
C++
libs/core/execution/tests/unit/algorithm_then.cpp
bhumitattarde/hpx
5b34d8d77b1664fa552445d44cd98e51dc69a74a
[ "BSL-1.0" ]
1
2022-02-08T05:55:09.000Z
2022-02-08T05:55:09.000Z
libs/core/execution/tests/unit/algorithm_then.cpp
deepaksuresh1411/hpx
aa18024d35fe9884a977d4b6076c764dbb8b26d1
[ "BSL-1.0" ]
null
null
null
libs/core/execution/tests/unit/algorithm_then.cpp
deepaksuresh1411/hpx
aa18024d35fe9884a977d4b6076c764dbb8b26d1
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2021 ETH Zurich // Copyright (c) 2022 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // 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 <hpx/modules/execution.hpp> #include <hpx/m...
37.689349
80
0.610095
bhumitattarde
240f27ae03a15ed468946882508a85946d599e90
520
hpp
C++
src/include/dex/tables/stat.hpp
vapaee/telos-dex-contract
4c161b0b13f489d1d62c5fb058a4705af39ac7bf
[ "MIT" ]
null
null
null
src/include/dex/tables/stat.hpp
vapaee/telos-dex-contract
4c161b0b13f489d1d62c5fb058a4705af39ac7bf
[ "MIT" ]
null
null
null
src/include/dex/tables/stat.hpp
vapaee/telos-dex-contract
4c161b0b13f489d1d62c5fb058a4705af39ac7bf
[ "MIT" ]
null
null
null
#include "./_aux.hpp" // TABLE stats (currency) ----------- // scope: supply_code // STANDARD TABLE - DON'T CHANGE TABLE currency_stats { eosio::asset supply; eosio::asset max_supply; name issuer; uint...
37.142857
78
0.448077
vapaee
2410b9e66fc6670f7be2e7510dd21fff9b0331ac
823
cpp
C++
CPP/Challenges_hackerblocks/Hollow Diamond Pattern(Pattern 6).cpp
sanjanaprasad2k01/hacktoberfest2021
dc6d8c3dc6c97a263bb4964b51fd344d12e51052
[ "CC0-1.0" ]
null
null
null
CPP/Challenges_hackerblocks/Hollow Diamond Pattern(Pattern 6).cpp
sanjanaprasad2k01/hacktoberfest2021
dc6d8c3dc6c97a263bb4964b51fd344d12e51052
[ "CC0-1.0" ]
null
null
null
CPP/Challenges_hackerblocks/Hollow Diamond Pattern(Pattern 6).cpp
sanjanaprasad2k01/hacktoberfest2021
dc6d8c3dc6c97a263bb4964b51fd344d12e51052
[ "CC0-1.0" ]
null
null
null
#include<iostream> using namespace std; int main() { int i,j,k=0,n; cin>>n; for(i=0;i<n;i++) { if(i==0||i==n-1) { for(j=0;j<n;j++) cout<<"*\t"; } else if(i<=n/2) { for(j=0;j<(n/2)-i+1;j++) ...
20.575
39
0.234508
sanjanaprasad2k01
2410ea7b6d5c5adb1e95862e2b108a42c9142ea3
1,043
cpp
C++
sfq/src/crates/lzt/src/ffi/lzt_core/dictionary/lztrie_dict/huffman/HuffmanCoder.cpp
lisp-rbi/sfq
93855f63e15561ea36644fa6bcf7d72266974f4d
[ "Apache-2.0" ]
null
null
null
sfq/src/crates/lzt/src/ffi/lzt_core/dictionary/lztrie_dict/huffman/HuffmanCoder.cpp
lisp-rbi/sfq
93855f63e15561ea36644fa6bcf7d72266974f4d
[ "Apache-2.0" ]
null
null
null
sfq/src/crates/lzt/src/ffi/lzt_core/dictionary/lztrie_dict/huffman/HuffmanCoder.cpp
lisp-rbi/sfq
93855f63e15561ea36644fa6bcf7d72266974f4d
[ "Apache-2.0" ]
null
null
null
#include "HuffmanCoder.h" #include "../../../serialization_legacy/BitSequence.h" HuffmanCoder::HuffmanCoder(): codes(NULL), lengths(NULL) {} HuffmanCoder::~HuffmanCoder() { if (codes != NULL) delete [] codes; if (lengths != NULL) delete [] lengths; } /** Return huffman code for symbol with index i. */ Huffma...
29.8
76
0.611697
lisp-rbi
2413b3d46da51f5ceec102edc4d39aea9b99973b
379
cpp
C++
C_C++/oop_assignment/assignment/week8/Q1.cpp
oneofsunshine/program_learning
5afc2e5e6e7a6604d4bd9c8e102822e1cf751c0b
[ "Apache-2.0" ]
1
2018-02-10T03:53:45.000Z
2018-02-10T03:53:45.000Z
C_C++/oop_assignment/assignment/week8/Q1.cpp
oneofsunshine/program_learning
5afc2e5e6e7a6604d4bd9c8e102822e1cf751c0b
[ "Apache-2.0" ]
null
null
null
C_C++/oop_assignment/assignment/week8/Q1.cpp
oneofsunshine/program_learning
5afc2e5e6e7a6604d4bd9c8e102822e1cf751c0b
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { return 0; } /* *描述 我们定义一个正整数a比正整数b优先的含义是: *a的质因数数目(不包括自身)比b的质因数数目多; *当两者质因数数目相等时,数值较大者优先级高。 现在给定一个容器,初始元素数目为0,之后每次往里面添加10个元素,每次添加之后,要求输出优先级最高与最低的元素,并把该两元素从容器中删除。 输入 第一行: num (添加元素次数,num <= 30) 下面10*num行,每行一个正整数n(n < 10000000). 输出 每次输入10个整数后,输出容器中优先级最高与最低的元...
12.633333
69
0.738786
oneofsunshine
24150b339797315fedd1206fbe40ac90cdc812a8
3,454
cpp
C++
src/optimizer/matcher/expression_matcher.cpp
GuinsooLab/guinsoodb
f200538868738ae460f62fb89211deec946cefff
[ "MIT" ]
1
2021-04-22T05:41:54.000Z
2021-04-22T05:41:54.000Z
src/optimizer/matcher/expression_matcher.cpp
GuinsooLab/guinsoodb
f200538868738ae460f62fb89211deec946cefff
[ "MIT" ]
null
null
null
src/optimizer/matcher/expression_matcher.cpp
GuinsooLab/guinsoodb
f200538868738ae460f62fb89211deec946cefff
[ "MIT" ]
1
2021-12-12T10:24:57.000Z
2021-12-12T10:24:57.000Z
#include "guinsoodb/optimizer/matcher/expression_matcher.hpp" #include "guinsoodb/planner/expression/list.hpp" namespace guinsoodb { bool ExpressionMatcher::Match(Expression *expr, vector<Expression *> &bindings) { if (type && !type->Match(expr->return_type.InternalType())) { return false; } if (expr_type && !e...
29.521368
94
0.728141
GuinsooLab
2417df3b9d62db528d4a1bdf286071bc08ec8528
5,417
cpp
C++
TagsGenerator/createMatrix25/Arduino/libraries/FaBo_307_BLE_Nordic/src/fabo-nordic.cpp
ThomasLengeling/L3MasterReader
37ada4be9c1d9a41287b7ff196a158d7816e86a8
[ "MIT" ]
null
null
null
TagsGenerator/createMatrix25/Arduino/libraries/FaBo_307_BLE_Nordic/src/fabo-nordic.cpp
ThomasLengeling/L3MasterReader
37ada4be9c1d9a41287b7ff196a158d7816e86a8
[ "MIT" ]
null
null
null
TagsGenerator/createMatrix25/Arduino/libraries/FaBo_307_BLE_Nordic/src/fabo-nordic.cpp
ThomasLengeling/L3MasterReader
37ada4be9c1d9a41287b7ff196a158d7816e86a8
[ "MIT" ]
null
null
null
#include "fabo-nordic.h" #ifdef USE_HARDWARE_SERIAL FaboBLE::FaboBLE(HardwareSerial &serial) { ble = new NordicBLE(serial); ble->handler = this; onScanned = NULL; } #else FaboBLE::FaboBLE(SoftwareSerial &serial) { ble = new NordicBLE(serial); ble->handler = this; onScanned = NULL; } #endif void FaboBL...
26.169082
107
0.637807
ThomasLengeling
24189f4943e6c9d262cc34d0d50e2198698c5219
1,896
cpp
C++
MFMediaPropDump/MediaDump.cpp
amate/MFVideoReader
e766d018b6a738df200f0f7c36b78833b1dcd924
[ "MIT" ]
13
2020-02-25T10:07:22.000Z
2021-12-11T18:49:08.000Z
MFMediaPropDump/MediaDump.cpp
amate/MFVideoReader
e766d018b6a738df200f0f7c36b78833b1dcd924
[ "MIT" ]
null
null
null
MFMediaPropDump/MediaDump.cpp
amate/MFVideoReader
e766d018b6a738df200f0f7c36b78833b1dcd924
[ "MIT" ]
3
2020-02-25T22:02:00.000Z
2022-03-01T08:07:07.000Z
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved #include "stdafx.h" #includ...
25.621622
79
0.632384
amate
241e6bda3f32e59c906208bbfe614868ef8101a3
10,719
cpp
C++
src/RcppExports.cpp
mklarqvist/rtomahawk
cd6337dac479dcc121a02fe7590616d4aa302ffa
[ "MIT" ]
4
2019-01-28T15:39:16.000Z
2020-05-12T18:06:35.000Z
src/RcppExports.cpp
mklarqvist/rtomahawk
cd6337dac479dcc121a02fe7590616d4aa302ffa
[ "MIT" ]
3
2019-06-11T12:10:52.000Z
2020-05-13T23:30:45.000Z
src/RcppExports.cpp
mklarqvist/rtomahawk
cd6337dac479dcc121a02fe7590616d4aa302ffa
[ "MIT" ]
2
2019-05-22T22:08:03.000Z
2020-06-12T02:07:29.000Z
// Generated by using Rcpp::compileAttributes() -> do not edit by hand // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #include <Rcpp.h> using namespace Rcpp; // CheckIntervalContig bool CheckIntervalContig(const std::string& interval); RcppExport SEXP _rtomahawk_CheckIntervalContig(SEXP intervalSEXP) { BEG...
47.64
201
0.764624
mklarqvist
242204684479d378523475eb1ec900c48df76848
7,896
cxx
C++
code/plugins/xray_re/xr_game_spawn.cxx
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
7
2018-03-27T12:36:07.000Z
2020-06-26T11:31:52.000Z
code/plugins/xray_re/xr_game_spawn.cxx
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
2
2018-05-26T23:17:14.000Z
2019-04-14T18:33:27.000Z
code/plugins/xray_re/xr_game_spawn.cxx
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
5
2020-10-18T11:55:26.000Z
2022-03-28T07:21:35.000Z
#include <algorithm> #include "xr_ai_version.h" #include "xr_game_spawn.h" #include "xr_level_game.h" #include "xr_entity.h" #include "xr_entity_factory.h" #include "xr_utils.h" #include "xr_file_system.h" using namespace xray_re; xr_game_spawn::xr_game_spawn(): m_version(AI_VERSION_8), m_num_levels(0), m_num_af_slo...
21.752066
104
0.665527
Rikoshet-234
2425d0d9cf2ad409ab31af4dcad7958d8e361452
46,068
cpp
C++
doc/snippets/MagnumGL.cpp
Anon1428/magnum
384e148c24293f513df69e6c03f94a2d4a1e3b6a
[ "MIT" ]
1
2022-03-02T19:44:27.000Z
2022-03-02T19:44:27.000Z
doc/snippets/MagnumGL.cpp
Anon1428/magnum
384e148c24293f513df69e6c03f94a2d4a1e3b6a
[ "MIT" ]
null
null
null
doc/snippets/MagnumGL.cpp
Anon1428/magnum
384e148c24293f513df69e6c03f94a2d4a1e3b6a
[ "MIT" ]
null
null
null
/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files ...
28.560446
244
0.720652
Anon1428
2427af07b6305decf64f849a0aad12886c845e92
497
cpp
C++
Common/DebugLog.cpp
Souhardya/Slavyana
e5dd2f14af1499c83650c371fa86dc1c51e2556d
[ "Apache-2.0" ]
20
2021-12-31T11:28:38.000Z
2022-03-22T13:28:59.000Z
Common/DebugLog.cpp
Souhardya/Slavyana
e5dd2f14af1499c83650c371fa86dc1c51e2556d
[ "Apache-2.0" ]
null
null
null
Common/DebugLog.cpp
Souhardya/Slavyana
e5dd2f14af1499c83650c371fa86dc1c51e2556d
[ "Apache-2.0" ]
8
2022-03-12T10:09:39.000Z
2022-03-15T08:39:27.000Z
#include <windows.h> #include <stdio.h> #include "./DebugLog.h" // //Usage // //#ifdef Dbg //DebugLog(DbgInfo,L"XXX"); //#endif // //Define // #define DbgLine "\r\n%s-%s-%d: " void DebugLog(LPCSTR lpFILE, LPCSTR lpFUNCTION, int lpLINE, LPCWSTR lpOutputString) { #ifdef Dbg char st...
13.805556
84
0.643863
Souhardya
2427d5f846c42c8938236a4d4cf63d40fd947b41
778
cpp
C++
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Penalty_TSPDL.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Penalty_TSPDL.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Penalty_TSPDL.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
#include "./INCLUDE/LKH.h" #include "./INCLUDE/Segment.h" namespace LKH { static thread_local int DemandSum; GainType LKHAlg::Penalty_TSPDL() { Node *N = Depot, *NextN; GainType P = 0; int Draft; int Forward = SUCC(N)->Id != N->Id + DimensionSaved; if (DemandSum == 0) { do { if (N->Id <= Dimension...
23.575758
54
0.578406
BaiChunhui-9803
242f71f6435782338c17838e5adfe869cda6a8a3
2,729
hpp
C++
src/Gui/single/Widget.hpp
classix-ps/sfml-widgets
0556f9d95ee2c5a5bc34e2182cf7f16290c102cf
[ "MIT" ]
null
null
null
src/Gui/single/Widget.hpp
classix-ps/sfml-widgets
0556f9d95ee2c5a5bc34e2182cf7f16290c102cf
[ "MIT" ]
null
null
null
src/Gui/single/Widget.hpp
classix-ps/sfml-widgets
0556f9d95ee2c5a5bc34e2182cf7f16290c102cf
[ "MIT" ]
null
null
null
#ifndef GUI_WIDGET_SINGLE_HPP #define GUI_WIDGET_SINGLE_HPP #include <SFML/Graphics.hpp> #include <iostream> #include <functional> namespace guiSingle { enum State { StateDefault, StateHovered, StatePressed, StateFocused }; class Layout; /** * Abstract base class for gui widgets */ class Widget: ...
21.65873
80
0.639428
classix-ps
2433a5c8ce5ff0577fc106ee422a1cf2657e585d
1,201
cpp
C++
sources/Leetcodes/src/228_summary_ranges.cpp
mcoder2014/myNotes
443cf16b1873bb473b7cb6bc1a6ec9c6423333e7
[ "MIT" ]
4
2020-06-22T13:20:26.000Z
2020-06-24T08:43:11.000Z
sources/Leetcodes/src/228_summary_ranges.cpp
mcoder2014/DataStructureAndAlgorithms
443cf16b1873bb473b7cb6bc1a6ec9c6423333e7
[ "MIT" ]
null
null
null
sources/Leetcodes/src/228_summary_ranges.cpp
mcoder2014/DataStructureAndAlgorithms
443cf16b1873bb473b7cb6bc1a6ec9c6423333e7
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <set> using namespace std; class Solution { public: vector<string> summaryRanges(vector<int>& nums) { set<int> numSet; for(int& item:nums) { numSet.insert(item); } vector<string> returnValue; for(int& item:nums) {...
22.660377
88
0.477102
mcoder2014
2435f8d894358672d7342bc977212151bd7beacf
463
cpp
C++
c++11/nullptr.cpp
queertypes/cplusplus-examples
c4f784cbc9e97220c0e25f7ea9f1121f63d194fe
[ "BSD-3-Clause" ]
null
null
null
c++11/nullptr.cpp
queertypes/cplusplus-examples
c4f784cbc9e97220c0e25f7ea9f1121f63d194fe
[ "BSD-3-Clause" ]
null
null
null
c++11/nullptr.cpp
queertypes/cplusplus-examples
c4f784cbc9e97220c0e25f7ea9f1121f63d194fe
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> using namespace std; void f(void *x) { if (x == nullptr) { cout << "error: null argument\n"; return; } cout << "That's a good argument you make there...\n"; } int main() { int* p1 = nullptr; int* p2 = 0; int* x = new int; if (p1 == p2) cout << "nullptr is equivalent t...
13.617647
55
0.546436
queertypes
0f84fccbcc900461084fb2ee3a8317b812ee3922
2,970
cpp
C++
modules/brl/native/admob.ios.cpp
blitz-research/monkey
1ad8c237d1bae94ab6f12bd3c2db2073ecf38e58
[ "Zlib" ]
144
2015-01-04T08:43:08.000Z
2022-03-30T19:32:33.000Z
modules/brl/native/admob.ios.cpp
leonard-thieu/monkey
1ad8c237d1bae94ab6f12bd3c2db2073ecf38e58
[ "Zlib" ]
15
2015-02-26T13:15:16.000Z
2017-06-09T12:03:18.000Z
modules/brl/native/admob.ios.cpp
leonard-thieu/monkey
1ad8c237d1bae94ab6f12bd3c2db2073ecf38e58
[ "Zlib" ]
64
2015-01-12T14:44:47.000Z
2021-09-18T04:28:43.000Z
//admob.ios.h #import "GADBannerView.h" class BBAdmob{ static BBAdmob *_admob; GADBannerView *_view; public: BBAdmob(); static BBAdmob *GetAdmob(); void ShowAdView( int style,int layout ); void HideAdView(); int AdViewWidth(); int AdViewHeight(); }; //admob.ios.cpp #define _QUOTE(X) #X #define _S...
24.146341
175
0.769024
blitz-research
0f8981cdde5d0a93de38ebc52bfbf3be6f3591ee
2,518
cpp
C++
Codes/cpp/Yee_172/graph.cpp
Yee172/SHY_ACM_Template
e6ae56e0140bac15e35aed00577ad13e5370c92c
[ "MIT" ]
11
2018-06-07T13:51:32.000Z
2019-10-28T16:33:52.000Z
Codes/cpp/Yee_172/graph.cpp
Yee172/SHY_ACM_Template
e6ae56e0140bac15e35aed00577ad13e5370c92c
[ "MIT" ]
null
null
null
Codes/cpp/Yee_172/graph.cpp
Yee172/SHY_ACM_Template
e6ae56e0140bac15e35aed00577ad13e5370c92c
[ "MIT" ]
6
2018-06-07T13:51:49.000Z
2019-04-14T08:04:31.000Z
#include <bits/stdc++.h> using namespace std; typedef long long ll; const ll N = 100500; const ll M = 100500; const static ll inf = 0x3f3f3f3f3f3f3f3f; struct edge { ll u; ll v; ll w; }; vector<edge> e[N]; inline void insert_edge(ll u, ll v, ll w) { e[u].push_back(edge{u, v, w}); } inline void insert...
20.983333
62
0.378872
Yee172
0f8a339d5d18798266f399c5f2db98197d68ce19
1,382
cpp
C++
PulsingLed.cpp
BasPaap/Looms
a0f4babdecfc68a9308e5a708f81ecee352a8c86
[ "MIT" ]
null
null
null
PulsingLed.cpp
BasPaap/Looms
a0f4babdecfc68a9308e5a708f81ecee352a8c86
[ "MIT" ]
null
null
null
PulsingLed.cpp
BasPaap/Looms
a0f4babdecfc68a9308e5a708f81ecee352a8c86
[ "MIT" ]
null
null
null
// // // #include "PulsingLed.h" Bas::PulsingLed::PulsingLed(int pin, unsigned long fadeInDuration, unsigned long fadeOutDuration) : pin{ pin }, fadeInDuration{ fadeInDuration }, fadeOutDuration{ fadeOutDuration } { } Bas::PulsingLed::~PulsingLed() { } void Bas::PulsingLed::update() { if (this->phase != Phas...
18.675676
182
0.640376
BasPaap
0f8eb9897ebe55ceddf7169b0b63469c40a1f334
132,170
cxx
C++
ParaViewCore/VTKExtensions/Default/vtkPEnSightGoldBinaryReader.cxx
sakjain92/paraview
f3af0cd9f6750e24ad038eac573b870c88d6b7dd
[ "Apache-2.0", "BSD-3-Clause" ]
2
2019-09-27T08:04:34.000Z
2019-10-16T22:30:54.000Z
ParaViewCore/VTKExtensions/Default/vtkPEnSightGoldBinaryReader.cxx
sakjain92/paraview
f3af0cd9f6750e24ad038eac573b870c88d6b7dd
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
ParaViewCore/VTKExtensions/Default/vtkPEnSightGoldBinaryReader.cxx
sakjain92/paraview
f3af0cd9f6750e24ad038eac573b870c88d6b7dd
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
#include "vtkPEnSightGoldBinaryReader.h" #include "vtkByteSwap.h" #include "vtkCellData.h" #include "vtkCharArray.h" #include "vtkFloatArray.h" #include "vtkIdList.h" #include "vtkImageData.h" #include "vtkMultiBlockDataSet.h" #include "vtkObjectFactory.h" #include "vtkPointData.h" #include "vtkPolyData.h" #include "v...
29.112335
100
0.577188
sakjain92
0f9226fe427935f07725e7a9f76d870136e14917
176
cpp
C++
shared/fixes2.cpp
uroboro/DIP
1b2aca87438a629ad2e5fcc22508bda66402d26c
[ "MIT" ]
1
2017-07-04T02:50:26.000Z
2017-07-04T02:50:26.000Z
shared/fixes2.cpp
uroboro/DIP
1b2aca87438a629ad2e5fcc22508bda66402d26c
[ "MIT" ]
null
null
null
shared/fixes2.cpp
uroboro/DIP
1b2aca87438a629ad2e5fcc22508bda66402d26c
[ "MIT" ]
2
2016-05-12T02:47:26.000Z
2020-03-02T10:54:14.000Z
#include "fixes2.hpp" #include <opencv2/core/core.hpp> double getTickCount() { return cv::getTickCount(); } double getTickFrequency() { return cv::getTickFrequency(); }
16
34
0.710227
uroboro
0f9719aae6a7bfd572e601cd287e5efcb3ebd0f9
2,434
cpp
C++
MonoNative.Tests/mscorlib/System/Runtime/Serialization/Formatters/mscorlib_System_Runtime_Serialization_Formatters_ServerFault_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/Serialization/Formatters/mscorlib_System_Runtime_Serialization_Formatters_ServerFault_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/Serialization/Formatters/mscorlib_System_Runtime_Serialization_Formatters_ServerFault_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.Serialization.Formatters // Name: ServerFault // C++ Typed Name: mscorlib::System::Runtime::Serialization::Formatters::ServerFault #include <gtest/gtest.h> #include <mscorlib/Sy...
24.585859
129
0.693509
brunolauze
0f97aeb5a2ce6aaa937bacc6722b0f0a924d848f
8,621
cpp
C++
VC2010Samples/ATL/OLEDB/Consumer/catdb/CatDBvw.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2010Samples/ATL/OLEDB/Consumer/catdb/CatDBvw.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2010Samples/ATL/OLEDB/Consumer/catdb/CatDBvw.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
// Cat3View.cpp : implementation of the CCatDBView class // // This is a part of the Microsoft Foundation Classes and // Templates (MFC&T). // Copyright (c) Microsoft Corporation. All rights reserved. // // This source code is only intended as a supplement to the // MFC&T Reference and related electronic documentation...
25.061047
93
0.670108
alonmm
0f986fb17c7a0ee24ea5ddfea7d3df9d1aed99a9
2,982
cpp
C++
src/cpp/QOpenGLDebugLogger/qopengldebuglogger_wrap.cpp
sedwards2009/nodegui-plugin-opengl
e12669f2efbb07420f86ed8e10c85a9e408f4ff7
[ "MIT" ]
3
2021-10-16T03:40:08.000Z
2021-11-10T07:16:11.000Z
src/cpp/QOpenGLDebugLogger/qopengldebuglogger_wrap.cpp
sedwards2009/nodegui-plugin-opengl
e12669f2efbb07420f86ed8e10c85a9e408f4ff7
[ "MIT" ]
null
null
null
src/cpp/QOpenGLDebugLogger/qopengldebuglogger_wrap.cpp
sedwards2009/nodegui-plugin-opengl
e12669f2efbb07420f86ed8e10c85a9e408f4ff7
[ "MIT" ]
1
2022-02-16T01:34:24.000Z
2022-02-16T01:34:24.000Z
#include <Extras/Utils/nutils.h> #include <QtCore/QObject/qobject_wrap.h> #include "qopengldebuglogger_wrap.h" Napi::FunctionReference QOpenGLDebugLoggerWrap::constructor; Napi::Object QOpenGLDebugLoggerWrap::init(Napi::Env env, Napi::Object exports) { Napi::HandleScope scope(env); char CLASSNAME[] = "QOpenGLDe...
35.5
109
0.718981
sedwards2009
0f98e0aabf43de25086855fac9e255c494a1a273
447
cpp
C++
AquaEngine/Core/Allocators/LinearAllocator.cpp
tiagovcosta/aquaengine
aea6de9f47ba0243b90c144dee4422efb2389cc7
[ "MIT" ]
55
2015-05-29T20:19:28.000Z
2022-01-18T21:23:15.000Z
AquaEngine/Core/Allocators/LinearAllocator.cpp
tiagovcosta/aquaengine
aea6de9f47ba0243b90c144dee4422efb2389cc7
[ "MIT" ]
null
null
null
AquaEngine/Core/Allocators/LinearAllocator.cpp
tiagovcosta/aquaengine
aea6de9f47ba0243b90c144dee4422efb2389cc7
[ "MIT" ]
6
2015-09-02T09:51:38.000Z
2020-08-16T07:54:34.000Z
#include "LinearAllocator.h" #include "..\..\Utilities\Debug.h" using namespace aqua; LinearAllocator::LinearAllocator(size_t size, void* start) : Allocator(size), _start(start), _current_pos(start) { } void LinearAllocator::deallocate(void* p) { //ASSERT("Cannot call deallocate on Linear Allocators" && false); }...
17.88
66
0.736018
tiagovcosta
0fa2764d7cfce470f37da26e1545996dfe8b260d
7,906
cpp
C++
importfbx/parsemisc.cpp
walbourn/contentexporter
2559ac92bbb1ce1409f1c63b51957ea088427b24
[ "MIT" ]
62
2015-04-14T22:28:11.000Z
2022-03-28T07:02:28.000Z
importfbx/parsemisc.cpp
TienAska/contentexporter
746cf69136b63b0502e9e6e8687ed66b5a268103
[ "MIT" ]
18
2015-07-01T18:29:14.000Z
2021-11-13T12:28:08.000Z
importfbx/parsemisc.cpp
TienAska/contentexporter
746cf69136b63b0502e9e6e8687ed66b5a268103
[ "MIT" ]
21
2015-05-31T07:57:37.000Z
2021-07-30T10:20:06.000Z
//------------------------------------------------------------------------------------- // ParseMisc.cpp // // Advanced Technology Group (ATG) // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. // // http://go.microsoft.com/fwlink/?LinkId=226208 //----------------------------------------...
31.373016
175
0.603466
walbourn
0fa295a15444e8946f867d13102491eebb6b6a72
11,887
hpp
C++
ClassPath/include/File/ScanFolder.hpp
X-Ryl669/Frost
5eefa4d4d73ecb0985389bc142609221047b0e6b
[ "MIT" ]
24
2015-03-23T19:16:56.000Z
2022-02-02T01:55:55.000Z
ClassPath/include/File/ScanFolder.hpp
X-Ryl669/Frost
5eefa4d4d73ecb0985389bc142609221047b0e6b
[ "MIT" ]
12
2015-03-22T03:49:01.000Z
2019-04-10T08:08:54.000Z
ClassPath/include/File/ScanFolder.hpp
X-Ryl669/Frost
5eefa4d4d73ecb0985389bc142609221047b0e6b
[ "MIT" ]
2
2016-03-14T08:09:38.000Z
2020-08-07T11:40:23.000Z
#include "File.hpp" #include "../Container/FIFO.hpp" #include "../Strings/Strings.hpp" namespace File { /** This is useful to scan a directory recursively (or not), applying a filter on the file names to select */ class Scanner { public: /** The string class we use */ typedef Strings::...
49.945378
196
0.567847
X-Ryl669
0fa7b3e03494a613e1130226b083f666316cc8a7
702
cc
C++
seminar2/class-exercise-1.cc
holmgr/tddd38
c9230a227c8c2813345250df9b2aa86b32d682bf
[ "MIT" ]
null
null
null
seminar2/class-exercise-1.cc
holmgr/tddd38
c9230a227c8c2813345250df9b2aa86b32d682bf
[ "MIT" ]
null
null
null
seminar2/class-exercise-1.cc
holmgr/tddd38
c9230a227c8c2813345250df9b2aa86b32d682bf
[ "MIT" ]
null
null
null
#include <iostream> class Integer { public: Integer (int i): i_(i) {} operator int() const { return i_; } private: int i_; }; struct Ten { operator Integer() const { return Integer(10); } }; int main() { Integer i(10); // Constructor Integer(int) is supposed to be defined const char* hex =...
18
72
0.60114
holmgr
0fad8d142950f0bcf6e27fc76dadd26b2dbede9d
617
hpp
C++
waterbox/ares64/ares/nall/counting-sort.hpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
waterbox/ares64/ares/nall/counting-sort.hpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
296
2021-10-16T18:00:18.000Z
2022-03-31T12:09:00.000Z
waterbox/ares64/ares/nall/counting-sort.hpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
#pragma once #include <nall/range.hpp> namespace nall { //counting sort by powers of two: used to implement radix sort template<u32 Bits, u32 Shift, typename T> auto counting_sort(T* output, const T* input, u32 size) -> void { static_assert(Bits >= 1 && Bits <= 20, "must be between 1 and 20 bits"); enum : u32 { ...
30.85
82
0.622366
Fortranm
0fae446ad8dd5f53be083ed1997bef6652db4c27
4,082
cpp
C++
tests/PinnedImageTest.cpp
liguisheng/skia
817dab18b4a3005530f4e567cc12b0d37100c670
[ "BSD-3-Clause" ]
3
2019-10-14T06:36:32.000Z
2021-02-20T10:55:14.000Z
tests/PinnedImageTest.cpp
liguisheng/skia
817dab18b4a3005530f4e567cc12b0d37100c670
[ "BSD-3-Clause" ]
null
null
null
tests/PinnedImageTest.cpp
liguisheng/skia
817dab18b4a3005530f4e567cc12b0d37100c670
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ // This is a GPU-backend specific test. #include "tests/Test.h" using namespace sk_gpu_test; #include "tools/gpu/GrContextFactory.h" #include "include/core/SkBitmap.h" #in...
31.160305
98
0.647722
liguisheng
0fb1d8e993c55936e1db43daab9808934a841a87
11,756
cpp
C++
libutils/BlobCache.cpp
fling2/platform_system_core
97aaad7e316d78a4614b7536b4c4f622329c9349
[ "MIT" ]
39
2015-02-22T12:57:10.000Z
2022-03-30T03:43:34.000Z
libutils/BlobCache.cpp
fling2/platform_system_core
97aaad7e316d78a4614b7536b4c4f622329c9349
[ "MIT" ]
4
2015-10-04T00:43:51.000Z
2021-05-06T20:59:47.000Z
libutils/BlobCache.cpp
fling2/platform_system_core
97aaad7e316d78a4614b7536b4c4f622329c9349
[ "MIT" ]
23
2015-01-29T12:19:33.000Z
2022-02-26T15:39:14.000Z
/* ** Copyright 2011, 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 b...
32.385675
86
0.608285
fling2
0fb2197e99e293921d4b08e3f46492fc50e7c17b
2,777
cpp
C++
test/copy_exception_test.cpp
DanielaE/boost.exception
3ae756dd491f179c28e6660dd9625265535afee9
[ "BSL-1.0" ]
106
2015-08-07T04:23:50.000Z
2020-12-27T18:25:15.000Z
test/copy_exception_test.cpp
DanielaE/boost.exception
3ae756dd491f179c28e6660dd9625265535afee9
[ "BSL-1.0" ]
130
2016-06-22T22:11:25.000Z
2020-11-29T20:24:09.000Z
Libs/boost_1_76_0/libs/exception/test/copy_exception_test.cpp
Antd23rus/S2DE
47cc7151c2934cd8f0399a9856c1e54894571553
[ "MIT" ]
50
2015-03-07T15:12:38.000Z
2021-09-28T10:58:32.000Z
//Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. //Distributed under the Boost Software License, Version 1.0. (See accompanying //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/config.hpp> #if defined( BOOST_NO_EXCEPTIONS ) # error This program requires exc...
17.801282
78
0.565358
DanielaE
0fb28a65bbf1cf6f070bfb1fc60da51f25c3cac1
41,296
cpp
C++
src/fit_field.cpp
kuperov/f
9413008e05315f647ace6272b17589f61f50fe5e
[ "MIT" ]
31
2015-04-04T12:05:02.000Z
2021-07-30T11:40:37.000Z
src/fit_field.cpp
kuperov/f
9413008e05315f647ace6272b17589f61f50fe5e
[ "MIT" ]
5
2017-10-25T14:36:34.000Z
2019-12-11T20:07:53.000Z
src/fit_field.cpp
kuperov/f
9413008e05315f647ace6272b17589f61f50fe5e
[ "MIT" ]
22
2016-04-05T09:24:12.000Z
2021-10-01T00:44:41.000Z
//////////////////////////////////////////////////////////////////////////////// // The following FIT Protocol software provided may be used with FIT protocol // devices only and remains the copyrighted property of Dynastream Innovations Inc. // The software is being provided on an "as-is" basis and as an accommodat...
32.212168
198
0.601947
kuperov
0fb3f85dfb9d5d44e197181e677366365f2604ce
24,054
cpp
C++
AppCUI/src/Utils/String.cpp
gheoan/AppCUI
5a8e188646867be8d6d3014d7c6e5d61a7492496
[ "MIT" ]
null
null
null
AppCUI/src/Utils/String.cpp
gheoan/AppCUI
5a8e188646867be8d6d3014d7c6e5d61a7492496
[ "MIT" ]
null
null
null
AppCUI/src/Utils/String.cpp
gheoan/AppCUI
5a8e188646867be8d6d3014d7c6e5d61a7492496
[ "MIT" ]
null
null
null
#include "AppCUI.hpp" #include "Internal.hpp" #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> const unsigned char __lower_case_table__[256] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27...
31.944223
120
0.525858
gheoan
0fb5bfe74ca243467ad5182fdb40a7bc86ae77e9
10,550
cpp
C++
sources/Notebook.cpp
YosefKahlon/Notebook-b
9ea65641e374e3c6663781e664aba7797b09764a
[ "MIT" ]
null
null
null
sources/Notebook.cpp
YosefKahlon/Notebook-b
9ea65641e374e3c6663781e664aba7797b09764a
[ "MIT" ]
null
null
null
sources/Notebook.cpp
YosefKahlon/Notebook-b
9ea65641e374e3c6663781e664aba7797b09764a
[ "MIT" ]
null
null
null
// // Created by 97252 on 3/22/2022. // #include "exception" #include "Direction.hpp" #include "Notebook.hpp" #include "iostream" #include "string" #include "stdexcept" #include "map" using namespace std; using namespace ariel; //constructor Notebook::Notebook() { string col = "___________________________________...
29.224377
121
0.569953
YosefKahlon
0fba3fad1481c3575d006d699a8fffcdbd5ef730
866
cpp
C++
codeforces/contests/1365/B.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
codeforces/contests/1365/B.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
codeforces/contests/1365/B.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Codeforces Round #648 (Div. 2) - B. Trouble Sort https://codeforces.com/contest/1365/problem/B */ #include <bits/stdc++.h> using namespace std; #define FAST_INP ios_base::sync_with_stdio(false);cin.tie(NULL) int main() { FAST_INP; int t,n; cin >> t; while(t--){ cin >> n; vector...
21.65
69
0.512702
wingkwong
0fc0a9ace78287c7bd6688d21c5250c7f5cab6dc
646
cpp
C++
atcoder/abc/abc139/c.cpp
zaurus-yusya/atcoder
5fc345b3da50222fa1366d1ce52ae58799488cef
[ "MIT" ]
3
2020-05-27T16:27:12.000Z
2021-01-27T12:47:12.000Z
atcoder/abc/abc139/c.cpp
zaurus-yusya/Competitive-Programming
c72e13a11f76f463510bd4a476b86631d9d1b13a
[ "MIT" ]
null
null
null
atcoder/abc/abc139/c.cpp
zaurus-yusya/Competitive-Programming
c72e13a11f76f463510bd4a476b86631d9d1b13a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define rep(i,n) for(int i=0;i<(n);i++) #define repr(i,n) for(int i=(n-1);i>=0;i--) #define pb push_back #define mp make_pair #define all(x) x.begin(),x.end() using namespace std; typedef long long ll; int main() { ll n; cin >> n; vector<ll> vec(100000); ll ans = 0; ll count = 0;...
16.564103
43
0.48452
zaurus-yusya
0fc84af934a911ed4a0613a76644b4f6a6ce8992
1,364
cpp
C++
ACM-ICPC/14889.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/14889.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/14889.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> #include <cmath> using namespace std; int n, answer = 987654321; int arr[21][21]; bool visited[21]; void f(int idx, int temp) { // n은 무조건 짝수 이므로 // temp == n / 2면 팀선택 완료 if (n / 2 == temp) { int x = 0, y = 0; vector<int> start, link; ...
22.733333
72
0.370235
KimBoWoon
0fc97fa73dcbea91c4a74aa76542c0ac71e9d4fd
4,489
hpp
C++
source/opengl/reshade_api_type_utils.hpp
EliphasNUIT/reshade
d767bece469df57aef005c71de6a53d83886c080
[ "BSD-3-Clause" ]
null
null
null
source/opengl/reshade_api_type_utils.hpp
EliphasNUIT/reshade
d767bece469df57aef005c71de6a53d83886c080
[ "BSD-3-Clause" ]
null
null
null
source/opengl/reshade_api_type_utils.hpp
EliphasNUIT/reshade
d767bece469df57aef005c71de6a53d83886c080
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2021 Patrick Mours. All rights reserved. * License: https://github.com/crosire/reshade#license */ #pragma once namespace reshade::opengl { struct query_heap_impl { ~query_heap_impl() { glDeleteQueries(static_cast<GLsizei>(queries.size()), queries.data()); } std::vector<GLuint> quer...
31.391608
168
0.788594
EliphasNUIT
0fcdb28981ffd6c8c42858ec4d658fcad3c9f1ac
1,215
hpp
C++
Utility/tRect.hpp
raydelto/GeometryWars
a692a5a08dc2945aeb187853059d5a7339100879
[ "MIT" ]
7
2015-01-18T07:05:43.000Z
2017-08-20T06:48:49.000Z
code/source/Utility/tRect.h
tatewake/shapeblaster-ios
c121a254e3e96736c3135ce14c9e11603621c2b5
[ "BSD-2-Clause" ]
null
null
null
code/source/Utility/tRect.h
tatewake/shapeblaster-ios
c121a254e3e96736c3135ce14c9e11603621c2b5
[ "BSD-2-Clause" ]
6
2015-01-17T02:00:13.000Z
2020-09-23T15:33:15.000Z
#pragma once //--------------------------------------------------------------------------------- // Written by Terence J. Grant - tjgrant [at] tatewake [dot] com // Find the full tutorial at: http://gamedev.tutsplus.com/series/ //---------------------------------------------------------------------------------- class...
36.818182
100
0.518519
raydelto
0fce58ae70344825526ed892083a82ff6924ff1c
731
hpp
C++
src/stan/math/prim/mat/fun/trace_quad_form.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
src/stan/math/prim/mat/fun/trace_quad_form.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
src/stan/math/prim/mat/fun/trace_quad_form.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_PRIM_MAT_FUN_TRACE_QUAD_FORM_HPP #define STAN_MATH_PRIM_MAT_FUN_TRACE_QUAD_FORM_HPP #include <stan/math/prim/mat/fun/Eigen.hpp> #include <stan/math/prim/mat/err/check_multiplicable.hpp> #include <stan/math/prim/mat/err/check_square.hpp> namespace stan { namespace math { /** * Compute trac...
29.24
72
0.667579
alashworth