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
8dbe916fc40b349ef0f3c4e66083fd9aec4ec247
273
hpp
C++
include/raijin_complex.hpp
codedivine/raijinclv2
e4c50b757e3fe6d1fa5d09c135f1156b31c08fab
[ "Apache-2.0" ]
null
null
null
include/raijin_complex.hpp
codedivine/raijinclv2
e4c50b757e3fe6d1fa5d09c135f1156b31c08fab
[ "Apache-2.0" ]
null
null
null
include/raijin_complex.hpp
codedivine/raijinclv2
e4c50b757e3fe6d1fa5d09c135f1156b31c08fab
[ "Apache-2.0" ]
null
null
null
#ifndef _RAIJIN_COMPLEX_H #define _RAIJIN_COMPLEX_H #include "raijin.hpp" namespace RaijinCL{ typedef RaijinGemm<cl_double2> RaijinZgemm; typedef RaijinGemm<cl_float2> RaijinCgemm; void raijinTuneZgemm(cl_device_id dvc); void raijinTuneCgemm(cl_device_id dvc); } #endif
19.5
43
0.831502
codedivine
8dc4c84ae0f0e084a5d370b9dc0270eae74eb025
2,440
hpp
C++
android_mk_unifier/nom/src/semantics.hpp
bianchui/CppBuildUnifier
f704b284cdbaa927ac0f3861d3ca8f27cdd78ae5
[ "MIT" ]
null
null
null
android_mk_unifier/nom/src/semantics.hpp
bianchui/CppBuildUnifier
f704b284cdbaa927ac0f3861d3ca8f27cdd78ae5
[ "MIT" ]
null
null
null
android_mk_unifier/nom/src/semantics.hpp
bianchui/CppBuildUnifier
f704b284cdbaa927ac0f3861d3ca8f27cdd78ae5
[ "MIT" ]
null
null
null
#ifndef MAKEFILESEMANTISDC_H_WUAST #define MAKEFILESEMANTISDC_H_WUAST #include "parser.hpp" #include <string> #include <vector> #include <stdexcept> #include <memory> #include <map> #include <set> #include <iostream> class VString : public std::string { public: VString() : std::string() {} VStri...
19.212598
80
0.648361
bianchui
44f0905a87bc7eafb7cfe4b2e40b73ab203906cb
11,698
cpp
C++
libs/full/thread_executors/src/thread_pool_os_executors.cpp
sudo-panda/hpx
1527f3ba8055f795f701ddf89368f4a24199f79e
[ "BSL-1.0" ]
1
2021-02-03T09:17:55.000Z
2021-02-03T09:17:55.000Z
libs/full/thread_executors/src/thread_pool_os_executors.cpp
sudo-panda/hpx
1527f3ba8055f795f701ddf89368f4a24199f79e
[ "BSL-1.0" ]
null
null
null
libs/full/thread_executors/src/thread_pool_os_executors.cpp
sudo-panda/hpx
1527f3ba8055f795f701ddf89368f4a24199f79e
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2017 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // 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 <hpx/config.hpp> #if defined(HPX_HAVE_THREAD_POOL_OS_EXECUTOR_COMPATIBI...
37.373802
80
0.640109
sudo-panda
44f14beb937bc7edc9d4d73aca57651f82c69872
7,752
cpp
C++
gbEmu/src/MMU.cpp
Mesiow/gbEmu
fe73b1a919517a34d30dd7a439efffbe68d8644a
[ "MIT" ]
2
2021-04-27T00:54:47.000Z
2021-06-07T13:41:25.000Z
gbEmu/src/MMU.cpp
Mesiow/gbEmu
fe73b1a919517a34d30dd7a439efffbe68d8644a
[ "MIT" ]
null
null
null
gbEmu/src/MMU.cpp
Mesiow/gbEmu
fe73b1a919517a34d30dd7a439efffbe68d8644a
[ "MIT" ]
null
null
null
#include "../include/MMU.h" #include "../include/Cartridge.h" #include "../include/Joypad.h" namespace gbEmu { MMU::MMU() { cart = nullptr; std::memset(memory, 0x00, MAX_MEM); std::memset(bootrom, 0x0, 0x100); } void MMU::loadBios(const std::string& file) { std::ifstream rom(file, std::ios::binary | std...
22.733138
76
0.626419
Mesiow
44f4a8c4477adddef58e06f6515531aa0b867745
8,451
cpp
C++
src/Calculator/Views/TitleBar.xaml.cpp
timlassiter11/calculator
c55797c93345f562b4ce03b689f79852b898eba4
[ "MIT" ]
2
2020-02-10T13:55:17.000Z
2020-02-10T13:55:19.000Z
src/Calculator/Views/TitleBar.xaml.cpp
RA1NN1AR/calculator
582e10faed005c3123528ddcff947ed616721ac1
[ "MIT" ]
14
2020-03-12T21:58:52.000Z
2020-05-04T01:57:56.000Z
src/Calculator/Views/TitleBar.xaml.cpp
RA1NN1AR/calculator
582e10faed005c3123528ddcff947ed616721ac1
[ "MIT" ]
1
2020-04-21T14:33:22.000Z
2020-04-21T14:33:22.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pch.h" #include "TitleBar.xaml.h" #include "CalcViewModel/Common/AppResourceProvider.h" #include "CalcViewModel/Common/Utils.h" using namespace std; using namespace Platform; using namespace Windows::ApplicationM...
45.435484
159
0.694592
timlassiter11
44f4c167c5715376543c35e476102ae0c9f312c7
8,968
hpp
C++
include/lib/Engine/Core/ThreadPool.hpp
edisonlee0212/UniEngine
62278ae811235179e6a1c24eb35acf73e400fe28
[ "BSD-3-Clause" ]
22
2020-05-18T02:37:09.000Z
2022-03-13T18:44:30.000Z
include/lib/Engine/Core/ThreadPool.hpp
edisonlee0212/UniEngine
62278ae811235179e6a1c24eb35acf73e400fe28
[ "BSD-3-Clause" ]
null
null
null
include/lib/Engine/Core/ThreadPool.hpp
edisonlee0212/UniEngine
62278ae811235179e6a1c24eb35acf73e400fe28
[ "BSD-3-Clause" ]
3
2020-12-21T01:21:03.000Z
2021-09-06T08:07:41.000Z
#pragma once namespace UniEngine { namespace detail { template <typename T> class ThreadQueue { public: bool push(T const &value) { std::unique_lock<std::mutex> lock(this->mutex); this->q.push(value); return true; } // deletes the retrieved element, do not use for non integral ...
35.03125
120
0.543934
edisonlee0212
44f6887e7b2582aec742ed9633b55e5486b65079
3,629
hh
C++
include/introvirt/windows/pe/types/IMAGE_OPTIONAL_HEADER.hh
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
23
2021-02-17T16:58:52.000Z
2022-02-12T17:01:06.000Z
include/introvirt/windows/pe/types/IMAGE_OPTIONAL_HEADER.hh
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
1
2021-04-01T22:41:32.000Z
2021-09-24T14:14:17.000Z
include/introvirt/windows/pe/types/IMAGE_OPTIONAL_HEADER.hh
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
4
2021-02-17T16:53:18.000Z
2021-04-13T16:51:10.000Z
/* * Copyright 2021 Assured Information Security, 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 a...
38.2
100
0.709837
IntroVirt
44f769f32a6c291bd823094e9d83fe4b2be65522
2,380
cpp
C++
ctfs/ctf3/src/ctf3.cpp
joeferg425/RECTFDEMOS
0d8ff9f6e17d7d201719dc129a866ee2d0af8915
[ "MIT" ]
null
null
null
ctfs/ctf3/src/ctf3.cpp
joeferg425/RECTFDEMOS
0d8ff9f6e17d7d201719dc129a866ee2d0af8915
[ "MIT" ]
null
null
null
ctfs/ctf3/src/ctf3.cpp
joeferg425/RECTFDEMOS
0d8ff9f6e17d7d201719dc129a866ee2d0af8915
[ "MIT" ]
null
null
null
/* Obfuscated password Clear-text flag pass: G0ld1 flag: Unobtanium9000 */ #include <stdio.h> #include <string.h> #include "get_input.hpp" #include "char2int_scaled.hpp" using namespace std; #define BUFSIZE 512 #define CTFNUM 3 #define OBFUSCATION_MULTIPLIER 2 // #define DEBUG_PASSWORD 1 int main(int argc, char *...
28.333333
95
0.611765
joeferg425
44fa27d202e896e4f244b68779abbe99133b908d
279
cpp
C++
2020 Leetcode Challenges/05 May Leetcode Challenge 2020/09 validPerfectSquare.cpp
FazeelUsmani/Leetcode
aff4c119178f132c28a39506ffaa75606e0a861b
[ "MIT" ]
7
2020-12-01T14:27:57.000Z
2022-02-12T09:17:22.000Z
2020 Leetcode Challenges/05 May Leetcode Challenge 2020/09 validPerfectSquare.cpp
FazeelUsmani/Leetcode
aff4c119178f132c28a39506ffaa75606e0a861b
[ "MIT" ]
4
2020-11-12T17:49:22.000Z
2021-09-06T07:46:37.000Z
2020 Leetcode Challenges/05 May Leetcode Challenge 2020/09 validPerfectSquare.cpp
FazeelUsmani/Leetcode
aff4c119178f132c28a39506ffaa75606e0a861b
[ "MIT" ]
6
2021-05-21T03:49:22.000Z
2022-01-20T20:36:53.000Z
class Solution { public: bool isPerfectSquare(int num) { for (unsigned int i = 1; i * i <= num; i++){ if ((num%i==0) && ((num/i) == i)){ return true; } } return false; } };
19.928571
52
0.354839
FazeelUsmani
44ff7e50252c21a0331bac8f9254cdee2cd08f38
351
cpp
C++
logicac++/utilizando if_else/condicao.cpp
Bortolosso/Logica-C
60480a2b44f662cd979252fc519aa0ac6c1ed4a3
[ "Apache-2.0" ]
1
2021-03-05T18:18:30.000Z
2021-03-05T18:18:30.000Z
logicac++/utilizando if_else/condicao.cpp
Bortolosso/logica-c
60480a2b44f662cd979252fc519aa0ac6c1ed4a3
[ "Apache-2.0" ]
null
null
null
logicac++/utilizando if_else/condicao.cpp
Bortolosso/logica-c
60480a2b44f662cd979252fc519aa0ac6c1ed4a3
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { float tp, sdo; cout << "\n Qual a quantidade de titulos protestado:\n"; cin >> tp; cout << "\n Qual o seu saldo:\n"; cin >> sdo; if(!((tp!=0) || (sdo<0))) cout << "\n Voce ganhou o seu cartao de credito!"; else cout << "\n Voce nao ganhou o cartao...
25.071429
69
0.589744
Bortolosso
78007a595c8de4cf00c86309a0c0d2808d222ccb
14,539
inl
C++
include/ShaderWriter/VecTypes/Swizzle.inl
Praetonus/ShaderWriter
1c5b3961e3e1b91cb7158406998519853a4add07
[ "MIT" ]
148
2018-10-11T16:51:37.000Z
2022-03-26T13:55:08.000Z
include/ShaderWriter/VecTypes/Swizzle.inl
Praetonus/ShaderWriter
1c5b3961e3e1b91cb7158406998519853a4add07
[ "MIT" ]
30
2019-11-30T11:43:07.000Z
2022-01-25T21:09:47.000Z
include/ShaderWriter/VecTypes/Swizzle.inl
Praetonus/ShaderWriter
1c5b3961e3e1b91cb7158406998519853a4add07
[ "MIT" ]
8
2020-04-17T13:18:30.000Z
2021-11-20T06:24:44.000Z
/* See LICENSE file in root folder */ namespace sdw { #if Writer_UseSwizzle //***************************************************************************************** namespace { template< typename T, typename U > struct are_equal : public std::false_type { }; template< typename T > struct are_equal< T, T...
39.508152
209
0.643167
Praetonus
780091b7a60115151bfb6a365d74e65e16c3fa83
69
cpp
C++
engine/SceneModelManipulator.cpp
shanysheng/orange3d
9ee081a98e14fdeb3aaafd6bbb49fe027d4cd3c0
[ "BSD-2-Clause" ]
11
2017-06-06T17:22:30.000Z
2022-03-23T11:56:49.000Z
engine/SceneModelManipulator.cpp
shanysheng/orange3d
9ee081a98e14fdeb3aaafd6bbb49fe027d4cd3c0
[ "BSD-2-Clause" ]
null
null
null
engine/SceneModelManipulator.cpp
shanysheng/orange3d
9ee081a98e14fdeb3aaafd6bbb49fe027d4cd3c0
[ "BSD-2-Clause" ]
5
2018-02-07T02:48:59.000Z
2021-08-23T05:16:59.000Z
#include "SceneModelManipulator.h" namespace pipeline { }
9.857143
34
0.666667
shanysheng
7800da7513db797e0ef0b2e9d1ba9fb1d5ecf81a
5,258
hpp
C++
src/lib/analysis/TextUtil.hpp
jqswang/txsampler
19d2b188e712dd86be84d84c75e08af320304c2c
[ "BSD-3-Clause" ]
1
2018-11-18T17:44:22.000Z
2018-11-18T17:44:22.000Z
src/lib/analysis/TextUtil.hpp
jqswang/txsampler
19d2b188e712dd86be84d84c75e08af320304c2c
[ "BSD-3-Clause" ]
null
null
null
src/lib/analysis/TextUtil.hpp
jqswang/txsampler
19d2b188e712dd86be84d84c75e08af320304c2c
[ "BSD-3-Clause" ]
null
null
null
// -*-Mode: C++;-*- // * BeginRiceCopyright ***************************************************** // // $HeadURL$ // $Id$ // // -------------------------------------------------------------------------- // Part of HPCToolkit (hpctoolkit.org) // // Information about sources of support for research and development of //...
30.218391
78
0.588627
jqswang
7803770803caec91ff767aa59e34a2c9f3500f0e
19,237
cpp
C++
frameworks/render/plugins/osg/dmzRenderPluginParticleEffectsOSG.cpp
shillcock/dmz
02174b45089e12cd7f0840d5259a00403cd1ccff
[ "MIT" ]
2
2015-11-05T03:03:40.000Z
2016-02-03T21:50:40.000Z
frameworks/render/plugins/osg/dmzRenderPluginParticleEffectsOSG.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
null
null
null
frameworks/render/plugins/osg/dmzRenderPluginParticleEffectsOSG.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
null
null
null
#include <dmzObjectAttributeMasks.h> //#include <dmzRenderConfigToOSG.h> #include <dmzRenderModuleCoreOSG.h> #include "dmzRenderPluginParticleEffectsOSG.h" #include <dmzRenderConfigToOSG.h> #include <dmzRenderUtilOSG.h> #include <dmzRuntimeConfig.h> #include <dmzRuntimeConfigToTypesBase.h> #include <dmzRuntimeConfigToV...
24.197484
90
0.638769
shillcock
7803dbc3c62853ab8f948123473946301d1f0072
1,462
hpp
C++
include/Skeleton.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
include/Skeleton.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
include/Skeleton.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
1
2019-06-11T03:41:48.000Z
2019-06-11T03:41:48.000Z
#ifndef SKELETON_H_ #define SKELETON_H_ #include <vector> #include <map> #include <string> #define GLM_FORCE_RADIANS #include <glm/glm.hpp> #include "logger/ILogger.hpp" #include "fs/IFileSystem.hpp" #include "Types.hpp" struct aiScene; struct aiNode; namespace ice_engine { struct BoneNode { std::string name; ...
18.275
143
0.733242
icebreakersentertainment
78053d0d3e3ea8474650b5da54e5481119ad272e
2,916
cc
C++
mysql-server/sql/sql_cache.cc
xuefengedu/database
3952a411a3a17cc0cdbd98d6235e6f5caad2133a
[ "MIT" ]
1
2020-03-31T15:03:51.000Z
2020-03-31T15:03:51.000Z
mysql-server/sql/sql_cache.cc
xuefengedu/database
3952a411a3a17cc0cdbd98d6235e6f5caad2133a
[ "MIT" ]
1
2020-03-31T15:04:54.000Z
2020-03-31T15:04:54.000Z
mysql-server/sql/sql_cache.cc
xuefengedu/database
3952a411a3a17cc0cdbd98d6235e6f5caad2133a
[ "MIT" ]
null
null
null
/* Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later ve...
29.454545
132
0.688272
xuefengedu
780f5cfefc4fcaecdc6857ec9b9b035be2193004
276
hpp
C++
Compression/Utils.hpp
NuLL3rr0r/cpp-compression-module
9f4c16bedc7787be391f382222ddfc3ebc0f530b
[ "Unlicense", "MIT" ]
null
null
null
Compression/Utils.hpp
NuLL3rr0r/cpp-compression-module
9f4c16bedc7787be391f382222ddfc3ebc0f530b
[ "Unlicense", "MIT" ]
null
null
null
Compression/Utils.hpp
NuLL3rr0r/cpp-compression-module
9f4c16bedc7787be391f382222ddfc3ebc0f530b
[ "Unlicense", "MIT" ]
null
null
null
#ifndef UTILS_HPP #define UTILS_HPP #include <string> namespace Compression { class Utils; } class Compression::Utils { public: static std::wstring StrToWStr(const std::string &str); static std::string WStrToStr(const std::wstring &wstr); }; #endif /* UTILS_HPP */
12.545455
56
0.721014
NuLL3rr0r
7811ab9867e61371e17acd90bc87d885b7f92f1a
2,514
cpp
C++
oneflow/core/operator/repeat_op.cpp
zhouyuegit/oneflow
ddb6ad7fc43b867357394c3d3f0176f4e81cc8ef
[ "Apache-2.0" ]
null
null
null
oneflow/core/operator/repeat_op.cpp
zhouyuegit/oneflow
ddb6ad7fc43b867357394c3d3f0176f4e81cc8ef
[ "Apache-2.0" ]
null
null
null
oneflow/core/operator/repeat_op.cpp
zhouyuegit/oneflow
ddb6ad7fc43b867357394c3d3f0176f4e81cc8ef
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
36.434783
94
0.755768
zhouyuegit
78130f0c716bfc88118ac8ba3bfe86f9bcebbcc5
7,684
cpp
C++
XInternetTest/_IncludeClient/PhoneDevice.cpp
kirainstorm/InternetofthingsServer
3a18ccb337c5556b01ce9fb51dac35ba16182257
[ "Apache-2.0" ]
null
null
null
XInternetTest/_IncludeClient/PhoneDevice.cpp
kirainstorm/InternetofthingsServer
3a18ccb337c5556b01ce9fb51dac35ba16182257
[ "Apache-2.0" ]
null
null
null
XInternetTest/_IncludeClient/PhoneDevice.cpp
kirainstorm/InternetofthingsServer
3a18ccb337c5556b01ce9fb51dac35ba16182257
[ "Apache-2.0" ]
1
2020-05-28T08:32:11.000Z
2020-05-28T08:32:11.000Z
#include "stdafx.h" #include "PhoneDevice.h" #include "XDes.h" CPhoneDevice::CPhoneDevice() :m_plMsg(sizeof(MyStruct4PhoneDeviceSession)) { m_szBuffer = new unsigned char[MAX_MSG_4_PHONE_DEVICE_SESSION]; m_hWorkerThread = CROSS_THREAD_NULL; m_bLogin = FALSE; m_pTcpStream = NULL; } CPhoneDevice::~CPhoneD...
23.284848
136
0.61153
kirainstorm
7815fd080c72e53fb41317ed94b58927b7faaa05
3,568
cpp
C++
src/ecdsa.cpp
Marandil/jwtpp-json
79d7cdfc3809fe49e83491f3f5b2e61e034ef0e2
[ "MIT" ]
34
2017-01-01T20:48:31.000Z
2022-02-13T11:30:16.000Z
src/ecdsa.cpp
Marandil/jwtpp-json
79d7cdfc3809fe49e83491f3f5b2e61e034ef0e2
[ "MIT" ]
16
2017-02-01T14:20:37.000Z
2020-02-26T19:51:39.000Z
src/ecdsa.cpp
Marandil/jwtpp-json
79d7cdfc3809fe49e83491f3f5b2e61e034ef0e2
[ "MIT" ]
15
2020-05-06T10:17:25.000Z
2021-12-10T11:07:52.000Z
// The MIT License (MIT) // // Copyright (c) 2016-2020 Artur Troian // // 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 us...
33.037037
111
0.69843
Marandil
7817536a7adc1885043551f63e190a4b8c1a3bf9
21,363
cc
C++
test/aarch64/examples/test-examples.cc
Componolit/android_external_vixl
0cc1043fc66e89d6f0d538a10668a7b3bb1a372b
[ "BSD-3-Clause" ]
null
null
null
test/aarch64/examples/test-examples.cc
Componolit/android_external_vixl
0cc1043fc66e89d6f0d538a10668a7b3bb1a372b
[ "BSD-3-Clause" ]
null
null
null
test/aarch64/examples/test-examples.cc
Componolit/android_external_vixl
0cc1043fc66e89d6f0d538a10668a7b3bb1a372b
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015, VIXL authors // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list of conditions ...
34.512116
80
0.550672
Componolit
781c8a80772094e47cc18b97baefa3c21871ecdc
1,416
cpp
C++
lzhash.cpp
Eronana/compressor
8e293cbe93a20092935f6ccb95e4a92afa0e7b4b
[ "MIT" ]
4
2017-12-16T08:54:55.000Z
2021-06-03T04:29:51.000Z
lzhash.cpp
Eronana/compressor
8e293cbe93a20092935f6ccb95e4a92afa0e7b4b
[ "MIT" ]
null
null
null
lzhash.cpp
Eronana/compressor
8e293cbe93a20092935f6ccb95e4a92afa0e7b4b
[ "MIT" ]
1
2021-08-22T19:07:47.000Z
2021-08-22T19:07:47.000Z
#include <cstring> #include "lzhash.h" int LZHash::lz77_hash(int idx) { return ((data[idx]<<16)|(data[idx+1]<<8)|data[idx+2])%HASH_MOD; } int LZHash::index_map(int idx) { return idx%MAX_WINDOW_SIZE; } int LZHash::find_head(int idx) { int hash=lz77_hash(idx); return head[hash]; } int LZHash::find_next(i...
22.83871
118
0.632768
Eronana
781fd5be6cbaea9d22e6d44de86060ba79046f28
28,892
cpp
C++
src/parser.cpp
kdbohne/pt
78250c676b9cd03f1acdd27dcbec1e0b6209572b
[ "BSD-2-Clause" ]
null
null
null
src/parser.cpp
kdbohne/pt
78250c676b9cd03f1acdd27dcbec1e0b6209572b
[ "BSD-2-Clause" ]
null
null
null
src/parser.cpp
kdbohne/pt
78250c676b9cd03f1acdd27dcbec1e0b6209572b
[ "BSD-2-Clause" ]
null
null
null
#include "parser.h" #include "common.h" #include "transform.h" #include "math.h" #include "film.h" #include "camera.h" #include "integrator.h" #include "geometry.h" #include "scene.h" #include "light.h" #include "sampler.h" #include "material.h" #include "texture.h" #include <cstdio> // The directory of the input pat...
29.272543
129
0.494808
kdbohne
7821171917f77d809c8366abb65074d418bda3f4
225
cpp
C++
Chapter12/06_testing_advanced/developer2.cpp
apolukhin/boost-cookbook
912e36f38b9b1da93b03ae7afd19fcec0900aa83
[ "BSL-1.0" ]
313
2017-05-28T15:30:57.000Z
2022-03-15T12:32:40.000Z
Chapter12/06_testing_advanced/developer2.cpp
apolukhin/boost-cookbook
912e36f38b9b1da93b03ae7afd19fcec0900aa83
[ "BSL-1.0" ]
15
2021-12-07T06:46:03.000Z
2022-01-31T07:55:32.000Z
Chapter12/06_testing_advanced/developer2.cpp
apolukhin/boost-cookbook
912e36f38b9b1da93b03ae7afd19fcec0900aa83
[ "BSL-1.0" ]
85
2017-05-28T16:47:33.000Z
2022-03-30T10:04:55.000Z
// developer2.cpp #include <boost/test/unit_test.hpp> #include "foo.hpp" BOOST_AUTO_TEST_CASE(test_no_2) { // ... foo f1 = {1}, f2 = {2}; BOOST_REQUIRE_NE(f1, f2); // ... } // BOOST_AUTO_TEST_CASE(test_no_2)
20.454545
36
0.626667
apolukhin
78213a31ec6c2b1d1b985ff511d123bd1dabdae4
243
cpp
C++
Development/RemoteCompile/RemoteCompile/bin/Debug/_temp_basicVS_basicFS/basicVS.cpp
theproadam/XFDraw
08acaa83fffa8c36fa55164c128c9e3df625eed6
[ "MIT" ]
1
2021-07-06T11:25:47.000Z
2021-07-06T11:25:47.000Z
Development/RemoteCompile/RemoteCompile/bin/Debug/_temp_basicVS_basicFS/basicVS.cpp
theproadam/XFDraw
08acaa83fffa8c36fa55164c128c9e3df625eed6
[ "MIT" ]
null
null
null
Development/RemoteCompile/RemoteCompile/bin/Debug/_temp_basicVS_basicFS/basicVS.cpp
theproadam/XFDraw
08acaa83fffa8c36fa55164c128c9e3df625eed6
[ "MIT" ]
2
2021-07-26T11:54:33.000Z
2021-07-26T12:08:46.000Z
//#version 330 core (haha jk you dont need this) in vec3 aPos; in vec3 aNormal; out vec3 fragPos; out vec3 normal; uniform vec3 cameraPos; uniform vec3 cameraRot; void main() { if (value) { } normal = aNormal; gl_Position = aPos; }
12.15
49
0.691358
theproadam
783aad5ec2c8e12804babdb8a3af300e2774ab8d
816
hpp
C++
Chip8emu/display/display.hpp
tstibro/chip8
fa342b8641737780e20b259f6df9dcb51127786a
[ "MIT" ]
null
null
null
Chip8emu/display/display.hpp
tstibro/chip8
fa342b8641737780e20b259f6df9dcb51127786a
[ "MIT" ]
null
null
null
Chip8emu/display/display.hpp
tstibro/chip8
fa342b8641737780e20b259f6df9dcb51127786a
[ "MIT" ]
null
null
null
/* * display.hpp * * Created on: Jul 31, 2016 * Author: Tomas Stibrany */ #ifndef IO_OUTPUT_DISPLAY_HPP_ #define IO_OUTPUT_DISPLAY_HPP_ #include "../../Chip8lib/adapters/video/chip8VideoAdapter.hpp" #include <SDL.h> using namespace chip8::adapter; class SDLDisplay : public Chip8VideoAdapter { private: u3...
21.473684
62
0.747549
tstibro
783f0b5e32c10bb52c93045b0daedd0ad891e9d1
1,688
cpp
C++
src/jk/cog/codegen/lval_expression_gen_visitor.cpp
jdmclark/gorc
a03d6a38ab7684860c418dd3d2e77cbe6a6d9fc8
[ "Apache-2.0" ]
97
2015-02-24T05:09:24.000Z
2022-01-23T12:08:22.000Z
src/jk/cog/codegen/lval_expression_gen_visitor.cpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
8
2015-03-27T23:03:23.000Z
2020-12-21T02:34:33.000Z
src/jk/cog/codegen/lval_expression_gen_visitor.cpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
10
2016-03-24T14:32:50.000Z
2021-11-13T02:38:53.000Z
#include "lval_expression_gen_visitor.hpp" #include "log/log.hpp" #include "rval_expression_gen_visitor.hpp" using namespace gorc; using namespace gorc::cog; lval_expression_gen_visitor::lval_expression_gen_visitor(script &out_script, ir_printer &ir, ...
26.375
89
0.62263
jdmclark
784544ec5bb51d66a3de4efdcc99f88a82564b75
628
cpp
C++
MPI3Coll/MPI3Coll21.cpp
bru1t/pt-for-mpi-2-answers
81595465725db4cce848a1c45b3695203d97db03
[ "Unlicense" ]
2
2021-12-26T20:18:24.000Z
2021-12-28T10:49:42.000Z
MPI3Coll/MPI3Coll21.cpp
bru1t/pt-for-mpi-2-answers
81595465725db4cce848a1c45b3695203d97db03
[ "Unlicense" ]
null
null
null
MPI3Coll/MPI3Coll21.cpp
bru1t/pt-for-mpi-2-answers
81595465725db4cce848a1c45b3695203d97db03
[ "Unlicense" ]
null
null
null
#include "pt4.h" #include "mpi.h" #include <vector> struct max_iv { float a; int b; }; void Solve() { Task("MPI3Coll21"); int flag; MPI_Initialized(&flag); if (flag == 0) return; int rank, size; MPI_Comm_size(MPI_COMM_WORLD, &size); MPI_Comm_rank(MPI_COMM_WORLD, &rank); int sz = size + 5; std::vector<m...
14.952381
77
0.578025
bru1t
7846a9b260d521f727a3e048d271205b08bf273f
5,739
cpp
C++
SerialPrograms/Source/Kernels/ImageStats/Kernels_ImagePixelSumSqrDev_x64_AVX2.cpp
PhobosLegacy/Arduino-Source
82174c4e22dde53495d6fd55fd4001f50da97cf8
[ "MIT" ]
1
2022-03-29T18:51:49.000Z
2022-03-29T18:51:49.000Z
SerialPrograms/Source/Kernels/ImageStats/Kernels_ImagePixelSumSqrDev_x64_AVX2.cpp
PhobosLegacy/Arduino-Source
82174c4e22dde53495d6fd55fd4001f50da97cf8
[ "MIT" ]
null
null
null
SerialPrograms/Source/Kernels/ImageStats/Kernels_ImagePixelSumSqrDev_x64_AVX2.cpp
PhobosLegacy/Arduino-Source
82174c4e22dde53495d6fd55fd4001f50da97cf8
[ "MIT" ]
null
null
null
/* Sum of Squares of Deviation (x64 AVX2) * * From: https://github.com/PokemonAutomation/Arduino-Source * */ #ifdef PA_AutoDispatch_x64_13_Haswell #include <immintrin.h> #include "Common/Cpp/Exceptions.h" #include "Kernels/Kernels_x64_AVX2.h" #include "Kernels/PartialWordAccess/Kernels_PartialWordAcc...
31.707182
116
0.642795
PhobosLegacy
7847922e81cf36b1414019b54fb8585d65b8d4d3
1,761
cpp
C++
Engine/source/platform/platformVolume.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
46
2015-01-05T17:34:43.000Z
2022-01-04T04:03:09.000Z
Engine/source/platform/platformVolume.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
10
2015-01-20T23:14:46.000Z
2019-04-05T22:04:15.000Z
Engine/source/platform/platformVolume.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
9
2015-08-08T18:46:06.000Z
2021-02-01T13:53:20.000Z
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. #include "platform/platform.h" #if defined(TORQUE_OS_WIN) || defined(TORQUE_OS_XBOX) || defined(TORQUE_OS_XENON) #include <sys/utime.h> #else #include <sys/time.h> #endif #include "platform/platform...
22.87013
93
0.656445
fr1tz
7848f492db3eebadf5254f8e46d38e3a3aba69fa
10,301
cc
C++
deps/autodock/investigate.cc
neonious/Neonious-Node
2859e60ca3f1303127d589d0f50c2aa2b281bc95
[ "MIT" ]
null
null
null
deps/autodock/investigate.cc
neonious/Neonious-Node
2859e60ca3f1303127d589d0f50c2aa2b281bc95
[ "MIT" ]
null
null
null
deps/autodock/investigate.cc
neonious/Neonious-Node
2859e60ca3f1303127d589d0f50c2aa2b281bc95
[ "MIT" ]
null
null
null
/* $Id: investigate.cc,v 1.36 2014/02/01 05:14:53 mp Exp $ AutoDock Copyright (C) 2009 The Scripps Research Institute. All rights reserved. AutoDock is a Trade Mark of The Scripps Research Institute. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General P...
39.018939
213
0.519464
neonious
784a31af3a817a849c07567c9955b5212c4c747b
5,277
cpp
C++
DDOCP/EnhancementSpendInTree.cpp
shortydude/DDOBuilder-learning
e71162c10b81bb4afd0365e61088437353cc4607
[ "MIT" ]
null
null
null
DDOCP/EnhancementSpendInTree.cpp
shortydude/DDOBuilder-learning
e71162c10b81bb4afd0365e61088437353cc4607
[ "MIT" ]
null
null
null
DDOCP/EnhancementSpendInTree.cpp
shortydude/DDOBuilder-learning
e71162c10b81bb4afd0365e61088437353cc4607
[ "MIT" ]
null
null
null
// EnhancementSpendInTree.cpp // #include "StdAfx.h" #include "EnhancementSpendInTree.h" #include "XmlLib\SaxWriter.h" #define DL_ELEMENT EnhancementSpendInTree namespace { const wchar_t f_saxElementName[] = L"EnhancementSpendInTree"; DL_DEFINE_NAMES(EnhancementSpendInTree_PROPERTIES) const unsigned f_ve...
28.219251
91
0.613038
shortydude
7851f2c86cacd77cc35c460c6333cc43c9424159
8,778
cpp
C++
test/test.cpp
cildhdi/FunctionParser
ddc703ca905ce0081f04ff7856855bde6d91ce42
[ "MIT" ]
1
2018-11-26T13:16:49.000Z
2018-11-26T13:16:49.000Z
test/test.cpp
cildhdi/function_parsing
ddc703ca905ce0081f04ff7856855bde6d91ce42
[ "MIT" ]
null
null
null
test/test.cpp
cildhdi/function_parsing
ddc703ca905ce0081f04ff7856855bde6d91ce42
[ "MIT" ]
1
2018-12-14T05:57:38.000Z
2018-12-14T05:57:38.000Z
/********************************************************* Developer: MilesYang Mail: 1961464399@qq.com FileName: test.cpp *********************************************************/ #include <FunctionParser.h> #include <gtest/gtest.h> #include <climits> #include <cmath> //for IntelliSense #define ValueTest ValueTest ...
20.9
100
0.646958
cildhdi
785672e627f9c3834ef41502501fa2607a939e4e
94,298
hpp
C++
FDPS-5.0g/src/tree_for_force_impl.hpp
subarutaro/GPLUM
89b1dadb08a0c6adcdc48879ddf2b7b0fb02912f
[ "MIT" ]
2
2019-05-23T21:00:41.000Z
2019-10-03T18:05:20.000Z
FDPS-5.0g/src/tree_for_force_impl.hpp
subarutaro/GPLUM
89b1dadb08a0c6adcdc48879ddf2b7b0fb02912f
[ "MIT" ]
null
null
null
FDPS-5.0g/src/tree_for_force_impl.hpp
subarutaro/GPLUM
89b1dadb08a0c6adcdc48879ddf2b7b0fb02912f
[ "MIT" ]
10
2018-08-22T00:55:26.000Z
2022-02-28T23:21:42.000Z
//////////////////////////////////////////////// /// implementaion of methods of TreeForForce /// #include"tree_walk.hpp" namespace ParticleSimulator{ template<class TSM, class Tforce, class Tepi, class Tepj, class Tmomloc, class Tmomglb, class Tspj> Tepj * TreeForForce<TSM, Tforce, Tepi, Tepj, T...
45.444819
143
0.605623
subarutaro
785760ee00c2247d6aef106b5284762a90e30f9d
82,698
cpp
C++
source/vulkan/vulkan_hooks_device.cpp
Kein/reshade
907a9b31d126acaa15cd120cb1fc13e39fd1e645
[ "BSD-3-Clause" ]
null
null
null
source/vulkan/vulkan_hooks_device.cpp
Kein/reshade
907a9b31d126acaa15cd120cb1fc13e39fd1e645
[ "BSD-3-Clause" ]
null
null
null
source/vulkan/vulkan_hooks_device.cpp
Kein/reshade
907a9b31d126acaa15cd120cb1fc13e39fd1e645
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2014 Patrick Mours. All rights reserved. * License: https://github.com/crosire/reshade#license */ #include "dll_log.hpp" #include "hook_manager.hpp" #include "vulkan_hooks.hpp" #include "lockfree_table.hpp" #include "runtime_vk.hpp" #include "render_vk_utils.hpp" #include "format_utils.hpp" lock...
45.866889
288
0.776367
Kein
78592ea9f39cd49b553c4d92bd9117cba96067b1
12,120
cpp
C++
taco-oopsla2017/test/api-tests.cpp
peterahrens/FillEstimationIPDPS2017
857b6ee8866a2950aa5721d575d2d7d0797c4302
[ "BSD-3-Clause" ]
null
null
null
taco-oopsla2017/test/api-tests.cpp
peterahrens/FillEstimationIPDPS2017
857b6ee8866a2950aa5721d575d2d7d0797c4302
[ "BSD-3-Clause" ]
null
null
null
taco-oopsla2017/test/api-tests.cpp
peterahrens/FillEstimationIPDPS2017
857b6ee8866a2950aa5721d575d2d7d0797c4302
[ "BSD-3-Clause" ]
null
null
null
#include "test.h" #include "test_tensors.h" #include "expr_factory.h" #include <fstream> #include "taco/tensor.h" #include "taco/expr.h" #include "taco/expr_nodes/expr_nodes.h" #include "taco/storage/storage.h" #include "taco/storage/index.h" #include "taco/storage/array.h" #include "taco/util/env.h" #include <cmath...
30.3
80
0.581848
peterahrens
7859a44b389428f1f08f1bbc537e01f23a85ea1b
222
cpp
C++
src/chunk.cpp
degustaf/tlox
0955395bc99a6cdc23d68d19e6187fbb3d20905f
[ "MIT" ]
null
null
null
src/chunk.cpp
degustaf/tlox
0955395bc99a6cdc23d68d19e6187fbb3d20905f
[ "MIT" ]
null
null
null
src/chunk.cpp
degustaf/tlox
0955395bc99a6cdc23d68d19e6187fbb3d20905f
[ "MIT" ]
null
null
null
#include "chunk.hpp" void Chunk::write(uint32_t byte, size_t line) { code.push_back(byte); lines.push_back(line); } size_t Chunk::addConstant(Value value) { constants.push_back(value); return constants.size() - 1; }
18.5
47
0.725225
degustaf
7860e3809d0b81e10567e553ac8c6af1c87e67c1
1,268
cpp
C++
Phase 1 Placement Specific/24. More sorting techniques/count_inversion.cpp
priyanshd2510/CPP-DSA
00f5d1018ae2bd4e3d9c20a8b9d06c8ea862190f
[ "Apache-2.0" ]
42
2021-01-03T17:54:59.000Z
2022-03-26T15:57:01.000Z
Phase 1 Placement Specific/24. More sorting techniques/count_inversion.cpp
priyanshd2510/CPP-DSA
00f5d1018ae2bd4e3d9c20a8b9d06c8ea862190f
[ "Apache-2.0" ]
26
2021-04-05T07:54:21.000Z
2021-12-10T07:35:39.000Z
Phase 1 Placement Specific/24. More sorting techniques/count_inversion.cpp
priyanshd2510/CPP-DSA
00f5d1018ae2bd4e3d9c20a8b9d06c8ea862190f
[ "Apache-2.0" ]
56
2020-12-24T17:06:33.000Z
2022-02-06T18:21:33.000Z
#include <bits/stdc++.h> using namespace std; long long merge(int arr[], int l, int m, int r) { long long inv = 0; int n1 = m - l + 1; int n2 = r - m; int a[n1]; int b[n2]; for (int i = 0; i < n1; i++) { a[i] = arr[l + i]; } for (int i = 0; i < n2; i++) { b[i] ...
15.277108
47
0.32571
priyanshd2510
78618df1a364f7f70c17f674b6682636331031ba
799
cpp
C++
4to/OIAJ/cuentaPrimos.cpp
TomasDmArg/EEST-N5
bb295f81d6ec567e2264bac10cef62b0a3bdb042
[ "MIT" ]
1
2021-06-12T01:48:07.000Z
2021-06-12T01:48:07.000Z
4to/OIAJ/cuentaPrimos.cpp
TomasDmArg/EEST-N5
bb295f81d6ec567e2264bac10cef62b0a3bdb042
[ "MIT" ]
null
null
null
4to/OIAJ/cuentaPrimos.cpp
TomasDmArg/EEST-N5
bb295f81d6ec567e2264bac10cef62b0a3bdb042
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int n, cn, count = 0; vector<int> listOfNumbers; void askForNumbers(int x){ for (int i = 0; i < x; i++){ cin>>cn; listOfNumbers.push_back(cn); } } bool esPrimo(int n){ if (n == 0 || n == 1 || n == 4) return false; for (int x = 2; x < n...
21.594595
63
0.53567
TomasDmArg
7865e6a36324cf9fcda5c2926a143924f8b07f36
13,070
cpp
C++
src/core/swapChain.cpp
inequation/pal
1f6c2382823451d232dfb86dd54e7c63673d73e8
[ "MIT" ]
1
2021-11-27T15:15:29.000Z
2021-11-27T15:15:29.000Z
src/core/swapChain.cpp
inequation/pal
1f6c2382823451d232dfb86dd54e7c63673d73e8
[ "MIT" ]
null
null
null
src/core/swapChain.cpp
inequation/pal
1f6c2382823451d232dfb86dd54e7c63673d73e8
[ "MIT" ]
null
null
null
/* *********************************************************************************************************************** * * Copyright (c) 2015-2021 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
42.297735
120
0.615608
inequation
786625cf8aecbfc1c769c1d73ce4690e65c3217a
120
hpp
C++
examples/clserver/strxor.hpp
reficull/muduo_luajit_server
4bdbe89d1ea2fa83849d5343ea0a22540372bb67
[ "BSD-3-Clause" ]
null
null
null
examples/clserver/strxor.hpp
reficull/muduo_luajit_server
4bdbe89d1ea2fa83849d5343ea0a22540372bb67
[ "BSD-3-Clause" ]
null
null
null
examples/clserver/strxor.hpp
reficull/muduo_luajit_server
4bdbe89d1ea2fa83849d5343ea0a22540372bb67
[ "BSD-3-Clause" ]
null
null
null
#ifndef __STRXOR #define __STRXOR #include <iostream> std::string encryptDecrypt(std::string toCodec,char* k); #endif
15
56
0.766667
reficull
7869a43fc34d1ba524ad34adbf0c0e33b50c6e06
2,414
cpp
C++
src/Subsystems/DriveMotors.cpp
jdchs/legacy2017
256d772e67e5ed09277727bfae9d5bb4f98c266f
[ "MIT" ]
null
null
null
src/Subsystems/DriveMotors.cpp
jdchs/legacy2017
256d772e67e5ed09277727bfae9d5bb4f98c266f
[ "MIT" ]
null
null
null
src/Subsystems/DriveMotors.cpp
jdchs/legacy2017
256d772e67e5ed09277727bfae9d5bb4f98c266f
[ "MIT" ]
null
null
null
/* * DriveMotors.cpp * * Created on: Feb 16, 2017 * Author: dange */ #include "DriveMotors.h" #include "../RobotMap.h" #include "Commands/ContinuousDrive.h" DriveMotors::DriveMotors() : Subsystem("DriveMotors") { leftFront = new Talon(LEFTFRONT); rightFront = new Talon(RIGHTFRONT); leftBack = new Talon...
16.648276
68
0.654101
jdchs
786aef5d3ce6f8d72476307743b20ad50f0ec47b
4,527
cpp
C++
Maze/source/Maze.cpp
tiansongyu/Example_SwitchPixelGameEngine
a191d6cd85960e9738900301735b0576feafed77
[ "MIT" ]
2
2021-06-21T09:38:46.000Z
2021-07-27T02:42:26.000Z
Maze/source/Maze.cpp
tiansongyu/Demo_SwitchPixelGameEngine
a191d6cd85960e9738900301735b0576feafed77
[ "MIT" ]
null
null
null
Maze/source/Maze.cpp
tiansongyu/Demo_SwitchPixelGameEngine
a191d6cd85960e9738900301735b0576feafed77
[ "MIT" ]
null
null
null
//SwitchPixelGameEngine v0.1 build pass //warning please use v0.1 // Copyright (C) 2020 tiansongyu // // This file is part of SwitchPixelGameEngine. // Last Updated: 2020/11/5 #include"SwitchPixelGameEngine.h" #include<stack> #include<iostream> #include<vector> using namespace std; class Mazes :public SwitchPixelGam...
22.979695
123
0.593992
tiansongyu
786c9a80e10e4a77a2f0c8c3749e81c448774da3
2,091
cpp
C++
2018/cpp/src/day03.cpp
Chrinkus/advent-of-code
b2ae137dc7a1d6fc9e20f29549e891404591c47f
[ "MIT" ]
1
2021-12-04T20:55:02.000Z
2021-12-04T20:55:02.000Z
2018/cpp/src/day03.cpp
Chrinkus/advent-of-code
b2ae137dc7a1d6fc9e20f29549e891404591c47f
[ "MIT" ]
null
null
null
2018/cpp/src/day03.cpp
Chrinkus/advent-of-code
b2ae137dc7a1d6fc9e20f29549e891404591c47f
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #include <array> #include <get_input.hpp> constexpr size_t FAB_WIDTH = 1000; using Fabric = std::array<std::array<int,FAB_WIDTH>,FAB_WIDTH>; struct Claim { int id = 0; int x = 0; int y = 0; int w = 0; int h = 0; }; std::istream& operato...
24.313953
79
0.470588
Chrinkus
786ffeadde82454db639874b5a15b9022a329a38
2,334
cpp
C++
Source/CompTransform.cpp
joserm45/VultureEngine
86484cf8a3742fb9d57be6a329ca5e6bde916135
[ "MIT" ]
null
null
null
Source/CompTransform.cpp
joserm45/VultureEngine
86484cf8a3742fb9d57be6a329ca5e6bde916135
[ "MIT" ]
null
null
null
Source/CompTransform.cpp
joserm45/VultureEngine
86484cf8a3742fb9d57be6a329ca5e6bde916135
[ "MIT" ]
null
null
null
#include "Globals.h" #include "CompTransform.h" #include "GameObject.h" #include "Imgui\imgui.h" #include "Application.h" #include "MathGeoLib/include/MathGeoLib.h" CompTransform::CompTransform(GameObject* parent) : Components(parent) { LOG("Added Transform to GO"); type = TRANSFORM; } CompTransform::~CompTransf...
16.913043
69
0.691088
joserm45
78718ffd8caa92f902ac3a1a7f29d53d81469247
1,328
cc
C++
Mu2eKinKal/src/KKBField.cc
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
9
2020-03-28T00:21:41.000Z
2021-12-09T20:53:26.000Z
Mu2eKinKal/src/KKBField.cc
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
684
2019-08-28T23:37:43.000Z
2022-03-31T22:47:45.000Z
Mu2eKinKal/src/KKBField.cc
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
61
2019-08-16T23:28:08.000Z
2021-12-20T08:29:48.000Z
#include "Offline/Mu2eKinKal/inc/KKBField.hh" namespace mu2e { using Grad = ROOT::Math::SMatrix<double,3>; using SVEC3 = KinKal::SVEC3; VEC3 KKBField::fieldVect(VEC3 const& position) const { // change coordinates to mu2e; the map should be native in detector coordinates FIXME! CLHEP::Hep3Vector vpoint(po...
36.888889
90
0.670934
resnegfk
7875d59dd26d0fde584d702760e79f4fd37f6296
8,863
cpp
C++
StandardTetrisMSVC2005/StandardTetrisMSVC2005/source/CPF.StandardTetris.STMain.cpp
TetrisAI/StandardTetris
b5cbe25541ceb45517472fe7feabea0c81fd55b0
[ "MIT" ]
7
2016-11-28T13:42:44.000Z
2021-08-05T02:34:11.000Z
StandardTetrisMSVC2005/StandardTetrisMSVC2005/source/CPF.StandardTetris.STMain.cpp
PowerOlive/StandardTetris
b5cbe25541ceb45517472fe7feabea0c81fd55b0
[ "MIT" ]
null
null
null
StandardTetrisMSVC2005/StandardTetrisMSVC2005/source/CPF.StandardTetris.STMain.cpp
PowerOlive/StandardTetris
b5cbe25541ceb45517472fe7feabea0c81fd55b0
[ "MIT" ]
8
2015-07-31T02:53:14.000Z
2020-04-12T04:36:23.000Z
// All contents of this file written by Colin Fahey ( http://colinfahey.com ) // 2007 June 4 ; Visit web site to check for any updates to this file. #include "CPF.StandardTetris.STMain.h" #include <windows.h> #include <GL/gl.h> #include <stdio.h> #include "CPF.StandardTetris.STOpenGLFont.h" #include "CPF.Standar...
21.512136
154
0.649329
TetrisAI
787e29f152f542603e0953b3f2141b22f238164b
1,443
hpp
C++
include/utility.hpp
jdtaylor7/opengl_tutorial
ea55a0d4e9d4cac6fc2c0bfa71521f7825aa94c5
[ "MIT" ]
null
null
null
include/utility.hpp
jdtaylor7/opengl_tutorial
ea55a0d4e9d4cac6fc2c0bfa71521f7825aa94c5
[ "MIT" ]
null
null
null
include/utility.hpp
jdtaylor7/opengl_tutorial
ea55a0d4e9d4cac6fc2c0bfa71521f7825aa94c5
[ "MIT" ]
1
2021-09-23T03:11:42.000Z
2021-09-23T03:11:42.000Z
#ifndef UTILITY_HPP #define UTILITY_HPP #include <filesystem> unsigned int load_texture_from_file(const std::filesystem::path texture_path) { // Create texture ID. unsigned int texture; glGenTextures(1, &texture); // Load texture. int width; int height; int num_channels; stbi_set_flip...
28.294118
97
0.652807
jdtaylor7
788297c3c5d75842be8669f845e6f101cb3d1aab
6,691
cpp
C++
src/braft/ballot_box.cpp
coutamg/braft
7f67e0c10583a15b174435725cbb9568a4927743
[ "Apache-2.0" ]
2
2020-05-19T06:22:32.000Z
2020-07-07T09:38:48.000Z
src/braft/ballot_box.cpp
coutamg/braft
7f67e0c10583a15b174435725cbb9568a4927743
[ "Apache-2.0" ]
null
null
null
src/braft/ballot_box.cpp
coutamg/braft
7f67e0c10583a15b174435725cbb9568a4927743
[ "Apache-2.0" ]
1
2020-05-19T06:22:35.000Z
2020-05-19T06:22:35.000Z
// Copyright (c) 2015 Baidu.com, Inc. All Rights Reserved // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
34.312821
92
0.679868
coutamg
78831c5a7f45946c624029a520f7b5fa19b45a5f
2,302
hpp
C++
libcornet/tls/tls_socket.hpp
pioneer19/libcornet
9eb91629d8f9a6793b28af10a3535bfba0cc24ca
[ "Apache-2.0" ]
1
2020-07-25T06:39:24.000Z
2020-07-25T06:39:24.000Z
libcornet/tls/tls_socket.hpp
pioneer19/libcornet
9eb91629d8f9a6793b28af10a3535bfba0cc24ca
[ "Apache-2.0" ]
1
2020-07-25T05:32:10.000Z
2020-07-25T05:32:10.000Z
libcornet/tls/tls_socket.hpp
pioneer19/libcornet
9eb91629d8f9a6793b28af10a3535bfba0cc24ca
[ "Apache-2.0" ]
1
2020-07-25T05:28:54.000Z
2020-07-25T05:28:54.000Z
/* * Copyright 2020 Alex Syrnikov <pioneer19@post.cz> * SPDX-License-Identifier: Apache-2.0 * * This file is part of libcornet (https://github.com/pioneer19/libcornet). */ #pragma once #include <string> #include <utility> #include <libcornet/tcp_socket.hpp> #include <libcornet/tls/record_layer.hpp> #include <pi...
27.404762
93
0.695048
pioneer19
788444d6a3cebebe55d2df6cf6bd7cacb5621166
813
cpp
C++
Dynamic Programming/GridPath.cpp
killerraj369/HacktoberFest2021-8
4e157bcb897599e7a80c0c39f671430317b76507
[ "Apache-2.0" ]
null
null
null
Dynamic Programming/GridPath.cpp
killerraj369/HacktoberFest2021-8
4e157bcb897599e7a80c0c39f671430317b76507
[ "Apache-2.0" ]
null
null
null
Dynamic Programming/GridPath.cpp
killerraj369/HacktoberFest2021-8
4e157bcb897599e7a80c0c39f671430317b76507
[ "Apache-2.0" ]
null
null
null
// Grid path with Obstacles as "*" // Input : // 3 // 1*1 // 111 // 1*1 // Output : // 1 #include<bits/stdc++.h> using namespace std; #define deb(x) cout<<#x<<'='<<x<<endl; #define fastio() ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int dp[1001][1001]; int mod=1e9+7; void solve() ...
16.9375
83
0.409594
killerraj369
7884e12c1f86017e4ad0f806dd100a0070b129f1
351
cpp
C++
pdfEnabler.cpp
ntclark/PDFEnabler
286f8e2d7fe29b8b2b9a61ca4140b49fb56ecac2
[ "BSD-3-Clause" ]
1
2019-06-23T04:47:18.000Z
2019-06-23T04:47:18.000Z
pdfEnabler.cpp
ntclark/PDFEnabler
286f8e2d7fe29b8b2b9a61ca4140b49fb56ecac2
[ "BSD-3-Clause" ]
null
null
null
pdfEnabler.cpp
ntclark/PDFEnabler
286f8e2d7fe29b8b2b9a61ca4140b49fb56ecac2
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2017, 2018, 2019 InnoVisioNate Inc. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "PdfEnabler.h" #include "PdfEnabler_i.c" PdfEnabler::PdfEnabler(IUnknown *) : refCount(0) { } Pd...
19.5
74
0.643875
ntclark
78867889562aa4c89d0a16c821e235313a733049
7,379
hxx
C++
libbutl/lz4.hxx
build2/libbutl
405dfa3e28ab71d4f6b5210faba0e3600070a0f3
[ "MIT" ]
6
2018-05-31T06:16:37.000Z
2021-03-19T10:37:11.000Z
libbutl/lz4.hxx
build2/libbutl
405dfa3e28ab71d4f6b5210faba0e3600070a0f3
[ "MIT" ]
3
2020-06-19T05:08:42.000Z
2021-09-29T05:23:07.000Z
libbutl/lz4.hxx
build2/libbutl
405dfa3e28ab71d4f6b5210faba0e3600070a0f3
[ "MIT" ]
1
2020-06-16T14:56:48.000Z
2020-06-16T14:56:48.000Z
// file : libbutl/lz4.hxx -*- C++ -*- // license : MIT; see accompanying LICENSE file #pragma once #include <cstdint> #include <cstddef> #include <libbutl/optional.hxx> #include <libbutl/fdstream.hxx> #include <libbutl/export.hxx> namespace butl { namespace lz4 { // Read the content from the input s...
35.820388
78
0.642635
build2
7889cc20aa59510dbc6ca8a083f772061afbb0e2
856
cpp
C++
Source/Foundation/bsfCore/Utility/BsDeferredCallManager.cpp
bsf2dev/bsf
b318cd4eb1b0299773d625e6c870b8d503cf539e
[ "MIT" ]
1,745
2018-03-16T02:10:28.000Z
2022-03-26T17:34:21.000Z
Source/Foundation/bsfCore/Utility/BsDeferredCallManager.cpp
bsf2dev/bsf
b318cd4eb1b0299773d625e6c870b8d503cf539e
[ "MIT" ]
395
2018-03-16T10:18:20.000Z
2021-08-04T16:52:08.000Z
Source/Foundation/bsfCore/Utility/BsDeferredCallManager.cpp
bsf2dev/bsf
b318cd4eb1b0299773d625e6c870b8d503cf539e
[ "MIT" ]
267
2018-03-17T19:32:54.000Z
2022-02-17T16:55:50.000Z
//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// #include "Utility/BsDeferredCallManager.h" namespace bs { void Defer...
25.939394
124
0.629673
bsf2dev
788ab2f0bc0c56ed50fb94bb64844c32f2a60ea7
12,442
cpp
C++
src/benchmarks/match.cpp
jhermsmeier/osrm-backend
7b11cd3a11c939c957eeff71af7feddaa86e7f82
[ "BSD-2-Clause" ]
4
2021-06-20T17:11:38.000Z
2021-07-24T05:44:12.000Z
src/benchmarks/match.cpp
serarca/osrm-backend
3b4e2e83ef85983df1381dbeacd0ea5d4b9bbbcb
[ "BSD-2-Clause" ]
2
2022-01-28T03:33:36.000Z
2022-01-28T03:33:45.000Z
src/benchmarks/match.cpp
serarca/osrm-backend
3b4e2e83ef85983df1381dbeacd0ea5d4b9bbbcb
[ "BSD-2-Clause" ]
2
2018-08-07T09:15:55.000Z
2019-10-11T06:09:04.000Z
#include "util/timing_util.hpp" #include "osrm/match_parameters.hpp" #include "osrm/coordinate.hpp" #include "osrm/engine_config.hpp" #include "osrm/json_container.hpp" #include "osrm/osrm.hpp" #include "osrm/status.hpp" #include <boost/assert.hpp> #include <exception> #include <iostream> #include <string> #includ...
52.49789
100
0.752934
jhermsmeier
788c736baabb53b6476c78b7bca6e250a86404ae
6,955
cpp
C++
industrial_extrinsic_cal/src/nodes/mutable_joint_state_publisher.cpp
Julien-Livet/industrial_calibration
078030b2d9eeca64b34e3ef48b7d23f7be5e5717
[ "Apache-2.0" ]
98
2015-01-20T22:13:41.000Z
2022-03-07T23:54:24.000Z
industrial_extrinsic_cal/src/nodes/mutable_joint_state_publisher.cpp
Julien-Livet/industrial_calibration
078030b2d9eeca64b34e3ef48b7d23f7be5e5717
[ "Apache-2.0" ]
96
2015-03-02T15:57:48.000Z
2021-09-29T14:12:26.000Z
industrial_extrinsic_cal/src/nodes/mutable_joint_state_publisher.cpp
Julien-Livet/industrial_calibration
078030b2d9eeca64b34e3ef48b7d23f7be5e5717
[ "Apache-2.0" ]
85
2015-02-09T23:04:19.000Z
2021-09-15T13:45:07.000Z
/* * Software License Agreement (Apache License) * * Copyright (c) 2014, Southwest Research Institute * * 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/licens...
35.484694
119
0.693314
Julien-Livet
788e77b9463d35193e67ce49d60710927036ec1f
9,220
cpp
C++
demos/3D/tweening_animation/sources/main.cpp
thepirateclub/mobiledragon
24a7c6af34b509d4603b3b4fbefe4d98e4d415b6
[ "MIT" ]
1
2021-08-29T03:13:49.000Z
2021-08-29T03:13:49.000Z
demos/3D/tweening_animation/sources/main.cpp
thepirateclub/mobiledragon
24a7c6af34b509d4603b3b4fbefe4d98e4d415b6
[ "MIT" ]
null
null
null
demos/3D/tweening_animation/sources/main.cpp
thepirateclub/mobiledragon
24a7c6af34b509d4603b3b4fbefe4d98e4d415b6
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////// // # Mobile Dragon Demo Project # // # Tweening Animation # // // This demo shows how to load and display animated model // with tweening (morphing) animation with different Levels Of Detail. // Also this demo show how to proce...
25.971831
129
0.633948
thepirateclub
789675b7f97080e8c5549cbfbd43009612a3f2b1
888
cc
C++
105. Construct Binary Tree from Inorder and Postorder Traversal/main.cc
corkiwang1122/LeetCode
39b1680b58173e6ec23a475605c3450ce8f78a81
[ "MIT" ]
3,690
2015-01-03T03:40:23.000Z
2022-03-31T08:10:19.000Z
105. Construct Binary Tree from Inorder and Postorder Traversal/main.cc
Windfall94/LeetCode
1756256d7e619164076bbf358c8f7ca68cd8bd79
[ "MIT" ]
21
2015-01-25T16:39:43.000Z
2021-02-26T05:28:22.000Z
105. Construct Binary Tree from Inorder and Postorder Traversal/main.cc
Windfall94/LeetCode
1756256d7e619164076bbf358c8f7ca68cd8bd79
[ "MIT" ]
1,290
2015-01-09T01:28:20.000Z
2022-03-28T12:20:39.000Z
#include "solution.h" #include <iostream> #include <queue> void print_bfs(TreeNode* p) { if (!p) return; std::vector<std::string> v; std::queue<TreeNode *> q; q.push(p); do { TreeNode *node = q.front(); q.pop(); if (node) v.push_back(std::to_string(node->val)); ...
24
98
0.510135
corkiwang1122
a19bff845f15cee301d135b16dcfb6cb004b48ad
769
cpp
C++
src/console_weather/writers/AlertConsoleWriter.cpp
Crystalix007/DarkSky-CPP
10497ff292efdc460a67bc5dc44811b3a1459beb
[ "Apache-2.0" ]
null
null
null
src/console_weather/writers/AlertConsoleWriter.cpp
Crystalix007/DarkSky-CPP
10497ff292efdc460a67bc5dc44811b3a1459beb
[ "Apache-2.0" ]
null
null
null
src/console_weather/writers/AlertConsoleWriter.cpp
Crystalix007/DarkSky-CPP
10497ff292efdc460a67bc5dc44811b3a1459beb
[ "Apache-2.0" ]
null
null
null
#include "console_weather/writers/AlertConsoleWriter.hpp" #include <sstream> #include "console_weather/writers/console_writing.hpp" #include "forecast_io/Alert.hpp" namespace console_weather { namespace writers { AlertConsoleWriter::AlertConsoleWriter(int consoleWidth) noexcept : headerSeparator(createHeaderSep...
24.806452
85
0.6658
Crystalix007
a19dc57f88a26813e3f895bde296dc963610d8c4
12,086
cpp
C++
lumino/LuminoEngine/src/Input/InputBinding.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
lumino/LuminoEngine/src/Input/InputBinding.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
lumino/LuminoEngine/src/Input/InputBinding.cpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
 #include "../Internal.hpp" #include <LuminoEngine/Input/InputBinding.hpp> namespace ln { //============================================================================== // InputGesture //============================================================================== LN_OBJECT_IMPLEMENT(InputGesture, Object...
30.520202
91
0.507529
GameDevery
a1a201a66e4ad9e73b1cb27fb553dfd91e74b7a8
3,067
cpp
C++
src/saiga/vision/ceres/CeresPGO.cpp
no33fewi/saiga
edc873e34cd59eaf8c4a12dc7f909b4dd5e5fb68
[ "MIT" ]
114
2017-08-13T22:37:32.000Z
2022-03-25T12:28:39.000Z
src/saiga/vision/ceres/CeresPGO.cpp
no33fewi/saiga
edc873e34cd59eaf8c4a12dc7f909b4dd5e5fb68
[ "MIT" ]
7
2019-10-14T18:19:11.000Z
2021-06-11T09:41:52.000Z
src/saiga/vision/ceres/CeresPGO.cpp
no33fewi/saiga
edc873e34cd59eaf8c4a12dc7f909b4dd5e5fb68
[ "MIT" ]
18
2017-08-14T01:22:05.000Z
2022-03-12T12:35:07.000Z
/** * Copyright (c) 2021 Darius Rückert * Licensed under the MIT License. * See LICENSE file for more information. */ #include "CeresPGO.h" #include "saiga/core/time/timer.h" #include "CeresHelper.h" #include "Eigen/Sparse" #include "Eigen/SparseCholesky" #include "ceres/ceres.h" #include "ceres/problem.h" #inc...
35.662791
110
0.655037
no33fewi
a1a5009308efb05aeba5d84c05639addceea5c47
8,535
cpp
C++
simple-3D-room/room.cpp
DiscreteTom/simple-3D-room
5e6e246424e52dfc11bee6d0ed13860e95aa76cd
[ "MIT" ]
null
null
null
simple-3D-room/room.cpp
DiscreteTom/simple-3D-room
5e6e246424e52dfc11bee6d0ed13860e95aa76cd
[ "MIT" ]
null
null
null
simple-3D-room/room.cpp
DiscreteTom/simple-3D-room
5e6e246424e52dfc11bee6d0ed13860e95aa76cd
[ "MIT" ]
1
2019-06-03T06:10:33.000Z
2019-06-03T06:10:33.000Z
#include "gl/glut.h" #include <vector> #ifdef _DEBUG #pragma comment(lib, "freeglutd.lib") #else #pragma comment(lib, "freeglut.lib") #endif double radians(double degree); void buildCylinder(double radius, double height, int slices, bool line = false); void buildPyramid(double bottomLength, double height, bool line = ...
26.839623
163
0.656591
DiscreteTom
a1a7b163a284fa53d6ceaea66e60eca713b29193
1,382
hpp
C++
doc/quickbook/oglplus/quickref/bound/renderbuffer.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
null
null
null
doc/quickbook/oglplus/quickref/bound/renderbuffer.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
null
null
null
doc/quickbook/oglplus/quickref/bound/renderbuffer.hpp
Extrunder/oglplus
c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791
[ "BSL-1.0" ]
null
null
null
/* * Automatically generated file, do not edit manually! * * Copyright 2010-2015 Matus Chochlik. 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) */ //[oglplus_object_BoundObjOps_Renderbuffer template <> cl...
20.323529
103
0.780029
Extrunder
a1a7ca9b4a6336dfcea5293e79e064209618b06d
3,330
cpp
C++
src/vega/manipulators/unique_identifier_manipulator.cpp
project-eutopia/vega
c7b536c5e949094a908fa8f378729dbffc657f4a
[ "MIT" ]
18
2018-01-23T12:28:13.000Z
2022-02-13T12:23:21.000Z
src/vega/manipulators/unique_identifier_manipulator.cpp
project-eutopia/vega
c7b536c5e949094a908fa8f378729dbffc657f4a
[ "MIT" ]
2
2018-11-29T01:51:25.000Z
2022-03-22T14:14:22.000Z
src/vega/manipulators/unique_identifier_manipulator.cpp
project-eutopia/vega
c7b536c5e949094a908fa8f378729dbffc657f4a
[ "MIT" ]
6
2019-02-01T09:54:44.000Z
2022-01-09T22:13:54.000Z
#include "vega/manipulators/unique_identifier_manipulator.h" #include "vega/dicom/raw_reader.h" #include "vega/dicom/raw_writer.h" #include "vega/json.h" #include <sstream> namespace vega { namespace manipulators { UniqueIdentifierManipulator::UniqueIdentifierManipulator() : m_uid() {} UniqueIde...
26.428571
108
0.578679
project-eutopia
a1a8c21b2fa3edaba072b393fe982abd35c1de84
26
cpp
C++
chunx/policy.cpp
lockblox/chunx
3a24a509a7148f9901ba2294f5056347d718d32f
[ "Apache-2.0" ]
null
null
null
chunx/policy.cpp
lockblox/chunx
3a24a509a7148f9901ba2294f5056347d718d32f
[ "Apache-2.0" ]
null
null
null
chunx/policy.cpp
lockblox/chunx
3a24a509a7148f9901ba2294f5056347d718d32f
[ "Apache-2.0" ]
null
null
null
#include <chunx/policy.h>
13
25
0.730769
lockblox
a1a94c7b25b9ae4664464e47aedf6b7cbdefb276
1,544
hpp
C++
src/include/duckdb/execution/operator/schema/physical_create_rai.hpp
graindb/graindb
f82a52eb1772b37b172b8ae28f2f128b089639c8
[ "MIT" ]
9
2021-09-08T13:13:03.000Z
2022-03-11T21:18:05.000Z
src/include/duckdb/execution/operator/schema/physical_create_rai.hpp
graindb/graindb
f82a52eb1772b37b172b8ae28f2f128b089639c8
[ "MIT" ]
1
2021-12-10T18:06:11.000Z
2021-12-13T17:20:41.000Z
src/include/duckdb/execution/operator/schema/physical_create_rai.hpp
graindb/graindb
f82a52eb1772b37b172b8ae28f2f128b089639c8
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // DuckDB // // duckdb/execution/operator/schema/physical_create_edge.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/catalog/catalog_entry/...
37.658537
106
0.661269
graindb
a1a9aad823aeabe081f0a5d2c3d636a0e05e3197
22,441
hpp
C++
GMPHD_MAF/utils.hpp
SonginCV/GMPHD_MAF
101feed8e05ed012dc80d4704cc9bf2fac937796
[ "BSD-2-Clause" ]
6
2021-03-04T23:19:02.000Z
2021-12-03T13:22:42.000Z
GMPHD_MAF/utils.hpp
SonginCV/MAF_HDA
6660d4def4aae96e9d358373cffa1794327314f8
[ "BSD-2-Clause" ]
1
2021-06-17T22:03:03.000Z
2021-06-21T12:47:03.000Z
GMPHD_MAF/utils.hpp
SonginCV/GMPHD_SAF
391e9791e9e5178a58f81c25b21c01adc7e4a79b
[ "BSD-2-Clause" ]
1
2021-11-09T13:19:52.000Z
2021-11-09T13:19:52.000Z
/* BSD 2-Clause License Copyright (c) 2021, Young-min Song, Machine Learning and Vision Lab (https://sites.google.com/view/mlv/), Gwangju Institute of Science and Technology(GIST), South Korea. All rights reserved. This software is an implementation of the GMPHD_MAF tracker, which not only refers to the paper entitle...
33.644678
161
0.695958
SonginCV
a1adbd5cd1e2364db2fdaba609959cdfce0a3b90
691
cpp
C++
codeforces/1256B.cpp
larc/competitive_programming
deccd7152a14adf217c58546d1cf8ac6b45f1c52
[ "MIT" ]
1
2019-05-23T19:05:39.000Z
2019-05-23T19:05:39.000Z
codeforces/1256B.cpp
larc/oremor
deccd7152a14adf217c58546d1cf8ac6b45f1c52
[ "MIT" ]
null
null
null
codeforces/1256B.cpp
larc/oremor
deccd7152a14adf217c58546d1cf8ac6b45f1c52
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> #include <string> #include <vector> #include <map> #include <queue> #include <stack> #define N 101 using namespace std; int main() { int q, n, P[N], pos[N], x, p, o; scanf("%d", &q); while(q--) { scanf("%d", &n); for(int i = 1; i <= n; ++i) { scanf("%d", P + i); ...
12.339286
34
0.434153
larc
a1af884d6468df54c82777d134e0ba1ad5fb97dc
9,397
hpp
C++
src/ApplicationIO.hpp
RyoTTa/geopm
74246c8ce70ee47f53bc5629638f51c2c391027b
[ "BSD-3-Clause" ]
null
null
null
src/ApplicationIO.hpp
RyoTTa/geopm
74246c8ce70ee47f53bc5629638f51c2c391027b
[ "BSD-3-Clause" ]
null
null
null
src/ApplicationIO.hpp
RyoTTa/geopm
74246c8ce70ee47f53bc5629638f51c2c391027b
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015, 2016, 2017, 2018, 2019, Intel Corporation * * 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 ...
48.189744
89
0.629669
RyoTTa
a1b06e81b6f2edea5d010b601df7bc56db6eb2e8
205
cpp
C++
Source/CPP_Inventory/CPP_Inventory.cpp
nerliss/HodgepodgeFPS
7f802b351594bc09453981e923057215de7d7c63
[ "Apache-2.0" ]
null
null
null
Source/CPP_Inventory/CPP_Inventory.cpp
nerliss/HodgepodgeFPS
7f802b351594bc09453981e923057215de7d7c63
[ "Apache-2.0" ]
null
null
null
Source/CPP_Inventory/CPP_Inventory.cpp
nerliss/HodgepodgeFPS
7f802b351594bc09453981e923057215de7d7c63
[ "Apache-2.0" ]
null
null
null
// Copyright Epic Games, Inc. All Rights Reserved. #include "CPP_Inventory.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, CPP_Inventory, "CPP_Inventory" );
29.285714
88
0.8
nerliss
a1b20576b82c0a56f9a278cf5548a3c70f1c3fd3
18,824
cpp
C++
nnforge/plain/network_tester_plain.cpp
yanshanjing/nnForge
6d2baa1174a90b8e5e8bf2a4b259ce8a37fbddf1
[ "Apache-2.0" ]
1
2015-02-19T15:51:55.000Z
2015-02-19T15:51:55.000Z
nnforge/plain/network_tester_plain.cpp
yanshanjing/nnForge
6d2baa1174a90b8e5e8bf2a4b259ce8a37fbddf1
[ "Apache-2.0" ]
null
null
null
nnforge/plain/network_tester_plain.cpp
yanshanjing/nnForge
6d2baa1174a90b8e5e8bf2a4b259ce8a37fbddf1
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2011-2014 Maxim Milakov * * 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 applic...
45.033493
216
0.716745
yanshanjing
a1b4c68691756e29125feb79b04a7703c2ab5e8c
8,425
cpp
C++
Ray/Graphics/Pipelines/Shader/RShaderReflection.cpp
CAt0mIcS/NodePlanningEditor
d332fcef0dd2b7747727a7cb03edffba26abb1f7
[ "MIT" ]
null
null
null
Ray/Graphics/Pipelines/Shader/RShaderReflection.cpp
CAt0mIcS/NodePlanningEditor
d332fcef0dd2b7747727a7cb03edffba26abb1f7
[ "MIT" ]
null
null
null
Ray/Graphics/Pipelines/Shader/RShaderReflection.cpp
CAt0mIcS/NodePlanningEditor
d332fcef0dd2b7747727a7cb03edffba26abb1f7
[ "MIT" ]
null
null
null
#include "Rpch.h" #include "RShaderReflection.h" #include "Filesystem/RJSON.h" #include "Utils/RException.h" #include "Utils/RAssert.h" using namespace rapidjson; namespace At0::Ray { ShaderReflection::ShaderReflection(const std::string& filepath) { JSON json(filepath); Document& doc = json.GetDocument(); ...
32.156489
95
0.725816
CAt0mIcS
a1baea76b8a779f2e5f1b147f7db80ec00ca5066
2,912
cpp
C++
Shiny_Engine/ModuleMousePicking.cpp
AleixCas95/Shiny_Engine
a5dca52725ed20c11f929a581e1b442988ec3237
[ "MIT" ]
null
null
null
Shiny_Engine/ModuleMousePicking.cpp
AleixCas95/Shiny_Engine
a5dca52725ed20c11f929a581e1b442988ec3237
[ "MIT" ]
null
null
null
Shiny_Engine/ModuleMousePicking.cpp
AleixCas95/Shiny_Engine
a5dca52725ed20c11f929a581e1b442988ec3237
[ "MIT" ]
null
null
null
#include "ModuleMousePicking.h" #include "Application.h" #include "ModuleWindow.h" #include "ModuleGameObject.h" #include "ComponentMesh.h" ModuleMousePicking::ModuleMousePicking(Application* app, bool start_enabled) : Module(app, start_enabled) { } ModuleMousePicking::~ModuleMousePicking() { } update_status Module...
30.652632
126
0.607486
AleixCas95
a1c44d143fd82c81df731216965a0d573dfffc61
938,115
cpp
C++
Labyrint/labyball/Classes/Native/Bulk_Generics_1.cpp
mimietti/Labyball
c4b03f5b5d5ec1a1cae5831d22391bc2a171230f
[ "MIT" ]
null
null
null
Labyrint/labyball/Classes/Native/Bulk_Generics_1.cpp
mimietti/Labyball
c4b03f5b5d5ec1a1cae5831d22391bc2a171230f
[ "MIT" ]
23
2016-07-21T13:03:02.000Z
2016-10-03T12:43:01.000Z
Labyrint/labyball/Classes/Native/Bulk_Generics_1.cpp
mimietti/Labyball
c4b03f5b5d5ec1a1cae5831d22391bc2a171230f
[ "MIT" ]
1
2019-09-08T17:32:17.000Z
2019-09-08T17:32:17.000Z
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> // System.Collections.Generic.Dictionary`2<System.Object,System.Boolean> struct Dictionary_2_t3198324071...
55.89341
757
0.794187
mimietti
a1c712c114157031fe7e0d5944bfdcca493b4c36
24,570
cpp
C++
LibApplications/SoftApplication/TreeControl/TreeControl.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
3
2021-08-02T04:03:03.000Z
2022-01-04T07:31:20.000Z
LibApplications/Dx9Application/TreeControl/TreeControl.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
null
null
null
LibApplications/Dx9Application/TreeControl/TreeControl.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
5
2019-10-13T02:44:19.000Z
2021-08-02T04:03:10.000Z
// Geometric Tools, Inc. // http://www.geometrictools.com // Copyright (c) 1998-2006. All Rights Reserved // // The Wild Magic Version 4 Restricted Libraries source code is supplied // under the terms of the license agreement // http://www.geometrictools.com/License/Wm4RestrictedLicense.pdf // and may not be copie...
18.013196
78
0.696581
wjezxujian
a1c7d7cc944f3a4b419ef1712962b5f226818143
31,576
cpp
C++
tests/unittests/common/LruCacheByDataSizeStrategyUnitTest.cpp
commshare/easyhttpcpp
757ec75679c1cbc5f04c81a30133f4bcd3e780f4
[ "MIT" ]
null
null
null
tests/unittests/common/LruCacheByDataSizeStrategyUnitTest.cpp
commshare/easyhttpcpp
757ec75679c1cbc5f04c81a30133f4bcd3e780f4
[ "MIT" ]
null
null
null
tests/unittests/common/LruCacheByDataSizeStrategyUnitTest.cpp
commshare/easyhttpcpp
757ec75679c1cbc5f04c81a30133f4bcd3e780f4
[ "MIT" ]
null
null
null
/* * Copyright 2017 Sony Corporation */ #include "gmock/gmock.h" #include "gtest/gtest.h" #include "easyhttpcpp/common/CacheStrategyListener.h" #include "easyhttpcpp/common/LruCacheByDataSizeStrategy.h" #include "MockCacheStrategyListener.h" using easyhttpcpp::testutil::MockCacheStrategyListener; namespace easyht...
40.795866
126
0.77106
commshare
a1c829db298978bb9822550701c3cd5666a5697f
981
hpp
C++
adaptors/default/stream/stream_cpi_data.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
adaptors/default/stream/stream_cpi_data.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
adaptors/default/stream/stream_cpi_data.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
// Copyright (c) 2005-2009 Hartmut Kaiser // Copyright (c) 2005-2007 Andre Merzky (andre@merzky.net) // // 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 ADAPTORS_DEFAULT_STREAM_CPI_DATA_HPP #define ADA...
29.727273
81
0.633028
saga-project
a1cda20542e83c0cab0d56717d2c318a9e3fe87c
738
cpp
C++
basics/enums.cpp
mjakebarrington/CPP-Exercises
9bb01f66ae9861c4d5323738fb478f15ad7e691c
[ "MIT" ]
null
null
null
basics/enums.cpp
mjakebarrington/CPP-Exercises
9bb01f66ae9861c4d5323738fb478f15ad7e691c
[ "MIT" ]
null
null
null
basics/enums.cpp
mjakebarrington/CPP-Exercises
9bb01f66ae9861c4d5323738fb478f15ad7e691c
[ "MIT" ]
null
null
null
/* * ENUMERATIONS * Enumerations are initialized using the keyword enum. They allow us to create * a sort of user defined type. This lets us create variables whose values * can only be set to the possibilities we have enumerated. */ #include <iostream> enum RGB { // As always, enumerators are case-sensitive. ...
29.52
114
0.668022
mjakebarrington
a1cdb6550dcc7f3a3fc6ff5161e6ec5845263998
14,976
cpp
C++
Tests/CPP_Bindings/Source/Properties.cpp
geaz/lib3mf
fd07e571a869f5c495a3beea014d341d67c9d405
[ "BSD-2-Clause" ]
null
null
null
Tests/CPP_Bindings/Source/Properties.cpp
geaz/lib3mf
fd07e571a869f5c495a3beea014d341d67c9d405
[ "BSD-2-Clause" ]
null
null
null
Tests/CPP_Bindings/Source/Properties.cpp
geaz/lib3mf
fd07e571a869f5c495a3beea014d341d67c9d405
[ "BSD-2-Clause" ]
null
null
null
/*++ Copyright (C) 2019 3MF Consortium All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followi...
35.15493
158
0.743723
geaz
a1d0808cc14df39dfa4fbefd637152f5c43a0b8b
45,301
cpp
C++
patch/3dsystem/hwinsert.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
3
2021-10-10T11:12:03.000Z
2021-11-04T16:46:57.000Z
patch/3dsystem/hwinsert.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
null
null
null
patch/3dsystem/hwinsert.cpp
Tonyx97/TombMP
7eb2d265df2fe7312b7ed07dd5943736340b921c
[ "MIT" ]
null
null
null
#include <specific/standard.h> #include <specific/drawprimitive.h> #include <specific/hwrender.h> #include <specific/global.h> #include <main.h> #include "hwinsert.h" #define UV_MUL (1.f / 65536.f) #define SHADOW_BIAS 131072 #define RED_SHADE 128 #define GREEN_SHADE 224 #define ALPHA_OPAQUE 0xff000000 //#define...
22.493049
172
0.584005
Tonyx97
a1d82677a73957099c4133b830744e3f75aeed85
2,903
cpp
C++
src/vcfreader.cpp
vdanjean/MutScan
281c5eade87a236b2e716c91191d9dd19de0e582
[ "MIT" ]
null
null
null
src/vcfreader.cpp
vdanjean/MutScan
281c5eade87a236b2e716c91191d9dd19de0e582
[ "MIT" ]
null
null
null
src/vcfreader.cpp
vdanjean/MutScan
281c5eade87a236b2e716c91191d9dd19de0e582
[ "MIT" ]
null
null
null
#include "vcfreader.h" #include "util.h" #include <sstream> VcfReader::VcfReader(string faFile) { // Set locale and disable stdio synchronization to improve iostream performance // http://www.drdobbs.com/the-standard-librarian-iostreams-and-std/184401305 // http://stackoverflow.com/questions/5166263/how-t...
23.991736
108
0.555288
vdanjean
a1d91fbe23039861d673ea069c5a9ff636a03674
7,928
cpp
C++
source/xyo/xyo-datastructures-json.cpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
source/xyo/xyo-datastructures-json.cpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
source/xyo/xyo-datastructures-json.cpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
// // XYO // // Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com> // Created by Grigore Stefan <g_stefan@yahoo.com> // // MIT License (MIT) <http://opensource.org/licenses/MIT> // #include "xyo-managedmemory-tmemory.hpp" #include "xyo-parser-token.hpp" #include "xyo-stream-memoryread.hpp" #includ...
26.165017
115
0.567482
g-stefan
a1dc0112d4306978cf3f5ca5b262f84d19e3ecbc
3,050
cpp
C++
lib/sensors/src/Gyro.cpp
automat-ed/simulation
061e7b4b229a545d7f7348248aaf340542a62248
[ "MIT" ]
1
2021-02-01T23:19:30.000Z
2021-02-01T23:19:30.000Z
lib/sensors/src/Gyro.cpp
automat-ed/simulation
061e7b4b229a545d7f7348248aaf340542a62248
[ "MIT" ]
34
2021-01-27T17:17:26.000Z
2021-04-13T17:23:41.000Z
lib/sensors/src/Gyro.cpp
automat-ed/simulation
061e7b4b229a545d7f7348248aaf340542a62248
[ "MIT" ]
null
null
null
#include "sensors/Gyro.hpp" #include "sensor_msgs/Imu.h" #include "tf2/LinearMath/Quaternion.h" #include "tf2_ros/static_transform_broadcaster.h" #include "webots/Gyro.hpp" #include "webots/Supervisor.hpp" #include <random> using namespace AutomatED; Gyro::Gyro(webots::Supervisor *webots_supervisor, ros::NodeHandle *...
27.232143
79
0.70918
automat-ed
a1dd66da588c8f5c65866d819d07f8ee9064f96b
465
hpp
C++
include/nanikanizer/relu_expression.hpp
planaria/nanikanizer
b1da7a434c04f78c01538572c39db373c73bfe9d
[ "BSD-3-Clause" ]
12
2016-01-22T14:27:39.000Z
2022-01-20T12:05:51.000Z
include/nanikanizer/relu_expression.hpp
planaria/nanikanizer
b1da7a434c04f78c01538572c39db373c73bfe9d
[ "BSD-3-Clause" ]
null
null
null
include/nanikanizer/relu_expression.hpp
planaria/nanikanizer
b1da7a434c04f78c01538572c39db373c73bfe9d
[ "BSD-3-Clause" ]
3
2016-08-29T07:14:11.000Z
2020-01-29T08:43:33.000Z
#pragma once #include "unary_operator_expression.hpp" #include "math_util.hpp" namespace nnk { struct relu_operator { template <class T> static T forward(T x) { return relu(x); } template <class T> static void backward(T& x_grad, T x, T /*y*/, T y_grad) { if(x >= static_cast<T>(0.0)) x_gra...
14.090909
57
0.647312
planaria
a1df8aac00b27dd963dbd7eb180343b347b87082
3,077
cpp
C++
main.cpp
ArturMania/KA_Obiektowo_2
7e740a99bfc38c7a29ec737154f5758f5caad43d
[ "Unlicense" ]
null
null
null
main.cpp
ArturMania/KA_Obiektowo_2
7e740a99bfc38c7a29ec737154f5758f5caad43d
[ "Unlicense" ]
null
null
null
main.cpp
ArturMania/KA_Obiektowo_2
7e740a99bfc38c7a29ec737154f5758f5caad43d
[ "Unlicense" ]
null
null
null
#include <iostream> #include <vector> #include "KsiazkaAdresowa.h" using namespace std; int main() { KsiazkaAdresowa ksiazkaAdresowa("Uzytkownicy.txt","KsiazkaAdresowa.txt"); char znak; int idZalogowanegoUzytkownika=0; while(true) { if(ksiazkaAdresowa.czyUzytkownikJestZalogowany()) { ...
23.135338
81
0.527462
ArturMania
a1e05b48826d655ce29194b8b0f3b29449736997
15,105
hpp
C++
benchmarks/nearestNeighbors/STANN/include/parlay_sfcnn.hpp
fengqingthu/pbbsbench_for_semisort
6accaa2a0de5747471267a0da97ddedb04795806
[ "MIT" ]
null
null
null
benchmarks/nearestNeighbors/STANN/include/parlay_sfcnn.hpp
fengqingthu/pbbsbench_for_semisort
6accaa2a0de5747471267a0da97ddedb04795806
[ "MIT" ]
null
null
null
benchmarks/nearestNeighbors/STANN/include/parlay_sfcnn.hpp
fengqingthu/pbbsbench_for_semisort
6accaa2a0de5747471267a0da97ddedb04795806
[ "MIT" ]
null
null
null
/*****************************************************************************/ /* */ /* Header: sfcnn.hpp */ /* */ ...
32.002119
130
0.636941
fengqingthu
a1e3756caa34007b11b008c220340ddd97986391
841
cpp
C++
Aditya Verma DP/CoinChangeMaximumNumberOfCombination.cpp
work-mohit/Placement-Practice
396e61f7980991b2d6392589f26f917981c135ab
[ "MIT" ]
null
null
null
Aditya Verma DP/CoinChangeMaximumNumberOfCombination.cpp
work-mohit/Placement-Practice
396e61f7980991b2d6392589f26f917981c135ab
[ "MIT" ]
null
null
null
Aditya Verma DP/CoinChangeMaximumNumberOfCombination.cpp
work-mohit/Placement-Practice
396e61f7980991b2d6392589f26f917981c135ab
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/coin-change-2/ class Solution { public: int change(int amount, vector<int>& coins) { int n = coins.size(); int dp[n+1][amount + 1]; // initalization code for(int i = 0; i < n+1; i++){ for(int j = 0; j < amount + 1; j++){...
26.28125
66
0.313912
work-mohit
a1e61972db345d345c45be284763f1e6a587acd5
11,901
cpp
C++
unittest/module/module-resolver-tests.cpp
localh0rzd/napajs
b3f5e67dd20caef5d96ea8c3e3d4c542fcb9a431
[ "MIT" ]
9,088
2017-08-08T22:28:16.000Z
2019-05-05T14:57:12.000Z
unittest/module/module-resolver-tests.cpp
localh0rzd/napajs
b3f5e67dd20caef5d96ea8c3e3d4c542fcb9a431
[ "MIT" ]
172
2017-08-09T21:32:15.000Z
2019-05-03T21:21:05.000Z
unittest/module/module-resolver-tests.cpp
localh0rzd/napajs
b3f5e67dd20caef5d96ea8c3e3d4c542fcb9a431
[ "MIT" ]
370
2017-08-09T04:58:14.000Z
2019-04-13T18:59:29.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. #include <catch/catch.hpp> #include <module/loader/module-resolver.h> #include <platform/filesystem.h> #include <platform/os.h> #include <platform/process.h> #include <sstream> using namespace napa; using namespace napa:...
44.573034
132
0.604739
localh0rzd
a1e8c5d52a10284820af3f2a5ca7101455197b65
6,852
hpp
C++
GosuImpl/Graphics/DrawOp.hpp
cajun-code/gosu
a82c821d391f8014b287e7663f3b0465aea71d6c
[ "MIT" ]
1
2015-11-05T05:08:26.000Z
2015-11-05T05:08:26.000Z
GosuImpl/Graphics/DrawOp.hpp
cajun-code/gosu
a82c821d391f8014b287e7663f3b0465aea71d6c
[ "MIT" ]
null
null
null
GosuImpl/Graphics/DrawOp.hpp
cajun-code/gosu
a82c821d391f8014b287e7663f3b0465aea71d6c
[ "MIT" ]
null
null
null
#ifndef GOSUIMPL_DRAWOP_HPP #define GOSUIMPL_DRAWOP_HPP #include <Gosu/GraphicsBase.hpp> #include <Gosu/Color.hpp> #include <GosuImpl/Graphics/Common.hpp> #include <GosuImpl/Graphics/TexChunk.hpp> #include <cassert> namespace Gosu { struct DrawOp { // For sorting before drawing the queue. ZPos...
38.27933
143
0.498103
cajun-code
a1e8c8e9b1cb0d2ceae55f797472b563829bab1f
301
cpp
C++
CppCore/CppCore/functionDefaultParam.cpp
paramAki/RestartCpp
20ce0bac46c6578d49bdbaa89acb0f5be11e2d7e
[ "MIT" ]
null
null
null
CppCore/CppCore/functionDefaultParam.cpp
paramAki/RestartCpp
20ce0bac46c6578d49bdbaa89acb0f5be11e2d7e
[ "MIT" ]
null
null
null
CppCore/CppCore/functionDefaultParam.cpp
paramAki/RestartCpp
20ce0bac46c6578d49bdbaa89acb0f5be11e2d7e
[ "MIT" ]
null
null
null
// // functionDefaultParam.cpp // CppCore // // Created by paramAki on 2021/11/17. // //#include <iostream> // //using namespace std; // //void func(int a, int b = 10, int c = 5){ // cout << "a + b + c = " << a + b + c << endl; //} // //int main(){ // func(10, 20, 40); // return 0; //}
15.05
50
0.498339
paramAki
a1e9e63bc1de153b83d8cb0c4be699c9cab1a110
1,700
hpp
C++
packages/utility/distribution/src/Utility_SpatialDistribution.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/utility/distribution/src/Utility_SpatialDistribution.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/utility/distribution/src/Utility_SpatialDistribution.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file Utility_SpatialDistribution.hpp //! \author Alex Robinson //! \brief Spatial distribution class declaration. //! //---------------------------------------------------------------------------// #ifndef UTILITY_SPATIAL_DISTR...
28.333333
79
0.598235
lkersting
a1eabbdf9c6589847c9a375aa1cf8929c5593887
324
cpp
C++
04-branches/4.28-optional-smallest-number/solution.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
2
2020-09-04T22:06:06.000Z
2020-09-09T04:00:25.000Z
04-branches/4.28-optional-smallest-number/solution.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
14
2020-08-24T01:44:36.000Z
2021-01-01T08:44:17.000Z
04-branches/4.28-optional-smallest-number/solution.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
1
2020-09-04T22:13:13.000Z
2020-09-04T22:13:13.000Z
#include <iostream> using namespace std; int main() { int num1, num2, num3; cin >> num1 >> num2 >> num3; if (num1 < num2 && num1 < num3) { cout << num1 << endl; } else if (num2 < num1 && num2 < num3) { cout << num2 << endl; } else { cout << num3 << endl; } return 0...
17.052632
44
0.481481
trangnart
a1ee553dbc9fac8b5865998ff2fb1213a697d459
4,975
cc
C++
test/cctest/wasm/test-wasm-codegen.cc
lazyparser/v8
5ce1ded10dc130c67e3933772815718c95a14074
[ "BSD-3-Clause" ]
27
2020-01-03T13:24:03.000Z
2022-03-10T12:55:57.000Z
test/cctest/wasm/test-wasm-codegen.cc
lazyparser/v8
5ce1ded10dc130c67e3933772815718c95a14074
[ "BSD-3-Clause" ]
5
2021-02-13T18:06:42.000Z
2021-02-13T18:06:44.000Z
test/cctest/wasm/test-wasm-codegen.cc
lazyparser/v8
5ce1ded10dc130c67e3933772815718c95a14074
[ "BSD-3-Clause" ]
5
2020-07-15T01:23:29.000Z
2021-02-20T21:42:52.000Z
// Copyright 2017 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Tests effects of (CSP) "unsafe-eval" and "wasm-eval" callback functions. // // Note: These tests are in a separate test file because the tests dynami...
37.406015
79
0.708543
lazyparser
a1f3639352890ce6990ce81b1665e6068ee7d2a7
3,561
hpp
C++
third_party/gfootball_engine/src/utils.hpp
Jonas1711/football
6a20dcb832da71d4e97e094e4afa060533aa7dcc
[ "Apache-2.0" ]
2
2021-03-16T06:46:38.000Z
2021-09-14T02:01:16.000Z
third_party/gfootball_engine/src/utils.hpp
Jonas1711/football
6a20dcb832da71d4e97e094e4afa060533aa7dcc
[ "Apache-2.0" ]
null
null
null
third_party/gfootball_engine/src/utils.hpp
Jonas1711/football
6a20dcb832da71d4e97e094e4afa060533aa7dcc
[ "Apache-2.0" ]
4
2020-07-30T17:02:42.000Z
2022-01-03T19:32:53.000Z
// Copyright 2019 Google LLC & Bastiaan Konings // 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 o...
27.183206
172
0.772536
Jonas1711
a1f5fe00f8e7d9e3201d347f2d0b6ecd588f38e8
1,126
cpp
C++
solutions/380.insert-delete-getrandom-o1.317167220.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/380.insert-delete-getrandom-o1.317167220.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/380.insert-delete-getrandom-o1.317167220.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
class RandomizedSet { vector<int> elements; unordered_map<int, int> mp; public: /** Initialize your data structure here. */ RandomizedSet() {} /** Inserts a value to the set. Returns true if the set did not already * contain the specified element. */ bool insert(int val) { if (mp.count(val)) ...
21.653846
73
0.622558
satu0king
a1f8e33d95c510cd7685874f27496e08e5f21088
7,171
cc
C++
src/xzero/raft/Storage.cc
pjsaksa/x0
96b69e5a54b006e3d929b9934c2708f7967371bb
[ "MIT" ]
24
2016-07-10T08:05:11.000Z
2021-11-16T10:53:48.000Z
src/xzero/raft/Storage.cc
pjsaksa/x0
96b69e5a54b006e3d929b9934c2708f7967371bb
[ "MIT" ]
14
2015-04-12T10:45:26.000Z
2016-06-28T22:27:50.000Z
src/xzero/raft/Storage.cc
pjsaksa/x0
96b69e5a54b006e3d929b9934c2708f7967371bb
[ "MIT" ]
4
2016-10-05T17:51:38.000Z
2020-04-20T07:45:23.000Z
// This file is part of the "x0" project, http://github.com/christianparpart/x0> // (c) 2009-2018 Christian Parpart <christian@parpart.family> // // Licensed under the MIT License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of // the License at: http://op...
24.642612
112
0.691396
pjsaksa
a1fa4208b67abfd4f654684c0677e7b92e1dae69
4,349
cxx
C++
source-files-cache.cxx
stoyan-shopov/turbo
155f91ecee2bed6a2fff0c8929384c5cdf67601e
[ "MIT" ]
3
2021-04-09T12:57:15.000Z
2021-04-17T16:52:45.000Z
source-files-cache.cxx
stoyan-shopov/turbo
155f91ecee2bed6a2fff0c8929384c5cdf67601e
[ "MIT" ]
null
null
null
source-files-cache.cxx
stoyan-shopov/turbo
155f91ecee2bed6a2fff0c8929384c5cdf67601e
[ "MIT" ]
null
null
null
/* * Copyright (C) 2021 Stoyan Shopov <stoyan.shopov@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, ...
37.17094
163
0.707519
stoyan-shopov
a1fd28ec841151026d28e3577634be99bfe9f67a
926
hpp
C++
includes/eeros/control/Mux.hpp
bajric/eeros
157dcfa87f87f55bc2fec703ea2c4eb1c27a35c8
[ "Apache-2.0" ]
null
null
null
includes/eeros/control/Mux.hpp
bajric/eeros
157dcfa87f87f55bc2fec703ea2c4eb1c27a35c8
[ "Apache-2.0" ]
null
null
null
includes/eeros/control/Mux.hpp
bajric/eeros
157dcfa87f87f55bc2fec703ea2c4eb1c27a35c8
[ "Apache-2.0" ]
null
null
null
#ifndef ORG_EEROS_CONTROL_MUX_HPP_ #define ORG_EEROS_CONTROL_MUX_HPP_ #include <eeros/control/Block.hpp> #include <eeros/math/Matrix.hpp> #include <eeros/control/Input.hpp> #include <eeros/control/Output.hpp> namespace eeros { namespace control { template < uint32_t N, typename T = double, typename C...
21.045455
88
0.603672
bajric
a1fdf7a2fab6545f0a4b4015a44f18aec49c4846
1,399
cpp
C++
interface/source/rendersystem_bind.cpp
fire-archive/llcoi
e0d2c30ba231e62e98b1322f1a1b01a89b9abb00
[ "MIT" ]
null
null
null
interface/source/rendersystem_bind.cpp
fire-archive/llcoi
e0d2c30ba231e62e98b1322f1a1b01a89b9abb00
[ "MIT" ]
null
null
null
interface/source/rendersystem_bind.cpp
fire-archive/llcoi
e0d2c30ba231e62e98b1322f1a1b01a89b9abb00
[ "MIT" ]
1
2021-11-30T23:13:38.000Z
2021-11-30T23:13:38.000Z
/* __ __ _ * / // /_____ ____ (_) * / // // ___// __ \ / / * / // // /__ / /_/ // / * /_//_/ \___/ \____//_/ * https://bitbucket.org/galaktor/llcoi * copyright (c) 2011, llcoi Team * MIT license applies - see file "LICENSE" for details. */ #include "rendersystem_bind.h" #include...
31.795455
116
0.717655
fire-archive
b801e25e1feb64672153413e5c13d94ffa54c1fe
682
hpp
C++
53 - Raycast Fix/src/Raycast.hpp
ThatGamesGuy/that_platform_game
90c80ebb4e890b9e4684ec87841b4bf4e446a3d1
[ "MIT" ]
55
2018-06-19T08:22:47.000Z
2022-03-30T01:02:59.000Z
53 - Raycast Fix/src/Raycast.hpp
ThatGamesGuy/that_platform_game
90c80ebb4e890b9e4684ec87841b4bf4e446a3d1
[ "MIT" ]
null
null
null
53 - Raycast Fix/src/Raycast.hpp
ThatGamesGuy/that_platform_game
90c80ebb4e890b9e4684ec87841b4bf4e446a3d1
[ "MIT" ]
21
2019-04-19T15:39:08.000Z
2022-02-20T11:21:13.000Z
#ifndef Raycast_hpp #define Raycast_hpp #include "Object.hpp" #include "S_Collidable.hpp" struct RaycastResult { Object* collision; CollisionLayer layer; }; class Raycast { public: Raycast(Quadtree& collisions); RaycastResult Cast(const sf::Vector2f& from, const sf::Vector2f& to, int exclusionID...
23.517241
96
0.708211
ThatGamesGuy