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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a35dd990f341ce5b726dd7faf711bab43c587fbd | 7dbb249f0ee4d17fd39fb3f7e7b6ed9b11bb0ac0 | /assignment 6/11th.cpp | a898c635bb5a077fe05c17a596e85e9f1e532c5b | [] | no_license | rjsuraj/C- | 639796d7550aeb14db22f19dd852bef817fc1164 | 6ec17e6f9d464b422cb96a584e367758af6806ac | refs/heads/main | 2023-07-21T10:31:26.719077 | 2021-09-04T07:09:05 | 2021-09-04T07:09:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | cpp | #include<iostream>
#include<conio.h>
using namespace std;
int sumOdd(int);
int sumOdd(int n){
if (n==1)
return 1;
return sumOdd(n-1)+(n*2-1);
}
int main(){
int n;
cin>>n;
cout<<sumOdd(n);
getch();
return 0;
} | [
"noreply@github.com"
] | noreply@github.com |
829d80498942cc342f8b035dc5eb3d3c6841579b | a54ac66295479fe1e76ab2c9a04e17d611707598 | /loginwindow.cpp | b1ffef0845c3b623e7c2290b94616d1d17380879 | [] | no_license | Faridik/Kursbd | 4b19284d8220c397e7754b832ae89dbd0829db98 | ac00b760eea71c59a592c84bc9499025ebf1a676 | refs/heads/master | 2020-04-09T00:09:29.753855 | 2018-12-03T13:21:12 | 2018-12-03T13:21:12 | 159,855,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | cpp | #include "loginwindow.h"
#include "ui_loginwindow.h"
loginWindow::loginWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::loginWindow)
{
ui->setupUi(this);
connect(ui->backButton,SIGNAL(pressed()),this,SLOT(backToMain()));
}
void loginWindow::backToMain()
{
emit back();
}
loginWindow::~log... | [
"noreply@github.com"
] | noreply@github.com |
724ab1e1ae853cdd8193a00ebc2777bca337e62b | 9cf93b1882fa33f77340347c387da98bb19223e9 | /AmethystEngine/cError.cpp | 2a4b69be5b9547bfca5810cf02b212b7e00db2b9 | [] | no_license | KirkbyD/edu-Gfx2-Starfield | b8ddec2beec9b3a906e865c3fd6435b4234cf3c3 | 72bd698328dddb6194ec7b004742397981b15b8c | refs/heads/main | 2023-04-03T10:45:34.418408 | 2021-04-15T04:06:58 | 2021-04-15T04:06:58 | 358,122,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,013 | cpp | #define _CRTDBG_MAP_ALLOC
#include <cstdlib>
#include <crtdbg.h>
#include <memory>
#ifdef _DEBUG
#define DEBUG_NEW new (_NORMAL_BLOCK , __FILE__ , __LINE__)
#else
#define DBG_NEW
#endif
#include "cError.hpp"
#include "cErrorImp.hpp"
cError::cError() {
this->pErrorImp = new cErrorImp();
}
cError::~cError() {
delet... | [
"kirkby.dylan@gmail.com"
] | kirkby.dylan@gmail.com |
e7668a65072f3132c8031684a9fc2e481efaac2c | 88ae8695987ada722184307301e221e1ba3cc2fa | /v8/src/codegen/code-reference.h | c44ec54252e8248fb969375091bd96ee5a08dd7d | [
"BSD-3-Clause",
"SunPro",
"Apache-2.0"
] | 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 | 1,953 | h | // Copyright 2018 the V8 project 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 V8_CODEGEN_CODE_REFERENCE_H_
#define V8_CODEGEN_CODE_REFERENCE_H_
#include "src/base/platform/platform.h"
#include "src/handles/handles.h"
#inc... | [
"jengelh@inai.de"
] | jengelh@inai.de |
cdb388559b96b5862d6d5512ac48277762c89c3a | a7099d3c3fb6eb8e4b9ef927c857609d4fd49518 | /HORRIBLE.cpp | 3a569c93ef4b3ccd6e396d4350a67345260b8cf5 | [] | no_license | singhsd/SPOJ-Codes | 30ae79ffd7f46f3d9dd0d0a67b190e3256f0e390 | e646acd5099ef62d94a5263c6f3898f559049aa9 | refs/heads/master | 2020-03-29T11:49:33.365567 | 2018-09-22T12:04:47 | 2018-09-22T12:04:47 | 149,872,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,485 | cpp | #include<bits/stdc++.h>
using namespace std;
int a[100002];
long long int tree[400004],lazy[400004];
void propogate(int ss, int se, int i)
{
tree[i]+=(long long int)(se-ss+1)*lazy[i];
if(ss!=se)
{
lazy[2*i+1]+=lazy[i];
lazy[2*i+2]+=lazy[i];
}
lazy[i]=0;
}
void update(int ss, int se,... | [
"sahil.khalsaboy@gmail.com"
] | sahil.khalsaboy@gmail.com |
dd0c927f8144172d56b4d0642b4b504c6237fe06 | d17a8870ff8ac77b82d0d37e20c85b23aa29ca74 | /lite/core/optimizer/mir/fusion/matmul_elementwise_add_fuser.cc | ee8f8ceec46c22bb23414b4df378735c8810a71b | [
"Apache-2.0"
] | permissive | PaddlePaddle/Paddle-Lite | 4ab49144073451d38da6f085a8c56822caecd5b2 | e241420f813bd91f5164f0d9ee0bc44166c0a172 | refs/heads/develop | 2023-09-02T05:28:14.017104 | 2023-09-01T10:32:39 | 2023-09-01T10:32:39 | 104,208,128 | 2,545 | 1,041 | Apache-2.0 | 2023-09-12T06:46:10 | 2017-09-20T11:41:42 | C++ | UTF-8 | C++ | false | false | 6,070 | cc | // Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | [
"noreply@github.com"
] | noreply@github.com |
c6c457862ea039de118ca54fc7409cc2ac332bfd | 32f541dd6dcb2121f21b13071678a799eb293f10 | /libraries/uvm/src/uvm/llex.cpp | cc53fd80a40d90136d3c85d16ac642a2ffb069d7 | [
"MIT"
] | permissive | Whitecoin-XWC/Whitecoin-core | b62de0b712ab8557ecd16dc1d0e4389c439eb3db | 8f15e0764fe60ff8d77228a2aca6bdff723439bd | refs/heads/develop | 2022-12-10T18:12:23.027195 | 2022-11-23T03:53:04 | 2022-11-23T03:53:04 | 397,646,406 | 0 | 3 | MIT | 2022-11-28T01:20:26 | 2021-08-18T15:17:39 | C++ | UTF-8 | C++ | false | false | 18,490 | cpp | /*
** $Id: llex.c,v 2.95 2015/11/19 19:16:22 roberto Exp $
** Lexical Analyzer
** See Copyright Notice in lua.h
*/
#define llex_cpp
#define LUA_CORE
#include "uvm/lprefix.h"
#include <locale.h>
#include <string.h>
#include "uvm/lua.h"
#include "uvm/lctype.h"
#include "uvm/ldebug.h"
#include "uvm/ldo.h"
#include "... | [
"WhitecoinFounder@gmail.com"
] | WhitecoinFounder@gmail.com |
e4209878979f3ec0b7c26eba56c8ca164ef6b6bf | ea8aeed853a94d2a20b9bd2d90ac50658eb47b5a | /Alphi_includes/IrigDecoder.h | e4aa1201b0925df893ed8769bc4bbe8f2db072b8 | [] | no_license | loulansuiye/Mini_PCIe | 9606bd1ee147287222a2f9ae784b0a4c07a57649 | 7b0282eaf4cefc70cf2e16c48116f2b145ec0af2 | refs/heads/main | 2023-04-08T22:56:13.039147 | 2021-03-24T20:43:26 | 2021-03-24T20:43:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,380 | h | #pragma once
//
// Copyright (c) 2020 Alphi Technology Corporation, Inc. All Rights Reserved
//
// You are hereby granted a copyright license to use, modify and
// distribute this SOFTWARE so long as the entire notice is retained
// without alteration in any modified and/or redistributed versions,
// and that... | [
"noreply@github.com"
] | noreply@github.com |
77d214e4071dafa36ed38c66b6d9dc04bd0f3894 | 55a050b3392ed899fa62d968b559f15803bc5490 | /src/dice/concreteFairDice.h | 98c25e2dc0f65066cb14924acab9569d075bd87e | [] | no_license | colinywu/Settlers-of-Catan | d39900d0ac32c0b610824b15186edf9f5c25ce23 | 69bc37e4ce63ccf55c1d2953c3be37e24cb42c05 | refs/heads/main | 2023-04-29T20:06:12.627668 | 2021-05-15T00:30:39 | 2021-05-15T00:30:39 | 367,507,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 273 | h | #ifndef CONCRETEFAIRDICE_H
#define CONCRETEFAIRDICE_H
#include "dice.h"
#include <vector>
#include <random>
#include <algorithm>
class ConcreteFairDice: public Dice {
public:
virtual int rollDice() const override;
ConcreteFairDice(unsigned int seed);
};
#endif
| [
"colin.y.wu@gmail.com"
] | colin.y.wu@gmail.com |
a42d340b3d5901c1eb36b4e4edd69c3b4942a455 | a4a03d391f0c911e5b0aed27fe21e4eb36624609 | /HDU/1042/11984969_TLE_0ms_0kB.cpp | d737974a68a49f152bff8bcb25815066063900a1 | [] | no_license | jiaaaaaaaqi/ACM_Code | 5e689bed9261ba768cfbfa01b39bd8fb0992e560 | 66b222d15544f6477cd04190c0d7397f232ed15e | refs/heads/master | 2020-05-21T21:38:57.727420 | 2019-12-11T14:30:52 | 2019-12-11T14:30:52 | 186,153,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,985 | cpp | #include<stdio.h>
#include<string.h>
#include<ctype.h>
char mul[10000][10000]={0};
char num[1005][10000]={0};
void numswap(char a[],int n)
{
char temp;
for(int i=0; i<=n/2-1; i++)
{
temp=a[i];
a[i]=a[n-1-i];
a[n-1-i]=temp;
}
}
int main()
{
int m,i,j;
int N;
while(scanf("%d",&N)!=EOF)
{
num[0][0]='1';
if... | [
"735301510@qq.com"
] | 735301510@qq.com |
a0f98f7a4c62888aa799dbaa45d7af65778cda40 | 94a62234a20b4ecf8d16ad0675f04a6e2b35f1a6 | /tuw_object_publisher/include/cone_object.h | a8eb3cc9f4298d8613b9731d244ed460045c2c6d | [
"BSD-3-Clause"
] | permissive | tuw-robotics/tuw_door_detection | 1957f34afe5118fb76eb10e53d89b198cb73b770 | ee84e40760d1494d399e63fb5c388a6b8ae4cf93 | refs/heads/master | 2020-03-19T13:33:29.481175 | 2019-04-18T10:25:34 | 2019-04-18T10:25:34 | 136,585,240 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | h | #ifndef CONE_OBJECT_H
#define CONE_OBJECT_H
#include "base_pub_object.h"
#include <eigen3/Eigen/Core>
namespace tuw {
class ConeObject : public BasePubObject
{
public:
ConeObject(std::string &type, std::string &file_path, std::string &publisher_topic);
virtual ~ConeObject();
... | [
"felix0koenig@gmail.com"
] | felix0koenig@gmail.com |
6d82c7e9130c743f6cfd8e842a8e48b56730b2d7 | 8cf763c4c29db100d15f2560953c6e6cbe7a5fd4 | /src/qt/qtbase/src/3rdparty/angle/src/libGLESv2/Query.h | a7ec404f8537e9342705c96614497c8653ceeceb | [
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"GFDL-1.3-only",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-digia-qt-commercial",
"LGPL-3.0-only",
"GPL-3.0-only",
"LicenseRef-scancode-digia-qt-preview",
"LGPL-2.1-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0... | permissive | chihlee/phantomjs | 69d6bbbf1c9199a78e82ae44af072aca19c139c3 | 644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c | refs/heads/master | 2021-01-19T13:49:41.265514 | 2018-06-15T22:48:11 | 2018-06-15T22:48:11 | 82,420,380 | 0 | 0 | BSD-3-Clause | 2018-06-15T22:48:12 | 2017-02-18T22:34:48 | C++ | UTF-8 | C++ | false | false | 827 | h | //
// Copyright (c) 2012 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Query.h: Defines the gl::Query class
#ifndef LIBGLESV2_QUERY_H_
#define LIBGLESV2_QUERY_H_
#include "libGLESv2/Error.h"
#include "comm... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
a9a4a476490c15dc5ffa6f80ec35b52e5cb1f359 | 4c84d6f2e63244a1d9f7d769a06a6d3d9b694101 | /ppro/PrivacyProtection/kuc/ucipc.h | 2c135afbbfedac6f8e783ec3eb0c884e26092f1f | [
"Apache-2.0",
"RSA-MD"
] | permissive | liangqidong/Guardian-demo | ad3582c9fc53924d2ce0ca3570bf2e0a909d1391 | 3bf26f02450a676b2b8f77892a895c328dfb6814 | refs/heads/master | 2020-03-06T22:37:53.416632 | 2018-03-28T08:26:10 | 2018-03-28T08:26:10 | 127,108,413 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 4,123 | h | /************************************************************************
* @file : ucipc.h
* @author : WangBin5 <WangBin5.com>
* @date : 26/11/2009 AM 11:53:11
* @brief : 与内核通信IPC的用户层代码
*
* $Id: $
/************************************************************************/
#ifndef _UC_IPC_H_
#define _U... | [
"18088708700@163.com"
] | 18088708700@163.com |
e0f36d9635bed547a8ef3200419a5583014a9234 | 3d1bb0866f069e1846594e4b7d72e4269d3575f5 | /Stable/CSCommon/Include/MMatchRuleQuestChallenge.h | 6982a156147b1615dd3106094056acfcb53ba6b1 | [] | no_license | JumpingY/Gunz1.5 | 9d3c6c6cefbbe7773ee12a3177b03ee110b99325 | cb817a4d871c38cdaf9e50d6240bf8fa8b3f0469 | refs/heads/main | 2023-09-03T01:23:48.243472 | 2021-10-31T22:40:46 | 2021-10-31T22:40:46 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,645 | h | #ifndef _MMATCHRULEQUESTCHALLENGE_H
#define _MMATCHRULEQUESTCHALLENGE_H
#include "IMatchRuleNewQuest.h"
#include "MActorDef.h"
#include "MNewQuestScenario.h"
class MNewQuestPlayerManager;
class MNewQuestNpcManager;
class MMatchRuleQuestChallenge : public IMatchRuleNewQuest
{
static MNewQuestScenarioManager ms_scena... | [
"jduncan0392@gmail.com"
] | jduncan0392@gmail.com |
91198a8af54c41cfc2b55099f097e63ff48dc5fc | 5e00242dc035fdab6aa6bbb40c6d7e6c119ad8e6 | /Vault/Others/PROGYM7/J.cpp | 6858f2af4145e65d97bc17d7b040f21ab0019eea | [] | no_license | AkiLotus/AkikazeCP | 39b9c649383dcb7c71962a161e830b9a9a54a4b3 | 064db52198873bf61872ea66235d66b97fcde80e | refs/heads/master | 2023-07-15T09:53:36.520644 | 2021-09-03T09:54:06 | 2021-09-03T09:54:06 | 141,382,884 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,788 | cpp | // Template by proptit_4t41
// Applied for C++11/C++14
// Add -std=c++14 to your IDE.
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define i64 long long
#define u64 unsigned long long
#define ld long double
#define pub push_back
#define puf push_front
#define pob pop_back
#define pof pop_front
#def... | [
"duybach.224575@gmail.com"
] | duybach.224575@gmail.com |
d0678ca23907250dbfaf8e44e64a44e93f7a19d4 | 4652840c8fa0d701aaca8de426bf64c340a5e831 | /content/browser/renderer_host/media/video_capture_controller.cc | bf0d9d9c0a955761f59085374597e3bf0c035f9e | [
"BSD-3-Clause"
] | permissive | remzert/BraveBrowser | de5ab71293832a5396fa3e35690ebd37e8bb3113 | aef440e3d759cb825815ae12bd42f33d71227865 | refs/heads/master | 2022-11-07T03:06:32.579337 | 2017-02-28T23:02:29 | 2017-02-28T23:02:29 | 84,563,445 | 1 | 5 | BSD-3-Clause | 2022-10-26T06:28:58 | 2017-03-10T13:38:48 | null | UTF-8 | C++ | false | false | 19,333 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/renderer_host/media/video_capture_controller.h"
#include <stddef.h>
#include <stdint.h>
#include <map>
#include <set>
#in... | [
"serg.zhukovsky@gmail.com"
] | serg.zhukovsky@gmail.com |
dc3220db7d3ca307feb0af75d8575e71249f25db | bfe74845c2345a9c00f9ceb2eeb1b8600aefcab3 | /Stack 1/Char_Stack/stack.h | 0acce7186753455258538f0f6e77ee1987ccc1f1 | [] | no_license | AbbyBounty/ds-solution | 395cd9150e55f5be96def8f60831ff41bd69bf8e | 780f4a3c00d49c40ce0e4bf7f69bc756a6e1947e | refs/heads/main | 2023-01-09T07:08:12.238688 | 2020-11-09T16:48:04 | 2020-11-09T16:48:04 | 311,227,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | h | #define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
#define ERROR -9999
class CStack
{
int size, top;
char *arr;
public:
CStack();
CStack(int);
void push(char);
char pop();
char isFull();
char isEmpty();
char peek();
void display();
};
| [
"abhilash.kamble376@gmail.com"
] | abhilash.kamble376@gmail.com |
4bb4b38ebaaa44f073916ce85fe98ab6e0ee83ae | ab97a8915347c76d05d6690dbdbcaf23d7f0d1fd | /chromeos/services/device_sync/remote_device_v2_loader_impl.cc | 700ec48c20894a0de52aae0e9e8d077d80bc3a66 | [
"BSD-3-Clause"
] | permissive | laien529/chromium | c9eb243957faabf1b477939e3b681df77f083a9a | 3f767cdd5c82e9c78b910b022ffacddcb04d775a | refs/heads/master | 2022-11-28T00:28:58.669067 | 2020-08-20T08:37:31 | 2020-08-20T08:37:31 | 288,961,699 | 1 | 0 | BSD-3-Clause | 2020-08-20T09:21:57 | 2020-08-20T09:21:56 | null | UTF-8 | C++ | false | false | 4,446 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/services/device_sync/remote_device_v2_loader_impl.h"
#include <utility>
#include "base/bind.h"
#include "base/memory/ptr_util.h"
#inc... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a60dfb01ecdf90101e2070c195f08f64a52758e6 | a850b07742a9573c48e3f655cf66990fd41c32da | /enigmamachine.h | 61f5f67b78b10b93e6319cf7d0a9b2ba7fddc9b0 | [] | no_license | StewartDouglas/EnigmaMachine | 3c2fd7da7c36efa0c752f56157aa4944d1f06452 | 6a66356b6506c9d21b78886f4eba092d3f477b7d | refs/heads/master | 2020-12-09T12:29:59.437468 | 2016-09-07T11:34:53 | 2016-09-07T11:34:53 | 14,539,774 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 776 | h | #ifndef __ENIGMAMACHINE_H_INCLUDED__
#define __ENIGMAMACHINE_H_INCLUDED__
#include "enigma.h"
#include "plugboard.h"
#include "reflector.h"
#include "rotor.h"
/* The EnigmaMachine class contains instances of all the necessary Components
to create a functioning simulation of the original enigma machine. This
in... | [
"stewart@Stewarts-MacBook-Air.local"
] | stewart@Stewarts-MacBook-Air.local |
672eda523ddfa8aa939063b38514815028a2f262 | 573dea83dd96e5107ffc652bb8f91fe6d7884598 | /7. Reverse Integer.cpp | 218dcb24ce771c15871396699f306bd44a023c22 | [] | no_license | haomingchan0811/Leetcode | bc1bfbf121227a6145c8efb631fe788746d5afcd | 1a0dbcabb0f454a4fdcc31af9b919f5d30664335 | refs/heads/master | 2020-12-26T00:53:29.838925 | 2017-09-20T17:26:00 | 2017-09-20T17:26:00 | 67,911,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | cpp | class Solution {
public:
// 6ms, 72.14%, ok
int reverse(int x) {
if(x == 0) return 0;
long temp = 0;
// bool isNegative = false; // no need for "%": can handle negative case
// if(x < 0) {x = -x; isNegative = true;}
while(x){
temp = temp * 10 + x % 10;
... | [
"chenhaomingsz@gmail.com"
] | chenhaomingsz@gmail.com |
c5387d5fbaf6f509abcedb839dcd405900389996 | c732649de5f651143089f1cac878e86513487906 | /cpp/open3d/visualization/gui/Window.cpp | 4aeb1ca5a958d13ad6f9cc4fc1846587305d47c3 | [
"MIT"
] | permissive | syncle/Open3D | 7186726abd5511885e0c3cfc52baf42dc4a28e23 | a019b78a3aff5105d355f2bef83b57ce015c9dbc | refs/heads/master | 2022-02-23T01:40:13.474994 | 2022-02-08T18:59:03 | 2022-02-08T18:59:03 | 90,085,935 | 0 | 0 | MIT | 2018-01-31T01:41:49 | 2017-05-02T23:03:26 | C | UTF-8 | C++ | false | false | 47,434 | cpp | // ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018-2021 www.open3d.org
//
// Perm... | [
"noreply@github.com"
] | noreply@github.com |
0dccd583d4d7bf0c5fdaed17b3185f37c1d75a0b | 971b000b9e6c4bf91d28f3723923a678520f5bcf | /doc/qxsl-fo.0.0.1/src/viewitems/fotable/fotabledoc.cpp | 1650f4d5be6d721603c7f219dd180cdfdb42bb9d | [] | no_license | google-code-export/fop-miniscribus | 14ce53d21893ce1821386a94d42485ee0465121f | 966a9ca7097268c18e690aa0ea4b24b308475af9 | refs/heads/master | 2020-12-24T17:08:51.551987 | 2011-09-02T07:55:05 | 2011-09-02T07:55:05 | 32,133,292 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,053 | cpp | //http://www.zvon.org/xxl/xslfoReference/Output/index.html
/*
| source-document | role | azimuth | cue-after | cue-before | elevation | pause-after | pause-before | pitch
| pitch-range | play-during | richness | speak | speak-header | speak-numeral | speak-punctuation
| speech-rate | stress | voice-family | volume | ... | [
"ppkciz@9af58faf-7e3e-0410-b956-55d145112073"
] | ppkciz@9af58faf-7e3e-0410-b956-55d145112073 |
0d8ed740d2bdde483b9d3352003930c571dd23c3 | 323fac9e077ad960f8be0c09b3b5ff5eedfc73d3 | /branches/lib/libjson/Source/JSON_Base64.h | 6b71db741e79f74957cae684bd4493345a13dbb2 | [
"BSD-2-Clause"
] | permissive | yellowbigbird/bird-self-lib | 226f08a1d5a0c7cde994fe14c2a47f5ac443ba3e | 04dae41aa62609028d61f13490b2562ae1479134 | refs/heads/master | 2021-06-13T15:49:35.125938 | 2017-08-03T07:18:06 | 2017-08-03T07:18:06 | 39,172,862 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 459 | h | #ifndef JSON_BASE64_H
#define JSON_BASE64_H
#include "JSONDebug.h"
#if defined(JSON_BINARY) || defined(JSON_EXPOSE_BASE64) //if this is not needed, don't waste space compiling it
#include <string>
class JSONBase64 {
public:
static json_string json_encode64(const unsigned char * binary, size_t bytes)... | [
"yellowbigbird@gmail.com"
] | yellowbigbird@gmail.com |
d50a985a4b6d3f56abdd77efe8207932d97f8914 | 82d3bf9721fe5e6b8cd6fa1fe2c40a5c3358daa5 | /MQTTUnsubscribeServer.cpp | 63cd25bb32d6797527fd9cff1513e5588d770800 | [] | no_license | gochaudhari/MQTTLinuxProject | 9aa617f238dc8c19a89fc4c10d87b1ab89d6cb1f | ebb635a405b677c97f2100c89898a95a8cfa5dbb | refs/heads/master | 2021-01-20T20:18:36.387409 | 2016-08-09T06:34:58 | 2016-08-09T06:34:58 | 65,033,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,059 | cpp | /*******************************************************************************
* Copyright (c) 2014 IBM Corp.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 which accompany this d... | [
"gochaudhari@gmail.com"
] | gochaudhari@gmail.com |
8c7621665fbfc646326835b33cfab05de3a45c28 | 8652a66d3994098ef4cf9186cd36171eb3833ad3 | /WINCE600/PLATFORM/COMMON/SRC/SOC/COMMON_FSL_V2_PDK1_7/HSI2C/PDK/hsi2c_io.cpp | 2b8718846efad33f47546991e20b34937c9a68e7 | [] | no_license | KunYi/em-works | 789e038ecaf4d0ec264d16fdd47df00b841de60c | 3b70b2690782acfcba7f4b0e43e05b5b070ed0da | refs/heads/master | 2016-09-06T03:47:56.913454 | 2013-11-05T03:28:15 | 2013-11-05T03:28:15 | 32,260,142 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,936 | cpp | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this so... | [
"lqk.sch@gmail.com@9677f95b-f147-b01e-6ec8-0db75aaa1bab"
] | lqk.sch@gmail.com@9677f95b-f147-b01e-6ec8-0db75aaa1bab |
0e2d00bc1652253983483a9aa1aebf0688d5fc9f | 82de12ba0df6add9ab63c834989eceb624d8c135 | /treeList.cpp | a364a6bf03ac99183d36d9bd59af04b394052ec5 | [] | no_license | mendi2770/Multi-nodes-tree | 8af1e7f6e4eb798153dfd4aa515d41c23d472431 | 2bdf97bc102d847c207cca56012579a2157937b6 | refs/heads/main | 2023-06-03T00:27:53.004343 | 2021-06-15T22:24:52 | 2021-06-15T22:24:52 | 377,307,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,950 | cpp | /*
Shimon Dyskin && Mendi Ben-Ezra
Course Name: Data Structures 2
Exercise 1
Description: Forums of discussions and responses based on trees and lists
(This is the treeList.cpp file)
*/
#include "treeList.h"
treeList::~treeList() // deallocate tree
{
clearAllTrees();
}
void treeList::clearAllTrees()... | [
"noreply@github.com"
] | noreply@github.com |
b53695ee3e238726457d6531414f5425c77cfbfa | bc8b842b711f6cb7a7cbe6e602c62dba252e88bb | /student.h | 8bf6c024ddfa0df106523b49515e6ea0cd0ec09f | [] | no_license | AbelWeldaregay/representative-test-data-generator | 9e72fe33c4d688aae9cac3023fb34d02395de494 | a588c7b21eb5a46edbbd9bad7bb1ee7d600e3f1a | refs/heads/master | 2021-04-26T23:23:44.352697 | 2018-12-20T18:41:29 | 2018-12-20T18:41:29 | 123,985,854 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | h | #ifndef STUDENT_H_INCLUDED
#define STUDENT_H_INCLUDED
using namespace std;
struct student {
string className;
int studentID;
string firstName;
string lastName;
string studentAnswers;
student();
};
void readFirstStudent(student studentType[]);
void createAnswersFile(student stud... | [
"aweld002@odu.edu"
] | aweld002@odu.edu |
367a31d1944aca2ba5ed0113ffa89d93a418bb08 | 5074212db056d7a5f38b3b575e97210d0f9c1363 | /L2Server/Area.h | 73c2ab05f515f7957ff062f9d81b1669fe7d2a73 | [] | no_license | izoodeh/Lotus-GF | 05a2d0c113c4b657b533c1fe1bf728df111873f9 | c3764b5f618a362c9bb08d32813ee49cf93414de | refs/heads/master | 2022-11-09T18:52:12.364085 | 2020-06-29T15:07:43 | 2020-06-29T15:07:43 | 275,847,221 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 447 | h | #pragma once
#include "MemoryObject.h"
#include "Territory.h"
//1F8 - areaType
class CArea : public CBaseObject
{
public:
/* 18 */ LPVOID _unkn18[9];
/* 60 */ CTerritory range;
bool IsOn(UINT instantZoneId);
bool IsBannedPoint(FVector& pos, bool param = true);
bool IsInside(CCreature *pCreature);
};
class CArea... | [
"67592508+izoodeh@users.noreply.github.com"
] | 67592508+izoodeh@users.noreply.github.com |
ad9f7b2a3ead8256cdeacffa2ba3f340863002f4 | 023f19af6f722f93803afac6261562e8e34ec1da | /src/PointLight.cpp | f21df83381594ec6724782eee55aabf683abf33c | [
"BSD-2-Clause"
] | permissive | dlarudgus20/cpfps | d1a772c2593358707235331f861121e699b19981 | 53adf0979749a7244e8503f19e4653247f154869 | refs/heads/master | 2021-01-10T18:52:39.316654 | 2017-05-30T09:54:11 | 2017-05-30T09:54:11 | 42,655,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,295 | cpp | // Copyright (c) 2014, 임경현
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice, this
// list of conditions an... | [
"dlarudgus20@naver.com"
] | dlarudgus20@naver.com |
e2fab732c72303cc2a5492913dd5e3804909ca2e | 0590e3430c60296b2930d1c532efb9d116ba1c17 | /KisokaraCpp-samples/04/04-if4.cpp | dc330e594ffad031440eab8e2a13e475b54662e5 | [] | no_license | datsu0/cpp | 645b8f9e9991fccbe514d6ea59a9353ee7da0841 | 0e363668fc89e589fedadbc79801d9adf53b05c9 | refs/heads/master | 2022-08-06T12:06:56.100520 | 2020-05-24T14:15:54 | 2020-05-24T14:15:54 | 255,307,034 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 308 | cpp | #include <iostream>
using namespace std;
int main() {
int n = 9;
if (n % 2 == 1) {
cout << "nは奇数です。\n"; //出力値:nは奇数です。
if (n % 3 == 0) cout << "nは3の倍数かつ奇数です。\n";//出力値:nは3の倍数かつ奇数です。
}
} | [
"atsu34412@gmail.com"
] | atsu34412@gmail.com |
ffb4c7b7ff3958624f9c883fcf479d944bddf7a5 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_13652.cpp | a23d70bdf5f810837fd4bdf1004e0441fe61a756 | [] | 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 | 891 | cpp | {
const char *p;
(void)best_bid; /* UNUSED */
if ((p = __archive_read_ahead(a, 4, NULL)) == NULL)
return (-1);
/*
* Bid of 29 here comes from:
* + 16 bits for "PK",
* + next 16-bit field has 6 options so contributes
* about 16 - log_2(6) ~= 16 - 2.6 ~= 13 bits
*
* So we've effectively verified... | [
"993273596@qq.com"
] | 993273596@qq.com |
27bedb7944733c024b2a3bd3180742a96e32245d | 900cc80a8312eeb2ac0fcee4f7474331ee4286e3 | /CodeBreaker/Classes/utils/JsonObject.h | c5ad1f992b4531aad9bacfdaffe345b6fc16f75a | [] | no_license | nigamshah/CodeBreaker | 680031cb9ed5665b7646a5cf40f7863cd3f2500e | b66f98b57aff62c86612471689dfd2bf269a8f40 | refs/heads/master | 2016-09-06T13:14:14.486620 | 2013-08-22T23:01:34 | 2013-08-22T23:01:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,821 | h | //
// JsonObject.h
// CodeBreaker
//
// Created by Nigam Shah on 8/14/13.
//
//
#ifndef __CodeBreaker__JsonObject__
#define __CodeBreaker__JsonObject__
#include "cocos2d.h"
#include "StringUtils.h"
#include "Json.h"
using namespace cocos2d;
using namespace cocos2d::extension;
using namespace std;
namespace codeb... | [
"nshah@zynga.com"
] | nshah@zynga.com |
b806752318d52a1a9af3719995785797e7bf0c15 | 9369318cdbde33f5910c6de3736f1d07400cf276 | /246D.cpp | c4704c7b40e7f4ed932dee9ad680f7b194de5773 | [] | no_license | cwza/codeforces | cc58c646383a201e10422ec80567b52bef4a0da9 | e193f5d766e8ddda6cdc8a43b9f1826eeecfc870 | refs/heads/master | 2023-04-11T12:22:04.555974 | 2021-04-22T04:45:20 | 2021-04-22T04:45:20 | 352,477,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,092 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ar array
int n, m;
const int maxN = 1e5, maxC = 1e5;
vector<int> adj[maxN];
int c[maxN];
bool vis[maxN];
set<int> q[maxC];
void dfs(int u) {
vis[u] = true;
for(int v : adj[u]) {
if(c[v]!=c[u]) q[c[u]].insert(c[v]);
if(!... | [
"cwz0205a@gmail.com"
] | cwz0205a@gmail.com |
e191366b665de9f8bac94d41f7bcd67816f5df1f | 4ce2b9731da6372539c73ebb17325d80b841887f | /x/src/x/nfl/Segment.cpp | 4ea99f982b94b3f6d9af98061e238ea2e253237c | [
"Apache-2.0"
] | permissive | limbo018/rsyn-x | ed2795222fff6f118ef9d64c047880c88bc7d77c | 3855afbf6d25347f7d91f86aba8d1b1664373563 | refs/heads/master | 2021-02-10T04:15:59.918006 | 2020-02-25T16:19:34 | 2020-02-25T16:19:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,955 | cpp | /* Copyright 2014-2018 Rsyn
*
* 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 wr... | [
"jucemar.monteiro@inf.ufrgs.br"
] | jucemar.monteiro@inf.ufrgs.br |
71bb9dcce5167d78291f3f7af6a26be336b0cafc | 964743cc9072f09d3d60a88ddd90971e48e8a956 | /NewGeneUI/NewGene/Widgets/newgenewidget.h | 1fffc1b8ccfc9ab82b8a12db5af9369fa5d21021 | [] | no_license | daniel347x/newgene | f6a7abae718bc4b3813c6adf2c2f991dca535954 | dc0b5ddaeea441d905d627a4145d7a3e2eda78b5 | refs/heads/master | 2022-06-27T17:19:42.205690 | 2022-06-21T21:52:07 | 2022-06-21T21:52:07 | 9,526,888 | 0 | 2 | null | 2022-06-21T21:52:08 | 2013-04-18T16:55:22 | C | UTF-8 | C++ | false | false | 7,288 | h | #ifndef NEWGENEWIDGET_H
#define NEWGENEWIDGET_H
#include "globals.h"
#include "../../../NewGeneBackEnd/UIData/DataWidgets.h"
class QWidget;
class NewGeneMainWindow;
class UIInputProject;
class UIOutputProject;
class WidgetCreationInfo;
class NewGeneWidget
{
public:
enum WIDGET_NATURE
{
WIDGET_NATURE_UNKNO... | [
"daniel347x@gmail.com"
] | daniel347x@gmail.com |
19f4a87a8d16adbd6149150068885669394e6b8d | 303fdef7d8f917541dacd1209d078bbf825dc744 | /src/formats/packed/esvcruncher.cpp | de7013538dd42cc84ff405608b4891ec867e1527 | [] | no_license | djdron/zxtune | 7073149ed166bf8fab5a4eb0b0f6a0e3a07a4adb | b9b14282857451acbd7dcb4f8306a4f6cfabe915 | refs/heads/master | 2022-12-22T18:54:38.923836 | 2022-11-21T20:31:19 | 2022-11-21T20:31:19 | 15,060,257 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,013 | cpp | /**
*
* @file
*
* @brief ESVCruncher packer support
*
* @author vitamin.caig@gmail.com
*
* @note Based on XLook sources by HalfElf
*
**/
// local includes
#include "formats/packed/container.h"
#include "formats/packed/pack_utils.h"
// common includes
#include <byteorder.h>
#include <make_ptr.h>
#include <... | [
"vitamin.caig@gmail.com"
] | vitamin.caig@gmail.com |
3853a16252c63db67821a028ffb7c19c0d9601bf | 3e6dcff8ede0a9b4047d374267340e6bb5da1689 | /goods.h | cc2ce2176779c16882b3d6ed58cb5416e847b1db | [] | no_license | hskim-mma/code_review | db2e0e17b0cdf66648a20dcb111d725a2c9692fd | c20d9c2f3066189efcab0691b0c975f5fd56e5fe | refs/heads/master | 2020-07-27T21:50:36.911942 | 2019-09-18T07:08:24 | 2019-09-18T07:08:24 | 209,225,671 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 677 | h | #ifndef GOODS_H_
#define GOODS_H_
// Goods class for representing goods information with index and price
// Example:
// Goods test;
// test.SetGoodsInfo(1, 10000);
// std::cout << test.GetIndex() << " - " << test.GetPrice << endl;
class Goods{
public:
Goods(int index, int price) {
if (index < 0) || (pri... | [
"noreply@github.com"
] | noreply@github.com |
b9e8b69ba54e1fb44c0eb5f4a6049c87bc529173 | 9a94e85ef2820d626cd76123b9aa49190c991003 | /HSPF_MRO_ANDR/build/Android/Release/app/src/main/include/Fuse.Animations.ContinuousTrackProvider.h | a199044987827169c8a01dede806fed2b67d4f3a | [] | no_license | jaypk-104/FUSE | 448db1717a29052f7b551390322a6167dfea34cd | 0464afa07998eea8de081526a9337bd9af42dcf3 | refs/heads/master | 2023-03-13T14:32:43.855977 | 2021-03-18T01:57:10 | 2021-03-18T01:57:10 | 348,617,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,637 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Animations/1.12.0/TrackAnimator.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Animations.TrackProvider.h>
#include <Uno.Object.h>
namespace g{namespace Fuse{namespace Animations{struct TrackAnima... | [
"sommelier0052@gmail.com"
] | sommelier0052@gmail.com |
ed02169b4b4aac75070c54f810fad3c1cb7211e7 | e8b1ee7746bc8ed75ed08a8ef41c3be2dbd5f2ba | /Archive/Arduino/Car/Legacycode/ObjectOreinted/TestCode/testdriveOO/ControlOutputs00.cpp | b99f5c0b02f5002349e46b50edaa45adb188c408 | [] | no_license | julianblanco/objeeAirlines | ac2b254603eaf4681da81e0d1d2096f2faec0239 | f6e19ca61ea7f44b8abc7e06c4d81c1964cedb43 | refs/heads/master | 2021-01-20T15:30:46.613900 | 2017-05-09T23:25:33 | 2017-05-09T23:25:33 | 90,778,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,767 | cpp | #include "ControlOutputs.h"
//===================================================================
//
// Program: ControlOutputs.cpp
//
// Author: Julian Blanco
// Date: Sep 4 2015
//
// Description: Description
//
//===================================================================
void execute_control(float ... | [
"julianblanco@bitbucket.com"
] | julianblanco@bitbucket.com |
5f0b14b0e1c94eafbfb5440218dcc4bb0a616684 | 8afb5afd38548c631f6f9536846039ef6cb297b9 | /_REPO/MICROSOFT/PowerToys/src/modules/colorPicker/ColorPicker/dllmain.cpp | 57bc5a89e72cb8f923ca0f2a6330b9aead74b017 | [
"MIT",
"BSL-1.0",
"Unlicense",
"LicenseRef-scancode-generic-cla"
] | permissive | bgoonz/UsefulResourceRepo2.0 | d87588ffd668bb498f7787b896cc7b20d83ce0ad | 2cb4b45dd14a230aa0e800042e893f8dfb23beda | refs/heads/master | 2023-03-17T01:22:05.254751 | 2022-08-11T03:18:22 | 2022-08-11T03:18:22 | 382,628,698 | 10 | 12 | MIT | 2022-10-10T14:13:54 | 2021-07-03T13:58:52 | null | UTF-8 | C++ | false | false | 8,515 | cpp | // dllmain.cpp : Defines the entry point for the DLL application.
#include "pch.h"
#include <interface/powertoy_module_interface.h>
#include "trace.h"
#include "Generated Files/resource.h"
#include <common/logger/logger.h>
#include <common/SettingsAPI/settings_objects.h>
#include <common/utils/resources.h>
#include <... | [
"bryan.guner@gmail.com"
] | bryan.guner@gmail.com |
d65e8133fb681011854dfe1facc75c09bbb9cd77 | f57a583d41ddf3bf4e8a96e32f38de9d83ff6ae8 | /zmq3/router_dealer_server_msg.cpp | f0b44f91c2a64ef45e251d2622edf71260a33031 | [] | no_license | sansajn/test | 5bc34a7e8ef21ba600f22ea258f6c75e42ce4c4e | c1bed95984123d90ced1376a6de93e3bb37fac76 | refs/heads/master | 2023-09-01T00:04:48.222555 | 2023-08-22T15:14:34 | 2023-08-22T15:14:34 | 224,257,205 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,431 | cpp | // spojenie typu ROUTER <-> DEALER, serverovska cast implementovana v zmq
// za pouzitia zmq_msg_t struktury nameisto char* buffrou
#include <string>
#include <iostream>
#include <cassert>
#include <zmq.h>
using std::string;
using std::cout;
int main(int argc, char * argv[])
{
void * ctx = zmq_ctx_new();
void * so... | [
"adam.hlavatovic@protonmail.ch"
] | adam.hlavatovic@protonmail.ch |
f542f9f27b4441a341f75509d1acdfe1e0b0776c | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/printing/print_settings_initializer_win.h | fcbacc280f2c9ec5bcbeac4a68f8b64ffa8b1f5c | [
"MIT",
"BSD-3-Clause"
] | 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 | 923 | h | // Copyright (c) 2011 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 PRINTING_PRINTING_SETTINGS_INITIALIZER_WIN_H_
#define PRINTING_PRINTING_SETTINGS_INITIALIZER_WIN_H_
#include <string>
#include "base/logging... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
458bddc7d1cbfe65c5f98a9aef79a10979fcf79a | 815b7ab9da91efff32eff7ac21d5ce9234ea66a1 | /libraries/Adafruit-GFX-Library/Adafruit_SPITFT.cpp | 5750a641d6fa79047e67b7b69db9233e3437e034 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | hyunhan3008/Internet-Of-Things---TV-B-Gone | df17722fa592f119c8f2c3cb78c10268d786b9ee | 45b2c795fc9d47b400f2e9680bb55ccd0df13ac3 | refs/heads/master | 2020-05-31T17:58:10.105844 | 2019-08-12T15:31:31 | 2019-08-12T15:31:31 | 190,422,722 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,427 | cpp | // Adafruit_SPITFT.cpp
// DON'T EDIT FROM HERE TO "END"
// (this stuff is injected to support unPhone's TCA9555 IO expander chip)
#include <Wire.h> // (we need digitalRead etc. defined before redefining)
class IOExpander { // this is an excerpt of the full definition that...
public: // ...just declares the... | [
"hyunhan9508@gmail.com"
] | hyunhan9508@gmail.com |
8f7b253801da5968ec97eb2c6d09efa8f4409677 | 1de331d068456cedbd2a5b4d4a6b16145646f97d | /src/libv/glr/procedural/cube.hpp | f3acfb49703807c3d71bfc368a4caf2525998d9d | [
"Zlib"
] | permissive | sheerluck/libv | ed37015aeeb49ea8504d7b3aa48a69bde754708f | 293e382f459f0acbc540de8ef6283782b38d2e63 | refs/heads/master | 2023-05-26T01:18:50.817268 | 2021-04-18T01:06:51 | 2021-04-27T03:20:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,074 | hpp | // Project: libv.glr, File: src/libv/glr/procedural/cube.hpp, Author: Császár Mátyás [Vader]
#pragma once
// libv
#include <libv/math/vec.hpp>
namespace libv {
namespace glr {
// -------------------------------------------------------------------------------------------------
// TODO P5: Possible to make a Triang... | [
"vaderhun@gmail.com"
] | vaderhun@gmail.com |
ef66b362a4e606b94c01343e9eea8327dbb08a5a | ae7c0a1a113630cec8936c7a0e19973801acf3a3 | /include/QAlg/Components/Operator/PauliOperator.h | 40b559ac84b3b63a824e1301dfffed82effbff2b | [
"Apache-2.0"
] | permissive | AmberHan/QPanda-2 | d3d97c2e907dfe725bd0d7b6e037ed2b769502ed | a57d39297310f076ad4673dbba4601ae326d3152 | refs/heads/master | 2020-08-02T21:13:12.801905 | 2019-09-27T13:47:13 | 2019-09-27T13:47:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,457 | h | /*
Copyright (c) 2017-2018 Origin Quantum Computing. All Right Reserved.
Licensed under the Apache License 2.0
Author: LiYe
Created in 2019-01-22
*/
#ifndef PAULIROPERATOR_H
#define PAULIROPERATOR_H
#include <map>
#include <vector>
#include "Core/Utilities/QString.h"
#include "Core/Utilities/QPandaNamespace.h"
#inc... | [
"369038080@qq.com"
] | 369038080@qq.com |
fcd5e10134afd9e48030fa0782e2fdcafe96502f | d70187d22cbee1d0350acc9d89ccec89374df00c | /Arkanoid/State.h | 8aed3490b2fbeea83df9df9d867aa5e056e525ac | [] | no_license | ramses2099/Arkanoid | 44c8c369d6b809feea8b65ed08e422eabcfb299e | d8ad672686b235472964f66ef6eea65d188debd6 | refs/heads/master | 2020-06-27T21:10:16.941290 | 2019-08-09T15:32:16 | 2019-08-09T15:32:16 | 200,050,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 124 | h | #pragma once
class GameBaseEntity;
class State
{
public:
virtual void Execute(GameBaseEntity* entity, float dt) = 0;
};
| [
"jose.encarnacion@hit.com.do"
] | jose.encarnacion@hit.com.do |
8f23e904b6e0dd2e2d6880a1960d4153eda4d871 | 56f0b99fa7605b34af0c5c1c860bed492f3f07a8 | /Source/BloodyBlade/BaseEnemy.h | af4e0312c4b237f38a90c3e26a02f5ccc682f8c3 | [] | no_license | APTist/BloodyBlade | 6e5b61eb944fb412ef8e3db7f9938b160cee1251 | 85a032bf47f5e47c3229dcbfa72fbf6e56918c92 | refs/heads/main | 2023-08-21T18:40:53.087128 | 2021-10-11T19:06:37 | 2021-10-11T19:06:37 | 413,153,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,417 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "BaseEnemy.generated.h"
UCLASS()
class BLOODYBLADE_API ABaseEnemy : public ACharacter
{
GENERATED_BODY()
public:
// Sets default values for this charac... | [
"rikitikitavy39@gmail.com"
] | rikitikitavy39@gmail.com |
bb0325cda0a077530cb575280d6944357f7aab20 | dfd6e4bb0a6e6b395f3753e11ec2459c8c3b8adc | /Dot_Engine/src/Dot/Renderer/Buffers/Buffer.h | 2d1356b86782c674b4fdc791628bd7dbf3786fe0 | [
"Apache-2.0"
] | permissive | SimonGido/Dot_Engine | f2bce1d4b85c7aa6bd32afd43618da2b4a29c437 | 1db28c56eeecefaed8aa3f1d87932765d5b16dd4 | refs/heads/master | 2022-04-03T08:37:16.832443 | 2020-02-09T21:30:23 | 2020-02-09T21:30:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,044 | h | #pragma once
#include "Dot/Debug/Log.h"
#include <glm/glm.hpp>
#define D_STATIC_DRAW 0x88E4
#define D_DYNAMIC_DRAW 0x88E8
#define D_STREAM_DRAW 0x88E0
namespace Dot {
enum class ShaderDataType
{
None = 0, Float, Float2, Float3, Float4, Mat3, Mat4, Int, Int2, Int3, Int4, Bool
};
static unsigned int ShaderDataT... | [
"simongido1@gmail.com"
] | simongido1@gmail.com |
8e61cc8e3dafe3734e93e80e57128a8e4e8bb0a6 | 7ebdd4e09f7286b3e2dd61a147e0f443eb61621a | /sig/include/sigkin/kn_joint.h | 3971d9ac2e9e05e1da02bff57cfa9f29acc3d844 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | bpgeck/metaballs | 681968d100d808e89e403b087d7c7755dc5c2e95 | ad75def1ba5d090c8f0e531c99b433030807dc2c | refs/heads/master | 2020-04-08T14:11:21.023513 | 2018-11-28T02:17:25 | 2018-11-28T02:17:25 | 159,425,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,318 | h | /*=======================================================================
Copyright (c) 2018 Marcelo Kallmann.
This software is distributed under the Apache License, Version 2.0.
All copies must contain the full copyright notice licence.txt located
at the base folder of the distribution.
================... | [
"b.geck@yahoo.com"
] | b.geck@yahoo.com |
d78eef579fb616d1562ac7c2e31123b8e3ffa0e0 | 6bd1285d2e38324a4bda92fad0f4ea80baca37c6 | /src/display/Arduino_SSD1351.h | 1770fbb70a731335d7df68956b288da82a28b7a9 | [] | no_license | Lmorales45/Arduino_GFX | dc40f98be63f02923039a142a864008ba17190fe | b79d529c0094afcdb742e1f21c9dcf876b6ce4ae | refs/heads/master | 2023-03-19T03:02:57.843887 | 2021-03-15T15:04:25 | 2021-03-15T15:04:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,151 | h | /*
* start rewrite from:
* https://github.com/adafruit/Adafruit-GFX-Library.git
* https://github.com/adafruit/Adafruit-SSD1351-library.git
*/
#ifndef _ARDUINO_SSD1351_H_
#define _ARDUINO_SSD1351_H_
#include <Arduino.h>
#include <Print.h>
#include "../Arduino_GFX.h"
#include "../Arduino_TFT.h"
#define SSD1351_TFTW... | [
"moononournation@gmail.com"
] | moononournation@gmail.com |
f70296aa76d8747aa53ae01e70bfbffaedbea725 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/246/879/CWE78_OS_Command_Injection__wchar_t_console_execl_81a.cpp | bb02c14e74dd65b6e7fed07b3a456fce65a86562 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,190 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_console_execl_81a.cpp
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-81a.tmpl.cpp
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: console Read input from the console
* ... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
b4ace8acbca12478ab9e9ac906c9125301bd8453 | c8300ef66c1964c48510bc3b72ee9ba130e07a1f | /Uri 2310 volleyball.cxx | 3cc7b4ee280addc50e1cf5a3f0d3815bdeec4502 | [] | no_license | Rakhibul-Hasan/Uri-solutions-02 | c00d15697a61cdcb1f9ce45bcfd2d323a819bb2c | ffe626796f948f5ed5b2c58065efd1f19e8df262 | refs/heads/master | 2023-04-15T05:57:58.638880 | 2021-04-27T11:51:38 | 2021-04-27T11:51:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | cxx | #include<stdio.h>
int main()
{
int s[101],ss[101],b[101],sb[101],a[101],sa[101];
int n,i,j,as=0,ab=0,aa=0,as1=0,ab1=0,aa1=0;
double x,y,z;
scanf("%d",&n);
for(i=0;i<n;i++){
scanf("%*s%d%d%d%d%d%d",&s[i],&b[i],&a[i],&ss[i],&sb[i],&sa[i]);
}
for(j=0;j<n;j++){ as1+= s[j];
ab1+= b[j];
aa1+= a[j];
as+= ss[j];
a... | [
"noreply@github.com"
] | noreply@github.com |
3d5e9c5661080e4f69030203d80b9c65b6ff63aa | c6af1c3213aa75ad8d7e4176b6d28bbfca067d50 | /EpicEngine/Camera.h | 68badc39806424f8514534797ff6a0f2c3ef1aa3 | [] | no_license | TaehunKim0/EpicEngine | f2d34849fb70f3fedab29065508272c2a5a7a5f1 | 67fb6368ccd591b946a4a55a91cdca32215b9566 | refs/heads/master | 2023-04-27T17:42:13.424134 | 2019-09-30T18:00:45 | 2019-09-30T18:00:45 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,139 | h | #pragma once
#ifndef _CAMERA_H_
#define _CAMERA_H_
#include <d3dx10math.h>
/*
우리는 HLSL의 프로그래밍과, 정점/인덱스 버퍼를 셋업하는 방법 그리고 ColorShaderClass를 사용하여 HLSL 셰이더를 호출하는 방법을 살펴보았습니다.
하지만 우리가 한가지 놓친 것이 있는데, 그것은 바로 월드에서 우리가 보는 시점입니다.
이를 구현하기 위해서는 어떻게 우리가 장면을 보는지에 대한 정보를 DirectX 11에게 전달하는 카메라 클래스가 필요합니다.
카메라 클래스는 카메라의 위치와 현재 회전 상태를 ... | [
"jack071000@naver.com"
] | jack071000@naver.com |
c06d80db44b907379806e568e47e20af51ff4127 | 342d1974b808b8f312b6acd4742c2c64ef0f305f | /DBDesign/property/property/recordmeterdialog.h | f676a91ae571f80841f62cc228d4ede7e00f773c | [] | no_license | DrizztLei/project | d715bd11bc7c6a6432da4b146c9d75ae9d503810 | d827595f1eefdf0a67677862d36983845e49e18b | refs/heads/master | 2020-03-09T23:55:05.814874 | 2018-04-11T03:26:06 | 2018-04-11T03:26:06 | 129,069,300 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 735 | h | #ifndef RECORDMETERDIALOG_H
#define RECORDMETERDIALOG_H
#include "http.h"
#include <QDialog>
// #include <QSqlQuery>
#include <QStandardItemModel>
#include <vector>
namespace Ui
{
class RecordMeterDialog;
}
class RecordMeterDialog : public QDialog
{
Q_OBJECT
public:
explicit RecordMeterDialog(QWidget *pare... | [
"elvis.linuxer@gamil.com"
] | elvis.linuxer@gamil.com |
952e61e5d28fdf8e811cf3dc79de13c24b85d98c | e69c6452c8ce23d552ef39da4752f8c620b939b9 | /Code/CPP/CrystalDiskMark/DHtmlDialogEx.cpp | b2226f9f209601b60810907f55f5246bd881b518 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | madnessw/thesnow | 31a155e428bb6f79d2003c229cf2e570ca620c0f | 0f1aeb7903397dda06e0044aa6e35cc2705ed71c | refs/heads/master | 2021-01-23T12:00:27.906724 | 2014-01-09T05:42:41 | 2014-01-09T05:42:41 | 37,446,411 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,375 | cpp | /*---------------------------------------------------------------------------*/
// Author : hiyohiyo
// Mail : hiyohiyo@crystalmark.info
// Web : http://crystalmark.info/
// License : The modified BSD license
//
// Copyright 2007-2009 hiyohiyo. All rights rese... | [
"thegfw@58104c5a-2bea-11de-ae9b-2be1a451ffb1"
] | thegfw@58104c5a-2bea-11de-ae9b-2be1a451ffb1 |
37c328182c299349a4bba2ee47008131065af08a | 2e8a389b4f8a2beb787c2948b6ca1c3100cf78e7 | /nfa/non-vtf/unprocessed/armc-automata/fsa/unsolved/Bebop/gen-inv2.cc | f4db85975924d582bc3a748f00c28002e27dde1e | [] | no_license | ondrik/automata-benchmarks | 186f3149f3ccc3439db65bef6fef13d0f52e2e06 | 4a0081afa3440a882d265901dab6f45e10b22183 | refs/heads/master | 2022-08-21T05:07:29.248055 | 2022-07-28T14:14:30 | 2022-07-28T14:14:30 | 36,347,620 | 3 | 2 | null | 2021-08-02T19:58:35 | 2015-05-27T06:23:14 | null | UTF-8 | C++ | false | false | 1,576 | cc | #include <iostream>
#include <iomanip>
#include <stdlib.h>
int main(int argc,char *argv[]) {
int n;
if (argc!=2) {
cerr << "One numerical argument is to be provided!\n";
return 1;
}
n=atoi(argv[1]);
cout << "fa(\n\n";
cout << "%begin sigma and symbols\n";
cout << "r(fsa_preds),\n";
cout... | [
"ondra.lengal@gmail.com"
] | ondra.lengal@gmail.com |
516935585f1934b912400832bc073e797897bd54 | 819ba50f4d2482e856f3bab84bc77ce361f084e1 | /Light.cpp | a4a46e0af7a8bd1fa17b20c379a20433985ca5f2 | [] | no_license | ShuyangLiu/RayTracing | 772dfdcf2ae0cd9523ba689ece9b21baa9b5f978 | 7a220be0695afd67ba536652d828ad7854f8d912 | refs/heads/master | 2021-01-20T09:19:42.824861 | 2017-05-05T05:40:54 | 2017-05-05T05:40:54 | 90,236,059 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | //
// Created by shuyang on 5/3/17.
//
#include "Light.h"
Light::Light(const Vector &position, const Color &color) : position(position), color(color) {}
Light::Light() {
position = Vector(0,0,0);
color = Color(1,1,1,0);
}
const Vector &Light::getPosition() const {
return position;
}
void Light::setPosi... | [
"liushuyang2009@gmail.com"
] | liushuyang2009@gmail.com |
8638bc1e9b61e5d046bae31847b9a22e18d6cea7 | 57713b9b5226fc69eea314dee30097cca2ea3e6f | /Data-Structures/Sorted-List/array/sorted-list-array.cpp | 2e05ede9712dbdf908baa7548f5c7307418bdfb8 | [] | no_license | Just-Sieb/School | ef7b52a408538882ccf11eeacf4707af40f1e293 | 50d989e941df3bde8ccbf02c2a39a08327105bda | refs/heads/master | 2021-01-09T20:14:42.736506 | 2016-07-15T05:35:02 | 2016-07-15T05:35:02 | 62,327,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,376 | cpp | #include <iostream>
#include "sorted.h"
#include "ItemType.h"
using namespace std;
void MergeLists(SortedType &list1, SortedType &list2, SortedType& result)
{
result.ResetList();
list1.ResetList();
list2.ResetList();
ItemType item;
for(int count = 0; count < list2.GetLength(); count++)
{
... | [
"just.sieb@gmail.com"
] | just.sieb@gmail.com |
8a7eb9f7435bd12756a0e83a89916387c9145d08 | f38bfeb7139a97f054963f2671b9be4b1685d17c | /src/headers.cpp | 91d613289cc8fe03ed1a9f6fd6d8279b70bc6296 | [] | no_license | a-n-t-h-o-n-y/HTTP-Library | 774f90eb7d06a132c26b436e9108c98c243c3f89 | b9e6ed223b7001b6a4bd0383fff7db4dd250d610 | refs/heads/master | 2020-03-16T06:43:13.145825 | 2019-05-26T20:41:59 | 2019-05-26T20:41:59 | 132,561,275 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | cpp | #include <http/headers.hpp>
#include <sstream>
#include <string>
namespace http {
std::string to_string(const Headers& headers) {
std::stringstream ss;
for (const auto& kv : headers) {
ss << kv.first << ": " << kv.second << "\r\n";
}
ss << "\r\n";
return ss.str();
}
} // namespace http
| [
"anthonym.leedom@gmail.com"
] | anthonym.leedom@gmail.com |
3f1803e595a84ce5b5b0b6bf465c1c6b287f6926 | b23d74c3f6725a9254ac0382fadf242a3aabb0e5 | /src/media/audio/drivers/aml-g12-tdm/test/dai-test.cc | 549c5781fd5479e31c61528ca3bd5b562bcf6502 | [
"BSD-3-Clause"
] | permissive | Eissen/fuchsia | dacd48dbfa50550d3ea34befdb536b5df5fed61d | 0df256e4ea207e2b83b11ba9c88fb1eca786a8bc | refs/heads/master | 2023-02-02T01:55:06.110096 | 2020-12-15T05:51:48 | 2020-12-15T05:51:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,505 | cc | // Copyright 2020 The Fuchsia Authors. All rights reserved. Use of
// this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "../dai.h"
#include <lib/device-protocol/pdev.h>
#include <lib/fake-bti/bti.h>
#include <lib/fake_ddk/fake_ddk.h>
#include <lib/sync/completion.... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
3e575f64e7b5b2a3f157510066f53c555620a7b8 | 6b5de3c98e553ce896dc4a8c32e1d3d6282d2716 | /ino/src/eyelink.cpp | 0b9ca7553b81cb990892f7163d45c5e8269925b7 | [] | no_license | nfagan/brains | f6e7a9cce80c49826342daa9efab15d066d92d0c | 8fd7d42ba0031e6af3fd390ed76bbfd6a64cac6d | refs/heads/master | 2021-01-18T23:26:40.907613 | 2019-03-15T17:11:09 | 2019-03-15T17:11:09 | 87,111,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,297 | cpp | #include "eyelink.h"
//
// bounds
//
bounds::bounds()
{
for (unsigned i = 0; i < 4; i++)
{
rect[i] = 0;
}
state_changed = false;
}
void bounds::update(float x, float y)
{
bool prev = in;
check(x, y);
state_changed = prev != in;
}
void bounds::check(float x, float y)
{
bool in_x = x >= rect... | [
"nick@fagan.org"
] | nick@fagan.org |
ec70a8e5f6ffacbe0ac67408c988dfce1e84b04c | 5d7807e52888b9505c4b5a0e24f5f87e4f6c343f | /cryengine/CryCommon/Cry_Geo.h | 8d18072d81029c840dbf85db239eaa76a0707b38 | [] | no_license | CapsAdmin/oohh | 01533c72450c5ac036a245ffbaba09b6fda00e69 | b63abeb717e1cd1ee2d3483bd5f0954c81bfc6e9 | refs/heads/master | 2021-01-25T10:44:22.976777 | 2016-10-11T19:05:47 | 2016-10-11T19:05:47 | 32,117,923 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 27,031 | h | //////////////////////////////////////////////////////////////////////
//
// Crytek Common Source code
//
// File: Cry_Geo.h
// Description: Common structures for geometry computations
//
// History:
// -March 15,2003: Created by Ivo Herzeg
//
/////////////////////////////////////////////////////////////////... | [
"eliashogstvedt@gmail.com"
] | eliashogstvedt@gmail.com |
b343257f62ad8fa85c6a00d847d96cb4d30eb853 | 3a8e503170c50a466b3c7f42973291637f0cff17 | /Source/ConditionFactory.cpp | 3ec325f6530e248c934fda3a27f8c1e4a52b82ef | [
"Unlicense"
] | permissive | haskellstudio/Chataigne | 4388aed28358360ab222ea99baaaba1ee06ec49c | b8fcbb9d14f61cce4c8a95e22aa11edf0cd165e3 | refs/heads/master | 2021-01-15T12:42:53.871648 | 2017-07-09T10:19:49 | 2017-07-09T10:19:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,491 | cpp | /*
==============================================================================
ConditionFactory.cpp
Created: 21 Feb 2017 11:56:12am
Author: Ben
==============================================================================
*/
#include "ConditionFactory.h"
#include "StandardCondition.h"
#include ... | [
"bkuperberg@gmail.com"
] | bkuperberg@gmail.com |
dd17d7c21ea7074d6972d7f60d13a5cdca224f80 | d4a240f412b0b9df47fe5efb9864a776b5522bce | /src/pwm_controlled_peltier/pwm_controlled_peltier.ino | 7bd59723e34d17488f32594a4e49607a776d8f5b | [] | no_license | ideapod/peltier-fermenter | 12a3d3ca201e9d3eb7f9f9cc48d37de363dd76b5 | 4707b6522e40ea4cd81f5e32f4f2c0d2a96c1422 | refs/heads/master | 2021-01-25T04:01:49.199262 | 2013-12-05T04:43:51 | 2013-12-05T04:43:51 | 10,396,660 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | ino | //////////////////////////////////////////////////////////////////
//©2011 bildr
//Released under the MIT License - Please reuse change and share
//Simple code to output a PWM sine wave signal on pin 9
//////////////////////////////////////////////////////////////////
const int fadePin = 3;
void setup(){
pinMode(fa... | [
"ideapod@optusnet.com.au"
] | ideapod@optusnet.com.au |
2bae34337f866cad41f63f20cae23d80c5579256 | 09e691cd33d9eab57b903d717e8e65194aedcca7 | /SDK/PUBG_CustomizableObject_parameters.hpp | 8acf11fd26ad4123e1f241eed0c4ad88b2f6be58 | [] | no_license | violarulan/PUBG-SDK | 8a6ed46abe103147c772cd31cf1e07541a99e844 | 148a48829ef23355a2a6a3ecb286985677f4e274 | refs/heads/master | 2021-01-06T20:40:15.064387 | 2017-08-03T16:24:22 | 2017-08-03T16:24:22 | 99,541,605 | 1 | 0 | null | 2017-08-07T05:55:34 | 2017-08-07T05:55:34 | null | UTF-8 | C++ | false | false | 506 | hpp | #pragma once
// PLAYERUNKNOWN'S BATTLEGROUNDS (2.5.26) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Parameters
//--------------------------------------------------------------------------... | [
"pubgsdk@gmail.com"
] | pubgsdk@gmail.com |
6452291cc09c45c3fc97f9d46b78e8329b889906 | da5e146576291666521269108b583ec6f7c76f5a | /SolidSBCSDK/src/net/CSolidSBCSocketResult.h | a15a766d76c361a7eb31ab18959c6bc59c08c91e | [] | no_license | M0WA/SolidSBCLinux | 8a1a477effa56a21592c8a55fd382d962c68176e | 72e8aabbff9fd815ac2ea60381707618a73ea4ce | refs/heads/master | 2020-04-19T14:40:38.413911 | 2011-11-20T03:49:43 | 2011-11-20T03:49:43 | 168,250,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 829 | h | /*
* CSolidSBCSocketResult.h
*
* Created on: 05.09.2011
* Author: Moritz Wagner
*/
#ifndef CSOLIDSBCSOCKETRESULT_H_
#define CSOLIDSBCSOCKETRESULT_H_
#include "CSolidSBCSocket.h"
class CSolidSBCSocketResult: public CSolidSBCSocket
{
public:
CSolidSBCSocketResult();
virtual ~CSolidSBCSocketResult();
vir... | [
"admin@12d8b6cd-ff96-4cb4-b477-b191590c26b9"
] | admin@12d8b6cd-ff96-4cb4-b477-b191590c26b9 |
ffe35c8d770c8f4c7de6f0c50c3e548bf781e71d | 1f1e6cf88fb2de1ea55db73d03232157bf37495c | /metaq-client4cpp/ext/lwpr/src/EventNetDispatch.cpp | db164dd8a4cfcd104d3165cb639f8f5a1b45e702 | [
"Apache-2.0"
] | permissive | abscasey/metaq | 5f84615181c56164e843b33cd5001d045cc70535 | 62496e978d431bb8c74a17eec95309c7e41bb309 | refs/heads/master | 2020-12-25T11:05:16.336529 | 2014-12-15T11:18:28 | 2014-12-15T11:18:28 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 13,355 | cpp | /*
* $Id: EventNetDispatch.cpp 3 2011-08-19 02:25:45Z $
*/
#include "EventNetDispatch.h"
#include "Synchronized.h"
#include "Utility.h"
#include <assert.h>
namespace LWPR
{
//----------------------------------------------------------------------------------
// class EventNetHandler
//----------------... | [
"vintage.wang@gmail.com"
] | vintage.wang@gmail.com |
eb7f7baad04196cbaa5773b72f87a96b4e5cb1f2 | b66c34b4bb4a9e017f0af16b4ea055264fd04eb0 | /Source/EndlessVehicleRunner/Vehicles/EVRVehicleAI.cpp | c7bb1264445127ed1e01ebbd56665c409be85918 | [] | no_license | Stephen1902/EndlessVehicleRunner | 798049912210420e23d8033eebbb8fac425c7698 | f8e750fcf6238151c1b552a4a2d54c1057f61548 | refs/heads/main | 2023-08-06T20:40:27.796938 | 2021-09-30T20:00:55 | 2021-09-30T20:00:55 | 404,382,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,201 | cpp | // Copyright 2021 DME Games
#include "EVRVehicleAI.h"
#include "EVRVehiclePlayer.h"
#include "Components/BoxComponent.h"
#include "Kismet/GameplayStatics.h"
AEVRVehicleAI::AEVRVehicleAI()
{
// Set this pawn to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActor... | [
"s_nichols_other@yahoo.co.uk"
] | s_nichols_other@yahoo.co.uk |
f7483fd6dc2a422aa0d0759ca4c1942bc906420c | 7c742432f93af1bd8a2bc5a0e4e7f2dd4539d10f | /Code/477_Total_Hamming_Distance.cpp | 1fdbea18e34d29fee35e95cf48bc0a6b8e0bed6e | [] | no_license | FeibHwang/OJ-Leetcode | f84725c78e376cd1f115d62578db5c7e9ba6cb4a | 71700a5cfe6319a248253a61b67a8f406c5a091f | refs/heads/master | 2021-01-16T22:09:25.581307 | 2017-03-09T20:29:53 | 2017-03-09T20:29:53 | 64,374,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,202 | cpp | /*
The Hamming distance between two integers is the number of positions at which the corresponding bits are different.
Now your job is to find the total Hamming distance between all pairs of the given numbers.
Example:
Input: 4, 14, 2
Output: 6
Explanation: In binary representation, the 4 is 0100, 14 is 1110, and 2 ... | [
"feibai.hwang@outlook.com"
] | feibai.hwang@outlook.com |
f47a29e41e471019618b566f2dd1402b78f51ab2 | 82871bf2328b9d2ecc78b56ff77c57e6a2c21c7a | /cpp/include/cudf/io/orc.hpp | c2187f056cfd12d7547b87ff25624ff3926f347b | [
"Apache-2.0"
] | permissive | galipremsagar/cudf | 63e3a7479b38a85e99aaf26fbbfb3f0545a29712 | 2c6b0dac61a6671642bb5b076e910e20e2bdd1b6 | refs/heads/branch-22.04 | 2023-08-31T10:17:42.664118 | 2022-01-31T23:35:47 | 2022-01-31T23:35:47 | 190,782,603 | 0 | 0 | Apache-2.0 | 2019-06-07T17:20:57 | 2019-06-07T17:20:56 | null | UTF-8 | C++ | false | false | 31,206 | hpp | /*
* Copyright (c) 2020-2022, NVIDIA CORPORATION.
*
* 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... | [
"noreply@github.com"
] | noreply@github.com |
3f39f5ef1d07d78f22827d1909726511e7bf1014 | 30ec2372ac36d40f4557c5f39cb606452e6e6bf5 | /StarVMC/geant3/geant321/s_mat.inc | 51244114388bccec7d6f2eec1f0806d927af7c77 | [] | no_license | yfisyak/star-sw | fe77d1f6f246bfa200a0781a0335ede7e3f0ce77 | 449bba9cba3305baacbd7f18f7b3a51c61b81e61 | refs/heads/main | 2023-07-12T01:15:45.728968 | 2021-08-04T22:59:16 | 2021-08-04T22:59:16 | 382,115,093 | 2 | 0 | null | 2021-07-01T17:54:02 | 2021-07-01T17:54:01 | null | UTF-8 | C++ | false | false | 806 | inc | *
* $Id: s_mat.inc,v 1.1.1.3 2009/02/18 20:33:07 fisyak Exp $
*
* $Log: s_mat.inc,v $
* Revision 1.1.1.3 2009/02/18 20:33:07 fisyak
* *** empty log message ***
*
* Revision 1.1.1.1 2002/06/16 15:18:38 hristov
* Separate distribution of Geant3
*
* Revision 1.1.1.1 1999/05/18 15:55:17 fca
* AliRoot sources
*
* Rev... | [
"fisyak@rcas6005.rcf.bnl.gov"
] | fisyak@rcas6005.rcf.bnl.gov |
91a11346d2d744311f51b7cb71f012f2bf800d33 | e2b259476b2c47a701d87f16f2271ef760e02d5f | /include/tweedledee/qasm/qasm.hpp | f057fb46f9b2bf3ce3503c1040d09ba3506d5725 | [
"MIT"
] | permissive | meamy/tweedledee | d0da06ca6f3158ee4440d3e67b80cd6c38616761 | 8eeea0534f5a5e7a8d9332c9c1380603d95e337d | refs/heads/master | 2020-05-23T16:01:36.134853 | 2019-05-29T19:53:56 | 2019-05-29T19:53:56 | 186,840,339 | 0 | 0 | MIT | 2019-05-15T14:11:28 | 2019-05-15T14:11:27 | null | UTF-8 | C++ | false | false | 1,302 | hpp | /*-------------------------------------------------------------------------------------------------
| This file is distributed under the MIT License.
| See accompanying file /LICENSE for details.
| Author(s): Bruno Schmitt
*------------------------------------------------------------------------------------------------... | [
"matt.e.amy@gmail.com"
] | matt.e.amy@gmail.com |
3f6261e1b85ef3ee29937f2eba7c133c42e15d9a | 2c4a5c6037ecc40d04c89d55c867c347042f1f4e | /Wet4/tests/test158.cpp | 3105b6cdcf834edac9973ab75483d9157f26ecb4 | [] | no_license | kariander1/OperatingSystems | 056d684833286e49ef375e2ed0a0b00f482064ef | 4671a3cc6746e02e6938c9eb229b3e7016f06c69 | refs/heads/master | 2023-08-11T04:01:39.533946 | 2021-10-09T10:17:06 | 2021-10-09T10:17:06 | 358,538,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,228 | cpp | #include "aux_macro.h"
#include "../malloc_3.cpp"
#include <iostream>
void printStats()
{
std::cout << "_num_free_blocks: " << _num_free_blocks() << std::endl;
std::cout << "_num_free_bytes: " << _num_free_bytes() << std::endl;
... | [
"shaiyehezkel@campus.technion.ac.il"
] | shaiyehezkel@campus.technion.ac.il |
24796c9f951fa7c463099aefcf563008fc6dc5c3 | df968d326125adfd97e4451d646c3847308ea6ad | /cpp_primer_plus/chapter_07/procedure_09/strgfun.cpp | adeb67f3caec43239e83dc417ae361c200a52e89 | [] | no_license | buxucixingztx/cpp_learning | f47d9212c0f01673de29ec82e094c44e48d97ad1 | 2047c75a34cf2240288234ba95a32b28f2838353 | refs/heads/master | 2023-01-09T10:47:03.225070 | 2020-11-06T03:29:32 | 2020-11-06T03:29:32 | 271,570,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | cpp | // strgfun.cpp -- functions with a string argument
#include <iostream>
unsigned int c_in_str(const char * str, char ch);
int main()
{
using namespace std;
char mmm[15] = "minimum";
char *wail = "ululate";
unsigned int ms = c_in_str(mmm, 'm');
unsigned int us = c_in_str(wail, 'u');
cout << ms ... | [
"bxucixing@163.com"
] | bxucixing@163.com |
f9a9ce124e709eaf6b248086da03909dc1d629cc | 34b17d5c0411d2105ec9ee8b53aa8dcf6a58bbbd | /node_mcu/blink_led/blink_led.ino | 1eae81f3ea76035bd7f4b8f6e07e010eb85e34c6 | [] | no_license | damiancipolat/arduino101 | 007989e6388f6d3938c81477e6ef7d8e8dd6691f | 41baaf0142898812eaaf2a1517a09b45905ed02c | refs/heads/master | 2023-02-26T08:35:21.141236 | 2021-02-03T08:49:35 | 2021-02-03T08:49:35 | 280,681,701 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 606 | ino | #define LED_BUILTIN 5
void setup() {
pinMode(LED_BUILTIN, OUTPUT); // Initialize the LED_BUILTIN pin as an output
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, LOW); // Turn the LED on (Note that LOW is the voltage level
// but actually the LED is on; this... | [
"damian.cipolat@gmail.com"
] | damian.cipolat@gmail.com |
0bb8da489a9400049edfa48bf01b4596dd17aea8 | 0bdd5a3adf6e66ac6631cc63bf0d212f30904e9c | /DesignMode/Singleton/HungrySingleton.cpp | 9654b7ddcdff8bf965438defac36c1d9331d0e52 | [] | no_license | BigMouseFive/DesignMode | a20a4b2ae4712144b20644620943cee05f83f28c | 433e598388e3c78fe987505cdf638ea171f0755d | refs/heads/master | 2020-08-31T10:42:20.619056 | 2019-11-02T02:58:19 | 2019-11-02T02:58:19 | 218,671,927 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 263 | cpp | #include "HungrySingleton.h"
#include<cstdio>
HungrySingleton* HungrySingleton::instance = new HungrySingleton();
HungrySingleton::HungrySingleton(){
printf("HungrySingleton: Created.\n");
}
HungrySingleton* HungrySingleton::GetInstance(){
return instance;
}
| [
"790545771@qq.com"
] | 790545771@qq.com |
8071423f7e1984724f8c45571c0a070afb661781 | e74670462bc1d91d8a1b6361a849adb9968c7a56 | /c++/src/capnp/schema-parser-test.c++ | 3e0e2362763f05d279d1aed8056018be420b14bf | [
"BSD-2-Clause"
] | permissive | Mause/capnproto | 53344d6b9edfef5d64bfd0bbc2f2f0e68d388fb9 | b90263bb0cc56315d1ddc413377390fd92f2f6d5 | refs/heads/master | 2022-06-16T22:26:18.336061 | 2013-12-06T11:12:29 | 2013-12-06T11:12:29 | 14,927,598 | 0 | 0 | BSD-2-Clause | 2022-05-17T03:17:53 | 2013-12-04T15:29:48 | C++ | UTF-8 | C++ | false | false | 7,410 | // Copyright (c) 2013, Kenton Varda <temporal@gmail.com>
// 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, this
//... | [
"temporal@gmail.com"
] | temporal@gmail.com | |
773d9703b8fc751bd2e5eea86e158f575dbd5947 | 23ca310ab083819810f1f6471173e0f22e946261 | /lab12/factors.cpp | 445c37f586d4b13aebe3ce59e1843bc190362685 | [] | no_license | siomon0330/USC-CSCI455 | e62f456683e769957148660226247c1794d9f0be | 5c096e8f216028e4ee44e5d033b34a3db62d8e92 | refs/heads/master | 2021-05-05T10:44:09.295787 | 2017-09-20T20:16:25 | 2017-09-20T20:16:25 | 104,261,637 | 13 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 396 | cpp | #include <iostream>
using namespace std;
// finds all of n's factors
// not including 1 and itself
void factors (int n)
{
//int k = 2;
int k = 0;
while (k < n) {
if (n % k == 0) {
cout << k << endl;
}
// k++;
}
}
int main()
{
int n;
cout << "Find factors of what number? ";
cin >> ... | [
"noreply@github.com"
] | noreply@github.com |
b6ed6f46f4901e462d9839f1008befcc11705049 | 675e0bd80e7cb4ee507dc70e6e714e6fa4f5b5a4 | /plugins/uep/src/WorldLogic.cpp | 984e47f8933734836a66df0856dda674221f65eb | [] | no_license | MaxStgs/MagicFirstBase | 264e0b0cd1cecf41c7d981e7a20cd879fff02c4a | 0f540dcc57df7c2d57a40e4b6a312f4a429ff46e | refs/heads/master | 2022-07-17T16:27:32.581761 | 2020-05-22T12:46:52 | 2020-05-22T12:46:52 | 266,108,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,940 | cpp | #include "WorldLogic.h"
#include <UnigineConsole.h>
#include <UnigineInput.h>
#include <UnigineApp.h>
#include <UnigineControls.h>
#include <UnigineEditor.h>
#include <Windows.h>
using namespace Unigine;
int my_world_logic::init()
{
if (!Editor::isLoaded())
{
take_focus();
}
Log::message("ue... | [
"peters2011.pm@gmail.com"
] | peters2011.pm@gmail.com |
b27453e078b59e007915e4e8c3e316b77dcf090d | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/make/old_hunk_434.cpp | 0891070620fb1e2a7aa1bc08000595fb77c05cd3 | [] | 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 | 807 | cpp | expand_builtin_function (char *o, int argc, char **argv,
const struct function_table_entry *entry_p)
{
if (argc < (int)entry_p->minimum_args)
fatal (*expanding_var,
_("insufficient number of arguments (%d) to function '%s'"),
argc, entry_p->name);
/* I suppose tec... | [
"993273596@qq.com"
] | 993273596@qq.com |
59d484ecd9d0333632b5b9318976b99a8f031f29 | 1fb14697fc0b8a0d3fcaf29c8295aca0440049e9 | /include/sbml/packages/fbc/util/CobraToFbcConverter.h | 4ded93d629ba85ac2ca0f673d78a0dd92f9cf29d | [] | no_license | rwinlib/libsbml | 7144aca4dbd0989e4f42609ee18756d7c8f10d5f | 0538ddb0c671e4f56d30271f39fa72a9ff986542 | refs/heads/master | 2023-04-20T05:31:18.057667 | 2021-05-15T11:36:04 | 2021-05-15T11:36:04 | 367,614,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,259 | h | /**
* @file CobraToFbcConverter.h
* @brief Definition of a cobra 2 fbc converter.
* @author Frank T. Bergmann
*
* <!--------------------------------------------------------------------------
* This file is part of libSBML. Please visit http://sbml.org for more
* information about SBML, and the lat... | [
"jeroenooms@gmail.com"
] | jeroenooms@gmail.com |
a668bac8139d18f2a1f0bd6198c0dfe4a1997e43 | 983424bb42cdbef82975287229652d490dd8f521 | /Sorting 1.cpp | cda5a814081179c10c720f93d82bd6392315ec12 | [] | no_license | namnguyen215/Thuc_hanh_tin | d6802641b73576fdda951f38bb6b5ab31d7d5d7f | c6958a8f9a1ca4a3fc578054cfc289fd9e935bae | refs/heads/main | 2023-07-17T07:32:51.408534 | 2021-08-06T14:29:34 | 2021-08-06T14:29:34 | 305,582,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--){
int n;
cin>>n;
int a[n+1];
for(int i=0;i<n;i++) cin>>a[i];
sort(a,a+n);
for(int i=0;i<n/2;i++)
{
cout<<a[n-1-i]<<" "<<a[i]<<" ";
}
if(n%2!=0) cout<<a[(n-1)/2];
cout<<endl;
}
}
| [
"namnguyenphuong215@gmail.com"
] | namnguyenphuong215@gmail.com |
e0b42059ddba2c19af4655edaad3a28361cc9eda | a62342d6359a88b0aee911e549a4973fa38de9ea | /0.6.0.3/Internal/SDK/NavArea_WildAnimals_classes.h | d244b7f1987fb13f12ab58db636e5bc0bcb6c34d | [] | no_license | zanzo420/Medieval-Dynasty-SDK | d020ad634328ee8ee612ba4bd7e36b36dab740ce | d720e49ae1505e087790b2743506921afb28fc18 | refs/heads/main | 2023-06-20T03:00:17.986041 | 2021-07-15T04:51:34 | 2021-07-15T04:51:34 | 386,165,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | h | #pragma once
// Name: Medieval Dynasty, Version: 0.6.0.3
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-----------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
7c3ee1a2ad24eb2025a5ad7ede7b105ecd66eb25 | 3888b3333cf1ee5c9bfcf751c5f87f5d3be96ae9 | /Receive.ino | 555b97212ee2c75625ae8e449457418bbbc4c37d | [
"MIT"
] | permissive | highground88/CC1101-FSK | 28caea4bf4e0be0ed346c67883a5a243977ec6d1 | 36261ae9dcd842d05102eeb50a8765c41a0d72e1 | refs/heads/master | 2021-01-13T08:43:25.668195 | 2017-02-05T11:08:16 | 2017-02-05T11:08:16 | 81,635,235 | 3 | 0 | null | 2017-02-11T06:23:30 | 2017-02-11T06:23:30 | null | UTF-8 | C++ | false | false | 2,569 | ino | #include "EEPROM.h"
#include "cc1101.h"
// The connection to the hardware chip CC1101 the RF Chip
CC1101 cc1101;
byte b;
byte i;
byte syncWord = 199;
long counter = 0;
byte chan = 0;
// a flag that a wireless packet has been received
boolean packetAvailable = false;
/* Handle interrupt from CC1101 (INT0) gdo0 on pi... | [
"noreply@github.com"
] | noreply@github.com |
6721d709b5d4d99c3cc4d3a2c6a0f7f258ab981d | a6407eb8fb10668bc0e3f347ad106080a4ad7631 | /1000/1021.cpp | b438f3827887b9fa55c76508ea20c2f7b45c5066 | [] | no_license | shingiyeon/baekjoon | 76007b6d7dac1eba8cabbf1533abbdd39048bf16 | 116d272077c7647864045b727e4f7814cd994f91 | refs/heads/master | 2022-05-10T06:44:11.904843 | 2022-04-16T07:12:44 | 2022-04-16T07:12:44 | 175,241,620 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 782 | cpp | #include <stdio.h>
#include <vector>
using namespace std;
vector<int> v;
void left(){
int a = v[v.size()-1];
v.pop_back();
v.insert(v.begin(), a);
}
void right(){
int a = v[0];
v.erase(v.begin());
v.push_back(a);
}
int pop(){
int a = v[0];
v.erase(v.begin());
return a;
}
int main(){
int N, K;
int arr[5... | [
"nuclear852@kaist.ac.kr"
] | nuclear852@kaist.ac.kr |
7054955b2d61f8981f3b26d45bef875d53389dd1 | c06574d4ddf1e2cab62737e8b74accea3c34007a | /Codeforces/Round551/BServalAndToyBricks.cpp | 2a8e54a47381d91ec8fbc5b5d477e0d306a113ab | [] | no_license | t1war1/CP | 5ec8210c37c54262cb8758647fe52c0fec402f35 | 237c8e32e351511142c4fd79bb965a4e8efa37b6 | refs/heads/master | 2022-12-21T11:03:14.300293 | 2020-04-10T11:06:24 | 2020-04-10T11:06:24 | 116,372,420 | 0 | 1 | null | 2020-10-01T20:37:31 | 2018-01-05T10:19:59 | C++ | UTF-8 | C++ | false | false | 1,479 | cpp | #include <bits/stdc++.h>
#define mod 1000000007ll
#define mod2 100000009ll
#define mod3 998244353
#define pb push_back
#define fastIO ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL);
#define readi(x) scanf("%d",&x)
#define reads(x) scanf("%s", x)
#define readl(x) scanf("%I64d",&x)
#define PI 3.14159265358979... | [
"tiwarigaurav1998@gmail.com"
] | tiwarigaurav1998@gmail.com |
c6793bf986894297a6ba09a9f7ba1b4a055d92d3 | 96e57c9a645f7cb124756f922ed9a50011347a8f | /Lab - Minesweeper/L1 - Minesweeper/Array_2D.h | c8869b1af96909bdce8eb7cc4a852a3fd3277887 | [] | no_license | tannalynn/CST211-DataStructs | 1a7b325656eab3acc8930eb7469d1d04f28a0127 | b286571f6d9681f615010a08b2e1947fb46fe359 | refs/heads/master | 2016-09-09T14:16:42.577476 | 2015-04-04T18:39:58 | 2015-04-04T18:39:58 | 33,414,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,674 | h | /***************************************************************************************************
* Author: Tanna McClure
* File: Array_2D.h
* Date Created: 1/7/2015
*
* Modification Date: 1/9/2015
* Modification: Finished
*
******************************************************************... | [
"tanna.la.lynn@gmail.com"
] | tanna.la.lynn@gmail.com |
9c75cc0d7dea69143da9ad30e09b7fe52b0c5879 | a7d529b80ddcb0c48df98596970e2f8e3d8e1673 | /codcad/Programacao Basica/Caracteres/31 Auto Estrada.cpp | 5832e065c21e98005aa2692985a0536610d95659 | [] | no_license | jeffersonjpr/maratona | b3d662c5852865806bd898c3040910e316335e81 | 5e740a9e25a926c7ba4625e010dbbd77eb90e5e3 | refs/heads/master | 2021-07-11T02:13:38.858177 | 2020-06-16T19:35:56 | 2020-06-16T19:35:56 | 154,176,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 244 | cpp | #include <iostream>
using namespace std;
int main(){
int n,res=0;
char a;
cin >> n;
for(;n>0;n--){
cin >> a;
if(a == 'P'){res += 2;}
else if(a == 'C'){res += 2;}
else if(a == 'A'){res += 1;}
}
printf("%i\n",res);
}
| [
"jefferson_michael407@hotmail.com"
] | jefferson_michael407@hotmail.com |
22da0814dde406db7dcf8901a1f7243c6ca17580 | c53d25b27b443ad7a2d367d91321d041ba1095b6 | /UVa/537_Artificial Intelligence/537.cc | ae6ac01b57c1f2960a0742597dc9b3a32d498176 | [
"MIT"
] | permissive | hangim/ACM | 52323c5e890549e91b17e94ca5f69125e7dc6faf | 956b3d03a5d3f070ef24c940b7459f5cccb11d6c | refs/heads/master | 2021-01-19T13:52:22.072249 | 2015-09-28T12:31:11 | 2015-09-28T12:31:11 | 19,826,325 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,534 | cc | #include <iostream>
#include <iomanip>
#include <stdio.h>
using namespace std;
bool isContinue();
double getPrefix();
int main() {
int t;
cin >> t;
cin.get();
for (int index = 1; index <= t; index++) {
double u = -1, p = -1, i = -1;
char var;
while (true) {
var = g... | [
"pdszhh@qq.com"
] | pdszhh@qq.com |
d7655f5fcd1fdab435d4cd1324dfd138c9967d53 | 455a676e549f1fc1f889d7536c921126476acca2 | /llvm/lib/Transforms/Utils/InlineFunction.cpp | fd27cb9a130f53549a13c7c17a6910cbaef0d797 | [
"LicenseRef-scancode-other-permissive",
"NCSA",
"MIT",
"LLVM-exception",
"Apache-2.0"
] | permissive | neboat/opencilk-ppopp-23 | db342b1c1e83af424df7f5b1809c1ec1d19abf09 | 3fd08f23ef9b792f4a55e7aeebc7d44beddf3532 | refs/heads/main | 2023-04-13T22:44:17.301592 | 2023-01-06T22:16:27 | 2023-01-06T22:16:27 | 565,455,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 136,361 | cpp | //===- InlineFunction.cpp - Code to perform function inlining -------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"neboat@mit.edu"
] | neboat@mit.edu |
7e66f69f4d2b313dd53a8c393661500c63ae4bd2 | ee5666df7308225a4d0cfa820968f5b532e1a164 | /const_member_function.cpp | e7c131f7eaa4f2a5b2497d80cb80a3b5dfdb85ed | [
"Apache-2.0"
] | permissive | johnhany/cpp_notes | 199995e12ec1fbaf3df72917b9e6df582dbf7f97 | 913002f1bd6089ca5d0d7f9ca3f1f25d888fdd0b | refs/heads/master | 2022-09-25T16:56:13.890465 | 2020-06-07T03:48:43 | 2020-06-07T03:48:43 | 266,788,592 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,035 | cpp | #include <iostream>
using namespace std;
class MyClass {
private:
int counter;
public:
void Foo() {
counter++;
std::cout << "Foo" << std::endl;
}
void Foo() const {
//counter++;
std::cout << "Foo const" << std::endl;
}
int GetInvocations() const {
ret... | [
"johnhany@163.com"
] | johnhany@163.com |
ac3efe809659a34b8d62b2699e869cba1c4e3d85 | 1b0aadb6dc881bf363cbebbc59ac0c41a956ed5c | /xtk/Samples/Utilities/CommandBarsDesigner/DialogNewSymbol.h | 15c3a8474e7b717f66caaeb3b9dcdd0f40fe34d0 | [] | no_license | chinatiny/OSS | bc60236144d73ab7adcbe52cafbe610221292ba6 | 87b61b075f00b67fd34cfce557abe98ed6f5be70 | refs/heads/master | 2022-09-21T03:11:09.661243 | 2018-01-02T10:12:35 | 2018-01-02T10:12:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,056 | h | // DialogNewSymbol.h : header file
//
// This file is a part of the XTREME TOOLKIT PRO MFC class library.
// (c)1998-2007 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN
// CONSEN... | [
"w.z.y2006@163.com"
] | w.z.y2006@163.com |
aa82bf14c6392f5d7360fc3a2b66da75488c5811 | a637c6c71a11fa9731354e963f0ad47ff8b2f12e | /BRUSH.H | f28643b8d8203ad6aa177129d699a525ec1c2df0 | [] | no_license | cooling-technology-institute/CTIBluebook2017 | ddc6ce4094658ce7381f286851132af92c2352e7 | 1041ddfd0a02faf7e04afc4843759251b98ad1c0 | refs/heads/master | 2020-08-01T23:38:45.947013 | 2019-09-26T22:17:20 | 2019-09-26T22:17:20 | 211,161,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,212 | h | #if !defined(AFX_BRUSH_H__4BE02FA8_0229_11D2_AE48_00400141862D__INCLUDED_)
#define AFX_BRUSH_H__4BE02FA8_0229_11D2_AE48_00400141862D__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify t... | [
"noreply@github.com"
] | noreply@github.com |
f75f105358fb5d8d4953010a7edbeca18fe5c4c7 | 4728c8d66b28dbc2644b0e89713d1815804da237 | /src/media/audio/lib/effects_loader/effects_processor.h | 9d2db80bedf83dabb8d0f4bc6c72e06a4ef2db22 | [
"BSD-3-Clause"
] | permissive | osphea/zircon-rpi | 094aca2d06c9a5f58ceb66c3e7d3d57e8bde9e0c | 82c90329892e1cb3d09c99fee0f967210d11dcb2 | refs/heads/master | 2022-11-08T00:22:37.817127 | 2020-06-29T23:16:20 | 2020-06-29T23:16:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,314 | h | // Copyright 2018 The Fuchsia 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 SRC_MEDIA_AUDIO_LIB_EFFECTS_LOADER_EFFECTS_PROCESSOR_H_
#define SRC_MEDIA_AUDIO_LIB_EFFECTS_LOADER_EFFECTS_PROCESSOR_H_
#include <zircon/types.h>
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
28c6a0a4347489a8789377cbb6b565edd246989a | af7e277c2a503fdc85601c7b58d549b14f9c3e63 | /lab3/house.h | 0c9ac553c9b41c25ae954d90a30157331848d83d | [] | no_license | fridajan/cdate | 070892f47de3f164ee93ec61e2b647d605be4eaa | cd48056cd4790416d441ef015d4a7bb0b1dcb46b | refs/heads/master | 2016-09-05T10:58:27.575299 | 2014-01-22T16:12:14 | 2014-01-22T16:12:14 | 14,136,585 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 417 | h | #ifndef HOUSE_H_
#define HOUSE_H_
#include "place.h"
#include "room.h"
#include "garden.h"
#include "Items/item.h"
#include <stdexcept>
#include <string>
#include <vector>
#include <map>
namespace haunted_house
{
class House {
private:
std::vector<Place*> places;
public:
House();
~House();
... | [
"frida.k.jansson@gmail.com"
] | frida.k.jansson@gmail.com |
79ea662258e0895d72c6bd27d6515b79f6b488d5 | 9537303a499408e640830402ab82f821cbc3bc90 | /QT5-Development-and-examples/CH3/contact.h | f497e13f84b968f55dbc4bf2a312ede5155e82a9 | [] | no_license | yang-360/Qt_project | f7961ed38f5f0b157a6e8f5e4b068deec263e680 | 13f3ec436cc251e01903c16033709ed00132a6a0 | refs/heads/master | 2023-04-14T19:37:48.031145 | 2021-05-05T17:20:38 | 2021-05-05T17:20:38 | 266,720,384 | 0 | 0 | null | 2020-05-25T09:13:19 | 2020-05-25T08:05:22 | null | UTF-8 | C++ | false | false | 619 | h | #ifndef CONTACT_H
#define CONTACT_H
#include <QWidget>
#include <QLabel>
#include <QGridLayout>
#include <QLineEdit>
#include <QCheckBox>
class contact : public QWidget
{
Q_OBJECT
public:
explicit contact(QWidget *parent = nullptr);
signals:
private:
QLabel *EmailLabel;
QLineEdit *EmailLineEdit;
Q... | [
"13755546592@163.com"
] | 13755546592@163.com |
0bceeddd59e07d74d85c4fd9a97e2fc19885a902 | 064741ef54df109388c291db9e5820bc90b9f664 | /cppfiles/318A.cpp | cbd55a189b82648560bcda6e04eb7c4df6e986e5 | [] | no_license | overlorde/codeforces | 2bf48bb3b638e8c8406d39c25c265b84115043fa | 87a6fdde921abaccbe88e13d75b0a929bea7117c | refs/heads/master | 2023-06-14T15:22:38.483292 | 2021-07-08T09:45:57 | 2021-07-08T09:45:57 | 266,014,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main()
{
ll n,k;
cin>>n>>k;
if(n%2==0)
{
if(k<=n/2)
{
cout<<2*k-1<<endl;
}
else{
k=k-n/2;
cout<<2*k<<endl;
}
}
else{
if(k<=(n/2)+1)
... | [
"farhansaif488@gmail.com"
] | farhansaif488@gmail.com |
c7e540f5f2e208fd121ad45d0cb2bf07ca5e32c4 | b16e2f8cc94df8320f9caf8c8592fa21b1f7c413 | /Luogu/P4777/chinese_remainder_theorem.cpp | 1349d0d1855caad4860b573a9960d0220057c6cc | [
"MIT"
] | permissive | codgician/Competitive-Programming | 000dfafea0575b773b0a10502f5128d2088f3398 | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | refs/heads/master | 2022-06-13T04:59:52.322037 | 2020-04-29T06:38:59 | 2020-04-29T06:38:59 | 104,017,512 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,443 | cpp | #include <bits/stdc++.h>
using namespace std;
#define SIZE 100010
long long int cstArr[SIZE], modArr[SIZE];
int equNum;
long long int fastMul(long long int a, long long int n, long long int mod) {
long long int ret = 0;
a %= mod;
while (n > 0) {
if (n & 1)
ret = (ret + a) % mod;
... | [
"codgician@users.noreply.github.com"
] | codgician@users.noreply.github.com |
88d3fb14518db3c2c97a999521dc451baa137011 | 36c31b485a5906ab514c964491b8f001a70a67f5 | /AtCoder/ABC188B.cpp | 6c4e7cd2b5a46c36a12592fbc1290abab2a59a1a | [] | no_license | SMiles02/CompetitiveProgramming | 77926918d5512824900384639955b31b0d0a5841 | 035040538c7e2102a88a2e3587e1ca984a2d9568 | refs/heads/master | 2023-08-18T22:14:09.997704 | 2023-08-13T20:30:42 | 2023-08-13T20:30:42 | 277,504,801 | 25 | 5 | null | 2022-11-01T01:34:30 | 2020-07-06T09:54:44 | C++ | UTF-8 | C++ | false | false | 1,050 | cpp | #include <bits/stdc++.h>
#define ll long long
#define sz(x) (int)(x).size()
using namespace std;
//mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
//uniform_int_distribution<int>(1000,10000)(rng)
ll binpow(ll a, ll b)
{
ll res = 1;
while (b > 0)
{
if (b & 1)
res = r... | [
"mahajan.suneet2002@gmail.com"
] | mahajan.suneet2002@gmail.com |
8bcce4d3601d0a84fe79db18244399e5baba71c1 | acaee026fefd54051676991ba1b24ae62a212436 | /tut_6/Source Files/main.1.cpp | 3e10ef67e5bc9b4386416af5bb3e429dbb05ee48 | [] | no_license | Chris-QingYuan/pick_up_cpp | 596e063f47334dd1596e5cab0f7d58b02483a084 | e72a2c19789eae46de97cd467d87f912cd5f8594 | refs/heads/master | 2020-03-28T21:56:39.857672 | 2018-09-23T17:58:48 | 2018-09-23T17:58:48 | 149,194,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 665 | cpp | #include <iostream>
#include <cstdlib>
#include <string>
#include <vector>
#include <numeric>
#include <sstream>
std::vector<std::string> strToVec(std::string str, char separator);
int main(int argc, char const *argv[])
{
std::vector<std::string> vec = strToVec("what is in this string?", ' ');
for (std::stri... | [
"1515y.chris@gmail.com"
] | 1515y.chris@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.