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
5ce9b755d89a4db853ce4dd62b33cc76509f16df
1,259
cpp
C++
Chapters/Chapter13/GoldenEgg/Source/GoldenEgg/SpellForceField.cpp
PacktPublishing/Learning-Cpp-by-Creating-Games-with-Unreal-Engine-4-Second-Edition
751edc780ba4c87d0a62acd53eacd9f562e06736
[ "MIT" ]
null
null
null
Chapters/Chapter13/GoldenEgg/Source/GoldenEgg/SpellForceField.cpp
PacktPublishing/Learning-Cpp-by-Creating-Games-with-Unreal-Engine-4-Second-Edition
751edc780ba4c87d0a62acd53eacd9f562e06736
[ "MIT" ]
null
null
null
Chapters/Chapter13/GoldenEgg/Source/GoldenEgg/SpellForceField.cpp
PacktPublishing/Learning-Cpp-by-Creating-Games-with-Unreal-Engine-4-Second-Edition
751edc780ba4c87d0a62acd53eacd9f562e06736
[ "MIT" ]
null
null
null
#include "GoldenEgg.h" #include "SpellForceField.h" #include "Monster.h" ASpellForceField::ASpellForceField(const class FObjectInitializer& PCIP) : Super(PCIP) { ProxSphere = PCIP.CreateDefaultSubobject<USphereComponent>(this, TEXT("ProxSphere")); ProxSphere->AttachTo( Particles ); Force = 1000; } void ASpellForce...
27.369565
88
0.706116
PacktPublishing
5ce9e43f9f473d28a1e6d492cfba214cec9951a4
424
hpp
C++
src/wifi.hpp
ixsiid/espidf-utility
06959c10883c9302345e34c23027f75491ec2159
[ "MIT" ]
null
null
null
src/wifi.hpp
ixsiid/espidf-utility
06959c10883c9302345e34c23027f75491ec2159
[ "MIT" ]
null
null
null
src/wifi.hpp
ixsiid/espidf-utility
06959c10883c9302345e34c23027f75491ec2159
[ "MIT" ]
null
null
null
#ifndef __UTILITY_WIFI_H #define __UTILITY_WIFI_H #include <lwip/inet.h> class WiFi { private: WiFi(); static bool initialized; static ip4_addr_t ip; static ip4_addr_t gateway; static ip4_addr_t subnetmask; static bool connected; public: static bool Connect(const char* ssid, const char* password); st...
19.272727
61
0.75
ixsiid
5cee282eefe7faf54143a5c8da6d24341b0e2de5
4,436
cpp
C++
src_smartcontract/lang/sc_expression/ConstructorArray.cpp
alinous-core/codable-cash
32a86a152a146c592bcfd8cc712f4e8cb38ee1a0
[ "MIT" ]
6
2019-01-06T05:02:39.000Z
2020-10-01T11:45:32.000Z
src_smartcontract/lang/sc_expression/ConstructorArray.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
209
2018-05-18T03:07:02.000Z
2022-03-26T11:42:41.000Z
src_smartcontract/lang/sc_expression/ConstructorArray.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
3
2019-07-06T09:16:36.000Z
2020-10-15T08:23:28.000Z
/* * ConstructorArray.cpp * * Created on: 2020/02/12 * Author: iizuka */ #include "lang/sc_expression/ConstructorArray.h" #include "engine/sc_analyze/AnalyzeContext.h" #include "engine/sc_analyze/AnalyzedType.h" #include "engine/sc_analyze/AnalyzedThisClassStackPopper.h" #include "engine/sc_analyze/Validat...
24.240437
129
0.714833
alinous-core
5cf4de84e9ae80dd20b510e889854a9125e9131b
17,124
cpp
C++
codec/encoder/core/src/svc_mode_decision.cpp
zhuling13/openh264
47a2e65327e0081bac87529ed26cfbc377ed4ddc
[ "BSD-2-Clause" ]
null
null
null
codec/encoder/core/src/svc_mode_decision.cpp
zhuling13/openh264
47a2e65327e0081bac87529ed26cfbc377ed4ddc
[ "BSD-2-Clause" ]
null
null
null
codec/encoder/core/src/svc_mode_decision.cpp
zhuling13/openh264
47a2e65327e0081bac87529ed26cfbc377ed4ddc
[ "BSD-2-Clause" ]
null
null
null
/*! * \copy * Copyright (c) 2009-2013, Cisco Systems * 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 abo...
41.362319
134
0.683076
zhuling13
9dc660aa4e41a0a15474be534d00deb672134692
5,962
cpp
C++
xlw/InterfaceGenerator/ParserData.cpp
jbriand/xlw
82b98a12f3c99876e54baa33ff2cb6786df141f7
[ "BSD-3-Clause" ]
34
2020-08-10T16:06:50.000Z
2022-03-02T18:58:03.000Z
xlw/InterfaceGenerator/ParserData.cpp
jbriand/xlw
82b98a12f3c99876e54baa33ff2cb6786df141f7
[ "BSD-3-Clause" ]
18
2020-08-02T23:31:28.000Z
2022-03-29T11:55:06.000Z
xlw/InterfaceGenerator/ParserData.cpp
jbriand/xlw
82b98a12f3c99876e54baa33ff2cb6786df141f7
[ "BSD-3-Clause" ]
11
2020-07-27T20:44:10.000Z
2022-02-02T20:58:59.000Z
/* Copyright (C) 2006 Mark Joshi Copyright (C) 2007, 2008 Eric Ehlers Copyright (C) 2011 Narinder Claire This file is part of XLW, a free-software/open-source C++ wrapper of the Excel C API - https://xlw.github.io/ XLW is free software: you can redistribute it and/or modify it under the terms of the XLW licen...
28.526316
87
0.626468
jbriand
9dc6aa79772b5cec8310264f1cedb43cc91d9598
5,042
hpp
C++
include/codegen/include/Zenject/ConventionBindInfo.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/Zenject/ConventionBindInfo.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/Zenject/ConventionBindInfo.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:42 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" #include "utils/i...
46.256881
149
0.735026
Futuremappermydud
9dc97e63f1312f8a4b80091897bc140aa30d23e8
2,742
cpp
C++
fifa_gp/predict.cpp
vittorioorlandi/STA663_FIFA_GP
cb5532f8104fa630b8ea6930f414e3228349ae52
[ "MIT" ]
null
null
null
fifa_gp/predict.cpp
vittorioorlandi/STA663_FIFA_GP
cb5532f8104fa630b8ea6930f414e3228349ae52
[ "MIT" ]
null
null
null
fifa_gp/predict.cpp
vittorioorlandi/STA663_FIFA_GP
cb5532f8104fa630b8ea6930f414e3228349ae52
[ "MIT" ]
null
null
null
#include <random> #include <Eigen/Dense> #include "HODLR_Tree.hpp" #include <pybind11/pybind11.h> #include <pybind11/eigen.h> #include <squaredeMat.hpp> //squared exponential kernel #include <squaredeP1Mat.hpp> using std::normal_distribution; namespace py = pybind11; Eigen::MatrixXd predict(Eigen::MatrixXd X, Eigen::...
29.804348
217
0.598833
vittorioorlandi
9dcad50264e88cff26db3972553fda33ead5bcca
4,101
hpp
C++
bridge/cxx/include/bhxx/array_create.hpp
bh107/bohrium
5b83e7117285fefc7779ed0e9acb0f8e74c7e068
[ "Apache-2.0" ]
236
2015-03-31T15:39:30.000Z
2022-03-24T01:43:14.000Z
bridge/cxx/include/bhxx/array_create.hpp
bh107/bohrium
5b83e7117285fefc7779ed0e9acb0f8e74c7e068
[ "Apache-2.0" ]
324
2015-05-27T10:35:38.000Z
2021-12-10T07:34:10.000Z
bridge/cxx/include/bhxx/array_create.hpp
bh107/bohrium
5b83e7117285fefc7779ed0e9acb0f8e74c7e068
[ "Apache-2.0" ]
41
2015-05-26T12:38:42.000Z
2022-01-10T15:16:37.000Z
/* This file is part of Bohrium and copyright (c) 2012 the Bohrium team <http://www.bh107.org>. Bohrium is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) ...
29.503597
89
0.692758
bh107
9dd070c48e471b1ca04cc3c26cba796e857afa25
426
cpp
C++
src/ElfLoader/Core/Exceptions/ProcessorBinaryShutdownException.cpp
nathanmentley/-elf-loader
9f484fa61592e3af6835858961bf6290436fb418
[ "MIT" ]
null
null
null
src/ElfLoader/Core/Exceptions/ProcessorBinaryShutdownException.cpp
nathanmentley/-elf-loader
9f484fa61592e3af6835858961bf6290436fb418
[ "MIT" ]
null
null
null
src/ElfLoader/Core/Exceptions/ProcessorBinaryShutdownException.cpp
nathanmentley/-elf-loader
9f484fa61592e3af6835858961bf6290436fb418
[ "MIT" ]
null
null
null
// // ProcessorBinaryShutdownException.cpp // elf-loader // // Created by Nathan Mentley on 4/29/20. // Copyright © 2020 Nathan Mentley. All rights reserved. // #include <ElfLoader/Core/Exceptions/ProcessorBinaryShutdownException.h> Core::Exceptions::ProcessorBinaryShutdownException::ProcessorBinaryShutdownExcept...
32.769231
85
0.788732
nathanmentley
9dd2e4bb8318b8f7298242866853681f7f10c2f7
8,950
cpp
C++
src/qt/qtbase/tests/auto/dbus/qdbusservicewatcher/tst_qdbusservicewatcher.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/tests/auto/dbus/qdbusservicewatcher/tst_qdbusservicewatcher.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/tests/auto/dbus/qdbusservicewatcher/tst_qdbusservicewatcher.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercia...
33.395522
105
0.694637
zwollerob
9dd2fbd09ba6dcd244a3d62627615d9dee4ca6ac
16,202
cpp
C++
src/core/commands.cpp
sellesoft/deshi
0bcd13bce29278f89fe6fe7b6658df349c104ee2
[ "Unlicense" ]
null
null
null
src/core/commands.cpp
sellesoft/deshi
0bcd13bce29278f89fe6fe7b6658df349c104ee2
[ "Unlicense" ]
null
null
null
src/core/commands.cpp
sellesoft/deshi
0bcd13bce29278f89fe6fe7b6658df349c104ee2
[ "Unlicense" ]
null
null
null
/*Index: @vars @add @run @init */ #include "memory.h" #define DESHI_CMD_START(name, desc) \ deshi__last_cmd_desc = str8_lit(desc); \ auto deshi__cmd__##name = [](str8* args, u32 arg_count) -> void #define DESHI_CMD_END_NO_ARGS(name) \ ; \ cmd_add(deshi__cmd__##name, str8_lit(#name), deshi__last_cmd_desc, 0, 0) #def...
34.545842
133
0.660351
sellesoft
9dd39adbcf01df8879247d8e0f45898bc7bd4eea
1,628
cpp
C++
LinkedList/0002-Add-Two-Numbers/main.cpp
FeiZhao0531/PlayLeetCode
ed23477fd6086d5139bda3d93feeabc09b06854d
[ "MIT" ]
5
2019-05-11T18:33:32.000Z
2019-12-13T09:13:02.000Z
LinkedList/0002-Add-Two-Numbers/main.cpp
FeiZhao0531/PlayLeetCode
ed23477fd6086d5139bda3d93feeabc09b06854d
[ "MIT" ]
null
null
null
LinkedList/0002-Add-Two-Numbers/main.cpp
FeiZhao0531/PlayLeetCode
ed23477fd6086d5139bda3d93feeabc09b06854d
[ "MIT" ]
null
null
null
/// Source : https://leetcode.com/problems/add-two-numbers/description/ /// Author : Fei /// Time : Jun-4-2019 #include "../SingleLinkedList.h" #include "../SingleLinkedList.cpp" #include <cassert> using namespace std; class Solution { public: class Solution { public: ListNode* addTwoNumbers(ListNode* l1, List...
25.046154
71
0.565725
FeiZhao0531
9dd6cee88efd3209a4e42d91fa65b737411476e3
850
cxx
C++
src/TrackFit/KalmanFilterFit/FitMatrices/StdProjectionMatrix.cxx
fermi-lat/TkrRecon
9174a0ab1310038d3956ab4dcc26e06b8a845daf
[ "BSD-3-Clause" ]
null
null
null
src/TrackFit/KalmanFilterFit/FitMatrices/StdProjectionMatrix.cxx
fermi-lat/TkrRecon
9174a0ab1310038d3956ab4dcc26e06b8a845daf
[ "BSD-3-Clause" ]
null
null
null
src/TrackFit/KalmanFilterFit/FitMatrices/StdProjectionMatrix.cxx
fermi-lat/TkrRecon
9174a0ab1310038d3956ab4dcc26e06b8a845daf
[ "BSD-3-Clause" ]
null
null
null
/** * @class StdProjectionMatrix * * @brief Definition of a Kalman Filter projection matrix. This is used to projected out the measured * coordinates (and errors) from the state vector (covariance matrix) during the track fits * * @author Tracy Usher * * $Header: /nfs/slac/g/glast/ground/cvs/TkrRecon/src...
27.419355
152
0.716471
fermi-lat
9dd6f5554452911a8c6ef1b2f5126a2e0ace466b
6,923
cpp
C++
components/z8lua/lpico8lib.cpp
concreted/tac08
ce0743c9c98b458e67f7473eaf423520f639a2e5
[ "MIT" ]
1
2021-01-02T19:18:19.000Z
2021-01-02T19:18:19.000Z
components/z8lua/lpico8lib.cpp
concreted/tac08
ce0743c9c98b458e67f7473eaf423520f639a2e5
[ "MIT" ]
null
null
null
components/z8lua/lpico8lib.cpp
concreted/tac08
ce0743c9c98b458e67f7473eaf423520f639a2e5
[ "MIT" ]
null
null
null
// // ZEPTO-8 — Fantasy console emulator // // Copyright © 2016—2017 Sam Hocevar <sam@hocevar.net> // // This program is free software. It comes without any warranty, to // the extent permitted by applicable law. You can redistribute it // and/or modify it under the terms of the Do What the Fuck You Want // to Pu...
27.915323
90
0.619674
concreted
9dd7e968b3ad4c4aa4f1ecf9cae9d75fd798df51
1,557
cpp
C++
test/test.cpp
jermp/mm_file
ed6dbb828d7ed85128241ef6693bf383d7f7cb2d
[ "MIT" ]
8
2019-06-06T13:31:01.000Z
2022-02-09T01:35:48.000Z
test/test.cpp
jermp/mm_file
ed6dbb828d7ed85128241ef6693bf383d7f7cb2d
[ "MIT" ]
null
null
null
test/test.cpp
jermp/mm_file
ed6dbb828d7ed85128241ef6693bf383d7f7cb2d
[ "MIT" ]
1
2020-10-30T19:35:30.000Z
2020-10-30T19:35:30.000Z
#include <iostream> #include "../include/mm_file/mm_file.hpp" int main() { std::string filename("./tmp.bin"); static const size_t n = 13; { // write n uint32_t integers mm::file_sink<uint32_t> fout(filename, n); std::cout << "mapped " << fout.bytes() << " bytes " ...
27.803571
71
0.478484
jermp
9de12943e1145ac83a5fd5b10b45272fb5dea7a9
3,716
cpp
C++
GVRf/Framework/framework/src/main/jni/objects/components/bone_jni.cpp
sidia-dev-team/GearVRf
d93d62d49e5fc5b55dc00a485db92ec8fe004db1
[ "Apache-2.0" ]
474
2015-03-27T17:14:43.000Z
2022-03-30T23:10:38.000Z
GVRf/Framework/framework/src/main/jni/objects/components/bone_jni.cpp
sidia-dev-team/GearVRf
d93d62d49e5fc5b55dc00a485db92ec8fe004db1
[ "Apache-2.0" ]
1,677
2015-03-28T02:00:21.000Z
2019-10-21T13:28:44.000Z
GVRf/Framework/framework/src/main/jni/objects/components/bone_jni.cpp
sidia-dev-team/GearVRf
d93d62d49e5fc5b55dc00a485db92ec8fe004db1
[ "Apache-2.0" ]
260
2015-03-27T23:55:12.000Z
2022-03-18T03:46:41.000Z
/*************************************************************************** * JNI ***************************************************************************/ #include "glm/glm.hpp" #include "glm/gtc/type_ptr.hpp" #include "objects/components/bone.h" #include "util/gvr_jni.h" namespace gvr { extern "C" { JNI...
31.760684
116
0.699139
sidia-dev-team
9de2b001e9267ff1935a2426223f12bf406b5efe
225
cpp
C++
Pack_plugins/Pack_tool/ToolsModel.cpp
GreatCong/GUI_EC_PluginSrc
9194e67b76f3707f782f1fc17ba6e6dcb712c2a5
[ "MIT" ]
1
2019-12-25T13:36:01.000Z
2019-12-25T13:36:01.000Z
Pack_plugins/Pack_tool/ToolsModel.cpp
GreatCong/GUI_EC_PluginSrc
9194e67b76f3707f782f1fc17ba6e6dcb712c2a5
[ "MIT" ]
null
null
null
Pack_plugins/Pack_tool/ToolsModel.cpp
GreatCong/GUI_EC_PluginSrc
9194e67b76f3707f782f1fc17ba6e6dcb712c2a5
[ "MIT" ]
1
2020-08-05T14:05:15.000Z
2020-08-05T14:05:15.000Z
#include "ToolsModel.h" #include <QDesktopServices> #include <QUrl> ToolsModel::ToolsModel(QObject *parent) : QObject(parent) { } void ToolsModel::openUrl(const QString &url) { QDesktopServices::openUrl(QUrl(url)); }
16.071429
57
0.728889
GreatCong
9de6658e6542fb507a086f453e6e84eafe9c93fa
1,155
cpp
C++
c10/10.5.cpp
sarthak-gupta-sg/hello-world
324f321a5454964b35b8399884d8c99971bd3425
[ "Apache-2.0" ]
null
null
null
c10/10.5.cpp
sarthak-gupta-sg/hello-world
324f321a5454964b35b8399884d8c99971bd3425
[ "Apache-2.0" ]
null
null
null
c10/10.5.cpp
sarthak-gupta-sg/hello-world
324f321a5454964b35b8399884d8c99971bd3425
[ "Apache-2.0" ]
1
2020-05-30T04:30:16.000Z
2020-05-30T04:30:16.000Z
#include <iostream> #include <algorithm> #include <vector> #include <list> #include <cstring> using namespace std; int main() { vector<const char * > roster1 { "abc", "def", "ghi"}; list<const char * > roster2 { "abc", "def", "ghi"}; //list<const char * > roster2(roster1.cbegin(), roster1.cend()); boo...
26.25
80
0.505628
sarthak-gupta-sg
9de8a46824c704648359b5985afea7ee55d93062
14,883
cpp
C++
cpp/libs/Molecular/CLCFGO_lib.cpp
ProkopHapala/SimpleSimulationEngine
240f9b7e85b3a6eda7a27dc15fe3f7b8c08774c5
[ "MIT" ]
26
2016-12-04T04:45:12.000Z
2022-03-24T09:39:28.000Z
cpp/libs/Molecular/CLCFGO_lib.cpp
ProkopHapala/SimpleSimulationEngine
240f9b7e85b3a6eda7a27dc15fe3f7b8c08774c5
[ "MIT" ]
null
null
null
cpp/libs/Molecular/CLCFGO_lib.cpp
ProkopHapala/SimpleSimulationEngine
240f9b7e85b3a6eda7a27dc15fe3f7b8c08774c5
[ "MIT" ]
2
2019-02-09T12:31:06.000Z
2019-04-28T02:24:50.000Z
 #include <stdlib.h> #include <stdio.h> #include <string.h> #include <vector> #include <math.h> #include <vector> #include <unordered_map> #include <string> #include "fastmath.h" #include "Vec3.h" #include "Mat3.h" //#include "VecN.h" #include "testUtils.h" #include "integration.h" #include "AOIntegrals.h" //#incl...
