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
6d47a7f2355c507b4c517deb2d12e1a08d486a9a
a661191cd6484d25394248bcd8dde8b7bdb4436a
/C++/Week-3/Assignment-1/3-ComplexNumbers.cc
c63d7b6f3aa1d70de0a59157a06b97a034f4da14
[]
no_license
achmurali/CDAC
103f7bfdde09a09f69bc367b5ebb78dfcd53e05e
30297c5352d6b768fad89bfa30cdb3619c64ee01
refs/heads/master
2021-10-22T22:57:13.307007
2019-03-13T10:02:09
2019-03-13T10:02:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
945
cc
3-ComplexNumbers.cc
#include<iostream> using namespace std; class Complex { int real; int imaginary; public: Complex() { real = 0; imaginary = 0; } Complex(int x) { real = x; imaginary = x; } Complex(int x,int y) { real = x; imaginary = y; }...
1b7ef8b989719c855690121fcde9815062051ad3
6ddcdda679089b228d55ef098addfe8193287d88
/cpp/leetcode/PermutationUnique.cpp
fa31bf7cfafdfc8a8336d5c5a8c64ae384727e36
[ "MIT" ]
permissive
danyfang/SourceCode
518e4715a062ed1ad071dea023ff4785ce03b068
8168f6058648f2a330a7354daf3a73a4d8a4e730
refs/heads/master
2021-06-06T16:36:50.999324
2021-04-23T08:52:20
2021-04-23T08:52:20
120,310,634
0
0
null
null
null
null
UTF-8
C++
false
false
1,395
cpp
PermutationUnique.cpp
//Leetcode Problem No 47. Permutations II //Solution written by Xuqiang Fang on 26 May, 2019 #include <iostream> #include <vector> #include <string> #include <algorithm> #include <unordered_map> #include <unordered_set> #include <stack> #include <queue> using namespace std; class Solution { public: vector<vector<...
4e6a5c698941897c979582989c107098a05deb95
c7f58cefe640e6c920d553931503462d208e74cc
/String_sum.cpp
dab441a012a3c8b60cf71830758256eee55e2d62
[]
no_license
IAmBlackHacker/Algorithms
20b6ed270b9d76189caf53bea7c24ff5a53e48f2
40390144917eae7595a7dbe67e6e2c5968be4abc
refs/heads/master
2021-12-07T15:19:50.250123
2021-11-14T15:33:59
2021-11-14T15:33:59
85,853,685
1
2
null
null
null
null
UTF-8
C++
false
false
3,285
cpp
String_sum.cpp
#include<iostream> #include<conio.h> #include<stdio.h> #include<string.h> #include<math.h> #define MAX 10000 using namespace std; //name1>name2 int sadd(char name1[],char name2[],char name3[],int n1,int n2,int d,int rem=0) { int n=(n1+n2)/2; if(n1 != n2) rem=sadd(name1,name2,name3,n+1,n2,d,r...
e2eae8709eda58f842b0f7fe84d931436ed49813
8795c9a13cf38a1b064203033d0b81ea9c23c2bb
/src/host/old/Iso14443aPicc.h
e194da37fa45cdc90d3e2b699f27b2155eba62cb
[]
no_license
0xee/NfcEmu
85dddedc31cb5d62a4b70debd34cfee446465a08
000554863342b73f8b3e7a2736eda5704af38a90
refs/heads/master
2021-01-23T11:09:10.478584
2014-12-05T17:48:10
2014-12-05T17:48:10
23,524,769
15
5
null
null
null
null
UTF-8
C++
false
false
1,449
h
Iso14443aPicc.h
/** * @file Iso14443aPicc.h * @author Lukas Schuller * @date Wed Aug 21 12:14:29 2013 * * @brief Nfc Sniffer class derived from abstract class NfcEmu * */ #ifndef ISO14443APICC_H #define ISO14443APICC_H #include "NfcEmuRole.h" #include <fstream> #include <boost/asio.hpp> using boost::asio::ip::tcp; cl...
ae2e839f20e5aed1a89846a320e24a41f7b31b95
4b0ad6cd4917a6ce4fda0703515b4733c4cc84ac
/applications/NeuralNet/nets/src/similarities.cxx
8e25f7ba22746bb3b8f6e5fafbf816d099c13623
[]
no_license
tciodaro/sonar-analysis
8f089709590dbe6f329e504c69e72408e48c72bf
fd04bd77c63da962ba2b5ea3fab24f113a61a8c9
refs/heads/master
2021-09-06T00:56:33.825318
2018-02-01T04:08:58
2018-02-01T04:08:58
115,443,804
0
0
null
null
null
null
UTF-8
C++
false
false
1,943
cxx
similarities.cxx
#include "../inc/similarities.h" #include <cmath> using namespace std; using namespace nnet; double SquaredEuclidianSim::operator()(double *x,double *y,unsigned int ndim){ double out = 0; for(unsigned int i = 0; i < ndim; ++i){ out += (x[i]-y[i])*(x[i]-y[i]); } return out; ...
4d5b590c643846f9669feea956215d0f5768eea0
275de18444d493ad2bde5b6fb41578f87bc65fae
/ExampleGame/src/ExampleNativeScript.h
fa5b0fa7dcd7de9048b9f26618952dbb4ce570f8
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
00mjk/Cross-Platform-Game-Engine
4eda739d4dd43287e4204ea51cdd16edc2d14865
a2743314d2ca71fc7f722d03994e7850d26d83a3
refs/heads/master
2023-04-14T10:18:37.128338
2021-04-14T16:09:47
2021-04-14T16:09:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
242
h
ExampleNativeScript.h
#pragma once #include "Engine.h" class ExampleScript : public ScriptableEntity { public: void OnCreate() override; void OnDestroy() override; void OnUpdate(float deltaTime) override; private: static ScriptRegister<ExampleScript> reg; };
0f3ab11e26a4b2e98ad9c2b464e4fcce6060fd9d
242d2a4dcc810b5e89d1c110ea67101af7a840d0
/SortVisualizer/stdsort.cpp
b17047332bdbacfca905e9a4efa897537d64fe3d
[]
no_license
Dynamitos/SortVisualizer
c08a13357a57414d748d84d29b99bdd76f8f70aa
c24f41306623fc650b5841641eb6898bf0a36f20
refs/heads/master
2023-01-19T19:49:59.226706
2020-12-03T16:49:28
2020-12-03T16:49:28
109,870,700
1
1
null
null
null
null
UTF-8
C++
false
false
620
cpp
stdsort.cpp
#include "stdsort.h" StdSort::StdSort(bool mt, bool assembly, int delay) : SortAlgorithm(mt, assembly, delay) { this->name = "Std sort"; } void StdSort::sort(float* data, int size) { std::qsort(data, size, sizeof(float), [](const void* a, const void* b) { float arg1 = *static_cast<const float*>(a); float a...
92335d58aaa980b6807714bb7ff5870efc0d8de4
ac0814e3310402883e8229c6b7cb05dcdaf28e08
/Game/GraphicsModule.hpp
ab81fc62f8711ebd5e978d23591f1fc33ecf8110
[]
no_license
KaiqueBressi/RPGSystem
e1cfb533685797b0bc05ccdfaf4455eebc70ded7
4bce336c488e01e2430549e2973f08834fce44f6
refs/heads/master
2021-05-26T18:20:38.515045
2014-03-04T15:41:08
2014-03-04T15:41:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
304
hpp
GraphicsModule.hpp
#ifndef GRAPHICS_H #define GRAPHICS_H #include <SFML/Graphics.hpp> #include <stdio.h> #include "ruby.h" #include "Sprite.hpp" class GraphicsModule { public: GraphicsModule(); void update(); void getFPS(); private: sf::RenderWindow window; sf::Event event; }; void graphicsInit(); #endif
29b62cf9580b7d60a468f129038bff5421623e7c
f966c5b7270bcd6acd324101747d20cb5f73a35a
/robinhood/People.h
25cce9785de55f791c1091478c0effb64194678e
[]
no_license
Enmar123/robinhood
a7f3e3a1155625558fef459e6604a26d043ead4b
17109da1abfdfc016096a12743b242eb1cfa76f4
refs/heads/master
2023-02-19T04:46:42.637905
2020-12-26T08:42:21
2020-12-26T08:42:21
322,810,439
0
0
null
null
null
null
UTF-8
C++
false
false
789
h
People.h
#pragma once #include <list> #include <string> #include "Node.h" struct Move { int x = 0; int y = 0; unsigned int steps = 1; }; class People { public: People(); People(int x, int y); People(int x, int y, int width, int height); void update(); void followMoves(); void followSteps(); int getX(); int getY(...
dc7c70f7182b5f7c3cbc58b2230b9b815d6a46f4
1a8aec92ecaee35aa5be4f076af4dd4dd3655eab
/Contest9/bai01.cpp
82a6498c658c50fef339d941191a03afb228cb5d
[]
no_license
sonnhthtb/Algorithm
d94a74da80a1200c21af03e3cb161269bd184772
c06f3471cf701cb6d0450e4385fa041f4b84eb2b
refs/heads/master
2022-10-26T06:14:09.098776
2020-06-18T06:00:23
2020-06-18T06:00:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
698
cpp
bai01.cpp
#include <bits/stdc++.h> #define ll long long #define pb push_back using namespace std; vector<int> a[100000]; int e, v; void Input() { for (int i = 0; i < 100000; i++) a[i].clear(); cin >> v >> e; } void Solve() { for (int i = 0; i < e; i++) { int x, y; cin >> x >> y;...
a529ef4e92e58590a9d6d7ef489c8aed3cba0181
3959cd7ff411ac696c13cdb9351dc455c4a946c9
/C++/Root Finder GNU/solverMain.cc
3534d0e2706b67e81716b095da33dc85467f9f6b
[]
no_license
tmawyin/ScientificComputing
96a95d53d65489fb3625adf335effe1b1d34b378
f8751f5ffa2723529be9795ce482af07ff5b5955
refs/heads/master
2016-09-06T17:26:33.105884
2015-06-29T20:08:48
2015-06-29T20:08:48
38,267,499
0
0
null
null
null
null
UTF-8
C++
false
false
459
cc
solverMain.cc
// solverRoot main function - runs Newton's and False Position methods #include "solverRoot.h" // Main function int main() { double x_lo = 0.0; double x_hi = 10.0; double x_guess = -5.0; double fpos = solveFalsepos(x_lo, x_hi); double newt = solveNewton(x_guess); std::cout << "False position result = " << fp...
9aafe1f468fbedcd19872c39d0ded7e10ad20b0a
1ae91db02db7635f1ee654cd51a3e184417d18c0
/vor-arduino/vor_light.cpp
27b751b539c506c2152bb59bc7017563381db8c7
[ "MIT" ]
permissive
rajibkumardas/vor
25d5f88dbffa69b365be0a3e166b9ecad49c0393
0397fea806478f61be37dff3af944e17c41b51d8
refs/heads/master
2021-01-02T23:11:16.097824
2017-02-02T10:00:10
2017-02-02T10:00:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
675
cpp
vor_light.cpp
/* AAnalog ambient light sensor. */ #include "vor_light.h" VorLight::VorLight(uint8_t pin) : VorSensor(pin, ANALOG_INPUT) { } float VorLight::process(int value) { // https://www.sparkfun.com/datasheets/Sensors/Imaging/TEMT6000.pdf // 10 K ohm resistor // 20 lx = 10 uA = 0.00001 A = 0.1 V // 1...
10873c715eb93e45e3e86a93c77db285b218a176
8518ddf310e9e90a0219be96eeed776aa10844f2
/Prueba/diLeptonic/src/HistoListReader.h
281830d74ca36f6ba71241b641bb6852a52a3920
[]
no_license
iasincru/usercode
b803371b253f02cf18ef86f16f69ec75db7a05fc
9f97484258be07442263cab97dea959895f7a637
refs/heads/master
2021-01-17T13:15:24.899347
2016-09-21T13:18:10
2016-09-21T13:18:10
10,908,905
0
0
null
null
null
null
UTF-8
C++
false
false
1,392
h
HistoListReader.h
#ifndef HistoListReader_h #define HistoListReader_h #include <vector> #include <map> #include <TString.h> class TH1; struct PlotProperties { TString name; TString specialComment; TString ytitle; TString xtitle; int rebin; bool do_dyscale; bool logX; bool logY; double ymin; d...
29a9174ae62785e4f1ac7e1a9dee0db5e2a94fd1
b85f5e054b72841375c1e2833c4edc860a42a161
/ADS_set.h
463d12f8c71e5acc77fcd194ca092abdb8b05e51
[]
no_license
biropost/extendible_hashing
cc3af6d6b9efba7df27a56f7f17fdb32ac740c74
ff8f4148faa9afcc7ca7dd2e23ff14094ae0e4d1
refs/heads/master
2020-03-29T16:42:47.484295
2018-09-24T15:34:08
2018-09-24T15:34:08
150,125,922
0
0
null
null
null
null
UTF-8
C++
false
false
14,472
h
ADS_set.h
#include <iostream> #include <exception> #include <cmath> #include <functional> #include <string> #include <stdexcept> #include <algorithm> #include <assert.h> #include <utility> using namespace std; class Person; template <typename Key,size_t N = 5> class ADS_set { public: class Forward_it; using value_type = Key; ...
efee1a370dd03dce457e087cd85a42f232c6c87b
e4d601b0750bd9dcc0e580f1f765f343855e6f7a
/kaldi-wangke/src/rnnlm/rnnlm-training.cc
90e520557a12b8e6697174880679a811f7d269e6
[ "MIT", "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
PeiwenWu/Adaptation-Interspeech18
01b426cd6d6a2d7a896aacaf4ad01eb3251151f7
576206abf8d1305e4a86891868ad97ddfb2bbf84
refs/heads/master
2021-03-03T04:16:43.146100
2019-11-25T05:44:27
2019-11-25T05:44:27
245,930,967
1
0
MIT
2020-03-09T02:57:58
2020-03-09T02:57:57
null
UTF-8
C++
false
false
10,613
cc
rnnlm-training.cc
// rnnlm/rnnlm-training.cc // Copyright 2017 Daniel Povey // See ../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http:...
3a11bcc155badc9b3a771046a0083d979d0de324
8d61f433702f109ae7aa16c0b3e06b6d6c1b0501
/WeightCore.ino
0499b844b58c7a448fb41e537a732665d26c691c
[]
no_license
ashwah/WSProtoType
c5092dc90180463657570857dc43de43b567c80e
c7da0f31028f08bf9a5ddf21a99dd17f73e037a8
refs/heads/master
2020-04-04T13:52:51.129737
2018-11-03T13:03:53
2018-11-03T13:03:53
155,978,502
0
0
null
null
null
null
UTF-8
C++
false
false
4,848
ino
WeightCore.ino
/* WeightCore Arduino | HX711 --------+------- 2 | CLK 3 | DAT 5V | VCC GND | GND */ // Include libraries. #include "HX711.h" #include "WiFiEsp.h" #include "SoftwareSerial.h" // Define pins. #define CLK 2 #define DOUT 3 #define RX 4 #define TX 5 // RGB must be pins that function as...
308394ae46a65066a80336bfaa61fa8fbc6944d5
408fcfa54d3f5f3047cceed087f6e5057dc5a1bd
/src/libGBP/Media/MediaInterface.hpp
cde131cd883876e6346f6d6354c28a41c483ddeb
[ "MIT" ]
permissive
CD3/libGBP
a7010dc8a06be232916c6e4599a8f1fa4ebf5999
4fa9d00915f48c71049e714f3dd5f6cb6abca0bc
refs/heads/master
2023-06-28T04:49:46.451130
2022-09-18T16:05:54
2022-09-18T16:05:54
183,546,777
0
0
MIT
2023-06-09T20:32:02
2019-04-26T03:01:10
C++
UTF-8
C++
false
false
566
hpp
MediaInterface.hpp
#pragma once /** @file Media.hpp * @brief * @author C.D. Clark III * @date 07/27/16 */ namespace libGBP { template<typename LengthUnitType> class MediaInterface { public: virtual double getTransmission(boost::units::quantity<LengthUnitType> zi, boost::units::quantity<LengthUnit...
bf3e4e8959097b99cef7960228ce682daf8c48ba
f347eba10a7f3310b0a76cb3687f2e26aab3eb5a
/Classes/LevelLayer.h
c756e5d5f0f06e209d2878956610da821ad9859e
[]
no_license
smrutled/Tilter2dx
3e660a4168e6b05b60131b5399b25e9ca5d8d9b7
061479fe2d25d15f52ab5949a684227e41326401
refs/heads/master
2021-01-23T15:42:08.721850
2013-10-09T07:06:34
2013-10-09T07:06:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
995
h
LevelLayer.h
// // Level1LayerScene.h // Tilter2dx // // Created by Sean on 4/15/12. // Copyright __MyCompanyName__ 2012. All rights reserved. // #ifndef Tilter2dx_Level1Layer_h #define Tilter2dx_Level1Layer_h // When you import this file, you import all the cocos2d classes #include "cocos2d.h" #include "Box2D/Box2D.h" #inc...
d8d00522100a6207e183bab59ea5bb0bbfb732d3
34ac3bdd061f3436c50bb23844aebd21c5a01620
/DuEngine/Init.hpp
cfd048434a9a493cbc351bddc6f226ea53ef0f2c
[ "MIT" ]
permissive
eduardo-gomes/DuEngine
08025648cac3dfc4d8f89073cecd58bdc1520de6
2dda88fd3fc9eec5dbced886ff2c4138e615f650
refs/heads/master
2022-11-29T02:52:50.886168
2020-07-27T22:49:11
2020-07-27T22:49:11
257,038,844
0
0
null
null
null
null
UTF-8
C++
false
false
388
hpp
Init.hpp
#include <string> #include <DuEngine/visibility.hpp> //Function to start and stop //Create Window with title WindowName and enter MainLoop //if fail return false bool DUENGEXT Start(const std::string &WindowName, int AUDIO = 0); //Exit mainLoop void DUENGEXT Stop(); //External init callback run after window creation...
74f60a10ebbe3aa8a020e3384c3ab15f268b060e
e87b1b61da03291c68b890ec01e8ca6dbd7c1743
/src/main.cpp
c693a75b371724ff12a607bc02133037e674f207
[ "MIT" ]
permissive
jess-sys/nfc-mqtt
871f8f602e126f79fc9b3d319edb809568457007
de99e27dbb27493db20d76805c9dcbdb42b76abb
refs/heads/master
2023-01-01T21:37:41.310170
2020-10-24T00:30:20
2020-10-24T13:27:13
306,773,289
0
0
null
null
null
null
UTF-8
C++
false
false
695
cpp
main.cpp
#include <Arduino.h> #include <WiFi.h> #include <PubSubClient.h> #include "WiFiHandler.h" #include "MQTTHandler.h" #include "CustomTypes.h" // Create WiFI and MQTT objects WiFiClient WirelessClient; PubSubClient MQTTClient(WirelessClient); // Global variables - state, timestamp for async actions STATE_t state; long ...
75616648e9f0df2ac98955133c41cf6f58be1abc
92623f41efd452129cba9940556cca4fafb9e8fa
/Heap/06 - Merge K sorted linked lists_nklogk.cpp
d4d3209bc372521b799b82c7b5db566a42b7c118
[]
no_license
Vikas-Jethwani/Geeks4Geeks-Solutions
a693d4855f914cd6d2d594735524e742b9de8cb8
0118337870d6dab6bcda76aa04b9f2cf2bd149d7
refs/heads/master
2021-09-26T22:51:15.208863
2020-08-05T14:52:34
2020-08-05T14:52:34
192,599,371
0
0
null
null
null
null
UTF-8
C++
false
false
1,796
cpp
06 - Merge K sorted linked lists_nklogk.cpp
// Fall 7 times and Stand-up 8 #include <bits/stdc++.h> // StAn using namespace std; // A Linked List node struct Node { int data; Node* next; Node(int x) { data = x; next = NULL; } }; Node* mergeKLists(Node* arr[], int N); void printList(Node* node) { while (node != NULL) ...
56dc973844ac4df21547854f9b6e03219fea5a17
66880b4c06bf662d058b1184642e9f052779ea9e
/frameworks/compile/mclinker/lib/Script/Operator.cpp
e50a255149f309c05b6f13a4c4b227ea0a883086
[ "NCSA" ]
permissive
ParkHanbum/dex2ir
afa195163a048efa01c1cbd44c90ffd84565d053
a4cc0fe939146ca258c50a6b52b8fa09313f5eb4
refs/heads/master
2022-07-02T20:28:19.323269
2022-05-30T09:22:33
2022-05-30T09:22:33
247,693,944
51
16
null
null
null
null
UTF-8
C++
false
false
6,717
cpp
Operator.cpp
//===- Operator.cpp -------------------------------------------------------===// // // The MCLinker Project // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------------------...
9f88b1a7e2fd64ff28177402dd9c37ab49cea131
a3ff6cc4a447fe058afca72c527e5737f4e3975b
/WellSimulator/WellSim/include/Typedefs.h
599aac72509c6961fa696cee45f65d46a97947aa
[ "MIT" ]
permissive
OpenSim-Technology/welldrift
120f64e31730d955281e2351e176ebe89dd080e5
57fe6c2f5a5caea18c5e29fb1b17f6f29a59a98e
refs/heads/master
2021-09-14T08:35:58.359507
2018-05-10T14:33:26
2018-05-10T14:33:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
293
h
Typedefs.h
#ifndef H_TYPEDEFS #define H_TYPEDEFS namespace WellSimulator { typedef double real_type; typedef unsigned int uint_type; //typedef WellSimulator::WellVector vector_type; typedef std::vector<double> vector_type; typedef NodeCoordinates coord_type; } #endif
f54562bddcfb52796ce349fd0f0928cc747c746b
3a313c1fb38fd79ecda5d78221cfe2892d50c7ab
/枚举/画家问题.cpp
b4db7c37cbf41a60a00c7ccb4c21ecd9b03b2d6e
[]
no_license
Zebartin/Practice_of_Programming
e87a9db33af209f12611a04e73a037f8c565f56b
91db1f9b182d9440b8b4947989b3eb5ea194a9c8
refs/heads/master
2021-01-18T21:20:32.588854
2016-05-19T15:49:23
2016-05-19T15:49:23
53,711,859
0
0
null
null
null
null
UTF-8
C++
false
false
1,389
cpp
画家问题.cpp
#include <stdio.h> #include <memory.h> using namespace std; int n,board[16][17],paint[16][17]; bool judge() { for(int i=1; i<n; ++i) for(int j=1; j<=n; ++j) paint[i+1][j]=(board[i][j]+paint[i][j]+paint[i-1][j]+paint[i][j-1]+paint[i][j+1])%2; for(int j=1; j<=n; ++j) if(board[n][j]!=(p...
de352bb5569dd4ec35a97eb6a290878302412846
73236087397e024e14f9957af6955503b3466e7a
/src/http/HttpContext.h
94b6ede8ae7e0c200b3f92c1924aa6b58332521f
[ "MIT" ]
permissive
CinderoNE/TcpServer
88e886329c1659531113810ccd1f2afea7fdeac5
93c37e525105389c240b4de4f967cb66f0ead8b1
refs/heads/master
2023-07-17T07:27:34.563416
2021-08-27T09:45:11
2021-08-27T09:45:11
386,088,042
1
0
null
null
null
null
UTF-8
C++
false
false
1,610
h
HttpContext.h
#pragma once #ifndef _HTTP_CONTEXT_H_ #define _HTTP_CONTEXT_H_ #include"../Buffer.h" #include"../Timestamp.h" #include"../Timer.h" #include"HttpRequest.h" #include<memory> #include<iostream> class HttpContext { public: using ShutdownTimer = std::weak_ptr<Timer>; using SPTimer = std::shared_ptr<Timer>; e...
a3e556bf931c4a3b3a572fa2aa0050e6e0097c60
2308d7c7950249e312c7ee0022e46be43d2d7112
/C_Workspace/ArrayPartition/ArrayPartition/main.cpp
04b9240fc2bf29ffc895ba4210d7322476b23b56
[]
no_license
EricWenyi/Eric_recent_work
7a46607b789477aa69fec398935b80adf2278af4
12bac03005358364df17fec3ad3b1e0302be1d91
refs/heads/master
2020-04-06T05:13:57.811363
2017-11-15T18:57:45
2017-11-15T18:57:45
44,515,624
0
0
null
null
null
null
UTF-8
C++
false
false
577
cpp
main.cpp
// // main.cpp // ArrayPartition // // Created by 邬文弈 on 2017/8/2. // Copyright © 2017年 Eric. All rights reserved. // #include <iostream> #include <vector> using namespace std; class Solution { public: int arrayPairSum(vector<int>& nums) { int res = 0; sort(nums.begin(),nums.end()); f...
cdec9a2a5f34af4d9bd745e047cf23558688ffdd
ac75c25f8a4092b124c19a9956f365b5bd7879ab
/HawaiianAlphabet.cpp
9cc32af58f43adeca8fd56c49619c874654eba49
[]
no_license
kaushcho/data_structures
4e58f4297d0cdfb8d5f783e3b2b989e42efc7e82
6edd0a981223e0a262bc3fd3785d7b1e903cb93a
refs/heads/master
2021-01-20T06:30:44.331617
2017-05-01T01:45:36
2017-05-01T01:45:36
89,888,021
0
0
null
null
null
null
UTF-8
C++
false
false
1,358
cpp
HawaiianAlphabet.cpp
#include <iostream> #include <string> #include <unistd.h> using namespace std; int main() { string Input; char *InputChar; bool flag = false; while(Input != "Ahuihou") { cout<<"\tEnter word (let's see if you know any Hawaiian words)"<<endl; cin>>Input; InputChar = const_cast<char*>(Input.c_str(...
d7e8088b529db321941f86a928aa0482a4e20381
9f1c4be5e964218d161423f1eebcd43b548a5456
/QWinApp/QMainFrame.cpp
fb6c8b75f789aa82a79f048c31e2c92049795268
[]
no_license
Jeanhwea/WindowsProgramming
914f542b6e1555cb2118a63d1a24154bb52fe133
432545e5b5576d010fbbeb5ceacb310c73668cad
refs/heads/master
2021-01-10T16:34:34.183295
2016-02-24T12:21:25
2016-02-24T12:21:25
48,323,880
2
0
null
null
null
null
ISO-8859-7
C++
false
false
1,022
cpp
QMainFrame.cpp
#include "QMainFrame.h" QMainFrame::QMainFrame(void) { } QMainFrame::~QMainFrame(void) { } // message handler LRESULT QMainFrame::OnClose(WPARAM wParam, LPARAM lParam) { return ::DefWindowProc(m_hWnd, WM_CLOSE, wParam, lParam); } LRESULT QMainFrame::OnDestroy(WPARAM wParam, LPARAM lParam) { PostQuitMessag...
6c98e54e268ea8ced090590539da2ed0ce3b16d6
bfc60cc7c4bf9255c0c1b82f759fee1eefa75253
/LEETCODE/Stack and Queue/Q739. Daily Temperatures.cpp
2315423850816ffc9ca5635cb6e7a995a9a81f09
[]
no_license
anushkaGurjar99/Data-Structure-and-Algorithms
aaffdd1dfaf0bdb27c070abd7f9b6b2ae540632a
c3d11d3b344b4041cd6137e857ce4d2cbef77daf
refs/heads/master
2023-01-03T22:52:22.919771
2020-10-19T12:01:48
2020-10-19T12:01:48
239,680,964
1
1
null
null
null
null
UTF-8
C++
false
false
1,346
cpp
Q739. Daily Temperatures.cpp
/* * Author : Anushka Gurjar * Date : March 2020 * flags : -std=c++14 */ #include<bits/stdc++.h> using namespace std; // Problem Statement: https://leetcode.com/problems/daily-temperatures class Solution{ public: vector<int> dailyTemperatures(vector<int>& T) { vector<int> result(T.size(), 0); ...
853641ee82832980ffd90afb53652274b8de216b
6d5875871454bbb65869774b6321ce5da0f1f893
/client/login.cpp
9a2607fbbb9b18dba5eaadbda9150c4bf062cf82
[]
no_license
Septerxy/BUPT_Program_Design_Practice
866ec6ff08c861f83e04a751d34deeb499ccd2d6
c231f5a97aa0a601172a78ae4d96aae7171ed69b
refs/heads/main
2023-02-12T10:31:32.944282
2021-01-09T12:37:41
2021-01-09T12:37:41
328,150,985
1
1
null
null
null
null
UTF-8
C++
false
false
5,459
cpp
login.cpp
/***************************************************************** * Copyright (c)2020, by Septer(Xiong Yu), Beijing University of Posts and Telecommunication * All rights reserved. * FileName: login.cpp * System: 2048 * SubSystem: 2048 * Author: Septer(Xiong Yu) * Date: 2020.11.1 *...
51d15728f7a894a2ac686cfa161b45aacb840ca7
9df777c7033af22f9755fc50d712e783d9cabb6f
/mainwindow.cpp
2ebd13a08a0c7db9f6af96706a4f6b37a6700dbf
[]
no_license
WuMengJun/DogMonitor
090fc2ef0c9f21babb1dfb240e815f57084f5592
a45b8d838de6b3e9561be0a5440be34c5942be8c
refs/heads/master
2020-07-05T00:12:15.613419
2019-08-15T03:20:56
2019-08-15T03:20:56
202,465,638
0
0
null
null
null
null
UTF-8
C++
false
false
550
cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" void MainWindow::setMonitor(SystemDeviceMonitor *monitor) { m_monitor = monitor; handleDog(monitor->dogName()); connect(m_monitor, &SystemDeviceMonitor::dogFounded, this, &MainWindow::handleDog); } MainWindow::MainWindow(QWidget *parent) : ...
5d2012bba07c334121a7ec942dcaa366a8e7d888
03b5b626962b6c62fc3215154b44bbc663a44cf6
/src/sql/sql_BEGIN.cpp
ffe248434d602b06c185841b239fd9c46200c0f4
[]
no_license
haochenprophet/iwant
8b1f9df8ee428148549253ce1c5d821ece0a4b4c
1c9bd95280216ee8cd7892a10a7355f03d77d340
refs/heads/master
2023-06-09T11:10:27.232304
2023-05-31T02:41:18
2023-05-31T02:41:18
67,756,957
17
5
null
2018-08-11T16:37:37
2016-09-09T02:08:46
C++
UTF-8
C++
false
false
175
cpp
sql_BEGIN.cpp
#include "sql_BEGIN.h" int Csql_BEGIN::my_init(void *p) { this->name = "Csql_BEGIN"; this->alias = "sql_BEGIN"; return 0; } Csql_BEGIN::Csql_BEGIN() { this->my_init(); }
8a88c4b4df3fc29c420ec01322e386d4d6b8a914
b1fdcab7f9026d8ea65cf2f3ccbb0070ebed395e
/question1042/C++/question1042.cpp
84f27ba2c1fafcefdc968ba6eaf11c3c39fa5dbc
[]
no_license
617076674/PAT-BASIC
84d46d164c885b12f1eab7bcf62f39bb71cd1b36
de490e89a2baab208f11da615e9c432ff6ff1106
refs/heads/master
2020-04-02T01:38:07.865896
2018-12-12T15:57:02
2018-12-12T15:57:02
153,866,955
4
0
null
null
null
null
UTF-8
C++
false
false
590
cpp
question1042.cpp
#include<iostream> #include<string> using namespace std; int main() { string input; getline(cin, input); int count[26]; for (int i = 0; i < 26; i++) { count[i] = 0; } for (int i = 0; i < input.length(); i++) { if (input[i] >= 'a' && input[i] <= 'z') { count[input[i] - 'a']++; }else if (input[i] >= '...
f5af820f7155364949e47b4cf0fb95af29b7be42
85fe92521f2c47fb02d272edd92c5fccc3130212
/ent/src/yb/master/master_backup_service.cc
32cf2e468c8b2a81f7bf82ad4b6f456c8a6af8f5
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "OpenSSL" ]
permissive
ndeodhar/yugabyte-db
960de74644f7fb6d91acdb588191ceb79ddde2f7
2eff2f0690226750e5f36ecc590699a04cb017c7
refs/heads/master
2021-07-10T17:41:21.257610
2020-07-30T21:52:50
2020-07-30T21:52:50
170,206,692
0
0
Apache-2.0
2019-02-11T21:40:25
2019-02-11T21:40:25
null
UTF-8
C++
false
false
2,887
cc
master_backup_service.cc
// Copyright (c) YugaByte, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writ...
af56c93fcfe3a969b77722e685c8c986f45c6880
77a370c418b4e1d6a573838cf71aebfc7c45c636
/managers/managerdevices.cpp
df1d905c6ea6695739babcc7e8653bd821a349fd
[]
no_license
maluginp/tsunami-optimus
8cc3a83f99d478c88da6a2874ec268adb0adbac0
a059ed6479c179692271760654e9f29ee7e2e0b5
refs/heads/master
2016-09-06T14:55:12.694739
2013-06-01T17:08:14
2013-06-01T17:08:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
69
cpp
managerdevices.cpp
#include "managerdevices.h" ManagerDevices::ManagerDevices(){ }
9fc42f28e135c373b7b31284c82e00af96e0b05f
242b22bc85b3ef88e7d541d3d62bd2a0f2ede363
/lib/generator/object/DoubleTallPlant.cpp
2c01672a4bdb7ffc206812fde1dc562ab9df4bae
[ "MIT" ]
permissive
ajunlonglive/ext-vanillagenerator
7df11a19d574f1c309ecd1c71611bf26c9afa786
56fc48ea1367e1d08b228dfa580b513fbec8ca31
refs/heads/master
2023-08-16T00:56:57.345612
2021-09-11T17:10:36
2021-09-11T17:10:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,087
cpp
DoubleTallPlant.cpp
#include <lib/objects/constants/BlockList.h> #include "DoubleTallPlant.h" bool DoubleTallPlant::Generate(ChunkManager &world, Random &random, int_fast32_t sourceX, int_fast32_t sourceY, int_fast3...
b6348980ee48ba4a456fa63f8a694e741c31e7f3
3312a73b934072b40e859287dea96fa43a674c27
/Solution/Hydra/WaypointManager.cpp
be217911113d9e3364b74ee7e04f0a2859aee225
[]
no_license
bullfrognz/Aegis
cfea2ffb185c728aa9f77fd877bc81daad8394e5
fd74317137f527ea8b95d1371f9c2ec02ddcd071
refs/heads/master
2020-12-24T14:35:24.287450
2014-05-25T02:41:32
2014-05-25T02:41:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,243
cpp
WaypointManager.cpp
// // Diploma of Interactive Gaming // Media Design School // Auckland // New Zealand // // (c) 2005 - 2011 Media Design School // // File Name : WaypointManager.cpp // Description : Definition of CWaypointManager // Author : Jade Abbott // Mail : jade.abbott@mediadesign.school.nz // // This include. #include "Waypo...
a834e009aff02146e43e0f6161ecb66acedb9fd0
22ecb9fce47102845ff060eadcfa0e04391027e0
/Projekty Prata C++ CodeBlocks/5.7cw/main.cpp
7a87444e34c2c29aeda79ffeb43e82fc1c018787
[]
no_license
piterbuchcic1990/Programming-C-plus-plus
c0073d40678fda6b45f0de933ddabcd0a5458ed5
d3ecea0e72d77dbd03cf67a6c9f6176cc67e8298
refs/heads/master
2021-06-12T12:12:49.021473
2017-02-09T15:13:14
2017-02-09T15:13:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
585
cpp
main.cpp
#include <iostream> using namespace std; struct auta{ string marka; int rok_budowy; }; int main() { int ile; cout<<"Ile samopchodow chcesz skatalogowac? "; cin>>ile; auta *wsk=new auta[ile]; for(int i=0;i<ile;i++) { cout<<"samochod #"<<i+1<<":"<<endl; cout<<"prosze podac marke:...
c44501b934a3c14ea86c21c1fb6e04137857c378
ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c
/out/release/gen/content/common/renderer.mojom-params-data.h
1220f158c652b3a1877911ceb536f0a86e8b63eb
[ "BSD-3-Clause" ]
permissive
xueqiya/chromium_src
5d20b4d3a2a0251c063a7fb9952195cda6d29e34
d4aa7a8f0e07cfaa448fcad8c12b29242a615103
refs/heads/main
2022-07-30T03:15:14.818330
2021-01-16T16:47:22
2021-01-16T16:47:22
330,115,551
1
0
null
null
null
null
UTF-8
C++
false
false
42,819
h
renderer.mojom-params-data.h
// content/common/renderer.mojom-params-data.h is auto generated by mojom_bindings_generator.py, do not edit // Copyright 2019 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 CONTENT_COMMON_RENDERER_MOJOM_PARAMS...
ddda67a8db6478b8b5b1ef077e6ba20fe6eefae0
09ecd4326593aa43126461ebbd45de265536ea5e
/LongestValidParenthesis.cpp
d50875ea5fe2d96272dab3abb6bbd370d5876be3
[]
no_license
Shivamj075/CodeForBetter
ad47e0875144191124becce672ca579091b77254
0815c50bec4b2a354b2adeeb9f928727cf5eedb4
refs/heads/master
2020-09-15T18:34:22.990538
2020-04-15T06:45:53
2020-04-15T06:45:53
223,528,241
0
0
null
null
null
null
UTF-8
C++
false
false
922
cpp
LongestValidParenthesis.cpp
int Solution::longestValidParentheses(string A) { //stack<char> s; vector<int> dp(A.size(),0); dp.clear(); int i=0,n=A.size(); while(i<n){ if(A[i]=='('){ i++; continue; } else if(i>0 and A[i]==')'){ if(A[i-1]=='('){ if(i-2>=0) ...
0ae5a43373bd1fdf19fe3298a084d7da3ecbdc2f
ca98fb67c9b92aea3ee818b53de7a2bb11b9f38f
/Assignments/one_Zhang Zhexian_1001214/distrib/curve.cpp
01544c03a3bc54af128433bafaa38cf736030dcc
[]
no_license
zhexxian/SUTD-Graphics-and-Visualisation
878c0b5b1794d323c5f6e4827385393407d4db14
b7cd889dcee453712a6e38a1e2ac7659e1d08567
refs/heads/master
2021-06-13T16:24:24.018846
2017-05-05T07:50:07
2017-05-05T07:50:07
90,349,964
1
0
null
null
null
null
UTF-8
C++
false
false
11,727
cpp
curve.cpp
#include "curve.h" #include "extra.h" #ifdef WIN32 #include <windows.h> #endif #include <GL/gl.h> using namespace std; namespace { // Approximately equal to. We don't want to use == because of // precision issues with floating point. inline bool approx( const Vector3f& lhs, const Vector3f& rhs ) { ...
0270cd21bf761920248c2fb523c5dccb117ec132
cdc21f32788027d73ebb21ea8e374ebdf9eb9926
/MonteCarlo/source/SEMonteCarloDescriptor.cpp
a467f6a4c9648c089ce366fc293b1c102d4193e8
[ "BSD-3-Clause" ]
permissive
1A-OneAngstrom/SAMSON-Developer-Tutorials
5d98d076cc349a2b66c27a2d6f0d6169a98b4fa8
a7261bf25591f68cc2e0471078680d68e0d89c93
refs/heads/master
2022-05-28T02:59:56.441474
2022-05-23T12:45:50
2022-05-23T12:45:50
159,808,214
4
0
null
null
null
null
UTF-8
C++
false
false
1,011
cpp
SEMonteCarloDescriptor.cpp
/// \headerfile SEMonteCarloStateUpdaterDescriptor.hpp "SEMonteCarloStateUpdaterDescriptor.hpp" #include "SEMonteCarloStateUpdaterDescriptor.hpp" /// \headerfile SEMonteCarloStateUpdaterPropertiesDescriptor.hpp "SEMonteCarloStateUpdaterPropertiesDescriptor.hpp" #include "SEMonteCarloStateUpdaterPropertiesDescriptor.hp...
b4f5ceb2814fdb813eeab36dc072fdf554524d49
850a39e68e715ec5b3033c5da5938bbc9b5981bf
/drgraf4_0/Allheads/Inter_c1.h
04f250a1d1fc060d0b79ad5848571476b794e5af
[]
no_license
15831944/drProjects
8cb03af6d7dda961395615a0a717c9036ae1ce0f
98e55111900d6a6c99376a1c816c0a9582c51581
refs/heads/master
2022-04-13T12:26:31.576952
2020-01-04T04:18:17
2020-01-04T04:18:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,914
h
Inter_c1.h
// Inter_C1.h : header file // #ifndef _INTER_C1_H #define _INTER_C1_H //#undef AFX_DATA //#define AFX_DATA AFX_EXT_DATA #include "drcurve.h" //#include "DListMgr.h" #include "Def_Type.h" #include "Def_CuPS.h" ///////////////////////////////////////////////////////////////////////////// // CM...
41affa9c52398064087013f7fd359edcf7e30b0d
128f421b78732df43558ba1b3e34837060667fbc
/HyperchainCore/plugins/common/noui.h
41eebbf494c372d680d46dccd03bbc9f30f94566
[ "MIT" ]
permissive
paralism/Paralism
8cdaa4e5ddc97ffce77dd5bfb74874a2d420cc44
4dcffd7389193a18064c26dd285c19ccf5a44531
refs/heads/master
2023-07-19T13:14:58.480765
2023-07-11T01:18:09
2023-07-11T01:18:09
159,655,918
1
0
null
2020-08-09T09:36:44
2018-11-29T11:31:13
C++
UTF-8
C++
false
false
3,584
h
noui.h
/*Copyright 2016-2022 hyperchain.net (Hyperchain) Distributed under the MIT software license, see the accompanying file COPYING or?https://opensource.org/licenses/MIT. Permission is hereby granted, free of charge, to any person obtaining a copy of this? software and associated documentation files (the "Software"), to...
118eb31b3863b43773690cc9e06244061b354f08
9dc808a1bee9f599deccec477b72c0354fb9d858
/Bridge/v2drawing.hpp
6ea191905a6e0b72322644b8e8eb8bee2bc7471e
[]
no_license
juliazhuzhu/cplusplus_study
739705c084a6a22f752b5e0be6c20971c271b0d8
a173a27eed79f903e20c9604969cbaf11d7725df
refs/heads/master
2021-05-12T11:33:16.119304
2020-02-13T04:02:53
2020-02-13T04:02:53
117,391,081
0
0
null
null
null
null
UTF-8
C++
false
false
417
hpp
v2drawing.hpp
#ifndef __V2DRAWING__HPP #define __V2DRAWING__HPP #include <stdio.h> #include "drawing.hpp" class V2Drawing: public Drawing{ public: virtual void drawLine(double x1, double y1, double x2, double y2){ printf("printf v2 drawLine %f %f %f %f\n", x1, y1,x2, y2 ); } virtual void drawCircle(double x, d...
46272e67b2a7c8bad6008b572648009f311637fb
0aa7354541daa958f1d88a31cde06fbba66a2260
/include/km/RsaKey.hpp
8584786df704b21c75797a9f081923b99692442f
[ "MIT" ]
permissive
Wicker25/keymaker-alpha
e7749ff1316dfde189e51c5a67480c75ff97e5c1
ffe5310ed1304654ff4ae3a7025fff34b629588b
refs/heads/master
2021-06-17T13:10:08.997204
2017-06-08T17:53:18
2017-06-08T17:53:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
930
hpp
RsaKey.hpp
/*! * Title ---- km/RsaKey.hpp * Author --- Giacomo Trudu aka `Wicker25` - wicker25[at]gmail[dot]com * * Copyright (C) 2017 by Giacomo Trudu. * All rights reserved. * * This file is part of KeyMaker software. */ #ifndef __KM_RSA_KEY_HPP__ #define __KM_RSA_KEY_HPP__ #include <km.hpp> #include <km/Exception.hpp...
daa0da828de446f3102b68174fa21599333d69c1
fc3bca040602fd6cb1f208369d0dcb59ac261584
/R3_Source/Hazards/MagnitudeModels/RUserDefinedMagnitudeModel.h
89dbe99fd13dc601d1018cd0d48cc1a8eda663c0
[]
no_license
rccosta1/R3
907cc42fe541609f3e76c9e23d6d6aed0362642b
082542ee1d0d1461814a44c3b4ebc55a73918616
refs/heads/main
2023-06-03T17:56:54.415562
2021-06-29T20:33:22
2021-06-29T20:33:22
381,476,642
0
0
null
null
null
null
UTF-8
C++
false
false
1,065
h
RUserDefinedMagnitudeModel.h
#ifndef RUserDefinedMagnitudeModel_H #define RUserDefinedMagnitudeModel_H #include "RModel.h" #include "RContinuousRandomVariable.h" #include "RParameter.h" #include "RResponse.h" #include "RTime.h" class RUserDefinedMagnitudeModel : public RModel { Q_OBJECT Q_PROPERTY(QString XPoints READ getXPoin...
bf43dc795c4a453ea3863eaca499f91e75e51291
604838d93fc6c9a7df1db59856126da74abc2853
/Game/Entities/CastLight.cpp
d0adeda938d90ae58012ce541b5c61e6127eab1c
[]
no_license
mbellman/dungeon-crawler
b7a4f78e418eda7dd47b0a549d05e213b0fc059a
b73afbffdad6d300f70ce37b61c18735f8932c38
refs/heads/master
2020-04-28T07:11:30.848512
2019-05-11T16:17:59
2019-05-11T16:17:59
175,083,562
0
0
null
null
null
null
UTF-8
C++
false
false
1,279
cpp
CastLight.cpp
#include <Entities/CastLight.h> #include <GameUtils.h> #include <SoftEngine.h> #include <Helpers.h> /** * CastLight * --------- */ CastLight::CastLight(const Soft::Vec3& spawnPosition, const Soft::Vec3& direction, const Soft::Camera* camera, Soft::TextureBuffer* texture) { this->spawnPosition = spawnPosition; thi...
38c22b9e14a26b2bace3ed969142d115288d13ff
454e2f3fa0c95cc8d63ad393cba26f8724724eb4
/lab-05-abstract-factory-pattern-applefactory/floor.cpp
5553ad090d79bd96f6869c660eaf30a8aeb59a2e
[]
no_license
gojiman23/stuff
fade970d47e00d0c7a5fd24a36cb8a8a980aba79
3f45360f8a703aab7c980343a22c2c4a043b28df
refs/heads/master
2021-05-03T14:20:41.660994
2018-02-22T03:19:28
2018-02-22T03:19:28
120,523,330
0
0
null
null
null
null
UTF-8
C++
false
false
165
cpp
floor.cpp
#include "floor.h" #include <math.h> Floor::Floor(Base *data){ this -> data = data -> evaluate(); } double Floor::evaluate(){ return floor(this -> data); }
dc18178e59cd5bc86dce1d84d852cc869e771904
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/httpd/gumtree/httpd_new_log_5350.cpp
f0328db82e255132c54b0fe0a66041945ab20a3d
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
169
cpp
httpd_new_log_5350.cpp
ap_log_error(APLOG_MARK, APLOG_CRIT, rv, ap_server_conf, APLOGNO(00279) "apr_thread_join: unable to join the start " "thread");
fe5ca1e8d895d667a7e95bdf30f5520bb410b53b
1d6175b89c9b7a1de6d97ac83fc31660c18aa880
/src/MoveBehavior.cpp
f12577d9e9c90361bbf34c04bd2e78767a8aa4e1
[]
no_license
rayy1218/game_study
53af641a30499c94271e8d6eb3f6d7dde82e4320
3fa089ae09f17fcf798d8dd65f4a080a93862ed0
refs/heads/main
2023-06-24T08:15:36.407615
2021-07-19T14:41:46
2021-07-19T14:41:46
362,331,876
0
0
null
null
null
null
UTF-8
C++
false
false
292
cpp
MoveBehavior.cpp
#include "main.hpp" MoveBehavior::MoveBehavior(Entity *self): self(self) {} MoveBehavior::~MoveBehavior() {} bool MoveBehavior::doMoveEntity(int to_x, int to_y) { if (!game.map->canWalk(to_x, to_y)) {return false;} self->setX(to_x); self->setY(to_y); return true; }
331bb2919b7d2e99c9eca12d450ba4097ed58526
ea89e225c1946d3f6aae6995d003449d52f88c56
/manage_grade.h
72aa876c0b93a55fe25f65c0aebbca29c5701c96
[]
no_license
hooray1998/SC_System
cc698c08f1f5c2d393ac41dbb490ef2d35cd73d4
c09bb210634b37ee162fb99923a55ad0676332ab
refs/heads/master
2020-05-30T12:16:27.706483
2019-06-01T12:28:00
2019-06-01T12:28:00
189,729,186
4
0
null
null
null
null
UTF-8
C++
false
false
515
h
manage_grade.h
#ifndef SCOREMANAGE_H #define SCOREMANAGE_H #include <QWidget> namespace Ui { class manage_grade; } class manage_grade : public QWidget { Q_OBJECT public: explicit manage_grade(QWidget *parent = 0); ~manage_grade(); private slots: void on_insertButton_clicked(); void on_deleteButton_clicked(); ...
f6ec25ff3971de61fe750cf716b74306f7fe1e8e
04b1803adb6653ecb7cb827c4f4aa616afacf629
/remoting/base/grpc_support/grpc_authenticated_executor.h
d28d92ebab04cbca260885af512d3bdbf0eecb56
[ "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,536
h
grpc_authenticated_executor.h
// Copyright 2019 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 REMOTING_BASE_GRPC_SUPPORT_GRPC_AUTHENTICATED_EXECUTOR_H_ #define REMOTING_BASE_GRPC_SUPPORT_GRPC_AUTHENTICATED_EXECUTOR_H_ #include <memory> #in...
728ab0a327a2f31d47fa27b362cb376035539a15
dcfa321edefa923991b81f6157031d435fad7180
/Engine/Graphics-Engine/src/shape.h
6a7b27ea965e689761a2c8bab6f805d03fcf22e4
[]
no_license
Hernibyte/-Graphics-Engine
01254c447c11fa7351f451ec3b8701036531a494
e9d3c7a78b4c58e9921e578b10126b381dca197e
refs/heads/master
2023-02-04T04:17:00.436459
2020-12-18T12:05:50
2020-12-18T12:05:50
289,265,680
0
0
null
null
null
null
UTF-8
C++
false
false
269
h
shape.h
#ifndef SHAPE_H #define SHAPE_H #include "Includes.h" #include "Entity2D.h" class GENGINE_API Shape : public Entity2D{ private: int type; int tam; public: Shape(Renderer* _render, int _type); ~Shape(); void setBufferData(); }; #endif // !SHAPE_H
6a68a6ff50cab31eb6e69fc5422aa46950992b8c
6196a0b5b3555630f00263ff5ebb2ae6254ea9f7
/FEBioMech/FESymmetryPlane.cpp
3a85137ebdb2a4333bf814d6749d7c537c8244ce
[ "MIT" ]
permissive
davidlni/FEBio
433f8125dea040232ffaa1fd9657f26781b04a53
c94a1c30e0bae5f285c0daae40a7e893e63cff3c
refs/heads/master
2023-08-15T22:19:19.334333
2021-09-28T21:18:26
2021-09-28T21:18:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,868
cpp
FESymmetryPlane.cpp
/*This file is part of the FEBio source code and is licensed under the MIT license listed below. See Copyright-FEBio.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obtaining ...
83d01a999182f0e85b340e59b96f3e567e16b63c
1ec567d20c92990ea731f4eb3aaf5443dcae62bd
/src/entity.h
03f7970fdc4364c215e0b66518c7df8ca267dee2
[]
no_license
CollazzoD/2d-Shoot-Em-Up
7ff330464d59e9b94abe6ad23135e28da9870144
3515a287fb9d9439b9fffa600122317516ae8ee2
refs/heads/master
2022-09-14T07:12:04.295696
2020-05-25T17:24:02
2020-05-25T17:24:02
263,990,531
0
0
null
null
null
null
UTF-8
C++
false
false
900
h
entity.h
#ifndef ENTITY_H #define ENTITY_H #include "texture.h" #include <SDL2/SDL.h> #include <string> class Entity { public: Entity(Texture *texture, const float &x = 0, const float &y = 0, const int &speed = 0, const float &dx = 0, const float &dy = 0, const int &health = 1); ~Entity(); Entity(const...
07f7bd8bd036920fefb4ffa0d259dd2bf86eb77b
aadf84f38c77e9b0894492301499e8f95e1ef114
/string/string_out_write_triangle.cpp
6b479dcaa9b3c5f2c3c3858a82905e1cf4011185
[]
no_license
linrakesh/cpp
9310c8d28d488c42b93c0552c08d1ec2f4c25c4f
d176d9c42502d315d931600cabaf01dad54d9d7a
refs/heads/master
2020-03-11T23:42:27.246353
2019-12-18T14:45:48
2019-12-18T14:45:48
130,329,672
0
2
null
null
null
null
UTF-8
C++
false
false
257
cpp
string_out_write_triangle.cpp
#include<iostream> using namespace std; int main() { char string[100]="ProgrammingFun"; int i; for(i=1;i<=14;i++) { cout.write(string,i); cout<<endl; } for(i;i>=1;i--) { cout.write(string,i); cout<<endl; } return 0; }
f2840d7379102f7aba3653e94d0a9df929849361
31d24ee6b69aa2905ce5de5077443eb0de41b575
/LinkedList/SINGLY LINKED LIST/Practice Problems/Segregate Even & Odd Nodes In Linked List.CPP
8c34cb31c3c9deeff15bff8b7c95307627525060
[]
no_license
imthearchitjain/Data-Structures
07149c12258babdc5527399d366014db875304a0
1ae0820d4988117f453a306ffc5081cff2c82201
refs/heads/master
2020-07-22T08:20:48.260575
2019-11-14T06:18:53
2019-11-14T06:18:53
207,129,127
0
0
null
null
null
null
UTF-8
C++
false
false
1,852
cpp
Segregate Even & Odd Nodes In Linked List.CPP
#include <iostream> using namespace std; class node { public: int data; node *next; }; int length(node *head) { int length = 0; while (head != nullptr) { length++; head = head->next; } return length; } void printlist(node *head) { while (head != ...
907a4baa127ea6a20d54623028b26c1536698dd9
dc46998ed26cdcb6346226866d26192f80f3c763
/CodeSpinalCordArduino/sketch_SnakeSpinalCord07/sketch_SnakeSpinalCord07.ino
c40358b47d0cd0f8de8fcf5153431494c0bdb46c
[ "Apache-2.0" ]
permissive
manukautech/XMSnakeRobot
309a68368aa69e982d78fafe7927ae75b0209415
894c0febdcca47c9c2dfb425312bc2915ff33587
refs/heads/master
2021-10-21T16:17:18.876058
2019-03-05T05:31:00
2019-03-05T05:31:00
112,919,380
0
0
null
null
null
null
UTF-8
C++
false
false
6,557
ino
sketch_SnakeSpinalCord07.ino
//SnakeSpinalCord - Version07 is for the 3 Arduino Nanos in this snake robot //Variations for 'A', 'B' and 'C' are coded in. //Edit the const byte THIS_BOARD line below before uploading. #include <Servo.h> const byte THIS_BOARD = 'B'; String thisBoardId; // assigned to "A", "B" or "C" below //20171105 JPC started Jo...
717c04e4979da060b6ec34d5253f52cad18a6cfd
169418265b359c848a82d58949337331d0116622
/ydcx.h
6ee9a023df3a567397f5f71b87faab95d9b8ffcd
[]
no_license
Subenle/BUPT-ydcx
da59fea98818eccf6582a5684d43ab933bd421bc
04bfe5b32e8acc5e2d408e7c62c7818ee0ca8c55
refs/heads/master
2021-06-05T02:50:39.531483
2016-10-12T12:44:56
2016-10-12T12:44:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
527
h
ydcx.h
#ifndef YDCX_H #define YDCX_H #include <QDialog> class QNetworkReply; class QLabel; class QLineEdit; class QPushButton; class QNetworkAccessManager; namespace Ui { class ydcx; } class ydcx : public QDialog { Q_OBJECT public: explicit ydcx(QWidget *parent = 0); ~ydcx(); protected slots: void bt_sear...
ef1e249ef2fbe7809d4b8f5e99313cd3c636ce2a
3816c7370eb5b6c3fe6eaf5ac20319a416888137
/ExamUI/Exam/Trees/AVLTree.h
4f812dffec88d13ef9f292dc1086b35a1bfe4a6b
[]
no_license
WAG13/Exam_OOP_summer
a3bd8ebbe4fea1a9d4588de09b05f703d0d8ed6e
f5ea8da650348dc8c8e5732933a226ce3e0f667f
refs/heads/master
2022-10-11T12:07:19.227606
2020-06-10T22:35:11
2020-06-10T22:35:11
270,332,646
0
0
null
null
null
null
UTF-8
C++
false
false
16,839
h
AVLTree.h
#ifndef AVLTREE #define AVLTREE #include "SearchTree.h" #include <compare> #include <iostream> #include <functional> #include <queue> #include <vector> #include <stack> #include <exception> namespace lists { template<typename T, typename Key> class AVLTree : public SearchTree<T, Key> { public: ...
213d1baa1793f92613b3104d39773dba067e932c
9dcba7fb9ac1159106e89d03d6b09d3bafc8971f
/CPOOA/annuaire/annuaire/Annuaire.cpp
bc56e934d7f6cdd771441ee783163378f90fc9c9
[]
no_license
andy-metz/L3
57f346f7719d1551faa4b86dfbe0c00534d024ec
c8f9beb27ad8294c50e6548a18cc0aea5efd3584
refs/heads/master
2020-12-29T00:01:11.631141
2016-09-27T21:47:26
2016-09-27T21:47:26
68,396,590
0
0
null
null
null
null
UTF-8
C++
false
false
2,523
cpp
Annuaire.cpp
#include "Annuaire.h" #include "ExTP1.h" #include <string.h> #include <string.h> Annuaire::Annuaire() : nom(_strdup("")), c(NULL), nb(0){} Annuaire::Annuaire(const char* nom) : nom(_strdup(nom)), c(NULL), nb(0) {} Annuaire::Annuaire(const Annuaire &a): nom(_strdup(a.nom)), c(NULL), nb(0){ if (a.nb){ c = new Conta...
a6f41a03f63b339342f079de2119f3b21257aa66
76efa9d8e4912473579fb50c962069d012f0fe20
/src/xbee.cpp
88fada08b47a3845e6fb9d928c815533ef5a6acc
[ "MIT" ]
permissive
mjhsoet/F.Domotica-Qt-Application
25e9bc078126ebb401b15eec47c03d1d90e4932c
48748364c92abd79ce8367ac3d7370befe89e8e9
refs/heads/master
2020-04-17T22:28:52.092638
2019-01-24T18:42:11
2019-01-24T18:42:11
166,996,007
0
0
null
null
null
null
UTF-8
C++
false
false
6,633
cpp
xbee.cpp
#include "xbee.h" #include <QDebug> #include <QList> #include <QThread> #include <QMutex> #include <QMutexLocker> #include <QTimer> #include <stdlib.h> #include <string.h> #include "xbee/serial.h" #include "xbee/atcmd.h" #include "xbee/device.h" #include "xbee/wpan.h" #include "xbee/discovery.h" #include "wpan/aps.h" ...
e332cd5008a3cce2080e9bc5832dafe1da7478a0
b23ce919e5e841f6563c6a89d0fd8c01476806e0
/Framework/fw/DomainShader.h
1201cf3a1393c4e64c669a9fbc2e5d45ad17c735
[]
no_license
jparimaa/dx-fx
bb53acfd0343d4b6f4a53385713a0990fe0f1d29
18b180e957ba3f0d09eaebb30d276daaaaead559
refs/heads/master
2023-09-02T19:20:39.086472
2020-11-21T19:17:30
2020-11-21T19:17:30
89,373,796
0
0
null
2020-06-04T16:54:21
2017-04-25T15:00:20
C++
UTF-8
C++
false
false
310
h
DomainShader.h
#pragma once #include <d3d11.h> namespace fw { class DomainShader { public: DomainShader(); ~DomainShader(); bool create(WCHAR* fileName, LPCSTR entryPoint, LPCSTR shaderModel); ID3D11DomainShader* get() const; private: ID3D11DomainShader* domainShader = nullptr; }; } // namespace fw
52d07c32b6524f354e4a42dbad79ff546a39f350
ca11db7f1a7ab9031456f5a74cabe6b962d828dc
/fork/shm.cpp
9ce01c460176baf816edb1c2aff1f8821de6094c
[]
no_license
qingdujun/basic
f4cabfa87f48b0ba3fc6a5789744e69fc547bca9
a3c7df850d5d9df695fbe6496fc74e72834fd71d
refs/heads/master
2020-04-27T12:05:30.188916
2019-08-05T13:11:17
2019-08-05T13:11:17
174,320,636
0
0
null
null
null
null
UTF-8
C++
false
false
1,454
cpp
shm.cpp
#include <sys/ipc.h> #include <sys/shm.h> #include <unistd.h> #include <iostream> using namespace std; typedef struct { char name[4]; int age; } people; int main(int argc, char const* argv[]) { int shm_id = shmget((key_t)2022, 4096, IPC_CREAT | 0666); if (shm_id < 0) { cerr << "shmget error" <...
471efeb07321c7a00774215923e68d7bf99e54cd
78e6f8b29560c70ca9e1eedcfff6f1111f7370c8
/OpenGL 3D Game/src/engine/platform/vulkan/texture/VkTexture.cpp
464cab02e66af3ead75ee5a0ed7a9ebf69da5184
[]
no_license
Andrispowq/OpenGL-3D-Game
511104617e403a5f8c448390e5ee411a47697e8e
8f0fcf1edcea7673b36e09f177aa75c4416a2d05
refs/heads/master
2023-01-29T04:34:12.471328
2020-12-01T13:42:51
2020-12-01T13:42:51
242,340,559
1
0
null
null
null
null
UTF-8
C++
false
false
8,092
cpp
VkTexture.cpp
#include "engine/prehistoric/core/util/Includes.hpp" #include "VkTexture.h" VKTexture::VKTexture(VKPhysicalDevice* physicalDevice, VKDevice* device, uint32_t width, uint32_t height, ImageFormat format, ImageType type) : physicalDevice(physicalDevice), device(device), Texture(width, height, format, type) { this->mipL...
5bae576edd6f74dcc530cdcab276d0503ff85fc9
bd9d2329feb1ed59466fd1357647e46875e211f9
/code/t4/mrx_t4server.h
d083276e9f8acb5eea26276fdaa0dfeaa58e9011
[]
no_license
ww4u/megarobo_app_server
927fb6b734528190c3f95ac68a530b74d08eb05d
90f24ee567056bfcd7a8f3329241aa10f202b003
refs/heads/master
2022-12-21T11:30:21.665921
2019-05-17T14:57:58
2019-05-17T14:57:58
296,256,550
0
0
null
null
null
null
UTF-8
C++
false
false
533
h
mrx_t4server.h
#ifndef MRX_T4SERVER_H #define MRX_T4SERVER_H #include "../mappserver.h" #include "t4para.h" class MRX_T4Server : public MAppServer, public T4Para { public: MRX_T4Server( int portBase=2345, int cnt = 1, QObject *pParent = nullptr ); public: virtual int start(); virtual i...
2452776726e25b50673f08051dffba240606d421
6e665dcd74541d40647ebb64e30aa60bc71e610c
/600/VoipLib/include/util/io/VFileBrowser.hxx
2a81fda17f13a533ca078859d8551ed56cac46ef
[]
no_license
jacklee032016/pbx
b27871251a6d49285eaade2d0a9ec02032c3ec62
554149c134e50db8ea27de6a092934a51e156eb6
refs/heads/master
2020-03-24T21:52:18.653518
2018-08-04T20:01:15
2018-08-04T20:01:15
143,054,776
0
0
null
null
null
null
UTF-8
C++
false
false
2,580
hxx
VFileBrowser.hxx
#ifndef VFileBrowser_hxx #define VFileBrowser_hxx /* * $Id: VFileBrowser.hxx,v 1.2 2007/03/01 20:04:30 lizhijie Exp $ */ #include <pthread.h> #include <list> #include <string> #ifndef WIN32 #include <utime.h> #endif #include "VFile.hxx" #include "VIoException.hxx" class VFileBrowser { public: ty...
a9c743c405ac576c189517aa931163d8ab01afff
dba70d101eb0e52373a825372e4413ed7600d84d
/Demo/QuickStart/PerformanceTester.cpp
6a0d62fdd93738ca7d1d0f52cdba1337e1e1e191
[]
no_license
nustxujun/simplerenderer
2aa269199f3bab5dc56069caa8162258e71f0f96
466a43a1e4f6e36e7d03722d0d5355395872ad86
refs/heads/master
2021-03-12T22:38:06.759909
2010-10-02T03:30:26
2010-10-02T03:30:26
32,198,944
0
0
null
null
null
null
UTF-8
C++
false
false
1,797
cpp
PerformanceTester.cpp
#include "PerformanceTester.h" #include <windows.h> #pragma comment(lib,"winmm.lib") const int sampleSize = 10; PerformanceTester* PerformanceTester::mSingleton = NULL; PerformanceTester::PerformanceTester() { mSingleton = this; } void PerformanceTester::addItem(const std::string& item) { std::pair<R...
03a127382bffc3f0a18cf888c63380e8b776c9e0
6c8e5b2c6cde71420698e7415fab1d53fc60711d
/CBullet.cpp
5721bcea657c8f9a59aebc27121f1b3c98ec41e5
[]
no_license
IIvanov21/Bob-s-Adventure
9c568331d855ba8384d404856f200cd310d99c99
408f5f7e768e869a91051d26374bd6d2d69b07a1
refs/heads/master
2020-06-04T10:47:48.919393
2019-06-14T18:26:37
2019-06-14T18:26:37
191,988,907
0
0
null
null
null
null
UTF-8
C++
false
false
5,073
cpp
CBullet.cpp
// File: CBullet.cpp // Date: 03-02-2019 // Last Edited: 21-03-2019 #include "CBullet.hpp" CBullet::CBullet(I3DEngine* engine) { fireBulletBuffer.loadFromFile("laserGunShoot.wav"); fireBullet.setBuffer(fireBulletBuffer); fireBullet.setVolume(30.0f); // 0 to 100 fireBullet.setPitch(1.0f); fireBullet...
93dad8745dc7f26403e6124f35e1bf0253ff8db1
11c1f05125684db84f79d811188ae74b8e826a66
/Voice.cpp
35935621bb135f2f2df227b1e4a8f657c2062bc8
[]
no_license
creel904/Connect-Four-with-OpenCV
e9c3de5f110b6e3e2ca6a8a35ddc138aeffd48f3
cd4d42ff179ac8bde9ebe74a2ac5a301c7edbcba
refs/heads/master
2023-02-22T06:01:30.414800
2019-09-23T04:54:54
2019-09-23T04:54:54
210,264,237
0
0
null
null
null
null
UTF-8
C++
false
false
1,842
cpp
Voice.cpp
#include "Voice.h" void Voice::printBoard(GameState gameState) { text.printBoard(gameState); } void Voice::badMove() { text.badMove(); PlaySound(TEXT("audio/badmove.wav"), NULL, SND_ALIAS | SND_APPLICATION | SND_ASYNC); } void Voice::requestMove(int column) { text.requestMove(column); const char *f...
e0d8e5063ad10cd8b9b06dcfe8b775c55952c895
ccb6d2726b7522af43004875e2e233bc1088774a
/carma/antenna/common/Encoder.h
e17009d67608356debe042c315653c8135f58912
[ "FSFUL" ]
permissive
mpound/carma
a9ab28ed45b3114972d3f72bcc522c0010e80b42
9e317271eec071c1a53dca8b11af31320f69417b
refs/heads/master
2020-06-01T11:43:47.397953
2019-06-07T15:05:57
2019-06-07T15:05:57
190,763,870
2
0
null
null
null
null
UTF-8
C++
false
false
1,010
h
Encoder.h
// $Id: Encoder.h,v 1.2 2005/04/27 20:56:48 rick Exp $ #ifndef CARMA_ANTENNA_COMMON_ENCODER_H #define CARMA_ANTENNA_COMMON_ENCODER_H #include "carma/services/Angle.h" /** * @file Encoder.h * * Tagged: Wed Sep 15 16:15:33 PDT 2004 * * @version: $Revision: 1.2 $, $Date: 2005/04/27 20:56:48 $ * * @author Rick ...
9f7a216453c08f331cd31d597e2a41a9de1dbbfd
6e262ab77dbf4262ab086a3e0fb41e7b72e667e5
/TomyGateway/src/ClientSendTask.cpp
5c4bf18a49fdc5618380a9a9b9b4a834c7fd67ee
[]
no_license
lattic/MQTT-S-Gateway
7e44f8ef221210849f733cf5d66d118a9d890926
f3d472992adc027cae7274370a94be304631872c
refs/heads/master
2023-08-07T20:07:16.738485
2014-04-20T13:23:43
2014-04-20T13:23:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,713
cpp
ClientSendTask.cpp
/* * ClientSendTask.cpp * * Copyright (c) 2013, tomy-tech.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code ...
a7e05a711915b3310adf04685594b0e9002b482c
74837c92508b3190f8639564eaa7fa4388679f1d
/xic/src/extract/ext_devsel.cc
fe33586e01890aae285fa6c435404c80804c1be9
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
frankhoff/xictools
35d49a88433901cc9cb88b1cfd3e8bf16ddba71c
9ff0aa58a5f5137f8a9e374a809a1cb84bab04fb
refs/heads/master
2023-03-21T13:05:38.481014
2022-09-18T21:51:41
2022-09-18T21:51:41
197,598,973
1
0
null
2019-07-18T14:07:13
2019-07-18T14:07:13
null
UTF-8
C++
false
false
26,205
cc
ext_devsel.cc
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
8290345ed8ca54e466409eed87b55b1686761d56
2e52538ad6fe2625da4380c78b3e5e9874e13536
/Project1/CIS22A_EC1_WartDaniel.cpp
1dd2cfcb70b161385d651fa1a096882d26fa2118
[]
no_license
onein50million/CIS22A
82c645782bad9d747250f103b1646e0520f26c03
65c8fdfb7d5640ea02c9c8e0160f95cf52ccb92f
refs/heads/master
2021-01-19T21:37:38.523441
2017-06-23T07:00:11
2017-06-23T07:00:11
88,678,718
0
0
null
null
null
null
UTF-8
C++
false
false
992
cpp
CIS22A_EC1_WartDaniel.cpp
/* Daniel Wart CIS 22A Spring 2017 EC1 - Extra Credit Simple Calculator */ #include <iostream> #include <string> #include <cmath> int calculate(char op, int num1, int num2){ switch (op){ case '+': return num1 + num2; case '-': return num1 - num2; case '/': return num1 / num2; case '*': return num1 * num2; case ...
0397ab3680e2ce76eec15179455181981203d59e
eb77b7e6744e7380db2b4835a0faeddca479619b
/ops/c/src/sycl/ops_sycl_rt_support_kernels.cpp
78ae5e75cfb049c454221a59ca6685f9f74af728
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
OP-DSL/OPS
b4fea672de28973acc9a1ae611fd4fd475d04dd9
73d0dd431ea70be98b27f49275c43840fd3073ca
refs/heads/develop
2023-08-16T23:05:22.584318
2023-08-14T22:37:16
2023-08-15T11:26:12
16,912,507
44
34
NOASSERTION
2023-09-10T18:40:12
2014-02-17T12:44:34
C++
UTF-8
C++
false
false
13,859
cpp
ops_sycl_rt_support_kernels.cpp
/* * Open source copyright declaration based on BSD open source template: * http://www.opensource.org/licenses/bsd-license.php * * This file is part of the OPS distribution. * * Copyright (c) 2013, Mike Giles and others. Please see the AUTHORS file in * the main source directory for a full list of copyright holders. * ...
4de9e603f354bef36556f0064d1df31d27916c63
9c0e056baca0c09b137c7e551e46460f55903085
/cycle 3/addate.cpp
75f233b7e3a006dcf5aa642722468dd597d5675d
[]
no_license
hana-2000/LAB
1f969408ae6747d9a6dc03c0f26e953cbf333abc
72f4bef1b3dd3d6b8c84ee13fa8a4fa55f9d88fc
refs/heads/main
2023-08-18T19:24:05.323966
2021-09-28T07:16:45
2021-09-28T07:16:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,006
cpp
addate.cpp
#include <iostream> using namespace std; class dates { int day,month,year,last; int mon[12]={31,28,31,30,31,30,31,31,30,31,30,31}; public: int key; dates(){} dates(int d,int m,int y){ day=d; month=m; year=y; } void outPut(); dates operator +(dates d); void Month();...
e23e3168aae992cef7e8baef649510005b3a33c5
0dd103b765a1ffa795203cfa74f7aa4eae18a785
/AiSD/Drzewa/main.cpp
5051cb16e26820c762de444a5b086f241c8d58b0
[]
no_license
JedrzejKuczynski/Studia2015-2018
44e1a97fadbc4f16e521b74cfebe1aedec60c358
c6cf6b07d571e297219e6fdde6396b1125ff9ef0
refs/heads/master
2022-02-22T22:01:31.981257
2019-10-17T09:12:11
2019-10-17T09:12:11
85,435,302
0
0
null
null
null
null
UTF-8
C++
false
false
3,092
cpp
main.cpp
#include <iostream> #include <cstdlib> #include <ctime> using namespace std; struct lista{ int wartosc; lista *next; lista *prev; }; lista *l_head = NULL; lista *l_ost = NULL; void insertion_sort(int tab[], int rozmiar){ int tmp; for(int i = 1; i < rozmiar; i++){ ...
ed167702f24b073ff6a09f2ceac4de0d388151aa
446a749d41af0008ba557dca6a62c0fbf8fed3ad
/URI/robot.cpp
f6ffe00b5c9cf11338443073b99f168cfcf3aa20
[]
no_license
Sirivasv/ProgrammingChallenges
b8910f869548491a81e5352f72295a6886cc150e
5d9039725b2947f392a179f75896b8a57b4537cb
refs/heads/master
2021-01-12T09:08:15.814557
2020-05-15T21:40:14
2020-05-15T21:40:14
76,768,160
0
0
null
2018-10-13T17:18:12
2016-12-18T07:02:21
C++
UTF-8
C++
false
false
1,612
cpp
robot.cpp
#include <bits/stdc++.h> using namespace std; const int MAXN = 105; char mtr[MAXN][MAXN]; char oris[] = {'N', 'L', 'S', 'O'}; int N, M, NS; bool Valid(int xi, int yi) { if (((xi >= 0 ) && (xi < M)) && ((yi >= 0 ) && (yi < N)) && (mtr[yi][xi] != '#')) return true; return false; } bool IsOr(char c) { for (int i ...
e02f8514f49c30aabfcf7eea8a03976a04a78e65
5613a9287a1cc6b460517f4368c9d15acb9f9c7e
/PH_Events.h
2a1cb3c569c64100213e7407452e8d829f4a501b
[ "MIT" ]
permissive
net234/ESPEEDOMUS
5d234ed64cd18fd69fda1eee93dff806dce36b4c
32ff94e79572f70836653731e60b426f042c28cf
refs/heads/master
2022-05-28T00:35:08.101587
2020-04-25T13:57:08
2020-04-25T13:57:08
258,780,686
0
0
null
2020-04-25T13:53:20
2020-04-25T13:20:18
C++
UTF-8
C++
false
false
4,690
h
PH_Events.h
/************************************************* ************************************************* PH_Events.h librairie pour les Events Pierre HENRY V1.3 P.henry 23/04/2020 Gestion d'evenement en boucle GetEvent HandleEvent V1.0 P.HENRY 24/02/2020 From scratch with arduino.cc totorial :) ...
1dbd390d23083f6e9cc6534884b086fbfbed9a2a
a4ed9eadba761d7eee9635499b23bf9f51c2353c
/Veiculo.h
1aa888ef0f1ae0e7c3b47582c0d3f1ff5a52cc4a
[]
no_license
arashisann/builder
d35a18103b6609455eff3501f01a016a76809aef
343c948425cd5f80097ed59b3fb803739a796698
refs/heads/master
2020-01-23T22:01:04.054615
2016-11-25T01:05:10
2016-11-25T01:05:10
74,713,516
0
0
null
null
null
null
UTF-8
C++
false
false
1,583
h
Veiculo.h
#include <iostream> #include <string> class Veiculo { public: class Builder; void setRodas(size_t num); void setCor(std::string cor); void setCavalos(size_t cavalos); Veiculo(size_t num, size_t cavalos, std::string cor); Veiculo() {} void imprimeDados(void); private: ...
e458425483b72ab347d2ce4b463447380be371b7
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/blink/renderer/bindings/core/v8/custom/v8_html_plugin_element_custom.cc
55a3104db4e200cd890e1a7c99f34da76634f1b5
[ "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "BSD-3-Clause", "Apache-2.0", "MIT" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
C++
false
false
7,053
cc
v8_html_plugin_element_custom.cc
/* * Copyright (C) 2009 Google Inc. All rights reserved. * Copyright (C) 2014 Opera Software ASA. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must reta...
d60a1630e9e6a96920cef4cb29d3a5b2d6cd1f78
aa13288ea83886535f85dc1561a5265b5f844c59
/Implementation/Source/Util/src/Exports/MatrixUtil.h
0d658a164cea7c0bd1df366b2216f5ad5d07b8af
[]
no_license
GarondEisenfaust/ImageBasedShaving
57fdf6afa8c179036afcb2f65a75e51173d34d06
b0c78f46670de1561055a3324adb585b14184ee6
refs/heads/master
2020-11-23T22:35:26.488579
2019-12-13T14:55:26
2019-12-13T14:55:26
227,848,870
0
0
null
null
null
null
UTF-8
C++
false
false
792
h
MatrixUtil.h
#pragma once namespace MatUtil { cv::Mat_<cv::Vec3d> ReadImageAndConvertTodouble(const std::filesystem::path& imageName); cv::Mat_<double> ReadMatrixFromFile(const std::filesystem::path& path); void WriteVectorizedImage(const std::string& name, const cv::Mat_<double>& vectorizedImage, int channels = 3, ...
c4368dff447e0f9d5a73c619e8c1481d545b96a0
918fa7c719257b342f8eb931b088ac3a0641224d
/src/cpp/assembler/BinaryGenerator.h
35a1358179a68e4f5493b33f5a5e6f50a2eaee92
[]
no_license
hdhzero/Hivek
fa0aa0fc3dd5d045874ca32390f66eb8df91c615
9397e69f9010d07cfa991f594529adc81ea5b64b
refs/heads/master
2021-01-10T11:35:59.989298
2013-06-26T17:17:47
2013-06-26T17:17:47
8,507,347
1
1
null
null
null
null
UTF-8
C++
false
false
750
h
BinaryGenerator.h
#ifndef HIVEK_ASSEMBLER_BINARY_GENERATOR_H #define HIVEK_ASSEMBLER_BINARY_GENERATOR_H #include "HivekAssembler.h" namespace HivekAssembler { class BinaryGenerator { private: Table* table; std::ofstream file; private: uint32_t op2bin(Instruction& op); ...
8bc09788528ab2dc73e6227c85782b915e5583e6
d99541989f4d75593d1882dec5081d8bc9dd7b16
/Zonas.ino
23c3dbe0e06ba4a00b17584dad0334957f056913
[]
no_license
EstebanPerez25/Proyecto-Candidates
b56c15cf87db7f3f13b4cb126d93cd492bd9fa04
c259a7f293d1eaad79dfd8fa1932d3ea35a71e4b
refs/heads/main
2023-09-02T13:46:59.054994
2021-11-04T21:21:50
2021-11-04T21:21:50
424,740,592
0
0
null
null
null
null
UTF-8
C++
false
false
6,920
ino
Zonas.ino
#include "Zonas.h" #include "Navegacion.h" #include "SensorColor.h" #include "SensorUltrasonico.h" float distancia; //Variable para distancia detectada por ultrasónicos byte ds = 15; // Distancia para considerar pared al frente //3 Sensores Ultrasónicos. (1 señal de Trig para ...
8516a60dee87bafe60c9d5ac1ea661b69caff9f7
37f03b7b8fae74c1106acdff0da0d5731c0f01c1
/src/gtest/test.cpp
501b92de0bdc39da70d98f85e893c460f1afa398
[]
no_license
jing1804/fake_obtlib
cc7b47a87af518c2899dd49e7047245aedfb4907
a16a8c2691d627527b2678f92ccaba7ffa000e8e
refs/heads/master
2023-01-24T03:49:27.385500
2020-12-11T00:43:39
2020-12-11T00:43:39
316,449,506
0
0
null
null
null
null
UTF-8
C++
false
false
1,102
cpp
test.cpp
#include "gtest/gtest.h" #include "RREService_api.h" #include "handler.h" class ClassTest : public testing::Test { public: virtual void SetUpTestCase() { } virtual void TearDownTestCase() { } virtual void SetUp() { } virtual void TearDown() { } private: }; TEST(Client, test) { ECUINFOSTR info; obt_...
7145ec1414e7ee9ca71c8e8eced9476dba258ef5
8bb7e4b0f6c47793c0f643dc7f2df8b7f5646ca6
/1201 - DCN Lab - Spring 2012/Lab09_TCP_Header_Analysis/TCP_Header_Analysis/src/PacketManip.cpp
977611f0bae8931de88c2f4c0fafc0b9a8aafb50
[]
no_license
inf-eth/i02-0491-courses
405cb0d534fed643434dd2126776cbe030af4d13
f7e2ea222aeb2b21bcc9d2793a8652cc7f5afe23
refs/heads/master
2021-01-10T09:47:16.518013
2015-07-23T17:09:14
2015-07-23T17:09:14
46,210,614
1
0
null
null
null
null
UTF-8
C++
false
false
6,068
cpp
PacketManip.cpp
#include <PacketManip.h> #include <cstdlib> // exit() #include <ctime> #include <iostream> #include <bitset> using std::cout; using std::cerr; using std::endl; using std::bitset; void packet_capture_callback(u_char *, const struct pcap_pkthdr*, const u_char*); CPacketManip::CPacketManip (const char *pdev, const ch...
b6843078c08ea901b3060f772f32766850ef9e8d
347bea86f83d5e2475ca3a0ebf6de397f1a1fa4c
/Practical 4/main.cpp
2647602455bfef749f90e5e51115207053540488
[]
no_license
MarcosGaming/Physics_Practicals
fe93d31c12c32e53557ed9714f175eeea32d18e9
6f58ff9691d1f0a68377c0946ca71aa2ea108a1b
refs/heads/master
2018-12-21T08:20:42.739381
2018-12-06T16:50:29
2018-12-06T16:50:29
75,084,908
1
0
null
null
null
null
UTF-8
C++
false
false
4,378
cpp
main.cpp
#pragma once // Math constants #define _USE_MATH_DEFINES #include <cmath> #include <random> // Std. Includes #include <string> #include <time.h> // GLM #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <glm/gtx/matrix_operation.hpp> #include "glm/ext.hpp" // Ot...
44fa727d3954c5e23b9b2e842e4e1e323105da30
a51e16ef75b288ddb9d596e91d48270f8dc6a30b
/Sorting/08- Shell Sort.cpp
31b3946c38b5beb9a6ab9738a18d6b7cd366b4f4
[]
no_license
A2andil/Algorithms
11678f947fbcb377fdb27de520da4fc64e498bf6
1b4ff0ee837870e58f2cdcd0a8867d364eedcaa0
refs/heads/master
2022-11-30T00:49:42.945295
2020-08-11T09:49:11
2020-08-11T09:49:11
61,442,916
0
0
null
null
null
null
UTF-8
C++
false
false
476
cpp
08- Shell Sort.cpp
// in the name of God #include <iostream> #include <set> #include <algorithm> #define ll long long using namespace std; vector<int> list; int shell_sort() { int n = list.size(), gap = n / 2; while (gap > 0) { for (int i = gap; i < n; i += 1) { for (int j = i; j >= gap && l...
25bf8d8c0dfc20334a3b10734de202a0c0516289
dc5b4cad35298b7380ab81f1d2eb88a0c071d43e
/src/ecs/system/RenderSystemMeshFilter.cpp
e6a1fb603c0451d316dd80c209ec51d7b60e07e6
[]
no_license
tustvold/talon
1db86210b30acb86b936a4a6968ebed2c3a0110c
3639995646de9e9589b9ba97bac0aea85671acc0
refs/heads/master
2020-05-02T13:10:42.053891
2019-03-27T11:10:16
2019-03-27T11:10:16
177,977,449
0
0
null
null
null
null
UTF-8
C++
false
false
1,250
cpp
RenderSystemMeshFilter.cpp
#include "RenderSystemMeshFilter.hpp" #include "rendering/system/RenderPass.hpp" USING_TALON_NS; RenderSystemMeshFilter::RenderSystemMeshFilter() = default; RenderSystemMeshFilter::~RenderSystemMeshFilter() = default; void RenderSystemMeshFilter::update(const RenderSystemArgs &args) { commandBuffer.reset(); ...
ba26c01924acbec70e66e19e44cbb2b723ef35fd
f2279faca9b56f013988a88f9ba01555f1134889
/Assign020.cpp
c219afc4898d547f687062a3dfa2a28544d21b67
[]
no_license
nish235/C-CppAssignments
c8f36ff83a06391799feb6eb7efab6cd4c8d52bf
5eb8bf3d2f91fcc7a8527ecf81efec3f5dda1dda
refs/heads/master
2022-12-27T03:19:41.868628
2020-10-09T11:52:29
2020-10-09T11:52:29
292,768,840
0
0
null
null
null
null
UTF-8
C++
false
false
285
cpp
Assign020.cpp
#include<iostream> using namespace std; int main() { int n,i; cout<<"\n Enter Number : "; cin>>n; cout<<"\n SQUARE OF NUMBERS BETWEEN 1 & "<<n<<endl; for(i=2;i<=n;i++) { if((i%2)==0) { cout<<"\n\t"<<i<<"\t"<<i*i; } } cout<<"\n\n"; return 0; }
f5cf2df36d2bb66094c46a3ae70ad1fa4a407d7f
201d7dcc07e667cccb512fb00bbe2274567209a0
/Proto_Shooting/GameOver.cpp
9b369ffe41cb493f15b33a371fd36d71b76718cf
[]
no_license
OnoMakito/Skill_Check
372048f28c500bf695f6645c270d48ea8ffef395
7aa61e1193cc320a0b19a7a65efadcb7df7adf5c
refs/heads/master
2022-02-20T00:57:34.137762
2019-10-01T10:20:35
2019-10-01T10:20:35
212,033,103
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,839
cpp
GameOver.cpp
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include "GameOver.h" #include "MyTex.h" #include "Sprite.h" #include "input.h" #include "common.h" #include "BG.h" #include "score.h" #include "Judgement.h" #include "PatternAnimation.h" #include "Enemy.h" static unsigned int GameOver_Tex; static int GameOver_WaitCo...
2d67c5535066df126dcd612a1260d70723fb6eff
6f100f69232c6597c3f9564acde9c303b2adf47d
/Kattis/Dyslectionary/main.cpp
0c591ab9435fced38c07d0476066213d18519c93
[]
no_license
douglasbravimbraga/programming-contests
43e1b6aaa5a3ef51f5815fed8cb9a607f4f334cc
75e444977cc3ff701b7390b8de70c88f6b40c52f
refs/heads/master
2023-07-20T07:58:53.145049
2021-08-01T12:48:23
2021-08-01T12:48:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
603
cpp
main.cpp
#include <bits/stdc++.h> using namespace std; int main() { string line; int tc = 0; while (getline(cin, line)) { vector<string> lines; lines.push_back(line); if (tc++) cout << endl; while(getline(cin, line) && line.length()) { lines.push_back(line); } size_t max_len = 0; for (string& l : lines...
3cf6c011ebab1acde30ead4142eaa0e076580611
35de73d3cc956831c1ac45386dfd163e722c9db1
/TeamProject/Light.h
2bf8bf78d3d99c649d14ffa179879913c3bdf567
[]
no_license
ggraca/csc8506-teamproject
e39969978d19b6c1037b62d623fa2f0db25e2016
81ca8b1588a001f405575643574c8609d903605c
refs/heads/master
2020-04-19T13:38:57.529496
2019-03-29T12:40:19
2019-03-29T12:40:19
168,222,954
0
0
null
null
null
null
UTF-8
C++
false
false
884
h
Light.h
#pragma once #include "Component.h" #include "Transform.h" #include "../Common/Vector4.h" using namespace NCL::Maths; enum LightType { Directional, Point, Spot }; class Light : public Component { public: Light(LightType type, Vector4 colour, float radius, float brightness) { this->type = type; this->colour ...
3253e026bc57b753922afa0edda4019c1aa2a17b
771db0f8fcf50822b199d3180d31584fb01cc929
/payroll.cpp
2d1a2d8ba2e5c55441d4e4dd747c3b9410b599b4
[]
no_license
curet/EmployeesPayroll
8da8bd8b4a0117177eab0f51b902f9889628b9f3
01e5be63879f476b66d32be9741d529a6786bb2e
refs/heads/main
2023-05-31T12:11:03.359363
2021-06-19T15:47:51
2021-06-19T15:47:51
378,446,735
0
0
null
null
null
null
UTF-8
C++
false
false
3,965
cpp
payroll.cpp
// JOSE C.S. CURET #include <iostream> #include <fstream> #include <iterator> #include <string> #include <list> using namespace std; class Employees{ private: string name; int idNumber; double hoursWorked; double hourlyPayRate; list <Employees> employeesInfo; public: Employees() : idNumber(0...
85e16725ec5770124f6d368f45007419c638721d
1605ae42bf1c7d0d487b60278d1c6d6cfeb3d52e
/tester/main.cpp
2d318453e005cc26f2f12b1165e431ad2e9d3b02
[ "MIT" ]
permissive
Buerner/ssrface
3ca622bba563c11a84db34e9ece90ff9df66a9af
226afe2badb432cfef21f40cbce05c2c026d3e19
refs/heads/master
2021-01-01T19:17:07.425879
2017-08-08T16:25:23
2017-08-08T16:25:23
98,553,751
0
0
null
null
null
null
UTF-8
C++
false
false
1,189
cpp
main.cpp
// // main.cpp // ssrface // // Created by Martin Bürner on 30.11.16. // Copyright © 2016 Martin Bürner. All rights reserved. // #include "SceneManager.hpp" void print_scene( ssrface::Scene* scene_ptr, void* ) { auto ids = scene_ptr->get_source_ids(); scene_ptr->print(); } int main() { ssrface::Scene...
39d1569e62a27bbd65e0e33993e7a5bf96689f57
b7aa96fbfc50da8ad00804ec63804932c902a0c8
/src/Flight.cpp
35707c90fb76397910c15ddc0f2be13f1f13c5d1
[]
no_license
dherraiz/atcsimv2
57108b6afe10c4e03f7fa249418126d58945a893
ee811723c41a3a482e468d9fbbc017f368b8a92d
refs/heads/master
2022-10-30T01:44:51.713149
2020-06-18T20:28:57
2020-06-18T20:28:57
271,759,035
0
0
null
null
null
null
UTF-8
C++
false
false
3,635
cpp
Flight.cpp
/* * Flight.cpp * * Created on: 15/07/2014 * Author: paco * * Copyright 2014 Francisco Martín * * This file is part of ATCSim. * * ATCSim is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, ...
906113a93114b5fae52860420ed4e40d1d972f2c
e0258286b3345c7afc09cc0b31b28b981f1f3ac7
/Serveur_interaction_sans_contact-master/Serveur_isc/Serveur_isc/DataCalibrageHandler.cpp
a6ec76738c4a925ed05bbb0eed55e324d73c6394
[]
no_license
IHMISC2020/ISCServer
6e3423655ebb97815aaac149915af83d9f862a7f
f3861e81569b8932240e2dbea3a22d7fe2856432
refs/heads/main
2023-04-09T16:42:20.783647
2021-04-13T17:26:59
2021-04-13T17:26:59
357,605,967
0
0
null
null
null
null
UTF-8
C++
false
false
489
cpp
DataCalibrageHandler.cpp
#include "DataCalibrageHandler.h" /*static*/DataCalibrageHandler* DataCalibrageHandler::mInstance = nullptr; DataCalibrageHandler::DataCalibrageHandler() {} /*virtual*/DataCalibrageHandler::~DataCalibrageHandler() {} /*static*/ DataCalibrageHandler& DataCalibrageHandler::getInstance() { if (mInstance == nullptr) m...
85d344fc0bd54dbe2387d440d4c0773fa83bd8bf
280e6ebe8bd55299e5a2b538a9cf2571a9f81352
/应用/经典面试100题/经典面试100题/70.cpp
3ac5dd257eac2a514d83af3afc1e61d1c6deb34b
[]
no_license
WadeZeak/C_and_Cpp
3a0996b6a44f7ee455250e5bbfa7b5541b133af7
da98ea0a14d158cba48c609fa474c46a1095e312
refs/heads/master
2021-01-25T14:11:40.514329
2018-03-03T10:17:14
2018-03-03T10:17:14
123,668,111
0
0
null
null
null
null
GB18030
C++
false
false
705
cpp
70.cpp
#include<iostream> using namespace std; struct CLS { int m_i; CLS(int i) : m_i(i) {} CLS() { /* 在默认构造函数内部再调用带参的构造函数属用户行为而非编译器行为,亦即仅执行函数调用, 而不会执行其后的初始化表达式。只有在生成对象时,初始化表达式才会随相应的构造函数一起调用。 */ CLS(0); } }; void run(int *sa, int sz);//如果在两个函数的参数表中只有缺省实参不同则第二个声明被视为第一个的重复声明 。 void run(int *, int = 10); voi...
6e895bf0867c7fadb6617b66de7299baf12fbb96
c8fcc1acf73585045a5c7213cfb9f90e4c1e809e
/HDU/1671-性质.cpp
26e2f589a0c973054fe6cc3754f01e90aa543b33
[]
no_license
Jonariguez/ACM_Code
6db4396b20d0b0aeef30e4d47b51fb5e3ec48e03
465a11746d577197772f64aa11209eebd5bfcdd3
refs/heads/master
2020-03-24T07:09:53.482953
2018-11-19T09:21:33
2018-11-19T09:21:33
142,554,816
3
0
null
null
null
null
GB18030
C++
false
false
1,450
cpp
1671-性质.cpp
/*http://www.cnblogs.com/dolphin0520/archive/2011/10/15/2213752.html 存在前缀的序列的性质: 引用:存在若干个字符串序列,对于两个 字符串序列X[1....n],Y[1....m],如果X是Y的前缀, 则在对所有的字符串序列按字典顺序排序后, X[1..n]和Y[1....m]在位置上必然是直接相邻或者 间接相邻的。间接相邻指存在字符串序列Z[1....t], 使得X是Z的前缀(X和Z直接相邻),Z是Y的前缀(Z和Y 直接相邻),则X和Y也被认为是相邻的。 */ #include <stdio.h> #include <string.h> #include <alg...