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
6b91940f5e4de26027991a0e6671bceb3c08b61c
3,735
cc
C++
firestore/src/common/listener_registration.cc
NetsoftHoldings/firebase-cpp-sdk
356c63bddde5ed76483cbfc5f3ff5b228c5cbe1f
[ "Apache-2.0" ]
null
null
null
firestore/src/common/listener_registration.cc
NetsoftHoldings/firebase-cpp-sdk
356c63bddde5ed76483cbfc5f3ff5b228c5cbe1f
[ "Apache-2.0" ]
null
null
null
firestore/src/common/listener_registration.cc
NetsoftHoldings/firebase-cpp-sdk
356c63bddde5ed76483cbfc5f3ff5b228c5cbe1f
[ "Apache-2.0" ]
null
null
null
#include "firestore/src/include/firebase/firestore/listener_registration.h" #include <utility> #include "firestore/src/common/cleanup.h" #if defined(__ANDROID__) #include "firestore/src/android/listener_registration_android.h" #elif defined(FIRESTORE_STUB_BUILD) #include "firestore/src/stub/listener_registration_stu...
34.583333
80
0.754752
NetsoftHoldings
6b944121c76ab19157aa731af2fbefcb3ec68d43
3,362
cpp
C++
wpimath/src/test/native/cpp/filter/LinearFilterOutputTest.cpp
liorsagy/allwpilib
3838cc4ec48d4bf38815565fab016f0c4f746585
[ "BSD-3-Clause" ]
null
null
null
wpimath/src/test/native/cpp/filter/LinearFilterOutputTest.cpp
liorsagy/allwpilib
3838cc4ec48d4bf38815565fab016f0c4f746585
[ "BSD-3-Clause" ]
null
null
null
wpimath/src/test/native/cpp/filter/LinearFilterOutputTest.cpp
liorsagy/allwpilib
3838cc4ec48d4bf38815565fab016f0c4f746585
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #include "frc/filter/LinearFilter.h" // NOLINT(build/include_order) #include <cmath> #include <functional> #include <m...
27.785124
77
0.665675
liorsagy
6b95e79e995335c6323e9e09400bd830da835586
3,751
hpp
C++
include/motion_manager/scenario.hpp
JoaoQPereira/motion_manager
de853e9341c482a0c13e0ba7b78429c019890507
[ "MIT" ]
null
null
null
include/motion_manager/scenario.hpp
JoaoQPereira/motion_manager
de853e9341c482a0c13e0ba7b78429c019890507
[ "MIT" ]
null
null
null
include/motion_manager/scenario.hpp
JoaoQPereira/motion_manager
de853e9341c482a0c13e0ba7b78429c019890507
[ "MIT" ]
null
null
null
#ifndef SCENARIO_HPP #define SCENARIO_HPP #include "robot.hpp" #include "object.hpp" #include "pose.hpp" #include "waypoint.hpp" namespace motion_manager { typedef boost::shared_ptr<Robot> robotPtr; /**< shared pointer to a robot */ typedef boost::shared_ptr<Object> objectPtr; /**< shared pointer to an object*/ type...
22.195266
87
0.597174
JoaoQPereira
6ba7c527633cf9a4f1de6d4670ab5afbd46e649e
1,472
cpp
C++
Source/OpenExrWrapper/OpenExrWrapper.cpp
TQwan/ExrMedia
3934b82b85c4f0c00987c535fb0a2fb2d1602034
[ "MIT" ]
null
null
null
Source/OpenExrWrapper/OpenExrWrapper.cpp
TQwan/ExrMedia
3934b82b85c4f0c00987c535fb0a2fb2d1602034
[ "MIT" ]
null
null
null
Source/OpenExrWrapper/OpenExrWrapper.cpp
TQwan/ExrMedia
3934b82b85c4f0c00987c535fb0a2fb2d1602034
[ "MIT" ]
null
null
null
#pragma warning(push) #pragma warning(disable:28251) #include "OpenExrWrapper.h" #include "ImathBox.h" #include "ImfHeader.h" #include "ImfRgbaFile.h" #include "ImfStandardAttributes.h" #include "Modules/ModuleManager.h" FRgbaInputFile::FRgbaInputFile(const FString& FilePath) { InputFile = new Imf::RgbaInputFile(T...
22.30303
124
0.737772
TQwan
6ba92bcc7a6c613243d8ed0b8e0389b6bb8563f7
4,491
hpp
C++
include/estd/tuple/for_each.hpp
fizyr/estd
6562e7d3d21972f9eee7f4b36dfd381b4ae9d2bf
[ "BSD-3-Clause" ]
9
2018-07-28T21:37:28.000Z
2021-12-20T22:24:14.000Z
include/estd/tuple/for_each.hpp
fizyr/estd
6562e7d3d21972f9eee7f4b36dfd381b4ae9d2bf
[ "BSD-3-Clause" ]
8
2019-05-17T18:40:19.000Z
2021-10-11T09:35:08.000Z
include/estd/tuple/for_each.hpp
fizyr/estd
6562e7d3d21972f9eee7f4b36dfd381b4ae9d2bf
[ "BSD-3-Clause" ]
4
2019-02-23T13:39:26.000Z
2021-12-20T22:24:19.000Z
/* Copyright 2017-2018 Fizyr B.V. - https://fizyr.com * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and ...
41.583333
97
0.717435
fizyr
6baa61169badd91f1029ae2817562f354457a866
1,103
cpp
C++
linear-list/array/median_of_two_sorted_arrays.cpp
zhangxin23/leetcode
4c8fc60e59448045a3e880caaedd0486164e68e7
[ "MIT" ]
1
2015-07-15T07:31:42.000Z
2015-07-15T07:31:42.000Z
linear-list/array/median_of_two_sorted_arrays.cpp
zhangxin23/leetcode
4c8fc60e59448045a3e880caaedd0486164e68e7
[ "MIT" ]
null
null
null
linear-list/array/median_of_two_sorted_arrays.cpp
zhangxin23/leetcode
4c8fc60e59448045a3e880caaedd0486164e68e7
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; /** * There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. * The overall run time complexity should be O(log(m + n)). * */ class Solution { public: double findMedian(int A[], int m, int B[], int n) { int to...
29.026316
110
0.4932
zhangxin23
6bb02840355fc14356f0266998b0c1ed3b7128db
25,634
hpp
C++
include/virt_wrap/Domain.hpp
AeroStun/virthttp
d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad
[ "Apache-2.0" ]
7
2019-08-22T20:48:15.000Z
2021-12-31T16:08:59.000Z
include/virt_wrap/Domain.hpp
AeroStun/virthttp
d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad
[ "Apache-2.0" ]
10
2019-08-22T21:40:43.000Z
2020-09-03T14:21:21.000Z
include/virt_wrap/Domain.hpp
AeroStun/virthttp
d6ae9d752721aa5ecc74dbc2dbb54de917ba31ad
[ "Apache-2.0" ]
2
2019-08-22T21:08:28.000Z
2019-08-23T21:31:56.000Z
// // Created by _as on 2019-01-31. // #ifndef VIRTPP_DOMAIN_HPP #define VIRTPP_DOMAIN_HPP #include <filesystem> #include <stdexcept> #include <variant> #include <vector> #include <gsl/gsl> #include "../cexpr_algs.hpp" #include "enums/Connection/Decls.hpp" #include "enums/Domain/Decls.hpp" #include "enums/Domain/Doma...
43.082353
150
0.721815
AeroStun
6bb046663e3e1ca84b74ca857009a40e40915b9b
7,473
cpp
C++
src/tohir.cpp
kimmoli/tohiri-app
8508dd05bf55847158c3d1ed99fa6dad2d013bfb
[ "MIT" ]
1
2017-10-06T10:39:50.000Z
2017-10-06T10:39:50.000Z
src/tohir.cpp
kimmoli/tohiri-app
8508dd05bf55847158c3d1ed99fa6dad2d013bfb
[ "MIT" ]
null
null
null
src/tohir.cpp
kimmoli/tohiri-app
8508dd05bf55847158c3d1ed99fa6dad2d013bfb
[ "MIT" ]
null
null
null
#include "tohir.h" #include <QSettings> #include <QCoreApplication> #include <QTime> #include <QtDBus/QtDBus> #include <QDBusArgument> #include "amg883x.h" TohIR::TohIR(QObject *parent) : QObject(parent) { // Create seed for the random // That is needed only once on application startup QTime time = ...
23.951923
93
0.569785
kimmoli
6bb36bd032f4b3ce1e8c05db64801b82f06516de
1,159
cpp
C++
solutions/c++/problems/[0013_Medium] 3Sum.cpp
RageBill/leetcode
a11d411f4e38b5c3f05ca506a193f50b25294497
[ "MIT" ]
6
2021-02-20T14:00:22.000Z
2022-03-31T15:26:44.000Z
solutions/c++/problems/[0013_Medium] 3Sum.cpp
RageBill/leetcode
a11d411f4e38b5c3f05ca506a193f50b25294497
[ "MIT" ]
null
null
null
solutions/c++/problems/[0013_Medium] 3Sum.cpp
RageBill/leetcode
a11d411f4e38b5c3f05ca506a193f50b25294497
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Solution { public: void twoSum(vector<vector<int>> &ans, vector<int> &nums, int checkIndex) { int startIndex = checkIndex + 1; int endIndex = nums.size() - 1; while (startIndex < endIndex) { int sum = nums[checkIndex] + nums[s...
31.324324
92
0.458154
RageBill
6bb9112c3fbad4bf1581a6992d7a8b50ca744543
1,859
cpp
C++
samples/snippets/cpp/VS_Snippets_Misc/NVC_MFC_VisualStudioDemo/cpp/OptionsDlg.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
3,294
2016-10-30T05:27:20.000Z
2022-03-31T15:59:30.000Z
samples/snippets/cpp/VS_Snippets_Misc/NVC_MFC_VisualStudioDemo/cpp/OptionsDlg.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
16,739
2016-10-28T19:41:29.000Z
2022-03-31T22:38:48.000Z
samples/snippets/cpp/VS_Snippets_Misc/NVC_MFC_VisualStudioDemo/cpp/OptionsDlg.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
6,701
2016-10-29T20:56:11.000Z
2022-03-31T12:32:26.000Z
// This is a part of the Microsoft Foundation Classes C++ library. // Copyright (c) Microsoft Corporation. All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provided with the library. // See these source...
31.508475
84
0.726735
BaruaSourav
6bb9dfbae9a01e9d577d0bf2e58ac25b2a56466c
18,531
cpp
C++
src/Passes/HFSortPlus.cpp
davidmalcolm/BOLT
c5c46ca08fd846fb22e032a965fbccf2b0415861
[ "NCSA" ]
2
2019-04-14T20:18:08.000Z
2020-02-18T19:31:51.000Z
src/Passes/HFSortPlus.cpp
davidmalcolm/BOLT
c5c46ca08fd846fb22e032a965fbccf2b0415861
[ "NCSA" ]
null
null
null
src/Passes/HFSortPlus.cpp
davidmalcolm/BOLT
c5c46ca08fd846fb22e032a965fbccf2b0415861
[ "NCSA" ]
1
2022-01-12T17:53:25.000Z
2022-01-12T17:53:25.000Z
//===--- HFSortPlus.cpp - Cluster functions by hotness --------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
35.705202
84
0.640656
davidmalcolm
6bba3869449de6031b534304680e1472cc4667b2
9,225
cpp
C++
WndDesign3/IME simplification/temp2/merged.cpp
hchenqi/CppTest
ae650409282b6ad7a0bd12cb67b961777e16c208
[ "MIT" ]
null
null
null
WndDesign3/IME simplification/temp2/merged.cpp
hchenqi/CppTest
ae650409282b6ad7a0bd12cb67b961777e16c208
[ "MIT" ]
null
null
null
WndDesign3/IME simplification/temp2/merged.cpp
hchenqi/CppTest
ae650409282b6ad7a0bd12cb67b961777e16c208
[ "MIT" ]
null
null
null
#include <string> #include <Windows.h> using Point = struct { int x; int y; }; using Size = struct { int width; int height; }; using Rect = struct { Point point; Size size; }; using uint = unsigned; Rect region_empty = {}; using std::wstring; class IMM32Manager { public: bool is_composing() const { return is_...
25.912921
105
0.738211
hchenqi
6bbbf22c8780a6b1604e2f72380c1489c216407f
1,182
cpp
C++
algospot/PALINDROMIZE.cpp
Jeongseo21/Algorithm-1
1bce4f3d2328c3b3e24b9d7772fca43090a285e1
[ "MIT" ]
7
2019-08-05T14:49:41.000Z
2022-03-13T07:10:51.000Z
algospot/PALINDROMIZE.cpp
Jeongseo21/Algorithm-1
1bce4f3d2328c3b3e24b9d7772fca43090a285e1
[ "MIT" ]
null
null
null
algospot/PALINDROMIZE.cpp
Jeongseo21/Algorithm-1
1bce4f3d2328c3b3e24b9d7772fca43090a285e1
[ "MIT" ]
4
2021-01-04T03:45:22.000Z
2021-10-06T06:11:00.000Z
/** * problem: https://algospot.com/judge/problem/read/PALINDROMIZE * time complexity: O(N + M) * data structure: string * algorithm : KMP */ #include <string> #include <vector> #include <algorithm> #include <iostream> using namespace std; vector<int> getPi(string s) { int size = s.size(); vector<int> pi(size, 0);...
16.885714
63
0.560068
Jeongseo21
6bbfaf18cd50d27c0e14dec503a315c9aa3532e6
7,982
hpp
C++
include/unitig_distance/SingleGenomeGraphDistances.hpp
jurikuronen/unitig_distance
d32af0684d699e49698df39c79cf0cb9efbaca0f
[ "MIT" ]
null
null
null
include/unitig_distance/SingleGenomeGraphDistances.hpp
jurikuronen/unitig_distance
d32af0684d699e49698df39c79cf0cb9efbaca0f
[ "MIT" ]
null
null
null
include/unitig_distance/SingleGenomeGraphDistances.hpp
jurikuronen/unitig_distance
d32af0684d699e49698df39c79cf0cb9efbaca0f
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <map> #include <set> #include <thread> #include <unordered_map> #include <utility> #include <vector> #include "Graph.hpp" #include "SearchJobs.hpp" #include "Timer.hpp" #include "types.hpp" using distance_tuple_t = std::tuple<real_t, real_t, real_t, int_t>; class SingleGeno...
47.796407
164
0.638436
jurikuronen
6bc00f04ffb14089e11392466b46d313d66f95a8
1,609
cpp
C++
src/GameObject.cpp
Delpod/This-Hero-That-Villain
0dc504acf3ac5d0cb39cd14c47f2e08880a6f169
[ "Zlib", "Apache-2.0" ]
null
null
null
src/GameObject.cpp
Delpod/This-Hero-That-Villain
0dc504acf3ac5d0cb39cd14c47f2e08880a6f169
[ "Zlib", "Apache-2.0" ]
null
null
null
src/GameObject.cpp
Delpod/This-Hero-That-Villain
0dc504acf3ac5d0cb39cd14c47f2e08880a6f169
[ "Zlib", "Apache-2.0" ]
null
null
null
#include "GameObject.h" #include "Game.h" GameObject::GameObject(sf::Texture &texture, sf::IntRect coords, bool collidable, sf::IntRect collisionRect, float scale, bool loopTexture) { load(texture, coords, collidable, collisionRect, scale, loopTexture); } void GameObject::load(sf::Texture &texture, sf::IntRect coord...
32.836735
147
0.720945
Delpod
6bc0a61e9819b029a89053351a8108e4a04a981d
3,681
cpp
C++
dpcpp/solver/multigrid_kernels.dp.cpp
kliegeois/ginkgo
4defcc07f77828393cc5b4a735a00e50da2cbab0
[ "BSD-3-Clause" ]
null
null
null
dpcpp/solver/multigrid_kernels.dp.cpp
kliegeois/ginkgo
4defcc07f77828393cc5b4a735a00e50da2cbab0
[ "BSD-3-Clause" ]
null
null
null
dpcpp/solver/multigrid_kernels.dp.cpp
kliegeois/ginkgo
4defcc07f77828393cc5b4a735a00e50da2cbab0
[ "BSD-3-Clause" ]
null
null
null
/*******************************<GINKGO LICENSE>****************************** Copyright (c) 2017-2022, the Ginkgo authors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source co...
38.747368
80
0.707416
kliegeois
6bc16ddb7a1cb31d1f0341bef91db5c930e1083b
3,579
cc
C++
celeriteflow/ops/celerite_mat_mul_op.cc
mirca/celeriteflow
ed09a178df05856097552a9081b6eb6d537216ee
[ "MIT" ]
null
null
null
celeriteflow/ops/celerite_mat_mul_op.cc
mirca/celeriteflow
ed09a178df05856097552a9081b6eb6d537216ee
[ "MIT" ]
null
null
null
celeriteflow/ops/celerite_mat_mul_op.cc
mirca/celeriteflow
ed09a178df05856097552a9081b6eb6d537216ee
[ "MIT" ]
null
null
null
#include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/platform/default/logging.h" #include "tensorflow/core/framework/shape_inference.h" #include <Eigen/Core> #include "celerite.h" using namespace tensorflow; REGISTER_OP("CeleriteMatMul") .A...
37.28125
107
0.633417
mirca
6bc5c00e3ba8df358133ec650a78a55ef630622f
1,803
cpp
C++
data/randgen.cpp
dhruvarya/simple-ra
2cb3930d5fe75a96c335a55d788d697016d282d4
[ "MIT" ]
null
null
null
data/randgen.cpp
dhruvarya/simple-ra
2cb3930d5fe75a96c335a55d788d697016d282d4
[ "MIT" ]
null
null
null
data/randgen.cpp
dhruvarya/simple-ra
2cb3930d5fe75a96c335a55d788d697016d282d4
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long int ll; typedef long double ld; //**************************************************** #define lp(var,start,end) for (ll var = start; var <end ; ++var) #define rlp(var,start,end) for(ll var = start; var>=end ; var--) #define pb push_back #...
26.910448
127
0.455352
dhruvarya
6bc8e91192d4e68013effdd9d29d505977138ac2
3,386
cpp
C++
EngineTests/Base/Window/Test.Window.cpp
azhirnov/GraphicsGenFramework-modular
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
12
2017-12-23T14:24:57.000Z
2020-10-02T19:52:12.000Z
EngineTests/Base/Window/Test.Window.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
EngineTests/Base/Window/Test.Window.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #include "../Common.h" class WindowApp final : public StaticRefCountedObject { // variables private: TModID::type windowID = Uninitialized; CreateInfo::Window wndDescr; ModulePtr taskMngr; String name; bool looping = true; // m...
24.897059
160
0.692853
azhirnov
6bcc99682f3eef97bab2cabf0616f7dc2d12b849
1,542
hpp
C++
libs/Delphi/src/Syntax/DelphiExceptionHandlerBlockSyntax.hpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
null
null
null
libs/Delphi/src/Syntax/DelphiExceptionHandlerBlockSyntax.hpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
19
2021-12-01T20:37:23.000Z
2022-02-14T21:05:43.000Z
libs/Delphi/src/Syntax/DelphiExceptionHandlerBlockSyntax.hpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
null
null
null
#ifndef ARGOS_DELPHI_SYNTAX_DELPHIEXCEPTIONHANDLERBLOCKSYNTAX_H #define ARGOS_DELPHI_SYNTAX_DELPHIEXCEPTIONHANDLERBLOCKSYNTAX_H #include <string> #include <argos-Core/Syntax/SyntaxVariant.hpp> #include <argos-Core/Types.hpp> #include "Syntax/DelphiExceptionBlockSyntax.hpp" namespace argos::Delphi::Syntax { class D...
32.808511
111
0.789235
henrikfroehling
6bcfd640a0e1ecec09b4cded265770aa49c19d34
1,787
cpp
C++
src/gr_common/arduino/lib/SD/iSdio.cpp
takjn/LiMoRo
df4d2cfc63d8d253e7cdbcf3169668313a77fda9
[ "MIT" ]
null
null
null
src/gr_common/arduino/lib/SD/iSdio.cpp
takjn/LiMoRo
df4d2cfc63d8d253e7cdbcf3169668313a77fda9
[ "MIT" ]
null
null
null
src/gr_common/arduino/lib/SD/iSdio.cpp
takjn/LiMoRo
df4d2cfc63d8d253e7cdbcf3169668313a77fda9
[ "MIT" ]
null
null
null
/* Arduino Sdio Library * Copyright (C) 2014 by Munehiro Doi, Fixstars Corporation * All rights reserved. * Released under the BSD 2-Clause license. * http://flashair-developers.com/documents/license.html */ #include "iSdio.h" //-----------------------------------------------------------------------...
34.365385
81
0.531617
takjn
6bd6aaca58fb1c46b211a7d95f3d98388988dc91
3,400
cpp
C++
src/main.cpp
mdarocha/software-renderer
e90a24c67dc7a0b71b69b019f1a71e17d6b9f7c1
[ "MIT" ]
null
null
null
src/main.cpp
mdarocha/software-renderer
e90a24c67dc7a0b71b69b019f1a71e17d6b9f7c1
[ "MIT" ]
null
null
null
src/main.cpp
mdarocha/software-renderer
e90a24c67dc7a0b71b69b019f1a71e17d6b9f7c1
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <cmath> #include "ppm_image.h" #include "realtime_target.h" #include "obj_model.h" #include "drawing_utils.h" #include "camera.h" #include "matrix.h" #include "shader/gouraud.h" #include "fallback_image.h" void render_to_image(OBJModel &model, std::string &output, int ...
29.310345
119
0.600882
mdarocha
6be3ce9424a513ae5e03d0253dbff274f99bcc12
4,016
hpp
C++
include/roq/support_type.hpp
roq-trading/tradingapi
13dbcec50eab53627bc29112ffe3cdd81acadda3
[ "MIT" ]
1
2018-03-27T15:43:57.000Z
2018-03-27T15:43:57.000Z
include/roq/support_type.hpp
roq-trading/roq
13dbcec50eab53627bc29112ffe3cdd81acadda3
[ "MIT" ]
null
null
null
include/roq/support_type.hpp
roq-trading/roq
13dbcec50eab53627bc29112ffe3cdd81acadda3
[ "MIT" ]
null
null
null
/* Copyright (c) 2017-2022, Hans Erik Thrane */ /* !!! THIS FILE HAS BEEN AUTO-GENERATED !!! */ #pragma once #include <fmt/format.h> #include <cassert> namespace roq { //! Enumeration of support types enum class SupportType : uint64_t { UNDEFINED = 0x0, REFERENCE_DATA = 0x1, //!< Reference data MARKET_ST...
29.970149
64
0.594871
roq-trading
6be618e507d7d6293f6b5c02daf1e5fc86a6f92d
601
cpp
C++
ecs/src/v2/model/NovaDeleteKeypairResponse.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
5
2021-03-03T08:23:43.000Z
2022-02-16T02:16:39.000Z
ecs/src/v2/model/NovaDeleteKeypairResponse.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
null
null
null
ecs/src/v2/model/NovaDeleteKeypairResponse.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
7
2021-02-26T13:53:35.000Z
2022-03-18T02:36:43.000Z
#include "huaweicloud/ecs/v2/model/NovaDeleteKeypairResponse.h" namespace HuaweiCloud { namespace Sdk { namespace Ecs { namespace V2 { namespace Model { NovaDeleteKeypairResponse::NovaDeleteKeypairResponse() { } NovaDeleteKeypairResponse::~NovaDeleteKeypairResponse() = default; void NovaDeleteKeypairResponse::...
12.787234
69
0.718802
yangzhaofeng
6be9dd97171a2aa486601635c8e8dda5b9ed1925
1,776
hpp
C++
components/esm/loadarmo.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
components/esm/loadarmo.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
components/esm/loadarmo.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#ifndef OPENMW_ESM_ARMO_H #define OPENMW_ESM_ARMO_H #include <vector> #include <string> namespace ESM { class ESMReader; class ESMWriter; enum PartReferenceType { PRT_Head = 0, PRT_Hair = 1, PRT_Neck = 2, PRT_Cuirass = 3, PRT_Groin = 4, PRT_Skirt = 5, PRT_RHand = 6, PRT_LHand = 7, ...
17.584158
61
0.595158
Bodillium
6beb0d9741fc27424f21b76c2d366be331157040
4,325
cpp
C++
src/adera/ShipResources.cpp
haennes/osp-magnum
242958d71ab34a79250b9f426d97ab4dfdfc775f
[ "MIT" ]
null
null
null
src/adera/ShipResources.cpp
haennes/osp-magnum
242958d71ab34a79250b9f426d97ab4dfdfc775f
[ "MIT" ]
null
null
null
src/adera/ShipResources.cpp
haennes/osp-magnum
242958d71ab34a79250b9f426d97ab4dfdfc775f
[ "MIT" ]
null
null
null
/** * Open Space Program * Copyright © 2019-2021 Open Space Program Project * * MIT License * * 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 li...
30.244755
88
0.734335
haennes
6bebe0f00f8e89c11eca50d3c436266227bfdbfc
676
cc
C++
test/stack.cc
leeliliang/cocoyaxi
0117286d13fd9c97053b665016c7bf2190bab441
[ "MIT" ]
210
2022-01-05T06:40:17.000Z
2022-03-31T18:44:44.000Z
test/stack.cc
leeliliang/cocoyaxi
0117286d13fd9c97053b665016c7bf2190bab441
[ "MIT" ]
13
2022-01-07T03:21:44.000Z
2022-03-03T00:46:39.000Z
test/stack.cc
leeliliang/cocoyaxi
0117286d13fd9c97053b665016c7bf2190bab441
[ "MIT" ]
28
2022-01-11T08:13:42.000Z
2022-03-30T02:55:03.000Z
#include "co/log.h" #include "co/thread.h" #include "co/time.h" #include "co/co.h" DEF_bool(t, false, "if true, run test in thread"); DEF_bool(m, false, "if true, run test in main thread"); DEF_bool(check, false, "if true, run CHECK test"); void a() { char* p = 0; if (FLG_check) { CHECK_EQ...
16.095238
56
0.470414
leeliliang
6bee2e0544918db2846467ec14f201e34f03de9c
426
cpp
C++
test/nim_test/nim_play.cpp
mascaretti/mcts
08916e494a3689622b809452fd47f1c841d3a40b
[ "MIT" ]
3
2019-04-02T23:21:49.000Z
2021-06-02T12:33:23.000Z
test/nim_test/nim_play.cpp
mascaretti/mcts
08916e494a3689622b809452fd47f1c841d3a40b
[ "MIT" ]
1
2018-11-12T17:57:28.000Z
2018-11-12T17:57:28.000Z
test/nim_test/nim_play.cpp
mascaretti/mcts
08916e494a3689622b809452fd47f1c841d3a40b
[ "MIT" ]
1
2020-09-28T02:46:11.000Z
2020-09-28T02:46:11.000Z
#include "nim.hpp" int main(int argc, char const *argv[]) { game::Nim::NimGame<> test_game; do { std::cout << "Play a move" << '\n'; std::cout << "Insert pile: "; unsigned int pile; std::cin >> pile; std::cout << "Insert number: "; unsigned int number; std::cin >> number; test_game.apply_action({...
16.384615
52
0.615023
mascaretti
6bee5b993ad513d43fac9422d37243e40873330f
1,808
hpp
C++
ql/pricingengines/genericmodelengine.hpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
76
2017-06-28T21:24:38.000Z
2021-12-19T18:07:37.000Z
ql/pricingengines/genericmodelengine.hpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
2
2017-07-05T09:20:13.000Z
2019-10-31T12:06:51.000Z
ql/pricingengines/genericmodelengine.hpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
34
2017-07-02T14:49:21.000Z
2021-11-26T15:32:04.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2002, 2003 Ferdinando Ametrano Copyright (C) 2009 StatPro Italia srl This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ Quant...
31.172414
80
0.708518
haozhangphd
6beeb011c6f53dcdffa35eb4f6d7c6c9c7def6f6
2,904
cpp
C++
src/lldb/Bindings/SBInstructionListBinding.cpp
atouchet/lldb-sys.rs
22e212a86b0d4fc085e2ecdc34a286cf4c91a1a5
[ "Apache-2.0", "MIT" ]
13
2016-06-29T17:14:24.000Z
2022-01-14T15:50:05.000Z
src/lldb/Bindings/SBInstructionListBinding.cpp
atouchet/lldb-sys.rs
22e212a86b0d4fc085e2ecdc34a286cf4c91a1a5
[ "Apache-2.0", "MIT" ]
13
2016-07-16T16:33:42.000Z
2021-11-14T14:56:38.000Z
src/lldb/Bindings/SBInstructionListBinding.cpp
atouchet/lldb-sys.rs
22e212a86b0d4fc085e2ecdc34a286cf4c91a1a5
[ "Apache-2.0", "MIT" ]
7
2016-09-01T16:17:34.000Z
2021-10-04T22:42:16.000Z
//===-- SBInstructionListBinding.cpp ----------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
32.629213
80
0.724862
atouchet
6bf0581d46f5d769bb2cf7de7750bf4f74df9604
1,244
cpp
C++
dynamic/wrappers/pde/AbstractBoundaryCondition3.cppwg.cpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-02-04T16:10:53.000Z
2021-07-01T08:03:16.000Z
dynamic/wrappers/pde/AbstractBoundaryCondition3.cppwg.cpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-06-22T08:50:41.000Z
2019-12-15T20:17:29.000Z
dynamic/wrappers/pde/AbstractBoundaryCondition3.cppwg.cpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
3
2017-05-15T21:33:58.000Z
2019-10-27T21:43:07.000Z
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <set> #include <vector> #include <string> #include <map> #include "SmartPointers.hpp" #include "UblasIncludes.hpp" #include "AbstractBoundaryCondition.hpp" #include "AbstractBoundaryCondition3.cppwg.hpp" namespace py = pybind11; typedef AbstractBoundar...
32.736842
162
0.712219
jmsgrogan
6bf20831af4f882e80ac2510f7903d945d044aa9
5,288
hpp
C++
c++/cpp2py/pyref.hpp
TRIQS/cpp2y
a54c23606abe4e19da8f370b9c3faed0fb3ec5ca
[ "Apache-2.0" ]
19
2017-10-16T13:54:56.000Z
2022-01-29T10:34:07.000Z
c++/cpp2py/pyref.hpp
TRIQS/cpp2y
a54c23606abe4e19da8f370b9c3faed0fb3ec5ca
[ "Apache-2.0" ]
38
2017-11-08T10:26:16.000Z
2022-03-04T19:09:47.000Z
c++/cpp2py/pyref.hpp
TRIQS/cpp2y
a54c23606abe4e19da8f370b9c3faed0fb3ec5ca
[ "Apache-2.0" ]
12
2017-11-09T12:28:35.000Z
2022-03-04T18:54:48.000Z
// Copyright (c) 2017-2018 Commissariat à l'énergie atomique et aux énergies alternatives (CEA) // Copyright (c) 2017-2018 Centre national de la recherche scientifique (CNRS) // Copyright (c) 2018-2020 Simons Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file e...
31.289941
144
0.634266
TRIQS
d404a11a464fcc6b6f19f0e860e17eb714e8cd89
580
cpp
C++
code/313.nthSuperUglyNumber.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
1
2020-10-04T13:39:34.000Z
2020-10-04T13:39:34.000Z
code/313.nthSuperUglyNumber.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
null
null
null
code/313.nthSuperUglyNumber.cpp
T1mzhou/LeetCode
574540d30f5696e55799831dc3c8d8b7246b74f1
[ "MIT" ]
null
null
null
class Solution { public: int nthSuperUglyNumber(int n, vector<int>& primes) { typedef pair<int, int> PII; priority_queue<PII, vector<PII>, greater<PII>> heap; for (int x : primes) heap.push({x, 0}); vector<int> q(n); q[0] = 1; for (int i = 1; i < n;) { aut...
30.526316
60
0.444828
T1mzhou
d40836612262ec02331c7db24a6bc7cc357501af
849
cpp
C++
ACM-ICPC/9506.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/9506.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/9506.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> using namespace std; int main() { while (true) { int n, sum = 0; vector<int> v; scanf("%d", &n); if (n == -1) { return 0; } for (int i = 1; i < n; i++) { if (n % i == 0) { ...
21.225
49
0.273263
KimBoWoon
d40b6372a4aeb000492fc57093b04f3bff51ddc3
15,032
cpp
C++
view/src/context_menu/trade_config_context_menu_handler.cpp
Rapprise/b2s-trader
ac8a3c2221d15c4df8df63842d20dafd6801e535
[ "BSD-2-Clause" ]
21
2020-06-07T20:34:47.000Z
2021-08-10T20:19:59.000Z
view/src/context_menu/trade_config_context_menu_handler.cpp
Rapprise/b2s-trader
ac8a3c2221d15c4df8df63842d20dafd6801e535
[ "BSD-2-Clause" ]
null
null
null
view/src/context_menu/trade_config_context_menu_handler.cpp
Rapprise/b2s-trader
ac8a3c2221d15c4df8df63842d20dafd6801e535
[ "BSD-2-Clause" ]
4
2020-07-13T10:19:44.000Z
2022-03-11T12:15:43.000Z
/* * Copyright (c) 2020, Rapprise. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of condition...
40.408602
100
0.711016
Rapprise
d40f21d6775a42dae7fcaac790f813dc79748474
15,036
cpp
C++
src/Front/GeneralTextEdit/gentextedit.cpp
Igisid/Breeks-desktop
0dfaa6ea64d1d2912a4aed9e1febb537b9a9eec6
[ "Apache-2.0" ]
10
2020-12-20T15:32:20.000Z
2021-07-12T18:09:57.000Z
src/Front/GeneralTextEdit/gentextedit.cpp
Igisid/Breeks-desktop
0dfaa6ea64d1d2912a4aed9e1febb537b9a9eec6
[ "Apache-2.0" ]
2
2022-01-04T12:51:00.000Z
2022-01-04T14:40:19.000Z
src/Front/GeneralTextEdit/gentextedit.cpp
Igisid/Breeks-desktop
0dfaa6ea64d1d2912a4aed9e1febb537b9a9eec6
[ "Apache-2.0" ]
3
2020-12-22T02:50:11.000Z
2021-02-24T01:58:11.000Z
#include "gentextedit.h" #include <iostream> #include <QDebug> #include <QApplication> #include <QClipboard> #include <algorithm> #include <QPainter> #include <QScrollBar> RussianDictionary *GenTextEdit::rusDic_ = new RussianDictionary(); GenTextEdit::GenTextEdit(QWidget *parent) : QTextEdit(parent), timer_(new ...
29.598425
104
0.617717
Igisid
d41220133c669dd40b70064305fdaa00e382d62a
995
hpp
C++
include/sampling/time_series_slice.hpp
numerodix/bmon-cpp
fae0613776b879a33e327f9ccf1d3819383634dd
[ "MIT" ]
1
2020-07-31T01:34:47.000Z
2020-07-31T01:34:47.000Z
include/sampling/time_series_slice.hpp
numerodix/bmon-cpp
fae0613776b879a33e327f9ccf1d3819383634dd
[ "MIT" ]
null
null
null
include/sampling/time_series_slice.hpp
numerodix/bmon-cpp
fae0613776b879a33e327f9ccf1d3819383634dd
[ "MIT" ]
null
null
null
#ifndef TIME_SERIES_SLICE_H #define TIME_SERIES_SLICE_H #include <unistd.h> #include <vector> #include "agg_window.hpp" #include "aliases.hpp" namespace bandwit { namespace sampling { // FIXME: should this be a struct? class TimeSeriesSlice { public: explicit TimeSeriesSlice(std::vector<TimePoint> tps, ...
28.428571
79
0.628141
numerodix
d4141327adfe48efc12d8c04a2f468df3e24ce6f
1,669
hpp
C++
msaa/deps/lpp/include/lpp/common/iteration.hpp
leddoo/raster
aa58a04e0549a44a8212b57020397587ebe51eb7
[ "MIT" ]
null
null
null
msaa/deps/lpp/include/lpp/common/iteration.hpp
leddoo/raster
aa58a04e0549a44a8212b57020397587ebe51eb7
[ "MIT" ]
null
null
null
msaa/deps/lpp/include/lpp/common/iteration.hpp
leddoo/raster
aa58a04e0549a44a8212b57020397587ebe51eb7
[ "MIT" ]
null
null
null
#pragma once #include <lpp/core/basic.hpp> namespace lpp { // TODO: these rely on range based for to be expanded as "it != end". it // would probably be more robust to actually implement != and create the // iterators with "clamping". // "monotonic" because of less than comparison. template <typ...
25.287879
94
0.541642
leddoo
d414ac5a9028e16ae6db5b92cd723cebf2ae1d19
2,973
cpp
C++
src/ace/ACE_wrappers/examples/IPC_SAP/FIFO_SAP/FIFO-test.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
8
2017-06-05T08:56:27.000Z
2020-04-08T16:50:11.000Z
src/ace/ACE_wrappers/examples/IPC_SAP/FIFO_SAP/FIFO-test.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
null
null
null
src/ace/ACE_wrappers/examples/IPC_SAP/FIFO_SAP/FIFO-test.cpp
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
17
2017-06-05T08:54:27.000Z
2021-08-29T14:19:12.000Z
// Purpose: This program uses ACE_FIFO wrappers to perform // interprocess communication between a parent process and a child // process. The parents reads from an input file and writes it into // the fifo. The child reads from the ACE_FIFO and executes the more // command. #include "ace/FIFO_Recv.h" #include "ace/F...
24.570248
71
0.57484
wfnex
d415c93e4991a714c0ebd646ce3e9a242627094b
6,608
cpp
C++
tests/channel.cpp
initcrash/fnpp
34e633ba6ec0fe0024f7457369040ce1e7919f5a
[ "MIT" ]
3
2015-05-06T20:34:43.000Z
2016-10-27T13:30:33.000Z
tests/channel.cpp
initcrash/fnpp
34e633ba6ec0fe0024f7457369040ce1e7919f5a
[ "MIT" ]
null
null
null
tests/channel.cpp
initcrash/fnpp
34e633ba6ec0fe0024f7457369040ce1e7919f5a
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> #include <map> #include <utility> #include <thread> #include "catch.hpp" #include <fn/iterators.hpp> #include <fn/channel.hpp> using namespace fn; TEST_CASE("Channel [int]") { auto channel = Channel<int>(3); REQUIRE_FALSE(channel.receive(0).valid()); SECTION("send one ...
23.855596
74
0.52618
initcrash
d420416b0f41711b6368aa8d8b311f6f1ecf6913
783
cc
C++
source/options.cc
JaMo42/spaceinfo
534d69d61930a858b3880ac10fc693edbe792f4e
[ "BSD-3-Clause" ]
null
null
null
source/options.cc
JaMo42/spaceinfo
534d69d61930a858b3880ac10fc693edbe792f4e
[ "BSD-3-Clause" ]
null
null
null
source/options.cc
JaMo42/spaceinfo
534d69d61930a858b3880ac10fc693edbe792f4e
[ "BSD-3-Clause" ]
null
null
null
#include "options.hh" #include "flag-cpp/flag.hh" namespace Options { bool si = false; bool raw_size = false; int bar_length = 10; unsigned history_size = 16; } const char * parse_args (int argc, const char *const *argv) { flag::add (Options::si, "si", "Use powers of 1000 not 1024 for human readable si...
27.964286
91
0.666667
JaMo42
d4207c0ef66cb65f8756179c9b37797ff1df8913
729
cpp
C++
Source/Parser/LanguageTypes/Invokable.cpp
JoinCAD/CPP-Reflection
61163369b6b3b370c4ce726dbf8e60e441723821
[ "MIT" ]
540
2015-09-18T09:44:57.000Z
2022-03-25T07:23:09.000Z
Source/Parser/LanguageTypes/Invokable.cpp
yangzhengxing/CPP-Reflection
43ec755b7a5c62e3252c174815c2e44727e11e72
[ "MIT" ]
16
2015-09-23T06:37:43.000Z
2020-04-10T15:40:08.000Z
Source/Parser/LanguageTypes/Invokable.cpp
yangzhengxing/CPP-Reflection
43ec755b7a5c62e3252c174815c2e44727e11e72
[ "MIT" ]
88
2015-09-21T15:12:32.000Z
2021-11-30T14:07:34.000Z
/* ---------------------------------------------------------------------------- ** Copyright (c) 2016 Austin Brunkhorst, All Rights Reserved. ** ** Invokable.cpp ** --------------------------------------------------------------------------*/ #include "Precompiled.h" #include "LanguageTypes/Invokable.h" Invokable::In...
27
79
0.500686
JoinCAD
d4269f5f60e3ac334285c2efa78f5c9b0ba56924
730
cpp
C++
Libs/MainWindow/glfwLibrary.cpp
dns/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
3
2020-04-11T13:00:31.000Z
2020-12-07T03:19:10.000Z
Libs/MainWindow/glfwLibrary.cpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
null
null
null
Libs/MainWindow/glfwLibrary.cpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
1
2020-04-11T13:00:04.000Z
2020-04-11T13:00:04.000Z
/* Cafu Engine, http://www.cafu.de/ Copyright (c) Carsten Fuchs and other contributors. This project is licensed under the terms of the MIT license. */ #include "glfwLibrary.hpp" #include "ConsoleCommands/Console.hpp" #include "GLFW/glfw3.h" #include <stdexcept> using namespace cf; static void error_callback(int er...
19.72973
67
0.7
dns
2d6b75e40d6908cef5f34cc874ffc0696777c42f
1,988
cpp
C++
cpp/tests/utilities_UT.cpp
MinesJA/meshNetwork
5ffada57c13049cb00c2996fe239cdff6edf6f17
[ "NASA-1.3" ]
133
2017-06-24T02:44:28.000Z
2022-03-25T05:17:00.000Z
cpp/tests/utilities_UT.cpp
MinesJA/meshNetwork
5ffada57c13049cb00c2996fe239cdff6edf6f17
[ "NASA-1.3" ]
null
null
null
cpp/tests/utilities_UT.cpp
MinesJA/meshNetwork
5ffada57c13049cb00c2996fe239cdff6edf6f17
[ "NASA-1.3" ]
33
2017-06-19T03:24:40.000Z
2022-02-03T20:13:12.000Z
#include "tests/utilities_UT.hpp" #include <gtest/gtest.h> #include <iostream> #include <unistd.h> #include <string> namespace util { Utilities_UT::Utilities_UT() { } void Utilities_UT::SetUpTestCase(void) { } void Utilities_UT::SetUp(void) { } TEST_F(Utilities_UT, hashElemen...
30.584615
134
0.555835
MinesJA
2d6c1457d640b0b9a5a7bb7449222b328397bb5a
4,181
cpp
C++
sd_log.cpp
jekhor/pneumatic-tc-firmware
a532d78a154cc963d98c239c916485f5383f3dcf
[ "CC-BY-3.0" ]
1
2018-10-08T13:28:32.000Z
2018-10-08T13:28:32.000Z
sd_log.cpp
jekhor/pneumatic-tc-firmware
a532d78a154cc963d98c239c916485f5383f3dcf
[ "CC-BY-3.0" ]
9
2019-08-21T18:07:49.000Z
2019-09-30T19:48:28.000Z
sd_log.cpp
jekhor/pneumatic-tc-firmware
a532d78a154cc963d98c239c916485f5383f3dcf
[ "CC-BY-3.0" ]
null
null
null
#include <SPI.h> #include <SdFat.h> #include <errno.h> #include "sd_log.h" #include "common.h" #define SPI_SPEED SD_SCK_MHZ(8) const uint8_t sd_CS = 10; static bool sdReady = 0; SdFat sd; SdFile root; static SdFile dataFile; static SdFile rawLogFile; static bool dataFileOpened = 0; static bool rawFileOpened = 0; s...
17.348548
91
0.651519
jekhor
2d6d97a78b074c005566715494b8152f51378362
470
cpp
C++
1-8-4z.cpp
Kaermor/stepik-course363-cpp
7df3381ee5460565754745b6d48ed3f1324e73ef
[ "Apache-2.0" ]
null
null
null
1-8-4z.cpp
Kaermor/stepik-course363-cpp
7df3381ee5460565754745b6d48ed3f1324e73ef
[ "Apache-2.0" ]
null
null
null
1-8-4z.cpp
Kaermor/stepik-course363-cpp
7df3381ee5460565754745b6d48ed3f1324e73ef
[ "Apache-2.0" ]
null
null
null
// // Created by grey on 22.10.2019. // #include <iostream> using namespace std; void foo_1_8_4z(){ int n; cin >> n; char a[n][n]; for (int i = 0; i < n; ++i) { for (int j = 0; j < n; ++j) { if (i == j || j == n/2 || i == n/2 || i + j == n - 1){ a[i][j] = '*'; ...
18.076923
66
0.308511
Kaermor
2d73e45d9cbdae04872b0a94ab0ea895ec28f591
4,213
hpp
C++
Source/AllProjects/RemBrws/CQCTreeBrws/CQCTreeBrws_ChangeDrvSrvDlg_.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
51
2020-12-26T18:17:16.000Z
2022-03-15T04:29:35.000Z
Source/AllProjects/RemBrws/CQCTreeBrws/CQCTreeBrws_ChangeDrvSrvDlg_.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
null
null
null
Source/AllProjects/RemBrws/CQCTreeBrws/CQCTreeBrws_ChangeDrvSrvDlg_.hpp
MarkStega/CQC
c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07
[ "MIT" ]
4
2020-12-28T07:24:39.000Z
2021-12-29T12:09:37.000Z
// // FILE NAME: CQCTreeBrws_ChangeDrvSrvDlg.hpp // // AUTHOR: Dean Roddey // // CREATED: 10/02/2016 // // 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: // // htt...
33.436508
88
0.411108
MarkStega
2d73e57208714aeedd1889bbd7ccc1662e1c9eb9
4,119
cpp
C++
src/Pyros3D/Assets/Renderable/Primitives/Shapes/Cylinder.cpp
Peixinho/Pyros3D
d6857ce99f3731a851ca5e7d67afbb13aafd18e0
[ "MIT" ]
20
2016-02-15T23:22:06.000Z
2021-12-07T00:13:49.000Z
src/Pyros3D/Assets/Renderable/Primitives/Shapes/Cylinder.cpp
Peixinho/Pyros3D
d6857ce99f3731a851ca5e7d67afbb13aafd18e0
[ "MIT" ]
1
2017-09-04T00:28:19.000Z
2017-09-05T11:00:12.000Z
src/Pyros3D/Assets/Renderable/Primitives/Shapes/Cylinder.cpp
Peixinho/Pyros3D
d6857ce99f3731a851ca5e7d67afbb13aafd18e0
[ "MIT" ]
3
2016-08-10T02:44:08.000Z
2021-05-28T23:03:10.000Z
//============================================================================ // Name : Cylinder // Author : Duarte Peixinho // Version : // Copyright : ;) // Description : Cylinder Geometry //============================================================================ #include <Pyros3D/Assets/Rende...
30.286765
166
0.585336
Peixinho
2d78bedbb075d63f155dbaf249b1eca044d25218
1,882
cpp
C++
utils/add_preimage_to_signed_tx.cpp
jmjatlanta/bitcoin-toolbox
26dd27004c0e3ef13046b0aa598fba3f11dcbcc2
[ "MIT" ]
null
null
null
utils/add_preimage_to_signed_tx.cpp
jmjatlanta/bitcoin-toolbox
26dd27004c0e3ef13046b0aa598fba3f11dcbcc2
[ "MIT" ]
null
null
null
utils/add_preimage_to_signed_tx.cpp
jmjatlanta/bitcoin-toolbox
26dd27004c0e3ef13046b0aa598fba3f11dcbcc2
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <cstdint> #include <rapidjson/rapidjson.h> #include <rapidjson/document.h> #include <transaction.hpp> #include <hex_conversion.hpp> #include <script.hpp> void print_syntax_and_exit(int argc, char**argv) { std::cerr << "Syntax: " << argv[0] << " sign...
31.366667
110
0.723167
jmjatlanta
2d7b32c84a48cb870a90be6b2bde752380007605
149
hpp
C++
Plus7/Modules/Gfx/Include/DepthState.hpp
txfx/plus7
44df3622ea8abe296d921759144e5f0d630b2945
[ "MIT" ]
null
null
null
Plus7/Modules/Gfx/Include/DepthState.hpp
txfx/plus7
44df3622ea8abe296d921759144e5f0d630b2945
[ "MIT" ]
null
null
null
Plus7/Modules/Gfx/Include/DepthState.hpp
txfx/plus7
44df3622ea8abe296d921759144e5f0d630b2945
[ "MIT" ]
null
null
null
#pragma once #include "SdlGl/GlDepthState.hpp" namespace p7 { namespace gfx { using DepthState = GlDepthState; } // namespace gfx } // namespace p7
16.555556
33
0.738255
txfx
2d7f02109fb7da4fb5f8cd8d7e38ce2635d69bd7
7,211
inl
C++
inc/lak/binary_writer.inl
LAK132/lak
cb7fbc8925d526bbd4f9318ccf572b395cdd01e3
[ "MIT", "Unlicense" ]
3
2021-07-12T02:32:50.000Z
2022-01-30T03:39:53.000Z
inc/lak/binary_writer.inl
LAK132/lak
cb7fbc8925d526bbd4f9318ccf572b395cdd01e3
[ "MIT", "Unlicense" ]
1
2020-11-03T08:57:04.000Z
2020-11-03T09:04:41.000Z
inc/lak/binary_writer.inl
LAK132/lak
cb7fbc8925d526bbd4f9318ccf572b395cdd01e3
[ "MIT", "Unlicense" ]
null
null
null
#include "lak/binary_writer.hpp" #include "lak/memmanip.hpp" #include "lak/span_manip.hpp" #include "lak/debug.hpp" /* --- to_bytes --- */ template<typename T, lak::endian E> void lak::to_bytes(lak::span<byte_t, lak::to_bytes_size_v<T, E>> bytes, const T &value) { lak::to_bytes_traits<T, E>::to_b...
23.33657
77
0.669394
LAK132
2d83dbe4e3b3ae914b47bef9ddbbf9324897e666
13,598
cpp
C++
src/common/ob_obj_type.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
74
2021-05-31T15:23:49.000Z
2022-03-12T04:46:39.000Z
src/common/ob_obj_type.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
16
2021-05-31T15:26:38.000Z
2022-03-30T06:02:43.000Z
src/common/ob_obj_type.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
64
2021-05-31T15:25:36.000Z
2022-02-23T08:43:58.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase Database Proxy(ODP) is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ...
38.412429
145
0.474482
stutiredboy
2d85b453c4050e3c09b02049df1cafbea26612cf
688
cpp
C++
src/BH1750.cpp
JVKran/OneTimeBH1750
132515b2099f1f96e5c13cca92269151f57850f7
[ "Apache-2.0" ]
1
2020-11-24T05:27:33.000Z
2020-11-24T05:27:33.000Z
src/BH1750.cpp
JVKran/OneTimeBH1750
132515b2099f1f96e5c13cca92269151f57850f7
[ "Apache-2.0" ]
null
null
null
src/BH1750.cpp
JVKran/OneTimeBH1750
132515b2099f1f96e5c13cca92269151f57850f7
[ "Apache-2.0" ]
1
2021-05-07T18:47:46.000Z
2021-05-07T18:47:46.000Z
/* OneTime-BH1750 Library Jochem van Kranenburg - jochemvk.duckdns.org - 9 March 2020 */ #include "BH1750.h" #ifdef BH1750_ATTINY BH1750::BH1750(USI_TWI & bus, const uint8_t address): bus(bus), address(address) {} #else BH1750::BH1750(TwoWire & bus, const uint8_t address): bus(bus), address(address) {} #endif ...
19.657143
62
0.728198
JVKran
2d88e7ce82d6248f3d63d2278c6f91572baeb2df
544
cpp
C++
LeetCode/ThousandOne/0397-int_replacement.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0397-int_replacement.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0397-int_replacement.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 397. 整数替换 给定一个正整数 n,你可以做如下操作: 1. 如果 n 是偶数,则用 n / 2替换 n。 2. 如果 n 是奇数,则可以用 n + 1或n - 1替换 n。 n 变为 1 所需的最小替换次数是多少? 示例 1: 输入: 8 输出: 3 解释: 8 -> 4 -> 2 -> 1 示例 2: 输入: 7 输出: 4 解释: 7 -> 8 -> 4 -> 2 -> 1 或 7 -> 6 -> 3 -> 2 -> 1 */ // 抄的,3 真是够了 int integerReplacement(int _n) { int ans = 0; uint3...
9.714286
46
0.481618
Ginkgo-Biloba
2d8bb4e1f22ea74f51b8845d67bc58bd9ffab508
10,219
cpp
C++
src/obproxy/utils/ob_proxy_utils.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
74
2021-05-31T15:23:49.000Z
2022-03-12T04:46:39.000Z
src/obproxy/utils/ob_proxy_utils.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
16
2021-05-31T15:26:38.000Z
2022-03-30T06:02:43.000Z
src/obproxy/utils/ob_proxy_utils.cpp
stutiredboy/obproxy
b5f98a6e1c45e6a878376df49b9c10b4249d3626
[ "Apache-2.0" ]
64
2021-05-31T15:25:36.000Z
2022-02-23T08:43:58.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase Database Proxy(ODP) is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ...
30.873112
100
0.620609
stutiredboy
2d8cfdec4c380009d3527bebf17e9f376ee006e6
3,689
hpp
C++
inc/state/interfacelogicaldevices.hpp
wolfviking0/vuda
4d3593c9e06a1ff3399078e377a92ec26627c483
[ "MIT" ]
null
null
null
inc/state/interfacelogicaldevices.hpp
wolfviking0/vuda
4d3593c9e06a1ff3399078e377a92ec26627c483
[ "MIT" ]
null
null
null
inc/state/interfacelogicaldevices.hpp
wolfviking0/vuda
4d3593c9e06a1ff3399078e377a92ec26627c483
[ "MIT" ]
null
null
null
#pragma once namespace vuda { namespace detail { // // singleton interface for vulkan logical devices // class interface_logical_devices final : public singleton { public: static logical_device* create(const vk::PhysicalDevice& physDevice, const int device) { ...
37.262626
163
0.597723
wolfviking0
2d93e16a5984a75ba0dde7597f7d11447fea1331
2,706
cpp
C++
mpc_least_square_engl/matrix.cpp
pronenewbits/Arduino_Unconstrained_MPC_Library
e406fe1edabfaf240d0884975d0b1caf869367cb
[ "CC0-1.0" ]
38
2020-01-14T20:08:00.000Z
2022-03-05T03:12:27.000Z
mpc_opt_engl/matrix.cpp
pronenewbits/Arduino_MPC_Library
e406fe1edabfaf240d0884975d0b1caf869367cb
[ "CC0-1.0" ]
1
2021-08-25T12:40:27.000Z
2021-08-25T12:40:27.000Z
mpc_opt_engl/matrix.cpp
pronenewbits/Arduino_MPC_Library
e406fe1edabfaf240d0884975d0b1caf869367cb
[ "CC0-1.0" ]
6
2020-03-29T14:58:44.000Z
2022-03-05T03:12:29.000Z
/************************************************************************************ * Class Matrix * See matrix.h for description * * See https://github.com/pronenewbits for more! *************************************************************************************/ #include "matrix.h" Matrix operator + (c...
25.528302
87
0.533629
pronenewbits
2d9599f506676e2daf5556c68954dee54ad6dc3f
1,545
hpp
C++
plugins/opengl/include/sge/opengl/vf/client_state_combiner.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/opengl/include/sge/opengl/vf/client_state_combiner.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/opengl/include/sge/opengl/vf/client_state_combiner.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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) #ifndef SGE_OPENGL_VF_CLIENT_STATE_COMBINER_HPP_INCLUDED #define SGE_OPENGL_VF_CLIENT_STATE_COMBINE...
25.75
88
0.768285
cpreh
2d9691c02ca65193539f6d65ea91d70d4d191bbd
3,649
hpp
C++
Versionen/2021_06_15/rmf_ws/install/rmf_task_msgs/include/rmf_task_msgs/msg/detail/task_description__builder.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
null
null
null
Versionen/2021_06_15/rmf_ws/install/rmf_task_msgs/include/rmf_task_msgs/msg/detail/task_description__builder.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
null
null
null
Versionen/2021_06_15/rmf_ws/install/rmf_task_msgs/include/rmf_task_msgs/msg/detail/task_description__builder.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
2
2021-06-21T07:32:09.000Z
2021-08-17T03:05:38.000Z
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em // with input from rmf_task_msgs:msg/TaskDescription.idl // generated code does not contain a copyright notice #ifndef RMF_TASK_MSGS__MSG__DETAIL__TASK_DESCRIPTION__BUILDER_HPP_ #define RMF_TASK_MSGS__MSG__DETAIL__TASK_DESCRIPTION__BUILDER_HPP_ #incl...
24.006579
103
0.768978
flitzmo-hso
2d99f73f8d3198a21805b3f715cddc56d5bfdcfd
6,561
hpp
C++
deepsim_gazebo_plugin/include/deepsim_gazebo_plugin/converters/geometry_converter.hpp
aws-deepracer/deepsim
cad2639f525c2f94ec5c03d8b855cc65b0b8ee55
[ "Apache-2.0" ]
1
2022-03-25T07:20:49.000Z
2022-03-25T07:20:49.000Z
deepsim_gazebo_plugin/include/deepsim_gazebo_plugin/converters/geometry_converter.hpp
aws-deepracer/deepsim
cad2639f525c2f94ec5c03d8b855cc65b0b8ee55
[ "Apache-2.0" ]
null
null
null
deepsim_gazebo_plugin/include/deepsim_gazebo_plugin/converters/geometry_converter.hpp
aws-deepracer/deepsim
cad2639f525c2f94ec5c03d8b855cc65b0b8ee55
[ "Apache-2.0" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////////// // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // // // // Licensed under the Apache License, Version 2.0 (the "License")....
53.341463
103
0.667124
aws-deepracer
2d9a108d33a3cd9dff7f6081ee429615eeeaaeba
3,295
cpp
C++
src/main/cpp/sdk/MessageQueueONS.cpp
RayneHwang/rocketmq-ons-cpp
9d69c0a0e91c5030b7fe9054faed1b559d9929e9
[ "Apache-2.0", "MIT" ]
9
2019-07-30T08:08:44.000Z
2021-11-10T19:02:56.000Z
src/main/cpp/sdk/MessageQueueONS.cpp
RayneHwang/rocketmq-ons-cpp
9d69c0a0e91c5030b7fe9054faed1b559d9929e9
[ "Apache-2.0", "MIT" ]
null
null
null
src/main/cpp/sdk/MessageQueueONS.cpp
RayneHwang/rocketmq-ons-cpp
9d69c0a0e91c5030b7fe9054faed1b559d9929e9
[ "Apache-2.0", "MIT" ]
4
2019-07-30T09:41:09.000Z
2021-11-03T11:02:13.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
27.923729
79
0.596965
RayneHwang
2d9aa54936e484fd5340166aa44ee8b78ba9fe74
700
cpp
C++
solutions/5.cpp
tdakhran/leetcode
ed680059661faae32857eaa791ca29c1d9c16120
[ "MIT" ]
null
null
null
solutions/5.cpp
tdakhran/leetcode
ed680059661faae32857eaa791ca29c1d9c16120
[ "MIT" ]
null
null
null
solutions/5.cpp
tdakhran/leetcode
ed680059661faae32857eaa791ca29c1d9c16120
[ "MIT" ]
null
null
null
#include <string> #include <vector> class Solution { std::string_view longestPalindrome(const std::string_view &s, size_t lo, size_t hi) { while (lo > 0 and hi < s.size() and s[lo - 1] == s[hi]) { --lo; ++hi; } return s.substr(lo, hi - lo); } public: ...
24.137931
74
0.512857
tdakhran
2d9ba9b8c49c6ad2fcf617aa97693ea9f67ecf59
7,747
hpp
C++
include/canard/net/ofp/v13/message/multipart/table_features.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
include/canard/net/ofp/v13/message/multipart/table_features.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
8
2016-07-21T11:29:13.000Z
2016-12-03T05:16:42.000Z
include/canard/net/ofp/v13/message/multipart/table_features.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
#ifndef CANARD_NET_OFP_V13_MESSAGES_MULTIPART_TABLE_FEATURES_HPP #define CANARD_NET_OFP_V13_MESSAGES_MULTIPART_TABLE_FEATURES_HPP #include <cstdint> #include <algorithm> #include <iterator> #include <utility> #include <boost/range/adaptor/sliced.hpp> #include <boost/range/algorithm/copy.hpp> #include <boost/utility/st...
26.993031
79
0.666322
amedama41
2d9c07d42d9b42e59b1a834b2253c93a3e391fcb
673
cpp
C++
Main/P1004.cpp
qinyihao/Luogu_Problem_Solver
bb4675f045affe513613023394027c3359bb0876
[ "MIT" ]
null
null
null
Main/P1004.cpp
qinyihao/Luogu_Problem_Solver
bb4675f045affe513613023394027c3359bb0876
[ "MIT" ]
null
null
null
Main/P1004.cpp
qinyihao/Luogu_Problem_Solver
bb4675f045affe513613023394027c3359bb0876
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define max(u,v) u>v ? u:v int a[10][10], f[10][10][10][10], x, y, n, k; int main() { scanf("%d",&n); while(scanf("%d%d%d", &x, &y, &k) == 3 && x) { a[x][y] = k; } for(int i = 1; i <= n; i++) for(int j = 1; j <= n; j++) for(int k = 1; k <= n; k++) for(int l = 1; l <= n; l++...
25.884615
56
0.380386
qinyihao
2d9e5de236720bc7b8efb91dceb232bb0a3f6f78
316
cpp
C++
engine/gtp/Move.cpp
imalerich/imgo
1dc999b62d95b74dd992fd1daf1cb0d974bba8a7
[ "MIT" ]
null
null
null
engine/gtp/Move.cpp
imalerich/imgo
1dc999b62d95b74dd992fd1daf1cb0d974bba8a7
[ "MIT" ]
null
null
null
engine/gtp/Move.cpp
imalerich/imgo
1dc999b62d95b74dd992fd1daf1cb0d974bba8a7
[ "MIT" ]
null
null
null
#include "Move.hpp" namespace gtp { ArgMove::ArgMove(std::string color, std::string vertex) { iArgument::type = ARG_MOVE; this->color = Color(color); this->vertex = Vertex(vertex); } ArgMove::ArgMove(Color color, Vertex vertex) { iArgument::type = ARG_MOVE; this->color = color; this->vertex = vertex; } }
17.555556
57
0.689873
imalerich
2da7120f1e231f9f4eb9610c14a9a4e1c579edcc
1,874
cpp
C++
src/Nazara/Physics3D/Systems/Physics3DSystem.cpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
11
2019-11-27T00:40:43.000Z
2020-01-29T14:31:52.000Z
src/Nazara/Physics3D/Systems/Physics3DSystem.cpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T00:29:08.000Z
2020-01-08T18:53:39.000Z
src/Nazara/Physics3D/Systems/Physics3DSystem.cpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
7
2019-11-27T10:27:40.000Z
2020-01-15T17:43:33.000Z
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Physics3D module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Physics3D/Systems/Physics3DSystem.hpp> #include <Nazara/Utility/Components/NodeComponent.hpp> ...
34.072727
114
0.763074
jayrulez
2da85679ccacda2a91a386f0117749e402e5354a
3,196
cpp
C++
tests/runtime_tests/EvaluatorSymbolTests.cpp
smacdo/Shiny
580f8bb240b3ece72d7181288bacaba5ecd7071e
[ "Apache-2.0" ]
null
null
null
tests/runtime_tests/EvaluatorSymbolTests.cpp
smacdo/Shiny
580f8bb240b3ece72d7181288bacaba5ecd7071e
[ "Apache-2.0" ]
null
null
null
tests/runtime_tests/EvaluatorSymbolTests.cpp
smacdo/Shiny
580f8bb240b3ece72d7181288bacaba5ecd7071e
[ "Apache-2.0" ]
null
null
null
#include "support/EvaluatorFixture.h" #include "runtime/Evaluator.h" #include "runtime/RuntimeApi.h" #include "runtime/Value.h" #include "runtime/VmState.h" #include "support/TestHelpers.h" #include <catch2/catch.hpp> using namespace Shiny; TEST_CASE_METHOD(EvaluatorFixture, "Is symbol", "[Procedures]") { SECTIO...
32.948454
77
0.622653
smacdo
2db05e592c573a07efaba293fa1b3fed85d2e1b5
38
cpp
C++
lander.cpp
nathan-tagg/skeet
ed3909ba63863c8120ddf290286fa6b2502a5874
[ "MIT" ]
1
2016-04-05T20:06:13.000Z
2016-04-05T20:06:13.000Z
lander.cpp
nathan-tagg/skeet
ed3909ba63863c8120ddf290286fa6b2502a5874
[ "MIT" ]
null
null
null
lander.cpp
nathan-tagg/skeet
ed3909ba63863c8120ddf290286fa6b2502a5874
[ "MIT" ]
null
null
null
// lander bird // #include "lander.h"
12.666667
19
0.631579
nathan-tagg
2db0b1b0f6bbfcd17425987bfa2da490ea3dd3f4
5,002
cpp
C++
RubbishDebugger/PortableExecutable.cpp
Woodykaixa/RubbishDebugger
4d80163ef7a3350a0f57b026608365d0c9dc0218
[ "MIT" ]
null
null
null
RubbishDebugger/PortableExecutable.cpp
Woodykaixa/RubbishDebugger
4d80163ef7a3350a0f57b026608365d0c9dc0218
[ "MIT" ]
null
null
null
RubbishDebugger/PortableExecutable.cpp
Woodykaixa/RubbishDebugger
4d80163ef7a3350a0f57b026608365d0c9dc0218
[ "MIT" ]
null
null
null
#include "PortableExecutable.h" #include <exception> #include "Misc.h" PortableExecutable::PortableExecutable(const char* filename) { _file = nullptr; fopen_s(&_file, filename, "rb"); if (_file == nullptr) { throw std::exception("Cannot open pe file"); } fread(&DosHeader, sizeof IMAGE_DOS_HEADER, 1, _file); if...
30.315152
96
0.717113
Woodykaixa
2db2027e3d3f27d88fec76a46c7ef607419f97c4
1,548
cpp
C++
src/Problem_32.cpp
BenjaminHb/WHU_CS_WebLearn
2920621268bd3af7b9f8940d539144ae1f9afd4a
[ "MIT" ]
null
null
null
src/Problem_32.cpp
BenjaminHb/WHU_CS_WebLearn
2920621268bd3af7b9f8940d539144ae1f9afd4a
[ "MIT" ]
null
null
null
src/Problem_32.cpp
BenjaminHb/WHU_CS_WebLearn
2920621268bd3af7b9f8940d539144ae1f9afd4a
[ "MIT" ]
null
null
null
/** * File Name: Problem_32.cpp * Project Name: WHU_CS_WebLearn * Author: Benjamin Zhang * Created Time: 01/13/2019 19:04 * Version: 0.0.1.20190113 * * Copyright (c) Benjamin Zhang 2019 * All rights reserved. **/ #include <iostream> #include <cstdio> #include <cstring> #includ...
26.689655
78
0.392119
BenjaminHb
2db877bf5367306565fb975d03af246aa902f9f3
47
hpp
C++
src/boost_math_distributions_normal.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_math_distributions_normal.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_math_distributions_normal.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/math/distributions/normal.hpp>
23.5
46
0.808511
miathedev
2dba55ec969bfc9c4b7bc88eac51dfc8b75bb172
617
cpp
C++
TrocaVariavelCHAR/main.cpp
VitorVeector/Projetos-Estacio
e54f6f765e8c552cba27819a2f6fae3d819fb0e8
[ "MIT" ]
null
null
null
TrocaVariavelCHAR/main.cpp
VitorVeector/Projetos-Estacio
e54f6f765e8c552cba27819a2f6fae3d819fb0e8
[ "MIT" ]
null
null
null
TrocaVariavelCHAR/main.cpp
VitorVeector/Projetos-Estacio
e54f6f765e8c552cba27819a2f6fae3d819fb0e8
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> using namespace std; int main() { char sexo[2], aux; cout << "Digite a inicial do sexo da primeira pessoa: " << endl; cin >> sexo[0]; cout << "Digite a inicial do sexo da segunda pessoa: " << endl; cin >> sexo[1]; cout << "Antes da troca de sexo: " << end...
22.851852
68
0.504052
VitorVeector
2dc0bd04a90e72289320c99f61c1bcc8e15e92a0
2,437
hh
C++
TrkBase/TrkPocaBase.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
TrkBase/TrkPocaBase.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
TrkBase/TrkPocaBase.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------- // File and Version Information: // $Id: TrkPocaBase.hh,v 1.11 2006/03/25 15:15:56 brownd Exp $ // // Description: // Base class for various Poca classes; holds infrastructure, and one // common algorithm. Ctor and dtor protected, t...
29.719512
78
0.651621
brownd1978
2dc0e3dc4aa7f7f24b3b0264c14ab5ab99c17226
1,644
cpp
C++
Source/opennwa/construct/nwa_complement.cpp
jusito/WALi-OpenNWA
2bb4aca02c5a5d444fd038e8aa3eecd7d1ccbb99
[ "MIT" ]
15
2015-03-07T17:25:57.000Z
2022-02-04T20:17:00.000Z
src/wpds/Source/opennwa/construct/nwa_complement.cpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
1
2018-03-03T05:58:55.000Z
2018-03-03T12:26:10.000Z
src/wpds/Source/opennwa/construct/nwa_complement.cpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
15
2015-09-25T17:44:35.000Z
2021-07-18T18:25:38.000Z
#include "opennwa/Nwa.hpp" #include "opennwa/construct/complement.hpp" #include "opennwa/construct/determinize.hpp" namespace opennwa { namespace construct { NwaRefPtr complement( Nwa const & source ) { NwaRefPtr nwa( new Nwa()); complement(*nwa, source); return nwa; } /**...
25.292308
100
0.615572
jusito
2dc465643cc9382902e1629f2794fe969d7bcb0e
461
cpp
C++
Assignment/Assignment-1/2140_Herd_Sums.cpp
Hantao-Ye/CS97-SI
410dd79cc563d47f93d8d1c96e603e4de8dfcf70
[ "MIT" ]
null
null
null
Assignment/Assignment-1/2140_Herd_Sums.cpp
Hantao-Ye/CS97-SI
410dd79cc563d47f93d8d1c96e603e4de8dfcf70
[ "MIT" ]
null
null
null
Assignment/Assignment-1/2140_Herd_Sums.cpp
Hantao-Ye/CS97-SI
410dd79cc563d47f93d8d1c96e603e4de8dfcf70
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int num = 0, output = 1; cin >> num; for (int i = 1; i <= (num / 2) + 1; i++) { int sum = 0; for (int j = i; j <= (num / 2) + 1; j++) { sum += j; if (sum == num) { output+...
17.074074
48
0.32538
Hantao-Ye
2dc49896be9f0606c4795f3c5288a2aebe6b3b88
38,017
hpp
C++
src/lib/common/plot.hpp
bitslow/fcpp
abdaed70ccedb1a377e24d3b7c78b2ec203e111f
[ "ECL-2.0", "Apache-2.0" ]
3
2020-05-03T15:53:22.000Z
2020-11-30T12:14:01.000Z
src/lib/common/plot.hpp
bitslow/fcpp
abdaed70ccedb1a377e24d3b7c78b2ec203e111f
[ "ECL-2.0", "Apache-2.0" ]
4
2021-05-17T16:46:22.000Z
2021-12-22T15:12:22.000Z
src/lib/common/plot.hpp
bitslow/fcpp
abdaed70ccedb1a377e24d3b7c78b2ec203e111f
[ "ECL-2.0", "Apache-2.0" ]
7
2020-05-08T11:47:57.000Z
2022-01-15T21:28:10.000Z
// Copyright © 2021 Giorgio Audrito. All Rights Reserved. /** * @file plot.hpp * @brief Plot building tools. */ #ifndef FCPP_COMMON_PLOT_H_ #define FCPP_COMMON_PLOT_H_ #include <cstdint> #include <ctime> #include <limits> #include <map> #include <ratio> #include <set> #include <sstream> #include <vector> #inclu...
35.13586
256
0.596759
bitslow
2dc9d69e1e110f26c3e825995142eec7fcd7f432
4,232
cpp
C++
mechanics/src/core/NetVarManager.cpp
robindittmar/mechanics
ea62f750d3cd448cbd708dee972d5a5b9a1464a0
[ "MIT" ]
null
null
null
mechanics/src/core/NetVarManager.cpp
robindittmar/mechanics
ea62f750d3cd448cbd708dee972d5a5b9a1464a0
[ "MIT" ]
null
null
null
mechanics/src/core/NetVarManager.cpp
robindittmar/mechanics
ea62f750d3cd448cbd708dee972d5a5b9a1464a0
[ "MIT" ]
null
null
null
#include "NetVarManager.h" CNetVarManager::CNetVarManager() { m_bSummarizeOffsets = false; } CNetVarManager::~CNetVarManager() { CNetVar* pCurrent; for (std::map<uint32_t, CNetVar*>::iterator it = m_mapNetVars.begin(); it != m_mapNetVars.end(); it++) { pCurrent = it->second; if (pCurrent) delete pCurrent;...
20.543689
103
0.681947
robindittmar
2dcbcce595687f861aba1ee80bb0510da3f94348
866
cpp
C++
src/io/KegType.cpp
caseymcc/Vorb
a2782bbff662c226002fa69bae688a44770deaf4
[ "MIT" ]
1
2018-10-17T06:37:17.000Z
2018-10-17T06:37:17.000Z
src/io/KegType.cpp
caseymcc/Vorb
a2782bbff662c226002fa69bae688a44770deaf4
[ "MIT" ]
null
null
null
src/io/KegType.cpp
caseymcc/Vorb
a2782bbff662c226002fa69bae688a44770deaf4
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "io/KegType.h" #include "io/Keg.h" keg::Type::Type() : m_sizeInBytes(0), m_values() { // Empty } keg::Type::Type(const nString& name, Environment* env) { if (env) env->addType(name, this); keg::getGlobalEnvironment()->addType(name, this); } void keg::Type::addValue(co...
22.789474
67
0.642032
caseymcc
2dcdb536cc76486ed6b6a0e50b7edd0134ce6491
2,512
hpp
C++
engine/include/game_object.hpp
antonkanin/potatoengine
9c8cfe03381ddc2b266c2320bb9c87fabf9d11dd
[ "MIT" ]
null
null
null
engine/include/game_object.hpp
antonkanin/potatoengine
9c8cfe03381ddc2b266c2320bb9c87fabf9d11dd
[ "MIT" ]
null
null
null
engine/include/game_object.hpp
antonkanin/potatoengine
9c8cfe03381ddc2b266c2320bb9c87fabf9d11dd
[ "MIT" ]
1
2020-01-29T10:18:23.000Z
2020-01-29T10:18:23.000Z
#pragma once #include "mesh.hpp" #include "model.hpp" #include "ptm/vec3.hpp" #include "transformation.hpp" #include <BulletDynamics/Dynamics/btRigidBody.h> #include <engine.hpp> #include <memory> namespace pt { class component; class game_object { public: explicit game_object(std::string name); virtual ~g...
24.627451
78
0.636943
antonkanin
2dcdd25b4e25abf12c26b7141086a50240ac99fc
2,096
cpp
C++
Source Files/Application/Scripts/Managers/FadeManager.cpp
ZackaryCowled/C-Game-Engine
ea26370036f348058000f007fe3c9a8a792e8db4
[ "MIT" ]
null
null
null
Source Files/Application/Scripts/Managers/FadeManager.cpp
ZackaryCowled/C-Game-Engine
ea26370036f348058000f007fe3c9a8a792e8db4
[ "MIT" ]
null
null
null
Source Files/Application/Scripts/Managers/FadeManager.cpp
ZackaryCowled/C-Game-Engine
ea26370036f348058000f007fe3c9a8a792e8db4
[ "MIT" ]
null
null
null
//Internal includes #include "ApplicationHeaders.h" //Fades in all registered GUI objects //Function returns true when all registered GUI objects are fully faded in const bool FadeManager::FadeInGUIObjects(const float fadeSpeed) { //Flag representing whether all registered GUI objects are fully faded in bool fadeSta...
29.521127
100
0.761927
ZackaryCowled
2dd337a073373ec7ffd812049adc1d75e543a980
2,426
cpp
C++
src/Mahi/Com/MelShare.cpp
chip5441/mahi-com
fc7efcc5d7e9ff995303bbc162e694f25f47d6dd
[ "MIT" ]
1
2021-09-22T08:37:01.000Z
2021-09-22T08:37:01.000Z
src/Mahi/Com/MelShare.cpp
chip5441/mahi-com
fc7efcc5d7e9ff995303bbc162e694f25f47d6dd
[ "MIT" ]
1
2020-11-16T04:05:47.000Z
2020-11-16T04:05:47.000Z
src/Mahi/Com/MelShare.cpp
chip5441/mahi-com
fc7efcc5d7e9ff995303bbc162e694f25f47d6dd
[ "MIT" ]
2
2020-12-21T09:28:26.000Z
2021-09-17T03:08:19.000Z
#include <Mahi/Com/MelShare.hpp> #include <Mahi/Util/Types.hpp> #include <Mahi/Com/Packet.hpp> // #include <Mahi/Util.hpp> // #include <Mahi/Com.hpp> using namespace mahi::util; namespace mahi { namespace com { //============================================================================== // CLASS DEFINITIONS //==...
26.086022
83
0.589448
chip5441
2dd35e9c6291a88fe722124cd581c24456425036
1,642
cpp
C++
Atomic/AtObjId.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
4
2019-11-10T21:56:40.000Z
2021-12-11T20:10:55.000Z
Atomic/AtObjId.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
null
null
null
Atomic/AtObjId.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
1
2019-11-11T08:38:59.000Z
2019-11-11T08:38:59.000Z
#include "AtIncludes.h" #include "AtObjId.h" namespace At { ObjId ObjId::None(0, 0); ObjId ObjId::Root(1, 0); byte* ObjId::EncodeBin_Ptr(byte* p) const { memcpy(p, &m_index, 8); p += 8; memcpy(p, &m_uniqueId, 8); p += 8; return p; } void ObjId::EncodeBin(Enc& enc) const { E...
16.42
94
0.517052
denisbider
2dde8d70e8073f5f6f676d86915b244e62d384b3
13,999
cc
C++
example_cpp_smart_card_client_app/src/pp_module.cc
FabianHenneke/poc-smart-sign
14d598a60e007293633df129771e4ca44b798846
[ "Apache-2.0" ]
2
2021-03-29T20:39:42.000Z
2021-10-17T16:48:16.000Z
example_cpp_smart_card_client_app/src/pp_module.cc
ermuur/chromeos_smart_card_connector
3e1f6744f8e731a824320a5bca7066677de9c249
[ "Apache-2.0" ]
null
null
null
example_cpp_smart_card_client_app/src/pp_module.cc
ermuur/chromeos_smart_card_connector
3e1f6744f8e731a824320a5bca7066677de9c249
[ "Apache-2.0" ]
null
null
null
// Copyright 2016 Google Inc. 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...
42.550152
121
0.739339
FabianHenneke
2de1e63d7c6598ad8eabf00967b3dad0bce691bb
3,985
hpp
C++
src/storage/tree/Accounts.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
src/storage/tree/Accounts.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
src/storage/tree/Accounts.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
// Copyright (c) 2018 The Open-Transactions developers // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #pragma once #include "Internal.hpp" #include "opentxs/core/...
32.137097
79
0.667503
nopdotcom
2dea9af562d4923a538b4c47a971342b551f7837
885
hpp
C++
inference-engine/src/legacy_api/src/network_serializer_v7.hpp
Mobious96/openvino
cbdd50556bc350db36da53da2a2db9a2f54e201e
[ "Apache-2.0" ]
null
null
null
inference-engine/src/legacy_api/src/network_serializer_v7.hpp
Mobious96/openvino
cbdd50556bc350db36da53da2a2db9a2f54e201e
[ "Apache-2.0" ]
null
null
null
inference-engine/src/legacy_api/src/network_serializer_v7.hpp
Mobious96/openvino
cbdd50556bc350db36da53da2a2db9a2f54e201e
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <ie_icnn_network.hpp> #include <legacy/ie_layers.h> #include <string> #include <vector> namespace InferenceEngine { namespace Serialization { /** * @brief Serialize execution network into IE IR-like XML...
27.65625
114
0.740113
Mobious96
2dee881bc9c468e5c55a5dfcc49d00c728b46c34
1,388
cpp
C++
Codeforces/258C.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
Codeforces/258C.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
Codeforces/258C.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; const int MAXN = 1e5 + 100 , MOD = 1e9 + 7 ; int dp[MAXN] , n , mx; long long ans , temp; vector <int> divv; long long power(long long x , long long y){ if (y == 0) return 1; long long t = power (x, y / 2); t = (t * t) % MOD; if (y % 2 == 1) ...
22.754098
100
0.423631
Alipashaimani
2df158dfc7812335c241a4b8113f9fa09fad53d9
4,129
hpp
C++
extlib/include/xyginext/audio/AudioScape.hpp
fallahn/speljongen
57cb5e09eec7db8c21ee7b3e7943fa0a76738c51
[ "Unlicense" ]
17
2018-06-23T14:40:56.000Z
2019-07-02T11:58:55.000Z
extlib/include/xyginext/audio/AudioScape.hpp
fallahn/speljongen
57cb5e09eec7db8c21ee7b3e7943fa0a76738c51
[ "Unlicense" ]
3
2018-06-23T12:35:12.000Z
2018-06-23T12:38:54.000Z
extlib/include/xyginext/audio/AudioScape.hpp
fallahn/speljongen
57cb5e09eec7db8c21ee7b3e7943fa0a76738c51
[ "Unlicense" ]
null
null
null
/********************************************************************* (c) Matt Marchant 2017 - 2019 http://trederia.blogspot.com xygineXT - 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 thi...
33.298387
90
0.644224
fallahn
2df7102107f72e7e5c0f5d5a7caedad4300879e1
4,103
hpp
C++
linear_algebra.inl.hpp
matheuscscp/linear_algebra
2a8d5dee1ab1b6d62ba1e1987e2251b87febe74e
[ "MIT" ]
null
null
null
linear_algebra.inl.hpp
matheuscscp/linear_algebra
2a8d5dee1ab1b6d62ba1e1987e2251b87febe74e
[ "MIT" ]
null
null
null
linear_algebra.inl.hpp
matheuscscp/linear_algebra
2a8d5dee1ab1b6d62ba1e1987e2251b87febe74e
[ "MIT" ]
null
null
null
/* * linear_algebra.inl.hpp * * Created on: Feb 21, 2015 * Author: Pimenta */ #ifndef LINEAR_ALGEBRA_INL_HPP_ #define LINEAR_ALGEBRA_INL_HPP_ #include <cmath> namespace linear_algebra { template <typename T> struct Vector3 { T x, y, z; Vector3(T x = 0, T y = 0, T z = 0) : x(x), y(y), z(z) { ...
23.58046
79
0.571289
matheuscscp
2df8e2bd2ca2f77a3b26a8885c3b5578f87b74cc
5,233
cxx
C++
Modules/IO/IOGDAL/test/otbGDALRPCTransformerTest2.cxx
liuxuvip/OTB
73ed482d62c2924aea158aac14d725dc9447083b
[ "Apache-2.0" ]
317
2015-01-19T08:40:58.000Z
2022-03-17T11:55:48.000Z
Modules/IO/IOGDAL/test/otbGDALRPCTransformerTest2.cxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
18
2015-07-29T14:13:45.000Z
2021-03-29T12:36:24.000Z
Modules/IO/IOGDAL/test/otbGDALRPCTransformerTest2.cxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
132
2015-02-21T23:57:25.000Z
2022-03-25T16:03:16.000Z
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.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 ...
37.378571
144
0.688324
liuxuvip
93046434ae89d0310e0d9f6a5e72487c0425faf4
775
cpp
C++
packages/utility/system/src/Utility_CylindricalSpatialCoordinateConversionPolicy.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/utility/system/src/Utility_CylindricalSpatialCoordinateConversionPolicy.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/utility/system/src/Utility_CylindricalSpatialCoordinateConversionPolicy.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file Utility_CylindricalSpatialCoordinateConversionPolicy.cpp //! \author Alex Robinson //! \brief Cylindrical coordinate conversion policy template instantiations //! //----------------------------------------------------------...
43.055556
87
0.492903
bam241
9304e43be421663bdce11be46852fde98a892444
1,091
cpp
C++
perftest/testlocator.cpp
mashavorob/lfds
3890472a8a9996ce35d9a28f185df4c2f219a2bd
[ "0BSD" ]
null
null
null
perftest/testlocator.cpp
mashavorob/lfds
3890472a8a9996ce35d9a28f185df4c2f219a2bd
[ "0BSD" ]
null
null
null
perftest/testlocator.cpp
mashavorob/lfds
3890472a8a9996ce35d9a28f185df4c2f219a2bd
[ "0BSD" ]
null
null
null
/* * testlocator.cpp * * Created on: Mar 23, 2015 * Author: masha */ #include "testlocator.hpp" #include "performancetest.hpp" #include "testfactory.hpp" #include <xtomic/aux/cppbasics.hpp> #include <stdexcept> namespace xtomic { namespace perftest { PerfTestInfo* PerfTestLocator::m_link = nullptr; Per...
16.044118
77
0.64528
mashavorob
93076ebed2da5f10879ce444c000c80e472b2f75
4,918
cpp
C++
service/src/sys/autorun2.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
null
null
null
service/src/sys/autorun2.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
null
null
null
service/src/sys/autorun2.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
null
null
null
#include <exodus/library.h> libraryinit() #include <getsubs.h> #include <sys_common.h> var mode; var datax; var runasusercode; var targetusercodes; var title; var usern;//num function main(in mode0, in title0, in module, in request, in data0, in runasusercode0, in targetusercodes0, io document0, io docid, out msg) ...
22.874419
142
0.642741
BOBBYWY
930dfb0d9be75eaed422e27eff72f9cc840075e0
1,479
cc
C++
src/base/resolution.cc
miguelpinho/gem5-thesis
3a604b7a742dbfd40a1157749c461e8a71911c45
[ "BSD-3-Clause" ]
2
2021-02-20T21:41:39.000Z
2021-11-09T14:52:01.000Z
src/base/resolution.cc
miguelpinho/gem5-thesis
3a604b7a742dbfd40a1157749c461e8a71911c45
[ "BSD-3-Clause" ]
null
null
null
src/base/resolution.cc
miguelpinho/gem5-thesis
3a604b7a742dbfd40a1157749c461e8a71911c45
[ "BSD-3-Clause" ]
null
null
null
/// MPINHO 2-mar-2019 BEGIN /// #include "base/resolution.hh" #include "arch/utility.hh" int unsignedIntResolution(uint64_t val) { if (val == 0) return 0; int prc = 1; // in findMsbSet they don't have this if (val >> 32) { val += 32; val = val >> 32; } if (val >> 16) { prc += 16; val = val >> 16; } ...
23.109375
60
0.521298
miguelpinho
93101178a438876b9b6f3c3b691a0c2e3c26e612
3,101
cpp
C++
Aurora/Aurora/timer.cpp
manaskamal/aurora-xeneva
fe277f7ac155a40465c70f1db3c27046e4d0f7b5
[ "BSD-2-Clause" ]
8
2021-07-19T04:46:35.000Z
2022-03-12T17:56:00.000Z
Aurora/Aurora/timer.cpp
manaskamal/aurora-xeneva
fe277f7ac155a40465c70f1db3c27046e4d0f7b5
[ "BSD-2-Clause" ]
null
null
null
Aurora/Aurora/timer.cpp
manaskamal/aurora-xeneva
fe277f7ac155a40465c70f1db3c27046e4d0f7b5
[ "BSD-2-Clause" ]
null
null
null
/** * Copyright (C) Manas Kamal Choudhury 2021 * * timer.h -- The Global Timer used by usermode objects * * /PROJECT - Aurora's Xeneva v1.0 * /AUTHOR - Manas Kamal Choudhury * */ #include <timer.h> #include <_null.h> #include <pmmngr.h> #include <stdio.h> #include <arch\x86_64\cpu.h> #include <ipc\postbo...
19.26087
57
0.62238
manaskamal
9311892ac3c1fd2b8a3db6e74e57269792d352f0
4,279
cpp
C++
src/navmesh_parameters.cpp
TheFamousRat/GodotFlowField
0da627f73aff1149bd7838cab03b380fb7f34b86
[ "MIT" ]
3
2021-02-25T18:39:07.000Z
2022-01-28T16:11:08.000Z
src/navmesh_parameters.cpp
TheFamousRat/GodotFlowField
0da627f73aff1149bd7838cab03b380fb7f34b86
[ "MIT" ]
1
2021-04-05T15:42:18.000Z
2021-04-05T15:42:18.000Z
src/navmesh_parameters.cpp
TheFamousRat/GodotFlowField
0da627f73aff1149bd7838cab03b380fb7f34b86
[ "MIT" ]
null
null
null
#include "navmesh_parameters.h" static const int DEFAULT_TILE_SIZE = 64; static const float DEFAULT_CELL_SIZE = 0.3f; static const float DEFAULT_CELL_HEIGHT = 0.2f; static const float DEFAULT_AGENT_HEIGHT = 2.0f; static const float DEFAULT_AGENT_RADIUS = 0.6f; static const float DEFAULT_AGENT_MAX_CLIMB = 0.9f; static ...
52.82716
204
0.838046
TheFamousRat
93124e5242aaec99a07bd9cad0ba8d70d8e84fe9
4,808
cc
C++
tagging_tools/entity_binding.cc
nickroess/hope-policy-engine
3c8686b41dd933985c1eead593754c14d9a8728d
[ "MIT" ]
1
2021-05-02T07:09:40.000Z
2021-05-02T07:09:40.000Z
tagging_tools/entity_binding.cc
nickroess/hope-policy-engine
3c8686b41dd933985c1eead593754c14d9a8728d
[ "MIT" ]
13
2019-07-01T14:49:16.000Z
2020-08-04T15:24:05.000Z
tagging_tools/entity_binding.cc
nickroess/hope-policy-engine
3c8686b41dd933985c1eead593754c14d9a8728d
[ "MIT" ]
3
2019-06-18T17:09:12.000Z
2021-05-02T07:09:42.000Z
/* * Copyright © 2017-2018 Dover Microsystems, Inc. * All rights reserved. * * Use and disclosure subject to the following license. * * 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...
41.448276
106
0.691348
nickroess
931864a852a0a1633c69d6bcf21831da5265257a
1,308
cpp
C++
cmake-build-debug/test/unit/mechanisms/test0_kin_conserve_gpu.cpp
anstaf/arbsimd
c4ba87b02b26a47ef33d0a3eba78a4f330c88073
[ "BSD-3-Clause" ]
null
null
null
cmake-build-debug/test/unit/mechanisms/test0_kin_conserve_gpu.cpp
anstaf/arbsimd
c4ba87b02b26a47ef33d0a3eba78a4f330c88073
[ "BSD-3-Clause" ]
null
null
null
cmake-build-debug/test/unit/mechanisms/test0_kin_conserve_gpu.cpp
anstaf/arbsimd
c4ba87b02b26a47ef33d0a3eba78a4f330c88073
[ "BSD-3-Clause" ]
null
null
null
#include <arbor/mechanism_abi.h> #include <cmath> namespace testing { void mechanism_test0_kin_conserve_gpu_init_(arb_mechanism_ppack*); void mechanism_test0_kin_conserve_gpu_advance_state_(arb_mechanism_ppack*); void mechanism_test0_kin_conserve_gpu_compute_currents_(arb_mechanism_ppack*); void mechanism_test0_kin_co...
43.6
105
0.856269
anstaf
7933dc15b6801eb0fb6326bfd120ff6d021f9338
9,118
cpp
C++
Sources/Modules/Renderer/SM2/OcclusionMapGenerator.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
2
2015-04-16T01:05:53.000Z
2019-08-26T07:38:43.000Z
Sources/Modules/Renderer/SM2/OcclusionMapGenerator.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
Sources/Modules/Renderer/SM2/OcclusionMapGenerator.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider, * Jérémie Comarmond, Didier Colin. * 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 ...
42.212963
197
0.665826
benkaraban
793e9d490330920025aca555b4bc7cc7bcf440a4
1,424
cpp
C++
Source/LogiLed/Private/LogiLedModule.cpp
ue4plugins/LogitechLed
6347c14d2b785b5a4d7636998ab0c99bc8a5b166
[ "BSD-3-Clause" ]
null
null
null
Source/LogiLed/Private/LogiLedModule.cpp
ue4plugins/LogitechLed
6347c14d2b785b5a4d7636998ab0c99bc8a5b166
[ "BSD-3-Clause" ]
null
null
null
Source/LogiLed/Private/LogiLedModule.cpp
ue4plugins/LogitechLed
6347c14d2b785b5a4d7636998ab0c99bc8a5b166
[ "BSD-3-Clause" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "LogiLedPrivate.h" #include "Modules/ModuleInterface.h" #include "Modules/ModuleManager.h" #include "LogitechLEDLib.h" DEFINE_LOG_CATEGORY(LogLogiLed); #define LOCTEXT_NAMESPACE "FLogiLedModule" /** * Implements the LogiLed module. */ class...
16.55814
96
0.707865
ue4plugins
794349e6afc59dff7efd2a109daa192786bd1679
439
cpp
C++
raygame/SteeringBehaviour.cpp
lodisperkins/AI2021---Graph-Framework
84c5f5d733c27b1ea144b90ca66bce276586cd63
[ "MIT" ]
null
null
null
raygame/SteeringBehaviour.cpp
lodisperkins/AI2021---Graph-Framework
84c5f5d733c27b1ea144b90ca66bce276586cd63
[ "MIT" ]
null
null
null
raygame/SteeringBehaviour.cpp
lodisperkins/AI2021---Graph-Framework
84c5f5d733c27b1ea144b90ca66bce276586cd63
[ "MIT" ]
null
null
null
#include "SteeringBehaviour.h" SteeringBehaviour::SteeringBehaviour() { } SteeringBehaviour::SteeringBehaviour(SteeringForce * steeringForce) { steeringForceObject = steeringForce; } SteeringBehaviour::~SteeringBehaviour() { } void SteeringBehaviour::execute(Agent* agent) { force = steeringForceObject->GetForce(a...
16.884615
67
0.776765
lodisperkins