hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
11e89ae4be449dc35bba4162b7bcf602238a19b9
1,469
cpp
C++
Libraries/LibC/mman.cpp
ZKing1000/serenity
cc68654a44be00deb5edf3b2d2319a663012f015
[ "BSD-2-Clause" ]
3
2019-09-22T11:38:04.000Z
2020-01-21T19:09:27.000Z
Libraries/LibC/mman.cpp
ZKing1000/serenity
cc68654a44be00deb5edf3b2d2319a663012f015
[ "BSD-2-Clause" ]
8
2019-08-25T12:52:40.000Z
2019-09-08T14:46:11.000Z
Libraries/LibC/mman.cpp
ZKing1000/serenity
cc68654a44be00deb5edf3b2d2319a663012f015
[ "BSD-2-Clause" ]
1
2021-08-03T13:04:49.000Z
2021-08-03T13:04:49.000Z
#include <Kernel/Syscall.h> #include <errno.h> #include <mman.h> #include <stdio.h> extern "C" { void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { Syscall::SC_mmap_params params { (u32)addr, size, prot, flags, fd, offset, nullptr }; int rc = syscall(SC_mmap, &params); if (rc...
24.483333
106
0.632403
ZKing1000
11f3cbe46634b80efade80446aa4ed7b5742fe26
8,136
hpp
C++
include/dca/io/hdf5/hdf5_reader.hpp
gonidelis/DCA
b219350a335b96c85b74de9a88bd00d4f37f0ce2
[ "BSD-3-Clause" ]
null
null
null
include/dca/io/hdf5/hdf5_reader.hpp
gonidelis/DCA
b219350a335b96c85b74de9a88bd00d4f37f0ce2
[ "BSD-3-Clause" ]
11
2020-04-22T14:50:27.000Z
2021-09-10T05:43:51.000Z
include/dca/io/hdf5/hdf5_reader.hpp
weilewei/DCA
b219350a335b96c85b74de9a88bd00d4f37f0ce2
[ "BSD-3-Clause" ]
1
2019-09-22T16:33:19.000Z
2019-09-22T16:33:19.000Z
// Copyright (C) 2018 ETH Zurich // Copyright (C) 2018 UT-Battelle, LLC // All rights reserved. // // See LICENSE for terms of usage. // See CITATION.md for citation guidelines, if DCA++ is used for scientific publications. // // Author: Peter Staar ([email protected]) // // HDF5 reader. #ifndef DCA_IO_HDF5_HDF5_READ...
28.055172
101
0.678343
gonidelis
11f72ce0b197f74c326bdb0e5b8762a804b43bbb
27
cpp
C++
lib/STD/Ostream.cpp
hlp2/EnjoLib
6bb69d0b00e367a800b0ef2804808fd1303648f4
[ "BSD-3-Clause" ]
3
2021-06-14T15:36:46.000Z
2022-02-28T15:16:08.000Z
lib/STD/Ostream.cpp
hlp2/EnjoLib
6bb69d0b00e367a800b0ef2804808fd1303648f4
[ "BSD-3-Clause" ]
1
2021-07-17T07:52:15.000Z
2021-07-17T07:52:15.000Z
lib/STD/Ostream.cpp
hlp2/EnjoLib
6bb69d0b00e367a800b0ef2804808fd1303648f4
[ "BSD-3-Clause" ]
3
2021-07-12T14:52:38.000Z
2021-11-28T17:10:33.000Z
#include <STD/Ostream.hpp>
13.5
26
0.740741
hlp2
11fe3791e770cdf9ea0e90baba1f10810b5b35bc
23,298
cpp
C++
src/Solver/SolverNonLinear.cpp
chalmersplasmatheory/DREAM
715637ada94f5e35db16f23c2fd49bb7401f4a27
[ "MIT" ]
12
2020-09-07T11:19:10.000Z
2022-02-17T17:40:19.000Z
src/Solver/SolverNonLinear.cpp
chalmersplasmatheory/DREAM
715637ada94f5e35db16f23c2fd49bb7401f4a27
[ "MIT" ]
110
2020-09-02T15:29:24.000Z
2022-03-09T09:50:01.000Z
src/Solver/SolverNonLinear.cpp
chalmersplasmatheory/DREAM
715637ada94f5e35db16f23c2fd49bb7401f4a27
[ "MIT" ]
3
2021-05-21T13:24:31.000Z
2022-02-11T14:43:12.000Z
/** * Implementation of a custom Newton solver which only utilizes * the linear solvers of PETSc. */ #include <iostream> #include <string> #include <vector> #include "DREAM/IO.hpp" #include "DREAM/OutputGeneratorSFile.hpp" #include "DREAM/Solver/SolverNonLinear.hpp" using namespace DREAM; using namespace std; /...
32.72191
204
0.671646
chalmersplasmatheory
f5034e6203be2938ccfe99db5b1475da39f48d1c
10,595
cpp
C++
QtMainWindow.cpp
nvoronin1337/Qt-Database-Management-System
07ab5796f61eb95a90fef7c6e15d3048ae4549d5
[ "MIT" ]
null
null
null
QtMainWindow.cpp
nvoronin1337/Qt-Database-Management-System
07ab5796f61eb95a90fef7c6e15d3048ae4549d5
[ "MIT" ]
null
null
null
QtMainWindow.cpp
nvoronin1337/Qt-Database-Management-System
07ab5796f61eb95a90fef7c6e15d3048ae4549d5
[ "MIT" ]
null
null
null
#include "QtMainWindow.h" QtMainWindow::QtMainWindow(const std::string username, QWidget* parent) : QMainWindow(parent) { setupUi(this); this->username = username; this->user = new GuiUser(username); std::string fileName = username + "_form_gui.txt"; std::string title = "Data Hive | User: " + user...
32.400612
160
0.695422
nvoronin1337
f5045c748160ad1a6302eed469cc2b9f98bc8aeb
228
cpp
C++
src/matlab.cpp
git-steb/structural-deformable-models
4706a65e0dc031d16e259e526fd6a55e805855d1
[ "MIT" ]
2
2017-03-01T20:07:09.000Z
2020-07-12T11:02:21.000Z
src/matlab.cpp
git-steb/structural-deformable-models
4706a65e0dc031d16e259e526fd6a55e805855d1
[ "MIT" ]
null
null
null
src/matlab.cpp
git-steb/structural-deformable-models
4706a65e0dc031d16e259e526fd6a55e805855d1
[ "MIT" ]
null
null
null
#include <stdlib.h> #include "common.h" #include "matlab.h" static string matlabprog = "matlab -nojvw -nosplash -nodesktop -r "; int matlabCall(const std::string& cmd) { return system((matlabprog+cmd+", exit").c_str()); }
20.727273
68
0.688596
git-steb
f505bb79f1133b578d55b81df8ad29303067731f
3,325
cpp
C++
components/scream/src/physics/p3/tests/p3_ni_conservation_tests.cpp
mauzey1/scream
d12eb1b13039a09d9c031236af74e04262066bfc
[ "zlib-acknowledgement", "RSA-MD", "FTL" ]
null
null
null
components/scream/src/physics/p3/tests/p3_ni_conservation_tests.cpp
mauzey1/scream
d12eb1b13039a09d9c031236af74e04262066bfc
[ "zlib-acknowledgement", "RSA-MD", "FTL" ]
null
null
null
components/scream/src/physics/p3/tests/p3_ni_conservation_tests.cpp
mauzey1/scream
d12eb1b13039a09d9c031236af74e04262066bfc
[ "zlib-acknowledgement", "RSA-MD", "FTL" ]
null
null
null
#include "catch2/catch.hpp" #include "share/scream_types.hpp" #include "ekat/ekat_pack.hpp" #include "ekat/kokkos/ekat_kokkos_utils.hpp" #include "physics/p3/p3_functions.hpp" #include "physics/p3/p3_functions_f90.hpp" #include "p3_unit_tests_common.hpp" namespace scream { namespace p3 { namespace unit_test { templ...
33.928571
178
0.704662
mauzey1
f50c0a94e46967a99ecb3936474a09e047e75c0d
826
cpp
C++
summary-ranges/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
summary-ranges/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
summary-ranges/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
class Solution { protected: string yieldRange(int begin, int end) { if (begin == end) { return to_string(begin); } return to_string(begin) + "->" + to_string(end); } public: vector<string> summaryRanges(vector<int>& nums) { const int n = nums.size(); vector<string> r...
21.179487
55
0.493947
tsenmu
f50f03ccfa9b71427ab0430e3de9159602a849f4
423
cpp
C++
tests/testsmain.cpp
k9lego/huestacean
e72b43b66cc3b6b58554fa49ac207ad9f945c3fb
[ "Apache-2.0" ]
540
2018-02-16T15:15:43.000Z
2022-03-01T22:35:18.000Z
tests/testsmain.cpp
k9lego/huestacean
e72b43b66cc3b6b58554fa49ac207ad9f945c3fb
[ "Apache-2.0" ]
153
2018-02-19T13:33:14.000Z
2022-02-26T04:57:10.000Z
tests/testsmain.cpp
k9lego/huestacean
e72b43b66cc3b6b58554fa49ac207ad9f945c3fb
[ "Apache-2.0" ]
66
2018-03-17T10:54:54.000Z
2022-02-16T16:20:46.000Z
#define CATCH_CONFIG_RUNNER #include "catch/catch.hpp" #include <QCoreApplication> int main(int argc, char* argv[]) { QCoreApplication a(argc, argv); QCoreApplication::setOrganizationName("Brady Brenot"); QCoreApplication::setOrganizationDomain("bradybrenot.com"); QCoreApplication::setApplicationName("Huestacea...
22.263158
60
0.751773
k9lego
f5112da53a614a87c972b3056dee8ff3b0850e52
2,957
hpp
C++
include/codegen/include/UnityEngine/EventSystems/OVRPhysicsRaycaster_--c.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/EventSystems/OVRPhysicsRaycaster_--c.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/EventSystems/OVRPhysicsRaycaster_--c.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:06 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" // Including type...
50.118644
132
0.735543
Futuremappermydud
f511311f7559c4372d7dd7dca01bd935d8d911ca
1,069
hpp
C++
lib/inc/facter/facts/windows/dmi_resolver.hpp
whopper/cfacter
f489f62e19a161e2d909199aebd896e323dac0e8
[ "Apache-2.0" ]
null
null
null
lib/inc/facter/facts/windows/dmi_resolver.hpp
whopper/cfacter
f489f62e19a161e2d909199aebd896e323dac0e8
[ "Apache-2.0" ]
null
null
null
lib/inc/facter/facts/windows/dmi_resolver.hpp
whopper/cfacter
f489f62e19a161e2d909199aebd896e323dac0e8
[ "Apache-2.0" ]
null
null
null
/** * @file * Declares the Windows Desktop Management Information (DMI) fact resolver. */ #pragma once #include "../resolvers/dmi_resolver.hpp" #include <facter/util/windows/wmi.hpp> #include <string> #include <memory> namespace facter { namespace facts { namespace windows { /** * Responsible for resolvi...
27.410256
108
0.634238
whopper
f511d895d75af332b9ef48f66861792b00977e63
6,078
hpp
C++
communication/include/communication/CommDefs.hpp
irisk29/concord-bft
daf6a4a156fa2e9107f65de6ec6a26c39cd99796
[ "Apache-2.0" ]
null
null
null
communication/include/communication/CommDefs.hpp
irisk29/concord-bft
daf6a4a156fa2e9107f65de6ec6a26c39cd99796
[ "Apache-2.0" ]
null
null
null
communication/include/communication/CommDefs.hpp
irisk29/concord-bft
daf6a4a156fa2e9107f65de6ec6a26c39cd99796
[ "Apache-2.0" ]
null
null
null
// Concord // // Copyright (c) 2018-2020 VMware, Inc. All Rights Reserved. // // This product is licensed to you under the Apache 2.0 license (the "License"). // You may not use this product except in compliance with the Apache 2.0 License. // // This product may include a number of subcomponents with separate copyrigh...
30.69697
116
0.699737
irisk29
f512db47e285be6ddab66ee5372e8d187e73778a
1,251
hpp
C++
include/pstore/http/http_date.hpp
paulhuggett/pstore2
a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c
[ "Apache-2.0" ]
11
2018-02-02T21:24:49.000Z
2020-12-11T04:06:03.000Z
include/pstore/http/http_date.hpp
SNSystems/pstore
74e9dd960245d6bfc125af03ed964d8ad660a62d
[ "Apache-2.0" ]
63
2018-02-05T17:24:59.000Z
2022-03-22T17:26:28.000Z
include/pstore/http/http_date.hpp
paulhuggett/pstore
067be94d87c87fce524c8d76c6f47c347d8f1853
[ "Apache-2.0" ]
5
2020-01-13T22:47:11.000Z
2021-05-14T09:31:15.000Z
//===- include/pstore/http/http_date.hpp ------------------*- mode: C++ -*-===// //* _ _ _ _ _ * //* | |__ | |_| |_ _ __ __| | __ _| |_ ___ * //* | '_ \| __| __| '_ \ / _` |/ _` | __/ _ \ * //* | | | | |_| |_| |_) | | (_| | (_| | || __/ * //* |_| |_|\__|\__| .__/ \__,_|\__,_|...
35.742857
82
0.489209
paulhuggett
f513e4ca1c2b159ea29dd107a50d782fc2c2ca51
7,446
cpp
C++
src/qpsolver/basis.cpp
WTFHCN/HiGHS
6cec473fc821bca0d98517a11691da8b5e1b0e51
[ "MIT" ]
null
null
null
src/qpsolver/basis.cpp
WTFHCN/HiGHS
6cec473fc821bca0d98517a11691da8b5e1b0e51
[ "MIT" ]
null
null
null
src/qpsolver/basis.cpp
WTFHCN/HiGHS
6cec473fc821bca0d98517a11691da8b5e1b0e51
[ "MIT" ]
null
null
null
#include "basis.hpp" #include <cassert> #include <memory> Basis::Basis(Runtime& rt, std::vector<HighsInt> active, std::vector<BasisStatus> lower, std::vector<HighsInt> inactive) : runtime(rt), buffer_column_aq(rt.instance.num_var), buffer_row_ep(rt.instance.num_var) { for (HighsInt i = ...
30.145749
80
0.668278
WTFHCN
f514f43dfc4e379bd2576de01936369eed88d2a8
14,357
hpp
C++
src/3rd party/boost/boost/multi_array/view.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
8
2016-01-25T20:18:51.000Z
2019-03-06T07:00:04.000Z
src/3rd party/boost/boost/multi_array/view.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
null
null
null
src/3rd party/boost/boost/multi_array/view.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
3
2016-02-14T01:20:43.000Z
2021-02-03T11:19:11.000Z
// Copyright (C) 2002 Ronald Garcia // // Permission to copy, use, sell and distribute this software is granted // provided this copyright notice appears in all copies. // Permission to modify the code and to distribute modified code is granted // provided this copyright notice appears in all copies, and a notice // ...
31.415755
82
0.667479
OLR-xray
f51532f2627acb7402af27d8983ef8707db01a97
1,689
cpp
C++
src/service/ClockService.cpp
NoUITeam/TinyAndPretty
06cb20f1a2381fc2196674255a00fcba416ce830
[ "Apache-2.0" ]
null
null
null
src/service/ClockService.cpp
NoUITeam/TinyAndPretty
06cb20f1a2381fc2196674255a00fcba416ce830
[ "Apache-2.0" ]
null
null
null
src/service/ClockService.cpp
NoUITeam/TinyAndPretty
06cb20f1a2381fc2196674255a00fcba416ce830
[ "Apache-2.0" ]
2
2022-03-10T18:14:02.000Z
2022-03-14T15:39:59.000Z
#include <service/ClockSys.h> using namespace UTILSTD; def_HttpEntry(API_Clock , req) { Json j; // used for response std::string_view action { req.queryParam("action") }; CONSOLE_LOG(true,"* api/clock called [action:%s]\n",action.data()); /* Start listening server broadcast Notification */ if (action == "c") {...
25.984615
68
0.6045
NoUITeam
f5168440a7bd50be36b6b0bbf912797204c8893a
5,934
hpp
C++
Source/AllProjects/CQCVoice/CQCVoice_BTSimpleCmdNodes.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/CQCVoice/CQCVoice_BTSimpleCmdNodes.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/CQCVoice/CQCVoice_BTSimpleCmdNodes.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: CQCVoice_BTSimpleCmdNodes_.hpp // // AUTHOR: Dean Roddey // // CREATED: 01/08/2017 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // http...
32.966667
87
0.34058
MarkStega
f518590f0e1db5be786d907b41df8b96a8d5605c
2,750
cpp
C++
pkg/Bfdp/source/Data/Tristate.cpp
dpkristensen/bfdm
1fdbdb89263b35b5ecd3bd7e24bce700910b38f9
[ "BSD-3-Clause" ]
1
2018-07-27T17:20:59.000Z
2018-07-27T17:20:59.000Z
pkg/Bfdp/source/Data/Tristate.cpp
dpkristensen/bfdm
1fdbdb89263b35b5ecd3bd7e24bce700910b38f9
[ "BSD-3-Clause" ]
10
2018-07-28T03:21:05.000Z
2019-02-21T07:09:36.000Z
pkg/Bfdp/source/Data/Tristate.cpp
dpkristensen/bfdm
1fdbdb89263b35b5ecd3bd7e24bce700910b38f9
[ "BSD-3-Clause" ]
null
null
null
/** BFDP Data Tristate Definitions Copyright 2019, Daniel Kristensen, Garmin Ltd, or its subsidiaries. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of sourc...
29.569892
82
0.634182
dpkristensen
f51e18bedf148255e1eb544065f306899995a03b
3,092
cpp
C++
data-server/src/raft/test/cluster_test.cpp
13meimei/sharkstore
b73fd09e8cddf78fc1f690219529770b278b35b6
[ "Apache-2.0" ]
1
2019-09-11T06:16:42.000Z
2019-09-11T06:16:42.000Z
data-server/src/raft/test/cluster_test.cpp
gengdaomi/sharkstore
1b490176846d2da98ceca07a69b6c35646567a28
[ "Apache-2.0" ]
null
null
null
data-server/src/raft/test/cluster_test.cpp
gengdaomi/sharkstore
1b490176846d2da98ceca07a69b6c35646567a28
[ "Apache-2.0" ]
1
2021-09-03T10:35:21.000Z
2021-09-03T10:35:21.000Z
#include <unistd.h> #include <cassert> #include <iostream> #include <thread> #include <functional> #include "number_statemachine.h" #include "raft/raft.h" #include "raft/server.h" using namespace sharkstore; using namespace sharkstore::raft; static const size_t kNodeNum = 5; std::condition_variable g_cv; std::mutex...
22.903704
74
0.564683
13meimei
f51e1cb8dbaada4e3325782c731168f8e4f5c5a6
18,398
cpp
C++
src/platform/Linux/ThreadStackManagerImpl.cpp
tima-q/connectedhomeip
bfdbd458d86f6905b85fe7ff5c632c85d21bc010
[ "Apache-2.0" ]
3
2021-03-01T21:37:15.000Z
2021-05-14T08:55:13.000Z
src/platform/Linux/ThreadStackManagerImpl.cpp
cser2016/connectedhomeip
55349a53c8dab9a7aaff138c8bc19a52e2df9c40
[ "Apache-2.0" ]
153
2021-01-27T08:12:04.000Z
2022-02-22T14:58:29.000Z
src/platform/Linux/ThreadStackManagerImpl.cpp
cser2016/connectedhomeip
55349a53c8dab9a7aaff138c8bc19a52e2df9c40
[ "Apache-2.0" ]
5
2021-01-19T15:34:29.000Z
2021-02-17T12:16:18.000Z
/* * * Copyright (c) 2020 Project CHIP Authors * * 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 requir...
35.863548
130
0.689368
tima-q
f51ee1c4562b4b3b9cc983fa40bb9d60f5066b76
530
cpp
C++
ffplay/app/src/main/cpp/play.cpp
chemoontheshy/kotlin
f11c06d8fe29c381cd2cb7ce15134662577cd4f9
[ "Apache-2.0" ]
null
null
null
ffplay/app/src/main/cpp/play.cpp
chemoontheshy/kotlin
f11c06d8fe29c381cd2cb7ce15134662577cd4f9
[ "Apache-2.0" ]
null
null
null
ffplay/app/src/main/cpp/play.cpp
chemoontheshy/kotlin
f11c06d8fe29c381cd2cb7ce15134662577cd4f9
[ "Apache-2.0" ]
null
null
null
// // Created by Administrator on 2021/3/3. // #include <jni.h> extern "C" { #include "include/libavcodec/avcodec.h" #include "include/libavfilter/avfilter.h" #include "include/libavformat/avformat.h" #include "include/libavutil/avutil.h" #include "include/libswresample/swresample.h" #include "include/libswscale/swsca...
26.5
57
0.74717
chemoontheshy
f52083daf1718e5fe458f67edd515671d75eda52
1,226
hpp
C++
cpp_module_04/ex02/Brain.hpp
anolivei/cpp_piscine42
d33bfccd38ed62d393920601f7449b74836c5219
[ "MIT" ]
1
2022-01-27T02:32:39.000Z
2022-01-27T02:32:39.000Z
cpp_module_04/ex02/Brain.hpp
anolivei/cpp_piscine42
d33bfccd38ed62d393920601f7449b74836c5219
[ "MIT" ]
null
null
null
cpp_module_04/ex02/Brain.hpp
anolivei/cpp_piscine42
d33bfccd38ed62d393920601f7449b74836c5219
[ "MIT" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Brain.hpp :+: :+: :+: ...
34.055556
80
0.272431
anolivei
f524f836aa3e336a3f7beeb98ec2d7451dae061d
1,017
cpp
C++
src/CommandLineOpts.cpp
schwarzschild-radius/spmdfy
9b5543e3446347277f15b9fe2aee3c7f8311bc78
[ "MIT" ]
6
2019-07-26T12:37:32.000Z
2021-03-13T06:18:07.000Z
src/CommandLineOpts.cpp
schwarzschild-radius/spmdfy
9b5543e3446347277f15b9fe2aee3c7f8311bc78
[ "MIT" ]
6
2019-06-19T06:04:01.000Z
2019-08-23T11:12:31.000Z
src/CommandLineOpts.cpp
schwarzschild-radius/spmdfy
9b5543e3446347277f15b9fe2aee3c7f8311bc78
[ "MIT" ]
1
2020-05-28T06:43:12.000Z
2020-05-28T06:43:12.000Z
#include <spmdfy/CommandLineOpts.hpp> llvm::cl::OptionCategory spmdfy_options("spmdfy"); llvm::cl::opt<std::string> output_filename("o", llvm::cl::desc("Specify Ouput Filename"), llvm::cl::value_desc("filename"), llvm::cl::cat(spmdfy_options)); llvm::cl::opt<bool> verb...
36.321429
76
0.628319
schwarzschild-radius
f52be7b2de907b85f6774c761857416c74034d66
2,507
cpp
C++
orig/07/listing_07.12.cpp
plaice/Williams
509349bc07bb0905387e93966e83b304900bb2c4
[ "BSL-1.0" ]
5
2016-11-15T21:56:46.000Z
2018-05-05T21:34:25.000Z
orig/07/listing_07.12.cpp
plaice/Williams
509349bc07bb0905387e93966e83b304900bb2c4
[ "BSL-1.0" ]
null
null
null
orig/07/listing_07.12.cpp
plaice/Williams
509349bc07bb0905387e93966e83b304900bb2c4
[ "BSL-1.0" ]
null
null
null
#include <atomic> #include <memory> template<typename T> class lock_free_stack { private: struct node; struct counted_node_ptr { int external_count; node* ptr; }; struct node { std::shared_ptr<T> data; std::atomic<int> internal_count; counted_node_ptr nex...
28.168539
82
0.526526
plaice
f52d93a2e062ff8571612c32c27b77969093c9c3
2,101
hpp
C++
tstl/include/stack.hpp
ArdenyUser/ArdenWareOS
e09261093ba469d2291554c026037351bba28ab0
[ "MIT" ]
1,574
2015-01-15T16:35:30.000Z
2022-03-29T07:27:49.000Z
tstl/include/stack.hpp
bgwilf/thor-os
2dc0fef72595598aff7e5f950809042104f29b48
[ "MIT" ]
43
2016-08-23T16:22:29.000Z
2022-03-09T10:28:05.000Z
tstl/include/stack.hpp
bgwilf/thor-os
2dc0fef72595598aff7e5f950809042104f29b48
[ "MIT" ]
196
2016-02-17T10:52:24.000Z
2022-03-28T17:41:29.000Z
//======================================================================= // Copyright Baptiste Wicht 2013-2018. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://www.opensource.org/licenses/MIT) //=================================================================...
23.344444
78
0.568777
ArdenyUser
f52e2418091bfc9c0e9ace94636dd31cc4936a95
6,356
cpp
C++
qcom-caf/display/libhistogram/histogram_collector.cpp
Havoc-Devices/android_device_motorola_sm7250-common
c957b40642f2c2a6b174832e3a19e823aa25363f
[ "FTL" ]
4
2020-12-17T13:39:05.000Z
2022-02-11T10:24:58.000Z
qcom-caf/display/libhistogram/histogram_collector.cpp
Havoc-Devices/android_device_motorola_sm7250-common
c957b40642f2c2a6b174832e3a19e823aa25363f
[ "FTL" ]
null
null
null
qcom-caf/display/libhistogram/histogram_collector.cpp
Havoc-Devices/android_device_motorola_sm7250-common
c957b40642f2c2a6b174832e3a19e823aa25363f
[ "FTL" ]
4
2021-01-07T12:31:21.000Z
2021-12-27T19:08:12.000Z
/* * Copyright (C) 2018 The Android Open Source Project * * 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 app...
30.705314
100
0.696665
Havoc-Devices
f52f9daac85badd14ed77a9dd5f2926218f2c88b
8,335
cpp
C++
tests/Loading/Theme.cpp
dmg103/TGUI
ed2ac830c399b8b579dc67493823551dbf966d63
[ "Zlib" ]
null
null
null
tests/Loading/Theme.cpp
dmg103/TGUI
ed2ac830c399b8b579dc67493823551dbf966d63
[ "Zlib" ]
null
null
null
tests/Loading/Theme.cpp
dmg103/TGUI
ed2ac830c399b8b579dc67493823551dbf966d63
[ "Zlib" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // TGUI - Texus' Graphical User Interface // Copyright (C) 2012-2022 Bruno Van de Velde ([email protected]) // // This software is provided 'as-is', without any express or implied warranty. /...
39.880383
129
0.574325
dmg103
f52fd92cd26d6c15a6b524d4a28644e6219fde2d
18,960
cpp
C++
test/entt/entity/sparse_set.cpp
janisozaur/entt
be3597524f07ee502be8784ed193812ce4fb9cb9
[ "MIT" ]
32
2018-05-14T23:26:54.000Z
2020-06-14T10:13:20.000Z
ext/entt-3.1.1/test/entt/entity/sparse_set.cpp
blockspacer/bootstrap-redux
2d0e0d7d2b1f6f203c3dd01f6929805042db8ec7
[ "MIT" ]
79
2018-08-01T11:50:45.000Z
2020-11-17T13:40:06.000Z
ext/entt-3.1.1/test/entt/entity/sparse_set.cpp
blockspacer/bootstrap-redux
2d0e0d7d2b1f6f203c3dd01f6929805042db8ec7
[ "MIT" ]
14
2021-01-08T05:05:19.000Z
2022-03-27T14:56:56.000Z
#include <cstdint> #include <utility> #include <iterator> #include <type_traits> #include <gtest/gtest.h> #include <entt/entity/sparse_set.hpp> #include <entt/entity/fwd.hpp> struct empty_type {}; struct boxed_int { int value; }; TEST(SparseSet, Functionalities) { entt::sparse_set<entt::entity> set; set.rese...
32.859619
101
0.626477
janisozaur
f53304f674c010aee4612a768253bd2b3e8a1f7d
3,748
hpp
C++
include/Shader.hpp
luanfagu/raylib-cpp
2524151b7d03262499660a8e696e126430a6ae0e
[ "Zlib" ]
253
2019-03-20T16:15:21.000Z
2022-03-28T06:04:48.000Z
include/Shader.hpp
luanfagu/raylib-cpp
2524151b7d03262499660a8e696e126430a6ae0e
[ "Zlib" ]
96
2019-08-19T22:12:28.000Z
2022-03-29T00:25:54.000Z
include/Shader.hpp
luanfagu/raylib-cpp
2524151b7d03262499660a8e696e126430a6ae0e
[ "Zlib" ]
56
2019-09-09T04:39:50.000Z
2022-03-28T17:42:46.000Z
#ifndef RAYLIB_CPP_INCLUDE_SHADER_HPP_ #define RAYLIB_CPP_INCLUDE_SHADER_HPP_ #include <string> #include "./raylib.hpp" #include "./raylib-cpp-utils.hpp" #include "Texture.hpp" namespace raylib { /** * Shader type (generic) */ class Shader : public ::Shader { public: Shader(const ::Shader& shader) { s...
23.279503
99
0.585112
luanfagu
f5336b7e22febf505e104463a959d705b72f8ba2
482
cpp
C++
Section 08/Account/Account/Checking.cpp
yhaydar/beg_mod_cpp
6db3538d3f7d4484f7ce39065e13736a9676185a
[ "MIT" ]
null
null
null
Section 08/Account/Account/Checking.cpp
yhaydar/beg_mod_cpp
6db3538d3f7d4484f7ce39065e13736a9676185a
[ "MIT" ]
null
null
null
Section 08/Account/Account/Checking.cpp
yhaydar/beg_mod_cpp
6db3538d3f7d4484f7ce39065e13736a9676185a
[ "MIT" ]
null
null
null
#include "Checking.h" #include <iostream> Checking::Checking(const std::string &name, float balance, float minbalance): m_MinimumBalance(minbalance), Account(name, balance){ } Checking::~Checking() { } void Checking::Withdraw(float amount) { if ((m_Balance - amount) > m_MinimumBalance) { Account::Wi...
20.083333
78
0.674274
yhaydar
f535aa491fc4c96706a4d1b2fc377d86105e211e
3,032
cpp
C++
aws-cpp-sdk-sdb/source/model/DeletableItem.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
2
2019-03-11T15:50:55.000Z
2020-02-27T11:40:27.000Z
aws-cpp-sdk-sdb/source/model/DeletableItem.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
18
2018-05-15T16:41:07.000Z
2018-05-21T00:46:30.000Z
aws-cpp-sdk-sdb/source/model/DeletableItem.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
1
2021-10-01T15:29:44.000Z
2021-10-01T15:29:44.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
26.137931
128
0.685356
curiousjgeorge
f54424576ac1d1e5e513f63901a9042a9e57ff19
1,888
cpp
C++
SourceFiles/Item.cpp
JamesBremner/Pack
bf968bafbff01f908e5c27919c475d404d2dceeb
[ "MIT" ]
19
2015-11-08T01:01:11.000Z
2021-06-28T23:10:14.000Z
SourceFiles/Item.cpp
JamesBremner/Pack
bf968bafbff01f908e5c27919c475d404d2dceeb
[ "MIT" ]
7
2016-03-28T05:03:31.000Z
2020-07-09T13:55:57.000Z
SourceFiles/Item.cpp
JamesBremner/Pack
bf968bafbff01f908e5c27919c475d404d2dceeb
[ "MIT" ]
9
2015-04-30T04:19:19.000Z
2017-10-22T12:09:12.000Z
#include "cPackEngine.h" int Item::nextPackSeq = 0; Item::Item() : myBinProgID( -1 ) , mySpinAxis( 0 ) , mySupport( 0 ) { } Item::Item(const Item& orig) { } Item::~Item() { } int Item::RotationConstraints() { return myRotationConstraints; } int Item::PositionConstraints() { return myPositionCo...
23.308642
103
0.532839
JamesBremner
f54d8cf911287f139e83cf5e3948bce812e904ca
4,876
cpp
C++
message.cpp
zhaoxy2850/TSDNSServer
ed84611238e744f8458a9cac7622fd6b1407297c
[ "MIT" ]
2
2017-10-22T15:24:06.000Z
2018-10-01T09:36:01.000Z
message.cpp
zhaoxy2850/TSDNSServer
ed84611238e744f8458a9cac7622fd6b1407297c
[ "MIT" ]
1
2019-12-25T06:13:32.000Z
2019-12-25T06:13:32.000Z
message.cpp
zhaoxy2850/TSDNSServer
ed84611238e744f8458a9cac7622fd6b1407297c
[ "MIT" ]
3
2017-02-28T07:09:38.000Z
2020-08-15T09:10:40.000Z
// // message.cpp // TSDNSServer // // Created by zhaoxy on 14-5-11. // Copyright (c) 2014年 tsinghua. All rights reserved. // #include "message.h" using namespace dns; using namespace std; //encode an address seperated by '.' like 'www.google.com' //to address seperated by substring length like '3www6google3com'...
30.098765
71
0.612797
zhaoxy2850
f54e08ef99fa2907926ec3287c946a53e9f323ab
2,064
cpp
C++
Examples/CPP/ConvertingProjectData/UsingSvgOptions.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
1
2022-03-16T14:31:36.000Z
2022-03-16T14:31:36.000Z
Examples/CPP/ConvertingProjectData/UsingSvgOptions.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
null
null
null
Examples/CPP/ConvertingProjectData/UsingSvgOptions.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
1
2020-07-01T01:26:17.000Z
2020-07-01T01:26:17.000Z
/* This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Tasks for .NET API reference when the project is build. Please check https:// Docs.nuget.org/consume/nuget-faq for more information. If you do not wish to use NuGet, you can manually download Aspose.Tasks for .NET API from https://www.n...
36.210526
164
0.76938
aspose-tasks
f554b66a7e4617d91daf7917eeac37f219dcee22
8,342
cpp
C++
plugins/probe/3rd/poisson4/factor.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
49
2017-08-23T13:24:24.000Z
2022-03-16T09:10:58.000Z
plugins/probe/3rd/poisson4/factor.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
200
2018-07-20T15:18:26.000Z
2022-03-31T11:01:44.000Z
plugins/probe/3rd/poisson4/factor.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
31
2017-07-31T16:19:29.000Z
2022-02-14T23:41:03.000Z
/* Copyright (c) 2006, Michael Kazhdan and Matthew Bolitho All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions ...
30.445255
96
0.546392
azuki-monster
f5574313f17211eb9b87dd20071d9b004c846309
52
cpp
C++
app/src/data/gobaldata.cpp
black-sheep-dev/harbour-webcontrol
4feecae04ac07fed106d21abc002b1623fb6b767
[ "MIT" ]
2
2021-10-06T12:53:12.000Z
2021-10-12T09:07:26.000Z
app/src/data/gobaldata.cpp
black-sheep-dev/harbour-webcontrol
4feecae04ac07fed106d21abc002b1623fb6b767
[ "MIT" ]
3
2020-11-08T16:10:33.000Z
2021-09-26T06:02:44.000Z
app/src/data/gobaldata.cpp
black-sheep-dev/harbour-webcontrol
4feecae04ac07fed106d21abc002b1623fb6b767
[ "MIT" ]
1
2020-11-08T14:54:25.000Z
2020-11-08T14:54:25.000Z
#include "gobaldata.h" DataManager* g_dataManager;
13
27
0.788462
black-sheep-dev
f5591aae36e45b4c6d59fb2cb0ef9773ba8b351c
1,871
cpp
C++
basic/mobile_io/02f_feedback_background_mobile_io.cpp
HebiRobotics/hebi-cpp-examples
db01c9b957b3c97885d452d8b72f9919ba6c48c4
[ "Apache-2.0" ]
7
2018-03-31T06:52:08.000Z
2022-02-24T21:27:09.000Z
basic/mobile_io/02f_feedback_background_mobile_io.cpp
HebiRobotics/hebi-cpp-examples
db01c9b957b3c97885d452d8b72f9919ba6c48c4
[ "Apache-2.0" ]
34
2018-06-03T17:28:08.000Z
2021-05-29T01:15:25.000Z
basic/mobile_io/02f_feedback_background_mobile_io.cpp
HebiRobotics/hebi-cpp-examples
db01c9b957b3c97885d452d8b72f9919ba6c48c4
[ "Apache-2.0" ]
9
2018-02-08T22:50:58.000Z
2021-03-30T08:07:35.000Z
/* * Get feedback from a mobile io module and plot it live * * For more information, go to http://docs.hebi.us/tools.html#cpp-api * * HEBI Robotics * August 2019 */ #include <chrono> #include <iostream> #include <thread> #include "lookup.hpp" #include "group_feedback.hpp" #include "util/plot_functions.h" na...
26.728571
79
0.660075
HebiRobotics
f560f0b6eacdab2a247d5cf25f7b6408d6a3b0c5
2,797
cpp
C++
middleware/src/generator/mesh/cube_shape.cpp
TerraGraphics/TerraEngine
874165a22ab7dd3774a6cfdeb023485a552d9860
[ "Apache-2.0" ]
5
2019-12-24T21:43:13.000Z
2020-06-16T03:44:16.000Z
middleware/src/generator/mesh/cube_shape.cpp
TerraGraphics/TerraEngine
874165a22ab7dd3774a6cfdeb023485a552d9860
[ "Apache-2.0" ]
null
null
null
middleware/src/generator/mesh/cube_shape.cpp
TerraGraphics/TerraEngine
874165a22ab7dd3774a6cfdeb023485a552d9860
[ "Apache-2.0" ]
1
2020-03-30T00:17:27.000Z
2020-03-30T00:17:27.000Z
#include "middleware/generator/mesh/cube_shape.h" #include <memory> #include <utility> #include <type_traits> #include "core/common/exception.h" static auto MakeGenerator(const dg::float3 sizes, const dg::uint3 segments) { float offset = sizes.z * 0.5f; dg::float2 size = {sizes.x, sizes.y}; dg::uint2 sg...
32.523256
94
0.626385
TerraGraphics
f56128b2033187724c7d23af81c68307e0e3f51c
857
cpp
C++
foobar2000/SDK/main_thread_callback.cpp
ttsping/foo_fix
4a0b950ccb8c10c912a9abeeffdd85e777463309
[ "Info-ZIP" ]
294
2017-11-20T17:42:08.000Z
2022-03-31T04:15:13.000Z
foobar2000/SDK/main_thread_callback.cpp
ttsping/foo_fix
4a0b950ccb8c10c912a9abeeffdd85e777463309
[ "Info-ZIP" ]
108
2021-04-08T10:57:27.000Z
2022-03-27T08:02:15.000Z
foobar2000/SDK/main_thread_callback.cpp
ttsping/foo_fix
4a0b950ccb8c10c912a9abeeffdd85e777463309
[ "Info-ZIP" ]
14
2018-03-10T12:47:03.000Z
2021-11-11T09:00:08.000Z
#include "foobar2000.h" void main_thread_callback::callback_enqueue() { main_thread_callback_manager::get()->add_callback(this); } void main_thread_callback_add(main_thread_callback::ptr ptr) { main_thread_callback_manager::get()->add_callback(ptr); } namespace { typedef std::function<void ()> fun...
22.552632
71
0.62077
ttsping
f5612a9a9cbccb0feb246b085e3e1225df11c4db
4,839
cpp
C++
source/pawgui.cpp
pawbyte/pawgui
24e77f4ce40bd0e91f5f5edc27cc87ff5783d0ab
[ "MIT" ]
2
2020-03-09T14:29:42.000Z
2021-02-06T05:07:39.000Z
source/pawgui.cpp
pawbyte/pawgui
24e77f4ce40bd0e91f5f5edc27cc87ff5783d0ab
[ "MIT" ]
null
null
null
source/pawgui.cpp
pawbyte/pawgui
24e77f4ce40bd0e91f5f5edc27cc87ff5783d0ab
[ "MIT" ]
null
null
null
/* pawgui.cpp This file is part of: PawByte Ambitious Working GUI(PAWGUI) https://www.pawbyte.com/pawgui Copyright (c) 2014-2020 Nathan Hurde, Chase Lee. Copyright (c) 2014-2020 PawByte LLC. Copyright (c) 2014-2020 PawByte Ambitious Working GUI(PAWGUI) contributors ( Contributors Page ) Permission is hereby...
39.991736
176
0.65902
pawbyte
f56253d59fc5c13df8a30aea81798adeb68e743f
5,242
cpp
C++
dbms/src/Interpreters/tests/hash_map2.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
3
2016-12-30T14:19:47.000Z
2021-11-13T06:58:32.000Z
dbms/src/Interpreters/tests/hash_map2.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
1
2017-01-13T21:29:36.000Z
2017-01-16T18:29:08.000Z
dbms/src/Interpreters/tests/hash_map2.cpp
jbfavre/clickhouse-debian
3806e3370decb40066f15627a3bca4063b992bfb
[ "Apache-2.0" ]
1
2021-02-07T16:00:54.000Z
2021-02-07T16:00:54.000Z
#include <iostream> #include <iomanip> #include <vector> #include <unordered_map> #include <sparsehash/dense_hash_map> #include <sparsehash/sparse_hash_map> #include <DB/Common/Stopwatch.h> //#define DBMS_HASH_MAP_COUNT_COLLISIONS #define DBMS_HASH_MAP_DEBUG_RESIZES #include <DB/Core/Types.h> #include <DB/IO/ReadB...
27.589474
144
0.652804
rudneff
f5650ac27d80d71ec2b9ad6f7a23a1bc4c539f77
27,677
cpp
C++
tests/gtests/test_batch_normalization_forward.cpp
PerfXLab/mkl-dnn
0fc7bd337d827d310d029e5f4219eaf72ca12825
[ "Apache-2.0" ]
9
2016-11-30T07:35:33.000Z
2021-05-09T01:15:06.000Z
tests/gtests/test_batch_normalization_forward.cpp
PerfXLab/mkl-dnn
0fc7bd337d827d310d029e5f4219eaf72ca12825
[ "Apache-2.0" ]
null
null
null
tests/gtests/test_batch_normalization_forward.cpp
PerfXLab/mkl-dnn
0fc7bd337d827d310d029e5f4219eaf72ca12825
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2016 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
54.268627
86
0.509773
PerfXLab
f565250754ce6915087897513c950b1ca3f3ead6
979
hpp
C++
src/include/guinsoodb/execution/operator/helper/physical_transaction.hpp
GuinsooLab/guinsoodb
f200538868738ae460f62fb89211deec946cefff
[ "MIT" ]
1
2021-04-22T05:41:54.000Z
2021-04-22T05:41:54.000Z
src/include/guinsoodb/execution/operator/helper/physical_transaction.hpp
GuinsooLab/guinsoodb
f200538868738ae460f62fb89211deec946cefff
[ "MIT" ]
null
null
null
src/include/guinsoodb/execution/operator/helper/physical_transaction.hpp
GuinsooLab/guinsoodb
f200538868738ae460f62fb89211deec946cefff
[ "MIT" ]
1
2021-12-12T10:24:57.000Z
2021-12-12T10:24:57.000Z
//===----------------------------------------------------------------------===// // GuinsooDB // // guinsoodb/execution/operator/helper/physical_transaction.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "guinsoodb/execution/phy...
31.580645
107
0.642492
GuinsooLab
f5661c3d682c8d7272445b97b709789955e07a11
1,845
cpp
C++
src/+cv/getDerivKernels.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
571
2015-01-04T06:23:19.000Z
2022-03-31T07:37:19.000Z
src/+cv/getDerivKernels.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
362
2015-01-06T14:20:46.000Z
2022-01-20T08:10:46.000Z
src/+cv/getDerivKernels.cpp
1123852253/mexopencv
17db690133299f561924a45e9092673a4df66c5b
[ "BSD-3-Clause" ]
300
2015-01-20T03:21:27.000Z
2022-03-31T07:36:37.000Z
/** * @file getDerivKernels.cpp * @brief mex interface for cv::getDerivKernels * @ingroup imgproc * @author Kota Yamaguchi * @date 2011 */ #include "mexopencv.hpp" #include "opencv2/imgproc.hpp" using namespace std; using namespace cv; namespace { /// KSize map for option processing const ConstMap<string,int> KS...
27.954545
76
0.579946
1123852253
f568a503a0c54e953a84d5c720cdc8f04bd72855
9,893
cpp
C++
src/VM/VM.cpp
Feral-Lang/Feral
908c507c823c8b836d3e2007baf77329c2d6b8bf
[ "MIT" ]
131
2020-03-19T15:22:37.000Z
2021-12-19T02:37:01.000Z
src/VM/VM.cpp
Feral-Lang/Feral
908c507c823c8b836d3e2007baf77329c2d6b8bf
[ "MIT" ]
14
2020-04-06T05:50:15.000Z
2021-06-26T06:19:04.000Z
src/VM/VM.cpp
Feral-Lang/Feral
908c507c823c8b836d3e2007baf77329c2d6b8bf
[ "MIT" ]
20
2020-04-06T07:28:30.000Z
2021-09-05T14:46:25.000Z
/* MIT License Copyright (c) 2020 Feral Language repositories 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...
29.01173
96
0.675124
Feral-Lang
f568cc4741f7e6838bddbed87284daeb0d7d505d
2,637
hpp
C++
examples/c/h2o2/chem_utils.hpp
stgeke/pyJac-v2
c2716a05df432efd8e5f6cc5cc3d46b72c24c019
[ "MIT" ]
null
null
null
examples/c/h2o2/chem_utils.hpp
stgeke/pyJac-v2
c2716a05df432efd8e5f6cc5cc3d46b72c24c019
[ "MIT" ]
null
null
null
examples/c/h2o2/chem_utils.hpp
stgeke/pyJac-v2
c2716a05df432efd8e5f6cc5cc3d46b72c24c019
[ "MIT" ]
null
null
null
#ifndef CHEM_UTILS_HPP #define CHEM_UTILS_HPP #ifdef _OPENMP #include <omp.h> #else #warning 'OpenMP not found! Unexpected results may occur if using more than one thread.' #define omp_get_num_threads() (1) #endif #include "mechanism.hpp" #include "chem_utils.hpp" #ifndef work_size #define work_size (omp_get_nu...
109.875
888
0.731134
stgeke
f568eac4a45a9abd8b3ca10d7f12e762040a912c
855
hpp
C++
Microtone/include/microtone/midi_input.hpp
DanielToby/microtone
10538a23fb67933abe5b492eb4ae771bd646f8d6
[ "MIT" ]
null
null
null
Microtone/include/microtone/midi_input.hpp
DanielToby/microtone
10538a23fb67933abe5b492eb4ae771bd646f8d6
[ "MIT" ]
null
null
null
Microtone/include/microtone/midi_input.hpp
DanielToby/microtone
10538a23fb67933abe5b492eb4ae771bd646f8d6
[ "MIT" ]
null
null
null
#pragma once #include <microtone/microtone_platform.hpp> #include <functional> #include <memory> #include <string> #include <vector> namespace microtone { //enum class MidiStatusMessage { // NoteOn = 0b10010000, // NoteOff = 0b10000000, // ControlChange = 0b10110000 //}; using OnMidiDataFn = std::function...
20.853659
77
0.694737
DanielToby
f5793f6671b6cbbe299301fbcb23340696806b46
1,653
cpp
C++
library/dynamicProgramming/palindromicPartitioning.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
40
2017-11-26T05:29:18.000Z
2020-11-13T00:29:26.000Z
library/dynamicProgramming/palindromicPartitioning.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
101
2019-02-09T06:06:09.000Z
2021-12-25T16:55:37.000Z
library/dynamicProgramming/palindromicPartitioning.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
6
2017-01-03T14:17:58.000Z
2021-01-22T10:37:04.000Z
#include <string> #include <functional> #include <vector> #include <algorithm> using namespace std; #include "palindromicPartitioning.h" /////////// For Testing /////////////////////////////////////////////////////// #include <time.h> #include <cassert> #include <string> #include <iostream> #include "../common/iost...
29
103
0.46582
bluedawnstar
f579c75ed37e1c290f5e63bae9a94ad5f9169ae4
468
cpp
C++
solved-lightOj/1225.cpp
Maruf-Tuhin/Online_Judge
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
1
2019-03-31T05:47:30.000Z
2019-03-31T05:47:30.000Z
solved-lightOj/1225.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
solved-lightOj/1225.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> main() { char a[15],b[15]; int i,j,l,t,k; scanf("%d",&t); getchar(); for(i=1;i<=t;i++) { gets(a); l=strlen(a); for(j=l-1,k=0;j>=0;j--,k++) { b[k]=a[j]; } b[k]='\0'; if(strcmp(a,b)==0) ...
15.6
39
0.333333
Maruf-Tuhin
f57a92b4a74fcff655a756b83424e97b70e55d7c
51,462
cpp
C++
src/utils/MSFraggerAdapter.cpp
avasq011/FinalProject_OpenMS_76ers
6c9e2c295df6ec0eb296a3badfcdff245a869d59
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
1
2019-07-15T20:50:22.000Z
2019-07-15T20:50:22.000Z
src/utils/MSFraggerAdapter.cpp
avasq011/FinalProject_OpenMS_76ers
6c9e2c295df6ec0eb296a3badfcdff245a869d59
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
150
2017-09-05T09:43:12.000Z
2020-02-03T10:07:36.000Z
src/utils/MSFraggerAdapter.cpp
avasq011/FinalProject_OpenMS_76ers
6c9e2c295df6ec0eb296a3badfcdff245a869d59
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
2
2018-04-02T18:41:20.000Z
2018-08-11T21:39:24.000Z
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
60.614841
376
0.74179
avasq011
f58052c19e8ce9fb896998e3cc7b91608b4ec265
4,564
cpp
C++
legacy/galaxy/components/BatchSprite.cpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
19
2020-02-02T16:36:46.000Z
2021-12-25T07:02:28.000Z
legacy/galaxy/components/BatchSprite.cpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
103
2020-10-13T09:03:42.000Z
2022-03-26T03:41:50.000Z
legacy/galaxy/components/BatchSprite.cpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
5
2020-03-13T06:14:37.000Z
2021-12-12T02:13:46.000Z
/// /// BatchSprite.cpp /// galaxy /// /// Refer to LICENSE.txt for more details. /// #include "galaxy/core/ServiceLocator.hpp" #include "galaxy/resource/TextureBook.hpp" #include "BatchSprite.hpp" namespace galaxy { namespace components { BatchSprite::BatchSprite() noexcept : Serializable {this} , m_index...
23.050505
111
0.622699
reworks
f580630eea06ce8ba9b530ae7bc4a4449b7fc846
1,167
cpp
C++
Contest 1008/E.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
Contest 1008/E.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
Contest 1008/E.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include <cmath> #include <string> #include <cstring> using namespace std; long GetNonOddCount(long number){ string num; long nCount = 0; num = to_string(number); long i; int tmp; for (i = 0; i <= num.length() - 1; ++i){ tmp = num[i] - '0'; ...
21.611111
58
0.449871
PC-DOS
f5815785970c6447eadbd394e8317436b675aff9
847
cpp
C++
src/wallet/test/wallet_transaction_tests.cpp
wilofice/dahomey
5cbc2406a27e68bbe30f85a7162b86f4741effab
[ "MIT" ]
1
2022-03-19T13:35:37.000Z
2022-03-19T13:35:37.000Z
src/wallet/test/wallet_transaction_tests.cpp
wilofice/danxome
5cbc2406a27e68bbe30f85a7162b86f4741effab
[ "MIT" ]
null
null
null
src/wallet/test/wallet_transaction_tests.cpp
wilofice/danxome
5cbc2406a27e68bbe30f85a7162b86f4741effab
[ "MIT" ]
null
null
null
// Copyright (c) 2021 The Danxome Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <wallet/transaction.h> #include <wallet/test/wallet_test_fixture.h> #include <boost/test/unit_test.hpp> namespace wall...
31.37037
98
0.726092
wilofice
f5815e86c78f4b08b3a49c393e4218bf434c004e
2,314
cpp
C++
gui/tool-panel.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
gui/tool-panel.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
gui/tool-panel.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
// -*- coding: us-ascii-unix -*- // Copyright 2012 Lukas Kemmer // // 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 a...
24.88172
70
0.715644
lukas-ke
f585e7241f39e3fbbe7260ebabf3270189f1610f
4,627
cpp
C++
libs/log/example/doc/sinks_xml_file.cpp
HelloSunyi/boost_1_54_0
429fea793612f973d4b7a0e69c5af8156ae2b56e
[ "BSL-1.0" ]
7
2015-03-03T15:45:12.000Z
2021-04-25T03:37:17.000Z
libs/log/example/doc/sinks_xml_file.cpp
graehl/boost
37cc4ca77896a86ad10e90dc03e1e825dc0d5492
[ "BSL-1.0" ]
1
2015-09-05T12:23:01.000Z
2015-09-05T12:23:01.000Z
libs/log/example/doc/sinks_xml_file.cpp
graehl/boost
37cc4ca77896a86ad10e90dc03e1e825dc0d5492
[ "BSL-1.0" ]
2
2017-07-28T17:38:16.000Z
2018-04-30T05:37:32.000Z
/* * Copyright Andrey Semashev 2007 - 2013. * 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 <stdexcept> #include <string> #include <iostream> #include <boost/shared_ptr.hpp> #i...
30.24183
153
0.625027
HelloSunyi
f588fba044454b25731d2a5babd568d573654fda
12,610
cpp
C++
src/perception/segmentation/ground_truth_detections/test/test_ground_truth_detections_node.cpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
1
2022-02-24T07:36:59.000Z
2022-02-24T07:36:59.000Z
src/perception/segmentation/ground_truth_detections/test/test_ground_truth_detections_node.cpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
null
null
null
src/perception/segmentation/ground_truth_detections/test/test_ground_truth_detections_node.cpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
1
2021-12-09T15:44:10.000Z
2021-12-09T15:44:10.000Z
// Copyright 2021 The Autoware Foundation // // 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...
33.806971
92
0.727201
ruvus
f58b8b8ed78ab4e2e8a07025bb0b54ddc60bd931
1,349
cpp
C++
CO1028/LAB7/Ex4/main.cpp
Smithienious/hcmut-192
4f1dfa322321fc18d151835213a5b544c9d764f2
[ "MIT" ]
null
null
null
CO1028/LAB7/Ex4/main.cpp
Smithienious/hcmut-192
4f1dfa322321fc18d151835213a5b544c9d764f2
[ "MIT" ]
null
null
null
CO1028/LAB7/Ex4/main.cpp
Smithienious/hcmut-192
4f1dfa322321fc18d151835213a5b544c9d764f2
[ "MIT" ]
1
2020-04-26T10:28:41.000Z
2020-04-26T10:28:41.000Z
#include <iostream> #include <fstream> using namespace std; ifstream ifs; struct node { int data; node *next; }; node *createLinkList(int n) { node *head = new node; node *current = head; int dat = 0; for (int i = 0; i < n; i += 1) { ifs >> dat; current->data = dat; if (i != n - 1) { node *next = ...
14.052083
61
0.58043
Smithienious
f58c2231face6a37661e160650d6ee2b4e7ebb5f
7,960
cpp
C++
driver_files/src/Driver/HMDDevice.cpp
justinliang1020/AirPose
e651883f0e9c33fee0d7180d118b2456d54705e4
[ "MIT" ]
28
2021-06-15T21:06:01.000Z
2022-03-31T02:20:25.000Z
driver_files/src/Driver/HMDDevice.cpp
gergelyszaz/AirPose
9ba902b29aeaae6aa0eed4fdb4d7ea63014d546e
[ "MIT" ]
16
2021-10-30T21:24:31.000Z
2021-11-21T15:12:08.000Z
driver_files/src/Driver/HMDDevice.cpp
gergelyszaz/AirPose
9ba902b29aeaae6aa0eed4fdb4d7ea63014d546e
[ "MIT" ]
2
2021-09-10T13:15:15.000Z
2022-01-16T01:51:21.000Z
#include "HMDDevice.hpp" #include <Windows.h> PoseVRDriver::HMDDevice::HMDDevice(std::string serial):serial_(serial) { } std::string PoseVRDriver::HMDDevice::GetSerial() { return this->serial_; } void PoseVRDriver::HMDDevice::Update() { if (this->device_index_ == vr::k_unTrackedDeviceIndexInvalid) re...
35.695067
172
0.690955
justinliang1020
f592a71e54548674f08d1c1ba8cdc6b11b68d3e6
28,338
hpp
C++
include/seqan3/alphabet/composite/alphabet_variant.hpp
anbratu/seqan3
8cbfe77a996572065b57c3fe67094cc56a2c43da
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
include/seqan3/alphabet/composite/alphabet_variant.hpp
anbratu/seqan3
8cbfe77a996572065b57c3fe67094cc56a2c43da
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
include/seqan3/alphabet/composite/alphabet_variant.hpp
anbratu/seqan3
8cbfe77a996572065b57c3fe67094cc56a2c43da
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2019, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
43.198171
122
0.649058
anbratu
f5933b011ba63be0e9947627c5f263c62da7056f
5,231
cpp
C++
libs/tbb44_20160128oss_win_0/tbb44_20160128oss/examples/parallel_reduce/primes/main.cpp
umetaman/ofxExtremeGpuVideo
0bf28b131dedaf44899c269aef57e95dd700586c
[ "Zlib" ]
59
2016-04-13T20:18:50.000Z
2022-01-24T00:46:16.000Z
libs/tbb44_20160128oss_win_0/tbb44_20160128oss/examples/parallel_reduce/primes/main.cpp
umetaman/ofxExtremeGpuVideo
0bf28b131dedaf44899c269aef57e95dd700586c
[ "Zlib" ]
3
2016-11-19T18:33:49.000Z
2022-01-24T00:43:10.000Z
libs/tbb44_20160128oss_win_0/tbb44_20160128oss/examples/parallel_reduce/primes/main.cpp
umetaman/ofxExtremeGpuVideo
0bf28b131dedaf44899c269aef57e95dd700586c
[ "Zlib" ]
7
2016-05-01T02:58:05.000Z
2021-09-17T02:20:19.000Z
/* Copyright 2005-2016 Intel Corporation. All Rights Reserved. This file is part of Threading Building Blocks. Threading Building Blocks is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundat...
41.848
130
0.66125
umetaman
f5961e8f0d68ed56253795151ded30646697bee3
887
cpp
C++
Source/moja.datarepository/tests/src/landunitinfotests.cpp
YevenLourance/FLINT
e584e39c36d3e898c9293c09bd0768557312e8ea
[ "BSL-1.0" ]
null
null
null
Source/moja.datarepository/tests/src/landunitinfotests.cpp
YevenLourance/FLINT
e584e39c36d3e898c9293c09bd0768557312e8ea
[ "BSL-1.0" ]
null
null
null
Source/moja.datarepository/tests/src/landunitinfotests.cpp
YevenLourance/FLINT
e584e39c36d3e898c9293c09bd0768557312e8ea
[ "BSL-1.0" ]
null
null
null
#include <moja/datarepository/landunitinfo.h> #include <moja/test/mockaspatialtileinfo.h> #include <boost/test/unit_test.hpp> using moja::datarepository::LandUnitInfo; using moja::test::MockAspatialTileInfo; BOOST_AUTO_TEST_SUITE(LandUnitInfoTests); BOOST_AUTO_TEST_CASE(datarepository_LandUnitInfo_Const...
30.586207
101
0.750846
YevenLourance
f59645bf0540bba3ebef773575b6b8a761f92080
12,541
cpp
C++
openstudiocore/src/energyplus/ForwardTranslator/ForwardTranslateCoilCoolingDXTwoSpeed.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/energyplus/ForwardTranslator/ForwardTranslateCoilCoolingDXTwoSpeed.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/energyplus/ForwardTranslator/ForwardTranslateCoilCoolingDXTwoSpeed.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2014, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publishe...
35.030726
137
0.728889
ORNL-BTRIC
f5973e76be760ccb5431975049488c77d9bf4592
638
cpp
C++
DATA STRUCTURES/Array/Kth Smallest Element/code_1.cpp
Jatin-Goyal5/Data-Structures-and-Algorithms
f6bd0f77e5640c2e0568f3fffc4694758e77af96
[ "MIT" ]
27
2019-01-31T10:22:29.000Z
2021-08-29T08:25:12.000Z
DATA STRUCTURES/Array/Kth Smallest Element/code_1.cpp
Jatin-Goyal5/Data-Structures-and-Algorithms
f6bd0f77e5640c2e0568f3fffc4694758e77af96
[ "MIT" ]
6
2020-09-30T19:01:49.000Z
2020-12-17T15:10:54.000Z
DATA STRUCTURES/Array/Kth Smallest Element/code_1.cpp
Jatin-Goyal5/Data-Structures-and-Algorithms
f6bd0f77e5640c2e0568f3fffc4694758e77af96
[ "MIT" ]
27
2019-09-21T14:19:32.000Z
2021-09-15T03:06:41.000Z
// // code_1.cpp // Algorithm // // Created by Mohd Shoaib Rayeen on 23/11/18. // Copyright © 2018 Shoaib Rayeen. All rights reserved. // #include <iostream> using namespace std; int kthSmallest(int arr[], int n, int k) { sort(arr, arr+n); return arr[k-1]; } int main() { int n; cout << "\nEnter ...
18.764706
78
0.523511
Jatin-Goyal5
60d6724ded3faac6c89df2a481c3676b9c87b110
925
cpp
C++
unique-binary-search-trees-ii/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
unique-binary-search-trees-ii/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
unique-binary-search-trees-ii/solution-0.cpp
tsenmu/leetcode
6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee
[ "Apache-2.0" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { private: vector<TreeNode*> constructTree(int l, int r) { vector<TreeNode*> ans; if (l > r) { ...
25.694444
61
0.537297
tsenmu
60d826675a40b7b77af03c245ec391d50e0c87d9
4,925
hpp
C++
dependencies/cpp/boost/container/detail/node_pool.hpp
fduffy/QuantLibAdjoint
d9d355db4f46824bb5e607e28381943aef994ed4
[ "BSD-3-Clause" ]
41
2016-03-19T02:31:54.000Z
2022-01-20T13:23:20.000Z
dependencies/cpp/boost/container/detail/node_pool.hpp
fduffy/QuantLibAdjoint
d9d355db4f46824bb5e607e28381943aef994ed4
[ "BSD-3-Clause" ]
4
2017-07-18T21:17:45.000Z
2020-09-17T02:54:52.000Z
dependencies/cpp/boost/container/detail/node_pool.hpp
fduffy/QuantLibAdjoint
d9d355db4f46824bb5e607e28381943aef994ed4
[ "BSD-3-Clause" ]
22
2016-03-17T14:14:36.000Z
2022-03-28T10:33:19.000Z
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2005-2013. 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) // // See http://www.boost.org/libs/contain...
31.369427
90
0.655431
fduffy
60d8989a920e906e24ec3684360cf394dfcf6513
47,612
cpp
C++
src/cpu/x64/matmul/brgemm_matmul.cpp
cfRod/oneDNN
7981216b8341b8603e54472f5a0dd7a12ef9cf67
[ "Apache-2.0" ]
1,327
2018-01-25T21:23:47.000Z
2020-04-03T09:39:30.000Z
src/cpu/x64/matmul/brgemm_matmul.cpp
cfRod/oneDNN
7981216b8341b8603e54472f5a0dd7a12ef9cf67
[ "Apache-2.0" ]
498
2018-01-25T00:14:48.000Z
2020-04-03T16:21:44.000Z
src/cpu/x64/matmul/brgemm_matmul.cpp
cfRod/oneDNN
7981216b8341b8603e54472f5a0dd7a12ef9cf67
[ "Apache-2.0" ]
365
2018-01-29T16:12:36.000Z
2020-04-03T08:32:27.000Z
/******************************************************************************* * Copyright 2021-2022 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
43.205082
80
0.608943
cfRod
60d9059ece51cd24e336ac5ee1826e2a584293f4
307
hxx
C++
src/mod/pub/tst/sws/sws-drop-down-list-tst/mod-sws-drop-down-list-tst.hxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
1
2017-12-26T14:29:37.000Z
2017-12-26T14:29:37.000Z
src/mod/pub/tst/sws/sws-drop-down-list-tst/mod-sws-drop-down-list-tst.hxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
null
null
null
src/mod/pub/tst/sws/sws-drop-down-list-tst/mod-sws-drop-down-list-tst.hxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
null
null
null
#pragma once #include "appplex-conf.hxx" #ifdef MOD_SWS_DROP_DOWN_LIST_TST #include "mws-mod.hxx" class mod_sws_drop_down_list_tst : public mws_mod { public: static mws_sp<mod_sws_drop_down_list_tst> nwi(); virtual void build_sws() override; private: mod_sws_drop_down_list_tst(); }; #endif
14.619048
51
0.765472
indigoabstract
60db821a92f86bbc26237642c9e518a42ace9403
5,349
cpp
C++
FECore/FEModelParam.cpp
Scriptkiddi/FEBioStudio
b4cafde6b2761c9184e7e66451a9555b81a8a3dc
[ "MIT" ]
null
null
null
FECore/FEModelParam.cpp
Scriptkiddi/FEBioStudio
b4cafde6b2761c9184e7e66451a9555b81a8a3dc
[ "MIT" ]
null
null
null
FECore/FEModelParam.cpp
Scriptkiddi/FEBioStudio
b4cafde6b2761c9184e7e66451a9555b81a8a3dc
[ "MIT" ]
null
null
null
/*This file is part of the FEBio source code and is licensed under the MIT license listed below. See Copyright-FEBio.txt for details. Copyright (c) 2021 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obtaining a...
22.56962
92
0.673584
Scriptkiddi
60dc566e97861e559e5f744a595e973d2fd05a11
7,141
cc
C++
tensorflow/compiler/mlir/xla/transforms/legalize_tf_control_flow.cc
5GApp/tensorflow
ca87089f9e0073bad9fc999ce9c318f661d2e425
[ "Apache-2.0" ]
1
2019-12-23T20:23:43.000Z
2019-12-23T20:23:43.000Z
tensorflow/compiler/mlir/xla/transforms/legalize_tf_control_flow.cc
5GApp/tensorflow
ca87089f9e0073bad9fc999ce9c318f661d2e425
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/mlir/xla/transforms/legalize_tf_control_flow.cc
5GApp/tensorflow
ca87089f9e0073bad9fc999ce9c318f661d2e425
[ "Apache-2.0" ]
1
2020-04-22T01:47:46.000Z
2020-04-22T01:47:46.000Z
/* Copyright 2019 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...
39.236264
80
0.734071
5GApp
60e185b99620b37ab58388bc558cc2db494aaa54
7,909
cpp
C++
Libraries/Editor/PropertyView.cpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
1
2019-07-13T03:36:11.000Z
2019-07-13T03:36:11.000Z
Libraries/Editor/PropertyView.cpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
Libraries/Editor/PropertyView.cpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #include "Precompiled.hpp" namespace Zero { namespace PropertyViewUi { const cstr cLocation = "EditorUi/PropertyView"; Tweakable(float, ObjectSize, Pixels(24), cLocation); // Size of objects Tweakable(float, PropertySize, Pixels(20), cLocation); // Size of each property wid...
24.335385
119
0.706916
RyanTylerRae
60e2788527ed01a599fa809c6a1f49167236d0aa
486
cpp
C++
app/comm/timer.cpp
ligavin/udt_server
c4a21497136bad53b915d3eb3d99f0ad07426e66
[ "BSD-3-Clause" ]
null
null
null
app/comm/timer.cpp
ligavin/udt_server
c4a21497136bad53b915d3eb3d99f0ad07426e66
[ "BSD-3-Clause" ]
null
null
null
app/comm/timer.cpp
ligavin/udt_server
c4a21497136bad53b915d3eb3d99f0ad07426e66
[ "BSD-3-Clause" ]
null
null
null
/* * timer.cpp * * Created on: 2015年9月3日 * Author: gavinlli */ #include "timer.h" #include <stdio.h> timer::timer() { // TODO Auto-generated constructor stub start(); } timer::~timer() { // TODO Auto-generated destructor stub } void timer::start() { gettimeofday( &m_start, NULL); } int timer::get_ti...
15.1875
90
0.654321
ligavin
60e4f5770fc568b86fcf87e11b9894989b363963
5,326
cpp
C++
test/integration/acceptance/create_account_test.cpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
test/integration/acceptance/create_account_test.cpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
test/integration/acceptance/create_account_test.cpp
coderintherye/iroha
68509282851130c9818f21acef1ef28e53622315
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include <gtest/gtest.h> #include "framework/integration_framework/integration_test_framework.hpp" #include "integration/acceptance/acceptance_fixture.hpp" using namespace integration_framework; using namespace shared...
33.496855
80
0.68344
coderintherye
60eadec343c01187f38466d14ec8d8a7cd56cdfc
18,616
cpp
C++
app/src/main/jni/src/main.cpp
zimspy007/Funda-Ndebele-ECD-App
d2df5ff54e1cc482870ff7b0b08e89898ed25645
[ "BSD-3-Clause" ]
1
2019-10-12T12:07:01.000Z
2019-10-12T12:07:01.000Z
app/src/main/jni/src/main.cpp
zimspy007/Funda-Ndebele-ECD-App
d2df5ff54e1cc482870ff7b0b08e89898ed25645
[ "BSD-3-Clause" ]
null
null
null
app/src/main/jni/src/main.cpp
zimspy007/Funda-Ndebele-ECD-App
d2df5ff54e1cc482870ff7b0b08e89898ed25645
[ "BSD-3-Clause" ]
1
2019-12-04T17:45:29.000Z
2019-12-04T17:45:29.000Z
#include "game_code/puzzle_data.hpp" #include "game_code/game.hpp" #include "game_code/grid.hpp" #include "game_code/card.hpp" #include "game_code/puzzle.hpp" #include "game_code/alien.hpp" #include "game_code/walking_alien.hpp" #include "game_code/black_bird.hpp" #include "game_code/butterfly.hpp" #include "game_code/...
29.409163
102
0.538408
zimspy007
60ebdecbb33d45a182fe10debff0c30be64326d6
4,950
cpp
C++
libraries/disp3D/engine/model/materials/networkmaterial.cpp
MagCPP/mne-cpp
05f634a8401b20226bd719254a5da227e67a379b
[ "BSD-3-Clause" ]
1
2019-05-14T07:38:25.000Z
2019-05-14T07:38:25.000Z
libraries/disp3D/engine/model/materials/networkmaterial.cpp
MagCPP/mne-cpp
05f634a8401b20226bd719254a5da227e67a379b
[ "BSD-3-Clause" ]
1
2018-08-23T12:40:56.000Z
2018-08-23T12:40:56.000Z
libraries/disp3D/engine/model/materials/networkmaterial.cpp
MagCPP/mne-cpp
05f634a8401b20226bd719254a5da227e67a379b
[ "BSD-3-Clause" ]
null
null
null
//============================================================================================================= /** * @file networkmaterial.cpp * @author Lorenz Esch <[email protected]>; * Matti Hamalainen <[email protected]> * @version 1.0 * @date January, 2017 * * @section LICENSE ...
50.510204
152
0.512727
MagCPP
60eec60018467016f3b41e2931e782248998080f
21,511
cpp
C++
lgc/elfLinker/GlueShader.cpp
asuonpaa/llpc
89eac816465c27bb788186a1cb3bb54d8a7183d4
[ "MIT" ]
1
2019-11-25T04:54:55.000Z
2019-11-25T04:54:55.000Z
lgc/elfLinker/GlueShader.cpp
asuonpaa/llpc
89eac816465c27bb788186a1cb3bb54d8a7183d4
[ "MIT" ]
null
null
null
lgc/elfLinker/GlueShader.cpp
asuonpaa/llpc
89eac816465c27bb788186a1cb3bb54d8a7183d4
[ "MIT" ]
null
null
null
/* *********************************************************************************************************************** * * Copyright (c) 2020-2021 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
49.111872
120
0.653247
asuonpaa
60f0c82f8c9af612e75f5ef9960dbc8b1ca8c3d3
12,684
hpp
C++
boost/atomic/detail/base.hpp
juslee/boost-svn
6d5a03c1f5ed3e2b23bd0f3ad98d13ff33d4dcbb
[ "BSL-1.0" ]
null
null
null
boost/atomic/detail/base.hpp
juslee/boost-svn
6d5a03c1f5ed3e2b23bd0f3ad98d13ff33d4dcbb
[ "BSL-1.0" ]
null
null
null
boost/atomic/detail/base.hpp
juslee/boost-svn
6d5a03c1f5ed3e2b23bd0f3ad98d13ff33d4dcbb
[ "BSL-1.0" ]
null
null
null
#ifndef BOOST_ATOMIC_DETAIL_BASE_HPP #define BOOST_ATOMIC_DETAIL_BASE_HPP // Copyright (c) 2009 Helge Bahmann // // 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) // Base class definition and fallback implemen...
24.725146
99
0.622044
juslee
60f468280dabfd003c3f29bd05c07f724b45b4ac
911
hpp
C++
Main course/Homework4/Problem2/Header files/KeyValueDatabase.hpp
nia-flo/FMI-OOP
9d6ab384b5b7a48e76965ca5bff1e6a995b1bcba
[ "MIT" ]
null
null
null
Main course/Homework4/Problem2/Header files/KeyValueDatabase.hpp
nia-flo/FMI-OOP
9d6ab384b5b7a48e76965ca5bff1e6a995b1bcba
[ "MIT" ]
null
null
null
Main course/Homework4/Problem2/Header files/KeyValueDatabase.hpp
nia-flo/FMI-OOP
9d6ab384b5b7a48e76965ca5bff1e6a995b1bcba
[ "MIT" ]
null
null
null
#pragma once #include "Object.hpp" #include <vector> class KeyValueDatabase : public Object { public: KeyValueDatabase(const std::string& name, const std::string& location, const std::string& extension); void add_entry(const std::pair<std::string, int>& entry); int get_value(const std::string& key) cons...
28.46875
105
0.712404
nia-flo
60f784ab8f262a7bbaab47844a0b93133bd1444b
189
hpp
C++
include/riw/concepts/signed_integral.hpp
SachiSakurane/riw
9d3f61359d82ba93d4a1efae06a86f2f5337564d
[ "BSL-1.0" ]
2
2021-04-13T15:38:42.000Z
2021-06-13T16:12:11.000Z
include/riw/concepts/signed_integral.hpp
SachiSakurane/riw
9d3f61359d82ba93d4a1efae06a86f2f5337564d
[ "BSL-1.0" ]
1
2021-06-07T08:14:24.000Z
2021-06-07T08:14:44.000Z
include/riw/concepts/signed_integral.hpp
SachiSakurane/riw
9d3f61359d82ba93d4a1efae06a86f2f5337564d
[ "BSL-1.0" ]
null
null
null
#pragma once #include <type_traits> #include <riw/concepts/integral.hpp> namespace riw { template <class Type> concept signed_integral = riw::integral<Type> && std::is_signed_v<Type>; }
17.181818
72
0.746032
SachiSakurane
60f9c89cdcc144305597557c7d60663853036b26
979
cpp
C++
samples/snippets/cpp/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/CPP/source3.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/CPP/source3.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_Remoting/Classic XmlMessageFormatter Example/CPP/source3.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
// <Snippet3> #using <System.dll> #using <System.Messaging.dll> using namespace System; using namespace System::Messaging; // placeholder; see complete definition elsewhere in this section public ref class Order { public: int itemId; int quantity; String^ address; void ShipItems(){} }...
20.829787
66
0.6476
hamarb123
60fb7467cd56855f2f511e3fd6c6023de48b5585
11,302
hpp
C++
include/GlobalNamespace/ColorHueSlider.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/ColorHueSlider.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/ColorHueSlider.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: HMUI.CircleSli...
63.494382
332
0.750133
Fernthedev
60fbe922ed8a64b7ceae9b263b0cb60e2a62e301
119
cpp
C++
libwx/src/Maps/MapSpin.cpp
EnjoMitch/EnjoLib
321167146657cba1497a9d3b4ffd71430f9b24b3
[ "BSD-3-Clause" ]
3
2021-06-14T15:36:46.000Z
2022-02-28T15:16:08.000Z
libwx/src/Maps/MapSpin.cpp
EnjoMitch/EnjoLib
321167146657cba1497a9d3b4ffd71430f9b24b3
[ "BSD-3-Clause" ]
1
2021-07-17T07:52:15.000Z
2021-07-17T07:52:15.000Z
libwx/src/Maps/MapSpin.cpp
EnjoMitch/EnjoLib
321167146657cba1497a9d3b4ffd71430f9b24b3
[ "BSD-3-Clause" ]
3
2021-07-12T14:52:38.000Z
2021-11-28T17:10:33.000Z
#include "MapSpin.hpp" #include <wx/spinctrl.h> MapSpin::MapSpin() { //ctor } MapSpin::~MapSpin() { //dtor }
9.153846
24
0.596639
EnjoMitch
60fdd3353c1bec13e9aba440f1f8d2410a5768c7
345
cpp
C++
src_db/base_io_stream/OutputStream.cpp
alinous-core/codable-cash
32a86a152a146c592bcfd8cc712f4e8cb38ee1a0
[ "MIT" ]
6
2019-01-06T05:02:39.000Z
2020-10-01T11:45:32.000Z
src_db/base_io_stream/OutputStream.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
209
2018-05-18T03:07:02.000Z
2022-03-26T11:42:41.000Z
src_db/base_io_stream/OutputStream.cpp
Codablecash/codablecash
8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9
[ "MIT" ]
3
2019-07-06T09:16:36.000Z
2020-10-15T08:23:28.000Z
/* * OutputStream.cpp * * Created on: 2018/04/19 * Author: iizuka */ #include "debug/debugMacros.h" #include "OutputStream.h" namespace alinous { OutputStream::OutputStream() { } OutputStream::~OutputStream() { } void OutputStream::write(const char* buffer, int size) { write(buffer, 0, size); } }...
13.269231
56
0.657971
alinous-core
8801d684bd26fb6bcbb6b3c1be97d0e1658c1342
901
cpp
C++
01.basic_algorithms/01.Sort/quickSelection/quick_selection_template.cpp
digSelf/algorithms
c0778fb9b2ad441861ed0b681f60baf2d6472109
[ "MIT" ]
4
2022-02-25T05:53:12.000Z
2022-03-21T02:42:39.000Z
01.basic_algorithms/01.Sort/quickSelection/quick_selection_template.cpp
digSelf/algorithms
c0778fb9b2ad441861ed0b681f60baf2d6472109
[ "MIT" ]
null
null
null
01.basic_algorithms/01.Sort/quickSelection/quick_selection_template.cpp
digSelf/algorithms
c0778fb9b2ad441861ed0b681f60baf2d6472109
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> const int N = 1e5 + 5; int arr[N]; // arr, [start, end], k int quickSelection(int *arr, int start, int end, int k) { // exit condition if (start >= end) return arr[start]; int left = start - 1, right = end + 1; int pivot = arr[(left + right) >> 1]; while (left <...
21.452381
74
0.473918
digSelf
88028aa144f2dcf090153252157a1b9b46e13279
8,707
cc
C++
tensorflow/lite/toco/tflite/import.cc
aeverall/tensorflow
7992bf97711919f56f80bff9e5510cead4ab2095
[ "Apache-2.0" ]
52
2018-11-12T06:39:35.000Z
2022-03-08T05:31:27.000Z
tensorflow/lite/toco/tflite/import.cc
aeverall/tensorflow
7992bf97711919f56f80bff9e5510cead4ab2095
[ "Apache-2.0" ]
2
2018-12-04T08:35:40.000Z
2020-10-22T16:17:39.000Z
tensorflow/lite/toco/tflite/import.cc
aeverall/tensorflow
7992bf97711919f56f80bff9e5510cead4ab2095
[ "Apache-2.0" ]
17
2019-03-11T01:17:16.000Z
2022-02-21T00:44:47.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...
37.530172
80
0.653153
aeverall
88092dcacdb9dacb0171f27c1fdba05360e57e51
207
hpp
C++
callback.hpp
gregvw/cython-callback-numpy-arrays
6f3bc342745ca35651d79b74616e6c37fc523fdd
[ "MIT" ]
null
null
null
callback.hpp
gregvw/cython-callback-numpy-arrays
6f3bc342745ca35651d79b74616e6c37fc523fdd
[ "MIT" ]
null
null
null
callback.hpp
gregvw/cython-callback-numpy-arrays
6f3bc342745ca35651d79b74616e6c37fc523fdd
[ "MIT" ]
null
null
null
typedef double (*Callback)( void *apply, const double &x ); void function( Callback callback, void *apply, const double *x, double *y, int n );
23
59
0.492754
gregvw
880bd00f22dbf5087fd53e5e1aff990899148672
14,303
cpp
C++
unit_tests/sharings/gl/gl_create_from_texture_tests.cpp
cwang64/compute-runtime
440520ffdc5807574f0abfbf64b3790d1c0547e4
[ "MIT" ]
null
null
null
unit_tests/sharings/gl/gl_create_from_texture_tests.cpp
cwang64/compute-runtime
440520ffdc5807574f0abfbf64b3790d1c0547e4
[ "MIT" ]
null
null
null
unit_tests/sharings/gl/gl_create_from_texture_tests.cpp
cwang64/compute-runtime
440520ffdc5807574f0abfbf64b3790d1c0547e4
[ "MIT" ]
3
2019-05-16T07:22:51.000Z
2019-11-11T03:05:32.000Z
/* * Copyright (C) 2018-2019 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "runtime/helpers/get_info.h" #include "runtime/mem_obj/image.h" #include "runtime/sharings/gl/gl_texture.h" #include "test.h" #include "unit_tests/libult/create_command_stream.h" #include "unit_tests/libult/ult_command_s...
41.33815
218
0.709851
cwang64
880f5d2038863ba860602fb540447258bd39b302
5,781
cpp
C++
src/InputSample.cpp
MSeys/PSV_2DCore_samples
3942c75391aeda9172dfed75165e80b5628a7a60
[ "MIT" ]
null
null
null
src/InputSample.cpp
MSeys/PSV_2DCore_samples
3942c75391aeda9172dfed75165e80b5628a7a60
[ "MIT" ]
null
null
null
src/InputSample.cpp
MSeys/PSV_2DCore_samples
3942c75391aeda9172dfed75165e80b5628a7a60
[ "MIT" ]
null
null
null
#include "InputSample.h" InputSample::InputSample() { } InputSample::~InputSample() { } void InputSample::Draw() const { // Note: This code was based on VitaTester (hence the code inside the Draw function instead of the respective event functions). // https://github.com/SMOKE5/VitaTester // // You can however ...
26.640553
163
0.702647
MSeys
8811e63ba85df59615c1468a1fb1ee9b480581d3
811
hpp
C++
Source/SFMLIntegration/CSprite.hpp
sizlo/TimGameLib
b70605c4b043a928645f063a2bb3b267fa91f2c6
[ "MIT" ]
null
null
null
Source/SFMLIntegration/CSprite.hpp
sizlo/TimGameLib
b70605c4b043a928645f063a2bb3b267fa91f2c6
[ "MIT" ]
null
null
null
Source/SFMLIntegration/CSprite.hpp
sizlo/TimGameLib
b70605c4b043a928645f063a2bb3b267fa91f2c6
[ "MIT" ]
null
null
null
// // CSprite.hpp // TimGameLib // // Created by Tim Brier on 18/10/2014. // Copyright (c) 2014 tbrier. All rights reserved. // #ifndef __TimeGameLib__CSprite__ #define __TimeGameLib__CSprite__ // ============================================================================= // Include files // -------------------...
27.033333
80
0.420469
sizlo
8814c5fa438660fa67acf61756d1f707129f6e9a
3,674
hpp
C++
inc/Measure.hpp
RuneKokNielsen/TopAwaRe
de5099111fca790a3ddf46aeb7f7aeae70229715
[ "MIT" ]
2
2019-11-28T11:45:50.000Z
2020-03-25T13:38:29.000Z
inc/Measure.hpp
RuneKokNielsen/TopAwaRe
de5099111fca790a3ddf46aeb7f7aeae70229715
[ "MIT" ]
null
null
null
inc/Measure.hpp
RuneKokNielsen/TopAwaRe
de5099111fca790a3ddf46aeb7f7aeae70229715
[ "MIT" ]
null
null
null
#ifndef MEASURE_HPP #define MEASURE_HPP #include "Node.hpp" #include <Image.hpp> #include "Interpolator.hpp" namespace measure{ /** * A Context holds time-local variables necessary for locally * computing a measure and its gradients. **/ struct Context{ /** * \param timesteps The number of tim...
26.056738
106
0.650517
RuneKokNielsen
8816bf9e86f575c772285e37008732f0191fcafc
42,515
cc
C++
processors/IA32/bochs/iodev/cdrom.cc
bavison/opensmalltalk-vm
d494240736f7c0309e3e819784feb1d53ed0985a
[ "MIT" ]
445
2016-06-30T08:19:11.000Z
2022-03-28T06:09:49.000Z
processors/IA32/bochs/iodev/cdrom.cc
bavison/opensmalltalk-vm
d494240736f7c0309e3e819784feb1d53ed0985a
[ "MIT" ]
439
2016-06-29T20:14:36.000Z
2022-03-17T19:59:58.000Z
processors/IA32/bochs/iodev/cdrom.cc
bavison/opensmalltalk-vm
d494240736f7c0309e3e819784feb1d53ed0985a
[ "MIT" ]
137
2016-07-02T17:32:07.000Z
2022-03-20T11:17:25.000Z
///////////////////////////////////////////////////////////////////////// // $Id: cdrom.cc,v 1.91 2008/02/15 22:05:41 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2002 MandrakeSoft S.A. // // MandrakeSoft S.A. // 43, rue d'Aboukir // 75002 Paris...
28.745774
136
0.607809
bavison
8818cfcc689f073b42bba15806349f2a6b9723ae
3,594
cpp
C++
main.cpp
rogii-com/SceneSample
df414805899a4ef7e76d62840c2173934bcc6dd6
[ "MIT" ]
3
2019-12-23T12:36:18.000Z
2021-07-24T09:16:13.000Z
main.cpp
rogii-com/SceneSample
df414805899a4ef7e76d62840c2173934bcc6dd6
[ "MIT" ]
null
null
null
main.cpp
rogii-com/SceneSample
df414805899a4ef7e76d62840c2173934bcc6dd6
[ "MIT" ]
4
2019-12-23T11:35:21.000Z
2020-01-09T17:04:46.000Z
#include <QApplication> #include <QQuickView> #include <QQmlEngine> #include "Scene.hpp" #include "LogTrackSceneCameraManipulator.hpp" #include "LineStrip.hpp" class Helper : public QObject { Q_OBJECT public: enum Direction { Horizontal = 0x1, Vertical = 0x2 }; Q_DECLARE_FLAGS(Di...
31.526316
104
0.625765
rogii-com
881afe4df63cbad01e892ec69a5829f625bbdc71
5,329
cpp
C++
components/eam/src/physics/crm/samxx/shear_prod2D.cpp
katsmith133/E3SM
996c7e7aa3150822b81b0e34c427b820c74268a2
[ "BSD-3-Clause" ]
null
null
null
components/eam/src/physics/crm/samxx/shear_prod2D.cpp
katsmith133/E3SM
996c7e7aa3150822b81b0e34c427b820c74268a2
[ "BSD-3-Clause" ]
null
null
null
components/eam/src/physics/crm/samxx/shear_prod2D.cpp
katsmith133/E3SM
996c7e7aa3150822b81b0e34c427b820c74268a2
[ "BSD-3-Clause" ]
null
null
null
#include "shear_prod2D.h" void shear_prod2D(real4d &def2) { YAKL_SCOPE( dx , :: dx ); YAKL_SCOPE( dz , :: dz ); YAKL_SCOPE( adz , :: adz ); YAKL_SCOPE( adzw , :: adzw ); YAKL_SCOPE( u , :: u ); YAKL_SCOPE( v , :: v ); YAKL_SCOPE( w ...
52.245098
117
0.536874
katsmith133
881bcd5f5848285edc638fdb9594440aa969d9cd
2,317
cpp
C++
NeuKaDiS/KaDiS/external/RBC/external/tlx/tlx/string/compare_icase.cpp
bingmann/distributed-string-sorting
238bdfd5f6139f2f14e33aed7b4d9bbffac5d295
[ "BSD-2-Clause" ]
284
2017-02-26T08:49:15.000Z
2022-03-30T21:55:37.000Z
NeuKaDiS/KaDiS/external/RBC/external/tlx/tlx/string/compare_icase.cpp
bingmann/distributed-string-sorting
238bdfd5f6139f2f14e33aed7b4d9bbffac5d295
[ "BSD-2-Clause" ]
24
2017-09-05T21:02:41.000Z
2022-03-07T10:09:59.000Z
NeuKaDiS/KaDiS/external/RBC/external/tlx/tlx/string/compare_icase.cpp
bingmann/distributed-string-sorting
238bdfd5f6139f2f14e33aed7b4d9bbffac5d295
[ "BSD-2-Clause" ]
62
2017-02-23T12:29:27.000Z
2022-03-31T07:45:59.000Z
/******************************************************************************* * tlx/string/compare_icase.cpp * * Part of tlx - http://panthema.net/tlx * * Copyright (C) 2007-2017 Timo Bingmann <[email protected]> * * All rights reserved. Published under the Boost Software License, Version 1.0 *****************...
24.648936
80
0.45792
bingmann
881c429235adc29f370d5f644492664e29004cc0
697
cpp
C++
Test/FastFourierTransform.test.cpp
tkmst201/library
3abe841f5dde6078e8f26c9fd5d1a0716d4edc7d
[ "CC0-1.0" ]
null
null
null
Test/FastFourierTransform.test.cpp
tkmst201/library
3abe841f5dde6078e8f26c9fd5d1a0716d4edc7d
[ "CC0-1.0" ]
null
null
null
Test/FastFourierTransform.test.cpp
tkmst201/library
3abe841f5dde6078e8f26c9fd5d1a0716d4edc7d
[ "CC0-1.0" ]
null
null
null
#define PROBLEM "https://judge.yosupo.jp/problem/frequency_table_of_tree_distance" #include "GraphTheory/CentroidDecomposition.hpp" #include "Convolution/FastFourierTransform.hpp" #include "Algorithm/frequency_table_of_tree_distance.hpp" #include <cstdio> #include <vector> int main() { int N; scanf("%d"...
31.681818
100
0.658537
tkmst201
8820d7c40c0d4b7395950dbe80bb81a78815f8f5
1,225
cpp
C++
src/executors/loadmatrix.cpp
bhavyajeet/Project-PreQL
9a8fffe450a37b324f09b53fbc1bc762aa7cc556
[ "MIT" ]
null
null
null
src/executors/loadmatrix.cpp
bhavyajeet/Project-PreQL
9a8fffe450a37b324f09b53fbc1bc762aa7cc556
[ "MIT" ]
null
null
null
src/executors/loadmatrix.cpp
bhavyajeet/Project-PreQL
9a8fffe450a37b324f09b53fbc1bc762aa7cc556
[ "MIT" ]
null
null
null
#include "global.h" /** * @brief * SYNTAX: LOAD relation_name */ bool syntacticParseLOADMATRIX() { logger.log("syntacticParseLOADMATRIX"); if (tokenizedQuery.size() != 3) { cout << "SYNTAX ERROR PLEASE SPECIFY MATRIX NAME" << endl; return false; } parsedQuery.queryTy...
26.06383
118
0.62449
bhavyajeet
88220f53e046ce6c80b1138b272aac1adbc5884b
1,502
cpp
C++
regression/advection_pdbott_prepare_tracers.cpp
aurianer/gridtools
5f99471bf36215e2a53317d2c7844bf057231ffa
[ "BSD-3-Clause" ]
null
null
null
regression/advection_pdbott_prepare_tracers.cpp
aurianer/gridtools
5f99471bf36215e2a53317d2c7844bf057231ffa
[ "BSD-3-Clause" ]
null
null
null
regression/advection_pdbott_prepare_tracers.cpp
aurianer/gridtools
5f99471bf36215e2a53317d2c7844bf057231ffa
[ "BSD-3-Clause" ]
null
null
null
/* * GridTools * * Copyright (c) 2014-2019, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #include <vector> #include <gtest/gtest.h> #include <gridtools/stencil_composition/cartesian.hpp> #include <gridtools/tools/car...
25.033333
114
0.62783
aurianer
88225addc320c91a69c06e582c018e8bc49de7b2
226
hpp
C++
libraries/singularity/singularity/include/graphene/poi/singularity.hpp
petrkotegov/gravity-core
52c9a96126739c33ee0681946e1d88c5be9a6190
[ "MIT" ]
8
2018-05-25T17:58:46.000Z
2018-06-23T21:13:26.000Z
libraries/singularity/singularity/include/graphene/poi/singularity.hpp
petrkotegov/gravity-core
52c9a96126739c33ee0681946e1d88c5be9a6190
[ "MIT" ]
14
2018-05-25T19:44:30.000Z
2018-08-03T11:35:27.000Z
libraries/singularity/singularity/include/graphene/poi/singularity.hpp
petrkotegov/gravity-core
52c9a96126739c33ee0681946e1d88c5be9a6190
[ "MIT" ]
6
2018-05-30T04:37:46.000Z
2019-03-05T14:47:34.000Z
#ifndef SINGULARITY_HPP #define SINGULARITY_HPP #include <graphene/singularity/emission.hpp> #include <graphene/singularity/gravity_index_calculator.hpp> #include <graphene/singularity/activity_index_calculator.hpp> #endif
22.6
61
0.845133
petrkotegov
882407e038138ed1b82282d20ca8912d00060b27
17,985
cc
C++
plugin_injector/plugin_injector.cc
teamsimplepay/sorbet
8c2053b1b1e2e6d1f721e7b52335fbba478ef114
[ "Apache-2.0" ]
null
null
null
plugin_injector/plugin_injector.cc
teamsimplepay/sorbet
8c2053b1b1e2e6d1f721e7b52335fbba478ef114
[ "Apache-2.0" ]
null
null
null
plugin_injector/plugin_injector.cc
teamsimplepay/sorbet
8c2053b1b1e2e6d1f721e7b52335fbba478ef114
[ "Apache-2.0" ]
1
2021-12-02T07:50:49.000Z
2021-12-02T07:50:49.000Z
// These violate our poisons so have to happen first #include "llvm/IR/DIBuilder.h" #include "llvm/IR/IRBuilder.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Module.h" #include "llvm/Support/Host.h" #include "llvm/Transforms/Utils/Cloning.h" #include "absl/cleanup/cleanup.h" #include "absl/strings/str_split.h"...
41.923077
120
0.617125
teamsimplepay
88243da6da01aa28eae1f7e434b85f789ab9feaa
2,757
hpp
C++
include/tmxlite/ObjectGroup.hpp
jsundgren/MindTheGap
baddbf2b50bd0b136f303402bcf2e26f3e089ba9
[ "MIT" ]
9
2018-11-11T12:56:29.000Z
2021-11-14T20:38:00.000Z
UrsusEngine/tmxlite/include/tmxlite/ObjectGroup.hpp
l1ttl3-Sh4m4n/UrsusEngine
a18074a6aae118ad6321ab6b352ad9904eff2070
[ "MIT" ]
null
null
null
UrsusEngine/tmxlite/include/tmxlite/ObjectGroup.hpp
l1ttl3-Sh4m4n/UrsusEngine
a18074a6aae118ad6321ab6b352ad9904eff2070
[ "MIT" ]
5
2018-11-11T21:16:29.000Z
2021-09-13T14:59:22.000Z
/********************************************************************* Matt Marchant 2016 http://trederia.blogspot.com tmxlite - Zlib license. 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. ...
32.05814
85
0.65506
jsundgren
88270e6a33ee9696f778d082a73fe4ba2efbac20
751
cpp
C++
Practice Programs/chef_and_rainbow_array.cpp
C-Nikks/CPP_Language_Programs
e3ed1990aedd6b41f2746cdab7661c40f24d5588
[ "MIT" ]
3
2021-02-04T17:59:00.000Z
2022-01-29T17:21:42.000Z
Practice Programs/chef_and_rainbow_array.cpp
C-Nikks/CPP_Language_Programs
e3ed1990aedd6b41f2746cdab7661c40f24d5588
[ "MIT" ]
null
null
null
Practice Programs/chef_and_rainbow_array.cpp
C-Nikks/CPP_Language_Programs
e3ed1990aedd6b41f2746cdab7661c40f24d5588
[ "MIT" ]
3
2021-10-02T14:38:21.000Z
2021-10-05T06:19:22.000Z
#include <iostream> using namespace std; int main() { int T; cin >> T; while (T--) { int N, half, flag = 0; cin >> N; int arr[N]; for (int i = 0; i < N; i++) { cin >> arr[i]; } int count = 0; if (arr[N / 2] == 7 && arr[0] == 1) ...
19.763158
101
0.274301
C-Nikks