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
6337517ce1c37140345b1c512f22753cf0a0c4b1
3,861
hpp
C++
src/But/Log/Proxy.hpp
el-bart/but
eee2e7e34dde415f4c87461f75c2bab38fc56407
[ "BSD-3-Clause" ]
27
2016-01-12T19:30:57.000Z
2022-01-27T15:52:39.000Z
src/But/Log/Proxy.hpp
el-bart/but
eee2e7e34dde415f4c87461f75c2bab38fc56407
[ "BSD-3-Clause" ]
4
2017-04-10T16:30:22.000Z
2019-04-24T21:02:55.000Z
src/But/Log/Proxy.hpp
el-bart/but
eee2e7e34dde415f4c87461f75c2bab38fc56407
[ "BSD-3-Clause" ]
2
2016-12-09T17:09:59.000Z
2019-07-16T00:19:31.000Z
#pragma once #include <But/Log/ProxyThrowing.hpp> namespace But { namespace Log { /** @brief proxy class, to be used as an entry point for logging. * Destination type can be anything that derives from Destination::Sink class, * or a user-provided type, that will handle all the arguments on its own. ...
32.445378
116
0.660192
el-bart
633b14e5926841165bc8d1690c16aac6c02e16a4
1,763
cpp
C++
Code/BBearEditor/Engine/3D/BBNormalIndicator.cpp
lishangdian/BBearEditor-2.0
1f4b463ef756ed36cc15d10abae822efc400c4d7
[ "MIT" ]
1
2021-09-01T08:19:34.000Z
2021-09-01T08:19:34.000Z
Code/BBearEditor/Engine/3D/BBNormalIndicator.cpp
lishangdian/BBearEditor-2.0
1f4b463ef756ed36cc15d10abae822efc400c4d7
[ "MIT" ]
null
null
null
Code/BBearEditor/Engine/3D/BBNormalIndicator.cpp
lishangdian/BBearEditor-2.0
1f4b463ef756ed36cc15d10abae822efc400c4d7
[ "MIT" ]
null
null
null
#include "BBNormalIndicator.h" #include "Render/BufferObject/BBVertexBufferObject.h" #include "Render/BBDrawCall.h" BBNormalIndicator::BBNormalIndicator() : BBRenderableObject() { m_bActive = false; } void BBNormalIndicator::init(BBRenderableObject *pObject) { // when set new BBRenderableObject clear...
31.482143
110
0.707317
lishangdian
633b429249521f9ad2451ae169fdf2a2c813f42a
2,817
cpp
C++
src/lib_auction/time_util.cpp
mbogochow/proj
83e21d11b30da02bd400e65440ddc99d05d04a4a
[ "MIT" ]
4
2016-04-14T23:17:17.000Z
2019-07-05T16:16:11.000Z
src/lib_auction/time_util.cpp
mbogochow/proj
83e21d11b30da02bd400e65440ddc99d05d04a4a
[ "MIT" ]
null
null
null
src/lib_auction/time_util.cpp
mbogochow/proj
83e21d11b30da02bd400e65440ddc99d05d04a4a
[ "MIT" ]
1
2017-11-06T03:47:36.000Z
2017-11-06T03:47:36.000Z
/* * Mike Bogochow * March 8, 2015 * time_util.c * * Utilities for dealing with POSIX time functions. */ #define _POSIX_C_SOURCE 200809L #define _ISOC99_SOURCE #define _XOPEN_SOURCE 700 #define __EXTENSIONS__ #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <assert.h> #include <errno.h> #inc...
30.290323
80
0.530351
mbogochow
634114af68788eb8990c196b5e9ab671141d6b27
6,615
cpp
C++
source/eval.cpp
rexim/lambda
cb6248e26e97a20fe4ba5b9922e2a7e78d2ec32f
[ "Apache-2.0" ]
4
2021-07-15T09:50:23.000Z
2022-02-09T18:34:51.000Z
source/eval.cpp
rexim/lambda
cb6248e26e97a20fe4ba5b9922e2a7e78d2ec32f
[ "Apache-2.0" ]
null
null
null
source/eval.cpp
rexim/lambda
cb6248e26e97a20fe4ba5b9922e2a7e78d2ec32f
[ "Apache-2.0" ]
null
null
null
// eval.cpp // Copyright (c) 2021, zhiayang // Licensed under the Apache License Version 2.0. #include <set> #include "ast.h" namespace lc { using namespace ast; Expr* replace_vars(const Context& ctx, const std::set<const Var*>& free_vars, const Expr* expr); std::vector<Expr**> find_substitutions(Expr** expr, co...
25.540541
98
0.621618
rexim
6344f31f128cd64fc6422938df0c5c38387abe9c
180
hpp
C++
Platform/Windows/D3d12ApplicationConfig.hpp
lishaojiang/GameEngineFromScratch
7769d3916a9ffabcfdaddeba276fdf964d8a86ee
[ "MIT" ]
1,217
2017-08-18T02:41:11.000Z
2022-03-30T01:48:46.000Z
Platform/Windows/D3d12ApplicationConfig.hpp
lishaojiang/GameEngineFromScratch
7769d3916a9ffabcfdaddeba276fdf964d8a86ee
[ "MIT" ]
16
2017-09-05T15:04:37.000Z
2021-09-09T13:59:38.000Z
Platform/Windows/D3d12ApplicationConfig.hpp
lishaojiang/GameEngineFromScratch
7769d3916a9ffabcfdaddeba276fdf964d8a86ee
[ "MIT" ]
285
2017-08-18T04:53:55.000Z
2022-03-30T00:02:15.000Z
#include "D3d12Application.hpp" namespace My { extern GfxConfiguration config; IApplication* g_pApp = static_cast<IApplication*>(new D3d12Application(config)); } // namespace My
25.714286
80
0.788889
lishaojiang
63498f591f2ac119707da9c01e09b42150f15951
10,923
cpp
C++
Engine/Source/DialogueSystem.cpp
Denisdrk6/ProjectIII
89634bcf4a3520ba78158dff50aee568089968cb
[ "MIT" ]
7
2022-02-16T12:09:19.000Z
2022-03-14T15:59:48.000Z
Engine/Source/DialogueSystem.cpp
Denisdrk6/Dune-Fremen-s-Rising
89634bcf4a3520ba78158dff50aee568089968cb
[ "MIT" ]
1
2022-03-18T19:46:23.000Z
2022-03-18T19:46:23.000Z
Engine/Source/DialogueSystem.cpp
Denisdrk6/Dune-Fremen-s-Rising
89634bcf4a3520ba78158dff50aee568089968cb
[ "MIT" ]
1
2022-02-20T19:49:09.000Z
2022-02-20T19:49:09.000Z
#include "DialogueSystem.h" #include "Application.h" #include "FileSystem.h" #include "Globals.h" #include "Imgui/imgui.h" #include "IconsFontAwesome5.h" #define MARGIN_IN_TEXT 45 DialogueSystem* DialogueSystem::instance = nullptr; DialogueSystem* DialogueSystem::GetInstance() { if (!instance) instance = new Dialo...
22.614907
120
0.666392
Denisdrk6
6349bf81891f50452acb1d527d2afcfaa0069b15
407
cpp
C++
RECURSION/Basics/sorted_array.cpp
Adyasha8105/Competitive-Coding
1f0018684931f6fbb85fa9c84efc31f1266ec6eb
[ "MIT" ]
4
2020-12-25T13:07:43.000Z
2021-07-18T13:08:05.000Z
RECURSION/Basics/sorted_array.cpp
Adyasha8105/Competitive-Coding
1f0018684931f6fbb85fa9c84efc31f1266ec6eb
[ "MIT" ]
null
null
null
RECURSION/Basics/sorted_array.cpp
Adyasha8105/Competitive-Coding
1f0018684931f6fbb85fa9c84efc31f1266ec6eb
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; bool isSorted(int a[], int n) { // base case if (n == 0 || n == 1) { return true; } // rec case if ((a[0] < a[1]) && isSorted(a + 1, n - 1)) { return true; } return false; } int main() { int arr[] = {1, 2, 3, 4, 5}; in...
16.28
48
0.464373
Adyasha8105
634fa429ad2e7a1fe00962de92fff9f2978b73a9
8,749
hpp
C++
src/misc.hpp
Kirbologist/Raman-Scattering-Code-Conversion
118a08238a2525f595c4b7d2b735dd37852fac6f
[ "MIT" ]
1
2022-01-09T12:41:22.000Z
2022-01-09T12:41:22.000Z
src/misc.hpp
Kirbologist/Raman-Scattering-Code-Conversion
118a08238a2525f595c4b7d2b735dd37852fac6f
[ "MIT" ]
null
null
null
src/misc.hpp
Kirbologist/Raman-Scattering-Code-Conversion
118a08238a2525f595c4b7d2b735dd37852fac6f
[ "MIT" ]
null
null
null
/* This file is a part of Raman-Scattering-Code-Conversion. <https://github.com/Kirbologist/Raman-Scattering-Code-Conversion> Written by Siwan Li for the UQ School of Maths and Physics. Based on the SMARTIES MATLAB package by W.R.C. Somerville, B. Auguié, E.C. Le Ru Copyright (C) 2021-2022 Siwan Li This sourc...
39.40991
119
0.660876
Kirbologist
635c23e957e10cff49d223a96b93be0b11315b8a
6,196
hpp
C++
src/cas/uima/type_or_feature.hpp
RoboSherlock/uima-uimacpp
6eb3ce9f9a766dd28ff727feb9463636ef29288d
[ "Apache-2.0" ]
null
null
null
src/cas/uima/type_or_feature.hpp
RoboSherlock/uima-uimacpp
6eb3ce9f9a766dd28ff727feb9463636ef29288d
[ "Apache-2.0" ]
null
null
null
src/cas/uima/type_or_feature.hpp
RoboSherlock/uima-uimacpp
6eb3ce9f9a766dd28ff727feb9463636ef29288d
[ "Apache-2.0" ]
1
2018-05-05T04:13:59.000Z
2018-05-05T04:13:59.000Z
/** \file type_or_feature.hpp . ----------------------------------------------------------------------------- * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright o...
31.292929
115
0.509845
RoboSherlock
6362b5329f0302f6c777f1dcdfe55d77153b4f75
2,187
hpp
C++
src/WebSocket/shared_state.hpp
dajuly20/ControlPi
e03ed36eb062007051ac9d35cde01f441d82bde7
[ "MIT" ]
null
null
null
src/WebSocket/shared_state.hpp
dajuly20/ControlPi
e03ed36eb062007051ac9d35cde01f441d82bde7
[ "MIT" ]
null
null
null
src/WebSocket/shared_state.hpp
dajuly20/ControlPi
e03ed36eb062007051ac9d35cde01f441d82bde7
[ "MIT" ]
null
null
null
/* Copyright (c) 2018 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) Official repository: https://github.com/vinniefalco/CppCon2018 */ #ifndef CPPCON2018_SHARED_S...
27.3375
91
0.723365
dajuly20
6366820da78473ff9b450448a1db5e5da24a95b9
3,106
hpp
C++
zip.hpp
degarashi/spinner
6c0d5dbdcde962a36de28cdc867478e2a715b689
[ "MIT" ]
null
null
null
zip.hpp
degarashi/spinner
6c0d5dbdcde962a36de28cdc867478e2a715b689
[ "MIT" ]
null
null
null
zip.hpp
degarashi/spinner
6c0d5dbdcde962a36de28cdc867478e2a715b689
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <vector> #include "adaptstream.hpp" namespace spn { template <class T> using UPtr = std::unique_ptr<T>; using ByteBuff = std::vector<uint8_t>; namespace zip { using ErrorMsgList = std::pair<int, std::string>; struct ExceptionBase : std::runtime_error { int _flag;...
24.650794
77
0.681262
degarashi
6366b39d0158d85f89777da63ee82045a9a50cea
652
cpp
C++
src/otus_homework/src/commands/check_fuel_command.cpp
winmord/otus_homework
161cb5b63679c249eb5a94c0d2f66aa2ad6af634
[ "MIT" ]
null
null
null
src/otus_homework/src/commands/check_fuel_command.cpp
winmord/otus_homework
161cb5b63679c249eb5a94c0d2f66aa2ad6af634
[ "MIT" ]
null
null
null
src/otus_homework/src/commands/check_fuel_command.cpp
winmord/otus_homework
161cb5b63679c249eb5a94c0d2f66aa2ad6af634
[ "MIT" ]
null
null
null
#include "otus_homework/commands/check_fuel_command.hpp" #include <stdexcept> #include <utility> namespace tank_battle_server { check_fuel_command::check_fuel_command(std::shared_ptr<i_fuel_checkable> fuel_checkable) : fuel_checkable_(std::move(fuel_checkable)) { } void check_fuel_command::execute() { try ...
23.285714
92
0.745399
winmord
6368047cb6d76642db291213d07b1aa047dc55ba
1,061
cpp
C++
src/Zelta/Core/ConsoleLog.cpp
RafaelGC/ese
95868d2f7221334271d4a74ef38b2ed3478a8b91
[ "MIT" ]
1
2018-01-28T21:35:14.000Z
2018-01-28T21:35:14.000Z
src/Zelta/Core/ConsoleLog.cpp
RafaelGC/ese
95868d2f7221334271d4a74ef38b2ed3478a8b91
[ "MIT" ]
1
2018-01-23T02:03:45.000Z
2018-01-23T02:03:45.000Z
src/Zelta/Core/ConsoleLog.cpp
rafaelgc/ESE
95868d2f7221334271d4a74ef38b2ed3478a8b91
[ "MIT" ]
null
null
null
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ #include <Zelta/Core/ConsoleLog.hpp> #include <iostream> namespace zt { void ConsoleLog::log(Log::Type type, const std::str...
27.921053
79
0.540057
RafaelGC
6370c525a24535e8002694ae7fbab2ec444f96ab
13,711
cc
C++
csrc/InvertDatabase.cc
michelegentili93/python-cspade
5be4e96004ddc995b43be635b3a570d4392bd1e7
[ "MIT" ]
11
2019-01-28T01:50:28.000Z
2021-09-23T02:51:14.000Z
csrc/InvertDatabase.cc
michelegentili93/python-cspade
5be4e96004ddc995b43be635b3a570d4392bd1e7
[ "MIT" ]
10
2018-12-13T11:39:17.000Z
2021-06-09T01:46:34.000Z
csrc/InvertDatabase.cc
michelegentili93/python-cspade
5be4e96004ddc995b43be635b3a570d4392bd1e7
[ "MIT" ]
7
2018-12-10T14:59:00.000Z
2020-06-19T17:47:37.000Z
#include "common.h" #include "InvertDatabase.h" void InvertDatabase::incr(int sz) { int oldsz = numcust; numcust = sz; curits.resize(numcust); curcnts.resize(numcust); curcids.resize(numcust); curitszs.resize(numcust); int i; int ttval = (int) (args->avg_cust_size * args->avg_trans_co...
31.161364
107
0.438334
michelegentili93
637ba5c5955702b889fdb659aa774210a16054cf
3,088
cpp
C++
etc/config/src/LCONV.cpp
Hower91/Apache-C-Standard-Library-4.2.x
4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3
[ "Apache-2.0" ]
null
null
null
etc/config/src/LCONV.cpp
Hower91/Apache-C-Standard-Library-4.2.x
4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3
[ "Apache-2.0" ]
null
null
null
etc/config/src/LCONV.cpp
Hower91/Apache-C-Standard-Library-4.2.x
4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3
[ "Apache-2.0" ]
null
null
null
// checking for struct lconv in <locale.h> #include <locale.h> // for lconv #include <stddef.h> // for offsetof, size_t #include <stdio.h> // for printf #include <string.h> // for strlen #include "config.h" // prevent IBM xlC 5.0 errors caused by using /usr/include/string.h // which #defines this (and other)...
28.592593
67
0.484456
Hower91
63889bc61db7eefa842e877cf9bdcda172823285
8,526
cpp
C++
src/entity/shot_data.cpp
nullmana/OpenGem
0e6e067e355d23db9e2dd076c0b8916fcaa28adc
[ "MIT" ]
null
null
null
src/entity/shot_data.cpp
nullmana/OpenGem
0e6e067e355d23db9e2dd076c0b8916fcaa28adc
[ "MIT" ]
null
null
null
src/entity/shot_data.cpp
nullmana/OpenGem
0e6e067e355d23db9e2dd076c0b8916fcaa28adc
[ "MIT" ]
null
null
null
#include "entity/shot_data.h" #include "constants/game_header.h" #include <cmath> #include <cstring> #ifdef DEBUG #include <cstdio> #endif ShotData::ShotData() { damageMin = 0.0; damageMax = 0.0; range = 0.0f; fireRate = 0.0f; memset(component, 0, sizeof(component)); } double ShotData::rollDam...
38.931507
117
0.69939
nullmana
b0cafdc68ac94ccfba61c6fb3c3e6340534004f7
2,036
cpp
C++
cppdug/2015-01-20/code/SmartPointersAndInheritance.cpp
mihaitodor/Presentations
871909bd3aa24998df9e8beb872a757bea1d6869
[ "MIT" ]
14
2015-02-03T09:34:35.000Z
2021-11-20T16:05:32.000Z
cppdug/2015-01-20/code/SmartPointersAndInheritance.cpp
mihaitodor/Presentations
871909bd3aa24998df9e8beb872a757bea1d6869
[ "MIT" ]
null
null
null
cppdug/2015-01-20/code/SmartPointersAndInheritance.cpp
mihaitodor/Presentations
871909bd3aa24998df9e8beb872a757bea1d6869
[ "MIT" ]
3
2015-07-13T08:21:03.000Z
2020-05-28T15:26:52.000Z
/* This example aims to demonstrate the benefit of smart pointers and how to achieve polymorphic behaviour using such constructs. */ #include <iostream> #include <memory> #include <cassert> class Base { public: //the virtual destructor enables RTTI: http://en.wikibooks.org/wiki/C%2B%2B_Programming/RTTI virtual ~Base...
22.876404
126
0.722986
mihaitodor
b0ccfbae5784288b641ad756e12a2f6f16771c5c
3,073
cpp
C++
lib/models/presence.cpp
FiniteReality/disccord
1b89cde8031a1d6f9d43fa8f39dbc0959c8639ff
[ "MIT" ]
44
2016-09-19T15:28:25.000Z
2018-08-09T13:17:40.000Z
lib/models/presence.cpp
FiniteReality/disccord
1b89cde8031a1d6f9d43fa8f39dbc0959c8639ff
[ "MIT" ]
44
2016-11-03T17:27:30.000Z
2017-12-10T16:17:31.000Z
lib/models/presence.cpp
FiniteReality/disccord
1b89cde8031a1d6f9d43fa8f39dbc0959c8639ff
[ "MIT" ]
13
2016-11-01T00:17:20.000Z
2018-08-03T19:51:16.000Z
#include <string> #include <disccord/models/presence.hpp> namespace disccord { namespace models { presence::presence() : user(), roles(), game(), guild_id(0), status("") { } presence::~presence() { } void presence::decode(web::json::value json) ...
33.402174
76
0.447771
FiniteReality
b0e18281940029af3e38e9173d2c59270d42f929
1,053
hh
C++
Mu2eBTrk/inc/BaBarMu2eField.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2021-06-25T00:00:12.000Z
2021-06-25T00:00:12.000Z
Mu2eBTrk/inc/BaBarMu2eField.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2019-11-22T14:45:51.000Z
2019-11-22T14:50:03.000Z
Mu2eBTrk/inc/BaBarMu2eField.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
// $Id: BaBarMu2eField.hh,v 1.1 2012/09/19 20:17:37 brownd Exp $ // Description: Class Header for |BaBarMu2eField| // Provide an arbitary fixed field // Author List:A. Snyder, Copyright (C) 1998 SLAC #ifndef BaBarMu2eField_HH #define BaBarMu2eField_HH #include "BTrk/BaBar/BaBar.hh" #include "BTrk/BField/B...
26.325
85
0.689459
bonventre
b0e3e6a761662e8aa17d6ade8c88773a9c32c611
16,292
hh
C++
src/script.hh
pekdon/plux
74d7dd1e4bd57dda0b2a3754e77af068205dabe1
[ "MIT" ]
null
null
null
src/script.hh
pekdon/plux
74d7dd1e4bd57dda0b2a3754e77af068205dabe1
[ "MIT" ]
null
null
null
src/script.hh
pekdon/plux
74d7dd1e4bd57dda0b2a3754e77af068205dabe1
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <istream> #include <memory> #include <string> #include <sstream> #include <vector> #include "shell_ctx.hh" namespace plux { /** * Error occurred during script execution such as invalid regex * compilation, invalid variable names etc. */ class ScriptErr...
29.568058
80
0.556224
pekdon
b0e49792d1ad8b508417dd3316fca9ffbb74b974
8,371
cpp
C++
dbms/src/Flash/Mpp/GRPCReceiverContext.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
85
2022-03-25T09:03:16.000Z
2022-03-25T09:45:03.000Z
dbms/src/Flash/Mpp/GRPCReceiverContext.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
7
2022-03-25T08:59:10.000Z
2022-03-25T09:40:13.000Z
dbms/src/Flash/Mpp/GRPCReceiverContext.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
11
2022-03-25T09:15:36.000Z
2022-03-25T09:45:07.000Z
// Copyright 2022 PingCAP, Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
31.828897
109
0.683192
solotzg
b0f4a83b8dd8c3e807165f631c59a75da5803bc7
985
hpp
C++
src/registrar/registrar.hpp
IsaccBarker/CATnet
a1a0f54005260c7882ef3511d4dcf984e6cda2bc
[ "MIT" ]
2
2021-02-03T19:25:13.000Z
2021-03-16T18:55:02.000Z
src/registrar/registrar.hpp
IsaccBarker/CATnet
a1a0f54005260c7882ef3511d4dcf984e6cda2bc
[ "MIT" ]
33
2021-06-06T01:59:13.000Z
2021-07-27T19:35:50.000Z
src/registrar/registrar.hpp
IsaccBarker/CATnet
a1a0f54005260c7882ef3511d4dcf984e6cda2bc
[ "MIT" ]
5
2021-04-13T03:20:15.000Z
2021-07-12T19:16:07.000Z
#ifndef REGISTRAR_HPP #define REGISTRAR_HPP #include <optional> #include <tcp_server_socket.hpp> #include <vector> /// \brief Registrar class that contains all the data needed for runtime in case /// of registrar mode. namespace Registrar { /// Constructor for the registrar. /// If you need to pass in any arguments, p...
25.921053
80
0.750254
IsaccBarker
b0f648c58b927554e979ef385eb7feb6b141a48b
27,302
cpp
C++
super-knowledge-platform/skpClient/skpClient/trunk/src/test/skp_socket_test_widget.cpp
yefy/skp
a9fafa09eacd6a0a802ea6550efd30ace79e4a4f
[ "MIT" ]
null
null
null
super-knowledge-platform/skpClient/skpClient/trunk/src/test/skp_socket_test_widget.cpp
yefy/skp
a9fafa09eacd6a0a802ea6550efd30ace79e4a4f
[ "MIT" ]
null
null
null
super-knowledge-platform/skpClient/skpClient/trunk/src/test/skp_socket_test_widget.cpp
yefy/skp
a9fafa09eacd6a0a802ea6550efd30ace79e4a4f
[ "MIT" ]
null
null
null
#include "skp_socket_test_widget.h" #include "ui_skp_socket_test_widget.h" #include "skp_custom_dialog.h" #include "skp_public_transfer_protocal.h" #include "skp_public_ins.h" #include <time.h> #include <QThread> #include <QDebug> #include <QWidget> #include <QTime> #include <QMutex> #define ONCE_NUMB...
30.234773
203
0.581532
yefy
b0f803c35e5923b428ddecdc01ea388a44adbbd1
1,433
cpp
C++
src/ta_timer.cpp
dbechrd/VulkanSandbox
3656ce02bd72a816ee1b02d2be0a209cfdb523e9
[ "MIT" ]
null
null
null
src/ta_timer.cpp
dbechrd/VulkanSandbox
3656ce02bd72a816ee1b02d2be0a209cfdb523e9
[ "MIT" ]
null
null
null
src/ta_timer.cpp
dbechrd/VulkanSandbox
3656ce02bd72a816ee1b02d2be0a209cfdb523e9
[ "MIT" ]
null
null
null
#include "ta_timer.hpp" #include "SDL/SDL_timer.h" static uint64_t perf_frequency; static double perf_frequency_ms; static double perf_frequency_us; static uint64_t perf_epoch; void ta_timer_init() { // 10,000,000 (per second) perf_frequency = SDL_GetPerformanceFrequency(); // 10,000 (per mill...
26.537037
59
0.723657
dbechrd
b0ff3fcfdb1309361bce73dc1e367bebf19fc287
709
cpp
C++
nowcoder/329-G2.cpp
PIPIKAI/ACM
b8e4416a29c0619946c9b73b0fe5699b6e96e782
[ "MIT" ]
null
null
null
nowcoder/329-G2.cpp
PIPIKAI/ACM
b8e4416a29c0619946c9b73b0fe5699b6e96e782
[ "MIT" ]
null
null
null
nowcoder/329-G2.cpp
PIPIKAI/ACM
b8e4416a29c0619946c9b73b0fe5699b6e96e782
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long ll; ll f[20][20]; void init() { f[0][0]=1; for(int i=1;i<=18;i++) {//len for(int j=0;j<10;j++) {// sta if(j==6)f[i][j]=0; else for(int k=0;k<10;k++)//link { if(k==6)continue; f[i][j]+=f[i-1][k]; } } } } ll pos[18]; ...
13.12963
47
0.472496
PIPIKAI
b0ffa76ba0f8904d40cbc81a2c03063fee580520
695
cpp
C++
0078.Subsets/main.cpp
SumanSudhir/LeetCode
cab5205747b8c1a9d5c27f0e821cf6e6d9ac10d6
[ "MIT" ]
1
2020-01-13T11:10:35.000Z
2020-01-13T11:10:35.000Z
0078.Subsets/main.cpp
SumanSudhir/LeetCode
cab5205747b8c1a9d5c27f0e821cf6e6d9ac10d6
[ "MIT" ]
4
2020-01-01T09:47:39.000Z
2020-04-08T08:34:29.000Z
0078.Subsets/main.cpp
SumanSudhir/LeetCode
cab5205747b8c1a9d5c27f0e821cf6e6d9ac10d6
[ "MIT" ]
null
null
null
class Solution { public: void combineMain(vector<int>& nums, vector<vector<int>>& output, vector<int>& temp, int n, int start, int k){ if(k==0){ output.push_back(temp); return; } for(int i=start; i<n; i++){ temp.push_back(nums[i]); combineMa...
23.965517
113
0.509353
SumanSudhir
7c04ac1854b83cd6b52cffb1c64a9cace4780951
1,996
cpp
C++
krn/threads.cpp
wrmlab/wrmos
37067b659aa25e2d85f040ab0d2be85b6f4de485
[ "MIT" ]
16
2018-06-05T15:23:08.000Z
2022-01-06T13:41:44.000Z
krn/threads.cpp
sergey-worm/wrmos
37067b659aa25e2d85f040ab0d2be85b6f4de485
[ "MIT" ]
null
null
null
krn/threads.cpp
sergey-worm/wrmos
37067b659aa25e2d85f040ab0d2be85b6f4de485
[ "MIT" ]
3
2018-03-15T16:40:59.000Z
2021-04-01T22:55:15.000Z
//################################################################################################## // // Threads container. // //################################################################################################## #include "threads.h" // ... // static data Int_thread_t Threads_t::_int_threads [...
64.387097
126
0.640782
wrmlab
7c09d431a9de362de678f241842109a0c687bc85
82
cc
C++
vio/version.cc
euleryang/mysql-server-mysql-323-31
f9346bfa3055f2217fe183bcb182aa6f39bca4d9
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2020-03-31T15:03:51.000Z
2020-03-31T15:03:51.000Z
vio/version.cc
euleryang/mysql-server-mysql-323-31
f9346bfa3055f2217fe183bcb182aa6f39bca4d9
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2020-03-31T15:04:54.000Z
2020-03-31T15:04:54.000Z
vio/version.cc
euleryang/mysql-server-mysql-323-31
f9346bfa3055f2217fe183bcb182aa6f39bca4d9
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
#include "vio-global.h" extern "C" const char* vio_version() { return "0.2"; }
10.25
23
0.634146
euleryang
7c0b66245482a998b59132eba153763f9b4efd96
2,896
hpp
C++
idlib-math/library/src/idlib/math/vector-rejection-projection.hpp
egoboo/idlib
b27b9d3fe7357ecfe5f9dc71afe283a3d16b1ba8
[ "MIT" ]
1
2021-07-30T14:02:43.000Z
2021-07-30T14:02:43.000Z
idlib-math/library/src/idlib/math/vector-rejection-projection.hpp
egoboo/idlib
b27b9d3fe7357ecfe5f9dc71afe283a3d16b1ba8
[ "MIT" ]
null
null
null
idlib-math/library/src/idlib/math/vector-rejection-projection.hpp
egoboo/idlib
b27b9d3fe7357ecfe5f9dc71afe283a3d16b1ba8
[ "MIT" ]
2
2017-01-27T16:53:08.000Z
2017-08-27T07:28:43.000Z
/////////////////////////////////////////////////////////////////////////////////////////////////// // // Idlib: A C++ utility library // Copyright (C) 2017-2018 Michael Heilmann // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any dama...
38.105263
120
0.628108
egoboo
7c0c89670b5b9d80ad97e9b37531eca7ae36ea11
632
cpp
C++
problems/acmicpc_19700.cpp
qawbecrdtey/BOJ-sol
e3f410e8f4e3a6ade51b68ce2024529870edac64
[ "MIT" ]
null
null
null
problems/acmicpc_19700.cpp
qawbecrdtey/BOJ-sol
e3f410e8f4e3a6ade51b68ce2024529870edac64
[ "MIT" ]
null
null
null
problems/acmicpc_19700.cpp
qawbecrdtey/BOJ-sol
e3f410e8f4e3a6ade51b68ce2024529870edac64
[ "MIT" ]
null
null
null
#include <stdio.h> #include <algorithm> #include <vector> #include <utility> using namespace std; int main() { int n; scanf("%d", &n); auto a = new pair<int, int>[n]; for(int i = 0; i < n; i++) { scanf("%d%d", &a[i].first, &a[i].second); } sort(a, a + n); vector<pair<int, int>> v; v.emplace_back(a[n - 1].firs...
22.571429
93
0.541139
qawbecrdtey
7c1203e17d70bce53f854aae918018989dc79293
580
hpp
C++
src/koi/core/intersection.hpp
JonCG90/Koi
8fa50801d419b1b4e0729b9b74f7b4d861cfbe23
[ "MIT" ]
null
null
null
src/koi/core/intersection.hpp
JonCG90/Koi
8fa50801d419b1b4e0729b9b74f7b4d861cfbe23
[ "MIT" ]
null
null
null
src/koi/core/intersection.hpp
JonCG90/Koi
8fa50801d419b1b4e0729b9b74f7b4d861cfbe23
[ "MIT" ]
null
null
null
// // intersection.hpp // Koi // // Created by Jonathan Graham on 2/3/20. // Copyright © 2020 Jonathan Graham. All rights reserved. // #ifndef KOI_INTERSECTION_HPP #define KOI_INTERSECTION_HPP #include <koi/math/defs.hpp> namespace koi { struct IntersectionGeometry { Vec3f position; Vec2f uv; Vec3f ...
14.146341
58
0.674138
JonCG90
7c12a806cf30b5b22af9da1b9911660c14b20cd6
751
cpp
C++
TextureProvidersStorage.cpp
dmitrylis/QtTextureStreaming
76fbbca2e7abdbf1c95a44c5073847c0b288d8a9
[ "MIT" ]
null
null
null
TextureProvidersStorage.cpp
dmitrylis/QtTextureStreaming
76fbbca2e7abdbf1c95a44c5073847c0b288d8a9
[ "MIT" ]
null
null
null
TextureProvidersStorage.cpp
dmitrylis/QtTextureStreaming
76fbbca2e7abdbf1c95a44c5073847c0b288d8a9
[ "MIT" ]
null
null
null
#include "TextureProvidersStorage.h" #include "StreamSource.h" #include <QSGTextureProvider> TextureProvidersStorage &TextureProvidersStorage::instance() { static TextureProvidersStorage textureStorage; return textureStorage; } bool TextureProvidersStorage::registerTextureProvider(StreamSource *st...
27.814815
99
0.745672
dmitrylis
7c12da6076f394e8daafb92a418a3d206423a039
669
cpp
C++
placa/simple_server_main.cpp
EEL7323/equipe_amoeba
49a647319256ba6e0b0fc0ac82b7de1a72be534a
[ "MIT" ]
2
2017-05-06T22:16:37.000Z
2017-05-06T22:58:54.000Z
placa/simple_server_main.cpp
EEL7323/amoeba
49a647319256ba6e0b0fc0ac82b7de1a72be534a
[ "MIT" ]
null
null
null
placa/simple_server_main.cpp
EEL7323/amoeba
49a647319256ba6e0b0fc0ac82b7de1a72be534a
[ "MIT" ]
null
null
null
#include "ServerSocket.h" #include "SocketException.h" #include <string> #include<bits/stdc++.h> #include "AcessoApp.h" #include "AcessoCard.h" #include "RuManager.h" #include <thread> #include "conexaoServidor.h" using namespace std; void rodaApp(AcessoApp *acApp) { acApp->rodar(); } void rodaCard(AcessoCard *...
17.153846
43
0.663677
EEL7323
7c1ae21f35ead5d9c751f51809557fd71168dc2e
5,096
hpp
C++
phylanx/util/detail/blaze-highfive.hpp
NanmiaoWu/phylanx
295b5f82cc39925a0d53e77ba3b6d02a65204535
[ "BSL-1.0" ]
83
2017-08-27T15:09:13.000Z
2022-01-18T17:03:41.000Z
phylanx/util/detail/blaze-highfive.hpp
NanmiaoWu/phylanx
295b5f82cc39925a0d53e77ba3b6d02a65204535
[ "BSL-1.0" ]
808
2017-08-27T15:35:01.000Z
2021-12-14T17:30:50.000Z
phylanx/util/detail/blaze-highfive.hpp
NanmiaoWu/phylanx
295b5f82cc39925a0d53e77ba3b6d02a65204535
[ "BSL-1.0" ]
55
2017-08-27T15:09:22.000Z
2022-03-25T12:07:34.000Z
// Copyright (c) 2018 Alireza Kheirkhahan // // 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 PHYLANX_UTIL_DETAIL_BLAZE_HIGHFIVE_FEB_06_2017_0134PM #define PHYLANX_UTIL_DETAIL_BLAZE_HIGHFIVE_FEB_06_2017_0...
26.962963
80
0.644427
NanmiaoWu
7c1bb2d818ea7cd00eb3e2db0fefd252ca40d05d
6,378
cpp
C++
main/src/Parser/Parser.cpp
themonsterdev/interpreter
dcf75cbe55eb1b9ed6bcbecd1bde4838d8570be1
[ "MIT" ]
null
null
null
main/src/Parser/Parser.cpp
themonsterdev/interpreter
dcf75cbe55eb1b9ed6bcbecd1bde4838d8570be1
[ "MIT" ]
null
null
null
main/src/Parser/Parser.cpp
themonsterdev/interpreter
dcf75cbe55eb1b9ed6bcbecd1bde4838d8570be1
[ "MIT" ]
null
null
null
#include "Parser/Parser.h" // Statement #include "Parser/Statement/PrintingStatement.h" #include "Parser/Statement/VariableStatement.h" // Expression #include "Parser/Expression/NumberExpression.h" #include "Parser/Expression/IdentifierExpression.h" // Expression Operator Arithmetic #include "Parser/Expression/Opera...
43.387755
143
0.675133
themonsterdev
7c1dc5e0834fe45d010d2e4ca940cdf44598dc8b
106
cpp
C++
tests/test.cpp
uliana99/homework_03_explorer
90dfe43f86bef857d7ccca582066e15a80c43c0f
[ "MIT" ]
null
null
null
tests/test.cpp
uliana99/homework_03_explorer
90dfe43f86bef857d7ccca582066e15a80c43c0f
[ "MIT" ]
null
null
null
tests/test.cpp
uliana99/homework_03_explorer
90dfe43f86bef857d7ccca582066e15a80c43c0f
[ "MIT" ]
null
null
null
#include <boost/catch.hpp> #include <explorer.hpp> SCENARIO("check explorer code") { REQUIRE(1 == 1); }
15.142857
33
0.679245
uliana99
7c1f13f8e7a1ed1481592046b0639bc6a23ca531
14,568
cpp
C++
examples/calculator/main.cpp
phr34k/nodeeditor
c2743e4054991f008fd9452c12c512e1da340d1f
[ "BSD-3-Clause" ]
null
null
null
examples/calculator/main.cpp
phr34k/nodeeditor
c2743e4054991f008fd9452c12c512e1da340d1f
[ "BSD-3-Clause" ]
null
null
null
examples/calculator/main.cpp
phr34k/nodeeditor
c2743e4054991f008fd9452c12c512e1da340d1f
[ "BSD-3-Clause" ]
null
null
null
#include <nodes/NodeData> #include <nodes/FlowScene> #include <nodes/FlowView> #include <nodes/ConnectionStyle> #include <nodes/TypeConverter> #include <nodes/internal/Node.hpp> #include <nodes/internal/NodeGraphicsObject.hpp> #include <QtWidgets/QApplication> #include <QtWidgets/QVBoxLayout> #include <QtWidgets/QMenu...
33.489655
150
0.617724
phr34k
7c265aa50694322f9d8708a799bb70adaf575c96
1,460
hpp
C++
third_party/boost/simd/arch/x86/ssse3/tags.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
6
2018-02-25T22:23:33.000Z
2021-01-15T15:13:12.000Z
third_party/boost/simd/arch/x86/ssse3/tags.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
third_party/boost/simd/arch/x86/ssse3/tags.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
7
2017-12-12T12:36:31.000Z
2020-02-10T14:27:07.000Z
//================================================================================================== /*! @file @copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) **/ //=========================...
24.333333
100
0.583562
SylvainCorlay
7c2b5a021b3c2d04075903cbdbf111d93628b297
3,210
hpp
C++
headers/fun/classes/ord.hpp
BlackMATov/fun.hpp
11b208996c3c3784d31afb6463b34d5b68b47bd4
[ "MIT" ]
12
2019-01-07T05:55:35.000Z
2020-04-21T08:37:25.000Z
headers/fun/classes/ord.hpp
BlackMATov/fun.hpp
11b208996c3c3784d31afb6463b34d5b68b47bd4
[ "MIT" ]
1
2019-01-07T08:53:56.000Z
2019-01-07T08:53:56.000Z
headers/fun/classes/ord.hpp
BlackMATov/fun.hpp
11b208996c3c3784d31afb6463b34d5b68b47bd4
[ "MIT" ]
1
2019-01-08T07:51:30.000Z
2019-01-08T07:51:30.000Z
/******************************************************************************* * This file is part of the "https://github.com/blackmatov/fun.hpp" * For conditions of distribution and use, see copyright notice in LICENSE.md * Copyright (C) 2019-2020, by Matvey Cherevko (blackmatov@gmail.com) **********************...
29.449541
80
0.51433
BlackMATov
7c2b8c78d99cf06779aff029d332625b46e0d6eb
108
cpp
C++
Source/puerts_unreal_demo/puerts_unreal_demoGameModeBase.cpp
Anehta/Unreal4ReactUMG
af1b4bdfb5993845819a74d17c42bf353e3aa53a
[ "MIT" ]
2
2021-11-14T07:07:58.000Z
2021-12-31T11:34:10.000Z
Source/puerts_unreal_demo/puerts_unreal_demoGameModeBase.cpp
Anehta/Unreal4ReactUMG
af1b4bdfb5993845819a74d17c42bf353e3aa53a
[ "MIT" ]
null
null
null
Source/puerts_unreal_demo/puerts_unreal_demoGameModeBase.cpp
Anehta/Unreal4ReactUMG
af1b4bdfb5993845819a74d17c42bf353e3aa53a
[ "MIT" ]
null
null
null
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. #include "puerts_unreal_demoGameModeBase.h"
18
60
0.777778
Anehta
7c32f4231ef6a4d7b7a4a96717f28a7edf71263a
5,436
cpp
C++
deps/exokit-bindings/canvas/src/FloydSteinberg.cpp
Fierent/exokit
59bc83e122b9b9b6a210987d7a21832253adc5b5
[ "MIT" ]
547
2019-04-07T14:34:01.000Z
2022-03-25T08:58:50.000Z
deps/exokit-bindings/canvas/src/FloydSteinberg.cpp
Fierent/exokit
59bc83e122b9b9b6a210987d7a21832253adc5b5
[ "MIT" ]
514
2018-03-22T00:31:38.000Z
2019-04-06T21:16:45.000Z
src/FloydSteinberg.cpp
avaer/canvas
03c52b2301841083c9b70e91c572680cccd10522
[ "MIT" ]
120
2019-04-15T18:36:25.000Z
2022-03-03T01:11:34.000Z
#include "FloydSteinberg.h" #include <ImageData.h> #include <ImageFormat.h> #include <cassert> #include <vector> using namespace std; using namespace canvas; struct rgba_s { rgba_s() : red(0), green(0), blue(0), alpha(0) { } rgba_s(unsigned int _red, unsigned int _green, unsigned int _blue, unsigned int _alpha ...
39.678832
156
0.616998
Fierent
7c493636a43d545ae888f9cf150c6de729453e80
3,295
cpp
C++
ByteCat/src/byteCat/entity-system/renderers/Mesh.cpp
CodingWithMenno/ByteCat
0fd19aa6781a5c28c6ff5e6f66c9624ace860de7
[ "Apache-2.0" ]
2
2021-04-07T11:39:24.000Z
2022-03-02T11:24:58.000Z
ByteCat/src/byteCat/entity-system/renderers/Mesh.cpp
CodingWithMenno/ByteCat
0fd19aa6781a5c28c6ff5e6f66c9624ace860de7
[ "Apache-2.0" ]
null
null
null
ByteCat/src/byteCat/entity-system/renderers/Mesh.cpp
CodingWithMenno/ByteCat
0fd19aa6781a5c28c6ff5e6f66c9624ace860de7
[ "Apache-2.0" ]
null
null
null
#include "bcpch.h" #include "byteCat/entity-system/renderers/Mesh.h" #include "byteCat/entity-system/Material.h" #include "byteCat/render/Renderer.h" #include "byteCat/entity-system/ModelStorage.h" namespace BC { Mesh::Mesh() { vao = VertexArray::Create(); } Mesh::Mesh(std::shared_ptr<VertexArray>& vao) { t...
37.873563
141
0.688619
CodingWithMenno
7c4b2c6c82312ebb97ebe983af87759ae11684e4
1,357
hpp
C++
src/modbuscli/OutputFormatter.hpp
gkarvounis/libmodbusc-
9b74a62e9945c8ef3e76d0dc244303fbc3f34dca
[ "MIT" ]
2
2017-04-24T10:11:27.000Z
2019-09-20T10:37:35.000Z
src/modbuscli/OutputFormatter.hpp
gkarvounis/libmodbusc-
9b74a62e9945c8ef3e76d0dc244303fbc3f34dca
[ "MIT" ]
null
null
null
src/modbuscli/OutputFormatter.hpp
gkarvounis/libmodbusc-
9b74a62e9945c8ef3e76d0dc244303fbc3f34dca
[ "MIT" ]
1
2020-03-23T01:12:14.000Z
2020-03-23T01:12:14.000Z
#ifndef OUTPUT_FORMATTER_HPP #define OUTPUT_FORMATTER_HPP #include <vector> #include <string> #include <iostream> #include "ModbusConsts.hpp" #include "ModbusTypes.hpp" #include "ModbusEncoder.hpp" #include "ModbusDecoder.hpp" class OutputFormatter { public: OutputFormatter(std::ostream& s); ...
36.675676
122
0.694178
gkarvounis
7c4d5bcab9e87cfda9da4af8501244835b462716
240
cpp
C++
Basic_program_C/Untitled39.cpp
abhinavmaurya5757/Basic_Program
9b65045ff322e282accb111d435611d3b0de2ad8
[ "Apache-2.0" ]
null
null
null
Basic_program_C/Untitled39.cpp
abhinavmaurya5757/Basic_Program
9b65045ff322e282accb111d435611d3b0de2ad8
[ "Apache-2.0" ]
null
null
null
Basic_program_C/Untitled39.cpp
abhinavmaurya5757/Basic_Program
9b65045ff322e282accb111d435611d3b0de2ad8
[ "Apache-2.0" ]
null
null
null
#include<stdio.h> int main() { int n,sum=0,r,x; printf("Enter a number"); scanf("%d",&n); while(n>0) { r=n%10; n=n/10; x=x*10+r; } printf("Reverse of the number is %d ",x); return 0; }
13.333333
44
0.458333
abhinavmaurya5757
7c4e6be64e18e908186e611a89c406eabf10d6e5
10,226
hpp
C++
include/AST/ASTStatementNode.hpp
emilienlemaire/YAPL
b25dc6ef776db0acf612f36070446df11cad3cfd
[ "Apache-2.0" ]
7
2020-06-01T16:32:15.000Z
2021-11-07T21:32:32.000Z
include/AST/ASTStatementNode.hpp
emilienlemaire/YAPL
b25dc6ef776db0acf612f36070446df11cad3cfd
[ "Apache-2.0" ]
null
null
null
include/AST/ASTStatementNode.hpp
emilienlemaire/YAPL
b25dc6ef776db0acf612f36070446df11cad3cfd
[ "Apache-2.0" ]
null
null
null
#pragma once #include <array> #include <cstddef> #include <string> #include <vector> #include <memory> #include "AST/ASTNode.hpp" #include "AST/ASTExprNode.hpp" class ASTStatementNode : public ASTNode {}; class ASTImportNode : public ASTStatementNode { private: std::string m_Module; std::vector<std::string>...
37.457875
123
0.689126
emilienlemaire
7c5aa9d9d0e331c4a7b4c0875e6cef02c1f93b07
2,006
cpp
C++
test/sampler_test.cpp
thodrek/sampler
5351d8070e43c42f252bdf53af7f7cc6339da835
[ "Apache-2.0" ]
null
null
null
test/sampler_test.cpp
thodrek/sampler
5351d8070e43c42f252bdf53af7f7cc6339da835
[ "Apache-2.0" ]
null
null
null
test/sampler_test.cpp
thodrek/sampler
5351d8070e43c42f252bdf53af7f7cc6339da835
[ "Apache-2.0" ]
null
null
null
/** * Unit tests for gibbs sampling * * Author: Feiran Wang */ #include "gtest/gtest.h" #include "dstruct/factor_graph/factor_graph.h" #include "app/gibbs/single_thread_sampler.h" #include "gibbs.h" #include <fstream> // test fixture class SamplerTest : public testing::Test { protected: dd::FactorGraph fg; dd:...
25.717949
102
0.681456
thodrek
7c602b5f5b4dacd02adcde22d60d4a915ce60a31
2,173
cpp
C++
python/src/cnstream_py_wrapper.cpp
HFauto/CNStream
1d4847327fff83eedbc8de6911855c5f7bb2bf22
[ "Apache-2.0" ]
null
null
null
python/src/cnstream_py_wrapper.cpp
HFauto/CNStream
1d4847327fff83eedbc8de6911855c5f7bb2bf22
[ "Apache-2.0" ]
null
null
null
python/src/cnstream_py_wrapper.cpp
HFauto/CNStream
1d4847327fff83eedbc8de6911855c5f7bb2bf22
[ "Apache-2.0" ]
null
null
null
/************************************************************************* * Copyright (C) [2021] by Cambricon, Inc. 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 a...
35.048387
80
0.696272
HFauto
7c63ea372d86d4d6edfecc6c5db7097405482453
18,407
cpp
C++
Source Code/Platform/Video/GLIM/glimBatch.cpp
IonutCava/Divide-Framework
90130b43b175ac408d3f138f43572a2d1ac66d2a
[ "MIT" ]
9
2018-05-02T19:53:41.000Z
2021-10-18T18:30:47.000Z
Source Code/Platform/Video/GLIM/glimBatch.cpp
IonutCava/Divide-Framework
90130b43b175ac408d3f138f43572a2d1ac66d2a
[ "MIT" ]
7
2018-02-01T12:16:43.000Z
2019-10-21T14:03:43.000Z
Source Code/Platform/Video/GLIM/glimBatch.cpp
IonutCava/Divide-Framework
90130b43b175ac408d3f138f43572a2d1ac66d2a
[ "MIT" ]
1
2020-09-08T03:28:22.000Z
2020-09-08T03:28:22.000Z
/* ** GLIM - OpenGL Immediate Mode ** Copyright Jan Krassnigg (Jan@Krassnigg.de) ** For more details, see the included Readme.txt. */ #include "stdafx.h" #include "glimBatch.h" #include "Platform/Video/RenderBackend/OpenGL/Headers/GLWrapper.h" #define BUFFER_OFFSET(i) ((char *)NULL + (i)) namespace NS_GLIM { /...
36.021526
255
0.598251
IonutCava
7c6bb4f9b01a3511669d36c728d55ff4a3821a19
5,235
cpp
C++
EntityComponentSystem/PbrRenderer/ModelRenderSystem.cpp
Spheya/Slamanander-Engine
d0708399eacab26b243045b33b51ff30d614b7bd
[ "MIT" ]
null
null
null
EntityComponentSystem/PbrRenderer/ModelRenderSystem.cpp
Spheya/Slamanander-Engine
d0708399eacab26b243045b33b51ff30d614b7bd
[ "MIT" ]
null
null
null
EntityComponentSystem/PbrRenderer/ModelRenderSystem.cpp
Spheya/Slamanander-Engine
d0708399eacab26b243045b33b51ff30d614b7bd
[ "MIT" ]
null
null
null
#include "ModelRenderSystem.hpp" renderer::ModelRenderSystem::ModelRenderSystem(Window* window, std::shared_ptr<ShaderProgram> pbrShader, std::shared_ptr<ShaderProgram> fboShader) : Base(ecs::SystemThreadingMode::MAIN_THREAD), _frameBufferObject(int(window->getWindowSize().x), int(window->getWindowSize().y)), _fboM...
34.215686
148
0.74575
Spheya
7c6e140b19372e9278fa31e9e2f2be89ddc11d57
2,823
cpp
C++
cpp_tests/test_margin_metric.cpp
GaoSida/Neural-SampleRank
8b4a7a40cc34bff608f19d3f7eb64bda76669c5b
[ "MIT" ]
2
2020-11-17T18:41:05.000Z
2021-08-12T14:40:56.000Z
cpp_tests/test_margin_metric.cpp
GaoSida/Neural-SampleRank
8b4a7a40cc34bff608f19d3f7eb64bda76669c5b
[ "MIT" ]
null
null
null
cpp_tests/test_margin_metric.cpp
GaoSida/Neural-SampleRank
8b4a7a40cc34bff608f19d3f7eb64bda76669c5b
[ "MIT" ]
null
null
null
#include "cpp_tests.hpp" #include "margin_metric.hpp" #include <algorithm> void set_label_node_values(std::vector<LabelNode*>& label_nodes, std::vector<int>& label_vals) { for (int i = 0; i < label_nodes.size(); i++) { label_nodes[i]->current_value = label_vals[i]; } } std::vector<float> test_neg_hammi...
34.851852
79
0.710592
GaoSida
7c78bcbbad704a27a242543909bb3f6b489cef1c
10,202
cpp
C++
src/game/server/tf/bot/behavior/tf_bot_scenario_monitor.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/server/tf/bot/behavior/tf_bot_scenario_monitor.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/server/tf/bot/behavior/tf_bot_scenario_monitor.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // tf_bot_scenario_monitor.h // Behavior layer that interrupts for scenario rules (picked up flag, drop what you're doing and capture, etc) // Michael Booth, May 2011 #include "cbase.h" #include "fmtstr.h" #include "tf_gamerules.h" #include...
27.647696
196
0.693982
cstom4994
75a955820a5017ca784cb4aae8098296539b9a77
5,453
cpp
C++
cAccurateMatcherGPU.cpp
eugesh/PoseEstimator2D
dae75487f8507ab9dde5c1a131e74840df6c8755
[ "MIT" ]
null
null
null
cAccurateMatcherGPU.cpp
eugesh/PoseEstimator2D
dae75487f8507ab9dde5c1a131e74840df6c8755
[ "MIT" ]
null
null
null
cAccurateMatcherGPU.cpp
eugesh/PoseEstimator2D
dae75487f8507ab9dde5c1a131e74840df6c8755
[ "MIT" ]
null
null
null
#include <cuda_runtime.h> #include <cuda_runtime_api.h> #include "cAccurateMatcherGPU.h" #ifdef __cplusplus extern "C" { #endif int create_matr_of_means_sparse(int NUM_BLOCK_X, int NUM_BLOCK_Y, int NUM_THREAD_X, int NUM_THREAD_Y, IMGTYPE *pImg, MA...
27.680203
130
0.582065
eugesh
75b65c5b7e71d63a0076fc57efef5d4aa7191079
901
hpp
C++
SFINAE/MetaFunction/IsIncludedBy/a.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
2
2020-09-13T07:31:22.000Z
2022-03-26T08:37:32.000Z
SFINAE/MetaFunction/IsIncludedBy/a.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
SFINAE/MetaFunction/IsIncludedBy/a.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
// c:/Users/user/Documents/Programming/SFINAE/MetaFunction/IsIncludedBy/a.hpp #pragma once #include "../a.hpp" #include "../../../Utility/WrappedType/a.hpp" template <typename... Types1> class IsIncludedBy_Body : public EmptySet { public: template <typename... Types2> static true_type CheckInclude( c...
22.525
125
0.690344
p-adic
75ba853537e4dc5741ba44d4aa79f590f7b3f639
13,784
cpp
C++
tests/src/ASCIITests.cpp
ishiko-cpp/text
cb4904dd9434aa07af932e6d814337e9aa566832
[ "MIT" ]
null
null
null
tests/src/ASCIITests.cpp
ishiko-cpp/text
cb4904dd9434aa07af932e6d814337e9aa566832
[ "MIT" ]
null
null
null
tests/src/ASCIITests.cpp
ishiko-cpp/text
cb4904dd9434aa07af932e6d814337e9aa566832
[ "MIT" ]
1
2021-04-02T15:51:06.000Z
2021-04-02T15:51:06.000Z
/* Copyright (c) 2021-2022 Xavier Leclercq Released under the MIT License See https://github.com/ishiko-cpp/text/blob/main/LICENSE.txt */ #include "ASCIITests.hpp" #include <Ishiko/Text/ASCII.hpp> using namespace Ishiko::Tests; using namespace Ishiko::Text; ASCIITests::ASCIITests(const TestNumber& number...
26.507692
88
0.676944
ishiko-cpp
75bfa0eeccb11af59b2c8075c55b1432939d268f
1,259
cc
C++
GeeksForGeeks/Easy/HamlCycle.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
GeeksForGeeks/Easy/HamlCycle.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
GeeksForGeeks/Easy/HamlCycle.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
#include <cstring> #include <iostream> #include <vector> using namespace std; bool dfs(vector<int> *edges, int N, bool *vis, int s) { if (vis[s]) return false; vis[s] = true; bool allVisited = true; for (int i = 0; i < N; i++) if (!vis[i]) allVisited = false; if (allVisited) { // for(int i=...
19.984127
55
0.485306
ChakreshSinghUC
75c2f10a8971c6ecf93412747b5cec91852611d5
5,947
cpp
C++
Algorithms on Strings/Knuth-Morris-Pratt, suffix arrays and suffix trees/suffix_array_matching.cpp
OssamaEls/Data-Structures-and-Algorithms
b6affc28a792f577010e666d565ec6cc7f0ecbfa
[ "MIT" ]
null
null
null
Algorithms on Strings/Knuth-Morris-Pratt, suffix arrays and suffix trees/suffix_array_matching.cpp
OssamaEls/Data-Structures-and-Algorithms
b6affc28a792f577010e666d565ec6cc7f0ecbfa
[ "MIT" ]
null
null
null
Algorithms on Strings/Knuth-Morris-Pratt, suffix arrays and suffix trees/suffix_array_matching.cpp
OssamaEls/Data-Structures-and-Algorithms
b6affc28a792f577010e666d565ec6cc7f0ecbfa
[ "MIT" ]
null
null
null
//Input Format.The first line contains a string Text).The second line specifies an integer 𝑛.The last line //gives a collection of 𝑛 strings Patterns = { 𝑝1, . . . , 𝑝𝑛 } separated by spaces. //Constraints.All strings contain symbols A, C, G, T only; 1 ≤ | Text | ≤ 10^5; 1 ≤ 𝑛 ≤ 10^4; ∑︀𝑛 𝑖 = 1 | 𝑝𝑖 | ≤ 10...
26.198238
120
0.543635
OssamaEls
75c383b98e9efc9cf264818bc73db44170aa7162
677
cpp
C++
src/core/model/couchaction.cpp
jimmypoms/couch
2371ad236a04bf9623098da9b1fdec10997f1dd0
[ "Apache-2.0" ]
null
null
null
src/core/model/couchaction.cpp
jimmypoms/couch
2371ad236a04bf9623098da9b1fdec10997f1dd0
[ "Apache-2.0" ]
null
null
null
src/core/model/couchaction.cpp
jimmypoms/couch
2371ad236a04bf9623098da9b1fdec10997f1dd0
[ "Apache-2.0" ]
null
null
null
/* * couchaction.cpp * * Created on: 23 Jan 2016 * Author: jimmypoms */ #include "couchaction.h" CouchAction::CouchAction(QObject *parent) : QObject(parent), m_text(), m_enabled(true) { } const QString& CouchAction::text() const { return m_text; } void CouchAction::setText(const QString& text...
15.044444
50
0.624815
jimmypoms
75c43ec4038ee3ca7f54bc067de9c37a047506e3
619
cpp
C++
test/algorithm/repeat.cpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
test/algorithm/repeat.cpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
test/algorithm/repeat.cpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // 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 <fcppt/algorithm/repeat.hpp> #include <fcppt/catch/begin.hpp> #include <fcppt/catch/end.hp...
24.76
61
0.701131
freundlich
75c768270fc7202713e82fc4bd18eebebdee5549
5,224
cpp
C++
src/base/main.cpp
CollinAvidano/robocup-firmware
847900af9a4a4b3aef4b9aab494b75723b3e10a4
[ "Apache-2.0" ]
null
null
null
src/base/main.cpp
CollinAvidano/robocup-firmware
847900af9a4a4b3aef4b9aab494b75723b3e10a4
[ "Apache-2.0" ]
null
null
null
src/base/main.cpp
CollinAvidano/robocup-firmware
847900af9a4a4b3aef4b9aab494b75723b3e10a4
[ "Apache-2.0" ]
null
null
null
#include <cmsis_os.h> #include <memory> #include "Mbed.hpp" #include "CC1201Radio.hpp" #include "Decawave.hpp" #include "Logger.hpp" #include "Logger.hpp" #include "RJBaseUSBDevice.hpp" #include "SharedSPI.hpp" #include "Watchdog.hpp" #include "rc-fshare/usb-interface.hpp" #include "pins.hpp" #define RJ_WATCHDOG_TIME...
33.703226
80
0.621554
CollinAvidano
75cdb549578d62a720c8ec99e31b5b251a477d29
8,021
hpp
C++
armadillo_matrix/include/armadillo_bits/op_find_meat.hpp
Lauradejong92/wire-grad
0bfd3fb42df363f43eb89f35c2f0769fb805f6cd
[ "BSD-2-Clause" ]
1
2022-02-02T15:47:24.000Z
2022-02-02T15:47:24.000Z
armadillo_matrix/include/armadillo_bits/op_find_meat.hpp
Lauradejong92/wire-grad
0bfd3fb42df363f43eb89f35c2f0769fb805f6cd
[ "BSD-2-Clause" ]
null
null
null
armadillo_matrix/include/armadillo_bits/op_find_meat.hpp
Lauradejong92/wire-grad
0bfd3fb42df363f43eb89f35c2f0769fb805f6cd
[ "BSD-2-Clause" ]
2
2019-02-28T17:36:19.000Z
2021-01-24T14:04:18.000Z
// Copyright (C) 2010 NICTA (www.nicta.com.au) // Copyright (C) 2010 Conrad Sanderson // Copyright (C) 2010 Dimitrios Bouzas // // This file is part of the Armadillo C++ library. // It is provided without any warranty of fitness // for any purpose. You can redistribute this file // and/or modify it under the terms of ...
24.909938
102
0.617753
Lauradejong92
75d157794bf209d8e3f15826016fe11863753fca
2,783
cpp
C++
redisTest/redisHelloB.cpp
liangzai90/hiredisDemos2022
a4aacf9f3e05efa9430ec9abdb974dde2ced678d
[ "Apache-2.0" ]
null
null
null
redisTest/redisHelloB.cpp
liangzai90/hiredisDemos2022
a4aacf9f3e05efa9430ec9abdb974dde2ced678d
[ "Apache-2.0" ]
null
null
null
redisTest/redisHelloB.cpp
liangzai90/hiredisDemos2022
a4aacf9f3e05efa9430ec9abdb974dde2ced678d
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include "hiredis/hiredis.h" #include "errno.h" #include <string.h> #include <sstream> #include "xmsg_server.h" #include <thread> #include <mutex> #include <sstream> #include <vector> #include <assert.h> #include "hiredis/win32.h" ///strcasecmp #include "hiredis/async.h" // hiredis...
26.504762
139
0.565577
liangzai90
75d380283e56c703dc202af730f3939eeeb9f951
1,741
cpp
C++
PT07Y.cpp
YourGoodFriendSP/SPOJ-solutions
f8b14cad3452628c2c8e17ee44ec0ba2f70bb518
[ "MIT" ]
3
2020-10-02T15:01:06.000Z
2022-01-15T15:32:25.000Z
PT07Y.cpp
YourGoodFriendSP/SPOJ-solutions
f8b14cad3452628c2c8e17ee44ec0ba2f70bb518
[ "MIT" ]
null
null
null
PT07Y.cpp
YourGoodFriendSP/SPOJ-solutions
f8b14cad3452628c2c8e17ee44ec0ba2f70bb518
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std ; typedef long long ll ; void addedge(vector<vector<int>> &adj,int u,int v){ adj[u].push_back(v) ; adj[v].push_back(u) ; } void printGraph(vector<vector<int>> &adj,int V){ for(int v=1;v<=V;v++){ cout<<"Adjacency List vertex"<<v ; for(auto x:adj[v]...
14.040323
125
0.545663
YourGoodFriendSP
75d6b56b00fe2395e8302dcc5101cd588bc69ef1
1,226
cpp
C++
December-03/C++_AminulIslam254.cpp
AminulIslam254/A-December-of-Algorithms-2021
1d6f0c5d868b6f1513ed1275c90306035df8cdbb
[ "MIT" ]
1
2022-01-07T04:26:22.000Z
2022-01-07T04:26:22.000Z
December-03/C++_AminulIslam254.cpp
AminulIslam254/A-December-of-Algorithms-2021
1d6f0c5d868b6f1513ed1275c90306035df8cdbb
[ "MIT" ]
null
null
null
December-03/C++_AminulIslam254.cpp
AminulIslam254/A-December-of-Algorithms-2021
1d6f0c5d868b6f1513ed1275c90306035df8cdbb
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; int fun1(vector<vector<char>> a,string s,string name,ll i,ll j,ll r,ll c) { if(s.length()>name.length()) { return 0; } if(i>=r) { return 0; } if(j>=c) { return 0; } ...
18.298507
74
0.43801
AminulIslam254
75d7cce5b9241f5aca474bebbb8f773e7ce8d048
199,987
cpp
C++
main/source/mod/AvHHud.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
27
2015-01-05T19:25:14.000Z
2022-03-20T00:34:34.000Z
main/source/mod/AvHHud.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
9
2015-01-14T06:51:46.000Z
2021-03-19T12:07:18.000Z
main/source/mod/AvHHud.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
5
2015-01-11T10:31:24.000Z
2021-01-06T01:32:58.000Z
//======== (C) Copyright 2001 Charles G. Cleveland All rights reserved. ========= // // The copyright to the contents herein is the property of Charles G. Cleveland. // The contents may be used and/or copied only with the written permission of // Charles G. Cleveland, or in accordance with the terms and conditions ...
27.592025
368
0.68988
fmoraw
75dba396464adfb85638dfd78facc6f3901c0917
15,738
cpp
C++
Game/Client/WXCore/Core/WXLightObject.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/Client/WXCore/Core/WXLightObject.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/Client/WXCore/Core/WXLightObject.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
#include "WXLightObject.h" #include "WXObjectFactory.h" #include "WXPropertyHelper.h" #include "WXSystem.h" #include <OgreSceneManager.h> #include <OgreStringConverter.h> namespace WX { const String LightObject::msType = "Light"; const String LightObject::msCategory = "Light"; ///////////////////////////...
35.286996
122
0.504003
hackerlank
75df8c39f80b90a519487917f45f0be27f806130
947
cpp
C++
test/common/thread_cpu_timer_test.cpp
hjhhsy120/terrier
c53e1ac9de629ec340c42e9797a7460fdf2a56dc
[ "MIT" ]
1
2019-03-08T18:59:57.000Z
2019-03-08T18:59:57.000Z
test/common/thread_cpu_timer_test.cpp
hjhhsy120/terrier
c53e1ac9de629ec340c42e9797a7460fdf2a56dc
[ "MIT" ]
34
2019-03-21T20:47:59.000Z
2019-05-17T06:06:46.000Z
test/common/thread_cpu_timer_test.cpp
hjhhsy120/terrier
c53e1ac9de629ec340c42e9797a7460fdf2a56dc
[ "MIT" ]
null
null
null
#include "common/thread_cpu_timer.h" #include <iostream> #include "gtest/gtest.h" namespace terrier { /** * This is a bit difficult to test due to some non-determinism from thread scheduling, CPU frequency scaling, etc. * The idea is to have a simple task and run it for some number of iterations while timing it. Th...
29.59375
120
0.704329
hjhhsy120
75e18154dd15ffcaeddee8bc314314d4c16bd901
442
cpp
C++
AIC/AIC'20 - Level 1 Training Contests/Contest #4 (Online)/C.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
3
2020-11-01T06:31:30.000Z
2022-02-21T20:37:51.000Z
AIC/AIC'20 - Level 1 Training Contests/Contest #4 (Online)/C.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
null
null
null
AIC/AIC'20 - Level 1 Training Contests/Contest #4 (Online)/C.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
1
2021-05-05T18:56:31.000Z
2021-05-05T18:56:31.000Z
//https://codeforces.com/group/aDFQm4ed6d/contest/273591/problem/C #include <bits/stdc++.h> using namespace std; #define F first #define S second typedef long long ll; typedef long double ld; ll mod = 1e9 + 7; int main () { ios_base::sync_with_stdio (0); cin.tie (0); cout.tie (0); ll freq[26] = {}; string...
22.1
66
0.617647
MaGnsio
75e5e5b85e74978414fa868988b58e4f46f58013
1,784
cpp
C++
hdu/1176.cpp
qxzg/My-acm
250099cf26f2983eee5160dd77cee905dcc31284
[ "WTFPL" ]
null
null
null
hdu/1176.cpp
qxzg/My-acm
250099cf26f2983eee5160dd77cee905dcc31284
[ "WTFPL" ]
null
null
null
hdu/1176.cpp
qxzg/My-acm
250099cf26f2983eee5160dd77cee905dcc31284
[ "WTFPL" ]
null
null
null
////////////////////System Comment//////////////////// ////Welcome to Hangzhou Dianzi University Online Judge ////http://acm.hdu.edu.cn ////////////////////////////////////////////////////// ////Username: nicainicai ////Nickname: 你猜 ////Run ID: ////Submit time: 2016-04-01 19:12:55 ////Compiler: GUN C++ //////...
29.733333
83
0.344731
qxzg
75e9a04ce53e4ad62859dfc93736bc5d9d435b77
962
hpp
C++
Mathematics/Function/Computable/Definition/a.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
2
2020-09-13T07:31:22.000Z
2022-03-26T08:37:32.000Z
Mathematics/Function/Computable/Definition/a.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
Mathematics/Function/Computable/Definition/a.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
// c:/Users/user/Documents/Programming/Mathematics/Function/Computable/Definition/a.hpp #pragma once #include "Line/Void/a.hpp" template <typename Ret, typename... Args> class DefinitionOfComputableFunction : public SyntaxOfComputableFunction { public: template <typename... Rets> using Dummy = type...
40.083333
181
0.741164
p-adic
75ea2637e0fd71d6475244a6fb1057f1219f48da
209
cpp
C++
engine/gamestate.cpp
jarreed0/ArchGE
c995caf86b11f89f45fcfe1027c6068662dfcde0
[ "Apache-2.0" ]
12
2017-02-09T21:03:41.000Z
2021-04-26T14:50:20.000Z
engine/gamestate.cpp
jarreed0/ArchGE
c995caf86b11f89f45fcfe1027c6068662dfcde0
[ "Apache-2.0" ]
null
null
null
engine/gamestate.cpp
jarreed0/ArchGE
c995caf86b11f89f45fcfe1027c6068662dfcde0
[ "Apache-2.0" ]
null
null
null
#include "gamestate.h" GameState::GameState() { } GameState::~GameState() {} void GameState::setGameState(int state) { currentstate = state; } int GameState::getGameState() { return currentstate; }
13.0625
41
0.69378
jarreed0
75ea4b824ed3dd0601ed9b6a72f3483242b4d02b
3,699
cpp
C++
src/Network/msg.cpp
COPS-Projects/COPS-v7-Emulator
ccf377023b0399dc55675577c713ca7440000a80
[ "BSD-2-Clause" ]
2
2019-02-09T20:55:32.000Z
2021-08-12T12:15:03.000Z
src/Network/msg.cpp
COPS-Projects/COPS-v7-Emulator
ccf377023b0399dc55675577c713ca7440000a80
[ "BSD-2-Clause" ]
null
null
null
src/Network/msg.cpp
COPS-Projects/COPS-v7-Emulator
ccf377023b0399dc55675577c713ca7440000a80
[ "BSD-2-Clause" ]
5
2016-06-27T04:17:38.000Z
2021-08-12T12:15:04.000Z
/** * ****** COPS v7 Emulator - Open Source ****** * Copyright (C) 2012 - 2014 Jean-Philippe Boivin * * Please read the WARNING, DISCLAIMER and PATENTS * sections in the LICENSE file. */ #include "msg.h" #include "allmsg.h" #include "client.h" /* static */ void Msg :: create(Msg** aOutMsg, uint8_t** aBuf, size_...
21.505814
65
0.509057
COPS-Projects
75ecbc30360cab50d035d6e473945fba4c83f90a
891
cpp
C++
src/ripple/unity/overlay1.cpp
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
5
2019-01-23T04:36:03.000Z
2020-02-04T07:10:39.000Z
src/ripple/unity/overlay1.cpp
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
null
null
null
src/ripple/unity/overlay1.cpp
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
2
2019-05-14T07:26:59.000Z
2020-06-15T07:25:01.000Z
//此源码被清华学神尹成大魔王专业翻译分析并修改 //尹成QQ77025077 //尹成微信18510341407 //尹成所在QQ群721929980 //尹成邮箱 yinc13@mails.tsinghua.edu.cn //尹成毕业于清华大学,微软区块链领域全球最有价值专家 //https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 //———————————————————————————————————————————————————————————————————————————————————————————————————————————————— /* ...
26.205882
114
0.599327
yinchengtsinghua
75f31c3e5865130df470158093c4662bdb636b11
11,143
cpp
C++
lib/FileHandler.cpp
OMAS-IIIF/cserve
8932ed36fa6f1935b3db97ed556f876e2e459c4b
[ "MIT" ]
1
2021-06-24T06:10:07.000Z
2021-06-24T06:10:07.000Z
lib/FileHandler.cpp
OMAS-IIIF/cserve
8932ed36fa6f1935b3db97ed556f876e2e459c4b
[ "MIT" ]
null
null
null
lib/FileHandler.cpp
OMAS-IIIF/cserve
8932ed36fa6f1935b3db97ed556f876e2e459c4b
[ "MIT" ]
null
null
null
// // Created by Lukas Rosenthaler on 29.06.21. // #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <vector> #include "Cserve.h" #include "FileHandler.h" #include "Parsing.h" static const char __file__[] = __FILE__; namespace cserve { /*! * This is the normal file handler that just...
42.368821
131
0.467827
OMAS-IIIF
75f519b89a315ae63227b2cd9b5f23021d912875
189
cpp
C++
IntroductionToCpp/TextAndBinaryFiles/main.cpp
Trey0303/IntroToCpp
6aea72df60a1dfa80dbeb0d4f90a37fdaf3721b7
[ "MIT" ]
null
null
null
IntroductionToCpp/TextAndBinaryFiles/main.cpp
Trey0303/IntroToCpp
6aea72df60a1dfa80dbeb0d4f90a37fdaf3721b7
[ "MIT" ]
null
null
null
IntroductionToCpp/TextAndBinaryFiles/main.cpp
Trey0303/IntroToCpp
6aea72df60a1dfa80dbeb0d4f90a37fdaf3721b7
[ "MIT" ]
null
null
null
//#include <cstdlib> #include <iostream> //#include <cstring> #include <fstream> #include <string> #include "TextAndBinary.h" int main() { digitalPrinter(); //myInfo(); return 0; }
11.117647
26
0.661376
Trey0303
75f8fca1e859d824eec7928a912257a5df9b9629
1,269
cpp
C++
LeetCode/Problems/Algorithms/#44_WildcardMatching_sol5_dp_236ms_11.6MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#44_WildcardMatching_sol5_dp_236ms_11.6MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#44_WildcardMatching_sol5_dp_236ms_11.6MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { public: bool isMatch(string s, string p) { s = "#" + s; p = "#" + p; int n = (int)s.length() - 1; int m = (int)p.length() - 1; vector<vector<bool>> dp(n + 1, vector<bool>(m + 1, false)); // dp[i][j] = 1, if p[0 .. j] matche...
37.323529
91
0.305753
Tudor67
75fb6a3828f90a17ade3fc6890d65235837e02b8
540
cpp
C++
etc/chokudai_S002/j/main.cpp
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
3
2019-06-25T06:17:38.000Z
2019-07-13T15:18:51.000Z
etc/chokudai_S002/j/main.cpp
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
null
null
null
etc/chokudai_S002/j/main.cpp
wotsushi/competitive-programming
17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86
[ "MIT" ]
null
null
null
#include "template.hpp" int main() { ll(N); vll(A, B, N); auto f = [&](ll x) { ll res = 0; for (ll i = 1; i * i <= x; ++i) { if (x % i != 0) { continue; } bool ok = true; rep(j, 1, N) { ok &= (A[j] % i == 0) or (B[j] % i == 0); } if (ok) { chmax(res, i); ...
19.285714
72
0.337037
wotsushi
75fe2f8a67961413d9e8effc90e80e099015fa04
1,536
cpp
C++
SparseMatrix.cpp
Aman-Chopra/DataStructure-Algorithms
fc5ed6ebe97032200b93c1ade783d4a5ed2fdd25
[ "MIT" ]
null
null
null
SparseMatrix.cpp
Aman-Chopra/DataStructure-Algorithms
fc5ed6ebe97032200b93c1ade783d4a5ed2fdd25
[ "MIT" ]
3
2016-06-09T07:46:15.000Z
2017-05-06T07:56:18.000Z
SparseMatrix.cpp
Aman-Chopra/DataStructure-Algorithms
fc5ed6ebe97032200b93c1ade783d4a5ed2fdd25
[ "MIT" ]
4
2016-06-09T07:14:37.000Z
2021-05-21T22:07:20.000Z
#include <iostream> #include <cstdlib> #define size 20 using namespace std; class SparseMatrix { private: int r,c,v; public: SparseMatrix() { r=c=v=0; } void create(SparseMatrix*,int,int); void display(SparseMatrix*); void transpose(SparseMatrix*,SparseMatrix*); }; void SparseMatrix::crea...
16.516129
69
0.54362
Aman-Chopra
2f058a35f946a54f5cf3a1e65666dcc61cfb2bef
3,309
cpp
C++
src/SteeringCalculator.cpp
haiderali711/Cyber-Physical-Systems-and-Systems-of-Systems-
a116c25bc06d43014d9fd6441823ac0d6e9db746
[ "MIT" ]
null
null
null
src/SteeringCalculator.cpp
haiderali711/Cyber-Physical-Systems-and-Systems-of-Systems-
a116c25bc06d43014d9fd6441823ac0d6e9db746
[ "MIT" ]
null
null
null
src/SteeringCalculator.cpp
haiderali711/Cyber-Physical-Systems-and-Systems-of-Systems-
a116c25bc06d43014d9fd6441823ac0d6e9db746
[ "MIT" ]
null
null
null
#include "SteeringCalculator.hpp" #include "ConeDetection.hpp" #include <iostream> //declaration of Variables related Image segmentation and color detection int SEGMENTS = 10; double STEERING_LIMIT = 0.290888; double STEERING_ANGLE= 0.00; double CONSTANT = STEERING_LIMIT / sin(1); double SteeringCalculator::calcul...
38.034483
130
0.601088
haiderali711
2f1002a5a87a927baf3c5906928b2221793f1844
2,332
cpp
C++
src/command.cpp
natemc/dkvs
0f417dc2fb67f6e9495da52dbefb1fa2e62a6099
[ "MIT" ]
null
null
null
src/command.cpp
natemc/dkvs
0f417dc2fb67f6e9495da52dbefb1fa2e62a6099
[ "MIT" ]
null
null
null
src/command.cpp
natemc/dkvs
0f417dc2fb67f6e9495da52dbefb1fa2e62a6099
[ "MIT" ]
null
null
null
#include <command.h> #include <doctest.h> #include <iostream> using namespace std::literals; namespace { std::string_view trim(std::string_view s) { constexpr auto ws = "\b\n\r\t "; s.remove_prefix(std::min(s.find_first_not_of(ws), s.size())); const auto p = s.find_last_not_of(ws); ...
37.015873
93
0.582333
natemc
2f118ded400027a756389702c763fde452281040
223
cpp
C++
Chapter_05/Source/Chapter_05/Chapter_05.cpp
CoolHandNick80/Unreal-Engine-4.x-Scripting-with-C-Cookbook---Second-edition
4ceb7a6f61cb9e1301def08a4a0aa1759c0659be
[ "MIT" ]
1
2020-10-26T10:11:26.000Z
2020-10-26T10:11:26.000Z
Chapter_05/Source/Chapter_05/Chapter_05.cpp
CoolHandNick80/Unreal-Engine-4.x-Scripting-with-C-Cookbook---Second-edition
4ceb7a6f61cb9e1301def08a4a0aa1759c0659be
[ "MIT" ]
null
null
null
Chapter_05/Source/Chapter_05/Chapter_05.cpp
CoolHandNick80/Unreal-Engine-4.x-Scripting-with-C-Cookbook---Second-edition
4ceb7a6f61cb9e1301def08a4a0aa1759c0659be
[ "MIT" ]
1
2020-10-26T10:11:36.000Z
2020-10-26T10:11:36.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "Chapter_05.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Chapter_05, "Chapter_05" );
31.857143
82
0.807175
CoolHandNick80
2f1568f3252fecbdbeecc0afe633150406dcead7
59
cpp
C++
src/pile.cpp
yosiasm/deerportal
db8d1b4d06421f9db0dffe3d1439fd7ac9b743ea
[ "Zlib" ]
30
2016-06-30T19:52:15.000Z
2021-07-16T23:05:52.000Z
src/pile.cpp
bluszcz/deerportal
128f22816f1fce7f41f349e02db8baf5548529ac
[ "Zlib" ]
35
2016-05-22T23:11:52.000Z
2019-10-21T15:40:02.000Z
src/pile.cpp
bluszcz/deerportal
128f22816f1fce7f41f349e02db8baf5548529ac
[ "Zlib" ]
11
2016-07-08T09:16:32.000Z
2022-01-19T12:40:36.000Z
#include "pile.h" Pile::Pile() { elementNumber = 0; }
8.428571
22
0.576271
yosiasm
2f1f629e772052904106b8a4f71fb62f32550da0
10,772
hpp
C++
include/sisl/lattice/2d/cartesian_planar.hpp
jjh13/sisl_redux
e4c276e0661729e9f4cfff4828f1ed31401601cd
[ "MIT" ]
2
2017-11-01T16:12:43.000Z
2017-11-19T22:07:44.000Z
include/sisl/lattice/2d/cartesian_planar.hpp
jjh13/sisl_redux
e4c276e0661729e9f4cfff4828f1ed31401601cd
[ "MIT" ]
1
2017-11-19T22:07:33.000Z
2018-01-05T18:36:24.000Z
include/sisl/lattice/2d/cartesian_planar.hpp
jjh13/sisl
e4c276e0661729e9f4cfff4828f1ed31401601cd
[ "MIT" ]
null
null
null
/** * cartesian_planar.hpp * * A specialized implementation of the planar Cartesian lattice. * * @author Joshua Horacsek */ #include <sisl/primitives.hpp> #include <sisl/lattice/base_lattice.hpp> #include <sisl/memory/array.hpp> #include <functional> #include <vector> #ifndef __SISL_CART_PLANAR_LATTICE__ #defin...
31.497076
110
0.536112
jjh13
2f215287fb7c1ba85d36be21656c3b6a0b6c522f
497
cpp
C++
uva/10551.cpp
larc/competitive_programming
deccd7152a14adf217c58546d1cf8ac6b45f1c52
[ "MIT" ]
1
2019-05-23T19:05:39.000Z
2019-05-23T19:05:39.000Z
uva/10551.cpp
larc/oremor
deccd7152a14adf217c58546d1cf8ac6b45f1c52
[ "MIT" ]
null
null
null
uva/10551.cpp
larc/oremor
deccd7152a14adf217c58546d1cf8ac6b45f1c52
[ "MIT" ]
null
null
null
// 10551 - Basic Remains #include <cstdio> int to_base(int n, const int & b_in, const int & b_out) { int r = 0; int p = 1; while(n) { r += (n % b_out) * p; p *= b_in; n /= b_out; } return r; } int main() { int b, m; char p[1001]; long long r; while(scanf("%d", &b) && b) { scanf("%s %d", p, &m);...
11.295455
55
0.450704
larc
2f22cde5ead1a3ba51d76886adf48db0b99a5c58
3,840
cpp
C++
src/tools/win32/registry.cpp
cstrahan/argss
cc595bd9a1e4a2c079ea181ff26bdd58d9e65ace
[ "BSD-2-Clause" ]
1
2015-02-12T01:24:04.000Z
2015-02-12T01:24:04.000Z
src/tools/win32/registry.cpp
cstrahan/argss
cc595bd9a1e4a2c079ea181ff26bdd58d9e65ace
[ "BSD-2-Clause" ]
null
null
null
src/tools/win32/registry.cpp
cstrahan/argss
cc595bd9a1e4a2c079ea181ff26bdd58d9e65ace
[ "BSD-2-Clause" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // ARGSS - Copyright (c) 2009 - 2010, Alejandro Marzini (vgvgf) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // ar...
33.684211
94
0.573438
cstrahan
2f23b4ded96ac50b1dc945ca7b4aa47afb8519ad
2,560
cpp
C++
libwliotproxy-simple/src/Device.cpp
ooolms/wl_iot_framework
77f5d577105d505fd1c5a21940f29b72eb3391ea
[ "Apache-2.0" ]
null
null
null
libwliotproxy-simple/src/Device.cpp
ooolms/wl_iot_framework
77f5d577105d505fd1c5a21940f29b72eb3391ea
[ "Apache-2.0" ]
null
null
null
libwliotproxy-simple/src/Device.cpp
ooolms/wl_iot_framework
77f5d577105d505fd1c5a21940f29b72eb3391ea
[ "Apache-2.0" ]
null
null
null
/******************************************* Copyright 2017 OOO "LMS" 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 ...
20.48
88
0.730078
ooolms
2f29e8dfda804090afb9ae3c1ab328bdee1da56e
5,038
cpp
C++
engine/gui.cpp
tapio/weep
aca40e3ce20eae4ce183a98ab707ac65c4be4e63
[ "MIT" ]
33
2017-01-13T20:47:21.000Z
2022-03-21T23:29:17.000Z
engine/gui.cpp
tapio/weep
aca40e3ce20eae4ce183a98ab707ac65c4be4e63
[ "MIT" ]
null
null
null
engine/gui.cpp
tapio/weep
aca40e3ce20eae4ce183a98ab707ac65c4be4e63
[ "MIT" ]
4
2016-12-10T16:10:42.000Z
2020-06-28T04:44:11.000Z
#include "gui.hpp" #include "engine.hpp" #include "imgui/imgui_impl_opengl3.h" #include "imgui/imgui_impl_sdl.h" #include <SDL_events.h> using namespace ecs; ImGuiSystem::ImGuiSystem(SDL_Window* window, void* gl_context) { IMGUI_CHECKVERSION(); m_imguiContext = ImGui::CreateContext(); ImGuiIO& io = ImGui::GetIO();...
32.294872
113
0.714371
tapio
2f2b23c7b5aabbff683f4773113b0496324f6bea
1,284
cpp
C++
Sorting/utils.cpp
bvanberl/DSA
a9f62afec9a25d0fae9c46059836c6489eaa5b5a
[ "MIT" ]
null
null
null
Sorting/utils.cpp
bvanberl/DSA
a9f62afec9a25d0fae9c46059836c6489eaa5b5a
[ "MIT" ]
null
null
null
Sorting/utils.cpp
bvanberl/DSA
a9f62afec9a25d0fae9c46059836c6489eaa5b5a
[ "MIT" ]
null
null
null
#include "utils.h" /* Swaps two elements in an array -a: index of element 1 -b: index of element 2 */ void swap(int *a, int *b) { int temp = *a; *a = *b; *b = temp; } /* Produces a string depicting the contents of an array -arr: array to print -n: size of array */ string stringifyArray(int arr[], int n) { string ...
15.851852
64
0.604361
bvanberl
2f30485895297503d2947a04fe47bbd66369121b
6,392
cpp
C++
src/gb/memory/banking.cpp
destoer/destoer-emu
2a7941b175126e998eed2df8df87ee382c43d0b1
[ "BSD-3-Clause" ]
20
2020-01-19T21:54:23.000Z
2021-11-28T17:27:15.000Z
src/gb/memory/banking.cpp
destoer/destoer-emu
2a7941b175126e998eed2df8df87ee382c43d0b1
[ "BSD-3-Clause" ]
3
2020-05-01T07:46:10.000Z
2021-09-18T13:50:18.000Z
src/gb/memory/banking.cpp
destoer/destoer-emu
2a7941b175126e998eed2df8df87ee382c43d0b1
[ "BSD-3-Clause" ]
null
null
null
#include <gb/gb.h> namespace gameboy { // 0x0000 - 0x1fff void Memory::ram_bank_enable(uint16_t address, uint8_t v) noexcept { UNUSED(address); // no ram banks present dont enable them if(!rom_info.no_ram_banks) { return; } // if data is = 0xa enable ram enable_ram = ((v & 0xf) == 0xa)...
20.686084
93
0.661452
destoer
2f34b34e2a7279b40834588fdf9ef2b6476022f4
6,534
cpp
C++
targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/TARGET_MTS_DRAGONFLY_L496VG/ONBOARD_QUECTEL_EG25.cpp
adelcrosge1/mbed-os
1443257e40c97141c975f1c5cd7f4cf308a58b5e
[ "Apache-2.0" ]
3,897
2015-09-04T13:42:23.000Z
2022-03-30T16:53:07.000Z
targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/TARGET_MTS_DRAGONFLY_L496VG/ONBOARD_QUECTEL_EG25.cpp
adelcrosge1/mbed-os
1443257e40c97141c975f1c5cd7f4cf308a58b5e
[ "Apache-2.0" ]
13,030
2015-09-17T10:30:05.000Z
2022-03-31T13:36:44.000Z
targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/TARGET_MTS_DRAGONFLY_L496VG/ONBOARD_QUECTEL_EG25.cpp
adelcrosge1/mbed-os
1443257e40c97141c975f1c5cd7f4cf308a58b5e
[ "Apache-2.0" ]
2,950
2015-09-08T19:07:05.000Z
2022-03-31T13:37:23.000Z
/* mbed Microcontroller Library * Copyright (c) 2018 ARM Limited * SPDX-License-Identifier: Apache-2.0 * * 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/li...
29.300448
144
0.689624
adelcrosge1
2f3aeb8d2d184bb235a1c6c1ad6d67b26138186b
2,472
cpp
C++
source/p6_common.cpp
Meta-chan/P6
2323f3f12894d2eb01a777643f69301a368f9c69
[ "MIT" ]
null
null
null
source/p6_common.cpp
Meta-chan/P6
2323f3f12894d2eb01a777643f69301a368f9c69
[ "MIT" ]
null
null
null
source/p6_common.cpp
Meta-chan/P6
2323f3f12894d2eb01a777643f69301a368f9c69
[ "MIT" ]
null
null
null
/* This software is distributed under MIT License, which means: - Do whatever you want - Please keep this notice and include the license file to your project - I provide no warranty Created by Kyrylo Sovailo (github.com/Meta-chan, k.sovailo@gmail.com) Reinventing bicycles since 2020 */ #include ".....
21.128205
81
0.577265
Meta-chan
2f41a1c613598507c1339194decdc270c1daec5a
814
cc
C++
Programming Pearls/column2/radix_find.cc
shishougang/Programming-Pearls
2eca3b752de94da13e4351d96ac756e55e4948f8
[ "Apache-2.0" ]
2
2017-08-29T01:22:23.000Z
2019-10-09T02:53:42.000Z
Programming Pearls/column2/radix_find.cc
shishougang/Programming-Pearls
2eca3b752de94da13e4351d96ac756e55e4948f8
[ "Apache-2.0" ]
null
null
null
Programming Pearls/column2/radix_find.cc
shishougang/Programming-Pearls
2eca3b752de94da13e4351d96ac756e55e4948f8
[ "Apache-2.0" ]
4
2016-01-03T22:49:32.000Z
2021-12-27T12:34:54.000Z
#include <iostream> // NOLINT using std::cout; using std::endl; #include <utility> using std::swap; enum FindErrors { kFind = 0, kNotFind, }; FindErrors RadixFindDuplicate(int *array, int n, int *dup_num) { for (int i = 0; i < n; ++i) { while (i != array[i]) { if (array[i] == array[array[i]]) { ...
21.421053
66
0.57371
shishougang
2f445e363608a8986fd7cc0c1c69050110a37383
1,405
hpp
C++
src/libv/update/update_server/update_server.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
2
2018-04-11T03:07:03.000Z
2019-03-29T15:24:12.000Z
src/libv/update/update_server/update_server.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
null
null
null
src/libv/update/update_server/update_server.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
1
2021-06-13T06:39:06.000Z
2021-06-13T06:39:06.000Z
// Project: libv.update, File: src/libv/update/update_server/update_server.hpp, Author: Császár Mátyás [Vader] #pragma once // libv #include <libv/mt/hardware_concurrency.hpp> #include <libv/net/address.hpp> #include <libv/net/io_context.hpp> #include <libv/net/mtcp/endpoint.hpp> // std #include <memory> #include <st...
24.649123
155
0.64911
cpplibv
2f49083d78d827923d2b4d6ed89aba4b8d17ee7f
21,099
cpp
C++
source/runtime.cpp
alexshafranov/corridormap
fee9944c600952eaf5f973a08c216c48feaae8fe
[ "MIT" ]
10
2016-01-22T19:26:19.000Z
2021-04-26T23:24:46.000Z
source/runtime.cpp
alexshafranov/corridormap
fee9944c600952eaf5f973a08c216c48feaae8fe
[ "MIT" ]
null
null
null
source/runtime.cpp
alexshafranov/corridormap
fee9944c600952eaf5f973a08c216c48feaae8fe
[ "MIT" ]
1
2019-03-01T05:50:41.000Z
2019-03-01T05:50:41.000Z
// // Copyright (c) 2014 Alexander Shafranov <shafranov@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use...
30.012802
179
0.577042
alexshafranov
2f4bf17b390efda92b3a77b4794879defcfb32ac
121
cpp
C++
W1/Project 3/Source1.cpp
katookei/Code202
0b046e9f8812de00405c14e512da50c8c6ece378
[ "MIT" ]
null
null
null
W1/Project 3/Source1.cpp
katookei/Code202
0b046e9f8812de00405c14e512da50c8c6ece378
[ "MIT" ]
null
null
null
W1/Project 3/Source1.cpp
katookei/Code202
0b046e9f8812de00405c14e512da50c8c6ece378
[ "MIT" ]
null
null
null
#include "Header.h" int main() { point a, b, c; a.points(b, c); a.save(b, c); system("pause"); return 0; }
12.1
20
0.520661
katookei
2f50c331b1704420fc18741f2cb7d91d03045fb5
1,830
hpp
C++
src/common.hpp
countMonteCristo/editor
1e4ff8a93a3cc59d62fc498ec422d7609d3eec65
[ "MIT" ]
1
2021-12-14T10:14:29.000Z
2021-12-14T10:14:29.000Z
src/common.hpp
countMonteCristo/editor
1e4ff8a93a3cc59d62fc498ec422d7609d3eec65
[ "MIT" ]
null
null
null
src/common.hpp
countMonteCristo/editor
1e4ff8a93a3cc59d62fc498ec422d7609d3eec65
[ "MIT" ]
null
null
null
#ifndef COMMON_HPP_ #define COMMON_HPP_ #include "la.hpp" #include "logger.hpp" #include <SDL2/SDL.h> #include <SDL2/SDL_ttf.h> #include <string> #include <vector> #define UNUSED(x) (void)(x) constexpr int FONT_SCALE = 1; #define FONT_RENDER_SOLID 0 #define FONT_RENDER_SHADED 1 #define FONT_RENDER_BLENDED 2 #if...
22.875
101
0.674317
countMonteCristo
2f514db4cde234f744759fd1fa08809ea9535ad0
400
cpp
C++
oclint-metrics/lib/WmcMetric.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
null
null
null
oclint-metrics/lib/WmcMetric.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
null
null
null
oclint-metrics/lib/WmcMetric.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
null
null
null
#include "oclint/metric/WmcMetric.h" #include "oclint/util/ASTUtil2.h" #include "oclint/metric/CyclomaticComplexityMetric.h" #include <iostream> using namespace oclint; int WmcMetric::measure(clang::RecordDecl *decl) { sum = 0; TraverseDecl(decl); return sum; } bool WmcMetric::VisitFunctionDecl(clang::Fu...
21.052632
60
0.735
BGU-AiDnD
2f522a4b67377ccc1a6dcef2d7b7d3af64d9a030
4,613
hpp
C++
graphics/opengl_canvas.hpp
cookingclub/polarity
187f8ac33e873f649ff3faea2f3ed60815cba9ef
[ "BSD-2-Clause" ]
4
2015-09-03T04:49:35.000Z
2017-11-21T22:25:30.000Z
graphics/opengl_canvas.hpp
cookingclub/polarity
187f8ac33e873f649ff3faea2f3ed60815cba9ef
[ "BSD-2-Clause" ]
null
null
null
graphics/opengl_canvas.hpp
cookingclub/polarity
187f8ac33e873f649ff3faea2f3ed60815cba9ef
[ "BSD-2-Clause" ]
null
null
null
#ifndef POLARITY_GRAPHICS_OPENGL_CANVAS_HPP__ #define POLARITY_GRAPHICS_OPENGL_CANVAS_HPP__ #ifdef __APPLE__ #define GL_GLEXT_PROTOTYPES #include <OpenGL/gl.h> #include <OpenGL/glext.h> #else #ifdef USE_GLES #include "GLES2/gl2.h" #else #define GL_GLEXT_PROTOTYPES #include <GL/gl.h> #include <GL/glext.h> #endif #endif...
26.511494
113
0.68437
cookingclub
2f5518dbf1ccb75927243d4df97551b727c1859d
43,412
cpp
C++
op_planner/src/control/op_controller.cpp
robdoll/common
cbdd7011c1fc99bff83ab5827ec851e99f5f9922
[ "Apache-2.0" ]
1
2021-12-25T15:50:31.000Z
2021-12-25T15:50:31.000Z
op_planner/src/control/op_controller.cpp
robdoll/common
cbdd7011c1fc99bff83ab5827ec851e99f5f9922
[ "Apache-2.0" ]
null
null
null
op_planner/src/control/op_controller.cpp
robdoll/common
cbdd7011c1fc99bff83ab5827ec851e99f5f9922
[ "Apache-2.0" ]
1
2021-09-22T12:16:01.000Z
2021-09-22T12:16:01.000Z
/// \file op_controller.cpp /// \brief PID based trajectory follower and velocity controller /// \author Hatem Darweesh /// \date July 04, 2020 #include "op_planner/control/op_controller.h" #include "op_planner/PlanningHelpers.h" #include <cmath> #include <stdlib.h> #include <iostream> namespace PlannerHNS { Motion...
36.419463
215
0.757509
robdoll
016ac7d5bd5362164063665afb6d62906129e37a
3,904
cpp
C++
src/gui/GUICanvas.cpp
Ghimli/new-ospgl
31bd84e52d954683671211ff16ce8702bdb87312
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/gui/GUICanvas.cpp
Ghimli/new-ospgl
31bd84e52d954683671211ff16ce8702bdb87312
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/gui/GUICanvas.cpp
Ghimli/new-ospgl
31bd84e52d954683671211ff16ce8702bdb87312
[ "MIT", "BSD-3-Clause" ]
null
null
null
#include "GUICanvas.h" #include <util/Logger.h> std::pair<GUICanvas*, GUICanvas*> GUICanvas::divide_h(float nfac) { logger->check(child_0 == nullptr && child_1 == nullptr, "Tried to split a non-leaf GUICanvas"); fac = nfac; child_0 = new GUICanvas(); child_1 = new GUICanvas(); float n_canvas_size = nfac * fact...
20.656085
96
0.675973
Ghimli
017c3a4e5f73aae017eb1c91578f9cfc4ab8a6b3
1,681
cpp
C++
final_version/common/player.cpp
pesaher/VidArch
2f4476e25a3d13b7627ad762b558fcb58232fe7b
[ "BSD-2-Clause" ]
null
null
null
final_version/common/player.cpp
pesaher/VidArch
2f4476e25a3d13b7627ad762b558fcb58232fe7b
[ "BSD-2-Clause" ]
null
null
null
final_version/common/player.cpp
pesaher/VidArch
2f4476e25a3d13b7627ad762b558fcb58232fe7b
[ "BSD-2-Clause" ]
null
null
null
#include "player.h" #include "inputComponent.h" #include "renderComponent.h" #include "healthComponent.h" CPlayer::CPlayer(vec2 position, vec2 size, IBroadcaster* globalBroadcaster) : CEntity(position, size, globalBroadcaster) { IBroadcaster* input = new CInputComponent(globalBroadcaster, this); m_childBroadcasters....
35.020833
120
0.794765
pesaher