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
9ea8d3c8220c1d7b5590f4de0745222909c735b4
5,155
cpp
C++
Qt_GUI/DisplayPanelWidget.cpp
SDUBigDataCourse/RecursiveSubdivision-basedSampling
a187eabe37e64312b326461d29800f1aff25371c
[ "MIT" ]
5
2020-10-26T09:42:16.000Z
2022-02-16T10:36:24.000Z
Qt_GUI/DisplayPanelWidget.cpp
Ideas-Laboratory/RecursiveSubdivision-basedSampling
2b8cbae9cb72a05089ace5ccee4745d33121d60f
[ "MIT" ]
null
null
null
Qt_GUI/DisplayPanelWidget.cpp
Ideas-Laboratory/RecursiveSubdivision-basedSampling
2b8cbae9cb72a05089ace5ccee4745d33121d60f
[ "MIT" ]
2
2019-09-09T08:01:37.000Z
2019-12-01T03:36:47.000Z
#include "DisplayPanelWidget.h" using namespace std; DisplayPanelWidget::DisplayPanelWidget(SamplingProcessViewer *spv, unordered_map<uint, string> *c2l_mapping, QWidget * parent) : QWidget(parent), viewer(spv), class2label(c2l_mapping) { setFixedWidth(440); container = dynamic_cast<QScrollArea*>(parent); QVBoxLa...
37.627737
183
0.711542
SDUBigDataCourse
9ea93736a1011d8434627a70580108e9b05f012d
270
hpp
C++
include/RED4ext/Scripting/Natives/Generated/quest/QuickItemsSet.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/quest/QuickItemsSet.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/quest/QuickItemsSet.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> namespace RED4ext { namespace quest { enum class QuickItemsSet : uint32_t { Q001_Kereznikov_Heal_Phone = 0, Q003_All = 1, }; } // namespace quest } // namespace RED4ext
16.875
57
0.722222
jackhumbert
9eab0549271f5337d77b1c6db8edfc6e879c9a72
1,184
cpp
C++
workbench/src/audiostream.cpp
MasterQ32/cg-workbench
3d6229b961192689e6dbd0a09ec4b61041ecb155
[ "MIT" ]
5
2017-12-27T12:57:36.000Z
2021-10-02T03:21:40.000Z
workbench/src/audiostream.cpp
MasterQ32/cg-workbench
3d6229b961192689e6dbd0a09ec4b61041ecb155
[ "MIT" ]
9
2020-09-29T22:40:49.000Z
2020-10-17T20:05:05.000Z
workbench/src/audiostream.cpp
MasterQ32/cg-workbench
3d6229b961192689e6dbd0a09ec4b61041ecb155
[ "MIT" ]
null
null
null
#include "audiostream.hpp" #include <cstring> #include <cassert> // Implement stb_vorbis here! #undef STB_VORBIS_HEADER_ONLY #include <stb_vorbis.h> uint32_t audio_samplerate; uint32_t audio_buffersize; uint32_t audio_channels; AudioStream::AudioStream(int channels) : samples(audio_buffersize * channels), c...
17.939394
74
0.728041
MasterQ32
9eacbcac940dcbd9bdf58f9fe934da294c7b8e8b
499
cpp
C++
test/src/bextr_test.cpp
MatsuTaku/libbo
e139e1bd81898f22a903a7d43018c93ae2722601
[ "Unlicense" ]
null
null
null
test/src/bextr_test.cpp
MatsuTaku/libbo
e139e1bd81898f22a903a7d43018c93ae2722601
[ "Unlicense" ]
null
null
null
test/src/bextr_test.cpp
MatsuTaku/libbo
e139e1bd81898f22a903a7d43018c93ae2722601
[ "Unlicense" ]
null
null
null
// // Created by 松本拓真 on 2019/11/06. // #include "gtest/gtest.h" #include "bo/bextr.hpp" namespace { constexpr int N = 1<<16; uint64_t rand64() { return uint64_t(random()) | (uint64_t(random()) << 32); } } TEST(Bextr, 64) { for (int i = 0; i < N; i++) { auto val = rand64(); int s = random() % 64; ...
16.633333
59
0.529058
MatsuTaku
9eb0b41af51f4d54c4f306c07f27818893871ed7
185
hpp
C++
Extensions/Includes.hpp
CodeRedRL/CodeRed-Universal
d6dd12fea9d4a583a99666d7cf75b7e0e3db896a
[ "MIT" ]
6
2021-04-22T01:50:35.000Z
2021-07-16T21:06:46.000Z
Extensions/Includes.hpp
CodeRedRL/CodeRed-Universal
d6dd12fea9d4a583a99666d7cf75b7e0e3db896a
[ "MIT" ]
2
2021-04-24T23:15:32.000Z
2021-05-26T02:22:43.000Z
Extensions/Includes.hpp
CodeRedRL/CodeRed-Universal
d6dd12fea9d4a583a99666d7cf75b7e0e3db896a
[ "MIT" ]
4
2021-04-23T18:26:08.000Z
2021-06-02T09:41:14.000Z
#pragma once #include "Extensions/Colors.hpp" #include "Extensions/Formatting.hpp" #include "Extensions/Math.hpp" #include "Extensions/Memory.hpp" #include "Extensions/UnrealMemory.hpp"
30.833333
38
0.8
CodeRedRL
9ebdc49e6fbdfe07a2d77199fde267c9bbbadfb1
1,283
cpp
C++
tests/TestTiming/TestStopWatch.cpp
cvilas/grape-old
d8e9b184fff396982be8d230214a1f66a7a8fcc9
[ "BSD-3-Clause" ]
null
null
null
tests/TestTiming/TestStopWatch.cpp
cvilas/grape-old
d8e9b184fff396982be8d230214a1f66a7a8fcc9
[ "BSD-3-Clause" ]
4
2018-06-04T08:18:21.000Z
2018-07-13T14:36:03.000Z
tests/TestTiming/TestStopWatch.cpp
cvilas/grape-old
d8e9b184fff396982be8d230214a1f66a7a8fcc9
[ "BSD-3-Clause" ]
null
null
null
#include "TestStopWatch.h" //============================================================================= TestStopWatch::TestStopWatch() //============================================================================= { } //----------------------------------------------------------------------------- void TestStopWat...
33.763158
79
0.411535
cvilas
9ebf9a324cc53593fa7691c79e70243ea47b5141
835
cpp
C++
EB_GUIDE_GTF/concepts/TraceOutputExample/src/CustomTraceOutputExport.cpp
pethipet/eb-guide-examples
1c14fdb6eebdd8b164d99b519161160ecc5a29cf
[ "MIT" ]
11
2020-02-12T16:35:59.000Z
2022-03-26T14:36:28.000Z
EB_GUIDE_GTF/concepts/TraceOutputExample/src/CustomTraceOutputExport.cpp
pethipet/eb-guide-examples
1c14fdb6eebdd8b164d99b519161160ecc5a29cf
[ "MIT" ]
1
2020-02-12T16:49:56.000Z
2020-03-20T15:22:58.000Z
EB_GUIDE_GTF/concepts/TraceOutputExample/src/CustomTraceOutputExport.cpp
pethipet/eb-guide-examples
1c14fdb6eebdd8b164d99b519161160ecc5a29cf
[ "MIT" ]
4
2020-02-12T16:36:07.000Z
2022-03-26T14:36:22.000Z
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) Elektrobit Automotive GmbH // Alle Rechte vorbehalten. All Rights Reserved. // // Information contained herein is subject to change without notice. // Elektrobit retains ownership and all other rights in the software and e...
37.954545
85
0.641916
pethipet
9ec11020b2fdba5457ef32048e476e371db4e26d
1,411
cpp
C++
Gear/Math/Matrix.cpp
Alpha255/Rockcat
f04124b17911fb6148512dd8fb260bd84702ffc1
[ "MIT" ]
null
null
null
Gear/Math/Matrix.cpp
Alpha255/Rockcat
f04124b17911fb6148512dd8fb260bd84702ffc1
[ "MIT" ]
null
null
null
Gear/Math/Matrix.cpp
Alpha255/Rockcat
f04124b17911fb6148512dd8fb260bd84702ffc1
[ "MIT" ]
null
null
null
#include "Gear/Math/Matrix.h" NAMESPACE_START(Gear) NAMESPACE_START(Math) #if !defined(USE_SSE) void Matrix::gaussJordanInverse() { /// Gauss-Jordan method Matrix copy(*this); int32_t i, j, k; /// Forward elimination for (i = 0; i < 3; ++i) { int32_t pivot = i; float32_t pivotSize = copy.m[i][i]; pivotS...
16.6
56
0.501063
Alpha255
9ec490b05858d9d942213feb29bce4d98c8adbf7
379
cpp
C++
0027. Remove Element/Solution.cpp
Solitudez/leetcode
a47bad8f0796d08e5996e55d38735295f8135703
[ "MIT" ]
1
2022-03-04T16:25:57.000Z
2022-03-04T16:25:57.000Z
0027. Remove Element/Solution.cpp
Solitudez/leetcode
a47bad8f0796d08e5996e55d38735295f8135703
[ "MIT" ]
null
null
null
0027. Remove Element/Solution.cpp
Solitudez/leetcode
a47bad8f0796d08e5996e55d38735295f8135703
[ "MIT" ]
null
null
null
#include <vector> using std::vector; class Solution { public: int removeElement_1(vector<int>& nums, int val) { int l = 0, r = nums.size(); while(l < r) { if (nums[l] == val) { nums[l] = nums[r - 1]; r--; } els...
18.047619
53
0.364116
Solitudez
9eca7a702c29987590b725fd14f12a0f7580d2bf
1,166
hpp
C++
include/timer/timer.hpp
lkskstlr/mc-mpi
fc197f4bdf8f3dc3692fc24019bfd7f3c12d6442
[ "MIT" ]
null
null
null
include/timer/timer.hpp
lkskstlr/mc-mpi
fc197f4bdf8f3dc3692fc24019bfd7f3c12d6442
[ "MIT" ]
1
2019-03-05T09:05:10.000Z
2019-03-05T09:05:10.000Z
include/timer/timer.hpp
lkskstlr/mc-mpi
fc197f4bdf8f3dc3692fc24019bfd7f3c12d6442
[ "MIT" ]
null
null
null
#ifndef TIMER_HPP #define TIMER_HPP // I use the fact that structs with methods are still POD in memory which is // guranteed by the standard. See: // https://stackoverflow.com/questions/422830/structure-of-a-c-object-in-memory-vs-a-struct #include <iostream> #include <mpi.h> #include <stdio.h> class Timer { public:...
23.795918
91
0.696398
lkskstlr
19b02a9ffe3cd60793242ec6536fb3844d69c274
3,993
cpp
C++
IfcPlusPlus/src/ifcpp/IFC4/IfcConnectionVolumeGeometry.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
1
2018-10-23T09:43:07.000Z
2018-10-23T09:43:07.000Z
IfcPlusPlus/src/ifcpp/IFC4/IfcConnectionVolumeGeometry.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
null
null
null
IfcPlusPlus/src/ifcpp/IFC4/IfcConnectionVolumeGeometry.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
null
null
null
/* -*-c++-*- IfcPlusPlus - www.ifcplusplus.com - Copyright (C) 2011 Fabian Gerold * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * in...
57.042857
235
0.771851
linsipese
19b471af1eb0ed5c4eeb8ad92b4e5bd7b27dd3ac
10,075
inl
C++
src/bad/math/f32x4_calc/f32x4_calc_no_simd.inl
Bad-Sam/bad
a16717bd39c1607a042c673494e9c4a695905868
[ "MIT" ]
null
null
null
src/bad/math/f32x4_calc/f32x4_calc_no_simd.inl
Bad-Sam/bad
a16717bd39c1607a042c673494e9c4a695905868
[ "MIT" ]
null
null
null
src/bad/math/f32x4_calc/f32x4_calc_no_simd.inl
Bad-Sam/bad
a16717bd39c1607a042c673494e9c4a695905868
[ "MIT" ]
null
null
null
// ==== Arithmetic & math functions === static bad_forceinline f32x4 f32x4_add(f32x4 a, f32x4 b) { f32x4 res; res.x = a.x + b.x; res.y = a.y + b.y; res.z = a.z + b.z; res.w = a.w + b.w; return res; } static bad_forceinline f32x4 f32x4_sub(f32x4 a, f32x4 b) { f32x4 res; res.x = a.x -...
19.300766
86
0.596824
Bad-Sam
19b5803a8cfd16435200eee8f5c0fa004b281350
1,317
hpp
C++
source/AsioExpress/ClientServer/ClientEventHandler.hpp
suhao/asioexpress
2f3453465934afdcdf4a575a2d933d86929b23c7
[ "BSL-1.0" ]
null
null
null
source/AsioExpress/ClientServer/ClientEventHandler.hpp
suhao/asioexpress
2f3453465934afdcdf4a575a2d933d86929b23c7
[ "BSL-1.0" ]
null
null
null
source/AsioExpress/ClientServer/ClientEventHandler.hpp
suhao/asioexpress
2f3453465934afdcdf4a575a2d933d86929b23c7
[ "BSL-1.0" ]
null
null
null
// Copyright Ross MacGregor 2013 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #pragma once #include "AsioExpress/Error.hpp" #include "AsioExpress/CompletionHandler.hpp" #in...
29.931818
73
0.725892
suhao
19b81538e09ab959ef0690421b96ee0eb115adc6
1,038
cpp
C++
src/lib/vector3.cpp
abainbridge/trex-warrior
fac95802ce7efd8dc9c50f915ce8d5891f545640
[ "BSD-2-Clause" ]
null
null
null
src/lib/vector3.cpp
abainbridge/trex-warrior
fac95802ce7efd8dc9c50f915ce8d5891f545640
[ "BSD-2-Clause" ]
null
null
null
src/lib/vector3.cpp
abainbridge/trex-warrior
fac95802ce7efd8dc9c50f915ce8d5891f545640
[ "BSD-2-Clause" ]
null
null
null
#include "lib/universal_include.h" #include <math.h> #include <float.h> #include "lib/vector2.h" #include "lib/vector3.h" Vector3 const g_upVector(0.0f, 1.0f, 0.0f); Vector3 const g_zeroVector(0.0f, 0.0f, 0.0f); void Vector3::RotateAroundX(float angle) { FastRotateAround(Vector3(1,0,0), angle);...
19.222222
65
0.656069
abainbridge
19c69b52917fbebe98a96eda954ba83ae41f50ef
1,016
cpp
C++
spoj/Diehard/diehard.cpp
Abhinavlamba/competitive-programming
fdf26f55e5559cde32651ef91f1927b1137442f9
[ "MIT" ]
1
2020-05-12T04:28:55.000Z
2020-05-12T04:28:55.000Z
spoj/Diehard/diehard.cpp
devkant/competitive-programming
fdf26f55e5559cde32651ef91f1927b1137442f9
[ "MIT" ]
null
null
null
spoj/Diehard/diehard.cpp
devkant/competitive-programming
fdf26f55e5559cde32651ef91f1927b1137442f9
[ "MIT" ]
5
2017-10-22T06:04:17.000Z
2020-08-04T11:08:47.000Z
#include <bits/stdc++.h> using namespace std; int dp[1007][1007][1]; int diehard(int h,int a,int air){ if(h<=0 || a<=0){ return 0; } if(dp[h][a][air]!=-1){ return dp[h][a][air]; } if(air){ dp[h][a][air]=1+diehard(h+3,a+2,0); return dp[h][a][air]; }else{ ...
18.142857
63
0.36122
Abhinavlamba
19c88b00bae7f0ed1e3b3f2bcda0667632890368
630
cpp
C++
src/ui/ui_frame_buffers.cpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
1
2020-09-23T11:17:35.000Z
2020-09-23T11:17:35.000Z
src/ui/ui_frame_buffers.cpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
null
null
null
src/ui/ui_frame_buffers.cpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
null
null
null
#include "ui_frame_buffers.hpp" #include <sstream> #include "../imgui/imgui-SFML.h" #include "../engine.hpp" namespace space { UIFrameBuffers::UIFrameBuffers() : UIWindow("FrameBuffers") { } void UIFrameBuffers::doDraw(Engine &engine) { auto &renderCameras = engine.renderCameras(); ...
24.230769
78
0.612698
astrellon
19cecee5716dda019d8e0e84c8d54cf348fb1878
4,027
cpp
C++
src/macro.cpp
reveluxlabs/Tilton
d8ff1a58366023422e1a83178fd8d7370081477e
[ "MIT" ]
null
null
null
src/macro.cpp
reveluxlabs/Tilton
d8ff1a58366023422e1a83178fd8d7370081477e
[ "MIT" ]
1
2019-10-17T12:58:18.000Z
2019-10-17T12:58:18.000Z
src/macro.cpp
reveluxlabs/Tilton
d8ff1a58366023422e1a83178fd8d7370081477e
[ "MIT" ]
2
2019-10-16T12:45:50.000Z
2019-10-17T12:08:10.000Z
// Copyright (c) 2011 Revelux Labs, LLC. All rights reserved. // Use of this source code is governed by a MIT-style license that can be // found in the LICENSE file. #include "macro.h" #include <string> #include <stdio.h> #include <stdlib.h> #include "tilton.h" Macro::Macro() { InitializeMacro(NULL, 0); } Macr...
21.08377
73
0.532158
reveluxlabs
19d1ae34118cdbad622550dcb7b215a3ac151442
395
cpp
C++
C or C++/poinTer.cpp
amitShindeGit/Miscellaneous-Programs
11aa892628f44b51a8723d5f282d64f867b01be2
[ "MIT" ]
3
2020-11-01T05:48:04.000Z
2021-04-25T05:33:47.000Z
C or C++/poinTer.cpp
amitShindeGit/Miscellaneous-Programs
11aa892628f44b51a8723d5f282d64f867b01be2
[ "MIT" ]
null
null
null
C or C++/poinTer.cpp
amitShindeGit/Miscellaneous-Programs
11aa892628f44b51a8723d5f282d64f867b01be2
[ "MIT" ]
3
2020-10-31T05:29:55.000Z
2021-06-19T09:33:53.000Z
#include <iostream> #include <new> #include <cstdlib> #include <map> #include <string> #include <vector> #include <cmath> using namespace std; int main() { int a = 90; int b = 100; cout << "Address = " << (long)&a << " " << (long)&b << endl; int *p = &a; cout << "p = " << *p << " " << endl; p++...
18.809524
64
0.496203
amitShindeGit
19d23aa18ab8775f38678c4dc264a93cdadc54c5
6,979
hpp
C++
include/conduit/mixin/promise_parts.hpp
jantonioperez/conduit
1366d710fb3afac5dbc3b71f8285c62c03bdf201
[ "MIT" ]
6
2021-09-18T07:49:46.000Z
2022-02-03T12:21:16.000Z
include/conduit/mixin/promise_parts.hpp
functionalperez/conduit
1366d710fb3afac5dbc3b71f8285c62c03bdf201
[ "MIT" ]
1
2021-08-05T22:48:51.000Z
2021-08-05T23:27:30.000Z
include/conduit/mixin/promise_parts.hpp
codeinred/conduit
1366d710fb3afac5dbc3b71f8285c62c03bdf201
[ "MIT" ]
null
null
null
#pragma once #include <conduit/async/callback.hpp> #include <conduit/async/immediate_value.hpp> #include <conduit/mem/allocator.hpp> #include <conduit/mixin/awaitable_parts.hpp> #include <conduit/util/tag_types.hpp> #include <exception> namespace conduit::mixin { enum suspend : bool { always = true, never = false }; ...
31.017778
80
0.674882
jantonioperez
19d6905fcc00e21a5f9c27f212201722b919eeb1
176
cpp
C++
src/basic/src/listener_node.cpp
sgermanserrano/gitlab_ci_test
df415655757d9674a31ca704bef6bb7c456e7c09
[ "Apache-2.0" ]
null
null
null
src/basic/src/listener_node.cpp
sgermanserrano/gitlab_ci_test
df415655757d9674a31ca704bef6bb7c456e7c09
[ "Apache-2.0" ]
null
null
null
src/basic/src/listener_node.cpp
sgermanserrano/gitlab_ci_test
df415655757d9674a31ca704bef6bb7c456e7c09
[ "Apache-2.0" ]
1
2019-03-05T16:33:21.000Z
2019-03-05T16:33:21.000Z
#include "basic/listener.h" int main(int argc, char **argv) { ros::init(argc, argv, "listener_node"); Listener listener_node; listener_node.spin(); return 0; }
11
41
0.659091
sgermanserrano
19d6d426f1ac47a9e74c87895d7b3ba67e038bc4
3,527
cpp
C++
esm/Util.cpp
kstemp/TESviewer
2905367f0e30c586633831e0312a7902fb645b4e
[ "MIT" ]
null
null
null
esm/Util.cpp
kstemp/TESviewer
2905367f0e30c586633831e0312a7902fb645b4e
[ "MIT" ]
null
null
null
esm/Util.cpp
kstemp/TESviewer
2905367f0e30c586633831e0312a7902fb645b4e
[ "MIT" ]
null
null
null
#include "Util.h" #include "records\CELL.h" ESM::Record* ESM::getBaseFromREFR(const ESM::Record* refr, ESM::File& file) { return file.findByFormID(refr->fieldOr<uint32_t>("NAME")); } std::vector<ESM::Group>* ESM::findCellChildrenTopLevel(const ESM::Record* cell, ESM::File& file) { int block = getCellBlock(cell); ...
26.719697
106
0.68727
kstemp
19d984e9b5562b1f89838d17a1e10c164a8a6b78
1,360
cpp
C++
D01/ex00/main.cpp
amoinier/piscine-cpp
43d4806d993eb712f49a32e54646d8c058a569ea
[ "MIT" ]
null
null
null
D01/ex00/main.cpp
amoinier/piscine-cpp
43d4806d993eb712f49a32e54646d8c058a569ea
[ "MIT" ]
null
null
null
D01/ex00/main.cpp
amoinier/piscine-cpp
43d4806d993eb712f49a32e54646d8c058a569ea
[ "MIT" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: ...
32.380952
80
0.294118
amoinier
19dcb470546b54f68991f8e4df94417ed86b88d1
1,201
cpp
C++
app/main.cpp
frachop/ezWebSockify
a35ff5aa7867830b0b51d9d7dfedc44e55f27eab
[ "MIT" ]
null
null
null
app/main.cpp
frachop/ezWebSockify
a35ff5aa7867830b0b51d9d7dfedc44e55f27eab
[ "MIT" ]
null
null
null
app/main.cpp
frachop/ezWebSockify
a35ff5aa7867830b0b51d9d7dfedc44e55f27eab
[ "MIT" ]
null
null
null
// // main.cpp // ezWebSockify // // Created by Franck on 22/07/2020. // Copyright © 2020 Frachop. All rights reserved. // #include <ezWebSockifyLib/ezWebSockifyLib.hpp> #include <iostream> #include <limits> #include <csignal> #include <thread> namespace { volatile std::sig_atomic_t gSignalStatus; } void sign...
21.446429
140
0.661948
frachop
19e5207ad65c5f2f519ab2a797b1c27220dabaab
2,048
cpp
C++
tests/test_asm/main.cpp
SgAkErRu/labs
9cf71e131513beb3c54ad3599f2a1e085bff6947
[ "BSD-3-Clause" ]
null
null
null
tests/test_asm/main.cpp
SgAkErRu/labs
9cf71e131513beb3c54ad3599f2a1e085bff6947
[ "BSD-3-Clause" ]
null
null
null
tests/test_asm/main.cpp
SgAkErRu/labs
9cf71e131513beb3c54ad3599f2a1e085bff6947
[ "BSD-3-Clause" ]
null
null
null
// Ассемблерные вставки на GCC с флагом -masm=intel в .pro для синтаксиса Intel // (тоже самое можно и через команды .intel_syntax noprefix в начале asm вставки (и после кода, но внутри вставки, надо было вкл обратно AT&T .att_syntax noprefix) // использовать либо глобальные переменные, или локальные объявлять согла...
29.681159
192
0.581055
SgAkErRu
19e87cf737beb7be0f14c977cf595772b345c4d6
166
hpp
C++
modules/anti_nd/functions/CfgFunctions.hpp
goosko/Olsen-Framework-Arma-3
bb77aa28195bb04cc3b94ec768901308162e555c
[ "MIT" ]
4
2020-05-04T18:03:59.000Z
2020-05-06T19:40:27.000Z
modules/anti_nd/functions/CfgFunctions.hpp
goosko/Olsen-Framework-Arma-3
bb77aa28195bb04cc3b94ec768901308162e555c
[ "MIT" ]
64
2020-09-13T23:26:04.000Z
2022-03-19T07:27:54.000Z
modules/anti_nd/functions/CfgFunctions.hpp
goosko/Olsen-Framework-Arma-3
bb77aa28195bb04cc3b94ec768901308162e555c
[ "MIT" ]
5
2020-12-07T20:37:05.000Z
2022-02-03T21:03:49.000Z
#include "..\script_component.hpp" class COMPONENT { tag = COMPONENT; class ANTI_ND { file = "modules\anti_nd\functions\anti_nd"; class Init {}; }; };
18.444444
46
0.644578
goosko
19e98193d98bf64799596d2ad3257aebf61f771e
1,224
hpp
C++
include/c9/time.hpp
stormbrew/channel9
626b42c208ce1eb54fff09ebd9f9e9fd0311935d
[ "MIT" ]
1
2015-02-13T02:03:29.000Z
2015-02-13T02:03:29.000Z
include/c9/time.hpp
stormbrew/channel9
626b42c208ce1eb54fff09ebd9f9e9fd0311935d
[ "MIT" ]
null
null
null
include/c9/time.hpp
stormbrew/channel9
626b42c208ce1eb54fff09ebd9f9e9fd0311935d
[ "MIT" ]
null
null
null
#pragma once #include <time.h> #include <sys/time.h> class Time { double t; public: Time(){ struct timeval time; gettimeofday(&time, NULL); t = time.tv_sec + (double)time.tv_usec/1000000; } Time(double a) : t(a) { } Time(const struct timeval & time){ t = time.tv_sec + (double)time.tv_usec/1000000; } ...
31.384615
68
0.589869
stormbrew
19eef03109ee5a2f874e7d1472c806102736e9aa
173
cc
C++
src/Encoder/encoders/none.cc
grzegorzmatczak/PostProcessingModules
bc815541453453f58fc40bd9c00bfc03be1fa3b5
[ "MIT" ]
null
null
null
src/Encoder/encoders/none.cc
grzegorzmatczak/PostProcessingModules
bc815541453453f58fc40bd9c00bfc03be1fa3b5
[ "MIT" ]
null
null
null
src/Encoder/encoders/none.cc
grzegorzmatczak/PostProcessingModules
bc815541453453f58fc40bd9c00bfc03be1fa3b5
[ "MIT" ]
null
null
null
#include "none.h" Encoders::None::None() {} void Encoders::None::process(std::vector<_postData> &_data) {} void Encoders::None::endProcess(std::vector<_postData> &_data) {}
34.6
65
0.710983
grzegorzmatczak
19f09c1442cbb814783fca9449d00971fcadc05f
5,300
hpp
C++
vendor/libbitcoin/include/bitcoin/bitcoin/chain/header.hpp
X9Developers/xsn-wallet
7b5aaf6de15928c8cf5b86a844e56710c301df1f
[ "MIT" ]
1
2018-08-20T11:15:45.000Z
2018-08-20T11:15:45.000Z
vendor/libbitcoin/include/bitcoin/bitcoin/chain/header.hpp
X9Developers/xsn-wallet
7b5aaf6de15928c8cf5b86a844e56710c301df1f
[ "MIT" ]
null
null
null
vendor/libbitcoin/include/bitcoin/bitcoin/chain/header.hpp
X9Developers/xsn-wallet
7b5aaf6de15928c8cf5b86a844e56710c301df1f
[ "MIT" ]
3
2018-08-30T08:35:43.000Z
2019-03-29T15:36:26.000Z
/** * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the Lic...
30.813953
83
0.648679
X9Developers
19f40170d4c897b616e1a728cb76fe4ffb49a816
1,025
cpp
C++
src/inputwin.cpp
mastereuclid/cs494project
8131fb23e20a96c50e7d1252af2bc359e1009a52
[ "Apache-2.0" ]
null
null
null
src/inputwin.cpp
mastereuclid/cs494project
8131fb23e20a96c50e7d1252af2bc359e1009a52
[ "Apache-2.0" ]
null
null
null
src/inputwin.cpp
mastereuclid/cs494project
8131fb23e20a96c50e7d1252af2bc359e1009a52
[ "Apache-2.0" ]
null
null
null
#include "inputwin.hpp" #include <iostream> inputwin::inputwin() : nc::window(nc::points_t(getmaxy(stdscr) - 5, 0, getmaxy(stdscr), getmaxx(stdscr)), nc::border_t(false, true, false, false)) {} void inputwin::on_focus() { clear(); echo(); wmove(winptr(), 1, 0); } void inputwin::get_input(std...
26.973684
89
0.578537
mastereuclid
19f71e32a9786be81906c094a023a4beb7db4852
548
cpp
C++
coffeeDBR/src/cml_oneMin/cml_golden.cpp
CoFFeeMaN11/CoffeeDBR
1c4fb0683263ada1a8a931cc78bb7cbe728e9d4b
[ "Apache-2.0" ]
null
null
null
coffeeDBR/src/cml_oneMin/cml_golden.cpp
CoFFeeMaN11/CoffeeDBR
1c4fb0683263ada1a8a931cc78bb7cbe728e9d4b
[ "Apache-2.0" ]
null
null
null
coffeeDBR/src/cml_oneMin/cml_golden.cpp
CoFFeeMaN11/CoffeeDBR
1c4fb0683263ada1a8a931cc78bb7cbe728e9d4b
[ "Apache-2.0" ]
null
null
null
#include "cml_golden.h" #include <cassert> #define GOLDEN_RADIO 0.6180339887498949L void GoldenSec::Iterate() { assert(func); long double fL, fR; func(xL, params, fL); func(xR, params, fR); if (fL < fR) { b = xR; xR = xL; xL = b - GOLDEN_RADIO * (b - a); } else { a = xL; xL = xR; xR = a + GOLDEN_RA...
16.606061
46
0.596715
CoFFeeMaN11
19fb6c685d7ac8c20c312ac9b8f969207a4dc116
1,737
hpp
C++
src/svg/svg_parser.hpp
malasiot/xg
02bdcc208f479afb448767e4d2f2764e913e5d43
[ "MIT" ]
1
2019-09-06T01:48:15.000Z
2019-09-06T01:48:15.000Z
src/svg/svg_parser.hpp
malasiot/xg
02bdcc208f479afb448767e4d2f2764e913e5d43
[ "MIT" ]
null
null
null
src/svg/svg_parser.hpp
malasiot/xg
02bdcc208f479afb448767e4d2f2764e913e5d43
[ "MIT" ]
null
null
null
#ifndef __XG_SVG_PARSER_HPP__ #define __XG_SVG_PARSER_HPP__ #include <string> #include <xg/util/dictionary.hpp> #include <iostream> #include "svg_dom.hpp" namespace xg { class SVGLoadException ; class SVGDocument ; class SVGParser { public: SVGParser(SVGDocument &doc): document_(doc) {} void parseString(...
23.794521
102
0.663212
malasiot
19fe25e1a06c3a0e321ce78d8fc2e4e2c5a1ba3f
514
cpp
C++
Tree/Convert BT to Doubly Linked List.cpp
Benson1198/CPP
b12494becadc9431303cfdb51c5134dc68c679c3
[ "MIT" ]
null
null
null
Tree/Convert BT to Doubly Linked List.cpp
Benson1198/CPP
b12494becadc9431303cfdb51c5134dc68c679c3
[ "MIT" ]
null
null
null
Tree/Convert BT to Doubly Linked List.cpp
Benson1198/CPP
b12494becadc9431303cfdb51c5134dc68c679c3
[ "MIT" ]
1
2020-10-06T09:17:33.000Z
2020-10-06T09:17:33.000Z
#include<bits/stdc++.h> using namespace std; struct Node{ int data; Node *left; Node *right; Node(int k){ data = k; left = NULL; right = NULL; } } Node *prev = NULL; Node *BTToDLL(Node *root){ if(root == NULL){ return root; } Node* head = BTToDLL(roo...
13.526316
37
0.490272
Benson1198
c205135c11d51528b686eccfca8179e398d42899
5,015
cpp
C++
DarkSpace/GadgetAreaWeapon.cpp
SnipeDragon/darkspace
b6a1fa0a29d3559b158156e7b96935bd0a832ee3
[ "MIT" ]
1
2016-05-22T21:28:29.000Z
2016-05-22T21:28:29.000Z
DarkSpace/GadgetAreaWeapon.cpp
SnipeDragon/darkspace
b6a1fa0a29d3559b158156e7b96935bd0a832ee3
[ "MIT" ]
null
null
null
DarkSpace/GadgetAreaWeapon.cpp
SnipeDragon/darkspace
b6a1fa0a29d3559b158156e7b96935bd0a832ee3
[ "MIT" ]
null
null
null
/* GadgetAreaWeapon.cpp (c)2000 Palestar Inc, Richard Lyle */ #include "GadgetAreaWeapon.h" #include "GameContext.h" static Constant AI_USE_AREA_WEAPON( "AI_USE_AREA_WEAPON", 0.75f ); //---------------------------------------------------------------------------- IMPLEMENT_ABSTRACT_FACTORY( GadgetAreaWeapon, Noun...
27.861111
232
0.619143
SnipeDragon
c207f71a6fd127e7e6284e909bba8ab6efdf6876
283
cpp
C++
src/TextureManager.cpp
ArionasMC/Asteroids
b5a81f833af1615ede2706bfe41baa8b661fa209
[ "Apache-2.0" ]
3
2019-02-23T18:20:24.000Z
2019-02-23T18:30:18.000Z
src/TextureManager.cpp
ArionasMC/Asteroids
b5a81f833af1615ede2706bfe41baa8b661fa209
[ "Apache-2.0" ]
null
null
null
src/TextureManager.cpp
ArionasMC/Asteroids
b5a81f833af1615ede2706bfe41baa8b661fa209
[ "Apache-2.0" ]
null
null
null
#include "TextureManager.h" SDL_Texture* TextureManager::LoadTexture(const char* fileName, SDL_Renderer* ren) { SDL_Surface* tmp = IMG_Load(fileName); SDL_Texture* texture = SDL_CreateTextureFromSurface(ren, tmp); SDL_FreeSurface(tmp); return texture; }
25.727273
84
0.717314
ArionasMC
c209b94f8e83db1255f3296bc6425698edd7cb86
976
cpp
C++
String/is_substring_hash.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
21
2020-10-03T03:57:19.000Z
2022-03-25T22:41:05.000Z
String/is_substring_hash.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
40
2020-10-02T07:02:34.000Z
2021-10-30T16:00:07.000Z
String/is_substring_hash.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
90
2020-10-02T07:06:22.000Z
2022-03-25T22:41:17.000Z
#include<bits/stdc++.h> using namespace std; #define ll long long ll compute_hash(string s){ const int p= 3; const int m= 1e9+9; ll hash_value= 0; ll p_pow= (ll)pow(p,s.length()-1); for(auto c:s){ hash_value= (hash_value+ (c-'a')*p_pow)%m; p_pow= p_pow/p; } return hash_value; } ll rolling_hash(ll H,string p...
19.918367
84
0.597336
ShreyashRoyzada
c20b48bd40a8ae93332191ba4e3bb061a3fa2e7b
929
hpp
C++
lib/SensorNode/SHT30Node.hpp
RobAxt/SmartWeatherStation
5b756f91d6b9c8c10eab6eac1403f2362e91670c
[ "MIT" ]
null
null
null
lib/SensorNode/SHT30Node.hpp
RobAxt/SmartWeatherStation
5b756f91d6b9c8c10eab6eac1403f2362e91670c
[ "MIT" ]
null
null
null
lib/SensorNode/SHT30Node.hpp
RobAxt/SmartWeatherStation
5b756f91d6b9c8c10eab6eac1403f2362e91670c
[ "MIT" ]
null
null
null
#ifndef SHT30Node_hpp #define SHT30Node_hpp #include <Wire.h> #include <SHT3x.h> #include "SensorNode.hpp" class SHT30Node : public SensorNode { public: explicit SHT30Node(const char *id, const char *name, const int i2cAddress = 0x45); ~SHT30Node(); protected: virtual void setup() override; virt...
25.805556
87
0.724435
RobAxt
c20c40dd4339ae0b5bff34aa20c9ac6a9d0d58dc
8,396
cpp
C++
src/Engine/Engine/Shibboleth_Image.cpp
Connway/Shibboleth
23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35
[ "MIT" ]
1
2020-04-06T17:35:47.000Z
2020-04-06T17:35:47.000Z
src/Engine/Engine/Shibboleth_Image.cpp
Connway/Shibboleth
23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35
[ "MIT" ]
null
null
null
src/Engine/Engine/Shibboleth_Image.cpp
Connway/Shibboleth
23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35
[ "MIT" ]
null
null
null
/************************************************************************************ Copyright (C) 2021 by Nicholas LaCroix 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 restrictio...
25.365559
140
0.699738
Connway
c20cca8b430598341fc2947ba45c9dc91f001dc4
26,399
cpp
C++
src/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8u8s32.cpp
Bil17t/mkl-dnn
8910895abc655e8e5d9d54ab91c040b26a28902d
[ "Apache-2.0" ]
6
2020-06-04T06:03:36.000Z
2022-01-27T02:41:49.000Z
src/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8u8s32.cpp
Bil17t/mkl-dnn
8910895abc655e8e5d9d54ab91c040b26a28902d
[ "Apache-2.0" ]
null
null
null
src/cpu/gemm/s8x8s32/jit_avx512_core_gemm_s8u8s32.cpp
Bil17t/mkl-dnn
8910895abc655e8e5d9d54ab91c040b26a28902d
[ "Apache-2.0" ]
3
2021-07-07T09:55:36.000Z
2022-01-12T06:59:55.000Z
/******************************************************************************* * Copyright 2018 Intel Corporation * * 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.o...
32.67203
168
0.502746
Bil17t
c217d399851f509ee29ab5c0ddb0a334b18ea89f
3,645
hpp
C++
libs/xpressive/boost/xpressive/proto/v1_/proto_typeof.hpp
xoxox4dev/madedit
8e0dd08818e040b099251c1eb8833b836cb36c6e
[ "Ruby" ]
22
2015-06-28T17:48:54.000Z
2021-04-16T08:47:26.000Z
libs/xpressive/boost/xpressive/proto/v1_/proto_typeof.hpp
mcanthony/madedit
8e0dd08818e040b099251c1eb8833b836cb36c6e
[ "Ruby" ]
null
null
null
libs/xpressive/boost/xpressive/proto/v1_/proto_typeof.hpp
mcanthony/madedit
8e0dd08818e040b099251c1eb8833b836cb36c6e
[ "Ruby" ]
12
2015-04-25T00:40:35.000Z
2021-11-11T06:39:48.000Z
/////////////////////////////////////////////////////////////////////////////// /// \file proto_typeof.hpp /// Type registrations so that proto1 expression templates can be used together /// with the Boost.Typeof library. // // Copyright 2007 Eric Niebler. Distributed under the Boost // Software License, Version 1.0....
47.960526
88
0.836763
xoxox4dev
c21e828b819fbdc15790471d7b9b16ed3aff16b2
8,475
hpp
C++
src/CellGraph.hpp
iosonofabio/ExpressionMatrix2
a6fc6938fe857fe1bd6a9200071957691295ba3c
[ "MIT" ]
null
null
null
src/CellGraph.hpp
iosonofabio/ExpressionMatrix2
a6fc6938fe857fe1bd6a9200071957691295ba3c
[ "MIT" ]
null
null
null
src/CellGraph.hpp
iosonofabio/ExpressionMatrix2
a6fc6938fe857fe1bd6a9200071957691295ba3c
[ "MIT" ]
null
null
null
// The cell graph is a graph in which each vertex // corresponds to a cell. // An undirected edge is created between two vertices // if the there is good similarity between the // expression vectors of the corresponding cells. #ifndef CZI_EXPRESSION_MATRIX2_CELL_GRAPH_HPP #define CZI_EXPRESSION_MATRIX2_CELL_GRAPH_HPP ...
29.023973
128
0.653923
iosonofabio
c2204f53bccd49ff55d67f901341be870061d5c3
955
hpp
C++
lib/Array/concat.hpp
LiquidFun/WiredLedCube
dc2aac8bccf02d325b31081d6dc52f8ca79bd62a
[ "MIT" ]
1
2021-04-06T09:48:39.000Z
2021-04-06T09:48:39.000Z
lib/Array/concat.hpp
LiquidFun/WiredLedCube
dc2aac8bccf02d325b31081d6dc52f8ca79bd62a
[ "MIT" ]
null
null
null
lib/Array/concat.hpp
LiquidFun/WiredLedCube
dc2aac8bccf02d325b31081d6dc52f8ca79bd62a
[ "MIT" ]
null
null
null
#pragma once #include <stddef.h> #include "Array.hpp" #include "IntegerSequence.hpp" #include "make_array.hpp" #include "MakeIntegerSequence.hpp" namespace T27 { namespace intern { template <class T, int... inds1, int... inds2> constexpr Array<T, sizeof...(inds1) + sizeof...(inds2)> concat_( ...
25.131579
72
0.559162
LiquidFun
c222d086ec30d6d6ac0c7e70eca167724294b61b
31,512
cpp
C++
sdl2_framework/DrawingSurface.cpp
chrisjpurdy/ksp_2d
54f6f31aea7b6228a62168f7963058fa3a9243a2
[ "MIT" ]
2
2022-01-07T11:35:35.000Z
2022-01-09T22:37:06.000Z
sdl2_framework/DrawingSurface.cpp
chrisjpurdy/ksp_2d
54f6f31aea7b6228a62168f7963058fa3a9243a2
[ "MIT" ]
null
null
null
sdl2_framework/DrawingSurface.cpp
chrisjpurdy/ksp_2d
54f6f31aea7b6228a62168f7963058fa3a9243a2
[ "MIT" ]
null
null
null
#include "header.h" #if defined(_MSC_VER) #include <SDL_syswm.h> #endif #include <math.h> #include "BaseEngine.h" #include "DisplayableObject.h" #include "DrawingSurface.h" #include "DrawingFilters.h" #include "FontManager.h" #include "templates.h" /* Template function to swap two values...
36.85614
219
0.652862
chrisjpurdy
c2269d3f254b29964f062a782a979882a83d184e
7,457
cpp
C++
examples/ex7_ssl_server/ex7_ssl_server.cpp
saarbastler/beast_http_server
bd19f1651324a0fb05ddc27fb6799fd371627e64
[ "BSD-2-Clause" ]
null
null
null
examples/ex7_ssl_server/ex7_ssl_server.cpp
saarbastler/beast_http_server
bd19f1651324a0fb05ddc27fb6799fd371627e64
[ "BSD-2-Clause" ]
null
null
null
examples/ex7_ssl_server/ex7_ssl_server.cpp
saarbastler/beast_http_server
bd19f1651324a0fb05ddc27fb6799fd371627e64
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <server.hpp> #include <ssl.hpp> using namespace std; template<class Request> auto make_response(const Request & req, const string & user_body){ boost::beast::http::string_body::value_type body(user_body); auto const body_size = body.size(); boost::beast::http::response<boo...
46.899371
142
0.73488
saarbastler
c2313e39bc1107089d98d69060fe05c8e3cdc0c1
1,906
cpp
C++
Minecraft/Taiga_Biome.cpp
borbrudar/Minecraft_clone
117fbe94390f96e3a6227129de60c08a5cc2ccdc
[ "MIT" ]
null
null
null
Minecraft/Taiga_Biome.cpp
borbrudar/Minecraft_clone
117fbe94390f96e3a6227129de60c08a5cc2ccdc
[ "MIT" ]
null
null
null
Minecraft/Taiga_Biome.cpp
borbrudar/Minecraft_clone
117fbe94390f96e3a6227129de60c08a5cc2ccdc
[ "MIT" ]
null
null
null
#include "Taiga_Biome.h" void Taiga_Biome::drawBiome(Shader shader, Block_Heavy & data, glm::mat4 model) { //draw the trees for (int i = 0; i < trees.size(); i++) { for (int j = 0; j < trees[i].part1.size(); j++) { int x = trees[i].part1[j].x, y = trees[i].part1[j].y, z = trees[i].part1[j].z; model[3][0] = x...
30.741935
136
0.58447
borbrudar
ea4d3d64447cc74008b0b64b8ede39197bee2f21
1,923
cpp
C++
LiveCam/Core/GLSL/VAO.cpp
KanSmith/LiveCam
8b863f55f08cb3ea5090e417c68ad82ded690743
[ "MIT" ]
null
null
null
LiveCam/Core/GLSL/VAO.cpp
KanSmith/LiveCam
8b863f55f08cb3ea5090e417c68ad82ded690743
[ "MIT" ]
null
null
null
LiveCam/Core/GLSL/VAO.cpp
KanSmith/LiveCam
8b863f55f08cb3ea5090e417c68ad82ded690743
[ "MIT" ]
null
null
null
#include <GLSL/VAO.h> namespace gl { #if 0 VAO::VAO() :id(0) { } VAO::~VAO() { id = 0; } bool VAO::setup() { if(id) { LC_ERROR(ERR_GL_VAO_ALREADY_SETUP); return false; } glGenVertexArrays(1, &id); if(!id) { LC_ERROR(ERR_GL_VAO_CANNOT_CREATE); return fa...
19.424242
90
0.609984
KanSmith
ea51aef431a15015a7cc29613f6b088384c01dec
4,489
cpp
C++
core/src/ConfigData.cpp
aschuman/CoBaB
59700463859b267f6e37d5694667e3e4110aa70b
[ "MIT" ]
null
null
null
core/src/ConfigData.cpp
aschuman/CoBaB
59700463859b267f6e37d5694667e3e4110aa70b
[ "MIT" ]
3
2015-11-15T13:24:23.000Z
2016-03-11T12:27:15.000Z
core/src/ConfigData.cpp
aschuman/CoBaB
59700463859b267f6e37d5694667e3e4110aa70b
[ "MIT" ]
3
2015-11-10T07:54:45.000Z
2021-05-11T12:33:12.000Z
#include "ConfigData.h" #include <QTranslator> #include <QApplication> /** * @brief ConfigData::ConfigData Creates the ConfigData object. */ ConfigData::ConfigData() : QSettings("IOSB", "CoBaB"){ Q_INIT_RESOURCE(application); languages.insert("German", QLocale(QLocale::German)); languages.insert("Englis...
44.89
182
0.740699
aschuman
ea54f68fa64e088280e1531c992ec8d53df920c9
1,988
cpp
C++
P4612.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
P4612.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
P4612.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
/* * Author: xiaohei_AWM * Date:5.3 * Mutto: Face to the weakness, expect for the strength. */ #include<cstdio> #include<cstring> #include<algorithm> #include<iostream> #include<cstdlib> #include<ctime> #include<utility> #include<functional> #include<vector> #include<assert.h> using namespace std; #define reg regist...
23.666667
82
0.479376
AndrewWayne
ea5ce77589e9dcc71190384d6405826e9e895524
1,131
cpp
C++
Company-Google/393. UTF-8 Validation/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
1
2021-11-19T19:58:33.000Z
2021-11-19T19:58:33.000Z
Company-Google/393. UTF-8 Validation/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
null
null
null
Company-Google/393. UTF-8 Validation/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
2
2021-11-26T12:47:27.000Z
2022-01-13T16:14:46.000Z
// // main.cpp // 393. UTF-8 Validation // // Created by Jaylen Bian on 7/26/20. // Copyright © 2020 边俊林. All rights reserved. // #include <map> #include <set> #include <queue> #include <string> #include <stack> #include <vector> #include <cstdio> #include <numeric> #include <cstdlib> #include <utility> #include <...
20.563636
55
0.50221
Minecodecraft
ea5ef2d33b7d36eeb530e3e5720301530f805d2e
280
cpp
C++
All_code/57.cpp
jnvshubham7/cpp-programming
7d00f4a3b97b9308e337c5d3547fd3edd47c5e0b
[ "Apache-2.0" ]
1
2021-12-22T12:37:36.000Z
2021-12-22T12:37:36.000Z
All_code/57.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
All_code/57.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); int factorial(int n) { int fact = 1; for (int v = 1; v <= n; v++) { fact = fact * v; } return fact; } return 0; }
14
38
0.517857
jnvshubham7
ea6304a806f2166c33b63ea65a502beb4a699b6c
1,051
cpp
C++
src/utils/ExpressionManager.cpp
amecky/breakout
b580befabd1226c6c8c26550d5e0e0ca841fe67d
[ "MIT" ]
null
null
null
src/utils/ExpressionManager.cpp
amecky/breakout
b580befabd1226c6c8c26550d5e0e0ca841fe67d
[ "MIT" ]
null
null
null
src/utils/ExpressionManager.cpp
amecky/breakout
b580befabd1226c6c8c26550d5e0e0ca841fe67d
[ "MIT" ]
null
null
null
#include "ExpressionManager.h" #include <diesel.h> ExpressionManager::ExpressionManager() { _vmCtx = vm_create_context(); vm_add_variable(_vmCtx, "TIMER", 0.0f); vm_add_variable(_vmCtx, "PI", ds::PI); vm_add_variable(_vmCtx, "TWO_PI", ds::TWO_PI); } ExpressionManager::~ExpressionManager() { vm_destroy_context(_v...
26.275
74
0.725975
amecky
ea6cef86f165de40ad583269f5207fea3ec23482
1,419
cpp
C++
c++/leetcode/0909-Snakes_and_Ladders-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
1
2020-03-02T10:56:22.000Z
2020-03-02T10:56:22.000Z
c++/leetcode/0909-Snakes_and_Ladders-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
c++/leetcode/0909-Snakes_and_Ladders-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
// 909 Snakes and Ladders // https://leetcode.com/problems/snakes-and-ladders // version: 1; create time: 2020-01-12 11:30:15; class Solution { public: int snakesAndLadders(vector<vector<int>>& board) { const int m = board.size(); if (m == 0) return -1; const int n = board.size(); i...
31.533333
81
0.41649
levendlee
ea7525f81d1d57b3a558ed62d3f5d00b2818ae70
2,762
cpp
C++
src/Thread.cpp
TheDSCPL/SSRE_2017-2018_group8
10a74266fbd9fcdb9a2898427096d80f6430b75e
[ "MIT" ]
null
null
null
src/Thread.cpp
TheDSCPL/SSRE_2017-2018_group8
10a74266fbd9fcdb9a2898427096d80f6430b75e
[ "MIT" ]
null
null
null
src/Thread.cpp
TheDSCPL/SSRE_2017-2018_group8
10a74266fbd9fcdb9a2898427096d80f6430b75e
[ "MIT" ]
null
null
null
#include <stdlib.h> #include <chrono> #include <thread> #include <iostream> #include <sys/time.h> #include <string.h> #include "../headers/Thread.hpp" using namespace std; Mutex::Mutex() : mutex(PTHREAD_MUTEX_INITIALIZER) {} void Mutex::lock() { pthread_mutex_lock(&mutex); } void Mutex::unlock() { pthread_m...
22.826446
107
0.636495
TheDSCPL
ea7d8672f124302266848020fc28e0ef2e9c3c59
8,997
cpp
C++
ScriptHookDotNet/SettingsFile.cpp
HazardX/gta4_scripthookdotnet
927b2830952664b63415234541a6c83592e53679
[ "MIT" ]
3
2021-11-14T20:59:58.000Z
2021-12-16T16:41:31.000Z
ScriptHookDotNet/SettingsFile.cpp
HazardX/gta4_scripthookdotnet
927b2830952664b63415234541a6c83592e53679
[ "MIT" ]
2
2021-11-29T14:41:23.000Z
2021-11-30T13:13:51.000Z
ScriptHookDotNet/SettingsFile.cpp
HazardX/gta4_scripthookdotnet
927b2830952664b63415234541a6c83592e53679
[ "MIT" ]
3
2021-11-21T12:41:55.000Z
2021-12-22T16:17:52.000Z
/* * Copyright (c) 2009-2011 Hazard (hazard_x@gmx.net / twitter.com/HazardX) * * 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 * ...
35.702381
143
0.691342
HazardX
ea87fcf473d7ffc76b62a509b1dc7059f92b7edf
640
cpp
C++
competitive programming/codeforces/486A - Calculating Function.cpp
sureshmangs/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
16
2020-06-02T19:22:45.000Z
2022-02-05T10:35:28.000Z
competitive programming/codeforces/486A - Calculating Function.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
null
null
null
competitive programming/codeforces/486A - Calculating Function.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
2
2020-08-27T17:40:06.000Z
2022-02-05T10:33:52.000Z
/* For a positive integer n let's define a function f: f(n)?=??-?1?+?2?-?3?+?..?+?(?-?1)nn Your task is to calculate f(n) for a given integer n. Input The single line contains the positive integer n (1?=?n?=?1015). Output Print f(n) in a single line. Examples inputCopy 4 outputCopy 2 inputCopy 5 outputCopy -3 Note...
13.061224
63
0.551563
sureshmangs
ea88234b0e97b18027441b56582f5a64b831d84b
295
cpp
C++
CPP files/win.cpp
jjang32/RPS
2ce861f461f440ac9fadfbb7a1d3676d3c8a9f42
[ "MIT" ]
null
null
null
CPP files/win.cpp
jjang32/RPS
2ce861f461f440ac9fadfbb7a1d3676d3c8a9f42
[ "MIT" ]
null
null
null
CPP files/win.cpp
jjang32/RPS
2ce861f461f440ac9fadfbb7a1d3676d3c8a9f42
[ "MIT" ]
null
null
null
#include "win.h" #include "ui_win.h" #include "mainwindow.h" Win::Win(QWidget *parent) : QDialog(parent), ui(new Ui::Win) { ui->setupUi(this); } Win::~Win() { delete ui; } void Win::on_retry_clicked() { MainWindow *mainwindow = new MainWindow(); mainwindow->show(); }
13.409091
46
0.616949
jjang32
ea8d52382b0b5936a612770af237ad24a8b2b2be
8,899
cpp
C++
src/dpp/dispatcher.cpp
luizstudios/DPP
ea546cd10a06a23b62d1667c26a909cd59ca6100
[ "Apache-2.0" ]
null
null
null
src/dpp/dispatcher.cpp
luizstudios/DPP
ea546cd10a06a23b62d1667c26a909cd59ca6100
[ "Apache-2.0" ]
null
null
null
src/dpp/dispatcher.cpp
luizstudios/DPP
ea546cd10a06a23b62d1667c26a909cd59ca6100
[ "Apache-2.0" ]
1
2021-09-26T18:36:18.000Z
2021-09-26T18:36:18.000Z
/************************************************************************************ * * D++, A Lightweight C++ library for Discord * * Copyright 2021 Craig Edwards and D++ contributors * (https://github.com/brainboxdotcc/DPP/graphs/contributors) * * Licensed under the Apache License, Version 2.0 (the "License...
32.126354
144
0.766041
luizstudios
ea8e774c6d9ee684545b00450bf4bca5662de336
2,010
hpp
C++
include/vcd/test/header.hpp
qedalab/vcd_assert
40da307e60600fc4a814d4bba4679001f49f4375
[ "BSD-2-Clause" ]
1
2019-04-30T17:56:23.000Z
2019-04-30T17:56:23.000Z
include/vcd/test/header.hpp
qedalab/vcd_assert
40da307e60600fc4a814d4bba4679001f49f4375
[ "BSD-2-Clause" ]
null
null
null
include/vcd/test/header.hpp
qedalab/vcd_assert
40da307e60600fc4a814d4bba4679001f49f4375
[ "BSD-2-Clause" ]
4
2018-08-01T08:32:00.000Z
2019-12-18T06:34:33.000Z
// ============================================================================ // Copyright 2018 Paul le Roux and Calvin Maree // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code ...
40.2
79
0.706965
qedalab
ea95e1ac0c66d504220f720ff6bdbb4f53d8f4e0
1,290
cpp
C++
DFS/RangeSumBST.cpp
karan2808/Cpp
595f536e33505c5fd079b709d6370bf888043fb3
[ "MIT" ]
1
2021-01-31T03:43:59.000Z
2021-01-31T03:43:59.000Z
DFS/RangeSumBST.cpp
karan2808/Cpp
595f536e33505c5fd079b709d6370bf888043fb3
[ "MIT" ]
null
null
null
DFS/RangeSumBST.cpp
karan2808/Cpp
595f536e33505c5fd079b709d6370bf888043fb3
[ "MIT" ]
1
2021-01-25T14:27:08.000Z
2021-01-25T14:27:08.000Z
#include <iostream> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode() { val = 0; left = nullptr; right = nullptr; } TreeNode(int x) { val = x; left = nullptr; right = nullptr; } TreeNode(i...
22.631579
100
0.542636
karan2808
ea9635dcef6773bb10aa9d56672b48364e959e6e
939
cpp
C++
old/src/riscv/Value.cpp
ClasSun9/riscv-dynamic-taint-analysis
8a96f5ea8d07580315253dc074f60955fc633da9
[ "MIT" ]
null
null
null
old/src/riscv/Value.cpp
ClasSun9/riscv-dynamic-taint-analysis
8a96f5ea8d07580315253dc074f60955fc633da9
[ "MIT" ]
null
null
null
old/src/riscv/Value.cpp
ClasSun9/riscv-dynamic-taint-analysis
8a96f5ea8d07580315253dc074f60955fc633da9
[ "MIT" ]
null
null
null
# include "Value.hpp" namespace riscv { int8_t SignedValue::As8() { return static_cast<int8_t>(_value); } int16_t SignedValue::As16() { return static_cast<int16_t>(_value); } int32_t SignedValue::As32() { return static_cast<int32_t>(_value); } int64_t SignedValue::As64() { return _value; } SignedV...
18.411765
64
0.7082
ClasSun9
ea9d4310af354771c1c8338250f75c367b6b6e32
33,490
hpp
C++
include/lfd/GenericDescriptor.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
1
2020-06-12T13:30:56.000Z
2020-06-12T13:30:56.000Z
include/lfd/GenericDescriptor.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
include/lfd/GenericDescriptor.hpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
/*M/////////////////////////////////////////////////////////////////////////////////////// // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
40.742092
212
0.478173
waterben
eaa157c6d083c996a9d2b3fc57a64871f43db283
15,614
cpp
C++
projects/atLib/source/IO/Mesh/atFBXReader.cpp
mbatc/atLib
7e3a69515f504a05a312d234291f02863e291631
[ "MIT" ]
1
2019-09-17T18:02:16.000Z
2019-09-17T18:02:16.000Z
projects/atLib/source/IO/Mesh/atFBXReader.cpp
mbatc/atLib
7e3a69515f504a05a312d234291f02863e291631
[ "MIT" ]
null
null
null
projects/atLib/source/IO/Mesh/atFBXReader.cpp
mbatc/atLib
7e3a69515f504a05a312d234291f02863e291631
[ "MIT" ]
null
null
null
#include "atFBXParser.h" #include "atFBXCommon.h" #include "atHashMap.h" struct _atFbxParseContext { atMesh *pMesh; // Node ptr to bone index atHashMap<int64_t, int64_t> boneLookup; int64_t poseID = -1; // ID of the active pos }; FbxAMatrix _GetGeometry(FbxNode *pNode) { FbxDouble3 pivotTrans = pNode->GetG...
35.486364
207
0.723389
mbatc
eaa35451e1076cf3995c60c038e843d3042dd589
5,278
inl
C++
TwitchQt/twitchvideoreply.inl
jkbz64/TwitchQt
9bfddd9b48eea9eb25ae5f05239c0739c0bdfb12
[ "MIT" ]
9
2019-09-16T22:28:43.000Z
2022-03-06T22:57:56.000Z
TwitchQt/twitchvideoreply.inl
jkbz64/TwitchQt
9bfddd9b48eea9eb25ae5f05239c0739c0bdfb12
[ "MIT" ]
5
2020-10-11T15:01:09.000Z
2021-10-11T05:39:28.000Z
TwitchQt/twitchvideoreply.inl
jkbz64/TwitchQt
9bfddd9b48eea9eb25ae5f05239c0739c0bdfb12
[ "MIT" ]
2
2020-10-11T14:38:24.000Z
2020-10-11T14:45:34.000Z
inline void VideoReply::parseData(const JSON& json) { if (json.find("data") != json.end()) { const auto& data = json["data"]; if (!data.empty()) { const auto& video = data.front(); QList<MutedSegment> mutedSegmentsList; if (video.find("muted_segments") != video....
41.559055
82
0.448844
jkbz64
eaa463011f86ef63641021cc9893c2f867c3b735
140
cpp
C++
synthesizer/lang/macro/lowercase.cpp
SleepyToDeath/NetQRE
0176a31afa45faa4877974a4a0575a4e60534090
[ "MIT" ]
2
2021-03-30T15:25:44.000Z
2021-05-14T07:22:25.000Z
synthesizer/lang/macro/lowercase.cpp
SleepyToDeath/NetQRE
0176a31afa45faa4877974a4a0575a4e60534090
[ "MIT" ]
null
null
null
synthesizer/lang/macro/lowercase.cpp
SleepyToDeath/NetQRE
0176a31afa45faa4877974a4a0575a4e60534090
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { for (char c='a'; c<='z'; c++) cout<<"[ \""<<c<<"\" ], "; cout<<"[ \"\\c\" ]"; }
12.727273
30
0.435714
SleepyToDeath
eaa70dd8d8b82f080b7e5fdcd4f02e19749a841e
10,254
cpp
C++
Framework/Util/Thread.cpp
dengwenyi88/Deferred_Lighting
b45b6590150a3119b0c2365f4795d93b3b4f0748
[ "MIT" ]
110
2017-06-23T17:12:28.000Z
2022-02-22T19:11:38.000Z
RunTest/Framework3/Util/Thread.cpp
dtrebilco/ECSAtto
86a04f0bdc521c79f758df94250c1898c39213c8
[ "MIT" ]
null
null
null
RunTest/Framework3/Util/Thread.cpp
dtrebilco/ECSAtto
86a04f0bdc521c79f758df94250c1898c39213c8
[ "MIT" ]
3
2018-02-12T00:16:18.000Z
2018-02-18T11:12:35.000Z
/* * * * * * * * * * * * * Author's note * * * * * * * * * * * *\ * _ _ _ _ _ _ _ _ _ _ _ _ * * |_| |_| |_| |_| |_|_ _|_| |_| |_| _|_|_|_|_| * * |_|_ _ _|_| |_| |_| |_|_|_|_|_| |_| |_| |_|_ _ _ * * |_|_|_|_|_| |_| |_| |_| |_| |_| |_| |_| |_...
25.444169
108
0.676712
dengwenyi88
eaa7ce23241ef9d19e386ea6aaeb0caa567a66d4
231
cpp
C++
test/llvm_test_code/call_graphs/global_ctor_dtor_4.cpp
ga0/phasar
b9ecb9a1f0353501376021fab67057a713fa70dc
[ "MIT" ]
581
2018-06-10T10:37:55.000Z
2022-03-30T14:56:53.000Z
test/llvm_test_code/call_graphs/global_ctor_dtor_4.cpp
meret-boe/phasar
2b394d5611b107e4fd3d8eec37f26abca8ef1e9a
[ "MIT" ]
172
2018-06-13T12:33:26.000Z
2022-03-26T07:21:41.000Z
test/llvm_test_code/call_graphs/global_ctor_dtor_4.cpp
meret-boe/phasar
2b394d5611b107e4fd3d8eec37f26abca8ef1e9a
[ "MIT" ]
137
2018-06-10T10:31:14.000Z
2022-03-06T11:53:56.000Z
__attribute__((constructor)) void before_main(); __attribute__((destructor)) void after_main(); void before_main() {} void after_main() {} struct S { int data; S(int data) : data(data) {} ~S() {} }; S s(0); int main() {}
14.4375
48
0.632035
ga0
eaabbda163a454e1416e67830d8336efb40a3bad
1,476
cpp
C++
VC2010Samples/MFC/Visual C++ 2008 Feature Pack/RollupPane/InfoBar.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2010Samples/MFC/Visual C++ 2008 Feature Pack/RollupPane/InfoBar.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2010Samples/MFC/Visual C++ 2008 Feature Pack/RollupPane/InfoBar.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
// This is a part of the Microsoft Foundation Classes C++ library. // Copyright (C) Microsoft Corporation // All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provided with the library. // See these sourc...
23.428571
77
0.667344
alonmm
eaaee55d560d16a2957b2c5fb53f02afae059dec
2,406
cpp
C++
src/zmqConsumerPoll.cpp
tompatman/zmqplus
efea491f2e9ca8f531ec7e102564fb56b1d62e0f
[ "MIT" ]
null
null
null
src/zmqConsumerPoll.cpp
tompatman/zmqplus
efea491f2e9ca8f531ec7e102564fb56b1d62e0f
[ "MIT" ]
null
null
null
src/zmqConsumerPoll.cpp
tompatman/zmqplus
efea491f2e9ca8f531ec7e102564fb56b1d62e0f
[ "MIT" ]
null
null
null
/* * zmqConsumerPoll.cpp * * Created on: May 31, 2013 * Author: service */ #include "../include/zmqConsumerPoll.h" using std::string; zmqConsumerPoll::zmqConsumerPoll(ppcLogger *log, uint num_consumers_to_poll, int timeout_ms) : _log(log) , _num_consumers(num_consumers_to_poll) , _timeout_ms(timeout_ms) {...
23.588235
112
0.620116
tompatman
eaaf2f4745d98ff1b2d861e75db041301a3a0122
2,341
cpp
C++
midterm_mbghazi.cpp
mbghazi/Data-Structures
4703488686d2a78267fcd5a6adcbeda36ac10703
[ "MIT" ]
null
null
null
midterm_mbghazi.cpp
mbghazi/Data-Structures
4703488686d2a78267fcd5a6adcbeda36ac10703
[ "MIT" ]
null
null
null
midterm_mbghazi.cpp
mbghazi/Data-Structures
4703488686d2a78267fcd5a6adcbeda36ac10703
[ "MIT" ]
null
null
null
/* ** PROGRAM: Matrix Multiply ** ** PURPOSE: This is a simple matrix multiply program. ** It will compute the product ** ** C = A * B ** ** A and B are set to constant matrices so we ** can make a quick test of the multiplication. ** ** USAGE: Right now, I hardwire t...
22.509615
86
0.564289
mbghazi
eab068770436f9db993275b1ce35ad8d8dba1c8d
1,444
cc
C++
src/boson/test/queues_weakrb.cc
duckie/boson
f3eb787f385c86b7735fcd7bc0ac0dc6a8fb7b1a
[ "MIT" ]
174
2016-10-10T12:47:01.000Z
2022-03-09T16:06:59.000Z
src/boson/test/queues_weakrb.cc
duckie/boson
f3eb787f385c86b7735fcd7bc0ac0dc6a8fb7b1a
[ "MIT" ]
5
2017-02-01T21:30:14.000Z
2018-09-09T10:02:00.000Z
src/boson/test/queues_weakrb.cc
duckie/boson
f3eb787f385c86b7735fcd7bc0ac0dc6a8fb7b1a
[ "MIT" ]
13
2016-10-10T12:19:14.000Z
2021-12-04T08:23:26.000Z
#include <iostream> #include <limits> #include <random> #include <thread> #include "boson/queues/weakrb.h" #include "catch.hpp" TEST_CASE("Queues - WeakRB - serial random integers", "[queues][weakrb]") { constexpr size_t const sample_size = 1e4; std::random_device seed; std::mt19937_64 generator{seed()}; std:...
25.333333
83
0.605956
duckie
eab334692c7e899abd7ef97fc35637752d552cba
64,611
cpp
C++
src/slg/film/film.cpp
DavidBluecame/LuxRays
be0f5228b8b65268278a6c6a1c98564ebdc27c05
[ "Apache-2.0" ]
null
null
null
src/slg/film/film.cpp
DavidBluecame/LuxRays
be0f5228b8b65268278a6c6a1c98564ebdc27c05
[ "Apache-2.0" ]
null
null
null
src/slg/film/film.cpp
DavidBluecame/LuxRays
be0f5228b8b65268278a6c6a1c98564ebdc27c05
[ "Apache-2.0" ]
null
null
null
/*************************************************************************** * Copyright 1998-2015 by authors (see AUTHORS.txt) * * * * This file is part of LuxRender. * * ...
33.339009
136
0.693148
DavidBluecame
eab95df009eeed45149bf914d5a1f84f0370f35c
934
cpp
C++
src/071.simplify_path/code.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
1
2016-07-02T17:44:10.000Z
2016-07-02T17:44:10.000Z
src/071.simplify_path/code.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
null
null
null
src/071.simplify_path/code.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
1
2019-12-21T04:57:15.000Z
2019-12-21T04:57:15.000Z
class Solution { public: string simplifyPath(string path) { stack<string> s; string ans; int len = path.length(); if (len == 0) return ans; int start, end; for (int i = 0; i < len; i++) { if (i > 0 && path[i] != '/' && path[i - 1] == '/') { ...
28.30303
92
0.313704
cloudzfy
eab9870e3fd5d0d35a46824b7c7a469cf4a9f334
362
cpp
C++
array/Kth Row of Pascal's Triangle.cpp
1aman1/practice-InterviewBit
cafb841bd57f74f8fc3690a7f7830e6ca9fda916
[ "MIT" ]
1
2019-08-14T05:46:57.000Z
2019-08-14T05:46:57.000Z
array/Kth Row of Pascal's Triangle.cpp
1aman1/practice
cafb841bd57f74f8fc3690a7f7830e6ca9fda916
[ "MIT" ]
null
null
null
array/Kth Row of Pascal's Triangle.cpp
1aman1/practice
cafb841bd57f74f8fc3690a7f7830e6ca9fda916
[ "MIT" ]
null
null
null
/* A0-> 1 A1-> 1 1 A2-> 1 2 1 A3-> 1 3 3 1 for A, pascal triangle will have A+1 elements */ vector<int> Solution::getRow(int A) { vector<int> result; int value = 1, index; for( index = 0; index <= A ; index++){ result.push_back(value); value = value * (A - index)/(i...
21.294118
52
0.508287
1aman1
eabef1dd8733d3b75f83cffbbeb0509d369503f5
103
cpp
C++
addresslab.cpp
CaQtiml/CaQ-s-NOOB-LAB
a6cd2a730f2b2e6a834b1b39521052c5125150b5
[ "MIT" ]
null
null
null
addresslab.cpp
CaQtiml/CaQ-s-NOOB-LAB
a6cd2a730f2b2e6a834b1b39521052c5125150b5
[ "MIT" ]
null
null
null
addresslab.cpp
CaQtiml/CaQ-s-NOOB-LAB
a6cd2a730f2b2e6a834b1b39521052c5125150b5
[ "MIT" ]
null
null
null
#include "stdio.h" int main() { int b=8; int &a=b; printf("%d",a); b+=2; printf("%d",a); }
11.444444
19
0.466019
CaQtiml
eac4248c774fa43b3fac2efa59431b406736dfbb
8,112
cpp
C++
aws-cpp-sdk-securityhub/source/model/AwsEc2VpcEndpointServiceDetails.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-securityhub/source/model/AwsEc2VpcEndpointServiceDetails.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-securityhub/source/model/AwsEc2VpcEndpointServiceDetails.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/securityhub/model/AwsEc2VpcEndpointServiceDetails.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; n...
31.937008
158
0.784147
perfectrecall
eac6d42b898df62950c863b4f09fa22c958e6892
1,974
cpp
C++
PnC/DracoPnC/DracoStateMachine/Initialize.cpp
BharathMasetty/PnC
3800bd7e3c5dd5ffa00e6a5f09d48d21c405206f
[ "MIT" ]
null
null
null
PnC/DracoPnC/DracoStateMachine/Initialize.cpp
BharathMasetty/PnC
3800bd7e3c5dd5ffa00e6a5f09d48d21c405206f
[ "MIT" ]
null
null
null
PnC/DracoPnC/DracoStateMachine/Initialize.cpp
BharathMasetty/PnC
3800bd7e3c5dd5ffa00e6a5f09d48d21c405206f
[ "MIT" ]
null
null
null
#include <PnC/DracoPnC/DracoCtrlArchitecture/DracoCtrlArchitecture.hpp> #include <PnC/DracoPnC/DracoStateMachine/Initialize.hpp> Initialize::Initialize(const StateIdentifier state_identifier_in, DracoControlArchitecture* _ctrl_arch, RobotSystem* _robot) : StateMachine(...
31.333333
78
0.644883
BharathMasetty
ead3d66d94475c5d960d55fe1aeb92b8886dbad6
127
hpp
C++
KGE/Core/Audio/ComponentAudioClip.hpp
jkeywo/KGE
5ad2619a4e205dd549cdf638854db356a80694ea
[ "MIT" ]
1
2016-08-10T14:03:29.000Z
2016-08-10T14:03:29.000Z
KGE/Core/Audio/ComponentAudioClip.hpp
jkeywo/KGE
5ad2619a4e205dd549cdf638854db356a80694ea
[ "MIT" ]
null
null
null
KGE/Core/Audio/ComponentAudioClip.hpp
jkeywo/KGE
5ad2619a4e205dd549cdf638854db356a80694ea
[ "MIT" ]
null
null
null
#pragma once #include "Core/Components/Component.hpp" namespace KGE { class ComponentAudioClip : public Component { }; };
11.545455
44
0.732283
jkeywo
ead6a6563593a425e9fc1fd361c2c6fc2abc5b05
1,404
cpp
C++
thirdparty/sfs2x/Bitswarm/BBox/BBEvent.cpp
godot-addons/godot-sfs2x
a8d52aa9d548f6d45bbb64bfdaacab0df10e67c1
[ "MIT" ]
2
2020-05-14T07:48:32.000Z
2021-02-03T14:58:11.000Z
thirdparty/sfs2x/Bitswarm/BBox/BBEvent.cpp
godot-addons/godot-sfs2x
a8d52aa9d548f6d45bbb64bfdaacab0df10e67c1
[ "MIT" ]
1
2020-05-28T16:39:20.000Z
2020-05-28T16:39:20.000Z
thirdparty/sfs2x/Bitswarm/BBox/BBEvent.cpp
godot-addons/godot-sfs2x
a8d52aa9d548f6d45bbb64bfdaacab0df10e67c1
[ "MIT" ]
2
2018-07-07T20:15:00.000Z
2018-10-26T05:18:30.000Z
// =================================================================== // // Description // Contains the implementation of BBEvent // // Revision history // Date Description // 30-Nov-2012 First version // // =================================================================== #include "BBEvent.h" namespace Sfs...
31.909091
117
0.504274
godot-addons
ead740e181fb132ccf2430f21f427346276b1b97
1,883
hpp
C++
include/IStreamSocket.hpp
lordio/insanity
7dfbf398fe08968f40a32280bf2b16cca2b476a1
[ "MIT" ]
1
2015-02-05T10:41:14.000Z
2015-02-05T10:41:14.000Z
include/IStreamSocket.hpp
lordio/insanity
7dfbf398fe08968f40a32280bf2b16cca2b476a1
[ "MIT" ]
1
2015-02-04T20:47:52.000Z
2015-02-05T07:43:05.000Z
include/IStreamSocket.hpp
lordio/insanity
7dfbf398fe08968f40a32280bf2b16cca2b476a1
[ "MIT" ]
null
null
null
#ifndef INSANITY_INTERFACE_STREAM_SOCKET #define INSANITY_INTERFACE_STREAM_SOCKET #include "Constants.hpp" #include "IObject.hpp" namespace Insanity { class IByteArray; class INSANITY_API IStreamSocket : public virtual IObject { public: //================================================= //Create a new Strea...
34.236364
76
0.478492
lordio
eaeaee7f2c260beb4af190c606e353fb56f190f5
1,356
cpp
C++
IndependentSet.cpp
manoelstilpen/clique_problem
bf1c9711128b9173301d9ff4d1ad2f837f7f523e
[ "MIT" ]
null
null
null
IndependentSet.cpp
manoelstilpen/clique_problem
bf1c9711128b9173301d9ff4d1ad2f837f7f523e
[ "MIT" ]
null
null
null
IndependentSet.cpp
manoelstilpen/clique_problem
bf1c9711128b9173301d9ff4d1ad2f837f7f523e
[ "MIT" ]
1
2019-07-02T13:55:23.000Z
2019-07-02T13:55:23.000Z
#include "IndependentSet.hpp" IndependentSet::IndependentSet(){ definedGraph = false; } IndependentSet::IndependentSet(Graph _graph){ setGraph(_graph); } int IndependentSet::searchLargestIndependentSet(){ for(int k=0 ; k<graph.getNVertex() ; k++){ vector<int> vertex_list(graph.getNVertex()); ...
22.229508
85
0.558997
manoelstilpen
eaf0865ae2f420e0b3dd47bcee0fa3c845fbd082
953
cpp
C++
Ruminate/src/HelperFiles/a_funcs.cpp
Riku32/Ruminate
0855384c2abb24f2552688561ff90bd555ef3c07
[ "MIT" ]
null
null
null
Ruminate/src/HelperFiles/a_funcs.cpp
Riku32/Ruminate
0855384c2abb24f2552688561ff90bd555ef3c07
[ "MIT" ]
null
null
null
Ruminate/src/HelperFiles/a_funcs.cpp
Riku32/Ruminate
0855384c2abb24f2552688561ff90bd555ef3c07
[ "MIT" ]
null
null
null
#include "HelperFiles/a_funcs.hpp" //relu inline float Relu(float x) { return (x > 0) * x; } inline float ReluPrime(float x) { return x > 0; } //leaky relu inline float ReluLeaky(float x) { if (x < 0) { return x * A; } else { return x; } } ...
12.878378
66
0.499475
Riku32
eaf608c4845378c97f1a955f5533efa1e5c2b962
8,845
cpp
C++
src/corder.cpp
Cetus-K/corder
cd635c3bf49f578952d65393270a9a980841299e
[ "MIT" ]
null
null
null
src/corder.cpp
Cetus-K/corder
cd635c3bf49f578952d65393270a9a980841299e
[ "MIT" ]
null
null
null
src/corder.cpp
Cetus-K/corder
cd635c3bf49f578952d65393270a9a980841299e
[ "MIT" ]
null
null
null
#include "corder.h" // corder destructor corder::~corder() { vector < int > ().swap(l); vector < int > ().swap(item); vector < int > ().swap(sitem); vector < vector < int > > ().swap(stypeindex); vector < vector < int > > ().swap(stypelist); vector < string > ().swap(mode); vector < string > ().swap(type); vec...
28.905229
136
0.5645
Cetus-K
46bf4a0966c2e91a134128a667d39e6c9919746f
8,978
cpp
C++
src/terark/io/MemStream.cpp
rockeet/terark-zip
3235373d04b7cf5d584259111b3a057c45cc1708
[ "BSD-3-Clause" ]
44
2020-12-21T05:14:38.000Z
2022-03-15T11:27:32.000Z
src/terark/io/MemStream.cpp
rockeet/terark-zip
3235373d04b7cf5d584259111b3a057c45cc1708
[ "BSD-3-Clause" ]
2
2020-12-28T10:42:03.000Z
2021-05-21T07:22:47.000Z
src/terark/io/MemStream.cpp
rockeet/terark-zip
3235373d04b7cf5d584259111b3a057c45cc1708
[ "BSD-3-Clause" ]
21
2020-12-22T09:40:16.000Z
2021-12-07T18:16:00.000Z
/* vim: set tabstop=4 : */ #include "MemStream.hpp" #include <stdlib.h> #include <algorithm> #include <stdexcept> #include <typeinfo> #include <errno.h> #if defined(_MSC_VER) # include <intrin.h> #pragma intrinsic(_BitScanReverse) //#pragma intrinsic(_BitScanReverse64) #endif #include <boost/predef/other/endian.h> #...
21.124706
102
0.631989
rockeet
46c7a76985f5d3f9668922bd594d87318ead7fe1
1,040
cpp
C++
AtCoder/abc161/E.cpp
noobie7/Codes
4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4
[ "MIT" ]
2
2021-09-14T15:57:24.000Z
2022-03-18T14:11:04.000Z
AtCoder/abc161/E.cpp
noobie7/Codes
4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4
[ "MIT" ]
null
null
null
AtCoder/abc161/E.cpp
noobie7/Codes
4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4
[ "MIT" ]
null
null
null
/* "Do I really belong in this game I ponder, I just wanna play my part." - Guts over fear, Eminem */ #pragma GCC optimize ("O3") #pragma GCC target ("sse4") #include<bits/stdc++.h> using namespace std; typedef long long int ll; #define ff first #define Shazam ios_base::sync_with_stdio(false); cin.tie(NULL); cout.ti...
29.714286
81
0.575962
noobie7
46cdd8004bd7e3f2911eb9073495f88913ee36c7
2,051
cpp
C++
LeetCode/Hash/LongestSubstringWithoutRepeatingCharacters_f.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
3
2021-07-26T15:58:45.000Z
2021-09-08T14:55:11.000Z
LeetCode/Hash/LongestSubstringWithoutRepeatingCharacters_f.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
LeetCode/Hash/LongestSubstringWithoutRepeatingCharacters_f.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
2
2021-05-31T11:27:59.000Z
2021-10-03T13:26:00.000Z
/* * LeetCode 3 Longest Substring Without Repeating Characters * Medium * Shuo Feng * 2021.9.15 */ /* * Solution 1: * Begin with a starting point and check characters after, update a set and record the maximum size. * When meet a repeating character, remove the previous point in set till there have not re...
32.046875
130
0.387128
a4org
46cf676f19bb9b2850daf5c31dd6fa692a4b68ff
2,789
cpp
C++
sources/Page.cpp
khsabrina/notebook-b
5ab09040f7b3658314239148a54a45747a918b22
[ "MIT" ]
null
null
null
sources/Page.cpp
khsabrina/notebook-b
5ab09040f7b3658314239148a54a45747a918b22
[ "MIT" ]
null
null
null
sources/Page.cpp
khsabrina/notebook-b
5ab09040f7b3658314239148a54a45747a918b22
[ "MIT" ]
null
null
null
#include "Row.hpp" #include "Page.hpp" using namespace std; #include <iostream> #include <iterator> #include <map> const int LENGHT_ROW=100; Page::Page(){ } void Page::add(int col,int row,Direction dir, string str){ if(dir == Direction::Horizontal){ int size = str.size(); if (col + size > LENGHT_RO...
24.901786
64
0.453926
khsabrina
46d9f66e3002849d353f2a3c08eb1ff530d8bd2a
334
hpp
C++
include/Btk/impl/mixer.hpp
BusyStudent/Btk
27b23aa77e4fbcc48bdfe566ce7cae46183c289c
[ "MIT" ]
2
2021-06-19T08:21:38.000Z
2021-08-15T21:37:30.000Z
include/Btk/impl/mixer.hpp
BusyStudent/Btk
27b23aa77e4fbcc48bdfe566ce7cae46183c289c
[ "MIT" ]
null
null
null
include/Btk/impl/mixer.hpp
BusyStudent/Btk
27b23aa77e4fbcc48bdfe566ce7cae46183c289c
[ "MIT" ]
1
2021-04-03T14:27:39.000Z
2021-04-03T14:27:39.000Z
#if !defined(_BTK_IMPL_MIXER) #define _BTK_IMPL_MIXER //Implment for mixer #include <SDL2/SDL_audio.h> #include <SDL2/SDL_error.h> #include <SDL2/SDL_rwops.h> #include "../mixer.hpp" #include "../rwops.hpp" #include "../function.hpp" #include "atomic.hpp" #include <vector> #include <mutex> #include <list> #endif // _B...
20.875
29
0.730539
BusyStudent
46ef9733080898aed1ced4a6f987e79f1a761388
3,766
cpp
C++
src/network/socket.cpp
leezhenghui/Mushroom
8aed2bdd80453d856145925d067bef5ed9d10ee0
[ "BSD-3-Clause" ]
351
2016-10-12T14:06:09.000Z
2022-03-24T14:53:54.000Z
src/network/socket.cpp
leezhenghui/Mushroom
8aed2bdd80453d856145925d067bef5ed9d10ee0
[ "BSD-3-Clause" ]
7
2017-03-07T01:49:16.000Z
2018-07-27T08:51:54.000Z
src/network/socket.cpp
UncP/Mushroom
8aed2bdd80453d856145925d067bef5ed9d10ee0
[ "BSD-3-Clause" ]
62
2016-10-31T12:46:45.000Z
2021-12-28T11:25:26.000Z
/** * > Author: UncP * > Github: www.github.com/UncP/Mushroom * > License: BSD-3 * > Time: 2017-04-23 10:23:53 **/ #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> #include <fcntl.h> #include <cstring> #include <cassert> #include <cerrno> #includ...
20.467391
78
0.648168
leezhenghui
46f35ad0d1bfa320692ae6d13de0007a229878f3
130
cpp
C++
nano/src/nano/nano.cpp
lyLoveSharon/nano
aa768a241a4ea282f83ccd088561a5eefd59d342
[ "Apache-2.0" ]
null
null
null
nano/src/nano/nano.cpp
lyLoveSharon/nano
aa768a241a4ea282f83ccd088561a5eefd59d342
[ "Apache-2.0" ]
null
null
null
nano/src/nano/nano.cpp
lyLoveSharon/nano
aa768a241a4ea282f83ccd088561a5eefd59d342
[ "Apache-2.0" ]
null
null
null
#include "nano/nano.h" const char *nano_version() { return "0.0.1"; } const char *nano_module_name() { return "nano"; }
10.833333
30
0.623077
lyLoveSharon
46f7ea9131f1e0f8f0ac7885da9e48173eabfb30
1,208
cpp
C++
ModeChoice/Household_List.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
ModeChoice/Household_List.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
ModeChoice/Household_List.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Household_List.cpp - read the household list file //********************************************************* #include "ModeChoice.hpp" #include "Utility.hpp" //--------------------------------------------------------- // Household_List //---------------...
24.16
96
0.508278
kravitz
46fc87995f5fde8b171405aa8a3901dc788264c8
1,186
cpp
C++
SRC/2018ICPC/Web_XuZhou/H.cpp
YouDad/ACM
ac26e0b360267943af32692629d6c34e739ee70d
[ "MIT" ]
2
2018-07-27T08:09:48.000Z
2018-09-26T16:36:37.000Z
SRC/2018ICPC/Web_XuZhou/H.cpp
YouDad/ACM
ac26e0b360267943af32692629d6c34e739ee70d
[ "MIT" ]
null
null
null
SRC/2018ICPC/Web_XuZhou/H.cpp
YouDad/ACM
ac26e0b360267943af32692629d6c34e739ee70d
[ "MIT" ]
null
null
null
// https://nanti.jisuanke.com/t/31460 #include<stdio.h> #include<string.h> typedef long long ll; const int maxn=100005; ll arr[(1<<18)+2],iarr[(1<<18)+2],M; void update(ll*a,int x,ll val){ for(a[x+=M]=val,x/=2;x;x/=2) a[x]=a[2*x]+a[2*x+1]; } ll query(ll*a,int l,int r){ ll ans=0; for(l+=M-1,r+=M+1;l^...
25.782609
49
0.436762
YouDad
46fd94f34eb507d75cdb0864c86d48bb91ffe0fc
1,936
cc
C++
app/oxs/base/lock.cc
ViennaNovoFlop/ViennaNovoFlop-dev
f8c4d6c06590a0d9a3890d81e9b0b4dcb7ea9e00
[ "TCL", "SWL", "MIT", "X11", "BSD-3-Clause" ]
null
null
null
app/oxs/base/lock.cc
ViennaNovoFlop/ViennaNovoFlop-dev
f8c4d6c06590a0d9a3890d81e9b0b4dcb7ea9e00
[ "TCL", "SWL", "MIT", "X11", "BSD-3-Clause" ]
null
null
null
app/oxs/base/lock.cc
ViennaNovoFlop/ViennaNovoFlop-dev
f8c4d6c06590a0d9a3890d81e9b0b4dcb7ea9e00
[ "TCL", "SWL", "MIT", "X11", "BSD-3-Clause" ]
null
null
null
/* FILE: lock.cc -*-Mode: c++-*- * * Data structure locking class * */ #include "oc.h" #include "lock.h" #include "oxsexcept.h" OC_USE_STD_NAMESPACE; // Specify std namespace, if supported /* End includes */ OC_UINT4m Oxs_Lock::id_count=0; Oxs_Lock::~Oxs_Lock() { if(write_lock>0) OXS_THR...
19.555556
71
0.658058
ViennaNovoFlop
46fe7414e6a5c9bc077c601133632078f87b21aa
6,197
cc
C++
libsrc/pylith/faults/FaultCohesiveTract.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
1
2021-01-20T17:18:28.000Z
2021-01-20T17:18:28.000Z
libsrc/pylith/faults/FaultCohesiveTract.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
null
null
null
libsrc/pylith/faults/FaultCohesiveTract.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
null
null
null
// -*- C++ -*- // // ---------------------------------------------------------------------- // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University of Chicago // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
34.237569
99
0.619977
joegeisz
46ffcc9c9c990a00d3ce0571090b9f9ef3d5f5e1
507
cpp
C++
p205/p205.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
1
2019-10-07T05:00:21.000Z
2019-10-07T05:00:21.000Z
p205/p205.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
p205/p205.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
class Solution { public: bool isIsomorphic(string s, string t) { if (s.length() != t.length()) return false; int n = s.length(); vector<char> from(260,'#'),to(260,'#'); for (int i = 0; i < n; ++i) { if (from[t[i]] == '#' && to[s[i]] == '#') { f...
22.043478
52
0.368836
suzyz
2002db0faa04c7cbb83a2d9acf6bcb78b4a028bd
2,966
cpp
C++
06-class-design/readerEx.06.06/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
81
2018-11-15T21:23:19.000Z
2022-03-06T09:46:36.000Z
06-class-design/readerEx.06.06/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
null
null
null
06-class-design/readerEx.06.06/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
41
2018-11-15T21:23:24.000Z
2022-02-24T03:02:26.000Z
// TODO: FIX ME! Does not handle delta between dates correctly. // // main.cpp // // This program exercises the Calendar interface exported in calendar.h. // // -------------------------------------------------------------------------- // Attribution: "Programming Abstractions in C++" by Eric Roberts // Chapter 6, Exe...
31.892473
91
0.50472
heavy3
200ae272cc1adb37009bf64dc648c03075bdad2c
8,195
cpp
C++
src/rotoSolver/fileUtils.cpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
47
2016-07-27T07:22:06.000Z
2021-08-17T13:08:19.000Z
src/rotoSolver/fileUtils.cpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
1
2016-09-24T06:04:39.000Z
2016-09-25T10:34:19.000Z
src/rotoSolver/fileUtils.cpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
13
2016-07-27T10:44:35.000Z
2020-07-01T21:08:33.000Z
/************************************************************************** ** This file is a part of our work (Siggraph'16 paper, binary, code and dataset): ** ** Roto++: Accelerating Professional Rotoscoping using Shape Manifolds ** Wenbin Li, Fabio Viola, Jonathan Starck, Gabriel J. Brostow and Neill D.F. Campbell *...
25.29321
104
0.587065
vinben
200aeed19c847f9e7f6959f2f19a9af7eee99f9e
2,251
cpp
C++
questions/68721681/app/main.cpp
xGreat/stackoverflow
b9a404a5c93eb764dc58a57484d7b86dc5016579
[ "MIT" ]
302
2017-03-04T00:05:23.000Z
2022-03-28T22:51:29.000Z
questions/68721681/app/main.cpp
xGreat/stackoverflow
b9a404a5c93eb764dc58a57484d7b86dc5016579
[ "MIT" ]
30
2017-12-02T19:26:43.000Z
2022-03-28T07:40:36.000Z
questions/68721681/app/main.cpp
xGreat/stackoverflow
b9a404a5c93eb764dc58a57484d7b86dc5016579
[ "MIT" ]
388
2017-07-04T16:53:12.000Z
2022-03-18T22:20:19.000Z
#include "foointerface.h" #include <QDir> #include <QGuiApplication> #include <QPluginLoader> #include <QQmlApplicationEngine> #include <QTimer> #include <QTranslator> int main(int argc, char *argv[]) { #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); #endif...
30.013333
97
0.646379
xGreat
200d9fcf6cacbb73137ca211017c7b3b49bc9990
54,260
inl
C++
Code/Engine/Foundation/Basics/Platform/Android/AndroidJni.inl
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
703
2015-03-07T15:30:40.000Z
2022-03-30T00:12:40.000Z
Code/Engine/Foundation/Basics/Platform/Android/AndroidJni.inl
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
233
2015-01-11T16:54:32.000Z
2022-03-19T18:00:47.000Z
Code/Engine/Foundation/Basics/Platform/Android/AndroidJni.inl
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
101
2016-10-28T14:05:10.000Z
2022-03-30T19:00:59.000Z
struct ezJniModifiers { enum Enum { PUBLIC = 1, PRIVATE = 2, PROTECTED = 4, STATIC = 8, FINAL = 16, SYNCHRONIZED = 32, VOLATILE = 64, TRANSIENT = 128, NATIVE = 256, INTERFACE = 512, ABSTRACT = 1024, STRICT = 2048, }; }; ezJniObject::ezJniObject(jobject object, ezJn...
29.298056
285
0.729414
Tekh-ops
201039418cb79f69a96c443540e3dd27e909876a
3,458
cpp
C++
source/LibFgBase/src/FgSerial.cpp
SingularInversions/FaceGenBaseLibrary
e928b482fa78597cfcf3923f7252f7902ec0dfa9
[ "MIT" ]
41
2016-04-09T07:48:10.000Z
2022-03-01T15:46:08.000Z
source/LibFgBase/src/FgSerial.cpp
SingularInversions/FaceGenBaseLibrary
e928b482fa78597cfcf3923f7252f7902ec0dfa9
[ "MIT" ]
9
2015-09-23T10:54:50.000Z
2020-01-04T21:16:57.000Z
source/LibFgBase/src/FgSerial.cpp
SingularInversions/FaceGenBaseLibrary
e928b482fa78597cfcf3923f7252f7902ec0dfa9
[ "MIT" ]
29
2015-10-01T14:44:42.000Z
2022-01-05T01:28:43.000Z
// // Coypright (c) 2021 Singular Inversions Inc. (facegen.com) // Use, modification and distribution is subject to the MIT License, // see accompanying file LICENSE.txt or facegen.com/base_library_license.txt // #include "stdafx.h" #include "FgSerial.hpp" #include "FgCommand.hpp" using namespace std; ...
21.214724
79
0.484095
SingularInversions
2010aeff4c31c302980dd1eb4e0e5ecc25b2f041
3,544
hpp
C++
include/strict_variant/variant_storage.hpp
reuk/strict-variant
7d0f1433d5126951b1af350213a0c7e75575fab0
[ "BSL-1.0" ]
62
2016-08-02T05:15:16.000Z
2020-02-14T18:02:34.000Z
include/strict_variant/variant_storage.hpp
reuk/strict-variant
7d0f1433d5126951b1af350213a0c7e75575fab0
[ "BSL-1.0" ]
6
2016-12-07T03:00:46.000Z
2018-12-03T22:03:27.000Z
include/strict_variant/variant_storage.hpp
reuk/strict-variant
7d0f1433d5126951b1af350213a0c7e75575fab0
[ "BSL-1.0" ]
6
2016-12-10T18:59:18.000Z
2019-11-05T08:11:11.000Z
// (C) Copyright 2016 - 2018 Christopher Beck // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) #pragma once #include <new> #include <strict_variant/mpl/max.hpp> #include <strict_variant/mpl/typelist.hpp> #include <stri...
30.033898
86
0.696106
reuk
2016fc451b4a8820fea9720af0f7d82da85c557c
6,850
cpp
C++
src/render/OGLES1_0/CShaderProgramOGLES1_0.cpp
opengamejam/OpenJam
565dd19fa7f1a727966b4274b810424e5395600b
[ "MIT" ]
4
2015-08-13T08:25:36.000Z
2017-04-07T21:33:10.000Z
src/render/OGLES1_0/CShaderProgramOGLES1_0.cpp
opengamejam/OpenJam
565dd19fa7f1a727966b4274b810424e5395600b
[ "MIT" ]
null
null
null
src/render/OGLES1_0/CShaderProgramOGLES1_0.cpp
opengamejam/OpenJam
565dd19fa7f1a727966b4274b810424e5395600b
[ "MIT" ]
null
null
null
// // CShaderProgramOGLES1_0.h // OpenJam // // Created by Yevgeniy Logachev // Copyright (c) 2014 yev. All rights reserved. // #if defined(RENDER_OGLES1_0) #include "CShaderProgramOGLES1_0.h" using namespace jam; // ***************************************************************************** // Constants // **...
24.035088
106
0.643212
opengamejam