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
ef62b91f0ec7b8260e7193f6b28ce8d08b489b88
6,197
cpp
C++
ionGUI/ionGUI.cpp
iondune/ionEngine
7ce3394dafbabf0e0bb9f5d07dbfae31161800d4
[ "MIT" ]
36
2015-06-28T14:53:06.000Z
2021-10-31T04:26:53.000Z
ionGUI/ionGUI.cpp
iondune/ionEngine
7ce3394dafbabf0e0bb9f5d07dbfae31161800d4
[ "MIT" ]
90
2015-05-01T07:21:43.000Z
2017-08-30T01:16:41.000Z
ionGUI/ionGUI.cpp
iondune/ionEngine
7ce3394dafbabf0e0bb9f5d07dbfae31161800d4
[ "MIT" ]
9
2016-04-08T07:48:02.000Z
2019-07-22T15:13:53.000Z
#include "ionGUI.h" using namespace ion; namespace ImGui { bool SliderDouble(const char * label, double * v, double v_min, double v_max, const char * display_format, double power) { float temp = (float) *v; if (SliderFloat(label, &temp, (float) v_min, (float) v_max, display_format, (float) power)...
23.926641
129
0.611425
iondune
ef64365f574ac3238d50fcfda5a9a1f3d4119b5b
1,664
cc
C++
Source/BladeFramework/source/TimeSource.cc
OscarGame/blade
6987708cb011813eb38e5c262c7a83888635f002
[ "MIT" ]
146
2018-12-03T08:08:17.000Z
2022-03-21T06:04:06.000Z
Source/BladeFramework/source/TimeSource.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
1
2019-01-18T03:35:49.000Z
2019-01-18T03:36:08.000Z
Source/BladeFramework/source/TimeSource.cc
huangx916/blade
3fa398f4d32215bbc7e292d61e38bb92aad1ee1c
[ "MIT" ]
31
2018-12-03T10:32:43.000Z
2021-10-04T06:31:44.000Z
/******************************************************************** created: 2010/09/08 filename: TimeSource.cc author: Crazii purpose: *********************************************************************/ #include <BladePCH.h> #include <TimeSource.h> namespace Blade { //////////////////////////////////////...
24.470588
75
0.478365
OscarGame
ef6632a272ec6d81af7fd2f184d41f8bfdf2ba71
1,309
cpp
C++
map/download_on_map_ads_delegate.cpp
vicpopov/omim
664b458998fb0f2405f68ae830c2798e027b2dcc
[ "Apache-2.0" ]
1
2020-07-21T01:24:24.000Z
2020-07-21T01:24:24.000Z
map/download_on_map_ads_delegate.cpp
vicpopov/omim
664b458998fb0f2405f68ae830c2798e027b2dcc
[ "Apache-2.0" ]
null
null
null
map/download_on_map_ads_delegate.cpp
vicpopov/omim
664b458998fb0f2405f68ae830c2798e027b2dcc
[ "Apache-2.0" ]
null
null
null
#include "map/download_on_map_ads_delegate.hpp" namespace ads { DownloadOnMapDelegate::DownloadOnMapDelegate(storage::CountryInfoGetter const & infoGetter, storage::Storage const & storage, promo::Api const & promoApi, Purchase c...
28.456522
105
0.718869
vicpopov
ef66959690a9d751b28f80e30ba86dcd4364e351
3,963
cpp
C++
externals/pantheios-1.0.1-beta214/src/core/api.exitprocess.cpp
betasheet/diffingo
285d21b16c118155e5c149b20fcb20a20276f3d7
[ "MIT" ]
null
null
null
externals/pantheios-1.0.1-beta214/src/core/api.exitprocess.cpp
betasheet/diffingo
285d21b16c118155e5c149b20fcb20a20276f3d7
[ "MIT" ]
null
null
null
externals/pantheios-1.0.1-beta214/src/core/api.exitprocess.cpp
betasheet/diffingo
285d21b16c118155e5c149b20fcb20a20276f3d7
[ "MIT" ]
null
null
null
/* ///////////////////////////////////////////////////////////////////////// * File: src/core/api.exitprocess.cpp * * Purpose: Implementation file for Pantheios core API. * * Created: 21st June 2005 * Updated: 20th March 2012 * * Home: http://www.pantheios.org/ * * Copyrigh...
35.383929
78
0.629069
betasheet
ef690afe7ceee35582141c0fee26c8070e2aee88
167
cpp
C++
regression/cbmc-cpp/Overloading_Functions2/main.cpp
tobireinhard/cbmc
fc165c119985adf8db9a13493f272a2def4e79fa
[ "BSD-4-Clause" ]
412
2016-04-02T01:14:27.000Z
2022-03-27T09:24:09.000Z
regression/cbmc-cpp/Overloading_Functions2/main.cpp
tobireinhard/cbmc
fc165c119985adf8db9a13493f272a2def4e79fa
[ "BSD-4-Clause" ]
4,671
2016-02-25T13:52:16.000Z
2022-03-31T22:14:46.000Z
regression/cbmc-cpp/Overloading_Functions2/main.cpp
tobireinhard/cbmc
fc165c119985adf8db9a13493f272a2def4e79fa
[ "BSD-4-Clause" ]
266
2016-02-23T12:48:00.000Z
2022-03-22T18:15:51.000Z
struct A { }; struct B : A { }; struct C : B { }; bool f1(A &) { return true; } bool f1(B &) { return false; } int main() { C c; assert(f1(c) == false); }
6.185185
25
0.48503
tobireinhard
ef6b8863646c06fecceda5facb08b2d3baf61d8a
9,889
cxx
C++
rdpfuzz-winafl/cmake-3.16.0/Source/cmQtAutoGenGlobalInitializer.cxx
fengjixuchui/rdpfuzz
4561b6fbf73ada553ce78ad44918fd0930ee4e85
[ "Apache-2.0" ]
107
2021-08-28T20:08:42.000Z
2022-03-22T08:02:16.000Z
rdpfuzz-winafl/cmake-3.16.0/Source/cmQtAutoGenGlobalInitializer.cxx
fengjixuchui/rdpfuzz
4561b6fbf73ada553ce78ad44918fd0930ee4e85
[ "Apache-2.0" ]
null
null
null
rdpfuzz-winafl/cmake-3.16.0/Source/cmQtAutoGenGlobalInitializer.cxx
fengjixuchui/rdpfuzz
4561b6fbf73ada553ce78ad44918fd0930ee4e85
[ "Apache-2.0" ]
16
2021-08-30T06:57:36.000Z
2022-03-22T08:05:52.000Z
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmQtAutoGenGlobalInitializer.h" #include <utility> #include <cm/memory> #include "cmCustomCommandLines.h" #include "cmCustomCommandTypes.h" #include "cmDuratio...
34.1
79
0.668116
fengjixuchui
ef6d55e7afa2d0ba1283ba681a4d5d5e8a423379
1,107
hpp
C++
include/Parser.hpp
Electrux/alacrity-lang
2931533c0f393cf2d2500ac0848da452fbc19295
[ "BSD-3-Clause" ]
15
2019-03-21T14:37:17.000Z
2021-11-14T20:35:46.000Z
include/Parser.hpp
Electrux/alacrity-lang
2931533c0f393cf2d2500ac0848da452fbc19295
[ "BSD-3-Clause" ]
null
null
null
include/Parser.hpp
Electrux/alacrity-lang
2931533c0f393cf2d2500ac0848da452fbc19295
[ "BSD-3-Clause" ]
5
2019-02-02T10:18:04.000Z
2021-05-06T16:34:04.000Z
/* Copyright (c) 2019, Electrux All rights reserved. Using the BSD 3-Clause license for the project, main LICENSE file resides in project's root directory. Please read that file and understand the license terms before using or altering the project. */ #ifndef PARSER_HPP #define PARSER_HPP #include <variant> #...
22.14
71
0.710027
Electrux
ef757c4c99b400e488caa342cf57e5c0f9eb2d3c
15,471
hh
C++
db/slt3/var.hh
codesloop/codesloop
d66e51c2d898a72624306f611a90364c76deed06
[ "BSD-2-Clause" ]
3
2016-05-09T15:29:29.000Z
2017-11-22T06:16:18.000Z
db/slt3/var.hh
codesloop/codesloop
d66e51c2d898a72624306f611a90364c76deed06
[ "BSD-2-Clause" ]
null
null
null
db/slt3/var.hh
codesloop/codesloop
d66e51c2d898a72624306f611a90364c76deed06
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2008,2009,2010, CodeSLoop Team 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, this list of conditions and the following disclaim...
38.105911
134
0.6136
codesloop
ef75b739187f4073199194f217cc6cb0915e7c4a
126
cpp
C++
source/ion/ecs/component.cpp
dvdbrink/ion
a5fe2aba7927b7a90e913cbf72325a04172fc494
[ "MIT" ]
null
null
null
source/ion/ecs/component.cpp
dvdbrink/ion
a5fe2aba7927b7a90e913cbf72325a04172fc494
[ "MIT" ]
null
null
null
source/ion/ecs/component.cpp
dvdbrink/ion
a5fe2aba7927b7a90e913cbf72325a04172fc494
[ "MIT" ]
null
null
null
#include <ion/ecs/component.hpp> namespace ion { namespace ecs { BaseComponent::Family BaseComponent::next_family = 0; }}
21
57
0.738095
dvdbrink
ef762f0b45e2b808d9eaf486620c5183c56c4437
1,174
cpp
C++
model/model.cpp
Krzysztof-Ambroziak/Game-of-Life
41f6aa6814a227bb882f4a84a24e092b66564a4e
[ "MIT" ]
null
null
null
model/model.cpp
Krzysztof-Ambroziak/Game-of-Life
41f6aa6814a227bb882f4a84a24e092b66564a4e
[ "MIT" ]
null
null
null
model/model.cpp
Krzysztof-Ambroziak/Game-of-Life
41f6aa6814a227bb882f4a84a24e092b66564a4e
[ "MIT" ]
null
null
null
#include "model.h" Model::Model(int rows, int columns): cellSize(Model::DEFAULT_CELL_SIZE), board(new Board(rows, columns)) {} int Model::getRows() const { return board->getRows(); } int Model::getColumns() const { return board->getColumns(); } int Model::getCellSize() const { return cel...
22.576923
74
0.668654
Krzysztof-Ambroziak
ef7bf9b91a1d1b22cdc00210840d14dee0d80daa
163
cpp
C++
src/rendering/engine/engine/resources/pipeline.cpp
Bargor/tempest
94837c6dcfef036827076446101e59afb7792f5d
[ "Apache-2.0", "MIT" ]
null
null
null
src/rendering/engine/engine/resources/pipeline.cpp
Bargor/tempest
94837c6dcfef036827076446101e59afb7792f5d
[ "Apache-2.0", "MIT" ]
1
2019-12-02T20:17:52.000Z
2019-12-02T20:17:52.000Z
src/rendering/engine/engine/resources/pipeline.cpp
Bargor/tempest
94837c6dcfef036827076446101e59afb7792f5d
[ "Apache-2.0", "MIT" ]
null
null
null
// This file is part of Tempest project // Author: Karol Kontny #include "pipeline.h" namespace tst { namespace engine {} // namespace engine } // namespace tst
18.111111
39
0.717791
Bargor
ef7ea1008a8c8e331ef658e1214d65c362b8bda2
3,283
cpp
C++
examples/utility/workpool/example_file_open_pool.cpp
vipalade/solidframe
cff130652127ca9607019b4db508bc67f8bbecff
[ "BSL-1.0" ]
26
2015-08-25T16:07:58.000Z
2019-07-05T15:21:22.000Z
examples/utility/workpool/example_file_open_pool.cpp
vipalade/solidframe
cff130652127ca9607019b4db508bc67f8bbecff
[ "BSL-1.0" ]
5
2016-10-15T22:55:15.000Z
2017-09-19T12:41:10.000Z
examples/utility/workpool/example_file_open_pool.cpp
vipalade/solidframe
cff130652127ca9607019b4db508bc67f8bbecff
[ "BSL-1.0" ]
5
2016-09-15T10:34:52.000Z
2018-10-30T11:46:46.000Z
// example_file_open_pool.cpp // // Copyright (c) 2007, 2008, 2018 Valentin Palade (vipalade @ gmail . com) // // This file is part of SolidFrame framework. // // 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. // #incl...
25.449612
89
0.514164
vipalade
ef7f0690cdac31e0b181d7b47cd523a24ff4fa05
1,087
cpp
C++
kernel/tty/kerneloutputdevice.cpp
Bunogi/bunos
52e55d16938c87d45aa148c18d3bf389f2067445
[ "BSD-3-Clause" ]
null
null
null
kernel/tty/kerneloutputdevice.cpp
Bunogi/bunos
52e55d16938c87d45aa148c18d3bf389f2067445
[ "BSD-3-Clause" ]
null
null
null
kernel/tty/kerneloutputdevice.cpp
Bunogi/bunos
52e55d16938c87d45aa148c18d3bf389f2067445
[ "BSD-3-Clause" ]
null
null
null
#include <bustd/stringview.hpp> #include <kernel/interrupts.hpp> #include <kernel/tty/kerneloutputdevice.hpp> namespace kernel::tty { KernelOutputDevice::KernelOutputDevice(x86::tty::Vga &&vga) : m_vga(bu::move(vga)) {} void KernelOutputDevice::write(const char *buf, const usize length) { if (s_m_lock.is_locked...
27.175
72
0.686293
Bunogi
ef7f7edbc30bb01f0314d4d5a6f7cf3ef88d5c6f
122,193
cc
C++
processors/IA32/bochs/cpu/sse.cc
pavel-krivanek/opensmalltalk-vm
694dfe3ed015e16f5b8e9cf17d37e4bdd32bea16
[ "MIT" ]
445
2016-06-30T08:19:11.000Z
2022-03-28T06:09:49.000Z
processors/IA32/bochs/cpu/sse.cc
pavel-krivanek/opensmalltalk-vm
694dfe3ed015e16f5b8e9cf17d37e4bdd32bea16
[ "MIT" ]
439
2016-06-29T20:14:36.000Z
2022-03-17T19:59:58.000Z
processors/IA32/bochs/cpu/sse.cc
pavel-krivanek/opensmalltalk-vm
694dfe3ed015e16f5b8e9cf17d37e4bdd32bea16
[ "MIT" ]
137
2016-07-02T17:32:07.000Z
2022-03-20T11:17:25.000Z
///////////////////////////////////////////////////////////////////////// // $Id: sse.cc,v 1.62 2008/08/11 18:53:23 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (c) 2003 Stanislav Shwartsman // Written by Stanislav Shwartsman [sshwarts at sourceforg...
30.245792
101
0.654399
pavel-krivanek
ef821a915e4496f4b87de51ce0211e94400c8404
1,563
cpp
C++
test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/move02.pass.cpp
caiohamamura/libcxx
27c836ff3a9c505deb9fd1616012924de8ff9279
[ "MIT" ]
1,244
2015-01-02T21:08:56.000Z
2022-03-22T21:34:16.000Z
test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/move02.pass.cpp
caiohamamura/libcxx
27c836ff3a9c505deb9fd1616012924de8ff9279
[ "MIT" ]
125
2015-01-22T01:08:00.000Z
2020-05-25T08:28:17.000Z
test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/move02.pass.cpp
caiohamamura/libcxx
27c836ff3a9c505deb9fd1616012924de8ff9279
[ "MIT" ]
124
2015-01-12T15:06:17.000Z
2022-03-26T07:48:53.000Z
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
17.761364
80
0.540627
caiohamamura
ef8384dfd2ab7e23d4c854917133686efed4604b
2,736
cpp
C++
src/GameData.cpp
dem1980/EmulationStation
019e78d0486178520e0ee36322a212b9c9451052
[ "MIT" ]
null
null
null
src/GameData.cpp
dem1980/EmulationStation
019e78d0486178520e0ee36322a212b9c9451052
[ "MIT" ]
null
null
null
src/GameData.cpp
dem1980/EmulationStation
019e78d0486178520e0ee36322a212b9c9451052
[ "MIT" ]
1
2021-02-24T23:00:44.000Z
2021-02-24T23:00:44.000Z
#include "GameData.h" #include <boost/filesystem.hpp> #include <iostream> const std::string GameData::xmlTagGameList = "gameList"; const std::string GameData::xmlTagGame = "game"; const std::string GameData::xmlTagName = "name"; const std::string GameData::xmlTagPath = "path"; const std::string GameData::xmlTagDescri...
19.683453
111
0.703947
dem1980
ef84a29ef3afd61450620e6687cf4cf220c7f7e4
7,898
hpp
C++
include/geometricks/data_structure/quad_tree.hpp
mitthy/TCC
4c48eb11cafd50334c5faef93edc5f03bc7fc171
[ "MIT" ]
null
null
null
include/geometricks/data_structure/quad_tree.hpp
mitthy/TCC
4c48eb11cafd50334c5faef93edc5f03bc7fc171
[ "MIT" ]
null
null
null
include/geometricks/data_structure/quad_tree.hpp
mitthy/TCC
4c48eb11cafd50334c5faef93edc5f03bc7fc171
[ "MIT" ]
null
null
null
#ifndef GEOMETRICKS_DATA_STRUCTURE_QUAD_TREE_HPP #define GEOMETRICKS_DATA_STRUCTURE_QUAD_TREE_HPP //C stdlib includes #include <stdint.h> #include <assert.h> //C++ stdlib includesca #include <type_traits> //Project includes #include "shapes.hpp" #include "geometricks/memory/allocator.hpp" #include "internal/small_ve...
34.190476
162
0.609775
mitthy
ef8627edd1d9bc81fe84b0e6c41e724cbe8e3ff1
2,533
hpp
C++
Example/Toturial-3/5 - thread - producer consumer list/thread - producer consumer list/MTLibrary/LockList.hpp
orenccl/Winsock-Multi-Client-Server
143bb3b6c856270249632dc01f5223f65180ca89
[ "MIT" ]
2
2019-11-11T01:03:02.000Z
2019-11-11T01:04:54.000Z
Example/Toturial-3/5 - thread - producer consumer list/thread - producer consumer list/MTLibrary/LockList.hpp
orenccl/MintServer
143bb3b6c856270249632dc01f5223f65180ca89
[ "MIT" ]
null
null
null
Example/Toturial-3/5 - thread - producer consumer list/thread - producer consumer list/MTLibrary/LockList.hpp
orenccl/MintServer
143bb3b6c856270249632dc01f5223f65180ca89
[ "MIT" ]
null
null
null
#pragma once #include "List/TMPSinglyList.hpp" #include "List/TMPDoublyList.hpp" #include "Lock.h" template < class DATA_TYPE > class TMPSinglyLockList : public TMPSinglyList< DATA_TYPE > { public: CLock Locker; inline void Create(UINT object_max) { TMPSinglyList< DATA_TYPE >::Create(object_max); Locker.Creat...
23.238532
68
0.703514
orenccl
ef87588eef357ff09ac11b86790d501435602102
2,813
cpp
C++
tester.cpp
ReinaldoDiasAbreu/TestesAutomatizados
06ce12a3af585d3f3ffadf0e9966346112460c2f
[ "MIT" ]
null
null
null
tester.cpp
ReinaldoDiasAbreu/TestesAutomatizados
06ce12a3af585d3f3ffadf0e9966346112460c2f
[ "MIT" ]
null
null
null
tester.cpp
ReinaldoDiasAbreu/TestesAutomatizados
06ce12a3af585d3f3ffadf0e9966346112460c2f
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> #include <cstdlib> #include <string> using namespace std; /* Programa de Automatização de Testes */ void help() { cout << endl << " TESTER" << endl << endl; cout << " Executa comparaçoes entre as entradas e saídas especificadas." << endl << ...
35.607595
118
0.424102
ReinaldoDiasAbreu
ef8a57d09afd582ef09165c93fb97678bd9bf94c
13,594
cpp
C++
code/WPILib/Vision/AxisCamera.cpp
trc492/Frc2014AerialAssist
efe9212b47561b317fb6ecfef81965ea5fb8c396
[ "MIT" ]
1
2019-11-19T04:38:22.000Z
2019-11-19T04:38:22.000Z
code/WPILib/Vision/AxisCamera.cpp
trc492/Frc2014AerialAssist
efe9212b47561b317fb6ecfef81965ea5fb8c396
[ "MIT" ]
null
null
null
code/WPILib/Vision/AxisCamera.cpp
trc492/Frc2014AerialAssist
efe9212b47561b317fb6ecfef81965ea5fb8c396
[ "MIT" ]
1
2019-11-19T04:43:30.000Z
2019-11-19T04:43:30.000Z
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */ /*--------------...
27.025845
120
0.734736
trc492
ef8b264cd7a612e3c1bfe6c2f13a18893deaf7b6
1,630
cpp
C++
add_strings.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
add_strings.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
add_strings.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <sstream> using namespace std; class Solution { public: string addStrings(string num1, string num2) { int n1 = 0, n2 = 0; int i, j; int carry = 0; int sum; string results = ""; string str1, str2; for (i = (num1.size() - 1), j = (num2.size() - 1); (i >= 0)...
14.684685
76
0.423313
shirishbahirat
ef8b7a7ddfad18c0bb1876a4ae720e4d6282870b
1,009
cpp
C++
frameworks/C++/cppcms/src/main.cpp
xsoheilalizadeh/FrameworkBenchmarks
855527008f7488e4fd508d1e72dfa9953874a2c6
[ "BSD-3-Clause" ]
5,300
2015-01-02T08:04:20.000Z
2022-03-31T10:08:33.000Z
frameworks/C++/cppcms/src/main.cpp
xsoheilalizadeh/FrameworkBenchmarks
855527008f7488e4fd508d1e72dfa9953874a2c6
[ "BSD-3-Clause" ]
3,075
2015-01-01T05:11:45.000Z
2022-03-31T23:56:33.000Z
frameworks/C++/cppcms/src/main.cpp
xsoheilalizadeh/FrameworkBenchmarks
855527008f7488e4fd508d1e72dfa9953874a2c6
[ "BSD-3-Clause" ]
2,151
2015-01-02T14:16:09.000Z
2022-03-30T00:15:26.000Z
#include <cppcms/service.h> #include <cppcms/applications_pool.h> #include <cppcms/http_response.h> #include <cppcms/url_dispatcher.h> #include <iostream> #include "test_simple.h" #include "test_fortunes.h" #include "test_db.h" class myapp : public cppcms::application { public: myapp(cppcms::service &srv) : cp...
24.609756
77
0.607532
xsoheilalizadeh
ef8bc7dabcb3e35dfd2bb55ab965a44577b48b70
20,488
cpp
C++
src/plugProjectNishimuraU/KurageMgr.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
33
2021-12-08T11:10:59.000Z
2022-03-26T19:59:37.000Z
src/plugProjectNishimuraU/KurageMgr.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
6
2021-12-22T17:54:31.000Z
2022-01-07T21:43:18.000Z
src/plugProjectNishimuraU/KurageMgr.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
2
2022-01-04T06:00:49.000Z
2022-01-26T07:27:28.000Z
#include "types.h" /* Generated from dpostproc .section .rodata # 0x804732E0 - 0x8049E220 .global lbl_80489A38 lbl_80489A38: .asciz "246-KurageMgr" .skip 2 .global lbl_80489A48 lbl_80489A48: .4byte 0x834E8389 .4byte 0x83518368 .4byte 0x8362834E ...
23.906651
71
0.600693
projectPiki
ef8c888becd0e0a6ca8f8b9de99a57389fd0b41f
2,121
cpp
C++
Day 06 Part 2/main.cpp
Miroslav-Cetojevic/aoc-2015
2807fcd3fc684843ae4222b25af6fd086fac77f5
[ "Unlicense" ]
1
2019-11-19T20:19:18.000Z
2019-11-19T20:19:18.000Z
Day 06 Part 2/main.cpp
Miroslav-Cetojevic/aoc-2015
2807fcd3fc684843ae4222b25af6fd086fac77f5
[ "Unlicense" ]
null
null
null
Day 06 Part 2/main.cpp
Miroslav-Cetojevic/aoc-2015
2807fcd3fc684843ae4222b25af6fd086fac77f5
[ "Unlicense" ]
null
null
null
#include <array> #include <fstream> #include <iostream> #include <numeric> #include <string_view> #include <unordered_map> #include <boost/range/irange.hpp> #include <boost/range/istream_range.hpp> enum class Cmd { on, off, toggle }; using uint64 = std::uint64_t; struct Position { uint64 row, col; }; struct EndPo...
21
76
0.634135
Miroslav-Cetojevic
ef8e15eaa0e8267adccdb721ed462f9d1aaacda9
2,069
cpp
C++
lib/lib_http/lib_http.cpp
genesos/brain-launcher-bhdll
6a352bb6a7db9b9c74d940d476ee8a2e7c586683
[ "OML" ]
null
null
null
lib/lib_http/lib_http.cpp
genesos/brain-launcher-bhdll
6a352bb6a7db9b9c74d940d476ee8a2e7c586683
[ "OML" ]
null
null
null
lib/lib_http/lib_http.cpp
genesos/brain-launcher-bhdll
6a352bb6a7db9b9c74d940d476ee8a2e7c586683
[ "OML" ]
null
null
null
#include <afxinet.h> #include "lib_http.h" #include "../GenesisLib/file.h" #include <memory> using std::auto_ptr; using std::wstring; void getWebDownloadToFileCurDir( wstring target, wstring to, boost::function<void(int, bool&)> callback) { getWebDownloadToFile(target, getModuleAbsPath() + to, callback); } void g...
19.704762
125
0.666022
genesos
ef8e6be06ae45c92cfcdd49c16833dbfe7413078
3,812
cc
C++
src/core/image_io/image_io_png.cc
zhehangd/qjulia2
b6816f5af580534fdb27051ae2bfd7fe47a1a60c
[ "MIT" ]
null
null
null
src/core/image_io/image_io_png.cc
zhehangd/qjulia2
b6816f5af580534fdb27051ae2bfd7fe47a1a60c
[ "MIT" ]
null
null
null
src/core/image_io/image_io_png.cc
zhehangd/qjulia2
b6816f5af580534fdb27051ae2bfd7fe47a1a60c
[ "MIT" ]
null
null
null
#include "image_io_png.h" #include <cstring> #include <vector> #include <png.h> namespace qjulia { void PNGImageReader::ReadImage(const std::string &filename, RGBImage &image) { FILE *fp = fopen(filename.c_str(), "rb"); CHECK(fp); png_byte header[8]; CHECK_EQ(8, fread(header, 1, 8, fp)); CHECK (png_sig...
28.237037
99
0.71852
zhehangd
ef92dc4f05392a981f980e0039803d85ac935153
519
hpp
C++
include/controller/guards/is_swap_items_winning.hpp
modern-cpp-examples/match3
bb1f4de11db9e92b6ebdf80f1afe9245e6f86b7e
[ "BSL-1.0" ]
166
2016-04-27T19:01:00.000Z
2022-03-27T02:16:55.000Z
include/controller/guards/is_swap_items_winning.hpp
Fuyutsubaki/match3
bb1f4de11db9e92b6ebdf80f1afe9245e6f86b7e
[ "BSL-1.0" ]
4
2016-05-19T07:47:38.000Z
2018-03-22T04:33:00.000Z
include/controller/guards/is_swap_items_winning.hpp
Fuyutsubaki/match3
bb1f4de11db9e92b6ebdf80f1afe9245e6f86b7e
[ "BSL-1.0" ]
17
2016-05-18T21:17:39.000Z
2022-03-20T22:37:14.000Z
// // Copyright (c) 2016 Krzysztof Jusiak (krzysztof at jusiak dot net) // // 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) // #pragma once #include <cassert> #include "controller/data/selected.hpp" #include "mod...
23.590909
74
0.697495
modern-cpp-examples
ef94f926c766100b8c004d9d63e70ce4289adc37
417
cpp
C++
leetcode/12.cpp
windniw/just-for-fun
54e5c2be145f3848811bfd127f6a89545e921570
[ "Apache-2.0" ]
1
2019-08-28T23:15:25.000Z
2019-08-28T23:15:25.000Z
leetcode/12.cpp
windniw/just-for-fun
54e5c2be145f3848811bfd127f6a89545e921570
[ "Apache-2.0" ]
null
null
null
leetcode/12.cpp
windniw/just-for-fun
54e5c2be145f3848811bfd127f6a89545e921570
[ "Apache-2.0" ]
null
null
null
class Solution { public: string intToRoman(int num) { string arr[] ={"","I","II","III","IV","V","VI","VII","VIII","IX", "","X","XX","XXX","XL","L","LX","LXX","LXXX","XC", "","C","CC","CCC","CD","D","DC","DCC","DCCC","CM", "","M","MM","MMM"...
37.909091
84
0.407674
windniw
ef95b6a5e266b9a6e93c3a10ddd650d041b76ca8
4,515
cpp
C++
hexx.cpp
kwadrat/project_al
c53c81a50940717511212b80a013a7e5a79b5ff5
[ "MIT" ]
null
null
null
hexx.cpp
kwadrat/project_al
c53c81a50940717511212b80a013a7e5a79b5ff5
[ "MIT" ]
null
null
null
hexx.cpp
kwadrat/project_al
c53c81a50940717511212b80a013a7e5a79b5ff5
[ "MIT" ]
null
null
null
#ifndef _HEXX_CPP #define _HEXX_CPP #include "hexx.h" #include <string.h> #include <stdlib.h> int HexClass::Init(int, char *[]) { IleBuf = 0; /* Na razie w "Buf" nie ma żadnych znaków */ LiczBajtow = 0; /* Nie przekonwertowaliśmy jeszcze żadnych bajtów */ RunOnce = 1; return 1; } void HexClass::Wor...
24.944751
102
0.512957
kwadrat
ef96f571444f20231766f10544923f83f839b25d
4,586
cpp
C++
src/backend/VirtualMemory.cpp
athenaforai/athena
20381d9069fac901666fe5296cdb443c8969bf4a
[ "MIT" ]
null
null
null
src/backend/VirtualMemory.cpp
athenaforai/athena
20381d9069fac901666fe5296cdb443c8969bf4a
[ "MIT" ]
null
null
null
src/backend/VirtualMemory.cpp
athenaforai/athena
20381d9069fac901666fe5296cdb443c8969bf4a
[ "MIT" ]
null
null
null
/* * Copyright (c) 2018 Athena. All rights reserved. * https://athenaframework.ml * * Licensed under MIT license. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an “AS IS” BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either exp...
30.573333
85
0.551243
athenaforai
ef9741d94d95e954c3f79546db000b312ba003c0
1,047
cpp
C++
LightOJ/1017 - Brush (III)/sol.cpp
Tahsin716/OnlineJudge
a5d15f37a8c260740c148370ced7a2a9096050c1
[ "MIT" ]
null
null
null
LightOJ/1017 - Brush (III)/sol.cpp
Tahsin716/OnlineJudge
a5d15f37a8c260740c148370ced7a2a9096050c1
[ "MIT" ]
null
null
null
LightOJ/1017 - Brush (III)/sol.cpp
Tahsin716/OnlineJudge
a5d15f37a8c260740c148370ced7a2a9096050c1
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <cstring> #include <algorithm> using namespace std; int points[101], dp[101][101]; int n, brushWidth, moves; int rec(int position, int remainingMoves) { if (position >= n || remainingMoves == 0) { return 0; } if (dp[position][remainingMoves] != -1) return dp[po...
16.359375
77
0.606495
Tahsin716
ef97f81a67b5d6357f333e7a5bd0d70465cae787
1,685
hpp
C++
src/hanoi.hpp
deepgrace/giant
4070c79892957c8e9244eb7a3d7690a25970f769
[ "BSL-1.0" ]
6
2019-04-02T07:47:37.000Z
2021-05-31T08:01:04.000Z
src/hanoi.hpp
deepgrace/giant
4070c79892957c8e9244eb7a3d7690a25970f769
[ "BSL-1.0" ]
null
null
null
src/hanoi.hpp
deepgrace/giant
4070c79892957c8e9244eb7a3d7690a25970f769
[ "BSL-1.0" ]
4
2019-04-15T08:52:17.000Z
2022-03-25T10:29:57.000Z
// // Copyright (c) 2016-present DeepGrace (complex dot invoke at gmail dot com) // // 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) // // Official repository: https://github.com/deepgrace/giant // #include <stack> ...
33.039216
90
0.35727
deepgrace
aab347709abd920f72cf8ed3c232d44e892c4592
12,426
cpp
C++
tools/utilities/finetune/src/DataStatistics.cpp
awf/ELL
25c94a1422efc41d5560db11b136f9d8f957ad41
[ "MIT" ]
2,094
2016-09-28T05:55:24.000Z
2019-05-04T19:06:36.000Z
tools/utilities/finetune/src/DataStatistics.cpp
awesomemachinelearning/ELL
cb897e3aec148a1e9bd648012b5f53ab9d0dd20c
[ "MIT" ]
213
2017-06-30T12:53:40.000Z
2019-05-03T06:35:38.000Z
tools/utilities/finetune/src/DataStatistics.cpp
awesomemachinelearning/ELL
cb897e3aec148a1e9bd648012b5f53ab9d0dd20c
[ "MIT" ]
301
2017-03-24T08:40:00.000Z
2019-05-02T21:22:28.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////// // // Project: Embedded Learning Library (ELL) // File: DataStatistics.cpp (utilities) // Authors: Chuck Jacobs // ///////////////////////////////////////////////////////////////////////////////////////////////...
30.910448
174
0.663689
awf
aab3bdd54d06c97c9e82906418a8305c2d016a62
32,698
cpp
C++
src/net.cpp
philipturner/opencl-backend
dd0bdd2c00a4c4d62ff76806048f1c7b2d737284
[ "MIT" ]
null
null
null
src/net.cpp
philipturner/opencl-backend
dd0bdd2c00a4c4d62ff76806048f1c7b2d737284
[ "MIT" ]
null
null
null
src/net.cpp
philipturner/opencl-backend
dd0bdd2c00a4c4d62ff76806048f1c7b2d737284
[ "MIT" ]
null
null
null
#include <dlprim/net.hpp> #include <dlprim/json.hpp> #include <dlprim/shared_resource.hpp> #include <dlprim/ops/initialization.hpp> #include <dlprim/model.hpp> #include <sstream> #include <fstream> #include <set> #include <list> #include <algorithm> #ifndef DISABLE_HDF5 #include "H5Cpp.h" #endif namespace dlprim { ...
37.670507
149
0.504557
philipturner
aab3d0e4afee5cde64942f5f3c167fba1a517064
1,683
cpp
C++
tools/converter/source/optimizer/tfextra/TFDense.cpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
6,958
2019-05-06T02:38:02.000Z
2022-03-31T18:08:48.000Z
tools/converter/source/optimizer/tfextra/TFDense.cpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
1,775
2019-05-06T04:40:19.000Z
2022-03-30T15:39:24.000Z
tools/converter/source/optimizer/tfextra/TFDense.cpp
xhuan28/MNN
81df3a48d79cbc0b75251d12934345948866f7be
[ "Apache-2.0" ]
1,511
2019-05-06T02:38:05.000Z
2022-03-31T16:59:39.000Z
// // TFDense.cpp // MNNConverter // // Created by MNN on 2019/09/27. // Copyright © 2018, Alibaba Group Holding Limited // #include "MNN_generated.h" #include "TFExtraManager.hpp" namespace MNN { namespace Express { class DenseTransform : public TFExtraManager::Transform { public: virtual EXPRP onExecute(EXP...
30.6
107
0.510398
xhuan28
aab4f8ac47584ef6f8b443b60c565887faae6394
7,432
cpp
C++
lib/SimpleHttpClient/GeneralClientConnection.cpp
jjzhang166/avocadodb
948d94592c10731857c8617b133bda840b8e833e
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
lib/SimpleHttpClient/GeneralClientConnection.cpp
jjzhang166/avocadodb
948d94592c10731857c8617b133bda840b8e833e
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
lib/SimpleHttpClient/GeneralClientConnection.cpp
jjzhang166/avocadodb
948d94592c10731857c8617b133bda840b8e833e
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
38.112821
86
0.579117
jjzhang166
aab53f4a2b75ce272f45d83272aff6173d134b2c
2,882
cc
C++
src/ir/di-location.cc
lung21/llvm-node
e1b800e8023370134684e33ef700dc0e2a83bac2
[ "MIT" ]
null
null
null
src/ir/di-location.cc
lung21/llvm-node
e1b800e8023370134684e33ef700dc0e2a83bac2
[ "MIT" ]
null
null
null
src/ir/di-location.cc
lung21/llvm-node
e1b800e8023370134684e33ef700dc0e2a83bac2
[ "MIT" ]
null
null
null
#include <nan.h> #include "llvm-context.h" #include "di-location.h" #include "di-local-scope.h" NAN_MODULE_INIT(DILocationWrapper::Init) { auto diLocation = Nan::GetFunction(Nan::New(diLocationTemplate())).ToLocalChecked(); Nan::Set(target, Nan::New("DILocation").ToLocalChecked(), diLocation); } llvm::DILocat...
39.479452
111
0.700902
lung21
aab730637ec91df92aca9d4a62156f886e1bdef6
7,983
cpp
C++
src/workloads/psort/psort.cpp
suyashmahar/libivy
bd3a3f303c44c600ea2f8b68ee892600a4a19ea5
[ "BSD-3-Clause" ]
null
null
null
src/workloads/psort/psort.cpp
suyashmahar/libivy
bd3a3f303c44c600ea2f8b68ee892600a4a19ea5
[ "BSD-3-Clause" ]
null
null
null
src/workloads/psort/psort.cpp
suyashmahar/libivy
bd3a3f303c44c600ea2f8b68ee892600a4a19ea5
[ "BSD-3-Clause" ]
null
null
null
#include <algorithm> #include <chrono> #include <cstdint> #include <cstdlib> #include <fstream> #include <iomanip> #include <iostream> #include <iterator> #include <optional> #include <span> #include <sys/types.h> #include <thread> #include <unistd.h> #include <vector> #include "libivy.hh" typedef uint8_t *byte_ptr; ...
23.901198
94
0.59301
suyashmahar
aab93128100df8f51566e82dc2b73c1839d99f59
2,154
cpp
C++
source/logger.cpp
CraftyBoss/SMO-Galaxy-Gravity
c95f5bb7cd9bda797ce2bec17add559f0b611841
[ "MIT" ]
2
2022-03-19T00:54:16.000Z
2022-03-20T01:56:08.000Z
source/logger.cpp
CraftyBoss/SMO-Galaxy-Gravity
c95f5bb7cd9bda797ce2bec17add559f0b611841
[ "MIT" ]
null
null
null
source/logger.cpp
CraftyBoss/SMO-Galaxy-Gravity
c95f5bb7cd9bda797ce2bec17add559f0b611841
[ "MIT" ]
null
null
null
#include "logger.hpp" Logger *gLogger; void Logger::init() { in_addr hostAddress = {0}; sockaddr serverAddress = {0}; if (this->socket_log_state != SOCKET_LOG_UNINITIALIZED) return; nn::nifm::Initialize(); nn::nifm::SubmitNetworkRequest(); while (nn::nifm::IsNetworkRequestOnHold()) ...
22.4375
141
0.610028
CraftyBoss
aaba0f8d6bae2a8764c1fffcc2e2e22f39b281a8
1,210
cpp
C++
Intuit/2.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
Intuit/2.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
Intuit/2.cpp
aabhas-sao/6Companies30Days
0c07f62b05e18c36fc5262cd51c251b8a6301a2f
[ "MIT" ]
null
null
null
#include <string> #include <vector> using namespace std; class Solution { public: vector<int> DIR = {0, 1, 0, -1, 0}; bool valid(int i, int j, int n, int m) { return i >= 0 && i < n && j >= 0 && j < m; } bool search(int i, int j, int k, vector<vector<char>>& board, string& word, vector<vec...
22.830189
77
0.475207
aabhas-sao
aabcd073249ab56d7396df5040ade35c7d4a5dfc
1,715
cpp
C++
Projects/cube_demo/Fireworks.cpp
AlexLamson/ledcube
66ae1e468bcfe0f9930e22773504ca474c987b52
[ "MIT" ]
4
2019-01-26T22:45:40.000Z
2020-10-17T21:14:02.000Z
Projects/cube_demo/Fireworks.cpp
AlexLamson/ledcube
66ae1e468bcfe0f9930e22773504ca474c987b52
[ "MIT" ]
null
null
null
Projects/cube_demo/Fireworks.cpp
AlexLamson/ledcube
66ae1e468bcfe0f9930e22773504ca474c987b52
[ "MIT" ]
2
2019-01-26T22:46:04.000Z
2019-06-21T07:02:40.000Z
/* * Fireworks.cpp * * Created on: Dec 7, 2019 * Author: Alex Lamson */ #include "Fireworks.h" #include <FastLED.h> #include "cube.h" Fireworks::Fireworks() { duration = 30000; } void Fireworks::initialize() { // Stagger the initial spawn - they shouldn't all show up at once for (int i = 0; i < numD...
18.244681
77
0.538776
AlexLamson
aabd289d86816cbca2817a950854640cff0b19ce
2,184
cc
C++
ui/views/examples/content_client/examples_main_delegate.cc
iplo/Chain
8bc8943d66285d5258fffc41bed7c840516c4422
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
ui/views/examples/content_client/examples_main_delegate.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-02-14T21:55:58.000Z
2017-02-14T21:55:58.000Z
ui/views/examples/content_client/examples_main_delegate.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
// Copyright (c) 2012 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 "ui/views/examples/content_client/examples_main_delegate.h" #include <string> #include "base/command_line.h" #include "base/files/file_path...
26.962963
77
0.771978
iplo
aabd8af909dedee58c1be66537e5ad14d011a12f
82,600
cc
C++
src/ros/src/security/include/modules/perception/proto/perception_obstacle.pb.cc
Kurinkitos/Twizy-Security
38f3ad3d7315f67e8e691dde69b740b00b33d7b4
[ "MIT" ]
1
2018-05-25T07:20:17.000Z
2018-05-25T07:20:17.000Z
src/ros/src/security/include/modules/perception/proto/perception_obstacle.pb.cc
Kurinkitos/Twizy-Security
38f3ad3d7315f67e8e691dde69b740b00b33d7b4
[ "MIT" ]
null
null
null
src/ros/src/security/include/modules/perception/proto/perception_obstacle.pb.cc
Kurinkitos/Twizy-Security
38f3ad3d7315f67e8e691dde69b740b00b33d7b4
[ "MIT" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: modules/perception/proto/perception_obstacle.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "modules/perception/proto/perception_obstacle.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/p...
35.866261
144
0.714104
Kurinkitos
aac3c40b4291ce31a7b535e9d7db75c022a1f246
829
cpp
C++
ekf/src_ta/pose.cpp
KerryWu16/src
bed672dc1732cd6af1752bb54ab0abde015bb93a
[ "MIT" ]
2
2017-12-17T11:07:56.000Z
2021-08-19T09:35:11.000Z
ekf/src_working/pose.cpp
KerryWu16/src
bed672dc1732cd6af1752bb54ab0abde015bb93a
[ "MIT" ]
null
null
null
ekf/src_working/pose.cpp
KerryWu16/src
bed672dc1732cd6af1752bb54ab0abde015bb93a
[ "MIT" ]
1
2021-08-19T07:41:48.000Z
2021-08-19T07:41:48.000Z
#include "pose.h" Eigen::Vector3d R_to_rpy(const Eigen::Matrix3d& R) { Eigen::Vector3d rpy; double r = asin(R(2,1)); double p = atan2(-R(2,0)/cos(r), R(2,2)/cos(r)); double y = atan2(-R(0,1)/cos(r), R(1,1)/cos(r)); rpy(0) = r; rpy(1) = p; rpy(2) = y; return rpy; } Eigen::Matrix3d rpy_to_R(const Eigen...
25.121212
53
0.487334
KerryWu16
aac65162c20d2d4fb1a97975af9831c12d95c34c
1,589
cpp
C++
leetcode.com/0241 Different Ways to Add Parentheses/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0241 Different Ways to Add Parentheses/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0241 Different Ways to Add Parentheses/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <vector> using namespace std; class Solution { private: int n; vector<int> nums; vector<char> ops; vector<int> helper(int l, int r) { vector<int> result; if (l == r) return {nums[l]}; for (int i = l; i < r; ++i) { auto left = helper(l, i...
25.222222
57
0.390183
sky-bro
aac7c0f1c1a7c9f87d611024111af8f0435cca3c
10,534
cc
C++
audio/audio_receive_stream_unittest.cc
bofeng-song/webrtc
cd06ce5490635ef5ef953b17eabb6e833eed5b76
[ "DOC", "BSD-3-Clause" ]
null
null
null
audio/audio_receive_stream_unittest.cc
bofeng-song/webrtc
cd06ce5490635ef5ef953b17eabb6e833eed5b76
[ "DOC", "BSD-3-Clause" ]
null
null
null
audio/audio_receive_stream_unittest.cc
bofeng-song/webrtc
cd06ce5490635ef5ef953b17eabb6e833eed5b76
[ "DOC", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
42.995918
95
0.738466
bofeng-song
aaca33354da8f269498e19711f07a70bb93fad0d
1,262
cpp
C++
pass_security.cpp
ferhatgec/passplusplus
5032c87074420d1903276aca9ae92ab387a0317c
[ "MIT" ]
3
2020-11-22T05:00:41.000Z
2021-02-18T15:40:19.000Z
pass_security.cpp
FerhatGec/passplusplus
5032c87074420d1903276aca9ae92ab387a0317c
[ "MIT" ]
null
null
null
pass_security.cpp
FerhatGec/passplusplus
5032c87074420d1903276aca9ae92ab387a0317c
[ "MIT" ]
null
null
null
/*# MIT License # # Copyright (c) 2020 Ferhat Geçdoğan All Rights Reserved. # Distributed under the terms of the MIT License. #*/ #include <iostream> #include "PassQuality.hpp" int main() { std::string str; std::cout << "Enter input string." << "\n"; std::cin >> str; int quality = PassQuality::PassSecurity(st...
30.780488
90
0.559429
ferhatgec
aacd318d0a8fa37e9aed416b4db6dbdc9e2c25cc
6,682
cpp
C++
iris-cpp/test/iris/gen/GraphGeneratorTests.cpp
wbknez/iris
ac6f8ca57cec88a24bdf22eca42e2c77a53f4cd0
[ "Apache-2.0" ]
null
null
null
iris-cpp/test/iris/gen/GraphGeneratorTests.cpp
wbknez/iris
ac6f8ca57cec88a24bdf22eca42e2c77a53f4cd0
[ "Apache-2.0" ]
null
null
null
iris-cpp/test/iris/gen/GraphGeneratorTests.cpp
wbknez/iris
ac6f8ca57cec88a24bdf22eca42e2c77a53f4cd0
[ "Apache-2.0" ]
null
null
null
#include <catch.hpp> #include <algorithm> #include <random> #include <vector> #include "iris/Agent.hpp" #include "iris/Types.hpp" #include "iris/gen/GraphGenerator.hpp" #include "iris/io/reader/CensusReader.hpp" void testForDuplicates(const iris::Agent::Network& network) { if(network.size() == 0) { ...
26.307087
80
0.533673
wbknez
aacf32b5da67d6dee429224824258952fb498764
1,804
cpp
C++
linked-list/intersection-point.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
linked-list/intersection-point.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
linked-list/intersection-point.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <unordered_set> using namespace std; struct Node { int data; Node *next; } *head = nullptr, *last = nullptr; int count(Node *node) { int c = 0; while (node) { c++; node = node->next; } return c; } int i...
20.5
74
0.459534
Strider-7
aacfacef14c504311ccd082fe29853eeb1a38e90
7,420
cpp
C++
projects/test-suite/SingleSource/Benchmarks/Misc-C++/stepanov_container.cpp
nettrino/IntFlow
0400aef5da2c154268d8b020e393c950435395b3
[ "Unlicense" ]
16
2015-09-08T08:49:11.000Z
2019-07-20T14:46:20.000Z
projects/test-suite/SingleSource/Benchmarks/Misc-C++/stepanov_container.cpp
nettrino/IntFlow
0400aef5da2c154268d8b020e393c950435395b3
[ "Unlicense" ]
1
2019-02-10T08:27:48.000Z
2019-02-10T08:27:48.000Z
projects/test-suite/SingleSource/Benchmarks/Misc-C++/stepanov_container.cpp
nettrino/IntFlow
0400aef5da2c154268d8b020e393c950435395b3
[ "Unlicense" ]
7
2016-05-26T17:31:46.000Z
2020-11-04T06:39:23.000Z
/* Standard Container Benchmark Version 0.9, May 23, 2003 The primary purpose of this benchmark is to show how different standard containers are in terms of performance. We have observed that programmers often use sets, multisets, deques in the situations where sorted vectors are the optimal solutions. Simi...
28.648649
92
0.671024
nettrino
aad41d82e808463ab2cf19091b0c0715f0c8bccd
153
cpp
C++
ace/XML_Utils/XML_Typedefs.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
Oem/ACE/ACE_wrappers/ace/XML_Utils/XML_Typedefs.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
ace/XML_Utils/XML_Typedefs.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// $Id: XML_Typedefs.cpp 95760 2012-05-15 13:46:19Z msmit $ #include "XML_Typedefs.h" namespace XML { XML_Typedef::HELPER XML_Typedef::XML_HELPER; }
17
59
0.732026
cflowe
aad49f67357d5126434673624b9d9cd0038489f5
16,642
cxx
C++
main/dbaccess/source/core/api/column.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/dbaccess/source/core/api/column.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/dbaccess/source/core/api/column.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
34.8159
168
0.590554
Grosskopf
aad5ff8d0dc2a3c2e59f6f6e05a56534fc156222
739
hpp
C++
feather/feather.hpp
msmoiz/feather
a28b593aa1cafd7dd1a4ddeb45641b5871feb620
[ "MIT" ]
null
null
null
feather/feather.hpp
msmoiz/feather
a28b593aa1cafd7dd1a4ddeb45641b5871feb620
[ "MIT" ]
null
null
null
feather/feather.hpp
msmoiz/feather
a28b593aa1cafd7dd1a4ddeb45641b5871feb620
[ "MIT" ]
null
null
null
// Copyright 2021 Mustafa Moiz. #pragma once #include <memory> #include <string> #include "input_handler.hpp" #include "cursor.hpp" #include "output_handler.hpp" #include "serializer.hpp" /** * Text editor that handles the following standard * operations: * - Navigation * - Manipulation * - Display * - Serial...
18.948718
57
0.742896
msmoiz
aad6363410d32aa2cdff10d026b96e71aca82829
4,662
cpp
C++
projects/vkworld/wrappers/VkwMemoryHelper.cpp
Bycob/world
c6d943f9029c1bb227891507e5c6fe2b94cecfeb
[ "MIT" ]
16
2021-03-14T16:30:32.000Z
2022-03-18T13:41:53.000Z
projects/vkworld/wrappers/VkwMemoryHelper.cpp
Bycob/world
c6d943f9029c1bb227891507e5c6fe2b94cecfeb
[ "MIT" ]
1
2020-04-21T12:59:37.000Z
2020-04-23T17:49:03.000Z
projects/vkworld/wrappers/VkwMemoryHelper.cpp
BynaryCobweb/world
c6d943f9029c1bb227891507e5c6fe2b94cecfeb
[ "MIT" ]
4
2020-03-08T14:04:50.000Z
2020-12-03T08:51:04.000Z
#include "VkwMemoryHelper.h" #include "Vulkan.h" namespace world { void VkwMemoryHelper::GPUToImage(IVkwMemoryAccess &memory, Image &img) { GPUToImage(memory, img, img.elemSize()); } void VkwMemoryHelper::GPUToImageu(IVkwMemoryAccess &memory, Image &img) { GPUToImageu(memory, img, img.elemSize()); } // TOD...
30.671053
80
0.634921
Bycob
aadf19904a3a35e3c4c7a6bc1dfd52136e45a8c2
13,715
cpp
C++
singlib/src_lib/net.cpp
mdegirolami/stay
b47676e5340c2bbd93fe97d52a12a895a3492b22
[ "BSD-3-Clause" ]
2
2021-08-13T01:00:49.000Z
2021-09-07T17:31:14.000Z
singlib/src_lib/net.cpp
mdegirolami/sing
7f674d3a1d5787b3f4016dc28c14e997149fc9f6
[ "BSD-3-Clause" ]
null
null
null
singlib/src_lib/net.cpp
mdegirolami/sing
7f674d3a1d5787b3f4016dc28c14e997149fc9f6
[ "BSD-3-Clause" ]
null
null
null
#define _WIN32_WINNT 0x600 // vista #include "net.h" #ifdef _WIN32 #include <winsock2.h> #include <ws2tcpip.h> #else #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> #include <arpa/inet.h> #endif namespace sing { #ifdef _WIN32 #pragma comment(lib...
23.893728
127
0.594677
mdegirolami
aae0df5dd88cfb272a66f24d3cb361a0d122c89a
643
cpp
C++
source/common/qmsgunregistresult.cpp
c6supper/json_serialize_deserialize_qt
c70e89056900835221309f7c54dcca2e9fefe498
[ "Apache-2.0" ]
null
null
null
source/common/qmsgunregistresult.cpp
c6supper/json_serialize_deserialize_qt
c70e89056900835221309f7c54dcca2e9fefe498
[ "Apache-2.0" ]
null
null
null
source/common/qmsgunregistresult.cpp
c6supper/json_serialize_deserialize_qt
c70e89056900835221309f7c54dcca2e9fefe498
[ "Apache-2.0" ]
null
null
null
/* This file is part of qprofile * * Copyright (C) 2018 Calvin <c6supper@hotmail.com> */ #include "qmessagefactory.h" #include "qmsgunregistresult.h" using namespace QRserver; using namespace rserver; QMessageSelfRegisteration<QMsgUnregistResult> registerQMsgUnregistResult( rserver::eUnRegistResult); QMsgUnr...
22.964286
73
0.782271
c6supper
aae8352578a7ba3ada7a77de0c0a9e63e32f3b2c
588
cpp
C++
ByteCamp/Day2/generator.cpp
JackBai0914/Competitive-Programming-Codebase
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
[ "MIT" ]
null
null
null
ByteCamp/Day2/generator.cpp
JackBai0914/Competitive-Programming-Codebase
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
[ "MIT" ]
null
null
null
ByteCamp/Day2/generator.cpp
JackBai0914/Competitive-Programming-Codebase
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <cstdio> #include <cstdlib> #include <cmath> #include <cstring> #include <ctime> using namespace std; #define F first #define S second #define MP make_pair typedef long long ll; typedef pair <int, int> pii; int main() { ios::sync_with_stdio(false); //freopen("1.in", ...
21
94
0.579932
JackBai0914
aaf048f73026d9a8bc5146eded48c7239d1dfa83
3,207
cpp
C++
src/caffe/util/random_helper.cpp
MSRCCS/Caffe
2eb05997f077fe93832b89d56ea0cd1ea72e3275
[ "BSD-2-Clause" ]
null
null
null
src/caffe/util/random_helper.cpp
MSRCCS/Caffe
2eb05997f077fe93832b89d56ea0cd1ea72e3275
[ "BSD-2-Clause" ]
null
null
null
src/caffe/util/random_helper.cpp
MSRCCS/Caffe
2eb05997f077fe93832b89d56ea0cd1ea72e3275
[ "BSD-2-Clause" ]
null
null
null
#include "caffe/util/random_helper.h" #include <iostream> #include <stdexcept> #include <cstdlib> #include <time.h> #include <math.h> namespace caffe { random_helper::random_init_helper random_helper::m_randInit; #if _HAS_CPP0X std::mt19937_64 random_helper::m_generator; std::uniform_int_distribution<unsigned int>...
31.752475
147
0.692859
MSRCCS
aaf14c9a007c89b56412b97608b1192286b8936e
905
hpp
C++
src/include/duckdb/storage/meta_block_reader.hpp
rainmaple/duckdb
d3df77ba6740b8b089bddbfef77e2b969245b5cf
[ "MIT" ]
9
2021-09-08T13:13:03.000Z
2022-03-11T21:18:05.000Z
src/include/duckdb/storage/meta_block_reader.hpp
rainmaple/duckdb
d3df77ba6740b8b089bddbfef77e2b969245b5cf
[ "MIT" ]
7
2020-08-25T22:24:16.000Z
2020-09-06T00:16:49.000Z
src/include/duckdb/storage/meta_block_reader.hpp
rainmaple/duckdb
d3df77ba6740b8b089bddbfef77e2b969245b5cf
[ "MIT" ]
1
2022-01-18T09:38:19.000Z
2022-01-18T09:38:19.000Z
//===----------------------------------------------------------------------===// // DuckDB // // duckdb/storage/meta_block_reader.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/common/common.hpp" #include "duckdb/common/...
25.857143
80
0.614365
rainmaple
aaf556e844e7b1f62fc8c5079d40bac80bf99997
3,044
cpp
C++
src/main/start.cpp
ondra-novak/lnex
d1412be914098c9ae22ee65568895aff6d58d1ba
[ "MIT" ]
null
null
null
src/main/start.cpp
ondra-novak/lnex
d1412be914098c9ae22ee65568895aff6d58d1ba
[ "MIT" ]
null
null
null
src/main/start.cpp
ondra-novak/lnex
d1412be914098c9ae22ee65568895aff6d58d1ba
[ "MIT" ]
null
null
null
#include <userver/http_server.h> #include <shared/default_app.h> #include <couchit/config.h> #include <couchit/couchDB.h> #include <userver/http_client.h> #include <userver/ssl.h> #include "../couchit/src/couchit/changes.h" #include "../userver/static_webserver.h" #include "server.h" #include "walletsvc.h" int main(in...
29.269231
89
0.718134
ondra-novak
aaf65e5d2920665f8dfad5ffa2d9f06bce4ceb9f
4,081
cpp
C++
dynamic programming/boolean_patenthesization_memoization.cpp
kashyap99saksham/Code
96658d0920eb79c007701d2a3cc9dbf453d78f96
[ "MIT" ]
16
2020-06-02T19:22:45.000Z
2022-02-05T10:35:28.000Z
dynamic programming/boolean_patenthesization_memoization.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
null
null
null
dynamic programming/boolean_patenthesization_memoization.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
2
2020-08-27T17:40:06.000Z
2022-02-05T10:33:52.000Z
/* Given a boolean expression with following symbols. Symbols 'T' ---> true 'F' ---> false And following operators filled between symbols Operators & ---> boolean AND | ---> boolean OR ^ ---> boolean XOR Count the number of ways we can parenthesize the expression so that the value of expre...
21.707447
110
0.493506
kashyap99saksham
aaf7b8d63b31676a282a2f7410deffb2fdb5e6f7
1,096
cpp
C++
Hacker Rank/Sock Merchant.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
51
2020-02-24T11:14:00.000Z
2022-03-24T09:32:18.000Z
Hacker Rank/Sock Merchant.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
3
2020-10-02T08:16:09.000Z
2021-04-17T16:32:38.000Z
Hacker Rank/Sock Merchant.cpp
Shubhrmcf07/Competitive-Coding-and-Interview-Problems
7281ea3163c0cf6938a3af7b54a8a14f97c97c0e
[ "MIT" ]
18
2020-04-24T15:33:36.000Z
2022-03-24T09:32:20.000Z
/*Hacker Rank*/ /*Title - Sock Merchant*/ //John works at a clothing store. He has a large pile of socks that he must pair by color for sale. Given an array of integers representing the color of each sock, determine how many pairs of socks with matching colors there are. // //For example, there are n = 7 socks with...
32.235294
230
0.629562
Shubhrmcf07
aafc797c3208cb29af83dd8161ba51b4de17c7f5
5,203
cpp
C++
src/fplll/fplll/enum/enumerate_ext.cpp
Hyper5phere/sphere-decoder
f84cbcb47314547150639bbed017e8e540d32ced
[ "Unlicense" ]
null
null
null
src/fplll/fplll/enum/enumerate_ext.cpp
Hyper5phere/sphere-decoder
f84cbcb47314547150639bbed017e8e540d32ced
[ "Unlicense" ]
null
null
null
src/fplll/fplll/enum/enumerate_ext.cpp
Hyper5phere/sphere-decoder
f84cbcb47314547150639bbed017e8e540d32ced
[ "Unlicense" ]
null
null
null
/* (C) 2016 Marc Stevens. This file is part of fplll. fplll 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 your option) any later version. fpll...
28.745856
111
0.648664
Hyper5phere
c902e5178700b51e13502179ec3c90727d3221f2
2,215
cpp
C++
src/controls/while_do_else_node.cpp
BehaviorTree/BehaviorTreeCPP
a5411c978ec976f66d83b1df5aa4dd7c632a142c
[ "MIT" ]
null
null
null
src/controls/while_do_else_node.cpp
BehaviorTree/BehaviorTreeCPP
a5411c978ec976f66d83b1df5aa4dd7c632a142c
[ "MIT" ]
null
null
null
src/controls/while_do_else_node.cpp
BehaviorTree/BehaviorTreeCPP
a5411c978ec976f66d83b1df5aa4dd7c632a142c
[ "MIT" ]
null
null
null
/* Copyright (C) 2020 Davide Faconti - 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, modi...
30.342466
161
0.733183
BehaviorTree
c903e520a3785864c52ee95e51d038ba4227aca0
382
cpp
C++
Exercicios/19-08/Exercicio5.cpp
ismaellimadb/Programas-C-
cc626ef3447f699ed8ff9d7619dd78100f299612
[ "Apache-2.0" ]
null
null
null
Exercicios/19-08/Exercicio5.cpp
ismaellimadb/Programas-C-
cc626ef3447f699ed8ff9d7619dd78100f299612
[ "Apache-2.0" ]
null
null
null
Exercicios/19-08/Exercicio5.cpp
ismaellimadb/Programas-C-
cc626ef3447f699ed8ff9d7619dd78100f299612
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <stdlib.h> main() { float t,v,gas,dis; printf("\nDigite o Tempo da viagem em horas\n"); scanf("%f",&t); printf("\nDigite a Velocidade em Km/h\n"); scanf("%f",&v); dis=t*v; gas=dis/2; printf("\nA distancia percorrida pelo automovel foi: %1.f Km\n",dis); printf("\nFoi consumido %.1f l...
23.875
72
0.65445
ismaellimadb
c9085418d4c0c6593bab97d45c43cc0258ba8683
17,176
cpp
C++
src/training/train.cpp
hjchai/NP_extend
da207e9263ebdc3295bff533b2314a122620e2d9
[ "Apache-2.0" ]
null
null
null
src/training/train.cpp
hjchai/NP_extend
da207e9263ebdc3295bff533b2314a122620e2d9
[ "Apache-2.0" ]
null
null
null
src/training/train.cpp
hjchai/NP_extend
da207e9263ebdc3295bff533b2314a122620e2d9
[ "Apache-2.0" ]
null
null
null
/* Copyright 2014 Software Reliability Lab, ETH Zurich 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 applicabl...
41.790754
156
0.684269
hjchai
c90b7bdbf24584d772dff1698da8a96bf446e2fd
1,372
cpp
C++
Lab2/SO_SNDBUF.cpp
mohitreddy1996/Distributed-Computing-Lab
a819a3245c14c2faa81cda89db45cdc368813828
[ "MIT" ]
null
null
null
Lab2/SO_SNDBUF.cpp
mohitreddy1996/Distributed-Computing-Lab
a819a3245c14c2faa81cda89db45cdc368813828
[ "MIT" ]
null
null
null
Lab2/SO_SNDBUF.cpp
mohitreddy1996/Distributed-Computing-Lab
a819a3245c14c2faa81cda89db45cdc368813828
[ "MIT" ]
null
null
null
/* * Sets or gets the maximum socket send buffer in bytes. The kernel doubles * this value (to allow space for bookkeeping overhead) when it is set using setsockopt. * Minimum value for this option is 2048. This is the doubled value. */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types...
26.384615
88
0.65379
mohitreddy1996
c90e0903e5169ec8af3bbcadbed687ad3bd0f253
27,869
cpp
C++
src/gpu/GrAHardwareBufferImageGenerator.cpp
CarbonROM/android_external_skqp
72c9856641fddcfe46a1c2287550604061f1eefd
[ "BSD-3-Clause" ]
null
null
null
src/gpu/GrAHardwareBufferImageGenerator.cpp
CarbonROM/android_external_skqp
72c9856641fddcfe46a1c2287550604061f1eefd
[ "BSD-3-Clause" ]
null
null
null
src/gpu/GrAHardwareBufferImageGenerator.cpp
CarbonROM/android_external_skqp
72c9856641fddcfe46a1c2287550604061f1eefd
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkTypes.h" #if defined(SK_BUILD_FOR_ANDROID) && __ANDROID_API__ >= 26 #define GL_GLEXT_PROTOTYPES #define EGL_EGLEXT_PROTOTYPES #include "GrAHardwareBufferImageGe...
42.161876
100
0.658258
CarbonROM
c91163cc5ff613ab35b1c9002838b13b7ec36ad1
16,452
cpp
C++
Source/MyWindow/WindowData.cpp
favorart/robot-hand
55ea2a74573972a6e5efcf525485e56918d81086
[ "MIT" ]
2
2016-01-16T09:28:40.000Z
2016-04-14T05:21:20.000Z
Source/MyWindow/WindowData.cpp
favorart/robot-hand
55ea2a74573972a6e5efcf525485e56918d81086
[ "MIT" ]
null
null
null
Source/MyWindow/WindowData.cpp
favorart/robot-hand
55ea2a74573972a6e5efcf525485e56918d81086
[ "MIT" ]
null
null
null
#include "StdAfx.h" #include "WindowData.h" #include "Draw.h" #include "HandMotionLawsCustom.h" #include "Position.h" extern bool zoom; using namespace std; using namespace HandMoves; //------------------------------------------------------------------------------- bool RepeatMove (MyWindowData &wd); bool Make...
37.306122
112
0.47903
favorart
c912bc26eb9e2529c245dfb6978080aff29d903e
612
cc
C++
content/common/generic_shared_memory_id_generator.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
content/common/generic_shared_memory_id_generator.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
content/common/generic_shared_memory_id_generator.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright 2015 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 "content/common/generic_shared_memory_id_generator.h" #include "base/atomic_sequence_num.h" namespace content { namespace { // Global atomic t...
27.818182
79
0.797386
google-ar
c91a2fd4a83d72981f5256dfc262cb1290af1f82
6,524
cpp
C++
HackerRank/Algorithm/DP/Fibonacci Modified.cpp
Saikat-S/acm-problems-solutions
921c0f3e508e1ee8cd14be867587952d5f67bbb9
[ "MIT" ]
3
2018-05-11T07:33:20.000Z
2020-08-30T11:02:02.000Z
HackerRank/Algorithm/DP/Fibonacci Modified.cpp
Saikat-S/acm-problems-solutions
921c0f3e508e1ee8cd14be867587952d5f67bbb9
[ "MIT" ]
1
2018-05-11T18:10:26.000Z
2018-05-12T18:00:28.000Z
HackerRank/Algorithm/DP/Fibonacci Modified.cpp
Saikat-S/acm-problems-solutions
921c0f3e508e1ee8cd14be867587952d5f67bbb9
[ "MIT" ]
null
null
null
/*************************************************** * Problem Name : Fibonacci Modified.cpp * Problem Link : https://www.hackerrank.com/challenges/fibonacci-modified/problem?h_r=next-challenge&h_v=zen * OJ : HackerRank * Verdict : TLE * Date : 2019-01-21 * Problem Type : dp * Author Name ...
22.731707
109
0.448038
Saikat-S
c91a99b7db579f67290a053a03893f254dac1d8a
17,324
cpp
C++
core/src/operator/convolution_op.cpp
cjmcv/dlex-cnn
dbd11ddf8c1515b18be54c74b4d123924cea6fa4
[ "MIT" ]
11
2017-11-19T15:15:28.000Z
2021-12-22T03:17:29.000Z
core/src/operator/convolution_op.cpp
cjmcv/dlex-cnn
dbd11ddf8c1515b18be54c74b4d123924cea6fa4
[ "MIT" ]
null
null
null
core/src/operator/convolution_op.cpp
cjmcv/dlex-cnn
dbd11ddf8c1515b18be54c74b4d123924cea6fa4
[ "MIT" ]
3
2019-02-18T12:47:44.000Z
2021-12-22T03:17:28.000Z
//////////////////////////////////////////////////////////////// // > Copyright (c) 2017 by Contributors. // > https://github.com/cjmcv // > brief // > author Jianming Chen //////////////////////////////////////////////////////////////// #include "operator/convolution_op.h" #include <sstream> namespace dlex_cnn { ...
40.571429
150
0.680039
cjmcv
c91b9726d365b44398a1b0be35867be214e2fecc
53
cxx
C++
test/input/Typedef-to-Class-template.cxx
radoslawcybulski/CastXML
7d8d719fdea8cad7702e62b6174b2665a4bf2ca5
[ "Apache-2.0" ]
428
2015-01-06T17:01:38.000Z
2022-03-22T12:34:03.000Z
test/input/Typedef-to-Class-template.cxx
radoslawcybulski/CastXML
7d8d719fdea8cad7702e62b6174b2665a4bf2ca5
[ "Apache-2.0" ]
175
2015-01-06T17:07:37.000Z
2022-03-07T23:06:02.000Z
test/input/Typedef-to-Class-template.cxx
radoslawcybulski/CastXML
7d8d719fdea8cad7702e62b6174b2665a4bf2ca5
[ "Apache-2.0" ]
101
2015-01-25T14:18:42.000Z
2022-02-05T08:56:06.000Z
template <typename T> class A; typedef A<int> start;
13.25
21
0.735849
radoslawcybulski
c91eb8c8702492b102c3978e5331c89fc4ffd623
21,342
cpp
C++
external/glu-0.1.0.0/source/texture2d.cpp
spetz911/almaty3d
0dda0f05862be2585eae9b6e2e8cf476c043e3dc
[ "MIT" ]
571
2015-01-08T16:29:38.000Z
2022-03-16T06:45:42.000Z
external/glu-0.1.0.0/source/texture2d.cpp
spetz911/almaty3d
0dda0f05862be2585eae9b6e2e8cf476c043e3dc
[ "MIT" ]
45
2015-01-15T12:47:28.000Z
2022-03-04T09:22:32.000Z
external/glu-0.1.0.0/source/texture2d.cpp
spetz911/almaty3d
0dda0f05862be2585eae9b6e2e8cf476c043e3dc
[ "MIT" ]
136
2015-01-31T15:24:57.000Z
2022-02-17T19:26:24.000Z
/////////////////////////////////////////////////////////////////////////////////// /// OpenGL Image (gli.g-truc.net) /// /// Copyright (c) 2008 - 2013 G-Truc Creation (www.g-truc.net) /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentation file...
46.598253
203
0.74187
spetz911
c91f6bac4ddac5fccd0f0747a46d7a333465be0d
11,706
cc
C++
ggadget/file_manager_wrapper.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
175
2015-01-01T12:40:33.000Z
2019-05-24T22:33:59.000Z
ggadget/file_manager_wrapper.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
11
2015-01-19T16:30:56.000Z
2018-04-25T01:06:52.000Z
ggadget/file_manager_wrapper.cc
suzhe/google-gadgets-for-linux
b58baabd8458c8515c9902b8176151a08d240983
[ "Apache-2.0" ]
97
2015-01-19T15:35:29.000Z
2019-05-15T05:48:02.000Z
/* Copyright 2008 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
28.975248
80
0.626089
suzhe
c92049a8a890eb5cfc8904ab24729e5274bf7faf
673
cpp
C++
Iomanip.cpp
monicastle/C_PDC_06
e5447d853ae2702341a33cec1448ac500a356540
[ "MIT" ]
null
null
null
Iomanip.cpp
monicastle/C_PDC_06
e5447d853ae2702341a33cec1448ac500a356540
[ "MIT" ]
null
null
null
Iomanip.cpp
monicastle/C_PDC_06
e5447d853ae2702341a33cec1448ac500a356540
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <iomanip> using namespace std; class NT { string a, i, l; public: friend ostream &operator<<( ostream &o, const NT &n ); friend istream &operator>>( istream &i, NT &n ); }; ostream &operator<<( ostream &o, const NT &n ) { o << "(" << n.a << ") " << n.i << "-" <...
23.206897
60
0.506686
monicastle
c9231b3faca86f68810e83440b8ee3c9b4b0ff1f
986
cc
C++
complejos/src/complejos.funciones.cc
ULL-ESIT-IB-2020-2021/ib-practica11-oop-cmake-Pablourquia
21990a872be9dbb32722a5f33fe743ba8faecd94
[ "MIT" ]
null
null
null
complejos/src/complejos.funciones.cc
ULL-ESIT-IB-2020-2021/ib-practica11-oop-cmake-Pablourquia
21990a872be9dbb32722a5f33fe743ba8faecd94
[ "MIT" ]
null
null
null
complejos/src/complejos.funciones.cc
ULL-ESIT-IB-2020-2021/ib-practica11-oop-cmake-Pablourquia
21990a872be9dbb32722a5f33fe743ba8faecd94
[ "MIT" ]
null
null
null
/** * Universidad de La Laguna * Escuela Superior de Ingeniería y Tecnología * Grado en Ingeniería Informática * Informática Básica * * @file complejos.funciones.cc * @author Pablo Urquía Adrián alu0101398327@ull.edu.es * @date 26 de diciembre de 2020 * @brief El programa calcula la suma o resta de numeros c...
29.878788
95
0.747465
ULL-ESIT-IB-2020-2021
c923ed4109d412bf111f807d60eb5d46ed02645c
2,086
cpp
C++
cpp/src/rz/rz-kauvir/rz-graph-core/kernel/graph/rz-re-node.cpp
Mosaic-DigammaDB/SSQM
c150cec88b4ac2d26a972faf38d56e9dfb137ae6
[ "BSL-1.0" ]
null
null
null
cpp/src/rz/rz-kauvir/rz-graph-core/kernel/graph/rz-re-node.cpp
Mosaic-DigammaDB/SSQM
c150cec88b4ac2d26a972faf38d56e9dfb137ae6
[ "BSL-1.0" ]
1
2018-11-13T17:41:46.000Z
2018-11-13T20:54:38.000Z
cpp/src/rz/rz-kauvir/rz-graph-core/kernel/graph/rz-re-node.cpp
Mosaic-DigammaDB/SSQM
c150cec88b4ac2d26a972faf38d56e9dfb137ae6
[ "BSL-1.0" ]
1
2018-11-13T16:43:10.000Z
2018-11-13T16:43:10.000Z
// Copyright Nathaniel Christen 2018. // 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 "rz-re-node.h" #include "token/rz-re-token.h" #include "rzns.h" USING_RZNS(RECore) voi...
21.070707
80
0.71093
Mosaic-DigammaDB
c924f1ab471224b85bade7398be02f883367abd0
1,176
cpp
C++
PoseLab/OverlayText.cpp
vishwaphansal7/tf-cpp-pose-detect
aad54ee0234d94c1cf7e54252ec875e22cd2ad23
[ "MIT" ]
1
2021-05-03T15:06:54.000Z
2021-05-03T15:06:54.000Z
PoseLab/OverlayText.cpp
vishwaphansal7/tf-cpp-pose-detect
aad54ee0234d94c1cf7e54252ec875e22cd2ad23
[ "MIT" ]
null
null
null
PoseLab/OverlayText.cpp
vishwaphansal7/tf-cpp-pose-detect
aad54ee0234d94c1cf7e54252ec875e22cd2ad23
[ "MIT" ]
null
null
null
#include "pch.h" #include "OverlayText.h" using namespace std; OverlayText::OverlayText(Alignment alignment, QObject *parent) : OverlayElement(alignment, parent) , placeHolder() {} OverlayText::OverlayText(const QString& placeHolder, Alignment alignment, QObject* parent) : OverlayElement(alignment, parent) , pl...
26.133333
90
0.741497
vishwaphansal7
c925d5664112111d13f69559aafad90b42c5da45
178
cpp
C++
Src/Kranos/Entry.cpp
KDahir247/KranosLoader
5e55a0f1a697170020c2601c9b0d04b0da27da93
[ "MIT" ]
null
null
null
Src/Kranos/Entry.cpp
KDahir247/KranosLoader
5e55a0f1a697170020c2601c9b0d04b0da27da93
[ "MIT" ]
null
null
null
Src/Kranos/Entry.cpp
KDahir247/KranosLoader
5e55a0f1a697170020c2601c9b0d04b0da27da93
[ "MIT" ]
null
null
null
// // Created by kdahi on 2020-09-26. // #include "Kranos.h" int main(){ Kranos::Log::Init(); auto app = Kranos::CreateApplication(); app->Run(); delete app; }
13.692308
43
0.578652
KDahir247
c9273e66205639978031ba50898266381236b1bb
628
cpp
C++
dependencies/skse64/src/skse64/CommonLibSSE/src/RE/ExtraCount.cpp
clayne/papyrus-debug-server
f5c3878cd485ba68aaadf39bb830ca88bf53bfff
[ "MIT" ]
10
2019-06-01T20:24:04.000Z
2021-08-16T19:32:24.000Z
dependencies/skse64/src/skse64/CommonLibSSE/src/RE/ExtraCount.cpp
clayne/papyrus-debug-server
f5c3878cd485ba68aaadf39bb830ca88bf53bfff
[ "MIT" ]
null
null
null
dependencies/skse64/src/skse64/CommonLibSSE/src/RE/ExtraCount.cpp
clayne/papyrus-debug-server
f5c3878cd485ba68aaadf39bb830ca88bf53bfff
[ "MIT" ]
4
2019-06-09T05:00:55.000Z
2022-01-27T16:30:31.000Z
#include "RE/ExtraCount.h" #include "skse64/GameExtraData.h" // s_ExtraCountVtbl namespace RE { ExtraCount::ExtraCount() : BSExtraData(), count(0), pad14(0) { ((std::uintptr_t*)this)[0] = s_ExtraCountVtbl.GetUIntPtr(); } ExtraCount::ExtraCount(SInt32 a_count) : BSExtraData(), count(a_count), pad14...
17.444444
61
0.687898
clayne
c9275bb8e895e3023dfdf5062fff3ab276e7cef3
17,036
cc
C++
core-src/InferMove.cc
Quuxplusone/Homeworlds
8e193a60a0cc59901df1980f3866731d5c1ee15a
[ "BSD-2-Clause" ]
11
2016-07-01T10:51:58.000Z
2021-03-18T07:59:32.000Z
core-src/InferMove.cc
Quuxplusone/Homeworlds
8e193a60a0cc59901df1980f3866731d5c1ee15a
[ "BSD-2-Clause" ]
1
2017-06-11T04:30:09.000Z
2017-06-11T04:30:09.000Z
core-src/InferMove.cc
Quuxplusone/Homeworlds
8e193a60a0cc59901df1980f3866731d5c1ee15a
[ "BSD-2-Clause" ]
3
2016-02-27T16:53:28.000Z
2017-06-10T19:21:24.000Z
#include <algorithm> #include <assert.h> #include "state.h" #include "ApplyMove.h" #include "InferMove.h" #include "SingleAction.h" #include "WholeMove.h" static int count_unconstrained_catastrophes(const WholeMove &move, int ax) { /* If "move" contains catastrophe actions of the form "cat" --- as * opposed ...
37.441758
119
0.529467
Quuxplusone
c928d5b6850cb5fd0810fd3139e9c93e3dbc93ff
2,147
cpp
C++
src/py/wrapper/wrapper_748e3ec2e85552f2ab39e490d409b414.cpp
StatisKit/Core
79d8ec07c203eb7973a6cf482852ddb2e8e1e93e
[ "Apache-2.0" ]
null
null
null
src/py/wrapper/wrapper_748e3ec2e85552f2ab39e490d409b414.cpp
StatisKit/Core
79d8ec07c203eb7973a6cf482852ddb2e8e1e93e
[ "Apache-2.0" ]
7
2018-03-20T14:23:16.000Z
2019-04-09T11:57:57.000Z
src/py/wrapper/wrapper_748e3ec2e85552f2ab39e490d409b414.cpp
StatisKit/Core
79d8ec07c203eb7973a6cf482852ddb2e8e1e93e
[ "Apache-2.0" ]
7
2017-04-28T07:41:01.000Z
2021-03-15T18:17:20.000Z
#include "_core.h" ::statiskit::Index (::statiskit::OptimizationEstimationImpl< ::statiskit::CategoricalUnivariateMixtureDistribution *, ::statiskit::CategoricalUnivariateMixtureDistribution, ::statiskit::CategoricalUnivariateDistributionEstimation >::*method_pointer_bda0d58ff17959ed95ba92c4ef5ae7cb)()const= &::stati...
126.294118
812
0.843037
StatisKit
c93096f74bb06058f3d4e810a4cd199fe14c789b
5,038
cxx
C++
Interaction/Widgets/vtkAbstractSplineRepresentation.cxx
cclauss/VTK
f62a52cce9044159efb4adb7cc0cfd7ec0bc8b6d
[ "BSD-3-Clause" ]
1,755
2015-01-03T06:55:00.000Z
2022-03-29T05:23:26.000Z
Interaction/Widgets/vtkAbstractSplineRepresentation.cxx
cclauss/VTK
f62a52cce9044159efb4adb7cc0cfd7ec0bc8b6d
[ "BSD-3-Clause" ]
29
2015-04-23T20:58:30.000Z
2022-03-02T16:16:42.000Z
Interaction/Widgets/vtkAbstractSplineRepresentation.cxx
cclauss/VTK
f62a52cce9044159efb4adb7cc0cfd7ec0bc8b6d
[ "BSD-3-Clause" ]
1,044
2015-01-05T22:48:27.000Z
2022-03-31T02:38:26.000Z
/*========================================================================= Program: Visualization Toolkit Module: vtkAbstractSplineRepresentation.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
30.907975
94
0.581977
cclauss
c935b56933ae6973b030fa7e611bf911b43362bf
1,156
cpp
C++
competitive programming/leetcode/2020-July-Challenge/Day-26-Add Digits.cpp
kashyap99saksham/Code
96658d0920eb79c007701d2a3cc9dbf453d78f96
[ "MIT" ]
16
2020-06-02T19:22:45.000Z
2022-02-05T10:35:28.000Z
competitive programming/leetcode/2020-July-Challenge/Day-26-Add Digits.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
null
null
null
competitive programming/leetcode/2020-July-Challenge/Day-26-Add Digits.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
2
2020-08-27T17:40:06.000Z
2022-02-05T10:33:52.000Z
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. Example: Input: 38 Output: 2 Explanation: The process is like: 3 + 8 = 11, 1 + 1 = 2. Since 2 has only one digit, return it. Follow up: Could you do it without any loop/recursion in O(1) runtime? Hide...
19.266667
100
0.563149
kashyap99saksham
c936fe0dd64bf31918c0c92382614e1a40b655c2
1,101
hpp
C++
include/System/Threading/Mutex.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Threading/Mutex.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Threading/Mutex.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Threading.WaitHandle #includ...
34.40625
81
0.700272
v0idp
c9395ba269c386a05d320993fd999853206b271d
7,460
cpp
C++
tests/3d_examples/test_3d_myocaridum/src/muscle_activation.cpp
BenceVirtonomy/SPHinXsys
a86beb4f55fbf501677dac70a293025714f7e9e6
[ "Apache-2.0" ]
92
2019-05-29T10:20:47.000Z
2022-03-28T20:51:32.000Z
tests/3d_examples/test_3d_myocaridum/src/muscle_activation.cpp
ChiZhangatTUM/SPHinXsys
faa88cab07866f9ba5e370654ab3b515c46c6432
[ "Apache-2.0" ]
47
2019-07-18T09:37:11.000Z
2022-03-30T12:10:53.000Z
tests/3d_examples/test_3d_myocaridum/src/muscle_activation.cpp
Xiangyu-Hu/SPHinXsys
faa88cab07866f9ba5e370654ab3b515c46c6432
[ "Apache-2.0" ]
50
2019-05-29T10:20:57.000Z
2022-03-28T03:46:13.000Z
/** * @file muscle_activation.cpp * @brief This is the first example of electro activation of myocardium * @author Chi Zhang and Xiangyu Hu */ #include "sphinxsys.h" /** Name space. */ using namespace SPH; /** Geometry parameters. */ Real PL = 1.0; /**< Length. */ Real PH = 1.0; /**< Thickness for thick plate. ...
31.476793
102
0.732172
BenceVirtonomy
c93af6079e1309e3b8ad50a41e9976cd23f41d2a
3,231
cpp
C++
rh_engine_lib/Engine/VulkanImpl/VulkanTopLevelAccelerationStructure.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
232
2016-08-29T00:33:32.000Z
2022-03-29T22:39:51.000Z
rh_engine_lib/Engine/VulkanImpl/VulkanTopLevelAccelerationStructure.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
10
2021-01-02T12:40:49.000Z
2021-08-31T06:31:04.000Z
rh_engine_lib/Engine/VulkanImpl/VulkanTopLevelAccelerationStructure.cpp
petrgeorgievsky/gtaRenderHook
124358410c3edca56de26381e239ca29aa6dc1cc
[ "MIT" ]
40
2017-12-18T06:14:39.000Z
2022-01-29T16:35:23.000Z
// // Created by peter on 01.05.2020. // #include "VulkanTopLevelAccelerationStructure.h" #include "VulkanCommon.h" #include <DebugUtils/DebugLogger.h> #include <vk_mem_alloc.h> namespace rh::engine { VulkanTopLevelAccelerationStructure::VulkanTopLevelAccelerationStructure( const TLASCreateInfoVulkan &create_in...
36.303371
80
0.715258
petrgeorgievsky
c93dcccfc5fae96bb019a3aeb4cb4a33037b75fb
333
hpp
C++
runtime/common.hpp
evanbowman/lisp
3471c44e615d1c4d40ae6657fa681edde7306fc8
[ "BSD-3-Clause" ]
1
2018-09-10T16:58:14.000Z
2018-09-10T16:58:14.000Z
runtime/common.hpp
evanbowman/lisp
3471c44e615d1c4d40ae6657fa681edde7306fc8
[ "BSD-3-Clause" ]
null
null
null
runtime/common.hpp
evanbowman/lisp
3471c44e615d1c4d40ae6657fa681edde7306fc8
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <stddef.h> #include <stdint.h> #include <vector> namespace ebl { using ImmediateId = uint16_t; using SymbolId = uint16_t; using StackLoc = uint16_t; using FrameDist = uint16_t; struct VarLoc { FrameDist frameDist_; StackLoc offset_; }; using Bytecode = std::vector<uint8_t>; } // n...
15.857143
38
0.714715
evanbowman
c93ed7ebc49915daae30d4c4bbb315e6ca0bb7cc
340
cpp
C++
cpp/libs/hello-cmake/hello/main.cpp
joaolsouzajr/labs
49b1287798b15ff1676b2eb0d89de6520c4218f0
[ "MIT" ]
null
null
null
cpp/libs/hello-cmake/hello/main.cpp
joaolsouzajr/labs
49b1287798b15ff1676b2eb0d89de6520c4218f0
[ "MIT" ]
null
null
null
cpp/libs/hello-cmake/hello/main.cpp
joaolsouzajr/labs
49b1287798b15ff1676b2eb0d89de6520c4218f0
[ "MIT" ]
null
null
null
#include <stdio.h> #include "hello.h" uint8_t buffer [] = {0x00, 0x00, 0x00,0x11, 0x01}; int main() { hello(); double value = (buffer[5] << 24) | (buffer[4] << 16) | (buffer[3] << 8) | (buffer[2]) | (buffer[1]); printf ("floats: %4.2f \n", value); cout << value << en...
18.888889
51
0.479412
joaolsouzajr
c93fe6acfb887be6ef19e8515de16d04d376e2c9
14,092
cpp
C++
die-json-test/testParserOK.cpp
thinlizzy/die-json
11e274fc219a2d6d0c3b4d77333248bc64cf0c81
[ "MIT" ]
1
2015-10-18T16:19:48.000Z
2015-10-18T16:19:48.000Z
die-json-test/testParserOK.cpp
thinlizzy/die-json
11e274fc219a2d6d0c3b4d77333248bc64cf0c81
[ "MIT" ]
null
null
null
die-json-test/testParserOK.cpp
thinlizzy/die-json
11e274fc219a2d6d0c3b4d77333248bc64cf0c81
[ "MIT" ]
null
null
null
#include <tut.h> #include "../die-json.h" #include <sstream> #include <iostream> #include <vector> #include <memory> namespace { struct Value { die::json::Parser::ObjectName name; die::json::ValueType valueType; die::json::Parser::ValueStr value; bool operator==(Value const & v) const { return name == v.n...
33.002342
133
0.650156
thinlizzy
c9456221164d502c9c31eb9be474df6aaef0e7b8
2,909
cc
C++
outboundbot/src/model/ListResourceTagsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
outboundbot/src/model/ListResourceTagsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
outboundbot/src/model/ListResourceTagsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
30.621053
83
0.759367
aliyun
c945a5d43a215a57d44512dc6586a9dc74236a81
3,115
cpp
C++
ModuleSceneIntro.cpp
Denisdrk6/Ignition-Engine
bd23fa119452356fce5047236b09b2243346be3e
[ "MIT" ]
1
2021-09-29T14:50:17.000Z
2021-09-29T14:50:17.000Z
ModuleSceneIntro.cpp
Denisdrk6/Ignition-Engine
bd23fa119452356fce5047236b09b2243346be3e
[ "MIT" ]
null
null
null
ModuleSceneIntro.cpp
Denisdrk6/Ignition-Engine
bd23fa119452356fce5047236b09b2243346be3e
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "ModuleSceneIntro.h" #include "Primitive.h" #include "imgui/imgui.h" #include "FbxLoader.h" #include "ModuleCamera3D.h" #include "ModuleRenderer3D.h" ModuleSceneIntro::ModuleSceneIntro(Application* app, bool start_enabled) : Module(app, start_enabled) { } Modul...
21.93662
109
0.597111
Denisdrk6
c94a6a3b468b75bccc3302a626c5541cb1c265ef
843
cpp
C++
PacManState/src/level/LevelManager.cpp
BeardedPlatypus/PacMan
319e9776582cf9118b38c72d31855fb4c598e986
[ "MIT" ]
5
2019-12-23T22:45:46.000Z
2021-11-11T06:27:12.000Z
PacManState/src/level/LevelManager.cpp
BeardedPlatypus/PacMan
319e9776582cf9118b38c72d31855fb4c598e986
[ "MIT" ]
null
null
null
PacManState/src/level/LevelManager.cpp
BeardedPlatypus/PacMan
319e9776582cf9118b38c72d31855fb4c598e986
[ "MIT" ]
1
2021-11-11T06:27:14.000Z
2021-11-11T06:27:14.000Z
#include "stdafx.h" #include "level/LevelManager.h" namespace pacman { namespace state { namespace level { LevelManager::LevelManager(unsigned int n_dots) : _total_n_dots(n_dots) { } inline unsigned int LevelManager::GetCurrentLevel() const { return this->_current_level; } void LevelManager::IncrementCurrent...
19.159091
75
0.756821
BeardedPlatypus
c94d50615309a9c267780d41da3124b59fd2a703
2,443
cpp
C++
Ch9_2/Ch9_2/Source.cpp
Es10liv/mcc.cplusplus
23150f2fd5a56dbacc7c1809455e4e85d1fdd29e
[ "MIT" ]
null
null
null
Ch9_2/Ch9_2/Source.cpp
Es10liv/mcc.cplusplus
23150f2fd5a56dbacc7c1809455e4e85d1fdd29e
[ "MIT" ]
null
null
null
Ch9_2/Ch9_2/Source.cpp
Es10liv/mcc.cplusplus
23150f2fd5a56dbacc7c1809455e4e85d1fdd29e
[ "MIT" ]
null
null
null
// Chapter 7 programming challenge 2 test scores #include<iostream> #include<iomanip> using namespace std; // prototype functions void sort(double*, int); double average(double*, int); int main() { // create variables // number of test scores int intTestScores; // pointer to array double *testSc...
22.209091
84
0.635694
Es10liv
c94dcf7aa68ccef0767ae0e7a64e6447efd8ca84
3,394
cpp
C++
bin/libs/systemc-2.3.1/src/sysc/datatypes/fx/scfx_pow10.cpp
buaawj/Research
23bf0d0df67f80b7a860f9d2dc3f30b60554c26d
[ "OML" ]
9
2019-07-15T10:05:29.000Z
2022-03-14T12:55:19.000Z
bin/libs/systemc-2.3.1/src/sysc/datatypes/fx/scfx_pow10.cpp
buaawj/Research
23bf0d0df67f80b7a860f9d2dc3f30b60554c26d
[ "OML" ]
2
2019-11-30T23:27:47.000Z
2021-11-02T12:01:05.000Z
systemc-2.3.1/src/sysc/datatypes/fx/scfx_pow10.cpp
tianzhuqiao/bsmedit
3e443ed6db7b44b3b0da0e4bc024b65dcfe8e7a4
[ "MIT" ]
null
null
null
/***************************************************************************** The following code is derived, directly or indirectly, from the SystemC source code Copyright (c) 1996-2014 by all Contributors. All Rights reserved. The contents of this file are subject to the restrictions and limitations set f...
23.246575
79
0.489393
buaawj
c94fee71ae262ecc5cd5d2c79b3b955f2f5ed8b2
4,328
cpp
C++
tests/test_ocp_to_nlp.cpp
tgurriet/smooth_feedback
1f926cb4269741ddc09ba048af5bea5e0390a053
[ "MIT" ]
null
null
null
tests/test_ocp_to_nlp.cpp
tgurriet/smooth_feedback
1f926cb4269741ddc09ba048af5bea5e0390a053
[ "MIT" ]
null
null
null
tests/test_ocp_to_nlp.cpp
tgurriet/smooth_feedback
1f926cb4269741ddc09ba048af5bea5e0390a053
[ "MIT" ]
null
null
null
// smooth_feedback: Control theory on Lie groups // https://github.com/pettni/smooth_feedback // // Licensed under the MIT License <http://opensource.org/licenses/MIT>. // // Copyright (c) 2021 Petter Nilsson // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and asso...
35.768595
96
0.635628
tgurriet
c95042c83710813b2cd789db3d28d034608323c1
1,262
cc
C++
core/MediaLoader.cc
jjzhang166/mous
54a219712970bd6fabbac85102e1615babb69c41
[ "BSD-2-Clause" ]
1
2018-04-04T05:48:37.000Z
2018-04-04T05:48:37.000Z
core/MediaLoader.cc
aliakbarRashidi/mous
54a219712970bd6fabbac85102e1615babb69c41
[ "BSD-2-Clause" ]
null
null
null
core/MediaLoader.cc
aliakbarRashidi/mous
54a219712970bd6fabbac85102e1615babb69c41
[ "BSD-2-Clause" ]
null
null
null
#include <core/MediaLoader.h> #include <core/Plugin.h> #include "MediaLoaderImpl.h" namespace mous { MediaLoader::MediaLoader() : impl(std::make_unique<Impl>()) { } MediaLoader::~MediaLoader() { } void MediaLoader::RegisterSheetParserPlugin(const Plugin* pAgent) { return impl->RegisterSheetParserPlugin(pAg...
20.031746
92
0.747227
jjzhang166
c951da414e3efd7073d6e7a9fab62c0d2b7d76e6
3,889
cpp
C++
challenge_4/cpp/dewie102/src/BinaryTree.cpp
rchicoli/2017-challenges
44f0b672e5dea34de1dde131b6df837d462f8e29
[ "Apache-2.0" ]
271
2017-01-01T22:58:36.000Z
2021-11-28T23:05:29.000Z
challenge_4/cpp/dewie102/src/BinaryTree.cpp
AakashOfficial/2017Challenges
a8f556f1d5b43c099a0394384c8bc2d826f9d287
[ "Apache-2.0" ]
283
2017-01-01T23:26:05.000Z
2018-03-23T00:48:55.000Z
challenge_4/cpp/dewie102/src/BinaryTree.cpp
AakashOfficial/2017Challenges
a8f556f1d5b43c099a0394384c8bc2d826f9d287
[ "Apache-2.0" ]
311
2017-01-01T22:59:23.000Z
2021-09-23T00:29:12.000Z
#include "include/BinaryTree.h" // Set root node to null to avoid errors BST::BST () { m_root = nullptr; } // Call the delete tree function to free up memory BST::~BST () { DeleteTree (); } void BST::CreateNode (int l_value) { if (m_root != nullptr) { // If the root node exsits call the create node function using...
30.147287
124
0.662124
rchicoli
c95225d585036ca147288de29f0ad287be22dc49
4,463
cc
C++
src/tools/main_extract_state_from_snaps.cc
Zhang690683220/SHAW
867f0f02114cc339e657714cfaf17887d7e5caae
[ "BSD-3-Clause" ]
null
null
null
src/tools/main_extract_state_from_snaps.cc
Zhang690683220/SHAW
867f0f02114cc339e657714cfaf17887d7e5caae
[ "BSD-3-Clause" ]
null
null
null
src/tools/main_extract_state_from_snaps.cc
Zhang690683220/SHAW
867f0f02114cc339e657714cfaf17887d7e5caae
[ "BSD-3-Clause" ]
null
null
null
#include "CLI11.hpp" #include "Kokkos_Core.hpp" #include "../shared/constants.hpp" #include "../shared/meta/meta_kokkos.hpp" #include "../shared/io/matrix_write.hpp" #include "../shared/io/matrix_read.hpp" #include "../shared/io/vector_write.hpp" #include "utility" int main(int argc, char *argv[]) { CLI::App app{"E...
29.95302
85
0.578759
Zhang690683220