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
5fc843213af2742100beb146f604981d09286c99
1,165
cpp
C++
SurfaceReconstruction/SurfaceReconstruction/SurfaceExtraction/SphereNodeStatesChecker.cpp
pavelsevecek/TSR
ca411dedf178e5830f0536e361136f1e16751bc8
[ "BSD-3-Clause" ]
102
2017-10-17T10:10:59.000Z
2022-01-19T02:10:29.000Z
SurfaceReconstruction/SurfaceReconstruction/SurfaceExtraction/SphereNodeStatesChecker.cpp
pavelsevecek/TSR
ca411dedf178e5830f0536e361136f1e16751bc8
[ "BSD-3-Clause" ]
2
2019-12-21T11:59:15.000Z
2020-09-08T11:38:36.000Z
SurfaceReconstruction/SurfaceReconstruction/SurfaceExtraction/SphereNodeStatesChecker.cpp
pavelsevecek/TSR
ca411dedf178e5830f0536e361136f1e16751bc8
[ "BSD-3-Clause" ]
27
2017-10-18T09:37:34.000Z
2022-03-22T01:30:51.000Z
/* * Copyright (C) 2018 by Author: Aroudj, Samir * TU Darmstadt - Graphics, Capture and Massively Parallel Computing * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-Clause license. See the License.txt file for details. */ #include "SurfaceReconstruction/Sc...
32.361111
125
0.791416
pavelsevecek
5fccad5f9d2fb778f737f680d403a8f35f83a4f8
11,840
cpp
C++
src/code/CodeGen.cpp
iitalics/Opal
205689d1710a265da4fa3e74a03ca65b05671e30
[ "MIT" ]
24
2015-10-13T07:48:33.000Z
2021-07-27T03:28:45.000Z
src/code/CodeGen.cpp
iitalics/Opal
205689d1710a265da4fa3e74a03ca65b05671e30
[ "MIT" ]
1
2015-11-04T21:15:48.000Z
2016-07-19T21:38:57.000Z
src/code/CodeGen.cpp
iitalics/Opal
205689d1710a265da4fa3e74a03ca65b05671e30
[ "MIT" ]
null
null
null
#include "CodeGen.h" namespace Opal { namespace Code { ; using Cmd = Run::Cmd; static inline int loadCmd (Infer::LocalVar* var) { return var->needsBox() ? Cmd::BoxLoad : Cmd::Load; } static inline int storeCmd (Infer::LocalVar* var) { return var->needsBox() ? Cmd::BoxStore : Cmd::Store; } CodeGen::CodeG...
23.035019
80
0.603209
iitalics
5fd283b66092e8ab33abbf0f4a12fc042c948d11
4,665
cpp
C++
OpenGLExample_02/OpenGLExample_02/main.cpp
SnowyLake/OpenGL_Learn
ae389cb45992eb90595482e0b4eca41b967e63b3
[ "MIT" ]
4
2020-11-27T14:20:28.000Z
2022-03-12T03:11:04.000Z
OpenGLExample_02/OpenGLExample_02/main.cpp
SnowyLake/OpenGL_Learn
ae389cb45992eb90595482e0b4eca41b967e63b3
[ "MIT" ]
null
null
null
OpenGLExample_02/OpenGLExample_02/main.cpp
SnowyLake/OpenGL_Learn
ae389cb45992eb90595482e0b4eca41b967e63b3
[ "MIT" ]
null
null
null
#include<glad/glad.h> #include<GLFW/glfw3.h> #include<iostream> void FramebufferSizeCallback(GLFWwindow* window, int width, int height); void ProcessInput(GLFWwindow* window); //setting const unsigned int SCR_WIDTH = 800; const unsigned int SCR_HEIGHT = 600; const char* vertexShaderSource = "#version 33...
28.975155
116
0.707824
SnowyLake
5fd526fd32219d99e9086898fbe31d55fccdc997
2,394
cpp
C++
tc 160+/CakeDivision.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/CakeDivision.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/CakeDivision.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> using namespace std; class CakeDivision { public: double ratio(double length, double width, int pieces) { if (pieces == 1) return max(length, wi...
39.245902
315
0.588972
ibudiselic
5fd5df8c3f9cce24b755a315de654f46d627b079
8,497
cc
C++
src/solvers/test/test_MGCoarseMeshPreconditioner.cc
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
4
2015-03-07T16:20:23.000Z
2020-02-10T13:40:16.000Z
src/solvers/test/test_MGCoarseMeshPreconditioner.cc
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
3
2018-02-27T21:24:22.000Z
2020-12-16T00:56:44.000Z
src/solvers/test/test_MGCoarseMeshPreconditioner.cc
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
9
2015-03-07T16:20:26.000Z
2022-01-29T00:14:23.000Z
//----------------------------------*-C++-*-----------------------------------// /** * @file test_MGCoarseMeshPreconditioner.cc * @brief Test of MGCoarseMeshPreconditioner * @note Copyright(C) 2012-2013 Jeremy Roberts */ //----------------------------------------------------------------------------// // LIST ...
30.024735
80
0.573497
baklanovp
5fd68c3e900a0c4d8b6c1d5bb5b5cb9d03e0a8cc
2,797
cpp
C++
src/VM/SrcFile.cpp
cstanze/blossom
2be90c6f16897a2acc1c40dad933a973e1ef2f57
[ "MIT" ]
3
2021-08-16T22:22:02.000Z
2021-11-15T02:39:38.000Z
src/VM/SrcFile.cpp
cstanze/blossom
2be90c6f16897a2acc1c40dad933a973e1ef2f57
[ "MIT" ]
1
2021-09-27T19:22:37.000Z
2022-03-29T12:41:24.000Z
src/VM/SrcFile.cpp
cstanze/blossom
2be90c6f16897a2acc1c40dad933a973e1ef2f57
[ "MIT" ]
null
null
null
#include "VM/SrcFile.hpp" #include "Common/FS.hpp" #include <cstdarg> static size_t src_id() { static size_t sid = 0; return sid++; } namespace blossom { SrcFile::SrcFile(const std::string &dir, const std::string &path, const bool is_main) : m_id(src_id()), m_dir(dir), m_path(path), m_is_ma...
24.321739
77
0.600286
cstanze
5fdd44a50eb725cb9e0e8dfcd55cf16818fb2420
1,632
cpp
C++
code_blocks/check-rshillma/main.cpp
NewYaroslav/xtechnical_analysis
f81431cc5b36a9f3a4c561e0502e84310a3e0b2a
[ "MIT" ]
12
2020-01-20T14:22:18.000Z
2022-01-26T04:41:36.000Z
code_blocks/check-rshillma/main.cpp
NewYaroslav/xtechnical_analysis
f81431cc5b36a9f3a4c561e0502e84310a3e0b2a
[ "MIT" ]
1
2020-05-23T07:35:03.000Z
2020-05-23T07:35:03.000Z
code_blocks/check-rshillma/main.cpp
NewYaroslav/xtechnical_analysis
f81431cc5b36a9f3a4c561e0502e84310a3e0b2a
[ "MIT" ]
9
2019-11-02T19:01:55.000Z
2021-07-08T21:51:44.000Z
#include <iostream> #include "xtechnical_indicators.hpp" #include <array> int main() { std::cout << "Hello world!" << std::endl; std::array<double, 20> test_data = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}; xtechnical_indicators::RSHILLMA<double, xtechnical_indicators::SMA<double>, xtechnical_in...
28.631579
143
0.517157
NewYaroslav
5fde9cb124a849c79257845475460c8d2ab01e65
2,206
cpp
C++
Models/src/SpectrumContents/SingletDM.cpp
aaronvincent/gambit_aaron
a38bd6fc10d781e71f2adafd401c76e1e3476b05
[ "Unlicense" ]
null
null
null
Models/src/SpectrumContents/SingletDM.cpp
aaronvincent/gambit_aaron
a38bd6fc10d781e71f2adafd401c76e1e3476b05
[ "Unlicense" ]
null
null
null
Models/src/SpectrumContents/SingletDM.cpp
aaronvincent/gambit_aaron
a38bd6fc10d781e71f2adafd401c76e1e3476b05
[ "Unlicense" ]
null
null
null
// GAMBIT: Global and Modular BSM Inference Tool // ********************************************* /// \file /// /// Class defining the parameters that SubSpectrum /// objects providing Scalar Singlet Dark Matter /// spectrum data must provide /// /// ********************************************* /// /// Auth...
30.638889
83
0.572076
aaronvincent
5fe2c9885292f441d5ac216681fd58839f4d83c1
1,206
cpp
C++
dev/Gems/WhiteBox/Code/Source/Rendering/WhiteBoxNullRenderMesh.cpp
brianherrera/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Gems/WhiteBox/Code/Source/Rendering/WhiteBoxNullRenderMesh.cpp
ArchitectureStudios/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Gems/WhiteBox/Code/Source/Rendering/WhiteBoxNullRenderMesh.cpp
ArchitectureStudios/lumberyard
f85344403c1c2e77ec8c75deb2c116e97b713217
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license belo...
27.409091
117
0.702322
brianherrera
5fe830a02f7555bbe8f394a1bb29c65f03e1d68e
4,595
cpp
C++
lab5.cpp
Jaymeet2003/CS-141
f9b1d6023cfdc0582f403b536e693924d2ebcd36
[ "BSD-3-Clause" ]
null
null
null
lab5.cpp
Jaymeet2003/CS-141
f9b1d6023cfdc0582f403b536e693924d2ebcd36
[ "BSD-3-Clause" ]
null
null
null
lab5.cpp
Jaymeet2003/CS-141
f9b1d6023cfdc0582f403b536e693924d2ebcd36
[ "BSD-3-Clause" ]
null
null
null
/* Author:Jaymeet Patel UIN: 656971609 System: Windows VSCode Course: CS 141 Lab 5 */ #include <iostream> using namespace std; // Display the board using an array and length N of the array void displayBoard(char arr[], int N){ // HINT: use a loop to iterate through the array // N IS IMPORTANT //...
16.648551
102
0.54951
Jaymeet2003
5fed880d228ba390e0f94824efa1241c99ee0b56
4,479
cc
C++
tests/functional_small/ode_steppers/ode_explicit_steppers_numerics_custom_types.cc
nittaya1990/pressio
22fad15ffc00f3e4d880476a5e60b227ac714ef4
[ "BSD-3-Clause" ]
1
2021-09-24T17:06:51.000Z
2021-09-24T17:06:51.000Z
tests/functional_small/ode_steppers/ode_explicit_steppers_numerics_custom_types.cc
nittaya1990/pressio
22fad15ffc00f3e4d880476a5e60b227ac714ef4
[ "BSD-3-Clause" ]
2
2021-10-03T20:36:28.000Z
2021-10-17T10:26:06.000Z
tests/functional_small/ode_steppers/ode_explicit_steppers_numerics_custom_types.cc
nittaya1990/pressio
22fad15ffc00f3e4d880476a5e60b227ac714ef4
[ "BSD-3-Clause" ]
null
null
null
#include <gtest/gtest.h> using ScalarType = double; using VectorType = std::vector<ScalarType>; namespace { struct MyApp{ using scalar_type = ScalarType; using state_type = VectorType; using velocity_type = VectorType; public: void velocity(const state_type & y, scalar_type t, ...
21.533654
67
0.596338
nittaya1990
5ff3632019c0c03cbfcc51f40f86d7fef71a5e97
1,023
cpp
C++
src/templates.cpp
zrzw/learn-cpp
ca3f8af734ad585fb836b571e02765226ba9428d
[ "Unlicense" ]
null
null
null
src/templates.cpp
zrzw/learn-cpp
ca3f8af734ad585fb836b571e02765226ba9428d
[ "Unlicense" ]
null
null
null
src/templates.cpp
zrzw/learn-cpp
ca3f8af734ad585fb836b571e02765226ba9428d
[ "Unlicense" ]
null
null
null
#include <iostream> #include <stdexcept> template <typename T> class Stack{ public: explicit Stack(std::initializer_list<T> il) : sz{il.size()} { elem = new T[sz]; stack_ptr = sz-1; size_t i=0; for(auto& a: il){ elem[i++] = a; } } ~Stack() { d...
21.3125
55
0.488759
zrzw
5ff46d34ef45bda092dec4e3c003288f9310a734
792
cpp
C++
leetcode/linked_list/merge_sorted_list.cpp
codingpotato/algorithm-cpp
793dc9e141000f48ea19c77ef0047923a7667358
[ "MIT" ]
null
null
null
leetcode/linked_list/merge_sorted_list.cpp
codingpotato/algorithm-cpp
793dc9e141000f48ea19c77ef0047923a7667358
[ "MIT" ]
null
null
null
leetcode/linked_list/merge_sorted_list.cpp
codingpotato/algorithm-cpp
793dc9e141000f48ea19c77ef0047923a7667358
[ "MIT" ]
null
null
null
#include <doctest/doctest.h> #include "list.h" #include "verify.h" // 21. Merge Two Sorted Lists class Solution { public: ListNode* mergeTwoLists(ListNode* l1, ListNode* l2) { ListNode dummy; auto current = &dummy; while (l1 && l2) { if (l1->val <= l2->val) { current->next = l1; c...
20.307692
55
0.545455
codingpotato
5ff49e6f98cbdbd471a94f1a975a6ac070df1c6a
6,148
hxx
C++
src/openlcb/ConfiguredProducer.hxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
34
2015-05-23T03:57:56.000Z
2022-03-27T03:48:48.000Z
src/openlcb/ConfiguredProducer.hxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
214
2015-07-05T05:06:55.000Z
2022-02-06T14:53:14.000Z
src/openlcb/ConfiguredProducer.hxx
balazsracz/openmrn
338f5dcbafeff6d171b2787b291d1904f2c45965
[ "BSD-2-Clause" ]
38
2015-08-28T05:32:07.000Z
2021-07-06T16:47:23.000Z
/** \copyright * Copyright (c) 2015, Balazs Racz * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, * this li...
38.666667
80
0.691119
balazsracz
5ff71f85ac2ee3a4b57cf603b42f76d61f9f816f
3,799
cpp
C++
edgelib/source/core/cmemory.cpp
elementsinteractive/edgelib
dedd72a05af274a5c30c076748c7c6f459fbd040
[ "BSD-3-Clause" ]
14
2017-08-22T22:27:18.000Z
2021-05-04T09:00:09.000Z
edgelib/source/core/cmemory.cpp
elementsinteractive/edgelib
dedd72a05af274a5c30c076748c7c6f459fbd040
[ "BSD-3-Clause" ]
1
2018-03-15T06:06:01.000Z
2018-03-20T01:44:44.000Z
edgelib/source/core/cmemory.cpp
elementsinteractive/edgelib
dedd72a05af274a5c30c076748c7c6f459fbd040
[ "BSD-3-Clause" ]
4
2018-03-22T17:14:14.000Z
2020-08-02T18:42:55.000Z
// cmemory.cpp // Edgecore: provides memory API // // Copyright (c) 2004-2017 Elements Interactive B.V. /////////////////////////////////////////////////////////////////// //Device include #include "edgedevice.h" //Device SDK includes #if defined(DEVICE_WIN32) #define WIN32_LEAN_AND_MEAN #include <windo...
25.496644
68
0.59621
elementsinteractive
5ff73cb480bfc3269a2764df67e006225e5b9d8c
236,523
cc
C++
src/protos/Docflow/DocflowV3.pb.cc
ltitbe/diadocsdk-cpp
2f375a8ee6660a02ebf1b7917995e016dace96ef
[ "MIT" ]
7
2016-05-31T17:37:54.000Z
2022-01-17T14:28:18.000Z
src/protos/Docflow/DocflowV3.pb.cc
ltitbe/diadocsdk-cpp
2f375a8ee6660a02ebf1b7917995e016dace96ef
[ "MIT" ]
22
2017-02-07T09:34:02.000Z
2021-09-06T08:08:34.000Z
src/protos/Docflow/DocflowV3.pb.cc
ltitbe/diadocsdk-cpp
2f375a8ee6660a02ebf1b7917995e016dace96ef
[ "MIT" ]
23
2016-06-07T06:11:47.000Z
2020-10-06T13:00:21.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Docflow/DocflowV3.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "Docflow/DocflowV3.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/once.h> #include <google/protobuf/io/cod...
37.271194
175
0.697133
ltitbe
5ffa024c40a0443955509fdc2a5e14238e3c0ee8
1,005
cpp
C++
Cxx-Primer/Solutions/ch08/ex8_08.cpp
memcpy0/CxxPrimer-Solutions
423dc687054490f7897782908edc86871e2d6a7a
[ "Apache-2.0" ]
null
null
null
Cxx-Primer/Solutions/ch08/ex8_08.cpp
memcpy0/CxxPrimer-Solutions
423dc687054490f7897782908edc86871e2d6a7a
[ "Apache-2.0" ]
null
null
null
Cxx-Primer/Solutions/ch08/ex8_08.cpp
memcpy0/CxxPrimer-Solutions
423dc687054490f7897782908edc86871e2d6a7a
[ "Apache-2.0" ]
1
2021-11-10T09:20:33.000Z
2021-11-10T09:20:33.000Z
/* ex8_08.cpp ** Exercise 8.8 ** ** Created by memcpy on 2021/10/16. ** @Brief Revise the program from the previous exercise to append its output to its given file. ** Run the program on the same output file at least twice to ensure that the data are preserved ** @See ex8_07.cpp ** @Run give a par...
28.714286
104
0.624876
memcpy0
2700cfc3a1ebf02756c294cba71fa8a057d4de9f
317
cpp
C++
graphics.cpp
travmygit/fffrenderer
a7d713bc43745838fbfc6c2015439deac37ef14c
[ "MIT" ]
null
null
null
graphics.cpp
travmygit/fffrenderer
a7d713bc43745838fbfc6c2015439deac37ef14c
[ "MIT" ]
null
null
null
graphics.cpp
travmygit/fffrenderer
a7d713bc43745838fbfc6c2015439deac37ef14c
[ "MIT" ]
1
2022-03-18T04:12:24.000Z
2022-03-18T04:12:24.000Z
#include "graphics.h" fff::Color fff::Color::White = fff::Color(255, 255, 255, 255); fff::Color fff::Color::Black = fff::Color(0, 0, 0, 255); fff::Color fff::Color::Red = fff::Color(255, 0, 0, 255); fff::Color fff::Color::Green = fff::Color(0, 255, 0, 255); fff::Color fff::Color::Blue = fff::Color(0, 0, 255, 255);
39.625
62
0.630915
travmygit
dfd6a384835fdd28923b3db82cb1ab01df9862cd
2,336
cpp
C++
Source/WebCore/platform/network/curl/ProxyCurl.cpp
VincentWei/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
6
2017-05-31T01:46:45.000Z
2018-06-12T10:53:30.000Z
Source/WebCore/platform/network/curl/ProxyCurl.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
null
null
null
Source/WebCore/platform/network/curl/ProxyCurl.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
2
2017-07-17T06:02:42.000Z
2018-09-19T10:08:38.000Z
/* ** $Id: ProxyCurl.cpp 257 2007-07-06 02:43:37Z xwyan $ ** ** ProxyCurl.cpp: proxy implements file. ** ** Copyright(C) 2007 Feynman Software. ** ** All rights reserved by Feynman Software. ** ** Create date: 2007-3-15 */ #include "minigui.h" #include "config.h" #include "KURL.h" #include "ProxyMg.h" #include "CStrin...
21.62963
90
0.652397
VincentWei
dfd8ca3cf35d3ed36db7460daa52b2e1e69799fb
19,530
cpp
C++
src/agg/agg_flip.cpp
VincentWei/iphone-like-demo
ec048a247aeb4f22e2519df2f87f2376bc41e90d
[ "Apache-2.0" ]
1
2018-04-28T08:01:05.000Z
2018-04-28T08:01:05.000Z
src/agg/agg_flip.cpp
VincentWei/iphone-like-demo
ec048a247aeb4f22e2519df2f87f2376bc41e90d
[ "Apache-2.0" ]
null
null
null
src/agg/agg_flip.cpp
VincentWei/iphone-like-demo
ec048a247aeb4f22e2519df2f87f2376bc41e90d
[ "Apache-2.0" ]
2
2018-04-28T08:01:08.000Z
2018-09-19T09:56:11.000Z
#include <stdlib.h> #include <ctype.h> #include <stdio.h> #include<unistd.h> #include <pthread.h> //#include <ctime.h> #include <sys/time.h> #include <unistd.h> //extern "C" { #include <minigui/common.h> #include <minigui/minigui.h> #include <minigui/gdi.h> #include <minigui/window.h> #include <minigui/control.h> //} ...
29.771341
102
0.551357
VincentWei
dfdbc111f3a656f286cf87b2cd5fd08605a6751a
11,247
cpp
C++
kangapr/SampleReads.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
kangapr/SampleReads.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
kangapr/SampleReads.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
#include "stdafx.h" #ifdef HAVE_CONFIG_H #include <config.h> #endif #if _WIN32 #include <process.h> #include "../libbiokanga/commhdrs.h" #else #include <sys/mman.h> #include <pthread.h> #include "../libbiokanga/commhdrs.h" #endif #include "SampleReads.h" CSampleReads::CSampleReads(void) { m_bIn...
29.062016
172
0.693607
rsuchecki
dfdc1bd14434e0673e3ac14ba76e9fc5a381815f
1,445
hpp
C++
externals/numeric_bindings/boost/numeric/bindings/ublas/storage.hpp
ljktest/siconos
85b60e62beca46e6bf06bfbd65670089e86607c7
[ "Apache-2.0" ]
137
2015-06-16T15:55:28.000Z
2022-03-26T06:01:59.000Z
externals/numeric_bindings/boost/numeric/bindings/ublas/storage.hpp
ljktest/siconos
85b60e62beca46e6bf06bfbd65670089e86607c7
[ "Apache-2.0" ]
381
2015-09-22T15:31:08.000Z
2022-02-14T09:05:23.000Z
externals/numeric_bindings/boost/numeric/bindings/ublas/storage.hpp
ljktest/siconos
85b60e62beca46e6bf06bfbd65670089e86607c7
[ "Apache-2.0" ]
30
2015-08-06T22:57:51.000Z
2022-03-02T20:30:20.000Z
// // Copyright (c) 2009 Rutger ter Borg // Copyright (c) 2011 Andrey Asadchev // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_NUMERIC_BINDINGS_UBLAS_STORAGE_HPP #define BOOST_NUMERIC_BINDING...
26.759259
108
0.681661
ljktest
dfe508abf236f0af4fc8865223ea2f157999aa89
2,649
cxx
C++
smtk/bridge/discrete/kernel/vtkDiscreteModelEntity.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
smtk/bridge/discrete/kernel/vtkDiscreteModelEntity.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
4
2016-11-10T15:49:51.000Z
2017-02-06T23:24:16.000Z
smtk/bridge/discrete/kernel/vtkDiscreteModelEntity.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
26.49
89
0.713099
yumin
dfeea373ab0e9302c1724cef0515ccd53e9ff5bb
9,507
cpp
C++
Engine/Output/Graphics/Animation/TexturedAnimation/TexturedAnimation.cpp
gregory-vovchok/YEngine
e28552e52588bd90db01dd53e5fc817d0a26d146
[ "BSD-2-Clause" ]
null
null
null
Engine/Output/Graphics/Animation/TexturedAnimation/TexturedAnimation.cpp
gregory-vovchok/YEngine
e28552e52588bd90db01dd53e5fc817d0a26d146
[ "BSD-2-Clause" ]
null
null
null
Engine/Output/Graphics/Animation/TexturedAnimation/TexturedAnimation.cpp
gregory-vovchok/YEngine
e28552e52588bd90db01dd53e5fc817d0a26d146
[ "BSD-2-Clause" ]
1
2020-12-04T08:57:03.000Z
2020-12-04T08:57:03.000Z
#include "TexturedAnimation.h" #include <Engine/Output/File/File.h> #include <Engine/Core/AssetLibrary/AssetLibrary.h> #ifdef SendMessage #undef SendMessage #endif StringANSI TexturedAnimation::texturedAnimationsSuffix = "t-anim"; StringANSI TexturedAnimation::texturedAnimationsDir = "/animations/t-animations/"; ...
22.058005
148
0.729357
gregory-vovchok
dfef138979af54585575ebe52eedc7b8b27b5190
2,546
cpp
C++
darkness-editor/src/main.cpp
Karmiska/Darkness
c87eaf067a2707a0141909125ff461f69a3812e0
[ "MIT" ]
6
2019-10-17T11:31:55.000Z
2022-02-11T08:51:20.000Z
darkness-editor/src/main.cpp
Karmiska/Darkness
c87eaf067a2707a0141909125ff461f69a3812e0
[ "MIT" ]
1
2020-08-11T09:01:29.000Z
2020-08-11T09:01:29.000Z
darkness-editor/src/main.cpp
Karmiska/Darkness
c87eaf067a2707a0141909125ff461f69a3812e0
[ "MIT" ]
1
2020-06-02T15:48:20.000Z
2020-06-02T15:48:20.000Z
#include "mainwindow.h" #include <QtWidgets/QApplication> #include <QtGui/QPainterPath> #include <QtGui/QPainter> #include <QMap> #include <QDebug> #include <QResource> #include <QFile> #include <QFileInfo> #include <QDir> #include <QString> #include <QSettings> #include <QMessageBox> QString parseArgs(const QStringL...
28.288889
123
0.65868
Karmiska
dff3116746428a60242bf1f1e0dc5327f48f3ec0
1,820
cpp
C++
week_06/01_particlesDrag/src/ofApp.cpp
bschorr/OFAnimation_Spring2015
869ededa36bf0bd432129e5a551db5d19d1f5d35
[ "MIT" ]
37
2015-01-28T13:20:19.000Z
2021-04-02T02:50:35.000Z
week_06/01_particlesDrag/src/ofApp.cpp
bschorr/OFAnimation_Spring2015
869ededa36bf0bd432129e5a551db5d19d1f5d35
[ "MIT" ]
null
null
null
week_06/01_particlesDrag/src/ofApp.cpp
bschorr/OFAnimation_Spring2015
869ededa36bf0bd432129e5a551db5d19d1f5d35
[ "MIT" ]
13
2015-02-06T23:16:22.000Z
2018-02-03T14:44:06.000Z
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofBackground(255); gravity.set(0, 0.2); color.set(0, 100, 255); } //-------------------------------------------------------------- void ofApp::update(){ for (int i = 0; i < particleList.s...
22.469136
64
0.347253
bschorr
dff4c7070acd57b351fa184f13db9a0a837f26f1
638
cpp
C++
leetcode/binary-tree/257.(Recur)binary-tree-paths.cpp
saurabhraj042/dsaPrep
0973a03bc565a2850003c7e48d99b97ff83b1d01
[ "MIT" ]
23
2021-10-30T04:11:52.000Z
2021-11-27T09:16:18.000Z
leetcode/binary-tree/257.(Recur)binary-tree-paths.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
null
null
null
leetcode/binary-tree/257.(Recur)binary-tree-paths.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
4
2021-10-30T03:26:05.000Z
2021-11-14T12:15:04.000Z
// saurabhraj042 //https://leetcode.com/problems/binary-tree-paths/ class Solution { public: void trav(TreeNode* n,vector<string> &a,string s){ // whenever we reach the leaf node we push it in our ans if(!n->left && !n->right){ a.push_back(s); return; } if(n...
25.52
74
0.548589
saurabhraj042
dff74203c433aaf3645a75e2080a3360faeee12c
678
hpp
C++
src/core/testing/reflection_objects_test/test_polystruct.hpp
wgsyd/wgtf
d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed
[ "BSD-3-Clause" ]
28
2016-06-03T05:28:25.000Z
2019-02-14T12:04:31.000Z
src/core/testing/reflection_objects_test/test_polystruct.hpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
null
null
null
src/core/testing/reflection_objects_test/test_polystruct.hpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
14
2016-06-03T05:52:27.000Z
2019-03-21T09:56:03.000Z
#ifndef TEST_POLYSTRUCTURE_HPP #define TEST_POLYSTRUCTURE_HPP #include "core_reflection/reflected_object.hpp" #include "core_dependency_system/depends.hpp" #include "test_structure.hpp" #include "test_macros.hpp" #include <vector> namespace wgt { class IDefinitionManager; class TestPolyStruct : protected Depends<IDe...
17.842105
60
0.812684
wgsyd
dffa1bc31a4cae28c9d6faf20ac193a8aeda7ce0
5,457
cpp
C++
src/DataObjects/JPetSigCh/JPetSigCh.cpp
BlurredChoise/j-pet-framework
f6728e027fae2b6ac0bdf274141254689894aa08
[ "Apache-2.0" ]
10
2016-07-04T14:54:14.000Z
2021-04-11T14:19:29.000Z
src/DataObjects/JPetSigCh/JPetSigCh.cpp
BlurredChoise/j-pet-framework
f6728e027fae2b6ac0bdf274141254689894aa08
[ "Apache-2.0" ]
119
2016-06-17T20:22:07.000Z
2022-02-21T08:50:22.000Z
src/DataObjects/JPetSigCh/JPetSigCh.cpp
BlurredChoise/j-pet-framework
f6728e027fae2b6ac0bdf274141254689894aa08
[ "Apache-2.0" ]
30
2016-06-17T17:56:35.000Z
2020-12-30T22:20:19.000Z
/** * @copyright Copyright 2018 The J-PET Framework Authors. 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 find a copy of the License in the LICENCE file. * * Unless required by applicable la...
24.581081
139
0.700568
BlurredChoise
5f00ebe9507f4a5cd9ce3e4ea4d9f1d542bbf55d
89
cpp
C++
.local/share/templates/cpp/main.cpp
oniani/templates
70cc06ec01eec05f12b14cbd1453ab6b4f8d9851
[ "MIT" ]
2
2019-08-14T03:22:38.000Z
2019-08-18T11:43:34.000Z
.local/share/templates/cpp/main.cpp
oniani/templates
70cc06ec01eec05f12b14cbd1453ab6b4f8d9851
[ "MIT" ]
null
null
null
.local/share/templates/cpp/main.cpp
oniani/templates
70cc06ec01eec05f12b14cbd1453ab6b4f8d9851
[ "MIT" ]
null
null
null
#include "include/lib.hpp" int main() { lib::hello("Dave"); lib::goodbye("Dave"); }
12.714286
26
0.595506
oniani
5f016c0b68d0bc601251a9526317edc4e804ba39
5,610
cpp
C++
src/Core/ThreadService.cpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
2
2019-06-10T06:51:27.000Z
2021-11-20T19:57:46.000Z
src/Core/ThreadService.cpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
1
2019-07-12T03:05:02.000Z
2019-08-12T12:01:06.000Z
src/Core/ThreadService.cpp
xenginez/XE
7f536c906460c7062cad5b8e09a644812cabf6d3
[ "MIT" ]
null
null
null
#include "ThreadService.h" #undef OS_WINDOWS #include <tbb/concurrent_queue.h> #ifdef XE_PROFILING #define MICROPROFILE_ENABLED 1 #else #define MICROPROFILE_ENABLED 0 #endif // XE_PROFILING #define MICROPROFILE_IMPL #include <microprofile/microprofile.h> #include <microprofile/microprofile.cpp> BEG_META( XE::Threa...
18.637874
109
0.625668
xenginez
5f02bd284547979e46c60d7034236665e638832f
1,143
hpp
C++
include/forma/events/key_event.hpp
LuxAter/Forma
0a46daf9810548cc62146ef90bbdd8e143eaf640
[ "Apache-2.0" ]
null
null
null
include/forma/events/key_event.hpp
LuxAter/Forma
0a46daf9810548cc62146ef90bbdd8e143eaf640
[ "Apache-2.0" ]
null
null
null
include/forma/events/key_event.hpp
LuxAter/Forma
0a46daf9810548cc62146ef90bbdd8e143eaf640
[ "Apache-2.0" ]
null
null
null
#ifndef FORM_KEY_EVENT_HPP_ #define FORM_KEY_EVENT_HPP_ #include <fmt/format.h> #include "forma/core.hpp" #include "event.hpp" namespace forma { class FORMA_API KeyEvent : public Event { public: inline int get_keycode() const { return key_code; } EVENT_CLASS_CATEGORY(KEYBOARD_EVENT | INPUT_EVENT); protected: ...
25.977273
68
0.727034
LuxAter
5f07deea13e2fe6745433c4e5feccbdde73801ca
530
cc
C++
components/policy/core/common/cloud/affiliation.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
components/policy/core/common/cloud/affiliation.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
components/policy/core/common/cloud/affiliation.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 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 "components/policy/core/common/cloud/affiliation.h" namespace policy { bool IsAffiliated(const base::flat_set<std::string>& user_ids, ...
27.894737
73
0.701887
zealoussnow
5f0dbefee982825c1d3969c3abccfe54c7fe1508
19,874
hpp
C++
src/core/grabber/include/manipulator/details/basic.hpp
rcmdnk/Karabiner-Elements
2e66f8fcfb5558ee49c2a1e7e74de13c05f51cf3
[ "Unlicense" ]
null
null
null
src/core/grabber/include/manipulator/details/basic.hpp
rcmdnk/Karabiner-Elements
2e66f8fcfb5558ee49c2a1e7e74de13c05f51cf3
[ "Unlicense" ]
null
null
null
src/core/grabber/include/manipulator/details/basic.hpp
rcmdnk/Karabiner-Elements
2e66f8fcfb5558ee49c2a1e7e74de13c05f51cf3
[ "Unlicense" ]
null
null
null
#pragma once #include "manipulator/details/base.hpp" #include "manipulator/details/types.hpp" #include "time_utility.hpp" #include <json/json.hpp> #include <unordered_set> #include <vector> namespace krbn { namespace manipulator { namespace details { class basic final : public base { public: class manipulated_origi...
39.987928
170
0.505937
rcmdnk
5f119114e72d49ffe04c23c57902d1198bc55e1b
48,200
cpp
C++
layer1/FontGLUT9x15.cpp
dualword/pymol-open-source
abc307745d7d231af4f77f984ebd64f1b428cef8
[ "CNRI-Python" ]
636
2018-06-21T20:46:36.000Z
2022-03-30T13:07:47.000Z
layer1/FontGLUT9x15.cpp
dualword/pymol-open-source
abc307745d7d231af4f77f984ebd64f1b428cef8
[ "CNRI-Python" ]
218
2018-06-25T00:10:59.000Z
2022-03-23T14:15:48.000Z
layer1/FontGLUT9x15.cpp
dualword/pymol-open-source
abc307745d7d231af4f77f984ebd64f1b428cef8
[ "CNRI-Python" ]
192
2018-06-21T17:33:10.000Z
2022-03-31T17:53:03.000Z
/* BEGIN GLUT EXCERPT. THE FOLLOWING CODE IS: * Copyright (c) Mark J. Kilgard, 1994. * This program is freely distributable without licensing fees * and is provided without guarantee or warrantee expressed or * implied. This program is -not- in the public domain. * Modifications by Warren L. DeLano, 200...
20.838738
85
0.631286
dualword
5f133574cca1a0f0e8665ae396bc3fcfd36fa333
198
cpp
C++
CodeForces/Complete/400-499/492A-VanyaAndCubes.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/400-499/492A-VanyaAndCubes.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/400-499/492A-VanyaAndCubes.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <iostream> #include <cmath> int main(){ long n; std::cin >> n; long a = 0; while(a * (a + 1) * (a + 2) <= 6 * n){++a;}; --a; std::cout << a << std::endl; return 0; }
16.5
53
0.444444
Ashwanigupta9125
5f13e484c126b7e6e0284dbb87bceead2c0e1d59
759
cpp
C++
Queue/main.cpp
Smile040501/Data_Structures
fa1233c6b1c07bcf917daafdba9908d82936fcf1
[ "MIT" ]
1
2020-09-02T17:11:43.000Z
2020-09-02T17:11:43.000Z
Queue/main.cpp
Smile040501/Data_Structures
fa1233c6b1c07bcf917daafdba9908d82936fcf1
[ "MIT" ]
null
null
null
Queue/main.cpp
Smile040501/Data_Structures
fa1233c6b1c07bcf917daafdba9908d82936fcf1
[ "MIT" ]
null
null
null
#include <iomanip> #include <iostream> using namespace std; #include "Queue.h" // Sample main int main() { Queue q1; q1.push(1); q1.push(2); q1.push(3); q1.push(4); q1.push(5); q1.print(); q1.pop(); q1.print(); cout << "Size of the queue: " << q1.size() << endl; cout << "...
16.866667
66
0.509881
Smile040501
5f1ae2218c7d98f7d031dfa4718ee63456364dc9
371
hpp
C++
src/hw/platform_device_server/request_handler.hpp
pblxptr/hhctrl-mgmt
829189d51985205b1a9ce25aff2ce5d1e579c94d
[ "MIT" ]
null
null
null
src/hw/platform_device_server/request_handler.hpp
pblxptr/hhctrl-mgmt
829189d51985205b1a9ce25aff2ce5d1e579c94d
[ "MIT" ]
null
null
null
src/hw/platform_device_server/request_handler.hpp
pblxptr/hhctrl-mgmt
829189d51985205b1a9ce25aff2ce5d1e579c94d
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <hw/platform_device/device.hpp> namespace hw::pdctrl { class PlatformDeviceCtrlHandler { public: using DeviceCollection_t = std::vector<std::reference_wrapper<const hw::platform_device::Device>>; virtual ~PlatformDeviceCtrlHandler() = default; virtual Device...
20.611111
102
0.743935
pblxptr
5f1cb5f4dc189e3dcaa9b6ce259042c94a406fd9
413
cpp
C++
ABC_208_A.cpp
kamlesh012/AtCoder-Editorials
d54e20da49317298096810a5a045253a810621a2
[ "Unlicense" ]
null
null
null
ABC_208_A.cpp
kamlesh012/AtCoder-Editorials
d54e20da49317298096810a5a045253a810621a2
[ "Unlicense" ]
null
null
null
ABC_208_A.cpp
kamlesh012/AtCoder-Editorials
d54e20da49317298096810a5a045253a810621a2
[ "Unlicense" ]
null
null
null
//AT-COder BEginner Contest #include <bits/stdc++.h> #define int long long #define mod 1000000007 #define rep(i,n,s) for(int i=0;i<n;i+=s) #define mxsize 100000 using namespace std; void solve() { int a, b; cin >> a >> b; if (((a * 6) >= b ) && (b >= a))cout << "Yes" << endl; else cout << "No" << endl; } int32...
15.884615
55
0.590799
kamlesh012
5f1f7484221d8df46bde9101bb5cbe015331ac0f
651
hpp
C++
Phoenix3D/PX2Graphics/Renderers/OpenGLESRenderer/PX2OpenGLESMaterialPass.hpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
36
2016-04-24T01:40:38.000Z
2022-01-18T07:32:26.000Z
Phoenix3D/PX2Graphics/Renderers/OpenGLESRenderer/PX2OpenGLESMaterialPass.hpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
null
null
null
Phoenix3D/PX2Graphics/Renderers/OpenGLESRenderer/PX2OpenGLESMaterialPass.hpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
16
2016-06-13T08:43:51.000Z
2020-09-15T13:25:58.000Z
// PX2OpenGLESMaterialPass.hpp #ifdef PX2_USE_OPENGLES #ifndef PX2OPENGLES2MATERIALPASS_HPP #define PX2OPENGLES2MATERIALPASS_HPP #include "PX2OpenGLESRendererPre.hpp" #include "PX2PixelShader.hpp" #include "PX2MaterialPass.hpp" namespace PX2 { class Renderer; class PdrMaterialPass { public: PdrMaterialPass ...
16.692308
65
0.761905
PheonixFoundation
5f1f8f8ef6b056a1aee31ad57d5d6605b9a66ed5
149
cpp
C++
C++/Basic/Sum of Two Digits/main.cpp
Nike98/Master
75aff2dedb21612f02cb03b7b017da2b4d6c6e87
[ "MIT" ]
1
2018-01-18T05:11:48.000Z
2018-01-18T05:11:48.000Z
C++/Basic/Sum of Two Digits/main.cpp
Nike98/Master
75aff2dedb21612f02cb03b7b017da2b4d6c6e87
[ "MIT" ]
3
2022-02-13T14:36:08.000Z
2022-02-27T05:41:15.000Z
C++/Basic/Sum of Two Digits/main.cpp
Nike98/personal-code
75aff2dedb21612f02cb03b7b017da2b4d6c6e87
[ "MIT" ]
2
2017-11-10T10:36:54.000Z
2018-01-18T05:13:46.000Z
#include <iostream> int main() { int a = 0, b = 0, sum = 0; std::cin >> a >> b; sum = a + b; std::cout << sum; return 0; }
9.933333
30
0.422819
Nike98
5f207dbcd5c53480966b86818af42168f772800d
7,557
hpp
C++
include/nntlib/net.hpp
crepererum/nntlib
78763e8c63c85e79be21be8767fb44e2869f4ce4
[ "BSL-1.0" ]
null
null
null
include/nntlib/net.hpp
crepererum/nntlib
78763e8c63c85e79be21be8767fb44e2869f4ce4
[ "BSL-1.0" ]
null
null
null
include/nntlib/net.hpp
crepererum/nntlib
78763e8c63c85e79be21be8767fb44e2869f4ce4
[ "BSL-1.0" ]
null
null
null
#pragma once #include "utils.hpp" #include <functional> #include <tuple> #include <vector> namespace nntlib { template <typename T, typename Loss, typename... Layers> class net { public: typedef nntlib::utils::undef weights_t; net(Layers&... layers); template <typename InputIt> ...
40.629032
192
0.622602
crepererum
5f21a5be67eeeee5c13d2365226fb22bfdee0904
2,087
cpp
C++
C++/problems/0094_bus_routes.cpp
oxone-999/algorithms
52dc527111e7422923a0e25684d8f4837e81a09b
[ "MIT" ]
6
2019-03-20T22:23:26.000Z
2020-08-28T03:10:27.000Z
C++/problems/0094_bus_routes.cpp
oxone-999/algorithms
52dc527111e7422923a0e25684d8f4837e81a09b
[ "MIT" ]
15
2019-10-13T20:53:53.000Z
2022-03-31T02:01:35.000Z
C++/problems/0094_bus_routes.cpp
oxone-999/algorithms
52dc527111e7422923a0e25684d8f4837e81a09b
[ "MIT" ]
3
2019-03-11T10:57:46.000Z
2020-02-26T21:13:21.000Z
// Problem Statement // We have a list of bus routes. Each routes[i] is a bus route that the i-th bus repeats forever. // For example if routes[0] = [1, 5, 7], this means that the first bus (0-th indexed) // travels in the sequence 1->5->7->1->5->7->1->... forever. // // We start at bus stop S (initially not on a bus),...
31.621212
97
0.498323
oxone-999
5f235ab0d6e8a75114cba4cc93bb8a7e2231adba
4,617
cpp
C++
test/main.cpp
karmaresearch/laser-plus-plus
b37839c9c3674515ed6e64432c3bee43b3882963
[ "Apache-2.0" ]
2
2019-08-06T16:16:35.000Z
2019-10-14T11:58:32.000Z
test/main.cpp
karmaresearch/laser-plus-plus
b37839c9c3674515ed6e64432c3bee43b3882963
[ "Apache-2.0" ]
null
null
null
test/main.cpp
karmaresearch/laser-plus-plus
b37839c9c3674515ed6e64432c3bee43b3882963
[ "Apache-2.0" ]
1
2019-04-17T08:01:47.000Z
2019-04-17T08:01:47.000Z
#include <iostream> #include <acyclicity/naive_smfa.h> #include <core/reasoner.h> #include <example/example_io_manager.h> #include <rule/rule_parser.h> #include <util/chase_algorithm.h> void run(std::string const &name, std::string const &stream_string, std::string const &rule_string, laser::util::C...
43.149533
79
0.577431
karmaresearch
5f23ab2d0a0480724ebbe8705d113db257a0810c
1,193
cpp
C++
Assignment1/3-Combinations/src/Combinations.cpp
arshdkhn1/cs-106B
971474c385a0c906a634770739a9ff533577bd85
[ "MIT" ]
null
null
null
Assignment1/3-Combinations/src/Combinations.cpp
arshdkhn1/cs-106B
971474c385a0c906a634770739a9ff533577bd85
[ "MIT" ]
null
null
null
Assignment1/3-Combinations/src/Combinations.cpp
arshdkhn1/cs-106B
971474c385a0c906a634770739a9ff533577bd85
[ "MIT" ]
1
2019-03-21T21:31:43.000Z
2019-03-21T21:31:43.000Z
/* * File: Combinations.cpp * ---------------------- * Name: Arshad Khan * * Recursive implementation of C(n,k) */ #include <iostream> #include "console.h" #include "simpio.h" using namespace std; int combination(int n, int k); void printPascalTriangle(int rows); int main() { while(true){ int n = g...
22.509434
70
0.496228
arshdkhn1
5f23c824c29af289d22d3ca96bcfaf9d67b5a072
1,616
hpp
C++
include/codegen/include/UnityEngine/jvalue.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/jvalue.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/jvalue.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:26 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.ValueType #include "System/ValueType.hpp" // Includin...
29.925926
231
0.606436
Futuremappermydud
5f2983e126ed697236d7c76d64d21448e6ad1233
4,509
cpp
C++
VisualLiveSystem/signal/decoder.cpp
XT95/VisualLiveSystem
e8b5b97718f294cf4d6fa001ff98e0e6d7cbcf74
[ "MIT" ]
40
2015-09-12T17:13:29.000Z
2022-02-14T21:54:56.000Z
VisualLiveSystem/signal/decoder.cpp
XT95/VisualLiveSystem
e8b5b97718f294cf4d6fa001ff98e0e6d7cbcf74
[ "MIT" ]
4
2016-01-08T15:17:23.000Z
2018-11-04T19:56:59.000Z
VisualLiveSystem/signal/decoder.cpp
XT95/VisualLiveSystem
e8b5b97718f294cf4d6fa001ff98e0e6d7cbcf74
[ "MIT" ]
4
2016-07-08T15:36:14.000Z
2021-01-23T16:17:03.000Z
#include "signal/decoder.hpp" #include "signal/basserrorhandler.hpp" #include <iostream> #include <QMessageBox> BassDecoder::BassDecoder(QObject* parent): Decoder(parent), _music(0), _mod(false), _ended(true), _bytesStep(0), _samplesForSignals(0) { if (!BASS_Init(0,Signal::frequency,0,0,0)) { std::cerr << "er...
24.372973
168
0.656021
XT95
5f2ad5961fef61e678db11b8dc89d690d2901fe9
2,169
hpp
C++
blast/include/objtools/cleanup/cleanup_message.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/include/objtools/cleanup/cleanup_message.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/include/objtools/cleanup/cleanup_message.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
#ifndef _CLEANUP_MESSAGE_HPP_ #define _CLEANUP_MESSAGE_HPP_ /* $Id: cleanup_message.hpp 632626 2021-06-03 17:38:42Z ivanov $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Informati...
30.125
78
0.660212
mycolab
5f2bfa5650f891d955c33269322da90645343669
1,538
cpp
C++
experimental/tests/tests/utils/statistics_checker.cpp
Dllieu/experimental
05a32a786d541b5560f713e2cf87e147142999cb
[ "MIT" ]
null
null
null
experimental/tests/tests/utils/statistics_checker.cpp
Dllieu/experimental
05a32a786d541b5560f713e2cf87e147142999cb
[ "MIT" ]
26
2017-10-10T18:02:16.000Z
2019-08-12T03:06:39.000Z
experimental/tests/tests/utils/statistics_checker.cpp
Dllieu/experimental
05a32a786d541b5560f713e2cf87e147142999cb
[ "MIT" ]
null
null
null
#include <cstddef> #include <gtest/gtest.h> #include <tests/utils/statistics_checker.h> namespace tests { StatisticsChecker::StatisticsChecker() : m_ExpectedAllocatedBytes() , m_ExpectedDeallocatedBytes() , m_IgnoreCheck(false) { } void StatisticsChecker::IgnoreChecks() { ...
26.517241
83
0.672302
Dllieu
5f2e287349423769045eef14abae3c08463be16a
246
cpp
C++
Ladder 11/015 Drinks.cpp
vickycoder101/a2oj-solutions
279758593446edfa38c594cbb1ad4765397a9532
[ "MIT" ]
null
null
null
Ladder 11/015 Drinks.cpp
vickycoder101/a2oj-solutions
279758593446edfa38c594cbb1ad4765397a9532
[ "MIT" ]
1
2021-12-01T06:53:18.000Z
2021-12-01T07:09:31.000Z
Ladder 11/015 Drinks.cpp
vickycoder101/a2oj-solutions
279758593446edfa38c594cbb1ad4765397a9532
[ "MIT" ]
4
2021-10-31T16:36:28.000Z
2021-12-01T05:48:31.000Z
#include <iostream> using namespace std; int main() { int a; cin>>a; int c; double b=0; for(int i=1;i<=a;i++) { cin>>c; b=b+c; } double d=a; double e=b; cout<<(b/double(a)); return 0; }
13.666667
25
0.455285
vickycoder101
5f31cbd1aac0ef8add3d187e49d385f79c742b9b
103
cpp
C++
chapter_2/ex_2.13.cpp
YasserKa/Cpp_Primer
198b10255fd67e31c15423a5e44b7f02abb8bdc2
[ "MIT" ]
null
null
null
chapter_2/ex_2.13.cpp
YasserKa/Cpp_Primer
198b10255fd67e31c15423a5e44b7f02abb8bdc2
[ "MIT" ]
null
null
null
chapter_2/ex_2.13.cpp
YasserKa/Cpp_Primer
198b10255fd67e31c15423a5e44b7f02abb8bdc2
[ "MIT" ]
null
null
null
/** * int i = 42; * int main() * { *     int i = 100; *     int j = i; j's value is 100 * } */
10.3
34
0.359223
YasserKa
5f33712ec2b154e0244409ef0e2b9fca717ae2c7
1,026
hpp
C++
include/GLHandlerImpl.hpp
hasahmed/shape_game_cpp
1f14ba1d3f6dc31723de827c21714bdc7bc3acaa
[ "MIT" ]
null
null
null
include/GLHandlerImpl.hpp
hasahmed/shape_game_cpp
1f14ba1d3f6dc31723de827c21714bdc7bc3acaa
[ "MIT" ]
null
null
null
include/GLHandlerImpl.hpp
hasahmed/shape_game_cpp
1f14ba1d3f6dc31723de827c21714bdc7bc3acaa
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include "shapegl.hpp" #include "IWindow.hpp" #include "Scene.hpp" #include "Color.hpp" #include "GLHandler.hpp" #include "RenderPackage.hpp" #include "GLRenderObject.hpp" namespace shapegame { class GLHandlerImpl : public GLHandler { private: GLFWwindow *window...
31.090909
89
0.648148
hasahmed
5f34a509ba8a5101237572144bb7735bc5ae8e15
1,953
cpp
C++
QML_ML_Camera/camera-core/MovieAlbumDAO.cpp
gwamoniak/automatic-adventure
ea3c19ae9329f23c323c8c692db2f3061e15f58d
[ "MIT" ]
null
null
null
QML_ML_Camera/camera-core/MovieAlbumDAO.cpp
gwamoniak/automatic-adventure
ea3c19ae9329f23c323c8c692db2f3061e15f58d
[ "MIT" ]
null
null
null
QML_ML_Camera/camera-core/MovieAlbumDAO.cpp
gwamoniak/automatic-adventure
ea3c19ae9329f23c323c8c692db2f3061e15f58d
[ "MIT" ]
1
2022-01-21T14:40:54.000Z
2022-01-21T14:40:54.000Z
#include "MovieAlbumDAO.h" #include <QSqlDatabase> #include <QSqlQuery> #include <QVariant> #include "DatabaseManager.h" #include "Album.h" using namespace std; MovieAlbumDAO::MovieAlbumDAO(QSqlDatabase& _database) : m_sqlDB(_database) { } void MovieAlbumDAO::init() const { if (!m_sqlDB...
28.304348
98
0.659498
gwamoniak
5f34ee5c24d839e0325011831d082b4483583814
4,582
cpp
C++
Src/Qt/kwt/src/kthread_p.cpp
iclosure/smartsoft
62eaed49efd8306642b928ef4f2d96e36aca6527
[ "MIT" ]
null
null
null
Src/Qt/kwt/src/kthread_p.cpp
iclosure/smartsoft
62eaed49efd8306642b928ef4f2d96e36aca6527
[ "MIT" ]
null
null
null
Src/Qt/kwt/src/kthread_p.cpp
iclosure/smartsoft
62eaed49efd8306642b928ef4f2d96e36aca6527
[ "MIT" ]
1
2020-05-11T05:36:49.000Z
2020-05-11T05:36:49.000Z
#include "precomp.h" #include "kthread_p.h" #if (QT_VERSION < 0x050000) #include <Windows.h> #endif // // KThread // //#if (QT_VERSION < 0x050000) void KThread::sleep(unsigned long secs) { ::Sleep(secs * 1000); } void KThread::msleep(unsigned long msecs) { ::Sleep(msecs); } void KThread::usleep(unsigned l...
17.69112
86
0.551506
iclosure
5f3957232f4cf91c7d4be526716f8cc078526eae
1,220
cpp
C++
test/unit_tests/cql_message_startup.cpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
3
2016-02-24T09:22:16.000Z
2021-04-06T03:04:21.000Z
test/unit_tests/cql_message_startup.cpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
null
null
null
test/unit_tests/cql_message_startup.cpp
ncbi/cassandra-cpp-driver
b2259e9b13849c98fc6b6485f2433c97c1fa4b9f
[ "Apache-2.0" ]
6
2015-04-26T07:16:44.000Z
2020-11-23T06:31:07.000Z
#include <boost/test/unit_test.hpp> #include "cql/cql.hpp" #include "cql/cql_error.hpp" #include "cql/internal/cql_defines.hpp" #include "cql/internal/cql_message_startup_impl.hpp" BOOST_AUTO_TEST_SUITE(cql_message_startup) char TEST_MESSAGE_STARTUP[] = { 0x00, 0x01, 0x00, 0x0b, 0x43, 0x51, 0x4c, 0x5f, 0x56, ...
29.047619
100
0.751639
ncbi
5f4172d376df44ff5bd158f544a1583a6c50224f
416
cpp
C++
cpp_scratch/quizzes/q1_4_a.cpp
Anirudh-Swaminathan/ani_random_stuff
8da4f2ec3bc97e377f2341802c64e49b8ea16c67
[ "MIT" ]
null
null
null
cpp_scratch/quizzes/q1_4_a.cpp
Anirudh-Swaminathan/ani_random_stuff
8da4f2ec3bc97e377f2341802c64e49b8ea16c67
[ "MIT" ]
null
null
null
cpp_scratch/quizzes/q1_4_a.cpp
Anirudh-Swaminathan/ani_random_stuff
8da4f2ec3bc97e377f2341802c64e49b8ea16c67
[ "MIT" ]
null
null
null
#include <iostream> // function to return twice the value of an integer // this function satisfies the 4th question of the quiz int doubleNumber(int x) { return 2*x; } int userInput() { int x; std::cout << "Please enter an integer; "; std::cin >> x; return x; } int main() { int s = userInput(...
17.333333
59
0.579327
Anirudh-Swaminathan
5f422a65f7f165f9e89c8b96c0ac6d0eec5167bc
5,659
cpp
C++
INFLO-PRO/Azure/external/SCSC.ASN_r36/source/DSRC_TK_J2735_R36/ValidRegion.cpp
OSADP/INFLO
19964445fe79a1f9334516fa0f51fa9dfc735f6c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
INFLO-PRO/Azure/external/SCSC.ASN_r36/source/DSRC_TK_J2735_R36/ValidRegion.cpp
OSADP/INFLO
19964445fe79a1f9334516fa0f51fa9dfc735f6c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
INFLO-PRO/Azure/external/SCSC.ASN_r36/source/DSRC_TK_J2735_R36/ValidRegion.cpp
OSADP/INFLO
19964445fe79a1f9334516fa0f51fa9dfc735f6c
[ "ECL-2.0", "Apache-2.0" ]
2
2020-02-02T18:12:32.000Z
2020-11-04T04:35:58.000Z
/************************************************************************* * * SCSC CONFIDENTIAL * __________________ * * Copyright (c) [2009] - [2012] * SubCarrier System Corp. (SCSC) * All Rights Reserved. * * NOTICE: All information contained herein is, and remains, * the property of SubCarrier Syste...
32.153409
80
0.681216
OSADP
5f43953cbc0b35edb4153142ee9557d0cd3649e5
235
cpp
C++
20200412_ABC162/b.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
20200412_ABC162/b.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
20200412_ABC162/b.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { long long n; cin >> n; long long ans=0; for(long long i=1;i<=n;i++){ if(i%3==0 || i%5==0) continue; ans+=i; } cout << ans << endl; }
13.823529
38
0.476596
miyalab
5f47906e4135ecc122ad676c57e97d43b498c949
2,442
cpp
C++
games/blackjack/tests/test_card.cpp
rirwin/sandbox
76b4d876c213dcad04de7084e78159c25209f060
[ "MIT" ]
null
null
null
games/blackjack/tests/test_card.cpp
rirwin/sandbox
76b4d876c213dcad04de7084e78159c25209f060
[ "MIT" ]
null
null
null
games/blackjack/tests/test_card.cpp
rirwin/sandbox
76b4d876c213dcad04de7084e78159c25209f060
[ "MIT" ]
null
null
null
#include "../card.hpp" #include <iostream> #include <assert.h> using namespace std; // class used for testing of state of protected variables of // inherited class Card (no need for friend class) class CardTester : public Card { public: CardTester(char suit, int level): Card(suit, level) { } int test_card_stat...
19.536
63
0.585176
rirwin
5f4c2d6f253b9e96c8e52c2ec827b9e544b073d8
4,026
cpp
C++
RecastCWrapper/Source/DetourWrapper.cpp
mathias234/RecastSharp
622118aa29f1c55cd4b9ea7e904370e569183372
[ "MIT" ]
2
2021-03-24T17:12:35.000Z
2021-05-03T17:30:45.000Z
RecastCWrapper/Source/DetourWrapper.cpp
mathias234/RecastSharp
622118aa29f1c55cd4b9ea7e904370e569183372
[ "MIT" ]
null
null
null
RecastCWrapper/Source/DetourWrapper.cpp
mathias234/RecastSharp
622118aa29f1c55cd4b9ea7e904370e569183372
[ "MIT" ]
2
2021-05-15T19:30:23.000Z
2021-06-02T20:37:05.000Z
#include "DetourWrapper.h" #include "DetourNavMeshBuilder.h" #include "DetourNavMesh.h" #include "DetourNavMeshQuery.h" #include <iostream> EXPORT_API bool dtwCreateNavMeshData(dtwNavMeshCreateParams* params, unsigned char** outData, int* outDataSize) { dtNavMeshCreateParams* dtParams = (dtNavMeshCreateParams*)params...
35.315789
168
0.787134
mathias234
5f4eedc7838747949c8f4a1109994b2e69881aeb
12,603
cc
C++
src/backend_gps/gm_gps_bb_merge_again.cc
messinguelethomas/modified_green_marl
fc05b5e2bf7bf131015478f39d54c84e49d1239a
[ "DOC" ]
58
2015-02-06T00:50:43.000Z
2021-12-03T07:13:13.000Z
src/backend_gps/gm_gps_bb_merge_again.cc
messinguelethomas/modified_green_marl
fc05b5e2bf7bf131015478f39d54c84e49d1239a
[ "DOC" ]
1
2022-01-19T19:04:09.000Z
2022-01-19T19:04:09.000Z
src/backend_gps/gm_gps_bb_merge_again.cc
messinguelethomas/modified_green_marl
fc05b5e2bf7bf131015478f39d54c84e49d1239a
[ "DOC" ]
16
2015-02-18T01:30:57.000Z
2021-01-09T03:59:33.000Z
#include <stdio.h> #include "gm_backend_gps.h" #include "gm_error.h" #include "gm_code_writer.h" #include "gm_frontend.h" #include "gm_transform_helper.h" #include "gm_traverse.h" #include "gm_argopts.h" #include <set> typedef gm_gps_basic_block gps_bb; //--------------------------------------------------------------...
30.739024
156
0.497025
messinguelethomas
5f50c1f0ea514086e4d76bc8228cf047f73551f5
1,349
cpp
C++
tests/draw_world.cpp
lhiuming/REI
e5a8ac706158faa1210146b387716a5825984b47
[ "MIT" ]
1
2021-04-18T22:07:53.000Z
2021-04-18T22:07:53.000Z
tests/draw_world.cpp
lhiuming/REI
e5a8ac706158faa1210146b387716a5825984b47
[ "MIT" ]
null
null
null
tests/draw_world.cpp
lhiuming/REI
e5a8ac706158faa1210146b387716a5825984b47
[ "MIT" ]
1
2021-01-11T13:07:28.000Z
2021-01-11T13:07:28.000Z
// Test loading and drwing a 3D file as a world #ifdef USE_MSVC #pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup") #endif #include <asset_loader.h> #include <console.h> #include <renderer.h> #include <scene.h> #include <viewer.h> using namespace std; using namespace rei; int main(int argc, char** a...
22.483333
67
0.629355
lhiuming
5f50e376568d4f3085c359863b588fc6cb1572f9
2,689
cpp
C++
SOURCES/WriteResult.cpp
Galbar/Air-Scheduling
3652d9f06f2e53a78f1ba34940a1bde8c90dc8c4
[ "MIT" ]
null
null
null
SOURCES/WriteResult.cpp
Galbar/Air-Scheduling
3652d9f06f2e53a78f1ba34940a1bde8c90dc8c4
[ "MIT" ]
null
null
null
SOURCES/WriteResult.cpp
Galbar/Air-Scheduling
3652d9f06f2e53a78f1ba34940a1bde8c90dc8c4
[ "MIT" ]
null
null
null
#include "WriteResult.h" WriteResult::WriteResult(const Graph& graphOriginal, const Graph& graphResult, const FlightEdgeDict& dict): go(graphOriginal), gr(graphResult), dict(dict) {} WriteResult::~WriteResult() { } void WriteResult::process() { std::vector<int> v; process(go.getSource(), go.getSink(), v); }...
26.362745
107
0.482335
Galbar
34fb3cde4cf970d1e4dc20f537a3b60a132f8ccd
3,473
cpp
C++
src/Pathing/Pathfinding.cpp
KieraG/A-Test
22c2de3b8765fa25a6c4f063cda4e33f58b11ea8
[ "MIT" ]
null
null
null
src/Pathing/Pathfinding.cpp
KieraG/A-Test
22c2de3b8765fa25a6c4f063cda4e33f58b11ea8
[ "MIT" ]
null
null
null
src/Pathing/Pathfinding.cpp
KieraG/A-Test
22c2de3b8765fa25a6c4f063cda4e33f58b11ea8
[ "MIT" ]
null
null
null
#pragma once #include "Pathfinding.hpp" #include <algorithm> #include <iostream> #include <math.h> #include <set> using Pathing::Node; using Pathing::Pathfinding; int Pathing::Pathfinding::findDistance(Node &nodeA, Node &nodeB) { int dstX = abs(nodeA.x - nodeB.x); int dstY = abs(nodeA.y - nodeB.y); if (ds...
29.939655
92
0.546214
KieraG
34fc514f531679e884e5c00c88a16f637ffbea32
960
cpp
C++
Algorithms/0557.ReverseWordsInStringIII/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/0557.ReverseWordsInStringIII/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/0557.ReverseWordsInStringIII/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
#include <string> #include "gtest/gtest.h" namespace { class Solution { public: std::string reverseWords(std::string const &s) const { std::string dest; size_t index = 0; while (index < s.size()) { if (!dest.empty()) { dest.push_back(' '...
21.818182
99
0.545833
stdstring
34fd271a0fd6fc8db38b93b1302355c4a1ffff2e
6,693
cc
C++
symm/symm.cc
cornell-brg/xloops-bmarks
2f91a5aad168882672a8f150fc59158575ae5923
[ "BSD-3-Clause" ]
3
2017-09-26T16:03:28.000Z
2021-01-16T03:29:50.000Z
symm/symm.cc
cornell-brg/xloops-bmarks
2f91a5aad168882672a8f150fc59158575ae5923
[ "BSD-3-Clause" ]
null
null
null
symm/symm.cc
cornell-brg/xloops-bmarks
2f91a5aad168882672a8f150fc59158575ae5923
[ "BSD-3-Clause" ]
1
2017-10-13T22:03:22.000Z
2017-10-13T22:03:22.000Z
//======================================================================== // poly-symm.cc //======================================================================== // Ported from the PolyBench benchmark suite // // Reference: // ---------- // http://www.cs.ucla.edu/~pouchet/software/polybench/ // // Description: // -...
26.454545
119
0.482594
cornell-brg
34feb182fde74d7225ec7c7d56256ad39fb94340
28,788
cpp
C++
opaque/numeric_typedef.test.cpp
kmarkley86/opaque_typedef
880011a48e55520a9945e02b5888db4d00088712
[ "BSD-3-Clause" ]
null
null
null
opaque/numeric_typedef.test.cpp
kmarkley86/opaque_typedef
880011a48e55520a9945e02b5888db4d00088712
[ "BSD-3-Clause" ]
null
null
null
opaque/numeric_typedef.test.cpp
kmarkley86/opaque_typedef
880011a48e55520a9945e02b5888db4d00088712
[ "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2015, 2016, 2018, 2021 // Kyle Markley. 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 copyright notice, // ...
31.427948
81
0.615673
kmarkley86
55027c643a5b4ed68b546e97f38f140099ef1841
1,729
cc
C++
tests/libtests/geocoords/TestGeoid.cc
jedbrown/spatialdata
f18d34d92253986e8018f393201bf901e9667c2a
[ "MIT" ]
null
null
null
tests/libtests/geocoords/TestGeoid.cc
jedbrown/spatialdata
f18d34d92253986e8018f393201bf901e9667c2a
[ "MIT" ]
null
null
null
tests/libtests/geocoords/TestGeoid.cc
jedbrown/spatialdata
f18d34d92253986e8018f393201bf901e9667c2a
[ "MIT" ]
null
null
null
// -*- C++ -*- // // ---------------------------------------------------------------------- // // Brad T. Aagaard, U.S. Geological Survey // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://geodynamics.org). // // Copyright (c) 2010-2017 University of California, Davis /...
28.344262
73
0.52111
jedbrown
550367a3183119c1f32da4fa327dbc9cb67122ac
4,294
cxx
C++
src/LaplaceP2PCPU.cxx
ecrc/bemfmm
4b9bccb373ff3a066bf17404ca2b69c617347dc6
[ "MIT" ]
7
2020-05-01T01:23:27.000Z
2021-07-22T13:22:06.000Z
src/LaplaceP2PCPU.cxx
ecrc/BEMFMM
4b9bccb373ff3a066bf17404ca2b69c617347dc6
[ "MIT" ]
null
null
null
src/LaplaceP2PCPU.cxx
ecrc/BEMFMM
4b9bccb373ff3a066bf17404ca2b69c617347dc6
[ "MIT" ]
6
2018-10-31T10:57:53.000Z
2019-10-09T17:14:56.000Z
#include "kernel.h" #if EXAFMM_USE_SIMD #include "simdvec.h" #endif namespace exafmm { namespace kernel { real_t eps2; vec3 Xperiodic; void P2P(C_iter Ci, C_iter Cj, bool mutual) { B_iter Bi = Ci->BODY; B_iter Bj = Cj->BODY; int ni = Ci->NBODY; int nj = Cj->NBODY; int i = 0...
21.04902
55
0.491616
ecrc
5505b234442b806d0fb9b7317aa402e72d2c6f77
5,735
cpp
C++
src/ContainersPP/Containers/InlineTable.cpp
guymella/Oryol-ContainersPP
ff84699df8df6cf932451f8457a28c785338dd01
[ "MIT" ]
null
null
null
src/ContainersPP/Containers/InlineTable.cpp
guymella/Oryol-ContainersPP
ff84699df8df6cf932451f8457a28c785338dd01
[ "MIT" ]
null
null
null
src/ContainersPP/Containers/InlineTable.cpp
guymella/Oryol-ContainersPP
ff84699df8df6cf932451f8457a28c785338dd01
[ "MIT" ]
null
null
null
#include "InlineTable.h" ContainersPP::InlineTable::InlineTable(uint32_t PartitionCount) { Buffer().CopyBack((uint8_t*)Types::BASEDEFAULT, sizeof(uint64_t)*2); Index()[0] = sizeof(uint64_t) * 2; for (uint32_t i = 0; i < PartitionCount; i++) New(); } ContainersPP::InlinePartition ContainersPP::iInl...
27.705314
139
0.675153
guymella
5508ce14235075c470bdc23a1704b2b2d4023288
2,076
cpp
C++
Tracker/Archive/Tracker_horst/Pylon_with_OpenCV/threshold.cpp
horsto/2P_tracking
d3eab554841a5f746a9231d770777f718267da6d
[ "MIT" ]
1
2018-07-16T07:08:42.000Z
2018-07-16T07:08:42.000Z
Tracker/Archive/Tracker_horst/Pylon_with_OpenCV/threshold.cpp
horsto/2P_tracking
d3eab554841a5f746a9231d770777f718267da6d
[ "MIT" ]
null
null
null
Tracker/Archive/Tracker_horst/Pylon_with_OpenCV/threshold.cpp
horsto/2P_tracking
d3eab554841a5f746a9231d770777f718267da6d
[ "MIT" ]
1
2018-07-16T07:08:46.000Z
2018-07-16T07:08:46.000Z
#include "stdafx.h" #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/video/video.hpp> #include <iostream> using namespace cv; using namespace std; cv::Mat GetThresholdedImage(cv::Mat img, uint low_h, uint high_h, uint low_s, uint high_s, uint low_v, uint high_v) { // Create a...
38.444444
129
0.675337
horsto
55094766f92e54ca79209dd71462638c7e6addef
3,465
cpp
C++
C++/trie/auto complete.cpp
dipakpawar152000/programming
f343857d413c7dcce876c7720c0ffc4e44b63a48
[ "Apache-2.0" ]
33
2019-10-20T15:28:26.000Z
2021-12-17T22:34:22.000Z
C++/trie/auto complete.cpp
dipakpawar152000/programming
f343857d413c7dcce876c7720c0ffc4e44b63a48
[ "Apache-2.0" ]
111
2019-05-10T18:52:55.000Z
2022-02-04T08:53:42.000Z
C++/trie/auto complete.cpp
dipakpawar152000/programming
f343857d413c7dcce876c7720c0ffc4e44b63a48
[ "Apache-2.0" ]
141
2019-10-20T15:00:02.000Z
2021-03-23T05:51:12.000Z
// Copyright 2020 Anjali Soni // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
21.257669
79
0.47619
dipakpawar152000
550b63bc307e754423e3e7435109943c98b27c58
2,491
hpp
C++
include/noarr/cuda-pipelines/CudaPipelines.hpp
ParaCoToUl/noarr-pipelines
138f69065e40403a41b95103262b39f2e04dcab8
[ "MIT" ]
null
null
null
include/noarr/cuda-pipelines/CudaPipelines.hpp
ParaCoToUl/noarr-pipelines
138f69065e40403a41b95103262b39f2e04dcab8
[ "MIT" ]
null
null
null
include/noarr/cuda-pipelines/CudaPipelines.hpp
ParaCoToUl/noarr-pipelines
138f69065e40403a41b95103262b39f2e04dcab8
[ "MIT" ]
null
null
null
#ifndef NOARR_CUDA_PIPELINES_CUDA_PIPELINES_HPP #define NOARR_CUDA_PIPELINES_CUDA_PIPELINES_HPP #include <cassert> #include <cuda_runtime.h> #include "noarr/pipelines/Device.hpp" #include "noarr/pipelines/HardwareManager.hpp" #include "noarr/cuda-pipelines/NOARR_CUCH.hpp" #include "noarr/cuda-pipelines/CudaAllocator...
26.5
83
0.654757
ParaCoToUl
550badfaaab63074928dd277acbac1845480b4c0
2,506
cpp
C++
src/wxutils/wxnumbervalidator.cpp
linz/snap
1505880b282290fc28bbbe0c4d4f69088ad81de0
[ "BSD-3-Clause" ]
7
2018-09-17T06:49:30.000Z
2020-10-10T19:12:31.000Z
src/wxutils/wxnumbervalidator.cpp
linz/snap
1505880b282290fc28bbbe0c4d4f69088ad81de0
[ "BSD-3-Clause" ]
81
2016-11-09T01:18:19.000Z
2022-03-31T04:34:12.000Z
src/wxutils/wxnumbervalidator.cpp
linz/snap
1505880b282290fc28bbbe0c4d4f69088ad81de0
[ "BSD-3-Clause" ]
5
2017-07-03T03:00:29.000Z
2022-01-25T07:05:08.000Z
#include "snapconfig.h" #include "wxnumbervalidator.hpp" wxNumberValidator::wxNumberValidator( int *value, bool positive ) : wxTextValidator( wxFILTER_INCLUDE_CHAR_LIST, NULL ), value(value) { isInteger = true; isPositive = positive; Setup(); } wxNumberValidator::wxNumberValidator( double *valu...
23.866667
84
0.606145
linz
55120485e68235b98fd67c5b1443ea2549cca72d
8,913
cpp
C++
src/lib/serialport/qserialportinfo_symbian.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
8
2015-11-16T19:15:55.000Z
2021-02-17T23:58:33.000Z
src/lib/serialport/qserialportinfo_symbian.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
5
2015-11-12T00:19:59.000Z
2020-03-23T10:18:19.000Z
src/lib/serialport/qserialportinfo_symbian.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
11
2015-03-15T23:02:48.000Z
2021-09-05T14:17:13.000Z
/**************************************************************************** ** ** Copyright (C) 2011-2012 Denis Shienkov <denis.shienkov@gmail.com> ** Copyright (C) 2011 Sergey Belyashov <Sergey.Belyashov@gmail.com> ** Copyright (C) 2012 Laszlo Papp <lpapp@kde.org> ** Contact: http://www.qt-project.org/legal ** ** Th...
35.652
126
0.641423
Hayesie88
551a1f2d6d6b0efbe51a70b7c500d163674d6c20
5,974
cpp
C++
engine/navigation/navigation_interfaces.cpp
AugustoMoura/GritEnginePR
0f8303df7f70972036d9b555dffe08cadb473926
[ "MIT" ]
null
null
null
engine/navigation/navigation_interfaces.cpp
AugustoMoura/GritEnginePR
0f8303df7f70972036d9b555dffe08cadb473926
[ "MIT" ]
null
null
null
engine/navigation/navigation_interfaces.cpp
AugustoMoura/GritEnginePR
0f8303df7f70972036d9b555dffe08cadb473926
[ "MIT" ]
null
null
null
// // Copyright (c) 2009-2010 Mikko Mononen memon@inside.org // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // Permission is granted to anyone to use this software for any purpose...
22.714829
119
0.644125
AugustoMoura
551e38a7251fd7eceae18b666f2a71eed9ab4bfd
142
cc
C++
src/messages/filerequest.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
17
2016-11-27T13:13:40.000Z
2021-09-07T06:42:25.000Z
src/messages/filerequest.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
22
2017-01-18T06:10:18.000Z
2019-05-15T03:49:19.000Z
src/messages/filerequest.cc
zzunny97/Graduate-Velox
d820e7c8cee52f22d7cd9027623bd82ca59733ca
[ "Apache-2.0" ]
5
2017-07-24T15:19:32.000Z
2022-02-19T09:11:01.000Z
#include "filerequest.hh" namespace eclipse { namespace messages { std::string FileRequest::get_type() const { return "FileRequest"; } } }
14.2
67
0.725352
zzunny97
552077fef9f9f99536725a7660331a701bf57c0e
1,433
hpp
C++
Siv3D/src/Siv3D-Platform/OpenGLES3/Siv3D/Shader/GLES3/ShaderPipeline/GLES3ShaderPipeline.hpp
emadurandal/OpenSiv3D
2c7a77526be7bb8669a223066210337d74bdc9c6
[ "MIT" ]
709
2016-03-19T07:55:58.000Z
2022-03-31T08:02:22.000Z
Siv3D/src/Siv3D-Platform/OpenGLES3/Siv3D/Shader/GLES3/ShaderPipeline/GLES3ShaderPipeline.hpp
emadurandal/OpenSiv3D
2c7a77526be7bb8669a223066210337d74bdc9c6
[ "MIT" ]
415
2017-05-21T05:05:02.000Z
2022-03-29T16:08:27.000Z
Siv3D/src/Siv3D-Platform/OpenGLES3/Siv3D/Shader/GLES3/ShaderPipeline/GLES3ShaderPipeline.hpp
emadurandal/OpenSiv3D
2c7a77526be7bb8669a223066210337d74bdc9c6
[ "MIT" ]
123
2016-03-19T12:47:08.000Z
2022-03-25T03:47:51.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2021 Ryo Suzuki // Copyright (c) 2016-2021 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # include <Siv3D/Common/OpenGL.hpp> # include <...
20.183099
86
0.660154
emadurandal
552236be1ae49ab06ce805c93610ddcdaba3d5cf
343
cpp
C++
cpp/761-770/Max Chunks To Make Sorted.cpp
KaiyuWei/leetcode
fd61f5df60cfc7086f7e85774704bacacb4aaa5c
[ "MIT" ]
150
2015-04-04T06:53:49.000Z
2022-03-21T13:32:08.000Z
cpp/761-770/Max Chunks To Make Sorted.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
1
2015-04-13T15:15:40.000Z
2015-04-21T20:23:16.000Z
cpp/761-770/Max Chunks To Make Sorted.cpp
yizhu1012/leetcode
d6fa443a8517956f1fcc149c8c4f42c0ad93a4a7
[ "MIT" ]
64
2015-06-30T08:00:07.000Z
2022-01-01T16:44:14.000Z
class Solution { public: int maxChunksToSorted(vector<int>& arr) { int result = 0; int temp_max = arr[0]; for (int i = 0; i < arr.size(); i++) { temp_max = max(temp_max, arr[i]); if (temp_max == i) { result++; } } r...
21.4375
46
0.422741
KaiyuWei
5523c01ea257c3717642c381fa72ac3a37f9e2c2
5,632
cpp
C++
src/hammer/NewVisGroupDlg.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/hammer/NewVisGroupDlg.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/hammer/NewVisGroupDlg.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: A dialog that is invoked when a new visgroup is created. // It lets the user pick an existing visgroup or create a new one. // //=============================================================================/...
34.765432
95
0.468572
cstom4994
552413d835da575c3c664d9fea69439aba50cb2a
1,321
cpp
C++
LGPOperators/LGPOperator_Iflt.cpp
chen0040/cpp-mfc-fractal-art-iec-lgp
108b6ca40f73accc7959da5da0fdcb963136ad0c
[ "MIT" ]
3
2020-01-10T11:12:38.000Z
2022-03-13T01:34:56.000Z
LGPOperators/LGPOperator_Iflt.cpp
chen0040/cpp-mfc-fractal-art-iec-lgp
108b6ca40f73accc7959da5da0fdcb963136ad0c
[ "MIT" ]
null
null
null
LGPOperators/LGPOperator_Iflt.cpp
chen0040/cpp-mfc-fractal-art-iec-lgp
108b6ca40f73accc7959da5da0fdcb963136ad0c
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "LGPOperator_Iflt.h" #include <io.h> #include <fstream> #include <iostream> LGPOperator_Iflt::LGPOperator_Iflt() : LGPOperator("If<") { m_method_name="if_less_than"; m_bIsConditionalConstruct=true; } LGPOperator_Iflt::~LGPOperator_Iflt() { } int LGPOperator_Iflt::Execute(const LGPRegi...
20.968254
122
0.72975
chen0040
5527795693a090240fc930b5d1068ffdea956e23
5,161
cpp
C++
src/graphics/RenderContext.cpp
cstegel/opengl-fireworks
5acc2e2e937cae632bf2cf8074d209ea22d719c8
[ "MIT" ]
1
2017-10-09T06:56:17.000Z
2017-10-09T06:56:17.000Z
src/graphics/RenderContext.cpp
cstegel/opengl-fireworks
5acc2e2e937cae632bf2cf8074d209ea22d719c8
[ "MIT" ]
null
null
null
src/graphics/RenderContext.cpp
cstegel/opengl-fireworks
5acc2e2e937cae632bf2cf8074d209ea22d719c8
[ "MIT" ]
null
null
null
#include "graphics/RenderContext.hpp" #include "core/InputManager.hpp" #include "core/Game.hpp" #include "ecs/components/View.hpp" #include "ecs/components/Transform.hpp" #include <glm/gtc/matrix_transform.hpp> namespace fw { RenderContext::Timer::Timer(RenderStage stage) : stage(stage) { startTime = glfwGetTime(...
21.684874
85
0.755086
cstegel
552c2e7ffa4fdb9318177da04f6c2e35e3e07878
13,613
cpp
C++
TelepathyIMModule/TelepathyIM/ChatSession.cpp
mattire/naali
28c9cdc84c6a85e0151a222e55ae35c9403f0212
[ "Apache-2.0" ]
1
2018-04-02T15:38:10.000Z
2018-04-02T15:38:10.000Z
TelepathyIMModule/TelepathyIM/ChatSession.cpp
mattire/naali
28c9cdc84c6a85e0151a222e55ae35c9403f0212
[ "Apache-2.0" ]
null
null
null
TelepathyIMModule/TelepathyIM/ChatSession.cpp
mattire/naali
28c9cdc84c6a85e0151a222e55ae35c9403f0212
[ "Apache-2.0" ]
null
null
null
// For conditions of distribution and use, see copyright notice in license.txt #include "StableHeaders.h" #include "DebugOperatorNew.h" #include <TelepathyQt4/ContactManager> #include "ChatSession.h" #include "Connection.h" #include "ContactGroup.h" #include "ChatMessage.h" #include "CoreDefines.h" #include "CoreExce...
39.804094
185
0.629839
mattire
552cb1e81dd4efc8ca85afe864376b476b525ee8
9,864
cpp
C++
src/afk/physics/PhysicsBody.cpp
christocs/ICT397
5ff6e4ed8757effad19b88fdb91f36504208f942
[ "ISC" ]
null
null
null
src/afk/physics/PhysicsBody.cpp
christocs/ICT397
5ff6e4ed8757effad19b88fdb91f36504208f942
[ "ISC" ]
null
null
null
src/afk/physics/PhysicsBody.cpp
christocs/ICT397
5ff6e4ed8757effad19b88fdb91f36504208f942
[ "ISC" ]
null
null
null
#include "afk/physics/PhysicsBody.hpp" #include "afk/debug/Assert.hpp" using Afk::PhysicsBody; PhysicsBody::PhysicsBody(GameObject e, Afk::PhysicsBodySystem *physics_system, Afk::Transform transform, float bounciness, float linear_dampening, float angular_dampening, ...
41.974468
126
0.68015
christocs
552da535f2b08b9136348d35397592c7125965aa
3,800
cpp
C++
Boss2D/addon/boss_addon_websocket.cpp
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/boss_addon_websocket.cpp
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/boss_addon_websocket.cpp
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
#include <boss.h> #if !defined(BOSS_NEED_ADDON_WEBSOCKET) || (BOSS_NEED_ADDON_WEBSOCKET != 0 && BOSS_NEED_ADDON_WEBSOCKET != 1) #error BOSS_NEED_ADDON_WEBSOCKET macro is invalid use #endif bool __LINK_ADDON_WEBSOCKET__() {return true;} // 링크옵션 /OPT:NOREF가 안되서 임시코드 #if BOSS_NEED_ADDON_WEBSOCKET #include...
35.185185
110
0.689474
Yash-Wasalwar-07
5531871cefd1742a1ef05774e5a70bc33e94324a
320
hpp
C++
packets/PKT_NPC_BuffUpdateCountGroup.hpp
HoDANG/OGLeague2
21efea8ea480972a6d686c4adefea03d57da5e9d
[ "MIT" ]
1
2022-03-27T10:21:41.000Z
2022-03-27T10:21:41.000Z
packets/PKT_NPC_BuffUpdateCountGroup.hpp
HoDANG/OGLeague2
21efea8ea480972a6d686c4adefea03d57da5e9d
[ "MIT" ]
null
null
null
packets/PKT_NPC_BuffUpdateCountGroup.hpp
HoDANG/OGLeague2
21efea8ea480972a6d686c4adefea03d57da5e9d
[ "MIT" ]
3
2019-07-20T03:59:10.000Z
2022-03-27T10:20:09.000Z
#ifndef HPP_093_PKT_NPC_BuffUpdateCountGroup_HPP #define HPP_093_PKT_NPC_BuffUpdateCountGroup_HPP #include "base.hpp" #pragma pack(push, 1) struct PKT_NPC_BuffUpdateCountGroup_s : DefaultPacket<PKT_NPC_BuffUpdateCountGroup> { float duration; float runningTime; char numInGroup; }; #pragma pack(pop) #endif
21.333333
83
0.809375
HoDANG
5533999e7f1eee9d59fa5673461260af713e79fc
311
cpp
C++
Lista I Estrutura de Dados/2a.cpp
MateusVS/Estrutura-de-dados
fd30aeeb65cef06749adf1a5ab77549d622d4304
[ "Apache-2.0" ]
2
2019-04-09T03:57:40.000Z
2019-04-09T03:59:46.000Z
Lista I Estrutura de Dados/2a.cpp
MateusVS/Estrutura-de-dados
fd30aeeb65cef06749adf1a5ab77549d622d4304
[ "Apache-2.0" ]
null
null
null
Lista I Estrutura de Dados/2a.cpp
MateusVS/Estrutura-de-dados
fd30aeeb65cef06749adf1a5ab77549d622d4304
[ "Apache-2.0" ]
null
null
null
// Exercicio 2.a - Lista 1 - Estrutura de dados // Danilo de Nadai Sicari - Turma 1 - Fatec Araras // 24/03/18 #include <iostream> #include <stdlib.h> #include <stdio.h> using namespace std; int main(void) { int x, *p; x = 100; p = &x; printf("Valor de p: %d.\n", *p); return 0; }
15.55
51
0.578778
MateusVS
553476dda131cca329c0f592a5fdd2bd06e43903
1,614
cxx
C++
Testing/Code/Libraries/NiftyLinkTrackingDataMessageHelpersTests.cxx
NifTK/NiftyLink
b8b794afb682ffcdcf5181661fcf167989369a5d
[ "BSD-3-Clause" ]
5
2015-05-10T14:09:34.000Z
2021-02-23T03:35:51.000Z
Testing/Code/Libraries/NiftyLinkTrackingDataMessageHelpersTests.cxx
NifTK/NiftyLink
b8b794afb682ffcdcf5181661fcf167989369a5d
[ "BSD-3-Clause" ]
null
null
null
Testing/Code/Libraries/NiftyLinkTrackingDataMessageHelpersTests.cxx
NifTK/NiftyLink
b8b794afb682ffcdcf5181661fcf167989369a5d
[ "BSD-3-Clause" ]
1
2021-02-23T03:35:52.000Z
2021-02-23T03:35:52.000Z
/*============================================================================= NiftyLink: A software library to facilitate communication over OpenIGTLink. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty ...
26.032258
79
0.580545
NifTK
5538df156c58894fa76f880771a5d73271343fc4
139
hxx
C++
src/Providers/UNIXProviders/CAHasPublicCertificate/UNIX_CAHasPublicCertificate_STUB.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/CAHasPublicCertificate/UNIX_CAHasPublicCertificate_STUB.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/CAHasPublicCertificate/UNIX_CAHasPublicCertificate_STUB.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_STUB #ifndef __UNIX_CAHASPUBLICCERTIFICATE_PRIVATE_H #define __UNIX_CAHASPUBLICCERTIFICATE_PRIVATE_H #endif #endif
11.583333
47
0.863309
brunolauze
553a100c886780496530454a97f908613940f78b
766
cpp
C++
Project/Kross-Engine/Source/Core/Renderer/Material.cpp
Deklyn-Palmer/Kross-Engine-Game
6ea927a4ef2407334ac3bcb5f80bf82bfe5648be
[ "Apache-2.0" ]
null
null
null
Project/Kross-Engine/Source/Core/Renderer/Material.cpp
Deklyn-Palmer/Kross-Engine-Game
6ea927a4ef2407334ac3bcb5f80bf82bfe5648be
[ "Apache-2.0" ]
null
null
null
Project/Kross-Engine/Source/Core/Renderer/Material.cpp
Deklyn-Palmer/Kross-Engine-Game
6ea927a4ef2407334ac3bcb5f80bf82bfe5648be
[ "Apache-2.0" ]
null
null
null
/* * Author: Deklyn Palmer. * Editors: * - Deklyn Palmer. */ #include "Material.h" #include "../Manager/ResourceManager.h" namespace Kross { Material::~Material() { m_Diffuse = nullptr; m_Normal = nullptr; m_Specular = nullptr; } Material* Material::OnCreate(const std::string& name) { /* Crea...
18.238095
54
0.659269
Deklyn-Palmer
553f053c80f5e519e399471d61dacd99d54f5ebf
1,057
cc
C++
src/main.cc
oyoungs/topice
631a6411b9e15d44514be5d61bace7135545f780
[ "MIT" ]
null
null
null
src/main.cc
oyoungs/topice
631a6411b9e15d44514be5d61bace7135545f780
[ "MIT" ]
null
null
null
src/main.cc
oyoungs/topice
631a6411b9e15d44514be5d61bace7135545f780
[ "MIT" ]
null
null
null
#include <oyoung/topice.hpp> #include <ros/node_handle.h> #include <std_msgs/Bool.h> #include <std_msgs/String.h> #include <iostream> int main(int argc, char **argv) { ros::init(argc, argv, "Topice"); ros::NodeHandle node; auto topice = oyoung::make_topice(node); topice.service<std_msgs::...
24.581395
109
0.56386
oyoungs
553f6e310780e8fe0d4610ada3d19abfbe5a8e3b
42,768
cpp
C++
final-project/repositories/Deep_Learning_Inference_Accelerator_with_CNNIOT/MSOC_final-main/finalwrapup_hls/solution1/syn/systemc/conv_read.cpp
bol-edu/2020-fall-ntu
5e009875dec5a3bbcebd1b3fae327990371d1b6a
[ "MIT" ]
7
2021-02-10T17:59:48.000Z
2021-09-27T15:02:56.000Z
final-project/repositories/Deep_Learning_Inference_Accelerator_with_CNNIOT/MSOC_final-main/finalwrapup_hls/solution1/syn/systemc/conv_read.cpp
bol-edu/2020-fall-ntu
5e009875dec5a3bbcebd1b3fae327990371d1b6a
[ "MIT" ]
null
null
null
final-project/repositories/Deep_Learning_Inference_Accelerator_with_CNNIOT/MSOC_final-main/finalwrapup_hls/solution1/syn/systemc/conv_read.cpp
bol-edu/2020-fall-ntu
5e009875dec5a3bbcebd1b3fae327990371d1b6a
[ "MIT" ]
1
2022-03-22T01:46:01.000Z
2022-03-22T01:46:01.000Z
// ============================================================== // RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and OpenCL // Version: 2019.2 // Copyright (C) 1986-2019 Xilinx, Inc. All Rights Reserved. // // =========================================================== #include "conv_read.h" #i...
40.57685
825
0.714506
bol-edu
5540fd6751bd5a7f80514f81b843812c2edd536c
6,795
cc
C++
PA4/ast_expr.cc
atomic/CSE131
9d60c16f65fbd5cb91840643cbe6c4c9f5fdd2b4
[ "MIT" ]
1
2019-04-22T07:40:24.000Z
2019-04-22T07:40:24.000Z
PA4/ast_expr.cc
atomic/CSE131
9d60c16f65fbd5cb91840643cbe6c4c9f5fdd2b4
[ "MIT" ]
null
null
null
PA4/ast_expr.cc
atomic/CSE131
9d60c16f65fbd5cb91840643cbe6c4c9f5fdd2b4
[ "MIT" ]
null
null
null
/* File: ast_expr.cc * ----------------- * Implementation of expression node classes. */ #include <string.h> #include "ast_expr.h" #include "ast_type.h" #include "ast_decl.h" #include "symtable.h" #include "errors.h" IntConstant::IntConstant(yyltype loc, int val) : Expr(loc) { value = val; } void IntConstant::...
25.545113
85
0.604268
atomic
55413d0503f5c82e8d97e9e11abd084633157499
776
hxx
C++
src/utility/FileSystemUtility.hxx
TWLord/DUNEPrismTools
bde52eb1331ac10ba81cdf1bf63488707bfe5496
[ "MIT" ]
null
null
null
src/utility/FileSystemUtility.hxx
TWLord/DUNEPrismTools
bde52eb1331ac10ba81cdf1bf63488707bfe5496
[ "MIT" ]
null
null
null
src/utility/FileSystemUtility.hxx
TWLord/DUNEPrismTools
bde52eb1331ac10ba81cdf1bf63488707bfe5496
[ "MIT" ]
3
2018-01-09T20:57:33.000Z
2019-11-24T03:48:28.000Z
#include <dirent.h> #include <regex> #include <string> #include <vector> inline std::string EnsureTrailingSlash(std::string str) { if (!str.size()) { return str; } if (str.back() != '/') { return str + '/'; } return str; } inline std::vector<std::string> GetMatchingFiles(std::string directory, ...
21.555556
78
0.585052
TWLord
55417720498d4b469acbbe1c37312b55e29363db
380
cpp
C++
test/reverse_unittest.cpp
Rokugatsu/leetcode
f868c494a9d23ac6519c94374281781f209fb19c
[ "MIT" ]
null
null
null
test/reverse_unittest.cpp
Rokugatsu/leetcode
f868c494a9d23ac6519c94374281781f209fb19c
[ "MIT" ]
null
null
null
test/reverse_unittest.cpp
Rokugatsu/leetcode
f868c494a9d23ac6519c94374281781f209fb19c
[ "MIT" ]
null
null
null
/** * @file reverse_unittest.cpp * @author lipingan (lipingan.dev@outlook.com) * @brief * @version 0.1 * @date 2022-01-03 * * @copyright Copyright (c) 2022 * */ #include "reverse.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include <iostream> namespace leetcode { TEST(reverse, case_0) { int ret = r...
17.272727
46
0.657895
Rokugatsu
5543a1a280fc633504b2e7019bb98d2086c663e2
276
cpp
C++
Cplus/SubstringsofSizeThreewithDistinctCharacters.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
1
2018-01-22T12:06:28.000Z
2018-01-22T12:06:28.000Z
Cplus/SubstringsofSizeThreewithDistinctCharacters.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
Cplus/SubstringsofSizeThreewithDistinctCharacters.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
#include <string> using namespace std; class Solution { public: int countGoodSubstrings(string s) { int N = s.length(), res = 0; for (int i = 0; i <= N - 3; ++i) { if (s[i] != s[i + 1] && s[i] != s[i + 2] && s[i + 1] != s[i + 2]) ++res; } return res; } };
16.235294
68
0.48913
JumHorn
55449cdd151f5501449bbbc4be10f031cfd1f86d
645
cpp
C++
src/core/xt/xt/blocking/Stream.cpp
sjoerdvankreel/xt-audio
960d6ed595c872c01af5c321b38b88a6ea07680a
[ "MIT" ]
49
2017-04-01T00:41:14.000Z
2022-03-23T09:03:28.000Z
src/core/xt/xt/blocking/Stream.cpp
sjoerdvankreel/xt-audio
960d6ed595c872c01af5c321b38b88a6ea07680a
[ "MIT" ]
18
2017-04-29T22:46:35.000Z
2022-02-26T18:33:47.000Z
src/core/xt/xt/blocking/Stream.cpp
sjoerdvankreel/xt-audio
960d6ed595c872c01af5c321b38b88a6ea07680a
[ "MIT" ]
14
2017-05-01T12:33:20.000Z
2021-10-01T07:16:26.000Z
#include <xt/private/Stream.hpp> #include <xt/blocking/Stream.hpp> void XtBlockingStream::OnXRun(int32_t index) const { _runner->OnXRun(index); } XtFault XtBlockingStream::OnBuffer(int32_t index, XtBuffer const* buffer) { return _runner->OnBuffer(index, buffer); } void XtBlockingStream::StopBuffer() { ...
23.888889
66
0.699225
sjoerdvankreel
55463aa96caf79258d475995bfa4529d21c9f4e7
30,538
cpp
C++
unittest/obproxy/test_unix_net_processor.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
74
2021-05-31T15:23:49.000Z
2022-03-12T04:46:39.000Z
unittest/obproxy/test_unix_net_processor.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
16
2021-05-31T15:26:38.000Z
2022-03-30T06:02:43.000Z
unittest/obproxy/test_unix_net_processor.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 ...
29.822266
106
0.689076
stutiredboy
554b3b9417048e77ad6b6105377199ae118855ea
2,068
cpp
C++
problemsets/SPOJ/SPOJ - BR/Seletivas/CORRIDA/corrida.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/SPOJ/SPOJ - BR/Seletivas/CORRIDA/corrida.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/SPOJ/SPOJ - BR/Seletivas/CORRIDA/corrida.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <stdio.h> #include <string.h> #include <algorithm> #include <queue> #define FOR(i,n) for((i)=0;(i)<(n);(i)++) #define FORN(i,n) for((i)=(n)-1;(i)>=0;(i)--) #define _FORIT(it, b, e) for (__typeof(b) it = (b); it != (e); it+...
26.512821
84
0.487911
juarezpaulino
554e4b14c9c7a988ef10a21b5b98d46b43b3ea46
4,912
hpp
C++
libspace/plugins/prox/LibproxManualProximity.hpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
1
2016-05-09T03:34:51.000Z
2016-05-09T03:34:51.000Z
libspace/plugins/prox/LibproxManualProximity.hpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
null
null
null
libspace/plugins/prox/LibproxManualProximity.hpp
pathorn/sirikata
5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2011 Sirikata Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can // be found in the LICENSE file. #ifndef _SIRIKATA_LIBPROX_MANUAL_PROXIMITY_HPP_ #define _SIRIKATA_LIBPROX_MANUAL_PROXIMITY_HPP_ #include "LibproxProximityBase.hpp" #include <prox/manual...
41.982906
197
0.773208
pathorn