hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
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
9eb8c75d4134e31fb7cd5a15e831fff7c1bc2abb
1,173
cpp
C++
icpc/2019-9-24/I.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
3
2018-08-30T09:43:20.000Z
2019-12-03T04:53:43.000Z
icpc/2019-9-24/I.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
icpc/2019-9-24/I.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
#include <cstdio> #include <algorithm> using namespace std; #define NMAX 50 typedef unsigned char u8; static int n, m, _, cnt; static int u[NMAX], v[NMAX]; static u8 s[NMAX]; void dfs(int i) { if (i == m) cnt++; else if (s[u[i]] < s[v[i]]) { dfs(i + 1); swap(s[u[i]], s[v[i]]); dfs(...
17.772727
42
0.369991
Riteme
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
19b36115b0c392143e7461c8ca9b6eb61a4b9f70
338
hpp
C++
src/core/menu.hpp
dynilath/cqcppsdk
8f14c2ed85b6d2917ad7aef149acdfb89512937f
[ "MIT" ]
154
2020-01-03T02:51:51.000Z
2020-08-03T19:44:53.000Z
src/core/menu.hpp
dynilath/cqcppsdk
8f14c2ed85b6d2917ad7aef149acdfb89512937f
[ "MIT" ]
22
2020-01-26T04:18:28.000Z
2020-07-04T06:38:28.000Z
src/core/menu.hpp
dynilath/cqcppsdk
8f14c2ed85b6d2917ad7aef149acdfb89512937f
[ "MIT" ]
40
2020-01-06T11:17:25.000Z
2020-08-07T08:26:32.000Z
#pragma once #include "event_export_def.hpp" #define CQ_MENU(FuncName) \ static void __cq_menu_##FuncName(); \ _CQ_EVENT(int32_t, FuncName, 0)() { \ __cq_menu_##FuncName(); \ return 0; \ } \ static void __cq_...
28.166667
41
0.482249
dynilath
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
19b6d2ecf6c5083c17df38b8f6498e6d484e2696
139
cpp
C++
base/win32/fusion/tools/idlxml/cpp.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/win32/fusion/tools/idlxml/cpp.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/win32/fusion/tools/idlxml/cpp.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// Copyright (c) Microsoft Corporation #define SORTPP_PASS #define GUID_DEFINED #define IN __in #define OUT __out #include "h.h"
15.444444
39
0.719424
npocmaka
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
19c14f19b5a65412d1f04fe10f48be8ce004e7e8
669
cpp
C++
SPOJ/MATGAME.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-01-30T13:21:30.000Z
2018-01-30T13:21:30.000Z
SPOJ/MATGAME.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
null
null
null
SPOJ/MATGAME.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-08-29T13:26:50.000Z
2018-08-29T13:26:50.000Z
/** * > Author : TISparta * > Date : 11-08-18 * > Tags : Game Theory * > Difficulty : 4 / 10 */ #include <bits/stdc++.h> using namespace std; const int MAX_M = 50; int T, N, M, pile[MAX_M + 1], nim_sum, SGV; int main() { scanf("%d", &T); while (T--) { nim_sum = 0; scanf("%d %d", &N, &M...
21.580645
88
0.442451
TISparta
19c4476cfd25ef06185acc5fc28c0a2a364af5a6
13,112
cpp
C++
src/mame/drivers/btoads.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/drivers/btoads.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/drivers/btoads.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Aaron Giles /************************************************************************* BattleToads driver by Aaron Giles **************************************************************************/ #include "emu.h" #include "includes/btoads.h" #include "speaker.h...
32.862155
138
0.690589
Robbbert
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
19cabdd0e228af0ec12b2a070e143a05b4998947
1,994
cpp
C++
testtool/common.cpp
obono/TinyJoypadWorks
e9f5403fc435b7fece1b6d488dcef3a6699e6194
[ "MIT" ]
3
2020-12-28T20:22:44.000Z
2022-02-22T08:33:14.000Z
testtool/common.cpp
obono/TinyJoypadWorks
e9f5403fc435b7fece1b6d488dcef3a6699e6194
[ "MIT" ]
null
null
null
testtool/common.cpp
obono/TinyJoypadWorks
e9f5403fc435b7fece1b6d488dcef3a6699e6194
[ "MIT" ]
null
null
null
#include "common.h" /* Defines */ #define NUMBER_DIGITS 3 #define DPAD_BUTTONS (LEFT_BUTTON | RIGHT_BUTTON | DOWN_BUTTON | UP_BUTTON) /* Global Variables */ RECORD_T record; char stringBuffer[STRING_BUFFERS][STRING_BUFFER_SIZE]; int8_t dpadX, dpadY; /* Local Variables */ static P...
28.898551
84
0.599799
obono
19cb35df39f98f047e984076450eebeaa84167f1
5,535
cpp
C++
test/test_session.cpp
dvetutnev/tomsksoft
39741046e1355ac36775189b4e8970af3a7861cd
[ "MIT" ]
null
null
null
test/test_session.cpp
dvetutnev/tomsksoft
39741046e1355ac36775189b4e8970af3a7861cd
[ "MIT" ]
null
null
null
test/test_session.cpp
dvetutnev/tomsksoft
39741046e1355ac36775189b4e8970af3a7861cd
[ "MIT" ]
null
null
null
#include "session.h" #include "mocks.h" #include "create_packet.h" #include <algorithm> using ::testing::SaveArg; using ::testing::InSequence; using ::testing::StrictMock; using ::testing::NiceMock; using ::testing::AtLeast; TEST(Session, timeout) { MockServer server; StrictMock<MockWriter> writer; au...
31.810345
108
0.687263
dvetutnev
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
19d280bfd3df9525e25a7dcb89e6102afb006dac
970
cpp
C++
vdslib/src/tests/distribution/randombucket.cpp
kennyeric/vespa
f69f960d5ae48d246f56a60e6e46c90a58f836ba
[ "Apache-2.0" ]
1
2018-12-30T05:42:18.000Z
2018-12-30T05:42:18.000Z
vdslib/src/tests/distribution/randombucket.cpp
kennyeric/vespa
f69f960d5ae48d246f56a60e6e46c90a58f836ba
[ "Apache-2.0" ]
1
2021-03-31T22:27:25.000Z
2021-03-31T22:27:25.000Z
vdslib/src/tests/distribution/randombucket.cpp
kennyeric/vespa
f69f960d5ae48d246f56a60e6e46c90a58f836ba
[ "Apache-2.0" ]
1
2020-02-01T07:21:28.000Z
2020-02-01T07:21:28.000Z
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "randombucket.h" #include <vespa/vdslib/state/random.h> namespace RandomBucket{ uint64_t _num_users; uint64_t _locationbits; bool _scheme = false; storage::lib::RandomGen rg; void setUserD...
19.019608
118
0.627835
kennyeric
19d59469611a8e400bce05b775c6c90b3652d6d0
4,617
cpp
C++
lammps-master/lib/poems/virtualmatrix.cpp
rajkubp020/helloword
4bd22691de24b30a0f5b73821c35a7ac0666b034
[ "MIT" ]
null
null
null
lammps-master/lib/poems/virtualmatrix.cpp
rajkubp020/helloword
4bd22691de24b30a0f5b73821c35a7ac0666b034
[ "MIT" ]
null
null
null
lammps-master/lib/poems/virtualmatrix.cpp
rajkubp020/helloword
4bd22691de24b30a0f5b73821c35a7ac0666b034
[ "MIT" ]
null
null
null
/* *_________________________________________________________________________* * POEMS: PARALLELIZABLE OPEN SOURCE EFFICIENT MULTIBODY SOFTWARE * * DESCRIPTION: SEE READ-ME * * FILE NAME: virtualmatrix.cpp * * A...
26.843023
114
0.621183
rajkubp020
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
19de5723db8d917abd9a56bffc906ebfb0b90aec
542
cpp
C++
3rdParty/B-Human/Tools/Streams/InOut.cpp
h3ndrk/CompiledNN
8ed33a8d976367bfe7a62f506ba6215256a5b26c
[ "MIT" ]
null
null
null
3rdParty/B-Human/Tools/Streams/InOut.cpp
h3ndrk/CompiledNN
8ed33a8d976367bfe7a62f506ba6215256a5b26c
[ "MIT" ]
null
null
null
3rdParty/B-Human/Tools/Streams/InOut.cpp
h3ndrk/CompiledNN
8ed33a8d976367bfe7a62f506ba6215256a5b26c
[ "MIT" ]
null
null
null
/** * @file Tools/Streams/InOut.cpp * * Implementation of the streamable function endl. * * @author <a href="mailto:oberlies@sim.tu-darmstadt.de">Tobias Oberlies</a> */ #include "InOut.h" #include <cstring> Out& endl(Out& out) { out.outEndL(); return out; } In& endl(In& in) { in.inEndL(); return in; } ...
14.648649
76
0.551661
h3ndrk
19e483c8ad2f6650868557d6c731d793e94a8c5b
437
hpp
C++
server/api/include/irods/rsFileRead.hpp
aghsmith/irods
31d48a47a4942df688da94b30aa8a5b5210261bb
[ "BSD-3-Clause" ]
1
2022-03-08T13:00:56.000Z
2022-03-08T13:00:56.000Z
server/api/include/irods/rsFileRead.hpp
selroc/irods
d232c7f3e0154cacc3a115aa50e366a98617b126
[ "BSD-3-Clause" ]
null
null
null
server/api/include/irods/rsFileRead.hpp
selroc/irods
d232c7f3e0154cacc3a115aa50e366a98617b126
[ "BSD-3-Clause" ]
null
null
null
#ifndef RS_FILE_READ_HPP #define RS_FILE_READ_HPP #include "irods/rodsConnect.h" #include "irods/fileRead.h" int rsFileRead( rsComm_t *rsComm, fileReadInp_t *fileReadInp, bytesBuf_t *fileReadOutBBuf ); int _rsFileRead( rsComm_t *rsComm, fileReadInp_t *fileReadInp, bytesBuf_t *fileReadOutBBuf ); int remoteFileRead( rs...
36.416667
130
0.816934
aghsmith
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
19e89de6247e69bf0bb45872c22c40fc10280620
1,551
cpp
C++
test/spMatspMat_test.cpp
pnnl/NWGraph
bd9e091d2eed4e655c109347c3ec734bf399ff70
[ "BSD-4-Clause-UC" ]
null
null
null
test/spMatspMat_test.cpp
pnnl/NWGraph
bd9e091d2eed4e655c109347c3ec734bf399ff70
[ "BSD-4-Clause-UC" ]
null
null
null
test/spMatspMat_test.cpp
pnnl/NWGraph
bd9e091d2eed4e655c109347c3ec734bf399ff70
[ "BSD-4-Clause-UC" ]
null
null
null
/** * @file spMatspMat_test.cpp * * @copyright SPDX-FileCopyrightText: 2022 Battelle Memorial Institute * @copyright SPDX-FileCopyrightText: 2022 University of Washington * * SPDX-License-Identifier: BSD-3-Clause * * @authors * Andrew Lumsdaine * */ #include <tuple> #include <vector> #include "nwgraph/g...
25.42623
81
0.516441
pnnl
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
19ea691d62f5de4780a604b7cda878648f87c921
35,453
cpp
C++
src/Layers/xrRender/xrRender_console.cpp
clayne/xray-16
32ebf81a252c7179e2824b2874f911a91e822ad1
[ "OML", "Linux-OpenIB" ]
2
2015-02-23T10:43:02.000Z
2015-06-11T14:45:08.000Z
src/Layers/xrRender/xrRender_console.cpp
clayne/xray-16
32ebf81a252c7179e2824b2874f911a91e822ad1
[ "OML", "Linux-OpenIB" ]
17
2022-01-25T08:58:23.000Z
2022-03-28T17:18:28.000Z
src/Layers/xrRender/xrRender_console.cpp
clayne/xray-16
32ebf81a252c7179e2824b2874f911a91e822ad1
[ "OML", "Linux-OpenIB" ]
1
2015-06-05T20:04:00.000Z
2015-06-05T20:04:00.000Z
#include "stdafx.h" #pragma hdrstop #include "xrRender_console.h" #include "xrCore/xr_token.h" #include "xrCore/Animation/SkeletonMotions.hpp" u32 ps_Preset = 2; const xr_token qpreset_token[] = {{"Minimum", 0}, {"Low", 1}, {"Default", 2}, {"High", 3}, {"Extreme", 4}, {nullptr, 0}}; u32 ps_r2_smapsize = 2048; const ...
36.250511
132
0.657829
clayne
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
19efac7200deaecbf0f347811fe5588f81e17813
811
cpp
C++
Advanced-Programming/Lab-Assignment-1/1-a.cpp
hstr2785/CS
d1eaec5413887c8e271f598d41ef6ccd565c5ac8
[ "MIT" ]
null
null
null
Advanced-Programming/Lab-Assignment-1/1-a.cpp
hstr2785/CS
d1eaec5413887c8e271f598d41ef6ccd565c5ac8
[ "MIT" ]
1
2020-09-25T17:04:57.000Z
2020-09-25T17:04:57.000Z
Advanced-Programming/Lab-Assignment-1/1-a.cpp
hstr2785/CS
d1eaec5413887c8e271f598d41ef6ccd565c5ac8
[ "MIT" ]
2
2020-10-01T05:01:38.000Z
2020-10-01T08:11:50.000Z
#include <iostream> using namespace std; // create a class class Room { private: double length; double breadth; double height; public: double calculateArea() { return length * breadth; } double calculateVolume() { return length * breadth * height; } void set_length() { lengt...
18.860465
66
0.610358
hstr2785
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
19f16206b89ed62e69a4342207b50b798aeee477
10,511
cpp
C++
src/core/features/esp.cpp
luk1337/gamesneeze
9b85e177d5af9a1bd30a296172c4d80f91966966
[ "MIT" ]
1
2021-02-10T00:33:31.000Z
2021-02-10T00:33:31.000Z
src/core/features/esp.cpp
luk1337/gamesneeze
9b85e177d5af9a1bd30a296172c4d80f91966966
[ "MIT" ]
null
null
null
src/core/features/esp.cpp
luk1337/gamesneeze
9b85e177d5af9a1bd30a296172c4d80f91966966
[ "MIT" ]
null
null
null
#include "features.hpp" #include "../../includes.hpp" #include <sstream> bool worldToScreen( const Vector& origin, Vector& screen ) { float w = Globals::worldToScreenMatrix[3][0] * origin.x + Globals::worldToScreenMatrix[3][1] * origin.y + Globals::worldToScreenMatrix[3][2] * origin.z + Globals::worldT...
50.533654
278
0.528779
luk1337
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
19f601a94df656254a9839f6c61047cf33f698e1
2,001
cpp
C++
opencv_1/hue.cpp
liangjisheng/computer-vision
b2f05f87334078f4a51775383aac04f2bdedae7c
[ "MIT" ]
null
null
null
opencv_1/hue.cpp
liangjisheng/computer-vision
b2f05f87334078f4a51775383aac04f2bdedae7c
[ "MIT" ]
null
null
null
opencv_1/hue.cpp
liangjisheng/computer-vision
b2f05f87334078f4a51775383aac04f2bdedae7c
[ "MIT" ]
null
null
null
#include <cv.h> #include <highgui.h> int main( int argc, char** argv ) { IplImage* src; if( argc == 2 && (src=cvLoadImage(argv[1], 1))!= 0) { IplImage* h_plane = cvCreateImage( cvGetSize(src), 8, 1 ); IplImage* s_plane = cvCreateImage( cvGetSize(src), 8, 1 ); IplImage* v_plane = cvC...
39.235294
117
0.534733
liangjisheng
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
19faf5d2f964194152886e599066c6da7721c1e3
7,764
cc
C++
third_party/blink/renderer/core/fileapi/public_url_manager.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/blink/renderer/core/fileapi/public_url_manager.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/blink/renderer/core/fileapi/public_url_manager.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
/* * Copyright (C) 2012 Motorola Mobility Inc. * Copyright (C) 2013 Google Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above...
36.971429
82
0.748841
zipated
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
19fe8fe5fae8bf2351fae313f8ece406d47d9340
7,638
cpp
C++
indra/newview/llvowater.cpp
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
indra/newview/llvowater.cpp
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
indra/newview/llvowater.cpp
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
/** * @file llvowater.cpp * @brief LLVOWater class implementation * * $LicenseInfo:firstyear=2005&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Ge...
24.094637
110
0.707384
humbletim
c20073cf03e1fac2b7f5c24b5c4e22352b84dc79
4,986
cpp
C++
code_reading/oceanbase-master/src/storage/blocksstable/ob_storage_cache_suite.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/src/storage/blocksstable/ob_storage_cache_suite.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/src/storage/blocksstable/ob_storage_cache_suite.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
1
2020-10-18T12:59:31.000Z
2020-10-18T12:59:31.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase CE is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS...
38.651163
117
0.751304
wangcy6
c201ef5788f72bf70434e8fa03e8b42033133303
1,104
cpp
C++
WickedEngine/wiLoadingScreen.cpp
rohankumardubey/WickedEngine
2e94230c520f0921718ea531c1de9c76611c8944
[ "MIT" ]
11
2021-12-27T11:31:24.000Z
2021-12-30T08:02:57.000Z
WickedEngine/wiLoadingScreen.cpp
rohankumardubey/WickedEngine
2e94230c520f0921718ea531c1de9c76611c8944
[ "MIT" ]
null
null
null
WickedEngine/wiLoadingScreen.cpp
rohankumardubey/WickedEngine
2e94230c520f0921718ea531c1de9c76611c8944
[ "MIT" ]
3
2021-12-28T02:31:08.000Z
2021-12-31T07:32:00.000Z
#include "wiLoadingScreen.h" #include "wiApplication.h" #include <thread> namespace wi { bool LoadingScreen::isActive() { return wi::jobsystem::IsBusy(ctx); } void LoadingScreen::addLoadingFunction(std::function<void(wi::jobsystem::JobArgs)> loadingFunction) { if (loadingFunction != nullptr) { tasks.p...
18.098361
122
0.671196
rohankumardubey
c202af40ed7454f6c723d5124d070870fc6b40e0
264
cpp
C++
src/main/algorithms/cpp/graph/clone_graph_133/graph_node.cpp
algorithmlover2016/leet_code
2eecc7971194c8a755e67719d8f66c636694e7e9
[ "Apache-2.0" ]
null
null
null
src/main/algorithms/cpp/graph/clone_graph_133/graph_node.cpp
algorithmlover2016/leet_code
2eecc7971194c8a755e67719d8f66c636694e7e9
[ "Apache-2.0" ]
null
null
null
src/main/algorithms/cpp/graph/clone_graph_133/graph_node.cpp
algorithmlover2016/leet_code
2eecc7971194c8a755e67719d8f66c636694e7e9
[ "Apache-2.0" ]
null
null
null
#include "./graph_node.h" Node::Node() : val(0), neighbors(std::vector<Node*>()) { } Node::Node(int _val) : val(_val), neighbors(std::vector<Node*>()) { } Node::Node(int _val, std::vector<Node*> const & _neighbors): val(_val), neighbors(_neighbors) { }
17.6
71
0.625
algorithmlover2016
c204cf8e0458653fecc337527805f7fe2de01019
17,967
cpp
C++
src/globals/graph_types.cpp
zakimjz/GPU_graph_mining
22ba73bea97533ed6b2af613bd263ef4d869e71a
[ "Apache-2.0" ]
2
2020-05-13T09:09:50.000Z
2021-07-16T12:51:53.000Z
src/globals/graph_types.cpp
zakimjz/GPU_graph_mining
22ba73bea97533ed6b2af613bd263ef4d869e71a
[ "Apache-2.0" ]
null
null
null
src/globals/graph_types.cpp
zakimjz/GPU_graph_mining
22ba73bea97533ed6b2af613bd263ef4d869e71a
[ "Apache-2.0" ]
1
2022-03-22T01:15:33.000Z
2022-03-22T01:15:33.000Z
#include <graph_types.hpp> #include <algorithm> #include <cassert> #include <string> #include <sstream> #include <iostream> #include <iterator> #include <stdexcept> #include <logger.hpp> #include <utils.hpp> #include <cstring> namespace types { template <class T, class Iterator> void tokenize(const char *str, Iterato...
25.926407
251
0.577336
zakimjz
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
c2053ff6133d4df21d6d024cadbd635fabd32763
85,297
cpp
C++
vm/compiler/Loop.cpp
HazouPH/android_dalvik
5e66532f06bbf1f43b23ff408ee64dc30c31fc9d
[ "Apache-2.0" ]
null
null
null
vm/compiler/Loop.cpp
HazouPH/android_dalvik
5e66532f06bbf1f43b23ff408ee64dc30c31fc9d
[ "Apache-2.0" ]
null
null
null
vm/compiler/Loop.cpp
HazouPH/android_dalvik
5e66532f06bbf1f43b23ff408ee64dc30c31fc9d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
34.159792
152
0.587969
HazouPH
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
c22acce4897c7e29eb52e25c5489caea137e48cd
1,102
cpp
C++
OIandACM/OJ/Codeforces/1451C.cpp
ASC8384/-
8d8fb4c1d4c10aca1e10a0faf5ab2b687fd936d2
[ "CC0-1.0" ]
8
2019-08-09T14:28:13.000Z
2021-02-23T03:22:15.000Z
OIandACM/OJ/Codeforces/1451C.cpp
ASC8384/Template
8d8fb4c1d4c10aca1e10a0faf5ab2b687fd936d2
[ "CC0-1.0" ]
null
null
null
OIandACM/OJ/Codeforces/1451C.cpp
ASC8384/Template
8d8fb4c1d4c10aca1e10a0faf5ab2b687fd936d2
[ "CC0-1.0" ]
4
2019-08-16T12:00:41.000Z
2019-11-29T12:01:17.000Z
/* ** Author: ASC_8384 ** Website: www.ASC8384.top ** License: CC0 ** Time: 2020-11-21 22:55:51 */ #include <bits/stdc++.h> typedef long long ll; using namespace std; mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count()); const int size = 2e5 + 9; const ll mod = 1e9 + 7; int a[size]; string s1, s2;...
16.69697
68
0.513612
ASC8384
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
ea5fc3262d4b79008225d3b325d0a3fe8a01ca37
4,058
cc
C++
mysql-server/sql/rpl_info.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/sql/rpl_info.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/sql/rpl_info.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
/* Copyright (c) 2010, 2019, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certai...
40.989899
79
0.750123
silenc3502
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
ea6c81c35e56716575c82f45d8960b1f546f0b36
6,855
cc
C++
src/camera/test/camera_streaming_test/camera_streaming_test.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
3
2020-08-02T04:46:18.000Z
2020-08-07T10:10:53.000Z
src/camera/test/camera_streaming_test/camera_streaming_test.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
null
null
null
src/camera/test/camera_streaming_test/camera_streaming_test.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
1
2020-08-07T10:11:49.000Z
2020-08-07T10:11:49.000Z
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <button_checker.h> #include <fcntl.h> #include <fuchsia/camera/test/cpp/fidl.h> #include <fuchsia/camera2/cpp/fidl.h> #include <lib/devmgr-integra...
38.083333
98
0.677316
winksaville
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
ea6f5953820a8adb5dc11604f040d6b41a602292
2,649
hpp
C++
libvast/vast/access.hpp
ngrodzitski/vast
5d114f53d51db8558f673c7f873bd92ded630bf6
[ "BSD-3-Clause" ]
null
null
null
libvast/vast/access.hpp
ngrodzitski/vast
5d114f53d51db8558f673c7f873bd92ded630bf6
[ "BSD-3-Clause" ]
1
2019-11-29T12:43:41.000Z
2019-11-29T12:43:41.000Z
libvast/vast/access.hpp
ngrodzitski/vast
5d114f53d51db8558f673c7f873bd92ded630bf6
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across * ...
29.433333
80
0.563609
ngrodzitski
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
ea7a37cc9433bda075599a80bb98df3466fa4f70
5,403
cc
C++
xrtl/testing/diffing/diff_provider.cc
google/xrtl
8cf0e7cd67371297149bda8e62d03b8c1e2e2dfe
[ "Apache-2.0" ]
132
2017-03-30T03:26:57.000Z
2021-11-18T09:18:04.000Z
xrtl/testing/diffing/diff_provider.cc
google/xrtl
8cf0e7cd67371297149bda8e62d03b8c1e2e2dfe
[ "Apache-2.0" ]
36
2017-04-02T22:57:53.000Z
2018-06-27T04:20:30.000Z
xrtl/testing/diffing/diff_provider.cc
google/xrtl
8cf0e7cd67371297149bda8e62d03b8c1e2e2dfe
[ "Apache-2.0" ]
24
2017-04-09T12:48:13.000Z
2021-10-20T02:20:07.000Z
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
39.727941
80
0.661484
google
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
ea7dd9dd3c1b7ac86e0cdb252dae94f7ac696cb1
311
cpp
C++
aql/benchmark/lib_62/class_2.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/benchmark/lib_62/class_2.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/benchmark/lib_62/class_2.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
#include "class_2.h" #include "class_1.h" #include "class_3.h" #include "class_0.h" #include "class_4.h" #include "class_6.h" #include <lib_47/class_0.h> #include <lib_1/class_6.h> #include <lib_11/class_4.h> #include <lib_54/class_5.h> #include <lib_47/class_7.h> class_2::class_2() {} class_2::~class_2() {}
20.733333
27
0.713826
menify
ea80e7c266e18e5c6edc47648b5ddc46e50938b5
740
cpp
C++
1697_hide_and_seek.cpp
harrydrippin/baekjoon
4ee6b6796d9dece8860e777b38cf90c2c6b13132
[ "MIT" ]
null
null
null
1697_hide_and_seek.cpp
harrydrippin/baekjoon
4ee6b6796d9dece8860e777b38cf90c2c6b13132
[ "MIT" ]
null
null
null
1697_hide_and_seek.cpp
harrydrippin/baekjoon
4ee6b6796d9dece8860e777b38cf90c2c6b13132
[ "MIT" ]
1
2020-07-25T07:41:12.000Z
2020-07-25T07:41:12.000Z
#include <iostream> #include <queue> using namespace std; int main() { int m[100001]; fill_n(m, 100001, 100002); int n, k; cin >> n >> k; m[n] = 0; queue<int> q; q.push(n); while (!q.empty()) { int cur = q.front(); q.pop(); if (cur + 1 < 100001 && m[cur + 1] ...
19.473684
74
0.366216
harrydrippin
ea84617d10d67475381a3078add0ceff0b390d4d
141
cpp
C++
Tutorial PNG/Tutorial PNG/DemoApp/main.cpp
0lidaxiang/openGL_homework
895620aad85d750ba9c78ea54fb4ab8bd69bf187
[ "MIT" ]
1
2017-02-04T03:08:40.000Z
2017-02-04T03:08:40.000Z
Tutorial PNG/Tutorial PNG/DemoApp/main.cpp
0lidaxiang/openGL_homework
895620aad85d750ba9c78ea54fb4ab8bd69bf187
[ "MIT" ]
null
null
null
Tutorial PNG/Tutorial PNG/DemoApp/main.cpp
0lidaxiang/openGL_homework
895620aad85d750ba9c78ea54fb4ab8bd69bf187
[ "MIT" ]
null
null
null
#include "DemoApp.h" int main(int *arg, char **argv) { DempApp app; std::cout<<"Enter: Screen Shot"<<std::endl; app.Start(); return 0; }
15.666667
44
0.638298
0lidaxiang
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
ea881b2fdd8f30bd40268d30f48545131c5d8ad1
19,128
cpp
C++
LibCarla/source/carla/rss/RssCheck.cpp
youngsend/carla
c918f4b73b6b845dc66ccf3ffe3f011e800607ec
[ "MIT" ]
103
2020-03-10T04:21:50.000Z
2022-03-29T13:26:57.000Z
LibCarla/source/carla/rss/RssCheck.cpp
630156145/carla
b9fbbf7fd03ee2a4f3a7baf4343a28381cfe81ef
[ "MIT" ]
12
2020-04-11T11:36:01.000Z
2021-12-09T11:35:56.000Z
LibCarla/source/carla/rss/RssCheck.cpp
630156145/carla
b9fbbf7fd03ee2a4f3a7baf4343a28381cfe81ef
[ "MIT" ]
8
2020-11-21T07:47:12.000Z
2022-03-25T13:41:05.000Z
// Copyright (c) 2019 Intel Corporation // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "carla/rss/RssCheck.h" #include "carla/client/Map.h" #include "carla/client/Vehicle.h" #include "carla/client/Waypoint.h" #include "carla/road/elem...
41.04721
115
0.672261
youngsend
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
ea88af00d49222b327902c88695f517acf477c1c
956
cpp
C++
SDIDoc.cpp
chrisoldwood/WCL
608a83f9e41f4c1d2a7ac6991abbcf264d5924e0
[ "MIT" ]
5
2017-10-02T04:10:35.000Z
2021-07-26T04:45:35.000Z
SDIDoc.cpp
chrisoldwood/WCL
608a83f9e41f4c1d2a7ac6991abbcf264d5924e0
[ "MIT" ]
null
null
null
SDIDoc.cpp
chrisoldwood/WCL
608a83f9e41f4c1d2a7ac6991abbcf264d5924e0
[ "MIT" ]
null
null
null
/****************************************************************************** ** (C) Chris Oldwood ** ** MODULE: SDIDOC.CPP ** COMPONENT: Windows C++ Library. ** DESCRIPTION: CSDIDoc class definition. ** ******************************************************************************* */ #include "Common.hpp" #includ...
20.340426
79
0.303347
chrisoldwood
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
ea942c5357bd877b134b4d92e147782588e3f3c6
5,051
cpp
C++
source/smeardeformer/SmearHistory.cpp
youdiaozi/c4d-nr-toolbox
ca6c5f737c901e2f74aeb0bc7aa477387d1a5cd6
[ "BSD-3-Clause" ]
16
2018-09-12T10:38:26.000Z
2021-06-28T22:57:30.000Z
source/smeardeformer/SmearHistory.cpp
youdiaozi/c4d-nr-toolbox
ca6c5f737c901e2f74aeb0bc7aa477387d1a5cd6
[ "BSD-3-Clause" ]
10
2018-09-11T17:20:09.000Z
2020-06-02T04:11:01.000Z
source/smeardeformer/SmearHistory.cpp
NiklasRosenstein/c4d-nr-toolbox
28197ea7fcf396b5941277b049168d7faf00bfbf
[ "BSD-3-Clause" ]
6
2018-11-30T23:34:49.000Z
2021-04-02T15:03:23.000Z
/** * Copyright (C) 2013, Niklas Rosenstein * All rights reserved. * * SmearHistory.cpp */ #include "SmearHistory.h" #include "nrUtils/Memory.h" #include "nrUtils/Normals.h" using namespace nr::memory; Bool SmearState::Resize(Int32 count) { Bool success = true; success = success && Realloc<Vector>(orig...
27.302703
84
0.627005
youdiaozi
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
ea9ade0c56314e1bfda94a363688fb429a691edd
10,578
cc
C++
centreon-engine/src/configuration/hostextinfo.cc
centreon/centreon-collect
e63fc4d888a120d588a93169e7d36b360616bdee
[ "Unlicense" ]
8
2020-07-26T09:12:02.000Z
2022-03-30T17:24:29.000Z
centreon-engine/src/configuration/hostextinfo.cc
centreon/centreon-collect
e63fc4d888a120d588a93169e7d36b360616bdee
[ "Unlicense" ]
47
2020-06-18T12:11:37.000Z
2022-03-16T10:28:56.000Z
centreon-engine/src/configuration/hostextinfo.cc
centreon/centreon-collect
e63fc4d888a120d588a93169e7d36b360616bdee
[ "Unlicense" ]
5
2020-06-29T14:22:02.000Z
2022-03-17T10:34:10.000Z
/* ** Copyright 2011-2013 Merethis ** ** This file is part of Centreon Engine. ** ** Centreon Engine 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 Software Foundation. ** ** Centreon Engine is distributed in the hope...
23.878104
79
0.668179
centreon
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
eaad671f1b22cc1c7ff643fabefdcc78702fd9d4
852
cpp
C++
codeforces/354/C/test.cpp
rdragos/work
aed4c9ace3fad6b0c63caadee69de2abde108b40
[ "MIT" ]
2
2020-05-30T17:11:47.000Z
2021-09-25T08:16:48.000Z
codeforces/354/C/test.cpp
rdragos/work
aed4c9ace3fad6b0c63caadee69de2abde108b40
[ "MIT" ]
null
null
null
codeforces/354/C/test.cpp
rdragos/work
aed4c9ace3fad6b0c63caadee69de2abde108b40
[ "MIT" ]
1
2021-09-24T11:14:27.000Z
2021-09-24T11:14:27.000Z
#include <cstdio> #include <algorithm> #include <fstream> #include <iostream> #include <vector> #include <queue> #include <map> #include <cstring> #include <string> #include <set> #include <stack> #define pb push_back #define mp make_pair #define f first #define s second #define ll long long using namespace std; int...
16.384615
46
0.539906
rdragos