blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d4414eb6491194d84a6d9763e494a76d36a91bd9 | fe92a722db8bdba378cc8747895f99bd2c209634 | /NOPAT-26.cpp | 0fd86695410562cc227c45ffce87ab696509c060 | [] | no_license | bnblzq/algo-practice | 00292fd79c4c56edda01c5c4b2922cc00cbd1d57 | 8b9126ecabf61b1d1fdd86207798fd5bdf05c5b4 | refs/heads/master | 2020-04-14T05:05:03.724096 | 2019-03-22T08:29:11 | 2019-03-22T08:29:11 | 163,652,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,240 | cpp |
/*
* 有一群人,打乒乓球比赛,两两捉对撕杀,每两个人之间最多打一场比赛。
球赛的规则如下:如果 A 打败了 B,B 又打败了 C,而 A 与 C 之间没有进
行过比赛,那么就认定,A 一定能打败 C。
如果 A 打败了 B,B 又打败了 C,而且,C 又打败了 A,那么 A、B、C 三
者都不可能成为冠军。
根据这个规则,无需循环较量,或许就能确定冠军。你的任务就是面对一群
比赛选手,在经过了若干场撕杀之后,确定是否已经实际上产生了冠军。
输入含有一些选手群,每群选手都以一个整数 n(n<1000)开头,后跟 n 对选
手的比赛结果,比赛结果以一对选手名字(中间隔一空格)表示,前者战胜后者。
如果 n 为 0,则表示输入结... | [
"328397315@qq.com"
] | 328397315@qq.com |
82da019a6a10c288e472ce5f42a52887fb10b406 | 2cae54fe441ad0e84b8df6917153bbe3c81ae986 | /alphabetspam/alphabetspam.cpp | b826442abb0ba4130e1875b55473a8ea53559520 | [
"MIT"
] | permissive | omarchehab98/open.kattis.com-problems | 3cb08a475ca4fb156462904a221362b98c2813c9 | 0523e2e641151dad719ef05cc9811a8ef5c6a278 | refs/heads/master | 2020-03-31T04:23:06.415280 | 2019-10-29T00:50:08 | 2019-10-29T00:50:08 | 151,903,075 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 620 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
string input;
cin >> input;
cout << setprecision(10) << (double(input.size() - regex_replace(input, regex("_"), "").size()) / input.size()) << endl;
cout << setprecision(10) << (double(input.size() - regex_replace(input, regex("[a-z]"), "").size()... | [
"omarchehab98@gmail.com"
] | omarchehab98@gmail.com |
e41c3c527c7217e4dfbdc7c05e9b9ea602aedd29 | d333a3cbdcf089746d17bbd8d89cd978982d83d7 | /Cpp/test/a.cpp | 5671959e32d2e7e7ae64346a05e122ac98010afc | [] | no_license | duantao74520/workspace | 59bfd5d886533035da4ed46c86cbdff0f828a29d | 5922d4f6715801919d9c84fd6f17f4a9fba8346f | refs/heads/master | 2020-07-14T22:27:53.708007 | 2019-08-30T15:55:01 | 2019-08-30T15:55:01 | 205,416,103 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 211 | cpp | #include <stdio.h>
void debug(char *str)
{
printf("debug info :%s\n",str );
}
main(int argc,char *argv[]){
int i,j;
j=0;
for(i=0;i<10;i++){
j+=5;
printf("now a=%d\n", j);
}
}
| [
"841618016@qq.com"
] | 841618016@qq.com |
d23ec87cb3c33db1b88bee7f9e0487e8ed2acb27 | 9c3edb19f7a3cbcd9e7948394313d6776f3d6a1d | /statemachine/stringmaxlengthtransition.h | 5d8c1ec98c50532c3df09f031a844d908651e482 | [] | no_license | Aschen/cutebox-public | 6dd198c04608db199d7cf3fe90b3136ec4b19b5b | 672c3512ee4f1f1fa60a2163c80d32735c3febc0 | refs/heads/master | 2021-01-19T06:06:12.742472 | 2016-09-13T12:17:13 | 2016-09-13T12:17:13 | 65,465,713 | 0 | 1 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,172 | h | /******************************************************************************
COPYRIGHT (c) 2008 - 2010 by RG Systèmes Corporation.
This software has been provided pursuant to a License Agreement
containing restrictions on its use. This software contains
valuable trade secre... | [
"a.maret@studio-hb.com"
] | a.maret@studio-hb.com |
536ce871b2b7638985d229e16b779df093ac3c2c | 64d0ac5b23aea2dd1ec50d34ef59edd023f77326 | /src/onePole.cpp | f6cdab05fdf3b75101b913b45699b8c911d4936b | [] | no_license | Dante2/AVP | 32fedff2a17fb127a0410872f405cd2417189ed4 | 156800f83812222f03a55fcd2704ada00784912c | refs/heads/master | 2021-05-13T14:28:04.511307 | 2018-01-08T23:46:17 | 2018-01-08T23:46:17 | 116,741,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,314 | cpp | //
// onePole.cpp
// mySketch
//
// Created by Jools on 08/01/2018.
//
#include "onePole.hpp"
// One Pole constructor ----------------------------------
// Initialise its variables
OnePole::OnePole(){
z = 0;
b = 0.99;
a = 1 - b;
}
// -----------------------------------------------------------
// One... | [
"jools@Joolss-MacBook-Pro.local"
] | jools@Joolss-MacBook-Pro.local |
2762855789fd72ec9e2156ed72bfe0e67a3286cc | dd11fc3311b61ddbe196e21c14226d0b60777650 | /src/classical/mign/mign_rewriting_majn_to_smaller.hpp | 753659ce35ed00a6bbe579716c98812591ec1fc2 | [
"MIT"
] | permissive | eletesta/cirkit-addon-mign | 3d03b72f2c6b3254c77c88aad0f81971eebb6bd0 | 65c79809495957892dbf3e48550d035970a2169b | refs/heads/master | 2021-09-20T01:04:14.135418 | 2018-08-02T00:14:00 | 2018-08-02T00:14:00 | 84,551,715 | 0 | 0 | null | 2017-10-03T10:20:12 | 2017-03-10T11:08:31 | C++ | UTF-8 | C++ | false | false | 1,404 | hpp | /* CirKit: A circuit toolkit
* Copyright (C) 2009-2015 University of Bremen
* Copyright (C) 2015-2016 EPFL
*
* 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 Licen... | [
"eleonora.testa@epfl.ch"
] | eleonora.testa@epfl.ch |
cdd25edf0503dbc54f87f59ab27386a80472a9c7 | abed321ee597cede0e1585a7f2fdbd887a50f020 | /realsense_ros_object/test/object_test.cpp | 8951de15983cb793463ce16252642d6c7a961325 | [
"Apache-2.0"
] | permissive | Hadisalman/realsense_samples_ros | fa2efa4ac6e50d900e58ac1dc9f339938155141b | 82c53df9413b5a6d859e65c7fd3d8736086f169e | refs/heads/kinetic-devel | 2021-01-18T19:05:52.914213 | 2017-08-17T16:39:34 | 2017-08-17T16:39:34 | 100,526,891 | 1 | 0 | null | 2017-08-16T19:51:02 | 2017-08-16T19:51:01 | null | UTF-8 | C++ | false | false | 2,344 | cpp | // License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2016 Intel Corporation. All Rights Reserved
#include <gtest/gtest.h>
#include <ros/ros.h>
#include "realsense_ros_object/ObjectsInBoxes.h"
#include <image_transport/image_transport.h>
bool objects_in_boxes_recieved = false;
bool camera_info_r... | [
"matthew.c.curfman@intel.com"
] | matthew.c.curfman@intel.com |
6a8bf5dc055f21e485e532bf8ed285f2a35bc73a | 6204178b1026c73f06673ff6f7d9a3bce205f784 | /CPP_Exercises/09_Pointers/05_NameofArray.cpp | 89662789265e394114615eb7254a6b5249744789 | [] | no_license | B-Rie/CPP_UdemyCourse | 410686fe4f1fa695527414a7e9441eee574f7029 | 5126a23310f9d08193a79394d680755512e68aee | refs/heads/main | 2023-02-20T11:03:42.552112 | 2021-01-25T19:50:08 | 2021-01-25T19:50:08 | 321,382,707 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 605 | cpp | /*
Exercise 1:
Declare 5 element array of integers and a pointer to the first element of the array.
Use the pointer and its incrementation instead of array notation, fill the array with
any integer numbers. Print all of the elements out in the console.
*/
#include <iostream>
using namespace std;
int mai... | [
"noreply@github.com"
] | noreply@github.com |
0cc7887022472ea1ebfe252123113f63c504c82f | 40983fab9dffef97d61730310632f96356112ad3 | /CSC8503/CSC8503/GameTech/NetworkedGame.h | 2293443af0159cbe177f0425a6c138a8f3add8df | [] | no_license | tywhite123/GameTech | 4e310d2a063519ba9f0e1f15dd75ccc6eea852c1 | c4c3b72da0b93e667f32d806847b04b78710f367 | refs/heads/master | 2020-04-08T08:00:24.790502 | 2018-12-13T23:05:37 | 2018-12-13T23:05:37 | 159,160,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,227 | h | #pragma once
#include "TutorialGame.h"
#include "../CSC8503Common/GameServer.h"
#include "PacketReceiver.h"
#include "../CSC8503Common/PlayerObject.h"
#include "../CSC8503Common/StateMachine.h"
//TODO: Somehow sort this out
struct PlayerBall
{
int playerToUpdate;
Vector3 ballForce;
Vector3 collidedAt;
};
class Net... | [
"tywhitehead@hotmail.co.uk"
] | tywhitehead@hotmail.co.uk |
336c142c0ea06c3627f66d6151b9a2e8d99596a3 | 4ec6194bb6d1f8ad3e7c382dc6d98b8267a9f3e3 | /src/storage/FCS.h | 3f6eb530bf6248554c0aafd0dffd1e4050f362bc | [
"MIT",
"LicenseRef-scancode-other-permissive"
] | permissive | goodwill2684/Firebase-ESP-Client | 025c1b46cccdc51c00c67d7b8fa03bb0de22d414 | 861a08257d732093a699bee385675d73c65c3797 | refs/heads/main | 2023-07-02T23:12:56.464087 | 2021-08-15T10:02:15 | 2021-08-15T10:02:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,199 | h | /**
* Google's Firebase Storage class, FCS.h version 1.1.3
*
* This library supports Espressif ESP8266 and ESP32
*
* Created August 15, 2021
*
* This work is a part of Firebase ESP Client library
* Copyright (c) 2021 K. Suwatchai (Mobizt)
*
* The MIT License (MIT)
* Copyright (c) 2021 K. Suwat... | [
"k_suwatchai@hotmail.com"
] | k_suwatchai@hotmail.com |
b1df127d5d1a110abb9ba34d2a0f1ab0e9c3fcc5 | aa8c315b03c10e46bda03d2ce6d334ad5b91ee01 | /arduino_play/instrument.h | 08700f81daade435792933fc64fcf8d092fe3815 | [] | no_license | jachang820/InstrumentPlayingRobot | 84eed1b6104b92fae017cdaeefa0216d927d23ee | 3cb38c5f4b454dc40ec120c52d4f6743bbb7b88d | refs/heads/master | 2021-05-02T10:01:28.275188 | 2018-02-09T22:22:10 | 2018-02-09T22:22:10 | 120,786,855 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 140 | h | #ifndef INSTRUMENT_H
#define INSTRUMENT_H
class Instrument {
public:
virtual void begin() = 0;
virtual void play(int) = 0;
};
#endif
| [
"j.a.chang820@gmail.com"
] | j.a.chang820@gmail.com |
6408baed7f1a1504ea4a71f7c02eae35236e6652 | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /gen/v8_7_5/torque-generated/builtins-array-find-from-dsl-gen.h | a3c07ab60b22c89ef99cbcac3def07f0841b440d | [
"Apache-2.0"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 993 | h | #ifndef V8_TORQUE_ARRAY_FIND_FROM_DSL_BASE_H__
#define V8_TORQUE_ARRAY_FIND_FROM_DSL_BASE_H__
#include "src/compiler/code-assembler.h"
#include "src/code-stub-assembler.h"
#include "src/utils.h"
#include "torque-generated/class-definitions-from-dsl.h"
namespace v8 {
namespace internal {
class ArrayFindBuiltinsFromDS... | [
"22249030@qq.com"
] | 22249030@qq.com |
016b47739a6af4513a098713ebe4501a0f5c0642 | dd949f215d968f2ee69bf85571fd63e4f085a869 | /systems/spring-school-2011/subarchitectures/vision.sa/src/c++/vision/components/StereoFlapDetector/vs3/GestaltPrinciple.cc | aeb6822e906be3ebdd0df796100b595a928b2b07 | [] | no_license | marc-hanheide/cogx | a3fd395805f1b0ad7d713a05b9256312757b37a9 | cb9a9c9cdfeba02afac6a83d03b7c6bb778edb95 | refs/heads/master | 2022-03-16T23:36:21.951317 | 2013-12-10T23:49:07 | 2013-12-10T23:49:07 | 219,460,352 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,324 | cc | /**
* $Id: GestaltPrinciple.cc,v 1.15 2006/11/24 13:47:03 mxz Exp mxz $
*/
#include <string.h>
#include "VisionCore.hh"
#include "GestaltPrinciple.hh"
namespace Z
{
static const int NAME_LENGTH = 40;
static const char type_names[][NAME_LENGTH] = {
"FORM_SEGMENTS",
"FORM_LINES",
"FORM_ARCS",
"FORM_PARALLEL_... | [
"marc@hanheide.net"
] | marc@hanheide.net |
c654d7e6f809feeb20527fa19e99e3b63e66b264 | 37cca16f12e7b1d4d01d6f234da6d568c318abee | /src/org/mpisws/p2p/testing/filetransfer/ProfileFileTest_main_2_incomingSocket_2_1.hpp | f723c905be7e791debcd53a2ce7565e21dcb685f | [] | no_license | subhash1-0/thirstyCrow | e48155ce68fc886f2ee8e7802567c1149bc54206 | 78b7e4e3d2b9a9530ad7d66b44eacfe73ceea582 | refs/heads/master | 2016-09-06T21:25:54.075724 | 2015-09-21T17:21:15 | 2015-09-21T17:21:15 | 42,881,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,691 | hpp | // Generated from /pastry-2.1/src/org/mpisws/p2p/testing/filetransfer/ProfileFileTest.java
#pragma once
#include <java/io/fwd-pastry-2.1.hpp>
#include <java/lang/fwd-pastry-2.1.hpp>
#include <java/nio/fwd-pastry-2.1.hpp>
#include <org/mpisws/p2p/testing/filetransfer/fwd-pastry-2.1.hpp>
#include <rice/environment/logg... | [
"sgurjar@adobe.com"
] | sgurjar@adobe.com |
6e2f0a71474f123b25c7860ad25e766df929815f | 580258c3959289967335bdf26638693ff7770bd8 | /Source/Project_X_Ray/TurretHardPoint.cpp | a7253f6568616464877119e2368e51351827e174 | [] | no_license | Tiba3195/Project_X_Ray_Full | ab997659be3e0a41fad860b389a58c3c58dbe634 | 53283808b71589988217b0a1242c456bccff031e | refs/heads/master | 2021-01-25T09:10:38.405054 | 2017-06-09T07:07:39 | 2017-06-09T07:07:39 | 93,795,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,219 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Project_X_Ray.h"
#include "TurretHardPoint.h"
#include "GlobalGameState.h"
#include "MediumTurretActor.h"
#include "LightTurretActor.h"
#include "HeavyTurretActor.h"
#include "HeavyAntiAirTurretActor.h"
#include "AntiAirTurretAct... | [
"justin_beast@hotmail.com"
] | justin_beast@hotmail.com |
35a413e62a8ef0a31ff5f88d8d59586f8547b3a0 | 330aa8230d648b8c9f6f6ec6e73b99236c2e17ba | /main.cpp | c5a1ea86689314dff1aa2b5aed1e61501f6763ff | [] | no_license | khloud19/BankingSystem | b6264f56c4c5995b05f0d308ff26cbbce8d8dac1 | 64a55d81096d628f4e1c66fc40a00a6cc2798b75 | refs/heads/master | 2020-04-07T03:35:08.114512 | 2018-11-17T20:21:38 | 2018-11-17T20:21:38 | 158,021,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,620 | cpp | #include<iostream>
#include<fstream>
#include<cctype>
#include<iomanip>
using namespace std;
class acc
{
int ano;
char name[100];
int dep;
char type;
char address[100];
int phone;
public:
void create_acc(); //function to create a new account
void show_acc() const; ... | [
"noreply@github.com"
] | noreply@github.com |
3e3bf33a4555f212a38d60b45f204a80a270286b | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/PDBSymbolTypeCustom.cpp | 6723894c90ea80f4293520bd9ceae3444899b209 | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 666 | cpp | //===- PDBSymbolTypeCustom.cpp - --------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"bclayton@google.com"
] | bclayton@google.com |
6c86ca854929d2c2cb0de3e21901bb343041e93f | edad7a6ae21782e63cb4992cbf29625f7a5b866f | /1541.cpp | 5d5e883b470c903128a31c4e94a8ea61c5219d45 | [] | no_license | iamDip171/URI-Probelms | 6f95339c2ab9ff5f3bd0b649a922166689585a65 | 786ea3121c12202e1109c0e7314afc4ce76fd545 | refs/heads/master | 2023-03-10T01:08:37.720151 | 2021-02-26T05:50:56 | 2021-02-26T05:50:56 | 336,617,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 242 | cpp | #include <bits/stdc++.h>
using namespace std ;
int main ()
{
int a,b, percent ;
while (1) {
cin >> a ;
if (a == 0) break ;
cin >> b >> percent ;
cout << (int) sqrt((a*b)*100/percent) << "\n" ;
}
} | [
"dsaha201171@bscse.uiu.ac.bd"
] | dsaha201171@bscse.uiu.ac.bd |
42e54e77c32c31c25643974f7de7fcf49359162c | 158a8bb4d5e40c3f1655969fe8c9d06356925f2d | /Reverse Linked List II .cpp | e30186d7e182c7c92f79969de3e1ee0e1dea5a8f | [] | no_license | xjh10389290/leetcode | 1ade186b1d1d43bab6706718ce1c595da771e0bd | f7d9fe4e944a024093a2383447078983513505b1 | refs/heads/master | 2020-04-18T00:52:33.794217 | 2015-06-13T01:34:20 | 2015-06-13T01:34:20 | 28,729,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 893 | cpp | class Solution {
public:
ListNode *reverseBetween(ListNode *head, int m, int n) {
int nn=m;
int k=m-1;
ListNode *chead=head;
ListNode *ptr0=head;
ListNode *ptr1=head;
ListNode *ptr2=head;
ListNode *ptr3=head;
while((--k)>0) ptr0=ptr0->next;
while(... | [
"307154003@qq.com"
] | 307154003@qq.com |
013a75ea9c06b05e0367c8d33f1d5eb526afd572 | 485e1d6bd46195b77c3d3095ea0f7a9bf2a63594 | /.localhistory/F/school/year4/courses/DBpractice/pagination/pagination/pagination/1602667412$memory.cpp | 0e99f77d784d040d5b2b40dbea43c95d70e35138 | [] | no_license | ZESl/pagination | 67ceaa2ecfaf985034d5d57d5fbe1268e23b2031 | e1fc369dc16c40baead903ab51512d5ea1a85ed3 | refs/heads/master | 2022-12-28T17:46:45.338565 | 2020-10-14T12:59:33 | 2020-10-14T12:59:33 | 304,015,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,916 | cpp | #include "memory.h"
#include <iostream>
#include <fstream>
using namespace std;
memory::memory()
{
m_pMemory = (MemBlock *)malloc(MEM_NUM * sizeof(MemBlock));
memset(m_anStack, -1, MEM_NUM * sizeof(int));
stackTop = -1;
}
memory::~memory()
{
}
// 1. read the file
// 2. page the file according to the file size, ... | [
"823989065@qq.com"
] | 823989065@qq.com |
a0ecba1dc363d690e6570c203fb90e322aa7651d | e7305bf4b50cedfbecf236a545f109bd825840fa | /core/LinearForm.hpp | 8efe92419d980eaee2cae472f00ede127ee24aa5 | [] | no_license | lucmobz/pacs-project | df03257ccf4b745692b1daf30919e7db188ef573 | e54500b96dcf0e3d44aa07fa2970f95a5ac5c4b5 | refs/heads/main | 2023-04-30T11:49:55.701913 | 2021-05-21T20:27:13 | 2021-05-21T20:27:13 | 369,647,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,682 | hpp | #pragma once
#include <Eigen/Core>
#include <algorithm>
#include <iostream>
#include <set>
#include <type_traits>
#include <utility>
#include "Expression.hpp"
#include "FeElement.hpp"
#include "FeFace.hpp"
#include "FeSpace.hpp"
#include "Traits.hpp"
#include "expression_type_traits.hpp"
#include "utilities_include.hp... | [
"luca.mobz.work@gmail.com"
] | luca.mobz.work@gmail.com |
3922dbce1469c11fc5b8a3eae9d4de33a807ad3a | 95d0de25a793dcdcb27ac5c8804ccda6088f6480 | /src/rpcmining.cpp | 279986b20b4e41154b6416d686e6c990aa1dc85a | [
"MIT"
] | permissive | HOANGHAI6876/CrimsonCoin1 | 738e5e9b3222e0b66d0c4888c175d6f85decdb74 | 0a15ffca478cd87670859ae7e1e3cd99dd7b76e3 | refs/heads/master | 2020-03-23T07:39:03.382693 | 2017-07-13T11:52:04 | 2017-07-13T11:52:04 | 141,283,508 | 0 | 1 | null | 2018-07-17T11:59:03 | 2018-07-17T11:59:02 | null | UTF-8 | C++ | false | false | 19,231 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "db.h"
#include "txdb.h"
#include "init.h"
#include "miner.h... | [
"takobrooks@dr.com"
] | takobrooks@dr.com |
b080b223a919a845787503a33a0650ee5e53e46c | 240259adb5fd085aecac513b73e316d869a4f877 | /CodeJam_qualification_2021/Reversort_Engineering.cpp | 73980276199177163d5f3d4c1de09af2bddd5811 | [] | no_license | sumandutta8877/CP | 11aba5a77d6494aff314a522ec82d680415f31b0 | dbdf74cd1759bfaf1e8605b1f0d7b49c0e6fa83c | refs/heads/main | 2023-05-29T07:44:55.236913 | 2021-06-20T07:46:05 | 2021-06-20T07:46:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,094 | cpp | //! ╭━━━╮╱╱╱╱╱╱╱╱╭╮╱╱╱╭━━━┳━━━╮
//! ┃╭━╮┃╱╱╱╱╱╱╱╭╯╰╮╱╱┃╭━╮┃╭━╮┃
//? ┃┃╱┃┣━┳┳━━┳━┻╮╭╋━━┫┃┃┃┣╯╭╯┃
//? ┃╰━╯┃╭╋┫╭╮┃╭╮┃┃┃╭╮┃┃┃┃┃╱┃╭╯
//? ┃╭━╮┃┃┃┃╰╯┃╭╮┃╰┫╰╯┃╰━╯┃╱┃┃
//? ╰╯╱╰┻╯╰┻━╮┣╯╰┻━┻━━┻━━━╯╱╰╯
//* ╱╱╱╱╱╱╱╭━╯┃
//* ╱╱╱╱╱╱╱╰━━╯
#include <bits/stdc++.h>
using namespace std;
#define fo(i, a, n) for (i = a; i < n; i++)
#define... | [
"dbdibyendu5@gmail.com"
] | dbdibyendu5@gmail.com |
ba9690ef049018796b11875c48debf8968158cc3 | 7bcb66d652628227febe3b19579ac9efbe98addd | /PAUI/PlottingImageListener.hpp | 6785ab87f8d88fb38f5c1ff785b0b78c44db713f | [] | no_license | AntonioTavares24/PAUI-RAPOSA | ab2bdda925b6b99912f090928b5595ded0129a24 | a2786ecb88dc883724d4a23d2823ce7d03273e6f | refs/heads/master | 2023-01-09T12:38:22.628219 | 2020-11-06T18:05:15 | 2020-11-06T18:05:15 | 310,671,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,738 | hpp | #pragma once
#include <iostream>
#include <memory>
#include <chrono>
#include <thread>
#include <mutex>
#include <fstream>
#include <map>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <boost/filesystem.hpp>
#include <boost/timer/timer.hpp>
#include <boost/program_options.hpp>
#... | [
"66315859+AntonioTavares24@users.noreply.github.com"
] | 66315859+AntonioTavares24@users.noreply.github.com |
cc3e9c0bf3097bb6e03cc0b0ef011f4d90a5291c | 19cd9c1397558dc2c815ad10e354a8b7a7b0ea47 | /scemi/scemi_pipes.cc | db8151e99a83f507ec2d5edfa58b23d77a180374 | [
"MIT"
] | permissive | Arja7/scemi_lib | 1741898e68465d083ade38b49498ff09eee77811 | 2358f613a4defe613493a68094c313cb0f570d47 | refs/heads/master | 2023-06-22T06:51:37.480323 | 2019-07-13T17:25:07 | 2019-07-13T17:25:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,260 | cc | #include <fcntl.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include <stdarg.h>
#include <assert.h>
#include <unistd.h>
#include <inttypes.h>
#include <errno.h>
#include <cstring>
#include <string>
#include <map>
#include <queue>
#include "vpi_user.h"
#include "scemi_defines.h"
#include "scemi_pipes.h"... | [
"narenkn@gmail.com"
] | narenkn@gmail.com |
2efe330b86229097797fe63f9212a3e023072bae | baa5c2143fd1c3ac831f020037859fbc259a903f | /Solver/CSRMatrix.h | 6505ea18c127411de289d07f8832b1c30643f727 | [
"MIT"
] | permissive | ntrin/Linear-Solvers | 34e8623e917623c630131f6ec947318b46313ff3 | 7fb80defd41fc59a19290f7a12dedaf74d27bcaa | refs/heads/master | 2022-12-17T13:36:16.516386 | 2020-09-24T01:24:22 | 2020-09-24T01:24:22 | 298,136,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,035 | h | /*
* CSRMatrix.h
*
* Created on: Jan 30, 2020
* Author: Nicolas
*/
#ifndef CSRMATRIX_H_
#define CSRMATRIX_H_
#pragma once
#include "Matrix.h"
template <class T>
class CSRMatrix: public Matrix<T>
{
public:
// constructor where we want to preallocate ourselves
CSRMatrix(int rows,... | [
"noreply@github.com"
] | noreply@github.com |
abbe8c60195667f438ff862b8dc81214f760e34d | 882b06a0f5b570c6072afddf3ab1d5684fe982f4 | /jge/Projects/cspsp/src/Person.h | ec3ded30d9fdc501559449a9a2eb9bb95fe5fa4b | [
"BSD-3-Clause"
] | permissive | kevinbchen/cspsp | 75a06a7decc826ec788ff79e01d1d31de4b43d5f | 51abd9ed47ca39c576030a8ed233523e2d41d44c | refs/heads/master | 2022-07-13T04:41:00.832823 | 2022-06-27T06:18:06 | 2022-06-27T06:18:06 | 6,846,752 | 26 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 3,568 | h | #ifndef _PERSON_H_
#define _PERSON_H_
#include "JRenderer.h"
#include "JSoundSystem.h"
#include "Bullet.h"
#include "Grenade.h"
#include "GunObject.h"
#include "SfxManager.h"
#include <vector>
#include "Node.h"
#include "GunObjectOnline.h"
#include "Animation.h"
#define RELATIVE1 0
#define ABSOLUTE1 1
#define MOVING... | [
"kevinchen1992@gmail.com"
] | kevinchen1992@gmail.com |
af105e3635b248e4b394de2ee69316651a81c4dc | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/IRIW+poacquireacquire+fencembonceonce+OnceRelease.c.cbmc_out.cpp | dc9af5dc7ac78a980af4f6db92b55c9d9a32b3d8 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 53,442 | cpp | // 0:vars:2
// 5:atom_3_X2_0:1
// 2:atom_1_X0_1:1
// 3:atom_1_X2_0:1
// 4:atom_3_X0_1:1
// 6:thr0:1
// 7:thr1:1
// 8:thr2:1
// 9:thr3:1
#define ADDRSIZE 10
#define NPROC 5
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
ch... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
60f44331f88af906ab8ebf1cfdceaf571eb05727 | 81de7d09d92e602d32055b5e84c12d07034e99ce | /Minimum Spanning Tree(최소 스패닝 트리)/1647_도시 분할 계획.cpp | d68be0edc2ceadb31f5885e0ab7798d49bcc6c90 | [] | no_license | newdeal123/BOJ | 13499fe476ae1aee2b3174e147b4fafbc071985b | 20a161e46018fc1baba1710f36d3d29fa3bf20db | refs/heads/master | 2021-08-08T15:41:57.601898 | 2021-06-30T14:41:14 | 2021-06-30T14:41:14 | 164,074,479 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,504 | cpp | #include <bits/stdc++.h>
using namespace std;
const int INF=987654321;
const int MAX_N=100000+2;
int N,M;
vector<pair<int,int>> adj[MAX_N];
struct UNION_FIND
{
vector <int> parent,height;
UNION_FIND(){;};
UNION_FIND(int n)
{
parent.resize(n+1),height.resize(n+1,1);
for(int i=1;i<=n;i++)... | [
"newdeal123@nate.com"
] | newdeal123@nate.com |
430f435a74ab4821f3a5b12bb7678d09002bee5b | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/media/base/mock_filters.h | ccf28d0806de20ab60efec263101107a2a6a5576 | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 8,336 | h | // Copyright (c) 2012 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 MEDIA_BASE_MOCK_FILTERS_H_
#define MEDIA_BASE_MOCK_FILTERS_H_
#include <string>
#include "base/callback.h"
#include "media/base/audio_decode... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
992ec6199433c68edc229631b2a0cbb415a0c276 | 4ba0b403637e7aa3e18c9bafae32034e3c394fe4 | /cplusplus/eLang/eLang/el_sequence_expr.h | e005739943d6fa4c4d2fccf7ed940186a0bbef3a | [] | no_license | ASMlover/study | 3767868ddae63ac996e91b73700d40595dd1450f | 1331c8861fcefbef2813a2bdd1ee09c1f1ee46d6 | refs/heads/master | 2023-09-06T06:45:45.596981 | 2023-09-01T08:19:49 | 2023-09-01T08:19:49 | 7,519,677 | 23 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 2,044 | h | // Copyright (c) 2015 ASMlover. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list ofconditions and... | [
"asmlover@126.com"
] | asmlover@126.com |
656027f26ff11e3656157b5f371e7f7b08830ad7 | 198806ccd0b5a7d476c701be5943e9a7afacb7d0 | /xdaq/include/jal/jtagSVFSequencer/JTAGSVFCommandFrequency.h | efc1942571dc29317a3132759e50d7ab1366bb21 | [] | no_license | marcomuzio/EMULib_CLCT_Timing | df5999b5f1187725d7f5b6196ba566045ba60f55 | 04e930d46cadaa0c73b94a0c22e4478f55fac844 | refs/heads/master | 2021-01-16T13:47:26.141865 | 2014-08-14T12:04:33 | 2014-08-14T12:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,415 | h | /**
* @class JTAGSVFCommandFrequency
*
* @short JTAG SVF Frequency command.
* Sets the maximum frequency in Hz.
*
* @see ---
* @author Hannes Sakulin
* $Revision: 1.1 $
* $Date: 2007/03/27 07:59:09 $
*
*
**/
#ifndef jal_JTAGSVFCommandFrequency_H
#define jal_JTAGSVFCommandFreq... | [
"hogenshpogen@gmail.com"
] | hogenshpogen@gmail.com |
d42f35ba441ed81032ef76ff4cc018ff61e2aba6 | 4244b498b3bd674b535d35da38b2ac80adf424ca | /Dynamic Programming/Longest Increasing Subsequence.cpp | 3f18de903a86d4329f2681b7d39e0ae4a508f73c | [] | no_license | rachitgupta98/competitive-programming | 9064cafa79696f069ea582152c9b08aa3cd12280 | b7af0c87f6d1a2ad97a9e8460715c463f2d40713 | refs/heads/master | 2022-08-21T19:20:24.421999 | 2022-08-19T11:29:02 | 2022-08-19T11:29:02 | 204,412,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 712 | cpp | //Time Complexity is o(n^2)
#include <bits/stdc++.h>
using namespace std;
int main(){
int n=5;
int arr[n] = {2,4,6,1,4};
vector<vector<int>>R(n);
R[0].push_back(arr[0]);
for(int i=1;i<n;i++){
for(int j=0;j<i;j++){
if((arr[i] > arr[j]) && (R[i].size() < R[j].size()+1))... | [
"rachit371@gmail.com"
] | rachit371@gmail.com |
d9081df9b3eb0fd4eb59a31a21a610fe9d0c4dfa | e21a933f4c455ed36aedace59c100feabb390bce | /regexp_matcher.h | dd6de29eff8fcc8e08c5e22bd6a4ae73e3d178f9 | [] | no_license | smokys123/PL_hw1 | e868b6f314f22575f9fd4023dd10e927d8b806ea | c3f1078559071e0a1b43069e8159bf818aff7ff5 | refs/heads/master | 2021-01-21T18:33:54.804709 | 2017-05-24T06:32:23 | 2017-05-24T06:32:23 | 92,058,954 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,811 | h | // PL homework: hw2
// regexp_matcher.h
#ifndef _PL_HOMEWORK_REGEXP_MATCHER_H_
#define _PL_HOMEWORK_REGEXP_MATCHER_H_
#include <vector>
#include <string>
#include <map>
#include <set>
#include <stack>
using namespace std;
struct FSATableElement {
int state;
int next_state;
char str;
};
struct RegExpMatcher {
/... | [
"smkoy123@hanyang.ac.kr"
] | smkoy123@hanyang.ac.kr |
fa4820f18e0654adde51863dddf5c1cc909f710d | 9fbcf234409424c330eef32036c7f2acbcd4b72a | /movie.h | 47c241468bc6568dad7a88085e91413355f18c94 | [] | no_license | Lazy-Y/Mini-Amazon | f1ecc5d7c1c58ca53eee612307f89aaca234af38 | 163b7e8457d4a293d9078332e0b87ef1e11eb492 | refs/heads/master | 2021-01-10T16:51:46.565705 | 2015-11-30T19:08:49 | 2015-11-30T19:08:49 | 47,139,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 588 | h | #ifndef MOVIE_H
#define MOVIE_H
#include <iostream>
#include <string>
#include <set>
#include <fstream>
#include "product.h"
using namespace std;
class Movie : public Product
{
public:
Movie(const string category, const string name, double price,
int qty, const string genre, const string rating);
set<... | [
"zhenyanz@usc.edu"
] | zhenyanz@usc.edu |
c81902a51bfac38b8c0004530e45b6eeabfa32e6 | ef4f66a7753d09f4ed58a5486c8b6454c27db17d | /platek/platek.cpp | 9e7fca1eb896cc16d48c48f93d5af2974d453eaf | [] | no_license | Krizuu/C_Files_from_old_repo | 7a76227b1dc8a0b26f1ffa27a0c85cbf6ab0f7b0 | 9c8e5442c41c0138d1f4add563e172ae1c1b936a | refs/heads/master | 2020-06-17T03:18:08.677261 | 2019-07-08T10:03:14 | 2019-07-08T10:03:14 | 195,778,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,150 | cpp | #include "platek.h"
platek::platek(bool * switcher, unsigned char * gimmeArray, unsigned int * sleepingTime, unsigned int x, unsigned int y) : x_(x), y_(y), arr(gimmeArray)
{
dontStopMe = switcher;
sleepingTime_ = sleepingTime;
startingX = x;
saveNewToArray();
}
std::mutex platek::mtx;
bool platek::dealWithMove... | [
"krzysztof.agas.lange@gmail.com"
] | krzysztof.agas.lange@gmail.com |
4d8e3c773b3f3daf4bb1160f7baa7ab553e2028d | b4393b82bcccc59e2b89636f1fde16d82f060736 | /devtools/lit/lib/ShellCommands.h | 1897c46237d9a18f1a13cf10caa55e45e32e2894 | [] | no_license | phpmvc/polarphp | abb63ed491a0175aa43c873b1b39811f4eb070a2 | eb0b406e515dd550fd99b9383d4b2952fed0bfa9 | refs/heads/master | 2020-04-08T06:51:03.842159 | 2018-11-23T06:32:04 | 2018-11-23T06:32:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,941 | h | // This source file is part of the polarphp.org open source project
//
// Copyright (c) 2017 - 2018 polarphp software foundation
// Copyright (c) 2017 - 2018 zzu_softboy <zzu_softboy@163.com>
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://polarphp.org/LICENSE.txt for license infor... | [
"zzu_softboy@163.com"
] | zzu_softboy@163.com |
58291cfb650f8e95490e580d5d3f3aa43cca87b3 | d6a27f3d563073337dbe1a91e4c6c927ffe1632b | /include/loco/contact_detection/ContactDetectorFeedThrough.hpp | 3b003884103e2de12b4010716865af43388176a6 | [
"BSD-3-Clause"
] | permissive | YC-collection/loco | c4f808115b893a3147f295710eddeacc5c22bc74 | f76a4ee2c0f6e44a3be33bafd23f107fcfba9480 | refs/heads/master | 2020-12-24T09:15:13.371496 | 2014-12-12T01:07:11 | 2014-12-12T01:07:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,345 | hpp | /*****************************************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2014, Christian Gehring, Péter Fankhauser, C. Dario Bellicoso, Stelian Coros
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or with... | [
"gehrinch@ethz.ch"
] | gehrinch@ethz.ch |
e1ef9eed49a4a9fc0c298d0e26c2f8cfa11f4878 | 12ff2ee3e7fa18d98ee143521809da2b79f96722 | /oak/client/authorization_bearer_token_metadata.cc | f707907e276729b3c66631c99a895c99f23f2a70 | [
"Apache-2.0"
] | permissive | blaxill/oak | c4b62723d9f82b1929cd77c2f5d54b01e361f0a7 | 0f3f00b984b8c7b34fbf414a27471390ab819f8d | refs/heads/master | 2021-06-26T05:30:20.330640 | 2019-12-09T17:09:25 | 2019-12-09T17:09:25 | 224,698,021 | 0 | 0 | Apache-2.0 | 2019-11-28T17:07:12 | 2019-11-28T17:07:11 | null | UTF-8 | C++ | false | false | 1,320 | cc | /*
* Copyright 2019 The Project Oak Authors
*
* 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 o... | [
"noreply@github.com"
] | noreply@github.com |
c052c0e80f40dc78efbc8bad836d2089fb32faf1 | 0faf14a347e134a82a5d406c7e5e7f5f2ded0cdd | /PlatformLib/common/include/revSampler.h | afaccd514a6bc0426f8577bdc42e0442053a5288 | [
"MIT"
] | permissive | monge13/Rev | 7fa177dc816afc88ffc8ea49038444697aa121ff | db3b71a27659a2652bdd50069a881702b3ae059e | refs/heads/master | 2022-12-13T04:07:48.451662 | 2020-07-25T13:06:52 | 2020-07-25T13:06:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | h | #ifndef __REVSAMPLER_H__
#define __REVSAMPLER_H__
#include "revGraphicsTypedef.h"
#include "revTexture.h"
class revSampler
{
public:
revSampler():
device(nullptr)
{}
virtual ~revSampler(){}
const revTextureSampler& GetHandle() const { return sampler; }
protected:
revDevice* device;
r... | [
"ekioprogram@gmail.com"
] | ekioprogram@gmail.com |
5f5f433c6b8087e4c7f9f95649b0e7332cd1437e | 2cd0803ba1e648d591cb3bae11e879de179f0f93 | /Contests/Virtual Judge/ShengSaiXunLian02/4.cc | f9dc968b97faea80cb6c005f7f454820852fe1e6 | [
"MIT"
] | permissive | DCTewi/CodeWorkspace | 62e323fc126d92c9e20c711cae4bac9220907e64 | 9904f8057ec96e21cbc8cf9c62a49658a0f6d392 | refs/heads/master | 2023-05-31T23:46:55.126704 | 2021-06-23T12:11:45 | 2021-06-23T12:11:45 | 175,194,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 917 | cc | //B duipai
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int ans = 0;
int check(string a, int l)
{
int len = 0;
string na;
for (int i = l; i >= 0; i--)
{
if (a[i] == '(') na += ')';
else if (a[i] == ')') na += '(';
else na += a[i];
}
for (int i = l... | [
"dctewi@dctewi.com"
] | dctewi@dctewi.com |
8152d0c0609e7ee3f1235a44439ec06b71312db2 | b7d730a231a94e2efb220ed6252c1c6f14eb0070 | /gestionnaire_ordre.cpp | 5329784f22dc2fc0de502a79dccca919d94f57ac | [] | no_license | sebangi/serveur_afficheur | dd71ee3fd61f2f57cd0e06c8a7ba5154b2ef0b48 | 8f3dbd3823bdaf2698d7cd2d1406a8ee16ff9c09 | refs/heads/master | 2021-05-15T14:03:35.264571 | 2017-11-13T07:53:02 | 2017-11-13T07:53:02 | 106,415,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,217 | cpp | /** \file gestionnaire_ordre.cpp
* \brief Fichier d'implémentation de la classe GestionnaireOrdre.
* \author Sébastien Angibaud
*/
#include "gestionnaire_ordre.h"
#include "afficheur_interface.h"
#include "message_afficheur.h"
#include <iostream>
/** --------------------------------------------------------------... | [
"sebastien_angibaud@yahoo.fr"
] | sebastien_angibaud@yahoo.fr |
050c83f17ab2fce12449dd77b2ef8d411408b12a | dc9959be244ed9285a03a10fbc6046ea75f17f5d | /agency/detail/tuple_utility.hpp | 9e3afc427354e7ff3df54526f56fbc4afa97a932 | [] | no_license | sali98/agency | 09d708555bd329b32a5dd48ba339d163257ee074 | 022c69d37064542cde7d20c8401efdace08fa68e | refs/heads/master | 2021-01-21T08:25:22.727368 | 2017-05-12T20:31:34 | 2017-05-12T20:31:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | hpp | #pragma once
#include <agency/detail/config.hpp>
#define TUPLE_UTILITY_ANNOTATION __AGENCY_ANNOTATION
#define TUPLE_UTILITY_NAMESPACE __tu
#include <agency/detail/tuple_utility_impl.hpp>
| [
"jaredhoberock@gmail.com"
] | jaredhoberock@gmail.com |
3cf3bd0a3bfd5f234d0bcb1f4b2f52dcc67bfad0 | 339f0cadee47775edc9e18cb9202b1ca75f3f7c7 | /lab_2/CMPSC 122 - Lab 2 - Histogram/histogram.cpp | 5adbb51402e4cddd4b13a21cf83056c5b22bb21b | [] | no_license | christophercarney/intermediate-programming | ec7df0ba123549321320b190033a7be801862edf | 6350b9ebaa94d19caaa04623510d742fe005a3a7 | refs/heads/master | 2021-06-04T21:04:00.988368 | 2016-08-24T15:25:54 | 2016-08-24T15:25:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,807 | cpp | //Programmer: Christopher Carney
//Section: 2
//Lab: 2
//Date: January 24, 2014
//Description: This program takes numbers in an array of a specified
// length and creates a histogram of data visually of
// different length bars in a data range and shows the
// ... | [
"crc5464@psu.edu"
] | crc5464@psu.edu |
6a899430f7023b69508630f772ce8514c3a4285e | 73e7c20803be5d8ae467af1feba8a4a7fe219f4b | /Modules/Registration/RegistrationMethodsv4/test/itkSyNImageRegistrationTest.cxx | 2d11bde505951ed63b9833556e05b3d20b8fe0a2 | [
"LicenseRef-scancode-other-permissive",
"SMLNJ",
"BSD-3-Clause",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-free-unknown",
"BSD-4.3TAHOE",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"IJG",
... | permissive | CIBC-Internal/itk | deaa8aabe3995f3465ec70a46805bd333967ed5b | 6f7b1014a73857115d6da738583492008bea8205 | refs/heads/master | 2021-01-10T18:48:58.502855 | 2018-01-26T21:25:51 | 2018-01-26T21:25:51 | 31,582,564 | 0 | 2 | Apache-2.0 | 2018-05-21T07:59:53 | 2015-03-03T06:12:12 | C++ | UTF-8 | C++ | false | false | 20,437 | cxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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://ww... | [
"ayla@sci.utah.edu"
] | ayla@sci.utah.edu |
32d32753c780930c6fb1f84997daa0c3e7c63f50 | cf7bef5a4b8774c2f4c1f7782645e347d09d6c62 | /src/util/Math.cpp | 4b3035883478b716e5ac71dbe75dce01670e5b98 | [] | no_license | DreadedX/DungeonCrawler | 1a8d027f93e5b5d67d62713db9931fa52428c3f9 | c4167939e6f2c5a802838c8f5d65ba996aee0499 | refs/heads/master | 2020-12-31T07:19:23.620797 | 2015-10-02T20:52:43 | 2015-10-02T20:52:43 | 39,522,272 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | cpp | #include "Standard.h"
float Math::pointAngle(glm::vec4 position1, glm::vec4 position2) {
// TODO: Check if this still works with other scales
float dx = position2.x - position1.x;
float dy = position1.y - position2.y;
// #define TYPE 360
#define TYPE 2*3.1415
float angle = atan2(dy, dx) * (TY... | [
"tim.huizinga@gmail.com"
] | tim.huizinga@gmail.com |
1f4d6f518fd4f3fa65a790187aeeb244923e28c6 | 234b0f90cf473f091e24d972b02d67ee1c128fe8 | /Quadrotor/Quadrotor_V06/data_update.ino | b985ba6c171d39a1a494260d75cda28c6ef286aa | [] | no_license | wcleithinking/Arduino-based-Embedded-Development | 023734553260263b0684e853fbea1bfc9c277c98 | 163879a48958751a2fbb7e931dd88e69f159c4ac | refs/heads/master | 2020-03-09T17:46:32.358183 | 2018-08-30T08:42:26 | 2018-08-30T08:42:26 | 128,916,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | ino | void data_update() {
roll_ooo = roll_oo;
pitch_ooo = pitch_oo;
yaw_ooo = yaw_oo;
roll_oo = roll_o;
pitch_oo = pitch_o;
yaw_oo = yaw_o;
roll_o = roll;
pitch_o = pitch;
yaw_o = yaw;
for (int i = 0; i < 4; i++) {
u_ooo[i] = u_oo[i];
u_oo[i] = u_o[i];
u_o[i] = u[i];
}
}
| [
"wcleithinking@gmail.com"
] | wcleithinking@gmail.com |
367884af0e90d1e57605c37e22fe0ba832f8ff2c | 433a5e2db78508aeceb6169892ac8572401af192 | /src/shell.hpp | c9e55de30d1096604609db692a60b7a514ff5953 | [] | no_license | EggOetgen/seaShellOFX | 961aa79765a05ec20604d27a720f58f93d4372cc | 25a862f4d459fdee663e39634c0f3b190b44e83b | refs/heads/master | 2021-01-01T17:54:54.250171 | 2017-07-26T15:33:27 | 2017-07-26T15:33:27 | 98,197,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,634 | hpp | //
// shell.hpp
// seashellOFX
//
// Created by Edmund Oetgen on 18/07/2017.
//
//
#pragma once
#include "ofMain.h"
class shell{
public:
void generate(int n, int m, int D, float turns, float alpha, float beta, float A, float mu, float omega, float phi, float a, float b, float L, float P, float W1, float ... | [
"edmundoetgen@Edmunds-MBP.home"
] | edmundoetgen@Edmunds-MBP.home |
f76ad927b875dc80d04d0b40433cdffebfb6f763 | 7ee38209f161837b4ccf83e3abe1cccb7991cf5a | /include/FileManager.hpp | 8dd96a88c53b345ec44cd4c87a12e428933fae08 | [] | no_license | Fairbrook/dispersion | 07e5e9a77407ab550b4ba0e4b74c8736892b8665 | 4936aa8e2eee972b641adbfcfa9e4c1f92af69ed | refs/heads/master | 2023-01-23T14:29:18.973497 | 2020-12-01T18:28:12 | 2020-12-01T18:28:12 | 316,794,040 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,736 | hpp | /**
* Maestro:
* Gracela Lara Lopez
*
* Materia:
* Estructura de DatosII D03
*
* Participantes:
* Arturo Carrillo Solórzano 218744333
* Josué Yizreel Jauregui Rodríguez 219293556
* Kevin Alan Martínez Virgen 219294382
*/
#ifndef FILE_MANAGER_INCLUDE_H
#define FILE_MANAGER_INCLUDE_H
#include <string>
#incl... | [
"kevinvr@hotmail.es"
] | kevinvr@hotmail.es |
9d52fc87e4fdedc3c0926deb505f56eada56aea4 | 3195ea3c507d958eb598c4054f2f382eb6b49ec3 | /Object Oriented/jdo3643_HW12/jdo3643_Video_Game_Window.h | 9b3fa1fcf126ea499e1eb94d4f06ed0d3e759ece | [] | no_license | jdolds09/Jerry-Olds-Projects | 3c75d5d4240cd3cccbbfdcaab238ff9735551211 | eec161042861ef80021edba181c931dbe08ae555 | refs/heads/master | 2023-01-03T11:25:18.900613 | 2021-01-19T01:46:08 | 2021-01-19T01:46:08 | 243,045,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | h | #include<iostream>
#include<gtkmm.h>
#include<string>
using namespace std;
class Video_Game_Window : public Gtk::Window
{
public:
Video_Game_Window();
~Video_Game_Window();
vector<string> get_entries();
protected:
void on_button_enter();
Gtk::Box m_VBox;
Gtk::Label Title_Label;
Gtk::Entry Title_Entry;
Gtk::Lab... | [
"jerry.olds@mavs.uta.edu"
] | jerry.olds@mavs.uta.edu |
0c1a2ab292d52e84fb37d6c9ccbadfa01cd80dd7 | 34efeca8e6aaa1f28a88140d41b44bdbeb31b10f | /GUIInternal/GUIInternal.cpp | f9fc75cd5588b0a1db4aae8cb98e9e797e827315 | [] | no_license | arunmudhaliar/GEAR_Alpha | e1b7abc68bcba2582f2e6bbb38a55e808aa1d3b3 | 55120e1cdc71f833cf5a05c4830177e7ecd8c9ff | refs/heads/master | 2020-12-20T23:39:19.189604 | 2015-06-24T20:58:05 | 2015-06-24T20:58:05 | 13,659,721 | 0 | 0 | null | 2015-06-24T20:58:05 | 2013-10-17T20:03:21 | C++ | UTF-8 | C++ | false | false | 21,480 | cpp | // GUIInternal.cpp : Defines the entry point for the application.
//
//#ifndef USEMONOENGINE
#pragma comment(lib,"GEAREngine.lib")
//#endif
#include "stdafx.h"
#include "GUIInternal.h"
#include "GEAREditor\EditorApp.h"
//#include "../GEAREngine/src/core/Timer.h"
#include <WindowsX.h>
#include <ShlObj.h>
#ifdef _DEBUG... | [
"arun.mudhaliar@gmail.com"
] | arun.mudhaliar@gmail.com |
3993a06866fd52fff2e00d91322d4784690c8f28 | ca602ac81a00ad82d539519502d764180ae57ba9 | /Num09_11_futures.cpp | a308f72c227fff41f98150a3a7a7f92d8b532526 | [] | no_license | jpiccoli/Cpp_Weekly | 8b6251b367fe2399754cddf443c29c86204f0116 | d640ab43c18c4ecdd81eb494d5daf75d886a9b0e | refs/heads/master | 2021-09-17T09:29:14.602062 | 2018-06-30T01:40:52 | 2018-06-30T01:40:52 | 110,934,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,865 | cpp | #include <algorithm>
#include <iostream>
#include <random>
#include <set>
#include <future>
std::set<int> make_sorted_random( size_t const& num_elems )
{
std::set<int> retval;
std::random_device rd;
std::mt19937 gen( rd() );
std::uniform_int_distribution<> dis( 0, num_elems - 1 );
std::generate_n( std::ins... | [
"joe13676@comcast.net"
] | joe13676@comcast.net |
1402d5e82ce860b92569eae9190e6b009a11294e | 12ff8204ef7404153fa06cc4a74275fbc132d77d | /data_dependency.cpp | 0993155ceace699b95eacfa879bc7cc5500da0d8 | [] | no_license | xiaowei0312/coal | cbb6aedc9ad72d9b7da5702f69cad29d53d1c20a | a8186396cfce5693b902f56988351fd55c43a1e6 | refs/heads/master | 2021-07-05T08:12:02.522388 | 2017-09-28T11:30:08 | 2017-09-28T11:30:08 | 105,141,476 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,098 | cpp | #include "data_dependency.h"
#include <QStack>
#include <QDebug>
#include <QRegExpValidator>
#include <QMessageBox>
DataDependency::DataDependency()
{
error = 0;
}
bool DataDependency::textIsNotNumber(QString &text)
{
int pos = 0;
QRegExpValidator numReg(QRegExp("^([1-9]\\d{0,15}|0)(\\.\\d{1,4})?$"),this)... | [
"zezhao_wei@163.com"
] | zezhao_wei@163.com |
9fb6b92fe2dca9a21240160cf6673ec0c0a2991d | fb5b25b4fbe66c532672c14dacc520b96ff90a04 | /export/release/windows/obj/src/openfl/display/IGraphicsStroke.cpp | 11dc37373739f4c28d1a13695b1eaabeae39f565 | [
"Apache-2.0"
] | permissive | Tyrcnex/tai-mod | c3849f817fe871004ed171245d63c5e447c4a9c3 | b83152693bb3139ee2ae73002623934f07d35baf | refs/heads/main | 2023-08-15T07:15:43.884068 | 2021-09-29T23:39:23 | 2021-09-29T23:39:23 | 383,313,424 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | cpp | #include <hxcpp.h>
#ifndef INCLUDED_openfl_display_IGraphicsStroke
#include <openfl/display/IGraphicsStroke.h>
#endif
namespace openfl{
namespace display{
::hx::Class IGraphicsStroke_obj::__mClass;
void IGraphicsStroke_obj::__register()
{
::hx::Static(__mClass) = new ::hx::Class_obj();
__mClass->mName = HX_("ope... | [
"72734817+khiodev@users.noreply.github.com"
] | 72734817+khiodev@users.noreply.github.com |
e849471865cf714e2f8d7b05428a498c391c2197 | 5241a49fc86a3229e1127427146b5537b3dfd48f | /src/Sparrow/App/CommandLineOptions.h | 0ea5a73a08eabb0425b26febd004f02a347182ff | [
"BSD-3-Clause"
] | permissive | qcscine/sparrow | 05fb1e53ce0addc74e84251ac73d6871f0807337 | f1a1b149d7ada9ec9d5037c417fbd10884177cba | refs/heads/master | 2023-05-29T21:58:56.712197 | 2023-05-12T06:56:50 | 2023-05-12T06:56:50 | 191,568,488 | 68 | 14 | BSD-3-Clause | 2021-12-15T08:19:47 | 2019-06-12T12:39:30 | C++ | UTF-8 | C++ | false | false | 4,650 | h | /**
* @file
* @copyright This code is licensed under the 3-clause BSD license.\n
* Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.\n
* See LICENSE.txt for details.
*/
#ifndef SPARROW_COMMANDLINEOPTIONS_H
#define SPARROW_COMMANDLINEOPTIONS_H
#include <memory>
#include <o... | [
"scine@phys.chem.ethz.ch"
] | scine@phys.chem.ethz.ch |
ecec8a68c11523b516da2b336a2b93abde9d627b | f703bebbc497e6c91b8da9c19d26cbcc98a897fb | /acmp.ru/1161/1161.cpp | 94a71fd698761316d5d1c6e995036a737a4ec1f9 | [
"MIT"
] | permissive | mstrechen/competitive-programming | 1dc48163fc2960c54099077b7bfc0ed84912d2c2 | ffac439840a71f70580a0ef197e47479e167a0eb | refs/heads/master | 2021-09-22T21:09:24.340863 | 2018-09-16T13:48:51 | 2018-09-16T13:48:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | cpp | #include<iostream>
#include<vector>
using namespace std;
vector<int> zFunction(const string & s)
{
vector<int> z(s.size());
z[0] = 0;
int l = 0, r = 0;
for(int i = 1; i<(int)z.size(); i++)
{
int val = 0;
if(i<=r)
val = min(r-i+1, z[i-l]);
while(... | [
"mvstrechen@gmail.com"
] | mvstrechen@gmail.com |
2dc7282613c6c8293b1c1ed6a968bf4629b8a49b | c247f9e644f0445ab3d92a82ae9f963dbe9eccb5 | /src/PlayerStatus.h | 8e4d296cc6c2bdf2c99dca4bef439150bcdd1c69 | [] | no_license | Edwin-Silerio/TofuWarrior | 0ae8ee2ace3b2d0be48618a6e4e89cf7cdd99b56 | 7eae6ac4b5eac5a3dc5ec179244c342439d414cb | refs/heads/master | 2022-10-30T21:19:36.351649 | 2020-06-11T01:58:21 | 2020-06-11T01:58:21 | 271,427,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,848 | h | /*
* PlayerStatus is a class created to keep track of the Player's State,
* outside of the Player object itself. This will allow a Player's state
* to persist between scene changes, which will be necessary for implementing
* a round system that the game will use.
*
* This class will be responsible for maintainin... | [
"edwin_silerio@utexas.edu"
] | edwin_silerio@utexas.edu |
fb4d9431dfc8a1527c4bc6f561e3c618da2794ab | 118b042a28eebf624eb76152614a6066933cef7a | /lib/Logger/src/Logger.cpp | 9d011f68712229f9b850f5266ce1333e60bf859c | [] | no_license | windymar/monitoring_server_nodemcu | de0ada4972cef717e022708c9a2b2172a9bb77d4 | 2c96e2250883da060dc1a62fd888c06118ef7f53 | refs/heads/master | 2020-09-21T05:01:54.012797 | 2019-11-28T16:11:47 | 2019-11-28T16:11:47 | 224,686,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | cpp | #include <WString.h>
#include <HardwareSerial.h>
void serial_log(const __FlashStringHelper* p_text)
{
Serial.print(p_text);
}
void serial_logln(const __FlashStringHelper* p_text)
{
Serial.println(p_text);
}
void serial_logln(const __FlashStringHelper* p_text, const String& p_option)
{
Serial.print(p_text... | [
"marcin.windys@gmail.com"
] | marcin.windys@gmail.com |
6bf8e2bec6f14e1f1cc28d32af0e19d5606c834a | 2c17c289d795c570491022960154b19505b27f27 | /gquiche/quic/core/frames/quic_ack_frequency_frame.h | 642d83c167250903240103d8faeaa63da3b4a731 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | leeyangjie/quiche | 4cb2849ce2474ec14c902683d25e9287b95a7078 | 2870175069d90bcb837f30170f4eff97e161805d | refs/heads/main | 2022-06-18T17:05:13.066915 | 2022-04-13T07:14:13 | 2022-04-13T07:14:13 | 433,855,510 | 0 | 0 | Apache-2.0 | 2021-12-01T14:17:22 | 2021-12-01T14:17:21 | null | UTF-8 | C++ | false | false | 1,873 | h | // Copyright (c) 2020 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 QUICHE_QUIC_CORE_FRAMES_QUIC_ACK_FREQUENCY_FRAME_H_
#define QUICHE_QUIC_CORE_FRAMES_QUIC_ACK_FREQUENCY_FRAME_H_
#include <cstdint>
#include <... | [
"wangsheng@bilibili.com"
] | wangsheng@bilibili.com |
50216b34b6527e052ff273a856a0c4a5a14f285e | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libstdc++-v3/testsuite/23_containers/unordered_set/debug/debug_functions.cc | 84c98d3eba93e8f76ded831d85be44e107dca08b | [
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 1,640 | cc | // Copyright (C) 2013-2022 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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, or (at your op... | [
"rink@rink.nu"
] | rink@rink.nu |
37ebd2c194b83311a35c34c896300700314e245b | 82fa7771ec3122a8e6b4b50495ecbcfd2f861639 | /functions.hpp | bbe84f396e55b3de42be49d6af344f47d349c611 | [
"Unlicense"
] | permissive | michpolicht/BdfCGAL | 4fc05a5026534296499fd7f2436f400a5b4938b5 | 0ceba33bee8a017c1f37cffcaae5fab8183f01ff | refs/heads/master | 2022-12-17T10:25:08.430513 | 2020-09-20T16:20:45 | 2020-09-20T16:20:45 | 296,093,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 404 | hpp | #ifndef FUNCTIONS_HPP
#define FUNCTIONS_HPP
#include <vector>
#include <utility>
inline
int squashIndex(int i, const std::vector<std::pair<int, int>> & ranges)
{
int squashed = i;
for (auto range : ranges) {
if (i > range.second)
squashed -= range.second - range.first;
else if ((i <= range.second) && (i >= r... | [
"michpolicht@gmail.com"
] | michpolicht@gmail.com |
88a35fb98409165a97f50a8c992dba285994c378 | 4c6bddbe93a8d3d525184a80548d0d7e76d51084 | /GVRf/Framework/framework/src/main/jni/objects/components/component_types.h | 344e4c7be445bb96c65ad27f4e31ee588ee1e5a9 | [
"Apache-2.0"
] | permissive | corgiflash/GearVRf | c54b8a8932159a1fa8ec7315ddc765d88fa9e3da | 54135fc7bd961ab47aba599e60ced3ea0c7e43b1 | refs/heads/master | 2020-05-21T06:07:06.766759 | 2017-03-10T16:04:52 | 2017-03-10T16:04:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,458 | h | /* Copyright 2015 Samsung Electronics Co., LTD
*
* 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... | [
"m.marinov@samsung.com"
] | m.marinov@samsung.com |
e7897c6642984360375b153344255bdc550d590a | 47bf9100232aa0b76f748aec60e1f9efd8af6105 | /src/file.cpp | 8255ceebdcf490443cb261ecbebcf4fd32f0beb7 | [] | no_license | OniDaito/RayTracer | 8c6412763192af7e84c1bb66cc598aadefa62895 | 3fde21bd0f405510f1f9417111e5e1b9755ac419 | refs/heads/master | 2020-05-22T09:31:29.547402 | 2017-04-07T14:42:29 | 2017-04-07T14:42:29 | 28,977,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,686 | cpp | /**
* @brief Cross Platform File Handling
* @file file.cpp
* @author Benjamin Blundell <oni@section9.co.uk>
* @date 06/03/2013
*
*/
__asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
#include "file.hpp"
using namespace std;
using namespace s9;
Path::Path() {
final_path_ = ".";
}
Path::Path(std::string path){
if (... | [
"b.blundell@qmul.ac.uk"
] | b.blundell@qmul.ac.uk |
8b2ab7563cd2749f50b4bd3a154a886efe43bad2 | 602dab0925af232f18be0c2fb9dddb287385bf3e | /codechef programs/Polynomial.cpp | 6e1f6beab6e29ff25dd9e7c49977fbb75af992b5 | [] | no_license | srnit/codeon | c5af9cd3de6f5f7e2bd63251451fc1e1e3b2b23e | fa51c809d263fb99d947d58a1a838dd9e1c2e7ad | refs/heads/master | 2021-01-12T12:40:55.879728 | 2018-01-14T20:06:40 | 2018-01-14T20:06:40 | 69,899,399 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 853 | cpp | //#include<stdio.h>
#include<bits/stdc++.h>
//#define M 786433
long long int fast_pow(long long base, long long n,long long M)
{
if(n==0)
return 1;
if(n==1)
return base;
long long halfn=fast_pow(base,n/2,M);
if(n%2==0)
return ( halfn * halfn ) % M;
else
return ( ( ( halfn... | [
"ramansudhanshu150@gmail.com"
] | ramansudhanshu150@gmail.com |
8ce0d54a096f01de902a26d15b8a0c6d924da7cc | 14e3d5b005e973753bb53acccb398b9571b41219 | /aula8/src/Diary.cpp | 5aa0a87f23fcdb246493f33cae03f50afe637c4a | [] | no_license | ianbarreto22/lp1 | f97b790e75ed4ec648e1d0543c6f0323d641491d | e5c37d738bdb860e36ae86ba60b0f78a7b9e2203 | refs/heads/master | 2022-11-20T10:27:55.838542 | 2020-07-21T01:22:53 | 2020-07-21T01:22:53 | 272,710,321 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 635 | cpp | #include "Diary.h"
#include "Date.h"
#include "Aux.h"
Diary::Diary(const std::string& name) : filename(name), messages(nullptr), messages_size(0), messages_capacity(10)
{
messages = new Message[messages_capacity];
}
Diary::~Diary()
{
delete[] messages;
}
void Diary::add(const std::string& message)
{
if (... | [
"noreply@github.com"
] | noreply@github.com |
9f5b7320f825ee900ec21bbae91c95813d385e6b | 072dd83ffe14401dfc083e911d28daed1f74b489 | /src/global.cpp | 065f2122fe70c1bcfb8adfa679bbe51331a09823 | [] | no_license | osmium18452/co | a7871fcee8b72015cde0840dbafbe4c2d8d48096 | a9d993d1fb47e69c8696000bb11f78e802ec8a42 | refs/heads/master | 2022-11-16T21:55:39.147095 | 2020-07-07T08:57:05 | 2020-07-07T08:57:05 | 262,258,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62 | cpp | #include "../headers/global.h"
#include "../headers/lex.h"
| [
"1711042219@qq.com"
] | 1711042219@qq.com |
73e1831292033bb8bfbcb11dd3a0fc65034de9c7 | 14c2d3193d39e973e00df21351ed5d0186526dd2 | /ch3/RacingCarOuterFunc.cpp | 2982d3a285de9f2dcc254e28c26544da425082d0 | [] | no_license | younnggsuk/cpp | f914b8deb6436b527615bf30ee0b040526648ca8 | 2b99d9e447ad7c91f49bbd38b4b18b74c0a98dac | refs/heads/master | 2020-05-19T08:43:58.955580 | 2019-05-04T17:58:53 | 2019-05-04T17:58:53 | 184,927,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,090 | cpp | #include <iostream>
using std::endl;
using std::cout;
using std::cin;
namespace CAR_CONST
{
enum
{
ID_LEN = 20,
MAX_SPD = 200,
ACC_STEP = 10,
BRK_STEP = 10,
FUEL_STEP = 2
};
}
struct Car{
char gamerID[CAR_CONST::ID_LEN];
int fuelGauge;
int curSpeed;
void ShowCarState();
void Accel();
void Break... | [
"younnggsuk@naver.com"
] | younnggsuk@naver.com |
f9953f24a36e419415c3ac1be27839a2dfc223b4 | 16ebac78d01241c999ea11bd3e7ab73d11bea51e | /src/Scene2.h | 8323407bacd378af4f0763ad3dd33fd97df72818 | [] | no_license | qingqhua/draw_the_world | 1dcf904a15f4b6d5cdac755dc50d30be2fa181fe | 4189778b5b4adc1949d168cad79eb2d730960a15 | refs/heads/master | 2021-06-23T21:00:46.641813 | 2017-09-04T06:40:03 | 2017-09-04T06:40:03 | 83,887,038 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 769 | h | #pragma once
#include "ofApp.h"
#include "baseScene.h"
class Scene2 : public baseScene {
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y);
void mouseDragged(int x, int y, int button);
void mousePressed(int x, int y, int butt... | [
"ferhua.coder@outlook.com"
] | ferhua.coder@outlook.com |
92868076241c9fb906cd4333c5759a59ea852ea2 | 7ccaf6d66baf345b4f001847414b6e4c056242b6 | /src/filter2/vtkPCLBRigidAlignmentFilter2.cxx | 70f2e5cc24388606fa1cfb6f94d817baf2926d6f | [
"Apache-2.0"
] | permissive | dys564843131/ParaView-PCLPlugin | 037525e133d1390b559dda13c14c8534fc7662e8 | a6c13164bfe46796647ea3a7b4433a28d61f0bbc | refs/heads/master | 2020-09-28T10:49:39.160619 | 2019-10-10T14:15:56 | 2019-10-10T14:15:56 | 226,762,762 | 1 | 0 | Apache-2.0 | 2019-12-09T01:53:24 | 2019-12-09T01:53:24 | null | UTF-8 | C++ | false | false | 6,372 | cxx | //==============================================================================
//
// Copyright 2012-2019 Kitware, 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://w... | [
"mike.rye@kitware.com"
] | mike.rye@kitware.com |
0e8beb278e20fd039d086c26690bd9df2129c196 | 01258c31195cf7525657e74c036482eec74d67e4 | /子游戏/百人红九/机器人服务/AndroidUserItemSink.cpp | d375cd5935aee678d09fa1488a0c10736c0f0ce7 | [] | no_license | zhaozw/Server-1 | cb418a8a78fa9795fdc12335de6549eeb751ec17 | ccdd65090a07f994b10a2dc10b8eff2b4068fd7d | refs/heads/master | 2020-04-03T22:11:00.436246 | 2018-12-09T08:44:55 | 2018-12-09T08:44:55 | 155,592,667 | 0 | 0 | null | 2018-10-31T16:51:17 | 2018-10-31T16:51:16 | null | GB18030 | C++ | false | false | 23,497 | cpp | #include "Stdafx.h"
#include "AndroidUserItemSink.h"
#include "math.h"
//////////////////////////////////////////////////////////////////////////
//时间标识
#define IDI_BANK_OPERATE 3 //银行定时
#define IDI_PLACE_JETTON1 103 //下注定时
#define IDI_PLACE_JETTON2 104 //下... | [
"wang274380874@126.com"
] | wang274380874@126.com |
d2f2b220d6e2aadd6919d9c1ffc3cd1c8e41fa3f | ef35bb53fe910f8aab77600adbaa5a7370c479da | /src/net.cpp | ce73e014c652e53faf6b357ef9f9f0a712db3320 | [
"MIT"
] | permissive | jboss008/trollcoin | 41eaf23c09fe4c50b2116b45590681cb84d8895d | d44de9bafc384b2d9cba39b742724a5d6b646d00 | refs/heads/master | 2021-01-01T17:04:59.583904 | 2014-01-06T11:52:36 | 2014-01-06T11:52:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 57,970 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "irc.h"
#include "db.h"
#i... | [
"root@cpool1.cryptminer.net"
] | root@cpool1.cryptminer.net |
ccc5fdeb6399c9f2c14d1f32d4b7d393506937de | 11b760c6924d5e26f192e3f3968a54b14f562e18 | /ngraph/core/include/openvino/pass/visualize_tree.hpp | b9447a6447a970f0ec9c31d3a4f14456c0a3c21c | [
"Apache-2.0"
] | permissive | alexander-shchepetov/openvino | 810be90ff8b8306f35a0cafa8daf6b61ccb09922 | a9dae1e3f2ba8b3fec227c51f4c1948667309efc | refs/heads/master | 2023-08-07T21:52:10.472551 | 2021-10-02T11:39:05 | 2021-10-02T11:39:05 | 354,834,303 | 0 | 0 | Apache-2.0 | 2021-06-07T05:18:14 | 2021-04-05T12:55:16 | C++ | UTF-8 | C++ | false | false | 1,812 | hpp | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <functional>
#include <set>
#include <sstream>
#include <string>
#include <typeindex>
#include <typeinfo>
#include <unordered_map>
#include <utility>
#include "openvino/pass/pass.hpp"
class HeightMap;
using... | [
"noreply@github.com"
] | noreply@github.com |
51b8831d6de93b5fc2b07943109c575d3eceb1e4 | eec2dbab8e275f8195cb49676b7766c328e5d4b9 | /Labs/lab-10-visitor-pattern-tobecontinued-master/rand.hpp | bbdf28fd684404b7ab860d7c0cccab5032a92f01 | [] | no_license | kevint1221/CS100 | 84c3625116feabaa3939c844b2fd7b59348c1dba | 1b2c1fed4426cbf699d446122a708cdd91172b84 | refs/heads/master | 2020-06-25T09:36:07.551450 | 2019-07-28T10:49:18 | 2019-07-28T10:49:18 | 199,273,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | hpp | #ifndef RAND_H
#define RAND_H
#include "base.hpp"
#include <string>
#include "nullIterator.hpp"
#include "visitor.hpp"
using namespace std;
class Rand: public Base {
public:
Rand() {
this->data = getRandDouble();
}
double getRandDouble();
double evaluate() ;
string stringify(... | [
"32470783+kevint1221@users.noreply.github.com"
] | 32470783+kevint1221@users.noreply.github.com |
6fe24c66bcd7a4f2bf29bb7aa4594df9e91ebd2a | 95957325cc5d1376e9ad1af1899795b92ab9fa1a | /PortableDeviceApi.dll/PortableDeviceApi.dll.cpp | d2b847c38f9cfe874c4bce7082e6974bb76da511 | [] | no_license | SwenenzY/win-system32-dlls | c09964aababe77d1ae01cd0a431d6fc168f6ec89 | fb8e3a6cdf379cdef16e2a922e3fbab79c313281 | refs/heads/main | 2023-09-05T07:49:10.820162 | 2021-11-09T07:30:18 | 2021-11-09T07:30:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,617 | cpp | #include <windows.h>
#include <shlwapi.h>
extern "C" {
extern void *ptr_DllCanUnloadNow;
void *ptr_DllCanUnloadNow = NULL;
extern void *ptr_DllGetClassObject;
void *ptr_DllGetClassObject = NULL;
extern void *ptr_DllRegisterServer;
void *ptr_DllRegisterServer = NULL;
extern void *ptr_DllUnregisterServer;
void *ptr_Dll... | [
"udf.q@qq.com"
] | udf.q@qq.com |
47ee52a32cd1acd3539b4f026af501ed76238823 | 59a75e12801691f042ff6d6d6430d228c91953ae | /StarDisplay/GLSLRibbonProg.hpp | 8bac70a36143d432a99ba6f54074ff655ddf135a | [] | no_license | merovingiano/StarDisplay | 07800bc40addcf9b6a54846d5c200585a39cc429 | d08878e6eb9097565ff61ce5037f6b9d2a49af55 | refs/heads/master | 2021-01-21T04:36:29.145377 | 2016-03-14T13:54:29 | 2016-03-14T13:54:29 | 32,023,917 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | hpp | #ifndef GLSLRIBBONPROG_HPP_INCLUDED
#define GLSLRIBBONPROG_HPP_INCLUDED
#include <glsl/vertexarray.hpp>
#include "mapped_buffer.hpp"
class GLSLRibbonProg
{
public:
GLSLRibbonProg();
~GLSLRibbonProg();
void Flush(int ignoreId);
void Render();
private:
mapped_buffer mbuffer_;
glsl::vertexarray vao_... | [
"robin.mills.27@gmail.com"
] | robin.mills.27@gmail.com |
4204607f0d6ac2c99bfa02fcc017f07f9ce2f259 | 6fd7ed15db6ff0cde5ab596e60adc6ee43c2e05f | /prob-L6P2 - Candy 2/candy2.cpp | a2a0c75283344bb7eaa82cf3982f59bee5e03ff1 | [] | no_license | tintin3274/Lab-Algorithm-Design-and-Analysis-01418232 | ac34d43a1a6d7796de10b9548653289ce46e2228 | eae411fc0876fe3a3c5d6a64a8ed5f62d54786ab | refs/heads/main | 2023-02-26T15:53:41.619148 | 2021-02-01T05:52:24 | 2021-02-01T05:52:24 | 334,845,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,107 | cpp |
#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
void printVector(vector<int> arr){
for (auto i = arr.begin() ; i != arr.end() ; i++){
cout << *i << " ";
}
cout << endl;
}
int main(){
int n;
int count1 = 0,count2 = 0;
bool isUnalternate = false;
cin >> ... | [
"tintin3274@hotmail.co.th"
] | tintin3274@hotmail.co.th |
7522d74331191d64ee6c2309b1d7755b361a6d68 | ed20cf1539dbc0aa2f57f3451f0aba2c77e02eb8 | /week-01/day-3/AnimalsAndLegs/main.cpp | 340714bd507be2fdc156eb8e2650cf3cc11e4968 | [] | no_license | green-fox-academy/Joco456 | 60b0090dcc9f368240cca045eea4b3f67df69f83 | 3b98cdb39f26010246ecc38837b62e4f37d00b91 | refs/heads/master | 2020-05-04T08:59:18.192461 | 2019-10-03T09:17:11 | 2019-10-03T09:17:11 | 179,058,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | cpp | #include <iostream>
int main(int argc, char* args[]) {
// Write a program that asks for two integers
// The first represents the number of chickens the farmer has
// The second represents the number of pigs owned by the farmer
// It should print how many legs all the animals have
int chicken;
... | [
"jozsef.varga.123@gmail.com"
] | jozsef.varga.123@gmail.com |
fddfcb0cc00f83e2f716fd99acc653302dde01d1 | e1b45b711e4b083f3a004a8c169979de676e5d41 | /demo-menu/mainwindow.cpp | 9ca277b797fa8629b0480776408ef3002311c6c6 | [
"MIT"
] | permissive | wangchunlin5013/menu-manager | b3b76a582355d271aa34bc65d9bb3574e85d3705 | 1c0487e3d84d1977239698800b233354cbe43810 | refs/heads/main | 2023-03-13T23:35:04.148444 | 2021-03-05T13:20:36 | 2021-03-05T13:20:36 | 342,234,851 | 0 | 0 | MIT | 2021-03-05T13:20:37 | 2021-02-25T12:18:55 | C++ | UTF-8 | C++ | false | false | 4,050 | cpp | /*
* Copyright (C) 2019 ~ 2019 Deepin Technology Co., Ltd.
*
* Author: wangcl <wangchunlin@uniontech.com>
*
* Maintainer: wangcl <wangchunlin@uniontech.com>
*
* 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... | [
"wangchunlin@uniontech.com"
] | wangchunlin@uniontech.com |
3d63520db291b237da9274b926daa1c75bf167c8 | 564c21649799b8b59f47d6282865f0cf745b1f87 | /services/ui/ws/window_manager_state.h | 0e04d0bec8bfe53f89efdab8e4012799c25576fc | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | pablosalazar7/WebARonARCore | e41f6277dd321c60084abad635819e0f70f2e9ff | 43c5db480e89b59e4ae6349e36d8f375ee12cc0d | refs/heads/webarcore_57.0.2987.5 | 2023-02-23T04:58:12.756320 | 2018-01-17T17:40:20 | 2018-01-24T04:14:02 | 454,492,900 | 1 | 0 | NOASSERTION | 2022-02-01T17:56:03 | 2022-02-01T17:56:02 | null | UTF-8 | C++ | false | false | 10,144 | h | // Copyright 2016 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 SERVICES_UI_WS_WINDOW_MANAGER_STATE_H_
#define SERVICES_UI_WS_WINDOW_MANAGER_STATE_H_
#include <stdint.h>
#include <memory>
#include <queue>
#in... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
be9557e78bc46f61f20e3cb66096cf1cb6d44901 | cf4876d97646702a89e10bf9c59cd071aba2852b | /src/controller_JIK.h | 55595e12b02a8cf071734a89382364280cfea182 | [] | no_license | rbackman/odeapp | 1d269625bd3f1b8edb473586274e64349a48caf0 | 058aedb4dc50a387f1b9c5195ef6f10e3fa3818f | refs/heads/main | 2023-06-20T15:55:01.810361 | 2021-07-17T02:31:31 | 2021-07-17T02:31:31 | 386,815,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | h | #pragma once
#include "controller.h"
#include "common.h"
#include <gsim/gs_matn.h>
//this controller is responsible for solving the analytical ik to achieve the root and foot positions as close as possible
//
class IkBody;
class KnScene;
class JIKController : public Controller
{
public:
JIKController(ODEHuman* hu... | [
"rbackman07@gmail.com"
] | rbackman07@gmail.com |
cd6b10381de8c92142db8de3c46cd83932e3449a | 27bb5ed9eb1011c581cdb76d96979a7a9acd63ba | /aws-cpp-sdk-ec2/source/model/ReservedInstancesOffering.cpp | 6a82ce3490506889624d94c80d15a508f39bfed1 | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | exoscale/aws-sdk-cpp | 5394055f0876a0dafe3c49bf8e804d3ddf3ccc54 | 0876431920136cf638e1748d504d604c909bb596 | refs/heads/master | 2023-08-25T11:55:20.271984 | 2017-05-05T17:32:25 | 2017-05-05T17:32:25 | 90,744,509 | 0 | 0 | null | 2017-05-09T12:43:30 | 2017-05-09T12:43:30 | null | UTF-8 | C++ | false | false | 13,634 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
dff30ad36f1166116bb82691df678320feeb29f7 | 86a6846646037abe9618cae7bc0248f2d9c08020 | /exam/repository.cpp | 5d37442d8955d7748e71018396df7b36aa3b5c2b | [] | no_license | andidh/OOP | 5dac173924137d94505b5343f12399a5bfe77329 | ef8510874a462c7dafa7445a8866b75ac6879d42 | refs/heads/master | 2020-04-06T03:41:16.021410 | 2016-06-19T17:58:14 | 2016-06-19T17:58:14 | 52,655,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,802 | cpp | #include "repository.h"
#include <string>
#include <algorithm>
Repository::Repository(const string& file) : file{file}
{
this->loadFromFile();
}
void Repository::removeFile(Source &s){
this->files.erase(remove(files.begin(), files.end(), s), files.end());
notify();
}
void Repository::reviseFile(const st... | [
"andi.deh30@icloud.com"
] | andi.deh30@icloud.com |
535453268335bd882b9fb645fe0835aa7b37bf1c | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /components/content_settings/core/test/content_settings_test_utils.cc | 9ec3edb023a3f76561d95112bdd3912ff2d9f116 | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 2,364 | cc | // Copyright (c) 2012 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 "components/content_settings/core/test/content_settings_test_utils.h"
#include "components/content_settings/core/browser/content_settings_ob... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
d16e72eb62b0ea6a528110a7746777564d3b9b85 | b958286bb016a56f5ddff5514f38fbd29f3e9072 | /include/ublox/message/LogInfoPoll.h | 72f0b757de4e7a14d0cb8d72178f8e282f6ac488 | [] | no_license | yxw027/cc.ublox.generated | abdda838945777a498f433b0d9624a567ab1ea80 | a8bf468281d2d06e32d3e029c40bc6d38e4a34de | refs/heads/master | 2021-01-14T23:03:20.722801 | 2020-02-20T06:24:46 | 2020-02-20T06:24:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,376 | h | // Generated by commsdsl2comms v3.3.2
/// @file
/// @brief Contains definition of <b>"LOG-INFO (Poll)"</b> message and its fields.
#pragma once
#include <tuple>
#include "comms/MessageBase.h"
#include "ublox/MsgId.h"
#include "ublox/message/LogInfoPollCommon.h"
#include "ublox/options/DefaultOptions.h"
namespace ub... | [
"arobenko@gmail.com"
] | arobenko@gmail.com |
3a5d27b7e91af74d728dc2e78abe3b24e1b1de51 | e73d2cea4aaeb9be92105581df617d524a532ba5 | /Space_Invaders_Linux/src/Pilot.cpp | f450596f2c280d0cd6c1e76aa155f011c6aa0698 | [] | no_license | shanesatterfield/Space_Invaders | f9200650dab80d9fd26ab4f99ffb2fa23a53a57a | 4ca0e2e359daeafec391de33fdc555287631355e | refs/heads/master | 2016-08-07T04:51:30.025577 | 2012-08-27T10:57:09 | 2012-08-27T10:57:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,376 | cpp | #include "Pilot.h"
#include "SDL/SDL.h"
#include "SDL/SDL_image.h"
#include "SDL/SDL_ttf.h"
#include "Shot.h"
#include <vector>
#include <time.h>
#include <stdio.h>
#include <math.h>
Pilot::Pilot( int X, int Y, SDL_Surface* temp, SDL_Surface* shieldTemp, SDL_Surface* lowTemp, int shield_)
{
//Initialize the offse... | [
"dustyplant@gmail.com"
] | dustyplant@gmail.com |
403a204ffd461b782e7a43fe1243ff5b71db04e2 | 322edfff463a328adfa8e418f8f2d5f03b990715 | /src/comm-device-interface/op20.cpp | 91c594083e83961999ff66726b370019fedb9127 | [] | no_license | DowJhob/Evo-live-map | 123b4f56a40537311c4c7dbe717de2d293d069bb | c764bc2fa79c648dfe435e69a48f053b32590c53 | refs/heads/master | 2023-08-19T01:51:25.030081 | 2022-06-11T11:32:33 | 2022-06-11T11:32:33 | 155,981,294 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,454 | cpp | #include "op20.h"
OP20::OP20(QString dllName, QString DeviceDesc, QString DeviceUniqueID) : j2534_interface(dllName, DeviceDesc, DeviceUniqueID)
{
//devType = deviceType::OP20;
//qDebug() << "OP20" << DeviceUniqueID;
QThread *this_thread = new QThread();
QObject::connect(this_thread, &QThread::started,... | [
"eulle@ya.ru"
] | eulle@ya.ru |
ad31786f160f44adfcdf7294309707b2c1da59c7 | 53b28ebf3028837eaf69870ea14f1393a7728cf4 | /src/Engine/XmlExpertSystemLoader.cpp | 6d017bd024fc700f76d0440610ca41067f29d1e7 | [
"MIT"
] | permissive | AndreyBuyanov/ExpertSystem | a538aa34a9401fc2f228430b73697a92801b14ce | a4208300ad3f1095259345511debb9e28af0c9fc | refs/heads/main | 2023-02-02T17:45:04.201868 | 2020-12-17T13:02:56 | 2020-12-17T13:02:56 | 319,333,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,521 | cpp | #include "XmlExpertSystemLoader.hpp"
#include "ILogger.hpp"
#include "pugixml.hpp"
#include <stdexcept>
namespace ES
{
/**
* Создание загрузчика по умолчанию.
*
* \return Экземпляр загрузчика
*/
std::unique_ptr<IExpertSystemLoader> CreateExpertSystemLoader()
{
return std::make_unique<XmlExpertSystemLoader... | [
"andreew.12.87@gmail.com"
] | andreew.12.87@gmail.com |
c36bacf262eed184c7cb75b1c582db3dbeb839c4 | 73dbb57d8eece4d364305f062b337d84f481eb4b | /horario.h | 3a883e27e4bb21297e6eb4fc8df13dbfe533cd20 | [] | no_license | OmarGard/QtProyect | ef1a535c58ebffc001a14225eedbd8a7b4e8b84d | beb79fc84f7d61ee9e23fb46f4ae0c6b124c39ab | refs/heads/master | 2020-04-07T01:41:10.922599 | 2018-11-17T03:49:36 | 2018-11-17T03:49:36 | 157,948,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | h | #ifndef HORARIO_H
#define HORARIO_H
class Horario
{
private:
int inicio;
int fin;
public:
Horario();
Horario(int,int);
int getHora(){return inicio;}
int getMinutos(){return fin;}
};
#endif // HORARIO_H
| [
"noreply@github.com"
] | noreply@github.com |
9e945bec14a0531a73af145394168a7536d4cebe | 155bb920a8fc8fb3a0a545e923952e902e4ef3df | /XEngine.Core/Source/XEngine.Core.GeometryResource.h | 53a85766134ff027a4e9f00fb907ca381c1c258e | [] | no_license | rbmkp4800/XEngine | 2035d0c7b81bc291b42e55e7ea91af1f6a86e8bc | f689d20d8deffd48399ba0d86432caf644235992 | refs/heads/master | 2021-01-01T15:59:43.013938 | 2019-03-10T13:14:53 | 2019-03-10T19:24:53 | 30,755,730 | 0 | 1 | null | 2020-07-13T21:23:33 | 2015-02-13T12:36:29 | C++ | UTF-8 | C++ | false | false | 2,007 | h | #pragma once
#include <XLib.Types.h>
#include <XLib.NonCopyable.h>
#include <XEngine.Render.Base.h>
#include <XEngine.Render.Scene.h>
#include "XEngine.Core.ResourceCache.h"
namespace XEngine::Core
{
using GeometryResourceUID = uint64;
using GeometryResourceHandle = uint16;
class GeometryResource : public XLib::... | [
"rbmkp4800@gmail.com"
] | rbmkp4800@gmail.com |
67ea3a42022021207bf872642692326877df368d | 786de89be635eb21295070a6a3452f3a7fe6712c | /psddl_hdf2psana/tags/V00-02-02/include/epics.ddl.h | af4c7b8d2527c81dcb4079577eabc2d828ab2ca4 | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,966 | h | #ifndef PSDDL_HDF2PSANA_EPICS_DDL_H
#define PSDDL_HDF2PSANA_EPICS_DDL_H 1
// *** Do not edit this file, it is auto-generated ***
#include "psddl_psana/epics.ddl.h"
#include "hdf5pp/Group.h"
#include "hdf5pp/Type.h"
#include "PSEvt/Proxy.h"
namespace psddl_hdf2psana {
namespace Epics {
enum {
iXtcVersion = 1 /**... | [
"salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7"
] | salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7 |
ad19aa05a8f0c384d25590db27f7cf41915fa688 | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_Dimorph_Character_BP_Aberrant_parameters.hpp | 8bcf207f6bba5e77c03a80af773ede4f778f4f25 | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 949 | hpp | #pragma once
// ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_Dimorph_Character_BP_Aberrant_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//----------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
3eee329f40979980712a83962cb83f54b6e2bc6d | fc2ee2fe737e7932a004bac94f0cff4caf95f495 | /sources/FieldDoctor.hpp | 10579c220c301333557563d63b25d28fcdb626c8 | [] | no_license | nofar88/pandemic-b | 9d042f87681723124a4992c915d2d29a6cdb31b9 | 12b4be7398b863a8b3f98b759ee55af5cfa878f2 | refs/heads/main | 2023-04-25T04:20:50.277285 | 2021-05-17T18:33:01 | 2021-05-17T18:33:01 | 368,283,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | hpp |
#ifndef DEMO1_CPP_FIELDDOCTOR_HPP
#define DEMO1_CPP_FIELDDOCTOR_HPP
#include "Player.hpp"
namespace pandemic {
class FieldDoctor: public Player {
public:
FieldDoctor(Board& board, City city): Player(board, city){};
Player& treat(City) override;
string role() override;
};... | [
"noreply@github.com"
] | noreply@github.com |
bb44e81afd6d80cfb40a906477f22d9d1483a70e | e54dcb71a395d3743c664db488153f495d0d91e6 | /source/runtime.cpp | d57751c37bfaa725999ab93ee6be0a52220f45d8 | [
"BSD-3-Clause"
] | permissive | ghostinthecamera/reshade | c7ea6b0392bce719f828c5132ccd833c132588a1 | 25422a378a5e67cb3ccd9c316e9dfe6255090c39 | refs/heads/master | 2020-08-22T16:19:08.076805 | 2019-10-20T22:06:38 | 2019-10-20T22:06:38 | 216,435,590 | 2 | 0 | BSD-3-Clause | 2019-10-20T22:25:10 | 2019-10-20T22:25:10 | null | UTF-8 | C++ | false | false | 54,647 | cpp | /**
* Copyright (C) 2014 Patrick Mours. All rights reserved.
* License: https://github.com/crosire/reshade#license
*/
#include "log.hpp"
#include "version.h"
#include "runtime.hpp"
#include "runtime_objects.hpp"
#include "effect_parser.hpp"
#include "effect_codegen.hpp"
#include "effect_preprocessor.hpp"
#include "... | [
"crosiredev@gmail.com"
] | crosiredev@gmail.com |
5e7044c3378aadd8b70110ac3694d321ccf2043c | 49f88ff91aa582e1a9d5ae5a7014f5c07eab7503 | /gen/third_party/perfetto/protos/perfetto/trace/ftrace/sched_process_exit.pbzero.cc | 09ace1a3abeb3c06288dc3cf179382fe34834a98 | [] | no_license | AoEiuV020/kiwibrowser-arm64 | b6c719b5f35d65906ae08503ec32f6775c9bb048 | ae7383776e0978b945e85e54242b4e3f7b930284 | refs/heads/main | 2023-06-01T21:09:33.928929 | 2021-06-22T15:56:53 | 2021-06-22T15:56:53 | 379,186,747 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,267 | cc | // Autogenerated by the ProtoZero compiler plugin. DO NOT EDIT.
#include "perfetto/trace/ftrace/sched_process_exit.pbzero.h"
namespace {
static const ::protozero::ProtoFieldDescriptor kInvalidField = {"", ::protozero::ProtoFieldDescriptor::Type::TYPE_INVALID, 0, false};
}
namespace perfetto {
namespace protos {
na... | [
"aoeiuv020@gmail.com"
] | aoeiuv020@gmail.com |
26ace993b16b82ff66f7be95c7a58af088b811aa | bd80c038d443123c7b46102587e04afc0eeae80f | /GCJ2016/BFFs/bff.cpp | 97bf4c2ce5c90323aebe3abc000853e13cfa4ffa | [] | no_license | SiweiYang/CodingChallenge | 73e0e3a47a7feafef472fea239c4ea37e0af3cc0 | fb77dcdba597782f0447cbd7a2158fe3694957dc | refs/heads/master | 2022-01-13T06:44:47.866243 | 2019-06-28T11:55:46 | 2019-06-28T11:55:46 | 3,609,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,313 | cpp | #include <iostream>
#include <fstream>
#include <string.h>
using namespace std;
int run(int *m, bool *v, int i) {
if (v[i])return i;
v[i] = true;
return run(m, v, m[i]);
}
int count(bool *v, int s) {
int total = 0;
for (int i = 1; i < s + 1; i++) {
if (v[i])total++;
}
return total;
}
int main(int argc, cha... | [
"yangsiwei880813@gmail.com"
] | yangsiwei880813@gmail.com |
9858e297cb0b29f3f180a901f8f56c02bb3f4e0b | 1974b1cd6499c5b121f035557e59308b2d39a8f9 | /include/json/json.h | 9777c6ac067df64ccfd6d3afe9707b84a267c6ec | [] | no_license | harestomper/json-parser | 7885622450a5fc12290ff3d3a2b0e3fa5804752a | aa9bfd6acfa8d95a88893c6a5525ca32424e55eb | refs/heads/master | 2021-01-10T11:03:43.806049 | 2016-02-04T08:07:49 | 2016-02-04T08:07:49 | 50,937,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,655 | h | /*
* json.h
*
* Created on: 18 янв. 2016 г.
* Author: Voldemar Khramtsov <harestomper@gmail.com>
*
* 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, includin... | [
"harestomper@gmail.com"
] | harestomper@gmail.com |
18d40a79af641da050c4ee3748513d38431bdb83 | 67fc9e51437e351579fe9d2d349040c25936472a | /wrappers/8.1.1/vtkEdgeSubdivisionCriterionWrap.h | 5f7c79641464526f921e4a8fc1265dddf4295274 | [] | permissive | axkibe/node-vtk | 51b3207c7a7d3b59a4dd46a51e754984c3302dec | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | refs/heads/master | 2023-03-05T07:45:45.577220 | 2020-03-30T09:31:07 | 2020-03-30T09:31:07 | 48,490,707 | 6 | 0 | BSD-3-Clause | 2022-12-07T20:41:45 | 2015-12-23T12:58:43 | C++ | UTF-8 | C++ | false | false | 1,652 | h | /* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */
#ifndef NATIVE_EXTENSION_VTK_VTKEDGESUBDIVISIONCRITERIONWRAP_H
#define NATIVE_EXTENSION_VTK_VTKEDGESUBDIVISIONCRITERIONWRAP_H
#include <nan.h>
#include <vtkSmartPointer.h>
#include <vtkEdgeSubdivisionCriterion.h>
#include ... | [
"axkibe@gmail.com"
] | axkibe@gmail.com |
64ed68b8d6785bb0476bc13c35609d2b87c0b4f8 | 22a87fab6bfdd5eb4d0cf39917cc7211b8f0da8d | /practice test/1.cpp | e23460ccb68088f255440b67cbbd1a48397bb0a8 | [] | no_license | Artlesbol/Cpp-practice-on-CGplatform | 8f4338329c4e38a9eb1edb95e4da1ea1d3a16353 | 9262a1d58037d9606d039c9d03c99e63223782f6 | refs/heads/main | 2023-02-10T11:29:04.382430 | 2021-01-06T14:19:26 | 2021-01-06T14:19:26 | 320,823,977 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | cpp | #include <iostream>
using namespace std;
class questiontwo
{
public:
int answer(int sum)
{
if(sum == 1)
{
cout<<" "<<sum;
return sum;
}
else
{
if((sum%2) == 1){
sum=sum*3+1;
cout<<sum<<" ";
return answer(sum);
... | [
"noreply@github.com"
] | noreply@github.com |
e7e0921881b753e5162699969461b6f3d499e478 | 2affdd1d5a6ba682076925e32f48566ee16ee413 | /src/thn9732_Main_Menu.h | fb611f22120cc78921603fc373677fbbc13987d4 | [] | no_license | thtnguyen/Library-System | 211a05552207e1306b161e70e13d5a6c0fdd277a | c4703ebbe595e92e1f14b756469c8f9193946307 | refs/heads/master | 2020-04-01T18:18:33.568137 | 2018-10-17T15:58:49 | 2018-10-17T15:58:49 | 153,484,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | h | #ifndef MAIN_MENU_H
#define MAIN_MENU_H
#include <gtkmm.h>
#include "thn9732_Controller.h"
class Main_Menu : public Gtk::Window {
public:
Main_Menu(Library& l, Controller& c);
virtual ~Main_Menu();
protected:
Gtk::Box* vbox;
void create_lbrn_clicked();
void load_data_clicked();
void save_data_clicked();
voi... | [
"teresa@uta.edu"
] | teresa@uta.edu |
e1653b072c64c3cb62a871e3305449037644b7b2 | 6736f139a3c166b3dcb6ca655e3c26e4adfd7252 | /daydream_viewer/app/src/main/jni/renderer.cc | 1ee10fc6028b7f06f8c5e591fb42f48e600c8079 | [
"LicenseRef-scancode-warranty-disclaimer",
"Libpng",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | alexey-odintsov/tango | bb67f7b3739884424fbcfc1396f3a51f09e09075 | 3555d1f52e9ac1b078b3304a789a446d92d7ac4c | refs/heads/master | 2021-01-01T19:12:43.266094 | 2017-07-22T08:04:54 | 2017-07-22T08:04:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,900 | cc | #include "renderer.h" // NOLINT
#include "shaders.h" // NOLINT
#include "data/file3d.h"
#include <android/log.h>
#include <assert.h>
#include <stdlib.h>
#include <cmath>
#include <random>
namespace {
static const float kReticleDistance = 3.0f;
static const int kCoordsPerVertex = 3;
static const uint64_t kPrediction... | [
"lubos@mapfactor.com"
] | lubos@mapfactor.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.