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
efc5e506f90263a3e6c5abba3e108f21e7b84fb2
9,557
cpp
C++
PrehistoricEngine/src/engine/platform/opengl/rendering/GLRenderer.cpp
Andrispowq/PrehistoricEngine---C-
04159c9119b2f5e0148de21a85aa0dab2d6ba60e
[ "Apache-2.0" ]
1
2020-12-04T13:36:03.000Z
2020-12-04T13:36:03.000Z
PrehistoricEngine/src/engine/platform/opengl/rendering/GLRenderer.cpp
Andrispowq/PrehistoricEngine---C-
04159c9119b2f5e0148de21a85aa0dab2d6ba60e
[ "Apache-2.0" ]
null
null
null
PrehistoricEngine/src/engine/platform/opengl/rendering/GLRenderer.cpp
Andrispowq/PrehistoricEngine---C-
04159c9119b2f5e0148de21a85aa0dab2d6ba60e
[ "Apache-2.0" ]
null
null
null
#include "Includes.hpp" #include "GLRenderer.h" #include "prehistoric/core/node/component/renderer/RenderableComponent.h" #include "prehistoric/core/modules/gui/GUIElement.h" #include "prehistoric/core/util/ModelFabricator.h" #include "platform/opengl/rendering/pipeline/GLComputePipeline.h" #include "prehistoric/cor...
34.752727
118
0.742283
Andrispowq
efc70914a83d84701c1aa666d0695be5a177814a
1,021
cc
C++
source/core/owt_base/Utils.cc
andreasunterhuber/owt-server
128b83714361c0b543ec44fc841c9094f4267633
[ "Apache-2.0" ]
890
2019-03-08T08:04:10.000Z
2022-03-30T03:07:44.000Z
source/core/owt_base/Utils.cc
andreasunterhuber/owt-server
128b83714361c0b543ec44fc841c9094f4267633
[ "Apache-2.0" ]
583
2019-03-11T10:27:42.000Z
2022-03-29T01:41:28.000Z
source/core/owt_base/Utils.cc
andreasunterhuber/owt-server
128b83714361c0b543ec44fc841c9094f4267633
[ "Apache-2.0" ]
385
2019-03-08T07:50:13.000Z
2022-03-29T06:36:28.000Z
// Copyright (C) <2021> Intel Corporation // // SPDX-License-Identifier: Apache-2.0 /* * Copyright 2017 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intell...
30.029412
200
0.677767
andreasunterhuber
efccbe04c9371171bc086c911e1ae340c666de57
1,964
cpp
C++
src/si_base/renderer/material/material_simple.cpp
acuvue1102/si_graphics
f285a5358fdb8f5b831fba0d7cae423ee79b36c5
[ "MIT" ]
null
null
null
src/si_base/renderer/material/material_simple.cpp
acuvue1102/si_graphics
f285a5358fdb8f5b831fba0d7cae423ee79b36c5
[ "MIT" ]
null
null
null
src/si_base/renderer/material/material_simple.cpp
acuvue1102/si_graphics
f285a5358fdb8f5b831fba0d7cae423ee79b36c5
[ "MIT" ]
null
null
null
 #include "si_base/renderer/material/material_simple.h" #include "si_base/misc/bitwise.h" #include "si_base/file/file_utility.h" #include "si_base/gpu/gfx_shader.h" #include "si_base/gpu/gfx_graphics_state.h" #include "si_base/gpu/gfx_input_layout.h" #include "si_base/gpu/gfx_root_signature_ex.h" #include "si_base/gp...
