blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
df797387c20926d47f472a86220d29a9cce5c7f0 | c30ddf9487b04e2b30925a668667be787bcf2838 | /fibo.cpp | df18d012cb5cbe055c75e00169f7eb5ab1cfef5e | [] | no_license | vijayaganth23/program | 77a4b5a3fe2ba066c1861c5ecc41893fce523a81 | ada358d88d7a55e8f539f5bcbeefd87af14cdb52 | refs/heads/master | 2020-09-05T13:28:50.708862 | 2017-07-20T12:33:21 | 2017-07-20T12:33:21 | 94,415,202 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | cpp | #include<iostream>
using namespace std;
class fibo
{
int a,b,c;
public:
fibo()
{
a=-1;
b=1;
}
vodi fibonacci()
{
int n;
cout<<"\nEnter the N value:";
cin>>n;
for(int i=1;i<=n;i++)
{
c=a+b;
cout<<" "<<c;
a=b;
b=c;
}
}
};
int main()
{
fibo f1;
f1.fibonac... | [
"noreply@github.com"
] | noreply@github.com |
7ab9872de543d26f6ebd5e6a8770f8849d30b1ef | e33de627a5e2b6a2ff84c408dcf97c5e0fd6f07e | /programers/level3/수식최대화.cpp | 0f2fc92c793759545f9d62f1099c1139a3b43f77 | [] | no_license | urbanGY/problemSolving | 41a870f1d0487030434b8bc68ebc390b3e84d837 | 02860611622161745bf1a44dd22b8694e5e44c56 | refs/heads/master | 2021-08-04T10:50:22.568709 | 2021-07-13T13:38:45 | 2021-07-13T13:38:45 | 142,012,167 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,627 | cpp | #include <string>
#include <vector>
#include <iostream>
using namespace std;
long long maxVal = -1;
vector<char> oper;
vector<bool> check;
long long myABS(long long a) {
return a > 0 ? a : -a;
}
void find(vector<string> expression, vector<char> pick) {
for(auto c : pick) {
vector<string> tmp;
... | [
"sfsfkj@gmail.com"
] | sfsfkj@gmail.com |
34d2b6e47d9276929f5cae9c5f837b70e011bec3 | 884960ca4002093e44002d1bace1f1f266777738 | /src/masternode-budget.h | 171b375ae6f2219e1e0e6be81d527413bd485682 | [
"MIT"
] | permissive | forkee/Krait | d70add328b1eaf4f67a900649a9be8ce91c4c392 | 171c6073ed3406a9044cb58ffbcf25c73b40ef1c | refs/heads/master | 2021-09-08T12:14:37.210169 | 2018-03-09T14:43:23 | 2018-03-09T14:43:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,177 | h | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2018 The Krait developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MASTERNODE_BUDGET_H
#defin... | [
"Kraitcoin@gmail.com"
] | Kraitcoin@gmail.com |
c4b6e204ab0c8990b89dfe84c296a2c0ff6b22c2 | fa9b071fff72371149471851f490a0c6114f8db2 | /render_pipeline/rppanda/gui/direct_scroll_bar.hpp | de4372313b0c98ff901826fe6ff4d9cc133218e0 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | chic-yukim/render_pipeline_cpp | 7b94d655918035575d84b58c57dccc53718cf5d9 | b6f29c4b5d51734658009405d217bf846f10c8af | refs/heads/master | 2020-03-19T19:34:44.062443 | 2019-03-14T02:22:07 | 2019-03-14T02:22:07 | 136,863,921 | 1 | 0 | null | 2018-06-11T02:21:06 | 2018-06-11T02:21:06 | null | UTF-8 | C++ | false | false | 4,508 | hpp | /**
* Copyright (c) 2008, Carnegie Mellon University.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, ... | [
"bluekyu.dev@gmail.com"
] | bluekyu.dev@gmail.com |
d9ae1ef30a1cd8c8320bc6c6fc17039674596f28 | bc15567a31a80adf9027710cfc1c04e6c2735b3c | /src/keepass.cpp | 58b44bc64c8421c46e66f42b9c679565c1eb469b | [
"MIT"
] | permissive | shadowOz/stargate-guru-test | a012770acf941111cce415af9e02406d879421a3 | 41716cd5142df5d598775139c4a3313bc3c917ac | refs/heads/master | 2020-03-15T13:57:18.983505 | 2018-05-06T13:32:11 | 2018-05-06T13:32:11 | 132,179,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,789 | cpp | // Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "keepass.h"
#include "wallet/crypter.h"
#include "clientversion.h"
#include "protocol.h"
#include "random.h"
#incl... | [
"38054148+shadowOz@users.noreply.github.com"
] | 38054148+shadowOz@users.noreply.github.com |
57528c3b4805d09c96cd18a069fdcdde39b0d694 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/tar/old_hunk_7.cpp | 4a8d4c0f64bcf5b67dea4d29a2e461f9ee8bb2c1 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp |
@noindent
The program behaves the same way all UNIX utilities do: it will keep
quiet unless it has simething important to tell you (e.g. an error
condition or something). If you wish it to produce verbose output,
similar to that from the dry run mode, use @option{-v} option:
| [
"993273596@qq.com"
] | 993273596@qq.com |
bac59d1b850f45a36da37bcf3276f1ab51ca0dea | 24d04e6e10749c24234a00b9bc4edadfa27d3765 | /forcetestwithtimer_workingcogxy/forcetestwithtimer_workingcogxy.ino | 662acfde6d82fedd16a991e1f9148ee2b5521448 | [] | no_license | annavaykean/seniordesign_protoype | 7266cd089a7cca2d14e364ab8f1ab402af04176b | b0bd8eb4326a71d33d275e85c8e2a9a1c3d956eb | refs/heads/master | 2020-04-18T09:16:20.472053 | 2019-08-02T15:11:19 | 2019-08-02T15:11:19 | 167,428,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,689 | ino | #include <avr/interrupt.h>
#include <SoftwareSerial.h>
#include <String.h>
SoftwareSerial s(5,6);
//****************************
long count = millis();
//define variables
int FR ;
int FL ;
int BR ;
int BL ;
//small sensors
int SF ;
int SB ;
int SL ;
int SR ;
// x & y points
//measured values on chair if cente... | [
"49532258+bramjas@users.noreply.github.com"
] | 49532258+bramjas@users.noreply.github.com |
331563d6cb7be9eaaec3293eba21db734a582d51 | 4d7b4e18e90997ec6f1db2caceeee355832e3646 | /Robot Files/Codes/QTRArrayCalibration/QTRArrayCalibration.ino | 623c65cd614a7b0f622bf8e0ad111b85d8c1f7a7 | [] | no_license | Tamandutech/LineFollower_Pac | ccc3385f785258e5fe58a602659f59d8640b9c03 | 6a76f47d97e33637fb07c03a60d7abdee1b57236 | refs/heads/master | 2022-04-08T11:26:55.372451 | 2020-02-21T05:53:52 | 2020-02-21T05:53:52 | 184,124,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,682 | ino |
#include <Adafruit_MCP3008.h>
Adafruit_MCP3008 adc;
//Setup do array QTR
int numSensors = 8;//Numero de sesnores sendo utilizados
float valorSensor[8];//array de valores do sensor
float posit = 0; //posição do robô em relação a linha
float MaxQTRValues[8]= {0, 0, 0, 0, 0, 0, 0, 0};
float MinQTRValues[8]= {1023, 10... | [
"phbirais@gmail.com"
] | phbirais@gmail.com |
d81d32cbb14e5399b055081900f9820c5653ef66 | 17ee514db94b7a1932e37073491e59c67114e4aa | /sdk/InputLineDialog.h | 35b04e692ee2c1cfea7a6e602345fed49a498304 | [
"MIT"
] | permissive | joeriedel/Tread3.0A2 | 024ab01fbce9b33fb39d5987483dd740ed34aad7 | 9ce31695bd02f30f07464d18dbbfbf5d4d7fccf9 | refs/heads/master | 2023-03-15T15:30:05.499251 | 2023-03-04T04:01:11 | 2023-03-04T04:01:11 | 196,284,234 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,450 | h | ///////////////////////////////////////////////////////////////////////////////
// InputLineDialog.h
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2008, Joe Riedel
// All rights reserved.
//
// Redistribution and use in source and binary forms,
// with or without modi... | [
"joeriedel@hotmail.com"
] | joeriedel@hotmail.com |
01c0891df1650b0b572ca59f80446975a52975ee | 9da899bf6541c6a0514219377fea97df9907f0ae | /Runtime/Core/Private/Stats/StatsData.cpp | c66e0be28f756052c54344c397eee854f56ee66b | [] | no_license | peichangliang123/UE4 | 1aa4df3418c077dd8f82439ecc808cd2e6de4551 | 20e38f42edc251ee96905ed8e96e1be667bc14a5 | refs/heads/master | 2023-08-17T11:31:53.304431 | 2021-09-15T00:31:03 | 2021-09-15T00:31:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 69,307 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
#include "Stats/StatsData.h"
#include "Templates/Greater.h"
#include "Misc/CoreStats.h"
#if STATS
#include "Containers/LockFreeFixedSizeAllocator.h"
#include "HAL/IConsoleManager.h"
#include "Async/TaskGraphInterfaces.h"
DECLARE_CYCLE_STAT(TEXT("Broadcast"),STAT_Sta... | [
"ouczbs@qq.com"
] | ouczbs@qq.com |
50cbaac8a4e8feb6f0b1e3c628c4ae999603abd2 | f4f186ab9bd998060ba28ad35f6f94612797703e | /INF147/Main.cpp | 1ceceebcffe2582c3c27e3c2933c3a000eadadb2 | [] | no_license | Nanith-Omicron/ISOMETRIC-OPENGL-GAME | 6b57423be911b4d14d654fb3c8a43780824e66ae | 39104d51dde676281f82997b182d6759659870c8 | refs/heads/master | 2023-06-24T23:17:25.986343 | 2021-07-21T13:06:58 | 2021-07-21T13:06:58 | 376,898,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,189 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <iostream>
#include <algorithm> /* min(,) */
#include "Game.h"
#include "ressourceManager.hpp"
#define Max_FPS 60
void framebuffer_size_callback(GLFWwindow* window, int width, int height);
void key_callback(GLFWwindow* window, int key, int scancode, int actio... | [
"bmele57@me.com"
] | bmele57@me.com |
d21205b46761a4d97571973793b097e02e4ec66a | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_new_hunk_480.cpp | 673bdcb9f99424781a60a8ee9dc967355b5308bd | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,666 | cpp | /* the next file name starts here */
*sep =0;
sep++;
}
/* if type == NULL curl_formadd takes care of the problem */
if(!AddMultiFiles(contp, type, filename, &multi_start,
&multi_current)) {
warnf(config, "Error building form post... | [
"993273596@qq.com"
] | 993273596@qq.com |
882d1f106969b011955fedf0723a222551f1a0c0 | 77c0b69b3da92c46278da9cab9979b1f8efe01c3 | /mpllibs/metamonad/pair_tag.hpp | 760a5c31f2b7b1f97b2c929f5db4b9bdb9b24af7 | [
"BSL-1.0"
] | permissive | sabel83/mpllibs | 6e670ab0c23422c4ab80ccbe1ba0c2531619fbf5 | 8e245aedcf658fe77bb29537aeba1d4e1a619a19 | refs/heads/master | 2021-01-21T12:31:50.702386 | 2016-05-13T19:45:07 | 2016-05-13T19:45:07 | 691,824 | 82 | 7 | null | 2014-05-04T08:29:15 | 2010-05-28T21:13:03 | C++ | UTF-8 | C++ | false | false | 434 | hpp | #ifndef MPLLIBS_METAMONAD_PAIR_TAG_HPP
#define MPLLIBS_METAMONAD_PAIR_TAG_HPP
// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
// 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)
#include <mpllibs... | [
"abelsoft@freemail.hu"
] | abelsoft@freemail.hu |
6aaa9c69468e6dfe6e5db04d64f3e8d38dbbb6b6 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Runtime/CoreUObject/Private/UObject/PackageReload.cpp | 8964712976315b9fe7f4efbcd2e41b64b6b6577a | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 22,424 | cpp | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "PackageReload.h"
#include "StrongObjectPtr.h"
#include "ReferenceChainSearch.h"
#include "UObjectHash.h"
#include "Misc/AssetRegistryInterface.h"
#include "Misc/ScopedSlowTask.h"
#include "UObject/Package.h"
#include "UObject/Linker.h"
#include "Te... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
e7119654628623a396aae641ac4449f9a1febf5e | 83c022150ce6800eb2181cacf13a8d8a63c203a3 | /src/qt/askpassphrasedialog.cpp | d568b436a7fada05e13ffa7722c0d240683dd893 | [
"MIT"
] | permissive | shirecoin/shirecoin | 32e27e021c04de94da0e09c228c2bbb995f07260 | 7603209ce9ed7db11b912c2812b948e990d0a39a | refs/heads/master | 2016-09-02T01:10:10.936143 | 2014-06-20T14:25:35 | 2014-06-20T14:25:35 | 21,040,290 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,723 | cpp | #include "askpassphrasedialog.h"
#include "ui_askpassphrasedialog.h"
#include "guiconstants.h"
#include "walletmodel.h"
#include <QMessageBox>
#include <QPushButton>
#include <QKeyEvent>
AskPassphraseDialog::AskPassphraseDialog(Mode mode, QWidget *parent) :
QDialog(parent),
ui(new Ui::AskPassphraseDialog),
... | [
"shirecoin@gmx.com"
] | shirecoin@gmx.com |
c3e0135ee5adcb55ecb8a9c9cd95f668f55daaf2 | 2348000ede440b3513010c29a154ca70b22eb88e | /src/CPP/src/leetcode/SuperPow.cpp | 6fd350c10137d5d7c743e96dc47708808f646ea7 | [] | no_license | ZhenyingZhu/ClassicAlgorithms | 76438e02ecc813b75646df87f56d9588ffa256df | 86c90c23ea7ed91e8ce5278f334f0ce6e034a38c | refs/heads/master | 2023-08-27T20:34:18.427614 | 2023-08-25T06:08:00 | 2023-08-25T06:08:00 | 24,016,875 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,049 | cpp | /*
* [Source] https://leetcode.com/problems/super-pow/
* [Difficulty]: Medium
* [Tag]: Math
*/
#include <iostream>
#include <vector>
using namespace std;
// [Solution]: It is divide and conquer. Power of numbers can always use it.
// [Corner Case]:
class Solution {
public:
int superPow(int a, vector<int>& b)... | [
"zz2283@columbia.edu"
] | zz2283@columbia.edu |
c28e7fc3a722b37fd6ede5eaf880460631b1c01a | 87514f7b148ea86f06eafa114ef43d7431f968b4 | /dx/src/lib/Graphics/Texture.cpp | 9a173088ba0f17b763b575e8a74d3633dda8e189 | [] | no_license | soyasoya5/dxLib-Framework | 604a4a99cddd1cdc9d0df0ae1d2f3c12b9d632be | b72e547a9b358fbff67abad5df28a776fc6767a9 | refs/heads/master | 2021-01-01T05:08:13.834009 | 2016-05-11T08:06:45 | 2016-05-11T08:06:45 | 58,756,111 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,057 | cpp | #include "Texture.h"
#include "../Math/Region.h"
#include <d3d9.h>
#include <d3dx9.h>
begin_GRAPHICS
std::shared_ptr<Texture> Texture::Create(const ::dx::lib::FileIO::Path & path, const ::dx::lib::Graphics::BasePainter *painter )
{
std::ifstream stream( path.operator const char *( ), std::ios_base::binary );
if ( !... | [
"orre_dala@live.se"
] | orre_dala@live.se |
e2cdfc36a468bc5f70ecb66e31bf8599ae6996c8 | 7666afb9473fd748a04ee9401ebc6a41df18efaa | /interfaces/ctests/Waveform.cc | f2c15d9cf9c64d9d5ddf0a70e13a16e576a0ec07 | [
"BSD-3-Clause"
] | permissive | sstcam/sstcam-base | 8dd62b08f258ef3a1cac0b96618f6de9f87416a2 | fa787af9b6dcbe5306a63b0dd313a11ab5b9edbe | refs/heads/master | 2022-04-08T12:22:19.239304 | 2020-02-18T12:13:23 | 2020-02-18T12:13:23 | 226,102,637 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,326 | cc | // Copyright 2019 Cherenkov Telescope Array Observatory
// This software is distributed under the terms of the BSD-3-Clause license.
#include "sstcam/interfaces/WaveformDataPacket.h"
#include "sstcam/interfaces/Waveform.h"
#include "doctest.h"
#include <fstream>
namespace sstcam {
namespace interfaces {
TEST_CASE("W... | [
"jason.jw@live.co.uk"
] | jason.jw@live.co.uk |
9eb0ed039d15adce3c8a9a347e511fe22212216c | f43cc3410558807f5eb23b83ea42d7540c2c6387 | /arduino/ch_18_serial_test/ch_18_serial_test.ino | b8532569f8ebfeac8218d84c7b53ddde89015367 | [
"MIT"
] | permissive | kawamotopological/raspberrypi_cookbook_ed3 | 190727bf5f82ee6a70568a0698906d535b19ee62 | 34da8ee7d4e1f5743eded358c9f4864f774d5599 | refs/heads/master | 2022-04-04T00:39:26.186368 | 2020-02-12T14:00:48 | 2020-02-12T14:00:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111 | ino | void setup()
{
Serial.begin(9600);
}
void loop()
{
Serial.println("Hello Raspberry Pi");
delay(1000);
}
| [
"srmonk@gmail.com"
] | srmonk@gmail.com |
a403c76991ac194beb17debfc245e2da61c94d2c | 2ca5a09362d38826927015f7328f882de2842799 | /src/mbgl/text/collision_index.hpp | 78782fe61c8d5d036105d91421887767ee512e75 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"NCSA",
"ISC",
"blessing",
"BSD-3-Clause",
"OpenSSL",
"IJG",
"BSL-1.0",
"Zlib",
"Apache-2.0",
"Libpng",
"curl",
"MIT",
"BSD-2-Clause",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-sslea... | permissive | whycoding126/mapbox-gl-native | f8687f34d49c6b1b94c9d9a2eb5a535974be5a81 | cb1f781a1897826ea69eb9787ea4a059686450d9 | refs/heads/master | 2020-03-27T02:27:26.277361 | 2018-08-22T20:07:13 | 2018-08-22T20:29:01 | 145,791,565 | 1 | 0 | null | 2018-08-23T02:51:55 | 2018-08-23T02:51:54 | null | UTF-8 | C++ | false | false | 3,228 | hpp | #pragma once
#include <mbgl/geometry/feature_index.hpp>
#include <mbgl/text/collision_feature.hpp>
#include <mbgl/util/grid_index.hpp>
#include <mbgl/util/optional.hpp>
#include <mbgl/map/transform_state.hpp>
#include <array>
namespace mbgl {
class PlacedSymbol;
struct TileDistance;
using CollisionTileBoundar... | [
"chris.loer@mapbox.com"
] | chris.loer@mapbox.com |
985ca2a466df5f51cc765743f8ef362ce3d85812 | fe73b0024a20ca04830e40ad761388aff41e739a | /third_party/poco/XML/include/Poco/SAX/EntityResolver.h | 3387ecfca6cd4188df59a4ce2a43dab4b6c47390 | [
"BSL-1.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | toggl-open-source/toggldesktop | c5075d194edfe0c936a851e6a7753c0b63a537c6 | 013038304ee8e9154db4a45fb642716956cf153b | refs/heads/master | 2023-08-30T14:58:53.807850 | 2023-06-22T11:38:35 | 2023-06-22T11:38:35 | 16,703,726 | 712 | 124 | BSD-3-Clause | 2022-08-31T10:06:31 | 2014-02-10T17:50:41 | C++ | UTF-8 | C++ | false | false | 3,330 | h | //
// EntityResolver.h
//
// Library: XML
// Package: SAX
// Module: SAX
//
// SAX EntityResolver Interface.
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef SAX_EntityResolver_INCLUDED
#define SAX_EntityResolver_INCL... | [
"tanel.lebedev@gmail.com"
] | tanel.lebedev@gmail.com |
2cdf7b122141138cfe759718d489cf62e4e19ac8 | 347409a08a28341cf62c108f2ba5ba457a8daf72 | /Easy/tempCodeRunnerFile.cpp | 5cc1a7a01872d95ea348d25acd03f1059ba9fd03 | [] | no_license | mercurist/AlgoExpert | 66eb0dc4569c0d605bdd3f32fff6770b02d1b9d5 | ac056800f0af522b4ad12c982615c3d6fec1c821 | refs/heads/master | 2022-08-10T23:00:40.368063 | 2020-05-20T13:45:50 | 2020-05-20T13:45:50 | 265,579,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23 | cpp |
int first_num = 0; | [
"10planeten@gmail.com"
] | 10planeten@gmail.com |
e65d6d01d386fbeb3a0c1ec491d775a299be104f | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /cam/src/v20190116/model/ListAttachedRolePoliciesRequest.cpp | 56626181c59a1faeac4b145387ce093fbfee1ce7 | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 4,194 | 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
... | [
"zhiqiangfan@tencent.com"
] | zhiqiangfan@tencent.com |
ea4dbe234e00aa7c7d72615cbe0b28e62127c323 | 90905740d8e8525b58664eef39930218be9277a7 | /D2Hackit/Modules/shopbot/main.cpp | 61ca448ef0915add960e45bac00f678e8408a185 | [] | no_license | Yoosk/d2es-stuff | b1a70533498ff5495aab90299819f56061f6b9aa | e2fdad80c3d20d6727379a07faf8b3a00167bf6d | refs/heads/master | 2020-04-01T01:27:52.997345 | 2018-10-12T12:40:49 | 2018-10-12T12:40:49 | 152,739,652 | 0 | 0 | null | 2018-10-12T11:17:54 | 2018-10-12T11:17:53 | null | WINDOWS-1250 | C++ | false | false | 3,027 | cpp | #include "../../Includes/ClientCore.cpp"
#include "shopbot.h"
ShopBot shopbot;
std::vector<MAPPOS> customPath;
BOOL PRIVATE Shop(char** argv, int argc)
{
if(customPath.size() == 0)
{
switch(me->GetCurrentMapID())
{
case MAP_A4_THE_PANDEMONIUM_FORTRESS:
{
std::vector<MAPPOS> a4Path;
MAPPOS pos;
... | [
"madbrahmin@gmail.com"
] | madbrahmin@gmail.com |
c21cb78e6abe4be214ad8e87335f22725b22cb23 | cfa7fcd711325e324bb0a3fd152d45e2a3f49abb | /SnakeGame/src/snake/snake_segment.h | 25ed709688899f2f7e3820662679b541e443b858 | [] | no_license | rob-DEV/OpenGL-C-Snake | 32b9bebb1efd587e7732129ef184d727fba31a8f | e2ad6e8226663beac074a7dde918c241303bdd7a | refs/heads/master | 2021-06-19T09:55:26.415819 | 2017-07-27T21:53:29 | 2017-07-27T21:53:29 | 98,582,582 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 133 | h | #pragma once
class SnakeSegment
{
public:
SnakeSegment();
SnakeSegment(float x, float y);
~SnakeSegment();
float xPos, yPos;
};
| [
"masseymann@outlook.com"
] | masseymann@outlook.com |
47e4252a7ee011201e000d1baf9be9fe347cba37 | d9953ee10323fbb26cb26d79956a6be6d6c02384 | /COMP371_Project/model.h | ee7939bcd41821cc6796ff4654caafcf8218e68d | [] | no_license | gitScald/OpenGL-Project | 556c7aea60d588709bc51263368db2050b53ea1d | 4dbb7a84cc6fdde252524ad9f7b026157ffadc2e | refs/heads/master | 2021-09-11T21:53:40.248849 | 2018-04-12T17:02:04 | 2018-04-12T17:02:04 | 119,053,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,263 | h | #ifndef MODEL_H
#define MODEL_H
// project headers
#include "joint.h"
// C++ standard library headers
#include <algorithm>
#include <map>
#include <stack>
class Model {
public:
// map between entity and parent entity (if any)
typedef std::map<RenderedEntity*, RenderedEntity*> ModelHierarchy;
typedef std:... | [
"vial.benj@gmail.com"
] | vial.benj@gmail.com |
ceb6b3b16e79db5a82b86eb33ea10c642a616067 | e20a0bd4e759ef7b3066fa468e2024a1a3c9adeb | /CLASS/MenuWithProblemsDecisions/main.cpp | d6eddcb31810281980063e23abbc32320e317aee | [] | no_license | hoang365/HoangFrancis_CSC5_41202 | f3f3c28d0db7f72336059dde8c87ee9b1b7e21a4 | b9ab1db3e9f7f49913c398aabd4fac8eb6ecf9a6 | refs/heads/master | 2021-01-10T10:01:09.503648 | 2016-02-12T05:49:35 | 2016-02-12T05:49:35 | 49,084,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,462 | cpp | /*
File: main.cpp
Author: Francis Hoang
Created on January 19, 2016, 9:18 AM
Purpose: Multiple problems
*/
//System Libraries
#include <iostream>
#include <cmath>
#include <iomanip>
#include <ctime>
#include <cstdlib>
using namespace std;
//User Libraries
//Global Constants
//Function protot... | [
"hoang365@yahoo.com"
] | hoang365@yahoo.com |
494e93f7a76d273a92c6f759febb88e8e62a5b60 | ffe36d7138244879c29b33547e0102a6a46bf8e6 | /third_party/aac/src/imdct.cc | 157e1fecf45455c7fef6d6f3014496b477866fba | [] | no_license | randydom/webrtc_port | cba6ec533acda026556ba5737e5589f2864b908a | a9d19fa643dbb684308ae1320c71d3207965df47 | refs/heads/master | 2020-08-21T14:17:52.676597 | 2016-01-26T01:18:09 | 2016-01-26T01:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,103 | cc | /****************************************************************************
(C) copyright Coding Technologies (2004)
All Rights Reserved
This software module was developed by Coding Technologies (CT). This is
company confidential information and the prope... | [
"wonktnodiq@gmail.com"
] | wonktnodiq@gmail.com |
c422080882078d9f0de997e4fddec435ac3def3e | 7b5a073953b003e62cf0691a99fd5cb9026fd75e | /Animation/Animation/src/CMesh.cpp | 4b2e356954ad26ad78f5368d41abc4c0240cd157 | [] | no_license | balakumaranpalanivel/AdvancedNormalMaps | 49da2d2b9d57a91968080c480385a406bba511b2 | 565e1a5c1ce1f0781add37e37037a21e247c2aea | refs/heads/master | 2021-01-24T13:19:11.280860 | 2018-02-27T18:32:22 | 2018-02-27T18:32:22 | 123,169,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,433 | cpp | #include "CMesh.h"
#include <sstream>
CMesh::CMesh(std::vector<CVertex> vertices,
std::vector<GLuint> indices, std::vector<CTexture> textures)
{
this->vVertices = vertices;
this->vIndices = indices;
this->vTextures = textures;
SetupMesh();
}
CMesh::~CMesh()
{
}
void CMesh::SetupMesh()
{
// Generate VAO, VB... | [
"kumaraxe@gmail.com"
] | kumaraxe@gmail.com |
77fcd7c3da17094400a58c3ea1ae1a5315134d65 | 88ae8695987ada722184307301e221e1ba3cc2fa | /chrome/browser/ash/file_manager/copy_or_move_io_task.h | 1d3ebfe9419dc8d634cd4877c0b05627f87f3eca | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 3,204 | h | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ASH_FILE_MANAGER_COPY_OR_MOVE_IO_TASK_H_
#define CHROME_BROWSER_ASH_FILE_MANAGER_COPY_OR_MOVE_IO_TASK_H_
#include <memory>
#include <string>
#include <v... | [
"jengelh@inai.de"
] | jengelh@inai.de |
642ff53c40dcf571c6db9b3e82179944ab32c90e | d661b1caf1c340f3dcd2de2ef7a74d8a6802ba07 | /codes/scoredialog.cpp | 62064e3578f02e355527ce490387b34da86cd6cf | [] | no_license | EricPro-NJU/MyMusicPlayer | 350971ffc6d853d3c0349621a17f841a80f1cb52 | 5b1cf44832fcd7e20b55548774a6ebff3bee16a8 | refs/heads/master | 2020-11-29T09:01:31.757626 | 2019-12-25T09:43:00 | 2019-12-25T09:43:00 | 230,075,146 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,261 | cpp | #include "scoredialog.h"
#include "ui_scoredialog.h"
ScoreDialog::ScoreDialog(QWidget *parent ,SongInfo* song) :
QDialog(parent),
ui(new Ui::ScoreDialog)
{
ui->setupUi(this);
this->song = song;
score = 5;
QString songname = song->Singer();
songname += " - ";
songname += song... | [
"noreply@github.com"
] | noreply@github.com |
b27c236c4ba02dec79d7fefca28a5b5d22b7e78f | a3971ddaa4908d034327daabc51d2392970d7726 | /Arkit/ios-ipad/Classes/Native/Bulk_mscorlib_4.cpp | ddbc655a5b40f42419c4027e6a31ef3e103ccb14 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SWBerard/ATTHackathon | 3b37262d95810336f12897b293c966b2982e8115 | 1e435718fb49f75ba8f1daaad85ef7a72e82c254 | refs/heads/master | 2020-12-02T11:30:27.099353 | 2017-07-09T19:53:43 | 2017-07-09T19:53:43 | 96,643,055 | 2 | 1 | null | 2017-07-09T00:17:35 | 2017-07-08T20:40:38 | C++ | UTF-8 | C++ | false | false | 1,187,913 | 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 "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "object-in... | [
"Steven.Berard@eventfarm.com"
] | Steven.Berard@eventfarm.com |
0abbeaa87b90e9d837347c98d18ba8c0b00fc5ac | 5cad8d9664c8316cce7bc57128ca4b378a93998a | /CI/rule/pclint/pclint_include/include_linux/c++/4.8.2/java/awt/dnd/DragGestureEvent.h | 7d34bc632dd3b37c6b21ddf1701298bf887cb75e | [
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"GPL-3.0-only",
"curl",
"Zlib",
"LicenseRef-scancode-warranty-disclaimer",
"OpenSSL",
"GPL-1.0-or-later",
"MIT",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"BSD-3-... | permissive | huaweicloud/huaweicloud-sdk-c-obs | 0c60d61e16de5c0d8d3c0abc9446b5269e7462d4 | fcd0bf67f209cc96cf73197e9c0df143b1d097c4 | refs/heads/master | 2023-09-05T11:42:28.709499 | 2023-08-05T08:52:56 | 2023-08-05T08:52:56 | 163,231,391 | 41 | 21 | Apache-2.0 | 2023-06-28T07:18:06 | 2018-12-27T01:15:05 | C | UTF-8 | C++ | false | false | 2,275 | h |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_awt_dnd_DragGestureEvent__
#define __java_awt_dnd_DragGestureEvent__
#pragma interface
#include <java/util/EventObject.h>
#include <gcj/array.h>
extern "Java"
{
namespace java
{
namespace awt
{
class Component;
... | [
"xiangshijian1@huawei.com"
] | xiangshijian1@huawei.com |
249d2ee4725fda4958192ed00cf56bc020639be4 | be4e9f6b9ef4e30217a38657318b735e60e5a9b6 | /PA3/PA3/Building.h | e0590f70df2b0527a8186fdcb0462c0d203d9b16 | [] | no_license | bmahabirbu/PA3 | 1837f0e6809e5664a97e3eb93105f74b113076df | 952b41e9090af34e1582e89c3aff790b1a897c50 | refs/heads/master | 2020-09-01T16:21:48.492362 | 2019-11-26T03:50:53 | 2019-11-26T03:50:53 | 219,003,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | h | #pragma once
#ifndef _Building_h
#define _Building_h
#include "GameObject.h"
#include <iostream>
using namespace std;
class Building : public GameObject //inhertis from gameobject
{
private: // create pokemon count and contructor in private
unsigned int pokemon_count;
public:
Building();
Building(char in_code, in... | [
"bmahabir@bu.edu"
] | bmahabir@bu.edu |
7c00db5b7408d739ded9184433143939fab8450a | f2ecb72a28fda51ef40c2caac4c48f29bab802e0 | /workdir_DsBranchingFractions/FilterTools_fDsSkim/InclProtTightSkim.hh | 33e8adac6681ff0ff1993984abb037f8097aab0b | [] | no_license | benitezj/PhDAnalysisSoftware | e5536705269c24e80c0efbc0f73618e898f0d80a | bb7af4eef48ca9c31360e150687330992c9b7312 | refs/heads/master | 2016-09-02T00:28:06.829752 | 2014-08-14T16:09:53 | 2014-08-14T16:09:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,404 | hh | #ifndef INCLPROTTIGHTSKIM_HH
#define INCLPROTTIGHTSKIM_HH
//----------------------
// Base Class Headers --
//----------------------
#include "CLHEP/Alist/AList.h"
#include "CLHEP/Matrix/Vector.h"
#include "CLHEP/Vector/LorentzVector.h"
#include "Beta/BtaCandidate.hh"
#include "Framework/AppFilterModule.hh"
#include... | [
"josebenitez1982@gmail.com"
] | josebenitez1982@gmail.com |
9fabb220600fcb9ddd212ba16594ea9c504de1c8 | 73ee941896043f9b3e2ab40028d24ddd202f695f | /external/skia/bench/MemoryBench.cpp | 3dff98f8c1a6e94e5cf6ec59d20cc24841a44497 | [
"BSD-3-Clause",
"SGI-B-2.0"
] | permissive | CyFI-Lab-Public/RetroScope | d441ea28b33aceeb9888c330a54b033cd7d48b05 | 276b5b03d63f49235db74f2c501057abb9e79d89 | refs/heads/master | 2022-04-08T23:11:44.482107 | 2016-09-22T20:15:43 | 2016-09-22T20:15:43 | 58,890,600 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,462 | cpp | /*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkBenchmark.h"
#include "SkCanvas.h"
#include "SkPaint.h"
#include "SkRandom.h"
#include "SkChunkAlloc.h"
#include "SkString.h"
class ChunkAllocBench : public SkBen... | [
"ProjectRetroScope@gmail.com"
] | ProjectRetroScope@gmail.com |
abd1aca31c5e824d61ab4af6019240ac1b75bd27 | 76c565742d33d8a54dd2d19111382331a68af091 | /extensions/CCGestureRecognizer/CCPinchGestureRecognizer.h | e4a3981a7214913672407eae45b6ab6a7a07e672 | [
"MIT"
] | permissive | CatalystApps/cocos2d-x | 379811c57cbe45320fdd009174f4f6ecbf582a23 | b078f36580254c4404f1bdab2e295b943b6c3340 | refs/heads/v3 | 2021-01-18T07:27:42.235437 | 2017-11-16T10:05:39 | 2017-11-16T10:05:39 | 43,895,559 | 1 | 0 | null | 2015-10-08T14:47:44 | 2015-10-08T14:47:43 | null | UTF-8 | C++ | false | false | 2,282 | h | /****************************************************************************
Copyright (c) 2013 Artavazd Barseghyan
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 ... | [
"zsmartcat@gmail.com"
] | zsmartcat@gmail.com |
1249204018b8335e8fe9c4fce0f1c71a7f2274c8 | cd76a93579c35ff8dd8332bbcb96cf34a0da25d0 | /include/GeographicLib/SphericalHarmonic.hpp | e645af3fc4798596b80490ca4de6a7670bf53a95 | [
"MIT"
] | permissive | leadorzf/GeographicLib | fb2be763d8e5c97603af17b6ec265f03e0c6f789 | ef2dc52461baa2e2a4bfe80a9d7e5295ac0ebaf3 | refs/heads/master | 2022-12-29T10:33:06.387990 | 2020-06-30T09:05:04 | 2020-06-30T09:05:04 | 276,049,328 | 0 | 0 | MIT | 2020-10-13T23:11:40 | 2020-06-30T09:01:56 | C++ | UTF-8 | C++ | false | false | 14,935 | hpp | /**
* \file SphericalHarmonic.hpp
* \brief Header for GeographicLib::SphericalHarmonic class
*
* Copyright (c) Charles Karney (2011-2019) <charles@karney.com> and licensed
* under the MIT/X11 License. For more information, see
* https://geographiclib.sourceforge.io/
*********************************************... | [
"Frye.Zhang@wayz.ai"
] | Frye.Zhang@wayz.ai |
0a964cd9deaa2b4a7f7fc35046beb96593492648 | fd75a2ddee54d1b7f96a624ddf8441291cc6f911 | /1676.cpp | adbc855ad768e187e7052fc3fb7ca650d1d242d4 | [] | no_license | laz/BOJ | 4f58c6238d9fc2a8909e24fb429a49a2f0d387ac | 2372c82838408ad6479bb0183e68043eac48835e | refs/heads/master | 2023-08-22T06:05:34.840623 | 2021-10-12T17:25:09 | 2021-10-12T17:25:09 | 322,253,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | cpp | #include <cstdio>
int main(){
int n;
scanf("%d", &n);
printf("%d\n", n/5 + n/25 + n/125);
}
| [
"danier123@gmail.com"
] | danier123@gmail.com |
e23cf1bdd25844c36edcc2bf28ac502c6b1cf059 | 58546170c233e5dddd8aacbd31af502820bbcd60 | /src/StructureSi.h | 859f9266ab8b35b30cb50005630661203658717c | [] | no_license | patrick-etcheverry/code-explorer-V0 | 0c03e7d0598717544ab6473627f4de664e5abb8d | 97c69b9f5d5a4c94db43c0cb37c219168d9ae32e | refs/heads/master | 2023-05-07T08:01:27.270765 | 2021-05-30T09:17:40 | 2021-05-30T09:17:40 | 372,172,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,540 | h | /**
* \file StructureSi.h
* \author Patrick Etcheverry
* \date 05 mars 2021
* \brief Spécifie les attributs et méthodes d'une classe StructureSi.
*
* \details Ce fichier décrit les caractéristiques d'une classe StructureSi permettant de représenter
* des structures conditionnelles... | [
"patrick.etcheverry@iutbayonne.univ-pau.fr"
] | patrick.etcheverry@iutbayonne.univ-pau.fr |
1e921168f4309118492d967e471a24ead0854a93 | 8bb0a5769e62d48188a681788f2bc8b962169981 | /vendor/g3log/src/g3log/time.hpp | 6eb5df6b7518b8d91a05042bffe9b9f55465afd8 | [
"Unlicense",
"LicenseRef-scancode-public-domain"
] | permissive | SkeyGitHub/bigbasev2fix-1.58 | 0aea7a35d4faee6b59761ed401ba6d707e44e438 | b386d054953b8e3874ffc3977f0ae09a5f264ea5 | refs/heads/main | 2023-05-22T09:52:06.193202 | 2022-01-01T17:23:53 | 2022-01-01T17:23:53 | 443,583,954 | 11 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,172 | hpp | #pragma once
/** ==========================================================================
* 2012 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more... | [
"noreply@github.com"
] | noreply@github.com |
b009294e9812f6122a7b432882a417cc879d01c6 | 473a938582997e411f3f67bce0c948515b7357aa | /Race/CollisionManager.cpp | aa7ec5bfc2a4e33d3a0cd023856397e01ad80513 | [] | no_license | dgalles/Race | be2828daa65df46fde709534a0fcbdb5ade71ed8 | 334d391bc4f4dbbf30b0a44eea0b4537886023bf | refs/heads/master | 2021-01-25T09:04:13.692127 | 2017-06-08T17:47:49 | 2017-06-08T17:47:49 | 93,776,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,753 | cpp | #include "CollisionManager.h"
bool RaySlabIntersect(float start, float dir, float min, float max, float& tfirst, float& tlast)
{
if (fabs(dir) < 1.0E-8)
{
return (start < max && start > min);
}
float tmin = (min - start) / dir;
float tmax = (max - start) / dir;
if (tmin > tmax)
{
float t... | [
"galles@60946281-439d-462c-8c31-fb3142b233e8"
] | galles@60946281-439d-462c-8c31-fb3142b233e8 |
5d237538aa8d3eeab78c899a606f29a7f4e3bb7a | 9f97c42310f47505eda2b5d6be28294dee7f0f15 | /src/policy/feerate.h | de1301b1b98d4b2ef40fdcc3323d746be8c9f0e6 | [
"MIT"
] | permissive | Madurajaya/cicoin | b7bc3cd65ef665e8c23d6787bb732d211b46e4f3 | b48b11574ae38ae063670a755b9d50ef6960e1e8 | refs/heads/master | 2022-04-13T21:04:57.846103 | 2020-04-01T05:30:32 | 2020-04-01T05:30:32 | 296,742,986 | 1 | 0 | MIT | 2020-09-18T22:37:12 | 2020-09-18T22:37:12 | null | UTF-8 | C++ | false | false | 2,364 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Cicoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_POLICY_FEERATE_H
#define BITCOIN_POLICY_FEERATE_H
#include <amoun... | [
"cicxcoin2@gmail.com"
] | cicxcoin2@gmail.com |
d4cae274118332b71a9311816666f0ecaa7e6453 | 43c62150529b57aa245421cf4ea6e5122fa3c2e5 | /src/qt/transactiondescdialog.cpp | a5d0646d84b8aded6737d1d144af0ee93d7f9f5f | [
"MIT"
] | permissive | blockmir/ddd | 2a7b1f587df2e56b78583785335223e4f5188c3b | 9886a70850225842373ac5688f6e5ef719283c73 | refs/heads/master | 2020-04-11T08:27:38.589420 | 2018-12-13T14:12:03 | 2018-12-13T14:12:03 | 161,644,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,082 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2017 The DONATE developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "transactiondescdialog.h"
#inc... | [
"mircoin01@gmail.com"
] | mircoin01@gmail.com |
3a2024f2c6d0fe4719641c48d9d6ded830cb5bfd | a94770c70704c22590c72d7a90f38e3a7d2e3e5c | /Algo/Leetcode/065ValidNum.cpp | 3ce3a6b8154cf1dd8f9a3e91b5870701c54eaf1e | [] | no_license | lawy623/Algorithm_Interview_Prep | 00d8a1c0ac1f47e149e95f8655d52be1efa67743 | ca8b2662330776d14962532ed8994dfeedadef70 | refs/heads/master | 2023-03-22T16:19:12.382081 | 2023-03-21T02:42:05 | 2023-03-21T02:42:05 | 180,056,076 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,231 | cpp | // very comprehensive consideration
class Solution {
public:
bool isNumber(string s) {
int n = s.length();
if(n==0) return false;
int i = 0; while(i<n && s[i]==' ') i++;
int j = n-1; while(j>=0 && s[j]==' ') j--;
if(i==j) return isDigit(s[j]);
bool showNum = false;
... | [
"lawy623@gmail.com"
] | lawy623@gmail.com |
402edf37371f3849d11bb3ac4f5cfa30c9f7bcc0 | 7e48d392300fbc123396c6a517dfe8ed1ea7179f | /RodentVR/Intermediate/Build/Win64/RodentVR/Inc/Engine/PawnNoiseEmitterComponent.generated.h | 675b12bfc12f9b25cc896a67771d20a371a11534 | [] | no_license | WestRyanK/Rodent-VR | f4920071b716df6a006b15c132bc72d3b0cba002 | 2033946f197a07b8c851b9a5075f0cb276033af6 | refs/heads/master | 2021-06-14T18:33:22.141793 | 2020-10-27T03:25:33 | 2020-10-27T03:25:33 | 154,956,842 | 1 | 1 | null | 2018-11-29T09:56:21 | 2018-10-27T11:23:11 | C++ | UTF-8 | C++ | false | false | 6,069 | h | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"west.ryan.k@gmail.com"
] | west.ryan.k@gmail.com |
b9b7289fca41f95727b7813dbcfbf43a0f8fbd87 | 5992481c984f7b89d88b8a8758e66c94d3383138 | /rocksdb-version-private_key/rpc_server.cc | c2b71321479e0ce65c273dc9198fc09db9f2d41b | [] | no_license | AltarIbnL/DistSSE | a2c435d2ef735c0734431b61aafedcee757eeed7 | f1b867b387cb885c5c46b66c944a184038b520fb | refs/heads/master | 2021-09-05T15:47:52.089343 | 2018-01-29T11:53:59 | 2018-01-29T11:53:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 219 | cc | #include "DistSSE.server.h"
int main(int argc, char *argv[]){
if (argc < 4) {
std::cerr<<"argc error"<<std::endl;
exit(-1);
}
RunServer(std::string(argv[1]), argv[2], atoi(argv[3]) );
}
| [
"bintasong@gmail.com"
] | bintasong@gmail.com |
b973937ce1ecbe2312e65ba08096b76b8f4d2b1e | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_new_log_3701.cpp | 72dec7c2d9a440a3ce50598480266c3d52fa73da | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 128 | cpp | ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01465)
"apr_file_pipe_timeout_set(child output)"); | [
"993273596@qq.com"
] | 993273596@qq.com |
8becc6887e3a4939fcca337114e7203ed56fa299 | ce1e8b29ffd9d97ffc5c693fe3bd4ee358b5e1d5 | /src/ExtFilterModifySurface/NoiseApplicator.cpp | 95eef460a3256325ecfeece2123d50d4a60570b9 | [
"MIT"
] | permissive | voxie-viewer/voxie | d76fe7d3990b14dea34e654378d82ddeb48f6445 | 2b4f23116ab1c2fd44b134c4265a59987049dcdb | refs/heads/master | 2023-04-14T13:30:18.668070 | 2023-04-04T10:58:24 | 2023-04-04T10:58:24 | 60,341,017 | 6 | 1 | MIT | 2022-11-29T06:52:16 | 2016-06-03T10:50:54 | C++ | UTF-8 | C++ | false | false | 3,368 | cpp | /*
* Copyright (c) 2014-2022 The Voxie Authors
*
* 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, mer... | [
"steffen.kiess@cis.iti.uni-stuttgart.de"
] | steffen.kiess@cis.iti.uni-stuttgart.de |
c0ecd15aa2f576a0df5937110147568f7ce6523e | e1a8caf0f09afcba0090426fca2403d5b847b783 | /taskWork.ino | 917b55da195f785650b068dabc3ebb955b61efc2 | [] | no_license | Spider84/esp32_imap_bot | 8e8b2433d6d982ba30d98ec4fbeece90b82485f9 | e73bda65098ea19297bf78f8e83487846b30b1d7 | refs/heads/master | 2022-12-01T23:53:37.755322 | 2020-08-11T04:55:05 | 2020-08-11T04:55:05 | 286,648,793 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,289 | ino | #include "config.h"
uint32_t onTime = 0;
static const char work_end[] = "Work end.";
void startWork(uint32_t work_time)
{
onTime = work_time;
digitalWrite(ledRed, HIGH);
startWorkTimer();
}
void stopWork()
{
onTime = 0;
vWorkTimerCB(NULL);
}
boolean isWork()
{
return (onTime!=0);
}
unsigned int elaps... | [
"spider@spider.vc"
] | spider@spider.vc |
d7fb4a19709423fe8b9af5a05effc7f2d783574a | 6317d6cf7d85776b4af079bb61c2b787223600ee | /02_tzl/3_data_structure/list/list.h | 671e0a417fad8f85297dc2a1b74121fcf86f8405 | [] | no_license | Tomosom/cplus_projects | 23b1e4a8dd0cfea0837fa38d58774642514c3c02 | 11379506fd832d08605764c0f6675d0df3627b6f | refs/heads/master | 2021-12-14T17:08:05.352648 | 2021-11-27T03:45:11 | 2021-11-27T03:45:11 | 183,931,614 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | h | #ifndef LIST_H
#define LIST_H
#include "object.h"
namespace DTLib {
template <typename T>
class List : public Object {
protected:
List(const List&); // 禁用拷贝构造函数, 有了此句,编译器不会提供默认的构造函数了
List &operator=(const List&); // 禁用顺序表对象之间赋值
public:
List(){ }
virtual bool insert(const T &e) = 0; // 默认在线性表的尾部插入... | [
"764575907@qq.com"
] | 764575907@qq.com |
5e1eeccaa21c6445fc4b143bf872f3604ca18ce5 | 5b2b7c8ab0dde974dbbba2928690b2664183dbf4 | /designdemo/src/main.cpp | b8769a7858f58353e0c8a995c4d5becec4f78ae8 | [] | no_license | wangzhicheng2013/c-11 | ff6f40b0f2630de9a5c3a21733eb9ff7f8d7b158 | 76d2533581a86d86ceafa4f1f4ed64d298651791 | refs/heads/master | 2021-07-05T09:43:21.002577 | 2019-04-09T12:46:01 | 2019-04-09T12:46:01 | 146,904,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,102 | cpp | /*************************************************
Copyright:wangzhicheng
Author: wangzhicheng
Date:2018-10-18
Description:program main entry
ChangeLog:
1. create this file
2.add kafka client test
3.add KafkaClientPool test
4.add redis client test
5.add redis client pool test
5.add Pointer test
6.a... | [
"root@ubuntu.ubuntu-domain"
] | root@ubuntu.ubuntu-domain |
1662c6fcc59e2e1f4ca737c0dbdef563c5d06c84 | 19d92ec2e125803bd892b3dc806d475ad775b43c | /src/item27/static_cast.cpp | 33076bbbb89ca3d3bbb4d96480a9ccabbe6c0e19 | [] | no_license | xiaoqiangkx/effective_cpp_notes | 18fa3f224cbac818d6f525385832a6682bad374d | 168df21fc69f70278a6626c2f7a01527b3ac9975 | refs/heads/master | 2021-01-18T16:04:38.278074 | 2014-05-12T13:58:30 | 2014-05-12T13:58:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | cpp | #include <iostream>
class Base {
public:
Base(int a_=0): a(a_) {}
virtual void change() { a++; }
void print() {
std::cout << "a=" << a << std::endl;
}
private:
int a;
};
class Derived: public Base {
public:
Derived(int a_, int b_): Base(a_), b(b_... | [
"xiaoqiangkx@gmail.com"
] | xiaoqiangkx@gmail.com |
c7f9e2e7b5c5a973c254af0ea99ed1e8161d806f | 122fb48d613140024d0917378a1244dfbc0a64b0 | /Source/LethalEntertainment/Public/UI/Menu/ControlsWidget.h | 4dc6b76feaf9b0fe0f978902506243819d9f84c4 | [] | no_license | denfrost/UE4-FPSTestingGrounds | beec07ed315406f4769711dee3b769806c09537c | 991c36c31381c622de00df291da212a1d0dd1b90 | refs/heads/master | 2023-04-22T05:27:08.356220 | 2021-05-04T13:22:40 | 2021-05-04T13:22:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,111 | h | // Copyright 2018 - 2021 Stuart McDonald.
#pragma once
#include "CoreMinimal.h"
#include "UI/Menu/MenuWidget.h"
#include "UserWidgetInterface.h"
#include "ControlsWidget.generated.h"
class UPanelWidget;
class UWidgetSwitcher;
class UMenuButtonsWidget;
class UScrollBoxWidget;
class UIconsWidget;
/** Size data for sc... | [
"stuartmcdonald91@yahoo.co.uk"
] | stuartmcdonald91@yahoo.co.uk |
02071e220d38053e762125009c8cbda5cf7516d6 | 60f7e9bf0d703be25ebdb522ee07e634ccc20662 | /C++/implementation/Game.cpp | d96da46c70606d6e8e82a75fa3e607d451d1c6e4 | [] | no_license | ebunge1/Canoga | 3bebba0f7aadce5a498f5f173d873e4b9e7f1c45 | 3d95b89b656a2f684013b15ab71e64c3366daef2 | refs/heads/master | 2021-01-20T14:49:41.676309 | 2017-05-08T22:56:46 | 2017-05-08T22:56:46 | 90,678,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,149 | cpp | #include "Game.h"
#include "Turn.h"
#include "BoardView.h"
#include "UserInterface.h"
#include <iostream>
#include <fstream>
#include <sstream>
using namespace std;
/*************************
Function Name: Game
Purpose: Class default constructor. Initialize member variables.
Parameters: None
Return Value: None
L... | [
"noreply@github.com"
] | noreply@github.com |
97772819005ec1bb9ecc6b41ad4281e13d54c568 | 31aa0bd1eaad4cd452d0e2c367d8905f8ed44ba3 | /algorithms/uglyNumberII/uglyNumberII-2.cpp | 0d0dde3f22d68d8e667555f6f44c627474f28ec2 | [] | no_license | Sean-Lan/leetcode | 0bb0bfaf3a63d483794a0e5213a983db3bbe6ef6 | 1583c1b81c30140df78d188c327413a351d8c0af | refs/heads/master | 2021-04-19T02:49:33.572569 | 2021-01-04T01:40:06 | 2021-01-04T01:40:06 | 33,580,092 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,284 | cpp | /**
*
* Sean
* 2017-01-05
*
* https://leetcode.com/problems/ugly-number-ii/
*
* Write a program to find the n-th ugly number.
*
* Ugly numbers are positive numbers whose prime factors only include 2, 3, 5.
* For example, 1, 2, 3, 4, 5, 6, 8, 9, 10, 12 is the sequence of the first 10 ugly numbers.
*
* Note t... | [
"sean.lan.thu@gmail.com"
] | sean.lan.thu@gmail.com |
6f4050533bc10fab44931a58ec21d18472255273 | 6955eb783503fa8b988c74c52592c17c08922e7e | /10/calculator/main.cpp | 01b6ec018438612301ef0e13b9934f5297058dd4 | [] | no_license | contact-aleksei/1_year_Tampere_programming_2 | 7f3f27014837792268a2d248fae216e4ae3ad009 | 63c1b7a562824c4674ed4e48695f943d8ae4fbe6 | refs/heads/master | 2021-05-27T05:22:23.349230 | 2020-04-08T23:53:54 | 2020-04-08T23:53:54 | 254,219,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,982 | cpp | #include "calculations.hh"
#include <iostream>
#include <iomanip>
#include <sstream> // for implementing function string_to_double
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
const string GREETING_AT_END = "Thanks and see you later!";
// Utility function to sections a string at del... | [
"noreply@github.com"
] | noreply@github.com |
5a8ad376fb0cdb63ebfb2a5bfe622e843ef6d156 | 6b796dd5c9aaaa929a0c61fd0c4d793c664c8501 | /src/mdrlib/MDRExcept.h | 21e9ccbdd5537a9afe5f6e59a016dec92c5fdadc | [] | no_license | RitchieLab/pMDR | d6f348c1f6995da870c04f8056cbcd95fd2ac257 | ae38d49e4d0cf33bd692a7b6daa1e9eaec0bf6ce | refs/heads/master | 2021-06-02T02:32:35.987314 | 2020-01-09T17:34:10 | 2020-01-09T17:34:10 | 135,601,595 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,257 | h | #ifndef __MDRExcept_H__
#define __MDRExcept_H__
// Copyright 2008 Marylyn Ritchie
// This file is part of MDR.
//
// MDR 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 ... | [
"sdudek@sarlacc.pmacs.upenn.edu"
] | sdudek@sarlacc.pmacs.upenn.edu |
e2f213903afc541ceaadbe11d96524b527c30d2d | d443520eada89db429b5452e89ba1c2b2a6f59aa | /Sounds and Senses/scoreboard_partitions/scoreboard_partitions.ino | 64f345ef2fd257cb66db7bb6603c86e9ae66f839 | [
"MIT"
] | permissive | AJMartel/spice-arduino | c1e39fe4891147996c3117d36ad1514eace1e706 | 0838be077eaf153f93a5962f448fa65f86ae04b0 | refs/heads/master | 2020-04-08T23:43:52.391585 | 2018-11-30T15:20:17 | 2018-11-30T15:20:17 | 159,837,591 | 0 | 0 | MIT | 2018-11-30T14:50:20 | 2018-11-30T14:50:20 | null | UTF-8 | C++ | false | false | 2,220 | ino | #include <Pinball.h>
// These are the button pins
int button0 = 4;
int button1 = 5;
int button2 = 6;
int button3 = 7;
// Flags to keep track of button presses
int flag0, flag1, flag2, flag3;
// Define buttons as switches
Pb_switch mysw0(100), mysw1(100), mysw2(100), mysw3(100);
// Pinball scoreboard
int clkpin = 8;... | [
"xtraplanetary@gmail.com"
] | xtraplanetary@gmail.com |
9d92ef528759d596c21833d9de6cea01d207593f | f370e91985183ec76fed4b5b962c2d3d8079ffd8 | /3DPad/Blur.h | 5cc24e8ff0396784b1f53b1c155385b83daa271f | [] | no_license | IlyaKutaev/MotionDesigner | 23e19f6b60b835fbe27a9a5999dbfd3b0370025c | 45003018fbf656c9284cf66ebddf059e95f263ed | refs/heads/master | 2020-04-30T16:55:23.112006 | 2019-03-23T11:16:37 | 2019-03-23T11:16:37 | 176,962,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 120 | h | #pragma once
#include <QObject>
class Blur : public QObject
{
Q_OBJECT
public:
Blur(QObject *parent);
~Blur();
};
| [
"iliakutaev@gmail.com"
] | iliakutaev@gmail.com |
9dbef5861651f7a9b13b67ceecc3529dfdd37454 | 379b4d7fa7bc468786576f79865e1b684e57f932 | /ABrainFuckVM.cc | f5a06ac06a16c8ec8b98c87c2622b2df974758c7 | [
"BSD-3-Clause"
] | permissive | icefinger/ABrainFuck | 887c26c04b4192c5dd23b7b48fbd34ba80cec40c | 465afe3756cbc39e0fd5c50420977d8b69123cf3 | refs/heads/master | 2021-04-09T13:31:10.481310 | 2018-03-30T17:08:51 | 2018-03-30T17:08:51 | 125,518,402 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,307 | cc | #include <unistd.h>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <vector>
#include <string>
using namespace std;
class Interpretor
{
const string signlist[256]=
{"NULL", "SOH", "STX", "ETX", "EOT",
"ENQ", "ACK", "BEL", "BS", "HT",
"LF", "VT", "FF", "CR", "SO",
"SI", "DLE"... | [
"hugon@cppm.in2p3.fr"
] | hugon@cppm.in2p3.fr |
818e6349f30c716f102696bcfea60716f11513f3 | 1de5113a7d1884ed3bee862133c59fd3c1e95402 | /src/test/zerocoin_denomination_tests.cpp | 4d831c5253f86570224f94351678ea9e9ea89614 | [
"MIT"
] | permissive | CPTSCoin/wallet-init | 8d8f2c5795bda179d6f3396e61608b3638f85918 | b4c12bee1c09c8a559cd95e6e63afbb125813346 | refs/heads/master | 2020-06-04T08:58:13.793270 | 2019-08-06T23:40:43 | 2019-08-06T23:40:43 | 191,953,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,515 | cpp | // Copyright (c) 2017-2018 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "amount.h"
#include "chainparams.h"
#include "coincontrol.h"
#include "denomination_functions.h"
#include "main.h"
#include ... | [
"info@crypto-points.io"
] | info@crypto-points.io |
5db9c9e51591f711e84ab2ccb687711581d64f2d | e37003a3e3309a0a385c71b2aaf505870b444f62 | /src/ash/common/shell_delegate.h | 11ffaf3c826b439043092a72b6d920c28033c104 | [
"BSD-3-Clause",
"MIT"
] | permissive | joshgarde/aurora | d2128e598a09adb1092af1fdf16369993c33204a | 3afc1c70facbf78030e58ce543c93131d979a7b8 | refs/heads/master | 2020-12-24T10:57:31.412033 | 2016-07-12T07:44:36 | 2016-07-12T07:44:36 | 63,039,902 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,710 | 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 ASH_COMMON_SHELL_DELEGATE_H_
#define ASH_COMMON_SHELL_DELEGATE_H_
#include <memory>
#include <string>
#include "ash/ash_export.h"
#include "... | [
"joshgarde@gmail.com"
] | joshgarde@gmail.com |
6ecad5a34ad2d79d34bbbc1ad2cd1a6ed64d5d2d | 54cfb26f9b76fea3a1552583809826f2371c82cb | /Harj1.cpp | e8ecd26a033187cddbb68209a3a6cfe9276d1c2f | [] | no_license | veijovaisanen/Repo1 | d9d7b40c0d726e3548071ae0b9c83d5f341dfa9f | ea2ed0aac9346ecf8d7cee6167754b0b584d47b0 | refs/heads/master | 2020-12-30T10:10:46.277287 | 2012-05-20T12:09:59 | 2012-05-20T12:09:59 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 745 | cpp | #include <iostream>
#include <iomanip>
using namespace std;
//Veijo Väisänen
//XXXXXXXXXXXXXXX
//Uusi rivi lisätty
//Another row
void main()
{
float klampo[12] = {0};
float ksadem[12] = {0};
for(int i=0;i < 12;i++)
{
cout<<"\n\n\nAnna kuukauden %d. lämpötila"<<i+1;
cin>>klampo[i];
... | [
"vijvais@gmail.com"
] | vijvais@gmail.com |
d5d9cd6d4d36d59438bb167cb0060f3f38798ff9 | 1cc239e15272595f07aa6c366a3f8f0211ea609a | /10451 순열사이클.cpp | 49451f250075f2729ae3a64653d9e001223dc513 | [] | no_license | brokentime906/BOJ | b87bb66bf1740e07199993dddd488a167855e41f | 24353f618c7faee9f07a5d5c597a791f4f6fa95c | refs/heads/master | 2020-06-13T06:47:29.112429 | 2019-07-17T13:13:43 | 2019-07-17T13:13:43 | 194,576,720 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 633 | cpp | #include <iostream>
#include <vector>
using namespace std;
vector<vector<int> >arr;
vector<bool> visited;
void dfs(int here) {
visited[here] = true;
int next = arr[here][0];
if (visited[next]) return;
dfs(next);
}
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
int tc;
cin >> tc;
while (tc--) {
int N;
... | [
"btime906@gmail.com"
] | btime906@gmail.com |
9c0639591d3bedd056bc17b960e5123d7b92a23d | eb9878921af178d71b69053de71ba7ccc4f7a59b | /2.16.cpp | e158cff82ae70fc6d1dbddb55f7e26ca31f6e85b | [] | no_license | Ahsanabbas07/OOP | d226f199bf2060d4d76603dd383b8f34ae22c851 | 323b89611b5e9647a6b5ef83e1fda5ae4419ea14 | refs/heads/master | 2020-09-14T19:28:40.332616 | 2019-11-28T17:12:16 | 2019-11-28T17:12:16 | 223,230,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #include <iostream>
using namespace std;
int main ()
{
int a,b;
int sum,product,div,subtract;
cout<<"Enter value of a: ";
cin>>a;
cout<<"Enter value of b: ";
cin>>b;
sum=a+b;
product=a*b;
div=a/b;
subtract=a-b;
cout<<"Sum of a and b= "<<sum<<"\n";
cout<<"Product of a and b= "<<product<<"\n";
cout<<"Divisi... | [
"noreply@github.com"
] | noreply@github.com |
6a2a03661d18188324e54c407144a354691c005a | 985e7e38cb115b160da3d79811b02883d7f9080c | /inc/DbLinkedTableData.h | 2a5584397d634bf975dde020e9d281e97b276568 | [] | no_license | jidzhang/ObjectARX2018 | a3ad7c3e36ea6b27edfb5963f5e43b83a523004b | 012e8dac91500d5fd6c9138d87eee94b6c10b07c | refs/heads/master | 2021-01-22T07:49:11.392757 | 2017-05-31T02:21:07 | 2017-05-31T02:21:07 | 92,580,081 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,286 | h | //////////////////////////////////////////////////////////////////////////////
//
// Copyright 2017 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies... | [
"545628606[AT]qq.com"
] | 545628606[AT]qq.com |
ce0832c9e374499756c04ef1e742c4c7bf9c1fab | 4223433bcdc165353a3837dd9b7f5dade1313972 | /inst/include/dplyr/Result/Rank.h | 785a8d9237e70cdcc419f9bd38e8ad90d37ef1c3 | [] | no_license | pangkj/dplyr | 529f0ef4be5e540581635567093055766f9ed560 | 13a21be5c12f3cf59c3c3e62cb6471f2e0c84be5 | refs/heads/master | 2021-01-21T06:11:50.332726 | 2014-12-09T21:55:57 | 2014-12-09T21:55:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,232 | h | #ifndef dplyr_Result_Rank_H
#define dplyr_Result_Rank_H
namespace dplyr {
namespace internal {
struct min_rank_increment{
typedef IntegerVector OutputVector ;
typedef int scalar_type ;
template <typename Container>
inline int post_increment... | [
"romain@r-enthusiasts.com"
] | romain@r-enthusiasts.com |
3680fe8e2374be3c15e9022f3f986598ce5029cf | 30483b681968f8fba0fcd1cd028aa18102757e34 | /amerike--proyectoparcial--gameengine/src/rectangle.cc | e60935dbef756a6c00ff2fe9960e7305126ce6f6 | [] | no_license | JesusRuiz02/Recopilacion2dosemestreProgra | 21138f0d4aaed83c1b02ffc7733765fceef80838 | eba2149225f1d82666785c80a2d32fc92338dc61 | refs/heads/main | 2023-07-27T11:02:42.375476 | 2021-09-08T16:09:00 | 2021-09-08T16:09:00 | 404,412,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | cc | #include "rectangle.hh"
rectangle::rectangle(int width, int height, int x, int y, sf::Color color)
{
rectangleshape= new sf::RectangleShape(sf::Vector2f(width, height));
rectangleshape->setPosition(sf::Vector2f(x,y));
rectangleshape->setFillColor(color);
}
rectangle::~rectangle()
{
}
sf::RectangleShape* ... | [
"zap295@amerike.edu.mx"
] | zap295@amerike.edu.mx |
e4bd16d05e184326c6504dbc4dc6849c1cb1650c | 89966523ae85f02e2bcc0b33d0c2f63f736b3377 | /Calm_down.cpp | 657c38fc79fb22145d2ff7c6094cc1d73ecc9ff0 | [] | no_license | dibyatanoy/Competitive_Programming | fb19382719ed60156f1501ffe485d8fb5b637f86 | a2818f96bcdfc2da577415b2dc02f29acd0c5b2b | refs/heads/master | 2021-01-15T15:31:02.471777 | 2016-07-20T02:46:12 | 2016-07-20T02:46:12 | 44,463,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | #include <stdio.h>
#include <math.h>
int main(){
int testcase,i,n;
double R,angle,r;
scanf("%d",&testcase);
for(i=1;i<=testcase;i++){
scanf("%lf %d",&R,&n);
angle=(double)2*acos(0.0)/n;
r=R*sin(angle)/(1+sin(angle));
printf("Case %d: %.8lf\n",i,r);
}
return 0;
}
/** AC!!! *... | [
"noreply@github.com"
] | noreply@github.com |
42f79bfeed421663ccd6f779324e5dadb14b01ac | 27aa43201968c4498c6ac68b943c6dc90cc91139 | /ui/viewmodel/send_swap_view.h | 93303a67f2197d3e4626c0576fd0f0248d4c85b0 | [
"Apache-2.0"
] | permissive | hadescoincom/pc-wallet | ee2d1509208d1df4bd65dc98924b4f087f160d7f | 4a7d74fc516d4c6deb500c22ee913a3f4e93a21f | refs/heads/master | 2022-12-07T17:37:34.980256 | 2020-09-02T01:33:15 | 2020-09-02T01:33:15 | 289,864,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,565 | h | // Copyright 2018 The Hds Team
//
// 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 ... | [
"hadescoincom@gmail.com"
] | hadescoincom@gmail.com |
e86da06d76e68c3979b61866afeea202ca888a4a | bd58ce297dda9acd2bfa5dc2311f6598268c7caa | /Homework/Level 5/Section 5/Exercise 1/Exercise5.5.1/Exercise5.5.1/Exercise5.5.1.cpp | 83f1d8e1675822b496ce372b08d25e1dc0009927 | [] | no_license | songgaoxian/Advanced_C | b17c91fa6416306f48199926483474da0df92099 | 92b7d78a50e614c8f5bd121be7cef3476b345f9f | refs/heads/master | 2020-05-27T23:41:28.967920 | 2017-02-20T18:22:41 | 2017-02-20T18:22:41 | 82,583,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 703 | cpp | //Exercise5.5.1
//
//test Account classes under proxy pattern
//written on 2016/6/30
#include"Account.hpp"
#include"Exception.hpp"
int main() {
//j)test Account and ProtectedAccount
double bal = 1000;
std::string psw = "19910514";
Account* acct = new ProtectedAccount(bal, psw);
try {
//withdraw 5... | [
"songgaoxian@gmail.com"
] | songgaoxian@gmail.com |
e914ec097f36d4a38e10c898dc3f041b67407ce8 | 7b5fffe737e7f76ddc6d00d173713ecdc7c20b94 | /build-Parcial_final-Desktop_Qt_5_14_1_MinGW_64_bit-Debug/ui_mainwindow.h | 4f5658142b0d293ed221c41c9f052718cd26a7b9 | [] | no_license | EasierMonk95/Parcial-Final | d423fd8d9226f7e80e41e5002f78a6cbd82bbb95 | 49083279353e5247730dad6c3f941b90905cb308 | refs/heads/master | 2022-11-22T11:40:32.287989 | 2020-07-30T15:05:14 | 2020-07-30T15:05:14 | 283,778,221 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,868 | h | /********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created by: Qt User Interface Compiler version 5.14.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*********************************... | [
"noreply@github.com"
] | noreply@github.com |
97d8e4b94d3f13d22ec2548f62b209368fd1698e | 99d9bbf8c743bd268346ebcb4d53f0bcc3198841 | /include/glmx/spatial.h | fc71f7b7e62f8470850b1649c5459290732e7d75 | [] | no_license | lasagnaphil/glmx | 431793692bd2bff200ac47b1957f9b83bd6dbe0d | 41bfd542b379574171aa971ed15098bbb8e1b8ed | refs/heads/master | 2022-11-30T05:59:21.308185 | 2020-08-10T11:24:45 | 2020-08-10T11:24:45 | 266,829,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,111 | h | //
// Created by lasagnaphil on 20. 4. 29..
//
#ifndef ARTSIM_MATH_H
#define ARTSIM_MATH_H
#include <glm/vec3.hpp>
#include <glm/gtx/quaternion.hpp>
#include <glm/gtx/transform.hpp>
#include <tuple>
#include "glmx/transform.h"
#include "glmx/common.h"
namespace glmx {
struct screw {
glm::vec3 w;
... | [
"phil@mrl.snu.ac.kr"
] | phil@mrl.snu.ac.kr |
5be7978d003b6aed6c989f835940e618c1e995e2 | b0c779ee8e5248debbd4da0fc67c9e79a32d3eb2 | /gcd/gcd.cpp | a2762bbe39213e2d7fe07aad4066eaaf8957a38e | [] | no_license | Dou-Feng/leetcode_practice | 1abf82489fea513741f6897270371c7aa6888c54 | c555b9a4ece830412c904b9a82b1ca64cb4d2e09 | refs/heads/main | 2023-04-10T14:42:18.826379 | 2021-06-02T08:30:31 | 2021-06-02T08:30:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235 | cpp | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
#define ll long long
int gcd(ll a, ll b) {
while(b^=a^=b^=a%=b);
return a;
}
int main() {
ll a, b;
cin >> a >> b;
cout << gcd(a, b) << endl;
return 0;
}
| [
"821878167@qq.com"
] | 821878167@qq.com |
e37d50af03a02dd7ecdeabbf5ef72f2656057578 | df145c9282b030dd82aa3352b61a7a019bf2646b | /Robot/main.cpp | a84e285625a2f1e67d4dd2b73804ebce0bd3dab2 | [] | no_license | Li-AnLin/ComputerGraphics-Project3 | 97397cf468de28f012761aec82e405d009ded15c | bbee0798127d009d85233c84b59e392fbfda8c34 | refs/heads/master | 2021-05-13T17:58:55.925827 | 2018-01-16T12:10:38 | 2018-01-16T12:10:38 | 116,843,324 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 22,969 | cpp | #include "main.h"
vec3 camera = vec3(0,0,20);
GLint MatricesIdx;
GLuint ModelID;
GLuint M_KaID;
GLuint M_KdID;
GLuint M_KsID;
GLuint u_view;
GLuint u_projection;
GLuint u_shadow_matrix;
GLuint u_lightPosition;
GLuint displayMode;
int actionTime = 0;
int frameTime = 0;
void motion(int x, int y) {
mx = x;
my = y;
}... | [
"jenny84311@gmail.com"
] | jenny84311@gmail.com |
c5c32a9f9d5deb13a65ebb0c0c38a1a867e0f3ae | 1a052dbd6c5ff2eea1a98485bf78a50861d67b19 | /build-TestCustomplot-Desktop_Qt_5_9_9_MinGW_32bit-Debug/debug/moc_tabledialog.cpp | ff650cc75d1d0b9ed713667993273287e6599136 | [] | no_license | HardToKnew/QT | 0bacbec758c61629c3c66ea0c86d1f8641d6775d | 6689f687706d6ae700864df67287aba04ed58967 | refs/heads/main | 2023-08-15T09:20:43.456601 | 2021-09-14T06:29:08 | 2021-09-14T06:29:08 | 295,986,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,642 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'tabledialog.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.9)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... | [
"fengshaojun98@163.com"
] | fengshaojun98@163.com |
c2226533aed257935303aa412d22f47aafe7925a | c906954a9002b7b01d8c02d5159cb37453d5163d | /Project/Classes/Stage1.h | ed28fdf8dedd6e6e953297b76062f29bbb88b31d | [] | no_license | LTZDLY/2020SpringProject | 49d590991112c6204de23659da429fcd049b0d84 | 93d0b88d221212daa41dffe211d5bb635b16256f | refs/heads/master | 2023-04-10T15:41:19.725111 | 2021-04-21T14:37:12 | 2021-04-21T14:37:12 | 263,945,084 | 4 | 1 | null | 2020-07-16T01:39:59 | 2020-05-14T14:57:01 | null | UTF-8 | C++ | false | false | 3,010 | h | /****************************************************************************
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to dea... | [
"349468958@qq.com"
] | 349468958@qq.com |
1a81973e72b2bdcee307bb1dcf0f80725ee82af3 | cd1431d37f21ea5597c3daf481ac1789e5093237 | /src/system/gen/php/classes/pear_error.cpp | 481d15cb72416f4ef1b7b2ec95307241e956e0ca | [
"Zend-2.0",
"PHP-3.01"
] | permissive | scottmac/hiphop-dev | 0ccf816acdb6cd94140749d61d03a1c583d082f1 | 43abc81c1d2b327d296de990c5585d520c3b6d4c | refs/heads/master | 2021-01-20T04:32:16.581476 | 2010-05-15T18:42:40 | 2010-05-15T18:42:46 | 668,480 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 18,943 | cpp | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010 Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"macvicar@macvicar-hphp.(none)"
] | macvicar@macvicar-hphp.(none) |
32d171ccc4b5ffaad7ec1d9eb6be2847545d82b6 | 476c3e39a1728304a15872c8c299e640be821ec9 | /CCCC/Contest/007.cpp | 1753ec905f5b97b740f255374ed56648b21ea888 | [] | no_license | yuanlinping/ACM-Training | a5399ea1b2e9f0c2f1a40d12cde0e078be6a744f | 28c84e67a5bded9f3efbc437fd9127f1baf1523e | refs/heads/master | 2021-09-11T20:37:19.931533 | 2018-04-12T02:44:05 | 2018-04-12T02:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | //#include <bits/stdc++.h>
#include <cstdio>
#include <iostream>
#include <cstring>
using namespace std;
const int maxn=1005;
char str[maxn];
int main(){
freopen("002.txt","r",stdin);
int n;
cin>>n;
string str;
getline(cin,str);
int len=str.length();
int col=ceil(len/n);
for(int j=0;j<n;j++){
... | [
"noreply@github.com"
] | noreply@github.com |
c7f39dbc3e38f37521050594e270931c8486e30d | 67ed24f7e68014e3dbe8970ca759301f670dc885 | /win10.19042/SysWOW64/KBDFI.DLL.cpp | 4c0778987a7f5a15594b4c92a6a60e57ec03a5a7 | [] | no_license | nil-ref/dll-exports | d010bd77a00048e52875d2a739ea6a0576c82839 | 42ccc11589b2eb91b1aa82261455df8ee88fa40c | refs/heads/main | 2023-04-20T21:28:05.295797 | 2021-05-07T14:06:23 | 2021-05-07T14:06:23 | 401,055,938 | 1 | 0 | null | 2021-08-29T14:00:50 | 2021-08-29T14:00:49 | null | UTF-8 | C++ | false | false | 107 | cpp | #pragma comment(linker, "/export:KbdLayerDescriptor=\"C:\\Windows\\SysWOW64\\KBDFI.KbdLayerDescriptor\"")
| [
"magnus@stubman.eu"
] | magnus@stubman.eu |
3a161363211ade031b4489d2b7b0eb53a7060f22 | becf54dd8789aa93514a53e4817a064897d4e820 | /devel/.private/bebop_msgs/include/bebop_msgs/CommonChargerStateMaxChargeRateChanged.h | a34d54adb827e738a830d75289640e2731946b6e | [] | no_license | MasashiAso/bebop | 14c269a0892f320fc3b563e25dfdd358bcb6a641 | 1822d1cbc6664c75f6c5acdb5fecc335fb48e9a4 | refs/heads/master | 2020-03-14T21:33:40.263369 | 2017-02-14T13:59:03 | 2017-02-14T13:59:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,765 | h | // Generated by gencpp from file bebop_msgs/CommonChargerStateMaxChargeRateChanged.msg
// DO NOT EDIT!
#ifndef BEBOP_MSGS_MESSAGE_COMMONCHARGERSTATEMAXCHARGERATECHANGED_H
#define BEBOP_MSGS_MESSAGE_COMMONCHARGERSTATEMAXCHARGERATECHANGED_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#i... | [
"searchmyiphone@icloud.com"
] | searchmyiphone@icloud.com |
e918b444b153f54e664d4c7182f277319fc80a60 | fa410ebeff97d8752d3e8817632302ede4267c65 | /LifeBrush/Source/LifeBrush/EditorModuleInlined/TCODSEditorMode.cpp | 0e6998b50c8994c1082dab9d99ad0b4e3537af6d | [
"MIT"
] | permissive | corredD/LifeBrush | 366bc6e9c1402304bfb4add5a81bef3ad1306e47 | 3e4d68823575db3a74be9463fb701fffc58adf63 | refs/heads/master | 2020-05-16T22:02:33.760331 | 2019-04-24T02:20:40 | 2019-04-24T02:20:40 | 183,324,280 | 2 | 0 | null | 2019-04-25T00:10:55 | 2019-04-25T00:10:55 | null | UTF-8 | C++ | false | false | 36,077 | cpp | //
// TCODSEditorMode.cpp
// RegionGrowing
//
// Created by Timothy Davison on 2015-08-22.
// Copyright (c) 2015 Timothy Davison. All rights reserved.
//
#include "LifeBrush.h"
#include "RuntimeMeshComponent.h"
#if WITH_EDITOR
#include "TCODSEditorMode.h"
#include <limits>
#include "StaticMeshResources.h"
#incl... | [
"timtimmy@gmail.com"
] | timtimmy@gmail.com |
cb9fb749769323ada56639b4e114671d123d08ef | ff126266b4be786c6ab1c22973915e55a88ae8dc | /src/hello_subscriber.cpp | e6ad772066bd77bcb4fca0fa5f3a17bf1472c20d | [] | no_license | josephchen5/ros_vslambook | f05d9a916cca62eef7e9f70b6a4eb0412b47cdd0 | 02fdcd01ca72e8703cdff15aea6a4610f2745618 | refs/heads/master | 2020-05-24T06:36:12.916718 | 2019-06-06T09:42:14 | 2019-06-06T09:42:14 | 186,792,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cpp | #include "ros/ros.h"
#include "std_msgs/String.h"
void chatterCallback(const std_msgs::String::ConstPtr& msg)
{
ROS_INFO("I heard: [%s]", msg->data.c_str());
}
int main(int argc, char **argv)
{
ros::init(argc, argv, "hello_subscriber");
ros::NodeHandle nh;
ros::Subscriber sub = nh.subscribe("chatter", 1000, ... | [
"joseph.chen4210@gmail.com"
] | joseph.chen4210@gmail.com |
715287d245f7ec8e545a1d9cef381ae3d366685b | 78cfe222277435f2d03e8810b992da004c2b4034 | /BABA/Cc/random.cpp | d8c2db00dd40b649eb341123893d2827815b66f0 | [] | no_license | jiffybaba/Baba | 530746ee81e76c46aa0ddf5b13414d58651bd01b | 83b677a7eddaa6bf5a6b39bf76fb225ea36596b9 | refs/heads/master | 2020-03-27T16:07:14.757980 | 2018-08-30T14:28:52 | 2018-08-30T14:28:52 | 146,760,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,446 | cpp | //***************************************************************
// Source Code
//****************************************************************
#include<iostream>
#include "conio.h"
#include<stdlib.h>
#include<stdio.h>
#include<time.h>
using namespace std;
void draw_line(int n,char ch);
void board();
void gamesco... | [
"noreply@github.com"
] | noreply@github.com |
9ae42c252a4a9485570e8ed8708aa17f9b871d82 | b2b83f1c59d6bdf0673588a3f1d310e849ab9161 | /Arrays/two numbers sum.cpp | db14e53103997d43c7160931e13f4ff0f6a5157a | [
"MIT"
] | permissive | dalalsunil1986/Common-coding-puzzles | ac735841697715b406973dcd38d3dc7b280e7713 | c9a73c0ff2abc7e0acdb53e545bb219eeeb23421 | refs/heads/master | 2023-07-03T07:25:55.091004 | 2021-08-15T11:11:16 | 2021-08-15T11:11:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp | #include <vector>
#include <algorithm>
using namespace std;
vector<int> twoNumberSum(vector<int> array, int res) {
for ( auto it = array.begin(); it != array.end(); it++ )
if ( find(it+1, array.end(), res - *it) != array.end() ) { return {*it, res - *it}; }
return {};
}
| [
"mericLuc@hotmail.fr"
] | mericLuc@hotmail.fr |
8eb4cc872412d5fcca61530875b46b9a45e86ae8 | 557f85525e4a48e6d098a1a434463a79377054ec | /Contests/Codeforces/1076/C.cpp | e3d133a4136606093a568e88475921e47f2eeabd | [] | no_license | sragha45/Programs | dd2d9d29a6480364502e410bb46c57d8c3d4d25c | b18e20bc48f7bcf1417ddba474150076ad610a94 | refs/heads/master | 2020-03-30T08:20:27.750369 | 2018-12-11T07:06:22 | 2018-12-11T07:06:22 | 151,007,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | cpp | #include <bits/stdc++.h>
using namespace std;
double solve() {
double d;
cin >> d;
double a = 1, b = d;
if(d == 0) {
cout << "N\n";
return 0;
}
while(abs((a + b) - (a * b)) > 1e-6) {
cout << a << ' ' << b << endl;
if(a + b > d or a * b > d) {
double ... | [
"sragha45@gmail.com"
] | sragha45@gmail.com |
e36cd5964b7b7f7a550830d254827262975b401d | e96798c19dfb0eeb41ec2f9e8c21b34266e9238e | /src/Playback.cpp | 8b3153df20c7695f8f122ab2b3e4b30fa55b9c58 | [] | no_license | nama-gatsuo/ofxAzureKinectUtil | 0e0d55741f7f8b10a7f8f43862513e605942da12 | 7c2c618aee3766ddb14614dd5cb0c0a99e581712 | refs/heads/master | 2023-04-06T10:12:54.160585 | 2023-03-18T11:59:48 | 2023-03-18T11:59:48 | 238,166,876 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,113 | cpp | #include "Playback.h"
namespace ofxAzureKinectUtil {
Playback::Settings::Settings()
: fileName("")
, updateDepth(true)
, updateColor(true)
, updateIr(false)
, updateBodies(false)
, updatePointCloud(true)
, updatePolygonMesh(false) {
}
Playback::Playback() : bLoop(true), bEnd(false) {}
Playback::~Pl... | [
"ayumu.nagamatsu@gmail.com"
] | ayumu.nagamatsu@gmail.com |
8727b797775221488b9a02e180c3477f221a11ee | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1595491_0/C++/ineaugh/dancing.cpp | cf97bad10445205815731bd153735c9b4b7e7a7f | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 919 | cpp | #include <iostream>
#include <vector>
#include <map>
#include <string>
#include <set>
#include <bitset>
#include <algorithm>
#include <sstream>
using namespace std;
void SolveCase()
{
int N, S, p;
cin >> N >> S >> p;
vector<int> sums(N);
for(int i = 0; i < N; ++i)
cin >> sums[i];
int simple... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
02728fef8b64856f331e56be0639237a09b22790 | 26ff2d720c8477609045ec97b374a4b127cbbf18 | /Sources/Math/Matrix.h | 0ef2b12a2dbd234f42e591e5daee6881c90a7662 | [] | no_license | TheProjecter/the-is-t-he-h-ome-e-ditor | 8c43261d0a9168ce96f535d70ba1883ac854c7b8 | fd8b2dd286042169387c1cbebc312dd7cd73fa2c | refs/heads/master | 2021-01-10T15:10:14.971139 | 2014-01-17T13:24:49 | 2014-01-17T13:24:49 | 45,960,577 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,508 | h | /*
* Matrix.h
* the
*
* Created by Alexander Zvyagin on 23.12.10.
* Copyright 2010 The(c)ompany. All rights reserved.
*
*/
#ifndef __THE_MATRIX_H__
#include <strings.h>
typedef bool MAKE_ZERO_MATRIX;
template< class T, int D = 4 >class Matrix_t
{
Vector_t< T,D >C0; // column0 (in order of OpenGL load... | [
"alexander.t.zvyagin@gmail.com"
] | alexander.t.zvyagin@gmail.com |
043bddedb4d1a31bc2626be9a20f4f667692e21c | 2c4e03bd7acf8728fb48f04d0920b503fbaccecc | /include/pomdp/policies/pomdp_fsc.h | 04e2ccc9111b88729d576d023112dcdf2f864a9d | [
"MIT"
] | permissive | kucars/nova | 6f5979c0f3cf70408778af9f1874af964fe2d22a | 8402e644f0b6581af6026a22f305965ad60e6e9b | refs/heads/master | 2021-06-02T06:32:23.639668 | 2016-03-08T06:27:44 | 2016-03-08T06:27:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,193 | h | /**
* The MIT License (MIT)
*
* Copyright (c) 2015 Kyle Hollins Wray, University of Massachusetts
*
* 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 ... | [
"kyle.hollins.wray@gmail.com"
] | kyle.hollins.wray@gmail.com |
812eed0ce36427dcfd5dcc0f52e0c5d24703b9ad | 7c968252b3ff94e2a4f521d33351e040b9b3dc6a | /type/trade.pb.cc | 7a6874686252a4354180fc4f8aa91116a33e702e | [] | no_license | sansigma/ssigmaapicpp | 81230fef3eb9b57f4066e35b4db2646e9a683ca0 | d172daecc75e63444a8aff9054761408b10ccae2 | refs/heads/master | 2020-04-24T18:35:00.667535 | 2019-04-17T14:14:26 | 2019-04-17T14:14:26 | 172,184,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 47,311 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ssigmaapi/type/trade.proto
#include "ssigmaapi/type/trade.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_... | [
"doumintyu1017@gmail.com"
] | doumintyu1017@gmail.com |
08a9c1f49d44ed492598e14b1a9f932532ac3c8d | d571fec0b826e2ff59fe5034ef7045ceeac12df1 | /src/op/control.cpp | 2706d5d6e9bffbfdb3258b5c7aa6c0383b5ae53e | [] | no_license | Lignum/Nesulator | 59c7cd4a65dd5773030fb512b513ae27fccd0865 | 37f367ed4588ba95dadddeb983e022de91adcfb1 | refs/heads/master | 2020-03-12T01:31:38.845524 | 2018-04-22T19:58:10 | 2018-04-22T19:58:10 | 112,086,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,852 | cpp | #include "control.h"
#include "../cpu.h"
#include "../utils.h"
static void jump(CPU *cpu, Address address) {
cpu->jump(address);
}
unsigned int Op::jmp(CPU *cpu, Op::Operands &operands, const Op::Opcode *opcode) {
// TODO: Implement weird 6502 behaviour at page boundaries with AddressingMode::INDIRECT.
j... | [
"me@lignum.pw"
] | me@lignum.pw |
d0ae207166a794d33f302cb6a85b422b92c4f4cf | ce5e253b71be0bb49d239114b0c02b94f715dfe8 | /code/stack/common/src/SoStackFacade.cpp | 2a085f6edbbaa3f382cf45daea694044f91d3daf | [] | no_license | PrabhuSammandam/JaSmartObject | fcc2516a685fc985cc35e49b8c8661536197727c | c9e6df7ed9ef9c0c6ff5c8e4c7ded9e86cc0fe0d | refs/heads/master | 2021-01-22T01:47:53.503329 | 2018-12-21T14:37:17 | 2018-12-21T14:37:17 | 102,236,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,373 | cpp | /*
* SoStackFacade.cpp
*
* Created on: Oct 30, 2018
* Author: psammand
*/
#include "SoStackFacade.h"
#include "IMemAllocator.h"
#include "OsalMgr.h"
#include "i_nwk_platform_factory.h"
#include "config_mgr.h"
#include "adapter_mgr.h"
#include "MsgStack.h"
#include "config_mgr.h"
#include "ResourceMgr.h"
#d... | [
"prabhusammandam@gmail.com"
] | prabhusammandam@gmail.com |
d7ba9e9fc4a94620ddd296d7daccc82ac28c83ad | 02853086fbe2587c21c4868346866d7ab8a4dc84 | /toprs/src/event/toprsEvent.cpp | 4f3719932cdc2295acefa7773574ee27f1499e98 | [] | no_license | zhouhbsea/toprs | 9e74f276889ce37dfb9d9a44393cd4bf0630eda9 | 4f51c21f040ea6dd8a8a2b38add91827b82e3877 | refs/heads/master | 2021-01-01T05:40:46.988681 | 2012-11-18T13:59:05 | 2012-11-18T13:59:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | cpp | #include "event\toprsEvent.h"
toprsEvent::toprsEvent(int id)
:theId(id),
theIsConsumedFlag(false)
{
}
toprsEvent::toprsEvent(const toprsEvent& rhs)
:theId(rhs.theId),
theIsConsumedFlag(rhs.theIsConsumedFlag)
{
}
long toprsEvent::getId() const
{
return theId;
}
void toprsEvent::setId(long id)
{
theId = i... | [
"zhouhuabing@gmail.com"
] | zhouhuabing@gmail.com |
91685c0e8166946a7b859f0f7440b7ab969ee7b1 | 4974a3b5bf52e499c4fd4d98bf7fff3cb02087aa | /LeetCode/Easy/0342.cpp | d1c3300913d1a55b656eacffdccacad6357ab7af | [
"MIT"
] | permissive | Kagurazaka-Chiaki/Homework | d47d66a510d88a01e0447221828198fe94549a2d | 2cde5dd21686d16aa4dca47dc64698814234ab7a | refs/heads/master | 2023-07-20T08:51:04.999320 | 2023-07-10T12:47:49 | 2023-07-10T12:47:49 | 230,122,533 | 2 | 0 | MIT | 2020-12-04T09:33:35 | 2019-12-25T15:45:01 | C | UTF-8 | C++ | false | false | 220 | cpp | /**
* @brief 342. 4的幂
*
* https://leetcode-cn.com/problems/power-of-four/
*
**/
class Solution {
public:
bool isPowerOfFour(int n) {
return (n > 0) && ((n & (n - 1)) == 0) && (n % 3 == 1);
}
}; | [
"cmy20000101@163.com"
] | cmy20000101@163.com |
cb1494bcfd376933bafa0d508c3e69322136e311 | 804ca3671226074e673acd9dce0cc66e22d4997e | /pitch_compare.cpp | b14660a4ad69010556710f81bf43a74f21244519 | [] | no_license | DaniMunozPuerta/Pitch-Detection | 5e32a1c095e2ca25eca4968cfbb9541a9c8ff71b | 606b897829d061b504dffa0ae055b404f58e54ed | refs/heads/master | 2021-01-22T23:05:54.088671 | 2017-03-20T17:10:02 | 2017-03-20T17:10:02 | 85,604,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,039 | cpp | #include <iostream>
#include <fstream>
#include <iomanip>
#include <vector>
#include <math.h>
using namespace std;
const float gross_threshold = 0.2F;
int read_gui(const string &filename, vector<string> &gui) {
gui.clear();
ifstream is(filename.c_str());
if (!is.good())
return -1;
string s;
while (is... | [
"danielmunozpuerta@MacBook-Pro-de-Daniel-2.local"
] | danielmunozpuerta@MacBook-Pro-de-Daniel-2.local |
30b99513e34cab4d4f1f9e48d5a6e203cbb6b0d5 | 61029656849400e193903da36aab0bc332b784d3 | /OptionDlg.cpp | d0dd4a690f1b176d9fd5e2d03773902b18f65dbc | [] | no_license | erisonliang/2014_Kriging | 3dbc6cdfe9e63ad74e2d3e7c60de4e6626de7f7f | 3f0872dedc4d32b9843b29f88a3bcb64ff5c15ba | refs/heads/master | 2020-11-27T11:42:38.105693 | 2018-12-04T08:04:02 | 2018-12-04T08:04:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,011 | cpp | // OptionDlg.cpp : implementation file
//
#include "stdafx.h"
#include "WaferPainter.h"
#include "OptionDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// COptionDlg dialog
COptionDl... | [
"devgis@163.com"
] | devgis@163.com |
9384a56c963ab9b2e1eae83d057a11974714fe46 | 74f1c4c3b2d617a842913bb030a4fe5b0aef50af | /Util.cpp | fa2185301fe34c2d467caeaa08f1a96b0bce2c08 | [
"Apache-2.0"
] | permissive | vibhatha/PSGDSVMC | c7b0453f997a7fc473c49ad6ad8d9583b788763e | 21700f6d818ba2a12659ceaa4ec9f2d0570493f8 | refs/heads/master | 2020-04-04T21:57:04.376942 | 2019-07-24T21:55:43 | 2019-07-24T21:55:43 | 156,304,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,815 | cpp | //
// Created by vibhatha on 11/5/18.
//
#include <iostream>
#include <fstream>
#include "Util.h"
using namespace std;
Util::Util() {
}
void Util::print2DMatrix(double** x, int row, int column) {
for (int i = 0; i < row; ++i) {
cout << i << " : ";
for (int j = 0; j < column; ++j) {
... | [
"vibhatha@gmail.com"
] | vibhatha@gmail.com |
377fe5923f7cc6b76e891dbb782cf05fb1791076 | 03c7a39a2cd200ec931191ca979acb7600116520 | /src/test/script_standard_tests.cpp | d98765e3214944995c6bb0ac121bb959e0c755bc | [
"MIT"
] | permissive | paycheckcash/paycheckcash | 83c5d325b0b7d32b0358dc62d17d3027cb9ad3f8 | 383a1e1c42264f9c1e298867c5fbe5e795206e00 | refs/heads/master | 2020-04-23T00:53:36.697373 | 2020-04-15T22:23:57 | 2020-04-15T22:23:57 | 170,795,515 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,857 | cpp | // Copyright (c) 2017-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.
#include <key.h>
#include <keystore.h>
#include <script/ismine.h>
#include <script/script.h>
#include <script/script_error.h>... | [
"noreply@github.com"
] | noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.