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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a821bad6f52ab68ac6c36c26ad21928daaac2b8b | 1aad815f71c499e897ad2c48f3aa9904b64e1bb3 | /interfaces/ITestaTriangulo.h | e0d1f46b435ccb25880937e4df0af75689ce50a9 | [] | no_license | alvarobasia/estudo-dirigido-teste-de-software | 416dd1cac4600128ae1980c22c7acfe4dd4afac2 | 2653144f980190ffcc416b228ac8f84609d23167 | refs/heads/main | 2023-03-04T16:35:45.596281 | 2021-02-16T21:59:44 | 2021-02-16T21:59:44 | 339,541,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | h | //
// Created by alvaro on 2/5/21.
//
#ifndef UNTITLED_ITESTATRIANGULO_H
#define UNTITLED_ITESTATRIANGULO_H
class ITestaTriangulo {
public:
virtual bool testa_lado_triangulo(float ladoTestado, float primeiroLado, float segundoLado){
return false;
}
};
#endif //UNTITLED_ITESTATRIANGULO_H
| [
"alvaro.araujo@aluno.ufop.edu.br"
] | alvaro.araujo@aluno.ufop.edu.br |
d1e849f06c06456adac7061e376be03b1635fbc3 | 019ad1399e62c126f53772eb76a1c742c6c78db6 | /Source/Match3UI/Public/Coord.h | 551d0d3550610867257681931c3662ab69538429 | [] | no_license | bubble8773/Match3UI | 903073212a9467f55da3e586db2c6928f76806f7 | ab5a11034ab2d2b197931dad5883077dc4cd0d24 | refs/heads/master | 2023-07-29T09:07:44.261862 | 2021-09-16T16:09:06 | 2021-09-16T16:09:06 | 407,237,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Engine/UserDefinedStruct.h"
#include "Coord.generated.h"
/**
*
*/
UCLASS(Blueprintable)
class MATCH3UI_API UCoord : public UUserDefinedStruct
{
GENERATED_BODY()
public:
UPROPERTY(Edit... | [
"bubble8773@yahoo.com"
] | bubble8773@yahoo.com |
30b50d4885488e92e4fbf55aff5f0edcfad05ce9 | 7dce4ebe0106adfb79cc161c541120cc3e03601e | /Cpp(6)/exercise/pe07/pe07-04.cpp | 6f75f21680d0b768298f53f56c42006ac2ed6e38 | [] | no_license | ab4295/C_plusplus_Training | 4212e14a907d33731ac198a48e49cbbe73d87b9a | 32068687664e3b6fd66ce6654b4356417629b586 | refs/heads/master | 2020-06-16T14:46:37.286403 | 2019-07-07T05:07:16 | 2019-07-07T05:07:16 | 195,612,131 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,357 | cpp | // pe07-04.cpp -- 변형 로토 복권 승률 구하기
#include <iostream>
using namespace std;
// 참고: 어떤 C++에서는 long double형 대신에 double형을 사용해야 한다
long double odds(unsigned numbers, unsigned picks); // 함수 원형
int main()
{
double total, choices;
long double firstodds, secondodds = 0.0;
cout << "1회차: 전체 수의 개수와 뽑을 수의 개수를 입력하십시오: ";... | [
"sotagf31@gmail.com"
] | sotagf31@gmail.com |
1b788b5b36726caffb20bb5768c8122ebfa034ba | 13e3ac51b0e1ad95983c9dd281b8daa699205915 | /东方山寨/界面_选项_图形设置.ixx | 7c9f7b279fe333af575ecb8d9734bb1c39e10821 | [
"MIT"
] | permissive | cflw/dfsz | 54abca4cc3458c02e61617c692ef7006e9a144a1 | bcdd50f047803a2fb42e13b0b275f88b9f6f2953 | refs/heads/master | 2023-08-15T13:29:08.468788 | 2023-07-20T15:29:55 | 2023-07-20T15:29:55 | 174,764,147 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,953 | ixx | module;
#include <cflw视窗.h>
#include "程序.h"
#include "界面包含.h"
export module 东方山寨.界面_选项.图形设置;
export import 东方山寨.界面_选项.选项列表;
import 用户界面.控件;
namespace 视窗 = cflw::视窗;
export namespace 东方山寨 {
struct S分辨率 {
int m宽, m高;
int m比例宽, m比例高;
std::wstring fg显示名称() const; //宽x高(宽:高)
};
class W图形设置 : public W选项列表 {
public:
enum... | [
"cflw1994@msn.cn"
] | cflw1994@msn.cn |
62a5fbc2a2f96baa0565cefffb84e10d5b2f335a | c5f6f134613e5c6ad5c8f698d300ec7359be91e7 | /src/component/InputEventComponent.cpp | 107475e15893b89ffbbb3ae84f3dc2c565f28b1d | [
"MIT"
] | permissive | dualword/bomberman | c36ec5663718d70bae1411c2232edbce3f896749 | 2152557ba9462d7bfbc78012cad0bf12906bf7c4 | refs/heads/master | 2023-03-16T22:51:49.720817 | 2020-07-23T17:59:44 | 2020-07-23T17:59:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | cpp | /*
** EPITECH PROJECT, 2020
** OOP_indie_studio_2019
** File description:
** InputEventComponent
*/
#include "component/InputEventComponent.hpp"
InputEventComponent::InputEventComponent()
: IEntityComponent{ IEntity::EType::UNKNOWN, nullptr }
{
IEntityComponent::addComponent(InputEvent, this);
} | [
"theo.cousinet@epitech.eu"
] | theo.cousinet@epitech.eu |
e319dd9f8f9617cceb19dfb8d8ed76c62e599543 | 15fe2e21ac6749d6daf598930f913e142e91ee04 | /C3/3-5/itob.cc | 167269e555db381cf779fd125524bed7019de89f | [] | no_license | cuiy0006/THE-C-PROGRAMMING-LANGUAGE | 15d1de4f76df10841a275d448e823246d249e141 | f5431c6e78d91c7572a7c3d3ab040dec1860346c | refs/heads/master | 2020-12-02T02:09:47.390999 | 2020-06-01T13:26:53 | 2020-06-01T13:26:53 | 230,853,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | cc | #include "itob.h"
#include "util.h"
void itob(int n, char s[], int b){
int i = 0;
int sign = 1;
if(n < 0){
s[i++] = '-';
sign = -1;
} else if(n == 0){
s[i++] = '0';
}
while(n != 0){
int remainder = n % b * sign;
if(remainder > 9){
s[i++] ... | [
"yc2554@nyu.edu"
] | yc2554@nyu.edu |
f7c53e656173ba52f56232838b6595ea35e15276 | 561351152b82657e841297ccf04666e4655003e5 | /Problems/bzoj/3498.cpp | 5b651537e7c562b0cd4affb63f841ad15d597430 | [] | no_license | StHamish/Algorithms | 47e6655b96aeb74a8494b7e05e483a33ba6d4829 | e10557c3f757ee93645e64f897ef9aa45a22830e | refs/heads/master | 2022-04-06T22:40:32.584473 | 2018-05-22T03:25:42 | 2018-05-22T03:25:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,605 | cpp | #include <cstdio>
#include <cstring>
#include <cstdlib>
#include <algorithm>
using namespace std;
typedef long long ll;
int n,m,u,v,a[100010],d[100010];
struct Node{
int u,v;
};
int q[100010];
ll ans;
int cnt,Head[100010],Next[500010],To[500010];
namespace Hashmap{
int MOD=1000007;
int cnt,Head[1000007],Ne... | [
"2252870379@qq.com"
] | 2252870379@qq.com |
c468e8377fd22358ec59eb50bd9be9f7668af596 | 09a74d737490b78f51533e51e370a55e38692cbd | /NBMediaPlayer/src/extractor/NBMediaExtractor.h | 64e5c552ed6d8ea393f60bf7793488008f393808 | [
"MIT"
] | permissive | zuohouwei/NewBlashPlayer | 90b57076c9c0b142e338910a6b8d69e376ecf4c8 | af2104ff143ea885ff7a6808aa12b65c12203c1f | refs/heads/master | 2020-04-07T02:01:16.622611 | 2018-11-05T14:59:49 | 2018-11-05T14:59:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,228 | h | //
// Created by parallels on 9/7/18.
//
#ifndef NBMEDIAEXTRACTOR_H
#define NBMEDIAEXTRACTOR_H
#include <NBMediaPlayer.h>
#include "NBMacros.h"
class NBDataSource;
class NBMediaSource;
class NBMetaData;
#define MAX_META_DATA_COUNT 32
class NBMediaExtractor {
public:
NBMediaExtractor(INBMediaSeekListener* seek... | [
"bobmarshall890120@gmail.com"
] | bobmarshall890120@gmail.com |
ea799884befc6b9a542eaa5d8b9476f85892be87 | eef2a60bb909f9f077e6bf72af54666d10ffd686 | /DX11_Base/src/dx/dx11/ViewPort.cpp | ffbb856562c282c6fb6f5134d8dc3f5eb585297f | [
"MIT"
] | permissive | futamase/DX11_lib | 94df35a7e05c8644fde6bd0fdb52ca9da362a572 | b7f979565b6fb94a4eeca45aa390620e951b8595 | refs/heads/master | 2020-04-26T18:17:41.477333 | 2019-03-04T12:42:57 | 2019-03-04T12:42:57 | 173,740,539 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,869 | cpp | #include "ViewPort.h"
#include <cassert>
namespace tama
{
std::vector<D3D11_VIEWPORT> HorizontalDevide(float width, float height, unsigned int num)
{
std::vector<D3D11_VIEWPORT> vps;
switch (num)
{
case 1: //画面いっぱい
vps.emplace_back(CD3D11_VIEWPORT(0.f, 0.f, width, height));
break;
case 2: //上下半分
... | [
"misoni.s.8989@gmail.com"
] | misoni.s.8989@gmail.com |
bc7fe6a1749d3d3565d234938558ada3f8df67ac | c858428561af224d03197e90a8ab04f4700961dd | /TestProject/ParticleSystem.h | d721dac1feba20a28e13673a7d33996df0546571 | [] | no_license | Pointifix/ezg19-Candybreak | d154d89785333eac6845ccc37a17b6cc94917195 | 7711140ba02d6dfdc6ed19d52aeac6cba9de6636 | refs/heads/master | 2022-04-11T06:22:22.708458 | 2020-01-24T16:30:39 | 2020-01-24T16:30:39 | 214,554,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | h | #pragma once
#include "Shader.h"
#include <vector>
#include <random>
class ParticleSystem
{
public:
ParticleSystem(glm::vec3 position, int particleCount, glm::vec3 color, int mode = 0, glm::vec3 startDirection = glm::vec3(0,0,0));
~ParticleSystem();
glm::vec3 color;
int mode;
unsigned int current_particle_count... | [
"simon.pointner@gmx.at"
] | simon.pointner@gmx.at |
b2abb97f0e6d278faf65e9220ca79ce3159792a2 | ac176f429c420a8d6290c57df14346d207cff3de | /leetcodecpp/leetcode/TwoOneZero.cpp | 33d0f7a9fc65ce49bb138cf04ddc61ab6686ae06 | [] | no_license | xu20160924/leetcode | 72c6fc02428e568148af4503c63c6f2553982a1c | 43e12a3db5b4087913ec338e652ae7fd59859c23 | refs/heads/master | 2023-08-04T14:41:06.964273 | 2022-11-20T13:39:28 | 2022-11-20T13:39:28 | 252,931,114 | 0 | 0 | null | 2023-07-23T10:52:04 | 2020-04-04T06:57:49 | Java | UTF-8 | C++ | false | false | 7,745 | cpp | //
// Created by John on 2020/2/25.
//
#include "TwoOneZero.h"
#include <vector>
#include <deque>
#include <iostream>
#include "queue"
using namespace std;
class Solution {
//public:
// vector<int> findOrder(int numCourses, vector<vector<int> > & prerequisites) {
// vector<int> indegrees(numCourses), res;
... | [
"xu20151211@gmail.com"
] | xu20151211@gmail.com |
92a170490db348fdb57463e6db12c0381286a053 | 87f9b41c7e62001c7b8b38b192c1d405ea91ce91 | /Lib/DevExpress VCL/ExpressEditors Library/Demos/CBuilder/AboutDemoForm.cpp | 39a93ffe3bf9c0fb5664dd2e85dac8d4a1104ee2 | [] | no_license | peter-aryanto/Delphi-Utility | f67d23ecf04a3324923f1d01f9893c39b63346a0 | 682be6f3f500fe17077c82c81670e5cd0f01eb7c | refs/heads/master | 2023-03-06T16:31:49.481479 | 2021-02-16T14:10:06 | 2021-02-16T14:10:06 | 256,624,443 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,954 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "AboutDemoForm.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "cxContainer"
#pragma link "cxControls"
#pragma lin... | [
"peter.aryanto@gmail.com"
] | peter.aryanto@gmail.com |
cbd0f7ed08d13456f96ad384bb428a442aab75c6 | f80db8e0267764689d2b8f2d0ed3d313ffebaf9e | /BlinkyBike/BlinkyBike/Adafruit_NeoPixel.h | 08dbeee239909a8ccb1edd174a395092ee3960fe | [] | no_license | r15ch13/BlinkyBike | b8e953019eac7b519213a512ecd38598f3c74aae | 66d56898f4db4b0e05e5209b0c593ad2d605fa21 | refs/heads/master | 2021-12-13T16:25:03.306963 | 2016-12-13T12:40:38 | 2016-12-13T12:40:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,725 | h | /*--------------------------------------------------------------------
This file is part of the Adafruit NeoPixel library.
NeoPixel is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 ... | [
"nbesson@adeneo-embedded.com"
] | nbesson@adeneo-embedded.com |
3dfce312c0f136787579ed52feeda782fbf2c8fb | 5efe7a3bfec3b3390d0068691ab1deb94704337c | /demographic.cpp | b56d6d2bb403813d3ad891241ee6914dd84f4976 | [] | no_license | dougyfresh42/InsanityJam | 1071489e40e41ba4338ebfc495c61eadfde342f1 | f706e9d024e0254375ea8012c2fa48d520558f49 | refs/heads/master | 2021-01-01T19:50:27.438518 | 2014-04-09T01:59:51 | 2014-04-09T01:59:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,522 | cpp | //
// File: demographic.cpp
//
//
//
// @author ddm9373: Douglas Moyer
//
// // // // // // // // // // // // // // // // // // // // // // // //
#include "demographic.h"
#include <string>
#include <sstream>
#include <stdlib.h>
demographic::demographic() {
stance_ = new float[1];
}
demographic::~demograph... | [
"douglas.moyer42@gmail.com"
] | douglas.moyer42@gmail.com |
c17e4bae1bdd8e01c9da6a82d7d16376da3cf049 | cefc92919b5d3112f6147face6c73c3f503138dd | /RayTracer/Plane.h | af5eae73f7c8884aca3a5000a36d19da164ce448 | [] | no_license | FabioStrappazzonFHNW/raytracer | 5400fb233bc020be4afecf0f896e8516fd01257c | 7405e5b633dc41fbff5a97064e2d21079815799e | refs/heads/master | 2021-07-25T20:41:42.582873 | 2017-11-07T21:11:16 | 2017-11-07T21:11:16 | 109,889,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | h | #pragma once
#include "Object.h"
#include "Vec3d.h"
class Plane : public Object
{
public:
Plane(Vec3d pos, Vec3d norm, double r, Color color, double shine, double diffuse, double specular, double reflect, double emission);
virtual ~Plane() noexcept override = default;
Plane(const Plane&) = default;
Plane(Plane&&) ... | [
"fabiostra@hotmail.com"
] | fabiostra@hotmail.com |
e847683f7cfb269fa5008ad434c0619e2eb61b82 | 7a18ac32354f0e8d2e6b733f91e8b29d756897b1 | /VirtualWorld_CPP/DeadlyNightshade.h | 85a7b2eb438a2bde9c5dc3f492671c7f5613e643 | [] | no_license | iceShaver/VirtualWorld_CPP | e49f4aa1e71cfc819fcd3f7bc768024bef116d23 | fc96885a683654892acabc2e1adab390aa222ecc | refs/heads/master | 2021-01-19T16:48:08.238049 | 2017-04-24T01:20:52 | 2017-04-24T01:20:52 | 88,286,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | h | #pragma once
#include "Plant.h"
class DeadlyNightshade : public Plant
{
public:
DeadlyNightshade(World* world, OrganismPositon organismPositon);
~DeadlyNightshade();
ResistType resistsAttack(const Organism*otherOrganism)override;
void sow(const OrganismPositon& organismPosition) override;
};
| [
"kamil-krolikowski@outlook.com"
] | kamil-krolikowski@outlook.com |
2c5e0ce30aaa44189af78fcdafaf489388734cc1 | bc8e1a6e7c19f037545d8baa0e7606bcf34cb32f | /DirectXDemos/Application.cpp | b150ebb8667485d6694fe7f75a7b53146351d621 | [] | no_license | ljgdsq/DirectXDemos | ea58918a0947efc72804d0a66b267f4645a70b9c | db923e4e84ae18b4041028e1a799475c5056ab70 | refs/heads/master | 2023-03-08T08:00:17.835817 | 2021-02-22T03:27:16 | 2021-02-22T03:27:16 | 305,603,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | cpp | #include "Application.h"
Application::Application() noexcept :window(300, 200, "dx")
{
}
#include <cmath>
int Application::Run()
{
while (true)
{
if (const auto rt = Window::ProcessMessage())
{
return *rt;
}
//timer.Mark();
DoFrame();
}
return -1;... | [
"zhengshulin@libii.com"
] | zhengshulin@libii.com |
162b4f23f0032ff0e1663b81db4f8c4a4edeb106 | 0dcaabc70e6b77a5754ec4198645a2943bfdc8f3 | /pointers.cpp | a5ae01ee634fadfc15de9948d1243419e2fcce80 | [] | no_license | pra8eek/practice | a85af25798c3889316dde8a49a272f553c10f4d1 | f0e56f466bf186ed394cd608abb6c094d0f123ed | refs/heads/master | 2021-06-16T02:58:43.785007 | 2018-10-29T04:46:28 | 2018-10-29T04:46:28 | 146,840,912 | 1 | 1 | null | 2019-10-25T09:58:44 | 2018-08-31T04:15:15 | Python | UTF-8 | C++ | false | false | 1,262 | cpp | #include<bits/stdc++.h>
using namespace std;
void increment(void* ptr , int size)
{
if( size == sizeof(char))
{
char *ch;
ch = (char*) ptr ;
(*ch)++;
}
else if( size == sizeof(int))
{
int *n;
n = (int*) ptr ;
(*n)++;
}
}
int main()
{
int* p;
p = new int(10);
cout<<"Value = "<... | [
"prateek12499@gmail.com"
] | prateek12499@gmail.com |
8098b08970f37fd6e81830716d2ecc024b6d859b | c3bbdbbbc5f47577e332a280f81bd905617423c9 | /Source/AllProjects/CIDLib/CIDLib_BitSeq.hpp | 887389ec1c0f80740f6a71b52559c59074b58c86 | [
"MIT"
] | permissive | DeanRoddey/CIDLib | 65850f56cb60b16a63bbe7d6d67e4fddd3ecce57 | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | refs/heads/develop | 2023-03-11T03:08:59.207530 | 2021-11-06T16:40:44 | 2021-11-06T16:40:44 | 174,652,391 | 227 | 33 | MIT | 2020-09-16T11:33:26 | 2019-03-09T05:26:26 | C++ | UTF-8 | C++ | false | false | 6,863 | hpp | //
// FILE NAME: CIDLib_BitSeq.hpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 12/26/2001
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opensource.... | [
"droddey@charmedquark.com"
] | droddey@charmedquark.com |
98493a8062f10dcd41453b7b2d136bc9e739601f | 74486d7c9ec29f0ba46bb991766f55734dd8dcdf | /opt_alg.cpp | a32f4c6329db5e75e808d4530b1692a59136acc2 | [] | no_license | SlowikowskiMichal/MO | e25397e3a28f7402cb107eec4a399eb424536341 | 9713b4cadb3b068fe65917901314baff7e3cefe2 | refs/heads/master | 2020-09-22T14:20:08.602415 | 2020-01-19T22:21:12 | 2020-01-19T22:21:12 | 225,236,103 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,605 | cpp | #include"opt_alg.h"
#if LAB_NO>1
double* expansion(double x0, double d, double alfa, int Nmax, matrix O)
{
double* p = new double[2];
solution X0(x0), X1(x0 + d);
X0.fit_fun();
X1.fit_fun();
if (X0.y == X1.y)
{
p[0] = X0.x(0);
p[1] = X1.x(0);
return p;
}
if (X0.y < X1.y)
{
d *= -1;
X1.x = X0.x + d;
... | [
"slovik421@gmail.com"
] | slovik421@gmail.com |
ee0d93b7d4e371aaad715e6a5b7b05a81b2fca03 | b73a46dcf05ab7ba0f079779dcae7b428b76c546 | /C++/1106供应链最低价格.cpp | acce36d5f7a44de1994e0ddfff902a3f95f5c57c | [] | no_license | vei123/PATTestAdvanced | 1a665f278e8cc88c4342ed8e8bd489530ca9ba69 | 222f6e8efa45fadd3a432ba88475d9476591aba8 | refs/heads/main | 2023-07-28T12:47:55.908453 | 2021-09-09T10:21:06 | 2021-09-09T10:21:06 | 392,303,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 743 | cpp | #include<iostream>
#include<vector>
#include<iomanip>
#include<cmath>
using namespace std;
int n, minlevel = 0x7fffffff, number = 0;
long double p, r;
vector<vector<int>> v;
void dfs(int i = 0, int level = 0)
{
if (v[i].empty())
{
if (level < minlevel)
{
minlevel = level;
number = 1;
}
else if (level ... | [
"noreply@github.com"
] | vei123.noreply@github.com |
23afb459c2c6fb6897998686de3690ab786971e4 | db977ab0d78595545ddf90d16f8f86432798026e | /test/test_set1.cpp | a2904b9c534b133e833b574dc2c200389a7a18e6 | [] | no_license | coelebs/cryptopals | 8427d656e43770956451612e664b780a84c71783 | eaeb177d02c34be1a1487d900bce169713392c6f | refs/heads/master | 2022-05-01T14:56:34.661270 | 2018-05-02T17:57:50 | 2018-05-02T17:57:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,191 | cpp | #include <gtest/gtest.h>
#include "set2.h"
#include "base64.h"
TEST(Set1, Challenge1) {
std::vector<unsigned char> bytes =
hex_to_bytes("49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d");
std::string expected("SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3VzIG... | [
"vincent@kriek.org"
] | vincent@kriek.org |
f2828a605e70032923f6c6d6754295d027a8c7d5 | 3ab6cce7420f4e3ee880ed36eef7920f32a441b0 | /paddle/fluid/framework/details/bind_threaded_ssa_graph_executor.cc | 6d3c52dabbd0d8b0a6aab53893c3b5256f71a28e | [
"Apache-2.0"
] | permissive | Leonardo-Ding/Paddle | fc889fbbae8d9ffa2631e71024213eac85d3cee2 | 15297a065ce7e87ffef1a9c4d692361000ab27af | refs/heads/develop | 2023-02-27T04:58:56.691654 | 2021-02-08T06:13:34 | 2021-02-08T06:13:34 | 288,183,157 | 0 | 0 | Apache-2.0 | 2020-08-17T13:08:57 | 2020-08-17T13:08:56 | null | UTF-8 | C++ | false | false | 11,460 | cc | // Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | [
"noreply@github.com"
] | Leonardo-Ding.noreply@github.com |
caf9b1a531dd8373fb5338aebb125b5bb2fb8553 | 6370dc2805c996e009c694d779d5c430444ca25b | /include/hlife/hlife.h++ | 2737c7c3a95ffc396cab2f74dd43199b47b70f0b | [
"CC0-1.0"
] | permissive | blockspacer/yajna | 5f22bd35e3ba06f85ca9e4002b548819298ef77f | 74190e58624bbf1705d04b97352dff3b1cad9c87 | refs/heads/master | 2021-05-28T14:44:05.419873 | 2015-04-02T14:54:32 | 2015-04-02T14:54:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,100 | // Yajna
//
// Written in 2015 by Martinho Fernandes <martinho.fernandes@gmail.com>
//
// To the extent possible under law, the author(s) have dedicated all copyright and related
// and neighboring rights to this software to the public domain cellspacewide. This software is
// distributed without any warranty.
//
// Yo... | [
"martinho.fernandes@gmail.com"
] | martinho.fernandes@gmail.com | |
4299f661b72ea71ae328536bced4fe6f67a330ad | 8dc622012b8cf42b6fd917d8e798a87a20cfb558 | /tests/test_stl_code/test_std_map1.cpp | 563eb9e54d47b0bd482d4876fcc0deeb59b6e630 | [] | no_license | hbalp/callers | 379dfa5dffa8687a0c40e9d5def784d4bec05e42 | 22134fdb2e6cf1865af604271fdd1f708f4cb052 | refs/heads/master | 2021-01-21T13:57:44.747511 | 2018-11-18T17:11:11 | 2018-11-18T17:11:11 | 49,081,279 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 847 | cpp | #include <map>
#include <string>
#include <iostream>
// from http://stackoverflow.com/questions/8602068/whats-the-difference-between-stdmultimapkey-value-and-stdmapkey-stds
//template class std::basic_string<char>;
template class std::basic_string<char, std::char_traits<char>, std::allocator<char> >;
template class st... | [
"hugues.balp@thalesgroup.com"
] | hugues.balp@thalesgroup.com |
48668d8bed086a76d3c6a4286135dddcef870a55 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /objectdet/include/alibabacloud/objectdet/model/RecognizeVehiclePartsRequest.h | 7b4f97eb1c8fd45455d4f864d339024e27b7b351 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,803 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
776c214c5e0baef093087f4b899cc46477cbaefb | 9e742bd82373938dddfafee1edc7364db06d78b9 | /22-1-16/Euchre.cpp | 2f604b55ce7d57a35c5fc80bb637cd287972e3a0 | [] | no_license | Khawoat6/skill-by-cpe22 | 13f0dcaad7757b3d3c4536b37f57d9f9419990ee | 7b88d936c2eeedd24b5c723973b1a4d2d23fd10b | refs/heads/master | 2020-03-17T18:28:29.761924 | 2018-05-17T14:24:34 | 2018-05-17T14:24:34 | 133,824,486 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | cpp | #include <iostream>
using namespace std;
int main()
{
int a = 2 ;
int ar[2] = {1,1};
int ar2[2] ={1,1};
int ar3[2] ={1,1};
int ar4[1000] ;
int ar5[1000] ;
for (int j = 0 ; j != a ; j++ )
{
for (int i = 0 ; ar[0] != 0 && ar[1] != 0 && ar2[0] != 0 && ar2[1] != 0 && a... | [
"phattaraphon.c@ku.th"
] | phattaraphon.c@ku.th |
52f0fd2e20657a8ed41d22f677459a20c359fe07 | f42190636add23ead6a5022d706a124032d66f92 | /src/Microsoft.DotNet.Wpf/src/WpfGfx/core/resources/Drawing.h | 89fe09ca2ee43be6a8814449ec18cfcce3950203 | [
"MIT"
] | permissive | dotnet/wpf | b8f73a99e03f87b4dee5db643e38e2c0704f707a | 2ff355a607d79eef5fea7796de1f29cf9ea4fbed | refs/heads/main | 2023-09-04T09:35:19.355384 | 2023-09-03T02:30:37 | 2023-09-03T02:30:37 | 153,711,945 | 6,927 | 1,397 | MIT | 2023-09-14T17:22:06 | 2018-10-19T01:55:23 | C# | UTF-8 | C++ | false | false | 1,141 | h | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//+-----------------------------------------------------------------------
//
//
// Description:
// Abstract... | [
"vatsan.madhavan@microsoft.com"
] | vatsan.madhavan@microsoft.com |
440dd8d81fcc7f71bf4c494dd786df2000795f34 | b791d96744abee8e14c664bd84fd18f53652f00f | /125/125.cpp | fa0755d4fa2a94e9bf18a61f36e8ac2e85d13383 | [] | no_license | cxhscst2/Project-Euler | d8a5477832ab6d6f8c773fa2cb77e45460f3b9ed | 08c9a2e08a5370ec746156fb205e92ca6f0d0b53 | refs/heads/master | 2022-04-07T08:47:19.476452 | 2020-03-05T05:26:36 | 2020-03-05T05:26:36 | 236,263,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 855 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i, a, b) for (int i(a); i <= (b); ++i)
#define dec(i, a, b) for (int i(a); i >= (b); --i)
#define MP make_pair
#define fi first
#define se second
typedef long long LL;
const int N = 1e4 + 10;
LL c[N];
LL a[30], b[30];
unordered_set <LL> s;
inline bool... | [
"34940378+cxhscst2@users.noreply.github.com"
] | 34940378+cxhscst2@users.noreply.github.com |
e58f377bed613d1e502e0b6b678a45bdb58da512 | 94fb47a324a4c12a4c268bc3cfb83e41c2763fc2 | /Lesson3/sfml2.2/main.cpp | df12e980f4b66c3490cc40df38f486ed130d2ebc | [] | no_license | Eldor901/cpp_course- | d3507313f0002aeadc02a4de503149edcf431164 | 1a4b79f31338014fcafba974e7c07a9b04a80879 | refs/heads/master | 2021-09-01T22:14:55.246765 | 2017-12-28T21:09:53 | 2017-12-28T21:09:53 | 107,822,461 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,702 | cpp | #include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
#include <SFML/System.hpp>
#include <cmath>
constexpr unsigned WIDTH = 800;
constexpr unsigned HEIGT = 600;
int main()
{
constexpr int pointCount = 200;
const sf::Vector2f ellipseRadius = {400.f, 300.f};
const float period = 4.f;
sf::C... | [
"noreply@github.com"
] | Eldor901.noreply@github.com |
07f0ff9ca3551d992bf87525d8a5b8a1b5f4ed1f | 9417781f7a029e4adffa52740b0f6c5cc828f7a9 | /client/resources/qrunesScripts/include/QAlg/Algorithms/VQE/VQE.h | 20c77cfa399843d1c52ef4669ced375591538770 | [] | no_license | tf-github001/qurator-vscode | b8da9d8c3315de1aa6912514837cf8c36ea0b9a4 | b2a87dca0bc36560af3cf2e742d760fa7b7ad77e | refs/heads/master | 2020-04-17T03:52:25.602624 | 2019-01-17T09:42:22 | 2019-01-17T09:42:22 | 166,203,908 | 1 | 0 | null | 2019-01-17T10:05:27 | 2019-01-17T10:05:27 | null | UTF-8 | C++ | false | false | 5,135 | h | /*
Copyright (c) 2017-2018 Origin Quantum Computing. All Right Reserved.
Licensed under the Apache License 2.0
VQE.h
Author: LiYe
Created in 2018-09-28
*/
#ifndef VQE_H
#define VQE_H
#include <map>
#include <memory>
#include "QPanda.h"
#include "DataStruct.h"
namespace QPanda
{
/*
Variational Quantum Ei... | [
"hzg@originqc.com"
] | hzg@originqc.com |
ddb6157bbcea31a2323a4bdeb592827bddeb015c | 587c9ca429deca03bae0c2b2f6acfb73ee247b5b | /Lilu/Sources/kern_mach.cpp | 15f9b08b35cc4365a771cebe8368c5f944bbbd48 | [
"BSD-3-Clause"
] | permissive | AlGreyy/Lilu | fe40d382a1e5098e12de8de16fed4121deea1286 | ae1157fc764dc4dc7bc98ac9dc5e06abc0f08b96 | refs/heads/master | 2020-04-18T21:37:44.506393 | 2019-01-27T20:35:55 | 2019-01-27T20:35:55 | 167,769,913 | 1 | 0 | BSD-3-Clause | 2019-01-27T20:36:00 | 2019-01-27T04:41:20 | C++ | UTF-8 | C++ | false | false | 29,244 | cpp | //
// kern_mach.cpp
// KernelCommon
//
// Certain parts of code are the subject of
// copyright © 2011, 2012, 2013, 2014 fG!, reverser@put.as - http://reverse.put.as
// Copyright © 2016 vit9696. All rights reserved.
//
#include <Headers/kern_config.hpp>
#include <Headers/kern_compat.hpp>
#include <PrivateHeaders... | [
"vit9696@users.noreply.github.com"
] | vit9696@users.noreply.github.com |
00c5c0169d9fe3195e43bff639ba78efeef8064f | 1e8f569113c3803ce67f2ced8688f80dcf7bcb59 | /ZPG/GenericOctahedon.h | dac301353627280a43f104a7475e7f1db67ed5bb | [] | no_license | MGSE97/ZPG | e72b18bc1a956a9eedc75fc6d74aa2521210561d | 0d60938dd8f3646e24eaaae402a46e21deaeb097 | refs/heads/master | 2020-04-04T15:11:07.521298 | 2019-03-20T00:55:32 | 2019-03-20T00:55:32 | 156,027,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | h | #pragma once
#include "Collection.h"
namespace Engine
{
namespace Objects
{
static class GenericOctahedon
{
private:
GenericOctahedon();
~GenericOctahedon();
public:
std::vector<float>* vertices;
std::vector<unsigned int>* indices;
static GenericOctahedon* GetInstance();
};
}
}
| [
"elektrikar97@gmail.com"
] | elektrikar97@gmail.com |
baad1c0086ae1297439e310769e18bdc872020bd | 801ee73429ca869d7ee10d9fd39f434ed30e3ffd | /CameraJNI/jni/JNVCommon/JLogWriter.h | a94a5599ca0d77a18d0ddcd25ec3de4c0a948318 | [] | no_license | yangbin1026/CameraJni | f28ffa7275e0977b9f01219baa698a78a06e1143 | 1392455c61e70aaf2f5e96abad20595e4435c6ed | refs/heads/master | 2020-03-10T04:56:40.917180 | 2018-04-16T12:18:40 | 2018-04-16T12:18:40 | 129,205,286 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,913 | h | #ifndef __JLOG_WRITER__
#define __JLOG_WRITER__
#define JLOG_MAX_EXT_LEN 10
#define JLOG_DEF_FILE_LEN 1024*1024*5
#ifdef __ANDROID__
#include <android/log.h>
#define LOG_TAG "JLogWriter.h"
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__)
#define LOGI(...) __android_log_print(ANDR... | [
"qazxdrzxm@163.com"
] | qazxdrzxm@163.com |
f18d447626075e4994088bfe6afa777bd056dc29 | b54b6168ba35ce6ad34f5a26b5a4a3ab8afa124a | /kratos_2_2_0/applications/FSIapplication/custom_python/add_mappers_to_python.cpp | d0ebc7d18b7192945aea3f0b51a8a020ac164d88 | [] | no_license | svn2github/kratos | e2f3673db1d176896929b6e841c611932d6b9b63 | 96aa8004f145fff5ca6c521595cddf6585f9eccb | refs/heads/master | 2020-04-04T03:56:50.018938 | 2017-02-12T20:34:24 | 2017-02-12T20:34:24 | 54,662,269 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,479 | cpp | //
// Project Name: Kratos
// Last modified by: $Author: pooyan $
// Date: $Date: 2006-11-27 16:07:42 $
// Revision: $Revision: 1.1.1.1 $
//
//
// System includes
// External includes
#include <boost/python.hpp>
// Project includes
#include "includes/define.h... | [
"pooyan@4358b7d9-91ec-4505-bf62-c3060f61107a"
] | pooyan@4358b7d9-91ec-4505-bf62-c3060f61107a |
bd3e305e64825bc94bc02e1c1eed9e9281cc7e83 | edf6b2fa092641b23f5d8a0722fb6a502f1cbf76 | /settings.h | abaf8499ed01f21322eeb1a8b21b220db178d03b | [
"MIT"
] | permissive | radimkeseg/Neopixel-ProBall | e0e8b04964ed1f42d6b6e5ceb46d07c03af23e21 | 8249c83f1a28b962410856fe794fab7480db3c6c | refs/heads/main | 2023-03-13T06:28:58.701867 | 2021-03-05T17:51:32 | 2021-03-05T17:51:32 | 332,078,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,345 | h | /**The MIT License (MIT)
Copyright (c) 2017 by Radim Keseg
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, ... | [
"radim.keseg@hotmail.com"
] | radim.keseg@hotmail.com |
5106bb1dac2da475160a5da35bb142f7d81bcbcc | 751e12d5eb4ebf0b98c4f0e53f2fef42f10b4c8d | /fanLightControl_v2.0_fixed_error_mins/fanLightControl_v2.0_fixed_error_mins.ino | a4d25032948296df6ed3e818f55863f15a7d73cb | [] | no_license | rss775/arduino_projects | 89be47063a510aa8859bc939d8a876fc147fde6d | 01d282b3f7d53042a39c557e6f4c464b44202bf9 | refs/heads/main | 2023-05-28T11:57:38.547734 | 2021-06-05T04:36:18 | 2021-06-05T04:36:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,966 | ino | #include "ft_main.h"
void setup()
{
pinMode(RELAY_LIGHT, OUTPUT);
pinMode(RELAY_FAN_MAX, OUTPUT);
pinMode(RELAY_FAN_LOW_0, OUTPUT);
pinMode(RELAY_LIGHT_FAN, OUTPUT);
display_initialize();
first_run();
time.begin();
delay(500);
Serial.begin(9600);
dht.begin();
time_sync(); ... | [
"rail7755@gmail.com"
] | rail7755@gmail.com |
c6bc0ee019e3b3b136c034eb2bd26bcad83826fc | 1890f03be2d6515fcc8da5deebb40c06c564f3e5 | /src/core/Core.h | 74ee52470d901e473d73f8f4180592b747263976 | [
"MIT"
] | permissive | sunnymiesta/mask-cata | a78c2ed47251b12fde72ca27fa2cd228419f2d6e | 70d57a383dc67f7f875369bf0421e312caa68488 | refs/heads/master | 2020-03-19T12:52:59.289279 | 2018-06-09T03:05:13 | 2018-06-09T03:05:13 | 136,547,109 | 0 | 0 | null | 2018-06-08T00:51:34 | 2018-06-08T00:51:34 | null | UTF-8 | C++ | false | false | 11,660 | h | #pragma once
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/variables_map.hpp>
#include "p2p/NetNodeCommon.h"
#include "protocol/CryptoNoteProtocolHandlerCommon.h"
#include "Currency.h"
#include "trans/TransactionPool.h"
#include "block/Blockchain.h"
#include "IMine... | [
"root@nur1abs.nur1labshq.net"
] | root@nur1abs.nur1labshq.net |
5fb34c97b202689bad8505f261fe10e458d8b671 | c7c95304e164dcff3e023a3b2ea91f691be83930 | /Extern/il2cpp/24.2/il2cpp/libil2cpp/vm-utils/Debugger.cpp | b72d5f84990105b246f0f3bcea1e1346b632d409 | [] | permissive | TDToolbox/btdapi | a7bf47be2f53694d61aabbc978bc96cd1d6dce62 | b8349ef33d5bc2dacc85e96ced86dc37e972e8ee | refs/heads/master | 2021-03-01T08:27:24.910107 | 2020-05-16T06:38:54 | 2020-05-16T06:38:54 | 245,769,032 | 0 | 0 | MIT | 2020-03-11T09:37:46 | 2020-03-08T07:12:29 | null | UTF-8 | C++ | false | false | 19,198 | cpp | #include "il2cpp-config.h"
#if IL2CPP_MONO_DEBUGGER
#include "il2cpp-class-internals.h"
#include "il2cpp-object-internals.h"
#include "Debugger.h"
#include "os/Thread.h"
#include "os/c-api/Allocator.h"
#include "os/SocketBridge.h"
#include "vm/Assembly.h"
#include "vm/Image.h"
#include "vm/MetadataCache.h"
#include ... | [
"ben@webzone.com.au"
] | ben@webzone.com.au |
0159a25a08e1aacd393dcc6f6bf435db52867c8c | 9109cbb93e6a2981199425c809f09ba8e9d774d2 | /topcoder/srm600-609/srm600/600.cpp | bb9b0f4854b0789782ea3dfb67b69c004dbf6e40 | [] | no_license | chffy/ACM-ICPC | e8ea50337931d997685c0fac1f0b424f33ab4e37 | 59f071b014634e923338571aaa2272c490a8a0ae | refs/heads/master | 2020-05-30T05:00:10.775875 | 2016-03-28T14:37:08 | 2016-03-28T14:37:08 | 23,791,162 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,960 | cpp | #include<iostream>
#include<cstring>
#include<string>
#include<cstdio>
#include<vector>
using namespace std;
int map[100],value[100][1000],sum;
int p[1000],c[20];
int check(int opt,int n){
for (int i=0,j=n-1; i<j; ++i,--j){
if (((opt & (1<<i))>0) !=
((opt & (1<<j))>0)) return 0;
}
return 1;
}
int calc_nu... | [
"jsychffy@gmail.com"
] | jsychffy@gmail.com |
0d4960532281c58cee417dfa8cf9f4d271ad5aaa | 904690895d5e8b74468a2cbc79390a20766df720 | /ultra_fast_mathematician.cpp | a13c59bc631f008ba8a96ca2df2455b8e49924d4 | [] | no_license | aditya-25-02/A2OJ_1300_ladder | 065eea8994545d3020d5f4a2204e259785b0da73 | eef14f894895d5021e46c745581f9935f2f39dbd | refs/heads/master | 2022-04-14T06:49:13.121721 | 2020-04-04T12:47:33 | 2020-04-04T12:47:33 | 247,985,374 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | cpp | // Aditya verma
#include<iostream>
#include<math.h>
#include<vector>
#define ll long long int
#define ld long double
#define FASTIO ios_base::sync_with_stdio(false);std::cin.tie(NULL);std::cout.tie(NULL)
#define rep(i,n) for( ll i=0 ; i<n ; ++i)
#define reps(i,a,n) for( ll i=a ; i<n ; ++i)
#define vi vector < int >
... | [
"adityaverma3471@gmail.com"
] | adityaverma3471@gmail.com |
8caf71b879eecd4056b36117032f26cf4f8cdf20 | 65e3a9afe3ba8f7202a035360fb8dbd9b9cc08d5 | /Lexer.cpp | c6c884dac68bcd924600ba6f12563b939aa5bfdd | [] | no_license | andresmatos2000/project1 | 8d978cfacc9f366cd8f4177d6278c5151de54c97 | eefeebdc4b57a1ce4ec5687ae65a17ded16b6d2a | refs/heads/main | 2023-06-14T05:33:41.163321 | 2021-07-12T19:49:56 | 2021-07-12T19:49:56 | 381,103,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,600 | cpp | #include "Lexer.h"
#include "ColonAutomaton.h"
#include "ColonDashAutomaton.h"
#include "QueriesAutomaton.h"
#include "CommentAutomaton.h"
#include "LeftParenAutomaton.h"
#include "RightParenAutomaton.h"
#include "PeriodAutomaton.h"
#include "CommaAutomaton.h"
#include "QMarkAutomaton.h"
#include "FactsAutomaton.h"
#in... | [
"andresmatos2000@gmail.com"
] | andresmatos2000@gmail.com |
9d0ceffc1e1ce743c456be29959dba0a08c23eef | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /WebKit/Source/WebKit2/UIProcess/API/efl/ewk_back_forward_list_private.h | 35c209dace339646237b23f87aea72c174ec866e | [
"BSL-1.0"
] | permissive | adzhou/oragle | 9c054c25b24ff0a65cb9639bafd02aac2bcdce8b | 5442d418b87d0da161429ffa5cb83777e9b38e4d | refs/heads/master | 2022-11-01T05:04:59.368831 | 2014-03-12T15:50:08 | 2014-03-12T15:50:08 | 17,238,063 | 0 | 1 | BSL-1.0 | 2022-10-18T04:23:53 | 2014-02-27T05:39:44 | C++ | UTF-8 | C++ | false | false | 2,476 | h | /*
* Copyright (C) 2012 Intel Corporation. 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 cond... | [
"adzhou@hp.com"
] | adzhou@hp.com |
af2b316bb3dd986ec5c70a441608fe93e89b037b | 1147139acfd471508adeedb652a3f88dbe54496c | /hcnet-core/src/overlay/PeerAuth.h | 4b6197c8883da228d12256962e0b6cc55a1afd96 | [
"Apache-2.0",
"BSD-3-Clause",
"BSL-1.0",
"MIT",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | shanhashcah/HcNet-coreV15-test | f8287643138e1717d2a5f3f80696ed69c5261e06 | f893161cce060e90aa6cd60eed448415823773cb | refs/heads/master | 2023-01-24T13:42:23.257709 | 2020-12-08T07:54:51 | 2020-12-08T07:54:51 | 312,516,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,012 | h | #pragma once
#include "crypto/Curve25519.h"
#include "overlay/Peer.h"
#include "overlay/PeerSharedKeyId.h"
#include "util/RandomEvictionCache.h"
#include "xdr/Hcnet-types.h"
// Copyright 2015 Hcnet Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the ... | [
"ubuntu@ip-172-31-10-191.us-west-1.compute.internal"
] | ubuntu@ip-172-31-10-191.us-west-1.compute.internal |
4a61df9aa34b4d485459e92f47cd213b6b92402d | 30c34619490b69b11fe6ecb7c10259becc1a4937 | /2016/Spring 2016/cs202/la3/stack.cpp | 73e422c1c4ff13ddf6011d21f7aabea90bb2f944 | [] | no_license | wallstead/school | 1c99f1e95722e05b4cb7d572cc2a650e34f5c084 | 6752bfa2fb2b38e1d4b62c528846674af57adabf | refs/heads/master | 2020-05-20T10:45:40.129346 | 2019-05-08T05:22:32 | 2019-05-08T05:22:32 | 185,530,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,492 | cpp | #include <iostream>
#include <string>
using namespace std;
template <class T>
class Stack {
public:
Stack(int = 10);
Stack(const Stack&);
~Stack();
Stack& operator=(const Stack&);
bool push(T);
bool pop(T&);
... | [
"willallstead@icloud.com"
] | willallstead@icloud.com |
8fef295e6cc21f86f77302b0154e958590589a90 | 2a4b3cfc9ff17bdc1cfe9c3e159d2d902908d0bb | /Luogu/P1888.cpp | 279e1343f19d4023e6505ea2e93518e521f0c75e | [] | no_license | dddql/cpp | afd45bc6c4e37fdeec92eca2e9092c113bcc2658 | 6c209a4eeda5ec32afe31aafeaf216ed482234a3 | refs/heads/master | 2023-02-19T11:26:51.273363 | 2022-09-26T14:20:06 | 2022-09-26T14:20:06 | 298,593,978 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | cpp | #include <cstdio>
#include <algorithm>
using namespace std;
int num[3];
int main()
{
scanf("%d%d%d", &num[0], &num[1], &num[2]);
sort(num, num+3);
int gcd=1;
for (int i=num[0];i>0;i--)
if (num[0]%i==0&&num[2]%i==0){
gcd=i;
break;
}
printf("%d/%d", num[0]/gcd,... | [
"1514670771@qq.com"
] | 1514670771@qq.com |
1a4e0c2b5d1d4a5415fe86bea04b307fc55d69d0 | 2170057281d2dc622972641ed67a83c78a825366 | /NETCAD2013_Y180919/SubstationInternals/LVConnectionsInfo.cpp | 74be48d2c66db37b3b1b5d5071244d482ca0331f | [] | no_license | maze516/A2k | 774f4fe6993f9325fbae231e77f69572a310e022 | 05437a066541d361c1e1c7fd7264b7df62f4958c | refs/heads/master | 2023-03-16T08:39:39.003299 | 2019-08-13T14:02:52 | 2019-08-13T14:02:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,283 | cpp | #include "StdAfx.h"
#include "LVConnectionsInfo.h"
#include "atlbase.h"
CLVConnectionsInfo::CLVConnectionsInfo(void)
{
m_iNoOfDistributors = 0;
clearInfo();
}
CLVConnectionsInfo::~CLVConnectionsInfo(void)
{
}
int CLVConnectionsInfo::getNoOfDistributors()
{
return m_iNoOfDistributors;
}
bool CLVC... | [
"noreply@github.com"
] | maze516.noreply@github.com |
c37285b47ecee7575af8217fba35906ca634ad18 | 230fb8845f39bef0f30f5d3541eff5dc0641de14 | /Connect3/Export/windows/obj/include/lime/utils/_UInt32Array/UInt32Array_Impl_.h | 5f01c0ac80319b997513f43cdce4406e3525b161 | [] | no_license | vhlk/AlgoritmoMinMax | 76abd62a6e2859ed229e5831264b6d8af27e318d | 40eded4948794ca48d50d16d2133a9ab21207768 | refs/heads/main | 2023-06-30T15:16:17.492478 | 2021-08-02T13:29:32 | 2021-08-02T13:29:32 | 390,493,745 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 3,127 | h | // Generated by Haxe 4.2.0
#ifndef INCLUDED_lime_utils__UInt32Array_UInt32Array_Impl_
#define INCLUDED_lime_utils__UInt32Array_UInt32Array_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(lime,utils,ArrayBufferView)
HX_DECLARE_CLASS3(lime,utils,_UInt32Array,UInt32Arra... | [
"vhlk@cin.ufpe.br"
] | vhlk@cin.ufpe.br |
7febab651016ee0c7d05fe0a447749f87507c830 | d52d3a9f0afb4316532837a5786e487813374da2 | /apifmnc/QryFmncTol1NArticle.h | b8b8d5ca4ef4d8987d666597384d75e4ef1bdc16 | [] | no_license | epsitech/fabmaniac | cf7fb7e2f8d0f0a3dd18585a3309d05d3ea622ac | 715f59ed8a80a1288119081210428fce51422d7e | refs/heads/master | 2021-01-21T04:25:33.463846 | 2016-08-07T19:25:59 | 2016-08-07T19:25:59 | 48,572,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,120 | h | /**
* \file QryFmncTol1NArticle.h
* API code for job QryFmncTol1NArticle (declarations)
* \author Alexander Wirthmueller
* \date created: 7 Mar 2016
* \date modified: 7 Mar 2016
*/
#ifndef QRYFMNCTOL1NARTICLE_H
#define QRYFMNCTOL1NARTICLE_H
#include "ApiFmnc_blks.h"
/**
* QryFmncTol1NArticle
*/
names... | [
"awirthm@gmail.com"
] | awirthm@gmail.com |
48da576a1e836de3ec1402926afd987b91a741d2 | 8925873af174ea52ba27f2d867067ff79c1539c6 | /helloworld.cpp | 5a1b8ddbed643f09c68ed70bd5fb7a19439da722 | [] | no_license | Kelvin-Ng/Boost-Dll-Test | 1ed1f7dbbcc02e1b2aed2912991f1600d89d7199 | 243b10393c90917d9aad56d817dec79e7f7dac6e | refs/heads/master | 2021-01-12T00:57:59.613428 | 2017-01-08T06:00:34 | 2017-01-08T06:02:59 | 78,324,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 934 | cpp | #include <boost/dll.hpp>
#include <iostream>
#include <vector>
#include <functional>
class HelloWorldHandlers {
public:
HelloWorldHandlers() : i(0) {}
~HelloWorldHandlers() {
std::cout << "~HelloWorldHandlers()" << std::endl;
}
void handler_0() {
std::cout << i << " Hello world h... | [
"nkwkelvin@gmail.com"
] | nkwkelvin@gmail.com |
3eba219a1b1e2efa13ebc91d4e7b2d3697bf2664 | 27262ff1fb6d359da8c1fa2736d57c25c3b819d7 | /Krakout/font.h | 4b83ac13293c63ab7ef12673e551400eb5cb23a8 | [] | no_license | da-nie/Krakout2004 | 5b6546f7403d83a8096370962bc6874ebe362e3f | d16f5c9a38249e067746af375da3bde0499c8b96 | refs/heads/master | 2023-05-20T19:55:12.510962 | 2021-06-13T17:49:33 | 2021-06-13T17:49:33 | 376,606,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,813 | h | class FONT
{
public:
//-----------------------------------------------------------
SPRITE Font1;
SPRITE Font2;
SPRITE Font3;
SPRITE Font4;
//-----------------------------------------------------------
void Load(void);
void LoadFont1(void);
void LoadFont2(void);
void LoadFont3(void);
void LoadFo... | [
"da-nie@yandex.ru"
] | da-nie@yandex.ru |
d8f2801c7922ca9618424163b22c6f16e28ed68a | 6cf0ad84689d688b952a89871c7a9c718d98e5a4 | /PPM_IMAGE_FORMAT.cpp | 902b90ff7f288367dde9b3a1bffe2e643adfb050 | [] | no_license | aaryanporwal/RayTracingCpp | d684024ac0b6b6b940ef89ac349c34e7440230b3 | a140a92a3620b1d1f3880eeceddba3377ce6d064 | refs/heads/main | 2023-03-19T10:13:48.394115 | 2021-03-20T20:33:23 | 2021-03-20T20:33:23 | 349,815,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 643 | cpp | // How PPM works: https://raytracing.github.io/images/fig-1.01-ppm.jpg
#include "color.h"
#include "vec3.h"
#include <iostream>
int main() {
// Image
const int image_width = 256;
const int image_height = 256;
// Render
std::cout << "P3\n" << image_width << " " << image_height << "\n255\n";
for(int ... | [
"aaryanporwal2233@gmail.com"
] | aaryanporwal2233@gmail.com |
465c2f2d4940f3f45ec4c9ff9cde0345d156ea78 | ab784073a4924bad0b996234537625b4d3371191 | /src/lightlda/multiverso/include/multiverso/zmq_util.h | 94f10ab072e91fd36e488488353c8b9e37d106fb | [
"MIT"
] | permissive | francktcheng/LDA-Benchmark | 8ed257bd87eae25ae0221e3966b580c2b0e66033 | 9b387972c2ae48ef0c6eeb285c61f8ac82c10a94 | refs/heads/master | 2021-01-01T16:37:22.844545 | 2017-07-20T20:15:00 | 2017-07-20T20:15:00 | 97,874,046 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,686 | h | #ifndef MULTIVERSO_ZMQ_UTIL_H_
#define MULTIVERSO_ZMQ_UTIL_H_
/*!
* \file zmq_util.h
* \brief Wraps the ZMQ facilities
* \author feiyan
*/
#include <string>
#include <vector>
#include <queue>
#include <memory>
#include "zmq.hpp"
namespace multiverso
{
const std::string kCOMM_ENDPOINT = "inpr... | [
"pengb@indiana.edu"
] | pengb@indiana.edu |
06bafdd98a78755e4b05d5cf62c94eac06b00a5c | c088753861e41f309285436f7658a8e1f27e3e94 | /TOOLBOX/case/case_sonicFoam_LaunderSharmaKE/system/controlDict | cef2ab655415516e6d6d3f62187dc29ba7a2611b | [] | no_license | RobinHC/upcoming | 9d4b22bfaa8ad2fab2f624d99b63f943ec30ee23 | bb5faf9f4953e1a72ac9d653fd8c49b5ff155b99 | refs/heads/master | 2021-06-01T19:31:51.600480 | 2016-06-10T23:11:18 | 2016-06-10T23:11:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,231 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.0 |
... | [
"rlee32@gatech.edu"
] | rlee32@gatech.edu | |
eea703b7b671a243c727286235fce8f7c0c9ffea | 82af875dd6ae85907c4bceed23c872e4f5c42aa6 | /Code/Try/155/155/155.cpp | f722adc7a89aee00b5b86106770b379d394938c4 | [] | no_license | L41homebisee/LearnCpp_LanguageWithZeroFoundationMRKJ | 74cb77c4f79fcf6d5cd0326222b875a11dfaca4b | aae958412c6796a4a8ea385c88d4b13c6047c102 | refs/heads/master | 2023-03-17T16:09:17.047090 | 2021-03-02T13:19:26 | 2021-03-02T13:19:26 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 607 | cpp | // Try.cpp : Defines the entry point for the console application.
//
#include <iostream>
/*
定义“人”类, 再定义“学生”类和“教师”类,以公有方式继续“人”类。
*/
class CPerson
{
public:
char name[64];
};
class CStudent : public CPerson
{
};
class CTeacher : public CPerson
{
};
using namespace std;
int main(int argc, char* argv[])
{
CPerson ... | [
"1023178387@qq.com"
] | 1023178387@qq.com |
bb97898adcc379565a5d14b9feb9b6c5d96a2b5e | 85284d92ce730fdfac1d96dc9f7c291c283af9ce | /Entregable2/Exercici-2/MyGLWidget.cpp | 7f781ee4bfbc656786399d03688b0dee6d4fdd80 | [] | no_license | sanchyy/IDI-FIB | eb245acef9b955c569e746d22ab5fc87923747c1 | cde09559d02d4676ec497a109b675c542139ce67 | refs/heads/master | 2020-03-30T20:56:20.848825 | 2019-01-08T22:30:45 | 2019-01-08T22:30:45 | 151,610,799 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,943 | cpp | #include "MyGLWidget.h"
#include <iostream>
MyGLWidget::MyGLWidget (QWidget* parent) : QOpenGLWidget(parent), program(NULL) {
setFocusPolicy(Qt::StrongFocus); // per rebre events de teclat
}
MyGLWidget::~MyGLWidget () {
if (program != NULL)
delete program;
}
void MyGLWidget::initializeGL () {
// Cal inic... | [
"vsanchez.gassull@gmail.com"
] | vsanchez.gassull@gmail.com |
ebc23a6f28157af72bf6c485efb4bd577f2070e8 | b66c2fc69c83ce2ec654b9de3e26eb0b661f3a49 | /Dictionary.h | 359e7d811abf7f9c5063f2beb83b9a1df6d57c19 | [] | no_license | facundobrondo/lzw | c4ae96c1438dfb9d3f6f53591b44c2f764e0fbd7 | 624db4dcb0ca084a3dbe504aee36eb3774cc0e10 | refs/heads/master | 2020-05-30T14:09:31.691831 | 2019-06-01T22:14:50 | 2019-06-01T22:14:50 | 189,782,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 867 | h | #ifndef DICTIONARY_H
#define DICTIONARY_H
#include <iostream>
#include "Symbol.h"
#define MAX_ELEMENTS 65535
#define ASCII_ELEMENTS 256
typedef enum {
METHOD_NORMAL,
METHOD_LIST,
METHOD_TREE
} method_t;
class Dictionary {
private:
Symbol arr[MAX_ELEMENTS];
uint16_t len;
uint16_t _AddSymbolNormal(const Sym... | [
"alubrondo@gmail.com"
] | alubrondo@gmail.com |
5dbe8cec210cceb0b28fd59854fe3ba6bf1d6a56 | 439f1a17ac89f2e1019dc61b32e80ede12ca7152 | /test01/Player.h | bfec39612e326b87bb765041b1790aa594fcadea | [] | no_license | goldensulv/spacechuckie | cd94b537ca35164a5edd51cd13dfb8f59a0ebe15 | 54c6b2c9018ee36a95961d227af2bbe95b03ab0c | refs/heads/master | 2020-06-04T00:34:47.107573 | 2019-07-23T16:57:40 | 2019-07-23T16:57:48 | 191,796,634 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,335 | h | // Player.h
#ifndef PLAYER_H
#define PLAYER_H
#include <SFML/Graphics.hpp>
#include "Collidable.h"
#include "Shape.h"
namespace my {
constexpr float playerWidth{80.f};
constexpr float playerHeight{20.f};
constexpr float playerVelocity{12.f};
constexpr float gravity{0.7f};
class Player : public... | [
"goldensulv@gmail.com"
] | goldensulv@gmail.com |
cb79ee0891645cb3f1eea87f76be5861517e8e56 | 92254300e4f97ab83cc7c3127f6e6c0926c69859 | /Rush/Window.h | 70e46192879c0d279870e03b5982d91efdefb572 | [
"MIT"
] | permissive | lineCode/librush | f24a13503e757f6f16544fb7ad38d87486d3f9f3 | a781d417d6e376ede6e5e441b9dabaf5f8ef9a57 | refs/heads/master | 2020-03-29T01:03:27.745233 | 2018-09-18T08:05:26 | 2018-09-18T08:05:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,189 | h | #pragma once
#include "Rush.h"
#include "MathTypes.h"
#include "UtilTuple.h"
#include <vector>
#include <cstring>
namespace Rush
{
struct WindowEvent;
class WindowEventListener;
enum Key
{
Key_Unknown = 0,
Key_Space = ' ',
Key_Apostrophe = '\'',
Key_Comma = ',',
Key_Minus = '-',
K... | [
"yuriyo@gmail.com"
] | yuriyo@gmail.com |
11cf04b8d0f6d73bfe4fbe585fb187cb81c0d7e8 | 3b2628650b9c8aa61c4ba7ac6a703799ca163d9c | /include/public/SpeedOnThrustControl.h | ccb9cdc6d38b9afd342f571bf7deaed5455f0e83 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | russell13192/FMACM | 632d0dd72ef1b01735c07f09b503ba9900696e2d | 3c81f575e4de73d83c02c0ea3b379a726d91837a | refs/heads/master | 2022-12-31T16:28:34.374873 | 2020-10-19T20:13:24 | 2020-10-19T20:13:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,354 | h | // ****************************************************************************
// NOTICE
//
// This is the copyright work of The MITRE Corporation, and was produced
// for the U. S. Government under Contract Number DTFAWA-10-C-00080, and
// is subject to Federal Aviation Administration Acquisition Management
// System... | [
"sbowman@mitre.org"
] | sbowman@mitre.org |
b1141fff59b4312d035c9345377e4d6570480dc3 | 96db9d8821783075d2d5f0645c1265aca824fb0d | /evograph/GraphLib/Edge.h | 35c669a1a7767f877f6fda97ef6b8e9a39b4afd4 | [] | no_license | kartechbabu/WirelessNetworkCoverageProblemUMN | e8220f97be1d28d6edaedfbef507489391f5182a | b882719e696eb496b7feab73e019fb2e3a3aff24 | refs/heads/master | 2021-01-20T01:39:05.302288 | 2015-10-15T04:44:04 | 2015-10-15T04:44:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,273 | h | /* Graph library
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRAN... | [
"sharm205@umn.edu"
] | sharm205@umn.edu |
71f89020ac505ba0e1348500305d515b3deb0d39 | 205f22fc34794208a15cbd5a911f0212ed58166f | /Educational Codeforces Round 65/E.cc | 9b22f67b06ba8bdb6446513f265d66fe7ce6fed0 | [] | no_license | jandono/comp-prog-codeforces | 885758d1f756a1d6f3e478df46c21bad0330f5a8 | 83d175757b887f9ac4a7240545edb4d4873bc58a | refs/heads/master | 2020-08-30T22:24:44.631567 | 2020-03-07T11:40:13 | 2020-03-07T11:40:13 | 218,506,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,926 | cc | #include <iostream>
#include <vector>
#include <queue>
#include <stack>
#include <map>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <string>
#include <algorithm>
#include <sstream>
#include <climits>
#include <fstream>
#include <cmath>
using namespace std;
/// ********* debug template by ... | [
"ac1d@ac1ds-MacBook-Pro.local"
] | ac1d@ac1ds-MacBook-Pro.local |
5986702b027776882df0864caf0b25bdda098a5a | 1a650065985ac3775c934af10a16439da02fb8ee | /MCIRGAME.cpp | e24b5dc3ce2054c3897cdb5f4e5c6b7a99c926a5 | [] | no_license | subodra999/Spoj-Solution | 668201a1e19184bcc29b58ead7f037c770111a5e | 6f1d8cac4cdf6ebb88e4faf4f77234442869611b | refs/heads/master | 2021-06-18T14:28:53.683071 | 2021-06-09T04:58:27 | 2021-06-09T04:58:27 | 91,176,885 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 4,329 | cpp | #include<iostream>
#include<cmath>
#include<vector>
#include<set>
#include<string>
#include<map>
#include<stack>
#include<queue>
#include<algorithm>
#include<cstring>
#define mod 1000000007
#define nax 1000005
#define inf 100000000000000000LL
#define pb push_back
#define mp make_pair
#define in insert
#define ff first... | [
"subodra999@gmail.com"
] | subodra999@gmail.com |
c2f2bcc562d4fadb564c0040698884aa12fe8397 | cd584fbc26ecf1dbc2d2bf97ff5d169502aa18c3 | /2011/makeRootTreeStudy/make_rootfile_02.cc | 20c1fe137e3ad99317d68d21e3c430fc33f9a4c3 | [] | no_license | SongkyoLee/KUNPL | 10b63177354c2416a28c8ddb9761113ad93613fe | f3200a70fa07a3d1873d67e1c52a2d502b506679 | refs/heads/master | 2016-09-12T15:15:17.911319 | 2016-05-09T12:07:44 | 2016-05-09T12:07:44 | 58,053,105 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | cc | #include "TFile.h"
#include "TTree.h"
#include <fstream>
void make_rootfile_02() //without temp
{
std::ifstream Fin("iqmd4.dat",std::ios::in); // in : read the file
Int_t numTrack, pID;
Double_t mass, px, py, pz;
TFile *f = new TFile("rootfile02.root", "RECREATE"); //make rootfile
TTree *tr = new TTree("Tree",... | [
"songkyo.lee@cern.ch"
] | songkyo.lee@cern.ch |
db9666b765482ef036da264b9601fe8efe8f38e0 | 820f93e6386e13d68a5363b995d6903593a4e7d7 | /ram/ram.cpp | 8d6800f9b5ba93aade3ed2df31e4ee9b24d81672 | [] | no_license | B-C/ELEC390 | 157cb1d9e9eb05c65eaa75a68577e93b4036c766 | e2716c4d68f62fb406c7d396405b0b4ce74cd7e6 | refs/heads/master | 2020-04-05T01:54:14.350201 | 2011-03-17T09:42:02 | 2011-03-17T09:42:02 | 1,478,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 156 | cpp | #include "ram.h"
void ram::read_data()
{
data_out=ram_data[addr_out.read()];
}
void ram::write_data()
{
if(!wen)
ram_data[addr_in.read()]=data_in;
}
| [
"chazot@enst.fr"
] | chazot@enst.fr |
04072d1aa886342d056c46a2b102b186436192d9 | 0a49277acd6addd382be5c9488468ffb3f12c182 | /common/clawtower.h | 09a68d8fd5b4ed21cdd849d220c237491453829f | [] | no_license | ucsd-cse125-sp20/cse125-sp20-group3 | 78ca7f93157e90a560e62d1b441b0018c1efd766 | 5983c8a51c17075e9420ef20f4749f61a477f0c7 | refs/heads/master | 2021-05-19T12:31:26.820250 | 2020-06-05T07:20:57 | 2020-06-05T07:20:57 | 251,698,215 | 3 | 2 | null | 2020-06-05T01:46:19 | 2020-03-31T18:38:47 | C++ | UTF-8 | C++ | false | false | 341 | h | #ifndef _CLAW_TOWER_H_
#define _CLAW_TOWER_H_
#include "tower.h"
class ClawTower : public Tower {
private:
vec3 spawnPoint;
float spawnInterval;
public:
ClawTower(GameObjectData data, int id, Team* t, SceneManager_Server* sm_server);
void update(float deltaTime) override;
void setEntData(EntityData data) ... | [
"charlespli@sbcglobal.net"
] | charlespli@sbcglobal.net |
7ee5490ffbb403680eb9686590f5be260211ac6c | d47e9ab42bc50c286c805c93d4d6238220156fb4 | /PerformanceTests/StitchMarker/wtf/text/AtomicStringTable.h | 944ae92bdec4439bf070121b78a35f5a84fc409d | [] | no_license | NativeScript/webkit | 9ace2e356c7571b31edc5539a4ce9dd85a792645 | 1e4137805414c95b366edf5d975d6b48d479563e | refs/heads/ios | 2023-05-30T22:33:28.975315 | 2020-05-21T14:12:17 | 2020-05-21T14:15:11 | 25,470,435 | 5 | 8 | null | 2020-07-06T10:48:24 | 2014-10-20T14:34:19 | null | UTF-8 | C++ | false | false | 1,483 | h | /*
* Copyright (C) 2004, 2005, 2006, 2007, 2008, 2013 Apple Inc. All rights reserved.
* Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com>
* Copyright (C) 2012 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library Ge... | [
"martin.bektchiev@progress.com"
] | martin.bektchiev@progress.com |
51b29bf0a1aa95cd1eec6c9e63aa22028743db50 | 9d80ba07c5627490ff43a35cffcb6a957a72f7f5 | /HGP/Utils/MatlabGMMDataExchange.cpp | f921f8016b50ae65d675de1584adc389dd436f0c | [] | no_license | eden-fed/HGP | 32257be9aa0c2b80117063a95006a1d7dca6e004 | a2aae61c2f9ce738cfb4ebc49e283b367dada566 | refs/heads/master | 2021-06-10T08:10:19.232201 | 2021-04-06T15:52:26 | 2021-04-06T15:52:26 | 162,967,491 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,962 | cpp |
#include "MatlabGMMDataExchange.h"
#include "MatlabInterface.h"
#include <string>
#include <vector>
#include <algorithm>
int MatlabGMMDataExchange::SetEngineDenseMatrix(const char* name, GMMDenseColMatrix& A)
{
if(A.ncols() == 0 || A.nrows() == 0)
{
return -1;
}
MatlabInterface& matlab = MatlabInterface::Ge... | [
"eden.fadid@gmail.com"
] | eden.fadid@gmail.com |
9dc611fd98a783a8f11892b41cadc8962c58cfcf | 595b8adb38fa20f3dc424d39ffbebaf9735e3efd | /Context 1/energiat/energiat.cpp | 6b95bb95c048921c001863a4d106249d3245b992 | [] | no_license | lucashenriquejbe/desafios | dcb10410af6229eb0c2d269a40f723867380e293 | efab882f62ff5af9b027dee861f6a4c1fa2bedd4 | refs/heads/master | 2021-01-10T08:17:09.104881 | 2016-02-15T05:25:04 | 2016-02-15T05:25:04 | 50,394,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | cpp | #include <cstdio>
#include <vector>
#include <cstring>
#include <cstdlib>
#include <values.h>
#include <iostream>
#include <algorithm>
using namespace std;
int F, P, E, A;
int a[25][5500];
int energia()
{
int EDP[F+1][P+1];
EDP[1][1] = a[1][1];
for (int i = 2; i <= F; ++i)
EDP[i][1] = a[i][1] + A*E;
for (int... | [
"lucashenriquejbe@gmail.com"
] | lucashenriquejbe@gmail.com |
9f0a74952bc50f18cafa5354b2dbbe95c0a3aa89 | d2973f38d84ea50dbaf83369fd200c13e1591a3c | /546A. Soldier and Bananas.cpp | 10e34aba0aa024bbf2520312d2fe43df558e490c | [] | no_license | ShahriarDhruvo/Online-Programming-Problems-Solutions | c8ce392c9b4bec6805e18d37fb11c9f2200622a5 | 472fdb16480181ea3600b839ab402ef976294886 | refs/heads/master | 2020-05-30T08:50:07.345342 | 2020-04-02T15:20:32 | 2020-04-02T15:20:32 | 189,627,403 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int ind, ban, fbc, total = 0;
cin >> fbc;
cin >> ind;
cin >> ban;
for (int i=1; i<=ban; i++) {
total += i*fbc;
}
int wad = total - ind;
if (wad < 0) wad = 0;
cout << wad << endl;
return 0;
}
| [
"noreply@github.com"
] | ShahriarDhruvo.noreply@github.com |
6fcce1e8057ed8a5ccdacfe36a695209e71f7e3d | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /components/mirroring/service/remoting_sender.cc | 667653685483fee3465fac532d33269d7963ac60 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 7,657 | cc | // Copyright 2018 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/mirroring/service/remoting_sender.h"
#include <algorithm>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/logg... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
3d49734dfc68c0768d06410638203fdadb720687 | 16451b68e5a9da816e05a52465d8b0d118d7d40c | /data/tplcache/cbfbb1a78668b48dcb7cc31e002127be.inc | d824d8e12b6698a0b5b51634a8517e054abbbeae | [] | no_license | winter2012/tian_ya_tu_ku | 6e22517187ae47242d3fde16995f085a68c04280 | 82d2f8b73f6ed15686f59efa9a5ebb8117c18ae5 | refs/heads/master | 2020-06-20T17:42:14.565617 | 2019-07-16T12:02:09 | 2019-07-16T12:02:09 | 197,184,466 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,036 | inc | {dede:pagestyle maxwidth='800' ddmaxwidth='235' row='3' col='3' value='2'/}
{dede:comments}图集类型会采集时生成此配置是正常的,不过如果后面没有跟着img标记则表示规则无效{/dede:comments}
{dede:img ddimg='' text='图 1'}/uploads/allimg/c131124/13U2944S4QF-201O8.jpg{/dede:img}
{dede:img ddimg='' text='图 2'}/uploads/allimg/c131124/13U2944T3FP-214Z3.jpg{/dede:img... | [
"winter2012102@gmail.com"
] | winter2012102@gmail.com |
3a770328cbeaa07580371d0a4d20d4a8d3abb3cc | b45e78d8e2cdfa0bb3806d5880c25b1266520757 | /examples/width4/main.cc | 181b4a15e36d1513a16b5e664e7f828917b92169 | [
"MIT"
] | permissive | ojcole/re-pairing-brackets | 267107258bd185f525f85a1b0cd7d04773a4aa41 | 1bd76bd5f19381d881116564bbaaa5e4e1395942 | refs/heads/master | 2023-04-17T01:40:59.748150 | 2021-05-03T10:13:00 | 2021-05-03T10:13:00 | 363,225,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 676 | cc |
#include <iomanip>
#include <iostream>
#include <string>
#include "external/repairings/solve/predicate/width_check.h"
int main() {
std::string word =
"((((())((((())((((())))((())(((())))((()))))((((())((((()))((((()))((())"
")(())((()))))((((()))(())((()))((()))))((()))))(()))))((((()))(((())))(("
... | [
"oliver@cole2.com"
] | oliver@cole2.com |
20b790532ac60f975bcbcd6b942f14acfa48fe74 | f1b2495406fd3e96af20542d0b0b749a32937974 | /test/algorithm/reverse.cpp | 3331cf9f1092ec084727808c7e5ef25b1b71fe07 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Milerius/NanoRange | dd0933bb7913e6fdb9a7693d4fde382ddc03486a | c4188f1a6163dd9d13758f15c49d5b186de9e88f | refs/heads/master | 2020-03-23T22:01:58.924246 | 2019-04-06T17:24:04 | 2019-04-06T17:24:04 | 142,148,650 | 0 | 3 | BSL-1.0 | 2018-07-24T13:21:44 | 2018-07-24T11:25:06 | C++ | UTF-8 | C++ | false | false | 3,656 | cpp | // Range v3 library
//
// Copyright Eric Niebler 2014
//
// 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)
//
// Project home: https://github.com/ericniebler/range-v3
//
// C... | [
"t.c.brindle@gmail.com"
] | t.c.brindle@gmail.com |
b05566cdcf301e8898def0edd0dc3270ad02a7f7 | 00db0bb1716f67d97bce46e5e2cc70db1d10bafb | /PDE.cpp | f1e1fbae0954819b50a97f738068df6224f00f29 | [] | no_license | aflaverde/LaverdeAndres_hw4 | 8eb2c59fd52a31a61df669ee6288cf16a19eae4e | 0bc545ea56af70b97b04c768d64acb2de221ed96 | refs/heads/master | 2020-04-06T13:14:05.358310 | 2018-11-20T00:22:50 | 2018-11-20T00:22:50 | 157,490,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,509 | cpp | //Andres Laverde - PDE.cpp HW4
#include <stdio.h>
#include <math.h>
#include <iostream>
using namespace std;
#define max 51 //Longitud maxima
#define tmax 3000 //tiempo maximo de propagacion
#define PI 3.14159
//Funciones
void fronteras10(double *T);
int main()
{
int i, j, iter, y;
double T[tmax][max]; //La form... | [
"noreply@github.com"
] | aflaverde.noreply@github.com |
81f819d5023249aaa39c004643f793c29765efa9 | 8ddca58e1e96267b1f01903d8b85ced5d1f99d03 | /ch.07/SharedContext.h | f1c8b2d5cefeaf3dca5512596f65b51dad5609f1 | [] | no_license | acoross/m4d.001-face_punch | 9a774aec6044e81b0056928488003b27eb9f81a1 | 9dbab4a64d2304583febb64abb989c302cc35aad | refs/heads/master | 2020-11-23T20:00:52.432162 | 2019-12-30T07:14:24 | 2019-12-30T07:14:24 | 227,799,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | h | #pragma once
#include "Window.h"
#include "EventManager.h"
#include "TextureManager.h"
#include "EntityManager.h"
#include "DebugOverlay.h"
class Map;
struct SharedContext{
SharedContext():
m_wind(nullptr),
m_eventManager(nullptr),
m_textureManager(nullptr),
m_entityManager(nullptr),
m_gameMap(nullptr){}
... | [
"acoross@gmail.com"
] | acoross@gmail.com |
8f77963ec91e57a9ed3fcbdd5b9abc0cf4c3d912 | da8e59b835816dfa403ef77f359e4439d97c66e0 | /Chilkat/cpp_include/CkCgi.h | 70e72057e8634d53d0668827e97d6fbae4812ca7 | [] | no_license | saurabhsindhu/Chilkat | dead4617b7fc46d2dae167f81d9599ccc41a5ba3 | 444894dec6a4f32968c3d2cc78c0895f493a7e97 | refs/heads/master | 2020-12-24T16:59:23.802171 | 2013-05-12T20:07:18 | 2013-05-12T20:07:18 | 10,018,649 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,882 | h | // CkCgi.h: interface for the CkCgi class.
//
//////////////////////////////////////////////////////////////////////
#ifndef _CKCGI_H
#define _CKCGI_H
class CkByteData;
class CkString;
#include "CkMultiByteBase.h"
#include "CkString.h"
#ifdef WIN32
#pragma warning( disable : 4068 )
#pragma unma... | [
"sindhu.saurabh7@gmail.com"
] | sindhu.saurabh7@gmail.com |
5d4fd08756f12aa1d69830be454281e04553ce91 | 9f6ac63e81535daeb55611d66560ab2a87fc9d8c | /libs/vislib/dxutTest/DXUT/Optional/DXUTsettingsdlg.cpp | 1bfb099eeb99d2ff84c52a8dd5632ee76b44aa6c | [] | no_license | ComputationalRadiationPhysics/rivlib | 68e4de9cc98f62112ec21a05d68c406ef580a32d | 1a838630400892a53ff7eb120aec4282fc9967ac | refs/heads/master | 2021-01-21T05:00:23.480426 | 2016-05-23T07:29:51 | 2016-05-23T07:29:51 | 29,530,946 | 3 | 1 | null | 2016-05-23T07:29:51 | 2015-01-20T13:27:18 | C++ | UTF-8 | C++ | false | false | 114,252 | cpp | //--------------------------------------------------------------------------------------
// File: DXUTSettingsDlg.cpp
//
// Dialog for selection of device settings
//
// Copyright (c) Microsoft Corporation. All rights reserved
//------------------------------------------------------------------------------------... | [
"axel.huebl@web.de"
] | axel.huebl@web.de |
4cbcfe8561180f2fe03a98bb24ef1b8549c327ae | 701e220bb13e5efdc0de945a8d179d53f81d94bb | /42/Piscine C++/hdezier/d06/ex00/include/Converter.hpp | 21f118f86258a88b2642daad9794cca5d09b5b24 | [] | no_license | Elojah/Meuh2.0 | 486273ac9d5192c6f945f5ed9a56b3582f2aafb0 | 1706b6cd96deb56af8ab5b2164c05584435c7e35 | refs/heads/master | 2021-01-11T18:20:18.614432 | 2017-05-19T14:35:10 | 2017-05-19T14:35:10 | 28,937,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | hpp | #ifndef CONVERTER_H
# define CONVERTER_H
# include <string>
class Converter
{
public:
Converter(char const *av);
~Converter(void);
Converter(Converter const &src);
Converter& operator=(Converter const &rhs);
void toChar(std::ostream &stream) const;
void toInt(std::ostream &stream) const;
void toFloat(std::... | [
"hdezier@e3r4p18.42.fr"
] | hdezier@e3r4p18.42.fr |
566204eb785f09432c5495579b80a91572198b80 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/c5/b9f9fefa46dd0e/main.cpp | 416e8d4625928c70c42d0da2d7f327f2d85e935b | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,497 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <chrono>
typedef uint32_t sum_t;
typedef uint8_t byte_t;
std::vector<byte_t> data = []{
std::vector<byte_t> result;
result.reserve(100000);
while (result.size() != result.capacity())
{
result.push_back(result.size());
}
... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
99b891cb424e406b7e8c2d3c54939dcec4ce9a15 | 6721ffe537e1f8d2567ff021aaca382c5ac58ba7 | /include/optimization/JointOffsetVertex.h | 0515e6a3a36c5b17d2717019ceb1681da67fc9b3 | [] | no_license | sosswald/nao_calibration | 4e7022a37d2ef42024aa2a3c1fa6235c0e906c1e | 87d61eaa17c556994b1bf02a7ca48bbeecda0d91 | refs/heads/master | 2021-01-18T11:50:29.143552 | 2015-10-29T10:08:26 | 2015-10-29T10:08:26 | 37,320,550 | 0 | 0 | null | 2015-06-12T12:25:01 | 2015-06-12T12:25:00 | null | UTF-8 | C++ | false | false | 5,729 | h | /*
* JointOffsetVertex.h
*
* Created on: 08.12.2013
* Author: stefan
*/
#ifndef JOINTOFFSETVERTEX_H_
#define JOINTOFFSETVERTEX_H_
#include <g2o/core/base_vertex.h>
#include <iostream>
#include <map>
#include <string>
#include <vector>
namespace kinematic_calibration {
class KinematicChain;
} /* namespace ... | [
"maierd@informatik.uni-freiburg.de"
] | maierd@informatik.uni-freiburg.de |
13712981e7b6d35b084003653242d28053a9005b | 07c61596c1fba2e2a7034fe5af9707794ea2e2c1 | /Luogu/P1024.cpp | 7d7c29a9b8e9cda47840017d8d0f0b6f349e6f47 | [] | no_license | H-Shen/Collection_of_my_coding_practice | 2fcb2f8fef9451ad4a3a9c063bbf6a34ea5966b4 | 6415552d38a756c9c89de0c774799654c73073a6 | refs/heads/master | 2023-08-24T21:19:08.886667 | 2023-08-22T03:47:39 | 2023-08-22T03:47:39 | 180,731,825 | 8 | 1 | null | 2021-08-13T18:25:25 | 2019-04-11T06:48:09 | C++ | UTF-8 | C++ | false | false | 1,242 | cpp | #include <bits/extc++.h>
using namespace std;
using namespace __gnu_pbds;
using ll = long long;
constexpr double EPS = 1e-7;
inline static
int sgn(const double &x) {
if (x > EPS) return 1;
if (x > -EPS) return 0;
return -1;
}
double a, b, c, d, A, B, C, delta, x1, x2, x3, K, T, zeta;
int main() {
s... | [
"haohu.shen@ucalgary.ca"
] | haohu.shen@ucalgary.ca |
546429131c41763840007614418f881b6e28b0aa | 2098d9206e87d3e00da9368e9db4e1643600c198 | /third_party/implot/implot_demo.cpp | 9a034e7a1c252ac74308c1ae4f9c2105a2cbcc0a | [
"MIT"
] | permissive | wtliu/motor_sim | 791670ac4c64738aea3bab051036966ce0c2fee2 | 62e3d5555e06b84bbc638b348595150e47fe751b | refs/heads/master | 2022-12-16T21:39:31.770143 | 2020-09-23T16:43:46 | 2020-09-23T16:43:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49,501 | cpp | // MIT License
// Copyright (c) 2020 Evan Pezent
// 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, mer... | [
"mark@biro.ai"
] | mark@biro.ai |
ba9f5346de4361ddf823606a340e3c5d68f65847 | 17d0bbf2697c85d42c2773f8e16c0bc50c030c6a | /test/ble_nano_tests/apa102_read/APA102FrameManager.h | 87100d261d19df89574e89bbf5d3d4923f6e8de4 | [] | 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,225 | h | /**
* APA102 Parsing/Displaying class
*
* This class takes in RGB color data and converts it to APA102 binary data,
* and retrieves APA102 binary data and builds an RGB color table
*
* This is essentiall a linkedlist holder for an APA102Frame
*
* @author Tony Gaitatzis backupbrain@gmail.com
* @date 2015-12-2... | [
"backupbrain@gmail.com"
] | backupbrain@gmail.com |
ceab1ac8cbabee8847fc440ab031416694f36d32 | 099c2076771c1fd5bba80e5f1465410dfa70375a | /PE002_Even_Fibonacci_numbers/pe002.cpp | 788d0a296ae4c781e11facc8d0241c48ce5a1721 | [] | no_license | Jul-Le/project-euler | 73595411effa3c150c9bae04ae8f155b4c69aae6 | 17fc9e0ad252931ba0dbaeb033a139727eb99e45 | refs/heads/master | 2021-10-07T23:45:29.106429 | 2018-12-05T18:24:00 | 2018-12-05T18:24:00 | 159,533,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | cpp | #include <iostream>
int main()
{
int a = 1; // smaller number
int b = 1; // larger number
int c; // sum
int d; // old value
int sum = 0;
while (b <= 4000000)
{
c = a + b;
d = b;
b = c;
a = d;
if (a % 2 == 0)
{
sum += ... | [
"unconfigured@null.spigotmc.org"
] | unconfigured@null.spigotmc.org |
9f9b62e85ad654431fbd0f847374443b946665aa | c094d381422c2788d67a3402cff047b464bf207b | /c++程序设计/p119递归解决汉诺塔.cpp | 0ba6770ca8cd5b65f9511f488f502d390c65595b | [] | no_license | liuxuanhai/C-code | cba822c099fd4541f31001f73ccda0f75c6d9734 | 8bfeab60ee2f8133593e6aabfeefaf048357a897 | refs/heads/master | 2020-04-18T04:26:33.246444 | 2016-09-05T08:32:33 | 2016-09-05T08:32:33 | 67,192,848 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 715 | cpp | // p119 例 5-10 汉诺塔与递归
#include <stdio.h>
void moveDisk (int, char, char, char); // disk圆盘
int main (void)
{
int n;
printf ("输入要移动的盘子数:\n");
scanf ("%d", &n);
moveDisk (n, 'A', 'B', 'C');
return 0;
}
void moveDisk (int diskNum, char sourcePole, char midPole, char targetPole)
{
if (1 == diskNum)
printf... | [
"heabking@gmail.com"
] | heabking@gmail.com |
18a0606486baf9cfa32f35c46690ae946ae0e0bf | 108a6baeec9332981849b9d8c56ef98a46eeed3f | /src/rnn.h | 289db6371e1bddd1811e1f3dae8075caf65a8e51 | [
"MIT"
] | permissive | afaji/Marian | b84541b7ea0561c6de424179d0c50131770991e6 | 1f6db367b4d380f7640c31a45ce855bd8dacbdae | refs/heads/master | 2021-06-06T03:25:22.610537 | 2017-01-14T17:57:19 | 2017-01-14T17:57:19 | 74,568,530 | 0 | 0 | null | 2016-11-23T11:03:19 | 2016-11-23T11:03:19 | null | UTF-8 | C++ | false | false | 7,497 | h | #include <algorithm>
#include <chrono>
#include <iomanip>
#include <string>
#include <cstdio>
#include <boost/timer/timer.hpp>
#include "marian.h"
#include "node_operators_binary.h"
#include "expression_graph.h"
namespace marian {
struct ParametersTanh {
Expr U, W, b;
float dropout = 0;
};
class Tanh {
public... | [
"junczys@amu.edu.pl"
] | junczys@amu.edu.pl |
0ff9c990af31c8a8e99b01847ac29c8a48356833 | f36dcad97ab5849a8ef55c79557ce77162849de0 | /test/qtavtest.h | 176d59ea8416c1b7b23e323a9d085f16f3fcd416 | [
"Apache-2.0"
] | permissive | qiangzai00001/OfflineMapTest | b726744d21a7a5fd631c288d70969cac2ddfbd89 | b1a28214fa4882589b3cf399669240b0ec3fc225 | refs/heads/master | 2023-07-25T21:57:39.274329 | 2021-09-06T03:03:46 | 2021-09-06T03:03:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | h | #ifndef QTAVTEST_H
#define QTAVTEST_H
#include <QObject>
#include <QWidget>
#include "3rdpart/QtAV/include/QtAV/QtAV.h"
QT_BEGIN_NAMESPACE
class QSlider;
class QPushButton;
QT_END_NAMESPACE
class QtAVTest : public QWidget
{
Q_OBJECT
public:
explicit QtAVTest(QWidget *parent = nullptr);
public Q_SLOTS:
... | [
"37323208+wangpengcheng@users.noreply.github.com"
] | 37323208+wangpengcheng@users.noreply.github.com |
924c4846cd639b4d18661bb23ec2ae59fa614b71 | 7c3b6a57cb9b8a2ca330bfc652af992db7afefa4 | /FastMaxwellv2.1_TESTED/src/resistance.cpp | 3dbf689736051ac81d92efc531a7680d770bfc2d | [] | no_license | gilbert0571/ComputationalPrototypingGroup | a900c2c104b47b9116be041ea3dd80930fb2473f | ccbc5e8b177b668fb65d29fc4b519b9731aad2b9 | refs/heads/master | 2020-12-14T18:49:06.019252 | 2012-05-27T22:00:51 | 2012-05-27T22:00:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,037 | cpp | /*************************************************************************\
Fastpep - Fast Parasitic Extraction Program for 3D Geometries
File : resistance.cpp - class Resistance implementation
Language : C++
Date: August 12, 1997
\*************************************************************************/
#... | [
"Karl.Edler@cea.fr"
] | Karl.Edler@cea.fr |
9645014ed9287c9918f3645026c008fa0427dbd3 | 7920e4e0504b5faa6d93a8a4fe0c8ccd4924d16d | /ui/aura/mus/window_port_mus.h | 14abb2d2933d2049c8933583bf565815cce12626 | [
"BSD-3-Clause"
] | permissive | rudolfcn/chromium | 36362302b0030a220f4d53e0df6d24d677e20caa | 194f67a5a8dddfcd8594d471e30ea6b4e32f0c34 | refs/heads/master | 2023-01-14T14:15:39.016017 | 2017-06-23T16:10:47 | 2017-06-23T17:55:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,649 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_AURA_MUS_WINDOW_PORT_MUS_H_
#define UI_AURA_MUS_WINDOW_PORT_MUS_H_
#include <stdint.h>
#include <string>
#include <vector>
#include "base/lo... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d4218a3b8a6c705f1927e28484f1890b950f0218 | 82815230eeaf24d53f38f2a3f144dd8e8d4bc6b5 | /Airfoil/wingMotion/wingMotion2D_pimpleFoam/1.23/meshPhi | 1d647277fa68f37c53d956d9979f7f79b442848e | [
"MIT"
] | permissive | ishantja/KUHPC | 6355c61bf348974a7b81b4c6bf8ce56ac49ce111 | 74967d1b7e6c84fdadffafd1f7333bf533e7f387 | refs/heads/main | 2023-01-21T21:57:02.402186 | 2020-11-19T13:10:42 | 2020-11-19T13:10:42 | 312,429,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289,200 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"ishantamrakat24@gmail.com"
] | ishantamrakat24@gmail.com | |
72657a17fdd4aa798f6f72a318973c619f13a5ad | 44289ecb892b6f3df043bab40142cf8530ac2ba4 | /Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/modules/v8/V8ChannelMergerNode.cpp | 0f89c0c94024d2c0d502aa5423050114f1bc532a | [
"Apache-2.0"
] | permissive | warrenween/Elastos | a6ef68d8fb699fd67234f376b171c1b57235ed02 | 5618eede26d464bdf739f9244344e3e87118d7fe | refs/heads/master | 2021-01-01T04:07:12.833674 | 2017-06-17T15:34:33 | 2017-06-17T15:34:33 | 97,120,576 | 2 | 1 | null | 2017-07-13T12:33:20 | 2017-07-13T12:33:20 | null | UTF-8 | C++ | false | false | 5,400 | cpp | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "config.h"
#if ENABLE(WEB_AUDIO)
#include "V8ChannelMergerNode.h"
... | [
"gdsys@126.com"
] | gdsys@126.com |
0fbebb44f5c5461d573b54233a63321f304926d2 | 41ee787a0d53de136a1455abd79a93d8e2919b60 | /include/WindowInfo.h | 4faa7c3c89ee4fdf8047b79ef115bc90dc4e7381 | [] | no_license | AlexandruRusu23/Rubik-Cube-3D | 6dd1d9b0398c2ab6e886755e5d4bb309dc80ec43 | 9e20b135b587474c024dcbb989b1bd668d037e89 | refs/heads/master | 2021-06-10T19:11:21.340626 | 2017-02-08T11:12:01 | 2017-02-08T11:12:01 | 76,893,639 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,304 | h | #ifndef WINDOWINFO_H
#define WINDOWINFO_H
#include <iostream>
#include <string>
namespace BasicEngine
{
namespace Core
{
struct WindowInfo
{
std::string name;
int width, height;
int position_x, position_y;
bool isReshapable;
WindowInfo()
{
name = "Scene3D";
width = 800; height = 600;
... | [
"alexandru.rusu707@gmail.com"
] | alexandru.rusu707@gmail.com |
c6f0b5ebfe6cd81ce2bbac958c84fdd1dd742df3 | df3569f8ac8b86adbd531a67d7e569723ee3ef95 | /Caique/JsonContentManager.cpp | edf287c353583c244531523383d7855b02123b2e | [] | no_license | LiruJ/Caique | af4fe2319ce2431cab85d22254d2cc399a4ead23 | e09f058eec735b3cf59d38156982fc25dbcf064d | refs/heads/master | 2023-02-12T08:21:53.279572 | 2021-01-11T11:14:30 | 2021-01-11T11:14:30 | 317,219,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,441 | cpp | #include "JsonContentManager.h"
// Builder includes.
#include <JsonEnums.h>
// Type includes.
#include <vector>
// Stream includes.
#include <iostream>
#include <fstream>
// Graphics includes.
#include "Model.h"
#include "Mesh.h"
#include "Material.h"
#include "GraphicsContext.h"
// LiruGraphics includes.
#include... | [
"liruotaku@gmail.com"
] | liruotaku@gmail.com |
5e7035714bd2aceb517bca3d70d9e417915de7b5 | 16de79af5cd6fe86b6a2e8120de40463407cf456 | /RobWorkStudio/src/rwslibs/workcelleditor/InputFormDialog.cpp | c36693ff29631a0ae6c6be7644da954b6e82a9ad | [
"Apache-2.0"
] | permissive | onier/RobWork | 04e9f5b3c9e89bd95e65139ba383d5728e5ae12f | 7b64122775ce621e523a0a39136a5aa7dcc5a8b9 | refs/heads/master | 2021-03-22T23:38:51.038693 | 2019-07-16T21:44:49 | 2019-07-16T21:44:49 | 247,406,436 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,644 | cpp | // Copyright (c) 2017-2018 Serguei Kalentchouk. All rights reserved.
// Use of this source code is governed by an MIT license that can be found in the LICENSE file.
/********************************************************************************
* Copyright 2019 The Robotics Group, The Maersk Mc-Kinney Moller Instit... | [
"anpl@mmmi.sdu.dk"
] | anpl@mmmi.sdu.dk |
8461a13e88efd5cccdc9772912f64118c058288d | 26d6eaa7339a3ddc317874a94fe94fb6b4d70c55 | /tesseract_motion_planners/include/tesseract_motion_planners/trajopt_ifopt/trajopt_ifopt_utils.h | 8e08ab7c416b19c1a1a75bfa428e978a5f4f1697 | [
"BSD-3-Clause",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | ql0yuan/tesseract_planning | ef2a7098158d326463c07ecd073de83e8b3fd7c7 | 6907026937ed60b0344e5844ddb97e21c959fab3 | refs/heads/master | 2023-07-09T12:22:08.897436 | 2021-07-20T20:27:13 | 2021-07-23T00:54:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,480 | h | /**
* @file trajopt_utils.h
* @brief
*
* @author Levi Armstrong
* @date June 18, 2020
* @version TODO
* @bug No known bugs
*
* @copyright Copyright (c) 2020, Southwest Research Institute
*
* @par License
* Software License Agreement (Apache License)
* @par
* Licensed under the Apache License, Version 2.0 ... | [
"levi.armstrong@gmail.com"
] | levi.armstrong@gmail.com |
e1ca8ebb09d9a0446dc316e3b5a2fc286213e0dc | fa823d1aefead6e3f374fe92405f45a4fd5aa257 | /data_structure/segment_tree2.cpp | ec273ec2adbb786be5fb415a07050162b59d51f9 | [] | no_license | xaero7/hgoi_cpp_code | 497fb9fb0691463b90a38a360e77b66096d3c0e3 | 4e91cb1b5eb12327076ccc064c13b54a553290a7 | refs/heads/master | 2020-03-24T09:53:19.805352 | 2018-09-28T01:19:11 | 2018-09-28T01:19:11 | 142,640,817 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,292 | cpp | struct node
{
int st, ed, m, lbd, rbd;
int sequence_line, count;
} ST[40005];
void build(int st, int ed, int v) // 建树,区间为[st, ed]
{
ST[v].st = st;
ST[v].ed = ed;
ST[v].m = ST[v].lbd = ST[v].rbd = 0;
ST[v].sequence_line = ST[v].count = 0;
if (ed - st > 1)
{
int mid = (st +... | [
"setoy@qq.com"
] | setoy@qq.com |
6eb8e3b99b59c69d2bb97c91bfea6d0941e5554e | 0f8eb14b579ae48dd1a7b3cd7e806172f5512baa | /Problems/URI_Circo_das_Pulgas.cpp | 7dd9556e076adcd4d2d264ceeca73b647c8cc195 | [] | no_license | Kanchii/CP_Algorithms | 7d6901228f719fa5d05f118597b8329f7680c047 | c525640638e1d79133f63e78021d9a83f2698ee8 | refs/heads/master | 2020-03-29T10:01:02.083825 | 2019-02-23T22:28:33 | 2019-02-23T22:28:33 | 149,785,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,160 | cpp | #include <bits/stdc++.h>
using namespace std;
struct Node {
Node *l, *r;
int rev, prior;
int size, val;
int pares;
};
Node *createNode(int val){
Node *node = new Node;
node -> rev = false;
node -> size = 1;
node -> val = val;
node -> l = node -> r = NULL;
node -> pares = 0;
... | [
"weisslipe@gmail.com"
] | weisslipe@gmail.com |
0ac86bcc5537ae075d18546c6855cc8ec3836808 | 206ef3b3ea47239b15b6de34655a7588abba1913 | /morrisboardlogic.cpp | cca13416f0053be024de106123cdbf8feb59e614 | [] | no_license | daze-dream/CS449_Morris_QT | e4ade833c26ea88a43d0deba7584d20ea65d1df0 | e6c1e23bfb46b527dd865b826559e448d577ab80 | refs/heads/master | 2022-12-27T16:02:38.804322 | 2020-10-12T23:08:00 | 2020-10-12T23:08:00 | 303,533,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 73 | cpp | #include "morrisboardlogic.h"
MorrisBoardLogic::MorrisBoardLogic()
{
}
| [
"misterrolypoly@gmail.com"
] | misterrolypoly@gmail.com |
4a6ea4c45af4b2e3321d5d714856c378bf00b2f0 | 0c83b7c27b7f691f41e6e24be916b450c12d8246 | /Morphs/Importers/Utils/CanvasTex/Include/CanvasTex/ScratchImage.h | 307563ff048bb373434e423a6d3ebb5bc367d3df | [
"MIT"
] | permissive | BabylonJS/BabylonPolymorph | 2f7a05590861bb4b942b974a040625b9344fb082 | 5a12b0514eee3c0d209e12ac6815d76296c3fa7c | refs/heads/master | 2022-08-28T08:25:27.926025 | 2022-08-08T16:58:44 | 2022-08-08T16:58:44 | 232,416,059 | 19 | 12 | MIT | 2022-08-08T16:58:45 | 2020-01-07T20:57:52 | C++ | UTF-8 | C++ | false | false | 1,427 | h | /********************************************************
* *
* Copyright (C) Microsoft. All rights reserved. *
* *
********************************************************/
#pragma once
#include <Canv... | [
"dasolare@microsoft.com"
] | dasolare@microsoft.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.