hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
⌀
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
⌀
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
⌀
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
⌀
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
⌀
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
⌀
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
⌀
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
⌀
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
⌀
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
8ab21095dcd64c842d01010cb9f4f2d4bbd90e1a
603
cpp
C++
Codeforces 731A.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
Codeforces 731A.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
Codeforces 731A.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ int ans = 0, l, r, index; char lw = 'a'; string inp, tape = "opqrstuvwxyzabcdefghijklmn"; cin >> inp; for(int i = 0; i < inp.length(); i++){ index = (12 + lw - 'a') % 26; l = r = 0; while(tape[index] != inp[i]) r++, ...
24.12
67
0.429519
Jvillegasd
8ab637fd629e59b46895167dd346e4ddd17148e9
1,050
cpp
C++
src/FootsketTeam.cpp
LesmesWasNotHere/Footsketball
d8072eda69a3cab570c5a9094eeef0228582cac1
[ "MIT" ]
null
null
null
src/FootsketTeam.cpp
LesmesWasNotHere/Footsketball
d8072eda69a3cab570c5a9094eeef0228582cac1
[ "MIT" ]
null
null
null
src/FootsketTeam.cpp
LesmesWasNotHere/Footsketball
d8072eda69a3cab570c5a9094eeef0228582cac1
[ "MIT" ]
null
null
null
#include "FootsketTeam.h" #include <cassert> FootsketTeam::FootsketTeam(const char* name):_Name(name) { } const char* FootsketTeam::GetName() { return _Name; } const std::vector<FootsketPlayer>& FootsketTeam::GetPlayers() { return _Players; } void FootsketTeam::SetCurrentMatch(FootsketMatch& match) { _C...
24.418605
107
0.681905
LesmesWasNotHere
8abb8f736252e05ad680af0ee342053f64b6a47d
8,383
cpp
C++
kernel/collector/src/collector.cpp
ISR3D/ISR3D
e4f31a2bddbedb8e2743e088ee24f865bc97ec30
[ "BSD-3-Clause" ]
null
null
null
kernel/collector/src/collector.cpp
ISR3D/ISR3D
e4f31a2bddbedb8e2743e088ee24f865bc97ec30
[ "BSD-3-Clause" ]
null
null
null
kernel/collector/src/collector.cpp
ISR3D/ISR3D
e4f31a2bddbedb8e2743e088ee24f865bc97ec30
[ "BSD-3-Clause" ]
null
null
null
#include <cmath> #include <cstdlib> #include <iostream> #include <ostream> #include <vector> #include <stdexcept> #include <libmuscle/libmuscle.hpp> #include <ymmsl/ymmsl.hpp> #include <util/logger.h> #include <util/typeNames.hpp> #include <mapping/sphere.hpp> #include <mapping/sphereVoxelizer.hpp> #include <mapping...
35.521186
206
0.637481
ISR3D
8abc454dcf5b51ca4c55d8bb4b9ccfb0e220dc4b
44,076
cpp
C++
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32756G_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Game2D/game2d_menu_button_pressed.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32756G_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Game2D/game2d_menu_button_pressed.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32756G_EVAL/Demonstrations/TouchGFX/Gui/generated/images/src/Game2D/game2d_menu_button_pressed.cpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
// Generated by imageconverter. Please, do not edit! #include <touchgfx/hal/Config.hpp> LOCATION_EXTFLASH_PRAGMA KEEP extern const unsigned char _game2d_menu_button_pressed[] LOCATION_EXTFLASH_ATTRIBUTE = { // 68x64 RGB565 pixels. 0x87,0x19,0x87,0x19,0x87,0x19,0x87,0x19,0x87,0x19,0x87,0x19,0x87,0x19,0x87,0x19,0x87,0x...
133.969605
160
0.794196
ramkumarkoppu
8abda12b0f632e51a1e2c57a968c0b1a4e675613
4,295
hpp
C++
libs/muddle/internal/muddle_register.hpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
96
2018-08-23T16:49:05.000Z
2021-11-25T00:47:16.000Z
libs/muddle/internal/muddle_register.hpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
1,011
2018-08-17T12:25:21.000Z
2021-11-18T09:30:19.000Z
libs/muddle/internal/muddle_register.hpp
chr15murray/ledger
85be05221f19598de8c6c58652139a1f2d9e362f
[ "Apache-2.0" ]
65
2018-08-20T20:05:40.000Z
2022-02-26T23:54:35.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2020 Fetch.AI 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 Licen...
33.294574
100
0.695693
chr15murray
8ac0e7385752b1b7c8451e938175ec06a395116f
160
cpp
C++
uri/1007difference.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
uri/1007difference.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
uri/1007difference.cpp
Shisir/Online-Judge
e58c32eeb7ca18a19cc2a83ef016f9c3b124370a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int a,b,c,d; scanf("%d%d%d%d",&a,&b,&c,&d); printf("DIFERENCA = %d\n",a*b-c*d); return 0; }
12.307692
36
0.55
Shisir
8acc423bfbfd136899a98c6bb419b27050e67669
10,635
cxx
C++
modules/scene_manager/include/test_msgs/msg/dds_connext/DynamicArrayPrimitivesNested_.cxx
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
modules/scene_manager/include/test_msgs/msg/dds_connext/DynamicArrayPrimitivesNested_.cxx
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
3
2019-11-14T12:20:06.000Z
2020-08-07T13:51:10.000Z
modules/scene_manager/include/test_msgs/msg/dds_connext/DynamicArrayPrimitivesNested_.cxx
Omnirobotic/godot
d50b5d047bbf6c68fc458c1ad097321ca627185d
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
/* WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY. This file was generated from DynamicArrayPrimitivesNested_.idl using "rtiddsgen". The rtiddsgen tool is part of the RTI Connext distribution. For more information, type 'rtiddsgen -help' at a command shell or consult the RTI Connext manual. */ #ifndef NDDS_STA...
39.243542
189
0.561824
Omnirobotic
8acd7b54734816280c8e6b4c91222c099bf892b4
4,580
hpp
C++
src/cuda/api/texture_view.hpp
TheCleanCoda/cuda-api-wrappers
c09c2bc32ae952327cf751c42bf226414b872b45
[ "BSD-3-Clause" ]
456
2016-11-12T12:43:17.000Z
2022-03-27T03:12:42.000Z
src/cuda/api/texture_view.hpp
TheCleanCoda/cuda-api-wrappers
c09c2bc32ae952327cf751c42bf226414b872b45
[ "BSD-3-Clause" ]
289
2016-11-12T09:04:22.000Z
2022-03-26T21:25:27.000Z
src/cuda/api/texture_view.hpp
TheCleanCoda/cuda-api-wrappers
c09c2bc32ae952327cf751c42bf226414b872b45
[ "BSD-3-Clause" ]
70
2017-03-29T13:14:03.000Z
2022-02-14T05:32:24.000Z
/** * @file texture_view.hpp * * @brief Contains a "texture view" class, for hardware-accelerated * access to CUDA arrays, and some related standalone functions and * definitions. */ #pragma once #ifndef CUDA_API_WRAPPERS_TEXTURE_VIEW_HPP #define CUDA_API_WRAPPERS_TEXTURE_VIEW_HPP #include <cuda/api/array.hpp> #...
29.171975
138
0.756114
TheCleanCoda
8acf3b8db275ffc99b0c5d3522e981343c72ab23
432
cpp
C++
animation-server/src/main.cpp
Adrianl3d/hifi
7bd01f606b768f6aa3e21d48959718ad249a3551
[ "Apache-2.0" ]
null
null
null
animation-server/src/main.cpp
Adrianl3d/hifi
7bd01f606b768f6aa3e21d48959718ad249a3551
[ "Apache-2.0" ]
null
null
null
animation-server/src/main.cpp
Adrianl3d/hifi
7bd01f606b768f6aa3e21d48959718ad249a3551
[ "Apache-2.0" ]
null
null
null
// // main.cpp // animation-server/src // // Created by Brad Hefta-Gaub on 05/16/2013. // Copyright 2012 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "AnimationServer.h" int main(i...
24
88
0.699074
Adrianl3d
8ad069abdf4113a73e8bfe6fb7aef8f9a86f7a6d
12,064
cpp
C++
Config.cpp
sgrottel/KeePassHotKey
8e663ed10891edde6d8cab12bbd5359b8406d0a1
[ "Apache-2.0" ]
null
null
null
Config.cpp
sgrottel/KeePassHotKey
8e663ed10891edde6d8cab12bbd5359b8406d0a1
[ "Apache-2.0" ]
null
null
null
Config.cpp
sgrottel/KeePassHotKey
8e663ed10891edde6d8cab12bbd5359b8406d0a1
[ "Apache-2.0" ]
null
null
null
// KeePassHotKey // Config.cpp // // Copyright 2022 SGrottel (https://www.sgrottel.de) // // 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/LICEN...
28.72381
145
0.637434
sgrottel
8ad13e2e242dc6ecad0695da6fbdff69fcf7c2b4
4,758
cpp
C++
MeshLib/FEEdge.cpp
chunkeey/FEBioStudio
f342d4ac2bc3581db792373c4265454109af92b3
[ "MIT" ]
27
2020-06-25T06:34:52.000Z
2022-03-11T08:58:57.000Z
MeshLib/FEEdge.cpp
chunkeey/FEBioStudio
f342d4ac2bc3581db792373c4265454109af92b3
[ "MIT" ]
42
2020-06-15T18:40:57.000Z
2022-03-24T05:38:54.000Z
MeshLib/FEEdge.cpp
chunkeey/FEBioStudio
f342d4ac2bc3581db792373c4265454109af92b3
[ "MIT" ]
12
2020-06-27T13:58:57.000Z
2022-03-24T05:39:10.000Z
/*This file is part of the FEBio Studio source code and is licensed under the MIT license listed below. See Copyright-FEBio-Studio.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any per...
28.662651
89
0.523749
chunkeey
8ad13e6a4fb4bb8b832eac9c49892b78f2f2fe3c
1,005
cpp
C++
OC_viewer/debugcode.cpp
coderand/oclf
9da0ffcf9a664bf8ab719090b5b93e34cfe0cec2
[ "MIT" ]
1
2018-02-02T06:31:53.000Z
2018-02-02T06:31:53.000Z
OC_viewer/debugcode.cpp
coderand/oclf
9da0ffcf9a664bf8ab719090b5b93e34cfe0cec2
[ "MIT" ]
null
null
null
OC_viewer/debugcode.cpp
coderand/oclf
9da0ffcf9a664bf8ab719090b5b93e34cfe0cec2
[ "MIT" ]
null
null
null
// This file is distributed under a MIT license. See LICENSE.txt for details. // // Debugging code // #include <d3d9.h> #include <d3dx9.h> #include <ddraw.h> #include <windows.h> #include "CRenderer.h" #include "common.h" #include <conio.h> #include "xmath.h" #ifdef SQUISH_DEBUG void DInit ( ) { FILE *fp...
14.15493
77
0.527363
coderand
e9d57d3dabd2e476756951f7e678d81f2cc046d7
3,801
cpp
C++
LibSrc/Windows/System.cpp
mice777/ProfiMail-Symbian-
97cd5bf1abc65c7decdf8d49f0ac155064683b4b
[ "Apache-2.0" ]
null
null
null
LibSrc/Windows/System.cpp
mice777/ProfiMail-Symbian-
97cd5bf1abc65c7decdf8d49f0ac155064683b4b
[ "Apache-2.0" ]
null
null
null
LibSrc/Windows/System.cpp
mice777/ProfiMail-Symbian-
97cd5bf1abc65c7decdf8d49f0ac155064683b4b
[ "Apache-2.0" ]
null
null
null
//---------------------------- // Multi-platform mobile library // (c) Lonely Cat Games //---------------------------- #include <AppBase.h> #include <Util.h> #include <TextUtils.h> namespace win{ #include <Windows.h> } //---------------------------- #if defined DEBUG_LOG void LOG_RUN(const char *msg){ win::Outpu...
25.682432
85
0.533807
mice777
e9dafb6e5baf8a45029324df2b16ef2aea17ca82
1,091
hpp
C++
source/plc/include/document/UNIT_DIVISION.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/plc/include/document/UNIT_DIVISION.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/plc/include/document/UNIT_DIVISION.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
// This file was generated using Parlex's cpp_generator #ifndef INCLUDED_UNIT_DIVISION_HPP #define INCLUDED_UNIT_DIVISION_HPP #include <optional> #include <variant> #include <vector> #include "erased.hpp" #include "parlex/detail/abstract_syntax_tree.hpp" #include "parlex/detail/builtins.hpp" #include "parlex/detai...
22.729167
217
0.761687
dlin172
e9db048f85928c50ff16e31ccd80c1c181b4becb
5,293
cpp
C++
test/test.cpp
logsem/adiar
056c62a37eedcc5a9e46ccc8c235b5aacedebe32
[ "MIT" ]
null
null
null
test/test.cpp
logsem/adiar
056c62a37eedcc5a9e46ccc8c235b5aacedebe32
[ "MIT" ]
null
null
null
test/test.cpp
logsem/adiar
056c62a37eedcc5a9e46ccc8c235b5aacedebe32
[ "MIT" ]
null
null
null
#include <tpie/tpie.h> #include <bandit/bandit.h> using namespace snowhouse; using namespace bandit; #include <adiar/adiar.h> using namespace adiar; //////////////////////////////////////////////////////////////////////////////// // To improve the relationship between the tests and the algorithms, we will not // re...
28.456989
86
0.594748
logsem
e9e639822f65f5697c24c49a1254ca1577c3ef14
4,805
cpp
C++
nfc/main.cpp
1337programming/leviathan
ca9a31b45c25fd23f361d67136ae5ac6b98d2628
[ "Apache-2.0" ]
null
null
null
nfc/main.cpp
1337programming/leviathan
ca9a31b45c25fd23f361d67136ae5ac6b98d2628
[ "Apache-2.0" ]
null
null
null
nfc/main.cpp
1337programming/leviathan
ca9a31b45c25fd23f361d67136ae5ac6b98d2628
[ "Apache-2.0" ]
null
null
null
/* * Documentation: https://github.com/adafruit/Adafruit-PN532 */ #include <Wire.h> #include <SPI.h> #include <Adafruit_PN532.h> #include <WProgram.h> #define PN532_SCK (2) #define PN532_MOSI (3) #define PN532_SS (4) #define PN532_MISO (5) #define PN532_IRQ (2) #define PN532_RESET (3) Adafruit_PN532 nfc(PN532...
31.611842
136
0.583559
1337programming
e9f121ec654116b9bd1800f2878819bb8b77a5e7
1,604
hh
C++
source/blender/blenlib/BLI_timeit.hh
RemiArnaud/blender
f20133aeecbf1fd1e4dc998b8d96198d8c942e67
[ "Naumen", "Condor-1.1", "MS-PL" ]
39
2020-05-26T15:21:14.000Z
2022-03-24T04:46:31.000Z
source/blender/blenlib/BLI_timeit.hh
RemiArnaud/blender
f20133aeecbf1fd1e4dc998b8d96198d8c942e67
[ "Naumen", "Condor-1.1", "MS-PL" ]
7
2020-05-11T14:04:54.000Z
2020-06-03T15:00:20.000Z
source/blender/blenlib/BLI_timeit.hh
RemiArnaud/blender
f20133aeecbf1fd1e4dc998b8d96198d8c942e67
[ "Naumen", "Condor-1.1", "MS-PL" ]
4
2020-04-25T14:38:01.000Z
2021-03-03T08:48:58.000Z
/* * This program 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 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
25.460317
74
0.714464
RemiArnaud
1802af57428a790422270fde0de944fb7b0ffc09
21,841
cxx
C++
xp_comm_proj/rd_shape/gspgtree.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
3
2020-08-03T08:52:20.000Z
2021-04-10T11:55:49.000Z
xp_comm_proj/rd_shape/gspgtree.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
null
null
null
xp_comm_proj/rd_shape/gspgtree.cxx
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
1
2021-06-08T18:16:45.000Z
2021-06-08T18:16:45.000Z
#include <iostream.h> // // This file contains the source code for the XP_GIS_PolygonTree_c class. // This class manages a tree of rings that comprise a polygon. // // #include <malloc.h> #include <string.h> #include <stdlib.h> #include <float.h> #include <stdio.h> #include "gserror.h" #include "gspgtree.h" #inc...
27.752224
80
0.557758
avs
18066ba90f0b664c443de20f2ff13fed622627d7
9,092
hpp
C++
source/Irrlicht/librtc/description.hpp
MagicAtom/irrlicht-ce
b94ea7f97d7d0d3000d5a8c9c7c712debef1e55d
[ "IJG" ]
null
null
null
source/Irrlicht/librtc/description.hpp
MagicAtom/irrlicht-ce
b94ea7f97d7d0d3000d5a8c9c7c712debef1e55d
[ "IJG" ]
null
null
null
source/Irrlicht/librtc/description.hpp
MagicAtom/irrlicht-ce
b94ea7f97d7d0d3000d5a8c9c7c712debef1e55d
[ "IJG" ]
null
null
null
/** * Copyright (c) 2019-2020 Paul-Louis Ageneau * Copyright (c) 2020 Staz Modrzynski * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at ...
30.716216
98
0.742851
MagicAtom
1806a372dc93a118a780516ad72cc1954da07ce3
726
cpp
C++
competitive_programming/programming_contests/uri/jollo.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
205
2018-12-01T17:49:49.000Z
2021-12-22T07:02:27.000Z
competitive_programming/programming_contests/uri/jollo.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
2
2020-01-01T16:34:29.000Z
2020-04-26T19:11:13.000Z
competitive_programming/programming_contests/uri/jollo.cpp
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
50
2018-11-28T20:51:36.000Z
2021-11-29T04:08:25.000Z
// https://www.urionlinejudge.com.br/judge/en/problems/view/1321 #include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int a, b, c, x, y; cin >> a >> b >> c >> x >> y; vector<int> prince; vector<int> princess; while (a + b + c + x + y != 0) { princess.push_back(...
18.615385
64
0.588154
LeandroTk
180b4bec6a99f8db4bdf040691641dcc3e3ec049
1,191
cpp
C++
src/engine/core/pc/timer.cpp
galek/LumixEngine
d7d1738f7fc2bc7f6cf08d1217330a591b370ed9
[ "MIT" ]
8
2015-09-06T20:05:27.000Z
2021-07-14T11:12:33.000Z
src/engine/core/pc/timer.cpp
gamedevforks/LumixEngine
d7d1738f7fc2bc7f6cf08d1217330a591b370ed9
[ "MIT" ]
null
null
null
src/engine/core/pc/timer.cpp
gamedevforks/LumixEngine
d7d1738f7fc2bc7f6cf08d1217330a591b370ed9
[ "MIT" ]
null
null
null
#include "lumix.h" #include "core/iallocator.h" #include "core/timer.h" #define WIN32_LEAN_AND_MEAN #include <Windows.h> namespace Lumix { class TimerImpl : public Timer { public: TimerImpl(IAllocator& allocator) : m_allocator(allocator) { QueryPerformanceFrequency(&m_frequency); QueryPerformanceCounte...
19.85
116
0.734677
galek
181440c4b28cb4dbe0b44b43322ea2aa1560e33f
5,612
hpp
C++
include/neolib/map.hpp
AndreasMartin72/neolib
fc0144cc208a5f7444d3fe70007f77f80d51a505
[ "BSD-3-Clause" ]
null
null
null
include/neolib/map.hpp
AndreasMartin72/neolib
fc0144cc208a5f7444d3fe70007f77f80d51a505
[ "BSD-3-Clause" ]
null
null
null
include/neolib/map.hpp
AndreasMartin72/neolib
fc0144cc208a5f7444d3fe70007f77f80d51a505
[ "BSD-3-Clause" ]
null
null
null
// map.hpp - v1.0 /* * Copyright (c) 2007 Leigh Johnston. * * 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...
46
269
0.74412
AndreasMartin72
1815f7937131157ec078bd0ef796b0d40a852493
5,192
cpp
C++
Plugins/EditorScriptingTools/Source/EditorScriptingTools/Private/EditorUserDefinedActions/EditorUserDefinedCommands.cpp
Ryan-DowlingSoka/UE4-EditorScriptingToolsPlugin
999cee0465ce47e658c0e5403a1ea0909c84bf2d
[ "MIT" ]
null
null
null
Plugins/EditorScriptingTools/Source/EditorScriptingTools/Private/EditorUserDefinedActions/EditorUserDefinedCommands.cpp
Ryan-DowlingSoka/UE4-EditorScriptingToolsPlugin
999cee0465ce47e658c0e5403a1ea0909c84bf2d
[ "MIT" ]
null
null
null
Plugins/EditorScriptingTools/Source/EditorScriptingTools/Private/EditorUserDefinedActions/EditorUserDefinedCommands.cpp
Ryan-DowlingSoka/UE4-EditorScriptingToolsPlugin
999cee0465ce47e658c0e5403a1ea0909c84bf2d
[ "MIT" ]
null
null
null
//====================== Editor Scripting Tools ===========================// // Copyright 2020 Elhoussine Mehnik (Mhousse1247). All Rights Reserved. //====================== http://ue4resources.com/ ========================// #include "EditorUserDefinedCommands.h" #include "Framework/Commands/UICommandList.h" #inclu...
31.277108
158
0.772535
Ryan-DowlingSoka
1818362e8c6636e54386f6abfd3492bda3768986
3,740
cpp
C++
lib/src/Delphi/Syntax/Trivia/DelphiIfDirectiveTriviaSyntax.cpp
henrikfroehling/polyglot
955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142
[ "MIT" ]
null
null
null
lib/src/Delphi/Syntax/Trivia/DelphiIfDirectiveTriviaSyntax.cpp
henrikfroehling/polyglot
955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142
[ "MIT" ]
50
2021-06-30T20:01:50.000Z
2021-11-28T16:21:26.000Z
lib/src/Delphi/Syntax/Trivia/DelphiIfDirectiveTriviaSyntax.cpp
henrikfroehling/polyglot
955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142
[ "MIT" ]
null
null
null
#include "Delphi/Syntax/Trivia/DelphiIfDirectiveTriviaSyntax.hpp" #include <cassert> #include "interlinck/Core/Syntax/ISyntaxToken.hpp" #include "Core/Support/SyntaxFactory.hpp" #include "Core/Syntax/SyntaxNode.hpp" #include "Core/Syntax/SyntaxToken.hpp" #include "Delphi/Syntax/Expressions/DelphiExpressionSyntax.hpp" ...
46.75
123
0.576471
henrikfroehling
1818fafcbf4d3f6c71bf2a26c9bcf31e51b14e68
310
hpp
C++
include/xul/std/std_hasher.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
2
2018-03-16T07:06:48.000Z
2018-04-02T03:02:14.000Z
include/xul/std/std_hasher.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
null
null
null
include/xul/std/std_hasher.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
1
2019-08-12T05:15:29.000Z
2019-08-12T05:15:29.000Z
#pragma once #include <boost/functional/hash.hpp> #include <string> #include <stdint.h> #include <stddef.h> #include <string.h> namespace xul { class std_hasher { public: static size_t hash_bytes(const uint8_t* data, size_t size) { return boost::hash_range(data, data + size); } }; }
13.478261
62
0.670968
hindsights
181d78e374a6ec3b35ae04a744ae2892593dfae7
227
hpp
C++
math/quaternion/quaternion3.hpp
aconstlink/natus
d2123c6e1798bd0771b8a1a05721c68392afc92f
[ "MIT" ]
null
null
null
math/quaternion/quaternion3.hpp
aconstlink/natus
d2123c6e1798bd0771b8a1a05721c68392afc92f
[ "MIT" ]
292
2020-03-19T22:38:52.000Z
2022-03-05T22:49:34.000Z
math/quaternion/quaternion3.hpp
aconstlink/natus
d2123c6e1798bd0771b8a1a05721c68392afc92f
[ "MIT" ]
null
null
null
#pragma once namespace natus { namespace math { template< typename type > class quaternion3 { public: // typedefs typedef type type_t ; public: } ; } }
12.611111
33
0.484581
aconstlink
18212ed02f091c0d4646361e9e1a93a49efc3b0c
1,599
cpp
C++
source/LibFgBase/src/FgApproxFunc.cpp
MikhailGorobets/FaceGenBaseLibrary
3ea688f9e3811943adb18e23e7bb2addc5f688a5
[ "MIT" ]
null
null
null
source/LibFgBase/src/FgApproxFunc.cpp
MikhailGorobets/FaceGenBaseLibrary
3ea688f9e3811943adb18e23e7bb2addc5f688a5
[ "MIT" ]
null
null
null
source/LibFgBase/src/FgApproxFunc.cpp
MikhailGorobets/FaceGenBaseLibrary
3ea688f9e3811943adb18e23e7bb2addc5f688a5
[ "MIT" ]
1
2020-05-27T17:23:50.000Z
2020-05-27T17:23:50.000Z
// // Coypright (c) 2020 Singular Inversions Inc. (facegen.com) // Use, modification and distribution is subject to the MIT License, // see accompanying file LICENSE.txt or facegen.com/base_library_license.txt // #include "stdafx.h" #include "FgApproxFunc.hpp" #include "FgRandom.hpp" #include "FgMath.hpp" ...
26.213115
77
0.523452
MikhailGorobets
18405f0affa65884fe6177e4f7184abb6240b58b
10,470
cpp
C++
src/raven_src/src/Recharge.cpp
Okanagan-Basin-Water-Board/obwb-hydro-modelling
91ee6b914e344de65a495093c3b9427986182ef2
[ "Artistic-2.0" ]
null
null
null
src/raven_src/src/Recharge.cpp
Okanagan-Basin-Water-Board/obwb-hydro-modelling
91ee6b914e344de65a495093c3b9427986182ef2
[ "Artistic-2.0" ]
null
null
null
src/raven_src/src/Recharge.cpp
Okanagan-Basin-Water-Board/obwb-hydro-modelling
91ee6b914e344de65a495093c3b9427986182ef2
[ "Artistic-2.0" ]
null
null
null
/*---------------------------------------------------------------- Raven Library Source Code Copyright (c) 2008-2020 the Raven Development Team ------------------------------------------------------------------ Recharge ----------------------------------------------------------------*/ #include "Hydro...
41.88
137
0.570201
Okanagan-Basin-Water-Board
1843c462f2da0bc0f9e9e250bd95819b95c6e1bc
1,126
cpp
C++
Beginning C++17 From Novice to Professional/Source/06_Pointers_and_References/03_Initializing_pointers_with_strings.cpp
devgunho/Cpp_AtoZ
4d87f22671a4eab06ca35b32c9b7f8f9abadb2bc
[ "MIT" ]
1
2022-03-25T06:11:06.000Z
2022-03-25T06:11:06.000Z
Beginning C++17 From Novice to Professional/Source/06_Pointers_and_References/03_Initializing_pointers_with_strings.cpp
devgunho/Cpp_AtoZ
4d87f22671a4eab06ca35b32c9b7f8f9abadb2bc
[ "MIT" ]
null
null
null
Beginning C++17 From Novice to Professional/Source/06_Pointers_and_References/03_Initializing_pointers_with_strings.cpp
devgunho/Cpp_AtoZ
4d87f22671a4eab06ca35b32c9b7f8f9abadb2bc
[ "MIT" ]
null
null
null
// Initializing pointers with strings #include <iostream> int main() { const char* pstar1{ "Fatty Arbuckle" }; const char* pstar2{ "Clara Bow" }; const char* pstar3{ "Lassie" }; const char* pstar4{ "Slim Pickens" }; const char* pstar5{ "Boris Karloff" }; const char* pstar6{ "Mae West" }; const char* pstar7{ "O...
22.52
68
0.603908
devgunho
1845891d3a961409f62a171f3f0411300667d132
3,221
hpp
C++
include/jamspell/SpellCorrector.hpp
sroycode/zapdos
8818ef109e072dcbe990914d9a2a6d70ef190d3e
[ "MIT" ]
5
2018-11-11T21:09:30.000Z
2020-06-25T12:46:41.000Z
include/jamspell/SpellCorrector.hpp
vnaad/zapdos
8818ef109e072dcbe990914d9a2a6d70ef190d3e
[ "MIT" ]
1
2020-08-02T09:12:57.000Z
2020-08-02T09:12:57.000Z
include/jamspell/SpellCorrector.hpp
vnaad/zapdos
8818ef109e072dcbe990914d9a2a6d70ef190d3e
[ "MIT" ]
null
null
null
/** * @project zapdos * @file include/jamspell/SpellCorrector.hpp * @author S Roychowdhury < sroycode at gmail dot com > * @version 1.0.0 * * @section LICENSE * * Copyright (c) 2018-2020 S Roychowdhury * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and as...
42.381579
148
0.757529
sroycode
184600746a71311ddfe7bacac9acb9d4979da3ae
680
cpp
C++
OJ/vol121/UVa12150.cpp
jennygaz/competitive
2807b0fbd2eaaca8ba618f03b1e62c0241849e6c
[ "MIT" ]
null
null
null
OJ/vol121/UVa12150.cpp
jennygaz/competitive
2807b0fbd2eaaca8ba618f03b1e62c0241849e6c
[ "MIT" ]
null
null
null
OJ/vol121/UVa12150.cpp
jennygaz/competitive
2807b0fbd2eaaca8ba618f03b1e62c0241849e6c
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> using namespace std; constexpr int MAXN = 1010; int main(){ ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); int n {}; int pos[MAXN] {}; while( cin >> n, n ){ memset( pos, 0, sizeof(pos) ); int idx {}, v {}; bool valid = true; for( int i = 1; i...
20.606061
50
0.466176
jennygaz
184a78694aca8475e2dac28026af6be14ce660c8
7,665
cc
C++
ukf.cc
mez/unscented_kalman_filter_cpp
4e53249597289c06279d4269d01c874ccc1c03bd
[ "MIT" ]
1
2019-07-03T00:18:12.000Z
2019-07-03T00:18:12.000Z
ukf.cc
mez/unscented_kalman_filter_cpp
4e53249597289c06279d4269d01c874ccc1c03bd
[ "MIT" ]
null
null
null
ukf.cc
mez/unscented_kalman_filter_cpp
4e53249597289c06279d4269d01c874ccc1c03bd
[ "MIT" ]
null
null
null
#include "ukf.h" using Eigen::MatrixXd; using Eigen::VectorXd; using namespace utility; Ukf::Ukf() { // Process noise standard deviation longitudinal acceleration in m/s^2 std_a = 0.5; // Process noise standard deviation yaw acceleration in rad/s^2 std_yawdd = 0.8; is_initialized = false; previous_tim...
24.103774
78
0.62544
mez
18507755eca964b9912efbd36e6b45526a600f23
1,327
hpp
C++
include/morphotree/filtering/lexographicalFilter.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
null
null
null
include/morphotree/filtering/lexographicalFilter.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
3
2022-03-23T19:16:08.000Z
2022-03-28T00:40:19.000Z
include/morphotree/filtering/lexographicalFilter.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
null
null
null
#pragma once #include "morphotree/core/alias.hpp" #include "morphotree/tree/mtree.hpp" #include <vector> namespace morphotree { template<class ValueType> MorphologicalTree<ValueType> filterTreeLexographically(const MorphologicalTree<ValueType> &tree, const std::vector<uint32> &order, uint32 numberOfNodesToB...
35.864865
99
0.718915
dennisjosesilva
4c7714a277f8c67d8d34876445bb5a1634fcee38
268
hpp
C++
src/Utils.hpp
BanePig/evol-sim
680902f635021878660d6a964e3a7ed2617c836e
[ "MIT" ]
null
null
null
src/Utils.hpp
BanePig/evol-sim
680902f635021878660d6a964e3a7ed2617c836e
[ "MIT" ]
null
null
null
src/Utils.hpp
BanePig/evol-sim
680902f635021878660d6a964e3a7ed2617c836e
[ "MIT" ]
null
null
null
#ifndef UTILS_H #define UTILS_H #include <random> template<typename T> T clamp(T n, T min, T max) { if(n > max) return max; if(n < min) return min; return n; } double randDouble(double min, double max); int randInt(int min, int max); #endif // UTILS_H
14.888889
42
0.660448
BanePig
4c7ce4206dda3fe688c5ed9a8f54885aa34c66a5
1,578
cpp
C++
src/Platform.cpp
daemyung/opencl
e696f8d5dbea3172df129448fe4466f2c36727e2
[ "Apache-2.0" ]
null
null
null
src/Platform.cpp
daemyung/opencl
e696f8d5dbea3172df129448fe4466f2c36727e2
[ "Apache-2.0" ]
null
null
null
src/Platform.cpp
daemyung/opencl
e696f8d5dbea3172df129448fe4466f2c36727e2
[ "Apache-2.0" ]
null
null
null
/*********************************************************************************************************************** * Copyright (c) 2022-2022 Daemyung Jang. * * 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...
25.868852
120
0.604563
daemyung
4c7db7d2e38460cee930fec95e52ff109494e3dc
6,165
cpp
C++
glfw3_app/common/collada/dae_mesh.cpp
hirakuni45/glfw3_app
d9ceeef6d398229fda4849afe27f8b48d1597fcf
[ "BSD-3-Clause" ]
9
2015-09-22T21:36:57.000Z
2021-04-01T09:16:53.000Z
glfw3_app/common/collada/dae_mesh.cpp
hirakuni45/glfw3_app
d9ceeef6d398229fda4849afe27f8b48d1597fcf
[ "BSD-3-Clause" ]
null
null
null
glfw3_app/common/collada/dae_mesh.cpp
hirakuni45/glfw3_app
d9ceeef6d398229fda4849afe27f8b48d1597fcf
[ "BSD-3-Clause" ]
2
2019-02-21T04:22:13.000Z
2021-03-02T17:24:32.000Z
#include "dae_mesh.hpp" #include "utils/string_utils.hpp" #include <boost/format.hpp> namespace collada { using namespace boost::property_tree; using namespace std; bool dae_mesh::parse_input_(const boost::property_tree::ptree::value_type& element, input& inp) { const std::string& s = element.first.data(); i...
25.580913
107
0.601298
hirakuni45
4c82b80029a5ae3ab4790a1b2c47e7a2166589bd
11,128
hpp
C++
external/include/boost/fusion/algorithm/iteration/detail/fold.hpp
sbrown-uhd/hazelcast-cpp-client
ce57a508092fa42b9b4b371ae6c2782a21c75515
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
external/include/boost/fusion/algorithm/iteration/detail/fold.hpp
sbrown-uhd/hazelcast-cpp-client
ce57a508092fa42b9b4b371ae6c2782a21c75515
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
external/include/boost/fusion/algorithm/iteration/detail/fold.hpp
sbrown-uhd/hazelcast-cpp-client
ce57a508092fa42b9b4b371ae6c2782a21c75515
[ "Apache-2.0" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Copyright (c) 2006 Dan Marsden Copyright (c) 2009-2010 Christopher Schmidt Copyright (c) 2015 Kohei Takahashi Distributed under the Boost Software License, Version 1.0. (See accomp...
37.722034
116
0.669842
sbrown-uhd
4c83038e00bd241e57f42374b80d0c31b04b6621
1,319
cpp
C++
include/h3api/H3AdventureMap/H3MapSeerHut.cpp
Patrulek/H3API
91f10de37c6b86f3160706c1fdf4792f927e9952
[ "MIT" ]
14
2020-09-07T21:49:26.000Z
2021-11-29T18:09:41.000Z
include/h3api/H3AdventureMap/H3MapSeerHut.cpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
2
2021-02-12T15:52:31.000Z
2021-02-12T16:21:24.000Z
include/h3api/H3AdventureMap/H3MapSeerHut.cpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
8
2021-02-12T15:52:41.000Z
2022-01-31T15:28:10.000Z
////////////////////////////////////////////////////////////////////// // // // Created by RoseKavalier: // // rosekavalierhc@gmail.com // // Created or last upda...
29.311111
70
0.477635
Patrulek
4c842f3d85d11713893bb38bd0850e28bd999e96
35,481
cpp
C++
winp/winp/thread/surface_manager.cpp
benbraide/winp
2a20b82708d239a93cc50f239798d69f7217c47b
[ "MIT" ]
null
null
null
winp/winp/thread/surface_manager.cpp
benbraide/winp
2a20b82708d239a93cc50f239798d69f7217c47b
[ "MIT" ]
null
null
null
winp/winp/thread/surface_manager.cpp
benbraide/winp
2a20b82708d239a93cc50f239798d69f7217c47b
[ "MIT" ]
null
null
null
#include "../window/frame_window.h" #include "../message/message_dispatcher.h" #include "../app/app_object.h" #include "../control/button_control.h" winp::thread::surface_manager::surface_manager() = default; void winp::thread::surface_manager::prepare_for_run_(){ hook_handle_ = SetWindowsHookExW(WH_CBT, hook_entry_...
43.007273
227
0.762521
benbraide
4c845b8fa27dc65566909b82808679c2fd52f1cc
2,768
cpp
C++
variants/STM32F0xx/F072R8T_F072RB(H-I-T)/variant_PYBSTICK26_DUINO.cpp
Tophness/Arduino_Core_STM32
d892359dfe4ab0140358ff389e1e8321c01f9119
[ "Apache-2.0" ]
1,963
2017-05-10T14:14:46.000Z
2022-03-31T20:23:06.000Z
variants/STM32F0xx/F072R8T_F072RB(H-I-T)/variant_PYBSTICK26_DUINO.cpp
Tophness/Arduino_Core_STM32
d892359dfe4ab0140358ff389e1e8321c01f9119
[ "Apache-2.0" ]
1,162
2017-05-14T14:10:09.000Z
2022-03-25T11:01:59.000Z
variants/STM32F0xx/F072R8T_F072RB(H-I-T)/variant_PYBSTICK26_DUINO.cpp
Tophness/Arduino_Core_STM32
d892359dfe4ab0140358ff389e1e8321c01f9119
[ "Apache-2.0" ]
836
2017-06-12T16:48:03.000Z
2022-03-21T01:22:03.000Z
/* ******************************************************************************* * Copyright (c) 2020, STMicroelectronics * All rights reserved. * * This software component is licensed by ST under BSD 3-Clause license, * the "License"; You may not use this file except in compliance with the * License. You may ...
23.862069
87
0.642702
Tophness
4c87b0f8a4a4e719c0ac9488721a3418222c2f64
895
cpp
C++
2006 - Task3 {19 of 26} [x]/src/FloatInput.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
2006 - Task3 {19 of 26} [x]/src/FloatInput.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
2006 - Task3 {19 of 26} [x]/src/FloatInput.cpp
retgone/cmc-cg
7e5a76992e524958353ee799092f810681a13107
[ "MIT" ]
null
null
null
// FloatInput.cpp : implementation file // #include "stdafx.h" #include "MFC_GML3.h" #include "FloatInput.h" // CFloatInput dialog IMPLEMENT_DYNAMIC(CFloatInput, CDialog) CFloatInput::CFloatInput(CWnd* pParent /*=NULL*/) : CDialog(CFloatInput::IDD, pParent) , Value(0) { } CFloatInput::~CFloatInp...
17.9
53
0.703911
retgone
4c8e653f085ba0b4ddc23006f5e8cd922c9633e0
2,927
cpp
C++
KlurifaxRay/OpenKlurifax/Graphics/DeferedRenderProgram.cpp
exnotime/KlurifaxRay
1fd52ef9c7fdf067942df7559b93722632ea8ed2
[ "MIT" ]
null
null
null
KlurifaxRay/OpenKlurifax/Graphics/DeferedRenderProgram.cpp
exnotime/KlurifaxRay
1fd52ef9c7fdf067942df7559b93722632ea8ed2
[ "MIT" ]
null
null
null
KlurifaxRay/OpenKlurifax/Graphics/DeferedRenderProgram.cpp
exnotime/KlurifaxRay
1fd52ef9c7fdf067942df7559b93722632ea8ed2
[ "MIT" ]
null
null
null
#include "DeferedRenderProgram.h" #include "../Base/MaterialBank.h" #include "../Base/ModelBank.h" #include "../Base/Input.h" DeferedRenderProgram::DeferedRenderProgram(){ m_Defered = true; } DeferedRenderProgram::~DeferedRenderProgram(){ } void DeferedRenderProgram::Init(){ m_ShaderProgram.LoadCompleteShaderProgra...
37.525641
118
0.760847
exnotime
4c8ef8b57033284ecfed089b847f18003995da5a
1,818
hpp
C++
modules/viewer/src/Viewer/gmColorTransferFunctionCanvas.hpp
GraphMIC/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
43
2016-04-11T11:34:05.000Z
2022-03-31T03:37:57.000Z
modules/viewer/src/Viewer/gmColorTransferFunctionCanvas.hpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
1
2016-05-17T12:58:16.000Z
2016-05-17T12:58:16.000Z
modules/viewer/src/Viewer/gmColorTransferFunctionCanvas.hpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
14
2016-05-13T20:23:16.000Z
2021-12-20T10:33:19.000Z
#pragma once #include "gmViewerExport.hpp" #include "gmTransferFunctionCanvas.hpp" #include <vtkColorTransferFunction.h> namespace gm { namespace ViewItem { class GM_VIEWER_EXPORT ColorTransferFunctionCanvas: public TransferFunctionCanvas { Q_OBJECT Q_PROPERTY(double gr...
39.521739
99
0.610561
GraphMIC
4c93d22d5abe16281d225fa384302c257129d696
2,147
hpp
C++
addons/main/magazines/CfgMagAK.hpp
johnb432/Weapons-Balance-3CBFactions
23e3f628009b64a243a479d4878f68e997a53c0e
[ "MIT" ]
null
null
null
addons/main/magazines/CfgMagAK.hpp
johnb432/Weapons-Balance-3CBFactions
23e3f628009b64a243a479d4878f68e997a53c0e
[ "MIT" ]
null
null
null
addons/main/magazines/CfgMagAK.hpp
johnb432/Weapons-Balance-3CBFactions
23e3f628009b64a243a479d4878f68e997a53c0e
[ "MIT" ]
null
null
null
class UK3CB_AK47_30Rnd_Magazine: rhs_30Rnd_762x39mm { ammo = "UK3CB_762x39_Ball_Green"; mass = 13.5; }; class UK3CB_AK47_30Rnd_Magazine_G: rhs_30Rnd_762x39mm { ammo = "UK3CB_762x39_Ball_Green"; mass = 13.5; }; class UK3CB_AK47_30Rnd_Magazine_R: rhs_30Rnd_762x39mm { ammo = "UK3CB_762x39_Ball_Red"; ...
29.013514
63
0.752212
johnb432
4c961d06d22fca13cd86870a40f72678be545256
5,093
cpp
C++
src/LxElfException.cpp
emagii/ielfutils
3d3729f2d4777063c1255dcb20766097551a811c
[ "MIT" ]
null
null
null
src/LxElfException.cpp
emagii/ielfutils
3d3729f2d4777063c1255dcb20766097551a811c
[ "MIT" ]
null
null
null
src/LxElfException.cpp
emagii/ielfutils
3d3729f2d4777063c1255dcb20766097551a811c
[ "MIT" ]
null
null
null
///////////////////////////////// -*- C++ -*- ///////////////////////////////// /* * Copyright 2007-2017 IAR Systems AB. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice a...
25.984694
118
0.697231
emagii
4c97145b50a2dab608fcf6f34d644da25d6ce394
6,818
cc
C++
test/random/seed_material_test.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
test/random/seed_material_test.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
test/random/seed_material_test.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
// #include <abel/random/internal/seed_material.h> #include <bitset> #include <cstdlib> #include <cstring> #include <random> #include <gmock/gmock.h> #include <gtest/gtest.h> #ifdef __ANDROID__ // Android assert messages only go to system log, so death tests cannot inspect // the message for matching. #define ABEL_...
35.696335
80
0.718979
Conun
4ca00cba4e6bc961066293116b718e554d6302d7
822
hpp
C++
configuration/viewDistanceEditor.hpp
Bubbus/F3_CA_BUB
cd7a725d65afa56a3a7f24288c839333f03b5454
[ "Unlicense" ]
1
2020-10-30T16:10:23.000Z
2020-10-30T16:10:23.000Z
configuration/viewDistanceEditor.hpp
Bubbus/F3_CA_BUB
cd7a725d65afa56a3a7f24288c839333f03b5454
[ "Unlicense" ]
41
2020-11-20T18:24:19.000Z
2021-12-14T15:51:50.000Z
configuration/viewDistanceEditor.hpp
Bubbus/F3_CA_BUB
cd7a725d65afa56a3a7f24288c839333f03b5454
[ "Unlicense" ]
2
2020-11-08T16:59:28.000Z
2021-11-30T11:41:10.000Z
// Enable players to edit their view distance settings via the ACE self-interact menu. // To disable the view-distance editor, comment-out or delete the line below. #define ENABLE_VIEWDISTANCE_EDITOR // When enabled, only units with the following variable can use the view-distande editor. Use for pilots, snipers, ta...
58.714286
174
0.794404
Bubbus
4ca6c3002f8b20d77f79165642c6e82374002bc6
2,312
cc
C++
src/yukino/comparator.cc
YukinoDB/YukinoDB
74be184d7e2adae4d070f11bcbabdac5697705b7
[ "BSD-2-Clause" ]
1
2017-01-06T02:02:33.000Z
2017-01-06T02:02:33.000Z
src/yukino/comparator.cc
YukinoDB/YukinoDB
74be184d7e2adae4d070f11bcbabdac5697705b7
[ "BSD-2-Clause" ]
null
null
null
src/yukino/comparator.cc
YukinoDB/YukinoDB
74be184d7e2adae4d070f11bcbabdac5697705b7
[ "BSD-2-Clause" ]
null
null
null
#include "yukino/comparator.h" #include "base/slice.h" #include "glog/logging.h" #include <string.h> #include <mutex> namespace yukino { namespace { std::once_flag create_bytewise_comparator_once; Comparator *bytewise_comparator; } Comparator::~Comparator() { } class BytewiseComparator : public Comparator { publ...
27.52381
84
0.580017
YukinoDB
4ca9b9b204fbf128883f328a7550c717b231adca
5,319
cpp
C++
src/base/ossimDpt.cpp
vladislav-horbatiuk/ossim
82417ad868fac022672335e1684bdd91d662c18c
[ "MIT" ]
251
2015-10-20T09:08:11.000Z
2022-03-22T18:16:38.000Z
src/base/ossimDpt.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
73
2015-11-02T17:12:36.000Z
2021-11-15T17:41:47.000Z
src/base/ossimDpt.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
146
2015-10-15T16:00:15.000Z
2022-03-22T12:37:14.000Z
//******************************************************************* // // License: See top level LICENSE.txt file. // // Author: David Burken // // Description: // Contains class definitions for ossimDpt. // //******************************************************************* // $Id: ossimDpt.cpp 20204 2011-11-...
18.795053
86
0.412672
vladislav-horbatiuk
4cab4255dff6fe442939c0c2ae6db0dda9dba7d2
3,359
cpp
C++
arr/temp_dir.test.cpp
kmarkley86/arr
e3ae031865aa12b94dc65691978cb73c689ed6b3
[ "BSD-3-Clause" ]
null
null
null
arr/temp_dir.test.cpp
kmarkley86/arr
e3ae031865aa12b94dc65691978cb73c689ed6b3
[ "BSD-3-Clause" ]
null
null
null
arr/temp_dir.test.cpp
kmarkley86/arr
e3ae031865aa12b94dc65691978cb73c689ed6b3
[ "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2012, 2013, 2015, 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, // ...
34.989583
79
0.687407
kmarkley86
4cad3a9296b7d5fdaf8ab40dbfb074b30891e0c4
1,170
cpp
C++
sort/Bubble.cpp
sylviot/algoritmo
f553c0345bb82b0bed28904f906e5833006a8045
[ "MIT" ]
2
2016-04-27T16:39:32.000Z
2016-04-27T17:06:33.000Z
sort/Bubble.cpp
sylviot/algoritmo
f553c0345bb82b0bed28904f906e5833006a8045
[ "MIT" ]
null
null
null
sort/Bubble.cpp
sylviot/algoritmo
f553c0345bb82b0bed28904f906e5833006a8045
[ "MIT" ]
1
2016-04-27T17:06:42.000Z
2016-04-27T17:06:42.000Z
#include <bits/stdc++.h> using namespace std; /* Neste exemplo, o objetivo é ordernar o array de forma crescente. Para que o mesmo seja decrescente, basta trocar o sinal de 'maior que' para 'menor que' */ bool need_swap(int a, int b){ /* Condição de troca dos elementos do array */ return a > b; } void swap(int *...
24.375
108
0.64188
sylviot
4cb07fbc0f50a13010ab7d259783b2687e91b978
12,595
cpp
C++
libgpopt/src/operators/CLogicalSequenceProject.cpp
khannaekta/gporca
94e509d0a2456851a2cabf02e933c3523946b87b
[ "ECL-2.0", "Apache-2.0" ]
1
2019-03-05T10:08:56.000Z
2019-03-05T10:08:56.000Z
libgpopt/src/operators/CLogicalSequenceProject.cpp
khannaekta/gporca
94e509d0a2456851a2cabf02e933c3523946b87b
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
libgpopt/src/operators/CLogicalSequenceProject.cpp
khannaekta/gporca
94e509d0a2456851a2cabf02e933c3523946b87b
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2012 EMC Corp. // // @filename: // CLogicalSequenceProject.cpp // // @doc: // Implementation of sequence project operator //--------------------------------------------------------------------------- ...
25.089641
96
0.561254
khannaekta
4cb1eed3760f8062bc35fa5e0c38a4110e2d7f85
29,087
hpp
C++
include/bealab/core/plot.hpp
damianmarelli/bealab
3357a0b0fd836c3557f39863471680cc99721729
[ "BSD-3-Clause" ]
1
2018-04-17T13:45:21.000Z
2018-04-17T13:45:21.000Z
include/bealab/core/plot.hpp
damianmarelli/bealab
3357a0b0fd836c3557f39863471680cc99721729
[ "BSD-3-Clause" ]
null
null
null
include/bealab/core/plot.hpp
damianmarelli/bealab
3357a0b0fd836c3557f39863471680cc99721729
[ "BSD-3-Clause" ]
null
null
null
/// @file bealab/core/plot.hpp /// Plotting using Gnuplot. #ifndef _BEALAB_PLOT_ #define _BEALAB_PLOT_ #include <bealab/scilib/sequences.hpp> #include <fstream> namespace bealab { /// @defgroup plot Plot /// Plotting using Gnuplot. /// @{ /// @name Plotting style attributes /// One-word attributes (line type, poin...
23.628757
121
0.571527
damianmarelli
4cb3cc2f716dbb8e67c98f4f157820d5fcbba7ac
856
hpp
C++
Dexlite-SceneEditor/src/SceneEditor.hpp
ajp-9/dexlite-engine
a1647836f844f54bb3a7b3aaa24ed84a2aca53cb
[ "MIT" ]
1
2021-10-05T03:26:14.000Z
2021-10-05T03:26:14.000Z
Dexlite-SceneEditor/src/SceneEditor.hpp
ajp-9/dexlite-engine
a1647836f844f54bb3a7b3aaa24ed84a2aca53cb
[ "MIT" ]
null
null
null
Dexlite-SceneEditor/src/SceneEditor.hpp
ajp-9/dexlite-engine
a1647836f844f54bb3a7b3aaa24ed84a2aca53cb
[ "MIT" ]
null
null
null
#pragma once #include <dex/Dexlite.hpp> #include "GUI/GUI.hpp" #include <dex/Physics/Physics.hpp> // Todo: // - Rehaul layer system namespace dex { class SceneEditor : public dex::Program { public: SceneEditor(); //~SceneEditor(); virtual void beginFrame() override; ...
23.135135
81
0.620327
ajp-9
4cb7d9cdea1ec1709d9a07fd46a0602914ed3b39
8,884
cpp
C++
SDK/ARKSurvivalEvolved_SpaceWhaleHUD_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_SpaceWhaleHUD_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_SpaceWhaleHUD_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_SpaceWhaleHUD_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------...
29.223684
133
0.744259
2bite
4cbc9d276482791d7836cbba64730ca9f6ee8a7e
9,933
cpp
C++
interface_opencl/set_get.cpp
Zhitao-Li/clMagma
c8dcc4025601ac67736714fb43f8f4382c05d900
[ "BSD-3-Clause" ]
null
null
null
interface_opencl/set_get.cpp
Zhitao-Li/clMagma
c8dcc4025601ac67736714fb43f8f4382c05d900
[ "BSD-3-Clause" ]
1
2021-03-13T10:05:16.000Z
2021-03-13T10:05:16.000Z
interface_opencl/set_get.cpp
Zhitao-Li/clMagma
c8dcc4025601ac67736714fb43f8f4382c05d900
[ "BSD-3-Clause" ]
null
null
null
/* -- MAGMA (version 1.1) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date @author Mark Gates @precisions normal z -> s d c */ #include <stdlib.h> #include <stdio.h> #include "magma.h" #include "error.h" #if defined(HAVE_cl...
29.129032
87
0.566294
Zhitao-Li
4cce043fea1a7a4dab98120b570ffe2be4a240fa
20,419
cc
C++
src/main.cc
JasperBraun/PasteAlignments
5186f674e51571319af3f328c661aaa62dbd0ca9
[ "MIT" ]
null
null
null
src/main.cc
JasperBraun/PasteAlignments
5186f674e51571319af3f328c661aaa62dbd0ca9
[ "MIT" ]
null
null
null
src/main.cc
JasperBraun/PasteAlignments
5186f674e51571319af3f328c661aaa62dbd0ca9
[ "MIT" ]
null
null
null
// Copyright (c) 2020 Jasper Braun // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, ...
45.075055
88
0.597826
JasperBraun
4ccff8205e775119297f202269d4eea2e3fc40a8
10,610
cpp
C++
src/world/RssSituationCoordinateSystemConversion.cpp
DeepakVellampalli/ad-rss-lib
1bd380ee0d45547ef2c1c546bf3dec521ef41728
[ "BSD-3-Clause" ]
null
null
null
src/world/RssSituationCoordinateSystemConversion.cpp
DeepakVellampalli/ad-rss-lib
1bd380ee0d45547ef2c1c546bf3dec521ef41728
[ "BSD-3-Clause" ]
null
null
null
src/world/RssSituationCoordinateSystemConversion.cpp
DeepakVellampalli/ad-rss-lib
1bd380ee0d45547ef2c1c546bf3dec521ef41728
[ "BSD-3-Clause" ]
1
2021-07-04T00:32:16.000Z
2021-07-04T00:32:16.000Z
// ----------------- BEGIN LICENSE BLOCK --------------------------------- // // Copyright (c) 2018-2019 Intel Corporation // // 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 ...
33.68254
120
0.651461
DeepakVellampalli
4cd2550e74f2b96fadbd22354da40f96718222b3
9,838
cpp
C++
src/OHAF_Events.cpp
max-su-2019/OnHit-Animation-Framework
93e7de6c7d5f43752610d6df91438fd310e337ff
[ "MIT" ]
1
2022-01-14T02:17:27.000Z
2022-01-14T02:17:27.000Z
src/OHAF_Events.cpp
max-su-2019/OnHit-Animation-Framework
93e7de6c7d5f43752610d6df91438fd310e337ff
[ "MIT" ]
null
null
null
src/OHAF_Events.cpp
max-su-2019/OnHit-Animation-Framework
93e7de6c7d5f43752610d6df91438fd310e337ff
[ "MIT" ]
1
2022-02-06T15:07:59.000Z
2022-02-06T15:07:59.000Z
#include "OHAF_Events.h" #include "OHAF_DataHandler.h" #include "OHAF_Functions.h" namespace MaxsuOnHitAnimFW { using EventResult = RE::BSEventNotifyControl; //-------------------------------------OnHit Event----------------------------------------------------------------------------------------------------- bool...
31.231746
196
0.577048
max-su-2019
4cd66be2b2d369506646e81d0df17fc8b171cee5
24
cpp
C++
tensor/eigen3/eigen_impl.cpp
zhangmeishan/N3LDG
c4ee4d505a744695631c81ad52f466584c65f535
[ "Apache-2.0" ]
21
2017-05-02T03:01:23.000Z
2020-08-18T06:29:09.000Z
tensor/eigen3/eigen_impl.cpp
zhangmeishan/N3LDG
c4ee4d505a744695631c81ad52f466584c65f535
[ "Apache-2.0" ]
null
null
null
tensor/eigen3/eigen_impl.cpp
zhangmeishan/N3LDG
c4ee4d505a744695631c81ad52f466584c65f535
[ "Apache-2.0" ]
10
2017-04-22T07:47:39.000Z
2019-06-20T06:23:45.000Z
#include "eigen_impl.h"
12
23
0.75
zhangmeishan
4cd85a9501694fb43303550fd877b3f2e9293ff0
11,717
cc
C++
ph_eigrp.cc
ccie18643/BlackBird
c3da033548f2c802f4e2c227204d09b1f4af38f1
[ "BSD-4-Clause-UC" ]
null
null
null
ph_eigrp.cc
ccie18643/BlackBird
c3da033548f2c802f4e2c227204d09b1f4af38f1
[ "BSD-4-Clause-UC" ]
null
null
null
ph_eigrp.cc
ccie18643/BlackBird
c3da033548f2c802f4e2c227204d09b1f4af38f1
[ "BSD-4-Clause-UC" ]
null
null
null
/* * Copyright (c) 2001 - 2003 * Sebastian Majewski. 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, t...
31.412869
95
0.525817
ccie18643
4cdea8e5042dfe83d6ca13e112a0b5a6f7122495
2,418
hh
C++
GenEnv/GenBuildEnv.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
GenEnv/GenBuildEnv.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
GenEnv/GenBuildEnv.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------- // File and Version Information: // $Id: GenBuildEnv.hh 510 2010-01-14 15:28:09Z stroili $ // // Description: // Class GenBuildEnv. // This is the class which builds the Gen environment GenEnv. It has // memory managment repsonsi...
20.844828
76
0.48842
brownd1978
4ce104ccd72835557e35ac6b7f9b609dd4d9524a
1,882
cpp
C++
graph/is_graph_bipartite.cpp
zm66260/Data_Structure_and_Algorithms
f3e6d60a9f0ddf1a8fe943dedc089172bc8c833e
[ "MIT" ]
null
null
null
graph/is_graph_bipartite.cpp
zm66260/Data_Structure_and_Algorithms
f3e6d60a9f0ddf1a8fe943dedc089172bc8c833e
[ "MIT" ]
null
null
null
graph/is_graph_bipartite.cpp
zm66260/Data_Structure_and_Algorithms
f3e6d60a9f0ddf1a8fe943dedc089172bc8c833e
[ "MIT" ]
null
null
null
//785 is graph bipartite? // Given an undirected graph, return true if and only if it is bipartite. // Recall that a graph is bipartite if we can split it's set of nodes into two independent subsets A and B such that every edge in the graph has one node in A and another node in B. // The graph is given in the fo...
31.898305
298
0.583422
zm66260
4cead3fc4938b210cc087c90e5e0b1b8d8f412f5
22,098
cc
C++
Pythia8_1_86/src/SigmaTotal.cc
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
Pythia8_1_86/src/SigmaTotal.cc
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
Pythia8_1_86/src/SigmaTotal.cc
klendathu2k/StarGenerator
7dd407c41d4eea059ca96ded80d30bda0bc014a4
[ "MIT" ]
null
null
null
// SigmaTotal.cc is a part of the PYTHIA event generator. // Copyright (C) 2014 Torbjorn Sjostrand. // PYTHIA is licenced under the GNU GPL version 2, see COPYING for details. // Please respect the MCnet Guidelines, see GUIDELINES for details. // Function definitions (not found in the header) for the SigmaTotal class....
38.431304
76
0.544257
klendathu2k
4cebd547d83bc1ced6004a96723065b84647689d
4,707
cpp
C++
encoder.cpp
m1c43L/File-Compressor-Huffman
62c6fd7964cff86626e680fe02522818efb7aaf7
[ "MIT" ]
null
null
null
encoder.cpp
m1c43L/File-Compressor-Huffman
62c6fd7964cff86626e680fe02522818efb7aaf7
[ "MIT" ]
null
null
null
encoder.cpp
m1c43L/File-Compressor-Huffman
62c6fd7964cff86626e680fe02522818efb7aaf7
[ "MIT" ]
null
null
null
#include "headerfiles/encoder.h" encoder::encoder(string _filename, int capacity){ bool has_dot = false; for(int i = 0; i < _filename.size(); i++){ if(has_dot) original_extension.push_back(_filename[i]); if(_filename[i] == '.') has_dot = true; } filename = _filename; bits = new...
24.138462
103
0.657106
m1c43L
4cf15e7c3fcb443a602f2c84645d7a495758a8f7
1,009
cpp
C++
C++/count-univalue-subtrees.cpp
black-shadows/LeetCode-Solutions
b1692583f7b710943ffb19b392b8bf64845b5d7a
[ "Fair", "Unlicense" ]
1
2020-04-16T08:38:14.000Z
2020-04-16T08:38:14.000Z
count-univalue-subtrees.cpp
Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise
f1111b4edd401a3fc47111993bd7250cf4dc76da
[ "MIT" ]
null
null
null
count-univalue-subtrees.cpp
Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise
f1111b4edd401a3fc47111993bd7250cf4dc76da
[ "MIT" ]
1
2021-12-25T14:48:56.000Z
2021-12-25T14:48:56.000Z
// Time: O(n) // Space: O(h) /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: int countUnivalSubtrees(TreeNode* root) { ...
25.871795
72
0.509415
black-shadows
4cf190d31aee790dea04a36dd2b69b144297b728
52,472
cpp
C++
src/lib/DISCRETA/btree.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-10-27T15:18:28.000Z
2022-02-09T11:13:07.000Z
src/lib/DISCRETA/btree.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
4
2019-12-09T11:49:11.000Z
2020-07-30T17:34:45.000Z
src/lib/DISCRETA/btree.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-06-10T20:05:30.000Z
2020-12-18T04:59:19.000Z
// btree.cpp // // Anton Betten // 28.11.2000 // moved from D2 to ORBI Nov 15, 2007 #include "orbiter.h" #include <stdlib.h> // for system using namespace std; namespace orbiter { namespace discreta { //int bt_debug = FALSE; #undef USE_TABLE #define WRITE_INFO_ONLY_AT_END #define MAX_ROOT_BUF 20 int f...
23.732248
118
0.609258
abetten
4cf245496e5b0d46ff755cb01975f3ed8ad0185f
2,709
hpp
C++
s32v234_sdk/libs/dnn/apexdnn_sn/graphs/e1e3mp_module_graph.hpp
intesight/Panorama4AIWAYS
46e1988e54a5155be3b3b47c486b3f722be00b5c
[ "WTFPL" ]
null
null
null
s32v234_sdk/libs/dnn/apexdnn_sn/graphs/e1e3mp_module_graph.hpp
intesight/Panorama4AIWAYS
46e1988e54a5155be3b3b47c486b3f722be00b5c
[ "WTFPL" ]
null
null
null
s32v234_sdk/libs/dnn/apexdnn_sn/graphs/e1e3mp_module_graph.hpp
intesight/Panorama4AIWAYS
46e1988e54a5155be3b3b47c486b3f722be00b5c
[ "WTFPL" ]
2
2021-01-21T02:06:16.000Z
2021-01-28T10:47:37.000Z
/***************************************************************************** * * NXP Confidential Proprietary * * Copyright (c) 2015-2016 Freescale Semiconductor * Copyright 2017-2018 NXP * All Rights Reserved * ****************************************************************************** * * THIS SOFTWARE IS PROV...
38.7
105
0.633813
intesight
e0810d3b73bcd1f809dd114d7267b17ab709b57b
351
hpp
C++
app/src/main/cpp/common/ScreenTouched.hpp
simonppg/break_it_all
95e8f2df935e35a3aa851bc981f81e06623c49f6
[ "MIT" ]
null
null
null
app/src/main/cpp/common/ScreenTouched.hpp
simonppg/break_it_all
95e8f2df935e35a3aa851bc981f81e06623c49f6
[ "MIT" ]
15
2021-09-23T23:46:54.000Z
2022-03-02T06:04:51.000Z
app/src/main/cpp/common/ScreenTouched.hpp
simonppg/break_it_all
95e8f2df935e35a3aa851bc981f81e06623c49f6
[ "MIT" ]
2
2019-05-23T23:03:06.000Z
2020-06-14T15:33:59.000Z
#ifndef COMMON_SCREEN_TOUCHED_HPP #define COMMON_SCREEN_TOUCHED_HPP #include "Event.hpp" class ScreenTouched : public Event { private: double xPosition, yPosition; public: ScreenTouched(double xPosition, double yPosition); EventType type(); double getXPosition(); double getYPosition(); }; #endi...
18.473684
54
0.754986
simonppg
e08504be10a68657115debaff53571e256f491ea
1,358
cpp
C++
codeforces/1037/D.cpp
StableAgOH/solution-codes
1fde9424a40f989570e05d7340ddd5497a0d390d
[ "CC0-1.0" ]
null
null
null
codeforces/1037/D.cpp
StableAgOH/solution-codes
1fde9424a40f989570e05d7340ddd5497a0d390d
[ "CC0-1.0" ]
null
null
null
codeforces/1037/D.cpp
StableAgOH/solution-codes
1fde9424a40f989570e05d7340ddd5497a0d390d
[ "CC0-1.0" ]
null
null
null
#include <iostream> #include <ctime> using namespace std; //========================================== #include <set> #include <vector> #include <queue> const int maxn = 2e5 + 5; vector<set<int>> G(maxn); bool vis[maxn]; vector<int> seq; bool judge() { if(seq[0]!=1) return false; int cnt = 1; static queue<i...
20.575758
57
0.438144
StableAgOH
e08606f4206e84fa65d40ecdc96b8f8e3e4ec1d1
480
cpp
C++
JTS/CF-B/CF385-D2-B/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
2
2019-03-18T16:06:10.000Z
2019-04-07T23:17:06.000Z
JTS/CF-B/CF385-D2-B/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
null
null
null
JTS/CF-B/CF385-D2-B/main.cpp
rahulsrma26/ol_codes
dc599f5b70c14229a001c5239c366ba1b990f68b
[ "MIT" ]
1
2019-03-18T16:06:52.000Z
2019-03-18T16:06:52.000Z
// Date : 2019-03-31 // Author : Rahul Sharma // Problem : http://codeforces.com/contest/385/problem/B #include <iostream> #include <string> int main() { using namespace std; ios_base::sync_with_stdio(false); cin.tie(0); string s; cin >> s; int w = 0, n = s.length(), l =...
20.869565
87
0.495833
rahulsrma26
e08bc34b13d415ddcb13fa8254672566def176c8
251
cpp
C++
module01/ex04/ex04.cpp
M-Philippe/cpp_piscine
9584ebcb030c54ca522dbcf795bdcb13a0325f77
[ "MIT" ]
null
null
null
module01/ex04/ex04.cpp
M-Philippe/cpp_piscine
9584ebcb030c54ca522dbcf795bdcb13a0325f77
[ "MIT" ]
null
null
null
module01/ex04/ex04.cpp
M-Philippe/cpp_piscine
9584ebcb030c54ca522dbcf795bdcb13a0325f77
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> #include <unistd.h> int main() { std::string str = "HI THIS IS BRAIN"; std::string *ptr = &str; std::string &ref = str; std::cout << "Pointer: " << *ptr << "\n"; std::cout << "Reference: " << ref << "\n"; }
20.916667
43
0.569721
M-Philippe
e08dabdfb519285c51c5d9f061a66b3bd5098e9d
3,895
cpp
C++
source/renderer/renderers/vulkan/PhysicalDeviceWrapper.cpp
RaygenGroup/kaleido
e4648c3f4ba88a1aae942fdd854b32142e35fb78
[ "MIT" ]
4
2021-01-28T07:39:53.000Z
2022-01-17T14:02:13.000Z
source/renderer/renderers/vulkan/PhysicalDeviceWrapper.cpp
RaygenEngine/Kaleido
e4648c3f4ba88a1aae942fdd854b32142e35fb78
[ "MIT" ]
null
null
null
source/renderer/renderers/vulkan/PhysicalDeviceWrapper.cpp
RaygenEngine/Kaleido
e4648c3f4ba88a1aae942fdd854b32142e35fb78
[ "MIT" ]
null
null
null
#include "pch/pch.h" #include "renderer/renderers/vulkan/PhysicalDeviceWrapper.h" #include "renderer/renderers/vulkan/DeviceWrapper.h" #include "system/Logger.h" #include <set> namespace vlkn { void PhysicalDeviceWrapper::Init(vk::PhysicalDevice handle, vk::SurfaceKHR surface) { m_vkHandle = handle; std::vector...
30.193798
114
0.744031
RaygenGroup
e08e83312b6faf0beb0feab595057bdf80f25dbd
325
cpp
C++
Service/ConsoleLogger.cpp
Dublerq/dyalog
371db0390e14f144698a8ab501eb61497c0c3583
[ "MIT" ]
null
null
null
Service/ConsoleLogger.cpp
Dublerq/dyalog
371db0390e14f144698a8ab501eb61497c0c3583
[ "MIT" ]
null
null
null
Service/ConsoleLogger.cpp
Dublerq/dyalog
371db0390e14f144698a8ab501eb61497c0c3583
[ "MIT" ]
null
null
null
#include <iostream> #include "ConsoleLogger.h" ConsoleLogger::ConsoleLogger(unsigned int loggedLevelFrom, unsigned int loggedLevelTo) : LogHandlerAbstract(loggedLevelFrom, loggedLevelTo) { } void ConsoleLogger::execute(std::shared_ptr<MessageAbstract> message) { std::cout << this->getFinalMessage(message...
25
86
0.769231
Dublerq
e09099ac7fc9053e0465cb674dac356b1bdf639e
1,936
hpp
C++
contract/lite-client/tl-utils/lite-utils.hpp
TONCommunity/ton-sync-payments-channel
2e5cd4902406923fdba32b8309ab8c40db3ae5bc
[ "MIT" ]
5
2019-10-15T18:26:06.000Z
2020-05-09T14:09:49.000Z
contract/lite-client/tl-utils/lite-utils.hpp
TONCommunity/ton-sync-payments-channel
2e5cd4902406923fdba32b8309ab8c40db3ae5bc
[ "MIT" ]
null
null
null
contract/lite-client/tl-utils/lite-utils.hpp
TONCommunity/ton-sync-payments-channel
2e5cd4902406923fdba32b8309ab8c40db3ae5bc
[ "MIT" ]
2
2020-07-24T16:09:02.000Z
2021-08-18T17:08:28.000Z
/* This file is part of TON Blockchain Library. TON Blockchain Library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later ver...
38.72
103
0.759814
TONCommunity
e091432585d4602f67fb1e7f11e2e8289ae4d007
3,722
cpp
C++
CGALWrapper/Polygons/Polygon2_EIK.cpp
unitycoder/CGALDotNet
90682724a55aec2818847500047d4785aa7e1d67
[ "MIT" ]
null
null
null
CGALWrapper/Polygons/Polygon2_EIK.cpp
unitycoder/CGALDotNet
90682724a55aec2818847500047d4785aa7e1d67
[ "MIT" ]
null
null
null
CGALWrapper/Polygons/Polygon2_EIK.cpp
unitycoder/CGALDotNet
90682724a55aec2818847500047d4785aa7e1d67
[ "MIT" ]
null
null
null
#include "Polygon2_EIK.h" #include "Polygon2.h" #include <CGAL/Polygon_2.h> void* Polygon2_EIK_Create() { return Polygon2<EIK>::NewPolygon2(); } void Polygon2_EIK_Release(void* ptr) { Polygon2<EIK>::DeletePolygon2(ptr); } int Polygon2_EIK_Count(void* ptr) { auto polygon = Polygon2<EIK>::CastToPolygon2(ptr); re...
20.677778
117
0.746104
unitycoder
e09281505f4c8b5d72daeb501a3b581096551393
293
hpp
C++
src/TsParser.hpp
kelteseth/qt-ts-csv
5caf8ca172d33a24f1eef5e574d651fcf41f27e9
[ "MIT" ]
2
2021-04-02T22:06:43.000Z
2021-11-16T13:30:30.000Z
src/TsParser.hpp
kelteseth/qt-ts-csv
5caf8ca172d33a24f1eef5e574d651fcf41f27e9
[ "MIT" ]
null
null
null
src/TsParser.hpp
kelteseth/qt-ts-csv
5caf8ca172d33a24f1eef5e574d651fcf41f27e9
[ "MIT" ]
null
null
null
#pragma once #include "Parser.hpp" class QDomNode; class TsParser : public Parser { public: explicit TsParser(InOutParameter parameter); std::pair<Translations, QString> parse() const override; private: std::pair<QString, int> wrapLocation(const QDomNode &node) const; };
17.235294
69
0.720137
kelteseth
e093106064c576658009806b6e293f41abf883e1
567
cpp
C++
src/ent_cont.cpp
kvbc/space_shooter
6e9e689d23c5b8570fb791ace938eab09d1b477b
[ "MIT" ]
1
2022-03-14T09:35:11.000Z
2022-03-14T09:35:11.000Z
src/ent_cont.cpp
kvbc/space_shooter
6e9e689d23c5b8570fb791ace938eab09d1b477b
[ "MIT" ]
null
null
null
src/ent_cont.cpp
kvbc/space_shooter
6e9e689d23c5b8570fb791ace938eab09d1b477b
[ "MIT" ]
null
null
null
#include <iostream> #include "ent_cont.h" #include "entity.h" iterator entity_cont::begin() { return m_data.begin(); } iterator entity_cont::end() { return m_data.end(); } int entity_cont::size() const { return m_data.size(); } // Get the entity from an entity container // by the positio...
17.71875
53
0.619048
kvbc
e09522f856913d407da664792bd8f07d719dd3df
1,106
cpp
C++
src/io/cmosram.cpp
logicworldzju/X86Emulator
d822978ac46495da18b4df5095b6f51038d77c23
[ "MIT" ]
15
2016-03-11T11:02:25.000Z
2020-08-13T02:15:41.000Z
src/io/cmosram.cpp
logicworldzju/X86Emulator
d822978ac46495da18b4df5095b6f51038d77c23
[ "MIT" ]
null
null
null
src/io/cmosram.cpp
logicworldzju/X86Emulator
d822978ac46495da18b4df5095b6f51038d77c23
[ "MIT" ]
5
2016-03-27T03:29:12.000Z
2021-12-07T09:28:42.000Z
#include "cmosram.h" #include<QDebug> #include <string.h> CMOSRAM::CMOSRAM() :_indexIOPort(*this),_dataIOPort(*this) { ::memset(_ram,0,sizeof(_ram)); } u32 CMOSRAM::indexReadFromPort(Memory &memory, RegisterFile &registerFile) { assert(0); return 0xcccccccc; } void CMOSRAM::indexWrite2Port(u32 value, ...
19.403509
84
0.615732
logicworldzju
e09618460dd7916ede44f02674e37e93a93ffeda
4,905
cpp
C++
liblava/base/memory.cpp
underdoeg/liblava
d08f551caffbd18e94903f6c5073a15762994161
[ "MIT" ]
null
null
null
liblava/base/memory.cpp
underdoeg/liblava
d08f551caffbd18e94903f6c5073a15762994161
[ "MIT" ]
null
null
null
liblava/base/memory.cpp
underdoeg/liblava
d08f551caffbd18e94903f6c5073a15762994161
[ "MIT" ]
null
null
null
// file : liblava/base/memory.cpp // copyright : Copyright (c) 2018-present, Lava Block OÜ // license : MIT; see accompanying LICENSE file #include <liblava/base/memory.hpp> #include <liblava/base/instance.hpp> #ifdef _WIN32 #pragma warning(push, 4) #pragma warning(disable : 4127) // conditional expression is ...
33.59589
154
0.744546
underdoeg
e09a53982f52935bbcef610c8eb5e164428d3577
804
hpp
C++
src/serialization/detail/GenericPublicKeySerializer.hpp
devktor/libbitcrypto
1b08fb75e6884a622f3a646bfb7bf22609f968ea
[ "MIT" ]
1
2016-09-12T19:25:54.000Z
2016-09-12T19:25:54.000Z
src/serialization/detail/GenericPublicKeySerializer.hpp
BitProfile/libethcrypto
1b08fb75e6884a622f3a646bfb7bf22609f968ea
[ "MIT" ]
null
null
null
src/serialization/detail/GenericPublicKeySerializer.hpp
BitProfile/libethcrypto
1b08fb75e6884a622f3a646bfb7bf22609f968ea
[ "MIT" ]
null
null
null
#pragma once #include "../../key/PublicKey.hpp" #include "../../key/CompressedPoint.hpp" #include "../../key/UncompressedPoint.hpp" #include "../../detail/Secp256k1Handler.hpp" #include "BinaryPublicKeySerializer.hpp" namespace Ethereum{ template<class Encoder> class GenericPublicKeySerializer { public: ...
21.157895
75
0.721393
devktor
e09acf37fa8a62f9330dca0f51ab8171ff55a687
216
hpp
C++
src/Animus/graphics/Texture.hpp
RobertZ2011/animus
525f3eb6b93bd71c60889261b4d7f1d5a2d52e69
[ "BSD-3-Clause" ]
null
null
null
src/Animus/graphics/Texture.hpp
RobertZ2011/animus
525f3eb6b93bd71c60889261b4d7f1d5a2d52e69
[ "BSD-3-Clause" ]
null
null
null
src/Animus/graphics/Texture.hpp
RobertZ2011/animus
525f3eb6b93bd71c60889261b4d7f1d5a2d52e69
[ "BSD-3-Clause" ]
null
null
null
#ifndef ANIMUS_TEXTURE #define ANIMUS_TEXTURE #include "../types/types.hpp" namespace Animus { class Texture_ { virtual ~Texture_(void) = default; }; typedef Pointer<Texture_> Texture; } #endif
16.615385
42
0.685185
RobertZ2011
e09c69e20148bac5df923b1e260afe6d8b945edc
456
cpp
C++
base-usage/cplusplus/test_function_point.cpp
sczzq/symmetrical-spoon
aa0c27bb40a482789c7c6a7088307320a007b49b
[ "Unlicense" ]
null
null
null
base-usage/cplusplus/test_function_point.cpp
sczzq/symmetrical-spoon
aa0c27bb40a482789c7c6a7088307320a007b49b
[ "Unlicense" ]
null
null
null
base-usage/cplusplus/test_function_point.cpp
sczzq/symmetrical-spoon
aa0c27bb40a482789c7c6a7088307320a007b49b
[ "Unlicense" ]
null
null
null
/************************************************************************* > File Name: test_function_point.cpp > Author: ziqiang > Mail: ziqiang_free@163.com > Created Time: Fri 05 May 2017 01:01:40 PM CST ************************************************************************/ #include <iostream> using namesp...
16.888889
74
0.407895
sczzq
e0a07e8fa55975f7c2b9c3ebea1812cec3b97d80
1,031
cpp
C++
fpm.cpp
Raschert0/GKS_GANTT
9fe2553718b6d3e5a7a70bc47a2c1e447850fecf
[ "MIT" ]
null
null
null
fpm.cpp
Raschert0/GKS_GANTT
9fe2553718b6d3e5a7a70bc47a2c1e447850fecf
[ "MIT" ]
null
null
null
fpm.cpp
Raschert0/GKS_GANTT
9fe2553718b6d3e5a7a70bc47a2c1e447850fecf
[ "MIT" ]
null
null
null
#include "fpm.h" #include "suprule.h" #include <QDebug> static int global_fpm_id{0}; FPM::FPM() : BaseFactory() { id = global_fpm_id; ++global_fpm_id; } FPM::FPM(const FPM &f) { id = f.id; } void FPM::resetIdCounter() { global_fpm_id = 0; } int FPM::queueSize() { return queue.size(); } QShared...
16.365079
52
0.551891
Raschert0
e0a0a3fe7131035797fe28cd53fb10418e53a2cf
625
cpp
C++
examples/database/src/database.cpp
uenctech/wasm-cdt
8ac25a36c4d842e5b7cc8daffffd5cf99604ad06
[ "MIT" ]
null
null
null
examples/database/src/database.cpp
uenctech/wasm-cdt
8ac25a36c4d842e5b7cc8daffffd5cf99604ad06
[ "MIT" ]
null
null
null
examples/database/src/database.cpp
uenctech/wasm-cdt
8ac25a36c4d842e5b7cc8daffffd5cf99604ad06
[ "MIT" ]
null
null
null
#include <database.hpp> #include <string> #include <table.hpp> ACTION database::set_data( std::string key, std::string value ) { db_store(0,key.data(),key.size(),value.data(),value.size()); } ACTION database::get_data( std::string key ) { auto value_len = db_get(key.data(),key.size(),NULL, 0); std::st...
22.321429
66
0.6528
uenctech
e0a839127cf4f058c9215ddc48d1d835dbe5cde1
2,951
cpp
C++
tests/bezier/multi/multi.cpp
errata-c/ez-interpolate
4a39974739b158e142eba2d575b5f14bac1d561e
[ "MIT" ]
null
null
null
tests/bezier/multi/multi.cpp
errata-c/ez-interpolate
4a39974739b158e142eba2d575b5f14bac1d561e
[ "MIT" ]
null
null
null
tests/bezier/multi/multi.cpp
errata-c/ez-interpolate
4a39974739b158e142eba2d575b5f14bac1d561e
[ "MIT" ]
null
null
null
#include <ez/imgui/ImguiEngine.hpp> #include <memory> #include <vector> #include <glm/vec2.hpp> #include <fmt/format.h> #include <ez/geo/BezierFunctions.hpp> #include <RenderTools/RenderTools.hpp> #include "imgui.h" #include <Test.hpp> #include <CSplit.hpp> #include <QSplit.hpp> #include <QOffset.hpp> #include <COff...
25.66087
84
0.58082
errata-c
e0a8b8527e802449e5d853c1c38c46869aa0fe42
8,937
hpp
C++
src/Illusion/Graphics/FrameGraph.hpp
Simmesimme/illusion-3d
48520d87ea0677bb8852b20bb6fbfbe1a49402d2
[ "MIT" ]
8
2019-12-05T15:57:23.000Z
2022-01-19T19:37:23.000Z
src/Illusion/Graphics/FrameGraph.hpp
Schneegans/illusion
48520d87ea0677bb8852b20bb6fbfbe1a49402d2
[ "MIT" ]
null
null
null
src/Illusion/Graphics/FrameGraph.hpp
Schneegans/illusion
48520d87ea0677bb8852b20bb6fbfbe1a49402d2
[ "MIT" ]
1
2019-01-15T10:35:13.000Z
2019-01-15T10:35:13.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////// // // // _) | | _) This code may be used and modified under the terms // // | | | |...
44.462687
100
0.55108
Simmesimme
e0a93104f76369423125e1ad263fe3e7f5b2ee3a
14,824
cpp
C++
classes/headers/SLL/SLL.cpp
moonpatel/Data_Structures_and_Algorithms_in_CPP_by_Adam_Drozdek
562a4e03090781461b4ab1bc5798e17b6f461241
[ "MIT" ]
null
null
null
classes/headers/SLL/SLL.cpp
moonpatel/Data_Structures_and_Algorithms_in_CPP_by_Adam_Drozdek
562a4e03090781461b4ab1bc5798e17b6f461241
[ "MIT" ]
null
null
null
classes/headers/SLL/SLL.cpp
moonpatel/Data_Structures_and_Algorithms_in_CPP_by_Adam_Drozdek
562a4e03090781461b4ab1bc5798e17b6f461241
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include "SLL.h" // ================================================================== // SLLNode class member functions // ================================================================== // default constructor for SLLNode template <typename type> SLLNode<type>::SLLNode() ...
26.144621
99
0.551133
moonpatel
e0ac2f38fa046797c88b32d85d8358ae15c417b9
194
cc
C++
src/libdbus/bus_private.cc
zsien/dbusx
98743cf4e6cfad7980ef4639a82099209074be63
[ "MIT" ]
null
null
null
src/libdbus/bus_private.cc
zsien/dbusx
98743cf4e6cfad7980ef4639a82099209074be63
[ "MIT" ]
null
null
null
src/libdbus/bus_private.cc
zsien/dbusx
98743cf4e6cfad7980ef4639a82099209074be63
[ "MIT" ]
1
2021-09-11T11:20:20.000Z
2021-09-11T11:20:20.000Z
#include "bus_private.h" #include <dbus/dbus.h> using namespace dbusx; bus_private::bus_private() { dbus_error_init(&err_); } bus_private::~bus_private() { dbus_error_free(&err_); }
13.857143
29
0.701031
zsien
e0c4c779a10ba3702dc1f9b9db7f80b07745671d
2,104
cpp
C++
src/system/thread/Thread.cpp
mohaque0/simple-util-cpp
23c0d7d622e0df960fefe96107ba032ce847e32c
[ "MIT" ]
null
null
null
src/system/thread/Thread.cpp
mohaque0/simple-util-cpp
23c0d7d622e0df960fefe96107ba032ce847e32c
[ "MIT" ]
null
null
null
src/system/thread/Thread.cpp
mohaque0/simple-util-cpp
23c0d7d622e0df960fefe96107ba032ce847e32c
[ "MIT" ]
null
null
null
#include "Thread.hpp" #if defined(PLATFORM_LINUX) || defined(PLATFORM_MAC) #include "system/thread/Lock.hpp" #define THREAD_SUCCESS 0 #define THREAD_FAILURE 1 namespace { class Falsifier { bool &value; public: Falsifier(bool &b) : value(b) {} ~Falsifier() { value = false; } }; static void *runFunction(void *ar...
15.136691
71
0.663973
mohaque0
e0c7c25dfb9b110fc3957701e7e897189a05b952
9,106
cpp
C++
HackSaw.cpp
bfridkis/Plane-Crash-Survival-Game-CPP
417efd13cb01a5a5e64799fa9f00217fbb7c3a3a
[ "MIT" ]
null
null
null
HackSaw.cpp
bfridkis/Plane-Crash-Survival-Game-CPP
417efd13cb01a5a5e64799fa9f00217fbb7c3a3a
[ "MIT" ]
null
null
null
HackSaw.cpp
bfridkis/Plane-Crash-Survival-Game-CPP
417efd13cb01a5a5e64799fa9f00217fbb7c3a3a
[ "MIT" ]
null
null
null
/*************************************************************** ** Program name: HackSaw.cpp ** Author: Ben Fridkis ** Date: 6/1/2017 ** Description: Defintion of HackSaw class member functions. HackSaw is a derived class of the parent class Item. ******************************************************...
27.427711
67
0.56029
bfridkis
e0c8cf031a99e3157c97b2cf3f9f66b250412a1b
6,578
cpp
C++
azureeyemodule/app/model/fasterrcnn.cpp
hogaku/azure-percept-advanced-development
90177b9f1ec96dee1e7c436af5471007c4092655
[ "MIT" ]
52
2021-03-02T14:28:37.000Z
2022-02-07T20:27:52.000Z
azureeyemodule/app/model/fasterrcnn.cpp
hogaku/azure-percept-advanced-development
90177b9f1ec96dee1e7c436af5471007c4092655
[ "MIT" ]
29
2021-03-03T09:36:33.000Z
2022-03-12T00:59:10.000Z
azureeyemodule/app/model/fasterrcnn.cpp
hogaku/azure-percept-advanced-development
90177b9f1ec96dee1e7c436af5471007c4092655
[ "MIT" ]
30
2021-03-02T14:09:14.000Z
2022-03-11T05:58:54.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // Standard library includes #include <fstream> #include <thread> #include <vector> // Third party includes #include <opencv2/gapi/mx.hpp> #include <opencv2/gapi/core.hpp> #include <opencv2/gapi/infer.hpp> #include <opencv2/gapi/streaming/desy...
40.857143
210
0.666616
hogaku
e0cbb6490a941c279391c544e5e612b46152eb17
432
cpp
C++
Extensions/BabaPython/Sources/Agents/IAgent.cpp
siva-msft/baba-is-auto
3237b5b70167130558827979bde7dcee14ef39f3
[ "MIT" ]
108
2019-09-11T06:31:35.000Z
2022-03-28T13:02:56.000Z
Extensions/BabaPython/Sources/Agents/IAgent.cpp
siva-msft/baba-is-auto
3237b5b70167130558827979bde7dcee14ef39f3
[ "MIT" ]
29
2019-09-12T00:28:04.000Z
2022-02-20T14:56:27.000Z
Extensions/BabaPython/Sources/Agents/IAgent.cpp
utilForever/BabaIsAuto
fb444668914eb70c0a35197399d650d293b4b95f
[ "MIT" ]
14
2020-02-24T05:41:43.000Z
2022-03-28T12:43:34.000Z
// Copyright (c) 2020 Chris Ohk // I am making my contributions/submissions to this project solely in our // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include <Agents/IAgent.hpp> #include <baba-is-auto/Agents/IAgent.hpp> #include <pybind11/pybind11.h> u...
25.411765
73
0.75
siva-msft
e0ccdc66de4bfd9abfd37849bf644aa6d9193298
2,984
cpp
C++
Firmware/drivers/ble/ble_datetime_service.cpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
39
2019-10-23T12:06:16.000Z
2022-01-26T04:28:29.000Z
Firmware/drivers/ble/ble_datetime_service.cpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
20
2020-03-21T20:21:46.000Z
2021-11-19T14:34:03.000Z
Firmware/drivers/ble/ble_datetime_service.cpp
ValentiWorkLearning/GradWork
70bb5a629df056a559bae3694b47a2e5dc98c23b
[ "MIT" ]
7
2019-10-18T09:44:10.000Z
2021-06-11T13:05:16.000Z
#include "inc/ble/nordic_ble/ble_datetime_service.hpp" #include "logger/logger_service.hpp" #include "utils/CallbackConnector.hpp" #include "app_error.h" #include "ble_cts_c.h" #include "ble_db_discovery.h" namespace { BLE_CTS_C_DEF(m_currentTimeService); void currentTimeServiceErrorHandler(uint32_t _nrfError) { ...
30.141414
99
0.715483
ValentiWorkLearning
e0cfe8fce8c13d1580b7df9d7cc6d0632bf3ca20
1,454
cpp
C++
Graph_Algorithms/building_teams.cpp
DannyAntonelli/CSES-Problem-Set
599b5efb2d7efb9b7e1bfde3142702dc5d0c3988
[ "MIT" ]
null
null
null
Graph_Algorithms/building_teams.cpp
DannyAntonelli/CSES-Problem-Set
599b5efb2d7efb9b7e1bfde3142702dc5d0c3988
[ "MIT" ]
null
null
null
Graph_Algorithms/building_teams.cpp
DannyAntonelli/CSES-Problem-Set
599b5efb2d7efb9b7e1bfde3142702dc5d0c3988
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define FOR(i, a, b) for (int i = (a); i < (b); ++i) #define RFOR(i, a, b) for (int i = (a); i > (b); --i) #define ALL(x) x.begin(), x.end() #define F first #define S second #define PB push_back #define MP make_pair using namespace std; using ll = long long; using ld = long double; typedef v...
18.883117
53
0.4326
DannyAntonelli
e0d105aded35f487b0338bce1b450eaac4ebdbaf
660
cxx
C++
zlang/source/keyword.cxx
mtezych/cpp
05c1b85eb89117a9b406f3f32470367937331614
[ "BSD-3-Clause" ]
null
null
null
zlang/source/keyword.cxx
mtezych/cpp
05c1b85eb89117a9b406f3f32470367937331614
[ "BSD-3-Clause" ]
null
null
null
zlang/source/keyword.cxx
mtezych/cpp
05c1b85eb89117a9b406f3f32470367937331614
[ "BSD-3-Clause" ]
2
2019-12-21T00:31:17.000Z
2021-07-14T23:16:23.000Z
#include <zlang/keyword.hxx> #include <cassert> namespace zlang { auto str (const keyword& keyword) -> std::string_view { switch (keyword) { case keyword::EXTERN : { return "extern"; } case keyword::DEF : { ...
18.333333
57
0.340909
mtezych
e0d3d748159cc600e5aca88c36cd5d2a00e17d68
166
cpp
C++
Photon/photon/util/FileUtil.cpp
tatjam/Photon
a0c1584d10e1422cc2e468a6f94351a8310b7599
[ "MIT" ]
1
2017-05-28T12:10:30.000Z
2017-05-28T12:10:30.000Z
Photon/photon/util/FileUtil.cpp
tatjam/Photon
a0c1584d10e1422cc2e468a6f94351a8310b7599
[ "MIT" ]
null
null
null
Photon/photon/util/FileUtil.cpp
tatjam/Photon
a0c1584d10e1422cc2e468a6f94351a8310b7599
[ "MIT" ]
null
null
null
#include "FileUtil.h" namespace ph { std::string FileUtil::stripFilename(std::string s) { int lPos = s.find_last_of("/\\"); return s.substr(0, lPos + 1); } }
15.090909
51
0.638554
tatjam
e0ddd1f2455a92bdfbb7c96e3747246c376cc77e
526
cpp
C++
2021.11.12_TEST/task2.cpp
SpinSpinSugar/programming-c-autumn
4e48c5eebcab9d5105174685cf0fc0ab654c6a08
[ "Apache-2.0" ]
null
null
null
2021.11.12_TEST/task2.cpp
SpinSpinSugar/programming-c-autumn
4e48c5eebcab9d5105174685cf0fc0ab654c6a08
[ "Apache-2.0" ]
null
null
null
2021.11.12_TEST/task2.cpp
SpinSpinSugar/programming-c-autumn
4e48c5eebcab9d5105174685cf0fc0ab654c6a08
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char* argv[]) { int n = 0; int counter = 2; int max = 0; int min = 0; cin >> min; cin >> max; while (cin >> n) { counter += 1; if ((counter % 2) == 0) { if (max < n) { ...
15.939394
32
0.334601
SpinSpinSugar
e0e19ec0bf972f00f5a61d9e912690dcf2aa9597
17,239
cpp
C++
tests/unit/test_parallel.cpp
adevress/hadoken
c501c53b14dfd256ae745d417b6417855b77ed05
[ "BSL-1.0" ]
5
2018-08-11T17:35:30.000Z
2019-09-06T01:21:17.000Z
tests/unit/test_parallel.cpp
mrexodia/hadoken
28cb2c2042aab1d8b086addee8072d2da6c62a25
[ "BSL-1.0" ]
5
2017-08-29T13:32:12.000Z
2019-11-04T08:40:23.000Z
tests/unit/test_parallel.cpp
mrexodia/hadoken
28cb2c2042aab1d8b086addee8072d2da6c62a25
[ "BSL-1.0" ]
10
2016-11-16T10:18:18.000Z
2021-03-30T04:35:59.000Z
/** * Copyright (c) 2016, Adrien Devresse <adrien.devresse@epfl.ch> * * Boost Software License - Version 1.0 * * Permission is hereby granted, free of charge, to any person or organization * obtaining a copy of the software and accompanying documentation covered by * this license (the "Software") to use, reprodu...
27.760064
128
0.618075
adevress
e0e1c3c70d1d3923d8f3ce6b8da8595ca64a4929
178
cpp
C++
lib/DyckAA/EdgeLabel.cpp
qingkaishi/canary
8d4d749728bfeca02933e4612417db57cf014e86
[ "MIT" ]
17
2015-02-21T20:37:06.000Z
2021-08-18T19:22:19.000Z
lib/DyckAA/EdgeLabel.cpp
qingkaishi/canary
8d4d749728bfeca02933e4612417db57cf014e86
[ "MIT" ]
1
2016-12-21T07:46:48.000Z
2016-12-21T10:20:27.000Z
lib/DyckAA/EdgeLabel.cpp
qingkaishi/canary
8d4d749728bfeca02933e4612417db57cf014e86
[ "MIT" ]
7
2016-04-19T08:13:24.000Z
2021-08-18T12:07:27.000Z
/* * Developed by Qingkai Shi * Copy Right by Prism Research Group, HKUST and State Key Lab for Novel Software Tech., Nanjing University. */ #include "DyckAA/EdgeLabel.h"
22.25
110
0.724719
qingkaishi