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
1d966df9d536890fb52dac2ca613e317888d1d05
c717b260750d9c733b40e668d2841dee92167699
/software/libs/mctl/ft_sensor_cal.hpp
2aad94ea629536606217071b13fc275da9c3e267
[ "Apache-2.0" ]
permissive
hanhanhan-kim/noah_motion_system
b68e3fc6db1a0faea272ead7a22a043dfb80a6c8
5bea2750eac638b9f90720b10b5e2516f108c65b
refs/heads/master
2022-11-06T08:20:49.977792
2017-10-06T00:12:05
2017-10-06T00:12:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,293
hpp
#ifndef FT_SENSOR_CAL_HPP #define FT_SENSOR_CAL_HPP #include "rtn_status.hpp" #include "ft_tool_transform.hpp" #include <memory> #include <vector> #include <iostream> #include <armadillo> namespace atidaq { extern "C" { struct Calibration; } } namespace mctl { class FT_SensorCal { ...
[ "will@iorodeo.com" ]
will@iorodeo.com
d0779c97dc47d49d93a3454332e4a2f479e30d3e
841776845974ba2645eff58ff8fabedd873093f0
/8.最短路径/P2829大逃离.cpp
278d68a6e0ebfde1361e94ca98674ad04e9183cd
[]
no_license
hello-sources/Coding-Training
f2652c9b8e58d244a172922e56897fa2a3ad52fb
d885ca23676cb712243640169cf2e5bef2d8c70e
refs/heads/master
2023-01-19T11:17:36.097846
2023-01-01T00:49:09
2023-01-01T00:49:09
246,630,755
4
0
null
null
null
null
UTF-8
C++
false
false
2,805
cpp
/************************************************************************* > File Name: P2829大逃离.cpp > Author: ltw > Mail: 3245849061@qq.com > Github: https://github.com/hello-sources > Created Time: Thu 02 Jul 2020 03:31:59 PM CST ************************************************************************/ #includ...
[ "3245849061@qq.com" ]
3245849061@qq.com
bad3392ec9536a873d23fb973e1f553ca41c6a4e
8e854323d86b97057ee199e545f508d933d3a5be
/src/privatesend-client.h
adc49bc0ab1737349aae9d95b72cf510718cc85a
[ "MIT" ]
permissive
julivn/.github
362789f251e73846441028cf4de5a8279fc40f0e
6d544f99d9ba53d386863cb58e749af163c30294
refs/heads/master
2020-04-14T13:18:14.444317
2019-01-02T16:31:03
2019-01-02T16:31:03
163,864,804
0
0
null
null
null
null
UTF-8
C++
false
false
6,991
h
// Copyright (c) 2014-2017 The Dash Core developers // Copyright (c) 2018 The Bitmonix Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef PRIVATESENDCLIENT_H #define PRIVATESENDCLIENT_H #include "master...
[ "46324696+julivn@users.noreply.github.com" ]
46324696+julivn@users.noreply.github.com
9deda26c98829c6f09c81085d08900cffc1ea5c3
3c2217a9e512b0f0cc9158729bf29117673d60fa
/uva 1185 solution.cpp
d774e54a4d5cfed7c5ce0b80ebca095f939f20ff
[]
no_license
tanveerislam/UVASolution
84b0f443ae435dabe09189ba5ed7a2b550b66415
9c03e59fc0a93f319ff17e85a5012823ace16166
refs/heads/master
2020-07-22T00:00:41.956658
2019-09-07T18:12:57
2019-09-07T18:12:57
207,007,229
0
0
null
null
null
null
UTF-8
C++
false
false
441
cpp
#include<iostream> #include<cstdio> using namespace std; long long a[100000]; int main() { long long m,t,i,j,k,l,c; double n; cin>>t; for(i=0;i<t;i++) { cin>>a[i]; n=(double)a[i]; c=1; for(j=n-1;j>0;j--) { while(n>=10.0) { ...
[ "tanveerlab10ragshahi@gmail.com" ]
tanveerlab10ragshahi@gmail.com
62e834969f9caf4ea346d078db2eee2a19074293
9008c55d40a55adf6432152fc4fb9bfc71824c42
/src/Overlook/SystemQueue.cpp
1e5708c3418448aeb9a5aa2ad3cf19163e36222c
[ "BSD-3-Clause" ]
permissive
IanMadlenya/Overlook
6a9c46483c5ce651b3f4caac4b41b3e1f1aba8a8
e62ef353e72d9513f43652d027c546547195a143
refs/heads/master
2021-04-25T07:20:49.668491
2018-02-19T21:30:50
2018-02-19T21:30:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
17,736
cpp
#include "Overlook.h" namespace Overlook { void System::InitRegistry() { ASSERT(regs.IsEmpty()); ASSERT_(System::GetCoreFactories().GetCount() > 0, "Recompile Overlook.icpp to fix this stupid and weird problem"); // Register factories for(int i = 0; i < System::GetCoreFactories().GetCount(); i++) { ...
[ "seppo.pakonen@yandex.com" ]
seppo.pakonen@yandex.com
f087a53e54beb2bd8e9ef1ce76eb3d5530a6c867
ece2011fdb20670f76b6b970df54bc818c6b313b
/Sources/Inputs/AxisCompound.cpp
121c741d5954050f89ad73628f721e636f61926f
[ "MIT" ]
permissive
FirstLoveLife/Acid
eda32711a0cfdcc9f596e547e2880e9edfffda5a
b7ce821a6a2b2d4bc441b724fabe1bbd9b9c6b8d
refs/heads/master
2020-04-28T04:20:02.863648
2019-03-15T19:26:27
2019-03-15T19:26:27
174,974,067
0
0
null
2019-03-11T10:09:23
2019-03-11T10:09:22
null
UTF-8
C++
false
false
372
cpp
#include "AxisCompound.hpp" namespace acid { AxisCompound::AxisCompound(const std::vector<IAxis *> &axes) { for (const auto &axis : axes) { m_axes.emplace_back(axis); } } float AxisCompound::GetAmount() const { auto result = 0.0f; for (const auto &axis : m_axes) { result += axis->GetAmount(); ...
[ "mattparks5855@gmail.com" ]
mattparks5855@gmail.com
5091df236918ca918efa34e83268eee3fcc6fdbe
43a2fbc77f5cea2487c05c7679a30e15db9a3a50
/Cpp/Internal (Offsets Only)/SDK/AD_ThirdPerson_PlayerPirate_Female_Athletic_classes.h
b64e2dc918f5e7079a5eb84bd930626e57974fdd
[]
no_license
zH4x/SoT-Insider-SDK
57e2e05ede34ca1fd90fc5904cf7a79f0259085c
6bff738a1b701c34656546e333b7e59c98c63ad7
refs/heads/main
2023-06-09T23:10:32.929216
2021-07-07T01:34:27
2021-07-07T01:34:27
383,638,719
0
0
null
null
null
null
UTF-8
C++
false
false
901
h
#pragma once // Name: SoT-Insider, Version: 1.102.2382.0 /*!!DEFINE!!*/ /*!!HELPER_DEF!!*/ /*!!HELPER_INC!!*/ #ifdef _MSC_VER #pragma pack(push, 0x01) #endif namespace CG { //--------------------------------------------------------------------------- // Classes //-----------------------------------------------...
[ "Massimo.linker@gmail.com" ]
Massimo.linker@gmail.com
39e5fca2873f87f549dc7d7e8a5a8158864f5d8d
e3f4283e488dabbc45cbeeb6309503f8334571e9
/Wire/Wire.cpp
881b31bcaa0cefad701933da997fea6b0d75e47d
[]
no_license
igouss/RobotProto
139a81fe4fc2faa9b3520749bf9bf716c6de3264
74833be50b68eb7dc27ec2e60ef9cfa9cb128064
refs/heads/master
2021-01-17T06:33:41.452786
2011-09-10T01:43:01
2011-09-10T01:43:01
2,166,120
0
0
null
null
null
null
UTF-8
C++
false
false
6,904
cpp
///* // TwoWire.cpp - TWI/I2C library for Wiring & Arduino // Copyright (c) 2006 Nicholas Zambetti. All right reserved. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either ...
[ "i.gouss@gmail.com" ]
i.gouss@gmail.com
b96791c7ba47fa615a92e6ab8ca47a7e13e5d7bb
e07e3f41c9774c9684c4700a9772712bf6ac3533
/app/Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Collections_Generic_Dictionary_2_T2723200652.h
1e9b71d374786c2e5775168166d7c9f1d70cc086
[]
no_license
gdesmarais-gsn/inprocess-mobile-skill-client
0171a0d4aaed13dbbc9cca248aec646ec5020025
2499d8ab5149a306001995064852353c33208fc3
refs/heads/master
2020-12-03T09:22:52.530033
2017-06-27T22:08:38
2017-06-27T22:08:38
95,603,544
0
0
null
null
null
null
UTF-8
C++
false
false
1,148
h
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> // System.ComponentModel.WeakObjectWrapper struct WeakObjectWrapper_t2012978780; // System.Collections.Generic.LinkedList`1<System.ComponentModel.TypeDescriptionProvider> struct Linke...
[ "gdesmarais@gsngames.com" ]
gdesmarais@gsngames.com
b730cbb19015ce885de50335d0c25cbd314c5ada
b6ccb7529cd311c953b208e5200f26bdb3cb1d67
/41.First Missing Positive.cpp
0e413c0be7a093144f464da6d686b72f9e0745de
[]
no_license
swang109/Leetcode-1
2c5b3b6d9a7223c9f791d8972cb0da8c07e33eee
9243f05ddd1fdcc0de2a6d57148c7df33affc627
refs/heads/master
2020-12-01T11:41:23.955464
2015-11-08T22:40:40
2015-11-08T22:40:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
427
cpp
#include <iostream> #include <vector> using namespace std; int firstMissingPositive(vector<int>& nums) { for (int i = 0; i < nums.size(); i++) while (nums[i] > 0 && nums[i] <= nums.size() && nums[i] != nums[nums[i] - 1]) swap(nums[i], nums[nums[i] - 1]); for (int i = 0; i < nums.size(); i...
[ "roddykou@gmail.com" ]
roddykou@gmail.com
845708b1c6df58776b9b009fbd438edc9b48082f
56b94ffc8f4dcb39908399201d38b78f4f8c2376
/tests/parser/030.cpp
c51fafa069c5ce8a8202ee091331561857aea6ac
[]
no_license
helviett/Tiny_C_Compiler
99f7a5187eea701bf95f090c2efbb34e6326baf9
0968c89884e50386911913b3c6703fe4ce31e10f
refs/heads/master
2021-09-07T06:58:44.035998
2018-02-19T05:53:30
2018-02-19T05:53:30
106,104,684
1
0
null
null
null
null
UTF-8
C++
false
false
202
cpp
int main(void) { int a, b, c, d, e, f, g[5]; int max = c > d ? c : d; 5 + 12 * 8 <= 5 | 9 << 3 + 1 > 4 ? (123 ^ 7) - d >> 8 << 7 & 12 + ~1 == 9 <= 5 && f + ++g[5] - 15 : 12; return 0; }
[ "keltarhelviett@gmail.com" ]
keltarhelviett@gmail.com
097a2834319794b216c1d29684b8190038ebd097
509aa79f8b1054a37c0eaf5786826b140695980a
/Lab/Lab/src/shortestPath2D/ShortestPath.h
afc1937c98f39e56c52fd98b9c94e100312c62ad
[]
no_license
MariKush/MFCG
e5171c0ec38f5fc86819174fb962dfdc30ed0b09
a2bc141216c6e630c329f346de6041120a3f3506
refs/heads/master
2022-07-31T22:01:50.722977
2020-05-19T19:31:03
2020-05-19T19:31:03
262,397,477
0
0
null
null
null
null
UTF-8
C++
false
false
443
h
#ifndef SHORTESTPATH2D_SHORTESTPATH_H #define SHORTESTPATH2D_SHORTESTPATH_H #include <vector> #include "Common.h" #include "Point.h" #include "Polygon.h" #include "Path.h" #include "Graph.h" namespace shortestPath2D { class ShortestPath { struct SPNode { real distance; Point point; Point parent; }; pu...
[ "43176370+MariKush@users.noreply.github.com" ]
43176370+MariKush@users.noreply.github.com
747e0748264a21b3471120c028e14041c0c8fb1e
d60c368af917b102962ca4f63fb4f906bf488906
/CS15 Object-Oriented Programming Methods Workplace/Assignment 5/Assignment 5/Trapezoid.cpp
a56bee3410e1fbc4074eb2520b0cc0ac1cf88d55
[]
no_license
mahdikhaliki/CS-Classes
f36d3092abf17553bbd75cfe21312edfc403deaf
ef52cc430e3dd778e20c6b59dd6261d193bc59cb
refs/heads/master
2021-01-15T02:02:59.361191
2020-12-11T06:43:14
2020-12-11T06:43:14
242,841,624
0
0
null
null
null
null
UTF-8
C++
false
false
1,092
cpp
#include "Trapezoid.hpp" using namespace std; Trapezoid::Trapezoid() { _a.setAll(4.0, 0.0); _b.setAll(0.0, 0.0); _c.setAll(1.0, 5.0); _d.setAll(3.0, 5.0); } double Trapezoid::area() { return ((_a.Distance(_b) + _c.Distance(_d)) / 2) * (_c.getY() - _b.getY()); } double Trapezoid::perimeter() { ...
[ "mahdi.khaliki@sjsu.edu" ]
mahdi.khaliki@sjsu.edu
0660949b4c216d61dc21b0c38ee7b2e829bb7cfa
a1a0518781ec8bb41acb853850e115005bdc7c8c
/BOJ/11719_그대로 출력하기 2.cpp
e5a4be9ed311dc99db02c1b2fa516bd6f11b2c78
[]
no_license
JJungs-lee/problem-solving
e71ccbcab58b6c2444a4b343a138a3082ed09c0c
aa61f2311a7a93fbcb87d2356d15188ea729ee7c
refs/heads/master
2023-09-03T16:48:31.640762
2023-08-31T09:05:39
2023-08-31T09:05:39
106,645,163
3
0
null
null
null
null
UTF-8
C++
false
false
141
cpp
#include <iostream> using namespace std; int main(){ char str[101]; while(cin.getline(str, 101)){ cout << str << endl; } return 0; }
[ "loveljhs2@gmail.com" ]
loveljhs2@gmail.com
358240356f030dfdb855874ba5bc2b9a7efd1b07
d4acab203c402bc5f8f412b47be13c73f2324b31
/cdcl/Templates/vbl_smart_ptr+cdcl_feature_with_shape+3--.cxx
af476f679de3973a09e44dcbddee9f77a6f7285f
[ "Apache-2.0" ]
permissive
msofka/LRR
18b69cb0fd2f98844fa47337e660541c65b7f953
8c04ab9d27980c98a201943c1fe46e7e451df367
refs/heads/master
2021-05-15T05:35:51.686646
2018-01-14T02:36:32
2018-01-14T02:36:32
116,441,547
2
0
Apache-2.0
2018-01-06T02:43:14
2018-01-06T00:50:29
C++
UTF-8
C++
false
false
134
cxx
#include <vbl/vbl_smart_ptr.txx> #include <cdcl/cdcl_feature_with_shape.h> VBL_SMART_PTR_INSTANTIATE( cdcl_feature_with_shape<3> );
[ "msofka@4catalyzer.com" ]
msofka@4catalyzer.com
990c74fae962413d962825c19a3658d2853fd003
70c1d93fd809d767e7a10611a83425234d1f7a77
/Study/KOI_Book/KOI/9.cc
2b3ee01200dcd74e1dbbd5faa873053fefe3c77f
[]
no_license
BlinkingStar7/Problem_Solving
1e52348d3f013ab1849697894d7e30cf540697f8
9f115c831ffb70cd3dfedf6fbee782fba4cfc11a
refs/heads/master
2021-01-21T04:27:40.184818
2016-08-26T09:24:40
2016-08-26T09:24:40
51,363,595
0
0
null
null
null
null
UTF-8
C++
false
false
1,096
cc
#include <stdio.h> #include <iostream> #include <vector> #include <queue> using namespace std; vector<int> Prime; typedef struct Node {int num, height; vector<Node> child;} Node; queue <Node*> Q; int C[4] = {1, 3, 7, 9}; void findPrime(int num) { for (int i=3; i<num; i+=2) { bool flag = true; for (int k=0; k<Pri...
[ "steadies@naver.com" ]
steadies@naver.com
8cbb720c82303474b24892f2f50098f7e228ee7c
838bc678fc99413b914fdc69b508f77e6c59b66c
/VGP334/17_HelloSkinnedMesh/WinMian.cpp
8f825318ceb3c1a0986f261fd31cbde8d08dc6ea
[]
no_license
NeilChongSun/SBEngine
34a6969b1c59226a096986d267265ff2f4479b05
a2659bb3c40ae7154dfadaeb8c7b1d5fb71fc366
refs/heads/master
2023-05-26T06:52:36.933092
2021-06-10T23:47:51
2021-06-10T23:47:51
376,198,320
0
0
null
null
null
null
UTF-8
C++
false
false
226
cpp
#include<SB/Inc/SB.h> #include"GameState.h" int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) { SB::MainApp().AddState<GameState>("GameState"); SB::MainApp().Run({ "Hello Skinned Mesh", 1280, 720 }); return 0; }
[ "ImportService@microsoft.com" ]
ImportService@microsoft.com
927111a3af4e3dd2c7c047d5881697b93de1437e
62f22ff727b6437362cfdb9d23afb99bed517290
/libraries/PowerPin/PowerPin.h
d46d073e221c5efa99404b718581f990274d1bd2
[]
no_license
tezmo/OpenPuzzleBox
0902c19d7c3f2288b75d03208e044571ddf1d3a6
a707a0257d7dd13790d1dfc3dc433e7d47ecd3d8
refs/heads/master
2016-09-05T10:50:52.258158
2015-05-12T17:59:41
2015-05-12T17:59:41
35,000,074
0
0
null
null
null
null
UTF-8
C++
false
false
606
h
/* PowerPin - Simple Arduino library for powering things, with timeouts. Juerd Waalboer */ #ifndef PowerPin_h #define PowerPin_h #include <inttypes.h> #include <Arduino.h> class PowerPin { public: PowerPin(uint8_t pin, uint8_t off_state = LOW); void on(); void off(); void on(u...
[ "jvanderroest@gmail.com" ]
jvanderroest@gmail.com
b1bc9ea4a932837fe65731fe52349fbafa30c4ed
7dd9149a4518ac21e3e2ba500f7cdc9823ddaf06
/T1/CardT1.cpp
fd5f133cf6f9011be375e835ba767906cd671df9
[ "MIT" ]
permissive
bcspragu/Casino
d34848ae60631cd05de9c249c9f7d7e734375fc3
eaa106432b6e8ecdd5860d5007f1404e0150e154
refs/heads/master
2021-01-21T02:11:13.193473
2015-05-05T00:09:29
2015-05-05T00:09:29
14,091,812
0
0
null
null
null
null
UTF-8
C++
false
false
3,652
cpp
#include <string> #include "CardT1.h" using std::string; CardT1::CardT1(Suit s, Value v){ suit = s; value = v; } CardT1::CardT1(string s){ string su; string va; va += s[0]; if(s[0] == '1'){ va += s[1]; } //Last character su = *s.rbegin(); if(va == "2"){ value = (Value)0; }else if(va == ...
[ "brandon00sprague@gmail.com" ]
brandon00sprague@gmail.com
0b0ad3df71d876d345786439f20ae167f28ec32f
1100c43ab96da22bcfd1003c8472fb568b5b4675
/examples/src/Core/OverrideFinal/XX_OverrideFinal.cpp
e9923f943784abfe0b4159c8ee30be059a5a1dec
[]
no_license
xcysuccess/CPlusPlus11
ba6d91655a391d739dc5bd17983d92dc715614fe
991c71a158777856033414d38bcd3aa2a461aa77
refs/heads/master
2020-04-06T09:28:11.683155
2018-11-19T13:17:38
2018-11-19T13:17:38
157,343,810
0
0
null
null
null
null
UTF-8
C++
false
false
997
cpp
// // XX_OverrideFinal.cpp // XXCPlusPlus // // Created by tomxiang on 2018/11/16. // Copyright © 2018年 tomxiang. All rights reserved. // // 1.继承的时候会有无意重写父类方法的问题--- // 2.virtual中如果方法一样,参数类型不同可能会被重复调用--- #include "XX_OverrideFinal.hpp" #include <XXTiles/XXTiles.h> //第一种情况----accidentally overrides A::func class ...
[ "tomxiang@tencent.com" ]
tomxiang@tencent.com
052ec59dc5e0d70b055de852a4c0e9d7992144bd
a1bfdad4489b2ef379330ddb7ce41d279406ea30
/src/7zipAndroid/CPP/7zip/UI/Console/PercentPrinter.cpp
bce0ba7875b286484b93f6e138d80542d54c1648
[]
no_license
wcrosmun/simple-7zip-wrapper
996eb4dafd6255904a411e61707d3e86a970edbf
e14b6bda0af6662905788b88274152d209a4e97b
refs/heads/master
2021-09-07T01:25:33.889372
2018-02-15T00:07:46
2018-02-15T00:07:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,470
cpp
// PercentPrinter.cpp #include "7zStdAfx.h" #include "../../../Common/IntToString.h" #include "PercentPrinter.h" static const unsigned kPercentsSize = 4; CPercentPrinter::~CPercentPrinter() { ClosePrint(false); } void CPercentPrinterState::ClearCurState() { Completed = 0; Total = ((UInt64)(Int64)-1); File...
[ "cryptobees@gmail.com" ]
cryptobees@gmail.com
8eefc0be7fd82bc76974dd74b77623edb98f4b48
f13d58b82ab70b42ff017432272e4e9fc3d8d99a
/online-judge/CodeForces/CodeForces 1093C.cpp
94b28e10eac469fb9c000f7987fb7a0993a35f7b
[]
no_license
WEGFan/Algorithm-Contest-Code
3586d6edba03165a9e243a10566fedcc6bcf1315
a5b53605c0ec7161d12d48335171763a2ddf12b0
refs/heads/master
2020-11-26T10:33:02.807386
2019-12-19T12:05:17
2019-12-19T12:05:17
229,043,842
0
0
null
null
null
null
UTF-8
C++
false
false
659
cpp
#include <iostream> using namespace std; long long arr[200007]; long long brr[200007]; int main() { int n; cin >> n; for (int i = 0; i < n / 2; i++) { cin >> brr[i]; } arr[0] = 0; arr[n - 1] = brr[0]; for (int i = 1; i < n / 2; i++) { long long tmp = arr[n - i]; ...
[ "goofans@qq.com" ]
goofans@qq.com
0f0a4329caeca28272ba9b782a665fcffba36a76
438d9dde1d13a7b49da7ab4599a7ea5a046ccb88
/Semester5-F/BTP305/Workshop8/Workshop8/w8.cpp
1701c4586daceeb551c6de5bf8266215b9d7feea
[]
no_license
phanthanhkhai480/school-work
b99e1b11642a9929bbb5a83d3d0e3b6480669d92
f95831e0d36a461bd0eb00c61946cff526fdbf60
refs/heads/main
2023-08-06T00:21:05.091992
2021-09-27T02:31:31
2021-09-27T02:31:31
394,076,848
0
0
null
null
null
null
UTF-8
C++
false
false
2,434
cpp
// Workshop 9 - Smart Pointers // w9.cpp #include <iostream> #include <fstream> #include <iomanip> #include <memory> #include <utility> #include "Element.h" #include "List.h" const int FWC = 5; const int FWD = 12; const int FWP = 8; w9::List<w9::Product> merge(const w9::List<w9::Description>& desc, ...
[ "50007190+phanthanhkhai480@users.noreply.github.com" ]
50007190+phanthanhkhai480@users.noreply.github.com
6c3cb6fc5dcdd297386a5fd11b41e311e41218e0
cc2cd06b8ed582d8363ca0998d5fd1a77e70cd0c
/MFISH.cpp
a03c2a4e9719623f8ef106bbcd37dde219543e98
[]
no_license
gittyvarshney/DP
625aaa73ef984fd557db629bdae30c540baa79da
12798f3211508f8b030671efed6fce85172a74e2
refs/heads/master
2022-12-15T01:26:20.591380
2020-09-16T14:57:24
2020-09-16T14:57:24
285,312,858
0
0
null
null
null
null
UTF-8
C++
false
false
2,013
cpp
#include<bits/stdc++.h> using namespace std; //Very nice 1D DP Problem of SPOJ //In original problem their is a constraint that you have to use all the ships but //if their is no constraint on ships //you can replace the //with constraint <--between--> //End of constraint With /* map<int, int>::reverse_iterator it; f...
[ "pv66645@gmail.com" ]
pv66645@gmail.com
386fc1cd7d378e4d6d18d62752528d972416fd82
9ec67e83200f643f9f55ed90e0b2cae4581ebcb6
/CppParserLib/PPTokenList.h
26cf01369c79b1d9f102b0f10cd2339843d503c2
[]
no_license
andrewpaterson/Codaphela.Library
465770eaf2839589fc305660725abb38033f8aa2
2a4722ba0a4b98a304a297a9d74c9b6811fa4ac5
refs/heads/master
2023-05-25T13:01:45.587888
2023-05-14T11:46:36
2023-05-14T11:46:36
3,248,841
1
1
null
null
null
null
UTF-8
C++
false
false
1,521
h
/** ---------------- COPYRIGHT NOTICE, DISCLAIMER, and LICENSE ------------- ** Copyright (c) 2022 Andrew Paterson This file is part of The Codaphela Project: Codaphela CppParserLib Codaphela CppParserLib is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Lice...
[ "andrew.ian.paterson@gmail.com" ]
andrew.ian.paterson@gmail.com
9f534a1748b38c981fa29ef589f2293681312296
1f171eacac79739625a0500b0097871d40d61a2d
/test/unit/pdf/PdfMappingTest.cpp
f1164040e2ba01583f7f0d97c640f0ba7d309ff1
[]
no_license
BillyLiggins/oxsx_old
b41a44bf77da859c342843f61d7a5495452089df
67c23cf2c616a4a637bdda21e3d94e57cc5007b5
refs/heads/master
2021-05-02T16:48:47.383871
2017-03-02T01:52:36
2017-03-02T01:52:36
72,468,919
0
0
null
null
null
null
UTF-8
C++
false
false
1,171
cpp
#include <catch.hpp> #include <PdfMapping.h> #include <BinnedPdf.h> TEST_CASE("Check Initialisation of 3x3 -> 3x3"){ AxisCollection ax; ax.AddAxis(PdfAxis("axis 1", 2.3, 4.5, 90)); ax.AddAxis(PdfAxis("axis 2", 1.3, 4.7, 11)); PdfMapping map; REQUIRE(map.GetNBins() == 0); map.SetAxes(ax); ...
[ "jack.dunger@physics.ox.ax.uk" ]
jack.dunger@physics.ox.ax.uk
e226e2080c54721f229fa4539455a944904d9488
575731c1155e321e7b22d8373ad5876b292b0b2f
/examples/native/ios/Pods/boost-for-react-native/boost/mpl/bitand.hpp
844cc1a2669f853b0fef30c07dcada5a7f89cf03
[ "BSL-1.0", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Nozbe/zacs
802a84ffd47413a1687a573edda519156ca317c7
c3d455426bc7dfb83e09fdf20781c2632a205c04
refs/heads/master
2023-06-12T20:53:31.482746
2023-06-07T07:06:49
2023-06-07T07:06:49
201,777,469
432
10
MIT
2023-01-24T13:29:34
2019-08-11T14:47:50
JavaScript
UTF-8
C++
false
false
1,191
hpp
#ifndef BOOST_MPL_BITAND_HPP_INCLUDED #define BOOST_MPL_BITAND_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2000-2009 // Copyright Jaap Suter 2003 // // 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) //...
[ "radexpl@gmail.com" ]
radexpl@gmail.com
6508690ec1d94a20d85d58f51ac918b4b2aefe18
5bee3ec75e44bfc15fc181bb51248e81e6d5e83c
/Currentsensor.h
a45c374fd7af20b41d6220ec8368e062052d03a0
[]
no_license
Luumo/microgrid-iot-platform
ad9f568d19458bbe0d1726d527200cb23f3611ce
fc727b1ef5d5af53d8e2c94c98285f9eed43b32b
refs/heads/master
2023-02-21T17:54:11.118478
2020-07-03T22:30:15
2020-07-03T22:30:15
224,829,758
1
0
null
null
null
null
UTF-8
C++
false
false
648
h
#ifndef CURRENTSENSOR_H #define CURRENTSENSOR_H class CurrentSensor{ public: CurrentSensor(int pin, float sensitivity); float readCurrent(); // returns Ampere float currentValue = 0.000; private: int m_pin; float m_sensitivity; //66mV/A for 30A sensor, 100mV/A for 20A sensor ...
[ "34240620+Luumo@users.noreply.github.com" ]
34240620+Luumo@users.noreply.github.com
f0f18c51a1711afe3a6bfe37929757e7ef2167d8
7c3705990d82f10c9c5a789c9c8442da51f232f5
/AmbifluxRobotARNL/AmbifluxRobot/Frame.cpp
88a1bb6a53a2a93aa56b15e52016af6acdb857aa
[]
no_license
onartz/AmbifluxRobot
7d30b3c6cbd6364bbf4ec7990cbaf45c9510159d
7a7331bcf3d81997a073d0abcb8c84a508a266ed
refs/heads/master
2021-01-21T10:09:08.567781
2015-05-28T09:15:06
2015-05-28T09:15:06
41,915,516
0
0
null
null
null
null
UTF-8
C++
false
false
102
cpp
#include "Frame.h" Frame::Frame(){} Frame::Frame(char** msg, int nbArgs):msg( msg, msg + nbArgs ) {}
[ "olivier.nartz@univ-lorraine.fr" ]
olivier.nartz@univ-lorraine.fr
66445abbba295b65d82cfe21ef535dd423fdc7c4
e104892af303d85c5e661d099b500dc1e35b882d
/Sample12_4/app/src/main/cpp/bndev/MyVulkanManager.cpp
08bf6e60198a5bdbb2fe66627cb03c2966f6ae67
[ "Unlicense" ]
permissive
siwangqishiq/Vulkan_Develpment_Samples
624900dabaca75c9ad21ef5a1ee5af6709dcc9a8
409c973e0b37086c854cde07b1e620c3d8d9f15d
refs/heads/master
2023-08-16T04:13:54.777841
2021-10-14T06:53:11
2021-10-14T06:53:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
30,672
cpp
#include <vulkan/vulkan.h> #include "MatrixState3D.h" #include "MyVulkanManager.h" #include "../util/FileUtil.h" #include "../util/TextureManager.h" #include "../util/HelpFunction.h" #include <thread> #include <iostream> #include <assert.h> #include <chrono> #include "ThreadTask.h" #include "../util/FPSUtil.h" #include...
[ "709165253@qq.com" ]
709165253@qq.com
e7c3ad2d7214f48168548eee42907bd0498b6911
4121fe2de9aec21141bc70d52b857a8090289a40
/Interfaz/Prueba/Tools.cpp
c1053a34adccc8fa361888f62fddf5daf330858f
[]
no_license
david-ponc/PDI
63accf247abbc7d27ea7c92406ee9d61487cca30
31473ecb9909f09757cb989deacf9cd46c1e43be
refs/heads/master
2022-06-19T15:31:24.550421
2020-04-19T22:54:21
2020-04-19T22:54:21
242,806,159
0
0
null
null
null
null
UTF-8
C++
false
false
1,726
cpp
#include "Tools.h" Image Tools::HistogramRGB(Image img) { Image histo; histo.Create(256,256,255, "", "histogramaRGB"); int histoR[256] = {0}, histoG[256] = {0}, histoB[256] = {0}; int maxR = 0, maxG = 0, maxB = 0, max = 0; for(int i = 0; i < img.height; i++) { for(int j = 0; j < img.width...
[ "buap.david@gmail.com" ]
buap.david@gmail.com
229fef720611cacd523d8fbc4f2d5853417bc653
87b48e7b8d80e11fa8ac762a5327b9877ec5a1ff
/configure/configure_edge/main.cpp
47f7d8cd35d7e0dc11fc49c80f8577ff0711f1d0
[]
no_license
junyiliu/innovation-diffusion
0d5fb38e0ae16f802d223a1f420c22c19bfa330f
d27b0d1689324fb9c3b8cf170e8c0255e64e23b4
refs/heads/master
2021-01-10T19:32:58.600105
2014-05-10T08:00:46
2014-05-10T08:00:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,651
cpp
#include "my_vector.h" #include "epidemic.h" #include <cstdio> #include <iostream> #include <fstream> #include <vector> #include "include/igraph.h" #include "migraph.h" #pragma comment(lib,"igraph.lib") igraph_rng_t *mrng=igraph_rng_default(); extern void gen_graph(igraph_t* res, const string & name); ...
[ "qikuijun@gmail.com" ]
qikuijun@gmail.com
663d3de5060c32b3f52419900f2d0b9350ad630c
384b61b16a703e28093dd07e8d4d74f053e4c582
/src/Magnum/Trade/imageconverter.cpp
e2d5dce54452e9adeccecc6175e283d70b27e698
[ "MIT" ]
permissive
fauder/magnum
6d11a2aa00efbf56a08e41a36ec75b975d5712e0
f79a9dfecfc042520704f9ad7e563114ee6ed5f7
refs/heads/master
2023-07-29T02:29:10.712611
2023-07-05T13:19:49
2023-07-05T13:24:51
264,703,677
0
0
null
null
null
null
UTF-8
C++
false
false
60,389
cpp
/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation ...
[ "mosra@centrum.cz" ]
mosra@centrum.cz
1e531ed1be17a8ef274b456b18740fbd76aaab01
03303888daff8e46fac3d333a747adb7a3742d2d
/Core/fun.h
6d1900949b734f46c5cef30f41b7fb05d1a39ae1
[ "MIT" ]
permissive
pvmoore/cpp-core
015c6385c3c2c7428f27cf4816edab85788b22d1
6dba63f12415fec5fe2e50dd18c52cac07a14d04
refs/heads/master
2021-10-19T13:26:10.372074
2019-02-21T11:53:42
2019-02-21T11:53:42
123,930,155
0
0
null
null
null
null
UTF-8
C++
false
false
467
h
#pragma once namespace core { template<typename COLLECTION, typename LAMBDA> void forEach(COLLECTION collection, LAMBDA lambda) { std::for_each(collection.begin(), collection.end(), lambda); } /// Transforms elements of same type within the collection. template <typename COLLECTION, typename LAMBDA> COLLECTION map(...
[ "1926576+pvmoore@users.noreply.github.com" ]
1926576+pvmoore@users.noreply.github.com
3d774fefd010ea4393a5da76b5add4841b07913b
a8cd091c684b79676841ef4778fbcc27bdefdfa3
/Walker/Walker.ino
583ff65b9856453def67501eb98d9e5fad99adcd
[]
no_license
ericgemnay/Robot
dabaaf6370f1b3c99f509eeff0b78627aa396045
e12a88ced2bcc9a08ec475457a640c287d286a50
refs/heads/master
2021-01-02T08:32:37.179615
2015-06-27T00:10:46
2015-06-27T00:10:46
38,139,893
0
0
null
null
null
null
UTF-8
C++
false
false
4,439
ino
//including libraries #include <Servo.h> #include "Legs.h" //makes the objects for servos Servo Coxa1; Servo Femur1; Servo Tibia1; Servo Coxa2; Servo Femur2; //alt Servo Tibia2; //alt Servo Coxa3; Servo Femur3; Servo Tibia3; Servo Coxa4; Servo Femur4; //alt Servo Tibia4; //alt //starting angles /* int startingp...
[ "egemnay@gmail.com" ]
egemnay@gmail.com
2208c400bd5400c4ae9d38020c1721a8997deeba
d6752ac9f95da0f1bc04e70a258e9976c9ddacef
/trapfunc.cpp
4fe330f79df5f6d06290596b1f3cc0662530ad2b
[]
no_license
Justice-/MGSmod
a486119d1d998b2adfcbb9b04f2595fdf41e7fd6
fcc475aabc1dca04041d1c69aa88af01a3d6ad8a
refs/heads/master
2021-01-21T08:01:35.964087
2013-06-09T07:04:36
2013-06-09T07:04:36
10,578,456
2
1
null
null
null
null
UTF-8
C++
false
false
22,148
cpp
#include "game.h" #include "trap.h" #include "rng.h" void trapfunc::bubble(game *g, int x, int y) { g->add_msg("You step on some bubblewrap!"); g->sound(x, y, 18, "Pop!"); g->m.tr_at(x, y) = tr_null; } void trapfuncm::bubble(game *g, monster *z, int x, int y) { g->sound(x, y, 18, "Pop!"); g->m.tr_at(x, y) = tr_n...
[ "codepublic@charter.net" ]
codepublic@charter.net
9f794de3c23a5ccd76aa5e785aa032e3d73841c7
617296ef3936724a88be5a2e6023aa363cb93d1d
/backup/新建文件夹/word.cpp
59b50bfb2c9eab3a55a95ca380251f05d2793291
[]
no_license
Melos17/Lex
d2fc204fb383a9677c72cd380e410f4adc2c0a9a
89f1e63ddee89063373cdf10744a170b57ea63a9
refs/heads/master
2023-01-06T03:21:10.782944
2020-11-03T11:51:01
2020-11-03T11:51:01
309,675,249
0
0
null
null
null
null
UTF-8
C++
false
false
1,115
cpp
#include "word.h" enum TOKEN_TYPE { Unknown = -1, Parenthese_Left = '(', Parenthese_Right = ')', Bracket_Left = '[', Bracket_Right = ']', Star = '*', Plus = '+', Question = '?', VerticalLine = '|', Dot = '.', Hyphen = '-', Caret = '^', Normal_Character = 128, Escape_Character, // no...
[ "melos17@qq.com" ]
melos17@qq.com
5b02a691bbd1bcc8d62c2854283ca13dba56fe5e
63a1e65a9c66c0de59673ddd6e54367da2da12a3
/字节跳动/5. 最长回文子串.cpp
c4ed290c68eb9b0954403021007d0f86fb23d77f
[]
no_license
Maserhe/Algorithm_practise
58df28ce1e6ab7bd10943c022264662c2a7bbf19
f06dc4395e1089b5d3076e3c463b59d1483f324a
refs/heads/master
2023-03-22T10:14:27.381659
2021-03-15T14:44:43
2021-03-15T14:44:43
230,616,496
0
0
null
null
null
null
UTF-8
C++
false
false
671
cpp
class Solution { public: int getStr(int l, int r, string& s) { while (l >= 0 && r < s.size() && s[l] == s[r]) { l -- ; r ++ ; } return r - l - 1; } string longestPalindrome(string s) { int max = 0, start = 0; for (int ...
[ "982289931@qq.com" ]
982289931@qq.com
7e7252a91c740f5331c75770749578c5432d499c
f622e20ed72dcc6a11b6de365dc7f62d34af4995
/TP.h
c13b1947c144c082d55a5cbb64e523cf716edc0e
[]
no_license
MarcosRolando/tp2taller
d637ac425127d14cf0518eb896c11de181f323ee
b7bdf6e9113d5f0f3917d2a817aaf7e8ffac43f6
refs/heads/master
2022-07-13T01:35:36.088076
2020-05-13T13:57:36
2020-05-13T13:57:36
262,163,479
0
0
null
null
null
null
UTF-8
C++
false
false
272
h
// // Created by marcos on 12/5/20. // #ifndef TP2TALLER_TP_H #define TP2TALLER_TP_H #include "King.h" #include "FileException.h" class TP { public: static int run(int argc, char** argv); private: static bool _validInput(int argc); }; #endif //TP2TALLER_TP_H
[ "marcosrolando.mr@gmail.com" ]
marcosrolando.mr@gmail.com
e7f2363bcc2c2146d2426d119017f54bddb31722
5c6d2151717fcca45406321895b59505a681f25e
/examples/cli_single.cpp
54dcde55d346bcaff5d9bd5a2720fbcf03c533ce
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
DonRazor2/libsolace
fd29266a166b8249578e7368638c6bf9305795cd
d7501d2e83b30064a0aa938e03509b4822b3b2b0
refs/heads/master
2020-03-23T10:01:16.064131
2018-07-16T14:50:32
2018-07-16T14:50:32
141,421,486
0
0
null
2018-07-18T10:47:33
2018-07-18T10:47:33
null
UTF-8
C++
false
false
1,690
cpp
/* * Copyright 2016 Ivan Ryabov * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
[ "abbyssoul@gmail.com" ]
abbyssoul@gmail.com
b0f1b2bd9dff725c9e5f2d0e38b76742874b32b1
827405b8f9a56632db9f78ea6709efb137738b9d
/CodingWebsites/WHU_OJ/Volume1/P1050.cpp
b04b93db762767ad04efb30d1c828beb9f77f6cd
[]
no_license
MingzhenY/code-warehouse
2ae037a671f952201cf9ca13992e58718d11a704
d87f0baa6529f76e41a448b8056e1f7ca0ab3fe7
refs/heads/master
2020-03-17T14:59:30.425939
2019-02-10T17:12:36
2019-02-10T17:12:36
133,694,119
0
0
null
null
null
null
UTF-8
C++
false
false
1,147
cpp
#include <iostream> #include <cstdio> #include <cstdlib> #include <cstring> #include <algorithm> using namespace std; int D[100][100]; int F[100]; void Init(int n){for(int i=0;i<n;++i) F[i]=i;} int Find(int x){return x==F[x]?x:Find(F[x]);} struct Arc{ int from,to,dist; Arc(){} Arc(int from,int to,int dis...
[ "mingzhenyan@yahoo.com" ]
mingzhenyan@yahoo.com
73d390b2855ecd39f3140f85c2e73c56bb4f384f
454c964ab7dd6a8258632bdf3ab9e6eeafd71872
/source/TouchButton.cpp
ab08450c01cb0382783b1ec88953488c72b749f6
[]
no_license
fizzyfrosty/FuzzyCubesUniversalHD
bebc023769173a5debd6299acd733f6477d355bf
1d8b95f6687be5b9fad1b8cc0941ebcbca2818d6
refs/heads/master
2020-05-29T14:32:12.210893
2014-04-04T02:18:40
2014-04-04T02:18:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,305
cpp
#include "TouchButton.h" TouchButton::TouchButton(void) { pressed = false; initialPressed = false; enabled = true; x = 0; y = 0; } TouchButton::~TouchButton(void) { } bool TouchButton::isPressed( int16 x, int16 y ) { if( enabled == true ) { // sets the hitbox for the button, determines if it's pressed ...
[ "fizzyfrosty@yahoo.com" ]
fizzyfrosty@yahoo.com
0ea10fbfc307cc922163b390ac51401eee098b88
5565952688dd8a0619c71bfe4fdf36b333fb94de
/server/Main.cpp
8a7bed0e0d45e2783db9d42504dafc88c77f7b73
[]
no_license
huykaiba/YgoProServer
131b89d2e35e2c2eba606788475e69725ad144f8
3ff281f2285bafb7662dc5942bd02838966dea62
refs/heads/master
2021-03-27T12:18:16.884009
2016-07-16T04:50:50
2016-07-16T04:50:50
63,411,406
1
0
null
null
null
null
UTF-8
C++
false
false
476
cpp
#include "Config.h" #include <string> #include "GameserversManager.h" using namespace ygo; using namespace std; volatile bool needReboot = false; volatile bool isFather = true; int sfd; //server fd int main(int argc, char**argv) { Config* config = Config::getInstance(); if(config->parseCommandLine(argc,...
[ "huykaiba@gmail.com" ]
huykaiba@gmail.com
e206cf05236021f2c5e9eaca259134ecc1e7a4be
58a0ba5ee99ec7a0bba36748ba96a557eb798023
/Olympiad Solutions/SPOJ/CNTPRIME.cpp
13a2af59f950396eff9ceb9c2813c86af182aca2
[ "MIT" ]
permissive
adityanjr/code-DS-ALGO
5bdd503fb5f70d459c8e9b8e58690f9da159dd53
1c104c33d2f56fe671d586b702528a559925f875
refs/heads/master
2022-10-22T21:22:09.640237
2022-10-18T15:38:46
2022-10-18T15:38:46
217,567,198
40
54
MIT
2022-10-18T15:38:47
2019-10-25T15:50:28
C++
UTF-8
C++
false
false
2,164
cpp
// Ivan Carvalho // Solution to https://www.spoj.com/problems/CNTPRIME/ #include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int MAXN = 1e4 + 1; const int MAXP = 1e6 + 1; const int MAXS = 1e3 + 1; int arvore[4*MAXN],lazy[4*MAXN],vetor[MAXN],n,m,TC; int crivo[MAXP]; void build(int pos,int...
[ "samant04aditya@gmail.com" ]
samant04aditya@gmail.com
945cc14ae145165a5fbfbefcf79808b84a99ddca
38a724327679ba89a9a5383b79523476264c69b2
/3 term/mipt-concurrency-course/task4/striped_hash_set/striped_hash_set.cpp
a5d64e9a87847b36b4e9f43e54555907314cd4dd
[]
no_license
alexeyqu/mipt-alexeyqu
3f0af5534a142082d8f9b10b36bbc9ae82daf6fe
1059b0e9a95855a95d0bc6c7da564799dfc7c449
refs/heads/master
2021-01-21T04:39:39.719665
2017-10-11T16:28:20
2017-10-11T16:28:20
51,085,003
0
0
null
null
null
null
UTF-8
C++
false
false
589
cpp
#include "striped_hash_set.h" #include <thread> const int MAX_TEST = 50000; int main() { std::cin.get(); striped_hash_set<int, std::hash<int>> my_hash_set(1); std::thread([&my_hash_set]() { for (int i = 0; i < MAX_TEST; ++i) { std::cerr << i << std::endl; my_hash_set.contains(...
[ "alexeyqu@gmail.com" ]
alexeyqu@gmail.com
a5b9510b4de68fd3c47d873b87711b0b58882282
2c22ee6d774b40d147263ed3891f2dcf700ff9bd
/Type.cpp
17e9664a25a54a991a7f8780af606f3206a1edfd
[]
no_license
dogilla/CompiladoresC
9fbfa2a0bc643d06bdff361672e79ea9e611d403
e8d6ea804a62fc4ed50a665a57aee54cc5383c97
refs/heads/main
2023-07-09T16:23:12.277225
2021-08-16T21:55:27
2021-08-16T21:55:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
963
cpp
#include "Type.h" #include "Table.h" C0::Type::Type(){ } C0::Type::Type(string name, int baseType, int numItems, int tam){ this->name = name; this->baseType =baseType; this->numItems = numItems; this->tamBytes = tam; } C0::Type::Type(string name, int bytes){ this->name = name; this->tamBytes...
[ "ferbpp@ciencias.unam.mx" ]
ferbpp@ciencias.unam.mx
908e2a75ce7a78d04b275b5372592b592f326cdb
55cd0ea9846924b0abd1d6ae6c5d0889b2689fdb
/cny70/cny-test/cny-test.ino
96933288d8996f70fac33754a50bf36cd678c869
[]
no_license
rezacode01/CPS-Real-time-Embedded-Systems
68cbaa429728f0e6b6133186e7324f1e209e52c1
cac43967723c6b781d7f22aa3266c6eee8aa7340
refs/heads/master
2020-03-18T15:25:27.410866
2018-06-10T12:11:56
2018-06-10T12:11:56
134,906,644
0
0
null
null
null
null
UTF-8
C++
false
false
272
ino
int a = -1; void setup() { // put your setup code here, to run once: pinMode(2, INPUT); Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: a = digitalRead(2); Serial.print("input is"); Serial.println(a); delay(500); }
[ "rezacode01@gmail.com" ]
rezacode01@gmail.com
0838ee9d06acf6b82889badd386b9ca10346c4bd
6d5db68fe2e912f7f18dfddcf73955a042f32475
/project1-1403225/codebase/rbf/rbftest8b.cc
04d508a8001ffab144b5a8fa27d6549f1984b943
[]
no_license
DanielThurau/Database-System-II
9d33341d37f71324bd63b29571a1b53e12346af1
42ab3c9d84cc100a7606d099924dcfb9c32bb8dc
refs/heads/master
2020-03-09T21:07:59.720033
2018-06-12T18:44:10
2018-06-12T18:44:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,621
cc
#include <iostream> #include <string> #include <cassert> #include <sys/stat.h> #include <stdlib.h> #include <string.h> #include <stdexcept> #include <stdio.h> #include "pfm.h" #include "rbfm.h" #include "test_util.h" using namespace std; int RBFTest_8b(RecordBasedFileManager *rbfm) { // Functio...
[ "pefbass@gmail.com" ]
pefbass@gmail.com
5621aa78d51d80d8839919a31aec4946a8b92f5e
92ebaf7ce3022a38f8ae6bb57f6f8ee4ce6d267c
/tek2/object_prog/arcade/graphical/sdl2/Menu.hpp
d09f4b81d05f47994ff92c35f92ee692d0af1731
[]
no_license
CyrilGrosjean/Epitech
d69d6c448214c9ea17c9837fb03e0e166a73afc4
dde6bc229dcef73d66c422e98bd300cee6d19502
refs/heads/master
2023-04-28T17:32:08.333950
2021-05-20T00:12:33
2021-05-20T00:12:33
228,628,449
0
0
null
2023-04-14T17:18:22
2019-12-17T13:59:00
C++
UTF-8
C++
false
false
570
hpp
/* ** EPITECH PROJECT, 2021 ** B-OOP-400-MPL-4-1-arcade-cyril.grosjean ** File description: ** Menu */ #ifndef MENU_HPP_ #define MENU_HPP_ #include <iostream> #include <fstream> #include "../../includes/Vector.hpp" #include <vector> namespace sdl { class Menu { public: Menu(); ~Menu(); ...
[ "cyril.grosjean@epitech.eu" ]
cyril.grosjean@epitech.eu
1b5bc9a069318c1a7938372630886282b2dbed28
ef7eabdd5f9573050ef11d8c68055ab6cdb5da44
/eolimp/page27/q2619/Main.cpp
c462ba7d1f9960b7a332275f7b58a7c3b97e9e1f
[ "WTFPL" ]
permissive
gauravsingh58/algo
cdbf68e28019ba7c3e4832e373d32c71902c9c0d
397859a53429e7a585e5f6964ad24146c6261326
refs/heads/master
2022-12-28T01:08:32.333111
2020-09-30T19:37:53
2020-09-30T19:37:53
300,037,652
1
1
WTFPL
2020-10-15T09:26:32
2020-09-30T19:29:29
Java
UTF-8
C++
false
false
453
cpp
#include <cstdio> int main() { int n, ns[1000000], sum1 = 0, sum2 = 0; scanf("%d", &n); for(int i=0; i<n; i++) { scanf("%d", &ns[i]); sum1 += ns[i]; } if(sum1%2 == 0) { for(int i=0; i<n; i++) { sum1 -= ns[i]; sum2 += ns[i]; if(sum1 == sum2) { printf("%d\n", i+1); ...
[ "elmas.ferhat@gmail.com" ]
elmas.ferhat@gmail.com
0b17591b5f274b89f38d222f9f63924b4d44b383
b30a7be97defa312346391099b3d2eae0fb6f7ce
/src/qt/addresstablemodel.cpp
eee2a1bddfe1ffbe118039c23bd65e6265f23b14
[ "MIT" ]
permissive
chavezcoin-project/arepacoin-pivx
5a3b6000834417f295aba719c5b66283cd5df63f
e51b95c8a733f98a71e0e2b4fc8d8dbc43fc2bae
refs/heads/master
2021-07-10T15:24:35.549002
2017-10-03T16:36:11
2017-10-03T16:36:11
105,044,698
0
0
null
null
null
null
UTF-8
C++
false
false
14,043
cpp
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "addresstablemodel.h" ...
[ "loldlm1@gmail.com" ]
loldlm1@gmail.com
b0807aa9e4bae0c3134a47e57130f077d11f6fd8
8ad84e8c9ff528394cfaa36120a1f8a37a16f558
/boost/shared_ptr/payload.cxx
3fdce173d90eca0d1b0ce30f6acdaf30c4969b44
[]
no_license
cellist/dev
30378d031cbf2cc4ca23d8bdcd831679d6417786
3b59f54cafb2cfe97ff90caf127e165d866b9280
refs/heads/master
2023-08-19T03:43:30.494172
2023-08-12T14:43:46
2023-08-12T14:43:46
1,159,225
1
0
null
null
null
null
UTF-8
C++
false
false
386
cxx
#include <iostream> #include "payload.h" Payload::Payload() { std::cout << "Payload(): " << this->reference.use_count() << std::endl; } Payload::~Payload() { std::cout << "~Payload(): " << this->reference.use_count() << std::endl; } void Payload::inject(const PayloadPtr& ref) { std::cout << "Paylo...
[ "cellist@squizzy.de" ]
cellist@squizzy.de
a446699439d3e6312cbfcfd14bd677d7b1513b2b
883dc584a7df35efc9dbc52ffea8b7078c6e231d
/UVA兩顆星/Blowing Fuses.cpp
2b8dc5617fe866397ef47597eb0a25469a9fd448
[]
no_license
gigilin7/Program-solving
5ef048c24fa9ff0f2ea738c0d9361eb340c50152
ac4402b2635b2af2f41c83764bcc9bfce02a0f89
refs/heads/main
2023-03-12T17:59:33.905088
2021-02-22T11:22:23
2021-02-22T11:22:23
341,097,168
1
0
null
null
null
null
BIG5
C++
false
false
811
cpp
//題目:http://javauva.blogspot.com/2016/01/c094-00661-blowing-fuses.html #include <iostream> using namespace std; int main() { int n,m,c,count=1;//電器用品數,開關次數,上限 while(cin>>n>>m>>c&&n) { //turn=0是關,turn=1是開 int I[20]={0},turn[100]={0},sum=0,max=0; for(int i=1;i<=n;i++) { cin>>I[i];//每個電器的電流 } for...
[ "gigilinqoo@gmail.com" ]
gigilinqoo@gmail.com
4443686ae5356bfe45dcf193765788f50aa50797
bcfe3b540106599630acbfd811c48a5ce283d4ef
/RPS.cpp
0ca1da0bde24c499a1aa38e10046bc7fd9fdbe03
[]
no_license
Kevin-Escobedo/RPS
14e374fa90e0ed470568bab62f40b37b5537cf85
90257b1240275734a1452c7466ad4b3da1dbeaa7
refs/heads/master
2023-03-09T04:29:52.056508
2021-02-19T21:35:17
2021-02-19T21:35:17
340,464,192
0
0
null
null
null
null
UTF-8
C++
false
false
3,061
cpp
#include "RPS.h" RPS::RPS() :result(0), lastPlayerMove() { srand(time(nullptr)); } RPS::RPS(const RPS& rps) :result(rps.result), lastPlayerMove(rps.lastPlayerMove) { srand(time(nullptr)); } RPS& RPS::operator =(const RPS& rps) { result = rps.result; lastPlayerMove = rps.lastPlayerMove; return *t...
[ "escobedo001@gmail.com" ]
escobedo001@gmail.com
d7cebdf9af46425513763dd91c011de1c2be5a41
e59b51f7aa3abd84607879c5d8a360c62e3c3f96
/include/leveldb/table_builder.h
74a3aaa1d08c620ffe2da244ee7015fe6ce5a9c8
[ "BSD-3-Clause" ]
permissive
bigtreetree/leveldb2
b4421b4fe327d12b074a123816138c0a85793376
6d058a0672854e76e526b94d52571ef4782d614c
refs/heads/master
2021-01-10T14:04:56.506997
2015-11-03T13:04:57
2015-11-03T13:04:57
43,273,669
0
0
null
null
null
null
UTF-8
C++
false
false
3,452
h
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // // TableBuilder provides the interface used to build a Table // (an immutable and sorted map from key...
[ "chengshaoyuan@daoke.me" ]
chengshaoyuan@daoke.me
33efc59050ea54141be8ef3066911d753e9d41d6
e42c57e2cbcc6193bb0f623e67931e084b828c8b
/Libraries/BetterStepper/BetterStepper.cpp
ecf25eb50baaab654dfb27fdaf187190e8b458c3
[]
no_license
CautelaTech/BluetoothRCCar
8df89e54ec3aea3a34093c35bd1ceeb40f8db3dd
35fe38c1913774a507418c1e3b92224de3f87551
refs/heads/master
2021-01-25T05:23:17.462100
2014-12-30T21:22:40
2014-12-30T21:22:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,023
cpp
/* BetterStepper.cpp - - BetterStepper library for Wiring/Arduino - Version 0.4 Original library (0.1) by Tom Igoe. Two-wire modifications (0.2) by Sebastian Gassner Combination version (0.3) by Tom Igoe and David Mellis Bug fix for four-wire (0.4) by Tom Igoe, bug fix from Noah Shibley Driv...
[ "ncoursey@brownjordan.com" ]
ncoursey@brownjordan.com
5d1741e362d0165ad09e1bdb76ac79cbd6784100
9556ebced20e46c57e9827f671d6026b180e02bd
/ioComponents/DRAMsim/DRAM_config.cc
cc245f3c1c5b616bde3380dd6c50f3345700977a
[]
no_license
lebiednik/PhoenixSim
fedb066194da5edb4a351608e34ac536ddfab228
c4254118cbdb07c6ff91b5bc0da7b43bd0b84a2e
refs/heads/master
2021-01-12T04:00:43.153824
2017-01-26T15:27:25
2017-01-26T15:27:25
77,463,750
5
3
null
null
null
null
UTF-8
C++
false
false
26,592
cc
#include "DRAM_config.h" #include "TransactionQueue.h" DRAM_config::DRAM_config(){ dram_power_config = NULL; init_dram_system_configuration(); } void DRAM_config::init_dram_system_configuration(){ int i; set_dram_type(SDRAM); /* explicitly initialize the variables */ set_dram_frequency(100); /* ex...
[ "brian.lebiednik@gmail.com" ]
brian.lebiednik@gmail.com
4a843629d5d1c73fecc2da0187c9769d79d265aa
98998787f7d2fe79e4438ffc3c01b049824bedbc
/Data Structures/Graph C++/graph.h
8a947f2a90ada1d3981790434a8769a5dd68882a
[]
no_license
Niangmodou/Cpp-DataStructures-Algorithms
41f15377bfbb28828db8426aa75be5401578a2f1
fbff402cafa94ffccb3ef34edbe072382e6f1eb6
refs/heads/master
2022-04-14T05:14:56.013694
2020-04-06T01:56:09
2020-04-06T01:56:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
501
h
#include <iostream> #include <vector> #include <set> struct Node{ Node(int data = 0); int data; std::vector<Node*>; }; class Graph{ private: size_t numVerticies; std::set<int> verticies; std::vector< std::vector<Node*>> adjacenyList; public: Graph(); ~Graph(); Graph& operator=(const Graph&); Graph(const ...
[ "niangmodou100@gmail.com" ]
niangmodou100@gmail.com
0f1d1fdb9351d125b48a756d9f3a897a2d55f011
806fdce612d3753d219e7b3474c52a419e382fb1
/Renderer/RendererBackend/Direct3D11Renderer/include/Direct3D11Renderer/RootSignature.h
1011490a154f67d81bded029952ab074887e1a68
[ "MIT" ]
permissive
whaison/unrimp
4ca650ac69e4e8fd09b35d9caa198fe05a0246a3
8fb5dfb80a3818b0b12e474160602cded4972d11
refs/heads/master
2021-01-11T15:19:21.726753
2017-01-25T19:55:54
2017-01-25T21:55:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,888
h
/*********************************************************\ * Copyright (c) 2012-2017 The Unrimp Team * * 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 wit...
[ "cofenberg@gmail.com" ]
cofenberg@gmail.com
0ac3a1da96544775e71947d71648ef12b20d9950
1dd825971ed4ec0193445dc9ed72d10618715106
/examples/extended/hadronic/Hadr02/include/G4UrQMD1_3Model.hh
b508864984d593e3a0977dcbacf5f07cc4d010b4
[]
no_license
gfh16/Geant4
4d442e5946eefc855436f4df444c245af7d3aa81
d4cc6c37106ff519a77df16f8574b2fe4ad9d607
refs/heads/master
2021-06-25T22:32:21.104339
2020-11-02T13:12:01
2020-11-02T13:12:01
158,790,658
0
0
null
null
null
null
UTF-8
C++
false
false
4,179
hh
// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration...
[ "gfh16@mails.tsinghua.edu.cn" ]
gfh16@mails.tsinghua.edu.cn
0c8bef0e31c3ae8be762f14676a19c8c7f02b391
fe7519308d99558da2ba14a8a5235166039496bb
/src/Models/Embedded/AchievedCommands/AchievedCommands.cpp
da923043c7353adcf8678d7a65f4e74f71fea24b
[]
no_license
SwaggyTyrion/MissileSim
c1953b1c1bd275d4d1ae4642bd75ecb13757c9d5
c49088247f34c7fbfb1d86fe73261d6735321a88
refs/heads/master
2020-06-15T13:09:29.841446
2016-12-28T18:30:01
2016-12-28T18:30:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,844
cpp
// // AchievedCommands.cpp // MissileSim // // Created by Christian J Howard on 9/30/16. // Copyright © 2016 Christian Howard. All rights reserved. // #include "AchievedCommands.hpp" #include "MissileModel.hpp" #include "ProNav.hpp" #include "CoordTransforms.hpp" #include "Gravity84.hpp" #include <math.h> #include...
[ "choward1491@gmail.com" ]
choward1491@gmail.com
c8b944e4911a3201c02cb369db7a2b946a910873
8a2f29a448f953a757e3421a1494bd575b6d324f
/orig/HeadCoupledPerspective/CPUT/CPUT/CPUTEventHandler.h
e31aaf6378f4be466901a369f42bd69bf60a6faa
[]
no_license
SRP2504/clap_project
5c203e0b36632b29ec66b7974e0630177678910d
c5d0e11a24484e89991a38574e0b9866526bc276
refs/heads/master
2016-09-05T20:08:48.528622
2014-03-16T16:48:54
2014-03-16T16:48:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,738
h
//-------------------------------------------------------------------------------------- // Copyright 2011 Intel Corporation // All Rights Reserved // // Permission is granted to use, copy, distribute and prepare derivative works of this // software for any purpose and without fee, provided, that the above copyrig...
[ "srp201201051@gmail.com" ]
srp201201051@gmail.com
fa429d4690761c57ce37e41ef32069cff2afa378
6393b2fffc38998362aa4510c502186bcbac937c
/src/KOPSMsg_m.cc
2dc2fe863239a5a0f2a4b8f7555249f96617a14c
[]
no_license
rodneyamanor/BLE-Link
1412c308c0bdc69291803435e55661cb37036f3e
39d43823e385308ca10826be145758ebc4a56d95
refs/heads/main
2023-02-07T19:35:14.211980
2021-01-03T04:05:57
2021-01-03T04:05:57
326,323,161
0
0
null
null
null
null
UTF-8
C++
false
false
118,889
cc
// // Generated file, do not edit! Created by nedtool 5.4 from KOPSMsg.msg. // // Disable warnings about unused variables, empty switch stmts, etc: #ifdef _MSC_VER # pragma warning(disable:4101) # pragma warning(disable:4065) #endif #if defined(__clang__) # pragma clang diagnostic ignored "-Wshadow" # pragma clan...
[ "rodney@massalia.comnets.uni-bremen.de" ]
rodney@massalia.comnets.uni-bremen.de
22b51dc8b515c62e99ddbf4ef9a8bbe9c6acf361
434ff801f9f28918c9e572bb752d0fc5a181edb2
/face_practice question/stage2/Electricity_bill.cpp
5858714446e530f65e0c3f7e969b86f3fdce0c8a
[]
no_license
ayushikhandelwal99/C_basic_to_adv
bdf63dd202a9ef287f558a959a82a04e157f8a76
9cfcc20c10a2b1c19e3e32f5c8e3a49c581df1fa
refs/heads/master
2022-12-26T00:52:48.973577
2020-10-15T05:31:03
2020-10-15T05:31:03
279,268,546
0
1
null
2020-10-15T05:31:04
2020-07-13T10:15:51
C++
UTF-8
C++
false
false
320
cpp
#include<iostream> using namespace std; int main() { int units; int cost=0; cin>>units; if(units<=200) cost=units*0.5; else if(units<=400) cost=units*0.65+100; else if(units<=600) cost=units*0.80+200; else cost=units*1.25+425; cout<<"Rs."<<cost; return 0; //Type your code here. }
[ "ayushikhandelwal9919@yahoo.com" ]
ayushikhandelwal9919@yahoo.com
8e045e40a75c60d6dc79d3a739864a9588517d05
1490a424c1916dfa42ae67e7c64326c10cfb115a
/SEAL/native/examples/7_performance.cpp
82aa68a90ac7697fbff4b8642546f96e33eba9c8
[ "MIT", "CC0-1.0", "BSD-3-Clause" ]
permissive
WeidanJi/seal_expansion
d858b05f5dba2e4aefded6b0f6d1ec1f0ced2bda
f4cd34f31fb43d3511cdca62206e0f764d460abc
refs/heads/master
2023-05-06T11:43:50.011827
2021-05-26T05:39:12
2021-05-26T05:39:12
351,049,890
0
0
null
null
null
null
UTF-8
C++
false
false
33,053
cpp
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. #include "examples.h" using namespace std; using namespace seal; void bfv_performance_test(SEALContext context) { chrono::high_resolution_clock::time_point time_start, time_end; print_parameters(context); c...
[ "weidan.ji@basebit.ai" ]
weidan.ji@basebit.ai
59ecec546b2544c44b9f34af59509db93abc0776
b9f1e77d86ad07110fae422c6212184d92cb558a
/Item.h
73f1ab6b89fd323477f12c45b6785645fead43e6
[]
no_license
calvinlf/BORK
7c6a05ee1f8b8acdbc6f191a03a609af6aa6ab28
08c1ae4de853252127a204cafbfe9ececd9742f8
refs/heads/master
2020-04-09T19:46:25.441131
2018-12-09T03:00:38
2018-12-09T03:00:38
160,552,945
0
0
null
null
null
null
UTF-8
C++
false
false
795
h
// // Created by CalPC on 11/27/2018. // #ifndef BORK_ITEM_H #define BORK_ITEM_H #include <string> #include <vector> #include <functional> using namespace std; class Item { public: Item(); Item(vector<string> names, string description, string use, vector<string> usePhrases); Item(vector<string> names, str...
[ "calvin.l.fischer@gmail.com" ]
calvin.l.fischer@gmail.com
1c14897dcc8eb2daa13d030ad237dd83fc2712cd
eef01cebbf69c1d5132793432578d931a40ce77c
/IF/Classes/scene/battle/BattleManager.cpp
8f48dfc283d1ffe2a9f1bcbc2191026a1c9dd700
[]
no_license
atom-chen/zltx
0b2e78dd97fc94fa0448ba9832da148217f1a77d
8ead8fdddecd64b7737776c03417d73a82a6ff32
refs/heads/master
2022-12-03T05:02:45.624200
2017-03-29T02:58:10
2017-03-29T02:58:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
35,809
cpp
// // BattleManager.cpp // IF // // Created by ganxiaohua on 13-9-17. // // #include "BattleManager.h" #include "UIComponent.h" #include "GeneralInfo.h" #include "CCFloatingText.h" #include "GeneralManager.h" #include "MailFightReportCommand.h" #include <spine/Json.h> using namespace cocos2d; CCPoint postion[11]...
[ "441066277@qq.com" ]
441066277@qq.com
f1cb42262d370ebeed06ea7008c9e1e22cb00249
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/chrome/browser/ash/child_accounts/website_approval_notifier.h
017cb73fac83d08f474ed63d3a01a68e45c6ab6a
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
1,730
h
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_ASH_CHILD_ACCOUNTS_WEBSITE_APPROVAL_NOTIFIER_H_ #define CHROME_BROWSER_ASH_CHILD_ACCOUNTS_WEBSITE_APPROVAL_NOTIFIER_H_ #include <string> #include "base...
[ "chromium-scoped@luci-project-accounts.iam.gserviceaccount.com" ]
chromium-scoped@luci-project-accounts.iam.gserviceaccount.com
fb9ca22a3037ce6b270ba9ca6b2670210d686764
50fb7bffeeca41da0ffd7b4f2e6e187f386030b9
/src/ngraph/slice_plan.hpp
49ab7c55fe8cb33fd87af2a8a5c588bc574e6353
[ "Apache-2.0" ]
permissive
biswajitcsecu/ngraph
eaa0eb54a7bcf9a602e5fbd52c0c5a1856351977
d6bff37d7968922ef81f3bed63379e849fcf3b45
refs/heads/master
2020-09-12T04:36:36.214712
2019-11-17T20:31:26
2019-11-17T20:31:26
222,307,789
1
0
Apache-2.0
2019-11-17T20:30:18
2019-11-17T20:30:18
null
UTF-8
C++
false
false
2,376
hpp
//***************************************************************************** // Copyright 2017-2019 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://w...
[ "diyessi@users.noreply.github.com" ]
diyessi@users.noreply.github.com
0f36a8e151537d9d4a82649772d00112cb3ea247
d0a05a30b92277e1e022bbbc9216c9f3cf8ddd58
/EncryptedString.cpp
6e82a0346f67cde2436f01451c546c15ef3f4d4a
[]
no_license
Averyvan/COSC2436-Lab-1
5b8fd346d9125c9a288604376d17052805e30aa2
f7ce8a9d6da053530ba327035082ae4ea3479e45
refs/heads/master
2020-04-01T03:48:36.686977
2018-10-13T05:06:27
2018-10-13T05:06:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,392
cpp
// Author: Avery VanAusdal // Assignment Number: Lab 1 // File Name: EncryptedString.cpp // Course/Section: COSC 1337 Section 3 // Date: 8/30/2018 // Instructor: Bernard Ku #include "EncryptedString.h" #include <string> EncryptedString::EncryptedString() { } EncryptedString::EncryptedString(string inputString) { set...
[ "42887561+Appleseed107@users.noreply.github.com" ]
42887561+Appleseed107@users.noreply.github.com
a3e54c2eb8dd56471b8f070da7508288b095e0d2
d61d05748a59a1a73bbf3c39dd2c1a52d649d6e3
/chromium/testing/libfuzzer/fuzzers/sha1_fuzzer.cc
26224331af6768e01c647579fdc755dbfb4dc7e0
[ "BSD-3-Clause" ]
permissive
Csineneo/Vivaldi
4eaad20fc0ff306ca60b400cd5fad930a9082087
d92465f71fb8e4345e27bd889532339204b26f1e
refs/heads/master
2022-11-23T17:11:50.714160
2019-05-25T11:45:11
2019-05-25T11:45:11
144,489,531
5
4
BSD-3-Clause
2022-11-04T05:55:33
2018-08-12T18:04:37
null
UTF-8
C++
false
false
436
cc
// Copyright 2016 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 <stddef.h> #include <stdint.h> #include "base/sha1.h" // Entry point for LibFuzzer. extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, ...
[ "csineneo@gmail.com" ]
csineneo@gmail.com
a9c07f0054b6aa918a781f0fe9822b55c15851d2
186a05fcb725481c0c51c31b2b948819205c789d
/src/commands/string/RegexParseCommand.cpp
07c28f11a6c8ac60b5d9acd99220f68b8887c9a0
[]
no_license
benhj/jasl
e497c5e17bff05aa5bbd2cfb1528b54674835b72
6e2d6cdb74692e4eaa950e25ed661d615cc32f11
refs/heads/master
2020-12-25T16:49:00.699346
2019-12-09T18:57:47
2019-12-09T18:57:47
28,279,592
27
1
null
null
null
null
UTF-8
C++
false
false
2,125
cpp
// // RegexParseCommand.cpp // jasl // // Copyright (c) 2018 Ben Jones. All rights reserved. // #include "RegexParseCommand.hpp" #include "caching/VarExtractor.hpp" #include "core/RegisterCommand.hpp" #include <regex> #include <string> #include <vector> bool jasl::RegexParseCommand::m_registered = registerCommand...
[ "bhj.research@gmail.com" ]
bhj.research@gmail.com
c3bc0a76b928bf952eca1a476fba508fbc81132c
d89df4cf6e89529f91db28115059278b6691e77b
/src/vendors/OceanOptics/devices/NIR256.cpp
c1ba2bdb3e948852d214d08a7c38823ce7ac0c77
[ "MIT" ]
permissive
udyni/seabreeze
d31f1abeac5489929318ca9406b6e2064eb1e197
3d3934f8f0df61c11cef70516cf62a8472cab974
refs/heads/master
2021-03-23T12:46:31.498576
2020-04-06T15:01:14
2020-04-06T15:01:14
247,455,100
0
0
null
null
null
null
UTF-8
C++
false
false
3,877
cpp
/***************************************************//** * @file NIR256.cpp * @date March 2020 * @author Michele Devetta * * LICENSE: * * SeaBreeze Copyright (C) 2020, Michele Devetta * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated docu...
[ "michele.devetta@cnr.it" ]
michele.devetta@cnr.it
54af83b92f0ff18156ca34848bd38291a34a3b1d
696e35ccdf167c3f6b1a7f5458406d3bb81987c9
/storage/browser/fileapi/file_system_context.h
9e4c99fc7e1b661d2ffa5f9b49d3e46ef52260f8
[ "BSD-3-Clause" ]
permissive
mgh3326/iridium-browser
064e91a5e37f4e8501ea971483bd1c76297261c3
e7de6a434d2659f02e94917be364a904a442d2d0
refs/heads/master
2023-03-30T16:18:27.391772
2019-04-24T02:14:32
2019-04-24T02:14:32
183,128,065
0
0
BSD-3-Clause
2019-11-30T06:06:02
2019-04-24T02:04:51
null
UTF-8
C++
false
false
17,370
h
// Copyright (c) 2012 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 STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ #include <stdint.h> #include <map> #in...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
084d5b4793ca78f015b4f63d06937f55f8de02a0
c8daba44b8a9d10208264b4a8ddef0979b1fe288
/rendering/RenderableComponent.cpp
ce17dce80218519ea85d8349ad9917eeeb76dc5d
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
noirb/FuLBLINKy
3c1738cc92c11f998636dcf1b35cbf09dcabed38
2be81d24198b73a78e4928ab7ac8a44ffa5efd57
refs/heads/master
2021-01-25T00:37:48.654371
2015-11-26T20:09:12
2015-11-26T20:09:12
37,765,025
0
0
null
null
null
null
UTF-8
C++
false
false
1,450
cpp
#include "RenderableComponent.hpp" #include <iostream> // Destructor: clean up now-unused objects RenderableComponent::~RenderableComponent() { if (_vertex_buffer_data) { delete _vertex_buffer_data; } glDeleteBuffers(1, &_VBO); glDeleteVertexArrays(1, &_VAO); } void RenderableComponent::...
[ "quetchl@gmail.com" ]
quetchl@gmail.com
5826ea56e9f7674698d396f35264ac04f974e561
9792ff3e2512a70bf286363d5cfc451dae9f09ca
/SuperSequence.cpp
29bb24abb88a80fa0f71235b10fbefc2ae12227f
[]
no_license
TheTypo36/competitive-Programming
0ecffbb48c3fcccb110eb965cb2738de05a0aa10
59ae2bc2761b89461ef6948c84dbb3e4f68842d8
refs/heads/master
2023-07-06T19:56:18.125386
2021-08-19T15:13:47
2021-08-19T15:13:47
297,542,045
0
0
null
null
null
null
UTF-8
C++
false
false
859
cpp
#include <bits/stdc++.h> using namespace std; int lcs(char str1[], char str2[], int n, int m){ vector<vector<int>> dp(n+1,vector<int>(m+1, 0)); for (int i = 1; i < n + 1 ; ++i) { for (int j = 1; j < m+1; ++j) { if(str1[i-1] == str2[j-1]){ dp[i][j] = 1 + dp[i-1][j-1]; }else{ int option = dp[i-1][j];...
[ "thetypo36@gmail.com" ]
thetypo36@gmail.com
054af09ae9989ac17046610f7a017755fd898f28
ff6a8e462e51552d3b7da069df8f80239d8c9506
/cs680-distsim/lab2/simplus/LogLogisticDist.cpp
b7278f634f83c02a274a7b11456dd21225a2bbff
[]
no_license
Salimlou/Class-Work
5ad5463eff2c916c414d88c35a3c50c415ece5e3
2b8db821bd16ed5746bae42cfa03f0b6d45b713a
refs/heads/master
2021-01-18T11:22:43.266151
2012-03-25T02:02:01
2012-03-25T02:02:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
612
cpp
/***************************************************************** Program: SimPlus Class: LogLogisticDist Group: Mark Randles, Dan Sinclair *****************************************************************/ #include <math.h> #include "LogLogisticDist.h" /* The contructor receives two parameters N and P */ LogL...
[ "randlem@gmail.com" ]
randlem@gmail.com
5524afa897048af3de99bb8ecc711893b2c1fd9c
e3ef6ff25d8322cf479210846ebc677702e8edab
/necrodancer/item_coin.cpp
14ad596b07f39cdea05e98f319525a3117aa368e
[]
no_license
dongnamyoooooooooon/yoOoOoOon
885dbfe0c982ddc3c79eca8b129a2b11bbfd53c5
8a1e84a053bcf752532fb102d54fe5d810ce255b
refs/heads/master
2020-05-01T14:05:27.437184
2019-04-09T08:44:05
2019-04-09T08:44:05
177,509,953
0
0
null
null
null
null
UTF-8
C++
false
false
1,669
cpp
#include "stdafx.h" #include "item_coin.h" item_coin::item_coin() { } item_coin::~item_coin() { } HRESULT item_coin::init(string keyName, int idxX, int idxY, ITEM_TYPE type) { item::init(keyName, idxX, idxY, type); _appliedValue = RND->getFromIntTo(1, 9) * (OBJECTMANAGER->getChainCount() + 1); _posX = idxX * ...
[ "46731689+dongnamyoooooooooon@users.noreply.github.com" ]
46731689+dongnamyoooooooooon@users.noreply.github.com
3789891ff5b2b23acb87082352e49c577bef6930
60bd79d18cf69c133abcb6b0d8b0a959f61b4d10
/libraries/TOPMAX/examples/TOPMAX_performance/TOPMAX_performance.ino
2ca13efcc7fc120cdc0208f5d70e79e91df12058
[ "MIT" ]
permissive
RobTillaart/Arduino
e75ae38fa6f043f1213c4c7adb310e91da59e4ba
48a7d9ec884e54fcc7323e340407e82fcc08ea3d
refs/heads/master
2023-09-01T03:32:38.474045
2023-08-31T20:07:39
2023-08-31T20:07:39
2,544,179
1,406
3,798
MIT
2022-10-27T08:28:51
2011-10-09T19:53:59
C++
UTF-8
C++
false
false
2,246
ino
// // FILE: TOPMAX_performance.ino // AUTHOR: Rob Tillaart // PURPOSE: TOPMAX demo // URL: https://github.com/RobTillaart/TOPMAX #include "TOPMAX.h" uint32_t start, stop; uint32_t cnt = 0; void setup() { Serial.begin(115200); Serial.println(__FILE__); Serial.print("TOPMAX_LIB_VERSION: "); Serial.pr...
[ "rob.tillaart@gmail.com" ]
rob.tillaart@gmail.com
f10521d50edf11018cc7530cfc90d9434bdffe38
9a3b9d80afd88e1fa9a24303877d6e130ce22702
/src/Providers/UNIXProviders/tests/UNIXProviders.Tests/UNIX_IPSubnetFixture.cpp
641d8736b567017a28b9ff074dc8be2fc714681e
[ "MIT" ]
permissive
brunolauze/openpegasus-providers
3244b76d075bc66a77e4ed135893437a66dd769f
f24c56acab2c4c210a8d165bb499cd1b3a12f222
refs/heads/master
2020-04-17T04:27:14.970917
2015-01-04T22:08:09
2015-01-04T22:08:09
19,707,296
0
0
null
null
null
null
UTF-8
C++
false
false
3,383
cpp
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
[ "brunolauze@msn.com" ]
brunolauze@msn.com
741fcac39fca998ea04115a8444e0fdc1e0e20fe
5f12bccc76142365ba4e1a28db800d01c952a24a
/passive/AtMagnet.cxx
a4cee2a213b9bb9417c989374085a41dd9c625c0
[]
no_license
sunlijie-msu/ATTPCROOTv2
7ad98fd6f85126e5b480f7897a2b98d1fc8bf184
870b75170990b0782918f17b2230045ab1f458ef
refs/heads/master
2023-06-02T06:28:30.308596
2021-02-26T14:59:53
2021-02-26T14:59:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,930
cxx
/******************************************************************************** * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * * * This software is distributed under the terms of the ...
[ "ayyadlim@nscl.msu.edu" ]
ayyadlim@nscl.msu.edu
745bb03667097740477baec284743aa1685f0566
ba7707734e366326a7deaed69e0d22c883f64230
/cpp-code/PRIC-13553643-src.cpp
71246215e01000537869dfc37925ea56f6869637
[]
no_license
aseemchopra25/spoj
2712ed84b860b7842b8f0ee863678ba54888eb59
3c785eb4141b35bc3ea42ffc07ff95136503a184
refs/heads/master
2023-08-13T14:07:58.461480
2021-10-18T12:26:44
2021-10-18T12:26:44
390,030,214
1
0
null
null
null
null
UTF-8
C++
false
false
1,457
cpp
#include<cstdio> #include <cstdlib> #define MOD 2147483648 #define ADD 1234567890 #define pc(x) putchar_unlocked(x) #define ll long long inline int mulmod(int a, int b, int mod) { ll x = 0,y = a % mod; while (b > 0) { if (b&1) { x = (x +y) % mod; } y = (y<<1) % ...
[ "aseemchopra@protonmail.com" ]
aseemchopra@protonmail.com
f4ea3567630d2fe92edd70e17791c978b3ede9e3
f84ee6582e88483aa337bc9bb9312294c1d79e23
/src/events/sacpp_archiver_takeImageDone_send.cpp
ed278de6c5f9f822b03ed26c0c14b91b8091be0a
[]
no_license
provingground-curly/ctrl_iip
41ab1fe1c70cd898019f5b75b6c0f5adf21e3d3f
193859f72e1beb2fc5a940f6bb5f5f0bbef7f99a
refs/heads/master
2020-05-16T13:15:24.731460
2019-04-20T02:36:40
2019-04-20T02:36:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,179
cpp
/* * This file contains the implementation for the archiver_takeImageDone send test. * ***/ #include <string> #include <sstream> #include <iostream> #include <unistd.h> #include "SAL_archiver.h" #include "ccpp_sal_archiver.h" #include "os.h" #include <stdlib.h> #include "example_main.h" using namespace DDS; usi...
[ "htutkhwin@gmail.com" ]
htutkhwin@gmail.com
e9d115176fabcc0454ac43a9a4a7148c86576940
b43123758faa3d717d51000dcc82b125ef7fc41e
/UNITTESTS/stubs/ChainingBlockDevice_stub.cpp
51134b3553702a2fb7e6cadba429cafa696ebd16
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
codegrande/mbed-os
806f1526dfd11b03e2c1de4508674cff5ea499ce
d847a07cb37c15cbe5b0cdc3937026411058d298
refs/heads/master
2020-03-30T14:24:12.879359
2019-06-20T14:38:49
2019-06-20T14:38:49
151,316,378
0
0
Apache-2.0
2018-10-02T20:08:19
2018-10-02T20:08:19
null
UTF-8
C++
false
false
1,714
cpp
/* mbed Microcontroller Library * Copyright (c) 2017 ARM 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 require...
[ "antti.kauppila@arm.com" ]
antti.kauppila@arm.com
2a0844a5b49abaf12edd7e63828bfe34001d068e
e6ef968145e4f9c5c4556e9ca7273b95377c39e9
/singaporean name/main.cpp
39a7c324a06ac835f279dd836dbb2d7c840424f2
[]
no_license
FangShaoHua94/kattis-Cplusplus
99cd9cecb1a84df116046671f5be073e6b5f1144
82049df6793682bb73b57913add04be28a3d3829
refs/heads/master
2023-02-11T12:11:42.966616
2021-01-15T08:25:57
2021-01-15T08:25:57
329,851,884
0
0
null
null
null
null
UTF-8
C++
false
false
1,041
cpp
#include <bits/stdc++.h> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */ string call_as(string name); int main() { string name="Ng Zhen Rui Matthew"; name=call_as(name); name="Tan Jun An"; name=call_as(name); name="Lim Li"; name=call_as(...
[ "daythehangedman@hotmail.com" ]
daythehangedman@hotmail.com
2fd9105a40880bf9cfddb8ee3f4185b2dbf07b03
6bda0d8a8aeb1357de3131e39d695685a727e148
/src/drivers/disk_logger.cpp
25800021495d3f424c23a4846a1eee82a31c0608
[ "Apache-2.0" ]
permissive
xekoukou/IncludeOS
78ac2a20463093a2cdff2f8f007ad46281b8ace0
34bb08cf4b01bdd7e9bb5ee49f59241cf5e73fe8
refs/heads/master
2021-05-13T23:14:27.434226
2018-01-04T15:37:07
2018-01-04T15:37:07
116,509,752
0
0
null
2018-01-06T19:28:25
2018-01-06T19:28:24
null
UTF-8
C++
false
false
2,517
cpp
// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may...
[ "fwsgonzo@hotmail.com" ]
fwsgonzo@hotmail.com
bf62c7c8e323bbb98f8ef9e3cd6f7a61e17a2d4a
18cf4e58c04409e1372ec3a65223e5d5cf2c048c
/test/unit_tests/subscriber_test/Subscriber.h
9b7b700b7b0a38434e979eea837a018d0c095b78
[]
no_license
malzer42/lmis
967fdfafde36690e8b12e96ff4986b4ec923fe8a
6a621dfd07ba5c6b7cbf1b7ab5f97545f154b726
refs/heads/master
2020-03-19T22:57:58.646928
2020-03-10T14:18:19
2020-03-10T14:18:19
136,987,520
0
0
null
null
null
null
UTF-8
C++
false
false
2,069
h
// Subscriber.h: Header for the definition of the class Subscriber. // Author(s): Pierre Abraham Mulamba. // Date of creation (modification): 2018/06/10 (2018/06/12). // Description: The class Subscriber is a concrete class that defines a Subscriber interface and representation. // Usage: To create an instance of a Sub...
[ "pmulamba@gmail.com" ]
pmulamba@gmail.com
404500c497ef435e178ff8d43a2ed6c775a0e118
694c05848157073888a6dd5cde215ada80c20fb2
/src/DPPrimaryGeneratorAction.cxx
80870ae27a0399de700a83089a1d93a6cabf05d2
[]
no_license
dkleinja/DPSim
240f30795b21ef39a6c8fc1646cfbaa4f2cf9a18
80d285a6183e730b72129f36322c479d0327c60b
refs/heads/dev
2020-06-18T15:57:41.365444
2017-06-01T22:36:20
2017-06-01T22:36:20
75,128,510
0
0
null
null
null
null
UTF-8
C++
false
false
28,955
cxx
#include "DPPrimaryGeneratorAction.h" #include <fstream> #include <string> #include "Randomize.hh" #include "G4SystemOfUnits.hh" #include "G4PhysicalConstants.hh" #include <TFile.h> #include <TTree.h> #include <TMath.h> #include <TVector3.h> #include <TLorentzVector.h> namespace DPGEN { // global parameters ...
[ "liuk.pku@gmail.com" ]
liuk.pku@gmail.com
7728dde8d0a1b8647862c1a202ab17783fe4c269
f52bf7316736f9fb00cff50528e951e0df89fe64
/Platform/vendor/samsung/common/packages/apps/SBrowser/src/chrome/app/android/sbr/sbr_chrome_main_delegate_android.h
4e90870dafbf89a4fb110c265b9adeaf9cf20692
[ "BSD-3-Clause" ]
permissive
git2u/sm-t530_KK_Opensource
bcc789ea3c855e3c1e7471fc99a11fd460b9d311
925e57f1f612b31ea34c70f87bc523e7a7d53c05
refs/heads/master
2021-01-19T21:32:06.678681
2014-11-21T23:09:45
2014-11-21T23:09:45
48,746,810
0
1
null
2015-12-29T12:35:13
2015-12-29T12:35:13
null
UTF-8
C++
false
false
802
h
// Copyright (c) 2012 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 CHROME_APP_ANDROID_SBR_SBR_CHROME_MAIN_DELEGATE_ANDROID_H_ #define CHROME_APP_ANDROID_SBR_SBR_CHROME_MAIN_DELEGATE_ANDROID_H_ #include "chrom...
[ "digixp2006@gmail.com" ]
digixp2006@gmail.com
1d8e91ffa3e877a62e3adeb5219c179dc1011011
65987a3251e26302d23396be2a14c8730caf9f6c
/CF/1295B.cpp
d6763f42fdf9cbdb130663167e66ad7198034a9a
[]
no_license
wuyuhang422/My-OI-Code
9608bca023fa2e4506b2d3dc1ede9a2c7487a376
f61181cc64fafc46711ef0e85522e77829b04b37
refs/heads/master
2021-06-16T08:15:52.203672
2021-02-01T05:16:41
2021-02-01T05:16:41
135,901,492
5
0
null
null
null
null
UTF-8
C++
false
false
1,290
cpp
/* * Author: RainAir * Time: 2020-03-05 10:10:42 */ #include<bits/stdc++.h> #define fi first #define se second #define U unsigned #define P std::pair<int,int> #define LL long long #define pb push_back #define MP std::make_pair #define all(x) x.begin(),x.end() #define CLR(i,a) memset(i,a,sizeof(i)) #define FOR(i,a,b...
[ "wuyuhang422@gmail.com" ]
wuyuhang422@gmail.com
647b77697765305dfb89ef91cbc034e4598faad0
fba719746323ebb2a561cfc6f2cb448eec042d1a
/c++实用代码/tmp/New LCP+Suffix Array1.cpp
1917eacfa25fb427e5684e359221722b70bb638f
[ "MIT" ]
permissive
zhzh2001/Learning-public
85eedf205b600dfa64747b20bce530861050b387
c7b0fe6ea64d2890ba2b25ae8a080d61c22f71c9
refs/heads/master
2021-05-16T09:44:08.380814
2017-09-23T04:55:33
2017-09-23T04:55:33
104,541,989
1
0
null
null
null
null
UTF-8
C++
false
false
891
cpp
#include<stdio.h> #include<time.h> #include<algorithm> #define N 500010 #define CH 256 typedef int value; value X[N][21],ra[CH]; int l2[N],sa[N]; char str[N]; int n,i,j; int LCP(int x,int y){ int pre=x; for (int i=l2[n];i>=0;--i) if (x+(1<<i)-1<n&&y+(1<<i)-1<n&&X[x][i]==X[y][i]) x+=1<<i,y+=1<<i; return x-pre; }...
[ "zhangzheng0928@163.com" ]
zhangzheng0928@163.com
0a868b4c62c119d35a27f482f879384e97938929
67fee4c964cfba111dcb1a39d126987e6b9867fd
/src/header.h
41fcc25eb66caa29994b64870ee9f3b27c017ac8
[]
no_license
ss12330335/MEPL
f4fd3e02880f8cd511c7e5d7baa346bde8f44477
99629bf5ddb814480a1fd533346163c76a79090c
refs/heads/master
2020-03-27T12:39:11.025795
2018-08-29T07:13:15
2018-08-29T07:13:15
146,559,449
0
0
null
null
null
null
UTF-8
C++
false
false
277
h
#ifndef __HEADER_H__ #define __HEADER_H__ #include <iostream> #include <string> #include <vector> #include <set> #include <map> #include <list> #include <algorithm> #include <cmath> #include <assert.h> #include <fstream> #include <limits.h> // for INT_MAX and INT_MIN #endif
[ "614984958@qq.com" ]
614984958@qq.com
9a494a6c74e2f9add9a0a0083ca6fe5e9785a4ab
5633c81bd22fa81d84a7dc2424ed04580250b7bb
/php-5.2.2/s60ext/s60_log/CLogImpl.h
ce93c874772a2911bc23ffd75d0c28d6386801dc
[]
no_license
tuankien2601/PAMP
bc104d5ec8411b570429e4f9b9bff299a75f86bd
320b286d28c96356ef88b086a71c740b2ec91b44
refs/heads/master
2021-06-20T19:49:18.206942
2017-08-14T08:47:56
2017-08-14T08:47:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
774
h
#ifndef __CLOGIMPL_H__ #define __CLOGIMPL_H__ #include <e32base.h> // CActive #include <F32FILE.H> #include <LOGVIEW.H> #include <logcli.h> #include "s60ext_tools.h" class CWaitAndReturn : public CActive { public: CWaitAndReturn(); ~CWaitAndReturn(); TInt Wait(); private: void RunL(); void DoCancel(); pri...
[ "lizhenfan902@gmail.com" ]
lizhenfan902@gmail.com
01fb37a2a4adbe33e2a5f655d559f7cbd90bf349
5f6cef5c4dab7661b4ec6c9de53395ba425e0925
/08_jumpFloor.cpp
f42da3f75ec0ab5c3cf0db3403faa4ead3b2f60d
[]
no_license
htyxiaoaiai/Offer
89da97e6feea99fe5e2dabbe5768ac2cb1a978fa
a7ba10cd9f180256138db6afc633ebb8d8c85352
refs/heads/master
2021-01-17T12:48:44.148425
2016-07-21T15:48:30
2016-07-21T15:48:30
58,129,881
2
0
null
null
null
null
UTF-8
C++
false
false
991
cpp
题目描述 一只青蛙一次可以跳上1级台阶,也可以跳上2级。求该青蛙跳上一个n级的台阶总共有多少种跳法。 解法分析: 最简单的情况: 如果只有1级台阶,那么显然只有一种跳法。如果有2级台阶,那么则会有2种跳法:一种是分两次跳,每次跳1阶;另外一种则是一次跳2级。 一般情况: 当n大于2时,第一次跳的时候有两种选择:一种是第一次只跳1阶,此时的跳法就是f(n-1),另外一种跳法就是第一次跳2阶,然后此时的跳法就是f(n-2)。 所以总的次数就是f(n)=f(n-1)+f(n-2);很明显此时是一个斐波那契数列。 //跳台阶 long long jumpFloor(size_t number) { size_t jump[2] =...
[ "htyxiaoaiai1314@gmail.com" ]
htyxiaoaiai1314@gmail.com
76825cf2bd742ffb91ced0ecd0ae9ab91befacaa
0058e203911ee4920b6962f4679e9b40461cffdb
/unique-datesize.cpp
605ce39fa2dbc0302a6bfbd1c70dd3994fa3eb25
[]
no_license
FeelUsM/scripts
81f17eac43aa224c225a11b4b4d57416a64ea515
90867b733c94626f2203882dc90453bfbb793012
refs/heads/master
2023-08-09T23:13:08.741189
2023-07-31T08:04:54
2023-07-31T08:04:54
38,750,956
0
0
null
null
null
null
UTF-8
C++
false
false
2,574
cpp
#define ONE_SOURCE #include <strstr/strin.h> #include <iostream> //#include <utime.h> #include <map> #include <string> #include <stdlib.h> #include <algorithm> using std::string; using std::pair; using std::make_pair; using std::multimap; using std::cerr; using std::cout; using std::endl; using std::sort; using str:...
[ "fel1992@mail.ru" ]
fel1992@mail.ru
7ce68329727ca3ba2995a1181c3a715f6438b4cb
ad8b3fd13cab0bde6ccde44db19607195d07828f
/server1.5_内存池/MessageHeader.hpp
cb3676d706bf86fde8c33c98c8f4a715f1b21f7c
[]
no_license
QaoKi/server
43bc56e2462804a598a89eaeb0fcec3c4b1e8b32
0d745c7b7017bfb3bfbf63839c1d61f1d4b87981
refs/heads/master
2020-05-01T15:31:08.970524
2019-07-26T03:43:10
2019-07-26T03:43:10
177,548,642
1
0
null
null
null
null
GB18030
C++
false
false
1,259
hpp
#ifndef _MessageHeader_hpp_ #define _MessageHeader_hpp_ /* 定义消息结构 */ enum CMD { CMD_LOGIN = 0, CMD_LOGIN_RESULT, CMD_LOGOUT, CMD_LOGOUT_RESULT, CMD_EXIT, CMD_NEW_USER_JOIN, CMD_ERROR }; struct DataHeader { DataHeader() { dataLength = sizeof(DataHeader); cmd = CMD_ERROR; } short dataLength; short cmd...
[ "10330180@qq.com" ]
10330180@qq.com
80d4d416a5c7bb2e110441b825b961b878f6622e
0c619682d82e155047ff1c9adcdecf5e9c4cc17a
/20200209/D/D.cpp
f890e94a51a398e7561d60aa4bf939f73decedf6
[]
no_license
kasataku777/atcoder_solution
822a6638ec78079c35877fadc78f6fad24dd5252
8838eb10bf844ac3209f527d7b5ac213902352ec
refs/heads/master
2023-01-23T06:36:59.810060
2020-12-03T02:02:40
2020-12-03T02:02:40
247,486,743
0
0
null
null
null
null
UTF-8
C++
false
false
489
cpp
#include<iostream> using namespace std; int main() { int n, k; int p[200000]; double sum=0; double max = 0; double kitai[200000]; cin >> n >> k; for (int i = 0; i < n; i++) { cin >> p[i]; } for (int i = 0; i < n; i++) { kitai[i] = 1 + 0.50*(p[i] - 1); } for (int i = 0; i < k; i++) { sum += k...
[ "takumi.jihen@gmail.com" ]
takumi.jihen@gmail.com
c8b4a1d8bdfdc9f33cd5c4f56db93882a401a14b
35635422101e1c0e4142ca1e176c5d976a6a6ff2
/deps/glm.9.9.5/glm_inn/detail/type_mat4x3.hpp
451c0341d7030e4cb5149ed4371b043b2acb9f19
[ "BSD-3-Clause" ]
permissive
wanghaoxin1991/tprPix
e9ac6078dcf104b89e7db8bc6e973b47d4a46bfc
877d2f3bcd2028b28f575deebf37bf7d19d1da52
refs/heads/master
2021-05-25T17:27:13.564129
2020-04-08T22:08:00
2020-04-08T22:08:00
253,843,248
0
0
null
2020-04-07T15:58:08
2020-04-07T15:58:08
null
UTF-8
C++
false
false
11,692
hpp
<<<<<<< HEAD /// @ref core /// @file glm/detail/type_mat4x3.hpp #pragma once #include "type_vec3.hpp" #include "type_vec4.hpp" #include <limits> #include <cstddef> namespace glm { template<typename T, qualifier Q> struct mat<4, 3, T, Q> { typedef vec<3, T, Q> col_type; typedef vec<4, T, Q> row_type; typedef...
[ "wanghaoxin8@163.com" ]
wanghaoxin8@163.com
8d7d31f152cf7c0b4fbce6e353c988728bb03ef6
93f20091d507fa59ee2492e03a5e950341cc2662
/BOJ/BOJ/17140 이차원 배열과 연산.cpp
46efd2ac304cb4c9246b0b7d2f775dd961e942fb
[]
no_license
Wonjyeon/BOJ
f90ab0881fa25cb6b0893902143d3a6477cc4307
56554d4c964dc3c4d749de86a3ddc40d9dda58fc
refs/heads/master
2021-03-04T18:20:18.499160
2020-11-01T12:12:32
2020-11-01T12:12:32
246,055,134
0
0
null
null
null
null
UHC
C++
false
false
2,321
cpp
#include <iostream> #include <vector> #include <algorithm> using namespace std; int r, c, k, map[101][101]; int N = 3, M = 3, ans = 0, max_row = 0, max_col = 0; bool cmp(pair<int, int> p1, pair<int, int> p2) { if (p1.second < p2.second) return true; else if (p1.second == p2.second) { if (p1.first < p2.first) retu...
[ "wndus9382@naver.com" ]
wndus9382@naver.com
4dc60b4f8ee843237ffa6a0d1bebcabd694530a4
6b96c03193a050b18a5b5c433b0791a602702a31
/tensorflow/core/util/debug_data_dumper.cc
a4599bb7c7e003bb364e26ff5c08141ee13c2c07
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
engelmi/tensorflow
c7d3a6114fa5a88c715ca242302f94fb24410364
9bc55d66eca16143e16e824eeef7de23c7bb9623
refs/heads/master
2023-04-21T19:12:34.491700
2023-04-10T10:25:01
2023-04-10T10:28:02
111,595,000
0
0
null
2017-11-21T19:57:15
2017-11-21T19:57:14
null
UTF-8
C++
false
false
5,332
cc
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org