37.678481
201
0.563932
ProkopHapala
9ded4c0e6c98c96d1dc7e14a4ca4d784bf9d9ba4
13,759
cpp
C++
common/operations/Softmax.cpp
riscv-android-src/platform-packages-modules-NeuralNetworks
32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5
[ "Apache-2.0" ]
null
null
null
common/operations/Softmax.cpp
riscv-android-src/platform-packages-modules-NeuralNetworks
32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5
[ "Apache-2.0" ]
null
null
null
common/operations/Softmax.cpp
riscv-android-src/platform-packages-modules-NeuralNetworks
32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2019 The Android Open Source Project * * 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 app...
47.940767
100
0.630714
riscv-android-src
9df3b13073598a0ef2116e9567a8618ec28c1ba2
1,341
cpp
C++
meta_struct_20/cppcon_version/meta_struct_1.cpp
google/cpp-from-the-sky-down
10c8d16e877796f2906bedbd3a66fb6469b3a211
[ "Apache-2.0" ]
219
2018-08-15T22:01:07.000Z
2022-03-23T11:46:54.000Z
meta_struct_20/cppcon_version/meta_struct_1.cpp
google/cpp-from-the-sky-down
10c8d16e877796f2906bedbd3a66fb6469b3a211
[ "Apache-2.0" ]
5
2018-09-11T06:15:28.000Z
2022-01-05T15:27:31.000Z
meta_struct_20/cppcon_version/meta_struct_1.cpp
google/cpp-from-the-sky-down
10c8d16e877796f2906bedbd3a66fb6469b3a211
[ "Apache-2.0" ]
27
2018-09-11T06:14:40.000Z
2022-03-20T09:46:14.000Z
#include <algorithm> #include <cstddef> template <std::size_t N> struct fixed_string { constexpr fixed_string(const char (&foo)[N + 1]) { std::copy_n(foo, N + 1, data); } auto operator<=>(const fixed_string&) const = default; char data[N + 1] = {}; }; template <std::size_t N> fixed_string(const char (&str)[...
21.629032
61
0.633855
google
9df4a23e4e574681f332fe213b1e6627818591cd
1,815
cc
C++
algorithms/background/glm/boost_python/ext.cc
TiankunZhou/dials
bd5c95b73c442cceb1c61b1690fd4562acf4e337
[ "BSD-3-Clause" ]
58
2015-10-15T09:28:20.000Z
2022-03-28T20:09:38.000Z
algorithms/background/glm/boost_python/ext.cc
TiankunZhou/dials
bd5c95b73c442cceb1c61b1690fd4562acf4e337
[ "BSD-3-Clause" ]
1,741
2015-11-24T08:17:02.000Z
2022-03-31T15:46:42.000Z
algorithms/background/glm/boost_python/ext.cc
TiankunZhou/dials
bd5c95b73c442cceb1c61b1690fd4562acf4e337
[ "BSD-3-Clause" ]
45
2015-10-14T13:44:16.000Z
2022-03-22T14:45:56.000Z
/* * ext.cc * * Copyright (C) 2013 Diamond Light Source * * Author: James Parkhurst * * This code is distributed under the BSD license, a copy of which is * included in the root directory of this package. */ #include <boost/python.hpp> #include <boost/python/def.hpp> #include <dials/algorithms/background/g...
36.3
88
0.686501
TiankunZhou
9df5a52a4836c72b14bdce9701b3cab75024ea52
955
hpp
C++
plugins/d3d9/include/sge/d3d9/state/core/depth_stencil/depth/visitor.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/d3d9/include/sge/d3d9/state/core/depth_stencil/depth/visitor.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/d3d9/include/sge/d3d9/state/core/depth_stencil/depth/visitor.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SGE_D3D9_STATE_CORE_DEPTH_STENCIL_DEPTH_VISITOR_HPP_INCLUDED #define SGE_D3D9_STATE_CORE_DE...
21.704545
98
0.762304
cpreh
9dfe69429c5cf404fde62bcfe39ee68802b20349
1,064
hpp
C++
Embedded/terranova_sketch/ImuSensor.hpp
dhawkes36/TerraNova
8fc460d5f221370c8f0b84851c72432dea148b4e
[ "MIT" ]
null
null
null
Embedded/terranova_sketch/ImuSensor.hpp
dhawkes36/TerraNova
8fc460d5f221370c8f0b84851c72432dea148b4e
[ "MIT" ]
null
null
null
Embedded/terranova_sketch/ImuSensor.hpp
dhawkes36/TerraNova
8fc460d5f221370c8f0b84851c72432dea148b4e
[ "MIT" ]
null
null
null
#pragma once #include <Arduino.h> #include <Wire.h> #include <math.h> #include "SparkFunLSM9DS1.h" #define LSM9DS1_M 0x1E // Would be 0x1C if SDO_M is LOW #define LSM9DS1_AG 0x6B // Would be 0x6A if SDO_AG is LOW // Earth's magnetic field varies by location. Add or subtract // a declination to get a more accurate...
19.703704
108
0.668233
dhawkes36
3b00e634808c129e66563ab75eb49086a83d0a3d
2,856
cpp
C++
WitchEngine3/src/WE3/mesh/WEMeshInstance.cpp
jadnohra/World-Of-Football
fc4c9dd23e0b2d8381ae8f62b1c387af7f28fcfc
[ "MIT" ]
3
2018-12-02T14:09:22.000Z
2021-11-22T07:14:05.000Z
WitchEngine3/src/WE3/mesh/WEMeshInstance.cpp
jadnohra/World-Of-Football
fc4c9dd23e0b2d8381ae8f62b1c387af7f28fcfc
[ "MIT" ]
1
2018-12-03T22:54:38.000Z
2018-12-03T22:54:38.000Z
WitchEngine3/src/WE3/mesh/WEMeshInstance.cpp
jadnohra/World-Of-Football
fc4c9dd23e0b2d8381ae8f62b1c387af7f28fcfc
[ "MIT" ]
2
2020-09-22T21:04:14.000Z
2021-05-24T09:43:28.000Z
#include "WEMeshInstance.h" namespace WE { bool MeshInstance::init(Mesh& mesh, RenderLoadContext& renderLoadContext) { return mesh.initInstance(*this, renderLoadContext); } bool MeshInstance::isInited() { return mMesh.isValid(); } /* bool MeshInstance::hasSkeletonInstance() { return mSkelIn...
17.101796
105
0.686625
jadnohra
3b01bb6578e79315fcb1c382fa78278162bf3488
885
hpp
C++
code/include/common/Mutex.hpp
StuntHacks/infinite-dungeons
b462dd27c4e0f7285940e45d086b5d022fea23df
[ "MIT" ]
null
null
null
code/include/common/Mutex.hpp
StuntHacks/infinite-dungeons
b462dd27c4e0f7285940e45d086b5d022fea23df
[ "MIT" ]
null
null
null
code/include/common/Mutex.hpp
StuntHacks/infinite-dungeons
b462dd27c4e0f7285940e45d086b5d022fea23df
[ "MIT" ]
null
null
null
/** * @file common/Mutex.hpp * @brief Defines the Mutex class */ #pragma once #ifdef __SWITCH__ #include <sys/lock.h> #else #ifdef __PC__ #include <mutex> #endif #endif namespace id { /** * @brief A mutex */ class Mutex { public: /** * @brief Creates the m...
16.388889
47
0.444068
StuntHacks
3b0498e0685a650933d0c9e4519fc67dc41c8d3b
4,840
cpp
C++
tank_demo.cpp
alerdenisov/eos-tank-demo
9ef62fc22e8998d091d09298b0ffbd321e1f8cc2
[ "MIT" ]
13
2017-08-02T03:59:45.000Z
2021-04-20T04:12:40.000Z
tank_demo.cpp
philsong/eos-tank-demo
9ef62fc22e8998d091d09298b0ffbd321e1f8cc2
[ "MIT" ]
1
2021-05-11T02:36:30.000Z
2021-05-11T02:36:30.000Z
tank_demo.cpp
philsong/eos-tank-demo
9ef62fc22e8998d091d09298b0ffbd321e1f8cc2
[ "MIT" ]
5
2017-07-31T05:27:42.000Z
2019-03-30T09:58:07.000Z
// Copyright (c) 2017 Aler Denisov // 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, di...
26.888889
81
0.718595
alerdenisov
3b07a3124914a3223202fbd58b1008a8d750950a
6,514
cpp
C++
widgets/screenshotwidget.cpp
JLIT0/GBox
f5df851534bfb5cbdf0ae84d25e58a6cfdc69241
[ "Apache-2.0" ]
null
null
null
widgets/screenshotwidget.cpp
JLIT0/GBox
f5df851534bfb5cbdf0ae84d25e58a6cfdc69241
[ "Apache-2.0" ]
null
null
null
widgets/screenshotwidget.cpp
JLIT0/GBox
f5df851534bfb5cbdf0ae84d25e58a6cfdc69241
[ "Apache-2.0" ]
null
null
null
/*********************************************************************** *Copyright 2010-20XX by 7ymekk * * 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.apach...
35.98895
125
0.600399
JLIT0
3b07a48c5e7b56564fc3984f19bd2ebf04f54b18
1,705
cpp
C++
main/libs/common/src/message.cpp
ttgc/ThunderSiege6-Chat
1a1601c2d18429baadc3b6d3d0f9b1354246c1f1
[ "MIT" ]
null
null
null
main/libs/common/src/message.cpp
ttgc/ThunderSiege6-Chat
1a1601c2d18429baadc3b6d3d0f9b1354246c1f1
[ "MIT" ]
null
null
null
main/libs/common/src/message.cpp
ttgc/ThunderSiege6-Chat
1a1601c2d18429baadc3b6d3d0f9b1354246c1f1
[ "MIT" ]
null
null
null
#include "message.hpp" namespace network { namespace message { size_t Message::s_maxsizeUsername = 24; size_t Message::s_maxsizeMessage = 512; Message::Message( const std::string& username, MessageType msgType, Team playerTeam, const std::string& message) noexcept : m_message(mes...
29.912281
98
0.646334
ttgc
3b086f8c712fea2e9ee0e96726386d77990daf57
1,191
cpp
C++
src/lib/ConcurrentLib/ConcurrentObjects.cpp
Korovasoft/Concurrent-GARTH
2f22c464ce30f743b45bbd6c18a8546bee69be93
[ "MIT" ]
null
null
null
src/lib/ConcurrentLib/ConcurrentObjects.cpp
Korovasoft/Concurrent-GARTH
2f22c464ce30f743b45bbd6c18a8546bee69be93
[ "MIT" ]
null
null
null
src/lib/ConcurrentLib/ConcurrentObjects.cpp
Korovasoft/Concurrent-GARTH
2f22c464ce30f743b45bbd6c18a8546bee69be93
[ "MIT" ]
null
null
null
//////////////////////////////////////// //////////////////////////////////////// // // Copyright (C) 2014 Korovasoft, Inc. // // File: // \file ConcurrentObjects.cpp // // Description: // \brief ConcurrentObjects Library implementation. // // Author: // \author J. Caleb Wherry // ///////////////////...
17.26087
78
0.555835
Korovasoft
3b0a9c69a2c085265834fdfa3bd784d7609a2b6c
7,261
cpp
C++
esp/main/grabber/cfgpull.cpp
mincrmatt12/MSign
745bd04bc2b38952f5b35cf81f5924bd8f00452e
[ "MIT" ]
5
2019-11-04T17:01:46.000Z
2020-06-18T07:07:34.000Z
esp/main/grabber/cfgpull.cpp
mincrmatt12/SignCode
745bd04bc2b38952f5b35cf81f5924bd8f00452e
[ "MIT" ]
null
null
null
esp/main/grabber/cfgpull.cpp
mincrmatt12/SignCode
745bd04bc2b38952f5b35cf81f5924bd8f00452e
[ "MIT" ]
2
2020-06-18T07:07:37.000Z
2020-10-14T04:41:12.000Z
#include "cfgpull.cfg.h" #include "cfgpull.h" #include "../dwhttp.h" #include "esp_system.h" #include <esp_log.h> #ifndef SIM #include <esp_ota_ops.h> #include <sdkconfig.h> #endif #include <memory> #include <bearssl_hmac.h> #include <bearssl_hash.h> #include "../sd.h" #include "../common/util.h" #include "../seri...
25.839858
117
0.656521
mincrmatt12
3b0ea8fbee263602def6f08e97a21b5a9796e3fc
993
cpp
C++
ambient-sandbox-application/demos/PlatformGame2D/LevelManager.cpp
prajwaldp/cpp-game-engine
df036f115ae45fda21e57d526d251b43ed6368c9
[ "MIT" ]
null
null
null
ambient-sandbox-application/demos/PlatformGame2D/LevelManager.cpp
prajwaldp/cpp-game-engine
df036f115ae45fda21e57d526d251b43ed6368c9
[ "MIT" ]
null
null
null
ambient-sandbox-application/demos/PlatformGame2D/LevelManager.cpp
prajwaldp/cpp-game-engine
df036f115ae45fda21e57d526d251b43ed6368c9
[ "MIT" ]
null
null
null
// // Created by Prajwal Prakash on 24/06/20. // #include "LevelManager.h" #include <filesystem> #include <fstream> LevelManager::LevelManager(const char* assets_directory) : m_AssetsDirectory(assets_directory) { LoadLevels(); } void LevelManager::LoadLevels() { for (const auto& entry : std::filesystem::dir...
21.586957
94
0.59718
prajwaldp
3b13b6b256f7e9dd51deb0231598592148539d1c
23,624
cpp
C++
duds/hardware/interface/linux/GpioDevPort.cpp
jjackowski/duds
0fc4eec0face95c13575672f2a2d8625517c9469
[ "BSD-2-Clause" ]
null
null
null
duds/hardware/interface/linux/GpioDevPort.cpp
jjackowski/duds
0fc4eec0face95c13575672f2a2d8625517c9469
[ "BSD-2-Clause" ]
null
null
null
duds/hardware/interface/linux/GpioDevPort.cpp
jjackowski/duds
0fc4eec0face95c13575672f2a2d8625517c9469
[ "BSD-2-Clause" ]
null
null
null
/* * This file is part of the DUDS project. It is subject to the BSD-style * license terms in the LICENSE file found in the top-level directory of this * distribution and at https://github.com/jjackowski/duds/blob/master/LICENSE. * No part of DUDS, including this file, may be copied, modified, propagated, * or dis...
30.326059
84
0.696664
jjackowski
3b162794ea81a887c37746a19ad17f25cfe96a7d
8,986
cxx
C++
src/ptclib/textdata.cxx
suxinde2009/ptlib
3d185e55144b98aa46903d48468745ffd07b2a9d
[ "Beerware" ]
null
null
null
src/ptclib/textdata.cxx
suxinde2009/ptlib
3d185e55144b98aa46903d48468745ffd07b2a9d
[ "Beerware" ]
null
null
null
src/ptclib/textdata.cxx
suxinde2009/ptlib
3d185e55144b98aa46903d48468745ffd07b2a9d
[ "Beerware" ]
1
2020-07-21T11:47:44.000Z
2020-07-21T11:47:44.000Z
/* * textdata.cxx * * Text data stream parser * * Portable Tools Library * * Copyright (C) 2019 by Vox Lucida Pty. Ltd. * * The contents of this file are subject to the Mozilla Public License * Version 1.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the L...
20.284424
122
0.638883
suxinde2009
3b1700f1a6320e5bec8ea7b1325d8af1c105c40b
1,120
cpp
C++
LeetCode/665Non-decreasing Array.cpp
zhchuu/OJ-Solutions
09e1c18104db35d7c6919257ebaa0f170f54796c
[ "MIT" ]
null
null
null
LeetCode/665Non-decreasing Array.cpp
zhchuu/OJ-Solutions
09e1c18104db35d7c6919257ebaa0f170f54796c
[ "MIT" ]
null
null
null
LeetCode/665Non-decreasing Array.cpp
zhchuu/OJ-Solutions
09e1c18104db35d7c6919257ebaa0f170f54796c
[ "MIT" ]
null
null
null
#include<iostream> #include<stdio.h> #include<vector> using namespace std; bool isIncreasing(vector<int>& nums) { for (int i = 0; i < nums.size() - 1; i++) { if (nums[i] > nums[i + 1]) return false; } return true; } bool checkPossibility(vector<int>& nums) { int modified = 0, i; int temp; vector<int>::iterat...
19.649123
54
0.546429
zhchuu
3b17e9e50f5e642166a51cf5a7d96726f77fd3ed
38,117
cpp
C++
src/library/renderbuffer.cpp
flubbe/swr
2f09acb9f27a8d5345aaeb6f229f74693a24fcdd
[ "MIT" ]
1
2022-02-15T21:00:31.000Z
2022-02-15T21:00:31.000Z
src/library/renderbuffer.cpp
flubbe/swr
2f09acb9f27a8d5345aaeb6f229f74693a24fcdd
[ "MIT" ]
null
null
null
src/library/renderbuffer.cpp
flubbe/swr
2f09acb9f27a8d5345aaeb6f229f74693a24fcdd
[ "MIT" ]
null
null
null
/** * swr - a software rasterizer * * frame buffer buffer implementation. * * \author Felix Lubbe * \copyright Copyright (c) 2021 * \license Distributed under the MIT software license (see accompanying LICENSE.txt). */ /* user headers. */ #include "swr_internal.h" namespace swr { namespace impl { /* * he...
42.541295
242
0.626859
flubbe
3b1857c8de1641ca1ae73003d9dddc9b264840c5
3,185
cpp
C++
src/gdx-cpp/audio/analysis/KissFFT.cpp
aevum/libgdx-cpp
88603a59af4d915259a841e13ce88f65c359f0df
[ "Apache-2.0" ]
77
2015-01-28T17:21:49.000Z
2022-02-17T17:59:21.000Z
src/gdx-cpp/audio/analysis/KissFFT.cpp
aevum/libgdx-cpp
88603a59af4d915259a841e13ce88f65c359f0df
[ "Apache-2.0" ]
5
2015-03-22T23:14:54.000Z
2020-09-18T13:26:03.000Z
src/gdx-cpp/audio/analysis/KissFFT.cpp
aevum/libgdx-cpp
88603a59af4d915259a841e13ce88f65c359f0df
[ "Apache-2.0" ]
24
2015-02-12T04:34:37.000Z
2021-06-19T17:05:23.000Z
/* Copyright 2011 Aevum Software aevum @ aevumlab.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless requi...
27.456897
102
0.592465
aevum
3b189c776d46b50c7fc9efe23de9a9298b2b3b44
1,207
cpp
C++
0644-Maximum Average Subarray II/0644-Maximum Average Subarray II.cpp
zhuangli1987/LeetCode-1
e81788abf9e95e575140f32a58fe983abc97fa4a
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
0601-0700/0644-Maximum Average Subarray II/0644-Maximum Average Subarray II.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
0601-0700/0644-Maximum Average Subarray II/0644-Maximum Average Subarray II.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution { public: double findMaxAverage(vector<int>& nums, int k) { int n = nums.size(); int minNum = INT_MAX, maxNum = INT_MIN; for (int num : nums) { minNum = min(minNum, num); maxNum = max(maxNum, num); } double low = minNum, high = maxNum; ...
25.145833
61
0.400994
zhuangli1987
3b19c39ea419dc6a928525f68a89e55b9e06fff5
1,549
cpp
C++
pihud/src/Event.cpp
maximaximal/piga
54530c208e59eaaf8d44c1f8d640f5ec028d4126
[ "Zlib" ]
2
2015-01-07T18:36:39.000Z
2015-01-08T13:54:43.000Z
pihud/src/Event.cpp
maximaximal/piga
54530c208e59eaaf8d44c1f8d640f5ec028d4126
[ "Zlib" ]
null
null
null
pihud/src/Event.cpp
maximaximal/piga
54530c208e59eaaf8d44c1f8d640f5ec028d4126
[ "Zlib" ]
null
null
null
#include <pihud/Event.hpp> namespace PiH { Event::Event() { type = EventType::NotSet; } Event::Event(const InputEvent &inputEvent, int playerID) { type = EventType::Input; input = inputEvent; this->playerID = playerID; } Event::Event(const FocusEvent &focusEvent, i...
28.163636
92
0.534538
maximaximal
3b1ae204503de0594c7fadf3480b605dbfd9d0b9
5,731
cc
C++
aux/broker/tests/benchmark/broker-stream-benchmark.cc
zpx2012/zeek_3.0.8
7a912ebbdd0871838c7fb35538fef467279ec1fe
[ "Apache-2.0", "CC0-1.0", "MIT" ]
1
2021-03-06T19:51:07.000Z
2021-03-06T19:51:07.000Z
aux/broker/tests/benchmark/broker-stream-benchmark.cc
zpx2012/zeek_3.0.8
7a912ebbdd0871838c7fb35538fef467279ec1fe
[ "Apache-2.0", "CC0-1.0", "MIT" ]
null
null
null
aux/broker/tests/benchmark/broker-stream-benchmark.cc
zpx2012/zeek_3.0.8
7a912ebbdd0871838c7fb35538fef467279ec1fe
[ "Apache-2.0", "CC0-1.0", "MIT" ]
null
null
null
#include <cstdint> #include <cstdlib> #include <atomic> #include <chrono> #include <iostream> #include <string> #include <thread> #include <utility> #include <vector> #include <caf/atom.hpp> #include <caf/config_option_adder.hpp> #include <caf/downstream.hpp> #include <caf/event_based_actor.hpp> #include <caf/scoped_a...
26.532407
80
0.585064
zpx2012
3b226b50358c2dc65cb80efd38d9658b043f2ac0
1,114
cpp
C++
utility/addressof.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
47
2016-05-20T08:49:47.000Z
2022-01-03T01:17:07.000Z
utility/addressof.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
null
null
null
utility/addressof.cpp
MaxHonggg/professional_boost
6fff73d3b9832644068dc8fe0443be813c7237b4
[ "BSD-2-Clause" ]
37
2016-07-25T04:52:08.000Z
2022-02-14T03:55:08.000Z
// Copyright (c) 2016 // Author: Chrono Law #include <std.hpp> using namespace std; #include <boost/utility/addressof.hpp> using namespace boost; /////////////////////////////////////// void case1() { int i; string s; assert(&i == boost::addressof(i)); assert(&s == boost::addressof(s)); int a[1...
15.914286
48
0.487433
MaxHonggg
3b26b2e687ade339b075dcd2ff136e1fb3236ecb
2,434
hpp
C++
gcpp/classes/opathspec.hpp
razzlefratz/MotleyTools
3c69c574351ce6f4b7e687c13278d4b6cbb200f3
[ "0BSD" ]
2
2015-10-15T19:32:42.000Z
2021-12-20T15:56:04.000Z
gcpp/classes/opathspec.hpp
razzlefratz/MotleyTools
3c69c574351ce6f4b7e687c13278d4b6cbb200f3
[ "0BSD" ]
null
null
null
gcpp/classes/opathspec.hpp
razzlefratz/MotleyTools
3c69c574351ce6f4b7e687c13278d4b6cbb200f3
[ "0BSD" ]
null
null
null
/*====================================================================* * * opathspec.hpp - interface for the opathspec class. * *. Motley Tools by Charles Maier *: Published 1982-2005 by Charles Maier for personal use *; Licensed under the Internet Software Consortium License * *--------------------------...
34.28169
97
0.497124
razzlefratz
3b281d2749fc00e1bb7f10dea504edd642437cea
1,026
hpp
C++
src/lib/builders/interpretable.hpp
bunsanorg/bacs_system
22149ecfaac913b820dbda52933bf8ea9fecd723
[ "Apache-2.0" ]
null
null
null
src/lib/builders/interpretable.hpp
bunsanorg/bacs_system
22149ecfaac913b820dbda52933bf8ea9fecd723
[ "Apache-2.0" ]
null
null
null
src/lib/builders/interpretable.hpp
bunsanorg/bacs_system
22149ecfaac913b820dbda52933bf8ea9fecd723
[ "Apache-2.0" ]
null
null
null
#include "compilable.hpp" namespace bacs { namespace system { namespace builders { class interpretable : public compilable { protected: name_type name(const bacs::process::Source &source) override; }; class interpretable_executable : public compilable_executable { public: interpretable_executable(const Contain...
29.314286
72
0.662768
bunsanorg
3b2958e86930fc17a868e5f4663e908315b57621
28,856
cpp
C++
ql/experimental/vanillalocalvolmodel/vanillalocalvolmodel.cpp
urgu00/QuantLib
fecce0abb0ff3d50da29c129f8f9e73176e20ab9
[ "BSD-3-Clause" ]
null
null
null
ql/experimental/vanillalocalvolmodel/vanillalocalvolmodel.cpp
urgu00/QuantLib
fecce0abb0ff3d50da29c129f8f9e73176e20ab9
[ "BSD-3-Clause" ]
17
2020-11-23T07:24:16.000Z
2022-03-28T10:29:06.000Z
ql/experimental/vanillalocalvolmodel/vanillalocalvolmodel.cpp
urgu00/QuantLib
fecce0abb0ff3d50da29c129f8f9e73176e20ab9
[ "BSD-3-Clause" ]
7
2017-04-24T08:28:43.000Z
2022-03-15T08:59:54.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2018 Sebastian Schlenkrich This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it a...
50.802817
187
0.525818
urgu00
3b2aa11f7e5dfaf5db22d5b8c854b65e354fa357
1,758
cpp
C++
bzoj/1057.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
bzoj/1057.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
bzoj/1057.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
// Copy from luogu1169 #include <iostream> #include <algorithm> #include <string.h> #include <sstream> #include <stdlib.h> #include <stdio.h> #include <queue> #include <cmath> #include <math.h> #include <vector> #include <iostream> #include <cstdio> #include <ctime> #include <set> #include <map> #include <fstream> #...
22.253165
68
0.497156
swwind
3b2ecb1ba6fc9611d8242b246c797a5c9d5173e0
431
hpp
C++
net/include/HttpProxyAuthenticate.hpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
27
2019-04-27T00:51:22.000Z
2022-03-30T04:05:44.000Z
net/include/HttpProxyAuthenticate.hpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
9
2020-05-03T12:17:50.000Z
2021-10-15T02:18:47.000Z
net/include/HttpProxyAuthenticate.hpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
1
2019-04-16T01:45:36.000Z
2019-04-16T01:45:36.000Z
#ifndef __OBOTCHA_HTTP_PROXY_AUTHENTICATE_HPP__ #define __OBOTCHA_HTTP_PROXY_AUTHENTICATE_HPP__ #include "Object.hpp" #include "StrongPointer.hpp" #include "String.hpp" #include "ArrayList.hpp" namespace obotcha { DECLARE_CLASS(HttpProxyAuthenticate) { public: _HttpProxyAuthenticate(); _HttpProxyAuthentica...
15.392857
47
0.756381
wangsun1983
3b3613bec8d7f4d9e6ab3d88e2b3b182ecbbde39
446
hpp
C++
materias ple/programacao orientada ao objeto/trabalhos praticos/tp-1/Codigo/Hpp/MenuMeca.hpp
marcusv77/universidade
723f9a2ac7b7c14c11ada751c6daa1bd1cd0c4df
[ "MIT" ]
null
null
null
materias ple/programacao orientada ao objeto/trabalhos praticos/tp-1/Codigo/Hpp/MenuMeca.hpp
marcusv77/universidade
723f9a2ac7b7c14c11ada751c6daa1bd1cd0c4df
[ "MIT" ]
null
null
null
materias ple/programacao orientada ao objeto/trabalhos praticos/tp-1/Codigo/Hpp/MenuMeca.hpp
marcusv77/universidade
723f9a2ac7b7c14c11ada751c6daa1bd1cd0c4df
[ "MIT" ]
null
null
null
#ifndef MENUMECA_HPP #define MENUMECA_HPP #include<iostream> #include<list> #include"./Mecanico.hpp" #include"./Vendedor.hpp" #include"./Item.hpp" #include"./MaodeObra.hpp" #include"./Servico.hpp" #include"./Ordem.hpp" using namespace std; void menuMeca(Mecanico* mecani); void viewOrdems(Mecanico* mecani, Vendedor ...
21.238095
55
0.769058
marcusv77
3b395423c34a79882924f9b7f060adbf82872c33
2,154
cpp
C++
Programs/QuickEd/Classes/UI/Properties/BoolPropertyDelegate.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Programs/QuickEd/Classes/UI/Properties/BoolPropertyDelegate.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Programs/QuickEd/Classes/UI/Properties/BoolPropertyDelegate.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
#include "BoolPropertyDelegate.h" #include <QComboBox> #include "DAVAEngine.h" #include "PropertiesTreeItemDelegate.h" #include "Utils/QtDavaConvertion.h" BoolPropertyDelegate::BoolPropertyDelegate(PropertiesTreeItemDelegate* delegate) : BasePropertyDelegate(delegate) { } BoolPropertyDelegate::~BoolPropertyDelega...
31.676471
156
0.738162
stinvi
3b3e7f7492f7cda4e0c6f4a931e32e1ddcd04e79
239
cpp
C++
src/Rendering/Lighting/CompositeLight.cpp
Tristeon/Tristeon
9052e87b743f1122ed4c81952f2bffda96599447
[ "MIT" ]
32
2018-06-16T20:50:15.000Z
2022-03-26T16:57:15.000Z
src/Rendering/Lighting/CompositeLight.cpp
Tristeon/Tristeon2D
9052e87b743f1122ed4c81952f2bffda96599447
[ "MIT" ]
2
2018-10-07T17:41:39.000Z
2021-01-08T03:14:19.000Z
src/Rendering/Lighting/CompositeLight.cpp
Tristeon/Tristeon2D
9052e87b743f1122ed4c81952f2bffda96599447
[ "MIT" ]
9
2018-06-12T21:00:58.000Z
2021-01-08T02:18:30.000Z
#include "CompositeLight.h" #include <Collector.h> namespace Tristeon { CompositeLight::CompositeLight() { Collector<CompositeLight>::add(this); } CompositeLight::~CompositeLight() { Collector<CompositeLight>::remove(this); } }
15.933333
42
0.732218
Tristeon
3b3f290de42e2598a981357d8ebfeacff5adc4ce
1,420
cpp
C++
17-Hash-Tables/Source.cpp
InamTaj/data-structures
7a662a8e635402bab3481d69d8df9164499da6b4
[ "Apache-2.0" ]
1
2019-06-24T11:34:23.000Z
2019-06-24T11:34:23.000Z
17-Hash-Tables/Source.cpp
InamTaj/data-structures
7a662a8e635402bab3481d69d8df9164499da6b4
[ "Apache-2.0" ]
null
null
null
17-Hash-Tables/Source.cpp
InamTaj/data-structures
7a662a8e635402bab3481d69d8df9164499da6b4
[ "Apache-2.0" ]
1
2020-11-23T03:28:52.000Z
2020-11-23T03:28:52.000Z
//Inamullah Taj - 1446 // OBJECTIVE: Implement a Class of Static Graph #include "HashTableHeader.h" #include <conio.h> #include <iostream> using namespace std; void main() { char ext; int choice, size, value; cout<<"\t \t \t>>-> HASH TABLES <-<<\n\n"; cout<<"\n\t\tEnter Size of Table = "; cin>>size...
26.792453
151
0.569014
InamTaj
3b41ac4e3177c9af23d31d8e0ba47349f8bf678d
2,507
cpp
C++
tqli2.cpp
iglpdc/tiny_dmrg
2679f7d72f19377c7ec2d1381e05f63398177bf8
[ "MIT" ]
10
2015-02-11T03:07:51.000Z
2022-03-10T09:14:02.000Z
tqli2.cpp
npatel37/tiny_dmrg
2679f7d72f19377c7ec2d1381e05f63398177bf8
[ "MIT" ]
null
null
null
tqli2.cpp
npatel37/tiny_dmrg
2679f7d72f19377c7ec2d1381e05f63398177bf8
[ "MIT" ]
6
2015-03-05T22:49:45.000Z
2019-11-17T08:55:41.000Z
/** * @file tqli2.cpp * * @brief Implementation for the tqli2 function using blitz arrays * * @author Roger Melko * @author Ivan Gonzalez * @date $Date$ * * $Revision$ */ #include <cmath> #include <iomanip> #include "blitz/array.h" #include "tqli2.h" #define SIGN(a,b) ((b)<0 ? -fabs(a) : fabs(a)) /** * @b...
25.07
77
0.578381
iglpdc
3b42d88f49debe20d42ab1933f021c6361e0b810
1,266
hpp
C++
include/copr/sequence/fft.hpp
orisano/copr
3c1018edcc20e0f855ec614b2ddf579f8f81cd72
[ "MIT" ]
null
null
null
include/copr/sequence/fft.hpp
orisano/copr
3c1018edcc20e0f855ec614b2ddf579f8f81cd72
[ "MIT" ]
null
null
null
include/copr/sequence/fft.hpp
orisano/copr
3c1018edcc20e0f855ec614b2ddf579f8f81cd72
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <cassert> #include <cmath> #include <complex> #include <vector> template <typename T> inline std::complex<T> cmul(const std::complex<T>& a, const std::complex<T>& b) { return std::complex<T>(a.real() * b.real() - a.imag() * b.imag(), a.real() * b.i...
25.32
81
0.460506
orisano
3b4581ebe1400cc04822f68b1ab6ed506e54ce8e
3,586
cpp
C++
timer/Utility/CollisionUtilities.cpp
MaticVrtacnik/ProceduralnaAnimacija
bc47ccc721d1bedb31ed5949eb740892f094897a
[ "MIT" ]
null
null
null
timer/Utility/CollisionUtilities.cpp
MaticVrtacnik/ProceduralnaAnimacija
bc47ccc721d1bedb31ed5949eb740892f094897a
[ "MIT" ]
null
null
null
timer/Utility/CollisionUtilities.cpp
MaticVrtacnik/ProceduralnaAnimacija
bc47ccc721d1bedb31ed5949eb740892f094897a
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2019 MaticVrtacnik 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, ...
29.393443
84
0.726715
MaticVrtacnik
8dc922b8b29873463fb27cc57301a26a9b2ba1f3
21,764
cc
C++
ggadget/clutter/view_actor_binder.cc
meego-netbook-ux/google-gadgets-meego
89af89796bca073e95f44d43c9d81407caabedf0
[ "Apache-2.0" ]
null
null
null
ggadget/clutter/view_actor_binder.cc
meego-netbook-ux/google-gadgets-meego
89af89796bca073e95f44d43c9d81407caabedf0
[ "Apache-2.0" ]
null
null
null
ggadget/clutter/view_actor_binder.cc
meego-netbook-ux/google-gadgets-meego
89af89796bca073e95f44d43c9d81407caabedf0
[ "Apache-2.0" ]
null
null
null
/* Copyright 2008 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
33.32925
84
0.612617
meego-netbook-ux
8dcce9bc595ba11809680515c9373c5e627702dc
54,578
cpp
C++
Examples/AEGP/Artie/Artie.cpp
richardlalancette/AfterEffectsExperimentations
5eae44e81c867ee44d00f88aaefaef578f7c3de7
[ "MIT" ]
2
2021-10-09T03:47:42.000Z
2022-02-06T06:34:31.000Z
Examples/AEGP/Artie/Artie.cpp
richardlalancette/AfterEffectsExperimentations
5eae44e81c867ee44d00f88aaefaef578f7c3de7
[ "MIT" ]
null
null
null
Examples/AEGP/Artie/Artie.cpp
richardlalancette/AfterEffectsExperimentations
5eae44e81c867ee44d00f88aaefaef578f7c3de7
[ "MIT" ]
null
null
null
/*******************************************************************/ /* */ /* ADOBE CONFIDENTIAL */ /* _ _ _ _ _ _ _ _ _ _ _ _ _ */ /* ...
27.072421
128
0.635971
richardlalancette
8dcdc5b342e6868a2206b99876e2e6270592aeba
6,799
cpp
C++
Code/Framework/AzCore/Tests/Math/IntersectPointTest.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Framework/AzCore/Tests/Math/IntersectPointTest.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Framework/AzCore/Tests/Math/IntersectPointTest.cpp
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AzCore/Math/IntersectPoint.h> #include <AzCore/UnitTest/TestTypes.h> #include <AZTestSha...
40.712575
163
0.674805
BreakerOfThings
8dcdceb83fc9d8ea0df3482ac0a2b963dda53557
6,152
hpp
C++
src/field/fieldI.hpp
NSCCWX-AMD/HSF
dbf5987e364ce0ca3e92e72540a66a62353f4b3a
[ "Apache-2.0" ]
null
null
null
src/field/fieldI.hpp
NSCCWX-AMD/HSF
dbf5987e364ce0ca3e92e72540a66a62353f4b3a
[ "Apache-2.0" ]
1
2020-09-10T01:17:13.000Z
2020-09-10T01:17:13.000Z
src/field/fieldI.hpp
NSCCWX-AMD/HSF
dbf5987e364ce0ca3e92e72540a66a62353f4b3a
[ "Apache-2.0" ]
2
2019-11-29T08:00:29.000Z
2019-11-29T08:26:13.000Z
/* The MIT License Copyright (c) 2019 Hanfeng GU <hanfenggu@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, m...
25.957806
79
0.611996
NSCCWX-AMD
8dd2f535b0f0b2fa61ec96dbe8390931fb18ac3d
6,827
hpp
C++
eagleeye/framework/pipeline/SignalFactory.hpp
MirrorYu/eagleeye
c251e7b3bc919673b41360212c38d5fda85bbe2f
[ "Apache-2.0" ]
12
2020-09-21T02:24:11.000Z
2022-03-10T03:02:03.000Z
eagleeye/framework/pipeline/SignalFactory.hpp
MirrorYu/eagleeye
c251e7b3bc919673b41360212c38d5fda85bbe2f
[ "Apache-2.0" ]
1
2020-11-30T08:22:50.000Z
2020-11-30T08:22:50.000Z
eagleeye/framework/pipeline/SignalFactory.hpp
MirrorYu/eagleeye
c251e7b3bc919673b41360212c38d5fda85bbe2f
[ "Apache-2.0" ]
3
2020-03-16T12:10:55.000Z
2021-07-20T09:58:15.000Z
namespace eagleeye { /* Image Signal */ template<class T> ImageSignal<T>::ImageSignal(Matrix<T> data,char* name,char* info) :BaseImageSignal(TypeTrait<T>::type,TypeTrait<T>::size,info), img(data) { this->m_meta.name = name; this->m_meta.info = info; this->m_meta.fps = 0.0; this->m_meta.nb_frames = 0; this-...
24.038732
105
0.676139
MirrorYu
8dd36af4771b112910bf0b04fadce500a90ac765
1,519
cpp
C++
plugins/eclblas/daxpy.cpp
miguelvazq/HPCC-Platform
22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5
[ "Apache-2.0" ]
286
2015-01-03T12:45:17.000Z
2022-03-25T18:12:57.000Z
plugins/eclblas/daxpy.cpp
miguelvazq/HPCC-Platform
22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5
[ "Apache-2.0" ]
9,034
2015-01-02T08:49:19.000Z
2022-03-31T20:34:44.000Z
plugins/eclblas/daxpy.cpp
cloLN/HPCC-Platform
42ffb763a1cdcf611d3900831973d0a68e722bbe
[ "Apache-2.0" ]
208
2015-01-02T03:27:28.000Z
2022-02-11T05:54:52.000Z
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2016 HPCC Systems®. 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 Licens...
38.948718
82
0.597762
miguelvazq
8dd4dcd5ef4d83bb13c99645e91b6891f9c1b949
5,854
hh
C++
data.hh
cp-profiler/cp-profiler-deprecated-
ec163bde5c3a5bd9cc428b8fa8fd6ef713e0247a
[ "MIT-feh" ]
1
2021-05-06T04:41:37.000Z
2021-05-06T04:41:37.000Z
data.hh
cp-profiler/cp-profiler-deprecated-
ec163bde5c3a5bd9cc428b8fa8fd6ef713e0247a
[ "MIT-feh" ]
null
null
null
data.hh
cp-profiler/cp-profiler-deprecated-
ec163bde5c3a5bd9cc428b8fa8fd6ef713e0247a
[ "MIT-feh" ]
1
2021-05-06T04:41:39.000Z
2021-05-06T04:41:39.000Z
/* 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, * distribute, sublicense, and/or...
26.609091
171
0.66399
cp-profiler
8dd93358887ec518a9ba3cf295d91528162fcbea
7,217
cpp
C++
base/source/ESBReadWriteLock.cpp
duderino/everscale
38388289dcce869852680a167f3dcb7e090d851c
[ "Apache-2.0" ]
null
null
null
base/source/ESBReadWriteLock.cpp
duderino/everscale
38388289dcce869852680a167f3dcb7e090d851c
[ "Apache-2.0" ]
null
null
null
base/source/ESBReadWriteLock.cpp
duderino/everscale
38388289dcce869852680a167f3dcb7e090d851c
[ "Apache-2.0" ]
null
null
null
#ifndef ESB_READ_WRITE_LOCK_H #include <ESBReadWriteLock.h> #endif #ifdef HAVE_ERRNO_H #include <errno.h> #endif namespace ESB { ReadWriteLock::ReadWriteLock() : _magic(0) { #ifdef HAVE_PTHREAD_RWLOCK_INIT if (0 == pthread_rwlock_init(&_lock, 0)) { _magic = ESB_MAGIC; } #elif defined HAVE_PTHREAD_MUTEX_INI...
21.803625
115
0.720382
duderino
8dd9ee89d9d3745ee949f9b6ad9642311151a589
1,295
hpp
C++
src/servercommon/struct/global/autoparam.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/servercommon/struct/global/autoparam.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/servercommon/struct/global/autoparam.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#pragma once #include "common/tlvprotocol.h" class AutoParamBase { public: virtual ~AutoParamBase() = default; virtual int Size() const = 0; virtual void Reset() = 0; virtual bool Serialize(TLVSerializer &serializer) = 0; virtual bool Unserialize(TLVUnserializer &unserializer) = 0; }; template<typename StructPa...
23.125
85
0.711969
mage-game
8ddc6940da14f4a282e8905395a41cad2c65b69a
7,484
cpp
C++
CPP_Files/Collider.cpp
Yaters/Knightmare
4440fafb910054cc70bc2d01994435011226061f
[ "MIT" ]
null
null
null
CPP_Files/Collider.cpp
Yaters/Knightmare
4440fafb910054cc70bc2d01994435011226061f
[ "MIT" ]
null
null
null
CPP_Files/Collider.cpp
Yaters/Knightmare
4440fafb910054cc70bc2d01994435011226061f
[ "MIT" ]
null
null
null
#include "Collider.h" /*Well Fudge. I've learned my lesson. Don't trust online 'optimizations' without checking. * Square Root apparently isn't as 'costly' as some articles made it out to be. I'm not going back to change * all my work using LSquare and radSquare instead of gl::length, but that's annoying. Real annoyi...
44.284024
153
0.700828
Yaters
8ddccfeff11d9917a006a18ae1a98158dd46e11d
2,336
inl
C++
Kalydo/KRFReadLib/Include/kifstream.inl
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
1
2022-02-14T15:46:44.000Z
2022-02-14T15:46:44.000Z
Kalydo/KRFReadLib/Include/kifstream.inl
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
null
null
null
Kalydo/KRFReadLib/Include/kifstream.inl
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
2
2022-01-10T22:17:06.000Z
2022-01-17T09:34:08.000Z
#include "KRFReadLib.h" #include "kseek.h" inline kifstream::kifstream() : m_File(NULL) , m_State(std::ios_base::goodbit) { } inline kifstream::kifstream(const char* filename, std::ios_base::openmode mode) : m_File(kopen(filename, NULL)) , m_State(std::ios_base::goodbit) { } inline kifstream::~kifstream() { close()...
17.432836
79
0.684075
openlastchaos
8ddded375da17fec488d16b92232e2c1a2498443
5,902
cc
C++
Dragon/src/operators/norm/group_norm.cc
awesome-archive/Dragon
b35f9320909d07d138c2f6b345a4c24911f7c521
[ "BSD-2-Clause" ]
null
null
null
Dragon/src/operators/norm/group_norm.cc
awesome-archive/Dragon
b35f9320909d07d138c2f6b345a4c24911f7c521
[ "BSD-2-Clause" ]
null
null
null
Dragon/src/operators/norm/group_norm.cc
awesome-archive/Dragon
b35f9320909d07d138c2f6b345a4c24911f7c521
[ "BSD-2-Clause" ]
null
null
null
#include "core/workspace.h" #include "utils/filler.h" #include "utils/op_kernel.h" #include "utils/math_functions.h" #include "operators/norm/group_norm_op.h" namespace dragon { template <class Context> template <typename Tx, typename Tp> void GroupNormOp<Context>::RunWithType() { TENSOR_FILL_WITH_TYPE(Input(1), ...
34.717647
71
0.603016
awesome-archive
8de04c3d945f848d21b8c823ef034a7f5f912d49
919
cpp
C++
src/json/ConfigManager.cpp
firmware-loader/cpp-firmware-loader
895159a50b92526cee59f48d8f42131f5a043879
[ "MIT" ]
null
null
null
src/json/ConfigManager.cpp
firmware-loader/cpp-firmware-loader
895159a50b92526cee59f48d8f42131f5a043879
[ "MIT" ]
2
2019-06-13T18:53:01.000Z
2019-06-14T20:13:38.000Z
src/json/ConfigManager.cpp
firmware-loader/cpp-firmware-loader
895159a50b92526cee59f48d8f42131f5a043879
[ "MIT" ]
null
null
null
// // Created by sebastian on 03.06.19. // #include "ConfigManager.h" namespace firmware::json::config { ConfigManager::ConfigManager(const std::string &deviceName) { ConfigFinder config{deviceName}; if (auto &content = config.getFileContents()) { if(!content->empty()) { ...
29.645161
73
0.523395
firmware-loader
8de1fa2a9fe015e112ef79c5d18aeb21b2db14f9
3,598
cpp
C++
generated-sources/cpp-restsdk/mojang-api/model/ChangeSkinRequest.cpp
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
generated-sources/cpp-restsdk/mojang-api/model/ChangeSkinRequest.cpp
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
generated-sources/cpp-restsdk/mojang-api/model/ChangeSkinRequest.cpp
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
/** * Mojang API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 2020-06-05 * * NOTE: This class is auto generated by OpenAPI-Generator 3.3.4. * https://openapi-generator.tech * Do not edit the class manually. */ #include...
24.47619
120
0.673152
AsyncMC
8de2427540199994d234727c62d0615f40bbe0fa
113
cpp
C++
SAI/behaviors/VDSAIDefaultBehaviors.cpp
VoiDjinn/vdautomata
2cfa263d366ec31e298a7743f63a3787f5b6ff0d
[ "MIT" ]
null
null
null
SAI/behaviors/VDSAIDefaultBehaviors.cpp
VoiDjinn/vdautomata
2cfa263d366ec31e298a7743f63a3787f5b6ff0d
[ "MIT" ]
1
2021-07-22T15:18:47.000Z
2021-07-26T11:12:32.000Z
SAI/behaviors/VDSAIDefaultBehaviors.cpp
VoiDjinn/vdautomata
2cfa263d366ec31e298a7743f63a3787f5b6ff0d
[ "MIT" ]
null
null
null
#include "VDSAIDefaultBehaviors.h" VDAsaiDBArrive::VDAsaiDBArrive() {} void VDAsaiDBArrive::_bind_methods() {}
18.833333
39
0.778761
VoiDjinn
8de2890abc8b5226dbcbd94a329d87e1159e5e53
8,470
cpp
C++
Libs/Idx/src/IdxMosaicAccess.cpp
n8vm/OpenVisus
dab633f6ecf13ffcf9ac2ad47d51e48902d4aaef
[ "Unlicense" ]
1
2019-04-30T12:11:24.000Z
2019-04-30T12:11:24.000Z
Libs/Idx/src/IdxMosaicAccess.cpp
tjhei/OpenVisus
f0c3bf21cb0c02f303025a8efb68b8c36701a9fd
[ "Unlicense" ]
null
null
null
Libs/Idx/src/IdxMosaicAccess.cpp
tjhei/OpenVisus
f0c3bf21cb0c02f303025a8efb68b8c36701a9fd
[ "Unlicense" ]
null
null
null
/*----------------------------------------------------------------------------- Copyright(c) 2010 - 2018 ViSUS L.L.C., Scientific Computing and Imaging Institute of the University of Utah ViSUS L.L.C., 50 W.Broadway, Ste. 300, 84101 - 2044 Salt Lake City, UT University of Utah, 72 S Central Campus Dr, Room 3750, 84112...
35
190
0.628808
n8vm
8de2c262a9224ed23cc47ebc66021bb2ef374350
2,947
hpp
C++
src/sdl/surface.hpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
src/sdl/surface.hpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
src/sdl/surface.hpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
#pragma once #include "handle/sdl.hpp" #include "mutex.hpp" #include "abstbuffer.hpp" #include "lubee/src/rect.hpp" #include "handle/sdl.hpp" #include <SDL_surface.h> #include <memory> namespace rev { struct RGB; struct RGBA; class Surface { private: SDL_Surface* _sfc; mutable Mutex _mutex; AB_Byte _buff...
31.688172
100
0.709196
degarashi
8de6bdbe7832f99cc8adfa472432fdd5782c2df6
10,224
cc
C++
arcane/samples_build/samples/honeycomb_heat/HoneyCombHeatModule.cc
grospelliergilles/framework
9cb9bc9ad723e2af626267e59dd531cdb7a4df44
[ "Apache-2.0" ]
16
2021-09-20T12:37:01.000Z
2022-03-18T09:19:14.000Z
arcane/samples_build/samples/honeycomb_heat/HoneyCombHeatModule.cc
grospelliergilles/framework
9cb9bc9ad723e2af626267e59dd531cdb7a4df44
[ "Apache-2.0" ]
66
2021-09-17T13:49:39.000Z
2022-03-30T16:24:07.000Z
arcane/samples_build/samples/honeycomb_heat/HoneyCombHeatModule.cc
grospelliergilles/framework
9cb9bc9ad723e2af626267e59dd531cdb7a4df44
[ "Apache-2.0" ]
11
2021-09-27T16:48:55.000Z
2022-03-23T19:06:56.000Z
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
37.450549
125
0.586072
grospelliergilles
8de9dc71831e53c481a3b0fca8d5a92cf9f2941a
2,209
cpp
C++
HyoDioForm.cpp
hyo0913/DurgaTestSlave
913084be0a9ec8ffe5d2fc3f23f7fcb670007f0f
[ "MIT" ]
null
null
null
HyoDioForm.cpp
hyo0913/DurgaTestSlave
913084be0a9ec8ffe5d2fc3f23f7fcb670007f0f
[ "MIT" ]
null
null
null
HyoDioForm.cpp
hyo0913/DurgaTestSlave
913084be0a9ec8ffe5d2fc3f23f7fcb670007f0f
[ "MIT" ]
null
null
null
#include "HyoDioForm.h" #include "ui_HyoDioForm.h" #include <QHBoxLayout> #include <QPushButton> HyoDioForm::HyoDioForm(int points, QWidget *parent) : QWidget(parent), ui(new Ui::HyoDioForm) { ui->setupUi(this); this->setObjectName("Digital I/O"); makePoints(points); this->adjustSize(); } H...
21.656863
100
0.57809
hyo0913
8dea7d0d3b5a4ae3dc71f7840e7fc01a831ada28
19,953
cpp
C++
NEST-14.0-FPGA/models/iaf_cond_alpha_mc.cpp
OpenHEC/SNN-simulator-on-PYNQcluster
14f86a76edf4e8763b58f84960876e95d4efc43a
[ "MIT" ]
45
2019-12-09T06:45:53.000Z
2022-01-29T12:16:41.000Z
NEST-14.0-FPGA/models/iaf_cond_alpha_mc.cpp
zlchai/SNN-simulator-on-PYNQcluster
14f86a76edf4e8763b58f84960876e95d4efc43a
[ "MIT" ]
2
2020-05-23T05:34:21.000Z
2021-09-08T02:33:46.000Z
NEST-14.0-FPGA/models/iaf_cond_alpha_mc.cpp
OpenHEC/SNN-simulator-on-PYNQcluster
14f86a76edf4e8763b58f84960876e95d4efc43a
[ "MIT" ]
10
2019-12-09T06:45:59.000Z
2021-03-25T09:32:56.000Z
/* * iaf_cond_alpha_mc.cpp * * This file is part of NEST. * * Copyright (C) 2004 The NEST Initiative * * NEST is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or ...
28.302128
79
0.565629
OpenHEC
8deca7c3cc465cea32e06b3586fa6f8c0766b8ef
2,154
hh
C++
runtime/windows/include/log4tango/threading/DummyThreads.hh
t-b/igorpro-binding
9b9d3568d37bc0db5a107d019854e529e19008df
[ "BSD-3-Clause" ]
null
null
null
runtime/windows/include/log4tango/threading/DummyThreads.hh
t-b/igorpro-binding
9b9d3568d37bc0db5a107d019854e529e19008df
[ "BSD-3-Clause" ]
null
null
null
runtime/windows/include/log4tango/threading/DummyThreads.hh
t-b/igorpro-binding
9b9d3568d37bc0db5a107d019854e529e19008df
[ "BSD-3-Clause" ]
null
null
null
// // DummyThreads.hh // // Copyright (C) : 2000 - 2002 // LifeLine Networks BV (www.lifeline.nl). All rights reserved. // Bastiaan Bakker. All rights reserved. // // 2004,2005,2006,2007,2008,2009,2010,2011,2012 // Synchrotron SOLEIL // L'Orme des Merisiers // Sa...
21.979592
78
0.659239
t-b
8dee852bf0b19030413966eb84a31b0f739c6149
693
cpp
C++
src/Hazel/Audio/AudioManager.cpp
TroyNeubauer/hazel
f2c1993048e6e12ab0a44a533343c9da54004233
[ "Apache-2.0" ]
1
2019-10-21T20:50:07.000Z
2019-10-21T20:50:07.000Z
src/Hazel/Audio/AudioManager.cpp
TroyNeubauer/hazel
f2c1993048e6e12ab0a44a533343c9da54004233
[ "Apache-2.0" ]
null
null
null
src/Hazel/Audio/AudioManager.cpp
TroyNeubauer/hazel
f2c1993048e6e12ab0a44a533343c9da54004233
[ "Apache-2.0" ]
null
null
null
#include "hzpch.h" #include "AudioManager.h" #include "Platform/LabSound/LabSoundAudioManager.h" #include "Platform/NoAPI/NoAPIAudio.h" namespace Hazel { Scope<AudioManagerImpl> AudioManager::s_Instance; void Hazel::AudioManager::Init() { HZ_CORE_ASSERT(!s_Instance, "Audio Manager already exists!"); #if defin...
21
63
0.756133
TroyNeubauer
8df257d3deff0e3d644a3a50d4208e0c9af07099
5,698
hpp
C++
include/Core/Castor3D/Shader/Program.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
245
2015-10-29T14:31:45.000Z
2022-03-31T13:04:45.000Z
include/Core/Castor3D/Shader/Program.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
64
2016-03-11T19:45:05.000Z
2022-03-31T23:58:33.000Z
include/Core/Castor3D/Shader/Program.hpp
Mu-L/Castor3D
7b9c6e7be6f7373ad60c0811d136c0004e50e76b
[ "MIT" ]
11
2018-05-24T09:07:43.000Z
2022-03-21T21:05:20.000Z
/* See LICENSE file in root folder */ #ifndef ___C3D_ShaderProgram_H___ #define ___C3D_ShaderProgram_H___ #include "ShaderModule.hpp" #include "Castor3D/Cache/CacheModule.hpp" #include "Castor3D/Miscellaneous/DebugName.hpp" #include "Castor3D/Render/RenderDevice.hpp" #include <CastorUtils/Data/TextWriter.hpp> #inclu...
29.220513
90
0.697087
Mu-L
8df47a1349ede49810cac1e0af817265deb200f5
2,140
cpp
C++
tests/fuzz/fuzzScale.cpp
Lederstrumpf/substrate-c-tool
999bc55ffa2f354b96c347ebb122c79baad812cc
[ "MIT" ]
2
2020-05-27T17:45:37.000Z
2022-03-05T01:31:29.000Z
tests/fuzz/fuzzScale.cpp
Lederstrumpf/substrate-c-tool
999bc55ffa2f354b96c347ebb122c79baad812cc
[ "MIT" ]
null
null
null
tests/fuzz/fuzzScale.cpp
Lederstrumpf/substrate-c-tool
999bc55ffa2f354b96c347ebb122c79baad812cc
[ "MIT" ]
3
2020-05-10T23:01:22.000Z
2020-07-12T07:07:53.000Z
#include <string> #include <iostream> #include <exception> #include <cstdlib> #include <fstream> #include <sstream> #include <iomanip> #include <cstring> extern "C" { #include "../../src/scale.h" } int print_input(uint8_t *value, size_t value_len) { std::stringstream s; for (unsigned int i=0; i<value_len; i++) { ...
27.435897
114
0.65514
Lederstrumpf
8df64280462de89c2f71cc33cd41d98d3de72d44
5,613
cpp
C++
camera_models/extrinsics.cpp
dustsigns/lecture-demos
50d5abb252e7e467e9648b61310ce93b85c6c5f0
[ "BSD-3-Clause" ]
14
2018-03-26T13:43:58.000Z
2022-03-03T13:04:36.000Z
camera_models/extrinsics.cpp
dustsigns/lecture-demos
50d5abb252e7e467e9648b61310ce93b85c6c5f0
[ "BSD-3-Clause" ]
null
null
null
camera_models/extrinsics.cpp
dustsigns/lecture-demos
50d5abb252e7e467e9648b61310ce93b85c6c5f0
[ "BSD-3-Clause" ]
1
2019-08-03T23:12:08.000Z
2019-08-03T23:12:08.000Z
//Illustration of extrinsic camera parameters // Andreas Unterweger, 2017-2022 //This code is licensed under the 3-Clause BSD License. See LICENSE file for details. #include <iostream> #include <opencv2/viz.hpp> #include "common.hpp" #include "math.hpp" #include "conf_viz.hpp" static constexpr auto parameter_accura...
37.42
113
0.70408
dustsigns
8df78a649fb600c58e0c2f641bc01ae01cd342e9
2,910
cpp
C++
src/System/Clock/PIT/PIT.cpp
corigan01/FluxedOS
7f854a4636b1a37004e6b3e616b5409c34653ad9
[ "MIT" ]
20
2021-01-05T20:49:08.000Z
2022-03-31T08:20:16.000Z
src/System/Clock/PIT/PIT.cpp
corigan01/FluxedOS
7f854a4636b1a37004e6b3e616b5409c34653ad9
[ "MIT" ]
4
2021-01-05T20:26:29.000Z
2022-01-29T07:10:37.000Z
src/System/Clock/PIT/PIT.cpp
corigan01/FluxedOS
7f854a4636b1a37004e6b3e616b5409c34653ad9
[ "MIT" ]
4
2021-03-03T23:08:18.000Z
2021-12-31T18:07:05.000Z
/* * ______ __ __ __ * / __/ /_ ____ __ / //_/__ _______ ___ / / * / _// / // /\ \ / / ,< / -_) __/ _ \/ -_) / * /_/ /_/\_,_//_\_\ /_/|_|\__/_/ /_//_/\__/_/ * * copyright (c) 2021 Gavin Kellam (aka corigan01) * * Permission is hereby granted, free of ...
33.068182
205
0.605155
corigan01
8dfb81bb9778d34a666d306f1b59daf6d0d56b42
1,091
cpp
C++
http/tests/HttpServer-Test.cpp
Sun-CX/reactor
88d90a96ae8c018c902846437ef6068da2715aa2
[ "Apache-2.0" ]
3
2020-08-11T06:47:16.000Z
2021-07-16T09:51:28.000Z
http/tests/HttpServer-Test.cpp
Sun-CX/reactor
88d90a96ae8c018c902846437ef6068da2715aa2
[ "Apache-2.0" ]
null
null
null
http/tests/HttpServer-Test.cpp
Sun-CX/reactor
88d90a96ae8c018c902846437ef6068da2715aa2
[ "Apache-2.0" ]
2
2020-08-10T07:38:29.000Z
2021-07-16T09:48:09.000Z
// // Created by suncx on 2020/9/23. // #include "HttpServer.h" #include "EventLoop.h" #include "InetAddress.h" #include "ConsoleStream.h" using std::string; using std::to_string; using reactor::net::HttpRequest; using reactor::net::HttpResponse; using reactor::net::http::Headers; using reactor::net::EventLoop; using...
25.372093
66
0.683776
Sun-CX
8dfe5e6135d1354defc4941c715298dddff7d00c
6,771
hpp
C++
core/src/impl/Morpheus_DynamicMatrix_Impl.hpp
morpheus-org/morpheus
8f12b7b75fb7c7c02a4d5d41c64791bacc2f54c6
[ "Apache-2.0" ]
1
2021-12-18T01:18:49.000Z
2021-12-18T01:18:49.000Z
core/src/impl/Morpheus_DynamicMatrix_Impl.hpp
morpheus-org/morpheus
8f12b7b75fb7c7c02a4d5d41c64791bacc2f54c6
[ "Apache-2.0" ]
5
2021-10-05T15:12:02.000Z
2022-01-21T23:26:41.000Z
core/src/impl/Morpheus_DynamicMatrix_Impl.hpp
morpheus-org/morpheus
8f12b7b75fb7c7c02a4d5d41c64791bacc2f54c6
[ "Apache-2.0" ]
null
null
null
/** * Morpheus_DynamicMatrix_Impl.hpp * * EPCC, The University of Edinburgh * * (c) 2021 - 2022 The University of Edinburgh * * Contributing Authors: * Christodoulos Stylianou (c.stylianou@ed.ac.uk) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
32.868932
80
0.66962
morpheus-org
5c03373b7984c0652faf5b7d28e4efd9d412a798
6,137
cpp
C++
GameClient/GameStateCommunicating.cpp
SamirAroudj/BaseProject
50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d
[ "BSD-3-Clause" ]
null
null
null
GameClient/GameStateCommunicating.cpp
SamirAroudj/BaseProject
50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d
[ "BSD-3-Clause" ]
1
2019-06-19T15:55:25.000Z
2019-06-27T07:47:27.000Z
GameClient/GameStateCommunicating.cpp
SamirAroudj/BaseProject
50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d
[ "BSD-3-Clause" ]
1
2019-07-07T04:37:56.000Z
2019-07-07T04:37:56.000Z
/* * Copyright (C) 2017 by Author: Aroudj, Samir, born in Suhl, Thueringen, Germany * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-Clause license. See the License.txt file for details. */ #include <cstdio> #include "Platform/ApplicationTimer.h" #include "Cl...
28.812207
139
0.744338
SamirAroudj
5c05f054d1f1047c5f44822fc367f254e5b5b3f0
2,020
cpp
C++
012. Integer to Roman.cpp
rajeev-ranjan-au6/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
3
2020-12-30T00:29:59.000Z
2021-01-24T22:43:04.000Z
012. Integer to Roman.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
012. Integer to Roman.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
// Top-voted solution (https://discuss.leetcode.com/topic/12384/simple-solution). class Solution { public: string intToRoman(int num) { string M[] = {"", "M", "MM", "MMM"}; string C[] = {"", "C", "CC", "CCC", "CD", "D", "DC", "DCC", "DCCC", "CM"}; string X[] = {"", "X", "XX", "XXX", "XL", "L...
26.233766
82
0.357921
rajeev-ranjan-au6
5c093c8085970f18b15ba463ae86b785f68bb36b
12,570
cc
C++
serving/processor/serving/model_config.cc
aalbersk/DeepRec
f673a950780959b44dcda99398880a1d883ab338
[ "Apache-2.0" ]
292
2021-12-24T03:24:33.000Z
2022-03-31T15:41:05.000Z
serving/processor/serving/model_config.cc
aalbersk/DeepRec
f673a950780959b44dcda99398880a1d883ab338
[ "Apache-2.0" ]
54
2021-12-24T06:40:09.000Z
2022-03-30T07:57:24.000Z
serving/processor/serving/model_config.cc
aalbersk/DeepRec
f673a950780959b44dcda99398880a1d883ab338
[ "Apache-2.0" ]
75
2021-12-24T04:48:21.000Z
2022-03-29T10:13:39.000Z
#include <stdlib.h> #include "serving/processor/serving/model_config.h" #include "serving/processor/serving/tracer.h" #include "include/json/json.h" #include "tensorflow/core/util/env_var.h" #include "tensorflow/core/lib/core/errors.h" namespace tensorflow { namespace processor { namespace { constexpr int DEFAULT_CP...
33.430851
83
0.638186
aalbersk
5c0bcc63b1882c769eadd024b77e906337024e57
437
hpp
C++
nd-coursework/books/cpp/C++Templates/basics/byref.hpp
crdrisko/nd-grad
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
1
2020-09-26T12:38:55.000Z
2020-09-26T12:38:55.000Z
nd-coursework/books/cpp/C++Templates/basics/byref.hpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
nd-coursework/books/cpp/C++Templates/basics/byref.hpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
// Copyright (c) 2017 by Addison-Wesley, David Vandevoorde, Nicolai M. Josuttis, and Douglas Gregor. All rights reserved. // See the LICENSE file in the project root for more information. // // Name: byref.hpp // Author: crdrisko // Date: 08/13/2020-12:12:50 // Description: Missing file from book #ifndef BYREF_HPP #de...
23
121
0.709382
crdrisko
5c0d9b4f004dcd5e404e8024d67e964b9bfb5d83
8,061
cc
C++
build/x86/python/m5/internal/enum_TimingExprOp.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/python/m5/internal/enum_TimingExprOp.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/python/m5/internal/enum_TimingExprOp.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_internal_enum_TimingExprOp[] = { 120,156,197,88,239,114,211,214,18,223,35,201,78,236,56,196, 36,144,240,39,128,129,2,190,92,18,67,248,219,194,48,165, 109,218,161,211,134,123,37,58,80,181,115,85,199,58,177,21, 108,201,149,142,67,220,73,190,52,157...
57.578571
104
0.667907
billionshang
5c0e580eaed59257243f065ff4702d3e069c0041
246
cpp
C++
cpp/hello.cpp
voltrevo/project-euler
0db5451f72b1353b295e56f928c968801e054444
[ "MIT" ]
null
null
null
cpp/hello.cpp
voltrevo/project-euler
0db5451f72b1353b295e56f928c968801e054444
[ "MIT" ]
null
null
null
cpp/hello.cpp
voltrevo/project-euler
0db5451f72b1353b295e56f928c968801e054444
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { for (int i = 0; i != 6; ++i) cout << "Hello "[i] << ' '; for (int i = 0; i != 6; ++i) cout << *("World!" + i) << ' '; cout << endl; return 0; }
15.375
39
0.390244
voltrevo
5c0f58021247e45903b7b462b8c643e455f8a267
75,637
cpp
C++
src/interpreter/Interpreter.cpp
continue-nature/yvm
6416cc5e60a76f64c4272e0dff909507f140b11e
[ "MIT" ]
110
2019-04-10T08:57:54.000Z
2022-03-13T03:37:20.000Z
src/interpreter/Interpreter.cpp
racaljk/ssvm
dfa6fa64fbe8682f77430246dff7f5c2ed9c4e41
[ "MIT" ]
4
2019-04-23T03:03:45.000Z
2021-12-31T09:55:53.000Z
src/interpreter/Interpreter.cpp
racaljk/ssvm
dfa6fa64fbe8682f77430246dff7f5c2ed9c4e41
[ "MIT" ]
31
2019-05-05T01:21:44.000Z
2022-03-16T15:25:24.000Z
#include "../classfile/AccessFlag.h" #include "../classfile/ClassFile.h" #include "../misc/Debug.h" #include "../misc/Option.h" #include "../runtime/JavaClass.h" #include "../runtime/JavaHeap.hpp" #include "CallSite.h" #include "Interpreter.hpp" #include "MethodResolve.h" #include "SymbolicRef.h" #include <cassert> #i...
40.104454
82
0.464178
continue-nature
5c1015809f4e4a48c90df6c135764a90c7f180dc
2,593
cpp
C++
OpenHolo_WRP/openwrp_console_ver 1.0/openwrp/WRP.cpp
KetiLeeJeongHun/OpenHologram
c6cdddb5106fe0079d9810eea588d28aa71f0023
[ "BSD-2-Clause" ]
17
2017-11-07T06:44:11.000Z
2021-11-14T05:06:08.000Z
OpenHolo_WRP/openwrp_console_ver 1.0/openwrp/WRP.cpp
KetiLeeJeongHun/OpenHologram
c6cdddb5106fe0079d9810eea588d28aa71f0023
[ "BSD-2-Clause" ]
1
2017-09-26T04:35:31.000Z
2017-09-26T04:35:31.000Z
OpenHolo_WRP/openwrp_console_ver 1.0/openwrp/WRP.cpp
KetiLeeJeongHun/OpenHologram
c6cdddb5106fe0079d9810eea588d28aa71f0023
[ "BSD-2-Clause" ]
9
2017-09-13T08:01:45.000Z
2020-04-28T10:11:14.000Z
#ifdef _OPENMP #include<omp.h> #endif #include "WRP.h" int OPHWRP::readxyz(string filename) //read point cloud { int dimen = 3; ifstream infilee(filename); string temp, temp2mat; vector <string> temsplit; if (!infilee) { cerr << "can not read the file"; return -1; } while (getline(infilee, temp)) {...
18.132867
84
0.59275
KetiLeeJeongHun
5c101ef567bb4dc304f721fc2f04dec87b513df2
5,698
hpp
C++
benchmarks/statistical/dataflow_declarations.hpp
vamatya/benchmarks
8a86c6eebac5f9a29a0e37a62bdace45395c8d73
[ "BSL-1.0" ]
null
null
null
benchmarks/statistical/dataflow_declarations.hpp
vamatya/benchmarks
8a86c6eebac5f9a29a0e37a62bdace45395c8d73
[ "BSL-1.0" ]
null
null
null
benchmarks/statistical/dataflow_declarations.hpp
vamatya/benchmarks
8a86c6eebac5f9a29a0e37a62bdace45395c8d73
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2012 Daniel Kogler // // 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) //this file simply enumerates a multitude of functions used to define the action //used in the benchmark. Which functi...
34.957055
81
0.777115
vamatya
5c11ebf22b456bb03e0c41dc3f4f23c87a67614b
495
cpp
C++
source/lab4/classic_newton.cpp
Jovvik/methopt-lab-1
2c3acaf653c7214a925ed1292b9d1d30a33d2737
[ "Unlicense" ]
null
null
null
source/lab4/classic_newton.cpp
Jovvik/methopt-lab-1
2c3acaf653c7214a925ed1292b9d1d30a33d2737
[ "Unlicense" ]
null
null
null
source/lab4/classic_newton.cpp
Jovvik/methopt-lab-1
2c3acaf653c7214a925ed1292b9d1d30a33d2737
[ "Unlicense" ]
null
null
null
#include "lab4/classic_newton.h" #include <lab3/solver.h> #include <utility> #include "iostream" using namespace lab4; ClassicNewton::ClassicNewton() : p(lab2::Vector({1})) {} lab2::Vector ClassicNewton::iteration(lab2::NFunction& f, double) { lab2::Vector x = get_points().back(); p = la...
23.571429
76
0.644444
Jovvik
5c1530cf4db20b54211ff2453e929b1abe998a88
564
cpp
C++
src/dummy_server/src/dummy_server_handler.cpp
maxerMU/db-course
3927f1cf0ccb2a937d571626dcc42d725a89d3f6
[ "Apache-2.0" ]
null
null
null
src/dummy_server/src/dummy_server_handler.cpp
maxerMU/db-course
3927f1cf0ccb2a937d571626dcc42d725a89d3f6
[ "Apache-2.0" ]
null
null
null
src/dummy_server/src/dummy_server_handler.cpp
maxerMU/db-course
3927f1cf0ccb2a937d571626dcc42d725a89d3f6
[ "Apache-2.0" ]
null
null
null
#include "dummy_server_handler.h" #include <iostream> DummyServerHandler::DummyServerHandler( const std::shared_ptr<BaseConfig> &config) { append_string = config->get_string_field({"AppendString"}); } void DummyServerHandler::handle_request(const std::shared_ptr<Request> &req) { std::cout << req->get_body() <...
29.684211
79
0.723404
maxerMU
5c1579f5da212410199c1703479b91eda172214f
54,852
cpp
C++
modules/juce_gui_basics/layout/juce_FlexBox.cpp
dikadk/JUCE
514c6c8de8bd34c0663d1d691a034b48922af5c8
[ "ISC" ]
null
null
null
modules/juce_gui_basics/layout/juce_FlexBox.cpp
dikadk/JUCE
514c6c8de8bd34c0663d1d691a034b48922af5c8
[ "ISC" ]
null
null
null
modules/juce_gui_basics/layout/juce_FlexBox.cpp
dikadk/JUCE
514c6c8de8bd34c0663d1d691a034b48922af5c8
[ "ISC" ]
null
null
null
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2020 - Raw Material Software Limited JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of...
46.563667
225
0.518887
dikadk
5c1d185ee8efa07f9a35db7b874ca2d7bd117211
483
cpp
C++
ZorkGame/ZorkGame/ZorkGame.cpp
PabloSanchezTrujillo/Zork
f861f56df8c37a126c9f90147efbc75c91a04f47
[ "MIT" ]
null
null
null
ZorkGame/ZorkGame/ZorkGame.cpp
PabloSanchezTrujillo/Zork
f861f56df8c37a126c9f90147efbc75c91a04f47
[ "MIT" ]
null
null
null
ZorkGame/ZorkGame/ZorkGame.cpp
PabloSanchezTrujillo/Zork
f861f56df8c37a126c9f90147efbc75c91a04f47
[ "MIT" ]
null
null
null
#include <iostream> #include "World.h" using namespace std; int main() { World* house = new World(); cout << "You are in the: " << house->getPlayer()->getLocation()->getName() << ". " << house->getPlayer()->getLocation()->getDescription() << endl; cout << "\n"; // GameLoop while(!house->getPlayer()->isPlayer...
19.32
83
0.594203
PabloSanchezTrujillo
5c1dbca35795cb3a90df53cc6d6c751addffd42a
452
cpp
C++
misc.cpp
bannid/CardGame
c5df2adb7a96df506fa24544cd8499076bb3ebbc
[ "Zlib" ]
null
null
null
misc.cpp
bannid/CardGame
c5df2adb7a96df506fa24544cd8499076bb3ebbc
[ "Zlib" ]
null
null
null
misc.cpp
bannid/CardGame
c5df2adb7a96df506fa24544cd8499076bb3ebbc
[ "Zlib" ]
null
null
null
#include "misc.h" float LinearInterpolation(float first, float second, float weight){ float result = weight * second + (1.0f - weight) * first; return result; } float CosineInterpolation(float first, float second, float weight){ float modifiedWeight = (1 - cos(weight * 3.14))/2.0f; modifiedWeigh...
28.25
78
0.679204
bannid
5c1dd2542f6af6e2d960967edc4454c44d4afaa9
4,650
cpp
C++
tests/core/RemoteNodeTest.cpp
cybergarage/round-cc
13fb5c39e9bc14a4ad19f9a63d8d97ddda475ca1
[ "BSD-3-Clause" ]
null
null
null
tests/core/RemoteNodeTest.cpp
cybergarage/round-cc
13fb5c39e9bc14a4ad19f9a63d8d97ddda475ca1
[ "BSD-3-Clause" ]
null
null
null
tests/core/RemoteNodeTest.cpp
cybergarage/round-cc
13fb5c39e9bc14a4ad19f9a63d8d97ddda475ca1
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************** * * Round for C++ * * Copyright (C) Satoshi Konno 2015 * * This is licensed under BSD-style license, see file COPYING. * ******************************************************************/ #include <boost/test/unit_test.hpp> #include <sstream...
25.690608
68
0.693763
cybergarage
5c201c7101b0d40c9e79c696d239e37debac77e5
826
cpp
C++
LeetCode/338.Counting_Bits.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
9
2017-10-08T16:22:03.000Z
2021-08-20T09:32:17.000Z
LeetCode/338.Counting_Bits.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
null
null
null
LeetCode/338.Counting_Bits.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
2
2018-01-15T16:35:44.000Z
2019-03-21T18:30:04.000Z
class Solution { public: vector<int> countBits(int num) { vector<int>ans; int two[30]; int now; int SIZE = 30; two[0] = 1; for(int i = 1; i < SIZE; i++) two[i] = two[i - 1] * 2; ans.push_back(0); if(num == 0) return ans; a...
25.030303
54
0.349879
w181496
5c2593ad5f628d6b76fbef2e0291fcc06a85e5bd
618
cxx
C++
phys-services/private/phys-services/I3FileOMKey2MBIDFactory.cxx
hschwane/offline_production
e14a6493782f613b8bbe64217559765d5213dc1e
[ "MIT" ]
1
2020-12-24T22:00:01.000Z
2020-12-24T22:00:01.000Z
phys-services/private/phys-services/I3FileOMKey2MBIDFactory.cxx
hschwane/offline_production
e14a6493782f613b8bbe64217559765d5213dc1e
[ "MIT" ]
null
null
null
phys-services/private/phys-services/I3FileOMKey2MBIDFactory.cxx
hschwane/offline_production
e14a6493782f613b8bbe64217559765d5213dc1e
[ "MIT" ]
3
2020-07-17T09:20:29.000Z
2021-03-30T16:44:18.000Z
#include "phys-services/I3FileOMKey2MBIDFactory.h" #include "phys-services/I3FileOMKey2MBID.h" I3_SERVICE_FACTORY(I3FileOMKey2MBIDFactory); I3FileOMKey2MBIDFactory::I3FileOMKey2MBIDFactory(const I3Context& context) : I3ServiceFactory(context) { AddParameter("Infile", "The file to read the OMKey to MBID co...
23.769231
74
0.770227
hschwane
5c26e96cdadb3a82867cfd4e722783b4e51e1851
4,730
cpp
C++
Test/NfcCxTests/Simulation/NciHciDataPacket.cpp
Bhaskers-Blu-Org2/NFC-Class-Extension-Driver
77c80d6d2c8f7876e68e3df847a926a045d81711
[ "MIT" ]
32
2015-11-19T07:23:11.000Z
2019-04-08T18:50:08.000Z
Test/NfcCxTests/Simulation/NciHciDataPacket.cpp
Bhaskers-Blu-Org2/NFC-Class-Extension-Driver
77c80d6d2c8f7876e68e3df847a926a045d81711
[ "MIT" ]
33
2015-11-12T08:23:52.000Z
2018-12-06T02:34:07.000Z
Test/NfcCxTests/Simulation/NciHciDataPacket.cpp
Microsoft/NFC-Class-Extension-Driver
77c80d6d2c8f7876e68e3df847a926a045d81711
[ "MIT" ]
28
2015-08-11T14:34:10.000Z
2018-07-26T14:15:53.000Z
// // Copyright (c) Microsoft Corporation. All Rights Reserved // #include "Precomp.h" #include <array> #include "NciHciDataPacket.h" NciHciDataPacket::NciHciDataPacket( _In_ uint8_t connectionId, _In_ uint8_t pipeId, _In_ phHciNfc_MsgType_t messageType, _In_ uint8_t instruction, _In_ std::init...
30.915033
179
0.734672
Bhaskers-Blu-Org2
5c271252cbafd78ad5faa7c1951f52283703ad04
3,350
hpp
C++
src/ExtFilterEventListClustering/DBusNumericUtil.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/ExtFilterEventListClustering/DBusNumericUtil.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/ExtFilterEventListClustering/DBusNumericUtil.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie Authors * * 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, mer...
36.413043
80
0.702687
voxie-viewer