hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
f150a727cad6a3e7269e4ced9a2a70305180e5ea
6,816
hpp
C++
include/intent/utils/Logger.hpp
open-intent-io/open-intent
57d8c4fc89c038f51138d51e776880e728152194
[ "MIT" ]
47
2016-07-05T15:20:33.000Z
2021-08-06T05:38:33.000Z
include/intent/utils/Logger.hpp
open-intent-io/open-intent
57d8c4fc89c038f51138d51e776880e728152194
[ "MIT" ]
30
2016-07-03T22:42:11.000Z
2017-11-17T15:58:10.000Z
include/intent/utils/Logger.hpp
open-intent-io/open-intent
57d8c4fc89c038f51138d51e776880e728152194
[ "MIT" ]
8
2016-07-22T20:07:58.000Z
2017-11-05T10:40:29.000Z
/* |---------------------------------------------------------| | ___ ___ _ _ | | / _ \ _ __ ___ _ __ |_ _|_ __ | |_ ___ _ __ | |_ | | | | | | '_ \ / _ \ '_ \ | || '_ \| __/ _ \ '_ \| __| | | | |_| | |_) | __/ | | || || | | | || __/ | | | |_ | | \___/| .__/ \...
30.841629
79
0.606808
open-intent-io
f15150a1d26756736ba76e08aba31173a98f6fe0
1,631
hpp
C++
PhysicsSandbox/Physics2dTCS/Physics2dStandardTCS.hpp
jodavis42/PhysicsSandbox
3119caaa77721041440cdc1b3cf96d4bd9e2d98b
[ "MIT" ]
1
2022-03-26T21:08:19.000Z
2022-03-26T21:08:19.000Z
PhysicsSandbox/Physics2dTCS/Physics2dStandardTCS.hpp
jodavis42/PhysicsSandbox
3119caaa77721041440cdc1b3cf96d4bd9e2d98b
[ "MIT" ]
null
null
null
PhysicsSandbox/Physics2dTCS/Physics2dStandardTCS.hpp
jodavis42/PhysicsSandbox
3119caaa77721041440cdc1b3cf96d4bd9e2d98b
[ "MIT" ]
null
null
null
#pragma once #include "Common/CommonStandard.hpp" #include "Physics2dCore/Detection/Broadphase/BroadphaseLayerType.hpp" namespace SandboxGeometry { class Ray2d; class RayResult2d; }//SandboxBroadphase2d namespace SandboxBroadphase2d { class IBroadphase2d; }//SandboxBroadphase2d namespace Physics2dCore { class...
22.652778
73
0.83691
jodavis42
f153798264f9e5ceabb5a78ff90e481c3147998f
5,048
cxx
C++
main/oox/source/drawingml/colorchoicecontext.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/oox/source/drawingml/colorchoicecontext.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/oox/source/drawingml/colorchoicecontext.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
32.152866
117
0.590729
Grosskopf
f154891fe957b8a229fd4fc55bc08da83cf36c73
1,549
cpp
C++
Examples/SceneSwitch/src/main.cpp
dodoknight/CogEngine
fda1193c2d1258ba9780e1025933d33a8dce2284
[ "MIT" ]
3
2016-06-01T10:14:00.000Z
2016-10-11T15:53:45.000Z
Examples/SceneSwitch/src/main.cpp
dormantor/ofxCogEngine
fda1193c2d1258ba9780e1025933d33a8dce2284
[ "MIT" ]
null
null
null
Examples/SceneSwitch/src/main.cpp
dormantor/ofxCogEngine
fda1193c2d1258ba9780e1025933d33a8dce2284
[ "MIT" ]
1
2020-08-15T17:01:00.000Z
2020-08-15T17:01:00.000Z
#include "ofxCogMain.h" #include "BehaviorEnt.h" #include "NodeBuilder.h" #include "ofxTextLabel.h" #include "NetworkManager.h" #include "Mesh.h" #include "NetMessage.h" #include "Interpolator.h" #include "AttribAnimator.h" #include "UpdateMessage.h" #include "Stage.h" #include "LuaScripting.h" /* * * The code below...
21.513889
82
0.701097
dodoknight
f1593e60eb478e7426da26ba59ec367786c7a7c7
18,733
cpp
C++
Source/AccelByteUe4Sdk/Private/Api/AccelByteEntitlementApi.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
Source/AccelByteUe4Sdk/Private/Api/AccelByteEntitlementApi.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
Source/AccelByteUe4Sdk/Private/Api/AccelByteEntitlementApi.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
// Copyright (c) 2018 - 2020 AccelByte Inc. All Rights Reserved. // This is licensed software from AccelByte Inc, for limitations // and restrictions contact your company contract manager. #include "Api/AccelByteEntitlementApi.h" #include "Core/AccelByteError.h" #include "Core/AccelByteRegistry.h" #include "Core/Accel...
43.363426
373
0.746917
leowind
f1598a41dbce24d7e5924bfd644a22825be54e6d
5,663
cpp
C++
src/core/analyzer/StandardTokenizer.cpp
SRCH2/srch2-ngn
925f36971aa6a8b31cdc59f7992790169e97ee00
[ "BSD-3-Clause" ]
14
2016-01-15T20:26:54.000Z
2018-11-26T20:47:43.000Z
src/core/analyzer/StandardTokenizer.cpp
SRCH2/srch2-ngn
925f36971aa6a8b31cdc59f7992790169e97ee00
[ "BSD-3-Clause" ]
2
2016-04-26T05:29:01.000Z
2016-05-07T00:13:38.000Z
src/core/analyzer/StandardTokenizer.cpp
SRCH2/srch2-ngn
925f36971aa6a8b31cdc59f7992790169e97ee00
[ "BSD-3-Clause" ]
7
2016-02-27T11:35:59.000Z
2018-11-26T20:47:59.000Z
/* * Copyright (c) 2016, SRCH2 * 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 conditions ...
41.036232
127
0.640473
SRCH2
f15dfc458f630348f1f54efe4cc1c3112c668762
3,125
cpp
C++
src/Lib/Messaging/Message.cpp
gravitationalwavedc/gwcloud_job_server
fb96ed1dc6baa240d1a38ac1adcd246577285294
[ "MIT" ]
null
null
null
src/Lib/Messaging/Message.cpp
gravitationalwavedc/gwcloud_job_server
fb96ed1dc6baa240d1a38ac1adcd246577285294
[ "MIT" ]
8
2020-06-06T08:39:37.000Z
2021-09-22T18:01:47.000Z
src/Lib/Messaging/Message.cpp
gravitationalwavedc/gwcloud_job_server
fb96ed1dc6baa240d1a38ac1adcd246577285294
[ "MIT" ]
null
null
null
// // Created by lewis on 2/26/20. // #include "Message.h" #include <utility> #include "../../Cluster/Cluster.h" using namespace std; #ifdef BUILD_TESTS Message::Message(uint32_t msgId) { // Constructor only used for testing // Resize the data array to 64kb data.reserve(1024 * 64); // Reset the in...
21.258503
89
0.54848
gravitationalwavedc
f15f88b741604ccfffcee89d8b457a4d06de6c7f
949
cpp
C++
src/logic/role/role_manager.cpp
lanhuanjun/game_server
64fb7ca39db776fa9471f4c71a76c31759ace7a4
[ "MIT" ]
null
null
null
src/logic/role/role_manager.cpp
lanhuanjun/game_server
64fb7ca39db776fa9471f4c71a76c31759ace7a4
[ "MIT" ]
1
2020-01-15T12:46:05.000Z
2020-01-15T12:46:05.000Z
src/logic/role/role_manager.cpp
lanhuanjun/game_server
64fb7ca39db776fa9471f4c71a76c31759ace7a4
[ "MIT" ]
null
null
null
#include "role_manager.h" #include "role_rmi.h" #include <third-party/coroutine/gs_co.h> #include <core/tools/gs_random.h> MNG_IMPL(role, IRoleManager, CRoleManager) CRoleManager::CRoleManager() : m_last_call(0) { } CRoleManager::~CRoleManager() { } void CRoleManager::Init() { } void CRoleManager::...
19.367347
50
0.610116
lanhuanjun
f161a296a2b14adc45ae38221a97574055384874
1,449
hpp
C++
ufora/BackendGateway/ComputedGraph/Typedefs.hpp
ufora/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
571
2015-11-05T20:07:07.000Z
2022-01-24T22:31:09.000Z
ufora/BackendGateway/ComputedGraph/Typedefs.hpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
218
2015-11-05T20:37:55.000Z
2021-05-30T03:53:50.000Z
ufora/BackendGateway/ComputedGraph/Typedefs.hpp
timgates42/ufora
04db96ab049b8499d6d6526445f4f9857f1b6c7e
[ "Apache-2.0", "CC0-1.0", "MIT", "BSL-1.0", "BSD-3-Clause" ]
40
2015-11-07T21:42:19.000Z
2021-05-23T03:48:19.000Z
/*************************************************************************** Copyright 2015 Ufora Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licen...
23.370968
77
0.6853
ufora
f1656e7e7093214be79d698b5e333ad40b8117f4
858
cpp
C++
Quasics2017Code/Nike/src/Commands/Lights/SetLightColor.cpp
quasics/quasics-frc-sw-2015
e5a4f1b4e209ba941f12c2cc41759854f3c5420b
[ "BSD-3-Clause" ]
5
2016-12-16T19:05:05.000Z
2021-03-05T01:23:27.000Z
Quasics2017Code/Nike-2018/src/Commands/Lights/SetLightColor.cpp
quasics/quasics-frc-sw-2015
e5a4f1b4e209ba941f12c2cc41759854f3c5420b
[ "BSD-3-Clause" ]
null
null
null
Quasics2017Code/Nike-2018/src/Commands/Lights/SetLightColor.cpp
quasics/quasics-frc-sw-2015
e5a4f1b4e209ba941f12c2cc41759854f3c5420b
[ "BSD-3-Clause" ]
2
2020-01-03T01:52:43.000Z
2022-02-02T01:23:45.000Z
#include "SetLightColor.h" SetLightColor::SetLightColor(ArduinoController::ColorMode colorMode) { // Use Requires() here to declare subsystem dependencies // eg. Requires(Robot::chassis.get()); Requires(Robot::arduinoController.get()); kColorMode = colorMode; } // Called just before this Command runs the first ti...
24.514286
75
0.757576
quasics
f166428d95194f06fca58d2691a7c5a2a98b55c8
243
cpp
C++
main.cpp
Milerius/make_ui_great_again
c00ae4c5aab5d23ef7db1fe2052786ea57c580f4
[ "MIT" ]
1
2019-12-22T16:57:13.000Z
2019-12-22T16:57:13.000Z
main.cpp
Milerius/make_ui_great_again
c00ae4c5aab5d23ef7db1fe2052786ea57c580f4
[ "MIT" ]
null
null
null
main.cpp
Milerius/make_ui_great_again
c00ae4c5aab5d23ef7db1fe2052786ea57c580f4
[ "MIT" ]
null
null
null
// // Created by Roman Szterg on 18/12/2019. // #include "ui.wrapper.hpp" int main() { antara_gui gui("example", 200, 200); while (not gui.is_close()) { gui.pre_update(); gui.show_demo(); gui.update(); } }
16.2
41
0.555556
Milerius
f16775511f36e93433292026986065f31f690529
1,683
hpp
C++
lib/fizzy/leb128.hpp
imapp-pl/fizzy
69e154ad7b910809f2219839d328b93168020135
[ "Apache-2.0" ]
null
null
null
lib/fizzy/leb128.hpp
imapp-pl/fizzy
69e154ad7b910809f2219839d328b93168020135
[ "Apache-2.0" ]
null
null
null
lib/fizzy/leb128.hpp
imapp-pl/fizzy
69e154ad7b910809f2219839d328b93168020135
[ "Apache-2.0" ]
null
null
null
#pragma once #include "types.hpp" #include <cstdint> #include <stdexcept> namespace fizzy { template <typename T> std::pair<T, const uint8_t*> leb128u_decode(const uint8_t* input) { static_assert(!std::numeric_limits<T>::is_signed); T result = 0; int result_shift = 0; for (; result_shift < std::nume...
30.053571
100
0.612002
imapp-pl
f167c1efcef212b5f08300085e2c43bcc7d477af
329
hpp
C++
cpp/include/cg3/common/test_scenes.hpp
tychota/cg3-path-tracer
548519121cacb01a4be835c0bece21238b56f92b
[ "Beerware" ]
null
null
null
cpp/include/cg3/common/test_scenes.hpp
tychota/cg3-path-tracer
548519121cacb01a4be835c0bece21238b56f92b
[ "Beerware" ]
null
null
null
cpp/include/cg3/common/test_scenes.hpp
tychota/cg3-path-tracer
548519121cacb01a4be835c0bece21238b56f92b
[ "Beerware" ]
null
null
null
# pragma once # include "cg3/common/scene.hpp" # include <memory> std::shared_ptr< Scene > create_rt_test_scene( tiny_vec< size_t, 2 > resolution ); std::shared_ptr< Scene > create_pt_test_scene( tiny_vec< size_t, 2 > resolution ); std::shared_ptr< Scene > create_cornell_box_test_scene( tiny_vec< size_t, 2 > resol...
27.416667
91
0.744681
tychota
f167c309a65dcaef7f40a57b865f68687cdcdfc5
8,673
cpp
C++
test/posix/integration/stat/stat_tests.cpp
jaeh/IncludeOS
1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02
[ "Apache-2.0" ]
3,673
2015-12-01T22:14:02.000Z
2019-03-22T03:07:20.000Z
test/posix/integration/stat/stat_tests.cpp
jaeh/IncludeOS
1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02
[ "Apache-2.0" ]
960
2015-12-01T20:40:36.000Z
2019-03-22T13:21:21.000Z
test/posix/integration/stat/stat_tests.cpp
AndreasAakesson/IncludeOS
891b960a0a7473c08cd0d93a2bba7569c6d88b48
[ "Apache-2.0" ]
357
2015-12-02T09:32:50.000Z
2019-03-22T09:32:34.000Z
#include <service> #include <info> #include <cassert> #define __SPU__ #include <sys/stat.h> #include <stdlib.h> #include <errno.h> #include <unistd.h> #include <fcntl.h> void print_stat(struct stat buffer); void stat_tests() { int res; char* nullbuf = nullptr; char shortbuf[4]; char buf[1024]; struct stat b...
26.851393
110
0.597717
jaeh
f167c38e4e81c73098fe1565099d4de20e0a5d9d
1,828
cpp
C++
src/mupnp/device/ST.cpp
cybergarage/CyberLink4CC
ccbda234b920ec88a36392102c1d5247c074a734
[ "BSD-3-Clause" ]
null
null
null
src/mupnp/device/ST.cpp
cybergarage/CyberLink4CC
ccbda234b920ec88a36392102c1d5247c074a734
[ "BSD-3-Clause" ]
null
null
null
src/mupnp/device/ST.cpp
cybergarage/CyberLink4CC
ccbda234b920ec88a36392102c1d5247c074a734
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************** * * mUPnP for C++ * * Copyright (C) Satoshi Konno 2002 * * This is licensed under BSD-style license, see file COPYING. * ******************************************************************/ #include <mupnp/device/ST.h> #include <uhttp/util/Stri...
25.746479
68
0.637309
cybergarage
f16c2bc9b7aa5f81849334c7d7ca60f6aff3567a
13,729
cpp
C++
testMultiplePutGet/src/pvaPutGetSleep.cpp
mrkraimer/testClientCPP
2d1608678e173bd36bbf34fe64b4182b00ba4074
[ "MIT" ]
null
null
null
testMultiplePutGet/src/pvaPutGetSleep.cpp
mrkraimer/testClientCPP
2d1608678e173bd36bbf34fe64b4182b00ba4074
[ "MIT" ]
null
null
null
testMultiplePutGet/src/pvaPutGetSleep.cpp
mrkraimer/testClientCPP
2d1608678e173bd36bbf34fe64b4182b00ba4074
[ "MIT" ]
null
null
null
/* * Copyright information and license terms for this software can be * found in the file LICENSE that is included with the distribution */ /** * @author Marty Kraimer * @date 2021.02 */ #include <iostream> #include <time.h> #include <unistd.h> #include <epicsGetopt.h> #include <epicsThread.h> #include <pv/pvAc...
35.845953
111
0.5771
mrkraimer
f16cff1e25753675382ed1c15ea4d3165627f0a0
1,794
cpp
C++
graph-source-code/141-E/3793087.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/141-E/3793087.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/141-E/3793087.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <iostream> #include <vector> #include <algorithm> #include <string> #include <cstdio> using namespace std; const int nmax = 1010; int n,m; int se[nmax][nmax],me[nmax][nmax],u,v; int color_s[nmax],color[nmax]; int nc=1; vector < int > res; void dfs(int u,int c){ color_s[u]...
24.243243
77
0.444259
AmrARaouf
f16d1cdb27f16e68f138487b6cdb79fe5e7f8f74
5,858
hpp
C++
rpc_examples/RpcServer.hpp
cd606/tm_examples
5ea8e9774f5070fbcc073c71c39bcb7febef88a7
[ "Apache-2.0" ]
1
2020-05-22T08:47:00.000Z
2020-05-22T08:47:00.000Z
rpc_examples/RpcServer.hpp
cd606/tm_examples
5ea8e9774f5070fbcc073c71c39bcb7febef88a7
[ "Apache-2.0" ]
null
null
null
rpc_examples/RpcServer.hpp
cd606/tm_examples
5ea8e9774f5070fbcc073c71c39bcb7febef88a7
[ "Apache-2.0" ]
null
null
null
#ifndef RPC_SERVER_HPP_ #define RPC_SERVER_HPP_ #include <tm_kit/infra/GenericLift.hpp> #include <unordered_map> #include "RpcInterface.hpp" namespace rpc_examples { template <class R> auto simpleFacility() -> typename R::template OnOrderFacilityPtr<Input,Output> { using namespace dev::cd...
40.123288
101
0.485831
cd606
f16de14756fc2d2d5852a7a7a9a4b907937f8e5d
1,348
cpp
C++
Plugins/Tweaks/FixArmorDexBonusUnderOne.cpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
111
2018-01-16T18:49:19.000Z
2022-03-13T12:33:54.000Z
Plugins/Tweaks/FixArmorDexBonusUnderOne.cpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
636
2018-01-17T10:05:31.000Z
2022-03-28T20:06:03.000Z
Plugins/Tweaks/FixArmorDexBonusUnderOne.cpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
110
2018-01-16T19:05:54.000Z
2022-03-28T03:44:16.000Z
#include "nwnx.hpp" #include "API/CNWRules.hpp" #include "API/CNWSCreature.hpp" #include "API/CNWSCreatureStats.hpp" #include "API/CNWSInventory.hpp" #include "API/CNWSItem.hpp" #include "API/CTwoDimArrays.hpp" namespace Tweaks { using namespace NWNXLib; using namespace NWNXLib::API; void FixArmorDexBonusUnderOne...
28.680851
123
0.660237
summonFox
f16e00fb02c76edea15ca84b7c9d391418773adc
159
cpp
C++
character/Character.cpp
iliam-12/Bomberman
62c688704e34bf1ec762adc76390a545b056e0cc
[ "MIT" ]
null
null
null
character/Character.cpp
iliam-12/Bomberman
62c688704e34bf1ec762adc76390a545b056e0cc
[ "MIT" ]
null
null
null
character/Character.cpp
iliam-12/Bomberman
62c688704e34bf1ec762adc76390a545b056e0cc
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2021 ** Projects ** File description: ** Character */ #include "Character.hpp" Character::Character() { } Character::~Character() { }
9.9375
24
0.660377
iliam-12
f1703130c69af6364a5de7c77c94f25e1c1c0483
1,850
hpp
C++
debug/client/gdb/TcpTransport.hpp
myArea51/binnavi
021e62dcb7c3fae2a99064b0ea497cb221dc7238
[ "Apache-2.0" ]
3,083
2015-08-19T13:31:12.000Z
2022-03-30T09:22:21.000Z
debug/client/gdb/TcpTransport.hpp
Jason-Cooke/binnavi
b98b191d8132cbde7186b486d23a217fcab4ec44
[ "Apache-2.0" ]
99
2015-08-19T14:42:49.000Z
2021-04-13T10:58:32.000Z
debug/client/gdb/TcpTransport.hpp
Jason-Cooke/binnavi
b98b191d8132cbde7186b486d23a217fcab4ec44
[ "Apache-2.0" ]
613
2015-08-19T14:15:44.000Z
2022-03-26T04:40:55.000Z
// Copyright 2011-2016 Google 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 at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
27.205882
79
0.714595
myArea51
f17333fa914f67298836ac2d09f1dc1d58bbd82f
12,350
cpp
C++
tests/string.tests.cpp
dynamic-static/dynamic_static.string
ea28d847e97d5f83c2051b722f6b4e4f508e55a6
[ "MIT" ]
null
null
null
tests/string.tests.cpp
dynamic-static/dynamic_static.string
ea28d847e97d5f83c2051b722f6b4e4f508e55a6
[ "MIT" ]
null
null
null
tests/string.tests.cpp
dynamic-static/dynamic_static.string
ea28d847e97d5f83c2051b722f6b4e4f508e55a6
[ "MIT" ]
null
null
null
/* ========================================== Copyright (c) 2016-2021 dynamic_static Licensed under the MIT license http://opensource.org/licenses/MIT ========================================== */ #include "dynamic_static/string.hpp" #include "catch2/catch.hpp" namespace dst { namespace tests { static ...
28.196347
128
0.576923
dynamic-static
f1764c9614f45b517ed5a136610b6a355f71f426
1,638
cc
C++
components/permissions/notification_permission_ui_selector.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
components/permissions/notification_permission_ui_selector.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
components/permissions/notification_permission_ui_selector.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/permissions/notification_permission_ui_selector.h" #include "base/optional.h" namespace permissions { // static bool NotificationPe...
32.76
80
0.795482
Ron423c
f176b8bcd1d2f3be8e21be281432fc659e9960be
7,059
cpp
C++
src/lab_extra/compute_shaders/compute_shaders.cpp
MihaiAnghel07/Tema1-Elemente-de-Grafica-pe-Calculator
6f6cc6645d036cf4997f9e8028389cdbb1bb6a56
[ "MIT", "BSD-3-Clause" ]
6
2016-10-10T14:27:17.000Z
2020-10-09T09:31:37.000Z
src/lab_extra/compute_shaders/compute_shaders.cpp
MihaiAnghel07/Tema1-Elemente-de-Grafica-pe-Calculator
6f6cc6645d036cf4997f9e8028389cdbb1bb6a56
[ "MIT", "BSD-3-Clause" ]
9
2021-10-05T11:03:59.000Z
2022-02-25T19:01:53.000Z
src/lab_extra/compute_shaders/compute_shaders.cpp
MihaiAnghel07/Tema1-Elemente-de-Grafica-pe-Calculator
6f6cc6645d036cf4997f9e8028389cdbb1bb6a56
[ "MIT", "BSD-3-Clause" ]
23
2016-11-05T12:55:01.000Z
2021-05-13T16:55:40.000Z
#include "lab_extra/compute_shaders/compute_shaders.h" #include <string> #include <vector> #include <iostream> using namespace std; using namespace extra; static inline GLuint NumGroupSize(int dataSize, int groupSize) { return (dataSize + groupSize - 1) / groupSize; } static void DispatchCompute(unsigned int ...
26.04797
140
0.627568
MihaiAnghel07
f179f7a91dfbb650165567c7a4008dfb576354df
360
cpp
C++
Online Judges/UVALive/6758/2766212_AC_3ms_0kB.cpp
moni-roy/COPC
f5918304815413c18574ef4af2e23a604bd9f704
[ "MIT" ]
4
2017-02-20T17:41:14.000Z
2019-07-15T14:15:34.000Z
Online Judges/UVALive/6758/2766212_AC_3ms_0kB.cpp
moni-roy/COPC
f5918304815413c18574ef4af2e23a604bd9f704
[ "MIT" ]
null
null
null
Online Judges/UVALive/6758/2766212_AC_3ms_0kB.cpp
moni-roy/COPC
f5918304815413c18574ef4af2e23a604bd9f704
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int ts,n,a,x,y,es,hd; cin>>ts; while(ts--) { cin>>n>>x>>y; for(int i=0;i<n;i++) { cin>>a; if(i==0) es=a; if(i==n-1) hd=a; } if(es==x&&hd==y) cout<<"BOTH"<<endl; else if(es==x) cout<<"EASY"<<endl; else if(hd==y) cout<<"HARD"<<endl; e...
15.652174
38
0.516667
moni-roy
f17b57f4ccf32c1801240cb141d9cc052e330e35
2,859
cpp
C++
src_vc141/queue/MirrorBuffer.cpp
nneesshh/mytoolkit
336ae9c7077c8687a8cf8a2ce4aec804c28ab90c
[ "Apache-2.0" ]
null
null
null
src_vc141/queue/MirrorBuffer.cpp
nneesshh/mytoolkit
336ae9c7077c8687a8cf8a2ce4aec804c28ab90c
[ "Apache-2.0" ]
null
null
null
src_vc141/queue/MirrorBuffer.cpp
nneesshh/mytoolkit
336ae9c7077c8687a8cf8a2ce4aec804c28ab90c
[ "Apache-2.0" ]
2
2020-11-04T03:07:09.000Z
2020-11-05T08:14:45.000Z
//------------------------------------------------------------------------------ // MirrorBuffer.cpp // (C) 2016 n.lee //------------------------------------------------------------------------------ #include "MirrorBuffer.h" // Round up to the next power of two static uint32_t next_pot(uint32_t x) { --x; ...
21.496241
81
0.434767
nneesshh
f17ba655540cfb9782ec5e74f3f052b3f38ac763
1,261
cc
C++
aiks/paint_pass_delegate.cc
eyebrowsoffire/impeller
bdb74c046327bf1203b4293806399ccf57bf1c6e
[ "BSD-3-Clause" ]
null
null
null
aiks/paint_pass_delegate.cc
eyebrowsoffire/impeller
bdb74c046327bf1203b4293806399ccf57bf1c6e
[ "BSD-3-Clause" ]
2
2022-03-16T05:29:37.000Z
2022-03-31T05:35:03.000Z
aiks/paint_pass_delegate.cc
eyebrowsoffire/impeller
bdb74c046327bf1203b4293806399ccf57bf1c6e
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "impeller/aiks/paint_pass_delegate.h" #include "impeller/entity/contents/contents.h" #include "impeller/entity/contents/texture_contents.h" name...
28.659091
79
0.762887
eyebrowsoffire
f17e3fa2dd08809c92c8eb600fd8d011d386bf9f
1,664
cpp
C++
src/xray/editor/world/sources/property_integer_values_value_getter.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/editor/world/sources/property_integer_values_value_getter.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/editor/world/sources/property_integer_values_value_getter.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 09.01.2008 // Author : Dmitriy Iassenev // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #include "pch.h" #include "property_integer_values_value_getter....
28.20339
77
0.631611
ixray-team
f181038812497d9604a0b6af20668d4db4e0b5f5
1,847
hpp
C++
tensors++/exceptions/tensor_formation.hpp
Razdeep/ml-plus-plus
02c2c2cc2e05c9e7de4c7155ebdab78a3c519ed2
[ "Apache-2.0" ]
null
null
null
tensors++/exceptions/tensor_formation.hpp
Razdeep/ml-plus-plus
02c2c2cc2e05c9e7de4c7155ebdab78a3c519ed2
[ "Apache-2.0" ]
null
null
null
tensors++/exceptions/tensor_formation.hpp
Razdeep/ml-plus-plus
02c2c2cc2e05c9e7de4c7155ebdab78a3c519ed2
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2018 Ashar <ashar786khan@gmail.com> * * 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...
28.415385
80
0.691933
Razdeep
f181881e8df62be95726c998d262bd3c1e562926
5,528
hpp
C++
code/w32/Delta.hpp
AndreLouisCaron/w32
75b26a149e268138cbcf43e6f4669756ac4ac850
[ "BSD-2-Clause" ]
9
2015-12-30T15:21:20.000Z
2021-03-21T04:23:14.000Z
code/w32/Delta.hpp
AndreLouisCaron/w32
75b26a149e268138cbcf43e6f4669756ac4ac850
[ "BSD-2-Clause" ]
1
2022-01-02T11:12:57.000Z
2022-01-02T11:12:57.000Z
code/w32/Delta.hpp
AndreLouisCaron/w32
75b26a149e268138cbcf43e6f4669756ac4ac850
[ "BSD-2-Clause" ]
5
2018-04-09T04:44:58.000Z
2020-04-10T12:51:51.000Z
#ifndef _w32_Delta_hpp__ #define _w32_Delta_hpp__ // Copyright (c) 2009-2012, Andre Caron (andre.l.caron@gmail.com) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistribution...
26.834951
80
0.577605
AndreLouisCaron
f187285a2755508662a53f8b5719f3edde0b0143
10,386
cpp
C++
util/stream/ios_ut.cpp
jjzhang166/balancer
84addf52873d8814b8fd30289f2fcfcec570c151
[ "Unlicense" ]
39
2015-03-12T19:49:24.000Z
2020-11-11T09:58:15.000Z
util/stream/ios_ut.cpp
jjzhang166/balancer
84addf52873d8814b8fd30289f2fcfcec570c151
[ "Unlicense" ]
null
null
null
util/stream/ios_ut.cpp
jjzhang166/balancer
84addf52873d8814b8fd30289f2fcfcec570c151
[ "Unlicense" ]
11
2016-01-14T16:42:00.000Z
2022-01-17T11:47:33.000Z
#include "ios.h" #include "glue.h" #include "tokenizer.h" #include <string> #include <iostream> #include <library/unittest/registar.h> #include <util/string/cast.h> #include <util/memory/tempbuf.h> #include <util/charset/recyr.hh> class TStreamsTest: public TTestBase { UNIT_TEST_SUITE(TStreamsTest); ...
25.208738
128
0.547083
jjzhang166
f18e4b27b552d210e912eaf35ef4a0d5efb20573
1,030
cpp
C++
Source/GUI/Submenus/HUD.cpp
HatchesPls/GrandTheftAutoV-Cheat
f06011362a0a8297439b260a670f5091118ef5de
[ "curl", "MIT" ]
31
2021-07-13T21:24:58.000Z
2022-03-31T13:04:38.000Z
Source/GUI/Submenus/HUD.cpp
HatchesPls/GrandTheftAutoV-Cheat
f06011362a0a8297439b260a670f5091118ef5de
[ "curl", "MIT" ]
12
2021-07-28T16:53:58.000Z
2022-03-31T22:51:03.000Z
Source/GUI/Submenus/HUD.cpp
HowYouDoinMate/GrandTheftAutoV-Cheat
1a345749fc676b7bf2c5cd4df63ed6c9b80ff377
[ "curl", "MIT" ]
12
2020-08-16T15:57:52.000Z
2021-06-23T13:08:53.000Z
#include "../Header/Cheat Functions/FiberMain.h" using namespace Cheat; int HUDColorRed, HUDColorGreen, HUDColorBlue, HUDColorAlpha; void GUI::Submenus::HUD() { GUI::Title("HUD"); GUI::Toggle("Disable HUD", CheatFeatures::DisableHUDBool, "Prevents all HUD elements from being visible"); GUI::Toggle("Hide Minimap", C...
46.818182
107
0.73301
HatchesPls
f1939d344d0611eefaf236413473731281bb235f
15,136
cpp
C++
DotGenerator2.cpp
PollyP/TraceVizPintool
0c76e660834c6b77ffe944169d4afbd04e16ed0a
[ "MIT" ]
6
2020-04-25T12:45:52.000Z
2021-12-15T01:24:54.000Z
DotGenerator2.cpp
PollyP/TraceVizPintool
0c76e660834c6b77ffe944169d4afbd04e16ed0a
[ "MIT" ]
5
2020-04-17T21:03:30.000Z
2020-04-24T20:17:28.000Z
DotGenerator2.cpp
PollyP/TraceVizPintool
0c76e660834c6b77ffe944169d4afbd04e16ed0a
[ "MIT" ]
null
null
null
/*** Copyright 2020 P.S.Powledge Permission is hereby granted, free of charge, to any person obtaining a copy of this softwareand associated documentation files(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distrib...
34.636156
185
0.544662
PollyP
f1968e5e82d78cd2ab6a7204e17c7b55d9f51753
202
cpp
C++
ue4_c++/1/bp2/bp2.cpp
mohamadem60mdem/a5
c6f53364cc148862129acd1c6334d104f5e6bef3
[ "MIT" ]
null
null
null
ue4_c++/1/bp2/bp2.cpp
mohamadem60mdem/a5
c6f53364cc148862129acd1c6334d104f5e6bef3
[ "MIT" ]
null
null
null
ue4_c++/1/bp2/bp2.cpp
mohamadem60mdem/a5
c6f53364cc148862129acd1c6334d104f5e6bef3
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "bp2.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, bp2, "bp2" );
28.857143
78
0.787129
mohamadem60mdem
1af940e1d38d3161c5216d6fae8d230388d44cce
18,618
cpp
C++
hi_snex/unit_test/snex_jit_IndexTest.cpp
Matt-Dub/HISE
ae2dd1653e1c8d749a9088edcd573de6252b0b96
[ "Intel" ]
null
null
null
hi_snex/unit_test/snex_jit_IndexTest.cpp
Matt-Dub/HISE
ae2dd1653e1c8d749a9088edcd573de6252b0b96
[ "Intel" ]
null
null
null
hi_snex/unit_test/snex_jit_IndexTest.cpp
Matt-Dub/HISE
ae2dd1653e1c8d749a9088edcd573de6252b0b96
[ "Intel" ]
null
null
null
/* =========================================================================== * * This file is part of HISE. * Copyright 2016 Christoph Hart * * HISE is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation,...
25.786704
108
0.58422
Matt-Dub
1afcabee2775407f5e2b23d38e2ba2e62705fa63
1,013
hh
C++
include/distro/semver.hh
mbits-libs/libdistro
350f94ba004b21c30eb9a1a345a92b94eacf6ae6
[ "MIT" ]
null
null
null
include/distro/semver.hh
mbits-libs/libdistro
350f94ba004b21c30eb9a1a345a92b94eacf6ae6
[ "MIT" ]
null
null
null
include/distro/semver.hh
mbits-libs/libdistro
350f94ba004b21c30eb9a1a345a92b94eacf6ae6
[ "MIT" ]
null
null
null
// Copyright 2021 midnightBITS // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. #pragma once #include <optional> #include <string> #include <variant> #include <vector> namespace distro { class semver { public: class comp { std::variant<unsigned, std::stri...
24.707317
73
0.687068
mbits-libs
2101331a0292dcc4225c749946f0ebf7e07afd9b
7,052
cpp
C++
cali-linker/modules/ipc_module.cpp
cali-library-isolation/Cali-library-isolation
550893293f66b0428a7b66e1ab80d9f5b7a4bbf4
[ "Apache-2.0" ]
7
2021-03-26T06:52:31.000Z
2022-03-11T09:42:57.000Z
cali-linker/modules/ipc_module.cpp
cali-library-isolation/Cali-library-isolation
550893293f66b0428a7b66e1ab80d9f5b7a4bbf4
[ "Apache-2.0" ]
null
null
null
cali-linker/modules/ipc_module.cpp
cali-library-isolation/Cali-library-isolation
550893293f66b0428a7b66e1ab80d9f5b7a4bbf4
[ "Apache-2.0" ]
1
2022-02-25T06:57:17.000Z
2022-02-25T06:57:17.000Z
#include <memory> #include <stdexcept> #include <memory> #include <iostream> #include <llvm/IR/Module.h> #include <llvm/Linker/Linker.h> #include <llvm/Support/raw_ostream.h> #include <llvm/IRReader/IRReader.h> #include <llvm/Support/SourceMgr.h> #include <llvm/IR/Verifier.h> #include "ipc_module.h" #include "llvm_modu...
36.729167
155
0.671583
cali-library-isolation
21041a67704d748cb24c61d6086c7bb68d188097
2,329
hpp
C++
includes/matrix.hpp
TheLandfill/tsp
ae2b90c8a44f4521373259a587d4c91c5bc318a3
[ "MIT" ]
null
null
null
includes/matrix.hpp
TheLandfill/tsp
ae2b90c8a44f4521373259a587d4c91c5bc318a3
[ "MIT" ]
null
null
null
includes/matrix.hpp
TheLandfill/tsp
ae2b90c8a44f4521373259a587d4c91c5bc318a3
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <filesystem> #include <fstream> #include <iostream> #include <stdexcept> template<typename T> class Matrix { public: Matrix(); Matrix(const std::filesystem::path& path); template<typename Func> Matrix(size_t num_rows, size_t num_cols, Func rng); void write_to_file(const s...
23.29
79
0.656934
TheLandfill
21062d454eb17252c77fefab529e1c42ce286dca
1,577
hpp
C++
partners_api/ads/ads_utils.hpp
vicpopov/omim
664b458998fb0f2405f68ae830c2798e027b2dcc
[ "Apache-2.0" ]
4,879
2015-09-30T10:56:36.000Z
2022-03-31T18:43:03.000Z
partners_api/ads/ads_utils.hpp
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
7,549
2015-09-30T10:52:53.000Z
2022-03-31T22:04:22.000Z
partners_api/ads/ads_utils.hpp
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
1,493
2015-09-30T10:43:06.000Z
2022-03-21T09:16:49.000Z
#pragma once #include "storage/storage_defines.hpp" #include <cstdint> #include <initializer_list> #include <string> #include <unordered_set> namespace ads { class WithSupportedLanguages { public: virtual ~WithSupportedLanguages() = default; void AppendSupportedUserLanguages(std::initializer_list<std::string> c...
29.203704
100
0.795815
vicpopov
210a6edaf9fae2e3b58701a703c2479ecb6ce056
31,405
cxx
C++
ds/adsi/nw312/cschema.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/adsi/nw312/cschema.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/adsi/nw312/cschema.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 1996 // // File: cschema.cxx // // Contents: Windows NT 3.51 // // // History: 01-09-96 yihsins Created. // //---------------------------------...
22.416131
84
0.595128
npocmaka
21132bbe7dbd51afb2918827974fcddfdb3c2dcb
269
cpp
C++
Linked List Exercises/Ex1/Ex1 - SingleLinkedList/CNode.cpp
ferp132/math
96f765b93554a2ad3a279575d6c60b1107b0bf35
[ "MIT" ]
null
null
null
Linked List Exercises/Ex1/Ex1 - SingleLinkedList/CNode.cpp
ferp132/math
96f765b93554a2ad3a279575d6c60b1107b0bf35
[ "MIT" ]
null
null
null
Linked List Exercises/Ex1/Ex1 - SingleLinkedList/CNode.cpp
ferp132/math
96f765b93554a2ad3a279575d6c60b1107b0bf35
[ "MIT" ]
null
null
null
#include "CNode.h" CNode::CNode() { } void CNode::SetData(int iData) { data = iData; } int CNode::GetData() const { return data; } void CNode::SetNextNode(CNode *newnextNode) { nextNode = newnextNode; } CNode * CNode::GetNextNode() const { return nextNode; }
9.962963
43
0.672862
ferp132
2115560a3bd1e622ef0aad2f7fa0b18a961e5632
4,829
cpp
C++
src/brdf/LitSphereWindow.cpp
davidlee80/GI
820ccba1323daaff3453e61f679ee04ed36a91b9
[ "MS-PL" ]
1
2022-03-16T01:41:13.000Z
2022-03-16T01:41:13.000Z
src/brdf/LitSphereWindow.cpp
davidlee80/GI
820ccba1323daaff3453e61f679ee04ed36a91b9
[ "MS-PL" ]
null
null
null
src/brdf/LitSphereWindow.cpp
davidlee80/GI
820ccba1323daaff3453e61f679ee04ed36a91b9
[ "MS-PL" ]
null
null
null
/* Copyright Disney Enterprises, Inc. All rights reserved. This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. 1. Definitions The terms "reproduce," "reproduction," "derivative works," and "distribution" ha...
44.302752
137
0.75937
davidlee80
2115d2997d7bdca32560608377c3a692242d4c9c
1,404
cpp
C++
shader.cpp
a12n/rematrix
e539a5573a99665ba7b21e1c2114508060dcd163
[ "MIT" ]
2
2022-01-15T16:27:05.000Z
2022-01-15T16:48:03.000Z
shader.cpp
a12n/rematrix
e539a5573a99665ba7b21e1c2114508060dcd163
[ "MIT" ]
null
null
null
shader.cpp
a12n/rematrix
e539a5573a99665ba7b21e1c2114508060dcd163
[ "MIT" ]
null
null
null
#include "shader.hpp" namespace rematrix { shader::shader(GLenum type) : id{glCreateShader(type)} { if (id == 0) { throw runtime_error("couldn't create shader"); } } shader::shader(shader&& other) noexcept : id{other.id} { const_cast<GLuint&>(other.id) = 0; } shader::~shader() { glDe...
18.72
78
0.569088
a12n
21183747e45a590a7bcb6551ed6718d017a80d99
181,084
cxx
C++
inetcore/winhttp/v5.1/ihttprequest/httprequest.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetcore/winhttp/v5.1/ihttprequest/httprequest.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetcore/winhttp/v5.1/ihttprequest/httprequest.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/* * HttpRequest.cxx * * WinHttp.WinHttpRequest COM component * * Copyright (C) 2000 Microsoft Corporation. All rights reserved. * * * Much of this code was stolen from our Xml-Http friends over in * inetcore\xml\http\xmlhttp.cxx. Thanks very much! * */ #include <wininetp.h> #include "httprequ...
25.511975
148
0.535812
npocmaka
2118ad4c107117fafa59610627f5627cff57c214
1,409
hpp
C++
include/Nazara/VulkanRenderer/Wrapper/Semaphore.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
11
2019-11-27T00:40:43.000Z
2020-01-29T14:31:52.000Z
include/Nazara/VulkanRenderer/Wrapper/Semaphore.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T00:29:08.000Z
2020-01-08T18:53:39.000Z
include/Nazara/VulkanRenderer/Wrapper/Semaphore.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T10:27:40.000Z
2020-01-15T17:43:33.000Z
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Vulkan renderer" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_VULKANRENDERER_WRAPPER_SEMAPHORE_HPP #define NAZARA_VULKANRENDERER_WRAPPER_SEMAPHOR...
32.767442
158
0.771469
jayrulez
2118d9f3e23256b269fc4834c33f50650dc05636
5,646
cc
C++
deps/autodock/bestpdb.cc
neonious/Neonious-Node
2859e60ca3f1303127d589d0f50c2aa2b281bc95
[ "MIT" ]
null
null
null
deps/autodock/bestpdb.cc
neonious/Neonious-Node
2859e60ca3f1303127d589d0f50c2aa2b281bc95
[ "MIT" ]
null
null
null
deps/autodock/bestpdb.cc
neonious/Neonious-Node
2859e60ca3f1303127d589d0f50c2aa2b281bc95
[ "MIT" ]
null
null
null
/* $Id: bestpdb.cc,v 1.11 2014/06/12 01:44:07 mp Exp $ AutoDock Copyright (C) 2009 The Scripps Research Institute. All rights reserved. AutoDock is a Trade Mark of The Scripps Research Institute. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public...
34.851852
128
0.559511
neonious
211b8423298a8334dde179387b9288bb7e847119
68,192
cpp
C++
source/game/guis/UserInterfaceLocal.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
2
2021-05-02T18:37:48.000Z
2021-07-18T16:18:14.000Z
source/game/guis/UserInterfaceLocal.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
null
null
null
source/game/guis/UserInterfaceLocal.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
null
null
null
// Copyright (C) 2007 Id Software, Inc. // #include "../precompiled.h" #pragma hdrstop #if defined( _DEBUG ) && !defined( ID_REDIRECT_NEWDELETE ) #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #include "UserInterfaceLocal.h" #include "UserInterfaceExpressions.h" #in...
28.907164
208
0.64534
JasonHutton
211beb59677d3c88fe37fd2d46ea5ced20f24cd1
7,492
cpp
C++
source/Structure/custom_plugins/plugins/HIL_server/server.cpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
source/Structure/custom_plugins/plugins/HIL_server/server.cpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
source/Structure/custom_plugins/plugins/HIL_server/server.cpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
#include "server.h" #include <time.h> #include "XMLRead.h" namespace gazebo { HilServer::HilServer() { Fr = 0; Fl = 0; Tr = 0; Tl = 0; } HilServer::~HilServer() { try { } catch (std::exception& e) { std::cout << e.what() << std::endl; } } void HilServer::Update() { // static int i = 0; ...
28.271698
109
0.565937
Guiraffo
21226db6b728ae585642f38bf1fefebb733d5f6f
1,109
cpp
C++
Source/FactoryGame/FGTrainStationIdentifier.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
Source/FactoryGame/FGTrainStationIdentifier.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
Source/FactoryGame/FGTrainStationIdentifier.cpp
iam-Legend/Project-Assembly
1ff3587704232d5e330515bc0d2aceb64ff09a7f
[ "MIT" ]
null
null
null
// This file has been automatically generated by the Unreal Header Implementation tool #include "FGTrainStationIdentifier.h" AFGTrainStationIdentifier::AFGTrainStationIdentifier(){ } void AFGTrainStationIdentifier::GetLifetimeReplicatedProps( TArray< FLifetimeProperty >& OutLifetimeProps) const{ } void AFGTrainStatio...
69.3125
115
0.844905
iam-Legend
2124cf8ff359f5a282dceaf7782c4d55b2d40165
16,693
cpp
C++
Source/Samples/65_PhysicsTest/ConvexCast.cpp
extobias/Urho3D
7d08ccac1ff9e9e28076ea879530c6b23974ba42
[ "MIT" ]
null
null
null
Source/Samples/65_PhysicsTest/ConvexCast.cpp
extobias/Urho3D
7d08ccac1ff9e9e28076ea879530c6b23974ba42
[ "MIT" ]
null
null
null
Source/Samples/65_PhysicsTest/ConvexCast.cpp
extobias/Urho3D
7d08ccac1ff9e9e28076ea879530c6b23974ba42
[ "MIT" ]
null
null
null
#include "ConvexCast.h" #include <Urho3D/Core/Profiler.h> #include <Urho3D/IO/Log.h> #include <Urho3D/Scene/Node.h> #include <Urho3D/Scene/Scene.h> #include <Urho3D/Graphics/StaticModel.h> #include <Urho3D/Graphics/Model.h> #include <Urho3D/Graphics/DebugRenderer.h> #include <Urho3D/Resource/ResourceCache.h> #include ...
38.641204
162
0.669322
extobias
213161364f5852b94b7252b7341bc026849b6443
396
cpp
C++
clang/test/SemaCXX/atomic-ops.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,102
2015-01-04T02:28:35.000Z
2022-03-30T12:53:41.000Z
clang/test/SemaCXX/atomic-ops.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
clang/test/SemaCXX/atomic-ops.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
1,868
2015-01-03T04:27:11.000Z
2022-03-25T13:37:35.000Z
// RUN: %clang_cc1 %s -verify -fsyntax-only -triple=i686-linux-gnu -std=c++11 // We crashed when we couldn't properly convert the first arg of __atomic_* to // an lvalue. void PR28623() { void helper(int); // expected-note{{target}} void helper(char); // expected-note{{target}} __atomic_store_n(helper, 0, 0); //...
39.6
109
0.709596
medismailben
213226a3b9022a3fe4e11c9ac1eb3b5125a2a6aa
1,631
cpp
C++
src/prod/src/Reliability/Failover/fm/BackgroundThreadContext.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/Reliability/Failover/fm/BackgroundThreadContext.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/Reliability/Failover/fm/BackgroundThreadContext.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
29.125
104
0.642551
gridgentoo
2133fea2d2f423786a1f5dff1923a21c5d135256
1,218
hpp
C++
src/clustering/generic/registration_metadata.hpp
sauter-hq/rethinkdb
f34541d501bcf109c2825a7a1b67cf8fd39b9133
[ "Apache-2.0" ]
null
null
null
src/clustering/generic/registration_metadata.hpp
sauter-hq/rethinkdb
f34541d501bcf109c2825a7a1b67cf8fd39b9133
[ "Apache-2.0" ]
null
null
null
src/clustering/generic/registration_metadata.hpp
sauter-hq/rethinkdb
f34541d501bcf109c2825a7a1b67cf8fd39b9133
[ "Apache-2.0" ]
null
null
null
// Copyright 2010-2014 RethinkDB, all rights reserved. #ifndef CLUSTERING_GENERIC_REGISTRATION_METADATA_HPP_ #define CLUSTERING_GENERIC_REGISTRATION_METADATA_HPP_ #include "containers/uuid.hpp" #include "rpc/mailbox/typed.hpp" #include "rpc/semilattice/joins/macros.hpp" template<class business_card_t> class registrar...
32.918919
92
0.791461
sauter-hq
213501518e2260911a4440b08ed8399758618c3c
5,921
cc
C++
mojo/services/media/common/cpp/video_converter.cc
jason-simmons/flutter_buildroot
1c9494e60378bd119d910d530344077fc091b3a5
[ "BSD-3-Clause" ]
null
null
null
mojo/services/media/common/cpp/video_converter.cc
jason-simmons/flutter_buildroot
1c9494e60378bd119d910d530344077fc091b3a5
[ "BSD-3-Clause" ]
null
null
null
mojo/services/media/common/cpp/video_converter.cc
jason-simmons/flutter_buildroot
1c9494e60378bd119d910d530344077fc091b3a5
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "mojo/services/media/common/cpp/video_converter.h" namespace mojo { namespace media { VideoConverter::VideoConverter() { BuildColorspaceTable...
31
79
0.629623
jason-simmons
2138950715d1c7f2b8c86bd9a09b4d6ba5a296dc
1,247
cpp
C++
gk/spritesheet.cpp
rpav/GameKernel
1f3eb863b58243f5f14aa76283b60a259d881522
[ "MIT" ]
11
2016-04-28T15:09:19.000Z
2019-07-15T15:58:59.000Z
gk/spritesheet.cpp
rpav/GameKernel
1f3eb863b58243f5f14aa76283b60a259d881522
[ "MIT" ]
null
null
null
gk/spritesheet.cpp
rpav/GameKernel
1f3eb863b58243f5f14aa76283b60a259d881522
[ "MIT" ]
null
null
null
#include <rpav/log.hpp> #include <stdlib.h> #include "gk/gk.hpp" #include "gk/gl.hpp" #include "gk/spritesheet.hpp" using namespace rpav; void gk_process_spritesheet_create(gk_context* gk, gk_cmd_spritesheet_create* cmd) { auto sheet = (gk_spritesheet*)malloc(sizeof(gk_spritesheet)); switch(cmd->format) { ...
22.672727
82
0.648757
rpav
213abf05b084f9f7df27ceb2c4505f6b15f9c57d
797
cpp
C++
Example/datetime_21/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
Example/datetime_21/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
Example/datetime_21/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
#include <boost/date_time/gregorian/gregorian.hpp> #include <string> #include <vector> #include <locale> #include <iostream> using namespace boost::gregorian; int main() { std::locale::global(std::locale{"German"}); std::string months[12]{"Januar", "Februar", "M\xe4rz", "April", "Mai", "Juni", "Juli", "August...
33.208333
70
0.643664
KwangjoJeong
213ae5345d9ad68812860bb69e049e602d81045e
683
cpp
C++
FPS_Multiplayer_UE4/Source/TestRyseUp/Private/Items/ConsumableActor.cpp
agerith/FPS_Multiplayer_UE4
61e2d330c06740de1f19219833ff177c444fdb5c
[ "MIT" ]
1
2022-03-22T07:27:29.000Z
2022-03-22T07:27:29.000Z
FPS_Multiplayer_UE4/Source/TestRyseUp/Private/Items/ConsumableActor.cpp
agerith/FPS_Multiplayer_UE4
61e2d330c06740de1f19219833ff177c444fdb5c
[ "MIT" ]
null
null
null
FPS_Multiplayer_UE4/Source/TestRyseUp/Private/Items/ConsumableActor.cpp
agerith/FPS_Multiplayer_UE4
61e2d330c06740de1f19219833ff177c444fdb5c
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "ConsumableActor.h" #include "TestRyseUp.h" #include "ConsumableActor.h" #include "TestRyseUpCharacter.h" AConsumableActor::AConsumableActor(const class FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { /* A ...
20.088235
85
0.764275
agerith
213bbd49b3a68fc5ca0914014d611b44f3cc9037
1,348
cpp
C++
array_and_matrixs/Kth_smallest_element_in_a_sorted_matrix.cpp
zm66260/Data_Structure_and_Algorithms
f3e6d60a9f0ddf1a8fe943dedc089172bc8c833e
[ "MIT" ]
null
null
null
array_and_matrixs/Kth_smallest_element_in_a_sorted_matrix.cpp
zm66260/Data_Structure_and_Algorithms
f3e6d60a9f0ddf1a8fe943dedc089172bc8c833e
[ "MIT" ]
null
null
null
array_and_matrixs/Kth_smallest_element_in_a_sorted_matrix.cpp
zm66260/Data_Structure_and_Algorithms
f3e6d60a9f0ddf1a8fe943dedc089172bc8c833e
[ "MIT" ]
null
null
null
// 378 kth smallest element in a sorted matrix // Given a n x n matrix where each of the rows and columns are sorted in ascending order, find the kth smallest element in the matrix. // Note that it is the kth smallest element in the sorted order, not the kth distinct element. // Example: // matrix = [ // ...
24.962963
135
0.488131
zm66260
2140e3c5363de17751581b959591bd74662371a7
11,246
cpp
C++
implementations/ugene/src/plugins/enzymes/src/EnzymesPlugin.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins/enzymes/src/EnzymesPlugin.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins/enzymes/src/EnzymesPlugin.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2020 UniPro <ugene@unipro.ru> * http://ugene.net * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * ...
41.962687
192
0.719811
r-barnes
2144d745cb7793cdcf3192ce282aa7c44d78366f
1,027
cpp
C++
src/terminal/MockTerm.cpp
dandycheung/contour
1364ec488def8a0494503b9879b370b3669e81f9
[ "Apache-2.0" ]
404
2021-07-01T11:38:20.000Z
2022-03-31T19:16:18.000Z
src/terminal/MockTerm.cpp
dandycheung/contour
1364ec488def8a0494503b9879b370b3669e81f9
[ "Apache-2.0" ]
204
2021-07-01T10:10:01.000Z
2022-03-26T09:46:05.000Z
src/terminal/MockTerm.cpp
dandycheung/contour
1364ec488def8a0494503b9879b370b3669e81f9
[ "Apache-2.0" ]
38
2019-09-27T19:53:37.000Z
2021-07-01T09:47:44.000Z
/** * This file is part of the "libterminal" project * Copyright (c) 2019-2020 Christian Parpart <christian@parpart.family> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * Unless required by applicable law or agreed to i...
28.527778
94
0.723466
dandycheung
2149bb38100acbec14d976cefb541cbbc261dddf
3,832
cpp
C++
tests/iclBLAS/test_Icamin.cpp
intel/clGPU
bf099c547a17d12a81c23314a54fc7fe175a86a7
[ "Apache-2.0" ]
61
2018-02-20T06:01:50.000Z
2021-09-08T05:55:44.000Z
tests/iclBLAS/test_Icamin.cpp
intel/clGPU
bf099c547a17d12a81c23314a54fc7fe175a86a7
[ "Apache-2.0" ]
2
2018-04-21T06:59:30.000Z
2019-01-12T17:08:54.000Z
tests/iclBLAS/test_Icamin.cpp
intel/clGPU
bf099c547a17d12a81c23314a54fc7fe175a86a7
[ "Apache-2.0" ]
19
2018-02-19T17:18:04.000Z
2021-02-25T02:00:53.000Z
// Copyright (c) 2017-2018 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
23.084337
75
0.615605
intel
214b8ca98d0ead4be58052703f42634928e0f03d
876
cpp
C++
android-31/javax/crypto/spec/GCMParameterSpec.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/javax/crypto/spec/GCMParameterSpec.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/javax/crypto/spec/GCMParameterSpec.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../../JByteArray.hpp" #include "./GCMParameterSpec.hpp" namespace javax::crypto::spec { // Fields // QJniObject forward GCMParameterSpec::GCMParameterSpec(QJniObject obj) : JObject(obj) {} // Constructors GCMParameterSpec::GCMParameterSpec(jint arg0, JByteArray arg1) : JObject( "javax.crypto...
19.043478
85
0.660959
YJBeetle
214e9f5ce6327bebe9d5b15be003ba8b0ab70867
565
cpp
C++
2019-06/5 - Range generators.cpp
st-louis-cpp-meetup/Presentations
2e3a31a6285aabf295a9bf494bf7470844196857
[ "CC-BY-4.0" ]
2
2019-06-20T13:22:30.000Z
2020-03-05T01:19:19.000Z
2019-06/5 - Range generators.cpp
st-louis-cpp-meetup/Presentations
2e3a31a6285aabf295a9bf494bf7470844196857
[ "CC-BY-4.0" ]
null
null
null
2019-06/5 - Range generators.cpp
st-louis-cpp-meetup/Presentations
2e3a31a6285aabf295a9bf494bf7470844196857
[ "CC-BY-4.0" ]
null
null
null
//-std=c++2a -I/opt/compiler-explorer/libs/cmcstl2/include -fconcepts #include <iostream> #include <experimental/ranges/ranges> // from cmcstl2 namespace ranges = std::experimental::ranges; namespace view = std::experimental::ranges::view; //range generators (range adaptors) int main() { auto count_to_10 = view::io...
28.25
69
0.684956
st-louis-cpp-meetup
2152b04ecd089a71683f2dc143d9592c6998b5ec
24,300
cpp
C++
plugins/protein/src/ToonRendererDeferred.cpp
reinago/megamol
0438e26e5134a0050a00c6d8d747175a08f85fd9
[ "BSD-3-Clause" ]
null
null
null
plugins/protein/src/ToonRendererDeferred.cpp
reinago/megamol
0438e26e5134a0050a00c6d8d747175a08f85fd9
[ "BSD-3-Clause" ]
null
null
null
plugins/protein/src/ToonRendererDeferred.cpp
reinago/megamol
0438e26e5134a0050a00c6d8d747175a08f85fd9
[ "BSD-3-Clause" ]
null
null
null
/* * ToonRendererDeferred.cpp * * Copyright (C) 2011 by Universitaet Stuttgart (VISUS). * All rights reserved. */ #include "stdafx.h" #include "mmcore/param/EnumParam.h" #include "mmcore/param/BoolParam.h" #include "mmcore/param/IntParam.h" #include "mmcore/param/FloatParam.h" #include "mmcore/view/CallRender3D....
37.732919
144
0.672675
reinago
215435cad45bb8acd7b8cd20bc77538694699099
1,134
cpp
C++
luogu/p1067.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
luogu/p1067.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
luogu/p1067.cpp
ajidow/Answers_of_OJ
70e0c02d9367c3a154b83a277edbf158f32484a3
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char const *argv[]) { int power; cin >> power; int num[power+1]; // int i; for (i = 0; i < power+1; ++i) { cin >> num[i]; } // int sub = power; if (num[0] == 1){ cout << "x" << "^" << sub; }else if (num[0] == -1) { cout << "-x^" << sub; ...
15.324324
47
0.395062
ajidow
21552ab246534cf24cf1ad5f67ad7ee779c09346
20,590
hpp
C++
libs/boost_1_72_0/boost/locale/message.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/locale/message.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/locale/message.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh) // // 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 BOOST_LOCALE_MESSAGE_HPP_INCLUDED #define BOOST_LOCALE_MESSAGE_HPP_INCLUDED #include <boost...
28.636996
80
0.657067
henrywarhurst
215e2ba19080e1f82bcc2a2e33d9b5e21c576525
1,538
cc
C++
fhiclcpp/test/types/searchAllowedConfiguration_t.cc
art-framework-suite/fhicl-cpp
302a8ca52dba4b922812ead406599cd535676252
[ "BSD-3-Clause" ]
null
null
null
fhiclcpp/test/types/searchAllowedConfiguration_t.cc
art-framework-suite/fhicl-cpp
302a8ca52dba4b922812ead406599cd535676252
[ "BSD-3-Clause" ]
2
2021-12-10T14:54:24.000Z
2022-03-25T16:33:23.000Z
fhiclcpp/test/types/searchAllowedConfiguration_t.cc
art-framework-suite/fhicl-cpp
302a8ca52dba4b922812ead406599cd535676252
[ "BSD-3-Clause" ]
null
null
null
#define BOOST_TEST_MODULE (search allowed configuration test) #include "boost/test/unit_test.hpp" #include "fhiclcpp/types/Atom.h" #include "fhiclcpp/types/Sequence.h" #include "fhiclcpp/types/Table.h" #include "fhiclcpp/types/Tuple.h" #include "fhiclcpp/types/detail/SearchAllowedConfiguration.h" #include <string> ...
26.982456
61
0.708062
art-framework-suite
216191eae850363824975047adbcbd028eb99cc8
13,627
hpp
C++
engine/common/ShadersGL.hpp
ColinGilbert/noobwerkz-engine
f5670e98ca0dada8865be9ab82d25d3acf549ebe
[ "Apache-2.0" ]
23
2015-03-02T10:56:40.000Z
2021-01-27T03:32:49.000Z
engine/common/ShadersGL.hpp
ColinGilbert/noobwerkz-engine-borked
f5670e98ca0dada8865be9ab82d25d3acf549ebe
[ "Apache-2.0" ]
73
2015-04-14T09:39:05.000Z
2020-11-11T21:49:10.000Z
engine/common/ShadersGL.hpp
ColinGilbert/noobwerkz-engine-borked
f5670e98ca0dada8865be9ab82d25d3acf549ebe
[ "Apache-2.0" ]
3
2016-02-22T01:29:32.000Z
2018-01-02T06:07:12.000Z
#pragma once namespace noob { namespace glsl { //////////////////////////////////////////////////////////// // Extremely useful for getting rid of shader conditionals //////////////////////////////////////////////////////////// // http://theorangeduck.com/page/avoiding-shader-conditionals static const std...
44.825658
149
0.488736
ColinGilbert
2167af865b1236cabbe027af392640cc9abe4441
981
cpp
C++
ch15/test15_5.cpp
imshenzhuo/CppPrimer
87c74c0a36223e86571c2aedd9da428c06b04f4d
[ "CC0-1.0" ]
3
2019-09-21T13:03:57.000Z
2020-04-05T02:42:53.000Z
ch15/test15_5.cpp
imshenzhuo/CppPrimer
87c74c0a36223e86571c2aedd9da428c06b04f4d
[ "CC0-1.0" ]
null
null
null
ch15/test15_5.cpp
imshenzhuo/CppPrimer
87c74c0a36223e86571c2aedd9da428c06b04f4d
[ "CC0-1.0" ]
null
null
null
/************************************************************************* > File Name: test15_5.cpp > Author: shenzhuo > Mail: im.shenzhuo@gmail.com > Created Time: 2019年09月19日 星期四 09时59分30秒 ************************************************************************/ #include<iostream> using namespace ...
17.210526
74
0.490316
imshenzhuo
2169d87f42c3bb36d5124a27fe42b92ffddc9bcf
9,994
cpp
C++
deepracer_follow_the_leader_ws/build/deepracer_interfaces_pkg/rosidl_typesupport_c/deepracer_interfaces_pkg/srv/nav_throttle_srv__type_support.cpp
amitjain-3/working_add
ddd3b10d854477e86bf7a8558b3d447ec03a8a5f
[ "Apache-2.0" ]
1
2022-03-11T20:15:27.000Z
2022-03-11T20:15:27.000Z
deepracer_follow_the_leader_ws/build/deepracer_interfaces_pkg/rosidl_typesupport_c/deepracer_interfaces_pkg/srv/nav_throttle_srv__type_support.cpp
amitjain-3/working_add
ddd3b10d854477e86bf7a8558b3d447ec03a8a5f
[ "Apache-2.0" ]
null
null
null
deepracer_follow_the_leader_ws/build/deepracer_interfaces_pkg/rosidl_typesupport_c/deepracer_interfaces_pkg/srv/nav_throttle_srv__type_support.cpp
amitjain-3/working_add
ddd3b10d854477e86bf7a8558b3d447ec03a8a5f
[ "Apache-2.0" ]
null
null
null
// generated from rosidl_typesupport_c/resource/idl__type_support.cpp.em // with input from deepracer_interfaces_pkg:srv/NavThrottleSrv.idl // generated code does not contain a copyright notice #include "cstddef" #include "rosidl_runtime_c/message_type_support_struct.h" #include "deepracer_interfaces_pkg/msg/rosidl_ty...
33.877966
157
0.843606
amitjain-3
216aa3a32caa8ada6f2adda842ffc176e2b4676a
1,491
cpp
C++
libnd4j/include/helpers/impl/ProviderRNG.cpp
KolyaIvankov/deeplearning4j
61c02d31fa950259d7458a021de7db167a3410ae
[ "Apache-2.0" ]
null
null
null
libnd4j/include/helpers/impl/ProviderRNG.cpp
KolyaIvankov/deeplearning4j
61c02d31fa950259d7458a021de7db167a3410ae
[ "Apache-2.0" ]
null
null
null
libnd4j/include/helpers/impl/ProviderRNG.cpp
KolyaIvankov/deeplearning4j
61c02d31fa950259d7458a021de7db167a3410ae
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
28.673077
101
0.625755
KolyaIvankov
2173d652f61867037b50442277f36bca9603f213
2,651
cpp
C++
libs/lfd/src/resource_file.cpp
tiaanl/red5
ea7593b38f61f64f8aeb7d58854106bd58c05736
[ "MIT" ]
1
2020-11-24T13:26:11.000Z
2020-11-24T13:26:11.000Z
libs/lfd/src/resource_file.cpp
tiaanl/red5
ea7593b38f61f64f8aeb7d58854106bd58c05736
[ "MIT" ]
null
null
null
libs/lfd/src/resource_file.cpp
tiaanl/red5
ea7593b38f61f64f8aeb7d58854106bd58c05736
[ "MIT" ]
null
null
null
#include "lfd/resource_file.h" #include <base/streams/file_input_stream.h> #include <base/streams/file_output_stream.h> std::vector<ResourceEntry> ResourceFile::loadEntries() const { if (!std::filesystem::exists(m_path)) { spdlog::error("Resource file not found: {}", m_path.string()); return {}; } spdl...
29.786517
102
0.6639
tiaanl
2175d53d0705dd963399a9aa73bb84b81a9ecb1c
1,056
cpp
C++
source/System/ThreadPool/ThreadPool.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
30
2020-09-16T17:39:36.000Z
2022-02-17T08:32:53.000Z
source/System/ThreadPool/ThreadPool.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
7
2020-11-23T14:37:15.000Z
2022-01-17T11:35:32.000Z
source/System/ThreadPool/ThreadPool.cpp
Fabrice-Praxinos/ULIS
232ad5c0804da1202d8231fda67ff4aea70f57ef
[ "RSA-MD" ]
5
2020-09-17T00:39:14.000Z
2021-08-30T16:14:07.000Z
// IDDN FR.001.250001.004.S.X.2019.000.00000 // ULIS is subject to copyright laws and is the legal and intellectual property of Praxinos,Inc /* * ULIS *__________________ * @file ThreadPool.cpp * @author Clement Berthaud * @brief This file provides the definition for the FThreadPool class. * @cop...
19.924528
95
0.726326
Fabrice-Praxinos
2176fc5c1440deffd1d7d730d1a7a59bbbaadeda
15,840
cpp
C++
src/mame/drivers/mjsister.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/drivers/mjsister.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/drivers/mjsister.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Uki /***************************************************************************** Mahjong Sisters (c) 1986 Toa Plan Driver by Uki *****************************************************************************/ #include "emu.h" #include "cpu/z80/z80.h" #include "m...
30.286807
140
0.696843
Robbbert
217ba72be5dff268cda027470b84457415138e80
5,641
hpp
C++
rmf_traffic/include/rmf_traffic/schedule/Patch.hpp
methylDragon/rmf_core
4099921bea576c2fde87c3dc852cc4d8f86a5d1a
[ "Apache-2.0" ]
109
2019-10-31T02:02:50.000Z
2022-03-30T04:42:19.000Z
rmf_traffic/include/rmf_traffic/schedule/Patch.hpp
methylDragon/rmf_core
4099921bea576c2fde87c3dc852cc4d8f86a5d1a
[ "Apache-2.0" ]
155
2019-11-15T04:43:31.000Z
2021-04-22T09:45:32.000Z
rmf_traffic/include/rmf_traffic/schedule/Patch.hpp
methylDragon/rmf_core
4099921bea576c2fde87c3dc852cc4d8f86a5d1a
[ "Apache-2.0" ]
51
2019-10-31T11:30:34.000Z
2022-01-27T03:07:01.000Z
/* * Copyright (C) 2020 Open Source Robotics Foundation * * 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 appl...
32.41954
80
0.70413
methylDragon
217ce3bf4403f4609173fa5aab979476f2cc2c60
833
cpp
C++
CodeForces/Complete/800-899/878A-ShortProgram.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/800-899/878A-ShortProgram.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/800-899/878A-ShortProgram.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <cstdio> int main(){ const int N = 10; long n; scanf("%ld\n", &n); int action[N]; for(int p = 0; p < N; p++){action[p] = -1;} while(n--){ char x; int u; scanf("%c %d\n", &x, &u); for(int p = 0; p < N; p++){ bool v = u & 1; if(x == '&' && !v){action[p] =...
32.038462
96
0.402161
Ashwanigupta9125
217f4eea802c216218e09170d96722b90697c39b
7,191
cpp
C++
test/state_machine_test.cpp
kariem2k/rive-cpp
f58c3b3d48ea03947a76971bce17e7f567cf0de0
[ "MIT" ]
139
2020-08-17T20:10:24.000Z
2022-03-28T12:22:44.000Z
test/state_machine_test.cpp
kariem2k/rive-cpp
f58c3b3d48ea03947a76971bce17e7f567cf0de0
[ "MIT" ]
89
2020-08-28T16:41:01.000Z
2022-03-28T19:10:49.000Z
test/state_machine_test.cpp
kariem2k/rive-cpp
f58c3b3d48ea03947a76971bce17e7f567cf0de0
[ "MIT" ]
19
2020-10-19T00:54:40.000Z
2022-02-28T05:34:17.000Z
#include <rive/core/binary_reader.hpp> #include <rive/file.hpp> #include <rive/animation/state_machine_bool.hpp> #include <rive/animation/state_machine_layer.hpp> #include <rive/animation/animation_state.hpp> #include <rive/animation/entry_state.hpp> #include <rive/animation/state_transition.hpp> #include <rive/animati...
32.686364
77
0.695175
kariem2k
217f5897f31a0f6f3f653e816a6c592dc13fd832
13,022
cpp
C++
designer/src/gaugespeed.cpp
HangYongmao/quc
ce33d0e0bd36ec5b777ca312d0c88f27169bace1
[ "MIT" ]
19
2019-09-05T07:11:16.000Z
2021-12-17T09:30:50.000Z
designer/src/gaugespeed.cpp
zhoujuan-ht17/quc
ce33d0e0bd36ec5b777ca312d0c88f27169bace1
[ "MIT" ]
null
null
null
designer/src/gaugespeed.cpp
zhoujuan-ht17/quc
ce33d0e0bd36ec5b777ca312d0c88f27169bace1
[ "MIT" ]
22
2019-08-13T06:50:31.000Z
2022-03-22T12:52:22.000Z
#pragma execution_character_set("utf-8") #include "gaugespeed.h" #include "qpainter.h" #include "qmath.h" #include "qtimer.h" #include "qlcdnumber.h" #include "qdebug.h" GaugeSpeed::GaugeSpeed(QWidget *parent) : QWidget(parent) { minValue = 0; maxValue = 100; value = 0; precision = 2; scaleM...
22.37457
107
0.624712
HangYongmao
2186f8dcb78f27fa11418cdb0781536905738bba
1,408
cpp
C++
tcp_async_server.cpp
opensvn/boost_learning
7f21551a7f3db38bea2c31d95d0c8b4e00f4537e
[ "BSL-1.0" ]
null
null
null
tcp_async_server.cpp
opensvn/boost_learning
7f21551a7f3db38bea2c31d95d0c8b4e00f4537e
[ "BSL-1.0" ]
null
null
null
tcp_async_server.cpp
opensvn/boost_learning
7f21551a7f3db38bea2c31d95d0c8b4e00f4537e
[ "BSL-1.0" ]
1
2021-10-01T04:27:44.000Z
2021-10-01T04:27:44.000Z
#include <iostream> #include <boost/asio.hpp> #include <boost/bind.hpp> #include <boost/shared_ptr.hpp> using namespace std; using namespace boost::asio; class server { private: io_service &ios; ip::tcp::acceptor acceptor; typedef boost::shared_ptr<ip::tcp::socket> sock_pt; public: server(io_service& ...
22.349206
95
0.534801
opensvn
218d6bab407dc672e26ebb0c57f15c812c5e9714
3,332
cpp
C++
test/dmtimerevent/main.cpp
brinkqiang/dmtimer
3a8c18a3366ccc31e79d1e79df512769cb8b0633
[ "MIT" ]
18
2018-03-05T14:42:46.000Z
2021-07-28T06:25:29.000Z
test/dmtimerevent/main.cpp
brinkqiang/dmtimer
3a8c18a3366ccc31e79d1e79df512769cb8b0633
[ "MIT" ]
null
null
null
test/dmtimerevent/main.cpp
brinkqiang/dmtimer
3a8c18a3366ccc31e79d1e79df512769cb8b0633
[ "MIT" ]
5
2018-03-20T12:01:07.000Z
2020-01-25T12:01:13.000Z
#include "dmutil.h" #include "dmtimermodule.h" #include "dmsingleton.h" #include "dmthread.h" #include "dmconsole.h" #include "dmtypes.h" #include "dmtimereventnode.h" class CPlayer : public CDMTimerNode { public: virtual void OnTimer(uint64_t qwIDEvent); }; class CMain : public IDMConsoleSink, ...
19.260116
91
0.498199
brinkqiang
2193656d0b9f2642e5b595c56ccea59f64666e1c
3,122
cpp
C++
PixelSortSDL2/application.cpp
ohookins/cpp_experiments
3b7bba2a625ef72e20cc3b90191a7683bb85740f
[ "MIT" ]
1
2018-03-31T06:41:37.000Z
2018-03-31T06:41:37.000Z
PixelSortSDL2/application.cpp
ohookins/cpp_experiments
3b7bba2a625ef72e20cc3b90191a7683bb85740f
[ "MIT" ]
null
null
null
PixelSortSDL2/application.cpp
ohookins/cpp_experiments
3b7bba2a625ef72e20cc3b90191a7683bb85740f
[ "MIT" ]
null
null
null
#include "application.h" #include "mypixel.h" #include <iostream> Application::Application() { // Define size of pixel array pixels = new MyPixel*[dimension]; for (int p = 0; p < dimension; p++) { pixels[p] = new MyPixel[dimension]; } } Application::~Application() { for (int p = 0; p < dim...
27.147826
134
0.60442
ohookins
2195e9f70920cf15b460a1e62e81d31f933d994b
379
cpp
C++
taichi/program/aot_module_builder.cpp
squarefk/test_actions
dd3b0305c49b577102786eb1c24c590ef160bc30
[ "MIT" ]
1
2022-01-29T11:59:50.000Z
2022-01-29T11:59:50.000Z
taichi/program/aot_module_builder.cpp
squarefk/test_actions
dd3b0305c49b577102786eb1c24c590ef160bc30
[ "MIT" ]
null
null
null
taichi/program/aot_module_builder.cpp
squarefk/test_actions
dd3b0305c49b577102786eb1c24c590ef160bc30
[ "MIT" ]
1
2021-08-09T15:47:24.000Z
2021-08-09T15:47:24.000Z
#include "taichi/program/aot_module_builder.h" #include "taichi/program/kernel.h" namespace taichi { namespace lang { void AotModuleBuilder::add(const std::string &identifier, Kernel *kernel) { if (!kernel->lowered() && Kernel::supports_lowering(kernel->arch)) { kernel->lower(); } add_per_backend(identifie...
22.294118
75
0.71504
squarefk
219c956c8719ced56b9a4b6d165247f51722f3f6
5,874
hpp
C++
include/El/core/imports/scalapack/pblas.hpp
justusc/Elemental
145ccb28411f3f0c65ca30ecea776df33297e4ff
[ "BSD-3-Clause" ]
null
null
null
include/El/core/imports/scalapack/pblas.hpp
justusc/Elemental
145ccb28411f3f0c65ca30ecea776df33297e4ff
[ "BSD-3-Clause" ]
null
null
null
include/El/core/imports/scalapack/pblas.hpp
justusc/Elemental
145ccb28411f3f0c65ca30ecea776df33297e4ff
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2009-2015, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #pragma once #ifndef EL_IMPORTS_SCALAPACK_PBLAS_HPP #de...
33
73
0.617297
justusc
219ce3d770cb1c2fc6349c0242f5d60a31f39091
129,544
cc
C++
SimFastTiming/FastTimingCommon/src/BTLPulseShape.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
SimFastTiming/FastTimingCommon/src/BTLPulseShape.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
SimFastTiming/FastTimingCommon/src/BTLPulseShape.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
#include "SimFastTiming/FastTimingCommon/interface/BTLPulseShape.h" BTLPulseShape::~BTLPulseShape() { } BTLPulseShape::BTLPulseShape() : MTDShapeBase() { buildMe() ; } void BTLPulseShape::fillShape( MTDShapeBase::DVec& aVec ) const { // --- Pulse shape for a signal of 100 p.e. aVec = { 1.0989088528e-08,...
41.493914
67
0.568425
nistefan
219dd34be04d01ba0039885fdc414cc282d234e3
15,257
cpp
C++
BAPSPresenter/SecurityDialog.cpp
UniversityRadioYork/BAPS2
af80b66cdd7a980cf34714bef7b5260167714ca5
[ "BSD-3-Clause" ]
4
2018-12-20T20:58:46.000Z
2019-05-22T21:32:43.000Z
BAPSPresenter/SecurityDialog.cpp
UniversityRadioYork/BAPS2
af80b66cdd7a980cf34714bef7b5260167714ca5
[ "BSD-3-Clause" ]
9
2018-12-22T00:55:13.000Z
2019-01-21T10:08:30.000Z
BAPSPresenter/SecurityDialog.cpp
UniversityRadioYork/BAPS2
af80b66cdd7a980cf34714bef7b5260167714ca5
[ "BSD-3-Clause" ]
1
2018-12-21T19:32:48.000Z
2018-12-21T19:32:48.000Z
#include "StdAfx.h" #include "SecurityDialog.h" #include "UtilityMacros.h" #undef MessageBox using namespace BAPSPresenter; void SecurityDialog::receiveUserCount(System::Object^ _count) { grantButton->Enabled = false; revokeButton->Enabled = false; availablePermissionList->Enabled = false; permissionList->Enable...
32.324153
199
0.730878
UniversityRadioYork
219f4474b7a0e490495e53119708bdffb0737351
950
cpp
C++
test/linux/main.cpp
77Z/Shadow-Engine
a07121d56dcf71a040580e9d4e563f36a70123a3
[ "MIT" ]
3
2020-08-31T20:38:54.000Z
2021-06-17T12:31:44.000Z
test/linux/main.cpp
77Z/Shadow-Engine
a07121d56dcf71a040580e9d4e563f36a70123a3
[ "MIT" ]
3
2020-08-31T19:08:43.000Z
2022-03-25T19:11:50.000Z
test/linux/main.cpp
77Z/Shadow-Engine
a07121d56dcf71a040580e9d4e563f36a70123a3
[ "MIT" ]
null
null
null
//Copyright © Vince Richter 2020 //Copyright © 77Z™ 2020 #include "main.h" void print(std::string text) { std::cout << text << std::endl; } inline bool exists(const std::string& name) { struct stat buffer; return (stat (name.c_str(), &buffer) == 0); } int main() { print("Running Lin...
21.111111
68
0.532632
77Z
21a0be3e9e52fc6864f119b94e882cd0fb50af9f
2,681
cpp
C++
ExaHyPE/kernels/aderdg/generic/fortran/3d/amrRoutines3D.cpp
yungcheeze/exahype
897970ea2836132e1c221eec7bd1a717afee97ae
[ "BSD-3-Clause" ]
2
2019-08-14T22:41:26.000Z
2020-02-04T19:30:24.000Z
ExaHyPE/kernels/aderdg/generic/fortran/3d/amrRoutines3D.cpp
yungcheeze/exahype
897970ea2836132e1c221eec7bd1a717afee97ae
[ "BSD-3-Clause" ]
null
null
null
ExaHyPE/kernels/aderdg/generic/fortran/3d/amrRoutines3D.cpp
yungcheeze/exahype
897970ea2836132e1c221eec7bd1a717afee97ae
[ "BSD-3-Clause" ]
3
2019-07-22T10:27:36.000Z
2020-05-11T12:25:29.000Z
/** * This file is part of the ExaHyPE project. * Copyright (c) 2016 http://exahype.eu * All rights reserved. * * The project has received funding from the European Union's Horizon * 2020 research and innovation programme under grant agreement * No 671698. For copyrights and licensing, please consult the webpa...
42.555556
87
0.56658
yungcheeze
21a16fb2c835e0de58984b52ed7b0ce6a9144ce8
6,168
cpp
C++
source/function.cpp
Venkster123/Zhetapi
9a034392c06733c57d892afde300e90c4b7036f9
[ "MIT" ]
27
2020-06-05T15:39:31.000Z
2022-01-07T05:03:01.000Z
source/function.cpp
Venkster123/Zhetapi
9a034392c06733c57d892afde300e90c4b7036f9
[ "MIT" ]
1
2021-02-12T04:51:40.000Z
2021-02-12T04:51:40.000Z
source/function.cpp
Venkster123/Zhetapi
9a034392c06733c57d892afde300e90c4b7036f9
[ "MIT" ]
4
2021-02-12T04:39:55.000Z
2021-11-15T08:00:06.000Z
#include "../engine/function.hpp" #include "../engine/engine.hpp" #include "../engine/core/operation_base.hpp" namespace zhetapi { // Static variables Engine *Function::shared_context = new Engine(); double Function::h = 0.0001; // Methods // TODO: use macro ZHP_TOKEN_METHOD(ftn_deriv_method) { // TODO: remove as...
19.769231
88
0.645266
Venkster123
21a19ad1a17a1917353ab7501f275153fac025e1
20,888
cc
C++
src/benchmark.cc
mtrofin/benchmark
99cfbdd53357477fb328aa54d271178911bd2a84
[ "Apache-2.0" ]
null
null
null
src/benchmark.cc
mtrofin/benchmark
99cfbdd53357477fb328aa54d271178911bd2a84
[ "Apache-2.0" ]
null
null
null
src/benchmark.cc
mtrofin/benchmark
99cfbdd53357477fb328aa54d271178911bd2a84
[ "Apache-2.0" ]
null
null
null
// Copyright 2015 Google 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 at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
35.463497
80
0.69121
mtrofin
426f8c942f3ef9d9433a3321aedf5ad1d7a5757f
1,819
cpp
C++
ibp_external__libtommatch_set01__bn_mp_clamp.cpp
dmitry-lipetsk/libtommath-for-ibprovider--set01
b7b8e7cf76bd0b2d265d0c31a99836a3b4bad882
[ "WTFPL" ]
null
null
null
ibp_external__libtommatch_set01__bn_mp_clamp.cpp
dmitry-lipetsk/libtommath-for-ibprovider--set01
b7b8e7cf76bd0b2d265d0c31a99836a3b4bad882
[ "WTFPL" ]
null
null
null
ibp_external__libtommatch_set01__bn_mp_clamp.cpp
dmitry-lipetsk/libtommath-for-ibprovider--set01
b7b8e7cf76bd0b2d265d0c31a99836a3b4bad882
[ "WTFPL" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// #include <_pch_.h> #pragma hdrstop #include "source/external/libtommath/set01/ibp_external__libtommatch_set01__tommath_private.h" namespace ibp{namespace external{namespace libtommath{namespace set01{ ////////////////////////////////////...
24.581081
94
0.601979
dmitry-lipetsk
4272eab0047a8e82ba1850062b8318565e9f0b9d
7,231
cpp
C++
live/src/v20180801/model/CreateLiveRecordRequest.cpp
li5ch/tencentcloud-sdk-cpp
12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4
[ "Apache-2.0" ]
null
null
null
live/src/v20180801/model/CreateLiveRecordRequest.cpp
li5ch/tencentcloud-sdk-cpp
12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4
[ "Apache-2.0" ]
null
null
null
live/src/v20180801/model/CreateLiveRecordRequest.cpp
li5ch/tencentcloud-sdk-cpp
12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
24.429054
85
0.718296
li5ch
427418928443107ac12ac31e6e1e5edd3f7a20cc
940
cpp
C++
datasets/github_cpp_10/10/153.cpp
yijunyu/demo-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
1
2019-05-03T19:27:45.000Z
2019-05-03T19:27:45.000Z
datasets/github_cpp_10/10/153.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
datasets/github_cpp_10/10/153.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
/* * EditDistance.cpp * * Created on: Aug 11, 2015 * Author: user #include<iostream> #include<cstring> using namespace std; void editDistance(char X[],char Y[],int m,int n){ int edit[m+1][n+1]; int delcost,inscost,samecost; //Initialize table for(int i=0;i<=m;i++){ for(int j=0;j<=n;j++){ edit[i][j]...
17.735849
53
0.544681
yijunyu
42760f70fcbb3e61191edeedac9efce62403ccca
18,364
hpp
C++
3rdparty/GPSTk/core/lib/GNSSEph/PackedNavBits.hpp
mfkiwl/ICE
e660d031bb1bcea664db1de4946fd8781be5b627
[ "MIT" ]
50
2019-10-12T01:22:20.000Z
2022-02-15T23:28:26.000Z
3rdparty/GPSTk/core/lib/GNSSEph/PackedNavBits.hpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
null
null
null
3rdparty/GPSTk/core/lib/GNSSEph/PackedNavBits.hpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
14
2019-11-05T01:50:29.000Z
2021-08-06T06:23:44.000Z
//============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published // by the Free Software Foundation; ei...
40.808889
92
0.556415
mfkiwl
42768a0b65d6e98e69e348eb23106fa73cff1c2a
741
cc
C++
base/at_exit.cc
Arpan-2109/caroline
23aba9ac9a35697c02358aeb88ed121d3d97a99c
[ "MIT" ]
1
2017-07-27T15:08:19.000Z
2017-07-27T15:08:19.000Z
base/at_exit.cc
Arpan-2109/caroline
23aba9ac9a35697c02358aeb88ed121d3d97a99c
[ "MIT" ]
null
null
null
base/at_exit.cc
Arpan-2109/caroline
23aba9ac9a35697c02358aeb88ed121d3d97a99c
[ "MIT" ]
1
2020-10-01T08:46:10.000Z
2020-10-01T08:46:10.000Z
// Copyright (c) 2014 The Caroline authors. All rights reserved. // Use of this source file is governed by a MIT license that can be found in the // LICENSE file. // @author Aleksandr Derbenev <13alexac@gmail.com> #include "base/at_exit.h" namespace base { AtExitManager* AtExitManager::instance_ = nullptr; AtExitMa...
22.454545
80
0.735493
Arpan-2109
4278bd904a9c2025b90f02a445961a9ce574a0f6
20,942
cc
C++
content/renderer/loader/url_loader_client_impl_unittest.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
content/renderer/loader/url_loader_client_impl_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
content/renderer/loader/url_loader_client_impl_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/renderer/loader/url_loader_client_impl.h" #include <vector> #include "base/message_loop/message_loop.h" #include "base/run_loop.h" #inc...
38.00726
93
0.798682
zipated
427dadf50206b481428f745d6378efe7af5a3e14
1,896
cpp
C++
source/Matrix.cpp
cburggie/matrixemu
1ec74e26f2a201caf5577eabd57c0ab5ad83d94f
[ "MIT" ]
null
null
null
source/Matrix.cpp
cburggie/matrixemu
1ec74e26f2a201caf5577eabd57c0ab5ad83d94f
[ "MIT" ]
null
null
null
source/Matrix.cpp
cburggie/matrixemu
1ec74e26f2a201caf5577eabd57c0ab5ad83d94f
[ "MIT" ]
null
null
null
//namespace matrixemu #include <Terminal.h> //class Terminal #include <Column.h> //class Column #include <Linker.h> //class Linker<T> #include <Matrix.h> //Implementing this //namespace std #include <cstdlib> //rand() using namespace matrixemu; Matrix::Matrix() { terminal = new Terminal(); columns = new Link...
16.205128
71
0.617616
cburggie
427ee3368d8d95736ded6ebd83e6d7aaf7f3496f
61,687
hpp
C++
include/bf_rt/bf_rt_table.hpp
mestery/p4-dpdk-target
9e7bafa442d3e008749f9ee0e1364bc5e9acfc13
[ "Apache-2.0" ]
17
2021-10-21T17:55:24.000Z
2022-03-11T11:04:33.000Z
include/bf_rt/bf_rt_table.hpp
mestery/p4-dpdk-target
9e7bafa442d3e008749f9ee0e1364bc5e9acfc13
[ "Apache-2.0" ]
9
2021-12-20T10:24:50.000Z
2022-03-21T17:42:13.000Z
include/bf_rt/bf_rt_table.hpp
mestery/p4-dpdk-target
9e7bafa442d3e008749f9ee0e1364bc5e9acfc13
[ "Apache-2.0" ]
7
2021-11-02T22:08:04.000Z
2022-03-09T23:26:03.000Z
/* * Copyright(c) 2021 Intel Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
34.462011
80
0.630262
mestery
428076b9e4ff076bd95fb24def4b4ac59b016772
2,905
inl
C++
Engine/Core/Headers/Molten/Renderer/Shader/Visual/VisualShaderConstant.inl
jimmiebergmann/CurseEngine
74a0502e36327f893c8e4f3e7cbe5b9d38fbe194
[ "MIT" ]
2
2019-11-11T21:17:14.000Z
2019-11-11T22:07:26.000Z
Engine/Core/Headers/Molten/Renderer/Shader/Visual/VisualShaderConstant.inl
jimmiebergmann/CurseEngine
74a0502e36327f893c8e4f3e7cbe5b9d38fbe194
[ "MIT" ]
null
null
null
Engine/Core/Headers/Molten/Renderer/Shader/Visual/VisualShaderConstant.inl
jimmiebergmann/CurseEngine
74a0502e36327f893c8e4f3e7cbe5b9d38fbe194
[ "MIT" ]
1
2020-04-05T03:50:57.000Z
2020-04-05T03:50:57.000Z
/* * MIT License * * Copyright (c) 2021 Jimmie Bergmann * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files(the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
28.203883
80
0.67642
jimmiebergmann
4282699a05745276022b2dfd0b68112ee07565d8
2,255
cpp
C++
src/Hola_Common/src/Base/ShaderCompiler.cpp
dfnzhc/Hola
d0fd46e9966baafd03c994e49efaa3dd8057309e
[ "MIT" ]
null
null
null
src/Hola_Common/src/Base/ShaderCompiler.cpp
dfnzhc/Hola
d0fd46e9966baafd03c994e49efaa3dd8057309e
[ "MIT" ]
null
null
null
src/Hola_Common/src/Base/ShaderCompiler.cpp
dfnzhc/Hola
d0fd46e9966baafd03c994e49efaa3dd8057309e
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "ShaderCompiler.h" #include "Misc/Misc.h" //-------------------------------------------------------------------------------------- // 哈希一串源代码,并在它的 #include 文件中递归 //-------------------------------------------------------------------------------------- size_t HashShaderString(const char *pR...
29.285714
89
0.2949
dfnzhc
4285112808835de0c0cd70175a6e99999ba1b8b8
1,852
cpp
C++
modules/task_2/vodeneev_m_broadcast/ops_mpi.cpp
Vodeneev/pp_2020_autumn_math
9b7e5ec56e09474c9880810a6124e3e416bb7e16
[ "BSD-3-Clause" ]
null
null
null
modules/task_2/vodeneev_m_broadcast/ops_mpi.cpp
Vodeneev/pp_2020_autumn_math
9b7e5ec56e09474c9880810a6124e3e416bb7e16
[ "BSD-3-Clause" ]
null
null
null
modules/task_2/vodeneev_m_broadcast/ops_mpi.cpp
Vodeneev/pp_2020_autumn_math
9b7e5ec56e09474c9880810a6124e3e416bb7e16
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020 Mikhail Vodeneev #include <mpi.h> #include <math.h> #include <random> #include <ctime> #include <vector> #include <algorithm> #include "../../../modules/test_tasks/test_mpi/ops_mpi.h" int Bcast(void* buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm) { int size, rank...
25.369863
80
0.513499
Vodeneev