hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
⌀
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
⌀
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
⌀
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
⌀
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
⌀
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
⌀
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
⌀
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
⌀
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
⌀
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
b31ee1ffaec74f0e6d1bd25b83748c98a2c7a417
813
cpp
C++
Computer systems Software/Sem4/Lab7/Lab7_3.cpp
NazarPonochevnyi/Programming-Labs
30afedcdf79f1b7e91be62a34d4bb3a399eb3c9f
[ "MIT" ]
1
2020-10-17T13:18:29.000Z
2020-10-17T13:18:29.000Z
Computer systems Software/Sem4/Lab7/Lab7_3.cpp
NazarPonochevnyi/Programming-Labs
30afedcdf79f1b7e91be62a34d4bb3a399eb3c9f
[ "MIT" ]
null
null
null
Computer systems Software/Sem4/Lab7/Lab7_3.cpp
NazarPonochevnyi/Programming-Labs
30afedcdf79f1b7e91be62a34d4bb3a399eb3c9f
[ "MIT" ]
1
2021-11-08T00:35:35.000Z
2021-11-08T00:35:35.000Z
#include <iostream> #include <pthread.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <vector> #include <cstdlib> using namespace std; void* func(void *arg) { string str = *reinterpret_cast<string*>(arg); for (int i = 1; i <= 2; i++) { usleep(500); cout << str << " and ...
20.325
57
0.533825
NazarPonochevnyi
b323745f644463316bdd598566ad84f8a270a4cc
4,034
cpp
C++
src/ICJs_util.cpp
WellyZhang/ICJs
05f6bf22efd3c43a0e3134823b9ddac61bb896f9
[ "MIT" ]
null
null
null
src/ICJs_util.cpp
WellyZhang/ICJs
05f6bf22efd3c43a0e3134823b9ddac61bb896f9
[ "MIT" ]
null
null
null
src/ICJs_util.cpp
WellyZhang/ICJs
05f6bf22efd3c43a0e3134823b9ddac61bb896f9
[ "MIT" ]
null
null
null
#include "ICJs_util.h" #include "ICJs_compute.h" #include <string> #include <vector> #include <sstream> /* * split函数 * 输入字符串,分隔符,返回向量地址及一个布尔类型参数 * 根据分隔符将字符分分割并放入向量中 * 布尔确定是否需要保存字符串中的空格 */ void Util::split(std::string& s, std::string delim, std::vector<std::string> *ret, bool preserveBlank) { size_t last = 0; s...
16.465306
102
0.537184
WellyZhang
b326f348b48e1855526e9241721e697a13f907b7
1,101
cpp
C++
algorithms/cpp/Problems 601-700/_628_MaximumProductOfThreeNumbers.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 601-700/_628_MaximumProductOfThreeNumbers.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 601-700/_628_MaximumProductOfThreeNumbers.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
/* Source - https://leetcode.com/problems/maximum-product-of-three-numbers/ Author - Shivam Arora */ #include <bits/stdc++.h> using namespace std; int maximumProduct(vector<int>& nums) { int n = nums.size(), min1, min2, max1, max2, max3; min1 = min2 = INT_MAX; max1 = max2 = max3 = INT_MIN; ...
23.425532
75
0.48683
shivamacs
b3299532c53de55e039a253a4d35682389f5504c
1,201
cpp
C++
aws-cpp-sdk-lexv2-models/source/model/IntentStatistics.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-lexv2-models/source/model/IntentStatistics.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-lexv2-models/source/model/IntentStatistics.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T12:02:58.000Z
2021-11-09T12:02:58.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/lexv2-models/model/IntentStatistics.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws {...
19.370968
76
0.756037
perfectrecall
b32a1b16f0ceb1c5bc6a0258e018dbe7fc339b71
853
hpp
C++
include/yaml/sequence/fold_right.hpp
ericjavier/yaml
92d9097fc58602fbc88000fd22e2debc2f90996c
[ "Apache-2.0" ]
1
2015-04-12T19:46:13.000Z
2015-04-12T19:46:13.000Z
include/yaml/sequence/fold_right.hpp
ericjavier/yaml
92d9097fc58602fbc88000fd22e2debc2f90996c
[ "Apache-2.0" ]
null
null
null
include/yaml/sequence/fold_right.hpp
ericjavier/yaml
92d9097fc58602fbc88000fd22e2debc2f90996c
[ "Apache-2.0" ]
null
null
null
#ifndef FOLD_RIGHT_HPP_INCLUDED #define FOLD_RIGHT_HPP_INCLUDED #include <yaml/config.hpp> #include <yaml/core.hpp> #include <yaml/sequence/sequence_def.hpp> BEGIN_YAML_NSP BEGIN_DETAIL_NSP template<typename F, typename I, typename S> class fold_right_tmpl { template<typename, typename> struct impl; template<...
22.447368
78
0.743259
ericjavier
b3332b1a881f7ab313c1746e364aff581b2d6f0d
17,224
cpp
C++
Win32/BlackJack/game.cpp
Allenjonesing/tutorials
c729fdd655130b021ec7ca9b619e147ae636cfa5
[ "MIT" ]
367
2015-01-12T22:43:04.000Z
2022-03-31T02:03:27.000Z
Win32/BlackJack/game.cpp
uag515/tutorials
c729fdd655130b021ec7ca9b619e147ae636cfa5
[ "MIT" ]
3
2016-04-17T06:02:01.000Z
2019-01-20T16:07:53.000Z
Win32/BlackJack/game.cpp
uag515/tutorials
c729fdd655130b021ec7ca9b619e147ae636cfa5
[ "MIT" ]
212
2015-01-14T14:13:34.000Z
2022-03-04T01:08:41.000Z
#include "game.h" #include <assert.h> #include <stdio.h> // Constructor CGame::CGame() { /* Constructors init: win_obj, deck, and card_back */ memset(buttons, 0, sizeof(buttons)); memset(data.msg, 0, sizeof(data.msg)); data.bet = 0; data.cash = 0; data.topCard = 0; data.msgColor = 0; data.state = eNew;...
25.107872
93
0.664944
Allenjonesing
b334c11bac1c32623d70b2c62dee471e78849f33
1,156
cpp
C++
Engine/gapi/directx12/dxframebuffer.cpp
ErrorFlexXx/MoltenTempest
9a29cbdb46ed29b3a8641ab26cfaf7c4e6c059d0
[ "MIT" ]
null
null
null
Engine/gapi/directx12/dxframebuffer.cpp
ErrorFlexXx/MoltenTempest
9a29cbdb46ed29b3a8641ab26cfaf7c4e6c059d0
[ "MIT" ]
null
null
null
Engine/gapi/directx12/dxframebuffer.cpp
ErrorFlexXx/MoltenTempest
9a29cbdb46ed29b3a8641ab26cfaf7c4e6c059d0
[ "MIT" ]
null
null
null
#if defined(TEMPEST_BUILD_DIRECTX12) #include "dxframebuffer.h" #include "dxdevice.h" #include "dxswapchain.h" #include "guid.h" using namespace Tempest; using namespace Tempest::Detail; DxFramebuffer::DxFramebuffer(DxDevice& dev, DxSwapchain& swapchain, size_t image) :viewsCount(1) { auto& device = *dev.device;...
33.028571
120
0.762976
ErrorFlexXx
b33dc5ecfc7f2f23ac112542f50b14d39cc830e1
264
cpp
C++
src/lab_m1/Tema2/Wall.cpp
Cristi29P/3D-OpenGL-Shooter
751b184845b6a53675d1a2d4fc4a271e8a2f9d18
[ "BSD-3-Clause" ]
null
null
null
src/lab_m1/Tema2/Wall.cpp
Cristi29P/3D-OpenGL-Shooter
751b184845b6a53675d1a2d4fc4a271e8a2f9d18
[ "BSD-3-Clause" ]
null
null
null
src/lab_m1/Tema2/Wall.cpp
Cristi29P/3D-OpenGL-Shooter
751b184845b6a53675d1a2d4fc4a271e8a2f9d18
[ "BSD-3-Clause" ]
null
null
null
#include "lab_m1/Tema2/Wall.h" Wall::Wall(glm::vec3 position, glm::vec3 scale) { m_position = position; m_scale = scale; m_modelMatrix = glm::translate(m_modelMatrix, position); m_modelMatrix = glm::scale(m_modelMatrix, scale); } Wall::~Wall() {};
24
58
0.685606
Cristi29P
b340c271676a820afb01f65382937cbafc37fe8b
5,602
cc
C++
main/autogen/cache.cc
Sorbet/Sorbet
5b836b87af1fd8e465aa4564cb2b6c586d11c6be
[ "Apache-2.0" ]
1
2018-10-01T07:27:34.000Z
2018-10-01T07:27:34.000Z
main/autogen/cache.cc
Sorbet/Sorbet
5b836b87af1fd8e465aa4564cb2b6c586d11c6be
[ "Apache-2.0" ]
null
null
null
main/autogen/cache.cc
Sorbet/Sorbet
5b836b87af1fd8e465aa4564cb2b6c586d11c6be
[ "Apache-2.0" ]
null
null
null
#include "mpack/mpack.h" #include "ast/desugar/Desugar.h" #include "common/FileOps.h" #include "core/Unfreeze.h" #include "main/autogen/cache.h" #include "main/autogen/constant_hash.h" #include "parser/parser.h" using namespace std; namespace sorbet::autogen { const size_t MAX_SKIP_AMOUNT = 100; bool AutogenCache:...
36.376623
117
0.64352
Sorbet
b34782e3bf4e869e86b5fd4c503b062169132425
1,098
cpp
C++
cannon/math/barycentric_coords.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
null
null
null
cannon/math/barycentric_coords.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
46
2021-01-12T23:03:52.000Z
2021-10-01T17:29:01.000Z
cannon/math/barycentric_coords.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
null
null
null
#include <cannon/math/barycentric_coords.hpp> #include <stdexcept> #include <cannon/math/nearly_equal.hpp> using namespace cannon::math; Vector3d cannon::math::compute_barycentric_coords(const Vector3d& v0, const Vector3d& v1, const Vector3d& v2, const Vector3d& p) { Matrix4d plane_mat; plane_mat << v0[0], ...
24.4
89
0.603825
cannontwo
b34efb27cc9d00efb4405c470bd8b3549527f18c
41,928
cpp
C++
engine/src/Serialization/YamlSerialization.cpp
nuclearkevin/Strontium
88045e7ab50f614bbbcb8c283e2a7802fd435207
[ "MIT" ]
null
null
null
engine/src/Serialization/YamlSerialization.cpp
nuclearkevin/Strontium
88045e7ab50f614bbbcb8c283e2a7802fd435207
[ "MIT" ]
null
null
null
engine/src/Serialization/YamlSerialization.cpp
nuclearkevin/Strontium
88045e7ab50f614bbbcb8c283e2a7802fd435207
[ "MIT" ]
null
null
null
#include "Serialization/YamlSerialization.h" // Project includes. #include "Core/ApplicationBase.h" #include "Core/Application.h" #include "Scenes/Components.h" #include "Scenes/Entity.h" #include "Assets/AssetManager.h" #include "Assets/MaterialAsset.h" #include "Assets/ModelAsset.h" #include "Assets/Image2DAsset.h...
36.586387
152
0.595664
nuclearkevin
b35753a74dde055e1cc3d36f044685b6255e7bbc
741
hpp
C++
python/quadruped_walkgen/fwd.hpp
loco-3d/quadruped-walkgen
d78c205bcfcc69919eacb7cb4b51e426e2bc626f
[ "BSD-2-Clause" ]
null
null
null
python/quadruped_walkgen/fwd.hpp
loco-3d/quadruped-walkgen
d78c205bcfcc69919eacb7cb4b51e426e2bc626f
[ "BSD-2-Clause" ]
null
null
null
python/quadruped_walkgen/fwd.hpp
loco-3d/quadruped-walkgen
d78c205bcfcc69919eacb7cb4b51e426e2bc626f
[ "BSD-2-Clause" ]
1
2021-12-06T18:28:31.000Z
2021-12-06T18:28:31.000Z
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (C) 2018-2020, University of Edinburgh // Copyright note valid unless otherwise stated in individual files. // All rights reserved. ////////////////////////////////////////////////////////////////////...
28.5
79
0.620783
loco-3d
b3601893cf66bcf447b26715ec91e8b7c472085e
171
cpp
C++
src/main.cpp
skeid21/advent-of-code-2018
4f434cd487e83c0ac9bdf82e3c80710dee6f14c6
[ "MIT" ]
null
null
null
src/main.cpp
skeid21/advent-of-code-2018
4f434cd487e83c0ac9bdf82e3c80710dee6f14c6
[ "MIT" ]
null
null
null
src/main.cpp
skeid21/advent-of-code-2018
4f434cd487e83c0ac9bdf82e3c80710dee6f14c6
[ "MIT" ]
null
null
null
#include "day1.hpp" #include "day2.hpp" int main(int argc, const char *argv[]) { SolveDay1Part1(); SolveDay1Part2(); SolveDay2Part1(); SolveDay2Part2(); }
17.1
38
0.649123
skeid21
b361303d62a1fc97a52c9cd2f64c5722a1c63048
948
cpp
C++
DHTReader.cpp
alonf/UniversalACRemote
6d4bb6e475a5f71e264a4b48a757ae182df796aa
[ "MIT" ]
1
2019-12-26T01:11:30.000Z
2019-12-26T01:11:30.000Z
DHTReader.cpp
alonf/UniversalACRemote
6d4bb6e475a5f71e264a4b48a757ae182df796aa
[ "MIT" ]
1
2020-12-06T12:55:01.000Z
2020-12-06T12:55:01.000Z
DHTReader.cpp
alonf/UniversalACRemote
6d4bb6e475a5f71e264a4b48a757ae182df796aa
[ "MIT" ]
null
null
null
#include "DHTReader.h" #include "configuration.h" DHTReader::DHTReader() : _dht(DhtPin, DHTTYPE) { _dht.begin(); } DHTReader::~DHTReader() { } float DHTReader::ReadTemperature() { for (int i = 0; i < 5; ++i) //five times attempt to read { float t = _dht.readTemperature(); if (isnan(t)) ...
20.608696
120
0.623418
alonf
b36a3f83866df57f5847f4a64daecb2bb613a1eb
5,722
cpp
C++
src/game/shared/tf/tf_weapon_raygun.cpp
TF2V/Tf2Vintage
983d652c338dc017dca51f5bc4eee1a3d4b7ac2e
[ "Unlicense" ]
18
2017-07-14T09:43:26.000Z
2021-09-12T08:56:05.000Z
src/game/shared/tf/tf_weapon_raygun.cpp
TF2V/Tf2Vintage
983d652c338dc017dca51f5bc4eee1a3d4b7ac2e
[ "Unlicense" ]
13
2017-08-08T02:07:18.000Z
2022-03-22T23:49:58.000Z
src/game/shared/tf/tf_weapon_raygun.cpp
TF2V/Tf2Vintage
983d652c338dc017dca51f5bc4eee1a3d4b7ac2e
[ "Unlicense" ]
15
2017-07-14T11:01:35.000Z
2021-09-04T06:55:27.000Z
//====== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======= // // Purpose: // //============================================================================= #include "cbase.h" #include "tf_weapon_raygun.h" #include "decals.h" #include "tf_fx_shared.h" // Client specific. #if defined( CLIENT_DLL ...
29.958115
156
0.478854
TF2V
b37d7532c9b506118dc4e75cd3c765c3af20f8e3
1,186
cpp
C++
Bit Manipulation/Unique Number - 3.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
8
2021-02-13T17:07:27.000Z
2021-08-20T08:20:40.000Z
Bit Manipulation/Unique Number - 3.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
null
null
null
Bit Manipulation/Unique Number - 3.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
5
2021-02-17T18:12:20.000Z
2021-10-10T17:49:34.000Z
/* Problem ---> We are given an array containg n numbers. All the numbers are present thrice except for one number which is only present once. Find the unique number. Input Format First line contains the number n. Second line contains n space separated number. Constraints N < 10^5 Output Format Output a single lin...
17.701493
108
0.557336
Edith-3000
b38ae4146ed9244f407cadfe13e9ef91f3ba68b3
2,412
cpp
C++
src/CatFunction.cpp
evan1026/LLVM_middleend_template
95b375d9772fdf99c6b25ea098d25bbbafb9cbc3
[ "MIT" ]
null
null
null
src/CatFunction.cpp
evan1026/LLVM_middleend_template
95b375d9772fdf99c6b25ea098d25bbbafb9cbc3
[ "MIT" ]
null
null
null
src/CatFunction.cpp
evan1026/LLVM_middleend_template
95b375d9772fdf99c6b25ea098d25bbbafb9cbc3
[ "MIT" ]
null
null
null
#include "CatFunction.hpp" /////////////////////////// // Static Initialization // /////////////////////////// CAT_MAP CatFunction::GET_CAT_FUNCTIONS() { CAT_MAP catFunctions; catFunctions.emplace(std::make_pair("CAT_new", CatFunction{CatFunc::CAT_new, "CAT_new", true, true, false})); catFunctions.empla...
32.594595
115
0.628109
evan1026
b390ab71196ccada8bd54acb7ba3927f258eff37
3,930
cpp
C++
interface/src/scripting/PlatformInfoScriptingInterface.cpp
MarkBrosche/hifi
71669af69675da78253a9e774ca5b3d303da5780
[ "Apache-2.0" ]
null
null
null
interface/src/scripting/PlatformInfoScriptingInterface.cpp
MarkBrosche/hifi
71669af69675da78253a9e774ca5b3d303da5780
[ "Apache-2.0" ]
null
null
null
interface/src/scripting/PlatformInfoScriptingInterface.cpp
MarkBrosche/hifi
71669af69675da78253a9e774ca5b3d303da5780
[ "Apache-2.0" ]
1
2019-03-22T11:38:18.000Z
2019-03-22T11:38:18.000Z
// // Created by Nissim Hadar on 2018/12/28 // Copyright 2013-2016 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "PlatformInfoScriptingInterface.h" #include "Application.h" #include <t...
27.291667
93
0.668448
MarkBrosche
b393f43fd206818d6bc97afb092bc38771868e93
1,026
cpp
C++
Maths/smallest_subarray_with_sum_greater_than_x.cpp
surajwakka/CPP-Programming
e9321e659c51d7616dd889475d3a4b4c5bd1fc7d
[ "MIT" ]
30
2020-09-30T19:16:04.000Z
2022-02-20T14:28:13.000Z
Maths/smallest_subarray_with_sum_greater_than_x.cpp
surajwakka/CPP-Programming
e9321e659c51d7616dd889475d3a4b4c5bd1fc7d
[ "MIT" ]
168
2020-09-30T19:52:42.000Z
2021-10-22T03:55:57.000Z
Maths/smallest_subarray_with_sum_greater_than_x.cpp
surajwakka/CPP-Programming
e9321e659c51d7616dd889475d3a4b4c5bd1fc7d
[ "MIT" ]
123
2020-09-30T19:16:12.000Z
2021-11-12T18:49:18.000Z
#include <bits/stdc++.h> using namespace std; // } Driver Code Ends class Solution{ public: int sb(int arr[], int n, int x) { // Your code goes here int sum=0; int ans=INT_MAX; int start=0; for(int i=0;i<n;i++) { if(arr[i]>x) ...
19
48
0.362573
surajwakka
b3948ce1c7ecd99a7c3cfd9e790d9144c59247ce
11,920
cpp
C++
src/shapes/path.cpp
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
src/shapes/path.cpp
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
src/shapes/path.cpp
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
#include "shapes/path.hpp" #include "math/circle_constant.hpp" #include "renderer.hpp" #include "shapes/cubic_vertex.hpp" #include "shapes/cubic_detached_vertex.hpp" #include "shapes/path_vertex.hpp" #include "shapes/shape.hpp" #include "shapes/straight_vertex.hpp" #include <cassert> using namespace rive; Path::~Path...
25.470085
76
0.619547
hermet
b395df61414e31167062b0c27551c1b08a06dd8e
3,331
cpp
C++
SIM/TFT_ILI9163.cpp
Kieran-Weaver/AVRPC
fe1232f7c83806203eff88d6054523ce18e63873
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
SIM/TFT_ILI9163.cpp
Kieran-Weaver/AVRPC
fe1232f7c83806203eff88d6054523ce18e63873
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
SIM/TFT_ILI9163.cpp
Kieran-Weaver/AVRPC
fe1232f7c83806203eff88d6054523ce18e63873
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include "TFT_ILI9163.h" TFT_ILI9163::TFT_ILI9163(){ this->setSize(128, 160); } void TFT_ILI9163::begin(){ this->refresh(); } void TFT_ILI9163::setSize(uint16_t w, uint16_t h){ this->w = w; this->h = h; this->pixelData.resize(w*h); } void TFT_ILI9163::refresh(){ this->oldPixels.resize(w*h); for (auto i = 0; i <...
24.313869
91
0.659261
Kieran-Weaver
b399c64a1230f5dfb05978f56e50d59b8d90c2ba
598
inl
C++
clove/include/Clove/Rendering/Material.inl
mondoo/Clove
3989dc3fea0d886a69005c1e0bb4396501f336f2
[ "MIT" ]
33
2020-01-09T04:57:29.000Z
2021-08-14T08:02:43.000Z
clove/include/Clove/Rendering/Material.inl
mondoo/Clove
3989dc3fea0d886a69005c1e0bb4396501f336f2
[ "MIT" ]
234
2019-10-25T06:04:35.000Z
2021-08-18T05:47:41.000Z
clove/include/Clove/Rendering/Material.inl
mondoo/Clove
3989dc3fea0d886a69005c1e0bb4396501f336f2
[ "MIT" ]
4
2020-02-11T15:28:42.000Z
2020-09-07T16:22:58.000Z
namespace clove { void Material::setDiffuseTexture(AssetPtr<Texture> texture) { diffuseTexture = std::move(texture); } void Material::setSpecularTexture(AssetPtr<Texture> texture) { specularTexture = std::move(texture); } void Material::setColour(vec4f colour) { this->colou...
23.92
66
0.632107
mondoo
b39f08a1276f7d3cdd84c9caaca7a59024e2b110
65
cpp
C++
src/util/fd-manager.cpp
tspink/captive
9db853df410e06ddb6384dc5e319b92f90483065
[ "MIT" ]
24
2017-01-02T18:46:34.000Z
2022-01-10T09:37:58.000Z
src/util/fd-manager.cpp
tspink/captive
9db853df410e06ddb6384dc5e319b92f90483065
[ "MIT" ]
4
2019-09-19T17:48:03.000Z
2020-09-17T11:01:29.000Z
src/util/fd-manager.cpp
tspink/captive
9db853df410e06ddb6384dc5e319b92f90483065
[ "MIT" ]
8
2017-04-28T04:53:42.000Z
2022-01-10T10:11:29.000Z
/* SPDX-License-Identifier: MIT */ #include <util/fd-manager.h>
16.25
34
0.692308
tspink
b3a1b4d009333d683efe35b946865ddff02671bf
857
cpp
C++
spoj/classical/the_last_digit_revisited.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
null
null
null
spoj/classical/the_last_digit_revisited.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
null
null
null
spoj/classical/the_last_digit_revisited.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; inline void use_io_optimizations() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } unsigned int last_digit(unsigned int base, unsigned long long exponent) { unsigned int digit {1}; unsigned int intermediate {base}; for (auto i = exponent; i...
17.489796
71
0.571762
Rkhoiwal
b3a3b0f7e4833cdda2f55b417c11dd63b54b0b4c
2,332
hpp
C++
SFMLUp/GUI/Button.hpp
Graph-Donte-Crypto/UseFull
cee3eb2d9b9a36cfa3db9057ef47900eff11cb5d
[ "MIT" ]
1
2020-12-27T01:45:35.000Z
2020-12-27T01:45:35.000Z
SFMLUp/GUI/Button.hpp
Graph-Donte-Crypto/UseFull
cee3eb2d9b9a36cfa3db9057ef47900eff11cb5d
[ "MIT" ]
null
null
null
SFMLUp/GUI/Button.hpp
Graph-Donte-Crypto/UseFull
cee3eb2d9b9a36cfa3db9057ef47900eff11cb5d
[ "MIT" ]
null
null
null
#ifndef UF_SFMLUp_GUI_Button_H #define UF_SFMLUp_GUI_Button_H #include <SFML/Graphics/Color.hpp> //UseFull SFML Up Gui Button module //Version 1.0 alfa //Make by Graph Don'te-Crypto #include "BaseGui.hpp" #include "Frame.hpp" #include "../Mouse.hpp" #include "Label.hpp" namespace sfup { namespace gui { using names...
22.209524
79
0.675815
Graph-Donte-Crypto
b3a97368f91fc9b0329bbf0099fbf710c8330d0c
18,086
cpp
C++
src/gravity_kernel.cpp
subarutaro/GPLUM
89b1dadb08a0c6adcdc48879ddf2b7b0fb02912f
[ "MIT" ]
null
null
null
src/gravity_kernel.cpp
subarutaro/GPLUM
89b1dadb08a0c6adcdc48879ddf2b7b0fb02912f
[ "MIT" ]
null
null
null
src/gravity_kernel.cpp
subarutaro/GPLUM
89b1dadb08a0c6adcdc48879ddf2b7b0fb02912f
[ "MIT" ]
null
null
null
#include <particle_simulator.hpp> #ifdef CALC_EPEP_64bit #define RSQRT_NR_EPJ_X4 #else #define RSQRT_NR_EPJ_X2 #endif #define RSQRT_NR_SPJ_X2 #define EP_OFFSET #if defined(__AVX2__) || defined(__AVX512DQ__) #include "phantomquad_for_p3t_x86.hpp" #endif //#include "mathfunc.h" #include "particle_ep.h" PS::S32 getAVXV...
36.390342
125
0.541966
subarutaro
b3a9dd028847ccf0609f0c65b1bd874b666256a8
1,050
cpp
C++
test.cpp
sinojelly/catch2-with-mockcpp
41296bf0cf2f82a6ab55e5ac701d525b7d037f25
[ "Apache-2.0" ]
null
null
null
test.cpp
sinojelly/catch2-with-mockcpp
41296bf0cf2f82a6ab55e5ac701d525b7d037f25
[ "Apache-2.0" ]
null
null
null
test.cpp
sinojelly/catch2-with-mockcpp
41296bf0cf2f82a6ab55e5ac701d525b7d037f25
[ "Apache-2.0" ]
null
null
null
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "catch2/catch.hpp" #include "mockcpp/mockcpp.hpp" int add(int a, int b) { return a + b; } SCENARIO( "Two integers add", "[add]" ) { GIVEN( "Two integers: 3, 5" ) { int a = 3; ...
25.609756
98
0.453333
sinojelly
a2a2a6386e7ab4ba772d09ba4b1e986447acd6de
1,526
cpp
C++
GCC/Basic Calculator.cpp
Anushkakorakana/Zero-to-Hero
23f6a4ffc7e5dae30de2b7b4b455478eb3ed2e6b
[ "MIT" ]
null
null
null
GCC/Basic Calculator.cpp
Anushkakorakana/Zero-to-Hero
23f6a4ffc7e5dae30de2b7b4b455478eb3ed2e6b
[ "MIT" ]
null
null
null
GCC/Basic Calculator.cpp
Anushkakorakana/Zero-to-Hero
23f6a4ffc7e5dae30de2b7b4b455478eb3ed2e6b
[ "MIT" ]
1
2020-07-31T05:16:59.000Z
2020-07-31T05:16:59.000Z
// C++ program to create calculator using // switch statement #include <iostream> using namespace std; // Main program main() { char op; float num1, num2; // It allows user to enter operator i.e. +, -, *, /,^,% cin >> op; // It allow user to enter the operands cin >> num1 >> num2; // Switch state...
17.146067
106
0.53211
Anushkakorakana
a2a3096fb62a29b12813cf06ebac3f67cdbe19b0
7,032
cpp
C++
Solution/Game/Source/QuestManager.cpp
TitoLuce/Video-Player-Research
c56545506d8b7bb13c5ee39c34aa156ed517ccc5
[ "MIT" ]
null
null
null
Solution/Game/Source/QuestManager.cpp
TitoLuce/Video-Player-Research
c56545506d8b7bb13c5ee39c34aa156ed517ccc5
[ "MIT" ]
null
null
null
Solution/Game/Source/QuestManager.cpp
TitoLuce/Video-Player-Research
c56545506d8b7bb13c5ee39c34aa156ed517ccc5
[ "MIT" ]
null
null
null
#include "QuestManager.h" #include "Log.h" #include "App.h" #include "Module.h" #include "List.h" #include "Input.h" #include "Render.h" #include "Font.h" #include "External/PugiXml/src/pugixml.hpp" #include "SDL/include/SDL_scancode.h" #include <string> #include <iostream> using namespace std; QuestManager::Quest...
27.046154
125
0.690131
TitoLuce
a2a5dcfe05a47e58034c2d634ac591567886f897
1,871
cpp
C++
Dev/Engine/Source/Tools/CCCameraFirstPerson.cpp
OrangeLabsBeijing/2c
b503e78495ed04f6d06cb32147a318c8c984e1b4
[ "Apache-2.0" ]
3
2018-05-26T04:38:48.000Z
2020-05-07T12:47:05.000Z
Dev/Engine/Source/Tools/CCCameraFirstPerson.cpp
OrangeLabsBeijing/2c
b503e78495ed04f6d06cb32147a318c8c984e1b4
[ "Apache-2.0" ]
1
2021-06-22T11:18:07.000Z
2021-06-22T11:18:07.000Z
Dev/Engine/Source/Tools/CCCameraFirstPerson.cpp
OrangeLabsBeijing/2c
b503e78495ed04f6d06cb32147a318c8c984e1b4
[ "Apache-2.0" ]
1
2021-06-22T10:29:46.000Z
2021-06-22T10:29:46.000Z
/*----------------------------------------------------------- * 2c - Cross Platform 3D Application Framework *----------------------------------------------------------- * Copyright © 2010 – 2011 France Telecom * This software is distributed under the Apache 2.0 license, * see the "license.txt" file for more detai...
27.925373
143
0.533939
OrangeLabsBeijing
a2ac93d28251d72e07532bdaa2de4254bf41201b
684
cpp
C++
AnimationMSG.cpp
GracefulComet/Graceful-Engine
cc3e4dd6da0a13904d062ebbc21c198c8b42aac6
[ "MIT" ]
null
null
null
AnimationMSG.cpp
GracefulComet/Graceful-Engine
cc3e4dd6da0a13904d062ebbc21c198c8b42aac6
[ "MIT" ]
null
null
null
AnimationMSG.cpp
GracefulComet/Graceful-Engine
cc3e4dd6da0a13904d062ebbc21c198c8b42aac6
[ "MIT" ]
null
null
null
#include "AnimationMSG.h" #include <iostream> AnimationMSG::AnimationMSG(int curTile, int AnimateFrames,bool flip , state desiredState, ID target, ID Sender) : msg(target, Sender, MSGTYPE::Animation), m_curFrameSet(curTile), Flip(flip), m_AnimationFramesSet(AnimateFrames), m_state(d...
34.2
89
0.688596
GracefulComet
a2b589048cf1209b745537071549b89b544c8406
2,778
cpp
C++
Conductor/src/ecs/ComponentVector.cpp
haferflocken/ConductorEngine
4914e419e5a736275e96d76eaa19b7aa56d69345
[ "Zlib", "BSD-2-Clause" ]
null
null
null
Conductor/src/ecs/ComponentVector.cpp
haferflocken/ConductorEngine
4914e419e5a736275e96d76eaa19b7aa56d69345
[ "Zlib", "BSD-2-Clause" ]
null
null
null
Conductor/src/ecs/ComponentVector.cpp
haferflocken/ConductorEngine
4914e419e5a736275e96d76eaa19b7aa56d69345
[ "Zlib", "BSD-2-Clause" ]
null
null
null
#include <ecs/ComponentVector.h> #include <ecs/Component.h> #include <ecs/ComponentID.h> #include <ecs/ComponentReflector.h> #include <random> ECS::ComponentVector::ComponentVector() : m_keyLookup(ComponentIDHashFunctor(), 6) {} ECS::ComponentVector::~ComponentVector() { Clear(); } ECS::ComponentVector::Componen...
25.722222
97
0.759179
haferflocken
a2b899f8692e8719285a889d8f0f38b376419ac5
1,233
cpp
C++
08_string_algorithms/12_distinct_substrings.cpp
hariharanragothaman/CSES
fa3478a71fbf66f695673e2a644d84084f6a3b90
[ "MIT" ]
1
2021-06-17T17:14:13.000Z
2021-06-17T17:14:13.000Z
08_string_algorithms/12_distinct_substrings.cpp
hariharanragothaman/CSES
fa3478a71fbf66f695673e2a644d84084f6a3b90
[ "MIT" ]
null
null
null
08_string_algorithms/12_distinct_substrings.cpp
hariharanragothaman/CSES
fa3478a71fbf66f695673e2a644d84084f6a3b90
[ "MIT" ]
null
null
null
// // Created by Hariharan Ragothaman on 11/15/21. // #include "bits/stdc++.h" using namespace std; #define ENABLEFASTIO() ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL) #define endl "\n" #define int long long //#define LOCAL #ifdef LOCAL ifstream i_data("../io/data.in"); ofstream o_data("../io/data.o...
20.55
84
0.49635
hariharanragothaman
a2ba37598d305d3323de2fee9f2ecc5dd9de1330
1,035
cpp
C++
examples/max/example.cpp
diablodale/maxcpp
373387f88af4e62bfe52d413729d3884eaf768ac
[ "MIT", "Unlicense" ]
101
2015-01-08T22:03:03.000Z
2022-03-31T11:08:09.000Z
examples/max/example.cpp
diablodale/maxcpp
373387f88af4e62bfe52d413729d3884eaf768ac
[ "MIT", "Unlicense" ]
13
2015-04-03T21:38:39.000Z
2021-01-03T18:00:47.000Z
examples/max/example.cpp
diablodale/maxcpp
373387f88af4e62bfe52d413729d3884eaf768ac
[ "MIT", "Unlicense" ]
17
2015-04-06T14:07:03.000Z
2021-08-03T18:06:18.000Z
#include "maxcpp6.h" class Example : public MaxCpp6<Example> { public: Example(t_symbol * sym, long ac, t_atom * av) { setupIO(2, 2); // inlets / outlets } ~Example() {} // methods: void bang(long inlet) { outlet_bang(m_outlets[0]); } void testfloat(long inlet, double v) { post("inlet %ld float %f"...
25.243902
79
0.689855
diablodale
a2bb01ecf248d49da0e37a1c48b84099152b8d1c
5,835
cpp
C++
RenderHardwareInterface/Renderer/Renderer.cpp
xRiveria/Crescent-Engine
b6512b6a8dab2d27cf542c562ccc28f21bf2345d
[ "Apache-2.0" ]
2
2020-12-18T03:43:07.000Z
2020-12-23T12:20:00.000Z
RenderHardwareInterface/Renderer/Renderer.cpp
xRiveria/Crescent-Engine
b6512b6a8dab2d27cf542c562ccc28f21bf2345d
[ "Apache-2.0" ]
null
null
null
RenderHardwareInterface/Renderer/Renderer.cpp
xRiveria/Crescent-Engine
b6512b6a8dab2d27cf542c562ccc28f21bf2345d
[ "Apache-2.0" ]
null
null
null
#include "RHI_PCH.h" #include "../RHI/API_Utilities/RHI_Display.h" #include "Renderer.h" #include "../RHI/RHI_Utilities.h" #include "../RHI/RHI_Texture2D.h" #include <GLFW/glfw3.h> namespace Aurora { RenderAPI Renderer::s_CurrentRenderAPI = RenderAPI::Unknown; GLFWwindow* Renderer::s_RenderWindow; void Re...
39.965753
217
0.612682
xRiveria
a2c0ff221596fe1d810641fa46ce52aacd07fb7d
2,950
cpp
C++
cpp_actor_model/libcppa/how_many_actors/how_many_actors.cpp
italiancpp/meetup-milano-2014
300013def6f2182c0b0bce7b3d511613581a437f
[ "MIT" ]
1
2019-09-02T11:02:51.000Z
2019-09-02T11:02:51.000Z
cpp_actor_model/libcppa/how_many_actors/how_many_actors.cpp
italiancpp/meetup-milano-2014
300013def6f2182c0b0bce7b3d511613581a437f
[ "MIT" ]
null
null
null
cpp_actor_model/libcppa/how_many_actors/how_many_actors.cpp
italiancpp/meetup-milano-2014
300013def6f2182c0b0bce7b3d511613581a437f
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include "cppa/cppa.hpp" #include "cppa/opt.hpp" using namespace std; using namespace cppa; using namespace cppa::placeholders; void worker(event_based_actor* self) { aout(self) << "Starting actor: " << self->id() << endl; self->become ( on_arg_match.when(_x1 == "exit") >> [=...
25.877193
102
0.623729
italiancpp
a2c552a4e5605857a18a339f795ca80c6773812d
258
cpp
C++
LeetCode/1000/905.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
LeetCode/1000/905.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
LeetCode/1000/905.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
class Solution { public: vector<int> sortArrayByParity(vector<int>& nums) { int end = nums.size(); for (int i = 0; i < end; ++i) { if (nums[i] & 1) { std::swap(nums[i], nums[--end]); --i; } } return nums; } };
19.846154
52
0.476744
K-ona
a2c8aaf74d3990477d091da7e1a065aac62ef282
1,345
cpp
C++
Old_Projects/Dummy_MC/lib/Stepper/Stepper.cpp
smit-happens/YCP_EVOS
cecfa8aaa3c73945106786c44aa78d4fe872e3c3
[ "MIT" ]
10
2017-07-30T21:26:32.000Z
2021-05-04T14:33:29.000Z
Old_Projects/Dummy_MC/lib/Stepper/Stepper.cpp
smit-happens/YCP_EVOS
cecfa8aaa3c73945106786c44aa78d4fe872e3c3
[ "MIT" ]
122
2017-07-30T15:55:55.000Z
2019-05-19T20:29:13.000Z
Old_Projects/Dummy_MC/lib/Stepper/Stepper.cpp
smit-happens/YCP_EVOS
cecfa8aaa3c73945106786c44aa78d4fe872e3c3
[ "MIT" ]
3
2018-03-10T20:01:10.000Z
2019-06-07T18:02:38.000Z
/** A one line description of the class. * * Stepper.cpp * Created 09-27-17 By: Smitty * * A longer description. */ #include "Stepper.hpp" /** * Stepper constructor */ Stepper::Stepper(void) { pinMode(STEPPER_COIL_PIN_A, OUTPUT); pinMode(STEPPER_COIL_PIN_B, OUTPUT); pinMode(STEPPER_COIL_PIN_C, OUTPUT)...
17.933333
42
0.721933
smit-happens
a2c8fda98c4888f6ff8a0742e709f63d795fa448
1,505
cpp
C++
android-29/android/media/audiofx/DynamicsProcessing_Eq.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/media/audiofx/DynamicsProcessing_Eq.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/media/audiofx/DynamicsProcessing_Eq.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "./DynamicsProcessing_EqBand.hpp" #include "../../../JString.hpp" #include "./DynamicsProcessing_Eq.hpp" namespace android::media::audiofx { // Fields // QJniObject forward DynamicsProcessing_Eq::DynamicsProcessing_Eq(QJniObject obj) : android::media::audiofx::DynamicsProcessing_BandStage(obj) {} // C...
27.363636
125
0.736213
YJBeetle
a2ce6b8448f2d1e159726737ad67a0c3dc91c436
2,928
cc
C++
src/Gui_TEST.cc
FirefoxMetzger/sdformat
b25ecbc75f6d54b0f35ceafb0222c8dd544fdbbc
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/Gui_TEST.cc
FirefoxMetzger/sdformat
b25ecbc75f6d54b0f35ceafb0222c8dd544fdbbc
[ "ECL-2.0", "Apache-2.0" ]
3
2020-10-30T19:22:51.000Z
2020-12-03T20:57:20.000Z
src/Gui_TEST.cc
FirefoxMetzger/sdformat
b25ecbc75f6d54b0f35ceafb0222c8dd544fdbbc
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 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...
23.238095
77
0.598702
FirefoxMetzger
a2d054bd0d1dc148efdab99be8952ca6736d85fc
2,524
cpp
C++
DisplayDefinition.cpp
RaisedBar/SurfaceReader
a1308cffcc510951997390e227fd706e85bdbe50
[ "MIT" ]
null
null
null
DisplayDefinition.cpp
RaisedBar/SurfaceReader
a1308cffcc510951997390e227fd706e85bdbe50
[ "MIT" ]
16
2019-02-26T16:51:29.000Z
2021-04-20T02:34:49.000Z
DisplayDefinition.cpp
RaisedBar/SurfaceReader
a1308cffcc510951997390e227fd706e85bdbe50
[ "MIT" ]
null
null
null
// DisplayDefinition.cpp //Implementation of the DisplayDefinition Class. #include "DisplayDefinition.h" DisplayDefinition::DisplayDefinition() : MessageDefinition(), blnIsLEDLamp( false), nDisplayLineCount( -1), nDisplayLength( -1), nStripCount( -1), blnCursorFromLeft( true), nCursorOffset( 0), nCursorPos( 0), ...
15.29697
91
0.776941
RaisedBar
a2d101b9bcb112d88423f29d0fd5fb9ce57c0e47
8,062
cpp
C++
src/io.cpp
SiriusTR/dle-experimental
2ee17b4277b68eef57960d5cf9762dd986eaa0d9
[ "MIT" ]
null
null
null
src/io.cpp
SiriusTR/dle-experimental
2ee17b4277b68eef57960d5cf9762dd986eaa0d9
[ "MIT" ]
3
2019-09-10T03:50:40.000Z
2019-09-23T04:20:14.000Z
src/io.cpp
SiriusTR/dle-experimental
2ee17b4277b68eef57960d5cf9762dd986eaa0d9
[ "MIT" ]
1
2021-10-02T14:16:28.000Z
2021-10-02T14:16:28.000Z
#include "stdafx.h" #include "define.h" #include "types.h" #include "cfile.h" #if 0 //------------------------------------------------------------------------ // ReadInt32 () // // ACTION - Reads a 32 bit word from a file. //------------------------------------------------------------------------ double ReadDouble ...
24.806154
112
0.406971
SiriusTR
a2d1c3246fc5d96b799eaaa93e9424944ce3af1d
9,582
cpp
C++
lgfx/vulkan/Pipeline.cpp
taqu/lgfx
a46f79b802b116946bcf74889ffc063172ea3367
[ "CC0-1.0" ]
null
null
null
lgfx/vulkan/Pipeline.cpp
taqu/lgfx
a46f79b802b116946bcf74889ffc063172ea3367
[ "CC0-1.0" ]
null
null
null
lgfx/vulkan/Pipeline.cpp
taqu/lgfx
a46f79b802b116946bcf74889ffc063172ea3367
[ "CC0-1.0" ]
null
null
null
/** @file Pipeline.cpp @author t-sakai @date 2018/10/21 create */ #include "../lgfx_vulkan.h" namespace lgfx { //-------------------------------------------------------------- //--- //--- PipelineState //--- //-------------------------------------------------------------- const ShaderStage Pipe...
41.66087
209
0.589647
taqu
a2dbedbfc2f3c13e4567b123eaf0e5f6307251cb
5,215
cpp
C++
zxing/BitArray.cpp
Jacarte/wasi-zxing-wasm
0452a1d3c0c48640576f07d91f6910614ebafe8b
[ "Apache-2.0" ]
1
2019-11-11T17:29:16.000Z
2019-11-11T17:29:16.000Z
zxing/BitArray.cpp
Jacarte/wasi-zxing-wasm
0452a1d3c0c48640576f07d91f6910614ebafe8b
[ "Apache-2.0" ]
null
null
null
zxing/BitArray.cpp
Jacarte/wasi-zxing-wasm
0452a1d3c0c48640576f07d91f6910614ebafe8b
[ "Apache-2.0" ]
1
2021-06-10T08:37:14.000Z
2021-06-10T08:37:14.000Z
/* * Copyright 2016 Nu-book Inc. * Copyright 2016 ZXing authors * * 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...
25.563725
94
0.632407
Jacarte
a2e23da9c186107c35d00fd1db56cb33b0f4e068
1,728
cc
C++
addons/image/image.cc
jnsmalm/gameplay-dist
1c0c4da4a3c5b54900cb06c6ee6e33a93e26e4b5
[ "MIT" ]
12
2015-08-19T06:37:09.000Z
2022-03-19T04:04:23.000Z
addons/image/image.cc
jnsmalm/gameplay-dist
1c0c4da4a3c5b54900cb06c6ee6e33a93e26e4b5
[ "MIT" ]
1
2020-05-07T23:10:48.000Z
2020-05-11T13:41:30.000Z
addons/image/image.cc
jnsmalm/gameplay-dist
1c0c4da4a3c5b54900cb06c6ee6e33a93e26e4b5
[ "MIT" ]
2
2015-11-23T17:40:31.000Z
2021-06-10T17:13:25.000Z
#include "node.h" #include "v8.h" #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" namespace gameplay { namespace image { using v8::Context; using v8::FunctionCallbackInfo; using v8::Local; using v8::Number; using v8::Object; using v8::Value; using v8::Isolate; using v8::String; using v8::Exception; using v8::...
26.181818
77
0.677083
jnsmalm
a2e391657ffc578e2494fb3b3afbc078f1de0092
735
hpp
C++
addons/nightvision/CfgWeapons.hpp
Task-Force-Dagger/Dagger
56b9ffe3387f74830419a987eed5a0f386674331
[ "MIT" ]
null
null
null
addons/nightvision/CfgWeapons.hpp
Task-Force-Dagger/Dagger
56b9ffe3387f74830419a987eed5a0f386674331
[ "MIT" ]
null
null
null
addons/nightvision/CfgWeapons.hpp
Task-Force-Dagger/Dagger
56b9ffe3387f74830419a987eed5a0f386674331
[ "MIT" ]
null
null
null
#define BROKEN_GOGGLES(ORIGINAL_NVG) class ORIGINAL_NVG; \ class GVAR(DOUBLES(ORIGINAL_NVG,Broken)): ORIGINAL_NVG { \ scope = 1; \ modelOptics = QPATHTOF(data\tfd_nvg_defunct.p3d); \ } class CfgWeapons { BROKEN_GOGGLES(ACE_NVG_Gen1); BROKEN_GOGGLES(ACE_NVG_Gen2); BROKEN_GOGGLES(ACE_NVG_Gen4...
31.956522
59
0.756463
Task-Force-Dagger
a2e8fb568c25155c3743b9d036b4c0a96c16a727
182
cpp
C++
Engine/Output/Graphics/Object/ColorableObject/ColorableObject.cpp
gregory-vovchok/YEngine
e28552e52588bd90db01dd53e5fc817d0a26d146
[ "BSD-2-Clause" ]
null
null
null
Engine/Output/Graphics/Object/ColorableObject/ColorableObject.cpp
gregory-vovchok/YEngine
e28552e52588bd90db01dd53e5fc817d0a26d146
[ "BSD-2-Clause" ]
null
null
null
Engine/Output/Graphics/Object/ColorableObject/ColorableObject.cpp
gregory-vovchok/YEngine
e28552e52588bd90db01dd53e5fc817d0a26d146
[ "BSD-2-Clause" ]
1
2020-12-04T08:57:03.000Z
2020-12-04T08:57:03.000Z
#include "ColorableObject.h" ColorableObject::ColorableObject(void) { AddClassProperty(COLORABLE_OBJECT_CLASS); } ColorableObject::~ColorableObject(void) { Destroying(); }
10.111111
42
0.763736
gregory-vovchok
a2f4e1b62125391170bbdb687e511618ee01c95b
778
cc
C++
squid/squid3-3.3.8.spaceify/compat/shm.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-01-20T15:25:34.000Z
2017-12-20T06:47:42.000Z
squid/squid3-3.3.8.spaceify/compat/shm.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-05-15T09:32:55.000Z
2016-02-18T13:43:31.000Z
squid/squid3-3.3.8.spaceify/compat/shm.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
null
null
null
#include "squid.h" #include "compat/shm.h" #if _SQUID_FREEBSD_ && (__FreeBSD__ >= 7) #include <sys/sysctl.h> #endif /* * Some systems have filesystem-based resources and interpret segment names * as file paths. The so-called 'portable' "/name" format does not work well * for them. And, according to Boost::interpro...
27.785714
91
0.712082
spaceify
a2fc628621706475257e6b93d9c2fbdf91422c51
844
cpp
C++
src/prod/src/ServiceModel/ClaimsCollection.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/ServiceModel/ClaimsCollection.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/ServiceModel/ClaimsCollection.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
26.375
98
0.586493
vishnuk007
0c030b1dcccde8644a147658d04f61be94e1cdb3
533
cpp
C++
user_space_tests/named_pipe_test.cpp
0xlay/XStar
bb5aca028cb26a2645af114270180477de2b40ed
[ "MIT" ]
null
null
null
user_space_tests/named_pipe_test.cpp
0xlay/XStar
bb5aca028cb26a2645af114270180477de2b40ed
[ "MIT" ]
null
null
null
user_space_tests/named_pipe_test.cpp
0xlay/XStar
bb5aca028cb26a2645af114270180477de2b40ed
[ "MIT" ]
null
null
null
#include "pch.h" TEST(NamedPipeTests, NamaedPipe__Default__Test) { using namespace xstar; auto name = $T"\\\\.\\pipe\\XStarTestPipe"; NamedPipeServer server(name, PipeDirection::InOut); NamedPipeClient client(name, PipeAccess::InOut); client.connect(); std::string msg = "Hello world!"; s...
24.227273
65
0.669794
0xlay
0c07df9103f38fe6495fc505bdc8d4ac9d2b8fa1
10,679
cxx
C++
Programs/DeformableBoundary/DeformableBoundary.cxx
Piyusha23/IAFEMesh
e91b34c9eaa9c8ecc4ebb5d16f4c13f330d75c9f
[ "BSD-4-Clause-UC" ]
null
null
null
Programs/DeformableBoundary/DeformableBoundary.cxx
Piyusha23/IAFEMesh
e91b34c9eaa9c8ecc4ebb5d16f4c13f330d75c9f
[ "BSD-4-Clause-UC" ]
null
null
null
Programs/DeformableBoundary/DeformableBoundary.cxx
Piyusha23/IAFEMesh
e91b34c9eaa9c8ecc4ebb5d16f4c13f330d75c9f
[ "BSD-4-Clause-UC" ]
null
null
null
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: $RCSfile: DeformableBoundary.cxx,v $ Language: C++ Date: $Date: 2012/12/07 19:08:59 $ Version: $Revision: 1.1.1.1 $ Copyright (c) Insight Software Consortiu...
39.551852
154
0.684053
Piyusha23
0c0e5ef8a7154a35035f25918abe9b503ba186fd
1,979
hpp
C++
include/partial_perm_inverse_semigroup.hpp
goens/TUD_computational_group_theory
3f4703cae1ac049089db23eafc321e8daca2d99d
[ "MIT" ]
2
2018-09-10T09:31:17.000Z
2018-10-14T15:19:20.000Z
include/partial_perm_inverse_semigroup.hpp
goens/TUD_computational_group_theory
3f4703cae1ac049089db23eafc321e8daca2d99d
[ "MIT" ]
7
2020-06-11T07:25:08.000Z
2020-12-19T09:07:50.000Z
include/partial_perm_inverse_semigroup.hpp
goens/TUD_computational_group_theory
3f4703cae1ac049089db23eafc321e8daca2d99d
[ "MIT" ]
2
2020-09-10T19:31:57.000Z
2020-12-09T13:17:50.000Z
#if 0 #ifndef GUARD_PARTIAL_PERM_INVERSE_SEMIGROUP_H #define GUARD_PARTIAL_PERM_INVERSE_SEMIGROUP_H #include <cstddef> #include <ostream> #include <unordered_map> #include <unordered_set> #include <utility> #include <vector> #include "eemp.hpp" #include "partial_perm.hpp" #include "perm_group.hpp" #include "util.hpp"...
22.488636
75
0.706923
goens
0c0e653a71bc22611bfc3eabdedf7730e57680ff
30,552
cpp
C++
Code/Tools/FBuild/FBuildCore/Graph/UnityNode.cpp
qq573011406/FASTBuild_UnrealEngine
29c49672f82173a903cb32f0e4656e2fd07ebef2
[ "MIT" ]
30
2020-07-15T06:16:55.000Z
2022-02-10T21:37:52.000Z
Code/Tools/FBuild/FBuildCore/Graph/UnityNode.cpp
qq573011406/FASTBuild_UnrealEngine
29c49672f82173a903cb32f0e4656e2fd07ebef2
[ "MIT" ]
1
2020-10-19T22:12:03.000Z
2020-10-19T22:12:03.000Z
Code/Tools/FBuild/FBuildCore/Graph/UnityNode.cpp
qq573011406/FASTBuild_UnrealEngine
29c49672f82173a903cb32f0e4656e2fd07ebef2
[ "MIT" ]
12
2020-09-16T17:39:34.000Z
2021-08-17T11:32:37.000Z
// UnityNode.cpp //------------------------------------------------------------------------------ // Includes //------------------------------------------------------------------------------ #include "UnityNode.h" #include "DirectoryListNode.h" #include "Tools/FBuild/FBuildCore/BFF/Functions/Function.h" // TODO:C Rem...
37.258537
149
0.535022
qq573011406
0c120ba1c991877a3881bc8dda59757a905010fb
9,422
cpp
C++
network/ndis/ndisprot_kmdf/notifyob/ProtNotify.cpp
ixjf/Windows-driver-samples
38985ba91feb685095754775e101389ad90c2aa6
[ "MS-PL" ]
3,084
2015-03-18T04:40:32.000Z
2019-05-06T17:14:33.000Z
network/ndis/ndisprot_kmdf/notifyob/ProtNotify.cpp
ixjf/Windows-driver-samples
38985ba91feb685095754775e101389ad90c2aa6
[ "MS-PL" ]
275
2015-03-19T18:44:41.000Z
2019-05-06T14:13:26.000Z
network/ndis/ndisprot_kmdf/notifyob/ProtNotify.cpp
ixjf/Windows-driver-samples
38985ba91feb685095754775e101389ad90c2aa6
[ "MS-PL" ]
3,091
2015-03-19T00:08:54.000Z
2019-05-06T16:42:01.000Z
/*++ Copyright (c) Microsoft Corporation. All rights reserved. Module Name: ProtNotify.cpp Abstract: This module contains the component that calls into the Wdf Installer to to load/unload the WDF loader during the device installation/removal. --*/ #include "Common.hpp" #ifdef _ATL_S...
22.274232
87
0.564636
ixjf
0c1985134d19e30d2d7d1e3d8d55f3aeb334b831
13,375
cpp
C++
TicTacAI/GameCtrl.cpp
henry9836/TicTacAI
d0efae837b9f49e84bfa9ab5ce3e044c1e17793c
[ "MIT" ]
null
null
null
TicTacAI/GameCtrl.cpp
henry9836/TicTacAI
d0efae837b9f49e84bfa9ab5ce3e044c1e17793c
[ "MIT" ]
null
null
null
TicTacAI/GameCtrl.cpp
henry9836/TicTacAI
d0efae837b9f49e84bfa9ab5ce3e044c1e17793c
[ "MIT" ]
null
null
null
#include <iostream> #include <windows.h> #include <vector> #include <array> #include <stdio.h> #include <time.h> #include <math.h> #include <cmath> #include <stdlib.h> #include <conio.h> #include <string> #include <algorithm> #include <fstream> #include "main.h" #include "ConsoleControls.h" #include "Gri...
21.677472
226
0.564112
henry9836
0c206fa72f9576639d48e23c740456399f46ce2b
2,235
cc
C++
ExtinctionMonitorFNAL/Geometry/src/PixelNeighbors.cc
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
9
2020-03-28T00:21:41.000Z
2021-12-09T20:53:26.000Z
ExtinctionMonitorFNAL/Geometry/src/PixelNeighbors.cc
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
684
2019-08-28T23:37:43.000Z
2022-03-31T22:47:45.000Z
ExtinctionMonitorFNAL/Geometry/src/PixelNeighbors.cc
resnegfk/Offline
4ba81dad54486188fa83fea8c085438d104afbbc
[ "Apache-2.0" ]
61
2019-08-16T23:28:08.000Z
2021-12-20T08:29:48.000Z
// Andrei Gaponenko, 2012 #include "Offline/ExtinctionMonitorFNAL/Geometry/inc/PixelNeighbors.hh" namespace mu2e { //================================================================ PixelNeighbors::PixelNeighbors(const ExtMonFNALModule& module, const ExtMonFNALPixelChip& chip) ...
36.048387
94
0.561521
resnegfk
0c2308ee78bc611f3ec017ac537980897a9c8a4c
10,124
hpp
C++
tests/common/include/mock/Expectation.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
tests/common/include/mock/Expectation.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
tests/common/include/mock/Expectation.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #ifndef COH_EXPECTATION_HPP #define COH_EXPECTATION_HPP #include "coherence/lang.ns" #include "coherence/util/ArrayList.hpp" COH_OPEN_NAMESPA...
28.925714
86
0.491011
chpatel3
0c285b91519ebdbdd59b7217884a4c01e722e047
756
hpp
C++
Celerity/include/imageWriters/ppmWriter.hpp
wermos/Tracer
a489b0b2f1a5f8f6c60e68c4b982b1696ca9034a
[ "MIT" ]
2
2022-03-02T17:43:56.000Z
2022-03-22T12:27:16.000Z
Celerity/include/imageWriters/ppmWriter.hpp
wermos/Tracer
a489b0b2f1a5f8f6c60e68c4b982b1696ca9034a
[ "MIT" ]
null
null
null
Celerity/include/imageWriters/ppmWriter.hpp
wermos/Tracer
a489b0b2f1a5f8f6c60e68c4b982b1696ca9034a
[ "MIT" ]
null
null
null
#ifndef PPM_WRITER_HPP #define PPM_WRITER_HPP #include <iostream> #include <string> #include <fstream> #include "color.hpp" class ppmWriter { public: ppmWriter(const int imageWidth, const int imageHeight); void writeToBuffer(const color c) { if (m_useStandardOutput) { std::cout << c << "\n"; } else {...
19.384615
61
0.604497
wermos
0c3cc589174a4e4b3e72caa6cc677ab0a09ebd74
664
cpp
C++
Codeforces/Rounds/Codeforces Global Round 13/A.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
3
2020-11-01T06:31:30.000Z
2022-02-21T20:37:51.000Z
Codeforces/Rounds/Codeforces Global Round 13/A.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
null
null
null
Codeforces/Rounds/Codeforces Global Round 13/A.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
1
2021-05-05T18:56:31.000Z
2021-05-05T18:56:31.000Z
//https://codeforces.com/contest/1491/problem/A #include <bits/stdc++.h> using namespace std; #define F first #define S second typedef long long ll; typedef long double ld; const ll mod = 1e9 + 7; int main () { ios_base::sync_with_stdio (0); cin.tie (0); cout.tie (0); ll n, q, cnt = 0; cin >> n >> q; ...
18.971429
61
0.426205
MaGnsio
0c3d7920289e14fec6f1bb1ffbf3d968279982de
3,335
cpp
C++
test/unit_test_line.cpp
franc0r/francor_perception
3e0f3eefcc419f53daf5d0dab1d5baa01ce486cf
[ "BSD-3-Clause" ]
null
null
null
test/unit_test_line.cpp
franc0r/francor_perception
3e0f3eefcc419f53daf5d0dab1d5baa01ce486cf
[ "BSD-3-Clause" ]
null
null
null
test/unit_test_line.cpp
franc0r/francor_perception
3e0f3eefcc419f53daf5d0dab1d5baa01ce486cf
[ "BSD-3-Clause" ]
null
null
null
#include <gtest/gtest.h> #include "line.h" // check if the line is successfully constructed TEST(LineTest, ConstructFromParameter) { // construct a line with m = 3.0 and t = 1.0 const francor::perception::Line line(3.0, 1.0); EXPECT_DOUBLE_EQ(line.m(), 3.0); EXPECT_DOUBLE_EQ(line.t(), 1.0); EXPECT_NEAR(li...
35.860215
107
0.646477
franc0r
0c482decee2feded119141a97228c83261d79436
8,689
cpp
C++
Engine/ModuleRenderer3D.cpp
Beautiful-Engines/Engine
fab1b2415d63218078cc6f2b2a33676e9ef45543
[ "MIT" ]
null
null
null
Engine/ModuleRenderer3D.cpp
Beautiful-Engines/Engine
fab1b2415d63218078cc6f2b2a33676e9ef45543
[ "MIT" ]
null
null
null
Engine/ModuleRenderer3D.cpp
Beautiful-Engines/Engine
fab1b2415d63218078cc6f2b2a33676e9ef45543
[ "MIT" ]
null
null
null
#include "Application.h" #include "ModuleCamera3D.h" #include "ModuleWindow.h" #include "ModuleScene.h" #include "ModuleRenderer3D.h" #include "ComponentCamera.h" #include "MathGeoLib/include/Math/float2.h" #include "glew\glew.h" #include "SDL\include\SDL_opengl.h" #pragma comment (lib, "glew/glew32.lib") /* link ...
25.112717
164
0.73196
Beautiful-Engines
0c48f70209b56e86fd9c116ec4499f5de32300eb
789
cpp
C++
Test/Lowest_Common_Ancestor_Test.cpp
tj1432423/Algorithm_Practice
5a5333ee028cc86d7658ee7227a113ce90f798ae
[ "MIT" ]
null
null
null
Test/Lowest_Common_Ancestor_Test.cpp
tj1432423/Algorithm_Practice
5a5333ee028cc86d7658ee7227a113ce90f798ae
[ "MIT" ]
null
null
null
Test/Lowest_Common_Ancestor_Test.cpp
tj1432423/Algorithm_Practice
5a5333ee028cc86d7658ee7227a113ce90f798ae
[ "MIT" ]
null
null
null
#include <iostream> #include "../Data_Structure/Binary_tree_Creater.h" #include "../Graph_Theory/Lowest_Common_Ancestor.h" using namespace std; int main() { printf("Hello word !!!\n"); vector<string> nums = {"1", "2", "3", "4", "5", "Null", "6", "7", "Null", "8", "Null", "Null", "Null", "Null", "Nu...
31.56
161
0.580482
tj1432423
31b456608a6c96337b530e2bfad1066ef425b62b
438
cpp
C++
solutions/202.happy-number.318582850.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/202.happy-number.318582850.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/202.happy-number.318582850.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
class Solution { public: bool isHappy(int n) { int slowRunner = n; int fastRunner = n; do { slowRunner = next(slowRunner); fastRunner = next(next(fastRunner)); if (slowRunner == 1) return true; } while (slowRunner != fastRunner); return false; } int next(int n) { ...
16.222222
42
0.509132
satu0king
31b48ba0f4c5c296bee74b6612127d1be242a48c
1,323
hpp
C++
include/kangaru/detail/hash.hpp
gracicot/DICL
47c89c18a599382bd39cfb80ad6e2496e4c9ce42
[ "MIT" ]
null
null
null
include/kangaru/detail/hash.hpp
gracicot/DICL
47c89c18a599382bd39cfb80ad6e2496e4c9ce42
[ "MIT" ]
null
null
null
include/kangaru/detail/hash.hpp
gracicot/DICL
47c89c18a599382bd39cfb80ad6e2496e4c9ce42
[ "MIT" ]
null
null
null
#ifndef KGR_KANGARU_INCLUDE_KANGARU_DETAIL_HASH_HPP #define KGR_KANGARU_INCLUDE_KANGARU_DETAIL_HASH_HPP #include "string_view.hpp" #include <cstdint> #include "define.hpp" namespace kgr { namespace detail { // C++11 compile type hash function for strings // Implementation taken from TheLartians/StaticTypeInfo // L...
27.5625
128
0.764928
gracicot
31b6732858ea6799ffbfcc2817dc24f9b8bb0f42
211
cpp
C++
PsDemo/Source/PsDemo/PsDemo.cpp
PushkinStudio/PsPNE-DEMO
bcf0fd431a75ea24d40925bc9a83fd5a672a97c4
[ "MIT" ]
null
null
null
PsDemo/Source/PsDemo/PsDemo.cpp
PushkinStudio/PsPNE-DEMO
bcf0fd431a75ea24d40925bc9a83fd5a672a97c4
[ "MIT" ]
null
null
null
PsDemo/Source/PsDemo/PsDemo.cpp
PushkinStudio/PsPNE-DEMO
bcf0fd431a75ea24d40925bc9a83fd5a672a97c4
[ "MIT" ]
2
2020-04-20T09:36:11.000Z
2020-11-04T18:50:34.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "PsDemo.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, PsDemo, "PsDemo" );
30.142857
78
0.796209
PushkinStudio
31b6bece3ff6a14c4e21698a4937bd72a5239930
1,903
cpp
C++
puzzles/2020/day01/main.cpp
apathyboy/aoc2020cpp
0e02feca98a11ef530953c1d314f605edbbdea9c
[ "MIT" ]
null
null
null
puzzles/2020/day01/main.cpp
apathyboy/aoc2020cpp
0e02feca98a11ef530953c1d314f605edbbdea9c
[ "MIT" ]
null
null
null
puzzles/2020/day01/main.cpp
apathyboy/aoc2020cpp
0e02feca98a11ef530953c1d314f605edbbdea9c
[ "MIT" ]
null
null
null
#include <aoc/aoc.hpp> #include <fmt/core.h> #include <range/v3/all.hpp> #include <array> #include <fstream> namespace rs = ranges; namespace rv = ranges::views; auto contains_last_element(const std::vector<int>& input) { return [&input](const auto& p) { return rs::contains(input, p.back()); }; } auto accumula...
21.382022
79
0.622176
apathyboy
31b7a50f940a1fa9cd641f62e4aff7b19b905faa
8,818
hpp
C++
src/composable_kernel/host/host_tensor/include/host_conv_bwd_data.hpp
j4yan/MIOpen
dc38f79bee97e047d866d9c1e25289cba86fab56
[ "MIT" ]
null
null
null
src/composable_kernel/host/host_tensor/include/host_conv_bwd_data.hpp
j4yan/MIOpen
dc38f79bee97e047d866d9c1e25289cba86fab56
[ "MIT" ]
null
null
null
src/composable_kernel/host/host_tensor/include/host_conv_bwd_data.hpp
j4yan/MIOpen
dc38f79bee97e047d866d9c1e25289cba86fab56
[ "MIT" ]
null
null
null
#pragma once #include "host_tensor.hpp" template <typename TIn, typename TWei, typename TOut, typename ConvStrides, typename ConvDilations, typename InLeftPads, typename InRightPads> void host_direct_convolution_backward_data(Tensor<TIn>& in, ...
35.991837
127
0.445906
j4yan
31bb96fce764faa31d8098cc03adf1c2d4772bc7
1,192
hh
C++
TEvtGen/EvtGen/EvtGenBase/EvtRandom.hh
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
TEvtGen/EvtGen/EvtGenBase/EvtRandom.hh
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
TEvtGen/EvtGen/EvtGenBase/EvtRandom.hh
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Informat...
22.490566
76
0.616611
AllaMaevskaya
31c9aaeb6132a111f23a57d73b9830b9511db61e
202
cpp
C++
Sandbox/Source/Main.cpp
NavkaGleb/Ziben
6729a74a67aea8e780e958438642895e27043745
[ "MIT" ]
3
2021-06-10T05:59:09.000Z
2021-06-10T18:29:02.000Z
Sandbox/Source/Main.cpp
navkagleb/Ziben
6729a74a67aea8e780e958438642895e27043745
[ "MIT" ]
null
null
null
Sandbox/Source/Main.cpp
navkagleb/Ziben
6729a74a67aea8e780e958438642895e27043745
[ "MIT" ]
null
null
null
#include "Application.hpp" Ziben::Application* Ziben::CreateApplication(int argc, char** argv) { (void)argc; (void)argv; return new Sandbox::Application("SandboxApplication", 1280, 720); }
25.25
69
0.70297
NavkaGleb
31ca48801cebd926214679d4bd07248493c15390
930
cpp
C++
libs/i2c/src/i2c.cpp
AjeyBharadwaj/pico-examples
59a6a39314cf74d5866cf55b4b16cc5450a4ea97
[ "BSD-3-Clause" ]
null
null
null
libs/i2c/src/i2c.cpp
AjeyBharadwaj/pico-examples
59a6a39314cf74d5866cf55b4b16cc5450a4ea97
[ "BSD-3-Clause" ]
null
null
null
libs/i2c/src/i2c.cpp
AjeyBharadwaj/pico-examples
59a6a39314cf74d5866cf55b4b16cc5450a4ea97
[ "BSD-3-Clause" ]
null
null
null
#include "../i2c.hh" I2C::I2C(uint instance_no, uint baudrate, uint sda_pin, uint scl_pin) { switch (instance_no) { case 0: this->i2c_ptr = i2c0; break; case 1: this->i2c_ptr = i2c1; break; default: this->i2c_ptr = i2c_default; break; } i2c_init(...
25.135135
101
0.65914
AjeyBharadwaj
31cd2aa77c4d8f3e452228bfb5290ef982c60c92
5,573
cc
C++
mediapipe/framework/graph_service_test.cc
Ensteinjun/mediapipe
38be2ec58f2a1687f4ffca287094c7bbd7791f58
[ "Apache-2.0" ]
2
2021-12-02T02:14:31.000Z
2021-12-02T02:16:24.000Z
mediapipe/framework/graph_service_test.cc
Ensteinjun/mediapipe
38be2ec58f2a1687f4ffca287094c7bbd7791f58
[ "Apache-2.0" ]
null
null
null
mediapipe/framework/graph_service_test.cc
Ensteinjun/mediapipe
38be2ec58f2a1687f4ffca287094c7bbd7791f58
[ "Apache-2.0" ]
3
2021-01-19T14:40:59.000Z
2021-06-09T13:43:49.000Z
// Copyright 2019 The MediaPipe Authors. // // 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 a...
35.954839
80
0.731563
Ensteinjun
31ce98aebef24402f41690f615521f2c3e790322
264
hpp
C++
include/RED4ext/Scripting/Natives/Generated/AI/behavior/SystemVariableExpressionTypes.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/AI/behavior/SystemVariableExpressionTypes.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/AI/behavior/SystemVariableExpressionTypes.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> namespace RED4ext { namespace AI::behavior { enum class SystemVariableExpressionTypes : uint32_t { IsFPSLow = 0, }; } // namespace AI::behavior } // namespace RED4ext
17.6
57
0.734848
jackhumbert
31d37f64fa6b9bbf6546075232c3537071ac8024
2,862
cpp
C++
C06E06/main.cpp
VinayakTekade/Robert-Lafore-OOPS-in-C-
3f77db0cd35601f883c2c6b9ddac062c707a76a8
[ "MIT" ]
null
null
null
C06E06/main.cpp
VinayakTekade/Robert-Lafore-OOPS-in-C-
3f77db0cd35601f883c2c6b9ddac062c707a76a8
[ "MIT" ]
1
2020-02-02T07:28:50.000Z
2020-02-02T07:28:50.000Z
C06E06/main.cpp
VinayakTekade/Robert-Lafore-OOPS-in-C-
3f77db0cd35601f883c2c6b9ddac062c707a76a8
[ "MIT" ]
null
null
null
//C06E06.cpp #include <iostream> using namespace std; class employee { private: int number; float salary; enum etype {labourer, secretary, manager, accountant, executive, researcher} ; etype e; public: etype getetype() { char ch; cout << "Enter Employee Ty...
26.018182
133
0.408805
VinayakTekade
31d7b20f64184e47da9e262e66469c3fb3b15de3
5,582
cpp
C++
winp/winp/control/tab_control_page.cpp
benbraide/winp2
f2687fe00b8cbda10f3e8d169c0c3823cf8e6c5f
[ "MIT" ]
null
null
null
winp/winp/control/tab_control_page.cpp
benbraide/winp2
f2687fe00b8cbda10f3e8d169c0c3823cf8e6c5f
[ "MIT" ]
null
null
null
winp/winp/control/tab_control_page.cpp
benbraide/winp2
f2687fe00b8cbda10f3e8d169c0c3823cf8e6c5f
[ "MIT" ]
null
null
null
#include "../app/app_object.h" #include "../ui/ui_size_and_position_hooks.h" #include "tab_control.h" winp::control::tab_page::tab_page(){ insert_hook<ui::parent_fill_hook>(); insert_hook<ui::placement_hook>(ui::placement_hook::alignment_type::top_left); add_event_handler_([this](events::create &e){ if (e.is_cr...
31.715909
158
0.722859
benbraide
31dec2a6e3f708f27fa34c4a65f3d454f6ba4ca1
5,176
cpp
C++
firmware/motor_controller/src/Motion.cpp
focusrobotics/explorer
2b3c75217783830026646fe967b6d06641877642
[ "MIT" ]
null
null
null
firmware/motor_controller/src/Motion.cpp
focusrobotics/explorer
2b3c75217783830026646fe967b6d06641877642
[ "MIT" ]
null
null
null
firmware/motor_controller/src/Motion.cpp
focusrobotics/explorer
2b3c75217783830026646fe967b6d06641877642
[ "MIT" ]
null
null
null
/**************************************************************************** * Copyright (c) 2019 by Focus Robotics. All rights reserved. * * 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 Softwa...
35.452055
153
0.674459
focusrobotics
31e28c9686a846f55035d897f065531f87a0dd5d
19,596
cxx
C++
examples/MultiImageRegistration.cxx
Besler/ITKBertelstenRegistration
48cf519e947252eb2ba0cd27d3240f9f5ebbd626
[ "Apache-2.0" ]
null
null
null
examples/MultiImageRegistration.cxx
Besler/ITKBertelstenRegistration
48cf519e947252eb2ba0cd27d3240f9f5ebbd626
[ "Apache-2.0" ]
1
2018-02-22T23:26:45.000Z
2018-02-22T23:48:16.000Z
examples/MultiImageRegistration.cxx
Besler/ITKBertelstenRegistration
48cf519e947252eb2ba0cd27d3240f9f5ebbd626
[ "Apache-2.0" ]
1
2022-01-12T08:26:00.000Z
2022-01-12T08:26:00.000Z
#ifdef _MSC_VER #pragma warning ( disable : 4786 ) #endif #include <itkCommand.h> #include <itkEuler3DTransform.h> #include <itkFRPROptimizer.h> #include <itkImage.h> #include <itkImageFileReader.h> #include <itkImageFileWriter.h> #include <itkMultiResolutionPyramidImageFilter.h> #include <itkResampleImag...
34.378947
88
0.559859
Besler
31e355b03f5e9ee7cf5e28bbbe51c08d8fc1b0cc
6,529
cpp
C++
Promo_2023_Projet_Mai/Promo_2023_Projet_Mai/AT_Joueur.cpp
dev1ous/Jelly-War
55353c1f111101a0286370236541b087fdf28d17
[ "Apache-2.0" ]
null
null
null
Promo_2023_Projet_Mai/Promo_2023_Projet_Mai/AT_Joueur.cpp
dev1ous/Jelly-War
55353c1f111101a0286370236541b087fdf28d17
[ "Apache-2.0" ]
null
null
null
Promo_2023_Projet_Mai/Promo_2023_Projet_Mai/AT_Joueur.cpp
dev1ous/Jelly-War
55353c1f111101a0286370236541b087fdf28d17
[ "Apache-2.0" ]
null
null
null
#include "AT_Joueur.h" #include "Functions.h" #include "Gamepad.h" #include "Cache.h" #include "Options.h" #include <numbers> AT_Joueur::AT_Joueur(Vector2f _pos, int _color) : color(_color) { if (!m_bufferAT.loadFromFile("../Ressources/Sons/FinalVersionSons/MiniJeuxdeGroupe/AutoTamponneuse/ATChute.wav")) exit(0);...
26.868313
145
0.648951
dev1ous
31e4e2dacaf5fe450d073c94c059d0ef53659bb9
285
cpp
C++
convert_project/EmbededPy.cpp
DeepWater1013/RockedPy
34410c6b22456d1829dcd0e594174cd8ad055104
[ "MIT" ]
null
null
null
convert_project/EmbededPy.cpp
DeepWater1013/RockedPy
34410c6b22456d1829dcd0e594174cd8ad055104
[ "MIT" ]
null
null
null
convert_project/EmbededPy.cpp
DeepWater1013/RockedPy
34410c6b22456d1829dcd0e594174cd8ad055104
[ "MIT" ]
null
null
null
#include "RocketPy.hpp" #include "vehicle.h" #include <string> using namespace std; #include <Python.h> int main(int argc, char* argv[]) { RocketPy rckt; string str; rckt.initialize("params_config.xml",str); rckt.move(0.8); rckt.get_states(); return 0; }
13.571429
45
0.645614
DeepWater1013
31e82a6a07479940de4b350ad919dbbe236c6001
678
cpp
C++
45.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
45.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
45.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
// // Created by pzz on 2021/12/16. // #include <iostream> #include <algorithm> #include <vector> using namespace std; class Solution { public: int jump(vector<int> &nums) { int result = 0, cover = nums[0], maxcover = nums[0]; if (nums.size() == 1) return 0; for (int i = 0; ...
18.324324
60
0.430678
pengzhezhe
31ecd1a5869ae08fb3740589964b50a334f94d88
3,339
cpp
C++
src/filters/KuwaharaFilter.cpp
dasl-/ofxFilterLibrary
6e43d33b205f04706b72747e5b4ce7f45cab3e88
[ "MIT" ]
98
2015-01-28T23:23:06.000Z
2021-03-27T16:29:17.000Z
src/filters/KuwaharaFilter.cpp
dasl-/ofxFilterLibrary
6e43d33b205f04706b72747e5b4ce7f45cab3e88
[ "MIT" ]
5
2015-04-17T17:19:21.000Z
2017-10-27T15:46:55.000Z
src/filters/KuwaharaFilter.cpp
dasl-/ofxFilterLibrary
6e43d33b205f04706b72747e5b4ce7f45cab3e88
[ "MIT" ]
18
2015-07-23T02:44:31.000Z
2020-02-24T12:52:15.000Z
// // KuwaharaFilter.cpp // filterSandbox // // Created by Matthew Fargo on 2014/06/23. // // #include "KuwaharaFilter.h" KuwaharaFilter::KuwaharaFilter(int radius) : AbstractFilter(0, 0) { _name = "Kuwahara"; _radius = radius; _addParameter(new ParameterI("radius", _radius)); _setupShader(); } Kuw...
30.916667
95
0.390536
dasl-
31eeeeecdb7c2f5285e8838224a6e789c6bbcf9a
1,298
cpp
C++
Shared/SoundManager.cpp
tomalbrc/ProceduralTerrainGeneration
7017df46a62e9b04eff6fca03725c5ed6bb16ba4
[ "MIT" ]
1
2018-10-24T12:09:29.000Z
2018-10-24T12:09:29.000Z
Shared/SoundManager.cpp
tomalbrc/ProceduralTerrainGeneration
7017df46a62e9b04eff6fca03725c5ed6bb16ba4
[ "MIT" ]
null
null
null
Shared/SoundManager.cpp
tomalbrc/ProceduralTerrainGeneration
7017df46a62e9b04eff6fca03725c5ed6bb16ba4
[ "MIT" ]
null
null
null
// // SoundManager.cpp // ProcMapGeneration // // Created by Tom Albrecht on 30.09.18. // Copyright © 2018 Tom Albrecht. All rights reserved. // #include "SoundManager.h" #include <cassert> using namespace cAudio; SoundManager::SoundManager() { m_AudioManager = createAudioManager(); m_background = nullpt...
24.037037
93
0.694145
tomalbrc
31f77722ed2d69738caf819b41f0ff73415a3b13
870
hpp
C++
applications/cspl/processing/word_converter.hpp
maciejgaleja/codename-cemflow
1426578816354661ae6bfed94c64432074851ae2
[ "Unlicense" ]
null
null
null
applications/cspl/processing/word_converter.hpp
maciejgaleja/codename-cemflow
1426578816354661ae6bfed94c64432074851ae2
[ "Unlicense" ]
2
2020-05-14T16:14:28.000Z
2020-05-14T18:29:16.000Z
applications/cspl/processing/word_converter.hpp
maciejgaleja/codename-cemflow
1426578816354661ae6bfed94c64432074851ae2
[ "Unlicense" ]
null
null
null
/* @file word_converter.hpp */ #ifndef APPLICATIONS__CSPL__PROCESSING__WORD_CONVERTER_HPP #define APPLICATIONS__CSPL__PROCESSING__WORD_CONVERTER_HPP #include "common.hpp" #include "item_sink.hpp" #include "item_source.hpp" #include <sstream> class WordConverter : p...
25.588235
80
0.718391
maciejgaleja
31fc431b2f69524e253eed244a23de3ae4bb5e63
367
cpp
C++
examples/contractions/general_inner_contraction.cpp
petlenz/tmech
bce181ead98d07b45a3f8fc32878b10d9c5680a8
[ "BSD-3-Clause" ]
null
null
null
examples/contractions/general_inner_contraction.cpp
petlenz/tmech
bce181ead98d07b45a3f8fc32878b10d9c5680a8
[ "BSD-3-Clause" ]
null
null
null
examples/contractions/general_inner_contraction.cpp
petlenz/tmech
bce181ead98d07b45a3f8fc32878b10d9c5680a8
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <tmech/tmech.h> int main() { using SeqLHS = tmech::sequence<3,4>; using SeqRHS = tmech::sequence<1,2>; tmech::tensor<double, 3, 4> A, B, C; A.randn(); B.randn(); C = tmech::inner_product<SeqLHS, SeqRHS>(B, A); //aliasing A = tmech::eval(tmech::inner_p...
20.388889
64
0.588556
petlenz
ee01cb0d315a1a1af08fa5158dc1b2cf0cb85382
4,929
hpp
C++
pk2unpack/include/datacontainer.hpp
komiga/brinktools
6445004d46ce29006b44be414ff686f4fb27dd8b
[ "MIT" ]
3
2020-04-11T15:08:56.000Z
2020-04-13T07:33:01.000Z
pk2unpack/include/datacontainer.hpp
komiga/brinktools
6445004d46ce29006b44be414ff686f4fb27dd8b
[ "MIT" ]
1
2020-08-02T09:55:38.000Z
2020-08-02T09:55:38.000Z
pk2unpack/include/datacontainer.hpp
komiga/brinktools
6445004d46ce29006b44be414ff686f4fb27dd8b
[ "MIT" ]
null
null
null
/** @copyright MIT license; see @ref index or the accompanying LICENSE file. @file */ #ifndef _PK2UNPACK_DATACONTAINER_HPP_ #define _PK2UNPACK_DATACONTAINER_HPP_ #include <stdlib.h> #include <duct/debug.hpp> #include <duct/stream.hpp> namespace PK2Unpack { using namespace duct; /** Format types for the DataForma...
24.893939
313
0.694056
komiga
ee0558ad2005781e5c5ec2c7b8e22b38859c754d
4,316
cpp
C++
ToneArmEngine/CollisionHelper.cpp
Mertank/ToneArm
40c62b0de89ac506bea6674e43578bf4e2631f93
[ "Zlib", "BSD-2-Clause" ]
null
null
null
ToneArmEngine/CollisionHelper.cpp
Mertank/ToneArm
40c62b0de89ac506bea6674e43578bf4e2631f93
[ "Zlib", "BSD-2-Clause" ]
null
null
null
ToneArmEngine/CollisionHelper.cpp
Mertank/ToneArm
40c62b0de89ac506bea6674e43578bf4e2631f93
[ "Zlib", "BSD-2-Clause" ]
null
null
null
/* ------------------------------------------------------------------------------------------ Copyright (c) 2014 Vinyl Games Studio Author: Mikhail Kutuzov Date: 5/27/2014 10:31:10 AM ------------------------------------------------------------------------------------------ */ #include "Collis...
48.494382
149
0.684662
Mertank
ee05e73fb28aa144ad740d64e373954d7758fd25
6,272
cpp
C++
src/condor_tests/job_ckpt_memory-file_std.cpp
mambelli/osg-bosco-marco
a8ad7658ce68eb0397ed2de234d87edb9404d65b
[ "Apache-2.0" ]
2
2018-06-18T23:11:20.000Z
2021-01-11T06:30:00.000Z
src/condor_tests/job_ckpt_memory-file_std.cpp
clalancette/condor-dcloud
70d1b1896ea0e5cfb4f051c7fb73cf4d12cd9727
[ "Apache-2.0" ]
null
null
null
src/condor_tests/job_ckpt_memory-file_std.cpp
clalancette/condor-dcloud
70d1b1896ea0e5cfb4f051c7fb73cf4d12cd9727
[ "Apache-2.0" ]
1
2021-08-29T14:03:53.000Z
2021-08-29T14:03:53.000Z
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
23.847909
79
0.606346
mambelli
ee0a8a0fd07595053e314742002ac87099edb3dd
136
cc
C++
build/x86/python/m5/internal/enum_PageManage.i_init.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/python/m5/internal/enum_PageManage.i_init.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
1
2020-08-20T05:53:30.000Z
2020-08-20T05:53:30.000Z
build/X86_MESI_Two_Level/python/m5/internal/enum_PageManage.i_init.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" extern "C" { void init_enum_PageManage(); } EmbeddedSwig embed_swig_enum_PageManage(init_enum_PageManage);
17
62
0.772059
billionshang
ee0b58c0f8b66ad062ba56b195e2f8dcd6bd9cc8
2,851
cpp
C++
Infix to Post fix converter.main.cpp
Rishav9852Kumar/Algorithms
9a418a33759f77bfe06ebf22e742e6b27dd1ba9a
[ "Apache-2.0" ]
1
2021-06-13T12:16:54.000Z
2021-06-13T12:16:54.000Z
Infix to Post fix converter.main.cpp
Rishav9852Kumar/Algorithms
9a418a33759f77bfe06ebf22e742e6b27dd1ba9a
[ "Apache-2.0" ]
null
null
null
Infix to Post fix converter.main.cpp
Rishav9852Kumar/Algorithms
9a418a33759f77bfe06ebf22e742e6b27dd1ba9a
[ "Apache-2.0" ]
null
null
null
#include <iostream>//A program to convert Infix expression to Postfix Expression// #include<string.h>//With four Accepting operators '+','-','*','/','(',')'// using namespace std; int push(char *arr,int top,char e) { if(top==-1) { top++; arr[top]=e; }else { top++; ...
19.937063
93
0.334269
Rishav9852Kumar
ee0cf81bca974f947fb61a3ac026bce3cf5f0b6f
49,153
cpp
C++
src/mfx/cmd/Router.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
src/mfx/cmd/Router.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
src/mfx/cmd/Router.cpp
mikelange49/pedalevite
a81bd8a6119c5920995ec91b9f70e11e9379580e
[ "WTFPL" ]
null
null
null
/***************************************************************************** Router.cpp Author: Laurent de Soras, 2019 --- Legal stuff --- This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the term...
31.129196
285
0.63815
mikelange49
ee17fd590ecf7a37fa1aa41566e245ee100021db
160
cpp
C++
src/dearnes_base_widget.cpp
eariassoto/dear_nes
323a8c4eaf64d72a532863dc315c8d12dabfdfc8
[ "MIT" ]
3
2021-01-28T11:22:12.000Z
2021-03-05T14:46:00.000Z
src/dearnes_base_widget.cpp
eariassoto/nes-emulator
69363b3558e6b5563d6720d773fc6bc491ce4231
[ "MIT" ]
null
null
null
src/dearnes_base_widget.cpp
eariassoto/nes-emulator
69363b3558e6b5563d6720d773fc6bc491ce4231
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Emmanuel Arias #include "include/dearnes_base_widget.h" DearNESBaseWidget::DearNESBaseWidget(dearnes::Nes* nesPtr) : m_NesPtr{nesPtr} {}
32
80
0.78125
eariassoto
ee1acdb6c8242ed6dab2e2088aa8ff25919233b1
10,395
cpp
C++
Gaze_Direction_Detection/main.cpp
zemli/New-Trained-Active-Shape-Models-with-Stasm
9e118c913bbb45a7e959e13b1b397cc150a52ee2
[ "BSD-2-Clause" ]
3
2017-04-03T19:39:38.000Z
2020-07-02T04:56:12.000Z
Gaze_Direction_Detection/main.cpp
zemli/New-Trained-Active-Shape-Models-with-Stasm
9e118c913bbb45a7e959e13b1b397cc150a52ee2
[ "BSD-2-Clause" ]
1
2021-03-11T11:26:28.000Z
2021-03-23T01:28:13.000Z
Gaze_Direction_Detection/main.cpp
zemli/New-Trained-Active-Shape-Models-with-Stasm
9e118c913bbb45a7e959e13b1b397cc150a52ee2
[ "BSD-2-Clause" ]
3
2016-10-28T07:02:50.000Z
2018-12-27T02:42:26.000Z
#include <stdio.h> #include <stdlib.h> #include <windows.h> #include "opencv/highgui.h" #include "opencv2/opencv.hpp" #include "../stasm/stasm_lib.h" #include "../stasm/stasm_landmarks.h" float xl[4]; float yl[4]; float xr[4]; float yr[4]; unsigned int count[100]; float normc[100]; static const char*...
25.9875
153
0.584319
zemli
ee1b3d7e18eb289144345d94f6e8aa76629cdcb7
267
hpp
C++
tcframe/include/tcframe/runner/aggregator/Aggregator.hpp
devcbandung/clashofcode-testdata-and-solution
fc0a9a85552ec15691018ec24e6020fdb5424ebd
[ "MIT" ]
5
2020-06-28T07:20:05.000Z
2020-07-01T08:13:08.000Z
tcframe/include/tcframe/runner/aggregator/Aggregator.hpp
devcbandung/clashofcode-testdata-and-solution
fc0a9a85552ec15691018ec24e6020fdb5424ebd
[ "MIT" ]
null
null
null
tcframe/include/tcframe/runner/aggregator/Aggregator.hpp
devcbandung/clashofcode-testdata-and-solution
fc0a9a85552ec15691018ec24e6020fdb5424ebd
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include "tcframe/runner/verdict.hpp" using std::vector; namespace tcframe { class Aggregator { public: virtual ~Aggregator() = default; virtual Verdict aggregate(const vector<Verdict>& verdicts, double points) = 0; }; }
14.052632
82
0.71161
devcbandung
ee1bbf739c59537b9d32bfc4496bd95a3ea51d0d
8,212
cpp
C++
SourceFile/CashierUI.cpp
hsu0602/oop_final_project
53feacddaf7c5abb0b09c83ba9390f047b8fb5c8
[ "MIT" ]
null
null
null
SourceFile/CashierUI.cpp
hsu0602/oop_final_project
53feacddaf7c5abb0b09c83ba9390f047b8fb5c8
[ "MIT" ]
null
null
null
SourceFile/CashierUI.cpp
hsu0602/oop_final_project
53feacddaf7c5abb0b09c83ba9390f047b8fb5c8
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> #include <cstdlib> #include "../HeaderFile/CashierUI.h" //for using namespace std; static const char* category_string[] = {"碗裝泡麵", "包裝餅乾", "利樂包", "寶特瓶", "酒"}; void CashierUI::cashierSystem(){ while(!terminate){ if(this->page_status == CATEGORY_STATUS){ categoryPage...
23.597701
151
0.606186
hsu0602
ee1d8948c1f60bb2b6349a5833af044459898446
1,997
cpp
C++
pot/src/Api/Api.cpp
tolgaberk/smart_pot
8ea327cc012c52066b39105200e1f39dc6d8edd7
[ "MIT" ]
null
null
null
pot/src/Api/Api.cpp
tolgaberk/smart_pot
8ea327cc012c52066b39105200e1f39dc6d8edd7
[ "MIT" ]
null
null
null
pot/src/Api/Api.cpp
tolgaberk/smart_pot
8ea327cc012c52066b39105200e1f39dc6d8edd7
[ "MIT" ]
null
null
null
#include "Api.h" Api::Api(String newBaseUrl) { baseUrl = newBaseUrl; http.addHeader("Content-Type", "application/json"); } DynamicJsonDocument Api::registerDevice() { String localIp = WiFi.localIP().toString(); String MAC = WiFi.macAddress(); DynamicJsonDocument doc(1024); doc["data"] = local...
22.438202
60
0.585879
tolgaberk
ee2224cb35245706fd849856307ddb05bee9ae5d
15,656
cpp
C++
DataTag.cpp
RDamman/SpeakerWorkshop
87a38d04197a07a9a7878b3f60d5e0706782163c
[ "OML" ]
12
2019-06-07T10:06:41.000Z
2021-03-22T22:13:59.000Z
DataTag.cpp
RDamman/SpeakerWorkshop
87a38d04197a07a9a7878b3f60d5e0706782163c
[ "OML" ]
1
2019-05-09T07:38:12.000Z
2019-07-10T04:20:55.000Z
DataTag.cpp
RDamman/SpeakerWorkshop
87a38d04197a07a9a7878b3f60d5e0706782163c
[ "OML" ]
3
2020-09-08T08:27:33.000Z
2021-05-13T09:25:43.000Z
// DataTag.cpp: implementation of the CDataTag class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "audtest.h" #include "DataTag.h" #include "math.h" #include "Utils.h" #include "Chart.h" #include "Dataset.h" #include "DlgNote.h" // for printerdc stuff #incl...
26.716724
114
0.529509
RDamman
ee24a5f60daad43c7e6c0f3659bbfe33a0235555
257
cpp
C++
tests/dish2/quorum/CellQuorumState.cpp
schregardusc/dishtiny
b0b1841a457a955fa4c22f36a050d91f12484f9e
[ "MIT" ]
1
2021-02-12T23:53:55.000Z
2021-02-12T23:53:55.000Z
tests/dish2/quorum/CellQuorumState.cpp
schregardusc/dishtiny
b0b1841a457a955fa4c22f36a050d91f12484f9e
[ "MIT" ]
null
null
null
tests/dish2/quorum/CellQuorumState.cpp
schregardusc/dishtiny
b0b1841a457a955fa4c22f36a050d91f12484f9e
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "Catch/single_include/catch2/catch.hpp" #include "dish2/quorum/CellQuorumState.hpp" #include "dish2/spec/Spec.hpp" using Spec = dish2::Spec; TEST_CASE("Test CellQuorumState") { dish2::CellQuorumState< Spec >{}; }
16.0625
48
0.747082
schregardusc
ee2726962f264c2497eab8e14d42322a6dad0b4c
1,533
cpp
C++
SuSto-Engine-QT/rendering.cpp
SimonStoyanov/SuSto-Engine-QT
ab93bbad84902d0edce1a38cfba680bec5ae1f7f
[ "MIT" ]
null
null
null
SuSto-Engine-QT/rendering.cpp
SimonStoyanov/SuSto-Engine-QT
ab93bbad84902d0edce1a38cfba680bec5ae1f7f
[ "MIT" ]
null
null
null
SuSto-Engine-QT/rendering.cpp
SimonStoyanov/SuSto-Engine-QT
ab93bbad84902d0edce1a38cfba680bec5ae1f7f
[ "MIT" ]
null
null
null
#include "rendering.h" #include "ui_rendering.h" #include "mainwindow.h" #include "Managers/scenerenderermanager.h" #include <qwidget.h> #include "globals.h" Rendering::Rendering(MainWindow* mainwindow_, QWidget *parent) : QWidget(parent), mainwindow(mainwindow_), ui(new Ui::Rendering) { ui->setupUi(th...
31.9375
103
0.748858
SimonStoyanov
ee2754f95851d3fe9644c0c1f149bc396f504442
4,434
cpp
C++
Editor/source/panels/GameViewPanel.cpp
mbatc/Fractal
0df1f6a64d03676e3dd8af0686413f6ffdbf6627
[ "MIT" ]
null
null
null
Editor/source/panels/GameViewPanel.cpp
mbatc/Fractal
0df1f6a64d03676e3dd8af0686413f6ffdbf6627
[ "MIT" ]
34
2021-05-09T10:31:24.000Z
2022-01-24T11:26:48.000Z
Editor/source/panels/GameViewPanel.cpp
mbatc/Fractal
0df1f6a64d03676e3dd8af0686413f6ffdbf6627
[ "MIT" ]
null
null
null
#include "IGameViewPanel.h" #include "IEditorModule.h" namespace Fractal { namespace Impl { class GameViewPanel : public IGameViewPanel { FRACTAL_DEFAULT_INTERFACE; public: GameViewPanel(IGUIModule* pGUI) : m_pGUI(pGUI) , m_pDispatcher(Fractal_CreateEventDispatcher()) ...
28.606452
93
0.609608
mbatc
ee2c054d57e3d36f37b5a7b0eb8bfd072f7317d4
249
cpp
C++
tests/ghostfragment/main.cpp
rmrresearch/GhostFragment
7f0dbcfab3054416ee788c9e972528f15b4d611b
[ "Apache-2.0" ]
null
null
null
tests/ghostfragment/main.cpp
rmrresearch/GhostFragment
7f0dbcfab3054416ee788c9e972528f15b4d611b
[ "Apache-2.0" ]
1
2022-02-25T16:20:50.000Z
2022-02-25T16:20:50.000Z
tests/ghostfragment/main.cpp
rmrresearch/GhostFragment
7f0dbcfab3054416ee788c9e972528f15b4d611b
[ "Apache-2.0" ]
null
null
null
#define CATCH_CONFIG_RUNNER #include <catch2/catch.hpp> #include <tiledarray.h> int main(int argc, char* argv[]) { auto& world = TA::initialize(argc, argv); int res = Catch::Session().run(argc, argv); TA::finalize(); return res; }
20.75
47
0.654618
rmrresearch
0c51d7dd56c7d2c1e5fd4e9efd97bb4ed1e17f54
157
cc
C++
below1.5/planina.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
below1.5/planina.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
below1.5/planina.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; int main(){ int x, result; cin >> x; result = pow(1+pow(2,x),2); cout << result; }
15.7
31
0.579618
danzel-py