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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0a418f03bca9731f320304bff1bbd974c346d026 | 67eda6a2ca7ec42ab992cc8e97853e9f41160740 | /A-Star/Node.cpp | bb2f4ca97f6fe4e95eb96004f421cd84e8cb7f02 | [] | no_license | Foiros/MyGOAP | df0e7ab659d97807a2b83e1ae103c23b7884036d | 11c53614e03501cf845f33b3d2a843e63bbc5ab6 | refs/heads/main | 2023-08-06T20:29:43.148262 | 2021-10-08T11:22:47 | 2021-10-08T11:22:47 | 414,592,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,784 | cpp | Node.cpp | //
// Created by arttu on 07/10/2021.
//
#include "Node.h"
Node::Node() = default;
Node::Node(int x, int y, bool _walkable, Node* _prev_node) :
location_x(x), location_y(y), walkable(_walkable), prev_node(_prev_node){
}
Node::~Node() = default;
void Node::Determine_Neighbors(int id) {
int first_neighbor = 0;
... |
34decc3b2dff7517f00928810f985f6756667e15 | e33c16e84d5f558786ffc583718e782cd49b5dd8 | /src/mol_sys.cpp | 50957941b8c0348034a2ca7336c46c98b4d1d08e | [
"MIT"
] | permissive | d-SEAMS/seams-core | fa4eaa14be9059f2a0fb87f2725866290d0ebe94 | e42be0a1f28de2f8d6b44b6cf97e20cc4c058266 | refs/heads/main | 2023-08-31T02:01:40.889157 | 2023-08-23T19:38:29 | 2023-08-23T19:38:29 | 164,746,444 | 29 | 6 | MIT | 2023-08-23T19:38:30 | 2019-01-08T22:50:43 | C++ | UTF-8 | C++ | false | false | 5,283 | cpp | mol_sys.cpp | //-----------------------------------------------------------------------------------
// d-SEAMS - Deferred Structural Elucidation Analysis for Molecular Simulations
//
// Copyright (c) 2018--present d-SEAMS core team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of th... |
f8b6e19b7c41256ca2c3fb39fa5868fa69eb5e09 | 1f86dd67b457848e70e1bc07f33562e7dd5f99e3 | /LightOJ/1080/9861233_AC_260ms_2332kB.cpp | 3bcf7e101c1d7b31a70e16523da771fad1367f41 | [] | no_license | osmansajid/Contest-Problems | 96be8994dc119f128a3b011e18f8f1c5ab93a67c | 7036e432b1e477fda3d5a129e15cbb27f5ec0292 | refs/heads/master | 2022-07-08T19:47:25.106766 | 2022-06-12T19:51:01 | 2022-06-12T19:51:01 | 216,519,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,132 | cpp | 9861233_AC_260ms_2332kB.cpp | #include<bits/stdc++.h>
using namespace std;
int tree[100000];
int sum(int indx)
{
int sum = 0;
while (indx){
sum += tree[indx];
indx -= indx & -indx;
}
return sum;
}
//updates->
void update(int indx,int n, int val){
while (indx <= n){
tree[indx] += val;
indx += indx... |
70a991c2251c229f6525475605004bb802595311 | 580bc10730634fe80190df0856b5c2293b63a262 | /invert.cpp | a6242d5b6c73d804fd473cc9c26ab88b20e95e72 | [] | no_license | hnguyen257/Multicore_term_project | 6a5207bf03a93f2f6b03a17e95625425bccdd031 | 04397c885ec7d1451b82c004c46c394835363344 | refs/heads/master | 2022-04-23T21:48:57.254303 | 2020-04-29T03:57:45 | 2020-04-29T03:57:45 | 258,048,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 932 | cpp | invert.cpp | #include <iostream>
#include <string>
#include "determinant.h"
#include "gauss_jordan.h"
#include "invert.h"
using namespace std;
double** invert(double const* const* input, int size)
{
if (determinant(input, size) == 0)
{
cout << "Error: matrices with determinants of 0 are not invertible." << endl;
return NULL... |
98b3734a10bb1f42e79c0d1962db8660323cc3bd | ed444c4a0ed1fe679da64b81ec6aa1ddf885a185 | /Tool/ProtocolCreate/Creater/ProtocolCreater.cpp | da0dd4cb670cbb55a2f11186fc49944c00d4c83c | [] | no_license | swaphack/CodeLib | 54e07db129d38be0fd55504ef917bbe522338aa6 | fff8ed54afc334e1ff5e3dd34ec5cfcf6ce7bdc9 | refs/heads/master | 2022-05-16T20:31:45.123321 | 2022-05-12T03:38:45 | 2022-05-12T03:38:45 | 58,099,874 | 1 | 0 | null | 2016-05-11T09:46:07 | 2016-05-05T02:57:24 | C++ | UTF-8 | C++ | false | false | 1,444 | cpp | ProtocolCreater.cpp | #include "ProtocolCreater.h"
#include "IProtocolFile.h"
ProtocolCreater::ProtocolCreater()
{
}
ProtocolCreater::~ProtocolCreater()
{
this->clearProtocols();
}
void ProtocolCreater::addProtocol(IProtocolFile* pProtocol)
{
if (pProtocol == nullptr)
{
return;
}
m_vecProtocols.push_back(pProtocol);
}
void Pr... |
65de0332eb429a24237a880bbd08b1fec16b132b | 955fa8aced85fe5c2279f23615ff190e5bab5884 | /netconn_tcp_server.cpp | 352e9d2a5b20ae5760efa35e7549b314fa035c4f | [] | no_license | pushkar/cshm-net | 0b6de29c130d74f25dd5188e19e4c6cd556d6c34 | 5a24af965573990ae5059109fc8b1673a1753497 | refs/heads/master | 2020-05-19T19:44:29.510877 | 2010-04-09T21:55:14 | 2010-04-09T21:55:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,304 | cpp | netconn_tcp_server.cpp | #include "netconn.h"
#include "netconn_tcp_server.h"
#include <achshm.h>
#include <cshm.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#include <arpa/inet.h>
TCPServer::TCPSer... |
ae13fea2125b2544efbb16c2e5ffd93079492d14 | 91b307496cd9e674f44c8529ab7f8aed2c65974c | /NBT.h | 889ebb5fbefef54f372645833c41242b70f8f13c | [] | no_license | qtx0213/MinecraftToRoblox | f5247bdb5afb4202fd4ba71cb6a654208c13349f | 22ab6f63a5e884e97b28d250670e4dbd202467ff | refs/heads/master | 2022-04-05T23:50:06.748037 | 2013-12-10T17:53:53 | 2013-12-10T17:53:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,923 | h | NBT.h | #pragma once
#include <string>
#include <vector>
#define SIMPLE_NBT
#ifdef SIMPLE_NBT
class ChunkSection{
public:
unsigned char y;
std::vector<unsigned char> blocks;
ChunkSection();
ChunkSection(ChunkSection&& other) throw();
};
class WorldInfo{
public:
int x;
int z;
std::vector<ChunkSection> sections;
... |
22c24a03c353356f4acb63555827cb2f1426b66c | a4058d50eb7ec5e489a766c44ee43a5c72080a73 | /multi-school/2019/C3/_11.cc | be5044b8222c5872617554b8ee382afab00a7dee | [] | no_license | AkibaSummer/programs | 7e25d40aeab6851c42bd739c00a55bd6e99f5b45 | ef8c0513435a81a121097bc34dfc6d023b342415 | refs/heads/master | 2022-10-28T08:27:22.408688 | 2022-10-03T16:01:17 | 2022-10-03T16:01:17 | 148,867,608 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,858 | cc | _11.cc | #include <bits/stdc++.h>
using namespace std;
#define endl "\n"
const long long maxn=2000005;
struct link{
long long target,weight;
};
struct que_node{
long long dis1,id;
bool operator < (const que_node &r)const{
return dis1==r.dis1?id>r.id:dis1>r.dis1;
}
};
struct dp_node{
long long dis1... |
a09c5ded7396717a130f68feaeec0c3e6772bc9e | c70a973995dc7aed32e2d2d1d93d59f1393df1c8 | /lg2392.cpp | 88cf0251c6caf034c907a111c08928d810894b74 | [] | no_license | iwtbam/iwtbam | a2aba70db06ee0b83ffe1934c741869e893d4533 | 3ebc1d9c0655222cfe7babeee767e3638ca71538 | refs/heads/master | 2023-02-10T23:22:50.650242 | 2021-01-03T14:05:36 | 2021-01-03T14:05:36 | 290,930,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,181 | cpp | lg2392.cpp | #include <cstdio>
#include <cstdlib>
#include <time.h>
#include <algorithm>
#include <cstring>
using std::max;
using std::min;
const int MAXN = 100;
const int INF = 0x3f3f3f3f;
int num[MAXN];
int dp[3000];
int partition(int *, int);
int calc(int *, int);
int main()
{
int s1, s2, s3, s4;
scanf("%d%d%d%d", &s... |
f730a60a8bfe08109c684f0bf1fbf58d5760f7a0 | e7e497b20442a4220296dea1550091a457df5a38 | /main_project/OceCxxAdapter/src/MiniGroupManagerAdapter.cpp | 11489327fa5eeab3fdb4acff0a0299ddedb10b52 | [] | no_license | gunner14/old_rr_code | cf17a2dedf8dfcdcf441d49139adaadc770c0eea | bb047dc88fa7243ded61d840af0f8bad22d68dee | refs/heads/master | 2021-01-17T18:23:28.154228 | 2013-12-02T23:45:33 | 2013-12-02T23:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,766 | cpp | MiniGroupManagerAdapter.cpp | /*
* =====================================================================================
*
* Filename: MiniGroupManagerAdapter.cpp
*
* Description:
*
* Version: 1.0
* Created: 10/26/2011 11:35:52 AM
* Revision: none
* Compiler: g++
*
* Author: min.shang (... |
a6b39b82de7a84ffd538f828eb0461afcbe6934c | 9c51f3be759e2cafe85b9d38043b9bf41c479373 | /original_code/GradeBook.cpp | bab589fc3670ec358625354bb13a95fa8c6321db | [] | no_license | BenSandeen/gradebook_example | f9be425821c70da152a074c90aafa1e2d30fd03d | a650983299ca0e835bf129701d0eaec7406faa99 | refs/heads/master | 2021-03-22T02:07:28.803399 | 2016-07-20T01:04:25 | 2016-07-20T01:04:25 | 62,373,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,261 | cpp | GradeBook.cpp | /*
* =====================================================================================
*
* Filename: GradeBook.cpp
*
* Description: Defines the functions of the GradeBook class prototyped in GradeBook.h
*
* Version: 1.0
* Created: 07/01/2016 01:35:30 AM
* Revision: none
*... |
83f335327b47e61bb44ee6ff94c3b6223c30f4f3 | 271642153900d3a1bba0373b4dea71bf305dec8c | /cpp/cpp/queue3/queue.cpp | 69d0f7f4ef640ba616b61855afb3a02a2c30bb4e | [] | no_license | rkdwjddn456/5G_course | 883063d8de37f2494d5210f0585bf6dc75a53c70 | 066bfdaf1b8d995dc3c2d14d995e9788f109787f | refs/heads/main | 2023-06-14T15:32:56.850247 | 2021-07-02T09:34:03 | 2021-07-02T09:34:03 | 382,280,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 483 | cpp | queue.cpp | #include <cassert>
#include "queue.h"
const int Queue:: QUEUESIZE = 100;
Queue:: Queue(int size)
:arr_(size), front_(0) , rear_(0)
{
}
void Queue:: push(int data)
{
assert(!isfull());
arr_[rear_] = data;
++rear_;
}
int Queue:: pop()
{
assert( !isempty());
int tmp = front_;
++f... |
a2d9b6d70f74eadba6017cdc6ff2bd6ca23bd7cd | f3c01e5ebacea1751e993a6575bde896064b9c0e | /TouchGFX/gui/src/screencontrolsliderspeed_screen/ScreenControlSliderSpeedPresenter.cpp | 670893d75dac4a6c3c53ee296aa7987da09e1fa5 | [] | no_license | ThanhTrungqn/test-screen-led | a6e682fd9b15e2b7c71f6b2bc2c87d6cf2a8ed25 | 3c62453a2fbeaeae9900ba73634e9dc92bef13e6 | refs/heads/master | 2021-03-18T11:14:02.101644 | 2020-08-26T11:23:56 | 2020-08-26T11:23:56 | 247,070,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | cpp | ScreenControlSliderSpeedPresenter.cpp | #include <gui/screencontrolsliderspeed_screen/ScreenControlSliderSpeedView.hpp>
#include <gui/screencontrolsliderspeed_screen/ScreenControlSliderSpeedPresenter.hpp>
ScreenControlSliderSpeedPresenter::ScreenControlSliderSpeedPresenter(ScreenControlSliderSpeedView& v)
: view(v)
{
}
void ScreenControlSliderSpeedPre... |
58bd7b84ff3b353e3188c75e0e648750f3eea1d6 | e9d5edcc5420dd458b843e32d54105641664b42b | /Wall.h | 456ad59d3e276b5d2597d02849e767b9bbfb6229 | [] | no_license | Bocity/tankwar | f9ce1fbee123f5ed81c1b21e2c28cadaa9ba7801 | 6e2bd321aed43093033f48e7db41bc3032c2bba8 | refs/heads/master | 2020-04-06T09:09:39.768420 | 2018-11-13T06:26:13 | 2018-11-13T06:26:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,126 | h | Wall.h | //
// Created by 郝进 on 2018/1/7.
//
#ifndef TANK_WALL_H
#define TANK_WALL_H
#include "EveryThing.h"
class wall: public EveryThing{
Q_OBJECT
Q_INTERFACES(QGraphicsItem)
public:
explicit wall(std::string img ):img(
std::move(img)){
wtype = WALL;
wallPix.load(tr(this->img.c_str()));... |
8ee92672329a191acdbd0fb1915eb1c0ab0d094f | 039ec659ecd3f23eb25faff0061f401553cc9dec | /main.cpp | 53a487bb240bff725056bbcc3d0a16868744048a | [] | no_license | fingerAuth486/add-nbo | a7cbeff8f2b1f3444f724066bfe58b95980e6eab | 56638624f7b22b8af3073e52323ba399ce2a55b9 | refs/heads/master | 2023-06-24T02:17:09.027416 | 2021-07-27T14:20:04 | 2021-07-27T14:20:04 | 388,133,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | cpp | main.cpp | #include <iostream>
#include <stdint.h>
#include <netinet/in.h>
int main(int argc, char* argv[])
{
FILE *file1;
file1 = fopen(argv[1],"r");
if (file1 == NULL) return -1;
uint32_t thousand;
FILE *file2;
file2 = fopen(argv[2],"r");
if (file2 == NULL) return -1;
uint32_t five_hundred;
... |
73e1aa226e6ee70a604fd9b43216a234f1b18162 | 32ffee400604bf821858eaf9cd8cfc65926e2bc1 | /micromamba/src/login.cpp | bd61bb7e311ea0487fafc285b8bcdaf83493a714 | [
"BSD-3-Clause"
] | permissive | mamba-org/mamba | ebabfe45c866f7d812a8dddbcc6814e40c96b9b2 | 319f0553f5036cc74cb7919f6ecadc784cb6c187 | refs/heads/main | 2023-08-31T05:00:08.103215 | 2023-08-29T14:35:10 | 2023-08-29T14:35:10 | 173,947,939 | 4,478 | 292 | BSD-3-Clause | 2023-09-14T10:14:10 | 2019-03-05T13:05:10 | C++ | UTF-8 | C++ | false | false | 6,917 | cpp | login.cpp | // Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include <string>
#include <CLI/App.hpp>
#include "mamba/core/environment.hpp"
#include "mamba/core/output.hpp"
#inclu... |
ac7d11685f1770eb8650acd12dcf05488f03fdd3 | 7c7c874abbe8ff4d2cccbdf8cbe37d731315e5b0 | /TowerDefense/enums.h | c95e83d616651e0d3895b3c008d8a66b1284d396 | [] | no_license | JaroslawPalasz/-PK4-TowerDefense-Game | 86a0dfb238d4f528deff09553c9b713176a57d4f | 32458c8e0f4c87e85a676c8509fa37bde7e67c5e | refs/heads/main | 2023-04-02T12:05:04.212586 | 2021-04-06T17:16:59 | 2021-04-06T17:16:59 | 355,263,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,829 | h | enums.h | #pragma once
/*header and enum file*/
#include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
#include <SFML/System.hpp>
#include <iostream>
#include <utility>
#include <memory>
#include <string>
#include <map>
#include <cassert>
#include <vector>
#include <fstream>
#include <stdexcept>
enum TEXTURES
{
TILE_START, TI... |
5e8e32c2f54c8f11a76d9c82e66ee59a0bb2ad3a | dd938cdbd18a52b793e7d1e9d6d0a90bc45ef54d | /base/event/EventGroup.h | 39fa4f0d79f3f17689dcea2bb0d0455005978871 | [
"MIT"
] | permissive | dispyfree/xhstt | b103bb4857895bda693d8bd9967af250e206416a | 12059c96dbdecddf9495d16bdd81b905f9986960 | refs/heads/master | 2021-05-04T11:28:49.299125 | 2017-10-01T20:17:59 | 2017-10-01T20:17:59 | 46,188,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,871 | h | EventGroup.h | /*
* File: EventGroup.h
*
*/
#ifndef EVENTGROUP_H
#define EVENTGROUP_H
#include "Instance.h"
#include "Event.h"
#include "EventGroupKind.h"
#include "CachedObj.h"
#include <string>
#include <vector>
namespace khe{
class Instance;
class EventGroupKind;
class Event;
class Constraint;
... |
f4bdb340e52bf8ccd59c546d93144f699122c863 | 8f81b0fea52234080b97df67a64a2c3391f2161a | /PAT/advanced_level/1116_Come_on!_Let's_C/funny_programming_contest.cpp | 80463cb0d7ee3b73996f558e2bcf137eab3d2326 | [] | no_license | jJayyyyyyy/OJ | ce676b8645717848325a208c087502faf2cf7d88 | 6d2874fdf27fadb5cbc10a333e1ea85e88002eef | refs/heads/master | 2022-09-30T18:02:08.414754 | 2020-01-17T12:33:33 | 2022-09-29T02:24:05 | 129,335,712 | 44 | 16 | null | null | null | null | UTF-8 | C++ | false | false | 1,187 | cpp | funny_programming_contest.cpp | #include <iostream>
#include <iomanip>
#include <cmath>
#define MAXSIZE 10005
using namespace std;
struct Student{
int rank;
int checked;
Student(){
rank = -1;
checked = 0;
}
};
Student stuList[MAXSIZE];
int primeList[MAXSIZE] = {0, 0, 1};
int printID(int &id){
cout<<setfill('0')<<setw(4)<<id;
return 0;
}
... |
ab0ced3782d4d9cc5ef18f666162658528e09b8b | 745eb63515495a0da6c71967042adb47c445ac32 | /HOTSTEEM/steem/code/rs232.cpp | 12e2daef6673caac22810e1e75dfc8da6b4dfcf1 | [] | no_license | ReservoirGods/TOOLS.RG | 0f8fac2b7f0178643337ce9907bd9060371d317c | 6e1830ae927741043240bedd46f8034092d8f396 | refs/heads/master | 2020-03-26T23:02:41.689830 | 2020-01-05T21:21:18 | 2020-01-05T21:21:18 | 145,505,833 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,728 | cpp | rs232.cpp | /*---------------------------------------------------------------------------
FILE: rs232.cpp
MODULE: emu
DESCRIPTION: Serial port emulation.
---------------------------------------------------------------------------*/
//---------------------------------------------------------------------------
// Send this to modem... |
7949664591cf0f1b2ec407cbbf6cd6f9db7eff07 | a95b9b10f8b62df1e87341de8535e6b1f3d59814 | /Delete Node in a Linked List without head.cpp | 9ee2c0dbc6893855f153f00bf976dc70a66e9d3c | [] | no_license | tanyasri02/Linked-list | dcf1edf4e30f9ac87a8aab6311bd6de77721d1c7 | 3d88d3f60200b1f9fc010ca308ee9203d6e3341b | refs/heads/main | 2023-08-18T22:24:48.002980 | 2021-10-12T16:25:09 | 2021-10-12T16:25:09 | 416,395,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | cpp | Delete Node in a Linked List without head.cpp | //appoarch :phich nhi ptaa age to ptaa hai na
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
void deleteNode(ListNode* pos) {
if(pos==NULL||pos->next==NULL)
r... |
4ccb6c2d94ee74c4b31f08e782efb8cba030d1eb | adb265b77c488d5b8642e377d243891708cba962 | /facerecognizer.h | 636a8b5c86c497fb9092deee5224580766554649 | [] | no_license | SergTrip/FaceDetectorDll | 1bb83f52011ac5d87b358ae5de7bbf3e58dd323f | cdb1c4d65cc7661d516e3aa7c307cbbfa40e2594 | refs/heads/master | 2021-01-10T15:40:28.336051 | 2016-02-06T12:17:53 | 2016-02-06T12:17:53 | 36,668,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,290 | h | facerecognizer.h | #ifndef FACERECOGNIZER_H
#define FACERECOGNIZER_H
#include <QWidget>
#include <QImage>
#include <QTimer>
#include <QPainter>
#include <QDebug>
#include <opencv2/opencv.hpp>
//#define FACE_CASCADE_NAME "D:\\Dropbox\\Germanij\\Projects\\Faces\\Data\\haarcascades\\haarcascade_frontalface_alt.xml"
#define ... |
909a0c7e1d31f817ce71d2359dccb62362d5c4c0 | d677f13b0f27caf3e3cfda2d93883ca95f3a6890 | /AST/Test/BinaryExpressionTest.cpp | 184950daf7cd02ffe1da699455e8afc4f851aec2 | [] | no_license | cades/cminus | f5f0f68fa1e39c4b079c11cbee23b0257a6a8567 | 6c98ecad0419a058982f0512fd5f5927addbb0ed | refs/heads/master | 2021-01-22T02:49:23.960414 | 2012-06-28T17:31:53 | 2012-06-28T17:31:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,057 | cpp | BinaryExpressionTest.cpp | /*
* BinaryExpressionTest.cpp
*
* Created on: 2012/6/18
* Author: mac
*/
#include "../Node/PlusNode.h"
#include "../Node/IntLiteral.h"
#include "../Node/FloatLiteral.h"
#include "../Node/Identifier.h"
#include "../Node/Factor.h"
#include <stdexcept>
#include <CppUTest/TestHarness.h>
TEST_GROUP(BinaryExpre... |
5325a3896948ebf1b516864ef92940117c2d8c5b | 25f9a6acd386cebe32456676a511aef745396efc | /GameServerPeer/MainServerPeer.cpp | 588497b16bf9e7d5d2775b4078ebfd401cb8b94c | [] | no_license | VictorRomeroLopez/-AA3-_Cluedo | f8026ad7acfc3f0882f6c77911de455b2bba0bd6 | 89f43cce97cdfb23010ce332d0ce67841941bdfc | refs/heads/master | 2021-02-24T05:04:18.672321 | 2020-03-16T22:33:26 | 2020-03-16T22:33:26 | 245,420,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,320 | cpp | MainServerPeer.cpp | #include <SFML/Network.hpp>
#include <SFML/System.hpp>
#include <iostream>
using namespace sf;
const unsigned short MAX_PLAYERS = 5;
const unsigned short SERVER_PORT = 50000;
struct Address {
std::string nick;
IpAddress ipAdress;
unsigned short port;
Address(std::string _nick, IpAddress _ipAddress, unsigned sho... |
072c73f88a73885f495c1a0dcf88db84eaf0010c | 3dc4f53ec79d917102bdcf6cc30424caade17c39 | /test/test_recurrence.cpp | 646eba8671bc4526c47700f5e4a82a04075061f3 | [
"BSL-1.0"
] | permissive | boostorg/math | 015da3eb8ff4754b88c13acabb943bc2025fe272 | 0d941f0d0751869964a046fab975f34f739a53a3 | refs/heads/develop | 2023-08-31T09:04:04.090046 | 2023-08-28T17:10:58 | 2023-08-28T17:10:58 | 7,589,942 | 290 | 282 | BSL-1.0 | 2023-09-11T18:11:58 | 2013-01-13T15:58:55 | C++ | UTF-8 | C++ | false | false | 6,173 | cpp | test_recurrence.cpp | // (C) Copyright John Maddock 2018.
// Use, modification and distribution are subject to 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)
#define BOOST_TEST_MODULE test_recurrences
#include <boost/math/tools/config.hpp>
#ifndef... |
93e1aa388e262b4c9e26a3a7921a76a440212be6 | f3dd00b1dfd95541d2665a95e0d5c5c011170ba8 | /src/server/server_config.cc | ede7b345a5b89608cdfe81daabf92240d4804dec | [] | no_license | exabytes18/kiwi | 0aebf55d312331b6912011d26258d29c179eecdc | a1736db3ffb573a8628977a0fbf4e637d77afeea | refs/heads/master | 2021-01-23T16:28:20.632923 | 2018-08-07T08:01:51 | 2018-08-07T08:04:51 | 93,299,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,066 | cc | server_config.cc | #include "common/constants.h"
#include "common/exceptions.h"
#include "common/file_utils.h"
#include "yaml-cpp/yaml.h"
#include "yaml-cpp/exceptions.h"
#include "server_config.h"
using namespace std;
template <class T>
static T ParseValue(char const* config_path, string const& name, YAML::Node& value) {
try {
... |
7f803ebafebfc88ae5ecce79b85c5d18df5f2e1b | 4f7c53c128328f294e9b67a4eb00b72c459692e6 | /app/Document/PurchaseDocument/DocumentNKController.cpp | 167dea1ac6c3b6a23134aa180cf62b0e2eaf1370 | [] | no_license | milczarekIT/agila | a94d59c1acfe171eb361be67acda1c5babc69df6 | ec0ddf53dfa54aaa21d48b5e7f334aabcba5227e | refs/heads/master | 2021-01-10T06:39:56.117202 | 2013-08-24T20:15:22 | 2013-08-24T20:15:22 | 46,000,158 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,287 | cpp | DocumentNKController.cpp | #include "DocumentNKController.h"
DocumentNKController::DocumentNKController(QWidget* parent)
{
view = new DocumentNKView(parent, this);
service = new DocumentNKService();
Contractor issuer;
Contractor receiver;
}
/**
Wyświetla okno dokumentu Nota Korygująca.
Zwraca utworzony dokument lub NULL w ... |
9998c436d9f8ad9c00d029c344c80cc8c5502cb0 | 660bbd91d82c86cc4e2d5e576331d74c72fc97f1 | /C++/240/GoTos/main.cpp | 78ce24fc148bb663eb06023f69b34d4621ab8c08 | [] | no_license | lexic92/Practice-Programs | 67d3dc906e7d49b8d3680f0099bd26dc2135d778 | 44da603722b047f77c754e2173de3111416310f9 | refs/heads/master | 2021-01-01T20:01:12.756552 | 2013-04-05T04:02:43 | 2013-04-05T04:02:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 809 | cpp | main.cpp | #include <iostream>
#include <cmath>
#include "main.h"
int main()
{
simpleExample();
whatNotToDo();
}
void whatNotToDo()
{
//The goto statement and it’s corresponding statement label must appear in the same function.
goto skip; // invalid forward jump
int x;
skip:
=
x = 3; // what would this even evaluate to?
... |
9cc84240b3702ccee57a5f2e726025bbec973904 | 009095e774626d71a799880f6f628b81728a3f4c | /src/Account.cpp | bfc19570cc23c5fcfb2c8e939d75c67a33476321 | [] | no_license | guptacharchil/BankSystem | 514081dbe7c86d96f8e925d93f0f133b7a33f747 | b2f3d93421f22b816d463984f842a9c4faf7461a | refs/heads/master | 2020-06-03T06:15:39.210929 | 2019-06-12T02:17:52 | 2019-06-12T02:17:52 | 191,475,855 | 0 | 0 | null | 2019-06-12T01:35:01 | 2019-06-12T01:35:01 | null | UTF-8 | C++ | false | false | 1,130 | cpp | Account.cpp | #include <iostream>
#include "../include/BankSystem/Account.hpp"
Account::Account() //Constructor for initializing values
{
this->holderName = "John Doe";
this->accountNum = "123456789";
this->balance = 0;
}
Account::~Account() //Destructor to free memory when required
{
}
std::string Account::getHolderN... |
afcda626a342c7fb317d9e67b76e926caf909fe6 | c3ad6263554e6b5c8b7c4ff969d9296f708778fa | /HW_Project_13/homework_1573492750/Lesson13_1/Lesson13_1/Lesson13_1/Stack.h | fefff1e344dcf1597da7aea584d2927a4381238f | [] | no_license | Cybr0/C_Cpp__Part-3 | 47b5f4bd1b069e678a08848cdf5e95c4c05b86c5 | 5015c285b6735e7de7b4f84300e585b8f80e2b6c | refs/heads/master | 2022-10-19T05:09:30.976833 | 2020-06-12T12:20:16 | 2020-06-12T12:20:16 | 271,791,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | h | Stack.h | #pragma once
template<class U>
class list_item {
public:
list_item() {
next = nullptr;
prev = nullptr;
}
U data;
list_item<U>* next;
list_item<U>* prev;
};
template<class T>
class Stack {
public:
Stack() { _size = 0; item = nullptr; }
Stack(const std::initializer_list<T>& list);
~Stack() {}
void push(T);... |
db26384576937a959694095d2ee1a0bee7ba4295 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /config/src/model/UpdateConfigDeliveryChannelRequest.cc | 7bc16808bbbcfeb574fae224b051760119f3f7d5 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 5,345 | cc | UpdateConfigDeliveryChannelRequest.cc | /*
* Copyright 2009-2017 Alibaba Cloud 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 required by... |
73e048c90687ee813e7b317e58bcecec2bb0a7c4 | 3f440887531e54b4844fdba5f26954e1c01d8c2e | /vegetation.h | bb4062787056d8e7e6abef21c09740d90dbbe25e | [] | no_license | Jartidelro/FireSpreadModel | 0df39a35020b4b63d243c32709a2025ba1420901 | 7bef98d33e3b2347b62bc139be6b421c26d5ebb6 | refs/heads/master | 2021-01-20T17:02:47.965117 | 2016-06-29T11:49:16 | 2016-06-29T11:49:16 | 62,141,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 163 | h | vegetation.h | #ifndef VEGETATION_H
#define VEGETATION_H
class Vegetation
{
public:
Vegetation();
Parameters* vegArray[gridSize][gridSize];
};
#endif // VEGETATION_H
|
ba255aa5e4d0d00131438dc33dc20d3cdfacea42 | d94aeeb531ca5866f91ef4ee7bd696e2b09be061 | /infoarena/barbar/barbar.cpp | ca246119684d54e5222393aa660a7412426c81f7 | [] | no_license | alexvelea/competitive | ffbe56d05a41941f39d8fa8e3fc366e97c73c2e0 | f1582ba49174ca956359de6f68e26f6b30306a4d | refs/heads/master | 2022-10-20T17:04:25.483158 | 2020-06-18T23:33:25 | 2020-06-18T23:33:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,568 | cpp | barbar.cpp | #include <algorithm>
#include <fstream>
#include <iostream>
#include <queue>
#include <vector>
using namespace std;
ifstream in("barbar.in");
ofstream out("barbar.out");
const int kMaxN = 1005;
queue<pair<int, int> > bfs;
int father[kMaxN][kMaxN], fth[kMaxN * kMaxN], nr_f;
int best[kMaxN][kMaxN];
bool ok[kMaxN][kMax... |
7612a1aba52023c5a3202a26f098cba917d157bd | 7cdeed4073db6c168d51220599ba996803e37b46 | /src/gba/interrupts.cpp | d06fd331be2617a15246c26d1854388bdb66e796 | [] | no_license | OutOfTheVoid/gba_game | 1fb4c2a18764dcb54b972518e0ae212c5f83fbbd | 91c5fcb171eec78550d8094d6743c98976b8586d | refs/heads/main | 2023-02-01T03:40:09.403010 | 2020-12-16T09:46:57 | 2020-12-16T09:46:57 | 321,855,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,494 | cpp | interrupts.cpp | #include "gba/interrupts.hpp"
#include "gba/hal.hpp"
#include "gba/util.hpp"
void ARM_CODE master_isr();
bool block_interrups() {
bool state = GBA_INTERRUPT_MASTER_ENABLE != 0;
GBA_INTERRUPT_MASTER_ENABLE = 0;
return state;
}
void restore_interrupts(bool state) {
GBA_INTERRUPT_MASTER_ENABLE = state ? 1 : 0;
}
v... |
713d01d079f5df76d620e928f7b3ef1b351330d0 | cf648257b8ed25eb5bd4315e7a6d6d6be3cffbbf | /D3DApp/Slider.cpp | ed6e83d8c7d450c3ce54b0d91221db904209e40a | [] | no_license | rahulrajatsingh/TinyGameEngine | e5027702276e11b2601f1c8891896f8c4cfc6102 | a7b7ab25e2bde3bc93d7306b7e9522750e8995c8 | refs/heads/master | 2020-04-02T05:48:02.653912 | 2019-04-29T05:22:09 | 2019-04-29T05:22:09 | 154,106,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 854 | cpp | Slider.cpp | #include "StdAfx.h"
#include "Slider.h"
using namespace GEngine;
Slider::Slider(PlayerSlider slider)
: xPos(0)
, yPos(18) //lets put it in center for now
{
if(PLAYER_ONE_SLIDER == slider)
{
xPos = 1;
}
else
{
xPos = 79;
}
position.lower = yPos;
position.upper = yPos + SLIDE... |
981e55546e49781616105ce52cc705ec52f20d6e | c2a3e92f9253016c52a78c1e6034ef9867ab4946 | /Headers/CameraControls.h | e390866e2d3e49c8f50eb6997fea7dac7289c662 | [] | no_license | AKalf/Shaders-in-OpenGl-using-C- | f43f093b52e54dcfa4fa01122e02a8deab424ec8 | 344c4aaf945f4ca67c061feb8f028083a4eccc59 | refs/heads/master | 2020-04-02T14:27:36.903292 | 2018-10-24T16:13:03 | 2018-10-24T16:13:03 | 154,525,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,631 | h | CameraControls.h |
#ifndef __CAMERACONTROLS_H_INCLUDED__
#define __CAMERACONTROLS_H_INCLUDED__
// Include standard headers
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <string>
#include <sstream>
#include <vector>
// Include GLEW
#include <GL/glew.h>
#include <GL/freeglut.h>
#include <GLFW/glf... |
12ba515f57db296e44dad6ea9d8ce0a062f84b79 | efcb3d05fa4b5a84ccfd3606b7ce85d7a2261735 | /My2DGameEngine/Transform.h | c1e441e59362b88a9c6a266c4739e67c9fea22f7 | [] | no_license | meisamrce/2DGameEgnine | 3eb3feab17aca9b5879ad598f90efd4ebf87be8d | 062773801179998742d1ea3630acd052b732a885 | refs/heads/master | 2023-04-16T07:06:26.787673 | 2021-04-26T15:23:45 | 2021-04-26T15:23:45 | 351,838,494 | 14 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | h | Transform.h | #ifndef TRANSFORM_H
#define TRANSFORM_H
#include "Global.h"
class Transform
{
public:
Transform();
~Transform();
void setPosition(const glm::vec2 &value);
glm::vec2 getPosition() const;
void setScale(float value);
float getScale() const;
void setRotate(float... |
389d698e38bdc1983a3a21752211d08f6adee843 | 55aa6896ec6e891bd0d7485a5dcb19a702bc7b66 | /Codeforces/366a.cpp | 54096ebd6c30bd5d0811d153d841d02099cc0334 | [] | no_license | akkapakasaikiran/Competitive-Programming | 590f0edbe11ed8f89fd2504d98a8e308cb077a62 | 44eb6fb693a7e3b6e0a8afbbbc2ef060d657417b | refs/heads/master | 2020-12-01T04:59:20.116932 | 2020-11-16T21:57:35 | 2020-11-16T21:57:35 | 230,562,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,482 | cpp | 366a.cpp | #include<iostream>
#include<vector>
#include<list>
#include<cmath>
#include<set>
#include<map>
#include<unordered_map>
#include<set>
#include<unordered_set>
#include<stack>
#include<queue>
#include<algorithm>
using namespace std;
#define ll long long
#define st string
#define vi vector<int>
#define vii vector<int>::it... |
6e1283eb422332e4d9f8f84b394c46fe6aea66d0 | 1701ae0cc2c6e54bda999f28a209eee736b60c97 | /MapComponents/MapVariants/NoiseMap.hpp | 1f210597c31545644da067f196fe645ba0b25ed9 | [] | no_license | Afromullet/Colony | 1ae977c94762e9a11f71df54b2691464827d0c4c | 1c50b068eaf4be447434320fc75eabef9c9de209 | refs/heads/master | 2021-05-06T15:39:34.407735 | 2018-12-02T02:26:02 | 2018-12-02T02:26:02 | 113,618,907 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | hpp | NoiseMap.hpp | //
// NoiseMap.hpp
// Colony
//
// Created by Sean on 5/20/18.
// Copyright © 2018 Afromullet. All rights reserved.
//
#ifndef NoiseMap_hpp
#define NoiseMap_hpp
#include <stdio.h>
#include "Map.hpp"
class NoiseMap : public Map
{
public:
NoiseMap();
void Generate_NoiseMap(sf::Vector2i _tileSize,unsigned ... |
b7bce512771b2f43f926efa532a34bdd535792bf | 175e724e9cc27fe3000326c816c6c8a2e8ed5e48 | /jma-receipt.r_5_1_branch/cobol/copy/HCM18V01.INC | 6f58130a582ac8563ebc5f657cf79de4cf9d5fbc | [] | no_license | Hiroaki-Inomata/ORCA-5-1 | 8ddb025ed0a9f7d4ca43503dff093722508207bf | 15c648029770cfd9b3af60ae004c65819af6b4b1 | refs/heads/master | 2022-11-08T13:33:19.410136 | 2020-06-25T13:35:13 | 2020-06-25T13:35:13 | 274,871,265 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,217 | inc | HCM18V01.INC | 01 HCM18V01.
02 HCM18V01-KANANAME PIC X(30).
02 HCM18V01-NAME PIC X(26).
02 HCM18V01-HOSPNAME PIC X(60).
02 HCM18V01-BYOSYOSU PIC X(4).
02 HCM18V01-TOTALTEN PIC X(6).
02 HCM18V01-TOTALMONEY PIC X(10).
02 HCM18V... |
64795f514cc8a1d562208a0bf754b62ea300c355 | 00f545daf7b2199d7231c52bcefa8fdb12a4f89f | /src/pathtracer/CMU462/include/CMU462/misc.h | c9d63685a9ad6f3e4759d1402252beb906beea69 | [
"MIT"
] | permissive | jazztext/VRRayTracing | eec21279cbb59b757248cf2b5d8e9c2827973a23 | 82201cbdbda9330ce4c023a517d18c56d38094dd | refs/heads/master | 2021-01-21T13:57:09.068408 | 2016-05-10T03:19:21 | 2016-05-10T03:19:21 | 55,202,577 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,817 | h | misc.h | #ifndef CMU462_MISC_H
#define CMU462_MISC_H
#include <cmath>
#include <limits>
#include <algorithm>
namespace CMU462 {
#define PI (3.14159265358979323)
#define EPS_D (0.00000000001)
#define EPS_F (0.000001f)
#define INF_D (std::numeric_limits<double>::infinity())
#define INF_F (std::numeric_limits<float>::infinity()... |
4fb0641dc5537332c569465f1d009b746216310f | 79d988f7c9a45944739ac25b5ed5be53d5a785b2 | /src/kernel/mem.cpp | 81ae56c84921e549753985100a8b3810898c9573 | [] | no_license | drgraetz/os | 0d0a586e8e2c4fa5a6b53dc80b1149748c2a0130 | b7a7cff6c6e206a7e2c22f7daf5611a519c269e5 | refs/heads/master | 2020-05-21T16:40:50.712753 | 2016-10-02T16:00:53 | 2016-10-02T16:00:53 | 63,357,837 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,441 | cpp | mem.cpp | #include "kernel.hpp"
/**
* @file
*
* Implements the kernel's memory functionality.
*
* @author Dr. Florian M. Grätz
*/
//#define IS_LOWMEM(x) ((x) < ((uint32_t)&CODE / AddressSpace::MEMPAGESIZE))
//
///**
// * Number of free pages of memory.
// */
//static uint32_t freePagesCount;
//
///**
/... |
1ffa8fdabc5ee36ec489abb418893689a71cda4f | 2b93fc91d32734382ead2f011ceeffab68b19a9b | /08.02.cpp | 0477bbfef344cf992efc4b5a4b19b0bfd7f8e07f | [] | no_license | lionkor/GIP-19-20 | ad0c643486d7dc1d7efceaef35b18a39c9863236 | d779d193dd6432f4dfead84094b3b4a1a79df25a | refs/heads/master | 2020-08-20T21:20:49.907014 | 2020-04-01T11:41:07 | 2020-04-01T11:41:07 | 216,066,976 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,516 | cpp | 08.02.cpp | #include <iostream>
#define CIMGGIP_MAIN
#include "CImgGIP05.h"
struct Box
{
int x;
int y;
int delta_y;
};
const int box_max = 10, box_size = 40;
void draw_boxes(Box boxes[])
{
gip_white_background();
for (std::size_t i = 0; i < box_max; ++i)
{
gip_draw_rectangle(boxes[i].x, boxes[i].y, boxes[i].x + box_siz... |
f50432ce65a667d6460884c41364577f75621942 | e396ca3e9140c8a1f43c2505af6f318d40a7db1d | /unittest/logic_test/Implies_AND_Area_HighToMiddle_and_Low.hpp | 0bc55ff9fbcd8730187db08a5c376a3c9b1b0604 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kenji-hosokawa/rba | 4fb2c8ef84c5b8bf2d80785986abd299c9e76203 | 52a88df64dcfec8165aea32cb3052e7e74a3a709 | refs/heads/master | 2022-12-17T10:23:05.558421 | 2020-07-29T11:03:27 | 2020-07-29T11:03:27 | 274,852,993 | 0 | 0 | null | 2020-06-25T07:19:19 | 2020-06-25T07:19:19 | null | UTF-8 | C++ | false | false | 733 | hpp | Implies_AND_Area_HighToMiddle_and_Low.hpp | // Copyright (c) 2019 DENSO CORPORATION. All rights reserved.
/**
* Implies_AND_Area_HighToMiddle_and_Low.hpp
*/
#ifndef IMPLIES_AND_AREA_HIGHTOMIDDLE_AND_LOW_HPP
#define IMPLIES_AND_AREA_HIGHTOMIDDLE_AND_LOW_HPP
#include <string>
#include "gtest/gtest.h"
#include "RBAArbitrator.hpp"
#define JSONFILE "Implies_AND... |
33456dd4e315dda818e4e2752e6bb1097944d67e | 767b47db951c27c5b0f73795c9803bb3a207b895 | /deps.win32/include/live555_bak/liveMedia_version.hh | 85ad99b21136aae3d104c329bc3804f39f317497 | [
"BSD-3-Clause"
] | permissive | OpenVisualCloud/Cloud-Gaming-Windows-Sample | 6e4d13cbe641dbef2c9848978459e688df36ae24 | 34e5159baed94b9e45acc47d66c31f80969bfae2 | refs/heads/master | 2023-02-16T05:31:25.892275 | 2023-01-30T15:14:36 | 2023-01-30T15:14:36 | 194,909,729 | 50 | 19 | null | null | null | null | UTF-8 | C++ | false | false | 294 | hh | liveMedia_version.hh | // Version information for the "liveMedia" library
// Copyright (c) 1996-2015 Live Networks, Inc. All rights reserved.
#ifndef _LIVEMEDIA_VERSION_HH
#define _LIVEMEDIA_VERSION_HH
#define LIVEMEDIA_LIBRARY_VERSION_STRING "2015.02.05"
#define LIVEMEDIA_LIBRARY_VERSION_INT 1423094400
#endif
|
afd89bcdc999bd1ae207b95ab6feb51030851387 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /ash/webui/eche_app_ui/url_constants.h | 6dd8cafce5e967a8ce4324847b9ee6335f9694f0 | [
"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 | 550 | h | url_constants.h | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_WEBUI_ECHE_APP_UI_URL_CONSTANTS_H_
#define ASH_WEBUI_ECHE_APP_UI_URL_CONSTANTS_H_
namespace ash {
namespace eche_app {
extern const char kChromeUIEcheAppHost[];
e... |
0f187ea445d63ae3652ae923f3ca76e13192bdf0 | 06bd829a0b316ff1a8b54b4fc1bb88c73a4fc68f | /数组/388.第 k 个排列.cpp | 8656372dbc979aa313ec21af27b7a2b2538a9419 | [] | no_license | LiuYu0521/lintcode | 148e763294f478f50858f8053cacf5478b5c60b4 | 97c90a2065c6bf6df76c43211af0db2da528b965 | refs/heads/master | 2021-01-22T21:53:32.924735 | 2017-08-13T02:51:25 | 2017-08-13T02:51:25 | 92,742,383 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | cpp | 388.第 k 个排列.cpp | class Solution {
public:
/**
* @param n: n
* @param k: the kth permutation
* @return: return the k-th permutation
*/
string getPermutation(int n, int k) {
string res;
string num = "123456789";
vector<int> f(n, 1);
for(int i = 1; i < n; i++)
f[i... |
18155c991096437b1c40cccc5ef70e8e8d06e407 | 9ada6ca9bd5e669eb3e903f900bae306bf7fd75e | /case3/ddtFoam_Tutorial/0.005400000/fH | bf1aabc8a2c4b66eab1f8294b1bcc063cb729d6d | [] | no_license | ptroyen/DDT | a6c8747f3a924a7039b71c96ee7d4a1618ad4197 | 6e6ddc7937324b04b22fbfcf974f9c9ea24e48bf | refs/heads/master | 2020-05-24T15:04:39.786689 | 2018-01-28T21:36:40 | 2018-01-28T21:36:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123,513 | fH | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
... | |
0a8d07a60fb7d67563e4bb53f2197fb311f25a54 | 4ff113df2895e5909efb79d118b7bd005ab56f15 | /ArraysMossman.cpp | 4660b52e536cca0d7256a48e4b550e8ff6ea583c | [] | no_license | VincentMossman/highSchool | 8f3865fc51d57b890ae90b8418ed58279796bb21 | d3daca035486662ea46c0cbad81ddc467f217e4a | refs/heads/master | 2020-03-12T17:49:46.552660 | 2018-04-23T19:34:01 | 2018-04-23T19:34:01 | 130,745,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,027 | cpp | ArraysMossman.cpp | /* Vincent Mossman
Arrays
March 11, 2013
User is prompted for filename of file containing list of 25 integers and several operations are performed.
*/
#include <iostream>
#include <iomanip>
#include <math.h>
#include <fstream>
using namespace std;
//Constants:
const int ARRAY_SIZE = 25;
const int F... |
44266ff9846f1327a86a2d6a51931baf5dd468a6 | c2432fecf3cc2a9a0412fcc9ec91a21fcd539d49 | /Paint3D-master/icosahedron_glcpp.cpp | 1d098fd2824fad48e81508840ba42d8b2f2273cf | [] | no_license | buichidunggithub/Computer-Graphics-Lab | 860231099e54ae7aaaf147c73aabc2ffb34bfdd4 | 5a5f235e2e6dfbea6b25b7fbf084f50a1b7e47c3 | refs/heads/master | 2022-12-21T14:49:34.026477 | 2020-09-21T07:01:08 | 2020-09-21T07:01:08 | 297,242,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 488 | cpp | icosahedron_glcpp.cpp | #include <GL\glew.h>
#include <GL\freeglut.h>
#include <cmath>
#include "icosahedron_gl.h"
IcosahedronGL::IcosahedronGL() : PolygonGL() {
}
IcosahedronGL::~IcosahedronGL() {
}
void IcosahedronGL::render() {
glPolygonMode(GL_FRONT, this->frontFaceMode);
glPolygonMode(GL_BACK, this->frontFaceMode);
glColor3f(thi... |
590dcf059fcf078bce6c1c5c073a1fcb9a4ecf9c | 92e6a6a3d89f1d241afd839a00e4f10485b87c1b | /Source/FinalProject/AgentController.h | dd51635b585e40670f5b1e9a20e9fab4e9383e5f | [] | no_license | bexedmondson/FinalProject | 348a1854cf9cff0aacbce4306cdf9c1dc1313b62 | 2e7425d99d42a1ed631bbf3fffc690c0626f3e57 | refs/heads/master | 2021-01-17T10:21:28.175445 | 2016-04-18T14:48:26 | 2016-04-18T14:48:26 | 48,063,396 | 0 | 0 | null | 2016-06-01T16:53:42 | 2015-12-15T19:09:53 | C++ | UTF-8 | C++ | false | false | 882 | h | AgentController.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Agent.h"
#include "AIController.h"
#include "AgentController.generated.h"
/**
*
*/
UCLASS()
class FINALPROJECT_API AAgentController : public AAIController
{
GENERATED_BODY()
public:
AAgentController(const FOb... |
5d621009d991cf9f71ca80fb4b9e6e1deda677df | d49d348f33bf1264b4a6fbc16c84a739e7a7f7e4 | /lab12/class1.cpp | 3ec72dbbd9727b472cb55dd3a2be612dcbdac6c9 | [] | no_license | AndreyKnot/Andrey-Tatarenko | d9469ad128032e9209c1e93f11d0b00f3787d10e | 8e1c2da14d48f5cd8678866fd565c49a6dd8b84f | refs/heads/master | 2020-12-28T01:48:36.781502 | 2020-06-26T12:56:55 | 2020-06-26T12:56:55 | 238,141,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,455 | cpp | class1.cpp | #include "class1.h"
string Student::get_info() const
{
stringstream temp;
temp.setf(std::ios::left);
temp << setw(10) << age << setw(8) << number_stud << setw(16) << middle_mark << setw(9)
<< name << setw(7) << debt << setw(14) << prog_d;
return temp.str();
}
int Student::get_numb() const
{
return number_st... |
c764c65aa657fb14778974ce751960903c03128e | 75fc5b7b4ecb02d5954473bbee225410ca4138cd | /src/shaderman.cpp | 3729c9244cb59b0875beb07478c3bb1762906823 | [] | no_license | ngeorge337/Danimator | a10d08a51745fe90a6a8002a78c804936463473c | ae5ac016a02fe2a414520dece749b2e50d51167b | refs/heads/master | 2021-01-01T19:21:47.033924 | 2017-07-29T02:50:01 | 2017-07-29T02:50:01 | 98,568,341 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,217 | cpp | shaderman.cpp | #include "libs.h"
#include "util.h"
#include "static.h"
#include "file.h"
#include "configfile.h"
#include "ccmd.h"
#include "cvar.h"
#include "console.h"
#include "token.h"
#include "strmanip.h"
#include "resrcman.h"
#include "shaderman.h"
void ShaderManager::UnloadAll()
{
shadermap.clear();
}
void ShaderManager::R... |
3c4f68b26ba946dc8edd65dace996c4c8e23e09a | 4577107bc37a84954c28405fd8e3d49c57874806 | /core/core_sub_thread.h | bca683e94ebc616146180946b6cbfa3332883607 | [] | no_license | kenlist/dht-fetcher | 6fa1fa94a772b15236ced8f25d2368532f335f17 | 14296ae5f12c0a7bf95a081cac91f0db519be373 | refs/heads/master | 2021-01-01T17:16:04.712363 | 2014-07-18T03:11:15 | 2014-07-18T03:11:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 626 | h | core_sub_thread.h | #ifndef DHTFETCHER_CORE_CORE_SUB_THREAD_H_
#define DHTFETCHER_CORE_CORE_SUB_THREAD_H_
#include "base/basictypes.h"
#include "thread/core_thread_impl.h"
class NotificationService;
class CoreSubThread : public CoreThreadImpl {
public:
explicit CoreSubThread(CoreThread::ID identifier);
virtual ~CoreSubThread();
... |
3c0f58422967595ee0078009608bd411d48422a7 | 30dba492e0b01acb893d12093c8032bdd8ac7fa1 | /src/device_driver/MT9V034.cpp | 4f210e81cc417dc1197149eddcee3bcdf7187840 | [] | no_license | danlee1213/Intelligent_Racing_Project | ad5f4733530f44adca4a860ffa3515b033f9ee89 | 329084cfcd26b3455cad0ff18382cc66278bc9d4 | refs/heads/main | 2023-04-25T10:51:39.693857 | 2021-05-10T08:03:22 | 2021-05-10T08:03:22 | 352,883,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,123 | cpp | MT9V034.cpp | /*
* MT9V034.cpp
*
* Created on: Sep 15, 2018
* Author: LeeChunHei
*/
#include "device_driver/MT9V034.h"
#include "driver/soft_i2c_master.h"
#include "driver/hard_i2c_master.h"
#include <assert.h>
#ifdef MT9V034_USED
namespace DeviceDriver
{
__attribute__((section("NonCacheable,\"aw\",%nobits @"))) stati... |
3db516c6afd3cc675b9efb584254894cdad5db9e | 91eaf3f580d2d700266203c37375c91a9575fcca | /Shapes-by-point.cpp | bd65286a663373663c9fa6b16a90c7c29006fa02 | [] | no_license | EishaAnwar/OOP-Tasks | 2106627121db7724da9bf20b7658c6a5e339c8e7 | 7d65ec1eb84be07137833ed18642fe38f3568dec | refs/heads/master | 2022-12-06T08:15:11.756267 | 2020-09-01T14:56:26 | 2020-09-01T14:56:26 | 213,025,122 | 1 | 3 | null | 2020-09-01T14:56:28 | 2019-10-05T15:38:57 | C++ | UTF-8 | C++ | false | false | 2,118 | cpp | Shapes-by-point.cpp | //This file contains the 'main' function. Program execution begins and ends there.
//
#include "pch.h"
#include <iostream>
using namespace std;
class shape
{
protected:
double area;
double volume;
public:
virtual double cal_area()=0; //abstract area function of base class
virtual double cal_vol()=0; ... |
d8787e6f85b01f60232d1226ccc5063e6a0a9aee | c356ad9aa464a851427a4f5eaceb0e0bde4ab351 | /Algorithms/Lexical Analysis/Partition_Method_Minimization_DFA/src/Partition.h | 6c3c5f6759385b2866f4030b1f46eb4f9f087f7f | [] | no_license | jorge-luis-ibanez-canales-2019630541/Compiladores2021B | 69582379f32defae8b4c7729a9ddea2c0205725a | d195ec8fc74129c8f4f9932cd1dd4deff54af108 | refs/heads/main | 2023-06-09T01:20:12.619880 | 2021-06-23T22:01:44 | 2021-06-23T22:01:44 | 375,504,845 | 0 | 1 | null | 2021-06-23T08:27:53 | 2021-06-09T22:31:06 | C | UTF-8 | C++ | false | false | 411 | h | Partition.h | #ifndef _PARTITION_
#define _PARTITION_
#include<set>
#include<vector>
#include "../../Automaton/State.h"
#include "EquivClass.h"
using std::set;
using std::vector;
class Partition: public vector<EquivClass>{
private:
public:
Partition() {}
Partition(vector<EquivClass> classes) { th... |
df4a8fbf9e710a8e66658da12283d902cca6bf9a | 6f80725456e91d83cc22bd515a8a636460085039 | /baekjoon/2533.cpp | 5cc3b11d2d514bd00dcdb361b17a48a8bb81b24a | [] | no_license | greedy0110/algorithm | 6061c9b48d93eb70b0dda6f40128325dee534047 | ce205f04d29a9d6d6d98060bf92aa5511eb09418 | refs/heads/master | 2023-09-04T16:06:33.552642 | 2021-11-10T00:59:39 | 2021-11-10T00:59:39 | 279,033,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,810 | cpp | 2533.cpp | //
// Created by 신승민 on 2021/09/15.
//
#include <bits/stdc++.h>
using namespace std;
#define RP(i, X) for (int i=0; i<((X)); i++)
#define all(X) begin((X)), end((X))
#define endl '\n'
#define custom_pq(X) priority_queue<X, vector<X>, X>
typedef vector<int> vi;
typedef vector<bool> vb;
typedef vector<vi> vvi;
typede... |
eb9042e9c99deac2116f32e5a1ed1271681f0bd0 | a52f9f1165a97a161e371e5d2c72fdd61593341f | /external/pcl/include/pcl/PSFFit.h | a4b8e762a1fe4ef19b881a82c818290981d99b33 | [
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"Zlib",
"MIT"
] | permissive | AstrocatApp/AstrocatApp | 3c27d7b1c1413dbc531f8ed973da3d3d525f59ff | 0b3b33861260ed495bfcbd4c8601ab82ad247d37 | refs/heads/master | 2023-08-12T01:07:57.961008 | 2021-05-25T05:15:24 | 2021-05-25T05:15:24 | 335,548,027 | 2 | 1 | MIT | 2021-10-07T05:15:50 | 2021-02-03T07:53:32 | C++ | UTF-8 | C++ | false | false | 17,223 | h | PSFFit.h | // ____ ______ __
// / __ \ / ____// /
// / /_/ // / / /
// / ____// /___ / /___ PixInsight Class Library
// /_/ \____//_____/ PCL 2.4.7
// ----------------------------------------------------------------------------
// pcl/PSFFit.h - Released 2020-12-17T15:46:29Z
// -----------------------------... |
c0c0b70dc82ca93dcace2bdb33abe6c15b92d669 | d93e3a6c448a1cad7fd52b3ed8de12891a7e0f01 | /exprVal.cpp | e67b3793e076a13af343fc1207392df30a685f58 | [] | no_license | QuentindeA/TP_Comp | f8ffb4829c8fa359eb82e4c84f8425b61e75e870 | 5e31496f4bedcbead02ad0e7be3a4d118a8e715e | refs/heads/main | 2023-03-09T18:52:20.496812 | 2021-02-23T16:54:52 | 2021-02-23T16:54:52 | 341,462,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 73 | cpp | exprVal.cpp | #include "exprVal.h"
int ExprVal::eval()
{
return e->GetValeur();
}
|
2b7eedd20beba968da0e66b814adce46298696a8 | 0eff6819bcada5724f8b1afcc530200c48874d1a | /Bookkeeping.h | 9d271be263e22839d79fda2060461508b683339e | [] | no_license | gwenbleyd/-library_information_system | a4af8cee4faacacb11d3f58acb32715d9084d533 | 2890a6b4fd27c3e1c24186d3fd3aae2e2ac3d68d | refs/heads/master | 2023-05-31T18:39:15.694477 | 2021-07-07T21:51:47 | 2021-07-07T21:51:47 | 306,790,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,424 | h | Bookkeeping.h | #pragma once
#include <iostream>
#include <mysql/mysql.h>
#include <nana/gui/widgets/listbox.hpp>
#include "Book.h"
#include "Author.h"
#include "Adress.h"
#include "Reader.h"
#include "Librarian.h"
#define HOST "127.0.0.1"
#define USERNAME "root"
#define PASSWORD "ak260800"
#define PORT 3306
#define DB_NAME "bookkee... |
1a72fe5805cbd7cb6c5713072e36d048397041e8 | a23087bc0ce8a846cd6fab3882be9b3488ba4189 | /bones/core/events/event_handler.cpp | a75ae42fb43b195248196915aed53c1a81ae1549 | [] | no_license | jvont/bones | d5670cab71c21139fb61704acfd671383e3c5743 | 3bcf286d5ee2ea6e0d152a565a7f7f4b2c5e1473 | refs/heads/main | 2023-09-04T11:47:59.089290 | 2021-10-05T22:25:32 | 2021-10-05T22:25:32 | 413,957,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 800 | cpp | event_handler.cpp | #include <core/debug/log.h>
#include <core/events/event_handler.h>
namespace bones
{
EventHandler::~EventHandler()
{
if (parent != nullptr)
{
parent->remove_handler(this);
}
}
void EventHandler::add_handler(EventHandler* handler)
{
if (handler->parent == nullptr)
{
... |
c6e61808b812b8bf1e29ee5cbdc0aa29577d90eb | c8bd1c43245e0af3cc6c12f503a29801601f815c | /strassen2.cpp | 7fdc8fdb47305fd5a20f28e8a756102b7aac62b0 | [] | no_license | Shaleengovil25/sturdy-disco | 3d8eb5f4a9bb688cdbea45df8a467edaa01b20c6 | 4b2afcc9b525dd2a264f46c78e675bc065cadfcf | refs/heads/master | 2022-12-30T08:59:07.944275 | 2020-10-01T05:23:06 | 2020-10-01T05:23:06 | 300,154,443 | 0 | 1 | null | 2020-10-05T05:22:53 | 2020-10-01T05:20:37 | HTML | UTF-8 | C++ | false | false | 3,376 | cpp | strassen2.cpp |
#include<stdio.h>
#include<conio.h>
#include<math.h>
int power(int);
int strassen(int *, int *, int *, int, int);
int main()
{
int i,j,k,n1,n2,n3,n,m;
/*Input first matrix*/
printf("Enter the order of the 1st Matrix (rows and columns):");
scanf("%d%d",&n1,&n2);
int A[n1][n2];
printf("\nNow e... |
3cf81dbe347b83e9db675df58eb8e8eb331acc3b | ffe7f4beff4725aa53884098d7f211c2079ab5d3 | /AfxHookGoldSrc/mirv_output.cpp | 48c190865fa2a0951f43a5f44ab5129573acefd1 | [
"MIT"
] | permissive | advancedfx/advancedfx | 3135dca4431bf999ba0a15d5f856cbe31c95ac08 | f82427d24a933f666595f02ddf033006e8ddd150 | refs/heads/main | 2023-09-06T01:57:25.899101 | 2023-09-01T18:15:39 | 2023-09-01T18:15:39 | 89,074,083 | 496 | 100 | MIT | 2023-08-19T11:57:33 | 2017-04-22T14:05:48 | C++ | UTF-8 | C++ | false | false | 1,905 | cpp | mirv_output.cpp | //#include "stdafx.h"
// Copyright (c) by advancedfx.org
//
// Last changes:
// 2010-01-11 dominik.matrixstorm.com
//
// First changes
// 2010-01-11 dominik.matrixstorm.com
// BEGIN HLSDK includes
#pragma push_macro("HSPRITE")
#define HSPRITE MDTHACKED_HSPRITE
//
#include <hlsdk/multiplayer/cl_dll/wrect... |
aa0d83ec64eb84366c545dfe71930b27ab5d0a50 | af3d0cafc723f3816c797f0b908fc5ef9c948300 | /include/evb/readoutunit/SuperFragment.h | 90a2c23c8b19a82320b9f763112118f8ad9c10a7 | [] | no_license | mommsen/evb | ff1865488b580ba0219200d881ce4c7a5f45f6a8 | 15803ee11d08091ba5d806dac45e32225f0ffcd7 | refs/heads/master | 2021-01-23T18:31:55.490678 | 2018-12-17T15:16:39 | 2018-12-17T15:16:39 | 9,771,450 | 0 | 0 | null | 2018-07-06T07:53:56 | 2013-04-30T13:20:53 | C++ | UTF-8 | C++ | false | false | 1,455 | h | SuperFragment.h | #ifndef _evb_readoutunit_SuperFragment_h_
#define _evb_readoutunit_SuperFragment_h_
#include <boost/shared_ptr.hpp>
#include <stdint.h>
#include <vector>
#include "evb/EvBid.h"
#include "evb/readoutunit/FedFragment.h"
namespace evb {
namespace readoutunit {
/**
* \ingroup xdaqApps
* \brief Represe... |
a5fa99b8f53f1ab971cfde80af0b86540a7c5299 | c2560f1da3847fdb915834b10e91eab6a7170909 | /Nayda/MessagesDefinitions.h | e78cf766dbc9d8cfaa309c8f953aded624df0651 | [] | no_license | Mar94oK/Nayda | f4227ae92a417b5453e26d5a727360d04b26e1e7 | 8c22901752e4f2e29e786355329e7ad833e68a03 | refs/heads/master | 2021-01-17T08:51:41.061474 | 2018-12-01T14:41:20 | 2018-12-01T14:41:20 | 83,962,734 | 0 | 1 | null | 2018-12-01T14:41:21 | 2017-03-05T10:43:42 | C++ | UTF-8 | C++ | false | false | 4,534 | h | MessagesDefinitions.h | #ifndef PROTOBUFMESSAGESIDENTIFICATORS_H
#define PROTOBUFMESSAGESIDENTIFICATORS_H
#include <QString>
#include "gamesettings.h"
namespace MessageSystem {
}
enum class MessageSubSystems
{
CONNECTION_SUBSYSTEM = 0,
GAME_ACTIONS_SUBSYSTEM = 1,
GAME_NOTIFICATION_SUBSYSTEM = 2
};
enum class ConnectionSubSys... |
460916e2b414254e96ef10929eb4fd0a89218a1b | c4a70a2ef03ee4b89b61b4c6d65a3898b1133958 | /vol102/10226_HarwoodSpecies.cpp | 90746fadc9f9795761e87e44e12bed1edfb92f4b | [] | no_license | GonzaloCirilo/UVa | 40803053f26aba966e95e6d08c44cb6dee294651 | 2f106aa76ef5bb9471b747322302fad3051de7d7 | refs/heads/master | 2023-04-13T05:08:57.704904 | 2023-04-06T20:06:09 | 2023-04-06T20:06:09 | 98,001,587 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 842 | cpp | 10226_HarwoodSpecies.cpp | #include <stdio.h>
#include <string>
#include <algorithm>
#include <unordered_map>
#include <vector>
using namespace std;
int main() {
int t;
char token;
scanf("%d\n\n", &t);
int aux = t;
while (t--) {
if (t != aux - 1)printf("\n");
unordered_map<string, int> dict;
vector<string> ss = vector<string>();
int... |
00a84bcfd9cfb9b4c667907a67bfe5e8d3f7eb9e | 37867f639363ab2f188028dc158b483b6e6b81f3 | /Src/BaseSubsystems/ScriptManager.h | 34bc1e9ae1f08c9bbbc8ca4d02f5abdc6f76039f | [] | no_license | ailuoxz/BadPrincess-Game | 704143bcafe1205a2ccdd7dbd68ed284c6fa1d76 | 47caae1a03fdfe8058260e44add25fd8e89f99c3 | refs/heads/master | 2021-12-14T15:13:50.974644 | 2017-05-04T16:31:22 | 2017-05-04T16:31:22 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,492 | h | ScriptManager.h | //---------------------------------------------------------------------------
// ScriptManager.h
//---------------------------------------------------------------------------
#ifndef __ScriptManager_ScriptManager_H
#define __ScriptManager_ScriptManager_H
#include <string>
#include <vector>
// Predeclaración de clas... |
90e635292596f6c0ff50596d59d2d0d8180d12c9 | da5c296a579f71dbfdbc4470e4327d4701c06cf0 | /student.h | 6d2870c9c7fde50bc518417d6e315bd456203765 | [] | no_license | niman565/Sorting_Algorithms | 3e7ebd863696a2b0ccf5756b9407663f4b19d426 | 6d479a7bf962b3f0800754949506a2334a7ff0ab | refs/heads/master | 2020-04-19T15:01:34.297591 | 2019-01-30T02:26:07 | 2019-01-30T02:26:07 | 168,262,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,462 | h | student.h | #include <iostream>
#include <string>
#include <exception>
#ifndef STUDENT_H
#define STUDENT_H
class Student{
friend class StudentRecord;
private:
int score; //score given to student by professor
int id; //identification number of the student
std::string name; ... |
82f669987868a1eb265bd0633c45108a78097f9b | 2186bcabd536ea456fa1e558fdb9f1ce77aa26b2 | /p2/src/generator/controlpoints.cpp | 3008e1144947964d9bd20c328b8a6359ebfeda13 | [] | no_license | Kaixi26/CG_Trabalho | 3c68b7d55facbee60ce3868e7f7de2b1bcded383 | c69bd632a47eb004bbfa45e52f07874c1210a5f1 | refs/heads/master | 2022-07-28T09:27:42.541592 | 2020-05-24T17:41:08 | 2020-05-24T17:41:08 | 241,995,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | cpp | controlpoints.cpp | #include "controlpoints.h"
ControlPoints::ControlPoints(std::array<Point, 4> p) : p{p} {}
Point ControlPoints::evalBezier(float t){
return Point(
t*t*t*p[3].x + 3*t*t*(1-t)*p[2].x + 3*t*(1-t)*(1-t)*p[1].x + (1-t)*(1-t)*(1-t)*p[0].x
, t*t*t*p[3].y + 3*t*t*(1-t)*p[2].y + 3*t*(1-t)*(1-t)*p[1].y + (... |
5ac6066e2c85d22d9de90c5c853b313bdeff2679 | 22afbecdcfddb3d8207288d86567db6e67d53d8d | /Code/WebserverTest3/WebserverTest3.ino | c72d691c5c6860bdbc65d21f6c860a1869deabe4 | [] | no_license | JantonDeluxe/luft-waffle | d67c148c757044cf3147525326a4ba2cc57580b3 | 7c0a1c9332c1d453b9724ab353657c6ed63d66c6 | refs/heads/master | 2020-07-04T15:17:46.853073 | 2020-04-15T14:12:04 | 2020-04-15T14:12:04 | 202,322,626 | 2 | 1 | null | 2019-10-23T12:34:31 | 2019-08-14T09:50:51 | C++ | UTF-8 | C++ | false | false | 5,744 | ino | WebserverTest3.ino | /* Höhenmesser 2.0
Projektseite:
-------------
https://jantondeluxe.github.io
Hardware:
---------
Board: WEMOS D1 mini pro V1.0
Altimeter: Bosch BMP180
Display: GM009605 OLED
D1 mini Data logger shield mit DS1307 RTC
Disclaimer:
-----------
Basiert teilweise auf dem Sketch BMP180_altitude_e... |
cad326f9793539679760a67ac808cdacd60ae764 | cdf36db8dee0a1ce68e41e2cd2db8ddf0c038d3d | /butano/include/btn_span_fwd.h | ae4e7d9e4d54091eba2dfcbd613a1c4161cb4186 | [
"Zlib"
] | permissive | cjiajiazhuiqiu/butano | f594736208e363e3cb22551797f3d7d9bb8cc37c | ac6cccfeeaeb4d6f3acb4de04a43bf8cefd4b042 | refs/heads/master | 2023-01-14T00:58:30.230050 | 2020-11-15T09:43:50 | 2020-11-15T09:43:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | h | btn_span_fwd.h | /*
* Copyright (c) 2020 Gustavo Valiente gustavo.valiente@protonmail.com
* zlib License, see LICENSE file.
*/
#ifndef BTN_SPAN_FWD_H
#define BTN_SPAN_FWD_H
/**
* @file
* btn::span declaration header file.
*
* @ingroup span
*/
#include "btn_common.h"
namespace btn
{
/**
* @brief Refers to a contiguo... |
e56909c72d7d6d6e5c70e6cdd3886214e9b260ba | 8028c77435920a39892a421fca1e444a5fd9eacc | /apps/lgc/fsw/src/lgc_app.cpp | 78bf0a56ac6dd27d88dfc2d71759ace107d72dac | [
"BSD-3-Clause"
] | permissive | WindhoverLabs/airliner | fc2b2d59c73efc8f63c6fb8b3c4e00c5fddcc7c7 | 2ab9c8717e0a42d40b0d014a22dbcc1ed7ec0eb1 | refs/heads/integration | 2023-08-04T06:01:53.480641 | 2023-07-31T03:22:06 | 2023-07-31T03:22:06 | 332,887,132 | 9 | 2 | null | 2023-07-31T02:58:48 | 2021-01-25T21:21:52 | C | UTF-8 | C++ | false | false | 20,093 | cpp | lgc_app.cpp | /************************************************************************
** Includes
*************************************************************************/
#include <string.h>
#include "cfe.h"
#include "lgc_app.h"
#include "lgc_msg.h"
#include "lgc_version.h"
#include "px4lib.h"
#include "px4lib_msgids.h"
/* * *... |
636807c128674b32c27801a344ab453767ef6afe | 92e67b30497ffd29d3400e88aa553bbd12518fe9 | /assignment2/part6/Re=110/30/phi | a0ef0f6809b681c93c7ee4eeb85897d765a9f927 | [] | no_license | henryrossiter/OpenFOAM | 8b89de8feb4d4c7f9ad4894b2ef550508792ce5c | c54b80dbf0548b34760b4fdc0dc4fb2facfdf657 | refs/heads/master | 2022-11-18T10:05:15.963117 | 2020-06-28T15:24:54 | 2020-06-28T15:24:54 | 241,991,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,980 | phi | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | |
d65b82285ad5f85813b880206f44dbd648dd7990 | 81eeb1b0ea8722a73ddaa18f8b914b981a9e18e3 | /rx90/rx90_control/src/main_publisher.cpp | f4f52d90716412fc9651961985c6814824e830d6 | [] | no_license | zlmone/TERRINet | 9b750220f1dcce15bb839d5a635ddbdd90c18a45 | 89a830c48335b6fb37b8e2472bff040408247fc3 | refs/heads/master | 2023-07-09T02:09:03.539347 | 2019-12-02T10:46:35 | 2019-12-02T10:46:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,950 | cpp | main_publisher.cpp | #include "ros/ros.h"
#include "std_msgs/Float64.h"
#include "stdio.h"
#include <sstream>
#include <thread>
#include "gazebo_msgs/ApplyJointEffort.h"
#include "std_msgs/Duration.h"
#include "std_msgs/Time.h"
int main(int argc, char **argv)
{
ros::init(argc, argv, "publisher");
std_msgs::Float64 msg;
msg.data = 0... |
ca355c4a09cc272d05fa30fa2185b9cac754249d | 6e396c0f4bc60265c35fff2b78abf706b2b56b41 | /pass/instrument/ptauthpass.cpp | e800abdcfd454affefdf7174bd5ce8f73ec6bc9d | [] | no_license | RiS3-Lab/PTAuth | 0603cb7af2fc376ceadd39c0898106d0b14728a7 | 6013c22d2f93f64748c503b773fb9701803ae00b | refs/heads/master | 2023-06-03T05:38:21.859845 | 2021-07-02T22:36:42 | 2021-07-02T22:36:42 | 381,856,323 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 8,303 | cpp | ptauthpass.cpp | #include "llvm/Pass.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/CallSite.h"
#include "llvm/IR/Attributes.h"
#include "llvm/IR/LLVMContext.h"
#include <set>
#include <malloc.h>
#i... |
b3eac1259c1f9220b3004eb352c8392307d57efa | 81463233d639e9782a5f5185b68bb1eb0cde83f7 | /AIPlayer.h | 7db7fe41933aaa1d305af59f063ef5db67c3a7b5 | [] | no_license | Acuratus/ait-checkers | 3cf37d84f8322f8dc6f9b1347c0bf11cf5118c5b | 889bb300a97bb4df120b88a5d0ed569f03fa6a77 | refs/heads/master | 2020-05-17T14:51:37.635183 | 2008-12-17T08:31:10 | 2008-12-17T08:31:10 | 37,693,001 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | h | AIPlayer.h | /*
********************************************************
* Filename: AIPlayer.h
********************************************************
* Created on: Nov 5, 2008
* Author: marc
********************************************************
*/
#ifndef AIPLAYER_H_
#define AIPLAYER_H_
#include "Player.h"
#i... |
877c9e1a88f4c85f7957182dcea7b0627b559da7 | c29e9d984244dc7d1addaaa8c1fe061c743e3dbd | /second time/PAT A1155.cpp | 982c3908b6a120d9137ad0dc1ce153bc927cd13b | [] | no_license | KaihongGo/PAT | b596519a74ff9e5ce508b95fe05070a551896fa1 | 3b9d80681694aedf33e7f355cb684576156811c4 | refs/heads/master | 2023-01-09T07:56:18.829829 | 2020-11-02T13:05:39 | 2020-11-02T13:05:39 | 304,880,027 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | cpp | PAT A1155.cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
const int MAXN = 10010;
int heap[MAXN];
int n; // n elements
vector<int> path;
void DFS(int root)
{
if (root <= n && root * 2 > n)
{
path.push_back(heap[root]);
for (int i = 0; i < path.size(); i++)
{
... |
4727adeda5803c0559b631fdde99484d4cf97372 | 59b2600c91c87672dc4792461aeb459668794e94 | /zybo/ROOT_FS/app/ad-sample/include/Theta.hpp | 19f7ded55da5bb59787e8a0a46c96bb1943d3280 | [
"MIT"
] | permissive | 19j5150/ad-refkit | f4ca7a0efec6729c807b96023046880f68e2e096 | 69ef3a636326102591294eaabd765b55cab28944 | refs/heads/master | 2023-06-08T12:10:55.657174 | 2021-07-01T07:15:37 | 2021-07-01T07:15:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,071 | hpp | Theta.hpp | /**
* Theta: 弧度法で角度を表現するクラス
*
* Copyright (C) 2019 Yuya Kudo.
* Copyright (C) 2019 Atsushi Takada.
* Authors:
* Yuya Kudo <ri0049ee@ed.ritsumei.ac.jp>
* Atsushi Takada <ri0051rr@ed.ritsumei.ac.jp>
*
*/
#ifndef INCLUDE_THETA_HPP_
#define INCLUDE_THETA_HPP_
#include <cmath>
#include <algorit... |
606755d0888e73374131fc9430b638311b726234 | b770387df67108cd598b764ce11ef3223e91e836 | /testProject/MyEventHandler.cpp | 695a08c0155d6c48d14495c9e09f395dc87e112d | [] | no_license | MeLikeyCode/QtGameEngine | 45678cfcc89ef34eefe6b6f2b2e77bbef5576947 | 4f386f0f40b620d4351baf9b124371991fc6af94 | refs/heads/master | 2022-10-19T04:42:42.554122 | 2020-05-20T00:03:53 | 2020-05-20T00:03:53 | 114,507,663 | 115 | 35 | null | 2022-10-06T01:59:42 | 2017-12-17T03:51:42 | C++ | UTF-8 | C++ | false | false | 1,219 | cpp | MyEventHandler.cpp | #include "MyEventHandler.h"
#include "qge/Game.h"
#include "qge/MeleeWeaponSlot.h"
#include "qge/TopDownSprite.h"
#include "qge/Entity.h"
#include "qge/Map.h"
#include "qge/ECBodyThruster.h"
extern qge::Entity* player;
EventHandler::EventHandler(qge::Game *forGame): game_(forGame)
{
QObject::connect(forGame, &qg... |
655da18a415ee6fdb99be06d9ead18c7aa855a69 | 7032972f5ebbaf8ecb60da0a95bf16ea3e592633 | /Barrage/bcg/inc/BCGPShowAllButton.h | 065c623b474da0d75b09f014e67f492b083de604 | [
"Apache-2.0"
] | permissive | luocheng610/Douyu_BarrageAssistant | 817086abd75c58bfa68228697fa7aa786325ed82 | b2ce4f49cc76e7c95b1383ecb1b5e37452b8da04 | refs/heads/master | 2021-01-22T11:32:06.879143 | 2019-12-15T03:40:46 | 2019-12-15T03:40:46 | 92,707,125 | 7 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | h | BCGPShowAllButton.h | //*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a part of the BCGControlBar Library
// Copyright (C) 1998-2014 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms a... |
49462e4e359181615299a586aad83da44e74acde | a8c02c52693ec55a5a176c63d8a18569584afa43 | /GUI1/Motor2D/GuiLabel.cpp | d0a3a47223cf84ad0e4bc9588675deaa5520fb74 | [] | no_license | Margeli/GUI1 | d7bbb39e7c79f940a11e963ba0694e8bc37e6805 | daf1634d2b6f31e20f1d168be9e597403a8941ef | refs/heads/master | 2021-05-07T06:51:14.599616 | 2017-12-09T16:39:55 | 2017-12-09T16:39:55 | 111,778,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,156 | cpp | GuiLabel.cpp | #include "GuiLabel.h"
#include "j1Gui.h"
#include "j1UI_Elem.h"
#include "j1App.h"
#include "j1Fonts.h"
#include "j1Render.h"
#include "j1Textures.h"
GuiLabel::GuiLabel(Alignment alignment) : j1UI_Elem(UIType::LABEL, Alignment::NONE) {
align = alignment;
int font_size = 14;
const char* path;
if (font_frizqt ==... |
4124e233082e6e48c5c6866261b26535cd4a07f6 | d7d33966eaedb1f64182a8d39036c60fe068e074 | /include/LLGL/PipelineState.h | 828b8ba005294a82b5060c68b579f5b4df8fb534 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | beldenfox/LLGL | 7aca3d5902bba9f8e09f09d0dd3808756be3088c | 3a54125ebfa79bb06fccf8c413d308ff22186b52 | refs/heads/master | 2023-07-12T09:32:31.348478 | 2021-08-24T03:41:24 | 2021-08-26T16:55:47 | 275,416,529 | 1 | 0 | NOASSERTION | 2020-06-27T17:01:24 | 2020-06-27T17:01:24 | null | UTF-8 | C++ | false | false | 656 | h | PipelineState.h | /*
* PipelineState.h
*
* This file is part of the "LLGL" project (Copyright (c) 2015-2019 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#ifndef LLGL_PIPELINE_STATE_H
#define LLGL_PIPELINE_STATE_H
#include "RenderSystemChild.h"
namespace LLGL
{
/**
\brief Graphics and compute pipeline s... |
9e38d1993c9bb052b184e83b5ab8f10fd51907ca | b8d4f0cd96abc6033500b817ec8cd192d16da344 | /Hashing/SpellChecker.cpp | 4531ca9cafe4101c1ec10fe3e06267c078a583a4 | [] | no_license | Mahad28/Spell-checker- | e4f4bac79a683c7990bc9865c89c312bcdb89ce4 | b817245906c450740b7a2eeab4ab36c6a98d35b1 | refs/heads/master | 2021-01-17T22:51:45.793190 | 2015-02-13T23:09:15 | 2015-02-13T23:09:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,530 | cpp | SpellChecker.cpp | //
// SpellChecker.cpp
// Hashing
//
// Created by Shiv chandra Kumar on 11/24/14.
// Copyright (c) 2014 Shiv chandra Kumar. All rights reserved.
//
#include "SpellChecker.h"
#include "Dictionary.h"
#include <iostream>
#include <fstream>
#include <string>
#include <stdio.h>
using namespace std;
Dictionary dict;
... |
c9e0975c95a8846f26dca4a013e9cff1cde0e79c | af0918e1f187152e5d3d5c9c75dbcdbc7c7ef7d8 | /20150306/io4.cc | 21b4f0eac591eadaeecf87cb947c74f5e4e08e4e | [] | no_license | liyisheng/MaNong | ec2f26a56e39e20792a4850ed4b3134cf800d17c | 5fd508d43764fa10af12b7c04d327871893c4942 | refs/heads/master | 2021-01-21T21:54:23.429286 | 2019-07-26T16:00:45 | 2019-07-26T16:00:45 | 29,233,307 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | cc | io4.cc | /*************************************************************************
> File Name: io4.cc
> Author: liyisheng
> Mail: liyishengchn@gmail.com
> Created Time: Sun 08 Mar 2015 03:15:43 PM CST
************************************************************************/
#include<iostream>
#include<sstre... |
580322ba1fdfd2bc81b9a9ee7f27d1d922f33956 | fb3ea6359b132a8144703360ab5e71baddcdc475 | /daabbcc/src/DynamicTree.cpp | c73115e262e93afd1ac9bef1870934a5ab491d83 | [] | no_license | selimanac/DAABBCC | 310f97cc4ec6f3b313c2629fe0de2bf38dddffda | 36524fa95436182682a1b00c9647b628c82f71b3 | refs/heads/v2.1 | 2022-10-28T13:42:10.577151 | 2022-10-24T10:41:59 | 2022-10-24T10:41:59 | 121,843,877 | 45 | 4 | null | 2022-10-14T15:24:24 | 2018-02-17T09:50:48 | C++ | UTF-8 | C++ | false | false | 10,750 | cpp | DynamicTree.cpp | #include <DynamicTree.hpp>
DynamicTree::DynamicTree()
{
result.SetCapacity(100);
ray_result.SetCapacity(100);
orderResult.SetCapacity(100);
tmpOrderResult.SetCapacity(100);
}
DynamicTree::~DynamicTree() { ResetTree(); }
// ITERATE CALLBACKS
void DynamicTree::IterateRemoveCallback(DynamicTree *contex... |
c536d6dbd2cd721c5e40b2ac8f0c689c497c1ce1 | 7089756c4afb8bae05c0d3530d4ad2483541c4ea | /matrix/determinant.cpp | 57e32d48ad2cbda90e0ff5b8df041f20a882cb76 | [] | no_license | jmeehan2003/Intro-to-CS-II | 6d6804491e9c981b3fef3874709d9c335860ad6a | 40ef31f7747e7e1684601dc602446f2799f7338f | refs/heads/master | 2020-03-09T08:36:06.444219 | 2018-06-29T14:00:30 | 2018-06-29T14:00:30 | 128,693,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | cpp | determinant.cpp | /***********************************************************
** Author: James Meehan
** Date: 4/4/2018
** Description: This is the determinant() function
** definition. The determinant() function takes a pointer to
** a 2D array and the size of the matrix as parameters and
** calculates and returns the determin... |
27285185d6bef3a6d05b8ffa11239ae9cd15c328 | cdc29cb5095b7d6734a8bce5b88683e88b5a580a | /App/Recorder/GeneratedFiles/Debug/moc_videowid.cpp | d01a6151477562f6758c7a977a63c6a12f35b4bb | [] | no_license | VanceKingSaxbeA/EventCaptureEngine | 693db07dd6c4bb00e1150c996b7eea65c1ccf8a3 | 7f0ce1975c5b4262728ad48b97709159e04aa7e1 | refs/heads/master | 2016-08-04T09:07:59.746948 | 2015-08-01T12:18:50 | 2015-08-01T12:18:50 | 16,331,690 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,840 | cpp | moc_videowid.cpp | /*Owner & Copyrights: Vance King Saxbe. A.*//* Copyright (c) <2014> Author Vance King Saxbe. A, and contributors Power Dominion Enterprise, Precieux Consulting and other contributors. Modelled, Architected and designed by Vance King Saxbe. A. with the geeks from GoldSax Consulting and GoldSax Technologies email @vsaxbe... |
f95a783aa219a9fb25d04d6a75b996a4651f6347 | a5651c5032b9de35c78f63b38324fe7392250d14 | /Codeforces/Round_468/D.cpp | cbda799724bda299940be1fc2f14d8b2e87d0aa9 | [] | no_license | bkhanale/Competitive-Programming | 7012db1c7f6fd0950f14a865c175a569534bfb69 | 074779f8c513405b8c5ddd5f750592083eaf7548 | refs/heads/master | 2021-01-01T15:21:48.213987 | 2019-02-07T08:00:47 | 2019-02-07T08:00:47 | 97,603,092 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 870 | cpp | D.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
freopen("input.txt", "r", stdin);
ll n;
cin >> n;
ll p[n];
for(ll i = 0; i < n - 1; i++) {
cin >> p[i];
}
ll cnt = 0, app_time[100005], j, i = 0, k = 0, ans = 1, maxk = 0;
while(k <= max(n - 2, maxk)) {
cout << "i = " << i... |
daebe3e425fa8a2e116f089675544576eb1a8f36 | 4e06cdf7f9e3fcf519a6f281b2cf02014f6ec375 | /Sources/Login.cpp | 4a5d47352d7b158a24b933de9624fbafd28e16a0 | [] | no_license | JafarBM/MineSweeper | 453151bdd332071415587ffdb6760c67fad5d0cf | 07c2aaae38125468f98d598d713212243461348b | refs/heads/master | 2023-06-03T13:10:50.579006 | 2021-06-20T19:36:39 | 2021-06-20T19:36:39 | 376,236,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,637 | cpp | Login.cpp | //
// Created by morpheus on 1/31/19.
//
#include <Headers/Login.h>
#include <Headers/Client.h>
LoginMenu::LoginMenu() {
QRect rect = QApplication::desktop()->screenGeometry();
this->setGeometry(rect.width() / 2, rect.height() / 2, 400, 400);
QDialogButtonBox *buttonBox = new QDialogButtonBox;
exit... |
128defb60990d1060ca76187916bd7186f331496 | b742f3559ce780414ade232258532560659e6738 | /gemm_optimized/main.cpp | 8b14a8e512bc7891b276a58f062fc621cdcfaf1f | [] | no_license | fernandoFernandeSantos/CUDA_training | 9f35b3d49ec204a2a5ad5c467c61002fac839ca3 | bf9a525d1a452dd991d16139b16bc1a528240fcf | refs/heads/master | 2021-09-06T09:31:43.238177 | 2021-08-24T22:03:30 | 2021-08-24T22:03:30 | 73,217,835 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,762 | cpp | main.cpp | /**
* Copyright 1993-2012 NVIDIA Corporation. All rights reserved.
*
* Please refer to the NVIDIA end user license agreement (EULA) associated
* with this source code for terms and conditions that govern your use of
* this software. Any use, reproduction, disclosure, or distribution of
* this software and relate... |
597a3e6164145f6d18c8658c152cb56282e8295a | c2e70f85de6df21e7b48c183d796838382d3b0c6 | /play7.cpp | 42fd3ab0da6413d870e1e508478ef3c33665cd99 | [] | no_license | RENUGAPRIYA/magical-strikers | a9b6ee485931213f9ba7a446ee1a4436bfa76814 | dad499e3774b5761ac7667553c5d312aa537d8c9 | refs/heads/master | 2021-04-25T09:02:55.717641 | 2018-05-25T08:52:26 | 2018-05-25T08:52:26 | 122,191,308 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | cpp | play7.cpp | #include<iostream.h>
#include<conio.h>
#include<stdio.h>
void main()
{
clrscr();
int i=0, j=0, k=0;
char str1[20], str2[20], temp[20];
cout<<"Enter the 1st String : ";
gets(str1);
cout<<"Enter the 2nd String : ";
gets(str2);
cout<<"Strings before swapping are :\n";
cout<<"String 1 = "<<str1<<"\n";
c... |
e6b4d4e7dabfeaae95d7e5a5397fd1833b4d98c5 | 38d7655ec5b69b8793d391c06617757cf4f5167d | /c++codes2/string.cpp | c5490d1df997d45edc4453f697f642c6bf114a25 | [] | no_license | priyanksonis/cpp-codes | 81ba5939f82d245b72b08db6a66ad1e6d399132e | c7e2ec11f1ba3e560457058239da3a3a11e5963e | refs/heads/master | 2020-04-02T14:34:28.392578 | 2019-07-20T13:09:38 | 2019-07-20T13:09:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172 | cpp | string.cpp | #include<iostream>
#include<cstring>
using namespace std;
int main()
{
size_t len;
string s;
cin>>s;
cout<<s;
cout<<s.at(2);
len=strlen(s.c_str());
cout<<len;
}
|
c459ca8d57dcd5448adbd17fe3971de189d4aac6 | 751fe73c7a0188dfe27c9fe78c0410b137db91fb | /log/flog/Flog.h | 9372a0bd9d8507079ff1473ee3809dd0d6ef1d65 | [] | no_license | longshadian/estl | 0b1380e9dacfc4e193e1bb19401de28dd135fedf | 3dba7a84abc8dbf999ababa977279e929a0a6623 | refs/heads/master | 2021-07-09T19:29:06.402311 | 2021-04-05T14:16:21 | 2021-04-05T14:16:21 | 12,356,617 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,166 | h | Flog.h | #pragma once
#include <cstdio>
#include <cstdint>
#include <cstdarg>
#include <vector>
#include <list>
#include <thread>
#include <string>
#include <condition_variable>
#include <mutex>
#include <atomic>
namespace flog
{
struct LogBuffer
{
LogBuffer();
~LogBuffer();
LogBuffer(const LogBuffer&) = delete;... |
1aebf8a92fea21813e58d60a75891c399a77403a | d25fef58f0802b52b9e0f4c0d9044eeaae7bc2be | /knights.h | a88d52852bdf8109c7f55c50b2ca8e95428a1614 | [] | no_license | Shuistlo/Knights-Tour | 7d498a857c0f16c641c4b82e2204592625288cd6 | aebd0540d336ed01c65dde257675ac1e7c9b4d83 | refs/heads/master | 2021-05-06T00:28:03.786736 | 2018-01-12T16:15:29 | 2018-01-12T16:15:29 | 117,261,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,446 | h | knights.h | #ifndef KNIGHTS_H
#define KNIGHTS_H
#include <utility>
#include <vector>
#include <algorithm>
#include <numeric>
#include <iostream>
#include <cstdint>
// Do not add any extra #includes without asking on the KEATS discussion forum
using std::pair;
using std::make_pair;
using std::vector;
typedef vector<pair<int,int... |
d280e6f5ba3d6223fb16c39d8eac12199c128d3b | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1484496_0/C++/smn/C.cpp | aa078617c676dfd09eb897ab5741ccbdd07be5e5 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,491 | cpp | C.cpp | #include <cstdio>
#include <cstdlib>
#include <cmath>
#include <climits>
#include <map>
#include <set>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <algorithm>
#include <functional>
#include <sstream>
#include <stack>
#include <queue>
#include <cstring>
using namespace std;
typede... |
7fc42314ef6b35ba239b70df6b5eba71c33ac350 | 548cddac58b80abf15deee01851ccd7115dbc0ab | /Program2Files/Program2/Prompt/Examples/buildheap.cxx | 7a79e06fcf0bd9fd543e3b846e54f30448abe169 | [] | no_license | shivangsoni/Data-Structures | 5d1084be1fa6e5a64d103f480e932e41a1715a30 | c058a1f5862ce7f3060c6022c9f724f1f06fe181 | refs/heads/master | 2021-04-15T14:16:54.754984 | 2018-03-27T02:26:24 | 2018-03-27T02:26:24 | 126,529,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,580 | cxx | buildheap.cxx | #include <cstdio>
#include <iostream>
#include <fstream>
#include <random>
#include <set>
#include <string>
#include "json.hpp"
using namespace std;
class MaxPriorityQueue
{
public:
int n;
int priority[10000];
int count;
MaxPriorityQueue(){
n=1;
count=1;
}
MaxPriorityQueue(int a){
priority[0]=1000000;
... |
1866bdec83dc7c903f5275c421410f32dc0ed25b | 26aa9c99c8ecc6ea1aa1524edebd029713510d1f | /TestSuite/TestSuite.cpp | f0c5b326877bfa3d7bf3b4e8835a9329f444c283 | [] | no_license | leobrl/XBlas | c40994be52f4d3cc23d79aee3d5f93a5b6c405f1 | 263ac9a35fb766570b4e37a84641d1515d9c9bf1 | refs/heads/master | 2021-07-19T12:27:19.647598 | 2017-10-24T20:43:38 | 2017-10-24T20:43:38 | 108,180,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp | TestSuite.cpp |
#include "cuda_runtime.h"
#include "device_launch_parameters.h"
#include <gtest/gtest.h>
#include <stdio.h>
#include<iostream>
#include <gtest/gtest.h>
int main(int ac, char* av[])
{
testing::InitGoogleTest(&ac, av);
testing::GTEST_FLAG(filter) = "*";
RUN_ALL_TESTS();
}
|
00a4d7b12fc0ea32f699c2a6a19a9723003739cd | 68f09846b235ee3ee03340e35c1c240d747c129c | /graf2/graf2.cpp | 4be985f495cbb4df7d8c5d7ad182b1c9477daa76 | [] | no_license | marekziba/graf2 | 164c07f90009ca18f1a1efb914d4baf147ab18e0 | 0596f825f7dc0799675ab7ee34875dfb603488c9 | refs/heads/master | 2020-12-23T18:55:09.877266 | 2020-01-30T15:15:22 | 2020-01-30T15:15:22 | 237,240,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,820 | cpp | graf2.cpp | // graf2.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
#include <ctime>
#include <cstdio>
#include "Solution.h"
#include "Population.h"
#include "GeneticAlgorithm.h"
void generate(int nVerts, float density, std::string path) { // this one works fine
... |
68c876647b7326169e8193d0957ecd0debc7b797 | 7b49c6aced0e672cc7636a4fb5eeee7694f28cdc | /project/source/game/Actor/Enemy.h | ce2e904569b233b22509ed04d24b350673cb00b2 | [] | no_license | TomohiroYuki/YukitterFramework | f57b3231deaeba86ac2e97d2cadb27a187cc6b49 | 50efa6d32005c89d1164894e4a239300573d7e7b | refs/heads/master | 2020-03-30T07:47:56.342747 | 2018-09-30T13:16:43 | 2018-09-30T13:16:43 | 150,967,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,547 | h | Enemy.h | //#pragma once
//
//#include "source\game\Actor\Actor.h"
//#include "source\game\Actor\Player.h"
//#include "source\game\Actor\Bullet.h"
//#include <list>
//#include <vector>
//#include "source\system\UI\Widget.h"
////#include "source\system\sound\sound.h"
//
//class EnemyManager;
//class Enemy_Zako;
//class E2_YuppiY;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.