blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
905 values
visit_date
timestamp[us]date
2015-08-09 11:21:18
2023-09-06 10:45:07
revision_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-17 19:19:19
committer_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-06 06:22:19
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-07 00:51:45
2023-09-14 21:58:39
gha_created_at
timestamp[us]date
2008-03-27 23:40:48
2023-08-21 23:17:38
gha_language
stringclasses
141 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
115 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
c9d17397d082756fe02189a735a71179167dd415
ac0642759c121158cbf00e2c8b08530b03337260
/src/PdnPinDumper/src/db/obj/frBlockObject.h
1f4e6953ddb0e460e93907a849296efbe268b8cd
[ "BSD-3-Clause", "Apache-2.0", "LicenseRef-scancode-unknown", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ax3ghazy/pdn
6dc1c594bc47be701b51cde24c812050586cfac0
a53aaf9620654fc799227f2f48d61eceb0322b36
refs/heads/master
2020-11-27T03:21:44.720248
2019-10-24T13:11:53
2019-10-24T13:11:53
229,285,794
0
0
BSD-3-Clause
2019-12-20T15:06:52
2019-12-20T15:06:51
null
UTF-8
C++
false
false
2,425
h
/* Authors: Lutong Wang and Bangqi Xu */ /* * Copyright (c) 2019, The Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of sour...
[ "mgwoo@unist.ac.kr" ]
mgwoo@unist.ac.kr
0828011928d0150867d216437bb11b8a9f474691
4f307eb085ad9f340aaaa2b6a4aa443b4d3977fe
/Bakaleinik.David/assignment5/Game.cpp
03c65fe9051a65a7b1eb430a80b6237ab0b60796
[]
no_license
Connellj99/GameArch
034f4a0f52441d6dde37956a9662dce452a685c7
5c95e9bdfce504c02c73a0c3cb566a010299a9b8
refs/heads/master
2020-12-28T10:29:19.935573
2020-02-04T19:41:09
2020-02-04T19:41:09
238,286,390
0
0
null
null
null
null
UTF-8
C++
false
false
4,572
cpp
#include "Game.h" #include "Unit.h" #include "System.h" #include "Timer.h" #include "GraphicsBuffer.h" #include "PerformanceTracker.h" #include "Animation.h" #include "GBufferManager.h" #include "UnitManager.h" #include "InputSystem.h" #include "EventSystem.h" #include "Event.h" //May be not needed #include "GameEvent....
[ "john.connelly@mymail.champlain.edu" ]
john.connelly@mymail.champlain.edu
254d758e1100f6b9182c87e3ca2e8dd0ee1ccb82
1c6c1b7f8ea652bed1a38306933f3bb115f4e94a
/examples/sycamore/sycamore_circ_slice_samples.cpp
007366b95c7191c70bd6cc27f1ef863c9da180fc
[ "BSD-3-Clause" ]
permissive
ORNL-QCI/tnqvm
67dd1dc48aecd482ed06ef83fe5e9df15aa79173
68a03ddce7bab7a584ab4f29ad30182607a25bf5
refs/heads/master
2022-11-04T23:51:08.823729
2022-10-21T05:31:32
2022-10-21T05:31:32
73,201,965
35
9
null
2022-05-20T03:28:28
2016-11-08T15:53:45
C++
UTF-8
C++
false
false
2,869
cpp
// Computes a single amplitude from a Sycamore circuit via full tensor contraction #include "xacc.hpp" #include <iostream> #include <fstream> #include <numeric> #include <cassert> // Initial state: const std::vector<int> INITIAL_STATE_BIT_STRING(53, 0); std::string bitStringVecToString(const std::vector<int>& in_vec) ...
[ "nguyentm@ornl.gov" ]
nguyentm@ornl.gov
c41e95ac2ffbf325a553d78ece698a1c29c94410
b71b8bd385c207dffda39d96c7bee5f2ccce946c
/testcases/CWE401_Memory_Leak/s02/CWE401_Memory_Leak__new_array_struct_twoIntsStruct_14.cpp
457b5e71c5352444d0f775bb9ef89330e9669979
[]
no_license
Sporknugget/Juliet_prep
e9bda84a30bdc7938bafe338b4ab2e361449eda5
97d8922244d3d79b62496ede4636199837e8b971
refs/heads/master
2023-05-05T14:41:30.243718
2021-05-25T16:18:13
2021-05-25T16:18:13
369,334,230
0
0
null
null
null
null
UTF-8
C++
false
false
4,309
cpp
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE401_Memory_Leak__new_array_struct_twoIntsStruct_14.cpp Label Definition File: CWE401_Memory_Leak__new_array.label.xml Template File: sources-sinks-14.tmpl.cpp */ /* * @description * CWE: 401 Memory Leak * BadSource: Allocate data using new[] * GoodSource: Point data...
[ "jaredzap@rams.colostate.edu" ]
jaredzap@rams.colostate.edu
1efe9cebf2b76644ab1bab84bb94897935ab05ef
a37963cee6a482275b089922375a60b3819d8072
/tdw/SupportTDW/TiledDisplayWallTag.h
074f2513fb49ceae17f6d6703377efa432480bf6
[]
no_license
njun-git/kvs
f639ab36df290d308531d1538066739b8ca265e6
ae15b5dc2b50f9ff8fb5090bdd41fc1b496cada3
refs/heads/master
2021-01-23T07:03:20.287011
2012-02-14T06:53:59
2012-02-14T06:53:59
2,502,777
2
0
null
null
null
null
UTF-8
C++
false
false
1,435
h
/* * TiledDisplayWallTag.h * * * Created by njun on 11/07/09. * Copyright 2011 Jun Nishimura. All rights reserved. * */ #ifndef KVS__KVSML__TILED_DISPLAY_WALL_TAG_H_INCLUDE #define KVS__KVSML__TILED_DISPLAY_WALL_TAG_H_INCLUDE #include <kvs/XMLNode> #include <Core/FileFormat/KVSML/TagBase.h> #include <kvs/...
[ "njun3196@gmail.com" ]
njun3196@gmail.com
0979f92e8bc336cf398875f5635b9834484e7b05
9a455973f60ce048eed15d3c71f60e81161a09c7
/src/common/conparser/implementations/jiangming/rules/csubjpass.cpp
540aa9026532c4ba654da3a9908500ce7dfe5bde
[]
no_license
SUTDNLP/ZPar
4e2e87b874a2d2ca8c1f8aec854698d35ed3b307
0d07078be45151b4dfc5cda82cfd16c9765f0b63
refs/heads/master
2021-05-04T10:33:24.955650
2016-10-15T10:28:06
2016-10-15T10:28:06
45,964,664
11
5
null
null
null
null
UTF-8
C++
false
false
6,348
cpp
//"S < (SBAR|S=target !$+ /^,$/ $++ (VP < (VP < VBN|VBD) < (/^(?:VB|AUXG?)/ < " + passiveAuxWordRegex + ") !$-- NP))", bool csubjpass1(const unsigned long &cons){ if (cons==PENN_CON_S){ CStateNodeList* childs=node.m_umbinarizedSubNodes; while(childs!=0){ const CStateNode* ta...
[ "jmliunlp@gmail.com" ]
jmliunlp@gmail.com
14d61b0b2edbfff5e86104944f894d1b24c37535
c744852d48fa2be04d0ff8b0aa25f01bbcd4f585
/PowerController.h
2e4b871959e2249fff9c3305c1bf49d9c0b810be
[]
no_license
minxiviii/gppc
3e10d8fa58ac09e45f3464743c9a6a4b22bafee5
a0d54a3afcecaf6c1bd671dcabd3d938a7c0d14b
refs/heads/master
2023-03-02T04:59:51.687459
2021-01-26T02:22:10
2021-01-26T02:22:10
324,851,783
0
0
null
null
null
null
UTF-8
C++
false
false
1,790
h
#pragma once #include ".\serial\CSerial.h" #include "CommandModel.h" /********************* PowerPort *********************/ class PowerPort { private: PowerPort(); uint32_t m_dwPortNumber; vector<CommandModel> m_schedule; HANDLE m_hScheduleThread; HANDLE m_hSemaphore; BOOL m_bThreadRun; BOOL m_bStart; stri...
[ "minxiviii@gmail.com" ]
minxiviii@gmail.com
1041c7d0cb1cc87240b9361208cba21b0ecb699b
49d55bf89ed481762dd7ad07627ea56147e12f22
/Command.h
9729f9cd533d8264eb1608055c61d022e6981efe
[]
no_license
renanaMalkiel/millStone
44291192b1029c9aed3bc950714c23b00ca67423
363567b31d1152b2827eb6ba4c5fd3eb73206d03
refs/heads/master
2020-04-11T08:37:35.196011
2018-12-17T17:01:56
2018-12-17T17:01:56
161,650,123
0
1
null
null
null
null
UTF-8
C++
false
false
260
h
// // Created by renana on 12/13/18. // #ifndef MILLSTONE_COMMAND_H #define MILLSTONE_COMMAND_H #include <iostream> #include <vector> using namespace std; class Command{ public: virtual void doCommand(vector<string>) = 0; }; #endif //MILLSTONE_COMMAND_H
[ "8renana@gmail.com" ]
8renana@gmail.com
65d1271fe2ab5c4fc8297c1f86b6cefb0e499dcb
5db22247ed9ee65139b87c1ed28108cd4b1ac6e5
/Classes/Native/mscorlib_System_Console3734986830.h
29b0bd4ebdf7a8111632cea3d3ff23d999ec5bd6
[]
no_license
xubillde/JLMC
fbb1a80dc9bbcda785ccf7a85eaf9228f3388aff
408af89925c629a4d0828d66f6ac21e14e78d3ec
refs/heads/master
2023-07-06T00:44:22.164698
2016-11-25T05:01:16
2016-11-25T05:01:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,500
h
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> // System.IO.TextWriter struct TextWriter_t1448322145; // System.IO.TextReader struct TextReader_t657369457; // System.Text.Encoding struct Encoding_t2125916575; #in...
[ "zhaolibo@zhaolibodeiMac.local" ]
zhaolibo@zhaolibodeiMac.local
ac26858fd0a4f5734733778df566d3723f34a5f7
be8e47adaf8f46248b4d1887ba235733c2e45879
/incdec.cpp
f86002c962529c4bd618944d9c5a1b9df10ff492
[ "MIT" ]
permissive
riyadhalnur/C-plusplus-codes
7137bf8348e8b2927f50b274d86dc039da6ad616
662f5f4be5fb73f1c8d3f4c370093997c9289dc7
refs/heads/master
2016-09-06T00:21:49.957768
2015-12-05T10:28:39
2015-12-05T10:28:39
40,323,682
0
0
null
2015-12-05T10:28:39
2015-08-06T19:45:07
C++
UTF-8
C++
false
false
292
cpp
#include <iostream> using namespace std; int main() { int a, b=0, c=0; a = b++ + c++; cout << a << ", " << b << ", " << c << "\n"; a = ++b + c++; cout << a << ", " << b << ", " << c << "\n"; a = --b + c--; cout << a << ", " << b << ", " << c << "\n"; return 0; }
[ "riyadhalnur@verticalaxisbd.com" ]
riyadhalnur@verticalaxisbd.com
a545f234bee929cfbedc29e56ce17a01f1dd1766
1fa9bcfa1f366af818cbd474e0339965d849b51f
/src/util/dilate_erode.hh
1b5880748aac7beee3f6552b829ae0d5bab12c6e
[]
no_license
stanford-stagecast/compositor
a092d3c2c6ac34ffd2d0f5a25ccd53a828691136
29d4a47a86655128ae094b8e66e709ee69d7d5fa
refs/heads/master
2023-04-09T16:52:44.472853
2021-04-22T19:57:01
2021-04-22T19:57:01
298,700,836
0
1
null
2021-02-13T00:16:04
2020-09-25T23:38:42
C++
UTF-8
C++
false
false
1,139
hh
/* -*-mode:c++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ #ifndef DILATE_ERODE_HH #define DILATE_ERODE_HH #include "util/raster.hh" class DilateErodeOperation { private: uint16_t width_, height_; int distance_ {}; bool is_dilation_ { distance_ > 0 }; TwoD<uint8_t> intermediat...
[ "yifengl@stanford.edu" ]
yifengl@stanford.edu
b79ad0baede9265e9598eb53695f838b0b591bef
1ed5f26b3e24e566f2e402503eff841c8ada70de
/Module-3/light-controlled-blink.ino
5f4df0b60488b523e95fd3fc7afa4848602941d9
[]
no_license
GalileoWorkshop/IESC
c9abbbd42f9b2fcd30eff7113bc0e7ef564d0cbc
4afc840bcb00d1805d5efcdf69dcef8d2fc2b85f
refs/heads/master
2021-01-20T10:06:33.603480
2014-07-28T23:22:25
2014-07-28T23:22:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
960
ino
/*  Analog Input Demonstrates analog input by reading an analog sensor on analog pin 0 and turning on and off a light emitting diode(LED) connected to digital pin 13. The amount of time the LED will be on and off depends on the value obtained by analogRead(). */ int photo = A0; // select the input pin for the potenti...
[ "sherwin.remo@gmail.com" ]
sherwin.remo@gmail.com
a4dba0375624de90bfb0f66a2085a1193daad39e
df6a7072020c0cce62a2362761f01c08f1375be7
/include/oglplus/texture_target.hpp
a656abad6f2147b9a54e564534fcacf68d3f0215
[ "BSL-1.0" ]
permissive
matus-chochlik/oglplus
aa03676bfd74c9877d16256dc2dcabcc034bffb0
76dd964e590967ff13ddff8945e9dcf355e0c952
refs/heads/develop
2023-03-07T07:08:31.615190
2021-10-26T06:11:43
2021-10-26T06:11:43
8,885,160
368
58
BSL-1.0
2018-09-21T16:57:52
2013-03-19T17:52:30
C++
UTF-8
C++
false
false
775
hpp
/** * @file oglplus/texture_target.hpp * @brief Texture target enumeration * * @author Matus Chochlik * * Copyright 2010-2019 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #pragma ...
[ "chochlik@gmail.com" ]
chochlik@gmail.com
71988f8c6ddb118ad8a6d12d7b46e42d3b0a99e3
8a9de9939503b1f75aa744382935663c3d6e63c2
/Kids With the Greatest Number of Candies.cpp
6875d53baf5468fefb5e4c09b884fa5b9c8ca33b
[]
no_license
eecheng87/LeetCode
cd9d91178a3feeb6aa2cd961c568d2369832b6a6
768537fcf4d7567fd7f7755424b5cb0779addbaa
refs/heads/master
2021-07-11T21:19:31.420880
2020-07-25T03:14:54
2020-07-25T03:14:54
175,143,565
0
0
null
null
null
null
UTF-8
C++
false
false
403
cpp
class Solution { public: vector<bool> kidsWithCandies(vector<int> &candies, int extraCandies) { int m = -1; for (auto i : candies) m = max(m, i); vector<bool> ans(candies.size(), false); for (int i = 0; i < ans.size(); i++) { if (candies[i] + extra...
[ "yucheng871011@gmail.com" ]
yucheng871011@gmail.com
c80aa12b5700dfca0421f48c298a1f544857c68d
d754ba23c8ff391ce9dcefcfae3b90cef16ecde0
/DMOJ/BackToSchool/bts19p4.cpp
6a74be629357edab5751a8be626e9ef718da72b2
[]
no_license
TruVortex/Competitive-Programming
3edc0838aef41128a27fdc7f47d704adbf2c3f38
3812ff630488d7589754ff25a3eefd8898226301
refs/heads/master
2023-05-10T01:48:00.996120
2021-06-02T03:36:35
2021-06-02T03:36:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
845
cpp
// full solution #include <bits/stdc++.h> using namespace std; int main() { int n, m; scanf("%i%i", &n, &m); assert(1 <= n && n <= 100000); assert(1 <= m && m <= 1000000000); vector<long long> arr(n); for (auto &x : arr) scanf("%lli", &x), assert(1 <= x && x <= m); sort(arr.begin()...
[ "evanzhang1028@hotmail.com" ]
evanzhang1028@hotmail.com
dbd20a431c30911c883cee103de558af1141bc2e
feabb02a9f72d59935fb9dffa73d0a926c0d4072
/source/anim.h
f10d39c03babf7474c615f624892694f64282d07
[]
no_license
titangate/SEttlers-of-Apocalypse
3b007de5b1aba02f18b2662fa13f3e94fae385bc
fdd30c5a4de1260b4ef842253f43d2edca53c023
refs/heads/master
2020-04-27T04:44:53.929091
2013-01-12T23:41:14
2013-01-12T23:41:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,137
h
#ifndef ANIMATION_H #define ANIMATION_H #include "widget.h" #include <string> #include <vector> template <class T> class Anim; using namespace std; typedef double (*STYLEFUNC)(double time_e,double start,double interval,double time) ; extern map<string, STYLEFUNC> stylefs; double linear(double t,double b, double c, do...
[ "titangate1202@gmail.com" ]
titangate1202@gmail.com
2f70b521ccdcca8d45ba7b29550449838f173d5d
09a20466c1650ab4beb6554ceabc8649a7540c06
/core/src/api/BoolCallback.hpp
54dd069cf99763e66fb754a3bbdd806fbe0ffe6d
[ "MIT" ]
permissive
LedgerHQ/lib-ledger-core
2f1153655ed7c116b866d2b21920a8a3017f5d96
ad1e271b5f61e92f663ff08c337acc8b107fc85f
refs/heads/main
2023-07-09T18:24:41.408616
2023-07-06T13:09:06
2023-07-06T13:09:06
68,716,694
99
99
MIT
2023-06-30T08:36:20
2016-09-20T13:51:06
C++
UTF-8
C++
false
false
1,003
hpp
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from callback.djinni #ifndef DJINNI_GENERATED_BOOLCALLBACK_HPP #define DJINNI_GENERATED_BOOLCALLBACK_HPP #include "../utils/optional.hpp" #ifndef LIBCORE_EXPORT #if defined(_MSC_VER) #include <libcore_export.h> #else #define...
[ "khalil.bellakrid@ledger.fr" ]
khalil.bellakrid@ledger.fr
3053c0eeed5e12bba33ef2628beabc32f0563ca6
ef25bd96604141839b178a2db2c008c7da20c535
/src/src/Engine/Core/Math.h
dbe1915e821ff2ee32a64b485ecbf3bae4301227
[]
no_license
OtterOrder/crock-rising
fddd471971477c397e783dc6dd1a81efb5dc852c
543dc542bb313e1f5e34866bd58985775acf375a
refs/heads/master
2020-12-24T14:57:06.743092
2009-07-15T17:15:24
2009-07-15T17:15:24
32,115,272
0
0
null
null
null
null
ISO-8859-1
C++
false
false
1,566
h
#ifndef _CROCKENGINE_MATH_H_ #define _CROCKENGINE_MATH_H_ //****************************************************************** #include <math.h> #include <d3dx9math.h> #include "Types/Types.h" #include "Types/Crc32.h" #include "Types/Vector.h" #include "Types/Color.h" //******************************...
[ "mathieu.chabanon@7c6770cc-a6a4-11dd-91bf-632da8b6e10b" ]
mathieu.chabanon@7c6770cc-a6a4-11dd-91bf-632da8b6e10b
d4b820979a41daec69d97dfc9f218af5b3b12bac
9ca51d1ee38b5157c11685b348ba58602c837d6a
/ch03/ex03_03.cpp
e8d3a2eca6253baf8ca1ff774fa01b50ba5fe0d2
[]
no_license
HLPJay/C-PrimerPlusTest
54fdc41e809e0bd707bc430b1dca3ade2faee6bc
bd08d23210b1947c7dd24d5ae974df5ec1136b6a
refs/heads/master
2020-06-29T14:21:34.451932
2019-09-19T09:30:32
2019-09-19T09:30:32
200,559,949
1
0
null
null
null
null
UTF-8
C++
false
false
827
cpp
/*********************************** 输入:纬度,(度,分,秒) 1度 = 60 分 1分 = 60 秒 输出:以度为单位表示输出 ************************************/ #include <iostream> using namespace std; const int degrees_to_minute = 60; const int min_to_second = 60; int main(void) { float degrees; float minutes; float seconds; float result_degrees...
[ "yun6853992@163.com" ]
yun6853992@163.com
c2ba930978d6c2703fba0a5548a729a13ce88b78
25b4dd9f69cf72b33ce6ce90319b9071fbb82122
/neuron.h
6f1c04b35e19fba2eac39ddaaccf95ba5282ee13
[]
no_license
Noorquacker/ScratchNN
659d376fadc890388d4cbe52a5f588057841ea6c
4d79d0deaf67bce273ffaba5804d973340698de7
refs/heads/main
2023-08-11T20:01:17.642436
2021-09-23T04:39:07
2021-09-23T04:39:07
409,446,173
0
0
null
null
null
null
UTF-8
C++
false
false
753
h
#ifndef NEURON_H #define NEURON_H class Neuron { public: Neuron(Neuron* inputs, unsigned int size_inputs); float (*Activate)(float in); void Compute(); static float sigmoid(float in); float getOutput(); float* getWeights(); float getWeight(unsigned int n); void setWeight(unsigned int n, float w); v...
[ "noorquacker@nqind.com" ]
noorquacker@nqind.com
aba0d155814867d42807bb7318fc426bf9b25542
9f08a953fb4eb719fd003221640165ee4074973d
/Validation/MuonCSCDigis/src/CSCCorrelatedLCTDigiValidation.cc
c609e959b5caadd59e2d77bb953a802844ddc827
[ "Apache-2.0" ]
permissive
suhokimHEP/cmssw
5270877fe2be2b1ac9c137cda041d797e96cd129
4102974e760db0f758efcb696b2d3e5c10d52058
refs/heads/master
2021-11-23T06:46:55.465132
2021-11-18T21:09:42
2021-11-18T21:09:42
158,607,069
0
0
Apache-2.0
2019-06-04T19:24:42
2018-11-21T21:16:19
C++
UTF-8
C++
false
false
5,352
cc
#include "DataFormats/Common/interface/Handle.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "Validation/MuonCSCDigis/interface/CSCCorrelatedLCTDigiValidation.h" #include "DQMServices/Core/interface/DQMStore.h" #include "Geometry/CSCGeometry/interface/CSCGeometry.h" #include "Geometry/CSCGeometr...
[ "sven.dildick@cern.ch" ]
sven.dildick@cern.ch
bd27e3d61eed45f02610be79bae8619d76f1528f
46bf7c5fcdfdf69c6ea70c170dad286a4b327149
/KMPAL/kaml.cpp
ac1d21fd0521865bc01ce6f887b21883eeb80f68
[]
no_license
Arbusz/Data-Structure-C
37cdf045851119f11f2bcba10a0560d4e8826699
310860b74dab18c3549cb97bcf0350696eb8344f
refs/heads/master
2021-08-29T23:15:50.732986
2017-12-15T07:50:58
2017-12-15T07:50:58
103,737,049
0
0
null
null
null
null
UTF-8
C++
false
false
2,743
cpp
//// //// Created by arbus on 2017/10/25. //// // //#include <iostream> //using namespace std; // //void getNext(string pat, int next[]){ // int q,k; // int m = pat.size(); // next[0]=0; // for(q=1,k=0;q<m;++q){ // while(k>0&&pat[q]!=pat[k]) // k=next[k-1]; // if(pat[q...
[ "arbuszg@gmail.com" ]
arbuszg@gmail.com
1fab0291e2754878d0abb2a9e360c3fa9bde5abe
2bf6bb1fc700405bf9c050163328f74bb814f109
/src/activemasternode.cpp
3af9db7e9ac339ea2427d99fa692de018ee19dc5
[ "MIT" ]
permissive
trepcorick/trepco
76a1e543f228fd741c7917f3bbf9f321f2c61a34
e3d6deb833c9ee44eb717ae73887f99d72f277e4
refs/heads/master
2020-03-28T17:33:46.936919
2018-09-15T07:11:28
2018-09-15T07:11:28
148,801,788
0
0
null
null
null
null
UTF-8
C++
false
false
18,391
cpp
// Copyright (c) 2014-2016 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2018 The Trepco developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "activemasternode.h" #include...
[ "support@trepco.io" ]
support@trepco.io
979b45a6b9290742351a311484959858520311fe
f0d902356e4cc914337892194079fee52410838a
/src/signet.cpp
a29f89b58e7b9c773dcd20aa78c2f6a3d9baa2f1
[ "MIT" ]
permissive
thebevrishot/bitcoin
9061d74fecb198e9d9d67ff4a6b6e46ece57752b
d692d192cda37fda6359ad0736b85de20383db73
refs/heads/master
2021-07-04T08:55:27.794876
2020-09-22T15:08:00
2020-09-22T15:08:08
175,374,217
0
0
MIT
2019-03-13T08:04:59
2019-03-13T08:04:58
null
UTF-8
C++
false
false
5,567
cpp
// Copyright (c) 2019-2020 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <signet.h> #include <array> #include <cstdint> #include <vector> #include <consensus/merkle.h> #include <consensus...
[ "karljohan-alm@garage.co.jp" ]
karljohan-alm@garage.co.jp
bef74489439d5bd0676cdf15b4496a6b112fc737
5e6910a3e9a20b15717a88fd38d200d962faedb6
/AtCoder/nomura2020/a.cpp
3e4c299fc99aa19335419b1d0e25370a434040ce
[]
no_license
khaledsliti/CompetitiveProgramming
f1ae55556d744784365bcedf7a9aaef7024c5e75
635ef40fb76db5337d62dc140f38105595ccd714
refs/heads/master
2023-08-29T15:12:04.935894
2023-08-15T13:27:12
2023-08-15T13:27:12
171,742,989
3
0
null
null
null
null
UTF-8
C++
false
false
489
cpp
// We only fail when we stop trying #include <bits/stdc++.h> using namespace std; #define pb push_back #define mp make_pair #define endl '\n' #define D(x) cerr << #x << " = " << (x) << '\n' #define sz(x) ((int)(x).size()) #define all(x) (x).begin(), (x).end() #define rall(x) (x).rbegin(), (x).rend() typedef long long l...
[ "khaled.sliti@supcom.tn" ]
khaled.sliti@supcom.tn
f1d33a39a2f09fae8490320733389ad1b0a3fb48
eca262d076c873069d536011970d5a85d6a59405
/core/sample-vpDebug.cpp
b6cb91e7ba26621abd27f2000b23a66672dbb9b3
[]
no_license
lagadic/visp_sample
b2ed331f4a3e97f42e30eaf2677f10d06090f80e
021d1c2435c38491407b687f35ba3c8858a77019
refs/heads/master
2023-07-10T05:17:07.106467
2023-07-01T06:31:55
2023-07-01T06:31:55
238,434,368
2
2
null
2023-07-01T06:45:22
2020-02-05T11:28:26
C++
UTF-8
C++
false
false
1,205
cpp
#ifndef VP_DEBUG # define VP_DEBUG // Activate the debug mode #endif #define VP_DEBUG_MODE 2 // Activate debug level 1 and 2 #include <visp3/core/vpDebug.h> int main() { vpIN_FCT("main()"); // Check the active debug levels std::cout << "Debug level 1 active: " << vpDEBUG_ENABLE(1) << std::endl; std::co...
[ "Fabien.Spindler@inria.fr" ]
Fabien.Spindler@inria.fr
bb7bc2b28a015441a296862b3dd1bdc90617a22a
03ba325820c997599beff5add437d35347a953aa
/source/utopian/core/renderer/jobs/GeometryThicknessJob.h
428fee7f1e0edf93c9d5139cfa13b3ab2d8b226d
[ "MIT" ]
permissive
simplerr/UtopianEngine
cc13a43279bd49f55136120cf75c8c8d5fcff705
b7c38df663a4b6b2fa1d7c9f1f83dfc661de1a9a
refs/heads/master
2022-10-12T12:03:19.166812
2022-09-28T05:48:31
2022-09-28T05:48:31
77,483,702
64
7
null
null
null
null
UTF-8
C++
false
false
826
h
#pragma once #include "core/renderer/jobs/BaseJob.h" namespace Utopian { /* Renders copies of the deferred job output images needed by other jobs, transparency for example. */ class GeometryThicknessJob : public BaseJob { public: GeometryThicknessJob(Vk::Device* device, uint32_t width, uint32_t heig...
[ "axel.blackert@gmail.com" ]
axel.blackert@gmail.com
2993755e833a1f553de5b80c0ce71aa28ea14e28
4cc18df781a2ffac6be612f04834f02fccfa7e31
/20170510/bo/threadpool/testThreadpool.cc
ce6fed0d99c788ac27de1cd841821d634ec8cd33
[]
no_license
heartinharbin/learncpp
db5e616a3727376ca6370044b2b99d2f7e3b92e5
5d2cddc069b0c5b1342041388121776e3e0239b5
refs/heads/master
2021-01-19T11:09:26.626356
2017-05-16T14:22:34
2017-05-16T14:22:34
87,933,541
2
0
null
null
null
null
UTF-8
C++
false
false
485
cc
/// /// @file testThreadpool.cc /// @author heartinharbin /// @date 2017-05-13 15:14:05 /// #include "Threadpool.h" #include "Buffer.h" #include "Task.h" #include <unistd.h> #include <time.h> #include <stdlib.h> #include <iostream> using std::cout; using std::endl; int main(void){ wd::Threadpool thread...
[ "791365914@qq.com" ]
791365914@qq.com
8ff4baed26c298541e2b05429bc7dd0e15acb22e
6b03fa64ebaf51f4ba45ef325deff5ecaddded9f
/softlight/src/SL_BoundingBox.cpp
61508829ba7369d65c2db846d942e9ec3a2d25ad
[ "MIT" ]
permissive
hamsham/SoftLight
e28219ab57c992573477166100ec3ae259b94a1e
b1f7ae60ee9e9cbf38473912757e0fbc569474c3
refs/heads/master
2023-07-27T06:29:04.699524
2023-07-18T07:14:37
2023-07-18T07:14:37
148,108,300
34
5
MIT
2021-12-03T05:03:07
2018-09-10T06:21:23
C++
UTF-8
C++
false
false
61
cpp
#include <utility> #include "softlight/SL_BoundingBox.hpp"
[ "mileslacey@gmail.com" ]
mileslacey@gmail.com
3eaec138a64dfa1330d0273a0248370aad434aff
269e13a077d3ef90d4c352249fb6e32d2360a4ec
/leetcode/string/1529-Bulb-Switcher-IV.cpp
f56b13b6fca9d79eb42840f36ee85eefb0208bc7
[]
no_license
luckyzahuo/Snorlax
d3df462ee484ecd338cde05869006f907e684153
51cf7e313fddee6fd00c2a276b43c48013375618
refs/heads/master
2023-08-21T11:02:01.975516
2021-10-10T08:50:40
2021-10-10T08:50:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,201
cpp
#include <string> using namespace std; /* * 挺有意思的一道题目。从初始化状态 "00000" 进行翻转,直到等于 target。翻转是指从第 i 个元素开始,一直到字符串的末尾,'0' 变成 '1','1' 变成 '0'。 * * 当 target 为 "10111" 时,我们可以这样进行翻转: * * "00000" => "00111",翻转索引为 2 后面的所有字符。 * "00111" => "11000",翻转索引为 2 后面的所有字符。 * "11000" => "10111",翻转索引为 1 后面的所有字符。 * * 1 <= target.le...
[ "smartkeyerror@gmail.com" ]
smartkeyerror@gmail.com
6586a3f7d42d16a01f7cf9197fc9ef4314490eec
394b831ad755a197975e9195b28902cd634b3d28
/common_src/common_socket_exception.h
7c1a493e41c0b5e47e29d2a678274554d1eedda6
[]
no_license
German-Rotili/tpGrupal
68a58762d7247b9f79a98d9b3f7fe8c95760694b
941642621b3c2468c240cf7fc10ff792083c6df2
refs/heads/main
2023-03-09T19:02:08.771718
2021-02-23T20:59:19
2021-02-23T20:59:19
314,632,892
0
0
null
null
null
null
UTF-8
C++
false
false
209
h
#ifndef SOCKET_EX #define SOCKET_EX #include <exception> class CloseSocketException : public std::exception{ public: CloseSocketException(); ~CloseSocketException(); const char *what(); }; #endif
[ "atvisciglio@gmail.com" ]
atvisciglio@gmail.com
13b1bb1b43008f67e2e7cd0783713d3d7ca2dfc2
2fde10b5519cdda785ba91cbea8b11d5d66dc018
/tests/jStringTestRunner.cpp
5be33cf18888ccd71330accfb91db7dc4cbb3f3e
[ "MIT" ]
permissive
juliaclement/jclib
b0acef277f7407a8e06e0a4fc1908a463bd17f5a
85cdb78fac275d450dd157138d190feebbe3397d
refs/heads/master
2022-12-23T06:39:38.612336
2022-12-12T07:29:23
2022-12-12T07:29:23
106,623,590
0
0
null
null
null
null
UTF-8
C++
false
false
3,360
cpp
/* Copyright (c) 2022 Julia Ingleby Clement Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distr...
[ "32722175+juliaclement@users.noreply.github.com" ]
32722175+juliaclement@users.noreply.github.com
0b82c9ae783851b14b93b20067be65421f406b74
03387c6544f1837822cfc6c47e93abe79b6c3b9e
/diamond-0.8.26/src/dp/smith_waterman.cpp
f58c456e19662e244790531ef589955bbdb8443f
[ "BSD-3-Clause" ]
permissive
gsmith98/ComputationalGenomicsProject
0b7614080fa6b73979d70423c2e5d127911ea179
62f2ce6fb65cdcf87d4841529b248c508f3430ba
refs/heads/master
2020-07-04T08:40:44.501102
2016-12-10T00:13:48
2016-12-10T00:13:48
73,863,759
1
1
null
null
null
null
UTF-8
C++
false
false
5,024
cpp
/**** Copyright (c) 2016, University of Tuebingen, Benjamin Buchfink All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list o...
[ "ubuntu@ip-172-31-49-101.ec2.internal" ]
ubuntu@ip-172-31-49-101.ec2.internal
b5d46858ccdeaeb929576074d2e55c0d3523ebf7
47794800f5cb8f303106457739cec548a140b3a0
/Examples/RFM69-gw-session/RFM69-gw-session.ino
e7c6038b05448d06a83de01399b48e2202b0a4d0
[]
no_license
rrobinet/RFM69_SessionKey
8368676660a70aa487b7367d4e16cba198b8b782
cfb6602ccb571a68822915c174fe7de15de5748d
refs/heads/master
2021-01-19T03:18:11.189177
2017-10-04T14:43:16
2017-10-04T14:43:16
49,140,691
1
0
null
null
null
null
UTF-8
C++
false
false
6,310
ino
// Sample RFM69 receiver/gateway sketch, with Session Key library #include <RFM69_SessionKey.h> // enable session key support extension for RFM69 base library #include <RFM69.h> //get it here: https://www.github.com/lowpowerlab/rfm69 #include <SPI.h> #define NODEID 1 //unique for each node on sam...
[ "rrobinet@hotmail.com" ]
rrobinet@hotmail.com
9b24c80a3f275718a5c58a68bfe25f119101ceb9
52ca17dca8c628bbabb0f04504332c8fdac8e7ea
/boost/gil/color_base_algorithm.hpp
07e6e9806f18a7bb80167777d2301153bc4ac17f
[]
no_license
qinzuoyan/thirdparty
f610d43fe57133c832579e65ca46e71f1454f5c4
bba9e68347ad0dbffb6fa350948672babc0fcb50
refs/heads/master
2021-01-16T17:47:57.121882
2015-04-21T06:59:19
2015-04-21T06:59:19
33,612,579
0
0
null
2015-04-08T14:39:51
2015-04-08T14:39:51
null
UTF-8
C++
false
false
70
hpp
#include "thirdparty/boost_1_58_0/boost/gil/color_base_algorithm.hpp"
[ "qinzuoyan@xiaomi.com" ]
qinzuoyan@xiaomi.com
6aa865f8b2f147c1c7d8f634d22782c62cab0816
b1964e1c170ca6920c1f7ec3c86327608346b306
/Domino/Core/Input.h
1196515c912d6c58df46a399f21a0bf892db3fc5
[]
no_license
hyf042/Domino
f711c6ebb89225f35f89054647f2faa3bc379e22
f0160188c9c8d3ec58cd5de045cc965583e19837
refs/heads/master
2016-08-03T12:52:04.545541
2015-01-14T17:14:19
2015-01-14T17:14:19
28,511,477
0
0
null
null
null
null
UTF-8
C++
false
false
1,055
h
#ifndef __INPUT_H__ #include <set> #include "../Domino.h" namespace Domino { class Input { friend Application; int mouseX; int mouseY; std::set<unsigned char> keyDown; std::set<unsigned char> keyPress; Input() {} public: static shared_ptr<Input> instance() { static shared_ptr<Input> m_instance(ne...
[ "hyf042@gmail.com" ]
hyf042@gmail.com
2a2b8d06d1b8f8d94fe2629d4eb77c2fc00a5caa
dc489858f8001a905350be6d0d20cbd18d830273
/_/Source code/CoherentBank/cpp/include/seovic/samples/bank/domain/Account.hpp
d29f9399be8c8418ce56c90310adb2292e3175cd
[ "Apache-2.0" ]
permissive
paullewallencom/oracle-coherence-978-1-8471-9612-5
a652841b2a5ba4ad74eb1dfcdda255748c8594c4
32fbf9889210188c7e41102480690692ce0dbdc0
refs/heads/main
2023-02-07T11:12:48.975841
2021-01-01T01:22:15
2021-01-01T01:22:15
319,492,626
0
0
null
null
null
null
UTF-8
C++
false
false
1,777
hpp
#ifndef BANK_ACCOUNT_HPP #define BANK_ACCOUNT_HPP #include "Money.hpp" #include <iostream> #include <string> class Account { // ----- constructors --------------------------------------------------- public: Account(long long lId, const std::string& sDesc, const Money&...
[ "paullewallencom@users.noreply.github.com" ]
paullewallencom@users.noreply.github.com
315867e60b8c235fb1211be0e581090affe5dccd
2c7d768786f849584c6f0074cc46c0d561b832f1
/20160422/queue/queue.cc
ac86930d86b168eb40dd0716b6da4d3099bf8b31
[]
no_license
LoydChen/Cplusplus
f074a2441cdd0c95a303a58a789f04cf03af784c
c12970e7b0041d40c6054ebc45b07f503fd9b37f
refs/heads/master
2021-01-01T05:28:41.168749
2016-04-25T13:36:22
2016-04-25T13:36:22
56,554,905
0
0
null
null
null
null
UTF-8
C++
false
false
2,960
cc
/// /// @file stack.cc /// @author loydchen(loydchen729@gmail.com) /// @date 2016-04-23 16:20:28 /// #include "func.h" Node::Node() : _value(0) , _next(NULL) { cout << "Node(int)" << endl; } Link::Link(int MaxSize) : _head(NULL) , _tail(NULL) , _size(0) { int i; for(i=0;i<MaxSize;i++){ Node * newNo...
[ "loydchen729@gmail.com" ]
loydchen729@gmail.com
b71b9ee516b401d1c211f57adf86876055590a4f
ee9d134f818dcccbbaaa19475497dce0cc1deca9
/Algoritmos Busqueda/A_estrella.cpp
9dcd342ac4beafb0f271ad9c608cbf808aaa64dd
[]
no_license
pakejo/Practicas-IA-UGR
89a8748292af35238d5e00541e788e2f7be13dc5
0768cbe10919358845c11d3ba4017a0c7569a5de
refs/heads/master
2020-04-03T23:50:45.033684
2018-10-31T22:42:36
2018-10-31T22:42:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,173
cpp
/* Como todo algoritmo de búsqueda en amplitud, A* es un algoritmo completo: en caso de existir una solución, siempre dará con ella. Si para todo nodo n del grafo se cumple g(n)=0 nos encontramos ante una búsqueda voraz. Si para todo nodo n del grafo se cumple h(n)=0, A* pasa a ser una búsqueda de coste uniforme no in...
[ "paco1998@hotmail.es" ]
paco1998@hotmail.es
432d6aa5c36f2c6a36d042c217daa1ec339370a4
c067b496e3273dff4d9ff048764601a3d10e7db0
/corobot_state_tf/cfg/cpp/corobot_state_tf/corobot_state_tfConfig.h
23bf55643281b03d4d35db80f2a1649c6a0f594c
[]
no_license
CoroBot/CoroBot_ROS_Stack
5de88d3c11b65b0ca6f64cf2f532d7e416d8bb77
b9cfa77faca01cd0af856d3e61074b7f2c96d8e4
refs/heads/master
2021-01-20T00:41:39.583559
2014-12-11T15:32:44
2014-12-11T15:32:44
27,877,941
0
1
null
null
null
null
UTF-8
C++
false
false
21,037
h
//#line 2 "/opt/ros/hydro/share/dynamic_reconfigure/templates/ConfigType.h.template" // ********************************************************* // // File autogenerated for the corobot_state_tf package // by the dynamic_reconfigure package. // Please do not edit. // // *********************************************...
[ "cowens@coroware.com" ]
cowens@coroware.com
f363989e53e9644f469dbe4fb0d60a9ae13a362b
228e15141dfd53f3f3bf3a9e4fdd81989186e681
/Kiwano/ui/Button.cpp
29923e486e65892506aa83c4755a901ae9e85dc5
[ "MIT" ]
permissive
nomango96/Kiwano
796936e5fc3bf3bd5a670d58fb70c188d778cfc7
51b4078624fcd6370aa9c30eb5048a538cd1877c
refs/heads/master
2020-06-21T01:13:51.529700
2019-07-08T09:23:49
2019-07-08T09:23:49
197,307,231
1
0
MIT
2019-07-17T03:20:19
2019-07-17T03:20:19
null
UTF-8
C++
false
false
3,689
cpp
// Copyright (c) 2016-2018 Kiwano - Nomango // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge,...
[ "569629550@qq.com" ]
569629550@qq.com
5bd529bf7f2162c1ad5c5d5f37df34cda447faf0
ab2a37a7b4747f6c5877041799257b5421c59e1f
/src/blend2d/pixelconverter_avx2.cpp
c00daaeda91f2ccc574107ac8bf31fd8558abdaf
[ "Zlib", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
ursine/blend2d
527e2a27543a7f08286ae1fb827fdb3b98abeaca
b694944dd0322019b807e702413e6ea4fa3354f6
refs/heads/master
2020-12-04T03:55:25.689666
2020-02-25T08:52:44
2020-03-12T14:58:50
231,600,035
0
0
Zlib
2020-03-12T14:58:52
2020-01-03T14:01:31
null
UTF-8
C++
false
false
25,597
cpp
// [Blend2D] // 2D Vector Graphics Powered by a JIT Compiler. // // [License] // Zlib - See LICENSE.md file in the package. #include "./api-build_p.h" #ifdef BL_BUILD_OPT_AVX2 #include "./pixelconverter_p.h" #include "./simd_p.h" #include "./support_p.h" using namespace SIMD; // ====================================...
[ "kobalicek.petr@gmail.com" ]
kobalicek.petr@gmail.com
e4de49c736490473b1217cf94992696d5a25a56a
3841f7991232e02c850b7e2ff6e02712e9128b17
/小浪底泥沙三维/EV_Xld/jni/src/EV_Spatial3DAnalysisObject_CSharp/wrapper/math3dareameasure_wrapper.cpp
5f71262a43e45c4c6e4d8033ea2733deb906fb19
[]
no_license
15831944/BeijingEVProjects
62bf734f1cb0a8be6fed42cf6b207f9dbdf99e71
3b5fa4c4889557008529958fc7cb51927259f66e
refs/heads/master
2021-07-22T14:12:15.106616
2017-10-15T11:33:06
2017-10-15T11:33:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,784
cpp
/* This file is produced by the P/Invoke AutoWrapper Utility Copyright (c) 2012 by EarthView Image Inc */ #include "spatial3danalysisobject/math3dareameasure.h" namespace EarthView { namespace World { namespace Spatial3D { namespace Analysis { typedef const EarthView::World::Spatial3D::Analysis::CAlti...
[ "yanguanqi@aliyun.com" ]
yanguanqi@aliyun.com
30e851de5638bf5c8bf7dd915fe45f8ed0e65b2d
56ba2984d5f47c13ebb3ded8a041d43f9522e27f
/inexlib/ourex/SOPHYA/src/SkyMap/imgphotband.cc
5e20349a9e5cfc63d77e167ad2a2260e65781dbe
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
gbarrand/TouchSky
2ad7ec6eef209a8319698829877c20469857dbe1
a6216fb20fbcf9e38ac62a81cef8c4f053a07b8c
refs/heads/master
2021-09-11T07:25:41.523286
2021-08-31T09:29:39
2021-08-31T09:29:39
133,839,247
0
0
null
null
null
null
UTF-8
C++
false
false
5,560
cc
/* ------------------------------------------------------------------------------------ SOPHYA class library - (C) UPS+LAL IN2P3/CNRS , CEA-Irfu Ancillary classes for Image<T> class Jan 2015 - R. Ansari, J.E.Campagne, C. Magneville --------------------------------------------------------------------------...
[ "guy.barrand@gmail.com" ]
guy.barrand@gmail.com
c4c516eca01fea913b45f6bd7db114ec0e442eaa
ceb2a3d736e0c187eb67b064697409e919660e5a
/src/qt/bitcoinunits.h
ffd50efa01314a98c7cb7744bcff74bade557e6f
[ "MIT" ]
permissive
ARMROfficial/armr
6405117c8ad936985ff71397a9dc0e65d37c1357
6bc69a9dcb3ae6b26de435c1906681b3a7dd4ad4
refs/heads/master
2021-06-11T05:30:08.314912
2020-01-24T03:45:33
2020-01-24T03:45:33
128,578,630
4
5
MIT
2020-01-21T21:12:19
2018-04-07T23:57:59
C
UTF-8
C++
false
false
2,005
h
#ifndef BITCOINUNITS_H #define BITCOINUNITS_H #include <QString> #include <QAbstractListModel> /** Bitcoin unit definitions. Encapsulates parsing and formatting and serves as list model for drop-down selection boxes. */ class BitcoinUnits: public QAbstractListModel { public: explicit BitcoinUnits(QObject *pare...
[ "info@armr.network" ]
info@armr.network
484e2399d0b85a22ded4e610548067c106b0feb9
50b413dc554ba778a5e4f59fa8e458e598cd95b0
/test/081_search_in_rotated_sorted_array_2_test.cpp
55a7c19e29092f2b9fca29f12f6ccd9274f7d10d
[]
no_license
Mstoned/leetcode-solutions
fc794b690280fde6e5869dcaa1e9e6717644117b
2b1465df29e3fae0cdba90d9b0733c138721dea6
refs/heads/master
2022-01-06T19:37:52.835243
2018-10-06T12:59:18
2018-10-06T12:59:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,625
cpp
#include "081_search_in_rotated_sorted_array_2.h" #include "gtest/gtest.h" using namespace std; SearchRotatedSortedArray2Solution *solution081 = new SearchRotatedSortedArray2Solution; TEST(SearchRotatedSortedArray2, Test0) { vector<int> nums = { 2,5,6,0,0,1,2 }; int target = 0; bool result = solution081-...
[ "alexey.s.grigoriev@gmail.com" ]
alexey.s.grigoriev@gmail.com
c073ca9af55f1acb62ee55bf0ea47f5847522734
070ce743a5bb01852fb3f79ba07a20091157e630
/code/src/align/src/general/indelHash_info.h
c203d6b029e4d61a53e009e455f5dd2a11c28c0c
[]
no_license
LiuBioinfo/iMapSplice
f4d641ade9aa882cb4cdec5efd3d21daea83b2ae
ecf2b1b79014e8a5f3ba8ee19ce5aa833ac292dd
refs/heads/master
2020-03-22T00:06:42.136338
2019-02-08T04:17:05
2019-02-08T04:17:05
139,225,150
4
0
null
null
null
null
UTF-8
C++
false
false
10,015
h
// This file is a part of iMapSplice. Please refer to LICENSE.TXT for the LICENSE #ifndef INDELHASH_INFO_H #define INDELHAHS_INFO_H #ifndef SPLICEJUNCTIONHASH_INFO_H #define SPLICEJUNCTIONHASH_INFO_H #include <string> #include <string.h> #include <map> #include <set> using namespace std; typedef map<string, set<int...
[ "Jinze.liu@uky.edu" ]
Jinze.liu@uky.edu
78f198bf048be5edc706c9fe1020e0bba84a7248
2c96f14c2894b8b6c77c2c805e144990d6dee037
/programitasC/serieRara.cpp
ac1db4c6605f8c8306de6dab5518eed3c4407253
[]
no_license
JulioConchas/C-C-
c1473d804689e3f6f0e446cd5a8e054991b89683
3dab33e3998275f283c38b56b9d70557b589f06a
refs/heads/master
2021-01-10T16:40:01.468226
2016-03-05T23:59:41
2016-03-05T23:59:41
47,792,779
0
0
null
null
null
null
UTF-8
C++
false
false
334
cpp
#include <iostream> /**Realizar un programa que imprima 25 términos de la serie 11 - 22 - 33 - 44, etc. (No se ingresan valores por teclado)*/ using namespace std; int main(){ int cont,termino; cont = 0; termino = 11; while(cont < 25){ cout <<termino<<"\n"; termino += 11; cont++; } cin.get();...
[ "JulioConchas@Macbooks-MBP.lan" ]
JulioConchas@Macbooks-MBP.lan
385191bbb51fa3aff2761571a212d1433260e08d
461d6be1ea4d34858c6f08047aa6e21ebea3dcbe
/velodyne/velodyne_laserscan/include/velodyne_laserscan/velodyne_laserscan.h
fd2b619db2a3384cf900e4c3267701e26e46aac8
[ "MIT", "BSD-3-Clause" ]
permissive
runeg96/Velodyne-ROS-Windows
c5d52837ca35d20910795da72879cd3579d35a59
9dd883822eabaf143338fffe16424e3a3a0ae3e2
refs/heads/main
2023-05-02T03:47:41.512801
2021-05-25T08:02:21
2021-05-25T08:02:21
370,612,168
0
1
null
null
null
null
UTF-8
C++
false
false
2,703
h
// Copyright (C) 2018, 2019 Kevin Hallenbeck, Joshua Whitley // All rights reserved. // // Software License Agreement (BSD License 2.0) // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistribut...
[ "runeg96@hotmail.com" ]
runeg96@hotmail.com
f6ea4c5d6f7589afb911ea691b2a7e53374bac29
c28ea5bdf8f0e08cec0dd0ff862775a347cace1e
/src/Fluid.cpp
778695d4f981f4fa7e4a94b5707b5bda8035ffb7
[]
no_license
NASGregorio/2DFluidNavierStokes
cca33fb331239aaae64c7a3e71e6baf375c1489f
67ff54725bf34952c4bb1e757bb0bdb247de97d4
refs/heads/master
2020-04-23T05:03:11.925049
2019-02-17T23:13:03
2019-02-17T23:13:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,974
cpp
#include "Fluid.h" using namespace std; #define IX(x, y) (x + y * N) static void set_bnd(int b, float *x, int N) { for (int i = 1; i < N - 1; i++) { x[IX(i, 0)] = b == 2 ? -x[IX(i, 1)] : x[IX(i, 1)]; x[IX(i, N - 1)] = b == 2 ? -x[IX(i, N - 2)] : x[IX(i, N - 2)]; } for (int j = 1; j < N - 1; j++) { x[IX(0,...
[ "nelson.gregorio@live.com.pt" ]
nelson.gregorio@live.com.pt
ad5df562fdff288ba6572fc7a8dadddc50b6627e
6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849
/sstd_boost/sstd/boost/geometry/srs/projections/impl/pj_inv.hpp
105e89de091f42f1c2031bce91d844301f220750
[ "BSL-1.0" ]
permissive
KqSMea8/sstd_library
9e4e622e1b01bed5de7322c2682539400d13dd58
0fcb815f50d538517e70a788914da7fbbe786ce1
refs/heads/master
2020-05-03T21:07:01.650034
2019-04-01T00:10:47
2019-04-01T00:10:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,304
hpp
// Boost.Geometry (aka GGL, Generic Geometry Library) // This file is manually converted from PROJ4 // Copyright (c) 2008-2012 Barend Gehrels, Amsterdam, the Netherlands. // This file was modified by Oracle on 2017. // Modifications copyright (c) 2017, Oracle and/or its affiliates. // Contributed and/or modified by ...
[ "zhaixueqiang@hotmail.com" ]
zhaixueqiang@hotmail.com
fc6959ecc8d2261048b8a9bc2f3539d79979c524
310d566e838c6c2fbac9864cab092be17b1ca37e
/C++/Pràctiques de laboratori/sequencies_II(1)/main.cpp
0ad9de6df03d80c2bddc0102ab867b6630a05a32
[]
no_license
MrRobertStark/C-plus-plus-codes
1c6cad9af853964400d7b3b087e4f22ae9e351d7
4d968184eccd54cdd67ff3c5eec552fcc442177e
refs/heads/master
2022-12-01T10:04:55.383249
2020-08-24T19:34:55
2020-08-24T19:34:55
290,140,151
0
0
null
null
null
null
ISO-8859-2
C++
false
false
2,027
cpp
#include <iostream> #include<string> #include<fstream> using namespace std; const int PRECISIO=3; //Entrada: Nom de fitxer //Sortida: Retorna la mitjana de la longitud dels mots (3 decimals). Altrament missatge "cap mot!" si no existiex cap mot en el fitxer. O bé "Error d'apertura fitxer." si escau. bool es_lletra(cha...
[ "69302922+MrRobertStark@users.noreply.github.com" ]
69302922+MrRobertStark@users.noreply.github.com
6581a17b1e70274c94080d7e5841838ad3516ee9
f1bfee9c5583a356b4078755c2e664f8cbdca7e2
/Shooting Balls 2016 (v 2.1)/Temp/StagingArea/Data/il2cppOutput/GeneratedGenericVirtualInvokers.h
ac8ceca0ea5d1892fb09f8dcfe4e80e4e3b73f12
[]
no_license
MarckyMarc27/New
6644fa7051df2e5bf2f59c1ef82b0a37b2fc26a0
2533b87c2ff89a7153724a176a1b67305c7b3053
refs/heads/master
2021-01-11T09:15:50.288935
2016-12-22T20:24:01
2016-12-22T20:24:01
77,173,562
0
0
null
null
null
null
UTF-8
C++
false
false
1,643
h
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #pragma once template <typename R> struct GenericVirtFuncInvoker0 { typedef R (*Func)(void*, const MethodInfo*); static inline R Invoke (const MethodInfo* method, void* obj) { VirtualInvokeData i...
[ "cournoyermarc2013@gmail.com" ]
cournoyermarc2013@gmail.com
520aeb95096b5a45dfea9fed42804c54ef80446f
861a09717edea2fbda93945af0a5962fcfa3a75e
/main.cc
7cd3bd5eec75d63d893bde02c6399157beb25e05
[]
no_license
AUTinker/blahblah
cffbf601716b23dbecb490a31eb77a53db8d039e
557cc1e1f32eed7cc86abe15ed0eed01ef7b41be
refs/heads/master
2021-01-23T07:08:44.615506
2013-09-27T20:43:00
2013-09-27T20:43:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
84
cc
#include <iostream> int main() { // hahah std::cout<<"lalala"<<std:endl; }
[ "song@gao.io" ]
song@gao.io
99816f1d2044903aa45b5f911962f3eedc65620f
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/git/gumtree/git_repos_function_3959_git-2.14.0.cpp
b952d3071beb72f5bee7f329907f9a829c730abc
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
415
cpp
static void process_ls_object(struct remote_ls_ctx *ls) { unsigned int *parent = (unsigned int *)ls->userData; const char *path = ls->dentry_name; struct object_id oid; if (!strcmp(ls->path, ls->dentry_name) && (ls->flags & IS_DIR)) { remote_dir_exists[*parent] = 1; return; } if (!skip_prefix(path, "objects...
[ "993273596@qq.com" ]
993273596@qq.com
bf41fcefd988cc233b8cdac3a06075411d110170
dca653bb975528bd1b8ab2547f6ef4f48e15b7b7
/tags/wxPy-2.9.5.0/src/gtk/font.cpp
e078010efa6dff4faa57ab017ab106bacd18e5e3
[]
no_license
czxxjtu/wxPython-1
51ca2f62ff6c01722e50742d1813f4be378c0517
6a7473c258ea4105f44e31d140ea5c0ae6bc46d8
refs/heads/master
2021-01-15T12:09:59.328778
2015-01-05T20:55:10
2015-01-05T20:55:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
16,050
cpp
///////////////////////////////////////////////////////////////////////////// // Name: src/gtk/font.cpp // Purpose: wxFont for wxGTK // Author: Robert Roebling // Id: $Id$ // Copyright: (c) 1998 Robert Roebling and Julian Smart // Licence: wxWindows licence ///////////////////////////////...
[ "RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775" ]
RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
d990d6612c8d5dcbc081a32214eaa00340058445
89db51e6d6efb9d8f28271bb3364749093055818
/src/qt/pivx/dashboardwidget.h
454fe1fd6be88c250793de0c8fe45283fac0f23d
[ "MIT" ]
permissive
theabundancecoin/TACC
3b194dc27b7f745d2a9562c0101521441eb09774
fd7d38c6a04dcb2da3b2755879b153b4731cddb2
refs/heads/master
2023-08-16T04:46:13.970622
2021-10-02T19:35:04
2021-10-02T19:35:04
389,910,291
2
0
null
null
null
null
UTF-8
C++
false
false
4,804
h
// Copyright (c) 2019-2020 The TaccCoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef DASHBOARDWIDGET_H #define DASHBOARDWIDGET_H #include "qt/pivx/pwidget.h" #include "qt/pivx/furabstractlistitemdelegate.h...
[ "alexdevchain@yandex.com" ]
alexdevchain@yandex.com
f435fd63b272345cf6b682c937e5692e6aa599ca
710ecac0f3c5d2dc9c8bbea729f88c88d80b572e
/examples/Trace/Trace.ino
5fd75629959cefaa733c17aea45eb100bbdcbffc
[ "MIT" ]
permissive
Qiyd81/MultiPing
54d71e69c32390f7285b49f477fcb7f52e69e094
db61b37defd278af07ca96c4e40b02f28177a705
refs/heads/master
2022-04-26T21:18:16.232459
2020-04-29T15:06:41
2020-04-29T15:06:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
631
ino
#include <PrintEx.h> //#include "avrheap.h" #include <MultiPingTrace.h> //Avrheap myheap; StreamEx out(Serial); using namespace MultiPing; void afterDump() { //myheap.heapWalk(); while(true) ; } void setup() { Serial.begin(115200); while (!Serial) ; delay(500); Serial.println("Trace_example"); TRACE_ST...
[ "lintond@gmail.com" ]
lintond@gmail.com
d9c3eb3b4ef31cb78d3a4382379559eb76aa5ed7
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2449486_0/C++/emaxx/B.cpp
3eb9555af9f82d3119e837237d8bc8ee626d13cd
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
1,756
cpp
#define _CRT_SECURE_NO_DEPRECATE #define _SECURE_SCL 0 #pragma comment (linker, "/STACK:200000000") #include <algorithm> #include <bitset> #include <cmath> #include <ctime> #include <cstdio> #include <cstdlib> #include <cstring> #include <deque> #include <iostream> #include <map> #include <queue> #include...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
c5664f7ca8aead5d421be0b8f8d68782b5fa6e54
dc64cbe907bce51f3b606fd915839c63eda69c8b
/source/cartint/methods.h
416a146a314eb74eb1e1d434084422bb441a26cc
[]
no_license
Oo1Insane1oO/Cartint
630ec682eae78d82f921d74027dd06f6ec39149a
ab3e6ef263ab4d736b73df2f30b75672efc15f3c
refs/heads/master
2020-08-11T20:25:32.277977
2019-10-12T16:33:11
2019-10-12T16:33:11
214,621,923
2
0
null
null
null
null
UTF-8
C++
false
false
3,242
h
#ifndef METHODS_H #define METHODS_H #include <Eigen/Dense> #include <string> #include <iostream> #include <iomanip> class Methods { private: Methods (); virtual ~Methods (); public: static void printProgressBar(std::string&, const float&, const int, const std::string& ...
[ "alocia0@gmail.com" ]
alocia0@gmail.com
8eb71b2b9bbba846d16bf1df022a4861a4435c88
7b529d8566deae401c798531413a188c9618f331
/tests/unit/api/c/test_llrp_manager.cpp
0f481e43ace28aff32422195b0dfae885ad2c464
[ "Apache-2.0" ]
permissive
ETCLabs/RDMnet
2135ff974c264dd9759951ee8bee1ff0b5bf7742
b254f1a5e4fe8ebc986ae6d5a24a2fe49b2e8e9c
refs/heads/main
2023-04-15T13:37:16.082314
2023-04-10T15:50:19
2023-04-10T15:50:19
137,389,831
35
16
Apache-2.0
2022-09-12T17:10:19
2018-06-14T17:40:11
C
UTF-8
C++
false
false
3,574
cpp
/****************************************************************************** * Copyright 2020 ETC Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/l...
[ "samuelmkearney@gmail.com" ]
samuelmkearney@gmail.com
bcd7953151a239391f8f1ad1b17c86c83bb06bf3
fb7f17ed0d5fd1ccfd8dc8206c49d4627228d254
/Array/Duplicates_in_array.cpp
0d5acfbd48278101770b448e7283664b544af7a4
[]
no_license
vikashkumar2020/Ace-DSA
ef2569e03158ef4ed9ed793008073f0d7fe7f9d4
c63c2b09b010d9bec23bbca0452db42bfb9e7a86
refs/heads/main
2023-08-28T09:08:57.619771
2021-11-06T04:24:17
2021-11-06T04:24:17
401,689,633
0
1
null
null
null
null
UTF-8
C++
false
false
1,024
cpp
// https://leetcode.com/problems/find-the-duplicate-number/ #include <bits/stdc++.h> using namespace std; int duplicates(vector<int>& nums) { int curr_1 = nums[0]; int curr_2 = nums[0]; while (1) { curr_1 = nums[curr_1]; curr_2 = nums[nums[curr_2]]; if (cur...
[ "kvvik2020@gmail.com" ]
kvvik2020@gmail.com
be2ecfccb5c91c2d81f9b15b7056c5f837cb9583
fe6d55233610a0c78cfd63cc25564400982b0a4e
/examples/openglviewer/shaders/no_skinning.vert_inc.hh
12b778bd96af110f04b1fd96ec1ad16862436c19
[ "Zlib", "MIT", "MIT-0", "BSD-3-Clause", "ISC", "BSL-1.0", "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
syoyo/tinyusdz
6cc9c18ec4df61a514571cda8a5f8c3ee4ef279a
cf6e7f3c6428135109c1d66a261e9291b06f4970
refs/heads/dev
2023-08-19T06:06:10.594203
2023-08-18T12:34:09
2023-08-18T12:34:09
255,649,890
345
23
MIT
2023-07-14T09:20:59
2020-04-14T15:36:33
C++
UTF-8
C++
false
false
11,668
hh
// input filename: shaders/no_skinning.vert unsigned char shaders_no_skinning_vert[] = { 0x0a, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x20, 0x28, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x3d, 0x20, 0x30, 0x29, 0x20, 0x69, 0x6e, 0x20, 0x76, 0x65, 0x63, 0x33, 0x20, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0...
[ "syoyo@lighttransport.com" ]
syoyo@lighttransport.com
bbd26c4ed142712975acca0ff7d7dc8e46ffe8c2
06aa4cef73fee0291c3c3ad95fb92c26d741796e
/Digital Signal Generation and Analysis/build/Release/usr/local/include/FourierGenerator.h
999d92d25ea09bf26511ec1a101da530aa934f3b
[]
no_license
eriser/Digital_Signal_Generation_and_Analysis
ecff7ff2b8fbb05df33efaf45976e4289f5e5e39
bf9be1781fb778b840b2ed25300b97399ce3753e
refs/heads/master
2020-04-05T18:56:23.440882
2014-09-23T15:25:03
2014-09-23T15:25:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,062
h
// // FourierGenerator.h // Waveform // // Created by Alexander Zywicki on 8/20/14. // Copyright (c) 2014 Alexander Zywicki. All rights reserved. // #ifndef __Waveform__FourierGenerator__ #define __Waveform__FourierGenerator__ #include "SignalGenerator.h" #include "SineLUT.h" #include "HarmonicTable.h" namespace...
[ "alexander.zywicki@loop.colum.edu" ]
alexander.zywicki@loop.colum.edu
76e3df3cc8b749082ff337ee82ca54ec28de899d
cf6e55d499b5858f7c350227bd23260f16e60e44
/showresult.h
00b5ff4f36ab522790dcb421976ee3b845c6a10a
[]
no_license
Kingtous/DeathSquadProblem-DataStructureClassDesign
d1b740a837e77f306fbe5ffb59d9e71ff0a060d1
7a4134ca1ccf32aa40156bb9881a828df9614390
refs/heads/master
2020-04-16T01:47:16.312927
2019-01-11T05:42:03
2019-01-11T05:42:03
165,185,428
2
1
null
null
null
null
UTF-8
C++
false
false
329
h
#ifndef SHOWRESULT_H #define SHOWRESULT_H #include <QDialog> namespace Ui { class ShowResult; } class ShowResult : public QDialog { Q_OBJECT public: explicit ShowResult(QWidget *parent = nullptr); ~ShowResult(); Ui::ShowResult *ui; private slots: void on_pushButton_clicked(); }; #endif // SHOW...
[ "kingtous@qq.com" ]
kingtous@qq.com
6e19d072019b06a6b3be98d2eb858ccc20d1de30
36dfd840637e3ef261819521da4a2ebed8730650
/third_party/xsimd/types/xsimd_avx512_bool.hpp
29bd6a409c34a41413c25026df1bc6415f5cc8df
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
hroncok/pythran
1229c10734377fdc52b96c1a7482d720981f1d0d
1887d6b97cdbaed42d4ff94ed191714111a57a44
refs/heads/master
2023-07-08T22:59:57.585351
2020-09-10T11:40:42
2020-09-10T11:40:42
166,581,833
0
0
BSD-3-Clause
2020-09-14T13:35:24
2019-01-19T18:52:44
Python
UTF-8
C++
false
false
12,476
hpp
/*************************************************************************** * Copyright (c) Johan Mabille, Sylvain Corlay, Wolf Vollprecht and * * Martin Renou * * Copyright (c) QuantStack * * ...
[ "serge.guelton@telecom-bretagne.eu" ]
serge.guelton@telecom-bretagne.eu
f8e0f7406afe9e43bb2f19fcd761bc304886771c
865dfc8a09993500f9477d2cb794dfdcad9d1153
/ReplayParser/model/ReplayCameraGroup.h
ad01db77dffd3d05bc0eb8772d68ec4ccc0a177d
[]
no_license
plucked/vcrparser_rf1
1cead35dac96a14b0bb23b76ea4cd0e5df0edacc
c9e15cf7687c8f71c24bd8be9f652a3cd0bf0e02
refs/heads/master
2021-01-22T20:29:06.610165
2017-03-24T14:18:19
2017-03-24T14:18:19
7,468,889
2
0
null
null
null
null
UTF-8
C++
false
false
1,564
h
/* Copyright (c) 2013 Rainer Heynke <rainer.heynke@plucked.de> (@plucked on twitter) This software is licensed with the cc-by license (http://creativecommons.org/licenses/by/3.0/) */ #ifndef ReplayCameraGroup_h__ #define ReplayCameraGroup_h__ #include "ReplayCamera.h" class ReplayCameraGroup { public...
[ "rainer.heynke@plucked.de" ]
rainer.heynke@plucked.de
836b71f6277c3dd1db3dde233f95270bb5c5d820
ccb95a1e3d9869d15bd02f4e945bb7bd8415bbff
/abc076/abc076_b.cpp
01486a4dec2bc80d10834f9c3a2c57c33e70a19d
[]
no_license
sacckey/atcoder
b9470f8a21dc7c176e6a6744214ffc7445272dcb
9f457faae7a7fcc12700bba1720abbc279a5ae68
refs/heads/master
2023-01-01T06:12:11.887881
2020-10-18T06:23:52
2020-10-18T06:23:52
183,706,069
0
0
null
null
null
null
UTF-8
C++
false
false
202
cpp
#include <bits/stdc++.h> using namespace std; int main(){ int n,k; cin >> n >> k; int ans=1; for (int i = 0; i < n; i++) { if(ans<k) ans*=2; else ans+=k; } cout << ans << endl; }
[ "sackeyad24@gmail.com" ]
sackeyad24@gmail.com
e270b4569833cd3b295dfcf15d2fe30c2b894278
c828ce3fa9fca523da7b0d4b1a4aea744fa5f35c
/SpaceInvaders/CDP/Headers/Physics.h
c255944c74dc8c5cc1afe333388c87a7bd68d5f3
[ "MIT" ]
permissive
Otard95/Cpp-Home-Exam
80e94319b8d1baf1dd4f7d60d7b2bdef20b8bc77
9ad6037f12e99f1ee8c054d5bd84e420704e6434
refs/heads/master
2020-03-14T22:53:35.106831
2018-05-05T09:31:07
2018-05-05T09:31:07
131,831,099
0
0
null
null
null
null
UTF-8
C++
false
false
758
h
#ifndef __PHYSICS_H__ #define __PHYSICS_H__ #include <vector> #include "Time.h" #include "Rigidbody.h" #include "Collider.h" namespace CDP { class Physics { Physics (); static Physics m_instance; Time& m_time; std::vector<std::shared_ptr<Rigidbody>> m_rigidbodies; std::vector<std::shared_ptr<Collider>>...
[ "stian.myklebostad@getmail.no" ]
stian.myklebostad@getmail.no
eced11b4b7ea570ed860186fca6f1696ce5f19fd
04b1803adb6653ecb7cb827c4f4aa616afacf629
/components/drive/chromeos/search_metadata.h
f515c2d8a9957a8ca7237b50ae1f263411230a7a
[ "BSD-3-Clause" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
C++
false
false
3,079
h
// Copyright (c) 2013 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. #ifndef COMPONENTS_DRIVE_CHROMEOS_SEARCH_METADATA_H_ #define COMPONENTS_DRIVE_CHROMEOS_SEARCH_METADATA_H_ #include <stddef.h> #include <memory> #inc...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
9195a0800284c13e640be4eb3159f50093b1f89b
451dca272630e58539f803d2c3b767a8ae6451a2
/IMS/MaleVole.cpp
f3fb0a8d28f457d775373a9f5bbbf65ef72d8aba
[]
no_license
MatejPrasek/IMS-CellularAutomata
bcaf260492b00ddbe07ff3a55fe0744efe37a27f
0ca11dab7c33eec3aa9695e4bffe535a1abf1258
refs/heads/master
2022-12-14T14:50:59.679427
2020-09-05T09:43:24
2020-09-05T09:43:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,713
cpp
#include "MaleVole.h" #include <iostream> #include <algorithm> #include "FemaleVole.h" MaleVole::MaleVole(unsigned int adultGen, int height, int width) : Vole(adultGen, height, width) { } void MaleVole::NextGeneration(std::vector<std::vector<std::unique_ptr<Cell>>>* field, unsigned generation, int height, in...
[ "prasek.matej@seznam.cz" ]
prasek.matej@seznam.cz
3f9be8754033d1dae94375b19e8222926a35c1b2
c27664c1fae55de6118854c2856c2f4a6085b7cb
/Classes/Model/GateGroup.hpp
257d3d20bf6c380d7401429ae67760fac5c66b28
[]
no_license
xiatian0019/ColorGate
5c3b6469a0221b96213ca514148c54e4f1cd9e33
5edeb7063ea0751d008a97ed7d0f966b836de156
refs/heads/master
2021-01-12T12:19:13.267223
2016-10-31T11:50:14
2016-10-31T11:50:14
72,431,653
0
0
null
null
null
null
UTF-8
C++
false
false
986
hpp
// // GateGroup.hpp // ColorGate // // Created by xiaoming on 16/4/28. // // #ifndef GateGroup_hpp #define GateGroup_hpp #include <stdio.h> #include "Gate.hpp" #include "GameSetting.h" class GateGroupDelegate { public: virtual void gateCorrect(GATE_COLOR newColor,int lastPos)=0; virtual void gateWrong()=0...
[ "xiaoming@xiaomingdeMacBook-Pro.local" ]
xiaoming@xiaomingdeMacBook-Pro.local
290c57a110dee04c2987a8a40aae67f118039f70
25bf268b8171fcb4a7d3b59088a36ae31fc29fe5
/openuasl-server/src/session_uav.cpp
988ba53f874f5756195dfb39b41747621c3e42d1
[]
no_license
openuasl/openuasl-server
55749f050c3f6a901ac87083a4c5e70b8be64adc
68956fb9994026295f9aef6236fedf896239d0a7
refs/heads/master
2020-12-24T15:14:44.178963
2014-08-29T04:55:35
2014-08-29T04:55:35
null
0
0
null
null
null
null
UHC
C++
false
false
1,401
cpp
#include <openuasl/server_conf.h> #include <openuasl/session_app.h> #include <openuasl/session_uav.h> namespace openuasl{ namespace server{ session_uav::session_uav(std::string& id, SecureSocket& sock, size_t buf_size) : skeleton::BaseUavSession(id, sock, buf_size){} session_uav::~session_uav(){} void se...
[ "wlgus921211@naver.com" ]
wlgus921211@naver.com
592dcf9d13eb2f21cd5308452ec09162a88650ab
13080077fb976e21b37e19a4e62e73379d8964b4
/Platformer/Platformer/Timer.h
0f9072cbddb13d6e85a8b11d3fd08d82029c581e
[]
no_license
Suraj-Nishad/Computer-Games-Development
3d2b8543467b155b70f78b6ec00256342887357e
e7ff7d44bb3b62394d4cd24c516a42f5a96e9aa9
refs/heads/master
2020-04-28T18:00:18.337962
2018-02-28T16:43:26
2018-02-28T16:43:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
590
h
#pragma once #include <SDL/SDL.h> //Based on the SDL tutorial found here: http://lazyfoo.net/tutorials/SDL/23_advanced_timers/index.php class Timer { public: Timer(); ~Timer(); //Clock actions void start(); void stop(); void restart(); void pause(); void unpause(); //Get the timer's time Uint32 getTicks()...
[ "jackhookham@gmail.com" ]
jackhookham@gmail.com
1ac5d963759ac9f6d8d02fd8747f264ce08b9cdb
639cdc6ce0e94a27b72ceede7a295ca621fae21a
/build/linux-build/Sources/include/hxinc/scene/Scene.h
1d0199d15d1baffc86d85a10059e62790d737ab9
[ "MIT" ]
permissive
HedgehogFog/TimeOfDeath
fb04bd6010115dc37b5d7777821f8fa53e1854a0
b78abacf940e1a88c8b987d99764ebb6876c5dc6
refs/heads/master
2020-04-27T10:48:43.759612
2019-03-18T04:30:47
2019-03-18T04:30:47
174,270,248
0
0
null
null
null
null
UTF-8
C++
false
true
1,082
h
// Generated by Haxe 4.0.0-preview.5 #ifndef INCLUDED_scene_Scene #define INCLUDED_scene_Scene #ifndef HXCPP_H #include <hxcpp.h> #endif HX_DECLARE_CLASS2(kha,graphics2,Graphics) HX_DECLARE_CLASS1(scene,Scene) namespace scene{ class HXCPP_CLASS_ATTRIBUTES Scene_obj { public: typedef hx::Object super; HX_DO_IN...
[ "hedgehog_fogs@mail.ru" ]
hedgehog_fogs@mail.ru
c9910b76b07dfb8c31b9c95077f8cfdf9626f646
847056145036966495171a6627ad373468347e03
/College/Hailstone.cpp
ddefc9c73daee0f4eb276dbca28c2b4588a1701f
[]
no_license
cocokechun/Programming
f5f3e0b0a1fbdc105b718469c1bf893280cddba3
9a400ba2d38cdbb4af50d07b09273adb8bcbf427
refs/heads/master
2021-01-22T01:14:23.328035
2017-09-02T18:02:28
2017-09-02T18:02:28
102,213,453
0
0
null
null
null
null
UTF-8
C++
false
false
636
cpp
#include <iostream> #include <algorithm> #include <cmath> #include <set> using namespace std; int main() { int n; cin >> n; int index, num; for (int i=0; i<n; i++) { cin >> index >> num; set<int> seen; int tmp = num; int max = num; while (tmp != 1 && seen.find(...
[ "kechunmao@KechuntekiMacBook-Pro.local" ]
kechunmao@KechuntekiMacBook-Pro.local
6506a97889e1ab92887280881b57d6b84e251dae
7d7cfacec6c0e23fe573d609d977a44c235b1ef3
/PacketPacker/PacketPacker/VersionHandler.cpp
ac7371e2e22b38f2c1ff67e68bd1ba0101c2c4e8
[]
no_license
pjc0247/SocialMe_Server
863713159645343e055a992cc568b66c3917a98e
e00f943d7c047af2e96c6c19cff4e746cc428059
refs/heads/master
2020-04-29T02:55:38.766437
2013-01-04T03:11:57
2013-01-04T03:11:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
592
cpp
#include "stdafx.h" #include "ServerHandler.h" #include "Protocol.h" bool VersionCheck(PacketHandlerData d){ NetPacket *p; p = d.pkt; int major, minor, fix; major = NetGetNumberData(p, "major"); minor = NetGetNumberData(p, "minor"); fix = NetGetNumberData(p, "fix"); NetPacket *pkt; pkt = NetCreatePacket();...
[ "pjc0247@naver.com" ]
pjc0247@naver.com
a56a98ff4cf4b6354b40b2de7d748a1556ea0beb
c1bb97ca23a255851efda9d1d828a4051d4bfe45
/1. SourceCode/Introduction-to-libcxx/libcxx/include/numeric
d44542651069ce109a87fdadd2c95ce2143aa2dd
[]
no_license
zhiyaluo/Introduction-to-libcxx
f4af2ff08fd6f54f14e23cfb48d7b3bd4b88dc2c
181789af8891d2e344a69fa915987126c6fd15f3
refs/heads/master
2023-03-04T18:04:07.201091
2021-02-25T10:44:18
2021-02-25T10:44:18
266,662,130
0
0
null
null
null
null
UTF-8
C++
false
false
6,307
// -*- C++ -*- //===---------------------------- numeric ---------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===------------------------...
[ "zhiya.luo@qq.com" ]
zhiya.luo@qq.com
976ad2ce66e46367e6c20e379d89211b3f2b5797
a5326af130d8c0f3138282e0e8f84704d662e341
/library/tracking_data/io/track_writer.h
c3a7c9af68d35a80172d87722dabb693e290baca
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
daniel-riehm/burn-out
98b75739400f981f7509a966da4bf449e3397a38
1d2afcd36d37127b5a3b6fa3f60bc195408ab3ea
refs/heads/master
2022-03-05T12:25:59.466369
2019-11-15T01:37:47
2019-11-15T01:37:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,439
h
/*ckwg +5 * Copyright 2013-2015 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #ifndef track_writer_h_ #define track_writer_h_ #include <tracking_data/track.h> #inclu...
[ "matt.dawkins@kitware.com" ]
matt.dawkins@kitware.com
c4abda43e43bc7ccc3a03f0ad2ab3b94142aef9c
51a63ed3e5ca80b92d11dc5f891813fb09f8018a
/openingTheGL/src/VertexArray.cpp
4883361ebddf9ae4ccdb65bbcb3172a3b49f1ea7
[]
no_license
prajwalshettydev/OpeningTheGL
0be419d526de580aa5632a922c5164e663d0a5c0
4f5b35bbd5467c310c779cdca2ce196505e969f3
refs/heads/master
2020-12-14T03:05:26.446064
2020-04-25T12:02:07
2020-04-25T12:02:07
234,614,579
0
0
null
null
null
null
UTF-8
C++
false
false
1,832
cpp
#include"VertexArray.h" #include "Renderer.h" #include "VertexBufferLayout.h" VertexArray::VertexArray() { //create a new VertexArray, GLCall(glGenVertexArrays(1, &m_RendererID)); } VertexArray::~VertexArray() { GLCall(glDeleteVertexArrays(1, &m_RendererID)); } void VertexArray::AddBuffer(const VertexBuffer& vb, ...
[ "prajwalshetty2018@gmail.com" ]
prajwalshetty2018@gmail.com
d4bee95f847bfa90edebc5fabc13561f5e9ed641
1f6824a64c3cc6b0827b55f24079edc23ed6bc2b
/Plugins/VoxelFree/Source/VoxelGraph/Private/VoxelNodes/VoxelRandomNodes.cpp
92560c144a25fe04c2c9cfed7baba553998ddf58
[ "MIT" ]
permissive
lineCode/Woodlands
bb330644567c92e041e4da3d5d80326755c370c5
9e99f948543ad3f8f0eead691eddb4125da272f5
refs/heads/master
2023-04-15T13:56:45.978505
2021-04-19T04:30:44
2021-04-19T04:30:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
997
cpp
// Copyright 2021 Phyronnaz #include "VoxelNodes/VoxelRandomNodes.h" #include "Runtime/VoxelNodeType.h" #include "CppTranslation/VoxelVariables.h" #include "VoxelContext.h" #include "NodeFunctions/VoxelNodeFunctions.h" UVoxelNode_RandomFloat::UVoxelNode_RandomFloat() { SetInputs({"Seed", EC::Seed, "Seed"}); SetOutp...
[ "Mattrb_99@ymail.com" ]
Mattrb_99@ymail.com
c6f6d1c7c2348cca9ee888349d5c9bc2a6e2b30c
d4e1dba9e6e58e9654fd5affad7b836f6a71f02e
/object_tracker/src/image_tracking_ex.cpp
63f532477c3450f9b236e34ce8e77a8cc8c34230
[]
no_license
DavidHan008/visual_tracker_ros
2ac1bd1b266dc3579c8f3e70343d213b8aea35bf
146f34a2bc99e1f70ad599174b643ebe626b311e
refs/heads/master
2020-03-17T17:02:21.487899
2017-07-19T09:52:16
2017-07-19T09:52:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,747
cpp
// The contents of this file are in the public domain. See LICENSE_FOR_EXAMPLE_PROGRAMS.txt /* This example shows how to use the correlation_tracker from the dlib C++ library. This object lets you track the position of an object as it moves from frame to frame in a video sequence. To use it, you give the...
[ "1053988516@qq.com" ]
1053988516@qq.com
0e870ea6e0668c8fc374fe1b834a071e4a839a6f
248bdd698605a8b2b623fe82899eec15bc80b889
/gfx/harfbuzz/src/hb-subset-cff1.cc
49ac0bf429914fe4ac45b60518e838feb1665ab0
[ "LicenseRef-scancode-other-permissive", "MIT-Modern-Variant", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Feodor2/Mypal68
64a6f8055cb22ae6183a3a018e1487a44e20886e
dc92ce6bcc8032b5311ffc4f9f0cca38411637b1
refs/heads/main
2023-08-31T00:31:47.840415
2023-08-26T10:26:15
2023-08-26T10:26:15
478,824,817
393
39
NOASSERTION
2023-06-23T04:53:57
2022-04-07T04:21:39
null
UTF-8
C++
false
false
35,156
cc
/* * Copyright © 2018 Adobe Inc. * * This is part of HarfBuzz, a text shaping library. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * software and its documentation for any purpose, provided that the * above copyrig...
[ "Feodor2@mail.ru@" ]
Feodor2@mail.ru@
4f146cd480d6f59f9c832afb490e46568cdb100a
76943449993b9a7aef4a1773f866b35c3a9dffe2
/source/generator_kotlin.cpp
73ba9e89fe72ac91ce2cc0a778095a041ac7cad8
[ "MIT" ]
permissive
ismiyati/FastBinaryEncoding
0a17ee4bf6e44c76b05835c54d44343fc9c5add2
e961feeb1ed897a8237f13f7fe3ef33828e5e56e
refs/heads/master
2020-05-31T14:40:55.525775
2019-05-31T11:06:24
2019-05-31T11:06:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
256,204
cpp
/*! \file generator_kotlin.cpp \brief Fast binary encoding Kotlin generator implementation \author Ivan Shynkarenka \date 03.10.2018 \copyright MIT License */ #include "generator_kotlin.h" namespace FBE { void GeneratorKotlin::Generate(const std::shared_ptr<Package>& package) { GenerateFBEPac...
[ "chronoxor@gmail.com" ]
chronoxor@gmail.com
c4f5ae279d7ed47a9030caec289db1380b5754c2
f1ba69d2123288aa08758b750f0514eff459643d
/MENUAREA.CPP
4e8293a93ff600452293cfac3eb5f29e48787e35
[]
no_license
galileoguzman/CONSOLE_Dummies
471894be59169334d5b531813bb35287d5c60d5e
1457bd6147a425de01e720ef3a50a7ac6996dd0d
refs/heads/master
2021-01-10T11:13:20.232515
2016-02-11T06:26:18
2016-02-11T06:26:18
51,498,034
0
0
null
null
null
null
UTF-8
C++
false
false
2,517
cpp
#include<stdio.h> #include<conio.h> float triangulo(int,int); float cuadrado(int); float trapecio(int,int,int); float esfera(int); float hexagono(int,int); float hexagono(int peri, int apo) { float areahexa; areahexa=(peri*apo)/2; return(areahexa); } float esfera(i...
[ "galileoguzman@gmail.com" ]
galileoguzman@gmail.com
0757f5b74a207c3483462db7216df41cc2168f49
8e9b7e24dd10c0994fda0f74a7f94c8264ea07e2
/FactoryMethod2/buttons/IButton.h
558e5415a83fa8b3d620af4156fc14b3e2e1ab2f
[]
no_license
akhtyamovpavel/PatternsExample
763ffc2be32ffb8a86d3ee521f0bf0701ac059f2
465f944daf6909066c9f3b6b402e73484e07dd09
refs/heads/master
2021-04-26T23:06:09.185411
2018-03-26T10:27:53
2018-03-26T10:27:53
123,931,722
0
1
null
null
null
null
UTF-8
C++
false
false
166
h
// // Created by Pavel Akhtyamov on 05/03/2018. // #pragma once #include <string> class IButton { private: public: virtual std::string render() const = 0; };
[ "akhtyamovpavel@gmail.com" ]
akhtyamovpavel@gmail.com
08289dc60f5da993b32a9abd485c1a27105925be
9b86ce502728c18ef985913a7b5826c087bbb176
/Source/SmartHamsterCage/Devices/I2C/OLED/SSD1306_Adapter.cpp
916e2d3d552c5ef9876647395fb3a417e96e2279
[]
no_license
dpozimski/smart-hamster-cage
68fc16f26b1b1cdc66ad8481c1818b8a44f361f1
74c73b987138f98e553d3184033306a09e906f26
refs/heads/master
2020-03-07T10:10:55.141042
2018-06-24T10:47:23
2018-06-24T10:47:23
127,424,888
0
0
null
null
null
null
UTF-8
C++
false
false
89
cpp
/* * SSD1306_Adapter.cpp * * Created: 15.05.2018 19:46:35 * Author: d.pozimski */
[ "damian.pozimski@esky.com" ]
damian.pozimski@esky.com
6801a6d55adb333eebacfc2821da802911e264d7
5d83739af703fb400857cecc69aadaf02e07f8d1
/Archive2/5d/a25c90f6aaa056/main.cpp
390a93ba14b824d2f4e5688e93e273efaaf79a26
[]
no_license
WhiZTiM/coliru
3a6c4c0bdac566d1aa1c21818118ba70479b0f40
2c72c048846c082f943e6c7f9fa8d94aee76979f
refs/heads/master
2021-01-01T05:10:33.812560
2015-08-24T19:09:22
2015-08-24T19:09:22
56,789,706
3
0
null
null
null
null
UTF-8
C++
false
false
123
cpp
template <typename T> void bar(T t) { foo(t); } template <typename T> void foo(T t) {} int main() { bar(42); }
[ "francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df" ]
francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df
087033af47e26a857182370089ac19c80ed9800e
4dd26c981ad19ff1ee560d6af0a76d04ee4ace6f
/学生信息管理系统/Student.cpp
c4cd10164b718a0b6c056f90419a5ef39c646492
[]
no_license
w642833823/C-Project
fd3a195270a1da74692aa5ec53a8e4a4ffa4bd20
3924222d6051e6c5c39083587d24085972d1f248
refs/heads/master
2020-12-21T12:28:05.001215
2014-11-18T00:32:07
2014-11-18T00:32:07
null
0
0
null
null
null
null
GB18030
C++
false
false
3,154
cpp
#include "Student.h" #include <iostream> using namespace std; void Student::Setinformation(string num,string name,string birthday,string sex, string political_app,string phone_num,string address) { Num = num; Name = name; Birthday = birthday; Sex = sex; Political_appearance = political_app; Phone_number ...
[ "liangzengguo@163.com" ]
liangzengguo@163.com
e5e84656db286d3dce9cca3fbbe2ff6647ca722e
d07d9b402e86ed69a83a660581ed6e75904fdc1f
/DX12 GUI/DX12 GUI.cpp
37f3cd7853d05d210f9a18d642690bfe50ec76a9
[]
no_license
Gofrettin/DX12-Base--DXTK-
99620aa1488728a4b9b2d860b1306804f8876f1c
3f757afe51fec59fc140e226b2b22235c94e682f
refs/heads/master
2021-06-10T09:09:12.794579
2016-10-19T13:27:27
2016-10-19T13:27:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
769
cpp
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL...
[ "tonyx97@hotmail.es" ]
tonyx97@hotmail.es
295cd9428bbc6a4b1ec2fd2d144c293d229e2c72
6b659151b3f1861577e6d7837e53c23a1e413c66
/sift_bam_max_cov.cpp
203d41b08f36ac0744d9e0845fb1f0e03cadc695
[]
no_license
GeorgescuC/utils_cpp
256f40b0d2977fa89cab899d4c5bb52707127506
3ced1d554e5f1244bb87dfa1092fe7e1af31737c
refs/heads/master
2021-06-30T13:52:03.341517
2020-03-18T22:19:35
2020-03-18T22:19:35
229,152,919
0
1
null
2021-05-04T19:55:29
2019-12-19T23:07:13
C++
UTF-8
C++
false
false
9,469
cpp
#include <stdio.h> // #include <unistd.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #include <stdint.h> #include <limits.h> #include <map> #include <set> #include <utility> #include <vector> #include "htslib/sam.h" #include "htslib/bgzf.h" enum test_op { READ_COMPRESSED = 1, WRITE_COMPR...
[ "GeorgescuC@users.noreply.github.com" ]
GeorgescuC@users.noreply.github.com
79c3d8f7f8549265b188284b980dc2899688f64c
556c1721f951639feafb448fbca702960b6c9e29
/AppProjects/MyApplication/app/src/main/cpp/native-lib.cpp
ab5321d012bdd334da253170aed97b4ea86b26ab
[]
no_license
lokajits97/Party-Settler
4aded20c676471073acd9772147887ebd46cc446
def1a59c8f12fb346201d456deb2e19058966faf
refs/heads/master
2020-03-28T00:04:36.304867
2018-09-04T16:09:55
2018-09-04T16:09:55
147,373,338
0
0
null
null
null
null
UTF-8
C++
false
false
276
cpp
#include <jni.h> #include <string> extern "C" JNIEXPORT jstring JNICALL Java_com_example_lokajit_myapplication_myIntake_stringFromJNI( JNIEnv* env, jobject /* this */) { std::string hello = "Hello from C++"; return env->NewStringUTF(hello.c_str()); }
[ "lokajits97@gmail.com" ]
lokajits97@gmail.com
3d2ffd915d9efc6bd781090ea480d216a318cb4b
418aa6c4486e255f482b6c9bee12a08cda829503
/External/sfml/Window/SensorManager.hpp
db05bc4627dc8d4238a0e81c26ed6ff4ab4041c3
[ "MIT" ]
permissive
jjuiddong/Common
b21c9a98474fc45aa30b316808498381c2030ad3
3097b60988464000e2885a07cdd6e433e43de386
refs/heads/master
2023-08-31T07:35:31.425468
2023-08-29T11:38:29
2023-08-29T11:38:29
77,737,521
3
8
null
null
null
null
UTF-8
C++
false
false
4,703
hpp
//////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library // Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages a...
[ "jjuiddong@gmail.com" ]
jjuiddong@gmail.com
a425b509857c63adb784141bf94c99596842f3fd
ea214c93202f76dd45d25cd75bb3abd7c588de97
/leptjson/test.cc
92027c69efeab33dc1758f347febd6485051061e
[]
no_license
zhouchuyi/leptfolly
e216f74f551d1e57c0b26916816b2a50685b1eef
a021690a4e92ed6e643baedb9d441eb7723d3194
refs/heads/master
2020-06-28T20:32:40.267968
2019-09-23T08:31:22
2019-09-23T08:31:22
200,334,663
0
0
null
null
null
null
UTF-8
C++
false
false
152
cc
#include<iostream> int main(int argc, char const *argv[]) { const char* str="\n"; if(str[0]=='\\') std::cout<<*(str+1); return 0; }
[ "237314511@qq.com" ]
237314511@qq.com
7686cf92da5fa6adf8d1433545db8d9fb69d8e99
0d5e63dfc10db869ba149f07e915326a542e318d
/process_simulator.cpp
ebfa1e0a61cb07f6a429502bc1704856b333287c
[]
no_license
xiaoguozhi/cpu_scheduler
7cb6fbe14f857597919ec89d61bfe81fdf4efdd0
07f8aedb7c06b00d74cb18368e604e3c20b8f808
refs/heads/master
2020-04-02T05:28:36.212091
2012-12-31T19:56:27
2012-12-31T19:56:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
24,334
cpp
//Thomas Zaorski //RIN: 660747712 //EMAIL: zaorst@rpi.edu #include <iostream> #include <vector> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <cmath> #include <algorithm> using namespace std; //Initilizes variables related to statistical information int context_switch = 14; double total_turnaround...
[ "zaorst@rpi.edu" ]
zaorst@rpi.edu
7133e8bc7bc6009d62b27a2b4d7fcc15faf9e288
d4ab9036934342a5488a35575aa64550de6dccf3
/Assignment 1 Data struct/Assignement1/Outfit.h
1fb415ceb328c1dfb34c92e7121ad48606f8499b
[]
no_license
yoongsoon/koh
7ab34bd4c0763a054c0f956caba343424a231563
f7e08e622868c59478a1e943bd58344f4354fe1e
refs/heads/master
2020-07-11T04:12:49.044114
2016-12-05T08:07:53
2016-12-05T08:07:53
74,005,265
0
0
null
null
null
null
UTF-8
C++
false
false
262
h
#ifndef OUTFIT_H #define OUTFIT_H #include "Item.h" class Outfit : public Item { public: Outfit(const string &, const int &, const int &); ~Outfit(); virtual void receiveDamage(const int &); int getSPECIAL() const; protected: const int kSPECIAL; }; #endif
[ "yoongsoon@live.com" ]
yoongsoon@live.com
f808082222d357b58353b493510a4cf3729e1673
ad07b9cc798487b226e9d353cb0c2a565ec08564
/app/src/main/cpp/IPlayer.h
29edf70962581be3664bf39750f0d66ba4543724
[]
no_license
SmallSevenFromCN/XPlay
46fcb8523097a9d4c8db3e9da700a87c513541a0
86b442d514a15775635897fbe08e06e3e4925dbb
refs/heads/master
2020-04-25T02:07:14.063902
2019-03-06T08:28:18
2019-03-06T08:28:18
172,428,151
1
0
null
null
null
null
UTF-8
C++
false
false
1,035
h
// // Created by Administrator on 2019/2/27 0027. // #ifndef XPLAY_IPLAYER_H #define XPLAY_IPLAYER_H #include <mutex> #include "XThread.h" #include "XParameter.h" class IDemux; class IDecode; class IResample; class IVideoView; class IAudioPlay; class IPlayer : public XThread { public: static IPlayer *Ge...
[ "1436533793@qq.com" ]
1436533793@qq.com
f6e4f006aa3f2ba83c71bc60c288637f17656592
7dfa21d74dae975082c6d5deaa01248bac1dcc26
/torch/csrc/jit/fuser/kernel_cache.cpp
44969000f56bd3e5b6a27b71808075ca0fb9f204
[ "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
mruberry/pytorch
88cf536ed58d20a409c1e5119be4ec04ec960082
19f73180cfb39eb67110d2a1d541975a49211453
refs/heads/master
2022-02-03T16:25:31.070089
2019-04-22T17:52:28
2019-04-22T17:58:15
130,132,886
4
1
NOASSERTION
2020-01-16T16:51:39
2018-04-18T23:24:38
C++
UTF-8
C++
false
false
2,738
cpp
#include <torch/csrc/jit/fuser/kernel_cache.h> #include <torch/csrc/jit/passes/canonicalize.h> #include <torch/csrc/jit/passes/shape_analysis.h> #include <cstdint> #include <mutex> #include <unordered_map> namespace torch { namespace jit { namespace fuser { struct KernelCacheImpl { // Note: std::unordered_map does...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
440ccf190ed33a92621f747f1c49902f08c256db
e877f170f9a46811480177f956542ed576da8b6b
/MeshDS.h
fc38ae4628f7551387151686072dc63c48be7911
[]
no_license
ameyakarve/dualDegreeProject
42cf30b5b4b7e7d6a4c7ac692aa90de143afc616
cdebdb2be75a44156efe8bbe9e03073ad5778e37
refs/heads/master
2021-01-10T22:02:46.749498
2014-01-29T19:58:51
2014-01-29T19:58:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
491
h
class Facet { public: int ID; int vertices[3]; int edges[3]; vector <int> primaryNeighbours; vector<int> secondaryNeighbours; Vector normal; }; class Edge { public: int ID; int vertices[2]; bool isOuterBoundary; bool isInnerBoundary; vector <int> prevEdges; vector <i...
[ "ameya.karve@gmail.com" ]
ameya.karve@gmail.com
e3c29b8fd43e944fbcd57838508f9f9c0f14aaf7
af6e73829b64c18a30d896f02b0360da12dd0ee4
/xo.cpp
3e8ae9329d35afa998946b01191005ac4a70807a
[]
no_license
RawanRefaat/XO-Game
4b1897a93263c2a33453c5ef2e96f218fb7d2661
6803e2d98753c2334e9051523baabad32a3433f5
refs/heads/master
2023-08-24T12:26:37.918276
2021-10-06T01:07:57
2021-10-06T01:07:57
414,008,648
0
0
null
null
null
null
UTF-8
C++
false
false
2,457
cpp
//Member-function definitions. This file contains implementations //of the member functions prototyped in game.h #include <iostream> #include "game.h" //includes definition of class firstGame using namespace std; //class constructor to initialize the board marks properly firstGame::firstGame(){ mark='x'; for ...
[ "rawan_refaat@yahoo.com" ]
rawan_refaat@yahoo.com