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
03b7ea5a8fac86854d23be6a42d2ca35a016276e
9,127
cpp
C++
Plugin/Popup.cpp
wuzijing111/EU4dll
5bc107bb7c1f90296bddc1e8643b89f3a7283ef9
[ "MIT" ]
483
2018-08-17T12:44:22.000Z
2022-03-30T16:49:44.000Z
Plugin/Popup.cpp
Dawn-of-Higaara/EU4dll
c516f00bf729dc2c95cccedb65508c05283e1268
[ "MIT" ]
111
2018-08-24T18:43:15.000Z
2022-03-07T11:20:10.000Z
Plugin/Popup.cpp
hangingman/EU4dll
e0d2e15eaa10b4642f4f76474c678044acbc9cdd
[ "MIT" ]
95
2018-09-17T07:56:04.000Z
2022-03-19T04:56:27.000Z
#include "stdinc.h" #include "byte_pattern.h" // これはpopup windowではなくて、map上で浮かび上がる文字の部分の修正 namespace PopupCharOnMap { /*-----------------------------------------------*/ uintptr_t func1_v125_end; __declspec(naked) void func1_v125_start() { __asm { mov eax, [eax + edi]; mov[ebp - 0x5C], eax; lea ecx, [...
20.743182
97
0.610058
wuzijing111
03c2ca34dc47f33f8f85ec761d45823555fa989f
1,146
cpp
C++
stage0/src/runtime/exception.cpp
JLimperg/lean4
24fe2875c68549b5481f07c57eab4ad4a0ae5305
[ "Apache-2.0" ]
1
2021-07-19T04:47:46.000Z
2021-07-19T04:47:46.000Z
stage0/src/runtime/exception.cpp
JLimperg/lean4
24fe2875c68549b5481f07c57eab4ad4a0ae5305
[ "Apache-2.0" ]
12
2020-12-18T21:11:28.000Z
2020-12-19T17:38:22.000Z
stage0/src/runtime/exception.cpp
JLimperg/lean4
24fe2875c68549b5481f07c57eab4ad4a0ae5305
[ "Apache-2.0" ]
1
2021-04-23T09:35:46.000Z
2021-04-23T09:35:46.000Z
/* Copyright (c) 2013 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include <string> #include <sstream> #include <lean/exception.h> #include <lean/thread.h> #include <lean/sstream.h> namespace lean { throwable::throwable(c...
35.8125
163
0.731239
JLimperg
03c308a2ae4955c3931c71645b6f26a01e8d3f0f
1,399
cpp
C++
UVA/vol-105/10582.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
3
2017-05-12T14:45:37.000Z
2020-01-18T16:51:25.000Z
UVA/vol-105/10582.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
null
null
null
UVA/vol-105/10582.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define TOP 0 #define RIGHT 1 #define BOTTOM 2 #define LEFT 3 int di[] = { -1, 0, 1, 0 }, dj[] = { 0, 1, 0, -1 }; int M[77][77], r, c; int dfs(int i, int j, int dir) { if (i<0 || i>=r || j<0 || j>=c || !M[i][j]) return 0; if (i==r-1 && j==c-1) return 1; ...
22.564516
104
0.406719
arash16
03c5d75fa61abc9e9dc540d7b58122aa7821a8ee
6,653
cc
C++
build/ARM/cpu/TimingExpr.py.cc
msharmavikram/gem5_experiments
87353d28df55b9a6a5be6cbb19bce87a500ab3b4
[ "BSD-3-Clause" ]
null
null
null
build/ARM/cpu/TimingExpr.py.cc
msharmavikram/gem5_experiments
87353d28df55b9a6a5be6cbb19bce87a500ab3b4
[ "BSD-3-Clause" ]
null
null
null
build/ARM/cpu/TimingExpr.py.cc
msharmavikram/gem5_experiments
87353d28df55b9a6a5be6cbb19bce87a500ab3b4
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_objects_TimingExpr[] = { 120,156,181,152,221,115,219,68,16,192,79,242,71,108,231,203, 77,93,55,180,3,213,19,227,97,166,117,27,146,240,213,233, 208,164,1,194,132,54,35,39,48,132,7,143,44,157,109,181, 150,100,116,167,52,97,250,86,102,120,228,133,8...
55.907563
69
0.665264
msharmavikram
03c7850465d7a16defa548b1eb42750238879a4b
30,853
cpp
C++
src/SDIMCompiler/Parser.cpp
DamienHenderson/SDIM
623ac00402a68a504451c3b7c76cd16fde2fa57e
[ "MIT" ]
null
null
null
src/SDIMCompiler/Parser.cpp
DamienHenderson/SDIM
623ac00402a68a504451c3b7c76cd16fde2fa57e
[ "MIT" ]
null
null
null
src/SDIMCompiler/Parser.cpp
DamienHenderson/SDIM
623ac00402a68a504451c3b7c76cd16fde2fa57e
[ "MIT" ]
null
null
null
#include "Parser.hpp" #include <Utils.hpp> #include <random> #include <unordered_map> #include "BytecodeGenerator.hpp" namespace SDIM { Token GetToken(const std::vector<Token>& tokens, size_t idx) { if (idx >= tokens.size()) { Utils::Log("Attempted to read past end of tokens"); return Token(TokenType::U...
29.38381
167
0.699835
DamienHenderson
03c9bf4181ba5a15a8a686021ecae98ec1e0489f
531
cpp
C++
tests/template_named_values.cpp
riskybacon/cpp-named-params
da72b3556e5c5ed31e2ac47976db283c7e394e93
[ "MIT" ]
null
null
null
tests/template_named_values.cpp
riskybacon/cpp-named-params
da72b3556e5c5ed31e2ac47976db283c7e394e93
[ "MIT" ]
null
null
null
tests/template_named_values.cpp
riskybacon/cpp-named-params
da72b3556e5c5ed31e2ac47976db283c7e394e93
[ "MIT" ]
null
null
null
#define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE "template_named_values" #include <boost/test/unit_test.hpp> #include <iostream> #include <cpp_named_params/template_named_values.hpp> BOOST_AUTO_TEST_CASE(test_named_values) { using namespace rb; rectangle< width < 10 >, height < 30 >...
24.136364
53
0.653484
riskybacon
03cd3af2e7bec6214fe3d263c288ec9bd81baf37
10,059
cpp
C++
mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
akashhansda/llvm-project
32f146010968ded160f54af464673451ad574135
[ "Apache-2.0" ]
null
null
null
mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
akashhansda/llvm-project
32f146010968ded160f54af464673451ad574135
[ "Apache-2.0" ]
null
null
null
mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
akashhansda/llvm-project
32f146010968ded160f54af464673451ad574135
[ "Apache-2.0" ]
null
null
null
//===- ReshapeOpsUtils.cpp - Utilities used by structured ops -------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
38.54023
80
0.681877
akashhansda
03cdcf420c5680fb327da8c84945c8a869dd134f
4,732
cpp
C++
Fogo.cpp
Ivan-Sandro/Fire_Doom_Algorithm
f33af2826f8d16cd8b8cc6086f8ba8b3ba21733f
[ "MIT" ]
null
null
null
Fogo.cpp
Ivan-Sandro/Fire_Doom_Algorithm
f33af2826f8d16cd8b8cc6086f8ba8b3ba21733f
[ "MIT" ]
null
null
null
Fogo.cpp
Ivan-Sandro/Fire_Doom_Algorithm
f33af2826f8d16cd8b8cc6086f8ba8b3ba21733f
[ "MIT" ]
null
null
null
#include "Fogo.h" #include <iostream> void FOGO::_Get_Paleta_Regular_Cor(const char* Nome_Paleta, int Ponto_Inicial_X, int Ponto_Inicial_Y, int Distancia_Pixeis_X, int Distancia_Pixeis_Y, int Matriz_Paleta_X, int Matriz_Paleta_Y){ ALLEGRO_BITMAP *Paleta = NULL; Paleta = al_load_bitmap(Nome_Paleta); ...
31.758389
193
0.60186
Ivan-Sandro
03d0c1fb4f771720ff38a0c2b21e32944057ea13
565
cpp
C++
1-100/124. Binary Tree Maximum Path Sum.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
1-100/124. Binary Tree Maximum Path Sum.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
1-100/124. Binary Tree Maximum Path Sum.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: int maxPathSum(TreeNode *root) { int ret = INT_MIN; dfs(root, ret); return ret; }...
20.178571
59
0.541593
erichuang1994
03d0d2cb120465470c82d73346407232d581923d
6,519
hpp
C++
renderer/ocean.hpp
VulkanWorks/Granite-scene-graph-gui-ffmpeg-dsp
a725ec78eeb5de2d3c25257b1a9372f5e38910f6
[ "MIT" ]
1,003
2017-08-13T17:47:04.000Z
2022-03-29T15:56:55.000Z
renderer/ocean.hpp
VulkanWorks/Granite-scene-graph-gui-ffmpeg-dsp
a725ec78eeb5de2d3c25257b1a9372f5e38910f6
[ "MIT" ]
10
2017-08-14T19:11:35.000Z
2021-12-10T12:51:53.000Z
renderer/ocean.hpp
VulkanWorks/Granite-scene-graph-gui-ffmpeg-dsp
a725ec78eeb5de2d3c25257b1a9372f5e38910f6
[ "MIT" ]
107
2017-08-16T16:13:26.000Z
2022-03-03T06:42:19.000Z
/* Copyright (c) 2017-2020 Hans-Kristian Arntzen * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, me...
33.777202
83
0.762694
VulkanWorks
03d1a2055d5a71db2b12661f975ee6018fa00eab
117
cpp
C++
WithMemento/SchoolBackup.cpp
mateusz-talma/MementoPattern
9ea3cd819822cc4521faa63ed1fd4a116ef34c4e
[ "MIT" ]
null
null
null
WithMemento/SchoolBackup.cpp
mateusz-talma/MementoPattern
9ea3cd819822cc4521faa63ed1fd4a116ef34c4e
[ "MIT" ]
null
null
null
WithMemento/SchoolBackup.cpp
mateusz-talma/MementoPattern
9ea3cd819822cc4521faa63ed1fd4a116ef34c4e
[ "MIT" ]
null
null
null
#include "SchoolBackup.hpp" #include "School.hpp" SchoolBackup::SchoolBackup(School school) : school_(school) {}
23.4
41
0.74359
mateusz-talma
03d3b489a6b62f9d642c8ccb9bc5ecaa54db0d4b
664
cpp
C++
0090_Subsets_II/solution.cpp
Heliovic/LeetCode_Solutions
73d5a7aaffe62da9a9cd8a80288b260085fda08f
[ "MIT" ]
2
2019-02-18T15:32:57.000Z
2019-03-18T12:55:35.000Z
0090_Subsets_II/solution.cpp
Heliovic/LeetCode_Solutions
73d5a7aaffe62da9a9cd8a80288b260085fda08f
[ "MIT" ]
null
null
null
0090_Subsets_II/solution.cpp
Heliovic/LeetCode_Solutions
73d5a7aaffe62da9a9cd8a80288b260085fda08f
[ "MIT" ]
null
null
null
class Solution { public: vector<vector<int>> ans; void dfs(vector<int>& v, int pos, vector<int>& nums) { ans.push_back(v); for (int i = pos; i < nums.size();) { v.push_back(nums[i]); dfs(v, i + 1, nums); v.pop_back(); ...
20.121212
61
0.391566
Heliovic
03d5135a91778fbf5fc9e4d9a41d689974658487
1,290
cpp
C++
atto/tests/opengl/0-glfw/color.cpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
atto/tests/opengl/0-glfw/color.cpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
atto/tests/opengl/0-glfw/color.cpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
/* * color.cpp * * Copyright (c) 2020 Carlos Braga * * This program is free software; you can redistribute it and/or modify * it under the terms of the MIT License. * * See accompanying LICENSE.md or https://opensource.org/licenses/MIT. */ #include "atto/opengl/opengl.hpp" #include "color.hpp" using namespace...
21.864407
79
0.44186
ubikoo
03d5a36a9d28886bdee82fe15d23e667e3c14bcd
1,861
cpp
C++
leetcode/239.sliding-window-maximum.cpp
geemaple/algorithm
68bc5032e1ee52c22ef2f2e608053484c487af54
[ "MIT" ]
177
2017-08-21T08:57:43.000Z
2020-06-22T03:44:22.000Z
leetcode/239.sliding-window-maximum.cpp
geemaple/algorithm
68bc5032e1ee52c22ef2f2e608053484c487af54
[ "MIT" ]
2
2018-09-06T13:39:12.000Z
2019-06-03T02:54:45.000Z
leetcode/239.sliding-window-maximum.cpp
geemaple/algorithm
68bc5032e1ee52c22ef2f2e608053484c487af54
[ "MIT" ]
23
2017-08-23T06:01:28.000Z
2020-04-20T03:17:36.000Z
/* * @lc app=leetcode id=239 lang=cpp * * [239] Sliding Window Maximum * * https://leetcode.com/problems/sliding-window-maximum/description/ * * algorithms * Hard (36.17%) * Total Accepted: 151.8K * Total Submissions: 401.3K * Testcase Example: '[1,3,-1,-3,5,3,6,7]\n3' * * Given an array nums, there is...
26.585714
77
0.468565
geemaple
03d6a111cde580b535d3ec5c7a65950cb38de8d0
296
hpp
C++
source/Objects/Edge.hpp
1pkg/halfo
a57dc4b68d29165d6ab7ed36c7886326e414e269
[ "MIT" ]
null
null
null
source/Objects/Edge.hpp
1pkg/halfo
a57dc4b68d29165d6ab7ed36c7886326e414e269
[ "MIT" ]
null
null
null
source/Objects/Edge.hpp
1pkg/halfo
a57dc4b68d29165d6ab7ed36c7886326e414e269
[ "MIT" ]
null
null
null
#ifndef OBJECTS_EDGE #define OBJECTS_EDGE #include "include.hpp" #include "Views/Object/Edge.hpp" namespace Objects { class Edge : public Application::Object { public: Edge(); Views::Object::Edge * view() const override; private: std::unique_ptr<Views::Object::Edge> _view; }; } #endif
12.333333
45
0.719595
1pkg
03da52fe2bbe06f3814fc799a37c2290cada142a
221
cpp
C++
src/10.DarkChannelPriorHazeRemoval/main.cpp
rzwm/OpenCVImageProcessing
192c6c62acb0c03f606f7d468276a5f1d78925eb
[ "Apache-2.0" ]
35
2017-12-15T04:34:40.000Z
2022-03-20T13:37:40.000Z
src/10.DarkChannelPriorHazeRemoval/main.cpp
Sevryy/OpenCVImageProcessing
192c6c62acb0c03f606f7d468276a5f1d78925eb
[ "Apache-2.0" ]
null
null
null
src/10.DarkChannelPriorHazeRemoval/main.cpp
Sevryy/OpenCVImageProcessing
192c6c62acb0c03f606f7d468276a5f1d78925eb
[ "Apache-2.0" ]
20
2018-04-08T08:04:56.000Z
2021-09-17T08:48:45.000Z
// http://blog.csdn.net/matrix_space/article/details/40652883 // 暗通道先验去雾 #include "opencv2/core/core.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" int main() { // TODO return 0; }
18.416667
62
0.728507
rzwm
03df8967b85406e89b7c4ed866aa22d0d16e4a6b
1,214
cc
C++
onnxruntime/core/platform/posix/ort_mutex.cc
codemzs/onnxruntime
c69194ec4c8c9674368113aa6044d0db708cd813
[ "MIT" ]
4
2019-06-06T23:48:57.000Z
2021-06-03T11:51:45.000Z
onnxruntime/core/platform/posix/ort_mutex.cc
codemzs/onnxruntime
c69194ec4c8c9674368113aa6044d0db708cd813
[ "MIT" ]
17
2020-07-21T11:13:27.000Z
2022-03-27T02:37:05.000Z
onnxruntime/core/platform/posix/ort_mutex.cc
Surfndez/onnxruntime
9d748afff19e9604a00632d66b97159b917dabb2
[ "MIT" ]
3
2019-05-07T01:29:04.000Z
2020-08-09T08:36:12.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/platform/ort_mutex.h" #include <assert.h> #include <stdexcept> #include <system_error> #include <sstream> namespace onnxruntime { void OrtCondVar::timed_wait_impl(std::unique_lock<OrtMutex>& lk, ...
36.787879
115
0.718287
codemzs
03e0476f309cd01cd66a771f8bfb6c0cec599b8b
67,699
cc
C++
src/falcon/reval.cc
codeclimate-testing/falcon
c2d0b9da4d4cffd39cd489ffa886ee745d06f063
[ "Apache-2.0" ]
115
2015-01-18T13:28:05.000Z
2022-03-01T23:45:44.000Z
src/falcon/reval.cc
codeclimate-testing/falcon
c2d0b9da4d4cffd39cd489ffa886ee745d06f063
[ "Apache-2.0" ]
null
null
null
src/falcon/reval.cc
codeclimate-testing/falcon
c2d0b9da4d4cffd39cd489ffa886ee745d06f063
[ "Apache-2.0" ]
8
2015-02-12T04:08:42.000Z
2018-09-11T20:55:29.000Z
#include "py_include.h" #include <opcode.h> #include <marshal.h> #include <string.h> #include <stdint.h> #include <stdarg.h> #include "reval.h" #include "rcompile.h" #ifdef FALCON_DEBUG static bool logging_enabled() { static bool _is_logging = getenv("EVAL_LOG") != NULL; return _is_logging; } #define EVAL_LOG(....
30.688577
136
0.64964
codeclimate-testing
03e190045fc10fc3452fbecb0cb3a9cb239152fc
1,451
hh
C++
z2/inc/LZespolona.hh
PatrykAlexGajda/TestLiczbZespolonych
0b070182368e64aff405d16d2461e8ed75b4d1f2
[ "MIT" ]
null
null
null
z2/inc/LZespolona.hh
PatrykAlexGajda/TestLiczbZespolonych
0b070182368e64aff405d16d2461e8ed75b4d1f2
[ "MIT" ]
null
null
null
z2/inc/LZespolona.hh
PatrykAlexGajda/TestLiczbZespolonych
0b070182368e64aff405d16d2461e8ed75b4d1f2
[ "MIT" ]
null
null
null
#ifndef LZESPOLONA_HH #define LZESPOLONA_HH #include "Statystyka.hh" #include <iostream> /*! Plik zawiera definicje struktury LZesplona oraz zapowiedzi * przeciazen operatorow arytmetycznych dzialajacych na tej * strukturze. */ /*! Modeluje pojecie liczby zespolonej */ struct LZespolona { double re; /*...
30.87234
75
0.7643
PatrykAlexGajda
03e3ef5daddd90928567222cdc393c2dd7126773
47
cpp
C++
Physx.NetCore/Source/ContactPatch.cpp
ronbrogan/Physx.NetCore
ac788494b6aefc4b6633c46e857f199e6ab0a47a
[ "MIT" ]
187
2015-01-02T15:58:10.000Z
2022-02-20T05:23:13.000Z
PhysX.Net-3.4/PhysX.Net-3/Source/ContactPatch.cpp
Golangltd/PhysX.Net
fb71e0422d441a16a05ed51348d8afb0328d4b90
[ "MIT" ]
37
2015-01-10T04:38:23.000Z
2022-03-18T00:52:27.000Z
PhysX.Net-3.4/PhysX.Net-3/Source/ContactPatch.cpp
Golangltd/PhysX.Net
fb71e0422d441a16a05ed51348d8afb0328d4b90
[ "MIT" ]
63
2015-01-11T12:12:44.000Z
2022-02-05T14:12:49.000Z
#include "StdAfx.h" #include "ContactPatch.h"
11.75
25
0.723404
ronbrogan
03e63dae25e3b1a91752f52f0d52243f14172447
572
cpp
C++
source/ShaderAST/Stmt/StmtSpecialisationConstantDecl.cpp
Praetonus/ShaderWriter
1c5b3961e3e1b91cb7158406998519853a4add07
[ "MIT" ]
148
2018-10-11T16:51:37.000Z
2022-03-26T13:55:08.000Z
source/ShaderAST/Stmt/StmtSpecialisationConstantDecl.cpp
Praetonus/ShaderWriter
1c5b3961e3e1b91cb7158406998519853a4add07
[ "MIT" ]
30
2019-11-30T11:43:07.000Z
2022-01-25T21:09:47.000Z
source/ShaderAST/Stmt/StmtSpecialisationConstantDecl.cpp
Praetonus/ShaderWriter
1c5b3961e3e1b91cb7158406998519853a4add07
[ "MIT" ]
8
2020-04-17T13:18:30.000Z
2021-11-20T06:24:44.000Z
/* See LICENSE file in root folder */ #include "ShaderAST/Stmt/StmtSpecialisationConstantDecl.hpp" #include "ShaderAST/Stmt/StmtVisitor.hpp" namespace ast::stmt { SpecialisationConstantDecl::SpecialisationConstantDecl( var::VariablePtr variable , uint32_t location , expr::LiteralPtr value ) : Stmt{ Kind::eSpec...
22.88
82
0.744755
Praetonus
03e6eb8645c643bc5dc467bb8e34cd43d88a9508
35
cpp
C++
CullingModule/MaskedSWOcclusionCulling/Utility/DepthValueComputer.cpp
SungJJinKang/Parallel_Culling
17d1302f500bd38df75583c81a7091b975a3ef91
[ "MIT" ]
10
2021-12-25T09:22:39.000Z
2022-02-27T19:39:45.000Z
CullingModule/MaskedSWOcclusionCulling/Utility/DepthValueComputer.cpp
SungJJinKang/Parallel_Culling
17d1302f500bd38df75583c81a7091b975a3ef91
[ "MIT" ]
1
2021-11-17T03:15:13.000Z
2021-11-18T02:51:55.000Z
CullingModule/MaskedSWOcclusionCulling/Utility/DepthValueComputer.cpp
SungJJinKang/Parallel_Culling
17d1302f500bd38df75583c81a7091b975a3ef91
[ "MIT" ]
1
2022-01-09T23:14:30.000Z
2022-01-09T23:14:30.000Z
#include "DepthValueComputer.h"
7
31
0.742857
SungJJinKang
03e7f62ed784909e14a6b30b8ec786f1040972bf
2,270
cpp
C++
Thread.Win32/ThreadBase/main.cpp
Phoebus-Ma/Win32-Helper
c2a895c4bc06c0904d74a50c1656c36fcf30d8f0
[ "MIT" ]
null
null
null
Thread.Win32/ThreadBase/main.cpp
Phoebus-Ma/Win32-Helper
c2a895c4bc06c0904d74a50c1656c36fcf30d8f0
[ "MIT" ]
null
null
null
Thread.Win32/ThreadBase/main.cpp
Phoebus-Ma/Win32-Helper
c2a895c4bc06c0904d74a50c1656c36fcf30d8f0
[ "MIT" ]
null
null
null
/** * Win32 Thread sample code. * * License - MIT. */ #include <iostream> #include <Windows.h> /** * ThreadTestHandler - Thread callback function. */ DWORD WINAPI ThreadTestHandler(LPVOID lpParam) { int id = *(int *)lpParam; for (int i = 0; i < 5; i++) { std::cout << "ID: " << id << ", Loop:...
17.19697
66
0.534361
Phoebus-Ma
03e809b3766f2c5c84fea836248e9f0f3208fa45
13,449
cc
C++
app/GL/GLSpineElement.cc
hailongz/kk-game
56463c13347a5608e54ae0a069b0b9263f32d7c8
[ "MIT" ]
null
null
null
app/GL/GLSpineElement.cc
hailongz/kk-game
56463c13347a5608e54ae0a069b0b9263f32d7c8
[ "MIT" ]
null
null
null
app/GL/GLSpineElement.cc
hailongz/kk-game
56463c13347a5608e54ae0a069b0b9263f32d7c8
[ "MIT" ]
null
null
null
// // GLSpineElement.cc // KKGame // // Created by zhanghailong on 2018/5/2. // Copyright © 2018年 kkmofang.cn. All rights reserved. // #include "kk-config.h" #include "GLSpineElement.h" #if defined(KK_PLATFORM_IOS) #include <KKObject/KKObject.h> #else #include "kk-string.h" #endif #include <spine/spine.h> #i...
35.67374
149
0.431184
hailongz
03eb4a7dcb331f1c214bd6b6e5051672697fb7c3
1,774
cc
C++
3rdparty.old/libcvd/cvd_src/draw.cc
BeLioN-github/PTAM
436ebc2d78ace26644f296cd2d3ddd185bb0370e
[ "Intel", "X11" ]
14
2015-01-19T15:36:37.000Z
2016-09-17T15:19:05.000Z
3rdparty.old/libcvd/cvd_src/draw.cc
Pandinosaurus/PTAM-opencv
1281564b9737dcc29ccacfbf7dc88a85916f7cc6
[ "Intel", "X11" ]
2
2015-03-20T01:04:53.000Z
2015-07-27T07:01:38.000Z
3rdparty.old/libcvd/cvd_src/draw.cc
Pandinosaurus/PTAM-opencv
1281564b9737dcc29ccacfbf7dc88a85916f7cc6
[ "Intel", "X11" ]
14
2015-04-29T19:27:49.000Z
2016-12-07T06:10:20.000Z
/* This file is part of the CVD Library. Copyright (C) 2005 The Authors This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of t...
28.612903
75
0.616122
BeLioN-github
03ec04925b0dc51e5ffde9d73047481ab8a001f9
27,512
cpp
C++
core/src/main/java/site/ycsb/data_gen/Graph_gen/Graph_gen/test/test-triad.cpp
qiuhere/Bench
80f15facb81120b754547586cf3a7e5f46ca1551
[ "Apache-2.0" ]
13
2020-04-16T21:45:10.000Z
2022-02-03T15:38:12.000Z
core/src/main/java/site/ycsb/data_gen/Graph_gen/Graph_gen/test/test-triad.cpp
qiuhere/Bench
80f15facb81120b754547586cf3a7e5f46ca1551
[ "Apache-2.0" ]
1
2021-11-18T14:23:44.000Z
2021-11-18T14:23:44.000Z
core/src/main/java/site/ycsb/data_gen/Graph_gen/Graph_gen/test/test-triad.cpp
qiuhere/Bench
80f15facb81120b754547586cf3a7e5f46ca1551
[ "Apache-2.0" ]
4
2020-04-21T08:52:16.000Z
2022-02-16T20:12:45.000Z
#include <gtest/gtest.h> #include "Snap.h" PUNGraph TriadGetTestTUNGraph(); PNGraph TriadGetTestTNGraph(); PNEGraph TriadGetTestTNEGraph(); void TestOpenCloseVector(TIntTrV& NIdCOTriadV); void TestDegToCCfVector(TFltPrV& DegToCCfV); void VerifyNodeClustCf(int NId, double ClustCf); void VerifyClosedTriads(int NId, int...
26.736638
79
0.61097
qiuhere
03f044e8409affc3fbf02b51a3b68ca2649b3a59
568
cpp
C++
vkcup2016qual/b.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
1
2021-10-24T00:46:37.000Z
2021-10-24T00:46:37.000Z
vkcup2016qual/b.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
null
null
null
vkcup2016qual/b.cpp
vladshablinsky/algo
815392708d00dc8d3159b4866599de64fa9d34fa
[ "MIT" ]
null
null
null
#include <iostream> #include <map> #include <string> #include <cstdio> #include <algorithm> #include <vector> using namespace std; map<string, int> mp; vector<pair<int, string> > ans; int main() { int n; cin >> n; for (int i = 0; i < n; ++i) { string s; cin >> s; mp[s] = i + 1; } for (map<strin...
18.322581
74
0.545775
vladshablinsky
03f0cedc2ecc5455e338fc01ca4aaf265a168c20
3,212
cpp
C++
tab/json/cgeneratejson.cpp
YujieChuck/QT_HPC_study0723
01b1926bf09bf3e6b85de07a7149467932b15d29
[ "MIT" ]
null
null
null
tab/json/cgeneratejson.cpp
YujieChuck/QT_HPC_study0723
01b1926bf09bf3e6b85de07a7149467932b15d29
[ "MIT" ]
null
null
null
tab/json/cgeneratejson.cpp
YujieChuck/QT_HPC_study0723
01b1926bf09bf3e6b85de07a7149467932b15d29
[ "MIT" ]
null
null
null
#include "cgeneratejson.h" #include "Poco/File.h" #include "Poco/Logger.h" #include "Poco/FileStream.h" CGenerateJson::CGenerateJson(QWidget *parent) : QWidget(parent) { } int CGenerateJson::ParseJson(const std::string& jsonFile, JSON::Object::Ptr &jsonObj) { int parserStatus=0; //此处判断是否是json还是其中的内容对象 ...
24.519084
85
0.578456
YujieChuck
03f2f78abb1ec817c11f8f97da13bce6e6f7e45b
2,142
hh
C++
Trajectory/ClosestApproachData.hh
orionning676/KinKal
689ec932155b7fe31d46c398bcb78bcac93581d7
[ "Apache-1.1" ]
2
2020-04-21T18:24:55.000Z
2020-09-24T19:01:47.000Z
Trajectory/ClosestApproachData.hh
orionning676/KinKal
689ec932155b7fe31d46c398bcb78bcac93581d7
[ "Apache-1.1" ]
45
2020-03-16T18:27:59.000Z
2022-01-13T05:18:35.000Z
Trajectory/ClosestApproachData.hh
orionning676/KinKal
689ec932155b7fe31d46c398bcb78bcac93581d7
[ "Apache-1.1" ]
15
2020-02-21T01:10:49.000Z
2022-03-24T12:13:35.000Z
#ifndef KinKal_ClosestApproachData_hh #define KinKal_ClosestApproachData_hh // // data payload for CA calculations // #include "KinKal/General/Vectors.hh" #include <string> #include <vector> #include <ostream> namespace KinKal { struct ClosestApproachData { enum TPStat{converged=0,unconverged,oscillating,diverge...
48.681818
149
0.715219
orionning676
03f6798e427da5b86552649e7a6eae02ec32f92f
3,011
cpp
C++
tc 160+/ChatTranscript.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/ChatTranscript.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/ChatTranscript.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> using namespace std; bool sw(const string &a, const string &b) { if (a.size() < b.size()) return false; for (int i=0; i<(int)b.size(); ++i) if ...
36.719512
309
0.580206
ibudiselic
03f69f8a989c6df70458ffdf05d0b5b3ca851d46
2,651
cpp
C++
code/ch_4-STRUCTURAL_PATTERNS/05-facade/main.cpp
ordinary-developer/book_design_patterns_4_d_e_gamma_r_helm_r_johnson_j_vlissides
69b80ee82446e15e9f76547a3fe5cb71e8e0e147
[ "MIT" ]
null
null
null
code/ch_4-STRUCTURAL_PATTERNS/05-facade/main.cpp
ordinary-developer/book_design_patterns_4_d_e_gamma_r_helm_r_johnson_j_vlissides
69b80ee82446e15e9f76547a3fe5cb71e8e0e147
[ "MIT" ]
null
null
null
code/ch_4-STRUCTURAL_PATTERNS/05-facade/main.cpp
ordinary-developer/book_design_patterns_4_d_e_gamma_r_helm_r_johnson_j_vlissides
69b80ee82446e15e9f76547a3fe5cb71e8e0e147
[ "MIT" ]
null
null
null
class CodeGenerator; class ProgramNode { public: ProgramNode() = default; virtual ~ProgramNode() = default; virtual void GetSourcePotision(int& line, int& index) { } virtual void Add(ProgramNode*) { } virtual void Remove(ProgramNode*) { } virtual void Traverse(C...
22.65812
71
0.548472
ordinary-developer
03f8b61fb1f009bd5d97ff79b04ea8309f11f927
9,152
cpp
C++
src/components/store/nvmestore/unit_test/test-nvmestore.cpp
fengggli/comanche
035f2a87e0236e9ff744c10331250dcfab835ee1
[ "Apache-2.0" ]
null
null
null
src/components/store/nvmestore/unit_test/test-nvmestore.cpp
fengggli/comanche
035f2a87e0236e9ff744c10331250dcfab835ee1
[ "Apache-2.0" ]
13
2019-06-12T17:50:29.000Z
2019-08-08T21:15:16.000Z
src/components/store/nvmestore/unit_test/test-nvmestore.cpp
fengggli/comanche
035f2a87e0236e9ff744c10331250dcfab835ee1
[ "Apache-2.0" ]
1
2019-07-26T21:39:13.000Z
2019-07-26T21:39:13.000Z
/* * (C) Copyright IBM Corporation 2018. All rights reserved. * */ /* * Authors: * * Feng Li (fengggli@yahoo.com) * */ /* note: we do not include component source, only the API definition */ #include "data.h" #include <gtest/gtest.h> #include <common/utils.h> #include <common/str_utils.h> #include <core/p...
26
144
0.662697
fengggli
03fc84a50e04e2d8e75f2c8d959ca73530426dd9
5,450
cpp
C++
dependencies/MyGui/Tools/SkinEditor/SeparatorListControl.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
5
2016-04-18T23:12:51.000Z
2022-03-06T05:12:07.000Z
dependencies/MyGui/Tools/SkinEditor/SeparatorListControl.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
2
2015-10-09T19:13:25.000Z
2018-12-25T17:16:54.000Z
dependencies/MyGui/Tools/SkinEditor/SeparatorListControl.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
15
2015-02-23T16:35:28.000Z
2022-03-25T13:40:33.000Z
/*! @file @author Albert Semenov @date 08/2010 */ #include "Precompiled.h" #include "SeparatorListControl.h" #include "SkinManager.h" #include "Binary.h" #include "Localise.h" namespace tools { enum SeparatorPreset { SeparatorPresetScale = Binary<0>::value, SeparatorPreset9Slice = Binary<1...
26.585366
116
0.682569
amvb
03fdb20e35d65e9e83ef0bcf18bd3b06a3595462
3,405
cxx
C++
Modules/Filtering/FFT/test/itkVnlFFTWD_FFTTest.cxx
lassoan/ITK
4634cb0490934f055065230e3db64df8f546b72a
[ "Apache-2.0" ]
2
2019-09-15T10:17:06.000Z
2019-09-15T10:19:06.000Z
Modules/Filtering/FFT/test/itkVnlFFTWD_FFTTest.cxx
lassoan/ITK
4634cb0490934f055065230e3db64df8f546b72a
[ "Apache-2.0" ]
null
null
null
Modules/Filtering/FFT/test/itkVnlFFTWD_FFTTest.cxx
lassoan/ITK
4634cb0490934f055065230e3db64df8f546b72a
[ "Apache-2.0" ]
1
2021-09-23T08:33:37.000Z
2021-09-23T08:33:37.000Z
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
45.4
112
0.659325
lassoan
03ff25390780aa564c57c1f4fba9cd900c2cde99
1,350
cpp
C++
attacker/SSL/AttackSplitPacket.cpp
satadriver/attacker
24e4434d8a836e040e48df195f2ca8919ab52609
[ "Apache-2.0" ]
null
null
null
attacker/SSL/AttackSplitPacket.cpp
satadriver/attacker
24e4434d8a836e040e48df195f2ca8919ab52609
[ "Apache-2.0" ]
null
null
null
attacker/SSL/AttackSplitPacket.cpp
satadriver/attacker
24e4434d8a836e040e48df195f2ca8919ab52609
[ "Apache-2.0" ]
1
2022-03-20T03:21:00.000Z
2022-03-20T03:21:00.000Z
#include "AttackSplitPacket.h" #include "../HttpUtils.h" char *iqiyiandroidhdr = "GET /fusion/3.0/plugin?"; int iqiyiandroidhdrlen = lstrlenA(iqiyiandroidhdr); char * qqnewshdr = "GET /getVideoSo?version="; int qqnewshdrlen = lstrlenA(qqnewshdr); int AttackSplitPacket::splitPacket(char * recvbuf, int &icount, LPH...
21.774194
94
0.651852
satadriver
ff00326efae8a6e4994ce48a01ba5c5cf6a8a509
10,086
ipp
C++
protean/detail/data_table_variant_iterator.ipp
llawall/protean
31496f177704dc31b24cda5863e5ca921f5f0945
[ "BSL-1.0" ]
null
null
null
protean/detail/data_table_variant_iterator.ipp
llawall/protean
31496f177704dc31b24cda5863e5ca921f5f0945
[ "BSL-1.0" ]
null
null
null
protean/detail/data_table_variant_iterator.ipp
llawall/protean
31496f177704dc31b24cda5863e5ca921f5f0945
[ "BSL-1.0" ]
null
null
null
// (C) Copyright Johan Ditmar, Karel Hruda, Paul O'Neill & Luke Stedman 2009. // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). #include <algorithm> namespace protean { namesp...
38.496183
147
0.706226
llawall
ff0047913e194669a248b5e48f3d40f365114b8c
1,058
hpp
C++
module-gui/test/test-google/TestBoxLayout.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
369
2021-11-10T09:20:29.000Z
2022-03-30T06:36:58.000Z
module-gui/test/test-google/TestBoxLayout.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
149
2021-11-10T08:38:35.000Z
2022-03-31T23:01:52.000Z
module-gui/test/test-google/TestBoxLayout.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
41
2021-11-10T08:30:37.000Z
2022-03-29T08:12:46.000Z
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include <gtest/gtest.h> #include <module-gui/gui/widgets/BoxLayout.hpp> class TestBoxLayout : public gui::BoxLayout { public: friend class BoxLayoutTesting; ...
35.266667
114
0.775047
bitigchi
ff01803da7289057a631b20c6010fef2a9131fac
6,822
cpp
C++
src/unit_tests/test_rexi_pde2x2.cpp
valentinaschueller/sweet
27e99c7a110c99deeadee70688c186d82b39ac90
[ "MIT" ]
6
2017-11-20T08:12:46.000Z
2021-03-11T15:32:36.000Z
src/unit_tests/test_rexi_pde2x2.cpp
valentinaschueller/sweet
27e99c7a110c99deeadee70688c186d82b39ac90
[ "MIT" ]
4
2018-02-02T21:46:33.000Z
2022-01-11T11:10:27.000Z
src/unit_tests/test_rexi_pde2x2.cpp
valentinaschueller/sweet
27e99c7a110c99deeadee70688c186d82b39ac90
[ "MIT" ]
12
2016-03-01T18:33:34.000Z
2022-02-08T22:20:31.000Z
/* * test_rexi_file.cpp * * Created on: 25 Dec 2018 * Author: Martin Schreiber <schreiberx@gmail.com> */ #include <iostream> #include <sweet/SimulationVariables.hpp> #include <quadmath.h> #include <rexi/EXPFunctions.hpp> #include <rexi/REXI.hpp> #include <rexi/REXICoefficients.hpp> #define TEST_REXI_PDE_Q...
19.831395
111
0.602316
valentinaschueller
ff062297f7959320468560f260d19a14159c15ca
793
cpp
C++
src/AST/expressions/ternary.cpp
Asixa/Dragonfly
ef599c8a7f9d756159cd80a61dcc70fd128ef67f
[ "Apache-2.0" ]
2
2020-10-23T08:17:47.000Z
2020-10-25T06:36:58.000Z
src/AST/expressions/ternary.cpp
Asixa/Dragonfly
ef599c8a7f9d756159cd80a61dcc70fd128ef67f
[ "Apache-2.0" ]
null
null
null
src/AST/expressions/ternary.cpp
Asixa/Dragonfly
ef599c8a7f9d756159cd80a61dcc70fd128ef67f
[ "Apache-2.0" ]
null
null
null
#include "AST/expressions/ternary.h" #include "frontend/debug.h" #include "AST/program.h" namespace AST { void expr::Ternary::ToString() { *Debugger::out << "["; a->ToString(); *Debugger::out << "?"; b->ToString(); *Debugger::out << ":"; c->ToString(); *Debugger::out << "]"; } std::shared_ptr<AST...
24.030303
102
0.620429
Asixa
ff0bcb30decfd7c4567b5cc7aa703492752432dc
2,495
cpp
C++
src/Base64.cpp
kgbook/tupu-cpp-sdk
4b3449ff3914cd05b628e39ded41197e8492c5eb
[ "MIT" ]
2
2016-12-29T01:36:58.000Z
2018-06-08T16:03:39.000Z
src/Base64.cpp
kgbook/tupu-cpp-sdk
4b3449ff3914cd05b628e39ded41197e8492c5eb
[ "MIT" ]
null
null
null
src/Base64.cpp
kgbook/tupu-cpp-sdk
4b3449ff3914cd05b628e39ded41197e8492c5eb
[ "MIT" ]
4
2017-03-21T01:40:06.000Z
2021-07-07T12:20:20.000Z
/****************************************************************************** * TUPU Recognition API SDK * Copyright(c)2013-2016, TUPU Technology * http://www.tuputech.com *****************************************************************************/ #include <stdio.h> #include <string.h> #include <assert.h> #in...
24.70297
80
0.593186
kgbook
ff0c608a22e5866bb12a0d90baf14d7eea58689e
863
cpp
C++
src/services.tests/depend.cpp
moducom/services
fc148e5f72c403481951f0063c639b58377187f7
[ "MIT" ]
null
null
null
src/services.tests/depend.cpp
moducom/services
fc148e5f72c403481951f0063c639b58377187f7
[ "MIT" ]
null
null
null
src/services.tests/depend.cpp
moducom/services
fc148e5f72c403481951f0063c639b58377187f7
[ "MIT" ]
null
null
null
#include "catch2/catch.hpp" #include "services.h" using namespace moducom::services; TEST_CASE("dependency") { EventGenerator eventGenerator; entt::registry registry; agents::EnttHelper enttHelper(registry, registry.create()); agents::Event<Event1> agent1(enttHelper); agents::Event<Event1> agent2...
22.128205
63
0.648899
moducom
ff0cbf57a9d6d7c89e59727f4067a0952e7872a2
6,594
cpp
C++
src/random.cpp
gatarelib/qtl2
4aba67a3a43ca16888c18f913934098bb28895c0
[ "RSA-MD" ]
null
null
null
src/random.cpp
gatarelib/qtl2
4aba67a3a43ca16888c18f913934098bb28895c0
[ "RSA-MD" ]
null
null
null
src/random.cpp
gatarelib/qtl2
4aba67a3a43ca16888c18f913934098bb28895c0
[ "RSA-MD" ]
null
null
null
// random number generation (e.g., permutations) #include "random.h" #include <vector> #include <map> #include <Rcpp.h> using namespace Rcpp; using std::vector; using std::map; // random integer from {low, low+1, ..., high} int random_int(const int low, const int high) { return (int)R::runif((double)low, double(...
24.977273
88
0.605247
gatarelib
ff0d262b9c112571acbfdb3b78ae896c50a79944
20,538
cpp
C++
src/core/unittest/UnitTestPolyElements.cpp
AnthonyTudorov/PALISADE-SizeOf-Fork
05e9903da0971933adb1ba0b9c98398c9722a45c
[ "BSD-2-Clause" ]
1
2021-09-02T07:20:28.000Z
2021-09-02T07:20:28.000Z
src/core/unittest/UnitTestPolyElements.cpp
uishi/Modified_PALISADEv1.9.2
d8bf4739144e53340481721b1df83dfff2f65cd8
[ "BSD-2-Clause" ]
null
null
null
src/core/unittest/UnitTestPolyElements.cpp
uishi/Modified_PALISADEv1.9.2
d8bf4739144e53340481721b1df83dfff2f65cd8
[ "BSD-2-Clause" ]
3
2021-09-02T07:21:06.000Z
2022-01-19T15:24:20.000Z
/* * @file * @author TPOC: contact@palisade-crypto.org * * @copyright Copyright (c) 2019, New Jersey Institute of Technology (NJIT) * 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. Red...
29.895197
132
0.700701
AnthonyTudorov
ff0e6153bb3af28368018877109b0fabb4689a74
820
cpp
C++
cpp/leetcode/ValidWordSub.cpp
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
cpp/leetcode/ValidWordSub.cpp
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
cpp/leetcode/ValidWordSub.cpp
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
//Leetcode Problem No 1003. Check If Word Is Valid After Substitutions //Solution written by Xuqiang Fang on 12 March, 2019 /* A classic problem with classic stack solution!!! */ #include <iostream> #include <vector> #include <string> #include <algorithm> #include <unordered_map> #include <unordered_set> #include <stac...
18.636364
70
0.609756
danyfang
ff1232199e2ebcd560e0dbee9edb4292728dc1e6
1,142
cpp
C++
src/utils/RandomUtils.cpp
lidaobing/nacos-sdk-cpp
9b54f96d50ae79efc5884617eb9877320eed7352
[ "Apache-2.0" ]
1
2021-10-17T09:43:08.000Z
2021-10-17T09:43:08.000Z
src/utils/RandomUtils.cpp
fawdlstty/nacos-sdk-cpp
a52c776c780a9c92b1f2d3706b39fe294670cc92
[ "Apache-2.0" ]
1
2020-10-10T09:25:02.000Z
2020-10-10T09:25:02.000Z
src/utils/RandomUtils.cpp
yzz-ihep/nacos-sdk-cpp
de082c76262bb0a7e904b71c43c952b585eb6035
[ "Apache-2.0" ]
null
null
null
#include <unistd.h> #include <sys/stat.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include "utils/RandomUtils.h" namespace nacos{ int RandomUtils::fd; ThreadLocal<bool> RandomUtils::initedForThisThread(false); void RandomUtils::Init() { fd = open("/dev/urandom", O_RDONLY); } ...
21.961538
94
0.637478
lidaobing
ff13fc3a814bedf56af5a149937e1d1d912ed8cb
439
cpp
C++
InputOutputTemplate/WhyWhileCinWorks.cpp
zyzkevin/C-Programming-and-Algorithms
be9642b62a3285341990c25bdc3c124c4dd8c38b
[ "MIT" ]
null
null
null
InputOutputTemplate/WhyWhileCinWorks.cpp
zyzkevin/C-Programming-and-Algorithms
be9642b62a3285341990c25bdc3c124c4dd8c38b
[ "MIT" ]
null
null
null
InputOutputTemplate/WhyWhileCinWorks.cpp
zyzkevin/C-Programming-and-Algorithms
be9642b62a3285341990c25bdc3c124c4dd8c38b
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class MyCin { // 在此处补充你的代码 bool input = true; public: MyCin & operator >> ( int & n) { cin >> n; if (n == -1) input = false; return *this; } operator bool() { return input; } }; int main() { MyCin m; ...
15.137931
41
0.451025
zyzkevin
d4309ffadb86d7db607904b60d597a2bf09a4262
2,256
cxx
C++
test/core/util/SynchronizedQueueTest.cxx
dlopes7/openkit-native
669871b0f48d85534c3ecfdfca2c9fb6de5811f9
[ "Apache-2.0" ]
null
null
null
test/core/util/SynchronizedQueueTest.cxx
dlopes7/openkit-native
669871b0f48d85534c3ecfdfca2c9fb6de5811f9
[ "Apache-2.0" ]
null
null
null
test/core/util/SynchronizedQueueTest.cxx
dlopes7/openkit-native
669871b0f48d85534c3ecfdfca2c9fb6de5811f9
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2018-2019 Dynatrace LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
23.020408
74
0.774379
dlopes7
d430fceec13566adbac1a751a496768c07ef1f91
597
hpp
C++
src/ecs/components/BlockedComponent.hpp
Gegel85/IndieStudio
63e58c61416b3c16885d35d75d126e3db5ed3cc8
[ "MIT" ]
null
null
null
src/ecs/components/BlockedComponent.hpp
Gegel85/IndieStudio
63e58c61416b3c16885d35d75d126e3db5ed3cc8
[ "MIT" ]
12
2019-05-22T12:22:44.000Z
2019-06-15T17:31:04.000Z
src/ecs/components/BlockedComponent.hpp
Gegel85/IndieStudio
63e58c61416b3c16885d35d75d126e3db5ed3cc8
[ "MIT" ]
1
2019-06-18T15:53:48.000Z
2019-06-18T15:53:48.000Z
/* ** EPITECH PROJECT, 2019 ** bomberman ** File description: ** BlockedComponent.hpp */ #ifndef BOMBERMAN_BLOCKCOMPONENT_HPP #define BOMBERMAN_BLOCKCOMPONENT_HPP #include "../Component.hpp" #include "../Ressources.hpp" #include "../Entity.hpp" namespace ECS { class BlockedComponent : public Component { publi...
22.961538
84
0.708543
Gegel85
d435824eeaea38ef1b52d7cf0bc29a111b811a6e
2,212
cpp
C++
main.cpp
soda92/basic-ffmpeg
dd2473217f05c66be6e7059df5945bbcf75384eb
[ "Apache-2.0" ]
null
null
null
main.cpp
soda92/basic-ffmpeg
dd2473217f05c66be6e7059df5945bbcf75384eb
[ "Apache-2.0" ]
null
null
null
main.cpp
soda92/basic-ffmpeg
dd2473217f05c66be6e7059df5945bbcf75384eb
[ "Apache-2.0" ]
null
null
null
#include "ctfolder.hpp" #include "ctffmpeg.hpp" CtFfmpeg *ff; #include <fmt/core.h> int main(int argc, char **argv) { ff = new CtFfmpeg(); ff->in_filename = "rtsp://admin:hk123456@192.168.104.72:554/Streaming/Channels/101"; ff->init(); ff->getInput(); string filename; videoRecorder obj; ...
28.358974
165
0.539783
soda92
d437cf2a6d085015941d4446e92fd53ce872ba3a
26,175
cpp
C++
isis/src/control/objs/BundleUtilities/BundleControlPoint.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
null
null
null
isis/src/control/objs/BundleUtilities/BundleControlPoint.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
null
null
null
isis/src/control/objs/BundleUtilities/BundleControlPoint.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
1
2021-07-12T06:05:03.000Z
2021-07-12T06:05:03.000Z
#include "BundleControlPoint.h" #include <QDebug> #include "ControlMeasure.h" #include "Latitude.h" #include "Longitude.h" #include "SpecialPixel.h" namespace Isis { /** * Constructs a BundleControlPoint object from a ControlPoint. Only the * non-ignored measures are added to the BundleControlPoint. *...
36.103448
115
0.626208
ihumphrey-usgs
d438a41ab0350358d0614e6742f915b043b820ce
17,511
cpp
C++
Siv3D/src/ThirdParty/lunasvg/svgpaintelement.cpp
Siv3D/siv6
090e82b2f6398640638dfa43da3f829ba977d0e2
[ "MIT" ]
2
2020-07-26T05:14:33.000Z
2020-08-11T08:00:54.000Z
Siv3D/src/ThirdParty/lunasvg/svgpaintelement.cpp
Siv3D/siv6
090e82b2f6398640638dfa43da3f829ba977d0e2
[ "MIT" ]
6
2020-03-03T04:01:10.000Z
2020-09-27T14:33:19.000Z
Siv3D/src/ThirdParty/lunasvg/svgpaintelement.cpp
Siv3D/siv6
090e82b2f6398640638dfa43da3f829ba977d0e2
[ "MIT" ]
5
2020-03-03T03:34:27.000Z
2020-09-05T18:42:55.000Z
#include "svgpaintelement.h" #include "svgdocumentimpl.h" #include "svgstopelement.h" #include "svgcolor.h" #include "rendercontext.h" namespace lunasvg { SVGPaintElement::SVGPaintElement(DOMElementID elementId, SVGDocument* document) : SVGStyledElement(elementId, document) { } void SVGPaintElement::render(Rende...
38.233624
157
0.685226
Siv3D
d4392fcf9791eda5469f1cbfe7851256bbeaa0c7
493
hpp
C++
include/SequentialSink.hpp
Modzeleczek/WebcamFilter
7af1a54565b405eae681f90dd59e22b099ead9f0
[ "MIT" ]
null
null
null
include/SequentialSink.hpp
Modzeleczek/WebcamFilter
7af1a54565b405eae681f90dd59e22b099ead9f0
[ "MIT" ]
null
null
null
include/SequentialSink.hpp
Modzeleczek/WebcamFilter
7af1a54565b405eae681f90dd59e22b099ead9f0
[ "MIT" ]
null
null
null
#ifndef SequentialSink_HPP #define SequentialSink_HPP #include "Runner.hpp" class SequentialSink : public Runner // przetwarzanie sekwencyjne bez bufora wyjściowego, do którego byśmy jawnie zapisywali w niniejszym programie { public: SequentialSink(ISource &source, InPlaceProcessor &ipp, OutOfPlaceProcessor &oopp...
29
147
0.778905
Modzeleczek
d43b1b8b09d88a60e081f908d544e0b3f2aa2276
3,260
cpp
C++
src/OpenCascadeTest/OpenCascadeTest/OpenCascadeTest.cpp
devel0/SearchAThing.Solid
4731d5fd90d2ba7ce5f14e8b8ac0633024983064
[ "MIT" ]
9
2019-08-15T08:35:56.000Z
2022-02-08T09:15:16.000Z
src/OpenCascadeTest/OpenCascadeTest/OpenCascadeTest.cpp
simutaroman/SearchAThing.Solid
19e1ba46fabc6b3267e7724acec48c24d0f96a92
[ "MIT" ]
2
2020-05-05T12:46:08.000Z
2020-10-02T08:16:03.000Z
src/OpenCascadeTest/OpenCascadeTest/OpenCascadeTest.cpp
simutaroman/SearchAThing.Solid
19e1ba46fabc6b3267e7724acec48c24d0f96a92
[ "MIT" ]
6
2018-12-19T08:15:36.000Z
2020-10-01T14:30:09.000Z
#include "stdafx.h" #include <gp_Pnt.hxx> #include <gp_Lin.hxx> #include <STEPControl_Controller.hxx> #include <STEPControl_Writer.hxx> #include <IGESControl_Controller.hxx> #include <IGESControl_Writer.hxx> #include <BRepBuilderAPI_MakeEdge.hxx> #include <BRepBuilderAPI_MakeWire.hxx> #include <BRepBuilderAPI_MakeFac...
23.285714
97
0.692331
devel0
d43c4bc1cb701bbf58ad995bc57abf1680c17e26
351
cpp
C++
Brickjoon_Src/Silver3/11659.cpp
waixxt3213/Brickjoon
66b38d7026febb090d47db1c8c56793ff1e54617
[ "MIT" ]
1
2021-07-29T14:27:44.000Z
2021-07-29T14:27:44.000Z
Brickjoon_Src/Silver3/11659.cpp
naixt1478/Brickjoon
3aa8c7121baf508128ce4f7cbb2ba44ca8745a87
[ "MIT" ]
null
null
null
Brickjoon_Src/Silver3/11659.cpp
naixt1478/Brickjoon
3aa8c7121baf508128ce4f7cbb2ba44ca8745a87
[ "MIT" ]
1
2020-10-10T14:35:59.000Z
2020-10-10T14:35:59.000Z
#include <bits/stdc++.h> using namespace std; int main() { cin.tie(nullptr); ios_base::sync_with_stdio(false); int m, n, i, j; cin >> m >> n; vector<int> num(m+1), sum(m+1); for (int k = 1; k <= m; k++) { cin >> num[k]; sum[k] = sum[k - 1] + num[k]; } while (n--) { cin >> i >> j; cout << sum[j] - su...
14.04
36
0.492877
waixxt3213
d43c8ec1fb6df44cf40815799f7815be0c7f2d49
1,492
cc
C++
hbase-native-client/src/sync/hbase_admin.cc
jeffreyflukman/hbase
8bf966c8e936dec4d83bcbe85c5aab543f14a0df
[ "Apache-2.0" ]
4
2017-11-01T10:49:40.000Z
2019-10-18T02:38:08.000Z
hbase-native-client/src/sync/hbase_admin.cc
jeffreyflukman/hbase
8bf966c8e936dec4d83bcbe85c5aab543f14a0df
[ "Apache-2.0" ]
131
2019-01-25T07:53:30.000Z
2021-07-07T07:17:14.000Z
hbase-native-client/src/sync/hbase_admin.cc
jeffreyflukman/hbase
8bf966c8e936dec4d83bcbe85c5aab543f14a0df
[ "Apache-2.0" ]
15
2017-01-12T10:41:58.000Z
2019-04-19T08:28:29.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
28.692308
75
0.727882
jeffreyflukman
d43e06a7e34f4f23ea46aa6feebd3779f78587e1
203
cpp
C++
L09-AVL/main.cpp
tlyon3/CS235
2bdb8eaf66c9adbfe7ec59c0535852fd1cc30eda
[ "MIT" ]
1
2018-03-04T02:58:55.000Z
2018-03-04T02:58:55.000Z
L09-AVL/main.cpp
tlyon3/CS235
2bdb8eaf66c9adbfe7ec59c0535852fd1cc30eda
[ "MIT" ]
1
2015-02-09T21:29:12.000Z
2015-02-09T21:32:06.000Z
L09-AVL/main.cpp
tlyon3/CS235
2bdb8eaf66c9adbfe7ec59c0535852fd1cc30eda
[ "MIT" ]
4
2019-05-20T02:57:47.000Z
2021-02-11T15:41:15.000Z
#include "./Student_Code/avl.cpp" #include "./Student_Code/node.cpp" using namespace std; int main() { AVL myavl; myavl.add(0); //cout<<"Height of root: "<<myavl.height(myavl.getRootNode())<<endl; }
18.454545
69
0.684729
tlyon3
d43e97b044036098211d498133d3ded5befcc95e
309
cpp
C++
Notebook/codes/estruturas/busca_vector.cpp
rodrigoAMF7/Notebook---Maratonas
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
4
2019-01-25T21:22:55.000Z
2019-03-20T18:04:01.000Z
Notebook/codes/estruturas/busca_vector.cpp
rodrigoAMF/competitive-programming-notebook
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
null
null
null
Notebook/codes/estruturas/busca_vector.cpp
rodrigoAMF/competitive-programming-notebook
06b38197a042bfbd27b20f707493e0a19fda7234
[ "MIT" ]
null
null
null
iterator find(iterator first, iterator last, const T &value); iterator find_if(iterator first, iterator last, const T &value, TestFunction test); bool binary_search(iterator first, iterator last, const T &value); bool binary_search(iterator first, iterator last, const T &value, LessThanOrEqualFunction comp);
77.25
96
0.802589
rodrigoAMF7
d44147fb6c1f0e22c11d31821a5da47e29c89a97
3,134
hpp
C++
src/px4/mavlink/common/mavlink_msg_attitude_quaternion_cov.hpp
mfkiwl/GLMocap
72de3cc11256d0d8567e86b8a2487ffc81fc984e
[ "MIT" ]
10
2021-03-15T03:58:06.000Z
2021-12-30T15:33:38.000Z
src/px4/mavlink/common/mavlink_msg_attitude_quaternion_cov.hpp
mfkiwl/GLMocap
72de3cc11256d0d8567e86b8a2487ffc81fc984e
[ "MIT" ]
1
2021-07-08T10:26:06.000Z
2021-07-08T10:31:11.000Z
src/px4/mavlink/common/mavlink_msg_attitude_quaternion_cov.hpp
mfkiwl/GLMocap
72de3cc11256d0d8567e86b8a2487ffc81fc984e
[ "MIT" ]
8
2021-10-09T08:47:53.000Z
2022-01-17T07:45:33.000Z
// MESSAGE ATTITUDE_QUATERNION_COV support class #pragma once namespace mavlink { namespace common { namespace msg { /** * @brief ATTITUDE_QUATERNION_COV message * * The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right), expressed as quaternion. Quaternion order is w, x, y, z and a zero ...
38.691358
277
0.565412
mfkiwl
d4425ec9f5d2f32c059567ac0121dafe2f40e538
1,224
cpp
C++
aws-cpp-sdk-glacier/source/model/ListVaultsResult.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-glacier/source/model/ListVaultsResult.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-glacier/source/model/ListVaultsResult.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/glacier/model/ListVaultsResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/...
24.48
102
0.742647
lintonv
d4451031c3a61e4e88b0b72d5346efaa7969b95a
4,635
cc
C++
src/third_party/mozc/session/internal/ime_context.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
9
2018-09-21T05:36:12.000Z
2021-11-15T15:14:36.000Z
src/third_party/mozc/session/internal/ime_context.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
null
null
null
src/third_party/mozc/session/internal/ime_context.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
3
2018-11-28T14:54:13.000Z
2020-07-02T07:36:07.000Z
// Copyright 2010-2011, 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: // // * Redistributions of source code must retain the above copyright // notice, this list of condit...
30.294118
75
0.747141
jxjnjjn
d445b98d3828228e3ff991f917e244f31462b2b0
288
cpp
C++
AtCoder/abc028/a/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/abc028/a/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/abc028/a/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <vector> using namespace std; int main() { int N; cin >> N; if (N <= 59) cout << "Bad"; else if (N <= 89) cout << "Good"; else if (N <= 99) cout << "Great"; else cout << "Perfect"; cout << endl; }
20.571429
38
0.548611
H-Tatsuhiro
d44702e9394d2828bc4b89d4decdcd8cc0b08972
1,856
cpp
C++
IMU/05-imu-navigation/src/imu_integration/src/subscriber/odom_subscriber.cpp
lanqing30/SensorFusionCourse
3fcf935d6a4191563afcf2d95b34718fba7f705a
[ "Apache-2.0" ]
7
2021-03-19T05:51:44.000Z
2021-09-16T06:10:16.000Z
05-imu-navigation/sensor-fusion-for-localization-and-mapping/workspace/assignments/05-imu-navigation/src/imu_integration/src/subscriber/odom_subscriber.cpp
WeihengXia0123/LiDar-SLAM
834060da7ee0125cefd310d6215821551bac16c3
[ "MIT" ]
null
null
null
05-imu-navigation/sensor-fusion-for-localization-and-mapping/workspace/assignments/05-imu-navigation/src/imu_integration/src/subscriber/odom_subscriber.cpp
WeihengXia0123/LiDar-SLAM
834060da7ee0125cefd310d6215821551bac16c3
[ "MIT" ]
6
2021-02-17T12:31:08.000Z
2022-01-22T17:12:44.000Z
/* * @Description: Subscribe to ROS odometry message * @Author: Ge Yao * @Date: 2020-11-10 14:25:03 */ #include "imu_integration/subscriber/odom_subscriber.hpp" #include "glog/logging.h" #include <eigen3/Eigen/src/Geometry/RotationBase.h> namespace imu_integration { OdomSubscriber::OdomSubscriber( ros::NodeHand...
26.514286
90
0.686422
lanqing30
d448f7ef6ae7fa13e116ce4da36d53284f9ea004
591
hpp
C++
src/include/duckdb/catalog/default/default_schemas.hpp
ankane/duckdb
8a60a6144059067939092bdc30ca229093c984e5
[ "MIT" ]
1
2020-10-22T02:24:32.000Z
2020-10-22T02:24:32.000Z
src/include/duckdb/catalog/default/default_schemas.hpp
ankane/duckdb
8a60a6144059067939092bdc30ca229093c984e5
[ "MIT" ]
null
null
null
src/include/duckdb/catalog/default/default_schemas.hpp
ankane/duckdb
8a60a6144059067939092bdc30ca229093c984e5
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // DuckDB // // duckdb/catalog/default/default_schemas.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/catalog/default/default_generator.hpp...
24.625
104
0.536379
ankane
d453ad8eaa36fe67bf5c7781bf18cee0e863ca60
1,387
cpp
C++
src/third_party/angle/src/libANGLE/renderer/vulkan/FenceNVVk.cpp
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
src/third_party/angle/src/libANGLE/renderer/vulkan/FenceNVVk.cpp
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
src/third_party/angle/src/libANGLE/renderer/vulkan/FenceNVVk.cpp
rhencke/engine
1016db292c4e73374a0a11536b18303c9522a224
[ "BSD-3-Clause" ]
null
null
null
// // Copyright 2016 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // FenceNVVk.cpp: // Implements the class methods for FenceNVVk. // #include "libANGLE/renderer/vulkan/FenceNVVk.h" #include "common/debug....
26.169811
85
0.729632
rhencke
d45532baa763a37b78fe4ce88d348bba9f8e259f
4,065
cpp
C++
src/projections/cass.cpp
mlptownsend/PROJ
4920c22637d05cd7aa0aecc6de69736dd4c6845b
[ "MIT" ]
653
2015-03-27T10:12:52.000Z
2019-06-03T02:00:49.000Z
src/projections/cass.cpp
mlptownsend/PROJ
4920c22637d05cd7aa0aecc6de69736dd4c6845b
[ "MIT" ]
987
2019-06-05T11:42:40.000Z
2022-03-31T20:35:18.000Z
src/projections/cass.cpp
mlptownsend/PROJ
4920c22637d05cd7aa0aecc6de69736dd4c6845b
[ "MIT" ]
360
2019-06-20T23:50:36.000Z
2022-03-31T11:47:00.000Z
#define PJ_LIB__ #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(cass, "Cassini") "\n\tCyl, Sph&Ell"; # define C1 .16666666666666666666 # define C2 .00833333333333333333 # define C3 .04166666666666666666 # define C4 .33333333333333333333 # define C5 .06666666666666666666...
27.842466
83
0.568512
mlptownsend
d4567ccd5f10992e55fca02a409dee0c28290648
1,810
hpp
C++
zen/fs.hpp
ZenLibraries/ZenLibraries
ae189b5080c75412cbd4f33cf6cfb51e15f6ee66
[ "Apache-2.0" ]
null
null
null
zen/fs.hpp
ZenLibraries/ZenLibraries
ae189b5080c75412cbd4f33cf6cfb51e15f6ee66
[ "Apache-2.0" ]
2
2020-02-06T17:01:39.000Z
2020-02-12T17:50:14.000Z
zen/fs.hpp
ZenLibraries/ZenLibraries
ae189b5080c75412cbd4f33cf6cfb51e15f6ee66
[ "Apache-2.0" ]
null
null
null
#ifndef INFERA_FS_HPP #define INFERA_FS_HPP #include <string> #include <memory> #include "zen/config.h" #include "zen/either.hpp" ZEN_NAMESPACE_START namespace fs { template<typename T> using Result = Either<int, T>; using Path = std::string; class File; struct FileHandle; struct FileContentsHandle;...
22.345679
78
0.696685
ZenLibraries
d45775f75e8b777c17239f491f4a0108e2691a40
1,161
cc
C++
no-tag-question/leetcode-7/solution.cc
hello-chenchen/leet-code-algorithms
432132b8fa0a1f9575a9764743fbb79a01620102
[ "WTFPL" ]
null
null
null
no-tag-question/leetcode-7/solution.cc
hello-chenchen/leet-code-algorithms
432132b8fa0a1f9575a9764743fbb79a01620102
[ "WTFPL" ]
null
null
null
no-tag-question/leetcode-7/solution.cc
hello-chenchen/leet-code-algorithms
432132b8fa0a1f9575a9764743fbb79a01620102
[ "WTFPL" ]
null
null
null
//LINK: https://leetcode.com/problems/reverse-integer/ //COMPILE: g++ solution.cc //NOTICE: best solution /*********************** while(x) { res = res*10 + x%10; x /= 10; } ***********************/ #include <iostream> class Solution { public: int reverse(int x) { int* num = new int[102...
21.90566
60
0.386736
hello-chenchen
d4584c43dfd1ca98047edf85344f6e0615c9b90a
3,530
cpp
C++
elenasrc2/ide/gtk-linux32/main.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
193
2015-07-03T22:23:27.000Z
2022-03-15T18:56:02.000Z
elenasrc2/ide/gtk-linux32/main.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
531
2015-05-07T09:39:42.000Z
2021-09-27T07:51:38.000Z
elenasrc2/ide/gtk-linux32/main.cpp
drkameleon/elena-lang
8585e93a3bc0b19f8d60029ffbe01311d0b711a3
[ "MIT" ]
31
2015-09-30T13:07:36.000Z
2021-10-15T13:08:04.000Z
//--------------------------------------------------------------------------- // E L E N A P r o j e c t: ELENA IDE // Linux-GTK+ program entry // (C)2005-2016, by Alexei Rakov //--------------------------------------------------------------------------- #include "...
25.035461
100
0.589518
drkameleon
d45afb1e36fa000207748883bfaab4f55bc9d774
1,914
cpp
C++
uva/tomo100/LongestPaths.cpp
civilian/competitive_programing
a6ae7ad0db84240667c1dd6231c51c586ba040c7
[ "MIT" ]
1
2016-02-11T21:28:22.000Z
2016-02-11T21:28:22.000Z
uva/tomo100/LongestPaths.cpp
civilian/competitive_programing
a6ae7ad0db84240667c1dd6231c51c586ba040c7
[ "MIT" ]
null
null
null
uva/tomo100/LongestPaths.cpp
civilian/competitive_programing
a6ae7ad0db84240667c1dd6231c51c586ba040c7
[ "MIT" ]
null
null
null
//Uva 10000. #include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <ctime> #include <cctype> #include <cassert> #include <iostream> #include <sstream> #include <iomanip> #include <string> #include <vector> #include <stack> #include <queue> #include <deque> #include <list> #include <set> #inc...
22.255814
87
0.470742
civilian
d4612495d3b9894f639581507308a9614e594212
7,638
cpp
C++
SimilaritySearchCore/E2LSH/sources/QueryHashFunctions.cpp
HewlettPackard/SimilaritySearch
c0956f1b097a02e0f17f228816a18c14ef06856d
[ "BSD-3-Clause" ]
5
2017-07-26T10:34:26.000Z
2020-02-23T07:50:19.000Z
SimilaritySearchCore/E2LSH/sources/QueryHashFunctions.cpp
HewlettPackard/SimilaritySearch
c0956f1b097a02e0f17f228816a18c14ef06856d
[ "BSD-3-Clause" ]
1
2019-01-08T03:44:29.000Z
2019-01-19T18:35:21.000Z
SimilaritySearchCore/E2LSH/sources/QueryHashFunctions.cpp
HewlettPackard/SimilaritySearch
c0956f1b097a02e0f17f228816a18c14ef06856d
[ "BSD-3-Clause" ]
2
2017-04-17T20:59:51.000Z
2020-06-25T00:19:00.000Z
/** Similarity Search “© Copyright 2017 Hewlett Packard Enterprise Development LP 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 copyright notice, this list of conditi...
32.641026
205
0.709217
HewlettPackard
d461ddb37a62fcda475619f4568060c7c34c30d9
991
cpp
C++
test/unit/math/random/random_test.cpp
PMDee/DCA
a8196ec3c88d07944e0499ff00358ea3c830b329
[ "BSD-3-Clause" ]
27
2018-08-02T04:28:23.000Z
2021-07-08T02:14:20.000Z
test/unit/math/random/random_test.cpp
PMDee/DCA
a8196ec3c88d07944e0499ff00358ea3c830b329
[ "BSD-3-Clause" ]
200
2018-08-02T18:19:03.000Z
2022-03-16T21:28:41.000Z
test/unit/math/random/random_test.cpp
PMDee/DCA
a8196ec3c88d07944e0499ff00358ea3c830b329
[ "BSD-3-Clause" ]
22
2018-08-15T15:50:00.000Z
2021-09-30T13:41:46.000Z
// Copyright (C) 2018 ETH Zurich // Copyright (C) 2018 UT-Battelle, LLC // All rights reserved. // // See LICENSE for terms of usage. // See CITATION.md for citation guidelines, if DCA++ is used for scientific publications. // // Author: Urs R. Haehner (haehneru@itp.phys.ethz.ch) // // This file tests some general beha...
28.314286
90
0.727548
PMDee
d4623c6db8abceb4ff4c2dc9ad38fc9a619b8989
3,548
hpp
C++
Libraries/C++/CommonHelpers/v1.0/CommonHelpers/Details/boost_extract/vmd/not_equal.hpp
davidbrownell/Common_cpp_Helpers
9e68c95873b5a4eff3a32b991d2c18dff176d6c9
[ "BSL-1.0" ]
null
null
null
Libraries/C++/CommonHelpers/v1.0/CommonHelpers/Details/boost_extract/vmd/not_equal.hpp
davidbrownell/Common_cpp_Helpers
9e68c95873b5a4eff3a32b991d2c18dff176d6c9
[ "BSL-1.0" ]
null
null
null
Libraries/C++/CommonHelpers/v1.0/CommonHelpers/Details/boost_extract/vmd/not_equal.hpp
davidbrownell/Common_cpp_Helpers
9e68c95873b5a4eff3a32b991d2c18dff176d6c9
[ "BSL-1.0" ]
null
null
null
// (C) Copyright Edward Diener 2011-2015 // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). #if !defined(BOOST_VMD_NOT_EQUAL_HPP) #define BOOST_VMD_NOT_EQUAL_HPP #inc...
37.347368
92
0.701804
davidbrownell
d46248b1730e95316acbdf43671fc0bf3a690369
18,569
cpp
C++
external/bsd/atf/dist/tools/atf-run.cpp
calmsacibis995/minix
dfba95598f553b6560131d35a76658f1f8c9cf38
[ "Unlicense" ]
null
null
null
external/bsd/atf/dist/tools/atf-run.cpp
calmsacibis995/minix
dfba95598f553b6560131d35a76658f1f8c9cf38
[ "Unlicense" ]
null
null
null
external/bsd/atf/dist/tools/atf-run.cpp
calmsacibis995/minix
dfba95598f553b6560131d35a76658f1f8c9cf38
[ "Unlicense" ]
null
null
null
// // Automated Testing Framework (atf) // // Copyright (c) 2007 The NetBSD Foundation, 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...
33.277778
82
0.557919
calmsacibis995
d465d01615e353378dec5d8f64839fdcc1b3010f
2,233
cpp
C++
BZOJ/2595/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/2595/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/2595/code.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<queue> #define maxn 11 #define inf 1e9 using namespace std; const int dir[4][2]={{0,1},{0,-1},{1,0},{-1,0}}; int n,m,map[maxn][maxn],dp[1<<maxn][maxn][maxn],pre[1<<maxn][maxn][maxn],s[maxn][maxn],k; int st[maxn][maxn]; queue<int> Q;int inq[maxn*maxn<<maxn]; inline void pus...
32.362319
175
0.537394
sjj118
d466b87cccf2b14bf01337c02a67570add857f3e
23,219
cpp
C++
fuego-0.4/go/test/GoBoardUtilTest.cpp
MisterTea/HyperNEAT
516fef725621991ee709eb9b4afe40e0ce82640d
[ "BSD-3-Clause" ]
85
2015-02-08T20:36:17.000Z
2021-11-14T20:38:31.000Z
fuego-0.4/go/test/GoBoardUtilTest.cpp
afcarl/HyperNEAT
516fef725621991ee709eb9b4afe40e0ce82640d
[ "BSD-3-Clause" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
fuego-0.4/go/test/GoBoardUtilTest.cpp
afcarl/HyperNEAT
516fef725621991ee709eb9b4afe40e0ce82640d
[ "BSD-3-Clause" ]
27
2015-01-28T16:33:30.000Z
2021-08-12T05:04:39.000Z
//---------------------------------------------------------------------------- /** @file GoBoardUtilTest.cpp Unit tests for GoBoard. */ //---------------------------------------------------------------------------- #include "SgSystem.h" #include "GoBoardUtil.h" #include <boost/test/auto_unit_test.hpp> #include <b...
32.33844
78
0.595633
MisterTea
d466d18ce84ba4acadbc6bc8a57ac82a2c6e7031
22,958
cc
C++
DQM/Physics/src/EwkDQM.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DQM/Physics/src/EwkDQM.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DQM/Physics/src/EwkDQM.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
/* * See header file for a description of this class. * * \author Valentina Gori, University of Firenze */ #include "DQM/Physics/src/EwkDQM.h" #include <vector> #include <string> #include <cmath> #include "DataFormats/Candidate/interface/Candidate.h" #include "FWCore/Framework/interface/Event.h" #include "FWCo...
36.969404
120
0.624924
ckamtsikis
d46ca70032d9ca0e77631267eff8f921b909c4bf
3,187
cpp
C++
src/Loaders/HeaderBLoader.cpp
driftyz700/EAlayer3-nfsw
0bfe05ae18e5f1eb25917751c2772cfa49b60342
[ "BSD-3-Clause" ]
8
2021-01-26T15:30:21.000Z
2021-08-29T19:44:26.000Z
src/Loaders/HeaderBLoader.cpp
driftyz700/EAlayer3-nfsw
0bfe05ae18e5f1eb25917751c2772cfa49b60342
[ "BSD-3-Clause" ]
1
2020-10-31T00:40:01.000Z
2020-10-31T00:40:01.000Z
src/Loaders/HeaderBLoader.cpp
Bo98/ealayer3
ec3df1e5b4f27e91c919d1be6cb43fc992f37ece
[ "BSD-3-Clause" ]
2
2021-01-27T14:24:01.000Z
2021-02-12T10:51:42.000Z
/* EA Layer 3 Extractor/Decoder Copyright (C) 2010, Ben Moench. See License.txt */ #include "Internal.h" #include "HeaderBLoader.h" #include "../Parsers/ParserVersion6.h" elHeaderBLoader::elHeaderBLoader() : m_SampleRate(0), m_UseParser6(true) { return; } elHeaderBLoader::~elHeaderBLoader() {...
20.044025
81
0.613743
driftyz700
d46d9ba49dd329f337b83cc34588df1972ec0e7f
31,041
cpp
C++
dev/Gems/EMotionFX/Code/EMotionFX/Source/BlendSpace1DNode.cpp
santosh90n/lumberyard-1
9608bcf905bb60e9f326bd3fe8297381c22d83a6
[ "AML" ]
1
2019-02-12T06:44:50.000Z
2019-02-12T06:44:50.000Z
dev/Gems/EMotionFX/Code/EMotionFX/Source/BlendSpace1DNode.cpp
santosh90n/lumberyard-1
9608bcf905bb60e9f326bd3fe8297381c22d83a6
[ "AML" ]
null
null
null
dev/Gems/EMotionFX/Code/EMotionFX/Source/BlendSpace1DNode.cpp
santosh90n/lumberyard-1
9608bcf905bb60e9f326bd3fe8297381c22d83a6
[ "AML" ]
null
null
null
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
41.277926
173
0.66628
santosh90n
d46e4e6978cd34916711731f7a420ddbc62e140c
416
hpp
C++
galaxy/src/galaxy/platform/specific/Unix.hpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
6
2018-07-21T20:37:01.000Z
2018-10-31T01:49:35.000Z
galaxy/src/galaxy/platform/specific/Unix.hpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
null
null
null
galaxy/src/galaxy/platform/specific/Unix.hpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
null
null
null
/// /// Unix.hpp /// galaxy /// /// Refer to LICENSE.txt for more details. /// #ifndef GALAXY_PLATFORM_SPECIFIC_UNIX_HPP_ #define GALAXY_PLATFORM_SPECIFIC_UNIX_HPP_ #include "galaxy/utils/Globals.hpp" #ifdef GALAXY_UNIX_PLATFORM namespace galaxy { namespace platform { /// /// Sets up debug terminal. /// v...
15.407407
42
0.721154
reworks
d4726579794ff4318095d0b016a11686668b65c6
4,213
cpp
C++
test/template_vulkan-dynamic/flextVk.cpp
mosra/flextGL
bc3d4da8fc087cba17d64e9d908ae35b7e40f4fe
[ "MIT" ]
119
2018-05-31T19:11:17.000Z
2022-03-29T04:56:46.000Z
test/template_vulkan-dynamic/flextVk.cpp
ginkgo/flextGL
bc3d4da8fc087cba17d64e9d908ae35b7e40f4fe
[ "MIT" ]
5
2015-01-16T12:24:22.000Z
2018-05-27T14:52:45.000Z
test/template_vulkan-dynamic/flextVk.cpp
mosra/flextGL
bc3d4da8fc087cba17d64e9d908ae35b7e40f4fe
[ "MIT" ]
8
2015-01-29T13:27:13.000Z
2017-01-31T09:20:03.000Z
/* This file was generated using https://github.com/mosra/flextgl: path/to/flextGLgen.py -D generated -t somepath profile-vk.txt Do not edit directly, modify the template or profile and regenerate. */ #include "flextVk.h" /* The following definitions and flextDynamicLoader are borrowed/modified from...
36.634783
204
0.733919
mosra
d4733c9efc905f1b6dfc769ea7e49836be28cbca
7,594
cpp
C++
src/ClassOverviewVisitor.cpp
Gregofi/metrics
a8da292a98b66a36329f1e5c9423ec01d86c07a1
[ "MIT" ]
null
null
null
src/ClassOverviewVisitor.cpp
Gregofi/metrics
a8da292a98b66a36329f1e5c9423ec01d86c07a1
[ "MIT" ]
1
2022-02-05T09:52:40.000Z
2022-02-05T09:52:40.000Z
src/ClassOverviewVisitor.cpp
Gregofi/metrics
a8da292a98b66a36329f1e5c9423ec01d86c07a1
[ "MIT" ]
null
null
null
#include "include/metrics/ClassOverviewVisitor.hpp" #include "include/Logging.hpp" #include "include/ASTMatcherVisitor.hpp" #include "include/Utility.hpp" bool ClassOverviewVisitor::VisitCXXRecordDecl(clang::CXXRecordDecl *decl) { /* Skip declarations that have no body and that aren't in main file */ if(!decl ...
37.97
151
0.613642
Gregofi
d473b02889735c9d1c07fce5cd2f55f0a3572637
13,568
cpp
C++
src/Core/Unicode.cpp
akumetsuv/flood
e0d6647df9b7fac72443a0f65c0003b0ead7ed3a
[ "BSD-2-Clause" ]
null
null
null
src/Core/Unicode.cpp
akumetsuv/flood
e0d6647df9b7fac72443a0f65c0003b0ead7ed3a
[ "BSD-2-Clause" ]
null
null
null
src/Core/Unicode.cpp
akumetsuv/flood
e0d6647df9b7fac72443a0f65c0003b0ead7ed3a
[ "BSD-2-Clause" ]
1
2021-05-23T16:33:11.000Z
2021-05-23T16:33:11.000Z
/* ================================================================ */ /* File: ConvertUTF.C Author: Mark E. Davis Copyright (C) 1994 Taligent, Inc. All rights reserved. This code is copyrighted. Under the copyright laws, this code may not be copied, in whole or part, without prior written consent of Taligent...
39.327536
94
0.568028
akumetsuv
d473bb37ac3a542f4099d8a3968beb3cc1f8dca6
552
cpp
C++
BAC_2nd/ch10/UVa12716.cpp
Anyrainel/aoapc-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
3
2017-08-15T06:00:01.000Z
2018-12-10T09:05:53.000Z
BAC_2nd/ch10/UVa12716.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
null
null
null
BAC_2nd/ch10/UVa12716.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
2
2017-09-16T18:46:27.000Z
2018-05-22T05:42:03.000Z
// UVa12716 GCD XOR // Rujia Liu #include<cstdio> #include<cstring> using namespace std; const int M = 30000000; int cnt[M+1], sum[M+1]; void init() { memset(cnt, 0, sizeof(cnt)); for(int c = 1; c <= M; c++) for(int a = c*2; a <= M; a += c) { int b = a - c; if(c == (a ^ b)) cnt[a]++; } sum[...
17.25
57
0.471014
Anyrainel
d4794305cc45ecc8e409faa83751a9df0757808c
5,577
cpp
C++
tools/profiler/Profiler.cpp
prozum/SPPL
77de5db600a89b84bc8e6e851c9a766cd5203ce2
[ "MIT" ]
4
2016-03-17T19:38:51.000Z
2016-10-30T18:54:17.000Z
tools/profiler/Profiler.cpp
prozum/sppl
77de5db600a89b84bc8e6e851c9a766cd5203ce2
[ "MIT" ]
null
null
null
tools/profiler/Profiler.cpp
prozum/sppl
77de5db600a89b84bc8e6e851c9a766cd5203ce2
[ "MIT" ]
null
null
null
#include "Profiler.h" #include "DataGenerator.h" #include <random> using namespace interpreter; using namespace common; using namespace std; namespace profiler { Profiler::Profiler(Program &node) { this->node = &node; } void Profiler::instruction_time_profile(int runs) { mode = INST...
22.39759
102
0.523938
prozum
d47b9c18a4ec755d80009918d43ad3a5a0a0627c
902
cpp
C++
rw_rh_engine_lib/rw_engine/rw_api_injectors.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
232
2016-08-29T00:33:32.000Z
2022-03-29T22:39:51.000Z
rw_rh_engine_lib/rw_engine/rw_api_injectors.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
10
2021-01-02T12:40:49.000Z
2021-08-31T06:31:04.000Z
rw_rh_engine_lib/rw_engine/rw_api_injectors.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
40
2017-12-18T06:14:39.000Z
2022-01-29T16:35:23.000Z
#include "rw_api_injectors.h" #include "common_headers.h" #include "rw_raster/rw_raster.h" #include "rw_stream/rw_stream.h" #include "rw_texture/rw_texture.h" namespace rh::rw::engine { RwTexture *RwTextureSetNameStub( RwTexture *texture, const char *name ) { strncpy_s( texture->name, name, strlen( name ) ); ...
31.103448
79
0.717295
petrgeorgievsky
d47bc282383b0685fcc2ac9c7acd94cc5b18ef88
24,227
cpp
C++
src/vm/hosting.cpp
mans0954/debian-dotnet-coreclr
5e42f510f19534800c8271bf83a9bf5e0c730b84
[ "MIT" ]
6
2017-09-22T06:55:45.000Z
2021-07-02T07:07:08.000Z
src/vm/hosting.cpp
xets007/debian-dotnet-coreclr
5e42f510f19534800c8271bf83a9bf5e0c730b84
[ "MIT" ]
2
2017-09-23T08:21:05.000Z
2017-09-27T03:31:06.000Z
src/vm/hosting.cpp
xets007/debian-dotnet-coreclr
5e42f510f19534800c8271bf83a9bf5e0c730b84
[ "MIT" ]
2
2019-02-03T12:50:05.000Z
2021-11-10T07:28:14.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // // #include "common.h" #include "hosting.h" #include "mscoree.h" #include "mscoreepriv.h" #include "corhost.h"...
27.251969
144
0.660007
mans0954
d47c4fdd486eec7ba372d2a56ae0b434fac6d0ba
52,350
cpp
C++
lib/KSpace/KSpaceSolverElastic.cpp
xschrodingerscat/kspaceFirstOrder
99f326d420a5488693bcf9fdd633d2eff7447cca
[ "RSA-MD" ]
null
null
null
lib/KSpace/KSpaceSolverElastic.cpp
xschrodingerscat/kspaceFirstOrder
99f326d420a5488693bcf9fdd633d2eff7447cca
[ "RSA-MD" ]
null
null
null
lib/KSpace/KSpaceSolverElastic.cpp
xschrodingerscat/kspaceFirstOrder
99f326d420a5488693bcf9fdd633d2eff7447cca
[ "RSA-MD" ]
null
null
null
#include <KSpace/KSpaceSolver.h> #include <KSpace/KInterp.h> using std::ios; /* Shortcut for Simulation dimensions. */ using SD = Parameters::SimulationDimension; /* Shortcut for Matrix id in the container. */ using MI = MatrixContainer::MatrixIdx; /* Shortcut for Output stream id in the container. */ using OI = Ou...
34.923282
121
0.590602
xschrodingerscat
d47eb421e3d74a567d8903fdfe101c1aaf303cd2
2,798
cpp
C++
src/attacks/noop/component.cpp
aws-robotics/ROS2-SecTest
f95683a0e78fac97d0de4ae14c871e098c25a91c
[ "Apache-2.0" ]
12
2019-06-05T17:12:20.000Z
2021-10-30T02:55:34.000Z
src/attacks/noop/component.cpp
aws-robotics/ROS2-SecTest
f95683a0e78fac97d0de4ae14c871e098c25a91c
[ "Apache-2.0" ]
4
2019-06-07T01:32:44.000Z
2019-08-29T17:55:16.000Z
src/attacks/noop/component.cpp
aws-robotics/ROS2-SecTest
f95683a0e78fac97d0de4ae14c871e098c25a91c
[ "Apache-2.0" ]
4
2019-08-02T15:04:14.000Z
2021-10-30T02:55:25.000Z
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unles...
34.54321
100
0.779485
aws-robotics
d480126b35d0df22015a06c214258945fcc73e38
362
cpp
C++
code-emulator/src/hal/x64/Arduino.cpp
malavv/MrPlate
458c844fa79e8d3c121d9d9ebe6ab51132c70156
[ "MIT" ]
null
null
null
code-emulator/src/hal/x64/Arduino.cpp
malavv/MrPlate
458c844fa79e8d3c121d9d9ebe6ab51132c70156
[ "MIT" ]
null
null
null
code-emulator/src/hal/x64/Arduino.cpp
malavv/MrPlate
458c844fa79e8d3c121d9d9ebe6ab51132c70156
[ "MIT" ]
null
null
null
#include "Arduino.h" ISerial Serial; std::vector<DebugMsg*> debugMsg; void debug(int8_t pin, const char* msg, int32_t value) { DebugMsg *found = nullptr; for (auto &it : debugMsg) { if (it->pin == pin) found = it; } if (found) { found->msg = msg; found->val = value; } else debugMsg.p...
19.052632
56
0.616022
malavv
d4810b526a50894f5cea3a652b48ae4b1c99cc53
3,624
hpp
C++
dependencies/glm/glm/gtc/integer.hpp
Noaheasley/Bootstrap
fbcf53bffa42fe41233726ba42218568ce0dba60
[ "MIT" ]
13
2017-03-06T22:25:10.000Z
2022-01-31T00:19:03.000Z
dependencies/glm/glm/gtc/integer.hpp
Noaheasley/Bootstrap
fbcf53bffa42fe41233726ba42218568ce0dba60
[ "MIT" ]
12
2016-12-03T01:36:31.000Z
2019-12-11T00:40:02.000Z
dependencies/glm/glm/gtc/integer.hpp
Noaheasley/Bootstrap
fbcf53bffa42fe41233726ba42218568ce0dba60
[ "MIT" ]
37
2016-10-27T14:55:34.000Z
2022-01-31T00:19:08.000Z
/// @ref gtc_integer /// @file glm/gtc/integer.hpp /// /// @see core (dependence) /// @see gtc_integer (dependence) /// /// @defgroup gtc_integer GLM_GTC_integer /// @ingroup gtc /// /// @brief Allow to perform bit operations on integer values /// /// <glm/gtc/integer.hpp> need to be included to use these functionaliti...
36.606061
137
0.694536
Noaheasley
d481a18ca51734ceac9efaf66743070806af8035
979
cpp
C++
SwapNodesinPairs/SwapNodesinPairs_2.cpp
yergen/leetcode
7b6dac49ac44e0bf43a4ecb4795ea8cfe6afa4ab
[ "MIT" ]
null
null
null
SwapNodesinPairs/SwapNodesinPairs_2.cpp
yergen/leetcode
7b6dac49ac44e0bf43a4ecb4795ea8cfe6afa4ab
[ "MIT" ]
null
null
null
SwapNodesinPairs/SwapNodesinPairs_2.cpp
yergen/leetcode
7b6dac49ac44e0bf43a4ecb4795ea8cfe6afa4ab
[ "MIT" ]
null
null
null
#include<iostream> #include<string> using namespace::std; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; class Solution { public: ListNode* swapPairs(ListNode* head) { ListNode **pp = &head, *first, *second; //a->b->c->d->e->f while ((first = *pp) && (second = first->...
20.829787
79
0.52809
yergen
d48302fcce0a0ff2c394d6154b1b0a45d755315d
2,256
hpp
C++
rmf_task/include/rmf_task/Request.hpp
Rouein/rmf_task
32de25ff127aed754ca760ef462ef8c3e7dd56a1
[ "Apache-2.0" ]
null
null
null
rmf_task/include/rmf_task/Request.hpp
Rouein/rmf_task
32de25ff127aed754ca760ef462ef8c3e7dd56a1
[ "Apache-2.0" ]
null
null
null
rmf_task/include/rmf_task/Request.hpp
Rouein/rmf_task
32de25ff127aed754ca760ef462ef8c3e7dd56a1
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2020 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
26.857143
80
0.684397
Rouein
d487d715d6ea719fc27db2f8bf137b50190f395b
1,740
cpp
C++
Dynamic_Memory_Allocation/Dynamic_Memory_Allocation/main.cpp
b01703020/Financial_Computing
d98d4f6e784997129ece15cdaf33c506e0f35c9e
[ "MIT" ]
null
null
null
Dynamic_Memory_Allocation/Dynamic_Memory_Allocation/main.cpp
b01703020/Financial_Computing
d98d4f6e784997129ece15cdaf33c506e0f35c9e
[ "MIT" ]
null
null
null
Dynamic_Memory_Allocation/Dynamic_Memory_Allocation/main.cpp
b01703020/Financial_Computing
d98d4f6e784997129ece15cdaf33c506e0f35c9e
[ "MIT" ]
null
null
null
// // main.cpp // Dynamic_Memory_Allocation // // Created by wu yen sun on 2022/2/4. // #include <iostream> using namespace std; int* getNum1() // Should not return the address of a local variable { int num = 10; // num i s a local variable num += 1; return &num; // its address i...
23.513514
110
0.551149
b01703020
d48b278d8eee1f8400c0e54d46afe8fdefb1baff
1,164
cpp
C++
Core/src/latest/main/cpp/Capture/Camera.cpp
CJBuchel/CJ-Vision
60fad66b807c6082fdcf01df9972b42dfc5c5ecc
[ "MIT" ]
1
2020-09-07T09:15:15.000Z
2020-09-07T09:15:15.000Z
Core/src/latest/main/cpp/Capture/Camera.cpp
CJBuchel/CJ-Vision
60fad66b807c6082fdcf01df9972b42dfc5c5ecc
[ "MIT" ]
null
null
null
Core/src/latest/main/cpp/Capture/Camera.cpp
CJBuchel/CJ-Vision
60fad66b807c6082fdcf01df9972b42dfc5c5ecc
[ "MIT" ]
1
2020-09-02T02:02:11.000Z
2020-09-02T02:02:11.000Z
#include "Capture/Camera.h" namespace CJ { Camera::~Camera() { CJ_CORE_PRINT_WARN("Destroyed Camera, cap released"); cap.release(); } int Camera::init() { CJ_CORE_PRINT_INFO("Creating OpenCV Cap"); cap.set(cv::CAP_PROP_FPS, config.fps); cap.open(config.port, config.apiID); if (!cap.isOpened()) { CJ...
27.714286
96
0.710481
CJBuchel
d48f288d1cdeabbfc1745184bf55da6e1ad44958
2,867
inl
C++
MathLib/Include/GaussianQuadrature.inl
bgin/MissileSimulation
90adcbf1c049daafb939f3fe9f9dfe792f26d5df
[ "MIT" ]
23
2016-08-28T23:20:12.000Z
2021-12-15T14:43:58.000Z
MathLib/Include/GaussianQuadrature.inl
bgin/MissileSimulation
90adcbf1c049daafb939f3fe9f9dfe792f26d5df
[ "MIT" ]
1
2018-06-02T21:29:51.000Z
2018-06-05T05:59:31.000Z
MathLib/Include/GaussianQuadrature.inl
bgin/MissileSimulation
90adcbf1c049daafb939f3fe9f9dfe792f26d5df
[ "MIT" ]
1
2019-07-04T22:38:22.000Z
2019-07-04T22:38:22.000Z
template<typename _Ty> __forceinline mathlib::GaussianQdrtr<_Ty>::GaussianQdrtr(const _Ty integr, const _Ty err) : integral(integr), error(err) { } template<typename _Ty> template<typename Function> __forceinline mathlib::GaussianQdrtr<_Ty> mathlib::GaussianQdrtr<_Ty>::integrate(Function f, _Ty a, _Ty b) { _Ty s...
26.546296
145
0.705964
bgin
d4918f230082dd2cbec38248041103e55285940d
499
cpp
C++
src/RE/BSExtraData/ExtraCharge.cpp
thallada/CommonLibSSE
b092c699c3ccd1af6d58d05f677f2977ec054cfe
[ "MIT" ]
1
2021-08-30T20:33:43.000Z
2021-08-30T20:33:43.000Z
src/RE/BSExtraData/ExtraCharge.cpp
thallada/CommonLibSSE
b092c699c3ccd1af6d58d05f677f2977ec054cfe
[ "MIT" ]
null
null
null
src/RE/BSExtraData/ExtraCharge.cpp
thallada/CommonLibSSE
b092c699c3ccd1af6d58d05f677f2977ec054cfe
[ "MIT" ]
1
2020-10-08T02:48:33.000Z
2020-10-08T02:48:33.000Z
#include "RE/BSExtraData/ExtraCharge.h" namespace RE { ExtraCharge::ExtraCharge() : BSExtraData(), charge(0.0F), pad14(0) { REL::Relocation<std::uintptr_t> vtbl{ Offset::ExtraCharge::Vtbl }; ((std::uintptr_t*)this)[0] = vtbl.address(); } ExtraDataType ExtraCharge::GetType() const { return ExtraData...
17.821429
68
0.693387
thallada
d49304852272523f2d86c823870a53154a52a1e3
5,112
hpp
C++
src/mgmt/nfd/forwarder-status.hpp
alvyC/ndn-cxx-vanet-ext
48e8b214416d1b9d3534d26d28c147867f35d311
[ "OpenSSL" ]
1
2021-09-07T04:12:15.000Z
2021-09-07T04:12:15.000Z
src/mgmt/nfd/forwarder-status.hpp
alvyC/ndn-cxx-vanet-ext
48e8b214416d1b9d3534d26d28c147867f35d311
[ "OpenSSL" ]
null
null
null
src/mgmt/nfd/forwarder-status.hpp
alvyC/ndn-cxx-vanet-ext
48e8b214416d1b9d3534d26d28c147867f35d311
[ "OpenSSL" ]
1
2020-07-15T06:21:03.000Z
2020-07-15T06:21:03.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013-2017 Regents of the University of California. * * This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions). * * ndn-cxx library is free software: you can redistribute it and/or modify it under the ...
21.3
94
0.730243
alvyC
d49785c624ce4f7e8d5b88b8429f87a36083d462
7,107
cpp
C++
PineApple/Implment/StrFormat.cpp
BleedingChips/PineApple
1133d40e93eb3bbad0bde8697f7e8002649c833d
[ "MIT" ]
null
null
null
PineApple/Implment/StrFormat.cpp
BleedingChips/PineApple
1133d40e93eb3bbad0bde8697f7e8002649c833d
[ "MIT" ]
null
null
null
PineApple/Implment/StrFormat.cpp
BleedingChips/PineApple
1133d40e93eb3bbad0bde8697f7e8002649c833d
[ "MIT" ]
null
null
null
#include "../Interface/StrFormat.h" #include "../Interface/Nfa.h" #include "../Interface/CharEncode.h" namespace PineApple::StrFormat { static std::u32string_view PatternRex[] = { UR"([^\{\}]+)", UR"(\{\{)", UR"(\}\})", UR"(\{[^\{]*?\})", }; static Nfa::Table table = Nfa::CreateTableFromRex(PatternRex, 4);...
27.761719
136
0.638525
BleedingChips
d4988c9dd0bdd35136e8902ce052e10cffa63e3d
3,267
cpp
C++
src/MirkoInterface.cpp
stephan2nd/cpp-accelerator-toolkit
1c82f87b50199ec216a0d8968ed320fa9a52c48f
[ "MIT" ]
null
null
null
src/MirkoInterface.cpp
stephan2nd/cpp-accelerator-toolkit
1c82f87b50199ec216a0d8968ed320fa9a52c48f
[ "MIT" ]
null
null
null
src/MirkoInterface.cpp
stephan2nd/cpp-accelerator-toolkit
1c82f87b50199ec216a0d8968ed320fa9a52c48f
[ "MIT" ]
null
null
null
#include "MirkoInterface.hpp" #include "DriftTube.hpp" #include "QuadrupoleMagnet.hpp" #include "Screen.hpp" #include "HKick.hpp" #include "VKick.hpp" #include "RectangularDipoleMagnet.hpp" #include <sstream> #include <fstream> #include <cmath> MirkoInterface::MirkoInterface() : m_devices() { } MirkoInterface::...
17.852459
129
0.628099
stephan2nd
d49bbdc3b0b40a4b9d18f4ad68cce2ed3634ca28
5,090
cpp
C++
contrib/MassSpectra/flexiblesusy/models/SSM/SSM_two_scale_susy_beta_Lambdax.cpp
aaronvincent/gambit_aaron
a38bd6fc10d781e71f2adafd401c76e1e3476b05
[ "Unlicense" ]
null
null
null
contrib/MassSpectra/flexiblesusy/models/SSM/SSM_two_scale_susy_beta_Lambdax.cpp
aaronvincent/gambit_aaron
a38bd6fc10d781e71f2adafd401c76e1e3476b05
[ "Unlicense" ]
null
null
null
contrib/MassSpectra/flexiblesusy/models/SSM/SSM_two_scale_susy_beta_Lambdax.cpp
aaronvincent/gambit_aaron
a38bd6fc10d781e71f2adafd401c76e1e3476b05
[ "Unlicense" ]
null
null
null
// ==================================================================== // This file is part of FlexibleSUSY. // // FlexibleSUSY is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation, either version 3 of the Licens...
38.854962
94
0.718271
aaronvincent