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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
944ad6be45f8fbeda95d07a3d1b4273c272159c4 | cdb2232b24eb720841403e4a4b16933159c4f7a2 | /WS09/NumbersBoxTester.cpp | f5a201799ff52e4e04c50c4582365bb630b70790 | [] | no_license | c2clt/OOP244-WORKSHOP-PROJECT | c698c9ad4456da52b3aec9605a9b1864a20ffdd2 | 1dd93a659188507ea303486a7201dd30294ac63e | refs/heads/master | 2022-04-13T21:02:54.821266 | 2020-04-12T19:35:28 | 2020-04-12T19:35:28 | 255,151,029 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,240 | cpp | /***********************************************************************
// OOP244 Workshop 9: Templates
// File: NumbersBoxTester.cpp
// Date: 2020/3/30
// Name: Jingmin Zhou (Jessica)
// ID: 119766194
// Email: jzhou175@myseneca.ca
// Description
// Tests the Calculator template and its functions
********************... | [
"jmzh119yjm@gmail.com"
] | jmzh119yjm@gmail.com |
6fa52a6b32aaf8c079a1bb05671d38ab21f5ccc7 | 54d4d6d2efa17b2a5d63ec0d663e2a5fb5e7f45a | /Classes/Entity/Monster/Bird.h | ad21d48bc5905b7a26a43ab06983e85fc50e26c9 | [] | no_license | JiangWeiGitHub/MyFantasyWorld | dd342e88fed4cfe61df6b2c35aba8d1c27fa9f96 | f7b3fa964e1c0273bfbe4c1e9cd9b7995563c6b5 | refs/heads/master | 2021-05-08T14:55:00.697052 | 2018-03-09T15:31:31 | 2018-03-09T15:31:31 | 120,101,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | h | #ifndef __Bird_H__
#define __Bird_H__
#include "../../../Global/Global.h"
#include "../Role.h"
namespace jiangweigithub {
class Bird: public Role
{
public:
static Bird* create();
static Bird* create(const std::string &filename);
static Bird* createWithSpriteFrame(cocos2d::SpriteFrame *spriteFrame);... | [
"wei.jiang@winsuntech.cn"
] | wei.jiang@winsuntech.cn |
4227a27b321bb61ce6ea4485c9cefbbb417d3de6 | 506e96a1186f5524ad9a6f1466e65f4c6857a1c3 | /codeforces/1088/D.cpp | 1045f48d50823cd0703fd5f1ff0695c546b66a70 | [] | no_license | 142ayushkumar/OJ-Submissions | 65c5a9baf13b9a8155178f66a1698dcbcc05d24f | a71e9a8f96cba8859158db7d25b04f28fc9efa34 | refs/heads/master | 2023-02-04T07:28:40.316895 | 2019-12-16T15:25:00 | 2020-12-22T09:10:06 | 323,572,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,904 | cpp | #include <bits/stdc++.h>
using namespace std;
const double PI = 3.141592653589;
#define fastio ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0)
#define pb push_back
#define mp make_pair
#define int long long
#define ll long long
#define ll long long
#define all(c) (c).begin(),(c).end()
#define M 10... | [
"142ayushkumar@gmail.com"
] | 142ayushkumar@gmail.com |
36c0f5e9c597fc041439cbda3e87df3ada7f7ca1 | 5d552068458fa5f107074a69bc827649f147ece0 | /src/cspaint_io.h | 8655aa987d67f90cfe5ae4010f6a8b8f78f2d585 | [
"BSD-2-Clause"
] | permissive | vdeurzen/cs_paint | 7a973a7622efb43929a11905b91c4ff29c4f3ed6 | a6a95c0a5db16e123160711e43fbb14324daf09d | refs/heads/master | 2020-08-11T08:48:39.706747 | 2020-01-08T21:01:55 | 2020-01-08T21:01:55 | 214,531,411 | 0 | 0 | BSD-2-Clause | 2019-10-11T21:27:42 | 2019-10-11T21:27:41 | null | UTF-8 | C++ | false | false | 1,027 | h | /***********************************************************************
*
* Copyright (c) 2019-2020 Barbara Geller
* Copyright (c) 2019-2020 Ansel Sermersheim
*
* This file is part of CsPaint.
*
* CsPaint is free software, released under the BSD 2-Clause license.
* For license details refer to LICENSE provided with th... | [
"ansel@copperspice.com"
] | ansel@copperspice.com |
aaab1cb5664618564dba43fe18231f76ebcb652d | 1d88179ff616718c8425c78d64394181bdeb5636 | /SQPsearchDirectionMeritFunctionAndHessian.h | 305d84af9e9fc1acd6e0a31e0648677dced36041 | [] | no_license | unnpossible/ReliabilitySoftware | e672466d228f9c180c9f52c272375779a2a614c5 | bf054f7b9d7bd5324a5f06808e54cc20928d165a | refs/heads/master | 2023-02-06T14:37:52.725897 | 2020-12-27T09:23:52 | 2020-12-27T09:23:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,722 | h | /* ****************************************************************** **
** OpenSees - Open System for Earthquake Engineering Simulation **
** Pacific Earthquake Engineering Research Center **
** **
** ... | [
"41924367+Lew007@users.noreply.github.com"
] | 41924367+Lew007@users.noreply.github.com |
c9d6b8fdebec6660f235fe2085342257b625969a | 736df0855e612f90d119f4e201dfb6f10e365098 | /bazel/process-creation-times/createproc-linux.cc | 1318aa5c102ab071fed92855903c892f016b18ec | [
"Apache-2.0"
] | permissive | laszlocsomor/projects | 8dd55268290ca10c310a17b3c218cfe54c93df37 | 2843fe151b7ae4ee0656e52f1376cedf9e961f4c | refs/heads/master | 2023-01-09T13:47:45.449668 | 2022-12-23T14:27:11 | 2022-12-23T14:27:11 | 76,381,712 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,780 | cc | #include <errno.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <algorithm>
#include <array>
#include <iostream>
int64_t CurrentTimeNanos() {
struct timespec ts = {};
if (clock_gettime(CLOCK_MONOTONIC, &ts) == -1) {
int err = errno;
std::cerr << "ERROR: clock_gettime failed: "... | [
"laszlocsomor@google.com"
] | laszlocsomor@google.com |
d6df2e5ddc4c993cbff4a7f8722c446ca957a4e1 | f055e31944b87226a2547c5eef6aa4e540e17ffd | /Classes/PlayerPrefs.cpp | dd6fe0a50bf82f30d9ec623ba0487d33d71c01c1 | [] | no_license | BabakFiroozi/FastFood_AmuFeri | 6cb4831eccea949cdb3282f56abe1858793a822f | fcef3f736c9e1b4d6c80ec7f38f716ec217423b8 | refs/heads/master | 2020-03-30T08:52:49.546915 | 2018-01-17T12:41:05 | 2018-01-17T12:41:05 | 151,046,693 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,137 | cpp | #include "PlayerPrefs.h"
#include "cocos2d.h"
#include "GameUser.h"
USING_NS_CC;
PlayerPrefs::PlayerPrefs()
{
}
PlayerPrefs::~PlayerPrefs()
{
}
PlayerPrefs& PlayerPrefs::getInstance()
{
static PlayerPrefs instance;
return instance;
}
void PlayerPrefs::loadFoods() const
{
const char* key = "foodFactory";
std::s... | [
"bkfiroozi@gmail.com"
] | bkfiroozi@gmail.com |
88e78df457481a37a5bbdf2308ded2549325a2b9 | 7ba61a6b5d678195b0a4c5e46ddd7522486c5b34 | /SmartHome_Arduino/toyPorting.ino | d29703de802326b1bd94cf3d222ca3906f47f660 | [] | no_license | JimCiou/SmartHome | 5515301165227bcdd712879d34256453188d7a77 | cbb0f9ddfaba370448dcdc86eadda49465c940d0 | refs/heads/master | 2021-01-23T11:32:07.523454 | 2017-06-05T09:08:30 | 2017-06-05T09:08:30 | 93,040,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | ino | #define arx 4 /*Arduino's RX line pin, connect ESP8266's Tx*/
#define atx 5 /*Arduino's TX line pin, connect ESP8266's Rx*/
Chain Porting(void){
/*Please full up the index to customize your product*/
Chain toyChain {
9600, /*Port for monitor*/
9600, /*Baud rate... | [
"jim.chiu@soontai.com"
] | jim.chiu@soontai.com |
d3935b5e304a71c6140ba55888f10650efa7e45f | 72a146dad10c3330548f175643822e6cc2e2ccba | /content/renderer/input/input_event_filter_unittest.cc | 880a361f2d074f517917da21f4765648e1468290 | [
"BSD-3-Clause"
] | permissive | daotianya/browser-android-tabs | bb6772394c2138e2f3859a83ec6e0860d01a6161 | 44e83a97eb1c7775944a04144e161d99cbb7de5b | refs/heads/master | 2020-06-10T18:07:58.392087 | 2016-12-07T15:37:13 | 2016-12-07T15:37:13 | 75,914,703 | 1 | 0 | null | 2016-12-08T07:37:51 | 2016-12-08T07:37:51 | null | UTF-8 | C++ | false | false | 18,409 | cc | // Copyright 2013 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 <stddef.h>
#include <new>
#include <tuple>
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/macros.h"
#include "base/... | [
"serg.zhukovsky@gmail.com"
] | serg.zhukovsky@gmail.com |
0511e1d785b69fb79cf685799d84b8b543ad5662 | aa273162b9c9cdd5fd7e2fa8f2903dc205e8a614 | /code/BTree.h | 121ae2a3891daa732e53e4b517b6324aa1febc39 | [] | no_license | HerbertJordan/ds_bench | d589ddad0348c7b96de601e1aa9ea7b2372172ba | 89373ee0a58f82b25bb86ed555905a5000c1cbac | refs/heads/master | 2021-01-19T10:46:09.655216 | 2017-02-16T16:51:34 | 2017-02-16T16:51:34 | 82,203,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68,230 | h | /*
* Souffle - A Datalog Compiler
* Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved
* Licensed under the Universal Permissive License v 1.0 as shown at:
* - https://opensource.org/licenses/UPL
* - <souffle root>/licenses/SOUFFLE-UPL.txt
*/
/********************************************... | [
"herbert@dps.uibk.ac.at"
] | herbert@dps.uibk.ac.at |
286253e5be2e3898394221c380c09a8529713e16 | c1e7bb9149b61218f223b3dcf62a9dd566dd9a7f | /dada_processing/spead2/send_heap.cpp | 8116196aa29378dd787c5e64abdb8c4834464364 | [] | no_license | ska-sa/incoherent_beamformer | 1e3ea6b171f2824861f74d5e3ab65e2e5d3f2e64 | df3c41c829e7bb098fdf8d3d2e44da6b97726ed4 | refs/heads/master | 2016-09-15T07:16:37.310083 | 2015-10-22T13:04:30 | 2015-10-22T13:04:30 | 22,462,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,457 | cpp | /**
* @file
*/
#include <cstdint>
#include <vector>
#include <memory>
#include <stdexcept>
#include <cassert>
#include <cstring>
#include <boost/asio/buffer.hpp>
#include "send_heap.h"
#include "send_packet.h"
#include "send_utils.h"
#include "common_defines.h"
#include "common_logging.h"
#include "common_endian.h"
... | [
"ctgschollar@gmail.com"
] | ctgschollar@gmail.com |
c366bd727cf254df0ac7bf1403178724733bf7ba | 3f059a483822f328f6ac3e05f6fbdb4050020cdb | /Server/include/RingBuffer.hpp | c331a8fd544b49f84b67ccd8c971a74a224bc3ff | [] | no_license | shoklah/r_type | 2ac49b76b918e49d8a95a9d749922b99e719f94a | c5feac5ee8fa87b925e750ae98c685690f0ad33f | refs/heads/master | 2021-05-29T03:50:34.000506 | 2020-04-09T08:18:05 | 2020-04-09T08:18:05 | 254,311,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | hpp | /*
** EPITECH PROJECT, 2019
** Rtype
** File description:
** RingBuffer.hpp
*/
#include <iostream>
#include <vector>
class RingBuffer
{
public:
RingBuffer(std::size_t cap);
~RingBuffer();
bool full() const;
bool empty() const;
void push(std::string &str);
std::string &operator[](std::size_t... | [
"hugo.maurinier@epitech.eu"
] | hugo.maurinier@epitech.eu |
fa06172b52eddacf7743903382fcdd97b45abe0b | ed997b3a8723cc9e77787c1d868f9300b0097473 | /libs/range/test/adaptor_test/type_erased_example.cpp | 754fba652b2f870ed48afbd6ca1f301995470a7f | [
"BSL-1.0"
] | permissive | juslee/boost-svn | 7ddb99e2046e5153e7cb5680575588a9aa8c79b2 | 6d5a03c1f5ed3e2b23bd0f3ad98d13ff33d4dcbb | refs/heads/master | 2023-04-13T11:00:16.289416 | 2012-11-16T11:14:39 | 2012-11-16T11:14:39 | 6,734,455 | 0 | 0 | BSL-1.0 | 2023-04-03T23:13:08 | 2012-11-17T11:21:17 | C++ | UTF-8 | C++ | false | false | 3,339 | cpp | // Boost.Range library
//
// Copyright Neil Groves 2010. Use, modification and
// distribution is subject to the Boost Software License, Version
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
//
// For more information, see http://www.boost.org/libs/range/
//
#... | [
"neilgroves@b8fc166d-592f-0410-95f2-cb63ce0dd405"
] | neilgroves@b8fc166d-592f-0410-95f2-cb63ce0dd405 |
6d35f389b13862554624c67cb6ef294076b8d402 | 4ca0a10d7b84afb5ef6332c74a9c8f14937a3787 | /selfdrive/ui/qt/api.cc | 55fb20f4bc43c2029695acb02735e036d89e8814 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | oricalworks/openpilot | 1495a2a575e8c34d235eb017d7332842b3c5b774 | 9edf3049833eb2c00b39432532280ef1da2f5703 | refs/heads/OPKR | 2021-08-13T22:56:03.805636 | 2021-07-28T13:19:00 | 2021-07-28T13:19:00 | 365,737,878 | 2 | 1 | MIT | 2021-06-03T15:20:35 | 2021-05-09T11:37:35 | C | UTF-8 | C++ | false | false | 4,220 | cc | #include "selfdrive/ui/qt/api.h"
#include <openssl/bio.h>
#include <openssl/pem.h>
#include <openssl/rsa.h>
#include <QCryptographicHash>
#include <QDateTime>
#include <QDebug>
#include <QFile>
#include <QJsonDocument>
#include <QNetworkRequest>
#include "selfdrive/common/params.h"
#include "selfdrive/common/util.h"... | [
""
] | |
8ed766a45082687b61ec599037aa1c10a63486a2 | ede39dd3b4eff4a4b5bad0a70918295170845cbd | /storage/browser/quota/special_storage_policy.h | 276d6acd8c1bdcba204e8487a5dfbbd2c3c19393 | [
"BSD-3-Clause"
] | permissive | fujunwei/chromium-crosswalk | 9ae06862337e49061d49b932fc049f460463d5c3 | 24a582e5655871d72348c18f77ead355cc32126e | refs/heads/master | 2022-10-18T22:20:24.494151 | 2015-04-02T10:55:14 | 2015-05-22T05:56:53 | 37,062,999 | 1 | 0 | null | 2015-06-08T11:30:41 | 2015-06-08T11:30:41 | null | UTF-8 | C++ | false | false | 2,789 | h | // Copyright 2013 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 STORAGE_BROWSER_QUOTA_SPECIAL_STORAGE_POLICY_H_
#define STORAGE_BROWSER_QUOTA_SPECIAL_STORAGE_POLICY_H_
#include <string>
#include "base/memory/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c2f2fd9afa4743b97ac8548c6c3e9c74d688f8d1 | c7316126628cdd64737dd5100ceb63b81671284a | /Practice/10/C++/fixed sum/fixed sum/fixed sum.cpp | 5803ca44702e503ec29ca445ef2e24eeeb1bdb0e | [] | no_license | inq1337/Programming | 0c34826c3811773a790b33156a061c602a3eb72a | d6ea37423ce8209759b9e70c737b3076b1ff0571 | refs/heads/main | 2023-05-09T01:47:30.104792 | 2021-05-29T10:23:47 | 2021-05-29T10:23:47 | 300,354,884 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 792 | cpp | #include <iostream>
using namespace std;
int main()
{
setlocale(LC_ALL, "Russian");
long long s, l1, l2, r1, r2, x;
cout << "Введите через пробел числа s, l1, r1, l2, r2\n";
cout << "Числа должны удовлетворять условиям l1 <= r1 и l2 <= r2\n";
cin >> s >> l1 >> r1 >> l2 >> r2;
if (l1 <= r1 and l2 <= r2)
{
if... | [
"inquisitor2410@gmail.com"
] | inquisitor2410@gmail.com |
f95aced628329f18b81bc3978ecec086baaeefda | 9c069bf386a459b174de480087291256dedebd0f | /robot_move_as/src/RobotInterface.cpp | 889c8b1bc241630fa14aef81adb64ddb26b99758 | [] | no_license | TomShkurti/cwru_ariac_2018 | 56c6ccb750eec999bcff817867dde98df82e5368 | 7dece5ecc6c51e91af783fb858a508ce03d6f90f | refs/heads/master | 2020-03-12T18:31:21.460703 | 2018-04-23T20:53:08 | 2018-04-23T20:53:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,497 | cpp | //
// Created by shipei on 10/18/16.
// modified wsn 3/2018
//
#include <robot_move_as/RobotInterface.h>
RobotInterface::RobotInterface(ros::NodeHandle &nodeHandle): nh( nodeHandle ){
joint_state_subscriber = nh.subscribe(
"/ariac/joint_states", 10,
&RobotInterface::jointStateCallback, thi... | [
"wsn@case.edu"
] | wsn@case.edu |
141cd626640d83c361ac55c0a6aaad85175d451f | eb1edcfd8397e704a4a135e5b2da85ae0273526b | /leetcode/problemset-algorithms/sorted-double-ll.cpp | 7292c06c6c23e81203082b041410c0c575efd7a0 | [
"MIT"
] | permissive | riteshkumar99/coding-for-placement | 200a8c2140de140716006a7433bd18a244f09336 | b45f90f662808bf4bf038ff98a016d49b9d71f71 | refs/heads/master | 2022-11-22T05:09:32.775367 | 2020-07-30T12:50:20 | 2020-07-30T12:50:20 | 282,487,504 | 0 | 0 | MIT | 2020-07-25T16:58:40 | 2020-07-25T16:58:39 | null | UTF-8 | C++ | false | false | 4,055 | cpp | #include <bits/stdc++.h>
using namespace std;
/////////////////////////////// DEBUG ////////////////////////////////
vector<string> split(const string &s, char c)
{
vector<string> v;
stringstream ss(s);
string x;
while (getline(ss, x, c))
v.emplace_back(x);
return move(v);
}
class Debugge... | [
"ritesh99rakesh@gmail.com"
] | ritesh99rakesh@gmail.com |
76cd2981a04179277dcb3b6c2d413b1fbaea681e | cbffee904e5b88503acf84f36e5f9dd5532f8a4e | /common/basic_utils.cpp | 210c573583a12e0f911f99499529d21f5a5c8ef3 | [] | no_license | xuyufeng1995/dpca_s | e350dd00bf87ee5a0f432c8e67c487bc50616df4 | 2a45796a692fc126b1d0f3c0d15e9ab32e237438 | refs/heads/master | 2022-12-23T20:25:28.709953 | 2020-09-29T06:01:36 | 2020-09-29T06:01:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,331 | cpp | #include "basic_utils.h"
#ifdef _WIN32
#include <ltmit/fast_sync.h>
#else
#include <time.h>
#include "fast_sync_cls.hpp"
#endif
#include <thread>
#include <sys/syscall.h>
#ifdef _WIN32 //for windows implement
//#define gettid() syscall(SYS_gettid)
void SimpleNotifier::wait()
{
WaitForKeyedEvent(NULL, &_w... | [
"1049157340@qq.com"
] | 1049157340@qq.com |
d340d2eb39ef2a659f73cd5848e963eba8d4e730 | c9cf0586ace11aa32fa67606d237a130a06364ee | /circular-cylinder-3-40/OldData/8.25/U | ae6658b3d304c878542ac150cfd2ac0aa44019a7 | [] | no_license | jezvonek/CFD-Final-Project | c74cfa21f22545c27d97d85cf30eb6dc8c824dc1 | 7c9a7fb032d74f20888effa0a0b75b212bf899f4 | refs/heads/master | 2022-07-05T14:43:52.967657 | 2020-05-14T03:40:56 | 2020-05-14T03:40:56 | 262,370,756 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 578,950 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6.0
\\/ M anipulation |
\*-----... | [
"jezvonek@gmail.com"
] | jezvonek@gmail.com | |
91365a23b91d31471cddf287f7745436ee61909f | 6a69d57c782e0b1b993e876ad4ca2927a5f2e863 | /vendor/samsung/common/packages/apps/SBrowser/src/chrome/browser/extensions/api/storage/settings_apitest.cc | 28095434511bdc03b82fd8895d15820f6f39b520 | [
"BSD-3-Clause"
] | permissive | duki994/G900H-Platform-XXU1BOA7 | c8411ef51f5f01defa96b3381f15ea741aa5bce2 | 4f9307e6ef21893c9a791c96a500dfad36e3b202 | refs/heads/master | 2020-05-16T20:57:07.585212 | 2015-05-11T11:03:16 | 2015-05-11T11:03:16 | 35,418,464 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 23,799 | 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 "base/bind.h"
#include "base/json/json_writer.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "base/values.h"
#in... | [
"duki994@gmail.com"
] | duki994@gmail.com |
9d246dbe03158eafd3eab9d57ca4d62628c40236 | a583428515582a2af5d1b531c5b075e256206b46 | /SelectUser.cpp | 25927325333774f47288359c04ad9c4e00a92efc | [] | no_license | ivangeorgek/TradingBot | 16ea1143e1b2b0a5cf7116aa55f8e0aca2dd98e8 | 7327f219a497313fc2aca9dc96e9c355da6ea70d | refs/heads/main | 2023-06-19T09:24:30.044919 | 2021-07-16T16:33:42 | 2021-07-16T16:33:42 | 386,709,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,491 | cpp | #include <vector>
#include <iostream>
#include <string>
#include "SelectUser.h"
#include "MerkelMain.h"
#include "MerkelBot.h"
SelectUser::SelectUser()
{
}
void SelectUser::init()
{
int input;
printOption();
input = getUserOption();
processUserOption(input);
}
void SelectUser::printOption()
{
... | [
"ivangeorgekuruvila@gmail.com"
] | ivangeorgekuruvila@gmail.com |
5164469a2fc1ed0f4b9cac39e08f45acd1990183 | d53af215b3a729447f6dd5656d5acdbe81828892 | /examples_07.16.13/interpolate3d/interpolate3d/read_values.hpp | e2a29b64bd09b05d395032e199d17f05ffd7b277 | [] | no_license | STEllAR-GROUP/hpx_historic | fac13be21e9ec389c8bec23708e0b020790fcc83 | d1d4f35cc40cab6c74054fbd95ab7c7a92b12032 | refs/heads/master | 2020-05-18T11:27:06.431872 | 2013-07-22T18:21:09 | 2013-07-22T18:21:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,122 | hpp | // Copyright (c) 2007-2012 Hartmut Kaiser
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#if !defined(HPX_INTERPOLATE3D_READ_VALUES_AUG_05_2011_1056AM)
#define HPX_INTERPOLATE3D_READ_VALUES_AUG_05_2011_1056A... | [
"aserio@cct.lsu.edu"
] | aserio@cct.lsu.edu |
8cd3782727200abe6cb2726324b6cef8d5a478df | 56639f1a0abbf2163fba7ccf68cf7adce15d4e7b | /test/model/company/administrator/administrator_test.cpp | 2d2691a2c28a32f0ed75421b1e1c731f35b6a522 | [
"MIT"
] | permissive | ctrlMarcio/feup-cal-proj | a723a716ab568f42857fcb45ad1bc8a4db5eae41 | b7fbb8aaed63c705cd85125b3d3f88ae77b1416c | refs/heads/master | 2022-09-01T02:24:09.623938 | 2020-05-27T21:23:04 | 2020-05-27T21:23:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | cpp | #include <gtest/gtest.h>
#include <model/company/administrator/administrator.h>
using testing::Eq;
TEST(administrator, contructor_default_test) {
Administrator administrator("nome", "email@email.com");
EXPECT_EQ(administrator.getName(), "nome");
EXPECT_EQ(administrator.getEmail(), "email@email.com");
} | [
"up201806506@fe.up.pt"
] | up201806506@fe.up.pt |
3ed4a286456f9ca89747116bf7e8981f1ca18a6f | d93159d0784fc489a5066d3ee592e6c9563b228b | /CalibMuon/CSCCalibration/interface/CSCFakePedestalsConditions.h | fa9ffb28aeef8acf08fbac8b4a12bd488766df85 | [] | permissive | simonecid/cmssw | 86396e31d41a003a179690f8c322e82e250e33b2 | 2559fdc9545b2c7e337f5113b231025106dd22ab | refs/heads/CAallInOne_81X | 2021-08-15T23:25:02.901905 | 2016-09-13T08:10:20 | 2016-09-13T08:53:42 | 176,462,898 | 0 | 1 | Apache-2.0 | 2019-03-19T08:30:28 | 2019-03-19T08:30:24 | null | UTF-8 | C++ | false | false | 1,415 | h | #ifndef _CSCFAKEPEDESTALSCONDITIONS_H
#define _CSCFAKEPEDESTALSCONDITIONS_H
#include <memory>
#include "FWCore/Framework/interface/SourceFactory.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/ESProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Fram... | [
"giulio.eulisse@gmail.com"
] | giulio.eulisse@gmail.com |
e96b23d6c51c35ad7b3c470a428c33bc641746c9 | d53a63c17a6d718f219bd763561344dfedb5876c | /MapFactory.cpp | a3d67a28de4eab8288d920c175149a717be09a02 | [] | no_license | yushengding/Classes | 72d07ba00701234883dee036f12b737814061f72 | 3a74f0daee2b17e7f0a35a440c12a2542d5ce804 | refs/heads/master | 2021-06-21T06:48:37.524380 | 2017-08-16T18:27:46 | 2017-08-16T18:27:46 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,241 | cpp | #include "MapFactory.h"
MapFactory::MapFactory()
{
}
MapFactory::~MapFactory()
{
}
void MapFactory::clear()
{
belonglist.clear();
kindlist.clear();
xlist.clear();
ylist.clear();
}
void MapFactory::createobject(int b, int k, float x, float y)
{
belonglist.push_back(b);
kindlist.push_back(k);
xlist.push_back(x... | [
"7675343.die@163.com"
] | 7675343.die@163.com |
8a20aa4868af6a644a998828d778acff4855a21f | b66715c97e48731ebba2afb8d81d02beb695c691 | /SPOJ/CAM5 - prayatna PR.cpp | 67d24b3888de7aab300520d5f029b29aca934326 | [] | no_license | justHusam/Competitive-Programming | c105b982108db914d80c759741302a9828b123b4 | 4c86037370774dc18beb1f2b302a59f2e84979d4 | refs/heads/master | 2020-03-19T10:26:12.874772 | 2018-09-14T12:24:41 | 2018-09-14T12:24:41 | 136,369,844 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 777 | cpp | #include <bits/stdc++.h>
using namespace std;
/*
* You got a dream, you gotta protect it.
*/
int main(int argc, char **argv) {
int t;
scanf("%d", &t);
while (t--) {
int n, e;
scanf("%d%d", &n, &e);
vector<vector<int> > g(n);
while (e--) {
int x, y;
scanf("%d%d", &x, &y);
g[x].push_back(y);
g[... | [
"husam.sa3@gmail.com"
] | husam.sa3@gmail.com |
2e659f601f153541ac258dc904529e0e21c833ff | f9267564dd89902f30d8479b0c678f7967a0ea8a | /Side Scrolling Platformer/Test/Il2CppOutputProject/Source/il2cppOutput/Bulk_System.Xml_1.cpp | 00016a42f0e7c3c1a5d25af66830a132acb88b79 | [
"Apache-2.0"
] | permissive | sarahCarroll/MobileAppDev3 | e60b5296148c23967407daa2bf7ef69227aee7f5 | 1da94bc8b552baa781286638f156aabac143b3bd | refs/heads/master | 2020-03-30T20:51:24.382713 | 2018-12-06T17:02:23 | 2018-12-06T17:02:23 | 151,606,961 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,211,609 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | [
"g00330821@gmit.ie"
] | g00330821@gmit.ie |
0b4316eb5d764fee2f2ad8806f2bad576367270e | 817a642b666ba1a6747a14d674e651f8b26168ad | /DSA/Trees/Binary Heaps/BinaryHeaps.cpp | bc7d39cb9c181adf95bd3e0497cb545bedc90f58 | [] | no_license | manitgupta/Codes | b319555568194b469f1ab62e85a21b3f737f9059 | 55368e9d149d7d441ed6ad05899b9328c49adde2 | refs/heads/master | 2020-04-15T23:50:59.653360 | 2016-07-10T06:03:21 | 2016-07-10T06:03:21 | 17,934,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,716 | cpp | #include <iostream>
#include <cstdlib>
#include <cstdio>
using namespace std;
#define _DEBUG
#define Inf 2147483647
#define Max(a, b) (a < b ? b : a)
#define Min(a, b) (a > b ? b : a)
#define INT_MIN -99999999
struct Heap
{
int *array; //Array to store the heap elements
int capacity; //Size of the Heap
int... | [
"manitgupta95@gmail.com"
] | manitgupta95@gmail.com |
66bb9ebf3447cac7e61016fc8b253e6c48175b82 | 3441fb8dfe747df1d7d11fe152e98bbe39a9ccab | /CHI_TECH/ChiMesh/SurfaceMesh/chi_surfacemesh.h | c7bd3b03328ad93c8b26fd9896e0c8e14e789c7e | [] | no_license | quincy-huhn98/chi-tech | 5a2a247e28c819366a9a773030354c781e458ba0 | fecbb6d8b5d03fdb6fac55da1dd26a4e1438540b | refs/heads/development | 2021-01-09T02:11:27.893645 | 2020-02-04T16:23:35 | 2020-02-04T16:23:35 | 242,212,718 | 0 | 0 | null | 2020-02-21T19:13:21 | 2020-02-21T19:13:21 | null | UTF-8 | C++ | false | false | 1,851 | h | #ifndef _chi_surfacemesh_h
#define _chi_surfacemesh_h
#include<stdio.h>
#include <vector>
#include"../chi_mesh.h"
//###################################################################
/** Generic surface mesh class.
This class facilitates many functions within the mesh environment including
logically determining vol... | [
"janicvermaak@gmail.com"
] | janicvermaak@gmail.com |
b284e8b83860d547db43e9b9052ddafe9d5a6d7d | a1d319f22634908f4fb31ac7c2a21f66225cc991 | /Shared/cpp/range-v3/include/range/v3/view/split.hpp | 51d8897ed502662c94cfed2c22fb68d317c19567 | [] | no_license | sdl-research/sdl-externals | 2ee2ae43a5d641cc0e2c0a7c642f48d15f32fbeb | 56459e0124eadf38ff551494b81544cb678a71d7 | refs/heads/master | 2021-01-17T15:06:59.783100 | 2016-07-10T06:40:45 | 2016-07-10T06:40:45 | 28,290,682 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,239 | hpp | /// \file
// Range v3 library
//
// Copyright Eric Niebler 2013-2014
//
// Use, modification and distribution is subject to the
// Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Project home: https://github.com/ericniebler/ra... | [
"graehl@gmail.com"
] | graehl@gmail.com |
b7a0f1c59d38932038a0694bc86d68b36519280e | 539216087ec8280f94568e38c648b8784b20a0d6 | /arduboy.d/r/r.ino | 7c0a2ccfd907d50b720d25d3bae537f39117030b | [] | no_license | linuxgnuru/arduino_projects | 9a0be0dd382d41c0fa6095bd483e519b57d4dd9a | bc608aa3be9937b8db2cecdfb561a9502e449cbb | refs/heads/main | 2023-01-29T08:14:24.285786 | 2020-12-04T00:10:37 | 2020-12-04T00:10:37 | 318,353,758 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | ino | unsigned long lm = 0;
void setup() {
// put your setup code here, to run once:
randomSeed(analogRead(0));
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
unsigned long cm = millis();
if (cm - lm >= 1000)
{
lm = cm;
ra();
}
}
void ra()
{
char dir, rid;
ch... | [
"jcwiggi@gmail.com"
] | jcwiggi@gmail.com |
3edcc4925203bf072b8232e2c2b43ab2ddd420d0 | 98b345594e6fa0ad9910bc0c20020827bbb62c53 | /re110_1/processor45/15/phi | 0e295b970ffd2c71946a9f13d0c164f62de836d8 | [] | no_license | carsumptive/coe-of2 | e9027de48e42546ca4df1c104dcc8d04725954f2 | fc3e0426696f42fbbbdce7c027df9ee8ced4ccd0 | refs/heads/master | 2023-04-04T06:09:23.093717 | 2021-04-06T06:47:14 | 2021-04-06T06:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,790 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"chaseguy15"
] | chaseguy15 | |
079d5221e1f126ae0d2cf24a0420889b03eec74e | 9a855bd3727ee4e76c625ceec208c2379602f020 | /UserInput.h | ffc85c25c87f38397a5946c704483826795cf12d | [] | no_license | haxworx/bannerscanner | e2ea994ab91dfc5ae49ccef1057821a65bf1c5ea | 08f2e23a587e0f873a8cd5443111655a473030e1 | refs/heads/master | 2021-01-19T14:57:18.372624 | 2014-12-21T15:50:01 | 2014-12-21T15:50:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | h | #ifndef __User_Input_H__
#define __User_Input_H__
#include <iostream>
using namespace std;
class Input {
public:
int ReadChar(void);
char *ReadString(void);
private:
char ch;
char buf[1024];
};
#endif
| [
"al@Zion.home"
] | al@Zion.home |
95bc090a606457a844ccb75bbba1293b8fbe2774 | 99d0d18688b17e802f952b64f85e8ce836fdc94f | /Practice Comp code/stringMtching.cpp | 8ca5cd9a7760b0e1f4787944e774ef7a8de68108 | [] | no_license | suyash0103/Competitive-Coding | b8be47d6c5a5c8e63ba4dc30a0cf39f6165a0531 | af24966916aa5dc4d39b5dbdf51bad3bd102895d | refs/heads/master | 2018-09-21T20:24:14.188721 | 2018-07-22T19:06:31 | 2018-07-22T19:06:31 | 100,601,783 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
string s;
cin >> s;
int n;
scanf("%d", &n);
int count = 0, j;
for(int l = 0; l < n; l++)
{
char a;
scanf("%c", &a);
for(int k = 1; k <= n; k++)
{
for(int i = 0; i < n - k + 1; i++)
{
j = i + k - 1;
for(int m = i; m <= j; m++)
{... | [
"Suyash Ghuge"
] | Suyash Ghuge |
1315bccc6297312d5b3bd5b68c276514eb45ef41 | d93927528f768366e94b7f82647e9ba56dc4f7cf | /chapter3/Readercoin_/src/chainparamsbase.cpp | 687b0a155d0afae9f58968d8c93a09e09dbed029 | [
"MIT"
] | permissive | PacktPublishing/Blockchain-By-Example | c0cb2224c98245fe6d75d69d341bf208bb6b0eef | d31cdfb119f145b8d5d1c817a43da383f98b1e51 | refs/heads/master | 2023-03-03T17:00:01.341177 | 2023-01-30T09:01:03 | 2023-01-30T09:01:03 | 157,532,368 | 75 | 57 | MIT | 2023-03-02T13:37:27 | 2018-11-14T10:33:25 | C++ | UTF-8 | C++ | false | false | 2,758 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Readercoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chainparamsbase.h"
#include "tinyformat.h"
#include "util.h"
#include <... | [
"bellaj.badr@gmail.com"
] | bellaj.badr@gmail.com |
d3c2d288be3597f027ba86b9bf19dc0f41d553c7 | e23f791f5e0cb98131d4ac9f4290f22e01cccf40 | /RE0/OpenJudge 计算概论(A)/基础编程练习(控制成分)/求满足条件的3位数.cpp | 6e89a36e325982e8a15201fdfded2d9481768ea2 | [] | no_license | icinghuan/Con-oj | adc9695727cf9c8b08f154a2323a9dd7860a0db5 | 1a509198dfbfc440c63d27462856b7884d156d56 | refs/heads/master | 2020-04-06T07:10:54.452435 | 2018-10-25T03:08:27 | 2018-10-25T03:08:27 | 64,720,725 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,317 | cpp | #include<iostream>
#include<cmath>
using namespace std;
int main()
{
int n;
cin>>n;
int a[15];
int k = 1;
for (int i = 100; i <= 999; ++i)
{
if (int(sqrt(i))*int(sqrt(i)) == i)
if (i%10 == i/100||i%10 == i%100/10||i/100 == i%100/10)
{
a[k++] = i;... | [
"icinghuan@outlook.com"
] | icinghuan@outlook.com |
ba8d82cbaf4364f9c60c02830ae1186818a16490 | 8eae6774231f4a313e7aa8ac30d5c678dc1c2a42 | /GPLT/011.cpp | f7772e026a80a20ed546eec681d6d424439aecf0 | [
"MIT"
] | permissive | windcry1/My-ACM-ICPC | c97b203e5e54d355168ed14db888f4a1b3e6c363 | b85b1c83b72c6b51731dae946a0df57c31d3e7a1 | refs/heads/master | 2021-09-06T20:47:56.525749 | 2021-08-22T14:06:10 | 2021-08-22T14:06:10 | 231,622,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | cpp | //Author:LanceYu
#include<cstring>
#include<cmath>
#include<cstdio>
#include<cctype>
#include<cstdlib>
#include<ctime>
#include<vector>
#include<iostream>
#include<string>
#include<queue>
#include<set>
#include<algorithm>
#include<complex>
#include<stack>
#include<bitset>
#define ll long long
using namespace std;
const... | [
"lanceyu120@gmail.com"
] | lanceyu120@gmail.com |
2144e8ae3e331f71bf5e10387e1fc83908826f11 | 3f8c7e94075e9cbad086199a3d40aff0bbb5826a | /mappers/trunk/src/UNIF/BMC/BMC_GoldenGame150in1.cpp | 9799895dbdd2493f02849f7d2eb2ce9c2ae4932f | [] | no_license | parasyte/nintendulator | d89f57324eb7c05e2bfcca3c378cae3793c59d56 | 693886064e96ca7043dd7848c444f1299a89591e | refs/heads/master | 2021-01-01T17:04:56.876950 | 2014-09-10T21:41:40 | 2014-09-10T21:41:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,797 | cpp | /* Nintendulator Mapper DLLs
* Copyright (C) 2002-2011 QMT Productions
*
* $URL$
* $Id$
*/
#include "..\..\DLL\d_UNIF.h"
#include "..\..\Hardware\h_Latch.h"
namespace
{
void Sync (void)
{
union
{
struct
{
unsigned PRGbank : 5;
unsigned : 3;
unsigned PRGchip : 2;
unsigned Mir_S0 : 1; /*... | [
"quietust@users.noreply.github.com"
] | quietust@users.noreply.github.com |
68879d9095a5392c45f7792b7532fa5c2f63fee4 | d8358ad6f7e5e1fbb449fb283539e17efda2f336 | /L1Trigger/TrackFindingAM/src/Sector.cc | fd1236024cfcef0199e0398d66dc8526fcb9f674 | [] | no_license | clacaputo/cmssw | b120023ec156825dfc228ded56790f1dd40a1a95 | 3a5242c5fc828ad85a2e193f11ffdfd3f3ac7a47 | refs/heads/CMSSW_6_2_X_SLHC | 2022-10-15T06:41:35.415325 | 2014-06-23T09:29:46 | 2014-06-23T09:29:46 | 16,277,494 | 0 | 0 | null | 2014-06-23T09:29:46 | 2014-01-27T11:45:35 | C++ | UTF-8 | C++ | false | false | 12,082 | cc | #include "../interface/Sector.h"
map< int, vector<int> > Sector::readConfig(string name){
string line;
ifstream myfile (name.c_str());
int lineNumber=0;
map< int, vector<int> > detector_config;
if (myfile.is_open()){
cout<<"Using configuration found in detector.cfg"<<endl;
while ( myfile.good() )
... | [
"nicola.pozzobon@cern.ch"
] | nicola.pozzobon@cern.ch |
2672567eb884846af6ef3603817d9d87ffd0c4b1 | 4fc1ce96a543069e73f11f75c5ca0c238676b2b3 | /cpp/AAVSOP87C_URA.cpp | 458c1b32e50174371103cc0de1046112f7916510 | [] | no_license | tzengyuxio/gonghe | e25a7203ecd56545aa9c574f25a3c56e9cc7c0d2 | dd99c7a4dd8e39ccf0aadf183574891286a5f654 | refs/heads/master | 2021-05-04T15:51:36.704754 | 2018-02-05T02:46:38 | 2018-02-05T02:46:38 | 120,239,308 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515,290 | cpp | /*
Module : AAVSOP87C_URA.cpp
Purpose: Implementation for the algorithms for VSOP87
Created: PJN / 13-09-2015
History: PJN / 13-09-2015 1. Initial public release.
Copyright (c) 2015 - 2018 by PJ Naughter (Web: www.naughter.com, Email: pjna@naughter.com)
All rights reserved.
Copyright / Usage Details:
Yo... | [
"tzengyuxio@gmail.com"
] | tzengyuxio@gmail.com |
d8b90c59499401ab71609436a137707d3edf988f | 07fbf3ab32180d94afb1eadd1a8f8ddd657e8656 | /NWNXLib/API/Linux/API/CNWCProjectile.cpp | 1221560441bb672d6e9a534c4097762153ee7f81 | [
"MIT"
] | permissive | ELadner/nwnx-unified | 3b322e8722eab70c9c72a45e71013b89dbbf1e89 | 09f8e8a0c1474e8b16d4746f9cb57ca870a17ce5 | refs/heads/master | 2021-09-04T08:52:06.521478 | 2018-01-17T13:04:29 | 2018-01-17T13:04:29 | 117,771,934 | 0 | 0 | null | 2018-01-17T02:29:14 | 2018-01-17T02:29:14 | null | UTF-8 | C++ | false | false | 143 | cpp | #include "CNWCProjectile.hpp"
#include "API/Functions.hpp"
#include "Platform/ASLR.hpp"
namespace NWNXLib {
namespace API {
}
}
| [
"liarethnwn@gmail.com"
] | liarethnwn@gmail.com |
6322762c051cc3ead5830354bb73b334d8dcc8ba | cc363f2c520ff8efdc12939ca478f63ee76f13c5 | /efni/kennsluefni/inngangur/code/r2.cpp | a5c0265ec399b048571d8b0cf21c2e77e400f84d | [] | no_license | Kakalinn/tol607g-glaerur | 14ae14711aafe5cd2622d0378f8de6838a4e08dd | 2b0871772796a7b038493448a47113d7101e6029 | refs/heads/master | 2023-04-07T14:50:23.642641 | 2023-03-22T13:48:29 | 2023-03-22T13:48:29 | 209,278,460 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 132 | cpp | #include <iostream>
int main()
{
int r1, r2, s;
std::cin >> r1 >> s;
r2 = 2*s - r1;
std::cout << r2 << std::endl;
return 0;
}
| [
"bsnorrason@gmail.com"
] | bsnorrason@gmail.com |
f4c3669d89df79017be9081807ae4fb092ab682b | cea7a450cd78b95470e718bc9c1d35a59a91a3ef | /src/triangulation/algorithms/divide-and-conquer/triangulate.cpp | e6ec9c9b7a0eff3cae2493e48f6a98f7f1bcd2c7 | [] | no_license | VinaLx/delaunay-triangulation | 262414f298653a47b58ee51f0a11e4ffa404d764 | 62361f1ec2f1c5dd9e9901f3c3a0f475d828bd53 | refs/heads/master | 2022-07-29T08:44:26.786004 | 2020-05-22T09:33:02 | 2020-05-22T09:33:02 | 265,888,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,864 | cpp | #include "triangulation/algorithms/divide-and-conquer/triangulate.h"
#include "triangulation/algorithms/divide-and-conquer/convex-hull.h"
#include "triangulation/algorithms/divide-and-conquer/environment.h"
#include "triangulation/utility.h"
#include <algorithm>
#include <chrono>
#include <optional>
#include <stdio.h... | [
"vinaleux@gmail.com"
] | vinaleux@gmail.com |
5f17ad47a22f11243cb3a1cb2d5f5cf358ca44bd | fb5b25b4fbe66c532672c14dacc520b96ff90a04 | /export/release/macos/obj/include/__ASSET__flixel_flixel_ui_img_button_arrow_down_png.h | eabee7424687d6134be4dcfd164255abba2556b0 | [
"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 | true | 2,663 | h | // Generated by Haxe 4.1.5
#ifndef INCLUDED___ASSET__flixel_flixel_ui_img_button_arrow_down_png
#define INCLUDED___ASSET__flixel_flixel_ui_img_button_arrow_down_png
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_lime_graphics_Image
#include <lime/graphics/Image.h>
#endif
HX_DECLARE_CLASS0(__ASSET__flixel_... | [
"80244419+Tyrcnex@users.noreply.github.com"
] | 80244419+Tyrcnex@users.noreply.github.com |
e1cb8854d344341a7885cdd5bf335687d997d3d2 | f91f8fe4675dbc940b2388357e453eecb4441892 | /src/Chapter05/ch5-07-Texture-Mipmap/texture.h | 2dc219bf99295101a2f666a9c386d999bada35ef | [] | no_license | byhj/OpenGL-Bluebook | a144b27bce9a1a1484b9dd19aa9bf6e617764d5d | e9137600d7ec15360cbf051420545dbec8deaddb | refs/heads/master | 2016-09-15T11:39:37.106518 | 2016-04-01T14:17:02 | 2016-04-01T14:17:02 | 33,667,598 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 738 | h | #ifndef Triangle_H
#define Triangle_H
#include <GL/glew.h>
#include <array>
#include "ogl/Shader.h"
#include "ogl/Utility.h"
#include "ogl/object.h"
#include "ogl/ktx.h"
const int TEX_SIZE = 4;
namespace byhj
{
class Texture
{
public:
Texture();
~Texture();
void Init();
void Render(const float &aspect);
void... | [
"476652422@qq.com"
] | 476652422@qq.com |
d509228ef7672b8696566c7b37a049175d715343 | d3fe85d57034c1020f6e9d4ad2fc4ffb8e95fd1a | /src/ofApp.h | f595be507dfd8b1329fae380a714247676ea0416 | [] | no_license | cormaccrehan/People-Simulation | af40f820d4409970f974e663023d35d5ae81ebd5 | a69d21833a31fa0d1d1f2b09f556bbe795b3f6d0 | refs/heads/main | 2023-06-16T23:22:00.911170 | 2021-07-08T18:59:21 | 2021-07-08T18:59:21 | 384,217,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | h | #pragma once
#include "ofMain.h"
#include "person.h"
class ofApp : public ofBaseApp{
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, in... | [
"cormacpatrickcrehan@gmail.com"
] | cormacpatrickcrehan@gmail.com |
60d2d9f994b706b96a87051c61ae4de831e16360 | 4cbd85de1b149a0bb35a90e09160bbcbc935b042 | /NOI/sols/D/PDI/bact.cpp | 528418016fce1e7ee026b806665a2d28e25c6c55 | [] | no_license | Alex-Tsvetanov/Testing-Scripts | cacaaea1642b18f6ea261faa0e19d0cc26a5b6d2 | c201f3bf02662a8fb3e862211cbf6f74725dfac3 | refs/heads/master | 2021-05-13T23:46:17.206320 | 2018-01-07T00:18:13 | 2018-01-07T00:18:13 | 116,525,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | cpp | #include<iostream>
using namespace std;
int main(){
int long long A,B,C,D,K,nacalo,br,ost,kraj;
cin>>A>>B>>C>>D>>K;
nacalo=A*B;
ost=nacalo-C;
do{
nacalo=A*B;
ost=nacalo-C;
if(ost<C){ br=0;
cout<<0;
break;
}
else{
if(ost>D)ost=D;
A=ost;
}
K--;
}
while(K>0);
if(br!=0){
cout<<o... | [
"you@example.com"
] | you@example.com |
0ba108c6dbf9c61b92bcae7b4840b6d576572f30 | 45eda4611f8fee12f1764d2f7b67ce1393436c51 | /src/sax/DTDHandler.h | 068eccc2d7d14d61d84ff90c8f7f672b2d5afa52 | [] | no_license | nukes/pyXerces | 116a4b4a0a36028efd41f99174faee5e3822eb6a | 3cccd979e134491fcf6a1db57fd6c9b4d3109017 | refs/heads/master | 2020-05-19T12:12:57.976210 | 2017-09-10T08:01:18 | 2017-09-10T08:01:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 231 | h | /*
* DTDHandler.h
*
* Created on: 2013/03/06
* Author: mugwort_rc
*/
#ifndef DTDHANDLER_H_
#define DTDHANDLER_H_
namespace pyxerces {
void DTDHandler_init(void);
} /* namespace pyxerces */
#endif /* DTDHANDLER_H_ */
| [
"mugwort.rc@gmail.com"
] | mugwort.rc@gmail.com |
98ab3425c6543c230be4a32126d30a038bdcfa77 | 5b7d2ae1a4bd1f7c7b7754d24403b71c8c5cc4a0 | /TPV2/game/ecs_defs.h | 7370924fa97755534801b1c810a8a9354958eee0 | [] | no_license | AidaAcha/TPV2 | a4aef400ecd07d53349fc11149dac4067edfaab9 | 40a80a45a9bf0a4913580c9064c33d026d1e6064 | refs/heads/main | 2023-03-21T22:30:04.718614 | 2021-03-07T18:56:31 | 2021-03-07T18:56:31 | 345,090,220 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | h | // This file is part of the course TPV2@UCM - Samir Genaim
#pragma once
// components -- forward declaration, i.e., assume they are defined somewhere
class Transform;
class Rectangle;
class KeyBoardCtrl;
class Bounce;
class Image;
class Rotate;
class deAcceleration;
class Health;
class FighterCtrl;
#define _CMPS_LIS... | [
"48960424+AidaAcha@users.noreply.github.com"
] | 48960424+AidaAcha@users.noreply.github.com |
364465c01437fb383c0f1d195480af33d9609220 | 3b5dcd8c97cf0b128ff4571f616e6f93cde4d14f | /src-qt3/FE/DataManager/wGraphLib/wGraphPlot.h | 3c1a828ff05976cb68a805450e02653f1d6aeea9 | [] | no_license | jeez/iqr | d096820360516cda49f33a96cfe34ded36300c4c | c6e066cc5d4ce235d4399ca34e0b238d7784a7af | refs/heads/master | 2021-01-01T16:55:55.516919 | 2011-02-10T12:00:01 | 2011-02-10T12:00:01 | 1,109,194 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,427 | h | #ifndef WGRAPHPLOT_HPP
#define WGRAPHPLOT_HPP
#include <qptrlist.h>
#include "wGraphWidget.h"
#include "wGraphTrace.h"
/*! The WGraphPlot inherits WGraphWidget and adds some specific
functionalities for handling serial data for visualization.
In addition, a WGraphLegend is generated on request, which provide... | [
"ulysses.bernardet@upf.edu"
] | ulysses.bernardet@upf.edu |
1145fb3b787c0dfdb4c3c734d7316dec1b2cf199 | e2a6683bb1095fdb4fd71dca2e3e3fdb035edaad | /src/psk31/main.cpp | 17198b6964a4f67e850d742c4dfc5a547b1c25f5 | [] | no_license | DrYerzinia/C_DigiMode | a4fb279bf724ec4564fd8d499184b843bb195add | 78dc5a947102695ecf35b74e07b8e6aebb0f6f1b | refs/heads/master | 2021-01-10T20:03:23.515476 | 2014-07-14T02:18:07 | 2014-07-14T02:18:07 | 29,950,611 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,265 | cpp | // main.cpp
#include <iostream>
#include <fstream>
#include <vector>
#include <cstring>
#include <stdlib.h>
#include "psk31_tdtl.h"
#include "psk31_wcpd.h"
#include "psk31_wpdd.h"
#include "../util/Util.h"
int main(int argc, char **argv){
std::string args;
for(int i = 0; i < argc; i++) arg... | [
"dryerzinia@gmail.com"
] | dryerzinia@gmail.com |
2b9b86745841f53bb7de7de676708aa3e1147cbd | 371a33e21cc3854e19178ee978d82d46f0f5e33f | /Component/Component4069/Component4069.cpp | ccc35e502ae279a455c3e8b01a90af3350ff3bc9 | [] | no_license | Bltzz/OOP_nanotekspice_2019 | e0ae3e175c5aa5c65b56128132568d808aca34db | 15870dd328f3b2e4938dece232249ccab2ac0ced | refs/heads/master | 2021-04-21T00:25:10.510326 | 2020-03-24T14:29:57 | 2020-03-24T14:29:57 | 249,729,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,588 | cpp | /*
** EPITECH PROJECT, 2019
** OOP_nanotekspice_2019
** File description:
** Component4069.cpp
*/
#include "Component4069.hpp"
#include <iostream>
Component4069::Component4069(std::string const name)
{
this->name = name;
this->type = "4069";
this->numPins = 13;
pins[1] = new Pins(Pins::Type::INPUT, 1... | [
"jonas.pfaff@epitech.eu"
] | jonas.pfaff@epitech.eu |
136282d4d2666110173929938ddbf4e12e44d780 | 131abdab33da17bf40a4704cf42c8598d0c54fbc | /dictionary_exercizes/fib.cpp | 0eb1a5efa2038e47574a2eaff162878bad9b2a35 | [] | no_license | balooop/cplusplus_projects | 865623b6f4658ca06fa07e12cedb19ef1b2f8812 | 209b708708ebdb4722ee03175e663404bf425c40 | refs/heads/master | 2021-01-08T17:00:41.922709 | 2020-02-21T08:12:47 | 2020-02-21T08:12:47 | 242,087,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,202 | cpp | /**
* @file fib.cpp
* Contains Fibonacci-number generating functions both utilizing and not
* utilizing memoization.
*
* @author Matt Joras
* @date Winter 2013
*/
#include "fib.h"
#include <map>
using std::map;
/**
* Calculates the nth Fibonacci number where the zeroth is defined to be
* 0.
* @param n Whi... | [
"pbaloo2@illinois.edu"
] | pbaloo2@illinois.edu |
56736914ed97c1a5854604b676f63e49b05d2f62 | 7ee1a4625d259a8a0e0c98c42271c4d4d3c84a5f | /src/groups/bmq/bmqeval/bmqeval_simpleevaluatorscanner.h | b253a9eff381a06911ce0c02c3ced8faf0b7fdf5 | [
"Apache-2.0"
] | permissive | bloomberg/blazingmq | c78323ff0246d69177b619c54fa85c15968e4d25 | 1a0588ca8049230421e75760e110bff3711e79e8 | refs/heads/main | 2023-09-01T01:06:02.672367 | 2023-08-29T21:57:39 | 2023-08-30T17:39:25 | 665,300,681 | 2,199 | 84 | Apache-2.0 | 2023-09-14T21:01:30 | 2023-07-11T22:49:38 | C++ | UTF-8 | C++ | false | false | 3,837 | h | // Copyright 2023 Bloomberg Finance L.P.
// SPDX-License-Identifier: Apache-2.0
//
// 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
//
// ... | [
"asaxena13@bloomberg.net"
] | asaxena13@bloomberg.net |
397d350790f77f462a63f0d4e2994fab1184ce3c | 5de42c4e14a7ddbc284a742c66cb01b230ba43ce | /codeforces/201/C.cpp | d6ec9d7c1085433cff47ab21c640041933082d65 | [] | no_license | NhatMinh0208/CP-Archive | 42d6cc9b1d2d6b8c85e637b8a88a6852a398cc23 | f95784d53708003e7ba74cbe4f2c7a888d29eac4 | refs/heads/master | 2023-05-09T15:50:34.344385 | 2021-05-04T14:25:00 | 2021-05-19T16:10:11 | 323,779,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,297 | cpp |
// Problem : C. Fragile Bridges
// Contest : Codeforces - Codeforces Round #127 (Div. 1)
// URL : https://codeforces.com/problemset/problem/201/C
// Memory Limit : 256 MB
// Time Limit : 2000 ms
// Powered by CP Editor (https://github.com/cpeditor/cpeditor)
/*
A Submission by $%U%$
at time: $%Y%$-$%M%$-$%D%$ $%h%$:... | [
"minhkhicon2468@gmail.com"
] | minhkhicon2468@gmail.com |
7144a7e5881255205892c09ded43571d6a8f0f7d | 46059067c85e575433f5af6ae3dcc2edb34423f5 | /client-cpp-qt/Model/book.cpp | 4538b91df1610b9ef3c313ac857c7dbdd53fc618 | [] | no_license | DatabasesWorks/ebooksearchtool | febc97a3ffeacd0ee6cca578be108504fb8e5fe7 | efbb1c3fb18c1384442b591f1386540eaa8b2291 | refs/heads/master | 2020-09-08T22:33:23.609113 | 2015-03-20T17:13:22 | 2015-03-20T17:13:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,821 | cpp | #include "book.h"
#include "filedownloadmanager.h"
#include <QDebug>
#include <QFileInfo>
static const int HTTP_PREFIX_LENGTH = 7;
Book::Book(const QString& title,
const QString& language,
const QString& summary,
const QString& id) : myTitle (title),
myLanguage(language),
mySummary(s... | [
"cvetlana.mail@gmail.com"
] | cvetlana.mail@gmail.com |
5ed10eb93f8c3b9e36ebbda3db7244ef90e1ca7c | 31f5cddb9885fc03b5c05fba5f9727b2f775cf47 | /thirdparty/eigen-3.3.3/unsupported/test/cxx11_tensor_fft.cpp | 2f14ebc622db82adf09adb71eeff8436dde2110a | [
"GPL-3.0-only",
"LGPL-2.1-only",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"MPL-2.0",
"LGPL-2.1-or-later",
"Minpack",
"MIT"
] | permissive | timi-liuliang/echo | 2935a34b80b598eeb2c2039d686a15d42907d6f7 | d6e40d83c86431a819c6ef4ebb0f930c1b4d0f24 | refs/heads/master | 2023-08-17T05:35:08.104918 | 2023-08-11T18:10:35 | 2023-08-11T18:10:35 | 124,620,874 | 822 | 102 | MIT | 2021-06-11T14:29:03 | 2018-03-10T04:07:35 | C++ | UTF-8 | C++ | false | false | 12,770 | cpp | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2014 Jianwei Cui <thucjw@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at ... | [
"qq79402005@gmail.com"
] | qq79402005@gmail.com |
c06e0ef9e0fa6d4562d7d03b1c1108807f7420d4 | 043f37a0f7cdefa3d0f0e3383142b9eb0b91b854 | /aclswarm/lib/codegen_admm/ADMMGainDesign3D/speye.cpp | 205ce0fab042b0f92dee737f3ba49b3d2d7a795e | [
"MIT"
] | permissive | owenbupt/aclswarm | 837b3c7379c1fafe76a49e5f048279fcbc64152f | 2a4d1e0962a3e3bbc2568172f33f5b466e296647 | refs/heads/master | 2022-12-08T18:35:46.414740 | 2020-09-18T01:11:32 | 2020-09-18T01:11:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,944 | cpp | /*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
*
* speye.cpp
*
* Code generation for function 'speye'
*
*/
/* Include files */
#include "speye.h"
#include "A... | [
"parkerclusk@gmail.com"
] | parkerclusk@gmail.com |
2e918a63e556cb9a03315e9babcba89f7e12927e | 13109fc425a5a17dd2ba77b37da4ecb5ed5cb0ad | /software/Web/cgi/CCardChg.cpp | 6d13b75a87ffd203d044483c328cf757164378ac | [] | no_license | githubxj/utn | 2c0b009914983606f36132a24bd2f2eee5a10a0a | 684db65cf63a276846134b9f2a9ad046e210e055 | refs/heads/master | 2021-01-18T16:56:50.141526 | 2017-08-18T09:46:40 | 2017-08-18T09:46:40 | 100,475,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,975 | cpp | #include <iostream>
#include <stdio.h>
#include <sstream>
#include <dirent.h>
#include <string.h>
#include "CgiRequest.h"
#include "Tools.h"
#include "Lang.h"
#include "CGISession.h"
#include "CppSQLite3.h"
#include "msg.h"
#include "Comm.h"
#include "const.h"
#include "CCardChg.h"
#include "logger.h"
using namespa... | [
"xj@covond.com"
] | xj@covond.com |
f901f57e9504919774847bdd4acb69fe0813353c | efd80acbef5552e2c01417457bba0c0a5aacb607 | /AtCoder_PastProblems/ABC_098/A.cpp | 6a943d43193f9c7d411316b230bd7196e4765c94 | [] | no_license | skyto0927/Programming-Contest | 4e590a1f17ba61f58af91932f52bedeeff8039e8 | 5966bd843d9dec032e5b6ff20206d54c9cbf8b14 | refs/heads/master | 2021-06-04T05:02:58.491853 | 2020-10-06T21:55:14 | 2020-10-06T21:55:14 | 135,557,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cpp | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for(int i = 0; i < n; i++)
#define REPR(i, n) for(int i = n; i >= 0; i--)
#define FOR(i, m, n) for(int i = m; i < n; i++)
#define ALL(obj) (obj).begin(), (obj).end()
#define INF 1e9
typedef long long ll;
int main() {
int A,B; cin >> A >> B;
cout... | [
"skyto0927@gmail.com"
] | skyto0927@gmail.com |
2440e215f7161c0509ea32b74c37d2edb4ea7aff | a7d268b5604acc600ab19f3c6c078e5ad3b70d39 | /cpp_learning/cpp_learning/Counter.h | 813342766b42dcf3809593bfe60fe4119f64cacc | [] | no_license | 08zhangyi/cpp_learning | 2a0165303fae04fe6f53e6f56e7a25e353406ba1 | e0e4847d285841c7bba5ba78d8ba68a5bbc9f3f8 | refs/heads/master | 2020-04-09T16:24:56.373818 | 2019-01-13T01:21:14 | 2019-01-13T01:21:14 | 160,452,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | h | #pragma once
#include <iostream>
class Counter {
public:
Counter();
~Counter() {}
int getValue() const { return value; }
void setValue(int x) { value = x; }
private:
int value;
};
Counter::Counter(): value(0) {}
int mf() {
Counter c;
std::cout << "The value of c is " << c.getValue() << std::endl;
return 0;... | [
"395871987@qq.com"
] | 395871987@qq.com |
0c802a63f25b394725e3fb78fd0ccf7981175178 | 7951cc34215d56385c159870ead7a6bb81d5fb06 | /CacheSim/DirectCacheMemory.cpp | 665550a56c849e13d95e89b45705726ac6b78419 | [] | no_license | MacDragon/CacheEmu | dc4c0ec7b422b37b1bb7d824dfbe163d49365107 | cc5af4c8c954b5aac4641d633a484872bf83da62 | refs/heads/master | 2020-09-28T00:10:15.208336 | 2019-12-10T07:45:10 | 2019-12-10T07:45:10 | 226,642,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,047 | cpp | //
// DirectCacheMemory.cpp
// CacheSim
//
// Created by Visa Harvey on 24.11.2019.
// Copyright © 2019 Visa Harvey. All rights reserved.
//
#include <iostream>
#include "DirectCacheMemory.hpp"
DirectCacheMemory::DirectCacheMemory(unsigned int memorysize, int blocksize, int latency, WritePolicy writethrough, bool... | [
"dragonslair@gmail.com"
] | dragonslair@gmail.com |
355f8b37f03a1dd29a5bb58150a0a1763e7da51b | bca146a024a59e47588ff10279b34b55b1b18743 | /ProjectEuler/ProjectEuler-09.cpp | 2fa81b21f5a92710c71d7e0dfeba29ac16fc00a7 | [] | no_license | verra11/Competitive_Programming | 1a7dba2150ac08cffdd5c9115b046bdd95c66617 | 9c33e970802d66abb8b36421ed42993bbb7ecc58 | refs/heads/master | 2022-11-22T01:05:30.559788 | 2020-07-23T15:19:51 | 2020-07-23T15:19:51 | 258,792,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | cpp | /*
Author: Dinesh Verra
College: ABV-IIITM
Date: 18/04/2020
*/
#include <bits/stdc++.h>
// #include <boost/multiprecision/cpp_int.hpp>
// using namespace boost::multiprecision;
using namespace std;
typedef long long ll;
#define cu continue
#define br break
#define pb push_back
#define mp make_pair
#define mod 1000... | [
"verra.dinesh@gmail.com"
] | verra.dinesh@gmail.com |
96a9791ba652dcb7c69fe6970f80b8b31e10371c | fe8cd9f928b49ed82f0737efc9e36dd5aa3102a0 | /BK_明解C语言/C2_专注于显示/打印覆盖问题/打印覆盖问题.cpp | 940762dd1e00d5778247fa214004b7c009d1d0e8 | [] | no_license | SouthBegonia/Codes_2018 | 0a85a0c76c478c9311b299a8f4ef335a7e893939 | 193a3f5e2c15f8bed49cabbc8b9932d290a95331 | refs/heads/master | 2021-06-11T17:07:57.578635 | 2019-07-06T11:47:36 | 2019-07-06T11:47:36 | 129,072,507 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 854 | cpp | /*
程序功能:间歇性覆盖打印pritnf()语句。
原理:'\r'回车符使光标回到本行最前面,新得字符覆盖老的字符,但假如长短不一会造成不完全覆盖。
*/
#include<stdio.h>
#include<time.h>
int sleep(unsigned long x) //等待 x 毫秒
{
clock_t c1 = clock(), c2;
do
{
if ((c2 = clock()) == (clock_t)-1)
return 0;
} while (1000.0*(c2 - c1) / CLOCKS_PER_SEC < x);
return 1;
}
int main()
{... | [
"1687634916@qq.com"
] | 1687634916@qq.com |
28f20e471eb96306dbfdd2a4383b86c90a1bbd9c | 5b0178faf65c0aa1ed28096a99f8980b9b8c620d | /tests/hpp/signal_traits_evl.hpp | aecc0dd5a2650dcbe528968b0ea4a04a1fda362d | [] | no_license | NoAvailableAlias/signal-slot-benchmarks | 89cba6b8a0dc511e1be9316a0541c9217fabf0d7 | ae175d272f80faaaf75c594d9bfa4f3f4a382de1 | refs/heads/master | 2022-10-30T03:17:30.541106 | 2022-10-14T01:59:22 | 2022-10-14T01:59:22 | 35,726,133 | 126 | 31 | null | 2022-10-15T09:35:00 | 2015-05-16T14:09:51 | C++ | UTF-8 | C++ | false | false | 1,311 | hpp | #pragma once
#include <eviltwin/observer.hpp>
#include <cassert>
struct signal_traits_evl
{
static constexpr bool has_signal_empty_test = false;
static constexpr bool has_connection_connected_test = true;
static constexpr bool has_disconnect_all = true;
static constexpr bool has_swap = true;
static constex... | [
"julien.jorge@stuff-o-matic.com"
] | julien.jorge@stuff-o-matic.com |
0254ff33634097c7bdb19a5336f0c917b5311123 | 38405031717b5e2b5e96c3284e51b7a536822331 | /Assignment_01/Rayy/afeser.hpp | 37df6d9a15b651eed45145ac4c30cbfdd88f7a4f | [] | no_license | aalparslan/RayTracing | 80c18829670cf30921ebb153ffc287cca3276d59 | 8e4cd37e01ea640708a7c5eaba94abb8b5f03062 | refs/heads/master | 2023-02-26T14:40:12.889070 | 2021-01-30T18:28:09 | 2021-01-30T18:28:09 | 309,053,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,943 | hpp | #ifndef _HW1_AFESER
#define _HW1_AFESER
#include "helper.hpp"
/*
Minimum and maximum points of a mesh are stored inside two 3 dimensional vectors.
*/
typedef struct MinimumMaximumPoints{
parser::Vec3f minimum;
parser::Vec3f maximum;
} MinimumMaximumPoints;
/*
Precompute normal vectors and store in a vector.... | [
"afeserr@gmail.com"
] | afeserr@gmail.com |
22dfcfeb4e52db8c37c15fce7da097cf54b82928 | 9d4b941f3a4cf9c53f8aa5d972d9b219b17096fa | /src/test/src/logger_tests.cpp | 012b479ebd5b64102586ae2a19c60fda0e7cce84 | [
"MIT"
] | permissive | Awesome-CV/4dvideo | bd23295bf45bd7fb77cace010634c500d2295d49 | b9eaeb9ffeac014c46df77f63c8b353d2a51d2a4 | refs/heads/master | 2021-08-23T08:39:05.485345 | 2017-12-04T10:14:31 | 2017-12-04T10:14:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,451 | cpp | #include <thread>
#include <gtest/gtest.h>
#include <util/tiny_logger.hpp>
#include <util/string_utils.hpp>
#define TST_LOG(level) LogMessage(level, __FILE__, __LINE__, __FUNCTION__, &testStream)()
namespace
{
// helper functions
void testLog(std::ostringstream &testStream, int threadIdx)
{
constexpr int n ... | [
"apetrenko1991@gmail.com"
] | apetrenko1991@gmail.com |
d834f99aa4e35b7585d1a97fab871194437ab917 | f0749232d54f17e3c321b0b90daaeb23b9faec82 | /Online Judge Code/[Other] Online-Judge-Solutions-master_from github/TJU/3678 - Fast Arrangement.cpp | 6d2e37d17d2b69786dd0631dd15638d94d60f976 | [] | no_license | tmuttaqueen/MyCodes | c9024a5b901e68e7c7466885eddbfcd31a5c9780 | 80ec40b26649029ad546ce8ce5bfec0b314b1f61 | refs/heads/master | 2020-04-18T22:20:51.845309 | 2019-05-16T18:11:02 | 2019-05-16T18:11:02 | 167,791,029 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,620 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
int T[4 * 1000000],lazy[4 * 1000000];
void push(int node, int l, int r){
T[node] += lazy[node];
if(l != r){
lazy[2 * node + 1] += lazy[node];
lazy[2 * node + 2] += lazy[node];
}
lazy[node] = 0;
}
... | [
"1505002.tm@ugrad.cse.buet.ac.bd"
] | 1505002.tm@ugrad.cse.buet.ac.bd |
757da12ad2f86d0d4695cca8a0aec96184f80e43 | 984534f2c8ff4bfbe0fe2933ffe7fc01e1544258 | /ass6_13CS10061/ass6_13CS10061_translator.h | 89e74e4e66cd86cb77bd86c2f5d2fca4d4a1b13b | [] | no_license | iamagarwalsumit/Tiny-C | 12b77dec21a61d7d872821e14b7c7f6661765596 | db1c3303ce0402d83abe6477b539489cf6dbf466 | refs/heads/master | 2020-09-24T14:46:09.415782 | 2019-12-04T05:15:11 | 2019-12-04T05:15:11 | 225,783,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,847 | h | #ifndef ASS6_13CS10061_TRANSLATOR_INCLUDED
#define ASS6_13CS30061_TRANSLATOR_INCLUDED
# define SIZE_OF_INT 4
# define SIZE_OF_DOUBLE 8
# define SIZE_OF_CHAR 4
# define SIZE_OF_PTR 8
# define MAX_SIZE 10000
/* Various structures */
typedef enum { VOID, INT, CHAR, DOUBLE, BOOL, ARRAY, PTR, FUNCTION }typeEnum;
type... | [
"sumit@eatable.co.in"
] | sumit@eatable.co.in |
c09edbaf1c86770819c5871eb35df4104c553c71 | 6b3905932cff37e14ae25cecc712767b4d706400 | /catkin_ws/devel/include/sim_msgs/location.h | 46f31067a2342894a0455a75bd80d69d8679c3eb | [] | no_license | debbinshi/MPC | 13a7b74fa554beb6979305e092b412680ccbecc4 | d7930e418ef2d9f221a12d6b71b50d92da84c6e2 | refs/heads/master | 2020-03-28T06:20:03.207774 | 2019-03-25T16:37:57 | 2019-03-25T16:37:57 | 147,828,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,858 | h | // Generated by gencpp from file sim_msgs/location.msg
// DO NOT EDIT!
#ifndef SIM_MSGS_MESSAGE_LOCATION_H
#define SIM_MSGS_MESSAGE_LOCATION_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_opera... | [
"debbinshi@126.com"
] | debbinshi@126.com |
93ab63d3a8b48dddf73b6248f9248e389e77e870 | 2f731d71c29b655ebf435bcc66b491a82192ec7b | /main.cpp | 77ee49c83e487ebf15d44354f2bd49c3392673dc | [] | no_license | MingXiangL/five-in-a-row | 61dc4ce5497c90a5ab70819ffa98fd35a16c3222 | 3903eadbcd6cc6bb21c6c637803766fdef6a7ace | refs/heads/master | 2022-12-26T10:42:08.136804 | 2020-10-11T10:03:21 | 2020-10-11T10:03:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 117 | cpp | #include <iostream>
#include <iomanip>
#include "chess.h"
int main()
{
chess chess_game;
chess_game.PlayGame();
} | [
"1019945137@qq.com"
] | 1019945137@qq.com |
fbb01349afecfe48bdbdbd85c1357ec50c9154a4 | ddaa8100305d4091ecf1c19df695d00e5b09a201 | /Common/PipelineStateManager.h | c479ab8516d26edfa4616feef203b8fac4857f41 | [] | no_license | newpolaris/DX11Test | 21d51d532d44aa7b2c639d55faf3f49d3a4aa25a | 28c0208507a2f4004afc0dbc27773edf9333f105 | refs/heads/master | 2021-07-16T17:47:47.290473 | 2017-05-16T06:52:46 | 2017-05-16T06:52:46 | 84,784,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | h | #pragma once
class PipelineStateManager
{
public:
PipelineStateManager() = default;
PipelineStateManager(const PipelineStateManager&) = delete;
const PipelineStateManager& operator=(PipelineStateManager&) = delete;
}; | [
"newpolaris@gmail.com"
] | newpolaris@gmail.com |
83994f329d68868308d8531395a542bc13a92327 | cd4824e78f8e96b43969883271a83879e6ef4ca9 | /CSC8501-Coursework/CSC8501-Coursework.cpp | 7bb4b0a4cf66e15156793e367990c07bd3f1abae | [] | no_license | Towers-D/CSC8501-Coursework | f4674a0932c06a02dc7a778a02ae294f0679a13e | edaa86ffcdb09b120ef80b70785985989134ba42 | refs/heads/master | 2022-03-02T15:42:15.425846 | 2019-10-24T18:03:51 | 2019-10-24T18:03:51 | 215,752,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,032 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <string>
#include <fstream>
#include "Puzzle.h"
#include <limits.h>
#include <filesystem>
//@author: David Towers (160243066)
using namespace std;
//Constants used by program
const string CON_FILE = "15-File.txt";
const string RES_F... | [
"d.towers2@ncl.ac.uk"
] | d.towers2@ncl.ac.uk |
9fb23f2d80af6fb2f16cc963463743f719989fe1 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir12766/dir12767/dir19789/dir20819/file20828.cpp | dc1c467efc8bdc4f7fa2ead7f6913a02137db778 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file20828
#error "macro file20828 must be defined"
#endif
static const char* file20828String = "file20828"; | [
"tgeng@google.com"
] | tgeng@google.com |
c996284ffc31d0fc37b239178733b62f3107bab2 | a593e7412c930a172e14df75c231618aee93a604 | /cocos2d/renderer/build/chunks/shader/phong-fs.inc | 75f59e4145a761116ce9819205fef6f950cc193e | [
"MIT"
] | permissive | 2youyou2/engine | a4ec37db273fec97fb8e7ceb0177056cb0c2318d | 8d64a2cc8eb4a532a9a469705214553e515359ca | refs/heads/master | 2023-08-30T03:17:56.362537 | 2019-01-24T11:18:37 | 2019-01-24T11:18:37 | 55,458,343 | 5 | 2 | null | 2021-07-29T07:36:03 | 2016-04-05T01:35:58 | JavaScript | UTF-8 | C++ | false | false | 882 | inc |
#if USE_NORMAL_TEXTURE
#extension GL_OES_standard_derivatives : enable
#endif
#include <cc-global>
#include <common-attribute>
#include <encodings>
#include <common>
varying vec3 v_worldNormal;
varying vec3 v_worldPos;
#include <normal>
#include <diffuse>
#include <specular>
#include <emissive>
#include <lights-ph... | [
"huabin.ling@cocos2d-x.org"
] | huabin.ling@cocos2d-x.org |
650a613c3498722639aaf66f8124c57dd3f04c1f | ae0f1fff140e24076442a26ad6236b3c5527e601 | /NV6/nghichdao.cpp | a5f74634023f4c0a054a92ad304fff8bb0e1302a | [] | no_license | jackychun2002/T2008M-LBEP | cd61ca8a04e92d7722d449b5d30b8b325bdff357 | b2bfaf221d694c91654ddb42d5818b718c2909b5 | refs/heads/master | 2022-12-30T23:41:22.522590 | 2020-10-02T03:17:12 | 2020-10-02T03:17:12 | 293,971,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | cpp | #include<stdio.h>
int T(int n){
int s=0;
for(;n!=0;n/=10){
s = s*10 + n%10;
}
return s;
}
int main(){
int n;
printf("nhap n:");
scanf("%d",&n);
printf("so nghich dao la : %d",T(n));
}
| [
"chienbody2002@gmail.com"
] | chienbody2002@gmail.com |
4b37a039cd965f20ba62b9309a220b016969d36d | 73e79f827b1c74684d6cf7072ae5abd30921efc4 | /libredex/ApiLevelChecker.cpp | 81227de7453b500405257dd83bb81391d58bbe94 | [
"MIT"
] | permissive | MedRedha/redex | a202bb74fd3a7ac51cc0d6afedc4f58bca08c0ae | aba81f4b2425800c451c44cb52066d9e392e4926 | refs/heads/master | 2020-06-06T03:53:06.378094 | 2019-06-18T23:11:11 | 2019-06-18T23:16:46 | 192,630,837 | 1 | 0 | MIT | 2019-06-19T00:36:27 | 2019-06-19T00:36:27 | null | UTF-8 | C++ | false | false | 3,935 | cpp | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ApiLevelChecker.h"
#include "Walkers.h"
namespace api {
// These initial values are bogus until `init()` is called. We... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
0aa2e52f5e26b13dbff4ed995cee3aad696387d6 | 4064b13a23fb033a8884e4ba6a0f032de753788e | /PhysicEngine/Sources/SDK/Physics/BroadPhases/DynamicAABBTree.cpp | f80a32cd3d176987592013ed5b859358603ccfde | [] | no_license | mrouffet/PhysicEngine2D | b914617e772f919952b0b85e09fd403a138b96ec | 8cfafe068e36ddac34c5d7fd166d03e1d3c64e92 | refs/heads/master | 2021-05-24T10:31:42.859864 | 2020-04-06T15:07:26 | 2020-04-06T15:09:48 | 253,520,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,858 | cpp | #include <Maths/Algorithms.hpp>
#include <SDK/Physics/BroadPhases/DynamicAABBTree.hpp>
namespace Pe
{
// === Node ===
DynamicAABBTree::Node::Node(Leaf&& _leaf) noexcept :
isLeaf{ true },
leaf{ std::move(_leaf) }
{
}
DynamicAABBTree::Node::Node(Branch&& _branch) noexcept :
isLeaf{ false },
branch{ std::mo... | [
"maximerouffet@gmail.com"
] | maximerouffet@gmail.com |
930c859ff36e3d16c8ce070de98f696d743f43b5 | 98b63e3dc79c75048163512c3d1b71d4b6987493 | /tensorflow/compiler/mlir/xla/type_to_shape_test.cc | 97417748b6407709682ca155da7b681ebb640fd9 | [
"Apache-2.0"
] | permissive | galeone/tensorflow | 11a4e4a3f42f4f61a65b432c429ace00401c9cc4 | 1b6f13331f4d8e7fccc66bfeb0b066e77a2b7206 | refs/heads/master | 2022-11-13T11:56:56.143276 | 2020-11-10T14:35:01 | 2020-11-10T14:35:01 | 310,642,488 | 21 | 12 | Apache-2.0 | 2020-11-06T16:01:03 | 2020-11-06T16:01:02 | null | UTF-8 | C++ | false | false | 7,943 | cc | /* Copyright 2019 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 |
8fab03c1b9dd38daa8cd2bf4b0b204cf986dc7bf | 62c45c77da533177b2cf234733cf34f18dfaf94a | /base/prefs/pref_service.cc | 7741306b2ee4b50c33075871d6a6b6e2fbc19f99 | [
"Apache-2.0"
] | permissive | eval1749/elang | ff76d95c0000ed1d61434b387d319f950f68509a | 5208b386ba3a3e866a5c0f0271280f79f9aac8c4 | refs/heads/master | 2020-04-29T17:44:53.579355 | 2015-12-11T18:51:34 | 2015-12-11T18:51:34 | 28,262,329 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,791 | 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 "base/prefs/pref_service.h"
#include <algorithm>
#include <utility>
#include "base/bind.h"
#include "base/files/file_path.h"
#include "base... | [
"eval1749@gmail.com"
] | eval1749@gmail.com |
65e2aeee4be3935d9359ffc2702b3c41c7d8033c | 8bbeea2f5a3293d48a5a42690148f5a61b621e26 | /code/DeferredRenderer.h | 6eef86830e7bce2ceead448381e67041d55f1bf4 | [] | no_license | fenbf/efg_deferred | 2e12380bf325ae180ce7c7763eaef51233eab42f | b22ef7265a8c66074e38f449dd7ded166e683ecc | refs/heads/master | 2020-04-10T04:11:53.968577 | 2012-07-10T19:35:23 | 2012-07-10T19:35:23 | 4,842,376 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | h | /** @file deferredRenderer.h
* @brief
*
* Effects in Games, June 2012
*/
struct DeferredLight
{
glm::vec3 mPos;
glm::vec3 mDiffuse;
glm::vec4 mSpecular; // intensity in the fourth component
DeferredLight() : mPos(0.0f), mDiffuse(0.4f), mSpecular(0.6f, 0.6f, 0.6f, 64.0f) { }
DeferredLight(... | [
"bartlomiej.filipek@gmail.com"
] | bartlomiej.filipek@gmail.com |
8ee9aafb7221e45d55d44d3a3ff263a3d3750187 | 11ca42d611fb189f29702da132578dfc27f27c61 | /ch08/ch08ex09.cpp | b9ce5572af38b2818797c7d4b07fe73eabb1f31f | [] | no_license | baile320/ppp | 50c03ee08fd8e2c63ffc820c361750a800334ac9 | fdd91113e43198735bc1233117cdeeb73fda4c15 | refs/heads/master | 2021-12-23T04:34:14.214091 | 2011-10-30T23:09:03 | 2011-10-30T23:09:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,179 | cpp | /**
* @file ch08ex09.cpp
* @date 2011-07-02
*
* Write a function randint() that produces a pseudo-random number in the
* range [0:MAXINT]
* Taken from Knuth, The Art of Computer Programming, Vol 2 (3E), ch3.6, page 185
* Add function rand_in_range(int a, int b) using my_randint()
* randint() is a standard libra... | [
"jaduffa@gmail.com"
] | jaduffa@gmail.com |
ded095d090c74d9681ebc86463bc53e4989d30f4 | 793789784f17da4e570e595d388c9a6e02bce852 | /tests/test_libcmaes.cpp | d9b39965b701b9c187d5fedd0b5e2d2dc1331fd0 | [] | no_license | chen-tianjian/cmaes-grasp-planning | ae6d452f6b67f3d1f60f366b923161e8fb5a65bc | 0312a3192f1f8f35802128703b5d2bbaca2a14f3 | refs/heads/main | 2023-03-05T04:23:08.702827 | 2021-02-19T00:53:53 | 2021-02-19T00:53:53 | 336,322,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,332 | cpp | #include "cmaes.h"
#include "gtest/gtest.h"
using namespace libcmaes;
FitFunc fsphere_lambda_expr = [](const double *x, const int & N)
{
double val = 0.0;
for (int i=0;i<N;i++)
val += x[i]*x[i];
return val;
};
double fsphere_reg_func(const double *x, const int N)
{
double val = 0.0;
for (in... | [
"tianjian.chen@columbia.edu"
] | tianjian.chen@columbia.edu |
eb108b3979c5a8e97483750b3c0f2d5e9a284b42 | 95e5bd64dd25274ee4645d85e7c68686dd97ecc7 | /AUSSem2/AUSSem2/FilterFi2.h | ffa4d2a78deb890da6e85178bb3ba8355f26e543 | [] | no_license | fcabadaj/GitUdajovkySem2 | 629f3f2af54977d46d7bd652220fbbe77dc3bbd5 | ac63a81a797ff587ec743371ce5d3d506830df6b | refs/heads/master | 2020-05-15T18:12:31.153538 | 2019-05-11T14:08:49 | 2019-05-11T14:08:49 | 182,419,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 719 | h | #pragma once
#include "Filter.h"
template <typename T, typename O>
class FilterFi2 :
public Filter<T,O>
{
private:
T alpha_;
T beta_;
public:
FilterFi2(T alpha, T beta);
virtual ~FilterFi2();
bool evaluate(const O& o, const Kriterium<T, O>& c) override;
void setAlpha(T alpha) { alpha_ = alpha; };
void setBeta(... | [
"cabadajfr@gmail.com"
] | cabadajfr@gmail.com |
c04a417b653ad3b7db03dbf6038dd99c7db2d23d | c5a2dfce242a54b4616db69f219045791e853582 | /src/solver/verlet.cpp | c63effb31c5632a98396c48aa235112266c6a973 | [] | no_license | LoannB/Nbody | edac33302c27f43e55ae9156d83539a8557ed803 | a9625f89fd6deed531956d94463d701a7e489abd | refs/heads/master | 2020-03-18T00:02:52.878124 | 2018-05-19T16:13:44 | 2018-05-19T16:13:44 | 134,075,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,487 | cpp | #include <iostream> //For console output/input
#include <fstream> //Allows to read/write files
#include <math.h> //Basic mathematic functions
#include <vector> //For dynamic arrays
#include <string> //Operations on strings
#include <tuple>
#include <cmath>
using namespace std;
vector< vector<double> > verle... | [
"loann.brahimi@outlook.fr"
] | loann.brahimi@outlook.fr |
4d31801c990ce72aa6f1f6b3b947f8363add28fb | 03f037d0f6371856ede958f0c9d02771d5402baf | /graphics/VTK-7.0.0/Rendering/OpenGL/vtkPrimitivePainter.cxx | 4e8e006042d137348c622253d42cbc679f27645c | [
"BSD-3-Clause"
] | permissive | hlzz/dotfiles | b22dc2dc5a9086353ed6dfeee884f7f0a9ddb1eb | 0591f71230c919c827ba569099eb3b75897e163e | refs/heads/master | 2021-01-10T10:06:31.018179 | 2016-09-27T08:13:18 | 2016-09-27T08:13:18 | 55,040,954 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,732 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkPrimitivePainter.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
T... | [
"shentianweipku@gmail.com"
] | shentianweipku@gmail.com |
bab83edd60a406c2bbc10b66809c2429a749649b | 27e4ba3aa9f4e881cf0393c090d9862ff11908d4 | /tools/MipsTest/ExchangeTest.h | 494b303933c8949355a9250b0250b06247d5bb28 | [
"BSD-2-Clause"
] | permissive | unknownbrackets/Play- | 237ed5212f66a910ecf4f8d64f32f5f55ad6ecc2 | 03f18944daadbb1782a52cfd6df18e17c21ce3e0 | refs/heads/master | 2020-12-26T01:59:22.674848 | 2015-04-20T05:49:04 | 2015-04-20T05:49:04 | 33,449,040 | 2 | 0 | null | 2015-04-05T17:33:16 | 2015-04-05T17:33:15 | C++ | UTF-8 | C++ | false | false | 107 | h | #pragma once
#include "Test.h"
class CExchangeTest : public CTest
{
public:
void Execute(CTestVm&);
};
| [
"jean-philip.desjardins@polymtl.ca"
] | jean-philip.desjardins@polymtl.ca |
38da4e537bc47026826a0abb4cbe4e996b60bfca | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/gvr-android-sdk/src/samples/ndk-controllerpaint/src/main/jni/demoapp.h | c6d09b4e44b2022927ed47e5942218423a4a89d6 | [
"mif-exception",
"FTL",
"LGPL-2.0-or-later",
"HPND-sell-variant",
"ICU",
"MIT-open-group",
"BSD-3-Clause",
"LicenseRef-scancode-unicode",
"LicenseRef-scancode-proprietary-license",
"LGPL-3.0-only",
"LicenseRef-scancode-warranty-disclaimer",
"IJG",
"Zlib",
"curl",
"LicenseRef-scancode-x11... | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 9,839 | h | /*
* Copyright 2017 Google Inc. 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 applic... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
d9540104c16d46e986da19294149f147910e6bcb | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /vpc/src/v20170312/model/AlgType.cpp | d42c662cab7cc30e9617a8b64a951917785c7686 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 2,670 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
d8b89d47ea36122cd691d70fec26c908ec52bcc4 | 68c758837522d6a16b533b8277d0b528c0aa0703 | /src/test/getarg_tests.cpp | 5b511d912e5ae7ff98ed1f7e39728e88a6be4174 | [
"MIT"
] | permissive | lion-coin/lioncoin | cbffe89a27b130615320ee85e198eb49bcd92442 | 05fc85ed9f999fd57c443edabe1f47d20b7f17b3 | refs/heads/master | 2021-01-21T21:47:52.021555 | 2016-03-27T23:23:37 | 2016-03-27T23:23:37 | 17,837,671 | 0 | 0 | null | 2014-10-05T02:17:08 | 2014-03-17T17:55:06 | TypeScript | UTF-8 | C++ | false | false | 4,345 | cpp |
#include "util.h"
#include <string>
#include <vector>
#include <boost/algorithm/string.hpp>
#include <boost/foreach.hpp>
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_SUITE(getarg_tests)
static void ResetArgs(const std::string& strArg)
{
std::vector<std::string> vecArg;
boost::split(vecArg, strArg, ... | [
"lioncoininfo@gmail.com"
] | lioncoininfo@gmail.com |
3405866744e68df5293ed056a7be4dfaa8a608c4 | 419adb9075c4e05af1c279bcee90eeacf0161d2d | /libraries/libsystem/plugs/__plug_memory.cpp | 08114cc501fd66e8476b6b60005c05dca1a19126 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | jfpowell/skift | ab00486ac44035d477c43da12dda83cfb419c07b | 2ebbfc82206c17c044cc49ae07633bad8eb9f984 | refs/heads/master | 2022-12-21T14:50:52.227895 | 2020-09-18T18:50:33 | 2020-09-18T18:50:33 | 296,839,898 | 0 | 0 | NOASSERTION | 2020-09-19T10:09:50 | 2020-09-19T10:09:49 | null | UTF-8 | C++ | false | false | 643 | cpp |
#include <abi/Syscalls.h>
#include <libsystem/Logger.h>
#include <libsystem/Result.h>
#include <libsystem/system/Memory.h>
Result memory_alloc(size_t size, uintptr_t *out_address)
{
return __syscall(SYS_MEMORY_ALLOC, size, (int)out_address);
}
Result memory_free(uintptr_t address)
{
return __syscall(SYS_MEM... | [
"nicolas.van.bossuyt@gmail.com"
] | nicolas.van.bossuyt@gmail.com |
3e0739d732ab8ecffe0906de7a23c1b26e905ad3 | b42dfaa7a4cfe8bf5cad276857ce356569327cab | /Container_with_most_water.cpp | 5258131316c0123a1a73747caa9df0fc9ce86adb | [] | no_license | kanchan1910/February-leetcoding-challenge-2021 | 910a7dd5d1164f974fc871a879ee1efae101c107 | d6712e752c5500702566383cde7db6e226c2d9a3 | refs/heads/master | 2023-03-31T05:05:35.446075 | 2021-03-31T13:48:28 | 2021-03-31T13:49:17 | 346,822,792 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | cpp | class Solution {
public:
int maxArea(vector<int>& h)
{
int n = h.size();
int l = 0 , r = n - 1;
int ans = 0;
while(l < r)
{
ans = max(ans , (r - l) * (min(h[l], h[r])));
if(h[l] < h[r])
{
l++;
}
... | [
"kanchanjeswani2000@gmail.com"
] | kanchanjeswani2000@gmail.com |
39f8b44f86fb2f00fcdf27585bb074c9aecd0fc1 | 087cbbd3099ff8fd8d2051c60461a0458333dbac | /google/kick_start_F/A.cpp | 6276787daf1a3eed1f3fbc5b1c7a8695a5f3d129 | [] | no_license | 1998factorial/Codeforces | 1046ffb2dbee582191fa59e7290c53e902c0af5c | f5b8139810e0724828e6ce7e26f3f8228589b00a | refs/heads/master | 2021-07-05T21:34:45.053171 | 2021-04-10T06:21:33 | 2021-04-10T06:21:33 | 228,158,437 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,367 | cpp | #include <iostream>
#include <algorithm>
#include <string.h>
using namespace std;
int dp[105][105][105];
int a[105];
int inf = 1e9;
int N , K;
int main(){
ios::sync_with_stdio(false);
cin.tie(nullptr);
int T;
cin >> T;
for(int t = 1; t <= T; ++t){
cin >> N >> K;
for(int i = 1; i <= N; ++i)cin >> a[i... | [
"edward19980505@gmail.com"
] | edward19980505@gmail.com |
550342fe523dcdfb8af65ea5751f9196f7e5c575 | 77a091c62781f6aefeebdfd6efd4bab9caa51465 | /Done/spoj/BANCO12.cpp | 4e87ee6d4e4eb54368d5c83b7a68b19fbd67e971 | [] | no_license | breno-helf/Maratona | 55ab11264f115592e1bcfd6056779a3cf27e44dc | c6970bc554621746cdb9ce53815b8276a4571bb3 | refs/heads/master | 2021-01-23T21:31:05.267974 | 2020-05-05T23:25:23 | 2020-05-05T23:25:23 | 57,412,343 | 1 | 2 | null | 2017-01-25T14:58:46 | 2016-04-29T20:54:08 | C++ | UTF-8 | C++ | false | false | 817 | cpp | #include<bits/stdc++.h>
using namespace std;
#define debug(args...) //fprintf(stderr,args)
#define pb push_back
typedef long long ll;
typedef pair<int,int> pii;
const int MAXN=1123;
const int INF=0x3f3f3f3f;
int b[14],n,m;
pii c[MAXN];
queue<int> fila;
int main(){
int resp=0;
scanf("%d%d", &m, &n);
for(int... | [
"breno.moura@hotmail.com"
] | breno.moura@hotmail.com |
f4b357238381c1b0aae5322f3087aa6cc60a298f | dac5254630fefae851da7c843dcab7f6a6af9703 | /Sources_Common/Mail/Mailbox/CMboxFwd.h | 6284532af6210929da424511837aa56fc5a2212a | [
"Apache-2.0"
] | permissive | gpreviato/Mulberry-Mail | dd4e3618468fff36361bd2aeb0a725593faa0f8d | ce5c56ca7044e5ea290af8d3d2124c1d06f36f3a | refs/heads/master | 2021-01-20T03:31:39.515653 | 2017-09-21T13:09:55 | 2017-09-21T13:09:55 | 18,178,314 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,322 | h | /*
Copyright (c) 2007 Cyrus Daboo. 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 re... | [
"svnusers@a91246af-f21b-0410-bd1c-c3c7fc455132"
] | svnusers@a91246af-f21b-0410-bd1c-c3c7fc455132 |
52845ea3effba3862b2953d92484988c8b36e533 | ad822f849322c5dcad78d609f28259031a96c98e | /SDK/CombinerControlPanelPrimary_functions.cpp | 0a602ba9d59bd2fc1143e38f9f8d91d42b3a9d60 | [] | no_license | zH4x-SDK/zAstroneer-SDK | 1cdc9c51b60be619202c0258a0dd66bf96898ac4 | 35047f506eaef251a161792fcd2ddd24fe446050 | refs/heads/main | 2023-07-24T08:20:55.346698 | 2021-08-27T13:33:33 | 2021-08-27T13:33:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,315 | cpp |
#include "../SDK.h"
// Name: Astroneer-SDK, Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// Function CombinerCon... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
d4c44386e2191096050795c59a901a922f181ce2 | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /yuki/0001-1000/201-300/205.cpp | 2bd6bda32abe90e7ab745fd63242d3ef6fa3f6f8 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 985 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<to;x++)
#define FORR(x,arr) for(auto& x:arr)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++)
#define ALL(a) (a.begin()),(a.end())
#de... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
42605cd3882bd6c9397429ed190292101f89f15a | 2dc321b61f45da0353d22fc3908a93fc00456e90 | /baekjoon/old/11725_find_parent.cpp | 0b8ad9461b89a70a78e8eea67a0479f4dd3df318 | [] | no_license | goo-gy/Algorithm | 6d7e9c65e6791ebe3d78bba8b366552d4b04e59a | e22373dead2dfe218effea9b0e61b65c8e167019 | refs/heads/master | 2022-09-29T10:21:30.744970 | 2022-09-16T15:04:05 | 2022-09-16T15:04:05 | 365,225,284 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,303 | cpp | #include <iostream>
#include <vector>
#include <queue>
using namespace std;
int read_input();
int print_output(int result);
int solution();
int N;
vector<int> parent_map;
vector<vector<int>> tree_graph;
int main()
{
read_input();
int result = solution();
print_output(result);
return 0;
}
int solutio... | [
"lkukh17@gmail.com"
] | lkukh17@gmail.com |
31488efa31fd9cf0d1ac914c2d77b9582c873acc | b032db8c576e8b38d90441cce294c49ad0d822ea | /libraries/EMoRo_2560/examples/04. Communication/ReadASCIIString/ReadASCIIString.ino | d167646acfc41489380a0059823485f345a7bc7b | [] | no_license | lfrallon/random_arduino_files | 8fa7c95aa69f0b0f5d8cd6a38c7ba9f932b00fc1 | c0b7f13de2449768467ef62c930c7ba76fd98f6e | refs/heads/master | 2023-03-19T15:47:54.894269 | 2021-03-15T13:53:50 | 2021-03-15T13:53:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,016 | ino | /************************************************************************************************************/
/* Inovatic-ICT d.o.o */
/* */
/* ... | [
"loretofrallon@gmail.com"
] | loretofrallon@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.