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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2e52e8735f7f7aa365ffe6978190ce3caf3fddc5 | e7e497b20442a4220296dea1550091a457df5a38 | /main_project/ad/engine_u/src/AdStruct.h | 5ba9c42268b3edf13d35118351fa7e0a8bdaf332 | [] | no_license | gunner14/old_rr_code | cf17a2dedf8dfcdcf441d49139adaadc770c0eea | bb047dc88fa7243ded61d840af0f8bad22d68dee | refs/heads/master | 2021-01-17T18:23:28.154228 | 2013-12-02T23:45:33 | 2013-12-02T23:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,021 | h | AdStruct.h | /*
* AdStruct.h
*
* Created on: Aug 25, 2010
* Author: antonio
*/
#ifndef ADSTRUCT_H_
#define ADSTRUCT_H_
#include <time.h>
#include <vector>
#include <map>
#include <ext/hash_map>
#include <set>
#include <bitset>
#include <IceUtil/RWRecMutex.h>
#include <IceUtil/Mutex.h>
#include <IceUtil/Shared.h>
#inclu... |
fdd49cbf84a5dcfb107554ccf32f060715ec4054 | b9b5d9ce9048296ddad5bd58cd2e70b2bf9ca4ac | /Code/linear_eqns.cpp | 48c41b0de674b83c20bb00e57d9676a641ab6306 | [] | no_license | anujasaini/Accelerated-Gradient-Descent | 2e77bfc40315833e3d1b9e80ce47f1691660076a | 9acb45ad2e23904f9d294946f11355a18ec36d23 | refs/heads/master | 2022-11-06T13:37:26.208417 | 2020-06-24T14:27:22 | 2020-06-24T14:27:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,555 | cpp | linear_eqns.cpp | #include <bits/stdc++.h>
#include "linear_eqns.h"
#include "utils.h"
using namespace std;
// m equations in n variables with random coeficients
Equation::Equation(int m, int n){
float** coeffs = new float*[m];
for(int i=0;i<m;i++) coeffs[i] = new float[n];
float* b = new float[m];
do{
for(int i=0;i<m;i++... |
78b0ddf23ba9ba390f2b076b48ef8ee0a1902185 | 8c85d929c8855337c39db8772e6b26c669451a7f | /Source/Engine/Render/BoundingBox.cpp | 31978382749afb310d26845e330b8b39d187b798 | [] | no_license | grokitgames/giga | 6d908c2a12a6e95e6d22ef2c37520bf6d666142d | 83ec3b023cebc5762f117dd35da57379d3e4b2a9 | refs/heads/master | 2021-01-01T19:45:49.625486 | 2017-11-28T02:02:37 | 2017-11-28T02:02:37 | 98,677,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 978 | cpp | BoundingBox.cpp |
#include <giga-engine.h>
void BoundingBox::Create(vector3 min, vector3 max) {
this->min = min;
this->max = max;
points[POINT_NEARBOTTOMLEFT] = vector3(min.x, min.y, min.z);
points[POINT_NEARBOTTOMRIGHT] = vector3(max.x, min.y, min.z);
points[POINT_NEARTOPLEFT] = vector3(min.x, max.y, min.z);
... |
5ae728925b0f2a850caa23ff1b66f5c68afd6b58 | 6834fd05e7256d99b8a36a23007b10048d59f1b3 | /BUGLIFE.cpp | c61d57bb900db3bab4f443413686185d0ea5d530 | [] | no_license | hunterr24/SPOJ-Solutions | d43ea61210ed13f1191b5f20cec373d8f7769ab8 | 944bb9562c23b5d9d74276d1c6ba3f4d98fb9ba5 | refs/heads/master | 2021-01-12T12:20:58.536781 | 2017-10-20T19:58:32 | 2017-10-20T19:58:32 | 72,443,243 | 1 | 0 | null | 2016-10-31T14:16:16 | 2016-10-31T14:16:16 | null | UTF-8 | C++ | false | false | 1,684 | cpp | BUGLIFE.cpp | /*
nerdyninja
BUGLIFE
graph: bipartite
*/
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <sstream>
#include <queue>
#include <deque>
#include <bitset>
#include <iterator>
#include <list>
#include <stack>
#include <map>
#include <set>
#include <functional>
#include <numeric>
#in... |
06f7d6d8f64c0f625f62c7f09c353c81c6d8bc4e | f1206c4bfb8def5cda85c384bd48f9720a9aaf7a | /cpp/day2.cpp | e702dcfb785dea0da1ed7ee25a85b29886a39907 | [] | no_license | troutstick/adventofcode2020 | 0367054978e9079305724b1242adf78502d9cde9 | d1eaece540b07aefb9c39becd0afdc700773012a | refs/heads/main | 2023-07-09T15:40:32.043353 | 2021-08-17T06:57:14 | 2021-08-17T06:57:14 | 317,465,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,178 | cpp | day2.cpp | #include "day2.h"
#include "utils.h"
#include <stdexcept>
void day2(vector<string> *input) {
int num_valid1 = 0;
int num_valid2 = 0;
string delimiter = ": ";
for (string s : *input) {
vector<string> *splits = split(s, delimiter);
if (splits->size() != 2) {
throw runtime_erro... |
81fcaf0869e1294d893333e6114693e133d21693 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/enterprise/reporting/real_time_report_controller_android.cc | a216cc3cb88ee1d55788d04676d3e02e046e0733 | [
"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,390 | cc | real_time_report_controller_android.cc | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/enterprise/reporting/real_time_report_controller_android.h"
#include "chrome/browser/enterprise/reporting/legacy_tech/legacy_tech_report_generator.h"
... |
44afff4f2beba8db98129820b22bb05f6fd97295 | b20b8063863b692b79ef9ac7d7af3b35328c6a4b | /src/remote/pv/codec.h | 32e864106fa60a7bce48d1b9541aa5079723f760 | [
"MIT"
] | permissive | epics-base/pvAccessCPP | 1cf5881577a57c88c980fb5c90831b8f55deab28 | 581d100a029e6f68f3c1830b90509b3ee5ebd7a0 | refs/heads/master | 2023-03-20T01:10:11.057042 | 2023-03-10T11:02:30 | 2023-03-10T11:46:32 | 29,925,701 | 11 | 24 | NOASSERTION | 2023-03-10T11:46:33 | 2015-01-27T17:30:29 | C++ | UTF-8 | C++ | false | false | 18,438 | h | codec.h | /**
* Copyright - See the COPYRIGHT that is included with this distribution.
* pvAccessCPP is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
*/
#ifndef CODEC_H_
#define CODEC_H_
#include <set>
#include <map>
#include <deque>
#include <shareLib.h>
... |
0942637aa3e9b67bea9ab3eba561782d2ccbd68c | fd7552a7fa55d2cc0d9b50f63e31ee03a11c07e2 | /cppForLeetcode/822_CardFlippingGame.cpp | 8e049f5cb4c722e122a4a801e0d83b38416e9fe9 | [] | no_license | hanrick2000/leetCode-5 | 0828ad9655034b5fa90475c17f78d80ebe01d819 | 58ab36bb9b568c25ceafd5e3c2acae8057e3df0c | refs/heads/master | 2020-12-10T16:18:10.213237 | 2019-06-05T09:05:49 | 2019-06-05T09:05:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,798 | cpp | 822_CardFlippingGame.cpp | #include <vector>
#include <unordered_map>
#include <iostream>
using namespace std;
class Solution {
public:
int flipgame(vector<int>& fronts, vector<int>& backs) {
unordered_map<int, vector<int>> counter;
int count = 0;
for(int i : fronts)
{
counter[i].push_back(count);
... |
b5acb15d45a3d00bbae418624871fa28d2d69220 | 0ea45528e6d305075be7794a3d6febd81ee7ba86 | /src/PrimeFacorization.h | 43b2c18d967e9f7b06b87e47dc964a4bebef469d | [] | no_license | mamunul/algorithm | b705d74ba6a1954e48c751bcf7f54bf21ddd18e0 | 8cb1492e86c62e0b9765eefcc6664d9797f06943 | refs/heads/master | 2021-01-17T09:25:05.428869 | 2016-04-05T19:24:10 | 2016-04-05T19:24:10 | 39,956,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | h | PrimeFacorization.h | /*
* PrimeFacorization.h
*
* Created on: Apr 3, 2016
* Author: Mamunul
*/
#ifndef PRIMEFACORIZATION_H_
#define PRIMEFACORIZATION_H_
#include <algorithm>
#include <deque>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <utility>
#include <vector>
#include <deque>
#include <s... |
27ff5293f2c05ad77b4296c2035f6ef6eeda8b2a | 553cd650a0af193c83866deab14a922ecd1d3613 | /src/wallet/include/wallet/app/tx_controller.h | 2b92fa062362e6fd06765fce76d184b15743614a | [
"MIT"
] | permissive | edwardstock/mintex | 9251703ef5b5e4dc11a6baa2974fed2f972f414b | edb9a5cef4fa145921a5ceac6d981e423f893f86 | refs/heads/master | 2020-05-17T03:16:57.538043 | 2019-07-25T22:17:34 | 2019-07-25T22:17:34 | 183,473,512 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | h | tx_controller.h | /*!
* mintex.
* app_tx
*
* \date 02.05.19
* \author Eduard Maximovich (edward.vstock@gmail.com)
* \link https://github.com/edwardstock
*/
#ifndef MINTEX_TX_CONTROLLER_H
#define MINTEX_TX_CONTROLLER_H
#include <utility>
#include "wallet/gate/repository.h"
#include "wallet/app/app.h"
namespace wallet {
namesp... |
1470fe27e6a2544c5ef4e7136d3f558befd23772 | b7140f23a9941401f1a120894ee36b1b2dd6417a | /pgHelpers.cpp | c6704700a5ec0c2f64e8a918c0aa6b57052ea86b | [] | no_license | Wire-Flies/DataDrawerCXX | 4f575f4974ac2d1eed0f46863c98711ecb4ab249 | 9472eea38a35166f8502c78c5aff0da856abe442 | refs/heads/master | 2020-03-08T11:26:12.382305 | 2018-04-04T17:42:59 | 2018-04-04T17:42:59 | 128,097,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,948 | cpp | pgHelpers.cpp | #include "pgHelpers.hpp"
#include <iostream>
pgconn::pgconn(){
conn = new pqxx::connection(
"user=wireflies "
"host=localhost "
"password=wireflies "
"dbname=wireflies");
}
pgconn::~pgconn(){
delete conn;
}
std::map<unsigned long long, flight> pgconn::find_flights(std::string... |
d16d7ea909d7efb5dbed342f10406d2224182501 | e7e497b20442a4220296dea1550091a457df5a38 | /main_project/talk/OnlineBitmap/src/OnlineBitmapManagerI.h | f5a407ef4817fc43e5ca19f02fe400801aba3aad | [] | no_license | gunner14/old_rr_code | cf17a2dedf8dfcdcf441d49139adaadc770c0eea | bb047dc88fa7243ded61d840af0f8bad22d68dee | refs/heads/master | 2021-01-17T18:23:28.154228 | 2013-12-02T23:45:33 | 2013-12-02T23:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,862 | h | OnlineBitmapManagerI.h | #ifndef __ONLINEBITMAPMANAGER_H__
#define __ONLINEBITMAPMANAGER_H__
#include <string>
#include <map>
#include <vector>
#include <Ice/Ice.h>
#include "Singleton.h"
#include "TaskManager.h"
#include "OnlineBitmap.h"
#include "OnlineCenter.h"
#include "TalkCommon.h"
#include "string.h"
namespace talk{
namespace onlinebi... |
abee1673943ff1c8b554bbcd432c3166ce1c6eab | c3b19e273e4bdea1b526c81351ca9ec25d84d74b | /heuristics/LineData.hpp | 563111562d590ddb91bc742a355110ff1a793346 | [] | no_license | victorwatrelos/gomoku | 7d2caa0983f10d3645524657ea1f31bafa20fd03 | 0b0e1a327d4b9d952396ef8f565e8d02b3a32a03 | refs/heads/master | 2023-09-03T19:36:15.253934 | 2017-02-15T19:36:43 | 2017-02-15T19:36:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | hpp | LineData.hpp | #ifndef LINEDATA
# define LINEDATA
# include "../Board.hpp"
# include "../utilities/BoardUtilities.hpp"
# include "../utilities/AbstractLineData.hpp"
class LineData : public AbstractLineData
{
public:
LineData(void);
LineData(const LineData &obj);
LineData &operator=(const LineData &p);
virtual ~LineData(... |
34f78c98f745840f8aa2008e9bcb353cbad48be2 | 1e867f11e7974fc57b03d06646a7918a064fb052 | /Almost all Divisors.cpp | 45a7d590d1962541744698a98db54c9a529f7a26 | [] | no_license | Wahed08/ACM-Problem-Solving | f4d6b3615d0f8e935583028b3642a283c502d2b1 | d7bc101b51699bc165202f201bcc791687ce4fe6 | refs/heads/master | 2023-04-17T19:46:09.620633 | 2023-04-07T05:53:40 | 2023-04-07T05:53:40 | 188,804,904 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,215 | cpp | Almost all Divisors.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(0),cout.tie(0);
int t;
cin>>t;
while(t--)
{
int k;
cin>>k;
long long int arr[k],arr2[k];
vector<long long>vec;
for(int i=0; i<k; i++)
{
... |
139407f31d2d10bbe0362eb69914ab83bd775197 | b30495fd5c72b70acd70f1b452b913664d1f6735 | /src/Steps.h | e6b42a9a4137b6cd3d1c0716c0d65248b53d1e9b | [] | no_license | Sandy4321/FusedLasso-1 | dde161ed3dc97d81db927af4aa6b8e63735e42bf | c360f7ce6acef8774dac2b6c6e8bd00069dc6380 | refs/heads/master | 2020-07-10T20:09:17.983761 | 2014-05-12T00:00:00 | 2014-05-12T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,255 | h | Steps.h | #ifndef _STEPS_H_
#define _STEPS_H_
#include <utility>
#include <vector>
using namespace std;
/*
* Given the current betas, it finds the root of the function
*/
class Steps {
inline static bool updateBeta(vector<double>& beta, const int pos, double& deriv, const double& slope, const double& zeroStepSize, const ve... |
823c1c2ea1e427984eb6b9ba02df0e90b6b995f2 | 5776f9c5bfd8b9167b36376499f3397a57dce320 | /DirectX11Engine/GfxUtil.h | 39cb9c0268f96f0329cb94aefc00d206d5e5f2b6 | [] | no_license | mister51213/DirectX11Engine | b92d40c1f13de3493c9c5054fb5fd064546d601c | a3b233cf5fababc5cd6fd794aefc20e05c5eec30 | refs/heads/master | 2021-09-14T12:14:46.852460 | 2018-02-22T13:40:57 | 2018-02-22T13:40:57 | 108,654,528 | 2 | 2 | null | 2017-12-24T03:21:10 | 2017-10-28T14:10:09 | C++ | UTF-8 | C++ | false | false | 7,490 | h | GfxUtil.h | ////////////////////////////////////////////
// Filename: GfxUtil.h
// Contains useful functions and operator overloads for working with Graphics
///////////////////////////////////////////////
#pragma once
#include <Windows.h>
#define _XM_NO_INTRINSICS_
//#include <directxmath.h>
//#include <stdlib.h>
#include <d3d1... |
922c9d5e2b25b46244d1b7b841602caa09961554 | 8c6f118d3d4289db198c08ad48dccf4c54df51ef | /ArduinoCode/try_led/try_led.ino | fff005a794fbcfdf4379b26df0fd5a158a1a09e2 | [] | no_license | MihaelaGadzhalova707/Diploma_Work | 3deeb3cae769b26b5e5c317c8b9c920d16a3c200 | 03689b05ac1a8316daddd7814acfd0db1d30749c | refs/heads/master | 2022-12-13T05:58:11.101621 | 2019-06-06T21:13:07 | 2019-06-06T21:13:07 | 161,848,890 | 0 | 0 | null | 2022-12-09T13:21:30 | 2018-12-14T22:54:49 | C++ | UTF-8 | C++ | false | false | 2,804 | ino | try_led.ino | #define REDPIN D0
#define GREENPIN D2
#define BLUEPIN D4
#define FADESPEED 5 // make this higher to slow down
void setup() {
pinMode(REDPIN, OUTPUT);
pinMode(GREENPIN, OUTPUT);
pinMode(BLUEPIN, OUTPUT);
}
void loop() {
int r, g, b;
// fade from blue to violet
for (r = 0; r < 256; r++) {
a... |
504a598d56e1f29792e9308c0bc59811e0248f4a | a23f6be0ff14975217b8956b3b512945b5ad05e3 | /include/tao/pegtl/internal/ranges.hpp | 10de9d082eaeff9f24d1d8dae7a5e143ed699ec4 | [
"BSL-1.0",
"LicenseRef-scancode-free-unknown"
] | permissive | taocpp/PEGTL | e25327120da488d2fd5c71f180de453c66985290 | 788f223ee7c8377f78966c87d60b91188e3df33a | refs/heads/main | 2023-09-03T01:31:39.664216 | 2023-07-15T10:58:53 | 2023-07-15T10:58:53 | 28,405,090 | 1,505 | 243 | BSL-1.0 | 2023-07-15T13:34:54 | 2014-12-23T15:29:50 | C++ | UTF-8 | C++ | false | false | 2,790 | hpp | ranges.hpp | // Copyright (c) 2014-2023 Dr. Colin Hirsch and Daniel Frey
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
#ifndef TAO_PEGTL_INTERNAL_RANGES_HPP
#define TAO_PEGTL_INTERNAL_RANGES_HPP
#include <utility>
#include... |
af5b8b7058d04e179330eb2acdefec828e6d1c58 | 057a475216e9beed41983481aafcaf109bbf58da | /src/Functions/keyvaluepair/extractKeyValuePairs.cpp | 34081cddb9272ddb33f24241f65b38f75d2e4776 | [
"Apache-2.0"
] | permissive | ClickHouse/ClickHouse | fece5204263a5b4d693854b6039699265f1bb27f | 6649328db809d51a694c358571539bc5820464be | refs/heads/master | 2023-08-31T18:48:36.615225 | 2023-08-31T17:51:24 | 2023-08-31T17:51:24 | 60,246,359 | 23,878 | 5,449 | Apache-2.0 | 2023-09-14T20:10:52 | 2016-06-02T08:28:18 | C++ | UTF-8 | C++ | false | false | 10,270 | cpp | extractKeyValuePairs.cpp | #include <Columns/ColumnsNumber.h>
#include <Columns/ColumnMap.h>
#include <Functions/FunctionFactory.h>
#include <Functions/IFunction.h>
#include <DataTypes/DataTypeMap.h>
#include <DataTypes/DataTypeString.h>
#include <Interpreters/Context.h>
#include <Functions/keyvaluepair/impl/KeyValuePairExtractor.h>
#include... |
23d2ffc67f0195434eeedb2b10ea48208146ab67 | 96e87962669d7b06bcc00d9d29955f6016548ffd | /src/JEngine/Timer.cpp | e8f71a4a3bb3a75fd37f1f6f96c81815e4b2aded | [] | no_license | jaykop/JEngine-old | f805418918ebf28e709f058ca9b3ffd869a12682 | 7c4540180e8ecc6c27963a550b8707dd66f9f96a | refs/heads/master | 2022-07-25T10:01:03.593902 | 2020-05-05T10:12:14 | 2020-05-05T10:12:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,161 | cpp | Timer.cpp | #include <ctime>
#include "Timer.h"
jeBegin
/******************************************************************************/
/*!
\brief - Start to check time
*/
/******************************************************************************/
void Timer::Start(void)
{
time_ = static_cast<float>(clock());
}
/********... |
568a7197169a120651cdd82e0dce92f0355303d5 | 3ee3160242b1e43cd1f6402d76fffb87e37e04b9 | /Homework7/min.hpp | 9971037bc3d04118832f63123e3ce2ae13816dda | [] | no_license | AlexanderKnight/NumericalMethods | 098466db771fb3d27e6a35fae4d4d0bdd96539cb | 099549e0f72abcb7ae8ebae56723ca28d4879a1c | refs/heads/master | 2020-07-18T04:29:57.267029 | 2019-12-20T18:08:17 | 2019-12-20T18:08:17 | 206,175,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,096 | hpp | min.hpp | #include <vector>
#include <iostream>
#include <fstream>
#include <string>
#include <assert.h>
#include <math.h>
using namespace std;
//#include "rf.hpp"
inline double
magnitude(const vector<double> A)
{
double mag = 0.;
for(int i=0;i<A.size();i++)
{
mag += A[i]*A[i];
}
mag = sqrt(mag);
return mag;
}
... |
b52f3e80f27a0ad0c4203910b27e9be66398a822 | 47ad925c5c18f3d669803d8ddeadb48a75c23578 | /fse_names/MyFSEAirport.cpp | e440869c84ba633dc0cdcf459bff38e686fa2526 | [] | no_license | kristian80/fse_names | e92d963703f8aa375710d0d2ca10670843ddb15f | e74518439447e17d3d91e612a91f92fd0decb82c | refs/heads/master | 2020-04-14T06:29:18.401949 | 2019-01-02T12:38:04 | 2019-01-02T12:38:04 | 163,687,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 114 | cpp | MyFSEAirport.cpp | #include "pch.h"
#include "MyFSEAirport.h"
MyFSEAirport::MyFSEAirport()
{
}
MyFSEAirport::~MyFSEAirport()
{
}
|
68baf5ff07e1ab1f831afcae102827b087ba4b57 | 65e3391b6afbef10ec9429ca4b43a26b5cf480af | /STEER/STEER/AliParamSolver.h | 2dabe6dd761190abdff6c49488b5a2dfaecc992d | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-proprietary-license"
] | permissive | alisw/AliRoot | c0976f7105ae1e3d107dfe93578f819473b2b83f | d3f86386afbaac9f8b8658da6710eed2bdee977f | refs/heads/master | 2023-08-03T11:15:54.211198 | 2023-07-28T12:39:57 | 2023-07-28T12:39:57 | 53,312,169 | 61 | 299 | BSD-3-Clause | 2023-07-28T13:19:50 | 2016-03-07T09:20:12 | C++ | UTF-8 | C++ | false | false | 3,119 | h | AliParamSolver.h | #ifndef ALIPARAMSOLVER_H
#define ALIPARAMSOLVER_H
/* ----------------------------------------------------------------------------------------
Class to solve a set of N linearized parametric equations of the type
Eq(k): sum_i=0^n { g_i G_ik } + t_k T_k = res_k
whith n "global" parameters gi and one "local" pa... |
4a2ac890134269f3c620e879d3be498ccaf80c1e | a5a99f646e371b45974a6fb6ccc06b0a674818f2 | /CondCore/CondDB/interface/KeyListProxy.h | f543ef97e1d3a826b4ccafaa619c83b9f12264d1 | [
"Apache-2.0"
] | permissive | cms-sw/cmssw | 4ecd2c1105d59c66d385551230542c6615b9ab58 | 19c178740257eb48367778593da55dcad08b7a4f | refs/heads/master | 2023-08-23T21:57:42.491143 | 2023-08-22T20:22:40 | 2023-08-22T20:22:40 | 10,969,551 | 1,006 | 3,696 | Apache-2.0 | 2023-09-14T19:14:28 | 2013-06-26T14:09:07 | C++ | UTF-8 | C++ | false | false | 1,583 | h | KeyListProxy.h | #ifndef CondCore_CondDB_KeyListProxy_h
#define CondCore_CondDB_KeyListProxy_h
#include "CondCore/CondDB/interface/PayloadProxy.h"
#include "CondCore/CondDB/interface/KeyList.h"
#include <memory>
#include <vector>
#include <string>
namespace cond {
struct Iov_t;
namespace persistency {
class Session;
t... |
791cc138e9ecdea707501810bba7c0ef8569e1dc | e41cb758ce46b7b0fef6221febc1844b3a7583d1 | /rain.h | 23a98a360282c4978450b6e89ba0b824377957ef | [] | no_license | rianta9/Botngu | 7e341eabe520153d093b9e22ad1c678ff97e4f15 | 4e5f64f08d70702125f919a59b043d0cfe0b6904 | refs/heads/master | 2021-07-06T19:22:13.971346 | 2020-11-27T12:50:14 | 2020-11-27T12:50:14 | 210,623,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196 | h | rain.h | #pragma once
#include<bits/stdc++.h>
#include<Windows.h>
#include<time.h>
#include<thread>
#include<chrono>
using std::this_thread::sleep_for;
using std::chrono::milliseconds;
void runrain();
|
239a4379d8123ed3b81f3d4039c9ef2d951af105 | 8075e5fd3dc9f0781c26a671c2b97e5741eeff28 | /inc/grayvalley/smd/SMDSubscription.hh | 656cc739461c5ba712f7df5b587761cdf762387a | [
"Apache-2.0"
] | permissive | grayvalley/smd | d246855a197a9a732760de6ec1326e92933ddfc6 | b70993787d5233e0ff390950cf05e77775c8b126 | refs/heads/main | 2023-02-22T16:11:33.108068 | 2021-01-25T22:43:35 | 2021-01-25T22:43:35 | 316,050,780 | 0 | 0 | Apache-2.0 | 2021-01-25T22:44:10 | 2020-11-25T20:49:42 | C++ | UTF-8 | C++ | false | false | 1,555 | hh | SMDSubscription.hh | /*
* Copyright 2020 Juha-Samuli Hellén
*
* 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 agr... |
2c7dd3c70aa346e29bb1f91db48a3e8eabb8df00 | 9d565954121e39dabf80417affc99b99c68c5f1a | /ros/src/simple_distrib/src/listen_talker.cpp | e3a6b45f2a764fd0798787bab3d2cf933ef5a813 | [
"MIT"
] | permissive | BH1SCW/ComP | dc9b8348bbf62edc20d22e850648cf9827e7aa60 | 021440aa98aa03ee3b86ed3db196b95477b9f80b | refs/heads/master | 2023-08-25T07:17:12.148813 | 2021-11-02T09:39:58 | 2021-11-02T09:39:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 802 | cpp | listen_talker.cpp | #include "ros/ros.h"
#include "std_msgs/String.h"
#include "simple_distrib/Test.h"
#include <fstream>
#include <vector>
#include <signal.h>
#include<numeric>
using namespace std;
ros::Publisher pub;
string node_name = ros::this_node::getName();
void chatterCallback1(const simple_distrib::Test::ConstPtr& msg)
{
cou... |
609538f484d8a02c3178f2376d482a54db372084 | f3d7998e1b9a781730c6509dce0835ba5e0051ca | /Cuentaatras0/main.cpp | 1d24c05d62baf077107a3ac87c79bdac6ef16110 | [] | no_license | codigopublico/netbeans | 43453eeb192bad32a081d996889c71a3e2dff71e | a5aca58f7f0ecdc43fb0d4c8d4e8b68496aed421 | refs/heads/master | 2021-01-19T15:05:09.665897 | 2017-09-04T23:33:47 | 2017-09-04T23:33:47 | 100,942,570 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | cpp | main.cpp | /*
* File: main.cpp
* Author: prog
*
* Created on 1 de agosto de 2017, 13:42
*/
#include <cstdlib>
#include <iostream>
using namespace std;
/*
*
*/
int main(int argc, char** argv) {
int cont = 100;
while (cont > 0)
{
cont--;
std::cout << "Cuidado no descontarse, voy por la iter... |
57146b7225c567acf20727b2ee79414e6a41d690 | 0695314fce393f6abdd322241db4294e237e351c | /src/Enchantments.cpp | fbe4c8b95bb176458302eab1e0bc95cab8f23703 | [
"Apache-2.0"
] | permissive | cuberite/cuberite | df468fe78e4f8e383e1229fe9bea799dff6fc501 | eda440e0db028587975c867dbacb513d80df4dca | refs/heads/master | 2023-08-31T17:55:40.563231 | 2023-08-21T11:49:46 | 2023-08-21T11:49:46 | 11,693,709 | 4,815 | 990 | NOASSERTION | 2023-08-21T11:49:47 | 2013-07-26T19:56:59 | C++ | UTF-8 | C++ | false | false | 36,563 | cpp | Enchantments.cpp | // Enchantments.cpp
// Implements the cEnchantments class representing a storage for item enchantments and stored-enchantments
#include "Globals.h"
#include "Enchantments.h"
#include "WorldStorage/FastNBT.h"
#include "FastRandom.h"
#include "Noise/Noise.h"
#include "BlockType.h"
cEnchantments::cEnchantments(void... |
8b8fc3dde0859e4fbc5f5c2591cdc5a0d7686561 | 75a574cc626abb6106d749cc55c7acd28e672594 | /Algorithm.vNext/LogTest.cpp | 0f8a0e3d6eeb1e119224da3f1e9334b38730e0f9 | [] | no_license | PeterGH/temp | 6b247e0f95ac3984d61459e0648421253d11bdc3 | 0427b6614880e8c596cca0350a02fda08fb28176 | refs/heads/master | 2020-03-31T16:10:30.114748 | 2018-11-19T03:48:53 | 2018-11-19T03:48:53 | 152,365,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,807 | cpp | LogTest.cpp | #include "Test.h"
void LogTest::Init(void)
{
Add("Default", [&]() {
Logger().WriteError("Error: %d\n", LogLevel::Error);
Logger().WriteWarning("Warning: %d\n", LogLevel::Warning);
Logger().WriteInformation("Information: %d\n", LogLevel::Information);
Logger().WriteVerbose("Verbose: %d\n", LogLevel::Ve... |
5bdbe720f1b4096b296de31f2edae967831da213 | dc959ef10c45b4f3cd2cba9def34548c1072ff52 | /loginscreen/ListContact.cpp | 39dd16c570edbe1bcc11dd06a62149aec83971ec | [] | no_license | Tchaokko/babel | 000ae020521d78840d7df7d0da4803e2f173372f | f84bcf1fc8c153ce9beb00bcad6e5d698285f93f | refs/heads/master | 2021-01-01T17:10:31.671403 | 2014-11-09T14:44:34 | 2014-11-09T14:44:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 411 | cpp | ListContact.cpp | #include <qlistwidget.h>
#include <QtWidgets\qmainwindow.h>
#include <QtWidgets\qapplication.h>
#include "ListContact.h"
#include "qlayout.h"
ListContact::ListContact(QMainWindow *window)
{
QListWidget *listWidget = new QListWidget(window);
new QListWidgetItem(("Oak"), listWidget);
new QListWidgetItem(("fire"), ... |
679f531b6fefefd2cf44a1a6e740e9d2f6733bd2 | 514bca1be3424df5cfefbec52fb70e28746f3302 | /src/attendeedata.h | 1ef1381e70066b0f04c9ce3e914f7349ed8dff34 | [
"CC0-1.0",
"BSD-3-Clause"
] | permissive | KDE/incidenceeditor | 5daaada63054c26e58577347c5212e73514f71fb | d79c28455ce176a8d71dfa7701d6ec3c037f664c | refs/heads/master | 2023-08-31T11:45:44.656132 | 2023-08-28T02:13:06 | 2023-08-28T02:13:06 | 47,668,356 | 7 | 3 | null | 2018-07-11T02:44:29 | 2015-12-09T04:26:33 | C++ | UTF-8 | C++ | false | false | 1,233 | h | attendeedata.h | /*
SPDX-FileCopyrightText: 2010 Casey Link <unnamedrambler@gmail.com>
SPDX-FileCopyrightText: 2009-2010 Klaralvdalens Datakonsult AB, a KDAB Group company <info@kdab.net>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#pragma once
#include <Libkdepim/MultiplyingLine>
#include <KCalendarCore/Attendee>
namespac... |
d76ccd63aa9e2ff5219d8bd61828f5b68b6afb6f | 547717a8c4098389c8e0870c9f3a3f5e430b9f7e | /gpgraph_test.cc | 2b12bf617c86bad777146c202c4275cfc7a4d394 | [] | no_license | atn34/gpgraph | 3c8497b277a4bb281419d56127e9a69511ae5748 | dc78d3f439bb868f916ecdd6c623aa677ba9cbe3 | refs/heads/master | 2021-07-12T22:20:31.889078 | 2017-10-14T16:14:58 | 2017-10-14T16:14:58 | 106,625,331 | 0 | 0 | null | 2017-10-13T21:28:19 | 2017-10-12T00:40:26 | C++ | UTF-8 | C++ | false | false | 1,690 | cc | gpgraph_test.cc | #include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "gpgraph.h"
TEST(Cycle, NoCycle) {
GpGraph<1> g(3);
g.add_edge(0, 1);
g.add_edge(0, 2);
g.add_edge(1, 2);
EXPECT_FALSE(g.find_cycle());
}
TEST(Cycle, CycleDontReport) {
GpGraph<1> g(3);
g.add_edge(0, 1);
g.add_edge(1, 2);
g.add_edge(2, 0);
... |
a134aa86b94121531fb0eb60d4c7deca6b9276fe | fc04a37e98357819ceb97bc9e00076d2a6fb2849 | /LanguageBarrier/GameText.cpp | e030013a220fe19bed6d7e5d442cfdd1b43d4197 | [
"MIT"
] | permissive | grechnik/LanguageBarrier | deb8100779da6ab7d8529f59cefadf75c6a5de5a | 798c57bbfade8f56f0be72a9b399ef0ee2b6213f | refs/heads/master | 2021-01-21T18:46:51.320066 | 2019-10-31T20:07:41 | 2019-10-31T20:07:41 | 92,081,894 | 5 | 2 | null | 2017-05-22T17:43:45 | 2017-05-22T17:43:45 | null | UTF-8 | C++ | false | false | 47,886 | cpp | GameText.cpp | #include "GameText.h"
#include <list>
#include <vector>
#include "Game.h"
#include "LanguageBarrier.h"
#include "SigScan.h"
typedef struct __declspec(align(4)) {
char gap0[316];
int somePageNumber;
char gap140[12];
const char *pString;
} Sc3_t;
// this is my own, not from the game
typedef struct {
int lines... |
7943de4d702900918630298af902862608da8f99 | 34d44a9ca7e6eb63495247ed2aed146b55f1c7db | /QuestionAns/wfb/1816.cc | 1966cbb35ddf66aefa3593c3ee0445be0b68e9f8 | [] | no_license | sdustlug/OpenJudge | 2419c00824f29144864571e1d25c9de1a09350d2 | a6550441691470df505f6a971bc9661ced1b0773 | refs/heads/master | 2023-09-03T11:48:01.041727 | 2021-10-18T13:47:57 | 2021-10-18T13:47:57 | 418,521,703 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,395 | cc | 1816.cc | #include <iostream>
#include <vector>
using namespace std;
class Matrix{
friend ostream& operator << (ostream& os,const Matrix& m){
if(m.r_ == 0 || m.c_ == 0) os<<"Error"<<endl;
else {
for(int i=0; i<m.r_; ++i) {
for(int j=0; j<m.c_; ++j){
i... |
c1aa602552dae49673ffc7886dc3b01b38026b30 | 86124d40ca4714bac5a89d45dc8dd657413d7667 | /CG_Online/src/main.cpp | 1e45325a04903e33e19a51ddd735b0719053316f | [] | no_license | jianming1481/3d-recognition | d6fbbcef88181e6a4032b3540701454b1cdcce9e | 2e5bbdcc047813a6e194cf192fcca40a3dccd7bd | refs/heads/master | 2021-01-20T06:42:54.429579 | 2017-05-01T10:55:12 | 2017-05-01T10:55:12 | 89,913,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,880 | cpp | main.cpp | #pragma once
#include "../include/Recongnition3D.h"
#include "ros/ros.h"
#include <sensor_msgs/PointCloud2.h>
#include <iostream>
#include <string>
#include <sstream>
using namespace std;
#include <pcl/io/pcd_io.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/visualization/cloud_viewer.h>
#... |
efa90b75b16b4f1e7cf4d8ed07aaa897bd84589d | e56a1c7e0a55fe29965192bce7256f621b51b7db | /启发式评估.cpp | ea5ddc77bebdf5367fc297ae54c4a6b2bfc7c8fd | [] | no_license | DS201810/DS_C- | 9953e83294d79ab24c9b438a1673aee47774be3d | 07d07d23aa66f39d87f92235c5d2246ab716af62 | refs/heads/master | 2021-05-21T14:11:24.287397 | 2020-04-15T08:29:21 | 2020-04-15T08:29:21 | 252,677,310 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 16,210 | cpp | 启发式评估.cpp | #include<iostream>
#include<vector>
#include<stdlib.h>
using namespace std;
class Board{
public:
int comScore;
int humScore;
int x;
int y;
};
struct Score{
int ONE=5; //活一
int BLOCKED_ONE=1;//眠一
int TWO=150;//活二
int MIST_TWO=100;//朦胧二
int BLOCKED_TWO=10;//眠二
int THREE= 350;
int... |
5cacfbbb4b4b7c83d44658465a71323fddff79d2 | 975142ac6ec86cebb53de5e6e070fd8596379eaa | /GrassTagFileConverter.cpp | 4e49aa80e0cb8d9e6c8bd6df9ef5135adeda4e39 | [] | no_license | ivandro/Nightmare-s-lair | 9d66527c56a62c045a1ad2d64451ef2bdc37ea71 | 33a474be5ef5f476a29a7487fad0e4ed07be48cb | refs/heads/master | 2016-09-06T07:00:29.032471 | 2011-12-05T19:39:55 | 2011-12-05T19:39:55 | 2,674,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | cpp | GrassTagFileConverter.cpp | #include "GrassTagFileConverter.h"
namespace example {
GrassTagFileConverter::GrassTagFileConverter() {
tagFileMap[ TEXTURE_WALL ] = "Images\\Wall\\dirtyWall\\grass.tga";
tagFileMap[ TEXTURE_FLOOR ] = "Images\\Grass\\Grass2.jpg";
}
GrassTagFileConverter::~GrassTagFileConverter() {}
std::string GrassTag... |
9801c4737af84dc2487b2d2ba8970d38f4586d0d | 4c9d1123d1016fbcf7778491a3ef52cca5b687a1 | /IDAutomaton.cpp | 58ab4373afee402b1d1c1b8bc64f8096f9d903e2 | [
"MIT"
] | permissive | Chuychuychuy98/project-2-parser | b04b8dab66ba2c6e810b013171c02f2a568c2082 | f068c62ee16ce988268dc481de669d01881e3168 | refs/heads/main | 2023-08-23T04:57:52.391597 | 2021-10-02T02:51:32 | 2021-10-02T02:51:32 | 409,445,730 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | cpp | IDAutomaton.cpp | //
// Created by Chandler Rowe on 9/13/21.
//
#include "IDAutomaton.h"
void IDAutomaton::S0(const std::string &input) {
if (isalpha(input[index])) {
index++;
inputRead++;
S1(input);
}
else {
Serr();
}
}
void IDAutomaton::S1(const std::string &input) {
if ((int)inpu... |
57747457f52bb6cfb931f062bfc858715906ea29 | 362d81bc451933bad0fa2b07c6bfb42137599ae1 | /linux/platform/s5p4418/apps/diagnostic/inc/debug_window.h | 57969e8e81eda9b1d82f06a2286563e1f3e26c76 | [] | no_license | Jiazhiy/android | b5f749172f6098be8632e2bd1a542d8a4d42a356 | a64750ecbdb01422ddeb9ff5504c50de729dfd6e | refs/heads/master | 2022-12-20T22:52:18.702185 | 2020-09-19T03:49:54 | 2020-09-19T03:49:54 | 296,186,694 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,675 | h | debug_window.h | #ifndef __debug_window_h__
#define __debug_window_h__
#include <SDL/SDL.h>
#include <SDL/SDL_ttf.h>
// nexell diagnostic configuration interface
#include <diag_config.h>
#include <utils.h>
#define MAX_LINE_BUFFER 255
#define MAX_LINES 128
typedef struct LINE_BUFFER{
char msg[MAX_LINE_BUFFER+1];
char size;
}LIN... |
3b2d946c23ed88f26c9679af9d8785e72cb3b90f | d396171b05504dec8e9b70a7ad0e6badd11f5d2b | /ceee/ie/plugin/bho/webrequest_notifier.cc | beb4c609df924b966b6b0b7946ca3c14c9d4dfdf | [] | no_license | madecoste/ceee | 6e312b18b28e2c39418f769a274e71c9f592943b | 30efa2b3ea7b4cef459b4763686bd0664aa7798f | refs/heads/master | 2016-09-05T18:26:19.713716 | 2011-02-02T20:02:52 | 2011-02-02T20:02:52 | 32,116,269 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,726 | cc | webrequest_notifier.cc | // Copyright (c) 2010 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.
//
// Web request notifier implementation.
#include "ceee/ie/plugin/bho/webrequest_notifier.h"
#include "base/logging.h"
#include "base/scoped_ptr.h"
... |
ce6eea586e962098e8da2ea3e81d045dd02ac93e | 6df55146e2551f576805f9dba17bc9dc1bdc8d70 | /day7.cpp | e6872926f1ec0366b9e3f20427777a6600d152ff | [] | no_license | 92FS/DailyCodingProblems | c0fbe9d0671a7349e7cf7818c81608bbb5d9a81d | 0d61134b8841d66e1e64875a7ea0219a9386ab9c | refs/heads/master | 2020-04-25T10:55:25.186828 | 2019-07-01T02:26:12 | 2019-07-01T02:26:12 | 172,726,913 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | cpp | day7.cpp | /*
Given the mapping a = 1, b = 2, ... z = 26, and an encoded message, count the number of ways it can be decoded.
For example, the message '111' would give 3, since it could be decoded as 'aaa', 'ka', and 'ak'.
You can assume that the messages are decodable. For example, '001' is not allowed.
*/
#include <string>
#i... |
f83f33fed8c1086ab181e43fbf5e22b3d9ce988a | 19803c700507ee48f532f97dfe24a1178505b97d | /cm_sq1_1.cpp | 9aa4e052b0e4f44bfc7c45d2f74b031625d9525a | [] | no_license | annusachan24/Codes | d36ff19a748fd85b57ee4506d998e21f2b153076 | 12dad8edf23da08816a38ec3450e65145da1fe73 | refs/heads/master | 2020-09-16T06:32:57.067613 | 2016-09-10T11:32:42 | 2016-09-10T11:32:42 | 67,857,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | cpp | cm_sq1_1.cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define rep(i,n) for(ll i=0;i<n;i++)
int main()
{
int n,k,count=0,j,m=0;
cin>>n;
int ideal[n];
queue <int> c;
rep(i,n)
{
cin>>k;
c.push(k);
}
rep(i,n)
cin>>ideal[i];
while(m<n)
{
if(ideal[m]==c.front())
{
c.pop();
count++;
... |
13aff4af5def18b52c03de499016eb1852def12b | 9dae4d0e933f25104fad3a6138f4d24e22bdc03c | /vodsim/vod/Overlay.cpp | b5c8ce5222e8f861fab6d3f6f2916267291936f6 | [] | no_license | Romantic-LiXuefeng/FALPS | 6b487d5c56c87ddd915f1cd9fb9a41dce769bb9a | eac63c4efc3933c0592a4064e3cec073f18d4ed9 | refs/heads/master | 2021-12-25T02:46:47.002419 | 2017-12-25T14:07:07 | 2017-12-25T14:07:07 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 15,605 | cpp | Overlay.cpp | #include "Vod.h"
//////////////////////////////////////////////////////////////////////////
//邻居节点组织
addr_t VodApp::eraseNeightbors()
{
if (m_intreastingNB.size()<0.9*NEIGHTBOR_COUNT)
return INVALID_ADDR;
intreasting_nb_map_t::iterator nbItr(m_intreastingNB.begin());
rate_Bps_t minContribute=INT_MAX;
intreasting... |
02c2bbb419efd9552b3acf4e7fd2f02cea8112f4 | 75254a6dccf97f64b284008c382fbbdc3b46c2e2 | /src/GoToAction.h | 60d6793f4868a3795a83eeac9bbaaa22d0757d07 | [
"MIT"
] | permissive | danielfx90/TenazAyuda | f146f54dd17878792d25424b6806ebb29b16f946 | 3966007ba664fcee4834c6267f27864dc5a26f2a | refs/heads/develop | 2021-01-15T09:42:42.335838 | 2016-12-08T20:02:19 | 2016-12-08T20:02:19 | 67,305,882 | 0 | 0 | null | 2016-12-08T20:05:33 | 2016-09-03T18:38:25 | C++ | UTF-8 | C++ | false | false | 248 | h | GoToAction.h | #ifndef GoToAction_h
#define GoToAction_h
#include "Action.h"
class GoToAction : public Action {
protected:
int* positions;
int positionsQuantity;
virtual void act();
public:
GoToAction(int* positions, int positionsQuantity);
};
#endif
|
6d05d8267db5fe04f261fa2cbcf281938e827ccb | 0865adce3ffdff4625b288b1cf4c1a96901ec34a | /PROBLEM 2.cpp | 15db0bc42c1b541af4c6e35b1a6747cb55cf317d | [] | no_license | jasmingea/Experiment-2 | 5f8f200d4784ae93a8a7edb186062262e6e0d7d2 | 789ecc15877da59f4c28be68e7d870ad955e5b25 | refs/heads/master | 2020-05-19T06:18:33.903243 | 2019-05-04T08:41:37 | 2019-05-04T08:41:37 | 184,871,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 897 | cpp | PROBLEM 2.cpp | #include <iostream>
#include <conio.h>
using namespace std;
int main()
{
int totalbill, gall, previous, recent, unpBal, totalbill2, charge, consumption, latecharge;
charge = 35;
consumption = 1.10;
latecharge = 20;
cout << "What is the meter reading (in gallons) taken last month?" << " "; cin >>... |
34cbb6f96b792f4de8f64b1cf2c90154682d9d64 | 55fc82f73ff5bbeec8016860d45e80388251dcec | /Server/SocketInfo.cpp | d5541632076282ebcbe071f63160c86cda367b4b | [] | no_license | Logasdf/Server | 264e2f9aff38044565ffc467f0c7f31d646c79e0 | e2ef1cb3ad088694e5e22571b1cdf3ae02e23e8b | refs/heads/master | 2020-04-08T18:27:04.264632 | 2019-02-04T10:26:28 | 2019-02-04T10:26:28 | 159,608,644 | 0 | 0 | null | 2019-01-21T12:49:45 | 2018-11-29T04:42:27 | C++ | UHC | C++ | false | false | 1,259 | cpp | SocketInfo.cpp | #include "SocketInfo.h"
#include "ErrorHandle.h"
#include <cassert>
SocketInfo::SocketInfo()
{
socket = INVALID_SOCKET;
recvBuf = NULL;
sendBuf = NULL;
}
SocketInfo::~SocketInfo()
{
}
void SocketInfo::GetIpAndPort(char pIpAddress[], int & port)
{
/* 필요가 없어진듯?
SOCKADDR_IN addr;
int addrSize = sizeof(addr);
Z... |
070af61d76178f9255bd317a7cac9ab8c50302f2 | a49ab550b23c20ff4affc68eb63e262df9aef373 | /CarpeDiem/resultsend.h | b3510993b018020c2abed49f8345e654270909c3 | [] | no_license | DenDiem/ATM-CarpeDiem | 6715583c98962f574d865ac64d243b640260f66d | 08d08f9a645d26247739291b4587f27af1ff8241 | refs/heads/master | 2020-04-02T18:19:54.281374 | 2018-12-03T10:55:55 | 2018-12-03T10:55:55 | 154,695,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | h | resultsend.h | #ifndef RESULTSEND_H
#define RESULTSEND_H
#include <QDialog>
class OperationWindow;
namespace Ui {
class ResultSend;
}
class ResultSend : public QDialog
{
Q_OBJECT
public:
explicit ResultSend(QWidget *parent = 0,unsigned cs = 0);
~ResultSend();
private slots:
void on_pushButton_2_clicked();
private... |
7e50e4e589ab88f6ec756fa04f79a7de71cf22d3 | d7d040481472d1e1e8c2e304cd4ac4f87e248b77 | /001_GFG/DSA Problems/Arrays/progA10_Missing number in array.cpp | 61091b0af3682fc39a02cc0be4ade967480a71ce | [] | no_license | Sahil1515/Competitive-Coding | 9f24dec518f565074cb14ce65e1c2ebd162a49db | 2bd2a2257c8cac5a5c00b37e79bbb68a24e186d4 | refs/heads/master | 2023-06-12T20:48:19.342064 | 2021-06-30T02:20:16 | 2021-06-30T02:20:16 | 290,392,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 647 | cpp | progA10_Missing number in array.cpp |
using namespace std;
#include<bits/stdc++.h>
int main() {
//code
int t,n;
scanf("%d",&t);
while(t!=0)
{
scanf("%d",&n);
int * arr=(int *)malloc((n-1)*sizeof(int));
for(int i=0;i<n-1;i++)
{
scanf("%d",&arr[i]);
}
long long int sum=accumulate(arr,arr+(n-1),0);
long... |
958383f0063d38b80e5ed799e0678c2698af7b8b | 73e5d2812ec4aa07dc9eacf11decb6a73e907d64 | /src/MIT_alice/MAUIRulerWidget.h | a0dcbdb74a5e96521e4d2c2b6d64a38d5c080778 | [
"MIT"
] | permissive | midasitdev/aliceui | cdf781f84e2d488d0cc7083aa3c783937459ba76 | 3693018021892bcccbc66f29b931d9736db6f9dc | refs/heads/master | 2020-04-24T06:51:27.386806 | 2020-03-05T23:55:48 | 2020-03-05T23:55:48 | 171,779,938 | 10 | 5 | NOASSERTION | 2019-03-08T00:07:41 | 2019-02-21T01:44:39 | C++ | UTF-8 | C++ | false | false | 2,591 | h | MAUIRulerWidget.h | #pragma once
#include "AUIDrawableWidget.h"
#include "MAUIRulerDrawableDef.h"
#include "MAUIRulerDrawableDef.h"
namespace mit
{
namespace alice
{
class MAUIRulerDrawable;
class ALICEUI_API MAUIRulerWidget : public AUIDrawableWidget
{
using SuperWidget = AUIDrawableWidget;
... |
a152b8ede7410d616e381e06fc4512afbe891889 | 8efe005ac9cbc202ef1db530954f142933a4b184 | /0803/thread_pool/thread_pool.h | 690ad48916646f483dac87b091f0223fcfb5a85b | [] | no_license | dasima/WD | e58ec753003d28df5420942ed14f090cd9456ecb | f7f6f3dd3ea8faef982cb72279021118c91935f8 | refs/heads/master | 2021-01-19T03:18:35.707357 | 2014-08-27T01:34:04 | 2014-08-27T01:34:04 | 21,316,067 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 899 | h | thread_pool.h | #ifndef THREAD_POOL_H
#define THREAD_POOL_H
#include "non_copyable.h"
#include "mutex_lock.h"
#include "condition.h"
#include "ptr_vector.h"
#include <queue>
#include <functional>
class Thread;
class ThreadPool : private NonCopyable
{
public:
typedef std::function<void()> Task;
ThreadPool(size_t, ... |
287b924f335fb8807c2d45c0249e6dffb9491898 | 93294d148df93b4378f59ac815476919273d425f | /src/AGC/AGCGame.h | 27963fcc687c7930172a66aa138d269fa2e730bf | [
"MIT"
] | permissive | FreeAllegiance/Allegiance | f1addb3b26efb6b8518705a0b0300974820333c3 | 3856ebcd8c35a6d63dbf398a4bc7f0264d6c823c | refs/heads/master | 2023-07-06T17:53:24.363387 | 2023-06-29T00:24:26 | 2023-06-29T00:24:26 | 98,829,929 | 86 | 34 | MIT | 2023-06-28T03:57:34 | 2017-07-30T23:09:14 | C++ | UTF-8 | C++ | false | false | 1,092 | h | AGCGame.h | #ifndef __AGCGame_h__
#define __AGCGame_h__
/////////////////////////////////////////////////////////////////////////////
// AGCGame.h : Declaration of the IAGCGameImpl and CAGCGame
//
#include "resource.h"
#include "IAGCGameImpl.h"
/////////////////////////////////////////////////////////////////////////////
// CA... |
df412b97eb2bf790e19e44732f0a1b936780944e | 96cb8fc3f97c7f1db554fa7184ca1ec4c107a22c | /dataobjects/XmlFileDecoder.cpp | 122de3b72d5191ae38a63210c9cc7583b0c54517 | [
"BSD-2-Clause"
] | permissive | Zackmon/SeventhUmbral | f8493a4ae62f6fe10e656d49b999dd3fb63582be | 25580111b361d2fdc2c15fd2cd150e4c763ca774 | refs/heads/master | 2022-01-11T12:43:26.081530 | 2021-12-23T17:01:28 | 2021-12-23T17:01:28 | 439,861,352 | 0 | 0 | NOASSERTION | 2021-12-19T12:46:13 | 2021-12-19T12:46:12 | null | UTF-8 | C++ | false | false | 1,509 | cpp | XmlFileDecoder.cpp | #include "XmlFileDecoder.h"
std::vector<uint8> CXmlFileDecoder::Decode(Framework::CStream& inputStream)
{
uint32 srcLength = inputStream.GetLength();
std::vector<uint8> srcData;
srcData.resize(srcLength);
inputStream.Read(srcData.data(), srcLength);
if(srcData.size() == 0) return srcData;
if(srcDa... |
b8bf1ad6ec99170acd56f79da68ca8c6cfb57741 | e871a7899456f0e8010316e563af893902165d79 | /mbot_factory_firmware.ino | 090f1f0bf9a3753610c7e015cd74a0a5fc78f1e2 | [
"CC0-1.0"
] | permissive | tiggi78/mBotEnhanced | 405ab573629f02cac30731c444989f0b29e9b599 | 38da9660fe606d7300436e6c080151c2110a4122 | refs/heads/master | 2023-01-06T12:22:00.907532 | 2022-12-29T23:25:24 | 2022-12-29T23:25:24 | 249,823,335 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,624 | ino | mbot_factory_firmware.ino | /*************************************************************************
* File Name : mbot_factory_firmware.ino
* Author : Ander, Mark Yan
* Updated : Ander, Mark Yan
* Version : V06.01.009
* Date : 21/06/2017
* Description : Firmware for Makeblock Elec... |
95239654d96f41ad91cf519b91e5e81eeab0d3ae | 45154dfe316699b375ee5f4a5527296378af9d78 | /src/databases/mysql/core/RowFormats.h | 9d11db8553a2942b2ead1e5f8f8f36d5345c7e92 | [
"MIT"
] | permissive | victormwenda/dbcrudgen-cpp | 163d9c7da966dd84f5fc71810151c1973e5e60c5 | 0447c50bd8560e1865f0aa3ef53c7d0ffe07d435 | refs/heads/master | 2023-05-03T10:44:35.668694 | 2023-04-20T13:29:06 | 2023-04-20T13:29:51 | 92,381,769 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 425 | h | RowFormats.h | /**
* @author Victor Mwenda
* @author vmwenda.vm@gmail.com
*
* Created by victor on 6/15/17.
* C/C++ Laptop
*/
#ifndef DBCRUDGEN_CPP_ROWFORMATS_H
#define DBCRUDGEN_CPP_ROWFORMATS_H
namespace dbcrudgen {
namespace db {
namespace mysql {
enum class MYSQLRowFormats {
FIXED, DYNAMI... |
b93a47d92d346aec4da3a30c20c54f5ff95a582d | 163ce03134f6ab6169e19f9df4ee8a0bf45d8452 | /NavControl/ultraSonic.h | ac417589dabc8c347955c9308eb8690e34f159f0 | [] | no_license | ottodude125/EmmaNavControl | 108e31e1ccb9ca221d33ad6aa73358451d6ada2b | 004b41469539e51f522556acd89c391f21648d73 | refs/heads/master | 2021-01-02T09:02:01.268234 | 2012-08-03T15:56:11 | 2012-08-03T15:56:11 | 3,392,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 960 | h | ultraSonic.h | /*
* Created 1/25/11
* Developed by and tested by
* * Jonathan Katon
* * Mike B.
*
* The Ultrasonic Sensor source code obtains the latest distance readings from
* given sensors and writes it into the most recent array location
*/
#ifndef ultraSonic_h
#define ultraSonic_h
#include "Arduino.h"
#... |
0b3cfafbf3c689563f6ecb8f26ad3b6ef42d508e | 486c7e8a16a1d5419bc7a385dd4d043558ee04ef | /VmpcPlugin/Source/ThirdParty/include/mpc/src/sequencer/SystemExclusiveEvent.cpp | 9f87e953b9d835f41e9a85f4aa8fa087d501381f | [] | no_license | izzyreal/vmpc-unreal-plugin | 73751fcd825ffe777fd08c7b651ef374aeb7c2fa | 338ae3373956b88473d804ca75f081a756382f11 | refs/heads/master | 2023-04-11T02:24:46.902201 | 2021-04-28T20:39:10 | 2021-04-28T20:39:10 | 113,060,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,029 | cpp | SystemExclusiveEvent.cpp | #include <sequencer/SystemExclusiveEvent.hpp>
using namespace mpc::sequencer;
using namespace std;
SystemExclusiveEvent::SystemExclusiveEvent()
{
bytes = vector<char>(2);
}
void SystemExclusiveEvent::setByteA(int i)
{
if(i < 0 || i > 255) return;
bytes[0] = i;
setChanged();
notifyObservers(string("... |
e8d988b23437414705985285f6fe6ab5665e62b7 | 5fc1a7d8e5d4ebc20c96a7ffe6b9635a3d755d91 | /src/fccm.h | 83c9f0eebad1d0d6bd11feef12d79df0c8d926a9 | [] | no_license | ntyaan/clustering | db20a4983df370794d32d4d8e683e5f90fce9186 | c95e76d4dcc5bdaf5efaf19fc5bc77490db2b9d1 | refs/heads/master | 2021-07-14T21:27:36.465152 | 2018-12-20T07:31:40 | 2018-12-20T07:31:40 | 143,392,497 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 488 | h | fccm.h | #include"klfcm.h"
#ifndef __FCCM__
#define __FCCM__
class FCCM: public KLFCM{
protected:
double FuzzifierLambda2;
public:
FCCM(int dimension,
int data_number,
int centers_number,
double fuzzifierLambda,
double fuzzifierLambda2);
double &fuzzifierLambda2(void);
virtual void revise_d... |
eec311326474273f9a55f13e632896dd70969ab2 | f4892c12c0e2ffdfbd678176dc8fa03f051314c4 | /tiledb/sm/enums/query_condition_combination_op.h | df449e491b0210a838907c6786df0b21de96e666 | [
"MIT"
] | permissive | TileDB-Inc/TileDB | 06c15bcf6e3c62b191a6daa40fb33b41af2bdcdc | fddbe978d50ea7c9706fb0b7ca403c47986a4909 | refs/heads/dev | 2023-09-04T01:18:20.642838 | 2023-08-31T19:23:04 | 2023-09-02T14:36:02 | 86,868,560 | 1,779 | 204 | MIT | 2023-09-14T14:40:20 | 2017-03-31T23:44:23 | C++ | UTF-8 | C++ | false | false | 4,811 | h | query_condition_combination_op.h | /**
* @file query_condition_combination_op.h
*
* @section LICENSE
*
* The MIT License
*
* @copyright Copyright (c) 2021-2022 TileDB, 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 S... |
47557523a8a1d30cdd1a9d51216c8b0af48fa3b3 | c818639aa7e74821ca20850e05829468657062d0 | /hackerrank/algorithms/strings/sherlock-and-anagrams.cpp | 79d2a365924dca3f14d61e841d644385df31fb70 | [] | no_license | SolverX/problem_solving | 685adbf23bf0abf1c80771469476f1184e44fbef | d807f34e1ea848af4ac8397d45cf06749e51bc1d | refs/heads/master | 2016-09-06T16:13:44.338085 | 2015-06-11T05:04:33 | 2015-06-11T05:04:33 | 31,899,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,158 | cpp | sherlock-and-anagrams.cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <map>
#include <string>
#include <utility>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cctype>
#include <cstdlib>
#include <bitset>
using namespace std;
#define VISITED 2
#define EXPLORED 1
#define UN_VISISTED 0
typedef unsigned lo... |
8a46fb6c79f2a5a30d0095ef76fa8f1e07ae5800 | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/net/net_jni_headers/DnsStatus_jni.h | 1a62e126c24ee9e96822ec35334a690eb453d649 | [
"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 | 3,776 | h | DnsStatus_jni.h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is autogenerated by
// base/android/jni_generator/jni_generator.py
// For
// org/chromium/net/DnsStatus
#ifndef org_chromium_net_Dn... |
e0e846cab56272db61ba4224ae87c93dcaa17327 | 3a0c6853c494347443209b7ff6bb8e2346569391 | /DAlisaBobIKonfeti.cpp | 15ef524ea766a5638710235e25ceb23c4aad71e3 | [] | no_license | agul/contest-tasks | 9b6e5656f66394d3aba4442087d3fd27746c201f | 739ded97b34f9767433bb85744877de787ace636 | refs/heads/master | 2023-03-27T19:32:06.490883 | 2021-03-30T17:06:25 | 2021-03-30T17:06:25 | 259,159,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,061 | cpp | DAlisaBobIKonfeti.cpp | #include "base/header.hpp"
class DAlisaBobIKonfeti {
public:
void solve(std::istream& in, std::ostream& out) {
int testsCount;
in >> testsCount;
for (int test : range(testsCount)) {
int n;
in >> n;
auto a = make_vector<int>(n, 0);
in >> a;
int steps = 0;
int alice = 0;
int bob = 0;
int l... |
746f19a079fad1feaf95617fe0c50b3642f5a689 | ed0b7587a7a1dd4b4e97adbd8d8c129585bc6365 | /Graph/src/UnionFindSet.cpp | 034441d971fcb2ed4f4b56f17a42a41c499f8c10 | [] | no_license | MaxEntroy/data-structure | 456160e66317203d819d47afef9a4860498650d3 | 84668cc9fae9ab403a36cf764b97792df9e20085 | refs/heads/master | 2021-06-27T08:03:53.056130 | 2017-09-11T07:15:52 | 2017-09-11T07:15:52 | 103,101,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 738 | cpp | UnionFindSet.cpp | #include <iostream>
#include "UnionFindSet.h"
Status make_set( int* tree, int n ){
if( !tree || n < 1 ){
std::cerr << "Invalid arguments!" << std::endl;
return ERROR;
}
for( int i = 1; i <= n; ++i ){
tree[i] = -1;
}
return OK;
}
int find_set( int* tree, int i ){
if( !tree || i < 1 )
return... |
b2aec05e37656f0cdacdfac5c2370cb2816f896d | b2d9ecdafec33c1bcd4f0975cd713b10d13d3b2a | /dependencies/utf8rewind-1.2.1/source/documentation/overview.hpp | a9519dd1f73530ac84b4d05bf3869c6377a3f438 | [
"MIT"
] | permissive | knight666/dodexample | c49d4944ca0017fc4d9fce4d94dd805676f8c415 | f304a6d13907389cef16cc2f711c3a2d25f01f7e | refs/heads/master | 2022-11-08T01:13:41.875942 | 2015-09-29T08:52:39 | 2015-09-29T08:52:39 | 275,504,480 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,657 | hpp | overview.hpp | /*!
\mainpage Overview
\tableofcontents
\section introduction Introduction
`utf8rewind` is a cross-platform and open source C library designed to
extend the default string handling functions and add support for UTF-8
encoded text.
\section example Example
\code{.c}
#include "utf8rewind.h"
... |
0c5e8bb7cd84df42542c7eb8e629644d1bda01df | aa3cd466346cdc9c2dbd4e554b4a6b5e5843e618 | /Lab 5/Lab 5.1a/while3.cpp | 4475e6ce4ab5f5d7cd8ffb67c35042b6479e062f | [] | no_license | laconde/lab5 | 1420d5dd63a5eab417c3b5e6eb2d004b0894cae0 | 99ab6566e21ae80bcfc360227061ce41846fd343 | refs/heads/main | 2023-07-15T23:12:51.365271 | 2021-08-12T02:29:41 | 2021-08-12T02:29:41 | 395,171,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 521 | cpp | while3.cpp | // Alberto Conde
// September 16, 2020
#include <iostream>
#include <string>
using namespace std;
int main()
{
char letter;
do
{
cout << "Please enter a letter\n";
cout << "Enter 'y' to exit the program\n";
cin >> letter;
cout << "The letter you entered... |
cddb7082fd91a3f24fb8c72204cda8d8fdd16c82 | 0fb0caffbc733db88d8d91b48999b4cf7647a41a | /include/NN_basis_function.hpp | 4e186e8f4f07954f6c446c2f0e27260c0b63f0af | [
"MIT"
] | permissive | DiegoAE/BOSD | 9b0c225ee53d35cd497fa075e7ac837c1129d5a8 | a7ce88462c64c540ba2922d16eb6f7eba8055b47 | refs/heads/master | 2021-07-15T16:05:36.831765 | 2020-04-20T19:04:58 | 2020-04-20T19:04:58 | 169,775,311 | 20 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,482 | hpp | NN_basis_function.hpp | #ifndef NN_BASIS_FUNCTION_H
#define NN_BASIS_FUNCTION_H
#include <mlpack/core.hpp>
#include <mlpack/methods/ann/layer/layer.hpp>
#include <mlpack/methods/ann/ffn.hpp>
#include <mlpack/methods/ann/init_rules/random_init.hpp>
#include <mlpack/methods/ann/loss_functions/mean_squared_error.hpp>
#include <armadillo>
#inclu... |
270dfd081e4169c6b3074f616f7dc75eaf080647 | d42607e659397dbb8c94980e3b18537867763521 | /include/TextExt.h | 1b5ff9c62aa3ae9457706e769432d6698d120ecd | [] | no_license | igorJarek/SourceStructAnalyzer | 300339d93db8e644e66bc80f290f05ad389675a7 | 29ed80a4297b2b8bbb674a785e10d5be930aeec9 | refs/heads/master | 2020-08-29T19:45:30.548331 | 2020-01-10T01:10:51 | 2020-01-10T01:10:51 | 218,152,621 | 1 | 0 | null | 2019-12-29T13:19:26 | 2019-10-28T21:55:53 | C++ | UTF-8 | C++ | false | false | 3,362 | h | TextExt.h | #ifndef TEXTEXT_H
#define TEXTEXT_H
#include <SFML/Graphics/Export.hpp>
#include <SFML/Graphics/Drawable.hpp>
#include <SFML/Graphics/Transformable.hpp>
#include <SFML/Graphics/Font.hpp>
#include <SFML/Graphics/Rect.hpp>
#include <SFML/Graphics/VertexArray.hpp>
#include <SFML/System/String.hpp>
#include <string>
#incl... |
8dd315f9b15cc0cd68152511d953b0c6a37db499 | 0530b4a0c19644d5e679c94cada4039054a96477 | /ThreadCommunication.h | 75f172aec61e90e39dd40cb7635edc84842fdbaa | [
"MIT"
] | permissive | Gotbread/TwitchGambleBot | b99ac8b3cb7da22c6402893aa17e7fd2dc63bd2f | 6a1b5a155b60635041abeefffd46352dbb4f589c | refs/heads/master | 2021-07-10T05:11:38.990686 | 2018-09-22T14:06:57 | 2018-09-22T14:06:57 | 149,881,932 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,866 | h | ThreadCommunication.h | #pragma once
#include <functional>
#include <vector>
#include <thread>
#include <queue>
#include <mutex>
#include <condition_variable>
#ifdef _WINDOWS
void SetThreadName(const char* threadName);
const char *CleanName(const char *name);
#endif
template<class T>
class Signal
{
public:
Signal() : sig... |
9b84f0c84a403b281882129c878c8767213e5753 | a1d634c8c9808d9eae81bc2514ee5817af677b18 | /Example/src/PtCorrectionProducerLocal.cc | 0e6e171bb801e0adee081a731dd7f0eaab09f047 | [] | no_license | artus-analysis/Artus | eaeeec4e36b167e72275176076edc7167d304607 | 9170dd2f0e7664f43231243aee79f3e0a0657a0a | refs/heads/master | 2022-08-11T12:12:23.166211 | 2019-12-17T18:18:51 | 2020-01-22T12:49:14 | 23,577,702 | 7 | 25 | null | 2020-01-21T12:45:19 | 2014-09-02T12:27:01 | C++ | UTF-8 | C++ | false | false | 660 | cc | PtCorrectionProducerLocal.cc |
#include "Artus/Example/interface/PtCorrectionProducerLocal.h"
std::string PtCorrectionProducerLocal::GetProducerId() const
{
return "pt_correction_local";
}
void PtCorrectionProducerLocal::Init(setting_type const& settings, metadata_type& metadata)
{
ProducerBase<TraxTypes>::Init(settings, metadata);
}
void Pt... |
951ac3aae95c9c97e49a05f4f656ffdd2a8e033e | 3abeb67b77d2571413965c810aef1094105da288 | /out/cdt.h | 66dec204ce3d774202c93255480b653955f241e4 | [] | no_license | edgeofmoon/GraphView2017 | a9ca6b03472cb6acab9d2da5b08dcea03af84c27 | 3c274700d9ca3df5c8e6b56a976edb6f4c07a556 | refs/heads/master | 2021-09-04T06:48:07.797881 | 2018-01-16T21:16:09 | 2018-01-16T21:16:09 | 108,027,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,381 | h | cdt.h | // file name: cdt.h
// including all the data structure used in
// constrained delaunay triangultaion(CDT).
//
// author: Zhihua Wang (zhihua@cs.nyu.edu)
// date: Dec 12, 2002
/*************************************************************/
//#define OUTPUT
//#define DEBUG
//#define DETECT_COLLINEAR_DEGENERACY
#pragma... |
e7f300cafa6aee4961c802aa57b8976217a66f39 | 2b05184d5ca2f52ab72293768e2ef19a71fc2340 | /main.cpp | be6db76f01b958696463eaf68ca1d24ec45ae735 | [] | no_license | MvictorPmatos/Indice_remissivo_em_Cpp | 3536acece62b9b27228f1ae639502ce3c5fcd918 | b6642254b852b377619180c37109ce0ca67c0416 | refs/heads/main | 2023-06-24T05:19:13.992787 | 2021-07-25T01:31:09 | 2021-07-25T01:31:09 | 389,232,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,153 | cpp | main.cpp | #include <iostream>
#include <fstream>
#include <string>
#include <cctype>
#include <algorithm>
#include <vector>
#include <list>
#include <stack>
#include "cNode.h"
#include "cRedBlackTree.h"
#define LINHAS 15
#define PAGINAS 50
#define TEXTO 12000
using namespace std;
std::string f(std::string w){
char v[] =... |
8e50578ca451661be399a0b9073bb708443791e9 | 846d9e0b9cb847946ba600a91e62d364b53848f3 | /2020-sp-a-hw7-tgfnzb-master/2020-sp-a-hw7-tgfnzb-master/MyHeap.h | 3956a99f18ad5d60ecad26624e45bccb678df08f | [
"MIT"
] | permissive | thomasfan100/DataStructure | a50337ecbbce057bb0cb852cbde2e2cf061d4571 | 4a69da72b8ae12aaa18363061528094c114a324b | refs/heads/main | 2023-07-11T03:29:36.693942 | 2021-08-21T19:03:21 | 2021-08-21T19:03:21 | 383,929,467 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,651 | h | MyHeap.h | // You don't need to have a MyHeap.hpp, but you could if you want
// Declare, and/or implement your heap class here.
// If you are having a hard time figuring out how to start, look at the past assignments.
#ifndef MYHEAP_H
#define MYHEAP_H
#include <iostream>
using namespace std;
void get_identity(std::string &my_id)... |
dc65e9362a9d2c214cf29f17c9eeca551910d9b1 | d675342d7a2ea9a72a6229eade62193ab9371bd0 | /Cpp_01/ex06/HumanB.hpp | 08c6ab4cf45c3b92a406ec351d077257e120788b | [] | no_license | RomanEmelin/Cpp | 435c8cc95d888e663f3031109c53f1425ad27031 | 664129d5ae02059f1c0b2340f541499a40664311 | refs/heads/master | 2023-04-01T21:49:27.359758 | 2021-04-08T10:04:56 | 2021-04-08T10:04:56 | 351,886,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | hpp | HumanB.hpp | #ifndef CPP_HUMANB_HPP
#define CPP_HUMANB_HPP
#include "Weapon.hpp"
#include <iostream>
#include <string>
class HumanB
{
private:
const Weapon *_weapon;
const std::string _name;
public:
HumanB(const std::string name);
~HumanB();
void setWeapon(Weapon &weapon);
void attack();
};
#endif //CPP_HUMANB_H
|
d5d13b7d8c71f7d33346b263727ca47234d6d4ea | af95d23650896ad616fe65d8dffe468949b716d2 | /11marchc++/prog3.cpp | 12687744d9595cc126f85b29b0dbbcfab1628b0a | [] | no_license | manvirajawat/C-Programs | 99fbd2184a8b76c92dd95296ce2198a2ee8db37a | 7e31ed8948b7dd518e13914e1cbf198881e8fc59 | refs/heads/master | 2023-01-23T19:38:27.955804 | 2020-12-03T11:41:49 | 2020-12-03T11:41:49 | 318,174,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 431 | cpp | prog3.cpp | #include<iostream>
using namespace std;
namespace mySpace1
{
int a=10;
void show()
{
cout<<"Show value of a in mySpace1 :"<<a<<endl;
}
}
namespace mySpace2
{
int a=20;
void show()
{
cout<<"Show value of a in mySpace2 :"<<a<<endl;
}
}
/*using namespace mySpace1;
int main()
{
show();
}*/
/*u... |
628e1fd522c2551ebc493d67dd05babc1d95ad13 | 66c148b4282ebc4b8fa85049eb062028170ebdb3 | /GlobalProject/Week12AbstractVirtual/LocalHeaders/Polinom.h | 910aa4d1cb19d49e009fda19746995c1129c7df4 | [] | no_license | KonstantinovD/Basics-of-CPP-BSU-2017 | 5de3749e364d371097a60d57116dc71c25fd51ee | 6c5b413bf5c01b7fe2a90f953b529245f3e966b1 | refs/heads/master | 2021-09-08T06:28:58.654521 | 2018-03-07T22:08:02 | 2018-03-07T22:08:02 | 106,162,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | h | Polinom.h | #pragma once
#include "Array.h"
class Polinom: public Array{
public:
const static int MAX_ARRAY_SIZE = 100;
private:
int degree;
protected:
void updateDegree();//Iterate array from the last element
public:
Polinom(int size, int initialValue = 0);
Polinom(const Polinom&);
Polinom& operator=(c... |
83aac2c08c8fd24eef1c8f22127a84bc714e1565 | cff81ff659ad529706dc9ba1befbc68d8ae5ad26 | /hr_waiter.cpp | 6510a837ce86112a313b0801e60982b62cae49f2 | [] | no_license | iishipatel/Competetive-Programming | 9dafb3e49e60daee0f7dfca7f88ea23fd0777507 | 2ece5d282e753aee38d503bc5102baffa0141b2f | refs/heads/master | 2020-08-05T23:03:48.027950 | 2019-10-08T12:02:27 | 2019-10-08T12:02:27 | 212,747,647 | 1 | 0 | null | 2019-10-04T06:12:08 | 2019-10-04T06:12:06 | null | UTF-8 | C++ | false | false | 1,028 | cpp | hr_waiter.cpp | /*
Author : Abhinav
Modified : 17-12-2017 02:46:50 AM
*/
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<ll> vi;
const ll mod = 1e9+7;
vi pr;
void SieveOfEratosthenes(int n){
bool prime[n+1];
memset(prime, true, sizeof(prime));
for (int p=2; p*p<=n; p++)... |
5b32720d8b2d3353ac82ab32270e665cd1f1b4b2 | bdba151d20f8949bd7d027435274f872b35249bb | /codechef/dsa learning series/getting started/raju and his trip.cpp | f9a95d829d2a464efbfe90ad372b5fb2c1fe1f07 | [
"MIT"
] | permissive | JayeshPadhiar/CodeChef | 85f7b4e01d4b1ae485372a150115c6b4ce199464 | ae9cf05173b88945b4a6cb1f761e42fcfc7245b7 | refs/heads/main | 2023-08-07T16:46:10.312382 | 2021-09-15T06:47:36 | 2021-09-15T06:47:36 | 368,400,816 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 478 | cpp | raju and his trip.cpp | /*
* Raju is planning to visit his favourite restaurant.
* He shall travel to it by bus. Only the buses whose numbers are divisible by 5 or by 6 shall take him to his destination.
* You are given a bus number N.
* Find if Raju can take the bus or not.
* Print YES if he can take the bus, otherwise print NO.
*/
#i... |
f411f69e1e15a5d532daca3e0417dd2f875576bd | a7dab63324ab28eb24937bdd429c1828cd835306 | /src/python/lib/graph/agglo/agglo.cxx | d3997232f7da361f7d9ccca7c9f2695ae5429e2a | [
"MIT"
] | permissive | DerThorsten/nifty | e8005325467430bc8eb60517756c0eadf1669d4a | c4bd4cd90f20e68f0dbd62587aba28e4752a0ac1 | refs/heads/master | 2022-04-29T01:07:05.914460 | 2021-12-20T23:20:15 | 2021-12-20T23:20:15 | 50,250,104 | 42 | 20 | MIT | 2022-03-29T10:34:50 | 2016-01-23T17:43:51 | C++ | UTF-8 | C++ | false | false | 1,028 | cxx | agglo.cxx | #include <pybind11/pybind11.h>
#include <iostream>
#define FORCE_IMPORT_ARRAY
#include "xtensor-python/pyarray.hpp"
#include "xtensor-python/pyvectorize.hpp"
namespace py = pybind11;
PYBIND11_DECLARE_HOLDER_TYPE(T, std::shared_ptr<T>);
namespace nifty{
namespace graph{
namespace agglo{
void exportMergeRules(p... |
b4b51ecd1d80c27b583c9e8f505496738e8fc280 | 879681c994f1ca9c8d2c905a4e5064997ad25a27 | /root-2.3.0/run/tutorials/multiphase/twoPhaseEulerFoam/RAS/bubbleColumn/3/U.water | 0b56ee6cd364b33c18903702e4fd4b752c2b36a6 | [] | no_license | MizuhaWatanabe/OpenFOAM-2.3.0-with-Ubuntu | 3828272d989d45fb020e83f8426b849e75560c62 | daeb870be81275e8a81f5cbac4ca1906a9bc69c0 | refs/heads/master | 2020-05-17T16:36:41.848261 | 2015-04-18T09:29:48 | 2015-04-18T09:29:48 | 34,159,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,492 | water | U.water | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... |
324dad42c648b980ec549d79def9fe49833a7d63 | feff2c95a1a4a4f0b8ffa68340428557ff234fe8 | /cpp2c/bd.cpp | 8b62c6d2a97a9cc9d9cebc4abb8f070ee44aa0bc | [] | no_license | ShaiHoresh/experis | e836966efcd7f559c768ed4b7f28c96e2817c49c | d2982bf9560fd0ff651deefdaf56fe9f9e861fc6 | refs/heads/master | 2021-09-03T01:09:16.911055 | 2018-01-04T12:56:11 | 2018-01-04T12:56:11 | 116,258,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | cpp | bd.cpp | #include <iostream>
class B
{
public:
inline virtual void foo() {std::cout << "B's foo" << std::endl;}
void baz() {std::cout << "B's baz" << std::endl;}
// int a;
};
class D: public B
{
public:
inline virtual void foo() {std::cout << "D's foo" << std::endl;}
void baz() {std::cout << "D's baz" ... |
d845f4bd1a223d90aac6670ca4be49e520cc3b81 | 11426005738c6f8f3efc5f5ff1d29e52f4ca847f | /15.三数之和.cpp | 8caf642cfb1cac9910a78238d5a2959a6392b3d6 | [] | no_license | Chaosame/leetcode_cpp | 9f4075c7e859b5a2636036e2fa6272bec2113e25 | 1ce8ab198b18248d39168f7c8419626e8cd94b39 | refs/heads/main | 2023-04-05T07:03:08.996209 | 2021-04-09T13:34:02 | 2021-04-09T13:34:02 | 344,394,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,289 | cpp | 15.三数之和.cpp | /*
* @lc app=leetcode.cn id=15 lang=cpp
*
* [15] 三数之和
*/
// @lc code=start
//回溯不行得双指针
class Solution {
public:
vector<vector<int>> threeSum(vector<int>& nums) {
vector<vector<int>> res;
vector<int> tmp_res;
if (nums.size()<3){
return res;
}
sort(nums... |
7ed39fd347404794033cbeebbcf317e8c731da42 | f8fcec0fb4284bc6c12cba19c54f83a74ea26f19 | /GameOfLife3D/stdafx.h | 7c4742638726536e41c1df8d175ffbdec73252d1 | [
"MIT"
] | permissive | Crawping/GameOfLife3D | 4efc7bbb41e3254f3bb19bf0a94b88f8b628ae95 | c4c1e9efdcf26d4c028509bd252aba1d23c636a1 | refs/heads/master | 2023-05-23T06:22:00.634530 | 2019-01-10T11:18:18 | 2019-01-10T11:18:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,490 | h | stdafx.h | #pragma once
#include "targetver.h"
#ifdef DEBUG
#define DEBUG_RESOURCE
#endif
#include <cstdlib>
#include <ctime>
#include <cwchar>
#include <cmath>
#include <cstdint>
#include <cassert>
#include <string>
#include <iostream>
#include <fstream>
#include <vector>
#include <queue>
#include <stack>
#include <array>
#i... |
5135ee2b372f9b38efb79076aaf456ae1909afe8 | 4f4eb5c1ad154db2d3d4e8c3aeb3e1525711785a | /main.cpp | b1be5cec9db81b5273aa171820e9edc81cce2d0f | [] | no_license | alexseles/Countdown | ec7e4ed6e45b8e2e2fe120f7ef292a15765a60f9 | 557c0d9f8624e5b900f9ae98e28f289f2775340b | refs/heads/main | 2023-01-08T21:10:51.966455 | 2020-11-07T12:58:06 | 2020-11-07T12:58:06 | 310,844,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | cpp | main.cpp | #include <iostream>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
using namespace std;
int main()
{
int num, counter, countdown, resp;
cout <<" What is the number of the countdown? ";
cin >>countdown;
for (counter=countdown;counter>=0;counter--)
{
cout <<counter... |
cc5dff40970f476da7c982ac96be05568be751a3 | 47cb37f9ed234aa12b6da1be459649b799b6cbec | /MegaManX3/StageBoss.h | 5dfdb8850d828c2cbdcde6411a553cf353646aef | [
"MIT"
] | permissive | sd2017/Mega-Man-X3 | 3dc1ba64172050297abd834726259029e2c9af13 | bd42d11926a071e67ea554761933ee47802225f6 | refs/heads/master | 2022-10-02T22:25:43.787913 | 2020-06-06T11:09:44 | 2020-06-06T11:09:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | h | StageBoss.h | #pragma once
#include "Stage.h"
#include "BlastHornet.h"
class StageBoss : public Stage
{
private:
Gate* gateLeft;
BlastHornet* boss;
HPBar* hpBarBoss;
bool ready = false;
bool gateLeftClose = false;
public:
StageBoss();
~StageBoss();
public:
void getStaticObjects(unordered_map<int, GameObject*> *saticObject... |
767bb5d68f99138552186a6bfa3a80ec816ab8f9 | ba75d803f40a52e080ca1f7657025c7c59f87b21 | /network_api_cc/include/nta/ntypes/ObjectModel.hpp | 25f763803f84af792b1039af077e7e0c69e874b9 | [] | no_license | kokukuma/nupic_tutorials | 8c010e8f5391c470f543036a041e0e064e7b1f9b | b92c39038f9757f658d32e9875075f2c85287ced | refs/heads/master | 2016-09-10T08:18:22.062350 | 2014-08-17T08:08:48 | 2015-11-12T05:48:01 | 22,003,882 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 43,725 | hpp | ObjectModel.hpp | /* ---------------------------------------------------------------------
* Numenta Platform for Intelligent Computing (NuPIC)
* Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
* with Numenta, Inc., for a separate license for this software code, the
* following terms and conditions apply:
*
* This ... |
86d7e91ba452390e6e779aba856a949efad2689e | 02847e4a028fa921751a2372e21ee55e79dcec39 | /test-core/src/unittest_transaction.cpp | aef52e90f55432faafdd20ea35b3ffc464034a8f | [
"BSL-1.0"
] | permissive | KouOuchi/ObjectGenoise | 369c6b831980372fc0638cee114868f944b5d71a | aac02e7677d9db201e291ae284684cfc849d06d8 | refs/heads/master | 2023-06-25T17:51:49.192757 | 2023-06-10T13:55:31 | 2023-06-10T13:55:31 | 33,002,868 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,050 | cpp | unittest_transaction.cpp | #include "fixtures.h"
#include "utility.h"
#ifdef TEST_OG_TRAN
BOOST_FIXTURE_TEST_SUITE(tran, fixture_clean_session);
BOOST_AUTO_TEST_CASE( transaction_1000 )
{
#ifdef _WINDOWS
og::core::CrtCheckMemory __check__;
#endif
// initialize db
og::og_session cleaned_session_;
cleaned_session_.open(D... |
65a2acd653a46351b8f9daf70fdb75630229815c | c5a7ebf02eb2c4d6064670f0e490df64a8a0e7d4 | /Omnibot/include/Threads/pthread_PooledThread.h | 184d380b7538a8133b34565796b5547231187402 | [] | no_license | thechairman/Omnibot | 7e7bc20ada2ce13706dcbef833b66987163a862e | 2088fe11072d4d064cca49e47493a6e78aa5a2c2 | refs/heads/master | 2021-01-17T15:37:43.358876 | 2015-04-02T02:13:54 | 2015-04-02T02:13:54 | 2,949,138 | 2 | 3 | null | 2014-08-17T21:31:01 | 2011-12-09T18:29:36 | C++ | UTF-8 | C++ | false | false | 878 | h | pthread_PooledThread.h | #ifndef _H_PTHREAD_POOLEDTHREAD_
#define _H_PTHREAD_POOLEDTHREAD_
#include <pthread.h>
#include <semaphore.h>
#include <deque>
#include "OmniPooledThread.h"
#include "OmniThreadTypes.h"
class pthread_PooledThread: public OmniPooledThread
{
public:
pthread_PooledThread();
~pthread_PooledThread();
int start();
... |
b5e9c19ede026e9fa03664e82ba6036479597c46 | a0b0eb383ecfeaeed3d2b0271657a0c32472bf8e | /codeforces/1427B.cpp | 867bd654a7283b5d255ea051be59639086c1606f | [
"Apache-2.0"
] | permissive | tangjz/acm-icpc | 45764d717611d545976309f10bebf79c81182b57 | f1f3f15f7ed12c0ece39ad0dd044bfe35df9136d | refs/heads/master | 2023-04-07T10:23:07.075717 | 2022-12-24T15:30:19 | 2022-12-26T06:22:53 | 13,367,317 | 53 | 20 | Apache-2.0 | 2022-12-26T06:22:54 | 2013-10-06T18:57:09 | C++ | UTF-8 | C++ | false | false | 1,519 | cpp | 1427B.cpp | #include <bits/stdc++.h>
using namespace std;
typedef unsigned int UL;
typedef long long LL;
typedef unsigned long long ULL;
typedef double DB;
typedef long double LD;
const int mod = (int)1e9 + 7, maxd = 10, maxc = 26;
const int maxn = (int)3e5 + 1, maxm = (int)2e6 + 1;
const DB eps = 1e-9, pi = acos((DB)-1);
inlin... |
2e5a89096d0455654ad297fc166749206b4e9a7a | ad80c85f09a98b1bfc47191c0e99f3d4559b10d4 | /code/src/odephysics/nodebodynode_cmds.cc | f8f4f8e0395b2ff8e916c4f495507ee8bcb389f3 | [] | no_license | DSPNerd/m-nebula | 76a4578f5504f6902e054ddd365b42672024de6d | 52a32902773c10cf1c6bc3dabefd2fd1587d83b3 | refs/heads/master | 2021-12-07T18:23:07.272880 | 2009-07-07T09:47:09 | 2009-07-07T09:47:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,530 | cc | nodebodynode_cmds.cc | #define N_IMPLEMENTS nOdeBodyNode
//------------------------------------------------------------------------------
// (c) 2003 Vadim Macagon
//
// nOdeBodyNode is licensed under the terms of the Nebula License.
//------------------------------------------------------------------------------
#include "odephysics... |
eac0bf1033d70c3af077ad5bf8e37c3ac379b44f | f000604ff605cf07acd338c8ecc293db327fe5ff | /2017/cumt_ctf/pwn5/bxs5.cpp | 2b55df8759d39067a9f039e7ffeb88fe9df136b0 | [] | no_license | SteinsGatep001/CTFs | e7316b989bc5170f3e4aba83b027053179353341 | 921747c53261c4fbb4c91fb975fb35f46c952ff5 | refs/heads/master | 2021-07-13T01:42:47.327855 | 2019-01-22T10:25:14 | 2019-01-22T10:25:14 | 105,667,649 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,033 | cpp | bxs5.cpp | #include <fcntl.h>
#include <iostream>
#include <cstring>
#include <cstdlib>
#include <unistd.h>
#include <stdio.h>
using namespace std;
#define GENDER_LENGTH 20
#define NAME_LENGTH 100
#define STORY_LENGTH 100
#define SKILL_LENGTH 100
void tb_system(char *buggg, char *lcmd)
{
system(lcmd);
system(buggg);
}... |
51ec44cf17379423ba8b921a69f238d40b95401d | 9006d86b592e2edcf531bfde5d7b94b4f64028df | /code/gameobjects/components/ComponentScale.h | 32bac5020e62dd7c6ada11bb0777463043a6be17 | [] | no_license | tiagoessex/Game-Engine | ba2f40c8013c72e00b4e0a1f9d1b92671a3a6081 | 2112806e1db9fb686af8e618030a80c67193027b | refs/heads/master | 2021-06-11T01:57:20.890239 | 2020-04-09T11:09:44 | 2020-04-09T11:09:44 | 254,348,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,335 | h | ComponentScale.h |
/**
transforms: Scale
PARAMETERS:
- [scale] - "x,y,z" scale (default: 1.0,1.0,1.0)
*/
#ifndef __ComponentScale_H__
#define __ComponentScale_H__
#include "Component.h"
//#include "../../Globals.h"
#include "../../Prerequisites.h"
namespace Venator {
namespace GameObjectComponentSystem {
class Componen... |
95d70b7cc217f20553c6c76df8e27155c2a1f3cf | a60190acc6d718e8fec9e5b854c773401895e9fd | /src/concurrent/queue_lockfree_total_epoch.tpp | 67b3c4334024bd687e290b0a75fe04251817a5c5 | [
"MIT"
] | permissive | exbibyte/concurrent | a1dca7d76dee22c3d09772284eb9437773c9ad26 | 243246f3244cfaf7ffcbfc042c69980d96f988e4 | refs/heads/master | 2022-12-29T06:00:19.371848 | 2020-10-19T06:46:11 | 2020-10-19T06:46:11 | 190,367,454 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,692 | tpp | queue_lockfree_total_epoch.tpp | //specialization for epoch based reclamation
#include <iostream>
#include "reclam_epoch.hpp"
template< typename T >
queue_lockfree_total_impl<T, trait_reclamation::epoch>::queue_lockfree_total_impl(){
Node * sentinel = new Node();
_head.store( sentinel );
_tail.store( sentinel );
}
template< typename T >
... |
f711e75a759e3c91b7a674a31521233ac20f952f | 1c8a2822efaa15e04bdd5ed0046b4e6fc00e5257 | /movePattern.h | ec3e9671c3d681ee4c1334571045cada20258b1a | [] | no_license | tinyan/newgame | dfea06bb1db577c529b8a94e1dff6007e5a9a310 | 96b9f4463e491c70881a320959719c453677e991 | refs/heads/master | 2020-09-15T10:04:49.526222 | 2016-09-10T23:04:24 | 2016-09-10T23:04:24 | 67,898,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | h | movePattern.h | #if !defined __CMK2008SUMMER_MOVEPATTERN__
#define __CMK2008SUMMER_MOVEPATTERN__
class CNameList;
class CMovePattern
{
public:
CMovePattern(int n);
~CMovePattern();
void End(void);
int m_patternMax;
BOOL CheckLast(int count);
int GetAngle(int count);
int GetKasoku(int count);
int GetCommand(int count);
... |
4a055125d589d802d26e44853e140cf1f102aff0 | 3d91840a9c055eff0025931389f85136e459a52f | /src/materialsinglebsdf.cpp | cf3737727dd408e23be746415567bf752db9f0b4 | [] | no_license | Pentan/RaytracingCamp2015 | ae93115a626dc6834ed8c623c5f3de0176a0deee | 0c0f3b7ca31c0245a47129a58b7a2abf69fe0dbc | refs/heads/master | 2020-08-26T10:24:30.763746 | 2017-08-22T08:48:57 | 2017-08-22T08:48:57 | 39,398,327 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,622 | cpp | materialsinglebsdf.cpp |
#include "materialsinglebsdf.h"
using namespace r1h;
SingleBSDFMaterial::SingleBSDFMaterial(BSDFRef bsdf):
Material(),
bsdf(bsdf)
{
}
SingleBSDFMaterial::~SingleBSDFMaterial() {
}
void SingleBSDFMaterial::setReflectanceColor(const Color col) {
reflectanceTex = TextureRef(new ConstantColorTexture(col));
}
void S... |
15a3e168b0c7dab73a7130f0409af9d89e173280 | ee4b8d77bc4aabffba5600b6f9166b7d72207288 | /unittesting.h | e0feff5a0b458e96683d57e1baa9b75d4c04187e | [] | no_license | shanos56/Chip8 | 01855f582265e59435c0ea2cd7a4149ca7a1097b | cb6a0a8876e35529c29ce83eda2902ad2d94ae1d | refs/heads/main | 2023-01-31T06:53:50.622931 | 2020-12-17T05:30:20 | 2020-12-17T05:30:20 | 322,182,505 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | h | unittesting.h | #ifndef UNITTESTING_H
#define UNITTESTING_H
#include "cpu.h"
#include "definitions.h"
#include "byteregister.h"
#include "address.h"
#include "registerpair.h"
#include "input.h"
#include "wordregister.h"
#include "framebuffer.h"
#include "oppinstructions.h"
#include "sprites.h"
#include <iostream>
#include <string>
c... |
dfddd9e0a9224af98aa16fa6867f28b6ca02dc6b | f491ce6b90c4123ba5b944c659dad097ab772050 | /pipe-n-shm/src/childA.h | bc61f84c303272a609a8c9ffb0fd4c2d5cc0a816 | [] | no_license | HLX-Technology/interview-take-home | 6a932922ec8839a31d4e7e2d41f133c5ea6efa1e | 99187d797391e578653453391f7d887d155377df | refs/heads/master | 2020-06-25T08:03:16.232896 | 2017-07-12T05:14:40 | 2017-07-12T05:14:40 | 96,189,774 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 81 | h | childA.h | namespace HLX
{
class childA
{
// Your definition here
};
}
|
a9afa18ca57ce9e434b1e6e4f2ac925fbd2da4bd | 999419718c582f1109a92631effa6560ec159d84 | /Ex07_16/Ex07_16.cpp | 2104aaffe565a95371416ca48b2ee524e29d60ce | [] | no_license | YwenYoung/January | b219a498737e96d8fe13d1c841596e0f7fa5674d | 8e99d2e320483d0aad8dfe63f40ecd077bc815e0 | refs/heads/master | 2020-12-05T20:03:18.449004 | 2020-01-19T14:02:15 | 2020-01-19T14:02:15 | 232,232,296 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 814 | cpp | Ex07_16.cpp | #include <iostream>
#include <iomanip>
#include <cstdlib>
#include <ctime>
using namespace std;
int main()
{
const long ROLLS = 36000;
const int SIZE = 13;
int expected[SIZE] = { 0,0,1,2,3,4,5,6,5,4,3,2,1 }; //这个数组里的0和1应该是无效的,因为两个骰子之和最小应该也是2
int x, y;
int sum[SIZE] = { 0 };
srand(time(0));
for (long i = 0; i... |
124f13a6cd91a13c2da4257e0b2dff18ac87ad35 | 49ff6718d9f956de0f8511db88d61d55df21ec8b | /emulator/app/src/space_invaders_main.cpp | c2f107c62c36f0a30a12e437b6089892a47e32ca | [] | no_license | borgmanJeremy/emulator8080 | 9db0513d5c7907316b90dea9cd6e1e63b45547c3 | d76c9814addbb96ef0173c28fd842ee18f2ffd3f | refs/heads/master | 2020-08-22T13:14:29.614486 | 2019-11-30T20:02:41 | 2019-12-06T23:05:38 | 216,402,695 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,167 | cpp | space_invaders_main.cpp | #include <SDL.h>
#include <array>
#include <chrono>
#include <exception>
#include <fstream>
#include <iostream>
#include <map>
#include <vector>
#include "cpu_8080.hpp"
#include "space_invaders.hpp"
void drawWindow(int screen_width, int screen_height, Cpu_8080 &cpu,
Uint32 *pixels);
int main()
{
std... |
809307cc702267aa71a97a6ffbbb70544952eef9 | 66d712cc7f231147f7a1b9c75c422bb0a3c52117 | /Pruebas/main .cpp | 56ebc9c5ad47558608b88cf15f5633b6d4e928d5 | [] | no_license | i92salua/Proyecto_30 | 7eaba2ae6bfc30513b6ea45171fa946312929ab9 | 89ac8f3cc5ba698df97e9f8a7f0368f7ec88aa20 | refs/heads/master | 2023-02-04T20:31:08.723800 | 2020-12-23T19:17:59 | 2020-12-23T19:17:59 | 317,617,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,884 | cpp | main .cpp | #include "ruta.h"
#include "tramo.h"
#include "Reserva.h"
#include "administrador.h"
#include "visitante.h"
#include "monitor.h"
#include "parque.h"
int main(){
Tramo t;
Ruta r;
Reserva s;
Administrador a;
Visitante v;
Monitor m;
Parque p;
int op;
do{
cout<... |
ffaac154f03295c81c33d1c91a3612e8b87bb07f | 508ca425a965615f67af8fc4f731fb3a29f4665a | /Codeforces/429/B[ Working out ].cpp | 642bac062b3a47e87d4221b8d78bd186885700f4 | [] | no_license | knakul853/ProgrammingContests | 2a1b216dfc20ef81fb666267d78be355400549e9 | 3366b6a4447dd4df117217734880199e006db5b4 | refs/heads/master | 2020-04-14T23:37:02.641774 | 2015-09-06T09:49:12 | 2015-09-06T09:49:12 | 164,209,133 | 1 | 0 | null | 2019-01-05T11:34:11 | 2019-01-05T11:34:10 | null | UTF-8 | C++ | false | false | 1,680 | cpp | B[ Working out ].cpp | // Alfonso2 Peterssen (mukel)
#include <bits/stdc++.h>
using namespace std;
const int
MAXC = 1 << 10;
int R, C;
int a[MAXC][MAXC];
int upRight[MAXC][MAXC];
int upLeft[MAXC][MAXC];
int downRight[MAXC][MAXC];
int downLeft[MAXC][MAXC];
int main(int argc, char * argv[])
{
ios_base::sync_with_stdio(0);
cin.t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.