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
37f77202379c679f0ecdb76486291a4027c9c2da
f40e83fa332870c78a6079f8c7a00028094901fe
/LaunchControlConsole/LaunchControlConsole.cpp
8c5885117dc1cbc62fefbcc148dd4e58a29bb017
[]
no_license
haschdl/Launch-Controller
d3fa36837762d8398f4b6022874db5018c35fff7
8099630819c76280802698fa5ae7d1993b75bd0a
refs/heads/master
2021-07-08T02:57:34.124204
2017-10-04T15:05:11
2017-10-04T15:05:11
105,469,093
4
0
null
null
null
null
UTF-8
C++
false
false
1,971
cpp
LaunchControlConsole.cpp
// LaunchControlConsole.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "../LaunchControl/LaunchControl.h" #include <iostream> #include <chrono> #include <thread> #include <stdlib.h> #include <crtdbg.h> #include <algorithm> #include <string> #include <iostream> LaunchContro...
41add0fb0a4ae8efa645ea10511c469441147522
c18ecd8ab305e21c3e6b8870105ad987113cfda5
/codeforces/1971/14705680_AC_1829MS_4112K.cpp
93a776905c045df99162bf430b99389adfb73965
[]
no_license
stmatengss/ICPC_practice_code
4db71e5c54129901794d4d0df6a04ebd73818759
c09f95495d8b57eb6fa2602f0bd66bd30c8e4a0c
refs/heads/master
2021-01-12T05:58:59.350393
2016-12-24T04:35:19
2016-12-24T04:35:19
77,265,840
0
0
null
null
null
null
UTF-8
C++
false
false
1,303
cpp
14705680_AC_1829MS_4112K.cpp
#include<iostream> #include<cstdio> #include<map> #include<algorithm> using namespace std; typedef long long ll; map<pair<int,int>,int>mp; map<pair<int,int> ,int>::iterator it; int x[1004],y[1004]; struct point{ int x; int y; }; ll res=0; point po[1000004]; int cmp(const point a,const point b) { if(a.y==b.y) retu...
e9637f90c784f610f6c4fe750bd50510f7f12f49
a66bb4ec81e04f5d89def350e28c7063de17ae66
/tests/stubs/ControllerStub.cpp
ffd1d38256cb24e4f6491868d79e56142ffd91a9
[ "MIT" ]
permissive
dvarubla/directgraph
475ba8f854332ce8d0159bc6c7c5eb93f417ea1d
feb29419eba2fc931a1bdf593545fabdf552ce8a
refs/heads/master
2021-01-22T14:49:21.483902
2018-05-13T08:43:53
2018-05-13T08:43:53
102,368,037
0
0
null
null
null
null
UTF-8
C++
false
false
28
cpp
ControllerStub.cpp
#include "ControllerStub.h"
aa3f47623b4f7933b0046df20c7e8640cee496b9
925af2f53a5e221fbbbd2eaedd6148550dd28bee
/Source/CustomCodeCollection/DamageModule/Weapons/Guns/FullyAutoGunBase.cpp
bd3b59d7578d7945ce0ae87db2245fcea958392a
[]
no_license
beybladeuser/UE-CustomCodeCollection
33a7e09ff8b4f1f39a111765fe18fb475e81de05
ef9fbb317979ec7735049754c6454bf8b783b4a7
refs/heads/master
2023-08-17T16:07:50.566694
2021-09-30T01:45:03
2021-09-30T01:45:03
402,922,821
0
0
null
null
null
null
UTF-8
C++
false
false
1,841
cpp
FullyAutoGunBase.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "FullyAutoGunBase.h" float AFullyAutoGunBase::GeFireRate() { float Result = Super::GeFireRate() * SpoolUpCurve.EditorCurveData.Eval(ElapsedTime); if (Result <= 0.01) { return 0.01f; } return Result; } void AFullyAutoGun...
b0ae31e47a1159a7f407f7f5badef73e1703d389
18488c64ea8073545133e78a884cac4d6669ccf0
/contest/Contest6/bai16.cpp
f8890550f25cf59e9dc6a364dff97cf66a517f57
[]
no_license
manhtung001/Datastructure-Algorithm-PTIT
f6b1c3bbc2476af3989b8796696dbbb7750e91fe
c41a344d4fbfd92bf587eac14861568d2029321b
refs/heads/master
2023-06-24T07:19:33.970580
2021-07-21T13:44:54
2021-07-21T13:44:54
344,992,505
1
1
null
null
null
null
UTF-8
C++
false
false
708
cpp
bai16.cpp
#include<bits/stdc++.h> using namespace std; int partition(int arr[], int low, int high){ int p = arr[high]; int i = low-1; for (int j = low; j <= high-1; j++){ if (arr[j] < p){ i++; swap(arr[i], arr[j]); } } swap(arr[i+1], arr[high]); return i+1; } void quicksort(int arr[], int low, int h...
0489c3a954dc5d28c16f0a8cf3231b219d9978d6
759621ed37ca83324180ad82375aae598bbad804
/Tycoon Game Shell.cpp
9978b3129c59b52d213a94c7a8e6ed672e23e5ae
[]
no_license
TaoOfChow/YouTubePrograms
1c136e70ef37eb5795556bf121f5775424d22208
7df0927355c569827b3136c2dab2a9f0aeab2d93
refs/heads/master
2021-12-21T23:25:58.117616
2021-12-10T23:13:51
2021-12-10T23:13:51
251,435,733
3
0
null
null
null
null
UTF-8
C++
false
false
11,380
cpp
Tycoon Game Shell.cpp
#include <iostream> #include <iomanip> #include <windows.h> using namespace std; int main() { /* Ingredients: Lemons, Sugar, Cups, Ice Cubes Recipe: 1.75 Cups sugar, 1.5 cups of lemon juice, 8 cups or water, 20 ice cubes, 10 cups Costs: $0.44 lemon, 0.03 ice cube. 0.23 cup, 0.28/cup sug...
6f7648e8c58348bc3d9b3d4c11b0143d89e389cc
5adec71b5927f3da801f8ec6a97e347141fde1a0
/LaiOffer/Reverse Alternate Nodes in List and Append at End.cpp
7b86bd061308001f6f6475941d4a469017e9a575
[]
no_license
FangLiu68/OldCode2016
bbb0d2b5dfbf660013cbe3384fedbb7189eee139
37cef0c01c217cc145317298477cfc57598565f5
refs/heads/master
2021-01-12T07:06:29.455232
2016-12-20T21:21:16
2016-12-20T21:21:16
76,911,834
0
0
null
null
null
null
UTF-8
C++
false
false
1,895
cpp
Reverse Alternate Nodes in List and Append at End.cpp
// // Reverse Alternate Nodes in List and Append at End.cpp // LaiOffer // // Created by Fang Liu on 3/16/15. // Copyright (c) 2015 Fang Liu. All rights reserved. // /* Given a linked list, reverse alternate nodes and append at the end Example1 Input List:  1  -> 2 ->3->4->5->6                                  ...
ef1ebf1f65d06f615ca4e03beccfec5513a8e370
048a00911ee904f922f158cbe977beb5c421b39b
/MapTableSynopsis/clsTube.h
f461566a862a35d9e0a999974d8e19f05195c86a
[]
no_license
wchenwu/MapTableSynopsis
77ab1ea10fea8b5bb1b75324f1f9b67526627999
f26011779b4bc8a6dfa530fd6cec5143d5e8c140
refs/heads/master
2023-03-28T01:41:43.751940
2021-03-16T00:22:09
2021-03-16T00:22:09
348,198,260
1
0
null
null
null
null
GB18030
C++
false
false
1,825
h
clsTube.h
#pragma once #include <opencv2\highgui\highgui.hpp> using namespace std; using namespace cv; class clsTube { public: clsTube(); virtual ~clsTube(); //初始化 void OnInitTube(int _id, int _src_fs, int _src_fe, string _filePath); //从文件中读取每帧的Activity值 void readFrameActivityValue(string _fileName); //从文件中读取每帧object的...
1103a339da9711223f8d94c7ce17d854351fec85
f7dae2b90b9958e7c2ae964493fb17fc8fd228a3
/atmega32u4_jiggler_v0.0.0.1/atmega32u4_jiggler_v0.0.0.1.ino
cdcf64049e57cf5d27d1ed770654326c275e1102
[]
no_license
lozaning/Jiggler
eb989190d418d706085b7d327adcb663cc8f09ac
654e4234ce56fb418b8c2a601fb739838fdaf938
refs/heads/master
2020-12-15T06:17:59.340622
2020-01-22T03:21:44
2020-01-22T03:21:44
235,018,500
0
0
null
null
null
null
UTF-8
C++
false
false
4,262
ino
atmega32u4_jiggler_v0.0.0.1.ino
/* * created by Rui Santos, https://randomnerdtutorials.com * * Complete Guide for Ultrasonic Sensor HC-SR04 * Ultrasonic sensor Pins: VCC: +5VDC Trig : Trigger (INPUT) - Pin11 Echo: Echo (OUTPUT) - Pin 12 GND: GND */ #include <Arduino.h> #include <TM1637Display.h> #include "Mo...
2baec6e2ff837ec51c32c6b663d33b12a4a72129
22bd625b1a2ffc102761914469c9673f62cf8e78
/benchmarks/src/cuda/cutlass-bench/cutlass/vector.h
e59340b8e6a438aaf0a979e8e1b14449a8293a3a
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
purdue-aalp/gpgpu-sim_simulations
f1c32ac5a88c4120d326d1053c82e598ca2d05fe
84113a92a4aacfdd1ddbc1beb2f01746060dfb05
refs/heads/master
2021-08-05T21:56:58.378115
2021-01-28T23:31:26
2021-01-28T23:31:26
154,350,995
6
15
BSD-2-Clause
2021-05-18T15:28:08
2018-10-23T15:18:42
HTML
UTF-8
C++
false
false
13,928
h
vector.h
/*************************************************************************************************** * Copyright (c) 2017-2019, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are me...
19a75ea6f6a90ffa953aaa2684c106e34d16c2e6
3c3050f1a66acdd56bc04601c523730225940b8f
/dna2/dna2.cpp
6092068c1e084660a6bc30c82636b93f54adc681
[ "MIT" ]
permissive
chenhongqiao/USACO
f8e54a99598b59d461532b5a6a63a36ba124eedc
186d9d5fffe2663effbbdb9df2c7726eeb651098
refs/heads/master
2023-06-25T05:10:56.754702
2023-06-07T19:47:42
2023-06-07T19:47:42
233,294,481
0
0
null
null
null
null
UTF-8
C++
false
false
842
cpp
dna2.cpp
#include <bits/stdc++.h> using namespace std; int n; string s[10]; bool v[10]; int merge(string a, string b) { for (int i = min(a.size(), b.size()); i >= 0; i--) { if (a.substr(a.size() - i) == b.substr(0, i)) { return i; } } } int ans = 100000000; void func(int dep, int ...
a729fd99c58c549b2192128fc3f5b98d647ea919
55d2c86e34787533528ac999789bb56861457036
/klever/plugins/sessions/widgets/informationdialog.h
7ab0f6fcad55844affb04946bbdc38d3a8d89f97
[]
no_license
gen1izh/cpp
91f635afc3820e7c6d447141d6067cf89a18f401
ed6a05b16995158c0c060d0be51c103bc75da9b2
refs/heads/master
2020-04-16T02:09:57.406956
2017-03-26T07:59:00
2017-03-26T07:59:00
64,819,682
0
0
null
null
null
null
UTF-8
C++
false
false
568
h
informationdialog.h
#ifndef INFORMATION_DIALOG_H #define INFORMATION_DIALOG_H #include <QDialog> #include "models/sessionsmodel.h" #include <QScopedPointer> namespace Ui { class InformationDialog; } class InformationDialog : public QDialog { Q_OBJECT SessionsModel *m_model; public: explicit InformationDialog(QWidget *pare...
ae44b9744aec421cd5cb7c18f66c5573df4606dd
4514dfc5b61b84fe310e90cfd2e1e3a29423f657
/arduino & nodemcu/wacom_servo_and_turbidity/wacom_servo_and_turbidity.ino
6fd406751549bd6d283c0fc77459ee46d9c53c8d
[]
no_license
alanyukeroo/IWACOM-IoT
52f95c2d14757dffd47f46f301314e230cd23fb7
0d02c3e53a57763338ee9dffe7ca4d4e7f867631
refs/heads/master
2020-04-05T15:15:10.937733
2019-01-29T06:26:23
2019-01-29T06:26:23
156,960,901
0
0
null
null
null
null
UTF-8
C++
false
false
739
ino
wacom_servo_and_turbidity.ino
#include <Servo.h> Servo servo1; int pos1 = 0; static float kekeruhan; static float teg; void setup() { Serial.begin(9600); //Baud rate: 9600 servo1.attach(9); servo1.write(170); } void loop() { int val = analogRead(A0); teg = val*(5.0/1024); kekeruhan = 100.00 - (teg/4.16)*100.00; Serial.print(teg); Se...
acd0fe2833f2f75484fc0f1cb3bb466f03f481b3
5fd5b7f39eb19f37fe1b301fd3ccdd66d3ef79e1
/Code671_SecondMinimumNodeInABinaryTree/Code671_SecondMinimumNodeInABinaryTree/SecondMinimumNodeInABinaryTree.cpp
c1da0e0ebae656380ab818792fb0e80b7f279296
[]
no_license
happyu319/LeetCode
ff60119ecd746500a2fda6dca658fb189680dc15
9fa5b99b06b6792bb79fa63806e1bad98b44751f
refs/heads/master
2020-04-02T05:50:06.009596
2018-11-29T09:29:23
2018-11-29T09:29:23
154,109,335
0
0
null
null
null
null
UTF-8
C++
false
false
3,273
cpp
SecondMinimumNodeInABinaryTree.cpp
/* https://leetcode.com/problems/second-minimum-node-in-a-binary-tree/description/ */ #include <iostream> #include <algorithm> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(nullptr), right(nullptr) { } }; int findSecondMinimumValue(TreeNode* ro...
fd754ebd6e02be24f174ff26c2e49543ea1ebcc5
b2a46f1c040b2bba446c48bc940b1736037f9fbf
/src/diccTrie.hpp
7258e779310ed14731cad9efdb20af53ac5da223
[]
no_license
mcel98/solucion
e4b43ccdc62da59f322525dca2e48732f7125556
861c6debde7f6e64ca5fa0a99947b76aa20b628b
refs/heads/master
2020-03-22T05:47:14.759859
2018-07-03T17:14:46
2018-07-03T17:14:46
139,590,044
0
0
null
null
null
null
UTF-8
C++
false
false
1,791
hpp
diccTrie.hpp
// // Created by dsalvia on 03/07/18. // #ifndef SOLUCION_DICCTRIE_HPP #define SOLUCION_DICCTRIE_HPP #include "diccTrie.h" template<typename T> dicc_trie<T>::dicc_trie() : _raiz(NULL), claves() {} template<typename T> void dicc_trie<T>::definir(const string &key, const T& siginificado) { Nodo* actual = _raiz; ...
a97b0bbedf3152727d6ab1d5ad68ac903e4f0f1b
1e1ad5ae19f17e7db246cc3f911d3cc4c2072e65
/03 - Problem Solving Paradigms/02 - Dynamic Programming/03 - Longest Increasing Subsequence (LIS)/11790 - Murcia's Skyline.cpp
6903e636e3b8018b35b43b9abc903f087da0aafc
[]
no_license
km36388/UVA-Solutions
5d34138fd7adc4fe338cfaeb11af6155916d3309
e5171b04d6a8bb17426245f650723d41345b7fc8
refs/heads/master
2020-12-11T18:16:27.847801
2018-08-23T16:11:29
2018-08-23T16:11:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,187
cpp
11790 - Murcia's Skyline.cpp
#include <bits/stdc++.h> using namespace std; int main() { int tt, k = 1, n; scanf("%d", &tt); while(tt--) { scanf("%d", &n); vector<int> h(n), w(n), LIS(n), LDS(n); for (int i = 0; i < n; ++i) { scanf("%d", &h[i]); } for (int i = 0; i < n; ++i) { ...
2e9f16c29febd0a48ce22f66cd9485740893b691
3e70eda6819fec5bf5ba2299573b333a3a610131
/itl/metric-so/src/libmysql/metric.h
8b759132a8c080652a4b6c7819f52fcc26a6ff3b
[]
no_license
dawnbreaks/taomee
cdd4f9cecaf659d134d207ae8c9dd2247bef97a1
f21b3633680456b09a40036d919bf9f58c9cd6d7
refs/heads/master
2021-01-17T10:45:31.240038
2013-03-14T08:10:27
2013-03-14T08:10:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,738
h
metric.h
/** * ======================================================================== * @file metric.h * @brief * @author TAOMEE * @version 1.0 * @date 2012-09-07 * Modify $Date: $ * Modify $Author: $ * Copyright: TaoMee, Inc. ShangHai CN. All rights reserved. * ====================================================...
fe94156747c4b96c4c9ce3d3e38fce45ab98a224
1901bdbaf57584e7c5ec21643db340f9d98d6807
/compute/tensor/src/cpu/x86/int8/lstm.cpp
a6232f6553dca10e6c0406f3f9b754caff3bdad3
[ "MIT" ]
permissive
huawei-noah/bolt
2a4febe5f5cce64e3589c2782c489d59975eb6a3
cf4ca8f8646a8e30ddf91c29a18743d75ac1c172
refs/heads/master
2023-08-28T13:36:34.815244
2023-06-12T01:24:41
2023-06-12T01:24:41
225,365,905
889
168
MIT
2023-06-12T01:24:42
2019-12-02T12:06:12
C++
UTF-8
C++
false
false
7,354
cpp
lstm.cpp
// Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation the rights to use,...
6778fb6b6c7fa97ba5bbe940e417b3e0b4f8c32a
176474ddb79b251e51aa005f7a30b68526ce7808
/4.Interview-Bit/Greedy/higher_rating_higher_holidays.cpp
66999eed3a85cdd9f4795fdfeffb27e784385e0c
[]
no_license
ashish1500616/Programming
0f0b3c40be819ad71b77064ef4e2e31765588c53
bdfe9cdf3aeee2875ff78231b04296dc5ba97383
refs/heads/master
2021-03-16T05:17:50.302515
2020-03-10T05:51:44
2020-03-10T05:51:44
121,101,900
4
0
null
null
null
null
UTF-8
C++
false
false
361
cpp
higher_rating_higher_holidays.cpp
int Solution::solve(vector<int> &A) { int n = A.size(); vector<int> cs(n, 1); for (int i = 0; i < n - 1; i++) { if (A[i + 1] > A[i]) cs[i + 1] = cs[i] + 1; } for (int i = n - 2; i >= 0; i--) { if (A[i] > A[i + 1]) cs[i] = cs[i + 1] + 1; } retur...
291d82084f348f9f737400877453ecaa5f572dae
0b5114d1dbb03ea1b6d6bd4224dd7618bc833a7a
/samples/INFR-2310/(Solution) W7 Tutorial - Skeletons/src/SkinnedMesh.cpp
3395bfa1bd491f6c58547678338e171c83fcb050
[]
no_license
andywater01/SkyBoundRepo
bc90e5552eea15b03d5ff152463472e2a4682687
25f5b04856bce041d91b0f4c4329d586dff36a04
refs/heads/main
2023-04-03T07:19:33.394366
2021-02-11T22:37:20
2021-02-11T22:37:20
308,375,955
1
1
null
null
null
null
UTF-8
C++
false
false
2,591
cpp
SkinnedMesh.cpp
/* NOU Framework - Created for INFR 2310 at Ontario Tech. (c) Samantha Stahlke 2020 SkinnedMesh.cpp Basic classes for managing the data associated with a skinned 3D model. */ #include "SkinnedMesh.h" #include "GLM/gtx/transform.hpp" namespace nou { Joint::Joint(Skeleton* owner) { m_name = "NULL"; m_owner = ow...
1c17150d614125092ffcf798c87d67e912075177
102c4de32f785bada03648a58eea3349775e0484
/Вариант №9/NOTE.cpp
989a91ad2414dd3a3a802c200019f547e92c1e34
[]
no_license
walleri18/Offset-programming
3d7404d26e8a6435fed188d64eef94565bd0aa3b
c534be6a813e0946020d6d3b10d2ecdce67660eb
refs/heads/master
2021-01-10T01:34:58.016932
2016-01-16T21:46:36
2016-01-16T21:46:36
49,792,265
1
0
null
null
null
null
UTF-8
C++
false
false
6,196
cpp
NOTE.cpp
#include "NOTE.h" /** Класс NOTE (реализация) */ /* Конструкторы */ // Конструктор по умолчанию NOTE::NOTE() : phoneNumber(0), surname(NULL) { /* День рождения */ // Делаем валидные объекты this->birthday[0] = 1;// День DD this->birthday[1] = 1;// Месяц MM this->birthday[2] = 1;// Год YYYY } // Деструктор...
0a35f2c363afcf48f4bb7b6af8a64f8c20c1d127
1d4293fb707c97e7f9f9bb5ca033da7db276f9de
/LE3/SDK_HEADERS/GameFramework_structs.h
091f39c28e32470aa5a795987d07ebc62758d051
[]
no_license
d00telemental/LExSDK
37f0d502617e475fbf64c248626364a59d171950
ee2294127d79631f0c1581e1fad3244c3ac20537
refs/heads/main
2023-08-18T15:41:45.495754
2021-09-12T19:30:54
2021-09-12T19:30:54
384,050,207
1
1
null
null
null
null
UTF-8
C++
false
false
8,613
h
GameFramework_structs.h
/* ############################################################################################# # Mass Effect 3 (Legendary Edition) (2.0.0.48602) SDK # Generated with TheFeckless UE3 SDK Generator v1.4_Beta-Rev.53-MELE # ========================================================================================= # # File...
9fc8cd17dc26147e227c3f3d3ec2725c012581d1
36d0ddb69764f39c440089ecebd10d7df14f75f3
/プログラム/Game/Object/GameScene/Effect/BlockDeleteEffect.h
02e717e78d473fcd3d4b33efe20a76a6c8ee5d92
[]
no_license
weimingtom/tanuki-mo-issyo
3f57518b4e59f684db642bf064a30fc5cc4715b3
ab57362f3228354179927f58b14fa76b3d334472
refs/heads/master
2021-01-10T01:36:32.162752
2009-04-19T10:37:37
2009-04-19T10:37:37
48,733,344
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
2,862
h
BlockDeleteEffect.h
/*******************************************************************************/ /** * @file BlockDeleteEffect.h. * * @brief フォールブロッククラスヘッダ定義. * * @date 2008/12/8. * * @version 1.00. * * @author Ryosuke Ogawa. */ /*******************************************************************************/ ...
817d655fbe1068455bfbba0b6cc706d6ba341943
342e5fcb719dfb51b898defd2cb8d2022e26d5e9
/test/test_snapshot_executor.cpp
7d63bb0f169d5bb5f6dcf94642c334cf2a54e723
[ "Apache-2.0" ]
permissive
baidu/braft
e8bbbf4d31abcc21eab0c47741040546aa94d093
59c40e5d6b487121af5a1826a654138f489d7155
refs/heads/master
2023-09-04T00:52:03.754962
2023-07-20T03:21:30
2023-07-20T03:21:30
120,606,279
1,951
451
Apache-2.0
2023-08-25T10:20:15
2018-02-07T11:25:57
C++
UTF-8
C++
false
false
15,549
cpp
test_snapshot_executor.cpp
// Copyright (c) 2016 Baidu.com, Inc. All Rights Reserved // Author: Zhangyi Chen (chenzhangyi01@baidu.com) // Date: 2016/07/27 20:13:42 #include <gtest/gtest.h> #include <butil/atomicops.h> #include <brpc/server.h> #include "braft/snapshot_executor.h" #include "braft/fsm_caller.h" #include "braft/util.h" #include "b...
eb7aebb88e1ba3ca1e9f9e93b35534ffe72c35ad
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/cc/test/pixel_test_output_surface.cc
5cd4b02a632ccd9f5a9f6febb8666aaf95eb1356
[ "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
2,344
cc
pixel_test_output_surface.cc
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cc/test/pixel_test_output_surface.h" #include <utility> #include "base/functional/bind.h" #include "base/task/single_thread_task_runner.h" #include "components/viz/...
e9551a9ddbc059d368b447a1059a45dc411474c9
936feb96132d8de7bb7a201512e02d1c8c8a8832
/include/tgbot/methods/types.h
5e46f5233125d0e8df6a1aac57c196aa9691f875
[ "MIT" ]
permissive
StefanoBelli/xxtelebot
7ffcb5163e7e3f5198ab5c86c6f3be1c59f02c0d
b784143d06df917a71c96d346b2e9eff8b34e15c
refs/heads/master
2022-04-11T01:21:26.109189
2020-03-30T15:20:31
2020-03-30T15:20:31
103,251,661
33
4
null
null
null
null
UTF-8
C++
false
false
16,966
h
types.h
#ifndef TGBOT_METHODS_TYPES_H #define TGBOT_METHODS_TYPES_H #include "../types.h" namespace tgbot { namespace methods { /*! * @brief API Methods parameter types */ namespace types { constexpr char iqrTypeArticle[] = "article"; constexpr char iqrTypeDocument[] = "document"; constexpr char iqrTypeGif[]...
1157474ad3f18dd20147e2924f2a9b759a4c1f4b
132b439ca91c559f9a85e16b413cf3719b35292b
/Unidad 3/Tarea2-pilas.cpp
ecdf2358a9a2222ea38e729826a00f08fc3481e3
[]
no_license
rodrigojfc/Portafolio-RJFC-00053714
c282ca82f4929484239e15826a2aedd5722e7d18
bd3d9223fe357648337fb9ae4c21c5f5990b530d
refs/heads/master
2020-12-09T03:19:55.701604
2020-02-14T04:36:16
2020-02-14T04:36:16
233,176,070
0
0
null
null
null
null
UTF-8
C++
false
false
2,549
cpp
Tarea2-pilas.cpp
#include <iostream> #include <string> using namespace std; // Definicion de nodo ------------------------ struct Pesa{ string color; string material; int peso; }; typedef struct Pesa Pesa; struct nodo{ Pesa elemento; struct nodo *siguiente; }; typedef struct nodo *Pila; // Prototipos de funciones...
91d11183e153f2160de8a9bdfe6675a627eb6976
e4f2d00c96546e13dbd9f81c4087f3ba4bb8fae3
/tetris/tetris/engine.cpp
f77b91de1e72b62306fcbcf5a63343d1e8cd7d9e
[]
no_license
KostyaRyabov/TETRIS
c06ec23e380c6003f6b7cc6973afc7ee3aa873b3
2d221801a13d5aa08c21c01ccaa8013e86da1602
refs/heads/master
2021-07-17T18:15:22.642058
2020-07-02T16:59:55
2020-07-02T16:59:55
184,479,609
0
0
null
null
null
null
UTF-8
C++
false
false
2,247
cpp
engine.cpp
#include "game.h" using namespace sf; game *Game; void renderingThread() { Game->window.setActive(true); while (Game->window.isOpen()) { Game->draw(); } } int main() { Game = new game(); Game->window.create(VideoMode(w * blockSize, h * blockSize + 16), "TETRIS", Style::Default, ContextSe...
ca7a40f2568cbc099d72d0b180b40a8f2ea42b43
2581eeb031964fab7f187620de6728a5a82f26a4
/legacy/sameh/sha2.cpp
6e35e9740eafb9133d1d264cceb0c1f56d7b141d
[]
no_license
mazonka/code
396843d0adb7c7c6094238e7282aa29662869ed0
736cce5e63da3c53855cde7d10cc2a0f54d7f3b6
refs/heads/master
2023-08-16T19:48:36.005642
2023-08-09T04:07:14
2023-08-09T04:07:14
134,244,964
2
2
null
null
null
null
UTF-8
C++
false
false
24,339
cpp
sha2.cpp
#include <string.h> #include <assert.h> #include "sha2.h" #include "ma_defines.h" #if !defined(BYTE_ORDER) #define LITTLE_ENDIAN 1234 #define BYTE_ORDER LITTLE_ENDIAN #endif #if !defined(BYTE_ORDER) || (BYTE_ORDER != LITTLE_ENDIAN && BYTE_ORDER != BIG_ENDIAN) #error Define BYTE_ORDER to be equal to either LITTLE_ENDI...
55a7c65d9a15cb47d671be41f9e48d937048fc63
6aca6c5529d4c63b7ae5e0086773591f4f740699
/BasicCalculator/CalcTree.cpp
809d5946d6841a15ff21d3fe69eade001df338c6
[]
no_license
cjkimrules/LeetCodeSolutions
b7b9f144e233b831c0577bfde361f9e2207fd38c
a6df52f44163bb40392d1bdabe0eb96c0a765ae0
refs/heads/master
2021-02-06T04:34:32.213318
2020-04-15T02:44:34
2020-04-15T02:44:34
243,876,620
0
0
null
null
null
null
UTF-8
C++
false
false
4,605
cpp
CalcTree.cpp
#include "CalcTree.h" // There are 4 types // 1. Number // 2. +, - (Superior) // 3. x, / (Inferior) // 4. sqrt // 5. SubTree (Any calculation within Brackets) CalcNode::CalcNode(long double a_val, string a_sym, CalcTree* a_subTree){ m_val = a_val; m_symbol = a_sym; m_subTree = a_subTree; m_parent = nullptr; m_l...
0f30dd8e2882c38b287d27dfb12b7cbd512eab3e
80752cb5e45e5eb3e8b9ce61e920f18f066840d1
/part1/BankAccount.cpp
b107d7c9f006a300a5977fdcfe6abdce6763d178
[]
no_license
KatFaye/lab3
e3b2ae3ef950fea709c2f4e341b5bbefd084efce
e763a305ea6a58345c32fe2dc6c16b1fa87dba12
refs/heads/master
2021-01-10T16:45:16.719548
2016-02-08T15:56:31
2016-02-08T15:56:31
50,875,535
0
1
null
2016-02-07T15:34:29
2016-02-01T22:17:25
C++
UTF-8
C++
false
false
1,375
cpp
BankAccount.cpp
//BankAccount.cpp //interface and member functions for BankAccount.cpp //Author: Kat Herring and Kate Barlock #include "BankAccount.h" #include <iostream> #include <cmath> using namespace std; //adding this fixed the string problems BankAccount::BankAccount(int newBal, int paySchedule, int newRate) { //constructor....
075e44db614bdac7c2ac9dc6c2ba2fff49214341
379ad63841f0603380204645843d6954ce9f7af1
/LeetCode/LC44.cpp
87fc4d8ca8fa059fa506228a70604544b025be22
[]
no_license
DevinChang/LC_AC
3ec3f311ac16c84ed2add1d871be56fc068cb20b
a10897854e33e7dec8f4c63b002dc8098ed27e9e
refs/heads/master
2023-07-03T22:04:31.034848
2021-08-14T02:41:16
2021-08-14T02:41:16
100,836,559
11
0
null
null
null
null
UTF-8
C++
false
false
571
cpp
LC44.cpp
class Solution { public: bool isMatch(string s, string p) { int n = s.size(), m = p.size(); s = ' ' + s, p = ' ' + p; vector<vector<bool>> f(n+1, vector<bool>(m+1)); f[0][0] = true; for(int i = 0; i <= n; i++) { for(int j = 1; j <= m ;j++) { if(p[j...
e431f7118d7c7f0c292cd07a112b809eaaa522ea
ddfa79d8310e7e813334bf01f47083f9519c911b
/JniBridge/TypeConverter.cpp
a2235c63ac34bfacdffd3b428e098425614f1a4f
[]
no_license
nicolasbotto/JniCo
3f56495880f05506a4c095fd2897aeac2a81e61e
a648ac9fbde31dcca0f8506194eea23d47b17bad
refs/heads/master
2021-01-10T06:25:59.955402
2016-02-25T15:56:42
2016-02-25T15:56:42
43,921,817
0
0
null
null
null
null
UTF-8
C++
false
false
28,501
cpp
TypeConverter.cpp
#include "stdafx.h" #include "TypeConverter.h" using namespace System; void TypeConverter::init(JNIEnv* env) { assert(env); jclass intClazzTemp = env->FindClass("java/lang/Integer"); intValue = env->GetMethodID(intClazzTemp, "intValue", "()I"); intCtor = env->GetMethodID(intClazzTemp, "<init>", "(I)V"); intCl...
e81bdc2471b289d0094ff25a7dd8e9c2d286d1c8
3af956d9c976cdea94cdce3103ce5206c064dcab
/linked list/even after odd .cpp
3145c61f323dba70355a1bafe0ab620100b0d678
[]
no_license
sami-colon/end_game
853c9a017b06acc363816932b448cf27e1af6521
d47b9fe327ff29ec79372b09bf4bbe4cd9cfcc52
refs/heads/master
2020-12-31T10:50:08.775582
2020-05-10T13:08:10
2020-05-10T13:08:10
238,998,767
0
0
null
null
null
null
UTF-8
C++
false
false
803
cpp
even after odd .cpp
#include<iostream> using namespace std; class node{ public: int data; node* next; node(int x){ data = x; next = NULL; } }; node* insertBack(node* head, int x){ node* temp = new node(x); if(head == NULL) return temp; node* ptr = head; while(ptr->next != NULL){ ptr = ptr->next; } ptr->next = temp; retu...
d60995d2a1804b3d8f0fae707d4ddc0676fe8f39
1596ca339d5841585b0975d4ff87366eeed9150a
/SampleApp/test/test_trusted.cpp
43d6c15575c4d93c717775c8e98b2bb0e883d2af
[ "MIT" ]
permissive
SilvaMatteus/sgx-test-examples
5dff325f430d1c00d5a59576ad9677c7e4541568
4d08814fee7d102d6df08d8b712deedfefc02dee
refs/heads/master
2020-07-01T06:21:45.477862
2019-08-09T14:46:18
2019-08-09T14:46:18
201,073,603
0
0
null
null
null
null
UTF-8
C++
false
false
1,030
cpp
test_trusted.cpp
#include "gtest/gtest.h" #include "../App/Enclave_u.h" extern int wrapped_trusted_sum(int a, int b); extern uint64_t global_eid; TEST(TestTrusted, WrappedTrustedSum) { int a = 2; int b = 3; int expected_sum = 5; int given_sum = wrapped_trusted_sum(a, b); EXPECT_EQ(given_sum, expected_sum); } TEST...
08b1915b60f4f32bda99bec999c28a872815f479
5902fa0857cd4f722a9663bbd61aa0895b9f8dea
/BMIG-5101-SequencesAsBioInformation/Blast/ncbi-blast-2.10.0+-src/c++/include/corelib/ncbi_url.hpp
588277280e46375eed13107553e3d69890da0350
[]
no_license
thegrapesofwrath/spring-2020
1b38d45fa44fcdc78dcecfb3b221107b97ceff9c
f90fcde64d83c04e55f9b421d20f274427cbe1c8
refs/heads/main
2023-01-23T13:35:05.394076
2020-12-08T21:40:42
2020-12-08T21:40:42
319,763,280
0
0
null
null
null
null
UTF-8
C++
false
false
130
hpp
ncbi_url.hpp
version https://git-lfs.github.com/spec/v1 oid sha256:3b6c441439f8eae1fb1c4be323b616a4dcd5fe6e91d0fb818a0b370178a3e9c0 size 21808
3f9b6e607f495e208290bc842b19eaca11786e87
01cd23a38c901356c1d03869faf9a528bdeba720
/framework/PVRCore/commandline/CommandLine.h
952a9fd82280a2564777a4b6f66a043c9719fbd2
[ "MIT" ]
permissive
powervr-graphics/Native_SDK
f29fd2848b43abb290e09632391282d90b40a046
91b58cc2d1d2b1405b997ad7bc46f9224d0ec1ce
refs/heads/master
2023-07-07T01:20:21.987328
2023-04-28T15:57:49
2023-04-28T15:57:49
25,927,337
651
238
MIT
2022-02-28T09:05:46
2014-10-29T15:28:11
C++
UTF-8
C++
false
false
18,284
h
CommandLine.h
/*! \brief Contains the CommandLine class. \file PVRCore/commandline/CommandLine.h \author PowerVR by Imagination, Developer Technology Team \copyright Copyright (c) Imagination Technologies Limited. */ #pragma once #include <vector> #include <sstream> #include <string> #include <cstdint> #include <cstring> #include <c...
a1ed7c6b7ea8f738cb18ed57759aecc250ab8ba3
44045f767f2f6c73b1543e9eb5ae7c10c3aa0273
/Method1/exe/stdafx.h
d7553bb377410eabcde50c4528f6a8e17fb24e1a
[ "MIT" ]
permissive
hecg119/hotpatch
6d62c269c96b2afc4ce1db394582b06a43fcc7fa
acb4353a4b202a39294df114f47fb7b49784f2fe
refs/heads/master
2022-01-07T12:23:48.848624
2018-10-23T12:16:36
2018-10-23T12:16:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
317
h
stdafx.h
#include <winsock2.h> #include <windows.h> #include <wininet.h> #include <process.h> #include <commctrl.h> #include <stdio.h> #include <shellapi.h> #include <string> #include <vector> #include <tchar.h> #include <memory> #include <functional> using namespace std; // #include "f:\\tools\\output\\include\\xml3.h"
4ab37812fb4199ab4519b24f619d2c17d671383f
b7918aa839a27f3cfd12ba7c335935d87594bfd5
/PokemonGoUPC/Juego.h
facd25a95bb99c110e2ef4073d8534a4dac73073
[ "Apache-2.0" ]
permissive
RodrigoAGM/Pokemon_Go_UPC
38286aba615962886569027e1d08bfe6c633683e
0eb0cbd971e5137f88fd1885efe2ec8e7b70b612
refs/heads/master
2021-07-08T13:03:40.810394
2017-10-06T20:50:47
2017-10-06T20:50:47
103,077,847
0
0
null
null
null
null
UTF-8
C++
false
false
792
h
Juego.h
#pragma once #include "Jugador.h" #include "ArrLugares.h" #include "Mochila.h" #include "ControlPokemon.h" class CJuego { CJugador *oJugador; CArrLugares *oArreglo; CMochila *oMochila; public: CJuego(int x,int y); ~CJuego(); CJugador *GetJugador(); CArrLugares *GetArrLugares(); CMochila *GetMochila(); void ...
384db0a36da5518915c4e70c3012ab8d122eb780
f74d9968e3c30cc792281b1754df990c3b587de5
/C++/main.cpp
3620b00399f2b94472f50c53c85d42ebe6191441
[]
no_license
DelSquared/Perceptron-Model-in-Different-Programming-Languages
4c819bf363810dbd05540a2cf634c0d8e7e35990
1873fb187cfe3045c6d23cc26a76bf98af3cb529
refs/heads/master
2020-05-14T02:09:01.324419
2020-04-26T16:41:23
2020-04-26T16:41:23
181,688,731
1
0
null
null
null
null
UTF-8
C++
false
false
503
cpp
main.cpp
#include <iostream> #include "perceptron.hpp" #define SKIP_LINE std::cout << "\n" int main() { double x[4][2]={{0,0},{0,1},{1,0},{1,1}}; double y[4]={0,0,0,1}; //AND gate Perceptron p; std::cout << "\nPre-Training\n"; for(unsigned short j=0;j<4;j++){ std::cout << p.Eval(x[j]) << " \n"; } SKIP_L...
69716a1659d59b2143fc07541dca7dc43a7eed3f
273d9e254f9aefc242d7d2010ded2edddedae27e
/Sensor.cpp
f46c3df6d497eca13ec93da4c25cf85a45977fda
[]
no_license
eddy-san/qdjangoexample
a4ecaa6e7a55893e4f41c713fe6c248bc478d07d
a2fe235d2394fb7ffcc466d0c53cdc6037c29d47
refs/heads/master
2021-01-02T09:02:13.826012
2015-01-20T10:49:44
2015-01-20T10:49:44
29,523,615
0
0
null
null
null
null
UTF-8
C++
false
false
494
cpp
Sensor.cpp
#include "Sensor.h" Sensor::Sensor(QObject *parent) : QDjangoModel(parent) { _comment = QString("none"); _type = QString("none"); } int Sensor::getId() const { QVariant primaryKey = this->pk(); return primaryKey.toInt(); } QString Sensor::getComment() const { return _comment; } QString Sensor::get...
8af6af82bf52201723c615203b73a6c770b69247
60cadcef14b37f75bf82d0f22b467a9182ae5946
/sql/sql_update.cc
106d6e8be134f802f2f9b1e678febf294e7d459c
[]
no_license
ysaicll/sql_57
e4a044112bb065516b6a71f142ffaaf2f53951a4
95e3e59340a022852cd40858c99b8dee3848cae2
refs/heads/master
2020-03-18T06:25:09.572542
2018-06-07T04:19:06
2018-06-07T04:19:06
134,394,310
0
0
null
null
null
null
UTF-8
C++
false
false
103,042
cc
sql_update.cc
/* Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. This program 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; version 2 of the License. This program is distributed in t...
d860b6c7d8be036a5ca77ed8ec51c67524d2e6f6
4006cd74e5d67af70ac4336600832791988ac744
/code_files/add_ui_tests.cpp
c030c931bc35e7ec91d4780d223003faa751bcea
[]
no_license
sovist/Diehard-statistical-test-UI
aefc5c9a57be3a0719d1aa282733f0857cb41c95
a7ad5310cf2d897735c6fd927d2419782a731b49
refs/heads/master
2021-01-19T00:13:27.505491
2015-03-21T18:51:09
2015-03-21T18:51:09
32,643,544
0
0
null
null
null
null
UTF-8
C++
false
false
1,852
cpp
add_ui_tests.cpp
/* *======================================================================== * See copyright in copyright.h and the accompanying file COPYING *======================================================================== */ #include "../code_files/include/dieharder.h" /* * =============================================...
24327480123e30b375f33962560ce8cc82605338
378699a7f0f1b3305859d9b0cba6a99d24136ac2
/wsms/IRenderer.hh
61efe916202e18dd50f057279e1ec270028cce0a
[]
no_license
Wotan/WSMS
84b3549beb76d15bfc0ad047c876e22c8c12eceb
3d580124d055dbccbe0e640653f79a1a00af1130
refs/heads/master
2021-01-10T19:54:59.747919
2013-04-22T02:37:48
2013-04-22T02:37:48
8,824,946
2
0
null
null
null
null
UTF-8
C++
false
false
320
hh
IRenderer.hh
#ifndef _IRENDERER_H_ # define _IRENDERER_H_ # include <stdint.h> namespace WSMS { class IRenderer { public: virtual ~IRenderer() {} virtual bool init() = 0; virtual void render(uint32_t const* screen) = 0; virtual void update() = 0; virtual void shutdown() = 0; }; } // !WSMS #endif /* !_IRENDERER_H_ */
4b1a8382ee017936b065e0472cac65e4e55016c1
6e9d565689a423af80aaad8e5672a86b6fecc972
/renderer/Renderer3D.cpp
59e00da314b2aa28ab91107d41865d7377e72971
[]
no_license
xinchen0104/ardapp
6b9a191335606fe09760c617e0a71ecbaddce894
a9f4410ec5f2bb8d219bd80a0eeef7e80984fea6
refs/heads/master
2020-04-01T04:27:28.414502
2018-10-13T11:21:04
2018-10-13T11:21:04
152,864,508
0
0
null
null
null
null
UTF-8
C++
false
false
4,033
cpp
Renderer3D.cpp
// // Renderer3D.cpp // Ardapp // // Created by xinchen on 2018/10/2. // Copyright © 2018 xinchen. All rights reserved. // #include "Renderer3D.hpp" //3D渲染,结果输出至result_triangle_list void Renderer3D::render(list<Triangle3f*>* pOutputList){ Camera* pCamera = this->camera; Scene* pScene = this->scene; li...
b90ec51621d675cede8fc90963dd49426da16747
e4c448eefff1967ccb242a7867ad951b42caa566
/Empire_State_Level_5_HW_-_Tjisana_Kerr_submission/Section3.5/Exercise4/Exercise4/Array.cpp
8ab50e7ad6839ec71c6842cae751db37d23d9c48
[]
no_license
amandanish882/Polygot
4eb25fd54eef0d25a29d11f4074e2695a5294ab6
08eae67d94849a79da43f16ac85787bfa0af890d
refs/heads/master
2021-08-11T22:54:03.990351
2017-11-14T06:34:10
2017-11-14T06:34:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,681
cpp
Array.cpp
#include "Array.hpp" #include "Point.hpp" namespace TKerr { namespace Containers { Array::Array() :arraySize(10)//default constructor { m_data=new CAD::Point[arraySize]; } Array::Array(int size) : arraySize(size)//constructor { m_data = new CAD::Point[arraySize]; } Array::Array(const Array& sou...
c9b7821f2a95088d4cb873e85a8445c304579910
260e5dec446d12a7dd3f32e331c1fde8157e5cea
/Indi/SDK/Indi_StatsAttributeSummary_BP_classes.hpp
fff8613e62736e4f3880bed4aa6de37e1c788580
[]
no_license
jfmherokiller/TheOuterWorldsSdkDump
6e140fde4fcd1cade94ce0d7ea69f8a3f769e1c0
18a8c6b1f5d87bb1ad4334be4a9f22c52897f640
refs/heads/main
2023-08-30T09:27:17.723265
2021-09-17T00:24:52
2021-09-17T00:24:52
407,437,218
0
0
null
null
null
null
UTF-8
C++
false
false
740
hpp
Indi_StatsAttributeSummary_BP_classes.hpp
#pragma once // TheOuterWorlds SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "Indi_StatsAttributeSummary_BP_structs.hpp" namespace SDK { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------------------------...
3363a5bd397e5163394f2064f0c0b77c64a75a28
c12851cb42e2972a9c176b49f1b9c6ee81248137
/tidrice.cpp
396f08f50a19d85f8cd503ed63309fb2863d4aef
[]
no_license
taranjeet/codechef
c5d7bb62b28ece78222e79496b805a852c385d4b
4eabfb79cbfa29401016901ee59146edcc9579d7
refs/heads/master
2021-05-27T20:49:55.348728
2014-10-04T07:30:40
2014-10-04T07:30:40
23,603,020
1
0
null
null
null
null
UTF-8
C++
false
false
414
cpp
tidrice.cpp
#include "bits/stdc++.h" using namespace std; int main() { int t,i,n; char x; scanf("%d",&t); while(t--) { scanf("%d",&n); map<string,int> m; string s; for(i=0;i<n;i++) { cin>>s>>x; if(x=='+') { m[s]=1; } else if(x=='-') { m[s]=-1; } } int c=0; map<string,int>::iterator...
ce96802d04b093f9252022ff968eb2e8df2a410a
e8ef5fbf4e504037cd6a2ea3ecba6fcafadb1ea1
/boundingbox.h
ca2504471f4b35e0f3f6c1a9580da52f58306ff1
[]
no_license
laprej/photons
d2635d038cc5258fdbdda66053d0b4b5f9ef841d
4bd372bdd9adb5c0c0c60e8e46b63ef8d5ab44f0
refs/heads/master
2021-01-02T08:46:11.927034
2018-09-01T01:25:12
2018-09-01T01:25:12
1,768,662
3
2
null
null
null
null
UTF-8
C++
false
false
1,855
h
boundingbox.h
#ifndef _BOUNDING_BOX_H_ #define _BOUNDING_BOX_H_ #include <cassert> #include "vectors.h" #include "utils.h" // ==================================================================== // ==================================================================== class BoundingBox { public: // CONSTRUCTOR & DESTRUCTOR Bo...
de70fbe0b74892d1e5da2980e9fa813a2ec844f3
6560b8364905d3b85f7d8d191f1cee64656c381d
/test/SparqlParserTest.cpp
10dfddec8b02a94c727515dd4f39f670b48b3fc4
[ "Apache-2.0" ]
permissive
Buchhold/QLever
755473ec9a6e688dee774208a7ce93e1a5f546a6
49c00d50fd6c50ab6ee598c8d3de8b714b0018ed
refs/heads/master
2020-06-13T23:27:00.615388
2019-06-27T13:42:42
2019-06-27T13:42:42
27,594,187
6
5
null
null
null
null
UTF-8
C++
false
false
23,337
cpp
SparqlParserTest.cpp
// Copyright 2014, University of Freiburg, Chair of Algorithms and Data // Structures. // Author: Björn Buchhold (buchhold@informatik.uni-freiburg.de) #include <gtest/gtest.h> #include "../src/global/Constants.h" #include "../src/parser/PropertyPathParser.h" #include "../src/parser/SparqlParser.h" #include "../src/uti...
f13c60c006c7dd6a5a8b8489400e9815ad3e5495
002902560639e77c5c9606af0fad90ff2334db1e
/975C.cpp
b0bab86934e335986383c4f622390c4405352c56
[]
no_license
Hasanzakaria/CODEFORCES
8662b464133d6058b74ea6bbbe0c6fd78366df9d
da08f70a3eae047e2da610b8a7aa3cc704b10202
refs/heads/master
2022-11-08T16:59:31.128716
2020-06-26T14:18:15
2020-06-26T14:18:15
275,172,665
0
0
null
null
null
null
UTF-8
C++
false
false
890
cpp
975C.cpp
#include<bits/stdc++.h> using namespace std; long long int sum[2000000]; long long int binary_searchh(long long int key,long long int high) { long long int low=0,mid; while(low<=high) { mid=(low+high)/2; if(key>=sum[mid]) { low=mid+1; } else { ...
cac4e202a1502fdcf120979e18468852a0a19145
73cc3d89155a29a9a1db25c3fe87ca11f14d19b5
/code/task.cpp
7a83b8c02211c0e2e881a9b3c3b8238a1db95978
[]
no_license
tymss/seam-carving
af938c12b30ca6cc063b6e959f6a36f87daa06f6
3b3d3a523964b62cefe0ddb3cc6278fa96f01608
refs/heads/master
2020-03-23T22:10:54.790028
2018-07-24T12:55:38
2018-07-24T12:55:38
142,158,516
1
0
null
null
null
null
UTF-8
C++
false
false
5,400
cpp
task.cpp
#include "task.h" void copyseam(Point* s, Point* t, int l) { for(int i=0; i<l; i++) { //cout << s[i] <<endl; t[i] = s[i]; } } void BiRemoval(string funcname, string filename, string rname, string cname, int flag, Point* poly, int n_poly) { Pic* src = new Pic(funcname, filename); if(flag == 1) src->setextra...
7f6bfd455c37a6d44b98be8818ebf940d6f6d8dc
74da3a1f7736cc7e538593b5cd31541abdde5014
/验证给定一个数以内的哥德巴赫猜想.cpp
5c1e1747476cee6fef5610fb65bfbf0168812155
[ "MIT" ]
permissive
745745/c2019
3936a5bfb059d4b123ca960798188c87a3e94783
944e98355009a21dfdcf2a0b177632af091188b2
refs/heads/master
2020-04-25T16:17:10.164780
2019-06-12T13:07:28
2019-06-12T13:07:28
172,905,554
0
0
null
2019-02-27T11:48:07
2019-02-27T11:48:06
null
GB18030
C++
false
false
1,444
cpp
验证给定一个数以内的哥德巴赫猜想.cpp
#include<iostream> #include<cmath> using namespace std; int build_primelist(void); bool ISprime(int x); bool inquire(int *A,int a,int b); //查找数组内是否有元素a是数组大小,b是你要查找的元素 const int MAX = 1000000; int A[MAX]; int main() { int p=build_primelist();//p为MAX以内的质数个数 int *B = new int[p + 1]; int n = 1; for (int i = 2; i ...
93a4f067ba13f6e4caa0d79aa7f21aba247e5696
234efff5291e2ab5e87ef71eb8ad80ec3b1854a2
/TestingHexThrombus/processor2/0.0035/phi
8b8daa8daa71d4e09663bdf8566b34808ecbcb3e
[]
no_license
tomwpeach/thrombus-code
5c6f86f0436177d9bbacae70d43f645d70be1a97
8cd3182c333452543f3feaecde08282bebdc00ed
refs/heads/master
2021-05-01T12:25:22.036621
2018-04-10T21:45:28
2018-04-10T21:45:28
121,060,409
1
0
null
null
null
null
UTF-8
C++
false
false
389,010
phi
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | ...
f12bb21fb1a44a7ab34afe5a5e51fa2d7ef9eedc
390bc0293962b0b9b1aa508bdb0a1fe9b155bab7
/src/castle.cpp
086f87dc91485d53a97ef4d0a5a1ddf09d9f6653
[]
no_license
dalyIsaac/OpenGL-scene
82a6505bc770434e66a7037804d82ebef8e571b2
8a9d2a995138ffd5bc167b49a8cff214343b9caf
refs/heads/master
2020-05-05T01:09:12.384278
2019-04-13T05:20:32
2019-04-13T05:20:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,790
cpp
castle.cpp
#include "castle.h" #include "main.h" #include <GL/freeglut.h> /** * @brief The height of the walls. * */ double const wall_height = 30.0; /** * @brief The thickness of the walls. * */ static const double wall_thickness = 6.0; /** * @brief Half of the wall's height. * */ static const double half_height = wa...
06dbaee41f1724394d67d3bac96b735abf59f3ba
897db9fce60164c9cc20a9689da138c594676461
/EnVision/Filemanager/filemanager.cpp
64cb87c0a47b144735ee2add032a246154c00842
[]
no_license
EvilGitty/EnVision
3068899ee6dc8efc9d36a9bc8f67a4fae7b22b13
5f93ba697160c5df1c6efcb16d75cdeae4489eb4
refs/heads/master
2020-03-26T13:36:58.159782
2018-08-16T06:44:44
2018-08-16T06:44:44
144,948,086
1
1
null
null
null
null
UTF-8
C++
false
false
15,754
cpp
filemanager.cpp
#include "filemanager.h" #include "Base/enVision.h" //============================================================================== //------------------------------------------------------------------------------ //============================================================================== Filemanager::Filemanager...
820745c310b0b09ee9901449c820648354b8e346
c8badfff8bc59452815ef90a8b52ab08f55c91b0
/TripleX.cpp
4e8d3827225de32b281429c1c483b2a1b392ac16
[]
no_license
davecalderwood/CPP-First-Project
c21fbd398ec485040601c456ff0439e04417e897
58d8ecc10abd10aa6ef88fd8a35a27eda16e60d3
refs/heads/master
2021-04-23T19:21:34.725330
2020-04-02T15:07:14
2020-04-02T15:07:14
249,980,208
0
0
null
null
null
null
UTF-8
C++
false
false
1,774
cpp
TripleX.cpp
#include <iostream> #include <ctime> void PrintIntroduction(int Difficulty) { std::cout << "\nYou are a secret agent breaking into a level " << Difficulty; std::cout << " secure server room.\nYou need to enter the correct code to continue...\n\n"; } bool PlayGame(int Difficulty) { PrintIntroduction(Difficu...
ab082ff3e401386bf91bb269b703f70e92491f20
d517a0f8500dd4fbf99479f8683cc69d1973eb81
/101598034/101598034_Core/Activity.cpp
48677afa5a2c07471d65fde5e88603cd25f5588e
[]
no_license
aiueoH/POSDHW_2012Fall
c8089b4a09ac7066a64e6bf96c53b270e10c9b87
b814d5cc8ca468a9e7ee9ec175ec386870abbb90
refs/heads/master
2016-09-05T21:55:21.093362
2013-12-27T05:58:49
2013-12-27T05:58:49
15,467,531
1
0
null
null
null
null
BIG5
C++
false
false
1,895
cpp
Activity.cpp
#include "Activity.h" Activity::Activity(int id, string text):GlyphComponent(id, ACTIVITY, text) { setWidth(text.length() * TEXT_LENGTH_PER_CHAR); } Activity::~Activity(void) { } bool Activity::canAddSource(Glyph *glyph) { if (glyph->getType() == EDGE) // 是Edge才可連結 if (!isConnected(glyph)) return true; retur...
8696234be95f9debc4866e1ff71db0cfffcd594c
b953cc4a19eace3aa285e5d940b8697398c96881
/BitVector.h
d3e03e32e72aad972611a839490fb99de8827632
[]
no_license
DevAlone/huffman_coding
2f9abca602f2787a9deec2a6158d5a7868035184
b9ad7145e3165a73c1b950764fda35e63b631797
refs/heads/master
2020-03-27T22:42:17.748153
2018-09-03T21:07:20
2018-09-03T21:07:20
147,253,615
0
0
null
null
null
null
UTF-8
C++
false
false
1,484
h
BitVector.h
#pragma once #include <cstddef> #include <vector> class BitVector { friend class Reference; public: class Reference { friend class BitVector; // BitVector& bitVector; unsigned char* word; size_t bitNumber; public: Reference(BitVector& bitVector, size_t posit...
833e78362cf65dd37db37c24b92e2d977712d001
8bf1aed9ef31254280340940b219a008b9a86f50
/Finished/MissingNumber/MissingNumber.cpp
9179a89fabbebb8f9fed48a3b1fe1658cd3a899b
[]
no_license
Xianbo-X/Matrix_General_HW
8f03a16122e27f77846ff4b46ea309171e5542eb
5406f77b79b6076952fbcf7fdafbc59ad2625b1e
refs/heads/master
2022-01-12T19:23:25.687742
2019-06-21T11:46:46
2019-06-21T11:46:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
380
cpp
MissingNumber.cpp
#include <iostream> using namespace std; int missingNumber(int *num) { int check[5] = {0}; for (int i = 0; i < 4; i++) check[num[i] - 1]++; for (int i = 0; i < 5; i++) { if (!check[i]) return i + 1; } return 0; } int main() { int *num = new int[4]; for (int i = 0; i < 4; i++) cin >> num[i]; cout ...
c5b4cefd6632a8ad61022f3a454b0d5f66cca34f
0c4b96857133b8f8e5494fc1714056162185adb3
/player.h
08c90629499708e3337894d29e78855a1081f297
[]
no_license
ja166667167/ABV1
610737928e8cf4396b72fccb44b20ed72943974c
ff4048d8c9bf724e5ea619395e575f81fd66358b
refs/heads/master
2020-12-28T03:29:32.824032
2020-05-18T07:50:46
2020-05-18T07:50:46
238,165,893
0
0
null
2020-03-08T13:40:16
2020-02-04T09:15:14
C++
UTF-8
C++
false
false
333
h
player.h
#ifndef playerh #define playerh #include <cstdio> #include <fstream> #include <iostream> using namespace std; class player { public: player(); bool getFirstColor(); bool getFirst(); void setMyColor(); bool playerColor; void sendFirstMove(); //int first; //const player &operator=(player...
26222f03a27b27b99be58b8363d49a00a9b1736d
017ba478cb34293c16a61e9b1d24cc2283f6af68
/1203E.cpp
e939fadbd4b26ea95aef5a93fdef009d0fec3ab6
[]
no_license
linhthi/Codeforces
76536d8b8dc7b7c768aa8ffa9b130c28e0b9ee27
6b78631039f5e9b09bc167582fab3624b2b80b35
refs/heads/master
2021-07-17T20:30:00.520953
2020-09-04T14:54:59
2020-09-04T14:54:59
208,598,781
0
0
null
null
null
null
UTF-8
C++
false
false
450
cpp
1203E.cpp
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(0); // freopen("input.txt", "r", stdin); int n; cin >> n; vector<int> a(n); for (int i = 0; i < n; ++i) cin >> a[i]; sort(begin(a), end(a)); int ans = 0, last = 0; for (int i = 0; i < n; ++i) { if (a...
7cf60a22fe048dd3189590e09fd76c48c74ba264
436623ee85c9d9444d700b56f2729b12b9f2c659
/src/eepp/window/backend/SDL2/backendsdl2.hpp
e4307587d5b411fd2cb38a4dc1c34f75be2f32c6
[ "MIT" ]
permissive
SpartanJ/eepp
0bd271b33058ef119f5c34460ed94e44df882a25
9f64a2149f3a0842ced34b8b981ffe3a8efc6d13
refs/heads/develop
2023-09-01T01:17:30.155540
2023-08-27T20:58:19
2023-08-27T20:58:19
125,767,856
341
27
MIT
2023-04-01T20:10:26
2018-03-18T21:11:21
C++
UTF-8
C++
false
false
540
hpp
backendsdl2.hpp
#ifndef EE_WINDOWCBACKENDSDL2_HPP #define EE_WINDOWCBACKENDSDL2_HPP #include <eepp/window/backend.hpp> #include <eepp/window/backend/SDL2/base.hpp> #ifdef EE_BACKEND_SDL2 #include <eepp/window/backend/SDL2/displaymanagersdl2.hpp> #include <eepp/window/backend/SDL2/windowsdl2.hpp> namespace EE { namespace Window { n...
d184c83f9c09d03a69c28d9aea75d028d9e94f73
9d1db0748d55c8e268e5298a9115e8db82012cd0
/TwoThreads/classB.h
39f1e27f1084343be3415aaeb1a6335bbfd6ff83
[]
no_license
akifyanatma/TwoThreads
1cba416c86e93d21345aad86dd44386f527e789e
36864169696aa43acc2a963e08254ff5ed762c8b
refs/heads/master
2016-08-12T07:00:19.446055
2016-02-19T18:56:54
2016-02-19T18:56:54
52,109,335
0
0
null
null
null
null
UTF-8
C++
false
false
281
h
classB.h
#ifndef CLASSB_H #define CLASSB_H #include <QObject> #include "constants.h" class ClassB : public QObject { Q_OBJECT public: explicit ClassB(QObject *parent = 0); signals: public slots: void functionClassB(myType pMyType); }; #endif // CLASSB_H
dbc67b1c795dcb92aff65e0cd52325b3360f5162
96143b4109e53296b5f948139598ef51e54fac60
/nsga_ii_for_ssmodel.cpp
054ba2f3e9a9f04d856f6190eb1053f642551a61
[]
no_license
werty/PSOEVO
bbf45bce23751928ff0192f58f0e5571021dca36
45c1bf594a3ecc7794984ca26fc87b2984b5eb82
refs/heads/master
2016-09-11T03:22:11.735963
2012-09-30T19:17:37
2012-09-30T19:17:37
5,050,671
0
0
null
null
null
null
UTF-8
C++
false
false
3,819
cpp
nsga_ii_for_ssmodel.cpp
#include "nsga_ii_for_ssmodel.h" NSGA_II_for_ssmodel::NSGA_II_for_ssmodel() { } void NSGA_II_for_ssmodel::WyznaczWartFunkcjiKryterialnych() { QVector<QPair<double,double> > dataXY; for (int i = 0; i <pokolenie.size(); i++) { if(CheckStabilityOfMySystem(pokolenie[i]->x[0],pokolenie[i]->x[1],pokoleni...
4e98dfb3d054bed2ca0fc630bdd76bb0d3bf1763
274487b8829a3f5ded4db2dde85a2b502f783608
/Lectures/rectangle.h
a65a41a063e50389bd5fd3721b8accd03cf759a7
[]
no_license
34-anish/VSCODE
0f1300f0c4a954c3acaebd9b7941bfa2e83fa466
3fdc781ea5917a3b03a76bc93451d3ebbc0bba92
refs/heads/master
2022-11-23T22:42:46.362407
2020-07-24T08:30:05
2020-07-24T08:30:05
282,165,219
0
0
null
null
null
null
UTF-8
C++
false
false
229
h
rectangle.h
#pragma once #include "point.h" classs rectangle{ private: point point1; point point2; public: void setPoints(const point &,const point &); void getDimensions(double & , double&); double perimeter(); }
b38f5d45e9672cee6c1671217ce71c11b0b884a6
931a8f1634feb32916cf20ac6cd28a3ee2830ba0
/Native/Development/Applications/Sourcery/link.cpp
ef78dfd6cd93df637f011b7be2678ba64e776b39
[]
no_license
PyroOS/Pyro
2c4583bff246f80307fc722515c5e90668c00542
ea709dc1f706c4dfc182d959df14696d604572f8
refs/heads/master
2021-01-10T19:47:17.787899
2012-04-15T12:20:14
2012-04-15T12:20:14
4,031,632
6
1
null
null
null
null
UTF-8
C++
false
false
6,356
cpp
link.cpp
// Sourcery -:- (C)opyright 2003-2004 Rick Caudill // // This 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; either version 2 of the License, or // (at your option) any later version. // // This program i...
69544325305647509035b50f97c6c1b95265deae
6dcf0e3ca4e86eec3a48330ddf5871a428bf45c4
/library/track.h
26d41c02074fcb5d808ac0304272090869c95dc9
[ "MIT" ]
permissive
abenea/fubar
c82d381a5da6ff80f2848c216ab1138fc468d7b2
78598552bbe9a16bca96b2c0eef5e6f5d8f3f6e2
refs/heads/master
2023-02-21T10:16:58.050190
2023-02-20T08:38:22
2023-02-20T08:38:22
1,064,641
4
2
null
null
null
null
UTF-8
C++
false
false
1,024
h
track.h
#pragma once #include <QList> #include <QMap> #include <QString> #include <memory> namespace proto { class Track; } class Track { public: QString location; struct AudioProperties { int length = 0; int bitrate = 0; int samplerate = 0; int channels = 0; } audioproperties; ...
4ec9bcfe09392a939391240a026ff3f5d58e1b33
be0743c71dc839960b979bf530e89754ecced24f
/cpp/src/include/domain/country/Language.h
a637245a8a00c267ee77d6ac378d1dfdc2a89a0e
[ "MIT" ]
permissive
murex/mikado-testbuilders-kata
6864ab8a4ae99424d645fb4671967909436c484d
d5fbb4590526faddd8f1a516f497620e74e6c118
refs/heads/master
2023-07-21T01:06:25.959926
2023-05-05T07:50:24
2023-05-05T07:50:24
232,756,094
31
22
MIT
2023-07-19T02:28:45
2020-01-09T08:08:58
C++
UTF-8
C++
false
false
794
h
Language.h
/******************************************************************************* * * Copyright (c) {2003-2019} Murex S.A.S. and its affiliates. * All rights reserved. This program and the accompanying materials * are made available under the terms of the MIT License * which accompanies this distribution, and is av...
829524b3f9af6d1f948a9ab9146ba86943404cb8
fb51ae3519cc75dd13fa38def7d4e2b6859390b3
/OpenCCTVServer/src/opencctv/db/AnalyticResultGateway.cpp
a3c856ef6608b0f28dbd9fa2b4058e1e134e45a0
[]
no_license
ait-vgl/OpenCCTV-Workshop
2404b30c06a681cd18beb01cbd14b6035a7e101c
6882c86e8748deb7a98a2489d4f4d99c97b96dfb
refs/heads/master
2021-01-10T14:56:44.730881
2015-08-03T10:38:10
2015-08-03T10:38:10
36,876,851
1
1
null
2015-06-22T05:41:56
2015-06-04T14:55:06
C++
UTF-8
C++
false
false
1,578
cpp
AnalyticResultGateway.cpp
/* * AnalyticResultGateway.cpp * * Created on: Jun 4, 2015 * Author: anjana */ #include "AnalyticResultGateway.hpp" namespace opencctv { namespace db { const std::string AnalyticResultGateway::_INSERT_ANALYTIC_RESULT_SQL = "INSERT INTO results (analytic_instance_id, timestamp, result_text) VALUES (?, ?, ?...
14678a3bef43453f560f8ccca92aa76b416af7cc
ea75299269bdd24d85d6903ca4606b1da887a678
/Mancala/Side.h
a6a3e61c92c52ddb6aced5be36c934feabc01220
[]
no_license
emilywang886/UCLA-CS32
78209d1a75f0db95379459a6373f672c364d718b
211e8e6e1656c8d34309a441ac2b8f5c7d58364b
refs/heads/master
2021-02-09T22:33:51.024483
2020-03-02T10:11:19
2020-03-02T10:11:19
244,324,915
0
0
null
null
null
null
UTF-8
C++
false
false
372
h
Side.h
// // Header.h // CS32 Project 3 // // Created by Emily Wang on 2019/5/16. // Copyright © 2019 Emily Wang. All rights reserved. // #ifndef Side_h #define Side_h #include <iostream> using namespace std; enum Side { NORTH, SOUTH }; const int NSIDES = 2; const int POT = 0; inline Side opponent(Side s) { retu...
f1b3c1272225d2b5a94be0f16cd23020bd491aee
d56e09436f851dad4c2d0852ad50b56d19854597
/MiniLD_RTS Source/miniLD_RTS/MarkerObject.h
1e6a68184dd99fa2f0c22eef29652ec1e897b2bd
[]
no_license
TaintedGear/MiniLD-RTS
5ba3b21c78eecb9249b19b82667235016e741a8d
528bae94302ffb779ae5a173b711c9cd56c6a2ec
refs/heads/master
2020-02-26T16:24:44.601425
2014-05-16T16:47:03
2014-05-16T16:47:03
19,863,355
1
0
null
null
null
null
UTF-8
C++
false
false
692
h
MarkerObject.h
#ifndef MARKEROBJECT_H #define MARKEROBJECT_H #include "GameObject.h" #include "Camera.h" class MarkerObject : public GameObject { public: explicit MarkerObject(SDL_Surface *sprite, float posX, float posY, int _offset) : GameObject (sprite, posX, posY) { mSheetWidth = 32; mSheetHeight = 32; mSheetY = _offse...
dcf643f6656342b7535aa98215d5b119a35cbb30
7237be2fa45aff10082208fdf0bd9f06dc0802ac
/lib/tests/facts/linux/dmi_resolver.cc
434f6ebc228da60f224c3d3794c8c3ff6597197e
[ "Apache-2.0" ]
permissive
tavilarion/facter
be1e4d5478c36542f03a74d49745d682553377cf
e977983fa0c904878614fe72d6184aabfc2b5c53
refs/heads/master
2020-04-12T15:05:19.960951
2019-07-10T08:35:58
2019-07-10T08:35:58
162,570,649
0
0
NOASSERTION
2018-12-20T11:31:11
2018-12-20T11:31:10
null
UTF-8
C++
false
false
4,465
cc
dmi_resolver.cc
#include <catch.hpp> #include <facter/util/string.hpp> #include <internal/facts/linux/dmi_resolver.hpp> #include "../../fixtures.hpp" using namespace std; using namespace facter::util; using namespace facter::testing; struct dmi_output : facter::facts::linux::dmi_resolver { explicit dmi_output(string const& outpu...
2a18c2aa1e5461f3d9062b13b0558db3d84ed202
250cded5709eb68285c645baa8a47027e0c944f1
/red_playground/red_playground/15_assignment_stack_vector.cpp
f51577f26891a546aa93ece1830b16e14908c5f0
[]
no_license
stakkato95/3YandexCPlusPlusRed
766c8e27c0a5e16b7d35546dff3bc81a682fc68c
f4cf5372fd3f2681ff10f3b2600ef11e36ce1c44
refs/heads/master
2021-05-17T15:56:24.171053
2020-03-28T17:44:59
2020-03-28T17:44:59
250,857,233
0
0
null
null
null
null
UTF-8
C++
false
false
1,865
cpp
15_assignment_stack_vector.cpp
// // 15_assignment_stack_vector.cpp // red_playground // // Created by Artsiom Kaliaha on 3/19/20. // Copyright © 2020 Artsiom Kaliaha. All rights reserved. // #include <iostream> #include <array> #include <stdexcept> using namespace std; template <typename T, size_t N> class StackVector { public: explici...
db34362db487d0cfec85d5c19dd3da13537aa3f4
842a26686d59b7c19fe8ddbcae2e50c552902827
/Src/examples/CodeStyle.cpp
737bdc9a026f793f417c95a4db4c6e1dc742b30a
[]
no_license
jmurrayufo/Gaia-Forge
f7b551f65ec4f62a2a9aa1060e5cfc6e4e078fd3
13bfc6204fe34da11d76419792a4e6db0d601e67
refs/heads/master
2016-09-06T09:13:42.912858
2012-08-25T20:35:14
2012-08-25T20:35:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,345
cpp
CodeStyle.cpp
// This document should have just about every example we will need to use // Functions int foo(int x, int y) // Spaces after the , { // This always gets it's own line! int x; // Just an int int y=5; // You can declare stuff if needed! int *z; // * on pointers go with the VARiABLE! w...
08643d8f46f505c1eca25c6a7582e181eb1aa91c
ad2d392f73f6e26b4f082fb0251b241a7ebf85a8
/past/8/g.cpp
6eae6437a5c8d571e381b0de925a7b61a04ce4ac
[]
no_license
miyamotononno/atcoder
b293ac3b25397567aa93a179d1af34add492518b
cf29d48c7448464d33a9d7ad69affd771319fe3c
refs/heads/master
2022-01-09T23:03:07.022772
2022-01-08T14:12:13
2022-01-08T14:12:13
187,175,157
0
0
null
2019-06-12T16:03:24
2019-05-17T08:11:58
Python
UTF-8
C++
false
false
923
cpp
g.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; const ll INF = 4e18; struct query {ll a,b,c;}; ll calc_cnt(const query& q, const ll& v) { ll a = q.a; ll b = q.b; ll c = q.c; if (v<b) return 0ll; // b, b+c, b+2*c, ... , b+(a-1)*c return min((v-b+c) / c, a); } ll solve(const vector<quer...
1f17dcce875031789c20429454d0a5b6a466be74
19d7095a82c54b91d321c7f11ac8bfe1e90f82d7
/discs.cpp
a71ae6001657e3f18a144d6a7a0e30275259540e
[]
no_license
ZiningZhu/codebook
12ef6c341faee6e0a477666c815c0f5b967cfafe
20078c8c89833cc37baf6e02e0350bfa511eed62
refs/heads/master
2021-01-12T17:09:28.550676
2017-05-20T15:57:23
2017-05-20T15:57:23
71,519,979
0
0
null
2016-10-21T01:53:34
2016-10-21T01:53:34
null
UTF-8
C++
false
false
1,713
cpp
discs.cpp
// Area & perimeter of a union of discs. Copied from Waterloo codebook // TODO: What's the running time? #define ld long double #define FOR(i,n) for (int i=0;i<(n);i++) #define PB push_back #define point complex<ld> #define BEND(x) (x).begin(),(x).end() #define FORI(i,s) FOR(i,s.size()) struct circle { poin...
3975140acf3b2860295e5fbac6087b2dd746f401
604b98184de326e87b6bc290763b4bcede48eea6
/cpp/maximumDepthOfBinaryTree/maximumDepthOfBinaryTree.cpp
3bf612f01cee56b9d2883a977badb04c77fb3379
[]
no_license
xienan6/leetcode
b980fb736e8dac34e5c137afeeb35dddd10eed1e
da16b439f0f3b7c146c42191c66cda1bec0b3e94
refs/heads/master
2020-04-09T12:38:31.567787
2020-01-14T05:44:34
2020-01-14T05:44:34
160,358,300
5
0
null
null
null
null
UTF-8
C++
false
false
768
cpp
maximumDepthOfBinaryTree.cpp
// Source : https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/ // Author : Nan // Date : 2019-03-30 // Runtime: 16 ms /* * Tree traversal. * * Time complexity O(n), Space complexity O(logn) */ /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left...
427ce33602f7cd758b5066dc7bb7b06738264963
7738fbcbbe9a0619a9c370e5c0d0097825f98302
/UVa 00414 - Machined Surfaces.cpp
8863f143d076b9be3d89fabf95e05d6fdb6a5cfb
[]
no_license
MSharique/competitive_codes
73e12dc5270c4ee73697f35f9caff9909ec2c4e0
da3b39a9f7422fb8f6ea6ceb853bab3db5a98fa7
refs/heads/master
2021-09-27T09:35:33.306918
2018-11-07T15:11:24
2018-11-07T15:11:24
72,004,513
0
0
null
null
null
null
UTF-8
C++
false
false
821
cpp
UVa 00414 - Machined Surfaces.cpp
#include<iostream> #include<cstdio> #include<algorithm> #include<string> #include<fstream> using namespace std; int main() { ofstream f1; f1.open("output.out"); int num; string input; string str[15]; int spacecnt[15]; while(getline(cin,input)) { num = 0; for(int i=input.length()-1 ; i>=0 ...
4b175a2ce92c6c053810742507b0e262f34262bf
a851b3afd139e0cadc27c495429ec9305ae7bd0e
/Bank Project3/Project3/CheckAct.cpp
4f886d76275b95f653630b58baadce5828fddd1d
[]
no_license
BigDogg365/BankAct-project
807edf10a0ffebb2e064ac1ffc8e61dd3e065d21
dabc7d6d42fe6e9733481a3a1218cb41b55f9b3c
refs/heads/master
2021-07-21T17:05:39.308636
2017-10-30T20:35:06
2017-10-30T20:35:06
108,905,039
0
0
null
null
null
null
UTF-8
C++
false
false
765
cpp
CheckAct.cpp
#include "CheckAct.h" #include <iostream> #include <string> using namespace std; CheckAct::CheckAct(string n, string t, int Num, double b, double r, double minB, double schrg) : BankAct(n, t, Num, b, r) { MinBal = minB; ServChrg = schrg; } CheckAct::CheckAct() : BankAct() { MinBal = 0.0; ServChrg = 0.0; } v...
13ab4d40a308f9cc794dc4bf1195c49197267c2e
34739f210aaed61e50c2dd0e1a8c58ead019c1e9
/workspace/stop-and-wait/snw.cpp
776550d5c144c77c322149e582f13553082db535
[]
no_license
yuvraajsj18/Networking
1bb3e4d387433941c8dc6d1de174312191a9d01f
3d21c314836e627b8477065d22241933ffa2fb7b
refs/heads/master
2023-01-10T19:44:23.527385
2020-11-03T06:58:30
2020-11-03T06:58:30
287,896,825
0
0
null
null
null
null
UTF-8
C++
false
false
5,426
cpp
snw.cpp
// Stop and wait ARQ implementation #include <iostream> #include <string> using namespace std; void transmission_cases(int case_, int frame_num, string data); int main() { cout << "Stop and wait ARQ\n"; int num_frames; cout << "Enter number of frames to send: "; cin >> num_frames; string *frame...
78a48154280d961ee9463ade8e24f9091ab36a74
776f5892f1395bb8d30731a60466e4c756a44c8c
/contests/abc003/abc003_3/main.cc
57e6d6280d6839d35d4876894cd8ef9a2ebecfba
[]
no_license
kkishi/atcoder
fae494af4b47a9f39f05e7536e93d5c4dd21555b
f21d22095699dbf064c0d084a5ce5a09a252dc6b
refs/heads/master
2023-08-31T18:37:13.293499
2023-08-27T21:33:43
2023-08-27T21:33:43
264,760,383
0
0
null
2023-03-10T05:24:07
2020-05-17T21:30:14
C++
UTF-8
C++
false
false
181
cc
main.cc
#include <bits/stdc++.h> #include "atcoder.h" void Main() { ints(n, k); V<int> r(n); cin >> r; sort(r); double c = 0; rep(i, k) c = (c + r[n - k + i]) / 2; wt(c); }
dec469797b3aad4cc28488a5148399b74e6cbb95
bc9198126d77f1e4bf622a133fa62da77a1acbd5
/tests/CoreTests/ChainSwitch1.h
2ceb42db560782d85d1d1224284a44b135c0aebd
[]
no_license
opentreasury/upscale.bank
ed3f6f51d764768da73c7196df65114f5484de8f
b3efaae7b54216575a4f637946d7c0727aaa36fa
refs/heads/master
2023-08-03T03:35:40.157189
2018-01-05T11:13:21
2018-01-05T11:13:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,153
h
ChainSwitch1.h
// Copyright (c) 2011-2016 The UpscaleCoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #pragma once #include "Chaingen.h" /************************************************************************/ /* ...
634ff15d1d52d11a3698c5a68d2c5a27c3cd460f
c91e870fe4b3ebae7a8c0aa12d97e7eda3edf55d
/OOP/OOP_arcade_2019 (copy)/include/Alexandre/CoreGame.hpp
b9dccbca6ca0a6882c7281ad154922db2059e05e
[]
no_license
Rhumun83/epitech-semester4
14095759d776f24cbf89c232d47c51ce0e3fb57a
7881aaf028f4f945c2eb7a3a0ad5357c1673f603
refs/heads/master
2022-12-18T21:17:05.034460
2020-09-29T10:05:25
2020-09-29T10:05:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
667
hpp
CoreGame.hpp
/* ** EPITECH PROJECT, 2020 ** OOP_arcade_2019 ** File description: ** CoreGame */ #ifndef COREGAME_HPP_ #define COREGAME_HPP_ #include "Element.hpp" typedef struct CoreGame_s { std::vector<std::string> map; arcade::Element map_style; std::vector<arcade::Element> allElements; std::string name; b...
a8f1ae354a81f910958e03b8f3fc783f86ebceda
70dc3de583af771554088d02559e047ebd987908
/GameObject.h
730754f09a2ebc66e121776272d895905854546d
[]
no_license
TommyAlmeida/space-invaders-sdl
020814087e5e11a4fa4b6ed6212d448e3a12e2d9
b145fd51c422f3e5e796d3af26e3433f36f7e65d
refs/heads/master
2020-09-25T03:12:28.676190
2019-12-04T15:59:07
2019-12-04T15:59:07
225,904,516
1
0
null
null
null
null
UTF-8
C++
false
false
289
h
GameObject.h
#pragma once #include "Game.h" class GameObject { public: GameObject(const char* texture, int xpos, int ypos, SDL_Renderer* renderer); ~GameObject(); void update(); void render(); private: int x, y; SDL_Texture* texture; SDL_Rect srcRect, destRect; SDL_Renderer* renderer; };
e16603bde74ad076ce78b39132045423374f650f
b2112b90f124311157a73d5dae276bb791cb0e09
/Machiavelli/LaboratoriumCard.h
0daa933513e9b8bda39561f1ae4a0fa8aa7c3ae9
[]
no_license
Thomas-de-Brouwer/cpp
b0c3501ae1caa1b85b566ea56e77d61f8e823f14
db41391cf2489a2e78d743f51abf5d2a83ec750c
refs/heads/master
2021-01-19T10:14:16.851524
2017-04-12T12:30:37
2017-04-12T12:30:37
87,840,398
0
0
null
null
null
null
UTF-8
C++
false
false
178
h
LaboratoriumCard.h
#pragma once #include "Card.h" class LaboratoriumCard : public Card { public: LaboratoriumCard(); static std::unique_ptr<Card> __stdcall Create(); ~LaboratoriumCard(); };
0adf59aa7d58021a501bac8a80c62ac310e89bfb
0470ecdfd89b4a5915c32b99acedbf62964f8692
/tempCodeRunnerFile.cpp
f159ec7f61bc5c219980395beac6222775c6bbd1
[]
no_license
LiuJ8/cpp_source
0aff23d7bf55d9eacefb704b460a0bce6c5714e3
e64d027b949f52dff5f1d29b4c808eb90a065393
refs/heads/master
2023-09-06T07:52:07.921221
2021-11-24T03:40:16
2021-11-24T03:40:16
431,335,961
0
0
null
null
null
null
UTF-8
C++
false
false
26
cpp
tempCodeRunnerFile.cpp
a.append(to_string(b[i]));
f806183eab8a085115f4e4b7fdda5ec4688c771d
7c2c9d48a3f93f42b134a29d06a9b076ebedf822
/AC/01500/1514.cpp
76047950d36054b0980f51d3807ffaed7eba0d41
[]
no_license
devnok/BOJ
b2f44d8f337df04ddc5bc5c81ff89d00fc0f2d9f
ee20d43fdac24eb5a9dd9b80676789f9f169bdb0
refs/heads/master
2022-08-09T10:07:36.835458
2022-08-02T12:04:55
2022-08-02T12:04:55
224,916,286
0
0
null
null
null
null
UTF-8
C++
false
false
2,100
cpp
1514.cpp
#include <iostream> #include <limits> #include <iomanip> #include <vector> #include <queue> #include <stack> #include <set> #include <map> #include <algorithm> #include <numeric> #include <utility> #include <string> #include <bitset> #include <functional> #include <chrono> #include <random> #include <cmath> #include <c...
b221f00b9af9d2ac97356fbae5eae2b91a597783
a3b81ec91b922c72a95ec733124362982136411e
/kpiyap/lab6-binarySearchTree-clion/Interface.h
80ec8b1b0c39270107667a811f1632956a5ec8a1
[]
no_license
Sintexer/2019-autumn
e719c945245b154e08a79d9711b45c5ae4153611
f92c63769843a4799ec8afe1c0fa2247680ceead
refs/heads/master
2021-03-29T04:45:45.215772
2020-03-17T09:13:27
2020-03-17T09:13:27
247,920,654
1
0
null
null
null
null
UTF-8
C++
false
false
2,601
h
Interface.h
#ifndef LAB_6___BINARY_TREE_INTERFACE_H #define LAB_6___BINARY_TREE_INTERFACE_H #include <iostream> #include "Tree.h" using std::cout; using std::cin; using std::endl; template <typename T> class Interface { public: void launch(); bool work(); }; template <typename T> void Interface<T>::launch() { int a...
6e2dbf35034a1dfe48fe94a0c61a07a133cd2698
bb30a3b94d5b2c02387b4cf163a3799083f7b391
/Source/CoopGame/Private/SGameMode.cpp
44b525cd75583de84187783e67311cd473dd86be
[]
no_license
GolubtsovMaxim/CoopGame
f0a920268137b4af4621058c655bf979fd6315f5
39af0e11a53fcc960e1a20f4df3dfbfbb51793f0
refs/heads/master
2023-03-12T09:41:14.183837
2021-02-23T17:17:45
2021-02-23T17:17:45
197,836,550
0
0
null
null
null
null
UTF-8
C++
false
false
2,940
cpp
SGameMode.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "SGameMode.h" #include "EngineUtils.h" #include "SPlayerState.h" #include "TimerManager.h" #include "Engine/World.h" #include "Components/HealthComponent.h" ASGameMode::ASGameMode() { TimeBetweenWaves = 2.0f; GameStateClass = A...
e5530832c7bcb8a0e7f41938fd851f037571d26e
b345070bea4cc9f1b5c65bc943b34ae512141c66
/src/cubic_polynomial_planner/src/FrenetMath/calHeading.cpp
36d6ded918b0e1f0a86a8c94e922f49b04a63d5b
[]
no_license
ZhgZheng/Local-Planner
ec13694b983f563e3bbbf23a386aea65bae2e4fc
179e14fd7f3611850615a3de554c8f33a8bc12b5
refs/heads/master
2023-03-16T00:33:53.807414
2020-04-29T06:36:58
2020-04-29T06:36:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
419
cpp
calHeading.cpp
// // Created by ustb on 19-7-8. // #include "calHeading.h" #include <math.h> #include <vector> namespace lattice_planner { double cal_FrenetHeading(lattice_planner::FrenetPose pose0, lattice_planner::FrenetPose pose1) { double s0 = pose0.s; double rho0 = pose0.rho; double s1 = pose1.s;...
ae5a68d0e0d9b7f1b7115682006eff03b87ca2cc
ee9609e3290781dcdd4db2c8ce96ab2a7a50cecd
/Caller.h
fe0fdfcea8e1e29042fd27a9a7e3414e48b673db
[]
no_license
bclever1/SFML
18b44e21b30bb392d9161fa6eac273a813428959
9210d48d4e957b41314fd67577e799ab5c236dbe
refs/heads/master
2021-05-12T16:23:09.477958
2018-01-10T21:29:22
2018-01-10T21:29:22
117,011,988
0
0
null
null
null
null
UTF-8
C++
false
false
554
h
Caller.h
#pragma once #ifndef CALLER_H #define CALLER_H #include <thread> #include <vector> #include <string> #include "Message.h" #include "Exceptions.h" using namespace std; //----------------------------------------------// class Caller { public: Caller(std::string s); ~Caller(); void SendMsg(Message* theMessage); Re...
aed12fa44a53c32f4d52e1b0ebaae54de9c31540
680e5f1da9064d580b3de31358645f9a4aa6a084
/Root.cpp
4ffc287166e34065de9c2a9832f6ebef6dd1d157
[]
no_license
JoJaJones/The-Awakening
a325650e3deb041f4bf4fa603acdc93c7de95d3f
7c2bffd786745bac5cc801caaaa8b47b8a2f28a7
refs/heads/master
2021-06-27T13:14:14.329086
2021-03-19T08:53:52
2021-03-19T08:53:52
216,466,220
0
0
null
null
null
null
UTF-8
C++
false
false
1,834
cpp
Root.cpp
/********************************************************************* * Author: Josh Jones * Date: 8/11/2019 ********************************************************************/ #include "Root.hpp" /****************************************************************************** * Constructor for Root class ****...
3ac7dfe71aade35e57a1f63d085ebd18df1040fe
f866bb81ec7a267c8290aec7475c60214ee865e0
/Project Roomba/Maps.h
659333a3bda5b259b579c158ec78858d355d7ae9
[]
no_license
dmtatum/ProjectRobot
2ff68d427a6757c8da060b408fbe11eb22908fa3
ac06ebf65d8b325b2a09c6bdd62700aa6e53da68
refs/heads/master
2021-07-23T05:35:45.705365
2017-10-31T20:12:53
2017-10-31T20:12:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
341
h
Maps.h
//This will be created using maps, that store Rooms #ifndef MAP #define MAP #include "Rooms.h" #include <iostream> using namespace std; //code here #endif /* Needs: addRoom displayMap: is used to display the ENTIRE FLOOR(called from Database.h). should be able to generate walls between rooms, and shift doors and wind...
2fde6a10bed1842c7d27c17ae182be6a3ba12535
031e4d530346aab54ba32e5ec0aeb8ab1a783be1
/Report 2/W41/0.04/U
63400acc6901066751cc598da9c2fe62a1160eb3
[]
no_license
shyam97/modelling1
781ddcf6c16b6bd8f528b0f58bd19953f86716d9
68bd2ebc7960111b86bbff04af96003229618af7
refs/heads/master
2022-11-21T07:03:25.868074
2020-07-20T16:20:09
2020-07-20T16:20:09
262,878,324
0
0
null
null
null
null
UTF-8
C++
false
false
1,637,170
U
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*-------...
395d1b98afa36eb5ec1d0a7c7f72bb59bb753f46
0f69a88a948b2ba11121fa5ef151c6b4b4d1e807
/depth_complexity/camera.hpp
e646c88d547b6fee51e91100dac49270424cdc7a
[]
no_license
joaocomba/depth-complexity
b00df699d4bad3397214fb6b502a3d64de479919
f29ae216752efef1bb5de69e04be4eed3145afc7
refs/heads/master
2016-09-06T10:36:21.404864
2012-10-20T00:53:08
2012-10-20T00:53:08
2,867,669
1
0
null
null
null
null
UTF-8
C++
false
false
253
hpp
camera.hpp
#ifndef CAMERA_H__ #define CAMERA_H__ #include "vector.hpp" struct Camera { vec3f pos; vec3f up; vec3f target; Camera(); void applyTransform(); void relMove(const vec3f& off); vec3f getDir() const; }; #endif
8b419bfa9819a2817dbb0056b83fa1bbe325f56a
f078c51c2e0da5cd49684d0951a8af5555b95bce
/Common/include/common/userProfile.h
fb6047824dd77089ebe20b0b89d3dfec618edfd6
[ "MIT" ]
permissive
caiosfonseca/CMakeNamedPipe
e60fe35af691a1e2dadbcf32c4aba3ab595d0757
a423ed5bee620505f59be9aeb77fe9088870750d
refs/heads/master
2020-03-29T20:22:40.152859
2019-02-05T16:26:19
2019-02-05T16:26:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,225
h
userProfile.h
#include <iostream> #include <string> #include "common/address.h" using namespace std; class UserProfile { public: string Name; int Age; Address UserAddress; size_t Id; UserProfile(); UserProfile(string name, int age, const Address& UserAddress, size_t id); ...
1e2a83f2eb129d7fecb14675d7b665eebe7f375b
d715e36cd3a4b6271c249362b7e0aa478ce58b5d
/front/src/main.cpp
4d9f935f863ce89b7a1b91e1a213225c3c686a79
[]
no_license
amittr/editor
4236e5bde95ae33b38d3ee4cac8c04fdba130e5e
9ecb20bcefacbc6dde40b301478752cb19aa8bcd
refs/heads/master
2022-11-30T11:06:09.021766
2020-08-22T16:43:41
2020-08-22T16:49:58
289,528,251
0
0
null
null
null
null
UTF-8
C++
false
false
120
cpp
main.cpp
#include "window.h" #include <memory> int main(){ auto w = std::make_unique<window>(LINES, COLS); w->start(); }
e5017bbaeecb454ac4e0e5deda2e4fc3a3b7ea76
e080852789a4fa2f19ea2017f8be54c9b0408228
/Core.Game/SaveState.h
8216253c68ef5c7cf979ae4eb398a1fcbe9d7610
[]
no_license
nitvic793/rotvic-engine
000ce4cc1156ac643060cc517b004dba5f7ab869
e5a9f83a4de054b44903f6be28de02e463f97fb7
refs/heads/master
2021-05-09T23:58:20.375592
2018-05-08T00:23:12
2018-05-08T00:23:12
118,814,709
5
2
null
2018-05-02T22:17:41
2018-01-24T19:55:53
C++
UTF-8
C++
false
false
373
h
SaveState.h
#pragma once #include "Core.h" /// <summary> /// Serializable Save state class. /// </summary> class SaveState : public ISerializable { public: Vector3f Position; std::string EntityName; SaveState(); ~SaveState(); // Inherited via ISerializable virtual void Serialize(std::ostream & stream) override; virtual v...
097e1a3a3f58185f8ed305ea2194b7043c6126b8
d54f8df0b27184d07be7512b24183838a5b4be2c
/config/GlobalCfg.cc
e646027bc9091f932b56a0e52c8d01de71fc6868
[]
no_license
lcls-daq/pdsapp
52b038e39ed16f2fa4630f234bf16615586693b1
902602c4a7ee46dd07eff665d1ff161fd1762680
refs/heads/master
2023-09-01T05:12:45.568931
2023-08-17T10:14:54
2023-08-17T10:14:54
87,125,541
2
1
null
null
null
null
UTF-8
C++
false
false
3,677
cc
GlobalCfg.cc
#include "pdsapp/config/GlobalCfg.hh" #include "pdsapp/config/Device.hh" #include "pdsapp/config/Table.hh" #include "pds/config/PdsDefs.hh" #include "pds/config/DbClient.hh" #include <stdlib.h> #include <stdio.h> #include <string.h> namespace Pds_ConfigDb { class GlobalCfgCache { public: GlobalCfgCache() : _...