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
748db9e9fc9f7ee89b1a548714a26d307aa8cc79
1,107
cpp
C++
tests/functional/cert/emc_bt_lcd_qspi_rfid_touch_wifi/CoreFlashUtils.cpp
HPezz/LekaOS
e4c16f52e2c7bd3d75c9d5aefe94eb67dbf5a694
[ "Apache-2.0" ]
2
2021-10-30T20:51:30.000Z
2022-01-12T11:18:34.000Z
tests/functional/cert/emc_bt_lcd_qspi_rfid_touch_wifi/CoreFlashUtils.cpp
HPezz/LekaOS
e4c16f52e2c7bd3d75c9d5aefe94eb67dbf5a694
[ "Apache-2.0" ]
343
2021-07-15T12:57:08.000Z
2022-03-29T10:14:06.000Z
tests/functional/cert/emc_bt_lcd_qspi_rfid_touch_wifi/CoreFlashUtils.cpp
HPezz/LekaOS
e4c16f52e2c7bd3d75c9d5aefe94eb67dbf5a694
[ "Apache-2.0" ]
3
2021-12-30T02:53:24.000Z
2022-01-11T22:08:05.000Z
// Leka - LekaOS // Copyright 2021 APF France handicap // SPDX-License-Identifier: Apache-2.0 #include <array> #include "rtos/ThisThread.h" #include "CoreFlashUtils.h" using namespace leka; using namespace std::chrono; CoreQSPI coreqspi {}; CoreFlashManagerIS25LP016D coremanageris25lp(coreqspi); CoreFlashIS25LP016...
22.591837
90
0.741644
HPezz
7491c2b07508dd350b2506fda26422520e597cb4
2,691
hh
C++
src/MathEval/MathPacket.hh
kwisniew/devsim
3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138
[ "Apache-2.0" ]
null
null
null
src/MathEval/MathPacket.hh
kwisniew/devsim
3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138
[ "Apache-2.0" ]
null
null
null
src/MathEval/MathPacket.hh
kwisniew/devsim
3a7c1e9c4d28a8a6f9e7a43e5d5475ea2cdfe138
[ "Apache-2.0" ]
null
null
null
/*** DEVSIM Copyright 2013 Devsim LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
27.459184
145
0.646228
kwisniew
7491fa2d166493e9e693f2d5383221a984e0d42e
6,406
cpp
C++
src/solutions/aoc_day_6.cpp
bcooperstl/advent-of-code-2015
0aac084b72aeb45ca01a6ec52e0a71502dfa28e0
[ "MIT" ]
null
null
null
src/solutions/aoc_day_6.cpp
bcooperstl/advent-of-code-2015
0aac084b72aeb45ca01a6ec52e0a71502dfa28e0
[ "MIT" ]
null
null
null
src/solutions/aoc_day_6.cpp
bcooperstl/advent-of-code-2015
0aac084b72aeb45ca01a6ec52e0a71502dfa28e0
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <iostream> #include <sstream> #include <cstdlib> #include "aoc_day_6.h" #include "file_utils.h" using namespace std; using namespace Day6; namespace Day6 { Field::Field() { for (int y=0; y<FIELD_SIZE_Y; y++) { for (int x=0; x<FIELD_SIZE...
27.144068
163
0.488761
bcooperstl
749310cc943df650f758eec8d8dbe9edb6a0fdce
487
cpp
C++
examples/Basics/Input/Mouse2D/Mouse2D.cpp
RedErr404/cprocessing
ab8ef25ea3e4bcd915f9c086b649696866ea77ca
[ "BSD-2-Clause" ]
12
2015-01-12T07:43:22.000Z
2022-03-08T06:43:20.000Z
examples/Basics/Input/Mouse2D/Mouse2D.cpp
RedErr404/cprocessing
ab8ef25ea3e4bcd915f9c086b649696866ea77ca
[ "BSD-2-Clause" ]
null
null
null
examples/Basics/Input/Mouse2D/Mouse2D.cpp
RedErr404/cprocessing
ab8ef25ea3e4bcd915f9c086b649696866ea77ca
[ "BSD-2-Clause" ]
7
2015-02-09T15:44:10.000Z
2019-07-07T11:48:10.000Z
#include <cprocessing/cprocessing.hpp> using namespace cprocessing; /** * Mouse 2D. * * Moving the mouse changes the position and size of each box. */ void setup() { size(640, 360); noStroke(); rectMode(CENTER); } void draw() { background(55); fill(255, 204); rect(mouseX, height/2, mouseY...
16.793103
63
0.644764
RedErr404
7495f6ffff53faffde45211bc17f2921c7927b44
1,651
cpp
C++
2nd year 2nd semester/Numerical Method/Gauss Eliminatio Method with pivoting.cpp
duetianmehedishuvo/university_repo
e9c0a5d3113fa28d33216f240a708aa3c11e8ab3
[ "Apache-2.0" ]
null
null
null
2nd year 2nd semester/Numerical Method/Gauss Eliminatio Method with pivoting.cpp
duetianmehedishuvo/university_repo
e9c0a5d3113fa28d33216f240a708aa3c11e8ab3
[ "Apache-2.0" ]
null
null
null
2nd year 2nd semester/Numerical Method/Gauss Eliminatio Method with pivoting.cpp
duetianmehedishuvo/university_repo
e9c0a5d3113fa28d33216f240a708aa3c11e8ab3
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; double arr[100][100]; void print(int n) { for(int i=0; i<n; i++) { for(int j=0; j<=n; j++) cout<<arr[i][j]<<' '; cout<<endl; } } int main() { int n,i,j,k; cin>>n; for(i=0; i<n; i++) { for(j=0; j<=n; j++) ...
16.846939
65
0.334949
duetianmehedishuvo
749d7caed7ec7ab03b50cc50a4636043c56273c9
3,407
hpp
C++
src/utils.hpp
Glavnokoman/quda
ca81db530aa1a41cc3a3602745af4e39bc9ea111
[ "MIT" ]
null
null
null
src/utils.hpp
Glavnokoman/quda
ca81db530aa1a41cc3a3602745af4e39bc9ea111
[ "MIT" ]
null
null
null
src/utils.hpp
Glavnokoman/quda
ca81db530aa1a41cc3a3602745af4e39bc9ea111
[ "MIT" ]
null
null
null
#include <array> #include <cassert> #include <cstddef> #ifdef __CUDA_ARCH__ #define HOST_DEVICE __host__ __device__ #else #define HOST_DEVICE #endif // __CUDA_ARCH__ namespace quda { template<class T> HOST_DEVICE T thread_to_index(T tid){ return tid; } template <class T, typename... Args> HOST_DEVICE T thr...
33.732673
182
0.666862
Glavnokoman
749f997f14ab548f75934c75d606d2a397403789
17,564
cpp
C++
editor/imgui/imgui_menubar.cpp
akabomb-prog/AVAb
5ff64c08ccab2ced441c417dd15646d7523653df
[ "Unlicense" ]
327
2016-07-18T21:57:30.000Z
2022-03-31T15:01:10.000Z
editor/imgui/imgui_menubar.cpp
MORTAL2000/AVA
22e1a180b7db66988b7701361b4ff3ba5491ea2b
[ "Unlicense" ]
4
2016-09-13T12:11:06.000Z
2021-03-08T18:12:13.000Z
editor/imgui/imgui_menubar.cpp
MORTAL2000/AVA
22e1a180b7db66988b7701361b4ff3ba5491ea2b
[ "Unlicense" ]
30
2017-05-17T08:11:48.000Z
2022-03-05T12:27:29.000Z
int show_about_window = 0; void imgui_menubar() { changed.clear(); if (ImGui::BeginMainMenuBar()) { TOGGLE(ICON_MD_3D_ROTATION, ) ON_CLICK POPUP("3D Options", { ImGui::Text("3D Options"); ___ CHECK("Show wireframe") ON_CLICK { set_render(...
38.182609
159
0.500114
akabomb-prog
74a3bbbc3d1976c00311797c07934ee7f548a5df
1,213
hpp
C++
src/flags.hpp
Preetam/sacq
a6aaae7a8bb3ca53ce1743209e9999d9d06ff39c
[ "BSD-3-Clause" ]
7
2016-04-24T08:32:34.000Z
2021-05-25T10:21:18.000Z
src/flags.hpp
Preetam/sacq
a6aaae7a8bb3ca53ce1743209e9999d9d06ff39c
[ "BSD-3-Clause" ]
19
2016-04-01T01:13:16.000Z
2018-04-24T02:12:17.000Z
src/flags.hpp
Preetam/sacq
a6aaae7a8bb3ca53ce1743209e9999d9d06ff39c
[ "BSD-3-Clause" ]
2
2017-03-30T14:37:15.000Z
2017-05-15T00:07:47.000Z
#pragma once #include <vector> #include <cstdlib> #include <sstream> #include <iostream> #include <string> // cpl::Flags #include <cpl/flags.hpp> // cpl::net::IP #include <cpl/net/ip.hpp> // cpl::net::SockAddr #include <cpl/net/sockaddr.hpp> void show_help(std::string a, std::string b, void* d) { auto flags = rei...
20.216667
83
0.64798
Preetam
74ac96bd7449900d4d56df84c2d8139b4230c899
4,722
cpp
C++
src/print_helper.cpp
fhamonic/landscape_opt
7f32749336590c8d8b5875300228196a05137267
[ "BSL-1.0" ]
1
2021-09-23T11:56:09.000Z
2021-09-23T11:56:09.000Z
src/print_helper.cpp
fhamonic/landscape_opt
7f32749336590c8d8b5875300228196a05137267
[ "BSL-1.0" ]
null
null
null
src/print_helper.cpp
fhamonic/landscape_opt
7f32749336590c8d8b5875300228196a05137267
[ "BSL-1.0" ]
1
2022-03-27T16:58:19.000Z
2022-03-27T16:58:19.000Z
#include "print_helper.hpp" void Helper::printSolution(const MutableLandscape & landscape, const RestorationPlan<MutableLandscape>& plan, std::string name, concepts::Solver & solver, double B, const Solution & solution) { const MutableLandscape::Graph & graph = landscape.getNetwork(); auto radius = [&...
42.160714
193
0.626218
fhamonic
74ad83136a6495a70e2a8621cadc7dd212d0ee90
325
cpp
C++
lib/libc/tests/string/strchr.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
52
2015-11-27T13:56:00.000Z
2021-12-01T16:33:58.000Z
lib/libc/tests/string/strchr.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
4
2017-06-26T17:59:51.000Z
2021-09-26T17:30:32.000Z
lib/libc/tests/string/strchr.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
8
2016-08-26T09:42:27.000Z
2021-12-04T00:21:05.000Z
#include <gtest/gtest.h> #include <string.h> TEST(string, strchr) { char abccd[] = "abccd"; EXPECT_EQ(NULL, strchr(abccd, 'x')); EXPECT_EQ(&abccd[0], strchr(abccd, 'a')); EXPECT_EQ(&abccd[4], strchr(abccd, 'd')); EXPECT_EQ(&abccd[5], strchr(abccd, '\0')); EXPECT_EQ(&abccd[2], strchr(abccd, 'c')...
25
46
0.6
otaviopace
74b10e3d5085fe9aec65e5462f44755088dd068c
1,667
cpp
C++
tests/test_preferences.cpp
claby2/clavim
a9c8981a5cf2861cea69b87b00231f3d9b55a38b
[ "MIT" ]
1
2021-01-13T07:03:36.000Z
2021-01-13T07:03:36.000Z
tests/test_preferences.cpp
claby2/clavim
a9c8981a5cf2861cea69b87b00231f3d9b55a38b
[ "MIT" ]
null
null
null
tests/test_preferences.cpp
claby2/clavim
a9c8981a5cf2861cea69b87b00231f3d9b55a38b
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> #include "../src/preferences.hpp" #include <fstream> #include <string> #include <map> #include <iostream> TEST_CASE( "Preferences", "[preference]" ) { std::cout.setstate(std::ios_base::failbit); // Disable cout output std::map<std::string, std::string> p...
37.886364
71
0.659868
claby2
74b4ef6024f36141fd19a6060c78f35cf989b95e
793
cpp
C++
unit_tests/cases/test_uint2.cpp
maihd/hlslmath
63dfc2b2de8d2e47e87282d7006b44a6b37401be
[ "Unlicense" ]
3
2019-09-26T16:52:00.000Z
2020-09-06T09:14:36.000Z
unit_tests/cases/test_uint2.cpp
maihd/hlslmath
63dfc2b2de8d2e47e87282d7006b44a6b37401be
[ "Unlicense" ]
null
null
null
unit_tests/cases/test_uint2.cpp
maihd/hlslmath
63dfc2b2de8d2e47e87282d7006b44a6b37401be
[ "Unlicense" ]
null
null
null
#include <type_traits> #include "../test_framework.h" /// We don't care about: trivial, pod, standard layout. /// What we care is that uint2 memcpyable, but standard layout is memcpyable. static_assert(!std::is_pod<uint2>::value, "uint2 is pod"); static_assert(!std::is_trivial<uint2>::value, "uint2 is trivial"); stat...
28.321429
77
0.675914
maihd
74b5c19e04157a8af2d5daa71cae8be986990913
1,073
hpp
C++
include/lewis/hierarchy.hpp
Dennisbonke/lewis
456c4d3f02eeab38f091f5ec8c5836cee894553f
[ "MIT" ]
10
2018-12-25T21:59:36.000Z
2021-06-08T13:26:02.000Z
include/lewis/hierarchy.hpp
Dennisbonke/lewis
456c4d3f02eeab38f091f5ec8c5836cee894553f
[ "MIT" ]
2
2019-07-14T11:04:21.000Z
2021-07-25T15:13:41.000Z
include/lewis/hierarchy.hpp
Dennisbonke/lewis
456c4d3f02eeab38f091f5ec8c5836cee894553f
[ "MIT" ]
4
2018-12-25T19:48:55.000Z
2022-02-13T16:26:57.000Z
// Copyright the lewis authors (AUTHORS.md) 2018 // SPDX-License-Identifier: MIT #pragma once namespace lewis { // Helper to encode types in values. template<typename D> struct HierarchyTag { }; // CRTP that enables hierarchy_cast<> for the class D. // Parameter P is a predicate that determines if the cast is possi...
23.844444
70
0.662628
Dennisbonke
74b822d75c04169d94998af3f2e2b94be72092ff
2,048
cpp
C++
GameEngine/src/GameEngine/Renderer/Material/Texture.cpp
Mevelec/GameEngine
70195139dcf74170ed34282ce1918160364a441f
[ "Apache-2.0" ]
null
null
null
GameEngine/src/GameEngine/Renderer/Material/Texture.cpp
Mevelec/GameEngine
70195139dcf74170ed34282ce1918160364a441f
[ "Apache-2.0" ]
null
null
null
GameEngine/src/GameEngine/Renderer/Material/Texture.cpp
Mevelec/GameEngine
70195139dcf74170ed34282ce1918160364a441f
[ "Apache-2.0" ]
null
null
null
#include "hzpch.h" #include "GameEngine/Renderer/Material/Texture.h" #include "GameEngine/Renderer/Renderer.h" #include "Plateform/OpenGl/OpenGLTexture.h" namespace GameEngine { Ref<Texture2D> Texture2D::Create(uint32_t width, uint32_t height) { switch (IRenderer::GetAPI()) { case RendererAPI::API::None: G...
26.25641
74
0.719727
Mevelec
74bcb653e14d7ee61ef435335ff896b1eb8fd879
830
cpp
C++
Clip off leading and trailing blanks/Clip off leading and trailing blanks/Clip off leading and trailing blanks.cpp
PremiumChampion/CPP_Schule
9f47c146a51cd7d7c6986cb5d3f7fdf8be0c4ab7
[ "MIT" ]
null
null
null
Clip off leading and trailing blanks/Clip off leading and trailing blanks/Clip off leading and trailing blanks.cpp
PremiumChampion/CPP_Schule
9f47c146a51cd7d7c6986cb5d3f7fdf8be0c4ab7
[ "MIT" ]
null
null
null
Clip off leading and trailing blanks/Clip off leading and trailing blanks/Clip off leading and trailing blanks.cpp
PremiumChampion/CPP_Schule
9f47c146a51cd7d7c6986cb5d3f7fdf8be0c4ab7
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void trimm(string*); int main() { string s1 = ""; cin >> s1; // Vorher: " abc def ghi "; cout << "Du hast >>" << s1 << "<< eingegeben" << endl; trimm(&s1); // Nachher :"abc def ghi"; cout << "Nach dem trimm: >>" << s1 << "<<" << endl; return 1; } void tri...
15.660377
77
0.546988
PremiumChampion
74bef6242a3ee6df8aa060315d29d78e19978796
2,595
cpp
C++
src/saiga/vision/scene/SynteticScene.cpp
no33fewi/saiga
edc873e34cd59eaf8c4a12dc7f909b4dd5e5fb68
[ "MIT" ]
114
2017-08-13T22:37:32.000Z
2022-03-25T12:28:39.000Z
src/saiga/vision/scene/SynteticScene.cpp
no33fewi/saiga
edc873e34cd59eaf8c4a12dc7f909b4dd5e5fb68
[ "MIT" ]
7
2019-10-14T18:19:11.000Z
2021-06-11T09:41:52.000Z
src/saiga/vision/scene/SynteticScene.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 "SynteticScene.h" #include "saiga/core/imgui/imgui.h" #include "saiga/vision/util/Random.h" namespace Saiga { namespace SynteticScene { Scene CircleSphere(int numWorldPoints, int numCamer...
25.194175
94
0.585742
no33fewi
74bf7a788a3096740d4cbf55c9f54c5a93e820be
47
hpp
C++
src/boost_graph_make_maximal_planar.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_graph_make_maximal_planar.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_graph_make_maximal_planar.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/graph/make_maximal_planar.hpp>
23.5
46
0.829787
miathedev
74c1f1d81a59a34ebf775c9566a0f38fc9521454
1,840
hpp
C++
include/memoria/core/memory/malloc.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2021-07-30T16:54:24.000Z
2021-09-08T15:48:17.000Z
include/memoria/core/memory/malloc.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
null
null
null
include/memoria/core/memory/malloc.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2020-03-14T15:15:25.000Z
2020-06-15T11:26:56.000Z
// Copyright 2018 Victor Smirnov // // 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...
24.864865
103
0.703261
victor-smirnov
74cc4f949c5e957c892004ad8c97956d7aa7846c
541
cc
C++
test/cfstring_fuzzer.cc
shimashimashi/libfuzzer-exercise-macos
9cf21e2c24fae65cc0f8bc53f541eee9e7008a3b
[ "BSD-3-Clause" ]
2
2018-07-10T11:13:10.000Z
2021-04-15T07:30:05.000Z
test/cfstring_fuzzer.cc
shimashimashi/libfuzzer-exercise-macos
9cf21e2c24fae65cc0f8bc53f541eee9e7008a3b
[ "BSD-3-Clause" ]
1
2018-11-10T22:37:54.000Z
2018-11-10T22:37:54.000Z
test/cfstring_fuzzer.cc
shimashimashi/libfuzzer-exercise-macos
9cf21e2c24fae65cc0f8bc53f541eee9e7008a3b
[ "BSD-3-Clause" ]
1
2020-12-01T15:39:41.000Z
2020-12-01T15:39:41.000Z
#include <CoreFoundation/CoreFoundation.h> static bool Fuzz(const uint8_t *data, size_t size) { auto cfstr = CFStringCreateWithBytesNoCopy( nullptr, data, size, kCFStringEncodingASCII, true, kCFAllocatorNull); if (!cfstr) return false; auto lang = CFStringTokenizerCopyBestStringLanguage( cfstr, C...
27.05
75
0.730129
shimashimashi
74ccae3216108be1de891aee998cb402ed45a6dd
3,641
hpp
C++
libs/boost_1_72_0/boost/test/tools/context.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/test/tools/context.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/test/tools/context.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
// (C) Copyright Gennadiy Rozental 2001. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org/libs/test for the library home page. // // File : $RCSfile$ // // Version : ...
37.927083
80
0.611645
henrywarhurst
74cd4f1ede0ae7d90c3c364b9dd31e08aa2d8be3
5,999
cpp
C++
src/frameworks/native/libs/gui/ITransactionCompletedListener.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/native/libs/gui/ITransactionCompletedListener.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/native/libs/gui/ITransactionCompletedListener.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
30.29798
100
0.638106
dAck2cC2
74d114c7c5b994b28105cbf2b47cd3b27aed694a
10,194
cpp
C++
Neumann/Neumann/src/Application.cpp
Aidan-Harrison/Neumann
6a9fa0a364a3aa319ee25344ceb6fba69a134c79
[ "MIT" ]
null
null
null
Neumann/Neumann/src/Application.cpp
Aidan-Harrison/Neumann
6a9fa0a364a3aa319ee25344ceb6fba69a134c79
[ "MIT" ]
null
null
null
Neumann/Neumann/src/Application.cpp
Aidan-Harrison/Neumann
6a9fa0a364a3aa319ee25344ceb6fba69a134c79
[ "MIT" ]
null
null
null
#include <iostream> // OpenGL includes #include <GL/glew.h> #include <GLFW/glfw3.h> // GLM #include <GLM/glm.hpp> #include <GLM/gtc/matrix_transform.hpp> #include <GLM/gtc/type_ptr.hpp> // Assimp // Custom #include "Renderer.h" #include "..\src\VIVa\VertexBuffer.h" #include "..\src\VIVa\IndexBuffer.h" #include "..\src\...
44.907489
156
0.501177
Aidan-Harrison
74d44370b1a89f6e8fb284629e7e5ff36e705c79
5,592
hxx
C++
src/transactions/waitable_op_list.hxx
brett19/couchbase-transactions-cxx
468342818a62b8648798b112618afb47ed229c0b
[ "Apache-2.0" ]
null
null
null
src/transactions/waitable_op_list.hxx
brett19/couchbase-transactions-cxx
468342818a62b8648798b112618afb47ed229c0b
[ "Apache-2.0" ]
null
null
null
src/transactions/waitable_op_list.hxx
brett19/couchbase-transactions-cxx
468342818a62b8648798b112618afb47ed229c0b
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 Couchbase, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
30.391304
108
0.583691
brett19
74d446c34a348b83b90df42c902eb42ab456e0fa
5,765
cxx
C++
plugins/examples/depth_peeler_test.cxx
BackhausL/cgv
a419d508e317db8361dc008d201dce4d8aaa2dd0
[ "BSD-3-Clause" ]
null
null
null
plugins/examples/depth_peeler_test.cxx
BackhausL/cgv
a419d508e317db8361dc008d201dce4d8aaa2dd0
[ "BSD-3-Clause" ]
null
null
null
plugins/examples/depth_peeler_test.cxx
BackhausL/cgv
a419d508e317db8361dc008d201dce4d8aaa2dd0
[ "BSD-3-Clause" ]
null
null
null
#include <cgv/signal/rebind.h> #include <cgv/base/register.h> #include <cgv/gui/provider.h> #include <cgv/render/drawable.h> #include <cgv/render/frame_buffer.h> #include <cgv/render/texture.h> #include <cgv/utils/convert.h> #include <cgv_gl/gl/gl.h> #include <cgv_gl/gl/gl_transparent_renderer.h> #include <cgv...
28.681592
146
0.69072
BackhausL
74d66e57c837ac668dd399506ae4675294b51e01
2,142
cc
C++
src/url.cc
mywebengine/myserv
1b7e0a1822bd8cb62d0640392d58424633866c97
[ "MIT" ]
null
null
null
src/url.cc
mywebengine/myserv
1b7e0a1822bd8cb62d0640392d58424633866c97
[ "MIT" ]
null
null
null
src/url.cc
mywebengine/myserv
1b7e0a1822bd8cb62d0640392d58424633866c97
[ "MIT" ]
null
null
null
#include <string> #include "./str.h" #include "./url.h" using namespace std; namespace myurl { Url Parse(string str) { Url url{str}; NormalizeUrl(url.href); size_t prot_idx = url.href.find("://"), path_idx; if (prot_idx == string::npos) { path_idx = 0; } else { url.protocol = url.href.su...
24.906977
73
0.559757
mywebengine
74d68daf5c82f8f9a9355ad1ea0cd24df9229333
2,579
cpp
C++
src/thunderbots/software/backend_input/vision_client/robocup_ssl_client.cpp
MaxonZhao/Software
e587ee6d441d2d10c08ba58bd44b1b2091e7c53f
[ "MIT" ]
null
null
null
src/thunderbots/software/backend_input/vision_client/robocup_ssl_client.cpp
MaxonZhao/Software
e587ee6d441d2d10c08ba58bd44b1b2091e7c53f
[ "MIT" ]
null
null
null
src/thunderbots/software/backend_input/vision_client/robocup_ssl_client.cpp
MaxonZhao/Software
e587ee6d441d2d10c08ba58bd44b1b2091e7c53f
[ "MIT" ]
null
null
null
// This file defines a client that is able to receive packets over UDP multicast // from SSL-Vision, SSL-Refbox, and grSim // // This file is from the SSL-Vision repository: // https://github.com/RoboCup-SSL/ssl-vision/tree/master/src/shared/net //=======================================================================...
28.032609
86
0.607212
MaxonZhao
74d919b6dd2d7a009df609c15ce1388f65b910d2
770
cpp
C++
src/xray/editor/base/sources/command_transaction.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/editor/base/sources/command_transaction.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/editor/base/sources/command_transaction.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 31.03.2009 // Author : Armen Abroyan // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #include "pch.h" #include "command_transaction.h" #include "comman...
22.647059
93
0.553247
ixray-team
74da755db8c21de84db0f99b55f19cf48b7f7b9d
8,514
cpp
C++
test/test_pt2pt.cpp
bvanessen/Aluminum
1f77f6abad6e29455f59f15891605b8e7672da48
[ "Apache-2.0" ]
null
null
null
test/test_pt2pt.cpp
bvanessen/Aluminum
1f77f6abad6e29455f59f15891605b8e7672da48
[ "Apache-2.0" ]
1
2020-02-18T17:29:40.000Z
2020-02-18T17:29:40.000Z
test/test_pt2pt.cpp
bvanessen/Aluminum
1f77f6abad6e29455f59f15891605b8e7672da48
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2018, Lawrence Livermore National Security, LLC. Produced at the // Lawrence Livermore National Laboratory in collaboration with University of // Illinois Urbana-Champaign. // // Written by the LBANN Research Team (N. Dry...
35.924051
83
0.597956
bvanessen
74dc1560b360975f148598a11985421eceea94a8
64,487
cpp
C++
src/game/CServer.cpp
criminalx/Source-X
7e656bb9edcbe78dd735feeb12a9ccff3b0f2fe3
[ "Apache-2.0" ]
21
2020-01-29T14:53:31.000Z
2022-03-20T10:53:27.000Z
src/game/CServer.cpp
criminalx/Source-X
7e656bb9edcbe78dd735feeb12a9ccff3b0f2fe3
[ "Apache-2.0" ]
435
2020-01-20T12:50:15.000Z
2022-03-29T03:31:27.000Z
src/game/CServer.cpp
criminalx/Source-X
7e656bb9edcbe78dd735feeb12a9ccff3b0f2fe3
[ "Apache-2.0" ]
47
2020-01-21T23:25:38.000Z
2022-03-24T21:54:32.000Z
#ifdef _WIN32 #include "../sphere/ntservice.h" // g_Service #else #include "../sphere/UnixTerminal.h" #include <sys/resource.h> // for setpriority #endif #if defined(_WIN32) && !defined(_DEBUG) #include "../common/crashdump/crashdump.h" #endif #include "../common/sphere_library/CSAssoc.h" #include "../commo...
27.605736
190
0.555678
criminalx
74e35bd66e45f1375df80bbb570b5a502c4cd5d4
524
cpp
C++
src/JDS.cpp
bkochuna/ners570f21-Lab06
0e1c5d1872dcc913894423ac14bd09815975bcd3
[ "MIT" ]
null
null
null
src/JDS.cpp
bkochuna/ners570f21-Lab06
0e1c5d1872dcc913894423ac14bd09815975bcd3
[ "MIT" ]
30
2021-10-08T13:28:19.000Z
2022-03-18T17:41:54.000Z
src/JDS.cpp
bkochuna/ners570f21-Lab06
0e1c5d1872dcc913894423ac14bd09815975bcd3
[ "MIT" ]
null
null
null
#include <map> //for using map (like a Python dictionary) #include <utility> //for using pair #include <vector> #include "JDS.hpp" namespace spmv { template <class fp_type> void JDS<fp_type>::setCoefficients(const std::map< std::pair<size_t,size_t> , fp_type > &buildCoeff) { } template <class fp_type> void JDS<f...
23.818182
147
0.71374
bkochuna
d55f2c9019ad8b656bb55e8b267db0ece5e2af41
187
hpp
C++
VVISF/include/VVISF.hpp
mrRay/VVISF-GL
96b00da11e4497da304041ea2a5ffc6e3a8c9454
[ "BSD-3-Clause" ]
24
2019-01-17T17:56:18.000Z
2022-02-27T19:57:13.000Z
VVISF/include/VVISF.hpp
mrRay/VVISF-GL
96b00da11e4497da304041ea2a5ffc6e3a8c9454
[ "BSD-3-Clause" ]
6
2019-01-17T17:17:12.000Z
2020-06-19T11:27:50.000Z
VVISF/include/VVISF.hpp
mrRay/VVISF-GL
96b00da11e4497da304041ea2a5ffc6e3a8c9454
[ "BSD-3-Clause" ]
2
2020-12-25T04:57:31.000Z
2021-03-02T22:05:31.000Z
#ifndef VVISF_h #define VVISF_h //#include "VVISF_Doxygen.hpp" #include "VVISF_Base.hpp" #include "ISFAttr.hpp" #include "ISFDoc.hpp" #include "ISFScene.hpp" #endif /* VVISF_h */
11
30
0.705882
mrRay
d55f53bff309ccded45ea84e0d17496458813d84
4,328
cpp
C++
tf2_bot_detector/Util/TextUtils.cpp
Koi-Code-TF2/tf2_bot_detector
2f76ace45061f1ba6ce7374f25e6f57d8296648a
[ "MIT" ]
372
2020-06-05T20:37:47.000Z
2022-03-29T15:06:34.000Z
tf2_bot_detector/Util/TextUtils.cpp
Koi-Code-TF2/tf2_bot_detector
2f76ace45061f1ba6ce7374f25e6f57d8296648a
[ "MIT" ]
333
2020-06-05T19:16:01.000Z
2022-03-31T22:13:55.000Z
tf2_bot_detector/Util/TextUtils.cpp
Koi-Code-TF2/tf2_bot_detector
2f76ace45061f1ba6ce7374f25e6f57d8296648a
[ "MIT" ]
96
2020-06-05T21:03:49.000Z
2022-03-30T18:53:05.000Z
//#define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING 1 //#define _SILENCE_CXX20_CODECVT_FACETS_DEPRECATION_WARNING 1 #include "TextUtils.h" #include "Log.h" #include <mh/text/codecvt.hpp> #include <mh/text/fmtstr.hpp> #include <mh/text/string_insertion.hpp> #include <codecvt> #include <fstream> using namespa...
27.922581
109
0.718577
Koi-Code-TF2
d55f7364ac219446a51782c023fa9b294e4a6cb4
5,086
cpp
C++
libgraph/src/graph.cpp
Atlant154/cpp_euler_graph
96500ab3cc4192904b67ffc929fc010f1c865694
[ "MIT" ]
null
null
null
libgraph/src/graph.cpp
Atlant154/cpp_euler_graph
96500ab3cc4192904b67ffc929fc010f1c865694
[ "MIT" ]
null
null
null
libgraph/src/graph.cpp
Atlant154/cpp_euler_graph
96500ab3cc4192904b67ffc929fc010f1c865694
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <stack> #include "../include/graph.h" void graph::read_from_file(std::string const &input_file_path, std::string const &delimiter) { node_counter_ = 0; graph_.clear(); std::ifstream input_file; input_file.open(input_file_path); if (!input_file.is_op...
26.216495
97
0.562131
Atlant154
d56dfb8cd08264378beb72b95d7fa0a6fbe39d1a
107
cpp
C++
NKZX_NOI_OJ/P1000/Standard.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
1
2021-04-05T16:26:00.000Z
2021-04-05T16:26:00.000Z
NKZX_NOI_OJ/P1000/Standard.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
null
null
null
NKZX_NOI_OJ/P1000/Standard.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
null
null
null
#include<cstdio> int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d",a + b); return 0; }
13.375
24
0.46729
Rose2073
d56e9b8e48d404e785bafdb8c4e8d07240020659
6,466
hpp
C++
include/nbdl/webui/nav_route.hpp
ricejasonf/nbdl
ae63717c96ab2c36107bc17b2b00115f96e9d649
[ "BSL-1.0" ]
47
2016-06-20T01:41:24.000Z
2021-11-16T10:53:27.000Z
include/nbdl/webui/nav_route.hpp
ricejasonf/nbdl
ae63717c96ab2c36107bc17b2b00115f96e9d649
[ "BSL-1.0" ]
21
2015-11-12T23:05:47.000Z
2019-07-17T19:01:40.000Z
include/nbdl/webui/nav_route.hpp
ricejasonf/nbdl
ae63717c96ab2c36107bc17b2b00115f96e9d649
[ "BSL-1.0" ]
6
2015-11-12T21:23:29.000Z
2019-05-09T17:54:25.000Z
// // Copyright Jason Rice 2017 // 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 NBDL_WEB_NAV_ROUTE_HPP #define NBDL_WEB_NAV_ROUTE_HPP #include <nbdl/fwd/webui/nav_route.hpp> #include <nbdl/message.hpp...
27.632479
98
0.634241
ricejasonf
d56f29d2b831b1be5a2236a01996aad14ca51d39
7,507
cc
C++
lite/tests/api/test_yolov3_darknet53_fp32_baidu_xpu.cc
winter-wang/Paddle-Lite
cd09ad060a0d7f20f55c4d6951ca95be75dc2c9c
[ "Apache-2.0" ]
6
2020-07-01T02:52:16.000Z
2021-06-22T12:15:59.000Z
lite/tests/api/test_yolov3_darknet53_fp32_baidu_xpu.cc
winter-wang/Paddle-Lite
cd09ad060a0d7f20f55c4d6951ca95be75dc2c9c
[ "Apache-2.0" ]
null
null
null
lite/tests/api/test_yolov3_darknet53_fp32_baidu_xpu.cc
winter-wang/Paddle-Lite
cd09ad060a0d7f20f55c4d6951ca95be75dc2c9c
[ "Apache-2.0" ]
1
2021-07-24T15:30:46.000Z
2021-07-24T15:30:46.000Z
// Copyright (c) 2021 PaddlePaddle 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...
38.106599
80
0.64673
winter-wang
d56f9aab0537275bbd0192f4bac1320323326a3e
6,355
cpp
C++
src/formatting/global.cpp
JakeyGilly/Compactifier-
dd6ce744d594de19ef51b3e8d1f1943a748f761b
[ "MIT" ]
3
2022-01-18T21:53:44.000Z
2022-01-21T18:20:48.000Z
src/formatting/global.cpp
JakeyGilly/Compactifier-
dd6ce744d594de19ef51b3e8d1f1943a748f761b
[ "MIT" ]
4
2022-01-23T15:58:37.000Z
2022-02-22T15:57:48.000Z
src/formatting/global.cpp
JakeyGilly/Compactifier-
dd6ce744d594de19ef51b3e8d1f1943a748f761b
[ "MIT" ]
2
2022-01-21T18:07:07.000Z
2022-01-21T18:07:22.000Z
#include <string> #include <iostream> #include <vector> #include <algorithm> #include <tuple> #include "../headers/formatting.hpp" #include "../headers/config.hpp" void removeSingleAnn(std::vector<std::string> &fileContents, std::string ann) { for (int i = 0; i < fileContents.size(); i++) { if (fileContent...
36.522989
159
0.494886
JakeyGilly
d570d8f72445bf23dc941a1a043edd3c766aadb0
922
cpp
C++
codeforces/L - Looking for Taste/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/L - Looking for Taste/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/L - Looking for Taste/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Aug/31/2019 00:29 * solution_verdict: Accepted language: GNU C++14 * run...
34.148148
111
0.366594
kzvd4729
d57201460c839f8738d842ad5cba34d4df5e25a6
3,205
cpp
C++
modules/task_3/pronkin_d_gaussian_filter/gaussian_filter.cpp
stasyurin/pp_2021_spring_informatics
dd9136c28cca4c538c5ecc82512fd78ad1fa7bd3
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/pronkin_d_gaussian_filter/gaussian_filter.cpp
stasyurin/pp_2021_spring_informatics
dd9136c28cca4c538c5ecc82512fd78ad1fa7bd3
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/pronkin_d_gaussian_filter/gaussian_filter.cpp
stasyurin/pp_2021_spring_informatics
dd9136c28cca4c538c5ecc82512fd78ad1fa7bd3
[ "BSD-3-Clause" ]
1
2021-12-02T22:38:53.000Z
2021-12-02T22:38:53.000Z
// Copyright 2021 Pronkin Dmitry #include "../../../modules/task_3/pronkin_d_gaussian_filter/gaussian_filter.h" std::vector<double> getRandomImage(int height, int width) { if (height <= 0 || width <= 0) { throw std::invalid_argument("Incorrect image size!"); } std::mt19937 gen; gen.seed(static_...
37.267442
110
0.501716
stasyurin
d5741689f6d2b6855b7e9fe4f66ea32539ac8176
5,114
cpp
C++
ibtk/src/utilities/ParallelSet.cpp
hongk45/IBAMR
698d419fc6688470a8b9400822ba893da9d07ae2
[ "BSD-3-Clause" ]
null
null
null
ibtk/src/utilities/ParallelSet.cpp
hongk45/IBAMR
698d419fc6688470a8b9400822ba893da9d07ae2
[ "BSD-3-Clause" ]
1
2020-11-30T14:22:45.000Z
2020-12-01T21:28:24.000Z
ibtk/src/utilities/ParallelSet.cpp
hongk45/IBAMR
698d419fc6688470a8b9400822ba893da9d07ae2
[ "BSD-3-Clause" ]
null
null
null
// --------------------------------------------------------------------- // // Copyright (c) 2014 - 2019 by the IBAMR developers // All rights reserved. // // This file is part of IBAMR. // // IBAMR is free software and is distributed under the 3-clause BSD // license. The full text of the license can be found in the f...
31.567901
86
0.513297
hongk45
d57630498a0e3edaf525b6755633cc5247afa410
718
cpp
C++
C++/powerful-integers.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/powerful-integers.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/powerful-integers.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O((logn)^2), n is the bound // Space: O(r), r is the size of the result class Solution { public: vector<int> powerfulIntegers(int x, int y, int bound) { unordered_set<int> result; int log_x = (x != 1) ? int(floor(log(bound) / log(x))) + 1 : 1; int log_y = (y != 1) ? int(flo...
34.190476
71
0.458217
jaiskid
d57a397f92f1ab0b4a1b133ecf032f4a9d282489
9,666
cpp
C++
FrameStageNotify.cpp
Cloudfare/123123123123123
879954a3f628f2173ab221070e1d9bf119304ff7
[ "Apache-2.0" ]
null
null
null
FrameStageNotify.cpp
Cloudfare/123123123123123
879954a3f628f2173ab221070e1d9bf119304ff7
[ "Apache-2.0" ]
null
null
null
FrameStageNotify.cpp
Cloudfare/123123123123123
879954a3f628f2173ab221070e1d9bf119304ff7
[ "Apache-2.0" ]
null
null
null
#include "hooks.h" #include "global.h" #include "Menu.h" #include "BacktrackingHelper.h" #include "Resolver.h" #include "xor.h" #include "skinchanger.h" #define INVALID_EHANDLE_INDEX 0xFFFFFFFF ConVar* mp_facefronttime; ConVar* r_DrawSpecificStaticProp; int get_model_index(int item_def_index) { int ret...
26.337875
149
0.633975
Cloudfare
d57dad626c0d5241654bdb4e8300cc7103b30e71
1,099
cpp
C++
Progs/Ch06/Objpart.cpp
singhnir/C-Plus-Plus-Robert-Lafore
7ce3c92d15958e157484fc989632b879360103aa
[ "MIT" ]
4
2021-02-24T06:53:51.000Z
2022-02-18T11:15:19.000Z
Progs/Ch06/Objpart.cpp
singhnir/C-Plus-Plus-Robert-Lafore
7ce3c92d15958e157484fc989632b879360103aa
[ "MIT" ]
null
null
null
Progs/Ch06/Objpart.cpp
singhnir/C-Plus-Plus-Robert-Lafore
7ce3c92d15958e157484fc989632b879360103aa
[ "MIT" ]
4
2021-02-24T07:05:43.000Z
2022-03-09T17:45:32.000Z
// objpart.cpp // widget part as an object #include <iostream> using namespace std; //////////////////////////////////////////////////////////////// class part //define a class { private: int modelnumber; //ID number of widget int partnumber; //ID number of widget part ...
32.323529
65
0.400364
singhnir
d5809c2e64935fdfdc92add1fdabf4f8f49b1cb1
2,666
cpp
C++
src/Frameworks/PythonFramework/PythonValueFollowerLinear.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
39
2016-04-21T03:25:26.000Z
2022-01-19T14:16:38.000Z
src/Frameworks/PythonFramework/PythonValueFollowerLinear.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
23
2016-06-28T13:03:17.000Z
2022-02-02T10:11:54.000Z
src/Frameworks/PythonFramework/PythonValueFollowerLinear.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
14
2016-06-22T20:45:37.000Z
2021-07-05T12:25:19.000Z
#include "PythonValueFollowerLinear.h" namespace Mengine { ////////////////////////////////////////////////////////////////////////// PythonValueFollowerLinear::PythonValueFollowerLinear() : m_cacheValue( 0.f ) { } ////////////////////////////////////////////////////////////////////////// ...
32.512195
132
0.42198
Terryhata6
d5864609701dc849c589d5f731bebca0d334da1f
526
hpp
C++
EglCpp/Sources/Windows/Rendering/RenderingController.hpp
Egliss/EglCppBase
94d24b6e5e91da880833237a879138760ae9c669
[ "MIT" ]
null
null
null
EglCpp/Sources/Windows/Rendering/RenderingController.hpp
Egliss/EglCppBase
94d24b6e5e91da880833237a879138760ae9c669
[ "MIT" ]
2
2020-08-04T18:14:51.000Z
2020-08-06T19:19:11.000Z
EglCpp/Sources/Windows/Rendering/RenderingController.hpp
Egliss/EglCppBase
94d24b6e5e91da880833237a879138760ae9c669
[ "MIT" ]
null
null
null
#pragma once #include <memory> struct ID3D11Device; struct ID3D11DeviceContext; namespace DirectX { class CommonStates; class IEffectFactory; class SpriteBatch; class BasicEffect; } namespace Egliss::Rendering { class RenderingController { public: void Initialize(ID3D11Device* device, ID3D11DeviceContext* ...
18.137931
70
0.777567
Egliss
d586ec480aa53cac77445e47b4ec845257230409
4,994
cpp
C++
src/peco/utils/hexdump.cpp
littlepush/libpeco
c0ca92ddb7a70cd8183ade1ee0ec57fd534e280e
[ "MIT" ]
1
2020-04-14T06:31:56.000Z
2020-04-14T06:31:56.000Z
src/peco/utils/hexdump.cpp
littlepush/libpeco
c0ca92ddb7a70cd8183ade1ee0ec57fd534e280e
[ "MIT" ]
null
null
null
src/peco/utils/hexdump.cpp
littlepush/libpeco
c0ca92ddb7a70cd8183ade1ee0ec57fd534e280e
[ "MIT" ]
null
null
null
/* hexdump.cpp libpeco 2019-04-23 Push Chen */ /* MIT License Copyright (c) 2019 Push Chen 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 ...
30.638037
79
0.672006
littlepush
d58c1212ff22b145cd73b6e4d251a0fbe159337e
339
hpp
C++
HDBSCAN-CPP/Distance/EuclideanDistance.hpp
sumedhpb/hdbscan-cpp
843dcfd9ee4c88d9f645d9619cff600b2d16aa85
[ "MIT" ]
1
2021-08-13T15:48:29.000Z
2021-08-13T15:48:29.000Z
HDBSCAN-CPP/Distance/EuclideanDistance.hpp
sumedhpb/hdbscan-cpp
843dcfd9ee4c88d9f645d9619cff600b2d16aa85
[ "MIT" ]
null
null
null
HDBSCAN-CPP/Distance/EuclideanDistance.hpp
sumedhpb/hdbscan-cpp
843dcfd9ee4c88d9f645d9619cff600b2d16aa85
[ "MIT" ]
null
null
null
#pragma once #include"IDistanceCalculator.hpp" /// <summary> /// Computes the euclidean distance between two points, d = sqrt((x1-y1)^2 + (x2-y2)^2 + ... + (xn-yn)^2). /// </summary> class EuclideanDistance : IDistanceCalculator { public: double computeDistance(std::vector<double> attributesOne, std::vector<double> at...
26.076923
106
0.710914
sumedhpb
d5945d844db8b5a3d7027b48427212d568e6207b
5,729
cpp
C++
mod/assimp/assimp_shader.cpp
Lyatus/L
0b594d722200d5ee0198b5d7b9ee72a5d1e12611
[ "Unlicense" ]
45
2018-08-24T12:57:38.000Z
2021-11-12T11:21:49.000Z
mod/assimp/assimp_shader.cpp
Lyatus/L
0b594d722200d5ee0198b5d7b9ee72a5d1e12611
[ "Unlicense" ]
null
null
null
mod/assimp/assimp_shader.cpp
Lyatus/L
0b594d722200d5ee0198b5d7b9ee72a5d1e12611
[ "Unlicense" ]
4
2019-09-16T02:48:42.000Z
2020-07-10T03:50:31.000Z
#include "assimp.h" using namespace L; static const Symbol assimp_symbol("assimp"), frag_symbol("frag"), vert_symbol("vert"); bool assimp_shader_loader(ResourceSlot& slot, Shader::Intermediate& intermediate) { if(slot.ext != assimp_symbol) { return false; } String source; const bool skinned = strchr(slo...
34.305389
103
0.601152
Lyatus
d595fa36b50350a1ac507b08cb70b130b76cb7f1
1,177
cpp
C++
Plugins/onAirVRServer/Source/onAirVRServerEditor/Private/AirVRServerEditor.cpp
onairvr/onairvr-server-for-ue4
fbd24ff5f877700cf93fa26339bfdd8642d7ee26
[ "MIT" ]
8
2018-08-13T11:33:25.000Z
2021-02-27T23:27:45.000Z
Plugins/onAirVRServer/Source/onAirVRServerEditor/Private/AirVRServerEditor.cpp
onairvr/onairvr-server-for-ue4
fbd24ff5f877700cf93fa26339bfdd8642d7ee26
[ "MIT" ]
null
null
null
Plugins/onAirVRServer/Source/onAirVRServerEditor/Private/AirVRServerEditor.cpp
onairvr/onairvr-server-for-ue4
fbd24ff5f877700cf93fa26339bfdd8642d7ee26
[ "MIT" ]
4
2018-04-16T07:53:03.000Z
2019-01-30T15:28:01.000Z
/*********************************************************** Copyright (c) 2017-present Clicked, Inc. Licensed under the MIT license found in the LICENSE file in the Docs folder of the distributed package. ***********************************************************/ #include "AirVRServerEditorPrivate.h" #i...
30.973684
157
0.679694
onairvr
d596d3705eb5fadef79b6fc4a37b077ed01c5182
119,976
cpp
C++
src/PlayGame.cpp
cmesias/SmolDugeon
6624bd7f120f9b4981cbf517cc0fa591b3c7e976
[ "MIT" ]
null
null
null
src/PlayGame.cpp
cmesias/SmolDugeon
6624bd7f120f9b4981cbf517cc0fa591b3c7e976
[ "MIT" ]
null
null
null
src/PlayGame.cpp
cmesias/SmolDugeon
6624bd7f120f9b4981cbf517cc0fa591b3c7e976
[ "MIT" ]
null
null
null
/* * PlayGame.cpp * * Created on: May 15, 2017 * Author: Carl */ #include <fstream> #include <iostream> #include <limits> #include <math.h> #include <sstream> #include <iomanip> #include <memory> #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include <SDL2/SDL_mixer.h> #include <SDL2/SDL_ttf.h> #inclu...
27.064291
144
0.530048
cmesias
d5984fb0b68937e9818e5b254f7181d1c244e4cc
1,008
cpp
C++
src/RequestHandle.cpp
clinekev11/liblifthttp
558c698ea1272a7be6da1574fdcf3101e685ba77
[ "Apache-2.0" ]
null
null
null
src/RequestHandle.cpp
clinekev11/liblifthttp
558c698ea1272a7be6da1574fdcf3101e685ba77
[ "Apache-2.0" ]
null
null
null
src/RequestHandle.cpp
clinekev11/liblifthttp
558c698ea1272a7be6da1574fdcf3101e685ba77
[ "Apache-2.0" ]
null
null
null
#include "lift/RequestHandle.hpp" #include "lift/RequestPool.hpp" namespace lift { RequestHandle::RequestHandle( RequestPool* request_pool, std::unique_ptr<Request> request_ptr) : m_request_pool(request_pool) , m_request_ptr(std::move(request_ptr)) { } RequestHandle::~RequestHandle() { /** *...
21
72
0.677579
clinekev11
d59ce302adf96a9cb701806f8a1d1c21bdde8ca1
1,245
cpp
C++
src/wiz/format/debug/debug_format.cpp
Danl2620/wiz
972cd9dfcd52702ade90d90d9ec5eaa049753627
[ "MIT" ]
325
2016-03-19T20:39:28.000Z
2022-03-26T19:09:53.000Z
src/wiz/format/debug/debug_format.cpp
Danl2620/wiz
972cd9dfcd52702ade90d90d9ec5eaa049753627
[ "MIT" ]
126
2018-08-29T19:17:38.000Z
2021-12-27T18:04:47.000Z
src/wiz/format/debug/debug_format.cpp
Danl2620/wiz
972cd9dfcd52702ade90d90d9ec5eaa049753627
[ "MIT" ]
19
2016-01-19T01:05:23.000Z
2021-10-18T09:02:10.000Z
#include <wiz/format/debug/debug_format.h> #include <wiz/format/debug/mlb_debug_format.h> #include <wiz/format/debug/rgbds_sym_debug_format.h> #include <wiz/format/debug/wla_sym_debug_format.h> namespace wiz { DebugFormatCollection::DebugFormatCollection() { add("mlb"_sv, std::make_unique<MlbDebugFormat>()...
31.923077
91
0.677108
Danl2620
d59f24fcf83b998e16f615a18075e09434635011
3,535
cpp
C++
src/services/device_information_service.cpp
particle-iot/ble-gateway-library
021d13d3113ec7f71a5d16376486f2028ed9c5cf
[ "MIT" ]
7
2021-01-12T16:44:19.000Z
2022-01-18T07:17:26.000Z
src/services/device_information_service.cpp
particle-iot/ble-gateway-library
021d13d3113ec7f71a5d16376486f2028ed9c5cf
[ "MIT" ]
null
null
null
src/services/device_information_service.cpp
particle-iot/ble-gateway-library
021d13d3113ec7f71a5d16376486f2028ed9c5cf
[ "MIT" ]
1
2021-11-01T07:06:39.000Z
2021-11-01T07:06:39.000Z
#include "services/device_information_service.h" void DeviceInformationService::onConnect() { _peer.discoverCharacteristicsOfService(service); for (auto &ch : _peer.characteristics(service)) { if (ch.UUID().type() == BleUuidType::SHORT) { switch (ch.UUID().shorted()) { case ...
38.010753
84
0.586421
particle-iot
d59fcd3c2ad452623382ff69f080c3cc8d500cef
676
cpp
C++
reflective_shader.cpp
borninla/CS-130-Computer-Graphics
24b27bf0f2a63c2075406abf8a78cd14f0251f6f
[ "MIT" ]
1
2020-04-25T03:13:09.000Z
2020-04-25T03:13:09.000Z
reflective_shader.cpp
borninla/Ray-Tracer
24b27bf0f2a63c2075406abf8a78cd14f0251f6f
[ "MIT" ]
null
null
null
reflective_shader.cpp
borninla/Ray-Tracer
24b27bf0f2a63c2075406abf8a78cd14f0251f6f
[ "MIT" ]
null
null
null
#include "reflective_shader.h" #include "ray.h" #include "render_world.h" vec3 Reflective_Shader:: Shade_Surface(const Ray& ray,const vec3& intersection_point, const vec3& normal,int recursion_depth) const { vec3 color = shader->Shade_Surface(ray, intersection_point, normal, recursion_depth); vec3 v_ray =...
29.391304
101
0.699704
borninla
d5a58be207495f0898c4d4c493a6aad312b568a6
2,440
cc
C++
libwebsocket/client.cc
yangsongx/refrence
58376b97d0d1364b6a92dad89f5125a0d6e009e0
[ "Apache-2.0" ]
null
null
null
libwebsocket/client.cc
yangsongx/refrence
58376b97d0d1364b6a92dad89f5125a0d6e009e0
[ "Apache-2.0" ]
null
null
null
libwebsocket/client.cc
yangsongx/refrence
58376b97d0d1364b6a92dad89f5125a0d6e009e0
[ "Apache-2.0" ]
1
2019-01-29T06:37:19.000Z
2019-01-29T06:37:19.000Z
#include <stdio.h> #include <assert.h> #include <stdlib.h> #include <string.h> #include <libwebsockets.h> struct session_data { int fd; }; struct pthread_routine_tool { struct lws_context *context; struct lws *wsi; }; static int websocket_write_back(struct lws *wsi_in, char *str, int str_size_in) { ...
23.238095
115
0.627049
yangsongx
d5b107312088220f6f7d87a5072cff7f462f1306
233
cc
C++
trial_targets/shared_library_on_pic_on_shared_library.cc
adambreland/cpp-simple_bazel_cpp_toolchain
9530aad19a03b3ede56d51f6700b726249d51fe9
[ "MIT" ]
2
2021-08-29T00:21:49.000Z
2022-01-27T07:36:04.000Z
trial_targets/shared_library_on_pic_on_shared_library.cc
adambreland/cpp-simple_bazel_cpp_toolchain
9530aad19a03b3ede56d51f6700b726249d51fe9
[ "MIT" ]
null
null
null
trial_targets/shared_library_on_pic_on_shared_library.cc
adambreland/cpp-simple_bazel_cpp_toolchain
9530aad19a03b3ede56d51f6700b726249d51fe9
[ "MIT" ]
null
null
null
#include "shared_library_on_pic_on_shared_library.h" #include <string> #include "pic_on_shared_library.h" std::string so_on_pic_on_so_func() { std::string result {"so_on_"}; result.append(pic_on_so_func()); return result; }
17.923077
52
0.759657
adambreland
d5b51cd3e43fc9b5b90a2e133cda8be74e5c3c27
4,776
cpp
C++
src/network/rpc/RpcServer.cpp
kostdima/taraxa
61e9a50a60049c3f989efaf6970cd99a74896767
[ "MIT" ]
3
2021-10-05T18:48:57.000Z
2021-10-05T18:55:27.000Z
src/network/rpc/RpcServer.cpp
cybernekit/taraxa-node
585013f40d9377272bfd2db522d4caee414cf91d
[ "MIT" ]
7
2021-06-08T12:40:38.000Z
2021-06-16T12:11:15.000Z
src/network/rpc/RpcServer.cpp
cybernekit/taraxa-node
585013f40d9377272bfd2db522d4caee414cf91d
[ "MIT" ]
null
null
null
#include "RpcServer.h" #include "util/jsoncpp.hpp" #include "util/util.hpp" namespace taraxa::net { RpcServer::RpcServer(boost::asio::io_context &io, boost::asio::ip::tcp::endpoint ep, addr_t node_addr, ApiExceptionHandler api_ex_handler) : io_context_(io), acceptor_(io), ep_(std::move(ep)),...
37.023256
117
0.612856
kostdima
d5b68978f42ba4a76653711aa16d731bd7c75540
36,253
cpp
C++
IccProfLib/IccTagDict.cpp
digimatic/RefIccMAX
7cfe5583f01be98d9360d7f4a44b41a59462367b
[ "RSA-MD" ]
56
2016-02-24T20:43:57.000Z
2021-02-06T04:31:34.000Z
IccProfLib/IccTagDict.cpp
JasonLee8768/DemoIccMAX
b054d2976a858681749ac1eee2c85adb913c50eb
[ "RSA-MD" ]
24
2016-02-01T16:50:58.000Z
2021-01-17T03:51:00.000Z
IccProfLib/IccTagDict.cpp
JasonLee8768/DemoIccMAX
b054d2976a858681749ac1eee2c85adb913c50eb
[ "RSA-MD" ]
25
2016-02-02T15:26:09.000Z
2020-10-05T07:21:19.000Z
/** @file File: IccTagDictTag.cpp Contains: Implementation of prototype dictType Tag Version: V1 Copyright: � see ICC Software License */ /* * The ICC Software License, Version 0.2 * * * Copyright (c) 2003-2012 The International Color Consortium. All rights * reserved. * * Redist...
24.168667
100
0.526163
digimatic
d5b9c21e6dcdb245e56707cf151cfbc4e2a23bf2
3,613
cc
C++
src/store/strongstore/locktable.cc
princeton-sns/spanner-rss
6d7bf5ee6487772cd4f93e8458b5f22ae775974a
[ "MIT" ]
1
2021-11-24T01:38:28.000Z
2021-11-24T01:38:28.000Z
src/store/strongstore/locktable.cc
princeton-sns/spanner-rss
6d7bf5ee6487772cd4f93e8458b5f22ae775974a
[ "MIT" ]
null
null
null
src/store/strongstore/locktable.cc
princeton-sns/spanner-rss
6d7bf5ee6487772cd4f93e8458b5f22ae775974a
[ "MIT" ]
null
null
null
#include "store/strongstore/locktable.h" namespace strongstore { LockTable::LockTable() {} LockTable::~LockTable() {} LockStatus LockTable::ConvertToResultStatus(int status) { if (status == REPLY_OK) { return ACQUIRED; } else if (status == REPLY_WAIT) { return WAITING; } else if (status ...
34.409524
80
0.604207
princeton-sns
d5be00ba1e856873cb2286b737f9f0293c392578
2,669
cpp
C++
CompileTimeString.cpp
haxpor/cpp_st
43d1492266c6e01e6e243c834fba26eedf1ab9f3
[ "MIT" ]
2
2021-06-10T22:05:01.000Z
2021-09-17T08:21:20.000Z
CompileTimeString.cpp
haxpor/cpp_st
43d1492266c6e01e6e243c834fba26eedf1ab9f3
[ "MIT" ]
null
null
null
CompileTimeString.cpp
haxpor/cpp_st
43d1492266c6e01e6e243c834fba26eedf1ab9f3
[ "MIT" ]
1
2020-02-25T04:26:52.000Z
2020-02-25T04:26:52.000Z
/** * Attempt to implement a simple compile time string. * Note: It has a fixed memory address, so it can be passed around without worry. * * The string type will always have maximum space of 32 + 1 null-terminated bytes although the assigned string * has length less than that. To solve the problem of no-fixed siz...
46.824561
156
0.72012
haxpor
d5c170b149bfd0dee64ff963705781a39ea1d100
5,326
cpp
C++
bins/broker/web/MessagesRowPageReplacer.cpp
ivk-jsc/broker
8f43d85f115d605aac9d5b5875ccecc0c54d3217
[ "Apache-2.0" ]
10
2019-10-31T14:36:01.000Z
2022-02-25T13:47:23.000Z
bins/broker/web/MessagesRowPageReplacer.cpp
ivk-jsc/broker
8f43d85f115d605aac9d5b5875ccecc0c54d3217
[ "Apache-2.0" ]
6
2019-11-07T14:55:50.000Z
2021-03-03T09:31:35.000Z
bins/broker/web/MessagesRowPageReplacer.cpp
ivk-jsc/broker
8f43d85f115d605aac9d5b5875ccecc0c54d3217
[ "Apache-2.0" ]
3
2019-11-07T14:23:33.000Z
2020-11-05T18:35:16.000Z
/* * Copyright 2014-present IVK JSC. 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 appl...
46.719298
126
0.695081
ivk-jsc
d5c23d32dca434961e0820d208f1f15f1678d4cf
7,221
hh
C++
fgl/include/OpenMesh/Tools/Decimater/ModNormalFlippingT.hh
dmitriychunikhin/fgl
5d79c1e92e62d2d6e33413ee3f7e48b1c2322d4c
[ "BSD-2-Clause" ]
null
null
null
fgl/include/OpenMesh/Tools/Decimater/ModNormalFlippingT.hh
dmitriychunikhin/fgl
5d79c1e92e62d2d6e33413ee3f7e48b1c2322d4c
[ "BSD-2-Clause" ]
null
null
null
fgl/include/OpenMesh/Tools/Decimater/ModNormalFlippingT.hh
dmitriychunikhin/fgl
5d79c1e92e62d2d6e33413ee3f7e48b1c2322d4c
[ "BSD-2-Clause" ]
null
null
null
/*===========================================================================*\ * * * OpenMesh * * Copyright (C) 2001-2012 by Computer Graphics Group, RWTH Aachen * * ...
37.806283
108
0.473619
dmitriychunikhin
d5c4e3db917c2c6b3e1dee19642eff1edf7d76c2
9,071
cpp
C++
Source/Audio/Audio.cpp
enci/Osmium
48d8b78ed31ffa532e05dc8c06b644f6f5791814
[ "MIT" ]
6
2017-05-28T18:26:35.000Z
2019-12-09T15:28:37.000Z
Source/Audio/Audio.cpp
enci/Osmium
48d8b78ed31ffa532e05dc8c06b644f6f5791814
[ "MIT" ]
null
null
null
Source/Audio/Audio.cpp
enci/Osmium
48d8b78ed31ffa532e05dc8c06b644f6f5791814
[ "MIT" ]
5
2018-03-09T09:02:57.000Z
2020-07-31T23:34:26.000Z
#include <Audio/Audio.h> #include <fmod_studio.hpp> #include <Defines.h> #include <fmod_errors.h> #include <Core/Transform.h> #include <Physics/Physics2D.h> #include <imgui/imgui.h> #define VERBOSE_LEVEL 4 using namespace Osm; using namespace std; using namespace FMOD::Studio; void ERRCHECK_fn(FMOD_RESULT result, co...
23.318766
100
0.660126
enci
d5c8df917bc17582d23ac3d801127fbcf698e502
20,291
cpp
C++
quake_framebuffer/quake_framebuffer/net_main.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
4
2018-07-03T14:21:39.000Z
2021-06-01T06:12:14.000Z
quake_framebuffer/quake_framebuffer/net_main.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
null
null
null
quake_framebuffer/quake_framebuffer/net_main.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (C) 1996-1997 Id Software, Inc. 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 version. This program is distributed in th...
20.250499
161
0.674831
WarlockD
d5cc765dd6725a8246e7f3c6457f4c26ccc4f6e3
1,330
cpp
C++
code/test/archive/basic_bs_tree.cpp
Brunovsky/competitive
41cf49378e430ca20d844f97c67aa5059ab1e973
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
code/test/archive/basic_bs_tree.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
code/test/archive/basic_bs_tree.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#undef NDEBUG #include "test_utils.hpp" #include "../bstree/bs_set.hpp" #include "../bstree/bs_tree_debug.hpp" using namespace std; /** * Simplified version of bs_tree.cpp test suite with just the basic insert and erase * operations, to test new or buggy cores (splay) */ template struct bs_set<int>; void insert_...
22.931034
84
0.545865
Brunovsky
d5cf7ae9ebff17c0e034984c46b758a40d3a3e55
5,164
hpp
C++
engine/convolution/Core2DProtectingReference.hpp
MGNeo/cnn
4f77ca84591cc8e2b843f96bef0d7bf372c35ab9
[ "BSD-2-Clause" ]
null
null
null
engine/convolution/Core2DProtectingReference.hpp
MGNeo/cnn
4f77ca84591cc8e2b843f96bef0d7bf372c35ab9
[ "BSD-2-Clause" ]
null
null
null
engine/convolution/Core2DProtectingReference.hpp
MGNeo/cnn
4f77ca84591cc8e2b843f96bef0d7bf372c35ab9
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include "Core2D.hpp" namespace cnn { namespace engine { namespace convolution { // Core2DProtectingReference is a type which implements semantics of protecting reference to Core2D. // The protecting reference proxies all methods of Core2D and doesn't allow to use methods, which c...
29.340909
118
0.649109
MGNeo
d5cff120903b11775b511b67bb600cfcf1cd3173
2,697
hpp
C++
src/VMEffectsVulkan/DeviceVkImpl.hpp
cad420/VMEffects
9f68b2e0e1c1a51b50f5a0383dd9d31c33ab2af0
[ "MIT" ]
null
null
null
src/VMEffectsVulkan/DeviceVkImpl.hpp
cad420/VMEffects
9f68b2e0e1c1a51b50f5a0383dd9d31c33ab2af0
[ "MIT" ]
null
null
null
src/VMEffectsVulkan/DeviceVkImpl.hpp
cad420/VMEffects
9f68b2e0e1c1a51b50f5a0383dd9d31c33ab2af0
[ "MIT" ]
null
null
null
#pragma once #include <VMEffectsVulkan/IDeviceVk.h> #include <VMEffectsVulkan/IEngineFactoryVk.h> #include <VMEffectsVulkan/VulkanWrapper/InstanceVk.h> #include <VMEffectsVulkan/VulkanWrapper/LogicalDevickVk.h> #include <VMEffectsVulkan/VulkanWrapper/PhysicalDeviceVk.h> #include <DeviceBase.hpp> #include <VMEffectsVu...
23.452174
114
0.765666
cad420
d5d5bbe8b39ffcb0aab71ddb6fd3942dbb48cc6c
799
hpp
C++
Krakoa/Source/Graphics/Resources/iBuffers.hpp
KingKiller100/Krakatoa-Engine
ff07f7328d428c04e06b561b6afd315eea39865c
[ "Apache-2.0" ]
1
2020-04-05T13:37:48.000Z
2020-04-05T13:37:48.000Z
Krakoa/Source/Graphics/Resources/iBuffers.hpp
KingKiller100/Krakoa-Engine
0f2a5a5109e256a384abe8dc21eacaa45c1de610
[ "Apache-2.0" ]
null
null
null
Krakoa/Source/Graphics/Resources/iBuffers.hpp
KingKiller100/Krakoa-Engine
0f2a5a5109e256a384abe8dc21eacaa45c1de610
[ "Apache-2.0" ]
null
null
null
#pragma once #include "BufferLayout.hpp" #include <cstdint> namespace krakoa::gfx { class iVertexBuffer { public: virtual ~iVertexBuffer(); virtual void Bind() const = 0; virtual void Unbind() const = 0; virtual void SetData(const void* data, uint32_t size) = 0; virtual const BufferLayout& GetLayout...
19.487805
65
0.710889
KingKiller100
d5d60df06841d6b105908d78430aa961aa7cdcb0
4,930
cpp
C++
HookPorts/Dispatch_USER32_CreateWindowEx.cpp
Souhardya/Slavyana
e5dd2f14af1499c83650c371fa86dc1c51e2556d
[ "Apache-2.0" ]
20
2021-12-31T11:28:38.000Z
2022-03-22T13:28:59.000Z
HookPorts/Dispatch_USER32_CreateWindowEx.cpp
Souhardya/Slavyana
e5dd2f14af1499c83650c371fa86dc1c51e2556d
[ "Apache-2.0" ]
null
null
null
HookPorts/Dispatch_USER32_CreateWindowEx.cpp
Souhardya/Slavyana
e5dd2f14af1499c83650c371fa86dc1c51e2556d
[ "Apache-2.0" ]
8
2022-03-12T10:09:39.000Z
2022-03-15T08:39:27.000Z
#include <windows.h> #include <ntsecapi.h> #include "./Dispatch_USER32_CreateWindowEx.h" #include "../Common/DebugLog.h" #include "./HookHelp.h" #include "./Main.h" #include "./Initalization.h" #include "./GetProcAddressEx.h" // //Global // __pfnCreateWindowExA pfnCreateWindowExA = NULL; __pfnCreate...
15.55205
79
0.606085
Souhardya
d5dc936cd0ef33134fd3536726fb2800ebe20bab
9,084
cpp
C++
log4qt/logger.cpp
libfetion/libfetion-gui-dev
70ae7608d36dd8d65e222365f3408093fe348825
[ "curl" ]
123
2015-01-25T16:11:01.000Z
2022-03-31T11:58:18.000Z
src/log4qt/logger.cpp
doo/log4qt
8088614e1d63e1c086c5b26acdd6e742767a8136
[ "Apache-2.0" ]
109
2016-09-02T08:13:58.000Z
2022-03-28T05:45:51.000Z
src/log4qt/logger.cpp
doo/log4qt
8088614e1d63e1c086c5b26acdd6e742767a8136
[ "Apache-2.0" ]
100
2015-03-01T07:52:37.000Z
2022-02-25T08:50:27.000Z
/****************************************************************************** * * package: Log4Qt * file: logger.cpp * created: September 2007 * author: Martin Heinrich * * * changes: Sep 2008, Martin Heinrich: * - Fixed problem in Qt 4.4 where QReadWriteLock is by default * n...
25.954286
140
0.559225
libfetion
d5e1034dbbb8ab2936491d146fe954912a580985
613
cpp
C++
p2point/p2point/p2point.cpp
Orelik11/learning
a50ab2873ceb04bd86c9a0a20d3e6037e2ec8aba
[ "Apache-2.0" ]
null
null
null
p2point/p2point/p2point.cpp
Orelik11/learning
a50ab2873ceb04bd86c9a0a20d3e6037e2ec8aba
[ "Apache-2.0" ]
null
null
null
p2point/p2point/p2point.cpp
Orelik11/learning
a50ab2873ceb04bd86c9a0a20d3e6037e2ec8aba
[ "Apache-2.0" ]
null
null
null
// p2point.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> using namespace std; int main() { int **parr = new int* ; cout << "How much strings should be in array?\n"; int size = 0; cin >> size; for (int i = 0; i < size; i ++ ) { parr = new int* (0); }...
13.622222
69
0.500816
Orelik11
d5e3b7a79dd0aefcaf813fdec65fbb9e088c26b2
847
cpp
C++
docs/string/code/trie/trie_1.cpp
xiaocairush/xiaocairush.github.io
4f1d864b9b3fba1e2100f6a50932756c0373971c
[ "MIT" ]
null
null
null
docs/string/code/trie/trie_1.cpp
xiaocairush/xiaocairush.github.io
4f1d864b9b3fba1e2100f6a50932756c0373971c
[ "MIT" ]
null
null
null
docs/string/code/trie/trie_1.cpp
xiaocairush/xiaocairush.github.io
4f1d864b9b3fba1e2100f6a50932756c0373971c
[ "MIT" ]
null
null
null
#include <cstdio> const int N = 500010; char s[60]; int n, m, ch[N][26], tag[N], tot = 1; int main() { scanf("%d", &n); for (int i = 1; i <= n; ++i) { scanf("%s", s + 1); int u = 1; for (int j = 1; s[j]; ++j) { int c = s[j] - 'a'; if (!ch[u][c]) ch[u][c] = ++tot; // ...
19.25
61
0.420307
xiaocairush
d5e4206845da4942ebc984b695860ff37cc23c27
590
cc
C++
leetcode/longest-consecutive-sequence.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
leetcode/longest-consecutive-sequence.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
leetcode/longest-consecutive-sequence.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
// Longest Consecutive Sequence class Solution { public: int longestConsecutive(vector<int>& nums) { if (nums.size() == 0) return 0; int max_len = 1; set<int> s(nums.begin(), nums.end()); nums.assign(s.begin(), s.end()); sort(nums.begin(), nums.end()); int n = nums....
26.818182
48
0.457627
Waywrong
d5e49065d38dba18df1f582ce2714412409f6086
3,203
cpp
C++
Soruce/ModuleRender.cpp
ermario/3DEngineApp
9a6ae32ce3aba5c610c71b616743580eabcaa0d8
[ "MIT" ]
2
2021-12-02T01:31:20.000Z
2021-12-09T17:32:02.000Z
Soruce/ModuleRender.cpp
ermario/3DEngineApp
9a6ae32ce3aba5c610c71b616743580eabcaa0d8
[ "MIT" ]
null
null
null
Soruce/ModuleRender.cpp
ermario/3DEngineApp
9a6ae32ce3aba5c610c71b616743580eabcaa0d8
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "ModuleRender.h" #include "ModuleProgram.h" #include "ModuleWindow.h" #include "ModuleCamera.h" #include "ModuleDebugDraw.h" #include "SDL.h" ModuleRender::ModuleRender() { } // Destructor ModuleRender::~ModuleRender() { } // Called before render is availab...
27.376068
123
0.751795
ermario
d5f28be676d70428f0c60355b60f84a64d6f5872
6,092
hh
C++
intern/amGHOST_ContextWGL.hh
REYNEP/amGHOST
2c8dec2182f5caad254371039bc3b15271de6a6b
[ "BSL-1.0" ]
1
2021-12-31T03:36:37.000Z
2021-12-31T03:36:37.000Z
intern/amGHOST_ContextWGL.hh
REYNEP/amGHOST
2c8dec2182f5caad254371039bc3b15271de6a6b
[ "BSL-1.0" ]
null
null
null
intern/amGHOST_ContextWGL.hh
REYNEP/amGHOST
2c8dec2182f5caad254371039bc3b15271de6a6b
[ "BSL-1.0" ]
null
null
null
#define WIN32_LEAN_AND_MEAN 1 #include <windows.h> //Need: <sdkddkver.h>, <winresrc.h>, "WinDef.h" [HWND m_hwnd; HDC m_hdc; HGLRC m_hglrc] "wingdi.h" [PIXELFORMATDESCRIPTOR m_pfd] //[kh-reg-gl] Mentioned in this file is equal to https://www.khronos.org/registry/OpenGL/ //GL Commons from glew.h #define GL_ZERO 0 #defin...
41.162162
244
0.812869
REYNEP
d5f2cd3013594746203b7713153827e08f0fd519
380
cpp
C++
OpenGL-Cpp-Mac/Cpp/ShaderProgram/ShaderProgram.cpp
AivanF/OpenGL-Cpp-ObjC-Mac
ef42b95a8f08911c145770cac1e970c55f071ae1
[ "Cube" ]
4
2018-05-02T02:11:23.000Z
2021-08-08T22:07:11.000Z
OpenGL-Cpp-Mac/Cpp/ShaderProgram/ShaderProgram.cpp
AivanF/OpenGL-Cpp-ObjC-Mac
ef42b95a8f08911c145770cac1e970c55f071ae1
[ "Cube" ]
null
null
null
OpenGL-Cpp-Mac/Cpp/ShaderProgram/ShaderProgram.cpp
AivanF/OpenGL-Cpp-ObjC-Mac
ef42b95a8f08911c145770cac1e970c55f071ae1
[ "Cube" ]
1
2019-05-13T14:39:24.000Z
2019-05-13T14:39:24.000Z
// // ShaderProgram.cpp // OpenGL-Cpp-Mac // // Created by Barsehv Ivan on 06/12/2017. // #include "ShaderProgram.hpp" GLuint ShaderProgram::index() { return program; } GLuint ShaderProgram::attr(const GLchar *name) { return glGetAttribLocation(program, name); } GLuint ShaderProgram::uniform(const GLchar...
18.095238
51
0.710526
AivanF
d5fa37b2c6207e4459e7370220bc587097a70d24
243,611
cpp
C++
cimgui-docking/hbimgui.cpp
alcz/harbour-cimgui-sokol-starterkit
2c8a314de09fafc9d92ed74ad987ad36053ecf04
[ "MIT" ]
null
null
null
cimgui-docking/hbimgui.cpp
alcz/harbour-cimgui-sokol-starterkit
2c8a314de09fafc9d92ed74ad987ad36053ecf04
[ "MIT" ]
null
null
null
cimgui-docking/hbimgui.cpp
alcz/harbour-cimgui-sokol-starterkit
2c8a314de09fafc9d92ed74ad987ad36053ecf04
[ "MIT" ]
null
null
null
/* This file is automatically generated by generator.prg originated from https://github.com/alcz/harbour-cimgui-sokol-starterkit based on output/definitions.json from cimgui https://github.com/cimgui/cimgui which is based on imgui.h file version "1.85" from Dear ImGui https://github.com/ocornut/imgui */ #incl...
31.807155
306
0.694776
alcz
d5fd4d34c3c421260f926451ad8ba42fcc930e89
8,969
cpp
C++
src/util.cpp
nime88/liquidiot-duktape-server
18b6ab32645853973f5fe806b35f2e8daf68bbb5
[ "Apache-2.0" ]
null
null
null
src/util.cpp
nime88/liquidiot-duktape-server
18b6ab32645853973f5fe806b35f2e8daf68bbb5
[ "Apache-2.0" ]
6
2018-06-01T09:16:23.000Z
2018-07-08T08:00:02.000Z
src/util.cpp
nime88/liquidiot-duktape-server
18b6ab32645853973f5fe806b35f2e8daf68bbb5
[ "Apache-2.0" ]
null
null
null
#include "util.h" #include "prints.h" #include "constant.h" using std::pair; #include <fstream> #include <regex> duk_ret_t json_decode_raw(duk_context *ctx, void *udata) { (void) udata; duk_json_decode(ctx, -1); return 1; } duk_int_t safe_json_decode(duk_context *ctx,const char* json) { void *udata; (void) ...
32.614545
121
0.603412
nime88
d5fecc1063b3e0f24a79552eb4cdcc6a811b6bd7
7,465
cc
C++
engine/rendering/export/image_exporter.cc
pikacuh/ink
08c2abb5a40a3c75fbaa636d39e572dea3547960
[ "Apache-2.0" ]
1
2021-03-02T22:22:38.000Z
2021-03-02T22:22:38.000Z
engine/rendering/export/image_exporter.cc
pikacuh/ink
08c2abb5a40a3c75fbaa636d39e572dea3547960
[ "Apache-2.0" ]
null
null
null
engine/rendering/export/image_exporter.cc
pikacuh/ink
08c2abb5a40a3c75fbaa636d39e572dea3547960
[ "Apache-2.0" ]
1
2021-03-02T22:23:12.000Z
2021-03-02T22:23:12.000Z
// Copyright 2018 Google LLC // // 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 ...
36.773399
80
0.733825
pikacuh
9101e04a18a334b33afc40820c88188383eccafe
11,596
cpp
C++
tools/main.cpp
sommerluk/perceptualcolorpickertest
8df8055e594239cf967431e70a74e87d7da1f684
[ "BSD-3-Clause", "MIT" ]
null
null
null
tools/main.cpp
sommerluk/perceptualcolorpickertest
8df8055e594239cf967431e70a74e87d7da1f684
[ "BSD-3-Clause", "MIT" ]
null
null
null
tools/main.cpp
sommerluk/perceptualcolorpickertest
8df8055e594239cf967431e70a74e87d7da1f684
[ "BSD-3-Clause", "MIT" ]
null
null
null
// SPDX-License-Identifier: MIT /* * Copyright (c) 2020 Lukas Sommer sommerluk@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 limi...
43.268657
138
0.552432
sommerluk
910232c33667da5cda6c6de980e78932fdbfed13
1,594
cpp
C++
fred2/editcontainernamedlg.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
307
2015-04-10T13:27:32.000Z
2022-03-21T03:30:38.000Z
fred2/editcontainernamedlg.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
2,231
2015-04-27T10:47:35.000Z
2022-03-31T19:22:37.000Z
fred2/editcontainernamedlg.cpp
trgswe/fs2open.github.com
a159eba0cebca911ad14a118412fddfe5be8e9f8
[ "Unlicense" ]
282
2015-01-05T12:16:57.000Z
2022-03-28T04:45:11.000Z
/* * Created by Hassan "Karajorma" Kazmi and Josh "jg18" Glatt for The FreeSpace 2 Source Code Project. * You may not sell or otherwise commercially exploit the source or things you * create based on the source. */ #include "stdafx.h" #include "FRED.h" #include "EditContainerNameDlg.h" #include "parse/sexp.h" #inc...
27.482759
144
0.776662
trgswe
51040916c8f4484385e656fa68cb3576dbdebbfa
2,275
hpp
C++
include/client/storsyncinf.hpp
txgcwm/opencvr
6136832c821718fa62513a86d83bcdcf05051eda
[ "MIT" ]
null
null
null
include/client/storsyncinf.hpp
txgcwm/opencvr
6136832c821718fa62513a86d83bcdcf05051eda
[ "MIT" ]
null
null
null
include/client/storsyncinf.hpp
txgcwm/opencvr
6136832c821718fa62513a86d83bcdcf05051eda
[ "MIT" ]
1
2019-02-24T22:38:34.000Z
2019-02-24T22:38:34.000Z
#ifndef __VSC_STOR_SYNC_INF_H__ #define __VSC_STOR_SYNC_INF_H__ #include "config/confdb.hpp" #include "server/camera.hpp" #include "vdb.hpp" #include "vhdfsdb.hpp" #include "vplay.hpp" #include "config/sysdb.hpp" #include "server/hdddevice.hpp" #include <QThread> #include <qdebug.h> #include "Poco/Path.h" #...
25.852273
86
0.735385
txgcwm
5105c5bc80543db9497499f8676f6ca587d86f2c
2,310
hpp
C++
src/Application/ImageFileService.hpp
ice-github/ImageInformationAnalyzer
7065065d54f0d0e56e66210a915b6637d803f52f
[ "MIT" ]
14
2019-12-02T03:19:11.000Z
2020-06-14T13:06:36.000Z
src/Application/ImageFileService.hpp
ice-github/ImageInformationAnalyzer
7065065d54f0d0e56e66210a915b6637d803f52f
[ "MIT" ]
null
null
null
src/Application/ImageFileService.hpp
ice-github/ImageInformationAnalyzer
7065065d54f0d0e56e66210a915b6637d803f52f
[ "MIT" ]
1
2019-12-02T16:39:25.000Z
2019-12-02T16:39:25.000Z
#pragma once #include "ImageFileData.hpp" namespace ImageInformationAnalyzer { namespace Application { using namespace Domain; class ImageFileService { IImageFileDataRepository* graphicRepository_; IImageFileDataRepository* jsonRepository_; ...
35.538462
159
0.534199
ice-github
510aae1bd15b2ac8b8331f1106d2a07a9e86c02b
3,235
cpp
C++
src/HudString.cpp
syi47/spacebilliards
39a0a55761917144920a0a5ac4ff145a83d69a55
[ "Apache-2.0" ]
null
null
null
src/HudString.cpp
syi47/spacebilliards
39a0a55761917144920a0a5ac4ff145a83d69a55
[ "Apache-2.0" ]
null
null
null
src/HudString.cpp
syi47/spacebilliards
39a0a55761917144920a0a5ac4ff145a83d69a55
[ "Apache-2.0" ]
null
null
null
/* Copyright 2010 Tatham Johnson Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
26.735537
130
0.702628
syi47
510cb786dffa502ab7666fed5ceab0a776328e97
1,120
hh
C++
http/inc/EHttpServerCodec.hh
developkits/CxxMina
705734fccc5ef87c7faa385b77cd1e67c46c5c75
[ "Apache-2.0" ]
7
2016-08-25T14:22:36.000Z
2020-05-25T17:27:51.000Z
http/inc/EHttpServerCodec.hh
developkits/CxxMina
705734fccc5ef87c7faa385b77cd1e67c46c5c75
[ "Apache-2.0" ]
1
2018-07-11T12:37:55.000Z
2018-07-12T00:05:33.000Z
http/inc/EHttpServerCodec.hh
developkits/CxxMina
705734fccc5ef87c7faa385b77cd1e67c46c5c75
[ "Apache-2.0" ]
2
2017-06-09T01:22:36.000Z
2021-09-29T16:27:58.000Z
/* * EHttpServerCodec.hh * * Created on: 2017-1-4 * Author: cxxjava@163.com */ #ifndef EHTTPSERVERCODEC_HH_ #define EHTTPSERVERCODEC_HH_ #include "../../inc/EProtocolCodecFilter.hh" namespace efc { namespace eio { /** * */ class EHttpServerCodec: public EProtocolCodecFilter { public: virtual ~EHttpSe...
22.4
108
0.716964
developkits
51109550ab427f04e917d819ca9b4a070e43e774
1,322
cpp
C++
Source/PinnedDown/UI/PDUIMode.cpp
pinned-down/client
ee9c07026e03b78349494fb5b1ebd813bd8343be
[ "MIT" ]
null
null
null
Source/PinnedDown/UI/PDUIMode.cpp
pinned-down/client
ee9c07026e03b78349494fb5b1ebd813bd8343be
[ "MIT" ]
null
null
null
Source/PinnedDown/UI/PDUIMode.cpp
pinned-down/client
ee9c07026e03b78349494fb5b1ebd813bd8343be
[ "MIT" ]
null
null
null
#include "PDUIMode.h" #include "Core/PDCardActor.h" #include "Data/PDCardType.h" #include "Data/Components/PDGameplayTagsComponent.h" void UPDUIMode::Init(APDPlayerController* InPlayerController, UPDGameplayTagsManager* InGameplayTagsManager) { PlayerController = InPlayerController; GameplayTagsManager = InGa...
23.192982
117
0.760212
pinned-down
5110962910a72abf64246d3db434405beda24f8a
776
cpp
C++
Physx.NetCore/Source/VehiclePadSmoothingData.cpp
ronbrogan/Physx.NetCore
ac788494b6aefc4b6633c46e857f199e6ab0a47a
[ "MIT" ]
187
2015-01-02T15:58:10.000Z
2022-02-20T05:23:13.000Z
PhysX.Net-3.4/PhysX.Net-3/Source/VehiclePadSmoothingData.cpp
Golangltd/PhysX.Net
fb71e0422d441a16a05ed51348d8afb0328d4b90
[ "MIT" ]
37
2015-01-10T04:38:23.000Z
2022-03-18T00:52:27.000Z
PhysX.Net-3.4/PhysX.Net-3/Source/VehiclePadSmoothingData.cpp
Golangltd/PhysX.Net
fb71e0422d441a16a05ed51348d8afb0328d4b90
[ "MIT" ]
63
2015-01-11T12:12:44.000Z
2022-02-05T14:12:49.000Z
#include "StdAfx.h" #include "VehiclePadSmoothingData.h" VehiclePadSmoothingData^ VehiclePadSmoothingData::ToManaged(PxVehiclePadSmoothingData desc) { auto d = gcnew VehiclePadSmoothingData(); d->RiseRates = Util::AsManagedArray<float>(&desc.mRiseRates, PxVehicleDriveDynData::eMAX_NB_ANALOG_INPUTS); d->FallRates ...
40.842105
109
0.822165
ronbrogan
5110ef3c0582756b244e542a2b8cea87877e179b
587
hpp
C++
lang/cxx.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
41
2019-09-24T02:17:34.000Z
2022-01-18T03:14:46.000Z
lang/cxx.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
2
2019-11-04T09:01:40.000Z
2020-06-23T03:03:38.000Z
lang/cxx.hpp
Better-Idea/Mix-C
71f34a5fc8c17a516cf99bc397289d046364a82e
[ "Apache-2.0" ]
8
2019-09-24T02:17:35.000Z
2021-09-11T00:21:03.000Z
// 注意:cxx<item_t> 主要用作字符串处理,目前仅支持 char/char16_t 两种元素类型 #ifdef xuser #ifndef xusing_lang_cxx #include"lang/private/cxx.hpp" #endif namespace xuser{ template<class item_t> struct cxx; template<> struct cxx<char> : xusing_lang_cxx::cxx<cxx<char>, char>{ using xusing_lang_cxx::cxx<cxx<char>, char>::c...
22.576923
73
0.678024
Better-Idea
5114996e4842657eeb3a80e459183f2a13b039af
44
hpp
C++
src/boost_compute_algorithm_copy.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_compute_algorithm_copy.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_compute_algorithm_copy.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/compute/algorithm/copy.hpp>
22
43
0.795455
miathedev
511643aaaf8ffb75fc5b2636a5c4f4be80a4244c
6,134
cpp
C++
src/saiga/core/math/EigenGLMInterface.cpp
no33fewi/saiga
edc873e34cd59eaf8c4a12dc7f909b4dd5e5fb68
[ "MIT" ]
114
2017-08-13T22:37:32.000Z
2022-03-25T12:28:39.000Z
src/saiga/core/math/EigenGLMInterface.cpp
no33fewi/saiga
edc873e34cd59eaf8c4a12dc7f909b4dd5e5fb68
[ "MIT" ]
7
2019-10-14T18:19:11.000Z
2021-06-11T09:41:52.000Z
src/saiga/core/math/EigenGLMInterface.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 "EigenGLMInterface.h" #include "math.h" namespace Saiga { mat4 createTRSmatrix(const vec3& t, const quat& r, const vec3& s) { mat4 T = translate(t); mat4 R = make_mat4(r); ...
20.863946
113
0.590968
no33fewi
511775073edec945ea217d277d8b87db4bd5365c
1,176
cpp
C++
src/Interface/chiopInterface.cpp
fritzgoebel/hiop
86e4e1b9899a0e21d74a3ad9a8aa973e0e289b98
[ "BSD-3-Clause" ]
126
2017-12-30T13:06:07.000Z
2022-03-27T03:30:46.000Z
src/Interface/chiopInterface.cpp
fritzgoebel/hiop
86e4e1b9899a0e21d74a3ad9a8aa973e0e289b98
[ "BSD-3-Clause" ]
344
2018-01-24T22:05:38.000Z
2022-03-31T17:49:52.000Z
src/Interface/chiopInterface.cpp
fritzgoebel/hiop
86e4e1b9899a0e21d74a3ad9a8aa973e0e289b98
[ "BSD-3-Clause" ]
30
2018-01-20T00:16:06.000Z
2022-03-18T12:57:19.000Z
#include "chiopInterface.hpp" extern "C" { using namespace hiop; // These are default options for the C interface for now. Setting options from C will be added in the future. int hiop_createProblem(cHiopProblem *prob) { cppUserProblem * cppproblem = new cppUserProblem(prob); hiopNlpMDS *nlp = new hiopNlpMDS(*cppp...
30.153846
109
0.734694
fritzgoebel
5117b0787a24191f07e22a33dd0a3f2fb27260db
56,924
cpp
C++
FPSLighting/Dependencies/DIRECTX/Samples/C++/Direct3D10/Instancing10/Instancing.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
FPSLighting/Dependencies/DIRECTX/Samples/C++/Direct3D10/Instancing10/Instancing.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
FPSLighting/Dependencies/DIRECTX/Samples/C++/Direct3D10/Instancing10/Instancing.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------- // File: Instancing.cpp // // Copyright (c) Microsoft Corporation. All rights reserved. //-------------------------------------------------------------------------------------- #include "DXUT.h" #include "DXUTgui.h" #include "DXUTs...
40.689064
136
0.612395
billionare
511888dad7e9b12fddc0610d1fe16822520282d5
742
hpp
C++
lib/algorithm/doubling.hpp
kuhaku-space/atcoder-lib
7fe1365e1be69d3eff11e122b2c7dff997a6c541
[ "Apache-2.0" ]
null
null
null
lib/algorithm/doubling.hpp
kuhaku-space/atcoder-lib
7fe1365e1be69d3eff11e122b2c7dff997a6c541
[ "Apache-2.0" ]
4
2022-01-05T14:40:40.000Z
2022-03-05T08:03:19.000Z
lib/algorithm/doubling.hpp
kuhaku-space/atcoder-lib
7fe1365e1be69d3eff11e122b2c7dff997a6c541
[ "Apache-2.0" ]
null
null
null
#include "template/template.hpp" /** * @brief ダブリング * * @tparam L */ template <int L> struct Doubling { Doubling(int _n) : n(_n), data(L, std::vector<int>(_n)) {} void build(const std::vector<int> &v) { for (int i = 0; i < this->n; ++i) this->data[0][i] = v[i]; for (int i = ...
22.484848
72
0.420485
kuhaku-space
511a68277e4ad15b99f91c2f4ebfe34b79c33066
8,518
cpp
C++
StarEngine/jni/Scenes/SceneManager.cpp
madhubandubey9/StarEngine
1d0adcf8cfd50bc223be6f333c4f2a0af5260b27
[ "MIT" ]
455
2015-02-04T01:39:12.000Z
2022-03-18T17:28:34.000Z
StarEngine/jni/Scenes/SceneManager.cpp
madhubandubey9/StarEngine
1d0adcf8cfd50bc223be6f333c4f2a0af5260b27
[ "MIT" ]
1
2016-12-25T09:14:12.000Z
2016-12-25T14:48:27.000Z
StarEngine/jni/Scenes/SceneManager.cpp
madhubandubey9/StarEngine
1d0adcf8cfd50bc223be6f333c4f2a0af5260b27
[ "MIT" ]
117
2015-01-30T10:13:54.000Z
2022-03-08T03:46:42.000Z
#include "SceneManager.h" #include "../Logger.h" #include "../Context.h" #include "BaseScene.h" #include "../Objects/Object.h" #include "../Graphics/GraphicsManager.h" #include "../Graphics/TextureManager.h" #include "../Graphics/UI/UICursor.h" #include "../Graphics/UI/UIBaseCursor.h" #include "../Graphics/Spr...
23.273224
94
0.680794
madhubandubey9
5122cc6bd25b55cfc15548233f7ef21fce1f6344
1,068
cpp
C++
samples/sandbox/main.cpp
vitodtagliente/vdtplatform
8b38a84fc2a582ea04743dcf19b70b2f3416c744
[ "MIT" ]
null
null
null
samples/sandbox/main.cpp
vitodtagliente/vdtplatform
8b38a84fc2a582ea04743dcf19b70b2f3416c744
[ "MIT" ]
null
null
null
samples/sandbox/main.cpp
vitodtagliente/vdtplatform
8b38a84fc2a582ea04743dcf19b70b2f3416c744
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include <vdtplatform/platform.h> using namespace std; using namespace platform; class FPSListener : public Application::IListener { public: FPSListener() : Application::IListener() , m_app() , m_window() { m_app = Application::instance()...
19.071429
82
0.580524
vitodtagliente
512421a2d4fb452a48a092518f05698ec8ddde01
1,523
cpp
C++
android-28/android/graphics/PathDashPathEffect_Style.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/graphics/PathDashPathEffect_Style.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/graphics/PathDashPathEffect_Style.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JArray.hpp" #include "../../JString.hpp" #include "./PathDashPathEffect_Style.hpp" namespace android::graphics { // Fields android::graphics::PathDashPathEffect_Style PathDashPathEffect_Style::MORPH() { return getStaticObjectField( "android.graphics.PathDashPathEffect$Style", "MORPH", "La...
26.258621
94
0.750492
YJBeetle
5129c979132bf665a63164b084e34a070f8af115
2,164
hpp
C++
include/filtering/filter_reconstruct.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
include/filtering/filter_reconstruct.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
include/filtering/filter_reconstruct.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
/* PICCANTE The hottest HDR imaging library! http://vcg.isti.cnr.it/piccante Copyright (C) 2014 Visual Computing Laboratory - ISTI CNR http://vcg.isti.cnr.it First author: Francesco Banterle This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed ...
22.081633
96
0.569778
ecarpita93
512e646a2cfff6de4b6b528322bf2bed316db5f2
1,602
cpp
C++
apps/ossim-viewshed/ossim-viewshed.cpp
martidi/ossim
44268fa9d7fc5a3038642e702e85ccd339a4ff9f
[ "MIT" ]
null
null
null
apps/ossim-viewshed/ossim-viewshed.cpp
martidi/ossim
44268fa9d7fc5a3038642e702e85ccd339a4ff9f
[ "MIT" ]
null
null
null
apps/ossim-viewshed/ossim-viewshed.cpp
martidi/ossim
44268fa9d7fc5a3038642e702e85ccd339a4ff9f
[ "MIT" ]
1
2018-10-11T11:36:16.000Z
2018-10-11T11:36:16.000Z
//******************************************************************* // // License: See top level LICENSE.txt file. // // Author: David Burken // // Description: // // Application to scan image and attemp to detect the valid image vertices and // write them to a keyword list file for later use. Note that if input ...
29.666667
78
0.628589
martidi
513844370b5c14221dc40f3f94668a788efc7a3a
8,146
cpp
C++
code/components/voip-mumble/src/MumbleAudioInput.cpp
antonand03/hello-my-friend
fb4e225a75aea3007a391ccc4dcda3eda65c2142
[ "MIT" ]
6
2019-01-30T14:33:30.000Z
2021-07-21T18:06:52.000Z
code/components/voip-mumble/src/MumbleAudioInput.cpp
antonand03/hello-my-friend
fb4e225a75aea3007a391ccc4dcda3eda65c2142
[ "MIT" ]
null
null
null
code/components/voip-mumble/src/MumbleAudioInput.cpp
antonand03/hello-my-friend
fb4e225a75aea3007a391ccc4dcda3eda65c2142
[ "MIT" ]
6
2017-01-24T22:11:17.000Z
2020-07-07T19:53:18.000Z
/* * This file is part of the CitizenFX project - http://citizen.re/ * * See LICENSE and MENTIONS in the root of the source tree for information * regarding licensing. */ #include "StdInc.h" #include "MumbleAudioInput.h" #include <avrt.h> #include <sstream> #include <PacketDataStream.h> #include <Mumb...
23.142045
159
0.699116
antonand03
5138fa516f50f8bc9d2b66cffb06d3cee7681090
6,689
cpp
C++
framework/private/test/manifest_test.cpp
rwalraven343/celix
353ac0d2e0f819f8f59d4cdf8ea1dfd701201d74
[ "Apache-2.0" ]
1
2019-03-17T06:06:19.000Z
2019-03-17T06:06:19.000Z
framework/private/test/manifest_test.cpp
rwalraven343/celix
353ac0d2e0f819f8f59d4cdf8ea1dfd701201d74
[ "Apache-2.0" ]
13
2019-02-21T21:27:44.000Z
2019-02-28T22:47:13.000Z
framework/private/test/manifest_test.cpp
rwalraven343/celix
353ac0d2e0f819f8f59d4cdf8ea1dfd701201d74
[ "Apache-2.0" ]
null
null
null
/** *Licensed to the Apache Software Foundation (ASF) under one *or more contributor license agreements. See the NOTICE file *distributed with this work for additional information *regarding copyright ownership. The ASF licenses this file *to you under the Apache License, Version 2.0 (the *"License"); you may n...
31.111628
83
0.65974
rwalraven343