hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
ca4a77a1b2da371aac972238280ae172be951a37
3,487
cc
C++
src/algorithms/OnlinePolicyGradient.cc
olethrosdc/beliefbox
44c0c160732b875f294a3f6d7f27e8f4cdf9602c
[ "OLDAP-2.3" ]
4
2015-12-02T23:16:44.000Z
2018-01-07T10:54:36.000Z
src/algorithms/OnlinePolicyGradient.cc
olethrosdc/beliefbox
44c0c160732b875f294a3f6d7f27e8f4cdf9602c
[ "OLDAP-2.3" ]
2
2015-12-02T19:47:57.000Z
2018-10-14T13:08:40.000Z
src/algorithms/OnlinePolicyGradient.cc
olethrosdc/beliefbox
44c0c160732b875f294a3f6d7f27e8f4cdf9602c
[ "OLDAP-2.3" ]
4
2018-01-14T14:23:18.000Z
2018-10-29T12:46:41.000Z
#include "OnlinePolicyGradient.h" PolicyGradientActorCritic::PolicyGradientActorCritic(int n_states_, int n_actions_, real gamma_, real step_size_) : n_states(n_states_), n_actions(n_actions_), gamma(gamma_), step_size(step_size_), critic(n_states, n_actions, gamma, 0.0, step_size), policy(n_states, n_actions), ...
25.82963
122
0.691999
olethrosdc
ca4bc3210a0c2809539eaa960265b4e58b30bac2
1,386
cpp
C++
shared/source/os_interface/windows/os_time_win.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
778
2017-09-29T20:02:43.000Z
2022-03-31T15:35:28.000Z
shared/source/os_interface/windows/os_time_win.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
478
2018-01-26T16:06:45.000Z
2022-03-30T10:19:10.000Z
shared/source/os_interface/windows/os_time_win.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
215
2018-01-30T08:39:32.000Z
2022-03-29T11:08:51.000Z
/* * Copyright (C) 2018-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/os_interface/windows/os_time_win.h" #include "shared/source/os_interface/windows/device_time_wddm.h" #include "shared/source/os_interface/windows/wddm/wddm.h" #include <memory> #undef WIN32_NO_STATUS n...
26.653846
104
0.731602
troels
ca4d642184c5ad7b58e45fc1fe56cc8a443739d8
8,778
hpp
C++
Source/AllProjects/GraphicUtils/CIDGraphDev/CIDGraphDev_ImgCacheItem.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
216
2019-03-09T06:41:28.000Z
2022-02-25T16:27:19.000Z
Source/AllProjects/GraphicUtils/CIDGraphDev/CIDGraphDev_ImgCacheItem.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
9
2020-09-27T08:00:52.000Z
2021-07-02T14:27:31.000Z
Source/AllProjects/GraphicUtils/CIDGraphDev/CIDGraphDev_ImgCacheItem.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
29
2019-03-09T10:12:24.000Z
2021-03-03T22:25:29.000Z
// // FILE NAME: CIDCtrls_ImgCacheItem.hpp // // AUTHOR: Dean Roddey // // CREATED: 10/28/2005 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://ope...
33.632184
91
0.460355
MarkStega
ca4e4af46741270dc90b75dead61f1b5a9950d97
1,869
hh
C++
dev/g++/projects/embedded/libhal/hardwares/raspberry_pi/include/digital_out.hh
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
null
null
null
dev/g++/projects/embedded/libhal/hardwares/raspberry_pi/include/digital_out.hh
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
null
null
null
dev/g++/projects/embedded/libhal/hardwares/raspberry_pi/include/digital_out.hh
YannGarcia/repo
0f3de24c71d942c752ada03c10861e83853fdf71
[ "MIT" ]
1
2017-01-27T12:53:50.000Z
2017-01-27T12:53:50.000Z
/*! * \file digital_out.hpp * \brief Header file for digital out gpio state. * \author garciay.yann@gmail.com * \copyright Copyright (c) 2015 ygarcia. All rights reserved * \license This project is released under the MIT License * \version 0.1 */ #pragma once #include "libhal.h" /*! * \class digital_out ...
31.15
147
0.686998
YannGarcia
ca4ecd2046f969b2cd2bca17a94de63611e72c21
629
cpp
C++
Advance/weakPointer.cpp
iarjunphp/CPP-Learning
4946f861cb3f57da2b0beba07a206fafe261aaf4
[ "MIT" ]
77
2019-10-28T05:38:51.000Z
2022-03-15T01:53:48.000Z
Advance/weakPointer.cpp
iarjunphp/CPP-Learning
4946f861cb3f57da2b0beba07a206fafe261aaf4
[ "MIT" ]
3
2019-12-26T15:39:55.000Z
2020-10-29T14:55:50.000Z
Advance/weakPointer.cpp
iarjunphp/CPP-Learning
4946f861cb3f57da2b0beba07a206fafe261aaf4
[ "MIT" ]
24
2020-01-08T04:12:52.000Z
2022-03-12T22:26:07.000Z
//Memory get free as scope ends and this pointers can have copy of them. #include<iostream> #include<memory> using namespace std; class User{ public: User(){ cout<<"User Created\n"; } ~User(){ cout<<"User Destroyed\n"; } void testFunc(){ cout<<"I am a test function\n"; ...
18.5
80
0.562798
iarjunphp
ca4ee9f21cccb988fd077c31a422a7e49c029121
1,656
cpp
C++
Edgyne/ResourceShaderProgram.cpp
AWDaM/Edgyne
e2c9d01efc3dd50e41f7cc31c407baa44ea77560
[ "MIT" ]
1
2019-02-07T12:11:21.000Z
2019-02-07T12:11:21.000Z
Edgyne/ResourceShaderProgram.cpp
MaxitoSama/Edgyne
e2c9d01efc3dd50e41f7cc31c407baa44ea77560
[ "MIT" ]
null
null
null
Edgyne/ResourceShaderProgram.cpp
MaxitoSama/Edgyne
e2c9d01efc3dd50e41f7cc31c407baa44ea77560
[ "MIT" ]
1
2019-02-04T16:08:36.000Z
2019-02-04T16:08:36.000Z
#include "ResourceShaderProgram.h" #include "Application.h" #include "ModuleShaders.h" #include "JSONManager.h" ResourceShaderProgram::ResourceShaderProgram() : Resource(RES_SHADER) { } ResourceShaderProgram::ResourceShaderProgram(std::string& file) : Resource(RES_SHADER, file) { } ResourceShaderProgram::~Resour...
22.684932
101
0.705314
AWDaM
ca50ce561027673aaa46a0e358f312825d6f635a
281
cc
C++
writing-concepts/type_simple.cc
HappyCerberus/article-cpp20-concepts
986934bc91727dd8874a318822b5497dfa734d01
[ "MIT" ]
3
2021-09-17T06:29:40.000Z
2022-03-21T08:33:35.000Z
writing-concepts/type_simple.cc
HappyCerberus/article-cpp20-concepts
986934bc91727dd8874a318822b5497dfa734d01
[ "MIT" ]
null
null
null
writing-concepts/type_simple.cc
HappyCerberus/article-cpp20-concepts
986934bc91727dd8874a318822b5497dfa734d01
[ "MIT" ]
null
null
null
#include <concepts> template <typename T> concept type_test = requires { typename T::ElementType; // ElementType member type must exist }; void function(type_test auto x) {} struct X { using ElementType = int; }; int main() { function(X{}); // OK function(1); // Fails }
17.5625
66
0.676157
HappyCerberus
3ed13b1c9bb29b80e0cba4dc9cd4c777bf9e4993
3,942
cpp
C++
CLRS/BinaryTree/VerticalOrderTraversalofaBinaryTree.cpp
ComputerProgrammerStorager/DataStructureAlgorithm
508f7e37898c907ea7ea6ec40749621a2349e93f
[ "MIT" ]
null
null
null
CLRS/BinaryTree/VerticalOrderTraversalofaBinaryTree.cpp
ComputerProgrammerStorager/DataStructureAlgorithm
508f7e37898c907ea7ea6ec40749621a2349e93f
[ "MIT" ]
null
null
null
CLRS/BinaryTree/VerticalOrderTraversalofaBinaryTree.cpp
ComputerProgrammerStorager/DataStructureAlgorithm
508f7e37898c907ea7ea6ec40749621a2349e93f
[ "MIT" ]
null
null
null
/* Given the root of a binary tree, calculate the vertical order traversal of the binary tree. For each node at position (row, col), its left and right children will be at positions (row + 1, col - 1) and (row + 1, col + 1) respectively. The root of the tree is at (0, 0). The vertical order traversal of a binary tree...
32.85
285
0.567732
ComputerProgrammerStorager
3ed2d85ac6c2faae68b56853b75323c487a384f8
8,578
cpp
C++
firmware-usbhost/common/http/test/HttpRequestParserTest.cpp
Zzzzipper/cppprojects
e9c9b62ca1e411320c24a3d168cab259fa2590d3
[ "MIT" ]
null
null
null
firmware-usbhost/common/http/test/HttpRequestParserTest.cpp
Zzzzipper/cppprojects
e9c9b62ca1e411320c24a3d168cab259fa2590d3
[ "MIT" ]
1
2021-09-03T13:03:20.000Z
2021-09-03T13:03:20.000Z
firmware-usbhost/common/http/test/HttpRequestParserTest.cpp
Zzzzipper/cppprojects
e9c9b62ca1e411320c24a3d168cab259fa2590d3
[ "MIT" ]
null
null
null
#include "test/include/Test.h" #include "http/HttpRequestParser.h" #include "logger/include/Logger.h" namespace Http { class RequestParserTest : public TestSet { public: RequestParserTest(); bool testOK(); bool testBrokenHeader(); bool testCuttedData(); }; TEST_SET_REGISTER(Http::RequestParserTest); RequestPars...
35.593361
140
0.74283
Zzzzipper
3ed2eb204e2073743d504a19a840d0dc62dbf63c
2,715
hpp
C++
src/time/clocks.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2020-07-31T14:13:56.000Z
2021-02-03T09:51:43.000Z
src/time/clocks.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
28
2015-09-22T07:38:21.000Z
2018-10-02T11:00:58.000Z
src/time/clocks.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2018-10-11T14:10:50.000Z
2021-02-27T08:53:50.000Z
#ifndef CLOCKS_HPP #define CLOCKS_HPP #include <chrono> #include <iomanip> #include <ratio> #include <thread> #include <iostream> // http://www.modernescpp.com/index.php/the-three-clocks using namespace std::chrono_literals; namespace Time { void GetCurrentTime() { // Get time as time_point auto systemNow ...
29.193548
77
0.586372
iamantony
3ed725ac4b32401f87bd86a1995073255f51c22c
3,231
cpp
C++
robot_challenge/lib/Robot/Robot.cpp
matheusns/Oficina_RAS
2bc685a920b1f2424b5d47f36f996019e836800e
[ "BSD-3-Clause" ]
null
null
null
robot_challenge/lib/Robot/Robot.cpp
matheusns/Oficina_RAS
2bc685a920b1f2424b5d47f36f996019e836800e
[ "BSD-3-Clause" ]
null
null
null
robot_challenge/lib/Robot/Robot.cpp
matheusns/Oficina_RAS
2bc685a920b1f2424b5d47f36f996019e836800e
[ "BSD-3-Clause" ]
null
null
null
#include <Robot.hpp> namespace ras { Robot::Robot(PinName front_sensor_pin, PinName right_sensor_pin, PinName left_sensor_pin) : serial_monitor_(USBTX, USBRX) , right_motor_(NULL) , left_motor_(NULL) , front_sensor_(front_sensor_pin) , left_sensor_(left_sensor_pin) , right_sensor_(right_sensor_...
24.853846
89
0.616837
matheusns
3ed9a6c408dc734a8c3d629d808faf7a0e5410e7
6,784
hpp
C++
include/cpp_mould/constexpr_driver.hpp
HeroicKatora/mould
d6f39f76f092197e950c4abf18af3a6bb4945fab
[ "BSD-3-Clause" ]
3
2018-03-04T12:46:10.000Z
2021-08-06T00:09:59.000Z
include/cpp_mould/constexpr_driver.hpp
HeroicKatora/mould
d6f39f76f092197e950c4abf18af3a6bb4945fab
[ "BSD-3-Clause" ]
null
null
null
include/cpp_mould/constexpr_driver.hpp
HeroicKatora/mould
d6f39f76f092197e950c4abf18af3a6bb4945fab
[ "BSD-3-Clause" ]
null
null
null
#ifndef CPP_MOULD_CONSTEXPR_DRIVER_HPP #define CPP_MOULD_CONSTEXPR_DRIVER_HPP #include <tuple> #include "argument.hpp" #include "engine.hpp" #include "format.hpp" #include "format_info.hpp" namespace mould::internal::constexpr_driver { /* Resolved expression representation */ template<size_t N> struct Expression...
32
113
0.684404
HeroicKatora
3ee31db21021baef3203c2a4dae8b8462cc8ac1e
8,239
cpp
C++
Code/UnitTests/FoundationTest/Logging/LogTest.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
703
2015-03-07T15:30:40.000Z
2022-03-30T00:12:40.000Z
Code/UnitTests/FoundationTest/Logging/LogTest.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
233
2015-01-11T16:54:32.000Z
2022-03-19T18:00:47.000Z
Code/UnitTests/FoundationTest/Logging/LogTest.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
101
2016-10-28T14:05:10.000Z
2022-03-30T19:00:59.000Z
#include <FoundationTest/FoundationTestPCH.h> #include <Foundation/Configuration/Startup.h> #include <Foundation/IO/FileSystem/DataDirTypeFolder.h> #include <Foundation/Logging/ConsoleWriter.h> #include <Foundation/Logging/HTMLWriter.h> #include <Foundation/Logging/Log.h> #include <Foundation/Logging/VisualStudioWrite...
32.058366
135
0.627139
Tekh-ops
3ee6414a3a9f9206ccc08bc7d69670c7e5fc156c
48,845
cc
C++
Firestore/core/test/unit/local/leveldb_key_test.cc
liam-i/firebase-ios-sdk
136e71f7aa438236421307a69c01789855515464
[ "Apache-2.0" ]
1
2022-03-26T00:08:22.000Z
2022-03-26T00:08:22.000Z
Firestore/core/test/unit/local/leveldb_key_test.cc
AhmedShehata5/firebase-ios-sdk
b4dd98da69fca029123788e69e14d612ef44e0d1
[ "Apache-2.0" ]
null
null
null
Firestore/core/test/unit/local/leveldb_key_test.cc
AhmedShehata5/firebase-ios-sdk
b4dd98da69fca029123788e69e14d612ef44e0d1
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2018 Google * * 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 w...
41.324027
86
0.698352
liam-i
3ee7ff421e8863cd59a274ea5ea68232e8c96afd
40,702
cpp
C++
export/windows/cpp/obj/src/openfl/_legacy/events/Event.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
export/windows/cpp/obj/src/openfl/_legacy/events/Event.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
export/windows/cpp/obj/src/openfl/_legacy/events/Event.cpp
TinyPlanetStudios/Project-Crash-Land
365f196be4212602d32251566f26b53fb70693f6
[ "MIT" ]
null
null
null
// Generated by Haxe 3.3.0 #include <hxcpp.h> #ifndef INCLUDED_Reflect #include <Reflect.h> #endif #ifndef INCLUDED_Std #include <Std.h> #endif #ifndef INCLUDED_openfl__legacy_events_Event #include <openfl/_legacy/events/Event.h> #endif namespace openfl{ namespace _legacy{ namespace events{ void Event_obj::__constru...
46.676606
198
0.693307
TinyPlanetStudios
3eed5319602a0593c2248d72006ac9ed47bb19ce
727
cpp
C++
NWNXLib/Utils.cpp
acaos/nwnxee-unified
0e4c318ede64028c1825319f39c012e168e0482c
[ "MIT" ]
null
null
null
NWNXLib/Utils.cpp
acaos/nwnxee-unified
0e4c318ede64028c1825319f39c012e168e0482c
[ "MIT" ]
null
null
null
NWNXLib/Utils.cpp
acaos/nwnxee-unified
0e4c318ede64028c1825319f39c012e168e0482c
[ "MIT" ]
null
null
null
#include "Utils.hpp" #include "API/Globals.hpp" #include "API/CAppManager.hpp" #include "API/CServerExoApp.hpp" #include "API/CVirtualMachine.hpp" #include <sstream> namespace NWNXLib { namespace Utils { std::string ObjectIDToString(const API::Types::ObjectID id) { std::stringstream ss; ss << std::hex << id;...
22.71875
98
0.709766
acaos
3eeec1b9f3a8d2ba9b4a84cd5a57277979d5b925
2,736
cpp
C++
modules/ide_old/src/DebugToolbar.cpp
DeepBlue14/rqt_ide
853964dc429d61c9afb6f1fe827f2e3e83f92713
[ "MIT" ]
null
null
null
modules/ide_old/src/DebugToolbar.cpp
DeepBlue14/rqt_ide
853964dc429d61c9afb6f1fe827f2e3e83f92713
[ "MIT" ]
null
null
null
modules/ide_old/src/DebugToolbar.cpp
DeepBlue14/rqt_ide
853964dc429d61c9afb6f1fe827f2e3e83f92713
[ "MIT" ]
null
null
null
#include "DebugToolbar.h" DebugToolbar::DebugToolbar(QToolBar* parent) : QToolBar(parent) { actionPtrVecPtr = new QVector<QAction*>(); initActions(); } void DebugToolbar::handleStartActPtrSlot() { cout << "@ DebugToolbar::handleStartActPtrSlot()" << endl; } void DebugToolbar::handleStop...
28.206186
109
0.699561
DeepBlue14
3eef74dc561c81851c0888212018507de5c6086c
1,740
cpp
C++
foundation/plugins/undo/dmzPluginUndo.cpp
tongli/dmz
f2242027a17ea804259f9412b07d69f719a527c5
[ "MIT" ]
1
2016-05-08T22:02:35.000Z
2016-05-08T22:02:35.000Z
foundation/plugins/undo/dmzPluginUndo.cpp
ashok/dmz
2f8d4bced646f25abf2e98bdc0d378dafb4b32ed
[ "MIT" ]
null
null
null
foundation/plugins/undo/dmzPluginUndo.cpp
ashok/dmz
2f8d4bced646f25abf2e98bdc0d378dafb4b32ed
[ "MIT" ]
null
null
null
#include "dmzPluginUndo.h" #include <dmzRuntimeConfigToTypesBase.h> #include <dmzRuntimePluginFactoryLinkSymbol.h> #include <dmzRuntimePluginInfo.h> /*! \class dmz::PluginUndo \ingroup Foundation \brief Performs and undo or redo when a message is received. \details The default Message name to perform an undo is "Plug...
20.714286
81
0.685057
tongli
3eef7732e01993ce21af170636cc3e74a05cd289
6,189
cpp
C++
test/test_pair.cpp
bastiankoe/compute
57eec36d20e122a496d3fbfddf8bf4ad8d6f4a4f
[ "BSL-1.0" ]
1
2015-03-18T01:14:13.000Z
2015-03-18T01:14:13.000Z
test/test_pair.cpp
bastiankoe/compute
57eec36d20e122a496d3fbfddf8bf4ad8d6f4a4f
[ "BSL-1.0" ]
null
null
null
test/test_pair.cpp
bastiankoe/compute
57eec36d20e122a496d3fbfddf8bf4ad8d6f4a4f
[ "BSL-1.0" ]
null
null
null
//---------------------------------------------------------------------------// // Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.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 // // See http://kylelutz.gi...
33.274194
80
0.614639
bastiankoe
3ef515ce39f5ca04ed57a7e9356b156e4a48239b
549
hpp
C++
LinearAlgebra/operation/scalar/scalar.hpp
suiyili/Algorithms
d6ddc8262c5d681ecc78938b6140510793a29d91
[ "MIT" ]
null
null
null
LinearAlgebra/operation/scalar/scalar.hpp
suiyili/Algorithms
d6ddc8262c5d681ecc78938b6140510793a29d91
[ "MIT" ]
null
null
null
LinearAlgebra/operation/scalar/scalar.hpp
suiyili/Algorithms
d6ddc8262c5d681ecc78938b6140510793a29d91
[ "MIT" ]
null
null
null
#pragma once #include "scalar.h" namespace algebra::arithmetic { template<typename T> inline matrix<T>& operator*=(matrix<T>& m, T scalar) { for (size_t i = 0U; i < m.columns(); ++i) { for (size_t j = 0U; j < m.rows(); ++j) { pixel id{i, j}; m[id] *= scalar; } } return m; } template<typename ...
18.931034
58
0.612022
suiyili
3ef86773cfcdb1640a64bf3f3dc494c886fcb919
116
hxx
C++
src/Providers/UNIXProviders/VLANService/UNIX_VLANService_AIX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/VLANService/UNIX_VLANService_AIX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/VLANService/UNIX_VLANService_AIX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_AIX #ifndef __UNIX_VLANSERVICE_PRIVATE_H #define __UNIX_VLANSERVICE_PRIVATE_H #endif #endif
9.666667
36
0.836207
brunolauze
3efb1bfd766173e5d3984258eff284a4d1b3e91b
289
cpp
C++
Chapter11/chapter11bt_05/main.cpp
markccchiang/Modern-Cpp-Programming-Cookbook
42ba3c9ca1e0d897807f1c3baa5dddb0ee064f23
[ "MIT" ]
null
null
null
Chapter11/chapter11bt_05/main.cpp
markccchiang/Modern-Cpp-Programming-Cookbook
42ba3c9ca1e0d897807f1c3baa5dddb0ee064f23
[ "MIT" ]
null
null
null
Chapter11/chapter11bt_05/main.cpp
markccchiang/Modern-Cpp-Programming-Cookbook
42ba3c9ca1e0d897807f1c3baa5dddb0ee064f23
[ "MIT" ]
null
null
null
#define BOOST_TEST_MODULE Controlling output #include <boost/test/included/unit_test.hpp> BOOST_AUTO_TEST_CASE(test_case) { BOOST_TEST(true); } BOOST_AUTO_TEST_SUITE(test_suite) BOOST_AUTO_TEST_CASE(test_case) { int a = 42; BOOST_TEST(a == 0); } BOOST_AUTO_TEST_SUITE_END()
19.266667
44
0.768166
markccchiang
3efc8eaed45e54f59a6dfe174cd9e6fd1f10d1bd
1,915
hpp
C++
include/O2FS/OTwo.hpp
SirusDoma/O2FS
3ffa2d5476b8ee883be145c275df5e7759c1e520
[ "MIT" ]
1
2022-02-16T12:36:32.000Z
2022-02-16T12:36:32.000Z
include/O2FS/OTwo.hpp
SirusDoma/O2FS
3ffa2d5476b8ee883be145c275df5e7759c1e520
[ "MIT" ]
null
null
null
include/O2FS/OTwo.hpp
SirusDoma/O2FS
3ffa2d5476b8ee883be145c275df5e7759c1e520
[ "MIT" ]
null
null
null
#ifndef O2FS_OTWO_HPP #define O2FS_OTWO_HPP #include <windows.h> #include <vector> #include <unordered_map> #include <string> #include <O2FS/FileSystem.hpp> namespace O2FS { class OTwo { private: static std::vector<FileSystem*> systems; static std::unordered_map<HANDLE, std::string> fileC...
39.081633
157
0.721671
SirusDoma
3efef6fe7d95344083ea3eb63e703ce45cad70f1
17,380
cpp
C++
cyclone/OpLogic.cpp
barryjburns/dgen
a6f61a594b996840110a6c4bc0347a9d8e4f81e7
[ "BSD-3-Clause" ]
33
2020-11-20T16:38:43.000Z
2021-10-17T04:21:44.000Z
cyclone/OpLogic.cpp
barryjburns/dgen
a6f61a594b996840110a6c4bc0347a9d8e4f81e7
[ "BSD-3-Clause" ]
2
2020-11-21T00:32:37.000Z
2020-11-23T17:38:26.000Z
cyclone/OpLogic.cpp
barryjburns/dgen
a6f61a594b996840110a6c4bc0347a9d8e4f81e7
[ "BSD-3-Clause" ]
2
2020-11-21T09:37:17.000Z
2021-01-06T15:00:01.000Z
// This file is part of the Cyclone 68000 Emulator // Copyright (c) 2004,2011 FinalDave (emudave (at) gmail.com) // Copyright (c) 2005-2011 Gražvydas "notaz" Ignotas (notasas (at) gmail.com) // This code is licensed under the GNU General Public License version 2.0 and the MAME License. // You can choose the license ...
24.307692
110
0.524223
barryjburns
410342d5b369416c85e2e0921929180d37f9f554
639
cpp
C++
example/single_pro/MutexLock.cpp
jianxinzhou/Maple
96a85a96c1e978325f87c7ebc745addf190dcb59
[ "BSD-2-Clause" ]
1
2021-01-20T09:44:50.000Z
2021-01-20T09:44:50.000Z
example/Singleton/MutexLock.cpp
jianxinzhou/Maple
96a85a96c1e978325f87c7ebc745addf190dcb59
[ "BSD-2-Clause" ]
null
null
null
example/Singleton/MutexLock.cpp
jianxinzhou/Maple
96a85a96c1e978325f87c7ebc745addf190dcb59
[ "BSD-2-Clause" ]
1
2021-01-20T09:45:17.000Z
2021-01-20T09:45:17.000Z
#include "MutexLock.h" #include <assert.h> MutexLock::MutexLock() :isLocking_(false) { TINY_CHECK(!pthread_mutex_init(&mutex_, NULL)); } MutexLock::~MutexLock() { assert(isLocking()); TINY_CHECK(!pthread_mutex_destroy(&mutex_)); } void MutexLock::lock() { TINY_CHECK(!pthread_mutex_lock(&mutex_));...
15.975
51
0.687011
jianxinzhou
41040e0510afd373c33c5d66ac284a473eb053e9
5,385
cpp
C++
Code/Engine/RendererCore/Pipeline/Implementation/Passes/SimpleRenderPass.cpp
JohannStudanski/ezEngine
bb9d7dc4ad1ba52c2725f0a8bd1b851d59dbf43c
[ "MIT" ]
1
2021-06-23T14:44:02.000Z
2021-06-23T14:44:02.000Z
Code/Engine/RendererCore/Pipeline/Implementation/Passes/SimpleRenderPass.cpp
aemeltsev/ezEngine
98528c268dbf8cf37bb1f31e8664bd9651b7023f
[ "MIT" ]
null
null
null
Code/Engine/RendererCore/Pipeline/Implementation/Passes/SimpleRenderPass.cpp
aemeltsev/ezEngine
98528c268dbf8cf37bb1f31e8664bd9651b7023f
[ "MIT" ]
null
null
null
#include <RendererCorePCH.h> #include <RendererCore/Pipeline/Passes/SimpleRenderPass.h> #include <RendererCore/Pipeline/View.h> #include <RendererCore/RenderContext/RenderContext.h> #include <RendererFoundation/Resources/RenderTargetView.h> #include <RendererFoundation/Resources/Texture.h> #include <RendererCore/Deb...
37.137931
140
0.772702
JohannStudanski
4105fbd17cfab7cdce73c25ceacb9a7ea65e083f
2,296
cc
C++
runtime/vm/type_testing_stubs_arm64.cc
annagrin/sdk
dfce72bbf9bf359ecd810964259978e24c55e237
[ "BSD-3-Clause" ]
2
2019-08-15T18:30:00.000Z
2020-11-03T20:17:12.000Z
runtime/vm/type_testing_stubs_arm64.cc
annagrin/sdk
dfce72bbf9bf359ecd810964259978e24c55e237
[ "BSD-3-Clause" ]
1
2021-01-21T14:45:59.000Z
2021-01-21T14:45:59.000Z
runtime/vm/type_testing_stubs_arm64.cc
annagrin/sdk
dfce72bbf9bf359ecd810964259978e24c55e237
[ "BSD-3-Clause" ]
3
2020-02-13T02:08:04.000Z
2020-08-09T07:49:55.000Z
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "vm/globals.h" #if defined(TARGET_ARCH_ARM64) && !defined(DART_PRECOMPILED_RUNTIME) #include...
32.8
77
0.747387
annagrin
410664eda0f1db6e1326af9ab80d94a59cbff8e5
10,885
cpp
C++
src/Interface.cpp
RicardoCoutinho/LAIG
13933ce1dd05ff4d099ffb0864bb9034c52592e7
[ "MIT" ]
null
null
null
src/Interface.cpp
RicardoCoutinho/LAIG
13933ce1dd05ff4d099ffb0864bb9034c52592e7
[ "MIT" ]
null
null
null
src/Interface.cpp
RicardoCoutinho/LAIG
13933ce1dd05ff4d099ffb0864bb9034c52592e7
[ "MIT" ]
null
null
null
#include "Interface.h" #include "YAFScene.h" #include "Application.h" #include <GL/glui.h> #define MOUSE_ROTATE_FACTOR 0 #define MOUSE_PAN_FACTOR 0 #define MOUSE_ZOOM_FACTOR 0 //#define MOUSE_ROTATE_FACTOR 0.5 //#define MOUSE_PAN_FACTOR 0.05 //#define MOUSE_ZOOM_FACTOR 0.5 #define CG_CGFcamera_AXIS_X 0 #define CG_CG...
28.054124
121
0.6904
RicardoCoutinho
41074d657bfbfbb8f1bbf9b0ea0abf63317c2c19
2,527
cc
C++
examples/octave/plot_b6.cc
yyk99/bzeditor
f4d3a24fbed2d7a3db82124e2c927288731f763b
[ "MIT" ]
null
null
null
examples/octave/plot_b6.cc
yyk99/bzeditor
f4d3a24fbed2d7a3db82124e2c927288731f763b
[ "MIT" ]
null
null
null
examples/octave/plot_b6.cc
yyk99/bzeditor
f4d3a24fbed2d7a3db82124e2c927288731f763b
[ "MIT" ]
null
null
null
// // // #include "bezierMk2.h" #include "Plotter.h" #include <iostream> #include <stdexcept> std::ostream &operator<< (std::ostream &s, point2d_t const &p) { s << p.to_string(); return s; } void plot_b6_UT() /* unit test */ { point2d_t p0 = point2d_t(10, 10); point2d_t p1 = point2d_t(0, 20); po...
23.839623
79
0.508508
yyk99
410859f88eac9a505febb206bd36593e0111d867
163
cpp
C++
tests/main.cpp
zivhoo/magic
9f3c0d572c10e53d6580c1ffa80e1b69d07e91c0
[ "Apache-2.0" ]
null
null
null
tests/main.cpp
zivhoo/magic
9f3c0d572c10e53d6580c1ffa80e1b69d07e91c0
[ "Apache-2.0" ]
null
null
null
tests/main.cpp
zivhoo/magic
9f3c0d572c10e53d6580c1ffa80e1b69d07e91c0
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include "Magic.h" using namespace std; int main() { Magic::Magic magic; magic.createRenderWindow("",500,400, false); return 0; }
14.818182
48
0.662577
zivhoo
41086a8a27f4ab0f73ae58e7f2432b662d6149c5
128
cpp
C++
tensorflow-yolo-ios/dependencies/eigen/failtest/diagonal_nonconst_ctor_on_const_xpr.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
27
2017-06-07T19:07:32.000Z
2020-10-15T10:09:12.000Z
tensorflow-yolo-ios/dependencies/eigen/failtest/diagonal_nonconst_ctor_on_const_xpr.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
3
2017-08-25T17:39:46.000Z
2017-11-18T03:40:55.000Z
tensorflow-yolo-ios/dependencies/eigen/failtest/diagonal_nonconst_ctor_on_const_xpr.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
10
2017-06-16T18:04:45.000Z
2018-07-05T17:33:01.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:771e89a5fdad79addce7ae43103632797345b0f6f2ab6ffc1fd4a3eab37409b7 size 228
32
75
0.882813
initialz
410f55abc58323c02fe5b24027567389f4811fb5
4,696
hpp
C++
Pods/Headers/Private/Realm/realm/impl/destroy_guard.hpp
Valpertui/mealtingpot-ios
73368d4ec16fef55f3b8f30e45038955db6385df
[ "MIT" ]
145
2015-07-22T06:04:49.000Z
2021-12-08T13:37:04.000Z
Pods/Headers/Private/Realm/realm/impl/destroy_guard.hpp
Valpertui/mealtingpot-ios
73368d4ec16fef55f3b8f30e45038955db6385df
[ "MIT" ]
23
2016-01-14T06:52:56.000Z
2017-02-13T22:11:42.000Z
Pods/Headers/Private/Realm/realm/impl/destroy_guard.hpp
Valpertui/mealtingpot-ios
73368d4ec16fef55f3b8f30e45038955db6385df
[ "MIT" ]
42
2015-07-24T02:59:31.000Z
2019-07-23T08:51:59.000Z
/************************************************************************* * * REALM CONFIDENTIAL * __________________ * * [2011] - [2012] Realm Inc * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Realm Incorporated and its suppliers, * if any. The int...
20.241379
85
0.67994
Valpertui
41107173169bb4c4685641b48e2c574656d298c0
3,668
hpp
C++
sprout/math/hypot.hpp
kevcadieux/Sprout
6b5addba9face0a6403e66e7db2aa94d87387f61
[ "BSL-1.0" ]
691
2015-01-15T18:52:23.000Z
2022-03-15T23:39:39.000Z
sprout/math/hypot.hpp
kevcadieux/Sprout
6b5addba9face0a6403e66e7db2aa94d87387f61
[ "BSL-1.0" ]
22
2015-03-11T01:22:56.000Z
2021-03-29T01:51:45.000Z
sprout/math/hypot.hpp
kevcadieux/Sprout
6b5addba9face0a6403e66e7db2aa94d87387f61
[ "BSL-1.0" ]
57
2015-03-11T07:52:29.000Z
2021-12-16T09:15:33.000Z
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout 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.tx...
34.603774
116
0.658124
kevcadieux
4111dd3dc5cdb199aedbd4e64a8eb14472cf0fd0
352
cpp
C++
QtCases/main.cpp
TsyQi/MyAutomatic
2afd3dcabba818051c7119fac7e6c099ff7954a7
[ "Apache-2.0" ]
4
2016-08-19T08:16:49.000Z
2020-04-15T12:30:25.000Z
QtCases/main.cpp
TsyQi/Auto-control
d0dda0752d53d28f358346ee7ab217bf05118c96
[ "Apache-2.0" ]
null
null
null
QtCases/main.cpp
TsyQi/Auto-control
d0dda0752d53d28f358346ee7ab217bf05118c96
[ "Apache-2.0" ]
3
2019-03-23T03:40:24.000Z
2020-04-15T00:57:43.000Z
#include <QtPlugin> #include <QtWidgets/qmessagebox.h> #include "OpenGLWindow.h" // Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin) #ifdef _WIN32 extern "C" __declspec(dllexport) #endif int main(int argc, char *argv[]) { QApplication a(argc, argv); OpenGLWindow w("flappy TRIANGLE"); a.setActiveWindow(&w); w...
20.705882
45
0.704545
TsyQi
4113ad6ad1fb5a9660bf88d48bf1f480d0d14dd6
8,658
cc
C++
flare/rpc/trackme.cc
flare-rpc/flare-cpp
c1630c7eb8bae0a0b0cee6ec3f13f1babeaef950
[ "Apache-2.0" ]
3
2022-01-23T17:55:24.000Z
2022-03-23T12:55:18.000Z
flare/rpc/trackme.cc
flare-rpc/flare-cpp
c1630c7eb8bae0a0b0cee6ec3f13f1babeaef950
[ "Apache-2.0" ]
null
null
null
flare/rpc/trackme.cc
flare-rpc/flare-cpp
c1630c7eb8bae0a0b0cee6ec3f13f1babeaef950
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
36.378151
97
0.628205
flare-rpc
4115247034dedccdc7036b536c0539ca74cd831f
1,624
cpp
C++
Kattis/Promotions/solution.cpp
caando/Competitive-Programming-Archive
589781a23bda39aedf5fc437bf9b97c264fd3736
[ "MIT" ]
5
2021-09-09T09:16:29.000Z
2022-01-08T11:28:12.000Z
Kattis/Promotions/solution.cpp
zjk2606/Competitive-Programming-Archive
589781a23bda39aedf5fc437bf9b97c264fd3736
[ "MIT" ]
1
2021-09-09T09:16:26.000Z
2021-09-11T04:00:36.000Z
Kattis/Promotions/solution.cpp
zjk2606/Competitive-Programming-Archive
589781a23bda39aedf5fc437bf9b97c264fd3736
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<int, int>; using vi = vector<int>; using vii = vector<pii>; #define fi first #define se second #define sz(c) ((int)(c).size()) #define all(c) (c).begin(), (c).end() #define forn(i,m, n) for (int i = m, nnnn = (n); i < nnnn; ++i) #def...
22.873239
64
0.446429
caando
4116916a2efa8e26373674c468980243f492b96a
2,829
hpp
C++
engine/gems/sight/sop_transform.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
1
2020-04-14T13:55:16.000Z
2020-04-14T13:55:16.000Z
engine/gems/sight/sop_transform.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
4
2020-09-25T22:34:29.000Z
2022-02-09T23:45:12.000Z
engine/gems/sight/sop_transform.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
1
2020-07-02T11:51:17.000Z
2020-07-02T11:51:17.000Z
/* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
28.867347
95
0.707317
stereoboy
411a4f12928dd8dc223a4a428573a20bd1f5c46c
5,562
cpp
C++
format/tables/TableFactory.cpp
eladraz/morph
e80b93af449471fb2ca9e256188f9a92f631fbc2
[ "BSD-3-Clause" ]
4
2017-01-24T09:32:23.000Z
2021-08-20T03:29:54.000Z
format/tables/TableFactory.cpp
eladraz/morph
e80b93af449471fb2ca9e256188f9a92f631fbc2
[ "BSD-3-Clause" ]
null
null
null
format/tables/TableFactory.cpp
eladraz/morph
e80b93af449471fb2ca9e256188f9a92f631fbc2
[ "BSD-3-Clause" ]
1
2021-08-20T03:29:55.000Z
2021-08-20T03:29:55.000Z
/* * Copyright (c) 2008-2016, Integrity Project Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright notice, * this list ...
50.108108
98
0.759259
eladraz
411eddbb6ede14e3628bb7356455a8b6a0716873
2,038
cpp
C++
Classes/UI/Chooser.cpp
FrSanchez/snake
4e2260d0784cd90ddf28a9f209b0d00da3cf66d0
[ "MIT" ]
null
null
null
Classes/UI/Chooser.cpp
FrSanchez/snake
4e2260d0784cd90ddf28a9f209b0d00da3cf66d0
[ "MIT" ]
null
null
null
Classes/UI/Chooser.cpp
FrSanchez/snake
4e2260d0784cd90ddf28a9f209b0d00da3cf66d0
[ "MIT" ]
null
null
null
// // Chooser.cpp // cocos2d // // Created by Francisco Sanchez on 2/11/21. // #include "Chooser.h" USING_NS_CC; bool Chooser::init() { auto numLabel = Label::createWithTTF("1", "Arcade.ttf", 96); numLabel->setTextColor(Color4B::WHITE); numLabel->enableOutline(Color4B::GRAY, 5); numLabel->setAlign...
27.540541
115
0.682532
FrSanchez
4124cc1897b4792aecf6be34bbf76782675087c5
1,293
hpp
C++
include/RED4ext/Scripting/Natives/Generated/AI/behavior/DriveToNodeTreeNodeDefinition.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/AI/behavior/DriveToNodeTreeNodeDefinition.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/AI/behavior/DriveToNodeTreeNodeDefinition.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Handle.hpp> #include <RED4ext/Scripting/Natives/Generated/AI/behavior/DriveTreeNodeDefinition.hpp> namespace RED4ext { namespace AI { struct ArgumentMapping; } namespace AI::beha...
35.916667
86
0.75406
jackhumbert
412c478823e481e9203655721ddd076708469c4b
467
cpp
C++
Greedy Algorithms/activity_scheduling1.cpp
Reactor11/Data-Structures-Practice
30d758aaece930e27585f9f7a2f904e74925516b
[ "MIT" ]
null
null
null
Greedy Algorithms/activity_scheduling1.cpp
Reactor11/Data-Structures-Practice
30d758aaece930e27585f9f7a2f904e74925516b
[ "MIT" ]
null
null
null
Greedy Algorithms/activity_scheduling1.cpp
Reactor11/Data-Structures-Practice
30d758aaece930e27585f9f7a2f904e74925516b
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main(){ int n; cin>>n; int start[n],end[n]; for(int i=0;i<n;i++) cin>>start[i]; for(int i=0;i<n;i++) cin>>end[i]; int count=1,finish=end[0]; cout<<count<<" "; for(int i=1;i<n;i++) if(start[i] >= finish){ cout<<i+1<<" "; // g...
23.35
52
0.488223
Reactor11
412fb0da32010ac304b12e1c9e108af3a73bd05f
614
cpp
C++
src/core/p_render/render_graph/resources/RenderResource.cpp
jabronicus/P-Engine
7786c2f97d19bd2913b706f6afe5087a392b1a3c
[ "MIT" ]
null
null
null
src/core/p_render/render_graph/resources/RenderResource.cpp
jabronicus/P-Engine
7786c2f97d19bd2913b706f6afe5087a392b1a3c
[ "MIT" ]
null
null
null
src/core/p_render/render_graph/resources/RenderResource.cpp
jabronicus/P-Engine
7786c2f97d19bd2913b706f6afe5087a392b1a3c
[ "MIT" ]
1
2021-08-24T05:43:01.000Z
2021-08-24T05:43:01.000Z
#include "../../../../../include/core/p_render/render_graph/resources/RenderResource.hpp" RenderResource::RenderResource(RenderResource::Type type, unsigned int index, const std::string &name) : _type(type), _index(index), _name(name) { } void RenderResource::addWritePass(unsigned int index) { _writePasses.inser...
26.695652
146
0.7443
jabronicus
41372fe5a4e67928b8a773b3b884581435962b33
593
cpp
C++
kernel/acpi.cpp
Ampferl/jonix
75dc24187b96eb50f210b4362775c04b77844946
[ "MIT" ]
7
2021-03-23T16:45:41.000Z
2022-01-04T16:26:56.000Z
kernel/acpi.cpp
Ampferl/jonix
75dc24187b96eb50f210b4362775c04b77844946
[ "MIT" ]
5
2021-03-29T07:09:43.000Z
2021-07-23T22:47:58.000Z
kernel/acpi.cpp
Ampferl/jonix
75dc24187b96eb50f210b4362775c04b77844946
[ "MIT" ]
4
2021-06-25T17:25:45.000Z
2021-07-23T13:05:25.000Z
#include "acpi.h" namespace ACPI{ void* FindTable(SDTHeader* sdtHeader, char* signature){ int entries = (sdtHeader->Length - sizeof(ACPI::SDTHeader)) / 8; for (int t = 0; t < entries; ++t) { ACPI::SDTHeader* newSDTHeader = (ACPI::SDTHeader*)*(uint64_t*)((uint64_t)sdtHeader + sizeof(ACP...
29.65
132
0.495784
Ampferl
4142a30226da6ff8ae62cb02e8f3d40acdfa51a7
2,736
cpp
C++
BallsToTheWall/src/ParticleSystem.cpp
JackiBackiBoy/BallsToTheWall
9a18e3772e1ad2213e2282c59691818305088059
[ "Apache-2.0" ]
null
null
null
BallsToTheWall/src/ParticleSystem.cpp
JackiBackiBoy/BallsToTheWall
9a18e3772e1ad2213e2282c59691818305088059
[ "Apache-2.0" ]
null
null
null
BallsToTheWall/src/ParticleSystem.cpp
JackiBackiBoy/BallsToTheWall
9a18e3772e1ad2213e2282c59691818305088059
[ "Apache-2.0" ]
null
null
null
#include "ParticleSystem.h" #include "TimeTracker.h" #include "Random.h" #include "math\Math.h" #include "SFML/System/Clock.hpp" #include "Sandbox.h" sf::Clock tempClock = sf::Clock(); ParticleSystem::ParticleSystem(const unsigned int& aParticleCount) { myParticles.resize(aParticleCount); } void ParticleSystem::OnU...
27.636364
135
0.729898
JackiBackiBoy
4144308d06f489eb002cbe3541de831492779f34
1,764
hpp
C++
src/standard/bits/DD_find_max.hpp
iDingDong/libDDCPP-old
841260fecc84330ff3bfffba7263f5318f0b4655
[ "BSD-3-Clause" ]
1
2018-06-01T03:29:34.000Z
2018-06-01T03:29:34.000Z
src/standard/bits/DD_find_max.hpp
iDingDong/libDDCPP-old
841260fecc84330ff3bfffba7263f5318f0b4655
[ "BSD-3-Clause" ]
null
null
null
src/standard/bits/DD_find_max.hpp
iDingDong/libDDCPP-old
841260fecc84330ff3bfffba7263f5318f0b4655
[ "BSD-3-Clause" ]
null
null
null
// DDCPP/standard/bits/DD_find_max.hpp #ifndef DD_FIND_MAX_HPP_INCLUDED_ # define DD_FIND_MAX_HPP_INCLUDED_ 1 # include "DD_Iterator.hpp" # include "DD_Range.hpp" # include "DD_LessThan.hpp" DD_DETAIL_BEGIN_ template <typename UndirectionalIteratorT_, typename BinaryPredicateT_> UndirectionalIteratorT_ find_max( ...
24.164384
84
0.790249
iDingDong
414e9cb32d6ebfc04a1754091e33b0c03f70c528
596
hpp
C++
wrapper/bindings/utility.hpp
Karanlos/gli-rs
494a2dfec786824a5c3fcc5eb21c5d786076a48f
[ "MIT" ]
null
null
null
wrapper/bindings/utility.hpp
Karanlos/gli-rs
494a2dfec786824a5c3fcc5eb21c5d786076a48f
[ "MIT" ]
null
null
null
wrapper/bindings/utility.hpp
Karanlos/gli-rs
494a2dfec786824a5c3fcc5eb21c5d786076a48f
[ "MIT" ]
null
null
null
#include <glm/gtc/epsilon.hpp> extern "C" { namespace bindings { struct TexelType4F { float content[4]; }; TexelType4F vec4ToTex4F(gli::vec4 raw) { TexelType4F value; value.content[0] = raw[0]; value.content[1] = raw[1]; value...
19.866667
89
0.525168
Karanlos
4151c5492f764904c167f82d37088d71179cb616
9,871
cpp
C++
tests/tests/result_tests/when_any_tests.cpp
PazerOP/concurrencpp
fbc8c475d5a534c5d222d9b241ad9299f2413969
[ "MIT" ]
1
2020-10-29T21:43:36.000Z
2020-10-29T21:43:36.000Z
tests/tests/result_tests/when_any_tests.cpp
PazerOP/concurrencpp
fbc8c475d5a534c5d222d9b241ad9299f2413969
[ "MIT" ]
null
null
null
tests/tests/result_tests/when_any_tests.cpp
PazerOP/concurrencpp
fbc8c475d5a534c5d222d9b241ad9299f2413969
[ "MIT" ]
null
null
null
#include "concurrencpp.h" #include "../all_tests.h" #include "../test_utils/test_ready_result.h" #include "../test_utils/executor_shutdowner.h" #include "../../tester/tester.h" #include "../../helpers/assertions.h" #include "../../helpers/random.h" #include "../../helpers/object_observer.h" namespace concurrencpp::t...
27.495822
107
0.714315
PazerOP
a9910a040a66f02b9a400c54c40bdaa89c9e0521
873
hpp
C++
builder/include/builder/CarBuilder.hpp
hwnBEAST/cpp_design_patterns
42e04644a9c4ce8ff8bafefd37b2cee8d0628f45
[ "MIT" ]
null
null
null
builder/include/builder/CarBuilder.hpp
hwnBEAST/cpp_design_patterns
42e04644a9c4ce8ff8bafefd37b2cee8d0628f45
[ "MIT" ]
null
null
null
builder/include/builder/CarBuilder.hpp
hwnBEAST/cpp_design_patterns
42e04644a9c4ce8ff8bafefd37b2cee8d0628f45
[ "MIT" ]
null
null
null
/** * @file * * @brief * * @copyright Copyright (C) 2021. Full licence notice is in the LICENCE file. */ #pragma once #include "builder/Car.hpp" #include <cstdint> #include <string> namespace Builder { class CarBuilder { public: /*--- Constructors ---*/ CarBuilder(const CarBuilder& other) = delete; ...
21.825
80
0.689576
hwnBEAST
a9918e4f7a72bf0be080b310ff028b658ad8ef5e
8,353
cpp
C++
build/linux-build/Sources/src/zpp_nape/util/ZNPNode_ZPP_Constraint.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/zpp_nape/util/ZNPNode_ZPP_Constraint.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/zpp_nape/util/ZNPNode_ZPP_Constraint.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
// Generated by Haxe 4.0.0-preview.5 #include <hxcpp.h> #ifndef INCLUDED_zpp_nape_constraint_ZPP_Constraint #include <hxinc/zpp_nape/constraint/ZPP_Constraint.h> #endif #ifndef INCLUDED_zpp_nape_util_ZNPNode_ZPP_Constraint #include <hxinc/zpp_nape/util/ZNPNode_ZPP_Constraint.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_98...
36.960177
203
0.774213
HedgehogFog
a9920d621af1be84ba993ce5ef5078ca74ef1c23
4,331
hpp
C++
cell_based/test/simulation/Test2dVertexBasedSimulationWithFreeBoundary.hpp
mdp19pn/Chaste
f7b6bafa64287d567125b587b29af6d8bd7aeb90
[ "Apache-2.0", "BSD-3-Clause" ]
100
2015-02-23T08:32:23.000Z
2022-02-25T11:39:26.000Z
cell_based/test/simulation/Test2dVertexBasedSimulationWithFreeBoundary.hpp
mdp19pn/Chaste
f7b6bafa64287d567125b587b29af6d8bd7aeb90
[ "Apache-2.0", "BSD-3-Clause" ]
11
2017-06-14T13:48:43.000Z
2022-03-10T10:42:07.000Z
cell_based/test/simulation/Test2dVertexBasedSimulationWithFreeBoundary.hpp
mdp19pn/Chaste
f7b6bafa64287d567125b587b29af6d8bd7aeb90
[ "Apache-2.0", "BSD-3-Clause" ]
53
2015-02-23T13:52:44.000Z
2022-02-28T18:57:35.000Z
/* Copyright (c) 2005-2021, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
37.991228
100
0.758947
mdp19pn
a9931a90720b29f85ceec2f45caa1693d9b75a25
291
cpp
C++
1-6-6z.cpp
Kaermor/stepik-course363-cpp
7df3381ee5460565754745b6d48ed3f1324e73ef
[ "Apache-2.0" ]
null
null
null
1-6-6z.cpp
Kaermor/stepik-course363-cpp
7df3381ee5460565754745b6d48ed3f1324e73ef
[ "Apache-2.0" ]
null
null
null
1-6-6z.cpp
Kaermor/stepik-course363-cpp
7df3381ee5460565754745b6d48ed3f1324e73ef
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <cmath> #include <iomanip> using namespace std; int main() { double n, sum, k; cin >> n; while (n != 0){ sum = sum + n; k++; cin >> n; } cout << setprecision(11) << fixed; cout << sum/k << endl; return 0; }
14.55
38
0.484536
Kaermor
a9943c77e79fd002974dacddcc2ee90d6d34ea9c
3,921
cpp
C++
vm/objects.cpp
dch/factor
faacbb58e0738a0612a04b792a3f6ff4929134ff
[ "BSD-2-Clause" ]
null
null
null
vm/objects.cpp
dch/factor
faacbb58e0738a0612a04b792a3f6ff4929134ff
[ "BSD-2-Clause" ]
null
null
null
vm/objects.cpp
dch/factor
faacbb58e0738a0612a04b792a3f6ff4929134ff
[ "BSD-2-Clause" ]
null
null
null
#include "master.hpp" namespace factor { void factor_vm::primitive_special_object() { fixnum n = untag_fixnum(ctx->peek()); ctx->replace(special_objects[n]); } void factor_vm::primitive_set_special_object() { fixnum n = untag_fixnum(ctx->pop()); cell value = ctx->pop(); special_objects[n] = value; } void ...
27.229167
78
0.680949
dch
a9986869f1116f9bdfa4c7d1f673bba821397e21
884
hpp
C++
src/include/duckdb/planner/operator/logical_filter.hpp
RelationalAI-oss/duckdb
a4908ae17de3ac62d42633ada03077b8c3ead7a5
[ "MIT" ]
2
2020-01-07T17:19:02.000Z
2020-01-09T22:04:04.000Z
src/include/duckdb/planner/operator/logical_filter.hpp
RelationalAI-oss/duckdb
a4908ae17de3ac62d42633ada03077b8c3ead7a5
[ "MIT" ]
null
null
null
src/include/duckdb/planner/operator/logical_filter.hpp
RelationalAI-oss/duckdb
a4908ae17de3ac62d42633ada03077b8c3ead7a5
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // DuckDB // // planner/operator/logical_filter.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/planner/logical_operator.hpp" namespace duc...
26.787879
80
0.602941
RelationalAI-oss
a99e0b809be646f6f08f77c79fc13623288e49ee
1,115
cpp
C++
tmp/binary_value.cpp
Ahmed-Zamouche/cpp
73136b5a350d3b95f0ae7e9ff007402e8f8214df
[ "MIT" ]
null
null
null
tmp/binary_value.cpp
Ahmed-Zamouche/cpp
73136b5a350d3b95f0ae7e9ff007402e8f8214df
[ "MIT" ]
null
null
null
tmp/binary_value.cpp
Ahmed-Zamouche/cpp
73136b5a350d3b95f0ae7e9ff007402e8f8214df
[ "MIT" ]
null
null
null
#include <iostream> #include <type_traits> #include <vector> #define NDEBUG template <bool a_0> int reversed_binary_value() { #ifndef NDEBUG std::cout << __PRETTY_FUNCTION__ << ": " << a_0 << std::endl; #endif return a_0; } template <bool a_n_minus_1, bool a_n_minus_2, bool... digits> int reversed_binary_value()...
23.229167
78
0.647534
Ahmed-Zamouche
a9a17d3ffdc8214ced17d14a2f2323433b90dba8
12,372
cpp
C++
tdmq/src/v20200217/model/AMQPQueueDetail.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
tdmq/src/v20200217/model/AMQPQueueDetail.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
tdmq/src/v20200217/model/AMQPQueueDetail.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
28.974239
154
0.696492
suluner
a9a3e31e8459ce3f87fb327f70d7c40e297d4d6c
880
cpp
C++
18_List_Kullanimi/src/main.cpp
KMACEL/TR-Cpp
dac7bebd1d5fd2d69a76be5a9809417333f01817
[ "Apache-2.0" ]
1
2021-05-25T22:11:13.000Z
2021-05-25T22:11:13.000Z
18_List_Kullanimi/src/main.cpp
KMACEL/TR-Cpp
dac7bebd1d5fd2d69a76be5a9809417333f01817
[ "Apache-2.0" ]
null
null
null
18_List_Kullanimi/src/main.cpp
KMACEL/TR-Cpp
dac7bebd1d5fd2d69a76be5a9809417333f01817
[ "Apache-2.0" ]
null
null
null
//============================================================================ // İsim : 18_List_Kullanımı // Yazan : Mert AceL // Version : 1.0 // Copyright : AceL // Açıklama : Listelere Giriş //============================================================================ #include <iostream> #inc...
22.564103
78
0.421591
KMACEL
a9a66f8e56e123a1234a549f9e95dce921456214
1,764
cpp
C++
src/section.cpp
YureiResearchInstitute/Yo-kai_Editor_B2
990809487492a95dec388ee04d2eab80e190c88d
[ "MIT" ]
2
2021-06-21T21:42:30.000Z
2021-06-21T21:42:33.000Z
src/section.cpp
YureiResearchInstitute/Yo-kai_Editor_B2
990809487492a95dec388ee04d2eab80e190c88d
[ "MIT" ]
null
null
null
src/section.cpp
YureiResearchInstitute/Yo-kai_Editor_B2
990809487492a95dec388ee04d2eab80e190c88d
[ "MIT" ]
4
2019-11-07T04:23:58.000Z
2021-08-29T01:17:21.000Z
#include "section.h" Section::Section(QTreeWidget* parent, quint32 id, quint32 size, quint32 offset) : QTreeWidgetItem(parent, Section::Type) , id(id) , size(size) , offset(offset) { this->setText(0, QString::number(id)); } Section::~Section() { } quint32 Section::getId() const { return id; }...
20.045455
90
0.630385
YureiResearchInstitute
a9a6f3cec6bc5f7f3e2f303a0fa454bd91800561
6,823
hpp
C++
alpaka/include/alpaka/meta/CudaVectorArrayWrapper.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
25
2015-01-30T12:19:48.000Z
2020-10-30T07:52:45.000Z
alpaka/include/alpaka/meta/CudaVectorArrayWrapper.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
101
2015-01-06T11:31:26.000Z
2020-11-09T13:51:19.000Z
alpaka/include/alpaka/meta/CudaVectorArrayWrapper.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
10
2015-06-10T07:54:30.000Z
2020-05-06T10:07:39.000Z
/* Copyright 2022 Jiří Vyskočil, Jan Stephan, Bernhard Manfred Gruber * * This file is part of alpaka. * * 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/. */ #prag...
28.548117
115
0.56163
ComputationalRadiationPhysics
a9a93353a3714a7d91319cba525ccf23fcded2fc
6,778
hpp
C++
Nacro/SDK/FN_GameplayTasks_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_GameplayTasks_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_GameplayTasks_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
#pragma once // Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Parameters //--------------------------------------------------------------------------- // Function GameplayTasks...
59.982301
173
0.537179
Milxnor
a9aaf8fa812fa1b5d662cf452122ccc7c4e2502a
1,065
cpp
C++
2524/5364663_AC_329MS_448K.cpp
vandreas19/POJ_sol
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
18
2017-08-14T07:34:42.000Z
2022-01-29T14:20:29.000Z
2524/5364663_AC_329MS_448K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
null
null
null
2524/5364663_AC_329MS_448K.cpp
pinepara/poj_solutions
4895764ab800e8c2c4b2334a562dec2f07fa243e
[ "MIT" ]
14
2016-12-21T23:37:22.000Z
2021-07-24T09:38:57.000Z
#include<cstdio> int GetRoot(int ID,int *father){ if(father[ID]==ID) return ID; return father[ID]=GetRoot(father[ID],father); } int main(){ const int STUDENT_MAX=50000; int studentNum,pairNum,caseID=1; int father[STUDENT_MAX]; bool religionRoot[STUDENT_MAX]; while(true){ scanf("%d%d",&student...
24.767442
50
0.635681
vandreas19
a9afacebb66aa4577dfe6c76d84fcddfdd9d3529
16,503
cpp
C++
src/framework/shared/irphandlers/pnp/notpowerpolicyownerstatemachine.cpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
994
2015-03-18T21:37:07.000Z
2019-04-26T04:04:14.000Z
src/framework/shared/irphandlers/pnp/notpowerpolicyownerstatemachine.cpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
13
2019-06-13T15:58:03.000Z
2022-02-18T22:53:35.000Z
src/framework/shared/irphandlers/pnp/notpowerpolicyownerstatemachine.cpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
350
2015-03-19T04:29:46.000Z
2019-05-05T23:26:50.000Z
/*++ Copyright (c) Microsoft. All rights reserved. Module Name: NotPowerPolicyOwnerStateMachine.cpp Abstract: This module implements the Not Power Policy Owner state machine for the driver framework. This code was split out from PowerPolicyStateMachine.cpp Author: Environment: Both kernel an...
27.782828
108
0.722535
IT-Enthusiast-Nepal
a9b2b139c0e272b416107068aacde7049df4e8de
4,599
hpp
C++
include/System/Xml/Serialization/SerializationSource.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Xml/Serialization/SerializationSource.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Xml/Serialization/SerializationSource.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" #include "beatsaber-hook/shared/utils/il2cpp-utils-met...
49.451613
244
0.736682
v0idp
a9b5fe775435d0edad617bf0759c549a9ed39bbe
3,743
hpp
C++
src/game/sys/physics/physics_comp.hpp
lowkey42/BanishedBlaze
71e66f444a84bea1eca3639de3f3ff1f79e385d1
[ "MIT" ]
null
null
null
src/game/sys/physics/physics_comp.hpp
lowkey42/BanishedBlaze
71e66f444a84bea1eca3639de3f3ff1f79e385d1
[ "MIT" ]
null
null
null
src/game/sys/physics/physics_comp.hpp
lowkey42/BanishedBlaze
71e66f444a84bea1eca3639de3f3ff1f79e385d1
[ "MIT" ]
null
null
null
/** An entity that participates in collision resolution ********************** * * * Copyright (c) 2016 Florian Oetke * * This file is distributed under the MIT License * * ...
30.680328
99
0.64841
lowkey42
a9b71c5db9af607c9172b0124ecd1f6ccd9bc67a
41,251
cc
C++
src/tensorflow/ops/image/image.cc
MartinR20/tensorflow.nim
081f558396461bd57d55c00cda91e8dfc339c09c
[ "Apache-2.0" ]
8
2019-11-26T20:50:46.000Z
2021-02-21T18:20:00.000Z
src/tensorflow/ops/image/image.cc
MartinR20/tensorflow.nim
081f558396461bd57d55c00cda91e8dfc339c09c
[ "Apache-2.0" ]
3
2019-11-07T15:16:06.000Z
2020-03-11T21:42:59.000Z
src/tensorflow/ops/image/image.cc
MartinR20/tensorflow.nim
081f558396461bd57d55c00cda91e8dfc339c09c
[ "Apache-2.0" ]
2
2019-11-07T15:18:56.000Z
2020-10-09T13:51:41.000Z
#include "tensorflow/cc/ops/const_op.h" #include "image.h" AdjustContrast::AdjustContrast(tensorflow::Scope& scope, tensorflow::Input images, tensorflow::Input contrast_factor, tensorflow::Input min_value, tensorflow::Input max_value) { if (!scope.ok()) r...
43.104493
106
0.562992
MartinR20
a9b7dddb9080c4466de6e20a251b538f9ee83caa
2,717
cpp
C++
Public/src/Sandbox/MacOs/BuildXLSandbox/Src/Kauth/TrustedBsdHandler.cpp
blufugen/BuildXL
b7f33c72a3c9a8463fc6d656214a5c5dfccac7ad
[ "MIT" ]
null
null
null
Public/src/Sandbox/MacOs/BuildXLSandbox/Src/Kauth/TrustedBsdHandler.cpp
blufugen/BuildXL
b7f33c72a3c9a8463fc6d656214a5c5dfccac7ad
[ "MIT" ]
null
null
null
Public/src/Sandbox/MacOs/BuildXLSandbox/Src/Kauth/TrustedBsdHandler.cpp
blufugen/BuildXL
b7f33c72a3c9a8463fc6d656214a5c5dfccac7ad
[ "MIT" ]
null
null
null
// // TrustedBsdHandler.cpp // // Copyright © 2018 Microsoft. All rights reserved. // #include "TrustedBsdHandler.hpp" #include "OpNames.hpp" int TrustedBsdHandler::HandleLookup(const char *path) { PolicyResult policyResult = PolicyForPath(path); AccessCheckResult checkResult = policyResult.CheckReadAccess...
31.593023
111
0.67869
blufugen
a9b877861437253e1b573acee3a83ae4784a75fb
1,745
hpp
C++
src/org/apache/poi/ss/formula/SheetNameFormatter.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/formula/SheetNameFormatter.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/formula/SheetNameFormatter.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/ss/formula/SheetNameFormatter.java #pragma once #include <fwd-POI.hpp> #include <java/lang/fwd-POI.hpp> #include <java/util/regex/fwd-POI.hpp> #include <org/apache/poi/ss/formula/fwd-POI.hpp> #include <java/lang/Object.hpp> struct default_init_tag; class poi::ss::formula::...
30.614035
134
0.714613
pebble2015
a9b8f12283b6c49465c6aaa36c89acd50148f3b0
8,135
cc
C++
wrspice/src/cp/backq.cc
wrcad/xictools
f46ba6d42801426739cc8b2940a809b74f1641e2
[ "Apache-2.0" ]
73
2017-10-26T12:40:24.000Z
2022-03-02T16:59:43.000Z
wrspice/src/cp/backq.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
12
2017-11-01T10:18:22.000Z
2022-03-20T19:35:36.000Z
wrspice/src/cp/backq.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
34
2017-10-06T17:04:21.000Z
2022-02-18T16:22:03.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
34.914163
77
0.440688
wrcad
a9c0133b9f104104cb5810785435ad255377e0cf
1,284
hpp
C++
include/cpp/reproc/error.hpp
jetm/reproc
8289864d73172fba063078549b6e37369c6ecae7
[ "MIT" ]
1
2020-01-13T12:52:19.000Z
2020-01-13T12:52:19.000Z
include/cpp/reproc/error.hpp
jetm/reproc
8289864d73172fba063078549b6e37369c6ecae7
[ "MIT" ]
null
null
null
include/cpp/reproc/error.hpp
jetm/reproc
8289864d73172fba063078549b6e37369c6ecae7
[ "MIT" ]
null
null
null
/*! \file error.hpp */ #ifndef REPROC_ERROR_HPP #define REPROC_ERROR_HPP #include "export.hpp" #include <system_error> /*! \namespace reproc */ namespace reproc { /*! \see REPROC_ERROR */ // When editing make sure to change the corresponding enum in error.h as well. enum class errc { // reproc errors /*! #REP...
19.454545
78
0.713396
jetm
a9c1cbb631d3b337281c74fa3054015f79e45fdc
2,500
cpp
C++
StockCommission/StockCommission.cpp
wof8317/StockCommission
cd1bad666a3f64132d1a10da9ee5b8ea5e19d48e
[ "WTFPL" ]
1
2021-09-16T23:44:04.000Z
2021-09-16T23:44:04.000Z
StockCommission/StockCommission.cpp
wof8317/StockCommission
cd1bad666a3f64132d1a10da9ee5b8ea5e19d48e
[ "WTFPL" ]
null
null
null
StockCommission/StockCommission.cpp
wof8317/StockCommission
cd1bad666a3f64132d1a10da9ee5b8ea5e19d48e
[ "WTFPL" ]
null
null
null
#include <iostream> #include <iomanip> using namespace std; int main() { double stockShares = 200; //Total stock shares double sharePrice = 21.77; //Share Price double brokerPercentage = 2; //Brokerage percentage double totalStockPrice = stockShares * sharePrice; //Total Stock price calculation double brokerCommi...
58.139535
148
0.6288
wof8317
a9c3814409cd06cf64948a035e7e27ed364d05b4
6,199
cpp
C++
streets_utils/streets_api/intersection_client_api/OAIIntersection_info.cpp
arseniy-sonar/carma-streets
394fc3609d417d92180c6b6c88e57d2edda9f854
[ "Apache-2.0" ]
3
2021-09-04T16:25:47.000Z
2022-03-09T20:24:30.000Z
streets_utils/streets_api/intersection_client_api/OAIIntersection_info.cpp
arseniy-sonar/carma-streets
394fc3609d417d92180c6b6c88e57d2edda9f854
[ "Apache-2.0" ]
85
2021-07-07T16:58:46.000Z
2022-03-31T15:35:26.000Z
streets_utils/streets_api/intersection_client_api/OAIIntersection_info.cpp
arseniy-sonar/carma-streets
394fc3609d417d92180c6b6c88e57d2edda9f854
[ "Apache-2.0" ]
4
2021-05-20T23:12:03.000Z
2021-09-08T15:33:42.000Z
/** * Intersection Model API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech ...
28.049774
117
0.71447
arseniy-sonar
a9cf13ee2272c8935d174539f8fb3bfa94d8e657
5,064
cpp
C++
src/components/src/core/attack/KeyboardMeleeAttackComponentTest.cpp
walter-strazak/chimarrao
b4c9f9d726eb5e46d61b33e10b7579cc5512cd09
[ "MIT" ]
null
null
null
src/components/src/core/attack/KeyboardMeleeAttackComponentTest.cpp
walter-strazak/chimarrao
b4c9f9d726eb5e46d61b33e10b7579cc5512cd09
[ "MIT" ]
null
null
null
src/components/src/core/attack/KeyboardMeleeAttackComponentTest.cpp
walter-strazak/chimarrao
b4c9f9d726eb5e46d61b33e10b7579cc5512cd09
[ "MIT" ]
null
null
null
#include "KeyboardMeleeAttackComponent.h" #include "gtest/gtest.h" #include "AnimatorMock.h" #include "FriendlyFireValidatorMock.h" #include "InputMock.h" #include "RayCastMock.h" #include "RendererPoolMock.h" #include "exceptions/DependentComponentNotFound.h" using namespace ::testing; using namespace components::...
45.621622
152
0.7656
walter-strazak
a9dc791f2ff6d477391fe1e44f17828fd4c659c6
5,487
cpp
C++
libs/log/example/doc/extension_stat_collector.cpp
HelloSunyi/boost_1_54_0
429fea793612f973d4b7a0e69c5af8156ae2b56e
[ "BSL-1.0" ]
7
2015-03-03T15:45:12.000Z
2021-04-25T03:37:17.000Z
libs/log/example/doc/extension_stat_collector.cpp
graehl/boost
37cc4ca77896a86ad10e90dc03e1e825dc0d5492
[ "BSL-1.0" ]
1
2015-09-05T12:23:01.000Z
2015-09-05T12:23:01.000Z
libs/log/example/doc/extension_stat_collector.cpp
graehl/boost
37cc4ca77896a86ad10e90dc03e1e825dc0d5492
[ "BSL-1.0" ]
2
2018-06-21T15:08:14.000Z
2021-04-25T03:37:22.000Z
/* * Copyright Andrey Semashev 2007 - 2013. * 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 <string> #include <fstream> #include <iostream> #include <stdexcept> #include <boost...
31.901163
194
0.69692
HelloSunyi
a9ddbab5bf1fb4deca3be377f9454a1f8cf6d1d9
1,483
cpp
C++
TrackAlgTLD/src/tld/VarianceFilter.cpp
RayanWang/CameraTrackingFramework
1ab2f7289cd000a4baa584bca469744a5486610f
[ "MIT" ]
3
2016-11-05T03:31:48.000Z
2016-12-07T05:57:28.000Z
TrackAlgTLD/src/tld/VarianceFilter.cpp
RayanWang/CameraTrackingFramework
1ab2f7289cd000a4baa584bca469744a5486610f
[ "MIT" ]
null
null
null
TrackAlgTLD/src/tld/VarianceFilter.cpp
RayanWang/CameraTrackingFramework
1ab2f7289cd000a4baa584bca469744a5486610f
[ "MIT" ]
3
2018-11-10T17:19:49.000Z
2020-04-11T16:30:26.000Z
#include "VarianceFilter.h" #include "IntegralImage.h" #include "DetectorCascade.h" using namespace cv; namespace tld { VarianceFilter::VarianceFilter() { enabled = true; minVar = 0; integralImg = NULL; integralImg_squared = NULL; } VarianceFilter::~VarianceFilter() { release(); } void Varianc...
19.513158
119
0.656777
RayanWang
a9deb353db8fc5d30f5b4f7b0b1f3a8963dcec3c
1,440
hpp
C++
code/client/src/sdk/ue/sys/math/utils.hpp
mufty/MafiaMP
2dc0e3362c505079e26e598bd4a7f4b5de7400bc
[ "OpenSSL" ]
16
2021-10-08T17:47:04.000Z
2022-03-28T13:26:37.000Z
code/client/src/sdk/ue/sys/math/utils.hpp
mufty/MafiaMP
2dc0e3362c505079e26e598bd4a7f4b5de7400bc
[ "OpenSSL" ]
4
2022-01-19T08:11:57.000Z
2022-01-29T19:02:24.000Z
code/client/src/sdk/ue/sys/math/utils.hpp
mufty/MafiaMP
2dc0e3362c505079e26e598bd4a7f4b5de7400bc
[ "OpenSSL" ]
4
2021-10-09T11:15:08.000Z
2022-01-27T22:42:26.000Z
#pragma once #include <algorithm> #include <chrono> namespace SDK { namespace ue::sys::math { template <class T> T Lerp(const T &from, const T &to, float fAlpha) { return (T)((to - from) * fAlpha + from); } // Find the relative position of Pos between From and To ...
38.918919
151
0.579167
mufty
a9e1598a57924d76b824131c3f84fe4f6fc8e22e
6,924
inl
C++
Base/PLCore/include/PLCore/Xml/XmlNode.inl
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
83
2015-01-08T15:06:14.000Z
2021-07-20T17:07:00.000Z
Base/PLCore/include/PLCore/Xml/XmlNode.inl
PixelLightFoundation/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
27
2019-06-18T06:46:07.000Z
2020-02-02T11:11:28.000Z
Base/PLCore/include/PLCore/Xml/XmlNode.inl
naetherm/PixelLight
d7666f5b49020334cbb5debbee11030f34cced56
[ "MIT" ]
40
2015-02-25T18:24:34.000Z
2021-03-06T09:01:48.000Z
/*********************************************************\ * File: XmlNode.inl * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
25.362637
106
0.656557
ktotheoz
a9e198693653c41b6af3f15700fb519cbf552555
5,588
cpp
C++
tests/unit/weightedgraph_test.cpp
hyunsukimsokcho/libdai
52c0b51823724f02c7a268e6af6db72dc3324385
[ "BSD-2-Clause" ]
11
2018-01-31T16:14:28.000Z
2021-06-22T03:45:11.000Z
tests/unit/weightedgraph_test.cpp
flurischt/libDAI
20683a222e2ef307209290f79081fe428d9c5050
[ "BSD-2-Clause" ]
1
2019-05-25T08:20:58.000Z
2020-02-17T10:58:55.000Z
tests/unit/weightedgraph_test.cpp
flurischt/libDAI
20683a222e2ef307209290f79081fe428d9c5050
[ "BSD-2-Clause" ]
3
2018-12-13T11:49:22.000Z
2021-12-31T03:19:26.000Z
/* This file is part of libDAI - http://www.libdai.org/ * * Copyright (c) 2006-2011, The libDAI 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 <dai/weightedgraph.h> #include <dai/exceptions.h> #include <strstream>...
25.87037
101
0.549571
hyunsukimsokcho
a9e78ea74bc4acba6164bd009514a281a592a07b
1,149
cpp
C++
src/_leetcode/leet_989.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
src/_leetcode/leet_989.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
src/_leetcode/leet_989.cpp
turesnake/leetPractice
a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b
[ "MIT" ]
null
null
null
/* * ====================== leet_989.cpp ========================== * -- tpr -- * CREATE -- 2020.05.27 * MODIFY -- * ---------------------------------------------------------- * 989. 数组形式的整数加法 */ #include "inn...
20.890909
65
0.369887
turesnake
a9e9f922330e0e1e94d484150355aba412b97d56
60
cpp
C++
libconfig/Config.cpp
qiu708/libconfig
24e79f923c96a5210a1dc5603000d90b56b13318
[ "MIT" ]
null
null
null
libconfig/Config.cpp
qiu708/libconfig
24e79f923c96a5210a1dc5603000d90b56b13318
[ "MIT" ]
null
null
null
libconfig/Config.cpp
qiu708/libconfig
24e79f923c96a5210a1dc5603000d90b56b13318
[ "MIT" ]
null
null
null
// // Created by qiu on 2021/12/20. // #include "Config.h"
10
32
0.6
qiu708
a9f867f9cc8f26e44f516e481f2f1cf203fac7a4
2,915
cpp
C++
WorkScript/Type/FloatType.cpp
jingjiajie/WorkScript
6b80932fcdbae0e915c37bac19d262025234074b
[ "MIT" ]
3
2018-07-23T10:59:00.000Z
2019-04-05T04:57:19.000Z
WorkScript/Type/FloatType.cpp
jingjiajie/WorkScript
6b80932fcdbae0e915c37bac19d262025234074b
[ "MIT" ]
null
null
null
WorkScript/Type/FloatType.cpp
jingjiajie/WorkScript
6b80932fcdbae0e915c37bac19d262025234074b
[ "MIT" ]
1
2019-06-28T05:57:47.000Z
2019-06-28T05:57:47.000Z
#include "Type.h" #include "Function.h" #include "Module.h" #include "Utils.h" #include "FloatType.h" #include "Exception.h" using namespace std; using namespace WorkScript; std::unordered_map<std::wstring, FloatType*> FloatType::types; Finalizer FloatType::staticFinalizer(&FloatType::releaseTypes); FloatType::Float...
25.347826
108
0.726244
jingjiajie
a9fb12b3adb18fd085f45d92ae9eb6fb1bbce2a6
2,820
cpp
C++
src/utilities/QrDefinitions.cpp
jce-caba/gtkQRmm
0a6f46bdbbc30195c2ddf993be43d218dbc2c47a
[ "MIT" ]
1
2022-03-13T14:21:23.000Z
2022-03-13T14:21:23.000Z
src/utilities/QrDefinitions.cpp
jce-caba/gtkQRmm
0a6f46bdbbc30195c2ddf993be43d218dbc2c47a
[ "MIT" ]
null
null
null
src/utilities/QrDefinitions.cpp
jce-caba/gtkQRmm
0a6f46bdbbc30195c2ddf993be43d218dbc2c47a
[ "MIT" ]
null
null
null
#include "QrDefinitions.hpp" using namespace GtkQR; QRDataContainer::QRDataContainer() { correction_level = QRErrorCorrectionLevel ::QR_ERROR_CORRECTION_LEVEL_MEDIUM; isMicro=false; enable_UTF8=true; qrversion_number = QR_NO_VERSION; qrversion = QRVersion::QR_VERSION_NULL; mask = QR_NO_MASK;...
20.735294
105
0.697163
jce-caba
a9ff6b9a7748e61e7aefed30a0a8c592e913db79
891
cpp
C++
STACK/Reverse a string using stack.cpp
snanacha/Coding-questions
18c4b5a23fc3da5c419d2ec69fbf13b7b4ecee0d
[ "MIT" ]
null
null
null
STACK/Reverse a string using stack.cpp
snanacha/Coding-questions
18c4b5a23fc3da5c419d2ec69fbf13b7b4ecee0d
[ "MIT" ]
1
2021-03-30T14:00:56.000Z
2021-03-30T14:00:56.000Z
STACK/Reverse a string using stack.cpp
snanacha/Coding-questions
18c4b5a23fc3da5c419d2ec69fbf13b7b4ecee0d
[ "MIT" ]
null
null
null
/* Reverse a string using Stack ---------------------------- Easy Accuracy: 54.33% Submissions: 27645 Points: 2 You are given a string S, the task is to reverse the string using stack. Example 1: Input: S="GeeksforGeeks" Output: skeeGrofskeeG Your Task: You don't need to read input or print anything. Y...
21.214286
127
0.590348
snanacha
e7001d3cbe9d9c9a755e7c74634c4bccdd3eef33
726
cpp
C++
arm9/source/lz77.cpp
RocketRobz/RocketVideoPlayer
be4a671078dbad2f4e7224418a8ee21e5b0fca86
[ "MIT" ]
20
2019-05-20T16:40:30.000Z
2022-02-21T09:35:41.000Z
arm9/source/lz77.cpp
RocketRobz/RocketVideoPlayer
be4a671078dbad2f4e7224418a8ee21e5b0fca86
[ "MIT" ]
1
2020-11-21T22:54:23.000Z
2020-11-21T23:21:26.000Z
arm9/source/lz77.cpp
RocketRobz/RocketVideoPlayer
be4a671078dbad2f4e7224418a8ee21e5b0fca86
[ "MIT" ]
2
2019-09-02T02:16:32.000Z
2019-09-06T14:01:52.000Z
#include <nds.h> #include "tonccpy.h" #define __itcm __attribute__((section(".itcm"))) void __itcm lzssDecompress(u8* source, u8* destination) { u32 leng = (source[1] | (source[2] << 8) | (source[3] << 16)); int Offs = 4; int dstoffs = 0; while (true) { u8 header = source[Offs++]; for (int i = 0; i < 8; i++)...
21.352941
69
0.528926
RocketRobz
e70a6facbf9bd6f8f86c7ebac1a7667ba4081c16
4,377
hpp
C++
Common_3/ThirdParty/OpenSource/ModifiedSonyMath/sse/vecidx.hpp
RemiArnaud/The-Forge
70f5f4b544831ea3a51de2ad4a7f341fb1b971c5
[ "Apache-2.0" ]
29
2019-02-17T08:17:41.000Z
2022-03-06T17:46:55.000Z
Common_3/ThirdParty/OpenSource/ModifiedSonyMath/sse/vecidx.hpp
guillaumeblanc/The-Forge
0df6d608ed7ec556f17b91a749e2f19d75973dc9
[ "Apache-2.0" ]
1
2019-06-11T08:35:32.000Z
2019-06-11T08:35:32.000Z
Common_3/ThirdParty/OpenSource/ModifiedSonyMath/sse/vecidx.hpp
guillaumeblanc/The-Forge
0df6d608ed7ec556f17b91a749e2f19d75973dc9
[ "Apache-2.0" ]
6
2019-05-06T07:54:58.000Z
2021-09-29T00:25:11.000Z
/* Copyright (C) 2006, 2007 Sony Computer Entertainment 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: * Redistributions of source code must retain the above copyright noti...
36.475
121
0.673749
RemiArnaud
e70c2ef5786889df55c9b27b07c30810347deedd
9,832
cpp
C++
src/vulkan/VulkanContext.cpp
choiip/fui
dc54b2d29c423a5b257dd7d812e5d5f52a10ba8a
[ "Zlib" ]
null
null
null
src/vulkan/VulkanContext.cpp
choiip/fui
dc54b2d29c423a5b257dd7d812e5d5f52a10ba8a
[ "Zlib" ]
null
null
null
src/vulkan/VulkanContext.cpp
choiip/fui
dc54b2d29c423a5b257dd7d812e5d5f52a10ba8a
[ "Zlib" ]
null
null
null
#include "vulkan/VulkanContext.hpp" #include "vku.hpp" #define NANOVG_VULKAN_IMPLEMENTATION #include "nanovg_vk.h" #include "core/Log.hpp" #include "core/MathDef.hpp" #include "core/Status.hpp" namespace fui { struct VulkanContext::Private { std::shared_ptr<vk::UniqueInstance> instance; vk::SurfaceKHR surface; ...
37.96139
117
0.710537
choiip
e70c2f82e1106fd4437a6d6209dacdba5d81c43f
8,463
cc
C++
biosig4octmat-3.2.0/biosig/maybe-missing/regexprep.cc
TianGL/CNN-MI-BCI
788493ffc954df153cd928d84090d9625ff357d4
[ "MIT" ]
41
2018-10-30T07:40:11.000Z
2022-02-25T13:37:40.000Z
biosig4octmat-3.2.0/biosig/maybe-missing/regexprep.cc
TianGL/CNN-SAE-MI-BCI-
788493ffc954df153cd928d84090d9625ff357d4
[ "MIT" ]
2
2018-11-30T17:47:07.000Z
2022-02-22T22:45:17.000Z
biosig4octmat-2.90/biosig/maybe-missing/regexprep.cc
wilkesk/cSPider
89db77e3f534decc37b01d47dff37f576f4725a1
[ "BSD-2-Clause" ]
13
2018-12-18T13:54:01.000Z
2022-03-08T13:03:28.000Z
// This code is public domain. // Author: Paul Kienzle #ifdef HAVE_CONFIG_H # include <config.h> #else # include <octave/config.h> #endif #include "defun-dld.h" #include "error.h" #include "parse.h" #include "quit.h" #include "Cell.h" DEFUN_DLD(regexprep,args,nargout,"\ -*- texinfo -*-\n\ @deftypefn {Function File} ...
28.785714
109
0.581827
TianGL
e714bdb1b5f51ce212a87506c8a3fefea6ceb4ae
1,129
cpp
C++
DOJ/#699.cpp
Nickel-Angel/ACM-and-OI
79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9
[ "MIT" ]
null
null
null
DOJ/#699.cpp
Nickel-Angel/ACM-and-OI
79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9
[ "MIT" ]
1
2021-11-18T15:10:29.000Z
2021-11-20T07:13:31.000Z
DOJ/#699.cpp
Nickel-Angel/ACM-and-OI
79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9
[ "MIT" ]
null
null
null
/* * @author Nickel_Angel (1239004072@qq.com) * @copyright Copyright (c) 2022 */ #include <algorithm> #include <cstdio> #include <cstring> const int maxn = 1e6 + 10; int n, a[maxn]; class BIT { private: int v[maxn], bound; inline int lowbit(int x) { return x & -x; } public: inline v...
16.602941
53
0.457927
Nickel-Angel
e71577990644b7ee9ca979e097096d87022d85f4
4,365
cpp
C++
Examples/PBD/PBDDeformableObject/PBD3DDeformableObject.cpp
quantingxie/vibe
965a79089ac3ec821ad65c45ac50e69bf32dc92f
[ "Apache-2.0" ]
2
2020-08-14T07:21:30.000Z
2021-08-30T09:39:09.000Z
Examples/PBD/PBDDeformableObject/PBD3DDeformableObject.cpp
quantingxie/vibe
965a79089ac3ec821ad65c45ac50e69bf32dc92f
[ "Apache-2.0" ]
null
null
null
Examples/PBD/PBDDeformableObject/PBD3DDeformableObject.cpp
quantingxie/vibe
965a79089ac3ec821ad65c45ac50e69bf32dc92f
[ "Apache-2.0" ]
1
2020-08-14T07:00:31.000Z
2020-08-14T07:00:31.000Z
/*========================================================================= Library: iMSTK Copyright (c) Kitware, Inc. & Center for Modeling, Simulation, & Imaging in Medicine, Rensselaer Polytechnic Institute. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file e...
38.628319
140
0.705155
quantingxie
e71641642715a9a22f578b6d93a04bc9bc1280e4
8,458
cpp
C++
QuoteVerification/QVL/Src/AttestationLibrary/test/UnitTests/EnclaveIdentityParserUT.cpp
fqiu1/SGXDataCenterAttestationPrimitives
19483cca7b924f89ecfdb89e675d34d6a6d4b9dd
[ "BSD-3-Clause" ]
null
null
null
QuoteVerification/QVL/Src/AttestationLibrary/test/UnitTests/EnclaveIdentityParserUT.cpp
fqiu1/SGXDataCenterAttestationPrimitives
19483cca7b924f89ecfdb89e675d34d6a6d4b9dd
[ "BSD-3-Clause" ]
null
null
null
QuoteVerification/QVL/Src/AttestationLibrary/test/UnitTests/EnclaveIdentityParserUT.cpp
fqiu1/SGXDataCenterAttestationPrimitives
19483cca7b924f89ecfdb89e675d34d6a6d4b9dd
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2011-2020 Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this li...
30.868613
101
0.72594
fqiu1
e71aba9f8bab732ff313e39ab5ad7e5b11169912
3,128
cpp
C++
src/core/errfloat.cpp
zq317157782/raiden
09376a9499f8b86e86c3049b4e654957cb4dc29e
[ "BSD-2-Clause" ]
21
2016-12-14T09:46:27.000Z
2021-12-28T10:05:04.000Z
src/core/errfloat.cpp
zq317157782/raiden
09376a9499f8b86e86c3049b4e654957cb4dc29e
[ "BSD-2-Clause" ]
2
2016-12-02T07:47:14.000Z
2018-01-30T18:11:09.000Z
src/core/errfloat.cpp
zq317157782/raiden
09376a9499f8b86e86c3049b4e654957cb4dc29e
[ "BSD-2-Clause" ]
null
null
null
/* * errfloat.cpp * * Created on: 2016年11月15日 * Author: zhuqian */ #include "errfloat.h" #include "mmath.h" EFloat::EFloat(float v, float err) : _value(v) { Assert(!std::isnan(v)); Assert(!std::isnan(err)); if (err == 0.0f) { _low = _high = v; } else { //这里调用NextFloatUp和NextFloatDown是为了做保守的边界 _...
24.061538
74
0.691176
zq317157782
e71c1cc68f3ca93d3f5b0f0f3751f4ddd64da9b8
2,048
hpp
C++
src/utils/argvec.hpp
Thanduriel/func-renderer
99582272d8e34cb6e2f6bc9735c8eba5076bb29c
[ "MIT" ]
1
2019-01-27T17:54:45.000Z
2019-01-27T17:54:45.000Z
src/utils/argvec.hpp
Thanduriel/func-renderer
99582272d8e34cb6e2f6bc9735c8eba5076bb29c
[ "MIT" ]
null
null
null
src/utils/argvec.hpp
Thanduriel/func-renderer
99582272d8e34cb6e2f6bc9735c8eba5076bb29c
[ "MIT" ]
null
null
null
#pragma once #include "glm.hpp" namespace Math{ /* Vector with template specified dimension. * For operations on vectors use glm::vec */ template<typename _ValT, int _D> struct Component { _ValT data[_D]; }; // specializations for named access of the first 3 dimensions template<typename _ValT> struc...
21.333333
93
0.625
Thanduriel
e71d768557ac348bb29d36f057abba6652af6877
1,299
cpp
C++
C++/Stack/421 Simplify Path.cpp
MuteMeteor/LintCode
8c73aa71fbd70409b9fc636a13a3fd6c4a387f62
[ "MIT" ]
null
null
null
C++/Stack/421 Simplify Path.cpp
MuteMeteor/LintCode
8c73aa71fbd70409b9fc636a13a3fd6c4a387f62
[ "MIT" ]
null
null
null
C++/Stack/421 Simplify Path.cpp
MuteMeteor/LintCode
8c73aa71fbd70409b9fc636a13a3fd6c4a387f62
[ "MIT" ]
null
null
null
/* Given an absolute path for a file (Unix-style), simplify it. Example "/home/", => "/home" "/a/./b/../../c/", => "/c" Challenge Did you consider the case where path = "/../"? In this case, you should return "/". Another corner case is the path might contain multiple slashes '/' together, such as "/home//foo...
25.98
100
0.470362
MuteMeteor
e729f8341e231d6e07305b516881ce334028c83c
5,431
cpp
C++
src/core/formula.cpp
Jetpie/OpenLinear
c501ab26bd53bcfd781d0aae22bb75392629000f
[ "BSD-2-Clause" ]
3
2015-04-07T12:37:50.000Z
2015-07-02T01:38:30.000Z
src/core/formula.cpp
Jetpie/OpenLinear
c501ab26bd53bcfd781d0aae22bb75392629000f
[ "BSD-2-Clause" ]
null
null
null
src/core/formula.cpp
Jetpie/OpenLinear
c501ab26bd53bcfd781d0aae22bb75392629000f
[ "BSD-2-Clause" ]
null
null
null
// Problem formulations // // Naming Convention: // 1.solver classes are named by all capital letter denote type and a // "Solver" prefix separated by underscore. // 2.some math notation like w^t by x will be denoted as wTx, // which big T means transpose. For the same style, other name // convention can be deduc...
28.584211
105
0.558829
Jetpie
e73058b8cd3a4db02c4a4933d85a04c56cc58f80
6,017
cpp
C++
Online Judges/Toph/J. Smart Feature Phone - 2.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
Online Judges/Toph/J. Smart Feature Phone - 2.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
Online Judges/Toph/J. Smart Feature Phone - 2.cpp
akazad13/competitive-programming
5cbb67d43ad8d5817459043bcccac3f68d9bc688
[ "MIT" ]
null
null
null
#include<iostream> #include<bits/stdc++.h> using namespace std; #define rep(i,p,n) for( i = p; i<n;i++) #define ll long long int #define pb push_back #define VI vector<int> #define VL vector<long long int> #define VD vector<double> #define pi pair<int,int> #define mp(a,b) make_pair(a,b) #define eps 1e-9 #define PI ...
22.040293
430
0.414492
akazad13
e7323fe3658eb1d900cb28be8435b97fc523aad1
325
hxx
C++
src/copy.hxx
puzzlef/pagerank-monolithic-vs-levelwise
f0402ce161e43d403919f8804b0752c5781778b8
[ "MIT" ]
null
null
null
src/copy.hxx
puzzlef/pagerank-monolithic-vs-levelwise
f0402ce161e43d403919f8804b0752c5781778b8
[ "MIT" ]
null
null
null
src/copy.hxx
puzzlef/pagerank-monolithic-vs-levelwise
f0402ce161e43d403919f8804b0752c5781778b8
[ "MIT" ]
null
null
null
#pragma once template <class H, class G> void copy(H& a, const G& x) { for (int u : x.vertices()) a.addVertex(u, x.vertexData(u)); for (int u : x.vertices()) { for (int v : x.edges(u)) a.addEdge(u, v, x.edgeData(u, v)); } } template <class G> auto copy(const G& x) { G a; copy(a, x); return ...
15.47619
40
0.556923
puzzlef
e7332dc50cb9f2f686f40329593a8f1d5d09c6b5
1,625
cpp
C++
src/main/cpp/subsystems/Turret.cpp
ZairaV4/Rapid-React
7eb2cfee3849ffdc1dec62aa6da986c9ceb6aaac
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/subsystems/Turret.cpp
ZairaV4/Rapid-React
7eb2cfee3849ffdc1dec62aa6da986c9ceb6aaac
[ "BSD-3-Clause" ]
null
null
null
src/main/cpp/subsystems/Turret.cpp
ZairaV4/Rapid-React
7eb2cfee3849ffdc1dec62aa6da986c9ceb6aaac
[ "BSD-3-Clause" ]
null
null
null
#include "subsystems/Turret.h" #include "Constants.h" #include "frc/smartdashboard/Smartdashboard.h" #include "networktables/NetworkTable.h" #include "networktables/NetworkTableInstance.h" #include "networktables/NetworkTableEntry.h" #include "networktables/NetworkTableValue.h" #include "wpi/span.h" using namespace f...
22.569444
101
0.738462
ZairaV4
e73657ba950bf255ff3e10060dde68d9afe78a20
2,189
cpp
C++
Engine/src/Engine/Core/Application.cpp
CodePYJ/Engine
d1d481581eb6373ddf0935f11f62842c0781aafd
[ "Apache-2.0" ]
null
null
null
Engine/src/Engine/Core/Application.cpp
CodePYJ/Engine
d1d481581eb6373ddf0935f11f62842c0781aafd
[ "Apache-2.0" ]
null
null
null
Engine/src/Engine/Core/Application.cpp
CodePYJ/Engine
d1d481581eb6373ddf0935f11f62842c0781aafd
[ "Apache-2.0" ]
null
null
null
#include "Application.h" #include "Engine/Renderer/Renderer.h" #include <GLFW/glfw3.h> #include <glad/glad.h> namespace EE { Application* Application::s_app = nullptr; Application::Application() { m_Window = std::unique_ptr<Window>(Window::Create(1600, 900)); m_Window->SetEventCallbackFun(std::bind(&Applicat...
21.048077
111
0.686158
CodePYJ
e73a0aaac98a626500254efdfc57da5c6002f425
3,290
hpp
C++
include/Pyramid.hpp
SudoCpp/Pyramid
97180840f05bab5f76dd183e09e93218579d7a80
[ "BSD-3-Clause" ]
null
null
null
include/Pyramid.hpp
SudoCpp/Pyramid
97180840f05bab5f76dd183e09e93218579d7a80
[ "BSD-3-Clause" ]
null
null
null
include/Pyramid.hpp
SudoCpp/Pyramid
97180840f05bab5f76dd183e09e93218579d7a80
[ "BSD-3-Clause" ]
null
null
null
/* BSD 3-Clause License Copyright (c) 2022, SudoCpp 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,...
36.153846
82
0.71307
SudoCpp
e73bc683da3d4d41a3f3b6f29634e01c07905989
1,324
cpp
C++
ParticleEngine/ParticleForceRegistry.cpp
bernhardrieder/Particle-Engine
ea5885f2ee2446426b6ae93ce687802ef922fb29
[ "Unlicense" ]
null
null
null
ParticleEngine/ParticleForceRegistry.cpp
bernhardrieder/Particle-Engine
ea5885f2ee2446426b6ae93ce687802ef922fb29
[ "Unlicense" ]
null
null
null
ParticleEngine/ParticleForceRegistry.cpp
bernhardrieder/Particle-Engine
ea5885f2ee2446426b6ae93ce687802ef922fb29
[ "Unlicense" ]
2
2019-05-09T05:27:18.000Z
2020-02-11T18:04:56.000Z
#include "pch.h" #include "ParticleForceRegistry.h" ParticleForceRegistry::ParticleForceRegistry() { } ParticleForceRegistry::~ParticleForceRegistry() { } void ParticleForceRegistry::Add(Particle* particle, ParticleForceGenerator* forceGenerator) { ParticleForceRegistration registration; registration.Particle = ...
22.827586
114
0.761329
bernhardrieder
e73be63b5db357a85cf7f19520727ac5d50dff16
847
cpp
C++
Strings/reverse_words.cpp
khushisinha20/Data-Structures-and-Algorithms
114d365d03f7ba7175eefeace281972820a7fc76
[ "Apache-2.0" ]
null
null
null
Strings/reverse_words.cpp
khushisinha20/Data-Structures-and-Algorithms
114d365d03f7ba7175eefeace281972820a7fc76
[ "Apache-2.0" ]
null
null
null
Strings/reverse_words.cpp
khushisinha20/Data-Structures-and-Algorithms
114d365d03f7ba7175eefeace281972820a7fc76
[ "Apache-2.0" ]
null
null
null
//leetcode.com/problems/reverse-words-in-a-string/ #include <bits/stdc++.h> using namespace std; class Solution { public: string reverseWords(string s) { string reverse_order_words = ""; int i = 0; int n = s.length(); while (i < n) { while (i < n && s[i] == ' '...
24.911765
71
0.399055
khushisinha20
e741113c455830abce4a05b912e7c3ad295ea415
1,997
cpp
C++
src/Engine.cpp
Spooky309/Minecrap
bf30839bf4a80bf71340e7cf1af1f952599329de
[ "MIT" ]
1
2020-01-02T23:45:00.000Z
2020-01-02T23:45:00.000Z
src/Engine.cpp
Spooky309/Minecrap
bf30839bf4a80bf71340e7cf1af1f952599329de
[ "MIT" ]
null
null
null
src/Engine.cpp
Spooky309/Minecrap
bf30839bf4a80bf71340e7cf1af1f952599329de
[ "MIT" ]
null
null
null
#include "Engine.h" #include "SpriteElement2D.h" #include "FileSystem.h" #include "FontManager.h" #include "TextElement2D.h" #include <iostream> // PERFORMANCE IMPROVEMENTS TO MAKE: // 1. Broadphase on vs. AABB Tests // 2. Keep a list of active AABBs to avoid needless testing against AABB::alive Engine::Engine() : ...
35.660714
151
0.662494
Spooky309