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
3764cc4b84406d41e5a8ca372a2e8f204b4dfab6
1,144
cpp
C++
src/input/InputHandler.cpp
Estebanan/glSolarSystem
fd57ca572a039d57f7944cc03bced96159918dfa
[ "MIT" ]
3
2019-07-31T06:13:41.000Z
2021-04-04T15:32:40.000Z
src/input/InputHandler.cpp
MarcelIwanicki/glSolarSystem
fd57ca572a039d57f7944cc03bced96159918dfa
[ "MIT" ]
null
null
null
src/input/InputHandler.cpp
MarcelIwanicki/glSolarSystem
fd57ca572a039d57f7944cc03bced96159918dfa
[ "MIT" ]
null
null
null
#include "InputHandler.h" static constexpr unsigned int MAX_KEYS = 1024; static constexpr unsigned int MAX_MOUSEBUTTONS = 32; static bool keys[MAX_KEYS] = {false}; static bool mousebuttons[MAX_MOUSEBUTTONS] = {false}; static int mouse_x; static int mouse_y; bool InputHandler::isKeyPressed(unsigned int key) { if...
24.869565
97
0.714161
Estebanan
3766f6f9125d4549e0161570c5f138a8acec49e9
1,991
cpp
C++
fluffy/core/src/api/modules.cpp
Lo-X/fluffy
24acf297ca81c611053fd4f55ea0988d65e84168
[ "WTFPL" ]
3
2015-12-27T14:42:53.000Z
2018-04-18T07:28:05.000Z
fluffy/core/src/api/modules.cpp
lazybobcat/fluffy
24acf297ca81c611053fd4f55ea0988d65e84168
[ "WTFPL" ]
3
2018-04-27T14:26:29.000Z
2021-01-29T16:28:18.000Z
fluffy/core/src/api/modules.cpp
lazybobcat/fluffy
24acf297ca81c611053fd4f55ea0988d65e84168
[ "WTFPL" ]
null
null
null
#include <fluffy/api/context.hpp> #include <fluffy/api/modules.hpp> #include <fluffy/graphics/shader.hpp> #include <fluffy/graphics/texture.hpp> #include <fluffy/input/input.hpp> #include <fluffy/resources/resource_library.hpp> using namespace Fluffy; void ModuleRegistry::registerModule(BaseModule* module) { Modu...
24.580247
151
0.575088
Lo-X
376853218b7f464eea1549c8f70589ea89b5519c
634
cpp
C++
test/testworker.cpp
43437/EventLoop
46a8f6d67201669e9f57a51df83263a5e5d5eddb
[ "MIT" ]
null
null
null
test/testworker.cpp
43437/EventLoop
46a8f6d67201669e9f57a51df83263a5e5d5eddb
[ "MIT" ]
null
null
null
test/testworker.cpp
43437/EventLoop
46a8f6d67201669e9f57a51df83263a5e5d5eddb
[ "MIT" ]
null
null
null
#include "testall.h" #include "cworkplace.h" #include <iostream> #include "cworkerbuilder.h" #include "cluaworker.h" namespace KOT { void TestWorker() { std::cout << "===========TestWorker==========" << std::endl; CLuaWorkerBuilder builder; builder.SetWorkerPath("../script/test/"); // builder.AddEnvPa...
26.416667
72
0.623028
43437
3769d204cf627abd6b7049c46d29850bf6eade8b
3,454
cpp
C++
src/Game.cpp
Mobiletainment/Connect-Four
5627d103dc977af19447136fb1fb9f8a925d8cec
[ "MIT", "Unlicense" ]
6
2016-06-08T05:29:49.000Z
2020-05-26T14:07:01.000Z
src/Game.cpp
Mobiletainment/Connect-Four
5627d103dc977af19447136fb1fb9f8a925d8cec
[ "MIT", "Unlicense" ]
null
null
null
src/Game.cpp
Mobiletainment/Connect-Four
5627d103dc977af19447136fb1fb9f8a925d8cec
[ "MIT", "Unlicense" ]
null
null
null
#include "precomp.h" #include "Game.h" using namespace std; CL_GraphicContext *Game::gc; string Game::winner; Game::Game(CL_DisplayWindow &window) { gc = &window.get_gc(); board = &Board::GetInstance(); startMessage = new string("Press [1] to start first, or\n\n\nPress [2] to start with computer"); whichPlayer[0]...
24.671429
103
0.690214
Mobiletainment
3769fa67cbbf10f4f4b80414b2bc8a4a39fb5aed
6,302
cpp
C++
libace/filesystem/Path.cpp
xguerin/ace
ad6e1bc4cb4f10d6cf5b782f623ec0eef13e000b
[ "MIT" ]
5
2016-06-14T17:56:47.000Z
2022-02-10T19:54:25.000Z
libace/filesystem/Path.cpp
xguerin/ace
ad6e1bc4cb4f10d6cf5b782f623ec0eef13e000b
[ "MIT" ]
42
2016-06-21T20:48:22.000Z
2021-03-23T15:20:51.000Z
libace/filesystem/Path.cpp
xguerin/ace
ad6e1bc4cb4f10d6cf5b782f623ec0eef13e000b
[ "MIT" ]
1
2016-10-02T02:58:49.000Z
2016-10-02T02:58:49.000Z
/** * Copyright (c) 2016 Xavier R. Guerin * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, p...
19.571429
80
0.631387
xguerin
376a7ab1b23739b7e20d45adf6fb0641e9c95b0f
2,616
hpp
C++
Axis.CommonLibrary/domain/analyses/ReducedNumericalModel.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
2
2021-07-23T08:49:54.000Z
2021-07-29T22:07:30.000Z
Axis.CommonLibrary/domain/analyses/ReducedNumericalModel.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
Axis.CommonLibrary/domain/analyses/ReducedNumericalModel.hpp
renato-yuzup/axis-fem
2e8d325eb9c8e99285f513b4c1218ef53eb0ab22
[ "MIT" ]
null
null
null
#pragma once #include "foundation/axis.SystemBase.hpp" #include "domain/fwd/numerical_model.hpp" #include "foundation/memory/RelativePointer.hpp" #include "Foundation/Axis.CommonLibrary.hpp" namespace axis { namespace domain { namespace analyses { class ModelOperatorFacade; /** * Implements a version of the numerica...
40.875
96
0.748853
renato-yuzup
376d29ea569b01e2b5a72774aafbc174d75b438a
2,426
cpp
C++
third_party/WebKit/Source/core/css/cssom/CSSNumericValue.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/css/cssom/CSSNumericValue.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/css/cssom/CSSNumericValue.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "core/css/cssom/CSSNumericValue.h" #include "bindings/core/v8/ExceptionState.h" #include "core/css/CSSPrimitiveValue.h" #include "core/css/cssom...
34.657143
80
0.706925
metux
3770ca1dd46873dd38256f23ab25bafeb9f6febb
37,357
cpp
C++
TommyGun/FrameWork/fMain.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
34
2017-05-08T18:39:13.000Z
2022-02-13T05:05:33.000Z
TommyGun/FrameWork/fMain.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
null
null
null
TommyGun/FrameWork/fMain.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
6
2017-05-27T01:14:20.000Z
2020-01-20T14:54:30.000Z
/*--------------------------------------------------------------------------- (c) 2004 Scorpio Software 19 Wittama Drive Glenmore Park Sydney NSW 2745 Australia ----------------------------------------------------------------------------- $Workfile:: ...
37.171144
164
0.530048
tonyt73
3774044e50975e12b15187b791397878d3fa4378
1,654
cpp
C++
CodeFromLectures/Structures (2)/Structures/main.cpp
Stoefff/Object-Oriented-Programming-FMI-2017
d2f8083ff146fb3cc68425cbd9af50bc37581e19
[ "MIT" ]
3
2018-03-05T13:57:56.000Z
2018-05-03T19:25:05.000Z
CodeFromLectures/Structures (2)/Structures/main.cpp
Stoefff/Object-Oriented-Programming-FMI-2017
d2f8083ff146fb3cc68425cbd9af50bc37581e19
[ "MIT" ]
null
null
null
CodeFromLectures/Structures (2)/Structures/main.cpp
Stoefff/Object-Oriented-Programming-FMI-2017
d2f8083ff146fb3cc68425cbd9af50bc37581e19
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> using namespace std; #include "address.h" #include "student.h" void generateStudentFile() { Student students[5]; for (int i = 0; i < 5; ++i) { students[i].name = NULL; readStudent(students[i]); } fstream file("students.dat...
19.011494
71
0.476421
Stoefff
3779477a90842c9ea994f741358951e2e030df74
105
hpp
C++
kernel/thor/arch/arm/thor-internal/arch/timer.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
935
2018-05-23T14:56:18.000Z
2022-03-29T07:27:20.000Z
kernel/thor/arch/arm/thor-internal/arch/timer.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
314
2018-05-04T15:58:06.000Z
2022-03-30T16:24:17.000Z
kernel/thor/arch/arm/thor-internal/arch/timer.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
65
2019-04-21T14:26:51.000Z
2022-03-12T03:16:41.000Z
#pragma once namespace thor { void initializeTimers(); void initTimerOnThisCpu(); } // namespace thor
11.666667
26
0.742857
kITerE
377c25f611fb8ce80317421179313c9ea52cc430
1,956
cpp
C++
userland/src/uname.cpp
Marc-JB/PeregrineOS
2f4069211bca2341f0bab050bfb9cc803a59f510
[ "BSD-2-Clause" ]
null
null
null
userland/src/uname.cpp
Marc-JB/PeregrineOS
2f4069211bca2341f0bab050bfb9cc803a59f510
[ "BSD-2-Clause" ]
null
null
null
userland/src/uname.cpp
Marc-JB/PeregrineOS
2f4069211bca2341f0bab050bfb9cc803a59f510
[ "BSD-2-Clause" ]
null
null
null
#include <stdio.h> #include <sys/utsname.h> #include <string> #include <vector> #include <any> using namespace std; typedef unsigned short int ushort; void run(vector<string>); utsname getUname() { utsname uts; if (uname(&uts) < 0) throw "uname() failed"; return uts; } int main(int argc, char** ...
26.794521
69
0.416155
Marc-JB
3780ccd6e1370bf0a3ac7d3677c50f0c0d0e0db2
2,000
cpp
C++
Gecko/src/Gecko/Core/Window.cpp
Liamcreed/Gecko
d3f468f7e809148ad962f0fe969c28aac21236c7
[ "MIT" ]
null
null
null
Gecko/src/Gecko/Core/Window.cpp
Liamcreed/Gecko
d3f468f7e809148ad962f0fe969c28aac21236c7
[ "MIT" ]
null
null
null
Gecko/src/Gecko/Core/Window.cpp
Liamcreed/Gecko
d3f468f7e809148ad962f0fe969c28aac21236c7
[ "MIT" ]
null
null
null
#include "gkpch.h" #include "Input.h" #include "Window.h" namespace Gecko { void key_callback(GLFWwindow *window, int key, int scancode, int action, int mods); void cursor_position_callback(GLFWwindow *window, double xpos, double ypos); void mouse_button_callback(GLFWwindow *window, int button, int action,...
32.258065
88
0.6525
Liamcreed
3786ccf7530bb04fb445a71d1f144c15e5628757
11,406
cpp
C++
integrations/Raknet/NetworkSystem.cpp
nbtdev/teardrop
fa9cc8faba03a901d1d14f655a04167e14cd08ee
[ "MIT" ]
null
null
null
integrations/Raknet/NetworkSystem.cpp
nbtdev/teardrop
fa9cc8faba03a901d1d14f655a04167e14cd08ee
[ "MIT" ]
null
null
null
integrations/Raknet/NetworkSystem.cpp
nbtdev/teardrop
fa9cc8faba03a901d1d14f655a04167e14cd08ee
[ "MIT" ]
null
null
null
/****************************************************************************** Copyright (c) 2015 Teardrop Games 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 wit...
26.711944
131
0.722865
nbtdev
3787b2e14e8aec29261c5661003b1b503ecae611
5,587
cpp
C++
basic_calculator_2.cpp
artureganyan/algorithms
98cd0048162b3cb1c79712a884261cd3fe31063c
[ "MIT" ]
null
null
null
basic_calculator_2.cpp
artureganyan/algorithms
98cd0048162b3cb1c79712a884261cd3fe31063c
[ "MIT" ]
null
null
null
basic_calculator_2.cpp
artureganyan/algorithms
98cd0048162b3cb1c79712a884261cd3fe31063c
[ "MIT" ]
null
null
null
// Problem: https://leetcode.com/problems/basic-calculator-ii/ #include <string> #include <vector> #include <limits> #include "utils.h" namespace basic_calculator_2 { class Solution { public: // Note: The expression must be valid and contain only the following // characters: '0'-'9', '+', '-', '*', '/', ' '....
29.098958
103
0.488992
artureganyan
3788fe0530bfedf4b2e6bad1f465723806fc3ce3
479
cpp
C++
HASInheritance/HASInheritance.cpp
100dlswjd/Cpp_study
0165bd0421ec8e4f86e72aa5bda847fb5c3f5cfb
[ "MIT" ]
1
2022-01-25T10:43:25.000Z
2022-01-25T10:43:25.000Z
HASInheritance/HASInheritance.cpp
100dlswjd/Cpp_study
0165bd0421ec8e4f86e72aa5bda847fb5c3f5cfb
[ "MIT" ]
null
null
null
HASInheritance/HASInheritance.cpp
100dlswjd/Cpp_study
0165bd0421ec8e4f86e72aa5bda847fb5c3f5cfb
[ "MIT" ]
1
2021-07-18T18:05:45.000Z
2021-07-18T18:05:45.000Z
#include<iostream> #include<cstring> class Gun { private: int bullet; public: Gun(int bnum) : bullet(bnum) { } void Shot() { std::cout << "BBANG!" << std::endl; bullet--; } }; class Police : public Gun { private: int handcuffs; public: Police(int bnum, int bcuff) : Gun(bnum), handcuffs(bcuff) { } void P...
12.605263
58
0.613779
100dlswjd
378971e99a6f2f5ed67bb9bedf76c75a656ef0f4
21,041
cc
C++
aeh/src/imgui_sdl_binding.cc
asielorz/aeh
6dbcce0970a558fb7f164b8880a3e834f9f6c8c9
[ "MIT" ]
null
null
null
aeh/src/imgui_sdl_binding.cc
asielorz/aeh
6dbcce0970a558fb7f164b8880a3e834f9f6c8c9
[ "MIT" ]
null
null
null
aeh/src/imgui_sdl_binding.cc
asielorz/aeh
6dbcce0970a558fb7f164b8880a3e834f9f6c8c9
[ "MIT" ]
null
null
null
#if defined AEH_WITH_SDL2 && defined AEH_WITH_IMGUI #if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS) #define _CRT_SECURE_NO_WARNINGS #endif #ifdef _MSC_VER #pragma warning(disable : 4121) // alignment of a member was sensitive to packing #endif #include "imgui_sdl_binding.hh" #include <imgui.h> // SDL,GL3...
44.111111
244
0.740126
asielorz
378a8d3d6ef3cd2a57365c051682f558de2d86b3
943
cpp
C++
Cpp/68_text_justification/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
1
2015-12-19T23:05:35.000Z
2015-12-19T23:05:35.000Z
Cpp/68_text_justification/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
Cpp/68_text_justification/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
class Solution { public: vector<string> fullJustify(vector<string>& words, int maxWidth) { vector<string> res; // num reprents the number of words in every row // cur is the current sum of lengths of added words int num, cur; for (int i = 0; i < words.size(); i += n...
34.925926
111
0.435843
zszyellow
378b5453822e8722875760675501fe3bfa67f4fd
463
cpp
C++
chapter-3/Program 3.4.cpp
JahanzebNawaz/Introduction-to-C-plus-plus-CPP-Chapter-Exercises
dc3cd3a0091686580aa8414f3d021fe5bb7bb513
[ "MIT" ]
null
null
null
chapter-3/Program 3.4.cpp
JahanzebNawaz/Introduction-to-C-plus-plus-CPP-Chapter-Exercises
dc3cd3a0091686580aa8414f3d021fe5bb7bb513
[ "MIT" ]
null
null
null
chapter-3/Program 3.4.cpp
JahanzebNawaz/Introduction-to-C-plus-plus-CPP-Chapter-Exercises
dc3cd3a0091686580aa8414f3d021fe5bb7bb513
[ "MIT" ]
null
null
null
/* write a program that performs LL COMPOUND assignment operations on an integer*/ #include"iostream" #include"conio.h" using namespace std; main() { int a=10; cout<<" Values of a "<<a<<endl; a+=5; cout<<"Values of a+=5 : "<<a<<endl; a-=5; cout<<"Values of a-=5 : "<<a<<endl; a*=2; cout<...
19.291667
69
0.537797
JahanzebNawaz
3795da8821bd6ffe8c5ee2562e4a6098e40ec5dd
2,657
cpp
C++
src/tuning/kernels/invert.cpp
vbkaisetsu/CLBlast
441373c8fd1442cc4c024e59e7778b4811eb210c
[ "Apache-2.0" ]
null
null
null
src/tuning/kernels/invert.cpp
vbkaisetsu/CLBlast
441373c8fd1442cc4c024e59e7778b4811eb210c
[ "Apache-2.0" ]
null
null
null
src/tuning/kernels/invert.cpp
vbkaisetsu/CLBlast
441373c8fd1442cc4c024e59e7778b4811eb210c
[ "Apache-2.0" ]
null
null
null
// ================================================================================================= // This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. This // project loosely follows the Google C++ styleguide and uses a tab-size of two spaces and a max- // width of 100 char...
75.914286
324
0.700414
vbkaisetsu
379660dcd5087fcecb1536dbfcc7bc3261befd38
129
hpp
C++
dependencies/glm/gtx/vector_angle.hpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
dependencies/glm/gtx/vector_angle.hpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
dependencies/glm/gtx/vector_angle.hpp
realtehcman/-UnderwaterSceneProject
72cbd375ef5e175bed8f4e8a4d117f5340f239a4
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:03e7fef2ca71e571577cdf63f979796b3db5d2d1dc938db5c767359822f146d4 size 1652
32.25
75
0.883721
realtehcman
379691a259e1f33731f12d3e463e148b22cb7abc
14,463
cpp
C++
sources/DisplayIa.cpp
usernameHed/Worms
35ee28362b936b46d24e7c911a46a2cfd615128b
[ "MIT" ]
null
null
null
sources/DisplayIa.cpp
usernameHed/Worms
35ee28362b936b46d24e7c911a46a2cfd615128b
[ "MIT" ]
null
null
null
sources/DisplayIa.cpp
usernameHed/Worms
35ee28362b936b46d24e7c911a46a2cfd615128b
[ "MIT" ]
null
null
null
#include "Display.hh" #include "AICore.hh" bool Display::iaIsPlaying() { if (!this->checkNbPlayer(this->gameloop.getWormsPlayer())) return (false); int idTeam = this->listPlayers[this->gameloop.getWormsPlayer()][0]; int idWorms = this->listPlayers[this->gameloop.getWormsPlayer()][1]; if (this->gameloop.getW...
30.194154
175
0.637212
usernameHed
3798209ae059cf42db81e73227fe89d750a5922f
8,860
cpp
C++
LLY/LLY/util/FuncUnitl.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
3
2015-07-04T03:35:51.000Z
2017-09-10T08:23:25.000Z
LLY/LLY/util/FuncUnitl.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
null
null
null
LLY/LLY/util/FuncUnitl.cpp
ooeyusea/GameEngine
85e7ceef7ddf663f9601a8a8787e29e8e8cdb425
[ "MIT" ]
null
null
null
#include <glm/gtc/matrix_transform.hpp> #include "FuncUnitl.h" #include <fbxsdk.h> namespace lly_util { GLenum to_usage(lly::VertexUsage usage) { switch (usage) { case lly::VertexUsage::STATIC_DRAW: return GL_STATIC_DRAW; case lly::VertexUsage::STATIC_COPY: return GL_STATIC_COPY; case lly::VertexUsage::ST...
30.979021
95
0.743567
ooeyusea
3798fa32cc12ed069b75b3e143c4ca518e0cacac
11,658
inl
C++
mnn/feedforward_impl.inl
defgsus/mnn
8d07bcfc0136f295624b2aaa071543b4ea4eecc7
[ "MIT" ]
null
null
null
mnn/feedforward_impl.inl
defgsus/mnn
8d07bcfc0136f295624b2aaa071543b4ea4eecc7
[ "MIT" ]
null
null
null
mnn/feedforward_impl.inl
defgsus/mnn
8d07bcfc0136f295624b2aaa071543b4ea4eecc7
[ "MIT" ]
null
null
null
/** @file feedforward_impl.inl @brief FeedForward layer implementation <p>(c) 2016, stefan.berke@modular-audio-graphics.com</p> <p>All rights reserved</p> <p>created 1/19/2016</p> */ #define MNN_TEMPLATE template <typename Float, class ActFunc> #define MNN_FEEDFORWARD FeedForward<Float, ActFunc> MN...
27.048724
85
0.536027
defgsus
379adf1e3c6e043d387b79fecbcb391ca333c0d2
127
cpp
C++
ComponentsLayer/CAN/CANRegistration.cpp
bddwyx/CylinderLoop
05621336b1b2415d7e583d9847020abd06e3eed6
[ "MIT" ]
null
null
null
ComponentsLayer/CAN/CANRegistration.cpp
bddwyx/CylinderLoop
05621336b1b2415d7e583d9847020abd06e3eed6
[ "MIT" ]
null
null
null
ComponentsLayer/CAN/CANRegistration.cpp
bddwyx/CylinderLoop
05621336b1b2415d7e583d9847020abd06e3eed6
[ "MIT" ]
null
null
null
// // Created by bddwy on 2021/1/26. // #include "CANRegistration.h" //CANCommunication CANCommunication::CAN1Communication;
15.875
55
0.748031
bddwyx
379c5c70d1cbe30871f057b6ccd60ba64c5f9305
548
hpp
C++
include/EDDIFrontEnd.hpp
wichtounet/eddic
66398a493a499eab5d1f465f93f9f099a2140d59
[ "MIT" ]
24
2015-10-08T23:08:50.000Z
2021-09-18T21:15:01.000Z
include/EDDIFrontEnd.hpp
wichtounet/eddic
66398a493a499eab5d1f465f93f9f099a2140d59
[ "MIT" ]
1
2016-02-29T20:20:45.000Z
2016-03-03T07:16:53.000Z
include/EDDIFrontEnd.hpp
wichtounet/eddic
66398a493a499eab5d1f465f93f9f099a2140d59
[ "MIT" ]
5
2015-08-09T09:53:52.000Z
2021-09-18T21:15:05.000Z
//======================================================================= // Copyright Baptiste Wicht 2011-2016. // Distributed under the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //======================================================================= #ifndef E...
24.909091
87
0.54562
wichtounet
379ce0f47f09fcb877aa9528c7b7efaa6a527d08
1,716
cc
C++
aegis/src/model/ModifySearchConditionRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
aegis/src/model/ModifySearchConditionRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
aegis/src/model/ModifySearchConditionRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
28.131148
92
0.7669
iamzken
379f7c9d953ec2979a9e7154e6a4fdb766deac9a
7,584
cpp
C++
UIImplementation/Source/Preferences/DefaultEditorPreferencesPage.cpp
codesmithyide/codesmithy
9be7c2c45fa1f533aa7a7623b8f610737c720bca
[ "MIT" ]
6
2017-06-17T00:03:14.000Z
2019-02-03T03:17:39.000Z
UIImplementation/Source/Preferences/DefaultEditorPreferencesPage.cpp
codesmithyide/codesmithy
9be7c2c45fa1f533aa7a7623b8f610737c720bca
[ "MIT" ]
98
2016-08-31T12:49:09.000Z
2020-11-01T19:39:28.000Z
UIImplementation/Source/Preferences/DefaultEditorPreferencesPage.cpp
codesmithyide/codesmithy
9be7c2c45fa1f533aa7a7623b8f610737c720bca
[ "MIT" ]
1
2019-02-03T03:17:40.000Z
2019-02-03T03:17:40.000Z
/* Copyright (c) 2015-2019 Xavier Leclercq 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...
38.892308
147
0.731804
codesmithyide
37abbca612abf42da704b67d5cc9bf5c1235a53c
1,430
cpp
C++
Woopsi/libwoopsi/src/packedfont16.cpp
ant512/Woopsi
e7a568dc5e16ae772a5cad850527861ac2c2e703
[ "BSD-3-Clause" ]
14
2016-01-25T01:01:25.000Z
2021-07-02T22:49:27.000Z
Woopsi/libwoopsi/src/packedfont16.cpp
ant512/Woopsi
e7a568dc5e16ae772a5cad850527861ac2c2e703
[ "BSD-3-Clause" ]
1
2021-07-29T23:14:59.000Z
2021-07-29T23:14:59.000Z
Woopsi/libwoopsi/src/packedfont16.cpp
ant512/Woopsi
e7a568dc5e16ae772a5cad850527861ac2c2e703
[ "BSD-3-Clause" ]
4
2016-01-25T01:01:45.000Z
2021-09-04T23:39:10.000Z
#include "packedfont16.h" #include "mutablebitmapbase.h" using namespace WoopsiUI; // // pixeldata is an array of u16 values, each of which represents // a single pixel. // void PackedFont16::renderChar( const u16* pixelData, u16 pixelsPerRow, MutableBitmapBase* bitmap, u16 colour, s16 x, s16 y, u16 clipX1,...
23.064516
64
0.634266
ant512
37aedb045dbe174d4c086b645dbec114137159a8
2,999
hpp
C++
blast/include/objmgr/impl/annot_finder.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
blast/include/objmgr/impl/annot_finder.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
blast/include/objmgr/impl/annot_finder.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
#ifndef OBJECTS_OBJMGR_IMPL___ANNOT_FINDER__HPP #define OBJECTS_OBJMGR_IMPL___ANNOT_FINDER__HPP /* $Id: annot_finder.hpp 103491 2007-05-04 17:18:18Z kazimird $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Cen...
31.568421
77
0.642881
mycolab
37af0a4f38530af2840f6bdcd0bb83a91d08aa6f
2,053
cpp
C++
54288411-save-a-list-of-qpixmaps-to-ico-file/save_pixmaps_to_ico.cpp
cbuchart/stackoverflow
8de12ccb4ff60762955298dfa0e4c6eca63b63ae
[ "Unlicense" ]
2
2021-03-03T12:09:21.000Z
2021-06-19T03:18:53.000Z
54288411-save-a-list-of-qpixmaps-to-ico-file/save_pixmaps_to_ico.cpp
cbuchart/stackoverflow
8de12ccb4ff60762955298dfa0e4c6eca63b63ae
[ "Unlicense" ]
1
2018-07-23T14:14:59.000Z
2018-07-23T14:14:59.000Z
54288411-save-a-list-of-qpixmaps-to-ico-file/save_pixmaps_to_ico.cpp
cbuchart/stackoverflow
8de12ccb4ff60762955298dfa0e4c6eca63b63ae
[ "Unlicense" ]
3
2018-07-23T14:04:46.000Z
2021-12-19T22:53:37.000Z
#include <qlist.h> #include <qpixmap.h> #include <qfileinfo.h> #include <qfile.h> #include <qtemporaryfile.h> namespace { template<typename T> void write(QFile& f, const T t) { f.write((const char*)&t, sizeof(t)); } } bool savePixmapsToICO(const QList<QPixmap>& pixmaps, const QString& path) { static_ass...
29.328571
174
0.627862
cbuchart
37af8092b4a0a0816a929b7d6407ee1eae772b08
9,597
cpp
C++
src/HtmlDOM.cpp
liferili/HTML-Formatter
3ebf2a9814c8e077f98e2ef6d8135292d6387a76
[ "MIT" ]
null
null
null
src/HtmlDOM.cpp
liferili/HTML-Formatter
3ebf2a9814c8e077f98e2ef6d8135292d6387a76
[ "MIT" ]
null
null
null
src/HtmlDOM.cpp
liferili/HTML-Formatter
3ebf2a9814c8e077f98e2ef6d8135292d6387a76
[ "MIT" ]
null
null
null
// // Created by Liferov Ilia (liferili) on 5/12/16. // #include <fstream> #include <sstream> #include <deque> #include "HtmlDOM.h" #include "DoctypeNode.h" #include "PairTagNode.h" #include "SingleTagNode.h" #include "CommentNode.h" #include "TextNode.h" #include "ErrorTagNode.h" #include <algorithm> #include "String...
40.838298
166
0.530791
liferili
37b0c710dfe57fb3fec4ee13e1cf78a22226997e
4,296
cpp
C++
src/MeshDrawable.cpp
dermegges/ugl
e5551f98d59c115460d1298d9082996b5da119da
[ "Apache-2.0" ]
null
null
null
src/MeshDrawable.cpp
dermegges/ugl
e5551f98d59c115460d1298d9082996b5da119da
[ "Apache-2.0" ]
null
null
null
src/MeshDrawable.cpp
dermegges/ugl
e5551f98d59c115460d1298d9082996b5da119da
[ "Apache-2.0" ]
null
null
null
/** @file MeshDrawable.cpp Copyright 2016 Computational Topology Group, University of Kaiserslautern 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/...
29.424658
94
0.661778
dermegges
37b21f7f2aecd231395c94033afee6f56fd957e3
4,227
cpp
C++
third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// // Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "core/inspector/InspectorTracingAgent.h" #include "core/frame/LocalFrame.h" #include "core/inspector/IdentifiersFactory.h" #include "core/...
31.311111
80
0.698604
metux
37b341834d3486fa902db75e4afb765712eb2e84
2,206
hpp
C++
printscan/print/spooler/spoolss/splwow64/server/basecls.hpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
printscan/print/spooler/spoolss/splwow64/server/basecls.hpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
printscan/print/spooler/spoolss/splwow64/server/basecls.hpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#ifndef __BASECLS_HPP__ #define __BASECLS_HPP__ /*++ Copyright (C) 2000 Microsoft Corporation All rights reserved. ...
23.72043
84
0.31777
npocmaka
37b3a9d320f0c5447242fbdcff4ff763dcec47e2
306
cpp
C++
learncpp_com/4-var_scopes/60-global_symbolic_constants/src/main.cpp
mitsiu-carreno/cpp_tutorial
71f9083884ae6aa23774c044c3d08be273b6bb8e
[ "MIT" ]
null
null
null
learncpp_com/4-var_scopes/60-global_symbolic_constants/src/main.cpp
mitsiu-carreno/cpp_tutorial
71f9083884ae6aa23774c044c3d08be273b6bb8e
[ "MIT" ]
null
null
null
learncpp_com/4-var_scopes/60-global_symbolic_constants/src/main.cpp
mitsiu-carreno/cpp_tutorial
71f9083884ae6aa23774c044c3d08be273b6bb8e
[ "MIT" ]
null
null
null
#include <iostream> #include "constants.h" int main(){ std::cout << "Constant pi have value:\t\t" << Constants::pi << "\n"; std::cout << "Constant avogadro have value:\t" << Constants::avogadro << "\n"; std::cout << "Constant my_gravity have value:\t" << Constants::my_gravity << "\n"; return 0; }
25.5
83
0.627451
mitsiu-carreno
37b562d25d15dcbaaba466745b5a895f67dac0ee
3,563
cpp
C++
SharedModule/Threads/threadeventshelper.cpp
HowCanidothis-zz/DevLib
d3d7f4ef7b2b3f1c9559ca6bd56743e5aeff06ee
[ "MIT" ]
null
null
null
SharedModule/Threads/threadeventshelper.cpp
HowCanidothis-zz/DevLib
d3d7f4ef7b2b3f1c9559ca6bd56743e5aeff06ee
[ "MIT" ]
null
null
null
SharedModule/Threads/threadeventshelper.cpp
HowCanidothis-zz/DevLib
d3d7f4ef7b2b3f1c9559ca6bd56743e5aeff06ee
[ "MIT" ]
1
2020-07-27T02:23:38.000Z
2020-07-27T02:23:38.000Z
#include "threadeventshelper.h" #include <QMutexLocker> #include "SharedModule/internal.hpp" ThreadEvent::ThreadEvent(ThreadEvent::FEventHandler handler, const AsyncResult& result) : m_handler(handler) , m_result(result) {} void ThreadEvent::call() { try { m_handler(); m_result.Resolve(tr...
22.408805
148
0.625596
HowCanidothis-zz
37bb8374d97ff3c0b171fe06c2696f5ccd27ddbf
1,944
cpp
C++
src/prod/test/BoostUnitTest/FabricGlobalsInitializationFixture.Test.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
1
2020-06-15T04:33:36.000Z
2020-06-15T04:33:36.000Z
src/prod/test/BoostUnitTest/FabricGlobalsInitializationFixture.Test.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
null
null
null
src/prod/test/BoostUnitTest/FabricGlobalsInitializationFixture.Test.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- #include "stdafx.h" #include <boost/test/unit_test.hpp> #include "Common/FabricGlobals.h" using ...
30.375
99
0.609568
vishnuk007
37bc7751f1bb5f51ef22ad2d62bcb04815476f22
5,315
cpp
C++
detector/!old/HoughDetector.lib/src/HoughForestOptionsLoader.cpp
kevromster/freepark
12187de88e3de569864223b87a1f09fc576e5160
[ "Apache-2.0" ]
null
null
null
detector/!old/HoughDetector.lib/src/HoughForestOptionsLoader.cpp
kevromster/freepark
12187de88e3de569864223b87a1f09fc576e5160
[ "Apache-2.0" ]
null
null
null
detector/!old/HoughDetector.lib/src/HoughForestOptionsLoader.cpp
kevromster/freepark
12187de88e3de569864223b87a1f09fc576e5160
[ "Apache-2.0" ]
null
null
null
#include "HoughForestOptionsLoader.h" #include "HoughForestOptions.h" #include "HDException.h" #include "HDLibLog.h" #include "Utils.h" #include <fstream> HoughForestOptionsLoader::HoughForestOptionsLoader(const std::string & _strConfigFileName, HoughForestOptions & _options) : m_options(_options), m_strConfigFileN...
32.808642
123
0.762371
kevromster
37bcefe894653a0cffcdc28649dbde3c0ae68ac5
5,398
cpp
C++
cflw代码库/cflw音频_xa2.cpp
cflw/cflw_cpp
4d623480ae51b78ed8292fe689197f03aba85b75
[ "MIT" ]
9
2018-10-18T18:13:14.000Z
2021-07-21T19:55:56.000Z
cflw代码库/cflw音频_xa2.cpp
cflw/cflw_cpp
4d623480ae51b78ed8292fe689197f03aba85b75
[ "MIT" ]
1
2020-08-18T02:07:09.000Z
2020-08-19T12:50:55.000Z
cflw代码库/cflw音频_xa2.cpp
cflw/cflw_cpp
4d623480ae51b78ed8292fe689197f03aba85b75
[ "MIT" ]
1
2019-04-22T20:35:04.000Z
2019-04-22T20:35:04.000Z
#include <cassert> #include <algorithm> #include "cflw音频_xa2.h" namespace cflw::音频::xa2 { using 多媒体::FindChunk; using 多媒体::ReadChunkData; //============================================================================== // 辅助函数 //============================================================================== void f销毁声音(...
24.761468
101
0.546684
cflw
37bed6e1e3ab956939df772f3cc0848f3eef1bdb
3,755
cpp
C++
auditory/example/src/android/wov/WakeOnVoiceService/IWakeonVoice.cpp
yao-matrix/mProto
e5fecce2693056ac53f7d34d00801829ea1094c3
[ "Apache-2.0" ]
3
2016-11-06T04:55:11.000Z
2019-05-18T06:56:10.000Z
auditory/example/src/android/wov/WakeOnVoiceService/IWakeonVoice.cpp
yao-matrix/mProto
e5fecce2693056ac53f7d34d00801829ea1094c3
[ "Apache-2.0" ]
null
null
null
auditory/example/src/android/wov/WakeOnVoiceService/IWakeonVoice.cpp
yao-matrix/mProto
e5fecce2693056ac53f7d34d00801829ea1094c3
[ "Apache-2.0" ]
4
2016-11-27T01:08:41.000Z
2021-03-11T05:32:04.000Z
#include <utils/Errors.h> #include <utils/Log.h> #include "IWakeonVoice.h" namespace wakeonvoice { enum { START_LISTEN, STOP_LISTEN, START_ENROLL, STOP_ENROLL, ENABLE_DEBUG, SET_ENROLLTIMES, SET_SECURITYLEVEL, REGISTER_LISTENER, }; status_t BnWakeonVoice::onTransact( uint32_t code, const Parcel &...
22.757576
71
0.666312
yao-matrix
37c41435c9fde829b786c9147ea769d3f3c9bed5
14,360
cpp
C++
contrib/MassSpectra/flexiblesusy/models/MSSMEFTHiggs_mAmu/MSSMEFTHiggs_mAmu_two_scale_high_scale_constraint.cpp
sebhoof/gambit_1.5
f9a3f788e3331067c555ae1a030420e903c6fdcd
[ "Unlicense" ]
2
2020-09-08T20:05:27.000Z
2021-04-26T07:57:56.000Z
contrib/MassSpectra/flexiblesusy/models/MSSMEFTHiggs_mAmu/MSSMEFTHiggs_mAmu_two_scale_high_scale_constraint.cpp
sebhoof/gambit_1.5
f9a3f788e3331067c555ae1a030420e903c6fdcd
[ "Unlicense" ]
9
2020-10-19T09:56:17.000Z
2021-05-28T06:12:03.000Z
contrib/MassSpectra/flexiblesusy/models/MSSMEFTHiggs_mAmu/MSSMEFTHiggs_mAmu_two_scale_high_scale_constraint.cpp
patscott/gambit_1.4
a50537419918089effc207e8b206489a5cfd2258
[ "Unlicense" ]
5
2020-09-08T02:23:34.000Z
2021-03-23T08:48:04.000Z
// ==================================================================== // 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...
39.778393
153
0.730641
sebhoof
37c825d359ca65f19879f852aa75cb8aea511cda
1,625
cpp
C++
d02/ex00/Fixed.class.cpp
ncoden/42_CPP_pool
9f2d9aa030b65e3ad967086bff97e80e23705a29
[ "Apache-2.0" ]
5
2018-02-10T12:33:53.000Z
2021-03-28T09:27:05.000Z
d02/ex00/Fixed.class.cpp
ncoden/42_CPP_pool
9f2d9aa030b65e3ad967086bff97e80e23705a29
[ "Apache-2.0" ]
null
null
null
d02/ex00/Fixed.class.cpp
ncoden/42_CPP_pool
9f2d9aa030b65e3ad967086bff97e80e23705a29
[ "Apache-2.0" ]
6
2017-11-25T17:34:43.000Z
2020-12-20T12:00:04.000Z
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Fixed.class.cpp :+: :+: :+: ...
33.163265
80
0.357538
ncoden
56cb13f92dbc1d68a78f29a4143a361e3ffd8184
10,202
cpp
C++
src/IsoGame/Play/Map.cpp
Harry09/IsoGame
7320bee14197b66a96f432d4071537b3bb892c13
[ "MIT" ]
null
null
null
src/IsoGame/Play/Map.cpp
Harry09/IsoGame
7320bee14197b66a96f432d4071537b3bb892c13
[ "MIT" ]
null
null
null
src/IsoGame/Play/Map.cpp
Harry09/IsoGame
7320bee14197b66a96f432d4071537b3bb892c13
[ "MIT" ]
null
null
null
#include "Map.h" #include <Game.h> #include <Common\ResourceMgr.h> #include <Common\Random.h> #include "PlayScene.h" #include "Objects\Entities\Player.h" #include "Rooms\Room.h" #include "Rooms\BossRoom.h" #include "Rooms\FinalBossRoom.h" #include "Rooms\TreasureRoom.h" #include "Rooms\ZombieRoom.h" #include "Room...
18.684982
153
0.63517
Harry09
56cf1dd19f125028f80f65ce8b1c857f59aca332
1,083
cpp
C++
src/core/Environment.cpp
phoenixwxy/markdown
dfafa68524a639cb492b464146e83c256807a356
[ "MIT" ]
null
null
null
src/core/Environment.cpp
phoenixwxy/markdown
dfafa68524a639cb492b464146e83c256807a356
[ "MIT" ]
null
null
null
src/core/Environment.cpp
phoenixwxy/markdown
dfafa68524a639cb492b464146e83c256807a356
[ "MIT" ]
null
null
null
// // Created by mi on 2021/4/8. // #include "Environment.h" Environment *Environment::GetInstance() { static Environment s_Environment; if (EnvStatus::Initialize == s_Environment.m_CurrentStatus) { s_Environment.InitCaps(); } return &s_Environment; } Environment::Environment() : m_Vers...
19.690909
65
0.662973
phoenixwxy
56d096a390d722384d54795ab77357c4e7250d7a
1,174
cpp
C++
EasyCpp/Net/Services/Microsoft/Cognitive/CVTagImageResult.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
3
2018-02-06T05:12:41.000Z
2020-05-12T20:57:32.000Z
EasyCpp/Net/Services/Microsoft/Cognitive/CVTagImageResult.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
41
2016-07-11T12:19:10.000Z
2017-08-08T07:43:12.000Z
EasyCpp/Net/Services/Microsoft/Cognitive/CVTagImageResult.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
2
2019-08-02T10:24:36.000Z
2020-09-11T01:45:12.000Z
#include "CVTagImageResult.h" #include "../../../../Bundle.h" #include "../../../../AnyArray.h" namespace EasyCpp { namespace Net { namespace Services { namespace Microsoft { namespace Cognitive { CVTagImageResult::CVTagImageResult() { } CVTagImageResult::~CVTagImageResult() ...
20.241379
69
0.59029
Thalhammer
56d300c32f1ad29c49c26264cdb88ead90ce3ea8
5,229
cpp
C++
Export/macos/obj/src/EReg.cpp
TrilateralX/TrilateralLimeTriangle
219d8e54fc3861dc1ffeb3da25da6eda349847c1
[ "MIT" ]
null
null
null
Export/macos/obj/src/EReg.cpp
TrilateralX/TrilateralLimeTriangle
219d8e54fc3861dc1ffeb3da25da6eda349847c1
[ "MIT" ]
null
null
null
Export/macos/obj/src/EReg.cpp
TrilateralX/TrilateralLimeTriangle
219d8e54fc3861dc1ffeb3da25da6eda349847c1
[ "MIT" ]
null
null
null
// Generated by Haxe 4.2.0-rc.1+cb30bd580 #include <hxcpp.h> #ifndef INCLUDED_EReg #include <EReg.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_359fe5fd855fee60_28_new,"EReg","new",0x8b859e81,"EReg.new","/usr/local/lib/haxe/std/cpp/_std/EReg.hx",28,0x5a2fdacd) HX_LOCAL_STACK_FRAME(_hx_pos_359fe5fd855fee60_36_match,"EReg","...
30.940828
157
0.689233
TrilateralX
56d3c461411a5626da33eb5d3efb336af0a6735e
331
cpp
C++
src/gtexture.cpp
wqking/gincu
dd9d83cc75561d873fc396d009436ba07219ff4d
[ "Apache-2.0" ]
51
2017-02-01T14:50:03.000Z
2022-01-14T11:19:51.000Z
src/gtexture.cpp
wqking/gincu
dd9d83cc75561d873fc396d009436ba07219ff4d
[ "Apache-2.0" ]
null
null
null
src/gtexture.cpp
wqking/gincu
dd9d83cc75561d873fc396d009436ba07219ff4d
[ "Apache-2.0" ]
9
2018-07-20T07:47:39.000Z
2020-10-31T16:26:08.000Z
#include "gincu/gtexture.h" namespace gincu { GTexture::GTexture() { } GTexture::GTexture(const std::shared_ptr<GTextureData> & data) : data(data) { } GSize GTexture::getSize() const { return this->data->getSize(); } bool GTexture::isValid() const { return (this->data && this->data->isValid()); } } //namespa...
11.413793
62
0.670695
wqking
56d99f5671a754fde3e62047fcf4a395f7b0e351
109,845
hpp
C++
src/tree_for_force_impl_force.hpp
Guo-astro/Simulations
55c04dd1811993ef4099ea009af89fbd265c4241
[ "MIT" ]
null
null
null
src/tree_for_force_impl_force.hpp
Guo-astro/Simulations
55c04dd1811993ef4099ea009af89fbd265c4241
[ "MIT" ]
null
null
null
src/tree_for_force_impl_force.hpp
Guo-astro/Simulations
55c04dd1811993ef4099ea009af89fbd265c4241
[ "MIT" ]
null
null
null
#pragma once #include"tree_walk.hpp" namespace ParticleSimulator{ /////////////////////////////////////////////////// // // FUNCTIONS OF WALK+FORCE WITH DOUBLE BUFFERING // /////////////////////////////////////////////////// ////////////////////////////////////////////////////////////// ...
48.198771
165
0.537694
Guo-astro
56e03753132a571f60eb153d39a3093b7563e714
1,457
hpp
C++
src/core/stores/preferences_store.hpp
svendcsvendsen/judoassistant
453211bff86d940c2b2de6f9eea2aabcdab830fa
[ "MIT" ]
3
2019-04-26T17:48:24.000Z
2021-11-08T20:21:51.000Z
src/core/stores/preferences_store.hpp
svendcsvendsen/judoassistant
453211bff86d940c2b2de6f9eea2aabcdab830fa
[ "MIT" ]
90
2019-04-25T17:23:10.000Z
2022-02-12T19:49:55.000Z
src/core/stores/preferences_store.hpp
judoassistant/judoassistant
3b200d3e35d9aff16ba224e6071ee9d888a5a03c
[ "MIT" ]
null
null
null
#pragma once #include "core/serialize.hpp" #include "core/draw_systems/draw_system_identifier.hpp" class DrawSystem; struct DrawSystemPreference { std::size_t playerLowerLimit; DrawSystemIdentifier drawSystem; DrawSystemPreference() = default; DrawSystemPreference(std::size_t playerLowerLimit, DrawS...
29.14
88
0.780371
svendcsvendsen
56e1bb2c38688018ae446fdfbdf16fecc19f6f1e
2,371
hpp
C++
headers/USRP_file_writer.hpp
zjc263/GPU_SDR
a57a29925b915c6eb995eb3c76c4ec34f96c3a0b
[ "Apache-2.0" ]
9
2019-07-23T10:31:18.000Z
2022-03-15T19:29:26.000Z
headers/USRP_file_writer.hpp
zjc263/GPU_SDR
a57a29925b915c6eb995eb3c76c4ec34f96c3a0b
[ "Apache-2.0" ]
5
2019-09-11T22:31:29.000Z
2022-01-25T18:26:56.000Z
headers/USRP_file_writer.hpp
zjc263/GPU_SDR
a57a29925b915c6eb995eb3c76c4ec34f96c3a0b
[ "Apache-2.0" ]
7
2019-08-29T20:47:56.000Z
2021-06-10T15:07:35.000Z
#pragma once #ifndef FILE_WRITER_INCLUDED #define FILE_WRITER_INCLUDED #include "USRP_server_settings.hpp" #include "USRP_server_diagnostic.hpp" #include "USRP_server_memory_management.hpp" #include "USRP_server_network.hpp" #include <ctime> #include "H5Cpp.h" #include "H5CompType.h" using namespace H5; class H5_file_...
29.6375
119
0.628005
zjc263
56e60da5edd2a8a47f26a5d1f3da10aec00e152e
6,887
hpp
C++
include/worksheet.hpp
Alexhuszagh/libxlsxwriterpp
82d89c90e86f9e976fec872e09c1abe68dbed1e8
[ "BSD-2-Clause-FreeBSD" ]
2
2017-07-25T04:30:08.000Z
2018-01-29T17:47:25.000Z
include/worksheet.hpp
Alexhuszagh/libxlsxwriterpp
82d89c90e86f9e976fec872e09c1abe68dbed1e8
[ "BSD-2-Clause-FreeBSD" ]
2
2017-07-24T15:44:16.000Z
2017-09-13T11:59:34.000Z
include/worksheet.hpp
Alexhuszagh/libxlsxwriterpp
82d89c90e86f9e976fec872e09c1abe68dbed1e8
[ "BSD-2-Clause-FreeBSD" ]
4
2017-03-08T22:41:25.000Z
2021-09-11T03:10:01.000Z
// :copyright: (c) 2017 Alex Huszagh. // :license: FreeBSD, see LICENSE.md for more details. /** * C++ bindings for libxlsxwriter worksheets. */ #pragma once #include "chart.hpp" #include "common.hpp" #include "format.hpp" #include <deque> #include <xlsxwriter/worksheet.h> namespace xlsxwriter { // ENUMS // -...
25.890977
58
0.636126
Alexhuszagh
56e9ae1a35acb8f55871ba01a225bbe3c1a56f84
3,745
cpp
C++
doc/Programs/LecturePrograms/programs/Blocking/parallelblocking.cpp
GabrielSCabrera/ComputationalPhysics2
a840b97b651085090f99bf6a11abab57100c2e85
[ "CC0-1.0" ]
87
2015-01-21T08:29:56.000Z
2022-03-28T07:11:53.000Z
doc/Programs/LecturePrograms/programs/Blocking/parallelblocking.cpp
GabrielSCabrera/ComputationalPhysics2
a840b97b651085090f99bf6a11abab57100c2e85
[ "CC0-1.0" ]
3
2020-01-18T10:43:38.000Z
2020-02-08T13:15:42.000Z
doc/Programs/LecturePrograms/programs/Blocking/parallelblocking.cpp
GabrielSCabrera/ComputationalPhysics2
a840b97b651085090f99bf6a11abab57100c2e85
[ "CC0-1.0" ]
54
2015-02-09T10:02:00.000Z
2022-03-07T10:44:14.000Z
// Gathering mcint results from files and summarizing results // usage: ./mcint_fromfile.x <n_procs> // where n_procs are the number of processors used in mcint simulation using namespace std; #include <cmath> #include <iostream> // std io #include <iomanip> // std io #include <fstream> // file io #include <sstream>...
23.853503
78
0.626435
GabrielSCabrera
56ebb968ba92f8bfbfed3c459f23b269fdb50ab0
579
cpp
C++
Lab_7/Q2/function_overloading.cpp
pranav2012/Object-Oriented-Programming-In-C
6ff8fc15ea9f0a44659bdf630975ccfdf6ab1ffb
[ "MIT" ]
3
2020-08-27T03:55:40.000Z
2020-09-28T17:29:48.000Z
Lab_7/Q2/function_overloading.cpp
pranav2012/Object-Oriented-Programming-In-C
6ff8fc15ea9f0a44659bdf630975ccfdf6ab1ffb
[ "MIT" ]
null
null
null
Lab_7/Q2/function_overloading.cpp
pranav2012/Object-Oriented-Programming-In-C
6ff8fc15ea9f0a44659bdf630975ccfdf6ab1ffb
[ "MIT" ]
1
2020-12-08T11:35:17.000Z
2020-12-08T11:35:17.000Z
#include<iostream> using namespace std; int area(int); int area(int,int); float area(float,float); int main() { int s,l,b; float bs,ht; cout<<"Enter side of a square: "; cin>>s; cout<<"Enter length and breadth of rectangle: "; cin>>l>>b; cout<<"Enter base and height of triangle: "; cin>>bs>>ht; cout<<"Area of ...
18.677419
54
0.620035
pranav2012
56ec7bc330ab4bef20982ad0244d497b49547411
147
hpp
C++
include/natalie/types.hpp
davidot/natalie
e5159bacb3831c1720063360570810c0fd2c3ae9
[ "MIT" ]
1
2021-11-17T22:01:36.000Z
2021-11-17T22:01:36.000Z
include/natalie/types.hpp
jcs/natalie
36dae5954b80be2af107840de2b1c76b69bf6ac0
[ "MIT" ]
null
null
null
include/natalie/types.hpp
jcs/natalie
36dae5954b80be2af107840de2b1c76b69bf6ac0
[ "MIT" ]
null
null
null
#pragma once #include <stdint.h> #define NAT_INT_MIN INT64_MIN #define NAT_INT_MAX INT64_MAX namespace Natalie { using nat_int_t = int64_t; }
11.307692
29
0.768707
davidot
56f00a45a0b1db96e22a94e286cfb58c0774ebe2
537
cpp
C++
UCF Camp/2017 Contest No. 2/one.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2020-10-16T18:14:30.000Z
2020-10-16T18:14:30.000Z
UCF Camp/2017 Contest No. 2/one.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
null
null
null
UCF Camp/2017 Contest No. 2/one.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2021-01-06T04:45:38.000Z
2021-01-06T04:45:38.000Z
#include <iostream> #include <fstream> #include <string> #include <vector> #include <algorithm> #include <queue> #include <set> #include <string.h> using namespace std; int main(){ int a, b, maxGCD = 1; scanf("%d %d", &a, &b); for(int i = 1; i <= b; i++){ int lower = a/i; if(a%i != 0) lower++;...
20.653846
49
0.515829
hardik0899
56f34317250f150f24f5135f02fea980b0f3b444
106
cpp
C++
src/opera/tcppacket.cpp
Flasew/opera-sim
1f64017883689c115b8442acab7ef52846ab2c18
[ "BSD-3-Clause" ]
null
null
null
src/opera/tcppacket.cpp
Flasew/opera-sim
1f64017883689c115b8442acab7ef52846ab2c18
[ "BSD-3-Clause" ]
null
null
null
src/opera/tcppacket.cpp
Flasew/opera-sim
1f64017883689c115b8442acab7ef52846ab2c18
[ "BSD-3-Clause" ]
null
null
null
#include "tcppacket.h" PacketDB<TcpPacket> TcpPacket::_packetdb; PacketDB<TcpAck> TcpAck::_packetdb;
21.2
42
0.764151
Flasew
56f5669f234a76ed22fd3e56c98b758224877344
679
cpp
C++
ITEM 10-19/ITEM10 HuMoments/shapeMatcher.cpp
luohenyueji/OpenCV-Practical-Exercise
8a747b05b5c56d5be4611c5e72c8983f6b96d81d
[ "MIT" ]
293
2019-04-05T14:31:22.000Z
2022-03-30T10:04:51.000Z
ITEM 10-19/ITEM10 HuMoments/shapeMatcher.cpp
hktkfly6/OpenCV-Practical-Exercise
8a747b05b5c56d5be4611c5e72c8983f6b96d81d
[ "MIT" ]
2
2019-04-05T14:31:04.000Z
2021-11-26T09:27:54.000Z
ITEM 10-19/ITEM10 HuMoments/shapeMatcher.cpp
hktkfly6/OpenCV-Practical-Exercise
8a747b05b5c56d5be4611c5e72c8983f6b96d81d
[ "MIT" ]
149
2019-04-06T10:51:13.000Z
2022-03-31T01:34:47.000Z
#include "pch.h" #include "opencv2/opencv.hpp" using namespace cv; using namespace std; int main() { Mat im1 = imread("./image/S0.png",IMREAD_GRAYSCALE); Mat im2 = imread("./image/K0.png",IMREAD_GRAYSCALE); Mat im3 = imread("./image/S4.png",IMREAD_GRAYSCALE); double m1 = matchShapes(im1, im1, CONTOURS_MATCH...
30.863636
84
0.617084
luohenyueji
56f74ff70e4a016d75d77729972c677f850f456a
1,942
cpp
C++
Engine/Plugins/UnrealCS/Source/MonoPlugin/Private/MonoCallbackScheduler.cpp
RobertAcksel/UnrealCS
16d6f4989ef2f8622363009ebc6509b67c35a57e
[ "MIT" ]
1
2017-11-21T01:25:19.000Z
2017-11-21T01:25:19.000Z
Engine/Plugins/UnrealCS/Source/MonoPlugin/Private/MonoCallbackScheduler.cpp
RobertAcksel/UnrealCS
16d6f4989ef2f8622363009ebc6509b67c35a57e
[ "MIT" ]
null
null
null
Engine/Plugins/UnrealCS/Source/MonoPlugin/Private/MonoCallbackScheduler.cpp
RobertAcksel/UnrealCS
16d6f4989ef2f8622363009ebc6509b67c35a57e
[ "MIT" ]
null
null
null
#include "MonoCallbackScheduler.h" #include "MonoPluginPrivatePCH.h" bool MonoCallbackScheduler::AddTickableObject(MonoObject * obj) { if(obj == nullptr) return false; MonoClass * ObjectClass = mono_object_get_class(obj); TickObject Data; Data.removed = false; Data.Obj = obj;...
28.558824
117
0.572091
RobertAcksel
56f826e8358547dcae3d8d04b66b055d28548051
2,789
cpp
C++
buildcc/lib/target/src/target/tasks.cpp
d-winsor/build_in_cpp
581c827fd8c69a7258175e360847676861a5c7b0
[ "Apache-2.0" ]
null
null
null
buildcc/lib/target/src/target/tasks.cpp
d-winsor/build_in_cpp
581c827fd8c69a7258175e360847676861a5c7b0
[ "Apache-2.0" ]
null
null
null
buildcc/lib/target/src/target/tasks.cpp
d-winsor/build_in_cpp
581c827fd8c69a7258175e360847676861a5c7b0
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 Niket Naidu. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
28.752577
75
0.662603
d-winsor
56fbc38ea543637a2e94ad8355f09036344b9d42
376
cpp
C++
src/mlcmst_solver.cpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
src/mlcmst_solver.cpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
src/mlcmst_solver.cpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
#include <mlcmst_solver.hpp> #include <utility> namespace MLCMST { MLCMST_Solver::~MLCMST_Solver() = default; MLCMST_Solver::Result::Result( std::optional<network::MLCST> mlcmst, std::optional<double> lower_bound, double wall_time, bool finished ) : mlcst(std::move(mlcmst)), lower_bound(std::move(lower_b...
23.5
112
0.731383
qaskai
56ffdb1efbe44ece05cdf7a223b4597422a08c75
3,297
cpp
C++
snippets/0x01/work_string.cpp
pblan/fha-cpp
5008f54133cf4913f0ca558a3817b01b10d04494
[ "CECILL-B" ]
null
null
null
snippets/0x01/work_string.cpp
pblan/fha-cpp
5008f54133cf4913f0ca558a3817b01b10d04494
[ "CECILL-B" ]
null
null
null
snippets/0x01/work_string.cpp
pblan/fha-cpp
5008f54133cf4913f0ca558a3817b01b10d04494
[ "CECILL-B" ]
null
null
null
// author: a.voss@fh-aachen.de #include <iostream> using namespace std; int main() { cout << endl << "--- " << __FILE__ << " ---" << endl << endl; string s{"Beispiel"}; // (A) cout << "01| s='" << s << "'" << endl; // (B) cout << "-----" << endl; cout << "02| s+s...
28.921053
75
0.451319
pblan
710333d9b59b7b7c45ae70aa97ed0921c00c7e97
1,332
cpp
C++
src/fps_ros_bridge/fps_tracker_client_node.cpp
Lab-RoCoCo/fps_mapper
376e557c8f5012e05187fe85ee3f4044f99f944a
[ "BSD-3-Clause" ]
1
2017-12-01T14:57:16.000Z
2017-12-01T14:57:16.000Z
src/fps_ros_bridge/fps_tracker_client_node.cpp
Lab-RoCoCo/fps_mapper
376e557c8f5012e05187fe85ee3f4044f99f944a
[ "BSD-3-Clause" ]
null
null
null
src/fps_ros_bridge/fps_tracker_client_node.cpp
Lab-RoCoCo/fps_mapper
376e557c8f5012e05187fe85ee3f4044f99f944a
[ "BSD-3-Clause" ]
null
null
null
#include "fps_mapper/RichPointMsg.h" #include "fps_mapper/StampedCloudMsg.h" #include <ros/ros.h> #include "txt_io/message_writer.h" #include "tf/transform_listener.h" #include "fps_ros_msgs.h" using namespace fps_mapper; using namespace std; txt_io::MessageWriter writer; tf::TransformListener* _listener = 0; voi...
27.183673
155
0.70045
Lab-RoCoCo
710d1f47b82a57c1befddff0bda5eb106beeeb1a
240
cpp
C++
bitwise/bitwiseQs4.cpp
rrishabhj/ALGORITHM
a5204575b2e7417b5f5e1243687179294fdca290
[ "MIT" ]
null
null
null
bitwise/bitwiseQs4.cpp
rrishabhj/ALGORITHM
a5204575b2e7417b5f5e1243687179294fdca290
[ "MIT" ]
null
null
null
bitwise/bitwiseQs4.cpp
rrishabhj/ALGORITHM
a5204575b2e7417b5f5e1243687179294fdca290
[ "MIT" ]
null
null
null
/* Detect if two integers have opposite signs */ #include<iostream> #include<stdio.h> using namespace std; bool checkOppositeSign(int a, int b){ return ( (a^b) < 0); } int main() { cout<<checkOppositeSign(3,-4)<<endl; return(0); }
15
48
0.666667
rrishabhj
710e19173a528a1de0e06012e05e48004448ccfc
19,179
cc
C++
zircon/kernel/kernel/timer.cc
casey/fuchsia
2b965e9a1e8f2ea346db540f3611a5be16bb4d6b
[ "BSD-3-Clause" ]
null
null
null
zircon/kernel/kernel/timer.cc
casey/fuchsia
2b965e9a1e8f2ea346db540f3611a5be16bb4d6b
[ "BSD-3-Clause" ]
null
null
null
zircon/kernel/kernel/timer.cc
casey/fuchsia
2b965e9a1e8f2ea346db540f3611a5be16bb4d6b
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Fuchsia Authors // Copyright (c) 2008-2014 Travis Geiselbrecht // // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT /** * @file * @brief Kernel timer subsystem * @defgroup timer Timers * * The ...
33.647368
100
0.675009
casey
711020af09a3f06b18191dc1e7c0b122afa1cf7f
4,088
cpp
C++
src/plugin/xlog/xlog.cpp
willenchou/xservers
0f8b262571ed7c0465d90ef807a9a540e97de379
[ "Apache-2.0" ]
11
2016-12-11T02:17:58.000Z
2021-11-24T03:27:01.000Z
src/plugin/xlog/xlog.cpp
willenchou/xservers
0f8b262571ed7c0465d90ef807a9a540e97de379
[ "Apache-2.0" ]
null
null
null
src/plugin/xlog/xlog.cpp
willenchou/xservers
0f8b262571ed7c0465d90ef807a9a540e97de379
[ "Apache-2.0" ]
2
2016-12-11T10:48:00.000Z
2021-07-10T07:10:55.000Z
#include "xlog.h" #ifdef OS_WIN #include <windows.h> #endif #include <include/xservice_intf.h> namespace x { LogService* _logService = new LogService(); LogIocService* _logIocService = new LogIocService(); LogMngService* _logMngService = new LogMngService(); LogService::LogService(){ isSync_ = true; level_ = LOG_L...
18.497738
85
0.670254
willenchou
711168fa4b89ea9e14d489e15a76ce0962562e54
780
cpp
C++
P11725.cpp
daily-boj/SkyLightQP
5038819b6ad31f94d84a66c7679c746a870bb857
[ "Unlicense" ]
6
2020-04-08T09:05:38.000Z
2022-01-20T08:09:48.000Z
P11725.cpp
daily-boj/SkyLightQP
5038819b6ad31f94d84a66c7679c746a870bb857
[ "Unlicense" ]
null
null
null
P11725.cpp
daily-boj/SkyLightQP
5038819b6ad31f94d84a66c7679c746a870bb857
[ "Unlicense" ]
1
2020-05-23T21:17:10.000Z
2020-05-23T21:17:10.000Z
#include <iostream> #include <vector> using namespace std; vector<int> graph[100001] = {}; int check[100001] = {}; int parents[100001] = {}; void dfs(int start) { check[start] = 1; for(int i = 0; i < graph[start].size(); i++) { int node = graph[start][i]; if(check[node]) continue; p...
16.595745
50
0.479487
daily-boj
7111a51a8969653c67e938d64d7a78de970f5b35
3,297
cpp
C++
src/obproxy/prometheus/ob_prometheus_utils.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
74
2021-05-31T15:23:49.000Z
2022-03-12T04:46:39.000Z
src/obproxy/prometheus/ob_prometheus_utils.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
16
2021-05-31T15:26:38.000Z
2022-03-30T06:02:43.000Z
src/obproxy/prometheus/ob_prometheus_utils.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
64
2021-05-31T15:25:36.000Z
2022-02-23T08:43:58.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase Database Proxy(ODP) is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ...
28.669565
98
0.680619
stutiredboy
7115d1c31aa36071e9a5e88a4f00c823330369a0
3,636
cpp
C++
src/Button.cpp
18/PasswordManager
85a6fb03f1fea6a8494a13ccce5550ab9b414811
[ "Apache-2.0" ]
1
2018-12-06T00:45:23.000Z
2018-12-06T00:45:23.000Z
src/Button.cpp
18/PasswordManager
85a6fb03f1fea6a8494a13ccce5550ab9b414811
[ "Apache-2.0" ]
null
null
null
src/Button.cpp
18/PasswordManager
85a6fb03f1fea6a8494a13ccce5550ab9b414811
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 Krystian Stasiowski #include "Button.h" Button::Button(unsigned x, unsigned y, Color textcolor, Color backgroundcolor, Color selectedtextcolor, Color selectedbackgroundcolor, Color activatedtextcolor, const std::string& text, const std::string& selectedtext, const std::string& activatedtext, const s...
24.734694
393
0.671617
18
711a1142d59343cc79012d7dee410650f9de72a6
369
cpp
C++
leetcode/338. Counting Bits/s1.cpp
joycse06/LeetCode-1
ad105bd8c5de4a659c2bbe6b19f400b926c82d93
[ "Fair" ]
787
2017-05-12T05:19:57.000Z
2022-03-30T12:19:52.000Z
leetcode/338. Counting Bits/s1.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
8
2020-03-16T05:55:38.000Z
2022-03-09T17:19:17.000Z
leetcode/338. Counting Bits/s1.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
247
2017-04-30T15:07:50.000Z
2022-03-30T09:58:57.000Z
// OJ: https://leetcode.com/problems/counting-bits // Author: github.com/lzl124631x // Time: O(N) // Space: O(1) class Solution { public: vector<int> countBits(int num) { vector<int> ans(num + 1); for (int i = 1; i <= num; i *= 2) { ans[i] = 1; for (int j = 1; j < i && i + j <= num; ++j) ans[i + j...
24.6
79
0.520325
joycse06
711ac4d152e37cfec06cbed271607d3fe49f4d05
161
hpp
C++
osc-seq-cpp/src/filesystem/filesystem.hpp
Acaruso/osc-seq-cpp
14d2d5ce0fdad8d183e19781a279f9442db9c79f
[ "MIT" ]
null
null
null
osc-seq-cpp/src/filesystem/filesystem.hpp
Acaruso/osc-seq-cpp
14d2d5ce0fdad8d183e19781a279f9442db9c79f
[ "MIT" ]
null
null
null
osc-seq-cpp/src/filesystem/filesystem.hpp
Acaruso/osc-seq-cpp
14d2d5ce0fdad8d183e19781a279f9442db9c79f
[ "MIT" ]
null
null
null
#pragma once #include "../store/store.hpp" #include <string> void save_file(std::string path, Store& store); void open_file(std::string path, Store& store);
16.1
47
0.714286
Acaruso
7120d2b8ad8f6661da8a204eac1f2483f0a485c1
1,449
cpp
C++
primary/grmath.cpp
Wiladams/nd
9575e050c18225a138255a39de6c50954db2e731
[ "MIT" ]
11
2020-04-25T02:37:13.000Z
2021-08-08T13:08:36.000Z
primary/grmath.cpp
Wiladams/nd
9575e050c18225a138255a39de6c50954db2e731
[ "MIT" ]
null
null
null
primary/grmath.cpp
Wiladams/nd
9575e050c18225a138255a39de6c50954db2e731
[ "MIT" ]
null
null
null
#include "grmath.h" vec3 random_in_unit_disk() { while (true) { auto p = vec3(random_double_range(-1, 1), random_double_range(-1, 1), 0); if (p.lengthSquared() >= 1) continue; return p; } } vec3 random_unit_vector() { auto a = random_double_range(0, 2 * maths::Pi); auto z = ran...
33.697674
129
0.585921
Wiladams
71255f887615f6b95557818672f14a96ac2dd586
5,904
hpp
C++
include/Simple-Utility/functional.hpp
DNKpp/Simple-Utility
db2d6cb1cc3849704f18272f8ce2d2bc05ad06a7
[ "BSL-1.0" ]
null
null
null
include/Simple-Utility/functional.hpp
DNKpp/Simple-Utility
db2d6cb1cc3849704f18272f8ce2d2bc05ad06a7
[ "BSL-1.0" ]
8
2021-12-30T22:07:39.000Z
2022-02-04T21:13:53.000Z
include/Simple-Utility/functional.hpp
DNKpp/Simple-Utility
db2d6cb1cc3849704f18272f8ce2d2bc05ad06a7
[ "BSL-1.0" ]
1
2020-08-19T13:02:58.000Z
2020-08-19T13:02:58.000Z
// Copyright Dominic Koepke 2019 - 2022. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) #ifndef SL_UTILITY_FUNCTIONAL_HPP #define SL_UTILITY_FUNCTIONAL_HPP #pragma once #include <concept...
23.902834
114
0.664634
DNKpp
712ba4926cb9a14eb7070608306e25d84e34ba23
1,708
cpp
C++
UI/TutorialHUD/Widget_KeyInput/Widget_KeyInputItem.cpp
Bornsoul/Revenger_JoyContinue
599716970ca87a493bf3a959b36de0b330b318f1
[ "MIT" ]
null
null
null
UI/TutorialHUD/Widget_KeyInput/Widget_KeyInputItem.cpp
Bornsoul/Revenger_JoyContinue
599716970ca87a493bf3a959b36de0b330b318f1
[ "MIT" ]
null
null
null
UI/TutorialHUD/Widget_KeyInput/Widget_KeyInputItem.cpp
Bornsoul/Revenger_JoyContinue
599716970ca87a493bf3a959b36de0b330b318f1
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Widget_KeyInputItem.h" #include "Components/TextBlock.h" #include "Components/Image.h" void UWidget_KeyInputItem::NativeConstruct() { Super::NativeConstruct(); m_pKeyText = Cast<UTextBlock>(GetWidgetFromName(TEXT("KeyText")));...
19.860465
85
0.719555
Bornsoul
7131f890a3ef8d9bcf687f797837a21c1b13a034
625
cpp
C++
C++/1259-Handshakes-That-Dont-Cross/soln.cpp
wyaadarsh/LeetCode-Solutions
3719f5cb059eefd66b83eb8ae990652f4b7fd124
[ "MIT" ]
5
2020-07-24T17:48:59.000Z
2020-12-21T05:56:00.000Z
C++/1259-Handshakes-That-Dont-Cross/soln.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
null
null
null
C++/1259-Handshakes-That-Dont-Cross/soln.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
2
2020-07-24T17:49:01.000Z
2020-08-31T19:57:35.000Z
typedef long long ll; const ll kMod = 1000000007LL; class Solution { public: int numberOfWays(int num_people) { // convert it to a smaller problem vector<ll> memo(num_people + 1, 0); return static_cast<int>(helper(num_people, &memo)); } private: ll helper(int n, vector<ll> *...
27.173913
82
0.5008
wyaadarsh
7133ba40787d62c5e2c79058379ec01cab13c57b
8,259
cpp
C++
MEX/src/cpp/vision/features/feature_channels/hog_extractor.cpp
umariqb/3D_Pose_Estimation_CVPR2016
83f6bf36aa68366ea8fa078eea6d91427e28503b
[ "BSD-3-Clause" ]
47
2016-07-25T00:48:59.000Z
2021-02-17T09:19:03.000Z
MEX/src/cpp/vision/features/feature_channels/hog_extractor.cpp
umariqb/3D_Pose_Estimation_CVPR2016
83f6bf36aa68366ea8fa078eea6d91427e28503b
[ "BSD-3-Clause" ]
5
2016-09-17T19:40:46.000Z
2018-11-07T06:49:02.000Z
MEX/src/cpp/vision/features/feature_channels/hog_extractor.cpp
iqbalu/3D_Pose_Estimation_CVPR2016
83f6bf36aa68366ea8fa078eea6d91427e28503b
[ "BSD-3-Clause" ]
35
2016-07-21T09:13:15.000Z
2019-05-13T14:11:37.000Z
/* * hog_extractor.cpp * * Created on: Mar 22, 2012 * Author: Juergen Gall, mdantone */ #include <deque> #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include "hog_extractor.h" #include "cpp/vision/min_max_filter.hpp" using namespace std; using namespace cv; namespace vi...
26.053628
93
0.61097
umariqb
7134a171029c8236655c90b40fb7939124c1e53c
12,145
cpp
C++
samples/WIoT-WM01_WM-N400MSE/WIZnet-IoTShield-WM-N400MSE-SMS/main.cpp
Wiznet/wiznet-iot-shield-mbed-kr
5fbaa28136be6106e216c0a2838bbfb4e5cf6adb
[ "Apache-2.0" ]
13
2019-03-26T12:07:12.000Z
2021-09-23T08:35:51.000Z
samples/WIoT-WM01_WM-N400MSE/WIZnet-IoTShield-WM-N400MSE-SMS/main.cpp
Wiznet/wiznet-iot-shield-mbed-kr
5fbaa28136be6106e216c0a2838bbfb4e5cf6adb
[ "Apache-2.0" ]
null
null
null
samples/WIoT-WM01_WM-N400MSE/WIZnet-IoTShield-WM-N400MSE-SMS/main.cpp
Wiznet/wiznet-iot-shield-mbed-kr
5fbaa28136be6106e216c0a2838bbfb4e5cf6adb
[ "Apache-2.0" ]
14
2019-04-20T05:21:46.000Z
2021-11-04T02:20:46.000Z
/* WIZnet IoT Shield Cat.M1 Sample code for Arm MBED * Copyright (c) 2019 WIZnet Co., Ltd. * SPDX-License-Identifier: Apache-2.0 */ /* * 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 ...
25.354906
144
0.539481
Wiznet
7136d585e28bc662454d5dffa282fa54b103b441
729
cpp
C++
tests/functionality/structures/matrices/dense/mathematical.cpp
szymonmaszke/numpp
9149c9d81f70a6ce833fdd1d2f0f2b584e2ac4d9
[ "MIT" ]
10
2018-06-06T01:51:17.000Z
2021-01-02T15:17:00.000Z
tests/functionality/structures/matrices/dense/mathematical.cpp
vyzyv/numpp
9149c9d81f70a6ce833fdd1d2f0f2b584e2ac4d9
[ "MIT" ]
2
2018-11-28T12:15:46.000Z
2018-12-16T00:03:38.000Z
tests/functionality/structures/matrices/dense/mathematical.cpp
szymonmaszke/numpp
9149c9d81f70a6ce833fdd1d2f0f2b584e2ac4d9
[ "MIT" ]
2
2017-08-06T13:58:27.000Z
2018-04-06T06:45:22.000Z
#include "../../../../utilities/catch.hpp" #include "numpp/structures/matrices/dense.hpp" TEST_CASE( "dense matrix functions tests", "[mathemathical][matrix][dense][constexpr]" ){ constexpr numpp::matrix::dense<double, 4, 5> matrix{ 1.2, -4.5, 12412.3, 12512., 294.2352, 2, 5.35, -412.3, 12, 0, -34, 0, 0, 0,...
27
54
0.615912
szymonmaszke
713835ea7ab96a01ba37edae5b5b3ff5d5a60123
3,382
cpp
C++
cppLib/code/dep/G3D/source/Stopwatch.cpp
DrYaling/ProcedureContentGenerationForUnity
3c4f1e70b01e4fe2b9f847324b60b15016b9a740
[ "MIT" ]
3
2019-05-14T07:19:59.000Z
2019-05-14T08:08:25.000Z
cppLib/code/dep/G3D/source/Stopwatch.cpp
DrYaling/ProcedureContentGenerationForUnity
3c4f1e70b01e4fe2b9f847324b60b15016b9a740
[ "MIT" ]
null
null
null
cppLib/code/dep/G3D/source/Stopwatch.cpp
DrYaling/ProcedureContentGenerationForUnity
3c4f1e70b01e4fe2b9f847324b60b15016b9a740
[ "MIT" ]
1
2018-08-08T07:39:16.000Z
2018-08-08T07:39:16.000Z
/** @file Stopwatch.cpp @maintainer Morgan McGuire, http://graphics.cs.williams.edu @created 2005-10-05 @edited 2009-03-14 Copyright 2000-2009, Morgan McGuire. All rights reserved. */ #include "G3D/Stopwatch.h" #include "G3D/System.h" namespace G3D { Stopwatch::Stopwatch(const std::string& myName) : ...
27.950413
94
0.591366
DrYaling
7139ae3f426ce0c226b223ded51c7ea9c63c3e71
4,122
cpp
C++
test/unit_0/test_detection_of_pressing_a_button.cpp
venth/webhook-button
b4b58ae813f7d8e0c6f1d8b770f380024043d7a5
[ "MIT" ]
3
2019-06-25T18:24:59.000Z
2021-05-25T22:39:46.000Z
test/unit_0/test_detection_of_pressing_a_button.cpp
venth/webhook-button
b4b58ae813f7d8e0c6f1d8b770f380024043d7a5
[ "MIT" ]
null
null
null
test/unit_0/test_detection_of_pressing_a_button.cpp
venth/webhook-button
b4b58ae813f7d8e0c6f1d8b770f380024043d7a5
[ "MIT" ]
2
2019-06-25T19:32:37.000Z
2020-11-23T15:45:16.000Z
#include <unity.h> #include <etl/message_bus.h> #include "button_messages.h" #include "ButtonPressingDetector.h" #include "assertions/MessageBusVerifier.h" ButtonPressingDetector *inLoopProcessor; etl::imessage_bus *bus; assertions::MessageBusVerifier *busVerifier; void emits_loop_initiated_message_every_time_durin...
29.442857
159
0.739932
venth
7142ada1847c6a703e24bcca79e470d6ff2ef011
15,222
cpp
C++
dali/internal/text/text-abstraction/bidirectional-support-impl.cpp
Coquinho/dali-adaptor
a8006aea66b316a5eb710e634db30f566acda144
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
dali/internal/text/text-abstraction/bidirectional-support-impl.cpp
Coquinho/dali-adaptor
a8006aea66b316a5eb710e634db30f566acda144
[ "Apache-2.0", "BSD-3-Clause" ]
2
2020-10-19T13:45:40.000Z
2020-12-10T20:21:03.000Z
dali/internal/text/text-abstraction/bidirectional-support-impl.cpp
expertisesolutions/dali-adaptor
810bf4dea833ea7dfbd2a0c82193bc0b3b155011
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015 Samsung Electronics Co., Ltd. * * 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...
32.25
178
0.6509
Coquinho
71440bf8a627282b7f74ca76ec1ae778b3dcbc9e
3,127
cpp
C++
src/bindings/c++/iccp-c++.cpp
Geof23/sail
d09e5abe212cbc7f40ff61713a5f75a254e52764
[ "BSD-3-Clause-Clear", "MIT" ]
null
null
null
src/bindings/c++/iccp-c++.cpp
Geof23/sail
d09e5abe212cbc7f40ff61713a5f75a254e52764
[ "BSD-3-Clause-Clear", "MIT" ]
null
null
null
src/bindings/c++/iccp-c++.cpp
Geof23/sail
d09e5abe212cbc7f40ff61713a5f75a254e52764
[ "BSD-3-Clause-Clear", "MIT" ]
null
null
null
/* This file is part of SAIL (https://github.com/smoked-herring/sail) Copyright (c) 2020 Dmitry Baryshev The MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software with...
20.846667
96
0.653342
Geof23
7145e7b7d7b6aae2a27ac8cfd595d6cccdddcbbf
3,013
cpp
C++
passes/idempotent-regions/src/HittingSet.cpp
TUDSSL/WARio
e57fe0857ba3327d42ec0be71b62ed561b7c4b2b
[ "MIT" ]
2
2022-03-14T12:48:18.000Z
2022-03-14T12:48:24.000Z
passes/idempotent-regions/src/HittingSet.cpp
TUDSSL/WARio
e57fe0857ba3327d42ec0be71b62ed561b7c4b2b
[ "MIT" ]
null
null
null
passes/idempotent-regions/src/HittingSet.cpp
TUDSSL/WARio
e57fe0857ba3327d42ec0be71b62ed561b7c4b2b
[ "MIT" ]
null
null
null
#include "Configurations.hpp" #include "PlacementCost.hpp" #include "HittingSet.hpp" using namespace IdempotentRegion; void HittingSet::computeHitCountMap(PathsTy &Paths) { HitCountMap.clear(); for (const auto &Path : Paths) for (const auto &Point : Path) HitCountMap[Point]++; } void HittingSet::remov...
25.533898
75
0.59542
TUDSSL
7145f113cf2ab526df1efd2d7d5ed5574f7ca300
811
cpp
C++
c++/leetcode/0572-Subtree_of_Another_Tree-E.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
1
2020-03-02T10:56:22.000Z
2020-03-02T10:56:22.000Z
c++/leetcode/0572-Subtree_of_Another_Tree-E.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
c++/leetcode/0572-Subtree_of_Another_Tree-E.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
// 572 Subtree of Another Tree // https://leetcode.com/problems/subtree-of-another-tree // version: 1; create time: 2019-12-30 11:34:15; /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL)...
27.965517
90
0.556104
levendlee
71496eb742eb33b7e02dd510bb4655b3f8e2d692
9,047
hpp
C++
src/include/structures/min_max_heap.hpp
mr-c/structures
5a2279557ec0e9da9bcff37f68f8fb1cd89a9314
[ "Apache-2.0" ]
2
2019-03-18T20:37:47.000Z
2019-03-19T04:51:47.000Z
src/include/structures/min_max_heap.hpp
mr-c/structures
5a2279557ec0e9da9bcff37f68f8fb1cd89a9314
[ "Apache-2.0" ]
1
2019-09-09T02:33:02.000Z
2019-09-09T02:33:02.000Z
src/include/structures/min_max_heap.hpp
mr-c/structures
5a2279557ec0e9da9bcff37f68f8fb1cd89a9314
[ "Apache-2.0" ]
4
2018-02-15T19:17:15.000Z
2020-06-25T13:26:19.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 may...
28.271875
91
0.609042
mr-c
7149ff58d8822b0bd35b5efa19c3277a1bf648c8
1,270
cpp
C++
memory/intrusive_ptr.cpp
xujungp02/boost_guide
328516455d334506f824402455a17afc606ca3bc
[ "Apache-2.0" ]
355
2015-03-06T12:03:51.000Z
2022-03-28T04:15:00.000Z
memory/intrusive_ptr.cpp
lak123456/boost_guide
1886ec8014838717222484f0fe872ecebc324e91
[ "Apache-2.0" ]
1
2017-10-04T18:14:17.000Z
2017-10-09T02:38:12.000Z
memory/intrusive_ptr.cpp
lak123456/boost_guide
1886ec8014838717222484f0fe872ecebc324e91
[ "Apache-2.0" ]
202
2015-03-23T16:16:45.000Z
2022-03-28T07:55:48.000Z
// Copyright (c) 2015 // Author: Chrono Law #include <std.hpp> using namespace std; #include <boost/smart_ptr.hpp> using namespace boost; ////////////////////////////////////////// struct counted_data { // ... int m_count = 0; ~counted_data() { cout << "dtor" << endl; } }; void intrusive...
17.162162
66
0.540945
xujungp02
714a01cf9a3e539ac437e954820c7df871a975ad
5,591
cpp
C++
python-module/calendar.cpp
russor/uICAL
e5d23b963876185e7e5bb263d18aad99bce365a5
[ "MIT" ]
8
2020-11-20T18:10:24.000Z
2022-03-19T01:37:20.000Z
python-module/calendar.cpp
russor/uICAL
e5d23b963876185e7e5bb263d18aad99bce365a5
[ "MIT" ]
null
null
null
python-module/calendar.cpp
russor/uICAL
e5d23b963876185e7e5bb263d18aad99bce365a5
[ "MIT" ]
5
2021-10-08T04:52:32.000Z
2022-03-14T22:05:13.000Z
/*############################################################################ # Copyright (c) 2020 Source Simian : https://github.com/sourcesimian/uICAL # ############################################################################*/ #include <sstream> #include "uICAL/cppstl.h" #include "uICAL/types.h" #include "uI...
31.767045
123
0.560723
russor
71550a9373d5b509149751cc39a9955751f7aedc
4,806
cpp
C++
src/database/impl/FastaSequenceOutput.cpp
nileshpatra/plast-library
7c962282fdb68ac1f48a587e03fbb1a1b70a7a32
[ "Intel", "DOC" ]
9
2016-09-30T05:44:35.000Z
2020-09-03T19:40:06.000Z
src/database/impl/FastaSequenceOutput.cpp
nileshpatra/plast-library
7c962282fdb68ac1f48a587e03fbb1a1b70a7a32
[ "Intel", "DOC" ]
10
2017-05-05T14:55:16.000Z
2022-01-24T18:21:51.000Z
src/database/impl/FastaSequenceOutput.cpp
nileshpatra/plast-library
7c962282fdb68ac1f48a587e03fbb1a1b70a7a32
[ "Intel", "DOC" ]
1
2020-12-05T21:33:27.000Z
2020-12-05T21:33:27.000Z
/***************************************************************************** * * * PLAST : Parallel Local Alignment Search Tool * * Version 2.3, released November 2015 * * ...
32.04
132
0.394715
nileshpatra
7155d64874e7ce4b6e55b4aa18f88e7c4c6615dd
2,490
cpp
C++
Arrays/create.cpp
rajeshkumarblr/datastructures
ca5ebbb44d65272ead8e20cda5f9fee2c326c58a
[ "MIT" ]
null
null
null
Arrays/create.cpp
rajeshkumarblr/datastructures
ca5ebbb44d65272ead8e20cda5f9fee2c326c58a
[ "MIT" ]
null
null
null
Arrays/create.cpp
rajeshkumarblr/datastructures
ca5ebbb44d65272ead8e20cda5f9fee2c326c58a
[ "MIT" ]
null
null
null
#include <iostream> #include <time.h> #include <stdlib.h> #include "arrayops.h" #include "dsutils.h" using namespace std; void allocateArray(int size) { if (arr) { delete[] arr; } arr = new int[size]; n = size; } void createArray(int st, int end, int incr) { int size = (end - st) / incr + 1;...
23.271028
101
0.583936
rajeshkumarblr
71562197278abdecea7b48012d7d31c61d099bc2
228
cpp
C++
lib/libc/tests/ctype/isalpha.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
52
2015-11-27T13:56:00.000Z
2021-12-01T16:33:58.000Z
lib/libc/tests/ctype/isalpha.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
4
2017-06-26T17:59:51.000Z
2021-09-26T17:30:32.000Z
lib/libc/tests/ctype/isalpha.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
8
2016-08-26T09:42:27.000Z
2021-12-04T00:21:05.000Z
#include <gtest/gtest.h> #include <ctype.h> TEST(ctype, isalpha) { EXPECT_TRUE(isalpha('a')); EXPECT_TRUE(isalpha('z')); EXPECT_FALSE(isalpha(' ')); EXPECT_FALSE(isalpha('1')); EXPECT_FALSE(isalpha('@')); }
19
31
0.627193
otaviopace
7157aa8407ffc5d2453a56d06f3a30aa281ae1f5
6,608
cc
C++
src/kernel/arch/x86/architecture.cc
cmejj/How-to-Make-a-Computer-Operating-System
eb30f8802fac9f0f1c28d3a96bb3d402bdfc4687
[ "Apache-2.0" ]
16,500
2015-01-01T00:47:42.000Z
2022-03-31T17:12:02.000Z
src/kernel/arch/x86/architecture.cc
yongpingkan/How-to-Make-a-Computer-Operating-System
eb30f8802fac9f0f1c28d3a96bb3d402bdfc4687
[ "Apache-2.0" ]
66
2015-01-08T15:22:11.000Z
2021-12-16T09:04:37.000Z
src/kernel/arch/x86/architecture.cc
yongpingkan/How-to-Make-a-Computer-Operating-System
eb30f8802fac9f0f1c28d3a96bb3d402bdfc4687
[ "Apache-2.0" ]
3,814
2015-01-01T12:42:31.000Z
2022-03-31T14:26:50.000Z
#include <os.h> #include <x86.h> /* Stack pointer */ extern u32 * stack_ptr; /* Current cpu name */ static char cpu_name[512] = "x86-noname"; /* Detect the type of processor */ char* Architecture::detect(){ cpu_vendor_name(cpu_name); return cpu_name; } /* Start and initialize the architecture */ void Architectu...
19.550296
82
0.615466
cmejj
715d14a0dcd1f93c08d98a5dd3b4c9ee626e05f3
2,021
cpp
C++
3rdparty/openbw/bwapi/bwapi/TestAIModule/Source/InterceptorTest.cpp
ratiotile/StardustDevEnvironment
15c512b81579d8bd663db3fa8e0847d4c27f17e8
[ "MIT" ]
8
2020-09-29T17:11:15.000Z
2022-01-29T20:41:33.000Z
3rdparty/openbw/bwapi/bwapi/TestAIModule/Source/InterceptorTest.cpp
ratiotile/StardustDevEnvironment
15c512b81579d8bd663db3fa8e0847d4c27f17e8
[ "MIT" ]
1
2021-03-08T17:43:05.000Z
2021-03-09T06:35:04.000Z
3rdparty/openbw/bwapi/bwapi/TestAIModule/Source/InterceptorTest.cpp
ratiotile/StardustDevEnvironment
15c512b81579d8bd663db3fa8e0847d4c27f17e8
[ "MIT" ]
1
2021-03-01T04:31:30.000Z
2021-03-01T04:31:30.000Z
#include "InterceptorTest.h" using namespace std; using namespace BWAPI; void InterceptorTest::onStart() { BWAssert(Broodwar->isMultiplayer()==false); BWAssert(Broodwar->isReplay()==false); Broodwar->enableFlag(Flag::UserInput); Broodwar->sendText("show me the money"); int correctCarrierCount = 2; int corre...
34.844828
141
0.682335
ratiotile
715e214cbd79c88f5fffb406c28c97eedfa72939
580
cpp
C++
AcWing/LeetCode究极班/165.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
7
2019-02-25T13:15:00.000Z
2021-12-21T22:08:39.000Z
AcWing/LeetCode究极班/165.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
null
null
null
AcWing/LeetCode究极班/165.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
1
2019-04-03T06:12:46.000Z
2019-04-03T06:12:46.000Z
class Solution { public: int compareVersion(string v1, string v2) { int n = v1.size(), m = v2.size(); for (int i = 0, j = 0; i < n || j < m; ) { int a = i, b = j; while (a < n && v1[a] != '.') a ++; while (b < m && v2[b] != '.') b ++; int x = a == i ? ...
30.526316
59
0.32931
LauZyHou
7160834b20fd537d7941549a1efb729d579636fc
6,444
cpp
C++
src/NetProtocol/Protocols/nCiosDiscovery.cpp
Vladimir-Lin/QtNetProtocol
907cc8b5acf96a04d89eb8e68faede77c4a2df1b
[ "MIT" ]
null
null
null
src/NetProtocol/Protocols/nCiosDiscovery.cpp
Vladimir-Lin/QtNetProtocol
907cc8b5acf96a04d89eb8e68faede77c4a2df1b
[ "MIT" ]
null
null
null
src/NetProtocol/Protocols/nCiosDiscovery.cpp
Vladimir-Lin/QtNetProtocol
907cc8b5acf96a04d89eb8e68faede77c4a2df1b
[ "MIT" ]
null
null
null
#include <netprotocol.h> N::CiosDiscovery:: CiosDiscovery (void) : UdpDiscovery ( ) , neighbors (NULL) { setParameter ( "Myself" , false ) ; } N::CiosDiscovery::~CiosDiscovery (void) { if ( NotNull(neighbors) ) { if ( neighbors->Used <= 0 ) { delete neighbor...
51.552
78
0.257294
Vladimir-Lin
7163ce0e902b4bbefe1d7e45af385505e51aacab
852
cpp
C++
src/fig00-test.cpp
carlos-urena/figs-gen
d9161efedddb13a7e067e8efe56bccc904c8e065
[ "MIT" ]
null
null
null
src/fig00-test.cpp
carlos-urena/figs-gen
d9161efedddb13a7e067e8efe56bccc904c8e065
[ "MIT" ]
null
null
null
src/fig00-test.cpp
carlos-urena/figs-gen
d9161efedddb13a7e067e8efe56bccc904c8e065
[ "MIT" ]
null
null
null
#include <iostream> #include <vec_mat.h> int main( int argc, char *argv[] ) { using namespace std ; cout << "\\documentclass[border=1mm]{standalone}" << endl << "\\input{../src/header.tex}" << endl ; const char * tex = R"tex( \tikzisometrico \begin{tikzpicture}[scale=1.4,isometricXYZ] ...
26.625
100
0.543427
carlos-urena
716900084d66edb7864f1780ed8737da398ed885
34,154
cpp
C++
src/mechanisms.cpp
opendnssec/pkcs11-testing
cac56d02daadf333485c2376058db912dc37053a
[ "BSD-1-Clause" ]
14
2015-10-19T01:35:58.000Z
2020-10-09T09:49:04.000Z
src/mechanisms.cpp
opendnssec/pkcs11-testing
cac56d02daadf333485c2376058db912dc37053a
[ "BSD-1-Clause" ]
null
null
null
src/mechanisms.cpp
opendnssec/pkcs11-testing
cac56d02daadf333485c2376058db912dc37053a
[ "BSD-1-Clause" ]
3
2016-01-17T17:26:30.000Z
2022-02-08T09:46:11.000Z
/* $Id$ */ /* * Copyright (c) 2010 .SE (The Internet Infrastructure Foundation) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above...
25.583521
130
0.703988
opendnssec
716c8ceaca06b28f5179b8b5441c557e982f619f
2,213
cpp
C++
Windows/src/Code_highlighting.cpp
SongZihui-sudo/easyhtmleditor
6ac122e0f6cff16da98adb74da2e3a2dba153748
[ "MIT" ]
1
2022-01-23T14:49:51.000Z
2022-01-23T14:49:51.000Z
Windows/src/Code_highlighting.cpp
SongZihui-sudo/easyhtmleditor
6ac122e0f6cff16da98adb74da2e3a2dba153748
[ "MIT" ]
9
2022-02-11T13:09:29.000Z
2022-03-14T12:13:39.000Z
Windows/src/Code_highlighting.cpp
SongZihui-sudo/easyhtmleditor
6ac122e0f6cff16da98adb74da2e3a2dba153748
[ "MIT" ]
null
null
null
#include "../include/Code_highlighting.h" #include "../include/EasyCodingEditor.h" using namespace cht; using namespace edt; edt::easyhtmleditor e1; //设置颜色 void Code_highlighting::Set_color(int wr,int wg,int wb,int br,int bg,int bb){ printf("\033[38;2;%d;%d;%dm\033[48;2;%d;%d;%dm",wr,wg,wb,br,bg,bb); /...
24.318681
77
0.621329
SongZihui-sudo
7175c2c3c49bf787331bffc1580fe566c969736d
340
cpp
C++
Linked List/Circular Linked List/Implementation.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
8
2021-02-14T13:13:27.000Z
2022-01-08T23:58:32.000Z
Linked List/Circular Linked List/Implementation.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
17
2021-02-28T17:03:50.000Z
2021-10-19T13:02:03.000Z
Linked List/Circular Linked List/Implementation.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
15
2021-03-01T03:54:29.000Z
2021-10-19T18:29:00.000Z
#include <bits/stdc++.h> using namespace std; struct Node{ int data; Node* next; Node(int d){ data=d; next=NULL; } }; int main() { Node *head=new Node(10); head->next=new Node(5); head->next->next=new Node(20); head->next->next->next=new Node(15); head->next->next->next->next=...
15.454545
37
0.576471
shouryagupta21
717b1bb2b1520881b511c7300b21c58576389883
1,016
cpp
C++
SPOJ/FACTMUL.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
SPOJ/FACTMUL.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
SPOJ/FACTMUL.cpp
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #include <sstream> #include <vector> #include <iomanip> #include <cmath> const long long MOD = 1LL*186583*587117; using namespace std; typedef long long LL; typedef pair<int,int> pii; LL fact[10000010],res[10000010]; LL mulmod(LL a,LL b) { ...
17.220339
50
0.479331
aqfaridi
717b4675bb0fa8a8b367a36c16022bd188a65522
101
cpp
C++
GameExample/Proxy.cpp
alwayssmile11a1/MultiplayerGameServer
cd4227ecc5fe1b44d427bcbd76c050a8130d2200
[ "MIT" ]
null
null
null
GameExample/Proxy.cpp
alwayssmile11a1/MultiplayerGameServer
cd4227ecc5fe1b44d427bcbd76c050a8130d2200
[ "MIT" ]
null
null
null
GameExample/Proxy.cpp
alwayssmile11a1/MultiplayerGameServer
cd4227ecc5fe1b44d427bcbd76c050a8130d2200
[ "MIT" ]
null
null
null
#include "Proxy.h" int Proxy::playerId; int Proxy::playerNetworkGameObjectId; int Proxy::teamNumber;
20.2
37
0.792079
alwayssmile11a1
71820553d922ccffc2c5735d4282b3e3c8facc08
1,560
cpp
C++
tests/core/gui/widgets/PanelTests.cpp
Kubaaa96/IdleRomanEmpire
c41365babaccd309dd78e953a333b39d8045913a
[ "MIT" ]
null
null
null
tests/core/gui/widgets/PanelTests.cpp
Kubaaa96/IdleRomanEmpire
c41365babaccd309dd78e953a333b39d8045913a
[ "MIT" ]
29
2020-10-21T07:34:55.000Z
2021-01-12T15:15:53.000Z
tests/core/gui/widgets/PanelTests.cpp
Kubaaa96/IdleRomanEmpire
c41365babaccd309dd78e953a333b39d8045913a
[ "MIT" ]
1
2020-10-19T19:30:40.000Z
2020-10-19T19:30:40.000Z
#include <catch2/catch.hpp> #include "core/gui/widgets/Panel.h" #include "core/gui/widgets/VerticalLayout.h" #include "core/gui/widgets/Button.h" #include "TestsUtils.h" TEST_CASE("[Panel]") { auto vLayout = ire::core::gui::VerticalLayout::create({ 200, 200 }); auto button = ire::core::gui::Button::create(); v...
31.2
94
0.674359
Kubaaa96