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
e63d6054c940b798b039501c336a3a9ffd2628c4
2,357
cc
C++
solutions/usaco/feb-2017/silver/countcross.cc
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
4
2020-11-07T14:38:02.000Z
2022-01-03T19:02:36.000Z
solutions/usaco/feb-2017/silver/countcross.cc
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
1
2019-04-17T06:55:14.000Z
2019-04-17T06:55:14.000Z
solutions/usaco/feb-2017/silver/countcross.cc
zwliew/ctci
871f4fc957be96c6d0749d205549b7b35dc53d9e
[ "MIT" ]
null
null
null
#include <algorithm> #include <array> #include <bitset> #include <chrono> #include <climits> #include <cmath> #include <cstring> #include <deque> #include <ext/pb_ds/assoc_container.hpp> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include ...
20.495652
77
0.520577
zwliew
e63f92383882e87835d459f23c6d683e669ea5e2
533
cpp
C++
leetcode/832. Flipping an Image/s1.cpp
joycse06/LeetCode-1
ad105bd8c5de4a659c2bbe6b19f400b926c82d93
[ "Fair" ]
1
2021-02-09T11:38:51.000Z
2021-02-09T11:38:51.000Z
leetcode/832. Flipping an Image/s1.cpp
contacttoakhil/LeetCode-1
9bb9b5aa9ace836b86a752eb796b3dfcb21ee44c
[ "Fair" ]
null
null
null
leetcode/832. Flipping an Image/s1.cpp
contacttoakhil/LeetCode-1
9bb9b5aa9ace836b86a752eb796b3dfcb21ee44c
[ "Fair" ]
1
2021-03-25T17:11:14.000Z
2021-03-25T17:11:14.000Z
// OJ: https://leetcode.com/problems/flipping-an-image/ // Author: github.com/lzl124631x // Time: O(MN) // Space: O(1) class Solution { public: vector<vector<int>> flipAndInvertImage(vector<vector<int>>& A) { if (A.empty() || A[0].empty()) return {}; int M = A.size(), N = A[0].size(); vector...
29.611111
68
0.469043
joycse06
e63fcf88f1ae019c35869e70de7bb87a0d35e1c6
447
cpp
C++
cpp02/cpp02_func_overload.cpp
ValentinoVizner/CPP_OpenCV_Playground
809fa501e056cddeb9e0af3cb7f0ba0925f389d0
[ "MIT" ]
null
null
null
cpp02/cpp02_func_overload.cpp
ValentinoVizner/CPP_OpenCV_Playground
809fa501e056cddeb9e0af3cb7f0ba0925f389d0
[ "MIT" ]
null
null
null
cpp02/cpp02_func_overload.cpp
ValentinoVizner/CPP_OpenCV_Playground
809fa501e056cddeb9e0af3cb7f0ba0925f389d0
[ "MIT" ]
null
null
null
/* Function overloading Compiler infers a function from arguments Cannot overload based on return type Return type plays no role at all GOOGLE-STYLE Avoid non-obvious overloads */ #include <iostream> #include <string> std::string Func(int num) { return "int"; } std::string Func(const std::string& str) { retur...
19.434783
44
0.673378
ValentinoVizner
e64188e0832cfbc98ffd24e2f1dfa29db3d41edd
11,810
hxx
C++
include/vigra/copyimage.hxx
sstefan/vigra
f8826fa4de4293efb95582367f4bf42cc8ba8c11
[ "MIT" ]
1
2017-01-23T11:27:56.000Z
2017-01-23T11:27:56.000Z
include/vigra/copyimage.hxx
tikroeger/vigra
981d1ebc3ee85464a0d2ace693ad41606b475e2f
[ "MIT" ]
null
null
null
include/vigra/copyimage.hxx
tikroeger/vigra
981d1ebc3ee85464a0d2ace693ad41606b475e2f
[ "MIT" ]
3
2015-12-09T13:47:13.000Z
2019-04-06T21:28:59.000Z
/************************************************************************/ /* */ /* Copyright 1998-2002 by Ullrich Koethe */ /* */ /* This file is p...
35.572289
90
0.5663
sstefan
e6443893188efd0f6c15b20e325cc09c96f02b6b
5,378
cpp
C++
EntityComponents/EC_Highlight/EC_Highlight.cpp
zemo/naali
a02ee7a0547c5233579eda85dedb934b61c546ab
[ "Apache-2.0" ]
null
null
null
EntityComponents/EC_Highlight/EC_Highlight.cpp
zemo/naali
a02ee7a0547c5233579eda85dedb934b61c546ab
[ "Apache-2.0" ]
null
null
null
EntityComponents/EC_Highlight/EC_Highlight.cpp
zemo/naali
a02ee7a0547c5233579eda85dedb934b61c546ab
[ "Apache-2.0" ]
1
2021-09-04T12:37:34.000Z
2021-09-04T12:37:34.000Z
/** * For conditions of distribution and use, see copyright notice in license.txt * * @file EC_Highlight.cpp * @brief EC_Highlight enables visual highlighting effect for of scene entity. * @note The entity must have EC_Placeable and EC_Mesh (if mesh) or * EC_OgreCustomObject (if prim) components...
28.606383
120
0.646337
zemo
e645bceaca02a62772cad778c00a43aeee9b8a66
11,907
cpp
C++
src/xmlbeansxx/XercesParser.cpp
rafalrusin/xmlbeansxx
1cdc79c5be0c8caff349c3324cf63a7da7800a1f
[ "Apache-2.0" ]
7
2015-01-13T03:12:50.000Z
2022-03-20T00:34:03.000Z
src/xmlbeansxx/XercesParser.cpp
rafalrusin/xmlbeansxx
1cdc79c5be0c8caff349c3324cf63a7da7800a1f
[ "Apache-2.0" ]
null
null
null
src/xmlbeansxx/XercesParser.cpp
rafalrusin/xmlbeansxx
1cdc79c5be0c8caff349c3324cf63a7da7800a1f
[ "Apache-2.0" ]
4
2015-01-22T08:25:57.000Z
2019-07-04T01:57:37.000Z
/* Copyright 2004-2008 TouK sp. z o.o. s.k.a. 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 l...
32.98338
141
0.679012
rafalrusin
e648354366e8082a48a7da3291c0151de9e5c0b9
11,639
cpp
C++
2021-01/16/opengl-win32.cpp
tsherif/sketches
c4bb4ec367f6e66d5a859f265ee48e04a4a9bb47
[ "MIT" ]
2
2020-06-03T17:49:35.000Z
2020-07-09T06:02:50.000Z
2021-01/16/opengl-win32.cpp
tsherif/sketches
c4bb4ec367f6e66d5a859f265ee48e04a4a9bb47
[ "MIT" ]
8
2022-02-13T19:46:39.000Z
2022-02-27T10:05:10.000Z
2021-01/16/opengl-win32.cpp
tsherif/sketches
c4bb4ec367f6e66d5a859f265ee48e04a4a9bb47
[ "MIT" ]
null
null
null
#define WIN32_LEAN_AND_MEAN #define _USE_MATH_DEFINES #define SOGL_MAJOR_VERSION 4 #define SOGL_MINOR_VERSION 5 #define SOGL_IMPLEMENTATION_WIN32 #define STB_IMAGE_IMPLEMENTATION #include "../../lib/simple-opengl-loader.h" #include <windows.h> #include <cstdint> #include <cmath> #include <cstdio> #include <cstring> #in...
30.548556
168
0.635622
tsherif
e648f4b19265d069a4cc22deb6204fb151c07b2e
513
cpp
C++
src/771 Jewels and Stones.cpp
LL-Pengfei/LL-Pengfei-Leetcode-Solutions
3ae358877bdb943bef67a55372ce7f04d2881072
[ "MIT" ]
null
null
null
src/771 Jewels and Stones.cpp
LL-Pengfei/LL-Pengfei-Leetcode-Solutions
3ae358877bdb943bef67a55372ce7f04d2881072
[ "MIT" ]
null
null
null
src/771 Jewels and Stones.cpp
LL-Pengfei/LL-Pengfei-Leetcode-Solutions
3ae358877bdb943bef67a55372ce7f04d2881072
[ "MIT" ]
null
null
null
//771. Jewels and Stones //https://leetcode.com/problems/jewels-and-stones/ class Solution { public: int numJewelsInStones(string J, string S) { const char* jc = J.c_str(); const char* sc = S.c_str(); unordered_set<char> jewel; for (int i = 0; i < J.size(); ++i) { jewel....
25.65
58
0.500975
LL-Pengfei
e649623eb9887f7a5b6341fd717e9d9b6e686b23
589
cpp
C++
Main/Sun.cpp
ThomasGITH/OpenGL-Engine
b2800f5abf0a5c437a4731a5b6ed43bafcbf776f
[ "Apache-2.0" ]
1
2019-11-06T23:46:38.000Z
2019-11-06T23:46:38.000Z
Main/Sun.cpp
ThomasGITH/OpenGL-code
b2800f5abf0a5c437a4731a5b6ed43bafcbf776f
[ "Apache-2.0" ]
1
2021-08-29T20:59:30.000Z
2021-08-29T20:59:30.000Z
Main/Sun.cpp
ThomasGITH/OpenGL-code
b2800f5abf0a5c437a4731a5b6ed43bafcbf776f
[ "Apache-2.0" ]
null
null
null
#include "Sun.h" Sun::Sun(glm::vec3 colour, GLfloat ambientIntensity, glm::vec3 direction, GLfloat diffuseIntensity) { this->colour = colour; this->ambientIntensity = ambientIntensity; this->direction = direction; this->diffuseIntensity = diffuseIntensity; setLightType(DIRECTIONAL); } void Sun::Up...
26.772727
190
0.745331
ThomasGITH
e6497a329bd794e4de5d07efcd7802f5769db7c5
10,955
cpp
C++
src/sdl/graphic.cpp
mwthinker/CppSdl2
0433a4f984b1c0e7e6a96303ee4d55cc9430343e
[ "MIT" ]
3
2019-08-18T19:22:39.000Z
2021-08-29T15:45:37.000Z
src/sdl/graphic.cpp
mwthinker/CppSdl2
0433a4f984b1c0e7e6a96303ee4d55cc9430343e
[ "MIT" ]
null
null
null
src/sdl/graphic.cpp
mwthinker/CppSdl2
0433a4f984b1c0e7e6a96303ee4d55cc9430343e
[ "MIT" ]
null
null
null
#include "graphic.h" #include <glm/gtx/rotate_vector.hpp> #include <glm/gtx/component_wise.hpp> #include <glm/gtx/vector_angle.hpp> #include <array> namespace { struct GlScopedState { GlScopedState() { glGetIntegerv(GL_TEXTURE_BINDING_2D, &texture); glGetIntegerv(GL_ACTIVE_TEXTURE, &activeTexture); glGe...
30.772472
158
0.67403
mwthinker
e64bd002587ebf7f4f4990f8fe1dbe480a63d00d
401
hpp
C++
library/ATF/GUILD_BATTLE__CGuildBattleStateListVtbl.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/GUILD_BATTLE__CGuildBattleStateListVtbl.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/GUILD_BATTLE__CGuildBattleStateListVtbl.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE namespace GUILD_BATTLE { struct CGuildBattleStateListVtbl { void (WINAPIV *SetNextState)(struct CGuildBattleStat...
25.0625
108
0.703242
lemkova
e64cb12c245cf767199f730e8cf9beea9b444d01
848
cpp
C++
libs_common/vds_transactions/transactions/store_block_transaction.cpp
SuperOyuncuNW/vds
87a40059150fb2523f10da9ed1a63b75ac0d531c
[ "MIT" ]
2
2018-02-16T00:27:04.000Z
2018-06-16T02:53:47.000Z
libs_common/vds_transactions/transactions/store_block_transaction.cpp
SuperOyuncuNW/vds
87a40059150fb2523f10da9ed1a63b75ac0d531c
[ "MIT" ]
1
2018-07-20T04:18:00.000Z
2018-07-21T12:04:57.000Z
libs_common/vds_transactions/transactions/store_block_transaction.cpp
SuperOyuncuNW/vds
87a40059150fb2523f10da9ed1a63b75ac0d531c
[ "MIT" ]
12
2017-07-16T12:01:52.000Z
2022-03-16T20:36:57.000Z
/* Copyright (c) 2017, Vadim Malyshev, lboss75@gmail.com All rights reserved */ #include "stdafx.h" #include "store_block_transaction.h" vds::expected<vds::transactions::store_block_transaction> vds::transactions::store_block_transaction::create( const const_data_buffer& owner_id, const const_data_buffer& object_...
27.354839
109
0.759434
SuperOyuncuNW
e64da5793715f17f8e6315fcba299a6e2cee78dc
68,431
hpp
C++
contrib/TAMM/src/tamm/multop.hpp
ltalirz/gfcc
4fe9e677383e2d5626428d8e535d7f92807523b7
[ "MIT" ]
null
null
null
contrib/TAMM/src/tamm/multop.hpp
ltalirz/gfcc
4fe9e677383e2d5626428d8e535d7f92807523b7
[ "MIT" ]
null
null
null
contrib/TAMM/src/tamm/multop.hpp
ltalirz/gfcc
4fe9e677383e2d5626428d8e535d7f92807523b7
[ "MIT" ]
null
null
null
#pragma once //#define MULTOP_PARTIAL_PARALLELIZE_RHS #include <algorithm> #include <chrono> #include <iostream> #include <memory> #include <vector> //#include "tamm/block_operations.hpp" #include "tamm/block_mult_plan.hpp" #include "tamm/boundvec.hpp" #include "tamm/errors.hpp" #include "tamm/kernels/assign.hpp" #i...
39.785465
120
0.533793
ltalirz
e651fc9900b2c48f75af2248a9c70d71390f2909
4,012
cpp
C++
src/light.cpp
PegasusEpsilon/Barony
6311f7e5da4835eaea65a95b5cc258409bb0dfa4
[ "FTL", "Zlib", "MIT" ]
373
2016-06-28T06:56:46.000Z
2022-03-23T02:32:54.000Z
src/light.cpp
PegasusEpsilon/Barony
6311f7e5da4835eaea65a95b5cc258409bb0dfa4
[ "FTL", "Zlib", "MIT" ]
361
2016-07-06T19:09:25.000Z
2022-03-26T14:14:19.000Z
src/light.cpp
PegasusEpsilon/Barony
6311f7e5da4835eaea65a95b5cc258409bb0dfa4
[ "FTL", "Zlib", "MIT" ]
129
2016-06-29T09:02:49.000Z
2022-01-23T09:56:06.000Z
/*------------------------------------------------------------------------------- BARONY File: light.cpp Desc: light spawning code Copyright 2013-2016 (c) Turning Wheel LLC, all rights reserved. See LICENSE for details. -------------------------------------------------------------------------------*/ #include ...
24.463415
151
0.45339
PegasusEpsilon
e65224fda2e1aab14002e6a7e83c3043a7d6f82d
1,642
cpp
C++
MonoNative.Tests/mscorlib/System/Text/mscorlib_System_Text_EncoderFallbackBuffer_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/Text/mscorlib_System_Text_EncoderFallbackBuffer_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/Text/mscorlib_System_Text_EncoderFallbackBuffer_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System.Text // Name: EncoderFallbackBuffer // C++ Typed Name: mscorlib::System::Text::EncoderFallbackBuffer #include <gtest/gtest.h> #include <mscorlib/System/Text/mscorlib_System_Text_Encoder...
20.78481
126
0.7162
brunolauze
e65447a2c87b48a6cafdd0ffaff7436edaa4fa41
142
cpp
C++
src/xr_3da/xrGame/TargetAssault.cpp
ixray-team/ixray-b2945
ad5ef375994ee9cd790c4144891e9f00e7efe565
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
src/xr_3da/xrGame/TargetAssault.cpp
ixray-team/ixray-b2945
ad5ef375994ee9cd790c4144891e9f00e7efe565
[ "Linux-OpenIB" ]
null
null
null
src/xr_3da/xrGame/TargetAssault.cpp
ixray-team/ixray-b2945
ad5ef375994ee9cd790c4144891e9f00e7efe565
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
#include "stdafx.h" #include "targetassault.h" CTargetAssault::CTargetAssault(void) { } CTargetAssault::~CTargetAssault(void) { }
12.909091
38
0.697183
ixray-team
e655e97ea240a2648c9d9fb388a84dfe3a9aa11d
270
cpp
C++
src/Main.cpp
david-carrera/language-optimization
961b33e0259e9ec9be50bbe7877d47360129b48d
[ "MIT" ]
null
null
null
src/Main.cpp
david-carrera/language-optimization
961b33e0259e9ec9be50bbe7877d47360129b48d
[ "MIT" ]
null
null
null
src/Main.cpp
david-carrera/language-optimization
961b33e0259e9ec9be50bbe7877d47360129b48d
[ "MIT" ]
null
null
null
#include <ParameterCollection.hpp> #include <LexicalMatrixCSVGenerator.hpp> int main(int argc, char *argv[]) { ParameterCollection params; params.parse(argc, argv); LexicalMatrixCSVGenerator csv(params); csv.generate(); return EXIT_SUCCESS; }
20.769231
42
0.714815
david-carrera
e656593bcf935d0a21042fed6188c5f45f495504
13,033
cpp
C++
lib/src/core1/maskMerger.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
182
2019-04-19T12:38:30.000Z
2022-03-20T16:48:20.000Z
lib/src/core1/maskMerger.cpp
doymcc/stitchEm
20693a55fa522d7a196b92635e7a82df9917c2e2
[ "MIT" ]
107
2019-04-23T10:49:35.000Z
2022-03-02T18:12:28.000Z
lib/src/core1/maskMerger.cpp
doymcc/stitchEm
20693a55fa522d7a196b92635e7a82df9917c2e2
[ "MIT" ]
59
2019-06-04T11:27:25.000Z
2022-03-17T23:49:49.000Z
// Copyright (c) 2012-2017 VideoStitch SAS // Copyright (c) 2018 stitchEm #include "maskMerger.hpp" #include "imageMapping.hpp" #include "voronoiMaskMerger.hpp" #include "panoRemapper.hpp" #include "gpu/image/imageOps.hpp" #include "gpu/memcpy.hpp" #include "libvideostitch/status.hpp" #include "libvideostitch/panoD...
47.565693
120
0.640068
tlalexander
e656ed6130abebb8698cc8a34da4e4fcadf3a865
5,779
cc
C++
tests/npapi_pi/plugin.cc
eseidel/native_client_patches
c699f77e085b91fcc1684ecb63e2e211733afbde
[ "BSD-3-Clause" ]
4
2015-10-27T04:43:02.000Z
2021-08-13T08:21:45.000Z
tests/npapi_pi/plugin.cc
eseidel/native_client_patches
c699f77e085b91fcc1684ecb63e2e211733afbde
[ "BSD-3-Clause" ]
null
null
null
tests/npapi_pi/plugin.cc
eseidel/native_client_patches
c699f77e085b91fcc1684ecb63e2e211733afbde
[ "BSD-3-Clause" ]
1
2015-11-08T10:18:42.000Z
2015-11-08T10:18:42.000Z
/* * Copyright 2008 The Native Client 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 "native_client/tests/npapi_pi/plugin.h" #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <nac...
30.098958
79
0.645786
eseidel
e657b5b7b7372232a5aa2fd24ffb0c781e073deb
6,215
hpp
C++
src/pyco_tree/pico_tree/_pyco_tree/map_straits.hpp
Jaybro/pico_tree
c6f7fb798b60452add7d0e940c4a7737cd72a992
[ "MIT" ]
23
2020-07-19T23:03:01.000Z
2022-03-07T15:06:26.000Z
src/pyco_tree/pico_tree/_pyco_tree/map_straits.hpp
Jaybro/pico_tree
c6f7fb798b60452add7d0e940c4a7737cd72a992
[ "MIT" ]
1
2021-01-26T16:53:16.000Z
2021-01-26T23:20:54.000Z
src/pyco_tree/pico_tree/_pyco_tree/map_straits.hpp
Jaybro/pico_tree
c6f7fb798b60452add7d0e940c4a7737cd72a992
[ "MIT" ]
4
2021-03-04T14:03:28.000Z
2021-05-27T05:36:40.000Z
#pragma once #include <pico_tree/core.hpp> namespace pico_tree { template <typename Scalar_, int Dim_> class PointMap; namespace internal { template <typename Scalar_, int Dim_> class PointMapBase { public: static_assert( Dim_ == kDynamicDim || Dim_ > 0, "SPATIAL_DIMENSION_MUST_DYNAMIC_OR_LARGER_THA...
31.388889
80
0.721802
Jaybro
e657e3d1bdcd9d9c608190baf3291280f46c8898
18,780
hpp
C++
templates/riscv-csr.hpp
five-embeddev/riscv-csr-access
998876885bf6fced2095d034972c82a9bb878ae0
[ "Unlicense" ]
2
2021-06-15T03:16:52.000Z
2022-03-06T15:23:39.000Z
templates/riscv-csr.hpp
five-embeddev/riscv-csr-access
998876885bf6fced2095d034972c82a9bb878ae0
[ "Unlicense" ]
null
null
null
templates/riscv-csr.hpp
five-embeddev/riscv-csr-access
998876885bf6fced2095d034972c82a9bb878ae0
[ "Unlicense" ]
null
null
null
/* Register access classes for RISC-V system registers. SPDX-License-Identifier: Unlicense https://five-embeddev.com/ */ #ifndef RISCV_CSR_HPP #define RISCV_CSR_HPP #include <cstdint> // ------------------------------------------------------------------------ // Base and common classes namespace riscv { ...
41.733333
105
0.456816
five-embeddev
e657f1a1f6ad68047b74a6ca897c43fd7798a07e
3,820
cpp
C++
src/components/store/hstore/src/segment_and_bucket.cpp
ghsecuritylab/comanche
a8862eaed59045377874b95b120832a0cba42193
[ "Apache-2.0" ]
19
2017-10-03T16:01:49.000Z
2021-06-07T10:21:46.000Z
src/components/store/hstore/src/segment_and_bucket.cpp
dnbaker/comanche
121cd0fa16e55d461b366e83511d3810ea2b11c9
[ "Apache-2.0" ]
25
2018-02-21T23:43:03.000Z
2020-09-02T08:47:32.000Z
src/components/store/hstore/src/segment_and_bucket.cpp
dnbaker/comanche
121cd0fa16e55d461b366e83511d3810ea2b11c9
[ "Apache-2.0" ]
19
2017-10-24T17:41:40.000Z
2022-02-22T02:17:18.000Z
/* Copyright [2017-2019] [IBM Corporation] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
23.435583
86
0.654188
ghsecuritylab
e658f300d2b7229d81969c983cd015dfec01adc2
6,096
cpp
C++
cpp/libs/src/opendnp3/outstation/Database.cpp
sidhoda/dnp3
0469f308cb3321e8f5b57ccc2e26a34eb430941c
[ "Apache-2.0" ]
null
null
null
cpp/libs/src/opendnp3/outstation/Database.cpp
sidhoda/dnp3
0469f308cb3321e8f5b57ccc2e26a34eb430941c
[ "Apache-2.0" ]
null
null
null
cpp/libs/src/opendnp3/outstation/Database.cpp
sidhoda/dnp3
0469f308cb3321e8f5b57ccc2e26a34eb430941c
[ "Apache-2.0" ]
null
null
null
/* * Licensed to Green Energy Corp (www.greenenergycorp.com) under one or * more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. * Green Energy Corp licenses this file to you under the Apache License, * Version 2.0 (the "Lic...
25.721519
141
0.739009
sidhoda
e658ff0e23a78f1a8cd593727dee29bd499c340c
12,876
cc
C++
xdl/xdl/data_io/data_io.cc
hitflame/x-deeplearning
c8029396c6ae6dbf397a34a1801ceadc824e4f8d
[ "Apache-2.0" ]
2
2021-02-23T03:11:44.000Z
2021-02-23T03:13:39.000Z
xdl/xdl/data_io/data_io.cc
hitflame/x-deeplearning
c8029396c6ae6dbf397a34a1801ceadc824e4f8d
[ "Apache-2.0" ]
1
2019-11-29T14:52:53.000Z
2019-11-29T14:52:53.000Z
xdl/xdl/data_io/data_io.cc
hitflame/x-deeplearning
c8029396c6ae6dbf397a34a1801ceadc824e4f8d
[ "Apache-2.0" ]
1
2019-08-03T05:22:19.000Z
2019-08-03T05:22:19.000Z
/* Copyright (C) 2016-2018 Alibaba Group Holding Limited 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 ...
25.247059
98
0.632262
hitflame
e6595de9170536bc7a187bee370ae363cca68d1c
1,013
cpp
C++
SimpleEngine3D/core/graphic/shadow_buffer.cpp
lukaszlipski/SimpleEngine3D
8fd81ff17512eed7f84e0b18e94c1a7f9754f573
[ "Apache-2.0" ]
1
2021-08-31T01:45:11.000Z
2021-08-31T01:45:11.000Z
SimpleEngine3D/core/graphic/shadow_buffer.cpp
lukaszlipski/SimpleEngine3D
8fd81ff17512eed7f84e0b18e94c1a7f9754f573
[ "Apache-2.0" ]
null
null
null
SimpleEngine3D/core/graphic/shadow_buffer.cpp
lukaszlipski/SimpleEngine3D
8fd81ff17512eed7f84e0b18e94c1a7f9754f573
[ "Apache-2.0" ]
null
null
null
#include "shadow_buffer.h" #include "../system/graphics.h" namespace SE3D { ShadowBuffer::ShadowBuffer(int32 width, int32 height) : m_Width(width), m_Height(height), m_DepthMap(width, height, TextureSettings(ImageFormat::DEPTH_COMPONENT, InternalFormat::DEPTH_COMPONENT, ImageType::FLOAT, TextureFilter::NEAREST, Te...
25.974359
246
0.766041
lukaszlipski
e65cf9cf6d786f0fe53415fbb36107e23b81b762
1,413
cpp
C++
test/FilterTest.cpp
korosuke613/etrobocon2019
658671c1370c01664c7f1b5b5ac9dcdc3e7fdcdd
[ "WTFPL" ]
null
null
null
test/FilterTest.cpp
korosuke613/etrobocon2019
658671c1370c01664c7f1b5b5ac9dcdc3e7fdcdd
[ "WTFPL" ]
null
null
null
test/FilterTest.cpp
korosuke613/etrobocon2019
658671c1370c01664c7f1b5b5ac9dcdc3e7fdcdd
[ "WTFPL" ]
null
null
null
/** * @file FilterTest.cpp * @brief フィルタークラスのテストファイル * @author T.Miyaji */ #include "Filter.h" #include <gtest/gtest.h> namespace etrobocon2019_test { TEST(Filter, lowPassFilterTest_init) { Filter<> filter; int sensor = 24; // 前回のセンサー値がない場合は、入力値をそのまま返す ASSERT_EQ(static_cast<float>(senso...
21.738462
85
0.664544
korosuke613
e65d6c3a2f5f8039b408a9aa2c3cba65c31d766f
2,183
cpp
C++
Day3/Part2/main.cpp
jgomezselles/aoc_2021
6901a4a249263d328ae43934f099a276b7ef0b41
[ "MIT" ]
null
null
null
Day3/Part2/main.cpp
jgomezselles/aoc_2021
6901a4a249263d328ae43934f099a276b7ef0b41
[ "MIT" ]
null
null
null
Day3/Part2/main.cpp
jgomezselles/aoc_2021
6901a4a249263d328ae43934f099a276b7ef0b41
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <bitset> #include <vector> #include <algorithm> void remove_with_ones(std::vector<std::bitset<12>> &res, const size_t i) { res.erase(std::remove_if(res.begin(), res.end(), [i](std::bitset<12> bs) ...
21.83
73
0.457169
jgomezselles
e661e70c94cf2cdfcaf2361a0897bc29c2092b31
4,125
hpp
C++
Project/Engine/Include/Engine/Application.hpp
lcomstive/PhysicsAssignment
67a3d1e94411b9cf7350c5cb10d9d7aa33d205f0
[ "MIT" ]
null
null
null
Project/Engine/Include/Engine/Application.hpp
lcomstive/PhysicsAssignment
67a3d1e94411b9cf7350c5cb10d9d7aa33d205f0
[ "MIT" ]
null
null
null
Project/Engine/Include/Engine/Application.hpp
lcomstive/PhysicsAssignment
67a3d1e94411b9cf7350c5cb10d9d7aa33d205f0
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <chrono> #include <glm/glm.hpp> // Maths library #include <glad/glad.h> // Modern OpenGL loader #include <GLFW/glfw3.h> // Window & input handling #include <Engine/Log.hpp> // Console logging #include <Engine/Input.hpp> // Handles keyboard & mouse input #include <Engine/Scene....
25.78125
149
0.675394
lcomstive
e66418a9b23fd517c7f61465c2e635661535614f
325
cpp
C++
Vulkan Renderer/main.cpp
Javernus/3D-Engine
8fe6fc7464153cd57086cf8264547cd0573d5e44
[ "MIT" ]
null
null
null
Vulkan Renderer/main.cpp
Javernus/3D-Engine
8fe6fc7464153cd57086cf8264547cd0573d5e44
[ "MIT" ]
null
null
null
Vulkan Renderer/main.cpp
Javernus/3D-Engine
8fe6fc7464153cd57086cf8264547cd0573d5e44
[ "MIT" ]
null
null
null
// // main.cpp // Vulkan Renderer // // Created by Jake Jongejans on 13/11/2021. // #include "main.hpp" #include "VKRenderer/VKRenderer.hpp" int main() { VKRenderer app; try { app.run(); } catch (const std::exception& e) { std::cerr << e.what() << std::endl; return EXIT_FAILURE; } return EXIT_SUCCES...
14.130435
44
0.627692
Javernus
e664f7d27e56f373f57c6accf53c0f2b50481a63
15,196
cpp
C++
chuffed/globals/disjunctive.cpp
tlyphed/chuffed
23b9fcee3bb30b11f68d82ef4534040ebae1a8fb
[ "MIT" ]
62
2016-11-25T08:03:51.000Z
2022-03-05T18:24:19.000Z
chuffed/globals/disjunctive.cpp
tlyphed/chuffed
23b9fcee3bb30b11f68d82ef4534040ebae1a8fb
[ "MIT" ]
57
2016-11-29T16:43:51.000Z
2022-03-06T22:14:45.000Z
chuffed/globals/disjunctive.cpp
tlyphed/chuffed
23b9fcee3bb30b11f68d82ef4534040ebae1a8fb
[ "MIT" ]
31
2016-11-17T12:37:21.000Z
2022-01-22T20:39:17.000Z
#include <chuffed/core/propagator.h> #define DISJ_DEBUG 0 using namespace std; // propagates bounds given precedences class DisjunctiveBP : public Propagator { // structure to store propagation info for lazy explanation struct Pinfo { int var; // which var's bound changed ...
27.087344
111
0.543564
tlyphed
e66f0fa259a39793b2ae63c2fb7ae8e900527e45
2,642
cpp
C++
DeusServer/SerializableSkillComponent.cpp
Suliac/ProjectDeusServer
b7af922a6bc2596c733665898b6aefd989bf2270
[ "MIT" ]
null
null
null
DeusServer/SerializableSkillComponent.cpp
Suliac/ProjectDeusServer
b7af922a6bc2596c733665898b6aefd989bf2270
[ "MIT" ]
null
null
null
DeusServer/SerializableSkillComponent.cpp
Suliac/ProjectDeusServer
b7af922a6bc2596c733665898b6aefd989bf2270
[ "MIT" ]
null
null
null
#include "SerializableSkillComponent.h" namespace DeusServer { SerializableSkillComponent::SerializableSkillComponent(Id componentId, GameObjectComponent::EComponentType componentType, const std::shared_ptr<const DeusCore::SkillInfos> originValue, uint32_t originMs, const std::shared_ptr<const DeusCore::SkillInfo...
35.702703
297
0.768357
Suliac
e670a500f402d858fb39521e80fb77712c3624d6
824
hpp
C++
firmware/src/TPC/Scheduler.hpp
kierdavis/tape-punch-controller
631c7f5895f815c8adbe1ba2ec11520645da1353
[ "MIT" ]
null
null
null
firmware/src/TPC/Scheduler.hpp
kierdavis/tape-punch-controller
631c7f5895f815c8adbe1ba2ec11520645da1353
[ "MIT" ]
16
2018-05-04T14:13:05.000Z
2018-05-25T14:33:52.000Z
firmware/src/TPC/Scheduler.hpp
kierdavis/tape-punch-controller
631c7f5895f815c8adbe1ba2ec11520645da1353
[ "MIT" ]
null
null
null
#ifndef __TPC_SCHEDULER_HPP #define __TPC_SCHEDULER_HPP #include <stdint.h> #include "TPC/Timekeeping.hpp" namespace TPC { namespace Scheduler { enum class TaskID : uint8_t { LCD_STATUS_LINE_SCROLL, PRINTING_COMPLETE, SCAN_FILESYSTEM, TP_CONTROLLER_SERVICE, TP_DATA_PROVIDER_SERVIC...
23.542857
70
0.700243
kierdavis
e670dec6e454099e0a9dc7eb0759a5773384b956
2,482
cpp
C++
Chapter_4_Graph/SSSP/kattis_hidingplaces.cpp
BrandonTang89/CP4_Code
5114471f439978dd11f6f2cbf6af20ca654593da
[ "MIT" ]
2
2021-12-29T04:12:59.000Z
2022-03-30T09:32:19.000Z
Chapter_4_Graph/SSSP/kattis_hidingplaces.cpp
BrandonTang89/CP4_Code
5114471f439978dd11f6f2cbf6af20ca654593da
[ "MIT" ]
null
null
null
Chapter_4_Graph/SSSP/kattis_hidingplaces.cpp
BrandonTang89/CP4_Code
5114471f439978dd11f6f2cbf6af20ca654593da
[ "MIT" ]
1
2022-03-01T06:12:46.000Z
2022-03-01T06:12:46.000Z
/* Kattis - hidingplaces This is probably the most basic of knightmove questions, if not for the fact that we have to do conversion from the file and rank indexing to regular 0 indexing, do the BFS, then convert back, then custom sort. Also, apparently kattis allows for extra trailing spaces in the output, thats good ...
26.978261
101
0.49033
BrandonTang89
e676c70146c01812ff02aa6505a6dd6377199e9a
1,468
cpp
C++
S3DWrapper10/Commands/Flush.cpp
bo3b/iZ3D
ced8b3a4b0a152d0177f2e94008918efc76935d5
[ "MIT" ]
27
2020-11-12T19:24:54.000Z
2022-03-27T23:10:45.000Z
S3DWrapper10/Commands/Flush.cpp
bo3b/iZ3D
ced8b3a4b0a152d0177f2e94008918efc76935d5
[ "MIT" ]
2
2020-11-02T06:30:39.000Z
2022-02-23T18:39:55.000Z
S3DWrapper10/Commands/Flush.cpp
bo3b/iZ3D
ced8b3a4b0a152d0177f2e94008918efc76935d5
[ "MIT" ]
3
2021-08-16T00:21:08.000Z
2022-02-23T19:19:36.000Z
#include "stdafx.h" #include "Flush.h" #include "..\Streamer\CodeGenerator.h" #include "D3DDeviceWrapper.h" #include "Presenter.h" #include "D3DSwapChain.h" namespace Commands { void Flush::Execute( D3DDeviceWrapper *pWrapper ) { BEFORE_EXECUTE(this); pWrapper->OriginalDeviceFuncs.pfnFlush(pWrapper->hDevice); ...
23.677419
97
0.722071
bo3b
e6778d97e671ada2f0976b5baa662e4701c87135
1,361
cpp
C++
10803.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
10803.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
10803.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <utility> #include <stack> #include <queue> #include <map> #define fi first #define se second #define pb push_back #define mp make_pair #define pi 2*acos(0.0) #de...
20.014706
66
0.540044
felikjunvianto
e679d70d54a0fcbb3c941c844d34f522ab6a4eaa
6,529
cc
C++
tests/catch/unit/memory/hipDrvPtrGetAttributes.cc
FMarno/HIP
f0e03e9d45d9ad2c15bf5ec4d44452f17216ade8
[ "MIT" ]
null
null
null
tests/catch/unit/memory/hipDrvPtrGetAttributes.cc
FMarno/HIP
f0e03e9d45d9ad2c15bf5ec4d44452f17216ade8
[ "MIT" ]
null
null
null
tests/catch/unit/memory/hipDrvPtrGetAttributes.cc
FMarno/HIP
f0e03e9d45d9ad2c15bf5ec4d44452f17216ade8
[ "MIT" ]
null
null
null
/* Copyright (c) 2022 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, m...
36.887006
116
0.704855
FMarno
e67abb269c958091646df8d5140bd5812ed897cc
1,766
cpp
C++
core/src/jni/jni/AlgorandAssetAmount.cpp
hlafet-ledger/lib-ledger-core
44d21837e51cb6dfdecb4af4a674cae0aee9f06d
[ "MIT" ]
92
2016-11-13T01:28:34.000Z
2022-03-25T01:11:37.000Z
core/src/jni/jni/AlgorandAssetAmount.cpp
hlafet-ledger/lib-ledger-core
44d21837e51cb6dfdecb4af4a674cae0aee9f06d
[ "MIT" ]
242
2016-11-28T11:13:09.000Z
2022-03-04T13:02:53.000Z
core/src/jni/jni/AlgorandAssetAmount.cpp
hlafet-ledger/lib-ledger-core
44d21837e51cb6dfdecb4af4a674cae0aee9f06d
[ "MIT" ]
91
2017-06-20T10:35:28.000Z
2022-03-09T14:15:40.000Z
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from idl.djinni #include "AlgorandAssetAmount.hpp" // my header #include "Marshal.hpp" namespace djinni_generated { AlgorandAssetAmount::AlgorandAssetAmount() = default; AlgorandAssetAmount::~AlgorandAssetAmount() = default; auto AlgorandAsse...
50.457143
126
0.614949
hlafet-ledger
e67bf90d1fa362c18ca0fe7bb02497b0f4b56b20
487
cpp
C++
SPHINXsys/src/shared/bodies/fluid_body.cpp
SoftwareImpacts/SIMPAC-2020-34
eb2d69e61548eaa11b5a9c20e312d135c5d857f5
[ "Apache-2.0" ]
2
2020-09-24T07:39:22.000Z
2021-04-24T22:12:49.000Z
SPHINXsys/src/shared/bodies/fluid_body.cpp
SoftwareImpacts/SIMPAC-2020-34
eb2d69e61548eaa11b5a9c20e312d135c5d857f5
[ "Apache-2.0" ]
null
null
null
SPHINXsys/src/shared/bodies/fluid_body.cpp
SoftwareImpacts/SIMPAC-2020-34
eb2d69e61548eaa11b5a9c20e312d135c5d857f5
[ "Apache-2.0" ]
null
null
null
/** * @file fluid_body.cpp * @author Luhui Han, Chi ZHang and Xiangyu Hu * @version 0.1 */ #include "fluid_body.h" #include "mesh_cell_linked_list.h" namespace SPH { //===============================================================// FluidBody::FluidBody(SPHSystem &system, string body_name, int refinement_le...
25.631579
68
0.517454
SoftwareImpacts
e67f8eae922ecebafa302959f5728e3139707edd
8,547
hpp
C++
include/utility/container/detail/tripair_helper.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
2
2017-12-10T10:59:48.000Z
2017-12-13T04:11:14.000Z
include/utility/container/detail/tripair_helper.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
include/utility/container/detail/tripair_helper.hpp
SakuraLife/utility
b9bf26198917b6dc415520f74eb3eebf8aa8195e
[ "Unlicense" ]
null
null
null
#ifndef __UTILITY_CONTAINER_DETAIL_TRIPAIR_HELPER__ #define __UTILITY_CONTAINER_DETAIL_TRIPAIR_HELPER__ #include<utility/trait/type/transform/decay.hpp> #include<utility/trait/type/transform/add_cv.hpp> #include<utility/trait/type/releations/is_convertible.hpp> #include<utility/trait/type/features/is_constructible.hp...
36.063291
73
0.64315
SakuraLife
e681e16bf5bf7ed559c5abf4f6d4eafc2f6cda2f
469
cpp
C++
competitive_programming/learning_c++/primer/3_vectors/begin_end_functions_arrays.cpp
CristoferNava/Algorithms-and-DataStructures
ab561bcaf9ac31feaaf32463f08c3162188c3b3f
[ "MIT" ]
null
null
null
competitive_programming/learning_c++/primer/3_vectors/begin_end_functions_arrays.cpp
CristoferNava/Algorithms-and-DataStructures
ab561bcaf9ac31feaaf32463f08c3162188c3b3f
[ "MIT" ]
null
null
null
competitive_programming/learning_c++/primer/3_vectors/begin_end_functions_arrays.cpp
CristoferNava/Algorithms-and-DataStructures
ab561bcaf9ac31feaaf32463f08c3162188c3b3f
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int nums[] = {1, 2, 3, 4, 5}; int *b = begin(nums); // pointer to the first element in nums int *e = end(nums); // pointer one past the last element in nums // As with iterators, subtracting two pointers give us the distance between // those p...
27.588235
79
0.601279
CristoferNava
e68268a099699aa3cfe4473b22331e8865e358a2
8,661
cpp
C++
tc 160+/PokerDeck.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/PokerDeck.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/PokerDeck.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> #include <cctype> #include <map> #include <utility> using namespace std; #define DBG(X) cerr << (#X) << ' ' << (X) #define DBG_NL(X) cerr << (#X) << ' ...
32.683019
389
0.535042
ibudiselic
e688915ba67bd28979c3fa3c0f009777e22c3720
546
cc
C++
smart_car/judge.cc
Incipe-win/RFID
da002328a44ae05ea47761ecebe2c9ed28376fee
[ "Apache-2.0" ]
1
2021-07-14T07:42:09.000Z
2021-07-14T07:42:09.000Z
smart_car/judge.cc
Incipe-win/RFID
da002328a44ae05ea47761ecebe2c9ed28376fee
[ "Apache-2.0" ]
null
null
null
smart_car/judge.cc
Incipe-win/RFID
da002328a44ae05ea47761ecebe2c9ed28376fee
[ "Apache-2.0" ]
null
null
null
#include "judge.h" int judge(unsigned int card_id) { int fd = open("./info.txt", O_RDWR | O_CREAT, 0666); char buf[65]; memset(buf, 0, sizeof(buf)); char info[20]; memset(info, 0, sizeof(info)); int ret = read(fd, buf, sizeof(buf)); unsigned int id = 0; sscanf(buf, "%d %s", &id, info); if (id == card...
20.222222
54
0.542125
Incipe-win
e6889d43ca3f66d591c89c81dbcabfc9cd1932b8
1,835
cpp
C++
src/UI/dialog.cpp
YeWenting/Travel-Simulation-System
8c146d2e576ae2ec0e641eb531f19de59bc36e44
[ "MIT" ]
5
2016-04-09T12:37:46.000Z
2021-06-11T00:31:57.000Z
src/UI/dialog.cpp
YeWenting/Travel-Simulation-System
8c146d2e576ae2ec0e641eb531f19de59bc36e44
[ "MIT" ]
1
2016-04-09T13:09:02.000Z
2016-04-10T08:02:02.000Z
src/UI/dialog.cpp
YeWenting/Travel-Simulation-System
8c146d2e576ae2ec0e641eb531f19de59bc36e44
[ "MIT" ]
2
2016-04-16T07:41:23.000Z
2020-05-11T02:25:59.000Z
#include "dialog.h" #include "ui_dialog.h" #include<sstream> Dialog::Dialog(QWidget *parent) : QDialog(parent), ui(new Ui::Dialog) { ui->setupUi(this); setAttribute(Qt::WA_DeleteOnClose); init_connection(); } Dialog::~Dialog() { delete ui; } void Dialog::accept() { ...
22.654321
98
0.549864
YeWenting
e6890d22d20dda5a0dc307097b983cb8e9d0bdd4
6,169
cpp
C++
src/sksl/SkSLOperators.cpp
TotalCross/skia
7f942e46fda2b45a095a15e372b51b1dadb41560
[ "BSD-3-Clause" ]
null
null
null
src/sksl/SkSLOperators.cpp
TotalCross/skia
7f942e46fda2b45a095a15e372b51b1dadb41560
[ "BSD-3-Clause" ]
null
null
null
src/sksl/SkSLOperators.cpp
TotalCross/skia
7f942e46fda2b45a095a15e372b51b1dadb41560
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2021 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/core/SkTypes.h" #include "src/sksl/SkSLOperators.h" namespace SkSL { namespace Operators { Precedence GetBinaryPrecedence(Token::Kind op) { switch (op) ...
46.734848
78
0.581618
TotalCross
e68aff57b8f464f951195a6f2c7228d462c74835
2,246
cpp
C++
GMLib/modules/opencl/memory/gmimage3d.cpp
MormonJesus69420/Virtual-Reality-Graphics-And-Animation-Project
5cac3042d83f59ca5041247437ddc69afe3487c4
[ "WTFPL" ]
2
2019-08-04T09:41:42.000Z
2022-03-08T02:13:00.000Z
GMLib/modules/opencl/memory/gmimage3d.cpp
MormonJesus69420/Virtual-Reality-Graphics-And-Animation-Project
5cac3042d83f59ca5041247437ddc69afe3487c4
[ "WTFPL" ]
null
null
null
GMLib/modules/opencl/memory/gmimage3d.cpp
MormonJesus69420/Virtual-Reality-Graphics-And-Animation-Project
5cac3042d83f59ca5041247437ddc69afe3487c4
[ "WTFPL" ]
null
null
null
/********************************************************************************** ** ** Copyright (C) 1994 Narvik University College ** Contact: GMlib Online Portal at http://episteme.hin.no ** ** This file is part of the Geometric Modeling Library, GMlib. ** ** GMlib is free software: you can redistribute it ...
37.433333
84
0.592164
MormonJesus69420
e695683e64a44055f4895558968a55a5d72b0972
9,341
cpp
C++
src/kissmalloc/kissmalloc/src/kissmalloc_new.cpp
anonymouscode1/djxperf
b6073a761753aa7a6247f2618977ca3a2633e78a
[ "MIT" ]
50
2019-08-30T13:20:19.000Z
2022-02-12T16:25:38.000Z
src/kissmalloc/kissmalloc/src/kissmalloc_new.cpp
anonymouscode1/djxperf
b6073a761753aa7a6247f2618977ca3a2633e78a
[ "MIT" ]
5
2019-09-02T17:42:07.000Z
2020-07-17T09:30:47.000Z
src/kissmalloc/kissmalloc/src/kissmalloc_new.cpp
anonymouscode1/djxperf
b6073a761753aa7a6247f2618977ca3a2633e78a
[ "MIT" ]
4
2020-03-30T02:57:51.000Z
2021-08-24T09:20:51.000Z
/* * Copyright (C) 2019 Frank Mertens. * * Distribution and use is allowed under the terms of the zlib license * (see kissmalloc/LICENSE). * */ #include "kissmalloc.h" #include <new> #ifndef KISSMALLOC_VALGRIND #ifndef NDEBUG #define KISSMALLOC_VALGRIND #endif #endif #ifdef KISSMALLOC_VALGRIND #include <valgr...
28.565749
121
0.704528
anonymouscode1
e698c88c999f622f63a87478b82b1c9728968999
475
cpp
C++
code/pkg_Core/Modules/LogWriter/Plugin.cpp
xiaobazhang/plugin
d84ae4c678e8bb44e5c936446984499e1aaa1fac
[ "Apache-1.1" ]
null
null
null
code/pkg_Core/Modules/LogWriter/Plugin.cpp
xiaobazhang/plugin
d84ae4c678e8bb44e5c936446984499e1aaa1fac
[ "Apache-1.1" ]
null
null
null
code/pkg_Core/Modules/LogWriter/Plugin.cpp
xiaobazhang/plugin
d84ae4c678e8bb44e5c936446984499e1aaa1fac
[ "Apache-1.1" ]
null
null
null
// x3c - C++ PluginFramework #include <UtilFunc/PluginInc.h> #include "LogObserver.h" static CLogObserver* s_pObserver = NULL; OUTAPI bool x3InitializePlugin() { if (!s_pObserver) { s_pObserver = new CLogObserver; } return true; } OUTAPI void x3UninitializePlugin() { x3::SafeDelete(s_pOb...
15.322581
40
0.665263
xiaobazhang
e69b927eadf709b08aea935a4d2b6c188c941637
3,172
cpp
C++
src/isolib/atoms/BasicAudAtom.cpp
inteltiger/Immersive-Video-Sample
e61a0f93a6b82315b4eccdcfa7b78ce1fb0de92f
[ "BSD-3-Clause" ]
null
null
null
src/isolib/atoms/BasicAudAtom.cpp
inteltiger/Immersive-Video-Sample
e61a0f93a6b82315b4eccdcfa7b78ce1fb0de92f
[ "BSD-3-Clause" ]
null
null
null
src/isolib/atoms/BasicAudAtom.cpp
inteltiger/Immersive-Video-Sample
e61a0f93a6b82315b4eccdcfa7b78ce1fb0de92f
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2019, Intel Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list of con...
26.655462
80
0.696091
inteltiger
e6a12ca68c9a9b64c98c367c28ccf348ca63aa43
2,357
cpp
C++
drawSnowFlake_in_C++_Using_OpenGL.cpp
agancsos/cpp
08ad758f71d899027d6891dca5bed24bf02bbc81
[ "MIT" ]
null
null
null
drawSnowFlake_in_C++_Using_OpenGL.cpp
agancsos/cpp
08ad758f71d899027d6891dca5bed24bf02bbc81
[ "MIT" ]
null
null
null
drawSnowFlake_in_C++_Using_OpenGL.cpp
agancsos/cpp
08ad758f71d899027d6891dca5bed24bf02bbc81
[ "MIT" ]
null
null
null
void drawKoch(float dir,float len,int n){ float pi=.0174533; float dirRad = 0.0174533 * dir; float newX = mOldX + len * cos(dirRad); float newY = mOldY + len * sin(dirRad); if (n == 0) { //Draw initial glVertex2f(mOldX, mOldY); glVertex2f(newX, newY); //Rotate 3 times glVertex2f(-mOld...
29.4625
93
0.55961
agancsos
e6a3db95057ce60d4c6eea2d0b13007f5e9be0bf
532
cpp
C++
src/15000/15993.cpp14.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
8
2018-04-12T15:54:09.000Z
2020-06-05T07:41:15.000Z
src/15000/15993.cpp14.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
src/15000/15993.cpp14.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define MOD 1000000009 using namespace std; int dp[2][100001]; bool v[2][100001]; int solve(int c, int n) { if(n<=0) return 0; if(v[c][n]) return dp[c][n]; v[c][n]=1; return dp[c][n]=(((solve(!c, n-1)+solve(!c, n-2))%MOD)+solve(!c, n-3))%MOD; } int main() { ios_base::sync_with_stdio(0); ...
17.16129
76
0.528195
upple
e6a4d7441199393783a2c18446c7ae71361c853d
16,416
cc
C++
wrspice/devlib/vbic/vbicnois.cc
wrcad/xictools
f46ba6d42801426739cc8b2940a809b74f1641e2
[ "Apache-2.0" ]
73
2017-10-26T12:40:24.000Z
2022-03-02T16:59:43.000Z
wrspice/devlib/vbic/vbicnois.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
12
2017-11-01T10:18:22.000Z
2022-03-20T19:35:36.000Z
wrspice/devlib/vbic/vbicnois.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
34
2017-10-06T17:04:21.000Z
2022-02-18T16:22:03.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
48.712166
107
0.428119
wrcad
e6a5f1a6fb5eff328d28d51908c135dcbc701a7c
10,359
cc
C++
L1Trigger/L1TMuonOverlap/src/OMTFConfiguration.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
L1Trigger/L1TMuonOverlap/src/OMTFConfiguration.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
L1Trigger/L1TMuonOverlap/src/OMTFConfiguration.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include <iostream> #include <algorithm> #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/ParameterSet/interface/FileInPath.h" #include "DataFormats/MuonDetId/interface/CSCDetId.h" #include "DataFormats/MuonDetId/interface/RPCDetId.h" #include "DataFormats/MuonDetId/interface/DTChamberId.h" #i...
37.397112
117
0.641857
nistefan
e6b0f9b285cee58270e611e03c61e8cba7430b00
838
cpp
C++
libs/core/src/to_std_wstring_locale.cpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/src/to_std_wstring_locale.cpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/src/to_std_wstring_locale.cpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // 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) #include <fcppt/public_config.hpp> #include <fcppt/string_view.hpp> #include <fcppt/to_std_wstring_...
26.1875
61
0.743437
freundlich
e6b2d28353e5261b9b859241d03a3bb940724a03
1,648
hh
C++
src/context/StateMovingUnit.hh
zermingore/warevolved
efd0c506658ce6e4ecb6c7eb5bb7d620bc05fd52
[ "MIT" ]
1
2019-09-23T18:16:27.000Z
2019-09-23T18:16:27.000Z
src/context/StateMovingUnit.hh
zermingore/warevolved
efd0c506658ce6e4ecb6c7eb5bb7d620bc05fd52
[ "MIT" ]
2
2018-11-12T18:48:03.000Z
2018-11-15T21:10:02.000Z
src/context/StateMovingUnit.hh
zermingore/warevolved
efd0c506658ce6e4ecb6c7eb5bb7d620bc05fd52
[ "MIT" ]
null
null
null
/** * \file * \date November 25, 2016 * \author Zermingore * \brief StateMovingUnit class declaration */ #ifndef STATE_MOVING_UNIT_HH_ # define STATE_MOVING_UNIT_HH_ # include <memory> # include <context/State.hh> # include <common/using.hh> // Coords class PathFinding; namespace graphics { class Sprite; } ...
18.942529
72
0.679005
zermingore
e6b4327a4cd97178a2ff00bf7aa3cee6b639ecdb
758
hpp
C++
src/common/interfaces/views/imaineditorview.hpp
squeevee/Addle
20ec4335669fbd88d36742f586899d8416920959
[ "MIT" ]
3
2020-03-05T06:36:51.000Z
2020-06-20T03:25:02.000Z
src/common/interfaces/views/imaineditorview.hpp
squeevee/Addle
20ec4335669fbd88d36742f586899d8416920959
[ "MIT" ]
13
2020-03-11T17:43:42.000Z
2020-12-11T03:36:05.000Z
src/common/interfaces/views/imaineditorview.hpp
squeevee/Addle
20ec4335669fbd88d36742f586899d8416920959
[ "MIT" ]
1
2020-09-28T06:53:46.000Z
2020-09-28T06:53:46.000Z
/** * Addle source code * @file * @copyright Copyright 2020 Eleanor Hawk * @copyright Modification and distribution permitted under the terms of the * MIT License. See "LICENSE" for full details. */ #ifndef IMAINEDITORVIEW_HPP #define IMAINEDITORVIEW_HPP #include "itoplevelview.hpp" #include "interfaces/traits...
21.055556
76
0.76781
squeevee
e6b44ed1232f0061f0341b61829e9d4df572aeda
359
hh
C++
src/usd-to-json.hh
GermanAizek/tinyusdz
42358383f363143ad8dd512939a4851902d4f339
[ "MIT" ]
159
2020-04-14T15:59:35.000Z
2022-03-31T14:19:05.000Z
src/usd-to-json.hh
GermanAizek/tinyusdz
42358383f363143ad8dd512939a4851902d4f339
[ "MIT" ]
16
2020-05-21T06:00:40.000Z
2022-02-26T08:50:33.000Z
src/usd-to-json.hh
GermanAizek/tinyusdz
42358383f363143ad8dd512939a4851902d4f339
[ "MIT" ]
8
2020-07-01T04:13:42.000Z
2022-01-30T17:50:52.000Z
// SPDX-License-Identifier: MIT // Experimental USD to JSON converter #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Weverything" #endif #include "nonstd/expected.hpp" #ifdef __clang__ #pragma clang diagnostic pop #endif namespace tinyusd { nonstd::expected<std::string, std::stri...
17.095238
52
0.763231
GermanAizek
e6b8d19437a35d1a7be5d89162cee27d703dc848
134
cpp
C++
linux/cstdio/puts.cpp
zhangrxiang/learn-cpp
6043009096315cab75c92115d8ecb65fb345aade
[ "Apache-2.0" ]
null
null
null
linux/cstdio/puts.cpp
zhangrxiang/learn-cpp
6043009096315cab75c92115d8ecb65fb345aade
[ "Apache-2.0" ]
null
null
null
linux/cstdio/puts.cpp
zhangrxiang/learn-cpp
6043009096315cab75c92115d8ecb65fb345aade
[ "Apache-2.0" ]
null
null
null
// // Created by zing on 5/18/2020. // #include <cstdio> int main(int argc, char *argv[]) { puts("hello world"); return 0; }
13.4
34
0.58209
zhangrxiang
e6ba2a3fb9f784b7124c4612b3d4a873d3f9e1e3
1,762
cpp
C++
aws-cpp-sdk-migrationhubstrategy/source/model/SourceCodeRepository.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-migrationhubstrategy/source/model/SourceCodeRepository.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-migrationhubstrategy/source/model/SourceCodeRepository.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/migrationhubstrategy/model/SourceCodeRepository.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; nam...
19.577778
74
0.745743
perfectrecall
e6bac368660258c06e8b44bb7f52dc6001ee7af2
3,495
cpp
C++
HashTable.cpp
dsackinger/dht
896acace326d45de1f5be472f3cc1a05fd66ee0d
[ "MIT" ]
null
null
null
HashTable.cpp
dsackinger/dht
896acace326d45de1f5be472f3cc1a05fd66ee0d
[ "MIT" ]
null
null
null
HashTable.cpp
dsackinger/dht
896acace326d45de1f5be472f3cc1a05fd66ee0d
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////// // HashTable.cpp // // Copyright (C) 2018 Dan Sackinger - All Rights Reserved // You may use, distribute and modify this code under the // terms of the MIT license. // // Implementation of the HashTable class #include "HashTable.h" #include <...
22.403846
80
0.656938
dsackinger
e6bb6be917efc27713548e3a64630654261329d3
2,145
cpp
C++
SPOJ/Labirinto.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
1
2018-08-28T19:58:40.000Z
2018-08-28T19:58:40.000Z
SPOJ/Labirinto.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
2
2017-04-16T00:48:05.000Z
2017-08-03T20:12:26.000Z
SPOJ/Labirinto.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
4
2016-03-04T19:42:00.000Z
2018-01-08T11:42:00.000Z
#include <iostream> #include <string> #include <sstream> #include <vector> #include <set> #include <map> #include <list> #include <queue> #include <stack> #include <memory> #include <iomanip> #include <functional> #include <new> #include <algorithm> #include <cmath> #include <cstring> #include <cstdlib>...
26.158537
116
0.502564
aajjbb
e6bbfa58d18b07a370e618d1c78e0b853d670b96
14,889
cpp
C++
Frameworks/SnoizeMIDISpy/Driver/MessagePortBroadcaster.cpp
anthroid/MIDIApps
0ff430c0188deb1cfc530e1a8566506d59d5750c
[ "BSD-3-Clause" ]
449
2015-01-04T21:06:04.000Z
2022-03-23T09:28:51.000Z
Frameworks/SnoizeMIDISpy/Driver/MessagePortBroadcaster.cpp
anthroid/MIDIApps
0ff430c0188deb1cfc530e1a8566506d59d5750c
[ "BSD-3-Clause" ]
74
2015-01-04T08:30:22.000Z
2022-03-31T01:16:39.000Z
Frameworks/SnoizeMIDISpy/Driver/MessagePortBroadcaster.cpp
anthroid/MIDIApps
0ff430c0188deb1cfc530e1a8566506d59d5750c
[ "BSD-3-Clause" ]
90
2015-01-04T21:06:12.000Z
2022-01-29T18:16:21.000Z
/* Copyright (c) 2001-2004, Kurt Revis. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the fol...
38.572539
755
0.735845
anthroid
e6bc41e102a376e94d419d0802de927946cb7ca3
9,892
cpp
C++
droneBrainROSModule/src/source/thisswarmagentinterface.cpp
MorS25/cvg_quadrotor_swarm
da75d02049163cf65fd7305bc46a16359a851c7c
[ "BSD-3-Clause" ]
null
null
null
droneBrainROSModule/src/source/thisswarmagentinterface.cpp
MorS25/cvg_quadrotor_swarm
da75d02049163cf65fd7305bc46a16359a851c7c
[ "BSD-3-Clause" ]
null
null
null
droneBrainROSModule/src/source/thisswarmagentinterface.cpp
MorS25/cvg_quadrotor_swarm
da75d02049163cf65fd7305bc46a16359a851c7c
[ "BSD-3-Clause" ]
null
null
null
#include "thisswarmagentinterface.h" ThisSwarmAgentInterface::ThisSwarmAgentInterface() : state_estimator( std::string(MODULE_NAME_ODOMETRY_STATE_ESTIMATOR), ModuleNames::ODOMETRY_STATE_ESTIMATOR), trajectory_controller( std::string(MODULE_NAME_TRAJECTORY_CONTROLLER), ModuleNames::TRAJECTORY_CONTROLLER), a...
36.367647
155
0.720077
MorS25
e6c1a420231a3ef8f358941530bd1eda60aba980
639
hpp
C++
Include/Display.hpp
ShannonHG/CHIP-8-Emulator
37a69e031d276c3ec0d170c34bcaac0450a91d7e
[ "MIT" ]
6
2021-03-11T13:35:45.000Z
2022-01-25T06:40:44.000Z
Include/Display.hpp
ShannonHG/CHIP-8-Emulator
37a69e031d276c3ec0d170c34bcaac0450a91d7e
[ "MIT" ]
null
null
null
Include/Display.hpp
ShannonHG/CHIP-8-Emulator
37a69e031d276c3ec0d170c34bcaac0450a91d7e
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <SDL.h> namespace SHG { class Display { public: static const int LOW_RES_SCREEN_WIDTH = 64; static const int LOW_RES_SCREEN_HEIGHT = 32; static const int LOW_RES_PIXEL_COUNT = LOW_RES_SCREEN_WIDTH * LOW_RES_SCREEN_HEIGHT; Display(int width, int height); void Clea...
19.96875
86
0.72144
ShannonHG
e6c4d69dd59045432fb9cebaf42b40ccbb8669da
149
cpp
C++
debug.cpp
negram/kopete_mrim
c75c28a451e17b14edbe4dcd1ff8b261273473a5
[ "BSD-2-Clause" ]
null
null
null
debug.cpp
negram/kopete_mrim
c75c28a451e17b14edbe4dcd1ff8b261273473a5
[ "BSD-2-Clause" ]
1
2017-01-16T05:37:28.000Z
2018-10-22T06:30:29.000Z
debug.cpp
negram/kopete_mrim
c75c28a451e17b14edbe4dcd1ff8b261273473a5
[ "BSD-2-Clause" ]
null
null
null
#include <kdebug.h> #include "debug.h" int kdeDebugArea() { static int area = KDebug::registerArea("kopete (kopete_mrim)"); return area; }
16.555556
67
0.671141
negram
e6c6ae730e5f99e1644795d12815188f1e851b15
372
cpp
C++
ARRAYS/C++/OrderStatistics/Kth_Largest_max_Sum_Subarray.cpp
Anonymous866/Data-Structures
0ae82f8e68d32fc8fad1ef88db7ece327d5dcd85
[ "Apache-2.0" ]
18
2018-09-15T10:54:22.000Z
2021-09-09T13:20:39.000Z
ARRAYS/C++/OrderStatistics/Kth_Largest_max_Sum_Subarray.cpp
Anonymous866/Data-Structures
0ae82f8e68d32fc8fad1ef88db7ece327d5dcd85
[ "Apache-2.0" ]
48
2018-09-16T04:37:02.000Z
2020-10-20T14:10:06.000Z
ARRAYS/C++/OrderStatistics/Kth_Largest_max_Sum_Subarray.cpp
Anonymous866/Data-Structures
0ae82f8e68d32fc8fad1ef88db7ece327d5dcd85
[ "Apache-2.0" ]
32
2018-09-15T18:09:16.000Z
2020-10-23T13:58:18.000Z
#include<bits/stdc++.h> using namespace std; int KthLargestMaxSumSubarray(int *arr,int size,int k){ return 0; } int main(){ int size,k; cin>>size; int *arr = new int[size]; for(int i = 0 ; i < size ; i++){ cin>>arr[i]; } cin>>k; int result = KthLargestMaxSumSubarray(...
14.307692
54
0.561828
Anonymous866
e6c6bc332b584f46948901690c1427923bcbcec7
5,877
cpp
C++
cmake-build-debug/mechanisms/allen_catalogue.cpp
anstaf/arbsimd
c4ba87b02b26a47ef33d0a3eba78a4f330c88073
[ "BSD-3-Clause" ]
null
null
null
cmake-build-debug/mechanisms/allen_catalogue.cpp
anstaf/arbsimd
c4ba87b02b26a47ef33d0a3eba78a4f330c88073
[ "BSD-3-Clause" ]
null
null
null
cmake-build-debug/mechanisms/allen_catalogue.cpp
anstaf/arbsimd
c4ba87b02b26a47ef33d0a3eba78a4f330c88073
[ "BSD-3-Clause" ]
null
null
null
// Automatically generated by: // ../../mechanisms/generate_catalogue -A arbor -I /Users/antonaf/arbor-ws/arbsimd/cmake-build-debug/mechanisms/generated/allen -o /Users/antonaf/arbor-ws/arbsimd/cmake-build-debug/mechanisms/allen_catalogue.cpp -B multicore -C allen -N arb::allen_catalogue CaDynamics Ca_HVA Ca_LVA Ih Im ...
72.555556
340
0.797686
anstaf
e6ca39ece54612000b643c2dbbdf036fc11a55b1
14,705
cpp
C++
tket/tests/test_ArchitectureAwareSynthesis.cpp
CQCL/tket
3f3d7c24d9a6c9cfd85966c13dcccc8a13f92adb
[ "Apache-2.0" ]
104
2021-09-15T08:16:25.000Z
2022-03-28T21:19:00.000Z
tket/tests/test_ArchitectureAwareSynthesis.cpp
CQCL/tket
3f3d7c24d9a6c9cfd85966c13dcccc8a13f92adb
[ "Apache-2.0" ]
109
2021-09-16T17:14:22.000Z
2022-03-29T06:48:40.000Z
tket/tests/test_ArchitectureAwareSynthesis.cpp
CQCL/tket
3f3d7c24d9a6c9cfd85966c13dcccc8a13f92adb
[ "Apache-2.0" ]
8
2021-10-02T13:47:34.000Z
2022-03-17T15:36:56.000Z
// Copyright 2019-2022 Cambridge Quantum Computing // // 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...
39.52957
78
0.63033
CQCL
e6cbad994f70ad28aa9e8b8d49677ae9879b62d9
1,249
cpp
C++
Contest Volumes/Volume 100/10070 - Leap Year or Not Leap Year and ...cpp
Md-Shamim-Ahmmed/UVA-Online-Judge-Problems-Solution
2334edb153a134aebb883b57d8b4faf0cb859331
[ "MIT" ]
null
null
null
Contest Volumes/Volume 100/10070 - Leap Year or Not Leap Year and ...cpp
Md-Shamim-Ahmmed/UVA-Online-Judge-Problems-Solution
2334edb153a134aebb883b57d8b4faf0cb859331
[ "MIT" ]
null
null
null
Contest Volumes/Volume 100/10070 - Leap Year or Not Leap Year and ...cpp
Md-Shamim-Ahmmed/UVA-Online-Judge-Problems-Solution
2334edb153a134aebb883b57d8b4faf0cb859331
[ "MIT" ]
null
null
null
#include<cstring> #include<sstream> #include<iostream> #include<algorithm> #include<bits/stdc++.h> #define FOR(i, len) for(int i = 0; i < len; i++) #define br "\n" using namespace std; int main() { string str; int p = 0; while (cin >> str) { int test4, test15, test55, test100, test400; int huluculu = 0, buluku...
20.145161
51
0.508407
Md-Shamim-Ahmmed
e6d5e4625be8d586334607db82b0295df433fc55
5,429
cxx
C++
src/Tkr/TkrBase.cxx
fermi-lat/CalibData
b3ee759a8d368ffa2328b45118a196b2ec3d7ef3
[ "BSD-3-Clause" ]
null
null
null
src/Tkr/TkrBase.cxx
fermi-lat/CalibData
b3ee759a8d368ffa2328b45118a196b2ec3d7ef3
[ "BSD-3-Clause" ]
null
null
null
src/Tkr/TkrBase.cxx
fermi-lat/CalibData
b3ee759a8d368ffa2328b45118a196b2ec3d7ef3
[ "BSD-3-Clause" ]
null
null
null
// $Header: /nfs/slac/g/glast/ground/cvs/CalibData/src/Tkr/TkrBase.cxx,v 1.5 2007/06/11 20:32:28 jrb Exp $ #include "CalibData/Tkr/UniBase.h" #include "CalibData/Tkr/TkrBase.h" #include "TkrFinder.h" #include "GaudiKernel/MsgStream.h" namespace CalibData { const CLID TkrBase::noCLID = 0; const CLID& TkrBase::c...
29.666667
106
0.614294
fermi-lat
e6d8f10ce875061afe20c782d4e8875b98f3267f
524
cpp
C++
Algorithms/Math/Permutation_and_Combination/prev_permutation.cpp
TheMartian73/Data-Structure-and-Algorithm
8a37ad3f5d3cfc65b02240c4a5b2bdd30763143e
[ "MIT" ]
null
null
null
Algorithms/Math/Permutation_and_Combination/prev_permutation.cpp
TheMartian73/Data-Structure-and-Algorithm
8a37ad3f5d3cfc65b02240c4a5b2bdd30763143e
[ "MIT" ]
3
2020-07-02T15:42:05.000Z
2020-07-06T19:49:52.000Z
Algorithms/Math/Permutation_and_Combination/prev_permutation.cpp
TheMartian73/Data-Structure-and-Algorithm
8a37ad3f5d3cfc65b02240c4a5b2bdd30763143e
[ "MIT" ]
2
2020-07-26T14:21:02.000Z
2020-10-01T08:36:37.000Z
#include <iostream> #include <vector> #include <algorithm> using namespace std; bool PrevPermutation(string &str) { int n = str.size(); int i = n - 1; while(i && str[i - 1] <= str[i]) i--; if (!i) return false; int j = i + 1; while(j < n && str[i - 1] >= str[j]) j++; swap(str[i - 1], str[j-1]...
16.903226
47
0.540076
TheMartian73
e6da19e42f0003fda0fba76afe32142263699f86
258
tpp
C++
BCC__BCC36B__P[3]__HenriqueMarcuzzo_2046334/impl/semantica-testes/sema-005.tpp
hmarcuzzo/compiler_project
2463d19c2b81ba28a943974828e8bb5954424cac
[ "Apache-2.0" ]
null
null
null
BCC__BCC36B__P[3]__HenriqueMarcuzzo_2046334/impl/semantica-testes/sema-005.tpp
hmarcuzzo/compiler_project
2463d19c2b81ba28a943974828e8bb5954424cac
[ "Apache-2.0" ]
null
null
null
BCC__BCC36B__P[3]__HenriqueMarcuzzo_2046334/impl/semantica-testes/sema-005.tpp
hmarcuzzo/compiler_project
2463d19c2b81ba28a943974828e8bb5954424cac
[ "Apache-2.0" ]
4
2020-12-11T10:12:37.000Z
2021-11-01T18:34:25.000Z
{Erro: Chamada à função 'func' com número de parâmetros menor que o declarado} {Erro: Função principal deveria retornar inteiro, mas retorna vazio} inteiro func(inteiro: x, inteiro: y) retorna(x + y) fim inteiro principal() inteiro: a a := func(10) fim
21.5
78
0.736434
hmarcuzzo
5c7850bb2b58c6dcbb8250165f2e245c6dbe2276
1,535
hpp
C++
include/imagedata.hpp
LightningCreations/pipeworks
8483bca4d8c621972ba818bf402335bbbf5cb66d
[ "Apache-2.0", "MIT" ]
2
2021-01-01T23:57:32.000Z
2021-01-15T15:38:51.000Z
include/imagedata.hpp
LightningCreations/pipeworks
8483bca4d8c621972ba818bf402335bbbf5cb66d
[ "Apache-2.0", "MIT" ]
2
2021-01-04T22:22:25.000Z
2021-02-08T22:01:28.000Z
include/imagedata.hpp
LightningCreations/pipeworks
8483bca4d8c621972ba818bf402335bbbf5cb66d
[ "Apache-2.0", "MIT" ]
null
null
null
#ifndef PW_IMAGEDATA_HPP #define PW_IMAGEDATA_HPP #include <cstdint> namespace pipeworks { /// \brief Implementation defined image data format class ImageData { private: const uint32_t m_width; const uint32_t m_height; const uint8_t *m_data; const void(*m_deleter)(void*); public: /// \brief C...
31.326531
132
0.688599
LightningCreations
5c7c3b71a2b3cdbf84b97921136ffe2abcc055e4
3,032
cpp
C++
fennel/btree/BTreeCompactNodeAccessor.cpp
alexavila150/luciddb
e3125564eb18238677e6efb384b630cab17bb472
[ "Apache-2.0" ]
14
2015-07-21T06:31:22.000Z
2020-05-13T14:18:33.000Z
fennel/btree/BTreeCompactNodeAccessor.cpp
alexavila150/luciddb
e3125564eb18238677e6efb384b630cab17bb472
[ "Apache-2.0" ]
1
2020-05-04T23:08:51.000Z
2020-05-04T23:08:51.000Z
fennel/btree/BTreeCompactNodeAccessor.cpp
alexavila150/luciddb
e3125564eb18238677e6efb384b630cab17bb472
[ "Apache-2.0" ]
22
2015-01-03T14:27:36.000Z
2021-09-14T02:09:13.000Z
/* // Licensed to DynamoBI Corporation (DynamoBI) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. DynamoBI licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may ...
28.074074
79
0.706135
alexavila150
5c7c825d9d290a5fb97dc03ffb78d25bed5bc64b
12,519
cc
C++
kvs/lock_state.cc
rescrv/Consus
bb05df2f314b1dc7510a3fb73604491227ebc516
[ "BSD-3-Clause" ]
239
2016-12-13T16:27:52.000Z
2021-09-19T20:46:38.000Z
kvs/lock_state.cc
ngaut/Consus
bb05df2f314b1dc7510a3fb73604491227ebc516
[ "BSD-3-Clause" ]
6
2016-12-19T02:11:28.000Z
2017-09-07T02:44:47.000Z
kvs/lock_state.cc
ngaut/Consus
bb05df2f314b1dc7510a3fb73604491227ebc516
[ "BSD-3-Clause" ]
16
2016-12-18T09:48:28.000Z
2019-01-27T08:51:34.000Z
// Copyright (c) 2015-2016, Robert Escriva, Cornell University // 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...
28.582192
122
0.521927
rescrv
5c7f93a83286b0fd1f14827d3761fd79dae8e56d
1,949
cpp
C++
Codejam 2019/1A/P1/a.cpp
Ocete/Programming-Contests
6b38fa8f84f413e7265d14bec981f6c7339ff3eb
[ "MIT" ]
null
null
null
Codejam 2019/1A/P1/a.cpp
Ocete/Programming-Contests
6b38fa8f84f413e7265d14bec981f6c7339ff3eb
[ "MIT" ]
null
null
null
Codejam 2019/1A/P1/a.cpp
Ocete/Programming-Contests
6b38fa8f84f413e7265d14bec981f6c7339ff3eb
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; bool isPossible(int R, int C) { int m = min(R,C), M = max (R,C); return M >= 5 || ( M == 4 && m >= 3); } void printPair(int i, int j) { cout << i+1 << " " << j+1 << endl; } bool goodPos(pair<int,int> p, int ki, int kj) { return p.first != ki && p.second != kj && (p.fi...
20.515789
77
0.424833
Ocete
5c81cad603ba557c3a65d70e160a8de8bf6aa269
11,569
cpp
C++
aspects/fluid/conductor/GunnsFluidPipe.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
18
2020-01-23T12:14:09.000Z
2022-02-27T22:11:35.000Z
aspects/fluid/conductor/GunnsFluidPipe.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
39
2020-11-20T12:19:35.000Z
2022-02-22T18:45:55.000Z
aspects/fluid/conductor/GunnsFluidPipe.cpp
nasa/gunns
248323939a476abe5178538cd7a3512b5f42675c
[ "NASA-1.3" ]
7
2020-02-10T19:25:43.000Z
2022-03-16T01:10:00.000Z
/************************** TRICK HEADER *********************************************************** @copyright Copyright 2019 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved. LIBRARY DEPENDENCY: ((core/GunnsFluidConduc...
45.90873
100
0.447662
nasa
5c845cf6b8c5b7baa682058373ca2dbc21c4b139
2,438
cpp
C++
src/games/Arena/BehaviorTree/PriorityNode.cpp
wangyanxing/Demi3D
73e684168bd39b894f448779d41fab600ba9b150
[ "MIT" ]
10
2015-03-04T04:27:15.000Z
2020-06-04T14:06:47.000Z
src/games/Arena/BehaviorTree/PriorityNode.cpp
wangyanxing/Demi3D
73e684168bd39b894f448779d41fab600ba9b150
[ "MIT" ]
null
null
null
src/games/Arena/BehaviorTree/PriorityNode.cpp
wangyanxing/Demi3D
73e684168bd39b894f448779d41fab600ba9b150
[ "MIT" ]
5
2015-10-17T19:09:58.000Z
2021-11-15T23:42:18.000Z
/************************************************************************/ /* */ /* This file was adapted from libbehavior */ /* Website: https://code.google.com/p/libbehavior/ */ /* License: http://o...
31.25641
118
0.468827
wangyanxing
5c8658717285470ab2efbbcacc3a69010673e072
282
cpp
C++
test/text_charconv_helper_test.cpp
PazerOP/stuff
8ef31153dce1c9593d59fe7fb731fca4d15f3fa6
[ "MIT" ]
null
null
null
test/text_charconv_helper_test.cpp
PazerOP/stuff
8ef31153dce1c9593d59fe7fb731fca4d15f3fa6
[ "MIT" ]
4
2020-01-04T02:26:00.000Z
2020-04-19T10:46:50.000Z
test/text_charconv_helper_test.cpp
PazerOP/stuff
8ef31153dce1c9593d59fe7fb731fca4d15f3fa6
[ "MIT" ]
null
null
null
#include "catch2/repo/single_include/catch2/catch.hpp" #ifdef __cpp_lib_to_chars #include "mh/text/charconv_helper.hpp" TEST_CASE("charconv helpers", "[text][charconv_helper]") { std::string test; test << "Hello" << " world" << " !"; REQUIRE(test == "Hello world !"); } #endif
21.692308
56
0.691489
PazerOP
5c8718f61f9d4e71130bc73302e3dbfbbdc35d1a
1,640
cpp
C++
src/tests/IPFSTest.cpp
blockfrost/blockfrost-arduino
04525e01dd535c167cc97232670809cac2575ee3
[ "Apache-2.0" ]
7
2021-12-15T12:11:21.000Z
2022-01-25T13:29:04.000Z
src/tests/IPFSTest.cpp
blockfrost/blockfrost-arduino
04525e01dd535c167cc97232670809cac2575ee3
[ "Apache-2.0" ]
null
null
null
src/tests/IPFSTest.cpp
blockfrost/blockfrost-arduino
04525e01dd535c167cc97232670809cac2575ee3
[ "Apache-2.0" ]
null
null
null
#include "types/IPFS.h" using namespace Blockfrost; #include <string> #include <list> #include <unity.h> #include "bourne/json.hpp" void test_IPFSAdd() { std::string raw = "{" " \"name\": \"README.md\"," " \"ipfs_hash\": \"QmZbHqiCxKEVX7QfijzJTkZiSi3WEVTcvANgNAWzDYgZDr\"," " \"size\": \"125297\...
26.451613
98
0.678049
blockfrost
5c89ddf65373f3ad4432e3e31c66f72211ef4b6a
768
cpp
C++
CGES/src/texture.cpp
Nao-Shirotsu/Embree_CGES
6f70984a49c9bf4ad94ed1496ac2dbc314889de8
[ "Apache-2.0" ]
2
2020-09-25T15:02:23.000Z
2020-11-27T05:28:20.000Z
CGES/src/texture.cpp
Nao-Shirotsu/Embree-CGES
6f70984a49c9bf4ad94ed1496ac2dbc314889de8
[ "Apache-2.0" ]
30
2020-02-26T02:55:30.000Z
2020-10-18T18:00:12.000Z
CGES/src/texture.cpp
Nao-Shirotsu/Embree-CGES
6f70984a49c9bf4ad94ed1496ac2dbc314889de8
[ "Apache-2.0" ]
null
null
null
#include "texture.hpp" #include "util_texture.hpp" #include <algorithm> namespace cges { Texture::Texture(const char* const filePath) : m_imageBuffer(tex::LoadFromFile(filePath)) {} Texture::Texture(const ColorRGBA singleColor) : m_imageBuffer(1, 1) { m_imageBuffer[0][0] = singleColor; } C...
27.428571
96
0.705729
Nao-Shirotsu
5c8c9de20dc755632d5232a642fbfeb8611b1677
1,401
cpp
C++
PAT/A 1029.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
PAT/A 1029.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
PAT/A 1029.cpp
windcry1/My-ACM-ICPC
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
[ "MIT" ]
null
null
null
/************************************************************************* >>> Author: WindCry1 >>> Mail: lanceyu120@gmail.com >>> Website: https://windcry1.com >>> Date: 8/2/2019 6:47:20 PM *************************************************************************/ #pragma GCC optimize(3,"Ofast","inline") #include<iost...
17.085366
74
0.494647
windcry1
5c8ec15c46a9e230dc6bc444adbfea30b478cf6e
2,695
cpp
C++
src_test/blockchain/trx/test_transaction_sig.cpp
alinous-core/codable-cash
32a86a152a146c592bcfd8cc712f4e8cb38ee1a0
[ "MIT" ]
1
2020-10-15T08:24:35.000Z
2020-10-15T08:24:35.000Z
src_test/blockchain/trx/test_transaction_sig.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
null
null
null
src_test/blockchain/trx/test_transaction_sig.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
null
null
null
/* * test_transaction_sig.cpp * * Created on: 2022/03/23 * Author: iizuka */ #include "test_utils/t_macros.h" #include "numeric/BigInteger.h" #include "bc_address/BlockchainAddressManager.h" #include "bc_address/BlockchainAddress.h" #include "base/StackRelease.h" #include "bc_trx/Transaction.h" #includ...
25.186916
88
0.740631
alinous-core
5c942fb923a7063c43faf233f73e183f21e1cce6
3,001
cpp
C++
maku/render/kernel32_hooker.cpp
shileiyu/maku
be07aa6f804c387aafbd79cdf952bd6a93c18771
[ "MIT" ]
10
2015-04-09T01:43:28.000Z
2021-03-29T15:59:01.000Z
maku/render/kernel32_hooker.cpp
shileiyu/maku
be07aa6f804c387aafbd79cdf952bd6a93c18771
[ "MIT" ]
null
null
null
maku/render/kernel32_hooker.cpp
shileiyu/maku
be07aa6f804c387aafbd79cdf952bd6a93c18771
[ "MIT" ]
1
2020-07-02T03:52:56.000Z
2020-07-02T03:52:56.000Z
//without this macro that will lead to confilcit with winsock2 header //we define it ourself. #include "kernel32_hooker.h" #include "detours\detours.h" #include "detours\detours_ext.h" #include "ddraw_hooker.h" //#include "d3d8_hooker.h" #include "d3d9_hooker.h" #include "dxgi_hooker.h" #include "dinput_hooker.h" #in...
26.794643
73
0.634455
shileiyu
5c9a09614a50afc455a65249515c69137253ddc0
1,569
cpp
C++
TAO/orbsvcs/examples/ORT/Server_IORInterceptor.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/orbsvcs/examples/ORT/Server_IORInterceptor.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/orbsvcs/examples/ORT/Server_IORInterceptor.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// $Id: Server_IORInterceptor.cpp 91676 2010-09-08 19:10:28Z johnnyw $ #include "Server_IORInterceptor.h" #include "Gateway_ObjRef_Factory.h" Server_IORInterceptor:: Server_IORInterceptor (Gateway::Object_Factory_ptr factory) : gateway_object_factory_ (Gateway::Object_Factory::_duplicate (factory)) { } Server_IORI...
23.41791
75
0.745698
cflowe
5c9a7953c30c674b155f747ec8ca977dd0f61139
2,579
cc
C++
zircon/kernel/arch/x86/hwp.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
3
2020-08-02T04:46:18.000Z
2020-08-07T10:10:53.000Z
zircon/kernel/arch/x86/hwp.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
null
null
null
zircon/kernel/arch/x86/hwp.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
1
2020-08-07T10:11:49.000Z
2020-08-07T10:11:49.000Z
// Copyright 2017 The Fuchsia Authors // Copyright (c) 2016 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 #include <err.h> #include <inttypes.h> #include <lib/console.h> #include <string.h> #inc...
28.977528
99
0.703761
winksaville
5c9a88b47f70b0e76ac1a994ea6dbdd07204ed1e
1,889
cpp
C++
communication/src/TlsRunner.cpp
evdzhurov/concord-bft
2e4fdabe0228b51d4d43398158e97d4e36ff974a
[ "Apache-2.0" ]
null
null
null
communication/src/TlsRunner.cpp
evdzhurov/concord-bft
2e4fdabe0228b51d4d43398158e97d4e36ff974a
[ "Apache-2.0" ]
null
null
null
communication/src/TlsRunner.cpp
evdzhurov/concord-bft
2e4fdabe0228b51d4d43398158e97d4e36ff974a
[ "Apache-2.0" ]
null
null
null
// Concord // // Copyright (c) 2021-2022 VMware, Inc. All Rights Reserved. // // This product is licensed to you under the Apache 2.0 license (the "License"). You may not use // this product except in compliance with the Apache 2.0 License. // // This product may include a number of subcomponents with separate copyrigh...
31.483333
102
0.707782
evdzhurov
5c9f28a6baf3cec3031e30d4f03228fee1d4d488
872
cc
C++
zircon/system/utest/fdio/fdio_unsafe.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
1
2019-04-21T18:02:26.000Z
2019-04-21T18:02:26.000Z
zircon/system/utest/fdio/fdio_unsafe.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
16
2020-09-04T19:01:11.000Z
2021-05-28T03:23:09.000Z
zircon/system/utest/fdio/fdio_unsafe.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <fbl/unique_fd.h> #include <fcntl.h> #include <fuchsia/io/c/fidl.h> #include <lib/fdio/directory.h> #include <lib/fdio/unsafe.h> #include <lib/zx/...
27.25
95
0.719037
OpenTrustGroup
5ca0f9475a316d1055fd7c7f7093a013e9bc338f
18,628
cpp
C++
src/Wax9.cpp
redpaperheart/Wax9
1d3be081727c8aa30f42ea05028e78a9026130cb
[ "Unlicense" ]
3
2016-02-25T15:39:05.000Z
2019-08-28T20:37:41.000Z
src/Wax9.cpp
redpaperheart/Wax9
1d3be081727c8aa30f42ea05028e78a9026130cb
[ "Unlicense" ]
1
2015-02-06T16:51:31.000Z
2015-04-24T18:20:21.000Z
src/Wax9.cpp
redpaperheart/Wax9
1d3be081727c8aa30f42ea05028e78a9026130cb
[ "Unlicense" ]
null
null
null
/* Created by Adrià Navarro at Red Paper Heart Copyright (c) 2015, Red Paper Heart All rights reserved. This code is designed for use with the Cinder C++ library, http://libcinder.org To contact Red Paper Heart, email hello@redpaperheart.com or tweet @redpaperhearts Redistribution and use in source and bi...
35.015038
191
0.528989
redpaperheart
5ca25b39293854bdcddc2d8d92c5550b052b0b1f
1,620
hpp
C++
ABC_Shadow_cpp/ABCShadow.hpp
quentinl-c/ABC_Shadow_cpp
d65c188703f98d419f006d29c7d8c39e2e1341a8
[ "MIT" ]
null
null
null
ABC_Shadow_cpp/ABCShadow.hpp
quentinl-c/ABC_Shadow_cpp
d65c188703f98d419f006d29c7d8c39e2e1341a8
[ "MIT" ]
null
null
null
ABC_Shadow_cpp/ABCShadow.hpp
quentinl-c/ABC_Shadow_cpp
d65c188703f98d419f006d29c7d8c39e2e1341a8
[ "MIT" ]
null
null
null
// // ABCShadow.hpp // ABC_Shadow_cpp // // Created by Quentin on 13/01/2020. // Copyright © 2020 Quentin. All rights reserved. // #ifndef ABCShadow_hpp #define ABCShadow_hpp #include <iostream> #include <fstream> #include "MCMCSim.hpp" #include "PottsModel.hpp" #include "RandomGen.hpp" #include "Stats.hpp" usin...
22.191781
59
0.592593
quentinl-c
5caf519e61b79260de483b73f9707c12e7d10ca3
5,129
cpp
C++
sample/plural_test.cpp
mjukel/spiritless_po
3a7dc0155aeab627b10ffaf64101590b3cc9f2f3
[ "BSL-1.0" ]
null
null
null
sample/plural_test.cpp
mjukel/spiritless_po
3a7dc0155aeab627b10ffaf64101590b3cc9f2f3
[ "BSL-1.0" ]
null
null
null
sample/plural_test.cpp
mjukel/spiritless_po
3a7dc0155aeab627b10ffaf64101590b3cc9f2f3
[ "BSL-1.0" ]
null
null
null
/* sample/plural_test.cpp Copyright (c) 2019 OOTA, Masato spiritless_po 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 License, or (at your option) any later version. spiritless_po is d...
37.992593
89
0.371027
mjukel
5caf61941a63af1ac3de17075e4ed9b5d5303212
2,247
cpp
C++
Search/countNegatives.cpp
HectorTa1989/LeetCode-Cpp
506c92d5b0f3084e6a5099b99a3cffdd327211d9
[ "MIT" ]
null
null
null
Search/countNegatives.cpp
HectorTa1989/LeetCode-Cpp
506c92d5b0f3084e6a5099b99a3cffdd327211d9
[ "MIT" ]
null
null
null
Search/countNegatives.cpp
HectorTa1989/LeetCode-Cpp
506c92d5b0f3084e6a5099b99a3cffdd327211d9
[ "MIT" ]
null
null
null
/*Given a m * n matrix grid which is sorted in non-increasing order both row-wise and column-wise. Return the number of negative numbers in grid. Example 1: Input: grid = [[4,3,2,-1],[3,2,1,-1],[1,1,-1,-2],[-1,-1,-2,-3]] Output: 8 Explanation: There are 8 negatives number in the matrix. Example 2: Input: grid = [[3,...
33.044118
119
0.538496
HectorTa1989
5caf9e53de8ac566f29f599f88bdb3cfb0960f89
2,117
cpp
C++
inetsrv/iis/admin/cnfgprts/ratppg.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/iis/admin/cnfgprts/ratppg.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/iis/admin/cnfgprts/ratppg.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// RatPpg.cpp : Implementation of the CRatPropPage property page class. #include "stdafx.h" #include "cnfgprts.h" #include "RatPpg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif IMPLEMENT_DYNCREATE(CRatPropPage, COlePropertyPage) ////////////////...
27.141026
78
0.563061
npocmaka
5cafa932612b07d07d44d4c9e47352081b571a09
792
cc
C++
chrome/browser/local_discovery/privetv3_setup_flow.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-01-25T10:18:18.000Z
2021-01-23T15:29:56.000Z
chrome/browser/local_discovery/privetv3_setup_flow.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/local_discovery/privetv3_setup_flow.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:24:13.000Z
2020-11-04T07:24:13.000Z
// 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 "chrome/browser/local_discovery/privetv3_setup_flow.h" #include "base/logging.h" namespace local_discovery { PrivetV3SetupFlow::Delegate::~Del...
24.75
78
0.776515
justremotephone
5cafe75f0ca5604f32ca918619b6c1fb0b809297
68,026
cpp
C++
services/bluetooth_standard/service/src/avrcp_ct/avrcp_ct_service.cpp
openharmony-sig-ci/communication_bluetooth
c9d9614e881224abfb423505e25e72163dd25df3
[ "Apache-2.0" ]
null
null
null
services/bluetooth_standard/service/src/avrcp_ct/avrcp_ct_service.cpp
openharmony-sig-ci/communication_bluetooth
c9d9614e881224abfb423505e25e72163dd25df3
[ "Apache-2.0" ]
null
null
null
services/bluetooth_standard/service/src/avrcp_ct/avrcp_ct_service.cpp
openharmony-sig-ci/communication_bluetooth
c9d9614e881224abfb423505e25e72163dd25df3
[ "Apache-2.0" ]
1
2021-09-13T11:16:33.000Z
2021-09-13T11:16:33.000Z
/* * Copyright (C) 2021 Huawei Device 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 law ...
30.260676
143
0.623218
openharmony-sig-ci
5cb007037f88ba46d77d4c9fde06395f8a0f8b08
2,937
cpp
C++
src/explosion.cpp
kaolin/detritus
e7031d0d47def22a8a165e694b4893ed31da6282
[ "BSD-3-Clause" ]
null
null
null
src/explosion.cpp
kaolin/detritus
e7031d0d47def22a8a165e694b4893ed31da6282
[ "BSD-3-Clause" ]
null
null
null
src/explosion.cpp
kaolin/detritus
e7031d0d47def22a8a165e694b4893ed31da6282
[ "BSD-3-Clause" ]
null
null
null
#include "explosion.h" #include "exhaust.h" #include "thing.h" #include "geometry.h" #include "state.h" #include "ship.h" Explosion::Explosion(Thing *t,const XYZ* velocity, const XYZ* position,float size,float shortenby):Exhaust(velocity,position,shortenby) { this->thing = t; this->size = size; } Explos...
26.944954
138
0.637726
kaolin
5cb58b742662b16686efa7fc4f06e29cdf8c145a
758
hpp
C++
GaiaBehaviorTree/Decorators/If.hpp
GaiaCommittee/GaiaBehaviorTree
dee16450f340024e72e035888a4c1c8e38413795
[ "MIT" ]
null
null
null
GaiaBehaviorTree/Decorators/If.hpp
GaiaCommittee/GaiaBehaviorTree
dee16450f340024e72e035888a4c1c8e38413795
[ "MIT" ]
null
null
null
GaiaBehaviorTree/Decorators/If.hpp
GaiaCommittee/GaiaBehaviorTree
dee16450f340024e72e035888a4c1c8e38413795
[ "MIT" ]
null
null
null
#pragma once #include "ConditionalDecorator.hpp" namespace Gaia::BehaviorTree::Decorators { /** * @brief Behavior decorated by If will only be executed when condition of If returns Result::Success. */ class If : public ConditionalDecorator { REFLECT_TYPE(Gaia::BehaviorTree::Decorators, C...
30.32
106
0.613456
GaiaCommittee
5cb7812d5746169d432ce9c54fd2e3857b93e5b7
1,118
hpp
C++
matrix.hpp
a12n/rematrix
e539a5573a99665ba7b21e1c2114508060dcd163
[ "MIT" ]
2
2022-01-15T16:27:05.000Z
2022-01-15T16:48:03.000Z
matrix.hpp
a12n/rematrix
e539a5573a99665ba7b21e1c2114508060dcd163
[ "MIT" ]
null
null
null
matrix.hpp
a12n/rematrix
e539a5573a99665ba7b21e1c2114508060dcd163
[ "MIT" ]
null
null
null
#ifndef REMATRIX_MATRIX_HPP #define REMATRIX_MATRIX_HPP #include <cmath> #include "decl.hpp" namespace rematrix { using vec3 = array<float, 3>; using vec4 = array<float, 4>; using mat4 = array<vec4, 4>; inline const mat4 identity{ { { 1.0f, 0.0f, 0.0f, 0.0f }, { 0.0f, 1.0f, 0.0f, 0.0f }, { 0.0f, 0....
21.09434
67
0.54025
a12n
5cbab43aafac778d09aff85de2b59066023d9379
9,744
cc
C++
RecoMuon/MuonSeedGenerator/src/MuonDTSeedFromRecHits.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
RecoMuon/MuonSeedGenerator/src/MuonDTSeedFromRecHits.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
RecoMuon/MuonSeedGenerator/src/MuonDTSeedFromRecHits.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
/** * See header file for a description of this class. * * * \author A. Vitelli - INFN Torino, V.Palichik * \author porting R. Bellan * */ #include "RecoMuon/MuonSeedGenerator/src/MuonDTSeedFromRecHits.h" #include "RecoMuon/MuonSeedGenerator/src/MuonSeedPtExtractor.h" #include "RecoMuon/TransientTrackingRecH...
26.769231
104
0.556548
nistefan
5cbc9fc3706029aac642e2e5769aae34233a6368
395
hpp
C++
cpp/include/ITimer.hpp
skydiveuas/skylync
73db7fe4593e262a1fc1a7b61c18190275abe723
[ "MIT" ]
1
2018-06-06T20:33:28.000Z
2018-06-06T20:33:28.000Z
cpp/include/ITimer.hpp
skydiveuas/skylync
73db7fe4593e262a1fc1a7b61c18190275abe723
[ "MIT" ]
null
null
null
cpp/include/ITimer.hpp
skydiveuas/skylync
73db7fe4593e262a1fc1a7b61c18190275abe723
[ "MIT" ]
1
2020-07-31T03:39:15.000Z
2020-07-31T03:39:15.000Z
#ifndef ITIMER_HPP #define ITIMER_HPP #include <functional> namespace sl { class ITimer { public: typedef std::function<void(void)> Task; typedef size_t Milisec; virtual ~ITimer(); virtual void callEvery(const Milisec interval, Task task) = 0; virtual void callAfter(const Milisec timeout, Task ...
15.192308
66
0.683544
skydiveuas
5cbe1b10a50be180d101cc9788d70f0c11e6e42a
4,446
cpp
C++
geopdf/src/ossimGeoPdfReaderFactory.cpp
dardok/ossim-plugins
3406ffed9fcab88fe4175b845381611ac4122c81
[ "MIT" ]
12
2016-09-09T01:24:12.000Z
2022-01-09T21:45:58.000Z
geopdf/src/ossimGeoPdfReaderFactory.cpp
dardok/ossim-plugins
3406ffed9fcab88fe4175b845381611ac4122c81
[ "MIT" ]
5
2016-02-04T16:10:40.000Z
2021-06-29T05:00:29.000Z
geopdf/src/ossimGeoPdfReaderFactory.cpp
dardok/ossim-plugins
3406ffed9fcab88fe4175b845381611ac4122c81
[ "MIT" ]
20
2015-11-17T11:46:22.000Z
2021-11-12T19:23:54.000Z
//---------------------------------------------------------------------------- // // License: See top level LICENSE.txt file // // Author: Mingjie Su // // Description: Factory for OSSIM GeoPdf reader using kakadu library. //---------------------------------------------------------------------------- // $Id: ossimGeo...
25.699422
113
0.694107
dardok