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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
98285b66cffe5d5a23c7cfa340fc88799af05930 | 00c0e3cf383d6fb578e73d682eac572d949d3f65 | /ergodic.cpp | f081802c6a67e935acdd4d1290342da614cc9c1b | [] | no_license | houhaien/CPractice | a0e077cbca4d5fbe5a1144febbb50be7ec48988f | ca26745887a88aaf7117474934317ef36395ffc2 | refs/heads/master | 2020-05-09T13:48:15.498319 | 2019-11-03T11:00:03 | 2019-11-03T11:00:03 | 181,168,267 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | cpp | /*************************************************************************
> File Name: ergodic.cpp
> Author: houhaien
> Mail: github.com/houhaien
> Created Time: 2019年07月14日 星期日 15时19分15秒
************************************************************************/
//根据前序队列,中序队列,推后序
#include <iostream>
#include <... | [
"1948209086@qq.com"
] | 1948209086@qq.com |
0232d5a2994204072250231bd8670d1b9d2138cb | e5300ea81d31be3a5443d1b27979a1f34060179a | /src/maral/bootstraps/bs_pdb_multimodel.hpp | 859f8e62a2aa1c92a5a43013a74ae853d2b0ffce | [
"BSL-1.0"
] | permissive | arminms/maral | 38386abc7b30fc0cd3cbac763024d0a77618c569 | 72ac000aa5e37702beec3b3423db7ab2e43da01e | refs/heads/master | 2016-09-12T17:28:54.365168 | 2016-05-25T19:43:07 | 2016-05-25T19:43:07 | 57,317,816 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,170 | hpp | // Boost.Maral library (Molecular Archiving, Retrieval & Algorithm Library)
//
// Copyright (C) 2014 Armin Madadkar Sobhani
//
// 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)
//
// $Id$
#ifndef MARAL_BOOTSTRAPS_P... | [
"arminms@users.noreply.github.com"
] | arminms@users.noreply.github.com |
ff2529b37f3b36da3419654732bc8d26b3782c6f | 50adbee80b065bc6de3cf7bed78a8f3601ad09f9 | /Project.Engine/src/Graphics/GraphicsSystem.cpp | 4855aa440909a88c0e6831162efd10d5ca4c19c7 | [
"BSD-3-Clause"
] | permissive | PierreEngelstein/3DEngine | c9658893318e8aeb31d8acfa98cb8fc07aeab1a7 | 3b653855658b913f68258d0bfb5d58bfc4738538 | refs/heads/master | 2021-05-22T20:07:11.566418 | 2020-05-30T12:30:32 | 2020-05-30T12:30:32 | 253,072,661 | 5 | 0 | null | 2020-04-05T14:11:51 | 2020-04-04T18:37:00 | C++ | UTF-8 | C++ | false | false | 7,878 | cpp | #include <Graphics/GraphicSystem.hpp>
#include <EntityComponentSystem/ECSEngine.hpp>
#include <Graphics/MeshComponent.hpp>
#include <Graphics/MaterialComponent.hpp>
#include <Core/TransformComponent.hpp>
#include <Core/CameraComponent.hpp>
#include <Common/IWindow.hpp>
#include "GL/glew.h"
#include <Logging/Logger.hpp>... | [
"pier.engelstein@outlook.com"
] | pier.engelstein@outlook.com |
c9306c9558796cbce7c00fc1b201db1b03a8db6b | 60de523b016cb1a57e2174bbf0fe32a8b7a65a1c | /Motor/Motor_Fade/Motor_Fade.ino | bae637dd0633d9c6fd55b9e03877578858ab612e | [] | no_license | muthesius/poetische-Apparate | fc83dad7fcfe14ed2e6a4198f32f70082e5dfecd | a4cb34dd29077060f6a50223ca525753a281469a | refs/heads/master | 2020-04-25T17:01:31.671871 | 2014-06-04T06:05:30 | 2014-06-04T06:05:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | ino | /*
Simple PWN fade example
--------------------------
Fades anything PWM capable on pin 9 up & down...
License: GPL
Author: Jens Alexander Ewald, ewald@muthesius.de
Muthesius Academy of Fine Arts & Design, 2014
Course: Poetische Apparate, advanced Arduino, SS 2014
*/
const int MOTO... | [
"jens@lea.io"
] | jens@lea.io |
03de70ffe76037ec887db27b6ba17d27e4f7ba5a | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/net/test/spawned_test_server/remote_test_server.h | de12e4ebe44ecd28122dad4656ca0e9d6282618b | [
"BSD-3-Clause",
"MIT"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 2,629 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_TEST_SPAWNED_TEST_SERVER_REMOTE_TEST_SERVER_H_
#define NET_TEST_SPAWNED_TEST_SERVER_REMOTE_TEST_SERVER_H_
#include <string>
#include "ne... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
2644382617266faf2d3d1155bb0ed1154e1bf19b | 160dc51955968e969ffa0e15d4ba52f12b80532c | /objc4-756.2/编译素材/dyld-655.1.1/dyld3/SharedCacheRuntime.h | 402ce5417eb50609cfbbf721770da7a4cb349f48 | [
"APSL-2.0",
"MIT"
] | permissive | jayhe/objc4_debug | f7661995cff6278468378da4536c0cf3fc44650d | e6023c9bcaac7888950fa4b36d6260e5b313dc72 | refs/heads/master | 2021-03-18T01:12:44.941356 | 2021-01-30T03:39:15 | 2021-01-30T03:39:15 | 247,033,924 | 1 | 0 | MIT | 2020-03-13T09:29:22 | 2020-03-13T09:29:21 | null | UTF-8 | C++ | false | false | 2,115 | h | /*
* Copyright (c) 2017 Apple Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in
* complia... | [
"cooci_tz@163.com"
] | cooci_tz@163.com |
8f6b423a5385ce39dbc77d42f12d4295a2fc1a0d | 0417720a0c8e977a7aeddfe047422c408deaee24 | /include/ossim/projection/ossimEckert6Projection.h | 962dab5b11402706900fbd20aab3193f71d01316 | [
"MIT"
] | permissive | ossimlabs/ossim | e093899a1e001cf8db16fb6da121ec174a7bc6ff | 3eda6223501b5d1c566e91261b832bc24975cf32 | refs/heads/dev | 2023-06-21T21:54:22.889489 | 2023-06-15T23:33:36 | 2023-06-15T23:33:36 | 41,825,646 | 300 | 161 | MIT | 2023-08-29T20:15:07 | 2015-09-02T20:20:52 | C++ | UTF-8 | C++ | false | false | 7,295 | h | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts
//
// Description:
//
// Calls Geotrans Eckert6 projection code.
//*******************************************************************
// $Id: ossimEckert6Projection.h 1... | [
"okramer@radiantblue.com"
] | okramer@radiantblue.com |
9ba7c7b9a8b3f176a6ad1bb5ad65e6b5cb00d225 | 5848f3cb6369b38013cf46b96a7f71433673b6f8 | /src/qt/sendcoinsentry.cpp | 1faa6eea869805817825240ec043b872fa53f98d | [
"MIT"
] | permissive | bizcointeam/bizcoin | 2b9d47b5164f76d8bd68f09e764a6b9fff35ead8 | b07bec435607b3464fa80fedf0fc8b0dadfd0301 | refs/heads/master | 2020-05-17T14:55:18.384515 | 2014-06-30T16:56:41 | 2014-06-30T16:56:41 | 21,358,740 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,295 | cpp | #include "sendcoinsentry.h"
#include "ui_sendcoinsentry.h"
#include "guiutil.h"
#include "bitcoinunits.h"
#include "addressbookpage.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "addresstablemodel.h"
#include <QApplication>
#include <QClipboard>
SendCoinsEntry::SendCoinsEntry(QWidget *parent) :
Q... | [
"biz@biz.com"
] | biz@biz.com |
2d0e5b58deac8983e98f2516bedfdfae276be66e | 7bc3ead75887ab1b22dd90703a8e675bc5693233 | /C++/BoostClientCross.h | 70c90e9378a25c83deb07af5974fe1a48ceadc7c | [
"Apache-2.0"
] | permissive | mahaarbo/KUKAVARPROXY_tests | 6bef8e62fea86064b0c54e5ffcaf200d3446ef12 | fe174a3fd8db0dcd4e5efff8023c801ff507a7ce | refs/heads/master | 2020-03-17T06:10:18.177662 | 2018-06-13T12:20:56 | 2018-06-13T12:20:56 | 133,344,399 | 0 | 0 | null | 2018-05-14T10:29:22 | 2018-05-14T10:29:22 | null | UTF-8 | C++ | false | false | 5,298 | h | /*
Source code for the KUKA robot controller communication client.
Author: Eirik B. Njaastad.
NTNU 2015
Communicates with the KUKAVARPROXY server made by
Massimiliano Fago - massimiliano.fago@gmail.com
*/
#ifndef BOOSTCLIENTCROSS
#define BOOSTCLIENTCROSS
#include <iostream>
#include <boost/array.hpp>
#... | [
"ivareri@stud.ntnu.no"
] | ivareri@stud.ntnu.no |
2dd3bcfce24bf26b543a36919f7201ec6bd60122 | 1f9ff37c2383ea01758a486eeb9d46185c28520f | /Solved Problems/Trees/PostOrder Traversal Without Recursion.cpp | 0549e651a4ac9bc8aff58cb972c27286b0d90f18 | [] | no_license | Manii-M/InterviewBit | 992a9fbca290052d2386536443e57f62818bdc12 | b5d735d9c22edebfbcbd2ee06532cba28f18f64d | refs/heads/master | 2022-12-15T10:31:55.391785 | 2020-09-07T13:56:44 | 2020-09-07T13:56:44 | 263,404,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,435 | cpp | /**
* Question -
* Postorder Traversal
Problem Description
Given a binary tree, return the Postorder traversal of its nodes values.
NOTE: Using recursion is not allowed.
Problem Constraints
1 <= number of nodes <= 105
Input Format
First and only argument is root node of the binary tree, A.
Output Format
R... | [
"manii.nitc@gmail.com"
] | manii.nitc@gmail.com |
f901194b2e3bf19c010985bee5cc38aefbe8a496 | 41924c4ebe82806a6fa51779effbc0ab459f145c | /guessthenumber/main.cpp | feb1099d24e76477d02c9e5d85e9f87eecd927d5 | [] | no_license | dglin/codeeval | 8aa9df0ccab1e2f981bcc671b17abaedc6b6e974 | ae3b1349587a9128f6a14d2ed2f363ebf48aa73e | refs/heads/master | 2021-01-20T21:52:59.934893 | 2015-09-15T18:16:21 | 2015-09-15T18:16:21 | 42,536,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,025 | cpp | #include <sstream>
#include <iostream>
#include <fstream>
#include <cmath>
using namespace std;
int main(int argc, char *argv[]) {
ifstream stream(argv[1]);
string line;
while (getline(stream, line)) {
istringstream in(line);
float num;
in >> num; //get first int, the ... | [
"David@Davids-MacBook-Pro.local"
] | David@Davids-MacBook-Pro.local |
63c37d85c60ea87d07d4de1ac03b9c0322fe580f | edd201f1a8f1c8d053c1ba22d2d69d417a2ecf06 | /Intersection.hpp | 14ab497ee318c5de995e7e7150c9249a9c0a294c | [] | no_license | codesavory/RayTracer_Course | 1cecca3febce3287600a542a90868582f0a3c28e | ceec8382690c15ac58caaf73cf8dc90c46322866 | refs/heads/master | 2022-12-19T23:41:34.570375 | 2020-09-19T04:06:34 | 2020-09-19T04:06:34 | 296,768,506 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 442 | hpp | #pragma once
#include "Vector.hpp"
#include "Material.hpp"
class Object;
class Sphere;
struct Intersection
{
Intersection(){
happened = false;
coords = Vector3f();
normal = Vector3f();
distance = std::numeric_limits<double>::max();
obj = nullptr;
m = Material();
... | [
"noreply@github.com"
] | codesavory.noreply@github.com |
7a765336e6bf85da480b5d1cd7023e6460568b9a | 3531adf66f6066e3097d88535042505a610c41e9 | /WeirdPong/InputHandler.cpp | d2317d383d77428b0896daf607718774095b17a8 | [] | no_license | razvanmargineanu/weirdpong | 6673aa571517b8e63d6b3ab902c6c90a111ccc34 | 7e6cf991861c86fcdc9629a79fa7bc8e43103e84 | refs/heads/master | 2023-04-03T03:41:10.103430 | 2021-04-12T10:07:48 | 2021-04-12T10:07:48 | 277,574,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,622 | cpp | #include "InputHandler.h"
InputHandler::InputHandler()
{
}
void InputHandler::init(GameState *gamestate, SDL_Window *mainWindow)
{
//SDL_SetEventFilter(&this->filterEvents, mainWindow);
this->mainWindow = mainWindow;
this->gamestate = gamestate;
}
void InputHandler::checkKeyboard()
{
if (keystate[SDL_SCANC... | [
"razvan.margineanu@gmail.com"
] | razvan.margineanu@gmail.com |
2f7a68e7b72fca76a91f374070d6ace4ea0536bd | d82f90a97bdf09c59eeb47a0a13551f92e5a5015 | /HaloPDF_ZA_sim.cpp | 8b4f02a76663e360c6a8a7ed8ee1eef4accf9f78 | [] | no_license | aniket-agra/Pairwise-Velocities | bf26fbce5f60dd2629a05208c31d112670cee8f7 | 34d0833d312e33ffc612386eb4047d0936e33ec1 | refs/heads/master | 2020-12-27T03:54:32.368445 | 2020-02-02T10:43:30 | 2020-02-02T10:43:30 | 237,755,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,358 | cpp | #include <mpi.h>
#include <fstream>
#include <cmath>
#include <iostream>
int main(int argc, char* argv[])
{
int size=0;
std::ifstream read_file("cat1");
double x[7];
while(!read_file.eof())
{
read_file>>x[0]>>x[1]>>x[2]>>x[3]>>x[4]>>x[5]>>x[6];
size++;
}
read_file.close();
std::cout<<"Size="<<size<<"\n";
... | [
"noreply@github.com"
] | aniket-agra.noreply@github.com |
8223d6dd1b7fb9592b9c3b094a1d7a4f0717b26c | 501656109d2e92441deb4cfc5ed0dccb50208935 | /Template/逆序对/rev.cpp | 28d2464013ab49377a83b28d96381ae53918009d | [] | no_license | ailyanlu1/Acm-icpc-6 | 32cb3c7c5760dd6fd2f1d641e4dd2b130e317fed | b4c86f65aeb8ce4f4949046a4d3ce9c390034f22 | refs/heads/master | 2020-03-23T13:55:38.122388 | 2014-10-01T03:11:58 | 2014-10-01T03:11:58 | null | 0 | 0 | null | null | null | null | WINDOWS-1256 | C++ | false | false | 516 | cpp | /***********************************
Mergesort اَؤوذٍ¶شت
2014.4.24
***********************************/
int tmp[5000];
int mergesort(int *p, int l, int r)
{
if(l+1>=r)return 0;
int m = (l+r)/2;
int ans = 0;
ans += mergesort(p,l,m);
ans += mergesort(p,m,r);
int i=l,j=m,k=0;
while(i!=m || j!=r... | [
"bucketzxm@gmail.com"
] | bucketzxm@gmail.com |
fc314c695e88107c7edca408f0bf5891234dd023 | 68e8f6bf9ea4f5c2b1e5c99b61911b69c546db60 | /include/RE/ExtraHealth.h | af1752dd144504d8ab708269bb003e3f0342441b | [
"MIT"
] | permissive | FruitsBerriesMelons123/CommonLibSSE | aaa2d4cd66d39f7cb4d25f076735ef4b0187353e | 7ae21d11b9e9c86b0596fc1cfa58b6993a568125 | refs/heads/master | 2021-01-16T12:36:20.612433 | 2020-02-25T09:58:05 | 2020-02-25T09:58:05 | 243,124,317 | 0 | 0 | MIT | 2020-02-25T23:24:47 | 2020-02-25T23:24:47 | null | UTF-8 | C++ | false | false | 700 | h | #pragma once
#include "RE/BSExtraData.h"
#include "RE/ExtraDataTypes.h"
namespace RE
{
class ExtraHealth : public BSExtraData
{
public:
inline static constexpr auto RTTI = RTTI_ExtraHealth;
enum { kExtraTypeID = ExtraDataType::kHealth };
ExtraHealth();
explicit ExtraHealth(float a_health);
virtual ~... | [
"ryan__mckenzie@hotmail.com"
] | ryan__mckenzie@hotmail.com |
e3bfc30bd6126d91417a9185a0076eff64af8634 | 0f32f26b59be953b0dab62ef5be5c46c7feab147 | /Praktikum3_Homework/Card.hpp | 893903bcde6f63a6597c0b41d3eb7def058ef1f3 | [] | no_license | alexgeorgiew/Praktikum_Homework3 | ce05029d4f02d76b7c7b2f903827713f6a6ec2d7 | 1d65513740ed674828671ddb5fb2aa60b135823c | refs/heads/master | 2023-04-30T14:44:12.551420 | 2021-05-22T09:04:19 | 2021-05-22T09:04:19 | 363,644,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | hpp | /**
* Solution to homework assignment 1
* Object Oriented Programming Course
* Faculty of Mathematics and Informatics of Sofia University
* Summer semester 2020/2021
*
* @author Alex Georgiev
* @idnumber 62604
* @task 1
* @compiler VC
*/
#pragma once
#include <string>
class Card {
public:
Card() = default;
Card(std::... | [
"alex010908@gmail.com"
] | alex010908@gmail.com |
45777beff0b59b20bc79d7f8bc145deff23215b1 | bd6aa1d05e11b672795c3d4cb94510a70fd195d3 | /459.RepeatedSubstringPattern/repeated.cc | 3b33b9d5c3ce130ce7b1d057589136067c70b551 | [] | no_license | ChrisYoungGH/LeetCode | e902964649e0def1229f192530b12b15b0618e44 | b91212a754e9de0b7b7542c25c6c1a08914bb938 | refs/heads/master | 2021-01-02T19:52:56.933429 | 2018-08-16T05:50:04 | 2018-08-16T05:50:04 | 99,310,741 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 985 | cc | class Solution {
public:
bool repeatedSubstringPattern(string s) {
int end = 1;
while (true) {
if (end >= s.length()) {
return false;
}
string pattern = s.substr(0, end);
int sublen = pattern.length();
if (s.length() % su... | [
"1095279161068@tianchi.com"
] | 1095279161068@tianchi.com |
5a4a5ed11d20dd09f5e5630bd1d691ce80327c9e | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/859/uniform/time | 4ff4d9928c26b4dec2fb37b6a04b820155538fee | [] | no_license | asAmrita/adjoinShapOptimization | 6d47c89fb14d090941da706bd7c39004f515cfea | 079cbec87529be37f81cca3ea8b28c50b9ceb8c5 | refs/heads/master | 2020-08-06T21:32:45.429939 | 2019-10-06T09:58:20 | 2019-10-06T09:58:20 | 213,144,901 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 968 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"as998@snu.edu.in"
] | as998@snu.edu.in | |
4239076b64aab2250a31cb76736bddcfd8a4d257 | d78ffbf0a0df3cedd7ac1b53c551e095fde81626 | /Code/minPathSum.cpp | 1b0514d860c8500f23b477808f55f0bb0b28dbad | [] | no_license | Zixuan-QU/Leetcode | ccfc3fa1f7c669892ab9c7010c5c34b8a0dffc9a | bf643e4cac053342109174208bdf2e61a11e05ee | refs/heads/master | 2021-01-21T11:40:35.188031 | 2016-04-25T17:08:36 | 2016-04-25T17:08:36 | 29,734,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | cpp | //DP with scrollable array
class Solution {
public:
int minPathSum(vector<vector<int> > &grid) {
int m = grid.size();
int n = grid[0].size();
int f[n];
fill(f,f+n,INT_MAX);
f[0]=0;
for(int i = 0; i<m;i++){
f[0]+=grid[i][0];
for(int j =1;j... | [
"qzx1107@gmail.com"
] | qzx1107@gmail.com |
e1ba3f0f23ef92f954f4ff9590335cd0eb202d62 | 6e2b8b6d1dd8cdcf7be4e5e1a88de052b662abf5 | /garminfitsdk/fit_buffered_record_mesg_broadcaster.hpp | 0ebec564b3762dc09a0fec87844bc559bc9096f3 | [
"MIT"
] | permissive | helderlopes/MRC_creator | f1948db06eb2bc66b124ba31a9916f4cc62e8016 | 03ed8477d91dd5f4c717d7346f36069bab408590 | refs/heads/master | 2023-03-03T07:45:57.811471 | 2023-02-28T12:59:02 | 2023-02-28T12:59:02 | 198,922,774 | 18 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,463 | hpp | /////////////////////////////////////////////////////////////////////////////////////////////
// Copyright 2023 Garmin International, Inc.
// Licensed under the Flexible and Interoperable Data Transfer (FIT) Protocol License; you
// may not use this file except in compliance with the Flexible and Interoperable Data
// ... | [
"helder.giro.lopes@gmail.com"
] | helder.giro.lopes@gmail.com |
e15099da6afabdd1938d224b7f5ae392593e7083 | 356ac26ca4a86d8b9be59b2b44328d792e70f544 | /Basics/sum_of_naturalno.cpp | 4113e34ebf90f1f220ac14aa4aa2fde5887eeb5d | [] | no_license | allenbenny419/Placement-Practice | dfcd57b4f93c739e500a3edee7cb2545041019d7 | 877a6984e93d684a1aacc13387323574a78203dc | refs/heads/master | 2023-08-17T04:41:43.807331 | 2021-09-14T15:24:00 | 2021-09-14T15:24:00 | 398,480,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | cpp | // Sum of n natural numbers
#include <bits/stdc++.h>
using namespace std;
int main(){
int N;
cout<<"Enter A Number :"<<endl;
cin>>N;
cout<<"Sum of Numbers from 1 to "<<N<<" = ";
cout<<((N*(N+1))/2);
return 0;
} | [
"allenjosebenny@gmail.com"
] | allenjosebenny@gmail.com |
3e5ac317d4278f3fb97f9946cb71737b063c869d | b4cc582505a7e94527966dd2687fd4115d30a18b | /turret/logger_proxy.hpp | 9f3bde5ebda485c4493485289bc9933ebe54f49d | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | fixstars/turret | fafd16e98483c7afba9f365650a0410b1d1c69a5 | 46d2c2bc239ee184d2e519317aeec0166fac93a1 | refs/heads/master | 2020-04-28T15:53:37.806266 | 2019-06-07T06:04:52 | 2019-06-07T06:04:52 | 175,392,710 | 4 | 4 | MIT | 2019-06-07T06:04:53 | 2019-03-13T09:53:26 | Python | UTF-8 | C++ | false | false | 411 | hpp | #ifndef TURRET_LOGGER_PROXY_H
#define TURRET_LOGGER_PROXY_H
#include "NvInfer.h"
#include "Python.h"
namespace turret {
class NativeLoggerProxy : public nvinfer1::ILogger {
private:
PyObject *m_impl;
public:
NativeLoggerProxy();
NativeLoggerProxy(PyObject *impl);
virtual ~NativeLoggerProxy();
virtual void lo... | [
"shinya.kaji@fixstars.com"
] | shinya.kaji@fixstars.com |
c37574d4bd20c8212875721bdeab722466099f04 | 2dda6f133f03707078e506165168bf9460fd12e0 | /miranda/protocols/JabberG/jabber_vcard.cpp | aff56e55c44b5f8f2e221060878227eeaabf750d | [] | no_license | dineshkummarc/miranda-im-v0.9.47-src | d6027c9236bccd72661a98c0c3710e05ef2804fe | 440cc70c6ac9926328640f74ebb29c65ff89ec3f | refs/heads/master | 2021-03-12T23:15:16.516533 | 2012-06-12T08:18:53 | 2012-06-12T08:18:53 | 4,634,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,380 | cpp | /*
Jabber Protocol Plugin for Miranda IM
Copyright ( C ) 2002-04 Santithorn Bunchua
Copyright ( C ) 2005-12 George Hazan
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 Lic... | [
"dineshkummarc@gmail.com"
] | dineshkummarc@gmail.com |
f8dffda133a6cec9470d5058447c3912e9320add | bab8077ccaddd0f3db7f3a9efaa968e21b0c4673 | /autodiff/3rd_part/eigen3/Eigen/src/Core/CwiseUnaryView.h | 02b034de7e38b890bf5c0e0b908deca2e5b6e6c3 | [
"MIT"
] | permissive | AirChen/autodiff | 5adbd568ae40dffee39119aee109f9437c47cbe2 | bbca555e783e651d29fb15cc42a6f5fbe2a14068 | refs/heads/main | 2023-05-14T15:36:27.384115 | 2021-06-09T04:58:06 | 2021-06-09T04:58:06 | 343,801,458 | 0 | 0 | MIT | 2021-04-08T03:19:27 | 2021-03-02T14:26:35 | C++ | UTF-8 | C++ | false | false | 5,453 | h | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009-2010 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// 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 c... | [
"renzhichen2012@163.com"
] | renzhichen2012@163.com |
fc1e885795e29102d3cf12979e1fe3ff5e22176e | 2fbf96bb69f954dbf6bbf13661b0492de9b3b4b1 | /uva/uva608.cpp | 6cda05940dda6bca464ddc587b71ffbda663e8eb | [] | no_license | timothywangdev/Programming-Contests | 432d0e6719cf2c910d24416dfacb46abb046a735 | dcd58694bd66536222f2ffd78b025af5a38aab4f | refs/heads/master | 2023-08-02T06:57:22.724822 | 2021-10-08T19:06:32 | 2021-10-08T19:06:32 | 16,039,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,443 | cpp | #include <iostream>
#include <string>
#include <string.h>
#include <vector>
#include <algorithm>
using namespace std;
int N;
class test{
public:
string l;
string r;
string word;
test(string l,string r,string word):l(l),r(r),word(word)
{
}
};
vector<test*> tests;
string l,r,w;
char target=0;
string weight;
bool ... | [
"wanghujie@gmail.com"
] | wanghujie@gmail.com |
e0d56d3b2ab0f57dec57dd723c8712b9cf640d34 | c23b42b301b365f6c074dd71fdb6cd63a7944a54 | /contest/opencup/XV/Europe/k.cpp | c40b992522ae9e2811ee6cad8fa0f66f63ac9ea2 | [] | no_license | NTUwanderer/PECaveros | 6c3b8a44b43f6b72a182f83ff0eb908c2e944841 | 8d068ea05ee96f54ee92dffa7426d3619b21c0bd | refs/heads/master | 2020-03-27T22:15:49.847016 | 2019-01-04T14:20:25 | 2019-01-04T14:20:25 | 147,217,616 | 1 | 0 | null | 2018-09-03T14:40:49 | 2018-09-03T14:40:49 | null | UTF-8 | C++ | false | false | 902 | cpp |
#pragma GCC optimize("O3")
#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef pair<int,int> pii;
pii pos[11];
set<int> nums;
inline bool ok(int x, int d) {
return pos[x].first <= pos[d].first and pos[x].second <= pos[d].second;
}
void dfs(int cur, int n, int lst) {
nums.insert(cur);
i... | [
"c.c.hsu01@gmail.com"
] | c.c.hsu01@gmail.com |
7bf626f5cafea44d9a04df83389bab43e4bab58c | cbc8042b7806642fc80360d04c2ba12cd149e3f4 | /MoteEmu/src/SDLAPI.h | 79d3254a0ab8c5f9ee0e842c1e2ca2969e4ba236 | [
"MIT"
] | permissive | inferno16/MoteEmu | 74bcab0c7499a0c92cf60a667eefeb241893772a | 7910a6f9ec03e8ecc5a6600055e0eb1a6b1b7b14 | refs/heads/master | 2020-04-02T19:14:17.269894 | 2019-09-12T09:57:41 | 2019-09-12T09:57:41 | 154,727,512 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,844 | h | #pragma once
#include <SDL.h>
#include <string>
#include <functional>
#include <vector>
#include <unordered_map>
#include <algorithm>
#include <thread>
#include <atomic>
class SDLAPI
{
public:
typedef const Uint64 Cui64;
typedef const Uint32 Cui32;
typedef const Uint16 Cui16;
typedef const Uint8 Cui8;
typedef ... | [
"inferno16@mail.bg"
] | inferno16@mail.bg |
dc1a3761a95575ef38ce6744986104559ba752e9 | ea6299998ca5d1d7f1c225f80e1a71f9b00934c2 | /modules/cpp/LoggingModule-UT/main.cpp | d05648e84fdb8c24ba42dc3e120c29511feb102a | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | DivyaRathore09/ZSDN-Controller | 19c680d4fc66e548a02fa3efbddf5327036dd387 | 3c5772b7479c337a40c947498f1faf1a536aa572 | refs/heads/master | 2021-04-04T21:42:09.896728 | 2020-05-16T13:38:15 | 2020-05-16T13:38:15 | 248,490,759 | 0 | 0 | Apache-2.0 | 2020-03-23T17:12:30 | 2020-03-19T11:54:44 | C++ | UTF-8 | C++ | false | false | 570 | cpp | #include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>
#include <cppunit/extensions/HelperMacros.h>
#include "LoggingModuleTests.h"
using namespace CppUnit;
CPPUNIT_TEST_SUITE_REGISTRATION(LoggingModuleTests);
//CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( LoggingModuleTests, LoggingMod... | [
"public@jonas-grunert.de"
] | public@jonas-grunert.de |
9e9bca44a9c129f703b1545159b4dff43e7811ea | 1b5a8b2760901f76aa5d781f924415d041a7a11f | /tools/generate_filelist/main.cpp | cc404ac5e59fd648b72c188e272357f5aa269247 | [
"BSD-2-Clause"
] | permissive | jjkislele/imdb_framework | 2b0d5919e262c68e80f2a8e53b1907566029a8c5 | dbf10b549a88a35c17338ad4b44a1d97fa23ed8a | refs/heads/master | 2021-05-05T18:00:02.670241 | 2017-10-29T11:29:34 | 2017-10-29T11:29:34 | 103,528,550 | 1 | 1 | null | 2017-09-14T12:19:33 | 2017-09-14T12:19:33 | null | UTF-8 | C++ | false | false | 4,815 | cpp | /*
Copyright (C) 2012 Mathias Eitz and Ronald Richter.
All rights reserved.
This file is part of the imdb library and is made available under
the terms of the BSD license (see the LICENSE file).
*/
//#include <QtCore>
#include <util/types.hpp>
#include <util/progress.hpp>
#include <io/cmdline.hpp>
#include <io/filel... | [
"mathias.eitz@gmail.com"
] | mathias.eitz@gmail.com |
19a13772b20e3d58ff69d31ca17b325fdc986662 | b90d14581369fb299d3f64c15409bbe1ed5d6502 | /toolkit/Source/src/gs2d/src/Input/iOS/IOSInput.cpp | ec3d71c546b616afb33851eebc2bd1b82d32e7f5 | [
"MIT"
] | permissive | indigogem/ethanon | 29283f729a6e92e64707c8f7008150e86739a716 | 0e068fd608a2545003022ee44b3696ee527eeb0b | refs/heads/master | 2021-01-23T21:31:43.959795 | 2012-12-17T13:19:16 | 2012-12-17T13:19:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,227 | cpp | /*--------------------------------------------------------------------------------------
Ethanon Engine (C) Copyright 2008-2012 Andre Santee
http://www.asantee.net/ethanon/
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "S... | [
"andre.santee@gmail.com"
] | andre.santee@gmail.com |
d6a642cbb4dc74af443e0e838150a0986a31fb6e | 1b8a392058a48ad2369514bf21482fb7726bbe01 | /CGraphicElement.h | 399a2c7195e81599742763edbe233d122fab5d52 | [] | no_license | MArsalanKhan/CGraphics | f3063db8379d8fc978865d54de2f8860798d0ca6 | 1648e228eb39346295037a94c2dc5c1b7f9416d4 | refs/heads/main | 2023-06-03T17:26:43.092437 | 2021-06-17T21:45:49 | 2021-06-17T21:45:49 | 375,038,992 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,425 | h | /////////////////////////////////////////////////////////////////////////////
// SGSE1-Labor
// CGraphicElement.h
//
// Das h-File kann auch leer bleiben, wenn es die Aufgabe nicht erfordert,
// ein h-File zu schreiben
//
// h-Files werden im Allgemeinen für die Modularisierung von Software benötigt
// durch h-... | [
"noreply@github.com"
] | MArsalanKhan.noreply@github.com |
3acd7a00e9ad236984effb5bcda6482579a2809e | 679ca369f4c773b724d57513f05ebbfed8b57072 | /mp4mux/alloc.h | 24d13e327e83b018a9a2271df6dd760cdefb7199 | [] | no_license | roman380/gdcl.co.uk-mpeg4 | 2036b0a757623b027b5bb562811f2ebeb7180dc8 | bdf98238110d10b5cdcf06f8158e90f13a305089 | refs/heads/master | 2023-09-01T17:17:30.525667 | 2023-08-19T07:34:03 | 2023-08-19T07:34:03 | 35,301,065 | 29 | 11 | null | 2023-08-19T07:34:04 | 2015-05-08T20:46:32 | C++ | UTF-8 | C++ | false | false | 8,347 | h | //
// alloc.h
//
// Implementation of IMemAllocator that uses a single contiguous
// buffer with lockable regions instead of a pool of fixed size buffers.
//
// Geraint Davies, January 2013
#pragma once
#include <utility>
typedef std::pair<SSIZE_T, SSIZE_T> lock_t;
typedef std::list<lock_t> lock_list_t;
class Cont... | [
"roman@alax.info"
] | roman@alax.info |
d84717fc84d29c95ad3c95b3792d07a2b268df05 | 210d757836216b1a1d491564ef9c7e6d84ee947e | /modules/cmake/Source/CursesDialog/cmCursesMainForm.cxx | 4a9dc473cb823e0594c2b86ac00f779951216f84 | [
"BSD-3-Clause",
"MIT",
"OpenSSL",
"LicenseRef-scancode-public-domain"
] | permissive | sunnymiesta/adina | 85a77ed48795cdd67793b645db9f9958b59ed361 | 5b77f6248ef1cb75bd0451b1e4884c5f2c89ecee | refs/heads/master | 2020-03-19T15:56:02.554698 | 2018-06-11T04:10:43 | 2018-06-11T04:10:43 | 136,007,337 | 0 | 0 | MIT | 2018-06-04T21:54:24 | 2018-06-04T10:10:26 | C++ | UTF-8 | C++ | false | false | 35,713 | cxx | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmCursesMainForm.h"
#include "cmAlgorithms.h"
#include "cmCursesCacheEntryComposite.h"
#include "cmCursesDummyWidget.h"
#include "cmCursesForm.h"
#include "cmCur... | [
"root@vps-d103d3611a7812a1.gib58asjnbc9.domain.tld"
] | root@vps-d103d3611a7812a1.gib58asjnbc9.domain.tld |
13e8d4cd17814b94ae61afdf8e6567451de3e3dc | bc92c058b0c2dd2877648e30156245e36ee571a4 | /source/common/xproto/plugins/multisourcesmartplugin/include/multisourcesmartplugin/convert.h | 5aaef637cc1af52de87aadc43331ae60b9c7bd8f | [
"BSD-2-Clause"
] | permissive | robort-yuan/AI-EXPRESS | c1783f5f155b918dcc6da11956c842ae5467de8e | 56f86d03afbb09f42c21958c8cd9f2f1c6437f48 | refs/heads/master | 2023-02-09T03:51:44.775020 | 2021-01-02T15:15:37 | 2021-01-02T15:15:37 | 309,591,131 | 0 | 0 | BSD-2-Clause | 2020-12-08T07:48:54 | 2020-11-03T06:11:06 | null | UTF-8 | C++ | false | false | 1,433 | h | /*
* @Description: implement of multi smart plugin
* @Author: hangjun.yang@horizon.ai
* @Date: 2020-08-26 09:00:00
* @LastEditors: hangjun.yang@horizon.ai
* @LastEditTime: 2020-08-29 22:45:00
* @Copyright 2017~2020 Horizon Robotics, Inc.
*/
#ifndef INCLUDE_MULTISOURCESMARTPLUGIN_CONVERT_H_
#define INCLUDE_MULTIS... | [
"qingpeng.liu@horizon.ai"
] | qingpeng.liu@horizon.ai |
e9a0da1439e57f76546aa3f07370428e20a555e3 | 2e83a34664cbf86467bf3a03d559bf5017531824 | /riak_client/basic_client.hpp | d6057d3cef293c0d9070216c44707d5a0fe98a87 | [] | no_license | argv0/riak-cxx | 34c85e87de5fe3e026d650f85cac9139f9dadb1c | 7ade8b30a5ba86511b5dc10ab6989804bde8f86d | refs/heads/master | 2020-05-17T20:19:25.076003 | 2012-08-15T23:23:47 | 2012-08-15T23:23:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,708 | hpp | /*
Copyright 2011 Basho Technologies, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... | [
"andy@andygross.org"
] | andy@andygross.org |
3a1897e30710d6127e706c9efa6594921c2586ca | 53013fadd2e46bfdc80bec4e90fb52ffa350a62b | /Week5/game.hpp | fd418f2179478546033be46aff4efedf4f8391c7 | [] | no_license | denizlektemur/V2CPSE2 | 1e122b954e487fa5138158c1b42d4b2fd9741f07 | 5a61c8535d51f132279f6a09190742a1a4a57d43 | refs/heads/master | 2020-04-08T09:13:42.018940 | 2019-01-14T11:38:52 | 2019-01-14T11:38:52 | 159,214,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | hpp | #pragma once
#include "SFML/Graphics.hpp"
#include <vector>
#include "rectangle.hpp"
#include <iostream>
class Game {
private:
sf::Color player1 = sf::Color::Blue;
sf::Color player2 = sf::Color::Red;
sf::Color neutral = sf::Color::White;
std::vector<rectangle> squares;
std::vector<int> moves;
sf::Color turn = p... | [
"deniz.lektemur@student.hu.nl"
] | deniz.lektemur@student.hu.nl |
411ee6ad24b8cc0fc50943c28b1fd69ac2010c5f | bd0834b8de72b48cf70372de4ed98de3c629cac5 | /utilites/xeno_field_exporter/src/SpriteFile.cpp | 3257d12498faa211b4971221701356c61e59e00e | [] | no_license | cualquiercosa327/x-gears | d2caf651ce8656160120c8ea09212dc408e9484f | 169dd65c52ca4185ccb2e9a73880dc23d4d3fdd7 | refs/heads/master | 2023-03-30T19:54:35.377704 | 2021-04-04T20:20:39 | 2021-04-04T20:20:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,711 | cpp | #include "PacketFile.h"
#include "SpriteFile.h"
#include "Utilites.h"
#include "../../common/DebugDraw.h"
#include "../../common/Logger.h"
#include "../../common/OgreGenUtilites.h"
#include <OgreHardwareBufferManager.h>
SpriteFile::SpriteFile( File* file, FieldPackFile* field_file, Vram* vram, const int file_id, co... | [
"bakari82@mail.ru"
] | bakari82@mail.ru |
a574e0851ae914af74998894cd5cf05d7068bd75 | 4a238068e29a1f6871cc049a0486b20b27e781de | /Graphcore/benchmarks/bert/implementations/popart/custom_ops/disable_attn_dropout_bwd_pattern.cpp | 010b17423b662ad2da716705839f78cf02b27927 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Pixelz-Inc/training_results_v1.0 | 61b4555ad482b189d1966be3edd127858addd628 | c507130c4e04c1f274a9ae8b7284aac79f26325a | refs/heads/master | 2023-08-18T22:46:13.316503 | 2021-10-22T04:01:57 | 2021-10-22T04:01:57 | 399,047,712 | 0 | 0 | NOASSERTION | 2021-08-23T09:37:25 | 2021-08-23T09:37:25 | null | UTF-8 | C++ | false | false | 3,778 | cpp | // Copyright (c) 2019 Graphcore Ltd. 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 app... | [
"vsb@fb.com"
] | vsb@fb.com |
a63f01bb62e64a0a5e16f2d1fb84798708056fc0 | b1af8bb863a6730e6e4e93129efbad89d33cf509 | /SDK/SCUM_Smoked_Dog_Steak_parameters.hpp | 7909cafc0d8a6ea69843aeacd07c0c03ae49c65b | [] | no_license | frankie-11/SCUM_SDK7.13.2020 | b3bbd8fb9b6c03120b865a6254eca6a2389ea654 | 7b48bcf9e8088aa8917c07dd6756eac90e3f693a | refs/heads/master | 2022-11-16T05:48:55.729087 | 2020-07-13T23:48:50 | 2020-07-13T23:48:50 | 279,433,512 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,405 | hpp | #pragma once
// SCUM (4.24) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function ConZ.FoodItem.On... | [
"60810131+frankie-11@users.noreply.github.com"
] | 60810131+frankie-11@users.noreply.github.com |
de259c5fd5807ab49a59c8eef44dc394b8299514 | 92232c76d75e0ec28216907cf9b092344f8fcad9 | /uTradeOpenSourceAlgos/backend/includes/sgCommon.h | 3347df6ea7060a68c061b06cfc092dfc4e5f64e8 | [] | no_license | utrade/muTradeApi2 | 0a7c07d387eb8fb5655c1c0ca1dcabe5287abfa4 | ade25c0dac998853515a283b8ea33ff996e3b64b | refs/heads/master | 2023-06-26T17:53:41.016301 | 2023-06-20T08:09:20 | 2023-06-20T08:09:20 | 21,849,098 | 4 | 14 | null | 2020-08-19T13:20:04 | 2014-07-15T06:32:24 | C++ | UTF-8 | C++ | false | false | 4,949 | h | #ifndef SG_COMMON_H
#define SG_COMMON_H
#include "time.h"
#include <sharedDefines.h>
#include <sharedResponse.h>
#include <sharedCommands.h>
#include <fstream>
#include <list>
#include <sgMktData.h>
#include <memory>
#include <string>
#include <cmdDefines.h>
#include <apiConstants.h>
#include <sgSymbolDataDefines.h... | [
"gurmeet.singh@utradesolutions.com"
] | gurmeet.singh@utradesolutions.com |
4694a4f46756de71291cbc2184c614177b90131c | 82d15fee763938679cae5f61912c4315995a41aa | /src/test_mapserver_insertion_performance.cpp | 2e8d142106dc342e1fdaa089ff94bfcaf7a075d4 | [
"MIT"
] | permissive | finger563/color-octree-test | 88d7abee66880067a243d4949ee3ea7802ad138f | 2907b8170a5fcf500bb47060bdd8d8fe216ec38b | refs/heads/master | 2022-11-22T11:17:40.657619 | 2020-07-20T20:41:21 | 2020-07-20T20:41:21 | 281,191,218 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,220 | cpp | /**
* test_mapserver_insertion_performance: A Tool to test MapServer insertion perforamnce
*/
#include <color-octree-test/MapServer.h>
#include <iostream>
nlohmann::json load_config(const std::string & config_filename) {
auto config = nlohmann::json({});
if (!config_filename.empty()) {
std::cout << "ROSHI: ... | [
"waemfinger@gmail.com"
] | waemfinger@gmail.com |
5ca0869a7a98db2411872805fadc79c56b0a582e | 0159867d6c7bf81f39befdace9ddad25c6f8a78e | /src/ui_interface.h | 147c472fa6c88a38e0512a1c345f68a8176f4c75 | [
"MIT"
] | permissive | Shitcoin-beta/shitcoin-sc | be8cea893b6f8e14440f1250db4104dda243a129 | 050d1ba00a65827f60a0c9a1d88ac78d96ca61d8 | refs/heads/master | 2022-10-16T19:09:40.249282 | 2020-06-16T21:15:17 | 2020-06-16T21:15:17 | 272,813,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,851 | h | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2012-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SHITCOIN_UI_INTERFACE_H
#define SHITCOIN_UI_INTERFACE_H
#include <memory>
#in... | [
"66981424+Shitcoin-beta@users.noreply.github.com"
] | 66981424+Shitcoin-beta@users.noreply.github.com |
e396c2aa9773a8bb21c61ebef3e7081d8e6b8336 | 793f0b9d4e5230a0cd40bc8a674c075649b89648 | /VfoSourceRev6 Branches/RXoffset.ino | 4317a9bc5cacead3dd6773d46a7b1091c88477ee | [] | no_license | MartySkitch/Nano_DDS_VFO_Rev-2 | a24afe70f6235056182bdade140a71b49c7b25b3 | a49f30fe742b1a8dcdc9a00e2cc9ed4cbd23754f | refs/heads/master | 2020-07-06T03:58:50.931984 | 2017-01-20T14:03:16 | 2017-01-20T14:03:16 | 74,061,145 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,024 | ino | /*
The heart of the code that manages the AD9850 was written by
Richard Visokey AD7C - www.ad7c.com
Modifications were made by Jack Purdum and Dennis Kidder:
Rev 4.00: Feb. 2, 2015
Rev 5.00: Jul. 8, 2015, Jack Purdum
Rev 6.00: Aug. 1, 2015, Jack Purdum
W2ROW add receive offset - requires new hardwa... | [
"skitch@skitchfamily.net"
] | skitch@skitchfamily.net |
e777de25064b20228ebd8e085c3c12a6d30a474e | 49f93e9ca974840099ca3e3f6887a642223df76c | /TP/TP/CrazyDriver.h | 442eec6c06093593bdac7f3d25b073d16a224ab8 | [] | no_license | Strimblaster/POO1920 | 21a4f7fa7297a2183ed6bd59e678bf4751285a19 | 7f65324be5b1fe9f143d9449d57337d6fc7ada5d | refs/heads/master | 2022-03-25T14:11:24.612089 | 2020-01-07T14:47:12 | 2020-01-07T14:47:12 | 218,338,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | h | #ifndef CrazyDriver_H
#define CrazyDriver_H
#include "Piloto.h"
class CrazyDriver :public Piloto
{
int tempoDesatento;
int posicao_anterior;
public:
CrazyDriver(string nome, vector<Piloto*> pilotos);
int mover(Carro* carro, int posicao, int nCarros, bool finalDaCorrida) override;
void reset() override;
void rese... | [
"emanuels.ferreira@hotmail.com"
] | emanuels.ferreira@hotmail.com |
e82082a088db12c87342e86d9f53b9b7c218e6c0 | 91805a87b151c3292bdb5de1efadef347657fd4a | /source/World.h | eb96e237750febcae9d54c16f09cc61efa06c83c | [] | no_license | lkschubert/neural-network | e4e42bbb3a55c8758925cd733a7b44b1bd7f922e | 65a9df13f57b5373c6ee0dda61d778a46bb8730e | refs/heads/master | 2021-01-21T13:41:43.382888 | 2016-03-22T17:42:25 | 2016-03-22T17:42:25 | 40,266,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 462 | h | /**
* @author Luke Schubert
*/
#ifndef WORLD_H
#define WORLD_H
#include <vector>
#include "Brain.h"
class World {
private :
int size;
int age;
int plant[2];
int actor[2];
Brain* thisBrain;
public :
/**
* Default constructor
*/
World ();
/**
* Update
*/
void update ... | [
"luke5@umbc.edu"
] | luke5@umbc.edu |
996d65023ad1932037cc1be7f4967941a8e9fdd6 | 67e8364603f885231b6057abd6859e60562a4008 | /Cpp/464_CanIWin/001.cpp | 2e873735cdd101cf3adf07dfd276f5b885f1886d | [] | no_license | NeighborUncleWang/Leetcode | 988417721c4a395ac8800cd04e4d5d973b54e9d4 | d5bdbdcd698006c9997ef0e368ffaae6f546ac44 | refs/heads/master | 2021-01-18T22:03:27.400480 | 2019-02-22T04:45:52 | 2019-02-22T04:45:52 | 36,253,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,004 | cpp | class Solution {
private:
bool helper(string& used, unordered_map<string, bool>& dp, int remaining_total) {
if (remaining_total <= 0) return false;
if (dp.find(used) == dp.end()) {
for (int i = 1; i < used.size(); ++i) {
if (!used[i]) {
used[i] = 1;
... | [
"lixianshu1992@gmail.com"
] | lixianshu1992@gmail.com |
04fe5fd7b64292923605123ac61c5ac54d83dac0 | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /components/mirroring/browser/cast_remoting_sender.h | 35790279d86a8e97d8ea92ddb848ac9498fbcfaa | [
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 9,860 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_MIRRORING_BROWSER_CAST_REMOTING_SENDER_H_
#define COMPONENTS_MIRRORING_BROWSER_CAST_REMOTING_SENDER_H_
#include "base/callback_forward... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
7a1a067e59b6e0045b26f836540b1061425cfcf1 | e89d149a3d2af4708add76a66ecc917529e37884 | /Project/Thridlibrary/include/boost/boost/sync/locks/unique_lock_fwd.hpp | 2fd84333875bd3c6152f765ded5943686bbf8ae7 | [] | no_license | q871980431/Algorithmtest | 4eebe2388481c1d6a6ec69a79de0e79202a7cf75 | 1c6295312ba9091b0cf9f7a14eb226ed9c23318a | refs/heads/master | 2021-07-21T12:13:17.538651 | 2020-06-11T03:23:09 | 2020-06-11T03:23:09 | 181,812,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 968 | hpp | /*
* 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)
*
* (C) Copyright 2007 Anthony Williams
* (C) Copyright 2011-2012 Vicente J. Botet Escriba
* (C) Copyright 2013 Andrey Semashev
*/
/*!
... | [
"xuping.phoenix@mokun.com"
] | xuping.phoenix@mokun.com |
9284818520186e91d6cb3c252921b6c4ae6d4185 | 07533def7713635c732142ab07e0967f5f189c3d | /YCGraphic/YCIModel.h | 788c64bebdb4f634215328aa85dd157319556fda | [] | no_license | lovechen508/GameClient | 2bddfca4d4b4a8e3cd788211a0e1178be36f0eb5 | cabe9f95a14091bc3ce104a47104c8c278a86920 | refs/heads/master | 2020-06-09T07:26:55.242641 | 2013-02-20T06:15:57 | 2013-02-20T06:15:57 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,298 | h | #ifndef _INCLUDE_YCIMODEL_H_
#define _INCLUDE_YCIMODEL_H_
class YCDList;
class YCIComponent;
/*
* Model 类
* 利用CPP的反射机制实现Model和View的绑定
*
* ---------------------
* | YCIModel |
* ... | [
"loevchen508@hotmail.com"
] | loevchen508@hotmail.com |
251fd3bad3213341ac637db687405c957f4c914a | 7d528e8b14cd68436195dd00051d3a8d57eda996 | /libGizmod/Processes.hpp | dd9e9e5830496dd5c634f82e83a515b308493d09 | [
"Apache-2.0"
] | permissive | pauljeremyturner/gizmod | 2cf98811de8241547c09be2d90a6519ec51f21f7 | 537b8c25360d907b1fde631336ccf723f38d4312 | refs/heads/master | 2022-07-27T12:56:44.751457 | 2020-05-22T10:16:04 | 2020-05-22T10:16:04 | 266,080,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,118 | hpp | /**
*********************************************************************
*************************************************************************
***
*** \file Processes.hpp
*** \brief Processes class header
***
*****************************************
*****************************************
**/
/... | [
"pauljeremyturner@yahoo.com"
] | pauljeremyturner@yahoo.com |
b888efcc10c483e4a9b59a6542bb6c86df5368d6 | 93176e72508a8b04769ee55bece71095d814ec38 | /Utilities/otbossim/include/ossim/base/ossimTiledImageHash.h | 6531c4559d87da676a1ed4aa3a033b6f16b9bf3b | [] | no_license | inglada/OTB | a0171a19be1428c0f3654c48fe5c35442934cf13 | 8b6d8a7df9d54c2b13189e00ba8fcb070e78e916 | refs/heads/master | 2021-01-19T09:23:47.919676 | 2011-06-29T17:29:21 | 2011-06-29T17:29:21 | 1,982,100 | 4 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,170 | h | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
// Description: Hashing function for tiled rectangles. Will hash a
// dp... | [
"CS"
] | CS |
aa2b5781ee44f7799a17e8f94f7dca9ac8112a26 | 0a663a4d46d9da669e160b5c90b993386a09d83c | /src/core/consAssemble.cc | 6cb83af28480e2cc072045b4c26015fdf0907a7b | [] | no_license | CarterTsai/clasp | 9eb138f50bce035d29aa42fd42e5c3fd1ad40d48 | 22d3a4f0fe5eb0fc4651a364bec38e9e9ced51b4 | refs/heads/main | 2021-01-21T09:14:37.844200 | 2014-07-17T02:29:10 | 2014-07-17T02:29:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cc |
(Cons_O::create_list(_lisp) % x % y % z )
apply(func,Cons_O::list(_lisp) % x % y % z % kw::_sym_rest % stuff )
| [
"chris.schaf@verizon.net"
] | chris.schaf@verizon.net |
f82227b740a40dcffb7ee166ed4bb7230de98aa5 | 904441a3953ee970325bdb4ead916a01fcc2bacd | /src/sys/xml/xml_init.cpp | d0a9996ea7711bcb8920ceb35e36c86290e82c39 | [
"MIT"
] | permissive | itm/shawn | 5a75053bc490f338e35ea05310cdbde50401fb50 | 49cb715d0044a20a01a19bc4d7b62f9f209df83c | refs/heads/master | 2020-05-30T02:56:44.820211 | 2013-05-29T13:34:51 | 2013-05-29T13:34:51 | 5,994,638 | 16 | 4 | null | 2014-06-29T05:29:00 | 2012-09-28T08:33:42 | C++ | UTF-8 | C++ | false | false | 1,286 | cpp | /************************************************************************
** This file is part of the network simulator Shawn. **
** Copyright (C) 2004-2007 by the SwarmNet (www.swarmnet.de) project **
** Shawn is free software; you can redistribute it and/or modify it **
** under the terms of t... | [
"github@farberg.de"
] | github@farberg.de |
b65b39fc434d3e93117a7de28ec6bdc87b77d7fa | 751bdc3d365a64b18d78e8c2fb9f6ea00452764f | /apex/networking/aaa_networking.h | d826a06a37e194eec04579ec34fc4d8e852ae98b | [] | no_license | ca2/app | b1de035566d9664aa7c5c9a94378cc352b1836ec | afdedd20df2f6dce81c63bc8a9db6de14503076e | refs/heads/main | 2023-08-27T07:19:45.584624 | 2023-08-26T12:28:28 | 2023-08-26T12:28:28 | 98,031,531 | 19 | 7 | null | 2017-08-14T11:13:14 | 2017-07-22T12:59:27 | C++ | UTF-8 | C++ | false | false | 1,247 | h | #pragma once
//#include "apex/operating_system.h"
//#if defined(FREEBSD)
//
//
//#include <sys/socket.h>
//
//
//#endif
//
//
//#if defined(LINUX) || defined(__APPLE__) || defined(ANDROID) || defined(FREEBSD)
//
//#include <netinet/in.h>
//
//#if defined(__APPLE__)
//
//typedef in6_addr in_addr6;
//
//#endif
//
//#... | [
"camilosasuketbs@gmail.com"
] | camilosasuketbs@gmail.com |
5ee5d5e6fdf086cf2de67db5b2e510c709883711 | c79c3c636b04050ede33f7ff57afd8345922e231 | /addons/mission/XEH_PREP.hpp | 1e9618df186d9071b8f2d8b62765088b96e44d89 | [] | no_license | 7Cav/7CavAddon | 076fa15d19152f92c0b1bcb516abf9f8ef41a886 | 7e104738f4bced806f65e7c8219dc1f74952559a | refs/heads/main | 2023-08-05T04:42:12.217690 | 2023-08-04T20:12:26 | 2023-08-04T20:12:26 | 174,180,453 | 6 | 7 | null | 2023-08-16T16:09:45 | 2019-03-06T16:27:12 | C++ | UTF-8 | C++ | false | false | 27 | hpp | PREP(gate);
PREP(teleport); | [
"andreas.brostrom.ce@gmail.com"
] | andreas.brostrom.ce@gmail.com |
79935eb389ce49e2280d5cae9a65ac43b9f9ae07 | 74a31a9666df200ab18c44566f2227d031823b23 | /img1001/Classes/layer/Signature/TextFieldNode.h | 1a7b724c339b8b6fae3e692bb46df3f5f22b4f1a | [] | no_license | Crasader/Demo_Earlier_CC | 448f3447fc3fb237c2346069bf2344f44bd552db | 320c57f91b7d6603a6293b65a6702f76b1e035ba | refs/heads/master | 2020-12-04T12:24:47.254647 | 2018-05-31T02:51:24 | 2018-05-31T02:51:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,139 | h | //
// TextFieldNode.h
// TestProject
//
// Created by houhuang on 15/10/13.
//
//
#ifndef __TestProject__TextFieldNode__
#define __TestProject__TextFieldNode__
#include <stdio.h>
#include "cocos2d.h"
#include "CursorTextField.h"
USING_NS_CC;
using namespace std;
class TextFieldNode : public Node
{
public:
sta... | [
"327239185@qq.com"
] | 327239185@qq.com |
b9f209296ed9e16d256db9c978553b5a5bcdad71 | c990fa535aa34621ff856823bf07f650b57ee68b | /smart rocket sdl/SimpleRect.h | 417d9bb3be04f6622811f8911779ae3a787fcd38 | [] | no_license | xender1/smart-rockets | 553f79c3f57f4ed66bfe45773ad5530b133358fd | 00ee86247740fc9f8a9fd06b14e1fabdec9056be | refs/heads/master | 2020-12-30T13:27:39.977761 | 2017-06-02T02:38:55 | 2017-06-02T02:38:55 | 91,213,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,392 | h | #pragma once
#include "main.h"
#include "LTexture.h"
#include "CollisionObject.h"
//The dot that will move around on the screen
class SimpleRect
{
public:
//The dimensions of the dot
static const int RECT_WIDTH = 20;
static const int RECT_HEIGHT = 20;
//Maximum axis velocity of the dot
static const int RECT_VEL ... | [
"keiltc@gmail.com"
] | keiltc@gmail.com |
78a55c9e703596be8d3711385eb1f06bb079a3f8 | adc54572852c43d947218f3675dfd63377259ff8 | /org.dumbo.core/AtomType.h | 436ae7c1429b420b3f5e79cc9886125ae5976565 | [] | no_license | eoc21/DUMBO | 6c99a9e0d8c40bfeed25d14719be986c59bd08de | f4fbf93ff73fa8de8f447b06e473f25e74fc2f9c | refs/heads/master | 2021-01-10T18:26:51.302179 | 2010-04-14T15:45:36 | 2010-04-14T15:45:36 | 596,828 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 954 | h | /*
* AtomType.h
*
* Created on: Apr 8, 2010
* Author: ed
*/
#ifndef ATOMTYPE_H_
#define ATOMTYPE_H_
#include <string>
using namespace std;
class AtomType {
string id,elementSymbol;
int neighbourCount,hybridization,valency;
double bondOrderSum,covalentRadius,maxBondOrder,vanDerWaalsRadius;
public:
AtomT... | [
"eoc21@cam.ac.uk"
] | eoc21@cam.ac.uk |
25412e41cb3a2d5dd91dbbfdc106966229f8a3f1 | bd6385ab141178ca58c13e7b542e70fec197d365 | /src/JsVlcDeinterlace.cpp | 3603945fbbb4f888d98c9c2af9cfb804a237fdd2 | [] | no_license | bookb/wcjs-player | 6085ff3363caef52fc69ec1a77f034f2fcf9baf0 | f73554459160a1308bb2d4c1fa16301b2c0b2689 | refs/heads/master | 2020-09-26T22:34:42.862800 | 2019-12-06T15:31:25 | 2019-12-06T15:31:25 | 226,358,074 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,021 | cpp | #include "JsVlcDeinterlace.h"
#include "JsVlcPlayer.h"
Napi::FunctionReference JsVlcDeinterlace::_jsConstructor;
void JsVlcDeinterlace::initJsApi(Napi::Env env) {
Napi::HandleScope scope(env);
// className: VlcDeinterlace
Napi::Function func = DefineClass(env, "JsVlcDeinterlace", {
CLASS_METH... | [
"lvgangwen@5iketang.com"
] | lvgangwen@5iketang.com |
700d578b7770688f774b95182132a071daf70ad6 | 50457fc28800b3cf2f25e06478f33981a1a626dc | /Codeforces/1166C.cpp | 7acec1b5b062b099afe9039b9a1254869bf3440a | [] | no_license | h-sinha/CP-codes | 5b1ef5021b7fd180b518270ffdb12997dc8d367b | 937174c73d1c80114de4535a6908122158366ad4 | refs/heads/master | 2021-07-20T18:47:00.500294 | 2021-07-06T05:11:57 | 2021-07-06T05:11:57 | 159,954,721 | 2 | 2 | null | 2020-01-07T18:57:28 | 2018-12-01T14:51:44 | C++ | UTF-8 | C++ | false | false | 1,547 | cpp | #include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
#define DEBUG
#ifdef DEBUG
#define debug(...) __f(#__VA_ARGS__, __VA_ARGS__)
template <typename Arg1>
void __f(const char* name, Arg1&& arg1){
cerr << name << " : " ... | [
"harsh.26020@gmail.com"
] | harsh.26020@gmail.com |
ce21bb0cd216733180dc8e39c80d288d9aaa7bf8 | fd138090fdf90ceee5e1089f18653ff2b9ff78b7 | /codeforces/464/b.cpp | a42f575c25cb5e2b9cc8acab58d0b2d7f79f17ca | [] | no_license | safinsingh/cmp | 0d9b3889ed5431727903f5190b9d747369317e7b | f8c7bcf0784af8ee1db25cbeaa2f18636e498516 | refs/heads/master | 2022-11-30T20:32:13.957980 | 2020-08-17T05:09:03 | 2020-08-17T05:09:03 | 286,140,102 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 656 | cpp | #pragma GCC optimize("O3")
#pragma GCC target("sse4")
typedef long long ll;
#include <bits/stdc++.h>
using namespace std;
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
ll n, k;
cin >> n >> k;
ll a[k];
for (ll i = 0; i < k; i++)
{
ll e;
cin >> e;
a[i] = e;
}
... | [
"safin.singh@gmail.com"
] | safin.singh@gmail.com |
df2e635845d9b930cb9f3cfbc4a817da7414a7dc | f25b7e0cc1e013f0ea39e5d3098cd4d5ff94b34f | /lanqiaobei/ch08/1299.五指山.cpp | 9d5fd5323ed3a06a135f7e69a9c7d737470cd7bf | [] | no_license | Y-puyu/AcWing | 2cffe59aa2fe4a85573d8b86970edbc2c650cea3 | 2e6d618f42304ff7e30993582b9eecb2e2b9dc34 | refs/heads/master | 2023-03-26T16:11:52.289901 | 2021-03-31T11:39:20 | 2021-03-31T11:39:20 | 280,659,182 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | cpp | // 裴蜀定理---扩展欧几里得算法
// 求不定方程的整系数,ax+by=z 当 z % (a, b) == 0 时,有整系数 x, y 存在。扩展欧几里得可求
// 注意通解的表示,b = b0+kn/(a,b) 等价于 (b0%n+n)%n 求出 b 的最小正整数解
#include <cstdio>
#include <iostream>
#include <cstring>
#include <algorithm>
using namespace std;
typedef long long LL;
LL exgcd(LL a, LL b, LL &x, LL &y) {
if (!b) {
... | [
"345462072@qq.com"
] | 345462072@qq.com |
cfa998cbc74c0ac6cf9561fbdeb818844f64cc82 | f09792448b7db36e6b1215f9f32784370becbe48 | /Algospot/ARCTIC.cpp | d28c47c6355de91f6e0078fb25f3edb432452a32 | [] | no_license | kimbsu00/Algorithm | cf57aa14b79205bcdb936d60cc80edc9c14be2a2 | a796d6303aef0ddf01e1588d5c354b3e539360fd | refs/heads/master | 2023-08-09T00:04:00.586870 | 2023-08-06T13:27:09 | 2023-08-06T13:27:09 | 223,932,959 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,993 | cpp | /*
url: https://algospot.com/judge/problem/read/ARCTIC
ARCTIC() 함수 내부에 존재하는 for loop 의 반복 횟수에 대한 궁금점이 생겼다.
알고리즘 문제 해결 전략 책에서는 for loop 를 100번 돌리는데 여기서 왜 100번을 돌리는지 의아했다.
그저 100번 정도 반복하면 정답이 나오겠지 싶어서 100번을 돌리는 건지 아니면 다른 이유가 있어서인지 잘 모르겠다.
그래서 for loop 의 반복 횟수를 100번에서 점점 줄여가면서 알고스팟 채점 시스템에 돌려본 결과,
이 코드처럼 25... | [
"noreply@github.com"
] | kimbsu00.noreply@github.com |
601f4e1249b0e71e341812e42a2c2e64d6d5582c | 3f31f3968536f10dee78973b19a13e016d5bf10e | /4P/stack.h | e3dde4fe90eb9d904d60589b34166f7068c3e674 | [] | no_license | dmccarthy22/cpp | a9676a7747d22913d92366307adc0c006e7674fd | 337f387cd968f37b2cef67a3ba09e02e3aca087b | refs/heads/master | 2022-12-01T17:50:31.061657 | 2020-08-13T23:42:37 | 2020-08-13T23:42:37 | 287,400,948 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | h | #include <iostream>
#include <cassert>
using namespace std;
#define INITCAP 8
#define TYPE int
class EmptyStackException{};
class stack{
public:
// constructor with default capacity value
stack(int=INITCAP);
// copy constructor
stack(const stack&);
// assignment operator
stack& oper... | [
"danmccarthy@Dans-MacBook-Air.local"
] | danmccarthy@Dans-MacBook-Air.local |
187a7265dd16065f8f0ebf82f25218ef00bbbbb9 | aaff0a475ba8195d622b6989c089ba057f180d54 | /backup/2/codesignal/c++/alternating-sums.cpp | 9eac782f3266c624865c3b89f8941a0461f98afd | [
"Apache-2.0"
] | permissive | DandelionLU/code-camp | 328b2660391f1b529f1187a87c41e15a3eefb3ee | 0fd18432d0d2c4123b30a660bae156283a74b930 | refs/heads/master | 2023-08-24T00:01:48.900746 | 2021-10-30T06:37:42 | 2021-10-30T06:37:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | cpp | // Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)... | [
"yangyanzhan@gmail.com"
] | yangyanzhan@gmail.com |
64ea6b4e40e692d98ef23e1545eb0006b22ca008 | d4a92cde84c66ae334e612f89c8244bdaf09a1ce | /development/rtl87xx/libraries/SPI/AmebaILI9341.h | 5dbc830983942d4bc85ea092e31ac6a37a90c96a | [] | no_license | mirecta/RtlDuino | b7a0d1770be23942d289766941a95066b370e596 | 4f0377001eb993143885387b9de5804b394cec4c | refs/heads/master | 2021-09-18T00:58:15.976472 | 2018-07-07T17:21:13 | 2018-07-07T17:21:13 | 109,432,950 | 0 | 1 | null | 2017-11-20T08:28:36 | 2017-11-03T19:04:51 | C | UTF-8 | C++ | false | false | 4,743 | h | #ifndef _AMEBA_ILI9341_H_
#define _AMEBA_ILI9341_H_
#include "Print.h"
#include <cstdint>
#define ILI9341_TFTWIDTH 240
#define ILI9341_TFTHEIGHT 320
#define ILI9341_NOP 0x00
#define ILI9341_SWRESET 0x01
#define ILI9341_RDDID 0x04
#define ILI9341_RDDST 0x09
#define ILI9341_SLPIN ... | [
"pvvx@mail.ru"
] | pvvx@mail.ru |
a4b2d17abf74b71f341b55ae9ee1fb341b4b06f4 | 034c5c3eeb4a3dd8e5d4ba73863cb56617d5aa08 | /SnakeOil/Sources/Renderable.h | bcfe6d683e562875214603d49c73f068f12a0d83 | [
"Apache-2.0"
] | permissive | unsnaken/snakeoil | 3e284d8aee330c566297dd63acf8fc09356c0ca6 | 08b0ed0e926cd47b15ddb7b8040a694dc56554d4 | refs/heads/master | 2020-11-24T05:21:06.387869 | 2020-01-01T05:17:52 | 2020-01-01T05:17:52 | 227,981,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 242 | h | #include "StdAfx.h"
#pragma once
#include "DrawableObject.h"
SO_NAMESPACE_BEGIN;
class Renderable {
public:
virtual DrawableObjectVector GetDrawableObjects() = 0;
};
typedef std::vector<Renderable*> RenderableVector;
SO_NAMESPACE_END;
| [
"58874326+unsnaken@users.noreply.github.com"
] | 58874326+unsnaken@users.noreply.github.com |
dace785dcb6dd8d346732b824b6a11d4f6eba7de | b75dbdb109de13b0fa1ce7e0450595a6813f7a6b | /src/constraints.cpp | d3a59b589065f6b6db14bf719fc6ebb8023c541c | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | tbriand/portilla-simoncelli-ipol | 7b9ed370c77b2f6b16973a3f3f942471482114a4 | d867d9a22418dca23f0a2e55a6e0b49b8e33b703 | refs/heads/master | 2023-06-17T02:16:34.117553 | 2021-07-13T12:52:08 | 2021-07-13T12:52:08 | 384,395,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,091 | cpp | /*
* Copyright (C) 2021, Thibaud Briand, ENS Cachan <thibaud.briand@ens-cachan.fr>
* Copyright (C) 2021, Jonathan Vacher, ENS Cachan <jvacher@ens-cachan.fr>
*
* 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 So... | [
"briand.thibaud@gmail.com"
] | briand.thibaud@gmail.com |
1459443c9a6d7d5505618bd7ab7e2fc9f7cb6cd9 | 2e52908990389a052fd882083447abb8a15a209e | /cpp/c++17/thread/producer_consumer.cpp | 3ea3f0a4789cb4cd7ea1add23e80f30877a7fd48 | [] | no_license | cksharma/coding | 656a7053c9f7cdb5aaed6bb58ed27bff87ab7d0e | 4ae82c20dc8671a5ad0e6f967f1a123b934af247 | refs/heads/master | 2021-01-18T11:53:40.908684 | 2020-10-13T01:01:43 | 2020-10-13T01:01:43 | 29,038,027 | 0 | 0 | null | 2020-10-13T01:01:44 | 2015-01-09T22:22:55 | Java | UTF-8 | C++ | false | false | 1,297 | cpp | #include <bits/stdc++.h>
#include <mutex>
#include <thread>
#include <condition_variable>
int g_counter = 0;
std::queue<int> Q;
std::mutex g_q_mutex;
std::condition_variable cv;
bool addNow = false;
bool consumeNow = false;
void consume();
void produce() {
while(true) {
std::unique_lock<std::mutex> loc... | [
"csharma22@bloomberg.net"
] | csharma22@bloomberg.net |
8b796d5fabe222af31c3e698c3cc90f2eb5d690c | 1baaf1d4763589dd5d6b43619154e0aa834dc11f | /include/graphics.h | b33c80444519a6a6c3c7cfa6a31ecbd35274a446 | [] | no_license | inscrypt/qif-graphics | ce022736cd87ab39bf205ca1fb7c50514c885308 | e951b1ea6ccc9e19420bf6a8e4591348fa991e0d | refs/heads/master | 2020-09-24T08:49:38.919667 | 2019-10-13T23:50:14 | 2019-10-13T23:50:14 | 225,719,120 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,671 | h | #ifndef _qif_graphics
#define _qif_graphics
#include <vector>
#include "../qif/qif.hpp"
// #include "/home/ramon/raylib/src/raylib.h"
#include "raygui.h"
// #define RAYGUI_STATIC
// #include "/home/ramon/raygui/src/raygui.h"
using namespace std;
// Interface dimensions ***********************************************... | [
"ramongonze@gmail.com"
] | ramongonze@gmail.com |
1515830ef008bd72bcb28cff311e647210b3075a | aedca72b4fe8170f109d3621ba83809c5edf3032 | /nnet_utils/nnet_layer.h | 846b26f5194683b1f727a0b4dc829cb18ad57c49 | [] | no_license | drankincms/HCAL_HLS4ML | 9efc72f15f4dcd90c0dc0abaf97845d879cceee6 | 5ad521626e3254352fad652104c7834cd2f46593 | refs/heads/master | 2020-04-27T19:32:58.742569 | 2019-03-11T17:06:54 | 2019-03-11T17:06:54 | 174,623,675 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,634 | h | //
// rfnoc-hls-neuralnet: Vivado HLS code for neural-net building blocks
//
// Copyright (C) 2017 EJ Kreinar
//
// 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 ... | [
"dylansr90@gmail.com"
] | dylansr90@gmail.com |
5adf3a026f5bcd004192615a3c1e5a9a9b62745a | 374138d42474542ba43d01ea29b4a87855fbdfb5 | /8/control.cpp | a36c9caeb5e83cc87ea2adc40c43f1e736d86b42 | [] | no_license | mortawe/computer-graphics | 99e731379de5b22ba264813bd827a44633d3992a | 9ee16c64f4372ba1f365b2d77104ed36be29c477 | refs/heads/master | 2022-10-03T13:25:05.179919 | 2020-06-08T11:48:06 | 2020-06-08T11:48:06 | 252,137,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,421 | cpp | #ifndef COMPUTER_GRAPHICS_CONTROL_CPP
#define COMPUTER_GRAPHICS_CONTROL_CPP
#include <iostream>
#include <GLFW/glfw3.h>
#include <cstdlib>
#include <math.h>
#include <vector>
#include "light.cpp"
#include "config.h"
glm::vec3 lightColor = {1, 1, 1};
int screenWidth = 800, screenHeight = 800;
Pyramid *pyramid;
void o... | [
"mortawe@gmail.com"
] | mortawe@gmail.com |
9995e828527f512f57611c8d8af3fee50491cba5 | a0a3aaef851755dbdd71983b46baf10d6a131c7b | /main.cpp | b30cd3ffb9d46cf877e4af0226ea8a6c7db8b54f | [] | no_license | brucehho/TicTacToeGame-withpicture | df5f9adcdf1579f271e7e85c316d2a69f5ccd050 | 3e9acf8593c7f114c3f2f3b1e15050859d9bbc5b | refs/heads/master | 2023-04-07T08:31:27.341939 | 2021-04-16T23:14:25 | 2021-04-16T23:14:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | cpp | // Tic-Tac-Toe 2.0 - multiple fi les
// Main function
#include <iostream>
//for access to Game class defi nition
#include "game.h"
using namespace std;
int main()
{
Game ticTacToe;
ticTacToe.DisplayInstructions();
char again;
do
{
ticTacToe.Play();
cout << endl << "Play again? (y/n): ";
cin >> again;
} whil... | [
"HHBdefinition@hotmail.com"
] | HHBdefinition@hotmail.com |
fe99a3dde7a9d0b980a25e604f5466033480677e | 2639807d92c8ecd54b6e135660752a922a1b6e10 | /branches/shader/Fog/Graphics/RasterUtil_p.h | c5dd1af1fe87246a45b4ec6fc700f16cb30f0b38 | [
"MIT",
"LicenseRef-scancode-boost-original",
"LicenseRef-scancode-public-domain",
"BSD-3-Clause",
"X11",
"HPND"
] | permissive | prepare/fog | b9fe3e5d409790ad49760901787d29a9a9195eed | a554c3dd422ee34130be9c5edfb521ec940ef139 | refs/heads/master | 2020-07-18T11:33:23.604140 | 2016-11-16T13:06:53 | 2016-11-16T13:06:53 | 73,920,391 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,854 | h | // [Fog-Graphics Library - Private API]
//
// [License]
// MIT, See COPYING file in package
// [Guard]
#ifndef _FOG_GRAPHICS_RASTERUTIL_P_H
#define _FOG_GRAPHICS_RASTERUTIL_P_H
// [Dependencies]
#include <Fog/Core/Build.h>
#include <Fog/Graphics/Constants.h>
namespace Fog {
//! @addtogroup Fog_Graphics_Private
//! ... | [
"wintercoredev@gmail.com"
] | wintercoredev@gmail.com |
95efeb5e6741e8f8bf614848639f59d3af8f73ad | 7388243acef3572b2bfcb57870585380075a9901 | /master/master.ino | 6ed4815a313f83ee0014a61d6f4c3b920678bd19 | [] | no_license | rogerjaffe/poe-community-power | ad47d25fcb3171680855b6b86f0e3b524750a85b | c7b727bc901c52946bd69fbd61cd39d5d31a3c86 | refs/heads/master | 2020-04-01T18:08:48.553096 | 2018-11-29T20:50:56 | 2018-11-29T20:50:56 | 153,474,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,605 | ino | int SEND_SYNC = 12; // Connect this pin to the INT_SYNC pin on the regions
int SEND_HOUR = 13; // Connect this pin to the INT_HOUR pin on the regions
int MAX_HOUR = 24; // Hours should go 0 - 23
int DELAY = 2; // Delay between "hours" in seconds
int LEAD_TIME = 2; // Seconds lead time before... | [
"rogerjaffe@gmail.com"
] | rogerjaffe@gmail.com |
20941fef20e5c98a32bee12cd2a9f431cc0b34e2 | a042bf4e1d185e06828f592238f272315fa00498 | /static_member_function.cpp | b40be976ababfbd480fb4c41d49e08a322e894c4 | [] | no_license | yashwanth999/cpp_programs | 46994460ac67b14b9c2ffaf20da297bec993db93 | 4aa1b2f5e19a6cbd128e6b0749f0c96e741f7b9d | refs/heads/master | 2021-01-11T16:07:05.036126 | 2018-12-31T09:31:15 | 2018-12-31T09:31:15 | 80,007,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,004 | cpp | #include <iostream>
using namespace std;
class Box {
public:
static int objectCount;
// Constructor definition
Box(double l = 2.0, double b = 2.0, double h = 2.0) {
cout <<"Constructor called." << endl;
length = l;
breadth = b;
height = h;
// Increase every time object is created
objectCoun... | [
"noreply@github.com"
] | yashwanth999.noreply@github.com |
e49e738a396ed81e0a845a9a9f5b2fe93a06bbb1 | b8afb9b673f0c208584a0d3d38167c0010f56e4b | /md5.cc | 23522014cc2ba0c68930d649816fa2ae88b19f8f | [] | no_license | hexin46373/xlib | 6c28c3272dac1d4dccd3c8ff830478a8a219274a | 9c40ae38f33ead398667d7e32e220d578eb9b945 | refs/heads/master | 2022-04-09T21:46:06.263734 | 2019-08-02T02:47:14 | 2019-08-02T02:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,130 | cc | #include "md5.h"
#include "swap.h"
#ifdef _WIN32
# define ROTATE(a, n) _lrotl(a, n)
#else
# define ROTATE(a, n) (((a)<<(n))|(((a)&0xffffffff)>>(32-(n))))
#endif
MD5_VALUE::MD5_VALUE(const MD5_WORD a,
const MD5_WORD b,
const MD5_WORD c,
const M... | [
"7253493@qq.com"
] | 7253493@qq.com |
50770ccff2109c1b365381651ea4ce9f1b38774b | de9141ac5b9de69e3495941d06227459a7ffc49e | /BasicMonopoly/Player.cpp | 09b19bc58f1711229d913a8b5da70398fe652ca7 | [] | no_license | srybicki/BasicMonopoly | 2f64e761c11d1592d528d1801d95d8bcee77719d | 2030ebf8c6d456a1fb09a270f25207986f8eac53 | refs/heads/master | 2020-06-20T07:19:53.891378 | 2019-07-15T17:07:25 | 2019-07-15T17:07:25 | 197,040,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,188 | cpp |
/**************************************************************************************************
Project: Basic Monopoly
File: Player.cpp
Author: Simon Rybicki
Date: 10/03/19
Version: 1.1
Info: Implements a player object.
********************************************************... | [
"noreply@github.com"
] | srybicki.noreply@github.com |
d2e55c828929161f6c44cc4c34cc5d22c4186f67 | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/content/public/browser/pepper_flash_settings_helper.h | 1e5122453b8f82449185f0e8c4467954c4e2b08c | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 1,084 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_BROWSER_PEPPER_FLASH_SETTINGS_HELPER_H_
#define CONTENT_PUBLIC_BROWSER_PEPPER_FLASH_SETTINGS_HELPER_H_
#include "base/callback... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
d964dfd14f2bb04676bd63d7533916ac3254346c | 3c7d7ee6aba506c6c6ce89a10996a041a086e9f4 | /startdemo/include/Light.h | 28589c47d4ae9cfbdc746aa9661f9062caf05058 | [] | no_license | adivasile/domino-physics | c56f2759f498ed33e4e688c36e870c79f0c7de04 | f7bf79189a3fdf02cbd893f484c05e830f75f2b8 | refs/heads/master | 2021-01-13T02:19:23.864620 | 2012-05-22T12:09:41 | 2012-05-22T12:09:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,691 | h | #ifndef LIGHT_H
#define LIGHT_H
#include "CSceneNode.h"
// tipul de iluminare
enum IlluminationType {
Ideal, // lumina omnidirectionala
Spot // lumina directionala
};
/*
Light
Clasa pentru desenarea si activarea unei lumini
*/
// derivata din CSceneNode
class Light : pu... | [
"adrian.vasile@sparktech.ro"
] | adrian.vasile@sparktech.ro |
601243dcc889b9d45a1e3491ef8fa96dfc5b7082 | e94e13fd2343cc9a1fa1976e96efeb53c528f570 | /src/IniFile.cpp | a40314949d204a552dc7dec48cb0195a5b321862 | [
"MIT"
] | permissive | jongkap/libjfx | ada99306f2ef949d656be812b0ae09b82dcb8dfd | b62eaae02a276f64054018e27b9de51826f5845c | refs/heads/master | 2020-03-27T00:35:10.778131 | 2019-10-11T08:17:16 | 2019-10-11T08:17:16 | 145,636,589 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 11,964 | cpp | // $Id: $
///////////////////////////////////////////////////////////////////////////////
///
/// @file IniFile.cpp
/// @brief IniFile 클래스 구현
/// @author Jongkap Jeong <kbroad@mail.com, kbroad.blog.com>
/// @date 2007/04/30 - First Release
/// 2015/10/01 - 수정 작성 (Ref: https://github.com... | [
"42593131+jongkap@users.noreply.github.com"
] | 42593131+jongkap@users.noreply.github.com |
d9acc71ff16e9f8b2bd68585624e0ea2a6a24e5c | d4da977bb5f060d6b4edebfdf32b98ee91561b16 | /Note/集训队作业/2014/作业1/试题泛做/dhh1995/MyCode/icpc2008/D_tsinsen.cpp | 1d83392db3a58ab0326818235f2c9c99a5e670ca | [] | no_license | lychees/ACM-Training | 37f9087f636d9e4eead6c82c7570e743d82cf68e | 29fb126ad987c21fa204c56f41632e65151c6c23 | refs/heads/master | 2023-08-05T11:21:22.362564 | 2023-07-21T17:49:53 | 2023-07-21T17:49:53 | 42,499,880 | 100 | 22 | null | null | null | null | UTF-8 | C++ | false | false | 1,868 | cpp | #include<cstdio>
#include<algorithm>
using namespace std;
#define rep(i,n) for (int i=1;i<=n;++i)
const int N=305;
int Case,n=100,np,m,nc,D,S,T,l,dis,dir,x,y,z,d1,d2,hare,hound;
int a[N*N],son[N],ed[N],next[N],data[N],c[N],d[N]; bool b[N],e[N];
void add(int x,int y,int z,int dir){ed[++l]=y,d[l]=dir,c[l]=data[l]=z,next[... | [
"lychees67@gmail.com"
] | lychees67@gmail.com |
4e2d1b64540e0ec8c340b76154a6088020b02926 | 267b5ebec0558dc9677404a27c4b7c88fe000a0e | /programacion_estructurada_ejercicios/MENU_IF.CPP | e1e3ea48184f395120becab8073f841251c8f945 | [] | no_license | pixelead0/abandonware_programas_c | 64e3ecb8bbeef8db2ce0cef28de616bb618e31f1 | 8f7e99dbad8de9cb3802bed1e11c7284b97eeb4a | refs/heads/master | 2022-06-21T04:25:36.447932 | 2020-05-14T05:13:54 | 2020-05-14T05:13:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,866 | cpp | /* E . S . I . M . E . C U L H U A C A N
ING. EN COMPUTACION
PROGRAMA ELABORADO POR:
* ADAN GARCIA QUIROZ
* C2M1
* PROGRAMACION ESTRUCTURADA
* MARZO / 2001 */
#include"d:\c4v4\pe\pe.h"
void main()
{
int opc;
float a,b,r,r2;
menu:
limpia(15,1);
ma... | [
"info@pixelead0.com"
] | info@pixelead0.com |
de2d20ab283ec740112bad2b306a87b22a8bef03 | d63f3e60d1acd17185a6b77f29287f7b7e6a5b01 | /类的六个默认函数/Project1/MyString.hpp | 69bdf44e81cff84e07381003369265fad99c3f8f | [] | no_license | ClivenZ/Cpp | 4b47e860db76572cff463822f12b0b1f97250051 | 11c64d07db572cfb66a48eeafcaaea3640792fd9 | refs/heads/master | 2022-06-06T16:35:56.643077 | 2022-05-16T12:59:05 | 2022-05-16T12:59:05 | 178,837,622 | 2 | 0 | null | null | null | null | EUC-JP | C++ | false | false | 1,540 | hpp | #pragma once
#include<assert.h>
#include<string>
namespace My {
class String {
public:
//更夛
String(const char* str = "") {
if (str == nullptr) {
assert(false);
return;
}
_size = strlen(str);
_capacity = _size;
_str = new char[_capacity + 1];
strcpy(_str,str);
}
String(const String& s... | [
"835105614@qq.com"
] | 835105614@qq.com |
a1a108f8ba5381f6014a0b42310c0304a50c257b | 44ffe14c37baf3b16932c00677d8b35575f32755 | /src/xtopcom/xbasic/src/xthreading_utility.cpp | 22ba3f66d467ae45ab879000205577f5521b895c | [] | no_license | telosprotocol/TOP-chain | 199fca0a71c439a8c18ba31f16641c639575ea29 | 1f168664d1eb4175df8f1596e81acd127112414a | refs/heads/master | 2023-07-25T01:24:34.437043 | 2023-06-05T01:28:24 | 2023-06-05T01:28:24 | 312,178,439 | 13 | 46 | null | 2023-07-18T01:09:29 | 2020-11-12T05:38:44 | C++ | UTF-8 | C++ | false | false | 127 | cpp | #include "xbasic/xthreading/xutility.h"
NS_BEG2(top, threading)
template
struct xtop_lock_guard_helper<std::mutex>;
NS_END2
| [
"zql0114@gmail.com"
] | zql0114@gmail.com |
2d4c32324ffa667a56f33f98364d03669bb69491 | 7305b56e320d4996170e316c6e0517d8f14cc821 | /ion/core/platform/dreamcast/io/FileDeviceDreamcast.cpp | bdae4c12fe914d470324733444f71267d0b1fb87 | [] | no_license | BigEvilCorporation/ion-engine | 13c2d9ac6e1c6dedfa79538b334d5835e8355bdd | eb1724028d8e3d650561b983084a961acaf2d752 | refs/heads/master | 2022-01-16T05:37:36.397880 | 2021-12-28T01:02:33 | 2021-12-28T01:02:33 | 61,315,281 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,751 | cpp | ///////////////////////////////////////////////////
// (c) 2016 Matt Phillips, Big Evil Corporation
// http://www.bigevilcorporation.co.uk
// mattphillips@mail.com
// @big_evil_corp
//
// Licensed under GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
//
// File: FileDevice.cpp
// Date: 20th November 2011
// Autho... | [
"mattphillips@mail.com"
] | mattphillips@mail.com |
878aca4d067fe576165801347b5b2e3c8134bdc0 | 009851177d04a441141113189125a91a26f4dc74 | /nodejs-mobile/deps/chakrashim/src/v8stacktrace.cc | 17bf67f6f283925d857e5577575f34606e1ccda6 | [
"LicenseRef-scancode-unicode",
"Zlib",
"ISC",
"LicenseRef-scancode-public-domain",
"NAIST-2003",
"BSD-3-Clause",
"BSD-2-Clause",
"Artistic-2.0",
"LicenseRef-scancode-unknown-license-reference",
"NTP",
"LicenseRef-scancode-openssl",
"MIT",
"ICU"
] | permissive | xuelongqy/cnode | a967f9e71315b10d3870192b4bbe2c341b196507 | ac256264d329e68b6c5ae3281b0e7bb5a95ae164 | refs/heads/master | 2023-01-30T11:23:41.485647 | 2020-03-25T05:55:13 | 2020-03-25T05:55:13 | 246,811,631 | 0 | 1 | MIT | 2023-01-07T15:54:34 | 2020-03-12T10:58:07 | C++ | UTF-8 | C++ | false | false | 4,063 | cc | // Copyright Microsoft. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files(the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, ... | [
"59814509@qq.com"
] | 59814509@qq.com |
3071592ae4cd83f9d10088c1e1370fa188f28b39 | bb34d131b3afdf3b30d9ddde92eb10b62dc35c93 | /AdvMath/AdvMath.h | fcb50e328eaf5fd762ab4f7c1b2221eeb020e50f | [] | no_license | SKY-Crew/libraries | f92739783ccd3538667912f4d72081ee32fc07a9 | 4b5b8c662fefec602a5265fe590cc280f2844445 | refs/heads/master | 2020-04-13T08:45:16.913876 | 2019-09-07T10:53:44 | 2019-09-07T10:53:44 | 163,091,118 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,026 | h | #ifndef ADV_MATH_ORIG
#define ADV_MATH_ORIG
#include <Arduino.h>
typedef struct {
double x;
double y;
} vectorXY_t;
enum Side {
LEFT = -1, CENTER, RIGHT
};
enum Diff {
NONE, SMALL, LARGE, TOO_LARGE, SIZE_DIFF
};
inline int8_t signum(double x) { return x > 0 ? 1 : x < 0 ? -1 : 0; }
#ifdef CORE_TEENSY
inline doub... | [
"43493783+SKY-Crew@users.noreply.github.com"
] | 43493783+SKY-Crew@users.noreply.github.com |
59949d97d377254dc4bfa725c2ba230a7cf8d420 | 8957adc4d32ee419dd6de6135dd6be3b93304091 | /LMCEmulator/Line.cpp | da6af112dde681e1a8620ac27742c3aee23068cd | [] | no_license | UnkDevE/LMCEmulator | ff9b5a3f8fa7de0d9d3f6251595889e9aaf654a0 | 1f813c1a71ed356e1dadbf0508703c0c16bc8781 | refs/heads/master | 2020-03-19T12:38:55.659318 | 2019-02-21T19:04:05 | 2019-02-21T19:04:05 | 136,531,162 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | cpp | #include "Line.h"
// converts a line to machine code.
int Line::toMachineCode()
{
if (Mnemonic != DAT && Mnemonic != UNDEFINED && Mnemonic != INP && Mnemonic != OUT)
return stoi(std::to_string(static_cast<int>(Mnemonic)) + std::to_string(address));
else if (Mnemonic == INP) return 901;
else if (Mnemonic == OUT) ... | [
"riley787cmplex@gmail.com"
] | riley787cmplex@gmail.com |
cedeec446e423521db7c6459d3b758b890e0a5a0 | 4edd2d889ff0c2633c0675c91a00d8c52cf1e512 | /B2E9/src/main.cpp | 1452b2c385198e1e7edb4da8fef22c2739170674 | [] | no_license | GermanSar/EjerciciosC | be252c9239c0b6f208005dd3d87a29c4ca18733a | c8877a89d1066ff5ebcd653d31c9c0ff4e485534 | refs/heads/main | 2023-03-16T09:16:37.371377 | 2021-03-08T22:22:59 | 2021-03-08T22:22:59 | 344,898,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 925 | cpp | /*9. Realice un programa que calcule el valor que toma la siguiente función para
unos valores dados de x e y: f(x,y) = sqrt(x) / (pow(y,2)-1)
#include<iostream>
#include<math.h>
using namespace std;
int main(){
float x,y,resultado = 0;
cout<<"Digite el valor de x: "; cin>>x;
cout<<"Digite el valor ... | [
"noreply@github.com"
] | GermanSar.noreply@github.com |
d1fc9bd4756e9f45407876af22d923d976c5d227 | f63e132197d5c873025fecbc3eb7f3f21fa92fc3 | /include/ormpp/iguana/third_party/msgpack/include/msgpack/preprocessor/tuple/pop_front.hpp | c8d2c7ef3574f13558f5147c29942c716ee3ba40 | [] | no_license | x931890193/cpp_web | 1a8d433052f641f9087b4d4526eea082ad7012bf | bac28d1519bdd84dc56e6a0e04315ab126eaa64a | refs/heads/master | 2023-07-30T13:21:19.578855 | 2021-09-21T15:23:28 | 2021-09-21T15:23:28 | 398,543,585 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,233 | hpp | # /* **************************************************************************
# * *
# * (C) Copyright Edward Diener 2013.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt o... | [
"ysudqfs@163.com"
] | ysudqfs@163.com |
47abb2f7b671ed268cdfb11f8b59ff0d847f2140 | bb7645bab64acc5bc93429a6cdf43e1638237980 | /Official Windows Platform Sample/Windows 8 app samples/[C++]-Windows 8 app samples/C++/Windows 8 app samples/Connecting with WebSockets sample (Windows 8)/C++/Scenario1.xaml.cpp | e677ec6e44e6617816608f274603f91e4f126243 | [
"MIT"
] | permissive | Violet26/msdn-code-gallery-microsoft | 3b1d9cfb494dc06b0bd3d509b6b4762eae2e2312 | df0f5129fa839a6de8f0f7f7397a8b290c60ffbb | refs/heads/master | 2020-12-02T02:00:48.716941 | 2020-01-05T22:39:02 | 2020-01-05T22:39:02 | 230,851,047 | 1 | 0 | MIT | 2019-12-30T05:06:00 | 2019-12-30T05:05:59 | null | UTF-8 | C++ | false | false | 7,439 | cpp | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
... | [
"v-tiafe@microsoft.com"
] | v-tiafe@microsoft.com |
c5bd282227f0a26dcb0de2e85482e21f89b5a1a1 | ee9f662845a3912c2acef97c4049a469877a2e5c | /src/qt/coincontroldialog.cpp | fb254e0bd80f210c6b40511bbb59aded29e9756e | [
"MIT"
] | permissive | Legioncrypto/Legion-Core | a5c97ddd606d2336947ba268ff8dba0adc83c4f3 | 263cb9d0601d36384aa36c76dd3c406b511cc756 | refs/heads/master | 2020-04-28T20:01:04.764909 | 2019-09-13T20:52:26 | 2019-09-13T20:52:26 | 175,529,989 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 37,674 | cpp | // Copyright (c) 2011-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-license.php.
#include "coincontroldialog.h"
#... | [
"ultrapoolcom@gmail.com"
] | ultrapoolcom@gmail.com |
190a38443bdf8b6246fa913f283846dbb8e86508 | 3edd3da6213c96cf342dc842e8b43fe2358c960d | /abc/abc265/b/main.cpp | 03e0ae28403e08958a387b5f7c16982f2e719c3a | [] | no_license | tic40/atcoder | 7c5d12cc147741d90a1f5f52ceddd708b103bace | 3c8ff68fe73e101baa2aff955bed077cae893e52 | refs/heads/main | 2023-08-30T20:10:32.191136 | 2023-08-30T00:58:07 | 2023-08-30T00:58:07 | 179,283,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | cpp | #include <bits/stdc++.h>
using namespace std;
#define REP(i,n) for(int i=0;i<(n);i++)
#define endl '\n'
using ll = long long;
int main() {
int n,m;
ll t;
cin >> n >> m >> t;
vector<int> a(n-1);
REP(i,n-1) cin >> a[i];
vector<int> b(n);
REP(i,m) {
int x,y; cin >> x >> y;
x--;
b[x] = y;
}
... | [
"ccpzjoh@gmail.com"
] | ccpzjoh@gmail.com |
939b7f68653b4806efd574af81bfa03ea158add0 | 382a4dacbf7d6e6da096ddac660ba7a40af350cf | /examples/TFT_eSPI/ESPFace/ESPFace.ino | 52b00f5507033e58e05bafc7a6c597b57254068e | [
"MIT"
] | permissive | Xinyuan-LilyGO/TTGO_TWatch_Library | 84b1a580ad931caac7407bf110fde5b9248be3c4 | 6a07f3762a4d11c8e5c0c2d6f9340ee4fdaa5fcb | refs/heads/master | 2023-08-18T15:36:22.029944 | 2023-07-03T01:27:29 | 2023-07-03T01:27:29 | 202,286,916 | 776 | 293 | MIT | 2023-08-31T05:18:44 | 2019-08-14T06:17:29 | C | UTF-8 | C++ | false | false | 1,776 | ino | /*
* Base on https://github.com/luisllamasbinaburo/ESP32_Faces
* Adapted to Twatch by Lewis 03/11/2020
*/
#include "Face.h"
#include "config.h"
#define WIDTH 180
#define HEIGHT 240
#define EYE 40
TTGOClass *watch;
TFT_eSPI *tft;
TFT_eSprite *Buffer;
Face *face;
String emotionName[] = {
"Normal"... | [
"lewisxhe@outlook.com"
] | lewisxhe@outlook.com |
b44697115c7238b87df14909842e71e752e37ba1 | 64cb681c4430d699035e24bdc6e29019c72b0f94 | /qrenderdoc/Windows/PipelineState/GLPipelineStateViewer.h | 07fd0651d102056d34f04064850f0399f09e3a11 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | new-TonyWang/renderdoc | ebd7d0e338b0e56164930915ebce4c0f411f2977 | ac9c37e2e9ba4b9ab6740c020e65681eceba45dd | refs/heads/v1.x | 2023-07-09T17:03:11.345913 | 2021-08-18T02:54:41 | 2021-08-18T02:54:41 | 379,597,382 | 0 | 0 | MIT | 2021-08-18T03:15:31 | 2021-06-23T12:35:00 | C++ | UTF-8 | C++ | false | false | 4,740 | h | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2021 Baldur Karlsson
*
* 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... | [
"baldurk@baldurk.org"
] | baldurk@baldurk.org |
39fbfb161045f3bfa132ad562c7d56d5ac0bf4ba | 21874065d2b4ede33c688cf540b6306f276a0e50 | /Interviewbit Stack & Queue C++/Generate all Parentheses (Validation).cpp | a5419e28f5b898cd49852fbe7bd6a770ab602586 | [] | no_license | anuj840/hactoberfest-Projects-2020 | 26ede8644b0812ba970903b1dad2efdcc29a58ac | 7bf8d6eaed4bfc852298574df21d0b0de8a514be | refs/heads/master | 2023-01-02T16:59:12.469235 | 2020-10-30T13:41:36 | 2020-10-30T13:41:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,034 | cpp | #include<bits/stdc++.h>
using namespace std;
/*The brackets must close in the correct order, "()" and "()[]{}" are all valid but "(]" and "([)]" are not.*/
int isValid(string A) {
stack <char> s;
int len = A.size();
int c=0;
for(int i=0;i<len;i++){
if(A[i]=='[' || A[i]=='{' || A[i]=='(')
... | [
"jitendratd@gmail.com"
] | jitendratd@gmail.com |
e18108f4a55d262b3933a5dfa0a0b69fafb9f3a9 | 547545a8b8505d6668301791a1f377a59499e978 | /cpp/leituraEImpressao/aula40.cpp | 1fd505025a88f921163c64946524570bf28ecf19 | [] | no_license | anacarolinacv/cDoublePlus | f25c92a75960d37a6b079effd9c52fa38b3f137a | 5a47a7f8e30f8a940d765227ed868988cf5357f0 | refs/heads/master | 2022-04-05T22:44:57.911769 | 2020-02-20T12:37:21 | 2020-02-20T12:37:21 | 238,086,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | cpp | #include <iostream>
#include <stdio.h>
using namespace std;
// \0 eh o delimitador da string.
// \n quebra o printf em dois.
int main () {
int num;
printf("Informe sua idade!\n");
scanf("%d", &num);
printf("Sua idade é %i\n", num);
return 0;
} | [
"ana.vasconcelos@ccc.ufcg.edu.br"
] | ana.vasconcelos@ccc.ufcg.edu.br |
c817239a1bdf942f0896a2df3d9a4ba1d9467ccc | 31a0b6bd23c8558c089daf4efaa50a04cae7b11d | /939A.cpp | b62dd552eddbdc0b21b26601b4b8a721c43ace51 | [] | no_license | AmHackish/codeforces-solution | 45c2abb3dd45877a5145978a393407b2e0dd1892 | e8266df6a2d97bd52ff11326820f1ef58f924ad8 | refs/heads/master | 2020-08-01T03:55:32.520873 | 2020-04-13T10:57:27 | 2020-04-13T10:57:27 | 210,853,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int lli;
int main()
{
int n;
cin >> n;
vector<int>f(n);
map<int,int>m;
for(int i=0;i<n;i++)
{
cin >> f[i];
m[i+1] = f[i];
}
bool ans = false;
for(int i=0;i<n;i++)
{
int a = i+1,b = m[i+1],c = f[m[i+1]-1],d = m[c];
if(a == d)
{
ans... | [
"kashigarg1111@gmail.com"
] | kashigarg1111@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.