hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
030eafb0b7ac23687c5efb8afc68be333019151f
157
hpp
C++
examples/Basics/Objects/MultipleConstructors/Spot.hpp
RedErr404/cprocessing
ab8ef25ea3e4bcd915f9c086b649696866ea77ca
[ "BSD-2-Clause" ]
12
2015-01-12T07:43:22.000Z
2022-03-08T06:43:20.000Z
examples/Basics/Objects/MultipleConstructors/Spot.hpp
RedErr404/cprocessing
ab8ef25ea3e4bcd915f9c086b649696866ea77ca
[ "BSD-2-Clause" ]
null
null
null
examples/Basics/Objects/MultipleConstructors/Spot.hpp
RedErr404/cprocessing
ab8ef25ea3e4bcd915f9c086b649696866ea77ca
[ "BSD-2-Clause" ]
7
2015-02-09T15:44:10.000Z
2019-07-07T11:48:10.000Z
#ifndef SPOT_H_ #define SPOT_H_ class Spot { public: float x, y, radius; Spot(); Spot(float xpos, float ypos, float r); void display(); }; #endif
11.214286
40
0.649682
RedErr404
030efcd4bd56bbf3445de59d7ef7886102b22d89
4,502
cpp
C++
Source/FieldSolver/SpectralSolver/WrapCuFFT.cpp
hklion/WarpX
3c2d0ee2815ab1df21b9f78d899fe7b1a9651758
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/FieldSolver/SpectralSolver/WrapCuFFT.cpp
hklion/WarpX
3c2d0ee2815ab1df21b9f78d899fe7b1a9651758
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/FieldSolver/SpectralSolver/WrapCuFFT.cpp
hklion/WarpX
3c2d0ee2815ab1df21b9f78d899fe7b1a9651758
[ "BSD-3-Clause-LBNL" ]
null
null
null
/* Copyright 2019-2020 * * This file is part of WarpX. * * License: BSD-3-Clause-LBNL */ #include "AnyFFT.H" #include "Utils/TextMsg.H" namespace AnyFFT { #ifdef AMREX_USE_FLOAT cufftType VendorR2C = CUFFT_R2C; cufftType VendorC2R = CUFFT_C2R; #else cufftType VendorR2C = CUFFT_D2Z; cufftType Ve...
34.106061
100
0.585962
hklion
0314cd14d8bc1bd3410ee61d527455edd1a0d8ab
1,307
cpp
C++
indexer/string_slice.cpp
kudlav/organicmaps
390236365749e0525b9229684132c2888d11369d
[ "Apache-2.0" ]
4,879
2015-09-30T10:56:36.000Z
2022-03-31T18:43:03.000Z
indexer/string_slice.cpp
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
7,549
2015-09-30T10:52:53.000Z
2022-03-31T22:04:22.000Z
indexer/string_slice.cpp
mbrukman/omim
d22fe2b6e0beee697f096e931df97a64f9db9dc1
[ "Apache-2.0" ]
1,493
2015-09-30T10:43:06.000Z
2022-03-21T09:16:49.000Z
#include "indexer/string_slice.hpp" namespace search { JoinIterator::JoinIterator(StringSliceBase const & slice, Position position) : m_slice(slice) { if (position == Position::Begin) { m_string = 0; m_offset = 0; Normalize(); } else { m_string = GetMaxSize(); m_offset = 0; } } // stat...
17.426667
93
0.65264
kudlav
031534265173163ed8b078d9d9431b00a532b6e0
1,429
cpp
C++
lib/basic/internal/MemPool.cpp
carnegie-technologies/pravala-toolkit
77dac4a910dc0692b7515a8e3b77d34eb2888256
[ "Apache-2.0" ]
null
null
null
lib/basic/internal/MemPool.cpp
carnegie-technologies/pravala-toolkit
77dac4a910dc0692b7515a8e3b77d34eb2888256
[ "Apache-2.0" ]
null
null
null
lib/basic/internal/MemPool.cpp
carnegie-technologies/pravala-toolkit
77dac4a910dc0692b7515a8e3b77d34eb2888256
[ "Apache-2.0" ]
2
2020-02-07T00:16:51.000Z
2020-02-11T15:10:45.000Z
/* * Copyright 2019 Carnegie Technologies * * 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 l...
23.42623
76
0.650105
carnegie-technologies
03171215338a1be7a3feb28569f1d9d896e00b31
2,616
hpp
C++
include/tinymath/impl/vec4_t_avx_impl.hpp
wpumacay/tiny_math
e8b6f972344f2297c40121ccd45bc704ad2474c3
[ "MIT" ]
null
null
null
include/tinymath/impl/vec4_t_avx_impl.hpp
wpumacay/tiny_math
e8b6f972344f2297c40121ccd45bc704ad2474c3
[ "MIT" ]
3
2021-10-13T21:55:05.000Z
2022-02-18T00:50:00.000Z
include/tinymath/impl/vec4_t_avx_impl.hpp
wpumacay/tiny_math
e8b6f972344f2297c40121ccd45bc704ad2474c3
[ "MIT" ]
null
null
null
#pragma once #if defined(TINYMATH_AVX_ENABLED) #include <immintrin.h> #include <tinymath/vec4_t.hpp> /** * AVX instruction sets required for each kernel: * * - kernel_add_v4d : AVX * - kernel_sub_v4d : AVX * - kernel_scale_v4d : AVX * - kernel_hadamard_v4d ...
33.974026
80
0.621177
wpumacay
03175d0092112734f5bb759fc792973c9de43d16
6,356
cpp
C++
Core/PawnEngine/engine/data/AssimpLoader.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
Core/PawnEngine/engine/data/AssimpLoader.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
Core/PawnEngine/engine/data/AssimpLoader.cpp
obivan43/pawnengine
ec092fa855d41705f3fb55fcf1aa5e515d093405
[ "MIT" ]
null
null
null
#include "AssimpLoader.h" #include "MeshNodeData.h" #include "assimp/Importer.hpp" #include "assimp/scene.h" #include "assimp/postprocess.h" #include "PawnGraphics/graphics/GraphicsBuffer.h" #include "PawnGraphics/graphics/GraphicsInputLayout.h" #include "PawnGraphics/graphics/GraphicsShader.h" #include "...
33.989305
171
0.689899
obivan43
0317628ab7974cb8dc9f3e4d1c23ad6aea2bd20d
2,975
cpp
C++
src/base/CollisionManager.cpp
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
src/base/CollisionManager.cpp
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
src/base/CollisionManager.cpp
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
/* * Copyright 2018 <copyright holder> <email> * * 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 la...
35.416667
154
0.631933
serserar
03190068520782c4c3c2e061e34bad33800edf0d
1,110
hpp
C++
src/server/server.hpp
TheSonOfDeimos/TCP-File-Transfer
1bd258e05767cb96a6b8d9739ff319a328f7198b
[ "MIT" ]
null
null
null
src/server/server.hpp
TheSonOfDeimos/TCP-File-Transfer
1bd258e05767cb96a6b8d9739ff319a328f7198b
[ "MIT" ]
8
2020-05-21T22:03:27.000Z
2020-06-28T20:30:03.000Z
src/server/server.hpp
TheSonOfDeimos/TCP-File-Transfer
1bd258e05767cb96a6b8d9739ff319a328f7198b
[ "MIT" ]
null
null
null
#ifndef SERVER_H #define SERVER_H #include <boost/asio.hpp> class Session { public: Session(boost::asio::io_service& t_io_service, const std::string& t_file_dir_path); boost::asio::ip::tcp::socket& socket(); void start(); private: void handleReadFileSize(const boost::system::error_code& t_error, const s...
25.813953
178
0.741441
TheSonOfDeimos
031a7c9cba96b8967ae6b24499f57bf5d4e84078
4,318
cc
C++
chrome/browser/prefs/command_line_pref_store_unittest.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
2
2017-09-02T19:08:28.000Z
2021-11-15T15:15:14.000Z
chrome/browser/prefs/command_line_pref_store_unittest.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/prefs/command_line_pref_store_unittest.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
1
2020-04-13T05:45:10.000Z
2020-04-13T05:45:10.000Z
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <gtest/gtest.h> #include "app/app_switches.h" #include "base/command_line.h" #include "base/string_util.h" #include "base/values.h" #include...
34
80
0.761464
Gitman1989
031a9cb64baaba5ba400c78f1bc822396b90ae90
1,993
cpp
C++
lib/bson/src/Element/Timestamp.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
lib/bson/src/Element/Timestamp.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
lib/bson/src/Element/Timestamp.cpp
astateful/dyplat
37c37c7ee9f55cc2a3abaa0f8ebbde34588d2f44
[ "BSD-3-Clause" ]
null
null
null
#include "astateful/bson/Element/Timestamp.hpp" namespace astateful { namespace bson { ElementTimestamp::ElementTimestamp( const std::string& key, int32_t increment, int32_t second ) : m_increment( increment ), m_second( second ), Element( key ) {} ElementTimestam...
29.308824
75
0.545409
astateful
031f11d03eda29d624feaf3aa9e23d38a13c9254
6,165
cpp
C++
test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetClassMethods/getclmthd007/getclmthd007.cpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
null
null
null
test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetClassMethods/getclmthd007/getclmthd007.cpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
null
null
null
test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetClassMethods/getclmthd007/getclmthd007.cpp
1690296356/jdk
eaf668d1510c28d51e26c397b582b66ebdf7e263
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
28.279817
96
0.569667
1690296356
03247edd45d05df98526828eed142e8e0b145d84
221
cpp
C++
Cplusplus/week_four/homework/inventory.cpp
nexusstar/SoftUni
b97bdb08a227fd335df5b7869940c14717f760f2
[ "MIT" ]
1
2016-12-20T19:53:03.000Z
2016-12-20T19:53:03.000Z
Cplusplus/week_four/homework/inventory.cpp
nexusstar/SoftUni
b97bdb08a227fd335df5b7869940c14717f760f2
[ "MIT" ]
null
null
null
Cplusplus/week_four/homework/inventory.cpp
nexusstar/SoftUni
b97bdb08a227fd335df5b7869940c14717f760f2
[ "MIT" ]
null
null
null
#include "inventory.h" #include <iostream> Inventory::Inventory() { } Inventory::~Inventory(){ for(Item* item : items){ delete item; } } void Inventory::addItem(Item* item){ items.push_back(item); }
14.733333
36
0.633484
nexusstar
0326e70b4dcd95027a0fdc621d549570f737347e
978
cpp
C++
solutions/1286.iterator-for-combination.326123792.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/1286.iterator-for-combination.326123792.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/1286.iterator-for-combination.326123792.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
class CombinationIterator { string s; int l; vector<int> indices; bool _hasNext = true; void _setNext() { for (int i = l - 1; i >= 0; i--) { if (indices[i] != s.size() - (l - i)) { indices[i]++; for (int j = i + 1; j < l; j++) { indices[j] = indices[j - 1] + 1; } ...
22.227273
75
0.562372
satu0king
033191cb2ba8722bc66f16b0d96eadb798b733e0
3,141
cpp
C++
RainbowNoise/src/Main/RandomPickPointsSites.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
24
2016-12-13T09:48:17.000Z
2022-01-13T03:24:45.000Z
RainbowNoise/src/Main/RandomPickPointsSites.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
2
2019-03-29T06:44:41.000Z
2019-11-12T03:14:25.000Z
RainbowNoise/src/Main/RandomPickPointsSites.cpp
1iyiwei/noise
0d1be2030518517199dff5c7e7514ee072037d59
[ "MIT" ]
8
2016-11-09T15:54:19.000Z
2021-04-08T14:04:17.000Z
/* RandomPickPointsSites.cpp from a given sample set, randomly classify them into multiple classes of samples plus points Li-Yi Wei 07/19/2009 */ #include <iostream> #include <fstream> #include <vector> #include <deque> #include <string> #include <memory> using namespace std; #include <stdlib.h> #includ...
22.76087
131
0.577523
1iyiwei
0331df4b05dfecb4d359fe750865eedf6597cebe
7,322
cpp
C++
src/storage/page/hash_table_directory_page.cpp
epis2048/cmu_15445_2021
48b56b2e139facfbad99b45fca3e26f3aef9cf72
[ "MIT" ]
3
2022-02-18T04:38:40.000Z
2022-03-22T12:40:51.000Z
src/storage/page/hash_table_directory_page.cpp
epis2048/cmu_15445_2021
48b56b2e139facfbad99b45fca3e26f3aef9cf72
[ "MIT" ]
null
null
null
src/storage/page/hash_table_directory_page.cpp
epis2048/cmu_15445_2021
48b56b2e139facfbad99b45fca3e26f3aef9cf72
[ "MIT" ]
3
2022-03-06T18:31:28.000Z
2022-03-27T13:16:05.000Z
//===----------------------------------------------------------------------===// // // BusTub // // hash_table_header_page.cpp // // Identification: src/storage/page/hash_table_header_page.cpp // // Copyright (c) 2015-2021, Carnegie Mellon University Database Group // //===----------------------...
32.834081
111
0.699399
epis2048
0336f4b93db280a8629dbbb9632bd20ca6aa3500
168
hpp
C++
c++/chapter_1/3_linecount/linecount.hpp
jezhiggins/stiX
4794d69f847b1c8557e2cdf21aa1b35d11965df7
[ "MIT" ]
8
2015-04-12T02:44:16.000Z
2021-12-02T23:11:30.000Z
c++/chapter_1/3_linecount/linecount.hpp
jezhiggins/stiX
4794d69f847b1c8557e2cdf21aa1b35d11965df7
[ "MIT" ]
null
null
null
c++/chapter_1/3_linecount/linecount.hpp
jezhiggins/stiX
4794d69f847b1c8557e2cdf21aa1b35d11965df7
[ "MIT" ]
null
null
null
#ifndef STICPP_LINECOUNT_HPP #define STICPP_LINECOUNT_HPP #include <iosfwd> namespace stiX { size_t linecount(std::istream &in); } #endif //STICPP_LINECOUNT_HPP
15.272727
39
0.77381
jezhiggins
033a15ef7f18cd379dae8b94658905a468f855e2
97
cpp
C++
Foundation/Test/TestFixture.cpp
cristian-szabo/benchmark-numeric-conversion
837c9a483b18523e2660a4102ba714c0ff1bf16e
[ "MIT" ]
null
null
null
Foundation/Test/TestFixture.cpp
cristian-szabo/benchmark-numeric-conversion
837c9a483b18523e2660a4102ba714c0ff1bf16e
[ "MIT" ]
null
null
null
Foundation/Test/TestFixture.cpp
cristian-szabo/benchmark-numeric-conversion
837c9a483b18523e2660a4102ba714c0ff1bf16e
[ "MIT" ]
null
null
null
#include "TestFixture.hpp" void TestFixture::Setup() {} void TestFixture::Teardown() {}
12.125
29
0.659794
cristian-szabo
033a2824770e7f6bc1e873ae1d4f35cd7fbb0af0
1,448
hpp
C++
sycl/include/CL/sycl/detail/event_info.hpp
jcranmer-intel/llvm-sycl
45dbbd128e4793681ed9d40a3c018f44c17449ec
[ "Apache-2.0" ]
1
2020-09-25T23:33:05.000Z
2020-09-25T23:33:05.000Z
sycl/include/CL/sycl/detail/event_info.hpp
Ralender/sycl
1fcd1e6d3da10024be92148501aced30ae3aa2be
[ "Apache-2.0" ]
null
null
null
sycl/include/CL/sycl/detail/event_info.hpp
Ralender/sycl
1fcd1e6d3da10024be92148501aced30ae3aa2be
[ "Apache-2.0" ]
null
null
null
//==---------------- event_info.hpp - SYCL event ---------------------------==// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
31.478261
80
0.654006
jcranmer-intel
033b4ee6caffcecd4e0ca4bece10cfcafdccd737
8,965
cpp
C++
src/drivers/Adafruit_IL0373.cpp
makermelissa/Adafruit_EPD
52f7ea260035f6e39ec122ffd534ab1095043b88
[ "MIT" ]
82
2018-07-29T07:14:01.000Z
2022-03-24T20:47:35.000Z
src/drivers/Adafruit_IL0373.cpp
makermelissa/Adafruit_EPD
52f7ea260035f6e39ec122ffd534ab1095043b88
[ "MIT" ]
40
2018-08-11T17:57:00.000Z
2022-03-31T06:40:20.000Z
src/drivers/Adafruit_IL0373.cpp
makermelissa/Adafruit_EPD
52f7ea260035f6e39ec122ffd534ab1095043b88
[ "MIT" ]
40
2018-07-29T07:14:02.000Z
2022-03-28T19:34:08.000Z
#include "Adafruit_IL0373.h" #include "Adafruit_EPD.h" #define EPD_RAM_BW IL0373_DTM1 #define EPD_RAM_RED IL0373_DTM2 #define BUSY_WAIT 100 // clang-format off const uint8_t il0373_default_init_code[] { IL0373_POWER_SETTING, 5, 0x03, 0x00, 0x2b, 0x2b, 0x09, IL0373_BOOSTER_SOFT_START, 3, 0x17, 0x17, 0x17, ...
26.523669
80
0.530842
makermelissa
033f0780acb45235e533bcf1602e987845fe5ba5
7,327
cpp
C++
soe/src/v20180724/SoeClient.cpp
li5ch/tencentcloud-sdk-cpp
12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
soe/src/v20180724/SoeClient.cpp
li5ch/tencentcloud-sdk-cpp
12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
soe/src/v20180724/SoeClient.cpp
li5ch/tencentcloud-sdk-cpp
12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * 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 ...
34.07907
213
0.700696
li5ch
033ffddc8db4e8d377d0c608147e51769606973d
4,908
cpp
C++
utils/vvcompose/lua_tvec3d.cpp
rosik/vvflow
87caadf3973b31058a16a1372365ae8a7a157cdb
[ "MIT" ]
29
2020-08-05T16:08:35.000Z
2022-02-21T06:43:01.000Z
utils/vvcompose/lua_tvec3d.cpp
rosik/vvflow
87caadf3973b31058a16a1372365ae8a7a157cdb
[ "MIT" ]
6
2021-01-07T21:29:57.000Z
2021-06-28T20:54:04.000Z
utils/vvcompose/lua_tvec3d.cpp
rosik/vvflow
87caadf3973b31058a16a1372365ae8a7a157cdb
[ "MIT" ]
6
2020-07-24T06:53:54.000Z
2022-01-06T06:12:45.000Z
#include "lua_tvec3d.h" #include "lua_tvec.h" #include "getset.h" #include "elementary.h" // #include <cstdio> #include <cstring> static int tvec3d_tostring(lua_State *L) { TVec3D* vec = lua_checkTVec3D(L, 1); lua_pushfstring(L, "TVec3D(%f,%f,%f)", vec->r.x, vec->r.y, vec->o); return 1; } static int tve...
25.696335
85
0.582315
rosik
03403139a85d8ec489c4ed2463b6797e8d9a66d5
8,111
cpp
C++
Tests/DiligentCoreAPITest/src/D3D11/DrawCommandReferenceD3D11.cpp
AndreyMlashkin/DiligentCore
20d5d7d2866e831a73437db2dec16bdc61413eb0
[ "Apache-2.0" ]
null
null
null
Tests/DiligentCoreAPITest/src/D3D11/DrawCommandReferenceD3D11.cpp
AndreyMlashkin/DiligentCore
20d5d7d2866e831a73437db2dec16bdc61413eb0
[ "Apache-2.0" ]
null
null
null
Tests/DiligentCoreAPITest/src/D3D11/DrawCommandReferenceD3D11.cpp
AndreyMlashkin/DiligentCore
20d5d7d2866e831a73437db2dec16bdc61413eb0
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019-2021 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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/LICENS...
39.373786
180
0.707311
AndreyMlashkin
03403507413db328a98871561454d7721cef3ae8
2,654
cpp
C++
src/tracer/render_task.cpp
JakMobius/zeta_path_tracer
f17ac4e882319c6dd7dff545f7f1e1bf9cb045e1
[ "MIT" ]
3
2021-09-13T14:41:22.000Z
2021-09-18T07:59:15.000Z
src/tracer/render_task.cpp
JakMobius/zeta_path_tracer
f17ac4e882319c6dd7dff545f7f1e1bf9cb045e1
[ "MIT" ]
2
2021-03-26T15:04:54.000Z
2021-09-13T13:20:59.000Z
src/tracer/render_task.cpp
JakMobius/zeta_path_tracer
f17ac4e882319c6dd7dff545f7f1e1bf9cb045e1
[ "MIT" ]
3
2021-03-23T22:42:43.000Z
2021-12-18T21:58:58.000Z
#include "render_task.h" RenderTask::RenderTask(): id(0), min_x(0), max_x(0), min_y(0), max_y(0) {} RenderTask::RenderTask(const int min_x_, const int max_x_, const int min_y_, const int max_y_, const int id_): id(id_), min_x(min_x_), max_x(max_x_), min_y(min_y_), max_y(max_y_) {} int RenderTask::width() const { r...
24.574074
128
0.661643
JakMobius
034253fd6e198f6d89a9511f173043d70f8263b0
1,416
cpp
C++
code/mdma_c++98/src/objects/eventmanager.cpp
Amxx/MDMA
3be4269e252712081c70522f2af56463da5ac868
[ "CECILL-B" ]
1
2022-01-17T06:39:22.000Z
2022-01-17T06:39:22.000Z
code/mdma_c++98/src/objects/eventmanager.cpp
Amxx/MDMA
3be4269e252712081c70522f2af56463da5ac868
[ "CECILL-B" ]
null
null
null
code/mdma_c++98/src/objects/eventmanager.cpp
Amxx/MDMA
3be4269e252712081c70522f2af56463da5ac868
[ "CECILL-B" ]
null
null
null
#include "eventmanager.h" EventManager::EventManager(QObject* parent) : QObject(parent) { } void EventManager::run_messages(EventZone& evz, QList<MDMA::event> msgs) { //for(MDMA::event msg: msgs) for(QList<MDMA::event>::Iterator it = msgs.begin() ; it != msgs.end() ; ++it) { switch(evz.active[*it...
25.745455
147
0.622175
Amxx
0344113bcbf673ce428083ee01ae7d05a32b98cc
3,748
cpp
C++
src/lib/tide/javascript/js_list.cpp
badlee/TideSDK
fe6f6c93c6cab3395121696f48d3b55d43e1eddd
[ "Apache-2.0" ]
1
2021-09-18T10:10:39.000Z
2021-09-18T10:10:39.000Z
src/lib/tide/javascript/js_list.cpp
hexmode/TideSDK
2c0276de08d7b760b53416bbd8038d79b8474fc5
[ "Apache-2.0" ]
1
2022-02-08T08:45:29.000Z
2022-02-08T08:45:29.000Z
src/lib/tide/javascript/js_list.cpp
hexmode/TideSDK
2c0276de08d7b760b53416bbd8038d79b8474fc5
[ "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2012 - 2014 TideSDK contributors * http://www.tidesdk.org * Includes modified sources under the Apache 2 License * Copyright (c) 2008 - 2012 Appcelerator Inc * Refer to LICENSE for details of distribution and use. **/ #include "javascript_module.h" namespace tide { KKJSList::KKJSList(JS...
28.393939
89
0.605923
badlee
0347800199d44960f266096d0a62b989232a1432
57,150
cpp
C++
beam/node.cpp
akhavr/beam
99e427f6ba0a0ee1a0dbe598d0fa6d642e571d62
[ "Apache-2.0" ]
null
null
null
beam/node.cpp
akhavr/beam
99e427f6ba0a0ee1a0dbe598d0fa6d642e571d62
[ "Apache-2.0" ]
null
null
null
beam/node.cpp
akhavr/beam
99e427f6ba0a0ee1a0dbe598d0fa6d642e571d62
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 The Beam Team // // 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...
22.823482
187
0.684934
akhavr
0348dc46e827451cb0c2dd3508f5e856e4ba248e
11,793
cc
C++
chrome/browser/history/top_sites_cache_unittest.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/history/top_sites_cache_unittest.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/history/top_sites_cache_unittest.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/history/top_sites_cache.h" #include <set> #include "base/basictypes.h" #include "base/logging.h" #include "base/strings/string1...
41.819149
80
0.656491
nagineni
034bab886bab27c6d6d9d0eb41429f083ce419b8
771,638
cc
C++
cpp/pdpb.pb.cc
Xavier1994/kvproto
cd1e088a4e0452ffb021b8985a4fca8dad48120a
[ "Apache-2.0" ]
null
null
null
cpp/pdpb.pb.cc
Xavier1994/kvproto
cd1e088a4e0452ffb021b8985a4fca8dad48120a
[ "Apache-2.0" ]
null
null
null
cpp/pdpb.pb.cc
Xavier1994/kvproto
cd1e088a4e0452ffb021b8985a4fca8dad48120a
[ "Apache-2.0" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: pdpb.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "pdpb.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/stubs/once.h> #include <google/p...
34.149318
143
0.720905
Xavier1994
0354741f060f11a48db2ebbfecf741e006b44bdf
1,627
cpp
C++
test/testUtil/testConcurrent/testBlockingLinkedList/testBlockingLinkedList_ToArray.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
27
2019-04-27T00:51:22.000Z
2022-03-30T04:05:44.000Z
test/testUtil/testConcurrent/testBlockingLinkedList/testBlockingLinkedList_ToArray.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
9
2020-05-03T12:17:50.000Z
2021-10-15T02:18:47.000Z
test/testUtil/testConcurrent/testBlockingLinkedList/testBlockingLinkedList_ToArray.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
1
2019-04-16T01:45:36.000Z
2019-04-16T01:45:36.000Z
#include <stdio.h> #include <unistd.h> #include "Thread.hpp" #include "Runnable.hpp" #include "BlockingLinkedList.hpp" #include "Integer.hpp" #include "System.hpp" using namespace obotcha; void testBlockingLinkedListToArray() { while(1) { BlockingLinkedList<String> list = createBlockingLinkedList<String>...
26.241935
78
0.534726
wangsun1983
03554db1d88a8c08e0932d8cc0824f1e60253b65
11,985
cc
C++
hackt_docker/hackt/src/misc/sudoku.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/misc/sudoku.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/misc/sudoku.cc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "sudoku.cc" $Id: sudoku.cc,v 1.3 2006/04/03 19:36:24 fang Exp $ */ #include <iostream> #include <iomanip> #include <algorithm> #include "misc/sudoku.hh" // some handy compile-switches #define DEBUG_LOAD 0 #define STEP_SOLVE 0 #define DEBUG_SOLVE 0 #define REVEAL_SOLUTION 1 // print as they are found ...
23.454012
79
0.48761
broken-wheel
03579941da381427fecd548493e09e3e3a4b4501
2,613
cpp
C++
editor.cpp
erikbryant/mines
bd27ca7775581dab769a27f90dd88d965392886e
[ "MIT" ]
null
null
null
editor.cpp
erikbryant/mines
bd27ca7775581dab769a27f90dd88d965392886e
[ "MIT" ]
null
null
null
editor.cpp
erikbryant/mines
bd27ca7775581dab769a27f90dd88d965392886e
[ "MIT" ]
null
null
null
// // Copyright Erik Bryant (erikbryantology@gmail.com) // GPLv2 http://www.gnu.org/licenses/gpl-2.0.html // #include <iostream> #include <stdio.h> #include <unistd.h> #include <termios.h> #include <stdlib.h> #include <string.h> #include "board.hpp" using namespace std; // // Copied from the web. // Write your own...
19.355556
52
0.420972
erikbryant
0357dad3c38b2e3d4b4bd5aed5332716affbbe0b
1,356
cpp
C++
POJ/3304/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
POJ/3304/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
POJ/3304/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cmath> #define maxn 110 #define eps 1e-8 #define abs(x) ((x)<0?(-(x)):(x)) #define sqr(x) ((x)*(x)) using namespace std; int n; struct Point{ double x,y; Point(double _x=0,double _y=0){x=_x;y=_y;} }a[maxn],b[maxn]; Point operator-(Point a,Point b){return Point(a.x-b.x,a....
27.12
77
0.594395
sjj118
0359da506f3ffaf34921342d9c06ef6fe0c598d0
14,127
cpp
C++
llvm/tools/clang/test/CM_diagnostics/member_functions/select.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
115
2018-02-01T18:56:44.000Z
2022-03-21T13:23:00.000Z
llvm/tools/clang/test/CM_diagnostics/member_functions/select.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
27
2018-09-17T17:49:49.000Z
2021-11-03T04:31:51.000Z
llvm/tools/clang/test/CM_diagnostics/member_functions/select.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
55
2018-02-01T07:11:49.000Z
2022-03-04T01:20:23.000Z
// RUN: %cmc -ferror-limit=99 %w 2>&1 | FileCheck %w #include <cm/cm.h> vector<int,16> v1; vector<short,15> v2; matrix<int,16,4> m1; struct S1 { int a; } s1; struct S2 { int select; } s2; int i, j; const int two = 2; const int minus_two = -2; _GENX_MAIN_ void test() { vector_ref<int,8> r1 = v1.select; ...
78.049724
140
0.560487
dmitryryintel
035cb2cbbc514dfc7f704158894b86c17b2d7897
5,094
hpp
C++
include/exchcxx/util/param_macros.hpp
ValeevGroup/ExchCXX
7a8f7ac8d2e9384706975b8fa02d23770c20aa44
[ "BSD-3-Clause-LBNL" ]
16
2020-08-26T00:40:50.000Z
2022-03-05T01:16:43.000Z
include/exchcxx/util/param_macros.hpp
ValeevGroup/ExchCXX
7a8f7ac8d2e9384706975b8fa02d23770c20aa44
[ "BSD-3-Clause-LBNL" ]
6
2020-10-13T22:14:57.000Z
2021-09-15T19:59:19.000Z
include/exchcxx/util/param_macros.hpp
ValeevGroup/ExchCXX
7a8f7ac8d2e9384706975b8fa02d23770c20aa44
[ "BSD-3-Clause-LBNL" ]
5
2019-05-09T21:03:17.000Z
2020-10-09T16:55:03.000Z
#pragma once #ifdef EXCHCXX_HAS_CONFIG_H #include <exchcxx/exchcxx_config.hpp> #endif namespace ExchCXX { using host_buffer_type = double*; using const_host_buffer_type = const double*; #ifdef EXCHCXX_ENABLE_CUDA using device_buffer_type = double*; using const_device_buffer_type = const double*...
44.295652
81
0.832744
ValeevGroup
035d29f268c6ad436cca792c7ab87ef8c5cd9e1c
4,506
hpp
C++
include/HMUI/HierarchyManager.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/HMUI/HierarchyManager.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/HMUI/HierarchyManager.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBehaviour.hpp" #i...
45.515152
296
0.723924
darknight1050
035e108faf4da914a59b28119110ceccd4ca5d29
217
cpp
C++
src/Core/Game.cpp
CollegeBart/bart-sdl-engine-h16
878e19139a25fcef5924e99d17874545cdd28df5
[ "MIT" ]
null
null
null
src/Core/Game.cpp
CollegeBart/bart-sdl-engine-h16
878e19139a25fcef5924e99d17874545cdd28df5
[ "MIT" ]
5
2016-05-09T18:18:53.000Z
2016-05-09T18:21:53.000Z
src/Core/Game.cpp
CollegeBart/bart-sdl-engine-h16
878e19139a25fcef5924e99d17874545cdd28df5
[ "MIT" ]
null
null
null
#include "Game.h" Game::Game() { } Game::~Game() { } void Game::Start() { Scene::Start(); } void Game::Update() { Scene::Update(); } void Game::Draw() { Scene::Draw(); } void Game::Stop() { Scene::Stop(); }
7.233333
19
0.543779
CollegeBart
035f33ef7770e1a320dcc898718632cadb45c099
1,326
hpp
C++
datastructures/datastructures/is_iterator.hpp
mraasvel/data_structures_cpp
4324d103c46c6e29ee37a4c0e681f1468e90364f
[ "MIT" ]
null
null
null
datastructures/datastructures/is_iterator.hpp
mraasvel/data_structures_cpp
4324d103c46c6e29ee37a4c0e681f1468e90364f
[ "MIT" ]
null
null
null
datastructures/datastructures/is_iterator.hpp
mraasvel/data_structures_cpp
4324d103c46c6e29ee37a4c0e681f1468e90364f
[ "MIT" ]
null
null
null
#pragma once #include <type_traits> #include <iterator> namespace DS { namespace Detail { template <typename T> struct MakeType { using type = void; }; template <typename Iterator> struct _IsIterator { using valid = char[1]; using invalid = char[2]; template <typename T> static valid& test( ty...
24.555556
117
0.72549
mraasvel
0362b152aec9bc475555a3547584ff04528d7995
779
hpp
C++
include/eosio/float.hpp
swang-b1/abieos
52ea28c0c2d771d101a2fe0ae4d176bb35a2f0cb
[ "MIT" ]
40
2018-07-19T02:40:21.000Z
2022-03-31T19:30:52.000Z
include/eosio/float.hpp
swang-b1/abieos
52ea28c0c2d771d101a2fe0ae4d176bb35a2f0cb
[ "MIT" ]
36
2018-06-30T14:06:01.000Z
2022-01-22T05:21:33.000Z
include/eosio/float.hpp
swang-b1/abieos
52ea28c0c2d771d101a2fe0ae4d176bb35a2f0cb
[ "MIT" ]
36
2018-07-19T02:40:22.000Z
2022-03-14T13:51:59.000Z
#pragma once #ifdef __eosio_cdt__ namespace eosio { using float32 = float; using float64 = double; using float128 = long double; } // namespace eosio #else # include <eosio/fixed_bytes.hpp> # include <limits> namespace eosio { using float32 = float; using float64 = double; using float128 = fixed_bytes<1...
21.638889
80
0.667522
swang-b1
24e9961a20b65ad7cfaf9c45bbeeb1af676b94dd
2,394
hh
C++
CosmicRayShieldGeom/inc/CRSScintillatorLayer.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2021-05-25T19:10:10.000Z
2021-05-25T19:10:10.000Z
CosmicRayShieldGeom/inc/CRSScintillatorLayer.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
1
2019-11-22T14:45:51.000Z
2019-11-22T14:50:03.000Z
CosmicRayShieldGeom/inc/CRSScintillatorLayer.hh
bonventre/Offline
77db9d6368f27ab9401c690c2c2a4257ade6c231
[ "Apache-2.0" ]
2
2019-10-14T17:46:58.000Z
2020-03-30T21:05:15.000Z
#ifndef CosmicRayShieldGeom_CRSScintillatorLayer_hh #define CosmicRayShieldGeom_CRSScintillatorLayer_hh // // Representation of one Scintillator Layer in CosmicRayShield // // $Id: CRSScintillatorLayer.hh,v 1.10 2014/02/10 14:23:03 ehrlich Exp $ // $Author: ehrlich $ // $Date: 2014/02/10 14:23:03 $ // // Original auth...
29.555556
95
0.703425
bonventre
24ed1deb54775af6eaa3378f80fd930767955237
39,996
cpp
C++
Cpp/SDK/UISettingsWindow_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
1
2020-08-15T08:31:55.000Z
2020-08-15T08:31:55.000Z
Cpp/SDK/UISettingsWindow_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
2
2020-08-15T08:43:56.000Z
2021-01-15T05:04:48.000Z
Cpp/SDK/UISettingsWindow_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
2
2020-08-10T12:05:42.000Z
2021-02-12T19:56:10.000Z
// Name: S, Version: b #include "../SDK.h" #ifdef _MSC_VER #pragma pack(push, 0x01) #endif /*!!HELPER_DEF!!*/ /*!!DEFINE!!*/ namespace UFT { //--------------------------------------------------------------------------- // Functions //--------------------------------------------------------------------------- // ...
47.727924
196
0.806431
MrManiak
24ee368655ab15fca9e58c53ae8d02b74b37bf7f
3,630
cpp
C++
Tools/GHGUITool/GHGUITool/GHGUITool.cpp
GoldenHammerSoftware/GH
757213f479c0fc80ed1a0f59972bf3e9d92b7526
[ "MIT" ]
null
null
null
Tools/GHGUITool/GHGUITool/GHGUITool.cpp
GoldenHammerSoftware/GH
757213f479c0fc80ed1a0f59972bf3e9d92b7526
[ "MIT" ]
null
null
null
Tools/GHGUITool/GHGUITool/GHGUITool.cpp
GoldenHammerSoftware/GH
757213f479c0fc80ed1a0f59972bf3e9d92b7526
[ "MIT" ]
null
null
null
// GHGUITool.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "GHGUITool.h" #include "GHWin32AppLauncher.h" #include "GHGUIToolApp.h" #include "GHWin32LaunchCfg.h" #include "GHUtils/GHMessageQueue.h" #include "GHWin32Window.h" #define MAX_LOADSTRING 100 // Global Variables: HINSTAN...
26.49635
166
0.715702
GoldenHammerSoftware
24eec7547221dd877c40c009cdbfe807097b3cb8
954
cpp
C++
test/plugin/dynlib_A.cpp
ggerganov/dynamix
7530d2d6a39a0824410f2535ab5fc95d3821488f
[ "MIT" ]
580
2016-06-26T20:44:17.000Z
2022-03-30T01:26:51.000Z
test/plugin/dynlib_A.cpp
ggerganov/dynamix
7530d2d6a39a0824410f2535ab5fc95d3821488f
[ "MIT" ]
35
2016-06-28T11:15:49.000Z
2022-01-28T14:03:30.000Z
test/plugin/dynlib_A.cpp
ggerganov/dynamix
7530d2d6a39a0824410f2535ab5fc95d3821488f
[ "MIT" ]
52
2016-06-26T19:49:24.000Z
2022-01-25T18:18:31.000Z
// DynaMix // Copyright (c) 2013-2019 Borislav Stanimirov, Zahary Karadjov // // Distributed under the MIT Software License // See accompanying file LICENSE.txt or copy at // https://opensource.org/licenses/MIT // #define DYNLIB_A_SRC #include "dynlib_A.hpp" #include <dynamix/define_message.hpp> #include <dynamix/defin...
19.469388
97
0.726415
ggerganov
24ef90aab4b6b24bf0ce801d8b4668e34c83f89b
3,947
hpp
C++
tcob/include/tcob/script/LuaFunction.hpp
TobiasBohnen/tcob
53092b3c8e657f1ff5e48ce961659edf7cb1cb05
[ "MIT" ]
2
2021-08-18T19:14:35.000Z
2021-12-01T14:14:49.000Z
tcob/include/tcob/script/LuaFunction.hpp
TobiasBohnen/tcob
53092b3c8e657f1ff5e48ce961659edf7cb1cb05
[ "MIT" ]
null
null
null
tcob/include/tcob/script/LuaFunction.hpp
TobiasBohnen/tcob
53092b3c8e657f1ff5e48ce961659edf7cb1cb05
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Tobias Bohnen // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #pragma once #include <tcob/tcob_config.hpp> #include <future> #include <tcob/core/io/Logger.hpp> #include <tcob/script/LuaRef.hpp> namespace tcob::script::lua::detail { ////////////////...
26.139073
105
0.496073
TobiasBohnen
24f02e37fe84002cf445f55f23f2427a6e77677a
4,571
cc
C++
wayland/shell/xdg_shell_surface.cc
kalyankondapally/ozone-wayland
f4f72d4e5ba932c04ec714942f9e75ed5b54d271
[ "BSD-3-Clause" ]
1
2016-05-20T09:52:27.000Z
2016-05-20T09:52:27.000Z
wayland/shell/xdg_shell_surface.cc
rakuco/ozone-wayland
4a1ab0b14bc63752e2b303a5098758d48f0fe49e
[ "BSD-3-Clause" ]
null
null
null
wayland/shell/xdg_shell_surface.cc
rakuco/ozone-wayland
4a1ab0b14bc63752e2b303a5098758d48f0fe49e
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2014 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ozone/wayland/shell/xdg_shell_surface.h" #include "base/logging.h" #include "base/strings/utf_string_conversions.h" #include "ozone/wayland/displ...
32.190141
76
0.607088
kalyankondapally
24f79b2486f486ff023ef336a0178180499a5b61
2,316
cpp
C++
DSA/Special Matrices/TriDiagonalMatrix.cpp
thefool76/hacktoberfest2021
237751e17a4fc325ded29fca013fb9f5853cd27c
[ "CC0-1.0" ]
448
2021-10-01T04:24:14.000Z
2022-03-06T14:34:20.000Z
DSA/Special Matrices/TriDiagonalMatrix.cpp
Chanaka-Madushan-Herath/hacktoberfest2021
8473df9e058ccb6049720dd372342e0ea60f0e59
[ "CC0-1.0" ]
282
2021-10-01T04:29:06.000Z
2022-03-07T12:42:57.000Z
DSA/Special Matrices/TriDiagonalMatrix.cpp
Chanaka-Madushan-Herath/hacktoberfest2021
8473df9e058ccb6049720dd372342e0ea60f0e59
[ "CC0-1.0" ]
1,807
2021-10-01T04:24:02.000Z
2022-03-28T04:51:25.000Z
//Tri-Diagonal Matrix //As the name suggests, tri-Diiagonal Matrix is a Matrix such that only its three mid-Digaonals have non-zero values //So no of non-zero elements in tri Diagonal Matrix = n + n-1 + n-1 = 3*n -2, //where n = size of the matrix //In short we can describe it as following : m[i, j] != 0 if |i-j| <= ...
26.022472
116
0.48532
thefool76
24fa75a6ca83ebb07b148ec875e809be0d4da700
239
cpp
C++
src/hash.cpp
jakublala/LatticeDNAOrigamiJakub
efd1147deea534f1c9cd0ab22bc3c5dec89c3c52
[ "MIT" ]
5
2016-04-10T21:21:52.000Z
2018-07-21T15:33:07.000Z
src/hash.cpp
jakublala/LatticeDNAOrigamiJakub
efd1147deea534f1c9cd0ab22bc3c5dec89c3c52
[ "MIT" ]
2
2020-09-16T13:07:13.000Z
2020-09-16T13:08:02.000Z
src/hash.cpp
jakublala/LatticeDNAOrigamiJakub
efd1147deea534f1c9cd0ab22bc3c5dec89c3c52
[ "MIT" ]
2
2020-08-19T09:49:21.000Z
2020-08-19T10:10:06.000Z
// hash.cpp #include "hash.h" namespace std { size_t hash_value(utility::VectorThree const& v) { size_t seed = 0; for (size_t i {0}; i != 3; i++) { hash_combine(seed, v.at(i)); } return seed; } } // namespace std
17.071429
50
0.577406
jakublala
24fabb5af099c606ab5a8e6fc3b0213e05f6e0aa
712
cpp
C++
find_and_replace_pattern.cpp
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
find_and_replace_pattern.cpp
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
find_and_replace_pattern.cpp
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
class Solution { public: bool comp(string a, string b) { if (a.size() != b.size()) return false; unordered_map<char, char> values; vector<bool> used(26, false); for (int i = 0; i < a.size(); i++) if (values.find(a[i]) != values.end()) if (values[a[i]] != b[i]) return fal...
25.428571
79
0.519663
Surya-06
24fdca8dad7b7db2c4853ca3a19a760854a4c1e3
1,573
cpp
C++
Source/ActionsLib/SpecialPurposeActions.cpp
hawkjk/AI
9386b8d310f75779d75376bc25c7db810ef77c8e
[ "RSA-MD" ]
1
2021-07-06T02:57:10.000Z
2021-07-06T02:57:10.000Z
Source/ActionsLib/SpecialPurposeActions.cpp
hawkjk/AI
9386b8d310f75779d75376bc25c7db810ef77c8e
[ "RSA-MD" ]
null
null
null
Source/ActionsLib/SpecialPurposeActions.cpp
hawkjk/AI
9386b8d310f75779d75376bc25c7db810ef77c8e
[ "RSA-MD" ]
null
null
null
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.md file in the project root for full license information. // // EsotericActions.cpp -- CNTK actions that are deprecated // #define _CRT_NONSTDC_NO_DEPRECATE // make VS accept POSIX functions without _ #include "stdafx.h...
28.6
104
0.691672
hawkjk
24fedbe851c1d16887d58c9d677252a291f12bc6
794
cpp
C++
externals/binaryen/test/emscripten/tests/core/test_simd_dyncall.cpp
caokun8008/ckeos
889093599eb59c90e4cbcff2817f4421302fada1
[ "MIT" ]
40
2018-05-14T11:05:03.000Z
2020-10-20T03:03:06.000Z
externals/binaryen/test/emscripten/tests/core/test_simd_dyncall.cpp
caokun8008/ckeos
889093599eb59c90e4cbcff2817f4421302fada1
[ "MIT" ]
4
2018-06-07T02:32:21.000Z
2019-02-24T13:09:55.000Z
externals/binaryen/test/emscripten/tests/core/test_simd_dyncall.cpp
caokun8008/ckeos
889093599eb59c90e4cbcff2817f4421302fada1
[ "MIT" ]
14
2018-05-28T09:45:02.000Z
2018-12-18T10:54:26.000Z
#include <xmmintrin.h> #include <stdio.h> #include <string> __m128 getSomeSIMD() { union { __m128 m; float val[4]; } u; u.val[0] = 1; u.val[1] = 3.14159; u.val[2] = -124234234.5; u.val[3] = 99; return u.m; } __attribute__((noinline)) std::string to_str(__m128 m) { union { __m128 m; float v...
20.358974
74
0.547859
caokun8008
700077c83373c659d0a93ed2267e139f241b01d0
68,824
hpp
C++
src/core/exact_m3ig_encoder.hpp
xianghex/also
b223adc430de0ca04e16699e8f8295e4a4cb366c
[ "MIT" ]
48
2019-02-24T07:22:23.000Z
2022-03-18T05:42:18.000Z
src/core/exact_m3ig_encoder.hpp
xianghex/also
b223adc430de0ca04e16699e8f8295e4a4cb366c
[ "MIT" ]
10
2020-03-07T01:39:28.000Z
2022-02-22T12:57:18.000Z
src/core/exact_m3ig_encoder.hpp
xianghex/also
b223adc430de0ca04e16699e8f8295e4a4cb366c
[ "MIT" ]
38
2019-02-24T07:10:57.000Z
2022-03-27T08:44:28.000Z
/* also: Advanced Logic Synthesis and Optimization tool * Copyright (C) 2019- Ningbo University, Ningbo, China */ /** * @file mig_three_encoder.hpp * * @brief enonde SAT formulation to construct a MIG * * @author Zhufei Chu * @since 0.1 */ #ifndef MIG_THREE_ENCODER_HPP #define MIG_THREE_ENCODER_HPP #include...
30.876626
150
0.442883
xianghex
7001434bcbafac90ebad440de2c7b993523f8dc4
867
hpp
C++
SDK/ARKSurvivalEvolved_BossTeleporter_Dragon_Easy_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_BossTeleporter_Dragon_Easy_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_BossTeleporter_Dragon_Easy_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_BossTeleporter_Dragon_Easy_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //----------------------------------------------...
21.675
122
0.659746
2bite
700a79a446a5d92cddeae874702c8a3e1659f9f8
6,571
cpp
C++
test/source/test_euclid.cpp
luk036/projgeom-cpp
665f852e17804a251639808c509df0a675f21e1d
[ "Unlicense" ]
null
null
null
test/source/test_euclid.cpp
luk036/projgeom-cpp
665f852e17804a251639808c509df0a675f21e1d
[ "Unlicense" ]
null
null
null
test/source/test_euclid.cpp
luk036/projgeom-cpp
665f852e17804a251639808c509df0a675f21e1d
[ "Unlicense" ]
null
null
null
/* * Distributed under the MIT License (See accompanying file /LICENSE ) */ #include <doctest/doctest.h> // for ResultBuilder #include <array> // for operator== #include <boost/multiprecision/cpp_int.hpp> // for cpp_int #include <ostream> // for operator<< #in...
32.369458
92
0.546188
luk036
700d31a9a5fe181e314f009049413c1a206ca5d7
54
cpp
C++
Atropos/source/engine/IEngine.cpp
redagito/Atropos
eaf926d5826fd5d5d38a7f8e6aceda64808ba27d
[ "MIT" ]
null
null
null
Atropos/source/engine/IEngine.cpp
redagito/Atropos
eaf926d5826fd5d5d38a7f8e6aceda64808ba27d
[ "MIT" ]
null
null
null
Atropos/source/engine/IEngine.cpp
redagito/Atropos
eaf926d5826fd5d5d38a7f8e6aceda64808ba27d
[ "MIT" ]
null
null
null
#include "IEngine.h" IEngine::~IEngine() { return; }
9
20
0.648148
redagito
7011c47b9c91cf1a219084ab56559706834d3314
2,276
cpp
C++
data/usma_optitrack/src/transform_to_coords.cpp
khairulislam/phys
fc702520fcd3b23022b9253e7d94f878978b4500
[ "MIT" ]
null
null
null
data/usma_optitrack/src/transform_to_coords.cpp
khairulislam/phys
fc702520fcd3b23022b9253e7d94f878978b4500
[ "MIT" ]
null
null
null
data/usma_optitrack/src/transform_to_coords.cpp
khairulislam/phys
fc702520fcd3b23022b9253e7d94f878978b4500
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <tf/transform_listener.h> #include <sensor_msgs/NavSatFix.h> #include <geometry_msgs/TwistStamped.h> #include <std_msgs/Float64.h> // #include <mavlink/common/mavlink_msg_hil_gps.h> #include "mocap_optitrack/latlon_conversions.h" #include <cmath> #include <string> namespace { double...
27.421687
90
0.665202
khairulislam
7012189fb103117335311dd68c75f8d7c805025f
1,873
hpp
C++
engine/src/Debug/Debug.hpp
aleksigron/graphics-toolkit
f8e60c57316a72dff9de07512e9771deb3799208
[ "MIT" ]
null
null
null
engine/src/Debug/Debug.hpp
aleksigron/graphics-toolkit
f8e60c57316a72dff9de07512e9771deb3799208
[ "MIT" ]
null
null
null
engine/src/Debug/Debug.hpp
aleksigron/graphics-toolkit
f8e60c57316a72dff9de07512e9771deb3799208
[ "MIT" ]
null
null
null
#pragma once #include "Core/Optional.hpp" #include "Core/StringView.hpp" #include "Math/Vec2.hpp" class Allocator; class AllocatorManager; class RenderDevice; class MeshManager; class ShaderManager; class TextureManager; class Window; class Renderer; class World; class Framebuffer; class DebugVectorRenderer; class ...
19.715789
107
0.787507
aleksigron
7013d7e4491aefbb8257cfbd44a9ac03a75e2717
1,926
cpp
C++
src/v_0_2_.cpp
heyfaraday/CMBcpp2
1038c37b535fc631272b6313e5b4b401188be5e3
[ "MIT" ]
1
2018-05-21T22:50:33.000Z
2018-05-21T22:50:33.000Z
src/v_0_2_.cpp
heyfaraday/CMBcpp2
1038c37b535fc631272b6313e5b4b401188be5e3
[ "MIT" ]
null
null
null
src/v_0_2_.cpp
heyfaraday/CMBcpp2
1038c37b535fc631272b6313e5b4b401188be5e3
[ "MIT" ]
1
2022-02-13T04:26:45.000Z
2022-02-13T04:26:45.000Z
#include <iostream> #include <fstream> #include <chealpix.h> #include <cmath> #include <fft.hpp> #include <utils.hpp> #include <parameters.hpp> #include "constants.hpp" #include <io.hpp> #include "pml.hpp" #include "aml.hpp" #include "functionals.hpp" int main() { typedef std::numeric_limits<long double> dbl; ...
32.1
131
0.671859
heyfaraday
701409f837231ba9f179f039f4939e9751c8b212
8,395
cpp
C++
libs/math/test/test_ellint_2.cpp
zyiacas/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
11
2015-07-12T13:04:52.000Z
2021-05-30T23:23:46.000Z
libs/math/test/test_ellint_2.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
null
null
null
libs/math/test/test_ellint_2.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
3
2015-12-23T01:51:57.000Z
2019-08-25T04:58:32.000Z
// Copyright Xiaogang Zhang 2006 // Copyright John Maddock 2006, 2007 // Copyright Paul A. Bristow 2007 // Use, modification and distribution are subject to 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 <pc...
39.046512
163
0.663848
zyiacas
70196262aeafb53bce5d218ac8a4ecce15b36f91
211
cpp
C++
remove_duplicates_from_sorted_list.cpp
spencercjh/sync-leetcode-today-problem-cpp-example
178a974e5848e3a620f4565170b459d50ecfdd6b
[ "Apache-2.0" ]
null
null
null
remove_duplicates_from_sorted_list.cpp
spencercjh/sync-leetcode-today-problem-cpp-example
178a974e5848e3a620f4565170b459d50ecfdd6b
[ "Apache-2.0" ]
1
2020-12-17T07:54:03.000Z
2020-12-17T08:00:22.000Z
remove_duplicates_from_sorted_list.cpp
spencercjh/sync-leetcode-today-problem-cpp-example
178a974e5848e3a620f4565170b459d50ecfdd6b
[ "Apache-2.0" ]
null
null
null
/** * https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list/ * * @author spencercjh */ class RemoveDuplicatesFromSortedList { public: ListNode* deleteDuplicates(ListNode* head) { } }
16.230769
71
0.706161
spencercjh
701eff9ab6dd545f19cedc88963bcf1237f342e9
4,793
hpp
C++
include/LiveProfiler/Utils/Platform/Linux/LinuxPerfEntry.hpp
cpv-project/live-profiler
1ee3e2a8fa4de5c17d834ceaf69e63917e40093c
[ "MIT" ]
19
2017-11-29T09:11:12.000Z
2022-03-01T16:33:46.000Z
include/LiveProfiler/Utils/Platform/Linux/LinuxPerfEntry.hpp
cpv-project/live-profiler
1ee3e2a8fa4de5c17d834ceaf69e63917e40093c
[ "MIT" ]
9
2017-12-06T03:21:40.000Z
2018-08-23T10:41:29.000Z
include/LiveProfiler/Utils/Platform/Linux/LinuxPerfEntry.hpp
cpv-project/live-profiler
1ee3e2a8fa4de5c17d834ceaf69e63917e40093c
[ "MIT" ]
7
2017-11-29T11:13:11.000Z
2019-12-18T22:21:51.000Z
#pragma once #include <unistd.h> #include <linux/perf_event.h> #include <sys/mman.h> #include <vector> #include <cassert> namespace LiveProfiler { /** * Class contains perf_events releated data. * MMAP layout: * - first page, type is perf_event_mmap_page* * - ring buffer, element size is indeterminate * mma...
29.95625
99
0.679115
cpv-project
70208eb284e760ac626316407eed1148cdd9d268
3,857
cxx
C++
StRoot/StStarLogger/logging/TxEventLogFactory.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StStarLogger/logging/TxEventLogFactory.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StStarLogger/logging/TxEventLogFactory.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
#include <sstream> #include <iostream> #include <fstream> #include <regex.h> #include <cstring> #include "TxEventLogFactory.h" #include "TxEventLogWeb.h" #include "TxEventLogCollector.h" using namespace TxLogging; //_________________________________________________________________ TxEventLog* TxEventLogFactory::crea...
30.856
106
0.595541
xiaohaijin
7020b1fa434954f530d8689261606dacf4dd0b94
1,492
cpp
C++
multimedia/wmdm_sr1/wmdm/spinfo.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
multimedia/wmdm_sr1/wmdm/spinfo.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
multimedia/wmdm_sr1/wmdm/spinfo.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "stdafx.h" #include "mswmdm.h" #include "spinfo.h" #include "loghelp.h" // We don't want to dll's using our lib to link to drmutil2.lib. // So disable DRM logging. #define DISABLE_DRM_LOG #include "drmerr.h" #include "key.h" #include "wmsstd.h" CSPInfo::CSPInfo() : m_pSP(NULL), m_pSCClient(NULL) ...
22.606061
127
0.679625
npocmaka
70262ea85f74892cd3960b7dd81b853aa9170ac2
356
cpp
C++
src/guinyote.scripting.scripting_engine.cpp
germandiagogomez/tiny-modules-test
177a8870922f82fa13235caa2c8500d1fd55fe71
[ "MIT" ]
null
null
null
src/guinyote.scripting.scripting_engine.cpp
germandiagogomez/tiny-modules-test
177a8870922f82fa13235caa2c8500d1fd55fe71
[ "MIT" ]
null
null
null
src/guinyote.scripting.scripting_engine.cpp
germandiagogomez/tiny-modules-test
177a8870922f82fa13235caa2c8500d1fd55fe71
[ "MIT" ]
null
null
null
export module guinyote.scripting:scripting_engine; import <iostream>; namespace Guinyote::Scripting { export class ScriptingEngine { public: friend std::ostream & operator<<(std::ostream & out, ScriptingEngine const&); }; std::ostream & operator<<(std::ostream & out, ScriptingEngine const&) { out << "Hello,...
18.736842
81
0.705056
germandiagogomez
7027bf3e3e681a903a4d8e740498f27177c14f78
2,762
cpp
C++
code/ext/lwpr/src/AtomicInteger.cpp
puwei0000/tuxone
dd12882e3dc457001f6d542676cff33be4cb5f8b
[ "Apache-2.0" ]
20
2015-03-04T05:47:53.000Z
2021-12-05T05:53:04.000Z
src/AtomicInteger.cpp
vintagewang/lwpr
828edfd4a978ab57e4748907467f074dffae4f61
[ "Apache-2.0" ]
2
2017-12-05T20:39:43.000Z
2020-01-10T04:24:56.000Z
src/AtomicInteger.cpp
vintagewang/lwpr
828edfd4a978ab57e4748907467f074dffae4f61
[ "Apache-2.0" ]
21
2015-03-04T06:04:03.000Z
2021-12-25T16:31:16.000Z
/** * Copyright 2012 Wangxr, vintage.wang@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
19.588652
77
0.720492
puwei0000
7029e17825bcc2856344aa089a79910394182a1a
360
hpp
C++
Include/Oak/Platform/PlatformDetection.hpp
n-suudai/OakPlanet
fd13328ad97b87151bf3fafb00fc01440832393a
[ "MIT" ]
null
null
null
Include/Oak/Platform/PlatformDetection.hpp
n-suudai/OakPlanet
fd13328ad97b87151bf3fafb00fc01440832393a
[ "MIT" ]
null
null
null
Include/Oak/Platform/PlatformDetection.hpp
n-suudai/OakPlanet
fd13328ad97b87151bf3fafb00fc01440832393a
[ "MIT" ]
null
null
null
 #pragma once #if defined(_WIN32) || defined(WIN32) #include "Oak/Platform/OS/Win32.hpp" #else #error "this platform is not supported." #endif #ifndef DECL_MALLOC #if defined(_MSC_VER) #define DECL_MALLOC __declspec(restrict) __declspec(noalias) #else // !defined(_MSC_VER) #define DECL_MALLOC __attribute__((...
13.333333
60
0.741667
n-suudai
702a11e001076b743640ccf658c0448aa5d4c149
9,617
cpp
C++
src/game/renderer.cpp
iscsi/space-shooter.c
b495459232fb3f6c0033b516509817b45e689f13
[ "MIT" ]
1,306
2021-07-29T21:22:31.000Z
2022-03-26T03:06:26.000Z
src/game/renderer.cpp
iscsi/space-shooter.c
b495459232fb3f6c0033b516509817b45e689f13
[ "MIT" ]
16
2021-12-11T15:06:49.000Z
2022-01-06T16:42:29.000Z
src/game/renderer.cpp
iscsi/space-shooter.c
b495459232fb3f6c0033b516509817b45e689f13
[ "MIT" ]
77
2021-12-10T07:04:20.000Z
2022-03-07T09:20:11.000Z
//////////////////////////////////////////////////////////////////////////////////// // The MIT License (MIT) // // Copyright (c) 2021 Tarek Sherif // // 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 // ...
35.487085
100
0.705521
iscsi
702b56109373ab0219dcab00942ab3a74d9c8905
1,387
cpp
C++
src/console/analytics/chartexportdialog.cpp
KDE/kuserfeedback
7dea960e4e83a5a002ad9d3fd53ad32c9b46e96c
[ "MIT", "BSD-3-Clause" ]
7
2017-04-26T07:00:24.000Z
2020-07-30T10:19:36.000Z
src/console/analytics/chartexportdialog.cpp
KDE/kuserfeedback
7dea960e4e83a5a002ad9d3fd53ad32c9b46e96c
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/console/analytics/chartexportdialog.cpp
KDE/kuserfeedback
7dea960e4e83a5a002ad9d3fd53ad32c9b46e96c
[ "MIT", "BSD-3-Clause" ]
3
2017-06-17T19:16:07.000Z
2021-12-13T20:40:51.000Z
/* SPDX-FileCopyrightText: 2017 Volker Krause <vkrause@kde.org> SPDX-License-Identifier: MIT */ #include "chartexportdialog.h" #include "ui_chartexportdialog.h" #include <QFileDialog> using namespace KUserFeedback::Console; ChartExportDialog::ChartExportDialog(QWidget *parent) : QDialog(parent) , u...
23.508475
96
0.696467
KDE
702b624461dcc8a6c4e02ad453f0129fb8f4f9aa
9,742
cpp
C++
src/system/kernel/slab/ObjectDepot.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/system/kernel/slab/ObjectDepot.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/system/kernel/slab/ObjectDepot.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de. * Copyright 2008-2010, Axel Dörfler. All Rights Reserved. * Copyright 2007, Hugo Santos. All Rights Reserved. * * Distributed under the terms of the MIT License. */ #include <slab/ObjectDepot.h> #include <algorithm> #include <int.h> #include <slab/Slab...
20.816239
74
0.700575
Kirishikesan
702d0755f361201297de265b3a391cf172c468c2
3,777
cpp
C++
aws-cpp-sdk-discovery/source/model/ExportInfo.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-discovery/source/model/ExportInfo.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-discovery/source/model/ExportInfo.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T12:02:58.000Z
2021-11-09T12:02:58.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/discovery/model/ExportInfo.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespac...
22.890909
101
0.754567
Neusoft-Technology-Solutions
703019dab2fb18142759b91667b409e21b712a58
282
cpp
C++
problemsets/Brazil/URI/URI ONLINE/1010.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Brazil/URI/URI ONLINE/1010.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Brazil/URI/URI ONLINE/1010.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <cstdio> using namespace std; int main() { double a, b, c, d; scanf("%*d%lf%lf%*d%lf%lf", &a, &b, &c, &d); printf("VALOR A PAGAR: R$ %.2lf\n", a*b+c*d); return 0; }
14.842105
49
0.546099
juarezpaulino
7031c270c88ae2ee77fb667d3d765c650152fb22
111
hpp
C++
src/utility/htl_utility.hpp
hydah/fuck-cat
6df58935d636927abfdd21a3c26bef25aebb3888
[ "MIT" ]
null
null
null
src/utility/htl_utility.hpp
hydah/fuck-cat
6df58935d636927abfdd21a3c26bef25aebb3888
[ "MIT" ]
null
null
null
src/utility/htl_utility.hpp
hydah/fuck-cat
6df58935d636927abfdd21a3c26bef25aebb3888
[ "MIT" ]
null
null
null
#include <string> std::string srs_string_replace(std::string str, std::string old_str, std::string new_str);
37
91
0.756757
hydah
7037d15bf0fe64050130968b5dd2020038f9b88f
6,223
cpp
C++
PostfixToInt.cpp
samplec0de/StringCalculator
88ca8ff044f43ebdde6a590d5582baea9d336c77
[ "MIT" ]
1
2022-01-17T21:45:01.000Z
2022-01-17T21:45:01.000Z
PostfixToInt.cpp
samplec0de/StringCalculator
88ca8ff044f43ebdde6a590d5582baea9d336c77
[ "MIT" ]
null
null
null
PostfixToInt.cpp
samplec0de/StringCalculator
88ca8ff044f43ebdde6a590d5582baea9d336c77
[ "MIT" ]
1
2020-04-19T19:04:53.000Z
2020-04-19T19:04:53.000Z
// // PostfixToInt.cpp // Практикум #1 "Калькулятор" // // Created by Андрей Москалёв on 18/09/2019. // Copyright © 2019 Андрей Москалёв. All rights reserved. // #include "PostfixToInt.hpp" double get_variable_value(std::string key, size_t var_count, std::string var_index[], double var_value[]) { if (key == "...
34.381215
112
0.40977
samplec0de
70383792f608188c7887ae2b3b0be6e1346c0cbb
945
cpp
C++
Engine/Source/Sapphire/Rendering/Framework/Primitives/Texture/Mipmap.cpp
SapphireSuite/Sapphire
f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47
[ "MIT" ]
2
2020-03-18T09:06:21.000Z
2020-04-09T00:07:56.000Z
Engine/Source/Sapphire/Rendering/Framework/Primitives/Texture/Mipmap.cpp
SapphireSuite/Sapphire
f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47
[ "MIT" ]
null
null
null
Engine/Source/Sapphire/Rendering/Framework/Primitives/Texture/Mipmap.cpp
SapphireSuite/Sapphire
f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47
[ "MIT" ]
null
null
null
// Copyright 2020 Sapphire development team. All Rights Reserved. #include <Rendering/Framework/Primitives/Texture/Mipmap.hpp> #include <Maths/Misc/Maths.hpp> namespace Sa { //const uint32 Mipmap::minLevel = ComputeLevels(16u, 16u, 1); uint32 Mipmap::ComputeLevels(const Vec2ui& _extent, uint32 _minLevel) noexcept...
21.976744
104
0.689947
SapphireSuite
7038bbf2ab4fb5d251a0211c263ba64257a545d2
795
cpp
C++
cpp/14STL/03vector_of_vectors.cpp
yaswanthsaivendra/CP
742ba2f89180f79837fb8b32ce43df215f7b7fa1
[ "MIT" ]
null
null
null
cpp/14STL/03vector_of_vectors.cpp
yaswanthsaivendra/CP
742ba2f89180f79837fb8b32ce43df215f7b7fa1
[ "MIT" ]
null
null
null
cpp/14STL/03vector_of_vectors.cpp
yaswanthsaivendra/CP
742ba2f89180f79837fb8b32ce43df215f7b7fa1
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int hourglassSum(vector<vector<int>> &arr) { vector<vector<int>> a; int max = 0; for (int i = 0; i < 4; i++) { for (int j = 0; j < 4; j++) { a[i][j] = arr[i][j] + arr[i][j + 1] + arr[i][j + 2] + arr[i + 1][j + 1] + arr[i + 2][j] ...
20.384615
140
0.386164
yaswanthsaivendra
7039f28bf56d110b77775a5b37dbae7a1c6add8b
982
hpp
C++
source/classes/circle.hpp
PeteTheN00b/programmiersprachen-aufgabenblatt-2
09daf6e6cdc7989dbdcd2e6c086592db6795dcab
[ "MIT" ]
null
null
null
source/classes/circle.hpp
PeteTheN00b/programmiersprachen-aufgabenblatt-2
09daf6e6cdc7989dbdcd2e6c086592db6795dcab
[ "MIT" ]
null
null
null
source/classes/circle.hpp
PeteTheN00b/programmiersprachen-aufgabenblatt-2
09daf6e6cdc7989dbdcd2e6c086592db6795dcab
[ "MIT" ]
null
null
null
#ifndef CIRCLE_HPP #define CIRCLE_HPP #include "../vec2.hpp" #include "../color.hpp" #include "../window.hpp" //The difference between const-correctness in a Method and a Free Function, is that a const Method promises not to alter the object you are acting upon, //while a Free Function isn't part of any object in th...
28.882353
152
0.740326
PeteTheN00b
703a7a3737a1c16317429d8ef7abbe0b8b18de05
6,491
cpp
C++
indigo_libs/externals/libraw/samples/postprocessing_benchmark.cpp
polakovic/indigo
177cb9cd02cff2f7193df653e7ff5ea9ea3e7093
[ "RSA-MD" ]
null
null
null
indigo_libs/externals/libraw/samples/postprocessing_benchmark.cpp
polakovic/indigo
177cb9cd02cff2f7193df653e7ff5ea9ea3e7093
[ "RSA-MD" ]
null
null
null
indigo_libs/externals/libraw/samples/postprocessing_benchmark.cpp
polakovic/indigo
177cb9cd02cff2f7193df653e7ff5ea9ea3e7093
[ "RSA-MD" ]
null
null
null
/* -*- C++ -*- * File: postprocessing_benchmark.cpp * Copyright 2008-2021 LibRaw LLC (info@libraw.org) * Created: Jul 13, 2011 * * LibRaw simple C++ API: creates 8 different renderings from 1 source file. The 1st and 4th one should be identical LibRaw is free software; you can redistribute it and/or modify it un...
28.977679
80
0.569712
polakovic
703b1478f44d15d8b0348bda65438bbbf6aaa10c
45,505
cxx
C++
ds/security/base/lsa/security/driver/userstub.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/security/base/lsa/security/driver/userstub.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/security/base/lsa/security/driver/userstub.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+----------------------------------------------------------------------- // // Microsoft Windows // // Copyright (c) Microsoft Corporation 1992 - 1994 // // File: userstub.cxx // // Contents: stubs for user-mode security APIs // // // History: 3-7-94 MikeSw Created // //----------...
24.63725
135
0.477046
npocmaka
703d63e830b172075c2c7196e2b4209ccebfa52d
3,439
hpp
C++
saga/impl/packages/stream/stream_server.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
saga/impl/packages/stream/stream_server.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
saga/impl/packages/stream/stream_server.hpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
#ifndef SAGA_IMPL_PACKAGES_COMM_STREAM_STREAMSERVICE_HPP #define SAGA_IMPL_PACKAGES_COMM_STREAM_STREAMSERVICE_HPP #if defined(__WAVE__) && defined(SAGA_CREATE_PREPROCESSED_FILES) #pragma wave option(preserve: 2, line: 0, output: "preprocessed/server.hpp") #endif // Copyright (c) 2005-2007 Andre Merzky (andre@merzky.n...
32.140187
87
0.646409
saga-project
704081c7bfa7765d59da07bfb77f94ccffcb473c
16,358
cpp
C++
OpenGL-Perspective_Projection/OpenGL-Perspective_Projection/main.cpp
WangJace/OpenGL-Learning
e6b45220ca9fcaa86b2971d8312cf0549760df6d
[ "MIT" ]
null
null
null
OpenGL-Perspective_Projection/OpenGL-Perspective_Projection/main.cpp
WangJace/OpenGL-Learning
e6b45220ca9fcaa86b2971d8312cf0549760df6d
[ "MIT" ]
null
null
null
OpenGL-Perspective_Projection/OpenGL-Perspective_Projection/main.cpp
WangJace/OpenGL-Learning
e6b45220ca9fcaa86b2971d8312cf0549760df6d
[ "MIT" ]
null
null
null
// // main.cpp // OpenGL-Perspective_Projection // // Created by 王傲云 on 2019/4/23. // Copyright © 2019 Jace. All rights reserved. // #include "GLTools.h" #include "GLMatrixStack.h" #include "GLFrame.h" #include "GLFrustum.h" #include "GLGeometryTransForm.h" #include "GLBatch.h" #include <math.h> #ifdef __APPLE__ ...
32.84739
147
0.607104
WangJace
7040d4aca4e622300d2c58e1a226478a7f429620
846,781
cpp
C++
sketch_common/fonts/shnm12_font.cpp
h7ga40/gr_citrus
07d450b9cc857997c97519e962572b92501282d6
[ "MIT" ]
1
2019-12-13T05:51:34.000Z
2019-12-13T05:51:34.000Z
sketch_common/fonts/shnm12_font.cpp
h7ga40/gr_citrus
07d450b9cc857997c97519e962572b92501282d6
[ "MIT" ]
null
null
null
sketch_common/fonts/shnm12_font.cpp
h7ga40/gr_citrus
07d450b9cc857997c97519e962572b92501282d6
[ "MIT" ]
1
2021-09-17T15:41:36.000Z
2021-09-17T15:41:36.000Z
/* * 東雲フォント * http://openlab.ring.gr.jp/efont/shinonome/ * Licence * Public Domain */ #include "shnm12_font.h" // 1バイトコード const uint8_t UTF8_1B_CODE_BITMAP[UTF8_1B_CODE_BITMAP_NUM][FONT_HALF_WIDTH * FONT_HEIGHT / 8] = { {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, {0x00, 0x82, 0x1C, 0x...
112.558953
119
0.632298
h7ga40
7045a1e6d65f116aa19597763d384f3ad25db3a7
3,155
cpp
C++
src/fetch/FetcherBase.cpp
daotranminh/findscholarships-new
ac7d5e69d9e1c6d971dfbe25658507a0c0fb0081
[ "Apache-1.1" ]
null
null
null
src/fetch/FetcherBase.cpp
daotranminh/findscholarships-new
ac7d5e69d9e1c6d971dfbe25658507a0c0fb0081
[ "Apache-1.1" ]
null
null
null
src/fetch/FetcherBase.cpp
daotranminh/findscholarships-new
ac7d5e69d9e1c6d971dfbe25658507a0c0fb0081
[ "Apache-1.1" ]
null
null
null
#include "fetch/FetcherBase.h" #include "utilities/ConstantStrings.h" #include "utilities/DateConverter.h" #include "utilities/DateType.h" #include "utilities/HelperFunctions.h" #include "utilities/Logger.h" namespace findscholarships { FetcherBase::FetcherBase(const std::string &path, co...
27.198276
117
0.624406
daotranminh
7045d08366a05e82928d29ee83b7098bd6bb7188
1,781
cpp
C++
arduino/OpenROV/CameraMount.cpp
MysteriousChanger/rov
66b70081d864f91b15023dd36c108d032046102b
[ "MIT" ]
null
null
null
arduino/OpenROV/CameraMount.cpp
MysteriousChanger/rov
66b70081d864f91b15023dd36c108d032046102b
[ "MIT" ]
null
null
null
arduino/OpenROV/CameraMount.cpp
MysteriousChanger/rov
66b70081d864f91b15023dd36c108d032046102b
[ "MIT" ]
null
null
null
#include "AConfig.h" #if(HAS_STD_CAMERAMOUNT) #include "openrov_servo.h" #include "Device.h" #include "Pin.h" #include "CameraMount.h" #include "Settings.h" #define F_CPU 16000000UL #include <avr/io.h> #include <avr/interrupt.h> #include <Arduino.h> #if(CAMERAMOUNT_PIN != 11) //use timer 1 Servo tilt; #endif int tilt...
23.746667
76
0.656934
MysteriousChanger
704991a2d4f430a3ecd811f263402e8eb0e0ebf6
154
hpp
C++
venv/Lib/site-packages/torch/include/c10d/frontend_cuda.hpp
Westlanderz/AI-Plat1
1187c22819e5135e8e8189c99b86a93a0d66b8d8
[ "MIT" ]
1
2022-01-08T12:30:44.000Z
2022-01-08T12:30:44.000Z
venv/Lib/site-packages/torch/include/c10d/frontend_cuda.hpp
Westlanderz/AI-Plat1
1187c22819e5135e8e8189c99b86a93a0d66b8d8
[ "MIT" ]
null
null
null
venv/Lib/site-packages/torch/include/c10d/frontend_cuda.hpp
Westlanderz/AI-Plat1
1187c22819e5135e8e8189c99b86a93a0d66b8d8
[ "MIT" ]
null
null
null
#pragma once #ifdef USE_C10D_NCCL #include <c10/macros/Export.h> namespace c10d { TORCH_API void initCustomClassBindingsNccl(); } #endif
11.846154
46
0.707792
Westlanderz
704f69e7f9cadd8395b638abcc706bef25cf217f
898
cpp
C++
src/walls.cpp
vzshi/pong
fc37e3888782a98dfa9870d99d8e0e9d2570bba1
[ "MIT" ]
2
2022-01-11T23:06:26.000Z
2022-01-11T23:06:32.000Z
src/walls.cpp
vzshi/pong
fc37e3888782a98dfa9870d99d8e0e9d2570bba1
[ "MIT" ]
null
null
null
src/walls.cpp
vzshi/pong
fc37e3888782a98dfa9870d99d8e0e9d2570bba1
[ "MIT" ]
null
null
null
#include "walls.h" Walls::Walls(SDL_Renderer* renderer, int screen_width, int screen_height) { this->renderer = renderer; top = { 0, 0 - THICKNESS, screen_width, THICKNESS }; bottom = { 0, screen_height, screen_width, THICKNESS }; left = { 0 - THICKNESS, 0, THICKNESS, screen_height }; right = {screen_width, 0, T...
17.269231
73
0.682628
vzshi
705212364c5ef2cfff19df60dec51995396adabc
208
cpp
C++
2021/12. Classes/20311016/2. Rational/2. Rational.cpp
RumiChausheva/CS104
95f4df990f1a9d1397fc7da7cf137aa092498ea1
[ "MIT" ]
7
2021-03-24T16:30:45.000Z
2022-03-27T09:02:15.000Z
2021/12. Classes/20311016/2. Rational/2. Rational.cpp
RumiChausheva/CS104
95f4df990f1a9d1397fc7da7cf137aa092498ea1
[ "MIT" ]
null
null
null
2021/12. Classes/20311016/2. Rational/2. Rational.cpp
RumiChausheva/CS104
95f4df990f1a9d1397fc7da7cf137aa092498ea1
[ "MIT" ]
17
2021-03-22T09:42:22.000Z
2022-03-28T03:24:07.000Z
#include <iostream> #include "rational.h" int main() { rational A(1, 4), B(2, 6); rational C = A + B; A.print(); std::cout << " + "; B.print(); std::cout << " = "; C.print(); }
13
30
0.456731
RumiChausheva
705261091034c24cfcf0ef442ce947849403e5a4
1,300
cpp
C++
BOJ_solve/5475.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
4
2021-01-27T11:51:30.000Z
2021-01-30T17:02:55.000Z
BOJ_solve/5475.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
null
null
null
BOJ_solve/5475.cpp
python-programmer1512/Code_of_gunwookim
e72e6724fb9ee6ccf2e1064583956fa954ba0282
[ "MIT" ]
5
2021-01-27T11:46:12.000Z
2021-05-06T05:37:47.000Z
#include <bits/stdc++.h> #define x first #define y second #define pb push_back #define all(v) v.begin(),v.end() #pragma gcc optimize("O3") #pragma gcc optimize("Ofast") #pragma gcc optimize("unroll-loops") using namespace std; const int INF = 1e9; const int TMX = 1 << 18; const long long llINF = 1e16; const long long ...
22.807018
148
0.577692
python-programmer1512
7053c908150452fcca570ce4eeb0bca0a0d73810
432
cpp
C++
cf1181a.cpp
kaushalvivek/programming-practice
23cb71b7c9a5144926ce472294d8f4113bcc5086
[ "MIT" ]
null
null
null
cf1181a.cpp
kaushalvivek/programming-practice
23cb71b7c9a5144926ce472294d8f4113bcc5086
[ "MIT" ]
null
null
null
cf1181a.cpp
kaushalvivek/programming-practice
23cb71b7c9a5144926ce472294d8f4113bcc5086
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { long long int x, y, z; cin >> x >> y >> z; long long int s, m, extra; s = (long long int)x / z; m = (long long int)y / z; if (x % z + y % z >= z) { if (x % z > y % z) { cout << s + m + 1 << " " << z - x % z; } else { ...
15.428571
44
0.372685
kaushalvivek
7059947e9a4673c77bb8de0fd5b5b9dec2c9a129
35,941
cpp
C++
openstudiocore/src/model/GeneratorMicroTurbineHeatRecovery.cpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
openstudiocore/src/model/GeneratorMicroTurbineHeatRecovery.cpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
openstudiocore/src/model/GeneratorMicroTurbineHeatRecovery.cpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitt...
48.700542
210
0.81734
Acidburn0zzz
705cc4ab126432c5932f15f24d2ae71504d0324c
13,530
cpp
C++
face_module/src/FaceDete.cpp
onefacepass/face_recognition
1644d4563e400cca597f633f20de94d83bb82954
[ "MIT" ]
null
null
null
face_module/src/FaceDete.cpp
onefacepass/face_recognition
1644d4563e400cca597f633f20de94d83bb82954
[ "MIT" ]
1
2019-06-05T14:38:34.000Z
2019-06-05T14:39:48.000Z
face_module/src/FaceDete.cpp
onefacepass/face_recognition
1644d4563e400cca597f633f20de94d83bb82954
[ "MIT" ]
5
2019-06-03T14:41:43.000Z
2019-09-10T01:25:01.000Z
#include "../inc/FaceDete.h" FaceDete::FaceDete() : APPID(), SDKKey() { SetAPPID("a4e18xLPPvPkB76rXtYM5GVraNduE3Q7vUnGPFLfhSj"); SetSDKKey("Fbu8Y5KNdMGpph8MrJc4GWceasdTeoGuCx3Qd4oRP6vs"); if (Activation()) { cerr <<"Activation() failed."<< endl; } if (InitEngine()) { cerr << "InitEngine() failed." << endl;...
26.322957
132
0.679157
onefacepass
705d08a86740d5970345eaf9343b3f39ab8f0e59
24,926
cc
C++
src/connectivity/ethernet/drivers/rndis-host/rndis_host.cc
EnderNightLord-ChromeBook/zircon-rpi
b09b1eb3aa7a127c65568229fe10edd251869283
[ "BSD-2-Clause" ]
null
null
null
src/connectivity/ethernet/drivers/rndis-host/rndis_host.cc
EnderNightLord-ChromeBook/zircon-rpi
b09b1eb3aa7a127c65568229fe10edd251869283
[ "BSD-2-Clause" ]
null
null
null
src/connectivity/ethernet/drivers/rndis-host/rndis_host.cc
EnderNightLord-ChromeBook/zircon-rpi
b09b1eb3aa7a127c65568229fe10edd251869283
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2017 The Fuchsia 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 "rndis_host.h" #include <fuchsia/hardware/ethernet/c/banjo.h> #include <fuchsia/hardware/usb/c/banjo.h> #include <stdio.h> #include <stdlib.h> #i...
34.959327
100
0.69257
EnderNightLord-ChromeBook
7061837142372d16a9555ec7d158dcf5869f2ee9
2,248
cpp
C++
alias_samples.cpp
alexismailov2/FastDFM
2628d0296f35264655d1245f3648e84589b99148
[ "MIT" ]
null
null
null
alias_samples.cpp
alexismailov2/FastDFM
2628d0296f35264655d1245f3648e84589b99148
[ "MIT" ]
null
null
null
alias_samples.cpp
alexismailov2/FastDFM
2628d0296f35264655d1245f3648e84589b99148
[ "MIT" ]
null
null
null
// // Created by Arnie on 2017-01-15. // #include "alias_samples.h" static const float eps = numeric_limits<float>::epsilon(); vector<size_t> AliasSamples::get_samples(size_t num_samples) const { vector<size_t> ret(num_samples); if (table.empty()) { cout << "Alias Tables haven't been initialized"; return...
24.977778
73
0.592082
alexismailov2
7062606c9c51ca65f3724ea322530987e16ce2ee
1,177
hpp
C++
pizmidi/midiFingered/midiFingered.hpp
nonameentername/pizmidi
a985e3d2bf8f02e3c0a87300dfbb82c35608bbd2
[ "BSD-Source-Code" ]
null
null
null
pizmidi/midiFingered/midiFingered.hpp
nonameentername/pizmidi
a985e3d2bf8f02e3c0a87300dfbb82c35608bbd2
[ "BSD-Source-Code" ]
null
null
null
pizmidi/midiFingered/midiFingered.hpp
nonameentername/pizmidi
a985e3d2bf8f02e3c0a87300dfbb82c35608bbd2
[ "BSD-Source-Code" ]
1
2021-01-26T12:25:01.000Z
2021-01-26T12:25:01.000Z
/*----------------------------------------------------------------------------- midiFingered by Reuben Vinal -----------------------------------------------------------------------------*/ #ifndef __MIDIFINGERED_H #define __MIDIFINGERED_H #include "../common/PizMidi.h" enum { kPower, kChannel, kNumParams, ...
26.155556
106
0.657604
nonameentername
7063be678f9036600985592667fcdc6b37f6dd95
1,086
cpp
C++
libs/actor/example/link/main.cpp
nousxiong/gce
722edb8c91efaf16375664d66134ecabb16e1447
[ "BSL-1.0" ]
118
2015-01-24T01:16:46.000Z
2022-03-09T07:31:21.000Z
libs/actor/example/link/main.cpp
txwdyzcb/gce
722edb8c91efaf16375664d66134ecabb16e1447
[ "BSL-1.0" ]
1
2015-09-24T13:03:11.000Z
2016-12-24T04:00:59.000Z
libs/actor/example/link/main.cpp
txwdyzcb/gce
722edb8c91efaf16375664d66134ecabb16e1447
[ "BSL-1.0" ]
30
2015-03-12T09:21:45.000Z
2021-12-15T01:55:08.000Z
/// /// Copyright (c) 2009-2014 Nous Xiong (348944179 at qq dot 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 https://github.com/nousxiong/gce for latest version. /// #include <gce...
22.625
81
0.640884
nousxiong
7066abe22eb1d5c3fd6f7d9c0ceac03524d3dcc2
696
hpp
C++
include/RED4ext/Types/generated/game/audio/BreathingSubSystem.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/game/audio/BreathingSubSystem.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/game/audio/BreathingSubSystem.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/CName.hpp> #include <RED4ext/Types/generated/game/audio/ISoundComponentSubSystem.hpp> namespace RED4ext { namespace game::audio { struct BreathingS...
26.769231
74
0.74569
Cyberpunk-Extended-Development-Team
706781831a5b50318a792a5b46360854ba6232ac
6,096
cpp
C++
xp/unit_tests/utils/test_gg_perf_data_sink.cpp
vladcorneci/golden-gate
fab6e11c4df942c6a915328d805d3265f9ccc8e0
[ "Apache-2.0" ]
262
2020-05-05T21:25:17.000Z
2022-03-22T09:11:15.000Z
xp/unit_tests/utils/test_gg_perf_data_sink.cpp
vladcorneci/golden-gate
fab6e11c4df942c6a915328d805d3265f9ccc8e0
[ "Apache-2.0" ]
22
2020-05-07T21:20:42.000Z
2022-02-25T02:44:50.000Z
xp/unit_tests/utils/test_gg_perf_data_sink.cpp
vladcorneci/golden-gate
fab6e11c4df942c6a915328d805d3265f9ccc8e0
[ "Apache-2.0" ]
18
2020-05-06T07:21:43.000Z
2022-02-08T09:49:23.000Z
// Copyright 2017-2020 Fitbit, Inc // SPDX-License-Identifier: Apache-2.0 #include "CppUTest/TestHarness.h" #include "CppUTestExt/MockSupport.h" #include "CppUTest/MemoryLeakDetectorNewMacros.h" #include "xp/module/gg_module.h" #include "xp/common/gg_io.h" #include "xp/common/gg_buffer.h" #include "xp/common/gg_port...
39.329032
113
0.733268
vladcorneci
7067dfeadb148b99b465c1ca4d296bdd69722f8c
2,564
cpp
C++
ElectruxShorthandInterpretedLanguage/src/Executor.cpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
6
2019-08-29T23:31:17.000Z
2021-11-14T20:35:47.000Z
ElectruxShorthandInterpretedLanguage/src/Executor.cpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
null
null
null
ElectruxShorthandInterpretedLanguage/src/Executor.cpp
Electrux/CCPP-Code
3c5e5b866cf050c11bced9651b112eb31dd2465d
[ "BSD-3-Clause" ]
1
2019-09-01T12:22:58.000Z
2019-09-01T12:22:58.000Z
#include <iostream> #include <string> #include <vector> #include <map> #include "../include/Errors.hpp" #include "../include/DataTypes.hpp" #include "../include/Vars.hpp" #include "../include/Functions.hpp" #include "../include/LineTypeIncs.hpp" #include "../include/Executor.hpp" ErrorTypes ExecuteAll( const std::ve...
36.112676
118
0.635335
Electrux
0ad316a536921e5ae571fa121cfcdb6f7e5a3923
1,376
cxx
C++
handoff_response/src/fits/test_fitsconv/test_fitsconv.cxx
fermi-lat/irfs
cebe27fc6a974ac4448f15d7944b21e419c585e9
[ "BSD-3-Clause" ]
null
null
null
handoff_response/src/fits/test_fitsconv/test_fitsconv.cxx
fermi-lat/irfs
cebe27fc6a974ac4448f15d7944b21e419c585e9
[ "BSD-3-Clause" ]
4
2020-02-21T20:16:38.000Z
2022-03-22T17:39:03.000Z
handoff_response/src/fits/test_fitsconv/test_fitsconv.cxx
fermi-lat/irfs
cebe27fc6a974ac4448f15d7944b21e419c585e9
[ "BSD-3-Clause" ]
1
2020-07-07T18:30:05.000Z
2020-07-07T18:30:05.000Z
/** * @file test_fitsconv.cxx * @brief Not real test code....scaffolding for development. * * @author J. Chiang * * $Header$ */ #include <iostream> #include <string> #include <vector> #include "fits/IrfTable.h" #include "fits/IrfTableMap.h" #include "st_facilities/Environment.h" #include "facilities/commonUti...
25.018182
94
0.59811
fermi-lat
0ad49ac0536aec537ab5291bf51f33690bad7665
731
cpp
C++
String/ReverseWordsInAString/ReverseWordsInAString.cpp
yijingbai/LeetCode
6ae6dbdf3a720b4206323401a0ed16ac2066031e
[ "MIT" ]
2
2015-08-28T03:52:05.000Z
2015-09-03T09:54:40.000Z
String/ReverseWordsInAString/ReverseWordsInAString.cpp
yijingbai/LeetCode
6ae6dbdf3a720b4206323401a0ed16ac2066031e
[ "MIT" ]
null
null
null
String/ReverseWordsInAString/ReverseWordsInAString.cpp
yijingbai/LeetCode
6ae6dbdf3a720b4206323401a0ed16ac2066031e
[ "MIT" ]
null
null
null
#include <iostream> using std::string; class Solution { public: void reverseWords(string &s) { string answer; int prev = s.size(); for (int i = s.size() - 1; i >= 0; i--) { if (' ' == s[i]) { prev = i; } else if (' ' == s[i - 1] || i == 0) { ...
22.151515
57
0.343365
yijingbai
0ad542415e901f6f01b8367df01dc4e362a41e58
3,269
cpp
C++
src/module/ModuleBuilder.cpp
mathieunassar/ghostmodule
8e9a9e958ec3cfa3494b49211920e3f669a9c8bd
[ "Apache-2.0" ]
2
2019-10-05T06:51:49.000Z
2020-10-11T11:20:59.000Z
src/module/ModuleBuilder.cpp
mathieunassar/ghostmodule
8e9a9e958ec3cfa3494b49211920e3f669a9c8bd
[ "Apache-2.0" ]
24
2019-06-19T21:33:23.000Z
2020-10-04T11:36:41.000Z
src/module/ModuleBuilder.cpp
mathieunassar/ghostmodule
8e9a9e958ec3cfa3494b49211920e3f669a9c8bd
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Mathieu Nassar * * 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 ...
29.45045
112
0.755277
mathieunassar
0ad6a178276d929d49e6f55d6d1e6ead0d6c2adc
6,343
cc
C++
dune/gdt/test/spaces/spaces_l2_discontinuous_galerkin__simplicial_grids__scalar.cc
pymor/dune-gdt
fabc279a79e7362181701866ce26133ec40a05e0
[ "BSD-2-Clause" ]
4
2018-10-12T21:46:08.000Z
2020-08-01T18:54:02.000Z
dune/gdt/test/spaces/spaces_l2_discontinuous_galerkin__simplicial_grids__scalar.cc
dune-community/dune-gdt
fabc279a79e7362181701866ce26133ec40a05e0
[ "BSD-2-Clause" ]
154
2016-02-16T13:50:54.000Z
2021-12-13T11:04:29.000Z
dune/gdt/test/spaces/spaces_l2_discontinuous_galerkin__simplicial_grids__scalar.cc
dune-community/dune-gdt
fabc279a79e7362181701866ce26133ec40a05e0
[ "BSD-2-Clause" ]
5
2016-03-02T10:11:20.000Z
2020-02-08T03:56:24.000Z
// This file is part of the dune-gdt project: // https://github.com/dune-community/dune-gdt // Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensource.org/lice...
40.660256
117
0.871197
pymor
0add58e0422f974f65f8301a0e1edbe054002ba1
2,294
cpp
C++
deps/vision/src/backend/VExternalGroundStore.cpp
MichaelJCaruso/vision-xa-nodejs-connect
ef13ccc2730bf1db07cb44106dfcfd020d843d82
[ "BSD-3-Clause" ]
30
2016-10-07T15:23:35.000Z
2020-03-25T20:01:30.000Z
src/backend/VExternalGroundStore.cpp
MichaelJCaruso/vision-software-src-master
12b1b4f12a7531fe6e3cbb6861b40ac8e1985b92
[ "BSD-3-Clause" ]
30
2016-10-31T19:48:08.000Z
2021-04-28T01:31:53.000Z
software/src/master/src/backend/VExternalGroundStore.cpp
c-kuhlman/vision
46b25f7c0da703c059acc8f0a2eac1d5badf9f6d
[ "BSD-3-Clause" ]
15
2016-10-07T16:44:13.000Z
2021-06-21T18:47:55.000Z
/***** VExternalGroundStore Implementation *****/ /************************ ************************ ***** Interfaces ***** ************************ ************************/ /******************** ***** System ***** ********************/ #include "Vk.h" /****************** ***** Self ***** *********...
25.208791
110
0.377071
MichaelJCaruso