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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
779e3a27c0e604a0472b224959fcfb35c420e576 | 709e79dc1b9ed2eb0e255482681e0f8d263158f3 | /benchmark/askit_release/rkdtsrc/binTree/binQuery.cpp | fdf250a552085ad64acb619cc3f48a33113ee4ef | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"GPL-3.0-only"
] | permissive | kexinrong/rehashing | ebd935cc30cdbb40dca54f7ef76a08b0c87d8048 | 401b1f99970d2cc8cb8444f4c7ee5b94f4ebeb7f | refs/heads/master | 2021-07-03T10:45:32.498877 | 2020-10-21T05:42:28 | 2020-10-21T05:42:28 | 186,186,245 | 22 | 3 | MIT | 2020-10-09T04:15:15 | 2019-05-11T22:15:47 | C++ | UTF-8 | C++ | false | false | 130,278 | cpp | binQuery.cpp | #include <mpi.h>
#include <stdio.h>
#include <vector>
#include <algorithm>
#include <omp.h>
#include <float.h>
#include <map>
#include "repartition.h"
#include "clustering.h"
#include "direct_knn.h"
#include "lsh.h"
#include "distributeToLeaf.h"
#include "binTree.h"
#include "binQuery.h"
#include "generator.h"
#include... |
4a257ccb80a2021cdc8ddb1d084c91498d49814a | 5c224371bfb4e59fd27829455548ff681ef247a1 | /challenges/challenge15/main.cpp | e838d97d11b5ef947a68c338e7574800a5905aea | [
"MIT"
] | permissive | spelinski/advent_of_code_2018 | 795c9635f8d5f9d5e4a9d65a03cc19cebfa6680d | 342eb06d1f9e6fdd02eab68cab4992a291e68726 | refs/heads/master | 2020-04-06T19:14:19.580857 | 2019-04-21T01:34:41 | 2019-04-21T01:34:41 | 157,730,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,667 | cpp | main.cpp | #include "grid.h"
#include "fileParser.h"
#include <iostream>
#include <list>
#include <variant>
enum fighterType {
GOBLIN,
ELF
};
enum direction {
UP = 'U' ,
DOWN = 'D',
LEFT = 'L',
RIGHT = 'R'
};
struct goblinFighter{
public:
goblinFighter():alreadyMoved(false),health(200),attac... |
a16120fc3ec50ef9a9fd5f191d7fddbba396b6d2 | eaebfbfb22dbf98c8216e6573c0b8fe6e51df50b | /src/ArenaModel.cpp | 43e692719deb929bab3fa91a08f395a3930a3c75 | [
"MIT"
] | permissive | strear/malarga | 23b6ca704dbc58d3d0cb501965c82a8f7790a8af | de6c779e5d2abe1bcf7a6466696ba22dfbbdd515 | refs/heads/main | 2023-01-30T05:07:20.187097 | 2020-12-14T11:48:23 | 2020-12-14T11:48:23 | 321,330,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,372 | cpp | ArenaModel.cpp | #include <algorithm>
#include <chrono>
#include <thread>
#include "malarga.h"
using namespace Malarga;
ArenaModel::ArenaModel() {
PlayerController* me =
new PlayerController(PlayerController::PlayerType::local, nullptr);
this->players.push_back(me);
}
ArenaModel::~ArenaModel() {
clearPlayers();... |
be2f576f33810e4be52578e18dde36a254c21955 | 40e17cb8a2d85c57f6eea9bd1208286e82803784 | /Ejercicios/Project2/Project2/Pelicula.h | 19b7f5736f37d8f2e0ff8f4f47bf288085da50e7 | [
"MIT"
] | permissive | maquinon1612/Estructura-de-Datos | e18882e686837dcc528f585feee22918f45b0fe4 | 39c5fb3dc11007a6f056fcafb4cb97d01b2187d2 | refs/heads/main | 2023-08-24T10:12:23.031690 | 2021-11-09T00:10:47 | 2021-11-09T00:10:47 | 425,911,933 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,489 | h | Pelicula.h |
# ifndef Pelicula_h
# define Pelicula_h
# include <iostream>
# include <string>
# include <array>
# include <stdexcept>
#include "Horas.h"
class Pelicula {
public:
Pelicula() :inicio(), duracion(), nombre("") {};
Pelicula(Hora ini, Hora d, std::string n) : inicio(ini), duracion(d), nombre(n) {};
... |
0569af0b0613db94a1307f5ce4df6f22104ef48f | 280df4b50c1a5049f2c09329eafde3f08d8aadf5 | /Submitted/510A.cpp | f933581d484f9ce82e22db7d81db1be6cb9bea62 | [] | no_license | abusomani/CodeForces | c6c1b9597ee6e26fcd30c5a6cda1fcea528fd9c3 | e4ff0578fec6db7e3fd0654fee508057a9ac1cd9 | refs/heads/master | 2021-01-01T04:19:38.138182 | 2016-04-30T22:31:37 | 2016-04-30T22:31:37 | 57,436,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | 510A.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n,m;
cin>>n>>m;
char arr[n][m];
for(int i=0;i<n;i+=2)
{
for(int j=0;j<m;j++)
{
arr[i][j]='#';
}
}
int count=0;
for(int i=1;i<n;i+=2)
{
if(count%2)
{
arr[i][0]='#';
arr[i][m-1]='.';
}
... |
85826cd1a1929cfa266b0838a232dbcc18b2e522 | 14be912b0fd6cc5e13315a11f9b59007d1220c86 | /examples/wifi_http_webhook/wifi_http_webhook.ino | f8065cf58a32be95edc7c87ec5943079b85572db | [
"MIT"
] | permissive | albertstarfield/ESP32QRCodeReader | cc562c6f2288045624a36dd90ff6b8675219db76 | 0799a7a2ba0528f0be1e7033e7e8c883df128842 | refs/heads/master | 2023-03-17T05:44:35.717162 | 2020-08-10T00:52:23 | 2020-08-10T00:52:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,994 | ino | wifi_http_webhook.ino | #include <Arduino.h>
#include <WiFi.h>
#include <HTTPClient.h>
#include <ESP32QRCodeReader.h>
#define WIFI_SSID "YOUR_SSID"
#define WIFI_PASSWORD "YOUR_PASSWORD"
#define WEBHOOK_URL "https//your-url:8080/endpoint"
#define DOOR_RELAY_PIN 12
ESP32QRCodeReader reader(CAMERA_MODEL_AI_THINKER);
struct QRCodeData qrCodeDat... |
c31c276ebd12995b83674f499bd39d550976e910 | d06f86f1bf34a4632f0bacf3828d519b717b5556 | /source/main/entity.h | ebb58a53fb98fa66d6f3e75710a11d211d0be11e | [] | no_license | karsithe/Cubes-Demo | b7d2d623227ed488fcd0c9638e866f2396c995d6 | 682c4bc584ce74ee5378424a99bc967f8a61ba75 | refs/heads/master | 2021-01-23T13:31:22.899685 | 2011-05-22T21:34:08 | 2011-05-22T21:34:08 | 1,559,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | h | entity.h | /*
Entity
An object in the scene
Hazel McKendrick 2011
*/
#pragma once
#include <vector>
#include "main/component.h"
#include "main/transform.h"
class Entity
{
public:
// Constructors
Entity() {}
Entity(Transform _transform) : m_transform(_transform) {}
// Add components to make up the f... |
e5f5db50e8050b82185dec8f1e99bef86d6f0b6d | 3b04925b4271fe921020cff037b86e4a5a2ae649 | /windows_embedded_ce_6_r3_170331/WINCE600/PRIVATE/TEST/MULTIMEDIA/DIRECTX/DSHOW/PLAYBACK/FRAMEWORK/verification.cpp | 08d106506f86d7675891cc6ac7a6eba5128a15b1 | [] | no_license | fanzcsoft/windows_embedded_ce_6_r3_170331 | e3a4d11bf2356630a937cbc2b7b4e25d2717000e | eccf906d61a36431d3a37fb146a5d04c5f4057a2 | refs/heads/master | 2022-12-27T17:14:39.430205 | 2020-09-28T20:09:22 | 2020-09-28T20:09:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,613 | cpp | verification.cpp | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft shared
// source or premium shared source license agreement under which you licensed
// this source code. If you did not accept the terms of the license agreement,
// you are... |
c9a29a374bb5452035ae96c36955169a9965cb3f | 6abf578cd993459132944fab93c7c6847fbd1521 | /StFaeKSC/Data/userinformation.cpp | 153d20f5ca8bb66d117a8f1e8635f8d9a7a6df28 | [] | no_license | WaterMax83/StamOrga | ba05562dada5a36d67736bf13f7954dd3a5d0b87 | 41cbf6f81657b3110cc42b21426778be15b59d1a | refs/heads/master | 2023-04-13T13:04:56.743494 | 2023-04-03T07:46:22 | 2023-04-03T07:46:22 | 85,932,033 | 0 | 1 | null | 2017-08-25T16:37:34 | 2017-03-23T09:37:53 | C++ | UTF-8 | C++ | false | false | 6,475 | cpp | userinformation.cpp | /*
* This file is part of StamOrga
* Copyright (C) 2017 Markus Schneider
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any late... |
f5d6236e00d50f9e5604248aecfe39d945b7db89 | 2587f1612b8dcf46c8345eb4fa82fdd2cc3240b5 | /rgb_uzaklik/pot_button/pot_button.ino | 4c72a283f6e0b145de66c59f3eb2e6b8d51a1070 | [] | no_license | omrkcmn/ArduinoSamples | 410a99f716862b596206a49e6b3c9880aae858f8 | 4b695ad050cc034404f1c0ba8016104670bfbd0f | refs/heads/master | 2023-02-27T01:48:54.847666 | 2021-01-31T19:02:40 | 2021-01-31T19:02:40 | 333,176,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | ino | pot_button.ino | void setup() {
for(int i=0;i<4;i++)
{
pinMode(i,OUTPUT);
}
}
void loop() {
int deger=analogRead(1);
deger = map(deger,0,1023,0,3);
for(int i=0;i<deger;i++)
{
digitalWrite(i,HIGH);
for(int j=0;j<deger;j++)
{
digitalWrite(i,LOW);
}
}
}
|
305eb7327f654dbee21bc053268fc4735f3c14fd | f8aa2d3996aa3866101b1b680dff214efb1ead0d | /codingNinja/dataStructure/PriorityQueue/running_median.cpp | 82daad6e4e085ffc84868da24da3dd17fc0b30a3 | [] | no_license | LokeshvarKr/cpp | 9590d9c0851667dd9aaacd16f37fc34acdefb6b7 | 6556e2b72aec2d0ebcabb84d542bf5b0e5670042 | refs/heads/master | 2022-04-30T21:01:13.341606 | 2022-04-09T18:12:39 | 2022-04-09T18:12:39 | 176,687,488 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,011 | cpp | running_median.cpp | /*
Running median
You are given a stream of n integers. For every ith integer, add it to the running list of integers and print the resulting median (of the list till now).
Print the only integer part of median.
Input Format :
Line 1 : An integer N denoting the number of integers in the stream
Line 2 : N integers whic... |
ecf7c1902e55437dcc4a18acba477c05d5d2c180 | d5ae15ca6024407523645537d2c96844af5397ad | /Include/Line.h | 4a5fc8c6605526534b4bfe4de3063fbb3920a4c2 | [] | no_license | njufyz/CG2017-QT | a543eec90f2c3abd054cb10ab0ef9ca95b00d845 | 6ef44fffc929b6796c8ede0bdba4b1463bf77bdf | refs/heads/master | 2021-09-04T12:02:13.176643 | 2018-01-18T14:55:41 | 2018-01-18T14:55:41 | 108,753,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,010 | h | Line.h | #ifndef LINE_H
#define LINE_H
#include"common.h"
namespace fyz{
class Line :
public Graph
{
Point start;
Point end;
void generateVertexes();
void BresenhamLine();
public:
Line() {}
~Line() {}
Line(Point x, Point y)
{
isSelected = true;
isFilled =... |
ea4d51fba1f38d36a86d418931929b90b43ad14e | 3dc86dd9a7a4159406724124cb280d6f5e5bda29 | /Tools/Editor/GenericList.h | 2c73f126a2ea23c6228ffe6e525e96bc533a3659 | [] | no_license | hamfirst/StormBrewerEngine | 3e051fb6806277c8273031f0e9ab241659fafba4 | 491ff8e42022e01c43d72b6d7b4f76db439d8745 | refs/heads/master | 2023-03-17T02:23:34.827037 | 2023-03-10T17:24:23 | 2023-03-10T17:24:23 | 53,809,267 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,189 | h | GenericList.h | #pragma once
#include <QWidget>
#include <Foundation/Delegate/Delegate.h>
#include <StormData/StormDataPath.h>
#include "DocumentEditorWidgetBase.h"
#include "ScrollingPanel.h"
class GenericList;
class GenericFrame;
class GenericListFrame;
using GenericListInitDelegate = Delegate<std::vector<std::size_t>, void *>... |
e8d68c7dc481b2404efb198ff89d95073840809a | e766e6d2b40fc38f95f11fbf0b2acd6460536656 | /openbox-click-package/networkdirectionswap.cc | 01bffadf8d2f510aaead88490519d3c68460089e | [
"Apache-2.0"
] | permissive | pavel-lazar/obsi | b5538c5b456360465e190f12528e3b473efa5254 | b5c5eaedf954788540e588cca71dd925c73f5176 | refs/heads/master | 2020-02-26T15:49:20.595590 | 2016-01-30T19:01:24 | 2016-01-30T19:01:24 | 33,539,538 | 0 | 0 | null | 2015-04-07T11:38:34 | 2015-04-07T11:38:34 | null | UTF-8 | C++ | false | false | 3,936 | cc | networkdirectionswap.cc | #include <click/config.h>
#include "networkdirectionswap.hh"
#include <click/args.hh>
#include <clicknet/ether.h>
#include <clicknet/ip.h>
#include <clicknet/ip6.h>
#include <clicknet/udp.h>
#include <clicknet/tcp.h>
CLICK_DECLS
NetworkDirectionSwap::NetworkDirectionSwap() :
_ethernet(false),
_ipv4(false),
_ipv6(false... |
39b3f1874f3beb34c24084ebb183f0e78e59c688 | 475a39cd48b3f1a0a19343f63354f161f8b3816f | /PVACS2/functions.cpp | 16720065b143ee0a318c88e839f763720a62d8de | [] | no_license | lyjzsyzlt/PVACS-new- | eb76a9f41cd079136fba060a9b2fcdc8ce340837 | ccb3c98db7689db4e0360ac42e49c9e0b1126447 | refs/heads/master | 2021-05-09T01:39:22.186816 | 2018-01-30T14:21:49 | 2018-01-30T14:21:49 | 119,183,009 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 8,227 | cpp | functions.cpp | #include"stdafx.h"
#include"functions.h"
#include"structs.h"
#include"Machine.h"
#include<algorithm>
#include<set>
#include<iostream>
#include<vector>
#include<fstream>
#include<cstring>
#include<time.h>
#include<random>
using namespace std;
vector<batch> B;
int max(int a, int b)
{
return a > b ? a : b;
}
int min(i... |
d725487f3c21ac2a96300f0c5ab7b9baf888dc4a | 47617f26b8a75e5d5b99ea043bd2d8f61ea4408d | /examples/ReadCGRAM/ReadCGRAM.ino | 969d34dc970408cf068a6832e081df6cc2369a0a | [] | no_license | przem312/SSD1311 | d2f920face5165744ed5a5542fcf47da59048242 | f830a376dfce0b00d0853a4db7d0c04efd6689c8 | refs/heads/master | 2023-03-15T13:08:23.471677 | 2017-10-08T20:24:31 | 2017-10-08T20:24:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,500 | ino | ReadCGRAM.ino | // Include the libraries we need
#include <SSD1311.h>
#include "Wire.h"
SSD1311 Screen;
void setup(void) {
Serial.begin(9600);
Wire.begin();
Screen.powerMode(SSD1311_LCD_OFF);// actual for reset pressed
Screen.selectRomRam(SSD1311_ROM_A, SSD1311_CGRAM_1);// select ROM and RAM
Screen.powerMode(SSD1311_LCD_ON);//... |
cf2ae39c6580d19f539e49a0de93da4dace74b2f | c69517486fc30bdd95df289fcc675afa324bc731 | /apps/vaporgui/misc/animationcontroller.h | 50ea39b2e4db89cae887b1ea34bc815a0524857d | [] | no_license | yyr/vapor | efdbe7e5ca4a8bf135bbb1bb97b7dc09d016852a | cdebac81212ffa3f811064bbd7625ffa9089782e | refs/heads/master | 2021-01-20T03:34:48.937494 | 2015-05-01T22:28:28 | 2015-05-01T22:28:28 | 35,015,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,012 | h | animationcontroller.h | //************************************************************************
// *
// Copyright (C) 2004 *
// University Corporation for Atmospheric Research *
// All Rights Reserved *
// *
//**********************************************************... |
7d966754e864cbb2673d4a1f02a9ab50ede973a9 | 75f787f9ee8a5ba1ef319a7c073c07344f73df5d | /max_area_in_binary_matrix.cpp | c5266695f9269027d6b86b6e25abeb4a1d163511 | [] | no_license | saransh37/stack | fd41f8ab036b85bdbd071c3c38deea62748cd537 | 3ef7fb29850b570d2574f3411eb2865a9857f651 | refs/heads/master | 2023-03-02T16:52:58.865688 | 2021-02-14T18:05:06 | 2021-02-14T18:05:06 | 338,868,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,913 | cpp | max_area_in_binary_matrix.cpp | #include<iostream>
#include<bits/stdc++.h>
#include<algorithm>
using namespace std;
int solve(int a[][100],int n,int ind){
vector<int>s_left,s_right;
stack<pair<int,int>>s,t;
//left smaller
for(int i=0;i<n;i++){
if(s.empty()){
s_left.push_back(-1);
}
else if(s.top().first<a[ind][... |
28b747ee800fcef93e6372cdae757271177c89db | a7bedf7925ce55e12337d3c6827c1e456c8d4d89 | /CountAndSay.cpp | 4554fce5d14526fd4adf1f9c232311c88df700d0 | [] | no_license | denisewu/LeetCode | f9d1e90d8d6e205727426a330d7d32021e8c3445 | cea84d40a79106803f5d0ffdcdd548a96d0e86eb | refs/heads/master | 2021-01-01T15:25:17.356794 | 2015-03-16T14:08:30 | 2015-03-16T14:08:30 | 10,868,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 941 | cpp | CountAndSay.cpp | class Solution {
public:
string countAndSay(int n) {
string str;
if(n < 1)
return str;
for(int i = 0; i < n; i++)
{
if(i == 0)
{
str = "1";
continue;
}
int count = 0;... |
ec62bd5baa22fbe329d1033496ed80fc612670fb | c4bb25af13526d3079da2669ce268a9a2f5bedff | /DeMapEdit/LightningMonst.cpp | 5519ae8e5f27f65db7758b6cb520777dde50b55a | [
"Apache-2.0"
] | permissive | cjburchell/terrafighter | 3c0c935cebd58d2ede5dbc54fcf83e4938731732 | 7bbfa22f3616bc0f3a9539afc2af3409e7f524f5 | refs/heads/master | 2023-04-10T21:30:49.717568 | 2023-03-28T00:24:12 | 2023-03-28T00:24:12 | 243,773,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | cpp | LightningMonst.cpp | // LightningMonst.cpp: implementation of the CLightningMonst class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "LightningMonst.h"
#define TIME_TO_NEXT_SHOT 200
//////////////////////////////////////////////////////////////////////
// Construction/Destructio... |
1ed150ab8ccce7317b422529c5c97896e62b6d1b | db3a2c294bf9a4fecefa48da1f7080ca80afd128 | /IITKWPCB.cpp | d08ad95c8c80a4ccf100e8b5f77540351a12d436 | [] | no_license | joyjitc/spoj | a5c5905c821b26f104851b018f4ef7d115537232 | 7bc07f43a44a97dc6c22882e17527e7fca114250 | refs/heads/master | 2021-07-21T03:38:24.000901 | 2021-07-16T07:31:39 | 2021-07-16T07:31:39 | 60,032,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | cpp | IITKWPCB.cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
int t;
cin>>t;
unsigned long long n;
while(t--){
cin>>n;
if(n==2||n==1)
cout<<"1\n";
else if(n&1)
cout<<(n>>1)<<"\n";
else{
n=n>>1;
if(n&1)
cout<<n-2<<"\n";
else
cout<<n-1<<"\n";
}
}
}
|
23fb6811adaeb680033ece2f569466412eb3bf79 | 0bab4267636e3b06cb0e73fe9d31b0edd76260c2 | /freewar-alpha/src/recv_from_server_freewar.cpp | 194550afb340f6cc3761da22234b888fdac318cf | [] | no_license | BackupTheBerlios/freewar-svn | 15fafedeed3ea1d374500d3430ff16b412b2f223 | aa1a28f19610dbce12be463d5ccd98f712631bc3 | refs/heads/master | 2021-01-10T19:54:11.599797 | 2006-12-10T21:45:11 | 2006-12-10T21:45:11 | 40,725,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,843 | cpp | recv_from_server_freewar.cpp | //
// recv_form_server_freewar.cpp for freewar in /root/Freewar/src
//
// Made by
// Login <root@epita.fr>
//
// Started on Fri Jul 9 14:30:29 2004
// Last update Mon Jul 12 15:17:01 2004
//
#include "freewar.h"
/*
#client -> server
information a en informer le server :
changement d'actions d'une enti... |
98ad460383750bac8ac59dd75a7c37cc1fe8fec2 | bbbe59302218d0c087bac8f74b863c19550e83b0 | /George and Accommodation.cpp | 29c15a360e05679fcb8a94131e75777f6b91b471 | [] | no_license | radwaayman22/codeforces_problems | 5234b25c57777110d20b96b2fe9e894aed1da8cf | e82264d1974a01b4e702c33664cbefeef2d21e01 | refs/heads/master | 2023-05-25T16:49:46.482709 | 2021-06-08T20:51:09 | 2021-06-08T20:51:09 | 375,140,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | cpp | George and Accommodation.cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main(){
int n,p,q,c=0;
cin>>n;
for (int i=0;i<n;i++){
cin>>p>>q;
if(p<q&&q-p>=2){
c++;
}
}
cout <<c << endl;
return 0;
}
|
158b669a946ac4c4216a57ac01856fb65173e811 | f53d216dc2d8f54caeb71091117757c49d9afd30 | /src/cpp/Client.h | 089e7af0ba01e016c862978d8582b4885e3b2104 | [
"Apache-2.0"
] | permissive | SAP/node-rfc | 38d916fec5d2689533067baaf094ca3f7042c185 | 25d67ab6b997b3c0f62521eaa9ef1743d39fcef5 | refs/heads/main | 2023-08-30T21:41:10.629615 | 2023-08-25T16:38:00 | 2023-08-25T16:38:00 | 22,616,677 | 257 | 90 | Apache-2.0 | 2023-08-17T20:49:27 | 2014-08-04T19:18:18 | C++ | UTF-8 | C++ | false | false | 2,624 | h | Client.h | // SPDX-FileCopyrightText: 2014 SAP SE Srdjan Boskovic <srdjan.boskovic@sap.com>
//
// SPDX-License-Identifier: Apache-2.0
#ifndef NodeRfc_Client_H
#define NodeRfc_Client_H
#include <tuple>
#include "Log.h"
#include "nwrfcsdk.h"
namespace node_rfc {
extern Napi::Env __env;
extern Log _log;
class Pool;
class Clien... |
8be09baaccb0b7d53e5e21aebe1710fa3e060872 | b69bfd74a67e88dd609b189458abcfcefa46f6be | /main.cpp | 0ffb8c789227ce065fc372bdde7647173c361969 | [
"MIT"
] | permissive | isukax/cc | 8fa9edfea8c353805cc7c69a9f426df34c04915c | df9414d327ca3df961b2529eebbac75c6093186f | refs/heads/master | 2020-04-09T04:49:09.695068 | 2019-05-22T15:03:30 | 2019-05-22T15:03:30 | 160,038,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,850 | cpp | main.cpp | #include <iostream>
#include <stdlib.h>
#include <string>
#include <string.h>
enum NodeType
{
ND_NUM,
};
struct Node
{
int type;
Node *lhs;
Node *rhs;
int value;
};
Node *CreateNode(int type, Node *lhs, Node *rhs)
{
Node *node = new Node();
node->type = type;
nod... |
7a8c549a0347ef1c3e08fdbb814c8344e660c62d | 7587e3ac0395bd6feb8a289f2c9093ae8ee32903 | /Shell.cpp | c6539ae928f42a8472db540ab0a2d2b0bed47cb8 | [
"MIT"
] | permissive | howhowlin/posd | c7199deb7d42fa7c5dd4f284b49ec1c129a2cff0 | fe1660ae29209d82c218532093e8c1649361c35a | refs/heads/master | 2021-09-04T03:11:50.975499 | 2018-01-15T04:25:43 | 2018-01-15T04:25:43 | 104,191,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,051 | cpp | Shell.cpp | #include <gtest/gtest.h>
#include "exception.h"
#include "expression.h"
#include <string.h>
#include "atom.h"
#include "variable.h"
#include "exp.h"
#include "parser.h"
using namespace std;
int main( int argc , char **argv )
{
string input;
string finalInput;
string result;
cout << "?- ";
while(getlin... |
a2f4f65a1f8871843f1f126a45139b7344268740 | 91bedb10e76a30be884ed977b0b32c8d765a4654 | /Swarm.h | a1f9dad2e35e36bd9e4d9f4f06a84a5ec6ccfc49 | [] | no_license | janmichael88/ParticleFireSimulation | 580098fad2b7c0b0753eb527d3eabb23ca8f9265 | fa0c4829e298424af63660cc83f6ce62bf4efad2 | refs/heads/main | 2023-04-17T10:16:27.911610 | 2021-04-29T04:56:12 | 2021-04-29T04:56:12 | 362,689,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | h | Swarm.h | //
// Swarm.hpp
// SDL Basic App
//
// Created by Jan Michael Austria on 4/23/21.
// Copyright © 2021 Jan Michael Austria. All rights reserved.
//
#ifndef Swarm_h
#define Swarm_h
#include "Particle.h"
namespace caveofprogramming {
class Swarm{
public:
const static int NPARTICLES = 5000;
priva... |
b59b74f2ed0ddfeada7ba4802b5eef74273eb769 | c80d942e594a72ea69cabf86a5ea4856ff1247ce | /JumpGameII.cpp | 15957bee0e5404e021050fec1f5b515169dbe670 | [] | no_license | abhinavsau/Leetcode | c1e9f8d29485d1d1118f411b354f8209bee60d0c | 6418420df8efa0f327b0373b64bdef28779e57bc | refs/heads/master | 2021-01-17T04:46:03.299468 | 2016-05-24T10:32:11 | 2016-05-24T10:32:11 | 37,861,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | cpp | JumpGameII.cpp | class Solution {
public:
int jump(int A[], int n) {
int *b=new int[n];
for(int i=0;i<n;i++)
b[i]=0;
int k = 1;
for(int i=0;i<n;i++)
{
int temp=i+A[i];
if(temp > n-1)
temp=n-1;
if(temp >= k)
{
while(k < n && ... |
b78e10ffeff54a4606979edc113bc01e173ec16d | 4f5691998e1e55451b17fe6c0d35f294cc38c405 | /examples/Arduino_class_examples/Function_examples/LinearFunction_example_1/LinearFunction_example_1.ino | 000aa18dd3a35e090d56ecae4cc0be584e3dab02 | [
"BSD-3-Clause"
] | permissive | PankeyCR/aMonkeyEngine | 9bb3c3f89ec9cab2a181f3cfd43d89f379a39124 | a5fb3f7f73f51b17cfe90f6fc26c529b7e8e6c2d | refs/heads/master | 2023-06-22T01:36:55.745033 | 2023-06-15T22:03:09 | 2023-06-15T22:03:09 | 198,529,019 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 329 | ino | LinearFunction_example_1.ino |
#include "LinearFunction.hpp"
using namespace ame;
void setup() {
Serial.begin(9600);
}
void loop() {
ame_Debuging(ame_Log_StartLoop, "loop");
LinearFunction function;
function.setConstante(0, 0.5f);
function.setConstante(1, 2.0f);
Serial.println(function.f(55.5f));
ame_Debuging(ame_Log_EndLoop, "... |
333bdb5461e919fd1e32755cd1f94446cb5eb856 | a8450d0cd05feb167efd1b653033881a5cc19c62 | /src/Wallet/SlateBuilder/TransactionBuilder.h | fae0a43e48a02ef95ffd6a10337460aa57cf4689 | [
"MIT"
] | permissive | davidtavarez/GrinPlusPlus | 9a563e0b72c8c1503db065928ee175b4420733a6 | 26ae2019f0e7a0d40dd9b3e12c287415cab67404 | refs/heads/master | 2020-08-23T16:10:31.103016 | 2020-04-12T12:08:51 | 2020-04-12T12:08:51 | 216,659,169 | 0 | 0 | MIT | 2020-03-12T18:21:36 | 2019-10-21T20:27:32 | C++ | UTF-8 | C++ | false | false | 2,777 | h | TransactionBuilder.h | #pragma once
#include <Wallet/WalletDB/Models/OutputDataEntity.h>
#include <Core/Models/Transaction.h>
#include <Common/Util/FunctionalUtil.h>
class TransactionBuilder
{
public:
static Transaction BuildTransaction(
const std::vector<OutputDataEntity>& inputs,
const std::vector<OutputDataEntity>& changeOutputs,
... |
99571bdec0eb49b94544d6562047d0f0af454042 | 86609148aee683f1a2f92f9ab5c073b4c29380e4 | /utils/dnp3_src/cpp/libs/include/opendnp3/gen/ChallengeReason.h | 173ace28fc0ca703605bcfc6114e49447ea73ef6 | [
"Apache-2.0"
] | permissive | thiagoralves/OpenPLC_v3 | 16ba73585ab6b4aff7fb3e0f6388cf31f7aa2fce | cf139121bc15cb960a8fad62c02f34532b36a7c7 | refs/heads/master | 2023-08-07T06:55:19.533734 | 2023-07-19T15:33:35 | 2023-07-19T15:33:35 | 137,387,519 | 817 | 370 | null | 2023-09-14T03:09:01 | 2018-06-14T17:15:49 | C++ | UTF-8 | C++ | false | false | 1,203 | h | ChallengeReason.h | //
// _ _ ______ _ _ _ _ _ _ _
// | \ | | | ____| | (_) | (_) | | | |
// | \| | ___ | |__ __| |_| |_ _ _ __ __ _| | | |
// | . ` |/ _ \ | __| / _` | | __| | '_ \ / _` | | | |
// | |\ | (_) | | |___| (_| | | |_| | | | | (_| |_|_|_|
// |_| \_|\___/ |______\__,_|_|\... |
82fd8022babbcc54cbc0e0d772c65a3a445fef3b | b2628ff5e11120549620d31d0f03b82452e6dacb | /calculate.cpp | 497b93a299faa06ff82bed75a5c4650f1b5756e1 | [] | no_license | ZviMints/BullAndPgia | 999aa7a95878389f23b2ea146aa1136a1f3bba7d | 1189c97cfd929e028cf90bbd20ca0dd97d7b2501 | refs/heads/master | 2020-05-19T00:59:35.124068 | 2019-05-06T11:14:09 | 2019-05-06T11:14:09 | 184,747,250 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 570 | cpp | calculate.cpp |
#include "calculate.hpp"
std::string calculateBullAndPgia(std::string choice, std::string guess) {
int bull = 0;
int pgia = 0;
int length = choice.length();
int numbers[10] = {0}; // Initialize the array with zero's
for(int i=0; i<length; i++)
{
if(choice.at(i) == guess.at(i))
{
bull++;
}
else... |
fc43844d566aa2cdf139a057a23b5f29b5ef82ca | 7740e4a895bfce4567d4ce425bc50158bf91ca09 | /src/system/lua/intrect.hpp | f4ef7f506440c08f763701eed3b4eaa69584ccac | [] | no_license | naelstrof/Syme | 193b376d3a01c48a952c8a3ec8d593098085ddf4 | 690651620754d9f5f2741d476635ebcb653e2e18 | refs/heads/master | 2021-01-23T13:49:17.577841 | 2014-04-16T23:03:42 | 2014-04-16T23:03:42 | 14,884,903 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | hpp | intrect.hpp | #ifndef AS_LUA_INTRECT_H_
#define AS_LUA_INTRECT_H_
#include <SFML/Graphics/Rect.hpp>
#include <cstring> // for memcpy
#include "../lua.hpp"
sf::IntRect* lua_tointrect( lua_State* l, int index );
sf::IntRect* lua_checkintrect( lua_State* l, int narg );
void lua_pushintrect( lua_State* l, sf::IntRect... |
40b27c8fc89efe0f17768a1517ed123a449833d1 | 61deafb2dcf4820d46f2500d12497a89ff66e445 | /1043.cpp | 0b8542cb7225d51bff3fbec66f5d258ff948816d | [] | no_license | Otrebus/timus | 3495f314587beade3de67890e65b6f72d53b3954 | 3a1dca43dc61b27c8f903a522743afeb69d38df2 | refs/heads/master | 2023-04-08T16:54:07.973863 | 2023-04-06T19:59:07 | 2023-04-06T19:59:07 | 38,758,841 | 72 | 40 | null | null | null | null | UTF-8 | C++ | false | false | 2,771 | cpp | 1043.cpp | /* 1043. Cover an Arc - http://acm.timus.ru/problem.aspx?num=1043
*
* Strategy:
* Find the center of the circle and calculate the area of the bounding box of the arc segment. More
* detail in the comments.
*
* Performance:
* O(1), runs the tests in 0.015s using 280KB memory.
*/
#include <iostream>
using ld =... |
2904c112a3f2b7df0dbc70c3013e5579cd0914cf | e6841a65c30e2ff468cf1e779559cbc03567cdb1 | /Praktikum GGI 2/Lösungen/Strassenverkehr(Dominik) WS2014/Aufgabenblock_3/FzgVerhalten.h | cb38b9357b8ffce645ea6727fcb3cf9e773e0b66 | [] | no_license | karimbouaziz95/Praktikum2_Versuch | 51ceff8b20e28f1cb5fe13d0397bf75a59a56e84 | 092993f74a9faabbf3918ad5b1393c8b7c06f90f | refs/heads/main | 2023-08-23T04:53:36.152724 | 2021-10-17T16:20:01 | 2021-10-17T16:20:01 | 418,179,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 326 | h | FzgVerhalten.h | #pragma once
#include "Weg.h"
#include "Fahrzeug.h"
class Weg;
class Fahrzeug;
class FzgVerhalten
{
public:
FzgVerhalten();
FzgVerhalten(Weg*);
virtual ~FzgVerhalten();
virtual double dStrecke(Fahrzeug*, double)=0;//abstrakte Oberklasse
Weg* getp_pSaveWeg();
protected:
Weg *p_pWeg;
Weg *p_pSaveWeg;
... |
59cc2ded2ce6493b807f776335d35030025d4851 | 4412e23e207b57eec5db709dd6686b81d5532e9c | /trap.h | 0536d3dd3b65c674467ec13fa5daea78b980afc4 | [] | no_license | HelloJimin2020/NecroDancer | f1294da872acf90770e61bd803d62b959c85f2a8 | 89ca27dab3c8ab173cf6fd0bb38ce7a41b0ec642 | refs/heads/master | 2022-04-11T07:10:46.537803 | 2020-04-05T12:02:19 | 2020-04-05T12:02:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | h | trap.h | #pragma once
class trap
{
private:
tagTile* _tile;
int _frameX;
int _frameY;
int _tileNum;
bool _trigger;
RECT _rc;
image* _img;
OBJECT _obj;
image* _trapName;
public:
trap();
trap(OBJECT obj , int tileNum , tagTile tile[]);
~trap();
void update();
void render(HDC hdc);
void animation();
int getTil... |
ccd02781c4db40c6998f38f363e6b8f0babd630c | 42bbd8ea164cd0917c942e9a121d654a6e49bd89 | /ortools/math_opt/constraints/util/model_util.cc | 515c0bf1efebd85da06d23fa08a4d6a8846a4fb2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-generic-cla"
] | permissive | rte-france/or-tools | 3c590b1e668e0675e4df05de665dd6d9e7604289 | 8564311256a299cbb9b8198d0b72af06d50d4c5f | refs/heads/main | 2023-08-17T23:16:59.160536 | 2023-07-11T13:18:53 | 2023-07-11T13:18:53 | 199,599,669 | 3 | 12 | Apache-2.0 | 2023-07-19T09:46:52 | 2019-07-30T07:32:33 | C++ | UTF-8 | C++ | false | false | 1,502 | cc | model_util.cc | // Copyright 2010-2022 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
b1956cbdd68c958450d32af4039a7ffa7c09e8e8 | 2087776be452657feb683be9c2670a7bd867d69f | /server/kbengine_ue4_plugins/Source/KBEnginePlugins/Engine/FrameSyncBase.h | 3517571e353f06b3488dfdfdc32499191139fe23 | [] | no_license | GearsCorp/kbengine_unity3d_splatoon | 3ae19c419de12730b6efbab090536a7849bdfdcc | d0cc65ad65d1db54d80948c6f00c5f8620e11f6f | refs/heads/master | 2020-12-12T14:54:12.153048 | 2018-12-14T04:03:11 | 2018-12-14T04:03:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | h | FrameSyncBase.h | /*
Generated by KBEngine!
Please do not modify this file!
Please inherit this module, such as: (class FrameSync : public FrameSyncBase)
tools = kbcmd
*/
#pragma once
#include "KBECommon.h"
#include "EntityComponent.h"
#include "KBETypes.h"
#include "ServerErrorDescrs.h"
#include "EntityCallFrameSyncBase.h"
class ... |
5c99acd9d5409d98a5b993f30e33b3638fdffddf | abbb1e132b3d339ba2173129085f252e2f3311dc | /docs/snippets/HETERO3.cpp | b10ed0282772d2dc1ee78cc5270345f960e9d80b | [
"Intel",
"Apache-2.0"
] | permissive | 0xF6/openvino | 56cce18f1eb448e25053fd364bcbc1da9f34debc | 2e6c95f389b195f6d3ff8597147d1f817433cfb3 | refs/heads/master | 2022-12-24T02:49:56.686062 | 2020-09-22T16:05:34 | 2020-09-22T16:05:34 | 297,745,570 | 2 | 0 | Apache-2.0 | 2020-09-22T19:03:06 | 2020-09-22T19:03:04 | null | UTF-8 | C++ | false | false | 399 | cpp | HETERO3.cpp | #include <inference_engine.hpp>
#include "ie_plugin_config.hpp"
#include "hetero/hetero_plugin_config.hpp"
int main() {
using namespace InferenceEngine;
//! [part3]
using namespace InferenceEngine::PluginConfigParams;
using namespace InferenceEngine::HeteroConfigParams;
// ...
InferenceEngine::Core core;
core.SetCon... |
bdf3c046f6d020541fb39d57d4b49e495a2baae9 | d121b9f699c92812fca4a00d65f6a6950b3e98ac | /Plugins/CustomRichText/Source/CustomRichText/Private/RichTextFunctionLibrary.cpp | 6b442d5500ebaae0f50fe3bebcf29236726bf1b5 | [] | no_license | Naotsun19B/CustomRichText | 218452610df74ba0a7286c8b13a76cf1115819d7 | 46d18c5d0de942b66db04150a12d9b30d8a41878 | refs/heads/master | 2022-11-06T20:36:48.919283 | 2020-06-28T06:03:12 | 2020-06-28T06:03:12 | 275,518,463 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,165 | cpp | RichTextFunctionLibrary.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "RichTextFunctionLibrary.h"
#include "Engine/DataTable.h"
#include "Components/RichTextBlockImageDecorator.h"
bool URichTextFunctionLibrary::GetBrushFromImageDecoratorClass(const TSubclassOf<URichTextBlockImageDecorator>& InClass... |
4fb95a7a755f2ea7986b987e961be645f9a99c92 | 4ee006df4047111602af25cc8ba0c5228509fb98 | /Game/Panel.h | 78d574bb02730e9ee2ad0712002382f3c95ff372 | [
"MIT"
] | permissive | JosepContact/3dEngine | 0b6b0316154d07556ad05ebd368080c5c5b787fe | ea69f8cd2f091a96350f16e7dbf679d82e44a57c | refs/heads/master | 2021-08-30T14:25:32.780204 | 2017-12-18T09:17:33 | 2017-12-18T09:17:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | h | Panel.h | #pragma once
#include "ImGui\imgui.h"
class Panel {
public:
Panel();
virtual ~Panel();
virtual void Start();
virtual void Draw() = 0;
virtual void CleanUp();
public:
bool active = true;
ImVec2 pos = { 0, 0 };
ImVec2 size = { 0, 0 };
public:
char* name;
}; |
b05bfb770cc4affaf5b558a404df38025cb8bbb0 | 08fae5bd7f16809b84cf6463693732f2308ab4da | /MarketDataAdapters/include/atfinancial/sync.h | c1e6db9406e80355fe97a532f0bb9f5e8ad55cce | [] | no_license | psallandre/IVRM | a7738c31534e1bbff32ded5cfc7330c52b378f19 | 5a674d10caba23b126e9bcea982dee30eee72ee1 | refs/heads/master | 2021-01-21T03:22:33.658311 | 2014-09-24T11:47:10 | 2014-09-24T11:47:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,634 | h | sync.h | /*
* sync.h Date=990810
*
* mutex, event, and semaphore classes
*
* Written 04/06/96 R. Holm
*
* Modified 09/06/96 R. Holm
* check for definition of __MUTEX_CLASS.
*
* Modified 05/12/97 R. Holm
* added FastMutex class.
*
* Modified 06/03/97 R. Holm
* added RWLock class.
* added Event::Puls... |
29efa4f1b611a51e96a5aace995c893d57d6f886 | a7ba87c3f90afe71ad407e91268d81e7804d3fe0 | /Cpp/win/AutoSeg/PunctionDictionary.hpp | 3981da516cf39143eff88720729d98a094529b41 | [] | no_license | mingspy/AutoSeg | f3558dae4a6261cdc6e5c776cc1564ccc4679ca7 | 924dfaafc915174d0ed42138bbb61e6be9e842b0 | refs/heads/master | 2020-04-12T22:03:51.929921 | 2014-12-20T02:31:15 | 2014-12-20T02:31:15 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,266 | hpp | PunctionDictionary.hpp | /*
* Copyright (C) 2014 mingspy@163.com
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This lib... |
e94d168f54d457e4424907fc2db7bbf40ceb57b4 | 07ee17f9fb57c0ccc9e4fe2c18410bd3f3eeec34 | /darkstar/SimObjects/Code/soundFXBuffer.cpp | a5ccec5bbb74971e038b4b3308267a866bf5490c | [] | no_license | AlexHuck/TribesRebirth | 1ea6ba27bc2af10527259d4d6cd4561a1793bccd | cf52c2e8c63f3da79e38cb3c153288d12003b123 | refs/heads/master | 2021-09-11T00:35:45.407177 | 2021-08-29T14:36:56 | 2021-08-29T14:36:56 | 226,741,338 | 0 | 0 | null | 2019-12-08T22:30:13 | 2019-12-08T22:30:12 | null | UTF-8 | C++ | false | false | 24,541 | cpp | soundFXBuffer.cpp | //------------------------------------------------------------------------------
// Description
//
// $Workfile$
// $Revision$
// $Author $
// $Modtime $
//
//------------------------------------------------------------------------------
#include <dsound.h>
#include <sim.h>
#include <soundFX.h>
#include <simReso... |
cac508c46d4225fe811c88370cea69132f160bd8 | 0577a46d8d28e1fd8636893bbdd2b18270bb8eb8 | /chromium/chrome/browser/ui/web_applications/web_app_tabbed_utils.h | 6b5b785161ff19dc3c2725bf1b05092003555dbd | [
"BSD-3-Clause"
] | permissive | ric2b/Vivaldi-browser | 388a328b4cb838a4c3822357a5529642f86316a5 | 87244f4ee50062e59667bf8b9ca4d5291b6818d7 | refs/heads/master | 2022-12-21T04:44:13.804535 | 2022-12-17T16:30:35 | 2022-12-17T16:30:35 | 86,637,416 | 166 | 41 | BSD-3-Clause | 2021-03-31T18:49:30 | 2017-03-29T23:09:05 | null | UTF-8 | C++ | false | false | 1,076 | h | web_app_tabbed_utils.h | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_TABBED_UTILS_H_
#define CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_TABBED_UTILS_H_
#include "chrome/browser/ui/tabs/tab_stri... |
d641ed6b33a2cba19f390a2b50064c9339974fc4 | 9c65052c4334132e647b150931f7a9adda3bda3b | /ConstructorCopy/Ogre.h | c44fd6c697e5e198ad5071d292d1dc82bba496bb | [] | no_license | Oldwedge/Tutorial | d4f225d464d000d28f1ef93c9af674ed8997eaa2 | 4a6c3a0ebe7aa8d3c8c91240c0a0ff811308d9ec | refs/heads/master | 2021-01-24T06:47:37.082858 | 2017-06-07T15:05:40 | 2017-06-07T15:05:40 | 93,321,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | h | Ogre.h | #pragma once
#include <string>
class Ogre
{
public:
Ogre():Name("Unnamed"),Age(0) { std::cout << "Constructor says: Ogre created" << std::endl; };
//this is a copy constructor, the const reference is the object instance that we are copying.
//just as the implicit copy I copy the name value from the "other" instance... |
f89354e8c699555f85d2343d4f8c99edb0111d2d | b956eb9be02f74d81176bc58d585f273accf73fb | /game/prefabs/EatableHeartPrefab.h | ccd55296312368f3099887aaa8b10696cf7a192e | [
"MIT"
] | permissive | Khuongnb/game-aladdin | b9b1c439d14658ca9d67d5c6fe261ec27084b2e9 | 74b13ffcd623de0d6f799b0669c7e8917eef3b14 | refs/heads/master | 2020-05-05T10:20:05.616126 | 2019-04-07T09:05:11 | 2019-04-07T09:05:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | h | EatableHeartPrefab.h | #ifndef __EATABLE_HEART_PREFAB_H__
#define __EATABLE_HEART_PREFAB_H__
#include <aladdin.h>
ALA_CLASS_HEADER_1(EatableHeartPrefab, ala::PrefabV2)
public:
EatableHeartPrefab() : PrefabV2( "Eatable Heart" ) {}
protected:
void doInstantiate( ala::GameObject* object, std::istringstream& argsStream ) const override;
}... |
77403322349ded14bcc9a913075796c14a1a5d5c | dd6147bf9433298a64bbceb7fdccaa4cc477fba6 | /8381/Sosnovskiy_Dmitriy/lab6/code/exception.h | d84fb657368686dcce8c918b763af3545a5cfd67 | [] | no_license | moevm/oop | 64a89677879341a3e8e91ba6d719ab598dcabb49 | faffa7e14003b13c658ccf8853d6189b51ee30e6 | refs/heads/master | 2023-03-16T15:48:35.226647 | 2020-06-08T16:16:31 | 2020-06-08T16:16:31 | 85,785,460 | 42 | 304 | null | 2023-03-06T23:46:08 | 2017-03-22T04:37:01 | C++ | UTF-8 | C++ | false | false | 497 | h | exception.h | #pragma once
#include <QString>
class Exception{
private:
unsigned int lineOfError;
QString title;
QString description;
public:
Exception(unsigned int line,
QString title,
QString description){
this->lineOfError = line;
this->title = title;
this->des... |
6506707629795d11efff36f8412bf64dabceb16e | eeea4b390a55b92ae89362621016f844aa52b18d | /LogCommon/UserInterface.hpp | 7076e23fd8056c2e2509cd3a54cc5040aa9bfa98 | [
"BSD-2-Clause"
] | permissive | blueelvis/Instalog | 5c3ce6ced8c2456fb85791d8e9fbeecbb5b7f285 | a3721c40cff4ff382db5ca44e96094f50011818a | refs/heads/master | 2020-12-11T09:24:57.698754 | 2015-02-03T07:07:57 | 2015-02-03T07:07:57 | 65,546,582 | 1 | 0 | null | 2016-08-12T10:53:22 | 2016-08-12T10:53:20 | C | UTF-8 | C++ | false | false | 1,191 | hpp | UserInterface.hpp | // Copyright © Jacob Snyder, Billy O'Neal III
// This is under the 2 clause BSD license.
// See the included LICENSE.TXT file for more details.
#pragma once
#include <cstddef>
#include <string>
#include <functional>
namespace Instalog
{
/// @brief Abstract user interface.
struct IUserInterface
{
virtual ~IUser... |
3ea184797f3cdf012f343bc3086650033a31226a | dfe0c8f0d5ac88e479ad1b1c2441b53f6665874e | /src/utils/Buffer.hpp | 1b5a84913abd7dacd968ce7d4c67ea93cb5ff4b6 | [] | no_license | Tybau/AetioEngine | 8eaf388e099c0ca6b5113c3a4c56c893ece54f29 | ab97352bbffd52a28edaf052b905d2a37d90eed9 | refs/heads/master | 2020-03-10T23:54:17.818125 | 2020-03-04T13:49:32 | 2020-03-04T13:49:32 | 129,650,525 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | hpp | Buffer.hpp | #pragma once
template <typename T>
class Buffer
{
private:
int size;
T *buffer;
public:
Buffer(T *buffer, int size):buffer(buffer), size(size) {};
~Buffer() {};
T* getBuffer() { return buffer; }
int getSize() { return size; }
int getMemorySize() { return size * sizeof(T); }
};
|
22661820556bcdeba5ccf4cc32ddee48883d000f | 8ae13c7d1ff0b89a4a3654bb90f36d122ca234e5 | /DataStructure/PAT/ch3_trees/path_in_heap.cpp | adaca1bab400488375a38eba7a3b0c386b39fa99 | [] | no_license | ssh352/AllTheSourceCodes | a6f393bcb8bfa26215a0359d14f5f4e3176b9536 | e6862c73add301b9a2dccc8ece1cf9c758ead850 | refs/heads/master | 2020-03-30T13:07:11.424829 | 2015-12-15T01:37:06 | 2015-12-15T01:37:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,632 | cpp | path_in_heap.cpp | /*
+----------------------------------------------------------
*
* @authors: 风之凌殇 <1054073896@qq.com>
* @FILE NAME: path_in_heap.cpp
* @version:
* @Time: 2015-09-05 14:30:23
* @Description: 05-树7 堆中的路径 (25分)
* 对输入中给出的每个下标i,在一行中输出从H[i]
* 到根结点的路径上的数据。数字间以1个空格分隔,行末不得有多余空格。
*
+---------------------------------------... |
55d262d0d4218c3156518318f9f7b7e1ce2ce644 | 4e38faaa2dc1d03375010fd90ad1d24322ed60a7 | /include/RED4ext/Scripting/Natives/Generated/anim/AnimNode_SkAnimSlot.hpp | 1d771b46a3f938ad41f03bc961075115c67f0780 | [
"MIT"
] | permissive | WopsS/RED4ext.SDK | 0a1caef8a4f957417ce8fb2fdbd821d24b3b9255 | 3a41c61f6d6f050545ab62681fb72f1efd276536 | refs/heads/master | 2023-08-31T08:21:07.310498 | 2023-08-18T20:51:18 | 2023-08-18T20:51:18 | 324,193,986 | 68 | 25 | MIT | 2023-08-18T20:51:20 | 2020-12-24T16:17:20 | C++ | UTF-8 | C++ | false | false | 662 | hpp | AnimNode_SkAnimSlot.hpp | #pragma once
// clang-format off
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/Scripting/Natives/Generated/anim/AnimNode_SkAnim.hpp>
namespace RED4ext
{
namespace anim
{
struct AnimNode_SkAnimSlot : anim::AnimNode_SkAnim
{
static con... |
cf7cd4a2df43cec04320f40971164dde9959060e | e2ccddf257368655b120264d78ce27bfd9604fb8 | /includes/db/db.cpp | 24744ba773cd98cb9289d642364bdfd13de3fa69 | [] | no_license | YashKumarVerma/DSAJcomProject | add677cf9ce75ed03ce9ad83494c92bdc7c897a9 | 0084197c99b943609725fade0c48ea01efe67838 | refs/heads/master | 2023-01-08T00:30:37.320678 | 2020-11-05T17:54:19 | 2020-11-05T17:54:19 | 308,828,959 | 0 | 0 | null | 2020-11-05T19:12:20 | 2020-10-31T07:34:35 | C++ | UTF-8 | C++ | false | false | 5,114 | cpp | db.cpp | #include <iostream>
#include <string>
#include "db.h"
#include <cstdio>
#include <stdio.h>
#include <vector>
#include <conio.h>
#include <fstream>
#include "./../filehandling/filehandling.h"
#include "./../login/login.h"
#include "./../rainbow/rainbow.h"
using namespace std;
void db::AddPrisonerData()
{
fstream ob;... |
55009d1727e1bd1639e21b75c913e669f4fdc445 | e0c6dffb0ff4d16d1473de8ca3df114d7093b394 | /Utils/ArgsReader.hpp | 3b6eaaad375a12ab90d7d982ed9cd52f386f443e | [] | no_license | Karol03/mazerunner | 8adcd7a76c73210cda7536a7ab1f54602363dac8 | 3c120c50a2dac7ef701c93891c16e92cd2d63e4e | refs/heads/master | 2022-11-04T07:21:16.025517 | 2020-06-10T17:19:02 | 2020-06-10T17:19:02 | 266,207,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | hpp | ArgsReader.hpp | #pragma once
#include "Config.hpp"
namespace utils
{
class ArgsReader
{
public:
static Config parse(int argc, char** argv);
private:
static bool isGraphicOn(char** argv);
static int readDrawSpeed(char** argv);
static int readSolver(char** argv);
};
} // namespace utils
|
e4bf0d2d267612c9dae6488f52e8a3e0331ae9ba | bcfcc97ad38042ce00d6e3302a6727a0272f85f1 | /olivine/src/olivine/render/api/sampler.hpp | f026fac89030094d57782860f93da56d69b5c481 | [
"MIT"
] | permissive | Alfret/Olivine | 916cfb2bb45eb67b0b8a1972272541b9735ff040 | 69aa108d11cad6cad70f7695d33ec4f1bdc6fe2b | refs/heads/master | 2020-08-01T07:39:21.068518 | 2019-12-08T13:32:44 | 2019-12-08T13:32:44 | 210,916,955 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 4,498 | hpp | sampler.hpp | // MIT License
//
// Copyright (c) 2019 Filip Björklund
//
// 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, mod... |
56761e0091a6d8a2ea2e1c30f723def500123f71 | b0ce35ceae28aaf789a5bfed7f971e181c38b72d | /test/TestOVSF.cpp | 14a94c8468f248e41f6e93e3a25c9c6a6251eead | [] | no_license | danscu/OVSF_CDMA | ee746ad3ba68117797d9275bd7815a0d883d7626 | a031e211afebf8e82aaddd649c61f8012aeda431 | refs/heads/master | 2021-01-18T09:59:40.449311 | 2013-02-28T18:33:49 | 2013-02-28T22:19:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | cpp | TestOVSF.cpp | #include <iostream>
#include <ovsf.h>
#include <phy/Receiver.h>
#include <phy/Transmitter.h>
using namespace std;
///////////////////////////////////////////////////////////////////////////////
int main()
{
OVSFTree t;
int expand = 8;
int l = t.expandTree(expand);
cout << "expand = " << expand << " new len=... |
27f144df467a6ec8e5efdf1d49c6269b674acbe4 | e40635db645b65220a5c801a846a578341360d86 | /gdal_utils/interpolate/main.cpp | 20ccc5fee17ee78170095dd0783ee7a11093fddb | [] | no_license | fpacheco/iber_base | 2bc99fb131cedf5c918ad59f79841fde036ab2d9 | de7d227ba1cde1be0d730da1fa11b9c9f7b5d3d0 | refs/heads/master | 2020-12-30T15:21:32.718409 | 2017-05-22T03:43:48 | 2017-05-22T03:43:48 | 91,129,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,613 | cpp | main.cpp | #include <iostream>
#include <string>
//#include <boost/PrettyOptionPrinter.hpp>
#include <boost/program_options.hpp>
#include "boost/filesystem.hpp"
#include <gdal_priv.h>
#include <cpl_conv.h> // for CPLMalloc()
// Bilineal interpolation
#include "bilineal.hpp"
using namespace std;
using namespace boost::program_op... |
410b3c8e69d4547f9a5963825d5e151e14fef41f | 8e158ecf7ad1545647b465c12812586720f2d2d3 | /mainwindow.h | 1ef56ffba71178bd98d95d5b56d9e6ea6f7de926 | [] | no_license | fairytalefu/PVDataGateway | 1888fbe833a287da71116b92c4aa3a99b7f7f0f2 | d549efe955ab9efac5ca39c0acfa812bb823c951 | refs/heads/master | 2021-01-20T14:15:16.640805 | 2017-05-08T01:50:05 | 2017-05-08T01:50:05 | 90,574,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,858 | h | mainwindow.h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QStringListModel>
#include <QStackedWidget>
#include <QMainWindow>
#include <QtSql/QSql>
#include <QtSql/QSqlDatabase>
#include <QtSql/QSqlDriver>
#include <QtSql/QSqlQuery>
#include <QtSql/QSqlQueryModel>
#include <QWidget>
#include <QDebug>
#include <QGr... |
8c2672721e2ba0ce088badeaf326b22af2feb03a | 17617fe17ba4253d221fb74059c162de937b48a5 | /errorinfo.cpp | 939f788c44159984792c5bc11022fc1d9175fd5d | [] | no_license | sdusky/Coincidence | 40490924f2157110ada5d029c33afba338a4a03b | 2e2a85fcbcfc53e2f8227c4ef446d7d9877fc6a9 | refs/heads/master | 2021-01-01T19:11:11.621600 | 2015-07-27T07:04:38 | 2015-07-27T07:04:38 | 39,437,484 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | cpp | errorinfo.cpp | #include "errorinfo.h"
ErrorInfo::ErrorInfo(QObject *parent) :
QObject(parent)
{
qDebug("ErrorInfo object initialized!");
}
void ErrorInfo::get_error_info(QString err)
{
qDebug()<<QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss");
qDebug()<<sender()->metaObject()->className()<<":";
qDeb... |
6e1df37edb7cd17d3fece275875b188844f58bb1 | a7027099630ca552ad61b203575cab9414639314 | /Evil_Halloween_scary_door/Evil_Halloween_scary_door.ino | 93f7c7b083b790654023b56d933b4505f0325649 | [
"MIT"
] | permissive | catchcoder/arduino | 701c877e12cf6fbfba5ec88b009027bec7fc7cb1 | c73afae51fa99a79db8ca596bb9f4e968c58fa32 | refs/heads/master | 2021-01-10T21:20:28.008138 | 2017-06-15T22:22:51 | 2017-06-15T22:22:51 | 27,997,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 81,809 | ino | Evil_Halloween_scary_door.ino | #include <stdint.h>
#include <avr/interrupt.h>
#include <avr/io.h>
#include <avr/pgmspace.h>
#define SAMPLE_RATE 10000
/*
* The audio data needs to be unsigned, 8-bit, 8000 Hz, and small enough
* to fit in flash. 10000-13000 samples is about the limit.
*
* sounddata.h should look like this:
* const int sound... |
a7f8e8efd639495b8fc0fe26f77e91c0fbbf789c | dedfee2224c6a5a04c84f17a0adf92de22a44fe6 | /cp/cp/bsearch.cpp | 03d7b033ca1ff60feef5a950b7259495439d5ea9 | [] | no_license | devangSinghh/dsa_question_bank | 868d615b9dc1fd4d63bf3aac4db5301043c113f6 | 25b92f000c7eff8485166b31e3ebaba0ce7d7d81 | refs/heads/main | 2023-07-08T05:08:52.148095 | 2021-08-14T11:20:23 | 2021-08-14T11:20:23 | 368,427,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,061 | cpp | bsearch.cpp | #include "allheaders.h"
using namespace std;
//https://leetcode.com/problems/range-sum-of-sorted-subarray-sums/
int rangeSum(vector<int>& nums, int n, int left, int right) {
vector<int>v;
for (int i = 0; i < n; i++) {
int sum = 0;
for (int j = i; j < n; j++)
sum += nums[j], v.push_back(sum);
}
nth_element(be... |
3b4b795221aead3a7c2cdf9920695f6a8ae87220 | 612a3304e57d1d6d465ea0c21a7f7c98a88a1d92 | /src/memory_allocator/operator_new_delete.cc | f5af695bc9498fb9112755757bf0e3b62981bb10 | [] | no_license | ourarash/cpp_tour | ac272bdb8c0df1dd8f806b065b080127f03221f4 | 4657469a57916944d317bfb06157254739672c9b | refs/heads/master | 2022-05-13T19:10:04.871060 | 2022-05-02T15:52:52 | 2022-05-02T15:52:52 | 235,487,775 | 45 | 18 | null | 2020-09-01T14:41:35 | 2020-01-22T03:00:59 | C++ | UTF-8 | C++ | false | false | 978 | cc | operator_new_delete.cc | #include <iostream>
#include <stdexcept>
struct X {
// X() { throw std::runtime_error(""); }
X() { std::cout << "Constructor!" << std::endl; }
~X() { std::cout << "Destructor!" << std::endl; }
// custom placement new
static void* operator new(std::size_t sz, bool b) {
std::cout << "custom placement new ca... |
423ff50dc02cdbcd12e1e89cb9f0cea19a0d0806 | 7c4e09f8ce1ab0dc37b009166c9368f7459fa423 | /202_happy_number.cpp | 431115c32277dde14a6f1b1eb3fa96bee7909739 | [] | no_license | animeshsahu80/Leetcode-solutions | 406d46f53a2d623599bc644f3ef4709c2e72c5df | ba1428c3bb73b8511f8e2de839c14dbc30e83198 | refs/heads/master | 2023-01-03T01:54:56.039867 | 2020-10-24T19:03:40 | 2020-10-24T19:03:40 | 268,450,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | cpp | 202_happy_number.cpp | class Solution {
public:
bool isHappy(int n) {
set<int> s;
while(s.find(n)==s.end()){
int sum=0;
s.insert(n);
while(n>0){
int dig=n%10;
n=n/10;
sum+= dig*dig;
}
n=sum;
if(n==1)
... |
a5c0964c3ff2d8a649a6ebcc9edd7eb99e307b7f | b4330417dd1590cf7ea3484c4dda20a0ecfee3b4 | /Online_judge/poj/poj_2139_2.cpp | ab6933080d10efd1919c0fd8bf73e337f6105950 | [] | no_license | Q10Viking/ACM_ICPC | d2b2c69e451a4e8de2fafdf346797900c61e65ee | d3d6547313a4400ed9c3eef1339a79466ffa5d97 | refs/heads/master | 2021-01-01T17:26:04.629801 | 2014-07-03T06:54:15 | 2014-07-03T06:54:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 978 | cpp | poj_2139_2.cpp | #include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
int main(){
int n,m,path[500][500],i,j,num[501],r,k;
memset(path,-1,sizeof(path));
cin>>n>>m;
for(i=0;i<n;i++)
path[i][i]=0;
for(i=0;i<m;i++){
cin>>r;
for(j=0;j<r;j++)
cin>>num[j];
for(j=0;j<r;... |
c3debd85368470134678ad1880e72a8ed5e83513 | 14c548d1366a98bf7d2b8db80ce585cb744fbf73 | /DataStructure/stack.cpp | 3e462aac9dbef5cce1301a70515b71ea0a7b2049 | [] | no_license | hitotright/zikao | 55ba05813603e207a6acbc57ba8ccf64bc7880f9 | 41766ecb1f3e272e394c47250388d13144fd57ff | refs/heads/master | 2020-04-29T02:30:13.160428 | 2019-10-16T08:49:51 | 2019-10-16T08:49:51 | 175,770,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,183 | cpp | stack.cpp | #include <cstdio>
#include <cstdlib>
#define STACK_INIT_SIZE 100
#define STACK_INC 10
#define OK true
#define ERROR false
#define OVERFLOW 500
typedef int SElemType;
typedef bool Status;
typedef struct {
SElemType *base;
SElemType *top;
int stacksize;
} SqStack;
Status InitStack(SqStack &S);
Status De... |
7e59f294a19344ac38720d3ed6cc373db1f9e74a | e335daa342882b7460258a855cecf1236c017a0f | /C++/Wavefront/wavefrontloadermtl.hpp | 50cc032a4e193b62f269fa8342360bbf7457a9ff | [] | no_license | jvmenthon/Mif39 | ce0a48149bb40b4c04ee33c9d72e3c11ddca0ddc | 5582c025cdfc2525052edeaa49ebd43e2189bfb3 | refs/heads/master | 2021-01-19T22:54:18.849680 | 2015-06-29T19:26:19 | 2015-06-29T19:26:19 | 33,852,505 | 1 | 5 | null | 2015-04-13T13:30:39 | 2015-04-13T06:50:37 | C++ | UTF-8 | C++ | false | false | 510 | hpp | wavefrontloadermtl.hpp | #ifndef WAVEFRONTLOADERMTL_H
#define WAVEFRONTLOADERMTL_H
#include "Assets/assets.hpp"
#include "Wavefront/wavefrontmaterial.hpp"
class WavefrontLoaderMTL :
virtual public Assets::MaterialLoader,
virtual public Singleton < WavefrontLoaderMTL >
{
public:
virtual ~WavefrontLoaderMTL ();
protected:
... |
c1524950c8704fe6efe7ee26b8715224ae568590 | 092e95a2c28edff74751aa9d9fcbe3cc03c9875d | /Plugins/MidiAsset/Source/MidiAssetEditor/Private/MidiAssetEditorModule.cpp | 0a9254b7214408db3ffb0cd9e8b812163d442c94 | [] | no_license | RunawayRabbit/Pentabeat | b6cf654978ceb2060af7cd05ee4088d40b90ceb8 | 05d62cefb9bd60cc5d4e4fc6117dd9eac3dbbfa9 | refs/heads/main | 2023-08-18T02:49:40.717003 | 2021-09-23T07:27:37 | 2021-09-23T07:27:37 | 409,490,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | cpp | MidiAssetEditorModule.cpp | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "MidiAssetEditorPrivatePCH.h"
#include "Modules/ModuleInterface.h"
#include "./Styles/MidiAssetEditorStyle.h"
#define LOCTEXT_NAMESPACE "FMidiAssetEditorModule"
/**
* Implements the MidiAssetEditor module.
*/
class FMidiAssetEditorModule
: ... |
3c20f454509674d381f5214cf244ba9404ba8247 | 3dd9af85fdd4818b2ab372204184c137c0b92911 | /Fallout_RPG/Menu.h | 40a3c01b7bd271fb6fafc73c9aeda82ebedad2d9 | [] | no_license | Prophet36/Fallout_RPG | d7b0ff6be7914bf49c4f55a5810641072e15584c | 87e852f900ccdf73e11954c98b03f3ae0c7be2d8 | refs/heads/master | 2021-05-10T22:33:53.207893 | 2018-03-26T17:25:45 | 2018-03-26T17:25:45 | 118,258,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | h | Menu.h | #pragma once
#include "Human.h"
#include <iostream>
/**
* This class is for handling menus and program navigation.
*
* The class can't be instantiated and all its methods are static in order to
* be able to freely use those methods whenever menu navigation is needed.
*
* @author Mateusz Warchol
*/
class Menu
... |
dc3ba489d2191b7ed2c1cf39c2f93432c666d5c0 | fb53e518968292e2705967dee27c38b7fb3ef287 | /Labyrinth/Labyrinth iPhone xCode/Classes/Native/Bulk_mscorlib_6.cpp | 48fd3f79a91abb580e298134cbd108d287bac0d6 | [] | no_license | LuukDeNiet/LabyrithMinor | bd50cc9d3089398efdb3b3a34c9a8363efe091d8 | f7d1768d43196b0a2e8bacf11628c0a344b8f13d | refs/heads/master | 2021-01-10T16:56:58.651293 | 2015-10-19T15:07:23 | 2015-10-19T15:07:23 | 43,541,404 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,425,473 | cpp | Bulk_mscorlib_6.cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
// System.Threading.Timer/TimerComparer
struct TimerComparer_t1545;
// System.Object
struct Object_t;
//... |
c61bd6fb35107123a7642652c827d21011ce5f79 | c48a2c2141cb57bfc6be30ae9e18b5526e1ef625 | /slice-results-centerlines/c++/Mesh.h | 9e487025ca7862e4d85ba5af9cdf1b4889e2c3fc | [] | no_license | Arash67/cardiovascular | 4e3e2b485e2fdb5a4d6e413261521fd20613addd | d2db6cdec30225fd89a37e9ef7dc99dfdb25d4a3 | refs/heads/master | 2023-08-10T16:43:52.883683 | 2021-09-29T20:33:16 | 2021-09-29T20:33:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 948 | h | Mesh.h |
#include <iostream>
#include <set>
#include <string>
#include <vector>
#include <vtkDataSet.h>
#include <vtkDoubleArray.h>
#include <vtkSmartPointer.h>
class Graphics;
#ifndef MESH_H
#define MESH_H
class Mesh {
public:
virtual void AddGeometry(Graphics& graphics) = 0;
virtual vtkSmartPointer<vtkDoubleA... |
95c8296c3fac3bc6b893c52d6aa91da2816cd7ef | cf35a104dabc3d3647df66aff9db32d18b002e1b | /lib/libstuff/event/focusin.c | 95f0bed6177bc76579988d7f3aa3bbfdf9e30153 | [
"MIT"
] | permissive | 0intro/wmii | ba2dff4be1a049c7d4475218a914585a3f810ab5 | 024f29d1058b58aa4ee6b956500a78f69355fb53 | refs/heads/main | 2023-07-11T18:08:43.660898 | 2023-06-25T18:57:45 | 2023-06-25T18:57:45 | 74,551,919 | 110 | 17 | null | null | null | null | UTF-8 | C++ | false | false | 631 | c | focusin.c | /* Copyright ©2006-2010 Kris Maglione <maglione.k at Gmail>
* See LICENSE file for license details.
*/
#include "event.h"
void
event_focusin(XFocusChangeEvent *ev) {
Window *w;
/* Yes, we're focusing in on nothing, here. */
if(ev->detail == NotifyDetailNone) {
/* FIXME: Do something. */
return;
}
if(!((ev... |
aaac3386ea3332f2b6552c3dfa2ee7ddd7b2c7a4 | 3a6ad2aae6210dac61b2c8d058fe9b372f85b4ae | /scons/libs/core/include/CLAM/LibXmlDomDocumentHandler.hxx | 7f951657a68c694f600b089efbc3e30494b98e26 | [] | no_license | millerthegorilla/clam | d6551afc56db62d293adce1c9b72e2828455b60d | 5e0e95394b57260af75af0cc7a5bc800c46cf750 | refs/heads/master | 2020-12-25T14:48:19.716915 | 2016-09-03T14:03:59 | 2016-09-03T14:03:59 | 67,293,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,860 | hxx | LibXmlDomDocumentHandler.hxx | /*
* Copyright (c) 2001-2004 MUSIC TECHNOLOGY GROUP (MTG)
* UNIVERSITAT POMPEU FABRA
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Li... |
154d6aab30fde7935bdd9f8678dc00bd855d46a2 | c0db9b6aad039bfc7851d18eb70057907b4fc8aa | /shiva-metamorphosis/src/ModelChooser.cpp | 7a65d25e162c2fecc7457e468269f34e3072dfdd | [] | no_license | michellewu1098/SHIVAProject | 2d98cd8e622a6171a01cc868d982280642796db4 | f6b330e7dcfab9dac48f02b4ef4df7f6782d4219 | refs/heads/master | 2021-11-15T04:57:34.688726 | 2021-11-03T10:02:53 | 2021-11-03T10:02:53 | 74,023,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,682 | cpp | ModelChooser.cpp | #include "ModelChooser.h"
#include "ShivaModelManager.h"
#include "GUIManager.h"
#include "GUI/Views/ImageButton.h"
#include "GUI/Views/TextView.h"
#include "GUI/Views/TextButton.h"
#include "GUI/Drawables/BitmapDrawable.h"
//----------------------------------------------------------------------------------
void Mode... |
21ae9c8c1ba97be748c90f6a69a0da696463084a | a73ca9860745c87feea071c4f95be20731258cab | /src/Defs.h | cd33e7269d899ca5690dfde934c9f0541241208f | [
"MIT"
] | permissive | assqingt/ColdHide | a435d9c34d2fac913da3c1f21da8083b5d5f3dfa | f587249310a4c066692292ee1d4b6b97dc4a18ac | refs/heads/master | 2021-01-03T16:31:43.837602 | 2020-02-09T10:13:06 | 2020-02-09T10:13:06 | 240,152,287 | 0 | 2 | MIT | 2020-02-13T01:30:45 | 2020-02-13T01:30:44 | null | UTF-8 | C++ | false | false | 3,186 | h | Defs.h | /*
Copyright (c) 2019 Rat431 (https://github.com/Rat431).
This software is under the MIT license, for more informations check the LICENSE file.
*/
#pragma once
#include <Windows.h>
#include <iostream>
typedef struct _MUNICODE_STRING {
USHORT Length;
USHORT MaximumLength;
PWSTR Buffer;
} MUNICODE_STRING;
typedef... |
5f32beeda3e4848bbd40786d6c68b7b7129e4b7f | ee7bca379690afd2a01faeabf7dc0428cb7bdd8d | /P1_0802/E1_0802.cpp | c8030017f48581bacf52fb24ec601583020c65a6 | [] | no_license | Yadnesh-06/Prayaas-Solutions | 0fc4514ee248b8281ee7da41c817511efdfb61ed | 45cd70fa3034a941a89bb9274de7162326031fa1 | refs/heads/master | 2023-08-05T11:43:09.068006 | 2021-09-29T15:49:06 | 2021-09-29T15:49:06 | 403,899,520 | 0 | 0 | null | 2021-09-07T08:24:11 | 2021-09-07T08:24:11 | null | UTF-8 | C++ | false | false | 589 | cpp | E1_0802.cpp | #include <stdio.h>
int main()
{
int n;
scanf("%d", &n);
int arr[n];
// int rev[n];
printf("\nEnter Array\n");
for (int i = 0; i < n; i++)
{
scanf("%d", &arr[i]);
}
printf("\nOriginal Array: ");
for (int i = 0; i < n; i++)
{
printf("%d ", arr[i]);
// r... |
2ea170c314e2bcf3b023250fb91c166556b749c1 | ebc422c4917734716d88aaaafa24df8999c21c14 | /include/csdl2.hxx | d90cea1e42427f16bdc809d5a4837fb296a160ea | [] | no_license | noqisofon/csdl2 | a5a642089db3c0053be5ba738fa08ac2bb27c7d3 | 1dc0f0edb2957eca62ba5485a6cb0a2c9c944845 | refs/heads/master | 2023-04-05T22:11:28.548340 | 2021-04-26T06:54:22 | 2021-04-26T06:54:22 | 361,599,189 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 176 | hxx | csdl2.hxx | #pragma once
#include "csdl2/SDL.hxx"
#include "csdl2/Point.hxx"
#include "csdl2/Size.hxx"
#include "csdl2/Rect.hxx"
#include "csdl2/Renderer.hxx"
#include "csdl2/Window.hxx"
|
410823d20a8dd53be116abd14301f51b89efed3b | b6d732508140f86297d89cd8cea366bed7b17e10 | /661.image-smoother.hpp | 01fefcf2b0799c775ecdd262bd3e4652655d77d0 | [] | no_license | 15cm/LeetCode | 8cfd25d7aac01f2cf99e9171d07d20540f9a2de0 | da5bb7d378371861008e4180ce6fb05b5d880a01 | refs/heads/master | 2021-01-13T01:07:16.351418 | 2018-09-24T06:13:22 | 2018-09-24T06:13:22 | 54,251,571 | 1 | 0 | null | 2019-05-01T02:10:03 | 2016-03-19T06:40:34 | C++ | UTF-8 | C++ | false | false | 885 | hpp | 661.image-smoother.hpp | class Solution {
public:
vector<vector<int>> imageSmoother(vector<vector<int>>& M) {
int m = M.size(), n = M[0].size();
vector<int> sum(n);
vector<vector<int>> ans(m, vector<int>(n));
for(int i = 0; i <= m; i++) {
for(int j = 0; j < n; j++) {
if(i < m) sum... |
49a739934b60057ed2d405b506103ef2c0d47159 | 9a5af9452626a64dd1fe308b3d59f63d6d0dab2f | /src/Include/GPGOMEA/Variation/SubtreeVariator.h | 960fa6b2597b975d66e50761afe9ded0b5717bf8 | [
"Apache-2.0"
] | permissive | marcovirgolin/GP-GOMEA | 39e74e8867483fa575134325363632aa3940270b | 750220c23d599e515ca337dcca617ae5faab8b4d | refs/heads/master | 2023-03-16T05:43:14.014517 | 2023-03-14T16:24:12 | 2023-03-14T16:24:12 | 164,092,246 | 42 | 27 | Apache-2.0 | 2022-06-02T08:59:53 | 2019-01-04T10:15:07 | C++ | UTF-8 | C++ | false | false | 2,388 | h | SubtreeVariator.h | /*
*/
/*
* File: SubtreeVariator.h
* Author: virgolin
*
* Created on June 28, 2018, 3:12 PM
*/
#ifndef SUBTREEVARIATOR_H
#define SUBTREEVARIATOR_H
#include "GPGOMEA/Genotype/Node.h"
#include "GPGOMEA/Variation/TreeInitializer.h"
#include "GPGOMEA/Fitness/Fitness.h"
#include "GPGOMEA/Fitness/SymbolicRegr... |
020d2053be9a3e1023e38ebbfcd1de66ebee2d41 | 3aeabaeea5e217124bf55e9c56c807981e4f85e0 | /pi-board/GenericComm.cpp | 97e3d2cf4a764126f0dcad54940581c2c621bd64 | [] | no_license | aeccue/fpga-3d-camera | 7ab9cd71d70583159657e8c18ff9412f03ec3e89 | eeddc94789b678ac08880de7d5ae06c30ac4e304 | refs/heads/master | 2020-03-29T23:06:22.172711 | 2018-09-26T16:26:44 | 2018-09-26T16:26:44 | 150,456,435 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,151 | cpp | GenericComm.cpp | #include <unistd.h>
#include <stdio.h>
#include <iostream>
#include <stdlib.h>
#include <bitset>
#include "GenericComm.h"
extern "C" {
void setupGPIO();
void setGPIOIn(int pin); // Set pin to INPUT
void setGPIOOut(int pin); // Set pin to OUTPUT
int getGPIOValue(int pin); // Get value of pin (0 or 1)
void setGPIOH... |
8887a794426488e305b5f6d95415d4b206e09272 | 484ec4d1331b94fe9c19fd282009d6618e9a1eef | /Real-Time Corruptor/BizHawk_RTC/quicknes/nes_emu/Nes_Core.h | e171b59aa6cf8a2aef3f2d287a3e569a34ceced8 | [
"GPL-1.0-or-later",
"MIT"
] | permissive | mguid65/RTC3 | a565303fdfd1807a2516be5752c7b30a8be3d909 | 4082eb302f8e6e20ba621ec70308dab94985fe7f | refs/heads/master | 2020-04-13T16:57:31.933643 | 2018-12-31T16:03:39 | 2018-12-31T16:03:39 | 161,684,492 | 0 | 0 | MIT | 2018-12-13T19:19:17 | 2018-12-13T19:19:17 | null | UTF-8 | C++ | false | false | 3,128 | h | Nes_Core.h |
// Internal NES emulator
// Nes_Emu 0.7.0
#ifndef NES_CORE_H
#define NES_CORE_H
#include "blargg_common.h"
#include "Nes_Apu.h"
#include "Nes_Cpu.h"
#include "Nes_Ppu.h"
class Nes_Mapper;
class Nes_Cart;
class Nes_State;
class Nes_Core : private Nes_Cpu {
typedef Nes_Cpu cpu;
public:
Nes_Core();
~Nes_Core();
... |
59e6191f1d3eb17d2ad475dec73be50d64f18b78 | e75ee27642de35f23b37533ffbbfce8440393c3b | /1107 - How Cow.cpp | f441e3b5281fd42032a9f1f8d0f114cab3d60842 | [] | no_license | mdarafat1819/LightOJ---Solution | a1817124a04c399e4c1d947fb0e025e913522e49 | 6f62fd25a8d256b9d81a2a97831034c39eee8669 | refs/heads/master | 2021-06-26T04:58:07.975122 | 2021-04-17T09:42:23 | 2021-04-17T09:42:23 | 227,523,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | cpp | 1107 - How Cow.cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
for(int i = 1; i <= t; i++)
{
int x1, y1, x2, y2, x, y, m;
cin>>x1>>y1>>x2>>y2>>m;
cout<<"Case "<<i<<":"<<endl;
for(int j = 0; j < m; j++)
{
... |
5f7a127e02898329b9fdd2f0b9d5a4ba7f122e68 | b21b160bd16b7d299b2d37c286d227f3872cdd0d | /src/cimagehistory.h | 91951cc21f09e2ac5910215a5a6ac37adc7ae6df | [] | no_license | triclozan/stegotest | f8e0cfd817ecfd4e7390d00e8ee6b1dcae161220 | c8378a1f363a56afbb58ef41c74fc07764d09a1f | refs/heads/master | 2021-01-21T21:55:32.786142 | 2013-04-15T09:06:37 | 2013-04-15T09:06:37 | 9,272,587 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | h | cimagehistory.h | #ifndef CIMAGEHISTORY_H
#define CIMAGEHISTORY_H
#include <list>
using namespace std;
#include <QImage>
class CImageHistory
{
public:
list<QImage> data;
int max_size;
QImage Undo(int steps = 1);
QImage Current();
QImage Redo(int steps = 1);
void Add(QImage& in);
CImageHistory(int ms = 10);
... |
daf1b877e1626a6ae1c1181141f7f3d2e502e806 | ac686a711c21460cda2225aaa8d74ee87905aa13 | /BullCowGame/Main.cpp | 405e2c7dc73069c35745f78e2af9a444db87ddba | [] | no_license | dangtrang/BullsAndCows | 33be426044221fb92893675426a1bbb03fdba37f | 117ebb08d299c61e68abd9634f30f8eafe1a3823 | refs/heads/master | 2021-01-22T19:54:42.342507 | 2017-03-17T02:31:13 | 2017-03-17T02:31:13 | 85,259,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,198 | cpp | Main.cpp | #include <iostream>
#include <string>
#include "FBullCowGame.h"
using FText = std::string;
using int32 = int;
void PrintIntro(int32);
FText GetGuess();
bool DoYouWantToContinue();
int main()
{
constexpr char ESC = 27;
constexpr int32 WORD_LENGTH = 5;
PrintIntro(WORD_LENGTH);
bool isContinue = true;
do
{
b... |
aa65c033205df73dde94ae2fdc56418037327741 | 36caa7bb29a9aa2bd76e60187ee238f40a63d32b | /main.cpp | 2abf616d0ef48540580ceff66a7a0a2a50f25ba9 | [] | no_license | droesedj/cs3210-lab2_droesedj | 5a7520860a015adbaeab0c7c54f85d7663b43ca9 | 2a874c0f028327f480fa4c7d672ff1d6066eccf8 | refs/heads/master | 2021-04-03T10:25:05.027369 | 2018-03-16T16:27:14 | 2018-03-16T16:27:14 | 125,232,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,680 | cpp | main.cpp | #include "matrix.h"
#include <iostream>
using namespace std;
int main(void)
{
// test our matrix
matrix m1(3,3);
m1[2][1] = 20.5;
cout << "m1 - should be mostly zeros, (2,1) is 20.5" << endl;
cout << m1 << endl;
matrix m2 = matrix::identity(3);
m2[0][0] = 1; m2[0][1] = 2; m2[0][2] = 3;
m2[1][0] = 4; m... |
01002651638b97818964a9d0efdbf21709d7d57e | 926a43a6cbf54bed26a52ed5251fc162c594aaf6 | /src/regal/RegalFilt.h | 3129303896c1b42a437aaa732ad25d056a30a5ad | [
"Libpng",
"BSD-3-Clause",
"MIT",
"Unlicense",
"Zlib",
"SGI-B-2.0",
"LicenseRef-scancode-glut",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | adhoc-bobcat/regal | c09bce4f2c15ca0b76e055c9b2448c99b1b940d7 | 4b3cc1c0d1b2fa0c7a06db599828f1386be22730 | refs/heads/master | 2021-01-16T20:21:31.536603 | 2013-05-10T20:59:51 | 2013-05-10T21:03:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,914 | h | RegalFilt.h | /*
Copyright (c) 2011-2013 NVIDIA Corporation
Copyright (c) 2011-2013 Cass Everitt
Copyright (c) 2012-2013 Scott Nations
Copyright (c) 2012-2013 Mathias Schott
Copyright (c) 2012-2013 Nigel Stewart
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are... |
09ad0225ab6d1d4943e806c6ae706eece7e917d7 | dc90b235c90d55ad96886e4ea2f7f30eaf5668cc | /include/vm/opcodes.hpp | 72b0402b8c3e306517a33fa56b2240eb683bd96c | [] | no_license | cntkillme/JeramoiVM | d04f133ca621e9fd294663cf5457fed43eb2f8e7 | aee798320969b9da9af7225e31995a401b8c0a1c | refs/heads/master | 2020-06-27T03:52:04.853928 | 2019-08-01T14:36:49 | 2019-08-01T14:36:49 | 199,837,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,430 | hpp | opcodes.hpp | #pragma once
#include "config.hpp"
namespace opcodes
{
template<word Reg0, word Reg1>
struct MOV
{
template<typename Context>
using execute = typename Context
::template write_register<Reg0, Context::template read_register<Reg1>>;
};
template<word Base, sword Disp>
struct LEA
{
templ... |
82695f3d5d91c55d70d38d0bb533fd378d209915 | 5d888f590954597d398b31d7d8b5a7c73b785040 | /VM/CodeOfCommands.h | 8f02084cdf71793c843682ecdaae55fe55e24ee8 | [] | no_license | PyatiyEtaj/Code-Review | 187af16f14babb56fc4d65f3b09e3faacb09d9dc | 06c1a9635daee948f2b385fcd8c3778c7a113d56 | refs/heads/master | 2020-04-11T03:14:54.423064 | 2018-12-12T14:21:48 | 2018-12-12T14:21:48 | 161,472,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,451 | h | CodeOfCommands.h | #ifndef VM_CODEOFCOMMANDS_H
#define VM_CODEOFCOMMANDS_H
#include <cstdint>
enum ProcessorCommands : uint8_t{
STOP = 0,
SUMI = 1,
SUMU = 2,
SUMF = 3,
SUBI = 4,
SUBU = 5,
SUBF = 6,
MULI = 7,
MULU = 8,
MULF = 9,
DIVI = 10,
DIVU = 11,
DIVF = 12,
MODI = 13,
MODU ... |
4df83ec8ff4bc1a347468ff27bc255392c64b070 | 2ec0e254ed7b88821a52bd31bbac68f19a2fde95 | /Arrays/17.ProductOfArrayExceptItself.cpp | d14a042c158eabc2f0914e74c224cb40d19e45d2 | [
"MIT"
] | permissive | jatinbharadwaj/FAANGPath | 0d5e7a4cf3a1837b458e127e3b9e0532c6687c93 | 4f42a66331c4478ed95348419ba89b6d7ba27d42 | refs/heads/main | 2023-07-16T16:15:03.333861 | 2021-09-05T13:31:37 | 2021-09-05T13:31:37 | 392,275,207 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,485 | cpp | 17.ProductOfArrayExceptItself.cpp | // https://leetcode.com/problems/product-of-array-except-self/submissions/
#include <iostream>
using namespace std;
//<====================== APPROACH ========================>
/*
Prefix and PostFix multiplication arrays are maintained at any given point product except itself is
product of number ahead * pro... |
53b190c14121517da4fa6cb678f6b68426ffee0f | 29a38d0f9e5b55112a33124488b6b5b95dcb55e1 | /statemachines/ABumpDetector/ABumpDetector.cpp | 3f73d4ba4afbbfa30f42374e059d40650776d0b2 | [] | no_license | nagarkar/plasticsandpcbsposts | 656b1d365a57a6c4137be4e8c0d3cf1d4697e90e | ac63d722ea05f3a4f6aff86a0177035224071974 | refs/heads/master | 2021-01-20T01:44:21.501134 | 2017-06-30T06:29:50 | 2017-06-30T06:29:50 | 89,323,571 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,678 | cpp | ABumpDetector.cpp | //****************************************************************************
// Model: AccBumpDetector.qm
// File: ABumpDetector/ABumpDetector.cpp
//
// This code has been generated by QM tool (see state-machine.com/qm).
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
//
// This program is open sou... |
1ce1df00cbde0226682560ade4eb7f7fc9f80528 | da0dfd415228d18ebe0c8c4e185506fc0edec5ff | /cs457_p2/Client.cpp | 64ae19bc41628ef993d4d696ec3cad093d9d78b2 | [
"MIT"
] | permissive | dileshan/classprojects | bb18a3935686c12f5f875ea2ee271ebb9acb3b6a | 71675c2fbfa2e106f5df0010f75fdc84c0604cd5 | refs/heads/master | 2021-05-28T06:08:52.579443 | 2015-01-28T04:05:46 | 2015-01-28T04:05:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,284 | cpp | Client.cpp |
/*******************************************************************************************************************
* Names: Matt DeSilvey. Matt Floyd, Tai Tran
* Date: 3/14/08
* Project 2
*******************************************************************************************************************
*/
#inc... |
5855ce9abb944fd5ea6a233f2fbdfdb8115d3c78 | 37ce24fcc921c62eb9969609808c84dfd9c701f5 | /贪吃蛇(C++)/GreedySnake/food.h | 304e42b1d1f43b5449c92cd3ff3e83103d7c03f8 | [] | no_license | FangChao1086/Projects | 9a684cbe7df86b87093cd83009cb1c71abba135d | 4d50c35e22ba0d1d6ae643399648f19f14fff6ad | refs/heads/master | 2020-04-29T09:53:48.913534 | 2019-12-03T08:31:52 | 2019-12-03T08:31:52 | 176,042,439 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 527 | h | food.h | #ifndef _FOOD_H
#define _FOOD_H
#include"snake.h"
class Snake;
class Food {
public:
Food() :cnt(0), flash_flag(false), big_flag(false), x(0), y(0), big_x(0), big_y(0), progress_bar(0) {}
void DrawFood(Snake&);
void DrawBigFood(Snake&);
int GetCnt();
void FlashBigFood();
bool GetBigFlag();
int GetProgressBar();
... |
233dc01405b04f6b59a0a69b746a12c16412a916 | 1e02104c35601d3a013481efb2d1ad1f20b40542 | /LVCSR/include/onepass.h | 2ec78562bc1382d8ee5432addf10c885cec5e5cd | [] | no_license | hmylk/LVCSR | ac448cbe335af45086de2ff3078aac9970e45aa9 | cf3b443ff77a6c42eeb2bedc2d6f00ee0f7b3fa9 | refs/heads/master | 2021-01-19T20:18:34.406238 | 2017-03-03T02:38:20 | 2017-03-03T02:38:20 | 83,746,311 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,932 | h | onepass.h | /*******************************************************************************
*
* HCCL PROPRIETARY INFORMATION
*
* This software is supplied under the terms of the license agreement
* or nondisclosure agreement with HCCL and may not be copied
* or disclosed except in accordance with the... |
aeef85a69d1cdc3b7321f6cc27d779df09121c39 | b09981c78ab276748d0136c1ef87d140c64fb32a | /test_boost_interprocess/main.cpp | 37983fa7c19792e08b146939ecd94716cf3e4114 | [] | no_license | tarstars/markov_chain | b1f1f302e55e9037d5c31c4d62d55abd7dcc95e5 | 61e8105bd6b5fe843b84fa00390820d1eaaa3e1e | refs/heads/master | 2020-04-23T23:55:51.860285 | 2019-03-02T14:42:45 | 2019-03-02T14:42:45 | 171,550,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 952 | cpp | main.cpp | #include <boost/process.hpp>
#include <iostream>
using namespace std;
void testStringChild() {
// std::setlocale(LC_ALL, "en_US.utf8");
boost::process::ipstream ps;
boost::process::child c(boost::process::search_path("curl"), "http://localhost:8000/data/wp_utf8.txt", boost::process::std_out > ps); // "ht... |
7f856dc9574dc3232e100f16e066150835855582 | d2d61d282a686173ede255c73724fa33229bcd3c | /main.cpp | ac9e2609c2f43908625525f0105fc034a1f5128e | [] | no_license | J-A16/Treasure-Islands | 88eddd491db707643914f9edf2497495a1c01c2a | 5cdca9dcab09ea44f300a1508d48ae56630a179d | refs/heads/master | 2021-01-12T02:18:58.337033 | 2017-01-10T05:08:48 | 2017-01-10T05:08:48 | 78,498,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,800 | cpp | main.cpp | #include <cstdlib>
#include <iostream>
#include <ctime>
#include "Treasure.h"
#include "Board.h"
#include "automationPositionCheck.h"
#include "positionCheck.h"
using namespace std;
const int Board::BOARD_SIZE = 70;
int main()
{
const int TREASURE_1_SIZE = 2, TREASURE_2_SIZE = 3,
TREASURE_3_SIZE = 4,... |
46472c5f88d74b1dc135d1300f3fae50d66f591c | 4b430686ae824c78604e15818c4b864778468ca1 | /Library/Sources/Stroika/Frameworks/WebServer/ConnectionManager.inl | 980b201fa9cfadf81c8308998a7d66a9c8a02f16 | [] | no_license | kjax/Stroika | 59d559cbbcfb9fbd619155daaf39f6805fa79e02 | 3994269f67cd9029b9adf62e93ec0a3bfae60b5f | refs/heads/master | 2021-01-17T23:05:33.441132 | 2012-07-22T04:32:58 | 2012-07-22T04:32:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | inl | ConnectionManager.inl | /*
* Copyright(c) Sophist Solutions, Inc. 1990-2012. All rights reserved
*/
#ifndef _Stroika_Frameworks_WebServer_ConnectionManager_inl_
#define _Stroika_Frameworks_WebServer_ConnectionManager_inl_ 1
/*
********************************************************************************
**************************... |
b6e07fca38f2818c8a9dcef72154003e187a3522 | 3811acd04a346c45c48e50b147f5f990ae4466ca | /Extrusion/Console.h | 7e926953decf69ce4d11ccfc314f2f4093a203f2 | [] | no_license | slmmnl/DigitalBiomimetics | 0f302a3a2d7b590e6240ed16a1bd83178231da2a | 7d348eefe50eee17f906adad5b6465197aad0ab5 | refs/heads/master | 2020-05-15T18:49:31.797893 | 2019-05-01T12:15:12 | 2019-05-01T12:15:12 | 182,439,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,513 | h | Console.h | //-- Console Data
//--
static const uint8_t ConsoleCapacity = 32;
static char ConsoleBytes[ConsoleCapacity];
static uint8_t ConsoleCount;
//-- Communication States
//--
static bool ConsoleEcho;
static bool ConsoleTalk;
//-- Setup Communications
//--
inline void ConsoleSetup( )
{
ConsoleEcho = false... |
c0914296228901ddca35061dbca5c5b76e57be30 | 7d71fa3604d4b0538f19ed284bc5c7d8b52515d2 | /Clients/MGX/PP/PP New/Src/MAIL.CPP | cc8fd8898a4a9edcf5ed9aa262a223e7e6c7abfe | [] | no_license | lineCode/ArchiveGit | 18e5ddca06330018e4be8ab28c252af3220efdad | f9cf965cb7946faa91b64e95fbcf8ad47f438e8b | refs/heads/master | 2020-12-02T09:59:37.220257 | 2016-01-20T23:55:26 | 2016-01-20T23:55:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,415 | cpp | MAIL.CPP | #include "pp.h"
#include "id.h"
#include "mail.h"
CMapiMail::CMapiMail(HWND hParent,HINSTANCE hInstance)
{
ASSERT(hInstance!=NULL);
ASSERT(hParent!=NULL);
m_hInstance = hInstance;
m_hParentWnd = hParent;
// MAPI Functions
lpfnMAPILogon = NULL;
lpfnMAPILogoff = NULL;
lpfnMAPISendMail = NULL;
... |
e2eaba809537110f0fd188b8de89833f06688eb6 | a53c18c3cbbda04bd61e9d62458588b8d0a614d7 | /hardware/energia/msp430/libraries/WiFi/examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino | b24f05d553325b4a47f0d017faf8de7e3092c324 | [] | no_license | wallforfry/Energia | 2987287ae33bcb44ab029a2eec70c1bd27cb99d0 | 15646ab633fa35f678afafc2974d075356665e0f | refs/heads/master | 2021-01-22T03:40:36.261086 | 2017-05-25T10:50:07 | 2017-05-25T10:50:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,592 | ino | WiFiWebClientRepeating.ino | /*
Repeating Wifi Web Client
This sketch connects to a a web server and makes a request
Circuit:
* WiFi shield attached to pins SPI pins and pin 7
created 23 April 2012
modified 31 May 2012
by Tom Igoe
modified 13 Jan 2014
by Federico Vanzati
modified 6 July 2014
by Noah Luskey
This cod... |
b56f101b7aca6cc5fe81b527cb3cff44809de7c1 | 2c5ce41b93d588117a3df412f69700b26fb83efb | /src/units.hpp | a490fc6031588d7429eda4f0407294001c1bc226 | [] | no_license | bitasset/bitshares | a813a1c48af3db6829b61606e1ab3bbd20ee8bbd | 860558573c62b704d37361b237264eba895f88df | refs/heads/master | 2021-01-16T18:49:59.271877 | 2013-06-23T16:44:54 | 2013-06-23T16:44:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 753 | hpp | units.hpp | #pragma once
#include <fc/reflect/reflect.hpp>
/**
* All balanes are annotated with a unit, each BitShare
* chain supports 8 basic units
*/
enum unit_type
{
BitShares = 0,
OneOzGold = 1,
OneOzSilver = 2,
USD = 3,
EUR = 4,
YUAN = 5,
GBP = 6,
BitC... |
f1db5318eb31ffca3b5ec0c34df68e0ac8d086c7 | 7d71fa3604d4b0538f19ed284bc5c7d8b52515d2 | /Clients/AG/CreateAndPrint/CommonUI/ToolsPanelContainer.h | 92ad5619dcf3bd084a03419067faae8a74b54e14 | [] | no_license | lineCode/ArchiveGit | 18e5ddca06330018e4be8ab28c252af3220efdad | f9cf965cb7946faa91b64e95fbcf8ad47f438e8b | refs/heads/master | 2020-12-02T09:59:37.220257 | 2016-01-20T23:55:26 | 2016-01-20T23:55:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,339 | h | ToolsPanelContainer.h | #pragma once
#include "resource.h"
#include "AGDoc.h"
class CCtp;
class CToolsCtlPanel;
class CToolsPanelContainer
{
public:
CToolsPanelContainer(CCtp* pMainWnd);
virtual ~CToolsPanelContainer();
virtual void Free();
virtual void Create();
virtual void ShowWindow(int nCmdShow);
virtual void S... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.