blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
247
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
4
111
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
58
visit_date
timestamp[ns]date
2015-07-25 18:16:41
2023-09-06 10:45:08
revision_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
committer_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
github_id
int64
3.89k
689M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
25 values
gha_event_created_at
timestamp[ns]date
2012-06-07 00:51:45
2023-09-14 21:58:52
⌀
gha_created_at
timestamp[ns]date
2008-03-27 23:40:48
2023-08-24 19:49:39
⌀
gha_language
stringclasses
159 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
7
10.5M
extension
stringclasses
111 values
filename
stringlengths
1
195
text
stringlengths
7
10.5M
72fc458dd90ab94a34c5d0f9cf780c94162bb44f
74ed8e1d695f01c8563f46b5acf5e14526bb3dc0
/src/Rtsp/RtspToRtmpMediaSource.h
2f2e0df55becbb8c8a187df100579f0ab743fbfa
[ "MIT" ]
permissive
berli/ZLMediaKit
0b540c813d6364f7550c58eb91f5f8be8837a503
b2e650f9f631bedbdb304a027a791e1674d97977
refs/heads/master
2021-01-20T09:00:18.219651
2017-05-02T16:16:53
2017-05-02T16:16:53
90,210,241
2
0
null
2017-05-04T01:52:38
2017-05-04T01:52:38
null
UTF-8
C++
false
false
2,731
h
RtspToRtmpMediaSource.h
/* * RtspToRtmpMediaSource.h * * Created on: 2016年9月7日 * Author: xzl */ #ifndef SRC_RTSP_RTSPTORTMPMEDIASOURCE_H_ #define SRC_RTSP_RTSPTORTMPMEDIASOURCE_H_ #include "RtpParser.h" #include "RtspMediaSource.h" #include "Rtmp/amf.h" #include "Rtmp/RtmpMediaSource.h" #include "MediaFile/MediaRecorder.h" using...
6a150aae2862f9e1a4b5b79f9478007dc13fe1bb
99aaf505f9fae90731aba60fca223abaee228f68
/faq/leetcode/oj/interleaving_string.cpp
a3d0c735ae797dd0a35b85c0c11c1e3e51aafc5a
[]
no_license
pamd/foo
13c3c354141b456f79274787aeb3e71c1f26e56b
52ce658f3adac4aa618706d1256ead26e90ab6fe
refs/heads/master
2016-09-05T14:35:22.727306
2015-12-27T22:42:58
2015-12-27T22:42:58
31,291,416
2
1
null
null
null
null
UTF-8
C++
false
false
5,803
cpp
interleaving_string.cpp
/* OJ question: * Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. * For example, * Given: * s1 = "aabcc", * s2 = "dbbca", * * When s3 = "aadbbcbcac", return true. * When s3 = "aadbbbaccc", return false. */ #include <string> #include <iostream> #include <vector> #include <map> #i...
ea2c6d2be72b661fdc7fe4d452fc56bf70bc6ddd
31f5cddb9885fc03b5c05fba5f9727b2f775cf47
/engine/modules/pcg/connect/pcg_connect.cpp
24a89a073a14e7d20a2039f97acc330d9ae1395d
[ "MIT" ]
permissive
timi-liuliang/echo
2935a34b80b598eeb2c2039d686a15d42907d6f7
d6e40d83c86431a819c6ef4ebb0f930c1b4d0f24
refs/heads/master
2023-08-17T05:35:08.104918
2023-08-11T18:10:35
2023-08-11T18:10:35
124,620,874
822
102
MIT
2021-06-11T14:29:03
2018-03-10T04:07:35
C++
UTF-8
C++
false
false
230
cpp
pcg_connect.cpp
#include "pcg_connect.h" #include "engine/core/render/base/mesh/mesh.h" namespace Echo { PCGConnect::PCGConnect(PCGConnectPoint* from, PCGConnectPoint* to) : m_from(from) , m_to(to) { } PCGConnect::~PCGConnect() { } }
6ba473baba61783fd197969b22ef0c0b08a6c34f
c885982a50743ce23b052f9ca0fb62df975ac8d8
/apps-src/apps/studio/unit.cpp
22b60152cc611f420cf8511275b6b87e3de4dc7b
[]
no_license
9cat/Rose
29db5bda442e7442aad5a34e68154a04c537e15d
d685ad558731ff381525f185d50bce87f786f65f
refs/heads/master
2020-12-25T03:50:56.880607
2016-06-26T14:15:50
2016-06-27T08:56:02
62,073,637
1
0
null
2016-06-27T17:10:36
2016-06-27T17:10:36
null
UTF-8
C++
false
false
52,725
cpp
unit.cpp
/* $Id: mkwin_display.cpp 47082 2010-10-18 00:44:43Z shadowmaster $ */ /* Copyright (C) 2008 - 2010 by Tomasz Sniatowski <kailoran@gmail.com> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ This program is free software; you can redistribute it and/or modify it under the terms of the GNU Gen...
cdfe3dce8377490bca3cd3a4e1e86a44c689fd32
90fa5094c22180495a20153b04043e2909fb2f64
/prog/prj/src/Prostopadloscian.cpp
605ef8fc6656839b8fa0d696a3f367762a7a8036
[ "MIT" ]
permissive
MarutTomasz/ZadaniePodwodnyDron
d4619777b118265e71fce7ee5f05f4bfb88e5fe4
669ac1d10be228cd2d2e1517e5b56f9742abd421
refs/heads/master
2022-10-03T21:01:34.136778
2020-06-03T10:52:07
2020-06-03T10:52:07
259,953,550
0
0
null
null
null
null
UTF-8
C++
false
false
2,767
cpp
Prostopadloscian.cpp
#include "Prostopadloscian.hh" /*! * \file * \brief Definicja metod klasy Prostopadloscian * * Plik zawiera definicje metod działających * na obiektach klasy Prostopadloscian. */ Prostopadloscian::Prostopadloscian() {} Prostopadloscian::Prostopadloscian(double A_bok,double B_bok,double C_bok) { if(A_bok < 0...
bee2042ff9d419b53a21f365f09ecfa09de192d0
7c32ea633ba20aa5c06df86dc0c84db7668f11bf
/main.cc
59134c1abfc02e6c7c78f4d0ee5e4ec1e0c69407
[]
no_license
afendin/SyncBuf
1b3b067bd0cd670f4a50bac390b28d9ee1b6c60d
88ad31b031a7c18e58b74b9ecc99969dd4332577
refs/heads/main
2023-01-04T19:23:12.901419
2020-10-22T15:26:07
2020-10-22T15:26:07
306,380,036
0
0
null
null
null
null
UTF-8
C++
false
false
704
cc
main.cc
#include <stdlib.h> #include <stdio.h> #include "SyncBuf.h" #include "3rdparty/thread.h" using namespace std; #define NTHREADS 300 SyncBuf syncBuf; void putData(int); void getData(int); int main() { thread_t workers[NTHREADS]; for (int i = 0; i < NTHREADS; ++i) { if (i % 2) { thread_cr...
2210bcf05c867805301ac96ea59441f2acc608a5
e91b4fb36dc9ff07f947c6d04054480142ec9aea
/1253.cpp
73fa506029337dcb8b43b63b3e66fc22b4a4adbc
[]
no_license
willspader/urionlinejudge
4367b08b1026815a9290b1503fb701f0d9ba7d43
03ae497f20f8fe95fce3c77a68b64a98ab82bd15
refs/heads/master
2021-05-26T05:20:40.099663
2020-08-12T00:14:35
2020-08-12T00:14:35
127,577,116
0
0
null
null
null
null
UTF-8
C++
false
false
353
cpp
1253.cpp
#include <iostream> using namespace std; int main() { int t, jump, i; cin >> t; string str; while (t--) { cin >> str; cin >> jump; for (i = 0; i < str.size(); i++) { str[i] = ((((str[i] - 65) - jump) % 26 + 26) % 26) + 65; // % operator isn't the modulo operator but the division remainder } cout <...
c93846c0ecb4da0218b5745fa96ff8a77c35af02
832b36171533dff90f079b02dbe0a013d6d816fd
/src/LoopPipeliner.h
a1543b8e0f8873f0f54535b8cb798d7dc268255c
[]
no_license
shvo/feature-extractor
479e77761ba879bfbdaec81027ce9863174b0128
b5f3cdbd8e3802a7082215b9fc8b9da9ac26e67d
refs/heads/master
2021-01-01T05:05:34.950776
2016-04-19T12:36:24
2016-04-19T12:36:24
56,488,094
0
0
null
null
null
null
UTF-8
C++
false
false
833
h
LoopPipeliner.h
#ifndef LOOP_PIPELINER_H #define LOOP_PIPELINER_H #include <iostream> #include <stdlib.h> #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Metadata.h" #include "llvm/IR/Module.h" #include "llvm/IR/Function.h" #include "llvm/IRReader/IRReader.h" #include "llvm/Pass.h" #include "llvm/Support/raw_ostream.h" #include "l...
2f5a709c2a6222ff4f80cb3f9493a26888148e4b
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/media/audio/fake_audio_manager.h
6d2274c74e22b628ed23dd665b19590583142997
[ "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,946
h
fake_audio_manager.h
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_AUDIO_FAKE_AUDIO_MANAGER_H_ #define MEDIA_AUDIO_FAKE_AUDIO_MANAGER_H_ #include <string> #include "base/compiler_specific.h" #include "media/audio/audio_manager_b...
5a602f862ec62312ed83ddb276fb9c4847cb52aa
d25a9bfb7ded4d28dc6afd54983f1df16e24815f
/mainwindow.h
a4915cb0eedf4513d86ac8b21737df118878701f
[]
no_license
borovkovaDasha/action-labeling-road-defects
1d9052310b38e2bac117f586e69d21eac1587c3c
75a78e5972746a68595b1316adafd3075536c674
refs/heads/master
2016-09-13T13:30:36.199685
2016-04-30T13:16:38
2016-04-30T13:16:38
57,441,584
0
0
null
null
null
null
UTF-8
C++
false
false
1,002
h
mainwindow.h
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include "qcustomplot.h" namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); ~MainWindow(); private slots: void on_Stop_clicked(); void on_Start_cli...
5a2f8866bf5ddb53c330eedaed250753698980ff
a808495bbcf01e3e4edccb3b86ef20408939aca5
/codes/c++_codes/matrix_rotation.cpp
4aff7c0b161adaa11498256e7b68111dcc05111b
[]
no_license
Ankit152/my_codes
c2f9b1e86bb42c5e38a18f8f95864c7a368aa953
9b9ba1e228185585ea966c1e6d1cb0243ba60b61
refs/heads/master
2022-12-25T07:15:21.465417
2020-10-05T18:21:02
2020-10-05T18:21:02
183,450,860
1
1
null
null
null
null
UTF-8
C++
false
false
810
cpp
matrix_rotation.cpp
#include<bits/stdc++.h> using namespace std; void rotate(vector<vector<int>> &v,int r,int n){ r=r%(4*n); if(r==0){ return; } int i,j,k,t1,t2; for(k=1;k<=r;k++){ t1=v[0][n-1]; for(i=n-1;i>=1;i--){ v[0][i]=v[0][i-1]; } t2=v[n-1][n-1]; for(i=n-1;i>=1;i--){ v[i][n-1]=v[i-1][n-1]; } v[1][n-1]=t1; ...
5223ba6944ae87d2bfa287ab647708f1d1f19f53
7f6986400d7ce6e5922043e5aec9d81113304d60
/gkit2light-master_CharAnim/src/master_CharAnim/Spring.cpp
af3b2b52d6fcfa97d4c5da9df7be195914b24679
[]
no_license
HuynhCongLap/AnimationPerso
d60ed44cbda6e7702af1597d6fafc7e863a339f4
e8f8879bf2cd9124080a4f56ec04cf09ac901d42
refs/heads/master
2020-04-08T13:40:30.450988
2018-11-27T21:49:40
2018-11-27T21:49:40
159,401,620
0
0
null
null
null
null
UTF-8
C++
false
false
580
cpp
Spring.cpp
#include <Spring.h> #include <PhysicalWorld.h> Spring::Spring(float l, float k, int id1, int id2){ m_l = l; m_k = k; m_id1 = id1; m_id2 = id2; } int Spring::getIndex1(){ return m_id1; } int Spring::getIndex2(){ return m_id2; } void Spring::computeParticleForceSpring(Particl...
cfff9fae7cc2e59bd9b279d972e670772ec55033
d9b7dc81a40caf82f15dc0888754a53612d3b54d
/src/Simd/SimdMotion.hpp
5dc8f253fd6016eb9296366658c22e696e41aa6c
[ "MIT", "LicenseRef-scancode-free-unknown" ]
permissive
ermig1979/Simd
d3894bcbc030d0ad6d81a06417849e368eb55ac4
22fda6f37bff717cde122cf8325d35eba9a9ff6f
refs/heads/master
2023-08-17T19:12:29.321417
2023-08-16T13:32:20
2023-08-16T13:32:20
32,873,163
1,929
441
MIT
2023-02-06T09:46:44
2015-03-25T15:24:55
C++
UTF-8
C++
false
false
71,960
hpp
SimdMotion.hpp
/* * Simd Library (http://ermig1979.github.io/Simd). * * Copyright (c) 2011-2023 Yermalayeu Ihar. * * 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 witho...
ef0cac783b442c1b9e97bc317942f4d2fc72c004
512a5763a9f442378aa18567eb4571b954a0d35b
/src/priorityQueue.h
2cd38d95b918851e67a22ce0112912bccd62a732
[]
no_license
FilippoGuggino/pecsn_project
32ccc4772223aeb57b8f54cc01034f77b764d141
992bd492c74a7a1e0be9d5c8c2f52cd25416b1f3
refs/heads/master
2022-04-17T23:04:21.637250
2020-04-19T14:43:32
2020-04-19T14:43:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
681
h
priorityQueue.h
/** * Head-of-Line priority queuing without preemption * * There are two queues: one for VIP and one for normal customers. * The next customer to be served is the next VIP if any, otherwise * the next normal. */ #ifndef PRIORITYQUEUE_H_ #define PRIORITYQUEUE_H_ #include <omnetpp.h> #include <queue> #include "ge...
a53f4230a344801dd4c26d56ea2fc7f87cd382a8
92d2914b98626e9b84ca945eea7e9bcea4930285
/0Books/iPhone 3D Programming/iPhone3D/CameraTexture/Classes/RenderingEngine.ES1.cpp
fe9f2977aa813a8ce3834e077145315a6e85cba1
[]
no_license
slsd123/TomNsEAN
95c33ecbc7dbb5b407fc332a94f99feccfe62816
ae55868a0eaa8085bc559af07b0ebbd4ceb94b8f
refs/heads/master
2021-01-25T06:40:08.618774
2012-10-19T00:43:42
2012-10-19T00:43:42
6,287,727
0
1
null
2012-11-02T00:20:34
2012-10-19T00:40:34
C
UTF-8
C++
false
false
7,702
cpp
RenderingEngine.ES1.cpp
#include <OpenGLES/ES1/gl.h> #include <OpenGLES/ES1/glext.h> #include "Interfaces.hpp" #include "Matrix.hpp" #include "ParametricSurface.hpp" #include <iostream> using namespace std; struct Drawable { GLuint VertexBuffer; GLuint IndexBuffer; int IndexCount; }; class RenderingEngine : public IRenderingEng...
10fe70d3f724caa8cb9256167981a46a18f333d5
3d16bcf91c546dfc638bf9e48d7690e8aed37ee2
/src/Cpl/Itc/_0test/_hw_mvc/WriteSync.cpp
94a36ae1815469f2275f9e0f01aaf38524caf381
[]
no_license
johnttaylor/colony.core
7c3aa43abdd564689e1540795b8044228b97271c
e00902d33c9224a34e9f68edb02c18eb9571b09f
refs/heads/master
2023-07-24T08:34:04.956247
2023-06-20T00:02:55
2023-06-20T00:02:55
31,176,673
2
2
null
2023-06-17T21:56:08
2015-02-22T19:38:07
C
UTF-8
C++
false
false
1,003
cpp
WriteSync.cpp
/*----------------------------------------------------------------------------- * This file is part of the Colony.Core Project. The Colony.Core Project is an * open source project with a BSD type of licensing agreement. See the license * agreement (license.txt) in the top/ directory or on the Internet at * http://int...
a45c606cea3c6f433f3338c73440192f1429a904
d8da6a2f8be73240b81370ffac737bd643c8a1e3
/src2/sourcesafe/titan_r1/IncludeFiles/EMCommand.cpp
7355c7a8cc22d9244aa4a4fe0928826e068dc204
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
EmbeddedSystemClass/TitanMedia
d0f28f6f67858bff96bbf3da559d314d2da9f91a
135984a67ea3bb58b237b5d5342d1f51936bb9ab
refs/heads/master
2021-03-08T08:37:32.561381
2017-04-21T00:56:52
2017-04-21T00:56:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,616
cpp
EMCommand.cpp
#include "EMCommand.h" EMCommand::EMCommand() { } EMCommand::~EMCommand() { } // Commands that has undo data stored in their objects should // delete it when this method is called. This is to avoid the // undo data to be stored both in the undo stack and in the // list of commands in the command reposit...
ead192b06b761a3a6b2cb033a96aa7d71d3f09b1
57bde7b334784dd49b92f8f0f62985fb8e590ab9
/277.cpp
437475023e89f9c0f386bd7175d76f6b81627d10
[]
no_license
ppzzyy11/LeetcodeTravel
b74886641cfdf164a851a9b9ceb51ddb3bd8db22
25a1116829fc4c792b527729d00dec2c9b34fe81
refs/heads/master
2023-05-07T05:17:49.740268
2021-06-05T03:43:41
2021-06-05T03:43:41
358,775,913
0
0
null
null
null
null
UTF-8
C++
false
false
1,238
cpp
277.cpp
/* * 277.cpp * Copyright (C) 2021-04-17 pzy <pzy@pzy-B250M-Wind> * * Distributed under terms of the MIT license. * * Description: * * To implement: * * How: * */ #include <vector> #include <set> #include <map> #include <stack> #include <queue> #include <algorithm> #include <iostream> #include <st...
0e76b6711bbe4a205d23a3de8c8adabeab442038
909d12f4fe31a84005a7824d0c97e497404daa74
/C++/CCC/CCC Senior/ccc11s2.cpp
1ace219af9d777d434cfa34c8db178dee4d6ad62
[]
no_license
kevinjycui/Competitive-Programming
68efa1f68378a6cc80f3c5f072f755a61ab1c78d
f203cf59d4719f553bfe97c1b356d0335b95222d
refs/heads/master
2023-03-07T19:53:00.263001
2023-02-27T22:36:37
2023-02-27T22:36:37
205,760,571
9
1
null
null
null
null
UTF-8
C++
false
false
269
cpp
ccc11s2.cpp
#include <iostream> using namespace std; int main() { int n; cin >> n; string a[n]; for (int i=0; i<n; i++) { cin >> a[i]; } int count = 0; for (int i=0; i<n; i++) { string ans; cin >> ans; if (a[i]==ans){ count++; } } cout << count; return 0; }
8ca3491fc38137005cd33285708dd6b0182430b6
f00e82e62d21b96ec8fc9938159eb5e57c98c301
/v2.5/include/Newton/ai/dgAIAgent.h
d849728eebe6f69c380450080c2e98b358e1407e
[]
no_license
andyreimann/gear
b1aca01ccd5fb9ecda8cd63190b8d9c87e142a72
d58ce2ea4e284b9f6e5c82c88742f2cfdbfb89d9
refs/heads/master
2020-05-18T06:46:03.385546
2015-02-02T23:04:06
2015-02-02T23:04:06
17,493,522
5
0
null
null
null
null
UTF-8
C++
false
false
5,196
h
dgAIAgent.h
/* Copyright (c) <2003-2011> <Julio Jerez, Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpo...
7c4d35b49060099e128c8c5dec3486b3898ea674
20620c1deb3f7501001d66fdef5207491f8be30a
/Graph/Bipartite.cpp
f32254789486a44dd74e8645dd81e7b6cc6a189f
[]
no_license
indsonu/DataStructures
626032827bc027a8f178aa5e4686667d315efc14
2bf10ad942d590518b020fe1128cf41074d20169
refs/heads/master
2020-09-01T08:09:53.213287
2020-03-24T20:42:23
2020-03-24T20:42:23
218,916,642
0
0
null
null
null
null
UTF-8
C++
false
false
1,197
cpp
Bipartite.cpp
/* Created By: Sonu Sharma 25/3/20 - 2:03AM */ // This problem can also be done using BFS and backtrackinng m coloring algorithm // Or if the graph contains and any odd cycle then it is not a bipartite graph // This will work for all types of graph #include<bits/stdc++.h> using namespace std; const int MAX=1e5+1; ...
d2fa9b9d4f7947d83fb264b2a632dc3d30d3fe8f
ce034e3865b06680338d8980e0b9d141ae8d7fdc
/CNbtQuery.cpp
998d057487162809f647bc60845c507b934d547b
[]
no_license
heavyair/testjni
422b6de78c6f4c3de469d78ec3e0c3d0bf107d9c
646668ed709e58fa90711f7659fd072cfde79b34
refs/heads/master
2021-01-21T05:02:20.575257
2016-06-10T05:09:51
2016-06-10T05:09:51
38,285,944
0
0
null
null
null
null
UTF-8
C++
false
false
9,483
cpp
CNbtQuery.cpp
/* * CNbtQuery.cpp * * Created on: Jan 21, 2015 * Author: root */ #include "CNbtQuery.h" #include "CAddressHelper.h" static unsigned short bind_portno = 0; int verbose = 0; int no_inverse_lookup = FALSE; int show_mac_address = FALSE; static short dest_portno = 137; CNbtQuery::CNbtQuery() { // TODO Aut...
79a5ede8d982909bbcb497362a82d152a715d0ff
b56bac95f5af902a8fdcb6e612ee2f43f895ae3a
/Wireless OverSim-INETMANET/inetmanet-2.0/src/underTest/_4gsim/applications/s1ap/S1APConnection.cc
2106e069ec569bf251c974203b7978e9554bce25
[]
no_license
shabirali-mnnit/WirelessOversim-INETMANET
380ea45fecaf56906ce2226b7638e97d6d1f00b0
1c6522495caa26d705bfe810f495c07f8b581a85
refs/heads/master
2021-07-30T10:55:25.490486
2021-07-20T08:14:35
2021-07-20T08:14:35
74,204,332
2
0
null
2016-11-22T05:47:22
2016-11-19T11:27:26
C++
UTF-8
C++
false
false
26,795
cc
S1APConnection.cc
// // This program 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 version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it wil...
499d729351d80c0f3fe6822cb5758697d95f3ab4
ec883fcbb21723edc9614cf0e1a3dd986470b08b
/Queen.h
810d3388137b5d8abdd0336c921bb082848a5c13
[ "MIT" ]
permissive
henry9836/Hill-climb-and-Annealing-Algorithms
4f4d1bc429541b4bbab988234a6b318cb274d59d
7e51e7c4d0183e8203591afd5f6f020055597f7f
refs/heads/master
2020-05-16T09:01:50.531742
2019-04-21T02:33:41
2019-04-21T02:33:41
182,933,612
0
0
MIT
2019-04-23T04:37:09
2019-04-23T04:37:07
null
UTF-8
C++
false
false
231
h
Queen.h
#pragma once #include <vector> using namespace std; class Queen { public: int numOfQueensPlaced; bool isAttacked; bool isPlaced; vector<int> queens; void setCol(); void setRow(); private: };
f851333dce724e51fa0c84dbe16ddae03243e03c
7d19bd1b18359573bd2d5e39a730738df821a4d1
/cmake/tests/cxx17_fold_expressions.cpp
95860f7e6ba5db517354c69739f1b8abec85534c
[ "BSL-1.0", "LicenseRef-scancode-free-unknown" ]
permissive
sarthakag/hpx
4f45d3b8e2fc88d7d2f0bf0abb7d231cd18360e6
a895dda5272634c5a8c9e35a45405699075a119e
refs/heads/master
2022-04-11T23:38:21.432194
2020-03-25T19:11:37
2020-03-25T19:11:37
250,194,241
1
0
BSL-1.0
2020-03-26T07:52:49
2020-03-26T07:52:48
null
UTF-8
C++
false
false
603
cpp
cxx17_fold_expressions.cpp
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2017 Anton Bikineev // // SPDX-License-Identifier: BSL-1.0 // 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) //////...
cb2d3c18d7cca84c9f364a7553e73d3cc4ec5b9f
d46442578997b5073058fbabe55a2b384bb326cb
/src/btcorr.cpp
a6724387bac397e2e0286848bcf7c519ddb1647d
[]
no_license
adam2eden/primex2
e4b43e50567061615a8c9cd295c4eaf4c7c88909
254cb2bd97f5c5b7cd84926caabc32b468273f0b
refs/heads/master
2021-01-18T23:03:05.976628
2016-06-29T22:45:31
2016-06-29T22:45:31
37,822,937
0
0
null
null
null
null
UTF-8
C++
false
false
5,853
cpp
btcorr.cpp
#include "primex.h" #include "alt_model_fit.h" using namespace std; int main(int argc, char* argv[]) { UImanager uimanager(argc, argv, "btcorr"); uimanager.set_btc(0); TFile inroot(TString("./fitroot/rotatedmass" + uimanager.input_filename("data") + ".root")); if (!inroot.IsOpen()) exit(open_err...
e1014684f260517e28f2e5f803635186c070d298
9ca1e87ac44925130517765079157c2bf1ff4f5e
/ANDROID_SOURCE_CODE/external/clang/test/Parser/cxx0x-in-cxx98.cpp
e5f104168a82a85ea9f56ef8d5dc9db8f7b1bbdd
[ "NCSA", "Apache-2.0" ]
permissive
zhxzhxustc/AFrame
ba4ac10726200a9c3d4749f9e85bf045a3c911ca
e79bcf659660746b937fda182189cf928f84657a
refs/heads/master
2021-01-17T08:48:09.294888
2016-07-13T00:55:20
2016-07-13T00:55:20
63,128,807
3
1
null
2020-03-09T17:18:11
2016-07-12T05:23:26
null
UTF-8
C++
false
false
907
cpp
cxx0x-in-cxx98.cpp
// RUN: %clang_cc1 -std=c++98 -fsyntax-only -verify %s inline namespace N { // expected-warning{{inline namespaces are a C++11 feature}} struct X { template<typename ...Args> // expected-warning{{variadic templates are a C++11 extension}} void f(Args &&...) &; // expected-warning{{rvalue references are a C++11 ext...
65b5b59666ca786aeb9b03f15795a402d2d8ba8f
216f5252a8df73f8547d6a6c831409c916bae3e5
/windows_embedded_compact_2013_2015M09/WINCE800/private/servers/soap2/sources/src/wsdl/ensoappt.cpp
5df2f895dc38875235ef4c22dce82dfb97a421c7
[]
no_license
fanzcsoft/windows_embedded_compact_2013_2015M09
845fe834d84d3f0021047bc73d6cf9a75fabb74d
d04b71c517428ed2c73e94caf21a1582b34b18e3
refs/heads/master
2022-12-19T02:52:16.222712
2020-09-28T20:13:09
2020-09-28T20:13:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,014
cpp
ensoappt.cpp
// // Copyright (c) Microsoft Corporation. All rights reserved. // // // Use of this source code is subject to the terms of the Microsoft shared // source or premium shared source license agreement under which you licensed // this source code. If you did not accept the terms of the license agreement, // you are...
eac5b5d3f2117dd3b62a354bbd563468a943375e
5c875d001802b11c75233993da30cb5d45f2984a
/session/modbus_session.h
64d0886b115ceee3b2c8594ff1f1abef4ab125ca
[]
no_license
WalkerWaqi/car
eb55284b3b2e375665289464382e6cb6a3648b38
3d53db84e8ff0f0738ccba5d41dfd8f59b4b7c3d
refs/heads/master
2021-01-16T19:27:58.022788
2020-01-14T12:56:02
2020-01-14T12:56:02
100,173,983
1
0
null
null
null
null
UTF-8
C++
false
false
877
h
modbus_session.h
// // Created by waqi on 12/8/16. // #ifndef CAR_SCREEN_SESSION_H #define CAR_SCREEN_SESSION_H #include "session.h" namespace agv { class modbus_session : public session { public: using session::session; virtual ~modbus_session() { LOG_SESSION_INFO("begin"); LOG_SESS...
e3bb55cf67466ef472fba44e5280bec5d62daacc
4352b5c9e6719d762e6a80e7a7799630d819bca3
/tutorials/eulerVortex.twitch/eulerVortex.cyclic.twitch.test.test/3.76/U
cafdd3cd74537c4d9a23d85737767b9d9c4fd9d3
[]
no_license
dashqua/epicProject
d6214b57c545110d08ad053e68bc095f1d4dc725
54afca50a61c20c541ef43e3d96408ef72f0bcbc
refs/heads/master
2022-02-28T17:20:20.291864
2019-10-28T13:33:16
2019-10-28T13:33:16
184,294,390
1
0
null
null
null
null
UTF-8
C++
false
false
459,744
U
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*-------...
0993ad87eddd8fcc57b1fa5ddcfca428033e129e
ba611ef3b7cb64123c8577e79b35626db4f85bf7
/Delete-Last-Occurrence-Of-An-Item-From-Linked-List.cpp
6cea37ff781c43f74022f84ee2fb6446f151f148
[]
no_license
javed2214/Linked-List
604409949a12f18a65de6648bac42313e01ecd22
ae03df142af0b50535a225197ea9fb3df960c9aa
refs/heads/master
2021-07-24T18:39:38.959780
2020-05-05T22:37:41
2020-05-05T22:37:41
165,418,242
0
0
null
null
null
null
UTF-8
C++
false
false
1,150
cpp
Delete-Last-Occurrence-Of-An-Item-From-Linked-List.cpp
// Delete Last Occurrence of an Element from Linked List // https://www.geeksforgeeks.org/delete-last-occurrence-of-an-item-from-linked-list/ #include<bits/stdc++.h> using namespace std; typedef struct node{ int data; struct node *next; }node; node *createList(int *a, int n){ node *head = NULL, ...
abccfc813e5b58e4d66f62656c755ab9de1d052c
473a705a37955279dab2d2276baab3477cb137d4
/puzleeDos/puzleeDos/listaPuzzles.cpp
6e5b0280c69212b59efa3777015b8cc0a75c6346
[]
no_license
Charlisteeron/puzleeDos
28c5b22b67fd6f752431939cb00ca6854423a17d
ee48fae72c7e9ea51ef8db5b2acfdd5cea52592d
refs/heads/main
2023-04-30T12:28:47.476808
2021-05-23T10:07:41
2021-05-23T10:07:41
360,440,300
0
0
null
null
null
null
UTF-8
C++
false
false
4,411
cpp
listaPuzzles.cpp
// Authors: Carlos Barona y Diego Flores #include "listaPuzzles.h" bool buscar(const tListaPuzzles& lista, tPunteroPuzzle puzzle, int& pos); void inicializar(tPuzzlesReunidos& jr) { // Iniciamos las direcciones en NULL for (int i = 0; i < MAX_PUZZLES; i++) { jr[0].puzzles[i] = NULL; jr[1].puzzles[i] = NULL; }...
e5c2db556673f268defe54d70320b90a3c1c8ccf
a06515f4697a3dbcbae4e3c05de2f8632f8d5f46
/corpus/taken_from_cppcheck_tests/stolen_13718.cpp
41daf82f07463fc9cc42b37170fdb09af25015c1
[]
no_license
pauldreik/fuzzcppcheck
12d9c11bcc182cc1f1bb4893e0925dc05fcaf711
794ba352af45971ff1f76d665b52adeb42dcab5f
refs/heads/master
2020-05-01T01:55:04.280076
2019-03-22T21:05:28
2019-03-22T21:05:28
177,206,313
0
0
null
null
null
null
UTF-8
C++
false
false
31
cpp
stolen_13718.cpp
int main(){int a[]={b<c?1:2,3}}
a72c5a41990b54ac93ed88f586879052678163d6
e77429b51c158be5978ac3207b6fcbeba77b5a41
/KeyFinder/ParsingResult.cpp
a19c74b5d918c9e346ff3827df7d0e184d1acb86
[]
no_license
xKafka/EsetDevCon
f9cf2b475b4c0bfbeb6b482e120c997bffe11187
ccb491f310cced0c8cb6009158912d8f65a300ef
refs/heads/master
2022-11-19T18:14:05.679899
2020-07-21T16:34:28
2020-07-21T16:34:28
278,142,793
0
0
null
null
null
null
UTF-8
C++
false
false
1,264
cpp
ParsingResult.cpp
// // Created by xkafka on 6/24/20. // #include "ParsingResult.h" #include <algorithm> std::ostream &ParsingResult::printWithWhiteChars(std::ostream &out, const std::string &src) { for(const char &c : src) { switch(c) { case '\n': out << "\\n"; break; ca...
1bab9a067530f62f1b8fe37ea6ea9c97fb14737e
cc92caf8abb34d22061361fe3456acfcb09bf912
/Estruturas de Dados/2018 - 2/Trabalhos/M1/Trabalho M1 - Lista e Recursividade/Trabalho M1/Questão 3/Lista.cpp
0f966673009f41f65fdf68527310e4b1a2fad971
[]
no_license
TheSennin/Arquivos_Facul
b2a4fbbd6c37908e2bc8ae6d2dde18f676adad56
f53f3055433ae0e679146134021d24484863e664
refs/heads/master
2021-06-05T14:14:39.772698
2019-09-13T19:50:18
2019-09-13T19:50:18
95,835,767
0
0
null
null
null
null
ISO-8859-1
C++
false
false
3,948
cpp
Lista.cpp
#include "Lista.h" #include "NodoDuplo.cpp" #include <stdio.h> #include <iostream> using namespace std; template <typename T> Lista<T>::Lista(){ this->numeroElementos = 0; this->inicio = NULL; this->fim = NULL; } template <typename T> Lista<T>::~Lista(){ NodoDuplo<T> *nodo; whi...
83f34b1ac20d2987e05d3a47bd2e8d57750dd662
e0465f49d789f533b7a583e960ae6871049f800b
/LOGICA/game.cpp
98f24f6faddf1c745dc24d30ce05c95202cb3678
[ "Apache-2.0" ]
permissive
tati2327/Scrabble_Proyecto1
3f5b3e6004e7063a2ddb3bf84722eab24f504dd4
75e10a7e572c4961437a8cf79be47bc65d5dd2e1
refs/heads/master
2020-04-28T02:14:11.678036
2019-04-08T13:38:14
2019-04-08T13:38:14
174,891,106
0
0
null
null
null
null
UTF-8
C++
false
false
749
cpp
game.cpp
#include <iostream> #include "cstdlib" #include "keyboard.h" #include "player.h" #include "game.h" using namespace std; Game::Game(int players, int turn) { letterlist = letterlist.moveletters(letters); /*! Llena la bolsa de fichas*/ Board K1; board = K1.getBoard(); /*!Llama a la matr...
14ac5645011469b05e3919cbf58db6ab3c7069e2
991def1975c9485af8a0b7169c3a975f00e0c5a0
/src/backend/cuda/Kernel.cpp
d72672a1fc99d6951e9b0001aa8e3d45a3a07bdc
[ "BSD-3-Clause", "MIT", "Zlib", "BSL-1.0", "Apache-2.0" ]
permissive
arrayfire/arrayfire
4dff912bb57e36f512c80ef2a7c1ff6e5e7be6e5
b59a1ae535da369db86451e5b28a7bc0eaf3e84a
refs/heads/master
2023-09-01T13:35:27.105084
2023-08-28T23:49:55
2023-08-29T00:09:03
25,889,802
3,694
607
BSD-3-Clause
2023-08-30T18:54:09
2014-10-28T20:58:33
C++
UTF-8
C++
false
false
1,374
cpp
Kernel.cpp
/******************************************************* * Copyright (c) 2020, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
3136135cbfb16e5732d8ece42e9dd2c9f4df23b6
7d86aeddb866af06412faa9160846ea0f86a2581
/others/fileInput.cpp
843f88846c472867d153b6300784662807bc261b
[]
no_license
BlondeNamazu/proconTemplate
26e32b5caed593caf8b194fc196e04043b75b970
59b702d1b2f01c398839105127ed4e372e09751e
refs/heads/master
2020-05-17T22:24:46.292832
2019-06-10T14:11:00
2019-06-10T14:11:00
184,000,989
0
0
null
null
null
null
UTF-8
C++
false
false
1,131
cpp
fileInput.cpp
/*{{{*/ #include<bits/stdc++.h> using namespace std; #define ll long long #define vi vector<int> #define vl vector<ll> #define vb vector<bool> #define pii pair<int,int> #define pll pair<ll,ll> // pll pp; -> (pp.first,pp.second) // vector<vl> pp(n,vl(2)); sort(pp.begin(),pp.end(),[](vl a,vl b){return a[0]<b[0];}); #de...
08b4fbfa601bbedfc7b38a705caa9553e7a0148e
342bd17f486af19046cc407c87c88128d1e1dac6
/sgemew/src/util/RegHelper.h
277302d99f6cd88a0cd7723b734327a1837d9988
[ "Apache-2.0" ]
permissive
LadySerenaKitty/sgemew
3a1804b55917e635236242b7218bde17256c884d
8bd1c1493121c7d21221874262d62c23ff9a31d5
refs/heads/master
2020-04-28T12:43:56.411655
2019-03-12T21:01:28
2019-03-12T21:01:28
175,285,126
0
0
null
null
null
null
UTF-8
C++
false
false
1,076
h
RegHelper.h
/** @internal * Copyright 2019 StarPhoenix Media * * 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 applicab...
aa2c449c191ccb31a4438a6ac74601c8215948c2
51fdd27bfe20e60dd726b04850a881be110002e3
/luogu/4013/4013.cpp
ea29188cd9f7beac50d6fc843f52927d36782933
[]
no_license
MintSummer/TYC
0eb4d04851a6ecc8e2d83475a6f16c6d1c6d8f9b
23700d4d857d0729b2db3b1ef9afc21b040aecbd
refs/heads/master
2020-04-11T16:13:18.035139
2019-03-10T15:18:53
2019-03-10T15:18:53
161,916,623
0
0
null
null
null
null
UTF-8
C++
false
false
2,349
cpp
4013.cpp
#include<cstdio> #include<cstdlib> #include<cstring> #include<iostream> #include<algorithm> #include<queue> using namespace std; namespace TYC { const int N=1210,inf=0x3f3f3f3f; int n,m,cnt,s,t,tot,a[N],Head[N],dis[N],vis[N],pre[N]; struct edge { int from,to,next,w,c; }E[N*N*2]; void insert...
848a0d4eefd61d2174a6d266c69f87d38715101a
39719ced2451b97c266568e2d9364bfe90ab3498
/Include/NxOgreRenderer/CritterBodyDescription.h
c725e31146869b9b5020058535b46626078997ae
[ "MIT" ]
permissive
shanefarris/CoreGameEngine
74ae026cdc443242fa80fe9802f5739c1064fb66
5bef275d1cd4e84aa059f2f4f9e97bfa2414d000
refs/heads/master
2020-05-07T12:19:23.055995
2019-04-11T14:10:16
2019-04-11T14:10:16
180,496,793
3
2
null
null
null
null
UTF-8
C++
false
false
1,261
h
CritterBodyDescription.h
#ifdef _DEBUG #ifndef CRITTER_BODYDESCRIPTION_H #define CRITTER_BODYDESCRIPTION_H #include "CritterStable.h" #include "CritterCommon.h" namespace...
49520cd5551988426b03d7d1a7cf54ab10b9cc42
2f3cd162c309d437f641bff389a6e59e9476df6d
/src/net/tcp/tcp_socket.cc
4664c6f12f70dd98e3990dea54750cc8a5f0f51e
[]
no_license
shyblue/eznetpp
58810c1f6b165e6ec60701008664f846bfab56e4
2bc177a3809cc2bd3f05cfb82546bc96b7fe9bea
refs/heads/master
2021-01-20T22:02:59.263179
2015-09-16T08:36:59
2015-09-16T08:36:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,765
cc
tcp_socket.cc
// Copyright [2015] <kangic21@gmail.com> #include "tcp_socket.h" #include "event/event.h" #include "event/event_dispatcher.h" #include <cstring> namespace eznetpp { namespace net { namespace tcp { tcp_socket::tcp_socket(void) { _sock_domain = socket_domain::inet_v4; _sock_type = socket_type::tcp; // TODO : ...
ff95d024d2aa160c398c3ddfb2d528ed6185f6e1
da7e8450a11834eeb891c543fb22c7eebedf8a78
/submit/Virtual_Contest/茶精進/24.cpp
4d87a8064b5ac5562a42550c933fa7a359b0cde1
[]
no_license
uno1142/AtCoder
ecc8334cf7f52de8726f225eedc181d1b7a30bba
da278d45696355c582451202413ad2f18a19e55b
refs/heads/master
2023-04-06T16:57:29.682871
2021-04-07T12:06:54
2021-04-07T12:06:54
264,152,506
0
0
null
null
null
null
UTF-8
C++
false
false
873
cpp
24.cpp
#include<bits/stdc++.h> #define rep(i, s, n) for (int i = (s); i < (int)(n); i++) #define INF ((1LL<<62)-(1LL<<31)) /*オーバーフローしない程度に大きい数*/ #define MOD 1000000007 using namespace std; using ll = long long; using Graph = vector<vector<int>>; using pint = pair<int,int>; const double PI = 3.14159265358979323846; ...
ee61ff71dbfd20986b2981bcf0e6aa85c915ef0a
ad17f2cc588e1a3f5cac6b3180161d6b99c9db06
/计科191-14119210-李曈轩-第07次实验/07-4.cpp
78cae602569f4bb2c0a10381906b6fa8d2793023
[]
no_license
ltx6/helloworld
f5826307ccc3e6599a1a45a0c2944ac328cd5c7b
c5fe65e3a17c03a1b2af756e5c7f8d5afbee65b5
refs/heads/master
2023-07-28T21:04:42.824725
2021-09-26T12:09:02
2021-09-26T12:09:02
410,541,175
1
0
null
null
null
null
GB18030
C++
false
false
1,505
cpp
07-4.cpp
#include <iostream> #include <string> using namespace std; class Course; class Score; class Student{ private: string sno,sname,gender,grade; public: //Student(); Student(string t1,string t2,string t3,string t4):sno(t1),sname(t2),gender(t3),grade(t4){} void Show_Course(Course& c); void Show_Score(Score& s); ...
b6da89c33b79ab4a7918bc7be51e58bdd264bcae
5238f55e31239f07c3883f747edf72f16d4c707e
/Tarjan_SCC ok.cpp
d1a0afe6b04defdef9635019b2fd931025fdf5dd
[]
no_license
abestard/Code
a68fa0eb6fc29d9dc7a067b816b5f02cdfd64658
cad4d48ce7df59c441204c81ced57629157c183a
refs/heads/master
2020-05-30T17:43:15.558073
2016-11-18T15:20:11
2016-11-18T15:20:11
68,381,272
0
0
null
2016-10-19T17:11:21
2016-09-16T13:18:29
Java
UTF-8
C++
false
false
443
cpp
Tarjan_SCC ok.cpp
//Tarjan SCC void Tarjan_SCC( int nod ){ Td[nod] = low[nod] = ++ k; P.push( nod ); for( auto newn : V[nod] ){ if( Td[newn] ){ if( !mark[newn] ) low[nod] = min( low[nod], Td[newn] ); continue; } Tarjan_SCC( newn ); low[nod] = min( low[nod], low[newn] ); } if( low[nod] == Td[nod] ){ ...
2ca299ee3f53e764d08f0fad6404842913d3731c
c996b07da9ede469d61504630e7fdc8ca029c0d3
/main (1).cpp
433384568983a31e37b3b2890975f062537d7d93
[]
no_license
mohamed555hassan/mostafa
b8cb624f67b6cb83f41dbbf8ba340ad54e515ad3
5abad3227c4e7ac60559bc50dfcf9c0dd94c5586
refs/heads/master
2020-03-07T06:48:24.082086
2018-03-29T18:35:57
2018-03-29T18:35:57
127,332,131
0
0
null
null
null
null
UTF-8
C++
false
false
6,110
cpp
main (1).cpp
#include <iostream> using namespace std; int main() { while(true){ cout << " ahlan ya user ya habibi." << endl; int result; cout <<" what do you like to do today ?" <<endl << "1- cipher" << endl << "2- decipher"<< endl; cin >> result; if (result == 1){ ...
b4570639b146529a35c5dbd37b8f3c8eb150f513
d956e1eac80a0b739e650eac4eaded3d06027b26
/ZDMTBX.cpp
105062802288d3a246864a6329daf2f7e89704ee
[]
no_license
Justliangzhu/gitskills
b42457126a945986bad62b84bc9cb21382efb10d
957e796bcf5cffa1c6171a1acb1393d38930711f
refs/heads/master
2023-05-30T22:57:30.523134
2021-06-22T02:12:50
2021-06-22T02:12:50
377,092,494
0
0
null
null
null
null
GB18030
C++
false
false
5,639
cpp
ZDMTBX.cpp
// ZDMTBX.cpp : implementation file // #include "stdafx.h" #include "ZDMTBX.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif extern LOGFONT font; extern COLORREF txtbkclr; extern COLORREF fixbkclr; /////////////////////////////////////////////////////////////////////...
e99623d66d4386f52b93efcf840b5e3609abc842
4cc66ab76e11e0a76b6e2cc3a1f5f3109a25d77e
/eg1.cpp
a4ceb385c28e149f9ef1caf80f8986870eed7cf7
[]
no_license
yumn6400/ThreadManager
da4451650fd1e475a5b1578f1c5caf7173a9b16d
abb099c4da80e8e1ffd8b1fa2d89fae1be21cd2f
refs/heads/main
2023-05-30T01:19:49.643494
2021-06-11T03:54:36
2021-06-11T03:54:36
375,886,815
0
0
null
null
null
null
UTF-8
C++
false
false
191
cpp
eg1.cpp
#include<iostream> #include<array> using namespace std; void something(array<int,6> a) { cout<<"********"<<endl; } int main() { array<int,6> a({10,20,30,40,50,60}); something(a); return 0; }
177d8658d0098485dae18fe2ec5ed5c32825146b
0e98b34801d429bca8020e2a7b73944350ac6f0e
/C+.0317/C+.0317/统计每月兔子数量.cpp
9e4135733a4eb48ad62a6dba10030a00e3b2e1c5
[]
no_license
STong01/-2
a3759734210e3dec7ff97c1e8e7b2c694ca376ee
546d2e6b02c789e146b07e72e8e738fdaebcf827
refs/heads/master
2021-02-03T21:22:14.152907
2020-07-21T06:56:52
2020-07-21T06:56:52
243,542,337
0
0
null
null
null
null
GB18030
C++
false
false
616
cpp
统计每月兔子数量.cpp
#include <iostream> using namespace std; //统计每月兔子数量 int main1() { int month; while (cin >> month) { int first = 1; int second = 1; int sum; //当不满足三月的时候,只有一只兔子 if (month == 1 || month == 2) { cout << 1 << endl; continue; } //当满足三个月之后,每到下一个月,前一个月的兔子存货,前两个月的兔子已经存在生育能力,所以可以再生育一批 for (int i = 3...
ecf985dc33ed5f83af30adec5a6fa2588e4d96af
fd87fbf08aaa8006a5655c19a20051901f5a032b
/LeetCode/剑指 Offer 48. 最长不含重复字符的子字符串.cpp
043a7e361b3bec6ec26b7f7e241fc992851a4ebe
[]
no_license
Smartuil/LeetCode
c43ad3a32e7ab55e97f9e30183c9dd760ada4015
c4f31ab91d7073aa2eda8bce58e92e974d5eded8
refs/heads/master
2023-06-22T18:54:05.552298
2023-06-14T03:10:51
2023-06-14T03:10:51
243,493,761
0
0
null
null
null
null
GB18030
C++
false
false
2,531
cpp
剑指 Offer 48. 最长不含重复字符的子字符串.cpp
#include "iostream" #include "vector" #include <map> #include <set> #include <algorithm> #include <string> #include <unordered_set> #include <unordered_map> using namespace std; //class Solution { //public: // int lengthOfLongestSubstring(string s) { // int len = 0; // int tmp = 0; // string current_s; // for (int...
2e955ae951119cf73fc1a43482c30689b47d4aa2
47b46d722bc0a46acfe122b469b2cd5e459040aa
/src/metispartition.h
8051bc0fae5b5fb4b42feca42a1f878451b18045
[]
no_license
carcass82/ghost3dzip
5d87bd80eb6041b6c2d5f9f653052d5392ae2255
dccd143482da3b265ec91f69433ea312398946d7
refs/heads/master
2020-04-15T11:04:12.080612
2018-12-03T22:34:54
2018-12-03T22:34:54
164,612,066
0
0
null
null
null
null
UTF-8
C++
false
false
989
h
metispartition.h
#pragma once #ifndef METISPARTITION_H #define METISPARTITION_H #include <tr1/unordered_map> #include <vector> class MetisPartition { public: MetisPartition() : partCounter(0) {} void AddVertex(int originalIdx) { vList.push_back(originalIdx); ovList[originalIdx] = partCounter++; } void AddTriangle(int origi...
0926fb2cf2d7b0204ba0252c565485c635d1bd62
a58c539c17d9b12454cdec7a0d87f7dc369849af
/src/hbase/util/bytes.h
ec726b247d106defef44d7e945243e7575d0f954
[]
no_license
wangpy1995/hfile_reader
a0bedd8aeaf617c1065bf4e527b5b848a48fb847
2d3b557ed48d248d23df2715183957a05fe9eaae
refs/heads/master
2020-03-26T18:15:33.296942
2018-08-18T08:38:12
2018-08-18T08:38:12
145,204,133
0
0
null
null
null
null
UTF-8
C++
false
false
717
h
bytes.h
// // Created by wangpengyu6 on 18-8-14. // #ifndef FILE_READER_BYTES_H #define FILE_READER_BYTES_H #include <stdint.h> class Bytes { public: // 整型转换 big-endian template<typename base_type> static base_type ToInt(const int8_t *bytes, int offset = 0, const int ...
66737371e45704e8844370cd0bc1de898de0d623
5beae6e927e14ba21524c9b152caa8c19293deb3
/New Stuff/Milestone3_Refactor/src/Elevator_Test.cpp
589fb78fb3d56bf94c6741b5f54513cbb89d1dee
[]
no_license
jamessryann/Elevator_Control_System
007045a55022930ccdc34eeded2132911f4d31fa
045656a719178dc7d3d131f92a7f5b217535f578
refs/heads/master
2021-01-10T10:34:50.202933
2016-04-04T22:37:56
2016-04-04T22:37:56
52,298,176
0
1
null
null
null
null
UTF-8
C++
false
false
1,485
cpp
Elevator_Test.cpp
// {{{RME classifier 'Logical View::Elevator_Test' #if defined( PRAGMA ) && ! defined( PRAGMA_IMPLEMENTED ) #pragma implementation "Elevator_Test.h" #endif #include <RTSystem/Milestone3_Refactor.h> #include <Elevator_Test.h> const RTProtocolDescriptor Elevator_Test::Base::rt_class = { &RTRootProtocol::rt_class , ...
4032d936cf65c003e2f3e00f02fb48ce12fb155e
00d0a3b4527e4cc90d0fe07036dbb3ef9a61d1fb
/practise/easy/TOTR.cpp
5f191f875add36d8f1e711830a8f20658c22c4c5
[]
no_license
sagarpawardev/ccdsap
23911247b5649217b512a5602ca2d9a78015f24b
adcd019c49e26477ce1b7e3664b4a13ff23db87c
refs/heads/master
2021-04-11T18:50:43.220741
2020-06-25T19:34:10
2020-06-25T19:34:10
249,044,851
1
1
null
null
null
null
UTF-8
C++
false
false
1,558
cpp
TOTR.cpp
// // Created by Sagar Pawar on 14/06/20. // /** Problem: TOTR.cpp Algorithm: Time Complexity: Learning: Tags: **/ #include <bits/stdc++.h> #define loop(i, s, e) for(int i=s; i<e; i++) #define ll long long #define ui unsigned int #define MAX_INT 2147483647 using namespace std; bool isSmallAlphabet...
a5df2283c2df7bd48b5ef695ed7b928054c51a83
3570814e010ca1fdb146fe9eaa1ea9e014da9a94
/source/domainvariables/dv_dvisc_const.cc
4f710cc7b6bd80333029c25a371bab3c5a7de42d
[ "MIT" ]
permissive
will214/ODT
8a9376e80dd25bfd42f83d826be18284a1525178
7c320c776e50f4da5faf9e8e67161b6fa2737c24
refs/heads/master
2023-07-14T23:30:44.800877
2021-08-18T17:00:16
2021-08-18T17:00:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,114
cc
dv_dvisc_const.cc
/** * @file dv_dvisc_const.cc * @brief Source file for class dv_dvisc_const */ #include "dv_dvisc_const.h" #include "domain.h" //////////////////////////////////////////////////////////////////////////////// /*! dv_dvisc_const constructor function * * @param p_domn \input set domain pointer with. * @param p_...
1636d303cc3a8e17279898ea2e0123560bfaf95e
37853435f14557740f4147586150d70aeab80f5c
/LRC/HLASpec/RTI_RegionI.cpp
903d5bfbf07a387ab6580fb6ab47366bbbdf82e1
[]
no_license
rhzg/GERTICO
7e1f399e96989c1606a991a8c8ff5e1fc326a70f
1bc6642f5fbb447cbd90ccadafc1bcf4debf5f48
refs/heads/master
2020-07-26T20:56:26.577367
2019-09-16T09:45:00
2019-09-16T09:45:00
208,763,474
0
0
null
null
null
null
UTF-8
C++
false
false
4,131
cpp
RTI_RegionI.cpp
/******************************************************************************* ** ** Copyright (c) Fraunhofer IITB ** All rights reserved. ** ******************************************************************************** ** $Author: mul $ $Name $ $Log: RTI_RegionI.cpp,v $ Revision 1.1 2003/09/23 15:00:12 mul Ext...
15c8acf95d3bc509833891bac93a6579f79ee86c
1f330fa8802c2ebdfea6d888283b5c8515f0b0d2
/Src/Elg/AssetManager/Loaders/ImageLoader-inl.h
14051d55d70dab23b7ed0575e7958d47a322f808
[ "MIT" ]
permissive
BartSiwek/Elg
30e93021980a6c8e597532efa09ddd0c162840a3
98df8d92b26329efdc2075497cec2a4a125da62b
refs/heads/master
2021-01-13T00:57:05.342271
2015-12-06T23:03:48
2015-12-06T23:03:48
3,632,235
0
0
null
null
null
null
UTF-8
C++
false
false
3,389
h
ImageLoader-inl.h
/* * Copyright (c) 2011 Bartlomiej Siwek All rights reserved. */ #ifndef ELG_ASSETMANAGER_LOADERS_IMAGELOADER_INL_H_ #define ELG_ASSETMANAGER_LOADERS_IMAGELOADER_INL_H_ #include "Elg/AssetManager/Loaders/ImageLoader.h" #include <cstring> #include <cstdio> // Include STBI library #define STBI_HEADER_FILE_ONLY #inc...
50cc4aaafa9e65f828df0d5956d41fcfe667e377
d2e148acaffccbbb8c874db0b4c6ecb773c9314d
/签名工具ldid/arid.cpp
99b4ae85bda85cacfb97a657fe811bc03a101a38
[ "AGPL-3.0-only", "MIT" ]
permissive
long-woo/Cydia
84eedeccece1001be92dfdffcb411f073e7862ad
17a514f2d530763a45170f58c0a6d97e57c78bc8
refs/heads/master
2023-06-10T18:42:01.094005
2023-03-03T07:09:13
2023-03-03T07:09:13
256,098,047
2
0
MIT
2020-04-16T03:19:25
2020-04-16T03:19:24
null
UTF-8
C++
false
false
824
cpp
arid.cpp
#include <iostream> #include <string.h> #include "minimal/mapping.h" struct ar_hdr { char ar_name[16]; char ar_date[12]; char ar_uid[6]; char ar_gid[6]; char ar_mode[8]; char ar_size[10]; #define ARFMAG "`\n" char ar_fmag[2]; }; int main(int argc, char *argv[]) { size_t size; _asse...
5d8aeb6c8e26dd5fa621e508163329ec4a57332c
37f844434eaa40eeb5e76f9bd0f2c52fc66df2a0
/comedy.cpp
0f3e3b804611a7c67eeddce39c5feed890464cf4
[]
no_license
ethomas0/CSS343-Assignment4
331ec8c71f4633a546ca1a07f21f25b2250a09bb
d88d89e73cc63c12dce49eab744fa281fbe16720
refs/heads/master
2020-05-30T02:15:29.247121
2019-06-23T21:51:25
2019-06-23T21:51:25
189,494,821
0
0
null
null
null
null
UTF-8
C++
false
false
4,207
cpp
comedy.cpp
//------------------------------- comedy.cpp ------------------------------- // --Krystal Levin & Ethan Thomas //-------------------------------------------------------------------------- //---------------------------- class Comedy -------------------------------- // Purpose: // -- Child class of Movie. Comedy...
f61f11970852dfd537a4007e98169c79ec901c92
e21e7a64c7df9137df607b6112c81066df5963d6
/2.10/myConstants.h
1cac991c184e990eec8b8e722aeb978d0d175826
[]
no_license
Eruant/learn-cpp
2cba62f844761fc205f700091e3094b10e0ab1ed
3d67f92a414ee1ebde801e246f3bcea4cdf1807f
refs/heads/master
2021-01-13T11:21:03.760587
2017-01-04T21:31:34
2017-01-04T21:31:34
77,224,334
0
0
null
null
null
null
UTF-8
C++
false
false
110
h
myConstants.h
#ifndef MY_CONSTANTS_H #define MY_CONSTANTS_H namespace myConstants { const double gravity{9.8}; } #endif
b0d2da38f80d47f2404ad2af792770b7f9b95032
7b86ea560a7381f1a753c07d5c77f16b46f31e1a
/Siput.cpp
fbac904660f7b0875b01042375c4730393fcbea8
[]
no_license
daspers/OOPM2
65720844257119d01931dc260a6331e4cb91041b
8c889a60cab3d2d1691f130f14beea87826f048f
refs/heads/master
2020-03-08T15:18:21.178498
2018-04-20T09:30:50
2018-04-20T09:30:50
128,208,074
0
2
null
null
null
null
UTF-8
C++
false
false
3,888
cpp
Siput.cpp
#include "Siput.hpp" Siput::Siput() : BendaAkuarium(rand()%SCREEN_WIDTH, SCREEN_HEIGHT, 0,1000) { pointtujuan.setX(rand()%SCREEN_WIDTH); pointtujuan.setY(rand()%SCREEN_HEIGHT); image = "siputkanan.png"; } Siput::Siput(double x, double y, double a, double kecepatan):BendaAkuarium(x, y, a, kecepatan){ pointtuju...
6fc6dfce15e660153046bd3e7c231c56b57a164e
e33de7c47ce543d4d63c9607efd6d96b11a864cc
/Cplusplus_Examples/Vector.cpp
4af311c24814207fb2928676b2f7481a89731951
[]
no_license
Barismano/ProgrammingBasicsCourseExamples
52c4dff96189601c52d5494a14fd3df341e2c6eb
17998f2157e561d9f2d521d6a0c494a123ace4c5
refs/heads/master
2020-04-24T20:17:18.294799
2018-10-31T18:07:13
2018-10-31T18:07:13
172,238,530
1
0
null
2019-02-23T16:48:07
2019-02-23T16:52:34
null
UTF-8
C++
false
false
1,336
cpp
Vector.cpp
#include <iostream> #include <cmath> class vector { public: vector(int a,int b) { x=a; y=b; } vector() { x=0; y=0; } int x; int y; }; int ScalarProduct(vector v1,vector v2) { int result= v1.x*v2.x+v1.y*v2.y; return result; } vector VectorWithScalar(vector v1,int ...
52a76aca1d76e9e00cc826919f04086b867771a1
ee60b09a4e6675cbf4c95bdfaf651024dc96fc8c
/JProject/JSampleMap/JShape.cpp
1541d0ccfdc6d8f14df64ec172612da4dfd3bf89
[]
no_license
JeongBongSeong/JProject
bda15e31e8e27f1efb703949c65d4d440e5f365b
2f44b0c444a893f0effd3760683a89151f7a11c7
refs/heads/master
2023-08-27T09:52:42.585052
2021-11-02T10:08:24
2021-11-02T10:08:24
421,306,343
0
0
null
null
null
null
UTF-8
C++
false
false
33
cpp
JShape.cpp
#pragma once #include "JShape.h"
2afeb2039c4e2d56e0aee052d2219d3017285829
b495209212ba745251914fee2ba6aebf90932b44
/src/FulfillmentType.cpp
a19cbc619cd4d55ca853398c5b1cd7fb4a39ab00
[]
no_license
knetikmedia/knetikcloud-tizen-client
21e1d9a0f98ca275f372af05dfb699adf46b7679
28be72af9caa0980570ff20fc798bdcf67b5550a
refs/heads/master
2021-01-13T13:34:44.915887
2018-03-14T16:05:13
2018-03-14T16:05:13
76,421,710
0
0
null
null
null
null
UTF-8
C++
false
false
3,524
cpp
FulfillmentType.cpp
#include <map> #include <cstdlib> #include <glib-object.h> #include <json-glib/json-glib.h> #include "Helpers.h" #include "FulfillmentType.h" using namespace std; using namespace Tizen::ArtikCloud; FulfillmentType::FulfillmentType() { //__init(); } FulfillmentType::~FulfillmentType() { //__cleanup(); } void Ful...
adc5200151081f3662264e2b72ed014621ba1f6d
b8d475a739557ed25fb628f4724185c75739c5fe
/C++/code.cxx
4fdf2f49ed4bb0f4e5376635c5b4f0dffdb34506
[]
no_license
AlexPechkin2004/OP_Lab_1
a2da2225d12bbb8e5df17868a64b69cdd0448c41
ae7f5fa652b5e9887b42673e985dc028d5f8866f
refs/heads/main
2023-08-17T02:18:02.353790
2021-09-14T08:25:24
2021-09-14T08:25:24
404,445,567
0
0
null
null
null
null
UTF-8
C++
false
false
1,899
cxx
code.cxx
#include <stdio.h> #include <math.h> #include <iostream> using namespace std; int main() { // Задання необхідних змінних float b, q, n, j, k, answer; // useless - змінна, ввід значення якої доданий лише для того, щоб термінал не закривався одразу після завершення операції знаходження n-ного члена геометричної прог...
fdf4503cb551ea4f44aee9934adb5985206e8f7d
98448b1558327a0f05c5efdb85308d52891336b5
/Eigen/src/Eigen2Support/Lazy.h
593fc78e6de7076364d3de96662e8c8024c28aa7
[ "GPL-1.0-or-later", "Apache-2.0", "GPL-2.0-only" ]
permissive
gnina/gnina
6aaf681824800a8e794f499224c05da7ade1d3ef
da19662b9d34b6e2ba640fd115746ba6f6f932e5
refs/heads/master
2023-09-04T12:55:35.150558
2023-08-31T14:59:27
2023-08-31T14:59:27
45,548,146
467
146
Apache-2.0
2023-08-31T14:59:29
2015-11-04T15:29:17
C++
UTF-8
C++
false
false
2,134
h
Lazy.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You can obtai...
4a270db417e130be06c44f736bdf621d00bdf3c2
e5e63362c73829083ebcfcb9fb3605204a4e5a5a
/devicenotifications/devicenotifications.h
fd2396c8e916d9e6f8c2f68f650c9bc670ce333d
[]
no_license
KDE/plasma-workspace
7e5d1ebb3d21051d7ad410a8957770fe0b94a07e
c2666b9afba51a897e006ea7b68c5a693519cf15
refs/heads/master
2023-08-31T14:30:21.743316
2023-08-31T10:48:26
2023-08-31T13:28:32
42,736,075
216
108
null
2022-01-28T03:28:04
2015-09-18T17:13:10
C++
UTF-8
C++
false
false
1,909
h
devicenotifications.h
/* SPDX-FileCopyrightText: 2022 Kai Uwe Broulik <kde@broulik.de> SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #pragma once #include <QHash> #include <QSocketNotifier> #include <QString> #include <QVector> #include <KDEDModule> #include <libudev.h> class UdevDevic...
1d073e93bd89ca21802cb2bd0466a250abd7005e
6f293e8d328981866913536a6bedd009fad06b18
/code/userprog/functions.cc
9df9ed52935fd42536fdef03d7865ea8897b1700
[ "MIT-Modern-Variant" ]
permissive
bfaltrep/SystemeExploitation
eda4a076f0496d654e1dee9ff76347bf6cf41b61
5bf61a2046af1cc65fc2a37cf40fd7aae5a975f2
refs/heads/master
2021-01-18T01:42:30.539710
2015-10-13T15:45:23
2015-10-13T15:45:23
42,040,802
1
0
null
null
null
null
UTF-8
C++
false
false
1,078
cc
functions.cc
#include "functions.h" #include "system.h" #include "translate.h" int copyStringFromMachine(int from, char *to, unsigned size){ unsigned int i = 0; bool reussite; int tmp; for ( ; i < size-1; ++i) { reussite = machine->ReadMem(from+i, 1, &tmp); if (!reussite) { //on évite d'avoir des chai...
7ba620be12793d14405dae6fd1e75a9b1fd0c73e
74bb9935e0c9e4d53bff8af132ebd238abfc00cc
/src_kong/BCProject11/UDPSender/udpsenderwidget.h
5f9611043ceb6636b1d034a5b9da3675ff99954f
[]
no_license
Mr-wwy/autonavigation
d77cbfb0d560d601ae808812d1c5056d7e2dffa3
3166f07b7a46ecab330eb4dae65fd79e9ecd6fa6
refs/heads/master
2020-06-27T01:55:30.711507
2019-07-31T09:05:17
2019-07-31T09:05:17
199,813,853
0
1
null
null
null
null
UTF-8
C++
false
false
2,145
h
udpsenderwidget.h
#ifndef UDPSENDERWIDGET_H #define UDPSENDERWIDGET_H #include <QWidget> #include <QtNetwork/QUdpSocket> #include <QCloseEvent> #include "recvvehiclestatusthread.h" #include "bidformat.h" namespace Ui { class UDPSenderWidget; } class UDPSenderWidget : public QWidget { Q_OBJECT public: explicit UDPSenderWidge...
6f8ab71013da968d96f7588edc8fe0c5b58ef734
f2e0d8d705609f472356349c1e556032461abaff
/FCS/cglobal.h
d3a08daa3072c8ccd23be38e037f10055027f346
[]
no_license
greencodexp/project_00
a9e936766fffbef3102afa3c83e255859861c571
f03eef693138b6c07324a6bcc03be74d42412fe7
refs/heads/master
2020-06-06T23:05:25.721244
2019-08-06T05:58:15
2019-08-06T05:58:15
192,871,650
0
1
null
null
null
null
UTF-8
C++
false
false
2,295
h
cglobal.h
#ifndef CGLOBAL_H #define CGLOBAL_H #include <QObject> struct MSG_BCC6000CTL { MSG_BCC6000CTL() { unsigned short int m_header; unsigned short int m_senderID; unsigned short int m_receivedID; unsigned short int m_commandID; unsigned char m_activateEMU; unsigned char m...
b3954b5b238b391d4c645310e8c8e65c646f9c43
9a3e81788b83f2a91ddc1cd7d22bf47afbcfc642
/CharAR/Temp/il2cppOutput/il2cppOutput/Vuforia_UnityExtensions_Vuforia_VuforiaManagerImpl2162615373.h
b3ba0672b5edf7c6571e58a15182914bd035750b
[]
no_license
EasonTianyiZhang/CatchMeIfYouCan
519cffd319201f947aeb535cd6f52ad244170a4e
fd2603bb06a5857b6ab20aade73c25590a38a6ae
refs/heads/master
2021-01-18T19:48:26.536899
2016-09-26T23:34:20
2016-09-26T23:34:20
69,297,181
1
3
null
2016-09-26T23:32:20
2016-09-26T22:13:16
null
UTF-8
C++
false
false
18,371
h
Vuforia_UnityExtensions_Vuforia_VuforiaManagerImpl2162615373.h
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> // Vuforia.WorldCenterTrackableBehaviour struct WorldCenterTrackableBehaviour_t3541475369; // Vuforia.VuMarkAbstractBehaviour struct VuMarkAbstractBehaviour_t2231576857; // UnityEngin...
869129e7453132c09336eed9e8d288477db1eba0
c4e0c74f0d2ca455d8bdb80cf011813349f3501e
/kernel/vds_core/task_manager.h
81c2a0b96f77c9de728a5ebc05b3cf2764e97edc
[ "MIT" ]
permissive
praveenmunagapati/vds
dd5749830619f09f9d745cd3187efbd218b66b14
875b8904e8706ab6b9e078f017f037e60a8f8d74
refs/heads/master
2021-01-01T06:12:45.809178
2017-07-16T09:22:03
2017-07-16T09:22:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,432
h
task_manager.h
#ifndef __VDS_CORE_TASK_MANAGER_H_ #define __VDS_CORE_TASK_MANAGER_H_ #include <chrono> #include <list> #include <condition_variable> #include <thread> #include "service_provider.h" #include "debug.h" namespace vds { class timer { public: timer(); void start( const service_provider & sp, ...
2dac38c11f1196dea3411a010b9bae306fecd197
82c034a24b65de4579a0a534052056ec299759af
/OJ4TH-BUAA/2016/03/A.cpp
73cd83c959b7e8e1567e1a02ee354d33c8b89b94
[]
no_license
rust-in/algorithm-exercise
8d933afee4685921c8b4bb21f80f338a887a9e94
0f81cb1fb7345aa8f241eb82cb6bfacdbf7ba0f9
refs/heads/master
2021-09-10T02:28:47.597389
2018-03-20T18:03:12
2018-03-20T18:03:12
103,937,989
0
0
null
null
null
null
UTF-8
C++
false
false
821
cpp
A.cpp
#include <cstdio> #include <algorithm> #include <cstring> using namespace std; int wei[3][505]; //记录停留所需时间 int tab[3][505]; //记录换边所需时间 int rod[3][505]; //记录最优解 int res[3][505]; //记录路径 int main() { int len; while(~scanf("%d",&len)){ for(int i=0;i<len;i++) scanf("%d",&wei[1][i]); for(int i=0;i<...
ed64edd52d75ab35bc584e41b5812da3de9a094d
04b1803adb6653ecb7cb827c4f4aa616afacf629
/chrome/browser/extensions/app_data_migrator.h
55d2989350a8ace4cbe47c3f324eaee3458a6284
[ "BSD-3-Clause" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
C++
false
false
1,292
h
app_data_migrator.h
// Copyright 2015 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_BROWSER_EXTENSIONS_APP_DATA_MIGRATOR_H_ #define CHROME_BROWSER_EXTENSIONS_APP_DATA_MIGRATOR_H_ #include "base/callback_forward.h" #include...
5f377694defb3123fa4916c80976056dfc271d34
66511b371329a068a3e52452c47a161e4d650109
/fgame/CTF_TargetLocation.cpp
4fda9a77f9b21c899a787c69bd7cc78ca222142e
[]
no_license
HaZardModding/fakk2_coop_mod
8f619f288e09dbce6a1dc8adfe25759bdf682b8c
3ab0c8ce011c93ff861924f02284f7948c7ce8b8
refs/heads/master
2022-11-21T02:35:04.523416
2020-07-22T06:40:16
2020-07-22T06:40:16
281,033,547
2
0
null
null
null
null
UTF-8
C++
false
false
1,124
cpp
CTF_TargetLocation.cpp
/////////////////////////////////////////////////////////////////////////////// // // // target_location entity // Used in ctf games to evaluate 'where' a player is // // -Yorvik // /////////////////////////////////////////////////////////////////////////////// #include "CTF_TargetLocation.h" // //Events // Event EV_...
b0a5abbf9aad9b8ac4ddb7fb824c307f7bcc850e
4704ef115d93e9f93cccd93bb248685702d5bbfd
/CWStarter/include/gameObject/gameObject.cpp
c7b04bdbebcbaacf57a0ecc901007ec2ed8709d7
[]
no_license
JanisZusevics/2D_Platformer
78d6d1c86ff8b5655c84b69f359688752ff5a088
b7d4e6ef7c578aa27dd2988608aeaad88145050a
refs/heads/main
2023-03-11T02:02:20.521714
2021-03-02T21:36:25
2021-03-02T21:36:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
699
cpp
gameObject.cpp
/*! \file gameObject.cpp * \brief Functions and Logic behind the gameObjects * * gameObject is a parent class of every object in the game * Contains vital information used by the contact listener */ #include "gameObject.h" // list of the possible contact layers and theor meaning enum layers : unsigned ...
3eb29405db78ee84b375215ecadaf0368a565664
23e5d6e617033231d74acdfe5477969ab8bce918
/queue_ll.cpp
775dc36165f844dc64e08926fe3b5ca2129aa95c
[]
no_license
tinomaxthayil/Algorithms
fbe22561f6979f426054687e8102f0f0ce478b4b
23dd8d8a4afc5e474502e5277ef6ae6cf3506927
refs/heads/master
2022-12-01T13:03:11.385843
2020-08-13T13:05:18
2020-08-13T13:05:18
284,064,691
0
0
null
null
null
null
UTF-8
C++
false
false
635
cpp
queue_ll.cpp
#include<iostream> using namespace std; struct Node{ int data; Node *next; Node(int x){ data = x; next = NULL; } }; struct Queue{ Node *front, *rear; Queue(){ front=rear=NULL; } void enQueue(int d){ Node *temp = new Node(d); if(rear==NULL){ ...
d8dae52cc435ff9503fb5dcfef3df6b7c1b2a5a5
073583404fd0536f3b52051fcb956312db5a6444
/CSC 17A CLASS/CSC 17A Assignment 6 Chap 15-16/Gaddis_8thedittion_Chap15_ProgChal1_emp/pro.h
ec513895b0a18b299c52ec5e89dbc9259d56ced9
[]
no_license
xMijumaru/CSC17A_Summer2018
94caa651ee563645b519e934ba4be3097e0e90f6
6d5d016b4b8ef9266350d53aeef531ac5e29d26a
refs/heads/master
2020-03-21T02:11:45.738177
2018-07-28T01:46:54
2018-07-28T01:46:54
137,986,167
0
0
null
null
null
null
UTF-8
C++
false
false
902
h
pro.h
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: pro.h * Author: kevin * * Created on July 21, 2018, 5:02 PM */ #ifndef PRO_H #define PRO_H #include <cstdlib> #in...
d2aafd98796ec5249b00173bef04f5fdbdb5e483
d06904df7c6c810e9c4e0981b457356389a9e608
/uom/vol/puom.h
81f2d26c96fc3d7d30a8c354e2a9a51d5101c87a
[]
no_license
ncahill-wegfliegen/gemeinsam
6bfea5fa251b980c8d88b065102a48cd8d981a3e
43df0630e2c2cc2148efa0b077e84d4ab853dde1
refs/heads/master
2020-06-26T01:55:26.720699
2019-11-15T20:09:30
2019-11-15T20:09:30
199,489,239
0
0
null
null
null
null
UTF-8
C++
false
false
184
h
puom.h
#pragma once #include "../puom.h" #include "../vol.h" namespace nhill { namespace uom { using Prefixed_vol = Prefixed_uom<Volume>; namespace vol { using puom = Prefixed_vol; } } }
5f8de142ad206197dac5c5c6df6b0c6ad55c1b07
449e56faded101091f67b57105f465fec58e9145
/eneida_common.cpp
66f981fea6175d5c717972deaba3c4f58c2b534e
[ "MIT" ]
permissive
michal-z/eneida-old
c19b7842f97b923d412d2a0e180cadbe6ed990db
7690ec273a71774f40a3d9a78ad24384f8024e51
refs/heads/master
2020-03-25T00:58:56.069789
2018-08-24T17:48:42
2018-08-24T17:48:42
143,215,679
2
0
null
null
null
null
UTF-8
C++
false
false
2,003
cpp
eneida_common.cpp
static std::vector<uint8_t> LoadFile(const char* FileName) { FILE* File = fopen(FileName, "rb"); assert(File); fseek(File, 0, SEEK_END); long Size = ftell(File); assert(Size != -1); std::vector<uint8_t> Content(Size); fseek(File, 0, SEEK_SET); fread(&Content[0], 1, Content.size(), File);...
eee3e3147e243baca0b695c2213846b34184196a
7f7dd5dbbd9e535ba78acbe0dd7895d899fba715
/k-nn/k-nn.cpp
6c2ee3f3658996185fd60d8f313f2625e5393d58
[]
no_license
nedak96/CS480_High_Performance_Computing
9eee9e1ab706480cbe8ec2c4e6b3f746afec30fe
f179f6cb6c3a6da01d5ad7394798a17422c634cf
refs/heads/master
2020-03-25T13:11:27.673736
2018-08-07T03:23:32
2018-08-07T03:23:32
143,812,394
0
0
null
null
null
null
UTF-8
C++
false
false
9,778
cpp
k-nn.cpp
#include <fstream> #include <iostream> #include <stdint.h> #include <vector> #include <algorithm> #include <cmath> #include <thread> #include <future> #include <random> #include <deque> #include <ctime> #include <chrono> using namespace std; class Node{ public: int axis; float n; Node* left; Node* right; vect...
7b944d9b19f7177e9c06f732e5f9914836d17073
e896d76668fc473a1d69091f2aa3350a175eb8af
/src/exec_unit_register.cpp
ade05f102aa256f8fd29e3c86f8fd8ebc60cbc64
[]
no_license
moose-x86/simple-asembler-interpreter
80f6ab8821da539f623c2a51be724505f2d334e8
6d688d6098d1abeec020ed63a64b7cd4d8c98148
refs/heads/master
2021-01-21T10:13:47.255622
2018-10-28T21:44:13
2018-10-28T21:44:13
101,974,411
2
0
null
null
null
null
UTF-8
C++
false
false
1,313
cpp
exec_unit_register.cpp
#include "exec_unit_register.hpp" #include <numeric> namespace back_end { const exec_unit_register::label_type register_type_a::label = "a"; const exec_unit_register::label_type register_type_b::label = "b"; const exec_unit_register::label_type register_type_c::label = "c"; const exec_unit_register::label_type regist...
1a1048785681075188fd71d523713222f481ac84
275393cc84f08741f3588346d49f47e93a24a3e9
/server.h
d66ee3f7ff0ba7a20628f50f950dc9b8a42c843f
[]
no_license
lazybobcat/simple-irc-server
baf4529dc5ce9658e53cc71568f649adac94836a
a952aac14653b3a0650c5dd599df9f6bee53d3c0
refs/heads/master
2021-05-27T00:22:10.247081
2012-12-05T17:01:38
2012-12-05T17:01:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,033
h
server.h
#ifndef SERVER_H_INCLUDED #define SERVER_H_INCLUDED #include <boost/asio.hpp> #include <boost/bind.hpp> #include "defines.h" #include "session.h" using boost::asio::ip::tcp; class Server { public: /** Construct the Server and initialize the tcp acceptor */ Server(boost::asio:...
f3a3a4c708d6524eb518a81f151f99c6f1cddbe6
4b02bd8167ed8b32281b2b28bd0a8d3e60594b74
/Images2WavefrontObj/ImageProcessing/VertexAdjuster.h
0467c4b493dc6f8c072bbc2e970fc181762839de
[]
no_license
haegar80/Images2WavefrontObj
090bb8ad203f5370555d202b6e031dc9775b9f0a
12c4c350380ae30899469f6be3d1208b11672b51
refs/heads/master
2022-10-24T05:17:04.934271
2022-10-09T14:44:04
2022-10-09T14:44:04
125,415,446
0
0
null
null
null
null
UTF-8
C++
false
false
410
h
VertexAdjuster.h
#pragma once #include <memory> #include <vector> class Mesh; class VertexAdjuster { public: VertexAdjuster() = default; virtual ~VertexAdjuster() = default; VertexAdjuster(const VertexAdjuster&) = delete; VertexAdjuster& operator=(const VertexAdjuster&) = delete; void NormVertices(std::vector<st...
677abf5c07017426fb77b2af0eda097c65bd285a
1ca3440ec13e8f00bd15d2d072fee105b74c9487
/source/ApplicationLayer/Views/IconValueRow.h
0882835beebc90e3830ceb9057a8c2ba625611f6
[]
no_license
ronj/teensy-dash
85b6b619ba9c4814724eb2e8a18ab1369d268b98
f963b2e6ea70478275f46c02b661c1f9a553ac58
refs/heads/master
2021-01-18T21:46:51.967531
2015-08-15T13:31:59
2015-08-15T13:31:59
33,808,060
0
0
null
null
null
null
UTF-8
C++
false
false
570
h
IconValueRow.h
#pragma once #include <cinttypes> namespace PeripheralLayer { namespace Bitmaps { struct Bitmap; } } namespace ApplicationLayer { class DrawEventArgs; namespace Views { class IconValueRow { public: IconValueRow(int16_t x, int16_t y, const PeripheralLayer::Bitmaps::Bitmap& bitmap, const char* label)...
86e3436d7ec358ae41a2052b54e72cd4a4ed691d
09903cef3fc1e0d414eae103ad3240e9b17d6db8
/c++/1-2_ex5.cpp
ba6c2bdae408956c301fa819b2b2f5bf39db7ffd
[]
no_license
ism46999937/proves
1d87dc374a74f943334e4931b277cfd57eb51bc2
e8fd8e2dfab061d79341601e47822a6d33892907
refs/heads/master
2020-08-04T07:38:33.915248
2020-03-05T09:51:02
2020-03-05T09:51:02
212,059,079
0
0
null
null
null
null
UTF-8
C++
false
false
1,150
cpp
1-2_ex5.cpp
#include <iostream> using namespace std; const int MAXFILAS = 4; const int MAXCOLUMNAS = 7; int operacion(float vent[MAXFILAS][MAXCOLUMNAS], float promedio[4]); void main() { setlocale(LC_CTYPE, "spanish"); int i, dies; float ventas[MAXFILAS][MAXCOLUMNAS] = { {1001, 32.1, 1011.2,31.6, 50, 22.9,44.1}, {21.5,19.9,...
459fbc3c689131566780ccd31c01491510676d7f
520b75c144414d2af5a655e592fa65787ee89aaa
/AOJ/Volume01/0164.cpp
48bd60842c1562b45ef6af887ae915e0879599a7
[]
no_license
arrows-1011/CPro
4ac069683c672ba685534444412aa2e28026879d
2e1a9242b2433851f495468e455ee854a8c4dac7
refs/heads/master
2020-04-12T09:36:40.846130
2017-06-10T08:02:10
2017-06-10T08:02:10
46,426,455
1
1
null
null
null
null
UTF-8
C++
false
false
564
cpp
0164.cpp
#include <bits/stdc++.h> using namespace std; #define MAX 26 int main() { int n, a[MAX]; while (cin >> n,n) { for (int i = 0; i < n; i++) cin >> a[i]; int ohajiki = 32, j = 0, d = 0; while (1) { if (ohajiki == 1) break; if (j%2 == 0) { oh...
f7d6cce39729c64dd43ec4bfd3d2b2497e94f2e8
812e4191272e61ce9df31f7cfb0f02ef3b666a8c
/framework/decode/custom_vulkan_struct_decoders_to_string.h
00f1a593d4e4665d1589e81212635163b47d46db
[ "BSD-3-Clause", "Zlib", "MIT", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
xooiamd/gfxreconstruct
1731eb81ad4872f56e0e919ddd981a11cf03ff03
205a185f696dcd01d7188a30c7590eafb0c45c36
refs/heads/master
2023-02-12T18:48:17.642936
2022-12-08T18:38:21
2022-12-08T18:38:21
198,265,375
0
0
Apache-2.0
2019-07-22T16:44:02
2019-07-22T16:44:01
null
UTF-8
C++
false
false
7,122
h
custom_vulkan_struct_decoders_to_string.h
/* ** Copyright (c) 2022 LunarG, Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and associated documentation files (the "Software"), ** to deal in the Software without restriction, including without limitation ** the rights to use, copy, modify, merge, publis...
bf0626e512af264674029758357f41bfd42d1776
06681bca998dae0aa57bd761a5788542e7b1c821
/p12554 - A Special Happy Birthday Song!!!/p12554 - A Special Happy Birthday Song!!!.cpp
4c96ca5912ae58bd82352e6a3cc76aeaf4e3c5e9
[]
no_license
sarafinmahtab/Solved-UVA-Problems
11f89aaf6f2e44922c9f9d0457d224d191db1066
0d5b59363d0c4537c2a142ef6ec40f4b43afbc81
refs/heads/master
2021-10-22T11:43:12.200718
2019-03-10T14:33:11
2019-03-10T14:33:11
111,911,644
0
0
null
null
null
null
UTF-8
C++
false
false
893
cpp
p12554 - A Special Happy Birthday Song!!!.cpp
#include<bits/stdc++.h> using namespace std; int main() { string input[200], bday[200]; bday[0] = "Happy"; bday[1] = "birthday"; bday[2] = "to"; bday[3] = "you"; bday[4] = "Happy"; bday[5] = "birthday"; bday[6] = "to"; bday[7] = "you"; bday[8] = "Happy"; bday[9] = "birthday";...
ff15283f5552dc605a266aa73e31bc5a18a15569
4a70206488bc1959ab347fbbcb6a0ddbabb920bb
/libraries/octree/src/OctreeQuery.cpp
7d9fc7d08cbc78dbc556f272c0146a0e0716b832
[ "Apache-2.0" ]
permissive
zzmp/hifi
60dc87dffb67a315fc1334b28615dc33d381e421
9ae390853c6b28132ca9cec7c7f68b002ff8fc4a
refs/heads/master
2020-04-05T14:58:33.041164
2017-06-25T15:17:16
2017-06-25T15:17:16
45,364,529
2
0
null
2017-07-11T04:41:54
2015-11-02T01:02:18
C++
UTF-8
C++
false
false
6,263
cpp
OctreeQuery.cpp
// // OctreeQuery.cpp // libraries/octree/src // // Created by Brad Hefta-Gaub on 10/24/13. // Copyright 2013 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include <QtCore/QJsonDocument> #i...
45509a592c9e6f1ff992016272a0004cf6a9bdd1
32ed1c18972471ba050b6d9cbcf0409cf18bf316
/main.cpp
eea94de40dbe0fadb758f0ddb23dfaeb2b0e18bf
[]
no_license
luisclaudio26/VGRpp
9f02de674122241ce43e36c7d5b2b22f1d4ab21d
bd39fa1bbdaca64dfc3f9698a2fac9f4d998c46b
refs/heads/master
2020-12-15T10:37:42.233622
2016-08-06T13:32:34
2016-08-06T13:32:34
54,519,870
0
1
null
null
null
null
UTF-8
C++
false
false
919
cpp
main.cpp
#include <cstdio> #include <vector> #include <string> #include <chrono> #include "inc/render.h" #include "inc/parser/parser.h" #include "inc/vector/rect.h" #include "inc/vector/matrix3.h" /* Transformations in .2d file maps a point in object space to scene space! For example: if we have a circle with associated tra...
3630f7b2c3cb381b3145124fbfa665cc83847c6f
1eeba9a9c3eaf3249a78a07ff8e03e69523a4f78
/include/radix/entities/traits/Trait.hpp
c468e74340925349e44ceec5e01edaf1943dc174
[ "Zlib" ]
permissive
alyssais/RadixEngine
3d40a31ec783438af2fb5c2756d71e98bf0d5fac
c9647067fbd1c65fe02db9e6012cc6f37420b854
refs/heads/master
2022-12-01T21:28:26.486541
2020-07-19T00:34:50
2020-07-19T13:59:08
287,838,730
0
0
Zlib
2020-08-15T23:09:15
2020-08-15T23:09:14
null
UTF-8
C++
false
false
999
hpp
Trait.hpp
#ifndef RADIX_ENTITIES_TRAIT_HPP #define RADIX_ENTITIES_TRAIT_HPP #include <radix/Entity.hpp> #define radix_trait_declare(TNP, TN) virtual std::string fullTraitClassName() const override { \ return TNP TN; \ } \ virtual std::string traitClassName() const override { \ return TN; \ } namespace ...
4877bb930d66959dc55329781c542afd9e6396df
5a02eac79d5b8590a88209dcc6cd5741323bb5de
/PAT/第一轮/第六章_STL/map/A1071/正则表达式_偶尔满分/regex_replace/main.cpp
fa1fef16744f8b4a523f518564655d99d4a7fe3a
[]
no_license
qiatongxueshaonianC/CaiZebin-Code_warehouse
ddac8252afb207d9580856cfbb7e14f868432716
25e1f32c7d86d81327a0d9f08cd7462209e9fec2
refs/heads/master
2023-03-20T03:36:49.088871
2021-03-16T15:40:11
2021-03-16T15:40:11
348,395,087
0
0
null
null
null
null
GB18030
C++
false
false
604
cpp
main.cpp
#include<bits/stdc++.h> using namespace std; int main() { string s; getline(cin,s); transform(s.begin(),s.end(),s.begin(),::tolower); regex r("[^a-zA-Z0-9]"); s=regex_replace(s,r," "); unordered_map<string,int> mp; pair<string,int> ans("",0); stringstream str(s); while(str>>s){ if(mp.find(s)!=mp.end()) mp[s...
430fdd043af8025dd56b9a3f7984083ca8e06c2f
ceb4ab5a9c5a6322bf8a1f8ddb5cc7f3d97e34d4
/src/Patchfile.cpp
80348769fd059dd8ea135c2e961d06b344ff63d5
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-synthesis-toolkit", "BSL-1.0" ]
permissive
tschiemer/midipatcher
ed881cbc7b2f797e71f00961373e0d03c206c563
a0922df002fe8b99ed551f7092c94fecff600728
refs/heads/master
2022-10-27T11:40:17.836132
2020-06-10T06:41:34
2020-06-10T06:41:34
261,474,003
3
1
null
null
null
null
UTF-8
C++
false
false
5,625
cpp
Patchfile.cpp
#include <Patchfile.hpp> #include <PortRegistry.hpp> #include <Port/AbstractPort.hpp> #include <Port/AbstractInputPort.hpp> #include <Port/AbstractOutputPort.hpp> #include <Log.hpp> #include <Error.hpp> #include <version.hpp> #include <fstream> #include <chrono> #include <ctime> #include <time.h> namespace MidiPat...
439d915e1a03f0b73db898a9fd5e8c2bd08f53bf
ad1f5a2066a6ff9c93ca29df77b4c28a82754533
/lib/logo/language/parser/node_types/MultDiv.cpp
bcfeb8a9a7974a07cff853b280f5ddca62f5e836
[]
no_license
epsilon-phase/logo
d75fec35fe46cf56b29d00ea3a6c954cbdf2324e
f959dfb2a929aa1347932111032e952c0d235a74
refs/heads/main
2022-12-18T02:45:32.151091
2020-09-23T20:25:10
2020-09-23T20:25:10
256,650,648
0
1
null
null
null
null
UTF-8
C++
false
false
666
cpp
MultDiv.cpp
#include "../detail/ast_prelude.hpp" ParseResult<MultDiv> MultDiv::parse(TokenStreamIterator start) { auto result = std::make_unique<MultDiv>(); auto ex = ExponentExpr::parse(start); if (!ex.has_value()) FAIL; auto &[e, s] = ex.value(); result->add_child(std::move(e)); start = s; if (start.remaining(...
e7a5a071396ff6b57037f6b80ebdc307b04b4415
390ce0265bd80dd83dcad3864d3e738e541e24eb
/baekjoon/1049.cpp
d7450f911c12dd443e51fe96cab1181d5cef3bee
[]
no_license
peach404/algorithm
86bb33c2250539abe77749e752be2b966f91f388
4f0062449ab935d62ff41821f203de4b0ccc877b
refs/heads/master
2020-04-19T12:22:24.464745
2019-06-18T09:02:51
2019-06-18T09:02:51
168,189,901
0
0
null
null
null
null
UTF-8
C++
false
false
828
cpp
1049.cpp
// // Created by 김소연 on 18/06/2019. // #include <vector> #include <cstdio> #include <iostream> #include <algorithm> using namespace std; int n,m; //꼭 같은 패키지 안사도 됨 int main() { cin >> n >> m ; int a =0; int b =0; int c =987654321; int d =987654321; for(int i=0;i<m;i++){ scanf("%d %d",...
ca122b709edc9e1573b810c02ea62a6d6c273f07
b1b4e3746a68b09a64701f642f88bf55968fc451
/ButtonArduino/buttonArduino.ino
a8387f76c2bab583a205dc983335a86b10085f82
[]
no_license
tzachf/Final-Project-Hackathon
03bf416d7914ab14b990679bc3d85847f34eddc3
d15cd59a4442c0e67825ad758532b5a5920ffcee
refs/heads/main
2023-02-14T04:39:56.122094
2021-01-12T18:18:15
2021-01-12T18:18:15
329,073,641
0
0
null
null
null
null
UTF-8
C++
false
false
1,709
ino
buttonArduino.ino
const int buttonPin = 2; // the number of the pushbutton pin // variables will change: int buttonState = 0; // variable for reading the pushbutton status char userInput; int isPress = 0; void setup() { Serial.begin(9600); // Initialize Serial communications with the PC while (!Serial); // Do nothi...
47a96add4cdf91baf7ddd0b893db5e7c55e452ff
3038d3d95390ebc6fe2a0e9f7e129746e9af919e
/cpp/net/Request.cpp
731b23bc36e536810f394285b33d2cd3b2226c06
[]
no_license
code-dreamer/CodeSnippets
9954a1f0b036792afa4e33acf5b8574bfb6e98ed
e5017f03a2df7b4504b1c2ebc447fc991578429a
refs/heads/main
2023-01-21T23:51:34.854137
2020-12-04T15:06:43
2020-12-04T15:06:43
303,447,396
0
0
null
null
null
null
UTF-8
C++
false
false
1,600
cpp
Request.cpp
#include "stdafx.h" #include "Request.h" #include "UrlUtils.h" namespace Net { ; using namespace UrlUtils; wxString GetHeaderName(KnownHeaders header) { switch (header) { case KnownHeaders::UserAgent: return wxS("User-Agent"); break; case KnownHeaders::Referer: return wxS("Referer"); ...
3983bbda064e38d264c9315f6ac81221d143a1af
9369d3b4105832afa6ece21ae3251a45d3be56dd
/Data Generate/MemberGenerate.cpp
1a28bf16d47cc49f1dfb5c2dbe1a7a2138edfce4
[]
no_license
ununbum/FileProcessing
48889fad2242d02d5d7b730686c7ec6eb2000e27
ec502e1322e16ba38fc56721f470052a0ee5452b
refs/heads/master
2020-03-30T07:45:25.431692
2018-11-13T16:26:54
2018-11-13T16:26:54
150,964,628
2
0
null
null
null
null
UTF-8
C++
false
false
1,925
cpp
MemberGenerate.cpp
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <time.h> char family_name[7][5] = { {"Kim"},{"Lee"},{"Park"},{"Choi"},{"Son"},{"Lim"},{"Ha"} }; char name[18][7] = {{"Seung"},{"Kyung"},{"Jun"},{"Sang"},{"Chang"},{"Woo"},{"Hyeun"},{"Jeung"},{"Soo"},{"Young"},{"Chai"},{"June"},{"Jeung"},{"Dae"...
0709e4a6c6d3fbf0a2b8cce94bff56ff3dda5bc5
18a3f93e4b94f4f24ff17280c2820497e019b3db
/CLHEP/CLHEP/GenericFunctions/DefiniteIntegral.hh
ed12cccd3504a7b3eae7493fbd3e09add256af6e
[]
no_license
jjzhang166/BOSS_ExternalLibs
0e381d8420cea17e549d5cae5b04a216fc8a01d7
9b3b30f7874ed00a582aa9526c23ca89678bf796
refs/heads/master
2023-03-15T22:24:21.249109
2020-11-22T15:11:45
2020-11-22T15:11:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,596
hh
DefiniteIntegral.hh
// -*- C++ -*- // $Id: DefiniteIntegral.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $ //-------------------------------------------------------------// // // // This functional returns the definite integral of a function // // between lower bound and upper bound...