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
671ca6f6fe06b1edc73fc3aaed7937d9f7a7399a
543
cpp
C++
TAO/tao/Storable_Factory.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/tao/Storable_Factory.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/tao/Storable_Factory.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// -*- C++ -*- //============================================================================= /** * @file Storable_Factory.cpp * * $Id: Storable_Factory.cpp 96760 2013-02-05 21:11:03Z stanleyk $ * * @author Byron Harris <harrisb@ociweb.com> */ //=================================================================...
20.884615
79
0.510129
671fb22bf156d02ccdb16b73138f40f99f753d9b
1,042
cpp
C++
course1/laba4/L_pairosochetatie_max_weight/main.cpp
flydzen/ITMO_algo
ea251dca0fddb0d4d212377c6785cdc3667ece89
[ "MIT" ]
null
null
null
course1/laba4/L_pairosochetatie_max_weight/main.cpp
flydzen/ITMO_algo
ea251dca0fddb0d4d212377c6785cdc3667ece89
[ "MIT" ]
null
null
null
course1/laba4/L_pairosochetatie_max_weight/main.cpp
flydzen/ITMO_algo
ea251dca0fddb0d4d212377c6785cdc3667ece89
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <fstream> using namespace std; vector<vector<pair<int, int>>> ss; vector<long long> a; vector<long long> b; vector<long long> c; void discrete_finger_simulation(int i, int from) { for (pair<int, int> p : ss[i]) { if (p.first == from) continue; ...
24.809524
69
0.52975
6720bd6af8045487c67d1df89445c5c7e2a4de00
819
cpp
C++
elf/strlen/jni/test_strlen.cpp
martinkro/doc-2017
6c8121b72786b7a2563a00dad78e481186643cd7
[ "MIT" ]
null
null
null
elf/strlen/jni/test_strlen.cpp
martinkro/doc-2017
6c8121b72786b7a2563a00dad78e481186643cd7
[ "MIT" ]
null
null
null
elf/strlen/jni/test_strlen.cpp
martinkro/doc-2017
6c8121b72786b7a2563a00dad78e481186643cd7
[ "MIT" ]
null
null
null
#include <jni.h> #include <string.h> #include <stdio.h> typedef int (*strlen_fun)(const char *); strlen_fun global_strlen1 = (strlen_fun)strlen; strlen_fun global_strlen2 = (strlen_fun)strlen; #define SHOW(x) printf("%s is %d", #x, x) jint Java_com_example_allhookinone_HookUtils_elfhook(JNIEnv* env,jobject...
25.59375
79
0.637363
67218a76893c678f78f19e84b5a049d78bc74795
6,944
cc
C++
physicalrobots/player/examples/libplayerc++/goto.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
physicalrobots/player/examples/libplayerc++/goto.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
physicalrobots/player/examples/libplayerc++/goto.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2005, Brad Kratochvil, Toby Collett, Brian Gerkey, Andrew Howard, ... All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyrigh...
25.068592
83
0.618952
67230243b18fae2b57fa419b50760d3f68cd775c
1,943
cpp
C++
base/crts/crtw32/misc/dbgdel.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/crts/crtw32/misc/dbgdel.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/crts/crtw32/misc/dbgdel.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*** *dbgnew.cpp - defines C++ scalar delete routine, debug version * * Copyright (c) 1995-2001, Microsoft Corporation. All rights reserved. * *Purpose: * Defines C++ scalar delete() routine. * *Revision History: * 12-28-95 JWM Split from dbgnew.cpp for granularity. * 05-22-98 JWM...
26.616438
81
0.519815
6725b0780abb7d9c0419b517fcf07d347c0c3a45
1,771
hpp
C++
asteria/src/reference.hpp
MaskRay/asteria
56a9251f5bb80b92e5aff25eac145f8cd2495096
[ "BSD-3-Clause" ]
null
null
null
asteria/src/reference.hpp
MaskRay/asteria
56a9251f5bb80b92e5aff25eac145f8cd2495096
[ "BSD-3-Clause" ]
null
null
null
asteria/src/reference.hpp
MaskRay/asteria
56a9251f5bb80b92e5aff25eac145f8cd2495096
[ "BSD-3-Clause" ]
null
null
null
// This file is part of Asteria. // Copyleft 2018, LH_Mouse. All wrongs reserved. #ifndef ASTERIA_REFERENCE_HPP_ #define ASTERIA_REFERENCE_HPP_ #include "fwd.hpp" #include "reference_root.hpp" #include "reference_modifier.hpp" namespace Asteria { class Reference { private: Reference_root m_root; Vector<...
26.432836
132
0.671937
672705ff65970239683ce82be68db76924118ba7
1,160
cpp
C++
search_algorithms/coding_problems/search_sorted_rotated.cpp
sky-lynx/Algorithms
95592a73dcd1dc04be7df3ce3157e63230fac27b
[ "MIT" ]
null
null
null
search_algorithms/coding_problems/search_sorted_rotated.cpp
sky-lynx/Algorithms
95592a73dcd1dc04be7df3ce3157e63230fac27b
[ "MIT" ]
null
null
null
search_algorithms/coding_problems/search_sorted_rotated.cpp
sky-lynx/Algorithms
95592a73dcd1dc04be7df3ce3157e63230fac27b
[ "MIT" ]
null
null
null
// searches an element in an array which is sorted and then rotated #include <iostream> using namespace std; int binary_search(int* arr, int l, int r, int key) { int m; while(l != r) { m = (l + r) / 2; if(arr[m] == key) return m; else if(arr[m] > key) r = m - 1; else l = m + 1...
17.575758
67
0.551724
672b1c0d09b5b2ffa2f2bddaf4536ef544fc227b
2,516
cpp
C++
kernel/main.cpp
ethan4984/rock
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
207
2020-05-27T21:57:28.000Z
2022-02-26T15:17:27.000Z
kernel/main.cpp
ethan4984/crepOS
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
3
2020-07-26T18:14:05.000Z
2020-12-09T05:32:07.000Z
kernel/main.cpp
ethan4984/rock
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
17
2020-07-05T19:08:48.000Z
2021-10-13T12:30:13.000Z
#include <mm/vmm.hpp> #include <mm/pmm.hpp> #include <mm/slab.hpp> #include <int/idt.hpp> #include <int/gdt.hpp> #include <int/apic.hpp> #include <fs/dev.hpp> #include <fs/vfs.hpp> #include <fs/fd.hpp> #include <drivers/hpet.hpp> #include <drivers/tty.hpp> #include <drivers/pci.hpp> #include <sched/smp.hpp> #includ...
22.666667
82
0.589825
6731e47e88a5f57bc5899ec39faf39129f015d54
154
cpp
C++
fastbuild-v1.02/Code/Tools/FBuild/FBuildTest/Data/TestObject/SourceMapping/File.cpp
jj4jj/TurboBuildUE4
497f0944c8d04d70e3656a34c145d21f431366a5
[ "MIT" ]
11
2020-08-28T02:11:22.000Z
2021-09-11T11:29:53.000Z
fastbuild-v1.02/Code/Tools/FBuild/FBuildTest/Data/TestObject/SourceMapping/File.cpp
jj4jj/TurboBuildUE4
497f0944c8d04d70e3656a34c145d21f431366a5
[ "MIT" ]
1
2020-11-23T13:35:00.000Z
2020-11-23T13:35:00.000Z
fastbuild-v1.02/Code/Tools/FBuild/FBuildTest/Data/TestObject/SourceMapping/File.cpp
jj4jj/TurboBuildUE4
497f0944c8d04d70e3656a34c145d21f431366a5
[ "MIT" ]
5
2020-10-22T11:16:11.000Z
2021-04-01T10:20:09.000Z
const char * Function() { // .obj file will contain filename, surrounded by these tokens return "FILE_MACRO_START(" __FILE__ ")FILE_MACRO_END"; }
25.666667
66
0.714286
6734e3cce0853a205bac21e8fbc28cf2dd7466a9
4,588
hpp
C++
src/core/NEON/kernels/arm_gemm/gemm_implementation.hpp
elenita1221/ComputeLibrary
3d2d44ef55ab6b08afda8be48301ce3c55c7bc67
[ "MIT" ]
2
2020-07-25T20:27:14.000Z
2021-08-22T17:20:59.000Z
src/core/NEON/kernels/arm_gemm/gemm_implementation.hpp
elenita1221/ComputeLibrary
3d2d44ef55ab6b08afda8be48301ce3c55c7bc67
[ "MIT" ]
null
null
null
src/core/NEON/kernels/arm_gemm/gemm_implementation.hpp
elenita1221/ComputeLibrary
3d2d44ef55ab6b08afda8be48301ce3c55c7bc67
[ "MIT" ]
1
2021-08-22T17:09:09.000Z
2021-08-22T17:09:09.000Z
/* * Copyright (c) 2018 ARM Limited. * * SPDX-License-Identifier: MIT * * 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 ...
34.757576
108
0.700523
6736e6775cf4db401229a62885c84877683c0d0b
2,498
cpp
C++
Jan-3/src/ofApp.cpp
Lywa/Genuary
865ef0515eb986a175c565faa1fa56529a70f599
[ "MIT" ]
1
2022-01-06T09:34:03.000Z
2022-01-06T09:34:03.000Z
Jan-3/src/ofApp.cpp
Lywa/Genuary
865ef0515eb986a175c565faa1fa56529a70f599
[ "MIT" ]
null
null
null
Jan-3/src/ofApp.cpp
Lywa/Genuary
865ef0515eb986a175c565faa1fa56529a70f599
[ "MIT" ]
1
2022-01-06T09:34:04.000Z
2022-01-06T09:34:04.000Z
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ smileys.load("images/face_tiny.png"); smileysIcon.load("images/smileys_q.png"); smileysIcon.setImageType(OF_IMAGE_GRAYSCALE); } //-------------------------------------------------------------- vo...
23.790476
64
0.367894
6737d72ca34672087a62f5cb6b3721a688c9b01d
798
cc
C++
P1945.cc
daily-boj/kiwiyou
ceca96ddfee95708871af67d1682048e0bed0257
[ "Unlicense" ]
6
2020-04-08T09:04:57.000Z
2021-11-16T07:30:24.000Z
P1945.cc
daily-boj/kiwiyou
ceca96ddfee95708871af67d1682048e0bed0257
[ "Unlicense" ]
null
null
null
P1945.cc
daily-boj/kiwiyou
ceca96ddfee95708871af67d1682048e0bed0257
[ "Unlicense" ]
2
2020-04-16T05:32:06.000Z
2020-05-28T13:40:56.000Z
#include <bits/stdc++.h> using namespace std; struct Frac { long long u, d; bool operator<(const Frac& x) const { return u * x.d < d * x.u; } }; int main() { cin.tie(0)->sync_with_stdio(0); int n; cin >> n; vector<pair<Frac, bool>> segs; segs.reserve(n * 2); for (int i = 0; i...
26.6
67
0.518797
6738afa2382e2938dc55950d5d36183df773df51
6,465
cpp
C++
src/enclave/Enclave/Enclave.cpp
TaraMirmira/opaque
c909f47afa80e8306157c4213b4a7755b0c5f0fe
[ "Apache-2.0" ]
null
null
null
src/enclave/Enclave/Enclave.cpp
TaraMirmira/opaque
c909f47afa80e8306157c4213b4a7755b0c5f0fe
[ "Apache-2.0" ]
null
null
null
src/enclave/Enclave/Enclave.cpp
TaraMirmira/opaque
c909f47afa80e8306157c4213b4a7755b0c5f0fe
[ "Apache-2.0" ]
1
2020-09-27T06:43:42.000Z
2020-09-27T06:43:42.000Z
#include "Enclave_t.h" #include <cstdint> #include <cassert> #include "Aggregate.h" #include "Crypto.h" #include "Filter.h" #include "Join.h" #include "Project.h" #include "Sort.h" #include "isv_enclave.h" void ecall_encrypt(uint8_t *plaintext, uint32_t plaintext_length, uint8_t *ciphertext, uint3...
41.178344
94
0.670998
673d4e691c78287353086652ae0a2ba79d09840e
2,247
cpp
C++
src/animation_widget.cpp
CourrierGui/plotcpp
00b5a94e4c9804cbc441a0bcede67f70cef08a0c
[ "MIT" ]
null
null
null
src/animation_widget.cpp
CourrierGui/plotcpp
00b5a94e4c9804cbc441a0bcede67f70cef08a0c
[ "MIT" ]
null
null
null
src/animation_widget.cpp
CourrierGui/plotcpp
00b5a94e4c9804cbc441a0bcede67f70cef08a0c
[ "MIT" ]
null
null
null
#include <animation_widget.hpp> #include <plotwidget.hpp> #include <iostream> #include <QElapsedTimer> #include <QTimer> namespace pcpp { AnimationWidget::AnimationWidget( int rows, int cols, QWidget* parent) : _plot{rows, cols, parent}, _actions{}, _continue{true}, _qtime{new QElapsedTimer} { ...
25.827586
78
0.503783
673f96702ef633f29305647846c1175b933abcae
7,963
cpp
C++
cpp/opendnp3/src/opendnp3/master/Master.cpp
tarm/dnp3_orig
87c639b3462c980fba255e85793f6ec663abe981
[ "Apache-2.0" ]
null
null
null
cpp/opendnp3/src/opendnp3/master/Master.cpp
tarm/dnp3_orig
87c639b3462c980fba255e85793f6ec663abe981
[ "Apache-2.0" ]
null
null
null
cpp/opendnp3/src/opendnp3/master/Master.cpp
tarm/dnp3_orig
87c639b3462c980fba255e85793f6ec663abe981
[ "Apache-2.0" ]
3
2016-07-13T18:54:13.000Z
2021-04-12T13:30:39.000Z
/** * Licensed to Green Energy Corp (www.greenenergycorp.com) under one or * more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. * Green Energy Corp licenses this file to you under the Apache License, * Version 2.0 (the "Li...
27.364261
188
0.771317
67441b108ccb6440a5e7333e0263e018224a5db1
6,086
cpp
C++
Sankore-3.1/src/domain/UBGraphicsEllipseItem.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
Sankore-3.1/src/domain/UBGraphicsEllipseItem.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
Sankore-3.1/src/domain/UBGraphicsEllipseItem.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
/* * Copyright (C) 2010-2013 Groupement d'Intérêt Public pour l'Education Numérique en Afrique (GIP ENA) * * This file is part of Open-Sankoré. * * Open-Sankoré 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 Found...
25.464435
119
0.651002
674773b616afc8e7d9f9b0fb29de3211aa0096cc
19,627
cpp
C++
TransferLogManager.cpp
agomez0207/wdt
d85fd11b14ae835e88cfffe970284fcf42866b18
[ "BSD-3-Clause" ]
1
2020-07-19T21:21:11.000Z
2020-07-19T21:21:11.000Z
TransferLogManager.cpp
agomez0207/wdt
d85fd11b14ae835e88cfffe970284fcf42866b18
[ "BSD-3-Clause" ]
null
null
null
TransferLogManager.cpp
agomez0207/wdt
d85fd11b14ae835e88cfffe970284fcf42866b18
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #include "T...
32.657238
80
0.590972
6747f49a6dc5ecbcf0091a7a9277dedd1823e63a
929
cpp
C++
platforms/gfg/0097_diagonal_traversal_of_binary_tree.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
2
2020-09-17T09:04:00.000Z
2020-11-20T19:43:18.000Z
platforms/gfg/0097_diagonal_traversal_of_binary_tree.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
platforms/gfg/0097_diagonal_traversal_of_binary_tree.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
#include "../../template.hpp" ostream& operator<<(ostream& os, Node* root) { print_inorder(root); return os; } void preorder(Node* root, map<int, vi>& tab, int diagonal) { if (not root) return; tab[diagonal].push_back(root->value); preorder(root->left, tab, diagonal + 1); preorder(root->right, tab, di...
24.447368
80
0.595264
6748cabbd113ed004698fdb04af485f3e4f6acf6
2,186
cpp
C++
src/status.cpp
Nakeib/RonClient
9e816c580ec2a6f1b15fdefd8e15ad62647ca29f
[ "MIT" ]
11
2020-11-07T19:35:24.000Z
2021-08-19T12:25:27.000Z
src/status.cpp
Nakeib/RonClient
9e816c580ec2a6f1b15fdefd8e15ad62647ca29f
[ "MIT" ]
null
null
null
src/status.cpp
Nakeib/RonClient
9e816c580ec2a6f1b15fdefd8e15ad62647ca29f
[ "MIT" ]
5
2020-11-06T20:52:11.000Z
2021-02-25T11:02:31.000Z
/* -------------------------------------------------------------------------- */ /* ------------- RonClient --- Oficial client for RonOTS servers ------------ */ /* -------------------------------------------------------------------------- */ #include "status.h" #include "allocator.h" #include "icons.h" #include "win...
23.505376
80
0.618939
674a7eb21be0415058f79fdae32ac00ef058376d
1,664
hpp
C++
Router/Data/Route_Stop_Data.hpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
Router/Data/Route_Stop_Data.hpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
Router/Data/Route_Stop_Data.hpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Route_Stop_Data.hpp - transit route stop data classes //********************************************************* #ifndef ROUTE_STOP_DATA_HPP #define ROUTE_STOP_DATA_HPP #include "Data_Array.hpp" //--------------------------------------------------------...
30.814815
100
0.497596
674cc6352b2fd0e6c122e527457aa0a2f14c39da
138
hpp
C++
externals/numeric_bindings/libs/numeric/bindings/tools/templates/driver/stev.hpp
ljktest/siconos
85b60e62beca46e6bf06bfbd65670089e86607c7
[ "Apache-2.0" ]
137
2015-06-16T15:55:28.000Z
2022-03-26T06:01:59.000Z
externals/numeric_bindings/libs/numeric/bindings/tools/templates/driver/stev.hpp
ljktest/siconos
85b60e62beca46e6bf06bfbd65670089e86607c7
[ "Apache-2.0" ]
381
2015-09-22T15:31:08.000Z
2022-02-14T09:05:23.000Z
externals/numeric_bindings/libs/numeric/bindings/tools/templates/driver/stev.hpp
ljktest/siconos
85b60e62beca46e6bf06bfbd65670089e86607c7
[ "Apache-2.0" ]
30
2015-08-06T22:57:51.000Z
2022-03-02T20:30:20.000Z
$TEMPLATE[stev.real.min_size_work.args] N $TEMPLATE[stev.real.min_size_work] return std::max< $INTEGER_TYPE >( 1, 2*n-2 ); $TEMPLATE[end]
23
45
0.73913
6750116edd11d113a2610814ba8adbaca4bcf5b5
4,518
cpp
C++
src/main.cpp
scaryrawr/tofi
15b3757c4d492d5bbc7f57aef94f582549d2bef3
[ "MIT" ]
1
2020-08-03T18:57:01.000Z
2020-08-03T18:57:01.000Z
src/main.cpp
scaryrawr/tofi
15b3757c4d492d5bbc7f57aef94f582549d2bef3
[ "MIT" ]
1
2021-03-07T21:32:10.000Z
2021-03-08T13:56:10.000Z
src/main.cpp
scaryrawr/tofi
15b3757c4d492d5bbc7f57aef94f582549d2bef3
[ "MIT" ]
null
null
null
#include <TofiConfig.h> #include "tofi.h" #include "modes/dmenu.h" #ifdef GIOMM_FOUND #include "modes/drun.h" #endif #ifdef I3IPC_FOUND #include "modes/i3wm.h" #endif #ifdef GTKMM_FOUND #include "modes/recent.h" #endif #include "modes/run.h" #include "modes/script.h" #include <getopt.h> #include <ftxui/component/s...
22.366337
155
0.634794
67510af1134b5530b703475985ce9f9b695fc754
3,147
cpp
C++
SceneServer/SSBattleMgr/SSProfileStatics.cpp
tsymiar/----
90e21cbfe7b3bc730c998e9f5ef87aa3581e357a
[ "Unlicense" ]
6
2019-07-15T23:55:15.000Z
2020-09-07T15:07:54.000Z
SceneServer/SSBattleMgr/SSProfileStatics.cpp
j1527156/BattleServer
68c9146bf35e93dfd5a175b46e9761ee3c7c0d04
[ "Unlicense" ]
null
null
null
SceneServer/SSBattleMgr/SSProfileStatics.cpp
j1527156/BattleServer
68c9146bf35e93dfd5a175b46e9761ee3c7c0d04
[ "Unlicense" ]
7
2019-07-15T23:55:24.000Z
2021-08-10T07:49:05.000Z
#include "StdAfx.h" #include "SSProfileStatics.h" #include <iostream> #include <fstream> #include "SSWorkThreadMgr.h" #include <iomanip> namespace SceneServer{ CSSProfileStatics::CSSProfileStatics(void):m_LastMsgShow(0) { } CSSProfileStatics::~CSSProfileStatics(void) { } void CSSProfileStatics::Begin(StaticsType ...
24.779528
148
0.71306
675e2a110fefc2b8916753461909761463c1ded6
1,108
cpp
C++
Graph/Dijkstra.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
1
2020-08-27T06:59:52.000Z
2020-08-27T06:59:52.000Z
Graph/Dijkstra.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
null
null
null
Graph/Dijkstra.cpp
XitizVerma/Data-Structures-and-Algorithms-Advanced
610225eeb7e0b4ade229ec86355901ad1ca38784
[ "MIT" ]
null
null
null
//author : Avishkar A. Hande #include<bits/stdc++.h> #define ll long long using namespace std; const int maxS = 1e5+10; vector<pair<ll, ll>> adj[maxS]; // represents adjacency list to store weight and destination node as a pair vector<ll> dist(maxS, 1e9); // distance array initialised assuming 1e9 as infinity void ...
25.767442
107
0.635379
676352821a79db365176c13e0272c408c971072d
1,166
cpp
C++
src/io.cpp
tiberius1900/ino-fix
369b76875c3b9d51b526f0c4de82cc1405da8eb5
[ "MIT" ]
null
null
null
src/io.cpp
tiberius1900/ino-fix
369b76875c3b9d51b526f0c4de82cc1405da8eb5
[ "MIT" ]
null
null
null
src/io.cpp
tiberius1900/ino-fix
369b76875c3b9d51b526f0c4de82cc1405da8eb5
[ "MIT" ]
null
null
null
#include "io.h" #include <fstream> #include "stdfilesystem.h" //replace this with <filesystem> when MSVC stops //being awful or if you don't care about compiling //this using MSVC #include <ios> #include <iostream> #include <string> using std::string; using std::f...
23.32
77
0.636364
67635a72614c96245d14753a30f9db84a551520f
2,788
cpp
C++
src/robotican_demos_upgrade/src/depth_to_base_foot.cpp
aosbgu/ROSPlan-ExperimentPDDL
09de0ba980362606dd1269c6689cb59d6f8776c6
[ "MIT" ]
null
null
null
src/robotican_demos_upgrade/src/depth_to_base_foot.cpp
aosbgu/ROSPlan-ExperimentPDDL
09de0ba980362606dd1269c6689cb59d6f8776c6
[ "MIT" ]
null
null
null
src/robotican_demos_upgrade/src/depth_to_base_foot.cpp
aosbgu/ROSPlan-ExperimentPDDL
09de0ba980362606dd1269c6689cb59d6f8776c6
[ "MIT" ]
null
null
null
#include "ros/ros.h" #include "tf/message_filter.h" #include "message_filters/subscriber.h" #include <ar_track_alvar_msgs/AlvarMarkers.h> tf::TransformListener *listener_ptr; int object_id = 1; ros::Publisher object_pub; ros::Publisher object_pub1; void obj_msgCallback(const boost::shared_ptr<const geometry_msgs:...
30.637363
145
0.707317
676bedc2a1426fa6553a239fb79db1ce5a428d87
4,291
hpp
C++
Read_Instance.hpp
SergioBarretoJr/SteinerForestGraph
e8ecb34cc1728e9a927af7dcb215ff813da1c974
[ "MIT" ]
null
null
null
Read_Instance.hpp
SergioBarretoJr/SteinerForestGraph
e8ecb34cc1728e9a927af7dcb215ff813da1c974
[ "MIT" ]
null
null
null
Read_Instance.hpp
SergioBarretoJr/SteinerForestGraph
e8ecb34cc1728e9a927af7dcb215ff813da1c974
[ "MIT" ]
null
null
null
// // Forest_Steiner.hpp // Steiner_Tree // // Created by sergio junior on 12/11/19. // Copyright © 2019 sergio junior. All rights reserved. // #ifndef Read_Instance_hpp #define Read_Instance_hpp #include<iostream> #include <list> #include <limits.h> #include <fstream> #include <cstdlib> #include <vector> #include...
30.65
171
0.393848
676c451ada470463a8f272b17b02d6618daac4cb
29,791
cpp
C++
fitp/pan/link_layer/link.cpp
BeeeOn/fitplib
71f8ab7ca2a35d97a9f56a9c8aac3b25fde0cb9f
[ "BSD-3-Clause" ]
null
null
null
fitp/pan/link_layer/link.cpp
BeeeOn/fitplib
71f8ab7ca2a35d97a9f56a9c8aac3b25fde0cb9f
[ "BSD-3-Clause" ]
null
null
null
fitp/pan/link_layer/link.cpp
BeeeOn/fitplib
71f8ab7ca2a35d97a9f56a9c8aac3b25fde0cb9f
[ "BSD-3-Clause" ]
null
null
null
/** * @file link.cc */ #include "common/phy_layer/phy.h" #include "pan/link_layer/link.h" #include <stdio.h> #include "common/log/log.h" /*! bit mask of data transfer from coordinator to end device */ #define LINK_COORD_TO_ED 0x20 /*! bit mask of data transfer from end device to coordinator */ #define LINK_ED_TO_...
34.007991
132
0.669934
677683951ea683a30b3a06aa27a6d6031be6b75e
77,473
cpp
C++
source/game/gamesys/SysCvar.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
2
2021-05-02T18:37:48.000Z
2021-07-18T16:18:14.000Z
source/game/gamesys/SysCvar.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
null
null
null
source/game/gamesys/SysCvar.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
null
null
null
// Copyright (C) 2007 Id Software, Inc. // #include "../precompiled.h" #pragma hdrstop #if defined( _DEBUG ) && !defined( ID_REDIRECT_NEWDELETE ) #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #include "../../framework/BuildVersion.h" #include "../../framework/BuildDef...
116.325826
337
0.722832
677f46fc06e7d13606731f6f380c3030e3e2c04e
4,986
cpp
C++
Server/GameServer/SealHandler.cpp
APistole/KnightOnline
80268e2fa971389a3e94c430966a7943c2631dbf
[ "MIT" ]
191
2016-03-05T16:44:15.000Z
2022-03-09T00:52:31.000Z
Server/GameServer/SealHandler.cpp
APistole/KnightOnline
80268e2fa971389a3e94c430966a7943c2631dbf
[ "MIT" ]
128
2016-08-31T04:09:06.000Z
2022-01-14T13:42:56.000Z
Server/GameServer/SealHandler.cpp
APistole/KnightOnline
80268e2fa971389a3e94c430966a7943c2631dbf
[ "MIT" ]
165
2016-03-05T16:43:59.000Z
2022-01-22T00:52:25.000Z
#include "stdafx.h" using std::string; #define ITEM_SEAL_PRICE 1000000 enum { SEAL_TYPE_SEAL = 1, SEAL_TYPE_UNSEAL = 2, SEAL_TYPE_KROWAZ = 3 }; enum SealErrorCodes { SealErrorNone = 0, // no error, success! SealErrorFailed = 2, // "Seal Failed." SealErrorNeedCoins = 3, // "Not enough coins." SealErrorI...
27.546961
98
0.676093
677f4c58a0957dd00800731a89c97b4a7d44ce20
13,771
cpp
C++
vs2017/screenshot/GeneratedFiles/moc_FullScreenWidget.cpp
cheechang/cppcc
0292e9a9b27e0579970c83b4f6a75dcdae1558bf
[ "MIT" ]
null
null
null
vs2017/screenshot/GeneratedFiles/moc_FullScreenWidget.cpp
cheechang/cppcc
0292e9a9b27e0579970c83b4f6a75dcdae1558bf
[ "MIT" ]
null
null
null
vs2017/screenshot/GeneratedFiles/moc_FullScreenWidget.cpp
cheechang/cppcc
0292e9a9b27e0579970c83b4f6a75dcdae1558bf
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'FullScreenWidget.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.1) ** ** WARNING! All changes made in this file will be lost! ***************************************************...
38.90113
239
0.609469
67800f90ec79ad1afddbd9c4cf721fc8a405b323
752
hpp
C++
src/math/mat2.hpp
simonfxr/gl
11705f718d27657fc76243d59a251f49c0a41486
[ "MIT" ]
null
null
null
src/math/mat2.hpp
simonfxr/gl
11705f718d27657fc76243d59a251f49c0a41486
[ "MIT" ]
null
null
null
src/math/mat2.hpp
simonfxr/gl
11705f718d27657fc76243d59a251f49c0a41486
[ "MIT" ]
null
null
null
#ifndef MATH_MAT2_HPP #define MATH_MAT2_HPP #include "math/genmat.hpp" namespace math { using mat2_t = genmat<real, 2>; constexpr mat2_t mat2() { return mat2_t::identity(); } constexpr mat2_t mat2(real x) { return mat2_t::fill(x); } template<typename T> constexpr mat2_t mat2(const genmat<T, 2> &A) { r...
13.925926
58
0.62367
6783defb9c837966b097ecad6ae9876a83d5ce20
43,237
hpp
C++
task-movement/Koala/container/assoctab.hpp
miloszc/task-movement
26b40595b590b0fcc3c226fbe8576faa3b5c1244
[ "MIT" ]
null
null
null
task-movement/Koala/container/assoctab.hpp
miloszc/task-movement
26b40595b590b0fcc3c226fbe8576faa3b5c1244
[ "MIT" ]
19
2019-02-15T09:04:22.000Z
2020-06-23T21:42:29.000Z
task-movement/Koala/container/assoctab.hpp
miloszc/task-movement
26b40595b590b0fcc3c226fbe8576faa3b5c1244
[ "MIT" ]
1
2019-05-04T16:12:25.000Z
2019-05-04T16:12:25.000Z
// AssocTabConstInterface template< class K, class V > V AssocTabConstInterface< std::map< K,V > >::operator[]( K arg ) const { koalaAssert( !Privates::ZeroAssocKey<K>::isZero(arg),ContExcOutpass ); typename std::map< K,V >::const_iterator i; i = cont.find( arg ); if (i == cont.end()) return V(); else return i->...
35.009717
164
0.660568
6787d8c779a3ba6a702a7af7db4f78c9d5b97891
8,821
cxx
C++
Hybrid/Testing/Cxx/TestKWEGPUArrayCalculator.cxx
wuzhuobin/vtkEdge
ed13af68a72cec79e3645f7e842d6074592abfa2
[ "BSD-3-Clause" ]
1
2021-01-09T16:06:14.000Z
2021-01-09T16:06:14.000Z
Hybrid/Testing/Cxx/TestKWEGPUArrayCalculator.cxx
wuzhuobin/vtkEdge
ed13af68a72cec79e3645f7e842d6074592abfa2
[ "BSD-3-Clause" ]
null
null
null
Hybrid/Testing/Cxx/TestKWEGPUArrayCalculator.cxx
wuzhuobin/vtkEdge
ed13af68a72cec79e3645f7e842d6074592abfa2
[ "BSD-3-Clause" ]
null
null
null
//============================================================================= // This file is part of VTKEdge. See vtkedge.org for more information. // // Copyright (c) 2010 Kitware, Inc. // // VTKEdge may be used under the terms of the BSD License // Please see the file Copyright.txt in the root directory of...
33.796935
117
0.677247
6787f8c55a86572359a8d1c112817aa47613cec8
4,365
hpp
C++
src/items/SpatialItem.hpp
maltewi/envire-envire_core
549b64ed30ba8afc4d91ae67b216a78b40cee016
[ "BSD-2-Clause" ]
9
2017-05-13T12:33:46.000Z
2021-01-27T18:50:40.000Z
src/items/SpatialItem.hpp
maltewi/envire-envire_core
549b64ed30ba8afc4d91ae67b216a78b40cee016
[ "BSD-2-Clause" ]
37
2016-02-11T17:34:41.000Z
2021-10-04T10:14:18.000Z
src/items/SpatialItem.hpp
maltewi/envire-envire_core
549b64ed30ba8afc4d91ae67b216a78b40cee016
[ "BSD-2-Clause" ]
11
2016-07-11T14:49:34.000Z
2021-06-04T08:23:39.000Z
// // Copyright (c) 2015, Deutsches Forschungszentrum für Künstliche Intelligenz GmbH. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the ab...
31.630435
104
0.666208
678bb6abe6ce6d9516ab5d5f4f07267b9aa57239
3,817
cpp
C++
released_plugins/v3d_plugins/hierachical_labeling/hier_label_func.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
released_plugins/v3d_plugins/hierachical_labeling/hier_label_func.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2016-12-03T05:33:13.000Z
2016-12-03T05:33:13.000Z
released_plugins/v3d_plugins/hierachical_labeling/hier_label_func.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
/* hier_label_func.cpp * This plugin heirachically segments the input neuron tree and label the nodes as features in eswc file. * 2012-05-04 : by Yinan Wan */ #include <v3d_interface.h> #include "v3d_message.h" #include "hier_label_func.h" #include "hierachical_labeling.h" #include "customary_structs/vaa3d_neuronto...
27.861314
165
0.703432
678cf958b2fa6c02ad42f430b91df752c6f7a2c8
1,061
cpp
C++
tau/TauEngine/src/dx/dxgi/DXGI11GraphicsDisplay.cpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
1
2020-04-22T04:07:01.000Z
2020-04-22T04:07:01.000Z
tau/TauEngine/src/dx/dxgi/DXGI11GraphicsDisplay.cpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
null
null
null
tau/TauEngine/src/dx/dxgi/DXGI11GraphicsDisplay.cpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
null
null
null
#include "dx/dxgi/DXGI11GraphicsDisplay.hpp" #ifdef _WIN32 NullableRef<DXGI11GraphicsDisplay> DXGI11GraphicsDisplay::build(IDXGIOutput* const dxgiOutput) noexcept { UINT numDisplayModes; HRESULT res = dxgiOutput->GetDisplayModeList(DXGI_FORMAT_R8G8B8A8_UNORM, DXGI_ENUM_MODES_INTERLACED, &numDisplayModes,...
35.366667
134
0.737983
6790d2017a223d244fde06f4fd43c86abecc4182
1,419
hpp
C++
deeplab/code/include/caffe/layers/graphcut_layer.hpp
dmitrii-marin/adm-seg
e730b79bcd2b30cee66efac0ce961090c2cd4e62
[ "MIT" ]
10
2019-05-28T22:00:08.000Z
2021-11-27T04:00:11.000Z
deeplab/code/include/caffe/layers/graphcut_layer.hpp
dmitrii-marin/adm-seg
e730b79bcd2b30cee66efac0ce961090c2cd4e62
[ "MIT" ]
2
2019-09-10T09:47:13.000Z
2019-10-26T02:58:03.000Z
deeplab/code/include/caffe/layers/graphcut_layer.hpp
dmitrii-marin/adm-seg
e730b79bcd2b30cee66efac0ce961090c2cd4e62
[ "MIT" ]
2
2019-12-26T01:58:20.000Z
2020-03-11T02:22:08.000Z
#ifndef CAFFE_GRAPHCUT_LAYER_HPP_ #define CAFFE_GRAPHCUT_LAYER_HPP_ #include <vector> #include "caffe/blob.hpp" #include "caffe/layer.hpp" #include "caffe/proto/caffe.pb.h" #include "caffe/filterrgbxy.hpp" #include "gco-v3.0/GCoptimization.h" #include <cstddef> namespace caffe{ template <typename Dtype> class Gr...
26.277778
98
0.711769
09649f973e8094042707dd1d686a901ca1295560
6,729
cpp
C++
Cores/FCEU/FCEU/drivers/win/keyboard.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
3,459
2015-01-07T14:07:09.000Z
2022-03-25T03:51:10.000Z
Cores/FCEU/FCEU/drivers/win/keyboard.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
1,046
2018-03-24T17:56:16.000Z
2022-03-23T08:13:09.000Z
Cores/FCEU/FCEU/drivers/win/keyboard.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
549
2015-01-07T14:07:15.000Z
2022-01-07T16:13:05.000Z
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * 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, o...
29.384279
344
0.696983
0965c5446ac766b60de9408cc4e71f3c7dc6ced4
8,639
cc
C++
instrument.cc
eryjus/instrumentation
82c6e211b4b263c0beece904b615a8817681f6ac
[ "Beerware" ]
null
null
null
instrument.cc
eryjus/instrumentation
82c6e211b4b263c0beece904b615a8817681f6ac
[ "Beerware" ]
null
null
null
instrument.cc
eryjus/instrumentation
82c6e211b4b263c0beece904b615a8817681f6ac
[ "Beerware" ]
null
null
null
//=================================================================================================================== // // instrument.cc -- Bochs instrumentation for CenuryOS // ///////////////////////////////////////////////////////////////////////// // $Id: instrument.cc 12655 2015-02-19 20:23:08Z sshwarts $ //////...
31.878229
130
0.573793
09661d776586905743293e00b25c523c21f0b200
3,792
cpp
C++
RTIDPRR/Source/Graphics/Core/Buffer.cpp
brunosegiu/RTIDPRR
d7daef7611899db4e23ba6a2b5a91135c57e0871
[ "MIT" ]
3
2020-12-06T02:22:48.000Z
2021-06-24T13:52:10.000Z
RTIDPRR/Source/Graphics/Core/Buffer.cpp
brunosegiu/RTIDPRR
d7daef7611899db4e23ba6a2b5a91135c57e0871
[ "MIT" ]
null
null
null
RTIDPRR/Source/Graphics/Core/Buffer.cpp
brunosegiu/RTIDPRR
d7daef7611899db4e23ba6a2b5a91135c57e0871
[ "MIT" ]
1
2021-10-13T10:36:36.000Z
2021-10-13T10:36:36.000Z
#include "Buffer.h" #include "Command.h" #include "Context.h" #include "DeviceMemory.h" using namespace RTIDPRR::Graphics; Buffer::Buffer(const vk::DeviceSize& size, const vk::BufferUsageFlags& usage, const vk::MemoryPropertyFlags& memoryProperties) : mSize(size) { const Device& device = Contex...
36.461538
79
0.726002
096a3969d7f748663f63ee71124263026f3bfee6
513
cpp
C++
codeshef/CIN011.cpp
sonuKumar03/data-structure-and-algorithm
d1fd3cad494cbcc91ce7ff37ec611752369b50b6
[ "MIT" ]
null
null
null
codeshef/CIN011.cpp
sonuKumar03/data-structure-and-algorithm
d1fd3cad494cbcc91ce7ff37ec611752369b50b6
[ "MIT" ]
null
null
null
codeshef/CIN011.cpp
sonuKumar03/data-structure-and-algorithm
d1fd3cad494cbcc91ce7ff37ec611752369b50b6
[ "MIT" ]
null
null
null
#include<iostream> #include<queue> #include<vector> #include<algorithm> #include<fstream> #include<climits> #include<math.h> using namespace std; typedef long long ll ; void solve(){ ll n ; cin>>n; ll *roses = new ll[n]; for(int i =0;i<n;i++){ cin>>roses[i]; } ll happiness = -1; for(int i =0;i<n;i++)...
14.25
33
0.569201
096f6455e70034e7bad0407873ba591b77351925
18,237
cpp
C++
PersistentStore/SqliteStore.cpp
MFransen69/rdkservices
ce13efeb95779bc04c20e69be5fe86fd8565a6c6
[ "BSD-2-Clause" ]
null
null
null
PersistentStore/SqliteStore.cpp
MFransen69/rdkservices
ce13efeb95779bc04c20e69be5fe86fd8565a6c6
[ "BSD-2-Clause" ]
null
null
null
PersistentStore/SqliteStore.cpp
MFransen69/rdkservices
ce13efeb95779bc04c20e69be5fe86fd8565a6c6
[ "BSD-2-Clause" ]
null
null
null
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2022 RDK Management * * 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 cop...
25.119835
109
0.551132
09705a8a905f583738cbc53fc70fa2e3c0205846
136
cpp
C++
test/llvm_test_code/linear_constant/call_10.cpp
janniclas/phasar
324302ae96795e6f0a065c14d4f7756b1addc2a4
[ "MIT" ]
1
2022-02-15T07:56:29.000Z
2022-02-15T07:56:29.000Z
test/llvm_test_code/linear_constant/call_10.cpp
fabianbs96/phasar
5b8acd046d8676f72ce0eb85ca20fdb0724de444
[ "MIT" ]
null
null
null
test/llvm_test_code/linear_constant/call_10.cpp
fabianbs96/phasar
5b8acd046d8676f72ce0eb85ca20fdb0724de444
[ "MIT" ]
null
null
null
void bar(int b) {} void foo(int a) { // clang-format off bar(a); } // clang-format on int main() { int i; foo(2); return 0; }
11.333333
37
0.551471
097198218d7ba6feaff553a04757aefc9ada1651
5,030
cc
C++
topside/qgc/src/AutoPilotPlugins/AutoPilotPluginManager.cc
slicht-uri/Sandshark-Beta-Lab-
6cff36b227b49b776d13187c307e648d2a52bdae
[ "MIT" ]
null
null
null
topside/qgc/src/AutoPilotPlugins/AutoPilotPluginManager.cc
slicht-uri/Sandshark-Beta-Lab-
6cff36b227b49b776d13187c307e648d2a52bdae
[ "MIT" ]
null
null
null
topside/qgc/src/AutoPilotPlugins/AutoPilotPluginManager.cc
slicht-uri/Sandshark-Beta-Lab-
6cff36b227b49b776d13187c307e648d2a52bdae
[ "MIT" ]
1
2019-10-18T06:25:14.000Z
2019-10-18T06:25:14.000Z
/*===================================================================== QGroundControl Open Source Ground Control Station (c) 2009 - 2014 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> This file is part of the QGROUNDCONTROL project QGROUNDCONTROL is free software: you can redistribute it and/or mod...
35.174825
162
0.712326
0973942ad6b4dc43319155d9cb62b01f3c1675d2
4,551
cpp
C++
Source/BlackWolf.Lupus.Core/Cookie.cpp
chronos38/lupus-core
ea5196b1b8663999f0a6fcfb5ee3dc5c01d48f32
[ "MIT" ]
null
null
null
Source/BlackWolf.Lupus.Core/Cookie.cpp
chronos38/lupus-core
ea5196b1b8663999f0a6fcfb5ee3dc5c01d48f32
[ "MIT" ]
null
null
null
Source/BlackWolf.Lupus.Core/Cookie.cpp
chronos38/lupus-core
ea5196b1b8663999f0a6fcfb5ee3dc5c01d48f32
[ "MIT" ]
1
2020-10-03T05:05:03.000Z
2020-10-03T05:05:03.000Z
/** * Copyright (C) 2014 David Wolf <d.wolf@live.at> * * This file is part of Lupus. * 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 th...
28.267081
80
0.513733
0973f6e50c45617b6a11bd2d0a2cf3d767047959
2,811
cpp
C++
Actions/AddCircAction.cpp
OmarKimo/PaintForKids
21e41401e40d64880679f53efa4bf92fec06e783
[ "MIT" ]
2
2022-01-19T20:39:14.000Z
2022-01-20T08:41:45.000Z
Actions/AddCircAction.cpp
OmarKimo/PaintForKids
21e41401e40d64880679f53efa4bf92fec06e783
[ "MIT" ]
null
null
null
Actions/AddCircAction.cpp
OmarKimo/PaintForKids
21e41401e40d64880679f53efa4bf92fec06e783
[ "MIT" ]
null
null
null
#include "AddCircAction.h" #include "..\Figures\CCircle.h" #include "..\ApplicationManager.h" #include "..\GUI\input.h" #include "..\GUI\Output.h" AddCircAction::AddCircAction(ApplicationManager * pApp):Action(pApp) {} void AddCircAction::ReadActionParameters() { //Get a Pointer to the Input / Output Interfaces ...
30.225806
162
0.67556
0974d99e8a28272abcf0c40696a6e2b5552958ad
26,425
cpp
C++
src/ARVRInterface.cpp
litiecheng/godot_oculus
c31cd938cbcc12da63ce185158be821b04f1e57c
[ "MIT" ]
1
2020-07-20T13:44:45.000Z
2020-07-20T13:44:45.000Z
src/ARVRInterface.cpp
litiecheng/godot_oculus
c31cd938cbcc12da63ce185158be821b04f1e57c
[ "MIT" ]
null
null
null
src/ARVRInterface.cpp
litiecheng/godot_oculus
c31cd938cbcc12da63ce185158be821b04f1e57c
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////// // Our main ARVRInterface code for our Oculus GDNative module // Note, even though this is pure C code, we're using the C++ compiler as // Microsoft never updated their C compiler to understand more modern dialects // and ...
38.860294
166
0.744598
0975c8e52cf2a7a3ea23ce38e36b92ffcf6843b4
517
cc
C++
gearbox/t/core/config_file.t.cc
coryb/gearbox
88027f2f101c2d1fab16093928963052b9d3294d
[ "Artistic-1.0-Perl", "BSD-3-Clause" ]
3
2015-06-26T15:37:40.000Z
2016-05-22T07:42:39.000Z
gearbox/t/core/config_file.t.cc
coryb/gearbox
88027f2f101c2d1fab16093928963052b9d3294d
[ "Artistic-1.0-Perl", "BSD-3-Clause" ]
null
null
null
gearbox/t/core/config_file.t.cc
coryb/gearbox
88027f2f101c2d1fab16093928963052b9d3294d
[ "Artistic-1.0-Perl", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012, Yahoo! Inc. All rights reserved. // Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. #include <tap/trivial.h> #include <gearbox/core/ConfigFile.h> using namespace Gearbox; int main() { chdir(TESTDIR); TEST_START(5); ConfigFile cfg("cfg/2...
21.541667
94
0.617021
097678ae1ef604a6f07542e23a230b58a61679e4
3,944
cpp
C++
Drivers/GranularJet/dec13_A254_Hi0075_RC06_MU05.cpp
gustavo-castillo-bautista/Mercury
eeb402ccec8e487652229d4595c46ec84f6aefbb
[ "BSD-3-Clause" ]
null
null
null
Drivers/GranularJet/dec13_A254_Hi0075_RC06_MU05.cpp
gustavo-castillo-bautista/Mercury
eeb402ccec8e487652229d4595c46ec84f6aefbb
[ "BSD-3-Clause" ]
null
null
null
Drivers/GranularJet/dec13_A254_Hi0075_RC06_MU05.cpp
gustavo-castillo-bautista/Mercury
eeb402ccec8e487652229d4595c46ec84f6aefbb
[ "BSD-3-Clause" ]
null
null
null
//Copyright (c) 2013-2020, The MercuryDPM Developers Team. All rights reserved. //For the list of developers, see <http://www.MercuryDPM.org/Team>. // //Redistribution and use in source and binary forms, with or without //modification, are permitted provided that the following conditions are met: // * Redistributions ...
40.659794
149
0.761663
097d29910f58bf15984a871e201ddf64e159f4b3
3,105
cpp
C++
tests/mapping/Map2DTest.cpp
jonahbardos/PY2020
af4f61b86ae5013e58faf4842bf20863b3de3957
[ "Apache-2.0" ]
11
2019-10-03T01:17:16.000Z
2020-10-25T02:38:32.000Z
tests/mapping/Map2DTest.cpp
jonahbardos/PY2020
af4f61b86ae5013e58faf4842bf20863b3de3957
[ "Apache-2.0" ]
53
2019-10-03T02:11:04.000Z
2021-06-05T03:11:55.000Z
tests/mapping/Map2DTest.cpp
jonahbardos/PY2020
af4f61b86ae5013e58faf4842bf20863b3de3957
[ "Apache-2.0" ]
3
2019-09-20T04:09:29.000Z
2020-08-18T22:25:20.000Z
#define CATCH_CONFIG_MAIN #include "mapping/Map2D.h" #include <iostream> #include <cmath> #include <chrono> #include <ctime> #include <thread> constexpr int test_iterations = 100; constexpr int vertex_count = 1000; constexpr int sparsity_factor = 2; #include <catch2/catch.hpp> namespace Mapping { ...
29.571429
98
0.554267
09807f83c5fd4e83dddd8cef01b63649a688bc23
1,520
cpp
C++
attacker/SSL/sslPublic.cpp
satadriver/attacker
24e4434d8a836e040e48df195f2ca8919ab52609
[ "Apache-2.0" ]
null
null
null
attacker/SSL/sslPublic.cpp
satadriver/attacker
24e4434d8a836e040e48df195f2ca8919ab52609
[ "Apache-2.0" ]
null
null
null
attacker/SSL/sslPublic.cpp
satadriver/attacker
24e4434d8a836e040e48df195f2ca8919ab52609
[ "Apache-2.0" ]
1
2022-03-20T03:21:00.000Z
2022-03-20T03:21:00.000Z
#include "sslPublic.h" #include "../attacker.h" #include "../FileOper.h" #include <vector> #include <iostream> #include <string> using namespace std; WORKERCONTROL gWorkControl; vector <string> gHostAttackList; char G_USERNAME[64]; SSLPublic::SSLPublic(vector<string>list) { if (mInstance) { return; } mInst...
19.74026
63
0.651316
09817f55dee6853da4cc8fcc42feaf934082197f
119
cpp
C++
src/IModel.cpp
soraphis/Boids-MPI
87ce64b6bfa5f8f9dba94a641046979621e7a71c
[ "MIT" ]
null
null
null
src/IModel.cpp
soraphis/Boids-MPI
87ce64b6bfa5f8f9dba94a641046979621e7a71c
[ "MIT" ]
1
2017-05-30T14:59:29.000Z
2017-05-30T14:59:29.000Z
src/IModel.cpp
soraphis/Boids-MPI
87ce64b6bfa5f8f9dba94a641046979621e7a71c
[ "MIT" ]
null
null
null
/* * IModel.cpp * * Created on: 29.06.2014 * Author: oliver */ #include "IModel.h" IModel::~IModel(){ }
8.5
26
0.537815
098189c807f15834fdc770132fb6df986d492496
203,441
cpp
C++
ds/ds/src/util/ldp/ldpdoc.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/ds/src/util/ldp/ldpdoc.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/ds/src/util/ldp/ldpdoc.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (C) Microsoft Corporation, 1996 - 1999 // // File: ldpdoc.cpp // //-------------------------------------------------------------------------- /****************************************...
30.68029
145
0.435571
098225952388ba074e560ffa576c15afc2ebe0c4
2,258
cpp
C++
TestApps/Rosetta/BNN/Sources/utils/DataIO.cpp
stephenneuendorffer/hls_tuner
fa7de78f0e2bb4b8f9f2e0a0368ed071b379c875
[ "MIT" ]
1
2021-02-21T12:13:09.000Z
2021-02-21T12:13:09.000Z
TestApps/Rosetta/BNN/Sources/utils/DataIO.cpp
stephenneuendorffer/hls_tuner
fa7de78f0e2bb4b8f9f2e0a0368ed071b379c875
[ "MIT" ]
null
null
null
TestApps/Rosetta/BNN/Sources/utils/DataIO.cpp
stephenneuendorffer/hls_tuner
fa7de78f0e2bb4b8f9f2e0a0368ed071b379c875
[ "MIT" ]
1
2019-09-10T16:45:27.000Z
2019-09-10T16:45:27.000Z
#include "DataIO.h" #ifdef RUN_STANDALONE #include <ff.h> #endif Cifar10TestInputs::Cifar10TestInputs(const std::string & filename, unsigned n) : m_size(n*CHANNELS*ROWS*COLS) { #ifdef RUN_STANDALONE data = new float[m_size]; DB_PRINT(2, "Opening data file %s\n", filename.c_str()); FIL File; if (f_open(&Fil...
23.520833
78
0.641718
0982fc2f50f944be4581a3e21cd40ce1d769102d
1,273
cpp
C++
src/trade_book/TradeBook.cpp
karelhala-cz/BitstampTax
361b94a8acf233082badc21da256b4089aad2188
[ "MIT" ]
null
null
null
src/trade_book/TradeBook.cpp
karelhala-cz/BitstampTax
361b94a8acf233082badc21da256b4089aad2188
[ "MIT" ]
null
null
null
src/trade_book/TradeBook.cpp
karelhala-cz/BitstampTax
361b94a8acf233082badc21da256b4089aad2188
[ "MIT" ]
null
null
null
//********************************************************************************************************************* // Author: Karel Hala, hala.karel@gmail.com // Copyright: (c) 2021-2022 Karel Hala // License: MIT //***********************************************************************************************...
23.574074
119
0.586803
09839fb928a67e869b7b8cf5c6a1129430fd171f
796
cpp
C++
src/gamelib/utils/LifetimeTracker.cpp
mall0c/GameLib
df4116b53c39be7b178dd87f7eb0fe32a94d00d3
[ "MIT" ]
1
2020-02-17T09:53:36.000Z
2020-02-17T09:53:36.000Z
src/gamelib/utils/LifetimeTracker.cpp
mall0c/GameLib
df4116b53c39be7b178dd87f7eb0fe32a94d00d3
[ "MIT" ]
null
null
null
src/gamelib/utils/LifetimeTracker.cpp
mall0c/GameLib
df4116b53c39be7b178dd87f7eb0fe32a94d00d3
[ "MIT" ]
null
null
null
#include "gamelib/utils/LifetimeTracker.hpp" namespace gamelib { SlotMapShort<void*> LifetimeTrackerManager::_data; LifetimeTrackerManager::LifetimeTrackerManager() { } auto LifetimeTrackerManager::add(void* ptr) -> LifetimeHandle { auto h = _data.acquire(); _data[h] = ptr; ...
22.742857
84
0.628141
0988cb9ad208ef6d58ccf6001e8cd49c540a41e6
2,410
cpp
C++
VoDTCPServer/VoDTCPServerView.cpp
ckaraca/VoD
415590649053eb560ef094768bec210c4c0fe19f
[ "MIT" ]
3
2021-11-26T21:26:32.000Z
2022-01-09T20:54:49.000Z
VoDTCPServer/VoDTCPServerView.cpp
ckaraca/VoD
415590649053eb560ef094768bec210c4c0fe19f
[ "MIT" ]
null
null
null
VoDTCPServer/VoDTCPServerView.cpp
ckaraca/VoD
415590649053eb560ef094768bec210c4c0fe19f
[ "MIT" ]
null
null
null
// VoDTCPServerView.cpp : implementation of the CVoDTCPServerView class // #include "stdafx.h" #include "VoDTCPServer.h" #include "VoDTCPServerDoc.h" #include "VoDTCPServerView.h" #ifdef _DEBUG #define new DEBUG_NEW #endif #define WSA_VERSION MAKEWORD(2,0) extern TCHAR ServerPathName[]; extern TCHAR ServerPath[];...
21.327434
87
0.755602
09899356e00cbb258e99c61dd65dd32b225df382
2,492
cpp
C++
plugins/builtin.cpp
iotbzh/DEPRECATED_afb-signal-composer
ee50d58c38e4a8f2dafd40b6cdf3aa6c7612e866
[ "Apache-2.0" ]
null
null
null
plugins/builtin.cpp
iotbzh/DEPRECATED_afb-signal-composer
ee50d58c38e4a8f2dafd40b6cdf3aa6c7612e866
[ "Apache-2.0" ]
null
null
null
plugins/builtin.cpp
iotbzh/DEPRECATED_afb-signal-composer
ee50d58c38e4a8f2dafd40b6cdf3aa6c7612e866
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2016 "IoT.bzh" * Author Romain Forlot <romain.forlot@iot.bzh> * * 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 * *...
27.688889
104
0.725522
09914911c663a26bded7882603c949dbd05b885a
650
cpp
C++
include/L298/L298.cpp
baz-snow-ss/PU-Winder
78775f91ec5416918057ad33208052f787c7e61a
[ "MIT" ]
null
null
null
include/L298/L298.cpp
baz-snow-ss/PU-Winder
78775f91ec5416918057ad33208052f787c7e61a
[ "MIT" ]
null
null
null
include/L298/L298.cpp
baz-snow-ss/PU-Winder
78775f91ec5416918057ad33208052f787c7e61a
[ "MIT" ]
null
null
null
/* L298.cpp - Library to control the L298 motor driver (c). */ #include "L298.h" L298::L298(uint8_t IN1,uint8_t IN2,uint8_t EN1){ _IN1 = IN1; _IN2 = IN2; _EN1 = EN1; pinMode(_IN1, OUTPUT); pinMode(_IN2, OUTPUT); pinMode(_EN1, OUTPUT); } void L298::Forward(uint8_t pwm){ digitalWrite(_I...
17.105263
59
0.632308
0995a4bfc97cf2bc46e173bd52b113ce0b119b86
2,190
cpp
C++
src/libs/utilities/testharness/play.cpp
suggitpe/RPMS
7a12da0128f79b8b0339fd7146105ba955079b8c
[ "Apache-2.0" ]
null
null
null
src/libs/utilities/testharness/play.cpp
suggitpe/RPMS
7a12da0128f79b8b0339fd7146105ba955079b8c
[ "Apache-2.0" ]
null
null
null
src/libs/utilities/testharness/play.cpp
suggitpe/RPMS
7a12da0128f79b8b0339fd7146105ba955079b8c
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <sys/resource.h> #include <sys/time.h> #include <unistd.h> #include <iostream> void print_cpu_time() { struct rusage usage; getrusage (RUSAGE_SELF, &usage); printf ("CPU time: %ld.%06ld sec user, %ld.%06ld sec system\n", usage.ru_utime.tv_sec, usage.ru_utime.tv_usec, ...
66.363636
256
0.574886
0998a6a1c67e59ff7263fff32514f9b73af3fa9b
1,583
cpp
C++
modules/cudaimgproc/samples/connected_components.cpp
pccvlab/opencv_contrib
f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93
[ "Apache-2.0" ]
null
null
null
modules/cudaimgproc/samples/connected_components.cpp
pccvlab/opencv_contrib
f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93
[ "Apache-2.0" ]
null
null
null
modules/cudaimgproc/samples/connected_components.cpp
pccvlab/opencv_contrib
f6a39c5d01a7b2d2bb223a2a67beb9736fce7d93
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <opencv2/core/utility.hpp> #include "opencv2/imgproc.hpp" #include "opencv2/imgcodecs.hpp" #include "opencv2/highgui.hpp" #include "opencv2/cudaimgproc.hpp" using namespace cv; using namespace std; using namespace cv::cuda; void colorLabels(const Mat1i& labels, Mat3b& colors) { colo...
26.830508
121
0.655085
099a548581f12d5b5a3a2a36c45dd14ccf4a8336
176
cpp
C++
src/world/health.cpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
7
2015-01-28T09:17:08.000Z
2020-04-21T13:51:16.000Z
src/world/health.cpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
null
null
null
src/world/health.cpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
1
2020-07-11T09:20:25.000Z
2020-07-11T09:20:25.000Z
#include <world/health.hpp> const ComponentType Health::component_type; Health::Health(const Quantity::type max): Quantity(max) { } void Health::tick(Entity*, World*) { }
13.538462
43
0.721591
099a85de008229877140cca914f025843039871f
372
cpp
C++
05_bits/digits_demo.cpp
anton0xf/stepik_cpp
fe87fff8523bc62c92b13dc8c0908b6d984aec43
[ "MIT" ]
null
null
null
05_bits/digits_demo.cpp
anton0xf/stepik_cpp
fe87fff8523bc62c92b13dc8c0908b6d984aec43
[ "MIT" ]
null
null
null
05_bits/digits_demo.cpp
anton0xf/stepik_cpp
fe87fff8523bc62c92b13dc8c0908b6d984aec43
[ "MIT" ]
null
null
null
#include <stdio.h> #include "digits.hpp" int main() { init_digits(); printf("values: \n"); for (int i=0; i < VALUES_COUNT; i++) { if (values[i] == UNUSED) continue; printf("%c -> %lld\n", (char)i, values[i]); } printf("digits: "); for (int i=0; i < DIGITS_COUNT; i++) { p...
21.882353
51
0.491935
099fbb7c121449c95fb9f56489000d921c612477
814
hpp
C++
Kuplung/kuplung/utilities/consumption/WindowsCPUUsage.hpp
supudo/Kuplung
f0e11934fde0675fa531e6dc263bedcc20a5ea1a
[ "Unlicense" ]
14
2017-02-17T17:12:40.000Z
2021-12-22T01:55:06.000Z
Kuplung/kuplung/utilities/consumption/WindowsCPUUsage.hpp
supudo/Kuplung
f0e11934fde0675fa531e6dc263bedcc20a5ea1a
[ "Unlicense" ]
null
null
null
Kuplung/kuplung/utilities/consumption/WindowsCPUUsage.hpp
supudo/Kuplung
f0e11934fde0675fa531e6dc263bedcc20a5ea1a
[ "Unlicense" ]
1
2019-10-15T08:10:10.000Z
2019-10-15T08:10:10.000Z
// // WindowsCPUUsage.hpp // Kuplung // // Created by Sergey Petrov on 12/16/15. // Copyright © 2015 supudo.net. All rights reserved. // #ifndef WindowsCPUUsage_hpp #define WindowsCPUUsage_hpp namespace KuplungApp { namespace Utilities { namespace Consumption { #include <windows.h> class WindowsCPUUsage { publi...
18.930233
68
0.739558
09a0d8fbc646e7ed4bca93c50809b96655e90b06
787
cpp
C++
assingment/32.cpp
aditya1k2/CPP-SEM-2-KIIT
1afceeb39458201b6dafe33422d7de8e613d96de
[ "MIT" ]
null
null
null
assingment/32.cpp
aditya1k2/CPP-SEM-2-KIIT
1afceeb39458201b6dafe33422d7de8e613d96de
[ "MIT" ]
null
null
null
assingment/32.cpp
aditya1k2/CPP-SEM-2-KIIT
1afceeb39458201b6dafe33422d7de8e613d96de
[ "MIT" ]
null
null
null
/* Name:- Aditya Kumar Gupta Roll No.:- 1706291 Sec:- B-19 Ques No.:-32 */ #include<iostream> #include<stdio.h> using namespace std; int main() { char str[100],pat[20],new_str[100],rep_pat[50]; int i=0,j=0,k,n=0,copy_loop=0, rep_index=0; cout<<"Enter the string:\n"; gets(str); cout<<"\nEnter the pattern: "; ...
18.738095
48
0.556544
09a191ad3902e2287e28eccae3b07851957fe736
2,035
cpp
C++
cpp/HeapStack/HeapStack_v1/main.cpp
ArboreusSystems/arboreus_examples
17d39e18f4b2511c19f97d4e6c07ec9d7087fae8
[ "BSD-3-Clause" ]
17
2019-02-19T21:29:22.000Z
2022-01-29T11:03:45.000Z
cpp/HeapStack/HeapStack_v1/main.cpp
MbohBless/arboreus_examples
97f0e25182bbc4b5ffab37c6157514332002aeee
[ "BSD-3-Clause" ]
null
null
null
cpp/HeapStack/HeapStack_v1/main.cpp
MbohBless/arboreus_examples
97f0e25182bbc4b5ffab37c6157514332002aeee
[ "BSD-3-Clause" ]
9
2021-02-21T05:32:23.000Z
2022-02-26T07:51:52.000Z
/* ------------------------------------------------------------------- * @doc * @notice Template file wizards/projects/plaincpp/main.cpp * * @copyright Arboreus (http://arboreus.systems) * @author Alexandr Kirilov (http://alexandr.kirilov.me) * @created 19/07/2020 at 13:12:12 * */// ------------------------...
26.776316
70
0.648649
09a1db3d62886f85788529fe56a696428bd6d4d2
11,674
cpp
C++
vm/external_libs/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
marnen/rubinius
05b3f9789d01bada0604a7f09921c956bc9487e7
[ "BSD-3-Clause" ]
1
2016-05-08T16:58:14.000Z
2016-05-08T16:58:14.000Z
vm/external_libs/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
taf2/rubinius
493bfa2351fc509ca33d3bb03991c2e9c2b6dafa
[ "BSD-3-Clause" ]
null
null
null
vm/external_libs/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
taf2/rubinius
493bfa2351fc509ca33d3bb03991c2e9c2b6dafa
[ "BSD-3-Clause" ]
null
null
null
//===-- ValueEnumerator.cpp - Number values and types for bitcode writer --===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
35.591463
80
0.640569
09a3ffc1941a8251858d718e4c97e3e9aa166202
533
cpp
C++
competitive_programming/programming_contests/spoj_br/bafo.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
205
2018-12-01T17:49:49.000Z
2021-12-22T07:02:27.000Z
competitive_programming/programming_contests/spoj_br/bafo.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
2
2020-01-01T16:34:29.000Z
2020-04-26T19:11:13.000Z
competitive_programming/programming_contests/spoj_br/bafo.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
50
2018-11-28T20:51:36.000Z
2021-11-29T04:08:25.000Z
// BAFO #include <iostream> #include <string> using namespace std; int main() { int n, t_beto=0, t_aldo=0, x, y, counter=1; string result; cin >> n; if(n == 0) return 0; while(n != 0) { for (int i = 0; i < n; i++) { cin >> x >> y; t_aldo += x; t_beto += y; } if (t_ald...
13.666667
45
0.467167
09a7bbef2734479c32e47415b0af0ef5556fa88e
209
cpp
C++
ACTCTRL/RedNet/SerialCommand.cpp
SabreSense/ACTCTRL
859cbe80b26a7c46146650a0db01ad9b0ffcf9ef
[ "MIT" ]
null
null
null
ACTCTRL/RedNet/SerialCommand.cpp
SabreSense/ACTCTRL
859cbe80b26a7c46146650a0db01ad9b0ffcf9ef
[ "MIT" ]
11
2017-12-03T23:25:05.000Z
2017-12-03T23:57:05.000Z
ACTCTRL/RedNet/SerialCommand.cpp
SabreSense/ACTCTRL
859cbe80b26a7c46146650a0db01ad9b0ffcf9ef
[ "MIT" ]
1
2017-12-08T14:18:42.000Z
2017-12-08T14:18:42.000Z
// // // #include "SerialCommand.h" SerialCommand::SerialCommand(int type, float value) { Type = type; Value = value; if (Type != NULL) { notEmpty = true; } } //SerialCommandClass SerialCommand;
11.611111
53
0.645933
09a8566cd7aedd03a946c8ae8ae2735ad5971a41
3,898
cxx
C++
src/delegate/HttpRequest.cxx
CM4all/beng-proxy
ce5a81f7969bc5cb6c5985cdc98f61ef8b5c6159
[ "BSD-2-Clause" ]
35
2017-08-16T06:52:26.000Z
2022-03-27T21:49:01.000Z
src/delegate/HttpRequest.cxx
nn6n/beng-proxy
2cf351da656de6fbace3048ee90a8a6a72f6165c
[ "BSD-2-Clause" ]
2
2017-12-22T15:34:23.000Z
2022-03-08T04:15:23.000Z
src/delegate/HttpRequest.cxx
nn6n/beng-proxy
2cf351da656de6fbace3048ee90a8a6a72f6165c
[ "BSD-2-Clause" ]
8
2017-12-22T15:11:47.000Z
2022-03-15T22:54:04.000Z
/* * Copyright 2007-2021 CM4all GmbH * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the abo...
31.691057
89
0.729861
09a93f4f2ec3d6e761c821efe40a8908d8d0a2a0
1,632
hpp
C++
include/foundation/gameobject.hpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
3
2015-03-28T02:51:58.000Z
2018-11-08T16:49:53.000Z
include/foundation/gameobject.hpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
39
2015-05-18T08:29:16.000Z
2020-07-18T21:17:44.000Z
include/foundation/gameobject.hpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
null
null
null
#ifndef QRW_GAMEOBJECT_HPP #define QRW_GAMEOBJECT_HPP #include <map> #include <typeinfo> #include <typeindex> #include <cassert> #include <functional> #include <foundation/gamecomponent.hpp> #include "meta/reflectable.hpp" namespace qrw { class GameComponent; class GameObject : public Reflectable { public: GameO...
24.727273
102
0.756127
09a994f79ffde40a6455a8f05ceb83d9f5aa9c8a
421
cpp
C++
CodeFourses/A.HelpfulMaths.cpp
Rafat97/RafatProgtammingContest
f39ef6a71511abb91d42c6af469e4b24959be226
[ "Apache-2.0" ]
null
null
null
CodeFourses/A.HelpfulMaths.cpp
Rafat97/RafatProgtammingContest
f39ef6a71511abb91d42c6af469e4b24959be226
[ "Apache-2.0" ]
null
null
null
CodeFourses/A.HelpfulMaths.cpp
Rafat97/RafatProgtammingContest
f39ef6a71511abb91d42c6af469e4b24959be226
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> #include<algorithm> using namespace std; int main(void) { char str[500],str1[500]; int i = 0; gets(str); for(int j = 0;j<strlen(str);i++,j = j + 2 ) str1[i] = str[j]; str1[i] = '\0'; sort(str1,str1+strlen(str1)); for(int j...
13.580645
53
0.524941
09acab92de7bc049d3b6f4ac9b00aa0877acd311
174
cpp
C++
unsafe_coerce/unsafe-coerce.cpp
mikesol/purescript-native-cpp-ffi
3805115716e7f5dfe3b046c2e2967bfbdf2ce19f
[ "MIT" ]
11
2019-07-28T14:19:04.000Z
2021-06-11T11:40:43.000Z
unsafe_coerce/unsafe-coerce.cpp
andyarvanitis/purescript-cpp-ffi
268567879eed9a1da8450f07277382a76c658a90
[ "MIT" ]
4
2018-11-16T07:59:01.000Z
2019-05-19T01:03:06.000Z
unsafe_coerce/unsafe-coerce.cpp
andyarvanitis/purescript-cpp-ffi
268567879eed9a1da8450f07277382a76c658a90
[ "MIT" ]
4
2019-12-22T05:36:30.000Z
2021-11-08T09:49:59.000Z
#include "purescript.h" // Tested with package v4.0.0 FOREIGN_BEGIN( Unsafe_Coerce ) exports["unsafeCoerce"] = [](const boxed& x) -> boxed { return x; }; FOREIGN_END
14.5
55
0.678161
09ad28d0d52ed20c83b23d6d45647ed5aafc88b4
6,374
cpp
C++
apps/Viewer/src/Preferences.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
217
2015-01-06T09:26:53.000Z
2022-03-23T14:03:18.000Z
apps/Viewer/src/Preferences.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
10
2015-01-25T12:42:05.000Z
2017-11-28T16:10:16.000Z
apps/Viewer/src/Preferences.cpp
asuessenbach/pipeline
2e49968cc3b9948a57f7ee6c4cc3258925c92ab2
[ "BSD-3-Clause" ]
44
2015-01-13T01:19:41.000Z
2022-02-21T21:35:08.000Z
// Copyright (c) 2009-2015, NVIDIA CORPORATION. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of con...
27.239316
119
0.720427
09add7639eb5ac4f02e6860c199f00c18a66e76e
834
cc
C++
chrome/browser/lite_video/lite_video_navigation_metrics.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/lite_video/lite_video_navigation_metrics.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/lite_video/lite_video_navigation_metrics.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/lite_video/lite_video_navigation_metrics.h" namespace lite_video { LiteVideoNavigationMetrics::LiteVideoNavigationMetrics( ...
30.888889
73
0.791367
09b0ad0b6b27c21c962625822124d58e14ea0684
1,701
cpp
C++
src/main/zsystem/Backtrace.cpp
SLukasDE/zsystem
d75d361e5e0226416d1f143051195a30530bc128
[ "MIT" ]
null
null
null
src/main/zsystem/Backtrace.cpp
SLukasDE/zsystem
d75d361e5e0226416d1f143051195a30530bc128
[ "MIT" ]
null
null
null
src/main/zsystem/Backtrace.cpp
SLukasDE/zsystem
d75d361e5e0226416d1f143051195a30530bc128
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2019-2021 Sven Lukas 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, publish,...
31.5
78
0.741329
09b188ab2977012c024f7d11d6a5061d0ddb63f5
3,873
cpp
C++
src/shader_gl.cpp
google/fplbase
57c83296659469cf51db142baec3039edd347476
[ "Apache-2.0" ]
233
2015-11-18T23:24:26.000Z
2022-01-20T20:44:07.000Z
src/shader_gl.cpp
google/fplbase
57c83296659469cf51db142baec3039edd347476
[ "Apache-2.0" ]
10
2017-04-10T00:57:19.000Z
2022-01-20T20:46:17.000Z
src/shader_gl.cpp
google/fplbase
57c83296659469cf51db142baec3039edd347476
[ "Apache-2.0" ]
56
2016-01-04T09:55:19.000Z
2022-01-20T20:44:14.000Z
// Copyright 2014 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
34.891892
81
0.731991
09b1d686c973d57dbff589cd1f60935d614eb813
631
cpp
C++
platform/android/CCStorePaymentTransactionWrapper.cpp
kpkhxlgy0/cocos2dh-js
d84f76b505ad0f2fdb799721352a4f510795a096
[ "MIT" ]
2
2017-11-17T02:54:32.000Z
2018-11-26T08:17:23.000Z
platform/android/CCStorePaymentTransactionWrapper.cpp
kpkhxlgy0/cocos2dh-js
d84f76b505ad0f2fdb799721352a4f510795a096
[ "MIT" ]
null
null
null
platform/android/CCStorePaymentTransactionWrapper.cpp
kpkhxlgy0/cocos2dh-js
d84f76b505ad0f2fdb799721352a4f510795a096
[ "MIT" ]
null
null
null
#include "../../quick/store/CCStorePaymentTransactionWrapper.h" // #import <StoreKit/StoreKit.h> NS_CC_H_BEGIN CCStorePaymentTransactionWrapper* CCStorePaymentTransactionWrapper::createWithTransaction(void* transactionObj) { // CCStorePaymentTransactionWrapper* transaction = new CCStorePaymentTransactionWrapper(...
28.681818
111
0.787639
09b245f9822725804c1bba279af9c48adcf4197a
7,300
cpp
C++
src/software/simulation/physics/simulation_contact_listener.cpp
EvanMorcom/Software
586fb3cf8dc2d93de194d9815af5de63caa7e318
[ "MIT" ]
null
null
null
src/software/simulation/physics/simulation_contact_listener.cpp
EvanMorcom/Software
586fb3cf8dc2d93de194d9815af5de63caa7e318
[ "MIT" ]
null
null
null
src/software/simulation/physics/simulation_contact_listener.cpp
EvanMorcom/Software
586fb3cf8dc2d93de194d9815af5de63caa7e318
[ "MIT" ]
null
null
null
#include "software/simulation/physics/simulation_contact_listener.h" void SimulationContactListener::BeginContact(b2Contact *contact) { if (contact->IsTouching()) { auto fixture_a = contact->GetFixtureA(); auto fixture_b = contact->GetFixtureB(); PhysicsObjectUserData *user_data_a = ...
36.5
90
0.64137
09b4c813e5c3ad608ea37ed0d4b5b8c93ea9edb8
582
cpp
C++
6 - User defined functions/6.2 - Paramaters/activity/multiple_parameters.cpp
aTonyXiao/Zybook
36cd05a436c6ca007cdd14638cf5ee2a7724b889
[ "MIT" ]
11
2017-11-17T07:31:44.000Z
2020-12-05T14:46:56.000Z
6 - User defined functions/6.2 - Paramaters/activity/multiple_parameters.cpp
aTonyXiao/Zybook
36cd05a436c6ca007cdd14638cf5ee2a7724b889
[ "MIT" ]
null
null
null
6 - User defined functions/6.2 - Paramaters/activity/multiple_parameters.cpp
aTonyXiao/Zybook
36cd05a436c6ca007cdd14638cf5ee2a7724b889
[ "MIT" ]
1
2019-10-15T20:58:51.000Z
2019-10-15T20:58:51.000Z
#include <iostream> /* Modify PrintFace() to have three parameters: char eyeChar, char noseChar, char mouthChar. Call the function with arguments 'o', '*', and '#', which should draw this face: */ using namespace std; void PrintFace(char eye, char nose, char mouth) { // FIXME: Support 3 parameters cout << " " <...
32.333333
171
0.568729
09b5be6958269c0c89eb66cd5aa7d56479d2f59a
15,550
cpp
C++
CONTRIB/LLVM/_Demo/Lib_GZ/Gpu/ShaderModel/GzModel/GzShModel.cpp
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
1
2021-05-05T20:42:24.000Z
2021-05-05T20:42:24.000Z
CONTRIB/LLVM/_Demo/Lib_GZ/Gpu/ShaderModel/GzModel/GzShModel.cpp
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
null
null
null
CONTRIB/LLVM/_Demo/Lib_GZ/Gpu/ShaderModel/GzModel/GzShModel.cpp
Cwc-Test/CpcdosOS2.1
d52c170be7f11cc50de38ef536d4355743d21706
[ "Apache-2.0" ]
null
null
null
//This file is part of "GZE - GroundZero Engine" //The permisive licence allow to use GZE for free or commercial project (Apache License, Version 2.0). //For conditions of distribution and use, see copyright notice in Licence.txt, this license must be included with any distribution of the code. //Though not required...
51.490066
179
0.668746
09b681e2e346b95e8f5cf0197356b2b9a8c9b28e
23,151
cpp
C++
source/directxtk/src/skinnedeffect.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
38
2015-04-10T13:31:03.000Z
2021-09-03T22:34:05.000Z
source/directxtk/src/skinnedeffect.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
1
2020-07-09T09:48:44.000Z
2020-07-12T12:41:43.000Z
source/directxtk/src/skinnedeffect.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
12
2015-06-29T08:06:57.000Z
2021-10-13T13:11:41.000Z
//-------------------------------------------------------------------------------------- // File: SkinnedEffect.cpp // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // // http://go.microsoft.com/fwlink/?LinkID=615561 //---------------------------------------------------...
36.515773
174
0.735951
09b73349df2ba20e88ad4f8b2f8c93915cb63fad
4,788
cpp
C++
qt-creator-opensource-src-4.6.1/src/plugins/qmlprofiler/tests/debugmessagesmodel_test.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
qt-creator-opensource-src-4.6.1/src/plugins/qmlprofiler/tests/debugmessagesmodel_test.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
null
null
null
qt-creator-opensource-src-4.6.1/src/plugins/qmlprofiler/tests/debugmessagesmodel_test.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
33.71831
95
0.648496
09b7f1f42ab823cf89e9aaf5c5d453e051582626
3,155
cpp
C++
Drivers/Driver_Lagrange/src/Utils/utilities.cpp
matteofrigo5/HPC_ReverseAugmentedConstrained
d4beca47750177b34da7289f10865fb7043c76e7
[ "MIT" ]
null
null
null
Drivers/Driver_Lagrange/src/Utils/utilities.cpp
matteofrigo5/HPC_ReverseAugmentedConstrained
d4beca47750177b34da7289f10865fb7043c76e7
[ "MIT" ]
null
null
null
Drivers/Driver_Lagrange/src/Utils/utilities.cpp
matteofrigo5/HPC_ReverseAugmentedConstrained
d4beca47750177b34da7289f10865fb7043c76e7
[ "MIT" ]
null
null
null
#include <iostream> #include <mpi.h> #include "utilities.hpp" #define PRINTVALS true namespace { bool compareChar( char const & c1, char const & c2 ) { if( c1 == c2 ) { return true; } else if( std::toupper( c1 ) == std::toupper( c2 ) ) { return true; } return false; } void mpi_print( char con...
18.892216
114
0.575594
09b8036e41919e4437ddc07e990ee625613ba8d3
24,309
cpp
C++
ref.neo/tools/compilers/roqvq/roq.cpp
Grimace1975/bclcontrib-scriptsharp
8c1b05024404e9115be96a328c79a8555eca2e4a
[ "MIT" ]
null
null
null
ref.neo/tools/compilers/roqvq/roq.cpp
Grimace1975/bclcontrib-scriptsharp
8c1b05024404e9115be96a328c79a8555eca2e4a
[ "MIT" ]
null
null
null
ref.neo/tools/compilers/roqvq/roq.cpp
Grimace1975/bclcontrib-scriptsharp
8c1b05024404e9115be96a328c79a8555eca2e4a
[ "MIT" ]
null
null
null
/* =========================================================================== Doom 3 GPL Source Code Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). Doom 3 Source Code is free software: you can redistribute it and/or modify...
28.398364
342
0.679378
09b8eb1a11c791f4a277c56baaa67b3eedd10a97
6,621
cpp
C++
sys/sync/mutex.cpp
apexrtos/apex
9538ab2f5b974035ca30ca8750479bdefe153047
[ "0BSD" ]
15
2020-05-08T06:21:58.000Z
2021-12-11T18:10:43.000Z
sys/sync/mutex.cpp
apexrtos/apex
9538ab2f5b974035ca30ca8750479bdefe153047
[ "0BSD" ]
11
2020-05-08T06:46:37.000Z
2021-03-30T05:46:03.000Z
sys/sync/mutex.cpp
apexrtos/apex
9538ab2f5b974035ca30ca8750479bdefe153047
[ "0BSD" ]
5
2020-08-31T17:05:03.000Z
2021-12-08T07:09:00.000Z
/*- * Copyright (c) 2005-2007, Kohsuke Ohtani * 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 o...
24.164234
77
0.70518
09bdec9cac21096c77cf1a697bb159786bbd6dd9
3,803
cxx
C++
src/translation/AddressSuffixRegistry.cxx
CM4all/beng-proxy
ce5a81f7969bc5cb6c5985cdc98f61ef8b5c6159
[ "BSD-2-Clause" ]
35
2017-08-16T06:52:26.000Z
2022-03-27T21:49:01.000Z
src/translation/AddressSuffixRegistry.cxx
nn6n/beng-proxy
2cf351da656de6fbace3048ee90a8a6a72f6165c
[ "BSD-2-Clause" ]
2
2017-12-22T15:34:23.000Z
2022-03-08T04:15:23.000Z
src/translation/AddressSuffixRegistry.cxx
nn6n/beng-proxy
2cf351da656de6fbace3048ee90a8a6a72f6165c
[ "BSD-2-Clause" ]
8
2017-12-22T15:11:47.000Z
2022-03-15T22:54:04.000Z
/* * Copyright 2007-2021 CM4all GmbH * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the abo...
29.48062
73
0.723639
09c285942f2d4692bb2914a9e6586c04daa43b61
2,703
cpp
C++
Code/Games/SampleGamePlugin/Components/RedursiveGrowthComponent.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
Code/Games/SampleGamePlugin/Components/RedursiveGrowthComponent.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
Code/Games/SampleGamePlugin/Components/RedursiveGrowthComponent.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
#include <SampleGamePluginPCH.h> #include <Core/WorldSerializer/WorldReader.h> #include <Core/WorldSerializer/WorldWriter.h> #include <SampleGamePlugin/Components/RedursiveGrowthComponent.h> // clang-format off EZ_BEGIN_COMPONENT_TYPE(RecursiveGrowthComponent, 2, ezComponentMode::Static) { EZ_BEGIN_PROPERTIES { ...
27.865979
141
0.748428
09c3d51599805cfb434d2f62d15b02449c598599
1,581
cpp
C++
emulator/src/mame/video/ac1.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
1
2022-01-15T21:38:38.000Z
2022-01-15T21:38:38.000Z
emulator/src/mame/video/ac1.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
emulator/src/mame/video/ac1.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
// license:BSD-3-Clause // copyright-holders:Miodrag Milanovic /*************************************************************************** AC1 video driver by Miodrag Milanovic 15/01/2009 Preliminary driver. ****************************************************************************/ #include "emu...
25.5
112
0.532574
09caa4186487020a4c01fbf8e2ed0fe02792e90b
506
hpp
C++
sources/Notebook.hpp
sandler2806/cpp-Task2b
9c656c86044e6b67cb1dae58c09d7757cc752a83
[ "MIT" ]
null
null
null
sources/Notebook.hpp
sandler2806/cpp-Task2b
9c656c86044e6b67cb1dae58c09d7757cc752a83
[ "MIT" ]
null
null
null
sources/Notebook.hpp
sandler2806/cpp-Task2b
9c656c86044e6b67cb1dae58c09d7757cc752a83
[ "MIT" ]
null
null
null
#include "Direction.hpp" #include <string> // for string class #include <unordered_map> using namespace std; namespace ariel{ class Notebook { unordered_map<string, array<char,100>> map; public: void write( int page,int row, int column, Direction dir, string str); string ...
28.111111
79
0.636364
09cc031771e3558dd8d02235bbd5e81a05d66429
460,760
cpp
C++
Procedural Terrain_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Bulk_mscorlib_17.cpp
bsgbryan/MinTuts
a1bb11ccee0ff10e6a9594bdeb02d41f965df169
[ "MIT" ]
1
2021-06-04T18:35:56.000Z
2021-06-04T18:35:56.000Z
Procedural Terrain_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Bulk_mscorlib_17.cpp
bsgbryan/MinTuts
a1bb11ccee0ff10e6a9594bdeb02d41f965df169
[ "MIT" ]
null
null
null
Procedural Terrain_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Bulk_mscorlib_17.cpp
bsgbryan/MinTuts
a1bb11ccee0ff10e6a9594bdeb02d41f965df169
[ "MIT" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "i...
40.760793
473
0.799416
09cfd0af802e077f58331b449d3787aa8dbb69a4
666
cpp
C++
lib/rpkeys/base.cpp
seanhagen/macropad
3375e427f5606bec0d1b50ca44ac9140e686a6da
[ "MIT" ]
null
null
null
lib/rpkeys/base.cpp
seanhagen/macropad
3375e427f5606bec0d1b50ca44ac9140e686a6da
[ "MIT" ]
null
null
null
lib/rpkeys/base.cpp
seanhagen/macropad
3375e427f5606bec0d1b50ca44ac9140e686a6da
[ "MIT" ]
null
null
null
#include "base.h" /* Station::Station(void) { _setup(); } Station::Station(stationConfig conf) { _config = conf; _setup(); } */ RPKeyboard::RPKeyboard() { Serial.begin(115200); // while (!Serial) { delay(10); } // wait till serial port is opened delay(100); // RP2040 delay is not a bad idea Serial.p...
18.5
74
0.633634
09d052200eb4a0a2e2dce198359ddb925f636a40
22
cpp
C++
Coffee/src/CoffeePCH.cpp
SentientCoffee/HazelnutEngine
b1e9e29d50119a2882d840c47078363db71b266b
[ "Apache-2.0" ]
1
2020-07-19T20:07:25.000Z
2020-07-19T20:07:25.000Z
Coffee/src/CoffeePCH.cpp
SentientCoffee/CoffeeEngine
b1e9e29d50119a2882d840c47078363db71b266b
[ "Apache-2.0" ]
null
null
null
Coffee/src/CoffeePCH.cpp
SentientCoffee/CoffeeEngine
b1e9e29d50119a2882d840c47078363db71b266b
[ "Apache-2.0" ]
null
null
null
#include "CoffeePCH.h"
22
22
0.772727
09d26388b8b89fbfaa1d1e750faa1902c5880c87
897
cpp
C++
sources/RandNano.cpp
usernameHed/Worms
35ee28362b936b46d24e7c911a46a2cfd615128b
[ "MIT" ]
null
null
null
sources/RandNano.cpp
usernameHed/Worms
35ee28362b936b46d24e7c911a46a2cfd615128b
[ "MIT" ]
null
null
null
sources/RandNano.cpp
usernameHed/Worms
35ee28362b936b46d24e7c911a46a2cfd615128b
[ "MIT" ]
null
null
null
#include "RandNano.hh" #include <cstdlib> #include <ctime> #include <stdio.h> #include <stdlib.h> #include <time.h> #ifdef _WIN32 #include <Windows.h> #endif #ifdef __MACH__ #include <mach/clock.h> #include <mach/mach.h> #endif RandNano::RandNano() { this->setRandInNano(); } RandNano::~RandNano() { } void RandNan...
18.6875
71
0.740245
09d28960d296bbb22f4969a271c8ac4a9ca05326
3,882
hpp
C++
src/types/ds/circular_queue.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2020-07-31T14:13:56.000Z
2021-02-03T09:51:43.000Z
src/types/ds/circular_queue.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
28
2015-09-22T07:38:21.000Z
2018-10-02T11:00:58.000Z
src/types/ds/circular_queue.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2018-10-11T14:10:50.000Z
2021-02-27T08:53:50.000Z
#ifndef CIRCULAR_QUEUE_HPP #define CIRCULAR_QUEUE_HPP /* https://leetcode.com/problems/design-circular-queue/description/ Design your implementation of the circular queue. The circular queue is a linear data structure in which the operations are performed based on FIFO (First In First Out) principle and the last posit...
27.338028
79
0.627769
09d83033574328c83b5c540bf4c080b54efd4fae
16,526
cc
C++
src/mshines_render.cc
fuzziqersoftware/realmz_dasm
fbfa118de5f232fd7169fbff13d434164a67ee90
[ "MIT" ]
1
2018-03-20T13:06:16.000Z
2018-03-20T13:06:16.000Z
src/mshines_render.cc
fuzziqersoftware/realmz_dasm
fbfa118de5f232fd7169fbff13d434164a67ee90
[ "MIT" ]
null
null
null
src/mshines_render.cc
fuzziqersoftware/realmz_dasm
fbfa118de5f232fd7169fbff13d434164a67ee90
[ "MIT" ]
null
null
null
#include <inttypes.h> #include <stdlib.h> #include <phosg/Encoding.hh> #include <phosg/Filesystem.hh> #include <phosg/Image.hh> #include <phosg/Strings.hh> #include <stdexcept> #include <vector> #include "IndexFormats/Formats.hh" #include "ResourceFile.hh" using namespace std; struct MonkeyShinesRoom { struct E...
38.432558
113
0.62084
09dbed8a7f6d0555307598f6c79b491a822cbca0
396
hpp
C++
src/backgroundParticles.hpp
minhoolee/SaveTheWorld
e9d65092237db38fa475d5e32d7b71c477d303dd
[ "BSD-3-Clause" ]
null
null
null
src/backgroundParticles.hpp
minhoolee/SaveTheWorld
e9d65092237db38fa475d5e32d7b71c477d303dd
[ "BSD-3-Clause" ]
null
null
null
src/backgroundParticles.hpp
minhoolee/SaveTheWorld
e9d65092237db38fa475d5e32d7b71c477d303dd
[ "BSD-3-Clause" ]
null
null
null
#ifndef BACKGROUND_PARTICLES_HPP #define BACKGROUND_PARTICLES_HPP #include <SFML/Graphics.hpp> #include <array> class BackgroundParticles { public: BackgroundParticles(int n); void animateParticlesIdle(); void animateParticlesMovement(); std::array<sf::CircleShape, 50> backgroundParticles; ...
18.857143
55
0.739899
09dda72d49223f6f6f3d62cb095ff8988e65c2b8
1,489
cpp
C++
src/generated/ldb_trooppagecondition_flags.cpp
Albeleon/liblcf
d9dd24d0026b3ab36adb291d205c405122a4332c
[ "MIT" ]
null
null
null
src/generated/ldb_trooppagecondition_flags.cpp
Albeleon/liblcf
d9dd24d0026b3ab36adb291d205c405122a4332c
[ "MIT" ]
null
null
null
src/generated/ldb_trooppagecondition_flags.cpp
Albeleon/liblcf
d9dd24d0026b3ab36adb291d205c405122a4332c
[ "MIT" ]
null
null
null
/* !!!! GENERATED FILE - DO NOT EDIT !!!! * -------------------------------------- * * This file is part of liblcf. Copyright (c) 2017 liblcf authors. * https://github.com/EasyRPG/liblcf - https://easyrpg.org * * liblcf is Free/Libre Open Source Software, released under the MIT License. * For the full copyright ...
33.088889
77
0.709872
09df4b2eb1349a31d6bcc3ae7c01a67b8388a4d3
6,620
cpp
C++
src/models/reviewsmodel.cpp
Maledictus/harbour-sailreads
2c58aa266ef2dacb790b857c3b6aced937da5c0e
[ "MIT" ]
3
2019-01-05T09:54:19.000Z
2019-02-26T09:20:23.000Z
src/models/reviewsmodel.cpp
Maledictus/harbour-sailreads
2c58aa266ef2dacb790b857c3b6aced937da5c0e
[ "MIT" ]
1
2019-01-03T10:02:01.000Z
2019-01-03T14:08:16.000Z
src/models/reviewsmodel.cpp
Maledictus/harbour-sailreads
2c58aa266ef2dacb790b857c3b6aced937da5c0e
[ "MIT" ]
null
null
null
/* Copyright (c) 2018-2019 Oleg Linkin <maledictusdemagog@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modi...
25.960784
97
0.666465