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
986 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
145 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
122 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
69671355810a4992b2d4bacda0ebfecba7206ff1
c2915484a4fe848b9bfee6bfb65f824993dde59b
/Case_save/Case30/case8/0/T
0c25eef2292295ac650b664624ad73602a0d4f95
[]
no_license
mamitsu2/aircond5_play3
835b937da2d60771b8a7b81e13631a8a1271e8f4
8eee217855014d562013e0dbe0024208a4633db3
refs/heads/master
2020-05-24T21:54:50.022678
2019-05-19T13:31:37
2019-05-19T13:31:37
187,480,539
0
0
null
null
null
null
UTF-8
C++
false
false
1,530
// -*- C++ -*- // File generated by PyFoam - sorry for the ugliness FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object T; } dimensions [ 0 0 0 1 0 0 0 ]; internalField uniform 299.6857070159724; boundaryField { floor { type wallHeatTransfer; Tinf uniform 305.2; alp...
[ "mitsuaki.makino@tryeting.jp" ]
mitsuaki.makino@tryeting.jp
e2fb36ebc0b044f369f3466e62648b92309d5394
36cf28ec4cdc16d4a361b5463c11f3f5e95fe21e
/trunk/GemCell.h
afa423b28a4395d6f9192c89f6a1e201a9651edb
[]
no_license
elricbk/freejeweled
920b4e8843cf7b22b7e86ddd79ccc5a9f05351b1
073a437292003fcc5ee86bd2310f208eb24b7e15
refs/heads/master
2021-01-18T15:21:45.514680
2013-05-03T22:07:05
2013-05-03T22:07:05
9,845,249
2
0
null
null
null
null
UTF-8
C++
false
false
2,339
h
#ifndef GEMCELL_H #define GEMCELL_H #include <QDeclarativeItem> class GemCell : public QDeclarativeItem { Q_OBJECT Q_PROPERTY(bool behaviorEnabled READ behaviorEnabled WRITE setBehaviorEnabled NOTIFY behaviorEnabledChanged) Q_PROPERTY(bool timeToDie READ timeToDie WRITE setTimeToDie NOTIFY timeTo...
[ "elricbk@gmail.com" ]
elricbk@gmail.com
bcf2ec0ca987ff56c04c31df4df6759da0c03949
3cda2503c12f55e6fe50c671f651ee46bd73492f
/simdpp/core/i_reduce_add.h
869cea8ebd5e8bb9fa6389c30d2f8c50b05d4b94
[ "BSL-1.0", "LicenseRef-scancode-proprietary-license", "CC-BY-4.0" ]
permissive
p12tic/libsimdpp
f59937921a3eda472ff41a7ee981158ccf326a96
16878c9a877aca6022270176738fb5046ed25aa5
refs/heads/master
2023-08-28T20:44:57.495397
2023-02-01T14:59:45
2023-02-01T14:59:45
9,942,292
1,106
149
BSL-1.0
2023-02-01T14:59:47
2013-05-08T17:45:25
C++
UTF-8
C++
false
false
1,941
h
/* Copyright (C) 2016 Povilas Kanapickas <povilas@radix.lt> 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) */ #ifndef LIBSIMDPP_SIMDPP_CORE_I_REDUCE_ADD_H #define LIBSIMDPP_SIMDPP_CORE_I_REDUC...
[ "povilas@radix.lt" ]
povilas@radix.lt
b19b2933de74549dec5827e1d703ac87323ee215
f14910e3dfad38d48a1643a794bc0a2b36363a52
/TANJAN.cpp
184b762b928fed3204efd302c31dc608a9eb6899
[]
no_license
Nayaco/Oiplayer
8ed599c40ab0ff9db1e80cb6bc7db2e3fd5d316c
ac24a4ca22e3b2e9f574a42100ce5c2635c3cd6a
refs/heads/master
2021-04-15T06:54:34.643883
2018-06-13T12:02:40
2018-06-13T12:06:42
126,854,835
0
0
null
null
null
null
UTF-8
C++
false
false
388
cpp
#include <cstdio> using namespace std; const int MAX_N = 1005,MAX_M = 100005; int LEN[MAX_M], V[MAX_M], HEAD[MAX_N], NEXT[MAX_M], VIS[MAX_N], DIST[MAX_N]; int DNF[MAX_N], LOW[MAX_N], TIME; int ANS[MAX_N]; int stack[MAX_N], stk_len; int tot, n, m; void ADD(int a,int b){...} void TANJAN_DFS(int x){ if(DNF[x] == LOW[x...
[ "1194329594@qq,com" ]
1194329594@qq,com
cf571241e5baf0060a7a90fedaba2968d8ca5095
9a0fca3d10d30fbb0b45d6832f99323134876d61
/ProgramPearls/11.5.11_Qsort_PartitionOnFatPivot.cc
02a8390ab737dfcbfd40959e1b18fc77ed0a5f94
[]
no_license
YulongWu/AlgoExercise_CPP
1ef4f061c25fffa6313ef0abdedcf4dc48175a4c
9c5f6621988ce3b15394e7a5d5b949f87e0d6265
refs/heads/master
2020-12-24T16:24:59.954398
2019-05-28T02:48:29
2019-05-28T02:48:29
5,934,820
1
0
null
null
null
null
UTF-8
C++
false
false
2,936
cc
/* Following is the answers of problem 11 in section 11.5 of "Programming Pearls" */ #include <cstdio> #include <utility> #include <vector> using namespace std; int partition(vector<int> a, int len) { if(len < 1) return -1; if(len == 1) return 0; int t = a[0]; int i = 0, j = len, it =...
[ "wylong.0221@gmail.com" ]
wylong.0221@gmail.com
6a44e5978256efe14af0ecc58ca8c06d08df0b42
eb64729627e117af9edcf7352ebc826733045d8f
/ProxyServer/ProxyServer.h
4e5c3a1de0d6d3e1570183c32395a3655f81fb3a
[]
no_license
hpnvphuoc/ProxyServer
4b082c3cbba41041e43dff9cf254c696bbb3f2df
5fdb0441a9f6a9f5049d9e6415e26afd7950b643
refs/heads/master
2023-02-09T06:38:39.974769
2021-01-01T23:38:32
2021-01-01T23:38:32
317,762,865
0
0
null
null
null
null
UTF-8
C++
false
false
1,427
h
#pragma once #define _CRT_SECURE_NO_WARNINGS #define _WINSOCK_DEPRECATED_NO_WARNINGS #include "afxsock.h" #include <iostream> #include <fstream> using namespace std; #ifdef _DEBUG #define new DEBUG_NEW #endif #define HTTPPORT 80 #define PROXYPORT 8888 #define BUFFERSIZE 40960 char forbidden[46] = "HTTP/1.1 403 Forb...
[ "hpnvphuoc@gmail.com" ]
hpnvphuoc@gmail.com
b0e28991dc63877f7ac60a94a8519ea169845749
8d769392c7e600364afaadd689d147b5fad73fa7
/src/mem_sync/data_api/kv_reg_mgr.cpp
d2a4c2db237b21f0ba0dd5d5202806580240a2cd
[]
no_license
P79N6A/dp
15452e97eb5fbadc64eae97824dbc664fffc8a21
678f69424a876f7f3e2f9567cffe7fb44582f28f
refs/heads/master
2021-06-09T16:41:47.654789
2016-12-30T10:00:26
2016-12-30T10:00:26
198,253,216
0
0
null
null
null
null
UTF-8
C++
false
false
2,572
cpp
#include "kv_reg_mgr.h" #include <string.h> #include "log.h" #include "reg_zk_data.h" #include "shm.h" #include "mem_kv/mem_kv.h" #define HASH_CAP (1 << 20) namespace poseidon { namespace mem_sync { KVRegMgr::KVRegMgr() { _cap = HASH_CAP; _regzk = NULL; _kvtb = NULL; } KVRegMg...
[ "joerong666@126.com" ]
joerong666@126.com
42e15f451d1f6280a9983592dc5359b0020322da
c5373a8beb34d9572c97452cf6bf4d750109abc9
/Timus/practice/1005.cpp
7edbc3dc8c99491636c08e7473aee64ff8cac847
[]
no_license
Jellylover11/CP-code-dump
8f95c4bf093dcba5ce2f3b727da709633712b5b1
003a7a60c160685a160d5db22bc4a6873778ded9
refs/heads/main
2023-09-05T11:29:16.687503
2021-10-30T12:37:24
2021-10-30T12:37:24
417,556,461
0
0
null
null
null
null
UTF-8
C++
false
false
442
cpp
#include <bits/stdc++.h> using namespace std; int arr[22]; int ans; int sum=0; int n; int main() { cin>>n; for(int j=0;j<n;j++) { cin>>arr[j]; sum=sum+arr[j]; } ans=sum; for(int mask=0; mask<(1<<n); mask++) { int s=0; for(int k=0; k<n;++k) ...
[ "shohid138718@gmail.com" ]
shohid138718@gmail.com
4665e8de33d89c2c147273157f22de8974442214
abe694a6883c7c3b82f8035798b435cd36fc3911
/libs/ceres/include-osx/ceres/internal/line_parameterization.h
eda390148df9b5de170f2d2c2b867941c865399d
[ "MIT" ]
permissive
elliotwoods/ofxCeres
13a6da24b8ca7a8ba9b600cb974ba7acd3861d40
d9cd0d9d70b08b3c1b9b62b71429ea269ab288dd
refs/heads/master
2023-04-17T13:46:05.729535
2023-04-07T08:58:42
2023-04-07T08:58:42
182,985,199
24
7
MIT
2022-08-03T02:26:03
2019-04-23T09:50:00
C++
UTF-8
C++
false
false
7,044
h
// Ceres Solver - A fast non-linear least squares minimizer // Copyright 2020 Google Inc. All rights reserved. // http://ceres-solver.org/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of so...
[ "macdonald.roy@gmail.com" ]
macdonald.roy@gmail.com
c61bbf61f3d7c27b6841cfe80d9e24a44c9ff43f
ffcc850625b8590866a36d0a607e3a73cf37598d
/test/constant/simd/oneosqrteps.cpp
38cc6cc356e9689c0c358b065e68089da97bab09
[ "BSL-1.0" ]
permissive
remymuller/boost.simd
af7e596f17294d35ddcd8f859c4a12cb3276254d
c6614f67be94be2608342bf5d753917b6968e821
refs/heads/develop
2021-01-02T09:00:18.137281
2017-07-06T14:23:04
2017-07-06T14:23:04
99,120,027
6
7
null
2017-08-02T13:34:55
2017-08-02T13:34:55
null
UTF-8
C++
false
false
1,331
cpp
//================================================================================================== /*! Copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ //====================================...
[ "charly.chevalier@numscale.com" ]
charly.chevalier@numscale.com
d5dae060d9028c6b1a234096d8c3f609c9afd34b
5c641708b182c5a790e063614aeb6380da899ae1
/library/src/main/jni/interface/cgeVideoEncoder.h
f40622f1bb5ab1d10de87908074c6bea961dcf16
[ "MIT" ]
permissive
iigacon/gpuimage
53b05b00b5574713a69d9c29bae3391d4eee4f47
7a9b748556c81c6c7b69b4187ea60a77b1485b37
refs/heads/master
2021-01-22T02:48:53.886062
2017-09-03T09:14:53
2017-09-03T09:14:56
95,685,178
0
0
null
null
null
null
UTF-8
C++
false
false
1,820
h
/* * cgeVideoEncoder.h * * Created on: 2015-7-30 * Author: Wang Yang * Mail: admin@wysaid.org */ #if !defined(_VIDEO_ENCODER_H_) && defined(_CGE_USE_FFMPEG_) #define _CGEVIDEO_ENCODER_H_ #include <string> #include <fstream> #include <mutex> struct AVFrame; namespace CGE { struct CGEEncoderContextMP4; ...
[ "12nguyenduc@gmail.com" ]
12nguyenduc@gmail.com
8e2cb48432e1f39aabf6e5e89c35ba2915c5794a
83dae07f637c1f7b86b2da26788dfe1ea481053f
/ready_ppl/main.cpp
e81502b7b1728094c34326e876966aaa82175528
[]
no_license
PPL-IIITA/ppl-assignment-iit2015095
f66eb6bd29600dcd0aaf8537328e374cf828b1a5
2a346e7f90128dd3c3f5af1e868eac0db0ea46e8
refs/heads/master
2021-01-21T06:19:19.584724
2017-04-09T22:41:03
2017-04-09T22:41:03
83,213,295
0
0
null
null
null
null
UTF-8
C++
false
false
6,056
cpp
#include<iostream> #include<bits/stdc++.h> using namespace std; #include<string> class boy{ public: char name[10]; int attract; int intellig; int budget; int min_attract_g; int b; char committed_boys_types[15]; }; class girl{ public: char name[10]; int attract; int intellig; int maintain; int gift; i...
[ "noreply@github.com" ]
PPL-IIITA.noreply@github.com
e4bf5076de3574749b7f3715114493c69adaf6d6
fcea4ac4fc03c2ec9d0edb437ad9cf1a6a36a677
/Source/MCTPlugin/Private/WorldGeneratorBase.cpp
bd1e465708becb7ac75e030864aefb19b001f682
[]
no_license
bradyrussell/marchingcubesterrainplugin
98999696ee3941ab307135969dac4c5f9ac99d3d
ed5ce494071d33547347c3f06f05f758aa3f5880
refs/heads/master
2023-04-13T23:27:49.020404
2021-04-08T01:09:52
2021-04-08T01:09:52
191,637,622
6
2
null
2021-03-11T17:25:53
2019-06-12T20:10:55
C++
UTF-8
C++
false
false
216
cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "WorldGeneratorBase.h" WorldGeneratorBase::WorldGeneratorBase() { } WorldGeneratorBase::~WorldGeneratorBase() { }
[ "noreply@github.com" ]
bradyrussell.noreply@github.com
f6c7268186da3185ea760488e2e3a69d311427fc
8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a
/3rdParty/boost/1.78.0/boost/preprocessor/dec.hpp
d57206470b9fad2d8dc97c818e790c47bbe3dd67
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause", "ICU", "Zlib", "GPL-1.0-or-later", "OpenSSL", "ISC", "LicenseRef-scancode-gutenberg-2020", "MIT", "GPL-2.0-only", "CC0-1.0", "LicenseRef-scancode-autoconf-simple-exception", "LicenseRef-scancode-pcre", "Bison-exception-2.2", "LicenseRef-scancode...
permissive
arangodb/arangodb
0980625e76c56a2449d90dcb8d8f2c485e28a83b
43c40535cee37fc7349a21793dc33b1833735af5
refs/heads/devel
2023-08-31T09:34:47.451950
2023-08-31T07:25:02
2023-08-31T07:25:02
2,649,214
13,385
982
Apache-2.0
2023-09-14T17:02:16
2011-10-26T06:42:00
C++
UTF-8
C++
false
false
736
hpp
# /* ************************************************************************** # * * # * (C) Copyright Paul Mensonides 2002. # * Distributed under the Boost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt...
[ "jan@arangodb.com" ]
jan@arangodb.com
59a47fb68d4a85bf97c46b8fcce18367738116c1
967482ce7998d8814a13d8509db947b0df31f8e0
/src/mod/wgt/shl/Expressable.cpp
1f5a3d08914e8a53e224c78219cacf4bb75a3b75
[]
no_license
loongarch64/afnix
38dc9c9808f18ff5517f7c43f641057a9583aeda
88cc629cc09086cda707e5ad6d8a1bd412491bbe
refs/heads/main
2023-05-31T17:16:56.743466
2021-06-22T05:18:32
2021-06-22T05:18:32
379,150,535
0
0
null
2021-06-25T03:05:27
2021-06-22T05:20:29
C++
UTF-8
C++
false
false
5,078
cpp
// --------------------------------------------------------------------------- // - Expressable.cpp - // - afnix:wgt module - expressable abstract class implementation - // --------------------------------------------------------------------------- // -...
[ "wuxiaotian@loongson.cn" ]
wuxiaotian@loongson.cn
f388c64c3cfcafa5830a946ecaf1bfd89886cbbd
81c0d8c2bea2907ddb93089e40354a52fc14091b
/src/memoryobject.h
c77d2dd6894938c6f881f6e55f7e87c3eb22af69
[]
no_license
fifield/node-webcl
d41cc65d39ebb44f1decf18482eb673eae6636e5
6ffd3bcf577f233359be73f06d8496b96d7a963e
refs/heads/master
2021-01-22T02:57:52.612836
2012-04-21T21:25:40
2012-04-21T21:25:40
1,929,785
38
4
null
null
null
null
UTF-8
C++
false
false
888
h
#ifndef WEBCL_MEMORYOBJECT_H_ #define WEBCL_MEMORYOBJECT_H_ #include "common.h" #include "wrapper/include/memoryobjectwrapper.h" namespace webcl { class MemoryObject : public node::ObjectWrap { public: ~MemoryObject(); static void Init(v8::Handle<v8::Object> target); static MemoryObject *New(MemoryObj...
[ "fifield@colorado.edu" ]
fifield@colorado.edu
b551c3ef0df5b0d6a88d0057721b3c4e6ff4831f
67baab02cfda6c54a287d63d0874824cf15f3ba6
/oi/joi/2019/a.cpp
402d5fb43264c965dfce0d7343af7d204435ec73
[ "MIT" ]
permissive
sogapalag/problems
a14eedd8cfcdb52661479c8c90e08737aaeeb32b
0ea7d65448e1177f8b3f81124a82d187980d659c
refs/heads/master
2021-01-12T17:49:52.007234
2020-08-18T14:51:40
2020-08-18T14:51:40
71,629,601
1
0
null
null
null
null
UTF-8
C++
false
false
698
cpp
#include <bits/stdc++.h> using namespace std; const int N = 3111; char s[N][N]; int c[N][N]; void solve() { int n, m; cin >> n >> m; for (int i = 1; i <= n; i++) { cin >> &s[i][1]; } for (int j = 1; j <= m; j++) { for (int i = n; i >= 1; i--) { c[i][j] = c[i+1][j] + (s...
[ "yan-zp@foxmail.com" ]
yan-zp@foxmail.com
c0a313566cb12f5904e22aec878f59ab12ea9f6e
0ea03067965572e090cb7cb4f998bfba0ca64c6d
/Tudat/Astrodynamics/Relativity/metric.cpp
f20f52a99680a78d9c3ba52c9b2195eaf5f1e2a5
[]
no_license
MitchellBorst/tudat
c59ff1e44a9ba037f3ce5a890b6dfcfdf4d9430d
ca04f75819cb0abcf263a6b7dd7c7c3d49acbfa7
refs/heads/master
2021-05-14T07:44:45.151657
2017-12-10T18:02:21
2017-12-10T18:02:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
766
cpp
/* Copyright (c) 2010-2017, Delft University of Technology * All rigths reserved * * This file is part of the Tudat. Redistribution and use in source and * binary forms, with or without modification, are permitted exclusively * under the terms of the Modified BSD license. You should have received *...
[ "d.dirkx@tudelft.nl" ]
d.dirkx@tudelft.nl
bf9e5164b597a3d7560490ab2a33d6fdf5b4361e
bf6632634a16c91c7ee319ba9a4c95195ddf176d
/Tools/MapCreator/includes/MapBackgroundItem.hpp
807b5898ac01811b276b366bfd52959a7d70cf43
[]
no_license
peauc/RType
b3c2d27b5c9204188ee98be0f868c9a49cd3efd8
8e04d99b82c36f77f600b9c41eff5c1781c058d6
refs/heads/master
2021-05-12T10:06:47.728866
2018-01-23T22:34:28
2018-01-23T22:34:28
117,344,079
0
0
null
null
null
null
UTF-8
C++
false
false
1,038
hpp
/* ** EPITECH PROJECT , 2020 ** MapCreator ** File description : ** No description */ #ifndef MAPCREATOR_MAPBACKGROUNDITEM_HPP #define MAPCREATOR_MAPBACKGROUNDITEM_HPP #include "ASpriteInList.hpp" #include "IDragAndDrop.hpp" #include "AContainer.hpp" class MapBackgroundItem : public ASpriteInList, public IDragAndDro...
[ "paul.wery@epitech.eu" ]
paul.wery@epitech.eu
7bb18e3607988682a9fe9ce1cd6b40986e5a8fc3
3a7322640a619ffe793e88de4807c58f2a645fb6
/system_programming/udp/client/client_udp_test.cpp
034ce03605a0e2d8a13bba88c8152f60fb06789f
[]
no_license
MiritHadar/Practice
d0e60fce8c9346212fd3e1071cb7395e63bec69a
471e75393e02d61601a235fe65f0121ae1121b5c
refs/heads/master
2020-09-08T01:30:03.102784
2020-04-30T14:03:51
2020-04-30T14:03:51
220,971,061
0
0
null
null
null
null
UTF-8
C++
false
false
588
cpp
/* ******************************************************************************** Developer : Mirit Hadar Reviewer : Last Update : Status : ******************************************************************************** */ #include "client_udp.hpp" using namespace ilrd; //first argument sent is port number //s...
[ "mirit6873079@gmail.com" ]
mirit6873079@gmail.com
10c42b5bf1bd989fac60f1777cc1b487b1f53801
23c524e47a96829d3b8e0aa6792fd40a20f3dd41
/.history/vector/Vector_20210405161928.hpp
7283109c65d58be5043e699ef344c802f4dad1a6
[]
no_license
nqqw/ft_containers
4c16d32fb209aea2ce39e7ec25d7f6648aed92e8
f043cf52059c7accd0cef7bffcaef0f6cb2c126b
refs/heads/master
2023-06-25T16:08:19.762870
2021-07-23T17:28:09
2021-07-23T17:28:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,852
hpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Vector.hpp :+: :+: :+: ...
[ "dbliss@at-q5.msk.21-school.ru" ]
dbliss@at-q5.msk.21-school.ru
e9074163123bd321a63b875af275fd5f527e2629
33bd63c8230f05a72c700de97e6945267d010dc9
/prject_u3dgame/netext/session_bind_base.cpp
2c3e9ff025e2c7e3b1302b4962992f93e22a4621
[]
no_license
magicsea/u3dmmo
8788ae9a3f23dfd888d2c76733080b66e6146d78
65df9153038abaea52b11a2434f6a67c3c2a809b
refs/heads/master
2016-09-06T05:27:12.564730
2014-07-01T15:29:56
2014-07-01T15:29:56
17,163,737
4
2
null
null
null
null
UTF-8
C++
false
false
3,392
cpp
//#include "MwPch.h" //#include "StdAfx.h" #include "gc_allnet.h" #include "session_bind_base.h" //#include <string> GC_Session_Bind::GC_Session_Bind():mState(UN_CONNECT) { m_iReceiveTime=0; m_pCallBackObject = NULL; m_cbfOnConnect = NULL; m_cbfOnDisConnect = NULL; m_cbfOnNetClose = NULL; } GC_Ses...
[ "magicsea_wy@163.com" ]
magicsea_wy@163.com
1d02ab9b55acd5fcdc5afc5b8cc51c72e194e3e2
97708d413db822e6ef4e158ebacd62582a619f47
/c++/array/check_if_array_element_consecutive.cpp
b33aaeda62e066c256c4571bcddb69980c2e975d
[]
no_license
uchihaitachi08/daily_code
aa8d233056440fad87bbe27f5c9ee3bb2d60e513
aa6eca512684511115e5a64526f596419e098a82
refs/heads/master
2021-01-19T18:00:02.398436
2015-10-10T17:06:31
2015-10-10T17:06:31
40,917,476
0
0
null
null
null
null
UTF-8
C++
false
false
770
cpp
#include<iostream> #include<map> #include<climits> using namespace std; int getmin(int *arr, int n){ int min = INT_MAX; for(int i=0;i<n;i++){ if(arr[i] < min){ min = arr[i]; } } return min; } int getmax(int *arr, int n){ int max = INT_MIN; for(int i=0;i<n;i++){ if(arr[i] > max){ max = arr[i]; } } ...
[ "sameerrrana@gmail.com" ]
sameerrrana@gmail.com
8b19a6e4143a14f8c8b4986a49f98d068cc3ffbf
25c550c689d75c6fee4049dc1050fc726bd29336
/728. Self Dividing Numbers.cpp
3cd1d675adf1e64ed7fa58cb3f209842e73cb6c6
[]
no_license
YueJi95/LeetCode
aeba34b96846b526960bdb0350a9e2ab21b1f2df
61525029e99001fcf7138e045e4a892ae65f3e97
refs/heads/master
2021-01-20T06:31:00.648130
2018-05-09T19:33:21
2018-05-09T19:33:21
101,503,495
0
0
null
null
null
null
UTF-8
C++
false
false
525
cpp
class Solution { public: vector<int> selfDividingNumbers(int left, int right) { vector<int> result; for(int i = left; i <= right; i++){ int val = i; bool flag = true; while(val > 0){ int a = val % 10; val = val / 10; ...
[ "yueji95@126.com" ]
yueji95@126.com
02945ea1f87304fed89a196b7e314d06375b7d4a
4b8f62ecf3d6c1428f4a94ebac08843b18635bb7
/DS Made Easy Problems/OOP Lab/BFS (Linked List).cpp
71d932ae1e9fc26650945634665975af431f26a9
[]
no_license
abhinavjain0809/Data_Sturctures
660e20d1ffb4b29d57e39e01e0f5ffc917468794
53793c71f9b0469cebefac8e98ccf741468d1edb
refs/heads/master
2021-01-01T05:49:58.733652
2014-10-19T05:10:11
2014-10-19T05:10:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,499
cpp
#include<iostream> #include<stdlib.h> using namespace std; typedef struct queue{ int data; struct queue *next; }Q; Q *front=NULL, *rear=NULL; void enQueue(int); int deQueue(); int main(void) { int n,m,v,**adj,a,b; cout<<"Number of Vertices and Edges: ";; cin>>n>>m; int onSite[...
[ "abhinavjian0809@gmail.com" ]
abhinavjian0809@gmail.com
effb91490637214b7b9080f17b385e22e4cea7d8
c4a77c787211ed88d6533fc873293cbd923d14ed
/examples/graphic/illusion2.cpp
1c8b674d5d638e5c95e0ec2218b0513ba9a792d7
[]
no_license
Scinc-L/Scinc
b802edd60aabeaa2322ffa61bf5c6a2f9a024ba3
5f0e505f0e1c204066b69f9d24f82a9235edd6df
refs/heads/master
2023-05-04T10:26:38.308320
2021-04-22T11:22:28
2021-04-22T11:22:28
370,496,445
1
0
null
null
null
null
UTF-8
C++
false
false
1,446
cpp
#include <stdio.h> #include "graphics.h" Graph g; #define M_PI 3.141592654 void Dot(float x, float y, float r, float w, float a, float T, float alpha) { int n=r/w; float ca=cos(a); float sa=sin(a); for(int i=-n;i<=n;i++) { float t=i+(T-int(T)+(T<0?1:0))*2-1; float s=sqrt(r*r-t*t*w*w); g.clear(); g.M(x-...
[ "klkspa@ukr.net" ]
klkspa@ukr.net
74546083eb3f2a1118e45204c9f452d1de86d4b2
8d4b3a70af52a8da1f96016f98cf57c67ea4c027
/ex_4_grid_movement/assetmanager.hpp
3dea3d5353e4e0890e767d5d18cdedaf7c4f3ab2
[]
no_license
Dalphat/cpp-sfml-examples
070915bfd97488166fa03bda2a60065c08cdf042
ea037c8804c1ffaa41cf1fc54b8b8c861e96b51f
refs/heads/master
2020-05-16T16:10:24.806799
2019-05-01T06:05:53
2019-05-01T06:05:53
183,153,318
0
0
null
null
null
null
UTF-8
C++
false
false
613
hpp
#ifndef ASSETMANAGER_HPP #define ASSETMANAGER_HPP /* Description: Pure static class asset manager. Manages assets. */ #include <SFML/Graphics/Texture.hpp> #include <memory> #include <unordered_map> #include <fstream> namespace my { class AssetManager { private: static std::unordered_map<std::string...
[ "dstackflow@gmail.com" ]
dstackflow@gmail.com
d50863b6aa4b10ce7e7d08837a00ab330011428e
929d8ebd7d57ad1dadd80c99a3886a06e14712ab
/OpenCVShop/QT_CV.h
f8a4c8a452ff6fff2cab70be534cd6fc77017c3b
[]
no_license
hrachyahakobyan/OpenCVShop
e3fab83c0a2b1a0ffd61b0406a335cd8a8080d0b
6a455b991c1837a7cf911c008ce160c70f8061e5
refs/heads/master
2020-05-21T22:39:13.539364
2016-09-22T09:51:57
2016-09-22T09:51:57
65,006,097
0
0
null
null
null
null
UTF-8
C++
false
false
3,435
h
#pragma once /**************************************************************************** ** Copyright (c) 2012-2015 Debao Zhang <hello@debao.me> ** All right reserved. ** ** Permission is hereby granted, free of charge, to any person obtaining ** a copy of this software and associated documentation files (the ** "Sof...
[ "hrachya_hakobyan@edu.aua.am" ]
hrachya_hakobyan@edu.aua.am
58d60832a34ec55e9f8a9fdc7b5dbb3138f9b5a0
7a3708c2ac2e98d3126fe3a1863de1b0f08c9d29
/Redirector/SocksHelper.cpp
c8552bd4010a0ebb3714e2bc362d90420d704518
[ "MIT" ]
permissive
Fantickwelrod/netch
050f0dc0377d04e83f1eb67b20ae4f997d4a0471
8b98df81e5730b331c681de7aef8672f80dae847
refs/heads/main
2023-07-31T14:33:23.921731
2021-09-21T08:39:07
2021-09-21T08:39:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
11,065
cpp
#include "SocksHelper.h" #include "Utils.h" extern wstring tgtHost; extern wstring tgtPort; extern string tgtUsername; extern string tgtPassword; SOCKET SocksHelper::Utils::Connect() { auto client = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); if (!client) { printf("[Redirector][SocksHelper::Utils:...
[ "cutecr@pm.me" ]
cutecr@pm.me
540e044fc406a1b3fd43ca5bca0d00aaaee9fc05
6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849
/sstd_boost/sstd/boost/spirit/home/support/container.hpp
efc3657fa4ea987fd0b33cb7ff2da79bad30789d
[ "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
15,523
hpp
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Copyright (c) 2001-2011 Hartmut Kaiser http://spirit.sourceforge.net/ Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at ...
[ "zhaixueqiang@hotmail.com" ]
zhaixueqiang@hotmail.com
1699d721115e532daf0e04e05c4931bfe3f07967
fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd
/components/variations/variations_associated_data.h
6eb51f3eca500b6916bea8f2d9b59015016419da
[ "BSD-3-Clause" ]
permissive
wzyy2/chromium-browser
2644b0daf58f8b3caee8a6c09a2b448b2dfe059c
eb905f00a0f7e141e8d6c89be8fb26192a88c4b7
refs/heads/master
2022-11-23T20:25:08.120045
2018-01-16T06:41:26
2018-01-16T06:41:26
117,618,467
3
2
BSD-3-Clause
2022-11-20T22:03:57
2018-01-16T02:09:10
null
UTF-8
C++
false
false
7,252
h
// Copyright 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_VARIATIONS_VARIATIONS_ASSOCIATED_DATA_H_ #define COMPONENTS_VARIATIONS_VARIATIONS_ASSOCIATED_DATA_H_ #include <map> #include <memory> ...
[ "jacob-chen@iotwrt.com" ]
jacob-chen@iotwrt.com
7b3fc318740ddb4ef0dcb2c5d19d1a3df8a7582b
dd1a4ca7020ba5cac93d90829798a3a6f80d33a1
/others/water/luogu3661.cpp
e8a9947da7b6fee8e77b10edf890f15babbcc6ac
[]
no_license
Exbilar/Source
a0f85b8b47840a4212fd4a9f713f978cab13e9a3
b8bc0dc52e51f6c4986bd0f37de61b13d98e6e8c
refs/heads/master
2022-05-03T22:35:57.300520
2022-03-14T09:03:03
2022-03-14T09:03:03
97,890,246
2
1
null
null
null
null
UTF-8
C++
false
false
1,372
cpp
#include <bits/stdc++.h> #define DEBUG(...) fprintf(stderr,__VA_ARGS__) using std :: max; using std :: min; using std :: set; using std :: pair; using std :: make_pair; using std :: vector; using std :: queue; using std :: multiset; using std :: priority_queue; typedef long long LL; typedef pair<int,int> pii; stati...
[ "exbilar@gmail.com" ]
exbilar@gmail.com
5b2526ee3ea06cf9ad82863fc5831270e563af1c
cd712c98c37403321d6feaddfe3033355d81338d
/proj3/src/ssa/symtable/symtable.cpp
720952125c05797305be96f0fb38c03df9300749
[]
no_license
jwnhy/CS323-Project
be61d7e94b2feefcdeed60213ed10f19e92ae7d6
4e539480562d581d2518242cc820f4d52d29f814
refs/heads/master
2023-01-29T03:07:48.458201
2020-12-09T01:07:28
2020-12-09T01:07:28
300,314,171
1
0
null
null
null
null
UTF-8
C++
false
false
4,295
cpp
#include "symtable.h" using namespace std; vector<pair<Type*, SymTable*>> scope_stack; int CNT = 0; void init() { scope_stack.clear(); SymTable* global_table = new SymTable(); scope_stack.push_back({NULL, global_table}); } void enter(Type* ret_type) { scope_stack.push_back({ret_type, new SymTable()});...
[ "799433746@qq.com" ]
799433746@qq.com
dfd6ed846949320215737c3bd33bb9e4b3d2a466
399e439f7d7bd2aa35569868276cb50332c91a97
/graph/mincostflow.h
050b5cc69a1766b1e1c9a3c3c4d3e04b74b0e480
[]
no_license
tenkuunoyoake/Algorithm
f733e32c3ab62369af3aa32797a0a47322fe5b3e
aa4f2c51b8355f6a0b3985adb5d8317945510eff
refs/heads/master
2021-07-04T03:06:03.366968
2017-09-25T19:05:49
2017-09-25T19:05:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,116
h
template<class C, class D, class E> struct MinCostFlow { static const D INF = numeric_limits<D>::max(); VV<E> g; int s, t; C nc, cap_flow; D nd, flow; V<D> dual; V<int> pv, pe; MinCostFlow(VV<E> g, int s, int t, bool neg) : g(g), s(s), t(t), cap_flow(0), flow(0) { assert(s != t...
[ "yosupo06@gmail.com" ]
yosupo06@gmail.com
814e3bde84ad849496558f5a22e3bdffbd5568e6
6f0c993b062f965f5bbf37a6d5f26a8f47e828ce
/BD.cpp
2a686f8ca5cf499dbdbfe28344a7e08d8fe6766b
[]
no_license
b21quocbao/Competitive-Programming
99a6c61d96597e625a313b5fdaa98b00eef62770
3e033b6290745f62f1719fe9f6f1421952d2db91
refs/heads/master
2022-08-25T19:00:14.223802
2020-03-13T05:29:27
2020-03-13T05:29:27
242,359,060
0
0
null
null
null
null
UTF-8
C++
false
false
5,354
cpp
#include <bits/stdc++.h> #define fn "test" #define fn1 "BD" using namespace std; const int mn = 1 * (int)(1e3) + 10; const int mod = 1 * (int)(1e9) + 7; const int mm = 1 * (int)(1e2) + 10; const int base = 1 * (int)(1e9); const bool aNs = 0; struct node { int a, b, x, y; }; int tt, ntest = 1; int n, m; pair<i...
[ "ngobao2001@gmail.com" ]
ngobao2001@gmail.com
4a2218e2d2b8bed093ecb78275e7f63c2d99373f
06eb60c98f4d106fc3bb3d0b7e990828b87d714d
/Source/WebCore/platform/graphics/filters/CustomFilterCompiledProgram.h
5d872dfb2edd277aac092935e44a3f4d3ea5c9a2
[]
no_license
snyh/dui
9486a81d97ec1173b161b6aef8fcea21066aebff
c4464629f1efdecae792ed3abc2a7fc9ce9b88db
refs/heads/master
2021-01-25T08:28:55.224303
2013-10-23T00:42:02
2013-10-23T00:42:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,092
h
/* * Copyright (C) 2012 Adobe Systems Incorporated. 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 ...
[ "snyh@snyh.org" ]
snyh@snyh.org
3021ec5f9d8577d7f22c7d5ff76bfcf3d3eb23b8
78aceec2a1173cf100e726669d933199903282ba
/live/cutter/cutterworker/.svn/text-base/StreamReader.h.svn-base
64955a4ddcb6241305baf0f349934205bbccd696
[]
no_license
shahu/xhome
1c6e42257b79c378575cfbb035aff38f8716f709
16fed6dece1fbc5a87af019a48931e53197bdfa8
refs/heads/master
2020-12-25T18:17:55.629694
2013-09-26T01:49:37
2013-09-26T01:49:37
12,605,990
1
0
null
null
null
null
UTF-8
C++
false
false
2,706
#pragma once // #include "util/Util.h" // #include <boost/asio/io_service.hpp> //#include "util/protocol/http/HttpClient.h" #include "PieceWriter.h" namespace util{ namespace protocol{ class HttpClient; } } class CStreamReader { public: CStreamReader(const std::string& url, const std::string& pat...
[ "root@ATN-cloud1.0b3ad251ac8442ba91180dabc8e9b6a0.ATN-cloud1.2995091589.chinanorth.internal.chinacloudapp.cn" ]
root@ATN-cloud1.0b3ad251ac8442ba91180dabc8e9b6a0.ATN-cloud1.2995091589.chinanorth.internal.chinacloudapp.cn
6689a0e71e3c5a7eabbfd5f749dedc51bedd4383
6aac3e5c013ebefbfb2a932dc24677c506c38960
/cpp/Ad7b39pgr/primitives/BonusTask.h
4beebdc7f4ce962663a6c04d71e5821607707bc1
[]
no_license
merxbj/src
a0a84b23efb77bf83dae1c63cb85d695c09d706a
8eda380b331f53b06303ddf95c8d7675cefecfaa
refs/heads/master
2023-08-27T18:21:08.159945
2023-08-13T18:45:35
2023-08-13T18:49:51
273,909
1
1
null
2023-09-14T21:41:02
2009-08-10T12:23:27
Java
UTF-8
C++
false
false
509
h
#pragma once #include "advancedtask.h" class BonusTask : public AdvancedTask { public: BonusTask(void); virtual ~BonusTask(void); virtual void Initialize(); virtual const char* ToString(); protected: virtual void DrawTask(); private: GLuint InitializeVertexBufferHouseWithColo...
[ "Jaroslav.Merxbauer@ncr.com" ]
Jaroslav.Merxbauer@ncr.com
1b1afc912df5ef426348bcf61cbcff4ac0f2de7e
024246fcea9e059040f695e29db14ab4eb2da227
/bfs_dfs.cpp
49135291e383437c865583bab4b134738885ec7b
[]
no_license
tuxophilia/ds
c5863917abc7dfe90ae2c192c23242e9b8d3aa6e
1cd49d576c5d135cd01410ebdc949d625a3c3cfd
refs/heads/master
2021-01-02T09:31:25.448136
2014-02-12T18:27:04
2014-02-12T18:27:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,703
cpp
#include<iostream> using namespace std; int nodes; void display(int**); void enque(int); int deque(); void dfs(int,int**,int,int*); void bfs(int,int**,int,int*); int** construct_adj(int *p,int non,int **adj,int i) { for(int j=1;j<=non;j++) *(*(adj+i)+*(p+j))=1; display(adj); return adj; } void display(int **...
[ "tuxophilia@gmail.com" ]
tuxophilia@gmail.com
d2db0d7cecf73a36f2cad41ce2e33e44af936b6d
41ebf0f127afdc03aac72e26ab87a88b6684fe07
/Modules/Components/SinksAndSources/include/selxItkImageSource.h
a757a727d8ace7c3419b5c4ab03b57099eed7aa7
[ "Apache-2.0" ]
permissive
deliangye/SuperElastix
795bb29a2536a3337895943c1b991cae6eea3ee2
7bf157a726047efdabb4f9d85a062e3e08f5eb28
refs/heads/master
2021-01-12T11:28:44.955686
2016-09-16T09:15:08
2016-09-16T09:15:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,512
h
/*========================================================================= * * Copyright Leiden University Medical Center, Erasmus University Medical * Center and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licens...
[ "floris.berendsen@gmail.com" ]
floris.berendsen@gmail.com
e0b9b2d955549edf0e7e2608544e6c86e076c281
0744dcc5394cebf57ebcba343747af6871b67017
/external/tfmicro/tensorflow/lite/schema/schema_utils.h
32db89ba893d65a6656e4a6602b5aef29efaa849
[ "Apache-2.0", "MIT" ]
permissive
Samsung/TizenRT
96abf62f1853f61fcf91ff14671a5e0c6ca48fdb
1a5c2e00a4b1bbf4c505bbf5cc6a8259e926f686
refs/heads/master
2023-08-31T08:59:33.327998
2023-08-08T06:09:20
2023-08-31T04:38:20
82,517,252
590
719
Apache-2.0
2023-09-14T06:54:49
2017-02-20T04:38:30
C
UTF-8
C++
false
false
1,333
h
/* Copyright 2020 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...
[ "tj80.kwon@samsung.com" ]
tj80.kwon@samsung.com
f4c3cb387ce3f804b6ee9f2e28fcd76ab32517c8
fe5c880191fa7a6abb68a678872e87fe957c2569
/系统模块/服务器组件/内核引擎/DataBase.h
4e52c2d9253ff705d5f55d6ff22594af51a384c8
[]
no_license
soft-time/foxuc
905565c121f73a0b5abb4f23ceabed8dfc250341
32d604c4c1a10b466587ab88b75e84a8935a6f99
refs/heads/master
2020-12-15T09:23:46.726609
2019-04-15T15:16:00
2019-04-15T15:16:00
null
0
0
null
null
null
null
GB18030
C++
false
false
7,337
h
#ifndef DATA_BASE_ENGINE_HEAD_FILE #define DATA_BASE_ENGINE_HEAD_FILE #pragma once //组件头文件 #include "KernelEngineHead.h" #include "QueueService.h" #include "TraceService.h" #include "QueueServiceEvent.h" #include <vector> using namespace std; ////////////////////////////////////////////////////////////////////////// ...
[ "xjlong@outlook.com" ]
xjlong@outlook.com
67eb82ac8f3b19db03cdcd96d9edde64e07da707
747238767e0520645687cf1af64a91081904c6d9
/ESPWiFiServer/Source/Server/Server.h
ce36b74ab47d5ad7a490e72001085b3e6ba72932
[]
no_license
MaxGarden/ESPWiFiServer
5a66c9fa68dc7c5e53b34c03c3c6a76c4a6c0a48
e88154c2d091d65e25e714333f68d771f6b17d73
refs/heads/master
2020-04-09T05:02:17.174362
2019-02-24T16:54:23
2019-02-24T16:55:09
160,048,396
0
0
null
null
null
null
UTF-8
C++
false
false
667
h
#if !defined(__SERVER_H__) #define __SERVER_H__ #pragma once #include "DataModel.h" #include "Client/Client.h" class IServerListener : public IListener { public: virtual ~IServerListener() override = default; virtual void OnClientConnected(const IClientSharedPtr& client) = 0; virtual void OnClientDisconn...
[ "mserkies@artifexmundi.com" ]
mserkies@artifexmundi.com
d4c1e442731547adb336d34dc57d273daeecaaba
5c72412ba71e31559c12cfef46a5c67e84332cf2
/imgprocess/test_split.cpp
dbf76442d9f0b1615513d63a5d2425c3d3c360d7
[ "MIT" ]
permissive
apachefranklin/imageprocess
f11a419096942f92377c2aef04ba1e89f5cd0bee
563175a90dad85c2ebb16f6ff18da06680b1c1db
refs/heads/master
2023-08-25T08:59:10.349933
2021-10-25T04:55:17
2021-10-25T04:55:17
283,257,232
1
0
null
null
null
null
UTF-8
C++
false
false
1,068
cpp
#include <iostream> #include <vector> using namespace std; std::vector<std::string> split_string(std::string chaine,std::string sep){ std::vector<std::string> splitElts; std:string tempchaine=chaine; size_t pos = 0; std::string token; while ((pos = tempchaine.find(sep)) != std::string::npos) { ...
[ "dnzklin@gmail.com" ]
dnzklin@gmail.com
8c0075d55f7251c6dcaea7ddf05e774baaac7c82
9476946d62b9524d6b1c585e53f6bba23723b552
/Template of other teams/NewMeta/merge/HalfPlaneIntersection.cpp
fc8a008001ae4a7834ed027aa8801bbb18e67fd0
[]
no_license
KurodaKanbei/ACM
67df8f6c41e95d3d1a52d6ccde22b14941999a29
45d79c8a22ae94e28f12da590f02dd4f0181a307
refs/heads/master
2021-11-26T21:02:21.462582
2021-11-10T19:36:39
2021-11-10T19:36:39
87,429,146
6
0
null
null
null
null
UTF-8
C++
false
false
1,580
cpp
struct Point { int quad() const { return sign(y) == 1 || (sign(y) == 0 && sign(x) >= 0); } Point turn90() const { return Point(-y, x); } }; struct Line { bool include(const Point &p) const { return sign(det(b - a, p - a)) > 0; } Line push() const{ // 将半平面向外推 eps const double eps = 1e-6; Point delta = (b - a).tu...
[ "812395846@qq.com" ]
812395846@qq.com
39781caeb6824b2fa8bf023c2fc59de0a1a0bccb
cdd8b267cd24536b72de8d5920a5e502948491b1
/SDL_Engine-master/src/Plane.cpp
2a60f77363593cb1d04b7f459e57f0e04f491acb
[ "MIT" ]
permissive
Offgridhuls/PhysicsA3Scene1_Sangiorgio_Milman
dcd6652d05b6db9f8641cbd4ef0b8a59a90891bb
6c16e9b41187860be630d3311499b8d4bc1b3df0
refs/heads/main
2023-01-20T11:34:56.639501
2020-12-01T04:00:47
2020-12-01T04:00:47
317,420,525
0
0
null
null
null
null
UTF-8
C++
false
false
1,332
cpp
#include "Plane.h" #include "TextureManager.h" Plane::Plane() { TextureManager::Instance()->loadSpriteSheet( "../Assets/sprites/atlas.txt", "../Assets/sprites/atlas.png", "spritesheet"); setSpriteSheet(TextureManager::Instance()->getSpriteSheet("spritesheet")); // set frame width setWidth(65); // set fr...
[ "55862297+Offgridhuls@users.noreply.github.com" ]
55862297+Offgridhuls@users.noreply.github.com
2e319a29bf7154a502770d712276300bd65fb1ca
e1ffaeccfb71d98bf388d1c8f13d8dece8218468
/Client/src/maths/metric2.cpp
76e07ea340681f38570a4b19226e4cdad1a38a67
[]
no_license
Yen/LysOld
a3746b6ad60d9e6600d59007788a77499b113ef4
83cd0af957681afecc235f5318d91922949aa181
refs/heads/master
2021-05-30T04:16:33.111082
2015-10-24T23:50:14
2015-10-24T23:50:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
448
cpp
#include "metric2.hpp" #include "vector2.hpp" namespace lys { Metric2::Metric2() : x(0), y(0) {} Metric2::Metric2(const int &x, const int &y) : x(x), y(y) {} bool Metric2::operator ==(const Metric2 &other) const { return((x == other.x) && (y == other.y)); } bool Metric2::operator !=(const Metric2 &o...
[ "insertlogic@gmail.com" ]
insertlogic@gmail.com
b138343f959ee73fe22932e1a70d8522219cf7bc
cd59c2a407c7d9156b9a92419f877c86a3289036
/editor/tablemanager.h
bf176a7f449b5d1a4cb78223de789501c05557a6
[]
no_license
frandibar/pacman3d
4abd397cfbc5f521eb68d9e2a9e7a6970bca26b6
8b66333add56e0c553b2643d7f6a7bc03412ed81
refs/heads/master
2022-06-21T02:42:33.504230
2020-05-08T00:26:27
2020-05-08T00:26:27
262,187,761
0
0
null
null
null
null
UTF-8
C++
false
false
5,576
h
#ifndef TABLEMANAGER_H_ #define TABLEMANAGER_H_ #include <gtkmm.h> #include "editor/mapcell.h" #include "lib/utilities.h" #include "lib/graphhandler.h" #include "lib/grapherrors.h" #include "lib/gladehelper.h" #include <vector> #include <map> #include <set> /** * Para poder manejar la GtkTable, una vez obtenida del ...
[ "frandibar@gmail.com" ]
frandibar@gmail.com
968f7b156e0dea46663b77a3b243deafc92fdb63
f1157fc241143c8baf8e5384761774f44c4a6ebb
/58/main.cpp
9df4657dcf34a058b8d067c905190393121d2348
[]
no_license
hekun123/LeetcodeSolver
28dfebffa18e12a8fe86251e8b9a5590ab04d514
6a0ba6733c453b33baef715b97f9af63fa23c861
refs/heads/master
2020-04-13T07:10:48.276759
2019-07-16T02:07:02
2019-07-16T02:07:02
163,042,956
0
0
null
null
null
null
UTF-8
C++
false
false
652
cpp
#include <stdio.h> #include <stdlib.h> #include <string.h> int lengthOfLastWord(char* s) { int strLen, i, returnAns; char *sPtr = NULL; strLen = strlen(s); sPtr = s+strLen-1; while(*sPtr == ' '){ *sPtr = '\0'; sPtr--; } strLen = strlen(s); returnAns = 0...
[ "hetheory@163.com" ]
hetheory@163.com
a740808cc86b9098a6e2cbd50d019a2bef258009
5140fe1e18ee517bfdc33a8a8b50689bb96b5d66
/src/models/Input.cpp
163c48ba07667fbb8062f25324c733564b0666db
[ "MIT" ]
permissive
garrou/bin-packing
cc00cff3d5cb18599b5df05daba743a7df1531d8
e733fbcbd5fdb3237cc3c3f8c921e34f4c5dcd1e
refs/heads/main
2023-04-27T07:13:36.764483
2023-04-13T09:54:00
2023-04-13T09:54:00
326,772,528
0
0
null
null
null
null
UTF-8
C++
false
false
3,497
cpp
/** * @file Input.cpp * @author Adrien GARROUSTE - 1irda.alwaysdata.net * @brief Check user input * @version 0.1 * @date 2021-01-06 * @copyright No copyright no right */ #include "../headers/Input.hpp" #include <iostream> #include <limits> #include <vector> /** * @brief Min size for boxes and items */ const i...
[ "garrousteadrien@gmail.com" ]
garrousteadrien@gmail.com
adbc8e9ac7e9424cefe836f765f5d2336ddfbdc2
070220e82b5d89e18b93d6ef34d702d2119575ed
/external/qtkeychain/keychain_unix.cpp
b5910abbfe1cfd8f9f198bc6d0d0a305181cfdbf
[ "Apache-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
Brute-f0rce/l0phtcrack
2eb4e51f36fd28c9119269881d5e66e6a6dac533
25f681c07828e5e68e0dd788d84cc13c154aed3d
refs/heads/main
2023-08-19T16:41:06.137715
2021-10-17T01:06:21
2021-10-17T01:06:21
418,568,833
2
0
null
null
null
null
UTF-8
C++
false
false
19,060
cpp
/****************************************************************************** * Copyright (C) 2011-2014 Frank Osterfeld <frank.osterfeld@gmail.com> * * * * This program is distributed in the hope that it will be useful, but ...
[ "crioux@noctem.org" ]
crioux@noctem.org
22cd11ac6cede2d906527488e19617fd08468359
33f1b5f6afa115be45cade93479bb7fbc33e7da0
/UVA/10063/20034982_AC_230ms_0kB.cpp
7caf6eb1ce551a35f7f8a6aa3bb7c43807af1694
[]
no_license
showmic96/Online-Judge-Solution
3960c37a646f4885210c09096c21dabd7f2154d2
94c34e9db2833fb84d0ac885b637dfebac30a5a2
refs/heads/master
2022-11-26T09:56:58.469560
2020-08-02T04:42:33
2020-08-02T04:42:33
230,185,618
1
0
null
null
null
null
UTF-8
C++
false
false
608
cpp
// In the name of Allah the Lord of the Worlds. #include<bits/stdc++.h> using namespace std; typedef long long ll; string ar; void f(int i , string temp) { if(i==ar.size()){ cout << temp << endl; return ; } char now = ar[i]; for(int i1=0;i1<=temp.size();i1++){ string s = temp;...
[ "57711640+showmic96@users.noreply.github.com" ]
57711640+showmic96@users.noreply.github.com
d19ccc3051935db7498466e6671474d7b1183f19
f57b2f6501c8af65c3da16c0fed7f8aa0b154929
/mad_lib.cpp
7bb38e1c593e35aa6a2cb52ebc0d8deea9c0b2f6
[]
no_license
ydaniju/game_utils
3c4a076444f4ad8566b8c747d3412be2f00886f6
482f9b526c008d56f27d428e2a89a82d3dd7a141
refs/heads/master
2020-09-20T11:20:06.887298
2019-12-04T12:12:39
2019-12-04T12:12:39
224,461,730
0
0
null
2019-12-04T12:12:40
2019-11-27T15:32:43
C++
UTF-8
C++
false
false
1,700
cpp
// Mad-Lib // Creates a story based on user input #include <iostream> #include <string> using namespace std; string askText(string prompt); int askNumber(string prompt); void tellStory( string name, string noun, int number, string bodyPart, string verb ); int main() { cout << "Welcome to Mad Lib.\n\n"; cout <...
[ "danijuyusuf@outlook.com" ]
danijuyusuf@outlook.com
5175720cf43203e38ae4ad6b53fb4084e718320b
236c9a335be1ce06685171a9c8ef8cfd305d7eec
/lang/ok.h
59644f1725d78bd3d1567737482b6fa4cd9d0b43
[ "MIT" ]
permissive
newmen/micro-scheme
39f7ba37052dc5d5331cd5d84a54b3f20b455b00
ce11e2d82e1b2ba56a0bff82a59f9de8c987dd93
refs/heads/master
2021-03-13T00:12:09.134554
2014-12-27T20:04:46
2014-12-27T20:05:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
274
h
#ifndef OK_H #define OK_H #include "tools/singleton.h" #include "data.h" class Ok : public Singleton<Ok, Data> { friend class Singleton; Ok() = default; public: std::string value() const override; bool eql(const Data *) const override; }; #endif // OK_H
[ "altermn@gmail.com" ]
altermn@gmail.com
0ab29d9ce2eb29429bd66aeccdfac85e2b169744
e85338f6d8666eb476698de5025c742b9b838a50
/contests/sub-south-neerc12/A/A.cpp
9dde746110b4da6e1bfcb3f5191b9112b97f0dbc
[]
no_license
yancouto/competitive-programming
8104bb3c45e0b385c2abb4cfcac14c35cce0619e
ac849e3aa858eea56b0aa6b7eb93e9a9e70f9475
refs/heads/master
2022-10-19T11:29:46.932829
2022-10-07T00:16:43
2022-10-07T00:16:43
66,641,933
7
0
null
null
null
null
UTF-8
C++
false
false
892
cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<ll, ll> pii; const int N = 2e5+7; int x[N]; int w[N]; int p[N]; int n, d; int get (pii a) { if (a.first == -1) return 0; return w[a.first] + w[a.second]; } int main() { #ifdef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen...
[ "yancouto@gmail.com" ]
yancouto@gmail.com
8e2ac04fb93b0720249a52e2060dddb82c2c5097
b94cd23b2aae437b0f17bc762e4a6a7f156f9161
/Temp/StagingArea/Data/il2cppOutput/Il2CppMetadataRegistration.cpp
9bf976b8bd836ac7ee17d63f10de39e81d922d19
[]
no_license
DrSlowpokePhd/SuperDuperPlatformingOdyssey
4f5638e02c9a374a9a4deeb4a86ef7a0f5d4823e
e68b8ea6c420d29db1d78d65c7f1b2ae7fd5fc26
refs/heads/master
2022-09-01T13:40:32.332401
2022-08-10T01:31:31
2022-08-10T01:31:31
141,931,512
0
0
null
null
null
null
UTF-8
C++
false
false
1,112
cpp
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" extern Il2CppGenericC...
[ "starmagic1999@gmail.com" ]
starmagic1999@gmail.com
646604a3039b8ed84810a7082c960ee60cd961bf
f2cd59a5affec155e7ac7f901740bfb1cd78b96e
/dynamiclinkstatic/dynamic2/dynamic.cpp
871c8740e08149576cb22de2bd109b78b3d7ed55
[]
no_license
richader/exercise
bea99e0699e4f7f028647d042e95847d3a4c2b8d
2fdac746716e8458933680405b55fdeb47d5d5db
refs/heads/master
2020-04-06T12:56:41.899040
2018-11-14T02:34:34
2018-11-14T02:34:34
152,691,588
0
0
null
null
null
null
UTF-8
C++
false
false
204
cpp
#include "dynamic.h" #include "../staticf/static.h" #include <iostream> using namespace std; void SetMyValue(){ SetValue(2); } void PrintValue(){ cout<<"print value in dynamc2:"<<GetValue()<<endl; }
[ "648963532@qq.com" ]
648963532@qq.com
b953258d5ead278ae95bc0e613f5970864f14f20
9cacfc7d15f7d7b3521f6230369faf001d74210e
/Practica 2/P2_G18_arduino/lumenes.ino
505c05c9dbf6668788be4c79face3ed1ef213391
[]
no_license
cgomez29/ACE2_2S21_G18
7204c54f627c5d649b3be10fd1f6626306449dd6
35021226ab0f96de595527662a57e3c2baf34220
refs/heads/main
2023-08-25T20:03:25.567488
2021-11-06T05:45:46
2021-11-06T05:45:46
394,782,765
0
1
null
null
null
null
UTF-8
C++
false
false
180
ino
//SCL - Pin 21 //SDA - Pin 20 String getLumens() { unsigned int lux = sensor_lumens.readLightLevel(); String l = "\"luz\":"; l.concat(String(lux)); return (l); }
[ "noreply@github.com" ]
cgomez29.noreply@github.com
3379a8f6a35a198dfaeb1297b03cc804ae0ce787
3ca0354d3e76345b1b9aaac56380a7ba8b9a8385
/Computer Graphics/CG-Final-Project/CG-Final/CG-Final/Build/cylin.cpp
910e4f960be6bc86a3d83bf5945bc7e011859df1
[ "MIT" ]
permissive
wpn-zju/Undergraduate-Course-Homework-ZJU
c58d1262b1cb30b10e8f4e0f82447c66a20a649e
ee75ddd73b13fe7df471b77d9da1532d2fb11c5c
refs/heads/master
2023-05-12T06:50:37.650218
2023-04-30T00:39:11
2023-04-30T00:39:11
218,277,876
9
3
MIT
2020-10-22T01:38:58
2019-10-29T12:06:57
C++
UTF-8
C++
false
false
542
cpp
#include "cylin.h" namespace build { Cylin::Cylin(GLfloat r, GLfloat h, VECTOR3D center, VECTOR4D color) : Model::Model(center, color), m_R(r), m_Height(h) { } Cylin::~Cylin() { } void Cylin::draw() const { glColor4f(m_Color.x, m_Color.y, m_Color.z, m_Color.w); GLUquadricObj *objCylinder = gluNewQuad...
[ "3150102239@zju.edu.cn" ]
3150102239@zju.edu.cn
cea7e3f05ffc9ad288a097effde07bf2f9353df9
38d01a5f6adfce89b40d2cb0c8bf26c37ffbbf27
/boost/include/boost/preprocessor/tuple/elem.hpp
5a49c511da19f51cbdfd705c2c5ba3aafd2ceac8
[ "MIT" ]
permissive
ExpLife0011/gtirb
467ed7d20ad4ac0763da50bc21fc1386fdab8f5e
e9b90133295b15cfae8960d57dafda548913e8f9
refs/heads/master
2020-05-02T12:07:56.062974
2019-03-26T18:38:13
2019-03-26T18:38:13
177,950,649
1
0
MIT
2019-03-27T08:27:50
2019-03-27T08:27:50
null
UTF-8
C++
false
false
53,241
hpp
# /* Copyright (C) 2001 # * Housemarque Oy # * http://www.housemarque.com # * # * 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) # */ # # /* Revised by Paul Mensonides (2002-2011) */ # /* Revised by Edward...
[ "nweston@grammatech.com" ]
nweston@grammatech.com
27fa93cb60d8c64939d02d86d0ec94ecb0e50db2
cecfda84e25466259d3ef091953c3ac7b44dc1fc
/UVa Online Judge/volume107/10734 Triangle Partitioning/program.cpp
38646405a8abb72f87191740c0525e00b6884400
[]
no_license
metaphysis/Code
8e3c3610484a8b5ca0bb116bc499a064dda55966
d144f4026872aae45b38562457464497728ae0d6
refs/heads/master
2023-07-26T12:44:21.932839
2023-07-12T13:39:41
2023-07-12T13:39:41
53,327,611
231
57
null
null
null
null
UTF-8
C++
false
false
2,181
cpp
// Triangle Partitioning // UVa ID: 10734 // Verdict: Accepted // Submission Date: 2018-12-02 // UVa Run Time: 0.000s // // 版权所有(C)2018,邱秋。metaphysis # yeah dot net #include <bits/stdc++.h> using namespace std; const double EPSILON = 1e-7; struct triangle { double a, b, c, A, B, C; triangle (double a = 0, d...
[ "metaphysis@yeah.net" ]
metaphysis@yeah.net
a2ec460485bc9fa0dea62f3f8dab7eed5d9a1ff6
2c6494171023427fded3555ca6d13af7ea921843
/General/GuessOutputInheritance.cpp
87a7d5abfe7de9a5ab14dd69550c1bb4081b4a7d
[]
no_license
monish001/CPP-Programs
7d835cb4ec59c03d7b402d7be91062d68a7001a5
406d1949a52d03bfec15beef4378729a2c284eee
refs/heads/master
2021-01-23T19:12:22.356388
2016-03-12T13:06:18
2016-03-12T13:06:18
1,692,308
1
0
null
null
null
null
UTF-8
C++
false
false
201
cpp
#include<iostream> #include<conio.h> using namespace std; class Base { public: int a; }; class Der: private Base{ public: void print(){ cout<<a; } }; int main(){ Der c; c.print(); return 0; }
[ "monish.gupta1@gmail.com" ]
monish.gupta1@gmail.com
804e814cf877f69669db0c5a35edc2ddd5d7b6c1
0fff690d5ba9d95f10bfb636ae018f3c14de4a14
/grad_descent.cpp
30aadeef701d9d54462d467a4d86e2de2dd05928
[ "MIT" ]
permissive
laurieKell/sraplus
8b3675406a5f499ae61ea872736a7560167e6684
63823efd3f67ff4485dba1139a44984b6429e574
refs/heads/master
2021-01-02T11:36:52.779660
2020-01-29T18:41:44
2020-01-29T18:41:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,961
cpp
#include <Rcpp.h> using namespace Rcpp; // This is a simple example of exporting a C++ function to R. You can // source this function into an R session using the Rcpp::sourceCpp // function (or via the Source button on the editor toolbar). Learn // more about Rcpp at: // // http://www.rcpp.org/ // http://adv-r.ha...
[ "noreply@github.com" ]
laurieKell.noreply@github.com
356818f13fb356e55b6ecf9d6485ea3991b437f5
261506f03bbcbf9d5481036a270cdc91bc6ebeff
/jazzjackrabbit/Jazz jack rabbit/Multi.cpp
05d7ebbae7de32df543752d483cf6e8e10d9341a
[]
no_license
guswhd2813/jazzjackrabbit2_smallcopy
068136e2d9d3e9820d79acf85b725b9b0aacb030
bd05dd8f6f7b277eb862106e033132f5eb833e39
refs/heads/master
2022-08-16T14:38:22.933766
2020-05-23T16:39:51
2020-05-23T16:39:51
266,376,576
0
0
null
null
null
null
UTF-8
C++
false
false
3,679
cpp
#include "StdAfx.h" #include "Multi.h" CMulti::CMulti(void) :bUp(0),bLR(0) { } CMulti::~CMulti(void) { Release(); } void CMulti::Initialize(void) { m_tInfo.fCX = 19.f; m_tInfo.fCY = 9.f; m_fBulletSpd = 3.f; } void CMulti::Render(HDC hdc) { if(bLR==1 && bUp==0) { TransparentBlt(hdc, int(m_tInfo.fX - ...
[ "guswhd2813@naver.com" ]
guswhd2813@naver.com
2838b304ed1d6b8024324012009f9996565a4eb4
81882006b4fe2b191fd68ed5cf511a1ba3218e37
/engine/Object.cpp
70204eaa0ca13e34c72a544e9252692c941f5229
[]
no_license
AdminBenni/SFML-car-party-game
d44e2309569949dac01c71266015f7309bc24167
0c42acbf978e90f0db9d32d73180cae24b40206a
refs/heads/master
2021-05-08T03:37:37.391277
2017-11-02T10:43:51
2017-11-02T10:43:51
108,274,147
0
0
null
null
null
null
UTF-8
C++
false
false
1,157
cpp
#include "Object.hpp" namespace bEngine { std::string Object::GetTag() { return _tag; } void Object::SetTag(std::string tag) { _tag = tag; } std::string Object::GetName() { return _name; } void Object::SetName(std::string name) { _name = nam...
[ "benediktaronsigurorsson@gmail.com" ]
benediktaronsigurorsson@gmail.com
7c9d311ec964e2a0a0a3a6cf8ee60615c0918c5f
70d1d6b75bd174b4b185669823e37abd693caf46
/特征向量获取.cpp
0f8cc2aedc65ee9d49570f8f06bb9c73e36e695f
[]
no_license
1002liu/Code
d79295b2030f24cde7e42fb23b87fa477ba2d08e
6462e81f02ff4f6afbbeed8e7b9e5bd32cd612d1
refs/heads/master
2020-06-22T18:46:15.366274
2016-11-23T14:01:38
2016-11-23T14:01:38
74,581,837
0
0
null
null
null
null
GB18030
C++
false
false
4,166
cpp
#include <stdio.h> #include <iostream> #include <string> #include <fstream> #include <string.h> #include <vector> #include <io.h> using namespace std; void getFiles( string path, vector<string>& files ) { //文件句柄 long hFile = 0; //文件信息 struct _finddata_t fileinfo; string p; ...
[ "noreply@github.com" ]
1002liu.noreply@github.com
f8b77b2e4d61018ef73e818115f3901b72e57d77
2133dd71f3bd896acdfe2236a8b95a2774379bda
/array/31. 下一个排列.cpp
93cf328d0fe15bce0251e8b23bc0f8069c6dc498
[]
no_license
SuperCodeFarmers/MyLeetCode
4df011817c19b6d3d4f7d0f16ee022d8d2041768
a7677da42340b85faee9e2d5d755db38089795b8
refs/heads/master
2023-08-24T22:20:25.832819
2021-09-30T07:12:32
2021-09-30T07:12:32
275,822,699
0
0
null
null
null
null
UTF-8
C++
false
false
1,968
cpp
/* 31. 下一个排列 实现获取 下一个排列 的函数,算法需要将给定数字序列重新排列成字典序中下一个更大的排列(即,组合出下一个更大的整数)。 如果不存在下一个更大的排列,则将数字重新排列成最小的排列(即升序排列)。 必须 原地 修改,只允许使用额外常数空间。 示例 1: 输入:nums = [1,2,3] 输出:[1,3,2] 示例 2: 输入:nums = [3,2,1] 输出:[1,2,3] 示例 3: 输入:nums = [1,1,5] 输出:[1,5,1] 示例 4: 输入:nums = [1] 输出:[1] 提示: 1 <= nums.length <= 100 0 <= nums[i] <= 1...
[ "1041893269@qq.com" ]
1041893269@qq.com
302de7adeaa0563aaf3eaaf4e6b3100a86424212
47fb20e1435c9f27aa335f32248f84d370132a46
/src/libs/protobuf_clips/communicator.h
b26fd67bd5b6409263813e458a2c13bf3e9326fa
[]
no_license
sanyaade-teachings/fawkes
f7fc08aa18147364a2106ed90b2a18501cfc65a0
bb80e90bc5192f2ff6c6c6b4f0f6be52ea5627cd
refs/heads/master
2020-12-14T17:12:30.790871
2013-07-13T09:54:11
2013-07-13T09:54:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,739
h
/*************************************************************************** * communicator.h - protobuf network communication for CLIPS * * Created: Tue Apr 16 13:41:13 2013 * Copyright 2013 Tim Niemueller [www.niemueller.de] ****************************************************************************/ /* ...
[ "niemueller@kbsg.rwth-aachen.de" ]
niemueller@kbsg.rwth-aachen.de
55db20c9772d0d6fdd6368d0c5595dc450fd3fa2
29619c1b1ee216fd40f6c13b1cb4612cc6ef79e5
/658_B.cpp
a6ccee39805a9ccfcff84b5e35871141cb343ee9
[]
no_license
sacsachin/programing
9527c4340522159423120d203152c37dcf9f8931
377b25c317e3972d63ead7a34397458702f8accf
refs/heads/master
2022-12-14T00:20:35.232816
2020-09-26T12:36:32
2020-09-26T12:36:32
298,810,542
0
0
null
null
null
null
UTF-8
C++
false
false
674
cpp
/* * https://codeforces.com/contest/1382/problem/B * Sequential Nim. */ # include<iostream> # include<vector> void solve(std::vector<int>& a) { bool first = true; for(int i = 0; i < a.size()-1; i++) { if(a[i] == 1) first = not first; else break; } if(first) std::cout<<"First"<...
[ "psachin@zeomega.com" ]
psachin@zeomega.com
6e11a1e5f86d6e9c0520731af7564b53bf83c3a1
961efcb19a847ae7c1493cae43f61a1788e96c8f
/Voyage/Universe.cpp
f71f13d66f997fd5ba509e8547a72433e0e539d2
[]
no_license
CPPoder/Voyage
b7b98799cd6b6ed041c311c176b67c857e7f64fa
847fc8cff72256676909ab9e6680e53fb1075a3b
refs/heads/master
2021-10-17T03:15:30.816083
2019-02-13T14:05:34
2019-02-13T14:05:34
62,450,367
0
0
null
null
null
null
UTF-8
C++
false
false
30,748
cpp
#include "stdafx.h" #include "Universe.hpp" //Constructor Universe::Universe(sf::View *globalView, sf::View *playerView, bool *showPlayerView, sf::Font *font, sf::Texture *playerTexture) : pGlobalView(globalView), pPlayerView(playerView), pShowPlayerView(showPlayerView), pFont(font), pPlayerTexture(playe...
[ "udo.beier@onlinehome.de" ]
udo.beier@onlinehome.de
d04826dfa515e0da2c8dae645bd5b7b6052c3230
4c7eafc4f4bccb2fc88d0abad18c6e68e15fd1c1
/include/x86/decoder.h
43004756c83f24e2a13c6949dc71e6fcfc564e18
[ "BSD-2-Clause" ]
permissive
00mjk/riscv-dbt
56c95d37b02c1cf882ea62a6668c01c6a33e011f
6220323b8d17cc2b873c97343a3f7a73ccec2d4b
refs/heads/master
2021-10-25T04:24:40.766190
2019-03-31T23:55:55
2019-03-31T23:55:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
556
h
#ifndef X86_DECODER_H #define X86_DECODER_H #include "x86/instruction.h" namespace x86 { class Decoder { uint64_t _pc; int _rex; int _opsize; public: Decoder(): _pc{0} {} Decoder(uint64_t pc): _pc{pc} {} uint64_t pc() const { return _pc; } void pc(uint64_t pc) { _pc = pc; } private: ...
[ "gary@garyguo.net" ]
gary@garyguo.net
a09b1341570e1ac20b1c3c578d4e6368a152f3a4
c51febc209233a9160f41913d895415704d2391f
/library/ATF/tagEXTLOGPEN.hpp
6fbbddc05100ffc37e7150e7b57f3b0fa02230f0
[ "MIT" ]
permissive
roussukke/Yorozuya
81f81e5e759ecae02c793e65d6c3acc504091bc3
d9a44592b0714da1aebf492b64fdcb3fa072afe5
refs/heads/master
2023-07-08T03:23:00.584855
2023-06-29T08:20:25
2023-06-29T08:20:25
463,330,454
0
0
MIT
2022-02-24T23:15:01
2022-02-24T23:15:00
null
UTF-8
C++
false
false
469
hpp
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE struct tagEXTLOGPEN { unsigned int elpPenStyle; unsigned int elpWidth; unsigned int elpBrushStyle; unsigned ...
[ "b1ll.cipher@yandex.ru" ]
b1ll.cipher@yandex.ru
c669bb2e742c6e6ba22f04b9c60127e59d2594f2
98646bc3ad5b0bb9a3f7e739fd53bfe4c2ece9fa
/GenericRPG/EventHandlers.h
c24c9375d316f690957bb019b0b076eba97910d1
[]
no_license
nCubedProjects/GenericRPG
885d7ab2c8f7785eae0e40413ef89e45f2219482
04f6083bf5376a704ce102cd02404a28d8a290e4
refs/heads/master
2023-01-30T08:53:46.896624
2020-12-14T22:25:54
2020-12-14T22:25:54
289,518,063
0
0
null
null
null
null
UTF-8
C++
false
false
312
h
#pragma once #include <SDL.h> class KeyEventHandler { public: virtual void HandleEvent(SDL_KeyboardEvent) = 0; }; class MouseButtonEventHandler { public: virtual void HandleEvent(SDL_MouseButtonEvent) = 0; }; class MouseMotionEventHandler { public: virtual void HandleEvent(SDL_MouseMotionEvent) = 0; };
[ "trentnov@gmail.com" ]
trentnov@gmail.com
0171cbc2e74f651f46ed0317cabe55ac5b84355c
12b13df864815aa51f54194eea3f2b562cf32ae4
/meterAnalysis.cpp
ff1551fa905b5ba32bda99941761c9a1e91f3561
[]
no_license
ArduinoStorm/synesthesia-scribe
70df515a52d9ccd8d29896f2281624a9483ddf32
8f6b9cce71093c763be2633b879709ee55039a6d
refs/heads/master
2020-05-05T03:22:25.649072
2019-04-05T20:18:48
2019-04-05T20:18:48
179,669,633
0
0
null
null
null
null
UTF-8
C++
false
false
3,245
cpp
/* * meterAnalysis.cpp * Tries to find the meter of a poem by locating rhyming words and checking how often the occur per line to estimate meter * By Jim Kemp, 2019, Licensed under the MIT License */ #include <iostream> #include <string> #include <vector> std::vector<std::string> words; // takes the word speci...
[ "noreply@github.com" ]
ArduinoStorm.noreply@github.com
3fb112d03f8b77e259e011521beca45b06ae475a
b2d0bc3d53d125cc3c996e5cca0e53fb2a4cc914
/.vscode/cquery_cached_index/c@@users@jjlok@onedrive@documents@github@newpros/src@opcontrol.cpp
d0b3e5052b5ffe3f0da7df9cb92c1e066dd0d207
[]
no_license
19jloken/NewPros
e33140b9a1eac923dc4d250e690e0a5be9b0931a
9ad31c53505db9787f454a269b7d8e79dc3a67e2
refs/heads/master
2020-04-17T09:58:58.944612
2019-03-12T21:03:25
2019-03-12T21:03:25
166,482,687
0
0
null
null
null
null
UTF-8
C++
false
false
7,196
cpp
#include "main.h" #include "headers/opcontrol.h" #include "headers/robotFunction.h" #include "headers/motorSlew.h" #include "headers/general.h" #include "headers/timers.h" #include "headers/pollSensors.h" #include "pros/rtos.h" using namespace pros; /** * Runs the operator control code. This function will be started ...
[ "19jloken@xaviercatholicschools.org" ]
19jloken@xaviercatholicschools.org
ec97e0cdccc6e2cb706e24e22c7730e0d4731b0d
b62c5636ca3955e9b2bb8631e7dc351e41d14912
/source/SafeStringAPIs.cpp
54798cb231e7f55402a507afd4e73550f525cb00
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
kranack/XMP-Toolkit-SDK
1a05aa5ebf10d2bec8f504784714a6f20b8cfdb2
0872e35a30457d2ecf746a1bebdb7d94636d0e2f
refs/heads/master
2022-02-24T03:30:23.767797
2020-01-29T05:03:16
2020-01-29T05:03:16
237,179,960
2
0
NOASSERTION
2020-04-06T02:54:13
2020-01-30T09:30:42
null
UTF-8
C++
false
false
14,199
cpp
/************************************************************************* * * ADOBE CONFIDENTIAL * ___________________ * * Copyright 2010 Adobe * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Adobe and its suppliers, * if any. The intellectual and technical con...
[ "gupta66priyanka@gmail.com" ]
gupta66priyanka@gmail.com
48f69fa07c2a9ff553eedae6b633f9ab4886871e
c22b3017098ba6e08dbb982d66bbc61c94a4752d
/include/linux-halib/driver/morpheus.h
dad2dc71db426889b5375c4d93d4f44f94838ee3
[ "BSD-2-Clause" ]
permissive
steup/Linux-HaLib
c77db74014231f780a08c5f1f6157562beb884df
33254a1c8d858c22552ec055f4ac99713945f76f
refs/heads/master
2019-01-19T13:03:32.419506
2012-08-03T14:16:50
2012-08-03T14:16:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,757
h
#pragma once #include <boost/thread.hpp> #include <boost/chrono.hpp> namespace linux_halib { namespace driver { struct Morpheus { struct DefaultConfig { typedef boost::chrono::milliseconds SleepTimeType; static const unsigned long long sleepTime = 100; ...
[ "christoph.steup@st.ovgu.de" ]
christoph.steup@st.ovgu.de
adb0dd1aa2553ba946d8c541df3636720738a133
6ffd23679939f59f0a09c9507a126ba056b239d7
/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s2_broadcast_channel_bias.cpp
472de26a6e7a0aeac64aa0b6fb557b99e3cff154
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
MegEngine/MegEngine
74c1c9b6022c858962caf7f27e6f65220739999f
66b79160d35b2710c00befede0c3fd729109e474
refs/heads/master
2023-08-23T20:01:32.476848
2023-08-01T07:12:01
2023-08-11T06:04:12
248,175,118
5,697
585
Apache-2.0
2023-07-19T05:11:07
2020-03-18T08:21:58
C++
UTF-8
C++
false
false
165
cpp
#include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BROADCAST_CHANNEL_BIAS(3, 2); // vim: syntax=cpp.doxygen
[ "megengine@megvii.com" ]
megengine@megvii.com
a567f1a8c41b20bc628601c493e963f308d5edeb
ec46261fa550b92a021318c4e3cca6f23b26a8c0
/DirectX11_Starter/ConstantBuffer.cpp
ee729582f273429a076cf77b3ddbd324f15324da
[]
no_license
alycat/SpaceSaucer
330b0999bf97a835cca0bfbd3f8024f99a2f2196
b6f681199af547506c33bbcb9d69d25c741e4d70
refs/heads/master
2021-01-10T14:28:32.207971
2015-12-05T06:44:08
2015-12-05T06:44:08
47,444,650
0
0
null
null
null
null
UTF-8
C++
false
false
1,191
cpp
#include "ConstantBuffer.h" #include "Global.h" ConstantBuffer::ConstantBuffer(ConstantBufferLayout c_buffer_data, ID3D11Device* dev) { c_byteWidth = sizeof(ConstantBufferLayout); setUpConstantBuffer(dev); } ConstantBuffer::ConstantBuffer(LightBufferType c_buffer_data, ID3D11Device* dev) { c_byteWidth = sizeof(Lig...
[ "alyssalabraham@gmail.com" ]
alyssalabraham@gmail.com
567cafc653f0525c9b30b03616df1d52effafa13
eb1517897d7e9e372538b0982223b7ecaaff46b0
/chrome/browser/offline_pages/android/prefetch_background_task_android.cc
950ae6906c1244137077bdc2e06535676ef963f1
[ "BSD-3-Clause" ]
permissive
jiachengii/chromium
c93e9cfa8fb79d6a0b5e66848dc204e87236252c
ead0d3601849269629ff31de4daed20fce453ba7
refs/heads/master
2022-11-16T02:35:53.671352
2020-06-13T06:43:44
2020-06-13T06:43:44
271,964,385
0
0
BSD-3-Clause
2020-06-13T07:47:21
2020-06-13T07:47:21
null
UTF-8
C++
false
false
3,098
cc
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/offline_pages/android/prefetch_background_task_android.h" #include <memory> #include "base/check.h" #include "base/time/time.h" ...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
0587e1a822d7df3816f86f50e3a97672dfcc0b3c
b50fa69407f6d6c74abfc6cfd7a0c74e109b5d21
/win9x/dialog/d_clnd.cpp
5180a6b293f7d14e2e46af51a76e78c27e692d28
[]
no_license
joshuashaffer/np21w-linux
925cdb2add81fc2577d1ea80f493f5ea41fff9e2
c27a2d990dbe0420cdc0070d9e3a06f8325a5701
refs/heads/master
2023-03-23T04:36:01.009882
2021-03-09T23:30:19
2021-03-09T23:30:19
344,650,961
1
0
null
null
null
null
UTF-8
C++
false
false
4,369
cpp
/** * @file d_clnd.cpp * @brief カレンダ設定ダイアログ */ #include "compiler.h" #include "resource.h" #include "dialog.h" #include "np2.h" #include "sysmng.h" #include "timemng.h" #include "misc/DlgProc.h" #include "calendar.h" #include "pccore.h" #include "common/strres.h" /** * @brief カレンダ設定ダイアログ * @param[in] hwndParent ...
[ "joshua.shaffer@icmrl.net" ]
joshua.shaffer@icmrl.net
2f9ab80c60102de96568ffd72037000edb7e46a3
f84be0d4ad35fa61627591344ebd0a18d24189dc
/Cpp/shared_ptr_cast/main.cpp
53d28750426d4828d2eb5e875ca7a6ed85ef3441
[]
no_license
rhexo/app-lib
8602fd17aee208e4713572d2238a7b826bf6dc38
51f0deaf41b467d18028f18982e312f32f207574
refs/heads/master
2020-05-20T08:37:41.149116
2017-01-21T19:24:19
2017-01-21T19:24:19
44,518,075
0
0
null
null
null
null
UTF-8
C++
false
false
327
cpp
#include <memory> #include <iostream> using namespace std; int main (){ shared_ptr<void> sp(new int{10}); // undefined bihavior for next expression // shared_ptr<int> sp1 = shared_ptr<int>(static_cast<int*>(sp.get())) shared_ptr<int> sp1 = static_pointer_cast<int>(sp); cout << "Cast value: " << *sp1 << en...
[ "mmusolov@gmail.com" ]
mmusolov@gmail.com
731904f8aa6f6329364e266bf5944d496900b92e
baedc346094836f6a8266d15ffcd8cbb0cf6abb5
/Framework-EGC-master_MacOS/lab-framework/src/engine/World.cpp
1501542215d8820ab138cf096ab70840cf9c05d5
[]
no_license
SergiuBabin/Laboratoare-EGC
0fe460b3b3796f107e2c6925419d47563e28233c
34a3a2c4ada97bc2bea41f580439e4c65231db9e
refs/heads/main
2023-02-19T20:02:49.504528
2021-01-26T16:59:32
2021-01-26T16:59:32
306,819,196
0
1
null
null
null
null
UTF-8
C++
false
false
1,358
cpp
#include "World.h" #include <Engine.h> #include <component/CameraInput.h> #include <defines/Component/Transform.h> World::World() { previousTime = 0; elapsedTime = 0; deltaTime = 0; paused = false; shouldClose = false; window = Engine::GetWindow(); } void World::Run() { if (!window) return; while (!windo...
[ "48562108+SergiuBabin@users.noreply.github.com" ]
48562108+SergiuBabin@users.noreply.github.com
1fec367340e393be704afee60eafc675a786c90d
5456502f97627278cbd6e16d002d50f1de3da7bb
/ui/views/window/custom_frame_view_unittest.cc
837f23d03c8fcb8ccb6d6114483a6941c2214b0b
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/Chromium_7C66
72d108a413909eb3bd36c73a6c2f98de1573b6e5
c8649ab2a0f5a747369ed50351209a42f59672ee
refs/heads/master
2023-03-16T12:51:40.231959
2017-12-20T10:38:26
2017-12-20T10:38:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,512
cc
// Copyright 2014 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 "ui/views/window/custom_frame_view.h" #include <vector> #include "base/macros.h" #include "build/build_config.h" #include "ui/views/c...
[ "lixiaodonglove7@aliyun.com" ]
lixiaodonglove7@aliyun.com
e598bdc4a4cb885ae198c4b9201c8d06b32f85f1
fa362c05c4b2a7082668cc1d350e9539dfb1d911
/src/robot.cpp
c15f7e57fabd45d98112b1f8579b20c74471b82f
[ "MIT" ]
permissive
RGoulartns/horus_patrol
e7e8eb883e5998750a596ff20f9300ef9f499bcf
5c7a5857ea19ad6357ad0d59afd990b3009a9614
refs/heads/master
2023-02-26T18:16:38.589811
2021-02-02T12:37:10
2021-02-02T12:37:10
120,078,957
0
0
null
null
null
null
UTF-8
C++
false
false
81
cpp
#include <include/horus_patrol/robot.hpp> Robot::Robot() { } Robot::~Robot(){}
[ "rgoulartns@gmail.com" ]
rgoulartns@gmail.com
942bde201e97270103b05c0881e5e3dd50bf1477
4ba69a1a4d90f476afd70f71367d85ceef72a6ff
/graf.h
c6e74d9ecc08b001eecc981032f58f402405a31e
[]
no_license
mihaiburlaciuc/IMDb-Database-Simulation
d7cd40695ed406a8dde177a58c2c80d0910fab9b
38c4d8063cb4a9d1001d9bf960fc23846802aeb0
refs/heads/master
2021-07-08T05:48:15.503532
2017-10-05T19:58:06
2017-10-05T19:58:06
105,933,680
0
0
null
null
null
null
UTF-8
C++
false
false
6,589
h
#include <iostream> #include <vector> #include <queue> #include <algorithm> #include <map> class ActorPairs { int actor1_id_graf; string actor1_id; int actor2_id_graf; string actor2_id; int movies_number; public: explicit ActorPairs(int actor1_id_graf, int actor2_id_graf, int movies_number, ...
[ "eco.nano10@gmail.com" ]
eco.nano10@gmail.com
ae37343641472470e3a8ce8d8ced38bd5cb9d418
3624e9f0a026b57ebdafa4e842b93f56e5a8504d
/Hackerrank/Codesprints 2016/Codesprint Aug/Problem F/F.cc
afde87103a2696532100c0036f764a6bb3764066
[ "MIT" ]
permissive
ailyanlu1/Competitive-Programming-2
54109c8644d3ac02715dc4570916b212412c25c0
6c990656178fb0cd33354cbe5508164207012f24
refs/heads/master
2020-03-23T07:48:20.560283
2018-02-15T06:49:49
2018-02-15T06:49:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,816
cc
#include <bits/stdc++.h> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define se second #define pb push_back #define mp make_pair #define foreach(it, v) for(auto it=(v).begin(); it != (v).end(); ++it) #define meta __FUNCTION__,__LINE__ ...
[ "adityapaliwal95@gmail.com" ]
adityapaliwal95@gmail.com
7e21dbdc4b8cbd83c690e8f1becad825af7a58f6
090b6ff87a20b1a2885fea8193bccd71fbfdbc8c
/rpcwallet.cpp
0f802646375bcb0491bad59a172c41d7499d4b53
[ "MIT" ]
permissive
LifeShareChain/LifeShare-Chain
683d51f985185a7aa0cb5a5530466452d0fe0ced
e18ea077153e3eae6c73a31f29a1143a4c9fbbcd
refs/heads/master
2020-03-12T12:39:41.562119
2018-05-08T06:19:01
2018-05-08T06:19:01
130,623,343
1
0
null
null
null
null
UTF-8
C++
false
false
62,252
cpp
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "wallet.h" #include "walletdb.h" #include "bitcoinrpc.h" #include "init.h" #in...
[ "noreply@github.com" ]
LifeShareChain.noreply@github.com
381374afb4a77b5f80c963fc479fa70e28c5897d
9f81d77e028503dcbb6d7d4c0c302391b8fdd50c
/google/cloud/datamigration/v1/internal/data_migration_stub_factory.cc
d3bb6b8f6321b2f975b3bcfd95ef2c7555f554a9
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
googleapis/google-cloud-cpp
b96a6ee50c972371daa8b8067ddd803de95f54ba
178d6581b499242c52f9150817d91e6c95b773a5
refs/heads/main
2023-08-31T09:30:11.624568
2023-08-31T03:29:11
2023-08-31T03:29:11
111,860,063
450
351
Apache-2.0
2023-09-14T21:52:02
2017-11-24T00:19:31
C++
UTF-8
C++
false
false
3,229
cc
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
[ "noreply@github.com" ]
googleapis.noreply@github.com
494b75cd4887a2650851a8e3eb481de8bd48b2bd
b596c85d94c6680917a3833b349eabbd89bf17a3
/gpu6DSLAM/src/gpu6DSLAM.cpp
6343f06e4250b9fc56d8c30bf7a94293809e0db9
[]
no_license
nickcharron/mandala-mapping
306655b76d706b5182ca79a61ac4805754a3c6b6
dd838ab0bdc81b9e0bfa666cb4f56c5763cb1d7c
refs/heads/master
2020-12-02T21:03:16.526004
2017-08-17T16:03:27
2017-08-17T16:03:27
96,249,643
9
8
null
2017-07-04T20:02:48
2017-07-04T20:02:48
null
UTF-8
C++
false
false
17,786
cpp
#include "gpu6DSLAM.h" void gpu6DSLAM::registerSingleScan(pcl::PointCloud<lidar_pointcloud::PointXYZIRNLRGB> pc, Eigen::Affine3f mtf, std::string iso_time_str) { static Eigen::Affine3f last_mtf = mtf; Eigen::Affine3f odometryIncrement = last_mtf.inverse() * mtf; //last_mRegistration = last_mRegistration * odometr...
[ "michalpelka@gmail.com" ]
michalpelka@gmail.com
ae210428a40174848808e1c31411cfcbc02dc59d
9b84fab4ae3770f29a2ae4eca7757a9bd5f0f3e4
/audio_engine/msgf_osc_pipe.h
57cfc6ee72efa71fe2f73c0d6b1864ec599ab05b
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
PeakPei/Musical_Sound_Generator_Framework
551ba128812fd01498bd66283f8d13d781a945d3
cf4b321ba41272c3bcd0dce67df87754329178fd
refs/heads/master
2020-03-31T21:12:09.267440
2016-10-31T13:07:06
2016-10-31T13:07:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,480
h
// // msgf_osc_pipe.h // ToneGenerator // // Created by 長谷部 雅彦 on 2013/12/01. // Copyright (c) 2013年 長谷部 雅彦. All rights reserved. // #ifndef __ToneGenerator__msgf_osc_pipe__ #define __ToneGenerator__msgf_osc_pipe__ #include <iostream> #include <math.h> #include "msgf_type.h" #include "msgf_signal_process_core.h" ...
[ "JCA03205@nifty.com" ]
JCA03205@nifty.com
4852c5560c73c14288b466305de539cceb2471f9
14a061561cf7fd34f30ede3c48cf36a7681ce8ff
/src/icp/icp_debug.cpp
4db84b80d08a72baf811f5a7e23775a4ce29d75c
[]
no_license
tangyf96/plicp_wrapper
29576c3250798818f692003e4340524cc7224907
9bc1ce18a6c38396523152e670343cedce6fcdf3
refs/heads/master
2020-12-03T21:59:30.895928
2020-01-08T09:03:57
2020-01-08T09:03:57
231,499,669
3
2
null
null
null
null
UTF-8
C++
false
false
1,134
cpp
#include <string.h> #include "icp/icp.h" #include <vector> void debug_correspondences(struct sm_params * params) { LDP laser_sens = params->laser_sens; /** Do the test */ find_correspondences_tricks(params); //struct correspondence c1[laser_sens->nrays]; std::vector<correspondence> c1; c1.reserve(laser_sens->nra...
[ "tangyifan@360.cn" ]
tangyifan@360.cn
9c244cbb65076aaff6b8d7b62a778a0d5a6c574e
0aa895f25d462defe8e9956c8850b758e1302cac
/Test2/Alarmed.cpp
9ac3906e8ab9a42ad06bb20c1251f6e7eacce3c4
[]
no_license
nranjan2014/mytc
25b0828efba0078c03823107397ad5cec34166b8
3574f625810fe001950ef05a06831d0902ee63df
refs/heads/master
2021-01-10T19:55:23.536268
2014-07-19T02:09:51
2014-07-19T02:09:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
199
cpp
// BEGIN CUT HERE // END CUT HERE #line 5 "Alarmed.cpp" #include <string> #include <vector> class Alarmed { public: double noise(vector <int> x, vector <int> y, vector <int> threshold) { } };
[ "niloo.ranjan2005@gmail.com" ]
niloo.ranjan2005@gmail.com
41b07c6943e409405a2daac7a4281195456e9a9d
9a5f39245c62cfcf3c49fec275534e48185a0dca
/cpp/hw3/solution1/edge.cpp
61fa5f1ef27f961829bd0399b2547a3c5b2d32be
[]
no_license
nickleefly/experiment
812a2eb40c6de08d0a54a42ed43dcdf4053daa89
9804dced31f622f71a08d5db9952125e9787ed18
refs/heads/master
2023-07-26T18:33:57.455656
2023-07-13T09:53:23
2023-07-13T09:53:23
11,269,106
0
0
null
2023-06-02T05:28:36
2013-07-09T00:40:33
C
UTF-8
C++
false
false
249
cpp
#include "Edge.h" using namespace std; Edge::Edge(int from, int to, int w) : source(from), dest(to), weight(w) {} Edge::~Edge() {} ostream& operator<<(ostream &os, const Edge &e) { os << e.source << "--->" << e.dest << endl; return os; }
[ "nickleefly@gmail.com" ]
nickleefly@gmail.com
690968517aa17ea58324615e5c98f85fc8b7538c
d56ce97233fec38c9708a2c93c394a541a3500bd
/BZOJ/2748.cpp
80fdd210779b0c492f1734ef36bd5fd9b7252a9e
[]
no_license
linkfqy/OJ_code_backup
af3fcab26e4c862ed36a71200c915facf93e8d59
4cc89b7a4fa4674b806f714acbcdea0028f33ee1
refs/heads/master
2020-03-22T12:50:06.262831
2018-10-25T00:06:52
2018-10-25T00:06:52
140,065,331
0
0
null
null
null
null
UTF-8
C++
false
false
395
cpp
#include<cstdio> const int maxn=55,maxs=1005; int n,begin,m; bool f[maxn][maxs]; int main(){ scanf("%d%d%d",&n,&begin,&m); f[0][begin]=1; for (int i=1;i<=n;i++){ int x; scanf("%d",&x); for (int j=0;j<=m;j++){ if (j-x>=0) f[i][j]|=f[i-1][j-x]; if (j+x<=m) f[i][j]|=f[i-1][j+x]; } } int ans=-1; for (int...
[ "linkfqy@gmail.com" ]
linkfqy@gmail.com
b84dbc4ff3fc9d7f18486407986a0558d9fcc0ba
a75d0418b2143d6f59635a8833bff49bc903df5e
/DofusMessages/ExchangeWeightMessage.cpp
6f6a3236252c098c40502c298f38aeec633e8a5f
[]
no_license
Arkwell9112/dofus_bot
30b80850ba41b6a2b562705ec8aa1a6c87cfb8f8
fc1b805b70c0ed43cbc585322806ece89d057585
refs/heads/master
2023-01-16T01:08:06.710649
2020-11-23T20:53:00
2020-11-23T20:53:00
314,084,045
0
0
null
null
null
null
UTF-8
C++
false
false
534
cpp
#include "ExchangeWeightMessage.h" #include "../BotCoreAPI/BotCoreAPI.h" void ExchangeWeightMessage::deserialize(CustomDataInput *input) { this->_currentWeightFunc(input); this->_maxWeightFunc(input); } void ExchangeWeightMessage::_currentWeightFunc(CustomDataInput *input) { this->currentWeight = input->r...
[ "arkwell9112@github.com" ]
arkwell9112@github.com
23115806b9bb42783b63e527a34309c891f6a739
c25744db7fffeccac1748c619ffac22b1c4e9337
/software/include/random.h
d40969fc81a47e981b15147bf017c87340f8354c
[]
no_license
scottedwardpratt/moments_bw
adac3f8f70583c5a2f79fe610de9777c5689c27b
d35d5f17989a3dbf86644de9ab3c0820c3d7327b
refs/heads/master
2023-04-23T20:16:36.532048
2020-09-22T17:13:07
2020-09-22T17:13:07
365,559,371
0
0
null
null
null
null
UTF-8
C++
false
false
884
h
#ifndef __INCLUDE_CRANDOM_H__ #define __INCLUDE_CRANDOM_H__ #include <cmath> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_sf.h> typedef double FourVector[4]; using namespace std; class CRandom{ public: //! returns from zero to 1 double ran(void); //! returns integer from zero to ima...
[ "steinhor@msu.edu" ]
steinhor@msu.edu
5027ebae478f5957ba2c09b1e12bd6607ed45a15
48f71cc36854c8e3f3ea57aba2a38646a8d63004
/shirabeengine/shirabeengine/code/include/ecws/componentbase.h
aff5f0af0924c3ad5e71717e0f3ca5944c29052b
[ "MIT" ]
permissive
Fraaanzi/ShirabeEngine
10b6a5bb736432e3fd22b8d32324fd2b6b0396b2
39b3aa2c5173084d59b96b7f60c15207bff0ad04
refs/heads/master
2020-12-07T23:45:58.001712
2019-12-30T21:32:24
2019-12-30T21:32:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,024
h
#ifndef __SHIRABE_COMPONENT_BASE_H__ #define __SHIRABE_COMPONENT_BASE_H__ #include "ecws/icomponent.h" namespace engine::ecws { class CEntity; class CComponentBase : public IComponent { friend class CEntity; public_constructors: SHIRABE_INLINE CComponentBase(std::string const &aName) ...
[ "boehm.marc.anton@gmail.com" ]
boehm.marc.anton@gmail.com
a3500dfe3e8ba40c6bb63ce1ba3cb69e94b51db0
e815232be140847ecb5bf088d89a656b593ac1da
/UVA/UVA 1121.cpp
bba2b77da52c0eb4d1483230f5c81716dbcfbf27
[]
no_license
nada3ssam/CompetitiveProgramming
fc176c98574d68f0f0ef51be7cc8cc7f355dce05
718e78b3745884c617b7488d18d92ff1148f962f
refs/heads/master
2021-01-24T10:08:03.411975
2018-04-09T15:26:30
2018-04-09T15:26:30
123,040,303
0
0
null
null
null
null
UTF-8
C++
false
false
827
cpp
#include <iostream> #include<cmath> #include<algorithm> #define _CRT_SECURE_NO_WARNINGS #define PI 3.14159265 #define all(v) ((v).begin()), ((v).end()) #define sz(v) ((int)((v).size())) typedef long long ll; typedef long double ld; const double EPS = (1e-7); const ll OO = 1e8; using namespace std; void Fast() { std::...
[ "nada3ssam1@gmail.com" ]
nada3ssam1@gmail.com
6d07cdd40f6403ad4977c70cfbc5c5cafbed0516
8dc84558f0058d90dfc4955e905dab1b22d12c08
/extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc
d6e61def2807e5afb96a992b30f52a3a3d8b6bac
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
C++
false
false
2,145
cc
// Copyright 2014 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 "extensions/shell/browser/api/runtime/shell_runtime_api_delegate.h" #include "build/build_config.h" #include "extensions/common/api/runtime.h" #...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee