blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
16515e3d4a9db2dd60b0d32557c9490e1bace854 | 40416cef809fa0a88afef5b5e8f7a04e16abbc20 | /Zenitka/Object.cpp | 7ef43fe327dea540170fdc08c8348ddb98a782a5 | [] | no_license | GetRight23/AntiaircraftGun | 111989db7923935ee8f57515206997bea46f7412 | a5dbdde925efbce5bcac859e4cd45796615e7d1a | refs/heads/master | 2020-04-01T21:29:44.232549 | 2018-10-18T17:13:42 | 2018-10-18T17:13:42 | 153,659,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | #include "Object.h"
Object::Object() : x(0), y(0), w(0), h(0), startX(0), startY(0) {
sprite.setPosition(x, y);
}
Object::Object(float x, float y, float sx, float sy, float w, float h, sf::Texture& texture) : x(x), y(y), w(w), h(h), startX(sx), startY(sy) {
setTexture(texture);
sprite.setPosition(x, y);
}
Object::... | [
"ivasilich23@gmail.com"
] | ivasilich23@gmail.com |
54c32181fda033b69bfb9d00cbb6c132331694be | 7067fef998a194e5f0997a1def3b7326947c0b54 | /Common/AEAliasList.cp | 2d269ba086014c0f8ced177a2f513209947129eb | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | quicksilver/OnMyCommand-qsplugin | 3c8a0017603e809c11a50c2c4c3c5cea0d368bd7 | 14bd6c31c1210013db2c73fee249bdbf9b08a7ea | refs/heads/main | 2022-06-02T09:53:48.389877 | 2011-07-26T09:40:46 | 2011-07-26T09:40:46 | 1,885,847 | 1 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 5,786 | cp | //**************************************************************************************
// Filename: AEAliasList.cp
// Part of Contextual Menu Workshop by Abracode Inc.
// http://free.abracode.com/cmworkshop/
// Copyright © 2002-2003 Abracode, Inc. All rights reserved.
//
// Description: Lightweight list of ali... | [
"jnj@57e2f9b5-c12c-0410-8e95-a1ee7272c91a"
] | jnj@57e2f9b5-c12c-0410-8e95-a1ee7272c91a |
206266d760d85b3d69f71d7a58e7a6ffa70a554a | 2849e23dd5f004e9656c01507461b34ce47098f5 | /src/MEDebug.cpp | 7ac8f56761394c845c4585ce4b8c6784e7873088 | [] | no_license | FrozenArcher/MakeEngine | a671556bc0fbf95b5ac911ab34994c6c8c183467 | 1d6a5e51ac3a81d399142af90f07eb0f6455fd84 | refs/heads/master | 2023-05-12T14:33:27.290970 | 2021-06-06T13:55:14 | 2021-06-06T13:55:14 | 374,047,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | cpp | //
// Created by fracher on 2021/6/5.
//
#include "METime.h"
#include "MEBaseTypes.h"
#include <iostream>
using std::cout, std::endl;
namespace MakeEngine {
void Log(const MEString& message) {
cout << "[Log] " << GetTimeNowStr() << message << endl << endl;
}
void LogTest(const MEString& name, bool ... | [
"yhy242989105@hotmail.com"
] | yhy242989105@hotmail.com |
fba0d412ca1e6fd44ff29a3503e8ba8f66567a21 | afda9a6e85ac236d5dbf80fa388360efe0038341 | /src/common/sysinfo.cc | ad05f06694549a6c53d9e97a6cb5d79ebb2ec180 | [] | no_license | sybila/NewBioDiVinE | 73d2a19812df28dc217213f60f87050efcb69cb2 | e046a64b2345b739bcfa64317986f78be9ad0ca3 | refs/heads/master | 2020-04-25T17:38:59.935101 | 2014-12-10T01:44:17 | 2014-12-10T01:44:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,446 | cc | #include "common/sysinfo.hh"
// {{{ vminfo
vminfo_t::vminfo_t(){
pid = getpid();
snprintf (filename,sizeof filename, "/proc/%d/status", pid);
vmsize=vmlck=vmrss=vmdata=vmstk=vmexe=vmlib=0;
statm=false;
char line[1000];
// now detect the number of lines to be skipped
FILE *statusfile;
lineskip = 0;
... | [
"325073@mail.muni.cz"
] | 325073@mail.muni.cz |
f16c6c59f0ef239c683bb4ce01099c6ce1508b2c | 03a44baca9e6ed95705432d96ba059f16e62a662 | /OtherTrains/2019南昌网预/I.cpp | d1fd0439c7549f2692a89bb651e2ca2bd5b56185 | [] | no_license | ytz12345/2019_ICPC_Trainings | 5c6e113afb8e910dd91c8340ff43af00a701c7c7 | cf0ce781675a7dbc454fd999693239e235fbbe87 | refs/heads/master | 2020-05-14T08:29:19.671739 | 2020-04-03T03:21:30 | 2020-04-03T03:21:30 | 181,722,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,941 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 5;
int n, m, k;
int a[N], b[N];
struct node {
int x, y, v, id;
}c[N * 5], c0[N * 5];
int id, ans[N];
inline void clr(int i) {
if (i > n || !b[i]) return;
b[i] = 0, c[++ k] = (node){i, a[i], -1, 0};
}
inline void check(int i) {
if (i > n || a... | [
"1217783313@qq.com"
] | 1217783313@qq.com |
44178a6fee9bdb535d9e63f90a306f6546a8e1a5 | 3cb02d8bfd827beaff8f5d284bfeee2099c173e6 | /2019年北京师范大学校赛/预赛/f.cpp | 94704dc96969e9b443198522ee8c7ee853e647ec | [] | no_license | yyhaos/Competitions | 8a88ddfa0606e884c88f17ef391ffdd1ba32bf0f | d291be1327e895883b423eeebad943893f27e66e | refs/heads/master | 2021-06-12T13:14:22.354538 | 2020-08-18T05:24:24 | 2020-08-18T05:24:24 | 128,635,106 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,610 | cpp | //Problem Web:http://39.97.97.11/problem.php?cid=1003&pid=5
#include<bits/stdc++.h>
#include<ext/rope>
#include<iostream>
#include<stack>
#include<vector>
#include<queue>
#include<stdio.h>
#include<string.h>
using namespace std;
#define ll long long
#define lowbit(x) (x&-x)
#define rep(i,x,y) for(ll i=x;i<=y;i++)
#def... | [
"35396510+yyhaos@users.noreply.github.com"
] | 35396510+yyhaos@users.noreply.github.com |
94d70b1edcb31935530a03bd584b03f359eca7f6 | ab558d94f12fd5aac98beb5d917ebfeb12714c1f | /BigBang/include/layers/sigmoid_layer.h | c7f18fafb6dc5ac8e757b71eb48c0f339a3a58af | [
"Apache-2.0"
] | permissive | 1icas/BigBang | d3fed782f26e5a840f561cd9f91e339f48a2d8be | c7492e201fe63cb9acc4690b38175abe30720fbd | refs/heads/master | 2021-09-06T10:25:28.032614 | 2018-02-05T14:29:30 | 2018-02-05T14:29:30 | 107,073,492 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 965 | h | #ifndef SIGMOID_LAYER_H
#define SIGMOID_LAYER_H
#include "activation_func_layer.h"
#include "layer_type_macro.h"
#include "../tensor.h"
namespace BigBang {
template<typename dtype>
class SigmoidLayer : public ActivationFuncLayer<dtype> {
public:
SigmoidLayer(const LayerParameter& params):ActivationFuncLayer(params){... | [
"30893898@qq.com"
] | 30893898@qq.com |
96e59239be46f2486bb30f743c69515e2c7c70c9 | 88a60552472e8ded90108edbc54556ac4b56e0a5 | /TcpProxySession.cpp | a6686a5edfd48a8ae1a7a4b13d1862388a6173b4 | [] | no_license | aaronriekenberg/asioproxy | 1f4354e68134a0ae63c87e274fa087af3d6626bb | 840714fa44e3afb567e18c6c71a64dd96b76c96c | refs/heads/master | 2021-01-18T19:19:27.024393 | 2013-09-01T11:27:01 | 2013-09-01T11:27:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,086 | cpp | #include "BoostSystemUtil.h"
#include "Log.h"
#include "TcpProxySession.h"
#include "ProxyOptions.h"
namespace asioproxy {
TcpProxySession::SharedPtr TcpProxySession::create(
boost::asio::io_service& ioService) {
return SharedPtr(new TcpProxySession(ioService));
}
TcpProxySession::~TcpProxySession() {
if (Log::i... | [
"aaron.riekenberg@gmail.com"
] | aaron.riekenberg@gmail.com |
6a4c0e75bb10ec54a35b1a850ee4a3a66e7e4153 | ebe0cffadf5d04495905bbc75fbfd8acee832f6b | /Cameras/HomefrontTheRevolution/InjectableGenericCameraSystem/CameraManipulator.h | 3dcf5679cc8f3c370c7a2f1b1bd48e603aa50d77 | [
"BSD-2-Clause",
"LicenseRef-scancode-proprietary-license"
] | permissive | FransBouma/InjectableGenericCameraSystem | f123f31c676879561fc3a3e2d03579adf2c1f7cf | bdd9e237cef6caba38b946b18c36713f69ab09b9 | refs/heads/master | 2023-08-24T19:17:59.563669 | 2023-04-27T18:59:08 | 2023-04-27T18:59:08 | 75,194,811 | 718 | 278 | BSD-2-Clause | 2020-09-23T19:12:50 | 2016-11-30T14:30:36 | C++ | UTF-8 | C++ | false | false | 2,202 | h | ////////////////////////////////////////////////////////////////////////////////////////////////////////
// Part of Injectable Generic Camera System
// Copyright(c) 2017, Frans Bouma
// All rights reserved.
// https://github.com/FransBouma/InjectableGenericCameraSystem
//
// Redistribution and use in source and binary ... | [
"frans@sd.nl"
] | frans@sd.nl |
5b50b6919d95fd52d34821005006f0623bfef1a7 | a7a369fe4a73b2ee8a043b1ff15ed56ee1b1d292 | /src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp | 4ac5d1de4a014911d74052fb5f4b8a41be0f7607 | [] | no_license | cooler-SAI/ServerMythCore | de720f8143f14fb0e36c2b7291def52f660d9e1a | bd99985adca0698b7419094726bdbce13c18740c | refs/heads/master | 2020-04-04T21:27:04.974080 | 2015-06-22T14:06:42 | 2015-06-22T14:06:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,187 | cpp | /*
* Copyright (C) 2008 - 2011 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2010 - 2013 Myth Project <http://mythprojectnetwork.blogspot.com/>
*
* Myth Project's source is based on the Trinity Project source, you can find the
* link to that easily in Trinity Copyrights. Myth Project is a private commun... | [
"humbertohuanuco@gmail.com"
] | humbertohuanuco@gmail.com |
700d117c9f7e07e5d11aaa33b419ee6cddd99f62 | d1bb6fd4b439da85af74321e3391413640fb92f0 | /Homework1Q1S2/Homework1Q1S2/Rational.cpp | de3a6b4f857e753fea0a93455e268271a3d7f266 | [] | no_license | YosefSchoen/ObjectOrientedProgramming | dc6138501285509cb25cff111f2b18e79753764a | f0a36c7bf3fe461ccdabf010905a40c30c41eac4 | refs/heads/master | 2020-07-30T21:35:49.839185 | 2019-09-23T13:45:03 | 2019-09-23T13:45:03 | 210,356,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | cpp | #include "Rational.h";
#include <iostream>
using namespace std;
Rational::Rational(int top, int bottom) {
numerator = top;
denominator = bottom;
}
void Rational::setNumerator(int top) {
numerator = top;
}
void Rational::setDenominator(int bottom) {
denominator = bottom;
}
int Rational::getNumerator() {
return... | [
"josephaschoen@gmail.com"
] | josephaschoen@gmail.com |
d8de2c0b726c8e620b526bbaac0ade97c8ced5e8 | e043290612c380ca10290badb2574da006b9dea9 | /services/ui/ws/window_server_test_base.cc | bee909e989bd4522396c49f7036700ec598eadc9 | [
"BSD-3-Clause"
] | permissive | jeffsseely/chromium | 28667a243607baf02c74ccf4cc94a1b36ed2a42b | 5c0ead04050ee0787ef0d9af45efc3c740571465 | refs/heads/master | 2023-03-17T04:31:14.131666 | 2017-01-24T18:15:39 | 2017-01-24T18:15:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,278 | cc | // Copyright 2015 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 "services/ui/ws/window_server_test_base.h"
#include "base/bind.h"
#include "base/location.h"
#include "base/memory/ptr_util.h"
#include "base/ru... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
41b7677312fd583b5c4034129540a7b406b24f9e | 6fe993c6e41af7679ab2bbaafd1b9bec5f0191e5 | /src/main.cpp | d4a1816a222e5339d953f1820a544c4a80669e56 | [] | no_license | pmaroti/loraTestTransmitter | c91c6c3faad540c0ff15a5fe0b2467a7518f53e4 | e1f70f406cc046184f16005186b43e736f2a279b | refs/heads/master | 2020-03-18T00:04:06.300115 | 2018-05-19T15:52:22 | 2018-05-19T15:52:22 | 134,076,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,304 | cpp | ///
/// Arduino SX1278_Lora
/// GND----------GND (ground in)
/// 3V3----------3.3V (3.3V in)
/// interrupt 0 pin D2-----------DIO0 (interrupt request out)
/// SS pin D10----------NSS (CS chip select in)
/// SCK pin D13----------SCK (SPI clock... | [
"pmaroti@gmail.com"
] | pmaroti@gmail.com |
6ee77165137b972c9e3b4ca71c1c1468f79af624 | 1b6c60b5a14f5eb7ea06676159e1a83c18cf6bb5 | /kattis/Baby_bites_kattis.cpp | bb4e63cd0050e764070d38bbca67c6b65c91d205 | [
"MIT"
] | permissive | NafiAsib/competitive-programming | 75595c2b0984baf72a998da8b3d115bf2681e07c | 3255b2fe3329543baf9e720e1ccaf08466d77303 | refs/heads/master | 2022-11-20T06:48:01.951206 | 2020-07-22T10:20:09 | 2020-07-22T10:20:09 | 240,660,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 421 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int i, index = 0, n, current = 1;
char str[10];
bool sense = 1;
cin >> n;
for(i = 0; i < n; i++, current++) {
cin>>str;
if(str[0] == 'm') continue;
index = atoi(str);
if(index != current) sense = 0;
}
... | [
"nafi.asib@gmail.com"
] | nafi.asib@gmail.com |
f3ce73026cd2e9fd5514aae711e7cc7def61c8a7 | 2ab8b69d144b242552f65738140ffe93f68ccf2b | /chrome/browser/ui/views/profiles/profile_menu_view_base.cc | 862f0c5e976b66fcd1fb3e06a08cb52d1f8615da | [
"BSD-3-Clause"
] | permissive | user-lab/chromium | 45c41be02fad35e396e3acc12cc2003ae29ac207 | f90402556cc8107ed19e5663ed1e7a4e80ff3e94 | refs/heads/master | 2023-03-03T23:23:08.506668 | 2019-10-02T18:21:44 | 2019-10-02T18:21:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,732 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/profiles/profile_menu_view_base.h"
#include <algorithm>
#include <memory>
#include <utility>
#include "base/feature_li... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
43c66bd5d3a0d11b3eeee4e5e08fcfc4bb1122e4 | 3c378513afb8e6c2680715c91c31845b67e71885 | /include/SIMD_KScheme_2Bit_CU.hpp | 9c1861d14dd2662d6beb90ffe6ffe46e1a233875 | [] | no_license | yingfeng/integer_encoding_library_sparklezzz | 582f21140a0c6cccae692f8e92464b8a1f093674 | 8ba46561cde38920674f4789f4f413ceed45ef6b | refs/heads/master | 2021-01-17T12:26:12.838738 | 2015-01-14T13:37:40 | 2015-01-14T13:37:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,447 | hpp | /*
* SIMD_KScheme_2Bit_CU.hpp
*
* SIMD_KScheme_2Bit_Complete Unary
*
* Created on: 2013-3-2
* Author: zxd
*/
#ifndef SIMD_KSCHEME_2BIT_CU_HPP_
#define SIMD_KSCHEME_2BIT_CU_HPP_
#ifdef USE_SSE_INSTRUCTION
#include <stdint.h>
#include <cmath>
#include <assert.h>
#include <string.h>
#include "Compressor.h... | [
"xdzhang@yahoo-inc.com"
] | xdzhang@yahoo-inc.com |
06f218de53f4128a70879f3ee00307f0c6ee9126 | 735d7d9177ba60d7d94577b30ec37857d2bcd4fc | /pointers/demo3.cpp | a59714026b884fb91d638f8297243ad19c3f6c9c | [
"MIT"
] | permissive | KleeTaurus/learn-cpp | 5043ddd38eaa778eabe6763c7214db62e3e2f2f2 | ec872ac7ea9ee323e7afbf8f717c6120771f81d3 | refs/heads/master | 2020-12-02T19:19:12.585479 | 2017-08-12T02:56:41 | 2017-08-12T02:56:41 | 96,324,050 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 138 | cpp | #include <iostream>
using namespace std;
int main() {
int *ptr = NULL;
cout << "The value of ptr is: " << ptr;
return 0;
}
| [
"lining@luojilab.com"
] | lining@luojilab.com |
1d412be22cb408024611a815c947ed1dd3e42ac5 | dd95d7ea86fcd4f27664653205df0d2005665f2b | /shared/configeditor/include/Trigger.h | b82db6fa3165459ee317fe374fef801d744cfef4 | [] | no_license | sawmic/GIMX | ab7437b70e2094399624e93c493dd550144828ce | 96cb9d155123a4c1657c4b2f177725395bbafd9e | refs/heads/master | 2021-01-12T21:53:13.514674 | 2014-02-01T14:01:48 | 2014-02-01T14:01:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | h | /*
Copyright (c) 2011 Mathieu Laurendeau <mat.lau@laposte.net>
License: GPLv3
*/
#ifndef TRIGGER_H
#define TRIGGER_H
#include <Device.h>
#include <Event.h>
class Trigger
{
public:
Trigger();
Trigger(string dtype, string did, string dname, string eid, string switchback, unsigned ... | [
"mat.lau@laposte.net"
] | mat.lau@laposte.net |
e86075a33bbc78bb3f75b685101273ff2f283314 | 2576dfefe11dc4eb2588bf7872ebecbc64823833 | /include/SPcSteppingMessenger.hh | dc8ab87cabac977294075a8442c495110fcd96c9 | [] | no_license | jilic/spacal | 8278df8b41f3b7efe65c398622ee49bcc207bf92 | 413750533857563c9d627666684ed622aac76a1d | refs/heads/master | 2021-01-01T05:18:20.425457 | 2015-02-18T22:41:19 | 2015-02-18T22:41:19 | 32,726,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | hh | /*
@author Jelena Ilic
@mail jelenailic.sk@gmail.com
@date Summer 2014
*/
#ifndef SPcSteppingMessenger_h
#define SPcSteppingMessenger_h 1
#include "G4UImessenger.hh"
#include "globals.hh"
class SPcSteppingAction;
class G4UIcmdWithAnInteger;
class G4UIcmdWithABool;
class G4UIcmdWithADoubleAndUnit;
class SPcSt... | [
"jelenailic.sk@7ba4f6a3-0c5a-dc19-1ee9-c1316467136b"
] | jelenailic.sk@7ba4f6a3-0c5a-dc19-1ee9-c1316467136b |
1b5479c9bca6e9ef628ba3441d63cd107bb82757 | 27974ef06083b306028ade82a6c174377ab649fd | /period/freshman/contest/Week 3/I.cpp | 8308a258ebbb6bcbd8f58d18455cdb4cd3ad740f | [] | no_license | lightyears1998/a-gzhu-coder | 6ba7fe23f663ee538c162927cfecb57e20bc0dbc | b882a2e8395155db0a57d59e7c5899386c5eb717 | refs/heads/master | 2021-06-05T05:33:14.988053 | 2020-05-23T12:52:57 | 2020-05-23T12:52:57 | 100,114,337 | 14 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 299 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
string s;
while (getline(cin, s))
{
if (s == "#") break;
int sum = 0;
for (unsigned i=0; i<s.size(); ++i) {
if (isalpha(s[i])) sum += (i+1)*(s[i]-'A'+1);
else continue;
}
cout << sum << endl;
}
}
| [
"lightyears1998@hotmail.com"
] | lightyears1998@hotmail.com |
f25229c9f157262511e392464824f7ace0ffd36e | 2ccb99e0b35b58622c5a0be2a698ebda3ab29dec | /gfx/skia/skia/src/effects/SkLightingImageFilter.cpp | f701b4c8945952f619404479d11d226574b51bc9 | [
"BSD-3-Clause"
] | permissive | roytam1/palemoon27 | f436d4a3688fd14ea5423cbcaf16c4539b88781f | 685d46ffdaee14705ea40e7ac57c4c11e8f31cd0 | refs/heads/master | 2023-08-20T10:11:13.367377 | 2023-08-17T07:28:43 | 2023-08-17T07:28:43 | 142,234,965 | 61 | 16 | NOASSERTION | 2022-03-30T07:54:03 | 2018-07-25T02:10:02 | null | UTF-8 | C++ | false | false | 87,541 | cpp | /*
* Copyright 2012 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkLightingImageFilter.h"
#include "SkBitmap.h"
#include "SkColorPriv.h"
#include "SkDevice.h"
#include "SkPoint3.h"
#include "SkReadBuffer.h"
#in... | [
"roytam@gmail.com"
] | roytam@gmail.com |
e0942620c15caf086988b0a8d199e5c3eadaa27f | 7ebae5ec0378642a1d2c181184460e76c73debbd | /UVA Online Judge/694/694/694.cpp | 81d5786ad415701534d07d0812344b7a36947434 | [] | no_license | tonyli00000/Competition-Code | a4352b6b6835819a0f19f7f5cc67e46d2a200906 | 7f5767e3cb997fd15ae6f72145bcb8394f50975f | refs/heads/master | 2020-06-17T23:04:10.367762 | 2019-12-28T22:08:25 | 2019-12-28T22:08:25 | 196,091,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp | #include <iostream>
#include <string>
#include <sstream>
#include <iomanip>
#include <math.h>
#include <queue>
#include <stack>
#include <vector>
#include <map>
#include <set>
#include <functional>
#include <algorithm>
using namespace std;
int main()
{
long long a, l,temp,tc=0;
while (cin >> a >> l){
if (a < 0 &... | [
"tonyli2002@live.com"
] | tonyli2002@live.com |
34ec8217a7118d234a343ffebfbdbf93eb84e999 | 9e86596a4c9dbedaa8aa08923c14cd39da2455e2 | /src/operator/cudnn_activation-inl.h | 99bbfe93e871dfee942a2c5e0a4f5f3be400bc5e | [
"Apache-2.0"
] | permissive | XinliangZhu/mxnet | 0796c687618f84462ec4a57a2d1b44a1570ed68d | 016e049fee799bbc1bb0c1e3e3d3ff858603840b | refs/heads/master | 2021-01-22T13:12:25.265640 | 2015-10-19T00:34:16 | 2015-10-19T00:34:16 | 44,504,570 | 1 | 0 | null | 2015-10-19T01:33:19 | 2015-10-19T01:33:19 | null | UTF-8 | C++ | false | false | 5,431 | h | /*!
* Copyright (c) 2015 by Contributors
* \file cudnn_activation-inl.h
* \brief
* \author Bing Xu
*/
#ifndef MXNET_OPERATOR_CUDNN_ACTIVATION_INL_H_
#define MXNET_OPERATOR_CUDNN_ACTIVATION_INL_H_
#include <algorithm>
#include <vector>
#include "./activation-inl.h"
namespace mxnet {
namespace op {
class CuDNNActiv... | [
"antinucleon@gmail.com"
] | antinucleon@gmail.com |
9baa977d091165ec1ec51a58a2f93a2a314c935e | cb39c039f974ce7362769d61fedc2f28f3b206e3 | /source/NeutronSystem/Window.h | ecc73318aa2f63c6b38ee5c8bdd0ab701ef89f09 | [] | no_license | yuen33/Neutron | 87c95b59d451fadcee6b6f1c745a5dd605512c01 | 581d1a3c64745129a70f412a8d5d4fa1e7689cd7 | refs/heads/master | 2020-04-11T07:21:07.246738 | 2015-08-20T00:23:33 | 2015-08-20T00:23:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,879 | h | #pragma once
#include "ProcessingUnit.h"
#include "NeutronFoundation/String.h"
#include "Pin.h"
#if defined NEUTRON_WINDOWS_DESKTOP
#include <dxgi.h>
#endif
using Neutron::Container::String;
namespace Neutron
{
namespace Engine
{
#if defined NEUTRON_WINDOWS_DESKTOP
class NEUTRON_CORE Window : public ProcessingU... | [
"drvkize@gmail.com"
] | drvkize@gmail.com |
b2853a2fe4a66380f084b9853b30da5956ecc05b | 4cab0f9edb6c0785f9ed1e6b19cef933b48e4466 | /05. Arrays/Reverse_string.cpp | 1ec3b98225932b88d4fa78047f512c2c1f813eb6 | [
"MIT"
] | permissive | Ash515/DSA-cpp-Hacktoberfest2021 | 00d31ae054ed2a32ea8ef7578a756a6404d7e803 | 027e24121c9e78caa29badd778e38e7d5aa83824 | refs/heads/main | 2023-08-02T21:33:14.771477 | 2021-10-01T05:05:07 | 2021-10-01T05:05:07 | 412,330,530 | 3 | 0 | MIT | 2021-10-01T04:50:28 | 2021-10-01T04:50:25 | null | UTF-8 | C++ | false | false | 392 | cpp | #include <bits/stdc++.h>
using namespace std;
string reverseWord(string str);
int main()
{
int t;
cin >> t;
while (t--)
{
string s;
cin >> s;
cout << reverseWord(s) << endl;
}
return 0;
}
string reverseWord(string str)
{
int n = str.length();
for (int i = 0; ... | [
"noreply@github.com"
] | Ash515.noreply@github.com |
5c63bcca69e8a9c1f8b64bbae196c5d7ea4d7e77 | cd746ef05caa7bfc71aff7076179e8bb46f0f9f4 | /Chapter10cpp/wci/backend/interpreter/executors/IfExecutor.h | aee8fb30311d454b64df28d3173ffec087f4095c | [] | no_license | NikkiR97/complex | 93c722ef020d2046faf628228dd09670de67d9b0 | 6789376c082dc7c6a6391de1a64c045300ab569a | refs/heads/master | 2020-04-27T15:35:14.695973 | 2019-03-08T04:02:30 | 2019-03-08T04:02:30 | 174,451,846 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 993 | h | /**
* <h1>IfExecutor</h1>
*
* <p>Execute an IF statement.</p>
*
* <p>Copyright (c) 2017 by Ronald Mak</p>
* <p>For instructional purposes only. No warranties.</p>
*/
#ifndef IFEXECUTOR_H_
#define IFEXECUTOR_H_
#include "StatementExecutor.h"
#include "../../../Object.h"
#include "../../../intermedi... | [
"jhjuchau@gmail.com"
] | jhjuchau@gmail.com |
b7e5151e5071c02a986c8585d5e15258faecaa30 | 337e275fb67b008ca92bf8a3162e88653bc8198d | /Tools/qbfpvf_proto/verify.cpp | fbc78f7c35c084336411723221ae8bceab5555eb | [] | no_license | arey0pushpa/qbf-cert | 2956e10192b9622b81c58492c97efd7ef6bd893f | a0f9c77edb9cd09a16261447146e0a1f494bae55 | refs/heads/master | 2021-09-16T02:07:02.322911 | 2021-08-01T21:55:32 | 2021-08-01T21:55:32 | 199,707,111 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,258 | cpp | #include "common.h"
#include "lexer.h"
bool cfg_gc = true; // Do garbage collection
class Variable {
private:
lit_int_t v;
public:
inline explicit Variable(lit_int_t _v) : v(_v) { assert (v>=0); };
inline size_t idx() const {return static_cast<size_t>(v);};
inline string str() const {return to_string(v);... | [
"plammich@gmail.com"
] | plammich@gmail.com |
3a5e762d936f74010952e29c6e10da5236678d0f | 6ed1c7d1f2aa137ce2ab879a4a5ddecb8e1790f5 | /mltplinh/mltplinh.cpp | bd41514ed22337fb716b52da9d671491dcb50aab | [] | no_license | ruudkoot/Ammeraal | 49eeb4a9731ff75fec6740224e2b24ef5a24da8a | 535b0c4782bb181dc059ca427bb3cbc3174b9278 | refs/heads/master | 2023-05-11T15:46:18.480055 | 2020-09-07T18:44:09 | 2020-09-07T18:44:09 | 291,448,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895 | cpp | // mltplinh.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
using namespace std;
class p1 {
public:
p1(int n = 1) : n1(n) {
cout << "p1(" << n << ")" << endl;
}
~p1() {
cout << "~p1()" << endl;
}
private:
int n1;
};
cla... | [
"inbox@ruudkoot.nl"
] | inbox@ruudkoot.nl |
e35cc8abf9c1787926ad71271bcba21576941e33 | e84dc130098c288e9f9313636265b7b8676d0de7 | /dimmable_LED/dimmable_LED.ino | 948b56dfcde11c06399cf64afbc157c6758d729f | [] | no_license | anandpraj/Dimmable_LED | 097225904cdf4432f0c5af8eb4999d875fdfbe8e | 56ceb3fae654354b907024d20a8169b6e7a397c1 | refs/heads/main | 2023-06-05T18:25:46.848086 | 2021-07-04T14:59:34 | 2021-07-04T14:59:34 | 382,878,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 376 | ino | int potPin=A1;
int ledPin=5;
int potVal;
float ledVal;
void setup() {
// put your setup code here, to run once:
pinMode(potPin,INPUT);
pinMode(ledPin,OUTPUT);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
potVal= analogRead(potPin);
ledVal= (255./1023.)*potVal;
a... | [
"noreply@github.com"
] | anandpraj.noreply@github.com |
1d631d863a8c88dd89e41fe7b10a94dfbfe1117f | 4b0444102ea9917d581cb837740a2942bf655759 | /MMVII/src/Bench/BenchGlob.cpp | 47779606786b169938dbda6aac6c7ab73f753a5a | [
"LicenseRef-scancode-cecill-b-en"
] | permissive | gaoshuai/micmac | d415e447bbf28abfefcefaae8a4afee13dac2446 | 8ab820797de7d2c80490e1291c3a3b8ee6a226a3 | refs/heads/master | 2020-06-11T01:11:12.127351 | 2019-06-25T15:55:51 | 2019-06-25T15:55:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,526 | cpp | #include "include/MMVII_all.h"
#include <cmath>
/** \file BenchGlob.cpp
\brief Main bench
For now bench are relatively simples and executed in the same process,
it's than probable that when MMVII grow, more complex bench will be done
by sub process specialized.
*/
namespace MMVII
{
#if (THE_MACRO_MMV... | [
"marc.pierrot-deseilligny@ensg.eu"
] | marc.pierrot-deseilligny@ensg.eu |
83af50aa01d6d4f6082ef28c710a6cc2212d5b16 | 28f43281141abdaebe57909cfe59897dc256ede4 | /cpp_module_02/ex00/main.cpp | 9fbeaa838383f32e7246ca4e1017efcb86c1c193 | [] | no_license | benjaminmerchin/piscine_CPP | d4476f05da9891c2e5c0eab5f1c46a44c3391a36 | 4a507669b3877662badb230d807d7f2ad19ce05d | refs/heads/main | 2023-07-16T14:12:35.460993 | 2021-08-30T10:50:32 | 2021-08-30T10:50:32 | 383,801,709 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | cpp | #include "Fixed.hpp"
int main(void) {
Fixed a;
Fixed b(a);
Fixed c;
c = b;
std::cout << a.getRawBits() << std::endl;
std::cout << b.getRawBits() << std::endl;
std::cout << c.getRawBits() << std::endl;
return 0;
} | [
"benjaminmerchin@gmail.com"
] | benjaminmerchin@gmail.com |
258fa22409d3249149578f5397ad86a78b84d0bb | cf3f10b934b326964f2c9a55f16a6f533407d6a7 | /OOP/lab4/Pentagon.h | d8107915d21abea1c6b181887af02c5f4e40b4fc | [] | no_license | VeronikaBurkevich/MAI | 4426facb5252ccb91309423eeeffb9a810e9a52f | 2de02cde7ab72213f2c88f70b59f030f7baed73b | refs/heads/main | 2023-07-14T09:21:08.703153 | 2021-08-19T07:25:03 | 2021-08-19T07:25:03 | 397,688,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 674 | h | #ifndef PENTAGON_H
#define PENTAGON_H
#include <cstdlib>
#include <iostream>
#include "Figure.h"
class pentagon :
public figure
{
public:
pentagon();
pentagon(std::istream &is);
pentagon(size_t a);
pentagon(const pentagon& orig);
int F() override; //////////////////
double Square() override;
... | [
"noreply@github.com"
] | VeronikaBurkevich.noreply@github.com |
8d25b9e69968738c10b05071cde8178b1ddc2ac6 | 1bd9e3cda029e15d43a2e537663495ff27e317e2 | /buoyantPimpleFoam_timevaryingBC/timevaryingCavityFoam/58/uniform/cumulativeContErr | a7fd54fe5635b3c993fbec8012e1fd58acb2d7b2 | [] | no_license | tsam1307/OpenFoam_heatTrf | 810b81164d3b67001bfce5ab9311d9b3d45b5c9d | 799753d24862607a3383aa582a6d9e23840c3b15 | refs/heads/main | 2023-08-10T23:27:40.420639 | 2021-09-18T12:46:01 | 2021-09-18T12:46:01 | 382,377,763 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 956 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | [
"tsinghsamant@gmail.com"
] | tsinghsamant@gmail.com | |
5ce8041808ab76ce0c7e43affd14b93962080908 | fa55d8ed32564195f2687d1e18b99f80c5683073 | /lbc_lintcodeII/212-space-replacement.cc | 1baf76fe728c8e0ed2dc4a403d1258550ea8e484 | [] | no_license | TenFifteen/SummerCamp | 1841bf1bd212938cee818540658185cd3e429f0c | 383b9321eee9e0721772f93a897c890f737f2eff | refs/heads/master | 2020-04-05T23:48:01.393256 | 2018-03-11T12:37:38 | 2018-03-11T12:37:38 | 38,595,086 | 9 | 4 | null | 2016-07-18T14:21:15 | 2015-07-06T03:15:55 | C++ | UTF-8 | C++ | false | false | 902 | cc | /*
题目大意:
给定一个字符串,将其中的空格替换成20%,原地替换。
解题思路:
见代码。
遇到的问题:
没有。
*/
class Solution {
public:
/**
* @param string: An array of Char
* @param length: The true length of the string
* @return: The true length of new string
*/
int replaceBlank(char string[], int length) {
// Write your code he... | [
"libenchao@gmail.com"
] | libenchao@gmail.com |
9044dc69514ec1956be70e06a24bf66991c2bd0e | 2885e54c807bd70b8eb0cd2bc3ffd5ce51bd66cc | /2007-PIR-Drone Trirotor acrobate/Projet/Informatique/CNES/marmottes-9.8/src/ModeleCine.cpp | 15611290d96643a49f9bd615b0dfcb7081cccd65 | [] | no_license | crubier/my-personal-projects | 622b09ce6d9c846b905fe135892a178c1a0c554b | 8cd26b212b0c61f3d5bbe2de82d49891f3f3602a | refs/heads/master | 2021-09-12T23:09:14.097634 | 2018-04-22T07:45:42 | 2018-04-22T07:45:42 | 130,488,289 | 1 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 6,949 | cpp | ///////////////////////////////////////////////////////////////////////////////
//$<AM-V1.0>
//
//$Type
// DEF
//
//$Projet
// Marmottes
//
//$Application
// Marmottes
//
//$Nom
//> ModeleCine.cpp
//
//$Resume
// fichier d'implantation de la classe ModeleCine
//
//$Description
// Mod... | [
"vincent.lecrubier@gmail.com"
] | vincent.lecrubier@gmail.com |
8f4ab6ac9f8073f243cae1c7ebbdac292fcd98c2 | e1cd579c8dcd952cc338ce3684397eddb0920760 | /archive/1/wloska_czekolada.cpp | 2a59db69f6866c10d1d8c6c261ea1049ce081fea | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Aleshkev/algoritmika | 0b5de063870cb8a87654613241a204b534037079 | fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189 | refs/heads/master | 2021-06-05T10:46:59.313945 | 2020-02-02T12:39:47 | 2020-02-02T12:39:47 | 148,994,588 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 829 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
typedef long long int I;
int main()
{
I n;
cin >> n;
I *t = new I[n];
for(I i = 0; i < n; ++i) {
cin >> t[i];
--t[i];
}
I max_a = *max_element(t, t + n);
I *u = new I[max_a];
fill(u, u + max_a, -1);
fo... | [
"j.aleszkiewicz@gmail.com"
] | j.aleszkiewicz@gmail.com |
0fcbc76674961ba16fd3e6349be4230e9f9fb33c | d4da977bb5f060d6b4edebfdf32b98ee91561b16 | /Note/集训队作业/2014/作业1/试题泛做/ytl13508111107/ytl/题目与程序/D6545. Bee Breeding/ran/bc.cpp | 863bb228172e2060129223673c106dccc7874f3d | [] | no_license | lychees/ACM-Training | 37f9087f636d9e4eead6c82c7570e743d82cf68e | 29fb126ad987c21fa204c56f41632e65151c6c23 | refs/heads/master | 2023-08-05T11:21:22.362564 | 2023-07-21T17:49:53 | 2023-07-21T17:49:53 | 42,499,880 | 100 | 22 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | cpp | e2 5406 0 R
>>
endobj
5236 0 obj
[ 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 ... | [
"lychees67@gmail.com"
] | lychees67@gmail.com |
35b1f8bc6243426c5f5110180ff44e7d17ac7b2a | 56b847482dd3cd1b55bc19e1ff3ec1dfcbd6a0bd | /Adafruit_SGP30.cpp | 0068231945f927a5a76d156ed8f0624a72f4644c | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | winkj/Adafruit_SGP30 | 431645284ca12f175940013170e4510ef5239a71 | 729ddf4e3c43e22643b1ae9dabb97a8affc0a297 | refs/heads/master | 2021-05-10T14:30:42.551946 | 2018-01-17T18:26:17 | 2018-01-17T18:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,321 | cpp | /*!
* @file Adafruit_SGP30.cpp
*
* @mainpage Adafruit SGP30 gas sensor driver
*
* @section intro_sec Introduction
*
* This is the documentation for Adafruit's SGP30 driver for the
* Arduino platform. It is designed specifically to work with the
* Adafruit SGP30 breakout: http://www.adafruit.com/products/3709
... | [
"limor@ladyada.net"
] | limor@ladyada.net |
4490353c42541fc5da6555ac1f7b6a1d374656e2 | 7f7ebd4118d60a08e4988f95a846d6f1c5fd8eda | /wxWidgets-2.9.1/include/wx/palmos/stattext.h | 00ff0e28866adbc5da2d973d774bf75a2c65208f | [] | no_license | esrrhs/fuck-music-player | 58656fc49d5d3ea6c34459630c42072bceac9570 | 97f5c541a8295644837ad864f4f47419fce91e5d | refs/heads/master | 2021-05-16T02:34:59.827709 | 2021-05-10T09:48:22 | 2021-05-10T09:48:22 | 39,882,495 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,730 | h | /////////////////////////////////////////////////////////////////////////////
// Name: wx/palmos/stattext.h
// Purpose: wxStaticText class
// Author: William Osborne - minimal working wxPalmOS port
// Modified by: Wlodzimierz ABX Skiba - native wxStaticText implementation
// Created: 10/13/04
... | [
"esrrhs@esrrhs-PC"
] | esrrhs@esrrhs-PC |
097a3e358def8251e2084cdf4d2755e737d5bbed | d2c3b5de367707f5049a478044e2e9bb1eafd7ea | /components/hub-wifi/wifi.cpp | ab3ac684c1227b0d6da552a031c2761a82b73ce3 | [] | no_license | kazuph/home-iot-hub | 56d871cc7f52d0ec7e48cc6458c85ba6f3e9523d | 108ff4fc4973d1b0ef95be4861557a8dfab5777c | refs/heads/main | 2023-08-28T19:34:57.932493 | 2021-10-21T06:15:15 | 2021-10-21T06:15:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,719 | cpp | #include "wifi/wifi.hpp"
#include <cstring>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_system.h"
#include "esp_netif.h"
#include "esp_event.h"
#include "esp_log.h"
#include "nvs.h"
#include "nvs_flash.h"
#include "lwip/err.h"
#include "lwip/sys.h"
na... | [
"borchy97@gmail.com"
] | borchy97@gmail.com |
6abef3013c1b31aa18b5593f15a3738819df5168 | 17af777718e66d1735632c171e5286ff04c42665 | /BOJ1236.cpp | 5efecf26d8195006c4ff9ea3be089a08b2a50654 | [] | no_license | girinssh/BOJ | 4ddff350e309d85a153232062426f660e1144498 | 0964033e66081ecc81da6db421812ffb7f2eeacd | refs/heads/master | 2023-07-14T19:08:52.364347 | 2021-08-17T09:11:24 | 2021-08-17T09:11:24 | 284,575,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 914 | cpp | #include <iostream>
using namespace std;
int main(void) {
cin.tie(NULL);
cin.sync_with_stdio(false);
char arr[50][50] = { 0 };
int a, b;
int n = 0, m = 0;
cin >> a >> b;
for (int i = 0; i < a; i++) {
for (int j = 0; j < b; j++) {
cin >> arr[i][j];
}
}
for (int i = 0; i < a; i++) {
for (int j = 0;... | [
"tngus5851@naver.com"
] | tngus5851@naver.com |
434dd7416e82d5993450e88accdf19927bd427bf | 8845158756cddf7368896a659fe13423d244c9a1 | /Functions_Of_C/Exercises/multiple.cpp | 50baec3de450bead4f217c9611c1051ca859c9b1 | [] | no_license | Verg84/COOP | e0ef2cd478d0b669a95acdbf4b13f2e6dac20c3d | 8cd1ec842ebc6729fc349e82f3f8ee3b87bac07a | refs/heads/main | 2023-07-18T19:21:18.595563 | 2021-09-24T16:26:03 | 2021-09-24T16:26:03 | 405,047,236 | 0 | 0 | null | 2021-09-10T15:36:42 | 2021-09-10T10:47:56 | C++ | UTF-8 | C++ | false | false | 533 | cpp | // Multiple - Check if a pair of numbers
// are multiple together
#include<stdio.h>
int multiple(int a,int b);
int main(){
int a,b;
printf("* Enter first value :");
scanf("%d",&a);
printf("* Enter second value :");
scanf("%d",&b);
if(multiple(a,b))
printf("... | [
"50481854+Verg84@users.noreply.github.com"
] | 50481854+Verg84@users.noreply.github.com |
c8fecf042797381cee307bb72ecefb44336b5726 | 05bd8b96db62137f8487e602a7b8a88f2a2c0fe4 | /算法初步/二分/1085 Perfect Sequence (25分).cpp | 5770e674459516978f3ddfd4c50050443cbf02e0 | [] | no_license | PeiLeizzz/Algorithm-PAT-A | a8b71abeb26c4127f6ee6de166b3bfa5d0b3fb61 | d1d58adb0b90e7a0fdd480e8e6d11a5de4272282 | refs/heads/master | 2022-12-23T14:47:50.912282 | 2020-08-28T12:31:57 | 2020-08-28T12:31:57 | 291,039,897 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 940 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
vector<ll> numble;
int main() {
int n;
ll p;
scanf("%d %lld", &n, &p);
for (int i = 0; i < n; i++) {
ll a;
scanf("%lld", &a);
numble.push_back(a);
}
sort(numble.begin(), numble.end());
int len = 1;
for (int i = 0; i < n && i + len < n; i... | [
"714838284@qq.com"
] | 714838284@qq.com |
80039d48587c48ed44914c9a44b423385c59d8c2 | 1a29e2f587d88dac68dcdddac38ce9d7d450d058 | /cs4499/midtern/bunny_generator.hpp | d1837d6f47dbd84f11e084e884a9139494e76e4a | [] | no_license | TheNumberOne/school_code | a41395e64dcc9089fb251fb2da0fa721161b5897 | 42d4aa7dc4bb1f23331382dc5875f261dc9e31c7 | refs/heads/master | 2020-08-08T11:52:50.008711 | 2019-10-09T05:07:47 | 2019-10-09T05:07:47 | 213,825,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 690 | hpp | #pragma once
#include "bunny.hpp"
#include <utility>
#include <memory>
/**
* Randomly generates rabbits using the passed random number generator.
*/
class random_bunny_generator
{
public:
explicit random_bunny_generator(std::shared_ptr<std::default_random_engine> rng) : _rng(std::move(rng)) { }
/**
... | [
"robepea2@isu.edu"
] | robepea2@isu.edu |
dbddfeb9a35e8a81acf1614c7607c1414b91e835 | 2c104d39633cf440c33fa34d6c3516ceefb4bd39 | /call_info.cpp | ef9980d994dccf10863876936bf98342a88d22e0 | [] | no_license | chrisrteti/call_info | d45a0e7a85e419802b26a06dd57c5a547899d48b | 71bd3fb3f63ab8f3817b6c273aa934f699c096ac | refs/heads/master | 2020-04-17T03:49:58.010579 | 2016-09-03T12:54:15 | 2016-09-03T12:54:15 | 67,289,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,293 | cpp | /*
Name: Christopher Teti Z#:23293126
Course: Foundations of Computer Science (COP3014)
Professor: Dr. Lofton Bullard
Due Date: 9/4/2016 Due Time:9/04/2016
Total Points: 100
Assignment 2:
Description:
In this assignment a program a call management system is... | [
"noreply@github.com"
] | chrisrteti.noreply@github.com |
9615bbd1404b28e543a3d82d69d5efdda71028c9 | 06e3a51780fe6906a8713b7e274a35c0d89d2506 | /qtmdsrv/ui/ringbufferform.cpp | d1747adf391cf8b30fffc927844d205b265e9c8a | [] | no_license | ssh352/qtctp-1 | d91fc8d432cd93019b23e7e29f40b41b1493aceb | 248d09e629b09cbe1adbf7cd818679721bf156d0 | refs/heads/master | 2020-04-01T16:55:31.012740 | 2015-10-27T15:56:02 | 2015-10-27T15:56:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,065 | cpp | #include "ringbufferform.h"
#include "ui_ringbufferform.h"
#include "mdsm.h"
#include "ApiStruct.h"
#include "ringbuffer.h"
#include "servicemgr.h"
#include "ctpmgr.h"
#include "datapump.h"
#include "historyform.h"
RingBufferForm::RingBufferForm(QWidget* parent)
: QWidget(parent)
, ui(new Ui::RingBufferForm)
{... | [
"sunwangme@gmail.com"
] | sunwangme@gmail.com |
e34850a83c2a437b0050b2ed8021b5a8d7f3474f | d23d36fd5b4e6851fef68940b15ed625677a576b | /作业6-3/作业6-3/作业6-3Doc.cpp | 969c9abd145439c48a9d8fe1f7a6e72f9907f682 | [] | no_license | DJQ0926/test | 0d5fd731edef513e08b1169578e70fe9139d7d05 | e9a755ac66750e14bbb870d211531d91a92fc2ee | refs/heads/master | 2021-02-15T23:03:21.681207 | 2020-07-05T09:51:20 | 2020-07-05T09:51:20 | 244,942,227 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,576 | cpp |
// 作业6-3Doc.cpp : C作业63Doc 类的实现
//
#include "stdafx.h"
// SHARED_HANDLERS 可以在实现预览、缩略图和搜索筛选器句柄的
// ATL 项目中进行定义,并允许与该项目共享文档代码。
#ifndef SHARED_HANDLERS
#include "作业6-3.h"
#endif
#include "作业6-3Doc.h"
#include <propkey.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// C作业63Doc
IMPLEMENT_DYNCREATE(C作业63Doc, CDocument)... | [
"964158009@qq.com"
] | 964158009@qq.com |
e801316a8a1504c3980d6f4df705e94be1506057 | 4a769d01e49f4dbc24bc7715cb0d1f269e86f697 | /functions.h | 6e560452b9cd9af4976486a8101561b1648e0466 | [] | no_license | BaylorGroup-CSI-1430/MarioProject | 31e1b13bbea9b63bef16bd9b0bd7e9f7fc9f5b15 | 82bc17e809f619fe1d8c829e68eabf3e31f6f160 | refs/heads/master | 2020-04-06T12:45:31.980976 | 2018-12-03T03:53:39 | 2018-12-03T03:53:39 | 157,469,423 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 20,351 | h | /*This source code copyrighted by Lazy Foo' Productions (2004-2015)
and may not be redistributed without written permission.*/
//Using SDL, SDL_image, standard IO, and strings
#include <SDL.h>
#include <SDL_image.h>
#include <stdio.h>
#include <string>
//#include "SDL_Plotter.h"
//using namespace std;
//Screen dime... | [
"noreply@github.com"
] | BaylorGroup-CSI-1430.noreply@github.com |
428be9e5a38ec5cd79b1901360613480d9f6f32e | 0fa5fc9365c65eb5ac7c48c16e9feee199d1ff0a | /arduino/cocktailmaschine/cocktailmaschine.ino | 2190ead73f234d8d8ce7318693f6552031c9abc4 | [] | no_license | tobiwe/cocktailmachine | 51f6d9d484d2844da603169304be42a939a2a5d4 | 0881025acffd6275b4ad3eea1c8ebd5556e54f67 | refs/heads/main | 2023-07-13T23:29:47.614353 | 2021-08-26T12:22:11 | 2021-08-26T12:22:11 | 332,493,284 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,696 | ino | #include "Waage.hpp"
#include "pumpe.hpp"
#include "Luftpumpe.hpp"
#include "Led.hpp"
#include "Ventil.hpp"
#include "Drucksensor.hpp"
#include "config.hpp"
int peristalicLed[6] = { 5, 4, 3, 2, 1, 0};
int airLed[4] = { 13, 12, 15, 14};
int bottleLed[6] = {6, 7, 8, 9, 10, 11};
int glasLed = 16;
char newCommand[20];
ch... | [
"pebble@towan.de"
] | pebble@towan.de |
640f9115446c596ca507fe9aba2d705540971961 | efb3753829a06413a4411a4753c547eec11e4c40 | /src/libzerocoin/Params.h | 1a0ea842c8d7c8e706365160d613f03588b48ac0 | [
"MIT"
] | permissive | BitHostCoin/BitHost | 69c6471b150104fc1147ca7541274bba546647c8 | cd83067acbe16cffa16ab0f752e6da05136c783a | refs/heads/master | 2020-04-01T19:55:33.954484 | 2019-02-22T15:43:29 | 2019-02-22T15:43:29 | 153,578,694 | 4 | 6 | MIT | 2019-05-21T21:23:34 | 2018-10-18T07:06:13 | C++ | UTF-8 | C++ | false | false | 6,097 | h | /**
* @file Params.h
*
* @brief Parameter classes for Zerocoin.
*
* @author Ian Miers, Christina Garman and Matthew Green
* @date June 2013
*
* @copyright Copyright 2013 Ian Miers, Christina Garman and Matthew Green
* @license This project is released under the MIT license.
**/
// Copyright (c)... | [
"44026210+BitHostCoin@users.noreply.github.com"
] | 44026210+BitHostCoin@users.noreply.github.com |
05050db2ee33635a1609b87ea8f76da4e6d43966 | 67fc9e51437e351579fe9d2d349040c25936472a | /wrappers/8.1.1/vtkBiQuadraticQuadWrap.h | f55ab11479c289095c16f2d45ff02e9f75c00238 | [] | permissive | axkibe/node-vtk | 51b3207c7a7d3b59a4dd46a51e754984c3302dec | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | refs/heads/master | 2023-03-05T07:45:45.577220 | 2020-03-30T09:31:07 | 2020-03-30T09:31:07 | 48,490,707 | 6 | 0 | BSD-3-Clause | 2022-12-07T20:41:45 | 2015-12-23T12:58:43 | C++ | UTF-8 | C++ | false | false | 2,057 | h | /* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */
#ifndef NATIVE_EXTENSION_VTK_VTKBIQUADRATICQUADWRAP_H
#define NATIVE_EXTENSION_VTK_VTKBIQUADRATICQUADWRAP_H
#include <nan.h>
#include <vtkSmartPointer.h>
#include <vtkBiQuadraticQuad.h>
#include "vtkNonLinearCellWrap.h"
#i... | [
"axkibe@gmail.com"
] | axkibe@gmail.com |
52bbb597c8c8f98cd62105b33a12a1372127acfd | 1ffb0d73aed05458f75936360948d6964de387af | /src/solver/pibt.h | a95a42b97ddbf3e04292ad313929b67ac3b4f596 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Kei18/pibt | 2a05011129cc760395f5c5eabba03a83bf4e53c4 | 2ad94bc7e9a817d93acef9849b743b6357b8e510 | refs/heads/master | 2021-12-10T04:22:36.826941 | 2021-11-23T02:46:06 | 2021-11-23T02:46:06 | 187,332,062 | 24 | 8 | MIT | 2020-10-02T12:30:04 | 2019-05-18T08:14:33 | C++ | UTF-8 | C++ | false | false | 1,427 | h | #pragma once
#include "solver.h"
class PIBT : public Solver {
protected:
std::vector<float> epsilon; // tie-breaker
std::vector<int> eta; // usually increment every step
std::vector<float> priority; // eta + epsilon
void init();
void allocate();
virtual void updatePriority();
Nodes createCandidat... | [
"keisuke.oku18@gmail.com"
] | keisuke.oku18@gmail.com |
ee299c6fc322467f474d0050b3b484d7dcabe082 | aefb8cde419ab4c59383ffe10ca655e9333f149b | /MechanicsTest/Source/MechanicsTest/ProjectileClass.h | 2715f1ed5f9f5f958570ba925fcf20f6d22addb6 | [] | no_license | DavidBrando/ARGP_Tests | a0837af63bc3605bda5edd6f9be2f1f4169d5ae3 | d157df226eb5a5c11226e36239812c6ddd42da58 | refs/heads/main | 2023-02-21T13:45:41.590497 | 2021-01-24T14:07:06 | 2021-01-24T14:07:06 | 331,369,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,107 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "ProjectileClass.generated.h"
class USphereComponent;
class UParticleSystemComponent;
class USceneComponent;
class UProjectileMovementComponent;
class UPartic... | [
"davidtbs@hotmail.es"
] | davidtbs@hotmail.es |
1822abed2252e2145fff8d699f6bf926725acda8 | 3f3095dbf94522e37fe897381d9c76ceb67c8e4f | /Current/Tutorial_Hint_Escort_BoscoOilShale.hpp | c457a0ce7c16462ae8dca5d8bb425633baca970b | [] | no_license | DRG-Modding/Header-Dumps | 763c7195b9fb24a108d7d933193838d736f9f494 | 84932dc1491811e9872b1de4f92759616f9fa565 | refs/heads/main | 2023-06-25T11:11:10.298500 | 2023-06-20T13:52:18 | 2023-06-20T13:52:18 | 399,652,576 | 8 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 467 | hpp | #ifndef UE4SS_SDK_Tutorial_Hint_Escort_BoscoOilShale_HPP
#define UE4SS_SDK_Tutorial_Hint_Escort_BoscoOilShale_HPP
class UTutorial_Hint_Escort_BoscoOilShale_C : public UTutorialHintComponent
{
FPointerToUberGraphFrame UberGraphFrame;
void ReceiveOnInitialized();
void OnBoscoChanged(class ABosco* Bosco);
... | [
"bobby45900@gmail.com"
] | bobby45900@gmail.com |
d78eea6fdad2b5d91a548e8b035a361769309fb2 | aa78ede78f08eecde9a78fe1066b81e47ae19390 | /Server/Network/MessageProcessing/getstatisticsrequestprocessorobject.h | b62e2d3321221c0310d0f136d0e0ed39c9aa351c | [] | no_license | MafiaMakers/Backend-server | 51c342d6e202194b47e183310e348643cbff5d31 | 1fdc213e841d78aca3b5f70bca45684664e32435 | refs/heads/master | 2023-01-12T04:57:25.511124 | 2020-11-02T12:53:50 | 2020-11-02T12:53:50 | 254,849,281 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | h | #ifndef GETSTATISTICSREQUESTPROCESSOROBJECT_H
#define GETSTATISTICSREQUESTPROCESSOROBJECT_H
#include "processorobject.h"
namespace Mafia {
namespace Network {
namespace MessageProcessing {
class GetStatisticsRequestProcessorObject : public ProcessorObject
{
publ... | [
"andrusov.n@gmail.com"
] | andrusov.n@gmail.com |
650419388cf51f37f453b09d92170a02d5325a07 | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/ash/wm/window_state.h | 2c0bb5ca61be87b01d3ceb2e16d44b920375a22b | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,982 | h | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_WM_WINDOW_STATE_H_
#define ASH_WM_WINDOW_STATE_H_
#include <memory>
#include "ash/ash_export.h"
#include "ash/wm/drag_details.h"
#include "a... | [
"dummas@163.com"
] | dummas@163.com |
f3d85195f02824ace4971350cec934c1c1d033ce | 388299829e68a249430ac1c21afc3261ad7ca6dc | /src/test/matrix_io_test.cc | 7abea1e6388c9116efcdc6e348ad76f631b00aee | [
"Apache-2.0"
] | permissive | raindreams/parameter_server-1 | 7c85e5b96145be44b6326dca2f5324726cafc814 | c54bb1913b5d2b2187012eb5f063ab01387943f0 | refs/heads/master | 2021-01-12T22:19:37.490735 | 2014-09-22T02:32:39 | 2014-09-22T02:32:39 | 24,549,568 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,770 | cc | #include "gtest/gtest.h"
#include "base/matrix_io_inl.h"
using namespace PS;
class MatrixIOTest : public ::testing::Test {
protected:
virtual void SetUp() {
}
void verifyRCV1(MatrixPtrList<double> data) {
EXPECT_EQ(data.size(), 2);
auto y = data[0]->value().eigenArray();
EXPECT_EQ(y.size(), 20242)... | [
"muli@cs.cmu.edu"
] | muli@cs.cmu.edu |
b1b7969b2e76d46428c40d1c8b690ec9c8f22448 | c74e77aed37c97ad459a876720e4e2848bb75d60 | /800-899/854/(30197365)[WRONG_ANSWER]D[ b'Jury Meeting' ].cpp | aed6d71d77c2fbf97929480890ff7c5224ac9f9a | [] | no_license | yashar-sb-sb/my-codeforces-submissions | aebecf4e906a955f066db43cb97b478d218a720e | a044fccb2e2b2411a4fbd40c3788df2487c5e747 | refs/heads/master | 2021-01-21T21:06:06.327357 | 2017-11-14T21:20:28 | 2017-11-14T21:28:39 | 98,517,002 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,189 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef unsigned long long uLL;
typedef long double ldb;
typedef pair<int,int> pii;
vector<int> C[1000001];
LL OC[1000001];
vector<int> F[1000001];
map<int,int> ma;
int n, m, k;
LL sum = 0;
void fun(int i)
{
for(int j = 0; j < int(F[i].size()); ... | [
"yashar_sb_sb@yahoo.com"
] | yashar_sb_sb@yahoo.com |
bc1822abe4f0e880e932005c5f2d365cab479d51 | d2ba0389accde0370662b9df282ef1f8df8d69c7 | /frameworks/cocos2d-x/cocos/renderer/scene/assembler/SimpleSprite2D.hpp | 01ee7031c8426da5d0a7034a5c3c73104621d72c | [] | no_license | Kuovane/LearnOpenGLES | 6a42438db05eecf5c877504013e9ac7682bc291c | 8458b9c87d1bf333b8679e90a8a47bc27ebe9ccd | refs/heads/master | 2022-07-27T00:28:02.066179 | 2020-05-14T10:34:46 | 2020-05-14T10:34:46 | 262,535,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,600 | hpp | /****************************************************************************
Copyright (c) 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... | [
"811408414@qq.com"
] | 811408414@qq.com |
c785b64b16be440f107c762357ce17bc722ecc39 | 5bedc85ef4ad015cb1075f048a85768a3ead0717 | /src/modules/ESModuleOscillatorBase.h | 5fa9040ff1dd1c1028aeafe8555b525442727700 | [
"MIT"
] | permissive | siqueiraets/essynth | a875ff071303fb69200cf4e65516de11a4a6435a | acd2a32752530728787cdc92962bc88b7df4ba48 | refs/heads/master | 2021-09-09T10:06:20.931082 | 2018-03-15T02:06:40 | 2018-03-15T02:06:40 | 118,532,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,562 | h | #ifndef ESMODULEOSCILLATORBASE_H_
#define ESMODULEOSCILLATORBASE_H_
#include "ESEngine.h"
#define ES_OSC_RESOLUTION 1024
// TODO sample rate needs to be read at runtime
#define SAMPLE_RATE 44100
namespace ESSynth {
enum class ESModuleOscillatorBaseInputs { Frequency, Clock };
enum class ESModuleOscillatorBaseOutp... | [
"siqueiraets@gmail.com"
] | siqueiraets@gmail.com |
8e39cc9b9f8b9ebd6de05dce55bcaeee703d7c1d | 01fb222322f3f37b4fff999c53182162a24ce337 | /libs/ml/tests/ml/ops/leaky_relu_op.cpp | 46ec9057095af7f7e5ff4d9bf1771f8893b8355b | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-unknown"
] | permissive | MissingNO57/ledger | 51cc4b932909d9d25145ac9649b0caa193c5fb0e | 0afeb1582da6ddae07155878b6a0c109c7ab2680 | refs/heads/master | 2020-05-29T17:19:02.935379 | 2019-05-29T13:59:39 | 2019-05-29T13:59:39 | 189,269,908 | 1 | 0 | Apache-2.0 | 2020-02-24T11:02:56 | 2019-05-29T17:28:42 | C++ | UTF-8 | C++ | false | false | 3,065 | cpp | //------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// 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
//
// ... | [
"noreply@github.com"
] | MissingNO57.noreply@github.com |
a2856338366b452cb3013205add7fb77d387fe03 | 5a6ff800792bf62756fe9750bf8a4d94e7abc3a4 | /Project X/Space.cpp | fb37b64d5fee20916e30c95d23c32ef073037009 | [] | no_license | Barsegyans/ProjectX | 8cc85d8ed8e9da365e55c077d12039af86c8f5c9 | 1aa2808ba93b34565488edee60667592a8b57a51 | refs/heads/master | 2021-01-13T09:02:47.337835 | 2016-12-02T12:03:16 | 2016-12-02T12:03:16 | 72,372,142 | 0 | 0 | null | 2016-12-02T11:58:32 | 2016-10-30T19:59:35 | C++ | UTF-8 | C++ | false | false | 206 | cpp | #include"Space.h"
Space::Space(float x, float y): Box2D(Point2D(0,0),Point2D(x, y)) {};
Space::Space(Point2D const & a, Point2D const & b): Box2D(a,b) {};
Space::Space(Box2D const & b): Box2D(b){};
| [
"Serbarmephi@gmail.com"
] | Serbarmephi@gmail.com |
f0d413b81ee182cdb6206fb1b665f0c013fd0e16 | f2339e85157027dada17fadd67c163ecb8627909 | /Server/EffectServer/Src/EffectAttackEntityAddBuff.h | 2950b143e08d127f166f0f3691e3a9f93388e418 | [] | no_license | fynbntl/Titan | 7ed8869377676b4c5b96df953570d9b4c4b9b102 | b069b7a2d90f4d67c072e7c96fe341a18fedcfe7 | refs/heads/master | 2021-09-01T22:52:37.516407 | 2017-12-29T01:59:29 | 2017-12-29T01:59:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,586 | h | /*******************************************************************
** 文件名: EffectAttackEntityAddBuff.h
** 版 权: (C) 深圳冰川网络技术有限公司 2008 - All Rights Reserved
** 创建人: 彭政林
** 日 期: 3/04/2016
** 版 本: 1.0
** 描 述: 效果-攻击实体增加Buff
http://172.16.0.120/redmine/issues/1660
******************************************... | [
"85789685@qq.com"
] | 85789685@qq.com |
9b86b7fbc7674926693b9f1ae7ccb69aac45400a | 9bbc105183d2241fa7204201e3dac18078bdc14c | /cpp/src/msgpack/rpc/session_pool.cc | e0a9d551285999f0aba53949d874653db501b37a | [
"Apache-2.0"
] | permissive | nowelium/msgpack-rpc | f220a4b0d2849f18abce72b7a55e44ab7afc715e | a9a5762d981524d7559bc67ba2feb0f4e58bf188 | refs/heads/master | 2021-01-17T12:06:04.481011 | 2010-06-08T11:50:25 | 2010-06-08T11:50:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,093 | cc | //
// msgpack::rpc::session_pool - MessagePack-RPC for C++
//
// Copyright (C) 2009-2010 FURUHASHI Sadayuki
//
// 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://ww... | [
"frsyuki@users.sourceforge.jp"
] | frsyuki@users.sourceforge.jp |
8b33590abdca58d7a01830dfe2b145bf79030188 | 44ae1b40f1cbc0703855f4d011cd9988b968adc0 | /objects.h | 5fdc41b4bdae12c5afdfe11f257fd35361098ed5 | [] | no_license | matthewpetela/cop3503-rsvp | 54670d1b499442ed67c04a268e96656c9e6e19c0 | 524b2de0bbb74dae3658e627600000dc516e9c33 | refs/heads/master | 2021-04-15T06:14:22.856876 | 2018-04-26T06:33:48 | 2018-04-26T06:33:48 | 126,245,421 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | h | /*
* objects.h
*
* Created on: Apr 22, 2018
* Author: Kimmy Spencer
*/
#ifndef OBJECTS_H_
#define OBJECTS_H_
#include <iostream>
#include <string>
using namespace std;
class objects{
private:
string name;
int amnt;
public:
objects(string name, int amnt);
void setRegistry(string gift);
void setAmo... | [
"noreply@github.com"
] | matthewpetela.noreply@github.com |
aa23b09b3c4e8803a5c6279d42d878e0949508d9 | 7e16344d6eea32fbee8c8fc018025530417ea9fb | /src/GameObjects.cpp | 24aea87a2a6afa249798745adad2c2cebe401b52 | [] | no_license | Bezifabr/BoardGameProject-Editor | 8df1c57687e1dcd55b1c2955ab408a8bbae6e080 | 9d0e5037c3d0c2e14af70e5624c6c8522f5e7d2b | refs/heads/master | 2020-03-22T10:59:42.246626 | 2018-07-07T09:36:23 | 2018-07-07T09:36:23 | 139,939,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,206 | cpp | /// ////////////////////////////////////////////////////////////////////////////
//
// Project: 'The Board Game Project'
// GameObjects.cpp
// Purpose: Contains the definitions of Item, Skill and Effect classes containers.
//
// Copyright (C) Maciej Saranda 2016 (Bezifabr@gmail.com)
// Code written only for use by Migh... | [
"bezifabr@gmail.com"
] | bezifabr@gmail.com |
a6bedb2125e6a6a65bc4e2c6b505beec43c42de5 | c3a424748ca2a3bc8604d76f1bf70ff3fee40497 | /legacy_POL_source/POL_2008/src/clib/sckutil.h | db2cc990fee3681e6fb6a9443e1f9cf6a7818fbf | [] | no_license | polserver/legacy_scripts | f597338fbbb654bce8de9c2b379a9c9bd4698673 | 98ef8595e72f146dfa6f5b5f92a755883b41fd1a | refs/heads/master | 2022-10-25T06:57:37.226088 | 2020-06-12T22:52:22 | 2020-06-12T22:52:22 | 23,924,142 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | h | #ifndef SCKUTIL_H
#define SCKUTIL_H
#include <string>
class Socket;
bool readline( Socket& sck,
std::string& s,
unsigned long interchar_timeout_secs = 0,
unsigned maxlen = 0 );
void writeline( Socket& sck, const std::string& s );
bool readstring( Socket& sck, string& s... | [
"hopelivesproject@gmail.com"
] | hopelivesproject@gmail.com |
64f47e1458608b9e4a50813a2f9ea782da0c6433 | 65ece8de4e4f0b440454c316e6e4fc8702221894 | /chapter4/ex4.7.1.cpp | 3ad596752a4240a1d7e14c021ad25a22ae179f9d | [] | no_license | bobchin/self-study-cpp | da765839cb0b2a5cbd1f03c68988b7e6bacb88ef | fd244d915ebe29eca66aeabff3c0e751553e4157 | refs/heads/master | 2021-01-15T08:32:10.456531 | 2016-10-11T05:03:52 | 2016-10-11T05:03:52 | 68,779,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | #include <iostream>
using namespace std;
class myclass
{
int who;
public:
myclass(int n) {
who = n;
cout << "コンストラクタ呼び出し" << who << "\n";
}
~myclass() { cout << "デストラクタ呼び出し" << who << "\n"; }
int id() { return who; }
};
// myclassオブジェクトを値渡しする
void f(myclass o)
{
cout << "受け取り "... | [
"k-ichihashi@hokkai-v.co.jp"
] | k-ichihashi@hokkai-v.co.jp |
20f66cc234465bfa5861f0c1bcdc94db680bfa50 | 734686d6c88a779eda24392ede30311872790490 | /Main/UVLeds.ino | 9275f3d486c1b24730b320352b97ef8b9166913e | [] | no_license | jeroenremans/bomb_escape | 47e4340e82b5b2583ededbd7440827a995e8a02e | 0afa422f9d0eaac28bb46661322137e3a00fd975 | refs/heads/master | 2021-04-06T00:16:11.333517 | 2018-03-11T17:24:30 | 2018-03-11T17:24:30 | 124,778,637 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 714 | ino | // 14-17
const int LED_1_PIN = 22;
const int LED_2_PIN = 23;
const int LED_3_PIN = 24;
const int LED_4_PIN = 25;
void uvLedsSetup() {
// Servo
pinMode(LED_1_PIN, OUTPUT);
pinMode(LED_2_PIN, OUTPUT);
pinMode(LED_3_PIN, OUTPUT);
pinMode(LED_4_PIN, OUTPUT);
}
void uvLedsLoop() {
digitalWrite(22, LOW);
... | [
"joenremans@gmail.com"
] | joenremans@gmail.com |
fb2982d24264bf30d3025e8802a736477a2ab730 | 08a46d882b8e69efd5090555915f39583cb0067a | /src/rpc/client.cpp | f4e6c87f5f99ae2f71e64ceeeb4717c95d7f8bd4 | [
"MIT"
] | permissive | Bitcoin-OLD/Bitcoin-OLD | 3a7d36ce9d7ba6c238b5e67443290172318c09d0 | 16627f390aa418a99103843f9d94c48931fad826 | refs/heads/master | 2020-04-16T21:00:10.631744 | 2019-01-15T19:39:39 | 2019-01-15T19:39:39 | 165,907,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,689 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoinold Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpc/client.h"
#include "rpc/protocol.h"
#include "util.h"
#include <set>... | [
"bitcoinold@protonmail.com"
] | bitcoinold@protonmail.com |
52e25b03e075ccdc306265ca26eeb151a8055f50 | bdfca7d4bd6e1baf2c43e593de66fcba80afadeb | /prog-verf/assignment1/sketch-1.7.5/sketch-frontend/test/sk/seq/miniTestb475.cpp | 5820e9526009cba0d8b432a3231ee597f62cef58 | [] | no_license | wanghanxiao123/Semester4 | efa82fc435542809d6c1fbed46ed5fea1540787e | c37ecda8b471685b0b6350070b939d01122f5e7f | refs/heads/master | 2023-03-22T06:47:16.823584 | 2021-03-15T10:46:53 | 2021-03-15T10:46:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | cpp | #include <cstdio>
#include <assert.h>
#include <iostream>
using namespace std;
#include "vops.h"
#include "miniTestb475.h"
namespace ANONYMOUS{
void main__Wrapper(int i, int j) {
_main(i, j);
}
void main__WrapperNospec(int i, int j) {}
void _main(int i, int j) {
int x_s1=0;
foo(i, x_s1);
int y_s3=0;
foo(j,... | [
"akshatgoyalak23@gmail.com"
] | akshatgoyalak23@gmail.com |
7479b30794e09926f655b5a65d801b1d3888a066 | 50e0524989ca0c59fa169169897979e1de28506b | /aliengo_gazebo/src/body.h | 481f0125b96ac4af0b13bcc848ea7f007f664ce9 | [] | no_license | SiChiTong/aliengo_delivery | dfadcf8170b51fc46d474775ded88c951e11aa1d | c4f28b91c32dd42f6043e5a582cc32a87aa3870e | refs/heads/master | 2023-01-31T07:33:46.249875 | 2020-12-09T07:15:39 | 2020-12-09T07:15:39 | 320,000,768 | 1 | 1 | null | 2020-12-09T15:35:48 | 2020-12-09T15:35:47 | null | UTF-8 | C++ | false | false | 820 | h | /************************************************************************
Copyright (c) 2018-2019, Unitree Robotics.Co.Ltd. All rights reserved.
Use of this source code is governed by the MPL-2.0 license, see LICENSE.
************************************************************************/
#ifndef __BODY_H__
#define ... | [
"e0444217@u.nus.edu"
] | e0444217@u.nus.edu |
04627e49abe72378ce57c80066d3472ee4d9ea35 | 0ecfa021ff82d67132b18ffe6ad7ad05c4e3a71d | /Convolutional Code/S_random interleaver/s-random.cpp | 331305507e035a0937e85f22217c0a800d4a0d6f | [] | no_license | JosephHuang913/Channel-Coding | 954673264db96cc4c882a09fca6e818b4c2e8584 | 6e6efa9f3970a93a343b8ec36f49365df5607e30 | refs/heads/main | 2023-01-21T00:08:12.570899 | 2020-11-24T01:07:35 | 2020-11-24T01:07:35 | 315,481,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,622 | cpp | /**********************************************/
/* Author: Chao-wang Huang */
/* Date: Thursday, September 23, 2004 */
/* S-random interleaver generator */
/**********************************************/
#include <stdio.h>
#include <math.h>
//#include <time.h>
#include... | [
"huangcw913@gmail.com"
] | huangcw913@gmail.com |
441764aedd755eec87ae91579180957396c752da | 09e5294e6019b13f8bdfd9daf1b6ce358062ce34 | /src/main.cpp | efe364abc6732a48176ec7081761b43c0bc752ef | [] | no_license | soarchorale/interview | 2f84801ac994a41e3c2e8436b8f350859396353e | 433181772aa37ca6b195a42ff38d7b93c6684d44 | refs/heads/main | 2023-02-19T21:53:39.470325 | 2021-01-24T12:10:51 | 2021-01-24T12:10:51 | 332,129,412 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | #include "complexAdd.h"
#include <iostream>
#include <thread>
int main() {
ComplexAdd* complex_add = new ComplexAdd();
std::thread A(&ComplexAdd::ProducerInt, complex_add);
std::thread B(&ComplexAdd::ProducerDouble, complex_add);
std::thread C(&ComplexAdd::Comsumer, complex_add);
std::thread D(&ComplexAdd::Prin... | [
"463052596@qq.com"
] | 463052596@qq.com |
317a32a13b362247e026cb11bc72104b18b3f5c2 | 69a8a80e7016e3ff2b26f0355941dba0d441a638 | /src/Block.cpp | 894595ad022474c6a7283d60f975def1598c9f0d | [] | no_license | questcoinn/Qkcolb | 7231f5787e0a7ddaaf3ba5350b7c7e86b2e58515 | 03961303f85605c0b0ed0fced1752319ff34719f | refs/heads/master | 2023-05-02T03:18:11.859874 | 2021-05-10T10:56:31 | 2021-05-10T10:56:31 | 365,523,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,802 | cpp | #include <ctime>
#include "Block.hpp"
#include "sha256.hpp"
#ifdef DEBUG
#include <iostream>
#endif
qb::Block::Block(std::string data, std::string prevBlockHash, int64 targetBit)
:data(data)
,prevBlockHash(prevBlockHash)
{
this->timestamp = std::chrono::system_clock::now();
this->setHash(targetBit);
... | [
"iopell2007@gmail.com"
] | iopell2007@gmail.com |
73497bc7b6d44357f434c69ef5ef567cdb63c810 | d5328e2f5c2817cf8e558119f7084528a9ab75eb | /src/std/rng.cpp | 218aa8f25fab20a860cf974bdd8622c71e422692 | [
"MIT"
] | permissive | arudei-dev/Feral | a0e31517fd809533b5b1b8836c69fb991cf0d1c1 | 44c0254f9f85dbf0f11f8cc1f86dc106f6a16d92 | refs/heads/master | 2023-06-09T11:24:00.851064 | 2021-06-29T13:21:59 | 2021-06-29T13:22:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,755 | cpp | /*
MIT License
Copyright (c) 2021 Feral Language repositories
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, modi... | [
"ElectruxRedsworth@gmail.com"
] | ElectruxRedsworth@gmail.com |
c01abc4221d204f7b00785a4efb7dc23025165c0 | d31b701323aa0d0752fee4a373c8e41f0304f5f8 | /lge_texcache.cpp | 92cbd545ace9f237d3e2e6d74d9b2565dc89fa79 | [
"CC0-1.0"
] | permissive | lieff/lge | 444c2b93ad6b9cb92585e9dce3617bbe98d77c29 | 2738ddcdb83431a5113bdce06fac80d7571a39ee | refs/heads/master | 2020-04-22T02:55:15.575204 | 2015-09-08T16:26:50 | 2015-09-08T16:26:50 | 42,123,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,328 | cpp | #include "lge_texcache.h"
CTexturesCache::CTexturesCache()
{
m_tex_ssbo_buf = 0;
m_ssbo_buf_size = 0;
m_commit_needed = false;
m_textures.reserve(16);
m_tex_handles.reserve(16);
}
CTexturesCache::~CTexturesCache()
{
DeleteTexturesBlock(0, (unsigned int)m_textures.size());
}
unsigned int CText... | [
"lieff@users.noreply.github.com"
] | lieff@users.noreply.github.com |
747caa5696a175c03637a3efc80546768a7c0fb2 | 93f4aa14d544952c0fdc7ed29404d47fd2fda32a | /Source/Delay.cpp | 37fe8ae75f4c84f412d16d7bd8e7c69ad01d1ca8 | [] | no_license | harpershapiro/BuzzSaw | be2c248d8cfa58f5009ddbfd8889a6106695ef20 | c2f92771464ac48f2f6a2a66358507b99a77fac2 | refs/heads/master | 2022-12-10T07:43:17.715081 | 2020-09-07T22:27:01 | 2020-09-07T22:27:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,369 | cpp | /*
==============================================================================
Delay.cpp
Created: 23 May 2020 5:47:22pm
Author: harpe
==============================================================================
*/
#include "Delay.h"
Delay::Delay() : delayWritePosition(0), delayReadPosition(0)
... | [
"harper.shapiro@gmail.com"
] | harper.shapiro@gmail.com |
08026c54d5c4ab5e7ba65f8ea661e01872940235 | f80beb46c4d1ee75953c10d152e71be2dbce2ce7 | /RBox/src/RBDetectorConstruction.cc | 974e18e806a5777785e3ee78fc6f5c99c8630e9b | [] | no_license | zLng1/RBox | 34638c15d2caee970205eb5b8b03bad5f8d7c647 | 68ce85dcb9f1245fb8ce1d6a694984668737c881 | refs/heads/main | 2023-04-09T12:20:54.390281 | 2021-04-24T00:10:18 | 2021-04-24T00:10:18 | 360,943,267 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,234 | cc | #include "RBDetectorConstruction.hh"
#include "G4NistManager.hh"
#include "G4Material.hh"
#include "G4Box.hh"
#include "G4Tubs.hh"
#include "G4LogicalVolume.hh"
#include "G4PVPlacement.hh"
#include "G4RotationMatrix.hh"
#include "G4Transform3D.hh"
#include "G4SubtractionSolid.hh"
#include "G4OpticalSurface.hh"
#include... | [
"noreply@github.com"
] | zLng1.noreply@github.com |
c6933b5e403d3fee4eb28722561e8177c9d2c60b | be6656863a8bb75f4843e0c69cff688f67027e20 | /caracter.cpp | 7633707afc6ee4d70e0873037912528a337fd4af | [] | no_license | rafaelapure82/C-Parte-2 | 31669440fa1a12fe67fb8f607608dbec636ce6f7 | 215c8821e2c9fe3f8b4494b02878bed5731d0f3a | refs/heads/master | 2021-05-13T11:54:22.583554 | 2018-01-11T19:54:16 | 2018-01-11T19:54:16 | 117,146,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | cpp | #include <iostream>
using namespace std;
int main(void)
{
char car;
cout << "Introduzca un caracter: ";
cin >> car;
switch (car)
{
case 'a':
case 'A':
case 'e':
case 'E':
case 'i':
case 'I':
case 'o':
... | [
"noreply@github.com"
] | rafaelapure82.noreply@github.com |
f1338377d4bfc15dee127bcec2220087e998249d | cd5cb70f499898578772195a217ce3b9c9c606ba | /common/redisapi/redisbase.hpp | 07f993bda51aac00154ef4a27ee61c8e0291cbee | [] | no_license | qinchun2000/autotrader | 9aa6ebdef31a01597f52c55cedea1c7f22de6279 | 8651754e2562188a5acf9ac400e9709c693afe5e | refs/heads/main | 2023-03-21T19:25:07.257203 | 2021-03-08T09:40:22 | 2021-03-08T09:40:22 | 340,294,521 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 876 | hpp | #ifndef _REDISBASE_H_
#define _REDISBASE_H_
#include <iostream>
#include <string.h>
#include <string>
#include <stdio.h>
#include <hiredis/hiredis.h>
#include <json/json.h>
#include "depthmarket.hpp"
using namespace std;
class RedisBase
{
public:
RedisBase();
~RedisBase();
std::string GetHost();
v... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
c105f68c2e3379ed124e265ce0505fa8055b16e3 | d2fb019e63eb66f9ddcbdf39d07f7670f8cf79de | /groups/bsl/bslalg/bslalg_bidirectionallink.h | ff9f8579bdb9deced864adcaa629371da52aa650 | [
"MIT"
] | permissive | gosuwachu/bsl | 4fa8163a7e4b39e4253ad285b97f8a4d58020494 | 88cc2b2c480bcfca19e0f72753b4ec0359aba718 | refs/heads/master | 2021-01-17T05:36:55.605787 | 2013-01-15T19:48:00 | 2013-01-15T19:48:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,330 | h | // bslalg_bidirectionallink.h -*-C++-*-
#ifndef INCLUDED_BSLALG_BIDIRECTIONALLINK
#define INCLUDED_BSLALG_BIDIRECTIONALLINK
#ifndef INCLUDED_BSLS_IDENT
#include <bsls_ident.h>
#endif
BSLS_IDENT("$Id: $")
//@PURPOSE: Provide a basic link type for building doubly-linked lists.
//... | [
"abeels@bloomberg.net"
] | abeels@bloomberg.net |
9a269666a41104087c46932f21163b0f89806dbe | 3a6b77c6d8b8997334468667df5a92b2fba6dd26 | /twain-v2/twain_png.cpp | ea0341ae87a2d651eb173e8900308117d8d78f47 | [] | no_license | miyako/4d-plugin-twain | 0071bcc723915268200b1fc8502cb43c72316f76 | 79ed909badc39cbef3897cfc3effccb9315ae71d | refs/heads/master | 2022-04-12T10:31:56.962629 | 2020-04-05T03:01:42 | 2020-04-05T03:01:42 | 104,451,668 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,382 | cpp | #include "twain_png.h"
void PNG::write_data_fn(png_structp png_ptr, png_bytep buf, png_size_t size)
{
C_BLOB *blob = (C_BLOB *)png_get_io_ptr(png_ptr);
blob->addBytes((const uint8_t *)buf, (uint32_t)size);
}
void PNG::output_flush_fn(png_structp png_ptr)
{
}
void png_write_blob(C_BLOB &data, C_BLOB &picture,
... | [
"miyako@wakanda.jp"
] | miyako@wakanda.jp |
1b1a1d6a27f6de29e618a4706f34a72c6a77039f | adf8386eae06b82a85b1c9a4ff0abb2ec1057464 | /MengeConfig/src/main/ContextManager.cpp | e3ab5d98ccd4e1a8ef69e2ac6debf1492d560fed | [] | no_license | curds01/MengeConfig | 5fa847ce632164c96099d1197295d2dcc30c569e | b1e5086e2b05d8e0c1655475bbdbaa13f3efb4c9 | refs/heads/master | 2021-01-18T05:13:30.165985 | 2017-03-08T04:30:10 | 2017-03-08T04:30:10 | 84,278,174 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,457 | cpp | #include "ContextManager.hpp"
#include "QtContext.h"
///////////////////////////////////////////////////////////////////////////////
// Implementation of ContextManager
///////////////////////////////////////////////////////////////////////////////
ContextManager * ContextManager::_instance = 0x0;
... | [
"Sean"
] | Sean |
3c0f24207d06462a683cf8ee287cac8297089fc3 | 2e9b9f4992c8afaa8d90f6e70494f25583e43aec | /src/3rdparty/brpc/src/butil/containers/mru_cache.h | e2bbef7d0bd70ed0d9f873a4c528e668071d9242 | [
"Apache-2.0",
"BSD-Source-Code",
"BSD-3-Clause",
"ICU",
"bzip2-1.0.6",
"dtoa",
"MIT",
"LicenseRef-scancode-bsd-x11",
"BSL-1.0",
"BSD-2-Clause-Views",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-facebook-patent-rights-2"
... | permissive | KeyviDev/keyvi-server | e77668bd64cbed9bfbcf69d777c23a7728dafb4a | 787e4ce8f6f104bfd3d3c9ff96d8985c5fb7b925 | refs/heads/master | 2021-12-12T08:50:48.215460 | 2021-10-29T16:00:40 | 2021-10-29T16:00:40 | 174,194,731 | 8 | 2 | Apache-2.0 | 2020-12-07T20:12:56 | 2019-03-06T18:02:14 | C++ | UTF-8 | C++ | false | false | 10,996 | 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.
// This file contains a template for a Most Recently Used cache that allows
// constant-time access to items using a key, but easy identification of t... | [
"noreply@github.com"
] | KeyviDev.noreply@github.com |
2ffc3ac3a984e5f4d4e5ec5b5d7eaf72dcdf577d | f3102a100ad7f5606af620caca37c706ed2d5e55 | /Baekjoon/10952.cpp | c56ccfbb5d3bf55462ed557645c7f42dc933b736 | [] | no_license | ameliacode/Algorithm | c746797b27cf1f783874acc89d024920c0b45897 | d6de240c5c0347cd8f58b59361a8eed5e79733db | refs/heads/master | 2022-02-22T12:36:06.466225 | 2022-02-17T02:55:05 | 2022-02-17T02:55:05 | 210,334,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171 | cpp | #include<iostream>
using namespace std;
int main() {
int a, b;
while(1) {
cin >> a >> b;
if (a == 0 && b == 0) break;
cout << a + b << endl;
}
return 0;
} | [
"emilyjr1@naver.com"
] | emilyjr1@naver.com |
1765c3149420624afd5706ed72ee3f974a935d11 | 5c0bc7d833e37161ad7409d2e56fd1207e3234b2 | /HW_5/exam.cpp | 478ea8787b52a1a642018fd0a0debb5d15790edb | [] | no_license | gabrieletrata/MTH_3300 | 9888c00b2c75cca307817fd7c19cdfe36123fe77 | 24030cac363181b50841bf73ad8ee0547393d6a3 | refs/heads/master | 2020-03-24T05:56:59.347450 | 2018-07-27T00:58:38 | 2018-07-27T00:58:38 | 142,510,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,838 | cpp | //******************************************************************************
// exam.cpp
// Computes the probability of passing an exam.
// This exam is 35 multiple choice questions, with 5 choices per question.
// A score of 11, or greater is considered a pass.
//***************************************************... | [
"gabrieletrata@gmail.com"
] | gabrieletrata@gmail.com |
f5514a1052e5f51f1fcffeb3c4fb663ffd4a7621 | 8afa1e06465eeef8354087293b14c54d42af9cc2 | /src/qt/bitcoingui.cpp | b4d73f94c9b1c90b3e6dfb5e6a8c26670a58eebd | [
"MIT"
] | permissive | ShinDaniel/spon | 20577f0d8f6f884aff45ef6cc2729ecbd8cbeb31 | 9d768d68812028709611f8ffc5c06daf903493a1 | refs/heads/master | 2020-04-08T08:30:09.562087 | 2018-11-26T14:18:53 | 2018-11-26T14:18:53 | 155,554,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52,273 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The SPON developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bitcoingui.h"
#includ... | [
"sis3719@gmail.com"
] | sis3719@gmail.com |
00e97a5d1663024ba9e5858d25fab591af090fb7 | 39a6b3e717a3b49bbca508b4b8c602d99e6b08f5 | /tensorflow/compiler/mlir/xla/hlo_utils.cc | bfa57d97336ee88e7d73cb126036bcca10330718 | [
"Apache-2.0"
] | permissive | lucigrigo/tensorflow | a584b81c9c7de513197a5ef9aabf1eb3411b5cce | 39ee10bb064086ea7fd6d4cb831e02958671cfb7 | refs/heads/master | 2020-12-10T11:58:37.722788 | 2020-01-13T10:20:58 | 2020-01-13T10:20:58 | 233,582,234 | 2 | 0 | Apache-2.0 | 2020-04-16T17:12:35 | 2020-01-13T11:40:52 | null | UTF-8 | C++ | false | false | 3,134 | cc | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
3ab0453f080f4bb201b3210c8febf37062e197d8 | c82d5b7031d567ad7b76f1a9fffafb717b5e23de | /面试高频题/HashTable.h | 322222c313342c1ca8fbee8f693a7d48a6b1077a | [] | no_license | newhandLiu/First | 55cd2715df924423f6afacc59a4cfe925284a0e2 | 37d1ba62531737a0809f74c298d1b013048e8aca | refs/heads/master | 2021-01-01T17:00:07.552590 | 2012-04-23T05:58:19 | 2012-04-23T05:58:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,307 | h | //链地址散列表
#ifndef HASHTABLE_H
#define HASHTABLE_H
#include<vector>
#include<list>
#include<string>
#include<algorithm>
using namespace std;
template<class T>
class HashTable
{
public:
explicit HashTable(int size=101);
bool contains(const T& obj)const;
void clear();
bool insert(const T& obj);
bool remove(const T& o... | [
"dearliujun@gmail.com"
] | dearliujun@gmail.com |
4bd89306ab76ec3f50e4859e2fe2f92c02240073 | b086e2648679bb952cb2dbc0a8255932981adfe4 | /src/YScoket.h | a0f4af2fb597422cfec7df2c9f89b5a0bda7519a | [] | no_license | yuangu/YNet | 845092164f9443bc540bc688ccb227b59305b2a0 | fdf7d7c832b4f1172381938e4de9473903b7ddf5 | refs/heads/master | 2020-04-11T20:21:38.757975 | 2019-04-02T10:41:53 | 2019-04-02T10:41:53 | 162,068,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | h | #pragma once
#include "socket_header.h"
#include "poll/IOPoll.h"
#ifndef Y_BUFF_SIZE
#define Y_BUFF_SIZE 1024
#endif
class YAddress;
class YSocket;
class YTLS;
typedef std::function<void(YSocket*)> SocketEventCallBack;
class YSocket
{
public:
YSocket();
YSocket(SOCKET_FD fd);
virtual ~YSocket();
void bind(YAd... | [
"lifulinghan@aol.com"
] | lifulinghan@aol.com |
af147a75f5134d9b3c19feedb30deafd7efcf4ea | 77ffb0bb747d96a7995c5a750e5ca9d41a64eff8 | /ethzasl_msf/msf_core/include/msf_core/msf_IMUHandler_ROS.h | 3d9b72d3c88f1ec3cca9e761b6a4bb72df76ae3c | [
"Apache-2.0"
] | permissive | Sprann9257/3D-mapping | 43a634c8e49de7a869c0c414aa201b92c61e90c5 | 8d59fe91bb7fd128a7d716da3b7f6984de6697f3 | refs/heads/master | 2021-04-03T07:07:03.217522 | 2017-05-18T13:18:46 | 2017-05-18T13:18:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,245 | h | /*
* Copyright (C) 2012-2013 Simon Lynen, ASL, ETH Zurich, Switzerland
* You can contact the author at <slynen at ethz dot ch>
*
* 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... | [
"chenmengxiao11@nudt.edu.cn"
] | chenmengxiao11@nudt.edu.cn |
cb63f0c808e5f127d5e0bd339782d6d1f1651ebc | 815486fd4ac8010bebce3d7cce1081d56a54179c | /exp01/task02.cpp | 9a5e690f31c6ef101804f64c86ffe931b0dd9b8c | [] | no_license | Jinyers/homework | ca7d567bc3d4f2125be11eabf7808506960e6085 | 1331a6e145a33501abaa1dc3bda19f9b3dad99d2 | refs/heads/master | 2023-02-05T18:00:30.988969 | 2020-12-21T22:57:11 | 2020-12-21T22:57:11 | 308,596,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | #include <iostream>
using namespace std;
int main()
{
int size = 0;
cout << "Введите размер массива: ";
cin >> size;
int* massive = new int[size];
for (int i=0; i<size; i++)
{
cout << "Введите " << i+1 << "-ный элемент: ";
cin >> massive[i];
}
// Sum
int sum = 0;
for (int i=0; i<size;... | [
"jinyer@Jinyer-Mac.local"
] | jinyer@Jinyer-Mac.local |
0f6ade00767bd619b2ea46bda9b7b705151d31b6 | ffcdb598bebc8a8c9d190b98cc88953c748dc88a | /05.cc | 30e7a6b36bf469fd71d74d5ed7e5a9df19094ce2 | [] | no_license | aztecrex/try-sdl | e2cfa961bc187ccd78473625f47b12f999b2c641 | 1468979d55c44fc21189c34006cdc32bbf9ba6aa | refs/heads/master | 2021-01-20T00:21:36.370424 | 2017-04-29T21:44:33 | 2017-04-29T21:44:33 | 89,119,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,455 | cc | /*This source code copyrighted by Lazy Foo' Productions (2004-2015)
and may not be redistributed without written permission.*/
//Using SDL, standard IO, and strings
#include <SDL.h>
#include <stdio.h>
#include <string>
//Screen dimension constants
const int SCREEN_WIDTH = 640;
const int SCREEN_HEIGHT = 480;
//Starts... | [
"aztec.rex@jammm.com"
] | aztec.rex@jammm.com |
17d5e8f0e19ff0de249bc01951094aa1b308a5e6 | 719e93f4e5799fb75ed99a4e3f69abd6ad9b8895 | /lab_1/main.cpp | fde6ec0013a8213dea1912901cc2140a3ab2ce3e | [] | no_license | rafal166/pamsi_project | acdad488901779ef1f904f8a05d11d7b7b75c7ea | ba4d25b838f602c47b7156dd2d629634459d2d1d | refs/heads/master | 2021-02-13T17:20:24.457833 | 2020-05-07T11:39:00 | 2020-05-07T11:39:00 | 244,716,117 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,308 | cpp | /*
* File: main.cpp
* Author: rafal
*
* Created on 24 marca 2020, 17:37
*/
#include <cstdlib>
#include <iostream>
#include <vector>
#include <cmath>
#include <memory>
#include <time.h>
#include <thread>
#include "utilities.h"
#include "MergeSort.h"
#include "HeapSort.h"
#include "QuickSort.h"
#include "In... | [
"rafal.rzewucki@gmail.com"
] | rafal.rzewucki@gmail.com |
a90bbf71662b50c08b720b550e0f7b663fea5fba | aea5a52d44cd8907efc483fcbb0c6092ba571735 | /gamewidget.cpp | d0491f8b25723aee62f812b4b74fce0f122f755d | [] | no_license | giarld/gxinMine | b06400e14527a3aad65fd4121f5f31dbeef65a81 | 7b3ba6bcd7c49f9a622d4a891cabd02659277ecf | refs/heads/master | 2020-04-10T22:47:30.019065 | 2014-07-06T15:26:51 | 2014-07-06T15:26:51 | 21,043,468 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,496 | cpp | #include "gamewidget.h"
#include <ctime>
#include <cstring>
GameWidget::GameWidget(QWidget *parent) :
QWidget(parent)
{
this->setFixedSize(QSize(270+100,270+100));
init();
// newGame();
}
void GameWidget::init()
{
this->wCount=this->hCount=9;
this->MineCount=10;
blockSize=30;
update(... | [
"xinxinqqts@gmail.com"
] | xinxinqqts@gmail.com |
6e1c98a0e62f74dbd84661f052ae9a31c508fadf | 76420c48c525228d1947f3a22e89a2904262dc79 | /incl/subber.hpp | da74917b6dca876427dd4e0840936ec9d0e640f6 | [] | no_license | longde123/caxe | 559c16f9011693db5a03b4a8c82fa3487644cf53 | 8bf411e936a2ca9c45d72a9b8b2f30971f5d7b2b | refs/heads/master | 2020-07-10T21:19:54.506801 | 2012-11-25T12:30:48 | 2012-11-25T12:30:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 541 | hpp | #ifndef subber_hpp
#define subber_hpp
#include <parser_obj.hpp>
#include <caxe_util.hpp>
#include <deque>
#include <vector>
#include <string>
class Subber : public Thread {
ref<std::deque<ptr<MFile>>::iterator> ite;
ref<tsDeque<ptr<MFile>>> files;
size_t run();
public:
Subber();
... | [
"luca@deltaluca.me.uk"
] | luca@deltaluca.me.uk |
7651a777b05f3ac82a000c321349967ba31183bd | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_old_hunk_59.cpp | 214eeec1bee6d6d331677f4aa003915e16dbebda | [] | 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 | 389 | cpp | {
announceInitiatorAbort(theLauncher); // propogate to the transaction
clearInitiator();
mustStop("initiator gone");
}
void Adaptation::Iterator::noteAdaptationQueryAbort(bool final)
{
debugs(93,5, HERE << "final: " << final << " plan: " << thePlan);
clearAdaptation(theLauncher);
updatePlan(fal... | [
"993273596@qq.com"
] | 993273596@qq.com |
f69a60ba7ee7ce0ed00722e076682df16cecbaf2 | 61fcc3fc81cb5ab59f8e857f0ecab472917f04b1 | /datastructure/cumulativesum/cumulativesum.hpp | 8dce6fe589b1814681ac821f73d7159cc34f176a | [] | no_license | morioprog/cpplib | 4a4e6b9c0eb5dd3d8306041580e4c6c76b65d11e | 71697ee35e8da1c7ae706e323304c170ad1851d6 | refs/heads/master | 2023-01-30T22:31:01.629203 | 2020-12-12T15:14:07 | 2020-12-12T15:14:07 | 257,325,284 | 0 | 0 | null | 2020-10-27T10:20:23 | 2020-04-20T15:33:06 | C++ | UTF-8 | C++ | false | false | 670 | hpp | /**
* @brief 1次元累積和
* @docs docs/datastructure/cumulativesum/cumulativesum.md
*/
template <typename T>
struct CumulativeSum {
int sz;
vector<T> data;
CumulativeSum(const vector<T> &v, const T margin = 0)
: sz(v.size()), data(1, margin) {
for (int i = 0; i < sz; ++i) data.emplace_back(data[i... | [
"morio.prog@gmail.com"
] | morio.prog@gmail.com |
91d4679d82f33124715e5012d041495a05108cdb | 33a0162aa373ecf1e99fa587bd5d7a09ad6c81ab | /lib/tvseg/settings/serializerbase.h | 0898368bd7a4d389ae17e0bd0bfd038598f1e125 | [
"MIT",
"BSD-3-Clause",
"BSL-1.0",
"BSD-2-Clause"
] | permissive | nihalsid/tvseg | 8b972febb36964bca57455edcdcebb096e81b07a | a97a63f81cc45d25f450199e044f041f5d81c150 | refs/heads/master | 2020-04-19T14:23:51.751661 | 2019-01-29T23:06:20 | 2019-01-29T23:06:20 | 168,243,627 | 0 | 0 | null | 2019-01-29T23:03:37 | 2019-01-29T23:03:37 | null | UTF-8 | C++ | false | false | 1,118 | h | #ifndef TVSEG_SETTINGS_SERIALIZERBASE_H
#define TVSEG_SETTINGS_SERIALIZERBASE_H
#include "serializer.h"
#include "backend.h"
namespace tvseg {
namespace settings {
class SerializerBase : public Serializer
{
public: // types
typedef Backend::iterator iterator;
typedef Backend::const_iterator const_iterator;
... | [
"nikolaus@nikolaus-demmel.de"
] | nikolaus@nikolaus-demmel.de |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.