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
ccc0093f23ef2a08aee93406c0284dec8b6fc9b4
2,725
cpp
C++
AdventOfCode/2020/c.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
AdventOfCode/2020/c.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
AdventOfCode/2020/c.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
// Created by Tanuj Jain #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define pb push_back #define mp make_pair # define M_PI 3.14159265358979323846 /* pi */ #define FIO ios_base::sync_with_stdio(...
25
106
0.473394
onexmaster
ccc07390dc2cf8c2f8c7df0bf3d0c1a2dcb29cde
2,923
cpp
C++
src/eventloop/EventLoop.cpp
ag88/stm32duino-eventloop
463a9b73e3234ccbab26130a5a9c795cf15ce25e
[ "MIT" ]
7
2018-11-08T10:08:20.000Z
2021-12-15T04:59:58.000Z
src/eventloop/EventLoop.cpp
ag88/stm32duino-eventloop
463a9b73e3234ccbab26130a5a9c795cf15ce25e
[ "MIT" ]
null
null
null
src/eventloop/EventLoop.cpp
ag88/stm32duino-eventloop
463a9b73e3234ccbab26130a5a9c795cf15ce25e
[ "MIT" ]
3
2020-12-25T08:01:35.000Z
2021-09-23T09:33:30.000Z
/* A stm32duino eventloop * Copyright (c) 2018 Andrew Goh * Provided as-is, No warranties of any kind, Use at your own risk * License: MIT */ #include "EventLoop.h" #include "Event.h" CEventLoop::CEventLoop() { m_eventbuffer = RingBuffer<TEvent,EVENT_BUFFER_SIZE>::getInstance(); m_numhandler = 0; for(int i=0; ...
23.015748
87
0.700308
ag88
ccc27e2f3eb0a50fb1390a42327c25e9cc291628
2,791
cpp
C++
samples/ListApp/ListApp.cpp
r3dl3g/guipp
3d3179be3022935b46b59f1b988a029abeabfcbf
[ "MIT" ]
null
null
null
samples/ListApp/ListApp.cpp
r3dl3g/guipp
3d3179be3022935b46b59f1b988a029abeabfcbf
[ "MIT" ]
null
null
null
samples/ListApp/ListApp.cpp
r3dl3g/guipp
3d3179be3022935b46b59f1b988a029abeabfcbf
[ "MIT" ]
null
null
null
#include <gui/layout/layout_container.h> #include <gui/layout/adaption_layout.h> #include <gui/ctrl/virtual_view.h> #include <gui/ctrl/file_tree.h> #include <gui/ctrl/std_dialogs.h> // -------------------------------------------------------------------------- int gui_main(const std::vector<std::string>& /*args*/) {...
33.626506
95
0.636689
r3dl3g
ccc38e9ee25e0fc1d201b389f548a591f9ab70c3
8,123
cpp
C++
src/plugins/bittorrent/torrenttabfileswidget.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/bittorrent/torrenttabfileswidget.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/bittorrent/torrenttabfileswidget.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
31.242308
110
0.666256
Maledictus
ccc437b9b6c4dfcc1e5ae048e15d00a691019e2c
1,530
hpp
C++
src/sounds/Mp3Decoder.hpp
vgmoose/space
8f72c1d155b16b9705aa248ae8e84989f28fb498
[ "MIT" ]
25
2016-02-02T14:13:29.000Z
2018-04-27T18:57:43.000Z
src/sounds/Mp3Decoder.hpp
vgmoose/wiiu-space
8f72c1d155b16b9705aa248ae8e84989f28fb498
[ "MIT" ]
14
2016-03-18T17:41:59.000Z
2017-01-04T11:00:25.000Z
src/sounds/Mp3Decoder.hpp
vgmoose/space
8f72c1d155b16b9705aa248ae8e84989f28fb498
[ "MIT" ]
8
2016-03-18T07:05:24.000Z
2018-04-24T14:38:11.000Z
/*************************************************************************** * Copyright (C) 2010 * by Dimok * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any * damages arising from the use of this software. * * Permission is gr...
31.875
77
0.660131
vgmoose
ccc55ae9d8e24241afd8176f50ccf373a55130ec
2,893
hpp
C++
inc/Helpers/Parameter.hpp
ACubeSAT/ecss-services
92d81c1ff455d9baef9417e656388c98ec552751
[ "MIT" ]
null
null
null
inc/Helpers/Parameter.hpp
ACubeSAT/ecss-services
92d81c1ff455d9baef9417e656388c98ec552751
[ "MIT" ]
null
null
null
inc/Helpers/Parameter.hpp
ACubeSAT/ecss-services
92d81c1ff455d9baef9417e656388c98ec552751
[ "MIT" ]
null
null
null
#ifndef ECSS_SERVICES_PARAMETER_HPP #define ECSS_SERVICES_PARAMETER_HPP #include "etl/String.hpp" #include "Message.hpp" #include "ECSS_Definitions.hpp" /** * Implementation of a Parameter field, as specified in ECSS-E-ST-70-41C. * * @author Grigoris Pavlakis <grigpavl@ece.auth.gr> * @author Athanasios Theocharis...
35.716049
115
0.766678
ACubeSAT
ccd75449587615b2d6b8be5cbf43c63ca7aea6b1
120,789
cpp
C++
olp-cpp-sdk-dataservice-read/test/unit/src/CatalogClientTest.cpp
ystefinko/here-olp-edge-sdk-cpp
59f814cf98acd8f6c62572104a21ebdff4027171
[ "Apache-2.0" ]
1
2021-01-27T13:10:32.000Z
2021-01-27T13:10:32.000Z
olp-cpp-sdk-dataservice-read/test/unit/src/CatalogClientTest.cpp
ystefinko/here-olp-edge-sdk-cpp
59f814cf98acd8f6c62572104a21ebdff4027171
[ "Apache-2.0" ]
null
null
null
olp-cpp-sdk-dataservice-read/test/unit/src/CatalogClientTest.cpp
ystefinko/here-olp-edge-sdk-cpp
59f814cf98acd8f6c62572104a21ebdff4027171
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2019 HERE Europe B.V. * * 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 a...
36.74749
81
0.695146
ystefinko
ccd7f0ecb1012bc3172bb0343849506f7eba3e34
18,220
cxx
C++
3rd/fltk/OpenGL/Fl_Gl_Window.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
11
2017-09-30T12:21:55.000Z
2021-04-29T21:31:57.000Z
3rd/fltk/OpenGL/Fl_Gl_Window.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
2
2017-07-11T11:20:08.000Z
2018-03-27T12:09:02.000Z
3rd/fltk/OpenGL/Fl_Gl_Window.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
24
2018-03-27T11:46:16.000Z
2021-05-01T20:28:34.000Z
// "$Id: Fl_Gl_Window.cxx 5936 2007-07-24 11:25:53Z spitzak $" // // Copyright 1998-2006 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public // License as published by the Free Software Foundation; either // versi...
32.710952
99
0.704007
MarioHenze
ccd8312594e55bf962aa855e1fefc1e514fe86db
20,619
cpp
C++
frameworks/render/libs/isect/dmzRenderIsect.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
2
2015-11-05T03:03:43.000Z
2017-05-15T12:55:39.000Z
frameworks/render/libs/isect/dmzRenderIsect.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
null
null
null
frameworks/render/libs/isect/dmzRenderIsect.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
null
null
null
#include <dmzRenderIsect.h> #include <dmzTypesHandleContainer.h> #include <dmzTypesHashTableUInt32Template.h> #include <dmzTypesVector.h> //! \cond const dmz::UInt32 dmz::IsectPolygonBackCulledMask (0x01); const dmz::UInt32 dmz::IsectPolygonFrontCulledMask (0x02); const dmz::UInt32 dmz::IsectPolygonInvisibleMask (0x04...
23.193476
90
0.701392
dmzgroup
ccda31c2812b512e71f448266234ec53ea6dc35b
1,498
hpp
C++
include/cppgit2/tag.hpp
koordinates/cppgit2
49c36843f828f2f628aacdd04daf9d0812a220a4
[ "MIT" ]
null
null
null
include/cppgit2/tag.hpp
koordinates/cppgit2
49c36843f828f2f628aacdd04daf9d0812a220a4
[ "MIT" ]
null
null
null
include/cppgit2/tag.hpp
koordinates/cppgit2
49c36843f828f2f628aacdd04daf9d0812a220a4
[ "MIT" ]
1
2022-01-26T20:23:12.000Z
2022-01-26T20:23:12.000Z
#pragma once #include <cppgit2/libgit2_api.hpp> #include <cppgit2/object.hpp> #include <cppgit2/oid.hpp> #include <cppgit2/ownership.hpp> #include <cppgit2/signature.hpp> #include <git2.h> namespace cppgit2 { class tag : public libgit2_api { public: // Default construct a tag tag(); // Construct from libgit2 C...
20.520548
61
0.685581
koordinates
ef9ddb8bf2a42a685700817d638d505ef1a0f0a5
397
cpp
C++
higan/fc/cpu/serialization.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
38
2018-04-05T05:00:05.000Z
2022-02-06T00:02:02.000Z
higan/fc/cpu/serialization.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
1
2018-04-29T19:45:14.000Z
2018-04-29T19:45:14.000Z
higan/fc/cpu/serialization.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
8
2018-04-16T22:37:46.000Z
2021-02-10T07:37:03.000Z
auto CPU::serialize(serializer& s) -> void { MOS6502::serialize(s); Thread::serialize(s); s.array(ram); s.integer(io.interruptPending); s.integer(io.nmiPending); s.integer(io.nmiLine); s.integer(io.irqLine); s.integer(io.apuLine); s.integer(io.rdyLine); s.integer(io.rdyAddrValid); s.integer(io....
19.85
44
0.690176
13824125580
efa042dc4136bec3323bfe0cefe543bcbd5721e4
2,356
cc
C++
gcj2019/Round_1b/Problem1.cc
maciej-marek-mielczarek/gcj
b3ccdd48f24c2e89f4135f6d8f53d12c404f327b
[ "MIT" ]
null
null
null
gcj2019/Round_1b/Problem1.cc
maciej-marek-mielczarek/gcj
b3ccdd48f24c2e89f4135f6d8f53d12c404f327b
[ "MIT" ]
null
null
null
gcj2019/Round_1b/Problem1.cc
maciej-marek-mielczarek/gcj
b3ccdd48f24c2e89f4135f6d8f53d12c404f327b
[ "MIT" ]
null
null
null
#include<iostream> #include<string> #include<vector> using std::cin; using std::cout; using std::endl; using std::vector; int main() { int test_case = 1, n_test_cases; cin >> n_test_cases; for(;test_case <= n_test_cases; ++test_case) { int p, q; cin >> p >> q; if(q>100) ...
23.098039
69
0.290323
maciej-marek-mielczarek
efa08206632b844ab7d8ab2a76e49588af975efd
1,056
hh
C++
include/neutrino/utils/io/stream_copier.hh
devbrain/neutrino
5e7cd7c93b5c264a5f1da6ae88312e14253de10d
[ "Apache-2.0" ]
null
null
null
include/neutrino/utils/io/stream_copier.hh
devbrain/neutrino
5e7cd7c93b5c264a5f1da6ae88312e14253de10d
[ "Apache-2.0" ]
null
null
null
include/neutrino/utils/io/stream_copier.hh
devbrain/neutrino
5e7cd7c93b5c264a5f1da6ae88312e14253de10d
[ "Apache-2.0" ]
null
null
null
// // Created by igor on 08/07/2021. // #ifndef NEUTRINO_UTILS_IO_STREAM_COPIER_HH #define NEUTRINO_UTILS_IO_STREAM_COPIER_HH #include <istream> #include <ostream> #include <cstddef> namespace neutrino::utils::io { /// This class provides static methods to copy the contents from one stream /// into another. st...
30.171429
112
0.704545
devbrain
efa1c3d012db6b8ff25ed550db2088ff438ff81a
33,110
cpp
C++
shared/src/wdg/ds_slider_painter_bevelled.cpp
amazingidiot/qastools
6e3b0532ebc353c79d6df0628ed375e3d3c09d12
[ "MIT" ]
null
null
null
shared/src/wdg/ds_slider_painter_bevelled.cpp
amazingidiot/qastools
6e3b0532ebc353c79d6df0628ed375e3d3c09d12
[ "MIT" ]
null
null
null
shared/src/wdg/ds_slider_painter_bevelled.cpp
amazingidiot/qastools
6e3b0532ebc353c79d6df0628ed375e3d3c09d12
[ "MIT" ]
null
null
null
/// QasTools: Desktop toolset for the Linux sound system ALSA. /// \copyright See COPYING file. #include "ds_slider_painter_bevelled.hpp" #include "dpe/image_set.hpp" #include "dpe/image_set_meta.hpp" #include "dpe/paint_job.hpp" #include "wdg/color_methods.hpp" #include "wdg/ds_slider_meta_bg.hpp" #include "wdg/ds_wi...
27.753562
80
0.539807
amazingidiot
efa2b3b8f5cff514aa7914aef5da94f8f26c10e4
887
cpp
C++
17A.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
17A.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
17A.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <utility> #include <stack> #include <queue> #include <map> #define fi first #define se second #define pb push_back #define mp make_pair #define pi 2*acos(0.0) #de...
17.392157
69
0.598647
felikjunvianto
efa35a29214e795495f41465f977d9c2a4a96f50
753
cpp
C++
tests/AllegroFlare/ProfilerTest.cpp
MarkOates/allegro_flare
b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7
[ "MIT" ]
25
2015-03-30T02:02:43.000Z
2019-03-04T22:29:12.000Z
tests/AllegroFlare/ProfilerTest.cpp
MarkOates/allegro_flare
b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7
[ "MIT" ]
122
2015-04-01T08:15:26.000Z
2019-10-16T20:31:22.000Z
tests/AllegroFlare/ProfilerTest.cpp
MarkOates/allegro_flare
b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7
[ "MIT" ]
4
2016-09-02T12:14:09.000Z
2018-11-23T20:38:49.000Z
#include <gtest/gtest.h> #include <AllegroFlare/Profiler.hpp> // for usleep on Windows #include <unistd.h> TEST(AllegroFlare_ProfilerTest, can_be_created_without_blowing_up) { AllegroFlare::Profiler profiler; } TEST(AllegroFlare_ProfilerTest, DISABLED__emit__will_add_an_event_time_to_that_event_bucket) // TO...
24.290323
92
0.747676
MarkOates
efa40c24df2b0e4cf499973838a4d0f28f180fc5
61,356
cpp
C++
third_party/omr/compiler/runtime/OMRCodeCache.cpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/compiler/runtime/OMRCodeCache.cpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/compiler/runtime/OMRCodeCache.cpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright (c) 2000, 2019 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at http://ec...
36.65233
249
0.627665
xiacijie
efa68845f579d193ab3e5f439ffdc6bb52b04b56
5,161
cpp
C++
src/workers/src/postgres_workers_repository.cpp
maxerMU/db-course
3927f1cf0ccb2a937d571626dcc42d725a89d3f6
[ "Apache-2.0" ]
null
null
null
src/workers/src/postgres_workers_repository.cpp
maxerMU/db-course
3927f1cf0ccb2a937d571626dcc42d725a89d3f6
[ "Apache-2.0" ]
null
null
null
src/workers/src/postgres_workers_repository.cpp
maxerMU/db-course
3927f1cf0ccb2a937d571626dcc42d725a89d3f6
[ "Apache-2.0" ]
null
null
null
#include "postgres_workers_repository.h" #include <time.h> #include "base_sections.h" #include "database_exceptions.h" #include "iostream" PostgresWorkersRepository::PostgresWorkersRepository( const std::shared_ptr<BaseConfig>& conf, const std::string& connection_section) { read_config(conf, connection_secti...
36.090909
80
0.649293
maxerMU
efaad9a18ffbf7767f4649de0397a17239b95512
10,840
cc
C++
avida/avida-core/source/cpu/cInstSet.cc
FergusonAJ/plastic-evolvability-avida
441a91f1cafa2a0883f8f3ce09c8894efa963e7c
[ "MIT" ]
2
2021-09-16T14:47:43.000Z
2021-10-31T04:55:16.000Z
avida/avida-core/source/cpu/cInstSet.cc
FergusonAJ/plastic-evolvability-avida
441a91f1cafa2a0883f8f3ce09c8894efa963e7c
[ "MIT" ]
null
null
null
avida/avida-core/source/cpu/cInstSet.cc
FergusonAJ/plastic-evolvability-avida
441a91f1cafa2a0883f8f3ce09c8894efa963e7c
[ "MIT" ]
2
2020-08-19T20:01:14.000Z
2020-12-21T21:24:12.000Z
/* * cInstSet.cc * Avida * * Called "inst_set.cc" prior to 12/5/05. * Copyright 1999-2011 Michigan State University. All rights reserved. * Copyright 1993-2001 California Institute of Technology. * * * This file is part of Avida. * * Avida is free software; you can redistribute it and/or modify it und...
33.875
125
0.6869
FergusonAJ
efaaeb5c1d98d01e80e9d8f73e66cad874694928
722
hpp
C++
core/src/modules/include/IFreezingPoint.hpp
athelaf/nextsimdg
557e45db6af2cc07d00b3228c2d46f87567fe755
[ "Apache-2.0" ]
null
null
null
core/src/modules/include/IFreezingPoint.hpp
athelaf/nextsimdg
557e45db6af2cc07d00b3228c2d46f87567fe755
[ "Apache-2.0" ]
null
null
null
core/src/modules/include/IFreezingPoint.hpp
athelaf/nextsimdg
557e45db6af2cc07d00b3228c2d46f87567fe755
[ "Apache-2.0" ]
null
null
null
/*! * @file IFreezingPoint.hpp * * @date Nov 9, 2021 * @author Tim Spain <timothy.spain@nersc.no> */ #ifndef SRC_INCLUDE_IFREEZINGPOINT_HPP_ #define SRC_INCLUDE_IFREEZINGPOINT_HPP_ namespace Nextsim { //! The interface class for calculation of the freezing point of seawater. class IFreezingPoint { public: v...
23.290323
74
0.689751
athelaf
efafec67d13a37f21e8be68ec3e153811f614343
2,981
cpp
C++
grasp_generation/graspitmodified_lm/graspit/src/worldElementFactory.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/graspit/src/worldElementFactory.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/graspit/src/worldElementFactory.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
//###################################################################### // // GraspIt! // Copyright (C) 2002-2009 Columbia University in the City of New York. // All rights reserved. // // GraspIt! is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as publi...
34.264368
114
0.702113
KraftOreo
efb0162355995140ed09d23da8d405bfd8ef2e39
2,449
cpp
C++
src/shaders/basic_shaders.cpp
Wei-Parker-Guo/RayTracer
3312c5fc73d7d175818f94dcca66b87a0222aad4
[ "MIT" ]
1
2021-06-19T07:53:22.000Z
2021-06-19T07:53:22.000Z
src/shaders/basic_shaders.cpp
Wei-Parker-Guo/RayTracer
3312c5fc73d7d175818f94dcca66b87a0222aad4
[ "MIT" ]
null
null
null
src/shaders/basic_shaders.cpp
Wei-Parker-Guo/RayTracer
3312c5fc73d7d175818f94dcca66b87a0222aad4
[ "MIT" ]
null
null
null
#include "basic_shaders.h" /* generate lambertian shade with another light source * equation: c = cr(ca + clmax(0, n.l)) */ void gen_lambert_shade(const vec3 ca, const vec3 cr, const vec3 cl, const vec3 n, const vec3 l, vec3 c){ //reflectance float r = std::max(0.0f, vec3_mul_inner(n,l)); vec3_scale(c, c...
38.265625
172
0.684361
Wei-Parker-Guo
efb1e3b88c3e0fc5e6fb5df3c558b4c61feb32d7
918
cpp
C++
CommandLine/IO_L.cpp
AnuragNtl/QwikProjSearch
6eb34a87a22f8cd8dfa07aa0691b86c53f0cf54a
[ "Apache-2.0" ]
null
null
null
CommandLine/IO_L.cpp
AnuragNtl/QwikProjSearch
6eb34a87a22f8cd8dfa07aa0691b86c53f0cf54a
[ "Apache-2.0" ]
7
2020-09-06T23:09:44.000Z
2022-03-02T05:15:08.000Z
CommandLine/IO_L.cpp
AnuragNtl/QwikProjSearch
6eb34a87a22f8cd8dfa07aa0691b86c53f0cf54a
[ "Apache-2.0" ]
null
null
null
#include "IO_L.h" #include <boost/filesystem/path.hpp> using namespace ProjSearch; IoL :: IoL() {} bool IoL :: fileExists(string filePath) const { return boost :: filesystem :: exists(filePath); } bool IoL :: isFile(string filePath) const { return boost :: filesystem :: is_regular(filePath) || boost :: filesys...
26.228571
66
0.701525
AnuragNtl
efb24ca4a71a7cc0a1f7a0bd5c90f459bb8b2996
3,164
hpp
C++
include/memory/hadesmem/detail/winapi.hpp
phlip9/hadesmem
59e13a92c05918b8c842141fd5cac1ed390cd79e
[ "MIT" ]
19
2017-10-19T23:13:11.000Z
2022-03-29T11:37:26.000Z
include/memory/hadesmem/detail/winapi.hpp
Bia10/hadesmem
b91bce37611d0e939a55d9490c49780f9f0f3bff
[ "MIT" ]
null
null
null
include/memory/hadesmem/detail/winapi.hpp
Bia10/hadesmem
b91bce37611d0e939a55d9490c49780f9f0f3bff
[ "MIT" ]
10
2018-04-04T07:55:16.000Z
2021-11-23T20:22:43.000Z
// Copyright (C) 2010-2015 Joshua Boyce // See the file COPYING for copying permission. #pragma once #include <windows.h> #include <hadesmem/detail/assert.hpp> #include <hadesmem/detail/smart_handle.hpp> #include <hadesmem/error.hpp> namespace hadesmem { namespace detail { inline SYSTEM_INFO GetSyste...
27.754386
81
0.611252
phlip9
efb6f422e008221c2f7d98e066c8aa6ae7bbf426
8,039
cc
C++
tensorflow/compiler/xla/shape_tree_test.cc
xincao79/tensorflow
7fa0cf39f854d5fdaaa19ad6425dfed02f5fea64
[ "Apache-2.0" ]
13
2017-02-22T02:20:06.000Z
2018-06-06T04:18:03.000Z
tensorflow/compiler/xla/shape_tree_test.cc
xincao79/tensorflow
7fa0cf39f854d5fdaaa19ad6425dfed02f5fea64
[ "Apache-2.0" ]
3
2020-03-24T18:15:52.000Z
2021-02-02T22:28:38.000Z
tensorflow/compiler/xla/shape_tree_test.cc
xincao79/tensorflow
7fa0cf39f854d5fdaaa19ad6425dfed02f5fea64
[ "Apache-2.0" ]
38
2017-04-28T04:15:48.000Z
2019-09-28T05:11:46.000Z
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
32.156
80
0.673964
xincao79
efba47f84fc744499023300ed0881c6224ce2206
365
hxx
C++
include/usagi/environment_special_support.hxx
usagi/usagi
2d57d21eeb92eadfdf4154a3e470aebfc3e388e5
[ "MIT" ]
2
2016-11-20T04:59:17.000Z
2017-02-13T01:44:37.000Z
include/usagi/environment_special_support.hxx
usagi/usagi
2d57d21eeb92eadfdf4154a3e470aebfc3e388e5
[ "MIT" ]
3
2015-09-28T12:00:02.000Z
2015-09-28T12:03:21.000Z
include/usagi/environment_special_support.hxx
usagi/usagi
2d57d21eeb92eadfdf4154a3e470aebfc3e388e5
[ "MIT" ]
3
2017-07-02T06:09:47.000Z
2018-07-09T01:00:57.000Z
/// @file /// @brief 処理系依存の特別な対応 /// @attention 必要に応じて最も優先的にこのヘッダーファイルをインクルードして用いる #pragma once #include "environment_special_support/winsock.hxx" #include "environment_special_support/windows.hxx" #include "environment_special_support/ciso646.hxx" #include "environment_special_support/use_math_defines.hxx" #include ...
30.416667
59
0.835616
usagi
efbc7aaac6633655864e11f11088b8a45cff837f
787
cpp
C++
engine/src/concurrency/semaphore.cpp
ValtoForks/Terminus-Engine
0c7381af84736ec7b029977843590453cde64b1d
[ "MIT" ]
44
2017-01-25T05:57:21.000Z
2021-09-21T13:36:49.000Z
engine/src/concurrency/semaphore.cpp
ValtoForks/Terminus-Engine
0c7381af84736ec7b029977843590453cde64b1d
[ "MIT" ]
1
2017-04-05T01:50:18.000Z
2017-04-05T01:50:18.000Z
engine/src/concurrency/semaphore.cpp
ValtoForks/Terminus-Engine
0c7381af84736ec7b029977843590453cde64b1d
[ "MIT" ]
3
2017-09-28T08:11:00.000Z
2019-03-27T03:38:47.000Z
#include <concurrency/semaphore.hpp> TE_BEGIN_TERMINUS_NAMESPACE #if defined(_WIN32) Semaphore::Semaphore() { m_semaphore = CreateSemaphore(NULL, 0, 256000, NULL); } Semaphore::~Semaphore() { CloseHandle(m_semaphore); } void Semaphore::signal() { ReleaseSemaphore(m_semaphore, 1, NULL); } void Semaphor...
14.849057
57
0.710292
ValtoForks
efbe30af83bbe916246b4c5d45f11e020efe8ef4
2,393
cpp
C++
Engine/Source/Runtime/Core/FileSystem/FileUtils.cpp
1992please/NullEngine
8f5f124e9718b8d6627992bb309cf0f0d106d07a
[ "Apache-2.0" ]
null
null
null
Engine/Source/Runtime/Core/FileSystem/FileUtils.cpp
1992please/NullEngine
8f5f124e9718b8d6627992bb309cf0f0d106d07a
[ "Apache-2.0" ]
null
null
null
Engine/Source/Runtime/Core/FileSystem/FileUtils.cpp
1992please/NullEngine
8f5f124e9718b8d6627992bb309cf0f0d106d07a
[ "Apache-2.0" ]
null
null
null
#include "NullPCH.h" #include "FileUtils.h" #include "Core/Application/Application.h" #include "Core/Application/ApplicationWindow.h" bool FFileUtils::OpenFileDialog(const FString& Starting, const char* InFilter, FString& OutFilePath) { char OutFileName[256] = { 0 }; OPENFILENAMEA OFN; FMemory::Memzero(&OFN, sizeo...
26.588889
100
0.735896
1992please
efbe3381f36230772b5ed4d20dca744b281ce35b
857
hpp
C++
Merlin/Merlin/Core/layer_stack.hpp
kshatos/MerlinEngine
a7eb9b39b6cb8a02bef0f739db25268a7a06e215
[ "MIT" ]
null
null
null
Merlin/Merlin/Core/layer_stack.hpp
kshatos/MerlinEngine
a7eb9b39b6cb8a02bef0f739db25268a7a06e215
[ "MIT" ]
null
null
null
Merlin/Merlin/Core/layer_stack.hpp
kshatos/MerlinEngine
a7eb9b39b6cb8a02bef0f739db25268a7a06e215
[ "MIT" ]
null
null
null
#ifndef LAYER_STACK_HPP #define LAYER_STACK_HPP #include <vector> #include <deque> #include"Merlin/Core/layer.hpp" namespace Merlin { class LayerStack { std::deque<std::shared_ptr<Layer>> m_layers; public: void PushFront(std::shared_ptr<Layer> layer); void PushBack(std::shared_ptr<...
32.961538
108
0.660443
kshatos
efc1efa71b2b66dfe9a16ce0a2cc76f5cf1d5b4a
727
cc
C++
algorithms/image/fill_holes/boost_python/fill_holes_ext.cc
TiankunZhou/dials
bd5c95b73c442cceb1c61b1690fd4562acf4e337
[ "BSD-3-Clause" ]
58
2015-10-15T09:28:20.000Z
2022-03-28T20:09:38.000Z
algorithms/image/fill_holes/boost_python/fill_holes_ext.cc
TiankunZhou/dials
bd5c95b73c442cceb1c61b1690fd4562acf4e337
[ "BSD-3-Clause" ]
1,741
2015-11-24T08:17:02.000Z
2022-03-31T15:46:42.000Z
algorithms/image/fill_holes/boost_python/fill_holes_ext.cc
TiankunZhou/dials
bd5c95b73c442cceb1c61b1690fd4562acf4e337
[ "BSD-3-Clause" ]
45
2015-10-14T13:44:16.000Z
2022-03-22T14:45:56.000Z
/* * filter_ext.cc * * Copyright (C) 2013 Diamond Light Source * * Author: James Parkhurst * * This code is distributed under the BSD license, a copy of which is * included in the root directory of this package. */ #include <boost/python.hpp> #include <boost/python/def.hpp> #include <dials/algorithms/image...
26.925926
88
0.701513
TiankunZhou
efc4437cbd04243327b3fe9b9f313d0a0b1178d3
8,694
hpp
C++
SDK/ARKSurvivalEvolved_WeapCrossbow_Zipline_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_WeapCrossbow_Zipline_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_WeapCrossbow_Zipline_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_WeapCrossbow_Zipline_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //----------------------------------------------------...
95.538462
236
0.560271
2bite
efc54fffed30f34b1306377ae37acada8fc33496
1,638
hpp
C++
Source/Console/ConsoleDefinition.hpp
gunstarpl/Game-Engine-12-2013
bfc53f5c998311c17e97c1b4d65792d615c51d36
[ "MIT", "Unlicense" ]
6
2017-12-31T17:28:40.000Z
2021-12-04T06:11:34.000Z
Source/Console/ConsoleDefinition.hpp
gunstarpl/Game-Engine-12-2013
bfc53f5c998311c17e97c1b4d65792d615c51d36
[ "MIT", "Unlicense" ]
null
null
null
Source/Console/ConsoleDefinition.hpp
gunstarpl/Game-Engine-12-2013
bfc53f5c998311c17e97c1b4d65792d615c51d36
[ "MIT", "Unlicense" ]
null
null
null
#pragma once #include "Precompiled.hpp" // // Console Definition // Base class used by console variable/command classes. // class ConsoleDefinition : public NonCopyable { protected: ConsoleDefinition(std::string name, std::string description); public: virtual ~ConsoleDefinition(); // Called when a def...
21.552632
65
0.666667
gunstarpl
efcd134f4ff70b0892b244d57fab43f0fd97c732
882
cpp
C++
src/engine/keen/vorticon/ai/CDoor.cpp
rikimbo/Commander-Genius
0b56993f4c36be8369cfd48f15aa2b9ee74a734d
[ "X11" ]
137
2015-01-01T21:04:51.000Z
2022-03-30T01:41:10.000Z
src/engine/keen/vorticon/ai/CDoor.cpp
rikimbo/Commander-Genius
0b56993f4c36be8369cfd48f15aa2b9ee74a734d
[ "X11" ]
154
2015-01-01T16:34:39.000Z
2022-01-28T14:14:45.000Z
src/engine/keen/vorticon/ai/CDoor.cpp
rikimbo/Commander-Genius
0b56993f4c36be8369cfd48f15aa2b9ee74a734d
[ "X11" ]
35
2015-03-24T02:20:54.000Z
2021-05-13T11:44:22.000Z
#include "CDoor.h" #include "graphics/GsGraphics.h" CDoor::CDoor(CMap *pmap, Uint32 x, Uint32 y, Uint32 doorspriteID): CVorticonSpriteObject(pmap, x, y, OBJ_DOOR, 0) { mSpriteIdx=doorspriteID; GsSprite &Doorsprite = gGraphics.getSprite(mSprVar,mSpriteIdx); timer = 0; Doorsprite.setHeight(32); inhib...
23.210526
87
0.660998
rikimbo
efce684ab6546a13268fe406728c7f1d9dac2484
2,471
cpp
C++
sc-memory/unit_tests/sc-memory/units/test_python.cpp
kroschenko/sc-machine
10a9535b3b9151ed683d351f2d222a95fc078e2b
[ "MIT" ]
null
null
null
sc-memory/unit_tests/sc-memory/units/test_python.cpp
kroschenko/sc-machine
10a9535b3b9151ed683d351f2d222a95fc078e2b
[ "MIT" ]
null
null
null
sc-memory/unit_tests/sc-memory/units/test_python.cpp
kroschenko/sc-machine
10a9535b3b9151ed683d351f2d222a95fc078e2b
[ "MIT" ]
1
2021-12-03T13:20:18.000Z
2021-12-03T13:20:18.000Z
/* * This source file is part of an OSTIS project. For the latest info, see http://ostis.net * Distributed under the MIT License * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) */ #include <thread> #include "test_defines.hpp" #include "catch2/catch.hpp" #include "sc-test-framework/...
26.858696
89
0.511938
kroschenko
efd23bca15c3960369a78a0940a30f1313a5aac6
1,009
cpp
C++
jsUnits/jsVelocityResponseSpectrum.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
jsUnits/jsVelocityResponseSpectrum.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
jsUnits/jsVelocityResponseSpectrum.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2021 DNV AS // // 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 <jsUnits/jsVelocityResponseSpectrum.h> #include <jsUnits/jsUnitClass.h> #include <Units/VelocityResponseSpectrum.h> #inc...
37.37037
174
0.800793
dnv-opensource
efd6998e3ce22d79dddd9d58a4a7fdf8e7051153
5,842
cpp
C++
MfgToolLib/HidDevice.cpp
Koltak/mfgtools
02d9e639ceeda38be0184f3b697a126c5d3f03e7
[ "BSD-3-Clause" ]
null
null
null
MfgToolLib/HidDevice.cpp
Koltak/mfgtools
02d9e639ceeda38be0184f3b697a126c5d3f03e7
[ "BSD-3-Clause" ]
null
null
null
MfgToolLib/HidDevice.cpp
Koltak/mfgtools
02d9e639ceeda38be0184f3b697a126c5d3f03e7
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2009-2014, 2016 Freescale Semiconductor, Inc. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list of conditions an...
27.952153
116
0.657994
Koltak
efdd89d2b326ec62a9e713a463a107becdd9625c
1,559
cpp
C++
cpp-htp/standard/ch21solutions/Ex21_21/ex21_21.cpp
yanshengjia/cplusplus-practice-range
6767a0ac50de8b532255511cd450dc84c66d1517
[ "Apache-2.0" ]
75
2020-03-23T11:00:31.000Z
2022-02-20T05:22:53.000Z
cpp-htp/standard/ch21solutions/Ex21_21/ex21_21.cpp
yanshengjia/cplusplus-practice-range
6767a0ac50de8b532255511cd450dc84c66d1517
[ "Apache-2.0" ]
null
null
null
cpp-htp/standard/ch21solutions/Ex21_21/ex21_21.cpp
yanshengjia/cplusplus-practice-range
6767a0ac50de8b532255511cd450dc84c66d1517
[ "Apache-2.0" ]
39
2020-04-03T23:47:24.000Z
2022-01-19T05:06:39.000Z
// Exercise 21.21 Solution: ex21_21.cpp #include <iostream> #include <cstdlib> using namespace std; const int SIZE = 6; int main() { char stringValue[ SIZE ]; int sum = 0; for ( int i = 1; i <= 4; ++i ) { cout << "Enter an integer string: "; cin >> stringValue; sum +...
39.974359
76
0.52213
yanshengjia
efe1ffe86c38e44a2b6a41ac546f963c1b6da326
456
cpp
C++
Selection Sort.cpp
Gayane05/Algorithms-Design_Patterns
9cba4b1b2018ae27a24f52b1e09ef037b9742f48
[ "MIT" ]
null
null
null
Selection Sort.cpp
Gayane05/Algorithms-Design_Patterns
9cba4b1b2018ae27a24f52b1e09ef037b9742f48
[ "MIT" ]
null
null
null
Selection Sort.cpp
Gayane05/Algorithms-Design_Patterns
9cba4b1b2018ae27a24f52b1e09ef037b9742f48
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> template<typename T> void SelectionSort(std::vector<T>& vec) { for (int i = 1; i < vec.size() - 1; ++i) { int min = i; for (int j = i + 1; j < vec.size(); ++j) { if (vec[j] < vec[min]) { min = j; } std::swap(vec[j], v...
14.709677
53
0.482456
Gayane05
efe246a0189f73fa17a75289694b57c4f589b186
111
cpp
C++
zadaci_prvi_ciklus_laboratorjiskih_vjezbi/zadatak1/main.cpp
Miillky/objektno_orijentirano_programiranje
b41fe690c25a73acd09aff5606524b9e43f0b38a
[ "MIT" ]
null
null
null
zadaci_prvi_ciklus_laboratorjiskih_vjezbi/zadatak1/main.cpp
Miillky/objektno_orijentirano_programiranje
b41fe690c25a73acd09aff5606524b9e43f0b38a
[ "MIT" ]
null
null
null
zadaci_prvi_ciklus_laboratorjiskih_vjezbi/zadatak1/main.cpp
Miillky/objektno_orijentirano_programiranje
b41fe690c25a73acd09aff5606524b9e43f0b38a
[ "MIT" ]
null
null
null
#include <iostream> #include "Automobil.hpp" int main(){ Automobil automobil; automobil.prikazi(); }
12.333333
24
0.675676
Miillky
efe47232b045b326e4802e9f1ae56254de9769e4
804
cpp
C++
851-loud-and-rich/851-loud-and-rich.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
2
2022-01-02T19:15:00.000Z
2022-01-05T21:12:24.000Z
851-loud-and-rich/851-loud-and-rich.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
null
null
null
851-loud-and-rich/851-loud-and-rich.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
1
2022-03-11T17:11:07.000Z
2022-03-11T17:11:07.000Z
class Solution { public: vector<int> loudAndRich(vector<vector<int>>& richer, vector<int>& quiet) { int n = quiet.size(); vector<vector<int>> graph(n); for(auto i : richer) graph[i[1]].push_back(i[0]); vector<bool> visited(n, false); vector<int> ans(n); for(int i = 0; i < n; i+...
22.971429
103
0.529851
Ananyaas
efe5cac533b77730bea13363d24a1c4e9ff18347
2,851
cpp
C++
libraries/picosystem.cpp
Gadgetoid/picosystem
52890ea5c8e15a605889c7f5103e1ee97202d61c
[ "MIT" ]
null
null
null
libraries/picosystem.cpp
Gadgetoid/picosystem
52890ea5c8e15a605889c7f5103e1ee97202d61c
[ "MIT" ]
null
null
null
libraries/picosystem.cpp
Gadgetoid/picosystem
52890ea5c8e15a605889c7f5103e1ee97202d61c
[ "MIT" ]
null
null
null
#include <stdio.h> #include <cstdlib> #include <math.h> #include "picosystem.hpp" namespace picosystem { color_t _pen; int32_t _tx = 0, _ty = 0; int32_t _camx = 0, _camy = 0; uint32_t _io = 0, _lio = 0; blend_func_t _bf = BLEND; #ifdef PIXEL_DOUBLE color_t _fb[120 * 120]; buffer_t SCREEN{.w = ...
21.598485
76
0.603297
Gadgetoid
efe9558965689a612351a7590523cf9f7e51ca72
2,420
hpp
C++
src/Kommunikationsstelle.hpp
Raspi64/imgui_setup
3d2a53211d26805c4851e3e28a9b2d6f02df1db8
[ "MIT" ]
1
2021-05-04T07:30:41.000Z
2021-05-04T07:30:41.000Z
src/Kommunikationsstelle.hpp
Raspi64/raspi64
3d2a53211d26805c4851e3e28a9b2d6f02df1db8
[ "MIT" ]
3
2020-11-21T17:49:13.000Z
2020-12-18T14:21:17.000Z
src/Kommunikationsstelle.hpp
Raspi64/raspi64
3d2a53211d26805c4851e3e28a9b2d6f02df1db8
[ "MIT" ]
3
2020-10-27T14:13:28.000Z
2020-12-18T14:16:07.000Z
// // Created by simon on 12/1/20. // #ifndef IMGUI_SETUP_KOMMUNIKATIONSSTELLE_HPP #define IMGUI_SETUP_KOMMUNIKATIONSSTELLE_HPP #include <string> #include <Gui.hpp> #include <Plugin.hpp> class Kommunikationsstelle { public: static void init(Gui *, LANG); enum Status { NOT_STARTED, // No program h...
25.208333
78
0.721074
Raspi64
efef5493997fd4276533446b75110b7c76c62411
1,487
cpp
C++
Graph/networkdelaytime.cpp
thisisnitish/cp-dsa
6a00f1d60712115f70c346cee238ad1730e6c39e
[ "MIT" ]
4
2020-12-29T09:27:10.000Z
2022-02-12T14:20:23.000Z
Graph/networkdelaytime.cpp
thisisnitish/cp-dsa
6a00f1d60712115f70c346cee238ad1730e6c39e
[ "MIT" ]
1
2021-11-27T06:15:28.000Z
2021-11-27T06:15:28.000Z
Graph/networkdelaytime.cpp
thisisnitish/cp-dsa
6a00f1d60712115f70c346cee238ad1730e6c39e
[ "MIT" ]
1
2021-11-17T21:42:57.000Z
2021-11-17T21:42:57.000Z
/* Leetcode Question 743. Network Delay Time https://leetcode.com/problems/network-delay-time/ */ class Solution { public: /*the basic idea is that indirectly the question itself is asking single source shortest path, so we can apply dijsktra's algorithm. Time: O(ElogV)*/ int networkDelayTime(vector<ve...
26.553571
94
0.494956
thisisnitish
eff5d5ffbf67b5ff6da2cfa3e4b6b7e9e7aa478d
933
cpp
C++
aws-cpp-sdk-eks/source/model/DeleteAddonRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-eks/source/model/DeleteAddonRequest.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-eks/source/model/DeleteAddonRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/eks/model/DeleteAddonRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/http/URI.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <utility> ...
20.733333
69
0.714898
perfectrecall
eff649fba127a39df62f8e4763b5d469c27ab2cf
5,898
cc
C++
tensorflow_serving/servables/feature/feature_transformer.cc
ydp/serving
a3102b03a3435a645e64d28de67b45e9162a8a8c
[ "Apache-2.0" ]
6
2018-03-20T19:58:10.000Z
2020-11-23T09:29:04.000Z
tensorflow_serving/servables/feature/feature_transformer.cc
ydp/serving
a3102b03a3435a645e64d28de67b45e9162a8a8c
[ "Apache-2.0" ]
null
null
null
tensorflow_serving/servables/feature/feature_transformer.cc
ydp/serving
a3102b03a3435a645e64d28de67b45e9162a8a8c
[ "Apache-2.0" ]
null
null
null
#include "tensorflow_serving/servables/feature/feature_transformer.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/io/path.h" #include "tensorflow/core/lib/io/inputbuffer.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/cor...
35.963415
81
0.626823
ydp
eff65efeeb1bde6d66b9f8c1c12a1c51aece6dfd
557
cc
C++
sample/src/utils/FileOperationUtils.cc
aliyun/aliyun-pds-cpp-sdk
d1f5091efe7a3ac971285ccb82bbf9cc77a41ccc
[ "Apache-2.0" ]
2
2021-09-18T12:51:39.000Z
2021-09-19T13:38:31.000Z
sample/src/utils/FileOperationUtils.cc
aliyun/aliyun-pds-cpp-sdk
d1f5091efe7a3ac971285ccb82bbf9cc77a41ccc
[ "Apache-2.0" ]
null
null
null
sample/src/utils/FileOperationUtils.cc
aliyun/aliyun-pds-cpp-sdk
d1f5091efe7a3ac971285ccb82bbf9cc77a41ccc
[ "Apache-2.0" ]
null
null
null
#include "FileOperationUtils.h" #include <sys/stat.h> bool GetPathInfo(const std::string& path, time_t& t, std::streamsize& size) { struct stat buf; auto filename = path.c_str(); #if defined(_WIN32) && _MSC_VER < 1900 std::string tmp; if (!path.empty() && (path.rbegin()[0] == PATH_DELIMITER)) { ...
26.52381
75
0.610413
aliyun
eff977b4191397ec7902a88c7b8c346e4efb6f7d
2,567
cpp
C++
TC647 - 1000.cpp
therainmak3r/dirty-laundry
39e295e9390b62830bef53282cdcb63716efac45
[ "MIT" ]
20
2015-12-22T14:14:59.000Z
2019-10-25T12:14:23.000Z
TC647 - 1000.cpp
therainmak3r/dirty-laundry
39e295e9390b62830bef53282cdcb63716efac45
[ "MIT" ]
null
null
null
TC647 - 1000.cpp
therainmak3r/dirty-laundry
39e295e9390b62830bef53282cdcb63716efac45
[ "MIT" ]
2
2016-06-27T13:34:08.000Z
2018-10-02T20:36:54.000Z
#include <iostream> #include <algorithm> #include <vector> using namespace std; class BuildingTowers { public: long long between(int xi, long long a, int xj, long long b, long long k) { if (a > b) return between(xj,b,xi,a,k); int available = abs(xj - xi) - 1; ...
28.522222
98
0.423062
therainmak3r
effad5b5bb5119a9fac318036c0eb5cbba76ab41
8,826
cpp
C++
legacy/libgcrypt/mpi/mpi-bit.cpp
mehrdad-shokri/neopg
05b370c04ffc019e55d75ab262d17abe6e69cafc
[ "BSD-2-Clause" ]
224
2017-10-29T09:48:00.000Z
2021-07-21T10:27:14.000Z
legacy/libgcrypt/mpi/mpi-bit.cpp
mehrdad-shokri/neopg
05b370c04ffc019e55d75ab262d17abe6e69cafc
[ "BSD-2-Clause" ]
66
2017-10-29T16:17:55.000Z
2020-11-30T18:53:40.000Z
legacy/libgcrypt/mpi/mpi-bit.cpp
mehrdad-shokri/neopg
05b370c04ffc019e55d75ab262d17abe6e69cafc
[ "BSD-2-Clause" ]
22
2017-10-29T19:55:45.000Z
2020-01-04T13:25:50.000Z
/* mpi-bit.c - MPI bit level functions * Copyright (C) 1998, 1999, 2001, 2002, 2006 Free Software Foundation, Inc. * Copyright (C) 2013 g10 Code GmbH * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public ...
26.112426
79
0.567868
mehrdad-shokri
effb6ad015942570849c6bfb3b062b91674ca864
1,872
cpp
C++
deps/emp-tool/uint.cpp
fakecoinbase/boltlabs-incslashlibzkchannels
c0b43790c637f4ffd2956193b16f9ddcea94a3a4
[ "MIT" ]
68
2020-01-18T22:07:57.000Z
2022-02-03T02:30:55.000Z
deps/emp-tool/uint.cpp
fakecoinbase/boltlabs-incslashlibzkchannels
c0b43790c637f4ffd2956193b16f9ddcea94a3a4
[ "MIT" ]
2
2020-04-29T02:02:49.000Z
2021-04-08T11:23:48.000Z
deps/emp-tool/uint.cpp
fakecoinbase/boltlabs-incslashlibzkchannels
c0b43790c637f4ffd2956193b16f9ddcea94a3a4
[ "MIT" ]
3
2021-04-04T05:04:16.000Z
2022-01-26T10:14:46.000Z
#include <typeinfo> #include "emp-tool/emp-tool.h" #include <iostream> using namespace std; using namespace emp; template<typename Op, typename Op2> void test_int(int party, int range1 = 1<<25, int range2 = 1<<25, int runs = 1000) { PRG prg; for(int i = 0; i < runs; ++i) { unsigned long long ia, ib; ...
31.2
97
0.571581
fakecoinbase
effcc4905f3eab31d3927931f9dafab1702a61d4
225
cpp
C++
Baekjoon/10103.cpp
r4k0nb4k0n/Programming-Challenges
3d734902a7503f9dc49c97fe6e69e7541cd73e56
[ "MIT" ]
2
2019-05-24T08:58:26.000Z
2022-01-09T00:46:42.000Z
Baekjoon/10103.cpp
r4k0nb4k0n/Programming-Challenges
3d734902a7503f9dc49c97fe6e69e7541cd73e56
[ "MIT" ]
null
null
null
Baekjoon/10103.cpp
r4k0nb4k0n/Programming-Challenges
3d734902a7503f9dc49c97fe6e69e7541cd73e56
[ "MIT" ]
null
null
null
#include <cstdio> using namespace std; int main(){ int n; int a=100,b=100; scanf("%d",&n); while(n--){ int i, j; scanf("%d %d",&i,&j); if(i<j) a-=j; else if(i>j) b-=i; } printf("%d\n%d",a,b); return 0; }
12.5
23
0.502222
r4k0nb4k0n
effd4d35c462f68745db4533748530419ec94797
618
cpp
C++
CPlusPlusThings/struct/struct_things.cpp
lijianran/Leetcode
d94f9ed0caeee5318041e9f1d70f3db4518aed49
[ "Apache-2.0" ]
1
2021-05-15T14:38:15.000Z
2021-05-15T14:38:15.000Z
CPlusPlusThings/struct/struct_things.cpp
lijianran/Leetcode
d94f9ed0caeee5318041e9f1d70f3db4518aed49
[ "Apache-2.0" ]
null
null
null
CPlusPlusThings/struct/struct_things.cpp
lijianran/Leetcode
d94f9ed0caeee5318041e9f1d70f3db4518aed49
[ "Apache-2.0" ]
null
null
null
/** * @file struct_things.cpp * @author lijianran (lijianran@outlook.com) * @brief struct 那些事 https://light-city.club/sc/basic_content/struct/ * @version 0.1 * @date 2021-12-17 */ #include <iostream> #include <stdio.h> struct Base { // 默认 public int v1; // private: int v3; public: //显示声明 publi...
15.073171
69
0.550162
lijianran
560a79738fc9fd930f5108100445c7a498b78e80
1,622
cpp
C++
brainfuck/test.cpp
DenisOstashov/cpp-advanced-hse
6e4317763c0a9c510d639ae1e5793a8e9549d953
[ "MIT" ]
null
null
null
brainfuck/test.cpp
DenisOstashov/cpp-advanced-hse
6e4317763c0a9c510d639ae1e5793a8e9549d953
[ "MIT" ]
null
null
null
brainfuck/test.cpp
DenisOstashov/cpp-advanced-hse
6e4317763c0a9c510d639ae1e5793a8e9549d953
[ "MIT" ]
null
null
null
#include <catch.hpp> #include <limits> #include "brainfuck.h" TEST_CASE("Consume") { REQUIRE(std::is_same_v<Consume<Tape<0, 0, 'a'>>, decltype(std::pair<Char<0>, Tape<0, 'a'>>{})>); REQUIRE(std::is_same_v<Consume<Tape<0, 'a'>>, decltype(std::pair<Char<'a'>, Tape<0>>{})>); REQUIRE(std::is_same_v<Consume<Tap...
40.55
100
0.620838
DenisOstashov
560caad7b2f7cb4c36f408bb8d529de237d92edb
5,434
cpp
C++
src/KernelArg.cpp
rise-lang/yacx
da81fe8f814151b1c2024617f0bc9891f210cd84
[ "MIT" ]
5
2019-12-16T15:32:05.000Z
2021-05-21T18:36:37.000Z
src/KernelArg.cpp
rise-lang/yacx
da81fe8f814151b1c2024617f0bc9891f210cd84
[ "MIT" ]
98
2019-12-07T15:28:18.000Z
2021-03-02T14:20:48.000Z
src/KernelArg.cpp
rise-lang/yacx
da81fe8f814151b1c2024617f0bc9891f210cd84
[ "MIT" ]
6
2019-12-08T13:20:57.000Z
2021-05-16T11:21:14.000Z
#include "yacx/Exception.hpp" #include "yacx/KernelArgs.hpp" #include "yacx/Logger.hpp" #include <builtin_types.h> #include <stdexcept> using yacx::KernelArg, yacx::KernelArgMatrixPadding, yacx::loglevel, yacx::detail::DataCopy, yacx::detail::DataCopyKernelArg, yacx::detail::DataCopyKernelArgMatrixPadding; s...
36.716216
80
0.605631
rise-lang
560df63a041345e0e002b3745ecce37c9cfe24d7
3,503
cpp
C++
FreeRTOS/cpp11_gcc/thread.cpp
klepsydra-technologies/FreeRTOS_cpp11
0676bd7d9667d999c9ba8e377f51771f197359aa
[ "MIT" ]
66
2019-07-23T10:25:36.000Z
2022-03-24T12:45:03.000Z
FreeRTOS/cpp11_gcc/thread.cpp
klepsydra-technologies/FreeRTOS_cpp11
0676bd7d9667d999c9ba8e377f51771f197359aa
[ "MIT" ]
10
2019-10-14T21:25:54.000Z
2021-03-28T17:39:18.000Z
FreeRTOS/cpp11_gcc/thread.cpp
klepsydra-technologies/FreeRTOS_cpp11
0676bd7d9667d999c9ba8e377f51771f197359aa
[ "MIT" ]
17
2019-06-13T03:24:07.000Z
2022-01-18T00:28:34.000Z
/// Copyright 2021 Piotr Grygorczuk <grygorek@gmail.com> /// /// 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, cop...
31.845455
85
0.697688
klepsydra-technologies
560f33837d3c3bcaf97b6dc85c652c32a9b3aa39
13,402
cc
C++
src/libxtp/jobcalculators/iexcitoncl.cc
choudarykvsp/xtp
9a249fd34615abcf790d5f0ecd3ddf1ed0ac0e7a
[ "Apache-2.0" ]
1
2018-03-05T17:36:53.000Z
2018-03-05T17:36:53.000Z
src/libxtp/jobcalculators/iexcitoncl.cc
choudarykvsp/xtp
9a249fd34615abcf790d5f0ecd3ddf1ed0ac0e7a
[ "Apache-2.0" ]
null
null
null
src/libxtp/jobcalculators/iexcitoncl.cc
choudarykvsp/xtp
9a249fd34615abcf790d5f0ecd3ddf1ed0ac0e7a
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2009-2017 The VOTCA Development Team * (http://www.votca.org) * * 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 * * h...
32.687805
187
0.565065
choudarykvsp
5610b425a0cc434a6c9d241aecaf7bc4bae58eca
1,198
cpp
C++
5Graph_accesses_using_BGL.cpp
mohsenuss91/BGL_workshop
03d2bea291d4c6d67e7ddcd562694a0b7ecc5130
[ "MIT" ]
1
2015-02-12T18:40:32.000Z
2015-02-12T18:40:32.000Z
5Graph_accesses_using_BGL.cpp
mohsenuss91/IBM_BGL
03d2bea291d4c6d67e7ddcd562694a0b7ecc5130
[ "MIT" ]
null
null
null
5Graph_accesses_using_BGL.cpp
mohsenuss91/IBM_BGL
03d2bea291d4c6d67e7ddcd562694a0b7ecc5130
[ "MIT" ]
null
null
null
#include <iostream> #include <boost/graph/adjacency_list.hpp> using namespace boost; using namespace std; typedef property<edge_weight_t, int> EdgeWeightProperty; typedef property<edge_weight_t, int> EdgeWeightProperty; typedef boost::adjacency_list < listS, vecS, undirectedS, no_property, EdgeWeightProperty> mygraph; ...
36.30303
99
0.600167
mohsenuss91
561102d0305d5e59c254b50186f862a1506e482d
25,650
cpp
C++
pikoc/src/PikoSummary.cpp
piko-dev/piko-public
8d7ab461de155992ca75e839f406670279fb6bad
[ "BSD-3-Clause" ]
15
2015-05-19T08:23:26.000Z
2021-11-26T02:59:36.000Z
pikoc/src/PikoSummary.cpp
piko-dev/piko-public
8d7ab461de155992ca75e839f406670279fb6bad
[ "BSD-3-Clause" ]
null
null
null
pikoc/src/PikoSummary.cpp
piko-dev/piko-public
8d7ab461de155992ca75e839f406670279fb6bad
[ "BSD-3-Clause" ]
4
2015-10-06T15:14:43.000Z
2020-02-20T13:17:11.000Z
#include "PikoSummary.hpp" #include <algorithm> #include <sstream> using namespace std; bool compBranchesFurthest(vector<stageSummary*> a, vector<stageSummary*> b) { return (a[0]->distFromDrain > b[0]->distFromDrain); } bool compBranchesClosest(vector<stageSummary*> a, vector<stageSummary*> b) { return (a[0]->dis...
33.928571
121
0.625497
piko-dev
561158798e45c93c237c70d997d7e7d12b1867b0
804
cpp
C++
demos/tutorial/interval.cpp
tbellotti/samurai
b10fa2115d69eb184609103579ba433ff09891df
[ "BSD-3-Clause" ]
13
2021-01-07T19:23:42.000Z
2022-01-26T13:07:41.000Z
demos/tutorial/interval.cpp
gouarin/samurai
7ae877997e8b9bdb85b84acaabb3c0483ff78689
[ "BSD-3-Clause" ]
1
2021-07-04T17:30:47.000Z
2021-07-04T17:30:47.000Z
demos/tutorial/interval.cpp
gouarin/samurai
7ae877997e8b9bdb85b84acaabb3c0483ff78689
[ "BSD-3-Clause" ]
2
2021-01-07T15:54:49.000Z
2021-02-24T13:11:42.000Z
// Copyright 2021 SAMURAI TEAM. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include <iostream> #include <samurai/cell_array.hpp> #include <samurai/cell_list.hpp> int main() { constexpr std::size_t dim = 2; samurai::CellList<di...
23.647059
53
0.614428
tbellotti
5613753614e4123daac05025841cc8649e667ba4
569
cc
C++
test/access_restriction.cc
Georepublic/valhalla
079c11978093608e730b22a52c2363d39eefdc15
[ "MIT" ]
1,947
2016-02-25T20:54:40.000Z
2022-03-30T11:13:21.000Z
test/access_restriction.cc
Bolaxax/valhalla
f5e464a1f7f2d75d08ea6db6bb8418c0f500eccb
[ "MIT" ]
2,635
2016-02-23T15:36:46.000Z
2022-03-30T09:51:41.000Z
test/access_restriction.cc
Bolaxax/valhalla
f5e464a1f7f2d75d08ea6db6bb8418c0f500eccb
[ "MIT" ]
472
2016-03-11T09:38:02.000Z
2022-03-29T14:01:48.000Z
#include <vector> #include "baldr/accessrestriction.h" #include "test.h" using namespace std; using namespace valhalla::baldr; // Expected size is 16 bytes. We want to alert if somehow any change grows // this structure size as that indicates incompatible tiles. constexpr size_t kAccessRestrictionExpectedSize = 16;...
21.884615
74
0.764499
Georepublic
56141c4d5b7b4ebb21e15f3a26ee35acb9d1987b
11,595
cpp
C++
s4_casa/main.cpp
code-mds/grafica
604a802bf32ce5245abf249a13cadb7eb32e1fd8
[ "MIT" ]
1
2020-02-23T09:48:25.000Z
2020-02-23T09:48:25.000Z
s4_casa/main.cpp
code-mds/grafica
604a802bf32ce5245abf249a13cadb7eb32e1fd8
[ "MIT" ]
null
null
null
s4_casa/main.cpp
code-mds/grafica
604a802bf32ce5245abf249a13cadb7eb32e1fd8
[ "MIT" ]
null
null
null
//glut_test.cpp #pragma clang diagnostic ignored "-Wdeprecated-declarations" #ifdef __APPLE__ // Headers richiesti da OSX #include <GL/glew.h> #include <GLUT/glut.h> #else // headers richiesti da Windows e linux #include <GL\glew.h> #include <GL\freeglut.h> #endif #include "draw_utils.h" #defi...
38.521595
113
0.508754
code-mds
561c1abb21a95704ddd42ede79cbef5a8d6bb6c3
8,368
cpp
C++
examples/depthnet/depthnet.cpp
jwkim386/Jetson_Inference
5aaba1c362b6cfca8475a41c15336dbfe03252fa
[ "MIT" ]
5,788
2016-08-22T09:09:46.000Z
2022-03-31T17:05:54.000Z
examples/depthnet/depthnet.cpp
jwkim386/Jetson_Inference
5aaba1c362b6cfca8475a41c15336dbfe03252fa
[ "MIT" ]
1,339
2016-08-15T08:51:10.000Z
2022-03-31T18:44:20.000Z
examples/depthnet/depthnet.cpp
jwkim386/Jetson_Inference
5aaba1c362b6cfca8475a41c15336dbfe03252fa
[ "MIT" ]
2,730
2016-08-23T11:04:26.000Z
2022-03-30T14:06:08.000Z
/* * Copyright (c) 2021, NVIDIA CORPORATION. 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...
29.568905
163
0.672204
jwkim386
561f922c3d574e6bcb611672f1e80b775df59000
310
cpp
C++
leetcode/168.cpp
Moonshile/MyAlgorithmCandy
e1ab006a5abe7d2749ae564ad2bffc4a628ed31b
[ "Apache-2.0" ]
2
2016-11-26T02:56:35.000Z
2019-06-17T04:09:02.000Z
leetcode/168.cpp
Moonshile/MyAlgorithmCandy
e1ab006a5abe7d2749ae564ad2bffc4a628ed31b
[ "Apache-2.0" ]
null
null
null
leetcode/168.cpp
Moonshile/MyAlgorithmCandy
e1ab006a5abe7d2749ae564ad2bffc4a628ed31b
[ "Apache-2.0" ]
3
2016-07-18T14:13:20.000Z
2019-06-17T04:08:32.000Z
class Solution { public: string convertToTitle(int n) { stringstream ss; do { n -= 1; ss << static_cast<char>(n%26 + 'A'); n /= 26; } while (n); string res = ss.str(); reverse(res.begin(), res.end()); return res; } };
20.666667
48
0.435484
Moonshile
561fd816353ace7a5952d7f6e20f9d364c0df184
2,363
hpp
C++
include/security_headers_middleware.hpp
hyche/bmcweb
ebc692c9d14b59ffea43f6a83d3fc1467fe09aff
[ "Apache-2.0" ]
null
null
null
include/security_headers_middleware.hpp
hyche/bmcweb
ebc692c9d14b59ffea43f6a83d3fc1467fe09aff
[ "Apache-2.0" ]
null
null
null
include/security_headers_middleware.hpp
hyche/bmcweb
ebc692c9d14b59ffea43f6a83d3fc1467fe09aff
[ "Apache-2.0" ]
null
null
null
#pragma once #include <crow/http_request.h> #include <crow/http_response.h> namespace crow { static const char* strictTransportSecurityKey = "Strict-Transport-Security"; static const char* strictTransportSecurityValue = "max-age=31536000; includeSubdomains; preload"; static const char* uaCompatabilityKey = "X-UA...
32.369863
80
0.697842
hyche
562082d638a08a7b526766b534c24e7f8c3bd751
2,736
cpp
C++
philibs/img/imgfactory.cpp
prwhite/philibs
3cb65bd0dae105026839a3e88d9cebafb72c2616
[ "Zlib" ]
5
2015-05-12T14:48:03.000Z
2021-07-14T13:18:16.000Z
philibs/img/imgfactory.cpp
prwhite/philibs
3cb65bd0dae105026839a3e88d9cebafb72c2616
[ "Zlib" ]
null
null
null
philibs/img/imgfactory.cpp
prwhite/philibs
3cb65bd0dae105026839a3e88d9cebafb72c2616
[ "Zlib" ]
1
2021-04-18T07:32:43.000Z
2021-04-18T07:32:43.000Z
///////////////////////////////////////////////////////////////////// // // class: factory // ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// #include "imgfactory.h" #include "pnisearchpath.h" #include "imgdds.h" #include "...
23.586207
96
0.580775
prwhite
5620b2073705b566ef3007c03797a8b9eeeec987
631
cpp
C++
aoj/Volume23/2312/solve.cpp
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
aoj/Volume23/2312/solve.cpp
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
aoj/Volume23/2312/solve.cpp
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include<algorithm> typedef long long ll; using namespace std; ll N,M,L,K[2001],sum[100001],dp[2001][2001]; ll func(ll l,ll r){ if(dp[l][r]>0)return dp[l][r]; ll n=max(l,r)+1; if(n==N)return (sum[K[n]]-sum[K[l]-1])/L+(sum[K[n]]-sum[K[r]-1])/L; ll lf=func(n,r)+(sum[K[n]...
15.390244
69
0.522979
tobyapi
56235951bd98c0b75c39babf30362b550366915f
88
cpp
C++
display_water_vehicle.cpp
citz73/battleship_game
1ed086c3a2bafe297725f07c32a2ba5945779977
[ "MIT" ]
null
null
null
display_water_vehicle.cpp
citz73/battleship_game
1ed086c3a2bafe297725f07c32a2ba5945779977
[ "MIT" ]
null
null
null
display_water_vehicle.cpp
citz73/battleship_game
1ed086c3a2bafe297725f07c32a2ba5945779977
[ "MIT" ]
null
null
null
#include "display_water_vehicle.h" display_water_vehicle::display_water_vehicle() { }
12.571429
46
0.806818
citz73
5625bdd8fe41ae25036baf2914048ca6aa9d75d7
1,457
cpp
C++
pus/Service9TimeManagement.cpp
bl4ckic3/fsfw
c76fc8c703e19d917c45a25710b4642e5923c68a
[ "Apache-2.0" ]
null
null
null
pus/Service9TimeManagement.cpp
bl4ckic3/fsfw
c76fc8c703e19d917c45a25710b4642e5923c68a
[ "Apache-2.0" ]
null
null
null
pus/Service9TimeManagement.cpp
bl4ckic3/fsfw
c76fc8c703e19d917c45a25710b4642e5923c68a
[ "Apache-2.0" ]
null
null
null
#include "Service9TimeManagement.h" #include "servicepackets/Service9Packets.h" #include "../timemanager/CCSDSTime.h" #include "../events/EventManagerIF.h" #include "../serviceinterface/ServiceInterfaceStream.h" Service9TimeManagement::Service9TimeManagement(object_id_t objectId, uint16_t apid, uint8_t serviceId) ...
24.694915
73
0.773507
bl4ckic3
56296f30b6ea852d654ad58454ab112417e7e3f9
11,736
hpp
C++
include/uzlmath_headers/fn_dwt.hpp
dmlux/UZLMathLib
7055c798dca6e6dc1ce0233b9ca539994feb4ade
[ "BSD-3-Clause" ]
null
null
null
include/uzlmath_headers/fn_dwt.hpp
dmlux/UZLMathLib
7055c798dca6e6dc1ce0233b9ca539994feb4ade
[ "BSD-3-Clause" ]
null
null
null
include/uzlmath_headers/fn_dwt.hpp
dmlux/UZLMathLib
7055c798dca6e6dc1ce0233b9ca539994feb4ade
[ "BSD-3-Clause" ]
null
null
null
// // fn_dwt.hpp // UZLMathLib // // Created by Denis-Michael Lux on 03.05.15. // // This software may be modified and distributed under the terms // of the BSD license. See the LICENSE file for details. // #ifndef UZLMathLib_fn_dwt_hpp #define UZLMathLib_fn_dwt_hpp UZLMATH_NAMESPACE(DWT) /*- For more infor...
35.349398
143
0.488156
dmlux
562e5c423a39646e8abd87e6da118261201b90e5
1,311
cpp
C++
CodeSignal/Arcade/Intro/58-messageFromBinaryCode.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
6
2018-11-26T02:38:07.000Z
2021-07-28T00:16:41.000Z
CodeSignal/Arcade/Intro/58-messageFromBinaryCode.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
1
2021-05-30T09:25:53.000Z
2021-06-05T08:33:56.000Z
CodeSignal/Arcade/Intro/58-messageFromBinaryCode.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
4
2020-04-16T07:15:01.000Z
2020-12-04T06:26:07.000Z
/*You are taking part in an Escape Room challenge designed specifically for programmers. In your efforts to find a clue, you've found a binary code written on the wall behind a vase, and realized that it must be an encrypted message. After some thought, your first guess is that each consecutive 8 bits of the code stand...
35.432432
382
0.727689
ravirathee
562eed95c503484ba4ceb04bff339f3592889390
18,094
cc
C++
third_party/5pt-6pt-Li-Hartley/polydet.cc
youruncleda/relative_pose
cb613f210a812e03754fbfc9c2e93d1f6fe4a265
[ "BSD-3-Clause" ]
21
2020-07-08T17:58:17.000Z
2022-02-28T03:58:37.000Z
matlab/basic_geometry/polydet.cc
leehsiu/SFRM
2d22a92ea737f0a03b949c7a7801bd56232b5717
[ "MIT" ]
null
null
null
matlab/basic_geometry/polydet.cc
leehsiu/SFRM
2d22a92ea737f0a03b949c7a7801bd56232b5717
[ "MIT" ]
5
2020-07-24T01:26:28.000Z
2020-10-13T13:32:48.000Z
// Copyright Richard Hartley, 2010 static const char *copyright = "Copyright Richard Hartley, 2010"; //-------------------------------------------------------------------------- // LICENSE INFORMATION // // 1. For academic/research users: // // This program is free for academic/research purpose: you can redistribut...
27.751534
80
0.525036
youruncleda
563227327b4aa00b9493a105a2cd7965dee1c65a
5,115
cpp
C++
example/clientlike/main.cpp
clodfront/jingke
ac6da9e73d7c69c7575267d2da52cdf6357e6dc9
[ "Apache-2.0" ]
6
2019-11-18T01:37:52.000Z
2021-07-31T14:19:10.000Z
example/clientlike/main.cpp
clodfront/jingke
ac6da9e73d7c69c7575267d2da52cdf6357e6dc9
[ "Apache-2.0" ]
null
null
null
example/clientlike/main.cpp
clodfront/jingke
ac6da9e73d7c69c7575267d2da52cdf6357e6dc9
[ "Apache-2.0" ]
1
2019-11-18T01:27:44.000Z
2019-11-18T01:27:44.000Z
// Project: jingke // File: main.cpp // Created: 11/2019 // Author: Goof // // Copyright 2019-2020 Goof // // 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...
23.571429
114
0.681134
clodfront
56331442fa99035ab7439b67bc60cb66a33b96c1
19,731
cpp
C++
src/scripting/backend/dynarrays.cpp
raa-eruanna/ProjectPanther
7d703c162b4ede25faa3e99cacacb4fc79fb77da
[ "RSA-MD" ]
2
2018-01-18T21:30:20.000Z
2018-01-19T02:24:46.000Z
src/scripting/backend/dynarrays.cpp
raa-eruanna/ProjectPanther
7d703c162b4ede25faa3e99cacacb4fc79fb77da
[ "RSA-MD" ]
null
null
null
src/scripting/backend/dynarrays.cpp
raa-eruanna/ProjectPanther
7d703c162b4ede25faa3e99cacacb4fc79fb77da
[ "RSA-MD" ]
null
null
null
/* ** dynarray.cpp ** ** internal data types for dynamic arrays ** **--------------------------------------------------------------------------- ** Copyright 2016-2017 Christoph Oelckers ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provi...
22.095185
127
0.746034
raa-eruanna
563395172803aab27f0e23d2dc544610981636a0
2,137
cpp
C++
modules/sdk/unit/simd/category_of.cpp
brycelelbach/nt2
73d7e8dd390fa4c8d251c6451acdae65def70e0b
[ "BSL-1.0" ]
1
2022-03-24T03:35:10.000Z
2022-03-24T03:35:10.000Z
modules/sdk/unit/simd/category_of.cpp
brycelelbach/nt2
73d7e8dd390fa4c8d251c6451acdae65def70e0b
[ "BSL-1.0" ]
null
null
null
modules/sdk/unit/simd/category_of.cpp
brycelelbach/nt2
73d7e8dd390fa4c8d251c6451acdae65def70e0b
[ "BSL-1.0" ]
null
null
null
/******************************************************************************* * Copyright 2003 & onward LASMEA UMR 6602 CNRS/Univ. Clermont II * Copyright 2009 & onward LRI UMR 8623 CNRS/Univ Paris Sud XI * * Distributed under the Boost Software License, Version 1.0. * ...
45.468085
88
0.582592
brycelelbach
56340e785d1e0dcecb183c96fc3029c33d72f47b
753
cpp
C++
engine/poker-lib/test-game-generator.cpp
torives/poker-updater-demo
0a7be9e53ab3bd973296ced0561bbbd1a9dd1493
[ "Apache-2.0" ]
12
2021-06-30T17:04:00.000Z
2022-03-11T18:34:51.000Z
engine/poker-lib/test-game-generator.cpp
torives/poker-updater-demo
0a7be9e53ab3bd973296ced0561bbbd1a9dd1493
[ "Apache-2.0" ]
9
2021-06-29T06:45:44.000Z
2022-02-11T23:26:13.000Z
engine/poker-lib/test-game-generator.cpp
torives/poker-updater-demo
0a7be9e53ab3bd973296ced0561bbbd1a9dd1493
[ "Apache-2.0" ]
1
2022-01-07T12:03:19.000Z
2022-01-07T12:03:19.000Z
#include <iostream> #include <sstream> #include <memory.h> #include <inttypes.h> #include "test-util.h" #include "poker-lib.h" #include "game-generator.h" #define TEST_SUITE_NAME "Test game generator" using namespace poker; void the_happy_path() { std::cout << "---- " TEST_SUITE_NAME << " - the_happy_path" << s...
25.1
78
0.671979
torives
5638143f1b535d49bc43a8a008499f6dafbb1a29
6,861
cpp
C++
PolyEngine/CzolgInvaders/Src/InvadersGame.cpp
MuniuDev/PolyEngine
9389537e4f551fa5dd621ebd3704e55b04c98792
[ "MIT" ]
1
2017-04-30T13:55:54.000Z
2017-04-30T13:55:54.000Z
PolyEngine/CzolgInvaders/Src/InvadersGame.cpp
MuniuDev/PolyEngine
9389537e4f551fa5dd621ebd3704e55b04c98792
[ "MIT" ]
null
null
null
PolyEngine/CzolgInvaders/Src/InvadersGame.cpp
MuniuDev/PolyEngine
9389537e4f551fa5dd621ebd3704e55b04c98792
[ "MIT" ]
3
2017-11-22T16:37:26.000Z
2019-04-24T17:47:58.000Z
#include "InvadersGame.hpp" #include <DeferredTaskSystem.hpp> #include <CameraComponent.hpp> #include <TransformComponent.hpp> #include <MeshRenderingComponent.hpp> #include <FreeFloatMovementComponent.hpp> #include <ScreenSpaceTextComponent.hpp> #include <Core.hpp> #include <DeferredTaskSystem.hpp> #include <Viewport...
54.452381
222
0.78181
MuniuDev
56397e3bac7cb82ef1f1643229888efe6f106eb5
2,161
cpp
C++
src/Main.cpp
muhopensores/dmc3-inputs-thing
2cb97f30c39bbe8d6bbe724f61d932a1fdaa1719
[ "MIT" ]
5
2021-06-09T23:53:28.000Z
2022-02-21T06:09:41.000Z
src/Main.cpp
muhopensores/dmc3-inputs-thing
2cb97f30c39bbe8d6bbe724f61d932a1fdaa1719
[ "MIT" ]
9
2021-06-09T23:52:43.000Z
2021-09-17T14:05:47.000Z
src/Main.cpp
muhopensores/dmc3-inputs-thing
2cb97f30c39bbe8d6bbe724f61d932a1fdaa1719
[ "MIT" ]
null
null
null
#include <thread> #include <chrono> #include <windows.h> #include "ModFramework.hpp" static HMODULE g_dinput; static HMODULE g_styleswitcher; #if 1 extern "C" { // DirectInput8Create wrapper for dinput8.dll __declspec(dllexport) HRESULT WINAPI direct_input8_create(HINSTANCE hinst, DWORD dw_version, const IID& riid...
30.871429
154
0.73577
muhopensores
5639c61e5f2394e34ff497af6f77389582a24b91
7,331
hpp
C++
include/r2p/Topic.hpp
r2p/Middleware
6438bdef16671482ecc1330679fa56439f916c61
[ "BSD-2-Clause" ]
1
2020-11-26T04:21:41.000Z
2020-11-26T04:21:41.000Z
include/r2p/Topic.hpp
r2p/Middleware
6438bdef16671482ecc1330679fa56439f916c61
[ "BSD-2-Clause" ]
null
null
null
include/r2p/Topic.hpp
r2p/Middleware
6438bdef16671482ecc1330679fa56439f916c61
[ "BSD-2-Clause" ]
1
2020-11-26T04:21:47.000Z
2020-11-26T04:21:47.000Z
#pragma once #include <r2p/common.hpp> #include <r2p/NamingTraits.hpp> #include <r2p/impl/MemoryPool_.hpp> #include <r2p/StaticList.hpp> #include <r2p/Time.hpp> namespace r2p { #if !defined(R2P_DEFAULT_FORWARDING) || defined(__DOXYGEN__) #define R2P_DEFAULT_FORWARDING_RULE R2P_USE_BRIDGE_MODE #endif class Mess...
19.343008
80
0.740554
r2p
563b9ce01f55c133a5e2a6ec6e24aa31d8bb83ce
6,932
cpp
C++
Source/DirectConnectionLibLink.cpp
NewBlueFX/DirectConnect
49482c8555695eee77eff0317d2d5689cea33ba7
[ "MIT" ]
null
null
null
Source/DirectConnectionLibLink.cpp
NewBlueFX/DirectConnect
49482c8555695eee77eff0317d2d5689cea33ba7
[ "MIT" ]
null
null
null
Source/DirectConnectionLibLink.cpp
NewBlueFX/DirectConnect
49482c8555695eee77eff0317d2d5689cea33ba7
[ "MIT" ]
null
null
null
// DirectConnectionLibLink.cpp /* MIT License Copyright (c) 2016,2018 NewBlue, Inc. <https://github.com/NewBlueFX> 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, i...
29.12605
112
0.723168
NewBlueFX
56414bebcab6e456a5fc0e6049e856756ce9648d
1,566
hpp
C++
src/Engine/Physics/Obb.hpp
DaftMat/Draft-Engine
395b22c454a4c198824b158dbe8778babb4e11c6
[ "MIT" ]
null
null
null
src/Engine/Physics/Obb.hpp
DaftMat/Draft-Engine
395b22c454a4c198824b158dbe8778babb4e11c6
[ "MIT" ]
null
null
null
src/Engine/Physics/Obb.hpp
DaftMat/Draft-Engine
395b22c454a4c198824b158dbe8778babb4e11c6
[ "MIT" ]
null
null
null
// // Created by mathis on 28/02/2020. // #ifndef DAFT_ENGINE_OBB_HPP #define DAFT_ENGINE_OBB_HPP #include <Eigen/Core> #include <Eigen/Geometry> #include <opengl_stuff.h> #include <Utils/types.hpp> #include <src/Utils/adapters.hpp> /** * Oriented Bounding Box. * A Bounding Box that rotate with the affiliated obj...
22.056338
71
0.599617
DaftMat
56417ce9c512e29badff2616b97c9e0dfcc42a62
41,912
hh
C++
schemelib/scheme/objective/hash/XformHash.hh
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
25
2019-07-23T01:03:48.000Z
2022-03-31T04:16:08.000Z
schemelib/scheme/objective/hash/XformHash.hh
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
13
2018-01-30T17:45:57.000Z
2022-03-28T11:02:44.000Z
schemelib/scheme/objective/hash/XformHash.hh
YaoYinYing/rifdock
cbde6bbeefd29a066273bdf2937cf36b0d2e6335
[ "Apache-2.0" ]
14
2018-02-08T01:42:28.000Z
2022-03-31T12:56:17.000Z
#ifndef INCLUDED_objective_hash_XformHash_HH #define INCLUDED_objective_hash_XformHash_HH #include "scheme/util/SimpleArray.hh" #include "scheme/util/dilated_int.hh" #include "scheme/nest/pmap/TetracontoctachoronMap.hh" #include "scheme/numeric/util.hh" #include "scheme/numeric/bcc_lattice.hh" #include <boost/utility...
37.45487
144
0.605292
YaoYinYing
5645417f6bc160fb11a7e02a0bfee4454aa1d402
19,920
cc
C++
src/rocksdb2/table/plain_table_reader.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
5
2019-01-23T04:36:03.000Z
2020-02-04T07:10:39.000Z
src/rocksdb2/table/plain_table_reader.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
null
null
null
src/rocksdb2/table/plain_table_reader.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
2
2019-05-14T07:26:59.000Z
2020-06-15T07:25:01.000Z
//此源码被清华学神尹成大魔王专业翻译分析并修改 //尹成QQ77025077 //尹成微信18510341407 //尹成所在QQ群721929980 //尹成邮箱 yinc13@mails.tsinghua.edu.cn //尹成毕业于清华大学,微软区块链领域全球最有价值专家 //https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 //版权所有(c)2011 LevelDB作者。版权所有。 //此源代码的使用受可以 //在许可证文件中找到。有关参与者的名称,请参阅作者文件。 #ifndef ROCKSDB_LITE #include "table/plain_tabl...
26.314399
129
0.642771
yinchengtsinghua
5646e0f01432b486fe168c43c2d60c41ed629dc8
178
cpp
C++
4.11.cpp
tompotter0/-
9e1ff2b035eb8769637762d3007e09bbd3fb7250
[ "MIT" ]
null
null
null
4.11.cpp
tompotter0/-
9e1ff2b035eb8769637762d3007e09bbd3fb7250
[ "MIT" ]
null
null
null
4.11.cpp
tompotter0/-
9e1ff2b035eb8769637762d3007e09bbd3fb7250
[ "MIT" ]
null
null
null
#include<iostream> int f(int x){ if (x == 1)return 1; return x*x + f(x - 1); } int main(){ int a; std::cin >> a; std::cout << f(a) << std::endl; return 0; }
12.714286
33
0.483146
tompotter0
564791367909c9a668d1623fb4a078e6d96d4f3f
64,079
cxx
C++
osprey/common/targ_info/generate/si_gen.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/common/targ_info/generate/si_gen.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/common/targ_info/generate/si_gen.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2010 Advanced Micro Devices, Inc. All Rights Reserved. */ /* * Copyright (C) 2007 PathScale, LLC. All Rights Reserved. */ /* * Copyright 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This progra...
30.881446
87
0.624932
sharugupta
564943190f12d12653b4f3dc33482834e54ace2e
24,450
cpp
C++
6502/tests.cpp
mavroskardia/6502
bc7a278ecc8b9f18e845240b014c6513df5e9e9e
[ "MIT" ]
1
2016-02-27T19:23:13.000Z
2016-02-27T19:23:13.000Z
6502/tests.cpp
mavroskardia/6502
bc7a278ecc8b9f18e845240b014c6513df5e9e9e
[ "MIT" ]
null
null
null
6502/tests.cpp
mavroskardia/6502
bc7a278ecc8b9f18e845240b014c6513df5e9e9e
[ "MIT" ]
null
null
null
#include "includes.h" string make_string(vector<unsigned char>&); // there are 150 opcode variations to implement, // some opcodes have implied, absolute, indirect, // immediate, and relative modes that I put into // different namespaces // 25 total implied opcodes - DONE namespace impl { void test_brk(Instruction&...
24.572864
119
0.629039
mavroskardia
5649774c3b69eb849339ef5da9eb2b98e9f8a049
499
hh
C++
game/flame.hh
Faerbit/Saxum
3b255142337e08988f2b4f1f56d6e061e8754336
[ "CC-BY-3.0", "CC-BY-4.0" ]
2
2015-03-12T16:19:10.000Z
2015-11-24T20:23:26.000Z
game/flame.hh
Faerbit/Saxum
3b255142337e08988f2b4f1f56d6e061e8754336
[ "CC-BY-3.0", "CC-BY-4.0" ]
15
2015-03-14T14:13:12.000Z
2015-06-02T18:39:55.000Z
game/flame.hh
Faerbit/Saxum
3b255142337e08988f2b4f1f56d6e061e8754336
[ "CC-BY-3.0", "CC-BY-4.0" ]
null
null
null
#pragma once #include "entity.hh" #include <ACGL/OpenGL/Objects.hh> using namespace ACGL::OpenGL; class Flame : public Entity { public: Flame(glm::vec3 position, glm::vec3 color, glm::vec3 size); Flame(); void render(SharedShaderProgram shader, glm::mat4 viewProjectionMatrix, f...
26.263158
79
0.649299
Faerbit
871c7e8e0f783429dd763ce113fb82da83c7ff50
1,462
hxx
C++
src/Installers/Windows/AspNetCoreModule-Setup/IIS-Setup/IIS-Common/Include/base64.hxx
legistek/AspNetCore
f8368097a909ba2618efbec5efa5e7e036d3a2e8
[ "Apache-2.0" ]
13,846
2020-01-07T21:33:57.000Z
2022-03-31T20:28:11.000Z
src/Installers/Windows/AspNetCoreModule-Setup/IIS-Setup/IIS-Common/Include/base64.hxx
legistek/AspNetCore
f8368097a909ba2618efbec5efa5e7e036d3a2e8
[ "Apache-2.0" ]
20,858
2020-01-07T21:28:23.000Z
2022-03-31T23:51:40.000Z
src/Installers/Windows/AspNetCoreModule-Setup/IIS-Setup/IIS-Common/Include/base64.hxx
legistek/AspNetCore
f8368097a909ba2618efbec5efa5e7e036d3a2e8
[ "Apache-2.0" ]
4,871
2020-01-07T21:27:37.000Z
2022-03-31T21:22:44.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. #ifndef _BASE64_HXX_ #define _BASE64_HXX_ DWORD Base64Encode( __in_bcount( cbDecodedBufferSize ) VOID * pDecodedBuffer, IN DWORD cbDecodedBufferSize, __out_ecount_opt( cchEn...
34
69
0.522572
legistek
871cda5ce2cc19e20b167f28215c3f7c9c6b4a99
1,528
cpp
C++
Past Papers/2020 Assignment 01/THUSHARA/Train/Sol-2-Train - Thushara.cpp
GIHAA/Cpp-programming
0b094868652fd83f8dc4eb02c5abe3c3501bcdf1
[ "MIT" ]
19
2021-04-28T13:32:15.000Z
2022-03-08T11:52:59.000Z
Past Papers/2020 Assignment 01/THUSHARA/Train/Sol-2-Train - Thushara.cpp
GIHAA/Cpp-programming
0b094868652fd83f8dc4eb02c5abe3c3501bcdf1
[ "MIT" ]
5
2021-03-03T08:06:15.000Z
2021-12-26T18:14:45.000Z
Past Papers/2020 Assignment 01/THUSHARA/Train/Sol-2-Train - Thushara.cpp
GIHAA/Cpp-programming
0b094868652fd83f8dc4eb02c5abe3c3501bcdf1
[ "MIT" ]
27
2021-01-18T22:35:01.000Z
2022-02-22T19:52:19.000Z
// Using Char Arrays #include<iostream> #include<cstring> using namespace std; // You can put this code segment in Train.h file ----- class Train { private: int trainID; int capacity; char startTime[15]; char destination[10]; public: void setTrainDetails(int tID, int c...
25.466667
70
0.554319
GIHAA
871eb51ace4e94c3b6a2fa16d62c3e0e2464b1b0
2,105
cc
C++
src/network/connection_manager.cc
fon/flexran-rtc
27a955a0494597c6fd175f6b4d31b9eaac2b8dfd
[ "MIT" ]
1
2019-11-05T16:22:11.000Z
2019-11-05T16:22:11.000Z
src/network/connection_manager.cc
fon/flexran-rtc
27a955a0494597c6fd175f6b4d31b9eaac2b8dfd
[ "MIT" ]
null
null
null
src/network/connection_manager.cc
fon/flexran-rtc
27a955a0494597c6fd175f6b4d31b9eaac2b8dfd
[ "MIT" ]
3
2019-05-02T05:14:36.000Z
2021-06-15T12:40:52.000Z
/* The MIT License (MIT) Copyright (c) 2016 Xenofon Foukas 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...
36.929825
100
0.737292
fon
87227fe73c6eefada6b3f33ace19caa52b1edbdb
3,478
cpp
C++
scripts/urdf_scenes.cpp
psh117/motion_bench_maker
11ec8378a50595b27151da878517ada6642f10b5
[ "BSD-3-Clause" ]
19
2021-12-13T14:48:29.000Z
2022-03-11T03:24:17.000Z
scripts/urdf_scenes.cpp
psh117/motion_bench_maker
11ec8378a50595b27151da878517ada6642f10b5
[ "BSD-3-Clause" ]
1
2022-02-15T20:05:04.000Z
2022-02-15T20:05:04.000Z
scripts/urdf_scenes.cpp
psh117/motion_bench_maker
11ec8378a50595b27151da878517ada6642f10b5
[ "BSD-3-Clause" ]
1
2021-12-29T10:54:49.000Z
2021-12-29T10:54:49.000Z
/*Constantinos Chamzas */ #include <motion_bench_maker/parser.h> // Robowflex library #include <robowflex_library/util.h> #include <robowflex_library/yaml.h> #include <robowflex_library/io/visualization.h> #include <robowflex_library/io.h> #include <robowflex_library/scene.h> #include <robowflex_library/trajectory.h>...
37.804348
96
0.63226
psh117
87279e7bf5477f522845051e0f8fbcdda45ab3d4
6,804
cpp
C++
Algo/03/D.cpp
abel1502/mipt_3s
10efc85371e53a0780302763c409cde2158f81fc
[ "MIT" ]
2
2021-10-16T10:58:26.000Z
2021-12-22T22:18:37.000Z
Algo/03/D.cpp
abel1502/mipt_3s
10efc85371e53a0780302763c409cde2158f81fc
[ "MIT" ]
null
null
null
Algo/03/D.cpp
abel1502/mipt_3s
10efc85371e53a0780302763c409cde2158f81fc
[ "MIT" ]
null
null
null
#include <cstdlib> #include <cstdio> #include <cassert> #include <cstring> #include <vector> #include <string_view> #include <string> #include <iostream> #include <algorithm> #include <map> #include <new> #include <type_traits> #include <utility> #if 0 #define DBG(FMT, ...) \ printf("[%s#%d: " FMT "]\n", __FUNCTI...
24.12766
84
0.518519
abel1502
8728743f14f04e0c27b27cb967b9ffc0038bb4b8
7,824
cpp
C++
src/mayaToBase/src/mt@_common/mt@_mayaRenderer.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
42
2015-01-03T15:07:25.000Z
2021-12-09T03:56:59.000Z
src/mayaToBase/src/mt@_common/mt@_mayaRenderer.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
66
2015-01-02T13:28:44.000Z
2022-03-16T14:00:57.000Z
src/mayaToBase/src/mt@_common/mt@_mayaRenderer.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
12
2015-02-07T05:02:17.000Z
2020-07-10T17:21:44.000Z
#include "mt@_mayaRenderer.h" #include "utilities/logging.h" #include "utilities/tools.h" #include "utilities/attrTools.h" #include "world.h" #if MAYA_API_VERSION >= 201600 #include <vector> #include <maya/MPxRenderer.h> #include <maya/MGlobal.h> #define kNumChannels 4 float FLT_RAND() { return float(rand()) / RAN...
22.039437
106
0.702326
haggi
872aff7ad6c842e2f405062451ddabe647aef012
1,227
hpp
C++
Cores/Mednafen/mednafen-1.21/src/snes/src/lib/nall/stdint.hpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
3,459
2015-01-07T14:07:09.000Z
2022-03-25T03:51:10.000Z
Cores/Mednafen/mednafen-1.21/src/snes/src/lib/nall/stdint.hpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
1,046
2018-03-24T17:56:16.000Z
2022-03-23T08:13:09.000Z
Cores/Mednafen/mednafen-1.21/src/snes/src/lib/nall/stdint.hpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
549
2015-01-07T14:07:15.000Z
2022-01-07T16:13:05.000Z
#ifndef NALL_STDINT_HPP #define NALL_STDINT_HPP #include <nall/static.hpp> #if defined(_MSC_VER) typedef signed char int8_t; typedef signed short int16_t; typedef signed int int32_t; typedef signed long long int64_t; typedef int64_t intmax_t; #if defined(_WIN64) typedef int64_t intptr_t; #else typed...
27.266667
67
0.766911
werminghoff
8730f9e62be3c0b02dccd24f2b8c770f1db502d1
2,818
cpp
C++
pkg/pillar/vendor/github.com/anatol/smart.go/nvme_darwin.cpp
wahello/eve
fffc58c0a504ea26e1ad8b57832e205b8a390231
[ "Apache-2.0" ]
86
2022-02-09T17:30:43.000Z
2022-03-30T12:43:21.000Z
pkg/pillar/vendor/github.com/anatol/smart.go/nvme_darwin.cpp
wahello/eve
fffc58c0a504ea26e1ad8b57832e205b8a390231
[ "Apache-2.0" ]
3
2022-02-10T00:01:31.000Z
2022-02-19T01:18:13.000Z
pkg/pillar/vendor/github.com/anatol/smart.go/nvme_darwin.cpp
wahello/eve
fffc58c0a504ea26e1ad8b57832e205b8a390231
[ "Apache-2.0" ]
5
2022-02-09T23:44:27.000Z
2022-03-30T12:43:39.000Z
// SPDX-License-Identifier: MIT #include "nvme_darwin.h" #include <CoreFoundation/CoreFoundation.h> #include <IOKit/IOCFPlugIn.h> #include <IOKit/IOKitLib.h> #include <IOKit/storage/nvme/NVMeSMARTLibExternal.h> #include <stdlib.h> struct smart_nvme_darwin { IONVMeSMARTInterface **smartIfNVMe; IOCFPlugInInterface ...
29.051546
130
0.741306
wahello
873646b8790f0941bf1ce610a1e5870593d719ac
602
cpp
C++
ModelViewer/UniformColorMap_Abaqus.cpp
COFS-UWA/MPM3D
1a0c5dc4e92dff3855367846002336ca5a18d124
[ "MIT" ]
null
null
null
ModelViewer/UniformColorMap_Abaqus.cpp
COFS-UWA/MPM3D
1a0c5dc4e92dff3855367846002336ca5a18d124
[ "MIT" ]
2
2020-10-19T02:03:11.000Z
2021-03-19T16:34:39.000Z
ModelViewer/UniformColorMap_Abaqus.cpp
COFS-UWA/MPM3D
1a0c5dc4e92dff3855367846002336ca5a18d124
[ "MIT" ]
1
2020-04-28T00:33:14.000Z
2020-04-28T00:33:14.000Z
#include "ModelViewer_pcp.h" #include "UniformColorMap_Abaqus.h" UniformColorMap_Abaqus::UniformColorMap_Abaqus() { unsigned char abaqus_color_map[][3] = { { 0, 0, 255 }, { 0, 93, 255 }, { 0, 185, 255 }, { 0, 255, 232 }, { 0, 255, 139 }, { 0, 255, 46 }, { 46, 255, 0 }, { 139, 255, ...
22.296296
82
0.58804
COFS-UWA
873ff515bbef697598acb4f7c9defed11472eb93
273
cpp
C++
Some_cpp_sols/A1467.cpp
Darknez07/Codeforces-sol
afd926c197f43784c12220430bb3c06011bb185e
[ "MIT" ]
null
null
null
Some_cpp_sols/A1467.cpp
Darknez07/Codeforces-sol
afd926c197f43784c12220430bb3c06011bb185e
[ "MIT" ]
null
null
null
Some_cpp_sols/A1467.cpp
Darknez07/Codeforces-sol
afd926c197f43784c12220430bb3c06011bb185e
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ int t,n,counter;cin>>t;while(t--){cin>>n;counter=0;for(int i=0;i<n;i++){if(i == 2 || i == 0){cout<<9;}if(i == 1){cout<<8;}if(i > 2){cout<<counter;counter = counter == 9 ? 0: counter + 1;}}cout<<"\n";} return 0; }
45.5
204
0.567766
Darknez07
8740058b7482430fa785a8635f2de62be14297d1
360
cc
C++
example/main.cc
baotiao/picdb
ca3d92f721796abb0620fdc7045465dd54ac6037
[ "MIT" ]
1
2016-09-13T09:18:06.000Z
2016-09-13T09:18:06.000Z
example/main.cc
baotiao/picdb
ca3d92f721796abb0620fdc7045465dd54ac6037
[ "MIT" ]
null
null
null
example/main.cc
baotiao/picdb
ca3d92f721796abb0620fdc7045465dd54ac6037
[ "MIT" ]
null
null
null
#include <stdio.h> #include <unistd.h> #include <linux/falloc.h> #include <fcntl.h> #include "xdebug.h" #include "include/db.h" #include "output/include/options.h" int main() { bitcask::Options op; bitcask::DB *db; db = NULL; bitcask::DB::Open(op, "./db", &db); // bitcask::WriteOptions wop; // db->P...
13.846154
37
0.613889
baotiao
87403295a119177bfdc6a356c9e15263d14c8b57
919
cpp
C++
image.ContourDetector/src/contour_detector.cpp
LALMAN2000/bnosa
d37e869c724736133b0ac1513a366817bb2dc5c1
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
243
2017-02-28T08:52:35.000Z
2022-03-10T16:54:48.000Z
image.ContourDetector/src/contour_detector.cpp
LALMAN2000/bnosa
d37e869c724736133b0ac1513a366817bb2dc5c1
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
25
2017-07-07T20:39:47.000Z
2022-03-15T11:38:14.000Z
image.ContourDetector/src/contour_detector.cpp
LALMAN2000/bnosa
d37e869c724736133b0ac1513a366817bb2dc5c1
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
59
2017-04-05T15:39:19.000Z
2021-11-08T13:49:08.000Z
#include <Rcpp.h> using namespace Rcpp; extern "C" { #include "smooth_contours.h" } // [[Rcpp::export]] List detect_contours(NumericVector image, int X, int Y, double Q = 2.0) { double * x; /* x[n] y[n] coordinates of result contour point n */ double * y; int * curve_limits; /* limits of the curves in...
27.848485
76
0.594124
LALMAN2000
8740dcda21663621496f7e9b256f762abe5015d3
3,211
cc
C++
DataFormats/MuonDetId/test/testRPCCompDetId.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DataFormats/MuonDetId/test/testRPCCompDetId.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DataFormats/MuonDetId/test/testRPCCompDetId.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
/** \file test file for RPCCompDetId \author Stefano ARGIRO \date 27 Jul 2005 */ #include <cppunit/extensions/HelperMacros.h> #include <DataFormats/MuonDetId/interface/RPCCompDetId.h> #include <FWCore/Utilities/interface/Exception.h> #include <iostream> using namespace std; class testRPCCompDetId : publ...
34.159574
120
0.670196
ckamtsikis
874325ee04d2502492e247783c225fcbc6a4403e
3,369
hpp
C++
gears/meta/core.hpp
Rapptz/Gears
ce65bf135057939c19710286f772a874504efeb4
[ "MIT" ]
16
2015-01-18T13:40:22.000Z
2021-11-08T11:52:35.000Z
gears/meta/core.hpp
Rapptz/Gears
ce65bf135057939c19710286f772a874504efeb4
[ "MIT" ]
3
2015-01-17T01:23:26.000Z
2015-03-30T22:30:01.000Z
gears/meta/core.hpp
Rapptz/Gears
ce65bf135057939c19710286f772a874504efeb4
[ "MIT" ]
3
2017-10-21T05:42:58.000Z
2021-06-07T18:04:40.000Z
// The MIT License (MIT) // Copyright (c) 2012-2014 Danny Y., Rapptz // 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 // us...
26.320313
122
0.721282
Rapptz
8747ea64e5078cadc82e49c525d94acc7a012438
12,264
hpp
C++
include/VROSC/GarbageManager.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/VROSC/GarbageManager.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/VROSC/GarbageManager.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// 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: UnityEngine.MonoBehaviour #include ...
51.746835
184
0.740868
RedBrumbler