hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
c798c9b0820c4864c89849e547a44a61d0b182e0
1,655
hpp
C++
src/tensorrt/src/core/dataset/tensor_dataset.hpp
tfindlay-au/dlcookbook-dlbs
a4e65f022523a10531817533a4244c3050e9336d
[ "Apache-2.0" ]
null
null
null
src/tensorrt/src/core/dataset/tensor_dataset.hpp
tfindlay-au/dlcookbook-dlbs
a4e65f022523a10531817533a4244c3050e9336d
[ "Apache-2.0" ]
null
null
null
src/tensorrt/src/core/dataset/tensor_dataset.hpp
tfindlay-au/dlcookbook-dlbs
a4e65f022523a10531817533a4244c3050e9336d
[ "Apache-2.0" ]
null
null
null
/* (c) Copyright [2017] Hewlett Packard Enterprise Development LP 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...
38.488372
114
0.731118
tfindlay-au
c79e791e4125a5ba5f2590c5c55b8c367bb9c2ac
1,523
cpp
C++
src/zipalign/tests/src/align_test.cpp
Lzhiyong/android-sdk-tools
a2c5e32764f4140c13da017abe9f861ba462cc7c
[ "Apache-2.0" ]
22
2018-06-25T15:57:58.000Z
2020-03-26T15:42:23.000Z
src/zipalign/tests/src/align_test.cpp
Lzhiyong/android-sdk-tools
a2c5e32764f4140c13da017abe9f861ba462cc7c
[ "Apache-2.0" ]
3
2018-12-11T04:15:06.000Z
2020-05-01T00:06:46.000Z
src/zipalign/tests/src/align_test.cpp
Lzhiyong/android-sdk-tools
a2c5e32764f4140c13da017abe9f861ba462cc7c
[ "Apache-2.0" ]
6
2018-08-25T19:54:58.000Z
2020-03-26T15:42:26.000Z
#include "gmock/gmock.h" #include "gtest/gtest.h" #include "ZipAlign.h" #include <stdio.h> #include <string> #include <android-base/file.h> using namespace android; static std::string GetTestPath(const std::string& filename) { static std::string test_data_dir = android::base::GetExecutableDirectory() + "/tests/d...
28.203704
94
0.698621
Lzhiyong
c79f7371907cf7d50c7badf1bdb7848151d2385b
128
hpp
C++
src/icebox/icebox/utils/path.hpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
521
2019-03-29T15:44:08.000Z
2022-03-22T09:46:19.000Z
src/icebox/icebox/utils/path.hpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
30
2019-06-04T17:00:49.000Z
2021-09-08T20:44:19.000Z
src/icebox/icebox/utils/path.hpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
99
2019-03-29T16:04:13.000Z
2022-03-28T16:59:34.000Z
#pragma once #include "icebox/types.hpp" namespace path { fs::path filename(const std::string& path); } // namespace path
14.222222
47
0.695313
Fimbure
c7a09c927211c77e9ba3528c5c77d3f11982d0ef
2,350
cpp
C++
cpp/pipe2.cpp
cs1730/cs1730-syscalls
868047de2a95d2abdcb5d22f34af1e55de8ffe42
[ "MIT" ]
1
2016-11-05T01:53:05.000Z
2016-11-05T01:53:05.000Z
cpp/pipe2.cpp
cs1730/cs1730-syscalls
868047de2a95d2abdcb5d22f34af1e55de8ffe42
[ "MIT" ]
null
null
null
cpp/pipe2.cpp
cs1730/cs1730-syscalls
868047de2a95d2abdcb5d22f34af1e55de8ffe42
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <cstdlib> #include <cstring> #include <unistd.h> #include <sys/types.h> #include <sys/wait.h> using namespace std; void close_pipe(int pipefd [2]); vector<char *> mk_cstrvec(vector<string> & strvec); void dl_cstrvec(vector<char *> & cstrvec); void nice...
25.824176
78
0.64
cs1730
c7a6d631064fc09fc6d9b87ad01167f0329722ff
119
cpp
C++
Source/XeluIcons/Private/XeluIconsLog.cpp
mklabs/ue-xelu-icons
4aaf54ecb9533fc3689f457b280b79293b861b47
[ "MIT" ]
5
2022-02-01T22:49:51.000Z
2022-03-03T10:18:36.000Z
Source/XeluIcons/Private/XeluIconsLog.cpp
mklabs/ue-xelu-icons
4aaf54ecb9533fc3689f457b280b79293b861b47
[ "MIT" ]
1
2022-01-31T23:09:04.000Z
2022-01-31T23:09:04.000Z
Source/XeluIcons/Private/XeluIconsLog.cpp
mklabs/ue-xelu-icons
4aaf54ecb9533fc3689f457b280b79293b861b47
[ "MIT" ]
null
null
null
// Copyright 2022 Mickael Daniel. All Rights Reserved. #include "XeluIconsLog.h" DEFINE_LOG_CATEGORY(LogXeluIcons)
17
55
0.789916
mklabs
c7ab8df954b5e2dd2a4684c9ea99eba630034172
632
hpp
C++
include/rive/world_transform_component.hpp
kariem2k/rive-cpp
f58c3b3d48ea03947a76971bce17e7f567cf0de0
[ "MIT" ]
139
2020-08-17T20:10:24.000Z
2022-03-28T12:22:44.000Z
include/rive/world_transform_component.hpp
kariem2k/rive-cpp
f58c3b3d48ea03947a76971bce17e7f567cf0de0
[ "MIT" ]
89
2020-08-28T16:41:01.000Z
2022-03-28T19:10:49.000Z
include/rive/world_transform_component.hpp
kariem2k/rive-cpp
f58c3b3d48ea03947a76971bce17e7f567cf0de0
[ "MIT" ]
19
2020-10-19T00:54:40.000Z
2022-02-28T05:34:17.000Z
#ifndef _RIVE_WORLD_TRANSFORM_COMPONENT_HPP_ #define _RIVE_WORLD_TRANSFORM_COMPONENT_HPP_ #include "rive/generated/world_transform_component_base.hpp" #include "rive/math/mat2d.hpp" namespace rive { class TransformComponent; class WorldTransformComponent : public WorldTransformComponentBase { friend class Transfo...
24.307692
67
0.803797
kariem2k
c7acc77edb9d93bde8ec7906f3fef668fcaa0b39
6,319
hpp
C++
blast/include/algo/blast/api/query_data.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
blast/include/algo/blast/api/query_data.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
blast/include/algo/blast/api/query_data.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
/* $Id: query_data.hpp 161402 2009-05-27 17:35:47Z camacho $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * ...
35.700565
79
0.666403
mycolab
c7ad4046737db1af7a765380184a7a2030614c9e
10,143
hpp
C++
stf-inc/stf_fstream.hpp
sparcians/stf_lib
9e4933bff0c956dba464ced72e311e73507342dc
[ "MIT" ]
1
2022-02-17T00:48:44.000Z
2022-02-17T00:48:44.000Z
stf-inc/stf_fstream.hpp
sparcians/stf_lib
9e4933bff0c956dba464ced72e311e73507342dc
[ "MIT" ]
null
null
null
stf-inc/stf_fstream.hpp
sparcians/stf_lib
9e4933bff0c956dba464ced72e311e73507342dc
[ "MIT" ]
null
null
null
#ifndef __STF_FSTREAM_HPP__ #define __STF_FSTREAM_HPP__ #include <ios> #include <string_view> #include <fcntl.h> #include <unistd.h> #include <sys/stat.h> #include <mutex> #include <set> #include <vector> #include "stf_exception.hpp" #include "stf_pc_tracker.hpp" #include "stf_vlen.hpp" namespace stf { /** ...
37.290441
147
0.506458
sparcians
c7b41672c7d475a0d9a0d7f83066cc93a594382e
17,506
cpp
C++
src/config/ui_preferences_display.cpp
dinfinity/foo_openlyrics
cf42d61ce172f374b76140b5922f7eae1aef33b3
[ "MIT" ]
132
2021-01-26T11:19:30.000Z
2022-03-28T09:52:45.000Z
src/config/ui_preferences_display.cpp
dinfinity/foo_openlyrics
cf42d61ce172f374b76140b5922f7eae1aef33b3
[ "MIT" ]
108
2021-04-08T10:57:27.000Z
2022-03-27T08:02:15.000Z
src/config/ui_preferences_display.cpp
dinfinity/foo_openlyrics
cf42d61ce172f374b76140b5922f7eae1aef33b3
[ "MIT" ]
13
2021-08-06T06:21:05.000Z
2022-03-28T08:19:37.000Z
#include "stdafx.h" #pragma warning(push, 0) #include "resource.h" #include "foobar2000/helpers/atl-misc.h" #pragma warning(pop) #include "config/config_auto.h" #include "config/config_font.h" #include "logging.h" #include "preferences.h" #include "ui_hooks.h" static const GUID GUID_PREFERENCES_PAGE_DIS...
37.405983
200
0.711299
dinfinity
c7b445038ae290e8cfb4937af50dcbfe98518160
4,559
hpp
C++
src/object.hpp
SkyVault/vault-lang
b50ddaa7b35b180066fe794a537bf25b032a03e0
[ "MIT" ]
3
2021-04-14T15:42:28.000Z
2021-08-25T14:35:01.000Z
src/object.hpp
SkyVault/vault-lang
b50ddaa7b35b180066fe794a537bf25b032a03e0
[ "MIT" ]
null
null
null
src/object.hpp
SkyVault/vault-lang
b50ddaa7b35b180066fe794a537bf25b032a03e0
[ "MIT" ]
null
null
null
#pragma once #include "vault.hpp" #include "gc.hpp" #include <cstdint> #include <cstdlib> #include <string_view> #include <sstream> #include <string> #include <cstring> #include <map> #include <memory> #include <functional> #include <cassert> #include "object_type.hpp" #include "gc.hpp" namespace Vault { Obj* fs...
30.192053
122
0.601009
SkyVault
c7b485395c03893055e1620e229a5b814a8d6cac
759
cpp
C++
Cfiles/sayitahmin.cpp
HilalSolak/Cprojects
e7cec37cbcdbe227c74f1fc35e1c76c9223f3b3d
[ "MIT" ]
null
null
null
Cfiles/sayitahmin.cpp
HilalSolak/Cprojects
e7cec37cbcdbe227c74f1fc35e1c76c9223f3b3d
[ "MIT" ]
null
null
null
Cfiles/sayitahmin.cpp
HilalSolak/Cprojects
e7cec37cbcdbe227c74f1fc35e1c76c9223f3b3d
[ "MIT" ]
null
null
null
#include<stdio.h> #include<stdlib.h> void sayitahmin(int sayi){ int tahmin; printf(" Tahmin Gir:"); scanf("%d",&tahmin); if(tahmin<sayi){ printf("daha buyuk tahmin yap:"); sayitahmin(sayi); } else if(tahmin>sayi){ printf("daha kucuk tahmin yap:"); sayitahmin(sayi); } ...
21.685714
75
0.536232
HilalSolak
c7b56f1866133878f851dcb11e3f009fdabf90d2
17,979
cpp
C++
Cube First Phase/cube.cpp
mriddell001/encryption-cube
fd3c8ecd1cffb44bfe0bcfb361165237299cb619
[ "Apache-2.0" ]
null
null
null
Cube First Phase/cube.cpp
mriddell001/encryption-cube
fd3c8ecd1cffb44bfe0bcfb361165237299cb619
[ "Apache-2.0" ]
null
null
null
Cube First Phase/cube.cpp
mriddell001/encryption-cube
fd3c8ecd1cffb44bfe0bcfb361165237299cb619
[ "Apache-2.0" ]
null
null
null
//Cube.cpp #include "cube.h" #include <string> #include <vector> #include <fstream> #include <iterator> #include <iostream> using namespace std; /** * Cube - Initial creation of cube. * * Notes: May be impacted by changing load order. Check when project reaches * applicable phase in development. Current load ...
35.115234
81
0.47333
mriddell001
c7b997bd30d468336e60d9d3bb6a3d84c5325abc
511
hpp
C++
src/quail-ground/System.hpp
stanford-ssi/SpaceSalmon
79d8b17f02e317ef547e8097bbbb2277785ebabb
[ "MIT" ]
12
2019-03-30T00:09:33.000Z
2022-02-21T11:48:34.000Z
src/quail-ground/System.hpp
stanford-ssi/SpaceSalmon
79d8b17f02e317ef547e8097bbbb2277785ebabb
[ "MIT" ]
20
2019-02-09T06:41:46.000Z
2022-03-18T10:13:09.000Z
src/quail-ground/System.hpp
stanford-ssi/SpaceSalmon
79d8b17f02e317ef547e8097bbbb2277785ebabb
[ "MIT" ]
2
2019-09-18T13:13:17.000Z
2020-11-25T00:24:11.000Z
#pragma once class System; #include <Arduino.h> #include "LoggerTask.hpp" #include "RadioTask.hpp" #include "TXTask.hpp" #include "RXTask.hpp" class System { public: const bool shitl = false; const bool silent = true; class Tasks { public: LoggerTask logger = LoggerTask(5); //logs to U...
16.483871
59
0.612524
stanford-ssi
c7bb513026790fee3e2101bc66e07a701b498327
768
cpp
C++
Jugador.cpp
mikeandino/Lab4-P3-Grupo6
447be4989bb45ed7341b8da81896809e72e80dfb
[ "MIT" ]
null
null
null
Jugador.cpp
mikeandino/Lab4-P3-Grupo6
447be4989bb45ed7341b8da81896809e72e80dfb
[ "MIT" ]
null
null
null
Jugador.cpp
mikeandino/Lab4-P3-Grupo6
447be4989bb45ed7341b8da81896809e72e80dfb
[ "MIT" ]
null
null
null
#include "Jugador.h" Jugador::Jugador(string nombre,string usuario,string clave,int puntuacion){ this->nombre=nombre; this->usuario=usuario; this->clave=clave; this->puntuacion=puntuacion; } Jugador::Jugador(){ }void Jugador::setNombre(string nombre){ this-> nombre=nombre; } string Jugador::getNombre(){ ret...
20.210526
75
0.722656
mikeandino
c7be54e3819e4ae3845255f7944b014d29338612
1,864
cpp
C++
utils/files.cpp
Bill2462/calculon
8caa1b346eae5b1320b2786468ec3caac607d583
[ "MIT" ]
null
null
null
utils/files.cpp
Bill2462/calculon
8caa1b346eae5b1320b2786468ec3caac607d583
[ "MIT" ]
null
null
null
utils/files.cpp
Bill2462/calculon
8caa1b346eae5b1320b2786468ec3caac607d583
[ "MIT" ]
null
null
null
/** * @file files.cpp * @brief This source file contains code for saving and loading numpy array. * @author Krzysztof Adamkiewicz * @date 31/9/2019 */ // This file is part of measurements laboratory excercise solution. // Copyright (c) 2019 Krzysztof Adamkiewicz <kadamkiewicz835@gmail.com> // // Permission is her...
39.659574
88
0.73176
Bill2462
c7c20785f62f1b31150de74d37b64e3c03b73d25
265
cpp
C++
Engine/Source/Runtime/GameplayAbilities/Private/GameplayEffectExtension.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Runtime/GameplayAbilities/Private/GameplayEffectExtension.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Runtime/GameplayAbilities/Private/GameplayEffectExtension.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "AbilitySystemPrivatePCH.h" #include "GameplayEffectExtension.h" UGameplayEffectExtension::UGameplayEffectExtension(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { }
24.090909
95
0.822642
PopCap
c7c5a05817b97764658b2f9ca69b2a485a7699fb
1,017
hpp
C++
src/integrated/IntegratedRunner.hpp
Person-93/aima-cpp
08d062dcb971edeaddb9a10083cf6da5a1b869f7
[ "MIT" ]
null
null
null
src/integrated/IntegratedRunner.hpp
Person-93/aima-cpp
08d062dcb971edeaddb9a10083cf6da5a1b869f7
[ "MIT" ]
null
null
null
src/integrated/IntegratedRunner.hpp
Person-93/aima-cpp
08d062dcb971edeaddb9a10083cf6da5a1b869f7
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <atomic> #include "forward.hpp" namespace aima::gui { struct ImGuiWrapper; } namespace aima::IntegratedRunner { /** * Represents an integrated runner that can run apps and demos */ class IntegratedRunner { public: IntegratedRunner(); Inte...
24.804878
87
0.629302
Person-93
c7c69e7fe48fd4a92fafae09debcd9566310f795
1,605
hpp
C++
Array.hpp
ljacobson64/heat-solver
9ca4dde0e1e39c48b21c471809ea1651ceb57a32
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
Array.hpp
ljacobson64/heat-solver
9ca4dde0e1e39c48b21c471809ea1651ceb57a32
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
Array.hpp
ljacobson64/heat-solver
9ca4dde0e1e39c48b21c471809ea1651ceb57a32
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#ifndef ARRAY_H #define ARRAY_H #include "Common.hpp" template <class T> class Array { public: Array<T>(int, int); // Constructor ~Array<T>() {}; // Destructor // Arithmetic operators: two arrays Array<T> operator+(const Array<T>&) const; Array<T> operator-(const Array<T>&) const; Array<T> operator*(c...
25.078125
52
0.642368
ljacobson64
c7c6e7cd782a2322205594f208ab9c078d388df7
2,283
cpp
C++
More Advanced Topics/More Advanced Search Techniques/ More Challenging State-Space Search with BFS or Dijkstra's/Dancing Digits.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
3
2017-08-12T06:09:39.000Z
2018-09-16T02:31:27.000Z
More Advanced Topics/More Advanced Search Techniques/ More Challenging State-Space Search with BFS or Dijkstra's/Dancing Digits.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
null
null
null
More Advanced Topics/More Advanced Search Techniques/ More Challenging State-Space Search with BFS or Dijkstra's/Dancing Digits.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector <int> vi; vi a; bitset <32> bs; unordered_map <int, int> map1; void sieve(){ bs.set(); bs[0]=bs[1]=0; for(int i=2; i<20; i++) if(bs[i]){ for(int j=i*i; j<20; j += i) bs[j] = 0; } } inline int calc(const vi...
25.366667
71
0.38502
satvik007
c7c73b9ff219087d1cd00a932d0332e83f052dd7
7,318
cpp
C++
ProcessLib/ComponentTransport/CreateComponentTransportProcess.cpp
hosseinsotudeh/ogs
214afcb00af23e4393168a846c7ee8ce4f13e489
[ "BSD-4-Clause" ]
null
null
null
ProcessLib/ComponentTransport/CreateComponentTransportProcess.cpp
hosseinsotudeh/ogs
214afcb00af23e4393168a846c7ee8ce4f13e489
[ "BSD-4-Clause" ]
null
null
null
ProcessLib/ComponentTransport/CreateComponentTransportProcess.cpp
hosseinsotudeh/ogs
214afcb00af23e4393168a846c7ee8ce4f13e489
[ "BSD-4-Clause" ]
null
null
null
/** * \copyright * Copyright (c) 2012-2018, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license * */ #include "CreateComponentTransportProcess.h" #inc...
41.344633
118
0.715633
hosseinsotudeh
c7cf7c6d391920a9196732d9aefc37a83e4938ca
1,559
cpp
C++
src/iislua/cluahttpmodule.cpp
shibayan/iislua
b0fe6fb0c204748928b6dd3205d0fe42f899d20c
[ "Apache-2.0" ]
16
2015-10-09T08:03:24.000Z
2022-03-30T08:54:10.000Z
src/iislua/cluahttpmodule.cpp
shibayan/iislua
b0fe6fb0c204748928b6dd3205d0fe42f899d20c
[ "Apache-2.0" ]
6
2015-09-18T08:12:42.000Z
2020-04-05T07:00:14.000Z
src/iislua/cluahttpmodule.cpp
shibayan/iislua
b0fe6fb0c204748928b6dd3205d0fe42f899d20c
[ "Apache-2.0" ]
7
2017-09-12T09:53:20.000Z
2022-02-28T23:50:03.000Z
#include "stdafx.h" CLuaHttpModule::CLuaHttpModule(CLuaStatePool* pLuaStatePool) : L(nullptr), pLuaStatePool(pLuaStatePool) { } CLuaHttpModule::~CLuaHttpModule() { if (L != nullptr) { pLuaStatePool->Release(L); L = nullptr; } } REQUEST_NOTIFICATION_STATUS CLuaHttpModule::OnExecuteCor...
25.983333
219
0.717768
shibayan
c7d089ee746f7b991c88b51b978fe3b04a663a31
4,775
cpp
C++
src/Player.cpp
ScaredStorm/Platformer-Prototype
6ef4463e6e939f3bf06918150cb07933a40baa83
[ "MIT" ]
null
null
null
src/Player.cpp
ScaredStorm/Platformer-Prototype
6ef4463e6e939f3bf06918150cb07933a40baa83
[ "MIT" ]
null
null
null
src/Player.cpp
ScaredStorm/Platformer-Prototype
6ef4463e6e939f3bf06918150cb07933a40baa83
[ "MIT" ]
null
null
null
#include "Player.h" Player::Player(Level *level, SDL_Texture* sprite, float x, float y, int id) : Entity(sprite, x, y) , m_level(level) { std::printf("Player position: %fx%f\n", m_x, m_y); m_leftPressed = false; m_rightPressed = false; m_upPressed = false; m_downPressed = false; m_onG...
20.76087
78
0.493613
ScaredStorm
c7d3cb0b68196ff15483ee6a770f3849d60111ed
389
hpp
C++
UnsharpMask/Include/ImageFilter/ImageFilter.hpp
cristian-szabo/unsharp-mask-opencl
c760a45ff9af38089ca1fa5cfd99a9f85dc36bff
[ "MIT" ]
4
2017-10-28T08:54:55.000Z
2020-06-08T12:30:30.000Z
UnsharpMask/Include/ImageFilter/ImageFilter.hpp
cristian-szabo/unsharp-mask-opencl
c760a45ff9af38089ca1fa5cfd99a9f85dc36bff
[ "MIT" ]
null
null
null
UnsharpMask/Include/ImageFilter/ImageFilter.hpp
cristian-szabo/unsharp-mask-opencl
c760a45ff9af38089ca1fa5cfd99a9f85dc36bff
[ "MIT" ]
null
null
null
#pragma once #include "PPM.hpp" class ImageProcess; class UNSHARP_MASK_PUBLIC ImageFilter { public: virtual ~ImageFilter(); protected: virtual bool onLoad(std::shared_ptr<ImageProcess> proc); virtual void onBefore(std::uint32_t glTexId); virtual std::uint64_t onApply(const PPM& image) = 0; ...
14.407407
60
0.714653
cristian-szabo
c7d7ad92d8c7affe12f540ca47bfb437d741eb77
3,076
cpp
C++
sequencediagrambuilder.cpp
abhinavarora/Model-Based-Testing-and-Test-Case-Prioritization-using-Genetic-Algorithm
6a6899b93e1911f50ad05c845aa1bf1325b37cf0
[ "MIT", "Unlicense" ]
4
2019-11-18T14:57:49.000Z
2021-04-21T09:36:32.000Z
sequencediagrambuilder.cpp
abhinavarora/Model-Based-Testing-and-Test-Case-Prioritization-using-Genetic-Algorithm
6a6899b93e1911f50ad05c845aa1bf1325b37cf0
[ "MIT", "Unlicense" ]
null
null
null
sequencediagrambuilder.cpp
abhinavarora/Model-Based-Testing-and-Test-Case-Prioritization-using-Genetic-Algorithm
6a6899b93e1911f50ad05c845aa1bf1325b37cf0
[ "MIT", "Unlicense" ]
2
2016-10-12T01:28:04.000Z
2017-07-11T21:50:58.000Z
#include "sequencediagrambuilder.h" #include "actorbuilder.h" #include "messagebuilder.h" #include "combinedfragmentbuilder.h" #include "node.h" #include <iostream> using namespace std; SequenceDiagramBuilder::SequenceDiagramBuilder(string inputFile) { (this->doc).LoadFile(); if(! (this->doc.LoadFile(inputFile...
33.075269
149
0.558843
abhinavarora
93a0b6142ff0df5b83e8072db1d9f34ea015b464
2,785
cpp
C++
examples2/axFileGen/FileGenOps/Sequence.cpp
Phygon/aaf
faef720e031f501190481e1d1fc1870a7dc8f98b
[ "Linux-OpenIB" ]
null
null
null
examples2/axFileGen/FileGenOps/Sequence.cpp
Phygon/aaf
faef720e031f501190481e1d1fc1870a7dc8f98b
[ "Linux-OpenIB" ]
null
null
null
examples2/axFileGen/FileGenOps/Sequence.cpp
Phygon/aaf
faef720e031f501190481e1d1fc1870a7dc8f98b
[ "Linux-OpenIB" ]
null
null
null
//=---------------------------------------------------------------------= // // $Id$ $Name$ // // The contents of this file are subject to the AAF SDK Public Source // License Agreement Version 2.0 (the "License"); You may not use this // file except in compliance with the License. The License is available // in AAFSD...
26.273585
73
0.622262
Phygon
93a1211d0f9019122eab720ba87137a45c60f187
11,386
hh
C++
include/vkpp/buffer.hh
clayne/vkhr
ffcc0394c0991049337011e45ff3da9f3bd1bbe5
[ "MIT" ]
403
2019-05-27T20:17:12.000Z
2022-03-19T17:32:16.000Z
include/vkpp/buffer.hh
tangxianbo/vkhr
22713d0d9a7d42f207a86fac1d02f626e6007217
[ "MIT" ]
5
2019-06-19T15:46:41.000Z
2021-11-26T00:12:39.000Z
include/vkpp/buffer.hh
tangxianbo/vkhr
22713d0d9a7d42f207a86fac1d02f626e6007217
[ "MIT" ]
31
2019-06-05T02:32:17.000Z
2022-02-04T04:13:29.000Z
#ifndef VKPP_BUFFER_HH #define VKPP_BUFFER_HH #include <vkpp/device_memory.hh> #include <vulkan/vulkan.h> #include <vector> #include <cstring> #include <set> namespace vkpp { class Queue; class CommandPool; class CommandBuffer; class Device; class Buffer { public: Buffer() = default...
34.08982
126
0.576497
clayne
93a2948703ae1c6bb6758b7ca11b3391cc6ff286
1,107
cpp
C++
src/imageprocessing/AddingBorderImage.cpp
snandasena/opencv-cpp-examples
7423445d52f38fff80df37698b77ac9f9f5e7945
[ "MIT" ]
null
null
null
src/imageprocessing/AddingBorderImage.cpp
snandasena/opencv-cpp-examples
7423445d52f38fff80df37698b77ac9f9f5e7945
[ "MIT" ]
1
2020-04-28T03:35:49.000Z
2020-04-28T03:35:49.000Z
src/imageprocessing/AddingBorderImage.cpp
snandasena/opencv-cpp-examples
7423445d52f38fff80df37698b77ac9f9f5e7945
[ "MIT" ]
null
null
null
#include <opencv2/imgcodecs.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> using namespace cv; cv::Mat src, dst; int top, bottom, left, right; int borderType = cv::BORDER_CONSTANT; const char *window_name = "Copy border demo"; cv::RNG rng(12345); int main() { src = cv::imread("./images/cute-...
22.14
88
0.570912
snandasena
93a573fa04137ea2d7c1bfd9a3b0c52f5275f052
1,172
cpp
C++
data/dailyCodingProblem546.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
2
2020-09-04T20:56:23.000Z
2021-06-11T07:42:26.000Z
data/dailyCodingProblem546.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
data/dailyCodingProblem546.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* Given an array of integers, return a new array where each element in the new array is the number of smaller elements to the right of that element in the original input array. For example, given the array [3, 4, 9, 6, 1], return [1, 1, 2, 1, 0], since: There is 1 small...
24.93617
105
0.574232
vidit1999
93a8f707ae5655d1ac5edefbb732624f9294292b
1,294
cpp
C++
Part 9 - Standard Template Library/Range_finding_pair_and_sets.cpp
rudrajit1729/CPP-Learning-Course
3c39b2f31b10b5e8dfd3214f924c6d8af021dc94
[ "MIT" ]
null
null
null
Part 9 - Standard Template Library/Range_finding_pair_and_sets.cpp
rudrajit1729/CPP-Learning-Course
3c39b2f31b10b5e8dfd3214f924c6d8af021dc94
[ "MIT" ]
null
null
null
Part 9 - Standard Template Library/Range_finding_pair_and_sets.cpp
rudrajit1729/CPP-Learning-Course
3c39b2f31b10b5e8dfd3214f924c6d8af021dc94
[ "MIT" ]
null
null
null
#include<iostream> #include<set> #include<algorithm> using namespace std; void problem() { /* add([2,3]) add([10,20]) add([30,400]) add([401,450]) - Now given a number output the interval */ set<pair<int, int>> S; // Insert in any random order but it will still be s...
23.107143
108
0.553323
rudrajit1729
93abe497a662d8cb28f3edee41c32ddbb680bced
1,880
cpp
C++
test_board/pal_arbiter_test.cpp
rdolbeau/XiBus
44d7267ff802b54cebda7e0a643a90cff71247e4
[ "MIT" ]
3
2021-12-11T21:53:57.000Z
2022-03-29T16:44:51.000Z
test_board/pal_arbiter_test.cpp
rdolbeau/XiBus
44d7267ff802b54cebda7e0a643a90cff71247e4
[ "MIT" ]
1
2021-12-06T07:49:41.000Z
2021-12-07T17:17:37.000Z
test_board/pal_arbiter_test.cpp
rdolbeau/XiBus
44d7267ff802b54cebda7e0a643a90cff71247e4
[ "MIT" ]
1
2021-12-11T09:31:00.000Z
2021-12-11T09:31:00.000Z
#include "PalArbiter.h" #include "verilated.h" struct TestCase { const char* name; uint8_t ID; uint8_t ARB_I; bool GRANT; }; int main(int argc, char **argv, char **env) { Verilated::commandArgs(argc, argv); PalArbiter* arbitera = new PalArbiter; PalArbiter* arbiterb = new PalArbiter; ...
26.857143
102
0.592021
rdolbeau
93aee3066fd17787a45d999067f915c156f9a4bd
39,428
cxx
C++
src/GaussianProcessEmulatorDirectoryFormatIO.cxx
scottedwardpratt/MADAI
9f9ee0dac704d77492d9905b4d90a57746201912
[ "BSD-3-Clause" ]
3
2015-04-02T17:37:35.000Z
2017-03-28T20:14:23.000Z
src/GaussianProcessEmulatorDirectoryFormatIO.cxx
scottedwardpratt/MADAI
9f9ee0dac704d77492d9905b4d90a57746201912
[ "BSD-3-Clause" ]
null
null
null
src/GaussianProcessEmulatorDirectoryFormatIO.cxx
scottedwardpratt/MADAI
9f9ee0dac704d77492d9905b4d90a57746201912
[ "BSD-3-Clause" ]
3
2015-08-20T14:07:41.000Z
2017-03-28T20:15:23.000Z
/*========================================================================= * * Copyright 2011-2013 The University of North Carolina at Chapel Hill * All rights reserved. * * Licensed under the MADAI Software License. You may obtain a copy of * this license at * * https://madai-public.cs.unc.edu/vis...
29.892343
98
0.610531
scottedwardpratt
93b0a056194e9fa637132278509c8638e439e692
8,243
cpp
C++
nersis/libstatemodule/luastate.cpp
MoltenPlastic/nersis-love
4fafd429643c8b546992f5b4a0dca5d4ae5d5427
[ "MIT" ]
null
null
null
nersis/libstatemodule/luastate.cpp
MoltenPlastic/nersis-love
4fafd429643c8b546992f5b4a0dca5d4ae5d5427
[ "MIT" ]
null
null
null
nersis/libstatemodule/luastate.cpp
MoltenPlastic/nersis-love
4fafd429643c8b546992f5b4a0dca5d4ae5d5427
[ "MIT" ]
null
null
null
//implementation of a lua state (this file is included in the middle of module.cpp) class LuaState : public State { lua_State *L; int id; public: LuaState(lua_State *L, int index); virtual ~LuaState(); virtual void enter() { lua_rawgeti(L, LUA_REGISTRYINDEX, id); /* table */ lua_getfield(L, -1, "enter");...
28.32646
83
0.581584
MoltenPlastic
93b0ef45f8ade0888846179c87f40a57b484642c
2,577
cpp
C++
AABall/AABallConsole.cpp
tickelton/AABall
38534a2bfd46729a854caebcb06dfb116d359795
[ "0BSD" ]
null
null
null
AABall/AABallConsole.cpp
tickelton/AABall
38534a2bfd46729a854caebcb06dfb116d359795
[ "0BSD" ]
null
null
null
AABall/AABallConsole.cpp
tickelton/AABall
38534a2bfd46729a854caebcb06dfb116d359795
[ "0BSD" ]
null
null
null
#include "AABallConsole.h" AABallConsole::AABallConsole() { // Get a handle to the STDOUT screen buffer to copy from and // create a new screen buffer to copy to. hStdout = GetStdHandle(STD_OUTPUT_HANDLE); hScreenBuffers[0] = CreateConsoleScreenBuffer( GENERIC_READ | // read/write access ...
23.427273
117
0.642608
tickelton
93b415e4319d7228244f28553e9cb82f858419c6
72
cc
C++
gcj/apac2016/a/a.cc
stauntonknight/algorithm
39dbe6dc952ab7db3a469e1ca785003a4660fedb
[ "CNRI-Python" ]
null
null
null
gcj/apac2016/a/a.cc
stauntonknight/algorithm
39dbe6dc952ab7db3a469e1ca785003a4660fedb
[ "CNRI-Python" ]
null
null
null
gcj/apac2016/a/a.cc
stauntonknight/algorithm
39dbe6dc952ab7db3a469e1ca785003a4660fedb
[ "CNRI-Python" ]
null
null
null
#include <iostream> int getNum(int power, int n) { } int main() { }
7.2
30
0.597222
stauntonknight
93b906b8c4b078e5be06ce9ccf911b68e15f4c08
1,070
cpp
C++
lib/AST/ASTNode.cpp
mattapet/dusk-lang
928b027429a3fd38cece78a89a9619406dcdd9f0
[ "MIT" ]
1
2022-03-30T22:01:44.000Z
2022-03-30T22:01:44.000Z
lib/AST/ASTNode.cpp
mattapet/dusk-lang
928b027429a3fd38cece78a89a9619406dcdd9f0
[ "MIT" ]
null
null
null
lib/AST/ASTNode.cpp
mattapet/dusk-lang
928b027429a3fd38cece78a89a9619406dcdd9f0
[ "MIT" ]
null
null
null
//===--- ASTNode.cpp ------------------------------------------------------===// // // dusk-lang // This source file is part of a dusk-lang project, which is a semestral // assignement for BI-PJP course at Czech Technical University in Prague. // The software is provided "AS IS", WITHOUT...
28.157895
80
0.581308
mattapet
93bb63d5c1711804e97eaf8c6a4d6d26818f3987
4,395
cpp
C++
Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/jni/Polyfills.Window.g.cpp
marferfer/SpinOff-LoL
a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8
[ "Apache-2.0" ]
null
null
null
Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/jni/Polyfills.Window.g.cpp
marferfer/SpinOff-LoL
a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8
[ "Apache-2.0" ]
null
null
null
Aplicacion Movil/generated/bundles/login-transition/build/Android/Preview/app/src/main/jni/Polyfills.Window.g.cpp
marferfer/SpinOff-LoL
a9dba8ac9dd476ec1ef94712d9a8e76d3b45aca8
[ "Apache-2.0" ]
null
null
null
// This file was generated based on '(multiple files)'. // WARNING: Changes might be lost if you edit this file directly. #include <Fuse.Scripting.Module.h> #include <Polyfills.Window.WindowModule.h> #include <Uno.Bool.h> #include <Uno.IO.Bundle.h> #include <Uno.IO.BundleFile.h> #include <Uno.Object.h> #include <Uno.S...
34.606299
191
0.687827
marferfer
93bc192e6e56eca126b4254ea8d1436324d903c5
2,019
cpp
C++
2021/day10.cpp
mly32/advent-of-code
8c07ac69b3933403357688efc02f6d4adf1d0592
[ "BSD-3-Clause" ]
null
null
null
2021/day10.cpp
mly32/advent-of-code
8c07ac69b3933403357688efc02f6d4adf1d0592
[ "BSD-3-Clause" ]
null
null
null
2021/day10.cpp
mly32/advent-of-code
8c07ac69b3933403357688efc02f6d4adf1d0592
[ "BSD-3-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ull = unsigned long long; struct solution { vector<string> lines; solution(const string& filename) { string line; ifstream input_file(filename); if (!input_file.is_open()) { cerr << "Could not open the file - '" << filename << "'" << endl; ...
24.621951
73
0.464091
mly32
93bd5138539c84a381d7e7b0d4b7629b9912ac63
447
hpp
C++
Engine/Networking/Packets.hpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
Engine/Networking/Packets.hpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
Engine/Networking/Packets.hpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
#ifndef _PACKETS_ #define _PACKETS_ #include <cstring> #include "Types.hpp" #include <stdlib.h> namespace Packet{ //Keep packet structure in alphabetic order //All packets must be packed. #pragma pack(push, 1) /** * Entity location information from the server. */ struct ServerEntityLoc...
16.555556
51
0.621924
artur-kink
93bf27d1fbd5252030c3a7e7683ce4e9b0538823
3,047
cc
C++
src/player.cc
lxndr/node-gst
9f2d49ffbdac7cc938b411f57b4cbfc302edb84b
[ "MIT" ]
null
null
null
src/player.cc
lxndr/node-gst
9f2d49ffbdac7cc938b411f57b4cbfc302edb84b
[ "MIT" ]
null
null
null
src/player.cc
lxndr/node-gst
9f2d49ffbdac7cc938b411f57b4cbfc302edb84b
[ "MIT" ]
null
null
null
/* * Copyright 2018 Humanity */ #include <vector> #include <string> #include "player.h" static Nan::Persistent<v8::Function> constructor; v8::Local<v8::Function> Player::Init() { auto tpl = Nan::New<v8::FunctionTemplate>(New); tpl->SetClassName(Nan::New("GstPlayer").ToLocalChecked()); tpl->InstanceTemplate()...
27.205357
81
0.70233
lxndr
93c2ea6cc089617b86204ee4dcccf32ddb5319e4
14,767
cpp
C++
code/steps/source/model/wtg_models/wt_pitch_model/wt_pitch_model_test.cpp
changgang/steps
9b8ea474581885129d1c1a1c3ad40bc8058a7e0a
[ "MIT" ]
29
2019-10-30T07:04:10.000Z
2022-02-22T06:34:32.000Z
code/steps/source/model/wtg_models/wt_pitch_model/wt_pitch_model_test.cpp
cuihantao/steps
60327bf42299cb7117ed5907a931583d7cdf590d
[ "MIT" ]
1
2021-09-25T15:29:59.000Z
2022-01-05T14:04:18.000Z
code/steps/source/model/wtg_models/wt_pitch_model/wt_pitch_model_test.cpp
changgang/steps
9b8ea474581885129d1c1a1c3ad40bc8058a7e0a
[ "MIT" ]
8
2019-12-20T16:13:46.000Z
2022-03-20T14:58:23.000Z
#include "header/basic/test_macro.h" #include "header/model/wtg_models/wt_pitch_model/wt_pitch_model_test.h" #include "header/basic/utility.h" #include "header/steps_namespace.h" #include "header/model/wtg_models/wt_generator_model/wt3g0.h" #include "header/model/wtg_models/wt_aerodynamic_model/aerd0.h" #include "heade...
33.334086
154
0.724521
changgang
93c4b43a82bd22e095c5d0b5e1ceed48a21471fb
2,501
cpp
C++
Estructura/plantilla de archivo binario/main.cpp
dkmaster17/DKM
ef22411e57cb37f18b9ddd2305001050855cd137
[ "MIT" ]
null
null
null
Estructura/plantilla de archivo binario/main.cpp
dkmaster17/DKM
ef22411e57cb37f18b9ddd2305001050855cd137
[ "MIT" ]
null
null
null
Estructura/plantilla de archivo binario/main.cpp
dkmaster17/DKM
ef22411e57cb37f18b9ddd2305001050855cd137
[ "MIT" ]
null
null
null
#include "Archivo.h" class Alumno { unsigned int ced; char nom[30]; public: Alumno() { ced=0; } Alumno( char *n, int c ) { ced=c; strcpy(nom,n); } int get_clave() { return ced; } char *get_nom() { return nom; } ...
31.2625
74
0.458217
dkmaster17
93c87521b40d86e1102b745d288fd79e5e300ac7
194
cpp
C++
Challenges/codcad_par_ou_impar.cpp
oJordany/CodCad
d3c76d8631583428f5e32caf79a421f2487dbd4c
[ "MIT" ]
null
null
null
Challenges/codcad_par_ou_impar.cpp
oJordany/CodCad
d3c76d8631583428f5e32caf79a421f2487dbd4c
[ "MIT" ]
8
2021-12-23T13:55:40.000Z
2022-01-03T18:55:52.000Z
Challenges/codcad_par_ou_impar.cpp
oJordany/CodCad
d3c76d8631583428f5e32caf79a421f2487dbd4c
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ int b, c; cin >> b >> c; if ((b+c) % 2 == 0){ cout << "Bino"; }else{ cout << "Cino"; } return 0; }
12.933333
24
0.42268
oJordany
93cce3548d1fd7c581b417199c76c2ed045fac1d
3,133
cpp
C++
source/benchmarks/bmi-benchmarks/main.cpp
laugengebaeck/girgs
3756df317bc865aa8cd71c0a12607be0b2e57f12
[ "MIT" ]
15
2019-05-17T09:34:28.000Z
2022-01-14T15:07:03.000Z
source/benchmarks/bmi-benchmarks/main.cpp
laugengebaeck/girgs
3756df317bc865aa8cd71c0a12607be0b2e57f12
[ "MIT" ]
7
2019-10-11T07:33:42.000Z
2020-04-06T13:11:02.000Z
source/benchmarks/bmi-benchmarks/main.cpp
laugengebaeck/girgs
3756df317bc865aa8cd71c0a12607be0b2e57f12
[ "MIT" ]
3
2019-06-06T10:33:40.000Z
2022-01-14T15:07:07.000Z
#include <benchmark/benchmark.h> #include <random> #include <girgs/BitManipulation.h> template <typename Impl, unsigned D> static void BM_deposit(benchmark::State& state) { std::vector<std::array<uint32_t, D>> values(1024); { std::mt19937_64 gen; std::uniform_int_distribution<uint32_t> dist; ...
31.969388
144
0.635812
laugengebaeck
93cf34a5bb4da518ad3f64c17f1c1dd1937feb37
5,000
cpp
C++
test/board/board_test.cpp
portatlas/tictactoe-cpp
2bae6287881f02e8608c5e3cc7d0031724f09dda
[ "MIT" ]
null
null
null
test/board/board_test.cpp
portatlas/tictactoe-cpp
2bae6287881f02e8608c5e3cc7d0031724f09dda
[ "MIT" ]
null
null
null
test/board/board_test.cpp
portatlas/tictactoe-cpp
2bae6287881f02e8608c5e3cc7d0031724f09dda
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "../../lib/catch.hpp" #include "../../src/marker.hpp" #include "../../src/board/board.hpp" SCENARIO ("Board: Empty Board ", "[empty-board]") { std::vector<std::string> empty_grid = {" ", " ", " ", " ", " ", " ", ...
30.487805
75
0.4278
portatlas
93cfd92585dd834d156563d2de55120aebce2403
572
cpp
C++
Fractal Image Generator/Mandelbrot.cpp
PhantomSabre/Fractal-Image-Generator
9419be7638ea9e5522c09304af9e20f6cd1e2cb9
[ "MIT" ]
null
null
null
Fractal Image Generator/Mandelbrot.cpp
PhantomSabre/Fractal-Image-Generator
9419be7638ea9e5522c09304af9e20f6cd1e2cb9
[ "MIT" ]
null
null
null
Fractal Image Generator/Mandelbrot.cpp
PhantomSabre/Fractal-Image-Generator
9419be7638ea9e5522c09304af9e20f6cd1e2cb9
[ "MIT" ]
null
null
null
#include <complex> #include "Mandelbrot.h" namespace frctl { Mandelbrot::Mandelbrot() { } Mandelbrot::~Mandelbrot() {} //Mandelbrot Algorithm here int Mandelbrot::getIterations(double x, double y) { std::complex<double> z = 0; std::complex<double> c(x, y); //passing in two numbers into this; int itera...
15.459459
86
0.65035
PhantomSabre
93d13743765166a697c43974a5dcae7b9a26404a
581
cpp
C++
Part_Five/Net_income.cpp
ayushpareek179/CPP-course
b2b8b8d2dd06cd772e3c9838abd5b841237bb306
[ "MIT" ]
null
null
null
Part_Five/Net_income.cpp
ayushpareek179/CPP-course
b2b8b8d2dd06cd772e3c9838abd5b841237bb306
[ "MIT" ]
null
null
null
Part_Five/Net_income.cpp
ayushpareek179/CPP-course
b2b8b8d2dd06cd772e3c9838abd5b841237bb306
[ "MIT" ]
null
null
null
//To calculate the net income based on an allowance and deduction percentage #include <iostream> using namespace std; int main() { float income, net, allowance_percent, deduction_percent; cout<<"Enter the basic salary, percentage of allowances and percentage of deductions\n"; cin>>income>>allowance_percent>>deducti...
34.176471
136
0.748709
ayushpareek179
93d4b924650078bb8d2ed5770c5e0d4ad625d61f
28
cc
C++
dev/form-poll/form-poll-srch.cc
chlewey/ilecto-util
a48afc43fb7a355b49d4f9ec4626a7f6dbb32c6c
[ "BSD-3-Clause" ]
null
null
null
dev/form-poll/form-poll-srch.cc
chlewey/ilecto-util
a48afc43fb7a355b49d4f9ec4626a7f6dbb32c6c
[ "BSD-3-Clause" ]
null
null
null
dev/form-poll/form-poll-srch.cc
chlewey/ilecto-util
a48afc43fb7a355b49d4f9ec4626a7f6dbb32c6c
[ "BSD-3-Clause" ]
null
null
null
#include "form-poll-srch.h"
14
27
0.714286
chlewey
93df3ed74c26c5224084bf3791fa5c00f74e9b64
1,749
cpp
C++
Algorithms/Merging_Intervals/merge_intervals.cpp
arslantalib3/algo_ds_101
a1293f407e00b8346f93e8770727f769e7add00e
[ "MIT" ]
182
2020-10-01T17:16:42.000Z
2021-10-04T17:52:49.000Z
Algorithms/Merging_Intervals/merge_intervals.cpp
arslantalib3/algo_ds_101
a1293f407e00b8346f93e8770727f769e7add00e
[ "MIT" ]
759
2020-10-01T00:12:21.000Z
2021-10-04T19:35:11.000Z
Algorithms/Merging_Intervals/merge_intervals.cpp
arslantalib3/algo_ds_101
a1293f407e00b8346f93e8770727f769e7add00e
[ "MIT" ]
1,176
2020-10-01T16:02:13.000Z
2021-10-04T19:20:19.000Z
#include<bits/stdc++.h> using namespace std; // An interval has start time and end time struct Interval { int start, end; }; // To compare two intervals accoridng to their start time bool myComp(Interval interval1, Interval interval2) { return (interval1.start < interval2.start); } // This function takes ...
24.633803
71
0.573471
arslantalib3
93e950a39232154d4647947860306ddaa38a4dfa
332
cpp
C++
cards/MalaLapka.cpp
programistagd/TrachOnline
2acd9ffac0add87fd0f1824ae2b75132933496c7
[ "MIT" ]
3
2016-06-07T11:55:23.000Z
2016-06-09T17:17:52.000Z
cards/MalaLapka.cpp
radeusgd/TrachOnline
2acd9ffac0add87fd0f1824ae2b75132933496c7
[ "MIT" ]
25
2016-06-13T16:14:18.000Z
2017-07-29T08:12:23.000Z
cards/MalaLapka.cpp
radeusgd/TrachOnline
2acd9ffac0add87fd0f1824ae2b75132933496c7
[ "MIT" ]
null
null
null
#include "cards/MalaLapka.hpp" using namespace Cards; string MalaLapka::getName(){ return "mala_lapka"; } CardPtr MalaLapka::makeNew(){ return make_shared<MalaLapka>(); } void MalaLapka::reset(){ Feature::reset(); value = 1; } void MalaLapka::apply(GameServer::Player& player){ player.handCards ...
15.809524
50
0.680723
programistagd
93eb077ffe00c08369ff5127a26010d2f26ac52d
670
cpp
C++
kittycat/forms/uigetpin.cpp
siilky/catomania
cb3a05cbef523d16b8929b390e190e0cd5924ee9
[ "MIT" ]
1
2021-02-05T23:20:07.000Z
2021-02-05T23:20:07.000Z
kittycat/forms/uigetpin.cpp
siilky/catomania
cb3a05cbef523d16b8929b390e190e0cd5924ee9
[ "MIT" ]
null
null
null
kittycat/forms/uigetpin.cpp
siilky/catomania
cb3a05cbef523d16b8929b390e190e0cd5924ee9
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "ui_getpin.h" #include "uigetpin.h" GetPinView::GetPinView(QString email, QString pcName, QWidget *parent) : QDialog(parent, Qt::CustomizeWindowHint | Qt::WindowTitleHint | Qt::WindowCloseButtonHint) , ui(new Ui::GetPin) { ui->setupUi(this); ui->lbEmail->setText(email); ...
20.9375
96
0.702985
siilky
93f1b5d463ad5f948dafe4ca4077ebeda6a6f920
2,399
cpp
C++
Game/Source/Collision.cpp
Omicrxn/Apollo-Mission
5eec170a9ca9250acfef27c81cc16c4608a78f9f
[ "MIT" ]
null
null
null
Game/Source/Collision.cpp
Omicrxn/Apollo-Mission
5eec170a9ca9250acfef27c81cc16c4608a78f9f
[ "MIT" ]
null
null
null
Game/Source/Collision.cpp
Omicrxn/Apollo-Mission
5eec170a9ca9250acfef27c81cc16c4608a78f9f
[ "MIT" ]
null
null
null
#include "Collision.h" RectCollision::RectCollision(SDL_Rect collider, Module* listener) { this->collider = collider; this->listener = listener; } bool RectCollision::Intersects(SDL_Rect& colliderB) { return (collider.x < (colliderB.x + colliderB.w) && (collider.x + collider.w) > colliderB.x && collider.y < ...
23.291262
108
0.702793
Omicrxn
93f21977ed594d80eebd5ff4c14837e74471695c
2,064
cpp
C++
sources/Engine/Modules/Graphics/GraphicsSystem/Camera.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
22
2017-07-26T17:42:56.000Z
2022-03-21T22:12:52.000Z
sources/Engine/Modules/Graphics/GraphicsSystem/Camera.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
50
2017-08-02T19:37:48.000Z
2020-07-24T21:10:38.000Z
sources/Engine/Modules/Graphics/GraphicsSystem/Camera.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
4
2018-08-20T08:12:48.000Z
2020-07-19T14:10:05.000Z
#include "precompiled.h" #pragma hdrstop #include "Camera.h" Camera::Camera() : m_transform(new Transform()) { } Camera::~Camera() { } Transform* Camera::getTransform() const { return m_transform.get(); } const Frustum& Camera::getFrustum() { if (m_needFrustumUpdate || m_transform->isCacheOutdated()) { ...
17.491525
109
0.739341
n-paukov
93f2f04242d771dd7a604be5f80dadc16ea0037b
1,630
hpp
C++
src/wrappers/glfw/Exception.hpp
JoaoBaptMG/INF443-Project
8c43007a8092931b125cc7feae2adf162e04534e
[ "MIT" ]
8
2020-06-09T00:43:39.000Z
2021-09-27T13:55:46.000Z
src/wrappers/glfw/Exception.hpp
JoaoBaptMG/INF584-Project
a9cf6d4e7d32eb62e7b20fe465c9e75989cca6ac
[ "MIT" ]
1
2020-06-09T02:38:55.000Z
2020-06-09T13:28:13.000Z
src/wrappers/glfw/Exception.hpp
JoaoBaptMG/INF584-Project
a9cf6d4e7d32eb62e7b20fe465c9e75989cca6ac
[ "MIT" ]
3
2020-06-09T00:28:11.000Z
2020-12-30T08:07:34.000Z
#pragma once #include <glad/glad.h> #include <GLFW/glfw3.h> #include <stdexcept> namespace glfw { class Exception : public std::runtime_error { public: Exception(const char* what) : runtime_error(what) {} }; #define EXCEPTION_CLASS(name) class name final : public Exception \ {\ public:\ name(const char* what)...
26.290323
67
0.770552
JoaoBaptMG
93f4fc6e924107501755d219494537308dd17f74
4,453
hpp
C++
remisen_run/include/shape/cube.hpp
tobanteGaming/template-opengl
7eac0d5c49f93b0567cc49fae2b88fd72686e554
[ "MIT" ]
4
2021-07-11T02:07:38.000Z
2022-03-19T06:14:32.000Z
remisen_run/include/shape/cube.hpp
tobanteGaming/template-opengl
7eac0d5c49f93b0567cc49fae2b88fd72686e554
[ "MIT" ]
null
null
null
remisen_run/include/shape/cube.hpp
tobanteGaming/template-opengl
7eac0d5c49f93b0567cc49fae2b88fd72686e554
[ "MIT" ]
null
null
null
#pragma once #include <GL/glew.h> namespace tobanteGaming { // Our vertices. Three consecutive floats give a 3D vertex; Three consecutive // vertices give a triangle. A cube has 6 faces with 2 triangles each, so this // makes 6*2=12 triangles, and 12*3 vertices static const GLfloat g_vertex_buffer_data[] = { -1.0...
32.268116
78
0.525488
tobanteGaming
93f8503058898c5eae1871a38fcd9a79863fade2
479
cpp
C++
src/snek.cpp
aleksiy325/snek-two
da589b945e347c5178f6cc0c8b190a28651cce50
[ "MIT" ]
9
2018-03-13T03:34:46.000Z
2021-12-17T16:30:27.000Z
src/snek.cpp
mapld/snek-two
da589b945e347c5178f6cc0c8b190a28651cce50
[ "MIT" ]
null
null
null
src/snek.cpp
mapld/snek-two
da589b945e347c5178f6cc0c8b190a28651cce50
[ "MIT" ]
5
2018-03-13T03:41:38.000Z
2022-02-15T08:02:43.000Z
#include "strategies/random_snake.cpp" #include "strategies/eat_snake.cpp" #include "arena/arena.cpp" int main(int argc, char **argv){ Arena arena = Arena(10, 10, 5, 1000); RandomSnake rsnake = RandomSnake{}; Strategy* strat = &rsnake; EatSnake esnake = EatSnake{}; Strategy* estrat = &esnak...
23.95
40
0.655532
aleksiy325
93f86c81425598e98c8add36f7bc444ca7f0ff86
3,061
cpp
C++
example/up2date_client/main.cpp
rtsoft-gmbh/up2date-cpp
6df40513617d54d72813c49d95df236474379631
[ "Apache-2.0" ]
3
2022-03-24T14:56:29.000Z
2022-03-25T12:42:05.000Z
example/up2date_client/main.cpp
rtsoft-gmbh/up2date-cpp
6df40513617d54d72813c49d95df236474379631
[ "Apache-2.0" ]
9
2022-03-15T18:27:49.000Z
2022-03-25T13:00:28.000Z
example/up2date_client/main.cpp
rtsoft-gmbh/up2date-cpp
6df40513617d54d72813c49d95df236474379631
[ "Apache-2.0" ]
null
null
null
#include "basic_handler.hpp" #include "ritms_dps.hpp" #include <exception> #include <thread> const char *AUTH_CERT_PATH_ENV_NAME = "CERT_PATH"; const char *PROVISIONING_ENDPOINT_ENV_NAME = "PROVISIONING_ENDPOINT"; const char *X_APIG_TOKEN_ENV_NAME = "X_APIG_TOKEN"; using namespace ritms::dps; using namespace ddi; cl...
42.513889
130
0.608298
rtsoft-gmbh
93f95548b8c1b94f1ea60dfd5565674194a1788d
180
cpp
C++
contrib/gtm/test2/test.cpp
wotchin/openGauss-server
ebd92e92b0cfd76b121d98e4c57a22d334573159
[ "MulanPSL-1.0" ]
1
2020-06-30T15:00:50.000Z
2020-06-30T15:00:50.000Z
contrib/gtm/test2/test.cpp
wotchin/openGauss-server
ebd92e92b0cfd76b121d98e4c57a22d334573159
[ "MulanPSL-1.0" ]
null
null
null
contrib/gtm/test2/test.cpp
wotchin/openGauss-server
ebd92e92b0cfd76b121d98e4c57a22d334573159
[ "MulanPSL-1.0" ]
null
null
null
#include <stdio.h> int main(void) { char* ptr[1024]; int i; for (i = 0; i < 1024; i++) { fprintf(stderr, "ptr[%d] = %p\n", i, ptr[i]); } return 0; }
12.857143
53
0.45
wotchin
93fd448608a779c8db5c904028e225426c228234
721
cpp
C++
VModel - 2017/Vmodel2017S3E3 - Luchian.cpp
LoopieDoo/Variante-INFO
fe42ea7b1b2fb88594c5f103129ee4fa3971ba10
[ "MIT" ]
null
null
null
VModel - 2017/Vmodel2017S3E3 - Luchian.cpp
LoopieDoo/Variante-INFO
fe42ea7b1b2fb88594c5f103129ee4fa3971ba10
[ "MIT" ]
null
null
null
VModel - 2017/Vmodel2017S3E3 - Luchian.cpp
LoopieDoo/Variante-INFO
fe42ea7b1b2fb88594c5f103129ee4fa3971ba10
[ "MIT" ]
1
2021-09-24T22:44:08.000Z
2021-09-24T22:44:08.000Z
#include <iostream> using namespace std; /* Subprogramul nrDiv are doi parametri, a și b (a≤b), prin care primeste câte un număr natural din intervalul [1,10^9]. Subprogramul returnează numărul valorilor din intervalul [a,b] care pot fi scrise ca produs de două numere naturale consecutive. Scrieti definitia completă ...
20.6
89
0.554785
LoopieDoo
9e02f89180c8e757402b76819f4aef2c6996d36b
910
cpp
C++
main/main.cpp
ivyknob/avionics_wifi
2e21b2af6dd01045663c69df119d5fabdfd25ff7
[ "MIT" ]
null
null
null
main/main.cpp
ivyknob/avionics_wifi
2e21b2af6dd01045663c69df119d5fabdfd25ff7
[ "MIT" ]
4
2020-04-13T09:09:34.000Z
2021-08-31T16:47:29.000Z
main/main.cpp
ivyknob/avionics_wifi
2e21b2af6dd01045663c69df119d5fabdfd25ff7
[ "MIT" ]
null
null
null
#include "main.hpp" DataStorage storage; // Status status; void init_system() { gpio_pad_select_gpio(BLINK_GPIO); gpio_set_direction(BLINK_GPIO, GPIO_MODE_OUTPUT); // wifi_setup(); esp_err_t ret = nvs_flash_init(); if (ret == ESP_ERR_NVS_NO_FREE_PAGES || ret == ESP_ERR_NVS_NEW_VERSION_FOUND) { ESP_ERRO...
26.764706
81
0.708791
ivyknob
9e03c974d6652251b8fbb161bc1094e66b9e38ec
805
cpp
C++
just_a-graph.cpp
itzpankajpanwar/codechef
2d347a9e71d4a838b6b6c2554d1c7f4384ff4941
[ "Apache-2.0" ]
1
2021-09-10T18:59:18.000Z
2021-09-10T18:59:18.000Z
just_a-graph.cpp
itzpankajpanwar/codechef
2d347a9e71d4a838b6b6c2554d1c7f4384ff4941
[ "Apache-2.0" ]
null
null
null
just_a-graph.cpp
itzpankajpanwar/codechef
2d347a9e71d4a838b6b6c2554d1c7f4384ff4941
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define ll long long #define vvi vector<vecetor<int>> #define vi vector<int> #define vvll vector<vecetor<long long>> #define vll vector<long long> const ll MOD = 1e9 + 7; const ll INF = 1e9; int main() { ios_base::sync_with_stdio(0); ci...
21.184211
45
0.51677
itzpankajpanwar
9e050db072dfdc589b4a992bb87f189a0b6e481f
1,826
cpp
C++
src/test/cxx_api/TestJQuery.cpp
webosce/libpbnjson
6cd4815a81830bbf6b22647ae8bb4fc818148ee7
[ "Apache-2.0" ]
4
2018-03-20T15:15:50.000Z
2020-05-02T02:30:15.000Z
src/test/cxx_api/TestJQuery.cpp
webosce/libpbnjson
6cd4815a81830bbf6b22647ae8bb4fc818148ee7
[ "Apache-2.0" ]
null
null
null
src/test/cxx_api/TestJQuery.cpp
webosce/libpbnjson
6cd4815a81830bbf6b22647ae8bb4fc818148ee7
[ "Apache-2.0" ]
4
2018-03-19T12:43:43.000Z
2020-05-02T02:30:19.000Z
// Copyright (c) 2015-2018 LG Electronics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
21.482353
75
0.645674
webosce
9e0be4c95944c47b45f72799b9c89bcf8dd1a8e0
13,909
hpp
C++
framework/areg/base/SharedBuffer.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
70
2021-07-20T11:26:16.000Z
2022-03-27T11:17:43.000Z
framework/areg/base/SharedBuffer.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
32
2021-07-31T05:20:44.000Z
2022-03-20T10:11:52.000Z
framework/areg/base/SharedBuffer.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
40
2021-11-02T09:45:38.000Z
2022-03-27T11:17:46.000Z
#pragma once /************************************************************************ * This file is part of the AREG SDK core engine. * AREG SDK is dual-licensed under Free open source (Apache version 2.0 * License) and Commercial (with various pricing models) licenses, depending * on the nature of the project (c...
42.405488
126
0.562226
Ali-Nasrolahi
9e0fdf84235adce70e045f60066e997f54415ef4
1,708
cpp
C++
hackathon/PengXie/decompose_swc/decompose_swc_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
hackathon/PengXie/decompose_swc/decompose_swc_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
hackathon/PengXie/decompose_swc/decompose_swc_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
/* decompose_swc_plugin.cpp * decompose an swc file into segments * 2018-11-19 : by Peng Xie */ #include "v3d_message.h" #include <vector> #include "decompose_swc_plugin.h" using namespace std; Q_EXPORT_PLUGIN2(decompose_swc, TestPlugin); QStringList TestPlugin::menulist() const { return QStringList() <<tr("...
23.722222
159
0.663349
zzhmark
9e1260b1c4fe8ef58f2cc639b320e2b2b3d2ab1e
452
cpp
C++
Check Capital.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
2
2021-10-01T04:20:04.000Z
2021-10-01T04:20:06.000Z
Check Capital.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
1
2021-10-01T18:00:09.000Z
2021-10-01T18:00:09.000Z
Check Capital.cpp
Subhash3/Algorithms-For-Software-Developers
2e0ac4f51d379a2b10a40fca7fa82a8501d3db94
[ "BSD-2-Clause" ]
8
2021-10-01T04:20:38.000Z
2022-03-19T17:05:05.000Z
class Solution { public: bool detectCapitalUse(string word) { int u=0; int l=0; for(int i=0;i<word.size();i++){ if(word[i]>=65&&word[i]<=90) u++; else if(word[i]>=97&&word[i]<=122) l++; } if(u==word.size()||l==word.size...
23.789474
47
0.426991
Subhash3
9e1b53cdb570a629d5a43418b190dda178e7a274
8,019
cpp
C++
plugins/vkeyboard/vkeyboard.cpp
eayus/wayfire
e71beff56eb8d82b16d02a48efc66fa127886d35
[ "MIT" ]
null
null
null
plugins/vkeyboard/vkeyboard.cpp
eayus/wayfire
e71beff56eb8d82b16d02a48efc66fa127886d35
[ "MIT" ]
null
null
null
plugins/vkeyboard/vkeyboard.cpp
eayus/wayfire
e71beff56eb8d82b16d02a48efc66fa127886d35
[ "MIT" ]
null
null
null
#include <core.hpp> #include <debug.hpp> #include <config.hpp> #include <view.hpp> #include <output.hpp> #include <plugin.hpp> #include <signal-definitions.hpp> #include <workspace-manager.hpp> #include <linux/input-event-codes.h> #include "proto/wayfire-shell-server.h" class vkeyboard : public wayfire_plugin_t { ...
28.537367
100
0.667415
eayus
9e1d1a0125375d4de5f27d874f39293343130325
2,058
cpp
C++
cetty-core/src/cetty/handler/codec/http/CookieHeaderNames.cpp
frankee/cetty2
62ac0cd1438275097e47a9ba471e72efd2746ded
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
26
2015-11-08T10:58:21.000Z
2021-02-25T08:27:26.000Z
cetty-core/src/cetty/handler/codec/http/CookieHeaderNames.cpp
frankee/cetty2
62ac0cd1438275097e47a9ba471e72efd2746ded
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
1
2019-02-18T08:46:17.000Z
2019-02-18T08:46:17.000Z
cetty-core/src/cetty/handler/codec/http/CookieHeaderNames.cpp
frankee/cetty2
62ac0cd1438275097e47a9ba471e72efd2746ded
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
8
2016-02-27T02:37:10.000Z
2021-09-29T05:25:00.000Z
/* * Copyright (c) 2010-2011 frankee zhou (frankee.zhou at gmail dot com) * Distributed under under the Apache License, version 2.0 (the "License"). */ #include <map> #include <boost/algorithm/string/case_conv.hpp> #include <cetty/handler/codec/http/CookieHeaderNames.h> namespace cetty { namespace handler { namesp...
38.111111
81
0.733722
frankee
9e208c41429c363e1ae00723158281882173af82
952
cpp
C++
raygame/Enemy.cpp
JCoshua/SteeringBehaivors
9c14f69f9be4da46de9a5db693dc14a801a41712
[ "MIT" ]
null
null
null
raygame/Enemy.cpp
JCoshua/SteeringBehaivors
9c14f69f9be4da46de9a5db693dc14a801a41712
[ "MIT" ]
null
null
null
raygame/Enemy.cpp
JCoshua/SteeringBehaivors
9c14f69f9be4da46de9a5db693dc14a801a41712
[ "MIT" ]
null
null
null
#include "Enemy.h" #include "Transform2D.h" #include "SeekDecision.h" #include "IdleDecision.h" #include "WanderDecision.h" #include "IsAggressiveDecision.h" #include "InRangeDecision.h" #include "DecisionComponent.h" #include <Vector2.h> void Enemy::start() { Agent::start(); IdleDecision* idle = new IdleDecision()...
29.75
119
0.756303
JCoshua
9e208f8d3c31f4ab6a37df033f145eb11eb1089f
765
cpp
C++
shared/source/gmm_helper/windows/gmm_configure_device_address_space_drm_or_wddm.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
778
2017-09-29T20:02:43.000Z
2022-03-31T15:35:28.000Z
shared/source/gmm_helper/windows/gmm_configure_device_address_space_drm_or_wddm.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
478
2018-01-26T16:06:45.000Z
2022-03-30T10:19:10.000Z
shared/source/gmm_helper/windows/gmm_configure_device_address_space_drm_or_wddm.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
215
2018-01-30T08:39:32.000Z
2022-03-29T11:08:51.000Z
/* * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/gmm_helper/client_context/gmm_client_context.h" #include "shared/source/gmm_helper/windows/gmm_memory_base.h" #include "shared/source/helpers/debug_helpers.h" #include "shared/source/os_interface/windows/window...
31.875
79
0.597386
troels
9e24d276b8f5690beca3a05b0978b80faa042c04
5,110
cc
C++
ch14_markov_decision_processes/src/main.cc
Amit10311/probabilistic_robotics
d31a9f1a3f5e500bd85d98d7fb4fb5743d1222ad
[ "MIT" ]
959
2018-05-21T00:29:23.000Z
2022-03-29T03:53:05.000Z
ch14_markov_decision_processes/src/main.cc
Amit10311/probabilistic_robotics
d31a9f1a3f5e500bd85d98d7fb4fb5743d1222ad
[ "MIT" ]
9
2018-11-10T10:43:07.000Z
2021-05-03T09:42:03.000Z
ch14_markov_decision_processes/src/main.cc
Amit10311/probabilistic_robotics
d31a9f1a3f5e500bd85d98d7fb4fb5743d1222ad
[ "MIT" ]
347
2018-05-17T13:18:08.000Z
2022-03-29T03:53:13.000Z
#include "markovdp.h" void move(const std::valarray<int>&, const std::valarray<int>&, std::map<std::valarray<int>, double, valarray_comp>&,double&); void move_rdm(const std::valarray<int>&, const std::valarray<int>&, std::map<std::valarray<int>, double, valarray_comp>&,double&); void warp(const std::valarray<int>&, st...
33.398693
148
0.568102
Amit10311
9e2645ab9abce82e5ea7528495d5baa455e27140
456
cpp
C++
ProfessionalC++/Lambdas/count_if.cpp
zzragida/CppExamples
d627b097efc04209aa4012f7b7f9d82858da3f2d
[ "Apache-2.0" ]
null
null
null
ProfessionalC++/Lambdas/count_if.cpp
zzragida/CppExamples
d627b097efc04209aa4012f7b7f9d82858da3f2d
[ "Apache-2.0" ]
null
null
null
ProfessionalC++/Lambdas/count_if.cpp
zzragida/CppExamples
d627b097efc04209aa4012f7b7f9d82858da3f2d
[ "Apache-2.0" ]
null
null
null
#include <vector> #include <algorithm> #include <iostream> using namespace std; int main() { vector<int> vec = {1,2,3,4,5,6,7,8,9}; int value = 3; int cntLambdaCalled = 0; int cnt = count_if(vec.begin(), vec.end(), [=, &cntLambdaCalled](int i) { ++cntLambdaCalled; return i > value; }); cout << "The lambda exp...
22.8
74
0.614035
zzragida
9e2790ee393aa1834c2123024d8bbb5ee6c4101f
3,150
cpp
C++
libs/anari_test_scenes/scenes/cornell_box_cylinder_geom.cpp
Piromancer/ANARI-SDK
636b8521b0f0c05a4d7b9cf50a643377d4cd00b9
[ "Apache-2.0" ]
null
null
null
libs/anari_test_scenes/scenes/cornell_box_cylinder_geom.cpp
Piromancer/ANARI-SDK
636b8521b0f0c05a4d7b9cf50a643377d4cd00b9
[ "Apache-2.0" ]
null
null
null
libs/anari_test_scenes/scenes/cornell_box_cylinder_geom.cpp
Piromancer/ANARI-SDK
636b8521b0f0c05a4d7b9cf50a643377d4cd00b9
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The Khronos Group // SPDX-License-Identifier: Apache-2.0 #include "cornell_box_cylinder_geom.h" namespace anari { namespace scenes { // cone mesh data static std::vector<glm::vec3> vertices = { // Cylinder {0.00f, 0.80f, 0.00f}, {0.00f, -0.80f, 0.00f}}; static std::vector<float> radius...
24.80315
79
0.64
Piromancer
9e27fb41f8dafbf65d7ffc744aa8448a71f46e51
4,323
cpp
C++
src/MainController.cpp
pigatron-industries/xen_daisy_dsp
2ce00d8d5dbeb71fb15b3f2c92298cba7f1c8a37
[ "Unlicense" ]
null
null
null
src/MainController.cpp
pigatron-industries/xen_daisy_dsp
2ce00d8d5dbeb71fb15b3f2c92298cba7f1c8a37
[ "Unlicense" ]
null
null
null
src/MainController.cpp
pigatron-industries/xen_daisy_dsp
2ce00d8d5dbeb71fb15b3f2c92298cba7f1c8a37
[ "Unlicense" ]
null
null
null
#include <DaisyDuino.h> #include "MainController.h" #include "util/Profiler.h" #include "io/MemPool.h" #include "io/Config.h" #include "utility/gpio.h" MainController MainController::instance; DaisyHardware hardware; void MainController::audioCallback(float **in, float **out, size_t size) { MainController::inst...
30.659574
123
0.675226
pigatron-industries
9e287519aa0fc0426501b3bbd19f6df8d2cc1ed2
910
cpp
C++
examples/qcor_demos/pirq_workshop/qcor/demo3_nisq_noise_mitigation/mitiq_noise_mitigation.cpp
ahayashi/qcor
929988b92cfec52d321c48e6cc01545e46edc024
[ "BSD-3-Clause" ]
null
null
null
examples/qcor_demos/pirq_workshop/qcor/demo3_nisq_noise_mitigation/mitiq_noise_mitigation.cpp
ahayashi/qcor
929988b92cfec52d321c48e6cc01545e46edc024
[ "BSD-3-Clause" ]
null
null
null
examples/qcor_demos/pirq_workshop/qcor/demo3_nisq_noise_mitigation/mitiq_noise_mitigation.cpp
ahayashi/qcor
929988b92cfec52d321c48e6cc01545e46edc024
[ "BSD-3-Clause" ]
null
null
null
/// mitiq_noise_mitigation.cpp: Run error mitigation with mitiq ZNE (zero-noise extrapolation) /// Compile: /// $ qcor -qpu aer[noise-model:noise_model.json] -shots 8192 -em mitiq-zne /// mitiq_noise_mitigation.cpp Execute: specify the number of repeating CNOT /// ./a.out N // Repeating CNOT's to evaluate noise mitiga...
29.354839
94
0.637363
ahayashi
9e2d0f32d0e23b44fbf12189c4ee6b0c92526cf0
68,271
cpp
C++
Samples/System/UserManagement/GameScreens.cpp
acidburn0zzz/Xbox-GDK-Samples
0a998ca467f923aa04bd124a5e5ca40fe16c386c
[ "MIT" ]
1
2021-12-30T09:49:18.000Z
2021-12-30T09:49:18.000Z
Samples/System/UserManagement/GameScreens.cpp
acidburn0zzz/Xbox-GDK-Samples
0a998ca467f923aa04bd124a5e5ca40fe16c386c
[ "MIT" ]
null
null
null
Samples/System/UserManagement/GameScreens.cpp
acidburn0zzz/Xbox-GDK-Samples
0a998ca467f923aa04bd124a5e5ca40fe16c386c
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------- // GameScreens.cpp // // Advanced Technology Group (ATG) // Copyright (C) Microsoft Corporation. All rights reserved. //-------------------------------------------------------------------------------------- #include "pch.h"...
35.282171
180
0.645164
acidburn0zzz
9e364de25be765a96eed09a558dac3cc907c7fd2
22,479
hpp
C++
include/BStringt.hpp
ANOTHEL/Awesome-mix-vol.1
58134a7300ce057343d622511600623eaae10042
[ "Apache-2.0" ]
null
null
null
include/BStringt.hpp
ANOTHEL/Awesome-mix-vol.1
58134a7300ce057343d622511600623eaae10042
[ "Apache-2.0" ]
null
null
null
include/BStringt.hpp
ANOTHEL/Awesome-mix-vol.1
58134a7300ce057343d622511600623eaae10042
[ "Apache-2.0" ]
null
null
null
// Copyright 2021~2022 `anothel` All rights reserved #ifndef BSTRINGT_HPP_ #define BSTRINGT_HPP_ #include "include/amvalloc.hpp" #include "include/amvcore.hpp" #include "include/amvsimpstr.hpp" #include "salieri-src/salieri.h" namespace AMV { template <typename BaseType, class StringTraits> class BStringT : public ...
30.132708
80
0.615196
ANOTHEL
9e3671d34f079f3ffe3b580e1f08082deb37ef71
177
cpp
C++
TestComponent/Class.cpp
jkotas/TestWinRT
e7682136641caf9713268761ec8188ca452e85f9
[ "MIT" ]
14
2019-10-29T02:39:37.000Z
2022-02-21T03:45:58.000Z
TestComponent/Class.cpp
jkotas/TestWinRT
e7682136641caf9713268761ec8188ca452e85f9
[ "MIT" ]
24
2020-01-30T16:28:35.000Z
2022-03-17T15:50:45.000Z
TestComponent/Class.cpp
jkotas/TestWinRT
e7682136641caf9713268761ec8188ca452e85f9
[ "MIT" ]
8
2019-10-31T13:51:54.000Z
2021-10-10T21:29:44.000Z
#include "pch.h" #include "Class.h" #include "Class.g.cpp" namespace winrt::TestComponent::implementation { int32_t Class::One() { return 1; } }
14.75
47
0.581921
jkotas
9e38b73cce6b3c456e9db8140791c625fa05cf02
6,145
cpp
C++
src/IKSolverRT.cpp
GuillaumeVDu/RTIKIDQualisys
9b70e2c0eb1f3492f74119c4339a6f5404ede290
[ "MIT" ]
2
2019-07-25T18:11:13.000Z
2019-09-08T16:02:23.000Z
src/IKSolverRT.cpp
GuillaumeVDu/RTIKIDQualisys
9b70e2c0eb1f3492f74119c4339a6f5404ede290
[ "MIT" ]
null
null
null
src/IKSolverRT.cpp
GuillaumeVDu/RTIKIDQualisys
9b70e2c0eb1f3492f74119c4339a6f5404ede290
[ "MIT" ]
null
null
null
// Copyright (c) 2015, Guillaume Durandau and Massimo Sartori // 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, // thi...
33.579235
130
0.732954
GuillaumeVDu
9e39d0d2d60dbb335ec1964a098c52093298666e
8,083
hpp
C++
include/Value.hpp
MiguelMJ/MakeItPixel
aae0531a546ef80b1a1a839cfbcd430806ffdee1
[ "MIT" ]
5
2022-01-26T12:51:26.000Z
2022-03-30T03:17:13.000Z
include/Value.hpp
MiguelMJ/MakeItPixel
aae0531a546ef80b1a1a839cfbcd430806ffdee1
[ "MIT" ]
null
null
null
include/Value.hpp
MiguelMJ/MakeItPixel
aae0531a546ef80b1a1a839cfbcd430806ffdee1
[ "MIT" ]
null
null
null
#ifndef __MIPA_VALUE__ #define __MIPA_VALUE__ #include <string> #include <sstream> #include <SFML/Graphics.hpp> #include "Color.hpp" #include "Palette.hpp" #include "Quantization.hpp" namespace mipa{ typedef enum { COLOR = 1, PALETTE = 2, IMAGE = 4, QUANTIZER = 8, COLO...
34.991342
102
0.558703
MiguelMJ
9e3d12fb5ec3726a9bc8b01bfde2273c6ed4b9f5
2,779
cpp
C++
src/Switch.System.Drawing/src/Switch/System/Drawing/FontFamily.cpp
victor-timoshin/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
4
2020-02-11T13:22:58.000Z
2022-02-24T00:37:43.000Z
src/Switch.System.Drawing/src/Switch/System/Drawing/FontFamily.cpp
sgf/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
null
null
null
src/Switch.System.Drawing/src/Switch/System/Drawing/FontFamily.cpp
sgf/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
2
2020-02-01T02:19:01.000Z
2021-12-30T06:44:00.000Z
#include <Switch/System/Collections/Generic/List.hpp> #include <Switch/System/NotImplementedException.hpp> #include "../../../../include/Switch/System/Drawing/FontFamily.hpp" #include "../../../../include/Switch/System/Drawing/Text/InstalledFontCollection.hpp" #include "../../../Native/Api.hpp" System::Drawing::FontFa...
42.106061
122
0.74955
victor-timoshin
9e3e06140c6a87070100198b4a429d647d7f41c7
624
cc
C++
ncstreamer_cef/src/client/client_display_handler.cc
ncsoft/ncstreamer
f9055e67d75d57e3bad2e793ad8a28e9b91ab746
[ "BSD-3-Clause" ]
9
2017-05-08T04:43:18.000Z
2022-01-02T19:24:32.000Z
ncstreamer_cef/src/client/client_display_handler.cc
ncsoft/ncstreamer
f9055e67d75d57e3bad2e793ad8a28e9b91ab746
[ "BSD-3-Clause" ]
null
null
null
ncstreamer_cef/src/client/client_display_handler.cc
ncsoft/ncstreamer
f9055e67d75d57e3bad2e793ad8a28e9b91ab746
[ "BSD-3-Clause" ]
8
2017-05-08T04:49:03.000Z
2022-02-03T08:44:04.000Z
/** * Copyright (C) 2017 NCSOFT Corporation */ #include "ncstreamer_cef/src/client/client_display_handler.h" #include <string> #include "include/wrapper/cef_helpers.h" #include "windows.h" // NOLINT namespace ncstreamer { ClientDisplayHandler::ClientDisplayHandler() { } ClientDisplayHandler::~ClientDisplayHa...
20.129032
71
0.700321
ncsoft
9e41e68a8d0ce73e4f855465c80a039ada7218bf
3,253
cpp
C++
Messy_Test-master/demo/CppBaseTest/coding_optimizations.cpp
shenjl/Cplusplus
345c2f582bf160d663c8accfafbcabc2ff011e57
[ "MIT" ]
1
2019-11-10T08:23:00.000Z
2019-11-10T08:23:00.000Z
Messy_Test-master/demo/CppBaseTest/coding_optimizations.cpp
selonsy/Cplusplus
345c2f582bf160d663c8accfafbcabc2ff011e57
[ "MIT" ]
null
null
null
Messy_Test-master/demo/CppBaseTest/coding_optimizations.cpp
selonsy/Cplusplus
345c2f582bf160d663c8accfafbcabc2ff011e57
[ "MIT" ]
null
null
null
#include "coding_optimizations.hpp" #include <ctype.h> #include <string.h> #include <iostream> #include <chrono> #include <string> // Blog: https://blog.csdn.net/fengbingchun/article/details/85934251 namespace coding_optimizations_ { // reference: 《提高C++性能的编程技术》:第十三章:编码优化 namespace { static char uppercaseTable[256]...
28.787611
103
0.696588
shenjl
9e42d79251e7022f24660c2137062505dfc3b13b
38,037
cpp
C++
server/ClientHandler.cpp
cjcliffe/SoapyRemote
aa8208879ef09c10350a1b4a95bd612ba544c50e
[ "BSL-1.0" ]
1
2021-05-16T21:00:09.000Z
2021-05-16T21:00:09.000Z
server/ClientHandler.cpp
cjcliffe/SoapyRemote
aa8208879ef09c10350a1b4a95bd612ba544c50e
[ "BSL-1.0" ]
null
null
null
server/ClientHandler.cpp
cjcliffe/SoapyRemote
aa8208879ef09c10350a1b4a95bd612ba544c50e
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2015-2015 Josh Blum // SPDX-License-Identifier: BSL-1.0 #include "ClientHandler.hpp" #include "ServerStreamData.hpp" #include "LogForwarding.hpp" #include "SoapyRemoteDefs.hpp" #include "FormatToElemSize.hpp" #include "SoapyURLUtils.hpp" #include "SoapyRPCSocket.hpp" #include "SoapyRPCPacker.hpp" #inc...
33.840747
116
0.396719
cjcliffe
9e4524c1626e6e4a249e6e3c004fb6d2bdc57ff9
4,493
cc
C++
PhysicsTools/PatExamples/bin/PatCleaningExercise.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
PhysicsTools/PatExamples/bin/PatCleaningExercise.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
PhysicsTools/PatExamples/bin/PatCleaningExercise.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include <vector> #include "TH1.h" #include "TFile.h" #include <TROOT.h> #include <TSystem.h> #include "DataFormats/Math/interface/deltaR.h" #include "DataFormats/FWLite/interface/Event.h" #include "DataFormats/Common/interface/Handle.h" #include "DataFormats/PatCandidates/interface/Jet.h" #include "FWCore/ParameterS...
37.756303
110
0.607167
ckamtsikis
9e4908e36ce15baf336b7934459ed7ff00ef8aa3
25,444
hpp
C++
disc-fe/src/evaluators/Panzer_GatherSolution_BlockedEpetra_decl.hpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
1
2022-03-22T03:49:50.000Z
2022-03-22T03:49:50.000Z
disc-fe/src/evaluators/Panzer_GatherSolution_BlockedEpetra_decl.hpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
disc-fe/src/evaluators/Panzer_GatherSolution_BlockedEpetra_decl.hpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
// @HEADER // *********************************************************************** // // Panzer: A partial differential equation assembly // engine for strongly coupled complex multiphysics systems // Copyright (2011) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85...
31.964824
79
0.591141
hillyuan
9e4a6a22b25123d459a150af8cd659e1bbbd7a3c
25,168
cpp
C++
code/Plugins/Renderer/Direct3D11/Source/T3DD3D11Mappings.cpp
answerear/Fluid
7b7992547a7d3ac05504dd9127e779eeeaddb3ab
[ "MIT" ]
1
2021-11-16T15:11:52.000Z
2021-11-16T15:11:52.000Z
code/Plugins/Renderer/Direct3D11/Source/T3DD3D11Mappings.cpp
answerear/Fluid
7b7992547a7d3ac05504dd9127e779eeeaddb3ab
[ "MIT" ]
null
null
null
code/Plugins/Renderer/Direct3D11/Source/T3DD3D11Mappings.cpp
answerear/Fluid
7b7992547a7d3ac05504dd9127e779eeeaddb3ab
[ "MIT" ]
null
null
null
/******************************************************************************* * This file is part of Tiny3D (Tiny 3D Graphic Rendering Engine) * Copyright (C) 2015-2020 Answer Wong * For latest info, see https://github.com/answerear/Tiny3D * * This program is free software: you can redistribute it and/or modi...
37.452381
157
0.560791
answerear
eafbf30cff755e79f9b6a2680e9c4834be8f1257
586
hpp
C++
source/lucio/core/callback.hpp
joserossini/lucioengine
643941cf29e23824af28e60df62bb1aaa0f6a7f1
[ "MIT" ]
null
null
null
source/lucio/core/callback.hpp
joserossini/lucioengine
643941cf29e23824af28e60df62bb1aaa0f6a7f1
[ "MIT" ]
null
null
null
source/lucio/core/callback.hpp
joserossini/lucioengine
643941cf29e23824af28e60df62bb1aaa0f6a7f1
[ "MIT" ]
null
null
null
#include <functional> namespace lucio { /* * CallBack * Use to call class member function from another class or Lambda. * * Example: * { * auto funcCallBack = new CallBack<void>([]() { * std::cout << "Hello World\n"; * }); * * funcCallBack->execute(); * } * * Note: Can also be use whit std::bind" ...
18.3125
76
0.602389
joserossini
eaff3a558d9b8924d4c9eeb2bd85e06f0e4d0359
5,162
hpp
C++
include/incavery/core.hpp
helixd2s/Incavery
b33737fc879fe9ef52158d8193b95633eef1321b
[ "BSD-3-Clause" ]
6
2021-02-14T22:51:28.000Z
2021-07-30T18:35:25.000Z
include/incavery/core.hpp
helixd2s/Incavery
b33737fc879fe9ef52158d8193b95633eef1321b
[ "BSD-3-Clause" ]
null
null
null
include/incavery/core.hpp
helixd2s/Incavery
b33737fc879fe9ef52158d8193b95633eef1321b
[ "BSD-3-Clause" ]
null
null
null
#pragma once // #include <glm/glm.hpp> #include <vkf/swapchain.hpp> // namespace icv { // struct DescriptorInfo { VkDescriptorSetLayout layout = VK_NULL_HANDLE; //VkPipelineLayout pipelineLayout = VK_NULL_HANDLE; }; // struct GraphicsPipelinePath { std::string ver...
36.352113
207
0.623596
helixd2s
d802831f56e4e78ff6ca7bf64bfa12cce270be68
401
hpp
C++
old/Net.Server.Basic/inc/net/CFlushEvent.hpp
raduionita/project-hermes
7935a1486d7b0f3c05208d2c7a2e36552581a23b
[ "MIT" ]
null
null
null
old/Net.Server.Basic/inc/net/CFlushEvent.hpp
raduionita/project-hermes
7935a1486d7b0f3c05208d2c7a2e36552581a23b
[ "MIT" ]
null
null
null
old/Net.Server.Basic/inc/net/CFlushEvent.hpp
raduionita/project-hermes
7935a1486d7b0f3c05208d2c7a2e36552581a23b
[ "MIT" ]
null
null
null
#ifndef __net_cflushevent_hpp__ #define __net_cflushevent_hpp__ #include <core/CEvent.hpp> #include <net.hpp> #include <net/CConnection.hpp> namespace net { class CFlushEvent : public core::CEvent { public: CConnection& mConnection; public: CFlushEvent(CConnection& conn) : core::CEvent("flush...
16.708333
77
0.690773
raduionita
d8028e946f1cbfa6ea591d4548a621d425fa4e94
1,032
cpp
C++
331.verify-preorder-serialization-of-a-binary-tree.cpp
lurenhaothu/Leetcode
a4aac47ff822deb861d6f6d9122d964090847d96
[ "MIT" ]
null
null
null
331.verify-preorder-serialization-of-a-binary-tree.cpp
lurenhaothu/Leetcode
a4aac47ff822deb861d6f6d9122d964090847d96
[ "MIT" ]
null
null
null
331.verify-preorder-serialization-of-a-binary-tree.cpp
lurenhaothu/Leetcode
a4aac47ff822deb861d6f6d9122d964090847d96
[ "MIT" ]
null
null
null
/* * @lc app=leetcode id=331 lang=cpp * * [331] Verify Preorder Serialization of a Binary Tree */ // @lc code=start class Solution { public: bool isValidSerialization(string preorder) { preorder+= ','; string seq; for(int i = 0; i < preorder.size(); i++){ char j = preorder[i...
25.8
106
0.39438
lurenhaothu
d80293402defa5c3fd763d977595de32ba8ebfc4
7,520
cpp
C++
contract/lite-client/crypto/parser/lexer.cpp
TONCommunity/ton-sync-payments-channel
2e5cd4902406923fdba32b8309ab8c40db3ae5bc
[ "MIT" ]
5
2019-10-15T18:26:06.000Z
2020-05-09T14:09:49.000Z
contract/lite-client/crypto/parser/lexer.cpp
TONCommunity/ton-sync-payments-channel
2e5cd4902406923fdba32b8309ab8c40db3ae5bc
[ "MIT" ]
null
null
null
contract/lite-client/crypto/parser/lexer.cpp
TONCommunity/ton-sync-payments-channel
2e5cd4902406923fdba32b8309ab8c40db3ae5bc
[ "MIT" ]
2
2020-07-24T16:09:02.000Z
2021-08-18T17:08:28.000Z
/* This file is part of TON Blockchain Library. TON Blockchain Library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later ver...
26.020761
118
0.534574
TONCommunity
d802c2cc4b75ab95f2436f576382c3ea9e824257
420
hpp
C++
include/dr_util/expand.hpp
fizyr-private/dr_util
41d21712d7eceaa09e11b95f6635bd9df952481f
[ "Apache-2.0" ]
null
null
null
include/dr_util/expand.hpp
fizyr-private/dr_util
41d21712d7eceaa09e11b95f6635bd9df952481f
[ "Apache-2.0" ]
2
2019-08-05T11:58:20.000Z
2020-02-14T10:14:57.000Z
include/dr_util/expand.hpp
fizyr-private/dr_util
41d21712d7eceaa09e11b95f6635bd9df952481f
[ "Apache-2.0" ]
1
2019-08-05T05:24:56.000Z
2019-08-05T05:24:56.000Z
#include <map> #include <string> namespace dr { /// Expand variables in a string. /** * A variable can be written as $NAME or ${NAME}. */ std::string expandVariables(std::string const & source, std::map<std::string, std::string> const & variables); /// Expand environment variables in a string. /** * A variable ca...
22.105263
110
0.683333
fizyr-private
d80570a7b16f8796d43372bd2c4acfc544a396a0
1,675
cpp
C++
barzer_relbits.cpp
barzerman/barzer
3211507d5ed0294ee77986f58d781a2fa4142e0d
[ "MIT" ]
1
2018-10-22T12:53:13.000Z
2018-10-22T12:53:13.000Z
barzer_relbits.cpp
barzerman/barzer
3211507d5ed0294ee77986f58d781a2fa4142e0d
[ "MIT" ]
null
null
null
barzer_relbits.cpp
barzerman/barzer
3211507d5ed0294ee77986f58d781a2fa4142e0d
[ "MIT" ]
null
null
null
/// Copyright Barzer LLC 2012 /// Code is property Barzer for authorized use only /// #include "barzer_relbits.h" #include <fstream> #include <sstream> #include <ay/ay_logger.h> #include <ay/ay_util.h> /** Ok, so since we don't want to keep an enum for this, let's describe * the release bits here. * * 1: use syn...
25
99
0.529552
barzerman
d80bbfde1f94d2017e9863063c31759a920681f0
26
cpp
C++
src/external_library/bitmap/BitmapImage.cpp
MatthieuHernandez/StraightforwardNeuralNetwork
e0b99a80bb1b3f76dcb08134aa0f1bc3e6b705d7
[ "Apache-2.0" ]
14
2019-08-29T07:20:19.000Z
2022-03-22T12:51:02.000Z
src/external_library/bitmap/BitmapImage.cpp
MatthieuHernandez/StraightforwardNeuralNetwork
e0b99a80bb1b3f76dcb08134aa0f1bc3e6b705d7
[ "Apache-2.0" ]
7
2020-08-07T11:08:45.000Z
2021-05-08T17:11:12.000Z
src/external_library/bitmap/BitmapImage.cpp
MatthieuHernandez/StraightforwardNeuralNetwork
e0b99a80bb1b3f76dcb08134aa0f1bc3e6b705d7
[ "Apache-2.0" ]
3
2020-08-07T10:53:52.000Z
2021-02-16T22:13:22.000Z
#include "BitmapImage.hpp"
26
26
0.807692
MatthieuHernandez
d80c7ea5404eb1fb95d99bc9225a5ccf76f71805
1,013
cpp
C++
3rdparty/diy/examples/simple/read-blocks.cpp
wgq-iapcm/Parvoro-
9459e1081ff948628358c59207d5fcd8ce60ef8f
[ "BSD-3-Clause" ]
43
2016-10-23T14:52:59.000Z
2022-03-18T20:47:06.000Z
3rdparty/diy/examples/simple/read-blocks.cpp
wgq-iapcm/Parvoro-
9459e1081ff948628358c59207d5fcd8ce60ef8f
[ "BSD-3-Clause" ]
39
2016-11-25T22:14:09.000Z
2022-01-13T21:44:51.000Z
3rdparty/diy/examples/simple/read-blocks.cpp
wgq-iapcm/Parvoro-
9459e1081ff948628358c59207d5fcd8ce60ef8f
[ "BSD-3-Clause" ]
21
2016-11-28T22:08:36.000Z
2022-03-16T10:31:32.000Z
#include <iostream> #include <diy/master.hpp> #include <diy/io/block.hpp> #include "block.h" void output(Block* b, const diy::Master::ProxyWithLink& cp) { std::cout << cp.gid() << " " << b->average << std::endl; for (int i = 0; i < cp.link()->size(); ++i) std::cout << " " << cp.link()->target(i).gid << " " ...
33.766667
110
0.574531
wgq-iapcm
d80cf59a55c78e5ad525148400e785da63fabd5d
656
cpp
C++
Source/GameService/Net/Network/Crypto/KeyExchange.cpp
BaekTaehyun/T1Project
d7d98c7cfc88e57513631124c32dfee8794307db
[ "MIT" ]
3
2019-06-25T05:09:47.000Z
2020-09-30T18:06:17.000Z
Source/GameService/Net/Network/Crypto/KeyExchange.cpp
BaekTaehyun/T1Project
d7d98c7cfc88e57513631124c32dfee8794307db
[ "MIT" ]
null
null
null
Source/GameService/Net/Network/Crypto/KeyExchange.cpp
BaekTaehyun/T1Project
d7d98c7cfc88e57513631124c32dfee8794307db
[ "MIT" ]
2
2018-10-15T08:09:16.000Z
2020-04-07T05:25:52.000Z
#include "KeyExchange.h" #include <cassert> std::vector<uint64_t> KeyExchange::getPublicKey(uint64_t p, uint64_t g, size_t count) { dhs_.clear(); std::vector<uint64_t> pk; for (size_t i = 0; i < count; ++i) { DiffieHellman dh; pk.push_back(dh.getPublicKey(p, g)); dhs_.push_back(dh); } return pk; } s...
16
85
0.625
BaekTaehyun
d80ddb7432a2682168f55dff3ed25a45d4aba3c9
1,396
cpp
C++
examples/cpp/src/utils/Reader.cpp
TEE-AI/SAI
f2a43d704078057c8f957f4751317e8fea75a07f
[ "Apache-2.0" ]
34
2019-01-16T14:54:10.000Z
2021-11-16T11:19:15.000Z
examples/cpp/src/utils/Reader.cpp
TEE-AI/SAI
f2a43d704078057c8f957f4751317e8fea75a07f
[ "Apache-2.0" ]
2
2019-02-16T06:41:31.000Z
2019-04-23T05:34:01.000Z
examples/cpp/src/utils/Reader.cpp
TEE-AI/SAI
f2a43d704078057c8f957f4751317e8fea75a07f
[ "Apache-2.0" ]
4
2019-04-10T00:48:27.000Z
2021-04-12T01:21:01.000Z
#include "Reader.h" Reader::Reader(std::vector<std::string> *filelist) { filelist_ = filelist; fileIndex_ = 0; processor_ = 0; } Reader::~Reader() { filelist_ = 0; fileIndex_ = 0; processor_ = 0; } void Reader::register_processor(Preprocessor *processor) { processor_ = processor; } Image...
21.151515
82
0.611032
TEE-AI
d81043c1f105b165bab2fecd6fb56885c07a40c1
20,769
cpp
C++
drlvm/vm/jitrino/src/codegenerator/ia32/Ia32CodeSelector.cpp
sirinath/Harmony
724deb045a85b722c961d8b5a83ac7a697319441
[ "Apache-2.0" ]
8
2015-11-04T06:06:35.000Z
2021-07-04T13:47:36.000Z
drlvm/vm/jitrino/src/codegenerator/ia32/Ia32CodeSelector.cpp
sirinath/Harmony
724deb045a85b722c961d8b5a83ac7a697319441
[ "Apache-2.0" ]
1
2021-10-17T13:07:28.000Z
2021-10-17T13:07:28.000Z
drlvm/vm/jitrino/src/codegenerator/ia32/Ia32CodeSelector.cpp
sirinath/Harmony
724deb045a85b722c961d8b5a83ac7a697319441
[ "Apache-2.0" ]
13
2015-11-27T03:14:50.000Z
2022-02-26T15:12:20.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...
39.186792
132
0.631711
sirinath
d8112d6d727919c9cd82b4e19ef74e99ee43676b
1,233
cpp
C++
benchmark/utils.cpp
Karamaz0V1/Higra
216d9e47641171b5a6f8b7e2b42c269b8dc34abd
[ "CECILL-B" ]
64
2019-08-18T19:23:23.000Z
2022-03-21T04:15:04.000Z
benchmark/utils.cpp
higra/Higra
e6d5984a585f652c87d303a6a6bec19f0eb7432e
[ "CECILL-B" ]
120
2019-08-16T09:10:35.000Z
2022-03-17T09:42:58.000Z
benchmark/utils.cpp
Karamaz0V1/Higra
216d9e47641171b5a6f8b7e2b42c269b8dc34abd
[ "CECILL-B" ]
12
2019-10-04T07:35:55.000Z
2021-01-10T19:59:11.000Z
/*************************************************************************** * Copyright ESIEE Paris (2021) * * * * Contributor(s) : Benjamin Perret * * ...
44.035714
91
0.379562
Karamaz0V1
d8112d8960eb885acb99ea8d5b081331a5122bf0
94
cpp
C++
BASIC c++/beginning_with_cpp/before_oop/exercise of 4 .cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
BASIC c++/beginning_with_cpp/before_oop/exercise of 4 .cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
BASIC c++/beginning_with_cpp/before_oop/exercise of 4 .cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int x,i; i=-2; cout<<-4*i++-6%4<<endl; }
10.444444
23
0.617021
jattramesh
d8120c0c46c988618764ba5662c38ae2c5bc925c
2,766
cpp
C++
qsimplespatial/paintscheme.cpp
folibis/qsimplespatial
e39b07678ced3199cc518adf251e683759442dc3
[ "MIT" ]
1
2020-03-16T09:59:28.000Z
2020-03-16T09:59:28.000Z
qsimplespatial/paintscheme.cpp
folibis/qsimplespatial
e39b07678ced3199cc518adf251e683759442dc3
[ "MIT" ]
null
null
null
qsimplespatial/paintscheme.cpp
folibis/qsimplespatial
e39b07678ced3199cc518adf251e683759442dc3
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * Copyright (c) 20014 Moukhlynin Ruslan <me@ruslan.pw> * * paintscheme.cpp * This file is part of the QSimpleSpatial. * * 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 Sof...
25.145455
123
0.720897
folibis