blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
abdaed1b9b8a17e05d4c80de39d70ffb5ed652f0 | 6145fc4a2b8aa73c79e9d607182936ff44014d82 | /ex2/shader.hpp | 7998ba7a5fcd6608fa6a42ce48c0266144c72a4c | [] | no_license | Treekay/Learn-CG | 1af4ccd861b1d0588aed5dd5f675b62e9d99abc0 | 1fba1fdd64d941bee5157dbac148cdba93065bac | refs/heads/master | 2020-04-27T01:36:55.378066 | 2019-06-13T04:06:55 | 2019-06-13T04:06:55 | 173,970,610 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,053 | hpp | #ifndef SHADER_H
#define SHADER_H
#include <glad/glad.h>; // 包含glad来获取所有的必须OpenGL头文件
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
class Shader
{
public:
// 程序ID
unsigned int ID;
// 构造器读取并构建着色器
Shader(const GLchar* vertexPath, const GLchar* fragmentPath) {
// 1. 从文件路径中获取顶点/片段着色器... | [
"823334594@qq.com"
] | 823334594@qq.com |
b124b7717fe0280f9303fd9867fa49fa9eae2656 | 87759e4daae094217fd4c71e53857a0d6af4da59 | /generated-tests/forward.cpp | 94bbd7123d2907295f16e667de6af16351e79ddd | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | codexnetwork/eosio-wasm-spec-tests | 0b87d1d5402f92442db01dabce912a286161f56e | db1c839233fad04e725ee500199faa131027c199 | refs/heads/master | 2020-09-10T02:12:53.992966 | 2019-11-12T15:51:18 | 2019-11-12T15:51:18 | 221,623,659 | 0 | 0 | MIT | 2019-11-14T06:02:25 | 2019-11-14T06:02:24 | null | UTF-8 | C++ | false | false | 824 | cpp | #include <wasm_spec_tests.hpp>
const string wasm_str_forward_0 = base_dir + "/eosio-wasm-spec-tests/generated-tests/wasms/forward.0.wasm";
std::vector<uint8_t> wasm_forward_0= read_wasm(wasm_str_forward_0.c_str());
BOOST_DATA_TEST_CASE(forward_0_pass, boost::unit_test::data::xrange(0,1), index) { try {
TESTER test... | [
"jeffreyssmith2nd@gmail.com"
] | jeffreyssmith2nd@gmail.com |
20f542ad93b50143fc86759c3d5f5ddae4868795 | 452dafe3f2c76d22a33098634016c1e323456a67 | /Problems/34B.cpp | bdef6eb74d0a66a903d92651d2f35d71b51ef5f5 | [] | no_license | nikakogho/codeforces | 6c87b4d7b640808813e405d5ce6e129bd527f5df | b6261f5a83e221de190f6daec3ba932e45d1acca | refs/heads/master | 2023-03-21T19:34:58.401874 | 2021-03-06T15:49:16 | 2021-03-06T15:49:16 | 345,130,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
short n, m;
cin >> n >> m;
short arr[n];
for(int i = 0; i < n; i++) cin >> arr[i];
sort(arr, arr + n);
int sum = 0;
for(int i = 0; i < m && arr[i] < 0; i++)
sum -= arr[i];
cout << sum;
}
| [
"nikakoghuashvili@gmail.com"
] | nikakoghuashvili@gmail.com |
fd58dc025d200df297ea0f9d3e5d337d1bfc6b19 | 59f00d4f6fccb6b1103c5aa54f43a6e4d4f8bfc5 | /src/common-plugin-analyze/MassBankToolsPlugin/cWizard/ExtDB/LinkDBAccessClass.cpp | 3a91353ca6b35b9481b3cd7c3fa12e2fc7cd3332 | [] | no_license | tomas-pluskal/masspp | 9c9492443bb796533bcb27fe52a0a60e4ba62160 | 808bf095215e549e7eb5317c02c04dfb2ceaba15 | refs/heads/master | 2021-01-01T05:33:44.483127 | 2015-06-07T12:54:17 | 2015-06-07T12:54:17 | 33,917,190 | 0 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 7,232 | cpp | /**
* @file DBAccessClass
* @brief Data Processing List Box Informations
*
* @author M.Fukuda
* @date 2013.02.26
*
* Copyright(C) 2006-2014 Eisai Co., Ltd. All rights reserved.
*
* @ note -=====================================
* Link DBの値を統括する。
* (has-a) DBACCSelectDialog : 選択のコンボボックス
*/... | [
"Satoshi Tanaka@localhost"
] | Satoshi Tanaka@localhost |
c54c965f5f8f2dbcee8cbfa62964fc89ad6e62f3 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/enduser/netmeeting/t120/mst123/scfcall.cpp | 96a1e3a2d8bf9fa179a79f180370cc567b7c9f14 | [] | 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 | 44,690 | cpp | #include "precomp.h"
DEBUG_FILEZONE(ZONE_T120_T123PSTN);
/* SCFCall.cpp
*
* Copyright (c) 1994-1995 by DataBeam Corporation, Lexington, KY
*
* Abstract:
* This class is instantiated by the SCF class. For each call that the
* local site or remote site initiates, a SCFCall object is ... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
17485ae21398e1fa4aaa6343d03f4d07215ee1fa | a12d23f3349de5e460fdd577d458e7ab2f4e1046 | /CF Global Round 15 - Subsequence Permutation (A).cpp | 224f89329c190b38f2c79324ef3e5a4006b17567 | [] | no_license | TheKing003KS/Codeforces-Solutions | 17a1580f492c5f3a6f8ea368fa2e183ab70266c4 | 74f4920d4f009eadbdf8a558989c2917fd1bce85 | refs/heads/main | 2023-07-26T13:09:05.909928 | 2021-08-23T07:29:28 | 2021-08-23T07:29:28 | 398,503,592 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,153 | cpp | // Problem Link: https://codeforces.com/contest/1552/problem/A
#include<iostream>
#include<limits.h>
#include<math.h>
#include<vector>
#include<string>
#include<queue>
#include<stack>
#include<set>
#include<map>
#include<unordered_set>
#include<unordered_map>
#include<algorithm>
using namespace std;
... | [
"noreply@github.com"
] | TheKing003KS.noreply@github.com |
50815dd4cdbf43e4f8d974ca98fe4f5262c73912 | 51fe8343b5e3fe8de4e379bd3b48fb1f165c76f8 | /OpenGL/Classes/UniformDerived.cpp | 359805d6b3ef64d2970d4bf3756c8f6cbd2d9b38 | [] | no_license | belazaras/teardrop | 961c5c59e490ea939781d31f708954e7f31fd671 | 0a92714538d3be67d4d4b17734f92d805fc6030d | refs/heads/master | 2021-01-01T05:41:12.641750 | 2015-08-11T11:00:44 | 2015-08-11T11:00:44 | 39,625,019 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | #include "UniformDerived.h"
// Specializations:
void UniformFloat::updateImpl(GLuint location)
{
//glUniform1f();
}
//void UniformFVec3::updateImpl(GLuint location)
//{
// glUniform3f(location, 1, GL_FALSE, (GLfloat)*m_elements);
//} | [
"belazaras@live.com"
] | belazaras@live.com |
2cd745fc908dfd889ed846bb2050b08a241a919a | 4a598ca49e4be7c15609a94df9118bf2974a1318 | /src/walletdb.cpp | 772e46d18331bedbb573fbfb9184655c45f39ef8 | [
"MIT"
] | permissive | LordSoylent/SMNCoin | b41796e0dbb5484a7fa0821d2e273e198f8c9aff | 01918f456f726a9240df4ccfffdd3626f9ddba4f | refs/heads/master | 2020-03-28T19:23:47.897382 | 2018-06-05T00:17:59 | 2018-06-05T00:17:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,603 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-li... | [
"root@vultr.guest"
] | root@vultr.guest |
e9c03422bd5962e326c45b5beff005e4e3ab7f5f | 7515ba50ced3d1e1ddbfb80ec3f22575b50b6875 | /include/SDL_Wrapper/SDL_Audio.hpp | e38ac539b637895ca19082f1ae58ea22acc834cf | [] | no_license | shcalbers/sdl-game | 724e7f24443906aacb0388dc67eca3e1346cb72c | a1d496fb2c4b17d8e236d0fa367162110a77fa76 | refs/heads/master | 2021-04-14T23:37:59.892998 | 2020-03-22T21:39:19 | 2020-03-22T21:39:19 | 249,277,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 822 | hpp | #ifndef SDL_AUDIO_HEADER
#define SDL_AUDIO_HEADER
#include "SDL.h"
#include "SDL_mixer.h"
#include <memory>
using namespace std;
class AudioEffect
{
public:
//AudioEffect();
AudioEffect(const char * file_name, int loops);
AudioEffect(const AudioEffect &) = delete;
AudioEffect & operator=(const AudioEffect &) =... | [
"34623185+shcalbers@users.noreply.github.com"
] | 34623185+shcalbers@users.noreply.github.com |
41729529c690a5461268489649ea77b236e4bdc9 | bea876bddfcb07514040618e6465e6ba3abc1f5f | /Lecture03/problem3/Person.cpp | 9bd1e37b57a59a285beb045e602be0c5e08679c4 | [] | no_license | Choi-Jinwoo/dgsw.algorithm_2 | 8ab70ae3ca6d76cbd762647f5d444abc47856bbe | 7ecae7a56a81c9b6479b966b78fc16479d1b4ee8 | refs/heads/master | 2023-08-20T10:18:25.488151 | 2021-11-02T09:17:37 | 2021-11-02T09:17:37 | 268,756,982 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 160 | cpp | //
// Created by 최진우 on 2020/06/09.
//
#include "Person.h"
Person::Person(int room, std::string name) {
this->room = room;
this->name = name;
}
| [
"49791336+Choi-Jinwoo@users.noreply.github.com"
] | 49791336+Choi-Jinwoo@users.noreply.github.com |
57508ea4b4105dd1ea27fa5c168d717fb01fb746 | c8eaf2bb14f26c87f175ea182f5b618ef5dd9412 | /src/arithmetic/pattern_match.h | a236e65a83122f3f7b295d2d0f2088275e5b96f5 | [
"Apache-2.0",
"Zlib",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Unlicense",
"BSD-2-Clause"
] | permissive | wweic/tvm | 4050d5e64ca1aff9b8d8a5726c9815772e0bf2ae | 49d31443c4b65c814a3da6decc363a881c05b372 | refs/heads/master | 2021-05-15T22:02:24.605696 | 2020-01-15T22:44:14 | 2020-01-15T22:44:14 | 106,635,229 | 0 | 0 | null | 2017-10-12T02:37:48 | 2017-10-12T02:37:48 | null | UTF-8 | C++ | false | false | 23,445 | h | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | [
"noreply@github.com"
] | wweic.noreply@github.com |
09d3e0d1a09de1d84a6f2eb3129989bc44c2686a | 4a733728d963da15fbc41b98ecf70e1a2e7a92de | /Labs/student/student.cpp | 45bd43fb64d675f9a268377b60e7327c4089ef39 | [] | no_license | bcao4/385-workspace | ae6557eca1750f74b9c3e1016f5ba0b7ea19c070 | 1530fa55cc9ae9e311da75152b890f2f9be0a29d | refs/heads/main | 2023-01-12T02:52:51.182593 | 2020-11-10T20:05:30 | 2020-11-10T20:05:30 | 311,772,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,173 | cpp | /*******************************************************************************
* Name : student.cpp
* Author : Brandon Cao
* Version : 1.0
* Date : September 4th, 2019
* Description : Student class with names, gpa, and id. Lists all students and finds students with a GPA lower than 1.0.
* Pledge : I pled... | [
"brandoncao74@gmail.com"
] | brandoncao74@gmail.com |
2c7cf3e2b4518037fa005e7653578cce151a84cd | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /ui/message_center/views/message_view.cc | e54d4da784b097f847dcb4ab1f185d7d10ebe71c | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 14,454 | 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 "ui/message_center/views/message_view.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "ui/acces... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
8192f29692c19337b7958cba56b1290e2655c848 | 5838cf8f133a62df151ed12a5f928a43c11772ed | /NT/net/mmc/dhcp/mscopepp.cpp | cd4cf03e43a68caf183b39857a64e8ae58b14ffa | [] | no_license | proaholic/Win2K3 | e5e17b2262f8a2e9590d3fd7a201da19771eb132 | 572f0250d5825e7b80920b6610c22c5b9baaa3aa | refs/heads/master | 2023-07-09T06:15:54.474432 | 2021-08-11T09:09:14 | 2021-08-11T09:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,342 | cpp | /**********************************************************************/
/** Microsoft Windows/NT **/
/** Copyright(c) Microsoft Corporation, 1997 - 1999 **/
/**********************************************************************/
/*
MScopePP.cpp
This file ... | [
"blindtiger@foxmail.com"
] | blindtiger@foxmail.com |
18368fb287a0fb663a736002787bf98ac696c41b | ecda5557b9fba866a5ab675cb5c879249e80b77e | /day03/ex03/ScavTrap.hpp | b238724bbdc165226373a98c3bd9f1321397c140 | [] | no_license | julekgwa/Piscine-CPP | 3e53cb963e9639c39633fec7becec8b6c937c048 | 30d37fcb9a6040c2eaa103b008743815729a6e49 | refs/heads/master | 2021-01-22T06:19:36.610877 | 2017-06-02T14:38:49 | 2017-06-02T14:38:49 | 92,543,662 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | hpp | #ifndef SCAVTRAP_HPP
#define SCAVTRAP_HPP
#include "ClapTrap.hpp"
#include <iostream>
#include <cstdlib>
class ScavTrap : public ClapTrap {
public:
ScavTrap(void);
ScavTrap(std::string);
ScavTrap(ScavTrap const &);
ScavTrap &operator=(ScavTrap const &);
~ScavTrap(void);
void challengeNew... | [
"julekgwa@e4r1p3.jnb.42.fr"
] | julekgwa@e4r1p3.jnb.42.fr |
f0412818e431a68a5767e5b3a2ebd1c5140d2cce | 005f6e37941b66536f6719a7bb94ab4d3d7cf418 | /src/prx_utilities/prx/utilities/statistics/image.cpp | 8a770eae350f8b7f81d3940be5c07c9413be4e9b | [] | no_license | warehouse-picking-automation-challenges/ru_pracsys | c56b9a873218fefb91658e08b74c4a1bc7e16628 | 786ce2e3e0d70d01c951028a90c117a0f23d0804 | refs/heads/master | 2021-05-31T05:52:33.396310 | 2016-02-07T22:34:39 | 2016-02-07T22:34:39 | 39,845,771 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,874 | cpp | /**
* @file image.cpp
*
* @copyright Software License Agreement (BSD License)
* Copyright (c) 2013, Rutgers the State University of New Jersey, New Brunswick
* All Rights Reserved.
* For a full description see the file named LICENSE.
*
* Authors: Andrew Dobson, Andrew Kimmel, Athanasios Krontiris, Z... | [
"kostas.bekris@cs.rutgers.edu"
] | kostas.bekris@cs.rutgers.edu |
07bbbc39db54c570b0cbccd94698839886119250 | d99ab6e8586f76c6e6bdec1b2fba73e7d892f5e8 | /ACM/Algorithms/segmenttree.cpp | e35c42be866e47d1432d32056354604f868426f3 | [] | no_license | jindalshivam09/cppcodes | 661d368c77793a0c8170397711c1eec9eeff1e27 | c2913c4d3e144de7a0a60749b675e2f661d5b07b | refs/heads/master | 2021-05-16T02:39:47.452998 | 2020-07-26T18:45:42 | 2020-07-26T18:45:42 | 23,185,118 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,910 | cpp | // Program to show segment tree operations like construction, query and update
#include <stdio.h>
#include <math.h>
// A utility function to get the middle index from corner indexes.
int getMid(int s, int e) { return s + (e -s)/2; }
/* A recursive function to get the sum of values in given range of the array.
... | [
"jindalshivam09@gmail.com"
] | jindalshivam09@gmail.com |
29ad95785610f9b6d5357a89948575dc5d07e2fc | fe4f0f8a36b14c838fbdd78a5908d7f6e0c8f2fb | /chromaKeying/chromaKeying.cpp | 95f0acb8220ebbb9f59a51dca0e312fcf0e31975 | [] | no_license | JujuDel/FancyOpenCV | e2a0d0196d36120edb0ca56415342c74b76279c2 | 0add33e9f4fbf8a6db0e5ff902acd3f0c9efbdea | refs/heads/master | 2022-12-31T23:14:10.727144 | 2020-10-25T15:48:24 | 2020-10-25T15:48:24 | 268,362,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,729 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <opencv2/imgproc.hpp>
#include <opencv2/highgui.hpp>
// ########## CONST ##########
const char *g_windowImg{ "Chroma Keying" };
const char *g_windowParam{ "Parameters" };
const int g_fps{ 20 };
const cv::Size g_size{ 900, 600 };
// ########... | [
"julien.delclos@gmail.com"
] | julien.delclos@gmail.com |
bd8b138be4ac3f0c82bb6999858fa85e5dbf37df | 15e82c71ee530486bd9c381dcfed35159f5de52b | /main.cpp | b36f1f9795598534e397baf50966c317fbe1baa5 | [] | no_license | 2017302335/BUAA_Compiler | c30a4247fd47c1ea84253fbedaffeb8b4a30d29e | f95305b33dc0895ed672d73ddc97fad669f8794b | refs/heads/master | 2021-06-12T20:57:07.971226 | 2020-01-08T07:31:21 | 2020-01-08T07:31:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,384 | cpp | #include <iostream>
#include <fstream>
#include "lexical.h"
#include "grammer.h"
#include "midCode.h"
#include "mipsCode.h"
#include "function.h"
#include "optimize.h"
using namespace std;
extern string filecontent; //文件的内容
ifstream inputfile;
ofstream outputfile;
ofstream errorfile;
ofstream midCodefile;
ofstream mi... | [
"jwjiang_buaa@163.com"
] | jwjiang_buaa@163.com |
f60831ce94c3dcacfe1dc7f44369129923e98232 | 532db02b9b3bfdf2fc56f90aec32f46035a6edfb | /SoEattempt3/SoEattempt3.cpp | 2c362bd75f25457778f7a7d264e155cfff496038 | [] | no_license | RoachCode/scions | a272d3c17add4412275cb29beceb518d4a7a4626 | 0487242cbf45b8dcf9be1070d59a88ba347281b7 | refs/heads/main | 2023-07-25T07:50:03.130457 | 2023-07-10T12:38:44 | 2023-07-10T12:38:44 | 310,966,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,249 | cpp | #include <iostream>
#include <Windows.h>
#include <random>
#include <cstdlib>
#include <ctime>
#include <algorithm> // std::count
#include <vector>
#include <string>
#include <limits.h>
#include "getrandom.h" // Generates random integer. Call with "getRandom(int upperBoundRdm)"
// Prints MP stat. Uses input ... | [
"74122730+RoachCode@users.noreply.github.com"
] | 74122730+RoachCode@users.noreply.github.com |
31a1f8464b1e35efb2476c6055a8abb2bbe9a0fd | 75fcc54907b3543e08f8a27521a55810bce0b839 | /src/server/JoinCommand.cpp | b26e414bd7a0677dbfce0fd274da1fa92a36f0f8 | [] | no_license | omerz10/Reversi-Project---Backend | f7273dfe411515302c2346404fb99f7e8a1ba942 | 5bebd2acf6b528a80a9b765128cc83de5810c676 | refs/heads/master | 2021-09-05T07:59:29.881341 | 2018-01-25T12:47:20 | 2018-01-25T12:47:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,321 | cpp | //
// Created by David Nakash on 24/12/2017.
//
#include "JoinCommand.h"
#define DATALEN 512
pthread_mutex_t joinMutex;
void JoinCommand::execute(ClientThread *clientT, string args) {
char buffer1[DATALEN] = "";
char buffer2[DATALEN] = "";
char buffer3[DATALEN] = "";
bool found = false;
// itera... | [
"omerz1990@gmail.com"
] | omerz1990@gmail.com |
7c566ba8e89a1ba9bfa36c328c514cd131c9b081 | 109fb932c640fabc2410a31af45df04cccd2c4cf | /OutOOP.cpp | b55b770a9c1fe0dbdfc2f216ab47e0981e8846a6 | [] | no_license | the-lenin/MethodLab_OOP | 587a07729df95b861361451faa5ee119333f2ba2 | 987a3059bd753bc54504fe5edafda50e578d3b06 | refs/heads/master | 2021-01-21T11:26:40.645924 | 2017-06-09T06:04:11 | 2017-06-09T06:04:11 | 91,741,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | #include "main.h"
namespace languages
{
void oop::Out(ofstream &ofst)
{
CheckOutFile(ofst);
ofst << "It is OOP language: has ";
switch (a)
{
case 0:
ofst << "single";
break;
case 1:
ofst << "multiple";
break;
case 2:
ofst << "interface";
break;
default:
break;
}
ofst << " ... | [
"z315@bk.ru"
] | z315@bk.ru |
249cce1a01e69aee5a60514e93ae682941fb2348 | afc255608753ab472bb0c8d953fb0361bc4ab635 | /BLUE_ENGINE/Circle.cpp | 729d8df3f5412ecc0ac0e15c06ebe9a34e827ca9 | [] | no_license | Nero-TheThrill/-Game-waybackhome_built-with-customengine | 23e8e9866c5e822ed6c507232a9ca25e4a7746ad | 70beab0fb81c203701a143244d65aff89b08d104 | refs/heads/master | 2023-08-21T03:02:28.904343 | 2021-11-02T11:01:50 | 2021-11-02T11:01:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | cpp | /*
* File Name : Circle.cpp
* Primary Author : Park Jinwon
* Secondary Author :
* Brief: It includes information about circle collision state
*
* Copyright (C) 2019 DigiPen Institute of Technology.
*/
#include "Circle.h"
namespace BLUE {
Circle::Circle() : Component(ComponentType_CIRCLE)
{
}
C... | [
"imjinwoo98@gmail.com"
] | imjinwoo98@gmail.com |
b0b57faf2ebd2bc86098af90373f43a53f8bd8d0 | ed714b26e037a151678bdccaa94af3a7e2207db1 | /src/sensorGPS.ino | 2c274cab141e0608b5d562764e8c3154e573381b | [] | no_license | pierresimon/stratoflight_mk_ii | b5e79cf08ad9f71ed936bb923d5d5ca1f8ead567 | 38db4e24985808a595017a9c1db10eb60eddba3c | refs/heads/master | 2021-07-10T00:08:58.924304 | 2017-10-09T14:08:32 | 2017-10-09T14:08:32 | 106,288,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,754 | ino | /*
Sketch-Part for gps-sensor
Projekt "Stratoflight MK2"
2017 by Pierre Simon, Frederik Simon
*/
#include <Gpsneo.h>
Gpsneo gps;
/*-----------------------------------------------------------------------*/
boolean setupSensorGPS()
{
//writeLog(2,"Init gps-sensor...");
//writeLog(2,strOK);
return t... | [
"pierre.simon@outlook.de"
] | pierre.simon@outlook.de |
0e87abbe40b98cc9cc463bafc40d679691068322 | bb2c7310facb77e8fa0bf1cdbc7a90f41366f838 | /Log.cpp | 37ed93596d0f4e276d528ecd5ae98e13ca6b4e59 | [] | no_license | Gwennin/LogWriter | 07dc8ecb9bd0fccb45811879c579d5c715a88f27 | 4c7a4f5ae7d6055d888922236f8b44f59e58706a | refs/heads/master | 2016-09-06T02:35:57.557957 | 2012-08-17T16:33:01 | 2012-08-17T16:33:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,900 | cpp |
#include <cstdlib>
#include "Utils.h"
#include "LogWriter_Private.h"
#include "Enums.h"
#include "Log.h"
using namespace std;
using namespace Logger;
LogWriter * Log::_writer = 0;
LogLevel Log::_lastLogLevel = UnknownLevel;
tm * Log::_lastday = Utils::getDay();
string Log::_logPath = "./";
LogNameStyle Log::_logNa... | [
"minig@MiniGLinDev.localdomain"
] | minig@MiniGLinDev.localdomain |
2ddb4e60d963b51e7484d9ec70e5d57a7fb264c4 | 884d8fd8d4e2bc5a71852de7131a7a6476bf9c48 | /grid-test/export/macos/obj/src/flixel/tweens/motion/CubicMotion.cpp | 818900487b851688ededfc45173bd9f742b51778 | [
"Apache-2.0"
] | permissive | VehpuS/learning-haxe-and-haxeflixel | 69655276f504748347decfea66b91a117a722f6c | cb18c074720656797beed7333eeaced2cf323337 | refs/heads/main | 2023-02-16T07:45:59.795832 | 2021-01-07T03:01:46 | 2021-01-07T03:01:46 | 324,458,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 9,945 | cpp | // Generated by Haxe 4.1.4
#include <hxcpp.h>
#ifndef INCLUDED_flixel_FlxBasic
#include <flixel/FlxBasic.h>
#endif
#ifndef INCLUDED_flixel_tweens_FlxTween
#include <flixel/tweens/FlxTween.h>
#endif
#ifndef INCLUDED_flixel_tweens_FlxTweenManager
#include <flixel/tweens/FlxTweenManager.h>
#endif
#ifndef INCLUDED_flixel_... | [
"vehpus@gmail.com"
] | vehpus@gmail.com |
ed61192b4e9fe222480fe0ab52f6dbc07175180d | 6ea50d800eaf5690de87eea3f99839f07c662c8b | /ver.0.15.0.1/j_Animal.h | af844b6c73aeaedd6c9af6374058faa0206cb35b | [] | no_license | Toku555/MCPE-Headers | 73eefeab8754a9ce9db2545fb0ea437328cade9e | b0806aebd8c3f4638a1972199623d1bf686e6497 | refs/heads/master | 2021-01-15T20:53:23.115576 | 2016-09-01T15:38:27 | 2016-09-01T15:38:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 218 | h | #pragma once
namespace j{
class Animal{
public:
void addAdditionalSaveData(CompoundTag &);
void aiStep(void);
void hurt(EntityDamageSource const&,int);
void readAdditionalSaveData(CompoundTag const&);
}
};
| [
"sinigami3427@gmail.com"
] | sinigami3427@gmail.com |
d513157c92d5024564a2b00f67a8f9f139600de2 | e43548aa992ff92482d51efcb0549ea89ee4ca42 | /engine/StaticMesh.h | f50a83ce0b10e64969135882eb79c02d0055b4e3 | [] | no_license | BB-Cat/- | 7b0d0a9c7c487b1e6c62b5a51b6dd46281b17841 | 1cf9e8741601bb537dd779fc65da0943e5233ec4 | refs/heads/main | 2023-02-27T19:42:05.746205 | 2021-02-05T11:40:07 | 2021-02-05T11:40:07 | 310,175,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 795 | h | #pragma once
#include "Mesh.h"
#include <vector>
#include "Subset.h"
//static mesh class which pulls data from .OBJ files
class StaticMesh: public Mesh
{
public:
StaticMesh(const wchar_t* full_path);
StaticMesh(const wchar_t* full_path, bool is_flipped);
~StaticMesh();
virtual void renderMesh(float elapsed_time,... | [
"rockmanrollforte@outlook.com"
] | rockmanrollforte@outlook.com |
2cc176dccfa66a1a3b9cb49e614ad96932819341 | 8a0b44880ac10007dbf591befe7238bc376d1944 | /exp/hexa_duty_cycle/idw_modifier.hpp | 75796277458720a7470d74823c965c3d985068fa | [] | no_license | resibots/tarapore_2016_gecco | 7a50eef016fe3932c72e52f8a01cbd04c440994b | 5ff35cf8ac0442e59b4125e804472bf37116fe56 | refs/heads/master | 2021-01-10T05:08:17.186002 | 2016-04-14T13:47:33 | 2016-04-14T13:47:33 | 55,916,222 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,221 | hpp | #ifndef IDW_MODIFIER_HPP
#define IDW_MODIFIER_HPP
#include "idw.hpp"
int generation = -1;
namespace sferes
{
namespace modifier_div
{
template<typename Phen,typename Center >
struct _parallel_disparity
{
typedef std::vector<boost::shared_ptr<Phen> > pop_t;
p... | [
"mouret@isir.upmc.fr"
] | mouret@isir.upmc.fr |
02b10420c302437181fbf78579ff907f4ed2b17c | 475079ba8272c955354616374f87c4f9aa750895 | /program/program/shop.cpp | 29a352104bc25f60aed1215124b8f6bc4c6d2f85 | [] | no_license | yusjoel/magic-tower-AI | 1bed4d44f38b2bffe09e5bd6d5e65f41a9245c2b | 45e9b7253ed06de73b999798a8a146b54e909923 | refs/heads/master | 2020-08-03T15:23:38.109711 | 2020-03-16T02:09:38 | 2020-03-16T02:09:38 | 211,799,346 | 3 | 0 | null | 2019-09-30T07:17:52 | 2019-09-30T07:17:52 | null | UTF-8 | C++ | false | false | 562 | cpp | #include "stdafx.h"
void c_shop::init(FILE* file)
{
// start=_start; delta=_delta; hp=_hp; atk=_atk; def=_def; mdef=_mdef;
fscanf_s(file, "%d%d%d%d%d%d", &start, &delta, &hp, &atk, &def, &mdef);
times=0;
}
int c_shop::needMoney()
{
return start+times*delta;
}
int c_shop::getHpPoint()
{
return hp;
}
int c_shop... | [
"ckcz123@126.com"
] | ckcz123@126.com |
803105bdf2389c583fe777c48d4f837ed6ba3f4f | f81124e4a52878ceeb3e4b85afca44431ce68af2 | /re20_3/processor2/20/phi | 68414a20d0f6da5b7c2aa9ad3e18c70889411230 | [] | no_license | chaseguy15/coe-of2 | 7f47a72987638e60fd7491ee1310ee6a153a5c10 | dc09e8d5f172489eaa32610e08e1ee7fc665068c | refs/heads/master | 2023-03-29T16:59:14.421456 | 2021-04-06T23:26:52 | 2021-04-06T23:26:52 | 355,040,336 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 26,451 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"chaseh13@login4.stampede2.tacc.utexas.edu"
] | chaseh13@login4.stampede2.tacc.utexas.edu | |
003b554e1146a524fb6aeb5aed5451ab408cd22e | c4044427638e507b7cafcd0348db5c5354db9982 | /include/utils_test.cc | 4f322457f0b9699c5c82e9ecd9a0118e684a865a | [] | no_license | kevinwkt/authenticator | d12d7fc76dd666b8da20bf6a3ca7d81aaff4c988 | 7b3915eec3cce6bda5458292c38146372eb3fd3e | refs/heads/master | 2021-01-01T11:35:06.235360 | 2020-02-13T00:39:39 | 2020-02-13T00:39:39 | 239,260,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,132 | cc | #define CATCH_CONFIG_MAIN
#include <iostream>
#include "catch.hpp"
#include "json.hpp"
#include "globals.h"
#include "utils.h"
TEST_CASE("ErrorToViolation") {
SECTION("Make sure each enum has the corresponding correct message") {
REQUIRE(ErrorToViolation(kOk) == "Ok");
REQUIRE(ErrorToViolation(kAccountAlr... | [
"kaero@Kyungtaks-MacBook-Pro.local"
] | kaero@Kyungtaks-MacBook-Pro.local |
fe96395bc9800cab9c1d54322f9c72f4a515b599 | 21a23e713a7121f1553d45a9bcf9c320f6e5a235 | /src/src/GeorgeCoenExecutor.h | 9af90d37e629a2595eea326e0653a095b6cdd40c | [] | no_license | Shtivi/RDR2-Bounties-Expansion | 0615941076dd0b5c331a0c76a1ec7070f6d9345c | cfe60086beb08e053d206db4bc352ce451b69ebd | refs/heads/master | 2021-07-18T13:41:06.739209 | 2021-05-15T13:58:12 | 2021-05-15T13:58:12 | 248,749,278 | 4 | 5 | null | 2020-10-20T17:06:11 | 2020-03-20T12:24:57 | C++ | UTF-8 | C++ | false | false | 501 | h | #pragma once
class GeorgeCoenExecutor : public BaseMissionExecutor
{
private:
Vector3 campfirePos;
Object campfire;
Ped horse;
GuardsGroup* enemiesGroup;
vector<Ped> horses;
public:
GeorgeCoenExecutor(BountyMissionData missionData, MapAreasManager* areasMgr);
void update();
protected:
void prepareSet();
Ped... | [
"noreply@github.com"
] | Shtivi.noreply@github.com |
ec55711b7b9ffa9406c40680533ab7ef5677a5c0 | 20bf4b243fb673900f781838ec51ca98f6cca8fa | /chrome/browser/ui/webui/settings/safety_check_handler_unittest.cc | 3509b31219cad527e29dc77c9abae7947bf0666c | [
"BSD-3-Clause"
] | permissive | andylin810/chromium | 76f7169a43b0154963caff7d926e58bf7b2afeac | 716d7ea4b7362febf5383d8ccea2180ae4cd88a5 | refs/heads/master | 2022-12-24T13:13:12.296359 | 2020-03-13T13:08:17 | 2020-03-13T13:08:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,600 | cc | // Copyright 2019 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 "chrome/browser/ui/webui/settings/safety_check_handler.h"
#include <string>
#include <unordered_map>
#include "base/bind.h"
#include "base/opti... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ef4779052e84be749605dcd88b07a3796f752a3e | aefd1312f95eaffefeca732521d1a7e09badf4c0 | /2nd smes/dfefgtrg.cpp | 80efaf784a90dee9a2ae3a1af462cd37816b5d5b | [] | no_license | IT-WALA-BOY/final-project | 2d18cbaf7858673d6ea0c97827f8908b6ffa05cb | f9e5b534d50574aa619d2f3645bce0c5ab904894 | refs/heads/main | 2023-03-15T10:35:30.056086 | 2021-03-14T08:40:37 | 2021-03-14T08:40:37 | 343,029,572 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 771 | cpp | #include<iostream>
using namespace std;
//forward function declaration
int hidden(int num1, int num2);
int compute(int one, int two);
int main(){
cout<<hidden(30,20) <<" " << compute(10,hidden(30,20)) << endl;
int x = 2, y = 8;
cout<<compute(y,x) <<endl;
return 0;
}
//calculate the hidden value based on n... | [
"bsitbeve@gmail.com"
] | bsitbeve@gmail.com |
630b92860eff3a05a72da4c61fbc030138f5e5b8 | 6e507c901947ca9e3564e4adbe8c0c9f778bfb91 | /SeedEngine_16_model/Engine/Engine.h | 63fa78cc1b0a9b2cae98dc88dbe803d5e95af5f3 | [] | no_license | poigwym/SeedEngine | 0b07960721d01ec99a0a06b9fda43bfeabd4d3be | 06f72d35a9c0e610f8f0801fbc62d9440a592e8a | refs/heads/master | 2021-01-10T04:37:20.414481 | 2016-03-03T14:28:53 | 2016-03-03T14:28:53 | 51,929,020 | 2 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,276 | h |
#pragma once
#include"prequest.h"
namespace Seed
{
class Engine;
class Game
{
protected:
Engine *engine;
public:
Game() { engine = 0; }
virtual ~Game() {}
inline void setEngine(Engine *e){ engine = e; }
virtual void init(){}
virtual void update(){}
virtual void render(){}
virtual void clear... | [
"873944287@qq.com"
] | 873944287@qq.com |
e6331b5394491e8dfbd4200c22c4e17b39a240b5 | 0d4c7ba938f78f0a5416ceb7cab0d0f3fabf47ce | /Buses/CSchedule.cpp | 886081f093dc35db76eb3ce6e4cbbff66787eed9 | [] | no_license | femoiseev/algo-2sem | deaecb1654ad878ed0c1d1d248aa8c8c307cb248 | c9f03d7b6da46a87df0626cc3834153d3b354d0e | refs/heads/master | 2021-06-04T22:11:09.902602 | 2016-08-21T16:43:40 | 2016-08-21T16:43:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,105 | cpp | //
// Created by Teodor Moiseev on 09.05.16.
//
#include "CSchedule.h"
#include <set>
int CSchedule::day_length = 24;
void CSchedule::AddEdge(size_t start, size_t end, int start_time, int end_time) { // Добавление маршрута.в
CEdge* new_edge = new CEdge(start_time, end_time, nodes[end]);
nodes[start]->edges.p... | [
"femoiseev@gmail.com"
] | femoiseev@gmail.com |
e74e19fc7ec29f199860c0c12a0187d589e9ff44 | cf4edf395e40dd1f0eb191c26d9c9466c325138c | /M5Stack/examples/9-2NXM5SerialTest/9-2NXM5SerialTest.ino | 12810e862bd6eab857a25f3efad356f3960b9e7b | [] | no_license | inexglobal/nx-m5stack | 9734668eef3ed16cba46166673d45ea99215a12f | b8a13d33c5eee1e72797076ad4e34f2a1a792a0a | refs/heads/master | 2020-08-30T16:30:48.443383 | 2020-05-07T07:13:11 | 2020-05-07T07:13:11 | 218,432,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,677 | ino | #include <M5Stack.h>
void setup() {
M5.begin();
Serial.begin(115200); //กำหนดอัตราส่งข้อมูล 115200 bps
M5.Lcd.setCursor(100, 0, 4);
M5.Lcd.print("Serial");
}
int x , y = 0;
void loop() {
if (Serial.available()) {
String topic = "";
String msg = "";
while (Serial.available()) { //;วนทำซ... | [
"noreply@github.com"
] | inexglobal.noreply@github.com |
d8e88f66d2264d87e989109c69babcaed02968bb | c1a465c982b9440401bc73776048bf49d2cfac93 | /clang-tools-extra/test/clang-tidy/checkers/bsl-op-mixed-increment-decrement.cpp | 886f102de5b9e44a09c9239a10c4b9dff932d3f9 | [
"Apache-2.0",
"LLVM-exception",
"NCSA"
] | permissive | Bareflank/llvm-project | 5a250ef0fd95d07fa236c484ec13b3c9165e6498 | 288e1910531a9a65aed8e453bf16c2ba04fbcc43 | refs/heads/bsl-tidy | 2022-03-21T17:16:06.952336 | 2022-02-04T15:32:53 | 2022-02-04T15:32:53 | 244,096,908 | 7 | 5 | null | 2022-02-04T15:32:54 | 2020-03-01T06:09:12 | C++ | UTF-8 | C++ | false | false | 768 | cpp |
int i = 0;
int j = ++i + 2;
// CHECK-MESSAGES: :[[@LINE-1]]:9: warning: use of '++' is mixed with other operations [bsl-op-mixed-increment-decrement]
int p = j++;
void f()
{
int buf[10];
p = buf[--j];
// CHECK-MESSAGES: :[[@LINE-1]]:13: warning: use of '--' is mixed with other operations [bsl-op-mixed-i... | [
"connojd@protonmail.com"
] | connojd@protonmail.com |
55bb37492cbb07d8c670e044a4c3e4ec8f47188e | 7c4c33c1916c6a96355b93dcef4cf9f80e3b2658 | /trafficlights.h | 67b8e5685ecd5062e2dfcf417ad9de0554f7de7f | [] | no_license | AlternatingCurrent/TrafficSimulator | a1849cea237af3cf11fd44070a695f7f7ce4b1be | af5fcf36020d83b45832c2f68368333990dc4e4b | refs/heads/master | 2021-01-13T00:50:13.956450 | 2015-11-18T23:53:12 | 2015-11-18T23:53:12 | 43,818,143 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 903 | h | #ifndef TRAFFICLIGHTS_H
#define TRAFFICLIGHTS_H
#include <QGraphicsPixmapItem>
#include <QGraphicsRectItem>
#include <QGraphicsItem>
#include <QPoint>
#include <QObject>
#include <QString>
#include "subject.h"
class trafficlights: public QObject, public QGraphicsPixmapItem
{
Q_OBJECT
public:
trafficlights(Subje... | [
"juan_condon1@hotmail.com"
] | juan_condon1@hotmail.com |
121d9f2a8308c6cced15efd0e25f7673ad8bf80c | 1266254e5763ec1dbbd861fa2045bcef1edbcec6 | /SurgSim/Math/UnitTests/KalmanFilterTests.cpp | 3f1989cc0b0353d9e794abadbdedc1dacfd4abd8 | [
"Bitstream-Vera",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | simquest/opensurgsim | 0a443f8e54b276f4e41ed991b2fcb3d2b0c0b5a7 | bd30629f2fd83f823632293959b7654275552fa9 | refs/heads/master | 2022-02-13T15:05:47.744267 | 2020-11-24T14:27:19 | 2020-11-24T14:27:19 | 24,512,532 | 30 | 11 | Apache-2.0 | 2022-02-03T20:18:01 | 2014-09-26T19:25:40 | C++ | UTF-8 | C++ | false | false | 4,506 | cpp | // This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions 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/LICE... | [
"rbeasley@simquest.com"
] | rbeasley@simquest.com |
73e1cb5e1eb723f6256f80641933f330ed14b93e | bee5fa0038db0a6f86eb448c89b95d76ca48bdcf | /ScoreBoard.h | fb47aef7262ed13c4c31af48101cedf0a3391fb1 | [] | no_license | RKartodijoyo/QTBasketballScoreV2 | 695e615d3bdffa20d9e5cdc7f2d7129ed89f5cd3 | 9102e740702a77ac139846741df43dfe4afdb8cf | refs/heads/master | 2020-04-11T07:25:27.585225 | 2018-12-14T12:35:53 | 2018-12-14T12:35:53 | 161,609,727 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,636 | h | #pragma once
#include <QWidget>
#include <QTime>
#include <QTimer>
#include<chrono>
namespace score {
namespace cr = std::chrono;
class Team
{
private:
int m_score = 0;
int m_foul = 0;
QString m_name;
public:
Team() { }
Team(int score, int... | [
"noreply@github.com"
] | RKartodijoyo.noreply@github.com |
acb3eeb300a1c3c0ea0c5966aea1770173424553 | 6aa1bc3546f7faae763435de41671e0d2749e987 | /include/crab/analysis/graphs/sccg.hpp | 63157848583e60031966adc31d50b2329ee355b8 | [
"Apache-2.0"
] | permissive | numairmansur/crab | 5e4e75a37be850cb63686ad51c46baf64c28e210 | 316e3946d3a4d92db638c54fbfa8fb7bee1ebbc7 | refs/heads/master | 2020-12-11T08:41:32.929259 | 2020-01-14T10:19:12 | 2020-01-14T10:19:12 | 233,804,159 | 0 | 0 | NOASSERTION | 2020-01-14T09:26:09 | 2020-01-14T09:26:08 | null | UTF-8 | C++ | false | false | 11,274 | hpp | #pragma once
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/strong_components.hpp>
#include <boost/range/iterator_range.hpp>
#include <boost/iterator/transform_iterator.hpp>
#include <memory>
#include <unordered_map>
#include <crab/common/debug.hpp>
#include ... | [
"navasjorgea@gmail.com"
] | navasjorgea@gmail.com |
505b1ed31475eecc6f11a424a57b116ed9fad060 | bbfd75cc3ae72be4bf0203a4cef546d864c669dd | /signal_box.h | 58e9448086084d69273798f6e3c7886e17cb53ff | [] | no_license | TakoSquid/blah-thingy | 694dda36b75e2f661b8ae479c0c0fe4caba61e11 | 1e1a104a4234c463c91e7bb0c9ee08aff6d4c4a9 | refs/heads/master | 2023-05-07T02:12:30.581737 | 2021-05-30T21:03:56 | 2021-05-30T21:03:56 | 363,951,173 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | h | #pragma once
#include <functional>
#include <set>
#include "world.h"
namespace BT
{
class SignalBox : public Component
{
public:
SignalBox();
void addSignalBox(SignalBox* signal_box);
void removeSignalBox(SignalBox* signal_box);
void activate();
void debug() override;
const Vector<SignalBox*> get_lis... | [
"pierrelouis.hernio@gmail.com"
] | pierrelouis.hernio@gmail.com |
ad8aa94d6357c42a3edd1f448cd37888126c1009 | d35b065f5ff72c736c7ce4472b8c36bca76b8ad7 | /oop/Domain.h | bddd8f7af77d4d5f256d02391330f7fbecd8619b | [] | no_license | vitorvilela/multigrid | 292144a5445d15472308e49b10fc19f6c0b39861 | a20ffcc99b814646d7dc61a21e3aca93eb6be5c5 | refs/heads/master | 2020-04-25T16:17:26.096070 | 2019-02-27T17:53:38 | 2019-02-27T17:53:38 | 172,905,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | h | /*
Domain.h
*/
#ifndef Domain_H
#define Domain_H
class Domain {
public:
Domain(double W = 0.0, double E = 1.0);
void setWest(double);
void setEast(double);
double getWest() const { return WEST; }
double getEast() const { return EAST; }
private:
double WEST;
double EAST;
};
... | [
"noreply@github.com"
] | vitorvilela.noreply@github.com |
6d2893321ef3089543dffcacb8d23a5ab4a27bf9 | 5843ce7e16ecce5f812fe4e91cff3c815d0b97b7 | /portal/Protocols/DHCP.h | d4a7768744c67b69552038a5ad2878ff9c09cafc | [] | no_license | venkatarajasekhar/libportal | f64dc5b20f2aae80fb7264b1c7607b3ef477e213 | 960cffa2138ee8d26d91455099e5379cfa1412b4 | refs/heads/master | 2020-06-26T18:19:10.146708 | 2016-10-31T00:35:51 | 2016-10-31T00:35:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,359 | h | #ifndef DHCP_H_
#define DHCP_H_
#include "../Layer.h"
#include "RawLayer.h"
#include "DHCPOptions.h"
namespace Portal {
class DHCP: public Layer {
void DefineProtocol();
Constructor GetConstructor() const {
return DHCP::DHCPConstFunc;
};
static Layer* DHCPConstFunc(... | [
"snrhcn@d.local"
] | snrhcn@d.local |
bcaa83a7f4c8c5d199eb6cc6130091251f4e1798 | de1644ee4099a698e7f3d86f46c789fdf66d0a4d | /UnitTests/FoundationTest/Basics/Types/BitflagsTest.cpp | 3871b2d2fdc6ff21fc0c83964055e7df47bfc729 | [
"CC-BY-3.0"
] | permissive | eltld/ezEngine | 5cbe56c0f033763e1c9478c39e5979ac01430ec6 | 3230235249dd2769f166872b753efd6bd8347c98 | refs/heads/master | 2021-01-12T13:22:24.959311 | 2016-03-28T20:41:35 | 2016-03-28T20:41:35 | 72,212,613 | 0 | 1 | null | 2016-10-28T14:05:10 | 2016-10-28T14:05:10 | null | UTF-8 | C++ | false | false | 2,167 | cpp | #include <PCH.h>
namespace
{
// declare bitflags using macro magic
EZ_DECLARE_FLAGS(ezUInt32, AutoFlags, Bit1, Bit2, Bit3, Bit4);
// declare bitflags manually
struct ManualFlags
{
typedef ezUInt32 StorageType;
enum Enum
{
Bit1 = EZ_BIT(0),
Bit2 = EZ_BIT(1),
Bit3 = EZ_BIT(2),
... | [
"jan@krassnigg.de"
] | jan@krassnigg.de |
b4e185ccd3194e63837831902a4e0fab33e3e5a1 | 7d1bbcfc89bcc60614a2a2338e74d8b0fa48669f | /leetcode/math/263_ugly_number.cpp | 3c406afa9339cf3d9a2d62fb3b01f2092c4d8478 | [] | no_license | Nana0606/basic-algorithms | 3dcfb6554fe28fb8ea007c76e2e0b1aac9012035 | f78317a934d945c1f468c28a7fc65d1560fc880f | refs/heads/master | 2020-03-23T20:09:21.548501 | 2019-05-27T01:47:29 | 2019-05-27T01:47:29 | 142,024,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 433 | cpp | # include <iostream>
using namespace std;
bool isUgly(int num) {
if (num <= 0) return false;
if (num == 1) return true;
while (num != 1){
if (num % 2 == 0){
num /= 2;
}
else if (num % 3 == 0){
num /= 3;
}
else if (num % 5 == 0){
num /= 5;
}
else{
return false;
}
}
r... | [
"“paopaotanglee@126.com”"
] | “paopaotanglee@126.com” |
17e9cd11e18b64bbc72ed94357bdb7d38bfb9bf3 | b35c4dde7e55c03517375d31814c53206a2d5249 | /src/GpuBuffer.hpp | 3ffc3d05f96938b706d3c4187018700f6aadd5bf | [
"MIT"
] | permissive | ronsaldo/radiosity_test | 74e90a22e594c44a0c279ac274c6696ebe20c3c0 | d66a6c1106929f03b5ca9e035449fa4de23f79cc | refs/heads/master | 2021-01-19T09:49:11.833157 | 2017-04-10T15:02:18 | 2017-04-10T15:02:18 | 87,789,633 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,029 | hpp | #ifndef RADIOSITY_TEST_GPU_BUFFER_HPP
#define RADIOSITY_TEST_GPU_BUFFER_HPP
#include "Object.hpp"
#include "GLCommon.hpp"
namespace RadiosityTest
{
DECLARE_CLASS(GpuBuffer);
/**
* The allowable mapping usages.
*/
enum class GpuBufferMapAccess
{
ReadOnly = 0,
WriteOnly,
ReadWrite
};
/**
* I represent ... | [
"roniesalg@gmail.com"
] | roniesalg@gmail.com |
bc7fb12c8226d98ad0664db113ec5af586d1c532 | be6a9fe5190e9d589fb5a93e1f41f1a0c4f2385c | /bezier.cpp | 73193b465ea98bb09cf08cc21c7e4b94f24ee82d | [] | no_license | joseuishuisaq/grafica | 42b87c1bfb264a3991213e6b5ef6ebd45995594e | 768f3e68decb57fc6256df2112a7fd0775ea40aa | refs/heads/master | 2020-11-27T08:47:40.313155 | 2019-12-21T05:25:34 | 2019-12-21T05:25:34 | 229,375,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,117 | cpp | #include <iostream>
#include <stdlib.h>
#include <GL/glut.h>
#include <math.h>
using namespace std;
class Punto {
public:
float x, y;
void setxy(float x2, float y2)
{
x = x2; y = y2;
}
//operator overloading for '=' sign
const Punto & operator=(const Punto &rPunto)
{
x = r... | [
"noreply@github.com"
] | joseuishuisaq.noreply@github.com |
b3b2df3560630a59f23cc21afb68a81d36516bd2 | d7c77018b0c5e7d1e6e24d82fa905a1ac5b0a85e | /PbInfo/cifrecomune.cpp | 1607a0ebdcdfac79c27e1ed5f72dd709f334e98f | [] | no_license | muresangabriel-alexander/cplusplus-competitive | 9396cff60c6be0f5ae3d307f58e350423e336764 | 4a17656ccbea58d779bf5bd74aed5edb9c579ca6 | refs/heads/master | 2021-04-28T07:57:22.419138 | 2018-02-20T18:42:59 | 2018-02-20T18:42:59 | 122,238,407 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
if(a%10==b%10 || a/10==b/10 || a/10==b%10 || a%10==b/10)cout<<"da";
else cout<<"nu";
return 0;
}
| [
"muresangabriel.alexandru@gmail.com"
] | muresangabriel.alexandru@gmail.com |
5ea30deaf07180daef7385c1e4e8a5eeb3087862 | 086c69827926fd7f51a763f9479fc45bb244b11b | /timemachine/cpp/src/context.hpp | 861f0056a786bee60d8c4d7be2b9a2c2755f7b0e | [
"Apache-2.0"
] | permissive | lgsmith/timemachine | 6966fe5d9f5f897f1776e6d062596ae0940069ae | a2f0450eaaa7b7bf2109e449b94d7ce0d930ed6a | refs/heads/master | 2020-06-18T21:05:16.606914 | 2019-07-08T19:05:06 | 2019-07-08T19:05:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,776 | hpp | #pragma once
#include <vector>
#include "optimizer.hpp"
#include "potential.hpp"
namespace timemachine {
// a context is a triple of <System, State, Parameters>
// the context does take ownership of any of the input arguments
// this is meant to be one-shot. You are not allowed to set any internals
// once this c... | [
"proteneer@gmail.com"
] | proteneer@gmail.com |
631ee062b9ebed4544bb42bbf36c06ae772085b4 | 31cae2a7831b352fafe6b5b831619a6cbe22ad7e | /src/JSON/JSONObject.hh | 892c060051837969d3d20c570b0653b8c51b00f3 | [] | no_license | Antonito/cpp_gkrellm | b2cfb09575cef3cae28c610d804eaa1f4c8c8df3 | fc57c9433a8dfe0215ff833170ca845ba0cbbcdf | refs/heads/master | 2021-05-01T05:36:29.378495 | 2017-01-23T00:57:14 | 2017-01-23T00:57:14 | 79,757,457 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 615 | hh | #ifndef JSONOBJECT_HH_
#define JSONOBJECT_HH_
#include <map>
#include <string>
#include "JSONIElement.hh"
namespace JSON
{
class Object : public IElement
{
public:
Object();
virtual ~Object();
virtual std::string str(std::string const &c = "\"") const;
virtual IElement &operator[](size_t index)... | [
"ludovic.petrenko@epitech.eu"
] | ludovic.petrenko@epitech.eu |
e861005fe948e006085621ef8fdb02c620a7b99c | af41d261aca676f6394f5144c07a54163dc2f8d6 | /test/blackbox/rpcdds_fastrtps/Inheritance/InheritanceServerExample.cxx | eae2b309cd86c98f353340154b5895a84cd8b6f4 | [
"Apache-2.0"
] | permissive | eProsima/RPC | 8db60788dc11581a537d3a0b0d618712149b6f02 | 85274fa21290c5382044904d459afd17b38ebca7 | refs/heads/master | 2023-06-15T02:11:52.032899 | 2022-05-23T10:16:33 | 2022-05-23T10:16:33 | 23,354,606 | 55 | 32 | Apache-2.0 | 2023-06-05T13:45:12 | 2014-08-26T14:29:12 | C++ | UTF-8 | C++ | false | false | 2,493 | cxx | /*************************************************************************
* Copyright (c) 2013 eProsima. All rights reserved.
*
* This generated file is licensed to you under the terms described in the
* fastrpc_LICENSE file included in this fastrpc distribution.
*
***********************************************... | [
"RicardoGonzalez@eprosima.com"
] | RicardoGonzalez@eprosima.com |
a284843091048c0af541ff72628862b5b4e6f1dc | a2bc4234280b841a1a990328f86473a819413726 | /cpp05/ex00/Bureaucrat.cpp | dbb8c9aed5ee52a0213041fff5de5677a2464e46 | [] | no_license | rhc716/cpp_module | 9861f34aa06963e3d3a552279ae106203bb459de | ff2ddb13267a16cea8ebfb3c519575d143565008 | refs/heads/master | 2023-04-09T17:49:44.739682 | 2021-04-15T11:53:55 | 2021-04-15T11:53:55 | 350,720,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,520 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Bureaucrat.cpp :+: :+: :+: ... | [
"jack716@naver.com"
] | jack716@naver.com |
a6f7d13f85e306e0e56b2add9c9fdb049d9f2505 | 0a884ca9a0134979666e4d3352bda5432098aed2 | /src/components/model.hpp | dced628127916ed46426898d10d173c7568bee24 | [
"MIT"
] | permissive | mattvchandler/mazerun | f78e6d6610c0bc9722e064843492464a28675672 | 2aa9a5766973993c2a83061d3a004691c2b07c09 | refs/heads/master | 2020-04-09T18:03:48.159643 | 2019-06-18T19:42:12 | 2019-06-18T19:42:12 | 24,897,424 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,485 | hpp | // model.hpp
// imported model component
// Copyright 2015 Matthew Chandler
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
/... | [
"tardarsauce@gmail.com"
] | tardarsauce@gmail.com |
80c6087cb0beb63b86c0899abcf641e2787b31ee | b73b4cffebc5499b233e65552bec88fae172550d | /uva10284.cpp | 888bc5bd89738e8b58cb11155d1b8a8c960f7d34 | [] | no_license | yunomeow/UVaPractice | f01bbb20da270b17a27e4e52314683b5860c4532 | 1139ce17195c4bef810a261fee4cc454815d9c01 | refs/heads/master | 2020-03-27T23:54:12.642666 | 2018-09-04T14:58:06 | 2018-09-04T14:58:06 | 147,356,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,354 | cpp | #include <iostream>
#include <cctype>
using namespace std;
int use[10][10];
char MAP[10][10];
int dir[16][2] = {1,0 ,0,1 ,-1,0 ,0,-1,
1,1,1,-1 ,-1,-1 ,-1,1,
1,2 ,-1,2 ,1,-2 ,-1,-2,
2,1 ,-2,1 ,2,-1 ,-2,-1
};
int ok(int x,int y){
if(x >= 0 && y >= 0 && x < 8 && y < 8)return 1;
return 0;
}
void print(){
for(i... | [
"yunomeow.jp@gmail.com"
] | yunomeow.jp@gmail.com |
b98666e60ec698ff265e458c6f9421eb2cf0c35e | 4e8548ed98d96146297393e623cb38fbcc77371b | /dbcon/dmlpackage/dmlobject.cpp | 66041825b87ec84c699dd0a3297836eb6060675e | [] | no_license | hans511002/erydb_rep | 9d5a0be919e5d026e921c7fbe000dc70dc7d7ab6 | a2c391b3c36745cb690ce33a22d8794371493ef2 | refs/heads/master | 2021-01-15T12:02:01.093382 | 2018-08-09T10:57:26 | 2018-08-09T10:57:26 | 99,639,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,054 | cpp | /* Copyright (C) 2014 EryDB, Inc.
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; version 2 of
the License.
This program is distributed in the hope that it will be useful,
but WITH... | [
"hans511002@sohu.com"
] | hans511002@sohu.com |
057df0277e08378dc6c55d4eb5d25c588106ca6e | d1aceae1db7554c376acb027854109c61edc3b9e | /cpp/src/examples/ucx_join_example.cpp | 12c2ee8c84ef825f8194c4c0734fc66bb7627103 | [
"Apache-2.0"
] | permissive | emg110/cylon | 64bfe73615b6c7445853601ab9fd6d2f4cb61958 | 8ab8b2d6f3e087d5e5d666f8606e1c08df2fc4c4 | refs/heads/main | 2023-07-22T17:50:09.710118 | 2021-09-11T12:52:41 | 2021-09-11T12:52:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,851 | cpp | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | [
"noreply@github.com"
] | emg110.noreply@github.com |
c7b1c44f318fc6b76c38cdcfb3ae9403d9063289 | 7ca865d5c1fedc22c02f2ae59dcdf18f0fa521b7 | /src/IL_infomat_twin_misconly.cpp | cd3de99bd4a707f8fe4e8fde0ca764c780a22fbb | [] | no_license | QihuangZhang/GeneErrorMis | c8b7ce0693a105d0c81ea0b547a9f49b92c53793 | a6389642ead11efe5b662a10bbc85d9efcbed99e | refs/heads/master | 2021-07-09T19:07:54.903820 | 2021-03-20T03:26:55 | 2021-03-20T03:26:55 | 236,824,708 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,221 | cpp | # include <Rcpp.h>
using namespace Rcpp;
// [[Rcpp::export]]
NumericMatrix IL_infomat_twin_misconly(NumericVector w, NumericVector v, NumericVector Y1star, NumericVector Y2star, NumericMatrix Covariates, int isY2in, NumericMatrix CovMis2, double rho,
NumericVector beta1, NumericV... | [
"qihuang.zh@gmail.com"
] | qihuang.zh@gmail.com |
b4ae60bafd6850e58f6ec2619da9b7fb5035e174 | 56082c3eb04c9b7db33a5dc9649fbdd1d8198565 | /Settings.cpp | 825434baf534ac0f3262f6898fdf2830ff2d1cab | [] | no_license | TimurZnamenity/StreamMath | 6ff164233586133dc0645cff2609bb9bca1e7744 | 07f3c326b15a3d7da46ba03aa7404c07187a2c8b | refs/heads/master | 2022-08-27T16:38:33.586748 | 2020-05-27T15:28:42 | 2020-05-27T15:28:42 | 267,260,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,244 | cpp | #include "Settings.hpp"
#include <QFile>
#include <QDebug>
#include <QJsonObject>
#include <QJsonDocument>
#include <QJsonArray>
Settings::Settings()
{
}
QString Settings::value(QString key)
{
QFile settingsFile { "settings.json" };
if ( !settingsFile.open( QIODevice::ReadOnly | QIODevice::Text ) )
{
... | [
"cdx@list.ru"
] | cdx@list.ru |
c9a9995d66528a08f30b740f8e3b69b24634fe08 | 20049d88e2e8f0e1904efc561103c1d84d21507a | /sachuk.ilya/common/rectangle.cpp | 8daddc444005540b2b3095483795fc97c6e284e1 | [] | no_license | gogun/Labs-for-SPbSPU-C-course-during-2019 | 5442a69152add3e66f02a7541e8dc8dd817f38a1 | 16ade47b859517a48d0fdb2e9704464bce4cc355 | refs/heads/master | 2022-01-09T16:02:54.728830 | 2019-06-06T11:06:33 | 2019-06-06T11:06:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,215 | cpp | #include "rectangle.hpp"
#include <iostream>
#include <stdexcept>
sachuk::Rectangle::Rectangle(const point_t & point, double w, double h):
center_(point),
width_(w),
height_(h)
{
if ((width_ <= 0) || (height_ <= 0)) {
throw std::invalid_argument("Invalid arguments");
}
}
double sachuk::Rectangle::getAre... | [
"ilya-sachuk@mail.ru"
] | ilya-sachuk@mail.ru |
399fc283b54615e1fd3052547700466b79a8c123 | d9fbb96ac2afd5d250809a5f510fdeba955aea77 | /mixed programs/the remainder.cpp | 076fea5d99fe1065461fe9eceb45bf4873085611 | [] | no_license | collab-tripti/competitive | 02cb83c88f4b83aa1edffd4fd15de3b021aa5834 | c8047e4ad6e1a0bf926225c9da3c76e921ad2c97 | refs/heads/master | 2022-07-16T10:48:41.688964 | 2020-05-19T09:31:16 | 2020-05-19T09:31:16 | 261,931,469 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | cpp | #include<iostream>
using namespace std;
int main()
{
int t;
cin >> t;
int a[t],b[t],o[t];
for(int i=0;i<t;i++)
{
cin >> a[i]>>b[i];
o[i]=a[i]%b[i];
}
for(int i=0;i<t;i++)
{
cout << o[i] << endl;
}
return 0;
}
| [
"Triaa@penguin"
] | Triaa@penguin |
de6d698e7a651e37f180483768b505a39752bd16 | de2b4084bbc70d7b5ae9c01e63709c4dbbba9288 | /AlgoSpot/11_Data_Structure/ITES.cpp | 7636fe14b925649b0831adb2e510f13da619fd65 | [] | no_license | hanky3/HLP_CodeJam | fc8d62d6611f56af899a18af26936a3d832be7f5 | e11c5cda4f576d8f41df50322fd4f9ddd0b51490 | refs/heads/master | 2021-05-08T10:20:24.451982 | 2018-12-18T00:44:27 | 2018-12-18T00:44:27 | 119,838,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,929 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <vector>
#include <map>
#include <algorithm>
#include <queue>
using namespace std;
#define INF 0x0FFFFFFF
#define MAX_V 1001
FILE *fpInput = NULL;
FILE *fpOutput = NULL;
int K, N;
unsigned long long previousNum;
int randomGenerato... | [
"34890345+hanky3@users.noreply.github.com"
] | 34890345+hanky3@users.noreply.github.com |
b045d5187e5e0b03ad44281b2fe12c77917a9ac4 | 066aa9c40e49b0b5dd796cf7e2e4a9b1fca538a9 | /torch_glow/src/ShapeInferenceEngine.cpp | ff92274ba8bbc6b8a0079329eb8d1e2b04792f8d | [
"Apache-2.0"
] | permissive | Qturing/glow | 4d9617ec3a2758afd2eac336e89378bc409f36a0 | 70bfa5ae290af743132db4ea357a64d06e7c2418 | refs/heads/master | 2023-02-09T23:29:54.404119 | 2021-01-05T23:31:48 | 2021-01-05T23:33:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 58,887 | cpp | // Copyright 2004-present Facebook. All Rights Reserved.
#include <ATen/WrapDimUtils.h>
#include <iostream>
#include <string>
#include <torch/script.h>
#include <unordered_set>
#include <vector>
#include "ShapeInferenceEngine.h"
#include "glow/Support/Error.h"
#include "glow/Support/Support.h"
DEFINE_string(shapeIn... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
b5ef985e1aed03b91cce651ae8759440b1fecdc9 | 66d8fe190115560dedddc237767a8414cf86e5b7 | /131044021_HW4/main.cpp | 677b6156e7baefa132c3d42027d02ce95628ef0e | [] | no_license | busrarslan/Object_Oriented_Programming_Hws | 53880c04ef507a9ce3edfe6b8b5b2eb42ceb2108 | 8debbc93e47a529533b8a67eaecbde00938e8b95 | refs/heads/master | 2021-01-01T16:32:43.062426 | 2017-07-20T16:22:43 | 2017-07-20T16:22:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,105 | cpp | /*
* File: main.cpp
* Author: Busra Arslan 131044021
* HW4
* Description:
* CPU, CPUProgram , Memory ve Computer classlarinda istenilen tum fonksiyonlar yazildi.
* Constructorlar kullanildi.
* Private olarak kullanilan tum degerlere setter ve getter yazildi.
* ... | [
"noreply@github.com"
] | busrarslan.noreply@github.com |
c366d104c6b976bf29079f5c7f049683060b5ff8 | c7bb17447090c359eb9ce240c58189bc934a19a2 | /ouzel/graphics/opengl/windows/OGLRenderDeviceWin.cpp | 5738a13f29f057cc77f77f5cfcfb51010837ff60 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | jaccen2007/ouzel | f06ee604c250d19f6ab23e4414b097ebbbd1e013 | 6981f79f6ddf5fb93d4cacf6e6357383a0cf7d2f | refs/heads/master | 2022-01-08T15:04:10.811120 | 2019-07-19T12:35:16 | 2019-07-19T12:35:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,409 | cpp | // Copyright 2015-2019 Elviss Strazdins. All rights reserved.
#include "core/Setup.h"
#if defined(_WIN32) && OUZEL_COMPILE_OPENGL
#include <system_error>
#include "GL/glcorearb.h"
#include "GL/glext.h"
#include "GL/wglext.h"
#include "OGLRenderDeviceWin.hpp"
#include "core/Engine.hpp"
#include "core/Window.hpp"
#inc... | [
"elviss@elviss.lv"
] | elviss@elviss.lv |
d5f2a5d1910fe26b6d6912bfd5cc77264bbc6e23 | b3840f19a2fc41a5634420219ec3d8ddfc9c1dcc | /UI Source code/ArduEye_UI/main.cpp | c011afcc7ea468f3a0ef3b488f4d894e23cbf471 | [] | no_license | centeye/ArduEye-Serial-UI | bf8cd6fb8dc06c68331e09ad91405b7839da5d26 | c0232c05dc959b77d454306f101cc644a7044761 | refs/heads/master | 2021-01-01T05:53:06.524780 | 2011-10-26T01:07:05 | 2011-10-26T01:07:05 | 2,240,247 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 328 | cpp | /* Main.cpp - main event loop.
This function is a generic Qt UI event loop
*/
#include <QtGui/QApplication>
#include "ArduEye_UI.h"
#include <QtDebug>
int main(int argc, char *argv[])
{
QByteArray Dat, OutDat;
QApplication a(argc, argv);
ArduEyeUI w;
w.show();
return a.exec... | [
"alison.nj.leonard@gmail.com"
] | alison.nj.leonard@gmail.com |
a72e38742cedeac9f5ef4066b5c7d979e03d671a | 0a3b180c27b93f54e856758f9ea898498bfb86cf | /src/uvloop.cpp | b64cf4e4de406a261bd8ea628f96094188f15c8d | [] | no_license | AmyrAhmady/samp-node | b009a7ff3d63d352c0aee349b746a8ab39b90a4d | 671643925c824c4be1d84f722ce4a0fcc4551814 | refs/heads/master | 2022-01-16T19:30:11.513487 | 2021-12-28T08:33:25 | 2021-12-28T08:33:25 | 241,878,597 | 83 | 17 | null | 2021-12-02T22:50:05 | 2020-02-20T12:28:52 | C++ | UTF-8 | C++ | false | false | 376 | cpp | #include "uvloop.hpp"
UvLoop::UvLoop(const std::string& loopTag)
: m_loopName(loopTag)
{
uv_loop_init(&m_loop);
m_loop.data = this;
uv_run(&m_loop, UV_RUN_NOWAIT);
}
UvLoop::~UvLoop()
{
uv_async_t async;
uv_stop(&m_loop);
uv_async_init(&m_loop, &async, [](uv_async_t*)
{
});
uv_async_send(&async);
uv_c... | [
"amirabgta@gmail.com"
] | amirabgta@gmail.com |
406241cbaf0bbd5572116c7a1141b90af11e8556 | 577e4132f254be45d8c406677385723042be817e | /src/entity.hpp | 9d7df73affe2db7002ec2ea53404cf5f9f534457 | [] | no_license | shrapx/ludum_dare_32 | 7004eb5828434a7761b30387957cf8ae42467861 | 1d79661ed0b2aeb8253a426c4d588a9fbe52c465 | refs/heads/master | 2020-04-05T02:18:25.834639 | 2015-04-20T16:40:57 | 2015-04-20T16:40:57 | 34,112,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | hpp | #ifndef _ENTITY_HPP_
#define _ENTITY_HPP_
using namespace std;
class EntityBase : public sf::Sprite
{
public:
sf::Vector2f tile_position;
sf::Vector2f tile_unit_pos;
sf::Vector2f tile_normal;
sf::Vector2f water_vector;
float water_age=0;
float water_y;
float tile_angle;
int anim_frames = 0;
int rotat... | [
"shrapx@gmail.com"
] | shrapx@gmail.com |
71e3fffb55ccb1fa5acbd6e28a190caca16e942d | b883e65d19362c6db8b593e0631a7e4a5f29776e | /server.h | 2e62064fa7e6f19974299a97e0dc4a101f12e859 | [] | no_license | kpa0art/primetech | 4835451683ec270d0c1e8507c4917a872ab271d7 | 7ab1309e4e286fe36991be047248c24bb37b072a | refs/heads/main | 2023-02-20T13:15:48.753043 | 2021-01-12T00:51:39 | 2021-01-12T00:51:39 | 324,782,678 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | h | #pragma once
#include <string>
#include <netdb.h>
#include <stdexcept>
#include <cstring>
#include <iostream>
#include <unistd.h>
#include <memory>
#include <vector>
#include <map>
#include <arpa/inet.h>
#include "package.h"
#include "file_builder.h"
#include "logger.h"
//#define DEBUG
using namespace std::chrono;
... | [
"kpa0art.work@gmail.com"
] | kpa0art.work@gmail.com |
85d6784a75a96da84d40ecf527a4a610b1fac96a | de90599856ce6994cce2f760947e610c363b9f1f | /Data Structures And Algorithms/Algorithms/Sorting/Insertion Sort/Src/Main.cpp | 4ae426ec35e9d5973613309730b56ee3e28014c4 | [] | no_license | CarMoli/CPlusPlusProgramming | eb72c819d09d2fec0cbafbf5b7db493d9ef1f646 | 154b7d03a521b8efbdc8401077c7fae42b45cf69 | refs/heads/master | 2023-04-19T19:56:12.038271 | 2021-04-28T03:17:47 | 2021-04-28T03:17:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,679 | cpp | #include <iostream>
class InsertionSort
{
protected:
int arr[5];
public:
InsertionSort();
void inputInertionSort();
virtual void insertionSortConditionAscending();
virtual void insertionSortConditionDescending();
};
InsertionSort::InsertionSort()
{
arr[5] = 0;
}
void InsertionSort::... | [
"69786531+BillyFrcs@users.noreply.github.com"
] | 69786531+BillyFrcs@users.noreply.github.com |
c09f6363ef8961f36f23fe375501fe36658f21c4 | 1c589bc1ed95b7459c5bb1550b0b8aee4ad53b1f | /Lab 5/source/BaseGame.cpp | 8a6260018a4ba72bf47adeaa4fabaf8cb4d54f29 | [] | no_license | p12194892/robot_assignment | d9df0766b35ced561a3fa179cb67482319002c4b | 8a5fd43deaa6de9d2786f1440d8cf3fcc9efc1c9 | refs/heads/master | 2021-06-08T21:36:26.186256 | 2017-01-09T13:52:45 | 2017-01-09T13:52:45 | 74,667,585 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,810 | cpp |
#include "BaseGame.h"
#include <vector>
#include <glm\glm.hpp>
#include <glm\gtc\type_ptr.hpp>
#include "CameraComponent.h"
#include <glm\glm.hpp>
#include <glm\gtc\matrix_transform.hpp>
#include <glm\gtc\type_ptr.hpp>
#include <glm/gtx/transform.hpp>
#include "tinyxml2.h"
#include <iostream>
using namespace tinyxml2;... | [
"p12194892@my365.dmu.ac.uk"
] | p12194892@my365.dmu.ac.uk |
87f477e7d1c979c2343287100a9623ffb1a804b0 | f2e1ef881c5835fce122f8076f484c0475bff9df | /include/LuminoEngine/Runtime/FlatCommon.h | 76d7aa96ed3b0d19074c234623bf3d06ef14a02b | [
"MIT"
] | permissive | lp249839965/Lumino | def5d41f32d4a3f3c87966719fd5ded954b348cc | 94b1919f1579610fc6034c371cf96e7e8517c5e9 | refs/heads/master | 2023-02-13T09:33:22.868358 | 2020-12-22T15:30:55 | 2020-12-22T15:30:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,486 | h | #pragma once
#if !defined(LN_FLAT_API)
#if defined(_WIN32) && defined(LUMINO_BUILD_DLL)
#define LN_FLAT_API __declspec(dllexport)
#elif defined(__GNUC__) && defined(LUMINO_BUILD_DLL)
#define LN_FLAT_API __attribute__((visibility("default")))
#else
#define LN_FLAT_API
#endif
#en... | [
"lriki.net@gmail.com"
] | lriki.net@gmail.com |
503a7f78fa10d3de03e84d939ccc648450f3ed4d | fb136dc7a713fd6751395f842d70ef9b400ff4f3 | /Year3/CCS/MCP/Assignment/karman3.cpp | fd2afc8678e7262da53fe89c83ec92de480067ce | [] | no_license | ehockedy/backup | a1ae35c30b7b29ef9c29e32cb1689b2a38e3ca01 | de7590711ab59b58481807a2c94288756832d60e | refs/heads/master | 2020-07-21T19:25:47.937301 | 2017-04-24T23:39:22 | 2017-04-24T23:39:22 | 73,841,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 69,815 | cpp | /*
=======================================================================
This example follows the book from Griebel et al on Computational Fluid
Dynamics. It realises a test setup from TUM's CFD lab.
(C) 2016 Tobias Weinzierl
=======================================================================
Getting star... | [
"edhockedy@hotmail.com"
] | edhockedy@hotmail.com |
d0730e8ffe25c44508b1087dbc0f42f08fa21f60 | ea537927ff592c52b8ae13ffff69f1b3c58e4d48 | /video/opengl/OpenGL_shader_depth.cpp | a311b0b108dad75a45b26376b402711724199f7d | [
"MIT"
] | permissive | 124327288/YuYu | eacbcbd496ee5032dcf4fdc4fc2dbc4c7b767e1e | f3598899ae5e6892a6b5d546bb0849f5d6a3c5a8 | refs/heads/main | 2023-02-26T03:07:04.273960 | 2021-01-25T20:56:28 | 2021-01-25T20:56:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,838 | cpp | #include "yy.h"
#include "OpenGL.h"
#include "OpenGL_shader.h"
#include "OpenGL_shader_depth.h"
#include "math/mat.h"
OpenGLShaderDepth::OpenGLShaderDepth()
{
m_program = 0;
m_VAO = 0;
m_uniform_World = 0;
m_uniform_LightView = 0;
m_uniform_LightProjection = 0;
}
OpenGLShaderDepth::~OpenGLShaderDepth()
{
if... | [
"artembasov@outlook.com"
] | artembasov@outlook.com |
535368fd9b512e647251baa4aeb43a1b20f66b7a | 45a481fd0d3037f0dc9ba24a8f2180d7891bcbc0 | /GeometricTools/GTEngine/Source/Graphics/DX11/GteDX11Texture2.cpp | 809180eb36c092babf6b65f6bb60b4be8332fe42 | [] | no_license | macga/maskito-ios | 92cca5a2ac3ab8a9120bb4ad014d2e8eda171e07 | 2cc752efd60204fd2226bbac60182bb6b4d30462 | refs/heads/master | 2021-06-08T05:43:19.064682 | 2016-12-01T03:44:56 | 2016-12-01T03:44:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,556 | cpp | // Geometric Tools LLC, Redmond WA 98052
// Copyright (c) 1998-2015
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// File Version: 2.0.0 (2015/09/23)
#include <GTEnginePCH.h>
#include <Graphic... | [
"gpj@foursquare.com"
] | gpj@foursquare.com |
26ffc53b710fbd6d4fec51b179b15710ad4ca8ab | 6c755bc109be462652ebd321145aa930f20726cd | /1/1_Cuatrimestre/FP/Practicas/Sesion_7/Opcionales/Ejercicio_33_(Numero_feliz).cpp | 00b1c617a03b88917d2ae1b352cce750d89a8c4d | [] | no_license | jagolu/Universidad | 150dcbc66a087dd09849b126076f92e022faeba7 | e26fa9847167ab3919d700bcb975e0b1fd813839 | refs/heads/master | 2021-01-19T00:40:38.709662 | 2019-07-02T15:01:58 | 2019-07-02T15:01:58 | 73,117,449 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main(){
int n, n2, n3=0, i, cifra, m=0;
cout<<"Introduzca un numero entero: ";
cin>>n;
do{
n2=n;
n3=0;
for(i=1;i<=n;i=i*10){
cifra=n2%10;
n2=n2/10;
n3=n3+(pow(cifra,2));
}
if(n3>=10){
n=n3;
}
else if(n2==0){
n=1;
}
... | [
"javo14795@gmail.com"
] | javo14795@gmail.com |
b43c68741cac1b216bca75b72cfe401cb366fe5b | eaa0e6c89f2ee0e5f3990edc0621e9d4caf92d97 | /src/runtime_lib/infra_julienne/nibble.h | 08d12c6cd45ebf31828e47f79b248b4ed4c9f4e3 | [
"MIT"
] | permissive | ldhulipala/graphit | 4fc4060c6de26caa559096681e2176e730ac647c | 708cb2947518d6aebaa62407ebe97d08a9030f4d | refs/heads/master | 2020-09-10T22:03:05.422041 | 2019-11-15T21:10:38 | 2019-11-15T21:10:38 | 221,845,762 | 0 | 0 | NOASSERTION | 2019-11-15T04:44:56 | 2019-11-15T04:44:55 | null | UTF-8 | C++ | false | false | 11,740 | h | // This code is part of the project "Smaller and Faster: Parallel
// Processing of Compressed Graphs with Ligra+", presented at the IEEE
// Data Compression Conference, 2015.
// Copyright (c) 2015 Julian Shun, Laxman Dhulipala and Guy Blelloch
//
// Permission is hereby granted, free of charge, to any person obtaining ... | [
"ajaybr@mit.edu"
] | ajaybr@mit.edu |
59169c338a180995a5bf39757c02b519fee7345f | dceab0b4e5bfb68bf6de77c6327b6c77b9e00bd4 | /Gemini/Engine/Graphics/Sprite.cpp | 86a646eea710b85e9edbb1f47fe59558ec1146a5 | [
"MIT"
] | permissive | drahenshaw/Gemini | 2596855c258f118b3a731d93221b04bfaf7c3da3 | 71a4f215daf1dd10c9076aaacc1292a6a039b89b | refs/heads/master | 2021-10-19T09:20:29.775020 | 2019-02-20T00:37:02 | 2019-02-20T00:37:02 | 167,228,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,218 | cpp | #include "Sprite.h"
#include "../Engine.h"
const int GEMINI_DEFAULT_SPEED = 100;
//Constructs a Textureless Sprite
Sprite::Sprite()
{
position_ = Vector3(0);
rotation_ = 0;
speed_ = GEMINI_DEFAULT_SPEED;
scale_ = Vector3(1);
size_ = Vector3(0);
}
//Constructs Sprite with Texture
Sprite::Sprite(std::st... | [
"drahenshaw@gmail.com"
] | drahenshaw@gmail.com |
cae36d0ad92fffac3eb8f03d01e91c0c209a0347 | c08bd267d70647131a856d0b2ec4e29c1db85218 | /EDA 1er año/PeliculasResuelto.cpp | 389aa27bd9a4e61c9760340d13622b08844355e2 | [] | no_license | Vantile/EDA | e93b7513347e6eaa1dd4173f3218578b82ee761f | 03d9b35a1094f3d0d206bb7d2f483bc620422a39 | refs/heads/master | 2020-05-21T02:35:40.518130 | 2017-11-24T22:29:02 | 2017-11-24T22:29:02 | 84,556,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,410 | cpp | #include <iostream>
#include <iomanip>
#include <vector>
#include <stdexcept>
#include <string>
#include <algorithm>
using namespace std;
class Horas
{
public:
Horas()
{
horas = 0;
minutos = 0;
segundos = 0;
}
Horas(int h, int m, int s)
{
if (h <= 23 && h >= 0 && m >= 0 && m <= 59 && s >= 0 && s <= 59)... | [
"vantilesyfon@gmail.com"
] | vantilesyfon@gmail.com |
49edea0f8861162c07b8020aee089aa0da632acc | 622e2dca03240309e1e2195366b9507661602b28 | /Challenges Bitmasking/Counting set bits/solution.cpp | 4a2423d668b1211d47db88703c9485b7d82a7ca3 | [] | no_license | akash350poria/CodingBlocks | 511c8357f7ae5b7f7daf319faf7ac30ece073521 | 0a6be9476519f84b592de0dbe38f995a799aadbf | refs/heads/master | 2023-03-03T08:13:37.829766 | 2021-02-12T15:29:40 | 2021-02-12T15:29:40 | 291,919,811 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | #include <iostream>
using namespace std;
int countBits(int n)
{
int ans = 0;
while (n > 0)
{
n = n & (n - 1);
ans++;
}
return ans;
}
int main()
{
int t;
cin >> t;
int n;
while (t--)
{
cin >> n;
cout << countBits(n) << endl;
}
return 0;
} | [
"akash350poria@gmail.com"
] | akash350poria@gmail.com |
204c1c842bd219cfc72af6b0e28ebaad7dcc5978 | cdb55dbdd700a3f456bc67775374dd2a5f99f049 | /test/src/physics/collision/narrowphase/algorithm/epa/EPAConvexObjectTest.h | cce5abca291eb70a809858ac7a81060ac9c70434 | [
"MIT"
] | permissive | wangscript007/urchinEngine | 1bfd6fb9ae6ed30154d29b082856101b9a8ef202 | 88f5f70d319299e2df6c006cdeabd6bfb622437b | refs/heads/master | 2022-12-30T18:06:53.231268 | 2020-10-07T19:03:56 | 2020-10-07T19:03:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 388 | h | #ifndef URCHINENGINE_EPACONVEXOBJECTTEST_H
#define URCHINENGINE_EPACONVEXOBJECTTEST_H
#include <cppunit/TestFixture.h>
#include <cppunit/Test.h>
class EPAConvexObjectTest : public CppUnit::TestFixture
{
public:
static CppUnit::Test *suite();
void overlapSphereAndBox();
void overlapCapsule... | [
"petitg1987@gmail.com"
] | petitg1987@gmail.com |
b8dfe7068b4fe40e9ae7220f0a8b7aaf8fa11a5c | 164e709dcf03ce4769c3ba8f874da0666c35bc03 | /RtTpsRenderLibrary/graphic_object/tps_rl_hot_spots_graphicobject.cpp | 192549fcc106c08878feae944d0bab930db4cd98 | [] | no_license | liq07lzucn/tps | b343894bcfd59a71be48bd47d6eff6e010464457 | a3be6dc50c5f9a2ff448ecff3f5df1956e26ad4f | refs/heads/master | 2021-06-23T16:35:01.349523 | 2017-08-30T08:09:02 | 2017-08-30T08:09:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,969 | cpp | ////////////////////////////////////////////////////////////////
/// Copyright (c) Shanghai United Imaging Healthcare Inc., 2013
/// All rights reserved.
///
/// \author LI Song song.li@united-imaging.com
///
/// \file tps_rl_hotspots_graphicobject.cpp
///
/// \brief class CrosshairGraphicObejct implementatio... | [
"genius52@qq.com"
] | genius52@qq.com |
4ef4df39456a15810f5542b597b5ebcc5b23bca4 | 6f20136c14684eb6f1ede09da49074ef9f3b4c8c | /robot2018/src/Commands/Chassis/Turn.cpp | 93f27cfeb6cdbbb48f7314214309c7ccbe8e92d3 | [] | no_license | Team3835Vulcan/robot-2018 | 952e8024e0b28a347e9d5cd29a2451f8d364fcc6 | 180bf153327f67e594cf1c55f548863d7c8d87be | refs/heads/master | 2021-03-27T16:31:40.225482 | 2018-06-05T12:09:15 | 2018-06-05T12:09:15 | 116,581,372 | 1 | 0 | null | 2018-01-11T19:05:00 | 2018-01-07T16:34:02 | C++ | UTF-8 | C++ | false | false | 1,412 | cpp | #include "Turn.h"
#include <Subsystems/Chassis/Chassis.h>
#include <cmath>
Turn::Turn(double angle) : m_angle(angle), m_controller(0,0,0),
m_timeout(angle/45.0) {
// Use Requires() here to declare subsystem dependencies
m_controller.SetPID(0.025,0,0.0015);
m_controller.SetInputRange(0,360);
m_controller.SetOutput... | [
"nd.strahilevitz@gmail.com"
] | nd.strahilevitz@gmail.com |
a8b4645bb6c9ffa6ac2d8757caed3644784c3b5a | 872e493bb8649ab40f94264d1d5e26e572c7946f | /MediaPlayer(Server)/title.cpp | 8c977605e0f47f987ef88ca382598ce12cc6964d | [] | no_license | MasterDjefer/MediaPlayer | 276e2b35cc62bd7b51dfc7d2d737b798867a5140 | a2667f05d1ed292a2e846b12d3b11fc941f693fe | refs/heads/master | 2020-04-17T15:03:00.961355 | 2019-02-02T20:06:29 | 2019-02-02T20:06:29 | 166,683,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 153 | cpp | #include "title.h"
Title::Title(const QString title) : MusicInfo(title)
{
}
QString Title::toString() const
{
return QString("Title: " + mData);
}
| [
"kostia210@gmail.com"
] | kostia210@gmail.com |
b62bd4e4dd738c34ce9ad72966adfb74070880ac | 003675a2e2be3f835efd723626f0ee6d862e914f | /Codeforces/A/1333A.cpp | 090af292e40129d3c1ddae63e8177c86436337ff | [] | no_license | AkibShahrear/Competitive-Programming | 6f4b26af1ae011d3cf45885dc86c4f64fca4334d | 7fba94f669881dd7e7cb63b264c288c380c5d544 | refs/heads/main | 2023-08-12T16:57:41.020418 | 2021-10-18T19:49:44 | 2021-10-18T19:49:44 | 323,955,265 | 0 | 0 | null | 2020-12-23T17:17:59 | 2020-12-23T16:49:51 | null | UTF-8 | C++ | false | false | 500 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
int n,m;
cin>>n>>m;
char a[n][m];
for(int i=0;i<n;i++)
{
for(int j=0;j<m;j++)
{
if(i==0 && j==0)
{
... | [
"noreply@github.com"
] | AkibShahrear.noreply@github.com |
5f8e7510e26649471c5b50b3ef816b4f908a88d9 | e7f09311ac30590f7ac7a21b626ad74641d7b80b | /src/object.cpp | 65e118b86eea4070f7dfc68ba597acc811041a64 | [] | no_license | Smedase-White/mp2-lab3-stack | 929d3e1ed168d5f829b3f9510a8d2437cf70317d | bcd4404d30fbfec383a912748a9ce5002851d979 | refs/heads/master | 2023-01-29T18:06:42.967119 | 2020-12-04T14:10:32 | 2020-12-04T14:10:32 | 318,536,311 | 0 | 0 | null | 2020-12-07T12:59:53 | 2020-12-04T14:11:54 | C++ | UTF-8 | C++ | false | false | 2,144 | cpp | #include "objects.h"
#include <string>
Number::Number(int _num)
{
setType(tNumber);
num = _num;
}
Number::Number(Object& o)
{
setType(tNumber);
num = o.getSomething();
}
int Number::getSomething()
{
return num;
}
int Number::getSomething(const int num)
{
return num;
}
int Number::getSomething(const int num1... | [
"unconfigured@null.spigotmc.org"
] | unconfigured@null.spigotmc.org |
8e43335e606313b972fe04b4dc3a768a9920ceab | 5a0d25eb307984f564527bc1875933b9b68f612e | /ptz/tour8/G/g_prec.cpp | d236ba1c88fe8a6fd22478dc6befebf068c3c81f | [] | no_license | ssmike/acm | b42e74f7456e7961ccf1fda36b3e2cf90b2b6076 | c9ce1876ce3a3ad23846923a2bce85b53dc64c82 | refs/heads/master | 2016-09-09T22:19:19.502341 | 2015-08-21T17:04:32 | 2015-08-21T17:04:32 | 30,544,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,536 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <vector>
#include <iostream>
#include <cassert>
#include <cmath>
#include <string>
#include <queue>
#include <set>
#include <map>
#include <cstdlib>
using namespace std;
#define INF 1e+9
#define mp make_pair
#define pb push_back
#define fi first
#defi... | [
"surinmike@gmail.com"
] | surinmike@gmail.com |
54c4c18b77012fe74b2cacb2fcdc8bea6c8fe1fb | ded3e1f3d432a8b9e5cf96f87b1e7858705bcb95 | /2017校招真题/18.cpp | eccbc314245f57732bff3021332e3e0b3e994818 | [] | no_license | VikingStudyHard/practiceOnHDU | 8998b190938a4178cc661c9a927ce177e240a26e | 24852abc53578ce7aae44def41632f5193ce0393 | refs/heads/master | 2021-04-03T08:38:27.827994 | 2018-08-20T05:01:47 | 2018-08-20T05:01:47 | 124,825,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | cpp | /*
数字游戏
题目描述
小易邀请你玩一个数字游戏,小易给你一系列的整数。你们俩使用这些整数玩游戏。每次小易会任意说一个数字出来,然后你需要从这一系列数字中选取一部分出来让它们的和等于小易所说的数字。 例如: 如果{2,1,2,7}是你有的一系列数,小易说的数字是11.你可以得到方案2+2+7 = 11.如果顽皮的小易想坑你,他说的数字是6,那么你没有办法拼凑出和为6 现在小易给你n个数,让你找出无法从n个数中选取部分求和的数字中的最小数(从1开始)。
输入描述:
输入第一行为数字个数n (n ≤ 20)
第二行为n个数xi (1 ≤ xi ≤ 100000)
输出描述:
输出最小不能由n个数选取求和组成的数
*/
#incl... | [
"viking@VikingdeMacBook-Pro.local"
] | viking@VikingdeMacBook-Pro.local |
7155583958cbd979affc75278964c4e6b2eefb0d | ac5f5e0a90616d21f87fd94bf6ca1819aa9fd2fd | /src/DirectionalLight.h | ad84ce69e760df29b1a036edcfa777cd3225fcb2 | [] | no_license | Sondro/Proccraft | 625ef139b98dcddb87c93a07091b504dc75d10a3 | 8138ea188018ce20b22fa0b44034e55c05e0d1db | refs/heads/master | 2023-03-28T06:59:35.285197 | 2021-03-31T16:22:22 | 2021-03-31T16:22:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 442 | h | #pragma once
#include "Light.h"
class DirectionalLight :
public Light
{
public:
DirectionalLight();
DirectionalLight(GLfloat red, GLfloat green, GLfloat blue, GLfloat aIntensity, GLfloat dIntensity, GLfloat xdir, GLfloat yDir, GLfloat zDir);
~DirectionalLight();
void UseLight(GLuint ambientIntensityLocation, GLui... | [
"fredrik96.johansson@gmail.com"
] | fredrik96.johansson@gmail.com |
55d365ca3977a2f44d9c87b207acf22eb8b7b7a3 | f38983a3a5232e7696e2fb0d1e4a842cda2b7c1b | /src/DAF/DA/SearchTableEntry.cc | 5ab93f94e6cf72e464cb0f116ca1bbf92c7d0586 | [
"MIT"
] | permissive | Miguel-A/RinaSim | 4a1e59486c9b3fc0e9b3dd7b5078f0c717f219de | 70ff28dc05e8250ca28c438290cf8c08f8a94a23 | refs/heads/master | 2016-08-12T17:06:59.946220 | 2015-10-14T20:33:09 | 2015-10-14T20:33:18 | 44,920,027 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,112 | cc | // The MIT License (MIT)
//
// Copyright (c) 2014-2016 Brno University of Technology, PRISTINE project
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including wit... | [
"ivesely@fit.vutbr.cz"
] | ivesely@fit.vutbr.cz |
b3d07f05583335738efd72490c17224af4cb6624 | 490385b0147e9e4e3f3ad98556fcf7ce9550ac8d | /OACreater_userStudy_/OACreater/Sparse_coordinate_matrix.h | be75b1ba443924a0c383a37433002d11b5ebb674 | [] | no_license | xiaokn/OACreater_ | a6d797cfa6dc7091eecf017c45a2ca86576e5c48 | 102b0d6cdf75aa84b7401b2bbecc817b2362e3ac | refs/heads/master | 2020-04-14T21:00:47.458268 | 2019-01-04T14:01:00 | 2019-01-04T14:01:00 | 164,114,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,734 | h | // Copyright (c) 2006 Hong Kong University of Science & Technology
// All rights reserved.
//
// This file is part of CholmodWrapper
// (http://ihome.ust.hk/~fuhb/software.htm#cholmod_wrapper);
// you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License as
// publis... | [
"yanguohang@sensetime.com"
] | yanguohang@sensetime.com |
61831c25290f88049ce47e0917b8f542a7b35fbb | e827a18e7c6fa35e4b103237a9ffab7ebf69a7fa | /freicar_map_sr/src/logic/right_of_way.cpp | da0f295a11b2e28d9bc3bb9838a23c27f811aec9 | [] | no_license | Qanadilo1/speed_racers_comp_test | 0515463e3cbe614916cf14f79504281273d0b8e0 | 6d311f091dc73151b2a0336e779724a7557b1c15 | refs/heads/master | 2023-03-27T08:35:21.419852 | 2021-03-25T08:23:22 | 2021-03-25T08:23:22 | 348,695,713 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 8,401 | cpp | #include "freicar_map/logic/right_of_way.h"
#include "map_core/freicar_map.h"
#include <Eigen/Dense>
#include <bitset>
#include <cmath>
#include <tf2/LinearMath/Quaternion.h>
#include <tf2/LinearMath/Matrix3x3.h>
#include <tuple>
namespace freicar
{
namespace logic
{
/* some lanes before junctions are very short. som... | [
"mkqanadilo@hotmail.com"
] | mkqanadilo@hotmail.com |
d65fe1dce1b3a3cd0191b6ddee9449b934dbf2de | 8419eaa22e58a2efbb7bdf1bccfc66a9e3288d75 | /tensorflow/compiler/xla/service/hlo_module.cc | 6103cab3e7e73079ef9e65b4ada181aa088c4541 | [
"Apache-2.0"
] | permissive | PipelineAI/tensorflow | f539227fd5d3f304b4f246877e35303dbd388a0c | 5d8e69768230ea8765a7c78cf1fa22c3ab2a4757 | refs/heads/master | 2021-05-05T21:54:02.830548 | 2018-01-15T04:30:05 | 2018-01-15T04:30:05 | 115,791,564 | 0 | 1 | Apache-2.0 | 2018-01-15T05:38:46 | 2017-12-30T11:08:37 | C++ | UTF-8 | C++ | false | false | 21,654 | cc | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
63e2f1321da4a030f0c6ecdb8523d7c23896808d | 7e96610cc01da9082e6c00c2f8304da78fee5af0 | /src/server/scripts/Commands/cs_reload.cpp | b5dde93a499c47cc455d62e2fda618e703686a21 | [] | no_license | ralphhorizon/bfacore-1 | f945d24bafcb84f12d875c17aa8e948bddcb46ed | 8085d551669a164aa7fbade55081058451cb8024 | refs/heads/master | 2023-01-06T23:21:35.959674 | 2020-10-24T20:17:16 | 2020-10-24T20:17:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62,717 | cpp | /*
* Copyright (C) 2020 BfaCore
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distribute... | [
"zemetskia@gmail.com"
] | zemetskia@gmail.com |
929f29ed80129ade2298b7ddbe53cde070b34c45 | 90047daeb462598a924d76ddf4288e832e86417c | /chrome/browser/extensions/api/messaging/native_message_host_chromeos.cc | 47375a5b74c6493c06905f19cdf40f20fb99a61b | [
"BSD-3-Clause"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 6,787 | cc | // Copyright 2014 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 "extensions/browser/api/messaging/native_message_host.h"
#include <memory>
#include <string>
#include <utility>
#include "base/bind.h"
#include... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
05f574c41ec79332a1cab06814420cc3269b8733 | cf9977e49ac1f133f583ae016a0283b4f47a0801 | /kpegasus/emul.cpp | 523e0efb4d73acbab9e8185841d2c78fc2ffbad0 | [] | no_license | blaquee/pegasus | e67bdb279d6bfce678278b42235ca3a4c460821f | 23b482b36a755b361e06b6292263523839be3faa | refs/heads/master | 2021-01-16T00:50:01.165831 | 2017-08-08T13:44:27 | 2017-08-08T13:44:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,534 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <unicorn/unicorn.h>
#include <engextcpp.hpp>
#include <Windows.h>
#include <stdio.h>
#include <list>
#include <memory>
#include <strsafe.h>
#include <interface.h>
#include <engine.h>
#include <windbg_engine_linker.h>
#include <emulator.h>
#pragma comment(lib, "unicorn_stati... | [
"0a777h@gmail.com"
] | 0a777h@gmail.com |
f732d554934e41f32727f31b39887e5f1e537bfe | d6ebb95483c205b5dd2987ff778b778a1dcd0033 | /Car.cpp | a27ca4b0eed496281f946ff83b2afb1b477372ef | [] | no_license | Kristjan-O-Ragnarsson/CPP6 | d999ec8f90f9b438cd84780ca7bd7776ee8355a9 | 8b27d4dd2c71caa9b1ff3a322838aa0775617815 | refs/heads/master | 2020-04-05T21:21:45.433033 | 2018-11-12T14:33:12 | 2018-11-12T14:33:12 | 157,217,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | cpp | //
// Created by Lenovo on 12.11.2018.
//
#include "Car.h"
Car::Car() {
for(int i = 0; i < 4; i++){
w[i] = Wheel();
}
for(int i = 0; i < 10 ; i ++){
int t = i+2;
l[i] = Light(t/2);
}
}
void Car::print() {
e.print();
for(int i = 0;i < 4; i++){
w[i].print();
... | [
"kristjanra262@nemi.tskoli.is"
] | kristjanra262@nemi.tskoli.is |
7cc053c991c84a23592051e553e5c833dccdd06e | d561fb973fcb9ee5c2b006dc9f736400b8d07d6a | /10851.cpp | 8774aec26ed8d35aa0246332afda706631426efa | [] | no_license | pnikic/Hacking-uva | 02947286d02a64a3b9ec7326c4581a11724d27fa | cf236c0239f5fba9f934e8431441cadd919ce13d | refs/heads/master | 2020-06-21T22:34:40.688518 | 2018-11-04T12:46:19 | 2018-11-04T12:46:19 | 74,769,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
int n;
cin >> n;
for (int i = 0; i < n; ++i)
{
string s, S[8];
cin >> s;
for (int k = 0; k < 8; ++k)
cin >> S[k];
cin >> s;
string res;
for (int j = 1; j < S[0].size() -... | [
"pnikic@mathos.hr"
] | pnikic@mathos.hr |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.