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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2ef541e7a24b1932ac25a0a5e481691afc45c04f | 259b8edfeb02c1a38953213a93723f4939300078 | /extensions/tree_collection/cython/py_wrapper.cpp | d7520c4566c125801458a76a1a13ac32d02c3257 | [] | no_license | verajohne/treeCl | 6892398acae8ac37b67168d54ca2f3e433066e6f | b1a3935807bd478cfeda1213e702d2661bb2a49a | refs/heads/master | 2021-01-18T05:35:11.282714 | 2014-07-11T15:27:43 | 2014-07-11T15:27:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 105,291 | cpp | py_wrapper.cpp | /* Generated by Cython 0.20.1 on Thu May 8 00:40:11 2014 */
#define PY_SSIZE_T_CLEAN
#ifndef CYTHON_USE_PYLONG_INTERNALS
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTERNALS 0
#else
#include "pyconfig.h"
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTERNALS 1
#else
#define CYTHON_USE_PYLONG_INTER... |
0235d6fc15310acd3476d12311d03f71fe4a2783 | 4661911e173f2ba160c7c4e5b9c08bb72981e9f1 | /Calculator/Calculator.cpp | 4a9b39bfcdc95d85fe2a229130aad44b8a7c5a12 | [] | no_license | NerdSmith/Calculator | 0a2c00b31c28ba81345a51094fbe151b3e255c41 | 72985c67bb9b00790884c7d4b91ca57469f67dd2 | refs/heads/main | 2023-03-13T23:35:40.275459 | 2021-03-03T18:31:58 | 2021-03-03T18:31:58 | 344,225,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,120 | cpp | Calculator.cpp | #include <iostream>
int main()
{
double x, y;
char sign;
bool flag = 1;
while (flag) {
std::cout << "Enter X: ";
std::cin >> x;
std::cout << "Enter sign: ";
std::cin >> sign;
std::cout << "Enter Y: ";
std::cin >> y;
switch (sign)
{
... |
68e81d08d75060022872d11c1b0e29a9d8ee6a8a | 545c47484b4c40cccbe1f01d0878ccc66b421a82 | /2020/2020_08_02/BOJ_circle.cpp | 7806b38d6f9933722a11296ae3c569d64403aa68 | [] | no_license | zzid/Coding-Test-Practice | 93858b04647ac3cc85f5b255c0e7933841833f25 | 33993ac74cc4d252c6ce5cb7ea872e3a49de08c2 | refs/heads/master | 2023-03-03T01:03:29.711685 | 2021-02-14T13:47:27 | 2021-02-14T13:47:27 | 265,266,902 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,857 | cpp | BOJ_circle.cpp | #include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> p;
int maps[51][51];
int n,m,t; // n circles, m numbers per circle
void rotate(int i, int d, int k){
if(d == 0){ // clock wise >>>
for(int x=0; x<k; x++){
int temp = maps[i][m];
for(int j=m; j>1; j--){
... |
cc203910d0def96cb5b2ad5b9ea26b12831e2f33 | 14aa16cd9080af696fbcc28e5dbc8ce0c4d2e7b2 | /src/physics/material/ElementSelector.i.hh | 7175054004a098acabe876c493da304dff58f455 | [
"MIT",
"Apache-2.0"
] | permissive | vrpascuzzi/celeritas | f8220a7d741186ade67c23dad5de872ed9e5b100 | 6a8ffc5e6551371fab7cdb5bbb55c60e65f0439f | refs/heads/master | 2023-08-24T21:39:50.924005 | 2021-04-21T08:24:57 | 2021-04-21T08:24:57 | 284,079,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,539 | hh | ElementSelector.i.hh | //----------------------------------*-C++-*----------------------------------//
// Copyright 2020 UT-Battelle, LLC, and other Celeritas developers.
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
//-------------------------------------------------------------------------... |
74419c90df5772875f639d49ddbd6f6bce591453 | 4fec1e270c892228d3b5faefc2871d7ec819f10c | /FlightData_Archive/editwindow.h | e393fd226b31c28e5a3723271804298c081da3b8 | [] | no_license | bareev/FlightData_archive | b95bd1a314cefe3a42210876aaa29693811ed2f9 | d11fe5b14b6b317248b1fc2067465376f5b0bbe2 | refs/heads/master | 2020-04-21T11:56:54.687844 | 2019-04-29T05:48:56 | 2019-04-29T05:49:04 | 169,545,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | h | editwindow.h | #ifndef EDITWINDOW_H
#define EDITWINDOW_H
#include <wcore.h>
#define ADDITIONAL_COMBO_BOX 4
namespace Ui {
class EditWindow;
}
class EditWindow : public Wcore
{
Q_OBJECT
public:
EditWindow();
void setEdit(WhoEdit e){m_edit = e; emit newState((int) e); return;}
WhoEdit getEdit(){retu... |
bd9fad851c1715495da6fefeacd91a1545190aca | 41dcd61d833fcaad3ea4f48f2e9d75212fb44d78 | /KeyValueStore/KeyValueStore/KeyValueStore.h | 44f6d5c3972cb4e33be763b9dd8b5b656dda27c6 | [] | no_license | MarinaIvIvanova/Data-structures-FMI | fff6ddf9dc2f794a91e83a05eca260cba7036fb3 | e9aff0990798aba0db183b68a17d37364124ac77 | refs/heads/master | 2021-01-11T18:16:23.464913 | 2017-05-28T13:49:58 | 2017-05-28T13:49:58 | 69,332,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 647 | h | KeyValueStore.h | #ifndef KeyValueStore_H
#define KeyValueStore_H
#include "Node.h"
class KeyValueStore
{
public:
KeyValueStore();
KeyValueStore(int initialCapacity);
~KeyValueStore();
KeyValueStore(const KeyValueStore &);
KeyValueStore& operator=(const KeyValueStore &);
void destroyArray();
int hashFunction(const char*, int)... |
7447f24049c796c3931788b3e27cfccbc81b41a3 | 429fc472077e1cd3ca705eb4e45141dfb12907a0 | /SPOJ/FANCY - FANCY NUMBERS.cpp | 7bf9e81f5ff603efdd0a16f5d6e90b0614575bb7 | [] | no_license | ahbarif/Online-Judge-Solutions | 7274ba8f58198f3fd793c42aa29cf00f2aef2584 | e1e5f79330a254d825ebbfe3ca99f6b12a42f052 | refs/heads/master | 2020-03-26T02:19:36.370567 | 2019-10-29T14:12:58 | 2019-10-29T14:12:58 | 144,406,117 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | cpp | FANCY - FANCY NUMBERS.cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
ll dp[35];
char str[40];
int main(){
dp[0] = 1LL;
for(int i = 1; i<=30; i++){
dp[i] = dp[i-1] * 2;
}
int t;
cin>>t;
while(t--){
ll ret = 1LL, cnt = 1;
scanf("%s", str);
for(int i = 0; st... |
bf683fd19a0ec548d50815726c5a81d4acd33f18 | 4dcf657ba90de40c5ef349af3e9ef9d6a2c5f8cb | /code-forces/1003/problemA.cpp | 3d91b0e9c773ffccf902897f452a63bc6481a974 | [] | no_license | andrekorol/competition | 36c5f851bd70ad213e18ef49089c7e2ed3ba197c | d34f7d1af4e5b355d908fe428dae661b3c6ba50c | refs/heads/master | 2021-01-01T04:58:35.786600 | 2019-04-26T17:18:56 | 2019-04-26T17:18:56 | 97,281,314 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | cpp | problemA.cpp | #include <bits/stdc++.h>
using namespace std;
using vi = vector<int>;
int main(int argc, char const *argv[])
{
int n, i;
cin >> n;
vi V;
while (cin >> i) V.push_back(i);
int pockets = 0;
for (i = 0; i < n; ++i) {
int count = 1;
for (int j = i + 1; j < n; ++j)
if (V[... |
4d40290b50a6df2a9ce84dadcda3de2f309410e4 | 5b5908b0e7390933037f57960d8fa0f7137c7074 | /RemComMessage.h | c662406de8969f397743193ccdfa8f367d75a797 | [] | no_license | ebrenthobbs/remcom | 19397eb99f69ff032756d52dfc12d0654902a52d | ea7101309f935ec9aeb8dd917e9e57659ca76940 | refs/heads/master | 2018-11-15T06:09:33.290877 | 2018-03-30T00:16:55 | 2018-03-30T00:16:55 | 105,713,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,809 | h | RemComMessage.h | #pragma once
#include "RemCom.h"
#include "Logger.h"
namespace RemCom
{
struct RemComMessagePayload
{
DWORD dwCommandLength;
TCHAR szWorkingDir[_MAX_PATH];
DWORD dwPriority;
DWORD dwProcessId;
TCHAR szMachine[_MAX_PATH];
BOOL bNoWait;
DWORD dwLogonFlags;
TCHAR szUser[_MAX_PATH];
TCHAR szPassword[_... |
f8995c54bcf1da18a62c021f38005d07d756ff00 | 8bf3a88138ce1fb6ebb7888d342e9e2852bbbd64 | /RADS_common/Reading_data.cpp | d67486e14ba58cbc432a4a443b37bffdc0797c82 | [
"BSD-2-Clause"
] | permissive | tm-kn/rads | df69479d2327dafa0bd4a7c8674f734e75df0fa6 | 4cbbeb3023333dd4c399c991768c611fe4f24415 | refs/heads/master | 2020-05-30T19:40:03.302577 | 2017-03-24T20:34:17 | 2017-03-24T20:34:17 | 83,682,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,311 | cpp | Reading_data.cpp | #include <algorithm>
#include <ctime>
#include <iostream>
#include <string>
#include <vector>
#include "Reading_data.h"
#include "Sensor.h"
#include "Fuel_level.h"
#include "Speed.h"
#include "Temperature.h"
#include "GPS_position.h"
using std::cout;
using std::endl;
using std::sort;
using std::string;
using std::tim... |
773d2b549fcb396334242ee84f7ecb94f7a0d038 | de0524250a32e3734b3d972618b663738dbdaa45 | /Podstawy_programowania/Merge_sort.cpp | 82532117dcbe9262582939940205223ed98ab020 | [] | no_license | Kitee666/UMK | 9702b8e83520194aae586aa48e27f5cb8e502d25 | 62ce69ba0e4ac323b6b702e80ef5f6c83f009c74 | refs/heads/main | 2023-05-28T09:40:27.913257 | 2021-06-07T10:32:45 | 2021-06-07T10:32:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,606 | cpp | Merge_sort.cpp | #include <iostream>
using namespace std;
/*
Dawid Sikorski
Sortowanie szybkie
*/
void MergeSort(int dane[],int poczatek, int koniec)
{
// Jezeli jestesmy w zbiorze 1 elementowym nie mamy co sortowac
if(poczatek==koniec)
return;
// Deklarujemy element srodkowy zbioru
int srodek;
srodek=(pocza... |
838e46f30742de83686b46dcbca3161d8a89fc12 | d5a8771efcb11b671f51dacf0f9b9dc7a03e4069 | /inc/fonctions.hpp | 455afda52bb5f580091b07357a5dedb0fb56471c | [] | no_license | YannCat/calculatrice_hp | ca51c67de16046a259835e9c897a35343c801151 | 1e3d11055776b2fe690bf6ed3653f52458d912b8 | refs/heads/master | 2020-04-27T00:21:32.604120 | 2019-03-28T15:53:14 | 2019-03-28T15:53:14 | 173,931,456 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,131 | hpp | fonctions.hpp | #ifndef FONCTIONS_HPP
#define FONCTIONS_HPP
#include <iostream> // cout, endl
#include <string> // string ; string::find ; stoi ; stod ; to_string
#include <stack> // stack - LIFO
#include <queue> // queue - FIFO
#include <utility> // pair
#include <algorithm> // min_element
#include <locale> ... |
324f80a08ff473994464a3fb552d8f17766b9be8 | 3d64350bd59f0f9d6a95a6f738790f0256fdeba8 | /src/core/testing/test.h | 09e618605b1d6c934ddf3364c9416f88bd8d28fc | [
"MIT"
] | permissive | imnetcat/cout | 633f07b1904b686fa16dcd106f4bf4f77396494e | f188c1b345b9c95f4bfcd5b928845465f048ff6e | refs/heads/master | 2023-02-12T20:36:44.448811 | 2021-01-17T08:26:32 | 2021-01-17T08:26:32 | 250,235,488 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,457 | h | test.h | #pragma once
#include "../config.h"
#ifdef INDEBUG
#include "../logging/ilogger.h"
#include "assert.h"
#include "profiler.h"
#include "../exception/logic_error.h"
#include <functional>
#include <utility>
namespace Cout
{
namespace Core
{
namespace Testing
{
struct ITest
{
virtual void run(Logging::ILog... |
54c9f8f851b50eb86bfe1005706649a472780783 | 529b9af0c2de92c46f75a440cd0be4f0922fc6e1 | /Light oj/Light-oj 1080.cpp | 00e3a99fb6cbeb74b98be9ba8a18af4d725df433 | [] | no_license | pranto84/Online-judge | 168639e9f50dd92492428a7cae2612d86bbca3f3 | 4542f278a3777b65e14609d51867c92071ecfaf9 | refs/heads/master | 2021-01-20T17:15:30.305051 | 2019-08-27T17:52:20 | 2019-08-27T17:52:20 | 65,147,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,612 | cpp | Light-oj 1080.cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <string>
#include <algorithm>
#include <vector>
using namespace std;
#define MAX 1000001
#define N 100000001
#define sci(a) scanf("%d", &a)
#define sci2(a,b) scanf("%d%d", &a, &b)
int ara[MAX], tree[MAX], lazy[MAX];
void propagate(int node, int l, in... |
e6d1431e56d592f29a3fd87bb72a66f21cc79ffe | e6018f2af3b1a401db03431647783c82c590865e | /kth divisor/main.cpp | bd38f32d962e9844a9d21e3936c5c7c3ef928ff6 | [] | no_license | Archonsh/ACM-code | 260f78e2605467aaf55653efbe655d57585e84ef | 6e00d1bf7adce9ee11fe94f587e16b0768375b99 | refs/heads/master | 2021-01-13T10:56:11.305069 | 2018-01-18T09:18:27 | 2018-01-18T09:18:27 | 72,264,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,233 | cpp | main.cpp | /*
* divisor of a number is always PAIRED
* only concern is whether sqrt(N) is a divisor, as it pairs itself
* O(logN)
*/
#include <cstdio>
#include <cmath>
#include <iostream>
#include <vector>
using namespace std;
vector<long long>q;
int main() {
long long n,k,i,j,div=0,flag=0;
cin>>n>>k;
if(k==1) {p... |
61777aae583e0c1fb91c70595c38501c8da31501 | b8c9c5a7fd1942c88da5035eb8aca8d85c9c6d6a | /common/tools/ats/smoketest/messaging/Src/TestMessSetDefaultSC.cpp | 63530be1541a4c4c293b6fe3163b4bc298be3ad3 | [] | no_license | fedor4ever/default | 28f193846bea546f2d09516f5689e050d63d8958 | b94dd7c4880b5b598816bebaf9c8eb2eb38f101d | refs/heads/master | 2021-01-01T19:19:34.867792 | 2015-04-12T11:23:16 | 2015-04-12T11:23:16 | 33,690,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,927 | cpp | TestMessSetDefaultSC.cpp | // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse... |
558930beba18a401e5fbd5a54e9fb813546d504f | 814573e0d9d7e5758bfd1be435a89bba903a0bd0 | /Other/7-42.cpp | 2cb10f4557935810f781d6ab7c625a28f68bade7 | [] | no_license | FairyHao/DataStructue | 0d4c544bbb7af4e0f08e71cf3bf05ba5024d9d43 | 13f3bb7c6909c9b1b4f725a6d7de616faf031bb9 | refs/heads/master | 2021-01-01T05:57:09.095816 | 2017-07-19T09:36:04 | 2017-07-19T09:36:04 | 97,316,720 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 423 | cpp | 7-42.cpp | // 7-42.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include "DGraph.h"
#include "iostream"
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
DGraph G;
char ch;
int k;
G.CreateGraph();
cout<<"输入源顶点:";
cin>>ch;
cout<<"求从顶点 "<<ch<<" 到其余顶点的最短路径:"<<endl;
k=G.LocateVex(ch);
G.ShortestPath_DIJ(k);
G.Out... |
9a7bbdcdecb5a8e1cbb9470ba995c4a915f89239 | 40b8d3f3b84d23affcb5781d011910fb18128ce7 | /string Class v2/string Class Final/strings.cpp | b1a865d12d55e33eb35963343b68b3bd19129c40 | [] | no_license | qaz34/text-adventure | 02e750609b1569f6b90c65b37af645df594dc0fa | ce3273e0910ac67c7bf8af62e5a0ce3e3a27f719 | refs/heads/master | 2021-01-10T04:44:30.119749 | 2016-03-29T04:48:52 | 2016-03-29T04:48:52 | 53,899,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,099 | cpp | strings.cpp | #include "strings.h"
#include <cstring>
#include <ctype.h>
String::String() {
m_string = nullptr;
m_string = new char[1];
m_size = 0;
m_capacity = 1;
m_string[0] = '\0';
}
String::String(char input[]) {
int length = strlen(input);
m_string = nullptr;
m_string = new char[length + 1];
strcpy(m_string, input);
... |
0d44ecab7f16fd604758defccf6d02736617a6ce | f2217d0ee6dfefe24c9fe1b616e81bf106f48a1f | /src/rtsp/rtsp_splitter.h | 3ef4f8e3682a99d0023daf8f160a28eea5c4c627 | [
"MIT"
] | permissive | lam2003/MediaServer | 0dffaf3bd8c979f26b8deab3efd7cad3a7b052df | 3189acd9789702740f4bd33bbc9a1b3342966cae | refs/heads/master | 2023-03-08T07:45:18.765641 | 2021-02-22T03:40:43 | 2021-02-22T03:40:43 | 315,336,435 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 763 | h | rtsp_splitter.h | #ifndef SMS_RTSP_SPLITTER_H
#define SMS_RTSP_SPLITTER_H
#include <http/http_request_splitter.h>
#include <common/media_source.h>
namespace sms
{
class RtspSplitter : public HttpRequestSplitter
{
public:
RtspSplitter() = default;
virtual ~RtspSplitter() = default;
protected:
//... |
10b76457ee59d0412f06e4441a5447c5e53d71aa | d6dedc98c0bbdb6e7c7c1a861e00548cdd4ac4cf | /3D_Framework/3D_Framework/cPlayer.h | 463559a592a0a5465c39524a9cd09c3ca84706eb | [] | no_license | hongsunKim/DirectX3DPortfolio-Borderland | 4f45a68d28adc1d80b9e1bce707677b5f6ca9dae | 140c2c5137786e2a102a05146d4a0dc68c8ee4f2 | refs/heads/master | 2021-01-11T20:17:38.536108 | 2017-01-16T04:32:10 | 2017-01-16T04:32:10 | 79,082,793 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 5,628 | h | cPlayer.h | #pragma once
#include "Player_Stat.h"
class cXMesh_Skinned;
class cSkinnedAnimation;
class cBoundBox;
class cCamera;
class cTerrain;
class cTransform;
class cLight_Direction;
class cItem0;
class cSetBoundObject;
class cBaseObject;
class enemyClass2;
class enemyClass1;
class bossClass;
class Effect;
class cPlayer
{
pr... |
d9bf3976b03db2cd85814e1c99730cbbd4b426fc | c976078bf8dde5baf96416d60dd3bb06c72111ad | /include/fastrtps/types/DynamicDataFactory.h | db87510f51abf15f2eb104d3a53aba8f1c313806 | [
"Apache-2.0"
] | permissive | eProsima/Fast-DDS | 21f3fecacca5a285ad9950b7683456c6f9930a4d | 107ea8d64942102696840cd7d3e4cf93fa7a143e | refs/heads/master | 2023-08-31T14:56:45.942016 | 2023-08-11T11:40:25 | 2023-08-11T11:40:25 | 20,296,703 | 1,225 | 463 | Apache-2.0 | 2023-09-14T11:33:09 | 2014-05-29T14:36:15 | C++ | UTF-8 | C++ | false | false | 1,907 | h | DynamicDataFactory.h | // Copyright 2018 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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 re... |
28b1efef94c3abfa1fc678d39d9a3433bcdb1f07 | 50c100118e3296d608f52ebeb8a96011da064f44 | /src/model/Player.h | 31fb1b708f63bf1f9a28213b96a7458d57d236ed | [] | no_license | ottojo/Hexxagon | b6e80aef7e8a03677f3d533e51e7c1f189d5539f | 28180b2547fb6ca38d6da065d812d89db532ba9a | refs/heads/master | 2020-11-28T12:46:39.596234 | 2020-02-02T01:00:06 | 2020-02-02T01:00:06 | 229,818,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 262 | h | Player.h | //
// Created by jonas on 30.12.19.
//
#ifndef HEXXAGON_PLAYER_H
#define HEXXAGON_PLAYER_H
#include <util/UUID.h>
class Player {
public:
Player();
Player(std::string name, UUID id);
std::string name;
UUID id;
};
#endif //HEXXAGON_PLAYER_H
|
9eaf59ffaca70be0856c25f690fc3ea7eb47b5e3 | b4dbdb2dc1a33ff9c5b259af3b4180a734c28476 | /include/catch_runner.hpp | 3b859443219b94e4f1ea9fb4f4cf040e7f161b43 | [
"BSL-1.0"
] | permissive | hajimehoshi/Catch | 2aefad9c716b4259d6db8c88f047febbc725f9ed | f7e27776655726f4d8470fcfb70e6edbebf3da0a | refs/heads/master | 2021-01-17T22:53:11.033051 | 2011-09-30T07:04:54 | 2011-09-30T07:04:54 | 3,013,998 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,658 | hpp | catch_runner.hpp | /*
* catch_runner.hpp
* Catch
*
* Created by Phil on 31/10/2010.
* Copyright 2010 Two Blue Cubes Ltd. All rights reserved.
*
* Distributed under the Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*
*/
#ifndef TWOBLUECUBES_C... |
b90eb7af5106671669751c751e6198806f4b20f2 | 1a8a5a3c24ad69bf6feaed37c6a0164f417ba33d | /sources/commands/TCmdPrint.h | e5f570c0328082d017a87f42b1d574a6240e43c1 | [] | no_license | artemis-dev/artemis | 689396d9763b076673eb3ad02ac83e5f2321f545 | d4689a3a14f3120cdf6c89fb30e2c56d3901e858 | refs/heads/master | 2023-08-18T13:24:49.318197 | 2023-01-28T10:42:47 | 2023-01-28T10:42:47 | 18,690,622 | 2 | 6 | null | 2023-08-16T08:06:04 | 2014-04-11T22:27:49 | C++ | UTF-8 | C++ | false | false | 1,120 | h | TCmdPrint.h | /**
* @file TCmdPrint.h
* @brief print the last-saved figure
*
* @date Created : 2017-06-13 16:38:24 JST
* Last Modified : 2019-11-15 20:42:02 JST (ota)
* @author KAWASE Shoichiro <kawase@aees.kyushu-u.ac.jp>
*
* (C) 2017 KAWASE Shoichiro
*/
#ifndef INCLUDE_GUARD_UUID_9784A220_859C_4809_... |
08990706bd12f9d489d7c015caec48507dc97b24 | 161eb9f445a4221cfafbf51f045d50903c95118b | /程式腦/2.cpp | b0bc098bba4e132d94bd5367052b848c39e4930b | [] | no_license | tsian077/c | d199f5ec4badb168d5ccf21d737aae7754178c5b | b802861effce61d0592a121b8f71ed25cf6497b6 | refs/heads/master | 2020-03-14T12:00:17.285707 | 2018-04-30T13:47:37 | 2018-04-30T13:47:37 | 97,822,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | cpp | 2.cpp | #include<iostream>
using namespace std;
int increment(int );
int main()
{
int x=10;
cout<<increment(x)<<endl;
cout<<x<<endl;
return 0;
}
int increment(int n)
{
n=n+1;
return n;
}
|
fc22f9a57dcb32a6ed577555794508c31cfcdc99 | de85c2528ab8653986218be4fa8303da826383e0 | /BlogPost.cpp | 61361e031915fe8bdcaf7785816a2a6151bb30d0 | [] | no_license | JacobIsrael18/BlogParserLibrary | 68b0391d1ee9b61bded4588685debad68d43cd96 | 2ac0e908ee34d42562ce978bde57a298ff1b54d5 | refs/heads/master | 2021-01-13T11:50:32.850862 | 2016-12-29T05:44:40 | 2016-12-29T05:44:40 | 77,564,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,497 | cpp | BlogPost.cpp | /****************************
BlogPost.cpp
A class that models a single post
Created by Jacob Israel on 12/21/16.
*******************************/
#include "BlogPost.h"
#include <regex.h>
// Prototypes
string findStringForQuotedKeyInString(string key, string sourceString);
int findIntegerForQuotedKeyInString(st... |
410233d634dd1fcf459d365237ddbb4383b5e819 | 306964c8f964c06c54c25f5cb4b5c9e9b0ad60f0 | /OrionUO/Party.h | c2ffd5ed1d52bb031707f7b9403b99c28a8425be | [
"MIT"
] | permissive | Sghirate/Siebenwind-Beta-Client | d6b6116c2c15e9a5454021d7c658ea27c375f127 | 3ebda8bfebae36ea66691189fc641da374235dcf | refs/heads/master | 2022-08-26T21:10:31.853391 | 2022-07-28T18:32:56 | 2022-07-28T18:32:56 | 477,818,125 | 0 | 0 | MIT | 2022-07-23T16:11:45 | 2022-04-04T18:07:40 | C++ | UTF-8 | C++ | false | false | 379 | h | Party.h | #pragma once
#include "Core/Minimal.h"
#include "Core/DataStream.h"
#include "PartyObject.h"
class CParty
{
public:
u32 Leader = 0;
u32 Inviter = 0;
bool CanLoot = false;
CPartyObject Member[10];
CParty();
~CParty();
void ParsePacketData(Core::StreamReader& a_reader);
bool Contains(i... |
c6ddf879e9d88d9c9ea63264c1fce73d927ecfd1 | e0b06e5734ab1b090cd074fa2c2355ee781e744c | /Program3_HashFunction/main.cpp | c93e48fe0296ef2b2aa50fcdd4b9446542990c2b | [
"Unlicense"
] | permissive | averymortenson/CSS-343 | 7869f2bce896f42ed0424b9c9acaf89056500dc9 | 5f093ff6714cdebac54c1e47cc1c6b6e9891770f | refs/heads/master | 2020-06-01T16:02:10.864908 | 2018-03-04T05:20:03 | 2018-03-04T05:20:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,012 | cpp | main.cpp | /*
* Program 3: Implement Hash Functions for a phone book
* Purpose main.cpp : Driver and process the input
* @author Thuan Tran, CSSE Junior at the University of Washington Bothell
* February 12th, 2017
* @version 1.1
*/
#include <iostream>
#include <fstream>
#include "HashPhone.h"
using namespace std;
voi... |
201cd90943c9cac4e7784c96b996e53d28c6b47c | 4e90bb515cd90d119eadd502c8f598c2c0ce5486 | /kvDB/compator.h | a4606ed9526bf4f5b07cb9db4455609cc6476bd4 | [] | no_license | wangbiaoyu/simpleDB | 24b4546f41b78d237c74b4f3fa47d9180538814e | 6b0ece678a83c717a671a428d833d23f1ef768a4 | refs/heads/master | 2020-05-30T21:07:47.638269 | 2020-02-16T04:48:30 | 2020-02-16T04:48:30 | 189,964,620 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 163 | h | compator.h | /***
*
*2019-10-17 wby
*
***/
#pragma once
namespace kvDB{
class Compator{
public:
virtual ~Compator();
virtual bool Compare() = 0;
private:
};
}
|
3f3d135b6addabb7daf36f44b875e3ba55c63cf7 | 993141583fcbbfc4862211518609d624d99ffe3e | /PourTX.hpp | 6dc87f6a69a76a0444c33ca2c67574f8677046fb | [
"MIT"
] | permissive | jancarlsson/kapital | 09de72d303e061e318613a42e8e19cd23e1f83dd | 90f232e85b0f7b259eb56adf16f47c519be47ed8 | refs/heads/master | 2021-03-13T00:05:37.438949 | 2015-07-02T00:25:49 | 2015-07-02T00:25:49 | 38,401,784 | 4 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,889 | hpp | PourTX.hpp | #ifndef _KAPITAL_POUR_TX_HPP_
#define _KAPITAL_POUR_TX_HPP_
#include <sstream>
#include <string>
#include <vector>
#include /*cryptopp*/ <oids.h>
#include <snarkfront.hpp>
#include <kapital/AddressKey.hpp>
#include <kapital/Coin.hpp>
#include <kapital/EncryptedCoin.hpp>
#include <kapital/HashFunctions.hpp>
#include... |
9066cb0b371feabedac759bf0f980bbf2d0dbe49 | 5dd36c9dc3e6169b7a22529a75f620e42da80ee1 | /00085. Maximal Rectangle.cpp | 54768640e125d1a36c36a9a6acca10d5a5050107 | [] | no_license | SanyaAttri/LeetCode | cdd6d3831f7a0f707285fd5bb9a5b11556efaa32 | d0cf03fcd6525ceeee231ba7efe40955eec4314d | refs/heads/master | 2022-12-24T20:58:20.040302 | 2020-10-10T11:12:27 | 2020-10-10T11:12:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,291 | cpp | 00085. Maximal Rectangle.cpp |
//Accepted 28 ms cpp
class Solution {
public:
int largestRectangleArea(vector<int>& height) {
int ans = 0;
height.push_back(0);
int n = (int)height.size();
stack<int> s;
int ranger = 0;
while(ranger < n){
if(s.empty() || height[ranger] >= height[s.top()])... |
5a54ef8b4837ffec46060310a150f7fb0aa5b775 | b10702b48696b9457fe89e62d9a9cf320ea9f1b5 | /first_last_pos_bs.cpp | 0aab23a6caba9200a7b59665437b6ab99def4f84 | [] | no_license | nikhiljha261/CP | 93683e54c6e3fbced95d097dde1c1f13e7117402 | 7cdf93e63682e153407573e27947f889060c2309 | refs/heads/main | 2023-07-10T13:26:37.042363 | 2021-08-14T08:52:08 | 2021-08-14T08:52:08 | 339,957,988 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,249 | cpp | first_last_pos_bs.cpp | class Solution {
public:
vector<int> searchRange(vector<int>& a, int t) {
vector<int> ans;
vector<int> finall;
int l=0;
int h=a.size()-1;
while(l<=h)
{
int mid=(l+h)/2;
if(a[mid]==t)
{
ans.push_back(mid);
... |
67b46ba37d25af4ad7ae38cb5ea87d5e261a29d2 | b7da5c7433696943a474eca79b40633f3d9aa166 | /src/undo/classitem/nsClassItem_changefontcommand.h | b457c5b4480fc95a255895337da1dc3febec0d79 | [] | no_license | alakese/fUml | 2cfb2f4103588ce2d1ac660bff5bd93c26690c4e | f405775cfd85e8fa6c198325c5bc4c86f99bf931 | refs/heads/master | 2020-02-26T17:25:23.626129 | 2016-10-03T14:57:36 | 2016-10-03T14:57:36 | 69,876,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | h | nsClassItem_changefontcommand.h | #ifndef NSCLASSITEM_CHANGEFONTCOMMAND_H
#define NSCLASSITEM_CHANGEFONTCOMMAND_H
#include <QUndoCommand>
#include <QFont>
class ClassItem;
/*!
* \namespace nClassItem
*/
namespace nsClassItem
{
/*!
* \brief The ChangeFontCommand class
*/
class ChangeFontCommand : public QUndoCommand
{
... |
967bece8a180d5e72701f1a274c3b4e7b1ba24f7 | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/webrtc-jumpingyang001_for_boss/modules/video_coding/codecs/vp9/svc_rate_allocator.h | 61297838974b526b39af202d33ff0e714a440d56 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 1,806 | h | svc_rate_allocator.h | /*
* Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
e7e9bd5f7c7d2821bb09209db631aa7e3391e154 | e91828f8e87a17b942cc26da4bf061f65e3a04c8 | /searchlib/src/vespa/searchlib/transactionlog/trans_log_server_explorer.h | 65d3a687bc959645fb4d38e95f07e7dfd200ca1e | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | NolanJos/vespa | 69dbe95b1a9e8cba2879d7b39d882501dc92bebc | fdc4350398029fbffbed3c0498380589a73571d7 | refs/heads/master | 2022-08-02T10:29:40.065863 | 2020-06-02T12:47:31 | 2020-06-02T12:47:31 | 268,804,702 | 1 | 0 | Apache-2.0 | 2020-06-02T13:12:47 | 2020-06-02T13:12:46 | null | UTF-8 | C++ | false | false | 795 | h | trans_log_server_explorer.h | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "translogserver.h"
#include <vespa/vespalib/net/state_explorer.h>
namespace search::transactionlog {
/**
* Class used to explore the state of a transaction log server.
*/
cl... |
dee6d8a87dedd648999d013019e23aeb5583e4a6 | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /www/iridium/files/patch-chrome_common_media_cdm__host__file__path.cc | 5e89b583ca027ebf32d17986fd0169d3bcc4b4f2 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | freebsd/freebsd-ports | 86f2e89d43913412c4f6b2be3e255bc0945eac12 | 605a2983f245ac63f5420e023e7dce56898ad801 | refs/heads/main | 2023-08-30T21:46:28.720924 | 2023-08-30T19:33:44 | 2023-08-30T19:33:44 | 1,803,961 | 916 | 918 | NOASSERTION | 2023-09-08T04:06:26 | 2011-05-26T11:15:35 | null | UTF-8 | C++ | false | false | 519 | cc | patch-chrome_common_media_cdm__host__file__path.cc | --- chrome/common/media/cdm_host_file_path.cc.orig 2023-03-13 07:33:08 UTC
+++ chrome/common/media/cdm_host_file_path.cc
@@ -90,7 +90,7 @@ void AddCdmHostFilePaths(
cdm_host_file_paths->emplace_back(chrome_framework_path,
chrome_framework_sig_path);
-#elif BUILDFLAG(IS_LINUX) |... |
c7173eb2890376d20b1ddcdf1ae7052b48016e69 | ca00c1ec7d540afac296302bead0b4e6432bb0ec | /common/inflate.cpp | 682a0c2902cb871aa331191de6a363e24545d805 | [] | no_license | jterweeme/wincore | 18f7f4c2a5c3ecc83cd35d12f018cb50bc0743aa | 923552d5ad6dfacdab56da328d68e83eb5f37f09 | refs/heads/master | 2016-09-05T22:12:21.976461 | 2015-10-15T14:55:41 | 2015-10-15T14:55:41 | 20,522,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,720 | cpp | inflate.cpp | #include "inflate.h"
bool Inflate::readBuf()
{
bool isFinal = _bi->readBool();
int type = _bi->readBits(2);
_buf.clear();
switch (type)
{
case 0:
_decRaw(_buf);
break;
case 1:
_decHuff(_lit, _dist, _buf);
break;
case 2:
{
Pair2 temp = ... |
7cd5f51d45668e9028936a9582a0c5ed269cedd3 | ce1e8b29ffd9d97ffc5c693fe3bd4ee358b5e1d5 | /src/Main/Help/HelpLinkHandler.cpp | 16904fc59eadd63f8399a0fd5962125c48d08057 | [
"MIT"
] | permissive | voxie-viewer/voxie | d76fe7d3990b14dea34e654378d82ddeb48f6445 | 2b4f23116ab1c2fd44b134c4265a59987049dcdb | refs/heads/master | 2023-04-14T13:30:18.668070 | 2023-04-04T10:58:24 | 2023-04-04T10:58:24 | 60,341,017 | 6 | 1 | MIT | 2022-11-29T06:52:16 | 2016-06-03T10:50:54 | C++ | UTF-8 | C++ | false | false | 5,663 | cpp | HelpLinkHandler.cpp | /*
* Copyright (c) 2014-2022 The Voxie Authors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, mer... |
61cbdf632d7a7c3a38a878526053340aac082f97 | 3e5bda41c14806ff2e459acb15e63022ba5eeb47 | /OnlineJudge/PTA/基础编程题目集/编程题/念数字.cpp | 07adb27271e2d44137bd5029f56cc6b48165ba22 | [] | no_license | CrazyIEEE/algorithm | d3ab6e50b3e54a99d86924c6e4a86b8c491b2a40 | 89755fc95c2bace7e644af189ec29df9a2ffb277 | refs/heads/master | 2022-12-31T11:13:03.868343 | 2020-10-14T13:18:49 | 2020-10-14T13:18:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | cpp | 念数字.cpp | /*
7-25 念数字 (15 分)
输入一个整数,输出每个数字对应的拼音。当整数为负数时,先输出fu字。十个数字对应的拼音如下:
0: ling
1: yi
2: er
3: san
4: si
5: wu
6: liu
7: qi
8: ba
9: jiu
输入格式:
输入在一行中给出一个整数,如:1234。
提示:整数包括负数、零和正数。
输出格式:
在一行中输出这个整数对应的拼音,每个数字的拼音之间用空格分开,行末没有最后的空格。如 yi er san si。
输入样例:
-600
输出样例:
fu liu ling ling
*/
#include "iostream"
#include "string"... |
35a7a8120ee97a15be3d9936919925a8c3d6a673 | f458eed2608bf9683facceafb8b528595edc0710 | /src/OrderedListKerningPairsProc.h | 9a3591eeea9b4ced3ab3f68ade2280c8fe3c0b3c | [
"ICU"
] | permissive | testerjp/icu-le-aat | 0bda384f7b930fb4177b442b3481c5eaea5f2857 | 0aea390c3f63c464259d04e3dedff286977716c6 | refs/heads/master | 2020-06-01T01:17:31.396853 | 2020-01-27T14:27:23 | 2020-01-27T14:27:23 | 23,158,133 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,349 | h | OrderedListKerningPairsProc.h | #ifndef _ORDEREDLISTKERNINGPAIRSPROC_H
#define _ORDEREDLISTKERNINGPAIRSPROC_H
/**
* \file
* \internal
*/
#include "LETypes.h"
#include "LETableReference.h"
#include "SubtableProcessor.h"
#include "OrderedListKerningPairs.h"
U_NAMESPACE_BEGIN
class OrderedListKerningPairsProcessor : public SubtableProcessor
{
pub... |
62414f205825f4d0563d021d753bc51651383db1 | b1655969f756480bfc1c5c7fc448a197ce7bc311 | /Programming_Assignments/Final Project SourceCode/final.cpp | 3e89f862c9d56a7988e0c1012562872d92deb4f2 | [] | no_license | MarcusBlaisdell/ParallelProgramming | 90747ae71e02db5386479787792d036dc52f9abb | c1abffd871cb29c19b246d0f0e940cad9a9894fb | refs/heads/main | 2023-05-31T22:07:20.208172 | 2021-06-17T21:08:22 | 2021-06-17T21:08:22 | 377,959,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,796 | cpp | final.cpp | /*************************************
* Marcus Blaisdell
* Cpt_S 411
*
* Final Project:
* Parallel PageRank Estimator
*
* final.cpp
*
*************************************/
#include "final.h"
// function buildProbabilityArray
// Accepts a probability value,
// returns an array of size 1000 of
// evenly di... |
f315e52d9a471db46c4934ab3c27bf1642de64fa | 276ee0e4eedffc995c344ae592b94a87a10d1462 | /List.h | 42e6051a737ac44274ce96dbd74364a97ec3263b | [] | no_license | epigeneticschick/proj06 | c68214557007c4a3c204e60f750576f9eb175f38 | a604ccef704a55aa6173be57e4393874d675907d | refs/heads/master | 2020-04-04T15:16:18.184671 | 2018-11-03T22:59:59 | 2018-11-03T22:59:59 | 156,031,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,893 | h | List.h | /*List.h adds functionality to a list
* List.h
* Lorrayya Williams and Andrew Baker
* Created on: Oct 9, 2018
* Author: llw5
*/
#ifndef LIST_H_
#define LIST_H_
#include <iostream>
#include <fstream>
#include <stdexcept>
#include <cassert>
using namespace std;
template <class Item>
class List {
public:
L... |
67fedfca910962ac15cd02b485a0c626b7a17eee | a2d9deb33db578292517e84f35aeef001cd6cd80 | /codeup100/1034_16224073(AC).cpp | f0ec352ecf46c2268d2d6a7b63ef12ae884d043b | [] | no_license | nays111/algorithm | 49124f641d919a64d13991f61c2199cdc02ad990 | b4026c3c9586c014b9460edf53f116d81b3a1032 | refs/heads/master | 2023-05-02T21:38:46.675914 | 2021-05-21T11:50:32 | 2021-05-21T11:50:32 | 315,214,778 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | cpp | 1034_16224073(AC).cpp | #include <iostream>
#include <iomanip>
using namespace std;
int main(){
int n;
scanf("%o", &n);
printf("%d", n);
}
|
3c4ac5dab20f6c4e94f5a82c09c6a5dd17939316 | 6b2985d7ea8b289badbeade95efe45f02409cf1b | /leavemsg.h | 07f1f7948c97cec2f7de7e169c14ddde708b22fc | [] | no_license | feengg/SanTang | e92a3f7cca8766fe047739501d558bab3c326087 | 83577a464b251c96f26f75e13e7a557aa477a0ed | refs/heads/master | 2021-05-18T00:18:29.374704 | 2020-05-03T15:02:10 | 2020-05-03T15:02:10 | 251,019,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 931 | h | leavemsg.h | #ifndef LEAVEMSG_H
#define LEAVEMSG_H
#include <QWidget>
#include "widget.h"
#include "emailframe.h"
namespace Ui {
class LeaveMsg;
}
class LeaveMsg : public QWidget
{
Q_OBJECT
public:
explicit LeaveMsg(QWidget *parent = 0);
~LeaveMsg();
void mousePressEvent(QMouseEvent * event);
void mouseMoveE... |
960f74e3da2f7dcb9692475b2d364e36742931ef | b02f9e59b2c1d4282bfb1201ed3de36cdc9c786b | /src_technotitlan/System_Controller/Arduino_code/TTTControladorCentral/TTTControladorCentral.ino | acc126847c5d128af5df0b85fb115d47bfd4beeb | [] | no_license | EduardoSAAT/Technotitlan_IoT | cb077ba4d355f7c8bfa1bf6fb0a1f88b8c95ae59 | 49946833641c1917ec231cd8045ce2703aa4321f | refs/heads/main | 2023-03-02T18:27:27.386256 | 2021-02-09T13:39:37 | 2021-02-09T13:39:37 | 330,812,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,501 | ino | TTTControladorCentral.ino | //DEFINIR VARIABLES DEL SISTEMA//
String ms;
//CONFIG_SYSTEM
//Resurekcion - System//
long timeLastRespond;
long timeActual;
long diference;
long timeMaxWait;
//Sistema de Enfriamiento//
long timeLastFrio;
long timeActualFrio;
long diferenceFrio;
long timeWaitFrio;
long timeSti... |
3ba10000995e2d483c07f7a959c6c1ccd222da31 | a9e20c14dddd43583ad78d08c06416807af7f6db | /LowSeller.cpp | 5758b285ce9333b8fcb00476f8382db7f8a7016a | [] | no_license | linbokobza/markets-managment | 96eb8005b85a099127756580ad690d4579560b16 | 049bc9da66a56f40eea9f5c4156ec120b4bceab5 | refs/heads/main | 2023-06-10T18:41:23.957737 | 2021-06-30T12:42:16 | 2021-06-30T12:42:16 | 381,698,054 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,537 | cpp | LowSeller.cpp | /* Assignment: 3
Author:Lin Bokobza, ID: 209482801 */
#include <iostream>
#include <string>
#include "LowSeller.h"
using namespace std;
//ctor
LowSeller::LowSeller(string Name, string ID, float BaseSalary, int JobPresent) :Employee(Name, ID, BaseSalary, JobPresent), ShoppingTotalAmount(0), ShoppingTotalList(... |
5e159a6248a2b463af1b820cb6e39400fe22e35e | 6a76f7a4206d8ba18ff1be638a43ef01cbd061f6 | /CADContainer/DistCommands/Dlg_TKYongDi.h | e3b1028eb8812c98ddb81870ec2fee1c7e5cc967 | [] | no_license | presscad/cadof72bian | 586d90d097a3b240f89123049529751a2191dba7 | ca919f72912a0b782f54acca7723389a44dda6fb | refs/heads/master | 2021-05-17T13:17:33.615789 | 2009-12-28T04:31:06 | 2009-12-28T04:31:06 | 250,794,358 | 0 | 0 | null | 2020-03-28T12:52:54 | 2020-03-28T12:52:53 | null | GB18030 | C++ | false | false | 830 | h | Dlg_TKYongDi.h | #pragma once
//-----------------------------------------------------------------------------
#include "acui.h"
#include "resource.h"
//-----------------------------------------------------------------------------
class CTKYongDiDlg : public CAcUiDialog {
DECLARE_DYNAMIC (CTKYongDiDlg)
public:
CTKYongDiD... |
2d714580ffe814b0770aacb8be292aa8946daed7 | 51dc93b36bbdb550a058952ef281f21b2c3fae50 | /JavaMsgDefine.cpp | bb3403251f9f70e905f8b69760fbd7a42648ab72 | [] | no_license | FeelyChau/CapsFactory | d576f50a0ae8c412feaf5c3c9189e01f45d5a877 | a2f65fe50437448271ff5fd35201ddf9cb3ffaa7 | refs/heads/master | 2021-07-08T09:54:58.835309 | 2020-08-19T04:43:40 | 2020-08-19T04:43:40 | 158,350,348 | 2 | 1 | null | 2020-08-19T04:43:42 | 2018-11-20T07:46:52 | C++ | UTF-8 | C++ | false | false | 5,213 | cpp | JavaMsgDefine.cpp | //
// Created by 周飞宇 on 2018/11/20.
//
#include "JavaMsgDefine.h"
#include "JavaFieldDefine.h"
#include "Common.h"
JavaMsgDefine::~JavaMsgDefine() {
}
string JavaMsgDefine::create_code_string(const string &tab, CodeType ct) {
static const char* const Template_Msg_Class = "//%s\n"
... |
1a3455498271e5b15b5459efc0d0c829fafa9978 | 23aed60b50fce7a6f4667bc495b28238cf14e205 | /include/Operator.h | 663d85a5287fe410e8c42730ea37aaba58633ef8 | [] | no_license | bvrstich/mpsqmc | 75033647de536dde8c974df8563b7a57caabf6b1 | 21dd1c7d2811fbb51725458ac7104d4244eeaddc | refs/heads/master | 2020-12-24T13:52:54.082397 | 2014-01-02T23:29:42 | 2014-01-02T23:29:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | h | Operator.h | #ifndef OPERATOR_H
#define OPERATOR_H
#include <stdlib.h>
#include <iostream>
/* Written by Sebastian Wouters <sebastianwouters@gmail.com> on August 29, 2013 */
using namespace std;
class Operator{
public:
//Get the size of the local Hilbert space
int gPhys_d() const;
//Get an e... |
972cef3ce8fbd3a9eaf70d4d7683910c4093e6ab | eab7ed289146cc5211463e441300f303cfb9857e | /acmicpc/string/prob10809.cpp | 8253eabc7b8e9c334cd01f36364e77030a75d6bc | [] | no_license | AmosDoan/provlemSolving | 100faad7485abcef1987a48f7bed30325e24ddb4 | bb2df8824dbaed0a2cba70ee547c58ed567b4e8e | refs/heads/master | 2022-12-22T18:03:52.333967 | 2020-10-06T10:24:32 | 2020-10-06T10:24:32 | 229,028,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | cpp | prob10809.cpp | //
// Created by Amos on 2020/02/22.
//
#include <iostream>
#include <vector>
using namespace std;
string s;
int main() {
cin >> s;
vector<int> solution = vector<int>(26, -1);
for (int i = 0; i < s.size(); i++) {
char current = s[i];
int idx = current - 'a';
if (solution[idx] =... |
77f967f00834fae88cfeac1631f5093bb597663f | ff979d4b1bc5ca56ee9ed52e99b4189cc84c66ba | /project/yuartdock.cpp | 6bfed168ba2ff9f80ec869ec13a02141b0ae22a8 | [
"MIT"
] | permissive | clark4code/YYDebug | 52b9a879405a2f14662ad78459ff9105f1a558bc | 4398ff6bb34a218265a0cc06e83619286a307242 | refs/heads/master | 2020-04-04T17:59:08.060701 | 2018-11-05T02:06:32 | 2018-11-05T02:06:32 | 156,145,025 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,029 | cpp | yuartdock.cpp | #include "yuartdock.h"
#include <QFormLayout>
#include <QGroupBox>
#include <QLabel>
#include <QScrollArea>
#include <QSerialPortInfo>
#include <QVBoxLayout>
#include <QDebug>
#include <sobject.h>
#include <ymainwindow.h>
#define addLog(msg) qDebug()<<(msg)
YUartDock::YUartDock(SObject *pObj, YMainWindow *parent) :
... |
62ebcf26bd03bb3aedf14bae8a2055a127d84d45 | e8b5f05df5115e4d8aa692107e2c1338c1e8ccb6 | /software_1/二叉树/线索二叉树.cpp | c4f28fdd90c007581175d221fbd35cf10cf35843 | [] | no_license | trx594324215/lab4_test | ff583d079ed87b545b9670498a0225b6871ab7cb | 4702ef86a41121440308f43bc6717c582ef12ef4 | refs/heads/master | 2021-01-10T01:57:36.892472 | 2015-11-10T12:24:57 | 2015-11-10T12:24:57 | 45,909,116 | 0 | 0 | null | 2015-11-10T12:29:10 | 2015-11-10T11:59:57 | C++ | GB18030 | C++ | false | false | 2,875 | cpp | 线索二叉树.cpp | #include <iostream>
#define max 100
using namespace std;
typedef struct node
{
struct node *leftChild;
struct node *rightChild;
char data;
bool ltag;
bool rtag;
}BiTreeNode, *BiTree;
typedef struct Stack
{
BiTree Data[max];
int top;
int flag;
}STACK;
//BiTree pre = NULL;
BiTree test[max];
int i = 0;
BiTree ... |
8ca2210559f2ddc0dfff8d25a8fd282c9242dd5c | 050c8a810d34fe125aecae582f9adfd0625356c6 | /A. Greed/main.cpp | 189e266968518d2e836784170c8214b6a7580521 | [] | no_license | georgerapeanu/c-sources | adff7a268121ae8c314e846726267109ba1c62e6 | af95d3ce726325dcd18b3d94fe99969006b8e138 | refs/heads/master | 2022-12-24T22:57:39.526205 | 2022-12-21T16:05:01 | 2022-12-21T16:05:01 | 144,864,608 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | cpp | main.cpp | #include <iostream>
#include <algorithm>
using namespace std;
int B[100005];
long long T;
int N;
int main()
{
cin.sync_with_stdio(false);cin.tie(0);
cout.sync_with_stdio(false);cout.tie(0);
cin>>N;
for(int i=1;i<=N;i++)
{
int val;
cin>>val;
T+=val;
}
for(int i=1;i<=N;... |
affd813f88433998d4240688bb5f64e80aa707f6 | 03f579c344e6f2987df91cab88795242e713b7fc | /Combination Sum II.cpp | 0f4a962bb0354350d71437a50f723f450b8f3142 | [] | no_license | wwqqqqq/LeetCode-Solution | 8610dc1c97ec7b43f0ab13f634c9a69afd22e597 | 63305d9cb0068d51f354e7aa8e381ca2320702bb | refs/heads/master | 2021-06-04T18:00:04.923506 | 2021-01-11T23:49:51 | 2021-01-11T23:49:51 | 126,013,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,762 | cpp | Combination Sum II.cpp | class Solution {
public:
vector<vector<int>> findCS(map<int,int>& count, int target) {
vector<vector<int>> result;
if(count.size() == 0 && target != 0)
return result;
if(target == 0 || count.size() == 0) {
vector<int> temp;
result.push_back(temp);... |
dd84b16c0dcba371a081456386de8e86151deddd | 2e15882fa701f7183fe834b98b8158e05ca6a7ca | /Creatures/bodypart.h | 820d1c67dfda4522d6954279cc90d97ac6b8d705 | [] | no_license | lonski/amarlon_textgame | 882ed5b68f1b52dfcda35a31bf67616e3679c7dd | 681f748e5bc37b4f843d95f99c9cdc7f08c5e050 | refs/heads/master | 2020-04-11T10:38:19.621477 | 2014-09-14T11:55:40 | 2014-09-14T11:55:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,118 | h | bodypart.h | #ifndef BODYPART_H
#define BODYPART_H
#include "Equipment/item.h"
#include "Include/enums/e_damagelevel.h"
#include "Include/damage.h"
class BodyPart
{
public:
BodyPart();
BodyPart(BodyPartType type, BodyRegion region, BodySide side);
BodyPart(std::string str, std::vector<ItemPtr > &eq_items);
~BodyPart() {}... |
e68ac1cf14ec99d0d8e8e20218975800294082e0 | a9b03f4730534da6e25e8a52ea0cd870db7c28b4 | /framework/examples/component_watchdog/watchdog.h | bfce2b10ab59acff3899b54f64a1e244bee9f612 | [
"Apache-2.0"
] | permissive | zhuangli1987/apollo | 6bcf2ddebb23377e701ec9bf2b56c1ea4632bab9 | 2210bef1ef5aadfeccb48949c07b31de4e581b25 | refs/heads/master | 2020-03-28T00:31:50.529228 | 2018-09-25T01:29:51 | 2018-09-25T01:31:39 | 147,425,981 | 0 | 0 | null | 2018-09-04T22:11:18 | 2018-09-04T22:11:18 | null | UTF-8 | C++ | false | false | 1,690 | h | watchdog.h | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... |
4f167ee2bc61ff4404ab4701e9d88926e88c5cb7 | ea47f676b998cc00da94ad59782f37dddec52995 | /hack/MenuV2.cpp | e8a73f403ddb7528f7ad095628fcaf8a30e8f8d5 | [] | no_license | ChoZenTime/moneysense | 6765576be41765a8ac40b88b972753e67cd181ee | 94bde9661fd5202c378ab69af41edaa2b46ddfcb | refs/heads/master | 2020-06-06T03:14:28.747695 | 2019-04-17T09:08:43 | 2019-04-17T09:08:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,623 | cpp | MenuV2.cpp |
#include "../ImGui/imgui.h"
#include <cctype>
#include <shlobj.h>
#include <shlwapi.h>
#include <algorithm>
#define NOMINMAX
#include <Windows.h>
#include <chrono>
#include "../ImGui/imgui_internal.h"
#include "../ImGui/directx9_example/imgui_impl_dx9.h"
#include "NewMenu.h"
#include "../menu/cmenu.hpp"
bool selected... |
77ca35efd699609b1724536aab17cb131a06ac7b | be93b9ffb49ec6f73d2558cedd02cd50a4060858 | /Online judge solutions/Codeforces/339D.cpp | 481a3f81f6393fcc9298d50a77a7d78be1c34760 | [] | no_license | salonimohta/competitive-programming | ceec3c2c87eb8078b051166654c3faac5ce27d0b | 2639a14acf4beb453bb9277779ad5d705c6fa97a | refs/heads/master | 2020-08-09T02:12:27.005619 | 2019-10-14T08:07:46 | 2019-10-14T08:07:46 | 213,975,049 | 2 | 0 | null | 2019-10-09T16:59:36 | 2019-10-09T16:59:36 | null | UTF-8 | C++ | false | false | 4,193 | cpp | 339D.cpp | #include<bits/stdc++.h>
using namespace std;
#define MOD 1000000007
#define N 100010
typedef double lf;
typedef long long ll;
typedef long double ld;
typedef unsigned long long ull;
typedef set<ll> sll;
typedef vector<ll> vll;
typedef vector<pair<ll,ll > >vpll;
typedef vector<vll > vvll;
#define sd(a) scanf("%d",&a)... |
ffbfa971a553fedbad6dee48818c27c20da010c3 | 3dd91d71dcd0ec7a0c21709edd7093e9972bcbe9 | /restrequestbuilder.h | 2886f29213ab939d667d51fbb0c9cf2bb8ceb5b1 | [
"MIT"
] | permissive | OldFrostDragon/JenkinsPlugin | bcf6ae39073e46d98c75e0540ce678cf37f13474 | a3179a188ef4b5d4bd57adec5a765d485faa7ac4 | refs/heads/master | 2020-04-10T13:27:48.937044 | 2016-12-18T13:56:46 | 2016-12-18T13:56:46 | 51,691,858 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,512 | h | restrequestbuilder.h | #ifndef RESTREQUESTBUILDER_H
#define RESTREQUESTBUILDER_H
#include "jenkinssettings.h"
#include <QNetworkRequest>
namespace JenkinsCI
{
namespace Internal
{
/*!
* \brief The RestRequestBuilder class builds QNetworkRequest objects to specified Jenkins instance.
* Built QNetworkRequest use JSON REST API url with port... |
51383c52b8ba61a01ee81b2a6da39ef28fab1c33 | 1baf23a2c1d86c1a9cf45e323fe262a275ea948f | /mankuNo.cpp | a05b2f5db27585a4ec677255f80c0aa7f776b775 | [] | no_license | sheshanathkumar/coding | 7e409010f819aa7ebfdbc79d01438957c04826dc | cab013e1e316a2b5cbef458968146c26c9ee168d | refs/heads/master | 2022-12-14T20:17:09.892037 | 2020-09-07T16:59:56 | 2020-09-07T16:59:56 | 293,581,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | cpp | mankuNo.cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int test;
cin>>test;
while (test--){
int num, temp=0, k=1, str[1000] = {0};
cin>>num;
while (temp < num)
temp = temp + pow (2,k++);
--k;
int tempo = num - (pow(2, k) - 1);
int size = k-1;
while (tempo >0){
... |
3628c0c916897ed6f1d66b51b6035df24aee1f10 | 13366dff5e92133f5411074e47a2888e1bef9dad | /AnalogClock.h | a3f83810ab3e29d7223c189199d10edeaa427b38 | [
"CC-BY-4.0",
"MIT"
] | permissive | Dragonos/Analog-Wall-Clock | 65dafa768c71c0467640c2fce4dcad7ccda07e07 | 5ee16b5f2d6ab66d552ef0a7dc33fc3fcff6cb46 | refs/heads/master | 2021-01-20T23:11:51.340190 | 2015-09-12T22:20:08 | 2015-09-12T22:20:08 | 42,183,443 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,850 | h | AnalogClock.h | /*
The MIT License (MIT)
Copyright (c) 2015 Amine Ben Hassouna (https://github.com/Dragonos)
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 wit... |
3dfade1639c47722f927781755a5dce078930d36 | 292d156d3b9b1a352d64d30c089a9afc97a503c3 | /RayTracer/shape/Group.h | 594f81d78aadc4945c08c03f96e617e8b3ed3c4c | [] | no_license | Postea/CppRaytracer | 908910a7c287cdcaa5cbd40d6096e88776fe03bd | 13aea7e6de0d42d1dc9e1f873280d8d890f52642 | refs/heads/master | 2022-05-09T00:33:16.624346 | 2022-04-28T10:12:08 | 2022-04-28T10:12:08 | 216,021,060 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 873 | h | Group.h | #pragma once
#include <vector>
#include "../tools/Mat4.h"
#include "../tools/Transformation.h"
#include "Shape.h"
#include "ShapeSingleGroup.h"
namespace shapes {
class Group : public Shape {
public:
Group(const util::Transformation& trans, bool rebuild_bb = true);
Group(const util::Mat4& matrix, bool rebuild_b... |
1d308da97210aab509a60b8a8f973d8d73968cef | a064c40cd1bc29b2eb70ef9515f6096917d1cb2e | /m2033core/model.h | abfec067de1ce23d367f76663fa421432dfb03b9 | [] | no_license | code-google-com/metro2033-tools | bfc9979c68b454e4bd90f4f5745e6c44cf745d27 | d58546c91e3a230135a312d3ac3c84d8d768abd2 | refs/heads/master | 2021-01-19T21:28:55.533210 | 2014-03-14T17:20:28 | 2014-03-14T17:20:28 | 32,267,378 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,759 | h | model.h | /******************************************************************************
This source file is part of metro2033-tools
For the latest info, see http://code.google.com/p/metro2033-tools/
Copyright (c) 2010-2011 Ivan Shishkin <codingdude@gmail.com>
Permission is hereby granted, free of charge, to any person ... |
42d996e3e2e53395cae6de5bc8cdb243f0c05521 | e3c126ea17fee019a067ccaa8df32b7a847b9ee4 | /backend/deployments/deployment_zmq_json_singlethread/RnDZmqTimeForwarderApp.cpp | fbec15d614a2525faf303b105f67374f9b0b6070 | [] | no_license | faunX/ogame-2 | 6ba5550ea6c98467412e8305780546108e75d882 | eb175bd7d16f83e670f5cbc5a9375cd5fcd5b506 | refs/heads/master | 2023-08-21T19:50:45.880660 | 2021-04-06T08:31:19 | 2021-04-06T08:31:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,097 | cpp | RnDZmqTimeForwarderApp.cpp | #include <zmq.hpp>
#include <string>
#include "TimeForwardRequest.hpp"
#include "ClearDatabaseRequest.hpp"
#include "SerializableRequest.hpp"
#include "toJson.hpp"
RndRequest parseReq(int argc, char* argv[])
{
if(argc < 2)
{
throw std::logic_error{"empty parameters"};
}
std::string type = argv[... |
8a6d467d3ac5f46a0bd6291880a3cc6eb90932da | 90bc4133eff3eb8d542f8722875e55c5e79f3cba | /Source/Invoker.hpp | 04d317365bde72b9587c8df0786c811acd0f23dd | [] | no_license | ramagottfried/symbolist | c5d0a0d686a41bd2e0a49fa570364917b0e89668 | bc41e75445113ba607ceaca392582aa500e743b9 | refs/heads/master | 2021-10-20T16:19:41.400300 | 2021-10-16T22:01:49 | 2021-10-16T22:30:45 | 90,850,122 | 15 | 4 | null | 2018-04-24T14:56:07 | 2017-05-10T10:06:33 | Max | UTF-8 | C++ | false | false | 534 | hpp | Invoker.hpp | #ifndef Invoker_hpp
#define Invoker_hpp
#include <stdio.h>
#include <vector>
#include <queue>
#include "Command.hpp"
#include "SymbolistHandler.h"
using namespace std;
/**
* Executes a command, and stores it into a command history.
*
* Commands from the history can be done and undone, in order to implement
* the... |
4c5dad9517be9a5a58fb2816e3d6c8cb69516902 | f6ad1c5e9736c548ee8d41a7aca36b28888db74a | /others/SOJ/SR 15/A/A.cpp | 8f64a8704a5cbaf37364a1b2128d198039974840 | [] | no_license | cnyali-czy/code | 7fabf17711e1579969442888efe3af6fedf55469 | a86661dce437276979e8c83d8c97fb72579459dd | refs/heads/master | 2021-07-22T18:59:15.270296 | 2021-07-14T08:01:13 | 2021-07-14T08:01:13 | 122,709,732 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,319 | cpp | A.cpp | /*
Problem: A.cpp
Time: 2021-02-18 16:14
Author: CraZYali
E-Mail: yms-chenziyang@outlook.com
*/
#define REP(i, s, e) for (register int i(s), end_##i(e); i <= end_##i; i++)
#define DEP(i, s, e) for (register int i(s), end_##i(e); i >= end_##i; i--)
#define DEBUG fprintf(stderr, "Passing [%s] in Line %d\n", __FU... |
7ea93b6fdec88ba51903cf361f37ef23759f8f9c | 521685507e5b26ec9be38b39a249bdc1ee638138 | /Qt/Components/pqComparativeVisPanel.cxx | b5feeb28c0f783290a204bfadb2d5f3d71b40dfa | [
"LicenseRef-scancode-paraview-1.2"
] | permissive | matthb2/ParaView-beforekitwareswtichedtogit | 6ad4662a1ad8c3d35d2c41df209fc4d78b7ba298 | 392519e17af37f66f6465722930b3705c1c5ca6c | refs/heads/master | 2020-04-05T05:11:15.181579 | 2009-05-26T20:50:10 | 2009-05-26T20:50:10 | 211,087 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 14,170 | cxx | pqComparativeVisPanel.cxx | /*=========================================================================
Program: ParaView
Module: $RCSfile$
Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the ParaView lice... |
10dbe5bfd89e5c65af0f7ae6cc984536cd5876c0 | 2adfe84d1014165aa96735e7ab68b785f13f9fee | /node.h | eb729e13b58144d68fa30f0d86301e2c39389bcf | [
"MIT"
] | permissive | TailonR/CS411_UAF_Homework7 | 9d777b0d549048a65d65df27166e7f40435db4f4 | 5cac107bf6b07efacf9739ef580acad7dda5a597 | refs/heads/master | 2023-01-29T22:54:36.698125 | 2020-12-12T02:43:20 | 2020-12-12T02:43:20 | 318,969,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | h | node.h | // node.h
// Author: Tailon Russell
// Date: 12/5/2020.
// The header file for class Node
#ifndef HOMEWORK7_NODE_H
#define HOMEWORK7_NODE_H
//class Node
// Invariants: None
class Node{
public:
int value;
int priority;
};
bool operator< (Node lhs, Node rhs);
bool operator== (Node lhs, Node rhs);
#endif //HOME... |
30c9e4613f2a69b5541633b795011fc7accf6b18 | 7d93616b09afdd38ba25f70bf56e84d92d16f8e1 | /willow/include/popart/popx/popprograms.hpp | 3bfd4582b8d835c18360ccb1672e810616ca940e | [
"MIT",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | graphcore/popart | ac3c71617c5f0ac5dadab179b655f6b2372b453d | efa24e27f09b707865326fe4a30f4a65b7a031fe | refs/heads/sdk-release-3.0 | 2023-07-08T08:36:28.342159 | 2022-09-23T12:22:35 | 2022-09-23T15:10:23 | 276,412,857 | 73 | 13 | NOASSERTION | 2022-09-29T12:13:40 | 2020-07-01T15:21:50 | C++ | UTF-8 | C++ | false | false | 13,347 | hpp | popprograms.hpp | // Copyright (c) 2019 Graphcore Ltd. All rights reserved.
#ifndef POPART_WILLOW_INCLUDE_POPART_POPX_POPPROGRAMS_HPP_
#define POPART_WILLOW_INCLUDE_POPART_POPX_POPPROGRAMS_HPP_
#include <iosfwd>
#include <map>
#include <memory>
#include <set>
#include <snap/Function.hpp>
#include <snap/Program.hpp>
#include <string>
#i... |
bf4f9b8addd922c0a6431ef207b0dcc48d253000 | 0ff0c44885ccf687d8d00d407bff180f89f45a2a | /T1046判断闰年.cpp | edefde3020eec28b0dd2ecd54fb90436b2f960f3 | [] | no_license | shareone2/JiSuanKeOj | dc3e06134b58a679d515aef343d7cbe48ee887d1 | 4771e5a50bea48cab278245fb979bffe9b4c5da6 | refs/heads/master | 2022-12-16T13:47:38.853626 | 2020-09-09T08:57:38 | 2020-09-09T08:57:38 | 294,057,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | cpp | T1046判断闰年.cpp | /*************************************************************************
> File Name: T1046判断闰年.cpp
> Author:
> Mail:
> Created Time: 2019年04月05日 星期五 14时46分47秒
************************************************************************/
#include<iostream>
using namespace std;
int main () {
int year;
cin ... |
f12decab0bb8f4225f21f22ab5385d9e20d1eb20 | 19fdd6e16106500a5abf16b6b6492a0d6cd6edb0 | /aegis128L.cc | ca605d895849c6e7477ab18d809ce674b8ca3cad | [
"Apache-2.0"
] | permissive | burgerdev/aegis_cipher | a10924e2cfcaad3c77f395bf9c02d9d35e0be110 | ba167ea7a064a207c86a10793325a9ad946c8641 | refs/heads/master | 2023-07-02T13:11:07.525476 | 2021-08-05T13:55:05 | 2021-08-05T13:55:59 | 393,082,580 | 0 | 0 | Apache-2.0 | 2021-08-05T15:01:47 | 2021-08-05T14:58:59 | null | UTF-8 | C++ | false | false | 14,405 | cc | aegis128L.cc | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
4c4d96e4b4741a44d1180a0140dd5e2dcba49df7 | 0ec7270058f86cfabf1b7e487588d623ecaf2470 | /src/module_decl.cc | 5dadfd99c71c842647f0a8c3c48ae7089349a875 | [] | no_license | eklitzke/e | f3845d34fc2dd34abc126e2041be794927262739 | dd5531b7fcab19bfdbea4199f64908144a5a43a8 | refs/heads/master | 2021-01-21T23:20:30.427160 | 2012-04-27T23:34:39 | 2012-04-27T23:34:39 | 3,369,197 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 593 | cc | module_decl.cc | // Copyright 2012, Evan Klitzke <evan@eklitzke.org>
#include "./module_decl.h"
#include "./assert.h"
#include "./module.h"
#include "./js_curses.h"
#include "./js_errno.h"
#include "./js_signal.h"
#include "./js_sys.h"
namespace {
bool is_initialized = false;
}
namespace e {
void InitializeBuiltinModules() {
ASSER... |
75c7a4829c142efe31c07d8e33726cc56b93b006 | e7d82fd27b051fbb8932658edfcdb45eb54c1f8c | /模板及进阶/Project1/Project1/Test.cpp | 48216dd94bf3aad8f9d16bc377def2c96bfe6cce | [] | no_license | ChuckFan/ChuckTalk-cpp | 8e0d52b4ed2b875b29c692e910ebf3c3cabd0e59 | d7f42cae81a6d40b6939440127df71d512cedca0 | refs/heads/master | 2020-05-22T13:30:30.171869 | 2019-08-12T04:19:53 | 2019-08-12T04:19:53 | 186,360,618 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,135 | cpp | Test.cpp | #define D_SCL_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
//template<class T>
//bool IsEqual(T& left, T& right)
//{
// return left == right;
//}
//void Test()
//{
// char* p1 = "hello";
// char* p2 = "world";
//
// if (IsEqual(p1, p2))
// cout << p1 << endl;
// else
// c... |
6c163d2ce096d847ec7fb43901327420dd759e23 | 78de4c1a27c8ddca2c4a28ce6c09e03d444c533c | /4__brown_belt/week_5/009-lichnyi-biudzhiet-home-desktop-version/main.cpp | 365190818cd27a2950a6f366771b265679e955f3 | [] | no_license | altynbek132/yandex_CPP_specialization | f97676e06b47fe838a19c5f32ce734dfef69ad6a | 838b165187eb7796d6ce028cd1e8b1206ae2b388 | refs/heads/master | 2023-07-08T16:55:34.044724 | 2021-07-28T11:04:26 | 2021-07-28T11:04:26 | 318,594,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,387 | cpp | main.cpp | #include <bits/stdc++.h>
#include "BudgetManager.h"
#include "Query.h"
#include "profile.h"
#include "test_runner.h"
using namespace std;
#ifdef MASLO
prerun maslo(true, false, false);
#endif // MASLO
vector<shared_ptr<Query::Query>> ReadQueries(istream& is = cin) {
size_t Q;
cin >> Q;
cin.ignore();
... |
0a5f5eb58ee1da8e65d3f581ead46b8e1dd3e405 | 1443759dd6c44db7e6fff26f28c91b1eba9c383f | /Spike4_NonBlockingGridWorld/main.cpp | 6a5e9019efe4a2f892c73334acdac1b2a3b6da89 | [] | no_license | jessicavilaysak/GamesProgramming_7646895 | 303cb6c4806e75d63f6e1c0e2948a91b5732a432 | dd00f39568d25c6a3df2fe7ada8eb030df9e2ec1 | refs/heads/master | 2021-06-05T11:11:24.012688 | 2016-11-02T11:19:26 | 2016-11-02T11:19:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,569 | cpp | main.cpp | #include <time.h>
#include <iostream>
#include <streambuf>
#include <thread>
using namespace std;
char pInput = ' ';
void getInput()
{
cin >> pInput;
}
bool gameEnd = 0;
int playerRow = 7;
int playerCol = 2;
string playerStatus;
char playerInput;
string consoleText;
char moveArray[4];
char gridArray[8][8] =
... |
b4430867ccf85a288abef8bcf2d6d9997544f979 | bacd60fa61d01da77dbef1f2c8a0539132c98b46 | /Week2/Multisets/first_unique_character_in_a_string.cpp | dbdb1dba43ec66a490f53012661cb08697db1905 | [] | no_license | JohanF26/WBTraining | 43e05b1e17ba5e399c8b2ec989ead2ffdcbc50ab | 585f035707a8abf8552b0a57c11905f3e97cd087 | refs/heads/master | 2020-06-08T20:10:07.389459 | 2019-08-05T04:38:21 | 2019-08-05T04:38:21 | 193,298,845 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | first_unique_character_in_a_string.cpp | class Solution {
public:
int firstUniqChar(string s) {
if(s.size() == 0) return -1;
for(int i = 0; i < s.size(); i++){
if(s.find(s[i], s.find(s[i])+1) == string::npos){
return i;
}
}
return -1;
}
};
|
093e686a84b5b8775b1cce1a538171022dac3758 | fdc914341f1653e2a2becfc44d3fd09c188a5910 | /Framework/include/containers/cont_bst.h | 72a6e237bb72f2dbdca5643c505949d9ac882afe | [
"MIT"
] | permissive | roncato/realtime | 9334d9636a330058fc906a5341265523d742d4d0 | b0faeca49c28be9b5b68f16572d67188db926235 | refs/heads/master | 2021-01-24T16:14:28.831458 | 2020-06-06T01:42:27 | 2020-06-06T01:47:36 | 95,992,458 | 0 | 0 | MIT | 2020-06-06T01:47:38 | 2017-07-01T23:26:06 | C++ | UTF-8 | C++ | false | false | 10,166 | h | cont_bst.h | /*
* Bst.h
*
* Created: 7/8/2017 2:35:32 PM
* Author: roncato
*/
#ifndef BST_H_
#define BST_H_
#include <stdlib.h>
#include "containers.h"
#include "containers/cont_linkedlist.h"
#include "containers/cont_stack.h"
namespace {
template <class K, class V>
class TraversalNode {
public:
TraversalNode(containe... |
4b096c0f50fde8a802331a1c81f5926ffc357bef | 4ba5dc1c000f184026c3f354e39aaaacfa0258ef | /list-stack-queuePointer/queue_p.cpp | d86dca3d77c0efdfdb483fbc990c94b9360f4956 | [] | no_license | red1k/data-structure | c3cfa2528f8483b57a462f3c40e25808fafc510d | dd8ce7f2238a70dac531e9a69cebd8fa0f558aec | refs/heads/master | 2020-03-26T23:15:24.302828 | 2018-12-23T10:32:22 | 2018-12-23T10:32:22 | 145,524,371 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,358 | cpp | queue_p.cpp | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
struct Node {
int data;
struct Node *next;
};
struct Queue {
struct Node *head, *tail;
int length;
};
int error = 0;
const char error_msg[][50] = {
"",
"Queue duuren!",
"Queue xooson!"
};
void init(struct Queue *p_qq, int n) {
p... |
0290d23eccb0632100e4797e1455256d0b2c42c7 | 4348c1e32daa4d88910c2cf66fc8ae098dc9e3bc | /学生成绩管理系统/学生成绩管理系统.cpp | 37685b612463154bdafc433502829afe73b84e48 | [] | no_license | wz20/c- | 7b4d10e3adb709ce8a158f830e408fdb47833c46 | 7f6a57136b37e34d55b9aa5976b51feb47d4ad98 | refs/heads/main | 2023-03-19T02:11:29.885833 | 2021-03-08T00:34:15 | 2021-03-08T00:34:15 | 345,486,585 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,429 | cpp | 学生成绩管理系统.cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include<windows.h>
#define MAX 100
#define NAME_LEN 10
typedef struct {
char name[NAME_LEN];
unsigned int score[3];
unsigned int sum;
unsigned int avg;
} Stu_i;
Stu_i stu[MAX];
int num;
//函数声明
Stu_i input_stu... |
6f3f8d776653e0d3997a6063cb63f08494ddad3a | 90ea0699804da6d5b17310ebc2023a5e034e9dcb | /qmhd/include/qmhdbody.h | ac655550d293d7704164d768f324bcddb868061f | [
"MIT"
] | permissive | wwhai/stm32-remote-update | e4fe34e7872c801699797579023d7e6db87f6e86 | 0e15a2d6fb1b9d61947bfc4238a786c60077eea2 | refs/heads/master | 2023-08-01T13:30:33.273297 | 2021-09-27T01:43:01 | 2021-09-27T01:43:01 | 410,707,699 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 942 | h | qmhdbody.h | #ifndef QMHDBODY_H
#define QMHDBODY_H
#include <QHash>
#include <QString>
#include "qmhdglobal.h"
class QMHDBodyFile;
class QMHDBodyPrivate;
typedef QHash<QString,QMHDBodyFile*> QMHDBodyFiles;
class QMHDBody
{
friend class QMHDRequestPrivate;
public:
QMHDBody();
~QMHDBody();
private:
... |
0bb7e012ccace3733b50703a7b258764ff037bf3 | 04899c4620f640922cfddc6f12c3393043c4ff60 | /AnKi/Renderer/GenericCompute.cpp | 0e16e2c141d2a60333451e5ffe50c55bee9c4834 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | galek/anki-3d-engine-1 | 51c3d56b8aeaf6773216749d95e0326aa75978de | 48f9806364d35a12a53508b248e26c597188b542 | refs/heads/master | 2021-11-25T06:47:32.120582 | 2021-10-24T19:33:05 | 2021-10-24T19:33:21 | 59,970,766 | 0 | 0 | null | 2016-05-30T00:57:00 | 2016-05-30T00:57:00 | null | UTF-8 | C++ | false | false | 1,841 | cpp | GenericCompute.cpp | // Copyright (C) 2009-2021, Panagiotis Christopoulos Charitos and contributors.
// All rights reserved.
// Code licensed under the BSD License.
// http://www.anki3d.org/LICENSE
#include <AnKi/Renderer/GenericCompute.h>
#include <AnKi/Renderer/Renderer.h>
#include <AnKi/Renderer/DepthDownscale.h>
#include <AnKi/Rendere... |
86c1642db47fbe5b14ae89da116c1ccab6aea6d0 | 7512fb7d215fc024a4cc4e5df0d258adbfaad3cf | /Thermocheck/include/Core/Application.h | 04189130fd2a7583a1bd625e55b14db643644d54 | [] | no_license | DanielPresas/ThermocheckApp | 80b4747439c51828477dc4bae84dfeb4c2a4022b | 071c3f97e054edb35c3a89e1f127537c13c051f9 | refs/heads/master | 2022-12-09T11:54:32.547462 | 2020-09-08T22:48:23 | 2020-09-08T22:48:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 993 | h | Application.h | #ifndef APPLICATION_H
#define APPLICATION_H
#include "CVInterface.h"
#include "Core/Window.h"
#include <queue>
class Application {
enum WorkType {
CV_UPDATE = 0,
IMGUI_RENDER = 1
};
using FutureVoids = std::vector<std::future<void>>;
using WorkQueue = std::queue<WorkType>;
using Mutex = std::mutex;
publ... |
75ca82f22b9dbaedacdf610c82b850a41d32b021 | b483dc71f3d07ca7c999f04e626d21a461b5ea83 | /image_extractor.h | dc98914d4b79413fb2bb141cd25eb220ff4eae44 | [
"MIT"
] | permissive | StevenHickson/VideoObjectProposals | 7e863e0054b35a7d875fb184a301eb4d4a4b8ab7 | a303fa7fe6c7b61707675c531efbd255397d4c0d | refs/heads/master | 2021-09-13T15:35:17.650664 | 2018-05-01T16:32:43 | 2018-05-01T16:32:43 | 119,440,708 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,934 | h | image_extractor.h | #ifndef IMAGE_EXTRACTOR_H_
#define IMAGE_EXTRACTOR_H_
#include <map>
#include <vector>
#include "opencv2/core/core.hpp"
namespace unsup_clustering {
class ObjectInfo {
public:
ObjectInfo() {}
ObjectInfo(int xMin, int yMin, int xMax, int yMax, int _label, int _instance)
: x_min_(xMin),
y_min_(yMin)... |
96bb27ff317debf609ea320e17246664047f3a2f | a27861c45699b53f108554a4d4528c281d990446 | /ZeldaII_Remake/Game.h | e87b5adba42b86584be32fd149c08546bad9c1f0 | [] | no_license | Aidisius/2D-Game-Engine-D3D11- | 13b0dd5e18dca44a3d15f55dfb7ef502b7ec6df6 | 619e907094b26642e0ad6ef9ec1f37d54891c72c | refs/heads/master | 2022-10-07T02:40:36.042665 | 2020-06-06T13:39:49 | 2020-06-06T13:39:49 | 269,774,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315 | h | Game.h | #pragma once
#include "Graphics.h"
class Game
{
public:
// Constructor and destructor
Game(HWND hWnd);
Game(const Game&) = delete;
Game operator=(const Game) = delete;
private:
// Functions
void GameLogicUpdate();
void GameGraphicsUpdate();
public:
void Cycle();
private:
// Variables
Graphics gfx;
}; |
77119ab9e8c0f3d3c655a8d2af5a979b58c8eefd | 019b68af2f25d3953195de7bd7a5eefd58bbbdd2 | /04-3 Abstract Factory Pattern/FactoryPattern_01/Pizza.h | 9e25c750ebdd1bdf54a986de740b4d8de3425142 | [] | no_license | jaruary/design-patterns-for-cpp | 65c471998a085b04f140589f5ec52e3d379298d3 | 8cb34ddd1deda23dc7fcc2cdc46157318239b37a | refs/heads/master | 2023-04-02T05:23:26.688507 | 2014-09-24T17:56:28 | 2014-09-24T17:56:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,725 | h | Pizza.h | #pragma once
#include <iostream>
#include <vector>
#include <iterator>
#include <string>
#include <iostream>
#include "PizzaIngredientFactory.h"
#include "Ingredient.h"
// Abstract Class
class Pizza
{
protected:
std::string pizzaType;
std::string name;
private:
Ingredient* dough;
Ingredient* s... |
d63e4d2c111e839b8c7a724f77a1dddbf212a086 | 3d275f6ab7a2f1af8e147cb3e23f12049b47b664 | /atis/third_party/roo/update_exposure.hpp | f8c54e6be9f3dbb7ab0134277ba1ec80489641f1 | [] | no_license | neuromorphicsystems/deepblue | a7af9235cfea92407be6edc7dafa2b896921a6dc | 101c174bf0c8a6e0fef95a3afe8d4209593ee326 | refs/heads/main | 2023-06-20T06:37:22.579075 | 2021-07-20T20:21:22 | 2021-07-20T20:21:22 | 337,473,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,403 | hpp | update_exposure.hpp | #pragma once
#include <limits>
namespace tarsier {
/// update_exposure implements an auto-exposure algorithm.
/// The algorithm also generates a tone-mapped frame.
template <typename Time, typename HandleExposureAndFrameDuration, typename HandleTonemappedFrame>
class update_exposure {
public:
... |
4a83b53a666c73adf8865e52db25761b6193455a | a35ac8d549761f33d34009da3796bd6c8c744ffc | /Executive/Executive.cpp | ffb5c276040c6acc2e8bf92af41beb70ef9fc0fd | [] | no_license | Shashankmishra3003/Multi-User-Test-Harness | c4977ed3802c3250c6ca1ec84531f37d6cd53460 | f3bac93aea7c03ddbab71253f620642301e5f160 | refs/heads/master | 2020-04-30T20:15:42.398242 | 2019-03-22T02:57:10 | 2019-03-22T02:57:10 | 177,061,140 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,357 | cpp | Executive.cpp | /////////////////////////////////////////////////////////////////////////////////
// Executie.cpp : single test class for demostrating the project3 requirements //
// ver 1.1 //
// ... |
50fb261869d958543815ca78ea95bc5900950ba9 | dac5254630fefae851da7c843dcab7f6a6af9703 | /Linux/Sources/Application/Three_Pane/Preview/C3PanePreview.cp | 743effb43a968ff37005a5d9c5007ea4f99cb1e0 | [
"Apache-2.0"
] | permissive | gpreviato/Mulberry-Mail | dd4e3618468fff36361bd2aeb0a725593faa0f8d | ce5c56ca7044e5ea290af8d3d2124c1d06f36f3a | refs/heads/master | 2021-01-20T03:31:39.515653 | 2017-09-21T13:09:55 | 2017-09-21T13:09:55 | 18,178,314 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,336 | cp | C3PanePreview.cp | /*
Copyright (c) 2007 Cyrus Daboo. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless re... |
ccfc47fedd87b493f9f78de7ac4db4e36075d919 | c56ce76d2a9bd85538ec860cac815357b41fc3a4 | /PR_HW1/FeatureData.h | 597045e5c635710e30e7af4084da386425b2e8f4 | [] | no_license | amon0424/PR_HW1 | b9e35ea1cc846b0f07d6cbfba4f00c513b56465d | eb4bfe6d7279a8c834a91433b803b679904f1848 | refs/heads/master | 2016-09-06T10:52:13.651089 | 2011-04-28T17:55:35 | 2011-04-28T17:55:35 | 1,613,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,508 | h | FeatureData.h | #ifndef _FEATURE_DATA_H
#define _FEATURE_DATA_H
#include <opencv/cv.h>
#include <iostream>
#include <iomanip>
class FeatureData
{
public:
int NumberOfFeatures;
CvMat* FeatureVector;
int ClassID;
FeatureData(int nubmerOfFeatures) : NumberOfFeatures(nubmerOfFeatures)
{
FeatureVector = cvCreateMat(nubmerOfFeatures... |
afe2d2acc609f9187488bba611313fc2e2bb1549 | 890e07c50ea370449416393edaebf9842224a1fd | /Reference/20140710_SSC_Auto_9K_V1.0.0.0/20140710_SSC_Auto_9K_V1.0.0.0/SSC_GameEngine/Character.cpp | 4faedc6fbe5f76ccc4d447153369fbd1d9fc6c42 | [] | no_license | zidane168/AutoPlay | 77c91519b1712b8b791d77020eea218c982d47dc | 8eb85a0c92c7b8af334bbf4516bf00139155ca89 | refs/heads/master | 2021-01-10T20:56:58.002779 | 2015-09-15T02:00:07 | 2015-09-15T02:00:07 | 39,605,621 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 102,917 | cpp | Character.cpp | /*
20140613 - SangDH UPDATE game v2.36.1, khong thay doi nhiu: them 1 offset(158->159) ham ClickOnItem, offset(160->161) hamGetWorldMapAddress
+ them ham GetDoQuest(): xet trang thai lam nv, trong file GameEngine.cpp them phan Lich Luyen vao Chung pphan Lich Luyen va dieu doi
20140612-SangDH-Hàm IsInterval(): hàm cho... |
0274e0828fb384cb13af2f41cd70fd80f581cdab | 535e4f723b1a7ee6e7ba8799d9eb862c54abf005 | /Classes/RollingBall.cpp | 7ab12fbd5d5fc98a47de549158ba0f7e99d16029 | [] | no_license | jypeitao/DemoRollingBall | f7823bb128e7ab4019f2e3d8cf05241e78e3eb99 | dadcf1278aef517059d46a281fa202230a8f976a | refs/heads/master | 2020-06-03T14:17:56.243894 | 2014-01-13T17:17:55 | 2014-01-13T17:17:55 | 16,061,300 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,027 | cpp | RollingBall.cpp | //
// RollingBall.cpp
// RollingBall
//
// Created by cocos on 14-1-13.
//
//
#include "RollingBall.h"
RollingBall::RollingBall(){}
RollingBall::~RollingBall(){}
Scene* RollingBall::createScene()
{
auto scene = Scene::createWithPhysics();
Size visibleSize = Director::getInstance()->getVisibleSize();
... |
92d9b3f360794a22efce5cc864c74b35e80bda81 | b25bc563dbb37a12244d2375c5816de9231c6c63 | /PowerPlant/Support Classes/LSIOUXAttachment.h | dd6b62f414d65c67cb72fb2e981cc8d203df5e0a | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"ISC"
] | permissive | mattgallagher/Mines | cae97a293bea9431c173b62fbc6a7115bfa4828d | cb159c358b12787dca9b8328d7f6083f07377b52 | refs/heads/master | 2021-01-13T13:00:09.404274 | 2018-10-24T12:15:04 | 2018-10-24T12:15:04 | 78,709,769 | 28 | 3 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 920 | h | LSIOUXAttachment.h | // Copyright ©2005, 2006 Freescale Semiconductor, Inc.
// Please see the License for the specific language governing rights and
// limitations under the License.
// ===========================================================================
// LSIOUXAttachment.h PowerPlant 2.2.2 ©1995-2005 Metrowerks Inc.
// ========... |
2d38264f4b3c9e0bb59566142d2b01512d7b98c2 | e61a42b3e8936dafdfa5776adec17682cb7d077b | /SpaceInvaders/particle.h | 603aca4fbb2ea5888072316ce1a4ed360698235e | [] | no_license | mariofbreis/SpaceInvaders | f17cdd0616a0a1b1c1ac8af1afc80c2741799f45 | d76d6766bcc4db09618034a47e6d4593cb445436 | refs/heads/master | 2022-11-07T22:31:59.275080 | 2020-07-06T04:25:44 | 2020-07-06T04:25:44 | 277,228,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | h | particle.h | #ifndef PARTICLE_H
#define PARTICLE_H
#include "spaceinvaders.h"
#include "position.h"
#define frand() ((float)rand()/RAND_MAX)
class Particle {
float life; // life
float fade; // fade
float r, g, b; // colour
float x, y, z; // position
float vx, vy, vz; // speed
float ax, ay, az; // acelerati... |
561fadea0a4b3324944f6baa42bd893e0d6075cd | 5338cd4e316f9ba4b7993c3b4db1b514a4ac6d45 | /cc/sqnumbf.cpp | d75e56ff21e9832a25d64e8ba7724e74f826e616 | [] | no_license | exopeng/Competitive-Programming | 5371ed2ee7b585b36cf232b5557ed30c50ce67de | 5d28c21d3e5df5fe50a86ec6251dbc2b7018da61 | refs/heads/main | 2023-07-08T13:20:23.946747 | 2021-08-15T17:43:28 | 2021-08-15T17:43:28 | 396,431,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,362 | cpp | sqnumbf.cpp | #include <bits/stdc++.h>
using namespace std;
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
template <class T> using Tree = tree<T, null_type, less<T>,
rb_tree_tag, tree_order_statistics_node_update>;
#define mp make_pair
#define pb push_back
#define lb lowe... |
fd99ac8ab52cd1c8c85b758cd7112d5cd8ff94bf | 5bb9c12ad26d7b332f06f9ce91ecb504c42ba8fa | /shortest_repeating_substring.cpp | 8077783f67cb1b6305dee246a62fcdf879b1a896 | [] | no_license | nandish145/codeEval | 4f95c2bf9816990ea25909579c1e76f47fffe999 | da7e701db9da2c418046e6bd9c0717b5388a0a4f | refs/heads/master | 2021-01-23T22:37:57.759932 | 2014-04-14T07:09:17 | 2014-04-14T07:09:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cpp | shortest_repeating_substring.cpp | #include<iostream>
#include<string>
#include<fstream>
using namespace std;
/*shortest repeating substring*/
int shortest_repeating_substring(string str)
{
int compare_index;
int pattern_end = 1;
for(int j = 1; j< str.length();j++)
{
compare_index = j% pattern_end;
if( str[compare_index] != str[j])
patte... |
f8330f3239211447744f67b66327737eb06b9c58 | 8a568dccf7bac68ea7e8a860089611a5d9831c97 | /src/SwitchCase.cpp | ad566e4449e573954cf689862a0a2aef73209dfb | [] | no_license | lukeylad19/6502-Shared-Library-Emulator | c0301e4596ed13b856b52bb1d90e969d6102f90c | f56af1ee8836bb9c05eccb26ab580a665b35348a | refs/heads/master | 2020-05-04T19:27:48.876542 | 2019-05-10T01:01:13 | 2019-05-10T01:01:13 | 179,394,871 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 57,810 | cpp | SwitchCase.cpp | #include <iostream>
#include <string>
#include "instruction.h"
#include "M6502.h"
//#include "opcode.h"
//void execute(uint8_t);
/*------------------------------------Addressing Helpers------------------------------------------*/
uint8_t M6502_core::read_zpg(){ //read using zero page addres... |
34adb1a9b3e0f058c5f1ae2b778622773dd21a55 | 29081a767c0b3c0cd6540a971f0269577b474d6c | /main.cpp | 9a0038256f61dd32e875f923d63917e504c623cc | [] | no_license | cpalaka/sfml-MandelbrotSet | 8f40a38aac14bd2bd2cda69c14bbfe3a707ac6ac | 128b94e1b13e9d195fce4692851f202713cdad9e | refs/heads/master | 2020-05-02T01:33:34.945468 | 2013-06-01T12:09:56 | 2013-06-01T12:09:56 | 10,418,993 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,414 | cpp | main.cpp | #include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
#include "Complex.h"
#include <iostream>
#include <array>
#include <memory>
const int WHEIGHT = 480;
const int WWIDTH = 640;
//const int MAXITER = 100;
int color_no;
int main()
{
int MAXITER = 1;
int MAXMAXITER = 100;
sf::RenderWindow window(sf::VideoMode(WWI... |
bee20864bd32c9c0c2cfc2a6259ee34350626dd4 | 9a6b8ca29a6a6422b838d237916d2a872e4b808f | /00-CppHelloWorld/hello.cpp | 1bb3082d6fe4339c0f655853304934ec0bd44990 | [] | no_license | amandabenson/AED | f07be31dcda62ab3b275f78eb9e7a00da13700cb | 8fe1de7b5d0f15a74ca8444b7210662bcc7ba9aa | refs/heads/master | 2022-11-06T13:09:43.060028 | 2019-05-02T12:51:41 | 2019-05-02T12:51:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 135 | cpp | hello.cpp | /* Hello World!
Amanda Vanesa Benson
11/04/2019
*/
#include <iostream>
int main(){
std::cout << "Hello, World! :) \n";
} |
095d127840a3489d816733735ea46ceafc919f0b | 89f91ac3de03a78a7158bfa87b0d4d84a3c47109 | /951.cpp | 0bc90208d4e0798cbd34d4eb7e106f067ae536b8 | [] | no_license | xyuanlu/Cultivation | 65a8b098f407443aa35b2fe6d5d77419a1ab0e73 | 9a2dadc56ec17d5af1c780e9224936f1afa86786 | refs/heads/master | 2021-07-06T08:07:11.071012 | 2020-11-08T23:55:46 | 2020-11-08T23:55:46 | 201,869,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,225 | cpp | 951.cpp | /*
* 951. Flip Equivalent Binary Trees
* For a binary tree T, we can define a flip operation as follows: choose any node, and swap the left and right child subtrees.
*
* A binary tree X is flip equivalent to a binary tree Y if and only if we can make X equal to
* Y after some number of flip operations.
*
* Write... |
0352a0f9dfd70699785e93292453cc9ee5f3a7d6 | 2ba27dc1b1ed0c00b5cc79eb3517ad86ee4fdca9 | /DirectX12-FrameWork/CommandSignature.h | d7c1ed59a5b19cf13ecaba3f380d050794976c76 | [
"MIT"
] | permissive | wangyongxina/DirectX12-Framework- | 0d4f404fae6b2d0b26ba49ad5e896302fef6a5a5 | b9e590555660c40cb19c3ef292c097c78d49a158 | refs/heads/master | 2023-03-15T04:50:46.101413 | 2020-08-29T04:39:29 | 2020-08-29T04:39:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | h | CommandSignature.h | #pragma once
#include "stdafx.h"
#include "d3dx12.h"
#include <vector>
class RootSignature;
// all command should keep, draw, drawindex, dispatch at the last
class CommandSignature
{
public:
CommandSignature() : mCommandSignature(nullptr), paddingsize(0)
{
}
bool initialize(ID3D12Device* device, RootSignature& ro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.