blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
607eac935e895001f03a4df8e2dca984d4c6dab1 | be542bf86448c257ba1aaa87ea832b63e2aa1a5e | /projects/Week4-Started Graphics/src/VertexArrayObject.h | c168fcd7ded9e037f246ee8d37bf807ab87b1a4f | [] | no_license | HarrisonLeswick/OTTER | 9071f934b2d8d8054800657856b6a4acd4ae4ab3 | 02fa61e28e769b93341db6b4502a027284b25afb | refs/heads/master | 2023-08-25T19:56:23.396924 | 2021-10-06T19:53:22 | 2021-10-06T19:53:22 | 410,010,451 | 0 | 0 | null | 2021-09-24T15:17:42 | 2021-09-24T15:17:42 | null | UTF-8 | C++ | false | false | 4,246 | h | #pragma once
#include <glad/glad.h>
#include <cstdint>
#include <vector>
// We can declare the classes for IndexBuffer and VertexBuffer here, since we don't need their full definitions in the .h file
#include "VertexBuffer.h"
#include "IndexBuffer.h"
#include <memory>
/// <summary>
/// Represents the type that a VAO... | [
"h.leswick@gmail.com"
] | h.leswick@gmail.com |
c1db54a22c039fafda5036fb614c426ff5f188af | c8167b5af3a7462b1a302855ea941d5f0e6c0b4a | /hardware/src/Arduino.cpp | e867bb7d30da938eb817302e6e4f3757f6f7068a | [
"MIT"
] | permissive | elchtzeasar/balcony-watering-system | 92d07b959c186560d562fda8539be6bf3ba3bc48 | 2fb20dc8bdf79cff4b7ba93cb362489562b62732 | refs/heads/master | 2020-06-16T10:25:30.792582 | 2020-04-29T07:52:38 | 2020-04-29T07:52:38 | 195,538,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,663 | cpp | #include "Arduino.h"
#include "Master.h"
#include <cassert>
#include <sstream>
#include <unistd.h>
#include <chrono>
#include <iostream>
#include <thread>
namespace balcony_watering_system {
namespace hardware {
using std::string;
enum Commands {
READ_COMMAND = 0xea,
SHUTDOWN_COMMAND = 0xf,
};
static const i... | [
"westman.peter@gmail.com"
] | westman.peter@gmail.com |
57b642fcf9daac26d10fdd7dd4501440848c2d06 | 06a5c632ec2b984176daf46105e42347176190c6 | /folly/test/ReplaceableTest.cpp | f3aca572274982a68e8233c406c7b973e11b4f67 | [
"MIT",
"Apache-2.0"
] | permissive | astrabit/folly | 16842c7a8599fe20d2a48143f71bdb7722849be8 | 74f41a0bd67f14fa91c341a468b0f3462b2ab95c | refs/heads/master | 2020-05-05T13:05:29.137397 | 2019-04-07T18:31:41 | 2019-04-07T18:35:05 | 180,058,911 | 1 | 0 | null | 2019-04-08T03:00:32 | 2019-04-08T03:00:31 | null | UTF-8 | C++ | false | false | 11,220 | cpp | /*
* Copyright 2017-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
b456791a02f1a7877a4c9f94f7e4759938f53a9d | cc189f06fd1d99040c4a0bbbebfa2a11e6834337 | /sort/selection_sort.cc | 7bad3ae00c2d46414a1c2687230f7534ec786458 | [] | no_license | showtimemmc/c | ca8029f275369fb98e0013cf9ebf6a5cda8c3b82 | 16de8531348a044e2c453f121d2a3ee99ec9dd67 | refs/heads/master | 2016-09-05T10:14:25.333466 | 2014-08-01T05:45:55 | 2014-08-01T05:45:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,008 | cc | //从小到大,选择排序
#include "../share/utils.h"
#include <iostream>
#include <vector>
int loop_count=0;
int swap_count=0;
//优化后的选择排序
//通过只记录最小元素索引,并在每一趟i循环之后判断是否需要交换
void selection_sort(std::vector<int> &vec)
{
int min=0;
for (int i = 0; i < vec.size(); ++i)
{
//记录每一趟比较的最小值的位置
min=i;
for (int j = i+1; j < vec.size()... | [
"showtimemmc@hotmail.com"
] | showtimemmc@hotmail.com |
46e7f7b4ade28efd67fef630efd8b0c6bea8c2a3 | c3575be1ac5b048ce6c3fb5aa8b6fa9d36745f60 | /C/TutorialLevel5Bot/InformationManager.cpp | 60ae60fbe9812f615cd4c24c35bcfe2118da5809 | [
"MIT"
] | permissive | design-song/Algo2017 | b543081f484017f0482e2438434681711bf6c924 | e14d034be3cd5ed4d8e9811fe8a918e965d5d785 | refs/heads/master | 2021-01-23T11:21:43.771810 | 2017-06-01T04:26:28 | 2017-06-01T04:26:28 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 18,236 | cpp | #include "InformationManager.h"
using namespace MyBot;
InformationManager::InformationManager()
{
selfPlayer = BWAPI::Broodwar->self();
enemyPlayer = BWAPI::Broodwar->enemy();
selfRace = selfPlayer->getRace();
enemyRace = enemyPlayer->getRace();
_mainBaseLocations[selfPlayer] = BWTA::getStartLocation(BWAPI::Br... | [
"tekseon.shin@gmail.com"
] | tekseon.shin@gmail.com |
bcf350cd81a755acb322c52dbdd034386ecf8d91 | b175eddaf939281f164c2fbb39b55f85cfa90be0 | /Solutions/ArpashardexamandMehrdadsnaivecheat/main.cpp | 59f7a20acd537a6c68c532baf3af069169c5b777 | [] | no_license | AbdelrhmanKhater/Icons | 96b3f42504157c3089ceeb708b9b92ad89c18c88 | ea43233aab70b6b931efe76e349ee0684410a766 | refs/heads/master | 2020-03-07T01:31:54.176100 | 2018-03-28T19:17:12 | 2018-03-28T19:17:12 | 127,185,831 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207 | cpp | #include <iostream>
using namespace std;
int adhoc[4] = {6, 8, 4, 2};
int n;
int main()
{
cin >> n;
if (n == 0)
cout << "1\n";
else
cout << adhoc[n % 4] << "\n";
return 0;
}
| [
"abdelrhman.khater111@gmail.com"
] | abdelrhman.khater111@gmail.com |
fd2ee4967282f1f958038db031a54bb7cf9864a4 | 00f215b15b65b600f10d035fcbf664d23c3d83ae | /Kushagra Shekhawat/Day 12/52. Paths to reach origin.cpp | 03ecb0d2b7698f3d15275530cec92e2f0ad24728 | [] | no_license | SubhamGupta007/Dynamic-Programming | 810131eb6fe5513b4f4bb728d2d2af66a5e20c5c | 32e1faac325d2ed3479abf3cef4a7c2470356667 | refs/heads/master | 2023-03-24T16:57:30.304582 | 2020-09-24T04:55:01 | 2020-09-24T04:55:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | #include<bits/stdc++.h>
using namespace std;
long long int FindPaths(int N,int M);
int main()
{
int T;
cin>>T;
while(T--){
int N,M;
cin>>N>>M;
N++,M++;
cout<<FindPaths(N,M)<<endl;
}
return 0;
}
long long int FindPaths(int N,int M){
long long int PathMatrix[N][M];
for(int i=0;i<N;i++... | [
"kushagrashekhawat414@gmail.com"
] | kushagrashekhawat414@gmail.com |
ad67042d8fb4f35f7c03a9b319bfe098725e44f5 | 33392bbfbc4abd42b0c67843c7c6ba9e0692f845 | /ultrasound/L3/include/synthetic_aperture.hpp | d6934e4056835c4de128f6a6bdb7b6e2c6eb08b6 | [
"Apache-2.0"
] | permissive | Xilinx/Vitis_Libraries | bad9474bf099ed288418430f695572418c87bc29 | 2e6c66f83ee6ad21a7c4f20d6456754c8e522995 | refs/heads/main | 2023-07-20T09:01:16.129113 | 2023-06-08T08:18:19 | 2023-06-08T08:18:19 | 210,433,135 | 785 | 371 | Apache-2.0 | 2023-07-06T21:35:46 | 2019-09-23T19:13:46 | C++ | UTF-8 | C++ | false | false | 11,837 | hpp | /*
* Copyright 2022 Xilinx, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | [
"do-not-reply@gitenterprise.xilinx.com"
] | do-not-reply@gitenterprise.xilinx.com |
f48241b79bd170c7c3dd3eda6c9b15598813151b | 656381015396366a80c823147d26a74e19fcf7b7 | /KEYandGAMEPAD.cpp | 698c04dbbbe1705ac406c85a64a6a3e2a2ceea41 | [] | no_license | SoraY677/DegitalWorldSTg | 5f8c84536b4393f548643e8ed929b1c09c9127fd | b9f1bcc128ca56a3d26a8e45c7804e46bf0c6099 | refs/heads/master | 2022-04-18T11:26:38.664984 | 2020-04-19T04:34:43 | 2020-04-19T04:34:43 | 256,914,005 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,340 | cpp | #include "DxLib.h"
#include "KEYandGAMEPAD.h"
static int Key[256];
//キーの状態の更新
void Keyboard_Update(){
char tmpKey[256];//すべてのキーの入力状態の格納用
GetHitKeyStateAll(tmpKey);//すべてのキーの状態を取得
//キーが押されているか確認
for( int i=0; i<256; i++){
//i番目のキーに入力があった場合
if (tmpKey[i] != 0){
Key[i]++; //i番... | [
"SoraY677@outlook.com"
] | SoraY677@outlook.com |
1fdd97c54c11beecc9a0d21a63104181f60df88d | 9202d01fc569ce83bd4f938294a06515852ab53a | /super-lyon-kart/old-versions/03/src/Sprites.hpp | 23828bfe1db0f9a1b2c74ccff2613aae20ab67d7 | [] | no_license | 1Kenny/1Kenny | c03f4f87126672f7839e69be3e9a75f91f344760 | 16ee9d5fb1f0104450cd936244c48661478801ed | refs/heads/main | 2023-08-14T08:19:23.518378 | 2021-09-20T17:52:09 | 2021-09-20T17:52:09 | 365,982,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | hpp | //
// SDL.hpp
// engine
//
// Created by Ebagnitchie Charles=Emmanuel on 15/06/2019.
// Copyright © 2019 Trash. All rights reserved.
//
#ifndef SPRITE_hpp
#define SPRITE_hpp
// ============================================================================
// [Include Section]
// ======================... | [
"angekennedyn@gmail.com"
] | angekennedyn@gmail.com |
f341e29b0de7bd0e7c017808273adf817db10dac | 73ee941896043f9b3e2ab40028d24ddd202f695f | /external/chromium_org/content/renderer/pepper/host_dispatcher_wrapper.cc | 68ae4ebc0902567b8829398c2feb145a6f0a5d5a | [
"BSD-3-Clause"
] | permissive | CyFI-Lab-Public/RetroScope | d441ea28b33aceeb9888c330a54b033cd7d48b05 | 276b5b03d63f49235db74f2c501057abb9e79d89 | refs/heads/master | 2022-04-08T23:11:44.482107 | 2016-09-22T20:15:43 | 2016-09-22T20:15:43 | 58,890,600 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,207 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/pepper/host_dispatcher_wrapper.h"
#include "content/common/view_messages.h"
#include "content/renderer/pepper/pepper_hung_... | [
"ProjectRetroScope@gmail.com"
] | ProjectRetroScope@gmail.com |
1c7349703d1f905492ad83659e3166f4ab388c94 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/inetcore/outlookexpress/mailnews/common/statwiz.h | 8f11d96ecaed0d16f0da074748777526b6ababfb | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 3,277 | h | #ifndef __STATWIZ_H
#define __STATWIZ_H
#define NUM_WIZARD_PAGES 5
#define COLOR_SIZE 8
class CStatWiz;
typedef BOOL (CALLBACK* INITPROC)(CStatWiz *,HWND,BOOL);
typedef BOOL (CALLBACK* OKPROC)(CStatWiz *,HWND,UINT,UINT *,BOOL *);
typedef BOOL (CALLBACK* CMDPROC)(CStatWiz *,HWND,WPARAM,LPARAM);
typed... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
4868071f727d22f48c8f96ade831199df5e3d9af | e134c3390821312e652e235df0c502b7bd865a96 | /src/LinearModel.h | 6d54bfdfd1a659581e67c9444f25d218da23f280 | [] | permissive | xuyiqing/fastplm | d67120e8f896fc874be651d834e5bf31916ee3b6 | c194edec4611d54f02fd97ebd0c2ddc3b2e1014b | refs/heads/master | 2022-06-08T02:36:30.950255 | 2022-05-16T19:51:08 | 2022-05-16T19:51:08 | 81,257,854 | 8 | 6 | MIT | 2021-02-04T16:54:53 | 2017-02-07T21:48:12 | R | UTF-8 | C++ | false | false | 696 | h | #ifndef FASTPLM_LINEAR_MODEL_H
#define FASTPLM_LINEAR_MODEL_H
#include "Common.h"
struct LinearModel {
public:
arma::mat X;
arma::vec Y;
bool isLinearDependent;
arma::uvec dependents, independents;
arma::vec beta;
static const LinearModel solve(const arma::mat& X, const arma::vec& Y);
st... | [
"liulch.16@sem.tsinghua.edu.cn"
] | liulch.16@sem.tsinghua.edu.cn |
04e37202ef6a465fd7d25621316c8ac57c78e22d | 9ff35738af78a2a93741f33eeb639d22db461c5f | /.build/Android-Debug/jni/app/Uno.Platform2.View.cpp | 504a1bed61757956ed51accd0b0bf5354206210d | [] | no_license | shingyho4/FuseProject-Minerals | aca37fbeb733974c1f97b1b0c954f4f660399154 | 643b15996e0fa540efca271b1d56cfd8736e7456 | refs/heads/master | 2016-09-06T11:19:06.904784 | 2015-06-15T09:28:09 | 2015-06-15T09:28:09 | 37,452,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,037 | cpp | // This file was generated based on 'C:\ProgramData\Uno\Packages\UnoCore\0.1.0\Source\Uno\Platform2\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#include <app/Uno.Delegate.h>
#include <app/Uno.EventArgs.h>
#include <app/Uno.EventHandler.h>
#include <app/Uno.EventHandler__Uno_Platform2_Touc... | [
"hyl.hsy@gmail.com"
] | hyl.hsy@gmail.com |
e60f999efc7e88064e1548c47542f600c4b7e4f3 | 6ab407365d74407358a7b4c5655f52467699d518 | /Hmwk/Assignment2/Gaddis_8thEd_Chap3_Prob19/main.cpp | 18dd8c46a34e3543d4345c011097f11fc3be1a2b | [] | no_license | joseroman1/LehrMark_CSC5_40717_or_40718 | 2a8570193cf86c230a951b6bb411e96a04b197a9 | f1fee99da98847225e1c10ff4bd1ac53245b8d00 | refs/heads/master | 2021-01-18T08:43:32.697487 | 2015-02-10T19:14:43 | 2015-02-10T19:14:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,395 | cpp | /*
* File: main.cpp
* Author: Dr. Mark E. Lehr
* Created on January 12, 2015, 11:37 AM
* Purpose: My Car Payment
*/
//System Library
#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
//User Libraries
//Global Constants
//Function Prototypes
//Execution Begins Here!
int main(int a... | [
"mark.lehr@rcc.edu"
] | mark.lehr@rcc.edu |
ba6e6cf9de4bed71f9140825943a6ae980979b1e | bf1b0db7d6921015b357fb3d7201528ebf5ef103 | /CalcYL/AthmeticYl.h | 05828a71ad7a103d5dbb73f72b126deb9a92346f | [] | no_license | yangliangrym/CalcYL1 | 591b5e3d6d3acda63c4a969197afe18268fbae3c | 8c8cc175600859b6e671a4de82b78f774504721f | refs/heads/master | 2021-05-11T03:49:06.813128 | 2018-01-18T02:54:02 | 2018-01-18T02:54:02 | 117,924,592 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 810 | h | #pragma once
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<iostream>
#include <iomanip>
#include <math.h>
#include <windows.h>
#include <string.h>
#include <qstring.h>
using namespace std;
struct fraction {
int a;
int b;
};
class AthmeticYl
{
public:
AthmeticYl();
~AthmeticYl();
//用结构体存放操作数
s... | [
"1414877831@qq.com"
] | 1414877831@qq.com |
54d6208d2cfb85e18d94bedac2b40cb6de132a53 | 4637840c7d4433328dbf9300ce4da33f24e3a242 | /icpc-jakarta/icpc-jakarta-2020/comic/spec.cpp | bb9de2c8d86be86e9028e36eff40af4c12ac9ca7 | [] | no_license | fushar/cp-problems | c638ff372c98e5a7e7cb43ac7ddfe303ab072cfb | 0af9c4a08b23ecacc3f0d7c6ff825960cc61a484 | refs/heads/master | 2023-09-01T12:05:54.185549 | 2021-09-22T14:07:45 | 2021-09-22T14:07:45 | 147,062,838 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,405 | cpp | #include <tcframe/spec.hpp>
using namespace tcframe;
class ProblemSpec : public BaseProblemSpec {
protected:
int N;
vector<int> A;
vector<int> B;
int ans;
void InputFormat() {
LINE(N);
LINE(A % SIZE(N));
LINE(B % SIZE(N));
}
void OutputFormat() {
LINE(ans)... | [
"fushar@gmail.com"
] | fushar@gmail.com |
e3c26656a033f490c10a57d9846d5fb75ea89d64 | 91b10c3138158f48609b77a6939a841e08c8a7e6 | /src/TympanStateBase.h | 8bc07c518d0108cb516a664e0349fc8e26d7f29e | [
"MIT"
] | permissive | kanads2/Tympan_Library | 8d0a3516adaf72bf271acb9d6e399f4bf8d7c95b | 15d39d0eb389c2aafdc16e505a026f67f40595d1 | refs/heads/main | 2023-08-26T13:42:53.181186 | 2021-11-05T18:05:39 | 2021-11-05T18:05:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,474 | h |
#ifndef TympanStateBase_h
#define TympanStateBase_h
#include "AudioSettings_F32.h"
#include "Tympan.h"
#include "SerialManager_UI.h" //for the UI stuff
#include "SerialManagerBase.h" //for the UI stuff
class TympanStateBase {
public:
TympanStateBase(AudioSettings_F32 *given_settings, Print *given_serial) {
... | [
"chipaudette@yahoo.com"
] | chipaudette@yahoo.com |
5edaf91bf9ef669f6d7b46673ace4eb19388a1f4 | f967139bbda0f615bb2bd67e7d1c00b4f3987ed2 | /lab2/lab/testdelete.cpp | b0e0242c5f1defba4d8b458b99857b8ad9ca4031 | [] | no_license | xzeroth/Data-Structure | acafe8cec021d78a43d15d7b2142d4f009895a2d | a80da94e7c54cd5368cb526931956ce6b93adbb1 | refs/heads/master | 2022-02-23T03:56:36.619929 | 2019-10-18T03:30:40 | 2019-10-18T03:30:40 | 208,985,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 178 | cpp | #include <iostream>
using namespace std;
int main(){
double ans = 100.00;
for ( int i = 0 ; i < 3 ; i++){
ans /= 2;
cout << ans << endl;
}
cout << ans;
return 0;
} | [
"gunpark15@d-172-25-253-152.dhcp.virginia.edu"
] | gunpark15@d-172-25-253-152.dhcp.virginia.edu |
355295b836af23eb1539a77fc331f26a5152047b | 45e73b648d8732eda10894110ae82ec11f224ca1 | /GcdUsingRecursion.cpp | 6f7311810c55530494c77487384fbf59db220263 | [] | no_license | itsdevkr/Amcat | 357a786201a782602ea7390cec84a5384ad1e583 | f893318cf6f52016da783a3968b99420b6188583 | refs/heads/master | 2020-07-04T02:48:13.463642 | 2019-09-12T05:09:41 | 2019-09-12T05:09:41 | 202,129,137 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | cpp | #include<iostream>
using namespace std;
int gcd(int m,int n)
{
if(n==0)
return m;
else
return gcd(n,m%n);
}
int main()
{
int m,n;
cin>>m>>n;
cout<<gcd(m,n);
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
fdced6e3732d71a5925df79a807cd1323a4c44ea | 970378ec0a33caebbfe8db71174c9f5ed0ac09d5 | /Old Codes/lifireceiver/lifireceiver.ino | 29af710526232397651cd4e96529399ab38e966c | [] | no_license | eclubiitk/Li-Fi-E-Club | ddf306b05aa5edc24e214d8d8fca4752dac6f44c | 6f19cdf0896c0ec4d44994b52a6e5698ca4d1cef | refs/heads/master | 2022-01-31T00:24:57.500097 | 2019-07-24T20:40:53 | 2019-07-24T20:40:53 | 168,541,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | ino | byte n=0;
byte u=0;
byte arr[10000];
void refine()
{
int h,k;
for(u=0;u<10000;u++)
{if(arr[u]==1 && arr[u+1]==1){h=u+2;break;}}
for(u=0;u<10000-h;u++)
{arr[u]=arr[u+h];}
for(u=0;u<10000-h;u++)
{if(arr[u]==0 && arr[u+1]==0 && arr[u+2]==0){k=u;break;}}
for(u=0;u<k;u++)
{
Serial.println(arr[u]);
}
... | [
"utkarshg99@gmail.com"
] | utkarshg99@gmail.com |
96430bfa20ddbaff353ebd1cd8263d7937985ad3 | 37ab17d6648d7493684cb2d94e5c3c7576fcf72a | /learning/thirdparty/САОД/v49/main.cpp | 048de6d1fe5e8412f3d033033c75998aa4c790a7 | [] | no_license | ArtyomAdov/learning_sibsutis | 74780d96658fe23efda916047ebc857215f81fc4 | 4a55314b91f7326ff792ca4521bd8bdf96f44bce | refs/heads/main | 2023-02-11T17:44:42.124067 | 2021-01-03T11:25:46 | 2021-01-03T11:25:46 | 326,384,347 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,029 | cpp | #include "Base.h"
#include "Huffman.h"
#include <cstdlib>
int main() {
Base o;
system("cls");
int key = 0;
do{
cout << "_______________________" << endl;
cout << "1. Print Base" << endl
<< "2. Sort" << endl
<< "3. Search In Base" << endl
<< "4. Pri... | [
"death1angel1annushka1@gmail.com"
] | death1angel1annushka1@gmail.com |
5f583bff8ff4a44e3085159a628d7f472cc7f243 | 76df5692ecbf2089a693d953c2cb539f539b7fcf | /3party/boost/boost/fiber/future/future.hpp | 5d4ad78ab566182dfcb3715e09ae39870725d3eb | [
"BSL-1.0",
"Apache-2.0"
] | permissive | zouguangxian/omim | e2806af6348719728e0130194acf105d6a8a8bca | 939620a534af3d58288c4734fa99f3a85f4b587e | refs/heads/master | 2020-04-29T22:20:16.186339 | 2019-03-18T11:03:17 | 2019-03-18T19:38:39 | 176,444,212 | 1 | 1 | Apache-2.0 | 2019-03-19T07:05:49 | 2019-03-19T06:52:40 | C++ | UTF-8 | C++ | false | false | 11,233 | hpp |
// Copyright Oliver Kowalke 2013.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_FIBERS_FUTURE_HPP
#define BOOST_FIBERS_FUTURE_HPP
#include <algorithm>
#include <chrono>
#in... | [
"syershov@maps.me"
] | syershov@maps.me |
1d4196fea07a67055ca3aa0f0c1440dbb0224d20 | d6582135cbe7dc7837460e54094e21d70b5ac91b | /KNAPSACK ITERATIVE.cpp | 33e75be595048eff3220aebbeb870875052ca49e | [] | no_license | hst005/CODZEN-EXAMPLES | abc438ff3f539e7dcdc0ca031b40c0d7bbb2f6ee | 0b890b79b5b516c7c4ed337903802a379eabc778 | refs/heads/master | 2020-06-30T10:02:54.602401 | 2019-08-06T07:38:33 | 2019-08-06T07:38:33 | 200,796,966 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 833 | cpp | #include <iostream>
using namespace std;
int main()
{
int n,k;
cin>>n;
int w[n];
int prof[n];
for(int i=0;i<n;i++){
cin>>w[i];
}
for(int i=0;i<n;i++){
cin>>prof[i];
}
cin>>k;
int dp[n+1][k+1];
for(int i=0;i<=n;i++){
for(int j=0... | [
"noreply@github.com"
] | noreply@github.com |
3e48dc8116ca45e972066b612b79c1dc58b65db4 | 33642a9df869ab40b027c8faffa5bb215ee75713 | /include/control_to_stair/stair_container.h | ad609a2f6aa55db34cbdda65239795eed727c861 | [] | no_license | TAMUartlab/control_to_stair | 3f060771c03207fccdb72a732a2cc733bcf7033e | 28eb40a4c5d7b8f142e636dfe231dc47938fd918 | refs/heads/master | 2023-06-22T22:41:27.677178 | 2021-07-19T21:11:37 | 2021-07-19T21:11:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,642 | h | #ifndef STAIR_CONTAINER_H_
#define STAIR_CONTAINER_H_
#include <thread>
#include <atomic>
#include <mutex>
#include <chrono>
#include <vector>
#include <map>
#include <utility> //pair
#include <cmath> // std::abs
#define PROBABILITY_MAX 100
class STAIR_CONTAINER{
private:
float _probability;
int _co... | [
"kangneoung@example.com"
] | kangneoung@example.com |
a01ea316fff88358b06649feae568b9238c63c26 | 2218bf21e8dda13e284b28678128c6d05d83067d | /tools/seqbTree.cpp | f2d9aba74cc01246c5bf321933aaef2aac3066b3 | [] | no_license | cjjIs/sjtu-oj | 293a086fa406c80e5f84428582d55e9e2dcb41f4 | 0e32ae1310fe91ef50a8522c60e01fc8c53c621a | refs/heads/master | 2020-04-08T04:01:31.921196 | 2018-11-25T05:09:12 | 2018-11-25T05:09:12 | 158,999,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,409 | cpp | #include <iostream>
using namespace std;
template <class T>
class binaryTree
{
public:
virtual void clear() = 0;//清除所有树变为空树
virtual bool isEmpty()const = 0;//判断是否为空树
virtual T root()const = 0;//返回根节点
virtual T parent(T x,T flag)const = 0;//返回x节点的父节点
virtual T leftChild(T x,T falg)const = 0;//返回x节点的左孩子
virtual T... | [
"chenjiaju-up@sjtu.edu.cn"
] | chenjiaju-up@sjtu.edu.cn |
c5dd1107013079105ce52d9898f7c76966457371 | fe91ffa11707887e4cdddde8f386a8c8e724aa58 | /components/download/internal/background_service/file_monitor_impl.cc | a2dd120efb3bf006ad31350ae79ffb574bebaf25 | [
"BSD-3-Clause"
] | permissive | akshaymarch7/chromium | 78baac2b45526031846ccbaeca96c639d1d60ace | d273c844a313b1e527dec0d59ce70c95fd2bd458 | refs/heads/master | 2023-02-26T23:48:03.686055 | 2020-04-15T01:20:07 | 2020-04-15T01:20:07 | 255,778,651 | 2 | 1 | BSD-3-Clause | 2020-04-15T02:04:56 | 2020-04-15T02:04:55 | null | UTF-8 | C++ | false | false | 7,892 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/download/internal/background_service/file_monitor_impl.h"
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/f... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
8d2bb4ab481606dd0b03b70a1cff3747c4a11d90 | 9bb65032b3926e2cb4aea93a6a733d2069c18438 | /puzzleQT/success.cpp | 044fcac6f92bad95fdadc5956b8ea3c09745b806 | [] | no_license | cosmosiwi/c-homework | fcbc91f0b04787bf492ad43f621f75ce6caefcb4 | 901ae6a4cd487944c09b83747a1604379c206ccd | refs/heads/main | 2023-09-03T18:01:53.912163 | 2021-10-31T14:54:58 | 2021-10-31T14:54:58 | 415,885,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | #include "success.h"
#include "ui_success.h"
Success::Success(QWidget *parent) :
QWidget(parent),
ui(new Ui::Success)
{
ui->setupUi(this);
//connect(ui->exit, &QPushButton::clicked, this, SLOT(close()));
}
Success::~Success()
{
delete ui;
}
| [
"noreply@github.com"
] | noreply@github.com |
06382996d4711220802be36d6a093a549b490e51 | 2b60d3054c6c1ee01f5628b7745ef51f5cd3f07a | /Gemotry/AdaptDynamicMeshes/ADM/examples/twist/main.cc | 9cecb83fe10093ca933cb2e2b473da0d62299d39 | [] | no_license | LUOFQ5/NumericalProjectsCollections | 01aa40e61747d0a38e9b3a3e05d8e6857f0e9b89 | 6e177a07d9f76b11beb0974c7b720cd9c521b47e | refs/heads/master | 2023-08-17T09:28:45.415221 | 2021-10-04T15:32:48 | 2021-10-04T15:32:48 | 414,977,957 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,756 | cc | #include "twist.h"
#include "drawing.h"
#include "timestamp.h"
//#include "off2pov.h"
int main(int argc, char** argv)
{
Twist surf( 5., 1., 0. );
ADM::StochasticSampling criteria( &surf );
ADM::AdaptiveMesh mesh( "../base_mesh/cylinder.off", &criteria );
ADMViewer win( "Twist", &mesh, &surf, &criteria );
... | [
"1614345603@qq.com"
] | 1614345603@qq.com |
0dca670a2eeaa3c3d9de6d0955c0c35c7abcc2b5 | 656023a9537014e11fb0505749129ce2f22d1d41 | /common/shapes.cc | d758dcba3e189801af3135928f2bb375d3eb9921 | [] | no_license | twinkarma/poly2tri | 701069789983f9dc73e8bdb80c7f21b962746847 | cdc6f518892221ab0ae774c5fafa90a0f559fde8 | refs/heads/master | 2021-05-03T04:59:15.456896 | 2018-02-07T14:57:17 | 2018-02-07T14:57:17 | 120,628,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,154 | cc | /*
* Poly2Tri Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code m... | [
"hi@twin.uk.com"
] | hi@twin.uk.com |
ed472228f3d5f44cd7744e0208a35baa16e64ce3 | ab3493fc0ed9cfb7c1a8916164cd04839cae2b57 | /src/toolchain/core/CodeDom/ReturnExpression.h | 894bfa563a45ca8ca11d95d080699b02c7483133 | [
"BSD-2-Clause"
] | permissive | chetui/cc0 | 13df2720fcfa01d502e7c404c502153cc1aab596 | 98f199fc182f3730ef9f6bb65eacc7436862e97a | refs/heads/master | 2020-12-26T00:46:51.761499 | 2014-05-01T03:30:40 | 2014-05-01T03:30:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | h | #ifndef RETURNEXPRESSION_H
#define RETURNEXPRESSION_H
#include "Expression.h"
class ReturnExpression : public Expression
{
private:
Expression *_value;
public:
virtual Type* GetType();
virtual Expression* GetLValue();
virtual void Accept(ExpressionVisitor* visitor);
ReturnExpression();
ReturnE... | [
"Vincent@Lisa-PC.(none)"
] | Vincent@Lisa-PC.(none) |
f80661adf3af0d083880dc7f3618b55a47d114c4 | f14ea769199a846260a804865bbc4105d78d5e71 | /AssertionProj.cpp | 742ba201467994184aada6e0bbf169602b719889 | [] | no_license | zerosmart777/Dungeon-Escaper | 7b079e8d1514224c7db0585f800e3892339b0e43 | e263325f02a32bd148f3013f525fb26ac88134e1 | refs/heads/master | 2020-06-12T21:04:06.027660 | 2019-06-29T15:58:16 | 2019-06-29T15:58:16 | 194,423,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 752 | cpp | // AssertionProj.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include "pch.h"
#include <iostream>
#include <map>
#include "CWGame.hpp"
int main()
{
CWGame game;
if (!game.init())
{
std::cout << "Some error inside initilization";
return 0;
}
while (tr... | [
"50065934+zerosmart777@users.noreply.github.com"
] | 50065934+zerosmart777@users.noreply.github.com |
69463263ef174369ab35d0e0975ccba30b4ff036 | ad77154f4f9e7214c10cb1cd040efad9eb1c5160 | /Binary tree/Left View of Binary Tree .cpp | e1ed55889ec1819906513fdea1aa64427a8dd8ad | [] | no_license | Phoenix-RK/GeeksForGeeks | 17e745ad81ed1dda8df1a1021f32a13b0ad6c9ec | fd0b3323f836ba9abc148fb585953d16a399c0dd | refs/heads/master | 2021-05-16T20:53:51.253913 | 2021-02-04T16:44:24 | 2021-02-04T16:44:24 | 250,465,074 | 2 | 1 | null | 2021-01-20T12:36:10 | 2020-03-27T07:09:33 | C++ | UTF-8 | C++ | false | false | 3,582 | cpp | //Phoenix_RK
/*
https://practice.geeksforgeeks.org/problems/left-view-of-binary-tree/1
Given a Binary Tree, print Left view of it. Left view of a Binary Tree is set of nodes visible when tree is visited from Left side. The task is to complete the function leftView(), which accepts root of the tree as argument.
Left... | [
"noreply@github.com"
] | noreply@github.com |
840f0524bd6f4f4f08a5d1d485af9615085d54fd | 03d2c56158331505855a758a047743e782222ce6 | /utility/servo-init/servo-init.ino | 2fc4c11991a3c7325a3dfcecbb846294f9053938 | [] | no_license | DarthKipsu/potter | 512fd439a939fc2817d8e7d97072f69601b16ca9 | 8affaf6a7777d68808c9c9925e234f317ad1b245 | refs/heads/master | 2021-01-13T14:27:55.875034 | 2017-01-28T16:01:21 | 2017-01-28T16:01:21 | 79,047,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | ino | #include <Servo.h>
Servo servo;
void setup() {
servo.attach(3);
}
void loop() {
servo.write(90);
delay(2000);
servo.write(0);
delay(500);
servo.write(180);
delay(500);
}
| [
"darth.kipsu@gmail.com"
] | darth.kipsu@gmail.com |
32f7a57aa0f16dcef67036268dbc56886f489f76 | dba9a8852119805d4cd0c8b163637d08caac6f49 | /Mednafen/src/drivers/cheat.cpp | c0a39e0d47b38f93cea5e67869bbfd5b4477795b | [] | no_license | billy12/OpenEmu | b9d9ce6c72498ee6fe6f9d807abb0a6a72c2155d | cab889fbd7f06ab5b2c0ec91164319a7ad6e191c | refs/heads/master | 2020-12-25T05:53:21.496096 | 2011-05-16T00:18:59 | 2011-05-16T00:18:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,083 | cpp | /* Mednafen - Multi-system Emulator
*
* This program 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 2 of the License, or
* (at your option) any later version.
*
* This program is distrib... | [
"vade@vade.info"
] | vade@vade.info |
1261f0d606c89aeb483c86f853270936ee9625e4 | 4d225758c30ad6e9faa6645bf705d6e31135bf9a | /CompetitiveProgramming/MultiplesOf3&5.cpp | 02c809d65820b3c841f2531fd79b82926f603489 | [] | no_license | abhi311998/Programming | ba51198e7262213cba051f3f83407082a003008a | 664afaa24a0a0db2d88d95a5feec5f561a3a8e0f | refs/heads/master | 2021-07-18T15:28:21.704570 | 2020-07-23T03:58:13 | 2020-07-23T03:58:13 | 194,397,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
short T; //Test Case variable
cin>>T;
while(T--)
{
int n;
cin>>n;
n=n-1;
long long a,b,c;
a=n/3;
b=n/5;
c=n/15;
a=a*(a+1)/2;
b=b*(b+1)/2;
c=c*(c+1)/2;
cout<<(3*a+5*b-15*c)<<"\n";
}
}
| [
"noreply@github.com"
] | noreply@github.com |
a995279b35a1214222aa1bf8a5b1ef58c2c142b8 | 97c102e250d43099788a3fb48fb26a813fe6c543 | /Source/TP_IndieGame/TP_IndieGameCharacter.h | 52d87b45f752e50ab4a23df806f2cc0f6ebd80da | [] | no_license | tripaloz/TP_IndieGame | ca1f36cd89476eba4a1a7084c9079663680d9451 | 00a8f325e395dca2808efd475f6ed7a20857c683 | refs/heads/master | 2020-06-02T18:06:10.508392 | 2019-06-11T20:31:26 | 2019-06-11T20:31:26 | 191,259,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,384 | h | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "TP_IndieGameCharacter.generated.h"
UCLASS(Blueprintable)
class ATP_IndieGameCharacter : public ACharacter
{
GENERATED_BODY()
public:
ATP_IndieGameCharacter();
// Call... | [
"jsousa1990.o@hotmail.com"
] | jsousa1990.o@hotmail.com |
baf7fe591ad0fea402087c0b497099d9b4f207de | 8d953b8783bc94e835b092c72370ff7f4ead90dc | /Source/Gunslinger/Public/Abilities/GunslingerTargetType.h | e51b0d650104bdad6ddf07f57f7d8c5471e038bb | [] | no_license | mvoitkevics/Gunslinger | c9c906f56f4be15e94d05aac87b75baea4a899a2 | e7ed0a8458416df0fdf87cd6a3af5b0b6decebe6 | refs/heads/master | 2023-06-01T03:18:42.895253 | 2021-06-28T10:43:52 | 2021-06-28T10:43:52 | 237,199,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,263 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Gunslinger.h"
#include "Abilities/GameplayAbilityTypes.h"
#include "GunslingerAbilityTypes.h"
#include "UObject/NoExportTypes.h"
#include "GunslingerTargetType.generated.h"
class ACharacterBase;
class AActor;
struct... | [
"maksims.voitkevichs@hotmail.com"
] | maksims.voitkevichs@hotmail.com |
212fb75343a9c2e09dd32b2d8dd26c680b9dbbbf | a956e3514fa6f6a72ff9b69a1de500abaf72f511 | /cpp/Tree/111.minimum-depth-of-binary-tree.cpp | 4a1a1e509356c1c3a9533a3b0d35ba6ad69c226f | [] | no_license | linjielangdang/leetcode | f629f0ce4692e5642d1d283e5d36935217ff56cb | a271460707aac12fd075c4e377b1f1e39999be47 | refs/heads/master | 2021-01-10T08:09:05.797233 | 2017-01-11T18:39:27 | 2017-01-11T18:39:27 | 49,800,632 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int minDepth(TreeNode* root)
{
if(NULL == root)
{
return 0;
... | [
"linjiexin@haizhi.com"
] | linjiexin@haizhi.com |
1508fa99a2ca9db610f2ee9cf18f97ebafa8a249 | 4851746b4c0dd2a8f7dd56b73e7d40c6775c2d99 | /src/player.h | 840ad8a0106ef1bc734c458e4a1e5849c01e713e | [] | no_license | LeandroPerrotta/DarghosTFS04_86_v2 | 41a4e9afd1445b5be34d29e4769a75395d323e67 | 91543b631118e3d13688500c2e72580dd9c18246 | refs/heads/master | 2023-06-17T22:38:06.685632 | 2021-07-16T12:33:48 | 2021-07-16T12:33:48 | 386,489,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,396 | h | ////////////////////////////////////////////////////////////////////////
// OpenTibia - an opensource roleplaying game
////////////////////////////////////////////////////////////////////////
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License ... | [
"leandro_perrotta@hotmail.com"
] | leandro_perrotta@hotmail.com |
95fcf825cefb7ca4e654a20f0187a3b1a29cd392 | 09d4eaa620b7cff09ea94ef8a9e5da8271f59166 | /A1/q2.cpp | 3f3fe01c1b94f97dc7af69dd2b2aca143ccb6fbd | [] | no_license | codekaust/Network-Lab-2019 | c9003a2ba83b68ffda9d885eacdcf299e61a5aca | bba22cd87590c17ff9ec494249acc9006b34e049 | refs/heads/master | 2020-06-23T18:38:18.445117 | 2019-10-16T21:26:15 | 2019-10-16T21:26:15 | 198,718,135 | 0 | 0 | null | 2019-10-01T14:50:49 | 2019-07-24T22:33:04 | HTML | UTF-8 | C++ | false | false | 663 | cpp | #include <sys/ioctl.h>
#include <linux/if.h>
#include <netdb.h>
#include <iostream>
#include <string.h>
#include <bits/stdc++.h>
using namespace std;
int main()
{
struct ifreq ifr;
int fd = socket(PF_INET, SOCK_DGRAM, IPPROTO_IP);
string result;
char buffer[3];
strcpy(ifr.ifr_name, "enp3s0");
... | [
"kaustubh1303@gmail.com"
] | kaustubh1303@gmail.com |
650495e2f03940dce93cd9d2a426622fb625581d | 53deb48e966ea536b3b5d964b1940dfbda0484cb | /include/gen_prog/factory/manager.hpp | b0b7c0e8992948d03aba5bbc7cd479b32f2a3758 | [
"BSL-1.0"
] | permissive | ledocc/gen_prog | f9fcfbbae1222fbb9a75a89975c5102032b56c86 | 447a5525bdc4a39cc3fdf5328b847426a0257aaf | refs/heads/master | 2021-12-07T04:18:44.721667 | 2021-12-03T09:55:14 | 2021-12-03T09:55:14 | 13,192,585 | 0 | 1 | null | 2016-11-15T16:23:50 | 2013-09-29T13:12:38 | C++ | UTF-8 | C++ | false | false | 1,601 | hpp | #ifndef GEN_PROG__FACTORY__MANAGER_HPP_
#define GEN_PROG__FACTORY__MANAGER_HPP_
#include <unordered_map>
#include <boost/functional/factory.hpp>
#include <boost/function.hpp>
namespace gen_prog {
namespace factory {
template <typename T>
using factory_generator = boost::function<T*()>;
template <typename Ident... | [
"callu.david@gmail.com"
] | callu.david@gmail.com |
2f3f9411667d19201d4bec96aa80af6bdbbbecf2 | 350a99c4955c1d7bd56345b0f38ea26c10ff03ad | /Data_structure_labs/Week_2/Task_3.cpp | 8cbcaad0a8157c93b05ba22b3dfdcb2ecc5fc0de | [] | no_license | shadid-reza/Lab_work_3rd_semester | b981ac249de21d5f37596cc4e61c5da76deb44c4 | 46a2c784b7cf5814ce72c858bb9f80c86f8b1777 | refs/heads/main | 2023-09-06T07:56:36.592862 | 2021-10-28T22:44:56 | 2021-10-28T22:44:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,419 | cpp | #include <bits/stdc++.h>
#include <stack>
using namespace std;
//main function
int main()
{
int n;
cin >> n;
while (n--)
{
stack<int> result;
string postfix;
cin >> postfix;
// iterating through the string
for (int i = 0; i < postfix.size(); i++)
... | [
"hmshadidreza@gmail.com"
] | hmshadidreza@gmail.com |
318b2e70b0b7528b685c80572b64d7653c880a47 | 08b17eb651963352921ccb596b7c61be4a40cdb2 | /Video-Tools/Bitstream.h | af36af4c32f4e641d2fb5c4f11ab9e878f9a6bdc | [] | no_license | BrunoReX/avimuxgui | c798baf50d0bcb4572a97267eb8b5a58c9705ab5 | bfe14ecd7bf6fc34c5cab4c241ed788dd6b04b38 | refs/heads/master | 2021-01-19T15:01:28.551533 | 2014-03-17T21:27:03 | 2014-03-17T21:27:03 | 17,843,935 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,578 | h | #ifndef I_BITSTREAM
#define I_BITSTREAM
#include "basestreams.h"
#include <deque>
#include "types.h"
#include "IBitStream.h"
class BITSTREAM : public virtual IBitStream
{
protected:
DWORD dwCurrBitPos;
void virtual LoadWord(void);
WORD wData;
int ReadBit(int iFlag = 0);
public:
BITSTREAM(void) { so... | [
"brunorex@gmail.com"
] | brunorex@gmail.com |
e6943f48714e3b02fb7a5c79706afdc28b792165 | 58b9c017c7c293c618342ca4be269284b2ec8405 | /src/CSVReader.h | 21e3d9475464c9abf5b0ade5f7ec1cf1129d6128 | [] | no_license | josh-byster/uiuc-professor-rating | aa53df1b1326b4c6443ecdbb64ba5195009057d1 | fea2ab64dff65581c696f8e41337ed56c196828d | refs/heads/master | 2020-03-15T08:42:10.589564 | 2018-05-03T02:58:34 | 2018-05-03T02:58:34 | 132,057,473 | 1 | 0 | null | 2020-02-12T09:32:59 | 2018-05-03T22:51:01 | C++ | UTF-8 | C++ | false | false | 428 | h | //Note: this functionality is based loosely on the following
//tutorial: http://thispointer.com/how-to-read-data-from-a-csv-file-in-c/
#ifndef CSVREADER_H
#define CSVREADER_H
#include <string>
#include <iostream>
#include <vector>
#include "Course.h"
class CSVReader {
public:
CSVReader(std::string filename) : fi... | [
"joshb1050@gmail.com"
] | joshb1050@gmail.com |
58ca5597879fdb08d8070a59d8a8403094ec4b3d | 9e56fee7b5c530c17d62ded40973b65a7b4e8038 | /courier/src/courier/Programs.h | 8f25f148a0273c76f3a7fb242e2378f183819f68 | [
"BSD-3-Clause"
] | permissive | yokwe/mesa-emulator | a567c969001b0e3f57f37afa85e5ca4a48440426 | 34882d07aa31b2a4599a0ca1f1ec479ab1e3c049 | refs/heads/master | 2021-07-30T20:42:13.424147 | 2021-07-24T00:28:26 | 2021-07-24T00:28:26 | 34,561,150 | 8 | 0 | null | 2020-10-13T10:15:27 | 2015-04-25T08:26:23 | Java | UTF-8 | C++ | false | false | 3,420 | h | /*
Copyright (c) 2019, Yasuhiro Hasegawa
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the ... | [
"hasegawa@ubuntudev.local"
] | hasegawa@ubuntudev.local |
fdbdf49935e46fa24bb1151a8fb082a53322bb37 | 00514cbfea1164262b91c1de279ffa21a0927b16 | /LocationMonitor/inc/MockLocationListener.h | fc14db59663033ee4f5a9061042579114cf2cc90 | [
"BSD-2-Clause"
] | permissive | PassionJHack/passion | 7e1ef1797600dcc003b5a9b167ab75a49021b386 | 06236f5d911dcbd5477d366e1cd8ef0c53b9b01c | refs/heads/master | 2016-09-05T18:24:10.990412 | 2014-09-24T07:42:34 | 2014-09-24T07:42:34 | 24,096,027 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 475 | h | /*
* MockLocationListener.h
*
* Created on: Sep 17, 2014
*/
#ifndef MOCKLOCATIONLISTENER_H_
#define MOCKLOCATIONLISTENER_H_
#include <FBase.h>
class MockLocationListener
: public Tizen::Base::Runtime::ITimerEventListener
{
public:
MockLocationListener();
~MockLocationListener();
void OnTimerExpired(Tize... | [
"coderiff@gmail.com"
] | coderiff@gmail.com |
0bef0371ade0e8728ee8ca82d3205329035fc8a2 | 4f84edd071ba95f236e6695985094ad399a5e1cd | /src/ValuationFunctions/MonteCarloFunctions/FunctionHelpers/OneStepMonteCarloValuation.cpp | 106ea30102a5fc52144710ee204c95e23251e6e7 | [] | no_license | Faiz00762/Cpp-Monte-Carlo-Value-at-Risk-Engine | b1e65db7ae9133d06d016421c61a07b86f0adf71 | 856ae7f198edb7b18a384a16e32a20e36e6f2f93 | refs/heads/master | 2022-12-08T04:50:29.579328 | 2020-08-12T05:19:11 | 2020-08-12T05:19:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 979 | cpp | #include "OneStepMonteCarloValuation.h"
#include "Random.h"
void OneStepMonteCarloValuation(const StandardExcerciseOption& TheOption, double spot, double vol, double r, double d, unsigned long numberOfPaths, MJArray normVariates, StatisticsMC& gatherer)
{
if (normVariates.size() != numberOfPaths)
throw("m... | [
"oscarun@KTH.SE"
] | oscarun@KTH.SE |
0132e8a2df177f8261b73764cc76a06079ae0d33 | 0588e908e8a7a7b87367c036c3df407d88b38700 | /src/test/transaction_tests.cpp | 7ed6d913a5632e241c0454ec17d37ebe93fe4494 | [
"MIT"
] | permissive | ShroudProtocol/ShroudX | d4f06ef262b28aeb115f1ebbd9432e1744829ab0 | 369c800cbf4a50f4a7cd01f5c155833f1ade3093 | refs/heads/master | 2023-04-23T05:12:02.347418 | 2021-05-04T20:28:55 | 2021-05-04T20:28:55 | 302,146,008 | 2 | 4 | MIT | 2020-12-07T10:18:21 | 2020-10-07T19:56:30 | C | UTF-8 | C++ | false | false | 35,798 | cpp | // Copyright (c) 2011-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "data/tx_invalid.json.h"
#include "data/tx_valid.json.h"
#include "test/test_bitcoin.h"
#include "miner.h"
#include ... | [
"edgar.keek@gmail.com"
] | edgar.keek@gmail.com |
166ace2053bc0edd28cc9cb54bf18624b831e79f | 6b25b6b444e7adf2b073734787f72575e69ca672 | /src/i2c_mpu6050_node.cpp | 42f559647710b3d5488efbcc9af32802243e558a | [] | no_license | Spritaro/simple_ros2_imu_driver | f2cdd3270cb006765ccc2bd8c98c4cf9bb407789 | 0b8b01bea3f482fb1391c1d68b6378147b3b0b36 | refs/heads/master | 2020-07-30T20:07:56.880853 | 2019-11-25T10:36:19 | 2019-11-25T10:36:19 | 210,343,781 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,840 | cpp | #include <chrono>
#include <math.h>
#include <rclcpp/rclcpp.hpp>
#include <string>
#include <sensor_msgs/msg/imu.hpp>
#include <fcntl.h>
#include <linux/i2c-dev.h>
#include <sys/ioctl.h>
#include <unistd.h>
class I2cMpu6050Node : public rclcpp::Node
{
public:
/* constructor */
explicit I2cMpu6050Node(
... | [
"k5dot.feb@gmail.com"
] | k5dot.feb@gmail.com |
4df4eca18e73c2f05b7043d1be6873a87ae4d954 | 2f58f7f7834d6f16b0f22d77fc55042f5ede0b0f | /kglt/camera.h | b8e528b16c02073b69c5f8639e159745cadbe231 | [
"BSD-2-Clause"
] | permissive | Nuos/KGLT | 1da0c1e0a4ad49b3e2c5855bf0de8419366eb159 | b172ca304577a0a2df194757ad2ef328ddf3078d | refs/heads/master | 2021-01-12T13:28:04.918040 | 2016-09-27T20:21:52 | 2016-09-27T20:21:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,749 | h | #ifndef CAMERA_H_INCLUDED
#define CAMERA_H_INCLUDED
#include "deps/kazmath/mat4.h"
#include "generic/identifiable.h"
#include "generic/managed.h"
#include "utils/parent_setter_mixin.h"
#include "object.h"
#include "frustum.h"
#include "renderers/renderer.h"
#include "sound.h"
namespace kglt {
class Camera;
enum C... | [
"kazade@gmail.com"
] | kazade@gmail.com |
4c96e6c0267cc056d28f2440740b0e7f73807459 | 8048f1230657ae59685d469283fde91f9e841ec8 | /src/core/LogView.h | d2cee6297b42f2fedddd77ff4694ca3e34ed6999 | [
"Unlicense",
"MIT"
] | permissive | LUGGPublic/CG_Labs | be332f6268f331924c3e0a21e94dfa8adef1c709 | 9b9339ee987c4f034ab8a2b06a0820a65d042a2b | refs/heads/master | 2022-10-26T16:52:02.414354 | 2022-10-07T08:21:37 | 2022-10-07T08:21:37 | 67,523,404 | 20 | 58 | Unlicense | 2022-09-21T21:54:39 | 2016-09-06T15:56:32 | C++ | UTF-8 | C++ | false | false | 571 | h | // TODO: Timestamp
#pragma once
#include "Log.h"
#define BUFFER_WIDTH 512
#define BUFFER_ROWS 64
namespace Log {
class View {
public:
static void Init();
static void Destroy();
public:
static void Render();
private:
static void Feed(Log::Type type, const char *msg);
static void ClearLog();
private:
static... | [
"pierre.moreau@cs.lth.se"
] | pierre.moreau@cs.lth.se |
547fc229c17b524f5bf43de480af5a3e5304b1d7 | b072860f8483ba0cef1105e0f9a17d8bbc0068e0 | /point2mesh/point2mesh.cpp | 0c771e9f5b80f631984074e761dd6baedf2f2b75 | [] | no_license | gispda/hybrid_pipeline | dd3ccd746a8a7afa5626b325f8618af4826f35ec | b8838bd7fc92c009f0dd3598ddb85cf79fd73877 | refs/heads/master | 2020-03-21T22:29:39.581333 | 2016-04-19T03:20:22 | 2016-04-19T03:20:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,005 | cpp | #include "mex.h"
#include <string.h>
#include <math.h>
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) {
double* vertex = mxGetPr(prhs[0]); //arg0: num_rows x num_cols x 3 double matrix
unsigned int num_cols = mxGetN(prhs[0])/3;
unsigned int num_rows = mxGetM(prhs[0]);
... | [
"victorbai@Victors-MacBook-Pro.local"
] | victorbai@Victors-MacBook-Pro.local |
787319393d1a0e41ed8bfea2dcbdb2177a1318d9 | 3b68f6bf248c3aaa7e8a7bce6762ac397c189f38 | /server/core/src/catalog_utilities.cpp | 181b6379127246e40737dfa8e85cb9aceed30e4a | [
"BSD-3-Clause"
] | permissive | qitsweauca/irods | 8fd214063ccfed24659925e7fb6b0c4df93fa94f | a4ea27a5abd78c320f3af7e7624b8f9d02d08167 | refs/heads/master | 2023-04-21T06:42:24.692383 | 2021-05-12T20:05:39 | 2021-05-17T03:04:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,331 | cpp | #include "catalog_utilities.hpp"
#include "rcConnect.h"
#include "rodsConnect.h"
#include "miscServerFunct.hpp"
#include "irods_logger.hpp"
#include "irods_rs_comm_query.hpp"
namespace
{
using log = irods::experimental::log;
auto connected_to_catalog_provider(RsComm& _comm, const rodsServerHost& _host) -> bo... | [
"terrellrussell@gmail.com"
] | terrellrussell@gmail.com |
aa6d1bfdefd7f2f7654085b7f6d8d7224d130a88 | f9653d9b17c41644df3685e47759c3e88bfc8750 | /v1/AI Sandbox/Config.h | 8c0af5cee6ef1fe9c838a565dbfdfdfd3377f46c | [
"MIT"
] | permissive | willihay/ai-sandbox | 81d603715e1258825828311a03ddd621d0695faa | b3b20d2529dc70aa1c5dbc02a3643502f191833f | refs/heads/master | 2020-04-04T21:50:32.558135 | 2018-12-02T01:31:07 | 2018-12-02T01:31:07 | 156,300,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 890 | h | #pragma once
namespace Config
{
bool LoadConfigFile();
// General
extern int ConfigVersion;
// Behavior modules
extern char BehaviorModule_DefaultPriorityLevel;
extern float Follow_DefaultDistance;
extern char PlayerInput_DefaultPriorityLevel;
// Game objects
extern float GameObject_DefaultCoefficientFriction;
exte... | [
"willihay@bensam.org"
] | willihay@bensam.org |
77f988bb8a9397d6457013f23a6a8ab835e16095 | 9029dc0601cf34f98b8bf797f0b6145cf1264ca3 | /src/lin3d/aabb.h | 2bda26536f522b4afe96cd547af58614a5f3d5c6 | [] | no_license | lsccsl/lin3d | c38bd67de464e81da73161f02f6df9602a632ac5 | 89f98c4c7a47f6cec227ccb3fa63d6460f6b35e9 | refs/heads/master | 2023-04-22T01:12:11.059651 | 2021-05-12T01:56:14 | 2021-05-12T01:56:14 | 346,627,501 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,071 | h | /**
* @file aabb.h
*
* @author lin shao chuan (email:lsccsl@tom.com)
*
* @brief if it works, it was written by lin shao chuan, if not, i don't know who wrote it
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that t... | [
"shaochuanlin@skyunion.net"
] | shaochuanlin@skyunion.net |
9c31e314892d9ee7805cb00ae069702f57188d04 | 6731b328ce4a49867a5287c44816a9c1cefeae01 | /matrix.hpp | 28e47b81b69c1128818261200a09979729313ad4 | [] | no_license | raul-cayo/Boost_uBLAS_GSoC18 | 2898f079a393bc3ffc83c0f556f43563ea6609a5 | e83e04911f1eebfab19fb5d9f7dd4236ab7d8cf0 | refs/heads/master | 2021-04-18T22:18:17.201524 | 2018-03-25T15:59:40 | 2018-03-25T15:59:40 | 126,711,235 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,373 | hpp | #ifndef MATRIX_HPP_INCLUDED
#define MATRIX_HPP_INCLUDED
#include <vector>
#include <string>
#include <iostream>
#include <algorithm>
using namespace std;
/// -------- EXCEPTIONS --------
class MatrixException : public exception {
private:
string msg;
public:
explicit MatrixException(const char* message) ... | [
"raul.sanchez.cayo@gmail.com"
] | raul.sanchez.cayo@gmail.com |
458592930436c8ed381984f9e909bc74043c52bd | 0c3b5fab13497d38bcb2c516c4692cb212b133f6 | /polygon.cpp | f39fbb57947d119e50015ebd6fc27047f9203c01 | [] | no_license | Liangsanzhu/NJU2019cv | 58ce0b38a0d7a5daa55d31ba8cf4c1d56f2963e9 | 18382c8afd21a61576f1130d92c739a06489b641 | refs/heads/master | 2022-03-31T18:55:30.116641 | 2020-02-05T16:33:36 | 2020-02-05T16:33:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,706 | cpp | #include "polygon.h"
#include"line.h"
Polygon::Polygon(int ID_NUM,QString a, int*cf_temp,int LineWidth_temp,QPixmap*pix_temp,int**Gra,int l,int w)
{
id=ID_NUM;
algorithm=a;
cf[0]=cf_temp[0];
cf[1]=cf_temp[1];
cf[2]=cf_temp[2];
cf[3]=cf_temp[3];
pix=pix_temp;
pnts=NULL;
... | [
"noreply@github.com"
] | noreply@github.com |
09d3a1a34076a1042a025877e5a792daa47ca6e7 | 20a0e47f59f2e0fea922495179dbd418b32fe014 | /nestedtensor/csrc/creation.h | 26cdd00adea5a744414d2b8bf44344a7fb571cb2 | [
"BSD-3-Clause"
] | permissive | cpuhrsch/nestedtensor | 7b65c2538c4904d6488f0096e77f73860765977e | a97e1f6fc1650372bcb149d1fc243dde87514dcf | refs/heads/master | 2022-06-07T19:44:09.117107 | 2022-03-15T16:35:23 | 2022-03-15T16:35:23 | 205,246,373 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | h | #pragma once
#include <nestedtensor/csrc/nested_tensor_impl.h>
#include <nestedtensor/csrc/py_utils.h>
namespace torch {
namespace nested_tensor {
NestedNode<py::object> py_to_nested_node(py::object&& py_obj);
at::Tensor nested_tensor_impl(
pybind11::sequence list,
pybind11::object dtype,
pybind11::objec... | [
"noreply@github.com"
] | noreply@github.com |
445764d90fa5bfcc3346b934b8856357b8c87aa7 | c844665c3a4ae3d3ce737d16c7974f729497d0ee | /include/Scripting/CastScriptNode.h | 898e6024defca093481a87a64238d1dea6c34354 | [
"BSD-2-Clause"
] | permissive | forkrp/Enjon | de642b38ab6c9cac3d69bf7a624f3588a24b8c9a | 405733f1b8d05c65bc6b4f4c779d3c6845a8c12b | refs/heads/master | 2022-03-14T00:34:50.930488 | 2019-11-18T15:58:23 | 2019-11-18T15:58:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 685 | h | #ifndef ENJON_CAST_SCRIPT_NODE_H
#define ENJON_CAST_SCRIPT_NODE_H
#include <Scripting/ScriptNode.h>
namespace Enjon { namespace Scripting {
template <typename T, typename K>
struct CastNode : public ScriptNode<CastNode<T, K>, K>
{
CastNode()
{
Input = nullptr;
}
void Execute()
{
static_cast<T*>(t... | [
"mrfrenik@gmail.com"
] | mrfrenik@gmail.com |
78b54f5af61575b9e48a11643741234a50cf7d17 | 4c48058a86b379721c66aaec7bc3193a35ea6457 | /GIGAengine/video.cpp | 1d473d2465f39b057ff32b1fa9ed743c594379e7 | [] | no_license | msqrt/GIGAengine | 59e6a7f90859c73b184b5f7c7e56518c583f1cc9 | 9038e85b6d48803fefa60153e7ad353fdfc21af4 | refs/heads/master | 2020-04-10T09:25:43.725753 | 2013-10-07T16:06:21 | 2013-10-07T16:06:21 | 10,426,370 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,746 | cpp |
#include "main.h"
#include <comdef.h>
HRESULT textureGrabber::CheckMediaType(const CMediaType *mediaType) {
width = 0;
if(*mediaType->Type() != MEDIATYPE_Video || *mediaType->Subtype() != MEDIASUBTYPE_RGB24 || !mediaType->IsValid())
return S_FALSE;
if(((VIDEOINFOHEADER*)mediaType->pbFormat)->bmiHeader.biCompr... | [
"pauli.kemppinen@hotmail.com"
] | pauli.kemppinen@hotmail.com |
5fdde801b6cf5c0fd9217a1b84c665eb1ae2cccc | 761f82a78bb65f93580b0cf2f30ad8b06462b65c | /BinarySearch.cpp | 3873403753eda445c247bca2d06c1709df9dc5ba | [] | no_license | Paritosh456Pancholi/Data-Structure-and-Algorithm | 1128ebb195e31e520451fdf723a98bd8159c4eed | 1e4dfcece04bf33bde4b6aa07b4b90be6392c38d | refs/heads/main | 2023-06-28T19:59:01.965996 | 2021-08-04T17:51:14 | 2021-08-04T17:51:14 | 373,918,761 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | cpp | #include<iostream>
using namespace std;
int binarySearch(int arr[], int n , int key){
int start=0;
int end=n;
while(start<=end){
int mid=(start+end)/2;
if (arr[mid]==key){
return mid;
}
else if (arr[mid]>key){
end=mid-1;
}
... | [
"noreply@github.com"
] | noreply@github.com |
d96930d1911fa1ed07184cd3ddd8ef9b9d95e7b3 | d26a306d0dc07a6a239e0f1e87e83e8d96712681 | /ZOMCAV2/main.cpp | d4be4cffd0a5d7de58f6a2621d17f4b0a6ff73a7 | [] | no_license | umar-07/Competitive-Programming-questions-with-solutions | e08f8dbbebed7ab48c658c3f0ead19baf966f140 | 39353b923638dff2021923a8ea2f426cd94d2204 | refs/heads/main | 2023-05-19T03:05:48.669470 | 2021-06-16T18:36:22 | 2021-06-16T18:36:22 | 377,588,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,611 | cpp | #include <bits/stdc++.h>
using namespace std;
void add(long long int arr[], int N, int lo, int hi, int val)
{
arr[lo] += val;
if (hi != N -1)
arr[hi + 1] -= val;
}
void updateArray(long long int arr[], int N)
{
// convert array into prefix sum array
for (int i = 1; i < N; i++)
arr[i] ... | [
"mdu07100@gmail.com"
] | mdu07100@gmail.com |
c0bd7575e712042aa1a2b20ad84c69975a150c0c | d2249116413e870d8bf6cd133ae135bc52021208 | /SkinControls/Test/Test.h | 12443bce64f17f217a286b7f015d1271ba7c6a68 | [] | no_license | Unknow-man/mfc-4 | ecbdd79cc1836767ab4b4ca72734bc4fe9f5a0b5 | b58abf9eb4c6d90ef01b9f1203b174471293dfba | refs/heads/master | 2023-02-17T18:22:09.276673 | 2021-01-20T07:46:14 | 2021-01-20T07:46:14 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 475 | h |
// Test.h : PROJECT_NAME 应用程序的主头文件
//
#pragma once
#ifndef __AFXWIN_H__
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif
#include "resource.h" // 主符号
// CTestApp:
// 有关此类的实现,请参阅 Test.cpp
//
class CTestApp : public CWinApp
{
public:
CTestApp();
// 重写
public:
virtual BOOL InitInstance()... | [
"chenchao0632@163.com"
] | chenchao0632@163.com |
9f8c000a11d96f923364481f82fa158e4902b2a5 | eccdf178b4cc1e89a78e28f774088179d2473443 | /indexer/document/document.cpp | 884c8ee153135c650b8b0bb077ff85ae8b8b4edc | [] | no_license | MRsummer/GogoEngine | adb746e5072ded3906ea4e2ee7e7d35beec759b1 | b60ebf47859ec50ff9b521616d7e8a3f214bc419 | refs/heads/master | 2020-03-29T14:00:54.992616 | 2013-03-31T06:18:39 | 2013-03-31T06:18:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,097 | cpp | #include "document.h"
Regx Document::titleRegx =
Regx("<title>([^<]*)</tiltle>");
Regx Document::descRegx =
Regx("<meta[^>]*name=[\'\"]description[\'\"]"
"[^>]*content=[\'\"]([^>]*)[\'\"][^>]*>");
Regx Document::kwordsRegx =
Regx("<meta[^>]*name=[\'\"]keywords[\'\"]"
"[^>]*content=[\'\"]([^>]*)[... | [
"zhu_guangwen@bingyan.net"
] | zhu_guangwen@bingyan.net |
79a18f96ccfe17814bffb96a94d8372b9db71f2c | 68c07259df374db79c031cc73cafadf779a52253 | /example.h | 06afc52e19d4d205fae02f5512c33efc58906139 | [] | no_license | TheSandDoctor/Pybind-mwbot-tests | 1b8c3af75b908de17e4fa53915e40e4670799565 | 89c3e350336697f3be95868c19ab92380ad16499 | refs/heads/master | 2020-03-11T16:32:06.374967 | 2018-04-24T04:09:36 | 2018-04-24T04:09:36 | 130,119,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,321 | h | /**
Copyright (C) 2018 Kyle Wilson <majorjohn1@mail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights to
use, copy, modify, me... | [
"twitter@markyrosongaming.com"
] | twitter@markyrosongaming.com |
73a937314e55040b8ec02112646ce5e04baee530 | 7a8ab491ee2683287ae4bc14ad56d40946c942fa | /workdir/src/common/management/manager_avoidance.h | 59fdd5f6af9747d9d4da27d0e44b5b40d26e4cc3 | [] | no_license | MenshovSergey/FlockProject | aae1611b115757f2d363ee3160eda9b820059773 | cd3f06307ed9e36a91544446ae3bcdc1d7156af1 | refs/heads/master | 2021-01-10T16:20:37.882253 | 2015-12-17T07:32:33 | 2015-12-17T07:32:33 | 48,161,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 736 | h | #pragma once
#include<management/manager_base.h>
namespace object
{
class manager_avoidance
: public manager_base
{
public: //info_mod
state get_state () override;
state_vis get_state_vis () override;
int get_type () override;
public: //semantic
... | [
"menshov-sergej@yandex.ru"
] | menshov-sergej@yandex.ru |
546a34d4cad49718ad389cc3447d70d885c60813 | f94710e5e4edddcb99aa285dd63ea629084f226c | /src/BaseLocation.h | 6b5e44ef85926cd89fb5ba41880b106cbc7fdea0 | [
"MIT"
] | permissive | andrewssobral/SassySpecter | e10efed4818b710dd0a4f8e43669d78b02ca0860 | d534732f6901e1e552aca7b1d5e4f4131cbca884 | refs/heads/master | 2020-12-22T10:02:49.651828 | 2020-01-28T13:06:27 | 2020-01-28T13:06:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,801 | h | #pragma once
#include "Common.h"
#include "DistanceMap.h"
#include "Unit.h"
#include <map>
#include <vector>
class SassySpecterBot;
class BaseLocation
{
SassySpecterBot & m_bot;
DistanceMap m_distanceMap;
CCTilePosition m_depotPosition;
CCPosition ... | [
"florian.richoux@polytechnique.edu"
] | florian.richoux@polytechnique.edu |
f87d2d5d7dae849907289e9538717fb03f34c6cd | f204bb9d936fb787e4501b36ce2b229d1fc08f38 | /parser/include/csv.hpp | 68491ad6a16035dab3a735bb1eb476ec27f6b572 | [] | no_license | u123056/cxx-tasks | 2ea25fb0adb383f117e25503967620c3c1dd7d78 | 3dee07653d0fc80c76f6fab0e1fb65412c0e1d26 | refs/heads/master | 2020-04-02T04:02:40.614636 | 2019-01-18T08:54:07 | 2019-01-18T09:41:07 | 153,996,888 | 0 | 0 | null | 2019-01-18T09:41:08 | 2018-10-21T10:36:21 | C++ | UTF-8 | C++ | false | false | 1,830 | hpp | /* CSV parser.
* @file
* @date 2018-08-15
* @author Anonymous
*/
#ifndef __CSV_HPP__
#define __CSV_HPP__
#include <string>
#include <vector>
#include <boost/spirit/home/x3.hpp>
#include <boost/spirit/home/x3/support/utility/error_reporting.hpp>
#include "parser.hpp"
#include "quoted_string.hpp"
/* An example o... | [
"igsha@users.noreply.github.com"
] | igsha@users.noreply.github.com |
6862bb2b10cc2567c4e1bb56d91ff41d5a340611 | d0af4ec3045ca773d2540989ffd2c990db884d09 | /src/Magnum/Implementation/RendererState.cpp | e72bd24cc3998a3224350c4be1c6df8f1d0bb80c | [
"MIT"
] | permissive | WasserEsser/magnum | 830fddbd67074f6bf47ae32a88c7fbfb8e03ea1a | 52613a2ad94e7c6f11c7898e162f636db7d07980 | refs/heads/master | 2021-05-02T08:26:07.550661 | 2018-02-01T14:42:03 | 2018-02-01T14:42:32 | 120,804,004 | 1 | 0 | null | 2018-02-08T19:00:15 | 2018-02-08T19:00:15 | null | UTF-8 | C++ | false | false | 4,630 | cpp | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018
Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to d... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
145fbc70b142a4c90525550867c1840c0495fbbc | 26303826fe1ced3ae2de169e81aca9a799bda027 | /absolute.cpp | 6b3f3eb2a1a0010221af11e6d7f195b89cac5ae0 | [] | no_license | Gemma-B/CPP-Practice | a67536f0d0aaa3ae46c0650103c27aa3380d3365 | 618041e08b30c22b352f46fd4ddf103423d24104 | refs/heads/master | 2021-06-09T17:35:57.161877 | 2016-12-23T05:41:03 | 2016-12-23T05:41:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | cpp | #include <iostream>
#include <cmath>
int main() {
std::cout << "ENTER YOUR NUMBER" << std::endl;
double absoluteNumber;
std::cin >> absoluteNumber;
if (absoluteNumber == 0) {
std::cout << "The absolute value of 0 is 0 " << std::endl;
}
else {
absoluteNumber = pow(pow(absoluteNu... | [
"gemma@bertain.net"
] | gemma@bertain.net |
d4dfd8c2addb5ab8ec63adb02d4d44eae29f6dce | 0c360ce74a4b3f08457dd354a6d1ed70a80a7265 | /src/components/application_manager/include/application_manager/commands/mobile/end_audio_pass_thru_request.h | add6d2497e7168014ea08487581bc0aac4859b96 | [] | permissive | APCVSRepo/sdl_implementation_reference | 917ef886c7d053b344740ac4fc3d65f91b474b42 | 19be0eea481a8c05530048c960cce7266a39ccd0 | refs/heads/master | 2021-01-24T07:43:52.766347 | 2017-10-22T14:31:21 | 2017-10-22T14:31:21 | 93,353,314 | 4 | 3 | BSD-3-Clause | 2022-10-09T06:51:42 | 2017-06-05T01:34:12 | C++ | UTF-8 | C++ | false | false | 2,847 | h | /*
Copyright (c) 2013, Ford Motor Company
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this
list of conditions and the fo... | [
"luwanjia@aliyun.com"
] | luwanjia@aliyun.com |
f203e863bc0a35d1c3ad1b1b5879409b985711f1 | 8e69e9ccf958a834576e762fcd3d560842c4dbec | /libstudio/includes/triangle.hpp | 1a8db4d7870c5741eae09c859b122a4143db2d72 | [
"MIT"
] | permissive | mzdun/studio | 45e2c4cf768f01c87b803a7bcd4614207ef148af | 3e05e3f2987f10c2aa4ad7c3f94a01f09feca669 | refs/heads/master | 2021-01-21T01:46:30.388522 | 2013-07-27T16:47:27 | 2013-07-27T16:47:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,928 | hpp | /*
* Copyright (C) 2013 Marcin Zdun
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use, copy,
* modify, merge, publish, d... | [
"mzdun@midnightbits.com"
] | mzdun@midnightbits.com |
e218d74b64ef5b67f33f2a847d2a69e2c95d7014 | 74a62b00ab9d6a810b0f4802aa3d943e2d614bfa | /LeetCode51-100/LeetCode060.cpp | 99afe89fafd963d4fa1a74562af3a89dea9de443 | [] | no_license | House1993/acmicpc | b5a14080dab1cc73e21cd380522644e737556fe5 | bca75b4d1f5bde0d4e6124f4b314076619114529 | refs/heads/master | 2021-01-01T05:18:05.816356 | 2017-10-26T07:54:43 | 2017-10-26T07:54:43 | 59,340,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 997 | cpp | //
// Created by 房籽呈 on 2017/5/26.
//
/**
* 题解:
* http://blog.csdn.net/houserabbit/article/details/72764544
*/
class Solution {
public:
string getPermutation(int n, int k) {
vector<int> presum;
vector<int> factorial;
for (int i = 0; i <= n; ++i) {
presum.push_back(i);
... | [
"HouseFangFZC@gmail.com"
] | HouseFangFZC@gmail.com |
ce1ea8fddb16b1d890c5c3803e762c08a22c4b24 | 39eae5cc024b6631a3a77853afed6983d8af31fe | /mix/workspace_vs/YY_WJX/BlurFind/BlurFind.cpp | 12bd22cffe0322b1a592077f04574d5ac079859c | [] | no_license | SniperXiaoJun/mix-src | cd83fb5fedf99b0736dd3a5a7e24e86ab49c4c3b | 4d05804fd03894fa7859b4837c50b3891fc45619 | refs/heads/master | 2020-03-30T06:21:14.855395 | 2018-09-28T03:32:55 | 2018-09-28T03:32:55 | 150,854,539 | 1 | 0 | null | 2018-09-29T10:44:41 | 2018-09-29T10:44:41 | null | GB18030 | C++ | false | false | 4,570 | cpp | // BlurFind.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include "iostream"
#include "string"
#include "vector"
#include <hash_map>
using namespace stdext;
using namespace std;
bool IsBlur(unsigned char c1,unsigned char c2,char c);
bool BlurFindStr(string &strSource,string &strFindCell);
bool Find(strin... | [
"244540499@qq.com"
] | 244540499@qq.com |
94d05bef01cea383a4c871964069da9fc4b2020c | ac9e8b1032292f300623eae6a69eecbb9f29fed0 | /Q1/PRO1/CONS3/prova.cc | ad9d6eda27a575e1621e4003c75e759eac15e6b5 | [] | no_license | ericfib/UPC-FIB | 284888753cf300bbbf801b38e4a62eb5861e7c2b | 0cb178994d0ec0be9cab978f9c090641c0b074b9 | refs/heads/master | 2020-12-14T15:34:06.554808 | 2020-04-15T16:41:33 | 2020-04-15T16:41:33 | 234,789,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | cc | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
struct prova {
string part;
};
int main (){
vector<prova> s (5);
for (int i = 0; i < s.size(); i++){
cin >> s[i].part;
}
for(int i = 0; i < 5; i++){
if (s[i].part[0] == 'c') cout << s[i].part << endl;
}
}
| [
"ersele46@gmail.com"
] | ersele46@gmail.com |
bc09352b36d57627559304d72419eba60535c6fd | 56c0cca18382143d3aa033554df17eea742379e3 | /OLC game jam 2019/StickmanAnimationStay.h | 37b1208251fe92dfa167fcfa8b4cdf59542cdec7 | [] | no_license | Meridor6919/OLC-game-jam-2019 | 07b10cd0536a0915bcf92da016f726163afd61c3 | 6d8f967b1b91afed28909fd6e3b10bf4ed16dcbf | refs/heads/master | 2020-07-15T09:25:36.137704 | 2020-04-27T10:57:38 | 2020-04-27T10:57:38 | 205,532,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | h | #pragma once
#include "Animation.h"
class StickmanAnimationStay : public Animation
{
public:
StickmanAnimationStay(DirectX::SpriteBatch* sprite_batch, ID3D11Device* device)
{
frame_time = 0.2f;
path = L"Graphics\\StickmanStay.png";
frame_width = 250;
frame_height = 250;
number_of_frames = 1;
Animation::... | [
"michalbalicki@o2.pl"
] | michalbalicki@o2.pl |
8f16af06014458b0e83a7ae1d9d0cb461dd226d6 | f05ccad530089bad49b88383738ebdbe74fecaf8 | /vsConfig/vsConfig2/vsConfig2_1/vsConfig2_1.cpp | e80d15d66a2817566c6601b85f63dc50e9ee6be6 | [] | no_license | Xudoge/Xudoge-PersonalC-Study | 1256ed136ab18238149c8fd76d420c4647b96518 | 7e415acf032fb1869d04a07dae1cd127324d04af | refs/heads/main | 2023-01-10T20:39:41.986279 | 2020-11-17T12:55:05 | 2020-11-17T12:55:05 | 305,564,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 842 | cpp | // vsConfig2_1.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include <iostream>
int main()
{
std::cout << "Hello World!\n";
}
// 运行程序: Ctrl + F5 或调试 >“开始执行(不调试)”菜单
// 调试程序: F5 或调试 >“开始调试”菜单
// 入门使用技巧:
// 1. 使用解决方案资源管理器窗口添加/管理文件
// 2. 使用团队资源管理器窗口连接到源代码管理
// 3. 使用输出窗口查看生成输出和其他消息
// 4. 使用错误列表窗口查看错误
// 5. 转到... | [
"490207448@qq.com"
] | 490207448@qq.com |
6609b904668fb4e38fea8d3938727ebc47520b52 | 065514567124ae77a1c18ac3a05cdbd5a479bde1 | /MeshIO/FEGMshImport.h | 35044219bc7113ea205e3be6cec6be00ea46216e | [
"MIT"
] | permissive | davidlni/FEBioStudio | d6b1f61304c104e33e6b1b1e8d522c19c95aa154 | 324d76b069a60e99328500b9b25eb79cf5a019e8 | refs/heads/master | 2023-08-17T09:04:30.943726 | 2021-09-28T21:19:29 | 2021-09-28T21:19:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,724 | h | /*This file is part of the FEBio Studio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio-Studio.txt for details.
Copyright (c) 2020 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any per... | [
"michaelrossherron@gmail.com"
] | michaelrossherron@gmail.com |
d8bae03ee4d9bde10a35d40cd2c5aca74ea5041a | 8e516fb6fc53c12df53d80653f14e262c303cbd2 | /Source/lua_cdp_functions/lua_cdp_functions_time_texture.h | acb846881bbb4ffcf7d9bbd6839af4fc43743c52 | [
"MIT"
] | permissive | loganmcbroom/Altar | 8a087b3902e03962af45ce9e4ad9baa42aebf38f | 90b447c6dc8c612cb6c9bf999596ebae747592d2 | refs/heads/master | 2021-01-09T20:53:51.767702 | 2018-06-20T06:59:06 | 2018-06-20T06:59:06 | 59,455,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,197 | h | #pragma once
#include "lua_cdp_utilities.h"
#define TEXTURE_MODAL_FUNC( process, params, flags ) \
int lua_cdp_texture_ ## process( lua_State * L ) \
{ \
int mode = lua_tonumber( L, 1 ); \
lua_remove( L, 1 ); \
if( mode > 5 ) \
return luaL_error( L, ( "lua_cdp_texture_" + std::string( #process ) + " h... | [
"noreply@github.com"
] | noreply@github.com |
437ba76fe158a3190463d01e20be9e7a6bfbdaf1 | c77cebb3029fc72928b035661a4da547b1f684bb | /uva/graphs/Special graphs - eulerian graph/UVa 10054 The Necklace.cpp | b61c9b93a14d793340446d4a1db90d42a6b612c5 | [] | no_license | HelderAntunes/competitive-programming | 37d9fde0d5c7a603277ce9b71e3cc5880a802aff | 0e143efedaed33876ecc7edf81d7f18885e70cba | refs/heads/master | 2018-12-21T19:05:54.141613 | 2018-09-29T22:05:12 | 2018-09-29T22:05:12 | 77,644,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,359 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <string.h>
#include <stack>
#include <algorithm>
#include <queue>
#include <set>
#include <climits>
#include <fstream>
#include <map>
#include <functional>
#include <sstream>
#include <bitset>
#include <list>
using namespace std;
typede... | [
"helder_antunes-@hotmail.com"
] | helder_antunes-@hotmail.com |
3aee028009fd797c644a25cede765a9e80a56b06 | 17d0bbf2697c85d42c2773f8e16c0bc50c030c6a | /curie_eeprom/curie_eeprom.ino | 472baac76db2181915d6fd31c88fd7bd5ab2087e | [] | no_license | backupbrain/arduino-projects | 17032ff11170e130e8eeef16e1c0f7b9cd4cc29b | d14b56d66e88b1e4cfd88bcee24df4fc80bf7c42 | refs/heads/master | 2023-02-03T17:02:48.575084 | 2020-12-23T21:45:39 | 2020-12-23T21:45:39 | 324,007,307 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | ino | #include "CurieEEPROM.h"
void setup() {
Serial.begin(9600);
while(!Serial);
Serial.println("Running EEPROM Test for Curie/101");
Serial.print("EEPROM Size: ");
Serial.print(EEPROM.length());
Serial.println(" (NOTE: Should be 1024)");
write_eeprom();
dump_eeprom();
}
void loop() {
delay(1000);
}
voi... | [
"backupbrain@gmail.com"
] | backupbrain@gmail.com |
febc26c616c2fb75fa9448930d513dfd1eaf465a | b1cc146e3a7bbc0ee28a14d3d4348a294d70da47 | /Betweenes_cenerality/short_path.cpp | bff8be633efd9f1f1064bb23803b8ae8ff033351 | [] | no_license | HMarsafy/Data-Structure-Project | 71fa1b62f00277b464f947ea52b419d7d0358587 | c83f998c39b4b733699f90422b952e6f4f0feca7 | refs/heads/master | 2022-02-01T07:51:15.349141 | 2019-07-03T12:13:13 | 2019-07-03T12:13:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | cpp | int minDistance(bool ShortpassSet[], int distance[], int numOfver)
{
int indexOfmin;
int min = int_max;
for (int i = 0; i < numOfver; i++)
{
if (distance[i] < min && ShortpassSet[i] == false)
{
min = distance[i];
indexOfmin = i;
}
}
return indexOfmin;
}
| [
"noreply@github.com"
] | noreply@github.com |
4c32dd840c69b7273b47d10f09c0c6fbdf5a0fbf | 7f60403f7027fd94021c00a4cbf4dba433f26013 | /include/disk_info.h | 5b85e040f7aecb68da0f3f8728dfd5862d41c613 | [] | no_license | bum2free/alac_converter | ab6e8f172894f42032dab331a78df29b3ec95fc6 | db8361abde28a0abe0ebcbfa7c080d8ce4217c4a | refs/heads/master | 2020-03-17T05:19:19.820702 | 2018-05-20T12:32:25 | 2018-05-22T04:18:03 | 133,311,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | h | #ifndef __DISK_INFO_H__
#define __DISK_INFO_H__
#include <string>
#include <sstream>
#include <vector>
class TrackInfo;
class CommonInfo
{
public:
virtual ~CommonInfo() = default;
int parse(std::string &line);
std::string title;
std::string performer;
std::string file;
std::string disc_id;
pro... | [
"eric_tj@126.com"
] | eric_tj@126.com |
6e40565f317fe4e1984df1ede2b356ab68e27b8c | af7b57e2c1da688289902b91c0c931a380efccf0 | /Zanshin/Networking/NetworkSingleton.h | d5136e90ace4ba51f558124e9e6f07823e36263b | [] | no_license | JuanCCS/Zanshin | c4f00c1b7d059b6eb1005e8d8df04bdbc800f03a | 0bf35b98f0e412d3abba5c25dd6ac997ddb3c743 | refs/heads/master | 2021-01-01T03:49:42.560714 | 2016-05-19T16:05:49 | 2016-05-19T16:05:49 | 56,642,412 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 689 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/Actor.h"
#include "NetworkSingleton.generated.h"
UCLASS()
class ZANSHIN_API ANetworkSingleton : public AActor
{
GENERATED_BODY()
public:
/** Returns the instance, creates it if it d... | [
"juanccs@juans-mbp.vfs.local"
] | juanccs@juans-mbp.vfs.local |
8d17603723352487e64c5137692326d8d4898b07 | d928ac698895ec2a276b2549ce8c0f2cf39d4e03 | /CodeForces/CF657Div2/A.cpp | c3f8cf0d36a3ebd88498718f0520dc06984236ec | [] | no_license | BlowHail/record-in-oj | bb066c979a804f8c957290544c74b8f3da28c2e8 | 2182145cbb03b4f8382eb927d2291b92e5c01b59 | refs/heads/master | 2023-03-18T23:44:56.351907 | 2021-03-13T06:33:50 | 2021-03-13T06:33:50 | 287,764,353 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,121 | cpp | #include <cstdio>
#include <iostream>
#include <algorithm>
#include <cstring>
#include <string>
#include <stack>
#include <queue>
#include <cmath>
#define ll long long
#define pi 3.1415927
#define inf 0x3f3f3f3f
#define mod 1000000007
using namespace std;
#define _int __int128_t
inline int read()
{
int x=0,f=1;
... | [
"1144062115@qq.com"
] | 1144062115@qq.com |
80eec68f8988aba9ac9cd6481a9084f760a020d0 | 6bf4991a04d6f28948cf397a6850f0f02401cd5a | /myCode/lastOne/main.cpp | 141a0c613e1268c3cd844051542d3e38bed36a96 | [] | no_license | lishaohsuai/hw_software | ac3ffddd35ea829c65198e7164a3a6fdab94c25c | e92b81de9ea21bcf91cdfc8489a585b4f4bcea5f | refs/heads/main | 2023-03-02T03:52:41.483442 | 2021-01-09T02:21:59 | 2021-01-09T02:21:59 | 328,053,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,252 | cpp | #include "header.hpp"
#include <stdio.h>
#include <algorithm>
#include <thread>
#include <cstring>
#include <time.h>
#include <iostream>
#include <sstream>
#include <sys/mman.h>
#include <unistd.h>
#include <fcntl.h>
#define TEST
static const int threadCount = 4;
static const int MAXID = 220000;
// 以下数组存储图
static int G... | [
"l049188593@qq.com"
] | l049188593@qq.com |
c9134893fcf1553d1a4017c89b1cbb33c44bee54 | b5fbc8a3c3700b563b98132520b76b0228eca174 | /CodeForces/Contest1354(div2)/Contest(div3)/Diego/G.cpp | 7d8412133f9ef86bde9594b267f7c85c77c64aad | [] | no_license | juandiegocastano/Competitiva | 09efd94499e6d15af1b8a0a9cb7b234bd32b3492 | c303b703e52e0c534c1fe22333a85bb76dd50537 | refs/heads/master | 2022-12-27T05:10:39.172466 | 2020-10-08T21:35:06 | 2020-10-08T21:35:06 | 301,774,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,777 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
struct edge {
int u, v;
LL cap, flow;
edge() {}
edge(int u, int v, LL cap): u(u), v(v), cap(cap), flow(0) {}
};
struct dinic {
int N;
vector<edge> E;
vector<vector<int>> g;
vector<int> d, pt;
dinic(int N): N(N), E(0), g(N), d(N), pt(... | [
"j.castano@utp.edu.co"
] | j.castano@utp.edu.co |
c40b3bcc258c4608fec1acb4142e22a9aaae888c | a92a96fe76a90f335227676f4ac963c71f5211aa | /Peg.h | 9dca46342f1063ce4b79c4c3eacc73a89b37d698 | [] | no_license | ClayMStamper/AI-4346---Final-Project | acbaf1f0ed3fd26810097c770abf4d5eb8f7065f | 9451b10275712271698bb3d9c49454ac367e77b2 | refs/heads/master | 2020-09-15T13:36:57.474711 | 2019-11-25T15:52:21 | 2019-11-25T15:52:21 | 223,462,001 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | h | //
// Created by clays on 11/22/2019.
//
#ifndef AI_PROJ2_PEG_H
#define AI_PROJ2_PEG_H
#include "vector"
#include "Disk.h"
#include "Debug.h"
class Peg : public IConvertToString {
public:
std::vector<Disk> disks;
int offset, height;
public:
Peg(int ringCount, int height);
~Peg() ... | [
"claystamper@gmail.com"
] | claystamper@gmail.com |
6db92b15d7f65026feab830c3038c6deb27c8390 | 6515a1f37574522fa831e6daa2a3e8678b866756 | /src/esp/gfx/MaterialData.h | 018a9484fdd3ec893af18453701511b7349df8ba | [
"MIT"
] | permissive | ROAR-ROBOTICS/habitat-sim | 42a27f726146d966d3e5f3fae940c4bdcf6cdba9 | 7db914d23f462e4451ea4d84be4b39fcd47a1926 | refs/heads/master | 2022-12-30T15:14:20.450331 | 2020-10-15T22:30:03 | 2020-10-15T22:30:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,040 | h | // Copyright (c) Facebook, Inc. and its affiliates.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
#ifndef ESP_GFX_MATERIALDATA_H_
#define ESP_GFX_MATERIALDATA_H_
#include <Magnum/GL/Texture.h>
#include <Magnum/Magnum.h>
#include <Magnum/M... | [
"noreply@github.com"
] | noreply@github.com |
2f1cdb4fe30d949f86b2187ab9c0885e13fb87f4 | 76171660651f1c680d5b5a380c07635de5b2367c | /SH6_43mps/0.34/p | d6d2a26fb155f772c2267e5736d7db0697908ec1 | [] | no_license | lisegaAM/SH_Paper1 | 3cd0cac0d95cc60d296268e65e2dd6fed4cc6127 | 12ceadba5c58c563ccac236b965b4b917ac47551 | refs/heads/master | 2021-04-27T19:44:19.527187 | 2018-02-21T16:16:50 | 2018-02-21T16:16:50 | 122,360,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 166,000 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.x |
... | [
"alexmayes@gmail.com"
] | alexmayes@gmail.com | |
2dfee31cd083b26534786af3647d20e2dba8c417 | 16863691d6e9b72a8655621bd2663108d144aadc | /l2-rel-1-2/src/l2maxlib/registry/drivers/textini/src/l2TextIniCategorySerializer.cpp | fb8b8d7567b56069f74a2b9f6e064bb12f8dca79 | [] | no_license | L2-Max/l2ChipTuner | 9ca3b1a435ef0adcf13105e5b56a4553b9bdffd1 | 9c54b6cecec29de3c992ec54adf1223549b5d309 | refs/heads/master | 2020-02-26T13:58:16.082017 | 2012-07-27T17:31:44 | 2012-07-27T17:31:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,074 | cpp | /*
* l2TextIniCategorySerializer.cpp
*
* Created on: 31.03.2009
* Author: L2-Max
*/
#include "l2TextIniCategorySerializer.h"
namespace l2max
{
namespace Registry
{
namespace Driver
{
CTextIniCategorySerializer::CTextIniCategorySerializer( const SCategoryMembers& aMembers, int anI... | [
"fmax@ukr.net"
] | fmax@ukr.net |
46a7ace9f03e75598c4f8b92ca2fc9eb26f10201 | c3e64bccc6edb651e784ff98727ecdf21e1a0f20 | /Laboratorio3/Laboratorio3/Gestor.h | 6d5bbddc9bc7637607adeef8b9fa31756026e8bf | [] | no_license | IsabelGaleano/Laboratorio3ED1 | d8d8feab32511efee8a3e60a7427e4b6add65ccb | dcbebe497633c8dc7e5bb961f2e1f6f0cd9e823f | refs/heads/main | 2023-06-07T04:47:16.565132 | 2021-07-04T19:23:04 | 2021-07-04T19:23:04 | 381,202,612 | 0 | 0 | null | 2021-07-04T19:23:05 | 2021-06-29T01:16:29 | C++ | UTF-8 | C++ | false | false | 230 | h | #pragma once
#ifndef GESTOR_H
#define GESTOR_H
#include "Cola.h"
#include "Pila.h"
#include "Nodo.h"
class Gestor
{
public:
Gestor();
void pilaACola(Pila* pila, Cola* cola);
void colaAPila(Pila* pila, Cola* cola);
};
#endif
| [
"isagaleano9@gmail.com"
] | isagaleano9@gmail.com |
05adc43022c2a3f090d80d1ee68c00d6fe0a4718 | edabe1504402a5690139bde3d825d61661e1ba2f | /mainwindow.cpp | 19a14aa742d7c16a00e699a40a2f6ad4350ac0c0 | [] | no_license | krunix23/mviapreview-ng | 16452e16036e7302c0d2fba7c4f4a9ced721b72f | 07353a3f6e270d630bf272fe05c436e25a1e4872 | refs/heads/master | 2016-09-05T14:24:40.248036 | 2015-05-03T17:28:03 | 2015-05-03T17:28:03 | 34,993,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,195 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
//-----------------------------------------------------------------------------
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow), pDevMgr(0)
//-----------------------------------------------------------------------------
{
... | [
"stuntman.mike@mail.com"
] | stuntman.mike@mail.com |
ee1477168b0282ebfb029bf943fea660ff804c47 | 295b0fe3ed6729cb9373facb1295c8abb40a815b | /usaco/section_1_4/arithmetic_progressions/arithmetic_progressions.cpp | 072b73f04bbac5c4855d4674ecf238135a4b60e0 | [] | no_license | wbc91/code-practice | f1ec79a3bed5d720d8cfaa154d89e6c7b1225d34 | 23ddd1fd5e52645cd222ef6c373444f4056626a7 | refs/heads/master | 2021-01-24T03:48:17.673811 | 2018-01-14T16:48:40 | 2018-01-14T16:48:40 | 47,622,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,109 | cpp | /*
ID: 08300242
LANG: C++
TASK: ariprog
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAXN 125010
int cmp(const void *va, const void *vb) {
return *(int*)va - *(int*)vb;
}
int main(void) {
int M,N;
FILE*fin, *fout;
fin = fopen("ariprog.in", "r");
fout = fopen("ariprog.out", "w");
fscan... | [
"beichen.wang@dena.local"
] | beichen.wang@dena.local |
e333a78d323fd27578138c2c9590029a230834a4 | 88114d91ae87c59fe812a064e02f67376603b3fc | /src/rpcrawtransaction.cpp | 437856706ff5676ff04d6b16d85ff83f7f2fc88e | [
"MIT"
] | permissive | kiwicoinnz/KIWI | 6130ff47137f34e3940854f7018fa8913a67843f | 9648e271827134d85ea21639a7a4d34223e4e5b5 | refs/heads/master | 2020-05-28T07:22:29.130068 | 2015-01-30T08:37:08 | 2015-01-30T08:37:08 | 30,063,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,229 | cpp | // Copyright (c) 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 <boost/assign/list_of.hpp>
#include "base58.h"
#include "bitcoinrpc.h"
#inclu... | [
"kiwicoinnz@gmail.com"
] | kiwicoinnz@gmail.com |
a42a44f38934c4f23b1e4fcb9842381d1e458427 | e02ffc92c563e842abb2fd23f68bce6688adc2d3 | /caer_my_filter/src/abmof_accel/abmof.h | bbbc1b18fb10024362297c47cf4e4fa971d99e1e | [] | no_license | wzygzlm/nnp_OF_SDx | 8d787617343afc9d5675300f108822b797f6ccf1 | 699b6852114a5d7645cb51d88087c094aefb06ea | refs/heads/master | 2021-06-23T18:50:06.659219 | 2019-07-04T08:33:14 | 2019-07-04T08:33:14 | 144,404,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | h | #ifndef ABMOF
#define ABMOF
// libcaer
#include <libcaercpp/devices/davis.hpp>
// socket
#include <iostream>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <unistd.h>
#include <string.h>
#define SLICES_NUMBER 3
#define DVS_WIDTH 240
#define DVS_HEIGHT 180
struct ... | [
"wzygzlm@gmail.com"
] | wzygzlm@gmail.com |
289b49c191a3473eeb89392376cbff041ad1514e | 0fed3d6c4a6dbdb49029913b6ce96a9ede9eac6c | /Summer2018/Personal01/O.cpp | 9ce15b2faeb39135c97189429bd753594d23a215 | [] | no_license | 87ouo/The-road-to-ACMer | 72df2e834027dcfab04b02ba0ddd350e5078dfc0 | 0a39a9708a0e7fd0e3b2ffff5d1f4a793b031df5 | refs/heads/master | 2021-02-18T17:44:29.937434 | 2019-07-31T11:30:27 | 2019-07-31T11:30:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,742 | cpp | #include <bits/stdc++.h>
using namespace std;
#define clr(a, x) memset(a, x, sizeof(a))
#define mp(x, y) make_pair(x, y)
#define pb(x) push_back(x)
#define X first
#define Y second
#define fastin \
ios_base::sync_with_stdio(0); \
cin.tie(0);
typedef long long ll;
typedef long double ld;
typed... | [
"zbszx040504@126.com"
] | zbszx040504@126.com |
88bd3d2867d54b25cab58f17b0fbd1715abbd9af | 55a2119d2a4abaebded1b7c55a2bd811488286e0 | /Channel.h | f55197e0e9245fe4b9c6a446f4b7855444fe1ef5 | [] | no_license | samuel-olivier/Animation | 859735113542483581a543536baf7d70e92b21fc | 1ef20b1466b44a3a39300e10bb74612a0de7ee67 | refs/heads/master | 2021-05-27T06:09:03.605027 | 2014-05-13T07:55:17 | 2014-05-13T07:55:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,196 | h | #ifndef CHANNEL_H
#define CHANNEL_H
#include <QVector>
class Keyframe;
class Channel
{
public:
enum ExtrapolateType {
Constant,
Linear,
Cycle,
CycleOffset,
Bounce
};
Channel();
virtual ~Channel();
QVector<Keyframe*> const& keys() const;
void ... | [
"skanight@hotmail.fr"
] | skanight@hotmail.fr |
b1d1479925cf7354f41b87b78c4b979246b16acc | 09c43e037d720e24e769ef9faa148f1377524c2c | /nil/random.hpp | 5a4c4c6add975050a12d48a68fd1e0cb24329d2e | [] | no_license | goal/qqbot | bf63cf06e4976f16e2f0b8ec7c6cce88782bdf29 | 3a4b5920d5554cc55b6df962d27ebbc499c63474 | refs/heads/master | 2020-07-30T13:57:11.135976 | 2009-06-10T00:13:46 | 2009-06-10T00:13:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,838 | hpp | #ifndef NIL_RANDOM_HPP
#define NIL_RANDOM_HPP
#include <vector>
#include <algorithm>
#include <nil/exception.hpp>
#include <nil/types.hpp>
namespace nil
{
namespace random
{
ulong uint();
ulong uint(ulong minimum, ulong maximum);
void seed(std::string const & data);
ulong advanced_uint();... | [
"akirarat@ba06997c-553f-11de-8ef9-cf35a3c3eb08"
] | akirarat@ba06997c-553f-11de-8ef9-cf35a3c3eb08 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.