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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6736df540b88b51e2b40e8237bd52a161686d26b | d2fa803d61836e9ac411ead501747bb99c56c839 | /plugins/channeltx/modnfm/nfmmodgui.cpp | 471a36cd61d09a769d292317a8976e11e67f8f7f | [] | no_license | hmne/sdrangel | 9eac60c843cc8da3bf1f7fe4dfca24a45b28d120 | 1d442fd077981087fb7733dde486d8501885d56e | refs/heads/master | 2020-03-29T21:00:38.928842 | 2017-12-02T17:57:55 | 2017-12-02T17:57:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,942 | cpp | ///////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2016 Edouard Griffiths, F4EXB //
// //
// This program is free software; you can redistribute it and/or mod... | [
"f4exb06@gmail.com"
] | f4exb06@gmail.com |
ed1b10674976c421a3126fa959618fad1783d17d | 52ca17dca8c628bbabb0f04504332c8fdac8e7ea | /boost/phoenix/statement/detail/preprocessed/try_catch_expression_30.hpp | 8df8e47cb05f5064f3625a91f6ec55dec9161fd7 | [] | no_license | qinzuoyan/thirdparty | f610d43fe57133c832579e65ca46e71f1454f5c4 | bba9e68347ad0dbffb6fa350948672babc0fcb50 | refs/heads/master | 2021-01-16T17:47:57.121882 | 2015-04-21T06:59:19 | 2015-04-21T06:59:19 | 33,612,579 | 0 | 0 | null | 2015-04-08T14:39:51 | 2015-04-08T14:39:51 | null | UTF-8 | C++ | false | false | 107 | hpp | #include "thirdparty/boost_1_58_0/boost/phoenix/statement/detail/preprocessed/try_catch_expression_30.hpp"
| [
"qinzuoyan@xiaomi.com"
] | qinzuoyan@xiaomi.com |
c8a490935064fc18df19cc877693a844713d81fa | 15ae3c07d969f1e75bc2af9555cf3e952be9bfff | /analysis/pragma_before/pragma_243.hpp | 12cf526c1e9df691b44f2a14bc8357b49c834be9 | [] | no_license | marroko/generators | d2d1855d9183cbc32f9cd67bdae8232aba2d1131 | 9e80511155444f42f11f25063c0176cb3b6f0a66 | refs/heads/master | 2023-02-01T16:55:03.955738 | 2020-12-12T14:11:17 | 2020-12-12T14:11:17 | 316,802,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 101 | hpp | #ifndef CXUOUPGHIOJ_OAHWQNCI_HPP
#define CXUOUPGHIOJ_OAHWQNCI_HPP
#endif // CXUOUPGHIOJ_OAHWQNCI_HPP | [
"marcus1.2.3@wp.pl"
] | marcus1.2.3@wp.pl |
24302f83e44e9efe50950628a352b4d5e3e93c10 | 6446c6e0649895e8b8fc6442e334f92641df4d15 | /branches/0.5.7.experimental/EScript/Utils/IO/AbstractFileSystemHandler.h | c1924c21ab2ff2d057c3c431ed37ddddb3a8fecd | [] | no_license | BackupTheBerlios/escript-svn | e33b5dc2192de09b62078cfcec38ad8eec61747a | 36b2e5f69adb768214cd05204a47cf03c09eba9e | refs/heads/master | 2016-08-04T17:36:45.234689 | 2014-01-06T20:08:03 | 2014-01-06T20:08:03 | 40,668,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,460 | h | // AbstractFileSystemHandler.h
// This file is part of the EScript programming language.
// See copyright notice in EScript.h
// ------------------------------------------------------
#ifndef ABSTRACTFILESYSTEMHANDLER_H
#define ABSTRACTFILESYSTEMHANDLER_H
#include "../StringData.h"
#include "IOBase.h"
#includ... | [
"claudiusj@5693b1fc-3b75-4070-9b6b-3ce3692a40d5"
] | claudiusj@5693b1fc-3b75-4070-9b6b-3ce3692a40d5 |
d8f9d3fbce8afa766d306a29613a690a98826b9e | 0b50797347e410b680ce1f4fb784d3462a8cfed3 | /Item.h | c40083d5d353782106263d1f206d69b198bc5201 | [] | no_license | yangbodong22011/kioskcached | 8c936d00df626baf5022c950c68a6e9f96f156f7 | 7af3c826c721c93d74937678c21c0f7d6712da2c | refs/heads/master | 2021-01-11T21:01:40.536799 | 2017-04-20T01:17:37 | 2017-04-20T01:17:37 | 79,231,746 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,881 | h | /*************************************************************************
> File Name: Item.h
> Author: YangBodong
> Mail: ybd@xiyoulinux.org
> Created Time: Wed 15 Feb 2017 08:36:15 PM CST
************************************************************************/
#ifndef _ITEM_H
#define _ITEM_H
#include<memory>... | [
"ybd@xiyoulinux.org"
] | ybd@xiyoulinux.org |
b42b444fd132f271c2952742b51fce1169e4f72a | 3c7859a0d2643c4a90170189bf71e5046d6e8c0d | /src/entities/space_craft.cpp | b0a5efa3118de62b79306044bbbeff68be8b4599 | [
"MIT"
] | permissive | MORTAL2000/planets | 5d775bcc85e014a6b78bc7353c844ac8746dda4b | ad118c7ba9d479afc29ba9d5b65222c8c7f2cde2 | refs/heads/master | 2022-07-03T14:39:25.840344 | 2020-05-15T16:20:45 | 2020-05-15T16:20:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | cpp | #include "space_craft.hpp"
Spacecraft::Spacecraft() {}
void Spacecraft::upload() {}
void Spacecraft::render(RenderType type) {} | [
"me@alexkafer.com"
] | me@alexkafer.com |
96d67493767400d880a9be1b195385b74acd812c | 16886879d215500e06bc7625131e81c1541b4008 | /src/internal/timereventdata.cpp | 3e1c092f35a7c2f0211e55bd98031debacfe7e14 | [
"MIT"
] | permissive | ZaoLahma/ThreadFramework | d138caebf0c5dcbb764996147a74fe68b6a50c2b | 994367fe1ccd6b22b307645eb73757916aaa55f0 | refs/heads/master | 2022-09-29T08:24:09.670380 | 2022-09-18T12:49:46 | 2022-09-18T12:49:46 | 51,267,266 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | /*
* timereventdata.cpp
*
* Created on: Apr 27, 2016
* Author: janne
*/
#include "internal/timereventdata.h"
TimerEventData::TimerEventData(const uint32_t _timerId) :
timerId(_timerId)
{
}
uint32_t TimerEventData::GetTimerId() const
{
return timerId;
}
| [
"thyberg.jan@gmail.com"
] | thyberg.jan@gmail.com |
022365e95f4d03cebba2e85a20da97d821c10424 | aba44f99398f2e33ceb6731e23bc7bedf8fe2532 | /include/caffe/layers/crf3_loss_layer.hpp | 6561143d178537757023dc445b6fe77df553a3e5 | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain"
] | permissive | myBestLove/caffe-dev-160608 | d24842230e1693a428bd85bb6a1df0e458b4c213 | 6ff590f921b53de7cec00d4bd150826a7a31829c | refs/heads/master | 2021-06-22T01:37:12.260542 | 2017-08-21T13:09:15 | 2017-08-21T13:09:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,196 | hpp | #ifndef CAFFE_CRF3_LOSS_LAYER_HPP_
#define CAFFE_CRF3_LOSS_LAYER_HPP_
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/layer.hpp"
#include "caffe/proto/caffe.pb.h"
#include "caffe/layers/loss_layer.hpp"
/*
* This layer is modified from the crf2loaslayer, which use different binary segment
* result as t... | [
"yan2006nt@sina.com"
] | yan2006nt@sina.com |
a201f07782845822a24e85b8eca06d73c5c47e8c | cb82ac5b89726ed3ac0841dac7be9419208bb748 | /include/FLIGHT/Graphics/Color.hpp | 4ed68a5d35626af326f7714a506dbb35a1a258ca | [
"BSD-2-Clause"
] | permissive | evanbowman/FLIGHT | 9d009f4a43f8011c9c33ad35fda6c994e47d6f12 | cdb06059498efd63d9a94b27e8b9501e90bde86c | refs/heads/master | 2021-10-16T15:14:47.595974 | 2019-02-11T21:11:00 | 2019-02-11T21:11:00 | 80,398,092 | 18 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 75 | hpp | #pragma once
namespace FLIGHT {
struct Color {
float r, g, b, a;
};
}
| [
"ebowman@bu.edu"
] | ebowman@bu.edu |
fe5c11f2da719448619733f024fe6b9706650a53 | 6097d80e8221e47398d6f78729766aee1e42ff97 | /src/Engine/Exception.h | 0cf62ec11fbde621cbf4485db25948db4dbd7244 | [] | no_license | smaximov/falltergeist | 7cd2e4744d93055cc697f0faa1f96892d2746295 | f59da17ae310558783d238f720205798fd0f3f75 | refs/heads/master | 2021-01-24T23:00:26.425492 | 2014-09-30T11:49:11 | 2014-09-30T11:49:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,180 | h | /*
* Copyright 2012-2014 Falltergeist Developers.
*
* This file is part of Falltergeist.
*
* Falltergeist is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your ... | [
"mail@alexeevdv.ru"
] | mail@alexeevdv.ru |
ccd3a3d1def7cadf6d07cac123b88b7ce6d4c287 | 1e4c7f5ba2a1da6a249cd891e24e9d9459c55802 | /httpserver/beldexd_rpc.h | 50729ee8aa41b4e43358c531f43da6b31b54f1c0 | [
"MIT"
] | permissive | sanada08/beldex-storage-server | 49ffbb6927665e85387ff0b8c3df8b52c49c8433 | 097d0a7815601e59705ce38f3ee440fdd2e42702 | refs/heads/master | 2023-06-24T22:45:26.495254 | 2021-07-30T05:58:15 | 2021-07-30T05:58:15 | 390,947,656 | 0 | 0 | MIT | 2021-07-30T05:53:18 | 2021-07-30T05:53:17 | null | UTF-8 | C++ | false | false | 950 | h | #pragma once
#include "beldexd_key.h"
#include <string_view>
#include <functional>
namespace beldex {
using beldexd_seckeys = std::tuple<legacy_seckey, ed25519_seckey, x25519_seckey>;
// Synchronously retrieves MN private keys from beldex via the given oxenmq address. This constructs
// a temporary OxenMQ instanc... | [
"sarath.kumar@beldex.io"
] | sarath.kumar@beldex.io |
2c28b48ff21d60fe9592498447bc11d326daa859 | 91b01e7ef7230959b1ea411917065b3661fbbcfa | /src/arduino/arduino.ino | 0867d5e4ba94da94ab5c14d5a4eb88b35496b465 | [] | no_license | mmaao/maarika-rtech | f88c4fa0f99747328e25ec61ba437b07420b4020 | 84263fda71469e9304a063041e859118eea7842d | refs/heads/master | 2020-04-25T21:03:13.188529 | 2019-05-30T14:52:18 | 2019-05-30T14:52:18 | 173,068,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 972 | ino | #include <ros.h>
#include <sensor_msgs/Range.h>
int echoPin = A4;
int trigPin = A5;
ros::NodeHandle nh;
sensor_msgs::Range msg;
ros::Publisher range("ultrasound/raw", &msg);
void setup()
{
nh.initNode();
nh.advertise(range);
pinMode(echoPin,INPUT);
pinMode(trigPin,OUTPUT);
}
long getSonarReadingMillimeters()... | [
"maarika.oidekivi@gmail.com"
] | maarika.oidekivi@gmail.com |
fd0596a4e76d07e45b82e2d9dbb1c9004dadaa39 | 3c89aad5a33b6377fc8a1ac329b15396a0ea9d54 | /classpath/ClassPath.h | a3b662fb55f3d2f2c1926d81d0e2301ca27ccd58 | [] | no_license | luili16/TinyJvm | 93733cfd75f758c6c0518a668c644ddfd754e1b7 | 2ff9a1fcae41aef1e8555856a979beebeec00f19 | refs/heads/main | 2023-02-16T05:06:09.800018 | 2021-01-14T02:55:29 | 2021-01-14T02:55:29 | 315,226,777 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | h | //
// Created by 刘立新 on 2020/11/17.
//
#ifndef CH01_CLASSPATH_H
#define CH01_CLASSPATH_H
#include <memory>
#include "Entry.h"
#include <string>
namespace class_path {
class ClassPath {
public:
ClassPath(std::string& jreOption,std::string& cpOption);
~ClassPath();
std::string toString(... | [
"luili16@126.com"
] | luili16@126.com |
ef55a9983d2e2c0270946e89858ebce1d72b778c | 6840a13334ae8a5d7bd64f64f6e27a7aaf89c7b9 | /800/801. Minimum Swaps To Make Sequences Increasing.hpp | a6745e551f58b166e50a64b41e603423739981aa | [] | no_license | wjhssfs/myLeetcode | 2662c9f57262879ac87c3aaf77a153d62aaf3ea1 | f076948f013eff610f072ae5af7808b582998805 | refs/heads/master | 2021-07-18T01:55:31.752794 | 2020-06-29T01:46:41 | 2020-06-29T01:46:41 | 32,279,021 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,578 | hpp | // 801. Minimum Swaps To Make Sequences Increasing
// We have two integer sequences A and B of the same non-zero length.
// We are allowed to swap elements A[i] and B[i]. Note that both elements are in the same index position in their respective sequences.
// At the end of some number of swaps, A and B are both stri... | [
"wjhssfs@gmail.com"
] | wjhssfs@gmail.com |
94e756584d4ad9fbd1324697538997abee44c06a | af2dfde60ea72d9b6bc15a9cef27b0a23d3252bb | /Libs/spuce/filters/iir_allpass_variable_cascade.h | 4860571dc996e67b5a8064d6f5ab184ceacfe73b | [
"BSL-1.0"
] | permissive | SCIBERCODE/volumeter | ea994283f127c61e9900f283779dc9909e4705c1 | 9e91c26dfb68ebf2a30237df362007409ad399f6 | refs/heads/main | 2023-02-23T19:35:46.530863 | 2021-01-29T21:05:52 | 2021-01-29T21:05:52 | 313,993,446 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,612 | h | #pragma once
// Copyright (c) 2015 Tony Kirke. License MIT (http://www.opensource.org/licenses/mit-license.php)
// from directory: double_templates
#include <spuce/complex_operators.h>
//#include <spuce/dsp_functions/math.h>
//#include <spuce/fixed/round.h>
#include <spuce/dsp_classes/circ_buffer.h>
#include <spuce/f... | [
"62929889+SCIBERCODE@users.noreply.github.com"
] | 62929889+SCIBERCODE@users.noreply.github.com |
cf47afd8d118ba980bdc082a60b1d2325d989b36 | 8305f2b5231d3e7e5fe073e03b1ba2241e35fd1a | /TestClientADN/Sensor/sensor.h | 741b712192b5e93bede27a14d6a18c95d09b0f16 | [] | no_license | AikM2M/test-client-adn | f76ce99d1e4be3126c009a3bf6388d2156c0af52 | 35de80e9e8744b5c1a461ecad9050e9c72b0538a | refs/heads/master | 2020-08-06T03:27:52.154169 | 2019-10-05T03:46:36 | 2019-10-05T03:46:36 | 212,816,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,316 | h | #pragma once
#include <string>
using namespace std;
extern int ty, op, cst, rsc, mmg;
extern std::string resourceType, cseType, operation, response;
extern bool RequestReachability;
extern bool rr, local;
extern std::string mma, mmt, mgd, DevID, Man, Mod, DevType, FwV, SwV, HwV;
extern std::string ri, ... | [
"noreply@github.com"
] | AikM2M.noreply@github.com |
dfae7f1e9ae78a40a7e424a1639dcd551411949e | f24e7daff602a5e3f2b4909721548a9f84598a56 | /topcoder/Single-Round-Match-653/900/driver.cc | 103a1df95442f95ee83644c4e77afd65976a308a | [] | no_license | permin/Olymp | 05b594e8c09adb04c1aa065ba6dd7f2dae8f4d6e | 51ac43fcbcc14136ed718481f64e09036f10ddf8 | refs/heads/master | 2021-01-18T23:04:00.491119 | 2017-03-08T22:22:25 | 2017-03-08T22:22:25 | 23,457,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,911 | cc |
#include "RockPaperScissorsMagic.cc"
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include <sys/time.h>
#include <vector>
const static double __EPSILON = 1e-9;
static double __time = 0.0;
static void __timer_start()
{
struct t... | [
"rodion.permin@gmail.com"
] | rodion.permin@gmail.com |
1801d41d9be85b9f413b20b036bd60bc0a8dbdc1 | 7545c40501810c14b702ef8017e0c3e9359ffc94 | /Arkanoid/main.cpp | 375429981306fa1536d2d13f8de96e5f1c9993d3 | [] | no_license | mava4233/Pac-Man-Example | 2db0fcad97f4decccc37e51dafa6f96c7df35c18 | f4095c6456f361303ca60666688cf53f18aca20d | refs/heads/master | 2016-09-10T19:17:47.253160 | 2015-01-29T16:07:54 | 2015-01-29T16:07:54 | 30,026,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | cpp | // main.cpp
#include "stdafx.h"
#include "Engine.h"
// !! bit.ly/1vSPzOk !!
// topics
// == previous:
// Engine
// DrawManager
// InputManager
// Mouse
// Keyboard
// == today:
// StateManager
// State
// GameState
// TextureManager
// CollisionManager
int main(int argc, char* argv[])... | [
"marcus.vanaller@gmail.com"
] | marcus.vanaller@gmail.com |
2a3f836ac5f6743e027845468ccec422f2515629 | 71256c73349c649d8110c0c8ddbf57f536b1c7d5 | /NewAtCoderC++/TadaLib/BinarySearchLib.h | 8ca08880e94ebc85d1831f0a2b5e010d2a1ecc6d | [] | no_license | tada0389/NewAtCoder | afe6c20df9f6fa09bf64ace08cde198f6003d909 | bfe68240c1274a66a011792d0ca09a80bcb1651b | refs/heads/master | 2021-03-22T18:33:31.604815 | 2020-11-05T09:30:19 | 2020-11-05T09:30:19 | 247,392,212 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 3,835 | h | #include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <array>
#include <queue>
#include <deque>
#include <map>
#include <set>
#include <sstream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <list>
#include <numeric>
#include <stack>
#include <iomanip>
#include <random>
... | [
"tatata0389@gmail.com"
] | tatata0389@gmail.com |
3e87403b46c3e432c8cc2a504d2e835d54aed186 | 6f36ab50dc7578f5ca161c5b861c68e839535b74 | /c++/decltype.cpp | 67bdcbf9cf35defef778c94e7115b8e9fcbb89c6 | [] | no_license | RandyLambert/daily | 144e49eb945ce6b33a8d06c409b8db1318d01526 | be1634663d5248f7abcc92e4a42f193411ad5aca | refs/heads/master | 2021-06-24T01:45:54.574544 | 2021-04-14T16:15:35 | 2021-04-14T16:15:35 | 207,723,773 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,719 | cpp | #include <iostream>
#include <map>
using namespace std;
template <typename T1,typename T2>
auto add(T1 x,T2 y)->decltype(x+y);//1,声明一种函数返回类型,特殊用法
int getSize();
/* typedef typename decltype(obj)::iterator iType; *///2.函数模板的应用,获取obj的类型,里面的typename可以不要,那个是给编译器看的
auto cmp= [](const int a,int b){
return a<b;
};
map<... | [
"1249604462@qq.com"
] | 1249604462@qq.com |
521e9b0001d91d4e2631e20f40b57a1e7b205343 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/Chaste/2016/12/AbstractGeneralizedRushLarsenCardiacCell.cpp | 5739e017ad66ecc9f3461bb064f9d6c23df9c87a | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 6,099 | cpp | /*
Copyright (c) 2005-2016, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary forms... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
3caf344e917874b6d1ed8ac09765035e56502c57 | aae79375bee5bbcaff765fc319a799f843b75bac | /srm_6xx/srm_662/ExactTreeEasy.cpp | 067a9820b8427376bf33cb1eae1530f4589b9ef3 | [] | no_license | firewood/topcoder | b50b6a709ea0f5d521c2c8870012940f7adc6b19 | 4ad02fc500bd63bc4b29750f97d4642eeab36079 | refs/heads/master | 2023-08-17T18:50:01.575463 | 2023-08-11T10:28:59 | 2023-08-11T10:28:59 | 1,628,606 | 21 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 2,618 | cpp | // BEGIN CUT HERE
/*
SRM 662 Div2 Medium (500)
問題
-N個のノードがある
-M個の葉を持つ木を構築せよ
*/
// END CUT HERE
#include <algorithm>
#include <cstring>
#include <string>
#include <vector>
#include <iostream>
#include <sstream>
using namespace std;
class ExactTreeEasy {
public:
vector <int> getTree(int n, int m) {
vector <int> ... | [
"karamaki@gmail.com"
] | karamaki@gmail.com |
e555f0dffe734f54a6074aa9fdf56791fc066aec | 3a7fddd38ce5135367381819b01974528b47c912 | /gnc/matlab/code_generation/sharedutils/kfcjlnglmgdbgdjm_all.cpp | 08e8cd03a240358cd05218674be8e618fb5bc466 | [
"Apache-2.0",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"LGPL-3.0-only",
"MIT",
"GPL-3.0-only",
"LicenseRef-scancode-proprietary-license",
"BSD-3-Clause",
"CC-BY-NC-4.0",
"GPL-2.0-only",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancod... | permissive | Hackjaku/astrobee | 8409b671d88535d8d729a3f301019726d01e78d1 | 0ee5a7e90939ab7d81835f56a81fa0d329da0004 | refs/heads/master | 2020-03-30T02:49:58.241804 | 2018-09-27T18:17:47 | 2018-09-27T18:17:47 | 150,653,073 | 3 | 0 | Apache-2.0 | 2018-09-27T22:03:21 | 2018-09-27T22:03:21 | null | UTF-8 | C++ | false | false | 715 | cpp | //
// File: kfcjlnglmgdbgdjm_all.cpp
//
// Code generated for Simulink model 'sim_model_lib0'.
//
// Model version : 1.1142
// Simulink Coder version : 8.11 (R2016b) 25-Aug-2016
// C/C++ source code generated on : Mon Dec 4 08:34:45 2017
//
#include "rtwtypes.h"
#include "kfcjlnglmgdbgdjm_all.... | [
"theodore.f.morse@nasa.gov"
] | theodore.f.morse@nasa.gov |
0f5247954991210c50026c6d8055abb34caf05d1 | e48c0f097573727af67058b6858b1bd47a0173e8 | /chaper1/1-1.cpp | 93949e9a9998c85a939cc39cfcf94d231b3d364a | [] | no_license | xiliangjianke/learn_cpp_primer | 94a54306fca859a2933f8144ce787e1d77c7fa19 | be245c8be4d3a1e0adff92f75f59766315c54d30 | refs/heads/main | 2023-02-01T21:05:07.326356 | 2020-12-19T13:38:35 | 2020-12-19T13:38:35 | 322,823,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27 | cpp | int main()
{
return 0;
}
| [
"biankairui@163.com"
] | biankairui@163.com |
ef56eb4ffd387d7f3f5d9afa2de89a434c82d4ce | 3e48907a6388fb9d4369d1a3e22424ed9e0a1756 | /server/wsserver.cpp | e035e721afe9ad9bbd3460d6c855f5f205fa2d0c | [] | no_license | tarmoj/mysterium | 96a3bd73771d1f9d4f4220fddfa3926696ff23b1 | 725f3018e3a4d1463372f70f7cce01726cb85fd7 | refs/heads/master | 2021-10-26T14:28:49.847817 | 2021-10-14T06:42:34 | 2021-10-14T06:42:34 | 160,786,413 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,596 | cpp | #include "wsserver.h"
#include "QtWebSockets/qwebsocketserver.h"
#include "QtWebSockets/qwebsocket.h"
#include <QtCore/QDebug>
#include "player.h"
#include <QFile>
QT_USE_NAMESPACE
WsServer::WsServer(quint16 port, QObject *parent) :
QObject(parent),
counter(-10),
everyNthCommand(1),
m_pWebSocketServer(n... | [
"tarmo@otsakool.edu.ee"
] | tarmo@otsakool.edu.ee |
2ca650150129f2e5b9199700f601c38010c64e0f | bc24f3d1dfd76dddce1e0e0e00ec6c28818496f3 | /source/TexturePainter.cpp | 140f7f24dbf4725865247119916ae53e8ae646a7 | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference",
"Zlib"
] | permissive | vonLeebpl/WKIrrlichtLime | 515ff5031c06680219d91f31e5d46575a5214a03 | 79e17540574bceaecc27049d99eb4ee2f6ca3479 | refs/heads/master | 2021-04-21T08:19:39.320661 | 2020-04-26T10:57:01 | 2020-04-26T10:57:01 | 249,764,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,902 | cpp | #include "stdafx.h"
#include "Image.h"
#include "Texture.h"
#include "TexturePainter.h"
using namespace irr;
using namespace System;
using namespace IrrlichtLime::Core;
namespace IrrlichtLime {
namespace Video {
TexturePainter::TexturePainter(Video::Texture^ texture)
{
LIME_ASSERT(texture != nullptr);... | [
"greenyadzer@gmail.com"
] | greenyadzer@gmail.com |
6da069648e0a670d28ba5b7233c9c786c3a44c2c | bf437a984f4176f99ff1a8c6a7f60a64259b2415 | /src/ansa/linklayer/rbridge/TRILLInterfaceData.cc | af8871b27bbf45d32d7b7165dfd57172e3275957 | [] | no_license | kvetak/ANSA | b8bcd25c9c04a09d5764177e7929f6d2de304e57 | fa0f011b248eacf25f97987172d99b39663e44ce | refs/heads/ansainet-3.3.0 | 2021-04-09T16:36:26.173317 | 2017-02-16T12:43:17 | 2017-02-16T12:43:17 | 3,823,817 | 10 | 16 | null | 2017-02-16T12:43:17 | 2012-03-25T11:25:51 | C++ | UTF-8 | C++ | false | false | 5,051 | cc | // Copyright (C) 2013 Brno University of Technology (http://nes.fit.vutbr.cz/ansa)
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your op... | [
"imarek@fit.vutbr.cz"
] | imarek@fit.vutbr.cz |
948ff4530bc201733035f60cc4ac49ec57d811b0 | 6a5e4fee9dbbb5c0482c745acc2865c2cae19da7 | /Generator BBS/RC4.cpp | 053e8694af02d0f4ca5f1efcc756cb9157642485 | [] | no_license | madragonse/Generator-BBS | 3f8194238b0bff6c1db6df663a9db43b7df735db | 78c52d509fb6c707f4d72101425303791251f786 | refs/heads/master | 2023-01-08T23:55:04.777150 | 2020-10-28T10:22:28 | 2020-10-28T10:22:28 | 307,963,089 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,193 | cpp | #include "RC4.h"
#include <xpolymorphic_allocator.h>
RC4::RC4(uint8_t key[128], int key_length)
{
this->key_length = key_length;
for (int i = 0; i < this->key_length; i++)
this->key[i] = key[i];
}
void RC4::generateKey()
{
for (int i = 0; i < 256; i++)//for i from 0 to 255
{
this->S[... | [
"48411094+madragonse@users.noreply.github.com"
] | 48411094+madragonse@users.noreply.github.com |
e6db2bb7150a374e88c52224fad12afa9c5e11fc | 480e72d832d4218c28c6acf09948c303f06b0de2 | /ThreadPool/src/TaskManager.cpp | beb40ccf9a809d3ba24d3b0bc02c41f5f803c52b | [] | no_license | a83376750/API | 69ec6319dc90c16ff761136097485c58168003a5 | 6e8bfb7315ec6ec38b0062f0b91bd29113a31926 | refs/heads/master | 2020-08-02T17:48:52.206124 | 2017-01-13T11:01:28 | 2017-01-13T11:01:28 | 73,559,963 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,374 | cpp | #include "..\inc\TaskManager.h"
#include <iostream>
namespace thread_pool_task
{
TaskManager::TaskManager()
{
}
TaskManager::~TaskManager()
{
}
void TaskManager::PushTask(Task *task)
{
std::lock_guard<std::mutex> lock{ mutex_task_ };
queue_task_.emplace(task);
}
thread_pool_task::Task* TaskManager::... | [
"394315001@qq.com"
] | 394315001@qq.com |
f721e0cd07532f25bad61c87e29a8126636c57ed | 1afec3e10c24e43da24c77aa681e582e06f4e7d8 | /cpp/myob/ob_fetched_log_buffer.cpp | 42ad46f81521734d64b14bb3f8fcf084f11875e7 | [] | no_license | jeffreywugz/code-repository | 8ade372c334f9ce74ff927f5b9c4a8f4c7fe7deb | 163ede173179309daa3b29a81f0e93ee51da0896 | refs/heads/master | 2020-04-20T13:13:06.606368 | 2014-07-18T06:56:15 | 2014-07-18T06:56:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,379 | cpp | /**
* (C) 2007-2010 Taobao Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Version: $Id$
*
* Authors:
* yuanqi <yuanqi.xhf@taobao.com>
* - some work details... | [
"huafengxi@gmail.com"
] | huafengxi@gmail.com |
854fb24464bf600d4b13dd3c0dc04bea586b7dff | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/CredentialStore/UNIX_CredentialStore_STUB.hxx | 8e728b20eda86fa160505a803ebbf0c598a794d8 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125 | hxx | #ifdef PEGASUS_OS_STUB
#ifndef __UNIX_CREDENTIALSTORE_PRIVATE_H
#define __UNIX_CREDENTIALSTORE_PRIVATE_H
#endif
#endif
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
3fdf0c6978512f41be56f7a8dc461ed3f77bedcd | b82136612e27642edaa6c635e5f8d966fffb0e14 | /Toolbox/Math.h | 5ae248ff7d73d07d73242605f279455d87786b00 | [] | no_license | anehrkor/KappaTools | 6426236826c034fc8cb1122b54a97f412d721de5 | 05998997eeeced041acad1bc5aeddb723453ee2d | refs/heads/master | 2021-01-22T23:07:20.149241 | 2015-04-13T07:51:48 | 2015-04-13T07:51:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 804 | h | #ifndef TBMATH_H
#define TBMATH_H
#include <string>
#include <algorithm>
#include <cmath>
#ifndef M_PI
static const double M_PI = 3.141592653589793238;
#endif
typedef std::pair<double, double> edouble;
template <typename T>
inline const int sgn(const T a)
{
return (a > T(0)) - (a < T(0));
}
template<typename T>
i... | [
"stober@cern.ch"
] | stober@cern.ch |
79da8d69ab77bb72751404570c47212098937732 | b16f99c5d6d36b82790c0960e38725b6a8b78e69 | /Q12_Implement_strStr/Q12_Implement_strStr.cpp | 6eca012aca4291004029f25c00a682fa1d9e14ba | [] | no_license | disha-surana/LeetCode | bf0a620f160286bdcad0b13ba339d6f58c228c46 | 2c4cbc46e6dad90fe3f4759748fd566fbf8106f6 | refs/heads/master | 2020-07-02T20:25:28.800119 | 2020-03-31T07:29:52 | 2020-03-31T07:29:52 | 201,654,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 752 | cpp | class Solution {
public:
int strStr(string haystack, string needle) {
if(needle == "")
return 0;
else if(haystack.length() < needle.length())
return -1;
int len = haystack.length()-needle.length()+1;
for(int i=0; i< len; i... | [
"dishasurana11@gmail.com"
] | dishasurana11@gmail.com |
009a0c10081fea9c747008206881147ac2165174 | 2268f55ef77ce9c0064ab23f915d1ab3cf34d4c9 | /Server/ServerDlg.h | a94ba9d23e247c4619be5b3cfbc4a673af0a6208 | [] | no_license | JoyLeeA/CatchMind | fca81afa8e189c00c01c11e3a694d939b47fd473 | 786796c415e3a80af17fdc9b3bcb9720a2dee1b7 | refs/heads/master | 2022-03-29T23:03:47.742644 | 2020-01-09T15:47:32 | 2020-01-09T15:47:32 | 232,841,760 | 3 | 0 | null | null | null | null | UHC | C++ | false | false | 2,322 | h |
// ServerDlg.h : 헤더 파일
//
#pragma once
#include "atltypes.h"
#include "afxcolorbutton.h"
#include "afxcmn.h"
#include "afxwin.h"
#include "atltime.h"
#include "ScoreBoardDlg.h"
// CServerDlg 대화 상자
class CServerDlg : public CDialogEx
{
// 생성입니다.
public:
CServerDlg(CWnd* pParent = NULL); // 표준 생성자입니다.
// 대화 상자 데이터입... | [
"59664050+JoyLeeA@users.noreply.github.com"
] | 59664050+JoyLeeA@users.noreply.github.com |
aae902b172f50b6f7659132b444e9162c3d4b178 | fe7dfc6ff8f24881fe4097bc3f3005cfdf361962 | /Plugin~/WebRTCPlugin/Codec/NvCodec/NvEncoderCudaWithCUarray.cpp | f974000821d878215415cf07d1904f098ed77df1 | [
"Apache-2.0"
] | permissive | Unity-Technologies/com.unity.webrtc | b897e87a99b10bb616ca378c03a1cecad0894ed5 | 84718a6e2f76f8755f880f1bed043e3f438fc5e3 | refs/heads/main | 2023-09-04T05:34:17.116673 | 2023-09-01T03:14:25 | 2023-09-01T03:14:25 | 206,225,948 | 711 | 186 | NOASSERTION | 2023-09-13T00:52:53 | 2019-09-04T03:46:05 | Assembly | UTF-8 | C++ | false | false | 7,604 | cpp | #include "pch.h"
#include "NvEncoder/NvEncoder.h"
#include "NvEncoder/NvEncoderCuda.h"
#include "NvEncoderCudaWithCUarray.h"
namespace unity
{
namespace webrtc
{
static CUresult
CreateCUarray(CUarray* pDstArray, uint32_t width, uint32_t height, CUarray_format format, int numChannels)
{
CUDA_ARRAY... | [
"noreply@github.com"
] | Unity-Technologies.noreply@github.com |
baf27cc686174b5daa3b7bb6e9fc648cd7fa5592 | e4b417e613476bc24df93980ca7e4159cbba53ba | /OpenGL/src/Render/IndexBuffer.h | 5975e61f362ddb68f1d1db4e403f38a1ec146249 | [] | no_license | mnursey/VoxelEngine | 6f48f472877c853aaea0b53d841051628fc4170b | 6a527382fb1a15ba537f319ce6ec26d6c89003af | refs/heads/master | 2020-03-26T15:35:07.207887 | 2018-09-29T10:17:34 | 2018-09-29T10:17:34 | 145,051,997 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | h | #pragma once
class IndexBuffer
{
private:
unsigned int m_RendererID;
unsigned int m_Count;
public:
IndexBuffer(const unsigned int* data, int count);
~IndexBuffer();
void Bind() const;
void Unbind() const;
inline unsigned int GetCount() const { return m_Count; }
}; | [
"mitchnursey@gmail.com"
] | mitchnursey@gmail.com |
fd650efc9b9518707a6d00f4243ae06614cce2bf | 24f6b87096237a191ddbb2def6893499cf6e79ff | /DrugTraceability/InfoSearch.cpp | d80ca45cc255baf7c326327feba4c13e25380a5f | [] | no_license | maoxiangyu1/DrugTraceability | c6879a0c4d176bd33e2b421a6705aff994a6ce22 | 61c675848b2c4c5cff4d07dd9a3638331cf1e859 | refs/heads/master | 2020-04-14T22:54:42.470421 | 2019-04-11T08:31:45 | 2019-04-11T08:31:45 | 164,183,089 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 19,202 | cpp | // InfoSearch.cpp : 实现文件
//
#include "stdafx.h"
#include "DrugTraceability.h"
#include "InfoSearch.h"
#include "afxdialogex.h"
// CInfoSearch 对话框
IMPLEMENT_DYNAMIC(CInfoSearch, CDialogEx)
CInfoSearch::CInfoSearch(CWnd* pParent /*=NULL*/)
: CDialogEx(IDD_INFOSEARCH_DIALOG, pParent)
, m_type(_T(""))
, m_key(_T(""... | [
"1838123571@qq.com"
] | 1838123571@qq.com |
621161e8e52cc4fab715d73024d5985f4ea0c541 | 5abc5a5b4d6c72b33bd28543da802daf2123e7ba | /RecastDemo/Include/InputGeom.h | d2b440ec486fc8c155d965b54b29fb9cfd603ec1 | [
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | suyangman/recast | 484687784b01f658498e28d899353b87af726bab | 7028c09638b2086b40a90a6cc9620009a455f6b3 | refs/heads/master | 2022-12-06T19:15:38.587904 | 2020-08-21T11:27:55 | 2020-08-21T11:27:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,592 | h | //
// Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any purpose... | [
"suyang575547919@qq.com"
] | suyang575547919@qq.com |
5d3bc90a4682ea189fa4538d8d77049414eb57b6 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/new_hunk_3891.cpp | 7838a31e5c98eebd1f22e1d367701e1d6b8e8b44 | [] | 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 | 183 | cpp |
assert(pd);
const char *host = pd->host.termedBuf();
storeAppendPrintf(e, "\npeer digest from %s\n", host);
cacheDigestGuessStatsReport(&pd->stats.guess, e, host);
| [
"993273596@qq.com"
] | 993273596@qq.com |
f4e6a7b25ae5a36473531e1556567b35d522dccf | a30feb4bc5daa8218d4b6add22f92e71dc3776ea | /Lab3/inc/list.hh | bc73d791c6bbfddd156ba43b97d770a259838520 | [] | no_license | 218731/PAMSI-sort | 07185c8a9fd32be582cfd5bbea78c8b3c2c1ff5d | 595a8a5772f98309a68fc6ef2c12d19b6913ff72 | refs/heads/master | 2020-12-26T09:05:45.123717 | 2016-04-13T20:41:37 | 2016-04-13T20:41:37 | 55,774,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,808 | hh | #ifndef LIST_HH
#define LIST_HH
#include "tab.hh"
/* Klasa implementuj±ca listê */
template <class T> class List {
private:
Tablica <T> *lista;
public:
void add (T element, int position); // throws outOfRangeException;
void remove (int position);
T get (int position);
int size ();
List();
~List();
... | [
"218731@student.pwr.edu.pl"
] | 218731@student.pwr.edu.pl |
43275e47142f99b01b274a77734fd7a25feac3d8 | f1404c11700326a29ce2d6149006e7b752726560 | /src/walletdb.cpp | ca1a716e040b43bdb8854d2a17f770465bdc59ef | [
"MIT"
] | permissive | futurecash/futurecash | 407baf028509d329876a722cb60dd9b162bbec80 | 0030225172a15efdb146c3b7d1e897782f540246 | refs/heads/master | 2021-01-18T14:13:42.609431 | 2015-08-15T20:13:58 | 2015-08-15T20:13:58 | 40,563,382 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 27,352 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "walletdb.h"
#include "base58.h"
#include "protocol.h"
#include "seriali... | [
"futurecash@safe-mail.net"
] | futurecash@safe-mail.net |
bd45713dba702e2bc4bb3c4b06f562d019e4a00c | f17a88ddef74abe099a0c9d9d9aa91b90075959c | /Code/AbstractEngine/Gfx/GfxVertexBuffer.h | e4336a246a48d18735f3f583aba385cd61f6b70a | [
"MIT",
"Apache-2.0"
] | permissive | NathanSaidas/LiteForgeMirror | bf4b0feb9702b590b510f98f32a3cc1d472f9bb0 | dcb7f690378dd0abe0d1dc3e2783510ce9462fde | refs/heads/master | 2022-06-12T11:55:06.321048 | 2022-05-30T04:37:59 | 2022-05-30T04:37:59 | 184,840,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,313 | h | // ********************************************************************
// Copyright (c) 2021 Nathan Hanlan
//
// 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, includ... | [
"nathanhanlan@gmail.com"
] | nathanhanlan@gmail.com |
83ff9698cbb0fc0403ccc3a3755b01d8e46e6133 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/agc008/A/2244665.cpp | 8d059e7d219fd1f135dedd50b54fa2b6057a738b | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 1,229 | cpp | #include <iostream>
#include <string>
#define INC(i, a, b) for(i = a; i < b; ++i)
#define DEC(i, a, b) for(i = a; i > b; --i)
#define REP(i, n) INC(i, 0, n)
typedef unsigned int uint;
typedef unsigned long ul;
typedef long long ll;
typedef unsigned long long ull;
int abs(int x){
return x > 0? x : -... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
24eef44578c57cd3b5f3960937d6d433a42240bf | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/Alembic/lib/Bootstrap/TrivialBoostUsageUtil/Tests/main.cpp | 2a7180e9f95a3da68b54bcb06e5f7b0072ae28d2 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | cpp | version https://git-lfs.github.com/spec/v1
oid sha256:50f02f548dda609d337ac033d0abc8be7a80cf6e5d927655f7625d2c63b94c50
size 3822
| [
"personwithhats2@Gmail.com"
] | personwithhats2@Gmail.com |
d59b33fd46bca3266081eb252a318ddbd6d277f2 | 22dc9c7aa6cebaabc6c6cfac8640b0a75e39877c | /exercise 3/Sketch.cpp | 35c62cbb832a4b81a67928c666d8d671e2e7a5d3 | [] | no_license | Embedded-Software-kurssi/pusanen | 6e18589e7a42fbd370b0280369cfa11dcb8b1615 | 4e51690d572512c9e21156b98326dcbc78a828e0 | refs/heads/master | 2021-01-12T14:43:32.871631 | 2016-12-07T20:08:05 | 2016-12-07T20:08:05 | 72,071,235 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 697 | cpp |
#include <Arduino.h>
#include "farenheit.h"
#include "morse.h"
#include "SOS.h"
void assigmentSix();
void setup() {
pinMode(13, OUTPUT);
}
void loop(){
showText("SOS");
assigmentSix();
BlinkThreeDots();
BlinkThreeDashes();
BlinkThreeDots();
}
void assigmentSix() {
// Is Volatile because compiler otherwise ... | [
"eikuulu@sulle.t"
] | eikuulu@sulle.t |
98db07b832adbd1da38e0ac967d1dbfb11a6d4e2 | ff0d2bfae27de7792ecb4b5a1c2c0b4b74b01de8 | /Searching and Sorting/bubble_sort.cpp | 329cf31e2faaeeb5f46858ed5ef6b7a3ea101e0e | [] | no_license | RachnaShriwas/Algorithm-Programs | 6a9a7343c1d5d83b5b12f6ae85045b21bdbe4321 | e108d91c29caca6065b6b96035b5289894049044 | refs/heads/master | 2021-08-19T03:52:29.996134 | 2017-11-24T16:45:04 | 2017-11-24T16:45:04 | 106,584,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | cpp | //bubble sort
#include<iostream>
using namespace std;
void bubble_sort(int a[], int n) {
for(int i = n-1; i >= 0; i--) {
for(int j = 0; j < i; j++) {
if(a[j] > a[j+1]) {
int temp = a[j];
a[j] = a[j+1];
a[j+1] = temp;
}
}
for(int k = 0; k < n; k++)
cout<<a[k]<<" ";
cout<<endl;
}
}
in... | [
"rachnashriwas@gmail.com"
] | rachnashriwas@gmail.com |
adec20c092fc96c89ab92c49b69c315e1ef8235d | 5d3f49bfbb5c2cbf5b594753a40284559568ebfd | /implement/oglplus/enums/texture_filter_def.ipp | 9d89c86363a2841c29d0c6be55d516e26f8ba6e0 | [
"BSL-1.0"
] | permissive | highfidelity/oglplus | f28e41c20e2776b8bd9c0a87758fb6b9395ff649 | c5fb7cc21869cb9555cfa2a7e28ea6bc6491d11e | refs/heads/develop | 2021-01-16T18:57:37.366227 | 2015-04-08T18:35:37 | 2015-04-08T18:54:19 | 33,630,979 | 2 | 8 | null | 2015-04-08T20:38:33 | 2015-04-08T20:38:32 | null | UTF-8 | C++ | false | false | 1,352 | ipp | // File implement/oglplus/enums/texture_filter_def.ipp
//
// Automatically generated file, DO NOT modify manually.
// Edit the source 'source/enums/oglplus/texture_filter.txt'
// or the 'source/enums/make_enum.py' script instead.
//
// Copyright 2010-2015 Matus Chochlik.
// Distributed under the Boost Software Li... | [
"chochlik@gmail.com"
] | chochlik@gmail.com |
2dadfc1badcbde28cc8a47d9d1f1954dc79613a4 | 7344512e9a37b194e5654f86cb15d600fcd95c45 | /Genetic.h | f489db2d772e940d2649501f7dfa3d187a6bb141 | [
"MIT"
] | permissive | alekseyl1992/Genetic2048 | 89369ca5852bc2cadceac79a7f915c1d90e40a4d | 730b435d584189f1befefddd1b8c0025c18cb488 | refs/heads/master | 2020-04-06T05:00:13.660061 | 2015-05-05T21:03:07 | 2015-05-05T21:03:07 | 34,798,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,134 | h | #ifndef TETRIS_GENETIC_H
#define TETRIS_GENETIC_H
#include <vector>
#include <boost/circular_buffer.hpp>
#include "Game2048.h"
#include "Chromosome.h"
using GeneticRow = std::vector<int>;
using GeneticField = std::vector<GeneticRow>;
using Pool = std::vector<Chromosome>;
class Genetic {
public:
Genetic(int popula... | [
"alekseyl@list.ru"
] | alekseyl@list.ru |
6eb709a57296804a905d87e1a14f85071a9dcffa | bed6b9c57ead54dfa0f04b9a730bf1fd13ee83df | /BFSMarsTraveller.cpp | ba4d955c36bbdf34632c23205701196f50adb8c5 | [] | no_license | alexander-jh/GoalBasedAgent | 14e91a2c98a817e2eda2eead5f77f79a5473329b | 3193b7510680c1310f796b34bd45a9ff67ddb856 | refs/heads/master | 2023-01-07T16:54:08.142128 | 2020-11-08T21:48:41 | 2020-11-08T21:48:41 | 311,119,505 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 902 | cpp | /* BFSMarsTraveller.cpp
*
* Main implementation for the BFS agent.
* Testing framework is Catch, which is a header based testing
* framework.
*
* Author: Alex Hoke
* Date: 10/22/2020
* C++ Version: C++11
* Compiler: GNU G++
*/
#include "MarsTraveller.hpp"
int main(int argv, char **args) {
... | [
"alexander.j.hoke@gmail.com"
] | alexander.j.hoke@gmail.com |
b33fa5230a25ca3942edc1c427d5d075e0a20b23 | a47f2343c7b33772af650eb70583d6bb52811858 | /day22/solution.cpp | 4772ac488a5bd72ba4c391c5cdca0d2a7ef9984f | [
"MIT"
] | permissive | qwoprocks/Advent-of-Code-2020-Solutions | aee8b7a7db9996ff618ea8c9e824471599e1c289 | 65d96f89af013585ac994b8556d003b6455b0de1 | refs/heads/main | 2023-02-11T17:08:27.686818 | 2021-01-10T17:10:35 | 2021-01-10T17:10:35 | 321,987,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,005 | cpp | /* Link to problem: https://adventofcode.com/2020/day/22 */
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <set>
#include <deque>
using namespace std;
int part1(deque<int> player1, deque<int> player2) {
while (player1.size() != 0 && player2.size() != 0) {
int c1 = playe... | [
"46164638+qwoprocks@users.noreply.github.com"
] | 46164638+qwoprocks@users.noreply.github.com |
e8802fc23ef81c76e8d8852751f6900df93d3fc4 | 474bb820fb472ff350bf032ee502010da0e455cb | /contest/wannafly2020/day6/6.cpp | 2db576611e4372e6a87c6888e65ec9f6cb77bece | [] | no_license | wqrqwerqrw/acm_code | 839b1f3f50abcacec6f83acf3f002a887468b0d7 | 15b90fa1f12b8dca64d751525f9c73509f61328b | refs/heads/master | 2020-05-02T20:02:42.232841 | 2020-02-10T11:59:55 | 2020-02-10T11:59:55 | 178,177,685 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | cpp | // Wqr_
// Time : 20/01/17
#include <stdio.h>
int n, a, b, c, p, d, ans;
int main() {
// freopen("in.txt","r",stdin);
scanf("%d", &n);
scanf("%d%d%d%d%d", &a, &b, &c, &p, &d);
int i, j, k;
bool ta, tb, tc;
for (i = 1; i <= n; i++) {
for (j = i + 1; j <= n; j++) {
for (k = j + 1; k <= n... | [
"wqrlink@outlook.com"
] | wqrlink@outlook.com |
9f17be6a5b2282bba13c6de2039d85c756a108be | 2126109717bf6b768fc09395b1284aa5cab6e2e3 | /src/init.cpp | 7d6035e7a803a3406100cc9fad0eaa196531e5d6 | [
"MIT"
] | permissive | bonesdevcoin/bon | bf9bbafce44dd2960b499df45284ff23c769fc48 | c92338c58e3275cdb20b65cf482f14b497ebeb89 | refs/heads/master | 2021-01-01T04:58:15.834439 | 2016-05-20T18:26:28 | 2016-05-20T18:26:28 | 59,317,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,135 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "txdb.h"
#include "walletdb.h"
#include "bitcoinrpc.h"
#include "net.h"
#i... | [
"bones"
] | bones |
bce5047980049c2173178cf719bf477b67ac876a | 76db065e8dba737b4c9c81a95800ebe8e7918063 | /qt/vbox/vbox.cpp | d8da154364b67657dd992383815d2dd340a4e23c | [] | no_license | sahil87/learning-nitt | 43c876adcb067de74ab2f6642e8d14a881da1c51 | 486c9cd08d1b671e66c40c56b0c9706595829b23 | refs/heads/master | 2021-01-15T15:16:13.337286 | 2015-04-15T20:23:55 | 2015-04-15T20:23:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | cpp | #include <qapplication.h>
#include <qpushbutton.h>
#include <qlayout.h>
#include <qcanvas.h>
#include <qwidget.h>
#include <qnamespace.h>
#include <qvbox.h>
int main( int argc, char **argv )
{
QApplication a( argc, argv );
QVBox widget(0);
// QBoxLayout qbox(& widget,QBoxLayout::Down,0,-1,"Qbox")... | [
"sahilahuja@gmail.com"
] | sahilahuja@gmail.com |
cf15742755b305644e1be48d49b48a956cbe1b68 | 4765dd8790ffcd830eda65e371b326190664c765 | /backend/entity/User.hpp | 6ad340c101c3ad655796b434b57a588ea784d08a | [
"MIT"
] | permissive | EricJeffrey/TheCheatSheet | 31eac0124e0f319846bab322faadc1bab2f29591 | d3a9c91be10ad9179fdcbb25832d3235ea644115 | refs/heads/main | 2023-04-08T18:08:34.667182 | 2021-04-18T05:47:39 | 2021-04-18T05:47:39 | 305,010,267 | 3 | 1 | MIT | 2021-04-12T13:40:03 | 2020-10-18T02:52:56 | C++ | UTF-8 | C++ | false | false | 1,442 | hpp | #if !defined(USER_HPP)
#define USER_HPP
#include <string>
#include <vector>
#include "nlohmann/json.hpp"
using std::string;
using std::vector;
class User {
public:
static constexpr char KEY_ID[] = "_id";
static constexpr char KEY_NAME[] = "name";
static constexpr char KEY_EMAIL[] = "email";
static ... | [
"1719937412@qq.com"
] | 1719937412@qq.com |
ce538d010f143082fb858ee1bade0b07967419d8 | be0345e5aef813db69303e0a3c29142c8274c5f6 | /include/wwidget/Window.hpp | 72acd321e37f34749e49f325598a7b0885094e86 | [] | no_license | Cannedfood/WonkyWidgets | 778f53751d5fecd2efb63ef140ccc634813fe2c5 | 62690f3ce261aa5a49ed5375974c5571d162c047 | refs/heads/master | 2021-07-12T07:41:48.742412 | 2018-10-14T17:53:25 | 2018-10-14T17:53:25 | 107,892,077 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,502 | hpp | #pragma once
#include "BasicContext.hpp"
#include <stdexcept>
namespace wwidget {
namespace exceptions {
struct FailedOpeningWindow : public std::runtime_error {
FailedOpeningWindow(std::string const& val) : std::runtime_error(val) {}
};
} // namespace exception
/// A desktop environment window.
class Window : ... | [
"benno.straub@outlook.de"
] | benno.straub@outlook.de |
0921345e0499b11e2d0f5c207439963f086a9832 | 3b97b786b99c3e4e72bf8fe211bb710ecb674f2b | /TClient_Branch101012/TClient/Tools/TQuestPath/TQuestPath.cpp | 914d151a5d4753416220a05270e64b639dfd4bdd | [] | no_license | moooncloud/4s | 930384e065d5172cd690c3d858fdaaa6c7fdcb34 | a36a5785cc20da19cd460afa92a3f96e18ecd026 | refs/heads/master | 2023-03-17T10:47:28.154021 | 2017-04-20T21:42:01 | 2017-04-20T21:42:01 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,862 | cpp | // TQuestPath.cpp : 응용 프로그램에 대한 클래스 동작을 정의합니다.
//
#include "stdafx.h"
#include "TQuestPath.h"
#include "MainFrm.h"
#include "TQuestPathDoc.h"
#include "TQuestPathView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CTQuestPathApp
BEGIN_MESSAGE_MAP(CTQuestPathApp, CWinApp)
ON_COMMAND(ID_APP_ABOUT, OnAppAbout)
/... | [
"great.mafia2010@gmail.com"
] | great.mafia2010@gmail.com |
d93f109e6205ab3025c38ea6666f13e11c112023 | b71b8bd385c207dffda39d96c7bee5f2ccce946c | /testcases/CWE23_Relative_Path_Traversal/s03/CWE23_Relative_Path_Traversal__wchar_t_connect_socket_ifstream_15.cpp | 6c624a765f42d32044248f14b710657942145aa3 | [] | no_license | Sporknugget/Juliet_prep | e9bda84a30bdc7938bafe338b4ab2e361449eda5 | 97d8922244d3d79b62496ede4636199837e8b971 | refs/heads/master | 2023-05-05T14:41:30.243718 | 2021-05-25T16:18:13 | 2021-05-25T16:18:13 | 369,334,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,627 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE23_Relative_Path_Traversal__wchar_t_connect_socket_ifstream_15.cpp
Label Definition File: CWE23_Relative_Path_Traversal.label.xml
Template File: sources-sink-15.tmpl.cpp
*/
/*
* @description
* CWE: 23 Relative Path Traversal
* BadSource: connect_socket Read data using... | [
"jaredzap@rams.colostate.edu"
] | jaredzap@rams.colostate.edu |
ebce0dc5af5936f165941a96d7db880abaf1b774 | 1341ff13f329a0eb4479f88e5d13033f7319271c | /ocl/traffic_statistics.cpp | 522dd6308cad49bf725304fea0583fb9fe272270 | [] | no_license | GSSBMW/SoftwareRouter | c5e576f2fea3536b6d40a3cf7074627081ff8ed4 | 843b3f5990f8cf0b6d2272999a7be182e3a7b89b | refs/heads/master | 2021-01-10T19:47:11.301814 | 2015-05-11T12:12:13 | 2015-05-11T12:12:13 | 34,667,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,681 | cpp | #include "traffic_statistics.hpp"
#include <malloc.h>
void ConstructPacketsInfo(packet_info_t *&packets_info, const size_t num)
{
free(packets_info);
int ret = posix_memalign((void**)&packets_info, 64, num*sizeof(packet_info_t));
if (0 != ret) { printf("Error: posix_memalign() return %d\n", ret); }
fo... | [
"wangyigss@163.com"
] | wangyigss@163.com |
9f3eab9eeff3dc1cb18f1cd5314126e8919ef06e | d648dfdb71d8184abcf6b9de397475890eeb0701 | /src/Application.cpp | 1bba04a64ada332f37ae33f8e7feff6d9a331245 | [] | no_license | bikz007/OpenGLFun | ef69d2545cc4ae07abb0f329844ba077a9ec552e | 6a67a5a644bdef6f517dab54d2d8f0ce252cb3a7 | refs/heads/master | 2022-04-20T14:00:02.125858 | 2020-04-20T16:15:59 | 2020-04-20T18:12:28 | 257,335,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,086 | cpp | #define GLEW_STATIC
#include <GL/glew.h>
#include "glew.c"
#include <GLFW/glfw3.h>
#include<iostream>
int main(void)
{
GLFWwindow* window;
/* Initialize the library */
if (!glfwInit())
return -1;
/* Create a windowed mode window and its OpenGL context */
window = glfwCreateWindow(640, 48... | [
"bikrammodak75@gmail.com"
] | bikrammodak75@gmail.com |
4a08d6d781f3594a7f7bbc1d57becdfef020b085 | 474ca3fbc2b3513d92ed9531a9a99a2248ec7f63 | /ThirdParty/boost_1_63_0/libs/asio/example/cpp03/timeouts/blocking_tcp_client.cpp | 75f7ed84079d577fef9ef8bf58d6dd3a6dc0d5f5 | [
"BSL-1.0"
] | permissive | LazyPlanet/MX-Architecture | 17b7b2e6c730409b22b7f38633e7b1f16359d250 | 732a867a5db3ba0c716752bffaeb675ebdc13a60 | refs/heads/master | 2020-12-30T15:41:18.664826 | 2018-03-02T00:59:12 | 2018-03-02T00:59:12 | 91,156,170 | 4 | 0 | null | 2018-02-04T03:29:46 | 2017-05-13T07:05:52 | C++ | UTF-8 | C++ | false | false | 9,275 | cpp | //
// blocking_tcp_client.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <b... | [
"1211618464@qq.com"
] | 1211618464@qq.com |
516d9b29fcdbb2857c40e822a55c877215cb8cd6 | ed4047088747820cd3c50bc7a0cdf6a56b9508f0 | /Projects/HW5/time24.h | 963597ace720d1a7bd7b862852966088dd633805 | [
"Apache-2.0"
] | permissive | ToyVo/CSIIStout | 536c2ea7791c76c66f26fc7e9a2f81b83479da76 | 79b32021d940a488fa9aa878369503078eed4831 | refs/heads/main | 2022-08-26T14:51:20.475426 | 2022-06-24T16:04:48 | 2022-08-10T03:52:35 | 231,264,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,825 | h | #ifndef TIME24_H
#define TIME24_H
#include "d_except.h" // for rangeError exception
using namespace std;
class time24
{
public:
// constructor initializes hour and minute
time24();
time24(int m);
time24(int h , int m);
void addTime(int m);
// update time by adding m minutes to the current time
// Preconditi... | [
"collin@diekvoss.com"
] | collin@diekvoss.com |
908bb3272950dc7af71557198812ebdb0d027af5 | 09c77550af1b5b4de3290e38efe842bdb7cf9fdd | /Exp4_BLUETOOTH_CONTROLLED_LED/bluetooth.ino | f5d1cf66b52260e36baee8b96229233df9179735 | [] | no_license | Karan-Choudhary/BEEE_CU19 | dd410bbb56d8b35fe7ce3967e69a227d015de744 | e68be2b39db1d2028db675c19c9330c5295a1d2c | refs/heads/master | 2020-07-14T21:33:38.992349 | 2019-11-03T15:12:19 | 2019-11-03T15:12:19 | 205,407,712 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | ino | char data = 0;
void setup()
{
pinMode(13,OUTPUT);
Serial.begin(9600);
}
void loop()
{
if(Serial.available()>0)
{
data=Serial.read();
if(data=='1')
{
digitalWrite(13,HIGH);
}
else if(data=='0')
{
digitalWrite(13,LOW);
}
}
}
| [
"noreply@github.com"
] | Karan-Choudhary.noreply@github.com |
d03d51bb496f14403d2158ea36259b93008aed01 | 2ccbd5ca4588d5edee12d5ac5d1044927c797b49 | /wac6p1.cpp | 5028062993161e7027d13006bc0547df07f0e130 | [] | no_license | 2ee2ee2ee/Competitive_Programming | 9c1ab1da209b000ab27bf908f8b38d80e0ac9c31 | cf7558f62fb2fa1dc5ad21727ecdbba63a3224c0 | refs/heads/master | 2023-03-11T20:31:49.234470 | 2021-02-20T22:13:29 | 2021-02-20T22:13:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
double p,c;
int n;
scanf("%d",&n);
while (n--) {
scanf("%lf%lf",&p,&c);
double denom = c+100.00;
printf("%.9lf\n",p/denom * 100.00);
}
} | [
"38817928+sa35577@users.noreply.github.com"
] | 38817928+sa35577@users.noreply.github.com |
5f0cee754342bf696219a61ef27431ca3e8e0b4f | 572962dfe837e392e8e3f0ec9926383f1f385067 | /hw4/bag/bag.cpp | a0727218f6729a8b2fb09085c456f2c3e5dc90b1 | [] | no_license | LinkHS/Object-Oriented-Programming | 4e5c309dfa4eb561e356313807b3cab911a0f6d7 | 9651096370d2c884f94ce25f5f2f2ca2a43e46c0 | refs/heads/main | 2023-03-07T02:46:33.212244 | 2021-02-19T05:48:31 | 2021-02-19T05:48:31 | 330,078,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,744 | cpp | // Partial static array implementation of Bag.
// Sara Krehbiel + group work, 1/16/21 and 1/29/21 (F Week 4, file 3/3)
#include "bag.h"
// copy constructor deep-copies existing other bag contents into this new bag
Bag::Bag(const Bag& other) {
size_ = other.size_;
cap_ = other.cap_;
data_ = new int[cap_... | [
"381082014@qq.com"
] | 381082014@qq.com |
bb9f32e0e31b1ba4f130203ed0e22d34f0af412c | b8506a61077f2a58a4884c650eaebb1e146790c7 | /chaos/CoCycle.cpp | 7e7c5e982db8f8e5a5d552c4dd395c53b89f4dc1 | [] | no_license | alpha2z/chaos | 49697fcaf3b243d5365acf7ed79df61829e163e4 | 3933f2e6a7808c3bfe50a65152d3c0865367ff62 | refs/heads/master | 2021-01-10T14:30:13.188679 | 2015-11-03T06:44:38 | 2015-11-03T06:44:38 | 45,446,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,270 | cpp | #include <sys/param.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include <signal.h>
#include "CoCycle.h"
#include "CoConstants.h"
#include ... | [
"chandler.alpha@gmail.com"
] | chandler.alpha@gmail.com |
6f16b2d729b7985b6067b3ade99763e4e390bafb | c3050205fef29e223b702d378c898cdf255c1d8d | /Factory Machine.cpp | 654874b6290cf60027023ec3a0749587f2da9c90 | [] | no_license | ap-darknight/CSES-SET- | ac4386ffa71982577ebff6b9ac55d42fb206b58a | e1218caaa8e85daf7f5e0b4d54ee5e30ad7c2f80 | refs/heads/master | 2023-05-07T23:25:41.705364 | 2021-05-30T12:06:19 | 2021-05-30T12:06:19 | 362,016,256 | 1 | 1 | null | 2021-05-30T12:06:20 | 2021-04-27T07:13:41 | C++ | UTF-8 | C++ | false | false | 1,224 | cpp | //----------Coded By: ap_darknight-------------//
#include <bits/stdc++.h>
#include<string>
using namespace std;
typedef long long ll;
#define mapL map<ll, ll>
#define mapC map<char,ll>
#define mapS map<string,ll>
#define pll pair<ll,ll>
#define ff first
#define ss second
#define vecL vector<ll>
#define vecC vector<cha... | [
"52396786+ap-darknight@users.noreply.github.com"
] | 52396786+ap-darknight@users.noreply.github.com |
abe5225df6cb2aaebcbf6048919bd841921512b3 | b2e2ed042ac7611b707c8316f5870909cfc391ee | /include/crombie2/ConfigModel.h | 8979a6586aaeabd4db029cf9c6ca19dc57d4d223 | [] | no_license | dabercro/crombie2 | 4e9e255bf745946ff9d55e8c07a3890e8f446684 | e5efbe59e8dd3694739818da24542c331d1f7f7b | refs/heads/master | 2021-06-29T22:42:08.518290 | 2020-09-30T16:49:37 | 2020-09-30T16:49:37 | 164,029,920 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,413 | h | #ifndef CROMBIE2_CONFIG_MODEL_H
#define CROMBIE2_CONFIG_MODEL_H
#include <list>
#include <crombie2/Types.h>
namespace crombie2 {
/**
@brief Abstract class that each saveable object should implement
*/
class ConfigModel {
public:
ConfigModel (const std::string& file_name = "");
virtual ~ConfigMo... | [
"dabercro@mit.edu"
] | dabercro@mit.edu |
df7b7dd157b671c84481cce7b6c9b68ae0373e13 | 5df12e96c75353d7ff5f6bd80e4c0c33a54a0e46 | /platfrom/client/Codec.h | aefaa854d079835d9def89934dedb7a10cd3d17d | [] | no_license | wangdong7-7/safe-market | 7bb02a0e06294190a77894172f955bda4db19a66 | 2a86ed737e12eda67f0fde1b881ea1181329709e | refs/heads/main | 2023-06-19T05:31:26.647051 | 2021-07-19T04:46:15 | 2021-07-19T04:46:15 | 387,201,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | h | #pragma once
#include "SequenceASN1.h"
// 编解码的父类
class Codec : public SequenceASN1
{
public:
Codec();
virtual ~Codec();
// 数据编码
virtual int msgEncode(char** outData, int &len);
// 数据解码
virtual void* msgDecode(char *inData, int inLen);
};
| [
"noreply@github.com"
] | wangdong7-7.noreply@github.com |
0a4df7ce4c9e5800ff2e62d15153b7cacaccc5f6 | 7f74c236881176d673fd5b8bed6e18283232deca | /modules/boost/simd/sdk/include/boost/simd/sdk/simd/details/native/meta.hpp | 640a84cb1731ece409241e1f16716d552017cfa0 | [
"BSL-1.0"
] | permissive | pesterie/nt2 | 57a3cbe4e3631d5eacbd1703b79af769f40b13f1 | 94e4062794466136987bf0afd9a94d43275b13cf | refs/heads/master | 2021-01-18T06:52:52.070291 | 2011-08-31T12:04:16 | 2011-08-31T12:04:16 | 1,566,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | hpp | /*******************************************************************************
* Copyright 2003 & onward LASMEA UMR 6602 CNRS/Univ. Clermont II
* Copyright 2009 & onward LRI UMR 8623 CNRS/Univ Paris Sud XI
*
* Distributed under the Boost Software License, Version 1.0.
* ... | [
"naabed.ptr@gmail.com"
] | naabed.ptr@gmail.com |
8f1f0be0dd5199cc73174084e42be165fea6108b | c43b0d1e041d004d1fa8e1469f57b62d4d4bea88 | /tools/fidlcat/lib/syscall_decoder.cc | 0b9d5ca0361fe27a1cebf1a36cb7373402ebd69b | [
"BSD-3-Clause"
] | permissive | ZVNexus/fuchsia | 75122894e09c79f26af828d6132202796febf3f3 | c5610ad15208208c98693618a79c705af935270c | refs/heads/master | 2023-01-12T10:48:06.597690 | 2019-07-04T05:09:11 | 2019-07-04T05:09:11 | 195,169,207 | 0 | 0 | BSD-3-Clause | 2023-01-05T20:35:36 | 2019-07-04T04:34:33 | C++ | UTF-8 | C++ | false | false | 14,490 | cc | // Copyright 2019 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 "tools/fidlcat/lib/syscall_decoder.h"
#include <zircon/system/public/zircon/types.h>
#include <algorithm>
#include <cstddef>
#include <cstdint>
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
8272e6e9200f965e00ee6ac7ace9f6c2fcf00332 | ce76319fc3c4294f83a5f13b48e8007bb5b1d179 | /Basket.h | e81b8e6248a207c077d2859112883cce7a4b55e7 | [] | no_license | flappyZeng/C-plus-plus-Learning | 80d6526b856a1e35447dfee2035552afcffe7a65 | f5e51596448f3941f2ac1afa80619f919041d74b | refs/heads/master | 2023-03-28T23:10:46.069448 | 2021-03-25T13:07:08 | 2021-03-25T14:07:07 | 342,803,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | h | #pragma once
#include<memory>
#include<set>
#include"quote.h"
class cmp {
public:
bool operator()(const std::shared_ptr<Quote>& lhs,
const std::shared_ptr<Quote>& rhs)
{
return lhs->isbn() < rhs->isbn();
}
};
class Basket{
public:
void add_item(const std::shared_ptr<Quote>& sale) { items.insert(sale); }
void ... | [
"962990169@qq.com"
] | 962990169@qq.com |
d2d0f0a65fe9dbeb4c1d197c19c4b7aed7b53e38 | 9c5ed15b94f72a1c8d61cdc4d817ef41ea0e4edd | /2016/January-June/perle/main.cpp | 4524fd65f40194e6e72ffc6c03944d70b6265672 | [] | no_license | caprariuap/infoarena | 6a2e74aa61472b4f9d429ad03710726d60856324 | a3a740d2c179f21b7177e5422072dfa61033437e | refs/heads/master | 2020-04-04T21:28:32.588930 | 2018-11-05T22:14:52 | 2018-11-05T22:14:52 | 156,287,370 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 810 | cpp | #include <fstream>
using namespace std;
ifstream fin("perle.in");
ofstream fout("perle.out");
int n,a[10001],i;
int mutareC(int k);
int mutareB(int k);
int mutareB(int k)
{
if (k+1<=a[0])
if (a[k]==2) return mutareB(k+1);
if (k+4<=a[0])
if (a[k+2]==3&&a[k]==1) return mutareC(k+4);
return a[0... | [
"caprariu.ap@gmail.com"
] | caprariu.ap@gmail.com |
f36894c5b6eb66be49b7dfd12f804ceab8b2c91b | 635c344550534c100e0a86ab318905734c95390d | /wpilibc/src/test/native/cpp/SolenoidTestREV.cpp | 75ea261e6895c6188c588f5e32dece05ed281eb7 | [
"BSD-3-Clause"
] | permissive | wpilibsuite/allwpilib | 2435cd2f5c16fb5431afe158a5b8fd84da62da24 | 8f3d6a1d4b1713693abc888ded06023cab3cab3a | refs/heads/main | 2023-08-23T21:04:26.896972 | 2023-08-23T17:47:32 | 2023-08-23T17:47:32 | 24,655,143 | 986 | 769 | NOASSERTION | 2023-09-14T03:51:22 | 2014-09-30T20:51:33 | C++ | UTF-8 | C++ | false | false | 1,491 | cpp | // Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <hal/HAL.h>
#include "frc/DoubleSolenoid.h"
#include "frc/PneumaticsControlModule.h"
#include "frc/Solenoid.h"... | [
"noreply@github.com"
] | wpilibsuite.noreply@github.com |
67eab7d5b9a819317cd4e70b60d08a076acaef2a | 28476e6f67b37670a87bfaed30fbeabaa5f773a2 | /src/AutumnGen/src/Configuration.h | 9869b03ead1385479c656d67c51dbac779da4708 | [] | no_license | rdmenezes/autumnframework | d1aeb657cd470b67616dfcf0aacdb173ac1e96e1 | d082d8dc12cc00edae5f132b7f5f6e0b6406fe1d | refs/heads/master | 2021-01-20T13:48:52.187425 | 2008-07-17T18:25:19 | 2008-07-17T18:25:19 | 32,969,073 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,742 | h | /*
* Copyright 2006 the original author or authors.
*
* 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 require... | [
"sharplog@c16174ff-a625-0410-88e5-87db5789ed7d"
] | sharplog@c16174ff-a625-0410-88e5-87db5789ed7d |
113e3cee2d6e9df63fc5dee0480ff016b7334aa9 | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_ServerRequestInterceptor.h | cb95039e570ddf8f2d49626407b2b12a3a00a7b5 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-sun-iiop"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 2,469 | h | // -*- C++ -*-
//=============================================================================
/**
* @file LB_ServerRequestInterceptor.h
*
* @author Ossama Othman <ossama@uci.edu>
*/
//=============================================================================
#ifndef TAO_LB_SERVER_REQUEST_INTERCEPTOR_H
#d... | [
"lihuibin705@163.com"
] | lihuibin705@163.com |
6bed5c12629a4f9a0789f80d7dfc5351bb1bb3ce | c2871061140d04152a5e05be0cdc4d3f3967064f | /src/kinematics/Transformation.h | 35a911c362fcea21db353b2d48282e6a140f0f65 | [] | no_license | yutingye/RTQL8 | b987baf40aee5a6aaf3e7a2e7d909a8b95ae7193 | 755e099edb8df8335f6c5260b89226fc773095de | refs/heads/master | 2021-01-18T14:15:55.872140 | 2013-09-11T08:49:09 | 2013-09-11T08:49:09 | 12,529,202 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,374 | h | /* RTQL8, Copyright (c) 2011, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Sumit Jain <sumitj83@gmail.com>, Sehoon Ha <sehoon.ha@gmail.com>
* Georgia Tech Graphics Lab
*
* This file is provided under the following "BSD-style" License:
* Redistribution and use in source and binary fo... | [
"yuting@gatech.edu"
] | yuting@gatech.edu |
a77ec1da3dc24378c1ffaaa6cf8bf60e68abb67b | 6d07e19cb66c427f7913a1f75de218d6adca1e74 | /src/image.cc | 6571152f2c094e77876749a41c8299e9e31d4bd9 | [
"MIT"
] | permissive | unclearness/ugu | 81c38186caf7266f1848bd7047ed4dbf686b5d95 | adcd13480c3179b6da213f15bc6e57590586a09a | refs/heads/develop | 2023-08-12T05:38:25.457326 | 2023-07-30T11:54:54 | 2023-07-30T11:54:54 | 211,345,214 | 34 | 4 | MIT | 2023-03-04T10:34:02 | 2019-09-27T15:07:03 | C++ | UTF-8 | C++ | false | false | 2,129 | cc | /*
* Copyright (C) 2022, unclearness
* All rights reserved.
*/
#include "ugu/image.h"
namespace ugu {
#ifdef UGU_USE_OPENCV
#else
int GetBitsFromCvType(int cv_type) {
int cv_depth = CV_MAT_DEPTH(cv_type);
if (cv_depth < 0) {
throw std::runtime_error("");
}
if (cv_depth <= CV_8S) {
return 8;
} e... | [
"unclearness.dev@gmail.com"
] | unclearness.dev@gmail.com |
b0bba6810b588c034b33d39869b5ee967b16020c | c411f2d0d84adbc6562f389cf9cbeeebc0e2034e | /.history/connected_components/twostage_pccl_20180130142334.cpp | b4ffeb5cabfe8aeea9485089c73d9444b896312b | [] | no_license | ajbolous/ParallelComputing | 10c0e62d2c383d8d83df80752e159eb5593aa848 | 097317d850441d117793fa9cacfad354305ab1af | refs/heads/master | 2021-09-05T22:52:40.640810 | 2018-01-31T13:33:30 | 2018-01-31T13:33:30 | 119,337,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,088 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <CL/cl.h>
#include <opencv2/opencv.hpp>
#include "../ocl/ocl_loader.hpp"
void linearTwoStage(uchar *image, int width, int height)
{
printf("width %d, height %d", width, height);
int *labeledImage = (int *)malloc(sizeof(int) * width * height);
int *labels = (int *)mal... | [
"ajbolous@gmail.com"
] | ajbolous@gmail.com |
dc28971c643d5d42d42b7308016f28d4ff1fe1ab | f30af6e688cfbe2c97c404ef11e4352294a3ea26 | /include/graphics/materials/skybox.h | 99768f78680221d74a5a857c06a348b45ebf0c24 | [
"MIT"
] | permissive | pjdixit/vxr | 19a286d72f05e3a466d6f6b1c637e8dc668bd13f | 9b21596dd8447fb6c8a0ff41a7a16a920401946b | refs/heads/master | 2020-08-12T09:01:55.626397 | 2019-04-19T20:41:09 | 2019-04-19T20:41:09 | 214,734,046 | 1 | 0 | MIT | 2019-10-13T00:07:41 | 2019-10-13T00:07:41 | null | WINDOWS-1250 | C++ | false | false | 2,147 | h | #pragma once
// ----------------------------------------------------------------------------------------
// MIT License
//
// Copyright(c) 2018 Víctor Ávila
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files(the "Software"... | [
"victorap97@gmail.com"
] | victorap97@gmail.com |
b17aa206b575957762cdd19e2a18618ffd1e170f | bc56aa80d0417b002cb1381e3911ff1d0df40d06 | /BbrStdUtils/Collection.hh | 2a3fe0956880903cdd0c723d2a5addad4ec74346 | [
"Apache-2.0"
] | permissive | brownd1978/FastSim | 177d79e8ce7bbd71df6f24295b157a8651962981 | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | refs/heads/master | 2023-01-08T07:48:49.843154 | 2020-11-04T00:52:23 | 2020-11-04T00:52:23 | 284,155,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | hh |
// Note: this is obsolete. Please do not use it or add to this file.
// See BbrCollectionUtils.hh instead.
#ifndef BABAR_COLLECTION_HH
#define BABAR_COLLECTION_HH
#include "BbrStdUtils/BbrCollectionUtils.hh"
#endif
| [
"dave_brown@lbl.gov"
] | dave_brown@lbl.gov |
2d7fa2e327817c89b744047901e552945c7db8aa | aeb49fe4cef963fcff288f35b5da82c000feba09 | /BOMARBLE.cpp | 37ebf5212724d8c507ffc638d3bf678e3255c6d9 | [] | no_license | kanha95/SPOJ-solutions | b5febec31c08a8f0b229ca2578253da81ecfd687 | 6a6038236eab4e40773fafae142d01678f62d611 | refs/heads/master | 2020-09-07T07:29:06.760163 | 2016-03-04T09:16:08 | 2016-03-04T09:16:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | cpp | #include<cstdio>
#include<algorithm>
#include<iostream>
#include<cstring>
#include<cstdlib>
#include<vector>
#include<list>
#define ll long long
#define ri(T) scanf("%d",&T)
#define rl(T) scanf("%lld",&T)
#define MOD 1000000007
using namespace std;
#include<stdio.h>
int main()
{
ll t,n,p,res;
rl(t);
while(t)
{
co... | [
"pallesai1995@gmail.com"
] | pallesai1995@gmail.com |
55993af5b000fe35aefa5c8d7969587412cc7a80 | a2923ac220a9968682b4b71bbe76ef74299bc71a | /laberinto.hpp | 408897a64d29fd945186960950bb50d139a801e4 | [] | no_license | dmarcob/algoritmo_busqueda_retroceso | 1b81d6b9238334d2dbe1700fce12ffbc89c223db | a23d4c8498e688ab9af858044f0dad4f67aa4139 | refs/heads/master | 2020-05-18T19:57:08.199037 | 2019-06-29T15:39:10 | 2019-06-29T15:39:10 | 184,621,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,574 | hpp | //*****************************************************************
// File: laberinto.hpp
// Author: Programación II. Diego Marco 755232
// Date: March 27, 2019
// Coms: Definición del tipo "Laberinto" para la práctica 3 de la asignatura
//*****************************************************************
#incl... | [
"755232@unizar.es"
] | 755232@unizar.es |
ab2a7a3138fe21d6b6bfb836f625ea1a09289a91 | 606d02e59bf8e13fe12665f1f095faa5f63081e7 | /include/spoa/version.hpp | 119ebfd4c8d21b261f1ca5d376905e6faab7cc77 | [
"MIT"
] | permissive | rvaser/spoa | 07d857ed6a890551f3ebab811cdc5cd2f3917821 | 1ab9ab076171e5e4f5fcd4d2a2369f26c7f8f48f | refs/heads/master | 2023-09-01T15:48:25.828243 | 2023-08-30T12:46:13 | 2023-08-30T14:06:50 | 52,782,725 | 141 | 51 | MIT | 2023-08-30T14:06:52 | 2016-02-29T10:21:20 | C++ | UTF-8 | C++ | false | false | 201 | hpp | // Copyright (c) 2023 Robert Vaser
#ifndef SPOA_VERSION_HPP_
#define SPOA_VERSION_HPP_
#include <string>
namespace spoa {
std::string Version();
} // namespace spoa
#endif // SPOA_VERSION_HPP_
| [
"robert.vaser@gmail.com"
] | robert.vaser@gmail.com |
c7e050c622d41ea70a327f1f976d6c877f11307b | ff598f8c79e302c0c9ecbd513b755f7fa28de424 | /src/caffe/util/math_functions.cpp | 6c8b1fcb83c9d1d8718206fe5af1a86ef7254b1b | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | GongCheng1919/Quantitative-and-ternary-caffe-for-network-compression | 596cdbd2df276f0164b6ad8488f7157d22587a20 | a529f00ac51982b2e3eda213edecfda12f922c76 | refs/heads/master | 2020-03-29T21:02:48.535548 | 2019-01-16T11:21:13 | 2019-01-16T11:21:13 | 150,345,963 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 18,831 | cpp | #include <boost/math/special_functions/next.hpp>
#include <boost/random.hpp>
#include <limits>
#include "caffe/common.hpp"
#include "caffe/util/math_functions.hpp"
#include "caffe/util/rng.hpp"
namespace caffe {
template<>
void caffe_cpu_gemm<float>(const CBLAS_TRANSPOSE TransA,
const CBLAS_TRANSPOSE TransB, co... | [
"gongcheng_nankai@163.com"
] | gongcheng_nankai@163.com |
d13264b65898e206d2c6f7baa733ec67c4e6c026 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/rsync/gumtree/rsync_old_hunk_611.cpp | 005f22e2a8e9814264bf9362ba861b61b92c6c30 | [] | 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 | 907 | cpp | if (fd[1] != -1) close(fd[1]);
if (listener != -1) close(listener);
return -1;
}
/*******************************************************************
run a program on a local tcp socket, this is used to launch smbd
when regression testing
the return value is a socket which is attached to a subprocess
running "prog... | [
"993273596@qq.com"
] | 993273596@qq.com |
96d4dd6e0de431e6f22272985ecd47f5940fa893 | be5cb586bad9aa78ab7d6c9c273757cf087a0138 | /death.cpp | 09466cf073d3c792ff519afd4146e3e6549533bf | [] | no_license | steaphangreene/aa | 5f10a7fd6f4e6db59b4b1a5086cb74d3fd04dacf | 6daf6ce9685d19b9d7a4f0a01ac7c95d238a9970 | refs/heads/master | 2020-05-19T08:18:07.335986 | 2014-02-03T05:30:07 | 2014-02-03T05:30:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,511 | cpp | #include <stdlib.h>
#include "../user/user.h"
extern int deathxoff[20];
extern int deathyoff[20];
extern Graphic *death[20];
extern Screen *screen;
void defdeath() {
death[2] = NULL;
death[3] = NULL;
death[4] = NULL;
death[5] = NULL;
death[6] = NULL;
death[7] = NULL;
death[8] = NULL;
death[9] = NULL... | [
"steaphan@gmail.com"
] | steaphan@gmail.com |
b2dd5e01bb819e60896c3b6706f4032a6c08c55c | 2e9b40d51adbf70f1f43bd561876abba7da2d2aa | /Homework 1/testSSNSet.cpp | 4e1bc499b4893df6c3ebffabca060186bba6e66a | [] | no_license | just-ma/CS32 | 5485b05b423f12391fc797d8196337b5abe0ecfd | 4671076df95acae0ad1e9ea0bcc61313fb012942 | refs/heads/master | 2020-03-26T19:06:16.034987 | 2018-08-19T18:23:43 | 2018-08-19T18:23:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | cpp | #include "SSNSet.h"
#include <iostream>
#include <cassert>
using namespace std;
int main()
{
SSNSet s;
assert(s.size()==0); //test if size function works when empty
ItemType x = 123;
s.add(x);
s.add(678);
assert (s.size()==2); //test if size function works when unempty
assert (!... | [
"noreply@github.com"
] | just-ma.noreply@github.com |
66c95affbbe23e36f84386151426377c8090b7d9 | b53795b88ab0201e48c5dc5737e97dfd27e07b22 | /tools/DumpProto - OFFİCAL AÇICI/dump_proto/dump_proto.cpp | 4f8c012cd7b32bb2f31ca6eef603c3b9926b2489 | [] | no_license | davidkm2/globalmetin | 9cc63395974eb74b5784a1bf5e733622c7303aa4 | d1a21b549c68e311416544e03ca6218351e12d2f | refs/heads/main | 2023-05-27T08:10:08.506239 | 2021-05-24T01:57:37 | 2021-05-24T01:57:37 | 370,181,109 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 31,000 | cpp | #include "dump_proto.h"
#include <locale.h>
bool LoadNPrint = false;
CPythonNonPlayer::TMobTable * m_pMobTable = NULL;
int m_iMobTableSize = 0;
CItemData::TItemTable * m_pItemTable = NULL;
int m_iItemTableSize = 0;
bool Set_Proto_Mob_Table(CPythonNonPlayer::TMobTable *mobTable, cCsvTable &csvTable, std... | [
"davidkm2012@gmail.com"
] | davidkm2012@gmail.com |
c5d7c1fc3511197399e0a080010efbaa0c475c05 | 002fee4f2bfaeafd4c20116ec2ea3d49ecd91783 | /macro/macroNparams2.cpp | 11cf37312a97fb94065bb74e058e5526c1317502 | [] | no_license | RuslanIvanov/testcpp | 4d073e01ed191626d94ef91ce2a9613737b3bdb8 | a8583cf6e81bc6456771b62ac9cfb596764c46fa | refs/heads/master | 2022-06-27T00:49:38.990539 | 2022-06-17T07:02:40 | 2022-06-17T07:02:40 | 74,291,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 264 | cpp | // @author Subbotin B.P.
// @see http://sbp-program.ru
#include <stdio.h>
#define mFirstMacro(nVar) ((nVar) + mSecondMacro(nVar))
#define mSecondMacro(nVar) ((nVar) * 2)
int main()
{
int nVar = 5;
printf("\nnVar = %d\n\n", mFirstMacro(nVar));
return 0;
}
| [
"rus_iv@list.ru"
] | rus_iv@list.ru |
206f8f1dea4f8f4a5d273d50f38252e54c3a4661 | f19896ff3a1016d4ae63db6e9345cfcc4d0a2967 | /Topics/Topic/Data Structures and Alogrithms (Topic)/Grokking the Coding Interview/70(Search in a sorted infinte array).cpp | c692fbc59e4a463beecdefaf478b70fd0a832a8d | [] | no_license | Akshay199456/100DaysOfCode | 079800b77a44abe560866cf4750dfc6c7fe01a59 | b4ed8a6793c17bcb71c56686d98fcd683af64841 | refs/heads/master | 2023-08-08T07:59:02.723675 | 2023-08-01T03:44:15 | 2023-08-01T03:44:15 | 226,718,143 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,047 | cpp | /*
Problem statement:
Given an infinite sorted array (or an array with unknown size), find if a given number ‘key’ is present in the array. Write a function to return the index of the ‘key’ if it is present in the array, otherwise return -1.
Since it is not possible to define an array with infinite (unknown) size, yo... | [
"akshay.kum94@gmail.com"
] | akshay.kum94@gmail.com |
69ea27806f05e228d3f4daccff95354251e9bab0 | 084dad324cabef224ebe483792274f8b985beec6 | /toolchain/hackImage/getCGImage.cpp | 85906b5d4ee4b0b2ea509cb40d069cf14687cf6b | [] | no_license | iBruCe07/CrossGateRemastered | 26c6cd71224ba8bd6b4f5f11053f150c6229c365 | b99cd7c9c1bd823270feb016db62d8feb64ff41d | refs/heads/master | 2020-05-16T04:55:17.424102 | 2019-03-16T16:25:35 | 2019-03-16T16:25:35 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 10,066 | cpp | #include <iostream>
#include <windows.h>
#include <io.h>
#include <sstream>
#include <fstream>
#include "getCGImage.h"
#include "gdiImg.h"
CGetCGImage::CGetCGImage()
{
// 获取程序路径
_strPath = Utils::getExePath();
}
CGetCGImage::~CGetCGImage()
{
SAFE_DELETE_A(_imgEncode);
SAFE_DELETE_A(_imgData);
S... | [
"447801388@qq.com"
] | 447801388@qq.com |
577a4b1347f88cde3ca9dc59fa7476e65ae767a6 | ee146f21465cdd04ff78127aca1cf19b75263c7d | /EventNetwork.cpp | 4d25a8ce9c56a4f163fc9a0b3b6c0de4afe64c8f | [] | no_license | mwcaisse/CS4513-Project4 | a6c68d56f93482c57127022ba1903cb8d8de7e2b | fee88e225360c562b004d5afc0e2fac2157b1478 | refs/heads/master | 2016-08-07T14:06:24.573118 | 2014-05-07T02:13:53 | 2014-05-07T02:13:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,683 | cpp | /*
* EventNetwork.cpp
*
* Created on: Apr 30, 2014
* Author: mitchell
*/
#include "EventNetwork.h"
#include "NetworkManager.h"
EventNetwork::~EventNetwork() {
// TODO Auto-generated destructor stub
}
EventNetwork::EventNetwork(message_header header, std::string data) {
setData(data);
setObjectType(he... | [
"computers1055@gmail.com"
] | computers1055@gmail.com |
a9c24ee695860b23e54d584db433392dbb1255cc | 1c83efc404e92c94d0eafa6ecc1ff14068c8e152 | /LR - 3 M - 2/TInteger.h | 84317beb9f6a77ccfa793bd2fd7b5f2a030c066f | [] | no_license | anasteyshakoshman/BMSTU-projects | d5a355c36dc094d40ce20ea802655885bbc3962c | 859f2c4dcf1e636daad997962a3408351193bbf9 | refs/heads/master | 2020-05-28T02:12:30.097470 | 2019-02-21T14:48:26 | 2019-02-21T14:48:26 | 82,578,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,683 | h | #pragma once
#include <iostream>
class TInteger
{
int Num;
bool Error(const long long int);
public:
TInteger();
TInteger(const int);
TInteger(const long long int);
TInteger& operator =(const long long int);
TInteger& operator +=(const long long int);
TInteger& operator *=(const long... | [
"noreply@github.com"
] | anasteyshakoshman.noreply@github.com |
0c640b4c6d80c37ad17871f9b0368268d1ce5947 | 996bc0532faeb4412900da251aa0355303dee60d | /Src/Modules/Modeling/KalmanWorldModelGenerator/Models/MultiKalmanModel_impl.h | bc9e840b131b799c8ee5ebc5dc6ac64e5ba0c88b | [
"BSD-2-Clause"
] | permissive | HospitableHost/NaoDevilsCodeRelease | 66814d1126a1b226c16c391f367df54e55290b62 | b47d2ce3474236325b9114913968b2eb39d0754e | refs/heads/master | 2022-04-01T13:10:59.507343 | 2020-01-22T19:42:18 | 2020-01-22T19:46:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,666 | h | /**
* \file MultiKalmanModel_impl.h
* \author <a href="mailto:heiner.walter@tu-dortmund.de">Heiner Walter</a>
*
* Implementation of class \c MultiKalmanModel.
*/
#include "MultiKalmanModel.h"
#include "Tools/Math/Covariance.h"
#include "Tools/Debugging/DebugDrawings.h"
#include <algorithm> // std::fin... | [
"aaron.larisch@tu-dortmund.de"
] | aaron.larisch@tu-dortmund.de |
cd584bbdd1c900fa39dd54bcb986aab153cb9f1a | cdcb94426af4b4842aad35b487214f282ed457a0 | /COM/models/modcpua21.h | 741c73f80600aa42c1ef6c39e839e6a0b4794c9b | [] | no_license | MEN-Mikro-Elektronik/13Y008-90 | 968898487c637b7cd26b7922b11adbc448d3a242 | 1877b1cc897c11e81b5526e68cdda4802240ba5e | refs/heads/master | 2023-05-25T05:06:02.116975 | 2023-05-04T07:49:23 | 2023-05-04T07:49:23 | 143,159,201 | 0 | 0 | null | 2023-05-04T07:49:25 | 2018-08-01T13:22:53 | C++ | UTF-8 | C++ | false | false | 2,781 | h | /***************************************************************************
*/
/*! \file modcpua21.h
* \brief MEN CPU A21 classes
* \author Dieter.Pfeuffer@men.de
* $Date: 2015/05/26 17:19:18 $
* $Revision: 2.4 $
*
* Switches: -
*/
/*-------------------------------[ History ]-----... | [
"thomas.schnuerer@men"
] | thomas.schnuerer@men |
c2643b0e11c55404324d443d2339e2f88812c306 | 4e19a3a8500460337f22a9844eaa1bf2d8c59a5a | /CvGameCoreDLL_Expansion2/CvNotifications.cpp | 7c91962c2fc5eebefacbe1f91d9ac8c5afc05928 | [] | no_license | ZadesSC/Civilization-5-DLL | bc7a52515f7d080d3efe2da45838ab60d17b3372 | 9d3d7928768619dfd73bfa126d83dcac4799338e | refs/heads/master | 2020-04-25T13:43:11.731893 | 2015-02-22T15:40:39 | 2015-02-22T15:40:39 | 31,167,527 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 58,803 | cpp | /* -------------------------------------------------------------------------------------------------------
© 1991-2012 Take-Two Interactive Software and its subsidiaries. Developed by Firaxis Games.
Sid Meier's Civilization V, Civ, Civilization, 2K Games, Firaxis Games, Take-Two Interactive Software
and their... | [
"zades@outlook.com"
] | zades@outlook.com |
91690926e728a5896d6946e23c384b5199fe08ac | dea7524c07a10f7f4efdb8e8c652d0b2f7b5b816 | /elementary/elementary3.cpp | fa346606853a9dc4e995ebd02904d52b951e9dc1 | [] | no_license | gachikuku/simple_programming_cpp | e2b10ea7a3dd847a34ed49b8f0a42c9e42907c87 | c02c18b2e221784d06e0aadcd3986c1332212c27 | refs/heads/main | 2023-08-26T04:41:24.728038 | 2021-11-03T11:23:54 | 2021-11-03T11:23:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | cpp | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main(void){
string name;
cout << "What's your name. \n";
cin >> name;
if (name == "Alice" || name == "Bob"){
cout << "Greetings, " << name << endl;
}
else{
printf("ew \n");
}
retu... | [
"noreply@github.com"
] | gachikuku.noreply@github.com |
752827ca7369d417581e282f8a901aa54d6dc8ec | 1159aad523e90a3b6a724624a57050467b776712 | /41FirstMissingPositive.cpp | a5868cc836d543abed779064767e51ecf9641641 | [] | no_license | imlihao/leetcode | 604fa52f2bd964af9d635fff9798808cfd5c7605 | 6724f935bcb00b3de68a061616ecf5913f3018f5 | refs/heads/master | 2021-01-04T20:34:03.897710 | 2020-05-02T11:37:50 | 2020-05-02T11:37:50 | 240,750,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,761 | cpp | #include <algorithm>
#include <functional>
#include <iostream>
#include <queue>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
using namespace std;
class Solution
{
public:
int firstMissingPositive(vector<int> &nums)
{
// if (nums.size() == 0)
// return 1;
... | [
"lihao92beyond@163.com"
] | lihao92beyond@163.com |
5213f5d6672e76e69453384eecdd393f2b1553c9 | c707f8d47e9aa04204a0709cc133777962efb477 | /lengthqueue.cpp | 438933cf4116ddc94a0d76d387462c3ce436f4fe | [] | no_license | yueyiqiu178/DataStructure | 995cc55d2abd1ab2c30b7ef6b4dc697790dfd597 | 70b18a2c7c512b72f8b317d81cd41e3252fa9d43 | refs/heads/master | 2020-04-22T09:24:38.577376 | 2019-02-12T07:36:36 | 2019-02-12T07:36:36 | 170,271,182 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 2,380 | cpp | #include<iostream>
#define N 5
using namespace std;
struct Queue{
int queuearray[N];
int front;
int length;
};
void createQueue(Queue *);
int isFull(Queue *);
int isEmpty(Queue *);
void enQueue(Queue *,int *);
void deQueue(Queue *,int *);
void... | [
"noreply@github.com"
] | yueyiqiu178.noreply@github.com |
39cf381842aee9f9798d094ecdac71c3c67c7d85 | 68ff39ba5ea1905b0a3d05dbcc96a7efaa11a351 | /catkin_ws/src/probot_demo/src/moveit_ik_demo (copy).cpp | 77e165ba144f625957ac591de1ac7f5d57ddee61 | [] | no_license | UndergroundCoderNeo/dual_arm_robot | 60e3282a24643539bc61d35226a3362269308e0f | 3b47c905b25aef67edbcadfb6e89a1a5af765827 | refs/heads/master | 2023-04-12T00:50:24.349890 | 2021-05-05T12:31:02 | 2021-05-05T12:31:02 | 363,605,051 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,976 | cpp | /***********************************************************************
Copyright 2019 Wuhan PS-Micro Technology Co., Itd.
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... | [
"mac@Tc-X-deMacBook-Pro.local"
] | mac@Tc-X-deMacBook-Pro.local |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.