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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
28b809ff9fcf849f4923d0360b4b2f9910052838 | 57c31af7487bfffc1e334a11a2ea7c929264af18 | /tests_boost/test-encode-decode-interest.cpp | e5fc83f8686db2bbfaa63137300d26812165f80d | [] | no_license | cawka/packaging-ndn-cpp-dev | 85a99240109d5fccb81c2b73250135aea3dd496b | baed2d2a6fcd365dddae0174185db184e5057638 | refs/heads/master | 2021-01-20T01:03:46.083951 | 2014-01-24T03:00:58 | 2014-01-24T03:00:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,491 | cpp | /**
* Copyright (C) 2013 Regents of the University of California.
* @author: Jeff Thompson <jefft0@remap.ucla.edu>
* See COPYING for copyright and distribution information.
*/
#include <boost/test/unit_test.hpp>
#include <ndn-cpp-dev/interest.hpp>
using namespace std;
using namespace ndn;
BOOST_AUTO_TEST_SUITE(... | [
"alexander.afanasyev@ucla.edu"
] | alexander.afanasyev@ucla.edu |
9128d9b3ae48f431f9ee3a8fed7f33da3f904a93 | 22f3d35f0670837f8bc624aa1bb8984bf6e103cb | /info.h | dcd5a78aa92ad974eba665d781c29d851c5b4800 | [] | no_license | Maden23/StockExchange | 4a7c26e87d557c1d6b9b24a60a68c6111aaa6ee0 | 1a49f079cc38748935d16a57e5745c4609b26c48 | refs/heads/master | 2020-04-12T21:04:09.546385 | 2018-12-21T20:35:35 | 2018-12-21T20:35:35 | 162,754,212 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 863 | h | #ifndef INFO_H
#define INFO_H
#include <fstream>
#include <string>
#include <QString>
using namespace std;
enum info_t {IS_COMPANY, IS_HOLDER, IS_HOLDERWANALYSIS};
class Info
{
public:
virtual ~Info();
void setName(QString name);
QString getName() const;
virtual info_t defineInfo() const = 0;
v... | [
"maden98@gmail.com"
] | maden98@gmail.com |
3157042ebeb7a519c118aee3513d882610a76905 | 68a76eb015df500ab93125396cf351dff1e53356 | /Codeforces/104A.cpp | 48eb987444850c23294ce20b678a8092e00a21f2 | [] | no_license | deepakn97/Competitive-Programming | a84999c0755a187a55a0bb2f384c216e7ee4bf15 | aae415839c6d823daba5cd830935bf3350de895e | refs/heads/master | 2021-10-04T08:00:59.867642 | 2018-12-03T15:37:32 | 2018-12-03T15:37:32 | 81,475,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 703 | cpp | #include <bits/stdc++.h>
using namespace std;
#define Pi 3.141592653589793
#define eps 1e-9
#define SQR(n) (n*n)
#define MEM(a,val) memset(a,val,sizeof(a))
#define vi vector<int>
#define vii vector< vector<int> >
#define pb push_back
#define F first
#define S second
#define SS stringstream
#define all(v) (v.begin(),v.... | [
"deepak54354@gmail.com"
] | deepak54354@gmail.com |
61ddca7a35eb4d5f6011adc3c76230a8151e71b0 | 79d737df7d3ecb6404911ffc561942be740d2f4c | /rstudio-server/JAGS-v4.3.0/include/JAGS/graph/ArrayStochasticNode.h | 62bddeb58ac93c636bc89d6d46fac2c7931e23ed | [] | no_license | omicsclass/biodocker | 18d3d611488173fb9dd65c6fee6c5a10cf47d170 | 6e77a4aaef187a26ff3ba628d12905093fe320ec | refs/heads/master | 2023-01-05T13:26:41.664515 | 2022-12-26T10:16:53 | 2022-12-26T10:16:53 | 248,117,776 | 0 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,429 | h | #ifndef ARRAY_STOCHASTIC_NODE_H_
#define ARRAY_STOCHASTIC_NODE_H_
#include <graph/StochasticNode.h>
namespace jags {
class ArrayDist;
/**
* @short Array-valued Node defined by the BUGS-language operator ~
*/
class ArrayStochasticNode : public StochasticNode {
ArrayDist const * const _dist;
std::vector<std... | [
"huang2002003@qq.com"
] | huang2002003@qq.com |
e9c31d9be30d6288b01828bc04cf3ea78ec43a28 | 131223db8fe76478768e174d85828cf10862c0dc | /interfaces/innerkits/native_cpp/include/bluetooth_gatt_client.h | 9815b0af1f39da5d97dee69e9684e3db501af632 | [
"Apache-2.0"
] | permissive | openharmony-gitee-mirror/communication_bluetooth | e3c834043d8d96be666401ba6baa3f55e1f1f3d2 | 444309918cd00a65a10b8d798a0f5a78f8cf13be | refs/heads/master | 2023-08-24T10:05:20.001354 | 2021-10-19T01:45:18 | 2021-10-19T01:45:18 | 400,050,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,531 | h | /*
* Copyright (C) 2021 Huawei Device Co., Ltd.
* 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 ... | [
"guohong.cheng@huawei.com"
] | guohong.cheng@huawei.com |
d9173d3c1a26832112b88a1f5128e721285bef4c | 5898d3bd9e4cb58043b40fa58961c7452182db08 | /part1/ch03/3-3-2-move-container/src/Vector.h | b271a71c67ca72f7884de8018083db1716883577 | [] | no_license | sasaki-seiji/ProgrammingLanguageCPP4th | 1e802f3cb15fc2ac51fa70403b95f52878223cff | 2f686b385b485c27068328c6533926903b253687 | refs/heads/master | 2020-04-04T06:10:32.942026 | 2017-08-10T11:35:08 | 2017-08-10T11:35:08 | 53,772,682 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 524 | h | /*
* Vector.h
*
* Created on: 2016/03/21
* Author: sasaki
*/
#ifndef VECTOR_H_
#define VECTOR_H_
class Vector {
private:
double* elem;
int sz;
public:
Vector(int s);
~Vector();
Vector(const Vector& a);
Vector& operator=(const Vector& a);
// move
Vector(Vector&& a);
Vector& operator=(Vector&& a)... | [
"sasaki-seiji@msj.biglobe.ne.jp"
] | sasaki-seiji@msj.biglobe.ne.jp |
423785318712c30856912e714b2169fdc8c11280 | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_null_return_value.cpp | 6965580b91d971590acd159c3f2b937df60f495e | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"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 | 4,398 | cpp | #include "be_visitor_null_return_value.h"
#include "be_visitor_context.h"
#include "be_helper.h"
#include "be_array.h"
#include "be_component.h"
#include "be_enum.h"
#include "be_eventtype.h"
#include "be_home.h"
#include "be_predefined_type.h"
#include "be_sequence.h"
#include "be_string.h"
#include "be_structure.h"
... | [
"lihuibin705@163.com"
] | lihuibin705@163.com |
53b2c42d486abb9bd608d3d2b63f6bcca4d8532a | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/navigation_predictor/anchor_element_preloader.cc | 7c5462136f4b33b5f08235427c9aa25c487eda48 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 6,059 | cc | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/navigation_predictor/anchor_element_preloader.h"
#include "base/functional/callback.h"
#include "base/metrics/histogram_functions.h"
#include "chrome/b... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
ed038aa0f3db85e36bc9577d03669b2ec3193c92 | eca2965b6f3c9b887acf4842b7c4a5437ebbef6e | /1.6/wallFilmRegion/Uf | 1f2c4a8ae6370616a97c0d0e6cf875b7481eb448 | [] | no_license | canesin/CasoSuperficiePlana | 9c2fa7a7c73bffa2b18d9647618178c38d85ea03 | bbfa4013c702ae7f2e895867297b096c9015b4d5 | refs/heads/master | 2016-09-05T23:07:15.957094 | 2012-06-27T21:37:21 | 2012-06-27T21:37:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 86,990 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.x |
... | [
"fabio.canesin@gmail.com"
] | fabio.canesin@gmail.com | |
411768db6d2a464c6bf54e4e19d359dd147db23a | d3893a2ee04e4752cecbc873b369a8fa7113b70d | /third_party/skia_m63/src/gpu/effects/GrBlurredEdgeFragmentProcessor.h | e27905ca292f0874a0fb7ce2159f7a636fb771b0 | [
"BSD-3-Clause",
"MIT"
] | permissive | kniefliu/WindowsSamples | e849137467acdfe5351e8fdd31945c37203be3c5 | c841268ef4a0f1c6f89b8e95bf68058ea2548394 | refs/heads/master | 2021-01-09T10:25:49.744308 | 2020-08-12T12:37:05 | 2020-08-12T12:37:05 | 242,264,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,543 | h | /*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/*
* This file was autogenerated from GrBlurredEdgeFragmentProcessor.fp; do not modify.
*/
#ifndef GrBlurredEdgeFragmentProcessor_DEFINED
#define GrBlurredEdgeFragmentProces... | [
"liuxiufeng@qiyi.com"
] | liuxiufeng@qiyi.com |
d8f219c9efefc72f246451231b204f27c365818f | 713926478a1f876c0d30744d90f829109cd1bd64 | /Lol2019/Day_10/F/check.cpp | 2d9fbbc26b8092f8e2381c690731676a753d2916 | [] | no_license | Igor-SeVeR/OlympiadProblems | f8b191488c11bf92bdfc580bbac660f6ed7bddef | 7197aa7a6853ff916ee9da090d53580253dabffb | refs/heads/master | 2020-06-10T21:45:20.565411 | 2019-07-21T18:18:55 | 2019-07-21T18:18:55 | 193,752,484 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | cpp | /* Autogenerated code, forces testlib to return exit codes for EJUDGE. */
#define EJUDGE
#include "testlib.h"
#include <sstream>
using namespace std;
string ending(long long x)
{
x %= 100;
if (x / 10 == 1)
return "th";
if (x % 10 == 1)
return "st";
if (x % 10 == 2)
return "nd"... | [
"voafanasev@edu.hse.ru"
] | voafanasev@edu.hse.ru |
bfc1436d0073444c1e0a6a34010268bf0c729481 | e7305bf4b50cedfbecf236a545f109bd825840fa | /mesh/MeshLoader.hpp | 9e098722747dd2797d6a4ee6e7993b13f6898fa2 | [] | no_license | lucmobz/pacs-project | df03257ccf4b745692b1daf30919e7db188ef573 | e54500b96dcf0e3d44aa07fa2970f95a5ac5c4b5 | refs/heads/main | 2023-04-30T11:49:55.701913 | 2021-05-21T20:27:13 | 2021-05-21T20:27:13 | 369,647,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,662 | hpp | #pragma once
#include <fstream>
#include <memory>
#include <string>
#include <vector>
#include "Mesh.hpp"
#include "MeshConnectivity.hpp"
namespace wave {
/**
\brief A MeshLoader is an abstract loader for loading mesh files.
A pure abstract class that represents an object with access to the internals
of a Mesh... | [
"luca.mobz.work@gmail.com"
] | luca.mobz.work@gmail.com |
22d8b87956241d56037d92ffcab2d5ae4967988e | 90e63bf53e58790a6bc8862bba1fd492747823a8 | /boost_variant/src/main.cc | cc97d593ffe392c2a76be8b42a134d585cbf4411 | [] | no_license | gucchisk/cpp-samples | 48dc64b18a41b05e13b7f758eb658c789811269a | d9d421edc9c97e26c0651f85969a41a050bae85a | refs/heads/main | 2021-11-24T07:45:39.299140 | 2021-11-23T01:52:32 | 2021-11-23T01:52:32 | 231,418,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 105 | cc | #include <hello.h>
#include <iostream>
int main() {
std::cout << hello(3) << std::endl;
return 0;
}
| [
"gucchi_sk@yahoo.co.jp"
] | gucchi_sk@yahoo.co.jp |
172549e7a617ae45837d4360c65058e72ca4b184 | bbd0ed6a7ecc2a038132b105b87de4c6a1e357e8 | /examples/occa/simple/simple.cpp | a639d4c588009a90150d57b7640034c00714580b | [
"MIT"
] | permissive | holke/CUDA_ATPESC15 | 08aa7a76c54afb7d06ca6dc8e947c1737d3d5548 | a0b74b5da4f6bcb8cd0e868420fe216b7449ac33 | refs/heads/master | 2020-04-05T23:46:20.221140 | 2015-08-05T20:25:46 | 2015-08-05T20:25:46 | 40,311,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include "occa.hpp"
int main(int argc, char **argv){
/* hard code platform and device number */
int plat = 0;
int dev = 0;
occa::device device;
device.setup("OpenCL", plat, dev);
// build jacobi kernel from source file
const char *functionN... | [
"timwar@Tims-MacBook-Pro.local"
] | timwar@Tims-MacBook-Pro.local |
b87b112a4cfc818f65c22ae2d5e69202037f48c9 | 6b0ed1000d6340fe8e0a5b5a0be609bf42ad5a50 | /133.cpp | 5559848bc23fecb1c9839795c7933e455ed98214 | [] | no_license | HarshRaikwar/Leetcode-Submissions | 5bcdb96b63548cf0bb4522258800ebb7a3ae8b29 | 6b7aeb5def21e6652ad7b299f472e8152bafaab0 | refs/heads/master | 2023-07-29T18:50:46.607706 | 2021-09-13T14:35:47 | 2021-09-13T14:35:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | /*
class Node {
public:
int val;
vector<Node*> neighbors;
Node() {
val = 0;
neighbors = vector<Node*>();
}
Node(int _val) {
val = _val;
neighbors = vector<Node*>();
}
Node(int _val, vector<Node*> _neighbors) {
val = _val;
neighbors = _neighbors... | [
"sharmadeeksha325@gmail.com"
] | sharmadeeksha325@gmail.com |
e9ca3ba693fe11684c141ce2abc103a90527fd90 | 26f8393e1f47baa89e0c8342a3427a4107778b3e | /stepdriver_fw/inc/beeper.h | df55b92748797d14d9d5ee7936024ee48b9594d7 | [] | no_license | roma-jam/stepdriver | 1351f26c59d1446e0947d05c2a5e2a941cb72620 | 965c89174e45ea14fc8f744b25e54bc8aaf502d3 | refs/heads/master | 2020-12-18T22:18:39.723280 | 2016-06-11T10:26:47 | 2016-06-11T10:26:47 | 32,232,665 | 0 | 0 | null | null | null | null | ISO-8859-5 | C++ | false | false | 984 | h | /*
* beeper.h
*
* Created on: 08 рту. 2015 у.
* Author: RomaJam
*/
#ifndef INC_BEEPER_H_
#define INC_BEEPER_H_
#include "kl_lib_f100.h"
#define BEEPER_DURATION_MS 51
#define BEEPER_DELAY_MS 99
#define BEEPER_GPIO GPIOB
#define BEEPER_PIN 7
#define BEEPER_TIM TIM4
#define B... | [
"jam_roma@yahoo.com"
] | jam_roma@yahoo.com |
53e185946ccce2f6de59f0adcf87542e8032f953 | a94f689196fc0a40bbd97052ec5edb9668f4f250 | /RX/other/air_compressor/air_compressor.ino | c8658f442d2c4bb5f4a114e71c689dff6a5bc6bc | [] | no_license | troywiipongwii/Open-Source-RKS | 59c0ed2311c75a7bc384557522d4edee1f085562 | 29c2022ef7864ac68b49cd0d1d837eb2d43ff816 | refs/heads/master | 2020-05-22T00:25:27.938863 | 2019-04-08T06:12:47 | 2019-04-08T06:12:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27 | ino | #include "air_compressor.h" | [
"fryefryefrye@foxmail.com"
] | fryefryefrye@foxmail.com |
0c596827c12f869019606e13b638c470699c7165 | f20cc2b9207e71c21ea11141d941249913459c37 | /include/nodoGenericImpl.cpp | f4acae48a2bb0b4e1582845f2598d0850c786c42 | [] | no_license | Dabit98/IC-Practice2 | e8aaa7752115127be2640ffe0ba782bc6cd8ff9a | 9d90a315b2cfc076bffe7aff2ed8ac95f96497ac | refs/heads/master | 2020-07-31T23:59:27.529762 | 2019-10-23T19:30:14 | 2019-10-23T19:30:14 | 210,793,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 850 | cpp | #include <iostream>
//Funciones de manipulacion
//Constructor nodo hijo
template <typename T>
Nodo<T>::Nodo(Nodo* padre, T dato) : Nodo<T>::Nodo(dato) {
this->padre = padre;
}
//Constructor nodo padre
template <typename T>
Nodo<T>::Nodo(T dato) {
this->padre = nullptr;
this->dato = dato;
}
//Creador de hijos
t... | [
"npj6@alu.ua.es"
] | npj6@alu.ua.es |
d87d17c18c2066a56c331d226e2a85aa9c425581 | 20825416de992d887d322b8bd5192cf1d896c87a | /alladin and return.cpp | 4bbbf1fa10d05eec32a86c14ff774bece30ac1f3 | [] | no_license | pkbhowmick/LightOJ | becb7daf906897efe03b42f68361c5db1162ee28 | 26942e69be0829be114d6bc668983c6896ea3477 | refs/heads/master | 2020-03-18T00:22:38.118825 | 2018-10-03T17:15:47 | 2018-10-03T17:15:47 | 134,090,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,428 | cpp | ///LOJ - Aladdin and the Return Journey
#include <bits/stdc++.h>
#define pb push_back
#define sc1(n) scanf("%lld",&n)
#define sc2(a,b) scanf("%lld%lld",&a,&b)
#define sc3(a,b,c) scanf("%lld%lld%lld",&a,&b,&c)
#define MX 60005
using namespace std;
typedef long long int ll;
typedef unsigned long long ul;
... | [
"noreply@github.com"
] | pkbhowmick.noreply@github.com |
a48022dab032488cbfd879d16e0d3e715f91c4c4 | 6ad8a1bd5ba4bd8d499fa95987e2a32f3811f841 | /CPP_Problems/Skiena Programming Challenges/3n+1 Problem.cpp | 4f938001bc3c23cf8da0e6eb9ead0fbe36cb5057 | [] | no_license | Huddie/CPP_Problems | 1ef1c71c2346034f196d5e086b56a91a28df39a9 | 8028ff8c68d154f39de30462dce7f67baec3468c | refs/heads/master | 2021-09-02T12:27:47.307104 | 2018-01-02T16:22:42 | 2018-01-02T16:22:42 | 105,211,946 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 676 | cpp | #include <iostream>
int main() {
unsigned int inNum, start = 1, end, count, highCount;
while(std::cin >> start) {
highCount = 0;
std::cin >> end;
std::cout << start;
std::cout << " " << end;
for(; start <= end; start += 1) {
unsigned int cycle = start;
count = 0;
... | [
"easports96@gmail.com"
] | easports96@gmail.com |
e5d5d251d02668ecde61fe7bfc1e632e7babd01a | 0d60e85ea4a13eb3467cd1dd80ce31768cee02b4 | /src/worker.cpp | 6a36e6a0a254a9de25089f4e7b400ca223d0d43c | [
"OpenSSL",
"ISC",
"MIT",
"BSL-1.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | longamu/pipy | c6bd7e1b9d51f873c6284deb51195d89cade60bd | 6f4ad83fad94e9cb67e9f43756df30e8b9ee8a94 | refs/heads/main | 2023-07-15T03:36:24.552356 | 2021-08-23T02:26:20 | 2021-08-23T02:26:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,743 | cpp | /*
* Copyright (c) 2019 by flomesh.io
*
* Unless prior written consent has been obtained from the copyright
* owner, the following shall not be allowed.
*
* 1. The distribution of any source codes, header files, make files,
* or libraries of the software.
*
* 2. Disclosure of any source codes pertaini... | [
"pajamacoder@flomesh.io"
] | pajamacoder@flomesh.io |
6847e5b54bdd836d61ecb1e1fbbecc1c5bde9dff | b01e58e74ba0f989c5beb8f532eec2c11f5439b5 | /CampIme2017/Day4/wall.cpp | c5400debe94fa2d8d7bd8b17b5e67b418e2f7a78 | [] | no_license | breno-helf/TAPA.EXE | 54d56e2a2c15e709819c172695200479b1b34729 | 3ac36a3d2401a2d4861fc7a51ce9b1b6a20ab112 | refs/heads/master | 2021-01-19T11:18:15.958602 | 2018-08-03T22:25:03 | 2018-08-03T22:25:03 | 82,236,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | cpp | #include "bits/stdc++.h"
using namespace std;
#define FOR(i,a,b) for(int i = a; i <= b; ++i)
const int maxn = 1e5 + 10;
int t, n;
int w[2][maxn];
int h[2][maxn];
int main(){
scanf("%d",&t);
while(t--){
scanf("%d",&n);
int hmin = INT_MAX;
int wmin = INT_MAX;
int hmax = INT_MIN;
int wmax = INT_MIN;
FOR(... | [
"breno.moura@hotmail.com"
] | breno.moura@hotmail.com |
caa80c68c7cf5bb388abb3215bce4af3038e2b37 | f8817ace5321a3ff1b0b5739604111dce658b6e2 | /MPU6050_complementary/MPU6050_complementary.ino | ba59bacb7b04bbd20bce64b329a3fc1c3ea12457 | [] | no_license | HapCoderWei/MyArduino | 8c2d326ed864eab2414fdacb13ea15c49b52fbec | 9704c9bb6f9a59c61ef9d31ea4bca430df4fa1ef | refs/heads/master | 2021-01-10T17:45:34.827262 | 2018-08-15T15:47:04 | 2018-08-15T15:47:04 | 48,595,973 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,047 | ino | #include "Wire.h"
#include "I2Cdev.h"
#include "MPU6050_6Axis_MotionApps20.h"
MPU6050 mpu;
#define LED_PIN 13 // (Arduino is 13, Teensy is 11, Teensy++ is 6)
bool blinkState = false;
// Use the following global variables and access functions to help store the overall
// rotation angle of the sensor
unsigned long last... | [
"taihengw@gmail.com"
] | taihengw@gmail.com |
2c35c53bb41d2281e65dd57d67d29096cb078108 | 674826516f037601155f727833823078435fb015 | /算法/入门/reverseString/reverseString.cpp | 7c5709ff09cd37508f87bb081daf411a063d08a6 | [] | no_license | smy-10/leetcode | 1fd89f371600e33a64abd5768c57067f1b2b57d3 | 1cd286d224ef4047583d78d1d7c98ef36dc8f993 | refs/heads/main | 2023-09-05T18:32:40.511990 | 2021-11-11T06:12:30 | 2021-11-11T06:12:30 | 391,800,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,912 | cpp | // reverseString.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
/*
编写一个函数,其作用是将输入的字符串反转过来。输入字符串以字符数组 s 的形式给出。
不要给另外的数组分配额外的空间,你必须原地修改输入数组、使用 O(1) 的额外空间解决这一问题。
示例 1:
输入:s = ["h","e","l","l","o"]
输出:["o","l","l","e","h"]
示例 2:
输入:s = ["H","a","n","n","a","h"]
输出:["h","a","n","n","a","H"]
提示:
1 <= s.length <= 105
s[i... | [
"33865665+smy-10@users.noreply.github.com"
] | 33865665+smy-10@users.noreply.github.com |
95b91db351b2d8c31022ccbdc0edd10a840ce39a | 5671c626ee367c9aacb909cd76a06d2fadf941e2 | /frameworks/core/accessibility/accessibility_utils.cpp | 8eca508655ee0ca7b5d6a12e104ef62d3d0c33bc | [
"Apache-2.0"
] | permissive | openharmony/ace_ace_engine | fa3f2abad9866bbb329524fb039fa89dd9517592 | c9be21d0e8cb9662d5f4f93184fdfdb538c9d4e1 | refs/heads/master | 2022-07-21T19:32:59.377634 | 2022-05-06T11:18:20 | 2022-05-06T11:18:20 | 400,083,641 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,607 | cpp | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 ... | [
"mamingshuai1@huawei.com"
] | mamingshuai1@huawei.com |
1b046e7067c62110336820345ab58256fbd55967 | 20fb95593cc0c97e53a5e78883408051269db0fc | /cpp_modules/sub/sub.cc | 1288088d3200f01b169cb7eaa949f27a3adde77b | [] | no_license | petrenkoVitaliy/ts_cpp | a7f26b87eaebba0b7d54fdfa12959ab7d4b609ec | b393b0ac10babd630204c1bc54a1187e441df82c | refs/heads/master | 2023-09-04T16:45:48.823416 | 2021-11-22T01:12:51 | 2021-11-22T01:12:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | cc | #include <napi.h>
#include "sub.h"
Napi::Value Sub(const Napi::CallbackInfo& info) {
Napi::Env env = info.Env();
if (info.Length() < 2) {
Napi::TypeError::New(env, "Wrong number of arguments")
.ThrowAsJavaScriptException();
return env.Null();
}
if (!info[0].IsNumber() || !info[1].IsNumber()) ... | [
"vitaliy.ptt@gmail.com"
] | vitaliy.ptt@gmail.com |
f2e371e72f0d1de2190b694c2ca29a97e50e462a | 3f3a42f429f8bcd769644148b24c3b0e6e2589ed | /GameProjectCopy/GameEngine/GameApp/Light/vecmap.h | e919de9e51e3c12771e3801eaf82efb2793c14f3 | [] | no_license | DanielNeander/my-3d-engine | d10ad3e57a205f6148357f47467b550c7e0e0f33 | 7f0babbfdf0b719ea4b114a89997d3e52bcb2b6c | refs/heads/master | 2021-01-10T17:58:25.691360 | 2013-04-24T07:37:31 | 2013-04-24T07:37:31 | 53,236,587 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,452 | h | /******************************************************************************
"Practical Methods for Precomputed Radiance Transfer Using Spherical Harmonics"
Jerome Ko - submatrix@gmail.com
Manchor Ko - man961.great@gmail.com
Matthias Zwicker - mzwicker@cs.ucsd.edu
*******************************************... | [
"Sangyong79@gmail.com"
] | Sangyong79@gmail.com |
3f93728c5bade4a533c21e00a667849e35db976c | d0629b6c3bdb64a8346cbb5049edc90d66d646f2 | /gfx/angle/src/tests/egl_tests/EGLSurfaceTest.cpp | 19fe79c476fed8c2350035fcdf224610172dff7c | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | h4writer/oomrepo | ccd08c506796af9e7e3a3c8131179bd0a0ab3ac3 | 6c533b04356f7ac59915928282a95070dc45d08c | refs/heads/master | 2022-08-03T20:40:49.348969 | 2015-10-06T09:29:56 | 2015-10-06T09:29:56 | 43,739,681 | 0 | 0 | NOASSERTION | 2022-03-29T21:55:20 | 2015-10-06T08:53:22 | null | UTF-8 | C++ | false | false | 14,504 | cpp | //
// Copyright 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// EGLSurfaceTest:
// Tests pertaining to egl::Surface.
//
#include <gtest/gtest.h>
#include <vector>
#include "OSWindow.h"
#include "test_... | [
"hv1989@gmail.com"
] | hv1989@gmail.com |
98e8139f5f6d1caf0efcd6a5421f1bbca5cdcfca | 3af68b32aaa9b7522a1718b0fc50ef0cf4a704a9 | /cpp/A/C/D/B/A/AACDBA.h | 17befe74563ec6dff62d1da082f7435138dc50f6 | [] | no_license | devsisters/2021-NDC-ICECREAM | 7cd09fa2794cbab1ab4702362a37f6ab62638d9b | ac6548f443a75b86d9e9151ff9c1b17c792b2afd | refs/heads/master | 2023-03-19T06:29:03.216461 | 2021-03-10T02:53:14 | 2021-03-10T02:53:14 | 341,872,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67 | h | #ifndef AACDBA_H
namespace AACDBA {
std::string run();
}
#endif | [
"nakhyun@devsisters.com"
] | nakhyun@devsisters.com |
e15b7dc95595f5f205a7c2286e5751b4e4913159 | 0caf226a49cd34bea109e23ef03b834b6726fbcf | /TP4/Ej2/poblacion.h | db2be2c15ad8ea094c74132f60367de6569dc18f | [] | no_license | gtessi/IC2013-FICH | 6d41979659595fa0d0dbfdfe87698ab8835e87d8 | 34ed7ea69d034f85a84cd9c87a930269406b37c1 | refs/heads/master | 2020-03-27T05:48:40.799030 | 2018-08-25T02:06:09 | 2018-08-25T02:06:09 | 146,052,979 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 5,098 | h |
class poblacion{
private:
vector<individuo> pueblo;
vector<individuo> progenitores;
individuo Elite, Peor;
int cantPoblacion,iteracion=0;
float probMutacion=0.01;
vector< vector <float > > Ciudades;
vector <float > promv,elitev,peorv;
public:
// poblacion vacía
poblacion(){cantPoblacion=0;}
// ... | [
"noreply@github.com"
] | gtessi.noreply@github.com |
83dea1fb9c54b809bc3b64e9bb7ae72dd7e37e32 | f8e473cfde05425d873e8138f854c248f95701ee | /CPP-08/ex01/Span.hpp | aca10c52b0466571d243abfe2b15d30625090bfd | [] | no_license | Ourobore/CPP-Modules | cc29150d1c1dc8808c6d62d3c44190ce91ae0b80 | a15c25dd3407c5ccdb7d67654e2009534c36d891 | refs/heads/master | 2023-07-15T18:35:59.999433 | 2021-08-25T08:50:59 | 2021-08-25T08:50:59 | 377,454,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,539 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Span.hpp :+: :+: :+: ... | [
"chaprenet.loic@gmail.com"
] | chaprenet.loic@gmail.com |
5af0e4abfd6f1ae4f2604b96834f841f339dd055 | b296af8325e1964e8c1d82d74bfc4d84fcd49feb | /Classes/ui_layer.cpp | afdcb186233661eb2f5f38523fc4e19569da84d1 | [] | no_license | jj918160/GreatMonster | 3c0f8c53e2652a0cd41968e83763c9237050a7a8 | fda2989d0f370c0aefa184c21c277d1a43ac3086 | refs/heads/master | 2016-09-13T05:34:25.446673 | 2016-04-25T00:04:16 | 2016-04-25T00:04:16 | 56,599,046 | 0 | 1 | null | 2016-04-24T12:49:27 | 2016-04-19T13:27:48 | Java | UTF-8 | C++ | false | false | 7,308 | cpp | //
// ui_layer.cpp
// 3D_fight
//
// Created by mac on 15-10-7.
//
//
#include "ui_layer.h"
#include "City_layer.h"
#include "GameScene.h"
#include "Charecter1.h"
#include "SimpleAudioEngine.h"
using namespace CocosDenshion;
int ui_layer::fight_fit=0;
bool ui_layer::init()
{
if ( !Layer::init() )
{
... | [
"446413497@qq.com"
] | 446413497@qq.com |
e348a81aad280ba10d8fe7579ecb459375e24727 | cfe48cd7ac1ec158e389d8c821c8ffaa37265f38 | /aeda1920_fp10/Tests/caixa.cpp | 0464c973786398f579b28cbf7b553fddc5c29445 | [] | no_license | goncaloacteixeira/feup-aeda | b2e69cad54149d851b11c8800c78a21b15ba7b41 | 33a39f023a704f2536a49647d5988ed85af599c8 | refs/heads/master | 2023-08-18T10:05:22.592545 | 2020-01-13T18:49:35 | 2020-01-13T18:49:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,290 | cpp | #include "caixa.h"
#include <sstream>
Objeto::Objeto(unsigned idObj, unsigned pesoObj): id(idObj), peso(pesoObj)
{}
unsigned Objeto::getID() const {
return id;
}
unsigned Objeto::getPeso() const {
return peso;
}
Caixa::Caixa(unsigned cap): id(ultimoId++), capacidade(cap), cargaLivre(cap)
{}
unsigned Caixa::getI... | [
"Teixeira_2000"
] | Teixeira_2000 |
3ac26185d4691476d721a666ea395d12887e9e47 | ad57b429464a9571d98b9ff74e31a1cbf13c5a42 | /avencoder/avencoder.cpp | 780c1958a0290eb0edc852e88ff911f40a61c241 | [] | no_license | github188/avencoder_nvidia | 9f4c236dd144b5877d18459636f2bf95d98a15e3 | ff853db58e1f8295a57fc10faa9b75250c61672f | refs/heads/master | 2020-03-19T07:19:46.785894 | 2015-09-22T09:00:51 | 2015-09-22T09:00:51 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 18,181 | cpp |
#include "videosource.h"
#include "videoencoder.h"
#include "audioencoder.h"
#include "audiosource.h"
#include "avmuxer.h"
#include "tssmooth.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/time.h>
#include <pthread.h>
#include <getopt.h>
#include <errn... | [
"yydgame@163.com"
] | yydgame@163.com |
c29752ffa9200a51a604bdf5753aac1d3654afcf | 57f1b61b9f71ebb642f9c55979788e18b490e19e | /gtr2/core-proxy/AuditReg.h | 0b2b1c7295875df125b422b866ff8a30cd02593b | [] | no_license | cash2one/5173.com | 22ba887b5b620ed5a1ec8858de738593284ff2b3 | b5b3b55c93e5e12076ebe01f8a439b464a11c32f | refs/heads/master | 2021-01-12T16:51:01.592506 | 2016-04-08T06:46:05 | 2016-04-08T06:46:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | h | #pragma once
#include <wx\regex.h>
#include <map>
#include <list>
#include <vector>
#include <string>
#include <Windows.h>
using namespace std;
struct RegItemData
{
wstring ItemPropertyName;
wstring ItemAttrValue;
};
class AuditReg
{
map<wxString, wxRegEx*> _regItemAttr;
vector<wxRegEx*> _re... | [
"24509826@qq.com"
] | 24509826@qq.com |
94f4f8fac42cf9db0fe0997f236565f4f16e43b1 | 1b9a32ea5f2492fd3512965f92e0f057b0528d33 | /rotate_image.cpp | b154422e3dc40e0f504b8532233f18513466bd36 | [] | no_license | shivangigoel1302/leetcode_solutions | a459a4279ffcfa889cf1fe0e8eb681e4e79186b6 | 3373f9710bd797bcda5cbd86958e8914ba9e2a15 | refs/heads/master | 2023-08-23T04:18:26.678630 | 2021-11-01T14:57:21 | 2021-11-01T14:57:21 | 274,206,300 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,788 | cpp | class Solution {
public:
void rotate(vector<vector<int>>&matrix) {
int n=matrix.size();
if(n%2!=0)
{
for(int i=0;i<n-1;i++)
{
for(int j=i;j<n-i-1;j++)
{
for(int k=0;k<3;k++)
{
if(k==0)
... | [
"shivangigoel1301@gmail.com"
] | shivangigoel1301@gmail.com |
3aab77ca920114001af534f7da15fd33304d438b | 80b6e0535ed5bfb54e64c4aa37df233b71053511 | /View/ViewContext/TreeView.cpp | 9a8d8f3307fd9f774cbec2e28e56c54393fb2399 | [] | no_license | IRETD/TestSystemStudent | 4911cf6ba298499c7a6e92988baf194dba86c66c | 2b4140ee9476fb9786357271fe310fe34c388d81 | refs/heads/master | 2021-09-10T02:49:55.220737 | 2018-03-20T19:44:51 | 2018-03-20T19:44:51 | 126,067,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,027 | cpp | #include "TreeView.h"
#include <Enum/View/ViewContext/DisciplineView/DisciplineViewIconSize.h>
#include <QHeaderView>
TreeView::TreeView( ViewContextType viewContextType ) : ViewContext( viewContextType ) {
setIconSize( QSize( DisciplineViewIconSize::WIDTH,
DisciplineViewIconSize::HEGITH )... | [
"zanzarah92@gmail.com"
] | zanzarah92@gmail.com |
9c0425aa75c9db05a355bbf976bb76ebe39d04ed | 8e567498a9224d7c6bf71cfe66ec5360e056ec02 | /mars/boost/range/algorithm/equal_range.hpp | a6ac171d966e288bf45db928484e5aa7ffac812c | [
"MIT",
"Zlib",
"LicenseRef-scancode-unknown-license-reference",
"OpenSSL",
"BSD-3-Clause",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | Tencent/mars | db31afeeb5c0325bfceede594038381bce3c1635 | 6c7028fffe01e2b49a66c221b1ac2f548649053f | refs/heads/master | 2023-08-31T07:29:50.430084 | 2023-08-09T07:24:42 | 2023-08-09T07:24:42 | 76,222,419 | 18,118 | 3,828 | NOASSERTION | 2023-09-12T07:37:07 | 2016-12-12T04:39:54 | C++ | UTF-8 | C++ | false | false | 2,963 | hpp | // Copyright Neil Groves 2009. Use, modification and
// distribution is subject to 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)
//
//
// For more information, see http://www.boost.org/libs/range/
//
#ifndef BOOST_RANGE_ALGORIT... | [
"garryyan@tencent.com"
] | garryyan@tencent.com |
09086a30a8080d91171f35147baabc84181564a5 | b8f5694f4b31d6414d340b55808aea5106a3dad5 | /xcore/xcam_mutex.h | ee6780b2ce8f0cac565028c668b863c63984f9c4 | [
"Apache-2.0"
] | permissive | wenqingfu/libxcam | ae69e123df12802ab3a2f1162873e2bf23e6d78d | 8873f20503e40bda79666131c36203fb8887e6c8 | refs/heads/master | 2020-12-25T08:37:33.484311 | 2016-09-12T00:09:04 | 2016-09-12T00:09:04 | 32,378,292 | 0 | 0 | null | 2015-03-17T07:35:16 | 2015-03-17T07:35:14 | C++ | UTF-8 | C++ | false | false | 2,319 | h | /*
* xcam_mutex.h - Lock
*
* Copyright (c) 2014 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | [
"feng.yuan@intel.com"
] | feng.yuan@intel.com |
55f6b4b4bf67d2735213257420e0d0d7fd0f3896 | b1dabaf550797d09925e62962825e4018a00503b | /chart.h | 5aebb3397245ef8b9d8d47bc7b41eef604f36caf | [] | no_license | jodijhouranda/Kalingga | 7e2b46020470a1a138175e3e0b2ce764a302c22f | bba16f48392e6a2d3414ec3029267061f7da46dd | refs/heads/master | 2020-04-16T18:32:55.552285 | 2015-07-15T07:11:42 | 2015-07-15T07:11:42 | 33,490,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 697 | h | #ifndef CHART_H
#define CHART_H
#include <QFile>
#include <QGraphicsSvgItem>
#include <QTextStream>
#include <QGraphicsScene>
#include <QDebug>
#include <QGraphicsView>
#include <resultviewitem.h>
#include <QHBoxLayout>
#include <QSvgWidget>
#include <RInside.h>
class Chart
{
public:
Chart();
~Chart();
voi... | [
"jwst.28@gmail.com"
] | jwst.28@gmail.com |
d69c6db72b6012f6652c6e9267d192c01d8b3b4e | 8e28be5cc8af1fd494ae44174b0a1e7692d2673f | /robot/src-ori/RobotSystem.h | 0f938bf8b4723f325d73d85b02684d45517f240c | [] | no_license | xiaochun-yang/19-ID | e10a17964aa7291deed991b453bc2ab565140b88 | e446b1fa8bdbcbe4ae13aca439cc807faaae74ac | refs/heads/master | 2021-05-26T07:46:29.105890 | 2019-01-08T20:34:28 | 2019-01-08T20:34:28 | 127,952,810 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,615 | h | #ifndef __ROBOT_SYSTEM_H__
#define __ROBOT_SYSTEM_H__
#include "xos.h"
#include "DcsMessageManager.h"
#include "DcsMessageService.h"
#include "RobotService.h"
#include "activeObject.h"
#include "DcsConfig.h"
#include <string>
class CRobotSystem: public Observer
{
public:
CRobotSystem();
~CRobotSystem... | [
"root@yangxc.(none)"
] | root@yangxc.(none) |
2576de9d880446a5456eda28e35e396468852ba6 | 6fd7591f7911dbe7a31c0af14f94ba009f1f23cb | /NumberGuessingGame/util.h | 73b4386508d697db7aaba51d62cb7b807b083db2 | [] | no_license | RichardMSullivan/TerminalGame | bdd481401442c991e097c38316691581edb0bda3 | b341cc74c8640ff0916a5a8e5afa0dd106f01419 | refs/heads/master | 2020-03-29T22:57:40.075936 | 2018-10-08T07:49:01 | 2018-10-08T07:49:01 | 150,449,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 157 | h | #ifndef UTIL_H
#define UTIL_H
int checkInRange(int guess, int MIN, int MAX);
int strToNum(std::string string);
int randomNum( int MIN, int MAX );
#endif
| [
"richard.sullivan2@g.austincc.edu"
] | richard.sullivan2@g.austincc.edu |
707f00441347825551cf09b86ce01ab90726b8f2 | 56649046304376279d71bf6fd82562f7efa293ca | /PracSim/include/mpsk_symbtowave.h | 55341b92734f42b3059184fa582badb11e365196 | [] | no_license | zwm152/WirelessCommSystemSimuC-Model | b9b3de73956caa8e872c3d36580ec863962d8ef2 | 7be3562b5a516c73f06c4090b5806ffe7319fe8a | refs/heads/master | 2021-09-23T15:41:08.088030 | 2018-09-25T12:04:04 | 2018-09-25T12:04:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 898 | h | //
// File = mpsk_iq_mod.h
//
#ifndef _MPSK_IQ_MOD_H_
#define _MPSK_IQ_MOD_H_
#include "signal_T.h"
#include "psmodel.h"
class MpskSymbsToQuadWaves : public PracSimModel
{
public:
MpskSymbsToQuadWaves( char* instance_nam,
PracSimModel* outer_model,
Signal<byte_t>* in_symb_seq,... | [
"huhaichaotd@139.com"
] | huhaichaotd@139.com |
188caa720ef449ba95de968837f33415b26fbadf | 783fbeabbc7fc8090ee9e6765d26b38aa5db2efb | /src/ublox/src/comms/field/ArrayList.h | a7c6965924bccca3cbdda54a723cd7b2a3d8e842 | [] | no_license | salkinium/navimet | 760cd876987012f274429cb285efe329451f9ca0 | 833fc426c66401348315d66baee2a54ae6142834 | refs/heads/master | 2022-01-08T19:17:33.009843 | 2019-08-04T23:27:28 | 2019-08-04T23:27:28 | 164,520,548 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,606 | h | //
// Copyright 2014 - 2018 (C). Alex Robenko. All rights reserved.
//
// This file 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 option) any later version.... | [
"niklas.hauser@rwth-aachen.de"
] | niklas.hauser@rwth-aachen.de |
7d5f82629ef70061fe92747e2188fe097e9822db | 314314c74fc749f3224bcb33a477c2bdeb260cd2 | /src/appleseedmaya/exporters/shadingnetworkexporter.h | df7b34437eaa1771bf8e7a587d7bf6c065a2bfc0 | [
"MIT"
] | permissive | nyue/appleseed-maya2 | aabbc35ace375cf2371369dd1d2f234bc4402a13 | 9f3db31cde58dc65296c3895fef04b328b39f5d5 | refs/heads/master | 2020-06-14T20:10:43.320103 | 2016-11-30T17:31:17 | 2016-11-30T17:31:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,243 | h |
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2016 Esteban Tovagliari, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any person obta... | [
"ramenhdr@gmail.com"
] | ramenhdr@gmail.com |
f6785ca63b503e995a710ad9cc19a9b0f8d6316d | d64737d31ae9caba2820ea1048be3f9bce708b42 | /cpp/linked-list-cycle.cpp | d1864bf8ff63ab8fa8e2faee7534aa82178b1608 | [] | no_license | ldcduc/leetcode-training | 2453ec13e69160bc29e8e516e19544c2b25bf945 | 40db37375372f14dd45d0a069c8b86fe36221f09 | refs/heads/master | 2023-08-05T01:46:52.993542 | 2021-09-18T16:47:54 | 2021-09-18T16:47:54 | 271,736,046 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | cpp | /* Problem url: https://leetcode.com/problems/linked-list-cycle
* Code by: ldcduc
* */
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
bool hasCycle(ListNode *head) {
Lis... | [
"ldcduc@apcs.vn"
] | ldcduc@apcs.vn |
43dc1f3c4f670bc92051625d930e9c9568d08b3e | b8dbc3c7a55c0bdb5f8e077f0b2d8c1a032c9eb9 | /tst-endian.cc | 84c8282b845ac5e218eeb408995aca5829f16d6f | [] | no_license | thuermann/cc.endian | 8f9bfc2a1879927a60a37a2a051fd924dc22c4ae | 4fc9d4191cfb6f2a0d4090004a84cb8d1e4c6067 | refs/heads/master | 2020-03-15T12:22:07.213569 | 2017-11-30T10:19:54 | 2017-11-30T10:19:54 | 132,141,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 760 | cc | //
// $Id: tst-endian.cc,v 1.4 2017/11/30 10:19:54 urs Exp $
//
#include "endian.hh"
be<short> n, m, k = 0x1234;
be<int> a, b, c = 0x42;
be<long> x, y, z = 0x0815;
short s1, s2;
int i1, i2;
long l1, l2;
int main()
{
k = 42;
c = 666;
z = 4711;
n = s1;
s2 = m;
a = i1;
i2 = b;
x = l1;
... | [
"urs@isnogud.escape.de"
] | urs@isnogud.escape.de |
d6600819ba7c80e418b08d70a15f648c7d90c525 | 7de07a6709e001bf361ff97068f2ad4d2a119da8 | /CubeSolverENG4/CubeSolverENG4/CubeSolver.cpp | af0ebd755f26981f9eb59226419e1bfa084df43d | [] | no_license | VB6Hobbyst7/PolycubeSolver | 66959aefb28d1079c65e07a5bfca9325ddc89089 | e12d76071285572e97440e6ab058d2606b988a67 | refs/heads/master | 2021-12-14T19:11:02.130941 | 2017-05-22T08:29:10 | 2017-05-22T08:29:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,203 | cpp |
/*
* File: CubeSolver.cpp *
*
* Created on April 8, 2016, 2:13 PM
*/
using namespace std;
#include "definitions.h"
#include "dlxSolver.h"
#include "cubeConfig.h"
#include "puzzlePiece.h"
long NUMGAMEPIECES;
typedef std::vector<long> puzzlePieceIdent;
#define ONE_SOLUTION 1
#define ALL_SOLUTIONS 1000000... | [
"artur.prusinowski@gmail.com"
] | artur.prusinowski@gmail.com |
80df0013f2c9661325e1fe8ee453c43d9c559f5f | c9ea4b7d00be3092b91bf157026117bf2c7a77d7 | /高级数据结构初步/P4392_fast.cpp | 04ff9569ca6af559cee2c91b9aab1c2b9aa21a8c | [] | no_license | Jerry-Terrasse/Programming | dc39db2259c028d45c58304e8f29b2116eef4bfd | a59a23259d34a14e38a7d4c8c4d6c2b87a91574c | refs/heads/master | 2020-04-12T08:31:48.429416 | 2019-04-20T00:32:55 | 2019-04-20T00:32:55 | 162,387,499 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,529 | cpp | //P4392 [BOI2007]Sound 静音问题
#include<cstdio>
#define MAXN 1000010
#define MAXM 10010
using namespace std;
struct queue
{
int mem[MAXN],*head,*tail;
inline queue();
}q,r;
int a[MAXN],n=0,m=0,c=0;
bool flag=false;
inline void read(int&);
void write(const int&);
int main()
{
register int i=0;
read... | [
"3305049949@qq.com"
] | 3305049949@qq.com |
8e11c9b7c1bda25a185aa86294709e04f7425265 | bd63a879ee50d98f2bcf8fb7780c6c295f9ac07c | /learn/test/push_relabel.cpp | 93973162d96f2500c1b44f2c9c1fd0c3ec514b07 | [] | no_license | lijiansong/.trash | 2c56b5effc2136a08e272e145e01e1bb54218bb3 | da5307e086a31ec335385d1c533af3cbd6653a64 | refs/heads/master | 2021-06-21T06:31:25.170024 | 2017-08-13T05:22:46 | 2017-08-13T05:22:46 | 67,503,889 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,290 | cpp | /*
Name:
Copyright:
Author:
Date: 11/12/16 23:50
Description:
http://blog.csdn.net/hechenghai/article/details/42719715
*/
#include <cstdio>
#include <climits>
#include <algorithm>
#include <cstring>
using namespace std;
const int MAXN=1001;
int s, t;
int n, np, nc, m;
char str[50];
int c[MAX... | [
"noreply@github.com"
] | lijiansong.noreply@github.com |
f236ea549a59f6711998919aafb6791caf9675f7 | 70fe255d0a301952a023be5e1c1fefd062d1e804 | /其它练习/华东师范大学保研机试题练习/2009-3.cpp | c2a6cdfccec43f24c67f7c68359ee67bfc41cbdb | [
"MIT"
] | permissive | LauZyHou/Algorithm-To-Practice | 524d4318032467a975cf548d0c824098d63cca59 | 66c047fe68409c73a077eae561cf82b081cf8e45 | refs/heads/master | 2021-06-18T01:48:43.378355 | 2021-01-27T14:44:14 | 2021-01-27T14:44:14 | 147,997,740 | 8 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,297 | cpp | #include<iostream>
#include<list>
using namespace std;
//ËØÊý¶Ô,×÷·Ï
list<int> su;
int n,t,cnt;
bool isSu(int n) {
if(n == 1)
return false;
if(n < 4)
return true;
for(int i = 2; i * i <= n; i++) {
if(n % i == 0)
return false;
}
return true;
}
int main() {
... | [
"java233@foxmail.com"
] | java233@foxmail.com |
86f05f74907a15eba34f59f5c4bf67db7838eefd | fe276f0bae62c1a762323dda3cd42f5037df3dec | /cppLabs/src/Img.h | 738279cb2fd4b7a2c63c38d03b213b9ec731d5a7 | [] | no_license | vivere-dally/ppd_c- | 503cd254f812aa54816c346919456b9858e5f932 | 6380859c37ff5e862415c4333fb658b79a871d5e | refs/heads/main | 2023-01-12T16:06:16.500455 | 2020-11-07T20:20:57 | 2020-11-07T20:20:57 | 307,159,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | h | #pragma once
#include <math.h>
template <typename T>
class Img {
protected:
int get_pure_index(int index, int limit) {
int pure_index = abs(index);
if(pure_index >= limit) {
int offset = (1 + pure_index - limit) * 2;
pure_index -= offset;
}
return pure_index;
}
public:
virtual void... | [
"stefanbuciujr@gmail.com"
] | stefanbuciujr@gmail.com |
8550d9762b9fc92c89e56c5dd8fce556953c1a1b | 15b30861877807094a5974ab892c72d25e487d19 | /database/field_names.cpp | c2721d8652f7afd93a93bb10c110c5d7d5a0a97d | [] | no_license | LuaxY/Linxemu | 0a4775b5d3273b5a56f622fbf6132b688f842ca0 | 407f4024c523657b826fd62dc783483393f80544 | refs/heads/master | 2016-09-06T13:32:57.339527 | 2013-08-21T14:30:58 | 2013-08-21T14:30:58 | 17,882,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,010 | cpp | /***********************************************************************
field_names.cpp - Implements the FieldNames class.
Copyright (c) 1998 by Kevin Atkinson, (c) 1999-2001 by MySQL AB, and
(c) 2004-2010 by Educational Technology Resources, Inc. Others may
also hold copyrights on code in this file. See the CR... | [
"yann.guineau@gmail.com"
] | yann.guineau@gmail.com |
1c515369c243ba9a580ea9712a9ac62a5f9ae4c7 | 78918391a7809832dc486f68b90455c72e95cdda | /boost_lib/boost/python/object/value_holder.hpp | 55d305b69afdd6b9210923155eefeb8ebac5e62a | [
"MIT"
] | permissive | kyx0r/FA_Patcher | 50681e3e8bb04745bba44a71b5fd04e1004c3845 | 3f539686955249004b4483001a9e49e63c4856ff | refs/heads/master | 2022-03-28T10:03:28.419352 | 2020-01-02T09:16:30 | 2020-01-02T09:16:30 | 141,066,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,782 | hpp | #if !defined(BOOST_PP_IS_ITERATING)
// Copyright David Abrahams 2001.
// 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)
# ifndef VALUE_HOLDER_DWA20011215_HPP
# define VALUE_HOLDER_DWA20011215_HPP
# include <bo... | [
"k.melekhin@gmail.com"
] | k.melekhin@gmail.com |
150be5d375f7f99308fa8ab2b19b326da4569f1d | 11228887a9e68aba52c68a9c3c116461c1122c74 | /EngineMechanics/MathManipulations.h | 372b9abe9f20c63a5e1ca7032cdaf0c299615b52 | [] | no_license | mgoulet/phase4 | ddc348d7e3dc58f6e5778f6649973fa24e882a6d | 15de636b55c273d36884cebcd27708f044204dca | refs/heads/master | 2016-09-06T00:20:31.478035 | 2011-12-21T21:13:14 | 2011-12-21T21:13:14 | 3,029,498 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,123 | h | ////////////////////////////////////////////////
// Martin Goulet
// Project:
// MathManipulations.h
////////////////////////////////////////////////
/*
NOTE: This namespace does NOT contain the manipulations found
in the PrimitiveManipulations from the previous version
of the project.
*/
#ifndef MATHMANIPULATION... | [
"martin.goulet@gmail.com"
] | martin.goulet@gmail.com |
0bbed5209f713c5e8627c5d430dc89144f597371 | c044f03d16fc7506a6699a31061ea6a1abd3a68e | /src/bonus.cpp | 6132326236f986f319061c5514608bbbb3e7ac58 | [] | no_license | mirkoviviano/CppND-Capstone-A-Weird-Snake-Game | 4c0a3befe81467058f7e09f0c85aef0530e2fe19 | 978d650ab5d11a1b565a8b9f4eb1b40d23fbcf22 | refs/heads/master | 2020-07-21T20:32:59.264141 | 2019-10-11T16:56:47 | 2019-10-11T16:56:47 | 206,969,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | #include "bonus.h"
#include <cmath>
#include <iostream>
int Bonus::GetPower(){
Bonus::Power power = Bonus::Power(rand() % 4 + 1);
return power;
}
int Bonus::Duration(){
duration = rand() % 10000 + 1000;
return duration;
} | [
"info@mirkoviviano.it"
] | info@mirkoviviano.it |
5694f62d857ae5146549885e4d64d943718de41a | 9c11b715c8f86bae205f9798bdd283de190458e4 | /src/include/Nvim/PictureRenderer.cpp | eaa3905201c96d56390634fab26bdacd6c15b1f4 | [
"Apache-2.0"
] | permissive | some-mthfka/Viy | c8855d33414b95371d894a0ccdd8358c0fd53639 | c78cfb55e548ce40b9fe3756e4ce2a923b84a552 | refs/heads/master | 2022-02-20T20:26:53.712733 | 2019-04-30T20:41:32 | 2019-04-30T20:41:32 | 67,196,697 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,992 | cpp | #include <Nvim/PictureRenderer.hpp>
#include <SFML/Graphics/RectangleShape.hpp>
#include <iostream>
#include <Debug.hpp>
nvim::PictureRenderer::PictureRenderer(const DataHolder &dataHolder,
const GUIOptions &GUIOptions,
Picture... | [
"noreply@github.com"
] | some-mthfka.noreply@github.com |
f18a0d72859ea90385deba8371a5b93a5cdd6df5 | 56bd4faa9c00a871139c6e419fff02c8d5207cef | /src/muz/spacer/spacer_legacy_mev.cpp | 0ab33c69326335f2762d0da654fb65f3209bda6c | [
"MIT"
] | permissive | SRI-CSL/z3 | e950f5d32477166bfefe2ab77644b31827d9a354 | a5ce83b6ad12f44661d24e9ad91f926bfbadfba6 | refs/heads/master | 2020-04-12T17:17:50.276968 | 2018-12-20T23:08:33 | 2018-12-20T23:08:33 | 162,640,242 | 1 | 2 | NOASSERTION | 2018-12-20T23:02:31 | 2018-12-20T23:02:31 | null | UTF-8 | C++ | false | false | 24,468 | cpp | /**
Copyright (c) 2017 Arie Gurfinkel
Deprecated implementation of model evaluator. To be removed.
*/
#include <sstream>
#include "arith_simplifier_plugin.h"
#include "array_decl_plugin.h"
#include "ast_pp.h"
#include "basic_simplifier_plugin.h"
#include "bv_simplifier_plugin.h"
#include "bool_rewriter.h"
#include "... | [
"arie.gurfinkel@uwaterloo.ca"
] | arie.gurfinkel@uwaterloo.ca |
56e243fc97ece22fed718d9f43f4f026d37fb888 | 448ee86f1acde912aebb4a03065cb4dad396c729 | /bakaengine/game/scene/gameobject.h | 06d0621a32fb11bd3594aa8710a96d71c7d93bdd | [] | no_license | eplightning/bakaengine | 7f9ac9f24ba688f004b65e1b8c4ca5885bdb545a | 1c58d19fd302dba259979daec42c6ad7e3130988 | refs/heads/master | 2016-08-11T07:45:46.418760 | 2015-10-02T14:43:12 | 2015-10-02T14:43:12 | 43,558,706 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,142 | h | #ifndef GAME_SCENE_GAMEOBJECT_H
#define GAME_SCENE_GAMEOBJECT_H
#include "bakaglobal.h"
#include <glm/vec3.hpp>
#include <glm/mat4x4.hpp>
#include "game/scene/component.h"
namespace Baka
{
class Scene;
class GameObject {
public:
explicit GameObject(Scene *scene);
virtual ~GameObject();
virtual const char*... | [
"eplightning@outlook.com"
] | eplightning@outlook.com |
3c118f1953ba44c1b079ec3e012753e1b0a7eafa | 9e0b3515b9489811570035f40b2693fe2247076c | /TdxPlugin/winds/TDXGfcx.cpp | 60ef3440ad8c9ed1664872c0703145022ed4b357 | [] | no_license | locustwei/WorkBack | 8118d3f0dc61a0d5958d0878e26e6ea650f5a765 | bd4ef7838142caddd24c77ea469ac68ed1f87498 | refs/heads/master | 2020-03-26T14:49:25.049620 | 2018-08-17T03:50:00 | 2018-08-17T03:50:00 | 145,006,896 | 4 | 5 | null | null | null | null | GB18030 | C++ | false | false | 3,209 | cpp | /************************************************************************
股份查询窗口
************************************************************************/
#include "TDXGfcx.h"
#include <string.h>
#include <stdlib.h>
#include <commctrl.h>
#pragma warning( disable : 4244)
CTDXZjgf::CTDXZjgf(HWND hWnd):CWndH... | [
"locustwei@7198d612-9af8-4b9f-b382-878749309fc7"
] | locustwei@7198d612-9af8-4b9f-b382-878749309fc7 |
13090b1c0ba0e722369bca24c56536ffa62b803f | 5adb5ac0a3d14da55b93e39c5f4ec1f20385eea3 | /HW1/swk/merge_sort.cpp | e4a178b66873cf34b78095f15be27bb54abf3719 | [] | no_license | WeikunSu/Foundamentals-of-Computer-Engineering | b12eb964da09c1bcb8732b6aab2a326a35834da4 | 8d8113ba1bba4672320f211ab5c6d427165690b4 | refs/heads/master | 2020-08-23T12:19:58.468921 | 2019-10-21T17:20:21 | 2019-10-21T17:20:21 | 216,615,244 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,178 | cpp | #include <iostream>
void merge(int v[], int l, int m, int h)
{
int i, j, k;
int temp[h - l + 1];
i = l;
j = m + 1;
k = 0;
while (i <= m && j <= h)
{
if (v[i] < v[j])
{
temp[k] = v[i];
i++;
k++;
}
else
... | [
"noreply@github.com"
] | WeikunSu.noreply@github.com |
fe3a82bae35accba8886323c3af5b5b92ff4615f | 0d5be9442b4e78805508a0428dd1f4663cc0d902 | /PWGGA/PHOSTasks/PHOS_Run2/AliAnalysisTaskPHOSObjectCreator.cxx | 8fba49992c382b89af1d4a55ca4361e4db38e4b4 | [] | permissive | brinick/AliPhysics | 32984d5206212e8f22018fd9e757199f3e092e20 | 49fb1acec903b4d6cb27efdec5fe7909c0985c82 | refs/heads/master | 2020-12-02T21:25:45.935213 | 2018-11-07T08:44:41 | 2018-11-07T08:44:41 | 96,315,340 | 0 | 0 | BSD-3-Clause | 2018-11-07T09:47:19 | 2017-07-05T12:10:43 | C++ | UTF-8 | C++ | false | false | 33,404 | cxx | #include "TF1.h"
#include "TObject.h"
#include "TObjArray.h"
#include "TClonesArray.h"
#include "TString.h"
#include "TMath.h"
#include "THashList.h"
#include "TChain.h"
#include "AliLog.h"
#include "AliAnalysisTaskSE.h"
#include "TParticle.h"
#include "AliMCEventHandler.h"
#include "AliMCEvent.h"
#include "AliStack.h... | [
"daiki.sekihata@cern.ch"
] | daiki.sekihata@cern.ch |
0763d624e210ee68d1bd93f9fb60a4634d9f6977 | e27580711cbf4beccbfeb3e7abfa33cac2d8c22f | /UVAtlas/isochart/meshcommon.inl | 2da9986b8b41219af4a2506089bcf710d4f71f48 | [
"MIT"
] | permissive | wentingwei/UVAtlas | bb240fce703acb0badd8582ced98c7ce3f9bf98b | e46c4141a924e9390327b8e94e6e8c311070e731 | refs/heads/master | 2021-01-22T12:02:27.106814 | 2015-10-30T17:42:49 | 2015-10-30T17:42:49 | 45,894,296 | 1 | 0 | null | 2015-11-10T07:09:37 | 2015-11-10T07:09:37 | null | UTF-8 | C++ | false | false | 15,637 | inl | //-------------------------------------------------------------------------------------
// UVAtlas - meshcommon.inl
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITN... | [
"SND\\walbourn_cp"
] | SND\walbourn_cp |
cb7f24c9c803b776aef4e8adcd95c8acc69d6c90 | 7425b73c5c4301b73efee73a2a97c478e3d9c94f | /src/sleipnir/src/serverclient.cpp | 1ebbc5032f750db6a5d7706a89ecb2f3f8de8a80 | [
"CC-BY-3.0"
] | permissive | mehdiAT/diseasequest-docker | 318202ced87e5e5ed1bd609fe268ebc530c65e96 | 31943d2fafa8516b866fa13ff3d0d79989aef361 | refs/heads/master | 2020-05-15T01:21:21.530861 | 2018-04-16T22:42:34 | 2018-04-16T22:42:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,445 | cpp | /*****************************************************************************
* This file is provided under the Creative Commons Attribution 3.0 license.
*
* You are free to share, copy, distribute, transmit, or adapt this work
* PROVIDED THAT you attribute the work to the authors listed below.
* For more information,... | [
"vicyao@gmail.com"
] | vicyao@gmail.com |
db2b308ac3de5b31aa1a7e60bacb5f1475e861ef | e44283331c214e69f049d3d23b6350dbf2abbf32 | /C++/starting c++/main.cpp | 0f28ebff65ba46e79819c5cfdbe3df933b0b0900 | [] | no_license | Abiduddin/Competitive-Programming-Codes | cd2a8730998859d751e1891b4bc9bd3a790b8416 | 59b51b08c6f34c1bed941c8b86490ee9a250e5a9 | refs/heads/master | 2020-09-09T22:54:09.708942 | 2019-11-14T02:31:06 | 2019-11-14T02:31:06 | 221,588,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170 | cpp | #include <iostream>
int main()
{
int a,b,m;
std::cout<<"Enter two number"<<std::endl;
std::cin>>a>>b;
m=a+b;
std::cout<<"The sum "<<m<<std::endl;
}
| [
"abidakash456@gmail.com"
] | abidakash456@gmail.com |
d15f12b01322a7dc3974a28fd5a5a5d6580ff500 | 8f17795ece2ec5ee4261daede757ae6089cdf927 | /src/test/base32_tests.cpp | 93b02c9ed57c4b124f2d155e79cd943728ce0a20 | [
"MIT"
] | permissive | tatsuhirosato/momentum-beta | 67da26495c74311826d14e8b0c2d5e79cb1a883c | faafc58e52d2404e9087b017b9345f797a2bae6f | refs/heads/master | 2016-09-05T16:02:38.976468 | 2014-01-27T22:00:47 | 2014-01-27T22:00:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 648 | cpp | #include <boost/test/unit_test.hpp>
#include "util.h"
BOOST_AUTO_TEST_SUITE(base32_tests)
BOOST_AUTO_TEST_CASE(base32_testvectors)
{
static const std::string vstrIn[] = {"","f","fo","PMM","PMMb","PMMba","PMMbar"};
static const std::string vstrOut[] = {"","my======","mzxq====","mzxw6===","mzxw6yq=","mzxw6ytb... | [
"luca@Host-001.homenet.telecomitalia.it"
] | luca@Host-001.homenet.telecomitalia.it |
6c66e7fbae190b5c1ed1bffcba0c0d38f5125cef | 47d89cd67ce335c6125a70174938b755cd2958ef | /chapter15/webServer-v2.cpp | 2403adef2ec36e4040d8bb217624bfc1959964a0 | [] | no_license | sleep-jyx/webServer | f351ade24526c6d20e262d682e80de50d2b980cd | 295a233bf2c0768d2995d5978cc4b776cc42d234 | refs/heads/main | 2023-07-03T04:08:24.535153 | 2021-07-29T13:41:39 | 2021-07-29T13:41:39 | 390,714,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,737 | cpp | #include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>
#include <stdlib.h>
#include <cassert>
#include <sys/epoll.h>
#include "locker.h"
#include "threadpool.h"
#include "http_conn.h"
#define MAX_FD 65536
... | [
"1608713140@qq.com"
] | 1608713140@qq.com |
b2a024e3bec0f301c3ae5815e46784bfe4646108 | 7df8bf7b5d56941cc963a2d336bae1913fd54a8a | /Student Data/student.cpp | 884e86343325258698ff34313c15d50f8a61d972 | [] | no_license | dre4stl/WGU-Project-2 | 3b72b428fd704936bd5dcea377f0c1121c28c057 | 2eb03d7763798e37b1f07518d8fa8fc29db080c1 | refs/heads/master | 2022-11-20T00:31:42.936412 | 2020-07-20T19:16:05 | 2020-07-20T19:16:05 | 281,204,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,855 | cpp | //
// student.cpp
// Student Data
//
// Created by DeAundra Dyson on 7/2/20.
// Copyright © 2020 DeAundra Dyson. All rights reserved.
//
#include <iostream>
#include <iomanip>
#include "student.hpp"
#include "degree.h"
using namespace std;
Student::Student()//empty Constructor
{
this->studentID = "";
thi... | [
"noreply@github.com"
] | dre4stl.noreply@github.com |
3065bc5925d62fb7c65cd47eb16d6a9c755e998e | 26cb02ac39517585f5431bc8e042a58ba826abe9 | /include/Dict.hh | 3d050bdf61826b0b967b44b3e042721f987aed1f | [] | no_license | jercheng/python_cpp_object_api | f4e22770869de15ef7e19267b6a2a33dea9fffaf | 880438789757aaec429f7d025e3987b4f0ed01d8 | refs/heads/main | 2023-06-17T20:39:53.713137 | 2021-07-19T15:15:43 | 2021-07-19T15:15:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,377 | hh | #pragma once
#include "Object.hh"
namespace Py
{
class Dict : public Object
{
public:
using Object::Object;
// construct new dictionary from key value pairs
Dict(std::initializer_list<std::pair<Str, Object>> _dict);
// Return a new dictionary that contains the same key-value... | [
"argmaster.world@gmail.com"
] | argmaster.world@gmail.com |
cc9a527b82712b86c0c112c04397fe5e5ef8f996 | cec12808651cae020f66b95e17f73edd0c1b32fb | /src/Engine/Entity.cpp | dc583db3a3d5a8b3ee5ef7047e922bf294c47bb0 | [] | no_license | Bluest/BUJam2020 | 990cad38ff1f72f872abd4f316783d897e1a4fcc | bb0b161dd970cdbdd2e5fed3ab2bf54d6809f4fe | refs/heads/master | 2021-03-02T03:19:05.486659 | 2020-03-13T13:48:50 | 2020-03-13T13:48:50 | 245,834,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 495 | cpp | #include "Component.h"
#include "Entity.h"
void Entity::start()
{
for (auto it = components.begin(); it != components.end(); ++it)
{
(*it)->onStart();
}
}
void Entity::update()
{
for (auto it = components.begin(); it != components.end(); ++it)
{
(*it)->onUpdate();
}
}
void Entity::draw(SDL_Renderer* _rende... | [
"oscarlh24@hotmail.com"
] | oscarlh24@hotmail.com |
5b2c197c870e3fd962097338d6dd3d28cc715f42 | 91db922ced8fb4899e4fc5ad20179f07d738a99f | /ABC/043/C.cpp | 3ce26c08b2e99d104fecc5bc72a266b92aeabdd2 | [] | no_license | hntk03/atcoder | d1bb795b9b9db2a689353eedcf6b9211d923b21b | cd024e1b6911765ef9239a72c2e25147922fa460 | refs/heads/master | 2022-10-08T05:35:24.339333 | 2022-10-02T03:12:55 | 2022-10-02T03:12:55 | 162,792,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 495 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef vector<int> VI;
typedef vector<string> VS;
//container util
#define SORT(c) sort((c).begin(),(c).end())
//repetition
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define REP(i,n) FOR(i,0,n)
int main(void){
int N; cin >> N;
vector<int> a(N);
REP(i,N) ci... | [
"hntk03@gmail.com"
] | hntk03@gmail.com |
fd5846979a9027e46b395dd03a86e1e7097620a9 | 77861deda8b3046bdda221d3cb80b77e84b14523 | /conv_to_oct/speedup.cpp | 2098ec3cc5b816324681ef7c94348590cae9abf9 | [
"BSD-2-Clause"
] | permissive | WojciechMula/toys | b73f09212ca19f1e76bbf2afaa5ad2efcea95175 | 6110b59de45dc1ce44388b21c6437eff49a7655c | refs/heads/master | 2023-08-18T12:54:25.919406 | 2023-08-05T09:20:14 | 2023-08-05T09:20:14 | 14,905,115 | 302 | 44 | BSD-2-Clause | 2020-04-17T17:10:42 | 2013-12-03T20:35:37 | C++ | UTF-8 | C++ | false | false | 3,505 | cpp | /*
Convert to octal representation - measure speedup over naive version
Author : Wojciech Muła
Date : 2014-09-28
License : BSD
*/
#include <string>
#include <vector>
#include <sys/time.h>
#include <cstdio>
#include "conv.h"
class measure_item_t {
uint32_t t1;
uint32_t t2;
public:
const std::s... | [
"wojciech_mula@poczta.onet.pl"
] | wojciech_mula@poczta.onet.pl |
a662aa30916fd2fb254a75e6f8ea668139db7933 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/ClickHouse/2015/8/StorageSystemMerges.cpp | 17a6e21449fb973a385a11e580367db87c54cf1d | [] | 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 | 3,704 | cpp | #include <DB/Storages/StorageSystemMerges.h>
#include <DB/DataTypes/DataTypeString.h>
#include <DB/DataTypes/DataTypesNumberFixed.h>
#include <DB/Columns/ColumnString.h>
#include <DB/DataStreams/OneBlockInputStream.h>
#include <DB/Interpreters/Context.h>
#include <DB/Storages/MergeTree/MergeList.h>
namespace DB
{
St... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
eff5b860a4d2dfeec90fdec4fff3752d97cdfa9b | 66169a2be2a38aa8b5090308d43b42c63549ca94 | /Nesis/Common/Geometry/Point2D.h | e96e89c5d0336457b646b564adc4367da1b4f0e6 | [] | no_license | jpoirier/x-gauges | 6a5a3b05673aeff8632908cdfc2975a0a07f75ee | 8261b19a9678ad27db44eb8c354f5e66bd061693 | refs/heads/master | 2016-09-06T11:13:27.022707 | 2011-12-19T06:54:23 | 2011-12-19T06:54:23 | 1,551,637 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,286 | h | #ifndef __POINT2D_H
#define __POINT2D_H
/***************************************************************************
* *
* Copyright (C) 2006 by Kanardia d.o.o. [see www.kanardia.eu] *
* Writen by: ... | [
"devnull@localhost"
] | devnull@localhost |
36a723901a34ed927885bb473f277b346f288acc | 380d95bcf755f0c227130454e02b1e8698b274a2 | /cf637/a.cpp | aea0d32f27f6757a31f7826d999adbda23196538 | [] | no_license | geekpradd/CP-Topicwise | dd590ce94d0feb6b7a7037dd54e54a4b40041e77 | 5a257676171d0c4db71125ad3e872b338202fe16 | refs/heads/master | 2021-05-20T09:29:35.898564 | 2020-12-25T18:54:30 | 2020-12-25T18:54:30 | 252,225,116 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | cpp | #include <bits/stdc++.h>
#define int long long
#define ii pair<int, int>
#define pb push_back
#define mp make_pair
#define MOD 1000000007
#define E9 1000000000
using namespace std;
int power(int base, int exp){
if (exp==0)
return 1;
int res = power(base, exp/2);
res = (res*res)%MOD;
if (exp % 2)
return (res*ba... | [
"geekpradd@gmail.com"
] | geekpradd@gmail.com |
7e955414559caf4cf937d44214d1f6de5376fb91 | 56d4a23b9b748a864a5f1586c5aa6c09aecc8bba | /HW3/161044015/161044015.cpp | e0a7e396dc8de44d6e473b0f71bc1659df1c86ad | [] | no_license | medineaslan/Object-Oriented-Programming | ed74e7a0189a10bbb2569ad1ce9318cd286f89b4 | 176eaaf9c3c86099b470383226fbf7eea207b2c1 | refs/heads/main | 2022-12-28T02:14:01.806796 | 2020-10-11T15:54:08 | 2020-10-11T15:54:08 | 302,982,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,407 | cpp | #include <iostream>
#include <cstdlib>
#include <ctime>
#include <fstream>
#include <string>
using namespace std;
class NPuzzle
{
public:
inline void print(){myBoard.print();} //Prints the current configuration on the screen by sending it to cout.
inline void printReport(int numberOfMovesValue){myBoard.printReport(... | [
"noreply@github.com"
] | medineaslan.noreply@github.com |
4869846f55b13d0929085a30c6365e74d51e5782 | 002b4d417e72855adb94c91955ba5c2b2f3fecc0 | /00654_1_MBT.cpp | aff94ae02d6be3f4380897eb7be2f8943cc7b927 | [] | no_license | Zerorlis/leetcode | 9ffd3f439b5b43845439e6af5f35dc03fe0eb643 | 2de1680b2504f2c17d8c8aa0eac15b9177a1406e | refs/heads/master | 2021-08-06T06:13:05.426331 | 2020-05-19T12:59:28 | 2020-05-19T12:59:28 | 177,396,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | cpp | #include <algorithm>
#include <vector>
#include "tree.h"
using namespace std;
class Solution {
public:
TreeNode* constructMaximumBinaryTree(vector<int>& nums) {
return constructSonBinaryTree(nums.begin(), nums.end());
}
TreeNode* constructSonBinaryTree(const vector<int>::iterator& left,
... | [
"zerorlis@163.com"
] | zerorlis@163.com |
87d6f38ff080d1671b6a4a3313fe18abfb77b005 | 07bd511e7d1091b63f78bf832db147d12eb2df05 | /PAT/PAT Advanced/c++/1015.cpp | 8e0385fd8f21f55ea4accddb6b523d1395fee70a | [
"Apache-2.0"
] | permissive | Accelerator404/Algorithm-Practice | 18a41c4ddf2db36dbe74878047ebc756e78a79bf | e40a499c23a56d363c743c76ac967d9c4247a4be | refs/heads/master | 2021-06-02T15:03:46.765834 | 2020-11-10T14:41:37 | 2020-11-10T14:41:37 | 114,846,820 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,572 | cpp | #include <iostream>
#include <vector>
#include <cmath>
#include <algorithm>
#include <string>
using namespace std;
//PAT Advanced 1015 Reversible Primes
long int to_decimal(long int num,int radix){
string temp = to_string(num);
unsigned long int peak = temp.length();
long int res = 0;
unsigned long in... | [
"noreply@github.com"
] | Accelerator404.noreply@github.com |
bea586836e8548a42b213f87184de73316bf03e8 | 0c2fb0e9ad4ae4094633a1fc56d1aface65a5f76 | /src/fgmm/update.cpp | 6cf39e11e3276fe1eca13f9e7b2b5f8f2d9664be | [] | no_license | zhxinhust/motion_planner | 6203958eb8b8196735edddc4f3f18f34523a7971 | 6e8006b1586c9d6457f18c032c6b9f6a8d683f7b | refs/heads/master | 2021-05-14T18:42:22.789608 | 2018-01-22T01:35:21 | 2018-01-22T01:35:21 | 116,083,320 | 8 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,001 | cpp | /*********************************************************************
FGMM: a fast(er) and light Gaussian mixture model implementation.
Copyright (C) 2010 Florent D'Halluin
Contact: florent.dhalluin@epfl.ch
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser Gene... | [
"zhaoxin@hust.edu.cn"
] | zhaoxin@hust.edu.cn |
4e37203fb563065cf738609aef3c5d8996f5376a | 001837bdcbfc9f902d4b82eec9cf208f37afe088 | /bomberman.cpp | c3508842a2e734467d0a057894741fcfceddb6e4 | [] | no_license | inguelee/bomber | a3370790ad26abcc7fe33c5729b1053339266dfd | ca7335e851626806b91a3ca6fbb4c53a0a5dd5ae | refs/heads/master | 2020-09-10T04:07:00.352066 | 2019-12-06T07:32:16 | 2019-12-06T07:32:16 | 221,644,136 | 0 | 3 | null | 2019-12-05T16:00:40 | 2019-11-14T08:08:31 | C++ | UHC | C++ | false | false | 8,532 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <windows.h>
#define UP 0
#define DOWN 1
#define LEFT 2
#define RIGHT 3
#define SUBMIT 4
enum {
black,
blue,
green,
cyan,
red,
purple,
brown,
lightgray,
darkgray,
lightblue,
lightgreen,
lightcyan,
lightred,
lightp... | [
"noreply@github.com"
] | inguelee.noreply@github.com |
f2fe25f8d989a24c525f701b376c9555d40bc44f | cfa7b66d7e7edf47f18367e50389909b2266e0e6 | /Step_02/coup.cpp | 9626a5a09d4908114a3322478764a7819e39dbcf | [] | no_license | PITON369/Stepik_CPP_CSC | f98c48524e3912baf2678223a6bfac6647c6b3fa | 59f9e8df9d2c50b245076613f675f42293bddcb6 | refs/heads/master | 2023-04-07T22:31:27.806785 | 2020-04-24T13:45:49 | 2020-04-24T13:45:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,610 | cpp | //https://stepik.org/lesson/538/step/10?unit=861
/*Вам требуется написать программу, которая "переворачивает" последовательность положительных целых чисел. На вход подается последовательность разделенных пробелами положительных целых чисел. Последовательность заканчивается нулем. Требуется вывести эту последовательнос... | [
"noreply@github.com"
] | PITON369.noreply@github.com |
0a6f70d0795d78cb68bb6ce0fb4abe019cc63cdb | 9d6b68e51a9f91331a12f08102d21c2acfbcfb8e | /lib/ArduinoJson-6.x/src/ArduinoJson/Numbers/FloatTraits.hpp | 6f4df596a698df634d2b4fbcfe6c4c04b849ce21 | [
"MIT"
] | permissive | zekageri/MoodLamp | 44e3328422dcaa68392095fe7d1b314c38d0413a | 122cf89f86bb1ec71379bb19a0f1918017701a0b | refs/heads/main | 2023-01-30T15:41:10.519534 | 2020-12-13T20:30:54 | 2020-12-13T20:30:54 | 309,348,870 | 1 | 1 | MIT | 2020-12-13T20:17:29 | 2020-11-02T11:25:11 | C++ | UTF-8 | C++ | false | false | 4,725 | hpp | // ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2020
// MIT License
#pragma once
#include <stddef.h> // for size_t
#include <stdint.h>
#include <ArduinoJson/Configuration.hpp>
#include <ArduinoJson/Polyfills/alias_cast.hpp>
#include <ArduinoJson/Polyfills/math.hpp>
namespace ARDUINOJSON_NAMESPAC... | [
"drsedate@gmail.com"
] | drsedate@gmail.com |
54f1ef2b37b264555d964a42601ffec5009971fb | 26d039bffb2ba5b878184e75f7a1a55accba8229 | /Logger.hpp | 2c30067d2c2e96b4cfdf26851350be6b6edd605f | [] | no_license | taylorconor/bittrader | 56ff46997288feddb3e80fcd23bf4d8501002bf7 | fb1d2a5ffbaec47d80e57f9985e5aa962e534c93 | refs/heads/master | 2021-01-15T12:19:31.800683 | 2016-03-11T10:14:03 | 2016-03-11T10:14:03 | 47,073,634 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 521 | hpp | //
// Logger.hpp
// bittrader
//
// Created by Conor Taylor on 14/11/2015.
// Copyright © 2015 Conor Taylor. All rights reserved.
//
#ifndef Logger_hpp
#define Logger_hpp
#include <iostream>
#include <sstream>
#include "time.h"
using namespace std;
class Logger {
private:
static Logger *_instance;
Logger();
... | [
"taylorconor@me.com"
] | taylorconor@me.com |
75fc128126b2727ade19940fc63af8589163bf40 | f8de51e1f3bbb061e905320131c5ae16889896cc | /chessEngine/src/OldMove.cpp | 92d7e1dba732da8edc4789c5834e448027c9c8d5 | [] | no_license | guyKN/Chess2 | dad62064428cdcd63dae9f076bda8921f14967a6 | 327725c7fe770215dc72ce8de1e4084179643bc4 | refs/heads/main | 2023-08-22T12:57:11.022884 | 2021-09-19T17:53:36 | 2021-09-19T17:53:36 | 326,276,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,051 | cpp | //
// Created by guykn on 12/9/2020.
//
#include "OldMove.h"
#include <iostream>
#include <string>
#include <Bitboards.h>
namespace Chess {
OldMove OldMove::invalidMove(SQ_INVALID, SQ_INVALID, PIECE_INVALID, PIECE_INVALID);
std::ostream& OldMove::longNotation(std::ostream &outputStream) const {
if (!... | [
"guyknaan@gmail.com"
] | guyknaan@gmail.com |
9b4ff69f43e74dc301f2ae026f3616da805e3dca | 25c7df49d390698b49c13c40533bfd870f547d0b | /game/.svn/text-base/player_workshop.h.svn-base | b640f4d30d0755a4f0d564601ea91ddef25b5222 | [] | no_license | xubingyue/galaxy | 603701759b38446ffd9c1c069beb66197c0bca51 | 3ec14b2d531b2a15e0c52aac748b44a5c74033b0 | refs/heads/master | 2020-05-22T23:27:20.857629 | 2015-07-11T01:53:49 | 2015-07-11T01:53:49 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,493 | #pragma once
#include "block.h"
#include <vector>
#include <boost/unordered_map.hpp>
using namespace std;
namespace gg
{
const static string player_workshop_db_name = "gl.player_workshop";
const static string player_workshop_counter_field = "ctr";/*生产计数器*/
const static string player_workshop_qianz... | [
"kelvinlyan@localhost.localdomain"
] | kelvinlyan@localhost.localdomain | |
a47f95a6251e82bc0ed72c12dc0e6b083761a4d0 | 6bc873c4067f82f34c5bad570aac02d662aeaf4c | /pokerGameWithComputer/computerPlayerBehavior.cpp | b70e0f5539191c108afcf7d21892d500f488a5f5 | [] | no_license | chouguting/PokerGameWithComputer | 5c0a5d6c40172edbf47c46cd7ea85b7d5ec2fa42 | ce1293e400999aa69dfcac7fb26fd41c0ad16408 | refs/heads/master | 2021-06-12T16:47:19.098318 | 2020-04-15T15:15:11 | 2020-04-15T15:15:11 | 254,360,385 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 9,747 | cpp | #include <cstdio>
#include "funclib.h"
/*
main idea:先把重要的牌填到handCardTemp中,不重要的先空著(例如四條中的那四張一樣的是重要的,剩下那張不重要)
等所有重要的都牌完後再把剩下牌填入TEMP,最後再複製回去手牌
*/
void sortByComPlayer(Card* handCard, int size)
{
int hasFilled[13] = {0}; //儲存Temp牌堆中該位置有沒有填入值
Card handCardTemp[13]; //暫存用手牌(把確定的牌先填進去)
int sortIndex = size - 1; /... | [
"chouguting@gmail.com"
] | chouguting@gmail.com |
fcd2046df4764d078b570cd569036c0897e77e07 | 9c7c488f962e0fbdb3be81eb43decf48623d63f9 | /hw1/Frustum.cpp | 639ee8f094b712d351bd5dab17fd12d60cba9beb | [] | no_license | TylerSongCS/OpenGL | c6c0e59a07e75c357581abb206b6cb74e837ff9e | 822309c46d9e0ce2c451aee60cb73011e80ec40b | refs/heads/master | 2022-03-14T10:32:40.010227 | 2019-12-20T21:28:37 | 2019-12-20T21:28:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,631 | cpp | //
// Frustum.cpp
// hw1
//
// Created by Mingxun Song on 10/29/19.
// Copyright © 2019 Mingxun Song. All rights reserved.
// Credit to Gerlits Anatoliy of https://www.gamedev.net/articles/programming/general-and-gameplay-programming/frustum-culling-r4613/
#include "Frustum.hpp"
#include <iostream>
Frustum::Frus... | [
"32463378+TylerSongCS@users.noreply.github.com"
] | 32463378+TylerSongCS@users.noreply.github.com |
edeed468aae36e15118c9de6b47193a46e9719b7 | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /atcoder/abc251-300/abc264/g.cpp | 6e54f3be78fc0169b25d90032b11d347ddfcbfd5 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | SHIFT_JIS | C++ | false | false | 1,870 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<(to);x++)
#define FORR(x,arr) for(auto& x:arr)
#define FORR2(x,y,arr) for(auto& [x,y]:arr)
#define ALL(a) (a.begin()),(a.end())
#define ZERO(a) memset(a,0,sizeof(a))... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
eccb886f4081c6806faeda4991d8ff92830bce3b | c16872de1c97f749987df5526f73285cc51f0044 | /OuSns/pugixml.hpp | 922743fdf473b1695390cf41b7011f5fc708e067 | [] | no_license | baobo5625/ousnsClient | 65f685366a2d47ec79abc87d2eeceef0f58fbdf0 | f998f1a314e43d51a7b460546811b41f788acc46 | refs/heads/master | 2021-01-20T21:23:21.209220 | 2014-12-15T07:46:40 | 2014-12-15T07:46:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,211 | hpp | /**
* pugixml parser - version 1.0
* --------------------------------------------------------
* Copyright (C) 2006-2010, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
* Report bugs and download new versions at http://pugixml.org/
*
* This library is distributed under the MIT License. See notice at the end
*... | [
"baobo5625@gmail.com"
] | baobo5625@gmail.com |
060514ae5c77fc45abea1256b5a82290a4ddda45 | 0edbcda83b7a9542f15f706573a8e21da51f6020 | /private/inet/mshtml/msaahtml/checkbox.h | c7aa1c4ffe942bc815dcc0654db76d152f82d3df | [] | no_license | yair-k/Win2000SRC | fe9f6f62e60e9bece135af15359bb80d3b65dc6a | fd809a81098565b33f52d0f65925159de8f4c337 | refs/heads/main | 2023-04-12T08:28:31.485426 | 2021-05-08T22:47:00 | 2021-05-08T22:47:00 | 365,623,923 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,157 | h | //================================================================================
// File: CHECKBOX.H
// Date: 6/11/97
// Desc: Contains the definition of the CCheckboxAO class. This class
// implements the accessible proxy for the Trident check box control.
//
// Author: Arunj
//
//==========================... | [
"ykorokhov@pace.ca"
] | ykorokhov@pace.ca |
b2c49b55ad13cac6dc498324b4f862618b99cc04 | 58e3add7433ba8bf9e68e2fd02b5e1ff5c075687 | /3. Laboratorio tema de algoritmos geneticos/main.cpp | b42df5a2f0bea5b1adc595002351875afed517b0 | [] | no_license | Israel0806/IA-2020 | 2ce19aad57b9bba811bffa9d68f80f035bbc1670 | 1dee307c5d39a73abc69d78c7caaef6a6b1e7a59 | refs/heads/master | 2022-10-30T23:22:58.623054 | 2020-06-11T18:19:03 | 2020-06-11T18:19:03 | 255,120,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,340 | cpp | #include <iostream>
#include <bits/stdc++.h>
#include <ctime>
#include <math.h>
#include <algorithm>
#include <vector>
#include <cstdio>
using namespace std;
#define MAX_POPULATION 40
#define GENERATIONS 25
/*
1. Definir una representaci?n a ser usada para cada individuo de
manera que una solucion complet... | [
"noreply@github.com"
] | Israel0806.noreply@github.com |
49b4b36854ab73c6cd405c4b62228dc11a90bb5d | d10c78fd9cdd3e0cd06d1da4ec105c9d2b179b6a | /build/VisualStudio/AIPU/ForceSensor.h | 620ccc34189f599b72a29782614c08c8d28c5311 | [] | no_license | sleimanf/aibot | 95768573e65d99fd7b9c6f1cab9e57a4c6285677 | a1c31ba89f60d54aedbbb5706e2905214fb22881 | refs/heads/master | 2020-05-28T08:58:36.239013 | 2014-09-01T21:39:31 | 2014-09-01T21:39:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 121 | h | #pragma once
class ForceSensor
{
int Force;
public:
ForceSensor();
~ForceSensor();
bool setCurrentSensorValue();
};
| [
"hadiesper@gmail.com"
] | hadiesper@gmail.com |
fdbe0397e3b64fd79912fe8d8cbcbca1e5d0bdba | 85266696a160174b0a0708233fb6f0270bc8d7d7 | /eos/utils/concrete-cacheable-observable.hh | 2bd48c06131bb291bf98d96365502407d02fd7b3 | [] | no_license | dvandyk/eos | 0596bdf978340043081b296f7d90fdb2e5a75fac | 5e3f68989713078d010e0451bcb0049032dba6e8 | refs/heads/master | 2023-08-25T04:24:51.590382 | 2021-04-08T10:09:44 | 2021-05-25T14:19:00 | 46,611,195 | 0 | 1 | null | 2020-03-18T13:43:13 | 2015-11-21T10:39:59 | C++ | UTF-8 | C++ | false | false | 13,560 | hh | /* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
* Copyright (c) 2021 Danny van Dyk
*
* This file is part of the EOS project. EOS 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.
*
* EOS i... | [
"danny.van.dyk@gmail.com"
] | danny.van.dyk@gmail.com |
58d49d145753a209805b7d5afa1fd18fb5135bfc | a9c12a1da0794eaf9a1d1f37ab5c404e3b95e4ec | /CTPServer/CTPPositionUpdated.cpp | 3e2e55bdc51df8ed7415aed8e61641b076372a98 | [] | no_license | shzdtech/FutureXPlatform | 37d395511d603a9e92191f55b8f8a6d60e4095d6 | 734cfc3c3d2026d60361874001fc20f00e8bb038 | refs/heads/master | 2021-03-30T17:49:22.010954 | 2018-06-19T13:21:53 | 2018-06-19T13:21:53 | 56,828,437 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,731 | cpp | #include "CTPPositionUpdated.h"
#include "CTPUtility.h"
#include "CTPMapping.h"
#include "CTPConstant.h"
#include "../message/MessageUtility.h"
#include "CTPTradeWorkerProcessor.h"
#include "CTPWorkerProcessorID.h"
#include "../litelogger/LiteLogger.h"
#include "../dataobject/OrderDO.h"
#include "../message/DefMessag... | [
"rainmilk@gmail.com"
] | rainmilk@gmail.com |
e936d997c65d00067631eb971a0b7d7205676fe4 | 8908b42d07771a4c50d1adae1b13481b55d6c189 | /ConsoleJanken/StatePrepare.h | f786aa2f7ac38416d57a910754fd69dd9a217d62 | [] | no_license | haraki/ConsoleJanken | 6010630647c7586138bc18107d040ff7e9e7f7bf | e0802f91e0b6fed18d377a570dd6ab42c347b747 | refs/heads/master | 2021-01-22T09:09:08.861952 | 2014-05-19T17:41:05 | 2014-05-19T17:41:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | h | //
// StatePrepare.h
// ConsoleJanken
//
// Created by 原木 正志 on 2014/04/23.
// Copyright (c) 2014年 Masashi Haraki. All rights reserved.
//
#ifndef __ConsoleJanken__StatePrepare__
#define __ConsoleJanken__StatePrepare__
#include <iostream>
#include "StateMachine.h"
class StatePrepare : public StateMachine, public... | [
"masa.haraki@gmail.com"
] | masa.haraki@gmail.com |
ddfafa69c173a85c8ed0fd583f3f6b2a79a43044 | 987adde7bd3455da593f0201b4fe0437f65b5f27 | /src/BackEnd/IRGeneration/NameBuilder.cpp | fecadeada32f0c321f4c4f65ae656ba82a1057b6 | [] | no_license | xcode2010/KawaCompiler | d502ca2b290d8443753bb18815dcd696715baffc | 3c1b37f86e46084d6d43bbd6771b98808006135d | refs/heads/master | 2021-12-05T15:16:56.765143 | 2015-06-30T08:16:00 | 2015-06-30T08:16:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,100 | cpp | /**
* Creator Hichara
*/
#include "NameBuilder.h"
std::string NameBuilder::buildFunctionName(std::string className,
std::string name,
std::string ret_type,
std::vector<std::string> list_type,
bool isStatic) {
std::stringstream result;
std::string tmp;
if(className == ... | [
"adjibi004@gmail.com"
] | adjibi004@gmail.com |
8df8a5d86044cf10b9a089e194a574476060d8d5 | 50fe9e19ff85b0d3266f4fa186185ef72fe017ba | /index.ino | 65a23647de3086e3397fad69787733a272f08130 | [] | no_license | Eduardo-LP/Cubo_de_Leds | df69bfa4c3e291a49cb5f6fdcb9f72fc3c255463 | 02fac057cb3ff51bbfdf611e37496ed8538d986c | refs/heads/master | 2020-08-31T11:45:27.465036 | 2019-10-31T15:31:57 | 2019-10-31T15:31:57 | 218,683,031 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,997 | ino | int D = 8;
int CLK = 9;
int E = 10;
void setup()
{
pinMode(D, OUTPUT);
pinMode(CLK, OUTPUT);
pinMode(E, OUTPUT);
}
void funcaoPadrao(int P, int Q ){
digitalWrite(E, LOW);
shiftOut(D, CLK, MSBFIRST, P);
shiftOut(D, CLK, MSBFIRST, Q);
digitalWrite(E, HIGH);
delay(500);
}
void efeit... | [
"noreply@github.com"
] | Eduardo-LP.noreply@github.com |
3823170ca2526b7b1618b236d6bca0edf090a2d9 | 3e69b159d352a57a48bc483cb8ca802b49679d65 | /tags/release-2005-10-27/pcbnew/netlist.cpp | 7707b586004638238f618260d1327606a22517e2 | [] | no_license | BackupTheBerlios/kicad-svn | 4b79bc0af39d6e5cb0f07556eb781a83e8a464b9 | 4c97bbde4b1b12ec5616a57c17298c77a9790398 | refs/heads/master | 2021-01-01T19:38:40.000652 | 2006-06-19T20:01:24 | 2006-06-19T20:01:24 | 40,799,911 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 31,012 | cpp | /************************************/
/* PCBNEW: traitement des netlistes */
/************************************/
/* Fichier NETLIST.CPP */
/*
Fonction de lecture de la netliste pour:
- Chargement modules et nouvelles connexions
- Test des modules (modules manquants ou en trop
- Recalcul du cheve... | [
"bokeoa@244deca0-f506-0410-ab94-f4f3571dea26"
] | bokeoa@244deca0-f506-0410-ab94-f4f3571dea26 |
b466b2c89c8d2ddd3449bf6d3013c62e7e20aa97 | af008dd81eda45dc54a926647efec8ac6bf6bd6b | /fun1/arfupt.cpp | 4f99de181cec14c840381ed044a2bc41377c31bc | [] | no_license | user-lmz/cmake-cpp | d003caa827a1deff5f403bad113b44572325f028 | f229a8ec95655a13b3e2f1931ffb4e5c291b4e2a | refs/heads/master | 2023-07-06T20:11:04.471655 | 2021-08-24T07:59:12 | 2021-08-24T07:59:12 | 339,757,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,441 | cpp | #include <iostream>
const double * f1(const double ar[], int n);
const double * f2(const double [], int);
const double * f3(const double *, int);
int main()
{
using namespace std;
double av[3] = {1112.3, 1542.6, 2227.9};
typedef const double *(*p_fun)(const double *, int);
p_fun p1 = f1;
auto p2 ... | [
"mingzeluo888@gmail.com"
] | mingzeluo888@gmail.com |
acdb4f552e8ac8a7e626dafb571d1ba656226cfc | 8f608437957f7c9eb03f0ee00457e10282059ec8 | /Codeforces/617B.cpp | 7ef8cb998afd8cf9735fc65027a38ae9fe1137d6 | [] | no_license | npkhang99/Competitive-Programming | 0ddf3cfcfc13825f7fadaf5b53fdef16ca77522f | 1a5e3799e5855996aa56688680765511b0de7281 | refs/heads/master | 2023-06-28T15:17:44.489901 | 2021-07-30T05:31:15 | 2021-07-30T05:31:15 | 66,803,586 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | cpp | #include <iostream>
#include <stdio.h>
using namespace std;
const int N=109;
#define long long long
int n, a[N], d[N];
void xuly(){
int d[N], k=0, vt=1;
for(int i=1; i<=n; i++)
if(a[i]==1){
int vt=i; break;
}
for(int i=vt; i<=n; i++)
if(a[i]==1) d[++k]=1;
else... | [
"curoa99@gmail.com"
] | curoa99@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.