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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e76bc703305b3c184c7ffe70506f35381e3d866c | 6827eb7ee2d1685ad49528021e43c84e1ff4c376 | /3_semestre/Estrutura_de_dados_I/Ponteiro_alocacaoDinamica/Exercicio3.cpp | 37121f2b33c43ddc96490e1fede6df1cbc6f1db5 | [] | no_license | Darian-Mello/ciencia_computcao | d38bab4511a098afd35a92ec59993278ec21c981 | bc55f8ca2df78c03f529902eb7cb5a5e6f875eae | refs/heads/main | 2023-08-25T13:45:07.658041 | 2021-11-06T00:23:09 | 2021-11-06T00:23:09 | 425,117,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 872 | cpp | Exercicio3.cpp | #include <iostream>
#include <cstdlib>
#include <windows.h>
#include <ctime>
using namespace std;
void gera_vetor(int * vetor, int tam);
main(){
setlocale(LC_ALL, "Portuguese");
int tam;
float media=0;
do{
system("cls");
cout << "Informe a quantidade de elementos no vetor: ";
... |
ddcf5cd461f6e084f4a91e9066165c980059d7c4 | 7352f5ffb69708a7daaa6df53867a7708a54a408 | /Database/Simulation.cpp | 6145351e2ae5fbbbfe8e3cfa8ba64ab08a38af1d | [] | no_license | jshpark/Data-Structures | 1604a50f700cdceadf40b24d96cd953ac18b9e6d | a3b0a3518d25826f4ac7cc3f1ab2874d1a158bc6 | refs/heads/master | 2020-11-26T01:31:29.042281 | 2019-12-18T21:37:08 | 2019-12-18T21:37:08 | 228,924,208 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,760 | cpp | Simulation.cpp | #include "Simulation.h"
#include "TreeNode.h"
#include "BST.h"
#include "Person.h"
#include "Faculty.h"
#include "Student.h"
#include "TextFromBST.h"
#include "BSTFromText.h"
#include <iostream>
#include <random>
#include <ctime>
#include <string>
#include <sstream>
#include <fstream>
#include <iomanip>
... |
68505213ad4c827492eb93975e9e50b4e925c710 | 76916edc946cede9ceb3419204b5fbce2061e290 | /hello_file.cpp | c756ad7e704a9f346d5f6bbff3f8bd35b426a35e | [] | no_license | newbiemohit/testrepo | 51826bdc54b45fa5e024c93f0377171ed88ebc36 | b8e429f5fee4f7163e24a6202d283bdfa4ba141d | refs/heads/master | 2020-09-04T09:15:44.046833 | 2019-11-05T10:45:26 | 2019-11-05T10:45:26 | 219,700,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 156 | cpp | hello_file.cpp | #include<iostream>
usig namespace std;
int main(){
for(int i = 0; i < 5; i++)
cout<<"Hello, World!";
return 0;
}
// this was a sample program
|
c2c133c17f3e89dd65cc3a2e792c980712ae1af5 | 64b3764df44c0824b500c5f20a4cfa60ff15289a | /Player.cpp | 29095773b5a642aee5ebf868b3d6b58b2ddcdd4e | [] | no_license | pazLevi/shootingAI | 77fee96d38cab256c3865d241cd9d8d750811db9 | 7eed045b54f553b52fef881e89c2fa917a772b85 | refs/heads/master | 2022-12-16T06:11:13.312942 | 2020-09-16T22:45:57 | 2020-09-16T22:45:57 | 295,242,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,436 | cpp | Player.cpp | #include "Player.h"
#include <iostream>
const double deltaShoot = 2 * 3.14 / 6;
using namespace std;
Player::Player()
{
this->id = 0;
this->point = new Point2D();
this->point = point;
this->ammo = 10;
this->numOfGranades = 2;
this->hp = 100;
this->mode = 1;
this->belongsToTeam = 0;
}
Player::... |
9e69ddb6b29f28856bdbf041050394ab8909a06c | 2ad3bf94450923c878cb6b1b07ffb3814f0ade24 | /Calculating grade.cpp | a4f0656d871e558c182fba226d2ab55f37110f08 | [] | no_license | Dersalik/My-first-project-with-C-plus-plus | a2cce936ce018041c65285b24fa696a274805aa3 | 96b9120e009a8862a3220ef0c41842f67cc3d021 | refs/heads/master | 2021-02-11T09:19:55.219985 | 2020-04-10T11:56:07 | 2020-04-10T11:56:07 | 244,476,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | Calculating grade.cpp | #include <iostream>
using namespace std;
int main()
{
int grade;
cout <<"enter the grade";
cin >> grade;
if (grade>=90.0)
cout <<" grade is A";
else
if (grade>=80.0)
cout <<"grade is B";
else
if (grade>=70.0)
cout <<"the grade is c";
else
... |
ab724a36c9877b8cef66be6758550361060347c2 | 902c237ba8cce18e6f8219cba9921df382201f1c | /tst/test.cc | 64e9a4f6bd1e8e14dac863a02896128c5e26f9b9 | [] | no_license | ParkSeungwon/mindview | 82acd3b09232f4f435c0d2cb5c85dc907ab3a925 | 7bf84c8c6fd8dceaeb01622be8f8dbe7a9100768 | refs/heads/master | 2022-10-01T16:23:48.181458 | 2022-09-08T12:29:26 | 2022-09-08T12:29:26 | 152,192,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,051 | cc | test.cc | #include<catch.hpp>
#include<fstream>
#include<sstream>
#include<iostream>
#include<complex>
#include<json/json.h>
#include"src/nodeexpr.h"
using namespace std;
TEST_CASE("imageinary") {
complex<double> im;
stringstream ss;
ss << "(100,3.2)";
ss >> im;
REQUIRE((im == complex<double>{100, 3.2}));
}
struct A {
v... |
9d6dbd1ac9a4a1b4931057273fbf3b09f9a69f2d | d3f4bff93c1ff3e68f6fc9e8042d57914196f94a | /Whatsseob-core/tilelayer.h | 3348a7b5991c5150f2bc327194e828429394d5a3 | [] | no_license | JinseobPark/WhatSseob-Engine | 2a07b5f130aa5155a47c3de80f939a575b89946d | a5a3dee024054a4f0f5c6ca5f6988e9b68f878cb | refs/heads/main | 2023-07-08T23:14:48.370813 | 2021-08-03T14:00:53 | 2021-08-03T14:00:53 | 370,249,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | h | tilelayer.h | #pragma once
#include "src/graphics/layers/layer.h"
#include "src/graphics/batchRenderer2D.h"
class TileLayer : public whatsseob::graphics::Layer
{
public:
TileLayer(whatsseob::graphics::Shader* shader);
~TileLayer();
//virtual ~TileLayer();
//virtual void add(Renderable2D* renderable);
//virtual void re... |
470cdd17b6de8bb195740dbfaf86de83efe02496 | 32e2b12dc9bad096f808126135dfebe239a14856 | /MidSemAssignment/Portal.h | 384034e1889f6f5c3ca73b7b57f798186dd4db5f | [] | no_license | alvinsimzx/Cave-Escape | 276cabc9084cb41a8442a8048aa92528118a6f81 | 245207e959faeaec2554096bbf4acb58f891c65b | refs/heads/master | 2022-11-06T21:15:46.876789 | 2020-06-17T09:57:57 | 2020-06-17T09:57:57 | 272,936,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | h | Portal.h | #pragma once
#include <iostream>
#include "Items.h"
using namespace std;
class PortalState;
class Player;
class Portal
{
protected:
PortalState* fPortalState;
ItemsArr* fPortalRing;
bool fActivated;
public:
Portal();
~Portal();
//Setters
void SetCurrentState(PortalState* aPortalState);
void SetPortalRing(Items... |
818421987d270ad11dc66d59dd079be92caaba64 | cccfb7be281ca89f8682c144eac0d5d5559b2deb | /chromeos/dbus/rmad/rmad_client.h | 2c252f0cb008e8eb553931c14ede73e4b22dbf0a | [
"BSD-3-Clause"
] | permissive | SREERAGI18/chromium | 172b23d07568a4e3873983bf49b37adc92453dd0 | fd8a8914ca0183f0add65ae55f04e287543c7d4a | refs/heads/master | 2023-08-27T17:45:48.928019 | 2021-11-11T22:24:28 | 2021-11-11T22:24:28 | 428,659,250 | 1 | 0 | BSD-3-Clause | 2021-11-16T13:08:14 | 2021-11-16T13:08:14 | null | UTF-8 | C++ | false | false | 4,324 | h | rmad_client.h | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMEOS_DBUS_RMAD_RMAD_CLIENT_H_
#define CHROMEOS_DBUS_RMAD_RMAD_CLIENT_H_
#include "base/component_export.h"
#include "base/observer_list_types... |
8365ef6ea5461dba7ad8bfece6e8e37ed5b020b5 | 0a2357ad0098bbb7b74528cb01d6decaab928ed8 | /USACO/milk2.cpp | 3e02609b9b0e2e471cab76fa2c282f0cae316d5b | [] | no_license | touyou/CompetitiveProgramming | 12af9e18f4fe9ce9f08f0a0f2750bcb5d1fc9ce7 | 419f310ccb0f24ff08d3599e5147e5a614071926 | refs/heads/master | 2021-06-18T09:19:01.767323 | 2020-07-16T03:40:08 | 2020-07-16T03:40:08 | 90,118,147 | 0 | 0 | null | 2020-10-13T04:32:19 | 2017-05-03T06:57:58 | C++ | UTF-8 | C++ | false | false | 906 | cpp | milk2.cpp | /*
ID: fujiyou1
PROG: milk2
LANG: C++
*/
#include <iostream>
#include <fstream>
#include <string>
#include <algorithm>
#include <map>
#define F first
#define S second
using namespace std;
typedef pair<int, int> P;
int main() {
ofstream fout ("milk2.out");
ifstream fin ("milk2.in");
int n, r1=0, r2=0;
... |
5359b6e922b612a6bf27cc6faa48381aeda93126 | 09ee47c40c82dfe777812348569726f50ca9471c | /src/scopemeasure.cpp | d89a3bab60290d91bea863143d832c8628445189 | [
"MIT",
"CC-BY-4.0"
] | permissive | mrrcollins/newsboat | 1a1f9b939bd6293e242dc370602d6872e0931a09 | c18dae93ee1ed681205c383d38081e55dab280f6 | refs/heads/master | 2022-11-08T07:49:14.648586 | 2020-06-25T17:36:08 | 2020-06-25T17:36:08 | 275,139,070 | 1 | 0 | MIT | 2020-06-26T11:23:29 | 2020-06-26T11:23:29 | null | UTF-8 | C++ | false | false | 846 | cpp | scopemeasure.cpp | #include "scopemeasure.h"
#include <cinttypes>
using fpseconds = std::chrono::duration<double>;
namespace newsboat {
ScopeMeasure::ScopeMeasure(const std::string& func, Level ll)
: funcname(func)
, lvl(ll)
{
start_time = std::chrono::steady_clock::now();
}
void ScopeMeasure::stopover(const std::string& son)
{
... |
59f15222079e7969e4f4c83ad16af1759fb33471 | c963ee3175f9e869cd287fc4028d83d3dc88560b | /gcd.cpp | c0d3e8fb78a05796359be83a2a1834dbaf5fcc35 | [] | no_license | ivalearn/stepik-algos | 60f89198c50888d708b55751a06bbb22b16e48cc | bfabb6feeff447fb8534d5f99c94206a6890bd59 | refs/heads/master | 2020-03-09T20:59:57.779007 | 2018-06-16T08:02:23 | 2018-06-16T08:02:23 | 128,998,341 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | gcd.cpp | #include <cassert>
#include <iostream>
#include <cstdint>
#include <utility>
template <class Int>
Int gcd(Int a, Int b) {
assert(a > 0 && b > 0);
while (b > 0) {
a %= b;
std::swap(a, b);
}
return a;
}
int main()
{
std::int64_t a, b;
std::cin >> a >> b;
std::cout << gcd(a,b)... |
95bb6d29dc55a88f6951f94e3e35ce4ef46f66fc | b5e49d5cc2f95cdb07449b7c58c5368ebf0deb23 | /C++/seq_num/234_e.cpp | 80b9e912c61a95bd71138b5599a858d9e00e5b92 | [] | no_license | changsongzhu/leetcode | f5140afe8d4a397a9a785b72a12df2c20804ea92 | fea7de085e3f7b012e6bbf661569de00d2a3eb3e | refs/heads/master | 2021-01-22T18:54:04.308549 | 2018-03-30T21:50:48 | 2018-03-30T21:50:48 | 85,131,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,874 | cpp | 234_e.cpp | /**
234[E]. Palindrome List
Given a singly linked list, determine if it is a palindrome.
**/
//Space Complexity (O(n)) Solution
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
... |
818c19a09ae5cf7cdfcda63ae1ce93226656bb41 | 403968f181689c731474e4e6e85d8cafbb2e1193 | /kullodesktop/qml_components/visuals/hint.cpp | bafe628baa34022b6bacab000ddb952015afe61f | [
"BSD-3-Clause"
] | permissive | kullo/client-farcaster | 57b393d4b642ff588911d14bb097dd9aa35a74dd | 43adcca4ab30742b0193a72de23f5627b385bb0b | refs/heads/master | 2021-01-19T02:36:10.229708 | 2020-11-21T16:26:58 | 2020-11-21T16:26:58 | 47,209,851 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,388 | cpp | hint.cpp | /*
* Copyright 2013–2020 Kullo GmbH
*
* This source code is licensed under the 3-clause BSD license. See LICENSE.txt
* in the root directory of this source tree for details.
*/
#include "hint.h"
namespace KulloDesktop {
namespace QmlComponents {
namespace Visuals {
Hint::Hint(QQuickItem *parent) :
QQuickPain... |
1c09c536c8b980665f1e7fa2f685cc4a1cb11276 | 8327cf78bc0ac9ecca6172fe012dc43e2af7ca1c | /test_c/c++14/main.cpp | 471ac97e1990f627c0080efa3e7831b720c08566 | [] | no_license | onlyuser/Sandbox | 587724d024399524f9c04204eedc89935602bdd7 | a7ec019fa796720075eabade640bba27d302cf88 | refs/heads/master | 2021-01-17T07:33:35.907972 | 2018-03-18T15:58:02 | 2018-05-20T11:48:32 | 2,028,055 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,383 | cpp | main.cpp | // REFERENCE:
// "C++ Rvalue References Explained"
// http://thbecker.net/articles/rvalue_references/section_01.html
// "Universal References in C++11"
// https://isocpp.org/blog/2012/11/universal-references-in-c11-scott-meyers
// "Who ordered rvalue references? Part 2"
// https://bartoszmilewski.com/2008/10/26/who-o... |
07566f6535f6986294711e2c034fcb37f6830450 | 7a8faa684ecd35411cab31610a58f36aa6f91dba | /ebu/e_unp.cpp | cf2bc980f845cf820362750538fb199ec3af7e04 | [] | no_license | gazlan/EBU | 9033569cade1d22d7ecb045315260fa44f217bd8 | fdb3aa63b2930bf7d70c71db07d141f5815cc128 | refs/heads/master | 2021-05-09T12:33:06.327489 | 2018-01-29T04:20:50 | 2018-01-29T04:20:50 | 119,014,257 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,083 | cpp | e_unp.cpp | /* ******************************************************************** **
** @@ E_Unpacker
** @ Copyrt :
** @ Author :
** @ Modify :
** @ Modify :
** @ Notes :
** ******************************************************************** */
/* ******************************************************************** **
*... |
4625220fe4088d30752fca2b229de8567e27c26f | b125714c4ec4a4c75aca817e32aa83cffc8721b2 | /include/mymaths.h | 7f7f72a16f9f441b14d730d99faa31ecdb7d1436 | [] | no_license | TylerJMiller/PONG | b7660f4453b31f66c6e3094ba6290ac0cd8e7b6c | 98ed07e568f400c343b260dfe7bdd5e8a23eff7c | refs/heads/master | 2020-06-05T12:02:27.617474 | 2014-09-23T16:35:27 | 2014-09-23T16:35:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,076 | h | mymaths.h | #ifndef MYMATHS_H
#define MYMATHS_H
class Vector2
{
private:
float x;
float y;
public:
Vector2();
Vector2(float, float);
void Set(float ax, float ay)
{
x = ax;
y = ay;
}
float GetX()
{
return x;
}
float GetY()
{
return y;
}
};
Vector2::Vector2(float ax, float ay)
{
x = ax;
y = ay;
}
class Poin... |
bc257500b3d21cf4475510ab2c29f312466f0c16 | 87e78af499cfe7b49983eb7debb43e7f589c03d2 | /sem1/hw7/task1/tree.cpp | e2ede372b26b5459845bf750e328139cf61a8a6c | [] | no_license | elena-lyulina/spbu-hw | 983160a9c32882888ec04372cadbfefce28c8e3c | af171cf21aec8ac11233775cf8ae7b7b3fd33137 | refs/heads/master | 2020-06-15T03:02:06.641021 | 2018-06-05T13:26:07 | 2018-06-05T13:26:07 | 75,336,091 | 0 | 1 | null | 2018-06-05T13:25:05 | 2016-12-01T21:53:16 | Java | UTF-8 | C++ | false | false | 3,880 | cpp | tree.cpp | #include "tree.h"
#include <iostream>
using namespace std;
struct Node
{
int value;
Node *leftChild;
Node *rightChild;
};
struct Tree
{
Node *root;
int size;
};
Node *createNode(Node *leftChild, Node *rightChild, int value)
{
Node *temp = new Node;
temp->leftChild = leftChild;
temp-... |
b34b47e502259f45a5864288906256e336e5f2af | 56a512613b88ccf9aaa3537567800b5ae8b477e7 | /vectorFielda/src/testApp.cpp | b5b1cb340d065c0a48ca542e66bcd0d7f7822632 | [] | no_license | mayaw/maya_algo2012 | 3b7d074fc048a46661381a62f0fb95ba157914af | 5de63e0344fd8a41d69b1800ac2f1a895765fa0a | refs/heads/master | 2021-01-23T17:18:40.195002 | 2012-12-22T21:47:24 | 2012-12-22T21:47:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,471 | cpp | testApp.cpp | #include "testApp.h"
//--------------------------------------------------------------
void testApp::setup(){
vidGrabber.setVerbose(true);
vidGrabber.initGrabber(VF.fieldWidth, VF.fieldHeight);
ofSetVerticalSync(true);
ofSetFrameRate(60);
VF.setupField(102, 76,ofGetWidth(), ofGetHeight());
VF.rando... |
a489d60c570ab8eba0a6ab74faf2bcf1118002c3 | 8c7ad5ba8506455d817ea63b4f77022d4d41e655 | /lab8/moviesubtitles/MovieSubtitles.cpp | 9df67f015fac4a0900ac1e46f380921f5bfb7ed2 | [] | no_license | michaljasica/JiMP-II | b880faeaa0265a3c72d6935d3fbcc850637aeacf | c6d242c1005818d456c295a1c78c88c46ce8e5b7 | refs/heads/master | 2021-01-25T13:36:16.614926 | 2018-06-05T22:13:01 | 2018-06-05T22:13:01 | 123,595,171 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,072 | cpp | MovieSubtitles.cpp | //
// Created by malikmontana on 28.04.18.
//
#include <iosfwd>
#include <sstream>
#include <locale>
#include <vector>
#include <memory>
#include <bits/basic_string.h>
#include <iostream>
#include <string>
#include <regex>
#include "MovieSubtitles.h"
void moviesubs::MicroDvdSubtitles::delay(const char *in, const char... |
7251381e63c727dc6fbc932084cca1211e65c28a | 9e1f762c7d101daccf546befe9ef3f620667e901 | /code/controller.cpp | bbc8e224b1e8a2ec1322a3562b2dedbda69089b7 | [] | no_license | Goodhao926/bedside_lamp | 016e01e339250cf66b040b999fdbdcf1b8da225a | 9670ec67ce833b19da368be1c39558c751325ac6 | refs/heads/master | 2022-11-21T05:53:21.276267 | 2020-07-24T02:49:06 | 2020-07-24T02:49:06 | 282,097,967 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,444 | cpp | controller.cpp | #include "controller.h"
#include "Arduino.h"
#include <PubSubClient.h>
#define NUM_LEDS 15 // LED灯珠数量
#define LED_DT 5 // Arduino输出控制信号引脚
#define LED_TYPE WS2812 // LED灯带型号
#define COLOR_ORDER GRB // RGB灯珠中红色、绿色、蓝色LED的排列顺序
uint8_t max_bright = 128; // LED亮度控制变量,可使用数值为 0 ~ 255,... |
ba15fcbcbb8db7a4151aaeab1c233130c4a206cd | 0a0b0e63cd578581982efe338c13eee229d838a4 | /examples/apps/mstc/OpenThreadTalk/ClientContextHelper.h | 3d3aa0c44f69f20a36f401e9c0608f2186c9add3 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause"
] | permissive | jjlee3/openthread | 0e0ddec03f3afaf5689a7360f03342a2e8d6620e | abba21bca6e1b07ca76b0241dfaf045e57396818 | refs/heads/master | 2021-01-20T12:12:35.074196 | 2017-03-12T15:36:02 | 2017-03-12T15:36:02 | 76,529,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | h | ClientContextHelper.h | #pragma once
#include "Types.h"
#include "ContextHelper.h"
#include "IAsyncThreadPage.h"
namespace OpenThreadTalk
{
class ClientContextHelper : public ContextHelper
{
public:
ClientContextHelper(IAsyncThreadPage^ page);
void SendMessage(DataWriter^ dataWriter, bool withMsgLen, String^ msg... |
53a99ba079258d79a87cfb1a7bd6a80c0a190e65 | 210dca9ad04e301eef0ef64a3c83c746cc0e09e5 | /Chapter14/ranges.cpp | 0a4ef6d26b39d3305af6199a940789063ce796f1 | [
"MIT"
] | permissive | PacktPublishing/Hands-On-Functional-Programming-with-Cpp | 5e4ec69496636d51b708c6db0ff4d7221bd54b26 | 64085205bbc052f8ee691b186fb7aa676904e196 | refs/heads/master | 2023-02-03T00:59:57.065142 | 2023-01-30T09:27:31 | 2023-01-30T09:27:31 | 156,325,353 | 40 | 22 | MIT | 2021-04-05T12:04:03 | 2018-11-06T04:21:01 | C++ | UTF-8 | C++ | false | false | 3,792 | cpp | ranges.cpp | #include <iostream>
#include <list>
#include <map>
#include <string>
#include <functional>
#include <numeric>
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "doctest.h"
#include <range/v3/all.hpp>
using namespace std;
using namespace std::placeholders;
int sumOfEvenNumbersStructured(const list<int>& numbers){
... |
b0a65b1a9c4e9a27fb49e62e163ba54c4a1107e2 | e9118c78e5f099bcc722d66276a8abd927897cd5 | /arduino_projects/centralizador/states.cpp | 2795521b78bb0fce9fdee0fa7c37d0b9bcbc6f33 | [] | no_license | ilanc93/plugNsense | 6953630ec8b3b121da557bf929a6fc5aae0db735 | 1932bf614cd489856631a20f0870c092d410d2c5 | refs/heads/master | 2020-05-25T11:31:17.131549 | 2017-03-01T21:38:16 | 2017-03-01T21:38:16 | 83,601,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,852 | cpp | states.cpp | #include "states.hpp"
extern char state;
extern char event;
extern uint32_t offsetTime;
extern unsigned long timeout_prevM;
extern char sending_attempts;
extern byte mac_node;
extern byte local_id;
extern SoftwareSerial debugSerial;
extern byte mac_self;
extern byte directive;
extern myFrame frame;
void stat... |
062d76f19b869f2a404b481efa8f96a686f33698 | 6373a7a91f18295d12943322e774cc73c87d648b | /day01/ex02/ZombieEvent.cpp | 1c7054d6641f7e4e55fb83ce80744225da6d0211 | [] | no_license | BoyerDamien/piscine_cpp | 7c3874107bf5c4d88fe1df724cebb6a4c8e89f6f | 149e3067adb752037ea0d32f725d79d48853a172 | refs/heads/master | 2023-02-18T23:08:06.454848 | 2021-01-24T12:30:07 | 2021-01-24T12:30:07 | 314,845,587 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,948 | cpp | ZombieEvent.cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ZombieEvent.cpp :+: :+: :+: ... |
dfe45703558aa5b22dd692631231bca936831614 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/base/screg/sc/lib/strarray.cxx | 476639a474f6cea3a95c81b437a1e654a8a76e1c | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 5,039 | cxx | strarray.cxx | /*++
Copyright (c) 1991-92 Microsoft Corporation
Module Name:
StrArray.c
Abstract:
This is the a header file of handy functions and macros for TCHAR
string arrays.
These arrays are in the following format (spaces added for clarity):
one \0 two \0 three \0 \0
where \0... |
9c2b18ace89567151d1720811e815cef481a89c3 | 6a39e933542f5780ca255472707e57d3640f2232 | /widget.cpp | f2841702e093d599bac115071f5e0e48dbe9d276 | [] | no_license | kimtaikee/qgraphicsview_embed_qvtkwidget | 81531380bd06b73aea9c6b39a4a8a4b42b1b9fed | 389e29baf779317bd8741543df5dcc0be3a6439b | refs/heads/master | 2021-01-19T15:55:20.158628 | 2017-04-14T08:19:50 | 2017-04-14T08:19:50 | 88,236,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,983 | cpp | widget.cpp | #include "widget.h"
#include "ui_widget.h"
#include "vtkproxywidget.h"
#include <vtkCubeSource.h>
#include <vtkPolyDataMapper.h>
#include <vtkActor.h>
#include <vtkRenderer.h>
#include <vtkSmartPointer.h>
#include <vtkRenderWindow.h>
#include <vtkImageData.h>
#include <vtkCamera.h>
#include <QVTKWidget.h>
#include <Q... |
6d4923eb25ad8aae068db8dc930d159377bf575d | fb59dcedeb1aae73e92afebeb6cb2e51b13d5c22 | /middleware/src/app/NativeHandler/Huawei/EmergencyDialog.h | f5af83c6b444eb406adcdad54f1d1999a302a720 | [] | no_license | qrsforever/yxstb | a04a7c7c814b7a5647f9528603bd0c5859406631 | 78bbbae07aa7513adc66d6f18ab04cd7c3ea30d5 | refs/heads/master | 2020-06-18T20:13:38.214225 | 2019-07-11T16:40:14 | 2019-07-11T16:40:14 | 196,431,357 | 0 | 1 | null | 2020-03-08T00:54:09 | 2019-07-11T16:38:29 | C | UTF-8 | C++ | false | false | 540 | h | EmergencyDialog.h | #ifndef _EmergencyDialog_H_
#define _EmergencyDialog_H_
#include "Dialog.h"
#include "Icon.h"
#ifdef __cplusplus
namespace Hippo {
class EmergencyDialog : public Dialog {
public:
enum {
NormalSystem,
MiniSystem
};
EmergencyDialog(int type);
~EmergencyDialog();
... |
103d420d6ef0c84e136f0b04d7d1568cc171af96 | ec08a659ca4a157c2480753ae0bb10e6fc0534f4 | /difficultyMenu.cpp | 62e368028d682fcf461083c186120da03f0429e6 | [] | no_license | MaximeMartelli/Power-Samurai | 4eebf87f525232901c89a0e2531412b05dc49214 | 469e87b615e50077957baa16816922bd51d816d7 | refs/heads/master | 2021-01-18T17:32:55.710989 | 2015-01-02T23:18:58 | 2015-01-02T23:18:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,420 | cpp | difficultyMenu.cpp | /*******************************************************************/
/*=================================================================*/
/************ -- PROJET : POWER SAMURAI 2D RPG -- ******************/
/*=================================================================*/
/* [EI-SE4] Polytech Paris UP... |
9c20b2d05d102349b2ae2246cd1f1564fb15044b | efa3f39e3ef6bc50a18069caa36b3893c756ee46 | /cppAdvanced/LoginSystem/User.hpp | ffd76fc34f1802b5b8060bda3eed5f7a7ff24871 | [] | no_license | gaborka98/cppAdvanced | c0bed2c46635f6be52a957c4bdfd7e2c4948abc3 | 16ca7c0a12824a3bd77faec6d21e0f5aaed9f111 | refs/heads/master | 2021-05-18T13:42:47.908167 | 2020-06-11T16:18:56 | 2020-06-11T16:18:56 | 251,267,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | hpp | User.hpp | //
// User.hpp
// cppAdvanced
//
// Created by Gábor Horváth on 2020. 04. 06..
// Copyright © 2020. Gábor Horváth. All rights reserved.
//
#ifndef User_hpp
#define User_hpp
#include <stdio.h>
#include <string>
#include <vector>
#include "../MovieSystem/Node.hpp"
class User {
int id;
std::string name;
... |
ccbd93f4a8bffe9a01be46a488616248d769f339 | 9d7649ca193d5e62b6752ba4098c43eb5a16aa5f | /third_party/chromium_base/base/sys_info_chromeos.cc | 583438932de722b620c1ded3417c47c8a7ba0e0e | [] | no_license | yiw2/ikran | 6aafe7d2b6ede852bdcffd9fc3ac4613ee9976a8 | cc8a3205cdbcb34f7807373db01c7f8b2558a639 | refs/heads/master | 2020-12-25T17:12:41.280090 | 2012-03-13T05:42:58 | 2012-03-13T05:42:58 | 3,196,837 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,860 | cc | sys_info_chromeos.cc | // Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/sys_info.h"
#include "base/basictypes.h"
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/string_number_conversi... |
2af054dc592cf3da3d0b2dfb064286ff81c66d50 | 22e1b4b7722a233acfe503a2e176689ebe91ce81 | /src/include/math_additional.hpp | 8d5ea389508f09e3675e2a986a2656728406dd6d | [] | no_license | AlfredEVOL/Space-Invaders | a94444a98cf7f15f715547e0b0a3bd8ac2659c7a | 591c61d0d2983d6336c2e63c4340e10eb80e5512 | refs/heads/main | 2023-07-27T13:04:59.772428 | 2021-09-08T05:47:27 | 2021-09-08T05:47:27 | 311,210,761 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 103 | hpp | math_additional.hpp | #ifdef MATH_ADDITIONAL_H
#define MATH_ADDITIONAL_H
bool _rangeof(float x1, float x, float x2)
#endif
|
e12c4c7a53040bb35cba039c0ddd479f367ba11c | e7fa70a9a4c7ea735920be5feff7fa1e755b53ff | /crypto/apps/hmac_md5_testvector.cpp | d2f16ad27fabe551669409a26e9988eaddfd5aba | [] | no_license | slechta/san2 | d1c6ba5c46d62c8272ac0c2d13cbd0ef9477dade | c3ebc0eca46b4406f7c26865d227f0b7bfead793 | refs/heads/master | 2021-01-01T19:01:24.813553 | 2013-08-13T20:23:25 | 2013-08-13T20:23:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,936 | cpp | hmac_md5_testvector.cpp |
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include "../dsrp/dsrpexception.hpp"
#include "../dsrp/conversionexception.hpp"
#include "../dsrp/conversion.hpp"
#include "../ossl/osslmd5.hpp"
#include "../mac/hmac.hpp"
#include "../mac/macexception.hpp"
#include "../ossl/osslsha1.hpp... |
7e0dff7d6d3d154f5527704ba2b12e085edeb03c | 7887840f2db75cc3f8799ffc5dcb3fbe7818e1d0 | /pycalc/src/AstPrinter.cpp | a53ea68bcbff1b1e87edd24d35253c26582000a0 | [] | no_license | yuanchunyu/bison | d4c2a322b8f2d3a6a20926211177708fc1b090a4 | f55f3bad9029867ac027345a56e26e09de55510e | refs/heads/master | 2020-12-24T06:52:02.978529 | 2015-07-08T18:28:15 | 2015-07-08T18:28:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,665 | cpp | AstPrinter.cpp | /*
* AstPrinter.cpp
*
* Created on: Jun 9, 2015
* Author: andy
*/
#include "AstPrinter.h"
#include "Ast.h"
namespace py
{
int AstPrinter::Visit(AugAssign* aug)
{
os << "AugAssign(target=";
aug->target->Accept(this);
os << ", op=";
switch(aug->op) {
case Add:
os << "+=";
break;
... |
726c4fedf7f63284e1fc54fc13177864871a05f0 | ec32d2b4f6ecbf28fdb5791b793406d6447d612e | /OpenGL_Templete_/dsResource.h | e3649a8ef178c7d127391ae014c81ba02ee132d1 | [] | no_license | kimdimu/SnailUp | d308d281aa6cd120f4b7a6df3e9b3eeb95956ba4 | 40ac468c82943ea8bb3eb46c31f2bd5e10b5ba49 | refs/heads/main | 2023-05-27T09:42:01.034936 | 2021-06-13T07:31:47 | 2021-06-13T07:31:47 | 376,006,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | h | dsResource.h | //
// dsResource.h
#ifndef _DSRESOURCE_H_
#define _DSRESOURCE_H_
#include "dsObject.h"
class dsResource : public dsObject
{
public:
dsResource(std::string name);
virtual ~dsResource();
virtual bool Load(std::string &name);
virtual void Draw(float x, float y, float time);
};
#endif
|
19198bbab97be310efdcdca6162a57b2dd53d564 | 41016bbbd57bdc859526018e2f884c54c053574f | /Files.h | 6d42a27bf92a48a247c7c2088e30020f4aa54da6 | [
"MIT"
] | permissive | edmw/arduino-os | f2c0c2461aab0dabc0cdd519f3c4bc7365ceb0bf | 0f17c65683f6c2389030c26e3ef6979125b163cb | refs/heads/master | 2020-03-14T20:03:26.161291 | 2019-01-05T20:54:16 | 2019-01-05T20:54:16 | 131,770,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,312 | h | Files.h | #if OS_USE_FILES
#ifndef __FILES_H__
#define __FILES_H__
///////////////////////////////////////////////////////////////////////////////////////////////////
// Operating Support code for Arduino or ESP8266 projects.
//
// Copyright (c) 2017-2019 Michael Baumgärtner
//
// Permission is hereby granted, free of charge, ... |
3940ff2da2425f2df8641f64c8a483103980cd06 | 32dc6cee8166697a1983327f79cb204006083fd5 | /c++/tests/test_sodium.cpp | 15c904fb5dc6679d273ea0b6496b450111a86300 | [] | no_license | jam40jeff/sodium | 1510cf027e1c749c4a97278d58ae52f71fcb9afa | 7c62818835e68c96de20ee327a5e5367b4477d18 | refs/heads/master | 2021-01-18T06:55:59.286922 | 2016-02-25T03:35:54 | 2016-02-25T03:35:54 | 51,717,755 | 1 | 0 | null | 2016-02-14T22:43:03 | 2016-02-14T22:43:03 | null | UTF-8 | C++ | false | false | 34,045 | cpp | test_sodium.cpp | /**
* Copyright (c) 2012, Stephen Blackheath and Anthony Jones
* Released under a BSD3 licence.
*
* C++ implementation courtesy of International Telematics Ltd.
*/
#include "test_sodium.h"
#include <sodium/sodium.h>
#include <boost/optional.hpp>
#include <cppunit/ui/text/TestRunner.h>
#include <stdio.h>
#include... |
c0903f129b555e332914fc3e7dd4bfff76ea184e | c58f258a699cc866ce889dc81af046cf3bff6530 | /src/bloomberg/blb_wrap.cpp | 775e6bed58b2c35b89337248e6eec0e8bc648ee4 | [] | no_license | KoWunnaKo/qmlib | db03e6227d4fff4ad90b19275cc03e35d6d10d0b | b874501b6f9e537035cabe3a19d61eed7196174c | refs/heads/master | 2021-05-27T21:59:56.698613 | 2010-02-18T08:27:51 | 2010-02-18T08:27:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,586 | cpp | blb_wrap.cpp |
#include <qmlib/python/pyconfig.hpp>
#include <qmlib/python/log_wrap.hpp>
#include <qmlib/python/timeserie_wrap.hpp>
#include <qmlib/bloomberg/blb.hpp>
QM_NAMESPACE2(bloomberg)
template<class F, class LR, class HR, class L>
bool blb<F,LR,HR,L>::m_loaded_fields = false;
template<>
inline int blbFeed<... |
e6c1f45815cf3bce0ccf20472abe7718eb5c8a8a | c20c4812ac0164c8ec2434e1126c1fdb1a2cc09e | /Source/Source/Client/SO3UI/kgameworldmgr.h | 30ba296217462bb4ce1ee374a72e0e57c13e5824 | [
"MIT"
] | permissive | uvbs/FullSource | f8673b02e10c8c749b9b88bf18018a69158e8cb9 | 07601c5f18d243fb478735b7bdcb8955598b9a90 | refs/heads/master | 2020-03-24T03:11:13.148940 | 2018-07-25T18:30:25 | 2018-07-25T18:30:25 | 142,408,505 | 2 | 2 | null | 2018-07-26T07:58:12 | 2018-07-26T07:58:12 | null | UTF-8 | C++ | false | false | 904 | h | kgameworldmgr.h | ////////////////////////////////////////////////////////////////////////////////
//
// FileName : kgameworldmgr.h
// Version : 1.0
// Creator : Hu Changyin
// Create Date : 2007-11-29 15:45:35
// Comment :
//
////////////////////////////////////////////////////////////////////////////////
#ifndef ... |
3224d374d4cfd1fd92b1027cf8e6b045baf7f209 | 38b9daafe39f937b39eefc30501939fd47f7e668 | /tutorials/2WayCouplingOceanWave3D/EvalResults180628-oneWay/58.8/alpha.water | e779fc9a6c547c39c803900e021471b807ab2511 | [] | no_license | rubynuaa/2-way-coupling | 3a292840d9f56255f38c5e31c6b30fcb52d9e1cf | a820b57dd2cac1170b937f8411bc861392d8fbaa | refs/heads/master | 2020-04-08T18:49:53.047796 | 2018-08-29T14:22:18 | 2018-08-29T14:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 160,141 | water | alpha.water | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... |
771ee2bd22029fa25c28b54bfc94c32d2b87c439 | 0f76de4ae5da53ca9ff18353aff6087d4368d74c | /util/Qt/conn_tablemodel.cpp | 9380e88c6bd8475c16b0a0e72c4183ca86f592c1 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | hyjang/web10g-userland | 06bd4cad40c30d34330bf86459417b60bcd1b7d3 | a2e481e6c1513ceede34caf46cee5306c5495c3e | refs/heads/master | 2021-01-10T10:10:41.823647 | 2013-11-14T01:52:36 | 2013-11-14T01:52:36 | 52,240,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,550 | cpp | conn_tablemodel.cpp | #include "conn_tablemodel.hpp"
#include <QSet>
#include <QDebug>
ConnTableModel::ConnTableModel(QObject *parent, estats_nl_client *nl_client)
: EstatsTableModel(parent, nl_client)
{
initialize();
}
Qt::ItemFlags ConnTableModel::flags(const QModelIndex &index) const
{
Qt::ItemFlags theFlags = QStandardItem... |
8ecebf74a146e11c047d225efe90719cf51d8650 | 9c91ca5f8bb181a219b4583f5efbdc3827d2377c | /Source/Project/InstrumentConfig.cpp | a13dcce3f388d9bcdc99160b65e7ff71eb370f6c | [] | no_license | mpue/Synthlab | eb686bc11be9ba707c3cae6da86f915d77520986 | 6a2585920ca9fedbf88e54fcede20ac9f24df678 | refs/heads/master | 2022-12-10T19:16:41.918101 | 2022-12-03T17:06:38 | 2022-12-03T17:06:38 | 127,666,213 | 46 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | InstrumentConfig.cpp | /*
==============================================================================
InstrumentConfig.cpp
Created: 31 Dec 2016 12:02:37pm
Author: Matthias Pueski
==============================================================================
*/
#include "InstrumentConfig.h"
|
fea1bf32dd5373412b4d900a360bab3b392a41f8 | 523ede2359537e311b190227b4286d02a005ca12 | /minimum-window-substring/minimum-window-substring.cpp | 42b8d1065b5b01a48ea34fe00643cf8632c062b8 | [] | no_license | himu59/Coding_Problem | 9256f1302d28d1b2baa222f52e4ddf119205f57f | 4ed02d03111c7b22e490677097a6339afdcf00f4 | refs/heads/main | 2023-08-12T01:27:09.547607 | 2021-10-15T02:58:27 | 2021-10-15T02:58:27 | 400,494,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,297 | cpp | minimum-window-substring.cpp | class Solution {
public:
bool isMatch(vector<int> &f1,vector<int> &f2) {
for(int i=65;i<=122;i++) {
// cout<<f1[i]<<' '<<f2[i]<<endl;
if(f2[i] != 0 and f2[i] > f1[i]) return false;
}
return true;
}
string minWindow(string s, string p) {
vector<int> f1(... |
076277219162e3e499090f3d5373a6d716f3d291 | a01328792e03b519cafbc6b6b10dc45c8d6f30e6 | /include/lib/clx/remove.h | a50e7fca7e055e5f8658844eecfeb276af717543 | [
"BSL-1.0"
] | permissive | ats-ito/Geister-cpp-lib | 2d03eb110b3fcd55c74c22bd3979f6e2c7544503 | 883342fd48060447cf26430f63f743a656d1aad0 | refs/heads/master | 2021-06-30T19:14:58.274753 | 2020-10-31T20:19:33 | 2020-10-31T20:19:33 | 188,063,586 | 1 | 2 | BSL-1.0 | 2020-10-31T20:19:34 | 2019-05-22T15:14:44 | C++ | UTF-8 | C++ | false | false | 6,431 | h | remove.h | /* ------------------------------------------------------------------------- */
/*
* remove.h
*
* Copyright (c) 2004 - 2008, clown. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
... |
24e36b9db426cd1b5bdec4eb9cf344d5635f589c | e0904d35f0b89fed8ebdeb6e08864c0208006954 | /Applications/DataExplorer/DataView/DiagramView/DiagramScene.cpp | b18c820bce9bf9c3b8ea669965f144fcc8098e78 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | ufz/ogs | e3f7b203ac960eeed81c3ad20e743b2ee2f4753e | 073d0b9820efa5149578259c0137999a511cfb4f | refs/heads/master | 2023-08-31T07:09:48.929090 | 2023-08-30T09:24:09 | 2023-08-30T09:24:09 | 1,701,384 | 125 | 259 | BSD-3-Clause | 2021-04-22T03:28:27 | 2011-05-04T14:09:57 | C++ | UTF-8 | C++ | false | false | 12,066 | cpp | DiagramScene.cpp | /**
* \file
* \author Karsten Rink
* \date no date
* \brief Implementation of the DiagramScene class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* ... |
8f174f35e04d73d13fa9760f8faf5dd5643b6af2 | fee890e20583c15d728bec35ba82f261dc2eb39a | /Stacks/implementStackUsingArray.cpp | 21eb944dbda96106b0dc42b5a92c328e5ddf34f1 | [] | no_license | nishant19/InterviewPrep | 1eb6ac7341d3a80c2c9849855e74001a5d66cfa5 | a60fb25f7f58c3f4be10699b830319c70961de0b | refs/heads/master | 2018-12-17T12:14:39.405526 | 2018-11-08T07:18:03 | 2018-11-08T07:18:03 | 111,107,088 | 2 | 3 | null | 2018-10-06T08:08:17 | 2017-11-17T13:35:08 | C++ | UTF-8 | C++ | false | false | 323 | cpp | implementStackUsingArray.cpp | void Stack :: push(int x)
{
if(top<999){
top++;
arr[top] = x;
return;
}
}
/*The method pop which return the element poped out of the stack*/
int Stack :: pop()
{
if(top==-1){
return -1;
}
else{
int t = arr[top];
top--;
return t;
}... |
5473219f13a2905b0f12d99b4249abcea141e3ea | 72d7dc46b0b28a295f7d906bd507cdd8efa8338c | /Classes/scenes/iScene.h | e07c1229c8eb151762ebac070f0af62fb12e9437 | [] | no_license | unicorny/GardenRush | 6acb50add43dfdd78cfbe2cbbe1545ab52782f22 | fc1f78fa615537915de9bebdbfbeee5878446e22 | refs/heads/master | 2023-02-28T09:43:24.817177 | 2019-07-13T09:44:15 | 2019-07-13T09:44:15 | 335,732,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | h | iScene.h | #ifndef __FAIRY_GAMES_GARDEN_RUSH_SCENES_i_SCENE_H
#define __FAIRY_GAMES_GARDEN_RUSH_SCENES_i_SCENE_H
#include "cocos2d.h"
class iScene : public cocos2d::Scene
{
public:
virtual bool reset() = 0;
virtual unsigned long getMemoryConsumption() { return sizeof(cocos2d::Scene); };
protected:
};
#endif // __FAIR... |
99ae039c688bf21f15c93087bad335f2cb906610 | 9425b49470913fb7d6df65f1e1e23076938628c0 | /07_week/g2/recursion_test.cpp | b910ee9fef4cbf05c26b9682e4b8c2fe87faa521 | [] | no_license | ramanqul/pp1-2019-fall | a3a456681b6aac322eaaf5d0d69405af798e6632 | 55b5701ece13563629d1088dc9fe8f08a953a158 | refs/heads/master | 2020-07-15T06:13:51.266168 | 2019-11-17T11:54:40 | 2019-11-17T11:54:40 | 205,497,935 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 646 | cpp | recursion_test.cpp | #include <iostream>
#define ll long long
using namespace std;
int fib(int n) {
if (n < 1) {
return 0;
} else if (n == 1) {
return 1;
}
return fib(n-1) + fib(n-2);
}
ll fib2(int n, int memo[]) {
if (n < 1) {
return 0;
} else if (n == 1) {
return 1;
}
if (memo[n] != -1) {
return memo[n];
}
ll ... |
4d2e6b35989998dba67daaa03ec300338988d0ec | 3c23951eca1bcfd28f92aa6ed54d63e4f9dc86bd | /pursuit-domain-v0.9-bin/include/Connection.old.h | bc2575260b7327e381e5dfb539f56eae4c72fb86 | [] | no_license | mslatour/elmer-fudd | cedac3784e29b3dcbd6688629ca02ec4edceb82e | 56c9ff76d829759afbb92db84e5fce73c2292d79 | refs/heads/master | 2021-01-21T10:13:25.420297 | 2011-10-31T18:23:48 | 2011-10-31T18:23:48 | 32,421,240 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,036 | h | Connection.old.h | #ifndef _CONNECTION_
#define _CONNECTION_
#include <stdio.h> // printf, FILE
#include <ostream.h> // ostream
#include <netdb.h> // sockaddr_in
#include <arpa/inet.h> // sockaddr_in
#ifdef HAVE_UINT16_T
typedef uint16_t port_type;
#else // default to unsigned short
typedef unsigned short port_type;
#... |
b7a2935b560d914797e58bce1bce094c9cffdf77 | 70acdccddf45d6472ff592709a0477ab343c06bc | /SensorPi/src/config.cpp | c9d63436ff552d590dab4ca662eb9737eb410169 | [
"MIT"
] | permissive | tfrec-kalcsits/SensorSystem | 100dc3210835b80987a63e9afa54852da2735e83 | 04a66cb3c30dc7b9fbbf1e0b9cc7747fe03b6950 | refs/heads/master | 2020-03-21T14:18:37.828608 | 2018-08-15T22:10:12 | 2018-08-15T22:10:12 | 138,651,029 | 2 | 0 | MIT | 2018-08-15T20:57:44 | 2018-06-25T21:16:05 | C++ | UTF-8 | C++ | false | false | 2,490 | cpp | config.cpp | #include <regex>
#include <sstream>
#include <cstdint>
#include <cstring>
#include <rf24radiotransmitter.h>
#include <mlxsensor.h>
#include <tslsensor.h>
#include <sensorpi/config.h>
namespace sensorsystem
{
NoSectionError::NoSectionError(const std::string& what) : std::runtime_error(what){}
Config::Config(std::if... |
859cff19f12f38df8f5fea499146cfb28071a625 | 5d7739bd360a447ee1c7285483d2f37d521fa99e | /Volume 003 (300-399)/352.cpp | 1b4f00f8b0bcc980300543439c72aea0f62d421d | [] | no_license | aaafwd/Online-Judge | c4b23272d95a1c1f73cc3da2c95be8087a3d523c | b264f445db2787c5fc40ddef8eb3139adae72608 | refs/heads/main | 2023-04-02T01:01:26.303389 | 2021-04-11T14:17:58 | 2021-04-11T14:17:58 | 356,840,772 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,054 | cpp | 352.cpp | /* @JUDGE_ID: 19899RK 352 C++ "By Anadan" */
// The Seasonal War
// Accepted (0.000 seconds with low memory spent)
#include <stdio.h>
char map[26][26];
void geteagle(int i, int j){
map[i][j] = 0;
if (i){
if (map[i-1][j] == '1') geteagle(i-1, j);
if (map[i-1][j+1] == '1') geteagle(i-1, j+1);
if (... |
fcb58335ca329b14ebd7cc95188e87434a73cf6b | ef9b1f67a616eef8de25d8f8677add2bc591e4eb | /src/Switch.cpp | 271f2ca2ba719c915f6e11964afb16a3f00c4750 | [] | no_license | agoshula1/rpg_game | 0862e79791f23fcc9e3d5f320d1429289e43817c | c60f33c0c5ea2b80bc3886bdc292cdc96323a820 | refs/heads/main | 2023-03-19T11:15:57.067382 | 2021-03-05T23:02:42 | 2021-03-05T23:02:42 | 333,544,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | cpp | Switch.cpp | #include <rpg/Switch.hpp>
Switch::Switch(std::string name, std::string description) : Move(name, description, 0, false) {}
// hide Move::use (would have no effect)
void Switch::use(Character& ally_1, Character& ally_2){
std::swap(ally_1, ally_2);
}
|
a3c8c5a7c202461ef2d664c638b48fcd9f4d05a2 | e13dbbddab25cabe84ab89b3c3d07af63cd94eaa | /net/rtmp/RTMPPacket.h | 7feb917911ec666e892afff4a7a72107376d58dc | [
"Apache-2.0"
] | permissive | k-a-z-u/KLib | ffbb012960effe6300002252a8bc81e8c0bdeba2 | cd4d11fb68921b2ff42a6f90055447f5df9a5b1e | refs/heads/master | 2021-01-23T14:55:52.456927 | 2019-10-22T08:29:14 | 2019-10-22T08:29:14 | 15,876,434 | 2 | 3 | Apache-2.0 | 2019-10-01T13:09:08 | 2014-01-13T17:53:31 | C++ | UTF-8 | C++ | false | false | 3,286 | h | RTMPPacket.h | #ifndef K_NET_RTMP_RTMPPACKET_H
#define K_NET_RTMP_RTMPPACKET_H
#include <cstdint>
#include "RTMPTypes.h"
#include "../raw/protocols/Payload.h"
namespace K {
/**
* represents (wraps) one packet within an RTMP transmission
*
* depending on the chunkType (first byte) some of the hereafter
* following fields ... |
9515e57e72990ce17a6117df2244c1e40cca2770 | c661633e48431db1788cf1ee5d44e488f89e0adc | /montecarlo/constants.h | 7157b2a17b3da6cdc43979e5e04a07ea7be85578 | [] | no_license | nickdou/montecarlocpp | 2c10b9e747eec80971f419a35af3fcead066acfa | 5fde550ac6b9dca3c1129560a13eb0be5b2c5a16 | refs/heads/master | 2021-01-19T18:10:56.181942 | 2015-09-08T19:42:52 | 2015-09-08T19:42:52 | 29,714,557 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 662 | h | constants.h | //
// constants.h
// montecarlocpp
//
// Created by Nicholas Dou on 1/27/15.
//
//
#ifndef montecarlocpp_constants_h
#define montecarlocpp_constants_h
#include <limits>
#include <cmath>
typedef std::numeric_limits<double> Dbl;
const double PI = 3.141592653589793;
const double HBAR = 1.054560652927e-034;
co... |
5ff61c20fdb270ba3c0ef31a2ac7082e0a9e57a6 | a38b43c96f32e890ef02df3d3749586f3710291f | /Ring.cpp | b682cd463e2d2f35722139cdf57889c80eb7bf3e | [] | no_license | rsiwicki/ecobot | 2f04f82d1c014b5727b8967f36b92ae5c07dc4fc | 77b84c66e2d172bb0f62aab5348b1f905e8ebe7b | refs/heads/master | 2020-05-27T20:02:59.200119 | 2015-12-26T22:14:33 | 2015-12-26T22:14:33 | 17,883,504 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp | Ring.cpp | template<class T> Ring<T>::Ring(int k) {
_k = k;
_head = 0;
T* _queue = new T[k]();
}
template<class T> Ring<T>::~Ring() {
delete [] _queue;
}
template<class T> void Ring<T>::Enqueue(const T* item) {
if(_head >= _k) {
delete _queue[_head % _k];
}
_queue[_head % _k] = item;
_head++;
}
|
b00d20927b84b961b2887e94e13d64d1e5e65daa | cfb843e63a9c1a54934d12688652e7ffd9859e88 | /ABC051/A.cpp | 0c1ea73d67ade338e4afcdb34e2ea99b37c67e34 | [] | no_license | Badlylucky/ABC | 81e1f9bab40ab7c7a50a49e4e3f0c8bcc3c974ab | 2b4094807bcea05e49d920de04b2387d444747ce | refs/heads/master | 2022-03-28T08:23:41.818126 | 2019-12-29T12:58:32 | 2019-12-29T12:58:32 | 116,485,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | cpp | A.cpp | #include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <cmath>
#include <utility>
typedef long long ll;
ll MOD = 1e9+7;
using namespace std;
int main()
{
string s;
int ans=0;
cin>>s;
s[5]=' ';
s[13]=' ';
cout<<s<<endl;
return 0;
} |
30c6375eebad1c7da5394f13f7e8f8085fda5670 | 05816d863f26bf99a39e4d955c149114d29c4305 | /jrmwng/big_number_mm.h | ff238692121bec12b745f9414bd26c7859bbf331 | [] | no_license | jrmwng/like2015 | c45532265df986b57b526a559a6d3ffaa707a65d | a213a55b5c971c51c4306c493f411e3d8eb771a9 | refs/heads/master | 2020-04-06T06:48:28.860576 | 2016-06-15T15:42:08 | 2016-06-15T15:42:08 | 42,389,484 | 1 | 0 | null | 2015-12-13T12:58:46 | 2015-09-13T08:53:45 | C++ | UTF-8 | C++ | false | false | 4,236 | h | big_number_mm.h | #pragma once
/* Author: jrmwng @ 2016 */
#include <intrin.h>
#include "big_number.h"
namespace jrmwng
{
template <unsigned uIndex, unsigned uThat>
static std::enable_if_t<(uIndex <= big_number<__m128i, uThat>::INDEX), __m128i> get_value(big_number<__m128i, uThat> const & bnThat)
{
return bnThat.xmmValue;
}
te... |
d5c292991927f048ff5b315c555728e7868589a3 | 23e29dd9514bc137306f38515408a8ae45e5e076 | /src/concat_layer.cpp | a9c239823d0f4a530ffcfb8db358ba32ec7b7eff | [] | no_license | mokoing/kbqa2018 | 4383580b65576f7501f7aa32340e8cbe67a1e414 | ead08a7366bda5446dad4c0240dbee93f04043a7 | refs/heads/master | 2020-04-08T10:29:34.052553 | 2018-03-02T06:31:46 | 2018-03-02T06:31:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 660 | cpp | concat_layer.cpp | #include <iostream>
#include "concat_layer.h"
#include "tensor_op.h"
int ConcatLayer::thread_init(){
_axis = _param_conf["axis"][0];
const std::vector<int>& output_shape = _param_conf["output_shape"];
int size = 1;
for (int i = 0; i < output_shape.size(); ++i){
size *= output_shape[i];
}
_memory_map["output"] ... |
bc7b4946a0b3e7de1b4f22c3123d9e053f82125a | a8b8c37a00e127a0f17267f5b0f3401a2372e1a2 | /rmw_connext_shared_cpp/src/trigger_guard_condition.cpp | f15b24e1d4ca10d856f5b85d96c8c5077360f6bf | [
"LicenseRef-scancode-proprietary-license",
"Apache-2.0"
] | permissive | iuhilnehc-ynos/rmw_connext | bd6e5df232e89e2d95463b752e1e2ed1f559ce55 | 7b4e8e76a7a585397b94f16181c58c043c92daf9 | refs/heads/master | 2023-03-22T10:23:03.217868 | 2020-11-19T15:14:12 | 2020-11-19T15:14:12 | 307,623,462 | 0 | 0 | Apache-2.0 | 2020-12-03T02:29:26 | 2020-10-27T07:46:51 | null | UTF-8 | C++ | false | false | 1,741 | cpp | trigger_guard_condition.cpp | // Copyright 2015-2017 Open Source Robotics Foundation, Inc.
//
// 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 ... |
19eafc5dc71cebe4702c1876eede3c229b4334e8 | 0715e6562434f161f884c1d11f9ebff5be27a55e | /book management system/src/introduction.cpp | ccd72609ecd61dc95187e6a29214901b61d3b963 | [] | no_license | JUDE-JUHA/C--Project | 4a8f8dcb8e4ae79d5edfbe58006cc7880bd30cbc | f0b1c5c1f6e7370ffcd8e6cbb5786ac7e4d6b9dd | refs/heads/master | 2020-06-15T22:37:29.320863 | 2019-07-11T12:38:19 | 2019-07-11T12:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,823 | cpp | introduction.cpp | #include <iostream>
#include <conio.h>
#include <string.h>
#include <fstream>
#include <ctime>
#include <stdio.h>
#include<iomanip>
#include <stdlib.h>
#include "introduction.h"
#include "borrow.h"
#include "book.h"
#include "student.h"
using namespace std;
int introduction :: intro()
{
... |
43fd58f85b4df300dffa78ef6560b089e7262de9 | 9e3acec1fcedc176fe637b07cc14c8ff6583a7e8 | /serial/main_serial_ins.cpp | f2d254811bd209bc6482d074d1bcff733441bbfe | [] | no_license | poojarao8/RandomWalkSphereCode | 5f6e88cecb6727d3047d1884fa810e0872109842 | 2dba508fee926e7d54732d824542961aa5dc315d | refs/heads/master | 2021-10-17T00:56:22.099264 | 2019-02-13T04:26:14 | 2019-02-13T04:26:14 | 170,437,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,454 | cpp | main_serial_ins.cpp | #include <iostream>
#include <vector>
#include <math.h>
#include <random>
#include <cstdlib>
#include <ctime>
#include <cassert>
#include <sstream>
#include <string>
#include "stl_serial.h"
using namespace std;
// global variables
int glo_num_primitives=1;
int glo_panels_per_primitive=140;
int glo_total_panels=140;
... |
cbc4c36678a669396c27fc1accfae339fd703796 | 4a544f87fafe6729dc2e115dd6bb18f4481901d2 | /MP4Url.h | 246d6e2a00d0226eb49b4ac3fd000e408c2abb00 | [] | no_license | asdlei99/encode_mp4 | 208618b3b1e9834ddb486fc869d7b74bee5c323f | 8e54314c90d852b18f582ca79a9e67b467484bc8 | refs/heads/master | 2020-08-21T12:12:07.471000 | 2017-12-16T13:53:35 | 2017-12-16T13:53:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | h | MP4Url.h | #pragma once
#include "MP4Box.h"
class MP4Url : public MP4Box
{
public:
MP4Url();
virtual ~MP4Url();
void createMP4Url(unsigned char ucVersion, std::string strLocation);
void writeFile(FILE* fd);
public:
unsigned char m_ucVersion;
unsigned char m_ucFlag[3];
std::string m_strLocation;
};
|
232258a4d8de4eb7699b83a507b5e4c2b34c8f78 | c45dddfb7dac37b0dbe4ed3f8213f404c47af474 | /1.builder/2.cpp | e24414ba10bff18a5125fd125c50ec3506b3cb84 | [] | no_license | Kihoon0716/DesignPattern | e56dba08066779bb985815dd440675e7673324dd | 8f891cefb9247dda69f6834965d51c43f4159e64 | refs/heads/master | 2023-02-24T20:28:30.651708 | 2021-01-31T14:02:07 | 2021-01-31T14:02:07 | 332,606,761 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,210 | cpp | 2.cpp | #include <iostream>
#include <vector>
using namespace std;
class HtmlElement{
public:
string name;
string text;
vector<HtmlElement> elements;
HtmlElement(){}
HtmlElement(const string& name, const string& text): name(name), text(text) {}
string str(int indent = 0) const{
... |
fbdb7372b4ea0060e8d871ba95861bd37237dc1e | f48e7ee0640e56b0a171dda17ef108d3e57e80a6 | /SetupStringInvalidException.cpp | 1e58f64261c7fec9e98ede62c62f11a7fe01956b | [] | no_license | glouwa/SEP | 6d57662e0ddfde05ebc9d745c936d3ca42ef270f | 87ed70f3c79e7943a7ad900cbd4ef27997e17248 | refs/heads/master | 2020-06-30T01:38:28.041274 | 2019-08-05T15:25:50 | 2019-08-05T15:25:50 | 200,681,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 211 | cpp | SetupStringInvalidException.cpp | #include "SetupStringInvalidException.h"
/*
SetupStringInvalidException::SetupStringInvalidException()
{
//ctor
}
SetupStringInvalidException::~SetupStringInvalidException() throw()
{
//dtor
}*/
|
f2a4d14f590da4b9d43c6bca3b71f665d7481fd7 | f978efedff0d32e980c37b25057d931476f0ad64 | /OnClass/Practices/Lec04-String/Kiemtrachuoidoixung.cpp | 530934475ff0587c1c8ff75a2062bd0d96fe16b5 | [] | no_license | mimiicteam/OOP | 18ae5ed7093a42a206de7c1a0e19fea33fe5701a | 9c5e3ea293311dac670e8253e4013e50034d3c94 | refs/heads/main | 2023-08-21T20:21:38.393455 | 2021-09-26T12:41:44 | 2021-09-26T12:41:44 | 403,605,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | Kiemtrachuoidoixung.cpp | #include <iostream>
using namespace std;
bool isSymmetricalString(char line[])
{
int length = 0;
while (line[length] != '\0')
length++;
int j = length - 1;
for (int i = 0; i < length / 2; i++)
{
if (line[i] != line[j])
return false;
j--;
}
return true;
}
... |
bcb42fe9c8d0a6e1b08b6ae7687209b274b40375 | ba5d1d776888be6ae9688d850f0445d80973ee8f | /game/client/tfo/hud_health.cpp | 194210363de21c5d53501f4a386ac3f8a583951c | [
"MIT"
] | permissive | BerntA/tfo-code | eb127b86111dce2b6f66e98c9476adc9ddbbd267 | b82efd940246af8fe90cb76fa6a96bba42c277b7 | refs/heads/master | 2023-08-17T06:57:13.107323 | 2023-08-09T18:37:54 | 2023-08-09T18:37:54 | 41,260,457 | 16 | 5 | MIT | 2023-05-29T23:35:33 | 2015-08-23T17:52:50 | C++ | UTF-8 | C++ | false | false | 3,722 | cpp | hud_health.cpp | //========= Copyright Bernt Andreas Eide, All rights reserved. ============//
//
// Purpose: Health Bar HUD
//
//=============================================================================//
#include "cbase.h"
#include "hud.h"
#include "hudelement.h"
#include "hud_macros.h"
#include "iclientmode.h"
#include "c_basep... |
70284d55ab68593a2ec80ee388c8a5d44c7d0e8a | f56c7699e814e9ea6b699a9636671227b6021df6 | /LEETCODE/biweekly_52/SortingTheSentence.cpp | 2a702bb12133fa6950d9dd5367a20953fce1ce23 | [] | no_license | rishiraj52/Competitive-Programming-CP | 0646d789f1f3b87ea6866bb1fec2f0efffa71a1a | 091b7df0232ae8bf1f42bfce6136cb6e4d6d3844 | refs/heads/main | 2023-08-15T06:59:01.139406 | 2021-10-09T11:41:37 | 2021-10-09T11:41:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,453 | cpp | SortingTheSentence.cpp | #include <iostream>
#include <bits/stdc++.h>
#include<set>
#include<stddef.h>
#include<stdlib.h>
#include <unordered_set>
#include<unordered_map>
#include<map>
#include<string>
#include<ctype.h>
#include <queue>
// #pragma GCC optimize "trapv"
typedef long long int ll;
using namespace std;
#define f(abcd,n) for(int ab... |
d703afd7736a43e0cc98d53d52e231944e9066b8 | 9c72aca2dda316e04425af58e5b69b8d61765b01 | /src/stub_publish_server_entry.cpp | 33e85450dc4abd4f916d8f62413ffe38d6ef35a7 | [] | no_license | bluesky466/XZeroConf | 98e1a885730dbd7d9ce15d739fb1fa3f18ed42cd | 90e5c6cb51343b416be71cbda1d077cee7b4b7fd | refs/heads/master | 2021-01-20T01:22:31.830384 | 2017-05-01T05:29:12 | 2017-05-01T05:31:23 | 89,263,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | cpp | stub_publish_server_entry.cpp | #include "stub_publish_server_entry.h"
#include "stub_publish_service_entry.h"
#include <cassert>
namespace xzc {
StubPublishServerEntry::StubPublishServerEntry(bool enable)
: enable_(enable), is_start_(false) {
}
void StubPublishServerEntry::PublishService(
const Service& service, const PublishServiceEn... |
d67682a184e9e300e2f4c6b02f7dd778c0c997c7 | eec110ae830de729f095bd8e95f7cef46b7cb3f5 | /lab_13/src/part2.cpp | 3f49cd37483a48d83d02e2e919253228ebafbb4c | [] | no_license | SeijiEmery/comp235 | e4994cd177d89c457b6c86b97890cb6f36ff0a02 | 9c6c449643ffdba741e44491b13c306d1d26d963 | refs/heads/master | 2021-05-09T15:41:37.876072 | 2018-05-20T02:25:36 | 2018-05-20T02:25:36 | 119,097,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,579 | cpp | part2.cpp | #include <iostream>
using namespace std;
enum class Comparison { EQUAL = 0, GREATER = 1, LESSER = -1 };
class IPlayer {
public:
virtual const char* name () const = 0;
virtual int getGuess () = 0;
virtual void reportGuess (int guess, Comparison cmp) {}
};
bool checkForWin (IPlayer& player, IPlayer& se... |
33b3f2752137a9149513b592574869969977896e | 5ac4af1856032d41cedcd83b481b247c9cd2ede0 | /llvm/tools/clang/lib/CodeGen/Scout/ASTVisitors.h | ceb5a450992f053ae4432e42ba86300e17c01db5 | [
"NCSA",
"BSD-3-Clause",
"LicenseRef-scancode-other-permissive"
] | permissive | lineCode/scout | 884bf2a6bf5c0e9963ef6af36f8559ec635929f3 | a7b66c9bb6940625005c05bc350491a443a23866 | refs/heads/master | 2021-05-30T14:55:14.591760 | 2016-02-18T22:45:02 | 2016-02-18T22:45:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,743 | h | ASTVisitors.h | /*
* ###########################################################################
* Copyright (c) 2014, Los Alamos National Security, LLC.
* All rights reserved.
*
* Copyright 2010. Los Alamos National Security, LLC. This software was
* produced under U.S. Government contract DE-AC52-06NA25396 for Los
* Alamo... |
3cf42a2b9c66b04ac0916b7f08d46d1823e1e0a4 | e186d02dd464de61d5b8b4f78e9079b5269a352f | /SPH-2D/src/Params.cpp | cab8ccaf93ee33184d43f6d0861d80da92baae01 | [] | no_license | KeitoTakaishi/CGLab-oF | 6272843942635f45196f17e2ffb3b843a5b997b3 | 79088c29a5c27c6abb0a94a5bf99e2f97aa0ae7c | refs/heads/master | 2023-03-31T06:28:48.220452 | 2021-04-13T15:30:56 | 2021-04-13T15:30:56 | 240,663,870 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | cpp | Params.cpp | //
// Params.cpp
// SPH-2D
//
// Created by takaishi keito on 2020/02/14.
//
/*
cellの数と影響半径の関係
*/
#include "Params.hpp"
#include "ofMain.h"
|
0e15edd2ec8d35fd75826de8bc5f3a3af33294be | b2671809f47911c1226d71ab6c315cf58f72377a | /COMP90015 Distributed Systems/project1/submisson/BitBoxSkeleton/share/eleanors_shame/Projects/Pong/main.cpp | 7ee993f9d3f4ae31c20ba8235cc307b9a65151b0 | [] | no_license | MooTong123/Unimelb-Subject | 426ebc616e44aef7d3e04c6ac965e0a268b12bb8 | a4185318efe251c9664af46027ba1332c1963906 | refs/heads/master | 2020-11-26T17:50:25.915775 | 2019-12-22T11:05:16 | 2019-12-22T11:05:16 | 229,163,363 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,808 | cpp | main.cpp | #include "pongout.h"
//D3D objects
LPDIRECT3D9 d3dObject;
LPDIRECT3DDEVICE9 d3dDevice;
LPD3DXFONT fntPong;
//DInput objects
LPDIRECTINPUT8 intInput;
LPDIRECTINPUTDEVICE8 devInputKB;
//global variables
const char g_szClassName[] = "myWindowClass";
BYTE keystate[256];
INT alarm[16] ... |
431aef66bb93c7cb757dbe4e66bcfa984b82af81 | 3c8512ad96bf8bd5447b3917662545e675798c41 | /Hunter/Inventory.cpp | be93c37905ca94c1aff3b22d39e7dd63e1960929 | [] | no_license | Cesea/Portfolio | 3c9788e0e77ff47f95406bcce94a672b8a6ec757 | 9575951de5cc057525be07a0857d1f3684cd5c43 | refs/heads/master | 2021-08-28T14:02:43.186812 | 2017-12-12T07:12:57 | 2017-12-12T07:12:57 | 109,194,692 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 24,262 | cpp | Inventory.cpp | #include "stdafx.h"
#include "Inventory.h"
Inventory::Inventory()
{
EventChannel channel;
channel.Add<Inventory::ItemCollectEvent, Inventory>(*this);
_invenOn = false;
video::TextureHandle invenHandle = VIDEO->CreateTexture("../resources/Textures/UITexture/inven.png", "../resources/Textures/UITexture/inven.png");... |
ed8a43bd9caf35796b623e79c9c8ed63d679e5bd | 5dfdb6e851a0a13993ed27b7d2d471504c9a8d36 | /GAG/src/GAGPL/SPECTRUM/PeakList.h | c172c82d24a9db676b2202bd159e66604dd22694 | [
"Apache-2.0"
] | permissive | hh1985/multi_hs_seq | 15851eb0003f22be9d9a89741214a09647d93690 | 9cf4e70fb59283da30339499952c43a0684f7e77 | refs/heads/master | 2021-01-04T22:33:57.112736 | 2014-09-17T15:26:33 | 2014-09-17T15:26:33 | 19,117,503 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,935 | h | PeakList.h | /********************************************************************
created: 2012/08/03
created: 3:8:2012 15:21
filename: PeakList.h
file path: GAGPL\SPECTRUM
file base: PeakList
file ext: h
author: Han Hu
purpose:
*********************************************************************/
#ifndef GAG_PEAKL... |
926dcde0dfc367255ac7eff81d174b3b290591c3 | 883ee4e5e00d339f6811bc00670883384260b52b | /tests/wchar_cvt_tests.cpp | 4d4dd5fab4e52247f11f7c2b2bf3a86c0df77d7a | [
"BSL-1.0"
] | permissive | dmlys/extlib | bcb116d600337297239469c4c7fc66545d895f9e | 9997f4ac66e8244a02ba46e885618f5371eb4a20 | refs/heads/master | 2023-06-09T02:16:29.500595 | 2023-06-02T18:57:32 | 2023-06-02T18:57:32 | 50,370,987 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,650 | cpp | wchar_cvt_tests.cpp | #include <boost/test/unit_test.hpp>
#include <boost/mp11.hpp>
#include <boost/mp11/mpl.hpp>
#include <ext/codecvt_conv/generic_conv.hpp>
#include <ext/codecvt_conv/wchar_cvt.hpp>
// wchar_cvt stuff internally uses heavily ext::codecvt_convert::to_bytes/from_bytes,
// those already have tests, so current tests are mor... |
1326930b61f515f0d986b54039bc19c0680b886b | 3b52a06ee967d2a7a182996b928c7417ff542476 | /aco.cpp | f3b1b1fbbd6e62cdff8642e1d78c0ff440701ec4 | [] | no_license | INFJakZda/AcoOptimalization | 8ebd9fdae08c3332e72831088b18d73367c660b1 | d1b4df52d707ce9b5052d3b999a08700e98f3db6 | refs/heads/master | 2021-01-19T11:22:29.627734 | 2020-08-31T09:34:21 | 2020-08-31T09:34:21 | 87,961,598 | 0 | 0 | null | 2017-04-11T17:44:18 | 2017-04-11T17:30:32 | null | UTF-8 | C++ | false | false | 5,754 | cpp | aco.cpp | #include "main.h"
#include <string>
bool compareMachin(const Machine* a, const Machine* b) { return (a[0].totalTime < b[0].totalTime); }
void generatingAntPath(int a, std::vector<Ant> &colony, Job* job, int moveit) {
std::vector<float> propability;
std::vector<int> helpArray;
colony[a].jobList.push_back... |
4bb45559a687daa88342d239874ba5a0e1801cd2 | b2504278cdebe350c2afe2314459b0eeef81b7e7 | /ttDM/stat/interface/HistoCollection.h | d894ad97c8b1eee7af00cdbd4f37f4af488f5444 | [] | no_license | adeiorio/fit_Vtsd | 9b70438d588d4d260f71270799be91fd52192eca | fd061db1ee07eac1d627ab6ff768df024ddfd0c4 | refs/heads/master | 2021-09-12T20:22:26.888443 | 2018-02-27T15:33:18 | 2018-02-27T15:33:18 | 111,433,093 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,582 | h | HistoCollection.h | #ifndef STAT_HISTOCOLLECTION_H
#define STAT_HISTOCOLLECTION_H
#include "ttDM/stat/interface/HistoSet.h"
#include "ttDM/stat/interface/HistoSetSyst.h"
#include "ttDM/stat/interface/Config.h"
#include <vector>
#include <memory>
#include <cmath>
#include <iostream>
#include "TH1.h"
class HistoCollection {
public:
expl... |
1842aa2a25aaf024563b839c32e37abee7520ee8 | 52e96fdaa9cd48fd6cad61d3cba8ecdc15f88c3a | /include/SchedTest/partitioned/lp/lp_rta_pfp_mpcp.h | 153f86a29f45fece6cb82973324c65c2c518718c | [] | no_license | RTLAB-UESTC/SET-MRTS-public | 7918aa76495383cd433c652cf297384c091437f2 | 59b9308271c353a254507d066048b763082a7c19 | refs/heads/master | 2021-06-23T23:10:53.299733 | 2020-11-02T19:15:22 | 2020-11-02T19:15:22 | 136,583,138 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,795 | h | lp_rta_pfp_mpcp.h | // Copyright [2017] <Zewei Chen>
// ------By Zewei Chen------
// Email:czwking1991@gmail.com
#ifndef INCLUDE_SCHEDTEST_PARTITIONED_LP_LP_RTA_PFP_MPCP_H_
#define INCLUDE_SCHEDTEST_PARTITIONED_LP_LP_RTA_PFP_MPCP_H_
/*
** LinearProgramming approach for partitioned fix-priority scheduling under MPCP
*locking protocol
**
*... |
e53911d28e5c226da00b6d7580035e837a5a4366 | 9c4bf846481fb88278730ab5fa3ac3254afb71dc | /demo.ino | 07b5b30f39cf5cf84fcd4518147f18480e9b9688 | [] | no_license | GautamGottipati/First_Project | a7bfaf0bda99bd27d0deb36747e3ab40d2bfb607 | beb19dedc6edbf9fb78414fb4e5f2583cfabbc8e | refs/heads/master | 2021-11-29T18:01:15.053372 | 2021-11-22T15:52:49 | 2021-11-22T15:52:49 | 131,411,847 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,792 | ino | demo.ino | /*
* Team Id: EYRC<3921>
* Author List: G.Gautam,G.RajiniKanth,G.Tarun,K.Ritesh
* Filename: Collector bot ATMEGA2560
* Theme: Collector bot implementation
* Functions: servo1_pin_config,motion_pin_config ,port_init(),timer1_init,velocity
* Global Variables: NUMBER_OF_FIELDS,fieldIndex,sign
*/
#include <avr... |
63dc709ff77717cb6b35d956949c827832f70151 | 4b079e58941be01982b59f92b02a63dc59439aa3 | /graehl/shared/ilinenostream.hpp | d734b3b77adc207aabaf7b977e673e4360fcaf8d | [] | no_license | isi-nlp/sbmt | 143b784540e79cdbeaed3655588e8f4e38157284 | 56b2a2651b7741219657d095db3ebd7875ed4963 | refs/heads/master | 2020-04-06T13:56:13.370832 | 2018-11-21T18:59:31 | 2018-11-21T18:59:31 | 47,573,153 | 6 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,505 | hpp | ilinenostream.hpp | // input stream that tracks the current line number
#ifndef LINENOSTREAM_HPP
#define LINENOSTREAM_HPP
#include <steambuf>
#include <istream>
namespace graehl {
struct linenobuf:
public std::streambuf
{
linennobuf(std::streambuf* sbuf): m_sbuf(sbuf), m_lineno(1) {}
int lineno() const { return m_lineno; }
p... |
5b3fd7905c825205fd4bcf422d4df2b56dbf49d3 | 898c761766be7b0db4ea51e50f11953a04da0f50 | /2021-5-6/2021-5-6Hard/area/area.cpp | 3b1c2ee50813f40129535ce47742624c1bb0178e | [] | no_license | zhoufangyuanTV/zzzz | 342f87de6fdbdc7f8c6dce12649fe96c2c1bcf9c | 1d686ff1bc6adb883fa18d0e110df7f82ebe568d | refs/heads/master | 2023-08-25T03:22:41.184640 | 2021-09-30T12:42:01 | 2021-09-30T12:42:01 | 286,425,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,345 | cpp | area.cpp | #include<cstdio>
#include<cstring>
#include<vector>
#include<algorithm>
using namespace std;
struct point
{
long long x,y;
}a[110000];
inline bool Ucmp(point x,point y){return x.x==y.x?x.y>y.y:x.x<y.x;}
inline bool Dcmp(point x,point y){return x.x==y.x?x.y<y.y:x.x<y.x;}
inline point operator+(point x,point y){return (... |
2dc3e73f248fa367ba34d62b2b3f8d0ee5ef4c85 | 5e93c71d35c49de95369691ee7c8cf9ee18a0fa9 | /examples/echo/client.cpp | ef4598d80011f8261d9e708e21f52ef2e01fe677 | [] | no_license | xuzhaofangxzf/tcpsocket | e33cf9dda892cfb4a88e474f0ff637de6594c87f | 118abd3e88b4484df85b95815c9122cbd4bf3c4a | refs/heads/master | 2023-03-17T03:11:26.706721 | 2019-12-11T21:09:18 | 2019-12-11T21:09:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,388 | cpp | client.cpp | #include <iostream>
#include <fstream>
#include <thread>
#include <signal.h>
#include "arpa/inet.h"
#include "tcpsocket.h"
#include "tcpclient.h"
#include "tcpssl.h"
#include "echoclient.h"
#include "clientoptions.h"
using namespace std;
mutex mtx;
string cmd;
EPoll epoll;
ProgramOptions options;
bool terminated {fal... |
b837f1a62c2dec8f8432ee09f4230f6087ae2de3 | b4f42eed62aa7ef0e28f04c1f455f030115ec58e | /messagingfw/wappushfw/tpush/RefTestAgent/RTAParser/tags.h | 3551ca69c878d2137abf39c13cc954fcd6030d0b | [] | no_license | SymbianSource/oss.FCL.sf.mw.messagingmw | 6addffd79d854f7a670cbb5d89341b0aa6e8c849 | 7af85768c2d2bc370cbb3b95e01103f7b7577455 | refs/heads/master | 2021-01-17T16:45:41.697969 | 2010-11-03T17:11:46 | 2010-11-03T17:11:46 | 71,851,820 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,587 | h | tags.h | // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/e... |
fd7cecc514bc0356e784bcaa98a0a534c6bff046 | 8947812c9c0be1f0bb6c30d1bb225d4d6aafb488 | /01_Develop/libXMCocos2D/Source/extensions/CCControl/CCControlSwitch.cpp | 778a04985621851d81b0833f6bb5fad184802600 | [
"MIT"
] | permissive | alissastanderwick/OpenKODE-Framework | cbb298974e7464d736a21b760c22721281b9c7ec | d4382d781da7f488a0e7667362a89e8e389468dd | refs/heads/master | 2021-10-25T01:33:37.821493 | 2016-07-12T01:29:35 | 2016-07-12T01:29:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,860 | cpp | CCControlSwitch.cpp | /* --------------------------------------------------------------------------
*
* File CCControlSwitch.cpp
* Author Y.H Mun
*
* --------------------------------------------------------------------------
*
* Copyright (c) 2010-2013 cocos2d-x.org
* Copyright (c) 2012 ... |
a7890319b92f9ffd7551a2f74d886715e2646cbf | bf0b03beeb326a36990d93f6e20d6ef123fccbe0 | /Utilities/IO/InputControls.h | 92f8614b569db776e8523cca1f8991743b9f1f3f | [] | no_license | Crawping/Cyclone | 451a4eccf0487d306fa8e0cb3880a8746e2857f3 | 410c80a965824039f53fd9afa9291b5084427915 | refs/heads/master | 2021-01-01T04:02:49.879405 | 2017-07-12T21:58:42 | 2017-07-12T21:58:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,998 | h | InputControls.h | /* CHANGELOG
* Written by Josh Grooms on 20151126
*/
#pragma once
#include "Enumerator.h"
#include "UtilitiesAPI.h"
#include <bitset>
namespace Cyclone
{
namespace { using namespace Cyclone::Utilities; }
namespace Utilities
{
struct PointerButtons : public Flag<PointerButtons>
{
... |
49ddbb492ab0573ab1c2a2e2abe928e311d17cd1 | 370ed3900c13811e18ee99572d7824c923b257ed | /lib/src/DriverTimerLocal.cpp | dbab1ffd5252e094a29808633d5cf15a2e0a2f5d | [
"MIT"
] | permissive | Chaitanya-Patel/GenericTarget | 8a0d7724705e33477a004c5e47c7ac375621aaad | 6b26793c2d580797ac8104ca5368987cbb570ef8 | refs/heads/main | 2023-07-03T03:45:02.547975 | 2021-07-27T17:54:23 | 2021-07-27T17:54:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,450 | cpp | DriverTimerLocal.cpp | #include "DriverTimerLocal.h"
#include "HostImplementation.h"
#ifdef GENERIC_TARGET_IMPLEMENTATION
#include <GenericTarget.hpp>
#include <TargetTime.hpp>
#endif
void CreateDriverTimerLocal(void){
#ifndef GENERIC_TARGET_IMPLEMENTATION
#ifdef HOST_IMPLEMENTATION
HostImplementation::CreateDriverTimerLocal();... |
6617e80b4d9561c90e0299dd2049b55a6b677a75 | b72a1afdf3b33c839bde2e00a941a113dc27e08d | /terminal_control.h | a6fcd648396552f1e4d53612a91950069f040841 | [] | no_license | Liv928/Raspberry-Pi-Smart-Car | ed291ebe1d61f56cba405537f2b5986f2119a26b | fed884cf4c26e2319fd241d64a94b35f62f25678 | refs/heads/main | 2023-08-16T23:30:39.070532 | 2021-09-27T07:30:34 | 2021-09-27T07:30:34 | 410,784,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 645 | h | terminal_control.h | /**
* @file terminal_control.h
* @author Yu Wu
* @date 2019.11.27
* @brief input commands on terminal to control the car to move
*/
#ifndef TERMINAL_CONTROL_H
#define TERMINAL_CONTROL_H
extern "C"{
#include <wiringPi.h>
#include <softPwm.h>
}
#include <iostream>
/**
* @brief car moves ... |
d444a117fdfc76bd74a2fb5665e53a691c0977e9 | b2aa4e5a6faef9d6b8fe08dd64149cd4e4896ccc | /libs/ofxWTBSPostGlitch/src/ofxWTBSPostGlitch.cpp | c2113d69e63110f370ebac9b170be5203642dc59 | [
"MIT"
] | permissive | moebiussurfing/ofxSurfingFX | fa6bbfe0be2e2bf4a871fe34f7c9308bad856db6 | 5edfd77817ecc7137da6dddbc35a6b1094bfaaec | refs/heads/master | 2023-06-13T02:54:45.896907 | 2021-07-10T10:17:21 | 2021-07-10T10:17:21 | 336,920,679 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 134 | cpp | ofxWTBSPostGlitch.cpp | //
// ofxWTBSPostGlitch.cpp
// 2015_0802_delayExample
//
// Created by switch on 2015/08/04.
//
//
#include "ofxWTBSPostGlitch.h"
|
4e25cfdec2166a3a56473e2e5b1100155f381312 | 07cbe159795612509c2e7e59eb9c8ff6c6ed6b0d | /partitioned/RayleighBenard/consistencyTest/Ra_1e+05_turbExnerFoam_X1_Y50_adHocBC/tStep0.001_0.01/Exner_0 | 61a1c5adca41ba07b8a5c888be39a56cd348e014 | [] | no_license | AtmosFOAM/danRun | aacaaf8a22e47d1eb6390190cb98fbe846001e7a | 94d19c4992053d7bd860923e9605c0cbb77ca8a2 | refs/heads/master | 2021-03-22T04:32:10.679600 | 2020-12-03T21:09:40 | 2020-12-03T21:09:40 | 118,792,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,071 | Exner_0 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*-----... | |
ee4af413e6a8d58b8cbaaacdad097774f2564974 | 297c48bf7e5836b241daeaaf39d844bbadd608d8 | /include/c3d++/C3DRenderer.h | 3f9ff44b01549c81bb478b5b6bb0e24e29104385 | [] | no_license | terminal29/F3Z | a1c28a43b7cdece649c70945872e5f8ceda8e174 | 12f649ff5ed40212fbb2106c23015e4d3565eccd | refs/heads/master | 2023-04-28T04:23:41.107337 | 2023-04-25T05:08:07 | 2023-04-25T05:08:07 | 98,296,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,313 | h | C3DRenderer.h | #pragma once
#include <3ds.h>
#include <3ds/types.h>
#include <citro3d.h>
#include "v_default_shbin.h"
#include <c3d++/C3DModel.h>
#include <c3d++/C3DTransform.h>
#ifdef __INTELLISENSE__
// My intellisense keeps forgetting C3D_RT exists because reasons...
#define C3D_RenderTarget C3D_RenderTarget_tag
#end... |
923140b16ec362d606aa89aa7e61699a316a08c0 | 423f76035af6fe90fbdbeb0aaed06c152800d400 | /Utils/Shipedit/ShipeditDlg.h | 3c2c2f789fa6a11093132236c3b80915294aa96b | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | majacQ/orbiter | 687ede8b7a8008693055200589301763cce352a9 | 0b76a36c3ef52adeed6732fa6043df90ad1a6b21 | refs/heads/master | 2023-07-02T02:51:37.306756 | 2021-07-30T00:49:44 | 2021-07-30T00:49:44 | 390,885,751 | 0 | 0 | NOASSERTION | 2021-07-31T12:27:29 | 2021-07-30T00:42:40 | C++ | UTF-8 | C++ | false | false | 1,604 | h | ShipeditDlg.h | // Copyright (c) Martin Schweiger
// Licensed under the MIT License
// ShipeditDlg.h : header file
//
#if !defined(AFX_SHIPEDITDLG_H__2089FACA_79D2_409D_A3E7_D2F94DBCF16D__INCLUDED_)
#define AFX_SHIPEDITDLG_H__2089FACA_79D2_409D_A3E7_D2F94DBCF16D__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 100... |
35cd36404de4d695d42a052ac8534a00e151761b | 06e0dacef819a57e0677b91d5035c61c3cf3884e | /Windows/Eudora71/Eudora/ColorToolbarButton.cpp | 45823aa2f05012e7c4c4eddf9eaf52d218e6cfe7 | [
"MIT"
] | permissive | rafsanofficial/EUDORA | ca57ec9f9d2e273b3521254fc636adbc8e4c51c6 | bf43221f5663ec2338aaf90710a89d1490b92ed2 | refs/heads/master | 2023-07-13T20:58:53.434990 | 2021-08-20T11:30:32 | 2021-08-20T11:30:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,067 | cpp | ColorToolbarButton.cpp | ////////////////////////////////////////////////////////////////////////
// Filename: ColorToolbarButton.cpp
//
// Copyright (c) 2001 by QUALCOMM, Incorporated
/* Copyright (c) 2016, Computer History Museum
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are perm... |
362ee4052851aa6f6853cd794d267028a26c270c | 5e2428bd724dafdeeb781cec54b7cc258331bd76 | /C:C++/Larger Projects/LazyDevelopersToolkit/LazyDevelopersToolkit/DevTool5.cpp | 56b77fbde48c748f3c559c3af643534453ed52e6 | [] | no_license | brogan-avery/MyPortfolio-AndExamples | 60e898742b41f92e46147e92f67fc16357d2b894 | 555a69cf3495183700f463cf7808e0ba65b53a96 | refs/heads/main | 2023-05-03T00:31:02.949069 | 2021-05-26T22:09:43 | 2021-05-26T22:09:43 | 360,210,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,714 | cpp | DevTool5.cpp | /**************************************************************
* File Title: Dev Tool 5 Class Body
* Author: Brogan Avery
* Created : 2021-04-01
* File Description : this class lets user do a variety of things such as listen to relaxing music, play games, etc. to take a break from coding.
*****************************... |
2c14eadb022d56d3634d00b3c1533c79f8339ba8 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1483488_0/C++/kuldeepguptacse09/cdjam3.cpp | 7c180120af614c6059d588ac8a6d656d7bcf16d8 | [] | 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,493 | cpp | cdjam3.cpp | #include<stdio.h>
#include<string.h>
#include<ctype.h>
#include<math.h>
#include<set>
using namespace std;
#define f(i,n) for(i=0;i<n;i++)
#define fa(i,a,n) for(i=a;i<n;i++)
#define in(n) scanf("%d",&n)
#define MOD 1000000009ll
inline int nod(int n){
int d=10;
while(n/d)d*=10;
return d;
}... |
9435515be1feb5ed17e4c92cb79e35c37445b260 | 747f684c3e988234877d581f175cddf19792d0fa | /ConsoleApplication1/BranchModule.h | 2f6aaa6dfdbf72096949e8c67ff9f950bca868e9 | [] | no_license | pv-k/NNLib4 | 0dd07a708290ca875c62ba279438a7f02a79acfa | 0ec77f2f915778a4734d1158e2ba0875b9c8ec2d | refs/heads/master | 2020-04-05T23:33:07.257135 | 2013-06-13T17:59:24 | 2013-06-13T17:59:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,160 | h | BranchModule.h | #ifndef BRANCH_MODULE_H
#define BRANCH_MODULE_H
#include "Module.h"
template <class ParamsType>
class BranchModule : public Module<ParamsType>
{
std::shared_ptr< Module<ParamsType> > branch_module_;
std::shared_ptr< Tensor<ParamsType> > branch_module_output_gradients_;
public:
virtual double GetCost(const std::v... |
644cb735484132e97022e40202649d7b13d80e5b | 39ad9df1466510b7c789539c5b39d3064fc15283 | /PreopViewer.cpp | 3dfbd9f6b173804727877fca253d47c7cecfc526 | [] | no_license | vineetak/LapUSProject | 2cf4baa50888050837d99a1b85b5cd8d6f720ce2 | 72e55fafb614637227d88725642775c2d38e3c0a | refs/heads/master | 2021-01-19T20:16:28.191142 | 2015-05-03T13:22:29 | 2015-05-03T13:22:29 | 9,993,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,535 | cpp | PreopViewer.cpp | #include "PreopViewer.h"
#include <iostream>
PreopViewer::PreopViewer(void){
}
void PreopViewer::wheelEvent(QWheelEvent* event){
std::cout<<"Wheel Event occured";
// qWarning() << Q_FUNC_INFO << event;
}
PreopViewer::PreopViewer(QWidget* parent){
this->setStyleSheet("background-color:black;");
std::cout<<"Cr... |
a9183209873dacc4a704d56cbcd63f8f2cfffc67 | 0cd9bc955c92cf8bef30a0fddebef4fdb0dba09e | /labs/2/main.cpp | d0f222e4732b67340c453a1b4ee3402dc895a4c9 | [] | no_license | zimnicky/knu-iii-s-labs-oop | 5e590efda6639356b1984bd7b81ccb3e6a6b6a54 | aa79d947f6e679b11f6d26af586fc0bb783ec2ae | refs/heads/master | 2020-07-08T00:09:55.010210 | 2013-12-24T12:06:18 | 2013-12-24T12:06:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,038 | cpp | main.cpp | #include <X11/Xlib.h>
#include <iostream>
#include <vector>
#include <cmath>
#include <dlfcn.h>
using namespace std;
struct Circle
{
Circle(XPoint p, int r)
{
x = p.x;
y = p.y;
this->r = r;
}
int x, y, r;
};
typedef void (*DrawCirclesFunc)(Circle *, int, Display *, Drawable &,... |
a0cf8bcd1266315205f041ad461ffcc023cd9ed9 | c8c1e4fcbd3743ee2e39b7daab5d9f5f9a806a5c | /include/main_fn3.h | c0679a8e44d0b5b32662f79d4735d8677e1e977a | [] | no_license | og113/kink2 | b45793d4e17d818c638c116bc7ac424ebedebd55 | d78c0dcddf4d14496b75a84d4141a8673dd83e71 | refs/heads/master | 2021-01-18T22:58:26.069019 | 2017-02-08T20:58:15 | 2017-02-08T20:58:15 | 31,727,462 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | h | main_fn3.h | /*----------------------------------------------------------------------------------------------------------------------------
main_fn3
declaration of main_fn3
----------------------------------------------------------------------------------------------------------------------------*/
#ifndef __MAIN_FN3_H_INCLUDED... |
21b4fd92cf4da19bd6575887d2c528f09a9eb59e | 8dbcef241b16387a73090f308e51759c7849c928 | /core/Tuple.h | 475a1f01e4b0d458945b992d5278330f95dd5f09 | [] | no_license | Khallimero/myrt_tuple | 0e0974cfbbe48b9a2fb494799063346df99ae730 | 94d37996d58f6eea709519656a66d6db06a8df81 | refs/heads/master | 2023-06-07T23:31:01.281161 | 2023-06-04T12:55:08 | 2023-06-04T12:55:08 | 216,005,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,299 | h | Tuple.h | #pragma once
#include "core.h"
#include <string.h>
#define TUPLE_IDX(_i,_S) for(tuple_idx<_S> _i;_i.isValid();++_i)
#define TUPLE_BINARY_OP(OP) \
Tuple operator OP(const Tuple& that)const \
{ \
static struct tuple_binary_op:public binary_op<T,T> \
{ \
virtual T operator()... |
f18426014d5bab81dd91240b52debd954cd60e0b | 60d1c659eeb2a32ef1637ddaa8249063f5e3d4ba | /PAT A1133 Splitting A Linked List/PAT A1133 Splitting A Linked List/main.cpp | 41d490dd3ec9732d74a20da21f3b83c654bc5e51 | [] | no_license | ZhouAaron/PAT | a42940ad09dca905cdacc363e182fea8a8860198 | 9be0f17f9a3b230509f3aef80a4d88d254a5c42b | refs/heads/master | 2020-05-07T18:36:55.765689 | 2019-07-07T14:22:58 | 2019-07-07T14:22:58 | 180,773,886 | 0 | 0 | null | 2019-06-02T02:35:45 | 2019-04-11T11:01:16 | C++ | UTF-8 | C++ | false | false | 1,181 | cpp | main.cpp | //
// main.cpp
// PAT A1133 Splitting A Linked List
//
// Created by Aaron on 2019/6/18.
// Copyright © 2019 周杰. All rights reserved.
//
#include <iostream>
#include <vector>
using namespace std;
struct node {
int id,data,next;
};
int main(int argc, const char * argv[]) {
int begin,n,k,s,d,e;//begin 首地址,n为... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.