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
5921ea0546f73efec76a67380f329551a7c3ef1c
82,290
cpp
C++
src/main.cpp
bkentel/boken-old
8967856be5f283989d0c10843bcb739728423152
[ "MIT" ]
null
null
null
src/main.cpp
bkentel/boken-old
8967856be5f283989d0c10843bcb739728423152
[ "MIT" ]
null
null
null
src/main.cpp
bkentel/boken-old
8967856be5f283989d0c10843bcb739728423152
[ "MIT" ]
1
2020-04-11T12:20:00.000Z
2020-04-11T12:20:00.000Z
#include "algorithm.hpp" #include "allocator.hpp" #include "catch.hpp" // for run_unit_tests #include "command.hpp" #include "data.hpp" #include "entity.hpp" // for entity #include "entity_properties.hpp" #include "events.hpp" #include "format.hpp" #include "hash.hpp" // for djb2_hash_32 #include "...
33.587755
116
0.539081
bkentel
5925c02a3d9cf6bfdc9156bf666040b79d82ca72
4,106
cpp
C++
Chat Homework/ModuleNetworking.cpp
MarcFly/Networks-and-Online-Games
ba291cbba47eea230f7a52f58625069878f832ec
[ "MIT" ]
null
null
null
Chat Homework/ModuleNetworking.cpp
MarcFly/Networks-and-Online-Games
ba291cbba47eea230f7a52f58625069878f832ec
[ "MIT" ]
null
null
null
Chat Homework/ModuleNetworking.cpp
MarcFly/Networks-and-Online-Games
ba291cbba47eea230f7a52f58625069878f832ec
[ "MIT" ]
null
null
null
#include "Networks.h" #include "ModuleNetworking.h" static uint8 NumModulesUsingWinsock = 0; void ModuleNetworking::reportError(const char* inOperationDesc) { LPVOID lpMsgBuf; DWORD errorNum = WSAGetLastError(); FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNO...
22.437158
83
0.688261
MarcFly
59269fe836386ebcf2c11b1f62195a2dec0e695a
5,205
cpp
C++
test/hash_trie_test.cpp
MatsuTaku/dynpdt_Correction
10605c1dc8ae6196741bee0e991935e8877b930a
[ "MIT" ]
47
2018-02-24T09:56:24.000Z
2022-02-13T12:10:00.000Z
test/hash_trie_test.cpp
MatsuTaku/dynpdt_Correction
10605c1dc8ae6196741bee0e991935e8877b930a
[ "MIT" ]
4
2018-03-08T03:28:05.000Z
2021-09-29T06:38:25.000Z
test/hash_trie_test.cpp
MatsuTaku/dynpdt_Correction
10605c1dc8ae6196741bee0e991935e8877b930a
[ "MIT" ]
5
2018-03-07T06:34:43.000Z
2022-02-12T19:54:18.000Z
/** * MIT License * * Copyright (c) 2018–2019 Shunsuke Kanda * * 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, c...
31.737805
109
0.593084
MatsuTaku
592def4ca2fbc6e4352cc3a5e43b85d3dedadc88
11,158
cpp
C++
tf2_src/game/server/tf/bot_npc/bot_npc_archer.cpp
IamIndeedGamingAsHardAsICan03489/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
tf2_src/game/server/tf/bot_npc/bot_npc_archer.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
null
null
null
tf2_src/game/server/tf/bot_npc/bot_npc_archer.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // bot_npc_archer.cpp // A NextBot non-player derived archer // Michael Booth, November 2010 #include "cbase.h" #include "tf_player.h" #include "tf_gamerules.h" #include "tf_team.h" #include "tf_projectile_arrow.h" #include "tf_weapon_grenad...
27.687345
143
0.595358
IamIndeedGamingAsHardAsICan03489
593866676dfae769f1ddc8f8b6bb3e7d815471c6
2,003
cc
C++
test/test_timecode.cc
ke6jjj/r-dat
1e0b55af5f3f71b7a843835804330de0152258e1
[ "BSD-2-Clause" ]
3
2020-05-07T02:18:28.000Z
2021-08-03T14:00:12.000Z
test/test_timecode.cc
ke6jjj/r-dat
1e0b55af5f3f71b7a843835804330de0152258e1
[ "BSD-2-Clause" ]
null
null
null
test/test_timecode.cc
ke6jjj/r-dat
1e0b55af5f3f71b7a843835804330de0152258e1
[ "BSD-2-Clause" ]
null
null
null
// // Copyright 2018, Jeremy Cooper // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // 1. Redistributions of source code must retain the above copyright // notice, this list of condition...
31.296875
71
0.740889
ke6jjj
86cccfdb22c8c035291ff39414badbf6e1102d7f
14,039
hpp
C++
mapA/map.hpp
q4x3/dsHomework
0097bb7d9e08c68fb782afc0e3e5c348f212ceb5
[ "MIT" ]
null
null
null
mapA/map.hpp
q4x3/dsHomework
0097bb7d9e08c68fb782afc0e3e5c348f212ceb5
[ "MIT" ]
null
null
null
mapA/map.hpp
q4x3/dsHomework
0097bb7d9e08c68fb782afc0e3e5c348f212ceb5
[ "MIT" ]
null
null
null
/** * implement a container like std::map */ #ifndef SJTU_MAP_HPP #define SJTU_MAP_HPP // only for std::less<T> #include <functional> #include <cstddef> #include "utility.hpp" #include "exceptions.hpp" namespace sjtu { enum color_type {RED, BLACK}; template< class Key, class T, class Compare = std::less<Key> > ...
25.950092
87
0.588788
q4x3
86cd1d606a9356bf9909a3667d88fd433cdbce76
4,751
cpp
C++
host/display/controller.cpp
wmax351/airball-embedded
204189922415b0f3cbef5dda14fa137e3c806a7d
[ "MIT" ]
null
null
null
host/display/controller.cpp
wmax351/airball-embedded
204189922415b0f3cbef5dda14fa137e3c806a7d
[ "MIT" ]
null
null
null
host/display/controller.cpp
wmax351/airball-embedded
204189922415b0f3cbef5dda14fa137e3c806a7d
[ "MIT" ]
null
null
null
#include "controller.h" #include "settings.h" #include "airdata.h" #include "display.h" #include "delay_timer.h" #include "system_status.h" #include "units.h" #include "../telemetry/airdata_reduced_sample.h" #include "file_write_watch.h" #include "sound_scheme.h" #include "stallfence_scheme.h" #include "flyonspeed_sche...
28.279762
79
0.588508
wmax351
86cddbbb23a1fc53e82a2c1f0593350790157699
1,259
cpp
C++
products/BellHybrid/apps/application-bell-settings/presenter/FrontlightPresenter.cpp
buk7456/MuditaOS
06ef1e131b27b0f397cc615c96d51bede7050423
[ "BSL-1.0" ]
369
2021-11-10T09:20:29.000Z
2022-03-30T06:36:58.000Z
products/BellHybrid/apps/application-bell-settings/presenter/FrontlightPresenter.cpp
buk7456/MuditaOS
06ef1e131b27b0f397cc615c96d51bede7050423
[ "BSL-1.0" ]
149
2021-11-10T08:38:35.000Z
2022-03-31T23:01:52.000Z
products/BellHybrid/apps/application-bell-settings/presenter/FrontlightPresenter.cpp
buk7456/MuditaOS
06ef1e131b27b0f397cc615c96d51bede7050423
[ "BSL-1.0" ]
41
2021-11-10T08:30:37.000Z
2022-03-29T08:12:46.000Z
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "FrontlightPresenter.hpp" namespace app::bell_settings { FrontlightPresenter::FrontlightPresenter(std::shared_ptr<FrontlightListItemProvider> &&provider, ...
28.613636
104
0.637014
buk7456
86ce288813f98e86cbab4bfad2c16ff07d513d0c
6,694
cpp
C++
VideoPlayer/src/qtvideowidget.cpp
Embedfire/ebf_debian_qt_demo
91cd3e9328d7df1e481d2fc12bd83165ad025a80
[ "MIT" ]
1
2020-06-19T00:58:32.000Z
2020-06-19T00:58:32.000Z
VideoPlayer/src/qtvideowidget.cpp
Embedfire/ebf_debian_qt_demo
91cd3e9328d7df1e481d2fc12bd83165ad025a80
[ "MIT" ]
null
null
null
VideoPlayer/src/qtvideowidget.cpp
Embedfire/ebf_debian_qt_demo
91cd3e9328d7df1e481d2fc12bd83165ad025a80
[ "MIT" ]
null
null
null
/****************************************************************** Copyright (C) 2019 - All Rights Reserved by 文 件 名 : videowidget.cpp --- VideoWidget 作 者 : Niyh(lynnhua) 论 坛 : http://www.firebbs.cn 编写日期 : 2019 说 明 : 历史纪录 : <作者> <日期> <版本> <内容> Niyh 2019 1.0.0 1 文...
30.427273
109
0.623394
Embedfire
86ce501dacd675dca7cce1979d49b7ede31e287a
2,750
cc
C++
src/solv_simple/fn_xor/bdd2specfn_xor.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
4
2015-03-08T07:56:29.000Z
2017-10-12T04:19:27.000Z
src/solv_simple/fn_xor/bdd2specfn_xor.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
null
null
null
src/solv_simple/fn_xor/bdd2specfn_xor.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
null
null
null
#include "sbsat.h" #include "sbsat_solver.h" #include "solver.h" void *CreateXORState(int *arrElts, int nNumElts, BDDNode *pCurrentBDD, XORStateEntry *pStartState) { check_SmurfStatesTableSize(sizeof(XORStateEntry)); ite_counters[SMURF_STATES]+=1; pStartState = (XORStateEntry *)SimpleSmurfProblemState->pSmurfState...
37.671233
110
0.752727
nerdling
86ce8dc16dd074aa9af8352d64b6aa48cdc57170
1,022
cpp
C++
STL/Associative Containers/8 map in c++ stl.cpp
arvindr19/cppnuts
3814a00348e0eb8588711bab751d3db1b6af6a25
[ "MIT" ]
null
null
null
STL/Associative Containers/8 map in c++ stl.cpp
arvindr19/cppnuts
3814a00348e0eb8588711bab751d3db1b6af6a25
[ "MIT" ]
null
null
null
STL/Associative Containers/8 map in c++ stl.cpp
arvindr19/cppnuts
3814a00348e0eb8588711bab751d3db1b6af6a25
[ "MIT" ]
null
null
null
// TOPIC: Map In C++ // NOTES: // 1. Syntax: map<T1, T2> obj; // where T1 is key type and T2 is value type. // 2. std::map is associative container that store elements in key value combination // where key should be unique, otherwise it overrides the previous value. // 3. It is implement using Self-Balance Binary ...
28.388889
88
0.650685
arvindr19
86d0ee65da11b320db1f2f1c1dc9fe0c66b6dce1
6,232
cpp
C++
Vic2ToHoI4/Source/V2World/Countries/Country.cpp
gawquon/Vic2ToHoI4
8371cfb1fd57cf81d854077963135d8037e754eb
[ "MIT" ]
3
2019-12-31T19:51:21.000Z
2020-01-23T18:20:57.000Z
Vic2ToHoI4/Source/V2World/Countries/Country.cpp
gawquon/Vic2ToHoI4
8371cfb1fd57cf81d854077963135d8037e754eb
[ "MIT" ]
52
2021-12-22T01:23:44.000Z
2022-03-24T01:26:37.000Z
Vic2ToHoI4/Source/V2World/Countries/Country.cpp
Osariusz/Vic2ToHoI4
9738b52c7602b1fe187c3820660c58a8d010d87e
[ "MIT" ]
null
null
null
#include "Country.h" #include "Log.h" #include "V2World/Culture/CultureGroups.h" #include "V2World/Localisations/Vic2Localisations.h" #include "V2World/Pops/Pop.h" #include "V2World/Provinces/Province.h" #include "V2World/States/State.h" #include <ranges> void Vic2::Country::eatCountry(Country& target, bool debug) {...
21.415808
116
0.702343
gawquon
86d12c1e94292093f49dfa19b52dff28b52f1462
869
cpp
C++
src/system/Runner.cpp
bkozdras/picosdkal
1830a2b0296510a5d40a69d22d9a21618d664528
[ "MIT" ]
null
null
null
src/system/Runner.cpp
bkozdras/picosdkal
1830a2b0296510a5d40a69d22d9a21618d664528
[ "MIT" ]
null
null
null
src/system/Runner.cpp
bkozdras/picosdkal
1830a2b0296510a5d40a69d22d9a21618d664528
[ "MIT" ]
null
null
null
/**********************************************************************************/ /* Copyright by @bkozdras <b.kozdras@gmail.com> */ /* Version: 1.0 */ /* Licence: MIT ...
28.032258
84
0.420023
bkozdras
86d1d4e9a3877ab3c3ebc284d1be8e8199be97b0
4,390
cpp
C++
src/game/shared/sdk/sdk_playerclass_info_parse.cpp
vxsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
14
2021-02-16T14:13:50.000Z
2022-03-17T18:29:19.000Z
src/game/shared/sdk/sdk_playerclass_info_parse.cpp
undbsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
7
2021-08-06T18:40:37.000Z
2022-03-09T18:05:08.000Z
src/game/shared/sdk/sdk_playerclass_info_parse.cpp
undbsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
2
2021-08-05T16:03:03.000Z
2021-11-26T00:11:27.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "cbase.h" #include "sdk_playerclass_info_parse.h" #include "weapon_sdkbase.h" #include <KeyValues.h> // memdbgon must be the last in...
31.811594
137
0.657175
vxsd
86d8cd9a5692354e7e01ffd84a8ca14ad6b3a46b
35,836
cc
C++
server/core/routingworker.cc
woopstar/MaxScale
e88b7f56f96ac2567582d1707fe0a23f92ac8e11
[ "MIT" ]
null
null
null
server/core/routingworker.cc
woopstar/MaxScale
e88b7f56f96ac2567582d1707fe0a23f92ac8e11
[ "MIT" ]
1
2019-07-02T09:59:27.000Z
2019-07-02T09:59:49.000Z
server/core/routingworker.cc
woopstar/MaxScale
e88b7f56f96ac2567582d1707fe0a23f92ac8e11
[ "MIT" ]
null
null
null
/* * Copyright (c) 2016 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2022-01-01 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
26.157664
107
0.612792
woopstar
86dab5549f3705d52d47065af2d8620098d40e2d
30,926
cpp
C++
annonet_train_main.cpp
reunanen/annonet
4767f4dee850d78e7c214ffdcc8002d7de8c683c
[ "MIT" ]
7
2019-01-20T07:33:44.000Z
2022-01-17T09:41:33.000Z
annonet_train_main.cpp
reunanen/annonet
4767f4dee850d78e7c214ffdcc8002d7de8c683c
[ "MIT" ]
5
2017-11-09T07:22:11.000Z
2020-05-08T14:09:12.000Z
annonet_train_main.cpp
reunanen/annonet
4767f4dee850d78e7c214ffdcc8002d7de8c683c
[ "MIT" ]
2
2019-01-21T04:34:32.000Z
2019-02-27T17:41:13.000Z
/* This example shows how to train a semantic segmentation net using images annotated in the "anno" program (see https://github.com/reunanen/anno). Instructions: 1. Use anno to label some data. 2. Build the annonet_train program. 3. Run: ./annonet_train /path/to/anno/data 4. Wait whi...
48.397496
221
0.655015
reunanen
86db2ae6fb4c2499f34b02ec7739df4bf58d8ce8
724
hpp
C++
include/ui/SidebarIcon.hpp
davidcorbin/mygcc-application
9e978e4d6e4cd3d8534bbc73f38c45b205258cc9
[ "MIT" ]
2
2019-01-18T02:33:45.000Z
2019-02-01T23:44:05.000Z
include/ui/SidebarIcon.hpp
davidcorbin/mygcc-application
9e978e4d6e4cd3d8534bbc73f38c45b205258cc9
[ "MIT" ]
null
null
null
include/ui/SidebarIcon.hpp
davidcorbin/mygcc-application
9e978e4d6e4cd3d8534bbc73f38c45b205258cc9
[ "MIT" ]
null
null
null
/** * Copyright 2018 <David Corbin, Mitchell Harvey> */ #ifndef INCLUDE_UI_SIDEBARICON_HPP_ #define INCLUDE_UI_SIDEBARICON_HPP_ #include <include/ui/Image.hpp> #include <include/types/Course.hpp> #include <QPixmap> #include <string> class SidebarIcon { public: explicit SidebarIcon(Course *course); explicit Si...
22.625
74
0.756906
davidcorbin
86dd30c9954fe09ec7656bea91f4216e73f7871b
5,745
cpp
C++
Dodo/src/Core/System/AsciiDataFile.cpp
quesswho/Dodo
75408374a73e1cceb3e41ec25493f2abbaa447ee
[ "MIT" ]
1
2020-06-09T21:11:08.000Z
2020-06-09T21:11:08.000Z
Dodo/src/Core/System/AsciiDataFile.cpp
quesswho/Dodo
75408374a73e1cceb3e41ec25493f2abbaa447ee
[ "MIT" ]
9
2020-11-17T07:54:06.000Z
2021-01-05T13:13:05.000Z
Dodo/src/Core/System/AsciiDataFile.cpp
quesswho/Dodo
75408374a73e1cceb3e41ec25493f2abbaa447ee
[ "MIT" ]
null
null
null
#include "pch.h" #include "AsciiDataFile.h" namespace Dodo { AsciiDataFile::AsciiDataFile() : m_CurrentLine(0), m_CurrentIndent(0), m_Indent({""}) { m_CurrentLine = 0; } void AsciiDataFile::Clear() { m_File.clear(); m_CurrentIndent = 0; } void AsciiDataFile::Indent() { m_CurrentIndent++; if (m_...
24.037657
116
0.602611
quesswho
86df8a0a242ebabf3cb77d3adc5ba6b5492faf2b
6,918
hpp
C++
tests/math_unit/math/serializer.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
tests/math_unit/math/serializer.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
tests/math_unit/math/serializer.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#ifndef TEST_UNIT_MATH_SERIALIZER_HPP #define TEST_UNIT_MATH_SERIALIZER_HPP #include "util.hpp" #include <stan/math.hpp> #include <string> #include <vector> namespace stan { namespace test { /** * A class to store a sequence of values which can be deserialized * back into structured objects such as scalars, vector...
26.304183
73
0.67187
alashworth
86e3e388d098e2d1b0ba05eba62e2db1d3310b95
4,271
cpp
C++
devices/testcases/test_Ws2812bStrip.cpp
PhischDotOrg/phisch-lib
26df59d78533d3220a46e077ead5a5180a84d57a
[ "MIT" ]
null
null
null
devices/testcases/test_Ws2812bStrip.cpp
PhischDotOrg/phisch-lib
26df59d78533d3220a46e077ead5a5180a84d57a
[ "MIT" ]
null
null
null
devices/testcases/test_Ws2812bStrip.cpp
PhischDotOrg/phisch-lib
26df59d78533d3220a46e077ead5a5180a84d57a
[ "MIT" ]
null
null
null
/*- * $Copyright$ -*/ #include <gmock/gmock.h> #include <devices/Ws2812bStrip.hpp> #include <spi/SpiDevice.hpp> namespace devices { /******************************************************************************* * ******************************************************************************/ class Ws2812bStrip...
37.13913
134
0.553266
PhischDotOrg
86ea1fdc3db566015bce7efaac793e093c81db21
757
hpp
C++
liblink/native/include/coin.hpp
oklink-dev/bitlink
69705ccd8469a11375ad3c08c00c9dc54773355e
[ "MIT" ]
null
null
null
liblink/native/include/coin.hpp
oklink-dev/bitlink
69705ccd8469a11375ad3c08c00c9dc54773355e
[ "MIT" ]
null
null
null
liblink/native/include/coin.hpp
oklink-dev/bitlink
69705ccd8469a11375ad3c08c00c9dc54773355e
[ "MIT" ]
null
null
null
/* * coin.hpp * * Created on: 2015年3月9日 * Author: Administrator */ #ifndef BITLINK_COIN_HPP #define BITLINK_COIN_HPP #include <set> #include <vector> #include <map> #include "model.hpp" #include "db.hpp" inline bool operator<(const coin &A, const coin &B) { return A.get_coin_id() < B.get_coin_id(); } ...
18.463415
68
0.689564
oklink-dev
86ea4b155c16fd59ab79c0d46623461273cc0380
355
cpp
C++
loj/1010loj.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
loj/1010loj.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
loj/1010loj.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int test,m,n; scanf("%d",&test); test++; for(int t=1; t<test; t++) { scanf("%d%d",&m,&n); if(m>n) swap(m,n); if(m==1) printf("Case %d: %d\n",t,n); else if(m==2) printf("Case %d: %d\n",t,((n/4)*4+min(n%4,2)*2)); else printf("Case %d: %d\...
15.434783
65
0.495775
Shisir
86f0db66d7d7470ea6f31a82271a3362d9c5a734
12,519
cpp
C++
Tests/KeyPerformanceMeasuresTests/DFPCs/Reconstruction3D/DenseRegistrationFromStereo.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
7
2019-02-26T15:09:50.000Z
2021-09-30T07:39:01.000Z
Tests/KeyPerformanceMeasuresTests/DFPCs/Reconstruction3D/DenseRegistrationFromStereo.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
null
null
null
Tests/KeyPerformanceMeasuresTests/DFPCs/Reconstruction3D/DenseRegistrationFromStereo.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
1
2020-12-06T12:09:05.000Z
2020-12-06T12:09:05.000Z
/* -------------------------------------------------------------------------- * * (C) Copyright … * * --------------------------------------------------------------------------- */ /*! * @file DenseRegistrationFromStereo.cpp * @date 29/06/2018 * @author Alessandro Bianco */ /*! * @addtogroup DFNsTest * * Valid...
38.52
285
0.738957
H2020-InFuse
86f1c54a66fce4aa622174ebcfa741670f523003
4,212
hpp
C++
Include/Extra/json_manage.hpp
JAOP1/GO
48c0275fd37bb552c0db4b968391a5a95ed6c860
[ "MIT" ]
null
null
null
Include/Extra/json_manage.hpp
JAOP1/GO
48c0275fd37bb552c0db4b968391a5a95ed6c860
[ "MIT" ]
null
null
null
Include/Extra/json_manage.hpp
JAOP1/GO
48c0275fd37bb552c0db4b968391a5a95ed6c860
[ "MIT" ]
2
2019-12-12T18:55:35.000Z
2019-12-12T19:03:35.000Z
#pragma once #include "External/json.hpp" #include "Graph.hpp" #include <fstream> #include <iostream> #include <tuple> #include <vector> using json = nlohmann::json; namespace json_utils { // This give you the graph and positional vector. template <class T> std::tuple<Graph, std::vector<T>> get_json_to_graph_GUI(cons...
28.653061
92
0.612773
JAOP1
86f2c6065e1604b1e069da765053ed225d6e0758
1,044
hpp
C++
Music/WaOn/SanWaOn/KyouWaOn/a_Body.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
2
2020-09-13T07:31:22.000Z
2022-03-26T08:37:32.000Z
Music/WaOn/SanWaOn/KyouWaOn/a_Body.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
Music/WaOn/SanWaOn/KyouWaOn/a_Body.hpp
p-adic/cpp
9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c
[ "MIT" ]
null
null
null
// c:/Users/user/Documents/Programming/Music/WaOn/SanWaOn/KyouWaOn/a_Body.hpp #pragma once #include "a.hpp" #include "../a_Body.hpp" #include "../../../Chou/a_Body.hpp" inline KyouWaOn::KyouWaOn( const Chou& N , const KaiMei& n ) noexcept : SanWaOn( N.OnMeiTable( n ) , N.OnMeiTable( n + 2 ) , N.OnMeiTable( n + 4 ) )...
54.947368
193
0.665709
p-adic
86f355eefd383fda819260a388c9207232898057
823
cpp
C++
src/Leviathan/Leviathan.cpp
wakare/Leviathan
8a488f014d6235c5c6e6422c9f53c82635b7ebf7
[ "MIT" ]
3
2019-03-05T13:05:30.000Z
2019-12-16T05:56:21.000Z
src/Leviathan/Leviathan.cpp
wakare/Leviathan
8a488f014d6235c5c6e6422c9f53c82635b7ebf7
[ "MIT" ]
null
null
null
src/Leviathan/Leviathan.cpp
wakare/Leviathan
8a488f014d6235c5c6e6422c9f53c82635b7ebf7
[ "MIT" ]
null
null
null
#include <memory> #include <iostream> #include "RenderService.h" #include "EventListener.h" #include "Event.h" using namespace Leviathan; class MyEventListener : public EventListener { public: void Accept(Event& event); }; inline void MyEventListener::Accept(Event & event) { if (event.m_action == Event::KEYDOWN &&...
21.657895
87
0.746051
wakare
86f3e739f4636f243773cbd08a97e1437858083e
860
cpp
C++
src/ogre3d/src/compile_OgreMain_0.cpp
werchou/ai-programming-with-lua
d9290fde56c01839e75bb2ea7d13c8f6c3594f5e
[ "Zlib" ]
2
2021-03-13T03:53:28.000Z
2021-07-04T04:03:38.000Z
src/ogre3d/src/compile_OgreMain_0.cpp
werchou/ai-programming-with-lua
d9290fde56c01839e75bb2ea7d13c8f6c3594f5e
[ "Zlib" ]
null
null
null
src/ogre3d/src/compile_OgreMain_0.cpp
werchou/ai-programming-with-lua
d9290fde56c01839e75bb2ea7d13c8f6c3594f5e
[ "Zlib" ]
1
2021-02-22T04:38:57.000Z
2021-02-22T04:38:57.000Z
#include "OgreStableHeaders.h" #include "OgreAlignedAllocator.cpp" #include "OgreAnimable.cpp" #include "OgreAnimation.cpp" #include "OgreAnimationState.cpp" #include "OgreAnimationTrack.cpp" #include "OgreArchiveManager.cpp" #include "OgreAtomicScalar.cpp" #include "OgreAutoParamDataSource.cpp" #include "OgreAxisAlig...
30.714286
44
0.817442
werchou
86f7b97c5080b2d6174f4eb461f3da7e00597c89
2,309
hpp
C++
include/Gravity.hpp
dlasalle/gravitree
99a8ad2420216117bea4ec1e736b78a5c8fac737
[ "MIT" ]
null
null
null
include/Gravity.hpp
dlasalle/gravitree
99a8ad2420216117bea4ec1e736b78a5c8fac737
[ "MIT" ]
5
2018-08-04T17:44:33.000Z
2018-08-04T20:35:37.000Z
include/Gravity.hpp
dlasalle/gravitree
99a8ad2420216117bea4ec1e736b78a5c8fac737
[ "MIT" ]
null
null
null
/** * @file Gravity.hpp * @brief The Gravity class. * @author Dominique LaSalle <dominique@solidlake.com> * Copyright 2018 * @version 1 * @date 2018-03-21 */ #ifndef GRAVITREE_GRAVITY_HPP #define GRAVITREE_GRAVITY_HPP #include "Body.hpp" namespace gravitree { class Gravity { public: /** * @brief The g...
22.861386
78
0.631442
dlasalle
86f7cca43b05099dbbd2bae838c441412c6737ef
1,205
hpp
C++
Light/include/light/rendering/mesh.hpp
R-Bread/Light
151308c0159c4fe0d795b3c16f205e4af68710d7
[ "MIT" ]
1
2021-06-15T09:53:47.000Z
2021-06-15T09:53:47.000Z
Light/include/light/rendering/mesh.hpp
R-Bread/Light
151308c0159c4fe0d795b3c16f205e4af68710d7
[ "MIT" ]
21
2021-06-10T09:07:19.000Z
2022-01-30T21:52:24.000Z
Light/include/light/rendering/mesh.hpp
R-Bread/Light
151308c0159c4fe0d795b3c16f205e4af68710d7
[ "MIT" ]
9
2021-04-10T19:32:11.000Z
2021-05-19T16:29:25.000Z
#ifndef __MESH_H__ #define __MESH_H__ #include "core/base.hpp" #include "light/rendering/vertexarray.hpp" #include "glm/glm.hpp" namespace Light { class Mesh { public: Mesh(const std::vector<glm::vec3> &vertices, const std::vector<glm::vec4> &colors, const std::vector<glm::vec3> &normals, const std::vec...
23.627451
90
0.695436
R-Bread
86f8a1670a26ad1049af9038dbad80d5b4043385
23,798
cpp
C++
apps/RenderManagerOpenGLChessboard.cpp
sensics/OSVR-RenderManager
56f9db6279945a52327ffeac138b3ff81cf37438
[ "Apache-2.0" ]
68
2016-02-16T13:40:01.000Z
2022-03-28T19:27:53.000Z
apps/RenderManagerOpenGLChessboard.cpp
sensics/OSVR-RenderManager
56f9db6279945a52327ffeac138b3ff81cf37438
[ "Apache-2.0" ]
230
2016-02-16T13:41:56.000Z
2021-06-27T12:13:33.000Z
apps/RenderManagerOpenGLChessboard.cpp
sensics/OSVR-RenderManager
56f9db6279945a52327ffeac138b3ff81cf37438
[ "Apache-2.0" ]
51
2016-02-20T15:37:37.000Z
2022-03-21T07:52:40.000Z
/** @file @brief Example program that uses the OSVR direct-to-display interface and the OpenGL Core profile to render a scene that has lots of polygons. This can be used to do speed tests on various cards, or regression tests on new versions. @date 2015 @author Russ T...
39.077176
118
0.597487
sensics
86f910067f1ef2693f3e6fa60508bc70f69c7c3f
1,358
cpp
C++
examples/gpu-cuda/SimpleExample/SimpleExample.cpp
kmorel/MGARD
a7c44d57fda76a5c3e6fa38702ca8c8c12150b83
[ "Apache-2.0" ]
19
2019-03-08T15:21:36.000Z
2022-02-11T04:02:50.000Z
examples/gpu-cuda/SimpleExample/SimpleExample.cpp
kmorel/MGARD
a7c44d57fda76a5c3e6fa38702ca8c8c12150b83
[ "Apache-2.0" ]
100
2019-01-14T15:34:09.000Z
2022-03-29T13:39:30.000Z
examples/gpu-cuda/SimpleExample/SimpleExample.cpp
kmorel/MGARD
a7c44d57fda76a5c3e6fa38702ca8c8c12150b83
[ "Apache-2.0" ]
22
2018-11-16T01:13:57.000Z
2022-03-14T23:53:28.000Z
#include "mgard/compress_cuda.hpp" #include <iostream> #include <vector> int main() { mgard_cuda::SIZE n1 = 10; mgard_cuda::SIZE n2 = 20; mgard_cuda::SIZE n3 = 30; // prepare std::cout << "Preparing data..."; double *in_array_cpu; mgard_cuda::cudaMallocHostHelper((void **)&in_array_cpu, ...
36.702703
78
0.683358
kmorel
86fa561371a79045e29796d5da1d3903d3427fea
4,058
cpp
C++
src/Customs/ForestActivatorScript3.cpp
fgagamedev/voID
37cd56fe2878d036c36dafcf595e48ed85408d02
[ "MIT" ]
null
null
null
src/Customs/ForestActivatorScript3.cpp
fgagamedev/voID
37cd56fe2878d036c36dafcf595e48ed85408d02
[ "MIT" ]
null
null
null
src/Customs/ForestActivatorScript3.cpp
fgagamedev/voID
37cd56fe2878d036c36dafcf595e48ed85408d02
[ "MIT" ]
null
null
null
/** @file ForestActivator3.hpp @brief Class that defines methods and attributes for activating the forest script. @copyright LGPL. MIT License. */ #include "Globals/EngineGlobals.hpp" #include "Customs/ForestActivatorScript3.hpp" #include "Customs/CentralLightScript4.hpp" #include "Customs/MapScript.hpp" ...
33.262295
86
0.608921
fgagamedev
86fbbb8c397bb64ee411e77f3a4e9fd093b32e4b
9,624
cpp
C++
venv/lib/python3.7/site-packages/pystan/stan/lib/stan_math/test/unit/math/prim/mat/prob/multi_normal_cholesky_test.cpp
vchiapaikeo/prophet
e8c250ca7bfffc280baa7dabc80a2c2d1f72c6a7
[ "MIT" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
venv/lib/python3.7/site-packages/pystan/stan/lib/stan_math/test/unit/math/prim/mat/prob/multi_normal_cholesky_test.cpp
vchiapaikeo/prophet
e8c250ca7bfffc280baa7dabc80a2c2d1f72c6a7
[ "MIT" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
test/unit/math/prim/mat/prob/multi_normal_cholesky_test.cpp
riddell-stan/math
d84ee0d991400d6cf4b08a07a4e8d86e0651baea
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/prim/mat.hpp> #include <gtest/gtest.h> #include <boost/random/mersenne_twister.hpp> #include <boost/math/distributions.hpp> #include <vector> using Eigen::Dynamic; using Eigen::Matrix; using std::vector; TEST(ProbDistributionsMultiNormalCholesky, NotVectorized) { boost::random::mt19937 rng; Ma...
32.623729
79
0.604219
vchiapaikeo
86fbdc4e9c1f2a22f2330b735714449e9153b0d5
3,500
hpp
C++
solver/include/statetransitionmodel/StateTransitionModelFlat.hpp
laurimi/multiagent-prediction-reward
b89fa52f78bb49447fc0049a7314a87b2b3e903e
[ "MIT" ]
9
2020-10-24T06:14:08.000Z
2021-07-13T13:08:30.000Z
solver/include/statetransitionmodel/StateTransitionModelFlat.hpp
laurimi/multiagent-prediction-reward
b89fa52f78bb49447fc0049a7314a87b2b3e903e
[ "MIT" ]
null
null
null
solver/include/statetransitionmodel/StateTransitionModelFlat.hpp
laurimi/multiagent-prediction-reward
b89fa52f78bb49447fc0049a7314a87b2b3e903e
[ "MIT" ]
null
null
null
#ifndef STATETRANSITIONMODELINDEXED_HPP #define STATETRANSITIONMODELINDEXED_HPP #include <map> #include "StateTransitionModel.hpp" #include "StateTransitionMatrix.hpp" namespace npgi { template <typename StateIndex, typename ActionIndex, typename Scalar, typename TimeStep> class StateTransitionModelFlat; template <...
38.888889
104
0.731429
laurimi
8102aa53a2d74c3b5125f6c09fc7d841cd4d35c1
1,738
cpp
C++
src/ConverterGuiProxy.cpp
Stivvo/qTsConverter
322c0a1fb70e829698728e7b1a40446531b9c46b
[ "MIT" ]
null
null
null
src/ConverterGuiProxy.cpp
Stivvo/qTsConverter
322c0a1fb70e829698728e7b1a40446531b9c46b
[ "MIT" ]
1
2021-07-09T12:54:05.000Z
2021-07-09T12:54:05.000Z
src/internal/ConverterGuiProxy.cpp
LeonardMontagna/qTsConverter
3a7c2b473bcfd9ff7ed29b1761a180b7a4c872ad
[ "MIT" ]
null
null
null
#include "ConverterGuiProxy.hpp" #include <QDebug> ConverterGuiProxy::ConverterGuiProxy(QObject *parent) : QObject(parent) {} void ConverterGuiProxy::convert(QConversionType type, QString input, QString output, const QString &fieldSeparator, const QStri...
32.792453
78
0.662255
Stivvo
8102d66abca2a7173b5799d219deaef45a5cedd9
9,002
cpp
C++
onviflibs/gsoap/gsoap-2.8/gsoap/samples/lu/luserver.cpp
KobeBryand/onvif-qt-server-client
ccc3193b3cbc1f45b1fd9ce7928ae99864d07708
[ "Apache-2.0" ]
157
2016-08-03T11:49:59.000Z
2022-03-01T03:00:29.000Z
onviflibs/gsoap/gsoap-2.8/gsoap/samples/lu/luserver.cpp
ouzance/onvif-qt-server-client
ccc3193b3cbc1f45b1fd9ce7928ae99864d07708
[ "Apache-2.0" ]
9
2017-02-03T15:00:27.000Z
2020-12-04T23:31:43.000Z
onviflibs/gsoap/gsoap-2.8/gsoap/samples/lu/luserver.cpp
ouzance/onvif-qt-server-client
ccc3193b3cbc1f45b1fd9ce7928ae99864d07708
[ "Apache-2.0" ]
88
2016-08-29T10:54:39.000Z
2022-03-10T17:42:40.000Z
/* luserver.h LU factorization Web service. -------------------------------------------------------------------------------- gSOAP XML Web services tools Copyright (C) 2001-2008, Robert van Engelen, Genivia, Inc. All Rights Reserved. This software is released under one of the following two licenses: GPL or Genivia'...
28.852564
191
0.44379
KobeBryand
810524ae7a85978db57f55a2ab415cae11e3a282
7,199
hpp
C++
include/Player.hpp
AgostonSzepessy/oxshans-battle
15d4cd5eb6375cca5e8e426fc9b8f70e74ca28b0
[ "MIT" ]
null
null
null
include/Player.hpp
AgostonSzepessy/oxshans-battle
15d4cd5eb6375cca5e8e426fc9b8f70e74ca28b0
[ "MIT" ]
null
null
null
include/Player.hpp
AgostonSzepessy/oxshans-battle
15d4cd5eb6375cca5e8e426fc9b8f70e74ca28b0
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <cstdlib> #include <vector> #include <memory> #include <SFML/System.hpp> #include <SFML/Graphics.hpp> #include "Entity.hpp" #include "Bullet.hpp" #include "Enemy.hpp" #include "Constants.hpp" #include "AnimatedSprite.hpp" #include "Frame.hpp" #include "HealthBar.hpp" #includ...
23.680921
82
0.657869
AgostonSzepessy
81128e04d1a35b8987dcb8dc8790012b05c77e63
2,908
cpp
C++
HTWK_SD_FILTER/SD_LaneDetection/HoughAlgorithm.cpp
HTWKSmartDriving/aadc-2015
95ee77aa0f9ebbb541bbb1e3b99d3f044347d103
[ "BSD-2-Clause" ]
2
2017-11-29T00:15:26.000Z
2017-11-29T01:45:54.000Z
HTWK_SD_FILTER/SD_LaneDetection/HoughAlgorithm.cpp
HTWKSmartDriving/aadc-2015
95ee77aa0f9ebbb541bbb1e3b99d3f044347d103
[ "BSD-2-Clause" ]
null
null
null
HTWK_SD_FILTER/SD_LaneDetection/HoughAlgorithm.cpp
HTWKSmartDriving/aadc-2015
95ee77aa0f9ebbb541bbb1e3b99d3f044347d103
[ "BSD-2-Clause" ]
2
2017-11-28T23:47:27.000Z
2019-07-19T08:04:50.000Z
/** * Copyright (c) 2014-2015, HTWK SmartDriving * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this lis...
27.695238
102
0.711142
HTWKSmartDriving
8113515eccbb331048a356da8d2f29e6b6d04c00
2,412
cpp
C++
orb/XMLParser.cpp
ternarylabs/orb
8c89894dc1eabfd99743f16d35786ff354dcc4e5
[ "MIT" ]
null
null
null
orb/XMLParser.cpp
ternarylabs/orb
8c89894dc1eabfd99743f16d35786ff354dcc4e5
[ "MIT" ]
null
null
null
orb/XMLParser.cpp
ternarylabs/orb
8c89894dc1eabfd99743f16d35786ff354dcc4e5
[ "MIT" ]
1
2020-05-21T14:00:46.000Z
2020-05-21T14:00:46.000Z
#include "XMLParser.h" #include <string.h> XMLParser::XMLParser() { callback = NULL; reset(); } void (*XMLParser::getCallback())(void*, bool, char*, char*, char*) { return callback; } void XMLParser::setCallback(void (*function)(void*, bool, char*, char*, char*), void* data) { context = data; cal...
18
91
0.458541
ternarylabs
811803fdb28909e8d83e327b28915a5250a644a8
10,407
cpp
C++
shared/source/xe_hp_core/command_stream_receiver_hw_xe_hp_core.cpp
smorek-intel/compute-runtime
299e798159e55ccc198802b8eb114c91f8b8e85d
[ "Intel", "MIT" ]
null
null
null
shared/source/xe_hp_core/command_stream_receiver_hw_xe_hp_core.cpp
smorek-intel/compute-runtime
299e798159e55ccc198802b8eb114c91f8b8e85d
[ "Intel", "MIT" ]
null
null
null
shared/source/xe_hp_core/command_stream_receiver_hw_xe_hp_core.cpp
smorek-intel/compute-runtime
299e798159e55ccc198802b8eb114c91f8b8e85d
[ "Intel", "MIT" ]
null
null
null
/* * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/xe_hp_core/hw_cmds.h" #include "shared/source/xe_hp_core/hw_info.h" using Family = NEO::XeHpFamily; #include "shared/source/command_stream/command_stream_receiver_hw_tgllp_and_later.inl" #include "shared/sour...
55.356383
163
0.786586
smorek-intel
811edd45a2f58733b439e80adf7d287eb51b1366
3,773
cc
C++
src/shader.cc
WaldJohannaU/Classy3DViewer
2a3ccddc5f9a860a76a8293e9b2d41de72517096
[ "BSD-2-Clause" ]
9
2018-08-19T21:26:27.000Z
2022-01-24T07:19:36.000Z
src/shader.cc
WaldJohannaU/Classy3DViewer
2a3ccddc5f9a860a76a8293e9b2d41de72517096
[ "BSD-2-Clause" ]
null
null
null
src/shader.cc
WaldJohannaU/Classy3DViewer
2a3ccddc5f9a860a76a8293e9b2d41de72517096
[ "BSD-2-Clause" ]
1
2021-08-10T07:32:44.000Z
2021-08-10T07:32:44.000Z
/******************************************************* * Copyright (c) 2018, Johanna Wald * All rights reserved. * * This file is distributed under the GNU Lesser General Public License v3.0. * The complete license agreement can be obtained at: * http://www.gnu.org/licenses/lgpl-3.0.html **********************...
34.614679
99
0.520806
WaldJohannaU
811ee9f4602c75735dc8487bcb34329a9798e1c7
7,178
cpp
C++
Core/CppMicroServices/src/util/usUtils.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
Core/CppMicroServices/src/util/usUtils.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
Core/CppMicroServices/src/util/usUtils.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
/*============================================================================= Library: CppMicroServices Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in complia...
25.363958
104
0.639593
rfloca
812b4e82bb874fd5918f26670fb560f79f5a8e44
16,003
cc
C++
squid/squid3-3.3.8.spaceify/helpers/digest_auth/eDirectory/edir_ldapext.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-01-20T15:25:34.000Z
2017-12-20T06:47:42.000Z
squid/squid3-3.3.8.spaceify/helpers/digest_auth/eDirectory/edir_ldapext.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-05-15T09:32:55.000Z
2016-02-18T13:43:31.000Z
squid/squid3-3.3.8.spaceify/helpers/digest_auth/eDirectory/edir_ldapext.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
null
null
null
/* * NDS LDAP helper functions * Copied From Samba-3.0.24 pdb_nds.c and trimmed down to the * limited functionality needed to access the plain text password only * * Original copyright & license follows: * * Copyright (C) Vince Brimhall 2004-2005 * * This program is free software; you can redistribute it and...
30.834297
146
0.569706
spaceify
812d52b862ad3945413443e7fbfb225bb6fd80b5
4,309
cpp
C++
edhclient_socket.cpp
eDrillingSolutions/libedhclient-qt
be0298cb95017783bff842fc2e3a6c34668a4cda
[ "MIT" ]
1
2020-06-29T20:49:05.000Z
2020-06-29T20:49:05.000Z
edhclient_socket.cpp
eDrillingSolutions/libedhclient-qt
be0298cb95017783bff842fc2e3a6c34668a4cda
[ "MIT" ]
null
null
null
edhclient_socket.cpp
eDrillingSolutions/libedhclient-qt
be0298cb95017783bff842fc2e3a6c34668a4cda
[ "MIT" ]
1
2018-11-07T07:38:53.000Z
2018-11-07T07:38:53.000Z
#include "edhclient_socket.h" #include "edhclient_private.h" #include <iostream> #include <QFile> #include <QtNetwork/QTcpSocket> #include <QtNetwork/QSslSocket> #include <QtNetwork/QSslConfiguration> using namespace eDrillingHub; static const QString message_end_marker = QString("\r\n"); SocketClient::SocketClie...
31.918519
156
0.644929
eDrillingSolutions
812f95259899a991724823b48ef54dc79cb85956
3,634
hpp
C++
src/modules/ROOTObjectWriter/ROOTObjectWriterModule.hpp
nashadroid/allpix-squared
ae3c9b35241b7d301866e1a602443a436bdfb35f
[ "MIT" ]
null
null
null
src/modules/ROOTObjectWriter/ROOTObjectWriterModule.hpp
nashadroid/allpix-squared
ae3c9b35241b7d301866e1a602443a436bdfb35f
[ "MIT" ]
null
null
null
src/modules/ROOTObjectWriter/ROOTObjectWriterModule.hpp
nashadroid/allpix-squared
ae3c9b35241b7d301866e1a602443a436bdfb35f
[ "MIT" ]
null
null
null
/** * @file * @brief Definition of ROOT data file writer module * @copyright Copyright (c) 2017-2019 CERN and the Allpix Squared authors. * This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md". * In applying this license, CERN does not waive the privileges and i...
39.075269
124
0.670061
nashadroid
8130e497664b1865aa30a860e12e720e66e86990
3,034
cc
C++
src/CBLEncryptable_CAPI.cc
blaugold/couchbase-lite-C
08d30377087bda06ed806bda4a5ff28182e0f472
[ "Apache-2.0" ]
66
2019-05-02T12:03:19.000Z
2021-06-28T21:16:32.000Z
src/CBLEncryptable_CAPI.cc
blaugold/couchbase-lite-C
08d30377087bda06ed806bda4a5ff28182e0f472
[ "Apache-2.0" ]
97
2019-05-28T15:46:00.000Z
2021-07-03T18:47:52.000Z
src/CBLEncryptable_CAPI.cc
blaugold/couchbase-lite-C
08d30377087bda06ed806bda4a5ff28182e0f472
[ "Apache-2.0" ]
28
2019-05-07T21:57:36.000Z
2021-06-24T11:09:38.000Z
// // CBLEncryptable_CAPI.cc // // Copyright © 2021 Couchbase. 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 // // ...
32.623656
94
0.785432
blaugold
813160615e18a2588084a932ce1f751fb6d508ff
194
cpp
C++
src/tabdraw/TabDraw.cpp
gongjianbo/EasyQPainter
a5b90f6c8b3427024b591a3e893162b57a928011
[ "MIT" ]
106
2020-05-16T03:10:16.000Z
2022-03-26T12:15:37.000Z
src/tabdraw/TabDraw.cpp
gongjianbo/EasyQPainter
a5b90f6c8b3427024b591a3e893162b57a928011
[ "MIT" ]
null
null
null
src/tabdraw/TabDraw.cpp
gongjianbo/EasyQPainter
a5b90f6c8b3427024b591a3e893162b57a928011
[ "MIT" ]
30
2020-06-05T08:54:34.000Z
2022-03-26T12:15:27.000Z
#include "TabDraw.h" #include "ui_TabDraw.h" TabDraw::TabDraw(QWidget *parent) : QWidget(parent), ui(new Ui::TabDraw) { ui->setupUi(this); } TabDraw::~TabDraw() { delete ui; }
12.933333
35
0.628866
gongjianbo
8133903abdf1bf9812ce119ff4c21f2d029daa51
827
cpp
C++
demo_1/demo_guess.cpp
yangy30685/cpp
dd0bb258ea5a6d02a8bc9947d2498e7b36b7e2c4
[ "MIT" ]
null
null
null
demo_1/demo_guess.cpp
yangy30685/cpp
dd0bb258ea5a6d02a8bc9947d2498e7b36b7e2c4
[ "MIT" ]
null
null
null
demo_1/demo_guess.cpp
yangy30685/cpp
dd0bb258ea5a6d02a8bc9947d2498e7b36b7e2c4
[ "MIT" ]
null
null
null
#include <ctime> #include <iostream> #include <string> int main(int argc, char const *argv[]) { srand(time(NULL)); int secret_number = std::rand() % 11; int guess = 0; std::string str_1; std::string quit = "q"; while(true) { std::cout << "guess a number :\n"; std::cin...
22.351351
61
0.503023
yangy30685
8133b05db27f2ae07ba369c3a031f7a17afcd661
1,302
cpp
C++
C++/maximum-non-negative-product-in-a-matrix.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/maximum-non-negative-product-in-a-matrix.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/maximum-non-negative-product-in-a-matrix.cpp
Akhil-Kashyap/LeetCode-Solutions
c671a588f96f4e4bbde4512727322ff9b1c8ae6a
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(m * n) // Space: O(n) // dp with rolling window class Solution { public: int maxProductPath(vector<vector<int>>& grid) { static const int MOD = 1e9 + 7; vector<vector<int64_t>> max_dp(2, vector<int64_t>(size(grid[0]))); vector<vector<int64_t>> min_dp(2, vector<int64_t>(size(grid...
42
105
0.400922
Akhil-Kashyap
8133f4f720539c8c570808ce4cf2f388d1ff00c5
1,002
cpp
C++
vm/builtin/thunk.cpp
sshao/rubinius
368df60245471f45f1294b0cd18f769377437246
[ "BSD-3-Clause" ]
1
2015-11-08T12:37:15.000Z
2015-11-08T12:37:15.000Z
vm/builtin/thunk.cpp
sshao/rubinius
368df60245471f45f1294b0cd18f769377437246
[ "BSD-3-Clause" ]
null
null
null
vm/builtin/thunk.cpp
sshao/rubinius
368df60245471f45f1294b0cd18f769377437246
[ "BSD-3-Clause" ]
null
null
null
#include "arguments.hpp" #include "builtin/class.hpp" #include "builtin/exception.hpp" #include "builtin/location.hpp" #include "builtin/system.hpp" #include "builtin/thunk.hpp" #include "object_utils.hpp" namespace rubinius { Thunk* Thunk::create(STATE, Object* self, Object* value) { Thunk* pe = state->new_obje...
27.833333
92
0.637725
sshao
8138817dd90585dec504c3e163a78a2996fb86ee
390
cpp
C++
docs/atl-mfc-shared/codesnippet/CPP/cstringt-class_40.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
965
2017-06-25T23:57:11.000Z
2022-03-31T14:17:32.000Z
docs/atl-mfc-shared/codesnippet/CPP/cstringt-class_40.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
3,272
2017-06-24T00:26:34.000Z
2022-03-31T22:14:07.000Z
docs/atl-mfc-shared/codesnippet/CPP/cstringt-class_40.cpp
bobbrow/cpp-docs
769b186399141c4ea93400863a7d8463987bf667
[ "CC-BY-4.0", "MIT" ]
951
2017-06-25T12:36:14.000Z
2022-03-26T22:49:06.000Z
// typedef CStringT<TCHAR, StrTraitATL<TCHAR, ChTraitsCRT<TCHAR>>> CAtlString; CAtlString str; str = _T("******Soccer is best!?!?!?!?!"); _tprintf_s(_T("Before: \"%s\"\n"), (LPCTSTR)str); _tprintf_s(_T("After : \"%s\"\n"), (LPCTSTR)str.Trim(_T("?!*"))); // Output: // -------------------------- ...
32.5
81
0.507692
bobbrow
813b9063a8fce8e68346125554324bc22fc5e1e5
1,365
cpp
C++
yhtstfo/assets/voice_synthesizer/voice_synthesizer.plugin/source/module.cpp
skarab/coffee-samples
3f4e8e65c8fa24f2a23969d63e731fc2f0ddf7e2
[ "MIT" ]
null
null
null
yhtstfo/assets/voice_synthesizer/voice_synthesizer.plugin/source/module.cpp
skarab/coffee-samples
3f4e8e65c8fa24f2a23969d63e731fc2f0ddf7e2
[ "MIT" ]
null
null
null
yhtstfo/assets/voice_synthesizer/voice_synthesizer.plugin/source/module.cpp
skarab/coffee-samples
3f4e8e65c8fa24f2a23969d63e731fc2f0ddf7e2
[ "MIT" ]
null
null
null
#include "module.h" //-META-------------------------------------------------------------------------------------------// COFFEE_BeginType(voice_synthesizer::Module); COFFEE_Ancestor(shell::Module); COFFEE_EndType(); namespace voice_synthesizer { COFFEE_ImplementModuleSingleton(Module); //-CONSTRUCTORS--...
26.764706
100
0.372161
skarab
813bbbc08ff18b7cf8f7c1a66239d0f9b2373b6c
1,825
hpp
C++
libs/vm-modules/include/vm_modules/crypto/sha256.hpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
96
2018-08-23T16:49:05.000Z
2021-11-25T00:47:16.000Z
libs/vm-modules/include/vm_modules/crypto/sha256.hpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
1,011
2018-08-17T12:25:21.000Z
2021-11-18T09:30:19.000Z
libs/vm-modules/include/vm_modules/crypto/sha256.hpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
65
2018-08-20T20:05:40.000Z
2022-02-26T23:54:35.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2020 Fetch.AI Limited // // 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 Licen...
26.449275
97
0.647671
chr15murray
81400d597fa5d493bb5bb17bf301736fa468e177
2,272
cpp
C++
QCIFSServer/QCIFSTest/cBasicFile.cpp
rodrigomr/VFS
6b68b00df8cb668106c2d0841cbcd46138298717
[ "Apache-2.0" ]
38
2018-09-24T09:37:41.000Z
2022-02-21T04:16:43.000Z
QCIFSServer/QCIFSTest/cBasicFile.cpp
rodrigomr/VFS
6b68b00df8cb668106c2d0841cbcd46138298717
[ "Apache-2.0" ]
1
2018-10-02T17:57:44.000Z
2018-10-07T06:55:44.000Z
QCIFSServer/QCIFSTest/cBasicFile.cpp
rodrigomr/VFS
6b68b00df8cb668106c2d0841cbcd46138298717
[ "Apache-2.0" ]
6
2018-10-02T17:12:38.000Z
2021-01-27T10:01:30.000Z
// Copyright 2018 Grass Valley, A Belden Brand // 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 ag...
33.910448
130
0.699384
rodrigomr
8142048cb167114964603c3c3b9dee2022825852
4,818
hpp
C++
Include/LIEF/PE/ResourcesManager.hpp
RaniaJarraya/fraudulent_behavior_detection
d1506603fd3468a6c106c73d4880623c5a9b4869
[ "BSD-3-Clause" ]
54
2020-01-29T18:44:56.000Z
2022-03-14T11:24:59.000Z
include/LIEF/PE/ResourcesManager.hpp
prarthanats/LIEF
b26abae9a9b0dc0e82dd803b7b54a2a9dfe1034a
[ "Apache-2.0" ]
13
2021-03-19T09:25:18.000Z
2022-02-10T12:15:24.000Z
include/LIEF/PE/ResourcesManager.hpp
prarthanats/LIEF
b26abae9a9b0dc0e82dd803b7b54a2a9dfe1034a
[ "Apache-2.0" ]
8
2019-05-19T11:24:28.000Z
2022-02-16T20:19:30.000Z
/* Copyright 2017 R. Thomas * Copyright 2017 Quarkslab * * 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...
31.490196
151
0.733084
RaniaJarraya
8145c50ebebd02908dc2861ef9710819b05bdb05
658
cpp
C++
066_plusOne/main.cpp
IdLeoO/LC
445d8f1521d02c8481d590e5af914b6599bf8d7d
[ "MIT" ]
null
null
null
066_plusOne/main.cpp
IdLeoO/LC
445d8f1521d02c8481d590e5af914b6599bf8d7d
[ "MIT" ]
null
null
null
066_plusOne/main.cpp
IdLeoO/LC
445d8f1521d02c8481d590e5af914b6599bf8d7d
[ "MIT" ]
null
null
null
#include "main.hpp" #include <iostream> using namespace std; vector<int> Solution::plusOne(vector<int> & digits){ int idx = digits.size() - 1; while (idx >= 0){ int carry = (digits[idx] + 1) > 9 ? 1: 0; digits[idx] = (digits[idx] + 1 > 9) ? digits[idx] - 9 : digits[idx] + 1; if (idx =...
24.37037
80
0.5
IdLeoO
81464a96fc88ea8aeaaf2db3ce339d43d3c39151
9,630
cpp
C++
gdal/frmts/jpeg2000/jpeg2000_vsil_io.cpp
riseofthetigers/GDAL
918b6939f6be25ac9d36edca3f71c8bf5dd5975e
[ "MIT" ]
null
null
null
gdal/frmts/jpeg2000/jpeg2000_vsil_io.cpp
riseofthetigers/GDAL
918b6939f6be25ac9d36edca3f71c8bf5dd5975e
[ "MIT" ]
null
null
null
gdal/frmts/jpeg2000/jpeg2000_vsil_io.cpp
riseofthetigers/GDAL
918b6939f6be25ac9d36edca3f71c8bf5dd5975e
[ "MIT" ]
null
null
null
/****************************************************************************** * $Id$ * * Project: JPEG-2000 * Purpose: Return a stream for a VSIL file * Author: Even Rouault, even dot rouault at mines dash paris dot org * ******************************************************************************...
33.321799
91
0.650467
riseofthetigers
81496ed60ad2a6ff7a7ba876b89ef6eb26c70395
28,117
cpp
C++
src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp
ROMB/passenger
773c544e1e60847538d43447b4e1f873e9e7eef2
[ "MIT" ]
null
null
null
src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp
ROMB/passenger
773c544e1e60847538d43447b4e1f873e9e7eef2
[ "MIT" ]
null
null
null
src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp
ROMB/passenger
773c544e1e60847538d43447b4e1f873e9e7eef2
[ "MIT" ]
null
null
null
/* * Phusion Passenger - https://www.phusionpassenger.com/ * Copyright (c) 2012-2017 Phusion Holding B.V. * * "Passenger", "Phusion Passenger" and "Union Station" are registered * trademarks of Phusion Holding B.V. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this ...
30.13612
108
0.699683
ROMB
814baaa5b9e4fd5a701f892da60b0cc9d6e41a5e
19,377
hpp
C++
include/mcl/mapto_wb19.hpp
alinush/mcl
868bccc849436b1c973d6fa9fe3c0ea3bb9ff361
[ "BSD-3-Clause" ]
1
2020-09-10T02:48:10.000Z
2020-09-10T02:48:10.000Z
include/mcl/mapto_wb19.hpp
alinush/mcl
868bccc849436b1c973d6fa9fe3c0ea3bb9ff361
[ "BSD-3-Clause" ]
null
null
null
include/mcl/mapto_wb19.hpp
alinush/mcl
868bccc849436b1c973d6fa9fe3c0ea3bb9ff361
[ "BSD-3-Clause" ]
null
null
null
#pragma once /** @file @brief map to G2 on BLS12-381 (must be included from mcl/bn.hpp) @author MITSUNARI Shigeo(@herumi) @license modified new BSD license http://opensource.org/licenses/BSD-3-Clause ref. https://eprint.iacr.org/2019/403 , https://github.com/algorand/bls_sigs_ref */ namespace mcl { namespace loc...
33.816754
123
0.717139
alinush
814ff6139119fbbef8713c3c54f3a546a4a860cb
6,700
cpp
C++
source/solution_zoo/common/xproto_plugins/iotvioplugin/src/vioplugin/viomessage.cpp
HorizonRobotics-Platform/AI-EXPRESS
413206d88dae1fbd465ced4d60b2a1769d15c171
[ "BSD-2-Clause" ]
98
2020-09-11T13:52:44.000Z
2022-03-23T11:52:02.000Z
source/solution_zoo/common/xproto_plugins/iotvioplugin/src/vioplugin/viomessage.cpp
HorizonRobotics-Platform/ai-express
413206d88dae1fbd465ced4d60b2a1769d15c171
[ "BSD-2-Clause" ]
8
2020-10-19T14:23:30.000Z
2022-03-16T01:00:07.000Z
source/solution_zoo/common/xproto_plugins/iotvioplugin/src/vioplugin/viomessage.cpp
HorizonRobotics-Platform/AI-EXPRESS
413206d88dae1fbd465ced4d60b2a1769d15c171
[ "BSD-2-Clause" ]
28
2020-09-17T14:20:35.000Z
2022-01-10T16:26:00.000Z
/* * @Description: implement of vioplugin * @Author: fei.cheng@horizon.ai * @Date: 2019-08-26 16:17:25 * @Author: songshan.gong@horizon.ai * @Date: 2019-09-26 16:17:25 * @LastEditors: hao.tian@horizon.ai * @LastEditTime: 2019-10-16 15:34:58 * @Copyright 2017~2019 Horizon Robotics, Inc. */ #include <iostream> #...
28.632479
80
0.647612
HorizonRobotics-Platform
81502f6041161aac63c67e4290d0acfdbf05830d
67
cpp
C++
Refureku/Library/Tests/TemplateClass.cpp
jsoysouvanh/Refureku
7548cb3b196793119737a51c1cedc136aa60d3ee
[ "MIT" ]
143
2020-04-07T21:38:21.000Z
2022-03-30T01:06:33.000Z
Refureku/Library/Tests/TemplateClass.cpp
jsoysouvanh/Refureku
7548cb3b196793119737a51c1cedc136aa60d3ee
[ "MIT" ]
7
2021-03-30T07:26:21.000Z
2022-03-28T16:31:02.000Z
Refureku/Library/Tests/TemplateClass.cpp
jsoysouvanh/Refureku
7548cb3b196793119737a51c1cedc136aa60d3ee
[ "MIT" ]
11
2020-06-06T09:45:12.000Z
2022-01-25T17:17:55.000Z
#include "Include/Generated/SingleTypeTemplateClassTemplate.rfks.h"
67
67
0.880597
jsoysouvanh
8150b3a5a45c3cce76386fccd2d4ff48a5fe8e0a
1,438
hpp
C++
socket_utils.hpp
theom/tls-socket
05a293b5e9ad9e30826628458f9b9bb349fe1d08
[ "BSD-2-Clause" ]
4
2018-03-24T12:02:20.000Z
2020-12-31T20:04:15.000Z
socket_utils.hpp
theom/tls-socket
05a293b5e9ad9e30826628458f9b9bb349fe1d08
[ "BSD-2-Clause" ]
1
2019-08-04T05:34:44.000Z
2019-08-05T12:03:44.000Z
socket_utils.hpp
theom/tls-socket
05a293b5e9ad9e30826628458f9b9bb349fe1d08
[ "BSD-2-Clause" ]
1
2018-03-24T15:01:03.000Z
2018-03-24T15:01:03.000Z
/* * (C) 2014,2017 Jack Lloyd * 2017 René Korthaus, Rohde & Schwarz Cybersecurity * * tls-socket is released under the Simplified BSD License (see license.txt) */ #pragma once #if defined(_WIN32) #include <winsock2.h> #include <WS2tcpip.h> typedef size_t ssize_t; #define STDIN_FILENO _fileno(stdin) inline voi...
19.972222
96
0.665508
theom
8151912896bd6c6794df02af3f4db76dffb20833
1,472
hpp
C++
Source/AliveLibAE/GlukkonSwitch.hpp
mouzedrift/alive_reversing
be7dfbaed3be99b452459e974bc4e79f9503c178
[ "MIT" ]
208
2018-06-06T13:14:03.000Z
2022-03-30T02:21:27.000Z
Source/AliveLibAE/GlukkonSwitch.hpp
mouzedrift/alive_reversing
be7dfbaed3be99b452459e974bc4e79f9503c178
[ "MIT" ]
537
2018-06-06T16:50:45.000Z
2022-03-31T16:41:15.000Z
Source/AliveLibAE/GlukkonSwitch.hpp
mouzedrift/alive_reversing
be7dfbaed3be99b452459e974bc4e79f9503c178
[ "MIT" ]
42
2018-06-06T00:40:08.000Z
2022-03-23T08:38:55.000Z
#pragma once #include "BaseAnimatedWithPhysicsGameObject.hpp" #include "Path.hpp" #include "../AliveLibCommon/FunctionFwd.hpp" struct Path_GlukkonSwitch final : public Path_TLV { enum class Scale : s16 { eHalf_0 = 0, eFull_1 = 1, }; Scale field_10_scale; s16 field_12_ok_id; s16...
21.970149
77
0.722826
mouzedrift
815520972ed76917e4b879edc49e36e81193bf86
3,000
cpp
C++
libs/ledger/benchmark/transaction_verifier_bench.cpp
jinmannwong/ledger
f3b129c127e107603e08bb192eb695d23eb17dbc
[ "Apache-2.0" ]
null
null
null
libs/ledger/benchmark/transaction_verifier_bench.cpp
jinmannwong/ledger
f3b129c127e107603e08bb192eb695d23eb17dbc
[ "Apache-2.0" ]
null
null
null
libs/ledger/benchmark/transaction_verifier_bench.cpp
jinmannwong/ledger
f3b129c127e107603e08bb192eb695d23eb17dbc
[ "Apache-2.0" ]
2
2019-11-13T10:55:24.000Z
2019-11-13T11:37:09.000Z
//------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 // // ...
24.193548
100
0.621333
jinmannwong
8155e7d52a06d8b6d0e531bf59127373ec6dc468
2,883
hpp
C++
include/experimental/fundamental/v3/strong/mixins/modable.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
105
2015-01-24T13:26:41.000Z
2022-02-18T15:36:53.000Z
include/experimental/fundamental/v3/strong/mixins/modable.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
37
2015-09-04T06:57:10.000Z
2021-09-09T18:01:44.000Z
include/experimental/fundamental/v3/strong/mixins/modable.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
23
2015-01-27T11:09:18.000Z
2021-10-04T02:23:30.000Z
// 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) // // Copyright (C) 2017 Vicente J. Botet Escriba #ifndef JASEL_FUNDAMENTAL_V3_STRONG_MIXIN_MODABLE_HPP #define JASEL_FUNDAMENTAL_V3_STRONG_MIXIN_MODABLE_HPP #inc...
29.418367
120
0.624696
jwakely
81565cdc1fc074861d6e6bea8db445c3d2e785bd
5,991
cc
C++
src/core/agent/agent.cc
nicogno/biodynamo
f875994d4ea9aa07f938283719d5db83e450bfb8
[ "Apache-2.0" ]
null
null
null
src/core/agent/agent.cc
nicogno/biodynamo
f875994d4ea9aa07f938283719d5db83e450bfb8
[ "Apache-2.0" ]
null
null
null
src/core/agent/agent.cc
nicogno/biodynamo
f875994d4ea9aa07f938283719d5db83e450bfb8
[ "Apache-2.0" ]
null
null
null
// ----------------------------------------------------------------------------- // // Copyright (C) 2021 CERN & Newcastle University for the benefit of the // BioDynaMo collaboration. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compl...
29.512315
80
0.662494
nicogno
815ae20371c0116b8134b7129b40d82ae8af5617
1,501
cpp
C++
sliding-window-k-beauty/k_beauty.cpp
JBlakd/self-study
71cb86d43fe7f6514657958db0c0e81113bd4c43
[ "MIT" ]
null
null
null
sliding-window-k-beauty/k_beauty.cpp
JBlakd/self-study
71cb86d43fe7f6514657958db0c0e81113bd4c43
[ "MIT" ]
null
null
null
sliding-window-k-beauty/k_beauty.cpp
JBlakd/self-study
71cb86d43fe7f6514657958db0c0e81113bd4c43
[ "MIT" ]
null
null
null
// leetcode 5299 #include <iostream> #include <string> #include <vector> using namespace std; class Solution { public: int divisorSubstrings(int num, int k) { string num_str = to_string(num); int left_idx = 0; int right_idx = k - 1; int ret = 0; while (right_idx < num_...
20.283784
60
0.493005
JBlakd
815e9ae379a22570ea25e9d67a9f837b57752d0f
12,042
cpp
C++
Source/COMImplementation.cpp
ntclark/Graphic
86acc119d172bb53c1666432538836b461d8a3f2
[ "BSD-3-Clause" ]
12
2018-03-15T00:20:55.000Z
2021-08-11T10:02:15.000Z
Source/COMImplementation.cpp
ntclark/Graphic
86acc119d172bb53c1666432538836b461d8a3f2
[ "BSD-3-Clause" ]
null
null
null
Source/COMImplementation.cpp
ntclark/Graphic
86acc119d172bb53c1666432538836b461d8a3f2
[ "BSD-3-Clause" ]
2
2019-04-09T17:15:31.000Z
2020-12-05T19:52:59.000Z
// Copyright 2017 InnoVisioNate Inc. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "Graphic.h" #include "Graphic_resource.h" #include "utils.h" #include "GraphicControl_i.h" #include "plot_i.c" #include "axis_i.c" #include "Vie...
34.904348
217
0.651138
ntclark
81612eb31bdb3db545391da8d8739e7586b5431a
774
h++
C++
include/ogonek/encoding/latin8.h++
libogonek/ogonek
46b7edbf6b7ff89892f5ba25494749b442e771b3
[ "CC0-1.0" ]
25
2016-10-21T12:37:23.000Z
2021-02-22T05:46:46.000Z
include/ogonek/encoding/latin8.h++
libogonek/ogonek
46b7edbf6b7ff89892f5ba25494749b442e771b3
[ "CC0-1.0" ]
null
null
null
include/ogonek/encoding/latin8.h++
libogonek/ogonek
46b7edbf6b7ff89892f5ba25494749b442e771b3
[ "CC0-1.0" ]
4
2016-09-05T10:23:18.000Z
2020-07-09T19:37:37.000Z
// Ogonek // // Written in 2013 by Martinho Fernandes <martinho.fernandes@gmail.com> // // To the extent possible under law, the author(s) have dedicated all copyright and related // and neighboring rights to this software to the public domain worldwide. This software is // distributed without any warranty. // // You s...
29.769231
96
0.760982
libogonek
816205c61617c3e8db42dbde5b15524a5b18120a
2,323
cpp
C++
POJ/1077.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
6
2019-09-30T16:11:00.000Z
2021-11-01T11:42:33.000Z
POJ/1077.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-11-21T08:17:42.000Z
2020-07-28T12:09:52.000Z
POJ/1077.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-07-26T05:54:06.000Z
2020-09-30T13:35:38.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> #define P 362880 using namespace std; inline bool isNum(char c){ return c>='0'&&c<='9'; } int prev[P],est[P],mat[3][3],que[P],qtop=1,fac[10],ktop=0,mx[4]={0,0,1,-1},my[4]={1,-1,0,0}; char move[P],mc[]="rldu",stk[P]; inline bool valid(int x,int...
17.080882
92
0.510977
sshockwave
8163d5f8c2685debf06fa35207119c642b0aa02c
798
cpp
C++
Chapter 5/5.15_dowhile.cpp
Reavolt/Cpp-Primer-Plus
491876ca0808d55cb688d575ec4688b087387810
[ "Unlicense" ]
3
2021-10-04T11:59:10.000Z
2022-01-05T22:26:12.000Z
Chapter 5/5.15_dowhile.cpp
Reavolt/Cpp-Primer-Plus
491876ca0808d55cb688d575ec4688b087387810
[ "Unlicense" ]
null
null
null
Chapter 5/5.15_dowhile.cpp
Reavolt/Cpp-Primer-Plus
491876ca0808d55cb688d575ec4688b087387810
[ "Unlicense" ]
3
2021-08-02T02:44:22.000Z
2022-03-26T02:01:34.000Z
//dowhile.срр -- цикл с проверкой на выходе //#include "stdafx.h" --- Visual Studio --- precompiled headers #include <iostream> using namespace std; //------------------------------------------------------------------------------------------------- int main() { int n = 0; cout << "Enter numbers in the range 1-10 ...
26.6
99
0.47619
Reavolt
81650aa5878731a95b49b50d3aa3b807777eeac1
366
cpp
C++
src/fft_x86_sse2.cpp
mzient/genFFT
93e778ba6c16b989fe0eb3150e1e56fcac6f665c
[ "BSD-2-Clause" ]
3
2019-10-30T11:17:32.000Z
2019-11-04T16:38:37.000Z
src/fft_x86_sse2.cpp
mzient/genFFT
93e778ba6c16b989fe0eb3150e1e56fcac6f665c
[ "BSD-2-Clause" ]
null
null
null
src/fft_x86_sse2.cpp
mzient/genFFT
93e778ba6c16b989fe0eb3150e1e56fcac6f665c
[ "BSD-2-Clause" ]
null
null
null
#include <cassert> #include <emmintrin.h> #include <genFFT/FFTLevel.h> #include <genFFT/generic/fft_impl_generic.h> #include "dispatch_helper.h" namespace genfft { IMPORT_NAMESPACE(impl_SSE) namespace impl_SSE2 { #include <genFFT/x86/fft_double_impl_x86.inl> #include <genFFT/x86/fft_dit_impl_x86.inl> DISP...
21.529412
49
0.756831
mzient
816aed1ebb3920dce591752730238c1175d0ea92
6,465
cc
C++
gazebo/physics/ode/ODEMultiRayShape.cc
otamachan/ros-indigo-gazebo7-deb
abc6b40247cdce14d9912096a0ad5135d420ce04
[ "ECL-2.0", "Apache-2.0" ]
5
2017-07-14T19:36:51.000Z
2020-04-01T06:47:59.000Z
gazebo/physics/ode/ODEMultiRayShape.cc
otamachan/ros-indigo-gazebo7-deb
abc6b40247cdce14d9912096a0ad5135d420ce04
[ "ECL-2.0", "Apache-2.0" ]
20
2017-07-20T21:04:49.000Z
2017-10-19T19:32:38.000Z
gazebo/physics/ode/ODEMultiRayShape.cc
otamachan/ros-indigo-gazebo7-deb
abc6b40247cdce14d9912096a0ad5135d420ce04
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2012-2016 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...
32.164179
78
0.640217
otamachan
816b538263135a1f49f0ba597bdb487b03ba8431
121,998
cpp
C++
scripts/dp88_ar.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
1
2021-10-04T02:36:30.000Z
2021-10-04T02:36:30.000Z
scripts/dp88_ar.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
null
null
null
scripts/dp88_ar.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
null
null
null
/* Renegade Scripts.dll Copyright 2017 Tiberian Technologies This file is part of the Renegade scripts.dll The Renegade scripts.dll 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, or (at yo...
33.497529
714
0.66556
TheUnstoppable
8171467acf3d7fd994993d1066f0e36fcc5babd8
11,445
cpp
C++
examples/tutorial_developer/pose_2_extract_pose_or_heatmat_from_image.cpp
jimfcarroll/openpose
fa8d6ff8f616f90c22eaae9d6926fef84db73ea6
[ "DOC", "MIT-CMU" ]
2
2018-12-10T13:40:39.000Z
2021-06-05T02:28:50.000Z
examples/tutorial_developer/pose_2_extract_pose_or_heatmat_from_image.cpp
Mainvooid/openpose
e4a021228b5949150c9446e31ec9f36f0f50a21c
[ "DOC", "MIT-CMU" ]
null
null
null
examples/tutorial_developer/pose_2_extract_pose_or_heatmat_from_image.cpp
Mainvooid/openpose
e4a021228b5949150c9446e31ec9f36f0f50a21c
[ "DOC", "MIT-CMU" ]
null
null
null
// ------------------------- OpenPose Library Tutorial - Pose - Example 2 - Extract Pose or Heatmap from Image ------------------------- // This second example shows the user how to: // 1. Load an image (`filestream` module) // 2. Extract the pose of that image (`pose` module) // 3. Render the pose or heatm...
69.786585
148
0.600699
jimfcarroll
8171de8ae77a5efb98a50cdb86084fbea475b37b
496
cpp
C++
Algorithms and Data Structures/PrimeFactors.cpp
aldew5/Competitve-Programming
eb0b93a35af3bd5e806aedc44b835830af01d496
[ "MIT" ]
2
2020-05-09T15:54:18.000Z
2021-01-23T22:32:53.000Z
Algorithms and Data Structures/PrimeFactors.cpp
aldew5/Competitive-Programming
fc93723fae739d0b06bcf2dbe3b9274584a79a66
[ "MIT" ]
null
null
null
Algorithms and Data Structures/PrimeFactors.cpp
aldew5/Competitive-Programming
fc93723fae739d0b06bcf2dbe3b9274584a79a66
[ "MIT" ]
null
null
null
vector<int> primeFactors(int a) { int n = a; vector<int> out; while (n % 2 == 0) { out.push_back(2); n = n/2; } // n must be odd at this point. So we can skip for (int i = 3; i <= sqrt(n); i = i + 2) { // While i divides n, print i and divide n while (n % i =...
19.84
50
0.445565
aldew5
81746ac13ca6aa052759d9e2f8c4d49ddf03695d
2,512
cpp
C++
day-10-25-3.cpp
duasong111/c_lang_learn
4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482
[ "BSD-2-Clause" ]
null
null
null
day-10-25-3.cpp
duasong111/c_lang_learn
4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482
[ "BSD-2-Clause" ]
null
null
null
day-10-25-3.cpp
duasong111/c_lang_learn
4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482
[ "BSD-2-Clause" ]
null
null
null
//解答疑惑篇 #include <stdio.h> int main(void) { int i; int a[5] = { 1,2,3,5,6 }; int* p; p= &a[2]; //知道为啥可以省略地址符了 for (i = 0; i < 5; i++) printf("&a[%d] = %p p+%d = %p\n", i, &a[i], i, p + i); printf("%d ...
125.6
2,071
0.107882
duasong111
40bd75265756c9393de42ab3f3739e6908e1364b
1,880
cpp
C++
multicore/src/bbthread.cpp
jangmys/PBBPerm
c13ad1045d0c7a36fd8d8ace728410fee38d70a4
[ "MIT" ]
null
null
null
multicore/src/bbthread.cpp
jangmys/PBBPerm
c13ad1045d0c7a36fd8d8ace728410fee38d70a4
[ "MIT" ]
null
null
null
multicore/src/bbthread.cpp
jangmys/PBBPerm
c13ad1045d0c7a36fd8d8ace728410fee38d70a4
[ "MIT" ]
null
null
null
#include "../../common/include/macros.h" #include "../../common/include/pbab.h" #include "../include/bbthread.h" void bbthread::reset_requestQueue() { requestQueue.clear(); } bool bbthread::has_request() { pthread_mutex_lock_check(&mutex_workRequested); bool ok = (requestQueue.empty()) ? false : true; ...
25.753425
99
0.571277
jangmys
40bf93212efa935d4ad6ca8a47338c7ea757b35d
4,186
cpp
C++
src/Audio/AudioPlayer.cpp
Nickswoboda/Aegis
60e0e770892bdcb378686508ca455f6b5d522e33
[ "MIT" ]
null
null
null
src/Audio/AudioPlayer.cpp
Nickswoboda/Aegis
60e0e770892bdcb378686508ca455f6b5d522e33
[ "MIT" ]
null
null
null
src/Audio/AudioPlayer.cpp
Nickswoboda/Aegis
60e0e770892bdcb378686508ca455f6b5d522e33
[ "MIT" ]
null
null
null
#include "AudioPlayer.h" #include "../Core/Assert.h" #include <AL/al.h> #include <AL/alc.h> #include <stb_vorbis.h> #include <iostream> #include <vector> namespace Aegis { ALCdevice* AudioPlayer::device_ = nullptr; ALCcontext* AudioPlayer::context_ = nullptr; std::unordered_map<std::string, SoundID> AudioPlaye...
24.057471
98
0.676541
Nickswoboda
40c08bc396b7e5fe3888722619f5a0f297cdb7e7
500
hpp
C++
vitamin-k/system/vikAssets.hpp
patchedsoul/xrgears
1ac9460a3fe49c9a47bc6d8262e124fd3d369758
[ "MIT" ]
null
null
null
vitamin-k/system/vikAssets.hpp
patchedsoul/xrgears
1ac9460a3fe49c9a47bc6d8262e124fd3d369758
[ "MIT" ]
null
null
null
vitamin-k/system/vikAssets.hpp
patchedsoul/xrgears
1ac9460a3fe49c9a47bc6d8262e124fd3d369758
[ "MIT" ]
null
null
null
/* * vitamin-k * * Copyright 2017-2018 Collabora Ltd. * * Authors: Lubosz Sarnecki <lubosz.sarnecki@collabora.com> * SPDX-License-Identifier: MIT */ #pragma once #include <string> namespace vik { class Assets { public: static const std::string get_asset_path() { return "./assets/"; } static const ...
16.666667
59
0.66
patchedsoul
40c3c1d7457dbfe3e40689cf8b268d336fb133c7
1,865
cpp
C++
examples/f1/clkout/main.cpp
tufty/stm32tl
3f5ef1ca29695236ab9f5d964a1b4be7afc00c8f
[ "MIT" ]
10
2017-04-16T20:54:40.000Z
2022-03-13T13:28:32.000Z
examples/f1/clkout/main.cpp
tufty/stm32tl
3f5ef1ca29695236ab9f5d964a1b4be7afc00c8f
[ "MIT" ]
1
2018-10-04T21:06:37.000Z
2020-01-13T15:22:58.000Z
examples/f1/clkout/main.cpp
tufty/stm32tl
3f5ef1ca29695236ab9f5d964a1b4be7afc00c8f
[ "MIT" ]
4
2019-10-30T07:35:22.000Z
2021-07-23T01:24:27.000Z
#include <clocks.h> #include <tasks.h> #include <gpio.h> #define HSE_FREQ 8000000 typedef HSE_OSC_T<HSE_FREQ> HSE; typedef PLL_T<HSE, 72000000> PLL; typedef SYSCLK_T<PLL> SYSCLK; typedef SYSTICK_T<SYSCLK, 1000> SYSTICK; typedef TIMEOUT_T<SYSTICK> TIMEOUT; #if defined(OLIMEXINO) typedef GPIO_T<PA, 8, OUTPUT_50MHZ, AL...
27.028986
84
0.737802
tufty
40c47fd93c62e1cfbbed8ad2f3ce03c5af62df49
209
hpp
C++
test/test.hpp
sschaetz/aura
3d90e4b320ff54968bed8e610f778c7b84ba19de
[ "BSL-1.0" ]
34
2015-01-18T13:41:26.000Z
2021-08-17T05:23:25.000Z
test/test.hpp
sschaetz/aura
3d90e4b320ff54968bed8e610f778c7b84ba19de
[ "BSL-1.0" ]
14
2015-03-11T18:17:26.000Z
2018-08-13T18:33:18.000Z
test/test.hpp
sschaetz/aura
3d90e4b320ff54968bed8e610f778c7b84ba19de
[ "BSL-1.0" ]
9
2015-03-11T04:53:06.000Z
2018-11-23T15:48:01.000Z
#pragma once namespace boost { namespace aura { namespace test { inline std::string get_test_dir() { return std::string(AURA_TEST_SOURCE_DIR); } } // namespace test } // namespace aura } // namespace boost
13.933333
79
0.727273
sschaetz
40c523872f00f85bc08ebd44781aa7f2057b9b86
938
cpp
C++
euler077.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
euler077.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
euler077.cpp
suihan74/ProjectEuler
0ccd2470206a606700ab5c2a7162b2a3d3de2f8d
[ "MIT" ]
null
null
null
/** * Problem 77 「素数の和」 * 10は素数の和として5通りに表すことができる: * * 7 + 3 * 5 + 5 * 5 + 3 + 2 * 3 + 3 + 2 + 2 * 2 + 2 + 2 + 2 + 2 * * 素数の和としての表し方が5000通り以上になる最初の数を求めよ. */ #include <cstdint> #include <iostream> #include <vector> #include "prime.h" using uInt = std::uint_fast64_t; using namespace Euler::Prime; int main(v...
20.391304
67
0.545842
suihan74
40c9d23eaf33e657d177171a7e331345247a3d8c
276
hpp
C++
include/chrono/MicroTimer.hpp
bander9289/StratifyAPI
9b45091aa71a4e5718047438ea4044c1fdc814a3
[ "MIT" ]
2
2016-05-21T03:09:19.000Z
2016-08-27T03:40:51.000Z
include/chrono/MicroTimer.hpp
bander9289/StratifyAPI
9b45091aa71a4e5718047438ea4044c1fdc814a3
[ "MIT" ]
75
2017-10-08T22:21:19.000Z
2020-03-30T21:13:20.000Z
include/chrono/MicroTimer.hpp
StratifyLabs/StratifyLib
975a5c25a84296fd0dec64fe4dc579cf7027abe6
[ "MIT" ]
5
2018-03-27T16:44:09.000Z
2020-07-08T16:45:55.000Z
/*! \file */ // Copyright 2011-2020 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md for rights. #ifndef CHRONO_MICRO_TIMER_HPP_ #define CHRONO_MICRO_TIMER_HPP_ #include "Timer.hpp" namespace chrono { typedef class Timer MicroTimer; } #endif // CHRONO_MICRO_TIMER_HPP_
23
100
0.778986
bander9289
40ca5d350595bc92956bd9d8eb1b5e15ff84d51b
12,047
cpp
C++
src/servers/app/drawing/Painter/drawing_modes/PixelFormat.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
4
2017-06-17T22:03:56.000Z
2019-01-25T10:51:55.000Z
src/servers/app/drawing/Painter/drawing_modes/PixelFormat.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
null
null
null
src/servers/app/drawing/Painter/drawing_modes/PixelFormat.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
3
2018-12-17T13:07:38.000Z
2021-09-08T13:07:31.000Z
/* * Copyright 2005, Stephan Aßmus <superstippi@gmx.de>. * Copyright 2008, Andrej Spielmann <andrej.spielmann@seh.ox.ac.uk> * All rights reserved. Distributed under the terms of the MIT License. * * Copyright 2002-2004 Maxim Shemanarev (http://www.antigrain.com) * * A class implementing the AGG "pixel format" in...
33.839888
82
0.772807
axeld
40cb69d58be34fdbcf97e9926cf39c984af64085
1,315
hpp
C++
modules/scene_manager/include/example_interfaces/action/fibonacci__result__traits.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
modules/scene_manager/include/example_interfaces/action/fibonacci__result__traits.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
3
2019-11-14T12:20:06.000Z
2020-08-07T13:51:10.000Z
modules/scene_manager/include/example_interfaces/action/fibonacci__result__traits.hpp
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
// generated from rosidl_generator_cpp/resource/srv__traits.hpp.em // generated code does not contain a copyright notice #include "example_interfaces/action/fibonacci__result__struct.hpp" #ifndef EXAMPLE_INTERFACES__ACTION__FIBONACCI__RESULT__TRAITS_HPP_ #define EXAMPLE_INTERFACES__ACTION__FIBONACCI__RESULT__TRAITS_...
27.978723
84
0.821293
Omnirobotic
40cdce97555361cf3adf228fe2f9f15f59dfb285
886
cpp
C++
eigen_matrix_utils/src/eigen_matrix_utils/eigen_matrix_utils.cpp
CNR-STIIMA-IRAS/eigen_utils
e0697acbf39a483d61cd140ed66a1fc553009fe0
[ "Apache-2.0" ]
null
null
null
eigen_matrix_utils/src/eigen_matrix_utils/eigen_matrix_utils.cpp
CNR-STIIMA-IRAS/eigen_utils
e0697acbf39a483d61cd140ed66a1fc553009fe0
[ "Apache-2.0" ]
2
2021-02-19T12:09:12.000Z
2021-03-18T07:48:14.000Z
eigen_matrix_utils/src/eigen_matrix_utils/eigen_matrix_utils.cpp
CNR-STIIMA-IRAS/eigen_utils
e0697acbf39a483d61cd140ed66a1fc553009fe0
[ "Apache-2.0" ]
null
null
null
#include <eigen_matrix_utils/overloads.h> #include <eigen_matrix_utils/eigen_matrix_utils.h> namespace eigen_utils { // double standard_deviation(const Eigen::Ref< Eigen::VectorXd >& vet) // { // Eigen::VectorXd mean_vet(vet.rows()); // mean_vet.setConstant(vet.mean()); // return std::sqrt((vet-mean_vet).dot(...
27.6875
133
0.693002
CNR-STIIMA-IRAS
40ce512023bfc4aed810512ccabe43ba044c4722
3,977
cpp
C++
mp/src/game/server/fortress/tf_playerlocaldata.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
1
2021-03-20T14:27:45.000Z
2021-03-20T14:27:45.000Z
mp/src/game/server/fortress/tf_playerlocaldata.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
mp/src/game/server/fortress/tf_playerlocaldata.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
#include "cbase.h" #include "tf_playerlocaldata.h" #include "tf_player.h" #include "mathlib/mathlib.h" #include "entitylist.h" extern ConVar tf_fastbuild; ConVar tf_maxbankresources( "tf_maxbankresources", "2000", 0, "Max resources a single player can have." ); #define BANK_RESOURCE_BITS 20 #define MAX_PLAYER_RESOURC...
32.867769
140
0.707317
MaartenS11
40cf6f3e94ed2c9d402f999b0ed23d762437b5b5
3,281
hpp
C++
Source/utils/Coordinates.hpp
boxuange/GRChomboo
22cf6751a3be29776f35a39f433f6bb497280720
[ "BSD-3-Clause" ]
2
2018-02-23T10:46:34.000Z
2019-10-01T17:28:31.000Z
Source/utils/Coordinates.hpp
boxuange/GRChomboo
22cf6751a3be29776f35a39f433f6bb497280720
[ "BSD-3-Clause" ]
null
null
null
Source/utils/Coordinates.hpp
boxuange/GRChomboo
22cf6751a3be29776f35a39f433f6bb497280720
[ "BSD-3-Clause" ]
1
2022-02-24T23:01:02.000Z
2022-02-24T23:01:02.000Z
/* GRChombo * Copyright 2012 The GRChombo collaboration. * Please refer to LICENSE in GRChombo's root directory. */ #ifndef COORDINATES_HPP_ #define COORDINATES_HPP_ #include "DimensionDefinitions.hpp" #include "IntVect.H" #include "simd.hpp" #include <array> template <class data_t> class Coordinates { public: ...
31.854369
79
0.604694
boxuange
40d3b6e1fbf2cc7cffb32460a018938c3b180399
1,649
hpp
C++
lib/_old/segment_tree_virtual.hpp
kuhaku-space/atcoder-lib
7fe1365e1be69d3eff11e122b2c7dff997a6c541
[ "Apache-2.0" ]
null
null
null
lib/_old/segment_tree_virtual.hpp
kuhaku-space/atcoder-lib
7fe1365e1be69d3eff11e122b2c7dff997a6c541
[ "Apache-2.0" ]
4
2022-01-05T14:40:40.000Z
2022-03-05T08:03:19.000Z
lib/_old/segment_tree_virtual.hpp
kuhaku-space/atcoder-lib
7fe1365e1be69d3eff11e122b2c7dff997a6c541
[ "Apache-2.0" ]
null
null
null
#include "template/template.hpp" /** * @brief セグメント木 * * @tparam T 要素の型 * @tparam F 関数の型 */ template <class T> struct segment_tree { int N; const T e; vector<T> data; segment_tree() {} segment_tree(int _n, T _e) : e(_e) { this->init(_n, _e); } const T &operator[](int i) ...
29.446429
99
0.454215
kuhaku-space
40d6ff8a6ec8f722e2fdd51a0aeecb3f5a17ea1c
1,133
cpp
C++
TPPEngine/Tpp_Scene.cpp
ArtiomTr/Game
f3978d220c29a8773728c536867b8a8f8cf91493
[ "MIT" ]
null
null
null
TPPEngine/Tpp_Scene.cpp
ArtiomTr/Game
f3978d220c29a8773728c536867b8a8f8cf91493
[ "MIT" ]
null
null
null
TPPEngine/Tpp_Scene.cpp
ArtiomTr/Game
f3978d220c29a8773728c536867b8a8f8cf91493
[ "MIT" ]
null
null
null
#include "Tpp_Scene.h" namespace tp { Scene::Scene(std::vector<IEntityController*> c) { for (int i = 0; i < c.size(); i++) controllers.push_back(c[i]); } int Scene::getEntityCount(std::string name) { if (entities.find(name) != entities.end()) { return entities[name].size(); } return -1; } void Sc...
26.97619
68
0.62842
ArtiomTr
40d771533e223169ff38e8bc1e59e3407db005a7
3,601
cpp
C++
tasks/functions/functions_test.cpp
SIP-2015/skeleton
6585ad70e7b5a7e9e5f416556b03bcc63f05a3ec
[ "Unlicense" ]
null
null
null
tasks/functions/functions_test.cpp
SIP-2015/skeleton
6585ad70e7b5a7e9e5f416556b03bcc63f05a3ec
[ "Unlicense" ]
null
null
null
tasks/functions/functions_test.cpp
SIP-2015/skeleton
6585ad70e7b5a7e9e5f416556b03bcc63f05a3ec
[ "Unlicense" ]
null
null
null
/* * functions_test.cpp * * Created On: June 10, 2015 * Author: Matthew Mussomele */ #include "gtest/gtest.h" #include "functions.h" namespace { class function_test : public ::testing::Test { protected: function_test() { } virtual ~function_test() { } virtual void SetUp(...
31.043103
89
0.639545
SIP-2015
40d7a6a42723bfe9db56ba286d5e7cab9f503433
10,983
cpp
C++
QuantumGateLib/Core/ListenerManager.cpp
kareldonk/QuantumGate
c6563b156c628ca0d32534680aa001d4eb820b73
[ "MIT" ]
87
2018-09-01T05:29:22.000Z
2022-03-13T17:44:00.000Z
QuantumGateLib/Core/ListenerManager.cpp
kareldonk/QuantumGate
c6563b156c628ca0d32534680aa001d4eb820b73
[ "MIT" ]
6
2019-01-30T14:48:17.000Z
2022-03-14T21:10:56.000Z
QuantumGateLib/Core/ListenerManager.cpp
kareldonk/QuantumGate
c6563b156c628ca0d32534680aa001d4eb820b73
[ "MIT" ]
16
2018-11-25T23:09:47.000Z
2022-02-01T22:14:11.000Z
// This file is part of the QuantumGate project. For copyright and // licensing information refer to the license file(s) in the project root. #include "pch.h" #include "ListenerManager.h" #include "..\API\Access.h" using namespace std::literals; using namespace QuantumGate::Implementation::Network; namespace Quantum...
27.595477
123
0.683693
kareldonk
40d87dff04118c9ec272b78385a1ce96c4dcf233
1,432
cpp
C++
LightOJ/1079 - Just another Robbery/sol.cpp
Tahsin716/OnlineJudge
a5d15f37a8c260740c148370ced7a2a9096050c1
[ "MIT" ]
null
null
null
LightOJ/1079 - Just another Robbery/sol.cpp
Tahsin716/OnlineJudge
a5d15f37a8c260740c148370ced7a2a9096050c1
[ "MIT" ]
null
null
null
LightOJ/1079 - Just another Robbery/sol.cpp
Tahsin716/OnlineJudge
a5d15f37a8c260740c148370ced7a2a9096050c1
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <cstring> #include <climits> using namespace std; double P[101], dp[101][10001], x; int bank[101], n; //The prob of getting caught in one of the two banks = the prob of getting caught in the first or the prob //of not getting caught in the first and getting caught in t...
17.463415
107
0.569832
Tahsin716
40d9d2e01422072b52d19cdabdab2f9071408f25
2,818
cpp
C++
IOI/poi.cpp
eddiegz/Personal-C
f7869826216e5c665f8f646502141f0dc680e545
[ "MIT" ]
3
2021-05-15T08:18:09.000Z
2021-05-17T04:41:57.000Z
IOI/poi.cpp
eddiegz/Personal-C
f7869826216e5c665f8f646502141f0dc680e545
[ "MIT" ]
null
null
null
IOI/poi.cpp
eddiegz/Personal-C
f7869826216e5c665f8f646502141f0dc680e545
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; using ull = unsigned long long; using str = string; using vi = vector<int>; using vb = vector<bool>; using vl = vector<ll>; using vd = vector<ld>; using vs = vector<str>; using vc = vector<char>; using vvi = vector<vi>; using v...
24.719298
104
0.577715
eddiegz
40dd1f7e204ce90cfc60e43aebd57158d999905b
3,456
hpp
C++
games/spiders/brood_mother.hpp
JackLimes/Joueur.cpp
d7dc45b5f95d9b3fc8c9cb846d63d6f44c83a61b
[ "MIT" ]
null
null
null
games/spiders/brood_mother.hpp
JackLimes/Joueur.cpp
d7dc45b5f95d9b3fc8c9cb846d63d6f44c83a61b
[ "MIT" ]
null
null
null
games/spiders/brood_mother.hpp
JackLimes/Joueur.cpp
d7dc45b5f95d9b3fc8c9cb846d63d6f44c83a61b
[ "MIT" ]
null
null
null
#ifndef GAMES_SPIDERS_BROOD_MOTHER_H #define GAMES_SPIDERS_BROOD_MOTHER_H // BroodMother // The Spider Queen. She alone can spawn Spiderlings for each Player, and if she dies the owner loses. // DO NOT MODIFY THIS FILE // Never try to directly create an instance of this class, or modify its member variables. // Inste...
35.265306
148
0.676505
JackLimes
40e0226b14677becafa8c73f7833aef3cbfd3045
48,398
cpp
C++
Tools/ToolsRig/TerrainConversion.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
3
2015-12-04T09:16:53.000Z
2021-05-28T23:22:49.000Z
Tools/ToolsRig/TerrainConversion.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
null
null
null
Tools/ToolsRig/TerrainConversion.cpp
djewsbury/XLE
7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e
[ "MIT" ]
2
2015-03-03T05:32:39.000Z
2015-12-04T09:16:54.000Z
// Copyright 2015 XLGAMES Inc. // // Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #define _SCL_SECURE_NO_WARNINGS #include "TerrainConversion.h" #include "TerrainOp.h" #include "TerrainShadowOp.h" #include "../../SceneEngin...
46.269598
200
0.57552
djewsbury
40e0276213cc148716c41399d21f730851ed2e61
1,450
cpp
C++
platform/RemotingNG/TCP/src/TransportFactory.cpp
gboyraz/macchina.io
3e26fea95e87512459693831242b297f0780cc21
[ "Apache-2.0" ]
2
2020-11-23T23:37:00.000Z
2020-12-22T04:02:41.000Z
platform/RemotingNG/TCP/src/TransportFactory.cpp
bas524/cmake.macchina.io
22a21d78f8075fd145b788b41a23603591e91c9f
[ "Apache-2.0" ]
null
null
null
platform/RemotingNG/TCP/src/TransportFactory.cpp
bas524/cmake.macchina.io
22a21d78f8075fd145b788b41a23603591e91c9f
[ "Apache-2.0" ]
1
2020-11-23T23:37:09.000Z
2020-11-23T23:37:09.000Z
// // TransportFactory.cpp // // Library: RemotingNG/TCP // Package: TCP // Module: TransportFactory // // Copyright (c) 2006-2012, Applied Informatics Software Engineering GmbH. // All rights reserved. // // SPDX-License-Identifier: Apache-2.0 // #include "Poco/RemotingNG/TCP/TransportFactory.h" #include "Poco/Remo...
21.323529
133
0.786897
gboyraz
40e0fa0e50680761a1036ba9af473e4a56f28c51
462
cpp
C++
Testing/testVigenereCipher.cpp
MPAGS-CPP-2019/mpags-day-5-kwalkingshaw
25d7838114ef251e3561ba6e83ae859ba655d94d
[ "MIT" ]
null
null
null
Testing/testVigenereCipher.cpp
MPAGS-CPP-2019/mpags-day-5-kwalkingshaw
25d7838114ef251e3561ba6e83ae859ba655d94d
[ "MIT" ]
null
null
null
Testing/testVigenereCipher.cpp
MPAGS-CPP-2019/mpags-day-5-kwalkingshaw
25d7838114ef251e3561ba6e83ae859ba655d94d
[ "MIT" ]
null
null
null
//! Unit Tests for MPAGSCipher VigenereCipher Class #define CATCH_CONFIG_MAIN #include "catch.hpp" #include "VigenereCipher.hpp" TEST_CASE("Vigenere Cipher encryption", "[vigenere]") { VigenereCipher cc{"KEY"}; REQUIRE( cc.applyCipher("HELLOWORLD", CipherMode::Encrypt) == "RIJVSUYVJN"); } TEST_CASE("Vigenere Cip...
28.875
78
0.731602
MPAGS-CPP-2019
40e184d236f9508a0a2a5bc94d4ea22fd213efa9
5,186
cpp
C++
tdutils/td/utils/Gzip.cpp
sintyaaaaa/td
0e930c15d3cd65dc5cc3fa6e8492684038129510
[ "BSL-1.0" ]
1
2019-10-12T18:08:04.000Z
2019-10-12T18:08:04.000Z
tdutils/td/utils/Gzip.cpp
sintyaaaaa/td
0e930c15d3cd65dc5cc3fa6e8492684038129510
[ "BSL-1.0" ]
null
null
null
tdutils/td/utils/Gzip.cpp
sintyaaaaa/td
0e930c15d3cd65dc5cc3fa6e8492684038129510
[ "BSL-1.0" ]
1
2020-08-14T12:43:30.000Z
2020-08-14T12:43:30.000Z
// // Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2019 // // 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 "td/utils/Gzip.h" char disable_linker_warning_about...
24.813397
111
0.658889
sintyaaaaa