blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
247
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
4
111
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
58
visit_date
timestamp[ns]date
2015-07-25 18:16:41
2023-09-06 10:45:08
revision_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
committer_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
github_id
int64
3.89k
689M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
25 values
gha_event_created_at
timestamp[ns]date
2012-06-07 00:51:45
2023-09-14 21:58:52
gha_created_at
timestamp[ns]date
2008-03-27 23:40:48
2023-08-24 19:49:39
gha_language
stringclasses
159 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
7
10.5M
extension
stringclasses
111 values
filename
stringlengths
1
195
text
stringlengths
7
10.5M
accce741514433375b48d912dc4437f97bb6a295
3942ec60aa71d077b836515164aa8e3c4cf79236
/graphics/sprites.h
54241d552fa11f7fd2be3fd0c8ec05e95d9d3387
[]
no_license
semihkekul/moving
174c86877335e20873fe398aa7c944ffed429b8e
fd84836c1e5a560911df6b9c4457432ae5f4ffdb
refs/heads/master
2020-04-10T00:39:25.306224
2018-12-06T15:13:36
2018-12-06T15:13:36
160,692,104
0
0
null
null
null
null
UTF-8
C++
false
false
870
h
sprites.h
#ifndef _SPRITES_H #define _SPRITES_H #include <pspdisplay.h> #include <pspctrl.h> #include <pspkernel.h> #include <pspdebug.h> #include <pspgu.h> #include <png.h> #include <stdio.h> #include <iostream> #include <stdlib.h> #include "graphics.h" using namespace std; /** inspred by **************** http://www.psp-progr...
1c1219a02f46778d8c512649c1b9aeabff8b0040
402e42eaa376a2925731f7fb3b8147f63b219a3f
/src/Plugin.hpp
1f02581a064f530efa2f13b8eaed1161fca2e723
[ "MIT" ]
permissive
cosmoscout/csp-simple-wms-bodies
56a0120c3f5a02596b311c157e597f7d1a87dcd7
04c02dab56c46661548b759309b150eaa5d83ff6
refs/heads/develop
2021-05-19T08:41:54.621358
2020-05-28T18:45:01
2020-05-28T18:45:01
251,609,886
0
0
MIT
2020-07-23T13:27:07
2020-03-31T13:24:44
C++
UTF-8
C++
false
false
3,874
hpp
Plugin.hpp
//////////////////////////////////////////////////////////////////////////////////////////////////// // This file is part of CosmoScout VR // // and may be used under the terms of the MIT license. See the LICENSE file for details. // // ...
f293e2bc9d7fee07429e32a896dfb8b8a4041415
369cc6049abf46e3ed1c38afce5c51d84bd12784
/src/attribute.h
9ce394fa90e9efee6c802f4364a8626d0f6707c8
[]
no_license
xgc820313/fastget
8f599b17b16acdba1c860355dba867b593b9b1c6
fefc7edcb6a9465a817d2af17ec9f812030e2d8d
refs/heads/master
2021-01-01T15:51:21.406251
2009-07-25T05:58:37
2009-07-25T05:58:37
38,357,653
0
0
null
null
null
null
UTF-8
C++
false
false
3,795
h
attribute.h
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will b...
97dc7d31a7f0a589fa073e80e00af292fc55b07d
ec33bd48223e25c4528e15a2fbd847dd3f85e3bf
/CPP_projects/RapidBackend/sources/mainTest.cpp
6e46e5faf3d3bc118e81ad28acc13feaf597974e
[]
no_license
y-vyrovoy/misc_projects
21b5e07674ceda6cb24696c3ec289fa3d0cb8c68
e2d6db318bd5e24914dfa1212252e32fbb34f0a9
refs/heads/master
2021-10-25T06:27:31.653299
2019-04-02T08:34:11
2019-04-02T08:34:11
93,945,971
0
0
null
null
null
null
UTF-8
C++
false
false
9,831
cpp
mainTest.cpp
#include "stdafx.h" #include <chrono> #include <thread> #include <mutex> #include "ServerFramework.h" #include "MessageException.h" #include "RequestDispatcher.h" #include "WaitSentQueue.h" #include "Logger.h" #define N_SOCKETS 3 RequestDispatcher g_dispatcher; std::atomic<bool> g_stop; std::atomic<unsigned int> ...
60ecf0d107ff6e0455d0b879ff634341331c924a
ba14e6c0c2905ba46d83ded2e84d4d71be0125b9
/src/device/nrf/nrf24l01p/nrf24l01p.cpp
478d081f3117f2c2984061a49b71ad715bc3b320
[]
no_license
TheSeven/firmware
d3861a33811090b3a79c41bae9caf523133edb23
6937673c677da86a5b6008962e9e60e32404217e
refs/heads/master
2021-01-17T11:16:24.663819
2017-02-05T21:02:33
2017-02-05T21:02:33
27,391,134
4
4
null
null
null
null
UTF-8
C++
false
false
2,725
cpp
nrf24l01p.cpp
#include "global.h" #include "device/nrf/nrf24l01p/nrf24l01p.h" #include "sys/time.h" #include "sys/util.h" void NRF_OPTIMIZE NRF::NRF24L01P::configure(const Configuration* config) { NRF::NRF24L01P::Config configOff(Role_PTX, false, CrcMode_None, true, true, true); bool old = stayAwake(true); writeReg(Reg...
eed79512c28ebfff11bcb0ffa26599ee5bdfd7fc
0ac44ae44d2aefe7a3a0186c6335ab285f0ac14c
/source/main.cpp
5711176e7ca294e379b215a9fc31ec7170ffd1a0
[]
no_license
drankinmacup/spaceduel
8b6f980ad6093a8d4da264f61608f964d582f468
bf8d55e56d7fcb345ce4f317ed522bc19a7e5a9f
refs/heads/master
2021-01-01T16:50:38.405347
2013-01-27T23:24:13
2013-01-27T23:24:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,992
cpp
main.cpp
/*=========================================== Space Duel - Initial Testing Based on GRRLIB (GX Version) Template Minimum Code To Use GRRLIB ============================================*/ #include <grrlib.h> #include <stdlib.h> #include <cmath> #include <wiiuse/wpad.h> #include "Ship.h" #include "c...
31c5d916b381323f05aee4107768cde595e9c3fd
a20b95ef719adaac9e9d9a1478428407ecdbdd25
/src/FightScreenEnemy.h
692c0d0044355d81bf9532e66687908f8ca31c7c
[]
no_license
ani300/1714game
4523d8212206153b7279fb0b213573050356cb7c
dcd5b09271692fe40894ff291fb1e8107d52e9aa
refs/heads/master
2016-09-06T11:27:03.991136
2015-01-25T05:11:07
2015-01-25T05:11:17
17,917,886
0
0
null
null
null
null
UTF-8
C++
false
false
713
h
FightScreenEnemy.h
/******************************FightScreenEnemy.h**********************************/ #ifndef FIGHTSCREENENEMY #define FIGHTSCREENENEMY #include "Utils.h" #include "MovileObject.h" #include "ResourceHolder.h" #include "ResourceIdentifiers.h" class FightScreenEnemy: public MovileObject { public: //Construc...
3e7eb6b0470f2e5bc0b7254ac27956d5d1f7a9cd
5b5d53dd0d1593f2c2475d493f664d34e4858ee2
/Liste/Ornek2/main.cpp
a699455b560c5382f200097a9bdf7f7eeb4c8358
[]
no_license
yapbenzet/Modern_Cpp_WebSite
bf51a84ec6587631d1cee80354989759f200ec8e
526d558490a8676d13330b80f34ec872d779f7d4
refs/heads/master
2023-04-04T17:30:17.150606
2023-03-22T06:34:43
2023-03-22T06:34:43
98,210,300
6
5
null
null
null
null
UTF-8
C++
false
false
1,055
cpp
main.cpp
#include <list> #include <iostream> /** * Listenin kapasitesi icin islemler */ using namespace std; int main() { list<char> karakter; karakter.assign(5, 'a'); //5 tane char degeri atar. //assing(): Atama islemi yapar. for (char c : karakter) { //Karakter sayisi kadar döngü döner. cout << c ...
d8eb9c1c4d1481e858a0f1aa70997c0fbd956b4b
204c5937cdea475f5c3dafde6d770a74ae9b8919
/UVA/Chapter 3. Data Structures/Fundamental Data Structures/Examples/11911.cpp
cf00e4f6b2f0ad0d82ba3d9a8effe784e0e0ed45
[]
no_license
mlz000/Algorithms
ad2c35e4441bcbdad61203489888b83627024b7e
495eb701d4ec6b317816786ad5b38681fbea1001
refs/heads/master
2023-01-04T03:50:02.673937
2023-01-02T22:46:20
2023-01-02T22:46:20
101,135,823
7
1
null
null
null
null
UTF-8
C++
false
false
459
cpp
11911.cpp
#include<cstdio> #include<iostream> #include<algorithm> #include<cstring> #include<vector> using namespace std; const int N=1000005; int n,m; vector<int> a[N]; int main(){ while(scanf("%d%d",&n,&m)!=EOF){ for(int i=1;i<=n;++i) a[i].clear(); for(int i=1,x;i<=n;++i){ scanf("%d",&x); a[x].push_back(i); } fo...
2726567c0c7e811cf00bd568b9e69596a1ef8d74
25b36236d90aa38deb0e28db06f5f5ee5264d931
/NPLib/Core/NPImage.h
de1a3a63affcacd0da3777862e4323f10a811b6e
[]
no_license
adrien-matta/nptool
54b5ea6fe2d8c226e7422a948d3ecc94d62d1ff2
415ad50066f715ca1de312da1202201f9381e87e
refs/heads/NPTool.2.dev
2021-04-18T23:52:44.645407
2019-09-02T12:38:49
2019-09-02T12:38:49
13,268,020
36
20
null
2016-12-05T11:46:35
2013-10-02T10:11:22
C++
UTF-8
C++
false
false
3,211
h
NPImage.h
#ifndef NPIMAGE #define NPIMAGE /***************************************************************************** * Copyright (C) 2009-2016 this file is part of the NPTool Project * * * * For the licensing terms see $NPTOOL/Licence/NP...
0c070df6095bc29a119e732f31504109ff8fb948
eb6cce2a882226e1090b33d7c7b4a9cc4d802a05
/Circle.ino
9e6626101eed9651f4b9936871aa9e2acd4e3972
[]
no_license
Jessebeau2001/Hexonizer
0c98f04bec7e4161681390fd65508dd284d7b9ef
580b3f312a3655124f084015a8d26516fd32f837
refs/heads/master
2020-07-23T14:18:09.741370
2019-09-13T00:53:53
2019-09-13T00:53:53
207,589,272
0
0
null
null
null
null
UTF-8
C++
false
false
1,462
ino
Circle.ino
#include <Wire.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); const int buttonPin = 2; const int switchPin = 3; int buttonState = 0; int lastButtonState = 0; int clicks = 0; int circle= 0; int drawNum[] = {10, 4, 4, 1}; int totalHexAmount[] = {18, 12, 6, 6, 6}; int...
985a6db8a617e4e7176e42efb81d166d49420a68
4254c31acc7fc4f5ade20e79607d2bf609f96361
/src/controls/controls.ino
9592905b9d08a49b5fc419b3dc2062de51dbfc98
[ "MIT" ]
permissive
tomaskraus/ArduinoTank
481f35c6c9476068250ad91fa04cfbc0469cb7a1
4a7bc059812240d2ac89c5fdcccf53f357bafdad
refs/heads/master
2020-06-06T18:24:02.711812
2019-06-21T14:32:49
2019-06-21T14:32:49
192,821,146
1
0
null
null
null
null
UTF-8
C++
false
false
1,360
ino
controls.ino
#define PWMA 9 #define DIRA 8 #define PWMB 6 #define DIRB 7 #define CH1_PIN 2 #define CH2_PIN 3 #define P_TIMEOUT 40000 #define CH_MIN 980 #define CH_MAX 1940 #define DEADZONE_LOW 1450 #define DEADZONE_HIGH 1550 #define LOOP_DELAY 20 //how much delay add to one loop int v1; void setup() { Serial.begin(9600); ...
b7be88f061c34bbf59d92499d26fa58ca1253214
901872989c010a987cebbf6430ad5adfd54b7b5c
/src/runtime/ios_io.cpp
57a72f381fe49bb29586985943fb528933cb684e
[ "MIT" ]
permissive
202198/Halide
802b232a2700de775baa2aa08803b08ad48eaa85
1e9efbef744847d29cbbf3c6dc75e1fc2bb98ebe
refs/heads/master
2021-01-15T23:06:59.251380
2013-09-18T23:16:19
2013-09-18T23:16:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,099
cpp
ios_io.cpp
#include "HalideRuntime.h" #include <stdarg.h> #include <stdint.h> #define WEAK __attribute__((weak)) typedef void *objc_id; typedef void *objc_sel; extern "C" objc_id objc_getClass(const char *name); extern "C" objc_sel sel_getUid(const char *str); extern "C" objc_id objc_msgSend(objc_id self, objc_sel op, ...); e...
80083fe7a31201490c026a4da108397bddac34db
c3dee1d04b2a4a530a9aaedf1ef839aa9206b50f
/opengl_3_3engine/RigidBody.h
1813bbcf5e3638230db69659950d7d0549fca96f
[]
no_license
jjzhang166/OpenGL-3.3-Engine-project
96b2cacce95d38815558b7ef2929ebc77fe6f8ee
8468e648f5c0af53d3be40a6c0db682f5b438cb7
refs/heads/master
2023-04-15T12:45:21.421351
2013-03-16T12:45:58
2013-03-16T12:45:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,147
h
RigidBody.h
//RigidBody.h - class for RigidBody type #pragma once #include <glm/glm.hpp> #include <glm\gtx\quaternion.hpp> #include <glm\gtc\matrix_transform.hpp> #include <glm\gtx\inertia.hpp> #include <assert.h> using glm::vec3; using glm::quat; using glm::mat3x3; class RigidBody { public: virtual ~RigidBody(){}; const v...
b3f8c2be44234a15e96d1e96b042db247bc385cc
ae936fb07d9478152cb998e94b9937d625f5c3dd
/Codeforces/CF621C.cpp
33231b98f19e02aefc5044a62a59388dc9d24f79
[]
no_license
Jorgefiestas/CompetitiveProgramming
f035978fd2d3951dbd1ffd14d60236ef548a1974
b35405d6be5adf87e9a257be2fa0b14f5eba3c83
refs/heads/master
2021-06-12T06:28:20.878137
2021-04-21T01:32:37
2021-04-21T01:32:37
164,651,348
0
0
null
null
null
null
UTF-8
C++
false
false
784
cpp
CF621C.cpp
#include <bits/stdc++.h> using namespace std; using ld = long double; const int N = 1e5 + 100; int n, p, l[N], r[N]; int cnt(int i) { return r[i] - l[i] + 1 - r[i] / p + (l[i] - 1) / p; } int main() { ios_base::sync_with_stdio(0); cin.tie(0); cin >> n >> p; for (int i = 1; i <= n; i++) { cin >> l[i] >> r[i]...
21bacbd6b6bd81f221e1d9995a6e3dee395191ed
04dbef37f3c53635336f2326e73f4e37f3fc7a64
/第一课/第四周/练习代码/module4/B.cpp
8841aa5ffa560840c1cf57bbc51a0e4bbcd8bd9c
[]
no_license
cloveq6/Yandex-Course
ac3922c751f4ac734c0e27bc374992b7ce6e3bf4
906702917749b1d2c5cf5dae6558edb48fa21ae4
refs/heads/master
2020-04-15T14:50:45.935931
2019-01-09T03:03:17
2019-01-09T03:03:17
null
0
0
null
null
null
null
GB18030
C++
false
false
2,343
cpp
B.cpp
#include <iostream> #include <exception> using namespace std; int GreatestCommonDivisor(int a, int b){ a = abs(a); b = abs(b); while (a > 0 && b > 0){ if (a > b){ a = a % b; } else { b = b % a; } } return a + b; } class Rational { public: Rational() { data_numerator = 0; ...
47172e2b48e7881d5e70fd6c252730cb2d58d9b7
dcde867b666e52e8ab253e6d5dbfa64a2bb49d67
/PuzzlePlatform/Source/PuzzlePlatform/PuzzlePlatformGameInstance.cpp
c64bb9ad3c0c43a8a947773e845352136699cf5a
[]
no_license
sting1219/PuzzlePlatformProject
2c06143d539e07eacea407bc13bffdd15c978636
b46b9a78e2e6fc245c36f77f3fbc7395209a22e8
refs/heads/master
2022-12-25T08:48:03.153886
2020-10-07T09:44:51
2020-10-07T09:44:51
235,301,056
0
0
null
null
null
null
UTF-8
C++
false
false
5,135
cpp
PuzzlePlatformGameInstance.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "PuzzlePlatformGameInstance.h" #include "Engine/Engine.h" #include "UObject/ConstructorHelpers.h" #include "Blueprint/UserWidget.h" #include "OnlineSubsystem.h" #include "PlatformTrigger.h" #include "MenuSystem/MainMenu.h" #inclu...
ccd9fd464b42ced585d671d15bd6aacf93615c80
a33aac97878b2cb15677be26e308cbc46e2862d2
/program_data/PKU_raw/6/13.c
8bb8ce1ace921f673144957981ead04841d26f03
[]
no_license
GabeOchieng/ggnn.tensorflow
f5d7d0bca52258336fc12c9de6ae38223f28f786
7c62c0e8427bea6c8bec2cebf157b6f1ea70a213
refs/heads/master
2022-05-30T11:17:42.278048
2020-05-02T11:33:31
2020-05-02T11:33:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
854
c
13.c
int calcSum(int *matrix, int row, int col); int main() { int k; scanf("%d", &k); int *result = (int *)malloc(k * sizeof(int)); int i = 0; int row ,col; int sum; int m, n; int *matrix; for (i = 0; i < k; i++) { scanf("%d %d", &m, &n); matrix = (int *)malloc(m * n * sizeof(int)); for (row...
4863b30e1f1074b81e6542dae6039651ac7af0ec
2e951e5d002b87812ff0e5408923e31c3b6a7b88
/libs/ma_helpers/include/ma/io_context_helpers.hpp
d13caf5a331825ba641551459f978ee684f62dee
[ "BSL-1.0" ]
permissive
mabrarov/asio_samples
382cf8fdc5fe76dfd359c600bb04bea69ef0deed
e2dc9f81f359dc5b2e568ef419662431fdd0ea0c
refs/heads/master
2023-04-28T23:00:02.074513
2023-04-20T21:33:58
2023-04-20T21:33:58
6,457,964
265
73
BSL-1.0
2023-04-20T21:33:59
2012-10-30T13:50:37
C++
UTF-8
C++
false
false
1,727
hpp
io_context_helpers.hpp
// // Copyright (c) 2018 Marat Abrarov (abrarov@gmail.com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef MA_IO_CONTEXT_HELPERS_HPP #define MA_IO_CONTEXT_HELPERS_HPP #if defined(_MSC_VER) && (_MSC_VER >= 10...
edb5a82afd526b9f079b740790adc4fcbd2d0d39
0e55f4d261c7873fe9dc4b613c612c824843f459
/Node.h
4c17a89a13162230f96f0883bcc379bab687e3e3
[]
no_license
gaurav324/PageRank-MPI
ed163012c6a782eb43215c2a01eb8d4d3ea2c66f
0ba8c5309fbae19cd51b2a8d69a11267a273a8cf
refs/heads/master
2020-05-21T11:39:33.230424
2015-05-13T23:50:35
2015-05-13T23:50:35
34,239,362
4
4
null
null
null
null
UTF-8
C++
false
false
1,211
h
Node.h
/** * Node.h * * Node represents a vertex in the graph. * * Created on: May 3, 2015 * Author: Gaurav Nanda */ #ifndef _MPI_NODE_H_ #define _MPI_NODE_H_ #include <vector> #include <utility> using namespace std; class Node { private: // Total number of edges going out of the edge. int out_degree; ...
d2d73e0dcef5642f67e8dbe4f8f969122aadfb8b
181b8b6de693d7b46880cfb56c6d26cedf188f21
/hamming/hamming.cpp
0c408ccd9387337f0cef131d34f22f3a9b1c9c46
[]
no_license
alphatee/Exercism
6c7de6148199d4dc57d27fcc6a5a683c6023da31
4e2c39140a07e1d8ba6f79ee157df94e20dfd1e1
refs/heads/main
2023-05-31T13:56:10.694560
2021-06-10T23:03:01
2021-06-10T23:03:01
375,658,456
0
0
null
null
null
null
UTF-8
C++
false
false
410
cpp
hamming.cpp
#include "hamming.h" #include <stdexcept> namespace hamming { std::size_t compute(std::string a, std::string b) { std::size_t n = 0; if(a.length() != b.length()) { throw std::domain_error("a and b must be of equal length"); } for(std::size_t i = 0; i <= a.length(); ++i){...
c4c6e6fde8aabd6274486c12495253d873c3ea40
3364af2547f9dc2e8ef59826afe64fef8ac9997f
/generating functions/I.cpp
269d240cb0da0e1d42f2a3b928b5847a90a2e880
[]
no_license
RomaA2000/some_cpp_programs
d8eb03174e508b042b3febb76fc13d5fc0a80a5a
447cd33bda7c66d9c2bf947882b03fff65aa2dea
refs/heads/master
2021-07-06T23:02:35.777716
2020-08-29T00:11:08
2020-08-29T00:11:08
181,204,659
0
0
null
null
null
null
UTF-8
C++
false
false
4,530
cpp
I.cpp
#include <iostream> #include <vector> #include <algorithm> #include <future> class gen_func { std::vector<int64_t> data; int64_t static safe_get(std::vector<int64_t> v, size_t i) { return i >= v.size() ? 0 : v[i]; } int64_t safe_get(size_t i) const { return safe_get(data, i); } static int64_t po...
450e962e3ccde36779fc41d96ea0df9977d49a08
8848c655bde2c0fd2229d334ca1919a985d14ad2
/Sun's bachelor thesis project/GraduateClient/Project/Classes/SqlLite3Utils.cpp
c39e82cf3d6bfb4df6d7abced83a86561e058fd9
[]
no_license
Sunjiawei58/NEUPlanningIOS
9d80208a5d17e39cdc06156345eb55529202c4a0
d938ad338d9438863d9a67e192f1a342aef871a8
refs/heads/master
2016-09-05T22:39:40.821247
2015-08-04T01:52:44
2015-08-04T01:52:44
40,034,461
0
0
null
null
null
null
UTF-8
C++
false
false
2,718
cpp
SqlLite3Utils.cpp
// // SqlLite3Utils.cpp // Project // // Created by sunjiawei on 15/5/21. // // #include "SqlLite3Utils.h" #include "stdio.h" #include <iostream> using namespace std; #define DB_NAME "graduate.db3" sqlite3* SqlLite3Utils::getDBBase() { sqlite3* database = nullptr; std::string db= FileUtils::getInstan...
d00c18ff0a5c0539adc644d982aa54d7370702e6
04f25ac243e50ec14d1e87a9bd92e073d62c4a77
/92_Reverse_Linked_List_II.cpp
a17433739e8f67224437049c807fa1621f0273c5
[]
no_license
indrajeet95/LeetCode-Problems
e0ea837da888e5e42fd3bfd28c4afe8726e20943
6cd5383b10172fec645909115cf37b135c93a60c
refs/heads/master
2020-03-19T23:33:57.658437
2019-04-12T16:38:42
2019-04-12T16:38:42
137,010,414
1
0
null
null
null
null
UTF-8
C++
false
false
746
cpp
92_Reverse_Linked_List_II.cpp
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* reverseBetween(ListNode* head, int m, int n) { ListNode* prev = new ListNode(0); prev->next = head; ...
2bb106b4f2622a7235d13ed1999e4bcf2160f34a
29ebd7974c755d820cafc7099819e01382546fc6
/TPReseau3/TPReseau3/src/ReplicationManager.cpp
63254749bdbef6c454fdaa0a05ee0e11f85b8c07
[]
no_license
cualquiercosa327/TP_Reseau_3
a083e2174f3d638abf9e6d9a674d78ee80ae3cf1
a0592b95a0db4f548e1ade7142231d88aace10bb
refs/heads/main
2023-08-25T23:38:51.071794
2021-11-06T18:47:01
2021-11-06T18:47:01
null
0
0
null
null
null
null
ISO-8859-1
C++
false
false
2,879
cpp
ReplicationManager.cpp
#include "ReplicationManager.h" #include "ClassRegistry.h" namespace uqac::replication { ReplicationManager::ReplicationManager() { this->serializer = uqac::serializer::Serializer(); linkingContext = LinkingContext(); } // Write std::vector<char> ReplicationManager::Update(int protocol) { // ...
4029c516ee67f8d88178249ad45a0f421055d07f
66e543354585a77510e39e88c9edc048c3d86bcd
/common/SoapyRPCSocket.cpp
c77ed56ba75f35621805e2e7a4503953f41f5c62
[ "BSL-1.0" ]
permissive
pothosware/SoapyRemote
9928d82f2285c47efc52991becb9321504879e52
3aadac60f42dcf987804b49e8f2a8bd96996ad2f
refs/heads/master
2023-08-10T16:51:46.320739
2023-07-15T14:14:47
2023-07-15T14:14:47
42,284,267
108
28
BSL-1.0
2022-11-27T04:43:05
2015-09-11T03:02:01
C++
UTF-8
C++
false
false
16,859
cpp
SoapyRPCSocket.cpp
// Copyright (c) 2015-2020 Josh Blum // SPDX-License-Identifier: BSL-1.0 #include "SoapySocketDefs.hpp" #include "SoapyRPCSocket.hpp" #include "SoapyURLUtils.hpp" #include <SoapySDR/Logger.hpp> #include <cstring> //strerror #include <cerrno> //errno #include <algorithm> //max #include <mutex> static std::mutex sessio...
2369fea5b2eed755769828c0c932d11dbbfdc100
3f923f4778748fc065189acadd141a1c74e7ce23
/P1/P1S3/FiltroPrioridad.h
be08765726be8b36151e4ef4c7fad18eee50be20
[]
no_license
Olasergiolas/DS-2021-UGR
080d555484f02895fb4ef78d70001bcb9e1851d6
307d052fc9ebe3925727052407a21d463360c535
refs/heads/master
2023-05-06T19:35:13.363815
2021-06-06T12:29:32
2021-06-06T12:29:32
347,339,226
0
0
null
null
null
null
UTF-8
C++
false
false
313
h
FiltroPrioridad.h
// // Created by ines on 8/4/21. // #ifndef DSP1_S3_FILTROPRIORIDAD_H #define DSP1_S3_FILTROPRIORIDAD_H #include "Filtro.h" #include "Formulario.h" class FiltroPrioridad: public Filtro { public: FiltroPrioridad(); void procesar(Formulario &formulario) override; }; #endif //DSP1_S3_FILTROPRIORIDAD_H
d6cd3fa3c423e9927f85d95d30b20bf05681853a
32e3edb0487d3de63cd30601e542fc8472be397c
/ML/linear_regression.hpp
bbcd401ab242d6f007fe3db7146c1b59e4beb889
[]
no_license
sesiria/Algs
d5d1f7f40a861932cb4a746f4fea743965159489
4c7a3c63a84830c2d2919892d16fa71b30f67938
refs/heads/master
2023-05-10T13:21:53.425351
2021-06-04T02:26:40
2021-06-04T02:26:40
68,062,966
15
4
null
null
null
null
UTF-8
C++
false
false
1,039
hpp
linear_regression.hpp
#ifndef NN_LINEAR_REGRESSION_HPP_ #define NN_LINEAR_REGRESSION_HPP_ #include <memory> #include <string> #include <ostream> namespace ANN { typedef enum { LEAST_SQUARES = 0, GRADIENT_DESCENT } regression_method; template<typename T> class LinearRegression { template<typename U> friend std::ostre...
c5e18fed5bf365ee0e40dd1404ea53e7285246ca
4f528cec29d12c29214fb84796666ab1b1432d6e
/utils/UtAssert.cpp
27c19d2de3def1cfc07a71500c08178ec478f464
[]
no_license
intech6045/intechPdf
3961e0bec02539eb8cc3233cbc0a033526c2db05
1027e8b27ad7668e9862373fa15eec5e192091c6
refs/heads/master
2022-11-20T02:34:02.581454
2020-07-24T03:10:05
2020-07-24T03:10:05
282,106,003
0
0
null
null
null
null
UTF-8
C++
false
false
1,158
cpp
UtAssert.cpp
/* Copyright 2013 the SumatraPDF project authors (see AUTHORS file). License: Simplified BSD (see COPYING.BSD) */ #include "BaseUtil.h" #include "UtAssert.h" static int g_nTotal = 0; static int g_nFailed = 0; #define MAX_FAILED_ASSERTS 32 struct FailedAssert { const char *exprStr; const char *file; i...
749edf025f103d13bd01ba4b8f783a999f259e4e
c3a424748ca2a3bc8604d76f1bf70ff3fee40497
/alternatives/pol-099-core/icrontic/scripts/include/cliloc.inc
143acd359bcbb19f131f368c78edb8a34e2b0a2b
[]
no_license
polserver/legacy_scripts
f597338fbbb654bce8de9c2b379a9c9bd4698673
98ef8595e72f146dfa6f5b5f92a755883b41fd1a
refs/heads/master
2022-10-25T06:57:37.226088
2020-06-12T22:52:22
2020-06-12T22:52:22
23,924,142
4
0
null
null
null
null
UTF-8
C++
false
false
1,675
inc
cliloc.inc
// Cliloc function v3.0 // By BlahGoD and Kiwi // Not for the faint of heart :) use uo; use basic; function Cliloc(sendto, subject, color, messageID, system := 1, name := 1) if(name = 1) name := subject.name; endif if(color = "03b2") color := 996; endif var length := 18; var namehex := ""; var tes...
84ed254acf87c8fd3843bb7a9271d1f66d55affe
5f4ea9dd63eb40740c89fbaa045c7083db469d83
/source/Utility/KeyboardInput.cpp
2ed47bffa3bb78710033501f6051de4305968447
[]
no_license
Numkn644/BlackJack
d48d31caccf895ab46b11187f21f72ddffc3404b
93830ff9f54d1e1afaf6d2129e660838ffc9dae9
refs/heads/master
2016-08-12T15:40:47.667802
2015-12-17T15:30:51
2015-12-17T15:30:51
45,117,662
0
0
null
null
null
null
UTF-8
C++
false
false
431
cpp
KeyboardInput.cpp
#include "KeyboardInput.h" KeyboardInput::KeyboardInput() { } KeyboardInput::~KeyboardInput() { } int KeyboardInput::update() { GetHitKeyStateAll(keyboardBuffer_m); for (int keycode = 0; keycode < 256; ++keycode){ keyboard_m[keycode] = keyboardBuffer_m[keycode] == 1 ? ++keyboard_m[keycode] : 0; } return 0;...
ff62a9589d88a6643c7f752789b5e107f4ffec36
4fc10b326682128ff6a92a927c8ec44d71d08824
/src/developer/debug/zxdb/symbols/dwarf_location.cc
e5aa5f38f0ce5d61cf601cce54d61368b9dcb45e
[ "BSD-2-Clause" ]
permissive
dahliaOS/fuchsia-pi4
f93dc1e0da5ed34018653c72ceab0c50e1d0c1e4
5b534fccefd918b5f03205393c1fe5fddf8031d0
refs/heads/main
2023-05-01T22:57:08.443538
2021-05-20T23:53:40
2021-05-20T23:53:40
367,988,554
5
2
null
null
null
null
UTF-8
C++
false
false
4,677
cc
dwarf_location.cc
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/developer/debug/zxdb/symbols/dwarf_location.h" #include <limits> #include "llvm/DebugInfo/DWARF/DWARFContext.h" #include "llvm/DebugInfo/DW...
5123e948a804f641d9010e4ea6ec8d0bc733bf1a
407949cf89b4483528f7c8e684d094db44942c92
/Volcano/Runtime/RHI/Vulkan/VulkanUtils.cpp
4bb296062f139233563e7c0da6636154df8b7169
[]
no_license
auchan/VolcanoEngine
30648845356e4e3b126423072016bb4cc3f63a3b
dbdaaca351f541caa8d4278415688494b8481776
refs/heads/master
2023-07-02T00:01:59.410483
2021-08-08T16:46:54
2021-08-08T16:46:54
238,983,887
0
0
null
null
null
null
UTF-8
C++
false
false
25
cpp
VulkanUtils.cpp
#include "VulkanUtils.h"
2156c15673eadd760a2da85902b0a54cc44afaa9
0fad34977a5180e29db57495652af995ef484105
/Console_2_1_52/GUI/src/EnterTime.cc
c2c1576605b17720555b11520abb26dab97ee9ce
[]
no_license
Wenguangliu/Hello
5759c237c37ffaf7f9d2cdc18ba6f2895557dda9
3801697e51eddb4b03c05924cb5e776ec46e18ae
refs/heads/master
2020-12-11T20:56:05.865805
2020-01-30T22:24:33
2020-01-30T22:24:33
233,956,105
0
0
null
2020-01-14T23:41:25
2020-01-14T23:26:41
null
UTF-8
C++
false
false
8,126
cc
EnterTime.cc
/* * FILENAME * EnterTime.cc * * MODULE DESCRIPTION * Class method definitions for the EnterTime class, which manages the Enter * Time subscreen. * * AUTHOR * Greg De Hoogh */ /* Standard headers */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> /* Local headers */ #in...
e7e20808e5287c4c358df8d756f3f15662cc8263
3d807ea8a5b78001e4616bf687886b9d234d6756
/Online Judge Sloutions/Spoj/ZSUM.cpp
33faf69693446730026813bd5bce3ee88d53a824
[]
no_license
aman97kalra/Competitive-Programming
ca336d61d25d0fa318e292bea76199732501ad78
0f257d7e2036c6a09589eb1f36461dcb560a1810
refs/heads/master
2020-04-02T02:43:04.445652
2017-07-03T18:29:31
2017-07-03T18:29:31
153,923,831
0
0
null
2018-10-20T16:11:38
2018-10-20T16:11:38
null
UTF-8
C++
false
false
679
cpp
ZSUM.cpp
#include<iostream> #include<algorithm> using namespace std; long long int power(long long int x,long long int y, long long int p) { long long int res = 1; x = x % p; while (y > 0) { if (y & 1) res = (res*x) % p; y = y>>1; // y = y/2 x = (x*...
515045047d37fc9be5dab4e4d9015a7f8c94e4d3
4afd28b2ad891569cfd82ae59d9f9a65ac4ee05b
/examples/hashmap/src/atomicmap_workload.cc
ea951da63a0e130ec3699b8ce90fbd7e5a20283f
[]
no_license
graydon/FuzzyLog-apps
e2a0eee49c7f34ea425c7229494ab94e6e46111e
0ba6f69dd4e137183d782ff3d6e8229f2f307a04
refs/heads/master
2020-08-29T18:21:10.832091
2018-09-13T21:14:56
2018-09-13T21:14:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,760
cc
atomicmap_workload.cc
#include <atomicmap_workload.h> #include <cassert> #include <random> #include <iostream> #include <atomicmap.h> void ycsb_insert::Run() { uint64_t key, value; assert(m_map != NULL); // key = (start, end) key = rand() % (m_end - m_start); value = rand(); m_map->put(key,...
28791c04c5ca1eaf26eb46af3a85f95c76a19928
5e9f39500eddbf17de003051fde34caffe64a4b2
/MSERobot/MSERobot.ino
71bc398562f09831a3fe167abe4b9df358123161
[]
no_license
daxinman/MSERobot_mode_2
36dee521f913ef38e9a9660d6f728fcc783dd03b
52f9a06fffe43b4bbd3ec7b381dcce4dc7621467
refs/heads/master
2020-12-03T10:27:31.241851
2016-04-01T18:57:47
2016-04-01T18:57:47
55,186,517
0
0
null
null
null
null
UTF-8
C++
false
false
40,560
ino
MSERobot.ino
#include <PID_v1.h> //PID library #include <uSTimer2.h> #include <I2CEncoder.h> #include <Servo.h> #include <EEPROM.h> #include <uSTimer2.h> #include <Wire.h> #include <I2CEncoder.h> Servo servo_FrontRightMotor; Servo servo_FrontLeftMotor; Servo servo_BackLeftMotor; Servo servo_BackRightMotor; Servo servo_BaseArmMoto...
66a6d1d64a9c4f7da85da3d7e8d437c50f14e8ad
87eb38731a93809e72388b67f9f607df4ee9148b
/hashes/HasherAdapter.h
8efe7644f867869e4353578e1cb7d2d13e795a66
[]
no_license
Egor2001/hash-lab
c633aff9aa57dd400c41c4b57cbca57076fb8559
4568573017a4b9ed646fbf777ca65c7a3207d981
refs/heads/master
2023-04-06T12:09:51.524406
2021-03-29T19:00:36
2021-03-29T19:00:36
322,920,231
0
0
null
null
null
null
UTF-8
C++
false
false
1,016
h
HasherAdapter.h
#ifndef HASHER_ADAPTER_H_ #define HASHER_ADAPTER_H_ #include <cstdint> #include <string_view> namespace { template<typename THasher> class CHasherAdapter { public: CHasherAdapter() = default; explicit CHasherAdapter(const THasher& hasher): hasher_(hasher) {} explicit CHasherAdapter(THasher&...
25a922bfdf8054144bf0fba88b4f343fe670d2f6
20e040173463c28e5d4210af72cb364375fe15de
/imports/Stack.h
ec6b2e76eae5d92a8f58d8ba0473971813e5b9d9
[]
no_license
joeySchentrup/Map_Project
005eeda2e6639cd1ccf64b6a71651fa01e3cf4ed
522d55393ada20c07e71f0b511fa48e68e9bdc99
refs/heads/master
2021-09-04T10:12:50.458258
2018-01-17T21:47:35
2018-01-17T21:47:35
112,235,965
0
0
null
2018-01-17T20:00:01
2017-11-27T19:00:27
C++
UTF-8
C++
false
false
689
h
Stack.h
#ifndef STACK_H #define STACK_H template < class T > class Stack { private: T array [10]; int pointer; public: Stack() { pointer = 0; }; void push(T object); T pop(); bool isEmpty(); void clear(); }; template < class T > voi...
b1348e3b046e6a935aecba06673ba36c232e3f89
894f0ace214183fd27d2f9cea6dbb9c2074adcbb
/DBCP and SPICi/Experimentation/Codes/Upload/greedy_SPICi.cpp
2019c5b802ca50c3c23ea0526e454d36e68faad6
[]
no_license
talhaibnaziz/research
7c637620a8f8d981c57db5b6535ed4108aaa4f7f
ce0a97a9cf7d892b474cbcfd6ed5f1ee5ec715c8
refs/heads/master
2023-06-04T19:42:42.221331
2021-07-01T05:22:44
2021-07-01T05:22:44
105,381,772
2
0
null
null
null
null
UTF-8
C++
false
false
4,840
cpp
greedy_SPICi.cpp
#include <bits/stdc++.h> using namespace std; int n, m; vector <pair<int,double> > graph[1000]; int clusters[1000]; double cost[1000][1000]; int cluster_cnt; double Ts=0.5, Td=0.0; void take_input() { memset(cost, 0, sizeof cost); cout<<"Enter no of nodes and vertices:"<<endl; cin>>n>>m; ...
2de2b92f5931b4b7aed3ced05422fc562d892116
f0112b769cde772225d3b7e70f3741caf445cc11
/src/Views/Console/ModelsViews/BoardView.h
be553096f5acba7e8feba31bea1aca02951deb9e
[]
no_license
HectorHernandezMarques/NoobSolitarie
ca449185cd22ff13882fbb2efa7fdedb898c4e6f
195f6f1883c6b00e9322cae927e681aa3e62943f
refs/heads/master
2021-09-25T02:42:26.757528
2018-10-17T10:02:06
2018-10-17T10:02:06
105,853,621
0
0
null
null
null
null
UTF-8
C++
false
false
609
h
BoardView.h
#ifndef VIEWS_CONSOLE_MODELS_BOARDVIEW_H_ #define VIEWS_CONSOLE_MODELS_BOARDVIEW_H_ #include "../../ModelView.h" #include "./FoundationView.h" #include "./TableauView.h" #include "./StockView.h" #include "../../../Models/Board.h" #include "../../../Utils/IO.h" namespace Views { namespace Console { namespace ModelsVie...
7b318303ea3168cbd2318d49182bd7cdb95ee8c7
2b9e6917ca8090f56160957d9a5357101dca84ea
/advait_sandbox/point_cloud_ros/src/pcd_read.cpp
d0d82459b6ec874b92034911f81c02ae36e292e1
[]
no_license
wklharry/hrl
8c48aa3cadfb2f501059ef00b13e337ae6883ff0
b2cc6fc19c143ac6dc7f83af02a94c3833820b6e
refs/heads/master
2021-01-13T09:59:01.920618
2015-12-07T21:31:25
2015-12-07T21:31:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
874
cpp
pcd_read.cpp
/* Copied from pcl tutorial. */ #include "pcl/io/pcd_io.h" #include "pcl/point_types.h" int main (int argc, char** argv) { sensor_msgs::PointCloud2 cloud_blob; pcl::PointCloud<pcl::PointXYZ> cloud; if (pcl::io::loadPCDFile ("test_pcd.pcd", cloud_blob) == -1) { ROS_ERROR ("Couldn't read file test_pcd....
b3274f55025146d24ab9a56fb4ba48f000095e53
814c4f37cc3947d4bab78df781ae81e17d82f50a
/CN1/FileManager.cpp
587ba54948902895b63938c6e6b551bc6ca4ffea
[ "MIT" ]
permissive
HUST432/JetHet
ec7632b0acd13456f431b8c8e4ee091622b4f6bb
7e54abf847664d4d5a6b3387981485346e8aad55
refs/heads/main
2022-12-29T14:37:39.986139
2020-10-15T11:35:43
2020-10-15T11:35:43
303,740,096
0
0
null
null
null
null
UTF-8
C++
false
false
867
cpp
FileManager.cpp
#include "FileManager.h" #include "PreDefinations.h" #include "Buffer.h" #include <fstream> FileManager::FileManager(Configuration& conf):homeDir(conf.homeDir),conf(&conf) { } unsigned long int FileManager::ReadToEnd(string file, Buffer& buffer) { auto loc = locale::global(locale("")); string fullPath = homeD...
ae612e188cf852e9b01d79c63f2da8e66ffe9700
9931c3c12a4b77e2b09de0ff68e4885f1bcc02e1
/SimG4Core/CustomPhysics/src/G4muDarkBremsstrahlung.cc
1d136dd3222fe7b196443c7298e99be283f07296
[]
no_license
revering/DarkPhoton
ced71333373ac7e6260a90654beec12440574a58
0d601f0b29e1a43227ff47d5276d17abf71e7c41
refs/heads/master
2021-07-13T10:14:31.449511
2020-06-17T19:18:47
2020-06-17T19:18:47
167,438,907
0
0
null
2019-01-24T21:15:37
2019-01-24T21:15:37
null
UTF-8
C++
false
false
1,838
cc
G4muDarkBremsstrahlung.cc
#include "SimG4Core/CustomPhysics/interface/G4muDarkBremsstrahlung.h" #include "G4LossTableManager.hh" using namespace std; G4muDarkBremsstrahlung::G4muDarkBremsstrahlung(const G4String& name): G4VEnergyLossProcess(name), isInitialised(false) { G4int subtype = 63; SetProcessSubType(subtype); SetSe...
cbcfd5ad8ff6086dc4f165a6fd06063476328cee
ae1298ae7c0e7a053ea6fe778db89cbb9375070c
/Juez/Backtracking/CompraDeLaSemana.cpp
1863e10486dfa1e04b912f0258b0bcd233583283
[]
no_license
KillerKing18/Estructuras-de-Datos-y-Algoritmos
afb283e45bc2bfee09accd2d069dff89b1cca7d1
45f7a0dafb4b3544557f515c1e0efe7cade3bbea
refs/heads/master
2020-03-20T14:20:35.296604
2018-06-15T12:21:15
2018-06-15T12:21:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,587
cpp
CompraDeLaSemana.cpp
#include<iostream> using namespace std; void solveCase(); void supermercados(int k, int n, int m,int sol[], int mejor_caso[], int &coste,int sol_mejor[], int &coste_min, int supers[], int costes[][21], bool &solucion); int main() { solveCase(); return 0; } void solveCase() { int m, num_supers...
497783362b364efc3426b14d9397ef6a358b1f6b
327c8d0a42e42ffc15284c42078fe5b2e91b7358
/cpp/724.FindPivotIndex/doubleScan.cpp
16d5db3d17e6ccc0dbd8bb7d10a0c34d687df4fa
[]
no_license
HONGJICAI/LeetCode
90f969f1fd5c33ed5d9202e1898019484dd78f00
7170ddea769f9fbcceb1be4d3bad1c4d1fc11db0
refs/heads/master
2021-01-19T09:00:57.302687
2019-06-30T15:25:05
2019-06-30T15:25:05
87,710,391
0
0
null
2020-10-03T09:24:58
2017-04-09T13:26:54
C++
UTF-8
C++
false
false
325
cpp
doubleScan.cpp
class Solution { public: int pivotIndex(vector<int>& nums) { nums.push_back(0); int n=nums.size()-1,i=0,right=accumulate(nums.begin()+1,nums.end(),0),left=0; while(i<n&&left!=right){ left+=nums[i++]; right-=nums[i]; } return left==right&&i<n?i:-1; ...
8ccb101d3f734a065bc6cb4d209199271f7f883c
e7309cf38a690e0d41d99347a5a23adc388a8a3b
/project/synctool/clientsync/Clientsync.cpp
ccf185f01b75f3f8868de8cbca345a3529f8204c
[]
no_license
zhangxiangsong/some_work
ce49e3aaaef5ae5a066c1d1339853c28dccea164
4df7053894f7571bd9a6477dc80809d246fae07c
refs/heads/master
2020-04-06T04:30:10.032253
2016-10-14T05:53:44
2016-10-14T05:53:44
38,622,938
0
0
null
null
null
null
GB18030
C++
false
false
6,263
cpp
Clientsync.cpp
// clientsync.cpp : 定义控制台应用程序的入口点。 // #ifdef WIN32 #include "stdafx.h" #else #include <fcntl.h> #include <signal.h> #include <unistd.h> #endif #include "Clientsync.h" #include <curl/curl.h> #include <time.h> #include "Device_Control.h" #include "SyncControl.h" #include "log.h" #ifdef WIN32 #pragma warning(disable:40...
9e0f6d019fc50251f7ae66e753104080f18c09c7
aee7d21690aa925262a1beaa68ba730c9b96e39a
/test/SamplePlatformer/Tiles/TileStone.cpp
26e73a4e5dcf0f6d505d9974563b83bb3e4356e5
[]
no_license
powanjuanshu/glowy2d
8dc153fc22cf00898cb1a8e2055186900d0db5d1
0d6633e2a3255da583c5948d9d760053ea7ad302
refs/heads/master
2020-03-26T10:43:36.833942
2017-01-03T23:51:47
2017-01-03T23:51:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
234
cpp
TileStone.cpp
#include "TileStone.h" namespace game { bool TileStone::isSolid() const { return true; } bool TileStone::isTextureSet() const { return true; } std::string TileStone::textureName() const { return "Tiles/stone.png"; } }
f3dbd018902049b5fbd40e36317aa864a709ead1
61f81f1d0c79a06ea7acfbfabd8c76bd4a5355e0
/OpenWAM/Source/1DPipes/LaxWendroff.hpp
e168f2241f04f1e6e12d4f699751f6482fa6d074
[]
no_license
Greeeder/Program
8e46d46fea6afd61633215f4e8f6fd327cc0731f
b983df23d18a7d05a7fab693e7a9a3af067d48a5
refs/heads/master
2020-05-21T22:15:32.244096
2016-12-02T08:38:05
2016-12-02T08:38:08
63,854,561
3
0
null
null
null
null
UTF-8
C++
false
false
8,977
hpp
LaxWendroff.hpp
/* --------------------------------------------------------------------------------*\ ==========================| \\ /\ /\ // O pen | OpenWAM: The Open Source 1D Gas-Dynamic Code \\ | X | // W ave | \\ \/_\/ // A ction | CMT-Motores Termicos / Universidad Politecnica Valencia \\/ \// M odel ...
5ccefd6f77f88781e54ee0dd1a85b94d53f4327c
450f7be4dca55a6d06505684d954c5a65757bd58
/include/Compucolor/Smc5027/ISmc5027Emulator.h
e745078a945ecb46f9b5d3b4de1e1dfb58a45589
[ "MIT" ]
permissive
nathanmentley/cc2emulator
5abb563a4f1c68052e64bd3ff9221badf0d9dbf3
2eccca0ab7a8f306d21a2516106ef687d2b8e065
refs/heads/main
2023-05-08T03:26:14.175292
2021-05-28T18:19:14
2021-05-28T18:19:14
298,163,056
0
0
null
null
null
null
UTF-8
C++
false
false
1,128
h
ISmc5027Emulator.h
#pragma once #include <Compucolor/Common/IEmulatable.h> #include <Compucolor/Common/IInputDevice.h> #include <Compucolor/Common/IOutputDevice.h> #include <Compucolor/Common/IResetable.h> #include <Compucolor/Common/IPlugin.h> namespace Compucolor::Smc5027 { /** * @brief * @note * @retval None ...
b90e1053acd3d6640fdfc5c72e0feb0b069cd012
2b7cd629d53d8e3b6009574e11f395301e156ca0
/COMMON/SRC/SOC/HD64465_MS_V1/WAVEDEV/wavepdd.cpp
2a0471565fc03512b65e02f782979ac4a39cdced
[]
no_license
zizilala/projects_etest
8b6a5782b9e2f6c1c05e508356a7f835dce29d92
84fa95bd0017b06dfbf15b861c179d4d8da1a475
refs/heads/master
2020-12-30T11:14:52.899545
2014-03-13T09:54:27
2014-03-13T09:54:27
15,964,924
1
0
null
null
null
null
UTF-8
C++
false
false
9,203
cpp
wavepdd.cpp
// // Copyright (c) Microsoft Corporation. All rights reserved. // // // Use of this sample source code is subject to the terms of the Microsoft // license agreement under which you licensed this sample source code. If // you did not accept the terms of the license agreement, you are not // authorized to use this samp...
8274bbbba88cb418af3edaf039c23558db475c0e
bb426c9347726f8de9779c1e6d13441abd925028
/src/frontend/gui.cpp
9b728099869f9a3a1d8b9c50822c1ddf3f1e9e8a
[]
no_license
luisclaudio26/renderer2.0
6458751c393c03a8f1c469e8b66d687e958e2e65
3d0628756c97442feaff6662299633c001bab644
refs/heads/master
2021-09-14T11:29:49.508621
2018-05-12T21:36:43
2018-05-12T21:36:43
123,207,853
0
0
null
null
null
null
UTF-8
C++
false
false
3,870
cpp
gui.cpp
#include "../include/frontend/gui.h" #include <nanogui/button.h> #include <nanogui/layout.h> #include <iostream> #include "../3rdparty/json.hpp" #include "../include/core/sceneloader.h" #include "../include/core/integrator.h" #include <fstream> GUI::GUI() : nanogui::Screen(Eigen::Vector2i(100, 100), "Andaluz renderer...
550688c568e91b2cd9cb808da41bbf7c1ab5136e
fb6d75545c90f41021f8fad7d638087a3881e53f
/Problem1.cpp
1f12c9ca27b405569c8c39fd6d1d43c3207143a1
[]
no_license
prateekdesai04/Competitive-Coding-7
4d933718514803ec69b41e8e696639037a823b11
fa994a785dfdd8719e5803494d89494d459ccdd6
refs/heads/master
2023-06-21T04:42:07.945614
2021-07-13T17:37:56
2021-07-13T17:37:56
385,678,675
0
0
null
null
null
null
UTF-8
C++
false
false
960
cpp
Problem1.cpp
// Time Complexity : O(n log k) // Space Complexity : O(1) // Did this code successfully run on Leetcode : Yes // Any problem you faced while coding this : No // K-th smallest element in a matrix #include<vector> #include<iostream> using namespace std; class Solution { public: int kthSmallest(vector<vector<int...
bcfe63c83d752d1c2a552f4db4cc708b5fe01fed
111219da37854d0099922e3ef697a7fc9df346c3
/Source/Amaranth/AmaranthGameMode.cpp
d18f49bf5447a47aa78c761e203ec589b4aa616e
[]
no_license
Samhayne/Amaranth
93fa31b8020a0fe2b36d3c44c3e84d0d07f94f3e
73f8c5d7f78982605478c4b82da50ea4858e1440
refs/heads/master
2021-01-10T15:31:27.158808
2015-08-16T21:06:15
2015-08-16T21:06:15
36,551,719
0
0
null
null
null
null
UTF-8
C++
false
false
461
cpp
AmaranthGameMode.cpp
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "Amaranth.h" #include "AmaranthGameMode.h" #include "AmaranthCharacter.h" AAmaranthGameMode::AAmaranthGameMode() { // set default pawn class to our Blueprinted character static ConstructorHelpers::FClassFinder<APawn> PlayerPawnBPClass(TEXT("/Game...
84da1fa626b12c9f08c0c8702ae224da27896027
c1720c81612dbd512dce413618d3cd246faa0a74
/Tools/Src/CreatorIDE/EngineAPI/App/AppStateEditor.cpp
540b8bddb1c48bdcd6010748cf9043a3ad018f8e
[ "MIT" ]
permissive
moltenguy1/deusexmachina
307ba62a863034437cd77a6599c191ffe8ae953c
134f4ca4087fff791ec30562cb250ccd50b69ee1
refs/heads/master
2021-01-23T21:35:42.122378
2012-10-03T23:33:16
2012-10-03T23:33:16
35,931,317
2
0
null
null
null
null
UTF-8
C++
false
false
6,463
cpp
AppStateEditor.cpp
#include "AppStateEditor.h" //#include <Story/Quests/QuestSystem.h> //#include <Story/Dlg/DlgSystem.h> //#include <UI/UISystem.h> //#include <UI/IngameScreen.h> #include <Events/EventManager.h> #include <Time/TimeServer.h> #include <Loading/LoaderServer.h> //???unload level here? #include <Game/GameServer.h> ...
6708b65a1daf4bcba28830613059b6ce9292e714
76ecc74a460bc6f6856ebd7397b13a5754dc8da2
/1st task/Makefile1/zing.cpp
57ff200c4f73c0e0d7057ae524e68e81348a9394
[]
no_license
marialymperaiou/Operating-systems
d006b9a69bd6c5b6ec8c4845c621ed3d867afaaf
d32176466c2af2a0872ff9502d767961fb9f391f
refs/heads/master
2021-01-01T15:22:43.795985
2018-04-29T14:06:00
2018-04-29T14:06:00
97,607,195
0
0
null
null
null
null
UTF-8
C++
false
false
54
cpp
zing.cpp
#include "zing.h" int main(){ zing(); return 0; }
97262b78c1cc3155a0fddfca29a2ea4c81f7a963
4a51cbfd9605b19464e003d3615b1d02680a5942
/Projects/Vulkan06_VKProject/src/graphics/include/VulkanSwapChain.hpp
42c423a11231451a117ebea963a2405ebb4571a1
[]
no_license
robmcrosby/FelixEngine
9fa57f2ff2232c58a019ad168ad884f086370d64
3a6ab3128f2afad429adc4504e76f3596dd5e98a
refs/heads/master
2023-01-11T20:50:30.529861
2022-12-29T02:15:19
2022-12-29T02:15:19
43,473,021
2
0
null
2018-09-28T04:30:33
2015-10-01T01:43:40
C
UTF-8
C++
false
false
1,694
hpp
VulkanSwapChain.hpp
#include <VulkanTypes.hpp> #include <VulkanImage.hpp> #ifndef VulkanSwapChain_hpp #define VulkanSwapChain_hpp #define MAX_FRAMES_IN_FLIGHT 2 class SDL_Window; class VulkanSwapChain { private: VulkanDevice* mDevice; SDL_Window* mSdlWindow; VkSurfaceKHR mVkSurface; VkSwapchainKHR mVkSwapChain; uint32...
9e4e7906ee6b313e7e883f0768cc7aa897aa7ce4
d8886fd1f5e39d655325b2eee0d47fbc79d23039
/CS551A2/CS551A2LoopDependency.cpp
c7a41f096b07ce75c2eda11d63e8f69928999df9
[]
no_license
mld55/cs551
1db21bc048d44b87a1a480341ad4d7d883a00716
a4cecc7810735695ef03c74289097ab5ee3ee47c
refs/heads/master
2021-01-01T17:48:01.200584
2012-03-16T14:35:17
2012-03-16T14:35:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
28,080
cpp
CS551A2LoopDependency.cpp
#define DEBUG_TYPE "cs551a1" #include "llvm/Module.h" #include "llvm/Pass.h" #include "llvm/PassSupport.h" #include "llvm/Type.h" #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/FoldingSet.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/Statistic.h" #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/A...
d8a63c8f89ad8539e91bd5469758d73ceba999a7
12f997123299faf90829b411ab38e8bfec3dcbae
/module 00/ex01/PhoneBook.hpp
b014bef24155131c58671e3b14668a91ced1b26f
[]
no_license
Null37/42_Piscine_Cpp
1a2ac7f70974883e642ff871d6390e15302f7cf8
9f2a0af5960fe1b52f5226576465712a9115375e
refs/heads/main
2023-08-29T10:23:42.807071
2021-11-16T10:31:20
2021-11-16T10:31:20
383,921,309
1
0
null
null
null
null
UTF-8
C++
false
false
416
hpp
PhoneBook.hpp
#ifndef _PHONEBOOK_HPP #define _PHONEBOOK_HPP #include <iostream> #include <iomanip> #include "Contact.hpp" class PhoneBook { private: Contact users[8]; public: void promt( void ); Contact& get_contact(int index); }; void clear_all(std::string *f_n, std::string *l_n, std::string *ds, std::string *nk_n, st...
c8e35503ea771393da9fcda5da65f06c2e43f06b
1fa9bbd3297cbf8f0aef46360720204c6eb945f7
/ArkanoidGL/Mesh/MeshFactory.cpp
7096cdc65e82668cb63e0786dc9e1030a4aa3559
[]
no_license
LeonovOstap/Arkanoid
a2adda8bd9883a95b4c56610144746e53a05aa72
fe5d781f9f3f40c95ca857a8eeb4d033f866cdf8
refs/heads/master
2023-04-16T08:58:12.792265
2021-04-27T12:33:48
2021-04-27T12:33:48
362,100,513
0
0
null
null
null
null
UTF-8
C++
false
false
1,306
cpp
MeshFactory.cpp
#include "MeshFactory.h" #include <primport/q1mdl.hpp> Mesh MeshFactory::ConstructObject(prcore::String Path) { primport::ImportQ1MDL* Model = new primport::ImportQ1MDL(Path); GLuint Tex = CreateTexture(Model); collision::CollisionGeometry geom = CalculateBounds(Model); //cout << Path.c_str() << endl;...
49da405838c9cd9bc8015e43353cf563e2bb8226
f47f4f4bed499cb2a49ee05f7fac000cbbf80c71
/ex5.cpp
13c2f0e13c719fd655d6c7338bce953bcc91fd50
[]
no_license
gbrl-exe/ifsp
e7f0c076e9faabd5325d11eb9b6407e2c98d504f
0ec0c9f12775189babe3086d79aa3a6316050818
refs/heads/master
2023-06-27T01:19:29.494296
2021-07-12T22:11:31
2021-07-12T22:11:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
198
cpp
ex5.cpp
#include <stdio.h> int main () { int inteira = 10; float decimal = 10.5; char caractere = 'a'; printf("%i\n", inteira); printf("%f\n", decimal); printf("%c\n", caractere); return 0; }
1c0f8927e1728d603549689ffee17816052eb4da
217a213027b6e9c281b29821a43984cd20359c69
/python/python.cpp
ec7407b9b4f578c1a9417e95790bb6dc24a643dd
[ "MIT" ]
permissive
starcraftman/boostEx
c9826e77b18b82fef845d79fe91dd5014c724955
5ffa4c008c184a3e4641b90d578cbd8aa14bc039
refs/heads/master
2022-12-04T08:41:38.589552
2014-11-03T23:47:56
2014-11-03T23:47:56
24,301,901
0
1
null
null
null
null
UTF-8
C++
false
false
3,040
cpp
python.cpp
/** * Filesystem lib from boost. * See http://www.boost.org/doc/libs/1_56_0/libs/filesystem/doc/tutorial.html */ /********************* Header Files ***********************/ /* C++ Headers */ #include <iostream> /* Input/output objects. */ //#include <fstream> /* File operations. */ //#include <sstream> /* String st...
b3eeb827e91eff5e127221cd20def85791f241d1
986b7841f72eb24616be8d5fc7defcc3a308db94
/src/utils/library.cc
80729fa5d3f4e3531a6643aff9666bab91e1ad71
[ "MIT" ]
permissive
zeroeffects/TempestRenderer
e783065fecdb1a5ffbe7945044453c6a8fb7e7b4
698e974dbeee89e3ca1258e2601b85e9cbfbfc8b
refs/heads/master
2021-01-23T22:15:31.970201
2016-12-05T19:14:48
2016-12-05T19:14:48
25,295,700
7
0
null
null
null
null
UTF-8
C++
false
false
2,700
cc
library.cc
/* The MIT License * * Tempest Engine * Copyright (c) 2009 2010 2011 2012 Zdravko Velinov * * 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...
1a056fd8b16cacd158ecb404929770ec75e73d2f
655aa5c301e1cb67ea1a88947f4cfa63fb516d43
/src/core/Matrix.cpp
0648083c49ef02fe27d6594623030c1ee2eb537d
[]
no_license
trihfan/lighting
5c9a814a4f684ca212ae75a684023c30ed0b8fc3
db415e9df3eec0833ba81ad1a35436b95c6be528
refs/heads/main
2023-03-28T11:09:58.470749
2021-03-28T17:43:31
2021-03-28T17:43:31
326,024,171
0
0
null
null
null
null
UTF-8
C++
false
false
4,918
cpp
Matrix.cpp
#include "Matrix.h" using namespace lighting; template <typename MatrixA, typename MatrixB> void submatrixImpl(const MatrixA& matrixA, MatrixB& matrixB, size_t rowToRemove, size_t colToRemove) { size_t currentRow = 0, currentCol = 0; for (size_t row = 0; row < matrixA.rowCount(); row++) { if (row ...
903bbf458f428f14321b94c8dc8401f7e4f28790
93aa75b26bb4b3c2cd55a06607d96931ec0f9b69
/main.cpp
31bd21f38cea9d4437114a38152b8270d8dc7642
[]
no_license
lichangyg/ChessGame
474d80922459263a1b25ff649a6fba39d88940c7
6e651a94852fd14ed207328613b8989d42e5e987
refs/heads/master
2021-01-11T21:35:33.175871
2017-03-10T14:30:34
2017-03-10T14:30:34
78,812,662
15
9
null
null
null
null
UTF-8
C++
false
false
176
cpp
main.cpp
#include <iostream> #include "NetWork.h" using namespace std; int main() { gNetWork->connection("192.168.1.101", 9001); gNetWork->sendData("ddddd"); getchar(); return 1; }
98496a6c212b2b55cdec94eeff5de6d6127f33a7
a9bd84f598aed1e6495106762bdbbeedf541de0f
/CsAcademy - Online Gcd.cpp
aac199911d2ff3cedd47dcc147c704883a63afc8
[]
no_license
smhemel/CsAcademy-Online-Judge
689735a339f692874c0688ca372fc45e0c34b84e
a5b5d78ced56f4a82debe03686c37ac2b15dbcd9
refs/heads/master
2020-04-04T16:07:24.590749
2018-11-11T06:02:49
2018-11-11T06:02:49
156,065,556
0
0
null
null
null
null
UTF-8
C++
false
false
585
cpp
CsAcademy - Online Gcd.cpp
// // main.cpp // CsAcademy - Online Gcd // // Created by S M HEMEL on 21/9/17. // Copyright © 2017 S M HEMEL. All rights reserved. // #include <iostream> #include <algorithm> #include <cmath> #include <numeric> using namespace std; int a[100011]; int main() { int g = 0,n,m,x,y; cin >> n >> m; cin >> a...
e08e6119566853089587078b492725727e731c41
a33aac97878b2cb15677be26e308cbc46e2862d2
/program_data/PKU_raw/87/132.c
698dc92539f513e84008313ab7a1cf6b74e1dc60
[]
no_license
GabeOchieng/ggnn.tensorflow
f5d7d0bca52258336fc12c9de6ae38223f28f786
7c62c0e8427bea6c8bec2cebf157b6f1ea70a213
refs/heads/master
2022-05-30T11:17:42.278048
2020-05-02T11:33:31
2020-05-02T11:33:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
504
c
132.c
int main(){ int h1[MAX],h2[MAX],m1[MAX],m2[MAX],s1[MAX],s2[MAX]; int second[MAX]; int a,b,c; int i,p=0; for(i=0;i<MAX;i++){ scanf("%d %d %d %d %d %d",&h1[i],&m1[i],&s1[i],&h2[i],&m2[i],&s2[i]); if(h1[i]==0&&m1[i]==0&&s1[i]==0&&h2[i]==0&&m2[i]==0&&s2[i]==0){ break; } h2[i]=h2[i]+12; a=(h2[i]...
3f2d673bd5c93fd89cf1355ca0e9d5dc329f55d2
00541afd25636d6c940aaefc9fc2ab96a6a242ae
/STL常用算法/count.cpp
61a2b06905e81a1e6541379f30fad212e54619f0
[]
no_license
yufengzhe66/mygit
7f8c46c688c8fa4081dcf4b7b6129dfbe54ea8c2
a84a253917423def3a0b43878f8795fc06817626
refs/heads/master
2021-07-09T23:36:17.598898
2021-04-26T15:34:00
2021-04-26T15:34:00
64,114,920
2
0
null
null
null
null
GB18030
C++
false
false
1,198
cpp
count.cpp
#include<iostream> using namespace std; #include<vector> #include<algorithm> /* count(iterator beg, iterator end, value); // 统计元素出现次数 // beg 开始迭代器 // end 结束迭代器 // value 统计的元素 */ class Person3 { public: Person3(string name, int age) { this->name = name; this->age = age; } //重载== ...
f5feb36b2def2df72b4f2b79e96754473132d03b
21fd14092cce30661610987a477ab71050914bf4
/Problem1.cpp
d49caa96118b575b9345954e79f39c13b04bb69d
[]
no_license
FrankEntriken/CPSC298_Assignment1
d62546c3f94aa516e1375c22afc7bc6c26234fb4
a06832b64342f5ce0d7000db51d02cd9ed0a73d2
refs/heads/master
2020-12-19T22:50:43.091182
2020-01-23T20:07:24
2020-01-23T20:07:24
235,875,100
0
0
null
null
null
null
UTF-8
C++
false
false
577
cpp
Problem1.cpp
/* Frank Entriken 2298368 entriken@chapman.edu CPSC 298 Problem 1 */ #include <iostream> #include <string> using namespace std; int main() { double weightOunces; double weightMetric; cout << "Enter the weight of a package of breakfast cereal in ounces..."; cin >> weightOunces; //convert ounces to metric t...
9abfb614408628ebc16d57543fbfbc6d090ecbf6
fce4d33e2ab58106d876155056a3683e7cef4ace
/lowsum.cpp
68cb12c3dc26888620889d2b2071c39885ccf4b0
[]
no_license
Rohithyeravothula/codechef
9e64fbfa9dcd2b3e6e63bee8029099ac6d9c3eab
00715ca053439693c048d9985e0a74d105039305
refs/heads/master
2016-09-05T11:19:04.430575
2014-09-27T19:21:44
2014-09-27T19:21:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
620
cpp
lowsum.cpp
#include<iostream> #include<stdio.h> #include<stdio.h> #include<algorithm> using namespace std; int main() { int t; scanf("%d",&t); while(t--) { int n,i,j,q,m,x,y; scanf("%d %d",&n,&q); long long int a[n],b[n],c[2*n]; for(i=0;i<n;i++) scanf("%ll...
741cd57be95e6234214387503cd2cadbf1935c50
6a03645710d94f33a108995cb080c619d66c7d0c
/Old School/Shape Burst.CPP
3692fb03505a321a00e58904d5e1046d4c17cf81
[]
no_license
Tushark21/Games
80d66c4e3fcaf181d3282220f6754bf2570826cb
dd003297c897dd7617c7326651be9b2956aebfab
refs/heads/master
2023-03-17T07:30:12.354921
2021-03-05T05:35:44
2021-03-05T05:35:44
105,809,118
0
0
null
null
null
null
UTF-8
C++
false
false
4,693
cpp
Shape Burst.CPP
#include<iostream.h> #include<conio.h> #include<graphics.h> #include<dos.h> #include<process.h> #include<stdlib.h> void fig(int a[7][7],int i,int j); void main() {clrscr(); int gd=DETECT,gm; initgraph(&gd,&gm,"c:\\tc\\bgi"); int a[7][7],x=0,y=0,q,temp=-1,x1,y1,x2,x3[6],n=0,h=0,t,v=1 ; int s=0; //Layout rectangle(10...
c408fb9b28dcf324d7cfe967e806ad778b0d6f35
5945a028f932c200880ea171a1c37fba8d6c897b
/LeetCode/MinStack.cpp
28e0b18e4aad76effd8ce828f3709b711169c943
[]
no_license
godsay1983/LeetCode
aef63e28d258d3a31b5b536059e930c462095079
42ffd9dd875fb5c5f8c15b0ab39a808d1781839e
refs/heads/master
2021-05-13T21:25:27.201127
2018-05-12T08:46:34
2018-05-12T08:46:34
116,464,083
0
0
null
null
null
null
UTF-8
C++
false
false
374
cpp
MinStack.cpp
#include "MinStack.h" MinStack::MinStack() { } MinStack::~MinStack() { } void MinStack::push(int number) { data.push_back(number); } int MinStack::pop() { int last = data.back(); data.pop_back(); return last; } int MinStack::min() { int min = data.front(); for (int i = 1; i < data.size(); ++i) { if (min >...
493b4a3a45e03b5fed997244d1269ecc07270337
b9eaf3bdcdff1c42d17dc0ad6e0e1e771befaaf4
/advanced-cpp/scratch/t4.cpp
4870f63da8243560eb7efc98e3b7a6b52dad8cff
[]
no_license
goyalankit/notes
bff90cb641344f0e1a6f1c8bd54b26eeffa942e5
da5552fc95ffbf632c7927a939d6a928f55aa677
refs/heads/master
2021-09-17T04:10:51.266201
2021-09-07T12:11:41
2021-09-07T12:11:41
14,844,400
0
0
null
null
null
null
UTF-8
C++
false
false
113
cpp
t4.cpp
#include<iostream> template<typename T> void myFun(void){ T::var_name = 42; } int main(void){ return 0; }
3a40616ba53e47dd458a16f08baa709a3142e0b3
4a34e242e0230c01dc9e9bea5b00863484aa0049
/filesystem.cpp
57b57438214c0c48e7bc1455beceed1a1131ffaf
[]
no_license
omartrausta/styrikerfi
0c4ab930cf10fb0f0813399ea04ced965f11974c
6cf97a498c6c24e87031eaa866bdf13c7812dee9
refs/heads/master
2021-01-25T05:23:07.863993
2009-11-29T23:36:57
2009-11-29T23:36:57
34,031,258
0
0
null
null
null
null
UTF-8
C++
false
false
10,458
cpp
filesystem.cpp
#include <cstdio> #include <iostream> #include <cstdlib> #include <string.h> using namespace std; const int BLOCK_SIZE = 1024; const int BLOCK_QTY = 256; const int EMPTY_ENTRY = -1; // Indicates block is empty and available const int LAST_FAT_ENTRY = -2; // Indicator for FAT table, last block holding given fi...
314e7cff095a334f67114955c7aeb7c0f6522a89
056b7da1972c4283661c955df361a1e9d573c770
/CCS/CSLogger.cpp
3ab5d73cb2b0b577fcb8a76462cacc15a22193a2
[]
no_license
demonreturn/CplusplusExtend
42c465e26c02bf8f534b1e73f0888f4257e750e1
11869df98850104a9850b6d930f8d225ff092056
refs/heads/master
2016-09-02T02:51:23.505303
2014-06-15T07:01:41
2014-06-15T07:01:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,890
cpp
CSLogger.cpp
#include "CSLogger.h" #include "CSChannel.h" #include "CSLogMessage.h" #include "CCSOS.h" #include <assert.h> #include <string> CCSLogger* CCSLogger::Instance() { static CCSLogger s_logger; return &s_logger; } CCSString GetLoggerToken() { char buffer[256] = { 0 }; CCS_OS::OSSprintf( buffer, 256, "log_%s_%d", ...
dbd6675d8ec5fc90e97010518deb8806f40f3511
97452319399c70c07ae5bf985bfe33ae514e72cf
/EvilHangman/EvilHangman.h
b4ca42660c4a6d6cdbfdc412c83a37c2d04972d3
[ "MIT" ]
permissive
maanjum95/EvilHangman
f9494c769d93c044cfcef9222ec021fb7aa7aac6
5deaba215802d25b03f85d397358cf656eb33d64
refs/heads/master
2021-05-28T06:15:57.272183
2015-01-12T19:13:13
2015-01-12T19:13:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,973
h
EvilHangman.h
#ifndef EVILHANGMAN_H #define EVILHANGMAN_H #include <iostream> #include <string> #include <vector> #include <conio.h> #include <stdlib.h> #include <fstream> #include "../EvilNode/EvilNode.h" #include "../Dictionary/Dict/Dict.h" using namespace std; class EvilHangman { Dict *dict; // our pointer to the diction...
814bf9872b2d49e5ce9ed4349828b626ca0b5835
c4cc0f0a2a8f15fbc54bfbbd5129393cfb36eb9e
/src/pyramidworks/geometry/circle.cc
8862367711485faf43c2a63d38d33862ad17450b
[]
no_license
rfguimaraes/horus_eye
6009d9cbaecf94ecacf24e55592e2f70255f173c
5a41bc913fe6a75169569d6ec4ae713adc7ad842
refs/heads/master
2021-01-18T05:42:42.764582
2012-01-17T19:39:51
2012-01-17T19:39:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
544
cc
circle.cc
#include "circle.h" #include "rect.h" namespace pyramidworks { namespace geometry { using namespace ugdk; bool Circle::Intersects (const Rect *rect) const { return rect->Intersects(this); } bool Circle::Intersects (const Circle *circle) const { Vector2D distance = circle->position() - this->position(); ...
f4dc10a9bfde10fdf9e4297a7317ba42bb35d40d
e965e026ac5f454ab0751d53c3a4f6464ca7d920
/rush00/Bullet.hpp
f6160cd6eab1ea2261a4d6ebea0a71090c3fdae8
[]
no_license
AnnyDanny/cpp_piscine_gdanylov
84188f9e8e52b293253ecd58cf1e77edd5549233
e39e667209b23130000c2e737906e0c46f5a57a4
refs/heads/master
2022-01-17T01:07:00.920987
2019-07-05T16:25:36
2019-07-05T16:25:36
193,541,113
0
0
null
null
null
null
UTF-8
C++
false
false
333
hpp
Bullet.hpp
#ifndef Bullet_HPP_ #define Bullet_HPP_ #include "Array.hpp" #include "Enemy.hpp" #include "Entity.hpp" #include "Ptr.hpp" class Bullet : public Entity { public: Bullet(); Bullet(Visual *vis, int x, int y); ~Bullet(); bool move(); bool checkCollisions(Array<Ptr<Enemy> > &enemies); }; #endif //...
a27fee0e6a30befab7bcca8f9987b453d2b50822
39fe085377f3c7327e82d92dcb38083d039d8447
/core/sql/optimizer/RelScan.h
b63c71843bed3dfacb479f07041ce907017ed4e0
[ "Apache-2.0" ]
permissive
naveenmahadevuni/incubator-trafodion
0da8d4c7d13a47d3247f260b4e67618c0fae1539
ed24b19436530b2c214e4bf73280bc8e3f419669
refs/heads/master
2021-01-22T04:40:52.402291
2015-07-16T00:02:50
2015-07-16T00:02:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
67,616
h
RelScan.h
/********************************************************************** // @@@ START COPYRIGHT @@@ // // (C) Copyright 1994-2015 Hewlett-Packard Development Company, L.P. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You m...
912a6648d256d76f64ed61db17d8f9dfe1046f00
abe20324c6fd5cb12f0f36fd90152709db679f7c
/basic/1032.挖掘机技术哪家强.cpp
4f847340e5c1ff0162e947d86432082e51acc72a
[]
no_license
makixi/PAT
07d258d27404a709bdf38556edc5ead6e4be8f1d
b8facc7b5bc24d65a51be68284d22905fae0b3aa
refs/heads/master
2021-01-20T05:59:50.082574
2018-04-09T01:13:23
2018-04-09T01:13:23
89,830,373
0
0
null
null
null
null
UTF-8
C++
false
false
376
cpp
1032.挖掘机技术哪家强.cpp
#include<iostream> #define MAX 100000 using namespace std; int main() { int n; int position = 0,maxscore=0; cin >> n; int a[MAX] = {0}; for (int i = 0; i < n; i++) { int type,score; cin >> type>>score; a[type - 1] += score; if (a[type - 1] > maxscore) { maxscore=a[type-1]; position = type - 1; } }...
2c9e831e8247fa789ac7b79c92369579e1bf8e0c
f2b0dae4c3b8f312c8b54e1c0ee53a3ace532d63
/leetcode/graph/RBT.h
5c80e08ff60bff28bcb0b1ad0b671bbad62e39e6
[]
no_license
cairuyuan/Algorithm
5999ca765c5fb2da880578ed0cc7c7c1e0fda37d
01d05d284628be3ddb8ad276064729708de1f855
refs/heads/master
2020-05-18T19:40:11.109254
2015-11-26T02:58:19
2015-11-26T02:58:19
33,669,602
0
0
null
null
null
null
GB18030
C++
false
false
812
h
RBT.h
#ifndef __RBT_ #define __RBT_ #include "head.h" using namespace std; inline RBT *gp(RBT *root);// inline RBT *un(RBT *root);// inline RBT *br(RBT *root); void rotate_L(RBT *n);//第一个参数是补加的,整个树的根 ,第二个是插入的节点 void rotate_R(RBT *n);// RBT * insert_rbt(RBT * root, int target); void insert_case1(RBT *n);//第一个参数是补加的,整个树...
e7d3cfec9a8a4c1bc3c55780ff9663880c15947f
8e94b90e27b4a2300b358a46edeb41fec72dc821
/3.7/3.7_6.cpp
697d5914ba3decb8f283160c6abfb4ce5c64679a
[]
no_license
a2418701192/c-prime-plus-study
77fcc38791d108ae750f1c7fe18f843b1d521f3c
e5a84564952cfba42c427b3889be66b7f571da24
refs/heads/master
2020-04-25T21:52:06.038395
2019-03-07T13:04:51
2019-03-07T13:04:51
173,093,061
0
0
null
null
null
null
UTF-8
C++
false
false
294
cpp
3.7_6.cpp
#include <iostream> #include <cmath> using namespace std; int main(){ int mile,gallon; cout<<"Enter mile :"; cin>>mile; cout <<"Enter gallon :"; cin >>gallon; double mileage; mileage=(double)mile/gallon; cout<<"Vehicle fuel consumption is one gallon mileage: "<<mileage<<endl; }
5c734e07da138cf250d87d66a1258c5b3aeaacf3
43900c70eba22e132b59f871b432deea01300037
/GL/include/Image3D.h
ba494c1433aa31a1d1d3038c634746bec31aedba
[]
no_license
timofimo/GLDemos
753a80c0957b43fa065b9eaae08aac984fc4dcd5
bba42339bcdf1112acf4aff4ece17087ff2d0c30
refs/heads/master
2020-06-10T22:02:39.620981
2018-02-06T10:25:47
2018-02-06T10:25:47
75,860,364
0
0
null
null
null
null
UTF-8
C++
false
false
652
h
Image3D.h
#pragma once namespace GLR { class Image3D : public ManagedItem<Image3D> { public: Image3D(const std::string& name, int width, int height, int depth, GLenum internalFormat); ~Image3D(); void Clear() const; void Clear(const void* value, GLenum type) const; int GetWidth() const; int GetHeight() const; ...
c8d6c0147ee9f078585fa5ba93fb20f6ac99360c
7300763f69e65957d4cd5a75cdd78b0bbe9ac038
/keypad_controller/src/main.cpp
05a8b860f6f6f8fbc1ae473e5cab3c293dda734f
[]
no_license
mengfanli/racecar
e2fbaa565945917ed6e1393e231d2d88b9655636
ed7af03d5a30245d24ba27acf64f041bda53bcdc
refs/heads/master
2020-03-31T21:07:20.782552
2018-10-23T16:13:34
2018-10-23T16:13:34
152,568,315
0
0
null
null
null
null
UTF-8
C++
false
false
2,909
cpp
main.cpp
#include <linux/input.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <fcntl.h> #include <signal.h> #include "ros/ros.h" #include "ackermann_msgs/AckermannDriveStamped.h" #define KEYBOARD_PATH "/dev/input/event4" #define KEY_PRESSED 1 #define KEY_RELEASED 0 #define KEYCODE_UP 103 #define...
cca6732fad45bcfb825986aa0507199824024480
7b78a1cd5d44b862894abb223aed91b6c2f2e860
/0267-PostesCercado/0267.cpp
de0578f75a0fad6ef087d5efd0d4e496862e6ff0
[ "MIT" ]
permissive
davidmallasen/AceptaElReto
65d6c5e480ec2c1bc158a10bec618eba9171527f
dbc1e77fe895076a903b7b71ee63b07f664dc49f
refs/heads/master
2023-01-14T07:12:54.586488
2022-12-23T15:46:34
2022-12-23T15:46:34
127,428,366
6
0
null
null
null
null
UTF-8
C++
false
false
859
cpp
0267.cpp
/** * Problema 0267: Postes para un cercado * David Mallasén Quintana */ #include <cstdio> #define gc getchar_unlocked inline int readInt(); int main() { int lado1, lado2, distmax, total; lado1 = readInt(); lado2 = readInt(); distmax = readInt(); while (lado1 != 0 && lado2...
57ea277725c15f1406b59913ba9b3d58da743c37
d5ece79470fba0d576a368222b582b7b6fc0e664
/testclass/useStock.cpp
6ae032eed18539acdf8dd2e3ba3ee72cb82f4d31
[]
no_license
HoangAnhSet/C-C-_BookPrimer
04bfbebce1b062c240e09bb18092d0acb0cbb717
63f18a980f53f0658309745a8a0338340e8d2f82
refs/heads/main
2023-06-05T13:52:30.613371
2021-07-01T13:57:05
2021-07-01T13:57:05
382,042,612
2
0
null
null
null
null
UTF-8
C++
false
false
148
cpp
useStock.cpp
#include<iostream> #include"stock00.cpp" // using namespace std; using namespace std; int main() { Stock stock1("alpha",2,3.0); return 0; }
792d9fd7effe9a608e85e8be709deb12c7a3840f
6f509aeda272722feb273993142b3294ed8f4f09
/Array_and_String/1-7.cpp
71f07adc4be12bd6312c90a363b1fa55a4442999
[]
no_license
Robertyaya/Cracking-the-code-interview
73dff7653029b12425dccbea9f0cde1a6c9f391c
d09df8f9326424511157472d9792d218b7dd79d8
refs/heads/master
2022-10-16T22:08:43.688812
2020-06-15T16:15:07
2020-06-15T16:15:07
270,715,658
0
0
null
null
null
null
UTF-8
C++
false
false
1,366
cpp
1-7.cpp
#include <bits/stdc++.h> void Rotate(int **matrix, int N) { for (int layer = 0; layer < N / 2; layer++) { int first = layer; int last = N - layer - 1; for (int i = first; i < last; i++) { // Save the top value int top = matrix[layer][i]; // left to top matrix[first][i] = ma...
5417ed77665b7f681f1056bba2414f055ccc3f47
e88aa3b17d9f689d20b48a07bb25df56e6f34772
/src/wallet/core_default_rpc_proxy.cpp
4d36f6d171e2d5cafd2ddcaa1b228268e471dc6b
[ "MIT" ]
permissive
Virie/Virie
62065a7629446371e741335ccc39f244b881abd6
fc5ad5816678b06b88d08a6842e43d4205915b39
refs/heads/master
2021-03-08T00:57:04.659422
2020-08-13T09:53:32
2020-08-13T09:53:32
287,244,949
1
0
null
null
null
null
UTF-8
C++
false
false
11,342
cpp
core_default_rpc_proxy.cpp
// Copyright (c) 2014-2020 The Virie Project // Copyright (c) 2012-2013 The Cryptonote developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "core_default_rpc_proxy.h" using namespace epee; #include "storages/...
92de79669724c44d26cf571ae8b44477b7fa4e4e
7e826bcc315897cca02632f090565ee554a7238c
/inheritence/pattern/observer/observermanager.h
3c36e1307f2d4aad3360becc4891f5376a233f32
[]
no_license
Never-say-never/cpp_exaples
329813399ef2af02ea69be2a23c06052190014eb
4141d854a7ba5b04f5210c72e9b4617900170510
refs/heads/master
2021-01-19T03:37:02.533497
2017-05-09T16:07:18
2017-05-09T16:07:18
87,330,881
0
0
null
null
null
null
UTF-8
C++
false
false
291
h
observermanager.h
#ifndef OBSERVERMANAGER_H #define OBSERVERMANAGER_H #include <QThread> #include <QMutex> #include "observable.h" #include "observerman.h" class ObserverManager { public: ObserverManager(); static void startObserving(); private: int sleepTime; }; #endif // OBSERVERMANAGER_H
bae616012803c7b8ccb5a1d54eda91a03c75d310
5088aba0d07bf0bddd52d5f38dd8ab5d4eb4888d
/variable.h
6bceb4473c7413740b9f228fcc950c1692aa7c0a
[]
no_license
AaronSchooley85/Sat_Solver_Algorithm_D
4020f0ebd99ab0c6906606695d77c8cc9767ab73
ce8256414c8650f6889f69cad91c22c7e8ef4641
refs/heads/main
2023-03-12T16:24:46.245047
2021-03-07T01:40:20
2021-03-07T01:40:20
345,193,307
0
0
null
null
null
null
UTF-8
C++
false
false
795
h
variable.h
#ifndef VARIABLE_H #define VARIABLE_H #include <iostream> #include <vector> class sat_d; class clause; // forward declaration to resolve circular dependency. class variable { private: int number{-1}; // Variable number int value{-1}; // -1 unset, 0 false, 1 true. clause* true_list{nullptr}; clause* false_l...
89e019ac011d207f9166bdfd151e4d86780f4a58
b97b406490093c7b858c68956d66a909c399fe1c
/Kuhn's Algo.cpp
19366f62a56821136f64b0517ba4ae4b5ed1b8ca
[]
no_license
shas9/Template
ab473f571a0f0e2dc360018bbca553ea5a640910
643139efb956290078db8cbba569aa018ab3d0ff
refs/heads/master
2021-08-02T20:58:43.145726
2021-07-30T15:56:48
2021-07-30T15:56:48
225,615,076
1
0
null
null
null
null
UTF-8
C++
false
false
824
cpp
Kuhn's Algo.cpp
// Complexity: O(n*m) // Connection from left to right // Direction from right to left ll n, k; // n = right part size, k = left part size; vector < ll > g[1500]; vector < ll > lftp, rgtp; vector < bool > used; bool try_kuhn(ll v) { for (ll to : g[v]) { if(used[to]) continue; used[to] = 1;...
eb56c6eb07c60963d046c427126f82d5ef219966
540c8ea83435de21750f623f70e6e0625082f66c
/MayoDemo/Classes/Native/Il2CppGenericMethodDefinitions.cpp
fd18b6ce0182f3d7b5251811fd02abe86c2cccbb
[]
no_license
Drkjr92/MayoStethoscope
3d37f88330a2cae4fd7e7e3c7dcacd0aa843b2b4
6ad706c38e0aed6a026b16aa51619c6cfc604186
refs/heads/master
2020-07-27T15:07:17.768312
2019-10-24T02:27:14
2019-10-24T02:27:14
209,134,112
2
3
null
null
null
null
UTF-8
C++
false
false
546,072
cpp
Il2CppGenericMethodDefinitions.cpp
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" extern const Il2CppMethodSpec g_Il2CppMethodSpecTable[3867] = { { 679, -1, 0 } /* System.Void System.ThrowHelper::IfNullAndNullsAreIl...
4c760b0dc78b33f1a1736ed443b622911a55def3
b573caf631684d4dfb51a32460989ca4fcce5389
/articulation_point_using_tarjan_algo.cpp
c9a6f0836553fdc4f73adb5ded503866ef354254
[]
no_license
vinitfaldu/algorithm-
274ef40555b257f2b47db8632c4407238a30a803
fe311da56647032735ef9d0a244b9c60696682c9
refs/heads/master
2022-09-01T18:58:46.852132
2020-05-26T17:02:26
2020-05-26T17:02:26
267,100,358
1
0
null
null
null
null
UTF-8
C++
false
false
1,957
cpp
articulation_point_using_tarjan_algo.cpp
#include<iostream> #include<vector> #include<stack> #include<algorithm> #include<limits> using namespace std; const int MAX=1e4+5; int nodes,edges,distTime[MAX],lowTime[MAX],parent[MAX]; bool visited[MAX],ap[MAX]; stack<int > s; vector<int > adj[MAX]; int min(int x,int y) { return x < y ? x : y; } void initially() ...
3dd95932517cfcdfdeef44a0475d70d8e7d63c4b
f52f527c3e932fd3d356ce7afa82da70a4fb6f0e
/Busted/busted/Menu.h
7531ad68df894a5189ba39eae96a0f43516fa77f
[]
no_license
fraktalVision/Busted-Its_Up_To_You
582dcc9ea5208d7e61c2289eec2a9a9d1cfb1798
f18c447cac695c71438f8309c618e90e6975e809
refs/heads/master
2021-01-22T13:23:02.041377
2015-05-29T21:54:12
2015-05-29T21:54:12
34,546,908
0
0
null
null
null
null
UTF-8
C++
false
false
10,964
h
Menu.h
/* Menu.h Created by: Jamie Gault Created on 5/07/07 */ #pragma once #include "busted.all.h" #include "Mentor.h" #include "../engine/core/stat_manager/stat_manager.h" #include "../engine/core/Questions/Questions.h" extern enum GENDER; //!class for recording their selections in menus class PlayerSetup { public: ...
63e1ff8d8e0e1a43805101b09121db24eca2ff89
a227997e9c9be4b0159edc6a1f06e63836a4a7f3
/dataconnector/src/distributed-data-connector/ddc/splitproducer/src/delimitersplitproducer.h
0190f3e989ecc02ca1c22122b5cd7a6ac3dc4921
[ "Apache-2.0" ]
permissive
vertica/r-dataconnector
893f8221bc04910aa3121dd518549e0996ef8491
ba110fdac21c3c43bab0eab03a6a35d4e709dc7f
refs/heads/master
2020-05-20T05:55:09.306043
2016-01-19T16:29:16
2016-01-19T16:29:16
40,138,460
7
2
null
2016-01-20T16:01:41
2015-08-03T17:28:48
C++
UTF-8
C++
false
false
1,722
h
delimitersplitproducer.h
/* (c) Copyright 2015 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...
f052bc251d3bf8c1af68f66b721c4c8e6d9e4ecf
f70102150ffbadfff73309d3fe1398826572348a
/code/GUI/GUI1/paymentwindow1.h
abcb8192c297010b4559b87b53cccd42c5eda66c
[]
no_license
MagmaMusen/PRJ3_snorautomat
5ab9c8c15775ec7e8d80d546c30dd509a31b3f5c
db63e6ba54b77a56f877c357b2711d4a00fae560
refs/heads/master
2021-05-20T23:44:46.841893
2020-05-26T08:49:30
2020-05-26T08:49:30
252,452,685
0
0
null
null
null
null
UTF-8
C++
false
false
4,643
h
paymentwindow1.h
#ifndef PAYMENTWINDOW1_H #define PAYMENTWINDOW1_H #include "globals1.h" #include <QPushButton> #include <QLineEdit> #include <QSpinBox> #include <QWizardPage> namespace Ui { class paymentWindow1; } //! The class of the second window the customer meets. //! It is the window where the customer can see how much it is mi...
3959f779cb4a56bba30615dc3530f61e7d026c84
09c7f2f9ab096f07ad54db2c0b970e2e0a8fe4c5
/Source/KillOrDie/Public/KODCoreTypes.h
fdf9cab2efcc4b0c9bb85929622ab5f998f5206f
[]
no_license
mr-kotov/KillOrDie
91252ac3e6c770da630540065a4d3dd6eb7b53c5
8a1fa1d36c1deb8602b54f50f7b7483deb41ba8e
refs/heads/main
2023-08-05T05:14:34.083368
2021-06-23T16:11:54
2021-06-23T16:11:54
354,571,394
0
0
null
null
null
null
UTF-8
C++
false
false
3,483
h
KODCoreTypes.h
#pragma once #include "KODPlayerStart.h" #include "KODCoreTypes.generated.h" //Weapon class AKODBaseWeapon; DECLARE_MULTICAST_DELEGATE_OneParam(FOnClipEmptySignature, AKODBaseWeapon*); USTRUCT(BlueprintType) struct FAmmoData { GENERATED_BODY() UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category="Weapon") ...
78517b5ca4ee252822527f655e2a5fe662c9af6f
75324b88bd165f1ed3a56efc5918300f6fee2da0
/work1/ADTControl/ADTControl/Control.cpp
c6bc7bd230dd6fe4a186899d127c7fac037fb75b
[]
no_license
each24/MPTDemo
0ddf5bb82daf9f6f8855df9938fb3e881eef51a9
6a11ef1e5a57f6d6a5869f8ccb155813eae5cd09
refs/heads/master
2020-05-17T23:02:27.289779
2019-05-17T13:55:33
2019-05-17T13:55:33
184,019,614
0
0
null
null
null
null
UTF-8
C++
false
false
858
cpp
Control.cpp
#include "stdafx.h" #include "Control.h" int Control::acc() { return (int)round(ed->Acc() * log(Pin) / log(Pout) + 0.5); } int Control::getPin() { return Pin; } int Control::getPout() { return Pout; } void Control::setPin(int pin) { Pin = pin; } void Control::setPout(int pout) { Pout = pout; } bool Control:...
d2593a9f743e712abc3fc382d00291233890c646
5cd30c7bc36af0d37e4c4c0ecd6bf3d84d1e710a
/src/IInputSource.h
3f9a2212239304be41c557dda1d169630977b90d
[]
no_license
Dwergi/prototype-engine
89cb8a4c90344ab046d176beff7b19468abd6d4e
0d792ded0141b2a913200f6f1c27084d65f42627
refs/heads/master
2023-04-27T21:08:31.482645
2023-04-21T09:17:36
2023-04-21T09:17:36
31,064,734
1
0
null
null
null
null
UTF-8
C++
false
false
1,699
h
IInputSource.h
// // IInputSource.h - Interface for input source. // Copyright (C) Sebastian Nordgren // September 27th 2018 // #pragma once #include "DoubleBuffer.h" #include "InputAction.h" #include "InputEvent.h" #include "InputMode.h" namespace dd { struct IInputSource { IInputSource(); void UpdateInput(); bool GotM...
32850a001fe43e4c7b4fd44b409ab641599f1eb1
968dbb9efb302670fa00f1420f3fb1bf5a9b5788
/NtRender/ShaderAssemble.cpp
20903f8bf56f0ab54f0c9131c5b8742bd8a9af4a
[]
no_license
NINTING/NtSoftRender
fda77074d20d29d3c12c1b626a8cd31e2c059d56
5868691af30ad80e29f5eba1ac11bfeebc05dc39
refs/heads/master
2022-11-16T04:46:47.476295
2020-07-08T09:29:13
2020-07-08T09:29:13
266,507,230
0
0
null
null
null
null
GB18030
C++
false
false
7,148
cpp
ShaderAssemble.cpp
#include"ShaderAssemble.h" #include"NtRender.h" #include"Nt.h" #include"ShadowMap.h" #include"NtImage.h" #include"Model.h" #include"NtUtility.h" #include"Geometry.h" extern std::shared_ptr<NtWindow> window; void PhoneAssemble(const Model& model, const NtCamera& camera, NtSofterRender* render, const Light& dirctiona...