28.057143
131
0.738289
acuvue1102
efcfa25129acf4099a071719d2f776e9b297dd27
3,019
cpp
C++
leetcode/30_days_challenge/2021_6_June/14.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
1
2020-05-05T13:06:51.000Z
2020-05-05T13:06:51.000Z
leetcode/30_days_challenge/2021_6_June/14.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
leetcode/30_days_challenge/2021_6_June/14.cpp
bvbasavaraju/competitive_programming
a82ffc1b639588a84f4273b44285d57cdc2f4b11
[ "Apache-2.0" ]
null
null
null
/**************************************************** Date: June 14th link: https://leetcode.com/explore/challenge/card/june-leetcoding-challenge-2021/604/week-2-june-8th-june-14th/3772/ ****************************************************/ #include <iostream> #include <vector> #include <list> #include <algorithm> #i...
27.445455
116
0.578006
bvbasavaraju
efd376e0e25b836a5b6134352a29908668c04d0d
15,746
cpp
C++
builtinfunctions.cpp
matsud224/soramame
bcb7c997f9af19185ebcde13d0c50d7ffc3d5d8d
[ "Unlicense" ]
3
2017-02-26T02:39:36.000Z
2017-08-05T13:14:36.000Z
builtinfunctions.cpp
matsud224/soramame
bcb7c997f9af19185ebcde13d0c50d7ffc3d5d8d
[ "Unlicense" ]
null
null
null
builtinfunctions.cpp
matsud224/soramame
bcb7c997f9af19185ebcde13d0c50d7ffc3d5d8d
[ "Unlicense" ]
null
null
null
#include "builtinfunctions.h" #include <cmath> #include <string> #include <iostream> #include <cstdlib> #include "vm.h" #include "compiler.h" #include "basic_object.h" #include "ast_etc.h" #include "statement.h" #include "expression.h" #include "utility.h" #ifdef USE_GLUT #define FREEGLUT_STATIC #include <GL/glut.h> ...
30.935167
124
0.763241
matsud224
efd40db843a5b80fa5a7c7641ab08f8e62bd3fb7
12,280
hpp
C++
selene/img_ops/Algorithms.hpp
kmhofmann/selene
11718e1a7de6ff6251c46e4ef429a7cfb1bdb9eb
[ "MIT" ]
284
2017-11-20T08:23:54.000Z
2022-03-30T12:52:00.000Z
selene/img_ops/Algorithms.hpp
kmhofmann/selene
11718e1a7de6ff6251c46e4ef429a7cfb1bdb9eb
[ "MIT" ]
9
2018-02-14T08:21:41.000Z
2021-07-27T19:52:12.000Z
selene/img_ops/Algorithms.hpp
kmhofmann/selene
11718e1a7de6ff6251c46e4ef429a7cfb1bdb9eb
[ "MIT" ]
17
2018-03-10T00:01:36.000Z
2021-06-29T10:44:27.000Z
// This file is part of the `Selene` library. // Copyright 2017-2019 Michael Hofmann (https://github.com/kmhofmann). // Distributed under MIT license. See accompanying LICENSE file in the top-level directory. #ifndef SELENE_IMG_OPS_ALGORITHMS_HPP #define SELENE_IMG_OPS_ALGORITHMS_HPP /// @file #include <selene/img/t...
45.313653
175
0.740228
kmhofmann
efd5f7b63a7a911f68691595b5f079b7d5a0ee3f
11,056
cpp
C++
tst/demo.cpp
suijingfeng/libhut
e0d5dd29d66f7fb40c09e58f570ed40787ed1a2f
[ "Unlicense", "MIT" ]
null
null
null
tst/demo.cpp
suijingfeng/libhut
e0d5dd29d66f7fb40c09e58f570ed40787ed1a2f
[ "Unlicense", "MIT" ]
null
null
null
tst/demo.cpp
suijingfeng/libhut
e0d5dd29d66f7fb40c09e58f570ed40787ed1a2f
[ "Unlicense", "MIT" ]
1
2021-06-24T16:22:45.000Z
2021-06-24T16:22:45.000Z
/* _ _ _ _ _ * | |_| |_| |_ _ _| |_ * | | | . | | | | _| * |_|_|___|_|_|___|_| * Hobby graphics and GUI library under the MIT License (MIT) * * Copyright (c) 2014 Jean-Baptiste Lepesme github.com/jiboo/libhut * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this...
41.100372
116
0.598679
suijingfeng
efd976434636d5178fce67502a912bf70fd14c01
4,269
cpp
C++
example/src/Example.cpp
santa01/graphene
754ca37aec379241bb36eca9b625bd6c47e89381
[ "MIT" ]
3
2016-01-27T00:34:21.000Z
2019-08-14T07:13:09.000Z
example/src/Example.cpp
santa01/graphene
754ca37aec379241bb36eca9b625bd6c47e89381
[ "MIT" ]
null
null
null
example/src/Example.cpp
santa01/graphene
754ca37aec379241bb36eca9b625bd6c47e89381
[ "MIT" ]
1
2019-09-05T04:59:59.000Z
2019-09-05T04:59:59.000Z
/* * Copyright (c) 2013 Pavlo Lavrenenko * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pu...
32.097744
91
0.674163
santa01
efdbca882b8765c3eef3a6116c6fe3ae788f6c57
208
cpp
C++
contest/AtCoder/abc123/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
contest/AtCoder/abc123/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
contest/AtCoder/abc123/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "math.hpp" #include "vector.hpp" int main() { Vector<int> v(5, in); int s = v.transform([](int n) { return ceil(n, 10); }).accumulate(); cout << 10 * s - ((10 - v % 10) % 10).max() << endl; }
23.111111
70
0.538462
not522
efddc8e1d8e9ffa292d51ddbf897aa42169035dd
3,268
cpp
C++
source/duke3d/src/global.cpp
Talon1024/Raze
d92f56f36f246f12ea4012b3f9d5eb6c4abe0070
[ "RSA-MD" ]
2
2020-03-26T10:11:17.000Z
2021-01-19T08:16:48.000Z
source/duke3d/src/global.cpp
bisk89/Raze
1a2663f7ac84d4e4f472e0796b937447ee6fab6b
[ "RSA-MD" ]
null
null
null
source/duke3d/src/global.cpp
bisk89/Raze
1a2663f7ac84d4e4f472e0796b937447ee6fab6b
[ "RSA-MD" ]
null
null
null
//------------------------------------------------------------------------- /* Copyright (C) 2010 EDuke32 developers and contributors This file is part of EDuke32. EDuke32 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free So...
25.53125
107
0.706548
Talon1024
efe25a7032ce81fd23b822b2f4c30fba67bf1be9
1,263
hpp
C++
include/LogLib/LogLib.hpp
Frostie314159/LogLib
0f9b843fb0d4f68ab4a6750888da93c373f0e1dc
[ "MIT" ]
null
null
null
include/LogLib/LogLib.hpp
Frostie314159/LogLib
0f9b843fb0d4f68ab4a6750888da93c373f0e1dc
[ "MIT" ]
null
null
null
include/LogLib/LogLib.hpp
Frostie314159/LogLib
0f9b843fb0d4f68ab4a6750888da93c373f0e1dc
[ "MIT" ]
null
null
null
#ifndef LOG_LIB_HPP_ #define LOG_LIB_HPP_ #endif #include <iostream> #include <fstream> #include <ctime> #include <filesystem> namespace ll{ std::ofstream FileStream; std::string filePath; static void Initialize(std::string LogDirectory){ if(!std::filesystem::exists(LogDirectory)){ ...
21.05
64
0.600158
Frostie314159
efe36014afdd0a593724c31085694afa43d1efd1
743
cpp
C++
2751.cpp
gcjjyy/acmicpc
763e7a3ec5aabdab6935b9e9970561baafb07729
[ "MIT" ]
null
null
null
2751.cpp
gcjjyy/acmicpc
763e7a3ec5aabdab6935b9e9970561baafb07729
[ "MIT" ]
null
null
null
2751.cpp
gcjjyy/acmicpc
763e7a3ec5aabdab6935b9e9970561baafb07729
[ "MIT" ]
null
null
null
#include <stdio.h> int A[1000000]; int M[1000000]; void msort(int l, int r) { if(l == r) return; int m = (l + r) >> 1; msort(l, m); msort(m + 1, r); int index = l; int li = l; int ri = m + 1; while(index <= r) { if(li > m) { M[index++] = A[ri++]; } ...
17.27907
52
0.364738
gcjjyy
5605b83096d5d2d7554253ff693e3e973ad3617a
5,744
cpp
C++
Sourcecode/private/mxtest/api/NewSystemTest.cpp
Webern/MxOld
822f5ccc92363ddff118e3aa3a048c63be1e857e
[ "MIT" ]
45
2019-04-16T19:55:08.000Z
2022-02-14T02:06:32.000Z
Sourcecode/private/mxtest/api/NewSystemTest.cpp
Webern/MxOld
822f5ccc92363ddff118e3aa3a048c63be1e857e
[ "MIT" ]
70
2019-04-07T22:45:21.000Z
2022-03-03T15:35:59.000Z
Sourcecode/private/mxtest/api/NewSystemTest.cpp
Webern/MxOld
822f5ccc92363ddff118e3aa3a048c63be1e857e
[ "MIT" ]
21
2019-05-13T13:59:06.000Z
2022-03-25T02:21:05.000Z
// MusicXML Class Library // Copyright (c) by Matthew James Briggs // Distributed under the MIT License #include "mxtest/control/CompileControl.h" #ifdef MX_COMPILE_API_TESTS #include "cpul/cpulTestHarness.h" #include "mx/api/DocumentManager.h" #include "mx/core/Document.h" using namespace std; using namespace mx::a...
39.07483
87
0.641887
Webern
560639956c3b227ab1cbbf5e4578fd89c3858f66
2,742
hpp
C++
Server/relatko-ba-graph-52fc092b557e/include/multipoles/multipoles.hpp
RadoslavSmarzik/graph-editor
7441f4768269131e5e9636819f1bf27ae9d6013d
[ "MIT" ]
null
null
null
Server/relatko-ba-graph-52fc092b557e/include/multipoles/multipoles.hpp
RadoslavSmarzik/graph-editor
7441f4768269131e5e9636819f1bf27ae9d6013d
[ "MIT" ]
null
null
null
Server/relatko-ba-graph-52fc092b557e/include/multipoles/multipoles.hpp
RadoslavSmarzik/graph-editor
7441f4768269131e5e9636819f1bf27ae9d6013d
[ "MIT" ]
null
null
null
#ifndef BA_GRAPH_MULTIPOLES_MULTIPOLES_HPP #define BA_GRAPH_MULTIPOLES_MULTIPOLES_HPP #include <iostream> #include <vector> namespace ba_graph { class Connector { public: std::vector<Number> numbers; Connector(const std::vector<Number> &vec_) : numbers(vec_) {} bool check_in(const Graph &g) const ...
24.702703
86
0.547411
RadoslavSmarzik
560be5289c723c6c288b06854caaaa697d0de0fc
456
cpp
C++
examples/determinant.cpp
devinmacalaladdt/Matrix
c0ea8eae74fe420c25488f7fe6b9ac3d34b6e1cf
[ "MIT" ]
null
null
null
examples/determinant.cpp
devinmacalaladdt/Matrix
c0ea8eae74fe420c25488f7fe6b9ac3d34b6e1cf
[ "MIT" ]
null
null
null
examples/determinant.cpp
devinmacalaladdt/Matrix
c0ea8eae74fe420c25488f7fe6b9ac3d34b6e1cf
[ "MIT" ]
null
null
null
#include <Matrix.hpp> /* Example program Read csv files to get a Matrix object. Slice the Matrix objects such that inverse is possible. The inverse is then calculated and printed. */ int main() { Matrix mat = matrix.genfromtxt("./datasets/boston/boston.csv",','); Matrix sq_mat = mat.slice(1, 4, 0, 3); sq_...
24
71
0.675439
devinmacalaladdt
56101d2a41f38811ddefa8f75c1912755e97df38
3,261
hpp
C++
lexertk/include/lexertk/detail.hpp
allspark/lexertk
e9d760fc9bd78441469ba8c260576e810b486c3c
[ "MIT" ]
null
null
null
lexertk/include/lexertk/detail.hpp
allspark/lexertk
e9d760fc9bd78441469ba8c260576e810b486c3c
[ "MIT" ]
null
null
null
lexertk/include/lexertk/detail.hpp
allspark/lexertk
e9d760fc9bd78441469ba8c260576e810b486c3c
[ "MIT" ]
null
null
null
// // Created by dboerm on 6/25/21. // #ifndef LEXERTK_DETAIL_HPP #define LEXERTK_DETAIL_HPP #include <algorithm> #include <array> #include <cctype> namespace lexertk { namespace details { inline bool is_whitespace(const char c) noexcept { return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == '\b' || c ==...
20.12963
104
0.482367
allspark
561a9003223fef7d4fe70f7fd5168e11c7d3f576
715
cpp
C++
Source/KInk/Private/World/CustomGameInstance.cpp
DanySpin97/KInk
e9f65cfe20aab39a09467bf8e96e0cc06697a29f
[ "MIT" ]
4
2016-11-30T04:39:51.000Z
2018-06-29T06:38:27.000Z
Source/KInk/Private/World/CustomGameInstance.cpp
DanySpin97/KInk
e9f65cfe20aab39a09467bf8e96e0cc06697a29f
[ "MIT" ]
null
null
null
Source/KInk/Private/World/CustomGameInstance.cpp
DanySpin97/KInk
e9f65cfe20aab39a09467bf8e96e0cc06697a29f
[ "MIT" ]
null
null
null
// Copyright (c) 2016 WiseDragonStd #include "KInk.h" #include "MoviePlayer.h" #include "CustomGameInstance.h" void UCustomGameInstance::Init() { UGameInstance::Init(); FCoreUObjectDelegates::PreLoadMap.AddUObject(this, &UCustomGameInstance::BeginLoadingScreen); FCoreUObjectDelegates::PostLoadMap.AddUObject(this,...
24.655172
94
0.81958
DanySpin97
561b223f347ffdb807b4bd2ed2938d2311bc6a25
108,406
hxx
C++
include/deque.hxx
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
include/deque.hxx
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
include/deque.hxx
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
// -*- C++ -*- //===---------------------------- deque -----------------------------------===// // // 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 // //===------------...
35.659868
115
0.633378
K-Wu
562043537174d8716368480e9f91610482c6d639
1,157
hpp
C++
include/UnityEngine/SpringJoint.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/SpringJoint.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/SpringJoint.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.Joint #include "UnityEngine/Joint.hpp" // Completed includes // T...
36.15625
80
0.698358
darknight1050
56215bad9370499f565bf580476a261961cc9062
6,493
cpp
C++
gEarth.Pack/oepAnimationPath.cpp
songgod/gEarth
e4ea0fa15a40f08481c7ea7e42e6f4ace8659984
[ "MIT" ]
5
2021-06-16T06:24:29.000Z
2022-03-10T03:41:44.000Z
gEarth.Pack/oepAnimationPath.cpp
songgod/gEarth
e4ea0fa15a40f08481c7ea7e42e6f4ace8659984
[ "MIT" ]
1
2020-10-14T14:20:58.000Z
2020-10-14T14:20:58.000Z
gEarth.Pack/oepAnimationPath.cpp
songgod/gEarth
e4ea0fa15a40f08481c7ea7e42e6f4ace8659984
[ "MIT" ]
2
2021-06-16T06:24:32.000Z
2021-08-02T09:05:42.000Z
#include "stdafx.h" #include "oepAnimationPath.h" #include "oepRender.h" #include "Viewer.h" #include "AnimationPathOptions.h" using namespace gEarthPack; oepAnimationPath::oepAnimationPath() { bind(new osgEarth::AnimationPath::AnimationPathInfo()); _controlpoints = gcnew oepControlPoints(); init(); _controlpoin...
28.47807
173
0.715694
songgod
56228e1cbb50eaca044859aa3c24562abd968d83
1,792
hpp
C++
libff/algebra/serialization.hpp
clearmatics/libff
5f9a4bdd9bea61036b57cfe972354fc97c497457
[ "MIT" ]
1
2021-03-23T15:22:05.000Z
2021-03-23T15:22:05.000Z
libff/algebra/serialization.hpp
clearmatics/libff
5f9a4bdd9bea61036b57cfe972354fc97c497457
[ "MIT" ]
46
2019-08-22T07:48:22.000Z
2022-03-24T16:57:18.000Z
libff/algebra/serialization.hpp
clearmatics/libff
5f9a4bdd9bea61036b57cfe972354fc97c497457
[ "MIT" ]
1
2021-08-09T11:17:54.000Z
2021-08-09T11:17:54.000Z
/** @file ***************************************************************************** * @author This file is part of libff, developed by Clearmatics Ltd * (originally developed by SCIPR Lab) and contributors * (see AUTHORS). * @copyright MIT license (see LICENSE file) **************...
27.151515
79
0.682478
clearmatics
562555b2fc249266978931a0cb5c9f54b8c33d4b
28,474
cpp
C++
sdk/physx/2.8.3/Samples/SampleOneWayInteractions/src/NxSampleOneWayInteractions.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
1
2018-09-20T10:01:30.000Z
2018-09-20T10:01:30.000Z
sdk/physx/2.8.3/Samples/SampleOneWayInteractions/src/NxSampleOneWayInteractions.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
null
null
null
sdk/physx/2.8.3/Samples/SampleOneWayInteractions/src/NxSampleOneWayInteractions.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
null
null
null
// =============================================================================== // // NVIDIA PhysX SDK Sample Program // // Title: One Way Interactions Sample // Description: This sample program shows how to utilize Dominance Group settings // to have some constraints (contacts, joints) only tra...
30.067582
146
0.692702
daher-alfawares
5626c3a211e4840a64fe653c1b22d150b7e90eb1
6,542
cpp
C++
frontend/package_set.cpp
llpm/SpatialC
618d86fe948a7839fe4903a77da08941e169ae2e
[ "Apache-2.0" ]
null
null
null
frontend/package_set.cpp
llpm/SpatialC
618d86fe948a7839fe4903a77da08941e169ae2e
[ "Apache-2.0" ]
null
null
null
frontend/package_set.cpp
llpm/SpatialC
618d86fe948a7839fe4903a77da08941e169ae2e
[ "Apache-2.0" ]
null
null
null
#include "package_set.hpp" #include <cassert> #include <frontend/type.hpp> #include <frontend/exception.hpp> #include <frontend/module.hpp> #include "grammar/Parser.H" #include "grammar/Printer.H" using namespace std; namespace spatialc { PackageSet::PackageSet(llpm::Design& design, vector<string> inclDirs): _d...
26.593496
84
0.581474
llpm
5627b64d4680d368f2ea215b7af692d7fd1985b4
4,859
cpp
C++
gui/core/bgfx.cpp
goossens/ObjectTalk
ca1d4f558b5ad2459b376102744d52c6283ec108
[ "MIT" ]
6
2021-11-12T15:03:53.000Z
2022-01-28T18:30:33.000Z
gui/core/bgfx.cpp
goossens/ObjectTalk
ca1d4f558b5ad2459b376102744d52c6283ec108
[ "MIT" ]
null
null
null
gui/core/bgfx.cpp
goossens/ObjectTalk
ca1d4f558b5ad2459b376102744d52c6283ec108
[ "MIT" ]
null
null
null
// ObjectTalk Scripting Language // Copyright (c) 1993-2022 Johan A. Goossens. All rights reserved. // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. // // Include files // #include <cstring> #include "ot/exception.h" #include "application.h" ...
27.925287
113
0.690883
goossens
5632150d2d61d91a9bfb6ca0af80dafe7484aeed
3,463
cpp
C++
DemoApp/Src/Test/HeightMapTest.cpp
AndySmile/BachelorThesis
e2ff5fb70e864fe270fd91e03d929e650d473fcb
[ "MIT" ]
null
null
null
DemoApp/Src/Test/HeightMapTest.cpp
AndySmile/BachelorThesis
e2ff5fb70e864fe270fd91e03d929e650d473fcb
[ "MIT" ]
null
null
null
DemoApp/Src/Test/HeightMapTest.cpp
AndySmile/BachelorThesis
e2ff5fb70e864fe270fd91e03d929e650d473fcb
[ "MIT" ]
null
null
null
/** * DemoApp - Height Map Test Suite * * @author Andy Liebke<coding@andysmiles4games.com> * @file Src/Test/HeightMapTest.cpp * @version 1.1.0 09-Jan-15 * @copyright Copyright (c) 2015 by Andy Liebke. All rights reserved. (http://andysmiles4games.com) */ #include <Test/HeightMapTest.h> #include...
26.435115
150
0.582154
AndySmile
5632a1646ac0c315664281d5ad7049c7520e88dd
1,512
cpp
C++
src/Object/Component/Physics/RigidBody2D.cpp
bodguy/CrossPlatform
c8fb740456f8c9b0e6af495958d6b5d6c2d7946f
[ "Apache-2.0" ]
6
2018-07-20T00:59:54.000Z
2021-08-21T15:55:48.000Z
src/Object/Component/Physics/RigidBody2D.cpp
bodguy/CrossPlatform
c8fb740456f8c9b0e6af495958d6b5d6c2d7946f
[ "Apache-2.0" ]
9
2018-07-17T15:03:22.000Z
2019-10-05T01:02:31.000Z
src/Object/Component/Physics/RigidBody2D.cpp
bodguy/CrossPlatform
c8fb740456f8c9b0e6af495958d6b5d6c2d7946f
[ "Apache-2.0" ]
1
2019-10-27T01:54:38.000Z
2019-10-27T01:54:38.000Z
// Copyright (C) 2017 by bodguy // This code is licensed under Apache 2.0 license (see LICENSE.md for details) #include "RigidBody2D.h" #include "Object/Component/Transform.h" #include "Object/GameObject.h" namespace Theodore { RigidBody2D::RigidBody2D() : Component("RigidBody2D"), mPosition(), mVelocity(), mForce...
31.5
93
0.687831
bodguy
5633c8933f73654c5571bce93b8916b578e98bfb
24,970
cc
C++
src/exec/test_cambridge_assign_voxel_label.cc
asdiuzd/lass
a767f8bd68c46dadf8d74703fdf2058da9f17e53
[ "MIT" ]
1
2022-01-06T09:04:46.000Z
2022-01-06T09:04:46.000Z
src/exec/test_cambridge_assign_voxel_label.cc
asdiuzd/lass
a767f8bd68c46dadf8d74703fdf2058da9f17e53
[ "MIT" ]
null
null
null
src/exec/test_cambridge_assign_voxel_label.cc
asdiuzd/lass
a767f8bd68c46dadf8d74703fdf2058da9f17e53
[ "MIT" ]
null
null
null
#include <pcl/point_types.h> #include <pcl/filters/statistical_outlier_removal.h> #include <pcl/segmentation/sac_segmentation.h> #include <pcl/filters/radius_outlier_removal.h> #include <pcl/filters/voxel_grid.h> #include <pcl/filters/extract_indices.h> #include <pcl/segmentation/extract_clusters.h> #include <pcl/segme...
39.824561
215
0.602924
asdiuzd
56368fcdec6116a186ee640cec37fb1ebe0b2eb3
1,892
cpp
C++
multilinearmodel.cpp
phg1024/MultilinearReconstruction
0b070fc3e14e82c85d77dc0550977953527b3227
[ "MIT" ]
37
2015-12-04T05:13:37.000Z
2022-02-22T12:06:44.000Z
multilinearmodel.cpp
phg1024/MultilinearReconstruction
0b070fc3e14e82c85d77dc0550977953527b3227
[ "MIT" ]
7
2015-10-09T20:09:15.000Z
2019-09-08T18:14:12.000Z
multilinearmodel.cpp
phg1024/MultilinearReconstruction
0b070fc3e14e82c85d77dc0550977953527b3227
[ "MIT" ]
15
2015-06-30T08:58:52.000Z
2022-03-12T02:15:06.000Z
#include "multilinearmodel.h" MultilinearModel::MultilinearModel(const string &filename) { core.Read(filename); UnfoldCoreTensor(); } MultilinearModel MultilinearModel::project(const vector<int> &indices) const { //cout << "creating projected tensors..." << endl; // create a projected version of the model M...
22.258824
76
0.612051
phg1024
5637551bf08f6c74f02c9b7a86f9f98fb409c98d
888
cpp
C++
codigos/sonho/farm/deskCreator.cpp
senapk/fup_2014_2
5fc2986724f2e5fb912524b6208744b7295c6347
[ "Apache-2.0" ]
null
null
null
codigos/sonho/farm/deskCreator.cpp
senapk/fup_2014_2
5fc2986724f2e5fb912524b6208744b7295c6347
[ "Apache-2.0" ]
null
null
null
codigos/sonho/farm/deskCreator.cpp
senapk/fup_2014_2
5fc2986724f2e5fb912524b6208744b7295c6347
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include <sstream> #include <unistd.h> #include <fstream> #include <cstdlib> #define MAXPATHLEN 1000 using namespace std; int main(int argc, char* argv[]) { string exec; exec += "farm/learncodecpp"; string icon; icon += "farm/imagens/icon.png"; string nome; nome += "le...
15.578947
43
0.614865
senapk
5649577ebfdb739895e97eb2803dc2a2d9d3f6d9
5,827
cpp
C++
src/ota.cpp
luebbe/homie-ota
73ed8cfd8ec29ee2403582c0d9825af6a6da373a
[ "MIT" ]
2
2017-12-17T22:34:11.000Z
2018-01-20T01:50:39.000Z
src/ota.cpp
luebbe/homie-ota
73ed8cfd8ec29ee2403582c0d9825af6a6da373a
[ "MIT" ]
null
null
null
src/ota.cpp
luebbe/homie-ota
73ed8cfd8ec29ee2403582c0d9825af6a6da373a
[ "MIT" ]
null
null
null
/* * OtaLogger.cpp * Wraps ArduinoOTA into a class and shows the OTA * status on serial or an OLED display. * * Version: 1.2 * Author: Lübbe Onken (http://github.com/luebbe) */ #include "ota.hpp" // ----------------------------------------------------------------------------- // OTA info via Homie logger // --...
24.795745
91
0.591385
luebbe
87251cb1e89a8bdc5bf4da6a13a1aa511e9e1112
1,243
hpp
C++
include/ext/config.hpp
dmlys/ExtLibrary
4ff7dba6bbfdf5f9ab70e8bd4dd28c87c88f35ef
[ "BSL-1.0" ]
1
2018-05-14T13:36:09.000Z
2018-05-14T13:36:09.000Z
include/ext/config.hpp
dmlys/extlib
faf725464164d30aa197d53eba8d2c870faf2767
[ "BSL-1.0" ]
null
null
null
include/ext/config.hpp
dmlys/extlib
faf725464164d30aa197d53eba8d2c870faf2767
[ "BSL-1.0" ]
null
null
null
#pragma once #include <boost/predef.h> #include <boost/config.hpp> #include <boost/core/ignore_unused.hpp> /// EXT_UNREACHABLE - marks code as unreachable, allowing optimizations from compiler /// __assume(0) / __builtin_unreachable() /// /// при применении в switch /// перед default: EXT_UNREACHABL...
28.25
85
0.761866
dmlys
872536fd54fbda78fdc6f42a1f23ceffc6f44cbb
2,615
cpp
C++
src/Nazara/Shader/Ast/AstUtils.cpp
gogo2464/NazaraEngine
f1a00c36cb27d9f07d1b7db03313e0038d9a7d00
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
376
2015-01-09T03:14:48.000Z
2022-03-26T17:59:18.000Z
src/Nazara/Shader/Ast/AstUtils.cpp
gogo2464/NazaraEngine
f1a00c36cb27d9f07d1b7db03313e0038d9a7d00
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
252
2015-01-21T17:34:39.000Z
2022-03-20T16:15:50.000Z
src/Nazara/Shader/Ast/AstUtils.cpp
gogo2464/NazaraEngine
f1a00c36cb27d9f07d1b7db03313e0038d9a7d00
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
104
2015-01-18T11:03:41.000Z
2022-03-11T05:40:47.000Z
// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Nazara Engine - Shader generator" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Shader/Ast/AstUtils.hpp> #include <Nazara/Shader/Debug.hpp> namespace Nz::ShaderAst { ExpressionCategory ShaderAstValueCa...
26.15
104
0.772849
gogo2464
872714b310eff254bb1b6e7ca25325c69f0b50a7
3,731
cpp
C++
plugins/input/controls/tools/Madgine_Tools/controls/controlsview.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
5
2018-05-16T14:09:34.000Z
2019-10-24T19:01:15.000Z
plugins/input/controls/tools/Madgine_Tools/controls/controlsview.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
71
2017-06-20T06:41:42.000Z
2021-01-11T11:18:53.000Z
plugins/input/controls/tools/Madgine_Tools/controls/controlsview.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
2
2018-05-16T13:57:25.000Z
2018-05-16T13:57:51.000Z
#include "../controlstoolslib.h" #include "controlsview.h" #include "Modules/uniquecomponent/uniquecomponentcollector.h" #include "Meta/keyvalue/metatable_impl.h" #include "Meta/serialize/serializetable_impl.h" #include "Interfaces/input/inputevents.h" #include "Madgine/app/application.h" #include "Madgine/contro...
33.918182
134
0.548915
MadManRises
8727829424f53b71319f2fa7a7bf98caf5d4e014
602
cc
C++
leetcode/next-permutation.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
leetcode/next-permutation.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
leetcode/next-permutation.cc
Waywrong/leetcode-solution
55115aeab4040f5ff84bdce6ffcfe4a98f879616
[ "MIT" ]
null
null
null
// Next Permutation class Solution { public: void nextPermutation(vector<int>& nums) { get_next_permutation(nums); } void get_next_permutation(vector<int> &nums) { int i, j, k; for (i=nums.size()-1; i>0; i--) { j = i - 1; if (nums[j] >= nums[i]) continu...
26.173913
50
0.451827
Waywrong
8729ec3afb6241f65ca6811b562e536f25657fcd
25
cpp
C++
unit_test/incl_make_unique.cpp
OleErikPeistorpet/OE-Lib
bd85416072765dcf7b1e12f2dd7f1cf7859d7b29
[ "BSL-1.0" ]
4
2015-04-13T18:16:03.000Z
2019-10-24T17:42:37.000Z
unit_test/incl_make_unique.cpp
OleErikPeistorpet/OE-Lib
bd85416072765dcf7b1e12f2dd7f1cf7859d7b29
[ "BSL-1.0" ]
null
null
null
unit_test/incl_make_unique.cpp
OleErikPeistorpet/OE-Lib
bd85416072765dcf7b1e12f2dd7f1cf7859d7b29
[ "BSL-1.0" ]
null
null
null
#include <make_unique.h>
12.5
24
0.76
OleErikPeistorpet
872a24f8ff43aacb9d16c13716105fb9bf6b9c22
227
hpp
C++
galin/src/shadertoy/tree/color_operator/closest/glsl_expression.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
galin/src/shadertoy/tree/color_operator/closest/glsl_expression.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
galin/src/shadertoy/tree/color_operator/closest/glsl_expression.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
#pragma once #include "closest_color.hpp" #include <string> inline std::string glsl_expression( ClosestColor, const std::string& s0, const std::string& s1) { return "closest_color(" + s0 + ", " + s1 + ")"; }
15.133333
51
0.629956
the-last-willy
872a7715d83269f7f5663cb09bd2be5b00950814
2,826
cpp
C++
examples/domain_stream_socket.cpp
GavinNL/gnl
afd745ab61caa5c577af0dfe78ae31c91ed73e7d
[ "Unlicense" ]
1
2017-06-27T21:14:06.000Z
2017-06-27T21:14:06.000Z
examples/domain_stream_socket.cpp
GavinNL/gnl
afd745ab61caa5c577af0dfe78ae31c91ed73e7d
[ "Unlicense" ]
2
2019-01-20T15:55:53.000Z
2019-01-20T15:57:26.000Z
examples/domain_stream_socket.cpp
GavinNL/gnl
afd745ab61caa5c577af0dfe78ae31c91ed73e7d
[ "Unlicense" ]
null
null
null
#include <iostream> #if defined __linux__ #include <thread> #include <gnl/gnl_socket.h> #define PORT 30001 #define BUFLEN 256 #define SERVER "/tmp/mysocket123.socket" int client(void) { gnl::domain_stream_socket S; // The socket // Create the socket S.create(); s...
19.22449
85
0.5138
GavinNL
872afe27a96dd0b61deffda686bedfb615ca1aeb
1,283
tcc
C++
hackt_docker/hackt/src/util/sublist.tcc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/util/sublist.tcc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
hackt_docker/hackt/src/util/sublist.tcc
broken-wheel/hacktist
36e832ae7dd38b27bca9be7d0889d06054dc2806
[ "MIT" ]
null
null
null
/** \file "util/sublist.tcc" Template method definitions for sublist. $Id: sublist.tcc,v 1.4 2005/06/21 21:26:39 fang Exp $ */ #ifndef __UTIL_SUBLIST_TCC__ #define __UTIL_SUBLIST_TCC__ // #include "util/STL/list.tcc" // not needed because we only need the list iterator #include "util/sublist.hh" #ifndef EXTERN_...
25.66
79
0.55339
broken-wheel
872c5290bb6644e3f7fb5abcb4b09e9ba9d50407
1,264
cpp
C++
CodeChef/Maximise the Subsequence Sum.cpp
Rupali409/CPP-Questions-and-Solutions
a42664302f18b7d99aac2501bcf956950e3cc61a
[ "MIT" ]
42
2021-09-26T18:02:52.000Z
2022-03-15T01:52:15.000Z
CodeChef/Maximise the Subsequence Sum.cpp
Rupali409/CPP-Questions-and-Solutions
a42664302f18b7d99aac2501bcf956950e3cc61a
[ "MIT" ]
404
2021-09-24T19:55:10.000Z
2021-11-03T05:47:47.000Z
CodeChef/Maximise the Subsequence Sum.cpp
Rupali409/CPP-Questions-and-Solutions
a42664302f18b7d99aac2501bcf956950e3cc61a
[ "MIT" ]
140
2021-09-22T20:50:04.000Z
2022-01-22T16:59:09.000Z
// question link :- https://www.codechef.com/START10C/problems/SIGNFLIP/ #include<bits/stdc++.h> #define N 100005 #define mod 1000000007 #define INF 2147483647 #define ll long long #define ln "\n" #define fast() ios_base::sync_with_stdio(0); cin.tie(0);cout.tie(0); using namespace std; int main() { fast(); // ...
20.721311
99
0.575949
Rupali409
872d48dad0a191a0b0f8d1d7ae8416bbcdadd703
672
hpp
C++
osm2pgsql/src/taginfo.hpp
traitor6789/osm-tile-server
bddcfabee825c0e176d2037cad9c6cf06895beb8
[ "Apache-2.0" ]
null
null
null
osm2pgsql/src/taginfo.hpp
traitor6789/osm-tile-server
bddcfabee825c0e176d2037cad9c6cf06895beb8
[ "Apache-2.0" ]
null
null
null
osm2pgsql/src/taginfo.hpp
traitor6789/osm-tile-server
bddcfabee825c0e176d2037cad9c6cf06895beb8
[ "Apache-2.0" ]
null
null
null
#ifndef OSM2PGSQL_TAGINFO_HPP #define OSM2PGSQL_TAGINFO_HPP /** * SPDX-License-Identifier: GPL-2.0-or-later * * This file is part of osm2pgsql (https://osm2pgsql.org/). * * Copyright (C) 2006-2022 by the osm2pgsql developer community. * For a full list of authors see the git log. */ #include <string> #include ...
18.162162
64
0.674107
traitor6789
8731f4899c16b0ededc9fe88505fcad95e141a63
44,105
cpp
C++
src/backend/nnue-probe/nnue.cpp
Witek902/Caissa
07bb81e7cae23ea18bb44870d1c1eaa038ab0355
[ "MIT" ]
3
2022-01-11T22:37:06.000Z
2022-01-18T17:40:48.000Z
src/backend/nnue-probe/nnue.cpp
Witek902/Caissa
07bb81e7cae23ea18bb44870d1c1eaa038ab0355
[ "MIT" ]
1
2021-11-12T00:38:30.000Z
2021-11-12T00:38:30.000Z
src/backend/nnue-probe/nnue.cpp
Witek902/Caissa
07bb81e7cae23ea18bb44870d1c1eaa038ab0355
[ "MIT" ]
null
null
null
#include <assert.h> #include <stdio.h> #include <stdint.h> #include <string.h> #include <stdlib.h> #define IS_64BIT 1 #if defined(USE_AVX2) #include <immintrin.h> #elif defined(USE_SSE4) #include <smmintrin.h> #elif defined(USE_SSSE3) #include <tmmintrin.h> #elif defined(USE_SSE2) #include <emmintrin.h> #elif ...
33.591013
105
0.669516
Witek902
873591f4c12a7c77d095d3ae0a8013be82a38ac3
3,091
cpp
C++
Examples/Chess/src/chess/game-logic/selection-pointer.cpp
JoachimHerber/Bembel-Game-Engine
5c4e46c5a15356af6e997038a8d76065b0691b50
[ "MIT" ]
2
2018-01-02T14:07:54.000Z
2021-07-05T08:05:21.000Z
Examples/Chess/src/chess/game-logic/selection-pointer.cpp
JoachimHerber/Bembel-Game-Engine
5c4e46c5a15356af6e997038a8d76065b0691b50
[ "MIT" ]
null
null
null
Examples/Chess/src/chess/game-logic/selection-pointer.cpp
JoachimHerber/Bembel-Game-Engine
5c4e46c5a15356af6e997038a8d76065b0691b50
[ "MIT" ]
null
null
null
#include "selection-pointer.h" #include "glfw/glfw3.h" using namespace bembel::base; using namespace bembel::kernel; using namespace bembel::graphics; SelectionPointer::SelectionPointer(EventManager& event_mgr, GraphicSystem& grapic_sys, Scene* scene) : event_mgr(event_mgr) , grapic_sys(grapic_sys) , scene(scene) {...
32.197917
100
0.63604
JoachimHerber
873919048d378c6ddb97a8cddaa705c5fdf44695
604
cc
C++
uva/01196.cc
algoriddle/cp
9596654f921c9da0710e2743b235bd76d938a62c
[ "MIT" ]
null
null
null
uva/01196.cc
algoriddle/cp
9596654f921c9da0710e2743b235bd76d938a62c
[ "MIT" ]
null
null
null
uva/01196.cc
algoriddle/cp
9596654f921c9da0710e2743b235bd76d938a62c
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { ios::sync_with_stdio(false); for (int n; cin >> n && n; ) { vector<pair<int, int>> bs(n); for (int i = 0; i < n; ++i) { cin >> bs[i].first >> bs[i].second; } sort(bs.begin(), bs.end()); vector<in...
20.827586
60
0.496689
algoriddle
8746e5ebe6d35315b9b79f2645d094fc915c5c21
9,346
cpp
C++
src/resources/shader_parser/mg_shader_parser.cpp
Magnutic/mg-engine
09862497bf99198281acc8227b135777491c58d3
[ "BSD-3-Clause" ]
null
null
null
src/resources/shader_parser/mg_shader_parser.cpp
Magnutic/mg-engine
09862497bf99198281acc8227b135777491c58d3
[ "BSD-3-Clause" ]
null
null
null
src/resources/shader_parser/mg_shader_parser.cpp
Magnutic/mg-engine
09862497bf99198281acc8227b135777491c58d3
[ "BSD-3-Clause" ]
null
null
null
//************************************************************************************************** // This file is part of Mg Engine. Copyright (c) 2020, Magnus Bergsten. // Mg Engine is made available under the terms of the 3-Clause BSD License. // See LICENSE.txt in the project's root directory. //*****************...
30.245955
100
0.574149
Magnutic
8752308d2dce5c76a69cb7647a139197be3fe051
505
hpp
C++
include/libTAU/string_view.hpp
Tau-Coin/libTAU
2e8cace4195faa75b6a75c0ce02496346936bc79
[ "BSL-1.0", "BSD-3-Clause" ]
6
2021-08-16T17:27:10.000Z
2022-01-12T09:18:02.000Z
include/libTAU/string_view.hpp
Tau-Coin/libTAU
2e8cace4195faa75b6a75c0ce02496346936bc79
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
include/libTAU/string_view.hpp
Tau-Coin/libTAU
2e8cace4195faa75b6a75c0ce02496346936bc79
[ "BSL-1.0", "BSD-3-Clause" ]
3
2022-01-03T03:06:54.000Z
2022-03-11T03:15:32.000Z
/* Copyright (c) 2016-2017, 2019-2020, Arvid Norberg All rights reserved. You may use, distribute and modify this code under the terms of the BSD license, see LICENSE file. */ #ifndef TORRENT_STRING_VIEW_HPP_INCLUDED #define TORRENT_STRING_VIEW_HPP_INCLUDED #include <string_view> namespace libTAU { using std::str...
18.035714
80
0.766337
Tau-Coin
87533ef735be3bd002d96313350d9aef97e6b06c
1,557
cpp
C++
CurveSim/TestCycleFinder.cpp
suvojit-0x55aa/CurveSim
57b49eddb038330919f365635628be619d4120cc
[ "MIT" ]
1
2019-11-23T06:15:57.000Z
2019-11-23T06:15:57.000Z
CurveSim/TestCycleFinder.cpp
suvojit-0x55aa/CurveSim
57b49eddb038330919f365635628be619d4120cc
[ "MIT" ]
null
null
null
CurveSim/TestCycleFinder.cpp
suvojit-0x55aa/CurveSim
57b49eddb038330919f365635628be619d4120cc
[ "MIT" ]
null
null
null
#include <iostream> #include "CycleFinder.h" //Compile only in Testing Mode #ifdef TEST_CYCLE_FINDER_H #define CASE_1 int main() { Graph G; std::bitset<STATES> v; //Generate A graph : TestCase 1 #ifdef CASE_1 v = std::bitset<STATES>("1010"); G.add_vertex(v); G.add_edge(v, v, 5); v = std::bitset<STATES>("1011")...
25.95
57
0.648683
suvojit-0x55aa
8754a5f3629131b9721859c82aa912f6f3f73adb
237
cpp
C++
Teach yourself C/page 361 , 4no .cpp
Mit382/Mitul-s-Competitive-Programming-March-August
3b0d9b3d018444584020e37b892021f7e9ec984d
[ "MIT" ]
1
2021-04-23T16:53:35.000Z
2021-04-23T16:53:35.000Z
Teach yourself C/page 361 , 4no .cpp
Mit382/Mitul-s-Competitive-Programming-March-August
3b0d9b3d018444584020e37b892021f7e9ec984d
[ "MIT" ]
null
null
null
Teach yourself C/page 361 , 4no .cpp
Mit382/Mitul-s-Competitive-Programming-March-August
3b0d9b3d018444584020e37b892021f7e9ec984d
[ "MIT" ]
1
2021-03-27T19:56:19.000Z
2021-03-27T19:56:19.000Z
#include<stdio.h> int main(){ short i; printf("Enter a number: "); scanf("%d",&i); if(i & 32768){ printf("Number is negative.\n"); } else{ printf("Number is positive"); } return 0; }
11.85
40
0.485232
Mit382
8754a92b7a7b90c7cb356640ed27abb497a0c736
1,685
hpp
C++
SDK/ARKSurvivalEvolved_DinoAttackState_IceJumper_Dash_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_DinoAttackState_IceJumper_Dash_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_DinoAttackState_IceJumper_Dash_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_DinoAttackState_IceJumper_Dash_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //------------------------------------------...
35.104167
208
0.649258
2bite
87561b309e1b15c05ec06635f9a5b5ce1111c96e
204
cpp
C++
acmicpc.net/10953.cpp
kbu1564/SimpleAlgorithm
7e5b0d2fe19461417d88de0addd2235da55787d3
[ "MIT" ]
4
2016-04-15T07:54:39.000Z
2021-01-11T09:02:16.000Z
acmicpc.net/10953.cpp
kbu1564/SimpleAlgorithm
7e5b0d2fe19461417d88de0addd2235da55787d3
[ "MIT" ]
null
null
null
acmicpc.net/10953.cpp
kbu1564/SimpleAlgorithm
7e5b0d2fe19461417d88de0addd2235da55787d3
[ "MIT" ]
null
null
null
#include <iostream> #include <stdio.h> using namespace std; int main() { int t; scanf("%d", &t); for (int i = 0; i < t; i++) { int a, b; scanf("%d,%d", &a, &b); cout << a+b << endl; } return 0; }
17
35
0.514706
kbu1564
87562e3a25b368104bc4c921c37086199ac23dd9
748
cpp
C++
tools/ifaceed/ifaceed/gui/actions/abstractactions.cpp
mamontov-cpp/saddy
f20a0030e18af9e0714fe56c19407fbeacc529a7
[ "BSD-2-Clause" ]
58
2015-08-09T14:56:35.000Z
2022-01-15T22:06:58.000Z
tools/ifaceed/ifaceed/gui/actions/abstractactions.cpp
mamontov-cpp/saddy-graphics-engine-2d
e25a6637fcc49cb26614bf03b70e5d03a3a436c7
[ "BSD-2-Clause" ]
245
2015-08-08T08:44:22.000Z
2022-01-04T09:18:08.000Z
tools/ifaceed/ifaceed/gui/actions/abstractactions.cpp
mamontov-cpp/saddy
f20a0030e18af9e0714fe56c19407fbeacc529a7
[ "BSD-2-Clause" ]
23
2015-12-06T03:57:49.000Z
2020-10-12T14:15:50.000Z
#include "abstractactions.h" #include <db/dbobject.h> #include ".././qstdstring.h" #include <new> gui::actions::AbstractActions::AbstractActions() : m_editor(nullptr) { } void gui::actions::AbstractActions::setEditor(core::Editor* editor) { m_editor = editor; } core::Editor* gui::actions::AbstractAction...
17.809524
77
0.647059
mamontov-cpp
87674bdd12d8820bb4b8ec2fd44a0d42aed7ebe5
187
cpp
C++
Tool/format.cpp
yaoshan0/qt_suptoolbox
3b7aea7fef8b9ea74698ca1fc3ba100549fe651e
[ "Apache-2.0" ]
null
null
null
Tool/format.cpp
yaoshan0/qt_suptoolbox
3b7aea7fef8b9ea74698ca1fc3ba100549fe651e
[ "Apache-2.0" ]
null
null
null
Tool/format.cpp
yaoshan0/qt_suptoolbox
3b7aea7fef8b9ea74698ca1fc3ba100549fe651e
[ "Apache-2.0" ]
1
2021-05-05T09:31:28.000Z
2021-05-05T09:31:28.000Z
#include "format.h" #include "ui_format.h" format::format(QWidget *parent) : QWidget(parent), ui(new Ui::format) { ui->setupUi(this); } format::~format() { delete ui; }
12.466667
33
0.614973
yaoshan0
876e84e7f725b40be15a2f11ce0bcdebe6316b19
8,129
cpp
C++
tau/TauEngine/src/gl/GLCommandList.cpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
1
2020-04-22T04:07:01.000Z
2020-04-22T04:07:01.000Z
tau/TauEngine/src/gl/GLCommandList.cpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
null
null
null
tau/TauEngine/src/gl/GLCommandList.cpp
hyfloac/TauEngine
1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c
[ "MIT" ]
null
null
null
#include "gl/GLCommandList.hpp" #include "gl/GLVertexArray.hpp" #include "gl/GLResourceBuffer.hpp" #include "gl/GLCommandAllocator.hpp" #include "graphics/BufferView.hpp" #include "gl/GLEnums.hpp" #include "TauConfig.hpp" static inline const void* computeHead(const NullableRef<GLCommandAllocator>& allocator) n...
37.288991
269
0.723828
hyfloac
876ef17d3b26f2cf043ddffd9e9b5e32b1d661cc
515
cpp
C++
src/enemy_block.cpp
tonychang04/BallBlaster
cacc279f30fbf45110d489524c047b12eefd9f4d
[ "MIT" ]
null
null
null
src/enemy_block.cpp
tonychang04/BallBlaster
cacc279f30fbf45110d489524c047b12eefd9f4d
[ "MIT" ]
null
null
null
src/enemy_block.cpp
tonychang04/BallBlaster
cacc279f30fbf45110d489524c047b12eefd9f4d
[ "MIT" ]
null
null
null
#include <enemy_block.h> namespace ballblaster { EnemyBlock::EnemyBlock(const glm::vec2& center) { center_ = center; } void EnemyBlock::Draw() const { ci::gl::color(kColor); ci::gl::drawSolidRect( ci::Rectf(glm::vec2(center_.y - kWidth, center_.x - kLength), glm::vec2(center_.y + kWidth, c...
23.409091
69
0.664078
tonychang04
877200ddd0d10df232c986ce68dfd460ddf34e9c
643
cpp
C++
Sources/AGEngine/Render/Pipelining/Render/ScreenRender.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
47
2015-03-29T09:44:25.000Z
2020-11-30T10:05:56.000Z
Sources/AGEngine/Render/Pipelining/Render/ScreenRender.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
313
2015-01-01T18:16:30.000Z
2015-11-30T07:54:07.000Z
Sources/AGEngine/Render/Pipelining/Render/ScreenRender.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
9
2015-06-07T13:21:54.000Z
2020-08-25T09:50:07.000Z
#include <Render/Pipelining/Render/ScreenRender.hh> namespace AGE { ScreenRender::ScreenRender(glm::uvec2 const &screenSize, std::shared_ptr<PaintingManager> painterManager) : ARender(painterManager), viewport(screenSize) { } ScreenRender::ScreenRender(ScreenRender &&move) : ARender(std::move(move)) { ...
20.741935
108
0.732504
Another-Game-Engine
87727a161da9e34f40a3695e994f24bac3880612
545
cpp
C++
aula_exemplos/aula2609.cpp
nobreconfrade/OPRP
1cc9f60d72ebeff05dff63bdc2c76f8a007b9028
[ "MIT" ]
null
null
null
aula_exemplos/aula2609.cpp
nobreconfrade/OPRP
1cc9f60d72ebeff05dff63bdc2c76f8a007b9028
[ "MIT" ]
null
null
null
aula_exemplos/aula2609.cpp
nobreconfrade/OPRP
1cc9f60d72ebeff05dff63bdc2c76f8a007b9028
[ "MIT" ]
null
null
null
#include<iostream> #include<omp.h> using namespace std; int main(int argc, char const *argv[]) { int thread_id; int var1 = 10; #pragma omp parallel private(thread_id) firstprivate(var1) { thread_id = omp_get_thread_num(); // numero da thread cout << "Ola mundo! T:"<< thread_id << '\n'; cout << "Olh...
25.952381
72
0.622018
nobreconfrade
8775571b903c8aad4a27d893e361be862f81afae
1,417
cpp
C++
Gateway/main/src/event/types/EventMisc.cpp
Idogftw/ProjectRev
cf3b78d211f0bc38480801bcc3e91b692a6879f4
[ "MIT" ]
null
null
null
Gateway/main/src/event/types/EventMisc.cpp
Idogftw/ProjectRev
cf3b78d211f0bc38480801bcc3e91b692a6879f4
[ "MIT" ]
null
null
null
Gateway/main/src/event/types/EventMisc.cpp
Idogftw/ProjectRev
cf3b78d211f0bc38480801bcc3e91b692a6879f4
[ "MIT" ]
null
null
null
#include "event/types/EventMisc.hpp" namespace Gateway { EventMisc::EventMisc() : IEventBase(EventType_Misc) { Init(); } EventMisc::~EventMisc() { m_events.clear(); } void EventMisc::Init() { for (uint32_t i = 0; i < EventMiscType_Last; i++) { m_events.insert(std::make_pair(static_cast<EventMisc...
21.8
98
0.677488
Idogftw
877580049f3b8d73f852543cd96c09c6b192d90f
36,506
cpp
C++
ELF/elfsectionheaderwidget.cpp
horsicq/FormatWidgets
a324654c23ddc6c38b22df30abe02131e48263ba
[ "MIT" ]
2
2019-04-03T16:57:17.000Z
2020-05-18T12:45:21.000Z
ELF/elfsectionheaderwidget.cpp
horsicq/FormatWidgets
a324654c23ddc6c38b22df30abe02131e48263ba
[ "MIT" ]
3
2021-06-15T07:40:37.000Z
2022-01-15T23:15:31.000Z
ELF/elfsectionheaderwidget.cpp
horsicq/FormatWidgets
a324654c23ddc6c38b22df30abe02131e48263ba
[ "MIT" ]
3
2019-04-05T20:23:03.000Z
2020-08-07T00:22:19.000Z
// copyright (c) 2017-2021 hors<horsicq@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, mod...
47.595828
232
0.587876
horsicq
8776025fc5fcd444df1a336940947c32fecd73d2
516
hpp
C++
hot/commons/include/hot/commons/EntryVector.hpp
freesummer/SIMD-Matcher
3b1889d2924d243daff4939e7328bef431d9859a
[ "0BSD" ]
null
null
null
hot/commons/include/hot/commons/EntryVector.hpp
freesummer/SIMD-Matcher
3b1889d2924d243daff4939e7328bef431d9859a
[ "0BSD" ]
null
null
null
hot/commons/include/hot/commons/EntryVector.hpp
freesummer/SIMD-Matcher
3b1889d2924d243daff4939e7328bef431d9859a
[ "0BSD" ]
null
null
null
#ifndef __HOT__COMMONS__ENTRY_VECTOR___ #define __HOT__COMMONS__ENTRY_VECTOR___ #include <hot/commons/include/hot/commons/DiscriminativeBit.hpp> #include <hot/commons/include/hot/commons/EntryVectorInterface.hpp> namespace hot { namespace commons { inline entryVector(intptr_t const value_t, uint64_t const mask_t...
20.64
137
0.77907
freesummer
877729b3d8072eb0bff9407eef06a982f134b565
4,850
cc
C++
dead.cc
platinum95/pstack
545a210ee753b300f63689b1c0d22a39349ba427
[ "BSD-2-Clause" ]
null
null
null
dead.cc
platinum95/pstack
545a210ee753b300f63689b1c0d22a39349ba427
[ "BSD-2-Clause" ]
null
null
null
dead.cc
platinum95/pstack
545a210ee753b300f63689b1c0d22a39349ba427
[ "BSD-2-Clause" ]
null
null
null
#include "libpstack/dwarf.h" #include "libpstack/elf.h" #include "libpstack/proc.h" #include <iostream> CoreProcess::CoreProcess(Elf::Object::sptr exec, Elf::Object::sptr core, const PathReplacementList &pathReplacements_, Dwarf::ImageCache &imageCache) : Process(std::move(exec), std::make_shared<CoreRead...
28.529412
117
0.561856
platinum95
877ad52d356c8895a8f8e551852852e36ad483c7
2,534
cpp
C++
Sprite.cpp
SundaySSSSS/GameMakerUtils
91ac9a0bb61aa8482bc39cd315bc9e90991059fc
[ "MIT" ]
null
null
null
Sprite.cpp
SundaySSSSS/GameMakerUtils
91ac9a0bb61aa8482bc39cd315bc9e90991059fc
[ "MIT" ]
null
null
null
Sprite.cpp
SundaySSSSS/GameMakerUtils
91ac9a0bb61aa8482bc39cd315bc9e90991059fc
[ "MIT" ]
null
null
null
#include "Sprite.h" #include <QGraphicsScene> #include <QPainter> #include <QDebug> Sprite::Sprite() { m_curCmd = DO_NOTHING; m_pImageMng = nullptr; m_curRect = QRect(-16, -16, 32, 32); } Sprite::~Sprite() { if (nullptr != m_pImageMng) { delete m_pImageMng; m_pImageMng = nullptr; ...
23.036364
82
0.593923
SundaySSSSS
877ccc54cf983f78870d0671e1d8b8d972abd5f5
1,382
cpp
C++
aashishgahlawat/codeforces/C/437-C/437-C-32850022.cpp
aashishgahlawat/CompetetiveProgramming
12d6b2682765ae05b622968b9a26b0b519e170aa
[ "MIT" ]
null
null
null
aashishgahlawat/codeforces/C/437-C/437-C-32850022.cpp
aashishgahlawat/CompetetiveProgramming
12d6b2682765ae05b622968b9a26b0b519e170aa
[ "MIT" ]
null
null
null
aashishgahlawat/codeforces/C/437-C/437-C-32850022.cpp
aashishgahlawat/CompetetiveProgramming
12d6b2682765ae05b622968b9a26b0b519e170aa
[ "MIT" ]
null
null
null
#include <iostream> #include <bits/stdc++.h> #include <math.h> #include <string.h> #include <algorithm> #define endl '\n' #define ll long long int #define pb push_back #define mp make_pair #define foriter(it, x) for (__typeof((x).begin()) it = (x).begin(); it != (x).end(); it++) using namespace std; int mod=1000000007;...
27.098039
95
0.599132
aashishgahlawat
878bea967921c97d100847d8c82a0f1929833c3e
2,896
cpp
C++
TestBelaWarpDetect/TestManagedMemory.cpp
nathanntg/bela-warp-detect
5d82eeedaab855ab3f31d3b9da3f946043d70b91
[ "MIT" ]
null
null
null
TestBelaWarpDetect/TestManagedMemory.cpp
nathanntg/bela-warp-detect
5d82eeedaab855ab3f31d3b9da3f946043d70b91
[ "MIT" ]
null
null
null
TestBelaWarpDetect/TestManagedMemory.cpp
nathanntg/bela-warp-detect
5d82eeedaab855ab3f31d3b9da3f946043d70b91
[ "MIT" ]
null
null
null
// // TestManagedMemory.cpp // BelaWarpDetect // // Created by Nathan Perkins on 1/23/18. // Copyright © 2018 Nathan Perkins. All rights reserved. // #include <stdio.h> #include <stdexcept> #include "catch.hpp" #include "ManagedMemory.hpp" #define COMPARE_FLOAT(a, b) (abs((a) - (b)) < 1e-6) #define COMPARE_FLOA...
24.336134
74
0.465124
nathanntg
879b1c17ba2f3bcfb6aad5f09a64e158ca5c0dc1
4,105
cc
C++
src/x86/decoder.cc
nbdd0121/riscv-dbt
6220323b8d17cc2b873c97343a3f7a73ccec2d4b
[ "BSD-2-Clause" ]
2
2020-12-22T01:13:34.000Z
2021-11-17T11:41:41.000Z
src/x86/decoder.cc
nbdd0121/riscv-dbt
6220323b8d17cc2b873c97343a3f7a73ccec2d4b
[ "BSD-2-Clause" ]
null
null
null
src/x86/decoder.cc
nbdd0121/riscv-dbt
6220323b8d17cc2b873c97343a3f7a73ccec2d4b
[ "BSD-2-Clause" ]
1
2020-12-22T01:14:15.000Z
2020-12-22T01:14:15.000Z
#include "util/memory.h" #include "x86/decoder.h" #include "x86/instruction.h" #include "x86/opcode.h" namespace x86 { uint8_t Decoder::read_byte() { return util::read_as<uint8_t>(reinterpret_cast<void*>(_pc++)); } uint32_t Decoder::read_dword() { uint32_t ret = util::read_as<uint32_t>(reinterpret_cast<void*...
26.314103
96
0.530329
nbdd0121
87a8d615cc2a5c7e727235d45f882ca71a4e4ec2
1,334
cp
C++
Sources_Common/Application/Preferences/CFutureItems.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Sources_Common/Application/Preferences/CFutureItems.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Sources_Common/Application/Preferences/CFutureItems.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. 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 re...
23.403509
76
0.709895
mulberry-mail
87a8d6a49fca9dbf913dedf8dbd042d94aed7bd6
14,981
cpp
C++
tiffconvert/tiffconvert.cpp
Imagine-Programming/tiffconvert
1eba05f3f876ac669d28ab9309326376bef61ef1
[ "MIT" ]
null
null
null
tiffconvert/tiffconvert.cpp
Imagine-Programming/tiffconvert
1eba05f3f876ac669d28ab9309326376bef61ef1
[ "MIT" ]
3
2021-02-15T08:10:59.000Z
2021-03-13T10:52:47.000Z
tiffconvert/tiffconvert.cpp
Imagine-Programming/tiffconvert
1eba05f3f876ac669d28ab9309326376bef61ef1
[ "MIT" ]
null
null
null
#include "Util.hpp" #include "TiffImage.hpp" #include "Renderer.hpp" #include "DynaCli.hpp" #include "CodecValidator.hpp" #include "Arguments.hpp" #include "PreRenderWangHandler.hpp" #include "CompositeWangHandler.hpp" #include "VerboseWangHandler.hpp" #include "VerbosePrinter.hpp" #include <TiffFile.hpp> #include <Wa...
43.804094
162
0.592751
Imagine-Programming
87abe554603c0035246d46587ea1aab6a92d02f2
983
cpp
C++
9. String/2. C++ String Class/1. string/14.Insert_2.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
3
2019-11-06T15:43:06.000Z
2020-06-05T10:47:28.000Z
9. String/2. C++ String Class/1. string/14.Insert_2.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
null
null
null
9. String/2. C++ String Class/1. string/14.Insert_2.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
1
2019-09-06T03:37:08.000Z
2019-09-06T03:37:08.000Z
/* write a cpp program to demonstrate insert(int index, string str, int start_index, int end_index) function in c++ string */ #include <iostream> #include <string> using namespace std; int main(int argc, char const *argv[]) { string status = "I Play games"; string element ="I love to do programming"; status.i...
26.567568
107
0.720244
Imran4424
87ac7f30153dc15138e50ae8b13babd780bc3eac
3,562
cpp
C++
share/crts/plugins/Filters/fileIn.cpp
vtwireless/crts
35cc953df8465333925f065ec89b561b39f528b2
[ "MIT" ]
6
2019-01-05T08:30:32.000Z
2022-03-10T08:19:57.000Z
share/crts/plugins/Filters/fileIn.cpp
vtwireless/crts
35cc953df8465333925f065ec89b561b39f528b2
[ "MIT" ]
4
2019-10-18T14:31:04.000Z
2020-10-16T16:52:30.000Z
share/crts/plugins/Filters/fileIn.cpp
vtwireless/crts
35cc953df8465333925f065ec89b561b39f528b2
[ "MIT" ]
5
2017-05-12T21:24:18.000Z
2022-03-10T08:20:02.000Z
#include <stdio.h> #include <errno.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include "crts/crts.hpp" #include "crts/debug.h" #include "crts/Filter.hpp" #define BUFLEN ((size_t) 1024) #define DEFAULT_FILENAME "-" static void usage(void) { char nameBuf[64], *name; ...
22.124224
82
0.585907
vtwireless
87ae7dfdd8895371825a1a3d7a43ea03d61f1675
1,795
cpp
C++
src/plugins/azoth/plugins/xoox/sslerrorshandler.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/azoth/plugins/xoox/sslerrorshandler.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/azoth/plugins/xoox/sslerrorshandler.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
23.311688
104
0.638997
Maledictus
87b9320fa81b1d0e6432f16d986f15f01434f25e
4,241
cpp
C++
VulkaniumEditor/FirstApp.cpp
Durpler/Vulkanium
663eafd17dad92f6b5125ef153ba597c900b4611
[ "MIT" ]
null
null
null
VulkaniumEditor/FirstApp.cpp
Durpler/Vulkanium
663eafd17dad92f6b5125ef153ba597c900b4611
[ "MIT" ]
null
null
null
VulkaniumEditor/FirstApp.cpp
Durpler/Vulkanium
663eafd17dad92f6b5125ef153ba597c900b4611
[ "MIT" ]
null
null
null
#include "FirstApp.h" #include <stdexcept> #include <array> FirstApp::FirstApp() { loadModels(); createPipelineLayout(); createPipeline(); createCommandBuffers(); } FirstApp::~FirstApp() { vkDestroyPipelineLayout(m_vkaniumDevice.device(),m_pipelineLayout,nullptr); } void FirstApp::run() { while (!m_vkanium...
29.248276
117
0.761377
Durpler
87ba3f81eaec90926d9242630b7d32aa152dc538
1,182
cpp
C++
CDR-docker_main_file/deepstream-yolov5/nvdsinfer_custom_impl_Yolo/layers/shortcut_layer.cpp
zengming995/cv-detect-robot
9b6cf38008bd404e9ae15c82479453e7ed124f93
[ "Apache-2.0" ]
2
2022-02-25T07:51:12.000Z
2022-02-28T05:51:50.000Z
CDR-docker_main_file/deepstream-yolov5/nvdsinfer_custom_impl_Yolo/layers/shortcut_layer.cpp
zengming995/cv-detect-robot
9b6cf38008bd404e9ae15c82479453e7ed124f93
[ "Apache-2.0" ]
null
null
null
CDR-docker_main_file/deepstream-yolov5/nvdsinfer_custom_impl_Yolo/layers/shortcut_layer.cpp
zengming995/cv-detect-robot
9b6cf38008bd404e9ae15c82479453e7ed124f93
[ "Apache-2.0" ]
1
2022-02-28T05:51:42.000Z
2022-02-28T05:51:42.000Z
/* * Created by Marcos Luciano * https://www.github.com/marcoslucianops */ #include "shortcut_layer.h" nvinfer1::ILayer* shortcutLayer( int layerIdx, std::string activation, std::string inputVol, std::string shortcutVol, nvinfer1::ITensor* input, nvinfer1::ITensor* shortcutTensor, nvinf...
26.266667
82
0.62775
zengming995
87ba4b5070c7aa69d94803bb0ba722d8120162bf
12,716
cpp
C++
src/tests/DMBridge.UnitTests/NTServiceTests.cpp
ms-iot/device-management-bridge
8568b70ab8b3c4371748d5397b4d6712e2547f10
[ "MIT" ]
3
2018-08-01T23:00:04.000Z
2019-05-22T08:22:30.000Z
src/tests/DMBridge.UnitTests/NTServiceTests.cpp
ms-iot/device-management-bridge
8568b70ab8b3c4371748d5397b4d6712e2547f10
[ "MIT" ]
null
null
null
src/tests/DMBridge.UnitTests/NTServiceTests.cpp
ms-iot/device-management-bridge
8568b70ab8b3c4371748d5397b4d6712e2547f10
[ "MIT" ]
3
2018-08-01T22:30:58.000Z
2020-11-14T17:52:34.000Z
/* Copyright 2018 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublic...
32.356234
297
0.731126
ms-iot
87c12c33cc8fdb1cf16544f6b50ea5cb67fb4906
19,910
cpp
C++
01Bullet-DynamicTest/main.cpp
PohlDaniel/Physics
37f88e860c9cbcabaf60202c82f51d89aeaca0ba
[ "Zlib" ]
null
null
null
01Bullet-DynamicTest/main.cpp
PohlDaniel/Physics
37f88e860c9cbcabaf60202c82f51d89aeaca0ba
[ "Zlib" ]
null
null
null
01Bullet-DynamicTest/main.cpp
PohlDaniel/Physics
37f88e860c9cbcabaf60202c82f51d89aeaca0ba
[ "Zlib" ]
null
null
null
#define NOMINMAX #include <windows.h> #include <iostream> #include <fstream> #include <sstream> #include <chrono> #include <btBulletDynamicsCommon.h> #include <BulletCollision\CollisionDispatch\btGhostObject.h> #include <BulletDynamics\Character\btKinematicCharacterController.h> #include "GL.h" #include "Extension...
30.258359
159
0.684028
PohlDaniel
87c2380a306cb683b48d0f435d3941fcb001b35a
1,123
cpp
C++
LeetCode/Graph/DFS/ClosestDessertCost.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
LeetCode/Graph/DFS/ClosestDessertCost.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
LeetCode/Graph/DFS/ClosestDessertCost.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
/* * LeetCode 1774 Closest Dessert Cost * Medium * Jiawei Wang * 2022.2.8 */ #include <vector> using namespace::std; class Solution { public: // #1 DFS int closestCost(vector<int>& baseCosts, vector<int>& toppingCosts, int target) { int ret1 = INT_MAX/2; // return that larget than target int ret2 = ...
22.918367
90
0.639359
a4org
87c55e657b7743609f41ba2cdebd4b528759b268
1,137
hpp
C++
worker/include/Master/Record/RecordServer.hpp
idarkblue/mediasoup
f77bbd3680c122a2a4f15836b746e53e4b8571d0
[ "0BSD" ]
null
null
null
worker/include/Master/Record/RecordServer.hpp
idarkblue/mediasoup
f77bbd3680c122a2a4f15836b746e53e4b8571d0
[ "0BSD" ]
null
null
null
worker/include/Master/Record/RecordServer.hpp
idarkblue/mediasoup
f77bbd3680c122a2a4f15836b746e53e4b8571d0
[ "0BSD" ]
null
null
null
#pragma once #include <map> #include "NetServer.hpp" #include "json.hpp" #include "Record/RecordRequest.hpp" extern "C" { #include <uv.h> } using json = nlohmann::json; namespace pingos { class RecordServer : public NetServer::Listener { public: struct Context { uv_process_options_t options; ...
23.204082
76
0.689534
idarkblue
87c7a11f7a6d286f31f5767a15b1e09df5c535c5
681
cpp
C++
src/libs/qlib/qtime.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
null
null
null
src/libs/qlib/qtime.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
null
null
null
src/libs/qlib/qtime.cpp
3dhater/Racer
d7fe4014b1efefe981528547649dc397da7fa780
[ "Unlicense" ]
1
2021-01-03T16:16:47.000Z
2021-01-03T16:16:47.000Z
/* * QTime - Standard time functions * NOTES: * - I believe it takes into account timezone stuff etc. * (C) 16-10-98 MarketGraph/RVG */ #include <time.h> #include <qlib/debug.h> DEBUG_ENABLE string QCurrentDate(string format) // Returns DD-MM-YYYY or the format as specified in strftime() { time_t t; static c...
20.636364
67
0.678414
3dhater
87c7d6506e17b8bf1eecca201144e0847e6c7948
3,644
hpp
C++
include/utility/sstd/cstdint.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
2
2017-12-10T10:59:48.000Z
2017-12-13T04:11:14.000Z
include/utility/sstd/cstdint.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
include/utility/sstd/cstdint.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
#ifndef ___UTILITY__STANDARD__LIBRARY__CSTDINT___ #define ___UTILITY__STANDARD__LIBRARY__CSTDINT___ #include<utility/config/utility_config.hpp> #if defined(__UTILITY_USE_GCC__) || defined(__UTILITY_USE_CLANG__) namespace utility { namespace sstd { __UTILITY_CPP17_INLINE__ constexpr size_t char_bit = __...
24.456376
66
0.788145
SakuraLife
87c85ee99845b214ebce3f5e1cbd3529543d7cca
3,552
cpp
C++
src/1-Inheritance/diamond_problem.cpp
nixiz/advanced_cpp_course
acc3cab52cb629ed3eb12cd0fdd9689069e733e7
[ "MIT" ]
1
2021-12-09T07:23:06.000Z
2021-12-09T07:23:06.000Z
src/1-Inheritance/diamond_problem.cpp
nixiz/advanced_cpp_course
acc3cab52cb629ed3eb12cd0fdd9689069e733e7
[ "MIT" ]
null
null
null
src/1-Inheritance/diamond_problem.cpp
nixiz/advanced_cpp_course
acc3cab52cb629ed3eb12cd0fdd9689069e733e7
[ "MIT" ]
null
null
null
#include <advanced_cpp_topics.h> #include <iostream> #include <set> namespace diamondproblem { namespace problem { class Shape { public: explicit Shape(const char* n) : name(n) { std::cout << "I'm a(n) " << name << "\n"; } void printArea() const { std::cout ...
21.269461
78
0.523086
nixiz
d7ab2d2f500c0a647b11a8682bb6c6088fae5824
1,100
cpp
C++
src/AH.cpp
jhoar/AmalgamatedHarmonics
35b89c93152ac2194eecffbd4aa39e71caa90cc0
[ "BSD-3-Clause" ]
101
2017-11-20T13:15:33.000Z
2022-03-28T13:52:31.000Z
src/AH.cpp
jhoar/AmalgamatedHarmonics
35b89c93152ac2194eecffbd4aa39e71caa90cc0
[ "BSD-3-Clause" ]
42
2017-11-20T15:11:37.000Z
2022-03-15T14:29:03.000Z
src/AH.cpp
jhoar/AmalgamatedHarmonics
35b89c93152ac2194eecffbd4aa39e71caa90cc0
[ "BSD-3-Clause" ]
15
2017-11-24T01:26:55.000Z
2022-01-03T04:58:15.000Z
#include "AH.hpp" // The plugin-wide instance of the Plugin class Plugin *pluginInstance; void init(rack::Plugin *p) { pluginInstance = p; // For each module, specify the ModuleWidget subclass, manufacturer slug (for saving in patches), manufacturer human-readable name, module slug, // and module name p->addMod...
29.72973
146
0.756364
jhoar
d7aece831e934c601a06faf8bf988ec3bd180786
5,497
hpp
C++
include/sockethandler.hpp
dan-fern/telematics-api
f967bc845cf8384d87ec1dc419cf5e3eb0bc0609
[ "MIT" ]
null
null
null
include/sockethandler.hpp
dan-fern/telematics-api
f967bc845cf8384d87ec1dc419cf5e3eb0bc0609
[ "MIT" ]
null
null
null
include/sockethandler.hpp
dan-fern/telematics-api
f967bc845cf8384d87ec1dc419cf5e3eb0bc0609
[ "MIT" ]
1
2021-12-25T16:33:48.000Z
2021-12-25T16:33:48.000Z
/*! \license * * MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, dist...
27.078818
97
0.664908
dan-fern
d7afda916e59ee0461ca67164b0091b9f8e8d9a9
926
cpp
C++
plugins/geometry_calls_gl/src/geometry_calls_gl.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
49
2017-08-23T13:24:24.000Z
2022-03-16T09:10:58.000Z
plugins/geometry_calls_gl/src/geometry_calls_gl.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
200
2018-07-20T15:18:26.000Z
2022-03-31T11:01:44.000Z
plugins/geometry_calls_gl/src/geometry_calls_gl.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
31
2017-07-31T16:19:29.000Z
2022-02-14T23:41:03.000Z
/** * MegaMol * Copyright (c) 2009-2021, MegaMol Dev Team * All rights reserved. */ #include "mmcore/utility/plugins/AbstractPluginInstance.h" #include "mmcore/utility/plugins/PluginRegister.h" #include "geometry_calls_gl/CallTriMeshDataGL.h" namespace megamol::geocalls { class GeometryCallsGLPluginInstance : p...
28.9375
102
0.734341
xge
d7b01cf8318a63b2103cc762c65018f77b7a4135
413
cpp
C++
Palindrome_no.cpp
trinadasgupta/BASIC-PROGRAMS-IN-CPP
d31f661eb8740c2fcd7cd683d55777c938369114
[ "MIT" ]
null
null
null
Palindrome_no.cpp
trinadasgupta/BASIC-PROGRAMS-IN-CPP
d31f661eb8740c2fcd7cd683d55777c938369114
[ "MIT" ]
null
null
null
Palindrome_no.cpp
trinadasgupta/BASIC-PROGRAMS-IN-CPP
d31f661eb8740c2fcd7cd683d55777c938369114
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int sum=0,num,rem,temp; cout<<"Enter a Number:\t"; cin>>num; temp = num; while (num>0) { rem = num % 10; sum =(sum * 10)+ rem; num/=10; } if(temp == sum) cout<<temp<<" is a Palindrome N...
18.772727
51
0.474576
trinadasgupta
d7b9fb5244a29eea89c9c21e90a2c3bc040c0f7b
8,827
cpp
C++
libraries/connectivity/metrics/crosscorrelation.cpp
BEL-CO/mne-cpp
65d5aa05d2b85211360b2222224d26cc8fb20614
[ "BSD-3-Clause" ]
null
null
null
libraries/connectivity/metrics/crosscorrelation.cpp
BEL-CO/mne-cpp
65d5aa05d2b85211360b2222224d26cc8fb20614
[ "BSD-3-Clause" ]
null
null
null
libraries/connectivity/metrics/crosscorrelation.cpp
BEL-CO/mne-cpp
65d5aa05d2b85211360b2222224d26cc8fb20614
[ "BSD-3-Clause" ]
null
null
null
//============================================================================================================= /** * @file crosscorrelation.cpp * @author Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version 1.0 * @date January, 2018 * * @section LICENSE...
38.212121
160
0.479325
BEL-CO
d7ba519e67dfc15b9a5ba33f524adebfe525c70b
1,464
cpp
C++
src/Point3D.cpp
mtrebi/Rasterizer
75ade449cd873552ededb86af62b2f867410d08d
[ "MIT" ]
74
2018-02-12T13:37:32.000Z
2022-03-20T01:16:44.000Z
src/Point3D.cpp
mtrebi/Rasterizer
75ade449cd873552ededb86af62b2f867410d08d
[ "MIT" ]
3
2020-01-07T08:18:22.000Z
2020-10-12T16:43:47.000Z
src/Point3D.cpp
mtrebi/Rasterizer
75ade449cd873552ededb86af62b2f867410d08d
[ "MIT" ]
21
2018-07-27T11:00:54.000Z
2022-02-12T14:07:11.000Z
// Copyright (C) Kevin Suffern 2000-2007. // This C++ code is for non-commercial purposes only. // This C++ code is licensed under the GNU General Public License Version 2. // See the file COPYING.txt for the full license. // this file contains the definition of the class Point3D #include <math.h> #include...
20.333333
77
0.449454
mtrebi
d7bc194b7dcea8c21166ddbfab9934eaa266f7cf
1,019
cpp
C++
ionCore/Directory.cpp
iondune/ionEngine
7ce3394dafbabf0e0bb9f5d07dbfae31161800d4
[ "MIT" ]
36
2015-06-28T14:53:06.000Z
2021-10-31T04:26:53.000Z
ionCore/Directory.cpp
iondune/ionEngine
7ce3394dafbabf0e0bb9f5d07dbfae31161800d4
[ "MIT" ]
90
2015-05-01T07:21:43.000Z
2017-08-30T01:16:41.000Z
ionCore/Directory.cpp
iondune/ionEngine
7ce3394dafbabf0e0bb9f5d07dbfae31161800d4
[ "MIT" ]
9
2016-04-08T07:48:02.000Z
2019-07-22T15:13:53.000Z
#include "Directory.h" #include <dirent.h> namespace ion { vector<string> Directory::Read(string const & Path) { vector<string> Files; DIR * dir = opendir(Path.c_str()); if (dir) { dirent * ent; while ((ent = readdir(dir))) { std::string const FileName = ent->d_name; i...
19.596154
90
0.587831
iondune
d7bca05d80b2da8e0e629ba0a61bb4be00647bdc
287
cpp
C++
godgame2/Model.cpp
magnificus/godgame
cafb36830263d95516eb014f432319cabf50bda7
[ "Unlicense" ]
5
2017-10-31T17:36:13.000Z
2021-11-05T21:01:04.000Z
godgame2/Model.cpp
magnificus/godgame
cafb36830263d95516eb014f432319cabf50bda7
[ "Unlicense" ]
null
null
null
godgame2/Model.cpp
magnificus/godgame
cafb36830263d95516eb014f432319cabf50bda7
[ "Unlicense" ]
null
null
null
#include "Model.h" void Model::scale(glm::vec3 modifier) { for (glm::vec3 &vec : vertices) vec *= modifier; } double Model::getMaxDistanceAcross() { double longest = 0; for (glm::vec3 &vert : vertices) { longest = max(vert.length(), longest); } return longest; }
19.133333
41
0.630662
magnificus
d7be502c8498c005f553339425c3a876a3d6f023
2,206
inl
C++
SoftRP/PixelShaderImpl.inl
loreStefani/SoftRP
2676145f74c734b272268820b1e1c503aa8ff765
[ "MIT" ]
null
null
null
SoftRP/PixelShaderImpl.inl
loreStefani/SoftRP
2676145f74c734b272268820b1e1c503aa8ff765
[ "MIT" ]
null
null
null
SoftRP/PixelShaderImpl.inl
loreStefani/SoftRP
2676145f74c734b272268820b1e1c503aa8ff765
[ "MIT" ]
null
null
null
#ifndef SOFTRP_PIXEL_SHADER_IMPL_INL_ #define SOFTRP_PIXEL_SHADER_IMPL_INL_ #include "PixelShader.h" #include "SIMDInclude.h" namespace SoftRP { inline void PixelShader::computeDDXDDY(const PSExecutionContext& psec, size_t fieldIndex, Math::Vector4* out) { #ifdef SOFTRP_USE_SIMD const __m128 field0 = _mm_load_ps(p...
31.971014
112
0.731641
loreStefani
d7c6c5c91b7394c0f9fa5ba3344ca3b99eab0f5b
391
cpp
C++
twoPointers/removeDuplicatedFromSortedArray.cpp
archit-1997/InterviewB
6f5655ce0c9c8dd1b2433588f47da5aa7f5860d7
[ "MIT" ]
1
2021-01-27T16:37:38.000Z
2021-01-27T16:37:38.000Z
twoPointers/removeDuplicatedFromSortedArray.cpp
archit-1997/InterviewBit
6f5655ce0c9c8dd1b2433588f47da5aa7f5860d7
[ "MIT" ]
null
null
null
twoPointers/removeDuplicatedFromSortedArray.cpp
archit-1997/InterviewBit
6f5655ce0c9c8dd1b2433588f47da5aa7f5860d7
[ "MIT" ]
null
null
null
int Solution::removeDuplicates(vector<int> &v) { // Do not write main() function. // Do not read input, instead use the arguments to the function. // Do not print the output, instead return values as specified // Still have a doubt. Checkout www.interviewbit.com/pages/sample_codes/ for // more details int ...
35.545455
78
0.700767
archit-1997
d7c9cf5c89a1674018725e74a26dd9def5ce9be7
4,229
hpp
C++
framework/frontend/fsa/fsa.hpp
aamshukov/frontend
6be5fea43b7776691034f3b4f56d318d7cdf18f8
[ "MIT" ]
2
2018-12-21T17:08:55.000Z
2018-12-21T17:08:57.000Z
framework/frontend/fsa/fsa.hpp
aamshukov/frontend
6be5fea43b7776691034f3b4f56d318d7cdf18f8
[ "MIT" ]
null
null
null
framework/frontend/fsa/fsa.hpp
aamshukov/frontend
6be5fea43b7776691034f3b4f56d318d7cdf18f8
[ "MIT" ]
null
null
null
//.............................. // UI Lab Inc. Arthur Amshukov . //.............................. #ifndef __FSA_H__ #define __FSA_H__ #pragma once BEGIN_NAMESPACE(frontend) USINGNAMESPACE(core) class fsa_algorithm; class fsa : private noncopyable { public: using datum_type = text::datum...
31.095588
167
0.608418
aamshukov
d7cd784cbfbeaf701c8aab591b19e6f5428cc7b8
4,557
cpp
C++
utils/non_Euclidean_problem/src/closest_pair_non_Eu.cpp
ThangMinhCao/closest-pair-doubling
4dc675fd1c1929297c3ab677916f7e840a31c3f7
[ "MIT" ]
1
2020-12-29T20:24:15.000Z
2020-12-29T20:24:15.000Z
utils/non_Euclidean_problem/src/closest_pair_non_Eu.cpp
ThangMinhCao/closest-pair-doubling
4dc675fd1c1929297c3ab677916f7e840a31c3f7
[ "MIT" ]
null
null
null
utils/non_Euclidean_problem/src/closest_pair_non_Eu.cpp
ThangMinhCao/closest-pair-doubling
4dc675fd1c1929297c3ab677916f7e840a31c3f7
[ "MIT" ]
null
null
null
#include "../include/closest_pair_non_Eu.h" #include "../include/kth_smallest_non_Eu.h" #include <tuple> #include <fstream> #include <iomanip> cpp_int ClosestPairDoubling::brute_force(PointList &S) { cpp_int result = std::numeric_limits<cpp_int>::infinity(); for (int i = 0; i < S.points.size(); i++) { for (int...
34.522727
138
0.604784
ThangMinhCao
d7de4d8ca899e11d8dccdff6689b5fff6ca038e4
2,749
cpp
C++
SFInterval.cpp
zswdjh/ECE180_Calendrical_Computations
dbc08a4c3be2a2d84be3441f92d4f8737ce9c850
[ "MIT" ]
null
null
null
SFInterval.cpp
zswdjh/ECE180_Calendrical_Computations
dbc08a4c3be2a2d84be3441f92d4f8737ce9c850
[ "MIT" ]
null
null
null
SFInterval.cpp
zswdjh/ECE180_Calendrical_Computations
dbc08a4c3be2a2d84be3441f92d4f8737ce9c850
[ "MIT" ]
null
null
null
// // SFInterval.cpp // my_assignment3 // // Created by Jing Liang on 2/19/18. // Copyright © 2018 Jing Liang. All rights reserved. // #include <cstring> #include "SFInterval.hpp" namespace SoftwareFoundations{ SFInterval::SFInterval(SFInterval &aCopy){ years = aCopy.years; months = aC...
27.767677
248
0.586759
zswdjh
d7e7e4cd07a87b849596ce829cf94bf231cfb293
3,229
hpp
C++
compendium/DeclarativeServices/src/ConfigurationListenerImpl.hpp
fmilano/CppMicroServices
b7e79edb558a63e45f6788e4a8b4e787cf956689
[ "Apache-2.0" ]
588
2015-10-07T15:55:08.000Z
2022-03-29T00:35:44.000Z
compendium/DeclarativeServices/src/ConfigurationListenerImpl.hpp
fmilano/CppMicroServices
b7e79edb558a63e45f6788e4a8b4e787cf956689
[ "Apache-2.0" ]
459
2015-10-05T23:29:59.000Z
2022-03-29T14:13:37.000Z
compendium/DeclarativeServices/src/ConfigurationListenerImpl.hpp
fmilano/CppMicroServices
b7e79edb558a63e45f6788e4a8b4e787cf956689
[ "Apache-2.0" ]
218
2015-11-04T08:19:48.000Z
2022-03-24T02:17:08.000Z
/*============================================================================= Library: CppMicroServices Copyright (c) The CppMicroServices developers. See the COPYRIGHT file at the top-level directory of this distribution and at https://github.com/CppMicroServices/CppMicroServices/COPYRIGHT . Licensed under t...
35.483516
85
0.739238
fmilano
d7e8501be5f9537dd14506335e2b0fb262e93637
1,023
cpp
C++
CodeForces/Codeforces Round 246/B.cpp
coderanant/Competitive-Programming
45076af7894251080ac616c9581fbf2dc49604af
[ "MIT" ]
4
2019-06-04T11:03:38.000Z
2020-06-19T23:37:32.000Z
CodeForces/Codeforces Round 246/B.cpp
coderanant/Competitive-Programming
45076af7894251080ac616c9581fbf2dc49604af
[ "MIT" ]
null
null
null
CodeForces/Codeforces Round 246/B.cpp
coderanant/Competitive-Programming
45076af7894251080ac616c9581fbf2dc49604af
[ "MIT" ]
null
null
null
/*coderanant*/ #include <bits/stdc++.h> using namespace std; #define int long long #define ll long long #define f1(i,a,b) for(i=a;i<b;i++) #define f2(i,a,b) for(i=a;i>=b;i--) #define endl '\n' #define pb push_back #define gp " " #define ff first #define ss second #define mp make_pair const int mod=1000000007; int i,j...
20.058824
82
0.59433
coderanant
d7e8cbbad9db20567ce9283988ce5f26d0e5da78
229
hpp
C++
src/texture.hpp
braiden-vasco/matabstrix
6f52386199bec404ac8b11c969d9f1b9744f1b8d
[ "MIT" ]
6
2016-01-24T19:15:57.000Z
2016-09-03T09:39:18.000Z
src/texture.hpp
meoweg/Matabstrix
6f52386199bec404ac8b11c969d9f1b9744f1b8d
[ "MIT" ]
null
null
null
src/texture.hpp
meoweg/Matabstrix
6f52386199bec404ac8b11c969d9f1b9744f1b8d
[ "MIT" ]
2
2015-11-25T07:26:41.000Z
2016-08-20T22:16:37.000Z
#ifndef _TEXTURE_HPP_ #define _TEXTURE_HPP_ #include "resource.hpp" #include "gl.hpp" #include <string> struct Texture: Resource { RESOURCE(Texture) void use() const; private: GLuint _id; }; #endif // _TEXTURE_HPP_
10.904762
23
0.71179
braiden-vasco
d7ec9801482143b2215fc2a6c7a9e8f5f7b62bac
1,915
hpp
C++
src/support.hpp
Link1J/st
4b0572b3d0424d62a66e305170ccf6c15ab9a96e
[ "MIT" ]
null
null
null
src/support.hpp
Link1J/st
4b0572b3d0424d62a66e305170ccf6c15ab9a96e
[ "MIT" ]
null
null
null
src/support.hpp
Link1J/st
4b0572b3d0424d62a66e305170ccf6c15ab9a96e
[ "MIT" ]
null
null
null
#pragma once #include <cstdarg> #include <cstdio> #include <cstdlib> #include <cstring> #include <errno.h> #include <type_traits> #define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MAX(a, b) ((a) < (b) ? (b) : (a)) #define LEN(a) (sizeof(a) / sizeof(a)[0]) #define BETWEEN(x, a, b) ((a) <= (x) && (x) <= (b)) #define DIV...
21.761364
78
0.527415
Link1J
d7ee3e643f9ffe0856ef15512f4c892975ec6fc0
464
cpp
C++
test/memory_database/main.cpp
jinncrafters/friedrichdb
313180fee8f230b2a406000b948210c77c4253a3
[ "BSD-3-Clause" ]
1
2021-09-09T20:20:51.000Z
2021-09-09T20:20:51.000Z
test/memory_database/main.cpp
duckstax/friedrichdb
313180fee8f230b2a406000b948210c77c4253a3
[ "BSD-3-Clause" ]
1
2018-06-21T07:41:38.000Z
2018-06-21T07:41:38.000Z
test/memory_database/main.cpp
duckstax/friedrichdb
313180fee8f230b2a406000b948210c77c4253a3
[ "BSD-3-Clause" ]
null
null
null
#include "friedrichdb/in-memory/database.hpp" #include <iostream> using namespace friedrichdb::core; using namespace friedrichdb::in_memory; int main() { database_constructor_options options; database db(options); collection_constructor_options collection_options; collection_options.name_ = "test"; db.creat...
27.294118
52
0.784483
jinncrafters
d7ee7a3a3a98121b927a9f70bba8fcf74aa6c5b2
1,120
cpp
C++
modules/clock.cpp
Kyle-Thompson/limebar
0e75974e325be7852d1cb6d1672ce24904bd2c26
[ "MIT" ]
null
null
null
modules/clock.cpp
Kyle-Thompson/limebar
0e75974e325be7852d1cb6d1672ce24904bd2c26
[ "MIT" ]
null
null
null
modules/clock.cpp
Kyle-Thompson/limebar
0e75974e325be7852d1cb6d1672ce24904bd2c26
[ "MIT" ]
null
null
null
#include "clock.h" #include <chrono> #include "../types.h" constexpr static std::array<const char*, 12> months{ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", }; mod_clock::mod_clock() : _time(std::chrono::system_clock::now()) { } bool mod_clock::has_work() { auto now...
24.888889
69
0.60625
Kyle-Thompson
d7f3fdc1a0a46ea02f0fe56c7f6858ab54b32288
1,713
cpp
C++
HexEdit/BookmarkFind.cpp
the-nerbs/HexEdit
deefee7cf19c46bfb43674a892f51d885d0ba4ca
[ "MIT" ]
166
2015-09-23T05:47:26.000Z
2022-02-17T21:46:44.000Z
HexEdit/BookmarkFind.cpp
the-nerbs/HexEdit
deefee7cf19c46bfb43674a892f51d885d0ba4ca
[ "MIT" ]
27
2015-09-21T10:41:56.000Z
2020-07-17T04:51:11.000Z
HexEdit/BookmarkFind.cpp
the-nerbs/HexEdit
deefee7cf19c46bfb43674a892f51d885d0ba4ca
[ "MIT" ]
62
2015-09-21T01:21:52.000Z
2021-12-21T19:57:12.000Z
// BookmarkFind.cpp : implements CBookmarkFind dialog // // Copyright (c) 2015 by Andrew W. Phillips. // // This file is distributed under the MIT license, which basically says // you can do what you want with it and I take no responsibility for bugs. // See http://www.opensource.org/licenses/mit-license.php for ...
24.126761
79
0.656159
the-nerbs
d7fa4a09d1ae2bc54ddd7e3d8e4e4ed33655ab4b
3,828
cpp
C++
src/list.cpp
joshua-henderson/egt
1b7fbdc4f440fd31ea31c5e65ead7ab66f54a40d
[ "Apache-2.0" ]
null
null
null
src/list.cpp
joshua-henderson/egt
1b7fbdc4f440fd31ea31c5e65ead7ab66f54a40d
[ "Apache-2.0" ]
null
null
null
src/list.cpp
joshua-henderson/egt
1b7fbdc4f440fd31ea31c5e65ead7ab66f54a40d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 Microchip Technology Inc. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 */ #include "egt/detail/imagecache.h" #include "egt/frame.h" #include "egt/input.h" #include "egt/list.h" #include "egt/painter.h" namespace egt { inline namespace v1 { ListBox::ListBox(const ItemArray&...
20.147368
82
0.584639
joshua-henderson
cc00a90f2e690d156f570c1007fa65972dfad768
432
cpp
C++
Fait/102-modificateur-de-rate-dexp/XPPlayer.cpp
Open-Wow/archive
427859271fa4ae85972e7a15ba093b615a01894c
[ "MIT" ]
null
null
null
Fait/102-modificateur-de-rate-dexp/XPPlayer.cpp
Open-Wow/archive
427859271fa4ae85972e7a15ba093b615a01894c
[ "MIT" ]
null
null
null
Fait/102-modificateur-de-rate-dexp/XPPlayer.cpp
Open-Wow/archive
427859271fa4ae85972e7a15ba093b615a01894c
[ "MIT" ]
null
null
null
#include "XPPlayer.hpp" std::map<uint64,float> XPPlayer::modXp; void XPPlayer::OnGiveXP(Player * player, uint32 & amount, Unit * /*victim*/) { if(player == nullptr) { return; } if(std::find(XPPlayer::modXp.begin(), XPPlayer::modXp.end(), player->GetGUID()) != XPPlayer::modXp.end()) { amo...
18.782609
111
0.606481
Open-Wow
cc02170442a8e1e858a1f7c9984257b1b447fa1e
5,800
cpp
C++
10terrain/game.cpp
lightbits/akari
63c411ca3b269a2844154834b01c8114a39c6a33
[ "MIT" ]
11
2015-02-13T13:18:01.000Z
2017-10-14T02:27:35.000Z
10terrain/game.cpp
lightbits/akari
63c411ca3b269a2844154834b01c8114a39c6a33
[ "MIT" ]
null
null
null
10terrain/game.cpp
lightbits/akari
63c411ca3b269a2844154834b01c8114a39c6a33
[ "MIT" ]
2
2019-05-18T03:14:08.000Z
2019-12-10T15:03:41.000Z
#include "game.h" #include "sdlgui.h" int window_width, window_height; Mesh mesh_terrain, mesh_quad; RenderTexture rt_heightmap; mat4 mat_projection; Shader shader_terrain, shader_generate; float terrain_frequency, terrain_scale, terrain_height; int terrain_samples_x, terrain_samples_y; Mesh gen_terrain_me...
31.016043
119
0.712241
lightbits