hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
a7c0606bdbb144f0aba39c21d10f36dbc4c703e4
2,875
cpp
C++
3rdparty/webkit/Source/WebCore/html/HTMLPictureElement.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
1
2020-05-25T16:06:49.000Z
2020-05-25T16:06:49.000Z
3rdparty/webkit/Source/WebCore/html/HTMLPictureElement.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
null
null
null
3rdparty/webkit/Source/WebCore/html/HTMLPictureElement.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
1
2019-01-25T13:55:25.000Z
2019-01-25T13:55:25.000Z
/* * Copyright (C) 2015 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
37.337662
155
0.758957
mchiasson
a7c140b163443b78c5b1557c8da80952dece5eb7
9,328
cpp
C++
source/rpgss/TokenParser.cpp
kyuu/dynrpg-rpgss
ee534373b41728e282fc20691b6c94279df5e4c9
[ "MIT" ]
5
2015-10-07T15:09:59.000Z
2021-12-16T06:15:23.000Z
source/rpgss/TokenParser.cpp
kyuu/dynrpg-rpgss
ee534373b41728e282fc20691b6c94279df5e4c9
[ "MIT" ]
null
null
null
source/rpgss/TokenParser.cpp
kyuu/dynrpg-rpgss
ee534373b41728e282fc20691b6c94279df5e4c9
[ "MIT" ]
2
2016-12-09T10:06:28.000Z
2018-10-05T01:42:43.000Z
/* The MIT License (MIT) Copyright (c) 2014 Anatoli Steinmark 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 ...
38.229508
101
0.37039
kyuu
a7c156e5df68ae9aff1a6b49a3208ae16caf7c63
2,364
cpp
C++
Source/AllProjects/CQCMEng/CQCMEng_ThisFacility.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/CQCMEng/CQCMEng_ThisFacility.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/CQCMEng/CQCMEng_ThisFacility.cpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: CQCMEng_ThisFacility.cpp // // AUTHOR: Dean Roddey // // CREATED: 06/24/2015 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://op...
27.811765
78
0.460237
MarkStega
a7c45e68a2cdc5c8955d5628893eecc69ea0f9b3
365
cpp
C++
LectureCode/Review/review.cpp
wsun23/ncstate_ece566_spring2022
419d05720622d9886ebb32bb1ed41c4036913d5b
[ "MIT" ]
5
2022-01-27T21:11:55.000Z
2022-02-16T03:35:40.000Z
LectureCode/Review/review.cpp
wsun23/ncstate_ece566_spring2022
419d05720622d9886ebb32bb1ed41c4036913d5b
[ "MIT" ]
null
null
null
LectureCode/Review/review.cpp
wsun23/ncstate_ece566_spring2022
419d05720622d9886ebb32bb1ed41c4036913d5b
[ "MIT" ]
13
2022-01-13T22:48:48.000Z
2022-03-18T21:56:00.000Z
// review #include <stdio.h> enum Opcode { ADD = 0, SUB = 1 }; enum Register { R0 = 0, R1 = 1, R2 = 2 }; typedef struct { Opcode opcode; Register dest; // int means the register number Register src1; Register src2; } Instruction; int main() { Instruction add = { ADD, R0, R1, R2 }; Instructio...
11.774194
49
0.589041
wsun23
a7c53ffa59f3d4efe823633584e408f8db16d4c0
905
cc
C++
src/tritonsort/benchmarks/endianconversionbench/main.cc
anku94/themis_tritonsort
68fd3e2f1c0b2947e187151a2e9717f6b9b0ed0d
[ "BSD-3-Clause" ]
11
2015-12-14T05:35:17.000Z
2021-11-08T22:02:32.000Z
src/tritonsort/benchmarks/endianconversionbench/main.cc
anku94/themis_tritonsort
68fd3e2f1c0b2947e187151a2e9717f6b9b0ed0d
[ "BSD-3-Clause" ]
null
null
null
src/tritonsort/benchmarks/endianconversionbench/main.cc
anku94/themis_tritonsort
68fd3e2f1c0b2947e187151a2e9717f6b9b0ed0d
[ "BSD-3-Clause" ]
8
2015-12-22T19:31:16.000Z
2020-12-15T12:09:00.000Z
#define _BSD_SOURCE #include <endian.h> #include <iostream> #include "core/ByteOrder.h" #include "core/Timer.h" int main(int argc, char** argv) { // Run 1 million conversions of DEADBEEF + i from host to big endian. uint64_t deadbeef = 0xDEADBEEF; uint64_t N = 1000000; uint64_t output = 0; Timer timer; ...
24.459459
72
0.592265
anku94
a7c5a59bb393d8337218a8578a6761b6e82715b6
16,474
cc
C++
analyzer/report_master/report_generator.cc
reMarkable/cobalt
3feead337a6bdf620df7a62abb72c910a566a38c
[ "BSD-3-Clause" ]
null
null
null
analyzer/report_master/report_generator.cc
reMarkable/cobalt
3feead337a6bdf620df7a62abb72c910a566a38c
[ "BSD-3-Clause" ]
null
null
null
analyzer/report_master/report_generator.cc
reMarkable/cobalt
3feead337a6bdf620df7a62abb72c910a566a38c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Fuchsia Authors // // 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...
38.762353
81
0.683805
reMarkable
a7c6eb53b9d9e041c6d01efd7a5c55684cd5bc6b
32,076
cpp
C++
src/elektronika/websrv.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
14
2016-05-09T01:14:03.000Z
2021-10-12T21:41:02.000Z
src/elektronika/websrv.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
null
null
null
src/elektronika/websrv.cpp
aestesis/elektronika
870f72ca7f64942f8316b3cd8f733f43c7d2d117
[ "Apache-2.0" ]
6
2015-08-19T01:28:54.000Z
2020-10-25T05:17:08.000Z
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // WEBSRV.CPP (c) YoY'01 WEB: www.aestesis.org // /////////...
32.269618
140
0.384587
aestesis
a7c7193dacfc93221c95ec8c3f779f316a59f42f
1,037
cpp
C++
td/telegram/td_emscripten.cpp
darmiel/td
0755816040bc323769578f551d9be31804517d6f
[ "BSL-1.0" ]
4
2020-12-08T10:53:18.000Z
2020-12-13T03:43:01.000Z
td/telegram/td_emscripten.cpp
darmiel/td
0755816040bc323769578f551d9be31804517d6f
[ "BSL-1.0" ]
null
null
null
td/telegram/td_emscripten.cpp
darmiel/td
0755816040bc323769578f551d9be31804517d6f
[ "BSL-1.0" ]
null
null
null
// // Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2020 // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include "td/actor/ConcurrentScheduler.h" #include "td/teleg...
25.292683
96
0.775313
darmiel
a7c7ab218b9e312f69f2058ff1f75db3d3bfc347
5,824
cpp
C++
src/compsys/MetaComponent.cpp
Oberon00/jd
0724e059cfa56615afb0a50c27ce9885faa54ed6
[ "BSD-2-Clause" ]
1
2015-10-10T14:05:56.000Z
2015-10-10T14:05:56.000Z
src/compsys/MetaComponent.cpp
Oberon00/jd
0724e059cfa56615afb0a50c27ce9885faa54ed6
[ "BSD-2-Clause" ]
null
null
null
src/compsys/MetaComponent.cpp
Oberon00/jd
0724e059cfa56615afb0a50c27ce9885faa54ed6
[ "BSD-2-Clause" ]
null
null
null
// Part of the Jade Engine -- Copyright (c) Christian Neumüller 2012--2013 // This file is subject to the terms of the BSD 2-Clause License. // See LICENSE.txt or http://opensource.org/licenses/BSD-2-Clause #include "compsys/MetaComponent.hpp" #include "ComponentRegistry.hpp" #include "compsys/Component.hpp" #include...
31.144385
102
0.648695
Oberon00
a7c8b1b07ffc4670b951bf8ee5e40dc286580097
16,425
ipp
C++
include/fvm/implementation/component/UVWKernels.ipp
thorbenlouw/CUP-CFD
d06f7673a1ed12bef24de4f1b828ef864fa45958
[ "MIT" ]
3
2021-06-24T10:20:12.000Z
2021-07-18T14:43:19.000Z
include/fvm/implementation/component/UVWKernels.ipp
thorbenlouw/CUP-CFD
d06f7673a1ed12bef24de4f1b828ef864fa45958
[ "MIT" ]
2
2021-07-22T15:31:03.000Z
2021-07-28T14:27:28.000Z
include/fvm/implementation/component/UVWKernels.ipp
thorbenlouw/CUP-CFD
d06f7673a1ed12bef24de4f1b828ef864fa45958
[ "MIT" ]
1
2021-07-22T15:24:24.000Z
2021-07-22T15:24:24.000Z
/* * @file * @author University of Warwick * @version 1.0 * * @section LICENSE * These kernels were ported to C++/derived from Dolfyn: * Copyright 2003-2009 Henk Krus, Cyclone Fluid Dynamics BV * All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this f...
29.918033
128
0.561157
thorbenlouw
a7cb9a2c143254217942cbfb71b3dbaf38a32baf
47
hpp
C++
src/boost_property_tree_string_path.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_property_tree_string_path.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_property_tree_string_path.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/property_tree/string_path.hpp>
23.5
46
0.829787
miathedev
a7cd43c1c87b0dba2e88adb0fe269ed11f6a68b5
1,024
cpp
C++
source/Primitive.cpp
Bbenchaya/CG_ex2
391caf8a26f0ceb99c1fc68d8d64522466279ac9
[ "Unlicense", "MIT" ]
null
null
null
source/Primitive.cpp
Bbenchaya/CG_ex2
391caf8a26f0ceb99c1fc68d8d64522466279ac9
[ "Unlicense", "MIT" ]
null
null
null
source/Primitive.cpp
Bbenchaya/CG_ex2
391caf8a26f0ceb99c1fc68d8d64522466279ac9
[ "Unlicense", "MIT" ]
null
null
null
// // Primitive.cpp // CG_EX2 // // Created by Asaf Chelouche on 20/11/15. // Copyright © 2015 Bbenchaya. All rights reserved. // #include "Primitive.hpp" Primitive::Primitive() : type('\0'){ } Primitive::Primitive(char type) : type(type){ } Primitive& Primitive::operator=(const Primitive &other){ ...
17.355932
68
0.671875
Bbenchaya
a7d01f942a2b7f2305464820baabd457ef156e96
4,070
cpp
C++
redis-desktop-manager/source/redis/RedisConnectionOverSsh.cpp
ilineicry/amr
c606990e92f1a95ff10f0a55cc83619f59b31c5d
[ "MIT" ]
null
null
null
redis-desktop-manager/source/redis/RedisConnectionOverSsh.cpp
ilineicry/amr
c606990e92f1a95ff10f0a55cc83619f59b31c5d
[ "MIT" ]
null
null
null
redis-desktop-manager/source/redis/RedisConnectionOverSsh.cpp
ilineicry/amr
c606990e92f1a95ff10f0a55cc83619f59b31c5d
[ "MIT" ]
null
null
null
#include "RedisConnectionOverSsh.h" #include "Command.h" #include "Response.h" #define MAX_BUFFER_SIZE 536870999 //redis response limit RedisConnectionOverSsh::RedisConnectionOverSsh(const RedisConnectionConfig &c) : RedisConnectionAbstract(c), socket(nullptr), isHostKeyAlreadyAdded(false), socketConnected(false) {...
19.661836
101
0.707371
ilineicry
a7d138fd1dede1938dc88228a1f8a601b9c3d419
32,104
cpp
C++
src/IL/ILInstr.cpp
fencl/Crs
902f6f293bcf33ff71ca6cfc306d8b833d1e0e63
[ "MIT" ]
null
null
null
src/IL/ILInstr.cpp
fencl/Crs
902f6f293bcf33ff71ca6cfc306d8b833d1e0e63
[ "MIT" ]
null
null
null
src/IL/ILInstr.cpp
fencl/Crs
902f6f293bcf33ff71ca6cfc306d8b833d1e0e63
[ "MIT" ]
null
null
null
#include "IL.hpp" namespace Crs { using il_l_itr = std::vector<std::uint8_t>::iterator&; using il_b = ILBlock*&; struct il_no_pass { }; #define il_exec static errvoid exec(ILInstruction instr,il_l_itr it, il_b block, il_no_pass& pass) { #define il_print static errvoid print(ILInstruction instr,il_l_itr it, il...
36.234763
158
0.675523
fencl
a7d481f6cabea71f16c779dff2e5a52a3d6dbc2d
2,351
cpp
C++
tests/failed/main.cpp
igagis/testy
a38281336816bec1651d818fa7aad89ecade17b2
[ "MIT" ]
8
2021-04-16T13:17:20.000Z
2022-01-05T09:14:03.000Z
tests/failed/main.cpp
igagis/testy
a38281336816bec1651d818fa7aad89ecade17b2
[ "MIT" ]
16
2021-04-19T07:59:52.000Z
2022-02-07T11:14:55.000Z
tests/failed/main.cpp
igagis/testy
a38281336816bec1651d818fa7aad89ecade17b2
[ "MIT" ]
3
2021-04-17T02:33:46.000Z
2022-02-21T15:37:55.000Z
#include "../../src/tst/application.hpp" #include "../../src/tst/check.hpp" #include "../harness/testees.hpp" namespace{ class fixture{ public: fixture() = default; fixture(const std::pair<int, int>& p) : a(p.first) {} fixture(const fixture&) = delete; int a = 10; }; } namespace{ struct some_unknown_excep...
20.094017
78
0.58741
igagis
a7dbf77fd95783f96e05334686015efffabffc10
3,006
cpp
C++
caffe/src/caffe/test/test_solver.cpp
blitzingeagle/DeepEmbeddedClustering
cbc648fc9271f74c3bb257f57f0f78e1a1a66459
[ "MIT" ]
408
2015-11-19T21:50:16.000Z
2022-03-22T08:17:26.000Z
caffe/src/caffe/test/test_solver.cpp
blitzingeagle/DeepEmbeddedClustering
cbc648fc9271f74c3bb257f57f0f78e1a1a66459
[ "MIT" ]
29
2016-05-18T10:24:00.000Z
2021-09-26T21:43:46.000Z
caffe/src/caffe/test/test_solver.cpp
blitzingeagle/DeepEmbeddedClustering
cbc648fc9271f74c3bb257f57f0f78e1a1a66459
[ "MIT" ]
152
2015-11-24T17:30:36.000Z
2021-11-11T07:17:03.000Z
#include <string> #include <utility> #include <vector> #include "google/protobuf/text_format.h" #include "gtest/gtest.h" #include "caffe/common.hpp" #include "caffe/proto/caffe.pb.h" #include "caffe/solver.hpp" #include "caffe/test/test_caffe_main.hpp" using std::ostringstream; namespace caffe { template <typenam...
27.833333
72
0.576181
blitzingeagle
a7dcf745a43afc34281af88fd981a2f6559de471
48
hpp
C++
src/boost_algorithm_string_iter_find.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_algorithm_string_iter_find.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_algorithm_string_iter_find.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/algorithm/string/iter_find.hpp>
24
47
0.8125
miathedev
a7de6674cd983ad6944ae2e529eb76440eb722c6
1,834
cpp
C++
sources/libs/common/Hardware/stm32/2XX/stm207.cpp
ghsecuritylab/S8-53M
8601df20ffca9b26cbbaaa4e4705fbf2a7ff7557
[ "MIT" ]
null
null
null
sources/libs/common/Hardware/stm32/2XX/stm207.cpp
ghsecuritylab/S8-53M
8601df20ffca9b26cbbaaa4e4705fbf2a7ff7557
[ "MIT" ]
null
null
null
sources/libs/common/Hardware/stm32/2XX/stm207.cpp
ghsecuritylab/S8-53M
8601df20ffca9b26cbbaaa4e4705fbf2a7ff7557
[ "MIT" ]
null
null
null
#pragma clang diagnostic ignored "-Wold-style-cast" #pragma clang diagnostic ignored "-Wpadded" #include <stm32f2xx.h> #pragma clang diagnostic warning "-Wpadded" #include "stm207.h" ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////...
38.208333
150
0.621047
ghsecuritylab
a7dec5eba5baa52eaf6befc87719d1aec27d3ea9
5,026
hpp
C++
include/eve/concept/value.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
null
null
null
include/eve/concept/value.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
null
null
null
include/eve/concept/value.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
null
null
null
//================================================================================================== /* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #pr...
33.959459
117
0.39037
leha-bot
a7defcb68bd56cd01c0f7cb513645b419f74f638
883
cc
C++
codeforces/486/c.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
1
2019-05-12T23:41:00.000Z
2019-05-12T23:41:00.000Z
codeforces/486/c.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
codeforces/486/c.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; using vi = vector<int>; using ii = pair<int,int>; using ll = long long; using llu = unsigned long long; const int INF = numeric_limits<int>::max(); int main() { int n, p; while (cin >> n >> p) { p--; string s; cin >> s; int left = n / 2; int right =...
21.02381
58
0.426954
metaflow
a7e2c5bd51a09198b501c9aa1463f25b95a82b50
1,531
cpp
C++
Singleton.cpp
kanirudh/design_patterns
79a289299d65b672d8362920898c810e92c840f3
[ "MIT" ]
null
null
null
Singleton.cpp
kanirudh/design_patterns
79a289299d65b672d8362920898c810e92c840f3
[ "MIT" ]
null
null
null
Singleton.cpp
kanirudh/design_patterns
79a289299d65b672d8362920898c810e92c840f3
[ "MIT" ]
null
null
null
/* * So lets say in your pgroam, there is one object * that should preform the function. * * This is many times called an Anti-Pattern. * * Why to do this * 1. It is easy to implement * 2. It is to share the object in the program * * Destruction of dependent Singletons, use the atexit() * * References: * 1...
23.19697
88
0.629001
kanirudh
a7e5076b591151ae983e0fec51ea1bd12d490940
1,142
cpp
C++
examples/advanced/mockAdvanced.cpp
mcci-catena/arduinounit
6c54942ab58653bd0780a4041a016596dae1128e
[ "MIT" ]
null
null
null
examples/advanced/mockAdvanced.cpp
mcci-catena/arduinounit
6c54942ab58653bd0780a4041a016596dae1128e
[ "MIT" ]
null
null
null
examples/advanced/mockAdvanced.cpp
mcci-catena/arduinounit
6c54942ab58653bd0780a4041a016596dae1128e
[ "MIT" ]
1
2022-03-09T09:54:03.000Z
2022-03-09T09:54:03.000Z
#if !defined(ARDUINO) // only used for "en vitro" tests (not on actual board) #include <stdlib.h> #include <sys/time.h> #include <time.h> #include "ArduinoUnit.h" #include "ArduinoUnitMock.h" int random(int n) { static bool setup = false; if (!setup) { srand(time(0)); setup = true; } return rand() % ...
19.355932
69
0.56042
mcci-catena
a7e5e8019d48e31c4be866729b5938626c6dec35
234
cpp
C++
EscapeRoomZ/item.cpp
ermario/ScapeRoomZ
2ec78b353248347cc5ad70e47daa06bc72c033b0
[ "MIT" ]
null
null
null
EscapeRoomZ/item.cpp
ermario/ScapeRoomZ
2ec78b353248347cc5ad70e47daa06bc72c033b0
[ "MIT" ]
null
null
null
EscapeRoomZ/item.cpp
ermario/ScapeRoomZ
2ec78b353248347cc5ad70e47daa06bc72c033b0
[ "MIT" ]
null
null
null
#include <iostream> #include "item.h" Item::Item(const char* title, const char* description, Entity* prev, ItemType item_type) : Entity(title, description, prev), item_type(item_type) { type = EntityType::ITEM; } Item::~Item() {}
19.5
90
0.709402
ermario
a7e81123f763f6adaed0a1135c901f72bb076e6e
8,516
cpp
C++
source/Lys/GUIModule/GUI_Manager_Loader.cpp
Tigole/Lys-Framework
c7a51261b78c69fbfd823c1d20617ef13ca83a39
[ "MIT" ]
null
null
null
source/Lys/GUIModule/GUI_Manager_Loader.cpp
Tigole/Lys-Framework
c7a51261b78c69fbfd823c1d20617ef13ca83a39
[ "MIT" ]
null
null
null
source/Lys/GUIModule/GUI_Manager_Loader.cpp
Tigole/Lys-Framework
c7a51261b78c69fbfd823c1d20617ef13ca83a39
[ "MIT" ]
null
null
null
#include "Lys/GUIModule/GUI_Manager_Loader.hpp" /* #include "XMLFileLoader.hpp" #include "GUI_Manager.hpp" #include "GUI_Element.hpp" #include "Elements/GUI_Button.hpp" #include "Elements/GUI_Layout.hpp" #include "GUI_Interface.hpp" #include "Environment.hpp" GUI_Manager_Interface_Loader::~GUI_Manager_Interface_Load...
24.684058
171
0.764443
Tigole
a7eafcd0ddd64f4cfe98c427867d583888e69abb
18,157
hpp
C++
rocsolver/clients/include/testing_larfb.hpp
LuckyBoyDE/rocSOLVER
6431459ce3f68b5a4c14b28b4ec35c25d664f0bc
[ "BSD-2-Clause" ]
null
null
null
rocsolver/clients/include/testing_larfb.hpp
LuckyBoyDE/rocSOLVER
6431459ce3f68b5a4c14b28b4ec35c25d664f0bc
[ "BSD-2-Clause" ]
null
null
null
rocsolver/clients/include/testing_larfb.hpp
LuckyBoyDE/rocSOLVER
6431459ce3f68b5a4c14b28b4ec35c25d664f0bc
[ "BSD-2-Clause" ]
null
null
null
/* ************************************************************************ * Copyright (c) 2020 Advanced Micro Devices, Inc. * ************************************************************************ */ #include "cblas_interface.h" #include "clientcommon.hpp" #include "norm.hpp" #include "rocsolver.hpp" #include "r...
37.748441
101
0.482514
LuckyBoyDE
a7ec82fa37951e40c15a0c76f0e5d086512204ba
2,977
cpp
C++
blast/src/objects/seqtable/BVector_data.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/src/objects/seqtable/BVector_data.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/src/objects/seqtable/BVector_data.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
/* $Id: BVector_data.cpp 580114 2019-02-11 15:08:11Z ucko $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Wor...
28.084906
91
0.660732
mycolab
a7f1f9671cf16c0899d22de32fe6b728ec5d6c51
4,302
cxx
C++
PipelineCLIBridge/qSlicerPipelineCLIBridgeModule.cxx
Connor-Bowley/SlicerPipelines
2fe92230fc6333951b7d99c272f3f2c34739624d
[ "Apache-2.0" ]
null
null
null
PipelineCLIBridge/qSlicerPipelineCLIBridgeModule.cxx
Connor-Bowley/SlicerPipelines
2fe92230fc6333951b7d99c272f3f2c34739624d
[ "Apache-2.0" ]
9
2021-11-08T20:42:49.000Z
2022-03-11T19:05:00.000Z
PipelineCLIBridge/qSlicerPipelineCLIBridgeModule.cxx
Connor-Bowley/SlicerPipelines
2fe92230fc6333951b7d99c272f3f2c34739624d
[ "Apache-2.0" ]
2
2022-01-21T09:13:40.000Z
2022-02-09T21:16:31.000Z
/*============================================================================== Program: 3D Slicer Portions (c) Copyright Brigham and Women's Hospital (BWH) All Rights Reserved. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable law or agreed to ...
36.151261
118
0.522315
Connor-Bowley
a7f4111a45f22cca6c817c291809e94c5e2299c2
16,692
cpp
C++
AppInfrastructure/IpcService/source/libdbus/DbusEventDispatcher.cpp
WKonieczny/Dobby
ade2f9724d05cb6ce365c4707bd397b74b8598f0
[ "Apache-2.0" ]
9
2020-07-17T15:45:29.000Z
2022-01-17T11:17:22.000Z
AppInfrastructure/IpcService/source/libdbus/DbusEventDispatcher.cpp
WKonieczny/Dobby
ade2f9724d05cb6ce365c4707bd397b74b8598f0
[ "Apache-2.0" ]
63
2020-06-18T07:57:45.000Z
2022-03-25T12:52:50.000Z
AppInfrastructure/IpcService/source/libdbus/DbusEventDispatcher.cpp
WKonieczny/Dobby
ade2f9724d05cb6ce365c4707bd397b74b8598f0
[ "Apache-2.0" ]
20
2020-07-20T09:51:15.000Z
2022-03-24T09:19:45.000Z
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2020 Sky UK * * 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...
29.967684
110
0.588725
WKonieczny
a7f48771f2c9bab2e8ce19d0f465d86b50fe7e17
4,197
cpp
C++
src/SoftRigidDynamicsWorld.cpp
AndresTraks/BulletSharp
c277666667f91c58191f4cfa97f117053de679ef
[ "MIT" ]
245
2015-01-02T14:11:26.000Z
2022-03-18T08:56:36.000Z
src/SoftRigidDynamicsWorld.cpp
AndresTraks/BulletSharp
c277666667f91c58191f4cfa97f117053de679ef
[ "MIT" ]
50
2015-01-04T22:32:21.000Z
2021-06-08T20:26:24.000Z
src/SoftRigidDynamicsWorld.cpp
AndresTraks/BulletSharp
c277666667f91c58191f4cfa97f117053de679ef
[ "MIT" ]
69
2015-04-03T15:38:44.000Z
2022-01-20T14:27:30.000Z
#include "StdAfx.h" #ifndef DISABLE_SOFTBODY #include "AlignedObjectArray.h" #include "BroadphaseInterface.h" #include "CollisionConfiguration.h" #include "ConstraintSolver.h" #include "DefaultSoftBodySolver.h" #include "Dispatcher.h" #include "SequentialImpulseConstraintSolver.h" #include "SoftRigidDynami...
28.746575
116
0.777937
AndresTraks
a7f83818819df34891fc6225ae6e8be97e44d42d
653
cpp
C++
DSA_Implementation/23. String/KMP/SubStringSearch_NaiveApproach.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
5
2021-02-14T17:48:21.000Z
2022-01-24T14:29:44.000Z
DSA_Implementation/23. String/KMP/SubStringSearch_NaiveApproach.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
DSA_Implementation/23. String/KMP/SubStringSearch_NaiveApproach.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; ///Time Complexity: O(n*m) /// n = str.size() /// m = pattern.size() bool hasSubstring(string str, string pattern){ int i = 0, j = 0, k = 0; while(i<str.size() and j<pattern.size()){ if(str[i]==pattern[j]){ i++; j++; } else { j = 0; k++; i = k; ...
15.186047
80
0.57121
Sowmik23
a7fa08ee4a4cb908b3fca79aafdcb9765b755602
359
cpp
C++
trax/Place.cpp
fmidev/smartmet-library-trax
c817f87de83c5644ca3cec22d3d48441015ed5af
[ "MIT" ]
null
null
null
trax/Place.cpp
fmidev/smartmet-library-trax
c817f87de83c5644ca3cec22d3d48441015ed5af
[ "MIT" ]
null
null
null
trax/Place.cpp
fmidev/smartmet-library-trax
c817f87de83c5644ca3cec22d3d48441015ed5af
[ "MIT" ]
null
null
null
#include "Place.h" namespace Trax { Place discrete_place(double value, const Range& range) { if (value < range.lo()) return Place::Below; if (value >= range.hi()) return Place::Below; return Place::Inside; } Place place(double value, double limit) { if (value < limit) return Place::Below; return...
16.318182
54
0.660167
fmidev
a7fc00c953ebef9c8c894fc8ccc26f372c0061ec
4,459
hxx
C++
inetsrv/iis/setup/osrc/acl.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/iis/setup/osrc/acl.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/iis/setup/osrc/acl.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "Aclapi.h" #include <buffer.hxx> // class: CSecurityDescriptor // // Class to create and modify a Security Descriptor // class CSecurityDescriptor { private: BOOL m_bSDValid : 1; // Is the SD Valid? BOOL m_bDAclIsInheritted : 1; // Is the DACL inheritted (was it taken ...
46.936842
114
0.63512
npocmaka
a7fc3545226d6ccd62720062406be187cfdd28ff
31,824
cpp
C++
iceoryx_posh/test/moduletests/test_roudi_portmanager_client_server.cpp
andre-nguyen/iceoryx
1efa29a0fa5816bf3529b873b6618cade013c623
[ "Apache-2.0" ]
null
null
null
iceoryx_posh/test/moduletests/test_roudi_portmanager_client_server.cpp
andre-nguyen/iceoryx
1efa29a0fa5816bf3529b873b6618cade013c623
[ "Apache-2.0" ]
null
null
null
iceoryx_posh/test/moduletests/test_roudi_portmanager_client_server.cpp
andre-nguyen/iceoryx
1efa29a0fa5816bf3529b873b6618cade013c623
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2022 by Apex.AI 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 ap...
42.375499
120
0.763009
andre-nguyen
a7ff4a6b0b615c13f7274ee962d19e628ac89759
717
cpp
C++
code_cpp/src/subproblem/createvariables.cpp
markkvdb/or-scheduling
93c5176e04e7e98d820aa91642e8df37ba91ef1d
[ "MIT" ]
null
null
null
code_cpp/src/subproblem/createvariables.cpp
markkvdb/or-scheduling
93c5176e04e7e98d820aa91642e8df37ba91ef1d
[ "MIT" ]
null
null
null
code_cpp/src/subproblem/createvariables.cpp
markkvdb/or-scheduling
93c5176e04e7e98d820aa91642e8df37ba91ef1d
[ "MIT" ]
1
2021-06-13T15:31:57.000Z
2021-06-13T15:31:57.000Z
#include "subproblem.ih" void SubProblem::createVariables() { // Declare variables IloInt nbORs = d_params.nbORs; IloInt nbSurgeries = d_params.nbSurgeries; if (d_integer) d_o = IloNumVarArray(d_env, nbORs, 0, IloInfinity, ILOINT); else d_o = IloNumVarArray(d_env, nbORs, 0, IloInfi...
24.724138
67
0.578801
markkvdb
c500853bd517cb300e6ebdef2c4aa1538e2fae8d
870
cpp
C++
acmicpc/1260.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/1260.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/1260.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
#include <iostream> #include <queue> #include <string.h> using namespace std; int n, m, v; int graph[1001][1001]; int visited[1001]; void dfs(int start) { visited[start] = 1; printf("%d ", start); for (int i=1; i<=n; ++i) { if (visited[i] == 0 && graph[start][i] == 1) { dfs(i); } } } void bfs(int start) ...
13.809524
48
0.512644
juseongkr
c500bf564f02e9c2c55e3fda934765326e227b50
95
cpp
C++
src/test/cpp/main_test.cpp
AaronBerman/mountain
d054d321b7089f22f69ebad01e75fab224737de3
[ "Apache-2.0" ]
null
null
null
src/test/cpp/main_test.cpp
AaronBerman/mountain
d054d321b7089f22f69ebad01e75fab224737de3
[ "Apache-2.0" ]
null
null
null
src/test/cpp/main_test.cpp
AaronBerman/mountain
d054d321b7089f22f69ebad01e75fab224737de3
[ "Apache-2.0" ]
null
null
null
#include "main.h" #include <cassert> int main() { assert(false == 0); return 0; }
11.875
21
0.547368
AaronBerman
c5017cedc93a5c59f01475f32df25745977b45f3
771
cpp
C++
data/train/cpp/c5017cedc93a5c59f01475f32df25745977b45f3targetlocator.cpp
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/train/cpp/c5017cedc93a5c59f01475f32df25745977b45f3targetlocator.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/train/cpp/c5017cedc93a5c59f01475f32df25745977b45f3targetlocator.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
#include "targetlocator.h" #include "webdriverhub.h" #include "webelement.h" void TargetLocator::frame(QString id) { m_hub->changeFrame(id); } void TargetLocator::frame(int id) { m_hub->changeFrame(id); } void TargetLocator::frame(WebElement* element) { QJsonObject json; json["ELEMENT"] = element->id...
16.0625
46
0.696498
harshp8l
c501e558740a8553e011fff44a46c859952b9830
165
hpp
C++
GameAutomatic.hpp
CLA-TC1030/s4t3.sye
4718be3e4387be95c28bb908f575f6e78e160d4f
[ "MIT" ]
null
null
null
GameAutomatic.hpp
CLA-TC1030/s4t3.sye
4718be3e4387be95c28bb908f575f6e78e160d4f
[ "MIT" ]
null
null
null
GameAutomatic.hpp
CLA-TC1030/s4t3.sye
4718be3e4387be95c28bb908f575f6e78e160d4f
[ "MIT" ]
null
null
null
#pragma once #include "Game.hpp" class GameAutomatic:public Game { protected: std::string getInput(); public: GameAutomatic(std::string, bool, bool); };
16.5
43
0.690909
CLA-TC1030
c5030325b16568dd59a9c0b3e5be47dad7563d7d
2,001
hpp
C++
traffic_count_hw_design/necstream.hpp
necst/fard
ce9078a50235f3a519ef4b2ce7a0e87f1de794e4
[ "Apache-2.0" ]
3
2019-07-09T08:03:22.000Z
2019-12-03T14:26:16.000Z
traffic_count_hw_design/hls_project/solution1/sim/wrapc/necstream.hpp
necst/fard
ce9078a50235f3a519ef4b2ce7a0e87f1de794e4
[ "Apache-2.0" ]
1
2021-07-16T17:58:18.000Z
2021-07-16T17:58:18.000Z
traffic_count_hw_design/necstream.hpp
necst/fard
ce9078a50235f3a519ef4b2ce7a0e87f1de794e4
[ "Apache-2.0" ]
null
null
null
#ifndef NECSTREAM #define NECSTREAM #include "ap_axi_sdata.h" #include <hls_stream.h> template<class DT, int D,int U,int TI,int TD> struct my_ap_axis{ DT data; ap_uint<(D+7)/8> keep; ap_uint<(D+7)/8> strb; ap_uint<U> user; ap_uint<1> last; ap_uint<TI> id; ap_uint<T...
24.108434
99
0.677661
necst
c503dd4e8a0c722fd1729d6c136b6a7d958becd8
40,067
cpp
C++
integrate/property_system/property_system/source/property_system/serialization/sr_property_json_de_serializer.cpp
BoneCrasher/ShirabeEngine
39b3aa2c5173084d59b96b7f60c15207bff0ad04
[ "MIT" ]
5
2019-12-02T12:28:57.000Z
2021-04-07T21:21:13.000Z
integrate/property_system/property_system/source/property_system/serialization/sr_property_json_de_serializer.cpp
BoneCrasher/ShirabeEngine
39b3aa2c5173084d59b96b7f60c15207bff0ad04
[ "MIT" ]
null
null
null
integrate/property_system/property_system/source/property_system/serialization/sr_property_json_de_serializer.cpp
BoneCrasher/ShirabeEngine
39b3aa2c5173084d59b96b7f60c15207bff0ad04
[ "MIT" ]
1
2020-01-09T14:25:42.000Z
2020-01-09T14:25:42.000Z
#include "sr_pch.h" #include <inttypes.h> // PRIu64 etc... #include <cstdlib> #include <nlohmann/json.hpp> #include <core/base/types/sr_enum.h> #include "property_system/sr_meta_object.h" #include "property_system/sr_meta_property.h" #include "property_system/sr_meta_prototype.h" #include "property_system/serializati...
35.67854
146
0.493498
BoneCrasher
c50492357198a9359be285c244895f3f3d5d7c3c
6,954
cpp
C++
src/morda/util/key.cpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
69
2016-12-07T05:56:53.000Z
2020-11-27T20:59:05.000Z
src/morda/util/key.cpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
103
2015-07-10T14:42:21.000Z
2020-09-09T16:16:21.000Z
src/morda/util/key.cpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
18
2016-11-22T14:41:37.000Z
2020-04-22T18:16:10.000Z
/* morda - GUI framework Copyright (C) 2012-2021 Ivan Gagis <igagis@gmail.com> 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 3 of the License, or (at your option) any later version...
23.896907
83
0.616336
igagis
c5057e33c2052dc4c28ea90172d9bc071ee3aab1
3,638
hpp
C++
include/Oculus/Spatializer/Propagation/MaterialProperty.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/Oculus/Spatializer/Propagation/MaterialProperty.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/Oculus/Spatializer/Propagation/MaterialProperty.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Enum #include "System/Enum.h...
51.971429
131
0.752886
RedBrumbler
c506f34afec97b348679d5ca3e4c5ec6ddaac37e
19,959
hpp
C++
segmatch_ros/include/segmatch_ros/common.hpp
Oofs/segmap
98f1fddc15b863c781b78f59c65487be5e0dc497
[ "BSD-3-Clause" ]
771
2018-04-21T06:47:18.000Z
2022-03-30T11:49:32.000Z
segmatch_ros/include/segmatch_ros/common.hpp
Oofs/segmap
98f1fddc15b863c781b78f59c65487be5e0dc497
[ "BSD-3-Clause" ]
111
2018-04-22T10:11:50.000Z
2022-03-21T02:16:12.000Z
segmatch_ros/include/segmatch_ros/common.hpp
Oofs/segmap
98f1fddc15b863c781b78f59c65487be5e0dc497
[ "BSD-3-Clause" ]
287
2018-04-21T06:43:23.000Z
2022-03-24T17:45:05.000Z
#ifndef SEGMATCH_ROS_COMMON_HPP_ #define SEGMATCH_ROS_COMMON_HPP_ #include <math.h> #include <interactive_markers/interactive_marker_server.h> #include <laser_slam/common.hpp> #include <nav_msgs/Path.h> #include <pcl_conversions/pcl_conversions.h> #include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <ro...
38.680233
95
0.699785
Oofs
c50a9a9a532a1e45cee1fef10d231e8ed4d48297
14,049
cpp
C++
groups/bsl/bslalg/bslalg_autoscalardestructor.t.cpp
hughesr/bde
d593e3213918b9292c25e08cfc5b6651bacdea0d
[ "Apache-2.0" ]
1
2019-01-22T19:44:05.000Z
2019-01-22T19:44:05.000Z
groups/bsl/bslalg/bslalg_autoscalardestructor.t.cpp
anuranrc/bde
d593e3213918b9292c25e08cfc5b6651bacdea0d
[ "Apache-2.0" ]
null
null
null
groups/bsl/bslalg/bslalg_autoscalardestructor.t.cpp
anuranrc/bde
d593e3213918b9292c25e08cfc5b6651bacdea0d
[ "Apache-2.0" ]
null
null
null
// bslalg_autoscalardestructor.t.cpp -*-C++-*- #include <bslalg_autoscalardestructor.h> #include <bslma_allocator.h> // for testing only #include <bslma_default.h> // for testing only #include <bslma_testallocator.h> // for test...
33.771635
79
0.476475
hughesr
c50e136d69d2f5f0e598672a3600ece87e76a245
2,456
cc
C++
cpp/src/gandiva/expression_registry_test.cc
jblondin/arrow
319effd98e6d1d4282751471ebefaf325b0df09f
[ "Apache-2.0" ]
3
2019-04-21T19:21:15.000Z
2020-04-12T05:43:10.000Z
cpp/src/gandiva/expression_registry_test.cc
jblondin/arrow
319effd98e6d1d4282751471ebefaf325b0df09f
[ "Apache-2.0" ]
3
2018-06-27T14:56:40.000Z
2018-07-16T03:04:20.000Z
cpp/src/gandiva/expression_registry_test.cc
jblondin/arrow
319effd98e6d1d4282751471ebefaf325b0df09f
[ "Apache-2.0" ]
3
2021-03-23T19:45:48.000Z
2021-03-23T21:36:16.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 may...
36.117647
87
0.741857
jblondin
c50e3a5ad175ff7f278cf5df577b8aff24b7a61c
388
cc
C++
src/motor/filesystem/src/platform=posix,darwin/platform=sunos/watchpoint.cc
motor-dev/Motor
98cb099fe1c2d31e455ed868cc2a25eae51e79f0
[ "BSD-3-Clause" ]
null
null
null
src/motor/filesystem/src/platform=posix,darwin/platform=sunos/watchpoint.cc
motor-dev/Motor
98cb099fe1c2d31e455ed868cc2a25eae51e79f0
[ "BSD-3-Clause" ]
null
null
null
src/motor/filesystem/src/platform=posix,darwin/platform=sunos/watchpoint.cc
motor-dev/Motor
98cb099fe1c2d31e455ed868cc2a25eae51e79f0
[ "BSD-3-Clause" ]
null
null
null
/* Motor <motor.devel@gmail.com> see LICENSE for detail */ #include <motor/filesystem/stdafx.h> #include <watchpoint.hh> namespace Motor { namespace FileSystem { ref< Folder::Watch > WatchPoint::addWatch(weak< DiskFolder > /*folder*/, const Motor::ipath& /*path*/) { r...
24.25
72
0.613402
motor-dev
c50e80cc1c33bf401b2d13279b27854e7c368d5a
23,679
cpp
C++
src/stage/batched/host/KokkosKernels_Test_Gemm.cpp
crtrott/kokkos-kernels
0dba50f62188eb82da35bb4fe0211c7783300903
[ "BSD-3-Clause" ]
null
null
null
src/stage/batched/host/KokkosKernels_Test_Gemm.cpp
crtrott/kokkos-kernels
0dba50f62188eb82da35bb4fe0211c7783300903
[ "BSD-3-Clause" ]
null
null
null
src/stage/batched/host/KokkosKernels_Test_Gemm.cpp
crtrott/kokkos-kernels
0dba50f62188eb82da35bb4fe0211c7783300903
[ "BSD-3-Clause" ]
null
null
null
/// \author Kyungjoo Kim (kyukim@sandia.gov) #include <iomanip> #if defined(__KOKKOSKERNELS_LIBXSMM__) #include "libxsmm.h" #endif #if defined(__KOKKOSKERNELS_INTEL_MKL__) #include "mkl.h" #endif #include "Kokkos_Core.hpp" #include "impl/Kokkos_Timer.hpp" #include "KokkosKernels_Vector.hpp" #include "KokkosKernels...
34.976366
148
0.476287
crtrott
c50ef218d87bcfb4e84398492d6d7d3544c515b2
10,259
cpp
C++
src/Binding/JSUtils.cpp
wiltonlazary/Nidium
2ed34f350115290e4fe67cbade6c7e2b7c9de430
[ "Apache-2.0", "BSD-2-Clause" ]
1,223
2016-06-28T17:54:08.000Z
2022-03-16T10:27:03.000Z
src/Binding/JSUtils.cpp
wiltonlazary/Nidium
2ed34f350115290e4fe67cbade6c7e2b7c9de430
[ "Apache-2.0", "BSD-2-Clause" ]
84
2016-07-26T13:22:05.000Z
2018-09-13T12:04:23.000Z
src/Binding/JSUtils.cpp
wiltonlazary/Nidium
2ed34f350115290e4fe67cbade6c7e2b7c9de430
[ "Apache-2.0", "BSD-2-Clause" ]
77
2016-07-26T13:13:13.000Z
2022-01-24T02:24:53.000Z
/* Copyright 2016 Nidium Inc. All rights reserved. Use of this source code is governed by a MIT license that can be found in the LICENSE file. */ #include "Binding/JSUtils.h" #include <string.h> #include <strings.h> #include <jsfriendapi.h> #include <js/CharacterEncoding.h> #include "Binding/NidiumJS.h" #i...
24.840194
99
0.528609
wiltonlazary
78a21db9c35c14e171b161afd36f7550d6438374
567
hpp
C++
plugins/community/repos/Bogaudio/src/Switch.hpp
x42/VeeSeeVSTRack
0f5576f92e026ac1480e1477e55084911eca4052
[ "Zlib", "BSD-3-Clause" ]
null
null
null
plugins/community/repos/Bogaudio/src/Switch.hpp
x42/VeeSeeVSTRack
0f5576f92e026ac1480e1477e55084911eca4052
[ "Zlib", "BSD-3-Clause" ]
null
null
null
plugins/community/repos/Bogaudio/src/Switch.hpp
x42/VeeSeeVSTRack
0f5576f92e026ac1480e1477e55084911eca4052
[ "Zlib", "BSD-3-Clause" ]
null
null
null
#pragma once #include "bogaudio.hpp" extern Model* modelSwitch; namespace bogaudio { struct Switch : Module { enum ParamsIds { GATE_PARAM, NUM_PARAMS }; enum InputsIds { GATE_INPUT, HIGH1_INPUT, LOW1_INPUT, HIGH2_INPUT, LOW2_INPUT, NUM_INPUTS }; enum OutputsIds { OUT1_OUTPUT, OUT2_OUTPUT,...
12.6
69
0.700176
x42
78a55d99f8497d34258d2ac649927972bf4c2776
441
hpp
C++
src/utils/log.hpp
talyian/GB-emulator
33edfc990cfeed410915334f707615bd3eabefd9
[ "MIT" ]
1
2020-08-06T15:25:01.000Z
2020-08-06T15:25:01.000Z
src/utils/log.hpp
talyian/spgb
33edfc990cfeed410915334f707615bd3eabefd9
[ "MIT" ]
null
null
null
src/utils/log.hpp
talyian/spgb
33edfc990cfeed410915334f707615bd3eabefd9
[ "MIT" ]
null
null
null
#pragma once #include "../base.hpp" #include "../gb/lib_gb.hpp" #include "str.hpp" namespace logs { void _log(u8 v); void _log(u16 v); void _log(u32 v); void _log(i32 v); void _log(double f); void _log(const char * s); void _log(str s); void _log(void* s); template<class T> void log(T x) { _log(x); spgb_showlog (); ...
18.375
49
0.639456
talyian
78a5e1cd2fca40b30eef31167c42abc8d681b939
3,896
cpp
C++
src/http/handler.cpp
halivor/php-flame
5674bcb11838cfcfdaf4d0211bd3b062945775d3
[ "MIT" ]
null
null
null
src/http/handler.cpp
halivor/php-flame
5674bcb11838cfcfdaf4d0211bd3b062945775d3
[ "MIT" ]
null
null
null
src/http/handler.cpp
halivor/php-flame
5674bcb11838cfcfdaf4d0211bd3b062945775d3
[ "MIT" ]
null
null
null
#include "../coroutine.h" #include "value_body.h" #include "server_request.h" #include "server_response.h" #include "server.h" #include "handler.h" #include "http.h" namespace flame { namespace http { handler::handler(server* svr, tcp::socket&& sock, std::shared_ptr<flame::coroutine> co) : svr_(svr) , s...
37.104762
135
0.600103
halivor
78a6c019bd13263c6e2803054eeef472bfb143be
3,976
hpp
C++
blas/L2/include/memKernel/sw/gemvMult.hpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
4
2021-08-16T18:25:48.000Z
2022-03-22T08:49:43.000Z
mlp/gemm_based_fcn_designs/sw/include/gemvMult.hpp
Xilinx/HPC
c5d11c41f98a6ce8fc4a3fc9e7f5a133a09a9af3
[ "Apache-2.0" ]
null
null
null
mlp/gemm_based_fcn_designs/sw/include/gemvMult.hpp
Xilinx/HPC
c5d11c41f98a6ce8fc4a3fc9e7f5a133a09a9af3
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Xilinx, 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...
38.230769
118
0.628521
vmayoral
78a7f230cb7d225add22a3675d088caf19be59b1
198,644
cpp
C++
src/mame/drivers/multfish.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/drivers/multfish.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/drivers/multfish.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:David Haywood, MetalliC /* todo: bank handlers etc. should be installed on a per-game basis to make it clearer why all the sets with hacked bank setup existed in the wild note: this file contains the originals only for bootlegs see multfish_boot...
60.915057
269
0.752467
Robbbert
78ac704dfcbf2ab4148780997d8e21784de22e1f
3,269
hpp
C++
include/lapack/lacpy.hpp
tlapack/tlapack
18840a2a4e3bad4384baf4b3a2204ad54246aefa
[ "BSD-3-Clause" ]
3
2021-06-09T13:47:13.000Z
2022-02-08T01:13:15.000Z
include/lapack/lacpy.hpp
weslleyspereira/tlapack
18840a2a4e3bad4384baf4b3a2204ad54246aefa
[ "BSD-3-Clause" ]
17
2021-07-01T15:05:15.000Z
2022-03-31T20:37:10.000Z
include/lapack/lacpy.hpp
weslleyspereira/tlapack
18840a2a4e3bad4384baf4b3a2204ad54246aefa
[ "BSD-3-Clause" ]
4
2021-06-09T13:46:38.000Z
2022-03-21T13:48:31.000Z
/// @file lacpy.hpp /// @author Weslley S Pereira, University of Colorado Denver, USA /// Adapted from @see https://github.com/langou/latl/blob/master/include/lacpy.h // // Copyright (c) 2012-2021, University of Colorado Denver. All rights reserved. // // This file is part of <T>LAPACK. // <T>LAPACK is free software: y...
33.020202
107
0.603243
tlapack
78aea23a1be7c4e560e057421ad789fb945c9b98
2,183
cpp
C++
200-300/275.cpp
Thomaw/Project-Euler
bcad5d8a1fd3ebaa06fa52d92d286607e9372a8d
[ "MIT" ]
null
null
null
200-300/275.cpp
Thomaw/Project-Euler
bcad5d8a1fd3ebaa06fa52d92d286607e9372a8d
[ "MIT" ]
null
null
null
200-300/275.cpp
Thomaw/Project-Euler
bcad5d8a1fd3ebaa06fa52d92d286607e9372a8d
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; const int N = 18; int delta[4][2] = {{1,0},{-1,0},{0,-1},{0,1}}; int used[N+1][2*N+1]; int locs[N][2]; int weight = 0; int minx=0, maxx=0; int amount[2*N+1]; bool issquare[N+1][2*N+1]; void putsquare(int num, int a, int b, int type) { if (type==1) { issqu...
25.383721
71
0.383417
Thomaw
78b4b2ef5968a9199d290d7f204e7f4ffa66cffe
27,537
cpp
C++
openstudiocore/src/model/Loop.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
openstudiocore/src/model/Loop.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
openstudiocore/src/model/Loop.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2013, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publ...
28.895068
116
0.54454
bobzabcik
78b512ccb2d3d385533bbc161e367dfb25c0add0
75,307
hpp
C++
contrib/autoboost/autoboost/preprocessor/comparison/not_equal.hpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
87
2015-01-18T00:43:06.000Z
2022-02-11T17:40:50.000Z
contrib/autoboost/autoboost/preprocessor/comparison/not_equal.hpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
274
2015-01-03T04:50:49.000Z
2021-03-08T09:01:09.000Z
contrib/autoboost/autoboost/preprocessor/comparison/not_equal.hpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
15
2015-09-30T20:58:43.000Z
2020-12-19T21:24:56.000Z
# /* Copyright (C) 2001 # * Housemarque Oy # * http://www.housemarque.com # * # * Distributed under the Boost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt or copy at # * http://www.boost.org/LICENSE_1_0.txt) # */ # # /* Revised by Paul Mensonides (2002) */ # # /* See http://www.boost...
92.401227
150
0.80792
CaseyCarter
78b65c2544c68f9f425054c8cd27655f7b258a75
1,904
cpp
C++
samples/Common/ObjLoader.cpp
SoulForMachine/GLSlayer
37a0fab90c4e2c3a22279cc93d39e8f3091b5e12
[ "MIT" ]
null
null
null
samples/Common/ObjLoader.cpp
SoulForMachine/GLSlayer
37a0fab90c4e2c3a22279cc93d39e8f3091b5e12
[ "MIT" ]
1
2017-10-24T12:19:52.000Z
2017-10-24T12:19:52.000Z
samples/Common/ObjLoader.cpp
SoulForMachine/GLSlayer
37a0fab90c4e2c3a22279cc93d39e8f3091b5e12
[ "MIT" ]
null
null
null
#include "ObjLoader.h" #include "Utils.h" using namespace std; using namespace math3d; bool ObjLoader::Load(const char* file_name) { string full_path = GetFullPath(file_name); FILE* file = fopen(full_path.c_str(), "rt"); if(!file) return false; const int BUF_SIZE = 1024; char buf[BUF_SIZE]; while(!feof(fi...
19.428571
104
0.588761
SoulForMachine
78b6795a106af9138907a2b5aa93f21b4b00001f
7,768
cpp
C++
test/parser_test.cpp
bsurmanski/wlc-ng
7c72a3172e910b2907a73957cc6cbd6477b2ea5e
[ "MIT" ]
null
null
null
test/parser_test.cpp
bsurmanski/wlc-ng
7c72a3172e910b2907a73957cc6cbd6477b2ea5e
[ "MIT" ]
null
null
null
test/parser_test.cpp
bsurmanski/wlc-ng
7c72a3172e910b2907a73957cc6cbd6477b2ea5e
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <stdio.h> #include "ast/ast.hpp" #include "common/string.hpp" #include "io/environment.hpp" #include "io/stringInput.hpp" #include "lex/lexer.hpp" #include "parse/parser.hpp" #include "program.hpp" #define TRY(X) { try { (X); } catch(std::exception &e) { printf("%s\n", e.what()); ADD...
29.536122
155
0.575695
bsurmanski
78b7f76b4c644b2858ff89b3ef363c5fd87b2bc1
7,826
hxx
C++
main/dbaccess/source/filter/xml/xmlfilter.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/dbaccess/source/filter/xml/xmlfilter.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/dbaccess/source/filter/xml/xmlfilter.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
37.806763
128
0.743419
Grosskopf
78ba3f8deb89a55e2b4ac0a2aa4429e2a5311a2d
12,656
cpp
C++
plugins/mmstd_datatools/src/OverrideParticleBBox.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
null
null
null
plugins/mmstd_datatools/src/OverrideParticleBBox.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
null
null
null
plugins/mmstd_datatools/src/OverrideParticleBBox.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
null
null
null
/* * OverrideParticleBBox.h * * Copyright (C) 2015 by S. Grottel * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "OverrideParticleBBox.h" #include <float.h> #include "mmcore/param/BoolParam.h" #include "mmcore/param/ButtonParam.h" #include "mmcore/param/IntParam.h" #include "mmcore/param/Vector3fParam.h...
48.864865
136
0.604772
azuki-monster
78c01f013e7bb16547c22020cf96ab5312c76125
1,165
cpp
C++
Contest/200911/20009.cpp
wzl19371/OI-LIfe
f7f54542d1369b5e4047fcbb2e26c1c64d22ee26
[ "MIT" ]
1
2020-10-05T02:07:52.000Z
2020-10-05T02:07:52.000Z
Contest/200911/20009.cpp
wzl19371/OI-LIfe
f7f54542d1369b5e4047fcbb2e26c1c64d22ee26
[ "MIT" ]
null
null
null
Contest/200911/20009.cpp
wzl19371/OI-LIfe
f7f54542d1369b5e4047fcbb2e26c1c64d22ee26
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> #include <queue> #include <set> using namespace std; const int maxn=1007; const int MAX=1.1e9; int n,a[maxn],b[maxn],ans[maxn],cnt; bool v[maxn]; int main(){ scanf("%d",&n); for(int i=1;i<=n;i++) scanf("%d",&a[i]); for(int i=1;i<=n;i++) scanf("%d",&b[i]); sort(b+1...
23.77551
109
0.461803
wzl19371
78c1089cb8bbbd3fb0fa90b1c11af01e7aaef393
230
cpp
C++
(1)Beginner/1020/c++/1020.cpp
G4DavidAlmeida/mySolutionsUriOnline
47e427e3205124da00a8a44fb9900086d85c30ec
[ "MIT" ]
null
null
null
(1)Beginner/1020/c++/1020.cpp
G4DavidAlmeida/mySolutionsUriOnline
47e427e3205124da00a8a44fb9900086d85c30ec
[ "MIT" ]
null
null
null
(1)Beginner/1020/c++/1020.cpp
G4DavidAlmeida/mySolutionsUriOnline
47e427e3205124da00a8a44fb9900086d85c30ec
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main(){ int x; cin >> x; cout << x / 365 << " ano(s)" << endl; x = x % 365; cout << x / 30 << " mes(es)" << endl; x = x % 30; cout << x << " dia(s)" << endl; return 0; }
14.375
51
0.469565
G4DavidAlmeida
78c2d9c9df41d8acb647225b53a67f6eb35a45f6
2,281
cc
C++
llvm_codegen/generate_expression.cc
maciekgajewski/cougar
038a0c6f901928946b03e203c2154ca02bce9524
[ "Apache-2.0" ]
null
null
null
llvm_codegen/generate_expression.cc
maciekgajewski/cougar
038a0c6f901928946b03e203c2154ca02bce9524
[ "Apache-2.0" ]
4
2021-05-02T08:27:25.000Z
2021-05-15T08:37:26.000Z
llvm_codegen/generate_expression.cc
maciekgajewski/cougar
038a0c6f901928946b03e203c2154ca02bce9524
[ "Apache-2.0" ]
1
2021-04-24T20:20:58.000Z
2021-04-24T20:20:58.000Z
#include "code_generator.hh" #include "ast/expression.hh" #include "meta/type_info.hh" #include <llvm/IR/GlobalVariable.h> #include <llvm/IR/IRBuilder.h> #include <llvm/IR/Type.h> #include <llvm/IR/Value.h> namespace Cougar::LlvmCodeGenerator { llvm::Value *CodeGenerator::generateExpression(Ast::Expression *e) { ...
34.560606
78
0.633932
maciekgajewski
78c36545df97d461647019936dbda6443d06edb8
1,028
cpp
C++
dmc/hyperRadius.cpp
lucaparisi91/qmc4
f1ad1b105568500c9a8259e509dd3e01a933a050
[ "MIT" ]
null
null
null
dmc/hyperRadius.cpp
lucaparisi91/qmc4
f1ad1b105568500c9a8259e509dd3e01a933a050
[ "MIT" ]
74
2020-03-30T08:02:35.000Z
2021-01-07T18:00:49.000Z
dmc/hyperRadius.cpp
lucaparisi91/qmc3
f76178896ecf7b79af863f8d4fc3653326bea5c3
[ "MIT" ]
null
null
null
#include "hyperRadius.h" #include "walkers.h" #include "tools.h" trimerhyperRadius::trimerhyperRadius(int setA_,int setB_,int setC_) : setA(setA_),setB(setB_),setC(setC_) { assert(setA!=setB); assert(setA!=setC); } trimerhyperRadius::trimerhyperRadius(const json_t & j) : trimerhyperRadius(j["sets"][0].get<int>(...
22.844444
147
0.63716
lucaparisi91
78c3ae72d634ee5a60dfb15364a02c654b288887
5,681
hpp
C++
include/opentxs/core/contract/UnitDefinition.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
include/opentxs/core/contract/UnitDefinition.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
include/opentxs/core/contract/UnitDefinition.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
// Copyright (c) 2018 The Open-Transactions developers // 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/. #ifndef OPENTXS_CORE_CONTRACT_UNITDEFINITION_HPP #define OPENT...
33.417647
80
0.6696
nopdotcom
78c6abe1bd327b96f70d2dbc8fa355c23249fb48
8,536
cc
C++
TrkBase/TrkExpectedTrk.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
TrkBase/TrkExpectedTrk.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
TrkBase/TrkExpectedTrk.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------- // File and Version Information: // $Id: TrkExpectedTrk.cc,v 1.8 2004/09/10 18:00:17 bartoldu Exp $ // // Description: // Class TrkExpectedTrack. Stores lists of expected hits for a given // track in the Trk. // // Environment: // Softwar...
30.162544
120
0.618088
brownd1978
78ca57bdd81971745bbde289c7b9e01783ff7396
1,469
cpp
C++
user/gui/windowserver/src/Log.cpp
tristanseifert/kush-os
1ffd595aae8f3dc880e798eff72365b8b6c631f0
[ "0BSD" ]
4
2021-06-22T20:52:30.000Z
2022-02-04T00:19:44.000Z
user/gui/windowserver/src/Log.cpp
tristanseifert/kush-os
1ffd595aae8f3dc880e798eff72365b8b6c631f0
[ "0BSD" ]
null
null
null
user/gui/windowserver/src/Log.cpp
tristanseifert/kush-os
1ffd595aae8f3dc880e798eff72365b8b6c631f0
[ "0BSD" ]
null
null
null
#include "Log.h" #include <cstdarg> #include <cstdio> #include <cstdlib> extern const char *gLogTag; #ifdef NDEBUG static bool gLogTraceEnabled = false; #else static bool gLogTraceEnabled = true; #endif /// Outputs a message if trace logging is enabled void Trace(const char * _Nonnull str, ...) { if(!gLogTraceE...
18.135802
49
0.59224
tristanseifert
78ca5b24eec67d81b4cc663faa393e01be8e64ff
1,014
cpp
C++
heap/23 Merge k Sorted Lists.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
heap/23 Merge k Sorted Lists.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
heap/23 Merge k Sorted Lists.cpp
CoderQuinnYoung/leetcode
6ea15c68124b16824bab9ed2e0e5a40c72eb3db1
[ "BSD-3-Clause" ]
null
null
null
// // 23 Merge k Sorted Lists.cpp // Leetcode // // Created by Quinn on 2020/9/12. // Copyright © 2020 Quinn. All rights reserved. // #include "ListNode.h" #include <queue> using namespace std; class Solution { public: struct Cmp { bool operator() (ListNode *a, ListNode *b) const { return ...
21.574468
65
0.453649
CoderQuinnYoung
78cd96e85ff428e7f0b5157602148243ac99c019
9,817
cc
C++
third_party/blink/renderer/modules/media/audio/audio_renderer_mixer_manager.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
third_party/blink/renderer/modules/media/audio/audio_renderer_mixer_manager.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
third_party/blink/renderer/modules/media/audio/audio_renderer_mixer_manager.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright (c) 2012 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 "third_party/blink/renderer/modules/media/audio/audio_renderer_mixer_manager.h" #include <algorithm> #include <limits> #include <string> #in...
39.111554
88
0.735764
chromium
78d083d1338810b6dddb9e19bd00cd4ee23b4cbd
3,034
cpp
C++
src/ATmega328P/L3G4200D/TWI.cpp
smurilogs/EmbeddedSystems-ATmega328P-ArduinoPlatform-InterfacingLibraries
30795f46112ab5b56a8244b198f0193afb8755ba
[ "MIT" ]
null
null
null
src/ATmega328P/L3G4200D/TWI.cpp
smurilogs/EmbeddedSystems-ATmega328P-ArduinoPlatform-InterfacingLibraries
30795f46112ab5b56a8244b198f0193afb8755ba
[ "MIT" ]
null
null
null
src/ATmega328P/L3G4200D/TWI.cpp
smurilogs/EmbeddedSystems-ATmega328P-ArduinoPlatform-InterfacingLibraries
30795f46112ab5b56a8244b198f0193afb8755ba
[ "MIT" ]
null
null
null
#include "TWI.h" TWI::TWI(void) { } void TWI::initAsMaster(void) { // 400kHz of SCL from 16MHz of fSYS TWSR &= ~(1 << 1) & ~(1 << 0); // Sets prescaler as 1 TWBR = 12; // Calc reference value for SCL //(IF YOU'RE GONNA USE INTERRUPT) //TWCR != (1 << 0); ...
21.069444
74
0.567238
smurilogs
78d19cfafd2eba97716670f93ba999f2671d77d8
8,865
cc
C++
agent/php7/utils/yaml_reader.cc
yuesicheng/openrasp
60d772184887dcbec595ba7011b5b807ff652fba
[ "Apache-2.0" ]
1
2020-05-29T13:30:02.000Z
2020-05-29T13:30:02.000Z
agent/php7/utils/yaml_reader.cc
yuesicheng/openrasp
60d772184887dcbec595ba7011b5b807ff652fba
[ "Apache-2.0" ]
null
null
null
agent/php7/utils/yaml_reader.cc
yuesicheng/openrasp
60d772184887dcbec595ba7011b5b807ff652fba
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017-2018 Baidu 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...
26.701807
135
0.529611
yuesicheng
78d1ad92e7c48f297c8a95f2d836f390838ab959
12,013
cpp
C++
shared/source/command_stream/scratch_space_controller_xehp_and_later.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
shared/source/command_stream/scratch_space_controller_xehp_and_later.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
shared/source/command_stream/scratch_space_controller_xehp_and_later.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
/* * Copyright (C) 2021-2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/command_stream/scratch_space_controller_xehp_and_later.h" #include "shared/source/command_stream/command_stream_receiver.h" #include "shared/source/debug_settings/debug_settings_manager.h" #include "share...
56.135514
214
0.640889
mattcarter2017
78d3c15eb43c582cd3409cfcf836e5e87acc4816
670
hpp
C++
external/boost_1_60_0/qsboost/mpl/advance_fwd.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
1
2019-06-27T17:54:13.000Z
2019-06-27T17:54:13.000Z
external/boost_1_60_0/qsboost/mpl/advance_fwd.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
external/boost_1_60_0/qsboost/mpl/advance_fwd.hpp
wouterboomsma/quickstep
a33447562eca1350c626883f21c68125bd9f776c
[ "MIT" ]
null
null
null
#ifndef QSBOOST_MPL_ADVANCE_FWD_HPP_INCLUDED #define QSBOOST_MPL_ADVANCE_FWD_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2000-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost....
23.103448
62
0.773134
wouterboomsma
78d60a209dd1753a947441bc733d2cca0eb9dcda
1,554
cpp
C++
src/Sound/Sound.cpp
WapaMario63/PonyGL
3b170e53d9e98f55c70bc7947970e8c63dea62d9
[ "MIT" ]
1
2017-02-07T22:42:15.000Z
2017-02-07T22:42:15.000Z
src/Sound/Sound.cpp
WapaMario63/PonyGL
3b170e53d9e98f55c70bc7947970e8c63dea62d9
[ "MIT" ]
null
null
null
src/Sound/Sound.cpp
WapaMario63/PonyGL
3b170e53d9e98f55c70bc7947970e8c63dea62d9
[ "MIT" ]
null
null
null
#include "Sound.h" Sound::Sound(const char* file, SoundType type) { _filename = file; _soundType = type; if (_soundType == snd_BGM) { _sound = nullptr; SetupBGM(); } else if (_soundType == snd_SFX) { } } void Sound::SetupBGM() { _music.openFromFile(_filename); ...
16.1875
69
0.579794
WapaMario63
78d76dc171a6351f1e002e9389605432496b1b2e
4,597
cpp
C++
design/case/main.cpp
mfkiwl/RASDR
2e4f7c3b368aa4d596f573433f8c998246444394
[ "CC-BY-3.0" ]
41
2015-01-25T08:13:12.000Z
2021-06-24T18:39:33.000Z
design/case/main.cpp
mfkiwl/RASDR
2e4f7c3b368aa4d596f573433f8c998246444394
[ "CC-BY-3.0" ]
18
2015-09-30T16:07:03.000Z
2020-08-05T12:28:50.000Z
design/case/main.cpp
mfkiwl/RASDR
2e4f7c3b368aa4d596f573433f8c998246444394
[ "CC-BY-3.0" ]
10
2015-04-01T00:28:41.000Z
2021-05-31T14:08:22.000Z
#include <fstream> #include <ooml/core/IndentWriter.h> #include "casefactory.h" //#include "cubieboard.h" //#include "bb-atxra.h" // Added by: Anthony W. Rainer <pristine.source@gmail.com> #include "posts.h" // Testing POSTS+HOLES for manufacturability #include "rasdr2.h" // Small helper function which writes ...
42.564815
206
0.633457
mfkiwl
78d84e9b0cff555cbec3472cb363986d0ae8935a
548
hpp
C++
src/modules/api/api_rest_error.hpp
dmortondev/openperf
dc142aa9bddcd578fd3491275cf36c016209df2e
[ "Apache-2.0" ]
null
null
null
src/modules/api/api_rest_error.hpp
dmortondev/openperf
dc142aa9bddcd578fd3491275cf36c016209df2e
[ "Apache-2.0" ]
null
null
null
src/modules/api/api_rest_error.hpp
dmortondev/openperf
dc142aa9bddcd578fd3491275cf36c016209df2e
[ "Apache-2.0" ]
null
null
null
#ifndef _OP_API_REST_ERRORS_HPP_ #define _OP_API_REST_ERRORS_HPP_ #include <utility> #include "json.hpp" #include "pistache/http.h" namespace openperf::api::rest { enum class error_type { NONE = 0, NOT_FOUND, ZMQ_ERROR, POSIX }; struct typed_error { error_type type = error_type::NONE; int value = 0; }; st...
20.296296
64
0.737226
dmortondev
78d90ff3c41d7f4e3cc8781f36c9d883b307b34c
973
cpp
C++
Game/src/Game.cpp
xfanw/XjEngine
37ce289ede14445e7b1ed5a7a9c74e781c7eadab
[ "Apache-2.0" ]
null
null
null
Game/src/Game.cpp
xfanw/XjEngine
37ce289ede14445e7b1ed5a7a9c74e781c7eadab
[ "Apache-2.0" ]
null
null
null
Game/src/Game.cpp
xfanw/XjEngine
37ce289ede14445e7b1ed5a7a9c74e781c7eadab
[ "Apache-2.0" ]
null
null
null
// Frank (32) Abstract VA // Frank (33) Renderer #include "Xj.h" #include <Core\Application.h> #include "imgui.h" // TEMP class ExampleLayer : public Xj::Layer { public: ExampleLayer() :Layer("Example") {} void OnUpdate() override { if (Xj::Input::IsKeyPressed(XJ_KEY_TAB)) XJ_INFO("Tab Key is pressed (p...
17.375
58
0.642343
xfanw
78d9992324263f95d16e258ff3a22e1462f0a665
322
cpp
C++
1_languages/c++/src/Exceptions_BadException.cpp
praisetompane/3_programming
dd3e2e89a36a613d895fdbdd9c03845cb648fddf
[ "MIT" ]
null
null
null
1_languages/c++/src/Exceptions_BadException.cpp
praisetompane/3_programming
dd3e2e89a36a613d895fdbdd9c03845cb648fddf
[ "MIT" ]
null
null
null
1_languages/c++/src/Exceptions_BadException.cpp
praisetompane/3_programming
dd3e2e89a36a613d895fdbdd9c03845cb648fddf
[ "MIT" ]
null
null
null
#include <iostream> #include <exception> using namespace std; void function(void) throw(int) { //throw 3.14; throw 3; } int main(void) { try { function(); } catch(double f) { cout << "Got double" << endl; } catch(bad_exception bad) { cout << "It's so bad..." << endl; } cout << "Done" << endl; return 0; ...
16.947368
35
0.599379
praisetompane
78dadd6a3ea6415cd6fc10a0890cf8e3c91f5283
947
cpp
C++
mPAPI_trace_tic.cpp
quepas/PAPI-MATLAB
41c96182fd73eb2aa9935233fd35e3c0b0799372
[ "BSD-3-Clause" ]
6
2017-07-28T20:29:50.000Z
2017-07-31T13:31:08.000Z
mPAPI_trace_tic.cpp
quepas/PAPI-MATLAB
41c96182fd73eb2aa9935233fd35e3c0b0799372
[ "BSD-3-Clause" ]
4
2019-07-02T12:57:40.000Z
2020-02-15T22:09:14.000Z
mPAPI_trace_tic.cpp
quepas/MAPI
41c96182fd73eb2aa9935233fd35e3c0b0799372
[ "BSD-3-Clause" ]
null
null
null
#include <mex.h> #include <papi.h> #include <cmath> #include "mPAPI_utils.hpp" #include <fstream> /* * mPAPI_trace_tic -- start a new sub-trace */ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { if (!mexIsLocked()) { mexLock(); } int event_set = mPAPI_get_int3...
30.548387
85
0.669483
quepas
78dd9b8a1331cd1abb7448af36726533a261c986
1,082
hpp
C++
src/tree_diameter.hpp
keijak/hikidashi-cpp
63d01dfa1587fa56fd7f4e50712f7c10d8168520
[ "Apache-2.0" ]
null
null
null
src/tree_diameter.hpp
keijak/hikidashi-cpp
63d01dfa1587fa56fd7f4e50712f7c10d8168520
[ "Apache-2.0" ]
null
null
null
src/tree_diameter.hpp
keijak/hikidashi-cpp
63d01dfa1587fa56fd7f4e50712f7c10d8168520
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <cassert> #include <vector> struct Diameter { int distance; std::vector<int> path; }; // Tree diameter. // Returns the maximum diameter and two endpoint nodes of the diameter. Diameter tree_diameter(const std::vector<std::vector<int>> &g) { std::vector<int> parent(g.size()); aut...
25.761905
78
0.593346
keijak
78df313891d23140edf8f24c0cccb7d9106c32b4
1,100
hpp
C++
src/termui/file_status.hpp
numerodix/bmon-cpp
fae0613776b879a33e327f9ccf1d3819383634dd
[ "MIT" ]
1
2020-07-31T01:34:47.000Z
2020-07-31T01:34:47.000Z
src/termui/file_status.hpp
numerodix/bmon-cpp
fae0613776b879a33e327f9ccf1d3819383634dd
[ "MIT" ]
null
null
null
src/termui/file_status.hpp
numerodix/bmon-cpp
fae0613776b879a33e327f9ccf1d3819383634dd
[ "MIT" ]
null
null
null
#ifndef FILE_STATUS_H #define FILE_STATUS_H #include <memory> #include <macros.hpp> namespace bandwit { namespace termui { class FileStatusSetter { public: explicit FileStatusSetter(int fileno, int status_on, int status_off) : fileno_{fileno}, status_on_{status_on}, status_off_{status_off} {} voi...
20
76
0.700909
numerodix
78e33ebb5fcc9e693745f525dd7ed590f9e831b2
49,971
cpp
C++
opencl/test/unit_test/api/cl_create_image_tests.cpp
kcencele/compute-runtime
bec8cdd6f1392bf0549e3b9340b4926b6e84f89a
[ "Intel", "MIT" ]
1
2019-03-01T13:54:45.000Z
2019-03-01T13:54:45.000Z
opencl/test/unit_test/api/cl_create_image_tests.cpp
kcencele/compute-runtime
bec8cdd6f1392bf0549e3b9340b4926b6e84f89a
[ "Intel", "MIT" ]
5
2019-03-26T17:26:07.000Z
2021-03-30T12:17:10.000Z
opencl/test/unit_test/api/cl_create_image_tests.cpp
kcencele/compute-runtime
bec8cdd6f1392bf0549e3b9340b4926b6e84f89a
[ "Intel", "MIT" ]
4
2018-05-09T10:04:27.000Z
2018-07-12T13:33:31.000Z
/* * Copyright (C) 2018-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/helpers/hw_info.h" #include "shared/test/common/helpers/unit_test_helper.h" #include "shared/test/common/mocks/mock_device.h" #include "opencl/source/context/context.h" #include "opencl/source/mem_obj/ima...
35.091994
168
0.711973
kcencele
78e377f26bd1f7e583c1d0d264a7350ff95e74ef
706
cpp
C++
Lesson6/Triangle/triangle.cpp
gonini/Codility-Lesson
c362a7357752b2cf89b9ad92d9e512c97b988a4e
[ "MIT" ]
null
null
null
Lesson6/Triangle/triangle.cpp
gonini/Codility-Lesson
c362a7357752b2cf89b9ad92d9e512c97b988a4e
[ "MIT" ]
null
null
null
Lesson6/Triangle/triangle.cpp
gonini/Codility-Lesson
c362a7357752b2cf89b9ad92d9e512c97b988a4e
[ "MIT" ]
null
null
null
// you can use includes, for example: #include <algorithm> #include <vector> #include <string> #include <iostream> #include <cstring> #include <set> using namespace std; // you can write to stdout for debugging purposes, e.g. // cout << "this is a debug message" << endl; int solution(vector<int> &A); int main(void) {...
20.171429
55
0.526912
gonini
78e86ba9a0d9913e2e955f4cecb50452834c54e1
1,229
hpp
C++
library/src/blas1/rocblas_amax_amin.hpp
amcamd/rocBLAS
f0986a922269c2fe343c414ec13a055cf8574bc3
[ "MIT" ]
null
null
null
library/src/blas1/rocblas_amax_amin.hpp
amcamd/rocBLAS
f0986a922269c2fe343c414ec13a055cf8574bc3
[ "MIT" ]
null
null
null
library/src/blas1/rocblas_amax_amin.hpp
amcamd/rocBLAS
f0986a922269c2fe343c414ec13a055cf8574bc3
[ "MIT" ]
null
null
null
/* ************************************************************************ * Copyright 2018-2020 Advanced Micro Devices, Inc. * ************************************************************************ */ #pragma once #include "rocblas_reduction_template.hpp" //! //! @brief Struct-operator a default_value of rocbl...
25.604167
95
0.558991
amcamd
78e9ebfab0171ef604ca1c05696a2ad27767562f
1,690
cc
C++
source/visualization/pymodG4visualization.cc
drbenmorgan/geant4_pybind
d9c774a04156b1518795bafbd7819a1b8a03f7ea
[ "Unlicense" ]
null
null
null
source/visualization/pymodG4visualization.cc
drbenmorgan/geant4_pybind
d9c774a04156b1518795bafbd7819a1b8a03f7ea
[ "Unlicense" ]
null
null
null
source/visualization/pymodG4visualization.cc
drbenmorgan/geant4_pybind
d9c774a04156b1518795bafbd7819a1b8a03f7ea
[ "Unlicense" ]
null
null
null
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include "typecast.hh" #include "opaques.hh" namespace py = pybind11; void export_G4VisManager(py::module &); void export_G4VisExecutive(py::module &); void export_G4VGraphicsSystem(py::module &); void export_G4VRML1File(py::module &); void export_G4VRML2File(...
21.948052
49
0.775148
drbenmorgan
78eb533c6947abc8c53101f57254c0a087ab07a0
2,625
cc
C++
content/browser/android/popup_touch_handle_drawable.cc
aranajhonny/chromium
caf5bcb822f79b8997720e589334266551a50a13
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-01-16T03:57:39.000Z
2019-01-16T03:57:39.000Z
content/browser/android/popup_touch_handle_drawable.cc
aranajhonny/chromium
caf5bcb822f79b8997720e589334266551a50a13
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-02-10T21:00:08.000Z
2018-03-20T05:09:50.000Z
content/browser/android/popup_touch_handle_drawable.cc
aranajhonny/chromium
caf5bcb822f79b8997720e589334266551a50a13
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/android/popup_touch_handle_drawable.h" #include "jni/PopupTouchHandleDrawable_jni.h" namespace content { PopupTouchHandleDraw...
32.407407
78
0.763429
aranajhonny
78ef4f08d8a165c04c23503148476fb2e91fe5ca
117
cpp
C++
Basics/Destructors/music.cpp
srini1392/Programming-in-Cpp
099f44d65cbe976b27625e5806b32ab88414b019
[ "MIT" ]
null
null
null
Basics/Destructors/music.cpp
srini1392/Programming-in-Cpp
099f44d65cbe976b27625e5806b32ab88414b019
[ "MIT" ]
null
null
null
Basics/Destructors/music.cpp
srini1392/Programming-in-Cpp
099f44d65cbe976b27625e5806b32ab88414b019
[ "MIT" ]
null
null
null
#include <iostream> #include "song.hpp" int main() { Song back_to_black("Back to Black", "Amy Winehouse"); }
14.625
55
0.649573
srini1392
78f146e4f4b81f38ee25ea00821910807fa270ec
5,261
hpp
C++
src/umpire/util/AllocationMap.hpp
agcapps/Umpire
ecea50674437a3cac09fab53e5b842979158b44b
[ "MIT-0", "MIT" ]
null
null
null
src/umpire/util/AllocationMap.hpp
agcapps/Umpire
ecea50674437a3cac09fab53e5b842979158b44b
[ "MIT-0", "MIT" ]
null
null
null
src/umpire/util/AllocationMap.hpp
agcapps/Umpire
ecea50674437a3cac09fab53e5b842979158b44b
[ "MIT-0", "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2016-20, Lawrence Livermore National Security, LLC and Umpire // project contributors. See the COPYRIGHT file for details. // // SPDX-License-Identifier: (MIT) ////////////////////////////////////////////////////////////////...
28.748634
102
0.692074
agcapps
78f3d5fb59b10214f57a97c3f539b3ff16f6abb0
303
cc
C++
src/utils/src/threads/synchronization/lock.cc
Kozoriz/c-plus-utils
b64b283aa37be9526edb229b1e01d5107f4c7c78
[ "MIT" ]
null
null
null
src/utils/src/threads/synchronization/lock.cc
Kozoriz/c-plus-utils
b64b283aa37be9526edb229b1e01d5107f4c7c78
[ "MIT" ]
null
null
null
src/utils/src/threads/synchronization/lock.cc
Kozoriz/c-plus-utils
b64b283aa37be9526edb229b1e01d5107f4c7c78
[ "MIT" ]
null
null
null
#include "utils/threads/synchronization/lock.h" utils::synchronization::Lock::Lock() {} void utils::synchronization::Lock::Acquire() { std_mutex_.lock(); } void utils::synchronization::Lock::Release() { std_mutex_.unlock(); } void utils::synchronization::Lock::Try() { std_mutex_.try_lock(); }
20.2
47
0.712871
Kozoriz
78f4f7d1bc9889a97e80cded850e47d10b94d5de
6,333
cpp
C++
libraries/shared/src/shared/ConicalViewFrustum.cpp
kevinhouyang/hifi
cfb0d0aeb6d8961ec802909d4439d58383252e59
[ "Apache-2.0" ]
3
2019-01-27T14:49:35.000Z
2020-01-15T18:49:11.000Z
libraries/shared/src/shared/ConicalViewFrustum.cpp
kevinhouyang/hifi
cfb0d0aeb6d8961ec802909d4439d58383252e59
[ "Apache-2.0" ]
null
null
null
libraries/shared/src/shared/ConicalViewFrustum.cpp
kevinhouyang/hifi
cfb0d0aeb6d8961ec802909d4439d58383252e59
[ "Apache-2.0" ]
2
2019-06-13T22:25:13.000Z
2022-01-31T15:17:55.000Z
// // ConicalViewFrustum.cpp // libraries/shared/src/shared // // Created by Clement Brisset 4/26/18 // Copyright 2017 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "ConicalViewFrust...
41.664474
133
0.714827
kevinhouyang
78f50b2420169644c1e10ec8c1fcf8bcd1f25ea5
5,454
cpp
C++
Game/FinFan/Global.cpp
aldonunez/FinFan_script
eca35c0983252cc0f1536ec15c294cd726883ca6
[ "Apache-2.0" ]
4
2021-02-11T18:48:01.000Z
2021-12-02T18:12:50.000Z
Game/FinFan/Global.cpp
aldonunez/FinFan_script
eca35c0983252cc0f1536ec15c294cd726883ca6
[ "Apache-2.0" ]
null
null
null
Game/FinFan/Global.cpp
aldonunez/FinFan_script
eca35c0983252cc0f1536ec15c294cd726883ca6
[ "Apache-2.0" ]
1
2021-02-17T23:25:44.000Z
2021-02-17T23:25:44.000Z
/* Copyright 2012 Aldo J. Nunez Licensed under the Apache License, Version 2.0. See the LICENSE text file for details. */ #include "Common.h" #include "Global.h" static uint32_t timeBaseMillis; static uint32_t runStartMillis; int GetNextRandom( int range ) { // The original game uses...
21.816
98
0.578291
aldonunez
78f8c6f1694b5fd3d44d3557f86876af278acc7d
3,989
cpp
C++
src/MqMessaging/MqMessaging.cpp
iqrfsdk/iqrf-gateway-daemon
8875a9a0bf67003fc7115a59af12ab12d591b487
[ "Apache-2.0" ]
null
null
null
src/MqMessaging/MqMessaging.cpp
iqrfsdk/iqrf-gateway-daemon
8875a9a0bf67003fc7115a59af12ab12d591b487
[ "Apache-2.0" ]
1
2019-10-31T13:29:55.000Z
2019-10-31T13:29:55.000Z
src/MqMessaging/MqMessaging.cpp
iqrfsdk/iqrf-gateway-daemon
8875a9a0bf67003fc7115a59af12ab12d591b487
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2015-2021 IQRF Tech s.r.o. * Copyright 2019-2021 MICRORISC s.r.o. * * 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 *...
28.091549
107
0.661569
iqrfsdk
78f8eda147c422eac45ba1fb5711a6d72e6ed3fa
1,467
cpp
C++
534.cpp
mahmudahsan/203-ACM-Problems-Code
6e8f9698809c649a4c6bbba907d973e20360bc21
[ "MIT" ]
31
2015-01-10T07:15:41.000Z
2021-06-17T09:51:07.000Z
534.cpp
joycse06/203-ACM-Problems-Code
78529b45d3caace8f006a6ed6f66390fa3f377fc
[ "Unlicense" ]
null
null
null
534.cpp
joycse06/203-ACM-Problems-Code
78529b45d3caace8f006a6ed6f66390fa3f377fc
[ "Unlicense" ]
35
2015-01-04T18:59:15.000Z
2021-01-04T08:24:48.000Z
/* Problem: Frogger UVa 534 Programmer: Md. Mahmud Ahsan Description: Graph + Floyd Warshall + Minimax Compiled: Visual C++ 7.0 Date: 01-03-06 */ #include <iostream> #include <cstdio> #include <string> #include <cmath> #include <algorithm> using namespace std; const int MX = 205; const int IN...
19.051948
81
0.486708
mahmudahsan
78f9aac5786593f20f3a0723950dbdcb012f1432
3,001
cpp
C++
isode++/demo/iso/itu/osi/fsm/TrafficLight/Stoplight_sm.cpp
Kampbell/ISODE
37f161e65f11348ef6fca2925d399d611df9f31b
[ "Apache-2.0" ]
3
2016-01-18T17:00:00.000Z
2021-06-25T03:18:13.000Z
isode++/demo/iso/itu/osi/fsm/TrafficLight/Stoplight_sm.cpp
Kampbell/ISODE
37f161e65f11348ef6fca2925d399d611df9f31b
[ "Apache-2.0" ]
null
null
null
isode++/demo/iso/itu/osi/fsm/TrafficLight/Stoplight_sm.cpp
Kampbell/ISODE
37f161e65f11348ef6fca2925d399d611df9f31b
[ "Apache-2.0" ]
null
null
null
#include "stoplightdefs.h" #include "stoplight.h" #include "Stoplight_sm.h" using namespace statemap; namespace cpp_ex4 { // FSM Map constructor. StopMap::StopMap() : EastWestGreen("EastWestGreen", 0), EastWestYellow("EastWestYellow", 1), NorthSouthGreen("NorthSouthGreen", 2), NorthSouthYellow("NorthSouthYell...
32.268817
95
0.666778
Kampbell
78fd211db23fcdf4a7537954bac3d1e94b949bf2
37,857
cpp
C++
media_driver/media_driver_next/linux/common/os/mos_graphicsresource_specific_next.cpp
Alex1Zhang/media-driver
b285f47f1fb127cc3ca4f677631b6a71321a2db4
[ "MIT", "Intel", "BSD-3-Clause" ]
6
2019-04-18T02:51:40.000Z
2021-07-07T01:32:26.000Z
media_driver/media_driver_next/linux/common/os/mos_graphicsresource_specific_next.cpp
sushma08/media-driver
2eeb7e50604232e9a67fef0301adb4af108faccd
[ "Intel", "BSD-3-Clause", "MIT" ]
2
2019-04-12T03:00:14.000Z
2019-10-17T06:01:19.000Z
media_driver/media_driver_next/linux/common/os/mos_graphicsresource_specific_next.cpp
yangnin/media-driver
2c12eac7bdd5bb5ab97c740c9ad66cfaa9ba23be
[ "MIT", "Intel", "BSD-3-Clause" ]
6
2018-12-20T06:39:59.000Z
2019-09-25T06:24:02.000Z
/* * Copyright (c) 2019-2020, Intel Corporation * * 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...
35.546479
198
0.605753
Alex1Zhang
60025aa3b9b349ccacfefd74e2f9dc6bf594e3dc
2,081
cpp
C++
plugins/qm-dsp/dsp/tonal/TonalEstimator.cpp
horstsoft0815/qlcplus
249da9d165630b89fe9fbb0796d892c992645709
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
plugins/qm-dsp/dsp/tonal/TonalEstimator.cpp
horstsoft0815/qlcplus
249da9d165630b89fe9fbb0796d892c992645709
[ "ECL-2.0", "Apache-2.0" ]
8
2021-11-14T16:31:59.000Z
2021-12-11T19:53:10.000Z
plugins/qm-dsp/dsp/tonal/TonalEstimator.cpp
horstsoft0815/qlcplus
249da9d165630b89fe9fbb0796d892c992645709
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* QM DSP Library Centre for Digital Music, Queen Mary, University of London. This file copyright 2006 Martin Gasser. This program is free software; you can redistribute it and/or modify it under the terms of the GNU G...
22.619565
78
0.521864
horstsoft0815
60034d1aa83362c86f9a17ceb94fc8fc17325b3a
1,268
cpp
C++
options.cpp
kimushu/serialport-server
1cf84bc3adb86023f39c63940b967e830c8fe5c5
[ "MIT" ]
null
null
null
options.cpp
kimushu/serialport-server
1cf84bc3adb86023f39c63940b967e830c8fe5c5
[ "MIT" ]
null
null
null
options.cpp
kimushu/serialport-server
1cf84bc3adb86023f39c63940b967e830c8fe5c5
[ "MIT" ]
null
null
null
#include "options.hpp" #include <iostream> bool Options::parse(OsPort& os, int argc, char *argv[]) { int ch; char *optarg = nullptr; int optind = 0; while ((ch = os.getopt(argc, argv, "a:p:i:m:vh", optarg, optind)) != -1) { switch (ch) { case 'a': // -a <address> address = optarg; ...
24.862745
94
0.51183
kimushu
60040cee6792901b65114f996a0dae3d82a6cb2f
3,243
cpp
C++
tests/iob_calc_test.cpp
beached/oref0_cpp
f3cc43948aeae7f857a6618588f44ace601099d6
[ "MIT" ]
1
2016-12-18T08:58:57.000Z
2016-12-18T08:58:57.000Z
tests/iob_calc_test.cpp
beached/oref0_cpp
f3cc43948aeae7f857a6618588f44ace601099d6
[ "MIT" ]
null
null
null
tests/iob_calc_test.cpp
beached/oref0_cpp
f3cc43948aeae7f857a6618588f44ace601099d6
[ "MIT" ]
3
2016-12-18T08:59:04.000Z
2018-10-01T21:40:22.000Z
// // Copyright (c) 2016 Darrell Wright // // 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, pub...
37.709302
276
0.731113
beached
600738af064c05cdb12503e7de24200cf5f03c3a
3,689
cpp
C++
Source/Factions/Private/EnvironmentQuery/EnvQueryTest_Faction.cpp
budgidiere/FactionsExtension
9edfb2a3fd4d49d01dce5584afe9cb21af72eb75
[ "Apache-2.0" ]
null
null
null
Source/Factions/Private/EnvironmentQuery/EnvQueryTest_Faction.cpp
budgidiere/FactionsExtension
9edfb2a3fd4d49d01dce5584afe9cb21af72eb75
[ "Apache-2.0" ]
null
null
null
Source/Factions/Private/EnvironmentQuery/EnvQueryTest_Faction.cpp
budgidiere/FactionsExtension
9edfb2a3fd4d49d01dce5584afe9cb21af72eb75
[ "Apache-2.0" ]
null
null
null
// Copyright 2015-2019 Piperift. All Rights Reserved. #include "EnvQueryTest_Faction.h" #include "EnvironmentQuery/Items/EnvQueryItemType_ActorBase.h" #include "FactionsLibrary.h" #define LOCTEXT_NAMESPACE "UEnvQueryTest_Faction" UEnvQueryTest_Faction::UEnvQueryTest_Faction() : Super() , bCompareTowardsContextAc...
26.163121
126
0.740309
budgidiere