blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
4
201
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
7
100
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
260 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
11.4k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
80 values
src_encoding
stringclasses
28 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
8
9.86M
extension
stringclasses
52 values
content
stringlengths
8
9.86M
authors
listlengths
1
1
author
stringlengths
0
119
e3152a4726a3beb2e59ff0fbe3336091dfbc5ebe
3cd3f31d2703c66428db461c3c61d07e69b9d223
/Tuto_Graphe_GL/src/exemples/01_static/06_histogram/02_glut/HistoGlut.h
70de17c8783dc53dc79026de2725d28f8cbca614
[]
no_license
bastou2316/cuda
1195318cf0ae094d2bbbfea331fbd890bd584534
da6a5bdb99bbfa47c9fb2ce6e65d0ca72fdd9de4
refs/heads/master
2016-08-11T22:16:33.928569
2016-04-10T23:00:57
2016-04-10T23:00:57
55,926,681
1
0
null
null
null
null
UTF-8
C++
false
false
1,108
h
#pragma once #include "GLUTGraphWindow.h" #include "HistoGraphe.h" /*----------------------------------------------------------------------*\ |* Declaration *| \*---------------------------------------------------------------------*/ /*--------------------------------------*\ |* Public *| \*...
[ "bastou2316@gmail.com" ]
bastou2316@gmail.com
1c17add65e44c78e38d42da06c17e609d82929ae
782e8b221d2d106a15a17e60e8620c7fed278429
/cachelib/shm/tests/test_page_size.cpp
8ebe5b249cdc88d0f5d33661f3bace8c91b30e11
[ "Apache-2.0" ]
permissive
ilkerhalil/CacheLib
d02985bba68af40c036fc12411efe317487c50de
d131b686ac135ea873dc4bb62e9133858eaad238
refs/heads/main
2023-08-18T07:39:27.272731
2021-09-11T02:49:48
2021-09-11T02:50:55
405,455,233
1
0
Apache-2.0
2021-09-11T18:33:55
2021-09-11T18:33:54
null
UTF-8
C++
false
false
2,278
cpp
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
8c1bd732407784e65418546f8a126d2b43f17b16
808521268c124ce346753ce46219c29127b68b27
/SandboxSandbox/Mitigations.cpp
380c6d5a55844b063d22d8e01e25047e94fb26ed
[]
no_license
tomrittervg/sandboxsandbox
b709795afd77ca5e9dee52422e785391a02bf1b8
6b0cc2a3a5de2f57d68abb8f2ccea0f775ee2747
refs/heads/master
2021-01-01T04:23:13.173855
2017-07-14T16:23:40
2017-07-14T16:23:40
97,167,238
6
1
null
null
null
null
UTF-8
C++
false
false
584
cpp
#include "stdafx.h" #include "Mitigations.h" // ======================================== void Arbitrary_Code_Guard(bool on) { printf("%s: %s\n", __FUNCTION__, on ? "On" : "Off"); PROCESS_MITIGATION_DYNAMIC_CODE_POLICY policy; if(on) policy.Flags = 0x01; else policy.Flags = 0x00; BOOL success ...
[ "tom@ritter.vg" ]
tom@ritter.vg
99e416003b313943a193236f455b6993dc788970
5499e8b91353ef910d2514c8a57a80565ba6f05b
/garnet/tests/fidl-dangerous-identifiers/cpp/fidl.test.dangerous.method.response.arguments.camel_test.cc
731c79747ebcb08168a798f26244d36d50dcd4b0
[ "BSD-3-Clause" ]
permissive
winksaville/fuchsia
410f451b8dfc671f6372cb3de6ff0165a2ef30ec
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
refs/heads/master
2022-11-01T11:57:38.343655
2019-11-01T17:06:19
2019-11-01T17:06:19
223,695,500
3
2
BSD-3-Clause
2022-10-13T13:47:02
2019-11-24T05:08:59
C++
UTF-8
C++
false
false
293
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. // Generated by generate.py. #include <fidl/test/dangerous/method/response/arguments/camel/cpp/fidl.h> int main() { return 0; }
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
98e07e2e9874c7caaa402490b798c83d584711f9
049dfdffbcf8bd0ab2e143a8116815f3cbb67714
/SharedCode/Sound/SoundPlayer.h
94cacdfdf312655a31a3e10c82d573d429fa66d2
[]
no_license
thathollywood/PixelPyros
2759036defcb4a2e5be3d74347dbe3a3f2648278
6c653bee90efa9dc2d2b95dac408aa3dd9e1684c
refs/heads/master
2021-01-10T21:10:46.287328
2012-09-06T08:10:44
2012-09-06T08:10:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
990
h
// // SoundPlayer.h // ParticlePlay5 // // Created by Seb Lee-Delisle on 19/08/2012. // // #pragma once #include "ofMain.h" #include "Sound.h" class SoundPlayer { public : SoundPlayer(){ globalVolume = 1; }; bool addSound(string filename, string reference, float vol = 1, float speed = 1, float speedVa...
[ "sebleedelisle@gmail.com" ]
sebleedelisle@gmail.com
7cdda2d69bca910a723b7eb1577ecf23002cd5a6
9ee6b3ba658fb674433ade32d71d59bff9086325
/.removed/src/fullscore/ui/PlotterEditor/KeyboardCommands.cpp
9400f7b9505a24c259d1800c551b83a29eaf6c60
[]
no_license
MarkOates/fullscore
01f7aa843805f221b1547ab16deaaf91b513446e
ccd9449aa235d355bf1c24b0ff8fcc3a0fa83e23
refs/heads/master
2022-09-15T14:54:01.980708
2022-09-14T12:52:50
2022-09-14T12:52:50
33,223,354
1
0
null
2019-08-25T00:06:51
2015-04-01T02:59:18
C++
UTF-8
C++
false
false
440
cpp
#include <fullscore/UI/PlotterEditor/KeyboardCommands.hpp> #include <fullscore/UI/PlotterEditor/Actions.hpp> namespace UI::PlotterEditor { KeyboardCommands::KeyboardCommands() { set_keyboard_commands(); } KeyboardCommands::~KeyboardCommands() { } void KeyboardCommands::set_keyboard_commands() { set_mapp...
[ "euph_boy@hotmail.com" ]
euph_boy@hotmail.com
0ca96bd1c8cc61911e41a7525db0c8be88b92079
1f5306c3e0078995f23c3071d1406899b69baa18
/src/GameCommand.cpp
da9178f2fa9e220f7c83bee499761eaf047374d1
[]
no_license
oinkatron/PathfindingDemo
edd15b697b8dc92a42eeba25ba2bbc91aedb75f4
caff736066f24b9e37e8b3c136ae5d30cef24863
refs/heads/master
2020-02-26T17:26:54.821124
2016-10-25T16:31:01
2016-10-25T16:31:01
71,756,730
1
0
null
null
null
null
UTF-8
C++
false
false
584
cpp
#include "../include/GameCommand.h" vector<GameCommand*> GameCommand::cmd_pmp; size_t GameCommand::cur_cmd = 0; GameCommand::GameCommand() { cmd_pmp.push_back(this); } GameCommand::~GameCommand() { } GameCommand* GameCommand::getNextCommand() { if (cur_cmd >= cmd_pmp.size()) { ...
[ "oinkatron@gmail.com" ]
oinkatron@gmail.com
9c6a43f931428179d1393c7b90c5401304f21da8
22b392dc072f7516d908b3b215a170c1ffec3de6
/timentris/Input.h
4cfacf570563321089c9952aff48052cf0180112
[]
no_license
CruelCrow/timentris
772f19479af959720472f0f66453a0d90ef6ef40
9d82cf9e7912c8428878bcb9231131a1dc966121
refs/heads/master
2020-05-18T17:50:53.074351
2018-02-05T21:22:16
2018-02-05T21:22:16
6,948,092
0
0
null
null
null
null
UTF-8
C++
false
false
1,091
h
#pragma once #include <thread> #include <memory> #include <atomic> #include <chrono> #include <boost/predef.h> #include <boost/lockfree/queue.hpp> #include "TimentrisGame.h" #include "Render.h" #include "CircularReferenceFix.h" #if defined(BOOST_OS_WINDOWS) #include <Windows.h> #elif defined(BOOST_OS_LINUX) // #elif d...
[ "michael_kalenkovich@yahoo.com" ]
michael_kalenkovich@yahoo.com
3352e9e78dbbca299b9df140689227b0c525a76a
2fe5cc7977fe083ecd260ad8c9cbd213ba99365f
/tests/binaries/spu_render/spu/spurstask/render/source/fs_constant_patch.cpp
f9b054f7ea1143ecb37391904733c9b1a69a611b
[]
no_license
lasyka/ps3emu
f5feaf2fb5d3ae16652f985c2b4720b52a20a51d
69f36338d4aa7f729d3832b91188d26c95760661
refs/heads/master
2023-03-18T16:43:42.507305
2021-02-26T23:22:33
2021-02-26T23:22:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,242
cpp
#include <cell/spurs.h> #include "spu_render.h" #include <spu_printf.h> #include "fs_constant_patch.h" FsConstantPatch* FsConstantPatch::m_instance = NULL; uint32_t FsConstantPatch::sendFragmentProgramInternal(CellGcmContextData* context, CGprogram fragmentShader){ CgBinaryProgram* fs = reinterpret_cast<CgBi...
[ "nongeneric@users.noreply.github.com" ]
nongeneric@users.noreply.github.com
071b7746290bf2c69524cf110c939c99d276edbd
28ccb703343b7c907f65584f7ce9919281560514
/include/FWCS/Config.hpp
714ac7f1e3fbaf5621300217cf2c70a74c680382
[]
no_license
TankOs/flexworld-fwcs
9bd8416e06afc3248bddc1ce796686c053d17535
a3bc57d800b2c89b1ee2bb5b214f01b2156d2714
refs/heads/master
2021-01-20T16:59:57.410855
2017-02-22T20:57:17
2017-02-22T20:57:17
82,851,813
2
0
null
null
null
null
UTF-8
C++
false
false
662
hpp
#pragma once #if defined( _WIN32 ) || defined( __WIN32__ ) #define FWSC_SYSTEM_WINDOWS #define WIN32_LEAN_AND_MEAN #ifndef NOMINMAX #define NOMINMAX #endif #endif #if defined( FWSC_SYSTEM_WINDOWS ) && !defined( FWSC_STATIC ) #ifdef FWSC_EXPORTS #define FWSC_API __declspec( dllexport ) #else #define FWSC_...
[ "stefan@boxbox.org" ]
stefan@boxbox.org
54139359fe993c11f5c1b65af4c7a0ecfaa5bb45
bbb36da28e5036805a6d3b739e007009ad917303
/BattleTank/Source/BattleTank/Tank.h
9f507eed618193bea99de87d06be141198728365
[]
no_license
happylittlelark/04_BattleTank
6eb73afc73d15eee4f3883555860fc9c7b2c0489
b595b6c9ea28b30ac1f01ffcd043166b59b1f966
refs/heads/master
2021-01-23T23:13:39.945059
2017-09-27T18:39:09
2017-09-27T18:39:09
102,959,700
0
0
null
null
null
null
UTF-8
C++
false
false
1,251
h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Pawn.h" #include "Tank.generated.h" class UTankBarrel; class UTankTurret; class UTankAimingComponent; class AProjectile; class UTankMovementComponent; UCLASS() class BATTLETAN...
[ "sv003440@student.staffs.ac.uk" ]
sv003440@student.staffs.ac.uk
b6ae620b8e2981a70e6b789137cda6be67f9e7ba
946a169c5e667fad79f21538cee0ffaee8bc8e41
/BattleTank/Source/BattleTank/Public/TankBarrel.h
4c4810907f320190e7ae67198517993274cf339d
[]
no_license
RomanSolomatin/04_BattleTank-1
986c65fb200b5c4233243ad6e17fb382b7d44916
678dd95a3e9327b645b176c23921a37b5305d7d3
refs/heads/master
2020-03-10T20:36:59.960537
2017-06-07T16:15:55
2017-06-07T16:15:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
755
h
// Copyright Nicholas Wilkie #pragma once #include "Components/StaticMeshComponent.h" #include "TankBarrel.generated.h" /** * */ UCLASS(meta = (BlueprintSpawnableComponent)) class BATTLETANK_API UTankBarrel : public UStaticMeshComponent { GENERATED_BODY() public: // -1 is max downward movement, and +1 is max ...
[ "io2red@hotmail.com" ]
io2red@hotmail.com
a90018ecee0d0d500241ec2a81f107a76f0fe5b0
337d62ee666c693e5cb4ba66f9c06d61e1772cec
/main.cpp
5a0253bc0b3660c1793e61486145524bb168132d
[]
no_license
jaynathani/Simulated-Annealing-implementation-for-Hardware-Software-Partitioning-of-PSoC
6766e34dca9cb47ccbbcd760d1c0f365e1e2a792
935f49af15acf4f08ce4578f186ed76a9ee2115e
refs/heads/master
2021-01-22T09:41:29.009802
2016-12-19T00:12:55
2016-12-19T00:12:55
76,078,595
1
1
null
null
null
null
UTF-8
C++
false
false
234
cpp
#include <iostream> #include <vector> #include "Simulated-Annealing-Algorithm.h" using namespace std; int main() { GetData(); // displayOutput(lines); //Debug // CalculateCostFunct(lines); //Debug SA_Algorithm(); return 0; }
[ "jaynathani@gmail.com" ]
jaynathani@gmail.com
b5ac5982c3e7cd896d6227b15eb077f8d119fdc2
36183993b144b873d4d53e7b0f0dfebedcb77730
/GameDevelopment/AI Game Programming Wisdom/SourceCode/03 Pathfinding with Astar/01 Matthews/ase/ase.h
df521638d736d97aefe7e07e2db0c1c1058bc7d2
[]
no_license
alecnunn/bookresources
b95bf62dda3eb9b0ba0fb4e56025c5c7b6d605c0
4562f6430af5afffde790c42d0f3a33176d8003b
refs/heads/master
2020-04-12T22:28:54.275703
2018-12-22T09:00:31
2018-12-22T09:00:31
162,790,540
20
14
null
null
null
null
UTF-8
C++
false
false
458
h
#ifndef _AFX_ASE_H_ #define _AFX_ASE_H_ #if _MSC_VER > 1000 #pragma once #endif #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" class CAseApp : public CWinApp { public: CAseApp(); //{{AFX_VIRTUAL(CAseApp) public: virtual BOOL InitInstance(); //}...
[ "alec.nunn@gmail.com" ]
alec.nunn@gmail.com
f69e966ab2d9cf46586cd601b5cd6bca75d5a8e4
5d29460dedec0ef4e6918fd9a32d6a32e93bac1d
/GameCharacter.h
b75e06a44d09fdea241af16ef24d368d7bcb6d85
[]
no_license
FrancescoAmorosini/Progetto_Programmazione
ca9afbe7409476b4cc42596b52ec6b9405ed2a8f
216d8f9fe99a816ef90a95167d17c026e0f2071e
refs/heads/master
2021-01-11T02:56:05.465790
2019-03-02T20:41:16
2019-03-02T20:41:16
70,906,999
2
0
null
null
null
null
UTF-8
C++
false
false
1,264
h
// // Created by Francesco Amorosini on 22/06/16. // #ifndef PROGETTO_PROGRAMMAZIONE_GAMECHARACTER_H #define PROGETTO_PROGRAMMAZIONE_GAMECHARACTER_H #include <string> #include "RNG.h" enum class CharacterClass {Warrior, Thief, Mage, Undead, BigBaldGuy, Witch, Bat}; enum class Face {Up, Down, Left, Right}; class Ga...
[ "francesco.amorosini@stud.unifi.it" ]
francesco.amorosini@stud.unifi.it
6a8049ad720c9604976345ad3101dfae9800e073
3763d97d1eed58e1edf74499ced7138be4baddf8
/pintool/analyze_pin_log.cpp
09b3d6cc43545cba0098e23e9b07fb3866620b3f
[]
no_license
cheewill/UBSI
5fd94f8b4b75bfa48739fa45723d61d6e5f4cb40
5a222ed2114401d01ab6f90624bbe937ba7132fc
refs/heads/master
2021-10-16T18:37:13.995961
2019-02-12T16:02:43
2019-02-12T16:02:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
27,485
cpp
#include <stdio.h> #include <stdint.h> #include <string.h> #include <stdlib.h> #include <map> #include <set> #include <stack> #include <vector> #include "intervalTree/interval.H" #include <assert.h> using namespace std; //#define ANALYZE_MEM #define NDEBUG #define NDEBUG_MEM #ifdef NDEBUG #define debug(M, ...) #else...
[ "kyuhyung.lee@gmail.com" ]
kyuhyung.lee@gmail.com
d1de4736ac67d61dc08723797b64ab44f8cc4549
bec4ce7862948e5057b9573dd82a4aa0733ff485
/src/ch4/++ && --/order.cc
3e7c1334fa52065035098aae50121a88dd336b6b
[ "MIT" ]
permissive
HerculesShek/cpp-practise
27b850a9c446a6571a95629cb6045e18957e6071
aa0cdc3101c831c1c677f0de46a2f85a4b407bc3
refs/heads/master
2016-09-06T13:05:04.184703
2014-09-23T01:41:38
2014-09-23T01:41:38
17,898,200
1
0
null
null
null
null
UTF-8
C++
false
false
237
cc
#include <iostream> #include <string> using namespace std; int main() { string text = "Here is something"; for(auto b = text.begin(); b != text.end() && !isspace(*b); ++b) *b = toupper(*b); cout << text << endl; return 0; }
[ "hercules.shek@gmail.com" ]
hercules.shek@gmail.com
cbf56f0069fcc17a13eab0f1e73b3391d982bc60
61d3105e970640919cfd0645d01234241ef24b1d
/s1_Landmark_detect/a4_2_SRC_create_test_data_demo.cpp
ac1936fa41753a9ab6a63d0d66f73744b5b8792b
[]
no_license
AvLab-CV/Face-Recognition
9726baab5810df80116462c59683c84263780626
9c39cb1e059d0da09ba6d4bef9efb8d4e9b00168
refs/heads/master
2021-06-18T03:07:03.484704
2017-05-22T08:43:56
2017-05-22T08:43:56
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
6,698
cpp
#include "stdlib.h" #include "dlib/all/source.cpp" #include <dlib/opencv.h> #include <opencv2/highgui/highgui.hpp> #include <dlib/image_processing/frontal_face_detector.h> #include <dlib/image_processing/render_face_detections.h> #include <dlib/gui_widgets.h> #include <opencv2/opencv.hpp> #include <opencv2/...
[ "noreply@github.com" ]
noreply@github.com
39a1ac24ca2c70fd46c7b47312e3d7bcef5be2a1
2266e6c2e4713279a7fef0293d1806808a944a25
/Graph/edkarp.cpp
d1465b2013e9e8b65772b8e2270c3bc8b3c4f521
[ "MIT" ]
permissive
Nilesh-Das/dsalgo
9e2d7d1c050995c5195ce77b7051934abbaec564
2454f272a5de47e7b9cfbde73bf7c01d0d1492a2
refs/heads/main
2023-06-24T18:07:55.131414
2021-07-24T22:15:15
2021-07-24T22:15:15
389,197,236
0
0
null
null
null
null
UTF-8
C++
false
false
1,536
cpp
#include <bits/stdc++.h> using namespace std; const int INF = 1e9+7; // Maxflow - Edmonds-Karp algorithm int n; vector<vector<int>> adj, capacity; vector<int> parent; int bfs(int s, int t) { int curr, flow, new_flow; parent.assign(n, -1); parent[s] = -2; queue<pair<int, int>> q; q.push({s, INF})...
[ "nilesh101das@gmail.com" ]
nilesh101das@gmail.com
a10ecbf12acc2ddef942242c479eeae3540ec80e
bd1fea86d862456a2ec9f56d57f8948456d55ee6
/000/082/922/CWE190_Integer_Overflow__int64_t_rand_multiply_81_goodG2B.cpp
76c23980aa02a44037184da0b6e61f7067c6f6fe
[]
no_license
CU-0xff/juliet-cpp
d62b8485104d8a9160f29213368324c946f38274
d8586a217bc94cbcfeeec5d39b12d02e9c6045a2
refs/heads/master
2021-03-07T15:44:19.446957
2020-03-10T12:45:40
2020-03-10T12:45:40
246,275,244
0
1
null
null
null
null
UTF-8
C++
false
false
1,167
cpp
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__int64_t_rand_multiply_81_goodG2B.cpp Label Definition File: CWE190_Integer_Overflow.label.xml Template File: sources-sinks-81_goodG2B.tmpl.cpp */ /* * @description * CWE: 190 Integer Overflow * BadSource: rand Set data to result of rand() * Good...
[ "frank@fischer.com.mt" ]
frank@fischer.com.mt
c7cb6487a2a04f17822dcc2d04b0b692740246ad
9caa419d1f3d820f8a7c240fb5d037d3d8036375
/quiapplication.h
b61056f046aa7a3c8913e321bfd1a4fff7a4d242
[]
no_license
114254644/player
009539c16f152d47467ec4683b5e32e917c38d48
8d45a26cd9d22083407e85ab094fc7facf8cde28
refs/heads/master
2022-11-22T19:42:50.404958
2020-07-22T07:10:15
2020-07-22T07:10:15
277,490,407
1
0
null
null
null
null
UTF-8
C++
false
false
803
h
#ifndef QUIAPPLICATION_H #define QUIAPPLICATION_H #include <QApplication> #include <functional> using UIRunable = std::function<void()>; class QUIApplication : public QApplication { Q_OBJECT public: QUIApplication(int &argc, char **argv); virtual ~QUIApplication(); Q_SIGNALS: //同步UI执行 ...
[ "noreply@github.com" ]
noreply@github.com
4718278f5f43cbc616477655cdf314a66769359c
fbe60fa0d8e888bfdcf20beb2ef062f0f24fbcbd
/Algorithms/add-two-numbers-ii.cpp
04c65368ea83537b40fd2caf79a2250265657db7
[]
no_license
aman1228/LeetCode
552e5feff8a67c05ba318efa3a8a2d121ab64636
76a3d6878719643cbca59643ff8e697498411498
refs/heads/master
2023-04-03T13:27:06.340091
2021-04-18T00:15:51
2021-04-18T00:20:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,390
cpp
// 445. Add Two Numbers II // https://leetcode.com/problems/add-two-numbers-ii/ /* You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes first and each of their nodes contain a single digit. Add the two numbers and return it as a linked list. You may assume ...
[ "yuanhui.yang@outlook.com" ]
yuanhui.yang@outlook.com
a958d32819c14cba01e6f2461fa90e18976c2595
ff98a177902b8b97888a5e44eb59e5397a1826d8
/tests/unittest/FaceliftUtilsTest.cpp
99bc40c266fded5861f3fff737b3b5a4c90a6307
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bitmouse/facelift
471c39415c1d6667ddc9552abb764e48f3ac4755
229d7ad81d8c3e361a207251759b4fc9a6f225cb
refs/heads/master
2021-07-06T04:48:00.323219
2020-10-26T17:48:45
2020-10-26T17:48:45
199,874,162
0
0
MIT
2020-08-26T07:28:25
2019-07-31T14:38:35
C++
UTF-8
C++
false
false
2,308
cpp
#include <gtest/gtest.h> #include "FaceliftUtils.h" namespace { using namespace facelift; class MostRecentlyUsedCacheTest : public ::testing::Test { public: const unsigned int cacheSize = 3; const int key1 = 1; const int val1 = 100; const int key2 = 2; const int val2 = 200; const int key3 = 3...
[ "jacques.guillou@gmail.com" ]
jacques.guillou@gmail.com
11d6aa4e2c4ad7da058796d47827d6eb98218f95
034afa81e1df2cb5e6da44fa887ea1512d651bae
/Classes/Menu.h
e8e4665cbeba05afdd6f95afed5771681e05a87f
[]
no_license
2011conquer/FlappyBird
67d8ef0ff1860e863e09f3cc1ed215f3a06ce52f
4af86374f3c6607ea6089a05710e5597048266ff
refs/heads/master
2020-05-16T23:58:06.693704
2014-07-03T16:15:19
2014-07-03T16:15:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
465
h
// // Menu.h // FlappyBirdSimulator // // Created by 程龙元 on 14-7-2. // // #ifndef __FlappyBirdSimulator__Menu__ #define __FlappyBirdSimulator__Menu__ #include <iostream> #include "cocos2d.h" #include "HelloWorldScene.h" USING_NS_CC; class GameMenu:public Layer { public: CREATE_FUNC(GameMenu); stati...
[ "764547357@qq.com" ]
764547357@qq.com
a939c2cf1d3e5550be92bcaf917c137590cc458d
b4f7bb50f0035eee1dc8d6a45f486d94bbb80a40
/BuildingEscape/Source/BuildingEscape/PositionReport.cpp
75bc484f65bb04e439c6cd7e6fa9fae021b001ca
[]
no_license
TechLovin/03_Build_Escape
f53f02a7330a9e78ca608f623db9f2ee92f13fc2
10cb1c285cc6ba925594037711d30e17b5ba8c33
refs/heads/master
2021-06-24T15:41:17.400706
2017-09-15T20:18:23
2017-09-15T20:18:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
986
cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "PositionReport.h" #include "Gameframework/Actor.h" // Sets default values for this component's properties UPositionReport::UPositionReport() { // Set this component to be initialized when the game starts, and to be ticked every...
[ "necrogankedd@gmail.com" ]
necrogankedd@gmail.com
532617d60af23161270950ff0f67cf40902e9706
f0c04d720a27000a3e5b47dd4eb47c3e1ad24edd
/Ryno Engine/Source/Rendering/Material.cpp
57d50040cb4856074d56b264bf7e54ad71b5b440
[]
no_license
Ceffa/Ryno-Engine
30a0d4a7107681eeb4206325bb10bc29f889f059
94db0fb654e854eaf79429032aa8c3c0b16452b2
refs/heads/master
2020-12-29T18:47:44.865994
2018-01-10T10:17:05
2018-01-10T10:17:05
45,530,828
39
8
null
null
null
null
UTF-8
C++
false
false
1,102
cpp
#include "Material.h" namespace Ryno { bool Material::set_shader(Shader * _shader) { shader = _shader; if(attribute_memory) free(attribute_memory); if (uniform_memory) free(uniform_memory); attribute_memory = calloc(shader->attributes_struct_size, 1); uniform_memory = calloc(shader->uniforms_map...
[ "ceffa93@gmail.com" ]
ceffa93@gmail.com
d6cdc5db215819261b7e1eddbd813e719e6f0e94
4fe94c6c37eda3fcdff737c3db2b9e01dad5d89d
/brown_belt/w3/pipeline/pipeline.cpp
ffea33e0faca62f62a9a42585b01ac30ac63ea18
[]
no_license
KushnirDmytro/cpp_belts_coursera
a2a3b070a6162b2dc96fb00a65f6f3074068aa26
7ada0052c19efbe2a1a6c8252e8816046b4a755c
refs/heads/master
2020-07-18T21:59:46.134029
2020-01-18T15:33:13
2020-01-18T15:33:13
206,320,214
0
0
null
null
null
null
UTF-8
C++
false
false
4,721
cpp
#include "test_runner.h" #include <functional> #include <memory> #include <sstream> #include <stdexcept> #include <string> #include <vector> #include <list> using namespace std; struct Email { string from; string to; string body; }; class Worker { private: unique_ptr<Worker> next_{nullptr}; public: virtual...
[ "kushnir.dmytro.93@gmail.com" ]
kushnir.dmytro.93@gmail.com
699b89a8babc00b7f5cf0aa1c6152ad9708bae5a
d70a8896fab79eb3ac0f7d340a7cec094f3fbcc5
/code/FRED2/AddVariableDlg.cpp
219d0bc0be786458a64e1be39b2c1dc66334afcd
[]
no_license
mmastro/freespace2
ce3699124ada832d6b306dc8910e4d822906bf09
60787ca0068156211436f7716a1d1ee27c88048e
refs/heads/master
2020-05-15T08:38:34.077297
2015-06-20T14:02:24
2015-06-20T14:02:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,630
cpp
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on the * source. * */ // AddVariableDlg.cpp : implementation file // #include "stda...
[ "sjm@sjm.io" ]
sjm@sjm.io
faa0435fa24e749ed4d53fdcfd2f2a1ddc61d0ab
406fd11771828c25b66664e1f47f890de511d00e
/include/IWallet.h
c00e8f485d43041aaf42e91cd6669dd140796893
[ "BSD-3-Clause" ]
permissive
romankosoj/protect
f903f874d5d931fcc067636186ba2a02d1788999
473cd33e97435777ca8885dc3f418e012fdb6cb1
refs/heads/master
2021-07-15T17:13:37.270241
2017-10-19T14:35:08
2017-10-19T14:35:08
107,504,869
1
0
null
null
null
null
UTF-8
C++
false
false
4,745
h
// Copyright (c) 2014-2017, The Protect Security Coin // // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, ...
[ "roman@kosoj.ru" ]
roman@kosoj.ru
a74bb5942dc2c7e11aefedef5f97c07cd73132c2
2687c31493d0aa7adce9366fb062faf3f22fc85a
/d04/ex03/Character.hpp
fdf15077da3f063076d1754b2ab72297f32b2b80
[]
no_license
kantum/piscine_cpp
9afbdece844dac400288e3ee47622353954c4935
39664dd613fcaf321028761ba1925065b1d56ded
refs/heads/master
2022-03-01T13:37:49.711337
2019-10-24T20:26:49
2019-10-24T20:26:49
214,853,970
0
0
null
null
null
null
UTF-8
C++
false
false
1,398
hpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Character.hpp :+: :+: :+: ...
[ "kantum@git.com" ]
kantum@git.com
577acee7efb1fdd6ba1950e28d4f59958dbe4292
24f26f85f379676764c05f92f1ec75c6354f2a05
/Dynamic programming 2/Knapsack.cpp
c8396c1a31c1c394dcb903c56f7284e004106bcc
[]
no_license
Mehulcoder/Coding-ninjas-competitive
09fcbf2267da521eabeda112ed803c76c782d7ed
a167d473c9d2c7df45a38d5c4454f8e651964fb7
refs/heads/master
2022-02-27T12:35:34.657228
2021-09-02T16:37:23
2021-09-02T16:37:23
201,101,214
290
183
null
2022-02-16T02:08:20
2019-08-07T17:54:08
C++
UTF-8
C++
false
false
1,310
cpp
/* Name: Mehul Chaturvedi IIT-Guwahati */ /* A thief robbing a store and can carry a maximal weight of W into his knapsack. There are N items and ith item weigh wi and is of value vi. What is the maximum value V, that thief can take ? Space complexity should be O(n). Input Format : Line 1 : N i.e. number of ...
[ "mehul355180@gmail.com" ]
mehul355180@gmail.com
e3086c19cac61afcb75bbc7b67b641284987b984
0a1b417f238ca5cb7eac543d6a144abeaec1e8a8
/examples/HttpServer/sources/WebRetriever.cpp
3d61d36b8fd3f1127c8a49dbca13f7636e3d2b01
[ "BSD-2-Clause" ]
permissive
SammyEnigma/NetLib
2374711a51e82efbacc5a605503dce2b944dbdc5
1e2ca00a2d97d78f294e810a37038da88ca99704
refs/heads/master
2020-12-02T08:53:59.650875
2020-01-27T05:49:25
2020-01-27T05:49:25
230,952,305
0
0
BSD-2-Clause
2020-01-27T06:35:17
2019-12-30T17:11:57
null
UTF-8
C++
false
false
2,670
cpp
#include <memory.h> #include <string.h> #include <stdlib.h> #include "WebRetriever.h" #include "Logger.h" struct url_data { size_t size; char* data; }; size_t CurlCallback(void *ptr, size_t size, size_t nmemb, struct url_data *data) { size_t index = data->size; size_t n = (size * nmemb); char* tmp...
[ "subrato.roy@collabera.com" ]
subrato.roy@collabera.com
536d1ac01fef73108bc673f1db1204c60e2c9686
93a868a6462410b5e5bd45b224b1f170e6428845
/395.cpp
07b68f2b1261c40343fce9c8993379d830033858
[]
no_license
summylight/leetCplus
b2b9635ca7ede65d277ac603d0952d47a23be01d
6af6194e053d9ed6c8e11eb03e4c850c244e4344
refs/heads/main
2023-01-09T12:56:36.438052
2020-11-15T09:16:59
2020-11-15T09:16:59
307,955,088
0
0
null
null
null
null
UTF-8
C++
false
false
532
cpp
#include "C.h" #include <set> int longestSubstring(string s, int k) { if(s.empty()||k>s.size()) return 0; if(k<=1) return s.size(); unordered_map<char,int> Map; for(auto i:s) Map[i]++; int index=0; while(index<s.size()&&Map[s[index]]>=k) in...
[ "summylight@163.com" ]
summylight@163.com
2460aa4cd41e05bd22751519a35adcb0e395c399
5c5033209087c5d2c72415ae45efab42e5658d08
/蓝桥/计蒜客2018第一次模拟/封印之门.cpp
04e934cd64f5e8e09ed105ad37c86a41dce72630
[]
no_license
mqaaa/algorithmmic
1b6f4bd8381d76625f726bad662783b28080de9d
811b6ae7c1ff021149c79e54ce9366e95fcb8c8b
refs/heads/master
2021-03-30T17:26:00.934151
2018-04-18T14:00:27
2018-04-18T14:00:27
123,786,066
1
0
null
null
null
null
UTF-8
C++
false
false
724
cpp
#include<iostream> #include<cstdio> #include<string> using namespace std; int main(){ string st,ans; cin >> st; cin >> ans; int n; int map[27][27] = {0}; int temp1,temp2; char t1,t2; cin >> n; for(int i = 0 ; i < n ; i++){ cin >> t1 >> t2; temp1 = t1-'a'; temp2 = t2-'a'; map[temp1][temp2] = 1; for(in...
[ "qmeng1128@163.com" ]
qmeng1128@163.com
09068d858cf9ea13fa00ef35ab084a5d76035df2
c2d270aff0a4d939f43b6359ac2c564b2565be76
/src/chrome/browser/vr/webvr_tab_browser_test.cc
8b0e2614dbdcc72f00256d4e88ccb3df8f521312
[ "BSD-3-Clause" ]
permissive
bopopescu/QuicDep
dfa5c2b6aa29eb6f52b12486ff7f3757c808808d
bc86b705a6cf02d2eade4f3ea8cf5fe73ef52aa0
refs/heads/master
2022-04-26T04:36:55.675836
2020-04-29T21:29:26
2020-04-29T21:29:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,205
cc
// Copyright 2017 The Chromium 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 "chrome/browser/ui/browser_tabstrip.h" #include "chrome/browser/vr/test/vr_browser_test.h" #include "chrome/browser/vr/test/vr_transition_utils.h...
[ "rdeshm0@aptvm070-6.apt.emulab.net" ]
rdeshm0@aptvm070-6.apt.emulab.net
883067703b6ed6a8e959d2b765be5abe5c1182fc
40c68fac1f8e81c7e090e322eba810e17addee8e
/Learning CPP/main.cpp
5da5de523f57c45cb83b3f19741b5c9a74f529b2
[]
no_license
BenWheatley/BasicsOfCPP
f03fb59cd131ff41a67e1e6d03c1557e426d9af2
c1cf8e439e9cb00bf717aee0680cf3d49de03e0a
refs/heads/master
2020-03-30T14:33:36.897734
2018-10-06T20:39:58
2018-10-06T20:39:58
151,323,909
0
0
null
null
null
null
UTF-8
C++
false
false
9,375
cpp
// // main.cpp // Learning CPP // // Created by Ben Wheatley on 2018/10/01. // Copyright © 2018 Ben Wheatley. All rights reserved. // #include <iostream> // Following https://www.youtube.com/watch?v=vLnPwxZdW4Y tutorial // Then https://www.youtube.com/watch?v=Rub-JsjMhWY tutorial #include <cmath> #include <vecto...
[ "BenWheatley@users.noreply.github.com" ]
BenWheatley@users.noreply.github.com
662a79e099178e3ee4c605f983fa27c0f032d001
e0b7500cff4bc94b4fffe791c8a075c33b79c489
/3rdparty/mkldnn/tests/benchdnn/conv/bench_conv.cpp
dfb23e9321463b6a92944457a9e076f9a3ebc1fd
[ "Apache-2.0", "BSD-3-Clause", "Zlib", "LicenseRef-scancode-generic-cla", "NCSA", "OFL-1.0", "BSD-2-Clause-Views", "MIT", "Unlicense", "BSL-1.0", "BSD-2-Clause" ]
permissive
haimeh/mxnet_a51m
c71d098cd0a9771cad31de26b9236071bada4c24
b62490f15937723e6076570be983ddb0180d2dea
refs/heads/master
2022-12-22T18:29:54.881909
2020-08-20T01:45:40
2020-08-20T01:45:40
288,790,745
0
1
Apache-2.0
2022-12-14T17:23:23
2020-08-19T17:08:09
C++
UTF-8
C++
false
false
3,366
cpp
/******************************************************************************* * Copyright 2017-2020 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
[ "haimehs@gmail.com" ]
haimehs@gmail.com
bf06728cf0037b067ad58b2fcbf7b863afb04527
6e6e1203a095c7128f27dc3adf022b4cbe0356b4
/src/suit/SuitLegList.h
fc692b20e055b10f5619d462338a399bd2ae81dd
[ "Apache-2.0" ]
permissive
theclashingfritz/libtoontown
c0dcbfa44a22a5f3200f3b1522c16a5436e1578c
e453b1de7185e056f95d4ee4831612b1a6598631
refs/heads/master
2021-06-30T08:00:35.586822
2017-09-19T00:43:44
2017-09-19T00:43:44
103,720,426
4
2
null
null
null
null
UTF-8
C++
false
false
1,426
h
#ifndef _H_DNA_SUITLEGLIST_ #define _H_DNA_SUITLEGLIST_ #include "DNASuitPoint.h" #include "DNASuitPath.h" #include "DNAStorage.h" #include "SuitLeg.h" typedef std::vector<SuitLeg*> leg_vec_t; class EXPCL_DNA SuitLegList { PUBLISHED: SuitLegList(DNASuitPath* path, DNAStorage* store, double suit_walk_spee...
[ "theclashingfritz@gmail.com" ]
theclashingfritz@gmail.com
0ab547529366aa01e42b5da016b2ac876afaaf66
e60ec8da091a3bc72a55e1ebbe714c7a9d688cba
/little_math/derivative.cpp
74e4b6b606a18a828ea242ffd8da1936b810d603
[]
no_license
Urroke/MATH_s
3110d3bc9fecf36fa0dfe343ee3c9704f0b799c0
41af60dac828b24eae1b0b62e7eca69eeb60a703
refs/heads/master
2021-07-13T07:20:02.745542
2020-05-25T20:06:24
2020-05-25T20:06:24
147,962,072
0
1
null
null
null
null
UTF-8
C++
false
false
653
cpp
#include "little_math.h" template <typename type, size_t number_lattice, size_t degree> std::function<type(type)> derivative(std::function<type(type)> func, type aprox_interval) { std::function<type(type)> result = [=](type value)->type{ type h = aprox_interval/(number_lattice - 1); mvector<type, n...
[ "kovalevyura1@gmail.com" ]
kovalevyura1@gmail.com
b1c696d86388783e11aa845a8e4d9fec3d292ccd
3f678576db5b4513ff790657db48b07a8996037b
/Source Code/virtualsoc/src/core/mem_class.h
66ff27c33d3a4a83029f7f68c18e725538bfd7e4
[]
no_license
henriquevs/Filtering-Modeling-Medical-Images
c6292b5c5033e52eff082c921f66f228c3f2c80e
d530c8ba6531f4a4465901ee576d710cc4ecc593
refs/heads/master
2020-03-21T21:37:13.805576
2018-06-28T23:24:18
2018-06-28T23:24:18
139,074,014
1
0
null
null
null
null
UTF-8
C++
false
false
3,332
h
#ifndef __MEM_CLASS_H__ #define __MEM_CLASS_H__ #include <systemc.h> #include "globals.h" #include "debug.h" class Mem_class { protected: //ID of the memory uint16_t ID; //Pointer to the start of the instantiation of the memory char *myMemory; //Indicate the kind of the memory ...
[ "henriquevs.br@gmail.com" ]
henriquevs.br@gmail.com
1b316fa207481b743d2823f9c5b0de3a536942fd
23cd9aef3f56acfede4881594543cdb40caeb73f
/ML/Coderaman-tech_AmanKumarShrivastava_2024cse1155_2/GettingStarted/Is_a_number_Prime.cpp
86489feb3018870a0a4a370f7e3b0caabd6cd259
[]
no_license
durgesh-agrhari/coderspree
a98c5085eb8bec934162c37529431413011d8596
30e3a6e8a040639b61f20980c0e73a4aaef459d6
refs/heads/main
2023-08-28T12:15:25.361443
2021-10-06T12:38:05
2021-10-06T12:38:05
411,664,304
1
0
null
2021-09-29T12:25:24
2021-09-29T12:25:23
null
UTF-8
C++
false
false
385
cpp
#include <iostream> using namespace std; int main(){ int t; cin >> t; while(t--){ int n; cin>>n; int count=0; for(int i=2;i<n;i++){ if(n%i==0){ cout<<"not prime"<<"\n"; count=1; break; } } ...
[ "30565750+tushar5526@users.noreply.github.com" ]
30565750+tushar5526@users.noreply.github.com
bbdce02bfd740e437ab68b92688aa65b9d82b8eb
ced51d9c2f605b87fc37b4a8068c6a4954b7637d
/vector2.cpp
b8f690be5a904a72dd806bbd02838764eaab2f39
[]
no_license
Dillonb/DuckHaunt
2bb389b9ea03882e19aecfe72fd211eb2c73609f
559c69f5f6b1c70795780bdbd44c31328896bfd6
refs/heads/master
2021-01-13T01:26:35.968259
2014-12-01T18:36:46
2014-12-01T18:36:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,303
cpp
#include "vector2.h" Vector2::Vector2(double x, double y) { this->x = x; this->y = y; } Vector2::Vector2() { this->x = 0; this->y = 0; } Vector2& Vector2::operator=(const Vector2& other) { this->x = other.x; this->y = other.y; } Vector2 Vector2::operator+(Vector2 other) { Vector2 temp; ...
[ "dillonbeliveau@gmail.com" ]
dillonbeliveau@gmail.com
9222365c383daae25b12c2d2f205c6d2d3d3d5d2
b131c2c15ce365c4e0556c7c5fc9444301cb7405
/atcoder/ABC/088/C-Takahashis-Information.cpp
1931878b26e44f89777f9fd4b0acb58f16d10a85
[]
no_license
wilsjame/misc-algos
5ce20c28b9e7e1d53ece72346431d897629ca924
d42a5ce98764598f36cfe0bc154ecb76f2302864
refs/heads/master
2022-09-12T22:16:15.240348
2022-08-20T05:24:51
2022-08-20T05:24:51
243,411,893
0
0
null
null
null
null
UTF-8
C++
false
false
1,229
cpp
#include <iostream> #include <vector> using namespace std; int main() { vector<vector<int>> C(3, vector<int>(3)); for (auto &row: C) for (auto &a : row) cin >> a; // A are constants, cycle through all choices for a1-3 and calculate b1-3 // a1 + b1 = A1,1 // a1 + b2 = A1,2 ...
[ "jgwilson1214@gmail.com" ]
jgwilson1214@gmail.com
b3f666698608c2d7061055db7dc69ba9255cad48
6dd18dd258b38ddf3061565496d9bb7d982eb1e4
/26_SmartPointers/04.UsingVectors.cpp
bd53e3929b031bb07b9e9bc856c5a02975c39d91
[]
no_license
seddon-software/cplusplus
5d67b0ca95d24c2c4911ad6111b1a9a1ba7285bf
bcbdfb6e916ebb08eb8d507dcb18bed8a80fbf82
refs/heads/master
2021-06-27T06:04:23.804126
2020-12-04T16:38:57
2020-12-04T16:38:57
174,515,590
0
0
null
null
null
null
UTF-8
C++
false
false
1,651
cpp
#include <iostream> #include <sstream> #include <vector> #include <exception> #include <memory> using namespace std; class Point { friend ostream& operator<<(ostream& os, const Point& p); public: Point() { cout << "CTOR()" << endl; } Point(int x, int y) : x(x), y(y) { cout << "CTOR(i,i)" <...
[ "seddon-software@keme.co.uk" ]
seddon-software@keme.co.uk
854f09cad6ac929c6612d9d8ff49dbe218e16968
b9d9a7f792cc0d9de25a0876b1b78652c74925eb
/tvremote/ipcsender.cpp
f58d6b3495f69081f370298ff31fc07d7a8c168c
[]
no_license
Sid-003/tvremote
9e22cb2a898dd2bd731b922bd7c7fcb96c6d119b
5bb0a8704ad3568f1ce575635e63c0fc51207c7d
refs/heads/master
2022-04-12T15:12:19.209545
2020-03-01T01:23:39
2020-03-01T01:23:39
242,912,050
0
0
null
null
null
null
UTF-8
C++
false
false
929
cpp
#include "ipcsender.h" #include <QHostAddress> #include <QTcpSocket> ipcsender::ipcsender(QString ip) { succit = new QTcpSocket(); QHostAddress host (ip); succit->connectToHost(host, 20060); if(succit->waitForConnected()) qInfo() << "Connection successful."; else{ qInfo() <<...
[ "siddhartha4030@gmail.com" ]
siddhartha4030@gmail.com
38c02c32f49e5b7b1d909086b71a7b0bbaaca1f2
e7f3c7db44e7aa54bc88a5629f3c0fb517701ed3
/judges/uri/iniciante/1049.cpp
02cb267270cb31cbf684492d7a12f2b6d63918ac
[ "MIT" ]
permissive
ednunes/competitive-programming
f699ef9a176277e18b7f017876efac95ad3cd643
0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b
refs/heads/master
2022-09-08T09:19:08.225422
2019-10-03T17:03:50
2019-10-03T17:03:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
626
cpp
#include <bits/stdc++.h> using namespace std; int main (){ int i = 0; string s[3]; while(i < 3){ cin >> s[i]; i++; } if(s[0] == "vertebrado"){ if(s[1] == "ave"){ if(s[2] == "carnivoro"){ printf("aguia\n"); }else{ printf("pomba\n"); } }else{ if(s[2] == "onivoro"){ printf("hom...
[ "eduardonunes2525@gmail.com" ]
eduardonunes2525@gmail.com
9bf490128557398b371211850b8a7128c1541162
34a3fa29d9270398372c04e002332ddedb3c498a
/div2/573/FTokitsukazeAndStrangeRectangle.cpp
8eac4b96240fb1910155999fc22ecc656259f5c6
[]
no_license
tatsumack/codeforces
643accf23bc772d136708a1170ac2200a9348efc
b99c1ff04c8756121a059f130655885705018eca
refs/heads/master
2021-07-10T05:55:56.329203
2020-07-23T10:50:08
2020-07-23T10:50:08
143,435,557
0
0
null
2019-10-12T03:10:19
2018-08-03T14:12:22
C++
UTF-8
C++
false
false
2,038
cpp
#include <iostream> #include <limits.h> #include <algorithm> #include <bitset> #include <cctype> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <list> #include <map> #include <numeric> #incl...
[ "tatsu.mack@gmail.com" ]
tatsu.mack@gmail.com
fde74e3207918764a2a0909b9ba4795b8c674cd9
3723a574da913bfcbbc77b347a4f02533bf7059a
/library/incl/gd.h/delegates/delegates.h
e9ff4792571d2ee5ff93aa5e2b6065ee2f805e91
[ "MIT", "Unlicense", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Pietrodjaowjao/SwingCopter
1c38eaa3ea78d74dd05a4c99da211e43e542b6b7
66ded079ab45e51b0b3fbe9c80a7da69c9877988
refs/heads/master
2023-06-19T11:39:50.755325
2021-07-19T17:57:14
2021-07-19T17:57:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,896
h
#ifndef DELEGATES_H #define DELEGATES_h #include <gd.h> namespace gd { class GJGameLevel; class NumberInputLayer; class SetIDPopup; class CCTextInputNode; class GJDropDownLayer; class SongInfoObject; class GJSpecialColorSelect; class HSVWidgetPopup; class GJUserScore; enum GJS...
[ "kjuanvincent@gmail.com" ]
kjuanvincent@gmail.com
6b7395480b2284861fff3ce05ab487996fa24175
44905ec0c2963e9daf2c6f054d1f43c33162e66a
/uasufesjfsd.cpp
42416532198bf4f485150142f2e2b535484e23ce
[]
no_license
mdmumin/practic
a28824893c1277ccf3b076348f8a09faec353234
6cbef5c6b0e813e6a7b7a9c4986e0cf36783c500
refs/heads/master
2020-04-23T21:20:35.296482
2019-02-19T12:13:11
2019-02-19T12:13:11
171,467,606
0
0
null
null
null
null
UTF-8
C++
false
false
187
cpp
#include<iostream> using namespace std; class f1{ public: f1() { cout<<"nafiz "; } ~f1() { cout<<"mumin "; } }; int main() { f1 ob,ob1; }
[ "mdmuminjap@gmail.com" ]
mdmuminjap@gmail.com
7f2de65fc32f968482ce0be508de05ac02104426
0c0cb16aeb0f6ef54f620d7e317c87a7a5ae0fcc
/Algorithms/381_insert_delete_getrandom_o1_duplicates_allowed.cc
f31e038fe5b70c17637cd909ecfd09379ccea269
[]
no_license
jeffreyfox/LeetCode
5b18d95ffc5143933a306f902b7bcce57197e25c
e05ef7ab4345beecd5ea36a63340a3618311a743
refs/heads/master
2022-07-28T10:29:02.490115
2022-07-20T16:36:38
2022-07-20T16:36:38
29,803,806
1
2
null
null
null
null
UTF-8
C++
false
false
4,063
cc
/RandomizedCollection is a data structure that contains a collection of numbers, possibly duplicates (i.e., a multiset). It should support inserting and removing specific elements and also removing a random element. Implement the RandomizedCollection class: RandomizedCollection() Initializes the empty RandomizedColle...
[ "noreply@github.com" ]
noreply@github.com
3ba2aef13f7e8b8cbe558cc8aba9ba245aa3d6fb
6ced41da926682548df646099662e79d7a6022c5
/aws-cpp-sdk-timestream-query/include/aws/timestream-query/model/DescribeScheduledQueryResult.h
7fa14e5855b513ca5d783cfff37619d8a6db781c
[ "Apache-2.0", "MIT", "JSON" ]
permissive
irods/aws-sdk-cpp
139104843de529f615defa4f6b8e20bc95a6be05
2c7fb1a048c96713a28b730e1f48096bd231e932
refs/heads/main
2023-07-25T12:12:04.363757
2022-08-26T15:33:31
2022-08-26T15:33:31
141,315,346
0
1
Apache-2.0
2022-08-26T17:45:09
2018-07-17T16:24:06
C++
UTF-8
C++
false
false
1,835
h
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/timestream-query/TimestreamQuery_EXPORTS.h> #include <aws/timestream-query/model/ScheduledQueryDescription.h> #include <utility> namespace Aws { template<typename RESULT_TY...
[ "aws-sdk-cpp-automation@github.com" ]
aws-sdk-cpp-automation@github.com
a51ddef01c0aba52278f2f234aad4ea53f248de3
430d21cb74f19ae53bdeef572784cd0057096573
/particle/src/water/water.cpp
8b4ec347a23096e8a0f907f8518ddb4da0e7aab5
[]
no_license
olaven/exam-pg5500
d1f73a39a387be406406fa41cf0f117530b5c348
4e8d109d180a0e94ba24bed20ff0234b19b48881
refs/heads/master
2020-09-25T20:20:58.680984
2019-12-18T15:31:11
2019-12-18T15:31:11
226,080,032
0
0
null
null
null
null
UTF-8
C++
false
false
1,157
cpp
#include "Particle.h" int water_sensor_pin; bool send_water_email; String water_email = "lagasild@protonmail.com"; //NOTE: anonymous email made for exam purposes int change_water_email(String _water_email) { water_email = _water_email; return 0; } void setup_water_sensor(int _water_sensor_pin, bool _send_e...
[ "olav@sundfoer.com" ]
olav@sundfoer.com
c925a3a2957cb61bb9c9870351c59e3c9bcb213d
c6f4505920e0ef7a4c6b9fff5fed4c9ce24d97af
/AdapterMode/Banner.h
88050baefb853e4d1a9fccb0a136d57fc5885535
[]
no_license
luzh0422/DesignPatterns
43f47e85fbc6a73d24435e2117ea726a17d7cf55
ca59713c9fa59115742da63ef0afbea1e7c6a8b2
refs/heads/master
2021-06-07T02:27:40.188342
2020-05-06T14:37:25
2020-05-06T14:37:25
153,556,496
3
0
null
null
null
null
UTF-8
C++
false
false
324
h
// // Created by Luzh on 2018/10/22. // #ifndef ADAPTERMODE_BANNER_H #define ADAPTERMODE_BANNER_H #include <string> class Banner { public: Banner(std::string pString) : mString(pString) {} void printWithPattern(); void printWithAsterisk(); private: std::string mString; }; #endif //ADAPTERMODE_BANNE...
[ "zehui.lzh@alibaba-inc.com" ]
zehui.lzh@alibaba-inc.com
bb2e3dea34216a3cff47f6eaa5b6b61b1dd8549d
82555ed986f85b47cbb189d5a15b059ba8592946
/include/pbtrf.h
4b1992f9b208d0adf91518a32f3a80d20b689206
[ "BSD-3-Clause-Open-MPI", "BSD-3-Clause" ]
permissive
langou/latl
5596e7298f5263a64d545267351b82b01a14f096
df838fb44a1ef5c77b57bf60bd46eaeff8db3492
refs/heads/master
2020-03-26T20:12:08.408112
2015-05-04T19:51:04
2015-05-04T19:51:04
10,975,131
6
2
null
null
null
null
UTF-8
C++
false
false
20,513
h
// // pbtrf.h // Linear Algebra Template Library // // Created by Stephanie Patterson on 7/20/12. // Copyright (c) 2012 University of Colorado Denver. All rights reserved. // #ifndef _pbtrf_h #define _pbtrf_h /// @file pbtrf.h Computes the Cholesky factorization of a symmetric positive definite band matrix A. #i...
[ "rodney.james@ucdenver.edu" ]
rodney.james@ucdenver.edu
a92ef4a026eda0ec3564db35f500c997943dfc80
88eb6798d23b52ab13539ac4f31a735ea2d3cf0b
/lib/timer/timer.cpp
8b3bdd8f1253a4126b02dda14693166d014af59e
[]
no_license
confrodog/Anti-Intruder-Detection
4f28e43d95b956eb9b22c1489d866e26819ec525
9f8edc419105c167bf0941b99de55593a6024e2d
refs/heads/master
2020-05-07T15:28:17.639499
2019-04-16T15:51:05
2019-04-16T15:51:05
180,637,536
0
0
null
null
null
null
UTF-8
C++
false
false
594
cpp
#include "timer.h" void initTimer1(){ // set timer to CTC mode TCCR1A &= ~(1 << WGM10); TCCR1A &= ~(1 << WGM11); TCCR1B |= (1 << WGM12); TCCR1B &= ~(1 << WGM13); //sets prescaler to 64 TCCR1B |= (1 << CS11) | (1<<CS10); //for millisecond timer OCR1A = 250; } void delayMs(unsigne...
[ "noreply@github.com" ]
noreply@github.com
ab3727bca0c13968c3012271a100b39b0b93d7d8
5a552d420ce16f986769dc36777e24e794438e58
/rootscripts/k2pi.cpp
e6c40df86ca8b7bac05696c53f30a9385ba4ef5c
[]
no_license
francisnewson/hnuprocess
1379ff7f6bd1db0c17ebeb898b16977b43cc37e4
6139a1d7d2c6e2dd975eaf7e33f39525b888a4f6
refs/heads/master
2020-04-01T19:34:10.863826
2016-09-27T19:36:38
2016-09-27T19:36:38
30,983,514
0
0
null
null
null
null
UTF-8
C++
false
false
4,934
cpp
#include "TMath.h" #include <cmath> #include "TFile.h" #include "TTree.h" #include "TCut.h" #include "TH1F.h" #include "TSystem.h" #include <iostream> void k2pi() { gSystem->AddLinkedLibs( "-L /afs/cern.ch/user/f/fnewson/" "work/hnu/gopher/code/process/build03/k2pi" " -lk2pivar"); doub...
[ "fon@hep.ph.bham.ac.uk" ]
fon@hep.ph.bham.ac.uk
755d7fd50fcb2e185b90f90b59b0161325599a2d
50f7c8bd719e5e6eea2cebe86a941d0ce6eef8f5
/merge two sorted array wuthout extra space.cpp
b3f14ddb318a4285a7847e2f661cff6b1c3b4db8
[]
no_license
harshfulzele987/DSA
e3cc8b622ba0b685dde617f55ed8e76bc9d79394
7001b5be3f12db1f6a793770c7d570238e5d30a2
refs/heads/main
2023-05-01T14:28:59.525177
2021-05-25T19:11:35
2021-05-25T19:11:35
318,527,967
1
0
null
null
null
null
UTF-8
C++
false
false
693
cpp
#include<bits/stdc++.h> using namespace std; int main() { //code int t;cin>>t; while(t--){ int x,y; cin>>x>>y; int arr1[x]; int arr2[y]; for(int i=0; i<x; i++){ cin>>arr1[i]; } for(int i=0; i<y; i++){ cin>>arr2[i]; } int i=x-1; int j=0; f...
[ "harshfulzele987@gmail.com" ]
harshfulzele987@gmail.com
e1346f55ce35342980fc2559109a65aa609f98b9
c1e208cd1ddc960094c615844d8f11826e6daac9
/examples/chip-tool/commands/clusters/Commands.h
233cdf7db7d0965e99fe43da2c0c80f102f8d8dc
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
INNOTECH2020/connectedhomeip
7e77552fed6fa6d44cc377be280052e03d31070b
239153cf2a6bd13216002abd3bdcbb1f08dfed97
refs/heads/master
2023-03-16T09:41:50.476530
2021-03-08T17:40:03
2021-03-08T17:40:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
302,629
h
/* * * Copyright (c) 2021 Project CHIP Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
[ "noreply@github.com" ]
noreply@github.com
790cac105484b8878af338527d0fea9eff7c9910
cde82a3e0173514b868f8b07e7767e6802c43d14
/Projects/Project02/testgraph.cpp
d7d3fd1c9e65c24f78eb32ad7eca127f080f554a
[]
no_license
gerardogtn/Algorithms
aaa84f1249cd4bc217a6250fa0c647d0d50ff589
31a774001fe64328e9135c6ccbc0bdcb8bd6918e
refs/heads/master
2020-05-17T19:30:41.490383
2015-11-20T03:11:42
2015-11-20T03:11:42
41,504,729
0
0
null
2015-09-30T17:11:05
2015-08-27T18:43:24
C++
UTF-8
C++
false
false
13,823
cpp
#include <iostream> #include <iomanip> #include <chrono> #include <utility> #include <vector> #include <deque> #include <string> #include <fstream> #include <stack> #include <algorithm> #include <utility> #include <limits> #include "stdafx.h" #undef max class myVis { public: myVis() { } myVis...
[ "gerardogtn@gmail.com" ]
gerardogtn@gmail.com
34db4154b4298fd07f40ad73a9a8f572f2953d52
6115a3c414fd806dc4a8877c83a466f7d0f7acf2
/bankAccount.h
375b2ae118d05886b24b84b692a79fca97d1476a
[]
no_license
mike-b88/CS285Wk2
58e6779a45dcf460f61db5afad9cd20e5e621588
1d6c51dc0486001224df768d357f5bf656662615
refs/heads/master
2020-04-01T20:45:39.671186
2018-11-29T04:02:30
2018-11-29T04:02:30
153,619,345
0
0
null
2018-11-29T04:02:31
2018-10-18T12:21:58
C++
UTF-8
C++
false
false
898
h
#pragma once #include <string> //Class definition //with extra features, password implementation is user program is optional class bankAccount { public: void printAll() const; void getName() const; int getAccNum()const; void storeAccNum(); void getIntRate() const; void getAccTypes() const; //void compare(i...
[ "leeosam2017@protonmail.com" ]
leeosam2017@protonmail.com
88bb68b8028def4c8edd7820ef6c874a613b4eea
1af49694004c6fbc31deada5618dae37255ce978
/content/browser/accessibility/browser_accessibility_state_impl_android.cc
03f81c3078f129014e022cb4bc4198c74583c1f3
[ "BSD-3-Clause" ]
permissive
sadrulhc/chromium
59682b173a00269ed036eee5ebfa317ba3a770cc
a4b950c23db47a0fdd63549cccf9ac8acd8e2c41
refs/heads/master
2023-02-02T07:59:20.295144
2020-12-01T21:32:32
2020-12-01T21:32:32
317,678,056
3
0
BSD-3-Clause
2020-12-01T21:56:26
2020-12-01T21:56:25
null
UTF-8
C++
false
false
2,913
cc
// Copyright 2018 The Chromium 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 "content/browser/accessibility/browser_accessibility_state_impl.h" #include "base/android/jni_android.h" #include "base/metrics/histogram_macros...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
3c976f9ceda5c0788495f4c51be155e6d2553cd5
417f3c5f1df10a43fedde4600b141e5f850d7d6c
/424 - Integer Inquiry.cpp
e916a0b99c3dd59af4cf8b07dd14235b253c5463
[]
no_license
HSAkash/UVA
56ce6f7af2ab6186f3fbb153ab2473f3392677b0
849414cb8c3a4892df5bcdc8f2a444a6ad01b61a
refs/heads/master
2021-12-14T18:56:08.037131
2021-12-03T02:40:04
2021-12-03T02:40:04
250,986,090
1
0
null
null
null
null
UTF-8
C++
false
false
761
cpp
#include<stdio.h> int b[200]; int main() { int i,j,k,sum,a[200],l,temp,r,t=0,r2=0,r3; char s[250]; while(scanf("%s",s)){ for(i=0;i<200;i++)a[i]=0; for(i=0;s[i]>='0'&&s[i]<='9';i++){ a[i]=s[i]-'0'; } l=i; if(l==1&&s[0]=='0'){ for(i=...
[ "noreply@github.com" ]
noreply@github.com
96677fe5bf707b79b74cbb874ea2239549791a89
18bb98bfd36f63fd3b6f3443fc3f04b0a9228a59
/BackupDialog.h
cb47c62025ae2707023d00bee7464c23d2f9c3bd
[]
no_license
anzhsoft/Readings
c0909b540957aab9a8172a300d31e4c8c445dd56
72795df2556273ac168e8729ecae87b25e46d6c1
refs/heads/master
2020-04-06T05:21:43.719490
2014-01-04T11:18:39
2014-01-04T11:18:39
15,630,264
1
1
null
null
null
null
UTF-8
C++
false
false
1,526
h
#if !defined(AFX_BACKUPDIALOG_H__E53238C0_9F1C_49D2_AC3E_0AB50882319A__INCLUDED_) #define AFX_BACKUPDIALOG_H__E53238C0_9F1C_49D2_AC3E_0AB50882319A__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // BackupDialog.h : header file // //////////////////////////////////////////////////////////////////...
[ "anzhsoft@gmail.com" ]
anzhsoft@gmail.com
26efe7c68a457e2da81f9d270ef36611796b4722
1957f86d4539255fe7ffbcfe40ffbc4589b0a33c
/compileAttributes/PLNmodels/src/RcppExports.cpp
8ef0f1a0dc85d3ee4af33fe715445c8dd17b5ea5
[]
no_license
NAU-CS/RcppExports
fd9dc77f481bc50fec174f42f426535f49dcce3a
87d1b597283aa458c53110ade228b33cd95545ff
refs/heads/master
2022-07-26T10:32:13.235183
2022-07-08T16:56:58
2022-07-08T16:56:58
237,045,789
0
0
null
null
null
null
UTF-8
C++
false
false
6,455
cpp
// Generated by using Rcpp::compileAttributes() -> do not edit by hand // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #include <RcppArmadillo.h> #include <Rcpp.h> using namespace Rcpp; // optim_spherical Rcpp::List optim_spherical(arma::vec par, const arma::mat& Y, const arma::mat& X, const arma::mat& O, c...
[ "Toby.Hocking@nau.edu" ]
Toby.Hocking@nau.edu
950fc376b44e0bbff000b7d1b86a8d6836cf8809
252ed0371ecc0685a5027780b702fb864ae6a1b1
/Samples/Shared/CameraKsPropertyHelper/BackgroundSegmentationConfigCaps.cpp
ea979040af4eeefccfb450691d353db2a3c69f52
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
microsoft/Windows-Camera
64a6236ccdea904e1e962d6ac1abe18b637cc5e4
eb7bfd7b02fd3985ab4a187feb1187a0b0d56d94
refs/heads/master
2023-08-21T05:56:02.289672
2023-06-07T18:14:21
2023-06-07T18:14:21
128,274,185
134
58
MIT
2023-04-08T00:31:00
2018-04-05T23:09:58
C#
UTF-8
C++
false
false
164
cpp
// Copyright (c) Microsoft. All rights reserved. #include "pch.h" #include "BackgroundSegmentationConfigCaps.h" #include "BackgroundSegmentationConfigCaps.g.cpp"
[ "kasperi.summanen@microsoft.com" ]
kasperi.summanen@microsoft.com
f6af95fbe69e838f035e56f089ce400075f407d3
4fcf2967da46f37c831b72b7b97f705d3364306d
/problems/acmicpc_11773.cpp
5f895c621c2f5b01237e9ba550aa0017acc81ba3
[ "MIT" ]
permissive
qawbecrdtey/BOJ-sol
e2be11e60c3c19e88439665d586cb69234f2e5db
249b988225a8b4f52d27c5f526d7c8d3f4de557c
refs/heads/master
2023-08-03T15:04:50.837332
2023-07-30T08:25:58
2023-07-30T08:25:58
205,078,469
0
0
null
null
null
null
UTF-8
C++
false
false
498
cpp
#include <iostream> #include <string> #include <queue> using namespace std; int main(){ int a,b; scanf("%d%d",&a,&b); queue<string> q; q.push(""); int cnt=0; int const m=(a<(b/2)?(b/2):a); while(cnt<m){ string const now=q.front(); q.pop(); if(now.length()&&now.length(...
[ "qawbecrdtey@naver.com" ]
qawbecrdtey@naver.com
d55f451d21153c4cb32f973d51232c100151f298
587e191159ab12e577940251d14558939e602614
/verwrite/stockIT/app/src/main/include/Fuse.TranslationModes.WidthMode.h
ea0ec89cc67fea59f73e380e341bf37a4f2c61b1
[]
no_license
hazimayesh/stockIT
cefcaa402e61108294f8db178ee807faf6b14d61
809381e7e32df270f0b007a6afc7b394453d1668
refs/heads/master
2021-04-09T16:10:23.318883
2017-07-31T21:28:05
2017-07-31T21:28:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,118
h
// This file was generated based on 'C:\Users\Emenike pc\AppData\Local\Fusetools\Packages\FuseCore\0.43.11\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Fuse.ITransformMode.h> #include <Fuse.ITranslationMode.h> #include <Fuse.TranslationModes.SizeMode.h> namespace g{n...
[ "egaleme@gmail.com" ]
egaleme@gmail.com
aa3ab3f7750e7bf10708a08a57a560f61ac5fa69
b7d10ca34603bd4781202b816fe5eec201708094
/clean_ogre_cmake_project/Firefighters/GameObject.cpp
400b6b6fa0e8f96b9d8fd301b2524611b96ae164
[]
no_license
vic347/FireFighter
05af8d5dd84c5527c30d2a2963b860c355fb61f7
720531f46d8c82fc36ff9832a6b7853e535afc1b
refs/heads/master
2021-01-20T14:29:53.118705
2017-05-09T12:52:38
2017-05-09T12:52:38
90,620,470
1
0
null
null
null
null
UTF-8
C++
false
false
3,251
cpp
//||||||||||||||||||||||||||||||||||||||||||||||| #include "GameObject.hpp" #include "ObjectManagement.hpp" //||||||||||||||||||||||||||||||||||||||||||||||| using namespace Ogre; //||||||||||||||||||||||||||||||||||||||||||||||| /** Default constructor for GameObject * * \param mesh * \param materialName *...
[ "vila1@live.nl" ]
vila1@live.nl
90013220f6e3e2dbd42669fe1648b9bc30da3089
406fe3543dc160f046eac9a6fde40732e1b19b0a
/src/randoms/sobol.H
305caa230b757ff73a441b1f7d2e0340198e0ee9
[]
no_license
simw/opacity
16598883db92ca4d5b7ec565a5abab52fa39ea66
dee6408d5f9c2849a9c28d90282b4eb18520ab0c
refs/heads/master
2020-05-27T05:40:05.696142
2014-08-19T23:20:09
2014-08-19T23:20:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,103
h
namespace Sobol { // // 32 bit integer routines. // int i4_bit_hi1 ( int n ); int i4_bit_lo0 ( int n ); int i4_max ( int i1, int i2 ); int i4_min ( int i1, int i2 ); void i4_sobol ( int dim_num, int *seed, float quasi[ ] ); int i4_uniform ( int b, int c, int *seed ); unsigned int i4_xor ( unsigned int i, unsigned in...
[ "simw@users.noreply.github.com" ]
simw@users.noreply.github.com
3b19d36902bec8d2af2155507b3b6e8af5ad2438
e1c1a66df2844a73b8590df873693b6b6daaefd3
/(C++)ProblemSolving/ProblemSolving/[BOJ_2805]나무 자르기.cpp
58d30f2002acc3ce8bd13c6ffe67243bfc47659c
[]
no_license
SwimmingLee/ProblemSolving
0c61dc5ea7aa9e46319d3f02dca023f60ff869a7
21bcb6c526342b124c2ff74858f3cec9ac4577a5
refs/heads/master
2021-11-24T21:13:10.687022
2021-11-18T15:10:00
2021-11-18T15:10:00
244,309,231
0
0
null
null
null
null
UTF-8
C++
false
false
568
cpp
#include <iostream> #include <algorithm> using namespace std; int arr[1000000]; int main(void) { int n, length; cin >> n >> length; for (int i = 0; i < n; i++) cin >> arr[i]; int total = -987987987; int left, right, mid; left = 0; right = 1e9; while (left <= right) { mid = (left + right) / 2; long long...
[ "swimming_7291@daum.net" ]
swimming_7291@daum.net
a4c2b9920cb9351d2242df8c6d1c89c4679ea313
d1a8325badc20c344a586793593692c201c3f5e8
/sem1-2-cource1/QUEUE-CHEAT-DOC.cpp
f325c0b698bbc13e72a13832412879d988ba3948
[ "MIT" ]
permissive
yokkidack/bmstu
6aa378edcf5bcb191a7997b7155b0373dbd93e56
3533ac4cd5376b25c1f236ce606e3e2c28944244
refs/heads/master
2021-07-03T23:44:38.420172
2020-09-04T08:55:48
2020-09-04T08:55:48
165,707,061
1
3
MIT
2019-01-20T15:06:56
2019-01-14T17:47:01
null
UTF-8
C++
false
false
6,613
cpp
/* так реализована очередь в std */ template <class _Tp, class _Container /*= deque<_Tp>*/> class _LIBCPP_TEMPLATE_VIS queue { public: typedef _Container container_type; typedef typename container_type::value_type value_type; typedef typename container_type::reference ...
[ "mosgreyday@gmail.com" ]
mosgreyday@gmail.com
39cc51102c80b0fd6f724870a91e5a8f757dac04
1001817eed1a9e1dc8bbb89df8c52592dc5792e1
/src/codes/w_07/prng_util/20180423_2147/dist_test_beta.cc
d31ec2590471592eff4937bdced03530fe101ddf
[]
no_license
ninjalp/gtu-elec-433-631
031d736da72d9eaa5e1dee90bdfafaa0d0c47bd0
47ac2f31f14dab9a4b6877dac19e6a6bdf2ca8bf
refs/heads/main
2023-05-13T06:03:59.660704
2021-06-08T12:33:39
2021-06-08T12:33:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,389
cc
/* * This file is part of the "dev-in-place" repository located at: * https://github.com/osuvak/dev-in-place * * Copyright (C) 2018 Onder Suvak * * For licensing information check the above url. * Please do not remove this header. * */ #include "prng_static_ctor.hh" #include <iostream> #include <iomanip> #...
[ "suvako@gmail.com" ]
suvako@gmail.com
cb8791836a71b4d3a39c1fe30aeb2a429c2d0b05
47c25c6e4d6c6435b750207f741eb65015662669
/branches/build-system/arch/win32/include/pch.h
d338a2861073f7e7505a3af075cd6dc96f2b7852
[]
no_license
paud/d2x-xl
0e1ea14fa060e46503d0328692451da65d561192
7b5b1089a856647962e636c9d4bc8d2e977e5ddb
refs/heads/master
2021-01-21T02:11:13.027136
2009-08-23T12:13:44
2009-08-23T12:13:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
665
h
#define D3D_OVERLOADS #define WIN32_MEAN_AND_LEAN #if 0 class _Lockit { public: _Lockit () {} ~_Lockit () {} }; #define _Lockit ___Lockit #include <yvals.h> #undef _Lockit #endif #include <windows.h> #include <windowsx.h> #include <ddraw.h> #include <dinput.h> #include <d3d.h> #include <d3dtypes.h> #include <dsoun...
[ "pnordhus@users.sourceforge.net" ]
pnordhus@users.sourceforge.net
fc0364accda07d63b0c9af4ff2b4d304194d5b58
7d5537f9562461770451aead76ec1589a219cca2
/catkin_ws/devel/include/darknet_ros_msgs/BoundingBox.h
c39e51e38314a684922e21579889005f738abf9d
[]
no_license
sinsinsin00/KSS
5606820dde032abf424c43cc33264343a1b531cf
26393be824150b5fc6ace51e543da58b09468d74
refs/heads/master
2021-07-07T00:03:41.002098
2020-07-27T05:02:45
2020-07-27T05:02:45
156,021,380
0
0
null
null
null
null
UTF-8
C++
false
false
6,583
h
// Generated by gencpp from file darknet_ros_msgs/BoundingBox.msg // DO NOT EDIT! #ifndef DARKNET_ROS_MSGS_MESSAGE_BOUNDINGBOX_H #define DARKNET_ROS_MSGS_MESSAGE_BOUNDINGBOX_H #include <string> #include <vector> #include <map> #include <ros/types.h> #include <ros/serialization.h> #include <ros/builtin_message_trai...
[ "sinsinsin01@gmail.com" ]
sinsinsin01@gmail.com
6313a3fafa61360afb3d09623651a3f4b1e6a066
40a6ea8f4890c60a903b5051d861d8b26c3851e2
/BOJAlgorithm/1152단어개수.cpp
a0a24f13a456bf070af831970956064ff1ab3231
[]
no_license
golborneville/BOJAlgorithm
82acd3273a57f226efed09ac1fc0f4cb9f0e6deb
a19614d5d82cb1f73a8762bdf5600dcd5fcaa179
refs/heads/master
2021-07-20T02:22:44.853694
2021-05-06T11:02:06
2021-05-06T11:02:06
248,513,580
0
0
null
null
null
null
UTF-8
C++
false
false
590
cpp
#include <iostream> using namespace std; int main() { char string[1000003]; cin.getline(string, 1000003, '\n'); int i = 0, cnt =0; while (string[i] != '\0') { if (string[i] == ' ') { if (i > 0) { //b_ -> 1 cnt++; } else { // (blank) char ~~ //1. (only blank) if (string[i + 1] == '\0') { ...
[ "golborneville@gmail.com" ]
golborneville@gmail.com
fb917bb52e29c5d2344b094b2620948521b8ac2d
03bfe3a2d1bfa51c79582adbdb655ef2235c0118
/tests/tinytemplate_tests.cpp
fbdcef30a87749b582205f4294f02dd5c9967678
[ "MIT" ]
permissive
comargo/tinytemplate
0b37900adb6f30515192cb3c58cc29fd4dcca868
0182eb7acb029ce85eaf668323a24e71034f87bf
refs/heads/master
2021-01-19T23:19:32.493518
2017-04-21T12:59:38
2017-04-21T12:59:38
88,948,875
0
0
null
null
null
null
UTF-8
C++
false
false
3,790
cpp
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com #include <tinytemplate.hpp> #include <gtest/gtest.h> TEST(TinyTemplate, SimplePass) { std::string input = "test"; std::string expected = input; s...
[ "cyril@imperx.com" ]
cyril@imperx.com
47168d97cf72b8d697e34c82f65c6295a60de4ad
200b310a18514177117cda1d1faed81dbfaa3a3e
/devel/.private/bwi_msgs/include/bwi_msgs/SaveImageResponseResponse.h
18a781521effbc3b57923147d9af42f1d7b7cc6b
[]
no_license
YoheiHayamizu/rl_ws
c63aedd2dc539bd56398dd19eafe9932bc598040
7fdde2f72a3b9cbef585e218d568e8c44c2e374e
refs/heads/main
2023-08-16T09:29:33.289334
2021-10-23T20:59:08
2021-10-23T20:59:08
420,521,618
0
0
null
null
null
null
UTF-8
C++
false
false
5,646
h
// Generated by gencpp from file bwi_msgs/SaveImageResponseResponse.msg // DO NOT EDIT! #ifndef BWI_MSGS_MESSAGE_SAVEIMAGERESPONSERESPONSE_H #define BWI_MSGS_MESSAGE_SAVEIMAGERESPONSERESPONSE_H #include <string> #include <vector> #include <map> #include <ros/types.h> #include <ros/serialization.h> #include <ros/bu...
[ "hayamizu0111@gmail.com" ]
hayamizu0111@gmail.com
c7370eb221a46a55dae7e07e0726b26ed2723b00
bbfaf10487116a517a008d8520a312a1e593bd1c
/QT Creator/Practica 01 Email/Practica_01_email/mainwindow.h
e24f8149de0aeaed45671b282d99013e8df87881
[]
no_license
aldov500/CPP
e5256ce08df863a0fa73a383cdc56b95bb0735b2
350ebe5774bb13a583f7d57049c8b2ac4140c895
refs/heads/master
2023-04-10T03:31:21.742678
2021-04-04T23:13:49
2021-04-04T23:13:49
114,075,065
0
0
null
null
null
null
UTF-8
C++
false
false
867
h
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include "mainwindow.h" #include "ui_mainwindow.h" #include "mat2qimage.h" #include<qdebug.h> #include<opencv2/core/core.hpp> #include<opencv2/ml/ml.hpp> #include<opencv/cv.h> #include<opencv2/imgproc/imgproc.hpp> #include<opencv2/highgui/highgui.hpp> #include<opencv2/video/ba...
[ "aldo.vargas.meza94@gmail.com" ]
aldo.vargas.meza94@gmail.com
e24e17bfd2bce86cccaa386dbc21182da2c3c043
a0ec1d598e37fd2ed253076b2dfa3b06d1c10ece
/hw_pong/hw_pong.cpp
b72b4636da2bc543b5781257eab38c24dfb0d3c5
[]
no_license
kevinlin592/CS3113
b1d40f85401f21392d920e6f3aa77a73430ea052
d7aef5a3568ab99715629972e74a4c6ab64ae2ae
refs/heads/master
2020-12-24T14:56:21.903696
2015-01-02T22:22:45
2015-01-02T22:22:45
23,716,492
0
0
null
null
null
null
UTF-8
C++
false
false
4,081
cpp
//Simple 2 player pong imitation where the ball moves at a 45 degree angle //Use w and s to control player 1 //Use up and down to control player 2 //A trophy will signify the winner of the game //Press space whenever to reset the game #include "Header.h" GLuint LoadTexture(const char *image_path, GLenum format) { SD...
[ "kl1641@nyu.edu" ]
kl1641@nyu.edu
4a705b66d3f1d935cf40fe2bec35f3c9c8e31b97
9e7de3802e71b31eba3547d17372edc9c52b8029
/referenceswapping.cpp
f576a289d8b39f4f48e355df840982bdd794025e
[]
no_license
Sanket-landge/C-CPP-Hands-on
38253a5b8bb835d03cf9b930504b56d23c343c87
a409b27356cc40908190a957210c47d097925467
refs/heads/master
2023-07-18T01:26:44.709766
2021-08-25T11:47:29
2021-08-25T11:47:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
209
cpp
#include<iostream> using namespace std; void swap(int &, int &); main() { int a=20; int b=30; swap(a,b); cout<<"a="<<a<<"\tb="<<b<<endl; } void swap(int &p,int&q) { int temp; temp=p; p=q; q=temp; }
[ "sanketlandge568@gmail.com" ]
sanketlandge568@gmail.com
8784b52a76649350e92a4643e56687c4ec64f8c0
308c249a4fd0f452c7dc76337cffb8a03153b43e
/GameObject.cpp
a657d80457435209ae4f2e7859c9bec36b7d08a6
[]
no_license
LeeSamuel14/VietnameseRunner
407b69cd01d98e89ed2b8a4b3ba250d254218bb9
7d02dd1c45cc42dc79c30383295165208e29d407
refs/heads/master
2023-08-17T10:05:01.716435
2021-10-12T06:01:11
2021-10-12T06:01:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
308
cpp
#include "GameObject.h" Engine::GameObject::GameObject() : point {} { } Engine::GameObject::GameObject(int x, int y) { set_point(x, y); } Engine::Point Engine::GameObject::get_point() { return point; } void Engine::GameObject::set_point(int x, int y) { point.x = x; point.y = y; }
[ "lee140794@gmail.com" ]
lee140794@gmail.com
1612fd9dbd1acaeda50f8142fe75cbaf13266f96
8ff9613a68aa8e03e74bc1598f468d8b4a1f2056
/每日一题/day_1.cpp
3c9b41e8efa5822bb258eb0e2638ec1bb77bf3fe
[]
no_license
Angelsufeiya/CPP
d3a93ca5663db8c043c6069925f7cb54fa06504b
f65266a40bb9b71a5317c069c25e5022a227f801
refs/heads/master
2022-12-08T01:09:00.454190
2020-08-25T15:23:40
2020-08-25T15:23:40
204,861,646
0
0
null
null
null
null
GB18030
C++
false
false
2,578
cpp
//标题:组队竞赛 //牛牛举办了一次编程比赛, 参加比赛的有3*n个选手, 每个选手都有一个水平值a_i. //现在要将这些选手进行组队, 一 共组成n个队伍, 即每个队伍3人. //牛牛发现队伍的水平值等于该队伍队员中第二高水平值。 //例如 : //一个队伍三个队员的水平值分别是3, 3, 3.那么队伍的水平值是3 //一个队伍三个队员的水平值分别是3, 2, 3.那么队伍的水平值是3 //一个队伍三个队员的水平值分别是1, 5, 2.那么队伍的水平值是2 //为了让比赛更有看点, 牛牛想安排队伍使所有队伍的水平值总和最大。 如样例所示 : //如果牛牛把6个队员划分到两个队伍 //如果方案为 : ...
[ "Angelsufeiya@hotmail.com" ]
Angelsufeiya@hotmail.com
9a4b1c8ad121b8247f0e43e3c1139a1bf3976d04
21fb876e8ef8ff2ee56d7c7e7c836fcf2a00058f
/s1_designation.cpp
e1162698befea3a2ecc326b9f9593f3919f79742
[]
no_license
u2015s/EMS
4e6ea4181c0010584388fde9bc3d5da9fd6e5b04
a99692478075f18bd222120c8856e7b1ac4508ab
refs/heads/master
2021-03-27T06:50:01.889363
2020-04-06T12:03:24
2020-04-06T12:03:24
247,798,183
0
0
null
2020-04-01T13:00:06
2020-03-16T19:19:30
C++
UTF-8
C++
false
false
12,329
cpp
#include "s1_designation.h" #include "ui_s1_designation.h" #include <QMessageBox> S1_Designation::S1_Designation(QWidget *parent) : QMainWindow(parent) , ui(new Ui::S1_Designation) { ui->setupUi(this); if( (ui->stackedWidget->currentIndex()==0) || (ui->stackedWidget->currentIndex()==1) ) { ui-...
[ "rachitgoel99@gmail.com" ]
rachitgoel99@gmail.com
e4a1e493b91e3d1f7da5e15d94759e977a5e9e3e
996126a2ed07ab381b625c92be916f2607804db1
/プロジェクト/マスター版プロジェクト/source.ver.0.1/tutorial.cpp
52e454b0a8c23e9efaf89080e0b89d9699f062a0
[]
no_license
ReiKishida/KishidaStudio_Front_Line
10630cc57274b73d22d78639e7c53ae0c8a8dfc8
93694415975d032c27bd7d81a5d8ad2763c4687a
refs/heads/master
2020-09-10T00:58:36.353818
2020-02-06T00:40:50
2020-02-06T00:40:50
221,608,377
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
64,493
cpp
//============================================================================= // // ゲーム処理 [game.cpp] // Author : Takuto Ishida & Rei Kishida // //============================================================================= #define _CRT_SECURE_NO_WARNINGS #include "tutorial.h" #include "camera.h" #include "renderer.h...
[ "jb2017029@stu.yoshida-g.ac.jp" ]
jb2017029@stu.yoshida-g.ac.jp
0a73ef7030c7eba3e10775d8f57cbd0eb69a70fd
40c63e5b02391ef15b651a46c4119a5f76090b2a
/completed/Book02/Scene.cpp
f51395569181a66ea5fc2267decd372de235950b
[ "CC0-1.0" ]
permissive
mslinklater/GamePhysicsWeekend
48852d73b2ca1caaf41d002e4bb702a1eaedc8a0
9321befb1cf446884dd3dac3969e161a2d80385f
refs/heads/main
2023-07-03T11:15:27.666780
2021-08-08T20:36:59
2021-08-08T20:36:59
383,081,745
1
1
null
null
null
null
UTF-8
C++
false
false
22,654
cpp
// // Scene.cpp // #include "Scene.h" #include "Physics/GJK.h" #include "Physics/Contact.h" #include "Physics/Broadphase.h" #include "Physics/Intersections.h" /* ======================================================================================================== Scene ===========================================...
[ "mslinklater@gmail.com" ]
mslinklater@gmail.com
55cf134dacde92fecb32c10f64aed9eb64771c0b
6a185b29cadec3dd0d41223183de656bee2a9c66
/VoltmeterArduino/VoltmeterArduino.ino
595d9a9f103c49ea57f21a93cc7ce3259ef217ba
[ "MIT" ]
permissive
16paulob/VoltmeterArduino
736c412df1c2532339c59285743e451497ae061f
8dc326e2b6d7d0c490080cd76f128d9174f5c57c
refs/heads/master
2020-03-27T23:58:17.936864
2018-09-04T15:05:25
2018-09-04T15:05:25
147,093,348
0
0
MIT
2018-09-04T14:54:19
2018-09-02T14:39:24
C++
UTF-8
C++
false
false
3,751
ino
/* Autor: Paulo Borges * Data: 02 setembro de 2018 * E-mail: paulo2cs@gmail.com */ // Rótulo das entradas/saídas físicas #define VERDE 2 #define BOBINA 3 #define VERMELHO 4 #define ANALOGPILA 0 #define MONITORIA true // Delay(milisegundos) para o julgamento de chaveamento. #define TEMPO_ADICIONAL 1000...
[ "noreply@github.com" ]
noreply@github.com
e6fbc6d27f4b1362b2ff5fa5cc673e85d6834c94
2f329704f0b497c5751194697a9833011ea023ff
/hostcardemulation/src/BerTLV.h
119725414acdd3281d3bfef7d99577e58e49d868
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
jcmurray/Cascades-Community-Samples
7f5f9f04d46a5a94932947d507d93dc2273584af
4749d8105d1136b960784ae451cd78fca5377b4a
refs/heads/master
2020-04-03T16:46:29.260600
2016-01-25T20:03:01
2016-01-25T20:03:01
4,585,897
1
1
null
null
null
null
UTF-8
C++
false
false
2,153
h
/* * Copyright (c) 2011-2014 BlackBerry Limited. * * 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 ...
[ "jomurray@blackberry.com" ]
jomurray@blackberry.com
5bbaa65e90ca79d8fcd1d9084343f36cca50715e
366d1b9a999aaa856a325ae80268af20b995babe
/src/shogun/optimization/SMIDASMinimizer.h
3ebdaca049467bc638e3bc2d9783bc94326b8bba
[ "BSD-3-Clause", "DOC", "GPL-3.0-only" ]
permissive
karlnapf/shogun
bc3fcbeef377b8157bd8a9639211c2667b535846
eebce07a4309bb7e1d3a4f0981efd49e687533b6
refs/heads/develop
2020-04-05T22:46:38.369312
2019-07-09T08:59:14
2019-07-09T08:59:14
4,420,161
1
1
BSD-3-Clause
2018-09-04T10:50:41
2012-05-23T13:12:40
C++
UTF-8
C++
false
false
2,824
h
/* * Copyright (c) The Shogun Machine Learning Toolbox * Written (w) 2015 Wu Lin * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above...
[ "yorker.lin@gmail.com" ]
yorker.lin@gmail.com
2cddab3cddc3aee5443ad80e872849423b5c587a
51d3832a54890bcec32cdc1b0b67c7146271ae9b
/Undergrad/Year 5/Semester 2/60-340 (C++)/Assignment 5/ostoic_BinaryTrees.cpp
cad078db57e803a3ae5d9c7e3aca4ea43fc720b4
[ "MIT" ]
permissive
war-man/School
c645f586d91d03fa7e0727a37e6e19fc29c07311
dd78cc926ef65e4b6e04b56e948a5c9f3e15624c
refs/heads/master
2020-04-13T08:13:46.837023
2018-10-03T18:06:10
2018-10-03T18:06:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,370
cpp
// ostoic_BinaryTrees.cpp : Defines the entry point for the console application. #include "binary_tree.h" #include "employee_info.h" #include <string> #include <cctype> using command = void(*)(binary_tree<employee_info>&); void reset_cin() { std::cin.clear(); std::cin.ignore(std::numeric_limits<std::size_t>::max(...
[ "dinnertable@hotmail.ca" ]
dinnertable@hotmail.ca
e0f4abebbad981c72287da2e3cc394c5f66ae4f5
d687048405954a3360db43a13cca0fff25967318
/src/algo/GameNumber.hpp
c4e21450622e54cf7c9919b8398f9ce4fcfbd410
[]
no_license
starquell/bulls-and-cows-bot
ad54720ed1073ece911fb6aeb8bcb66dd3906f97
46db478341ed8b3e6df0721fe5273e87b4a10b90
refs/heads/master
2022-04-28T16:03:22.277540
2020-05-01T12:55:26
2020-05-01T12:55:26
257,039,934
0
0
null
null
null
null
UTF-8
C++
false
false
515
hpp
#pragma once #include <string> #include <optional> namespace game::algo { struct Number { std::string str; using IntegerRepr = unsigned; using SizeType = std::uint16_t; static auto from_int(IntegerRepr num, const SizeType length) -> std::optional<Number>; static auto wi...
[ "illia.gide@gmail.com" ]
illia.gide@gmail.com
7a1ac820fd199e7895b1c7f4576f118150233237
9e74c08ea413ae8c8b80f2581b59f0740fc4e050
/arduino/TTL/TTL.ino
dceee8f93077d4a212e5b15a9224a7fc594c1e37
[]
no_license
Cqxstevexw/mess_knowledge
4010fa299d4e8c9085af89010285a0b8253508f4
b17d9edfaacc794dfeb7d84d66f69023569a21ca
refs/heads/master
2020-04-09T01:49:04.563959
2019-10-07T02:44:43
2019-10-07T02:44:43
159,918,155
0
0
null
null
null
null
UTF-8
C++
false
false
734
ino
#include "Syn6288.h" Syn6288 syn; uint8_t text1[]={0xB3,0xC9,0xB6,0xBC,0xBC,0xAB,0xC8,0xA4,0xBF,0xC6,0xBC,0xBC,0xD3,0xD0,0xCF,0xDE,0xB9,0xAB,0xCB,0xBE}; //成都极趣科技有限公司 uint8_t text2[]={0x77,0x77,0x77,0x2E,0x64,0x66,0x72,0x6F,0x62,0x6F,0x74,0x2E,0x63,0x6F,0x6D,0x2E,0x63,0x6E}; //www.dfrobot.com.cn uint8_t text3[]={0x3...
[ "caiquanxian@youmi.net" ]
caiquanxian@youmi.net
50a62e4181b47ad472c0d83ff6272288a2676f69
70543ad95e8216a937fb7a56dc4ca63dd07e1ce3
/CPPExamples/MessageUtils/YahooConstants.h
506aaf8b440d43859488daff03f99f5de8b91c5c
[ "MIT" ]
permissive
tpayne/lang-examples
9ebc44a7b1399c696eba17af65de4e456b3dc9cb
966b196ae150ef87e3f803255503a8577fc054ff
refs/heads/master
2023-08-18T21:07:20.531649
2023-08-11T17:20:11
2023-08-11T17:20:11
93,518,664
1
0
MIT
2023-09-05T10:58:39
2017-06-06T12:58:29
C++
UTF-8
C++
false
false
1,948
h
/// /// YahooConstants.h /// MessengerUtils /// Created by Tim Payne on 24/09/2008. /// Copyright 2008 __MyCompanyName__. All rights reserved. /// /// @file #ifndef __yahooconstants_h__ #define __yahooconstants_h__ #include <set> #include <string> /// Protocol headers /// Yahoo services namespace YahooServi...
[ "tim.tpayne@gmail.com" ]
tim.tpayne@gmail.com
b92fe4e7d7eeae750b216003283459f24f649f3d
abd1bb0719402bfd67a72b876aa0afb0bac9e7ea
/MIDTERM1/StudentShare/linkedList2.cpp
27983f30e4f8537272afb0f4b26a08fcdd8e8dff
[]
no_license
Chimer2017/data_structures
ac71c98f1864931806efe74a9088560e0a79f652
3ef9eac62d74916e9ac260acd48b49daac7f33e8
refs/heads/master
2021-09-13T20:25:48.817758
2018-05-03T22:24:49
2018-05-03T22:24:49
119,078,759
0
0
null
null
null
null
UTF-8
C++
false
false
1,201
cpp
#include <iostream> using namespace std; struct Node { string item; Node *next; }; int main() { string a[] = {"uno", "dos", "tres", "cuatro"}; // for(int i = 0; i < 4; i++) // { // cout << a[i] << endl; // } Node *head, *current, *tmp; head = new Node; current = new Node; head->item = a[0]; head->ne...
[ "andrewgroovy@gmail.com" ]
andrewgroovy@gmail.com
b65c6ecba1737143019ac792ff14e1d7bf909ba7
63eb4de5d61c049e18366c2082977f581857ed19
/Classes/loading.cpp
519f6b1ea9a1ba6ca88de5927f067983b9644bbe
[]
no_license
zesr/TankWar
660e72f8ff9824ebbc271b28e9dcce2ce99dfee7
d123e0b3954afb7ebdf5ab3113bf9f7200074beb
refs/heads/master
2020-03-21T17:25:51.938779
2018-06-27T10:13:44
2018-06-27T10:13:44
138,831,408
0
0
null
null
null
null
GB18030
C++
false
false
1,454
cpp
#include"loading.h" GameData in; Loading::Loading() { } Loading::~Loading() { } bool Loading::init() { if (!Layer::init()) { return false; } Size visibleSize = Director::getInstance()->getVisibleSize(); Vec2 origin = Director::getInstance()->getVisibleOrigin(); //确定需要显示的文字 String temp; switch (in.mapTy...
[ "1394173891@qq.com" ]
1394173891@qq.com
97046d2aaa72e4d01cd05c04aa9783be6176b290
c436fc304da315ed7cfa4129faaba14d165a246e
/foundation/src/sqlite/SqliteRow.h
caaa54c48f257607eda5d00b7f343ac09436c60f
[]
no_license
wjbwstone/wstone
dae656ffff30616d85293bcc356ab7ab7cebd5ba
25da4de6900e6cc34a96a3882f1307b7a9bbf8b0
refs/heads/main
2023-02-17T16:44:50.679974
2021-01-20T05:53:24
2021-01-20T05:53:24
330,961,566
0
0
null
null
null
null
UTF-8
C++
false
false
590
h
#ifndef _SQLITE_ROW_2020_01_14_17_00_46_H #define _SQLITE_ROW_2020_01_14_17_00_46_H #include <helper/Types.h> #include "SqliteCell.h" namespace ws { namespace sqlite { class Row { public: Row() { _cells.reserve(20); } ~Row() { for(auto it : _cells) { delete it; } } inline u3...
[ "junbo.wen@enmotech.com" ]
junbo.wen@enmotech.com
e9de68af3cb5b7097f7ebc169b1dae50b8f9da6a
2cd2c16bf249179d64a42dcb97e0e1049e7f9cfc
/arkanoid/Ball.cpp
64688638f276fe07fdbcb8349a635d5017542317
[]
no_license
bratek20/PGK
5913edc77a5fc95cc8ee690a6e4385bf77437044
164c2e782ccf1af4e84fce438ca1ab8d188d5990
refs/heads/master
2020-04-01T20:59:51.854183
2019-01-30T12:14:36
2019-01-30T12:14:36
153,631,729
0
0
null
null
null
null
UTF-8
C++
false
false
587
cpp
#include "Ball.h" #include "Globals.h" Ball::Ball(MeshPtr mesh) : Actor(mesh) {} BallPtr Ball::create(float xVelocity, float yVelocity){ auto mesh = Mesh::create(Mesh::EQUILATERAL, Mesh::RED); auto ball = BallPtr(new Ball(mesh)); ball->setVelocity({xVelocity, yVelocity}); ball->setScale(0.42f, 0.42f);...
[ "bartoszrudzkilo14@gmail.com" ]
bartoszrudzkilo14@gmail.com
a6698ffdded7394e532c34dfac7ace0074401822
8f99599d341fdda1d4553452950b4832a630e812
/daily_coding/8/0818/1854.cpp
6bb5d83aab26181bedbd0868efa54b4d9384e4b9
[]
no_license
JJungwoo/algorithm
7fc8e76a51bd81c59a06393aa158286c45190366
faadecb499dad06cd4552e1cd8ea482206affeb5
refs/heads/master
2022-05-20T00:14:31.950576
2022-03-16T14:10:32
2022-03-16T14:10:32
222,277,844
1
0
null
null
null
null
UTF-8
C++
false
false
1,468
cpp
/* [boj] 1854. K번째 최단경로 찾기 https://www.acmicpc.net/problem/1854 ref : https://dyndy.tistory.com/230 */ #include <iostream> #include <vector> #include <queue> #define io ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL); using namespace std; int n, m, k, a, b, c; vector<pair<int, int> > vp[1001]; priority_...
[ "jungwoo5759@gmail.com" ]
jungwoo5759@gmail.com
e692aa12eb878485922821b48b3d02de6020ddc6
c8cc37acf00f2eda393e7185805cf0c622725e9a
/2020/D10_1.cpp
22efaa99eff101f9c5bb5b267d77e0cf0fb0baac
[ "MIT" ]
permissive
kociap/AoC
6effcb21da562ac5ae2227f3e55d2cd74705253a
9b7e231afe18c0dd5f3f3e4d325f2f21e7b4de55
refs/heads/master
2023-01-30T19:10:07.369369
2020-12-11T11:32:22
2020-12-11T11:32:22
318,447,398
0
0
null
null
null
null
UTF-8
C++
false
false
716
cpp
#include <iostream> #include <vector> #include <algorithm> using i64 = long long; int main() { std::vector<i64> adapters; while(true) { i64 a; std::cin >> a; if(!std::cin) { break; } adapters.push_back(a); } std::sort(adapters.begin(), adapters.en...
[ "noreply@github.com" ]
noreply@github.com
ef200c08c99ae237a2430dad89e345fff9e72eae
4c1d515719425db127ba5285b5be4f03af10d5a1
/UVa-Judge/UVa_12210.cpp
ef24a1b1304a32fb15ec4a5da2642442a1539c85
[]
no_license
matheusmtta/Competitive-Programming
26e51741332aed223b9231da33749940f5a1b977
e254b80090cc75bc213aad0a7957875842e90f1a
refs/heads/master
2023-04-28T18:08:51.417470
2023-04-24T21:09:00
2023-04-24T21:09:00
223,605,672
7
0
null
null
null
null
UTF-8
C++
false
false
780
cpp
#include <bits/stdc++.h> using namespace std; #define MOD 1000000007 #define INF (int)0x3f3f3f3f #define LINF (long long)0x3f3f3f3f3f3f3f3fll #define mp make_pair #define pb push_back typedef long int int32; typedef unsigned long int uint32; typedef long long int int64; typedef unsigned long long int uint64; int m...
[ "matheusaquino199@gmail.com" ]
matheusaquino199@gmail.com
1eb1dafba386c15805085590bcdedce13d2c9ef4
8bc0c9319c7e927c2409675c0f20757a55e6d699
/cbhdprocedure.cpp
1ca803f611614715f33d0a74090955e4863ea433
[]
no_license
dchechel/PlanowanieRuchuRobotow
53556d58242f405c178e43fa80ee4f257d5498c7
c9871ef207b093cac7bd18922a2a9ecdc8db3d84
refs/heads/master
2021-01-21T14:52:41.335976
2017-11-29T19:26:09
2017-11-29T19:26:39
95,348,046
0
0
null
null
null
null
UTF-8
C++
false
false
2,739
cpp
#include "cbhdprocedure.h" #include "mobilerobot.h" #include <iostream> #include <QVector> #include<functional> using namespace std; CBHDProcedure::CBHDProcedure(MobileRobot* mr, double t_arg, int N_arg, int s0_arg) : robot(mr),t(t_arg),N(N_arg),s0(s0_arg) { defaultPosition.resize(robot->q.size()); for (in...
[ "noreply@github.com" ]
noreply@github.com