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
float64
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
float64
1
77k
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
ddec9c4d0072be8232273bcf815412ca49de9664
1,383
hpp
C++
redemption/src/utils/serialize.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
redemption/src/utils/serialize.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
redemption/src/utils/serialize.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
/* 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 of the License, or (at your option) any later version. This program is distributed in the hope that it will be usefu...
29.425532
77
0.71222
ddf16c028182f525afa574368bb95a15376b0483
2,551
cpp
C++
Data Structures/Arrays/Dynamic Array.cpp
VaibhavDS19/Hackerrankchallenges
5207c4145547ad6707bb86f71c692be23445b56a
[ "MIT" ]
null
null
null
Data Structures/Arrays/Dynamic Array.cpp
VaibhavDS19/Hackerrankchallenges
5207c4145547ad6707bb86f71c692be23445b56a
[ "MIT" ]
null
null
null
Data Structures/Arrays/Dynamic Array.cpp
VaibhavDS19/Hackerrankchallenges
5207c4145547ad6707bb86f71c692be23445b56a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; string ltrim(const string &); string rtrim(const string &); vector<string> split(const string &); /* * Complete the 'dynamicArray' function below. * * The function is expected to return an INTEGER_ARRAY. * The function accepts following parameters: * 1. INTEGER n ...
20.909836
82
0.577813
ddf38c23944d3160b61f3fbc21fc437d746fc983
6,836
cpp
C++
src/CoreGenPortal/PortalCore/CoreRegClassInfoWin.cpp
opensocsysarch/CoreGenPortal
b6c8c9ca13fa8add969511f153331cad83953799
[ "Apache-2.0" ]
1
2019-06-25T13:06:14.000Z
2019-06-25T13:06:14.000Z
src/CoreGenPortal/PortalCore/CoreRegClassInfoWin.cpp
opensocsysarch/CoreGenPortal
b6c8c9ca13fa8add969511f153331cad83953799
[ "Apache-2.0" ]
128
2018-10-23T12:45:15.000Z
2021-12-28T13:09:39.000Z
src/CoreGenPortal/PortalCore/CoreRegClassInfoWin.cpp
opensocsysarch/CoreGenPortal
b6c8c9ca13fa8add969511f153331cad83953799
[ "Apache-2.0" ]
1
2021-01-20T23:17:34.000Z
2021-01-20T23:17:34.000Z
// // _COREREGCLASSINFOWIN_CPP_ // // Copyright (C) 2017-2020 Tactical Computing Laboratories, LLC // All Rights Reserved // contact@tactcomplabs.com // // See LICENSE in the top level directory for licensing details // #include "CoreGenPortal/PortalCore/CoreRegClassInfoWin.h" // Event Table wxBEGIN_EVENT_TABLE(CoreR...
37.355191
101
0.521065
ddf4dc2e60f13eb507819fa679390a2faface3ec
809
cpp
C++
c++/07 overload/src/main.cpp
dev-go/hello-world
a99e6dfb2868cfc5f04ccab87888619c5c420d0a
[ "BSD-3-Clause" ]
null
null
null
c++/07 overload/src/main.cpp
dev-go/hello-world
a99e6dfb2868cfc5f04ccab87888619c5c420d0a
[ "BSD-3-Clause" ]
null
null
null
c++/07 overload/src/main.cpp
dev-go/hello-world
a99e6dfb2868cfc5f04ccab87888619c5c420d0a
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2020, devgo.club // All rights reserved. #include <stdint.h> #include <stdlib.h> #include <iostream> int32_t get_max(int32_t x = 101, int32_t y = 102, int32_t z = 103); int32_t get_max(int32_t x, int32_t y); int main(int argc, char **argv) { int32_t a = 1; int32_t b = 2; int32_t c = 3; std...
17.212766
78
0.599506
ddf6a1deca6d3f253dfa1803ab574c0dcd66aead
660
cpp
C++
contest/1453/d/d.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
contest/1453/d/d.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
contest/1453/d/d.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define watch(x) std::cout << (#x) << " is " << (x) << std::endl using LL = long long; int main() { //freopen("in", "r", stdin); std::cin.tie(nullptr)->sync_with_stdio(false); int cas = 1; std::cin >> cas; while (cas--) { LL n; std::cin >> n; if (n & 1) { std::cout << -1 << std:...
20
64
0.480303
fb04460a52eaf8025e256f7b7a5bdc70ab6f86ef
7,202
cpp
C++
SDK/PUBG_Niagara_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
7
2019-03-06T11:04:52.000Z
2019-07-10T20:00:51.000Z
SDK/PUBG_Niagara_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
null
null
null
SDK/PUBG_Niagara_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
10
2019-03-06T11:53:46.000Z
2021-02-18T14:01:11.000Z
// PUBG FULL SDK - Generated By Respecter (5.3.4.11 [06/03/2019]) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "PUBG_Niagara_parameters.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //----------------------------------------------------...
30.260504
125
0.711469
fb063781520cb0a4cca149aafebc08d9057c0538
2,161
cpp
C++
src/vkex/QueryPool.cpp
apazylbe/PorQue4K
209ba90a35f05df0be68df586c9e184183ed8263
[ "Apache-2.0" ]
15
2020-06-12T01:40:34.000Z
2022-03-16T21:52:46.000Z
src/vkex/QueryPool.cpp
apazylbe/PorQue4K
209ba90a35f05df0be68df586c9e184183ed8263
[ "Apache-2.0" ]
4
2020-06-12T23:57:52.000Z
2020-06-24T19:19:16.000Z
src/vkex/QueryPool.cpp
apazylbe/PorQue4K
209ba90a35f05df0be68df586c9e184183ed8263
[ "Apache-2.0" ]
3
2020-06-12T15:02:13.000Z
2020-07-05T17:34:20.000Z
/* Copyright 2018-2019 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
27.0125
100
0.648774
fb0918f6b14b61ff1c285851a2d06dc0989cd7fc
5,709
cpp
C++
engine/Ecs/Systems/CheckCollisionsSystem.cpp
ledocool/snail_engine
0114a62dbecbbe58348fbe7083d9182bc1bd8c3c
[ "Apache-2.0" ]
null
null
null
engine/Ecs/Systems/CheckCollisionsSystem.cpp
ledocool/snail_engine
0114a62dbecbbe58348fbe7083d9182bc1bd8c3c
[ "Apache-2.0" ]
null
null
null
engine/Ecs/Systems/CheckCollisionsSystem.cpp
ledocool/snail_engine
0114a62dbecbbe58348fbe7083d9182bc1bd8c3c
[ "Apache-2.0" ]
1
2018-08-11T14:31:27.000Z
2018-08-11T14:31:27.000Z
/* * Copyright 2018 LedoCool. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
39.372414
140
0.600981
fb0b4d728927159583f2446954c539d1e2a12de0
1,186
cpp
C++
II semester/programming-techniques/labovi/T4/Z1/main.cpp
ksaracevic1/etf-alles-1
0ab1ad83d00fafc69b38266edd875bce08c1fc9e
[ "Unlicense" ]
14
2019-02-11T18:35:19.000Z
2022-03-26T09:54:47.000Z
II semester/programming-techniques/labovi/T4/Z1/main.cpp
ksaracevic1/etf-alles-1
0ab1ad83d00fafc69b38266edd875bce08c1fc9e
[ "Unlicense" ]
4
2021-12-22T12:01:34.000Z
2021-12-22T12:01:35.000Z
II semester/programming-techniques/labovi/T4/Z1/main.cpp
ksaracevic1/etf-alles-1
0ab1ad83d00fafc69b38266edd875bce08c1fc9e
[ "Unlicense" ]
18
2019-06-09T22:06:09.000Z
2022-02-15T07:17:15.000Z
/* TP 2016/2017 (Tutorijal 4, Zadatak 1) Autotestovi by Eldar Kurtic, sva pitanja, sugestije i prijave gresaka javite na mail ekurtic3@etf.unsa.ba NAPOMENA: testovi ce biti konacni TEK pred pocetak tutorijala. Zbog toga pokrenite testove za SVE zadatke na tutorijalu, da se ne bi desila situacija da ne...
23.72
114
0.600337
fb0c822bd4723386ad46a1d03f4d974cacbae84b
10,884
cpp
C++
export/windows/obj/src/openfl/display/GraphicsStroke.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/openfl/display/GraphicsStroke.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/openfl/display/GraphicsStroke.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_95f339a1d026d52c #define INCLUDED_95f339a1d026d52c #include "hxMath.h" #endif #ifndef INCLUDED_openfl_display_GraphicsDataType #include <openfl/display/GraphicsDataType.h> #endif #ifndef INCLUDED_openfl_display_GraphicsStroke #include <openfl/display/Graph...
42.186047
255
0.745774
fb0e7c80fc6a831c5819f8b9863f7da8017789ee
4,530
cpp
C++
Source/SDesiredSizeBox.cpp
Ilethas/UE4-DesiredSizeBox
873e6093e5918fd3a7f2bd76b1286360afe9ca9d
[ "BSD-3-Clause" ]
2
2022-01-12T14:05:20.000Z
2022-01-12T19:53:16.000Z
Source/SDesiredSizeBox.cpp
Ilethas/UE4-DesiredSizeBox
873e6093e5918fd3a7f2bd76b1286360afe9ca9d
[ "BSD-3-Clause" ]
null
null
null
Source/SDesiredSizeBox.cpp
Ilethas/UE4-DesiredSizeBox
873e6093e5918fd3a7f2bd76b1286360afe9ca9d
[ "BSD-3-Clause" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "SDesiredSizeBox.h" #include "Layout/LayoutUtils.h" SLATE_IMPLEMENT_WIDGET(SDesiredSizeBox) void SDesiredSizeBox::PrivateRegisterAttributes(FSlateAttributeInitializer& AttributeInitializer) { SLATE_ADD_MEMBER_ATTRIBUTE_DEFINIT...
30.816327
253
0.804415
fb113e8a751c34140e126541462a2fd262c1b6fb
2,805
cc
C++
components/service/ucloud/iot/src/model/ListProductByTagsResult.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
components/service/ucloud/iot/src/model/ListProductByTagsResult.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
components/service/ucloud/iot/src/model/ListProductByTagsResult.cc
wanguojian/AliOS-Things
47fce29d4dd39d124f0bfead27998ad7beea8441
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
32.241379
100
0.76934
fb1232dae595059d8531347e9f6289b8481a1010
4,166
cpp
C++
src/mxml/parsing/AppearanceHandler.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
18
2016-05-22T00:55:28.000Z
2021-03-29T08:44:23.000Z
src/mxml/parsing/AppearanceHandler.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
6
2017-05-17T13:20:09.000Z
2018-10-22T20:00:57.000Z
src/mxml/parsing/AppearanceHandler.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
14
2016-05-12T22:54:34.000Z
2021-10-19T12:43:16.000Z
// Copyright © 2016 Venture Media Labs. // // This file is part of mxml. The full mxml copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "AppearanceHandler.h" #include <lxml/DoubleHandler...
44.795699
96
0.665146
fb161d2f66bb84e081547beefeb177c30c8fbee2
3,912
cpp
C++
willow/src/op/add.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/src/op/add.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/src/op/add.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2018 Graphcore Ltd. All rights reserved. #include <vector> // for `find', we need the algorithm header #include <algorithm> #include <memory> #include <popart/op/add.hpp> #include <popart/opmanager.hpp> #include <popart/tensor.hpp> namespace popart { // TODO : T6250 : Add support for V6 axis & broadc...
33.152542
79
0.667434
fb1627497d33e1aa4cfdeed432b13bf54f8f836d
1,092
cpp
C++
IO/src/raw/src/export.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
182
2019-04-19T12:38:30.000Z
2022-03-20T16:48:20.000Z
IO/src/raw/src/export.cpp
doymcc/stitchEm
20693a55fa522d7a196b92635e7a82df9917c2e2
[ "MIT" ]
107
2019-04-23T10:49:35.000Z
2022-03-02T18:12:28.000Z
IO/src/raw/src/export.cpp
doymcc/stitchEm
20693a55fa522d7a196b92635e7a82df9917c2e2
[ "MIT" ]
59
2019-06-04T11:27:25.000Z
2022-03-17T23:49:49.000Z
// Copyright (c) 2012-2017 VideoStitch SAS // Copyright (c) 2018 stitchEm #include "export.hpp" #include "rawOutput.hpp" #include "libgpudiscovery/delayLoad.hpp" #include "libvideostitch/output.hpp" #include "libvideostitch/plugin.hpp" #ifdef DELAY_LOAD_ENABLED SET_DELAY_LOAD_HOOK #endif // DELAY_LOAD_ENABLED /**...
34.125
110
0.758242
fb166ed48090ebcf1b71d7b9cc98bb6a4615758e
1,765
cpp
C++
VNTextProxy/AlternateProxies/xinput1_3/Proxy.cpp
xenei/VNTranslationTools
7d197b3d0b73fd279b1fb5680404ea03975c31af
[ "MIT" ]
41
2021-10-01T13:53:01.000Z
2022-03-22T22:30:58.000Z
VNTextProxy/AlternateProxies/xinput1_3/Proxy.cpp
xenei/VNTranslationTools
7d197b3d0b73fd279b1fb5680404ea03975c31af
[ "MIT" ]
28
2021-10-15T03:56:27.000Z
2022-03-28T08:04:35.000Z
VNTextProxy/AlternateProxies/xinput1_3/Proxy.cpp
xenei/VNTranslationTools
7d197b3d0b73fd279b1fb5680404ea03975c31af
[ "MIT" ]
9
2021-12-04T17:35:16.000Z
2022-03-19T17:14:42.000Z
#include "pch.h" void Proxy::Init() { wchar_t realDllPath[MAX_PATH]; GetSystemDirectory(realDllPath, MAX_PATH); wcscat_s(realDllPath, L"\\xinput1_3.dll"); HMODULE hDll = LoadLibrary(realDllPath); if (hDll == nullptr) { MessageBox(nullptr, L"Cannot load original xinput1_3.dll library", L...
51.911765
143
0.649858
fb16a001dc9906e5e013f5bca2efd32df7f3ba3d
9,245
cpp
C++
3dc/avp/bh_dummy.cpp
Melanikus/AvP
9d61eb974a23538e32bf2ef1b738643a018935a0
[ "BSD-3-Clause" ]
null
null
null
3dc/avp/bh_dummy.cpp
Melanikus/AvP
9d61eb974a23538e32bf2ef1b738643a018935a0
[ "BSD-3-Clause" ]
null
null
null
3dc/avp/bh_dummy.cpp
Melanikus/AvP
9d61eb974a23538e32bf2ef1b738643a018935a0
[ "BSD-3-Clause" ]
null
null
null
/* CDF 9/10/98 A bold new initiaitive! */ #include "3dc.h" #include "inline.h" #include "module.h" #include "io.h" #include "strategy_def.h" #include "gamedef.h" #include "bh_types.h" #include "dynblock.h" #include "dynamics.h" #include "weapons.h" #include "compiled_shapes.h" #include "inventory.h" #include "tri...
29.349206
102
0.743429
fb179647819ccf5ed6f7eb7feac4aa9e26f0d73d
31,699
cxx
C++
base/screg/sc/server/crash.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/screg/sc/server/crash.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/screg/sc/server/crash.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1992 Microsoft Corporation Module Name: crash.cxx Abstract: Contains code concerned with recovery actions that are taken when a service crashes. This file contains the following functions: ScQueueRecoveryAction CCrashRecord::IncrementCount CRes...
29.680712
104
0.481151
fb17e58356bb333e7cedf7bbe6d02f3b46ff139b
2,517
cpp
C++
Algorithms/graphs/TwoColor/TwoColor/main.cpp
mingyuefly/geekTimeCode
d97c5f29a429ac9cc7289ac34e049ea43fa58822
[ "MIT" ]
1
2019-05-01T04:51:14.000Z
2019-05-01T04:51:14.000Z
Algorithms/graphs/TwoColor/TwoColor/main.cpp
mingyuefly/geekTimeCode
d97c5f29a429ac9cc7289ac34e049ea43fa58822
[ "MIT" ]
null
null
null
Algorithms/graphs/TwoColor/TwoColor/main.cpp
mingyuefly/geekTimeCode
d97c5f29a429ac9cc7289ac34e049ea43fa58822
[ "MIT" ]
null
null
null
// // main.cpp // TwoColor // // Created by mingyue on 2022/3/6. // Copyright © 2022 Gmingyue. All rights reserved. // #include <iostream> #include <vector> using namespace std; class Graph { public: vector<vector<int> *> * adj; Graph() { } Graph(int V) { this->V = V; thi...
21.512821
73
0.424712
fb183a4b905d4aae0fb85a0f3a6d0268f39b6326
597
cpp
C++
src/platforms/android/androidadjusthelper.cpp
swatson555/mozilla-vpn-client
feb23f893968bd032686fc16bbab71e02b006289
[ "MIT" ]
null
null
null
src/platforms/android/androidadjusthelper.cpp
swatson555/mozilla-vpn-client
feb23f893968bd032686fc16bbab71e02b006289
[ "MIT" ]
null
null
null
src/platforms/android/androidadjusthelper.cpp
swatson555/mozilla-vpn-client
feb23f893968bd032686fc16bbab71e02b006289
[ "MIT" ]
null
null
null
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "androidadjusthelper.h" #include <QAndroidJniObject> #include <QString> void AndroidAdjustHelper::track...
39.8
71
0.743719
fb1a14fc904379b1fedd08288d1128d830a1dc14
2,469
cpp
C++
Engine/BuildSystem/Configuration/BuildConfiguration.cpp
GabyForceQ/PolluxEngine
2dbc84ed1d434f1b6d794f775f315758f0e8cc49
[ "BSD-3-Clause" ]
3
2020-05-19T20:24:28.000Z
2020-09-27T11:28:42.000Z
Engine/BuildSystem/Configuration/BuildConfiguration.cpp
GabyForceQ/PolluxEngine
2dbc84ed1d434f1b6d794f775f315758f0e8cc49
[ "BSD-3-Clause" ]
31
2020-05-27T11:01:27.000Z
2020-08-08T15:53:23.000Z
Engine/BuildSystem/Configuration/BuildConfiguration.cpp
GabyForceQ/PolluxEngine
2dbc84ed1d434f1b6d794f775f315758f0e8cc49
[ "BSD-3-Clause" ]
null
null
null
/***************************************************************************************************************************** * Copyright 2020 Gabriel Gheorghe. All rights reserved. * This code is licensed under the BSD 3-Clause "New" or "Revised" License * License url: https://github.com/GabyForceQ/PolluxEngine/bl...
37.984615
127
0.63143
fb1a82d0bc8757861267ea43a083192d92e9c198
2,695
cpp
C++
D3dEngine/PhysicsComponent.cpp
KyleBCox/Direct3d12-Engine
eab9791bdb00a2ff3103e6b83c1c8a2ccb280241
[ "MIT" ]
11
2018-04-14T12:10:19.000Z
2020-12-31T08:58:47.000Z
D3dEngine/PhysicsComponent.cpp
KyleBCox/Direct3d-12-Engine-
eab9791bdb00a2ff3103e6b83c1c8a2ccb280241
[ "MIT" ]
null
null
null
D3dEngine/PhysicsComponent.cpp
KyleBCox/Direct3d-12-Engine-
eab9791bdb00a2ff3103e6b83c1c8a2ccb280241
[ "MIT" ]
3
2019-01-29T14:03:59.000Z
2019-10-09T13:21:31.000Z
#include "stdafx.h" #include "PhysicsComponent.h" #include "ComponentManager.h" #include "BoxCollider.h" /** * @brief Construct a new Physics Component:: Physics Component object * controls physics movements in the world * */ PhysicsComponent::PhysicsComponent() : minY(0), isRising(false), yPosFallDiff(0) { } ...
22.272727
90
0.711317
fb1c7d34a6e0be7d8373d8d836ee1e503286d08f
1,690
cpp
C++
tlx/string/appendline.cpp
GerHobbelt/tlx
81a71238b17df27d98a4dff9ceba21bd79fddffb
[ "BSL-1.0" ]
284
2017-02-26T08:49:15.000Z
2022-03-30T21:55:37.000Z
tlx/string/appendline.cpp
xiao2mo/tlx
b311126e670753897c1defceeaa75c83d2d9531a
[ "BSL-1.0" ]
24
2017-09-05T21:02:41.000Z
2022-03-07T10:09:59.000Z
tlx/string/appendline.cpp
xiao2mo/tlx
b311126e670753897c1defceeaa75c83d2d9531a
[ "BSL-1.0" ]
62
2017-02-23T12:29:27.000Z
2022-03-31T07:45:59.000Z
/******************************************************************************* * tlx/string/appendline.cpp * * Part of tlx - http://panthema.net/tlx * * Copyright (C) 2019 Timo Bingmann <tb@panthema.net> * * All rights reserved. Published under the Boost Software License, Version 1.0 *************************...
27.704918
80
0.511243
fb296164604e03b8de299a508c7ae07883a02eb2
5,743
cpp
C++
ros/src/convert.cpp
norlab-ulaval/navtechradar
4d3ccd2558e79142d656a6c12cd826d9397b0f2d
[ "MIT" ]
2
2020-11-18T17:48:40.000Z
2021-01-12T14:15:17.000Z
ros/src/convert.cpp
norlab-ulaval/navtechradar
4d3ccd2558e79142d656a6c12cd826d9397b0f2d
[ "MIT" ]
null
null
null
ros/src/convert.cpp
norlab-ulaval/navtechradar
4d3ccd2558e79142d656a6c12cd826d9397b0f2d
[ "MIT" ]
1
2022-03-22T16:09:51.000Z
2022-03-22T16:09:51.000Z
#include <ros/ros.h> #include <omp.h> #include <cv_bridge/cv_bridge.h> #include <sensor_msgs/Image.h> #include <opencv2/core.hpp> #include <opencv2/highgui/highgui.hpp> ros::Publisher pub; ros::Subscriber sub; double radar_upgrade_time = 1632182400; void load_radar(cv::Mat raw_data, std::vector<int64_t> &timestamps, ...
37.535948
108
0.608045
fb2f7b6e5e5b37fa23bdc5935bd721bfb325d3e9
239
hpp
C++
include/Pomdog/Graphics/Shader.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
include/Pomdog/Graphics/Shader.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
include/Pomdog/Graphics/Shader.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license. #pragma once #include "Pomdog/Basic/Export.hpp" namespace Pomdog { class POMDOG_EXPORT Shader { public: virtual ~Shader() = default; }; } // namespace Pomdog
15.933333
71
0.719665
fb2fb867682534a281555932584875709596e0ab
381
cc
C++
ports/www/chromium-legacy/newport/files/patch-content_common_user__agent.cc
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
31
2015-02-06T17:06:37.000Z
2022-03-08T19:53:28.000Z
ports/www/chromium-legacy/newport/files/patch-content_common_user__agent.cc
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
236
2015-06-29T19:51:17.000Z
2021-12-16T22:46:38.000Z
ports/www/chromium-legacy/newport/files/patch-content_common_user__agent.cc
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
52
2015-02-06T17:05:36.000Z
2021-10-21T12:13:06.000Z
--- content/common/user_agent.cc.orig 2021-01-18 21:28:57 UTC +++ content/common/user_agent.cc @@ -213,6 +213,14 @@ std::string BuildOSCpuInfoFromOSVersionAndCpuType(cons ); #endif +#if defined(OS_BSD) +#if defined(__x86_64__) + base::StringAppendF(&os_cpu, "; Linux x86_64"); +#else + base::StringAppendF(&os_cp...
21.166667
75
0.685039
fb2fe2d8dc1a20e134b62b4b28f2096cef0e7054
2,212
cpp
C++
examples/tcp_server/client.cpp
jharmer95/rpc.hpp
8cba8ff7b63b28546d58bcf828ab93a9df03744e
[ "BSD-3-Clause" ]
1
2019-11-15T21:05:18.000Z
2019-11-15T21:05:18.000Z
examples/tcp_server/client.cpp
jharmer95/rpc.hpp
8cba8ff7b63b28546d58bcf828ab93a9df03744e
[ "BSD-3-Clause" ]
47
2019-11-15T20:58:44.000Z
2022-03-30T13:19:24.000Z
examples/tcp_server/client.cpp
jharmer95/rpc.hpp
8cba8ff7b63b28546d58bcf828ab93a9df03744e
[ "BSD-3-Clause" ]
null
null
null
#define RPC_HPP_CLIENT_IMPL #include "client.hpp" #include <iostream> #include <stdexcept> #include <string> int main(int argc, char* argv[]) { if (argc < 3) { std::cerr << "USAGE: rpc_client <server_ipv4> <port_num>\n"; return EXIT_FAILURE; } RpcClient client{ argv[1], argv[2] }; ...
28
97
0.5
fb30994a202bfeb9828de5ca268a6dab7bbc8898
1,851
cpp
C++
deps/icu4c/source/layout/TrimmedArrayProcessor2.cpp
alexhenrie/poedit
b9b31a111d9e8a84cf1e698aff2c922a79bdd859
[ "MIT" ]
1,155
2015-01-10T19:04:33.000Z
2022-03-30T12:30:30.000Z
deps/icu4c/source/layout/TrimmedArrayProcessor2.cpp
alexhenrie/poedit
b9b31a111d9e8a84cf1e698aff2c922a79bdd859
[ "MIT" ]
618
2015-01-02T01:39:26.000Z
2022-03-28T15:18:40.000Z
deps/icu4c/source/layout/TrimmedArrayProcessor2.cpp
alexhenrie/poedit
b9b31a111d9e8a84cf1e698aff2c922a79bdd859
[ "MIT" ]
228
2015-01-13T12:55:42.000Z
2022-03-30T11:11:05.000Z
/* * * (C) Copyright IBM Corp. and others 1998-2013 - All Rights Reserved * */ #include "LETypes.h" #include "MorphTables.h" #include "SubtableProcessor2.h" #include "NonContextualGlyphSubst.h" #include "NonContextualGlyphSubstProc2.h" #include "TrimmedArrayProcessor2.h" #include "LEGlyphStorage.h" #include "LESw...
31.913793
142
0.766613
fb340a6f0dc9961334a1fdffd26a1ea936070fc7
893
cpp
C++
code chef/Temple Land TEMPLELA adhoc .cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
1
2021-11-22T02:26:43.000Z
2021-11-22T02:26:43.000Z
code chef/Temple Land TEMPLELA adhoc .cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
null
null
null
code chef/Temple Land TEMPLELA adhoc .cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long ll; int main() { // freopen("in.txt", "r", stdin); // freopen("out.txt", "w", stdout); int t; cin>>t; int n; int ara[111]; while(t--) { int i; scanf("%d", &n); for(int i=1; i<...
16.849057
42
0.293393
fb34cb6914cc1384df3e55f5b72e6fd365cc4c18
353
cpp
C++
cpp/ss_example.cpp
jieyaren/hello-world
9fbc7d117b9aee98d748669646dd200c25a4122f
[ "WTFPL" ]
3
2021-11-12T09:20:21.000Z
2022-02-18T11:34:33.000Z
cpp/ss_example.cpp
jieyaren/hello-world
9fbc7d117b9aee98d748669646dd200c25a4122f
[ "WTFPL" ]
1
2021-03-08T03:23:04.000Z
2021-03-08T03:23:04.000Z
cpp/ss_example.cpp
jieyaren/hello-world
9fbc7d117b9aee98d748669646dd200c25a4122f
[ "WTFPL" ]
null
null
null
#include <iostream> #include <iomanip> #include <string> #include <sstream> using namespace std; int main() { stringstream ss; ss << "there are " << 9 << "apple in my cart"; cout << ss.str() << endl; ss.str(""); ss << showbase << hex << 16; cout << "ss = " << ss.str() << endl; ss.str(""); ss << 3.14; cout <...
16.809524
47
0.541076
fb364774eda945e18763b58742a6b965aa847895
1,196
cpp
C++
stl/pqueue_fns.cpp
Praneeth-rdy/cp-practice
26ef8beae3708a0867ed332d308743b990f0a68c
[ "MIT" ]
null
null
null
stl/pqueue_fns.cpp
Praneeth-rdy/cp-practice
26ef8beae3708a0867ed332d308743b990f0a68c
[ "MIT" ]
null
null
null
stl/pqueue_fns.cpp
Praneeth-rdy/cp-practice
26ef8beae3708a0867ed332d308743b990f0a68c
[ "MIT" ]
null
null
null
#include <iostream> #include <queue> using namespace std; int main(){ // declaring max pqueue priority_queue<int> maxpq; // declaring min pqueue // any container which supports the following opreations can be used to implement priority_queue // empty(), push_back(), size(), pop_back(), front() ...
26
100
0.668896
fb3a6a685fb315858b43119fbf797eac5c326813
2,575
cpp
C++
Vishv_GE/Framework/AI/Src/WorldIO.cpp
InFaNsO/Vishv_GameEngine
e721afa899fb8715e52cdd67c2656ba6cce7ffed
[ "MIT" ]
1
2021-12-19T02:06:12.000Z
2021-12-19T02:06:12.000Z
Vishv_GE/Framework/AI/Src/WorldIO.cpp
InFaNsO/Vishv_GameEngine
e721afa899fb8715e52cdd67c2656ba6cce7ffed
[ "MIT" ]
null
null
null
Vishv_GE/Framework/AI/Src/WorldIO.cpp
InFaNsO/Vishv_GameEngine
e721afa899fb8715e52cdd67c2656ba6cce7ffed
[ "MIT" ]
null
null
null
#include "Precompiled.h" #include "WorldIO.h" #include "World.h" namespace { std::string ToString(const Vishv::Math::Shapes::Capsule& cap) { std::string txt; txt += "Position: " + cap.mTransform.Position().ToString() + "\n"; txt += "Rotation: " + cap.mTransform.Rotation().ToString() + "\n"; txt += "Radius: "...
26.010101
78
0.609709
fb3c7db2c5f5eacc5dffc352ec7f72f84c430573
5,891
cpp
C++
extensions/opengl/examples/glpixmap/glbox.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
18
2018-02-16T16:57:26.000Z
2022-02-10T21:23:47.000Z
extensions/opengl/examples/glpixmap/glbox.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
2
2018-08-12T12:46:38.000Z
2020-06-19T16:30:06.000Z
extensions/opengl/examples/glpixmap/glbox.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
7
2018-06-22T01:17:58.000Z
2021-09-02T21:05:28.000Z
/**************************************************************************** ** $Id: glbox.cpp,v 1.1.2.3 1999/02/01 12:17:42 aavit Exp $ ** ** Implementation of GLBox ** This is a simple QGLWidget displaying a box ** ** The OpenGL code is mostly borrowed from Brian Pauls "spin" example ** in the Mesa distribution ** *...
24.143443
79
0.532337
fb3dea7527198b4818d176f7146d3dc90932d1be
3,279
cpp
C++
src/base/muduo/base/common/logfile.cpp
sbfhy/server1
b9597a3783a0f7bb929b4b9fa7f621c81740b056
[ "BSD-3-Clause" ]
null
null
null
src/base/muduo/base/common/logfile.cpp
sbfhy/server1
b9597a3783a0f7bb929b4b9fa7f621c81740b056
[ "BSD-3-Clause" ]
null
null
null
src/base/muduo/base/common/logfile.cpp
sbfhy/server1
b9597a3783a0f7bb929b4b9fa7f621c81740b056
[ "BSD-3-Clause" ]
null
null
null
#include "muduo/base/common/logfile.h" #include "muduo/base/common/logging.h" #include "muduo/base/common/file_util.h" #include "muduo/base/common/process_info.h" #include "define/define_new.h" #include <assert.h> #include <cstdio> #include <cstring> #include <ctime> #include <libgen.h> using namespace muduo; std::s...
21.715232
83
0.652028
fb41daf612b10ada62a4d52accc687895a383c62
8,237
cpp
C++
anet/test/sockettf.cpp
imyouxia/Source
624df9ffeb73d9ce918d5f7ef77bae6b9919e30a
[ "MIT" ]
115
2016-08-02T02:07:12.000Z
2022-03-04T01:44:13.000Z
anet/test/sockettf.cpp
EmpTan/Source
624df9ffeb73d9ce918d5f7ef77bae6b9919e30a
[ "MIT" ]
null
null
null
anet/test/sockettf.cpp
EmpTan/Source
624df9ffeb73d9ce918d5f7ef77bae6b9919e30a
[ "MIT" ]
46
2016-08-09T09:54:27.000Z
2021-03-05T10:47:55.000Z
#include <iostream> #include <string> #include "sockettf.h" #include <anet/anet.h> #include <unistd.h> #include <anet/serversocket.h> #include <anet/log.h> #include <signal.h> using namespace std; namespace anet { CPPUNIT_TEST_SUITE_REGISTRATION(SocketTF); class PlainConnectRunnable : public Runnable { public: voi...
34.902542
74
0.697098
fb43d9eaafd6fd2a5e12f061ca4e99e77d7e947f
3,617
cpp
C++
src/structures/congruence_atom.cpp
Ezibenroc/satsolver
5f58b8f9502090f05cbc2351304a289530b74f63
[ "MIT" ]
1
2017-11-29T00:46:23.000Z
2017-11-29T00:46:23.000Z
src/structures/congruence_atom.cpp
Ezibenroc/satsolver
5f58b8f9502090f05cbc2351304a289530b74f63
[ "MIT" ]
null
null
null
src/structures/congruence_atom.cpp
Ezibenroc/satsolver
5f58b8f9502090f05cbc2351304a289530b74f63
[ "MIT" ]
null
null
null
#include <sstream> #include <cassert> #include "structures/congruence_atom.h" #define CA theorysolver::CongruenceAtom #define SPCA std::shared_ptr<CA> using namespace theorysolver; Term::Term(unsigned int symbol_id) : type(Term::SYMBOL), symbol_id(symbol_id), function_name(), arguments() { } Term::Term(std::string ...
36.17
174
0.673763
fb440012eb7e1eb2fac399bc134e1987affba322
2,670
cpp
C++
tests/test.cpp
summersoul17/Lab-12-refactoring-summersoul
9d516191808f33ba41ce6ba7ecb2f4fea389f879
[ "MIT" ]
null
null
null
tests/test.cpp
summersoul17/Lab-12-refactoring-summersoul
9d516191808f33ba41ce6ba7ecb2f4fea389f879
[ "MIT" ]
null
null
null
tests/test.cpp
summersoul17/Lab-12-refactoring-summersoul
9d516191808f33ba41ce6ba7ecb2f4fea389f879
[ "MIT" ]
null
null
null
// Copyright 2020 Your Name <your_email> #include <gmock/gmock.h> #include <page_container.hpp> #include "stat_sender_test.hpp" #include <used_memory.hpp> TEST(MemoryUsage, MemUsingTest) { std::vector<std::string> old_raw_data{ "first" }, new_raw_data { "first", "second", "third", "fourth" }; used_me...
23.628319
68
0.693633
fb494cbd3333c238418b7175dbef8c17b8d67c33
179
cpp
C++
oj-noi-level1/1003.cpp
xiaji/noip-csp
7551478e848f3c3d2a4cc2d780d0efeedab67e6e
[ "MIT" ]
1
2021-02-22T03:40:59.000Z
2021-02-22T03:40:59.000Z
oj-noi-level1/1003.cpp
xiaji/noip-csp
7551478e848f3c3d2a4cc2d780d0efeedab67e6e
[ "MIT" ]
null
null
null
oj-noi-level1/1003.cpp
xiaji/noip-csp
7551478e848f3c3d2a4cc2d780d0efeedab67e6e
[ "MIT" ]
null
null
null
/* * guess number */ #include <iostream> using namespace std; int main() { int input; cin >> input; input *= 1001; input /= 7 * 11 * 13; cout << input; return 0; }
11.933333
23
0.564246
fb4a7a7be35a7eabb6eea80cd086885cc11ea557
2,633
hpp
C++
soccer/planning/primitives/PathSmoothing.hpp
kasohrab/robocup-software
73c92878baf960844b5a4b34c72804093f1ea459
[ "Apache-2.0" ]
null
null
null
soccer/planning/primitives/PathSmoothing.hpp
kasohrab/robocup-software
73c92878baf960844b5a4b34c72804093f1ea459
[ "Apache-2.0" ]
null
null
null
soccer/planning/primitives/PathSmoothing.hpp
kasohrab/robocup-software
73c92878baf960844b5a4b34c72804093f1ea459
[ "Apache-2.0" ]
null
null
null
#pragma once #include <Geometry2d/Point.hpp> #include "planning/MotionConstraints.hpp" namespace Planning { /** * @brief A spatial path with no time or angle information. */ class BezierPath { public: /** * @brief Construct a bezier path for a curve with a given velocity, going * through the specifi...
35.581081
80
0.642993
fb4dcc170a16c5da307f59ff76b5678ecc8f51b6
5,209
cpp
C++
src/node_id.cpp
syoummer/boost.actor
58f35499bac8871b8f5b0b024246a467b63c6fb0
[ "BSL-1.0" ]
2
2015-03-20T21:11:16.000Z
2020-01-20T08:05:41.000Z
src/node_id.cpp
syoummer/boost.actor
58f35499bac8871b8f5b0b024246a467b63c6fb0
[ "BSL-1.0" ]
null
null
null
src/node_id.cpp
syoummer/boost.actor
58f35499bac8871b8f5b0b024246a467b63c6fb0
[ "BSL-1.0" ]
null
null
null
/******************************************************************************\ * * * ____ _ _ _ * * | __ ) ___ ___ ___| |_ / \ ___| |_ ___ _ __ *...
32.761006
80
0.499136
fb4e3c7056c1607d4280b4d2aecb03f36860fcc7
3,355
cpp
C++
beowolf/graphics/DebugCube.cpp
JarateKing/Beowolf-Engine
b7ad1ed18ecb5ce7ca4e43d46ee96ed615300e85
[ "MIT" ]
3
2019-01-21T15:18:41.000Z
2020-04-16T18:21:29.000Z
beowolf/graphics/DebugCube.cpp
JarateKing/Beowolf-Engine
b7ad1ed18ecb5ce7ca4e43d46ee96ed615300e85
[ "MIT" ]
1
2020-03-10T18:22:08.000Z
2020-03-10T18:22:08.000Z
beowolf/graphics/DebugCube.cpp
JarateKing/Beowolf-Engine
b7ad1ed18ecb5ce7ca4e43d46ee96ed615300e85
[ "MIT" ]
1
2021-12-30T11:38:36.000Z
2021-12-30T11:38:36.000Z
#include "DebugCube.h" #include "W_RNG.h" #include "W_ResourceLoader.h" namespace wolf { static const Vertex cubeVertices[] = { // Front { -0.5f, -0.5f, 0.5f, 255, 0, 0, 255, 0.0f, 0.0f }, { -0.5f, 0.5f, 0.5f, 255, 0, 0, 255, 0.0f, 0.0f }, { 0.5f, 0.5f, 0.5f, 255, 0, 0, 255, 0.0f, 0.0f }, { 0.5f, 0...
33.888889
111
0.504918
fb523d08972668a1932853bee5cc8631a527f9ae
3,905
cpp
C++
tests/src/helpers/cyclicbuffertestcase.cpp
MacroGu/log4cxx_gcc_4_8
c6c82ee6dca2808c42cfa567d32f640a8bd9ac3e
[ "Apache-2.0" ]
1
2016-10-06T20:09:32.000Z
2016-10-06T20:09:32.000Z
tests/src/helpers/cyclicbuffertestcase.cpp
MacroGu/log4cxx_gcc_4_8
c6c82ee6dca2808c42cfa567d32f640a8bd9ac3e
[ "Apache-2.0" ]
null
null
null
tests/src/helpers/cyclicbuffertestcase.cpp
MacroGu/log4cxx_gcc_4_8
c6c82ee6dca2808c42cfa567d32f640a8bd9ac3e
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2003,2004 The Apache Software 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...
23.383234
75
0.644814
fb5636875fada244e2d08b484c0ab9880a342d4f
516
cpp
C++
Advanced_programmation2/bart-dx-engine-a17/D3DEngine/Camera.cpp
Bigbell01/Portfolio
ec094a7f96239904ddec9d090bcba2c044eb6119
[ "MIT" ]
null
null
null
Advanced_programmation2/bart-dx-engine-a17/D3DEngine/Camera.cpp
Bigbell01/Portfolio
ec094a7f96239904ddec9d090bcba2c044eb6119
[ "MIT" ]
null
null
null
Advanced_programmation2/bart-dx-engine-a17/D3DEngine/Camera.cpp
Bigbell01/Portfolio
ec094a7f96239904ddec9d090bcba2c044eb6119
[ "MIT" ]
null
null
null
#include "Camera.h" Camera::Camera(float width, float height) : up(0.f, -1.f, 0.f) , target(0.f, 0.f, 0.f) , width(width) , height(height) { } void Camera::Update() { D3DXMatrixLookAtLH(&view, &GetTransform()->GetPosition(), &target, &up); D3DXMatrixOrthoLH(&proj, width, height, 0.01f, 1000.0f); //D3DXMatrixPe...
21.5
78
0.684109
fb5999b595f1be057f00c9b3612db9300ea761cc
4,968
cpp
C++
oactobjs32/piadata/PiaTable.cpp
codeforboston/anypia-emscripten
d4d1d154bae6b97acc619d5588d9a7515d220338
[ "CC0-1.0" ]
1
2020-09-23T21:46:55.000Z
2020-09-23T21:46:55.000Z
oactobjs32/piadata/PiaTable.cpp
codeforboston/anypia-emscripten
d4d1d154bae6b97acc619d5588d9a7515d220338
[ "CC0-1.0" ]
16
2020-05-07T18:53:55.000Z
2021-03-24T03:16:29.000Z
oactobjs32/piadata/PiaTable.cpp
codeforboston/anypia-emscripten
d4d1d154bae6b97acc619d5588d9a7515d220338
[ "CC0-1.0" ]
6
2020-04-19T23:04:22.000Z
2021-03-17T01:40:10.000Z
// Functions for the <see cref="PiaTable"/> class to manage Pia Table pia // calculations. // $Id: PiaTable.cpp 1.45 2011/08/09 14:59:55EDT 044579 Development $ #include <fstream> #include <utility> // for rel_ops #include "PiaTable.h" #include "oactcnst.h" #include "PiaException.h" #include "piaparms.h" ...
33.567568
80
0.680354
fb5fe129bec2cb3a0dae0336ca0f4cebcca7a46b
136
cpp
C++
bin/maxPlugin/renElemPch.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
1
2018-04-01T16:47:52.000Z
2018-04-01T16:47:52.000Z
bin/maxPlugin/renElemPch.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
null
null
null
bin/maxPlugin/renElemPch.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
null
null
null
//////////////////////////////////////////////////////////////// // precompiled header for render elements // #include "renElemPch.h"
34
65
0.382353
fb60cb73416b98fa31239668e0c09f2b4179a8fb
1,453
cpp
C++
Blik2D/element/blik_vector.cpp
BonexGu/Blik2D
8e0592787e5c8e8a28682d0e1826b8223eae5983
[ "MIT" ]
13
2017-02-22T02:20:06.000Z
2018-06-06T04:18:03.000Z
Blik2D/element/blik_vector.cpp
BonexGu/Blik2D
8e0592787e5c8e8a28682d0e1826b8223eae5983
[ "MIT" ]
null
null
null
Blik2D/element/blik_vector.cpp
BonexGu/Blik2D
8e0592787e5c8e8a28682d0e1826b8223eae5983
[ "MIT" ]
null
null
null
#include <blik.hpp> #include "blik_vector.hpp" namespace BLIK { Vector::Vector() { x = 0; y = 0; vx = 0; vy = 0; } Vector::Vector(const Vector& rhs) { operator=(rhs); } Vector::Vector(float x, float y, float vx, float vy) { this->x = x;...
17.719512
74
0.461115
fb67c730b2abd3f5e99a285548babd7aeac2a417
9,248
cpp
C++
CPSC314/ass2/visual_studio_project/P2_demo/Solar.cpp
AmanSharma1997/school
60f19dce52f6fb8e416df73c924132da6ac7fa01
[ "BSD-3-Clause" ]
87
2016-09-07T06:25:59.000Z
2022-03-22T18:02:58.000Z
CPSC314/ass2/visual_studio_project/P2_demo/Solar.cpp
orklann/school
60f19dce52f6fb8e416df73c924132da6ac7fa01
[ "BSD-3-Clause" ]
null
null
null
CPSC314/ass2/visual_studio_project/P2_demo/Solar.cpp
orklann/school
60f19dce52f6fb8e416df73c924132da6ac7fa01
[ "BSD-3-Clause" ]
30
2015-03-22T19:07:37.000Z
2022-01-11T22:23:13.000Z
#include "Solar.h" Solar::Solar(void) { geo = false; DEG2RAD = 3.14159/180; velocity = 1; Mer = 0.0, Ven = 0.0, Ear = 0.0, Moo = 0.0, Moo2 = 0.0, Mar = 0.0, Jup = 0.0, Sat = 0.0, Ura = 0.0, Nep = 0.0, Plu = 0.0; shine[0] = 10; mooCol[0]=2.3, mooCol[1]=2.3, mooCol[2]=2.3; moo2Col[0]=0.93,moo2Col[1]=0.93,moo2Col[...
20.060738
122
0.610835
fb68ddbb789886ced35ddb552f4efd354717522c
250
cpp
C++
SandBox/src/SandBoxApp.cpp
EdwinAlkins/GameEngineCplusplus
b5e384b9078df553810e3d40f021bf8a0877d37d
[ "BSD-3-Clause" ]
null
null
null
SandBox/src/SandBoxApp.cpp
EdwinAlkins/GameEngineCplusplus
b5e384b9078df553810e3d40f021bf8a0877d37d
[ "BSD-3-Clause" ]
null
null
null
SandBox/src/SandBoxApp.cpp
EdwinAlkins/GameEngineCplusplus
b5e384b9078df553810e3d40f021bf8a0877d37d
[ "BSD-3-Clause" ]
null
null
null
#include <EdwinAlkinsGameEngine.h> class SandBox : public EdwinAlkinsGameEngine::Application{ public: SandBox() { } ~SandBox() { } }; EdwinAlkinsGameEngine::Application* EdwinAlkinsGameEngine::CreateApplication() { return new SandBox(); }
13.888889
80
0.74
fb6a9103018e519ff465f69fa6024c10161bce5e
4,099
cpp
C++
src/slider.cpp
bebuch/BitmapViewer
51259974e74859767982a363f419965e2396c513
[ "BSL-1.0" ]
null
null
null
src/slider.cpp
bebuch/BitmapViewer
51259974e74859767982a363f419965e2396c513
[ "BSL-1.0" ]
null
null
null
src/slider.cpp
bebuch/BitmapViewer
51259974e74859767982a363f419965e2396c513
[ "BSL-1.0" ]
null
null
null
//----------------------------------------------------------------------------- // Copyright (c) 2013-2018 Benjamin Buch // // https://github.com/bebuch/BitmapViewer // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.tx...
24.254438
79
0.647719
fb6ce7d99eb2d5d25919416dbe37b55aa1bdef92
431
hpp
C++
src/Client/Input/Window.hpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
10
2021-08-17T20:55:52.000Z
2022-03-28T00:45:14.000Z
src/Client/Input/Window.hpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
null
null
null
src/Client/Input/Window.hpp
fqhd/BuildBattle
f85ec857aa232313f4678514aa317af73c37de10
[ "MIT" ]
2
2021-07-05T18:49:56.000Z
2021-07-10T22:03:17.000Z
#pragma once #define GLFW_INCLUDE_NONE #include <GLFW/glfw3.h> #include <GL/glew.h> #include "Math.hpp" #include <iostream> class Window { public: static void create(unsigned int _width, unsigned int _height, const char* _title, bool _resizable = false, bool _decorated = true); static void clear(); static void up...
18.73913
132
0.737819
fb6e7c0d2ab5a845edea1b0f9228ef1f2c90694f
627
cpp
C++
pp4fpga_prefixsum and histogram/code_opt/histogram/histogram_opt1.cpp
nodetibylno/pp4fpga
41e4e56eeb2e89a302cdd58afc908cef8c6ae596
[ "Unlicense" ]
null
null
null
pp4fpga_prefixsum and histogram/code_opt/histogram/histogram_opt1.cpp
nodetibylno/pp4fpga
41e4e56eeb2e89a302cdd58afc908cef8c6ae596
[ "Unlicense" ]
null
null
null
pp4fpga_prefixsum and histogram/code_opt/histogram/histogram_opt1.cpp
nodetibylno/pp4fpga
41e4e56eeb2e89a302cdd58afc908cef8c6ae596
[ "Unlicense" ]
null
null
null
#include "histogram.h" void histogram_opt(int in[INPUT_SIZE], int hist[VALUE_SIZE]) { int acc = 0; int i, val; int in_buf[INPUT_SIZE], hist_buf[VALUE_SIZE]; for(i = 0; i < INPUT_SIZE; i++) { #pragma HLS PIPELINE II=1 in_buf[i] = in[i]; } int old = in_buf[0]; loop0: for(i = 0; i < INPUT_SIZE; i++) {...
18.441176
62
0.555024
fb6fe183a30f3e60890aa5a7b51901f3d26e5b6a
37,669
cpp
C++
src/main_modif.cpp
AndreiCostinescu/openpose-darknet
155844f16a857bab43792797fff26738b54819c1
[ "MIT" ]
null
null
null
src/main_modif.cpp
AndreiCostinescu/openpose-darknet
155844f16a857bab43792797fff26738b54819c1
[ "MIT" ]
null
null
null
src/main_modif.cpp
AndreiCostinescu/openpose-darknet
155844f16a857bab43792797fff26738b54819c1
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <thread> #include <tuple> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <librealsense2/rs.hpp> // rs.h is for C; rs.hpp is for C++... #include <DarknetNet.h> #include <darknet/images/image_opencv...
42.467869
128
0.502243
fb81584a0290e80a06d56da0f6fd5d9c007ca880
1,980
cpp
C++
src/core/sample.cpp
BiRDLab-UMinho/trignoclient
507351e818b37199aa00aefedb124885dda1ea98
[ "MIT" ]
null
null
null
src/core/sample.cpp
BiRDLab-UMinho/trignoclient
507351e818b37199aa00aefedb124885dda1ea98
[ "MIT" ]
null
null
null
src/core/sample.cpp
BiRDLab-UMinho/trignoclient
507351e818b37199aa00aefedb124885dda1ea98
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <iostream> #include <cstring> // std::memcpy #include "core/sample.hpp" // trigno::sample::ID namespace trigno { Sample::Sample(sensor::ID id, size_t n_channels, const char* raw_data) : _id(id), _data(n_channels) { /* ... */ if (raw_data !...
16.923077
91
0.589394
fb81d82969cfe6877be8c84fb2a33d590bef3de3
4,050
cpp
C++
src/HoursMinutes.cpp
hartogjr/timecal
2c4607947b03a6fa8ee82fd3eeb6e2dc36cdd93b
[ "BSD-3-Clause" ]
null
null
null
src/HoursMinutes.cpp
hartogjr/timecal
2c4607947b03a6fa8ee82fd3eeb6e2dc36cdd93b
[ "BSD-3-Clause" ]
null
null
null
src/HoursMinutes.cpp
hartogjr/timecal
2c4607947b03a6fa8ee82fd3eeb6e2dc36cdd93b
[ "BSD-3-Clause" ]
null
null
null
/* BSD 3-Clause License * * Copyright (c) 2020, Simon de Hartog <simon@dehartog.name> * 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 ...
27.739726
92
0.675062
fb8329526b43d2615bd1cedcaf9f5ab374b45723
3,592
hpp
C++
src/verbatim_vertex_buffer.hpp
trilkk/faemiyah-demoscene_2015-04_64k-intro_junamatkailuintro
fdd055871a95f99c9162bced542e6d08be47f7e8
[ "BSD-3-Clause" ]
2
2015-05-25T02:22:41.000Z
2015-10-06T17:39:55.000Z
src/verbatim_vertex_buffer.hpp
faemiyah/faemiyah-demoscene_2015-04_64k-intro_junamatkailuintro
fdd055871a95f99c9162bced542e6d08be47f7e8
[ "BSD-3-Clause" ]
null
null
null
src/verbatim_vertex_buffer.hpp
faemiyah/faemiyah-demoscene_2015-04_64k-intro_junamatkailuintro
fdd055871a95f99c9162bced542e6d08be47f7e8
[ "BSD-3-Clause" ]
null
null
null
#ifndef VERBATIM_VERTEX_BUFFER #define VERBATIM_VERTEX_BUFFER #include "verbatim_array.hpp" #include "verbatim_vertex.hpp" // Forward declaration. class Program; /** Vertex buffer. */ class VertexBuffer { private: /** Current vertex buffer. */ static const VertexBuffer* g_bound_vertex_buffer; /** Cur...
20.067039
102
0.587695
fb86376e6ae741650d8de5fa5d2b561ba273006b
821
cpp
C++
src/homework/01_variables/main.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-derekoko
437f55150491c2b89eb4ef730ac73d55a6ed07a2
[ "MIT" ]
null
null
null
src/homework/01_variables/main.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-derekoko
437f55150491c2b89eb4ef730ac73d55a6ed07a2
[ "MIT" ]
null
null
null
src/homework/01_variables/main.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-derekoko
437f55150491c2b89eb4ef730ac73d55a6ed07a2
[ "MIT" ]
null
null
null
//write include statements #include"variables.h" //write namespace using statement for cout using std::cin; using std::cout; /* Call multiply_numbers with 10 and 10 parameter values and display function result */ int main() { double meal_amount; double tip_rate; double tip_amount; double tax_amount; double tot...
22.189189
81
0.713764
fb89a1953bc4610bc385e74a72e348ffbd2d2d3c
6,080
cc
C++
src/tlv.cc
kisom/klogger
f020356a894978579dc17fbb37cc81b515b86341
[ "MIT" ]
null
null
null
src/tlv.cc
kisom/klogger
f020356a894978579dc17fbb37cc81b515b86341
[ "MIT" ]
null
null
null
src/tlv.cc
kisom/klogger
f020356a894978579dc17fbb37cc81b515b86341
[ "MIT" ]
null
null
null
/* * Copyright (c) 2016 K. Isom <coder@kyleisom.net> * * Permission is hereby granted, free of charge, to any person obtaining a copy * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, ...
19.74026
79
0.639967
fb8dfdff0a5ce1a0d6951b35bf37fef581793740
3,865
cpp
C++
src/graphics/graphicstool.cpp
quizzmaster/chemkit
803e4688b514008c605cb5c7790f7b36e67b68fc
[ "BSD-3-Clause" ]
34
2015-01-24T23:59:41.000Z
2020-11-12T13:48:01.000Z
src/graphics/graphicstool.cpp
soplwang/chemkit
d62b7912f2d724a05fa8be757f383776fdd5bbcb
[ "BSD-3-Clause" ]
4
2015-12-28T20:29:16.000Z
2016-01-26T06:48:19.000Z
src/graphics/graphicstool.cpp
soplwang/chemkit
d62b7912f2d724a05fa8be757f383776fdd5bbcb
[ "BSD-3-Clause" ]
17
2015-01-23T14:50:24.000Z
2021-06-10T15:43:50.000Z
/****************************************************************************** ** ** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com> ** All rights reserved. ** ** This file is a part of the chemkit project. For more information ** see <http://www.chemkit.org>. ** ** Redistribution and use in source and binar...
31.422764
79
0.647348
fb8f7882f0a2584cc00c2e975e9f7bbb17b6914f
679
hpp
C++
TinySandbox/src/GLFW_Windows.hpp
yanagiragi/TinySandbox
71c46d293535d8584edfa203e3b60d1d26982d2f
[ "MIT" ]
null
null
null
TinySandbox/src/GLFW_Windows.hpp
yanagiragi/TinySandbox
71c46d293535d8584edfa203e3b60d1d26982d2f
[ "MIT" ]
null
null
null
TinySandbox/src/GLFW_Windows.hpp
yanagiragi/TinySandbox
71c46d293535d8584edfa203e3b60d1d26982d2f
[ "MIT" ]
null
null
null
#pragma once #include "Windows.hpp" #include <GLFW/glfw3.h> #include <functional> void framebuffer_size_callback(GLFWwindow* window, int width, int height); void ProcessInput(GLFWwindow *window); namespace TinySandbox { class GLFW_Windows : public Windows { public: GLFW_Windows(); GLFW_Windows(int width...
22.633333
103
0.717231
fb903c1742ac6f9e4c4b351b8e66212743bfb982
3,098
cpp
C++
emitter/riscv/riscvannot_printer.cpp
nandor/genm-opt
b3347d508fff707837d1dc8232487ebfe157fe2a
[ "MIT" ]
13
2020-06-25T18:26:54.000Z
2021-02-16T03:14:38.000Z
emitter/riscv/riscvannot_printer.cpp
nandor/genm-opt
b3347d508fff707837d1dc8232487ebfe157fe2a
[ "MIT" ]
3
2020-07-01T01:39:47.000Z
2022-01-24T23:47:12.000Z
emitter/riscv/riscvannot_printer.cpp
nandor/genm-opt
b3347d508fff707837d1dc8232487ebfe157fe2a
[ "MIT" ]
2
2021-03-11T05:08:09.000Z
2021-07-17T23:36:17.000Z
// This file if part of the llir-opt project. // Licensing information can be found in the LICENSE file. // (C) 2018 Nandor Licker. All rights reserved. #include <sstream> #include <llvm/Target/RISCV/RISCVInstrInfo.h> #include <llvm/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.h> #include "emitter/riscv/riscvannot_pr...
30.98
80
0.529051
651e7fd08deaafa93314db5fbb4c11ee3e139a7c
3,257
cc
C++
be/src/exec/parquet-common.cc
twmarshall/impala
bdd904922a220c37326928ac674779acaef5f6fa
[ "Apache-2.0" ]
1
2019-12-14T03:09:50.000Z
2019-12-14T03:09:50.000Z
be/src/exec/parquet-common.cc
twmarshall/impala
bdd904922a220c37326928ac674779acaef5f6fa
[ "Apache-2.0" ]
null
null
null
be/src/exec/parquet-common.cc
twmarshall/impala
bdd904922a220c37326928ac674779acaef5f6fa
[ "Apache-2.0" ]
null
null
null
// 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 you under the Apache License, Version 2.0 (the // "License"); you may...
35.402174
83
0.753454
65201e989d10d77f9dfcfecc527d957232c2fa49
25,386
cpp
C++
ODFAEG/src/odfaeg/Graphics/GUI/filedialog.cpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
null
null
null
ODFAEG/src/odfaeg/Graphics/GUI/filedialog.cpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
1
2020-02-14T14:19:44.000Z
2020-12-04T17:39:17.000Z
ODFAEG/src/odfaeg/Graphics/GUI/filedialog.cpp
Mechap/ODFAEG
ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40
[ "Zlib" ]
2
2021-05-23T13:45:28.000Z
2021-07-24T13:36:13.000Z
#include "../../../../include/odfaeg/Graphics/GUI/filedialog.hpp" #include "../../../../include/odfaeg/Math/maths.h" #include <filesystem> namespace odfaeg { namespace graphic { namespace gui { FileDialog::FileDialog(math::Vec3f position, math::Vec3f size, const Font* font) : rw(sf::...
59.174825
183
0.430986
65268449db5d310967a2853f69e9940460ebe922
1,271
cpp
C++
Mragpp/Paths.cpp
codecat/MragPP
96c1c5474ea552f364e6c04da7cc72923fdade0a
[ "MIT" ]
1
2017-06-26T20:44:44.000Z
2017-06-26T20:44:44.000Z
Mragpp/Paths.cpp
codecat/MragPP
96c1c5474ea552f364e6c04da7cc72923fdade0a
[ "MIT" ]
null
null
null
Mragpp/Paths.cpp
codecat/MragPP
96c1c5474ea552f364e6c04da7cc72923fdade0a
[ "MIT" ]
null
null
null
#include "StdH.h" #include "Paths.h" MRAGPP_NAMESPACE_BEGIN; CPaths::CPaths() { ps_iIterator = 0; } CPaths::~CPaths() { ps_aPaths.Clear(); } CPath& CPaths::Create(const Vector2f &vPos1, const Vector2f &vPos2, int iTotalFrameCount, mragPathsOnUpdateFunction onUpdate, mragPathsOnFinishFunction onFinish) { CPa...
22.298246
89
0.721479
65292232ffd58a136fbded3f7dca65106452dc4d
5,051
cpp
C++
src/nao_speech.cpp
sheosi/nao_auto_bridge
d5593219abacc56684c537f042d24ef89fcc94d3
[ "BSD-3-Clause" ]
null
null
null
src/nao_speech.cpp
sheosi/nao_auto_bridge
d5593219abacc56684c537f042d24ef89fcc94d3
[ "BSD-3-Clause" ]
null
null
null
src/nao_speech.cpp
sheosi/nao_auto_bridge
d5593219abacc56684c537f042d24ef89fcc94d3
[ "BSD-3-Clause" ]
null
null
null
#include "nao_auto_bridge.h" #include <boost/algorithm/string/join.hpp> #include <iostream> #include <vector> #include <ros/ros.h> #include <actionlib/server/simple_action_server.h> #include <naoqi_bridge_msgs/SpeechWithFeedbackAction.h> #include <naoqi_bridge_msgs/SetSpeechVocabularyAction.h> #include <naoqi_bridge_...
35.076389
165
0.703623
652d3e39002c919df906a77e8bbecd68705eaaa1
141,050
cpp
C++
src/editor.cpp
TijmenUU/VVVVVV
ce6c07c800f3dce98e0bd40f32311b98a01a4cd6
[ "RSA-MD" ]
null
null
null
src/editor.cpp
TijmenUU/VVVVVV
ce6c07c800f3dce98e0bd40f32311b98a01a4cd6
[ "RSA-MD" ]
null
null
null
src/editor.cpp
TijmenUU/VVVVVV
ce6c07c800f3dce98e0bd40f32311b98a01a4cd6
[ "RSA-MD" ]
null
null
null
#include <Entity.hpp> #include <Graphics.hpp> #include <KeyPoll.hpp> #include <Map.hpp> #include <Music.hpp> #include <Script.hpp> #include <editor.hpp> //#include "UtilityClass.h" #include <Enums.hpp> #include <FileSystemUtils.hpp> #include <ctime> #include <string> #include <tinyxml/tinyxml.hpp> edlevelclass::edleve...
23.717841
171
0.540716
652ea7d3b537e73f69adb502881ab69f22a61727
490
cpp
C++
EU4toV2/Source/Mappers/FactoryTypes/FactoryTypeInputs.cpp
GregB76/EU4toVic2
0a8822101a36a16036fdc315e706d113d9231101
[ "MIT" ]
1
2020-10-03T16:01:28.000Z
2020-10-03T16:01:28.000Z
EU4toV2/Source/Mappers/FactoryTypes/FactoryTypeInputs.cpp
P4blo7/EU4toVic2
3f6d354a1f5e529f3d96b3616fe5109bc23f2972
[ "MIT" ]
null
null
null
EU4toV2/Source/Mappers/FactoryTypes/FactoryTypeInputs.cpp
P4blo7/EU4toVic2
3f6d354a1f5e529f3d96b3616fe5109bc23f2972
[ "MIT" ]
null
null
null
#include "FactoryTypeInputs.h" #include "ParserHelpers.h" mappers::FactoryTypeInputs::FactoryTypeInputs(std::istream& theStream) { registerRegex("[a-z_]+", [this](const std::string& inputGood, std::istream& theStream) { const commonItems::singleDouble inputValue(theStream); productionInputValues.insert(std::m...
30.625
87
0.746939
6531c48161494a299204e96901484ac2c847b15e
192
cpp
C++
Statistics.cpp
1-gcc/Loup
ff0d54b4b068e68d39dcd9a4d92ed9fcdb9c6f09
[ "MIT" ]
null
null
null
Statistics.cpp
1-gcc/Loup
ff0d54b4b068e68d39dcd9a4d92ed9fcdb9c6f09
[ "MIT" ]
null
null
null
Statistics.cpp
1-gcc/Loup
ff0d54b4b068e68d39dcd9a4d92ed9fcdb9c6f09
[ "MIT" ]
null
null
null
// Statistics.cpp // (C) Copyright 2017 by Martin Brunn see License.txt for details // #include "Statistics.h" Statistics::Statistics() { } Statistics::~Statistics() { }
12
67
0.630208
6531cee17f6edf825b268b8cdb3818864fc97781
321
cpp
C++
delete_free/main.cpp
VgTajdd/cpp_playground
d13c198952782a96cccdd35504abd8c915128e19
[ "MIT" ]
2
2019-12-18T12:20:12.000Z
2021-08-02T00:16:17.000Z
delete_free/main.cpp
VgTajdd/cpp_playground
d13c198952782a96cccdd35504abd8c915128e19
[ "MIT" ]
null
null
null
delete_free/main.cpp
VgTajdd/cpp_playground
d13c198952782a96cccdd35504abd8c915128e19
[ "MIT" ]
null
null
null
// free(): is C method (Is it necessary to use C in your C++ app?) // delete: is C++ operator int main() { int* a = new int[5]; a[4] = 4; int* b = a; //free( a ); // It works but is necessary to include stdlib.h //free( b ); //delete a[]; // It works. delete[] b; // It works. __debugbreak(); return 0; ...
16.894737
67
0.557632
6531eff7da7e2206e904fd0577e38bbb47b142e1
836
hpp
C++
include/architect/clang.hpp
KoltesDigital/architect.cpp
97d1225a89887624ad467f602d6f6468410c49ab
[ "MIT" ]
2
2018-07-02T01:47:31.000Z
2019-12-14T23:53:02.000Z
include/architect/clang.hpp
Bloutiouf/architect.cpp
97d1225a89887624ad467f602d6f6468410c49ab
[ "MIT" ]
null
null
null
include/architect/clang.hpp
Bloutiouf/architect.cpp
97d1225a89887624ad467f602d6f6468410c49ab
[ "MIT" ]
null
null
null
#pragma once #ifdef ARCHITECT_CLANG_SUPPORT #include <functional> #include <string> typedef struct CXTranslationUnitImpl *CXTranslationUnit; namespace architect { class Registry; namespace clang { typedef std::function<bool(const std::string &)> Filter; struct Parameters { Filter filter; // returns whe...
19.44186
113
0.727273
6532f9844d9f1887eeda5e8bdb0ee88a38a732fb
2,609
cpp
C++
src/Popup.cpp
LeandreBl/sfml-scene
3fb0d1167f1585c0c82775a23b44df46ec7378d5
[ "Apache-2.0" ]
2
2020-12-10T20:22:17.000Z
2020-12-10T20:23:35.000Z
src/Popup.cpp
LeandreBl/sfml-scene
3fb0d1167f1585c0c82775a23b44df46ec7378d5
[ "Apache-2.0" ]
null
null
null
src/Popup.cpp
LeandreBl/sfml-scene
3fb0d1167f1585c0c82775a23b44df46ec7378d5
[ "Apache-2.0" ]
null
null
null
#include "Popup.hpp" #include "Colors.hpp" namespace sfs { Popup::Popup(Scene &scene, const sf::Font &font, const sf::Vector2f &position) noexcept : UI(scene, "Popup", position) , _box(addComponent<Rectangle>()) , _text(addComponent<Text>(font, "", sf::Color::Black)) , _queue() , _elapsed(0.f) { } void Popup::up...
19.765152
87
0.661173
6533f5f298c27ffe512cd2e2f97d372d32e08f23
1,240
cpp
C++
src/Preprocessor.cpp
m87/backpack-tracker
090978d24a60d9490c09f1a8d892a21d7f4f3126
[ "Apache-2.0" ]
null
null
null
src/Preprocessor.cpp
m87/backpack-tracker
090978d24a60d9490c09f1a8d892a21d7f4f3126
[ "Apache-2.0" ]
null
null
null
src/Preprocessor.cpp
m87/backpack-tracker
090978d24a60d9490c09f1a8d892a21d7f4f3126
[ "Apache-2.0" ]
null
null
null
#include "Preprocessor.h" Preprocessor::Preprocessor(std::string file) : _cap(new cv::VideoCapture(file)) { MEMORY("Preprocessor created"); if(!_cap->isOpened()) throw GenericException(GenericException::CAP_NOT_OPENED); } Preprocessor::~Preprocessor() { MEMORY("Preprocessor deleted"); } bool Pre...
23.846154
90
0.617742
6538aefc1735917cb09946b87626359048bf4a17
571
cpp
C++
memory/builtins/functions/internalFunctions/Print.cpp
Savioor/NotPython
512d5feba6d6efb960d38adc98d2bd5ec7d3db3b
[ "Apache-2.0" ]
2
2019-11-17T22:38:23.000Z
2020-05-28T09:28:26.000Z
memory/builtins/functions/internalFunctions/Print.cpp
Savioor/NotPython
512d5feba6d6efb960d38adc98d2bd5ec7d3db3b
[ "Apache-2.0" ]
null
null
null
memory/builtins/functions/internalFunctions/Print.cpp
Savioor/NotPython
512d5feba6d6efb960d38adc98d2bd5ec7d3db3b
[ "Apache-2.0" ]
null
null
null
// // Created by USER on 6/1/2020. // #include <iostream> #include "Print.h" #include "../../PyVariable.h" #include "../../primitive/PyString.h" #include "../../../MemoryManager.h" PyClass *Print::process(std::map<std::string, PyClass *> &map) { const PyString* asStr = map["data"]->asString(); if (asStr == nu...
25.954545
69
0.598949
6539554ea836c0fd3caecb6811692e2324946b42
10,355
cpp
C++
src/MinConsoleNative/CellRenderer.cpp
OpenGreatDream/Console
205a6802c6d12d322fa66c91fa7baa3e38e8d6c1
[ "MIT" ]
5
2021-04-11T17:32:45.000Z
2021-09-16T18:27:58.000Z
src/MinConsoleNative/CellRenderer.cpp
OpenGreatDream/MinConsole
4adc9e5574c77985488d22528ee318a1f62649b0
[ "MIT" ]
4
2021-05-01T10:22:14.000Z
2021-05-05T11:20:34.000Z
src/MinConsoleNative/CellRenderer.cpp
OpenGreatDream/Console
205a6802c6d12d322fa66c91fa7baa3e38e8d6c1
[ "MIT" ]
null
null
null
#include "CellRenderer.hpp" #include "String.hpp" #include "TextLayout.hpp" #include "VTConverter.hpp" #include <string> using namespace std; namespace MinConsoleNative { CellRenderer::CellRenderer(int consoleWidth, int consoleHeight, CellRendererMode mode) { this->consoleWidth = consoleWidth; ...
38.210332
307
0.538098
653b53055a56822d2126e130ad93f87441fe3d70
817
cpp
C++
I8086CL/I8086CL.cpp
koutheir/i8086sim
c47fe1ad1cfe8121a7cd6c66f673097c283d2af6
[ "BSD-3-Clause" ]
3
2018-08-25T00:03:42.000Z
2020-01-06T12:37:04.000Z
I8086CL/I8086CL.cpp
koutheir/i8086sim
c47fe1ad1cfe8121a7cd6c66f673097c283d2af6
[ "BSD-3-Clause" ]
null
null
null
I8086CL/I8086CL.cpp
koutheir/i8086sim
c47fe1ad1cfe8121a7cd6c66f673097c283d2af6
[ "BSD-3-Clause" ]
null
null
null
#include <windows.h> BOOL APIENTRY wWinMain(HINSTANCE, HINSTANCE, LPTSTR, int) { int argc; wchar_t **argv = CommandLineToArgvW(GetCommandLineW(), &argc); if (argc < 4) return ERROR_INVALID_PARAMETER; DWORD nErr=ERROR_SUCCESS, nParentID = (DWORD)_wtol(argv[1]); HANDLE hList[2] = { OpenProcess(SY...
22.694444
84
0.667075
653ba5cc16c9453cb55af179bff0c153d989a2c8
24,644
cxx
C++
src/runtime_src/tools/xclbinutil/SectionAIEPartition.cxx
bryanloz-xilinx/XRT
8de6bc04f7060c8272cbb7857531335f1aa31099
[ "Apache-2.0" ]
null
null
null
src/runtime_src/tools/xclbinutil/SectionAIEPartition.cxx
bryanloz-xilinx/XRT
8de6bc04f7060c8272cbb7857531335f1aa31099
[ "Apache-2.0" ]
null
null
null
src/runtime_src/tools/xclbinutil/SectionAIEPartition.cxx
bryanloz-xilinx/XRT
8de6bc04f7060c8272cbb7857531335f1aa31099
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2022 Advanced Micro Devices, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"). You may * not use this file except in compliance with the License. A copy of the * License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
36.02924
158
0.646689
653fa5e0e418f3ee481bfbcf8b1ccdb258d914ec
2,144
cpp
C++
tests/cthread/test_reset_noninit_read.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
86
2020-10-23T15:59:47.000Z
2022-03-28T18:51:19.000Z
tests/cthread/test_reset_noninit_read.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
18
2020-12-14T13:11:26.000Z
2022-03-14T05:34:20.000Z
tests/cthread/test_reset_noninit_read.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
17
2020-10-29T16:19:43.000Z
2022-03-11T09:51:05.000Z
/****************************************************************************** * Copyright (c) 2020, Intel Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception. * *****************************************************************************/ #include "systemc.h" #include <sc...
20.815534
79
0.392257
6546b8d70b2c6680eac41aa85509505cf440f21b
1,104
cpp
C++
acmicpc/14449.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/14449.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/14449.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
#include <iostream> #include <algorithm> #include <vector> using namespace std; class Segment { public: int len; vector<long long> tree; Segment(int n) : len(n) { tree.resize(2*n); } void make() { for (int i=len-1; i>0; i--) tree[i] = (tree[i*2] + tree[i*2+1]); } void update(int i, int val) { i += le...
14.526316
46
0.501812
65477db4b984d744b495e5d49343c820f669894d
621
cpp
C++
sim/plugin/micro_hal_control_plugin.cpp
R4stl1n/spot-micro-hal
f592e1d9f7e3e5a0d1783688a5339bcdc0b12e99
[ "MIT" ]
2
2022-02-13T09:26:26.000Z
2022-02-19T01:54:18.000Z
sim/plugin/micro_hal_control_plugin.cpp
R4stl1n/micro-hal
f592e1d9f7e3e5a0d1783688a5339bcdc0b12e99
[ "MIT" ]
null
null
null
sim/plugin/micro_hal_control_plugin.cpp
R4stl1n/micro-hal
f592e1d9f7e3e5a0d1783688a5339bcdc0b12e99
[ "MIT" ]
null
null
null
#include <string> #include <memory> #include <utility> #include <vector> #include "include/micro_hal_control_plugin.h" using namespace std::chrono_literals; namespace micro_hal_control { MicroHalControlPlugin::MicroHalControlPlugin() { printf("Hello World!\n"); }; MicroHalControlPlugin::~MicroH...
24.84
93
0.742351
6548f6c55271d48e71e07382db71dd153efca912
559
cc
C++
src/auth.cc
watersalesman/BeastQuest
7622ce59a87c79cabbc7efee77d17866ab626b40
[ "MIT" ]
1
2019-10-31T12:41:42.000Z
2019-10-31T12:41:42.000Z
src/auth.cc
watersalesman/BeastQuest
7622ce59a87c79cabbc7efee77d17866ab626b40
[ "MIT" ]
null
null
null
src/auth.cc
watersalesman/BeastQuest
7622ce59a87c79cabbc7efee77d17866ab626b40
[ "MIT" ]
null
null
null
#include "beastquest/auth.hh" #include <boost/beast.hpp> #include <string> namespace detail = boost::beast::detail; namespace quest { BasicAuth::BasicAuth(std::string username, std::string password) : username_{std::move(username)}, password_{std::move(password)}, auth_string_("Basic " + ...
29.421053
78
0.692308
65490c281c0ad50b3926840de0dd526a144466c3
27,492
hpp
C++
dmp/openCV_dmp.hpp
klaricmn/snippets
a1ae04c13a2209dee013284358d2d987bb0fb4fc
[ "MIT" ]
null
null
null
dmp/openCV_dmp.hpp
klaricmn/snippets
a1ae04c13a2209dee013284358d2d987bb0fb4fc
[ "MIT" ]
null
null
null
dmp/openCV_dmp.hpp
klaricmn/snippets
a1ae04c13a2209dee013284358d2d987bb0fb4fc
[ "MIT" ]
null
null
null
#ifndef _OPENCV_DMP_HPP_ #define _OPENCV_DMP_HPP_ #include <vector> #include <opencv2/core/core.hpp> #include <boost/filesystem.hpp> #include <limits> #include <map> #include <set> #include <list> #include <vector> #include <stdexcept> #include <opencv2/imgproc/imgproc.hpp> //for DEBUG //#include <opencv2/highgui/h...
36.317041
148
0.658337
654bc48e35c6d43864f860a1bb44b802a040c7d1
2,291
cpp
C++
Pimple/CPointerToImplementation.cpp
infojg9/CDesignPatterns
8e9025c2ec93210d4c6e294a726302c9efc6b94d
[ "MIT" ]
null
null
null
Pimple/CPointerToImplementation.cpp
infojg9/CDesignPatterns
8e9025c2ec93210d4c6e294a726302c9efc6b94d
[ "MIT" ]
null
null
null
Pimple/CPointerToImplementation.cpp
infojg9/CDesignPatterns
8e9025c2ec93210d4c6e294a726302c9efc6b94d
[ "MIT" ]
null
null
null
/* * \file CPointerToImplementation.cpp * \author https://github.com/infojg9 * \brief An example of the PIMPL Design / Pointer to Implementation. * \copyright MIT/BSD Redistributable License */ #include "CPointerToImplementation.h" #include <iostream> #ifdef _WIN32 #include <windows.h> #else #includ...
23.618557
84
0.730249
654fcf199103e19bfe2d2396fd21c110466e72ce
3,694
hpp
C++
include/http_session.hpp
helderthh/imgwriter
60877cfa883faf3f0824c2328a75414c41b7110f
[ "Apache-2.0" ]
null
null
null
include/http_session.hpp
helderthh/imgwriter
60877cfa883faf3f0824c2328a75414c41b7110f
[ "Apache-2.0" ]
null
null
null
include/http_session.hpp
helderthh/imgwriter
60877cfa883faf3f0824c2328a75414c41b7110f
[ "Apache-2.0" ]
null
null
null
#ifndef __HTTP_SESSION_H__ #define __HTTP_SESSION_H__ #include <memory> #include <iostream> #include <boost/beast/core.hpp> #include <boost/beast/http.hpp> #include <boost/beast/version.hpp> #include <boost/asio/bind_executor.hpp> #include <boost/asio/ip/tcp.hpp> #include <boost/asio/strand.hpp> #include <boost/prope...
25.30137
84
0.641581
655173af20362868fcf825b3926a1482336f67a4
9,104
cpp
C++
TCPManager.cpp
Stefania12/Client-Server-Subscription
941ba8615fcf2451d4851f439a7496b325018639
[ "MIT" ]
null
null
null
TCPManager.cpp
Stefania12/Client-Server-Subscription
941ba8615fcf2451d4851f439a7496b325018639
[ "MIT" ]
null
null
null
TCPManager.cpp
Stefania12/Client-Server-Subscription
941ba8615fcf2451d4851f439a7496b325018639
[ "MIT" ]
null
null
null
#include "TCPManager.h" TCPManager* TCPManager::instance = nullptr; TCPManager::TCPManager() { } TCPManager::~TCPManager() { for (std::string id : online_subscribers) close(subscribers_by_id[id]); close(listen_fd); } TCPManager* TCPManager::get_instance() { if (!instance) instance = new ...
27.504532
80
0.591608
65535ec28ff3a9b60c2b939e31ac6f4408c4bc75
823
hpp
C++
P_Persistent_Data.VR/Perseus/Interface/Meta.hpp
OurousNET/arma-never-forgets
9c27a233892cf884c7e002d3082226a3f85b1dc0
[ "MIT" ]
null
null
null
P_Persistent_Data.VR/Perseus/Interface/Meta.hpp
OurousNET/arma-never-forgets
9c27a233892cf884c7e002d3082226a3f85b1dc0
[ "MIT" ]
null
null
null
P_Persistent_Data.VR/Perseus/Interface/Meta.hpp
OurousNET/arma-never-forgets
9c27a233892cf884c7e002d3082226a3f85b1dc0
[ "MIT" ]
null
null
null
#ifndef _PERSEUS_META #define _PERSEUS_META #define ANIM_BUTTON_PREAMBLE disableSerialization;_ctrl=_this select 0;if(ctrlEnabled _ctrl)then{ #define ANIM_BUTTON_HELPER_0(ARG) ANIM_BUTTON_PREAMBLE _ctrl ctrlSetText 'Perseus\Interface\Textures\##ARG##.paa';}; #define ANIM_BUTTON_HELPER_1(ARG) ANIM_BUTTON_PREAMBLE if([...
58.785714
293
0.82503
6556f4983bc032317b66cc62684efb4da9ef46a1
106
cpp
C++
Engine/Source/Runtime/Core/Private/Misc/Exec.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/Core/Private/Misc/Exec.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/Core/Private/Misc/Exec.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "Misc/Exec.h" FExec::~FExec() { }
13.25
60
0.679245
65574902b30d43ae2e1fd8b7957f113e08eb03f7
1,512
cpp
C++
src/PihaDeviceProvider.cpp
jbitoniau/Piha
9f346066bf09a93abc5753b5dd996c7f598c9d38
[ "MIT" ]
null
null
null
src/PihaDeviceProvider.cpp
jbitoniau/Piha
9f346066bf09a93abc5753b5dd996c7f598c9d38
[ "MIT" ]
null
null
null
src/PihaDeviceProvider.cpp
jbitoniau/Piha
9f346066bf09a93abc5753b5dd996c7f598c9d38
[ "MIT" ]
null
null
null
#include "PihaDeviceProvider.h" #include <assert.h> #include <algorithm> #include "PihaDevice.h" namespace Piha { DeviceProvider::DeviceProvider() { } DeviceProvider::~DeviceProvider() { deleteDevices(); } void DeviceProvider::addDevice( Device* device ) { mDevices.push_back( device ); for ( Listeners::iterator...
22.235294
105
0.71627
6557c36df0718bdbe577a9f48111d44fc834df2c
914
cpp
C++
source/hougfx/src/hou/gfx/mesh_draw_mode.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
2
2018-04-12T20:59:20.000Z
2018-07-26T16:04:07.000Z
source/hougfx/src/hou/gfx/mesh_draw_mode.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
source/hougfx/src/hou/gfx/mesh_draw_mode.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
// Houzi Game Engine // Copyright (c) 2018 Davide Corradi // Licensed under the MIT license. #include "hou/gfx/mesh_draw_mode.hpp" #include "hou/cor/core_functions.hpp" #define MESH_DRAW_MODE_CASE(mdm, os) \ case mesh_draw_mode::mdm: \ return (os) << #mdm namespace hou { std::ostream& operator<<(std::ostre...
24.052632
62
0.730853
6559fb3179769f5671f90cd3402cfd258384eda6
2,487
cpp
C++
test/test.cpp
smahajan07/advanced-lane-detection
56b116c27d16210be4679ac7e0f5a5db2e31d397
[ "MIT" ]
null
null
null
test/test.cpp
smahajan07/advanced-lane-detection
56b116c27d16210be4679ac7e0f5a5db2e31d397
[ "MIT" ]
1
2018-10-19T19:44:50.000Z
2018-11-26T04:46:17.000Z
test/test.cpp
smahajan07/advanced-lane-detection
56b116c27d16210be4679ac7e0f5a5db2e31d397
[ "MIT" ]
null
null
null
/** MIT License Copyright (c) 2018 Sarthak Mahajan 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, merge, p...
36.043478
79
0.735022
655d1fdd8d3026f21c1059d361f944aa9d1b3a63
1,327
cpp
C++
Practice/2018/2018.8.8/BZOJ1046.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2018/2018.8.8/BZOJ1046.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2018/2018.8.8/BZOJ1046.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; #define ll long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) #define lowbit(x) ((x)&(-x)) const int maxN=101000; const int inf=2147483647; int n,Seq[maxN]; int numcnt,Num[maxN]; int BIT[maxN],F[maxN]...
18.957143
77
0.57272
655e6fa04c5577c4ff5ecec8e498b656508f6fb3
2,338
hpp
C++
model/CellVisitorConcepts.hpp
cuzdav/illum
b78b6477f8d3fbf31408e419f671dbfe421b4e9e
[ "MIT" ]
null
null
null
model/CellVisitorConcepts.hpp
cuzdav/illum
b78b6477f8d3fbf31408e419f671dbfe421b4e9e
[ "MIT" ]
null
null
null
model/CellVisitorConcepts.hpp
cuzdav/illum
b78b6477f8d3fbf31408e419f671dbfe421b4e9e
[ "MIT" ]
null
null
null
#pragma once #include "CellState.hpp" #include "Coord.hpp" #include "Direction.hpp" #include <concepts> #include <cstdint> namespace model { enum class VisitStatus : std::uint8_t { STOP_VISITING, KEEP_VISITING }; using enum VisitStatus; // Non-directional visitors don't have a direction. They are used with // visit...
29.974359
80
0.729256
65684aca3d0f6ead9f417e45624f69dd11df2f73
105,085
cpp
C++
drlvm/vm/jitrino/src/codegenerator/ia32/Ia32IRManager.cpp
sirinath/Harmony
724deb045a85b722c961d8b5a83ac7a697319441
[ "Apache-2.0" ]
8
2015-11-04T06:06:35.000Z
2021-07-04T13:47:36.000Z
drlvm/vm/jitrino/src/codegenerator/ia32/Ia32IRManager.cpp
sirinath/Harmony
724deb045a85b722c961d8b5a83ac7a697319441
[ "Apache-2.0" ]
1
2021-10-17T13:07:28.000Z
2021-10-17T13:07:28.000Z
drlvm/vm/jitrino/src/codegenerator/ia32/Ia32IRManager.cpp
sirinath/Harmony
724deb045a85b722c961d8b5a83ac7a697319441
[ "Apache-2.0" ]
13
2015-11-27T03:14:50.000Z
2022-02-26T15:12:20.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 You under the Apache License, Version 2.0 * (the "License"); you...
42.118236
191
0.650607
6568b57847c8770d90b2b97afb1f876db99c1bc1
1,087
hpp
C++
srcs/common/freespacebox.hpp
starxiang/heif
be43efdf273ae9cf90e552b99f16ac43983f3d19
[ "BSD-3-Clause" ]
1,593
2015-10-22T15:47:43.000Z
2022-03-25T15:06:54.000Z
srcs/common/freespacebox.hpp
starxiang/heif
be43efdf273ae9cf90e552b99f16ac43983f3d19
[ "BSD-3-Clause" ]
99
2016-06-18T10:14:41.000Z
2022-02-09T08:13:31.000Z
srcs/common/freespacebox.hpp
starxiang/heif
be43efdf273ae9cf90e552b99f16ac43983f3d19
[ "BSD-3-Clause" ]
224
2016-01-09T00:40:16.000Z
2022-03-29T11:31:46.000Z
/* This file is part of Nokia HEIF library * * Copyright (c) 2015-2021 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. * * Contact: heif@nokia.com * * This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its * subsidiaries. All rights are r...
28.605263
115
0.720331
65692f61ce76acbf17fda313272d5a1f7d65a77b
19,279
cpp
C++
src/lug/Graphics/GltfLoader.cpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
275
2016-10-08T15:33:17.000Z
2022-03-30T06:11:56.000Z
src/lug/Graphics/GltfLoader.cpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
24
2016-09-29T20:51:20.000Z
2018-05-09T21:41:36.000Z
src/lug/Graphics/GltfLoader.cpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
37
2017-02-25T05:03:48.000Z
2021-05-10T19:06:29.000Z
#include <lug/Graphics/GltfLoader.hpp> #if defined(LUG_SYSTEM_ANDROID) #include <android/asset_manager.h> #include <lug/Window/Android/WindowImplAndroid.hpp> #include <lug/Window/Window.hpp> #endif #include <gltf2/Exceptions.hpp> #include <lug/System/Logger/Logger.hpp> #include <lug/Graphics/Builder/Sce...
38.868952
168
0.635147
656e2da18bebbd4f035afda333be8b0dbf5ec7a9
550
cpp
C++
app/hibp_convert.cpp
oschonrock/hibp
690309ed4b13f89b4622155a15da1a344e2f63dd
[ "Apache-2.0" ]
null
null
null
app/hibp_convert.cpp
oschonrock/hibp
690309ed4b13f89b4622155a15da1a344e2f63dd
[ "Apache-2.0" ]
null
null
null
app/hibp_convert.cpp
oschonrock/hibp
690309ed4b13f89b4622155a15da1a344e2f63dd
[ "Apache-2.0" ]
null
null
null
#include "flat_file.hpp" #include "hibp.hpp" #include <cstdlib> int main(int /* argc */, char* argv[]) { std::ios_base::sync_with_stdio(false); std::cerr << argv[0] << ": reading `have i been pawned` text database from stdin,\n" "converting to binary format and writing to stdout." ...
28.947368
88
0.630909
656f71c8f3474b223f685bbdb0ce01589dce8a63
4,126
cpp
C++
heap.cpp
MichaelRFairhurst/vaiven
47a0ae7fbfd10aee7bed1d6c25bdb566b1a10174
[ "Apache-2.0" ]
61
2017-03-22T11:25:15.000Z
2021-11-19T23:12:48.000Z
heap.cpp
MichaelRFairhurst/vaiven
47a0ae7fbfd10aee7bed1d6c25bdb566b1a10174
[ "Apache-2.0" ]
2
2019-07-05T23:41:36.000Z
2019-07-14T23:32:18.000Z
heap.cpp
MichaelRFairhurst/vaiven
47a0ae7fbfd10aee7bed1d6c25bdb566b1a10174
[ "Apache-2.0" ]
2
2018-06-27T16:11:24.000Z
2018-07-05T07:31:44.000Z
#include "heap.h" #include <algorithm> #include <cassert> #include "stack.h" using namespace vaiven; using std::min; using std::max; // set by interpreter Heap* vaiven::globalHeap = NULL; GcableType vaiven::Gcable::getType() { return (GcableType) (((GcableType) this->type) & ~GcableMarkBit); } bool vaiven::Gcab...
22.302703
124
0.60349
657205b0280e4a607ca7f2356d4ee5a25a99d763
355
cpp
C++
tests/suites/partitioner_correctness.cpp
PMitura/pace2018
f81518ecd312c5fad7be26410b0ecbb5575e6d78
[ "MIT" ]
null
null
null
tests/suites/partitioner_correctness.cpp
PMitura/pace2018
f81518ecd312c5fad7be26410b0ecbb5575e6d78
[ "MIT" ]
null
null
null
tests/suites/partitioner_correctness.cpp
PMitura/pace2018
f81518ecd312c5fad7be26410b0ecbb5575e6d78
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "utility/partitioner.h" TEST(Partitioner, Basic) { Partitioner part1(0, 0b111, 3); part1.compute(); std::vector<uint64_t> vres1 = part1.getResult(); std::set<uint64_t> ref1 = {0x0000, 0x0100, 0x0010, 0x0110, 0x0210}, res1(vres1.begin(), vres1.en...
27.307692
71
0.625352
65721c4f649cc6e333e45345687d2f6f913f4849
590
cpp
C++
perception_oru-port-kinetic/graph_map/src/ndt_dl/ndtdl_map_param.cpp
lllray/ndt-loam
331867941e0764b40e1a980dd85d2174f861e9c8
[ "BSD-3-Clause" ]
1
2020-11-14T08:21:13.000Z
2020-11-14T08:21:13.000Z
perception_oru-port-kinetic/graph_map/src/ndt_dl/ndtdl_map_param.cpp
lllray/ndt-loam
331867941e0764b40e1a980dd85d2174f861e9c8
[ "BSD-3-Clause" ]
1
2021-07-28T04:47:56.000Z
2021-07-28T04:47:56.000Z
perception_oru-port-kinetic/graph_map/src/ndt_dl/ndtdl_map_param.cpp
lllray/ndt-loam
331867941e0764b40e1a980dd85d2174f861e9c8
[ "BSD-3-Clause" ]
2
2020-12-18T11:25:53.000Z
2022-02-19T12:59:59.000Z
#include "graph_map/ndt_dl/ndtdl_map_param.h" #include <boost/serialization/export.hpp> BOOST_CLASS_EXPORT(perception_oru::libgraphMap::NDTDLMapParam) using namespace std; namespace perception_oru{ namespace libgraphMap{ void NDTDLMapParam::GetParametersFromRos(){ MapParam::GetParametersFromRos(); ros::NodeHandle...
26.818182
114
0.786441
6572bc2833cc1165c6c0bd5d4bb3188d84c3a430
2,174
cpp
C++
median-of-two-sorted-arrays/solution.cpp
arman-sydikov/leetcode-algorithms
2f225e1e3a0c9fd2cdd4d8c72395efa19d7f4333
[ "MIT" ]
null
null
null
median-of-two-sorted-arrays/solution.cpp
arman-sydikov/leetcode-algorithms
2f225e1e3a0c9fd2cdd4d8c72395efa19d7f4333
[ "MIT" ]
null
null
null
median-of-two-sorted-arrays/solution.cpp
arman-sydikov/leetcode-algorithms
2f225e1e3a0c9fd2cdd4d8c72395efa19d7f4333
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: double findMedianSortedArrays(vector<int>& top, vector<int>& bottom) { if (top.size() > bottom.size()) { return findMedianSortedArrays(bottom, top); } int left = 0; int right = top.size()...
27.871795
92
0.49034
6573ece9acf8698ec8d945159bec5a18d4713324
1,830
hpp
C++
include/owlcpp/detail/vector_set.hpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
10
2017-12-21T05:20:40.000Z
2021-09-18T05:14:01.000Z
include/owlcpp/detail/vector_set.hpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
2
2017-12-21T07:31:54.000Z
2021-06-23T08:52:35.000Z
include/owlcpp/detail/vector_set.hpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
7
2016-02-17T13:20:31.000Z
2021-11-08T09:30:43.000Z
/** @file "/owlcpp/include/owlcpp/detail/vector_set.hpp" part of owlcpp project. @n @n Distributed under the Boost Software License, Version 1.0; see doc/license.txt. @n Copyright Mikhail K Levin 2013 *******************************************************************************/ #ifndef VECTOR_SET_HPP_ #define VECTO...
34.528302
85
0.604372
6576840e8ff3dd280cb0c3738aa2fc72123e5ae2
2,455
hpp
C++
falcon/functional/invoke_partial_recursive_param_loop.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
2
2018-02-02T14:19:59.000Z
2018-05-13T02:48:24.000Z
falcon/functional/invoke_partial_recursive_param_loop.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
falcon/functional/invoke_partial_recursive_param_loop.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
#ifndef FALCON_FUNCTIONAL_INVOKE_PARTIAL_RECURSIVE_PARAM_HPP #define FALCON_FUNCTIONAL_INVOKE_PARTIAL_RECURSIVE_PARAM_HPP #include <falcon/math/min.hpp> #include <falcon/c++1x/syntax.hpp> #include <falcon/functional/invoke.hpp> #include <falcon/parameter/manip.hpp> #include <falcon/preprocessor/not_ide_parser.hpp> #i...
26.684783
109
0.648473