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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
089eada7ee21ad1b0f2c4f6d4726c56080b190e5 | 9497b6a17f9039456cf33bec8a666c359ceab00e | /ConsoleApplication2/ConsoleApplication2.cpp | 4cc595a45bbfceb97793399ab671306961e408c6 | [] | no_license | Huebr/RNAFolding | 77883cf3a8bffd9fdb486391db06f9353499224d | 5dae9fe831ac56f532b18b1c6147b3c87e68676e | refs/heads/master | 2021-01-10T17:51:56.399281 | 2016-09-13T18:05:58 | 2016-09-13T18:05:58 | 53,167,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,958 | cpp | // ConsoleApplication2.cpp : Defines the entry point for the console application.
//
/*
============================================================================
Name : RNAFolding.cpp
Author : Pedro Jorge
Version :
Copyright : Your copyright notice
Description : CUDA compute reciprocals
==========... | [
"pedro.jorge@aluno.uece.br"
] | pedro.jorge@aluno.uece.br |
46a8cf5c622402d2c021741caf0e4a27dcf105fe | c9eee7113b2fc96eb51fb7e9fc150cfc53ee233c | /src/fileutils.cpp | 23a8a7208f9edcf13e866eb03cf20d4375e1d700 | [
"BSD-2-Clause"
] | permissive | Pawn-Debugger/Plugin | 5f03a818ed65642b56839d84752ce81ed8611dfa | c5b478787dfaf5d43676ff98c63f9306c8b8dacc | refs/heads/master | 2021-05-12T19:22:31.342638 | 2018-02-27T21:57:02 | 2018-02-27T21:57:02 | 117,091,900 | 15 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,795 | cpp | // Copyright (c) 2011-2015 Zeex
// 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 an... | [
"misiur66+github@gmail.com"
] | misiur66+github@gmail.com |
47f907ced3573f28941a1dbab357858ab8426306 | 68847d6e0623a064093d610672282eaa226451b4 | /lab4/handle.cc | 3dbe207d8d2669d763f6890598a9f1235dc6c7c2 | [] | no_license | Veiasai/CSE-lab | 4f2756dba4dd3a67cae6f95205240a2a216cbe2a | ecb4eaa40c82ed08f77c14e39c74fbcc4695853f | refs/heads/master | 2020-03-28T20:13:36.570119 | 2018-12-05T10:06:19 | 2018-12-05T10:06:19 | 149,050,900 | 14 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,179 | cc | #include "handle.h"
#include <stdio.h>
#include "tprintf.h"
handle_mgr mgr;
handle::handle(std::string m)
{
h = mgr.get_handle(m);
}
rpcc *
handle::safebind()
{
if (!h)
return NULL;
ScopedLock ml(&h->cl_mutex);
if (h->del)
return NULL;
if (h->cl)
return h->cl;
sockaddr_in dstsock;
make_soc... | [
"917971502@qq.com"
] | 917971502@qq.com |
64f64533b41f8693d526c4de2f7d835040a7ad4c | 33d6ebd78a5dbcc6c6b12e818c99a0705d3a082a | /初识数据结构/stack.cpp | e0c24d9a8a73154d2f0547e62b8b95ee6907b2ad | [] | no_license | haon16/cpp-learning | 00ab7aefaf0c0c2e249a16494d6a1a7600c78f90 | c779d1de78afff500fca91b577d5be86bf38fef0 | refs/heads/master | 2023-02-10T10:23:32.748327 | 2021-01-12T15:45:55 | 2021-01-12T15:45:55 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,033 | cpp | # include <stdio.h>
# include <malloc.h>
# include <stdlib.h>
typedef struct Node
{
int data;
struct Node * pNext;
}NODE, * PNODE;
typedef struct stack
{
PNODE pTop;
PNODE pBottom;
}STACK, *PSTACK;
void init(PSTACK);
void push(PSTACK, int);
void traverse(PSTACK);
bool pop(PSTACK, int *);
bool empty(PSTACK);
void... | [
"1020090076@qq.com"
] | 1020090076@qq.com |
170dddf6a92c29dbaca20c6129ad7573d65aa238 | 4593f33128717b3ea9e4205bdc70952005740788 | /example/widget/ex-QTableWidget/main.cpp | c3838fc5b439520871319407604e346eddf04433 | [
"BSD-3-Clause"
] | permissive | chaiwizard/iotek_qt_course | 89fb21bb1028da97b76ef9b9f709eea0b024e892 | d321199176d87983e0a4cc7978149b9a34925d01 | refs/heads/master | 2016-09-06T03:01:48.271760 | 2015-03-18T02:45:35 | 2015-03-18T02:45:35 | 31,753,415 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,234 | cpp | /*************************************************************************
*
* Copyright (c) 2008-2011, Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
*
* See the LICENSE.txt file shipped along with this file for the license.
*
**************************************************************... | [
"q.chai@iotek.com.cn"
] | q.chai@iotek.com.cn |
f3b3472098ab69f3c35588322d3a72d8b12f27ed | 40d7360f058841545b7b4a01ca94b9f8e08137bc | /tools/gn/setup.cc | d4045348844dd02a957e21b88d77a454bff1a400 | [
"BSD-3-Clause"
] | permissive | iqqg/generate-ninja | 25aa8d6a4051ef6a94074da48d55829bcbba681a | 21c115e793512254ee76a0fd0f592445a8d6d9fd | refs/heads/master | 2020-03-19T01:39:45.037225 | 2017-11-11T22:12:23 | 2017-11-11T22:12:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,966 | cc | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "tools/gn/setup.h"
#include <stdlib.h>
#include <algorithm>
#include <sstream>
#include <utility>
#include "base/bind.h"
#include "base/com... | [
"olim@ucla.edu"
] | olim@ucla.edu |
76fee06228abc1bd8d7c1bdee6f7bc712030e115 | 527739ed800e3234136b3284838c81334b751b44 | /include/RED4ext/Types/generated/AI/VehicleRacingCommand.hpp | 1ff4bf5b4e7b7bb65cc6e8dc3246e3ed840ccfae | [
"MIT"
] | permissive | 0xSombra/RED4ext.SDK | 79ed912e5b628ef28efbf92d5bb257b195bfc821 | 218b411991ed0b7cb7acd5efdddd784f31c66f20 | refs/heads/master | 2023-07-02T11:03:45.732337 | 2021-04-15T16:38:19 | 2021-04-15T16:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,109 | hpp | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/Handle.hpp>
#include <RED4ext/Types/SimpleTypes.hpp>
#include <RED4ext/Types/generated/AI/VehicleCommand.hpp>
namespace RED4ext
{
namespace game { s... | [
"expired6978@gmail.com"
] | expired6978@gmail.com |
7f9901814fe08e3cffad84c9a0037df41cfc2aad | aed6f78ebdc3e63e1126d9b5c30bd2ff1aab29b9 | /Source/K2NodeEditor/K2NodeEditor.cpp | 99bbdc877e24d03542503880ca2a6208c747d6cc | [] | no_license | ee99233/ue4blue | 2df630ab5b724b68f705c510d4478a5bc2c316a4 | 1e4a9a602d4677f6fb2867ee865fc9b217877d6d | refs/heads/master | 2021-02-23T01:51:10.199302 | 2020-03-07T11:33:46 | 2020-03-07T11:33:46 | 245,390,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212 | cpp | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "K2NodeEditor.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, K2NodeEditor, "K2NodeEditor" );
| [
"941108816@qq.com"
] | 941108816@qq.com |
dc17ce98c05c9ed0b7a706d354368d488a707532 | d93159d0784fc489a5066d3ee592e6c9563b228b | /RecoLuminosity/LumiProducer/test/testWrite2LumiDB.cpp | 7f91defcd9f7d573ca13797fe532e5e37e747ad1 | [] | permissive | simonecid/cmssw | 86396e31d41a003a179690f8c322e82e250e33b2 | 2559fdc9545b2c7e337f5113b231025106dd22ab | refs/heads/CAallInOne_81X | 2021-08-15T23:25:02.901905 | 2016-09-13T08:10:20 | 2016-09-13T08:53:42 | 176,462,898 | 0 | 1 | Apache-2.0 | 2019-03-19T08:30:28 | 2019-03-19T08:30:24 | null | UTF-8 | C++ | false | false | 3,281 | cpp | #include "FWCore/PluginManager/interface/PluginManager.h"
#include "FWCore/PluginManager/interface/standard.h"
#include "RecoLuminosity/LumiProducer/interface/DataPipe.h"
#include "RecoLuminosity/LumiProducer/interface/DataPipeFactory.h"
#include <sstream>
#include <iostream>
int main(int argc, char** argv){
unsigned... | [
"giulio.eulisse@gmail.com"
] | giulio.eulisse@gmail.com |
ef958996cf21c295abb920b89ab16f413916e11e | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/abc116/A/4152320.cpp | 90285c91c67070696afddd87534f42dd44d176c5 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <cmath>
#include <cstdio>
#include <queue>
using namespace std;
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
int main(){
int a,b,c; cin >> a >> b >> c;
int ans;
if(a > b && a > c) ans = (b * c) / 2;
else if(b > a && b ... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
b585f99b2e517880c843a248164d778c348f1e90 | 7a776787f12d8452715c7c78637bf2eaad254f52 | /hw3/omp-solved6.cpp | 10e993ab81dc4f8dfdf575b5be9ef861a4689153 | [] | no_license | hzhang-math/HPChw3_HuanZhang | e75faafecc6d1af395cc213c0011c05f1368e629 | 56d6e5853942d07f71344c1e9273cedf2a353793 | refs/heads/main | 2023-03-27T07:39:03.956856 | 2021-03-25T04:40:20 | 2021-03-25T04:40:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,249 | cpp | /******************************************************************************
* FILE: omp_bug6.c
* DESCRIPTION:
* This program compiles and runs fine, but produces the wrong result.
* Compare to omp_orphan.c.
* AUTHOR: Blaise Barney 6/05
* LAST REVISED: 06/30/05
**************************************************... | [
"hz1994@crunchy1.cims.nyu.edu"
] | hz1994@crunchy1.cims.nyu.edu |
5e854e0240c8c5c6017fa9ccc6c54b6c77aaa575 | 10d98fecb882d4c84595364f715f4e8b8309a66f | /sketching/countmin.h | e3e0f0a755465b284b3b63d1c684c9e7ded8c8b8 | [
"CC-BY-4.0",
"Apache-2.0"
] | permissive | afcarl/google-research | 51c7b70d176c0d70a5ee31ea1d87590f3d6c6f42 | 320a49f768cea27200044c0d12f394aa6c795feb | refs/heads/master | 2021-12-02T18:36:03.760434 | 2021-09-30T20:59:01 | 2021-09-30T21:07:02 | 156,725,548 | 1 | 0 | Apache-2.0 | 2018-11-08T15:13:53 | 2018-11-08T15:13:52 | null | UTF-8 | C++ | false | false | 5,389 | h | // Copyright 2021 The Google Research Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
34d285f05925268580482d6a1ca0891c225eebf3 | d20815d4a6fc930b8ad380741259e859192a62d5 | /pyhllpp/cpp_src/hll.hpp | 3e03fb170370f615a199433d285a95ed869ac9fc | [] | no_license | leadhub-code/hyperloglog | ef6a56d70269e9a4ba31348f31a02cd17ff7697d | b944ed0fe340ce670e39aa2da88b1c308aeaed9e | refs/heads/master | 2021-06-02T19:30:35.821156 | 2020-04-08T13:31:33 | 2020-04-08T13:36:32 | 97,488,014 | 3 | 0 | null | 2017-07-30T23:07:33 | 2017-07-17T14:50:48 | C++ | UTF-8 | C++ | false | false | 748 | hpp | //-----------------------------------------------------------------------------
// Implemented from: https://stefanheule.com/papers/edbt13-hyperloglog.pdf
//-----------------------------------------------------------------------------
#ifndef _HLL_HPP
#define _HLL_HPP
#include <cstdint>
namespace hll {
struct _HLL ... | [
"radovan.cerveny@gmail.com"
] | radovan.cerveny@gmail.com |
ddc472640fc501b8c8d614ab3f68af791b3501e4 | 1dc5e41504d55c1f16c5b6b1c64cc18b1319bc03 | /AcceleratedCPP/Chapter14/handle.h | 1167e285f30996c65446c5920d664303d46e03f5 | [] | no_license | whitetree-wizad/acceleratedcpp | ab3460edc4a87eecf9cf566935465e01a21e8192 | a2bbd9cde1a6e26454965c620353ab4fc4fc5726 | refs/heads/master | 2023-04-15T08:24:24.741112 | 2021-05-02T13:01:00 | 2021-05-02T13:01:00 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,323 | h | #ifndef HANDLE_H
#define HANDLE_H
#include <stdexcept>
// 제네릭 핸들 클래스
// Handle은 객체를 참조하는 값
// Handle 객체를 복사할 수 있음
// Handle 객체가 다른 객체에 바인딩되어있는지 확인 가능
// Handle 객체가 가리키는 객체가 상속구조에 속해 있다면
// 다형성에 근거한 행동을 수행할 수 있음
// 즉, virtual 함수를 호출하면,
// 구현시스템이ㅣ 동적으로 실행시킬 적당한 함수를 선택함
template <clas... | [
"kimkm@stclab.com"
] | kimkm@stclab.com |
ee47400cf7851d2474b31460d1fb128fac91a107 | cd176a3d13bf4023993fbab99d390de32985a577 | /src/RPF/SampleSet.cpp | bd74cb2a4bd5195ee305e8f060d4396ea9aa17a1 | [
"BSD-2-Clause"
] | permissive | dickmao/cse528.compare | b92168f0cce6697bc42b82f0de12953da54bb776 | c4e152cdde2b94c5e144459ad1ca83deb9eb6950 | refs/heads/master | 2021-01-10T12:05:42.875696 | 2015-12-05T22:09:00 | 2015-12-05T22:09:00 | 47,474,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,044 | cpp | #include "SampleSet.h"
// Main set of all samples in the image
extern SampleSet* samples;
SampleSet::SampleSet(size_t size, bool initializeData) {
// Initialize fields
totalSize = size;
numOfSamples = 0;
randomValuesInitialized = false;
// Every SampleSet has a cPrime vector that corresponds to ... | [
"dick.r.chiang@gmail.com"
] | dick.r.chiang@gmail.com |
7c65b00272f7a50afe45a4a23d10b0bfb03651cc | a38208270061f7958eb7c6e9265c72d66ac86f66 | /CodeForces/B. Ternary Sequence.cpp | efcc1eb73be07a31c89939d2b8e3488f8e435239 | [] | no_license | mimsabiha/Problem-solving | 7a532aeb1f02c185d91aa618a17df8bdd33f85c9 | 31e4c870b81da8f26ca4cff1e7f372149f95ec5d | refs/heads/main | 2023-03-30T17:32:49.480447 | 2021-04-08T17:08:09 | 2021-04-08T17:08:09 | 332,141,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,203 | cpp | #include<stdio.h>
int main()
{
int tin;
scanf("%d",&tin);
for(int i=0;i<tin;i++)
{
long long int a,b,c,d,e,f;
scanf("%lld %lld %lld",&a,&b,&c);
scanf("%lld %lld %lld",&d,&e,&f);
long long int res =0;
if(e>0 && e>=c)
{
... | [
"noreply@github.com"
] | noreply@github.com |
c92284a23b1410b174f087d7322948c3eb1e0e10 | e85338f6d8666eb476698de5025c742b9b838a50 | /ojs/cf/670F.cpp | 54c04dc3d2248b4bd03d2b7c18e2f47caf627b33 | [] | no_license | yancouto/competitive-programming | 8104bb3c45e0b385c2abb4cfcac14c35cce0619e | ac849e3aa858eea56b0aa6b7eb93e9a9e70f9475 | refs/heads/master | 2022-10-19T11:29:46.932829 | 2022-10-07T00:16:43 | 2022-10-07T00:16:43 | 66,641,933 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,587 | cpp | #include <bits/stdc++.h>
using namespace std;
#define fst first
#define snd second
typedef unsigned long long ull;
typedef long long ll;
typedef pair<int, int> pii;
#define pb push_back
const ll modn = 1000000007;
inline ll mod(ll x) { return x % modn; }
#ifdef ONLINE_JUDGE
# define LLD "%I64d"
# define debug(args...) ... | [
"yancouto@gmail.com"
] | yancouto@gmail.com |
b197ac4dcb7fa876338a33c6cfdeec3bbcb1c7da | 85ea7256155ab59fc8bc6d80e0bcdcb2b904a402 | /lib/Driver/StubDriver.cpp | 7fb82d20bc3e7d18f3d281ac48f84b2229097d27 | [
"NCSA"
] | permissive | QPC-github/tapi | 3c0c37b547107f3a24ce624b9b821baedaee0547 | 4355487b1bed604904076508972f834a7e3f7508 | refs/heads/main | 2023-08-20T16:42:37.048989 | 2020-08-07T06:33:43 | 2021-10-06T05:39:00 | 588,919,085 | 1 | 1 | NOASSERTION | 2023-01-14T13:31:58 | 2023-01-14T13:31:57 | null | UTF-8 | C++ | false | false | 19,591 | cpp | //===- lib/Driver/StubDriver.cpp - TAPI Stub Driver -------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"91980991+AppleOSSDistributions@users.noreply.github.com"
] | 91980991+AppleOSSDistributions@users.noreply.github.com |
ad866de41e88f1c039a34e272266b9a3723d0fcb | 2c5a193cb79c6eb86850a11892719a8989ac8591 | /treesR/serialization.cpp | 97fd277e3de30ce8e381bf1d3f9c7d401b8e508c | [] | no_license | Anubhav2907/DSA | 0b9418f048e16e8bedbda709f5bdedcafeece44b | a2fa56a8e32002a1a77a498cd956d7256b327bf0 | refs/heads/master | 2023-08-15T19:31:18.723237 | 2021-09-25T17:58:00 | 2021-09-25T17:58:00 | 370,788,119 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 723 | cpp | #include <bits/stdc++.h>
using namespace std;
struct Node
{
int key;
struct Node *left;
struct Node *right;
Node(int k)
{
key = k;
left = right = NULL;
}
};
void serialize(Node *root, vector<int> &v)
{
if (root == NULL)
{
v.push_back(-1);
return;
}
... | [
"u19ec135@eced.svnit.ac.in"
] | u19ec135@eced.svnit.ac.in |
2014cb3f055a4b89401c24f8e5f0426824580d76 | 91d7f46491ddc45513aa49873058903ff3679f94 | /src/module/PhotoPionProduction.cpp | 14b9f3156ef1082985824b131dd6a13ac7fb18a1 | [] | no_license | msettimo/CRPropa3 | 8f2ebb9415c3575ca0ca5ebb9b54bf79144d4e4f | f47d18bbd2178ed87759abba7d8be18e414a1558 | refs/heads/master | 2021-01-15T08:14:28.899912 | 2014-01-05T20:56:24 | 2014-01-05T20:56:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,273 | cpp | #include "crpropa/module/PhotoPionProduction.h"
#include "crpropa/ParticleID.h"
#include "crpropa/Random.h"
#include <kiss/convert.h>
#include "sophia.h"
#include <limits>
#include <cmath>
#include <sstream>
#include <fstream>
#include <stdexcept>
namespace crpropa {
PhotoPionProduction::PhotoPionProduction(PhotonF... | [
"walz@physik.rwth-aachen.de"
] | walz@physik.rwth-aachen.de |
0203ce41c1a9be429bed39fb7f21a92466ccac86 | ff34f735c8dc264288799acc064f932077ca88f3 | /01_complexity_analysis/calculate_big_o/recursion03.cpp | 667730276b16acd31b82d3d45cd15b76fa9cf7ee | [] | no_license | Manchas2k4/algorithms | 8e8b1c1f8ba43a77d76a1f63da74d4e64f3b6736 | 442f3e38fbc2f23b672cab0048a08c658b7432e1 | refs/heads/master | 2021-06-02T03:12:54.778664 | 2021-05-20T14:32:47 | 2021-05-20T14:32:47 | 162,755,149 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 961 | cpp | // =================================================================
//
// File: recursion03.cpp
// Author: Pedro Perez
// Description: This file contains the code that converts an integer
// to a string in any base between 2 and 16.
//
// Copyright (c) 2020 by Tecnologico de Monterrey.
// All Rights Reserve... | [
"pperezm@tec.mx"
] | pperezm@tec.mx |
79ca7947153954aef766d65d48bedf9e43c01325 | e13270fbf562e47c8016888735589e755a033349 | /blake/Arduino/Blake_Server/Blake_Server.ino | d7af485d51d997c2eb856583b6a2d779269ba7ae | [] | no_license | zhiyihuang/ouassa_arduino_code | 07535825447fad903b956be4e743874b67d25488 | 1127575549fcbcd8c3277883b4a2b1ef70ecb1ba | refs/heads/main | 2023-02-01T09:03:26.078999 | 2020-12-11T02:12:04 | 2020-12-11T02:12:04 | 320,437,248 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | ino | #include <ESP8266WiFi.h>
WiFi.Server(9009);
void setup() {
Serial.begin(9600);
delay(500);
Serial.println("its ya boy");
WiFi.mode(WIFI_AP_STA);
WiFi.softAPConfig(IPAddress(10,10,10,10), IPAddress(10,10,10,10), IPAddress(255,255,255,0));
WiFi.softAP("Not keen for talks", "qwer1234");
server.begin();
}
void loop() ... | [
"hzy@cs.otago.ac.nz"
] | hzy@cs.otago.ac.nz |
61f0e4b1f9bcd80722568fcee1770f6ba11681fb | 4427d7b1053c4d0cb23f751931d1e7e65549452d | /OutputPractice/OutputPractice/소스.cpp | 30a94751e993cd89d95b9ae5f51f2201136b088e | [] | no_license | zkem4wkd/cPractice | 6091d5db48795ba77a67c2fd45d10e076b753c09 | 353dad7a63591c4e3ffc0baf82d5f5598fb8e01f | refs/heads/master | 2022-12-12T20:30:37.110224 | 2020-08-28T08:32:46 | 2020-08-28T08:32:46 | 288,596,002 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | cpp | #include <iostream>
#include <stdio.h>
using namespace std;
int main(void)
{
string userId = "";
int userPassWd = 0;
printf("Unity RPG2020\n");
printf("=======================================\n");
printf("Enter your ID : ");
scanf("%s",userId);
printf("ID : %s\n",userId);
printf("Enter your PassWord(Only... | [
"62642237+zkem4wkd@users.noreply.github.com"
] | 62642237+zkem4wkd@users.noreply.github.com |
79a1ad3d92839d2081704fd72d26a41561fd7f85 | 77170cbcd2c87952763f770d50abd2d8b671f9d2 | /aws-cpp-sdk-apigateway/source/model/CreateStageResult.cpp | f816ee0e01e95cf852d6888e925afd3e1fdaa7d8 | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | bittorrent/aws-sdk-cpp | 795f1cdffb92f6fccb4396d8f885f7bf99829ce7 | 3f84fee22a0f4d5926aadf8d3303ea15a76421fd | refs/heads/master | 2020-12-03T00:41:12.194688 | 2016-03-04T01:41:51 | 2016-03-04T01:41:51 | 53,150,048 | 1 | 1 | null | 2016-03-04T16:43:12 | 2016-03-04T16:43:12 | null | UTF-8 | C++ | false | false | 3,209 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | [
"henso@amazon.com"
] | henso@amazon.com |
4373a060179ea504f8efb188d51366ec042e1ffb | f51e54e43b0d5b889332a4c6982c9faf4de0528b | /PodstawyObslugiBledowKlasyWyjatkow/PodstawyObslugiBledowKlasyWyjatkow/exc_mean.cpp | 677a4244fa36a0af1b62f18d88eb3b219dc0eae6 | [] | no_license | rafal-nowak/TI2 | 6d88ceb79af6074a0156e7fba19318210ad82c17 | f80a50f62af18b31dcfd16f9ecb3e92090961dfd | refs/heads/master | 2021-03-22T09:06:08.663699 | 2020-05-27T20:07:04 | 2020-05-27T20:07:04 | 247,351,220 | 4 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 22 | cpp | #include "exc_mean.h"
| [
"contact@rafal-nowak.com"
] | contact@rafal-nowak.com |
5bc8a99046254dbaf4e0634459c3dea4ca87aae1 | 97a8c745db33c7e4f33d573a70c8060ad1cf0e72 | /Advanced Algorithms/FibonacciSeq/fibonacci.cpp | f2e908cfdd58d665066920561745cf6c719961af | [] | no_license | Sudipta2002/UEMK-CSE-RESOURCES | 498fcaef1565a066687fe3e5d14c15c911db3f0e | 529dd518442c962406abfd0506d372f169e7a5f3 | refs/heads/main | 2023-06-15T21:25:20.134069 | 2021-07-12T06:25:39 | 2021-07-12T06:25:39 | 347,376,840 | 6 | 3 | null | 2021-06-14T14:33:34 | 2021-03-13T13:23:18 | Java | UTF-8 | C++ | false | false | 380 | cpp | #include<iostream>
using namespace std;
void fib(int n);
int main()
{
int n;
cout << "Enter a positive integer: ";
cin >> n;
cout << "Fib of " << n << " = " ;
fib(n);
return 0;
}
void fib(int n)
{
int sum1=0,sum2=1,i,sum;
cout<<"0 ";
for(i=1;i<=n;i++)
{
sum=sum1+sum2;
... | [
"71402528+ArchishmanSengupta@users.noreply.github.com"
] | 71402528+ArchishmanSengupta@users.noreply.github.com |
c2a193b528cf65d91ef1be02282308feeba0bc9d | 430af517ab02f6ad38f536895e1c1a5633042752 | /Blatt2/Aufgabe3.cpp | 7efd2d492cb931e0e394837b2f658db12507961f | [] | no_license | Nolara/CP | 78b481d6aed6aeb4f0a2d66dfaf5a1ee9485e8e9 | 25c6a738bf17b2ce37fc34d55e37abc4add5a418 | refs/heads/master | 2022-11-08T22:21:36.450298 | 2020-07-09T16:12:32 | 2020-07-09T16:12:32 | 257,704,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,295 | cpp | #include <iostream>
#include <Eigen/Dense>
#include <math.h>
#include <fstream>
#include <vector>
#include "profiler.h"
using namespace std;
using namespace Eigen;
//Funktion zum Erstellen einer Zufallsmatrix der Größe nxn
MatrixXd Random_matrix(int n){
MatrixXd A(n,n);
A= MatrixXd::Random(n,n);
return A... | [
"Lara.Nollen@tu-dortmund.de"
] | Lara.Nollen@tu-dortmund.de |
43d6b43a7f3e60ad2787322de8f985a3127d6a65 | 60fdc45761aac91af97028e2861e709d9dbbe2cd | /kscope-binary-only-works-on-lucid/include/ktimezonewidget.h | 9241b14a31c2fba906fe71d465c09c4b43a01568 | [] | no_license | fredollinger/kscope | f3636cd4809f6be8e22cb8b20fc68d14740d9292 | 8bd0f6d1f5ec49e130ee86292b1e6b6cfe3b0f4d | refs/heads/master | 2021-01-01T19:56:55.106226 | 2010-09-29T20:17:22 | 2010-09-29T20:17:22 | 948,786 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,184 | h | /*
Copyright (C) 2005, S.R.Haque <srhaque@iee.org>.
This file is part of the KDE project
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2, as published by the Free Software Foundation.
This library is di... | [
"follinge@gmail.com"
] | follinge@gmail.com |
bc686f985657b032b8e07ddc2a86b67d8075775e | 879681c994f1ca9c8d2c905a4e5064997ad25a27 | /root-2.3.0/run/tutorials/multiphase/twoPhaseEulerFoam/RAS/fluidisedBed/1.95/T.particles | ca5efeb517c48b57ca07f66acf3db1ad50b3d969 | [] | no_license | MizuhaWatanabe/OpenFOAM-2.3.0-with-Ubuntu | 3828272d989d45fb020e83f8426b849e75560c62 | daeb870be81275e8a81f5cbac4ca1906a9bc69c0 | refs/heads/master | 2020-05-17T16:36:41.848261 | 2015-04-18T09:29:48 | 2015-04-18T09:29:48 | 34,159,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,613 | particles | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"mizuha.watanabe@gmail.com"
] | mizuha.watanabe@gmail.com |
47863c7d426f3fb62195f50397a3483f3ac9548f | a909df0ba2abf695df4a7d15350312d4c6463c48 | /UVa/10604.cpp | fc0ac97cbb977be7d02c3196b69821c51077262e | [] | no_license | SayaUrobuchi/uvachan | 1dadd767a96bb02c7e9449c48e463847480e98ec | c213f5f3dcfc72376913a21f9abe72988a8127a1 | refs/heads/master | 2023-07-23T03:59:50.638063 | 2023-07-16T04:31:23 | 2023-07-16T04:31:23 | 94,064,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,311 | cpp | #include <stdio.h>
#include <string.h>
int n;
int used[1800000];
int dp[1800000];
int heat[7][7], res[7][7];
int times[7];
int recursion(int num, int state)
{
int i, j, h, r, temp, stemp, next;
if(used[state])
{
return dp[state];
}
used[state] = 1;
if(num == 1)
{
return dp[state]=0;
}
dp[state] = 2147483... | [
"sa072688@gmail.com"
] | sa072688@gmail.com |
06bc2ffa3db45ad29a85e64204b0a4f521b700eb | ef5428d2fdfdc2f9f3a0a3fe16a6126501cb0e65 | /SAS/NEnvironment.cpp | 8d389f52f20970961fab238d74c1cbb403ac046f | [] | no_license | gainhagenau/SAS | 2262cdc90cccd64e8971831f6c3254140619097a | 60fba32a45bce6b49208213e7e20303926821e5a | refs/heads/master | 2021-01-21T14:01:31.700465 | 2016-05-20T06:48:41 | 2016-05-20T06:48:41 | 55,372,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | cpp | /**
Single Agent Search
University of Denver
4/2016
Authored by Gain Hagenau and Ryan Aikman
**/
// NEnvironment.cpp
// Homework1
//
#include "NEnvironment.hpp"
//Return avalible actions from that state
void NEnvironment::GetActions(NState &s, vector<int> &actions){
actions.clear(); //clear the current ac... | [
"ghagenau@cs.du.edu"
] | ghagenau@cs.du.edu |
7b973c6f02a2cf52f6c75dd590c13959c807d029 | a93bb0f268cf5e2de2dd745c86a160ca60fada86 | /源代码/Thirdparty/UGC/inc/Scene/UGStyle3D.h | e8bed44d0e55e2c1bded1ce765782f7be1d4eca3 | [
"Apache-2.0"
] | permissive | 15831944/Fdo_SuperMap | ea22b74ecfc5f983f2decefe4c2cf29007b85bf6 | 3d4309d0f45fa63abcde188825a997077dd444f4 | refs/heads/master | 2021-05-29T09:57:19.433966 | 2015-05-22T09:03:56 | 2015-05-22T09:03:56 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,415 | h | // UGStyle3D.h: interface for the UGStyle3D class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(UGSTYLE3D_H)
#define UGSTYLE3D_H
#include "Graphics3D/UGGraphics3DHeaders.h"
#include "Graphics3D/UGMaterial.h"
namespace UGC{
class SCENE_API UGStyle3D
{
public:
UGStyle3D();
... | [
"huanliang26@126.com"
] | huanliang26@126.com |
748c69257f5894786349ccb273cd176f37aea3ce | e7f172bea75eac7508619ab0889c34fa207222a2 | /bench/bench_maps.cpp | 25503795b579409abab8a8ab41ce99ab03d0a22a | [
"MIT"
] | permissive | kampersanda/poplar-trie | 56bb8ccf4e859006c78d2a88f8dea406dc6ff97b | 4d8aaa9d1e84ba10dc338c1a5acc590bb6d86c50 | refs/heads/master | 2022-02-23T12:46:25.577462 | 2021-09-07T05:12:58 | 2021-09-07T05:12:58 | 122,721,936 | 53 | 5 | MIT | 2022-02-12T20:34:06 | 2018-02-24T08:51:29 | C++ | UTF-8 | C++ | false | false | 9,854 | cpp | /**
* MIT License
*
* Copyright (c) 2018–2019 Shunsuke Kanda
*
* 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, c... | [
"shnsk.knd@gmail.com"
] | shnsk.knd@gmail.com |
796f19743df4f487dde264b374bc823aeb7562fc | 4c4beac6b67297594beb93d569974c6c357c4ef9 | /tesseract-master/textord/tospace.cpp | c0dedb35710235bf889ba87842748e7c3741f12d | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | krishxx/image_processing | 92f2fc93b4be9d063df4d8f56a488f230624d129 | 840eb307c4c3f82ebd573a99e7758a81d68b284a | refs/heads/master | 2020-08-02T20:38:43.901485 | 2019-09-28T13:11:57 | 2019-09-28T13:11:57 | 211,499,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68,682 | cpp | // 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 in writing, software
// distributed under the ... | [
"krishna.sadula@gmail.com"
] | krishna.sadula@gmail.com |
6c3090a991a7e0a93439db5556f2d8dc53f3c2cb | 209ca39b56d086c851c3789e103881fd117462bd | /HPController.h | 6d9fd0b5cf9eae2cdcc838e183e368e47f5a321a | [] | no_license | EunwooSong/2019_Sunrin_Smash_Bros | e47000dc941e03ad412a98e4a8a2ee915181eeb3 | 9663423d92a960670bd23c9456b99e93b3537c27 | refs/heads/main | 2023-08-19T00:29:08.088913 | 2021-09-13T00:11:09 | 2021-09-13T00:11:09 | 405,781,955 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,158 | h | #pragma once
#include "Sprite.h"
#include "PlayerFrame.h"
#include "Scene.h"
class HPController
{
private:
Sprite* outFlame;
Sprite* outFlame2;
Sprite* Player1HP1;
Sprite* Player1HP2;
Sprite* Player1HP3;
Sprite* Player1HP4;
Sprite* Player1HP5;
Sprite* Player2HP1;
Sprite* Player2HP2;
Sprite* Player2HP3;
S... | [
"songe00348@gmail.com"
] | songe00348@gmail.com |
7bb894e40b4bf434a349ec485d06d5df8271e890 | 7b71e8c1314958f499970c35c003a8e65d04aa86 | /Source/FIT2097_A2/FuseDoor.h | ff9d023f623e310f446b34a32bae176f2a9b1071 | [] | no_license | scarletraptor/FIT2097_A2 | 87bd9c1258c4f36c4476ba3171a56c0c61c82dae | 54d61742153a39353f3a39bf7bbe9e2fe897221d | refs/heads/master | 2020-04-01T21:40:58.537830 | 2018-10-19T05:06:04 | 2018-10-19T05:06:04 | 153,670,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Interactable.h"
#include "FuseDoor.generated.h"
/**
*
*/
UCLASS()
class FIT2097_A2_API AFuseDoor : public AInteractable
{
GENERATED_BODY()
public:
//constructor
AFuseDoor();
// required for network
// voi... | [
"elai7@student.monash.edu"
] | elai7@student.monash.edu |
75b357a91bbc536df124fd0ab166263d020436ca | 0611b1cc08b15d329057595365359947c20fcd59 | /洛谷/题单/【算法1-7】搜索/P2392 kkksc03考前临时抱佛脚.cpp | 97f6e6f46e20c405b5c3fa0719e163dc055d09fa | [] | no_license | Lan-ce-lot/overflow | c9a7167edaeeaa1f9f1e92624726b1d964289798 | ae76120e328a5a2991eb6ef7f1ae5e279374e15c | refs/heads/master | 2023-04-08T04:24:49.614146 | 2021-04-25T05:33:06 | 2021-04-25T05:33:06 | 279,082,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,940 | cpp | /*************************************************************************
> FileName:
> Author: Lance
> Mail: lancelot_hcs@qq.com
> Date: 9102.1.8
> Description:
************************************************************************/
//#include <bits/stdc++.h>
//#pragma comment(linker, "/STA... | [
"1984737645@qq.com"
] | 1984737645@qq.com |
c94c1527ca10d2995e84e17a44e3f6078e6666ce | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /NetSSL_OpenSSL/src/SSLException.cpp | b97ffd48173f534827eaec80633f789d83a54e7a | [
"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,198 | cpp | //
// SSLException.cpp
//
// $Id: //poco/1.4/NetSSL_OpenSSL/src/SSLException.cpp#1 $
//
// Library: NetSSL_OpenSSL
// Package: SSLCore
// Module: SSLException
//
// Copyright (c) 2006-2009, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free of charge, to any pe... | [
"adzhou@hp.com"
] | adzhou@hp.com |
9d86a950ff262c97aaafa9fd7584c3406ca0adc1 | 8dd64ef7cfafa452eb307123bf0ca75ae11e8bb5 | /Algorithms/easy/014_longest_common_prefix.cpp | 614b98197b57892fea5956f8fafc213c2fb130c5 | [] | no_license | gwqw/LeetCodeCpp | 1a9dd673ab0dd50a5f033f3d3e373b84477369be | 64a7abad03a3783e6129ee942e842aaed91f75a5 | refs/heads/master | 2021-12-23T10:56:38.466793 | 2021-08-13T07:36:25 | 2021-08-13T07:36:25 | 204,003,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 876 | cpp | /**
14. Longest Common Prefix
Write a function to find the longest common prefix string amongst an array of strings.
If there is no common prefix, return an empty string "".
Example 1:
Input: ["flower","flow","flight"]
Output: "fl"
Example 2:
Input: ["dog","racecar","car"]
Output: ""
Explanation: There is no common p... | [
"="
] | = |
4e09b0a79c88dc052bafd98816e6eaf302fa81f2 | f7338a2174f1a10651cb798506fd054fef2298b5 | /Chinalachaiagari_Lab3/Executive.cpp | 3a70466c27e1b9c00af4e1901bb1b54e8a05cf2c | [] | no_license | MeganaChinala/EECS560 | de638b67e1e5cc4954be56ea7fb43a110d630b48 | 6d189b177c2cddd75485dc864fff165cafca8809 | refs/heads/master | 2020-07-24T08:34:33.428472 | 2019-09-27T17:42:34 | 2019-09-27T17:42:34 | 207,867,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,871 | cpp | #include "Executive.h"
#include <iostream>
#include <string>
#include <sstream>
#include <limits>
#include <fstream>
#include <iomanip>
using namespace std;
Executive::Executive(string inputFile)
{
string data = "\0";
ifstream inFile;
int menuOption;
int optionsInFile = 0;
inFile.open(in... | [
"noreply@github.com"
] | noreply@github.com |
6deb9186b21c66e12abb88d9924e3cd163ca3ab7 | fb1fd049d6802eddeb5216ef9bb600cc63e19309 | /src/gnome_fortress/game/ShotgunStreamTechnique.cpp | f3b89fffb8917756a04184b503422b277c18f6ae | [] | no_license | zywkloo/gnome-fortress | 7ad29e89c96dbfa3e0233530159679e254f1e645 | fb4c1bbec88ae20c8d8419462064990d2995d017 | refs/heads/master | 2020-04-20T17:56:38.209286 | 2018-12-12T09:51:50 | 2018-12-12T09:51:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,782 | cpp | #include "gnome_fortress/game/ShotgunStreamTechnique.h"
#include <glm/gtc/type_ptr.hpp>
namespace gnome_fortress {
namespace game {
ShotgunStreamTechnique::ShotgunStreamTechnique(GLuint program)
: BasicProjectionTechnique(program),
timer(0),
power(1.0f),
main_texture_index(0) {
addUnif... | [
"mitchellblanchard3@gmail.com"
] | mitchellblanchard3@gmail.com |
a71b790c78ae6c37b89fbfb500220ba194f956c9 | cae74ad1a84776437c4869e1f62691109d140f66 | /Windows/WClassesDialog.cpp | 8ce0083d0d50ff57eaa1b822c00eef4f3668e176 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | cas-nctu/multispec | c0d42c783b7baeef132d936f040d4bb5350349d7 | 0bc840bdb073b5feaeec650c2da762cfa34ee37d | refs/heads/main | 2023-01-19T01:15:52.594743 | 2020-11-12T11:50:31 | 2020-11-12T11:50:31 | 301,309,000 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,877 | cpp | // MultiSpec
//
// Copyright 1988-2020 Purdue Research Foundation
//
// 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: https://www.apach... | [
"kengting0826@gmail.com"
] | kengting0826@gmail.com |
01624e8fdc04d9739e8a2777207ba0664e1d7848 | ec6c2b6f6d1c996cefed6aac773f5b3cf75d4b57 | /include/GameManager.h | d4d2ada37e97c20516aa57e63ee19a4c0ee29214 | [] | no_license | yuta-inoue/2048 | 493287b282d01162e74961e8710d1f337bf9c68f | 8feecc6da264734214f81cc98a32e3033f8b557f | refs/heads/master | 2021-01-10T19:37:09.128245 | 2015-07-22T01:59:48 | 2015-07-22T01:59:48 | 39,479,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | h | #ifndef GAME_MANAGER_H
#define GAME_MANAGER_H
#include "Util.h"
#include "Grid.h"
class GameManager {
private:
bool over;
int score;
int dx[4],dy[4];
public:
Grid* grid;
GameManager();
GameManager(const GameManager& gm);
void move(int direction);
void initTraversals(P v);
bool is... | [
"y.wizowoz@gmail.com"
] | y.wizowoz@gmail.com |
5715c748595f8f17ba9150888d2166ba513ac9e1 | 0c397eba834d7000f3fe20a500b46742d0f77b22 | /docs/ds/code/kdt/kdt_3.cpp | 5bb8d7aa56ed86ee65fa77a78ae35bcd561646ed | [
"MIT"
] | permissive | xiaocairush/xiaocairush.github.io | 4548ecd7e3eecd13d2380d740d51ef3593658f30 | e1a536dd5c0100f1f13835dfc8354fed13ff18e9 | refs/heads/master | 2023-08-31T12:55:34.427476 | 2023-07-29T10:37:38 | 2023-07-29T10:37:38 | 64,105,374 | 4 | 1 | MIT | 2023-09-11T04:51:21 | 2016-07-25T05:13:22 | HTML | UTF-8 | C++ | false | false | 2,830 | cpp | #include <algorithm>
#include <cstdio>
#include <cstring>
using namespace std;
const int maxn = 200010;
int n, op, xl, xr, yl, yr, lstans;
struct node {
int x, y, v;
} s[maxn];
bool cmp1(int a, int b) { return s[a].x < s[b].x; }
bool cmp2(int a, int b) { return s[a].y < s[b].y; }
double a = 0.725;
int rt, cur, d[... | [
"xiaocairush@gmail.com"
] | xiaocairush@gmail.com |
cdf9944342377731cb30c7173670d074103d25d3 | 7ecbdf17a3d6c11adac10781fc08f16e60c2abe7 | /GridWorldPython.cpp | 5362ce253326369fdae9850c942b304166d321db | [] | no_license | yangyutu/multiagentAssembly | 459f7941403d38c877f51094dee9462372b491c0 | 1e7c950e13fadf5e2e471de15b5c06f349130869 | refs/heads/master | 2020-06-07T06:17:27.747500 | 2019-06-30T19:39:58 | 2019-06-30T19:39:58 | 192,946,813 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 866 | cpp |
/*
<%
setup_pybind11(cfg)
cfg['compiler_args'] = ['-std=c++11', '-fopenmp']
cfg['linker_args'] = ['-fopenmp']
cfg['sources'] = ['GridWorld.cpp', 'ParticleSimulator.cpp', 'ParallelNormalReservoir.cpp', 'omprng.cpp', 'rngstream.cpp']
%>
*/
#include <omp.h>
#include <pybind11/pybind11.h>
#include <pybind11/numpy.h>
#inc... | [
"yangyutu123@gmail.com"
] | yangyutu123@gmail.com |
ce5c9329c8fda47760fb9e4e6c9f742a2836ba75 | 416108a9e20635b36f8e82de4ea3aaed00d9a3e7 | /leetcode/0310 - Minimum Height Trees.cpp | 1bdf25d157ea76980ed44620435f75722088c42a | [] | no_license | annoviko/sandbox | b2cfb11ce24bb477a188e1cc5f71a92835ff1b91 | bc9d89f4b37984ffa052a252639e6535fb88a308 | refs/heads/master | 2023-08-30T23:43:12.940520 | 2023-08-19T11:20:10 | 2023-08-19T11:20:10 | 72,368,789 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,496 | cpp | using graph = std::vector<std::vector<int>>;
class Solution {
public:
std::vector<int> findMinHeightTrees(int n, const std::vector<std::vector<int>>& edges) {
graph g(n);
for (auto& edge : edges) {
int from = edge[0];
int to = edge[1];
g[from].push_bac... | [
"spb.andr@yandex.ru"
] | spb.andr@yandex.ru |
c8745c4c79811263f589d92a9d1cf2b34498996b | c6f4505920e0ef7a4c6b9fff5fed4c9ce24d97af | /ChainOfResponsibility/main.cpp | c085e2c69d9eb3a10c50c84e406f407fd193804a | [] | no_license | luzh0422/DesignPatterns | 43f47e85fbc6a73d24435e2117ea726a17d7cf55 | ca59713c9fa59115742da63ef0afbea1e7c6a8b2 | refs/heads/master | 2021-06-07T02:27:40.188342 | 2020-05-06T14:37:25 | 2020-05-06T14:37:25 | 153,556,496 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 405 | cpp | #include <iostream>
#include "Support.h"
#include "NoSupport.h"
#include "OddSupport.h"
#include "LimitSupport.h"
int main() {
Support *alice = new NoSupport("Alice");
Support *bob = new OddSupport("bob");
Support *diana = new LimitSupport("diana", 4);
alice->setNext(bob)->setNext(diana);
for (int... | [
"zehui.lzh@alibaba-inc.com"
] | zehui.lzh@alibaba-inc.com |
a885ca2299f2bb017b48206a10772d0448909aac | e973a41da37f4ebf73dca765b755dbb5ffd154c5 | /DS_Project/Object/object.cpp | d3b90973515b9feecc51ca6788164e92ac69be5c | [] | no_license | KaloyanKutiyski/SDP_Proj | b669884de145e1dc6e19c462daa0adaf7cd3cbb4 | e1ef961016187c4f8c0740f6875427d7f6e5ada9 | refs/heads/main | 2023-02-11T21:35:45.904670 | 2021-01-11T18:55:59 | 2021-01-11T18:55:59 | 328,027,601 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,305 | cpp | #pragma once
#include"object.hpp"
#include"../Util/RegexUtil.hpp"
#include<cassert>
bool Object::allArePrimitive(Object* object) {
if (object->getType() == PRIMITIVE) {
return false;
}
int index = 0;
while (object->getNth(index).second != nullptr) {
if (object->getNth(index).second->get... | [
"kaloyankutiysky@gmail.com"
] | kaloyankutiysky@gmail.com |
9bf59588afe75d8362f3be5a6f3ea9f1b09e846a | b6bad48fbff4264a2b670b6776f5c0c19c937f54 | /src/agaliarept/dcm_common.h | b3d168d5a6450876de6fcca24e61ad6369ad332c | [
"MIT"
] | permissive | solomon-qwe/agalia | a39343720896545116cb121f6f8e63f4007fbfba | 811655f37e1b875cce53f18da6f4df4fe64e39b4 | refs/heads/master | 2022-08-26T22:59:53.721412 | 2022-08-07T14:14:20 | 2022-08-07T14:18:58 | 90,438,465 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 702 | h | #pragma once
#include <iostream>
#include <unordered_map>
struct dcm_dic_elem
{
std::string vr;
std::wstring name;
};
struct dcm_dic_uid
{
std::wstring name;
};
extern std::unordered_map<std::wstring, dcm_dic_elem>* g_dcm_dic_elem;
typedef std::unordered_map<std::wstring, dcm_dic_elem>::iterator dcm_dic_elem_ite... | [
"solomon-qwe@users.noreply.github.com"
] | solomon-qwe@users.noreply.github.com |
c634db6dfe9b73d68c63f3e1e1b9be8bd936313f | 8be7a7efbaa6a4034e435bc8221cc5fb54f8067c | /Augmented-Reality-on-Qt/AddedSource/QScrollEngine/Shaders/QSh_Texture.h | a6960476bc7fc70d9e662bc9dbe3f0be2eb8d63c | [] | no_license | RinatB2017/Qt_github | 9faaa54e3c8e7a5f84f742d49f4559dcdd5622dd | 5177baa735c0140d39d8b0e84fc6af3dcb581abd | refs/heads/master | 2023-08-08T08:36:17.664868 | 2023-07-28T07:39:35 | 2023-07-28T07:39:35 | 163,097,727 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,269 | h | #ifndef QSH_TEXTURE1_H
#define QSH_TEXTURE1_H
#include "QScrollEngine/Shaders/QSh.h"
#include "QScrollEngine/Shaders/QSh_Color.h"
#include <QColor>
#include <QOpenGLShaderProgram>
#include <QOpenGLTexture>
namespace QScrollEngine {
class QSh_Texture: public QSh_Color
{
public:
QSh_Texture()
{
m_curr... | [
"tux4096@gmail.com"
] | tux4096@gmail.com |
0a94c8802c6a68c021c941a1c6da5622c7385bc0 | f47c341204301c964732dc680489111051d8428f | /Src/PlayerLevelInfo.cpp | 9e381d3d60c6c909fa74703735344c6886944ccd | [] | no_license | nhathuy13598/Demo-Source-Game-2 | 53b90956b421ddc63b710cbe956fb4b7609e85f3 | e2a447b11632bf7cb65e2acd3612ffe8c84a36eb | refs/heads/master | 2020-06-23T02:01:08.579438 | 2019-07-23T16:21:51 | 2019-07-23T16:21:51 | 198,467,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | cpp | #include "PlayerLevelInfo.h"
PlayerLevelInfo::PlayerLevelInfo(int lv, int bt, int bd, int sc)
{
m_level = lv;
m_beamType = bt;
m_beamDamage = bd;
m_nextLevelScore = sc;
}
PlayerLevelInfo::~PlayerLevelInfo()
{
}
int PlayerLevelInfo::getLevel()
{
return m_level;
}
int PlayerLevelInfo::getBeamType()
{
return m_... | [
"nhathuy13598@gmail.com"
] | nhathuy13598@gmail.com |
65d5b5030efa4fc7662c023d326662d1df763e05 | dc6bcfd5b35a303f9d6c1734fd6f5f300ea39377 | /2 Data Structure (DS)/Exercises/1427405017_4/linked_queue.h | 2e3a3179367951ccea5a0055ab10c771703b6695 | [] | no_license | HearyShen/SudaArchive | d2ec1be992ed937b76275d1096be71b61df2e2d5 | 71317dab9720ee27e2a1d16fc0b9a8c20246daf0 | refs/heads/master | 2022-04-16T10:48:49.143807 | 2020-04-17T14:12:04 | 2020-04-17T14:12:04 | 256,519,650 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,000 | h | #ifndef LINKED_QUEUE_H
#define LINKED_QUEUE_H
#include <iostream>
#include "utility.h"
using namespace std;
//const int maxqueue = 10; // small value for testing
//enum Error_code{overflow, success, underflow};
template <class Node_entry>
struct Node
{
Node_entry entry;
Node<Node_entry> *next;
Node()
{
next ... | [
"jiayun.shen@foxmail.com"
] | jiayun.shen@foxmail.com |
f2ab36e1c07fa78111db3aa394da34e7b30aae7b | ebca667a9e25a3ee3811fb4e55e88f1885717d89 | /Sources/Basic/imagerecognizer.cpp | 060090993e476c44b6cdc5d78f41252d8a7f3025 | [] | no_license | pi-null-mezon/OpenIRT | 6b573dee9b68ad5e1fe751e73d9348a9a99c28ea | abc49173fc0474b41f43b747d176a7e8f42bb462 | refs/heads/master | 2022-06-09T11:51:04.270586 | 2022-06-01T11:54:39 | 2022-06-01T11:54:39 | 95,896,446 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,008 | cpp | /*
* Copyright (c) 2011,2012. Philipp Wagner <bytefish[at]gmx[dot]de>.
* Released to public domain under terms of the BSD Simplified license.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions o... | [
"pi-null-mezon@yandex.ru"
] | pi-null-mezon@yandex.ru |
98f27f011cd2bd1f57b874b473ec1c5a34828933 | d64658a6b8391e3faf5abbe029031222efa247b2 | /STL implementation/Spiri STL/nfautil.cpp | 454aa1dc6e90eb750cd0803d77ee0752a07d24fa | [] | no_license | qyqx233/RegexImpl | 6617427c310d85c13f6b34846915d8b7e7f2cb00 | 5f69dc736fe5d267510dce46f4f9ec1b48348720 | refs/heads/master | 2022-02-20T02:15:27.896134 | 2012-12-28T15:28:15 | 2012-12-28T15:28:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,441 | cpp | #include "nfautil.h"
/**
* Converts an integer into a string.
*/
string toString(int val)
{
int a = 10;
stringstream ss;
ss << val;
string str = ss.str();
return str;
}
/**
* Concatenates two nfas and returns the resulting nfa
*/
NFA concat(NFA n1, NFA n2)
{
NFA n3(n1.stateNumber + n2.stateNumber);
n3.st... | [
"spiri@spiri-THINK.(none)"
] | spiri@spiri-THINK.(none) |
9ba0037b20d8bacfc5db994dddd2381ba697f80f | e6de9e6b8c3d46054eb2f89d36f67cd5c29540e6 | /src/rogue/package.cpp | 64fb6749b35a445aa05bc412978ba306cc89ed99 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | abunimeh/rogue | d993ea6e0390a76f23ebab2620faa0152a6d6fb1 | 5a84fa1c4bdf98f9c832f69423c992aec4b89152 | refs/heads/master | 2021-01-01T18:31:39.728362 | 2017-08-17T16:39:49 | 2017-08-17T16:39:49 | 98,356,822 | 0 | 0 | null | 2017-07-25T22:58:08 | 2017-07-25T22:58:08 | null | UTF-8 | C++ | false | false | 1,955 | cpp | /**
*-----------------------------------------------------------------------------
* Title : Python Package
* ----------------------------------------------------------------------------
* File : package.cpp
* Author : Ryan Herbst, rherbst@slac.stanford.edu
* Created : 2016-08-08
* Last update:... | [
"rherbst@slac.stanford.edu"
] | rherbst@slac.stanford.edu |
dd0c3c67412a007fdf236ba81c675e78811930d9 | da86d9f9cf875db42fd912e3366cfe9e0aa392c6 | /2018/solutions/C/HDD-Varna/growingbaby.cpp | 6c51cce056f771d5406902363d244d262672a804 | [] | no_license | Alaxe/noi2-ranking | 0c98ea9af9fc3bd22798cab523f38fd75ed97634 | bb671bacd369b0924a1bfa313acb259f97947d05 | refs/heads/master | 2021-01-22T23:33:43.481107 | 2020-02-15T17:33:25 | 2020-02-15T17:33:25 | 85,631,202 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | #include<bits/stdc++.h>
using namespace std;
int dpt[10000][2] = {0}, p, q, MOD;
int dp(int rem, int ok)
{
if (rem <= 0)
return 1;
if (dpt[rem][ok]) return dpt[rem][ok] % MOD;
if (ok)
return dpt[rem][ok] = dp(rem - p, 0) % MOD;
int v = dp(rem - p, 0) % MOD;
v += ... | [
"aleks.tcr@gmail.com"
] | aleks.tcr@gmail.com |
6f243ebe9e2e01c5cfe3de9c1e11dc5c1d6bbe1d | bf2211c3d28f328181f638d72081698dccdc9ccf | /src/Commands/Sleep.cpp | 478ceec8c8da9f3ba32f6016ee5d8aeeb37e14fc | [] | no_license | FRC-Team-4143/BareBonesSwerve2016 | 92fb879c7df112f35564fc3f5ac28171dab2d88c | d040ef12272e1ed76ac5ce930ea8d5bdac8df9bc | refs/heads/master | 2020-06-29T13:28:03.424605 | 2017-01-21T19:16:20 | 2017-01-21T19:16:20 | 74,421,956 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,152 | cpp | #include <Commands/Sleep.h>
#include "../Robot.h"
// ==========================================================================
Sleep::Sleep(double seconds) : Command("Sleep") {
std::cout << "Sleep::ctor" << std::endl;
_seconds = seconds;
}
// =======================================================================... | [
"pike@mtco.com"
] | pike@mtco.com |
b60cf6ce2e946b482464031d576de6137769d3fe | 33b8b8fca8025ad32f877a829ab894d4f106f244 | /bg2e-modified/include/bg/base/mouse_event.hpp | c548af0f995a69529f2edf8cc3f8678613f53444 | [] | no_license | FredyTP/TestSite | 2a2e8b0efbe92b6be12f5783f250183c212fd989 | 2c7e1e0f3277b5776d7bee964b1ba79afff2ec57 | refs/heads/master | 2020-04-16T03:39:09.270311 | 2019-02-13T13:11:25 | 2019-02-13T13:11:25 | 165,239,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,080 | hpp | /*
* bg2 engine license
* Copyright (c) 2016 Fernando Serrano <ferserc1@gmail.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 th... | [
"torresponsalfredo@gmail.com"
] | torresponsalfredo@gmail.com |
a267b204021d04b290542cf73c147b3b370d9102 | d7f99d6073d4e3d6a9c08dda59448dc041d5663f | /94-binary tree inorder traversal.cpp | 30c82bceed90040b91a92792ac73261ffaa83120 | [] | no_license | tangsancai/algorithm | 55ea70117dcf11e51771d662c17b46b8fa69bae3 | e09ddc4106b007aad0da23ee5bd263d2f8e34367 | refs/heads/master | 2021-04-29T04:19:40.747430 | 2017-01-04T14:27:46 | 2017-01-04T14:27:46 | 77,998,418 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 447 | cpp | #include<iostream>
#include<vector>
using namespace std;
struct TreeNode
{
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
void inorder(TreeNode* root,vector<int> &v)
{
if(root==NULL)
return;
inorder(root->left,v);
v.push_back(root->val);
ino... | [
"jiabinluo@yeah.net"
] | jiabinluo@yeah.net |
fd0a3ca88d32c7960dca6f2ea435abe5d7d102bb | 6cd19c0b0ce7f00ceaa52ac59d1862e6b0975c33 | /G11/Ushtrime3/test1.cpp | 5b50c062e6fa346b8a9f8ac4f88c88f81f587c0d | [] | no_license | indrithasa/mts1617 | 6651c497d070f97a9b49233393cf1eaf93903a71 | 0e4f814a4d024e18f88fd96e27dbbff87c101c8b | refs/heads/master | 2020-07-26T18:39:02.846243 | 2017-01-31T14:04:14 | 2017-01-31T14:04:14 | 73,717,422 | 0 | 0 | null | 2016-11-14T15:18:40 | 2016-11-14T15:18:40 | null | UTF-8 | C++ | false | false | 1,841 | cpp | #include <iostream>
#include <conio.h>
#include <fstream>
#include <unistd.h>
using namespace std;
string read();
void write();
void test_create(const char*);
int cpt = 0;
int main()
{
char answer;
cout << "Futni te dhenat ne DB (po/jo) : ";
cin >> answer;
while((answer != 'p') && (answer != ... | [
"noreply@github.com"
] | noreply@github.com |
f141bdc594b9ecea2dc120e5043072420a77ce44 | a6571608b0454e60969a3206194f2a6b9a545d3d | /Classes/Scene/GameStage/JewelGrid.h | d90b5ad701830dc449b489630770613919a47fa5 | [] | no_license | droidsde/MatchPuzzleRPGT | 78ff71fc541327f9a7a0845e9de0431c7667bede | 0ae353aa204d8b3cf1d5547812866bd119c3ed81 | refs/heads/master | 2020-07-05T01:03:53.652356 | 2015-11-24T02:23:08 | 2015-11-24T02:23:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,508 | h | //
// JewelGrid.h
// MatchPuzzleRPGT
//
//
#pragma once
#include "cocos2d.h"
#include <vector>
#include "ElementType.h"
#include "JewelGridStatus.h"
#include "PuzzleStatusChangeData.hpp"
USING_NS_CC;
using namespace std;
#define GRID_WIDTH 80 //pixels of a grid: 40x40
#define MOVE_SPEED 0.2
const int FIRST_JEW... | [
"suiyan.li@o-06100-mac.local"
] | suiyan.li@o-06100-mac.local |
fabadc8f36b8c3dfa529bb052c8b32bad633a8bc | 7027a90b73d774394c309fd7518599dc9364bb10 | /src/policy/rbf.cpp | 93a4cc0805ba7f162965740c992ff402d6665020 | [
"MIT"
] | permissive | IDC-Group/VHKD | a5a5b1b9b275a9fadbf8b9c714c8358ee8f7c46a | 0256ddf1477439ebc84e97132d3673aa61c39b73 | refs/heads/master | 2020-03-21T09:12:22.738342 | 2018-06-23T09:46:17 | 2018-06-23T09:46:17 | 138,387,759 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,520 | cpp | // Copyright (c) 2016 The vhkdCoin Core vhkd
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "policy/rbf.h"
bool SignalsOptInRBF(const CTransaction &tx)
{
for (const CTxIn &txin : tx.vin) {
if (txin.nSequen... | [
"support@idcm.io"
] | support@idcm.io |
45bdb54948c77b4683ef67e5df7009525e67aa7b | 5543cb0bdc6f77dc5ba77a2322438c0e0dc06b5a | /lab/task-3-A.cpp | 0a99eb13dfb50f565d7e3795ef70b3d36f08a7e0 | [] | no_license | itsBravo6/Data-Structure | 6c8d862da742350fd55169d2b70bb73833077965 | b37fd1ce582dcdb97bb2ddc8e02f63517f040417 | refs/heads/master | 2022-12-31T19:13:10.818561 | 2020-10-03T08:05:01 | 2020-10-03T08:05:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,655 | cpp | #include<iostream>
using namespace std;
struct node{
int data;
node* next;
};
class List{
private:
node *head;
// node* tail; // i used for task only, it has nothing to with link list implementation
public:
List(){
head = NULL;
}
node * get_new_node(... | [
"p156058@nu.edu.pk"
] | p156058@nu.edu.pk |
71f58a949d431cb0f4a87d7f603365e93ded4db0 | 81f2c85741db2d56e962429f29a3e3ead1253f1a | /src/controller/include/controller/pid_controller.h | 1df97bac1daa6afde0b916e76cc218179e3e2443 | [] | no_license | harrythespartan9/upenn_quadrotor_share | c2a17154f60d4179cc42a2073ab0ec31654b3833 | cd8a50b62a1d8b09c6124a6d1a31e53df92e9e8b | refs/heads/master | 2020-07-25T01:56:48.129261 | 2016-08-20T01:44:42 | 2016-08-20T01:44:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,595 | h | //=================================
// include guard
#ifndef PID
#define PID
#include "utility.h"
#include "data_structs.h"
#include "logger.h"
#include "timer.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/time.h>
#include <time.h>
#include <math.h>
#include <fcntl.h>
#include <termios.h... | [
"maxwass@seas.upenn.edu"
] | maxwass@seas.upenn.edu |
a881626364dae9c6f9ffcb666b3d8a94b0fd0f9d | 08f3bac7990a6909beb5d8df1534a55e7c59dedc | /BasicRenderer/src/engine/Scene.hpp | c6e6d77fd342e7813b0917a5760a6804d73a0e89 | [] | no_license | Thomas-Zorroche/OpenGL-Template | 6c72be115ecdf388fd56f332c94b7ed3fa1ddd3e | 2de6a4091bd6768df944f024284d24d94e5028ee | refs/heads/master | 2023-05-30T08:20:10.277437 | 2021-06-10T17:43:00 | 2021-06-10T17:43:00 | 310,558,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | hpp | #pragma once
#include <vector>
#include <memory>
#include <string>
#include "glm/glm.hpp"
class StaticMesh;
class Skybox;
class Scene
{
public:
Scene();
~Scene();
void Init();
void Draw();
std::shared_ptr<StaticMesh>& StaticMeshPtr(int index) { return _staticMeshes[index]; }
void Free();
private:
void Ad... | [
"thomas.zorroche@gmail.com"
] | thomas.zorroche@gmail.com |
66f3ebcdd830de81a47c1a78f21eac01cb7fa6c3 | d67eb66869931863748804408bbf9d1adf90b576 | /Sprite.h | 52020bca297ee2b148028e8cb0b7059c6e67997b | [
"MIT"
] | permissive | Cruikshanks/death-pit | 09682ab902115be3e17107494d22d88aee799015 | f35be8c36ec49c9b7a1d9b3e7970c7e3083024f0 | refs/heads/main | 2022-12-24T10:52:41.846080 | 2020-09-04T11:37:39 | 2020-09-04T11:42:35 | 292,832,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,530 | h | //////////////////////////////////////////////////////
// Sprite.h
//////////////////////////////////////////////////////
#pragma once
#include <windows.h>
class CSprite
{
public:
enum SPRITE_TYPE {TROLL, COIN, HERO};
// Constructor - initializes the sprites width and height
CSprite(int iWidth, int iHeight, SPRI... | [
"alan.cruikshanks@gmail.com"
] | alan.cruikshanks@gmail.com |
66ffec5058c76b2ac1d9ba60b092f76f1ef08668 | 3ba7fe360a740cdd1b928c160f942b2005e06a69 | /SFML-Breakout/Ball.h | 8f7a62f9b1acde1016688f0a68cf43e1f21dab50 | [] | no_license | Nordon/breakout | 2132c3c012cc5d541c0ac6aefbb672756ab885c9 | dbc017fb067a0f548b01ed18585c025b2f931872 | refs/heads/master | 2020-11-26T19:28:57.200842 | 2011-05-30T20:14:34 | 2011-05-30T20:14:34 | 1,094,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | h | /*
* Ball.h
*
* Created on: 07.05.2010
* Author: TSS
*/
#ifndef BALL_H_
#define BALL_H_
#include <SFML/Graphics.hpp>
class CBoard;
class CBlock;
class CBall :
public sf::Shape
{
public:
CBall(float mittelpunktx,float mittelpunkty,float radius_);
sf::Vector2f rv;
sf::Rect<float> GetBallRect();
float ... | [
"tss.soft@googlemail.com"
] | tss.soft@googlemail.com |
d7e6f24cd7a61f2d94d9b8a0298ddccdfb1411ac | 75bba7097a3924644a77276496dadc32063ca820 | /alps/test/unit/globalheap/test_thread_slab_heap.cc | 67c10aebf68427505b545a6c67891d18bcdeebdc | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | anegeorg/sparkle | 1008e7fa356a698b5a9b73d7d11d7a4783c2dced | dbf558d6a9997d9fd9c78e5bd78b2d43ed613ddb | refs/heads/master | 2020-06-23T21:40:33.577574 | 2019-07-18T03:31:17 | 2019-07-18T03:31:17 | 198,760,761 | 0 | 0 | null | 2019-07-25T05:03:38 | 2019-07-25T05:03:38 | null | UTF-8 | C++ | false | false | 2,147 | cc | /*
* (c) Copyright 2016 Hewlett Packard Enterprise Development LP
*
* 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 requi... | [
"hernan@tte1.hpl.hp.com"
] | hernan@tte1.hpl.hp.com |
62745f151b76f44bb7d45bba4872d88797ff08f4 | 13e174b297d20df132a0850fd14eba8c831f4d22 | /Engine/Src/Core/Component/Renderer.h | 24a0aeb9cb1b0db20e513021fc364de9ef5621c2 | [] | no_license | furkandinc/Engine | ba6c3d023333512093006b87dfec40350666303f | 5c609c1aec3e0af0d25ba0b0422c2d32679c8398 | refs/heads/master | 2020-03-22T11:41:52.150290 | 2019-06-27T14:34:46 | 2019-06-27T14:34:46 | 139,989,430 | 3 | 0 | null | 2019-06-27T14:34:48 | 2018-07-06T13:34:36 | C++ | UTF-8 | C++ | false | false | 391 | h | #pragma once
#include <stdlib.h>
#include "Component.h"
#include "../Asset/Mesh.h"
#include "../Asset/Material.h"
class DLLDIR Renderer : public Component {
public:
Renderer();
void setMesh(Mesh * mesh);
Mesh * getMesh();
void setMaterial(Material * material);
Material * getMaterial();
//Generable
void * gene... | [
"furkandinc@etu.edu.tr"
] | furkandinc@etu.edu.tr |
777d8c04f55921507460a6dbfb3cb55012d28001 | 397f7eb1ea15ba0bb300ba1e99681164c0421a8d | /sliding_numbered_file_roller_memento.cpp | 7a590e69a8f91a87183e3cecc69c7136f3792331 | [
"Apache-2.0"
] | permissive | mexicowilly/Chucho | 38a19664a2296dbe128586281d3b2cc4fe8dc531 | f4235420437eb2078ab592540c0d729b7b9a3c10 | refs/heads/develop | 2021-06-14T14:51:34.679209 | 2021-06-03T17:06:05 | 2021-06-03T17:06:05 | 67,319,394 | 4 | 4 | null | 2018-01-25T16:01:30 | 2016-09-04T01:20:42 | C++ | UTF-8 | C++ | false | false | 1,751 | cpp | /*
* Copyright 2013-2021 Will Mason
*
* 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 applicab... | [
"willchido@gmail.com"
] | willchido@gmail.com |
f5e115537e5c271931111a0136a4837fa7dd039e | 8a274dffceab9d4e63fc0962e20fb7dab761555c | /GeekForGeek/Next Greater Element GFG.cpp | 58038c4a9aa4326204940949ec73c52af0f5508c | [] | no_license | mkp0/CP | 669ce9ab399660d90d829f77b05f1462cd92ede5 | 80321819e46ebf4dd6512d6577add645da83708a | refs/heads/master | 2023-06-01T22:07:36.006530 | 2021-06-25T21:41:23 | 2021-06-25T21:41:23 | 273,572,017 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | cpp | vector<long long> nextLargerElement(vector<long long> arr, int n)
{
vector<long long> ans;
stack<long long> temp;
for (int i = n - 1; i >= 0; i--)
{
if (temp.empty())
{
ans.push_back(-1);
temp.push(arr[i]);
continue;
}
if (temp.top() ... | [
"shadymasum@gmail.com"
] | shadymasum@gmail.com |
f6320c5498c925226508e8460b3c7c7fbefa25b6 | 9808536afd02c21250b43996ae8d1258a4d461bd | /Active/rsalogin.cpp | f1ff0cd3e3d46ec8816d3f18fc3ef76769957302 | [] | no_license | PuddingPengChen/mRsa | c4d1b054b7f7e0ef205a89b6d0fda2322b3fbf94 | 43503992b5cea2ba2b2d3f3d2f58d86add1bb00f | refs/heads/master | 2016-09-14T08:02:07.636388 | 2016-05-19T07:45:18 | 2016-05-19T07:45:18 | 59,178,528 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,177 | cpp | #include <QNetworkInterface>
#include <QMessageBox>
#include <QSettings>
#include "rsalogin.h"
#include "ui_rsalogin.h"
RsaLogin::RsaLogin(QWidget *parent) :
QWidget(parent),
ui(new Ui::RsaLogin)
{
ui->setupUi(this);
QList<QNetworkInterface> NetList;
int NetCount = 0;
int Neti = 0;
QNetwo... | [
"805318580@qq.com"
] | 805318580@qq.com |
6792aab2c7c61867d5b0004e26c5f82112ac57e5 | edec8753786d40f49d198ea58675e535d1bb5d00 | /TxtSmartFactoryLib/src/TxtBME680BSECLib.cpp | 1f5c1d7705a27612e9931983184ddeedbe18d51e | [] | no_license | cgonzalezbrito/txt_training_factory | 0f7f30d791027fa5562027f69c6e44f2d75de9de | 405472f0db7660a0ad251ad890756168fb34891c | refs/heads/master | 2020-08-17T09:45:53.707097 | 2019-10-16T05:56:45 | 2019-10-16T05:56:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,199 | cpp | #include "TxtBME680BSECLib.h"
const char * calibfile = "bme680.cloud.state";
/**********************************************************************************************************************/
/* functions */
/******************************************************************************************************... | [
"alexander.steiger@fischer.de"
] | alexander.steiger@fischer.de |
f44f2d1c2496e51f36808aa38f8342ae276c360c | 282d62929f26e8f9e59d0410d2b473ba025f08a8 | /Papyrus.cpp | f83d0778c89725470050ad82cf2f0b86e8637927 | [] | no_license | rethesda/LockonSSE | 051e69779aa7a1b7167a3fc9155694eeeb99f0d8 | 2c2dca114d71067c99ff19f321befcac10ce6c39 | refs/heads/master | 2023-03-21T07:01:55.124941 | 2019-03-26T10:00:56 | 2019-03-26T10:00:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,843 | cpp | #include "../skse64/PapyrusNativeFunctions.h"
#include <algorithm>
#include "lib/EventHelpers.h"
#include "lib/EventFunctors.h"
#include "TES/GameCamera.h"
#include "Address.h"
#include "Events.h"
#include "Hooks.h"
#include "Utils.h"
bool Papyrus_IsGamepadEnabled(StaticFunctionTag * base)
{
return InputEventDispa... | [
"aers00@gmail.com"
] | aers00@gmail.com |
22a9b000bf250c7258d7af2d5d6e1a9d8165b0f6 | db013e1c68a636db45264b0833cd7eb4213b5ebd | /src/Enki/Networking/RPC.hpp | 805b88d8c9f975584f0315dddf491fdf9700cac9 | [
"MIT"
] | permissive | Zephilinox/Enki | 8c00e5ee8d9eff2a696d1800449e27fd97f2d9fb | 5f405fec9ae0f3c3344a99fbee590d76ed4dbe55 | refs/heads/master | 2021-06-22T17:25:16.406539 | 2021-02-27T19:34:00 | 2021-02-27T19:34:00 | 199,689,468 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,753 | hpp | #pragma once
//SELF
#include "Enki/Entity.hpp"
#include "Enki/Networking/ClientStandard.hpp"
#include "Enki/Networking/Packet.hpp"
#include "Enki/Networking/ServerHost.hpp"
namespace enki
{
enum RPCType
{
//For non-entity RPC's, ownership is always true.
//RPC only runs for master
//If you own the entity and cal... | [
"Zephilinox@hotmail.co.uk"
] | Zephilinox@hotmail.co.uk |
edd8d43c6e696bd6f7caa828d4566994a147b0f4 | d05383f9f471b4e0691a7735aa1ca50654704c8b | /CPP2MIssues/SampleClass438.cpp | 237bebde1beb8a68682a3e707a3b0281f5837fea | [] | no_license | KetkiT/CPP2MIssues | d2186a78beeb36312cc1a756a005d08043e27246 | 82664377d0f0047d84e6c47e9380d1bafa840d19 | refs/heads/master | 2021-08-26T07:27:00.804769 | 2017-11-22T07:29:45 | 2017-11-22T07:29:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,048 | cpp | class SampleClass438{
public:
void m1() {
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
int *ptr = new int (10);
i... | [
"ketki.thosar@acellere.com"
] | ketki.thosar@acellere.com |
5029eb55e8f82453ca5ddebe9debddae4ca066e4 | fc9daff4809f93f11c22f79dfc6f5d5962d1d313 | /src/protocol.h | df5919b3aaad0b7382477fb46350b3dbf112acc7 | [
"MIT"
] | permissive | thesportscoin/SPORT-source | 11fcb7b0764984dccddfde4825943bc9b0975b8d | 50184308c7e40be7f5d2ef27bcea8ccffa36d27c | refs/heads/master | 2020-04-14T21:14:13.766971 | 2016-09-12T17:35:50 | 2016-09-12T17:35:50 | 68,032,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,384 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __cplusplus
# error This header can only be compiled as C++.
#endif
#ifnd... | [
"Sportscoin"
] | Sportscoin |
34b10705732e4709e53ada01b4d5579e5b21c709 | eee4e1d7e3bd56bd0c24da12f727017d509f919d | /Case/case5/1200/epsilon | 8c90e790b7c1dc3d454e0ee892bcbd55e797c409 | [] | no_license | mamitsu2/aircond5_play5 | 35ea72345d23c5217564bf191921fbbe412b90f2 | f1974714161f5f6dad9ae6d9a77d74b6a19d5579 | refs/heads/master | 2021-10-30T08:59:18.692891 | 2019-04-26T01:48:44 | 2019-04-26T01:48:44 | 183,529,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,852 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"mitsuaki.makino@tryeting.jp"
] | mitsuaki.makino@tryeting.jp | |
444ef058e7c1e6e2d02a0627000b1181f9d4a92e | 1bb6a0b3692b5468f7d148788298320ac3ba2a23 | /Practice/2022/17/j_basin_city.cpp | 921574fe67191a6b6bd510e6d99a75fcb14dfe31 | [] | no_license | ablondal/comp-prog | ee6ea5c0b32d7fbe0321a4b9919a9cec23fe85f6 | 725e369476993307874f9f5d6e2e7299918251a0 | refs/heads/master | 2022-10-08T05:40:39.206721 | 2022-09-25T22:29:49 | 2022-09-25T22:29:49 | 243,620,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,625 | cpp | #include <bits/stdc++.h>
using namespace std;
// incomplete
#define rep(i, a, b) for(int i = a; i < (b); ++i)
#define all(x) begin(x), end(x)
#define sz(x) (int)(x).size()
#define minim(a, b) a = min(a, b)
typedef long long ll;
typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<ll> vll;
typedef complex<... | [
"ari.blondal@gmail.com"
] | ari.blondal@gmail.com |
57072824a8dae53acd9d3f24dd014c9efe38eecc | 3e74a5a80b32518bd55eacb1221a2c65337e55b1 | /main.cpp | 959797c1f267bb0929a16bf017556b22534b39eb | [
"MIT"
] | permissive | AndersRichter/TravelMate | 5b3f387f02829a9b88edf1375d0940a504d10f17 | 80ff7d1cfd8414954f10b25254bb45387b4b6184 | refs/heads/master | 2021-01-19T10:21:08.436256 | 2017-12-17T12:30:57 | 2017-12-17T12:30:57 | 87,854,906 | 0 | 0 | null | 2017-04-10T20:32:10 | 2017-04-10T20:32:10 | null | UTF-8 | C++ | false | false | 3,247 | cpp | #include <cppcms/applications_pool.h>
#include <cppcms/url_dispatcher.h>
#include <cppcms/http_response.h>
#include <cppcms/url_mapper.h>
#include <cppcms/service.h>
#include "data/tmpl_master.h"
#include "data/tmpl_news.h"
//-------------------------------------------------------------------------------------
// Dsc:... | [
"zwirec@icloud.com"
] | zwirec@icloud.com |
b50d62287de3d7b2ea43f731d9c8424ff1aef5d8 | 1ff141e11a08db93814502e0cb7eab14f6412d51 | /dfrobot-lcd/dfrobot-lcd.ino | 60f99cedd2ea089ee8f92c5e12c010966138e1e4 | [] | no_license | rimolive/arduino-sketches | 8975e9064814f0aedd931f001a05fe0de865259b | b56a27ce8cf7fcf07ac3d13fed80c38eae3f52e3 | refs/heads/master | 2016-09-08T01:48:23.514878 | 2015-03-12T15:00:22 | 2015-03-12T15:00:22 | 28,528,043 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,306 | ino | /*************************************************************************************
Mark Bramwell, July 2010
This program will test the LCD panel and the buttons.When you push the button on the shield,
the screen will show the corresponding one.
Connection: Plug the LCD Keypad to the UNO(or other cont... | [
"ricardo.martinelli.oliveira@gmail.com"
] | ricardo.martinelli.oliveira@gmail.com |
5cfe673a0212db389abc478305e0d84adf6e35c3 | c924ffb35ad2184898d34bf2564c9ac4e9c67aa2 | /src/Models/SerialPortListModel.h | 4061e0118e6027e3c09e075d41575a5f0ba1c017 | [] | no_license | Rexagon/programmer | e1db4a1e2dcdf45e3228db05bdde5aeda1959e34 | b92b6eef7a2a2e899bfbdb38c54af86dfc190f9e | refs/heads/master | 2020-08-09T14:12:07.390058 | 2019-10-12T12:58:26 | 2019-10-12T12:58:26 | 214,104,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,317 | h | #ifndef PROGRAMMER_SERIALPORTLISTMODEL_H
#define PROGRAMMER_SERIALPORTLISTMODEL_H
#include <QAbstractListModel>
#include <QtSerialPort/QSerialPortInfo>
Q_DECLARE_METATYPE(QSerialPortInfo)
namespace app
{
/**
* @brief Модель данных для списка COM портов
*/
class SerialPortListModel : public QAbstract... | [
"reide740@gmail.com"
] | reide740@gmail.com |
44ecdfc901ff372646d805d99576df805c42f2a1 | 597da3cd20ed49f3215154860859573c25bf9bb5 | /Codes/lec-16.2_rec_first_occur.cpp | 29f43364b4e626df3f47bb3e2a55d73e3cb94976 | [] | no_license | SamriddhiMishra/Complete-Cpp-Course-Playslist-Resources | 082001fc75aa43c1324e5e41a061b12e3636b74e | 519d2a0d1fa265de7dde9d6c988c1b1430a363b9 | refs/heads/main | 2023-07-10T18:19:34.365218 | 2021-08-24T14:44:20 | 2021-08-24T14:44:20 | 399,493,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 728 | cpp | //First occurrence of a number using recursion
#include<bits/stdc++.h>
using namespace std;
int firstocc(int arr[], int n, int i, int key)
{
if(i == n)
return -1;
if(arr[i] == key)
return i;
firstocc(arr, n, i+1, key);
}
int lastocc(int arr[], int n, int i, int key)
{
... | [
"noreply@github.com"
] | noreply@github.com |
1729757c5e12f6b77c7e681893b025f3018aff44 | f9ab50677516460292fa8f444b252195f40c6094 | /src/core/crypto/test/easteregg/mysecret.cpp | 66c6b26b18fa07905570d20d281fc0e0b3eb120d | [] | no_license | DD-L/lproxy | d753f340c24de65a728082ba576a3b69003ee112 | 333db49d446faad445a49955c335c9cd230880d4 | refs/heads/master | 2020-05-22T08:09:20.209701 | 2016-09-25T07:23:47 | 2016-09-25T07:23:47 | 36,083,975 | 13 | 4 | null | 2016-08-23T06:35:37 | 2015-05-22T16:51:10 | C++ | UTF-8 | C++ | false | false | 7,119 | cpp | /*************************************************************************
> File Name: mysecret.cpp
> Author: D_L
> Mail: deel@d-l.top
> Created Time: 2016/1/11 14:04:04
************************************************************************/
#include <iostream>
#include <fstream>
#include <sst... | [
"deel@d-l.top"
] | deel@d-l.top |
1c29f7cfa221564918a8b449de09e1bbb779c2a6 | c2b6bd54bef3c30e53c846e9cf57f1e44f8410df | /Temp/il2cppOutput/il2cppOutput/mscorlib_Mono_Xml_SmallXmlParser3549787957.h | 0908d91bc1679c1cc6c518f3d54af618ff3b7949 | [] | no_license | PriyeshWani/CrashReproduce-5.4p1 | 549a1f75c848bf9513b2f966f2f500ee6c75ba42 | 03dd84f7f990317fb9026cbcc3873bc110b1051e | refs/heads/master | 2021-01-11T12:04:21.140491 | 2017-01-24T14:01:29 | 2017-01-24T14:01:29 | 79,388,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,938 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object2689449295.h"
// Mono.Xml.SmallXmlParser/IContentHandler
struct IContentHandler_t3823912562;
// System.IO.TextReader
struct TextReader_t1561828458;
//... | [
"priyeshwani@gmail.com"
] | priyeshwani@gmail.com |
c9922046750350e2a15f371db4da22c15849402c | 7551f060abfe5ec068bbfc0d640bea7f24a86202 | /src/share/model/CoxRossRubinsteinModel.cpp | 9a2248b2dff2c470ae8b6344fbe792beed176eeb | [] | no_license | pcolin/bird | c52de506917cb27f741ecd2e900d0341c16d2a33 | 1579095b17c2e9fab3152b808b21499e969bee0e | refs/heads/master | 2021-01-01T18:16:12.676639 | 2019-03-28T10:43:21 | 2019-03-28T10:43:21 | 98,289,893 | 11 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 12,283 | cpp | #include "CoxRossRubinsteinModel.h"
#include <cmath>
#include <algorithm>
// #include "../vol_library/MMVolCalculator.h"
namespace Model
{
CoxRossRubinsteinModel::CoxRossRubinsteinModel(int depth)
: depth_(depth), st_(new double[(depth + 2) * (depth + 1) / 2]),
pt_(new double[depth * (depth + 1) / 2]),
st2... | [
"test@localhost.localdomain"
] | test@localhost.localdomain |
2516562627161c479206de435c8b3c3c9b6bb144 | 1568eafac4db833b4313a09ae965af9ef2117933 | /Include/File_Writer_Gen.mqh | 78d1c5558b51315360ec875d8614a8a6fb171f50 | [] | no_license | yurisa2/Robos-Da-Mamae | dae25208c18734aaff58518913f7a998fb03825f | ae993d74511f8e075fbeca6a90c42c54cacaa694 | refs/heads/master | 2020-04-02T13:28:23.104307 | 2019-04-13T20:01:04 | 2019-04-13T20:01:04 | 154,482,603 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,162 | mqh | /* -*- C++ -*- */
//+------------------------------------------------------------------+
//| File_Gen_Writer.mqh |
//| Sa2 |
//| https://www.mql5.com |
//+----------... | [
"yuri@sa2.com.br"
] | yuri@sa2.com.br |
0042c278e620b4c03253ceac3c1bbf127ff7ac67 | ac77cf217fd5e7e698628a284391d4fde41798d0 | /CH04 - Selection/PR-4.14_ConditionalExpression.cpp | f35ac3dd62c712695c22c42b1a8b2f970443dcce | [] | no_license | ziolkowskid06/Cpp_Programming_An_Object_Oriented_Approach | 1b0770e0c4585f487edcb6116c935a53d985b238 | a28ab2a0e621e3daf1a7f7b0c12766b5498e61c0 | refs/heads/main | 2023-05-06T01:58:13.708695 | 2021-06-05T22:35:29 | 2021-06-05T22:35:29 | 368,058,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | cpp | /***************************************************************
* Uses a conditional expression to print the larger of two *
* numbers or the first if the numbers are equal *
***************************************************************/
#include <iostream>
using namespace std;
int main... | [
"noreply@github.com"
] | noreply@github.com |
feffcda087029435e9d04d07ac5cc5e7d7eefd1a | a8cdffec6eea3d487b98b4a641a9ba41d2994202 | /Question3/tests/solution_test.cc | 07b8daba3e5c33c3571854fe13e6e6633b84fae0 | [] | no_license | billiesu/EE599-HW3 | 894e366cbb19ef382021c013cd283c48645ad884 | 4e739b9032dc8b618cb163a401192f5e1515b3e3 | refs/heads/master | 2020-12-29T07:43:40.617403 | 2020-02-10T23:28:47 | 2020-02-10T23:28:47 | 238,519,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,271 | cc | #include "src/lib/solution.h"
#include "gtest/gtest.h"
#include <vector>
TEST(defaultConstructor, NullHead){
SinglyLinkedList input;
ListNode* actual = input.head_;
ListNode* expected = nullptr;
EXPECT_EQ(actual, expected);
}
TEST(vectorConstructor, iInValid){
vector<int> inputVec = {1, 2, 3, 7};
SinglyLi... | [
"54905672+billiesu@users.noreply.github.com"
] | 54905672+billiesu@users.noreply.github.com |
54de7d495fe4360998910d892653750abdaccd40 | ff5c46348ab8d599ac651388d4cfedf354522519 | /LunarMooner/include/StateIds.hpp | 21f99f006d80eae4dd97584022de34ace077f13c | [
"Zlib"
] | permissive | sysfce2/SFML_Lunar-Mooner | b603b0f52b66f32bfd3dce2813a741b7083ca1a9 | 515003a3263bd7600e608640e75a1362618ac400 | refs/heads/master | 2023-03-18T02:00:06.338722 | 2017-02-22T14:11:33 | 2017-02-22T14:11:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,515 | hpp | /*********************************************************************
Matt Marchant 2016
http://trederia.blogspot.com
LunarMooner - Zlib license.
This software is provided 'as-is', without any express or
implied warranty. In no event will the authors be held
liable for any damages arising from the use of this softwa... | [
"matty_styles@hotmail.com"
] | matty_styles@hotmail.com |
8ef47b435f3eb0d29e464042ffc586409b21953e | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/317/alphak | 5205ab543acd9384a6974058537ea1abef494b46 | [] | no_license | asAmrita/adjoinShapOptimization | 6d47c89fb14d090941da706bd7c39004f515cfea | 079cbec87529be37f81cca3ea8b28c50b9ceb8c5 | refs/heads/master | 2020-08-06T21:32:45.429939 | 2019-10-06T09:58:20 | 2019-10-06T09:58:20 | 213,144,901 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 69,122 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"as998@snu.edu.in"
] | as998@snu.edu.in | |
b40d982b05bd81fc2a0481cb555aeafa8e05a830 | 519c64b3f1a8d8c12121141f9f950db8c31d3ac9 | /T-shirt/Google Code Jam 2020/QR/P2.cpp | 3dd9d658a21ae083f1ebc8eba0fca4223f3ee4a5 | [] | no_license | Ronnoc/Training | 7c7db931865dd5a7ba222b3c1c384a43459737f0 | 75d16ac8f33dfe0cf47548bf75d35a8b51967184 | refs/heads/master | 2022-11-11T19:57:53.845777 | 2022-11-06T02:54:34 | 2022-11-06T02:54:34 | 13,489,501 | 17 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,011 | cpp | #include <vector>
#include <cmath>
#include <string>
#include <iostream>
#include <stdio.h>
#include <set>
using namespace std;
typedef long long LL;
typedef pair<int, int> PII;
#define MP make_pair
#define PB push_back
#define AA first
#define BB second
#define OP begin()
#define ED end()
#define SZ size()
#define cmi... | [
"kybconnor@126.com"
] | kybconnor@126.com |
7bff01a4653800ef36c62ddcd5ea37fa6cf9f2bc | 4d1e24c7178e77d22692d3a7bc2455a934db346c | /STL/STL_map.cpp | 0b5389f3d08c6367d8fd56ebe93911399b7fc3d8 | [
"Apache-2.0"
] | permissive | doubleZ0108/my-C-Cpp-study | 259f5d9ea4c4f3956cf42ccec3397486cb4f06f3 | 7bf27ea2e968ca012d0e712000f4e4569b0c253c | refs/heads/master | 2020-03-31T09:09:31.251709 | 2020-02-07T15:02:44 | 2020-02-07T15:02:44 | 152,084,842 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,440 | cpp | /*
STL --- map
第一个参数类型([]内的东西)是key, 通过key找到第二个参数类型对象对应的值
*/
#include <iostream>
#include <cstdlib>
#include <string>
#include <algorithm>
#include <vector>
#include <map>
#include <functional>
using namespace std;
int main(void)
{
map<int, string> mymap;
/*插入元素*/
//性能不好, 会先去查找括号内的键值是否存在,
//如... | [
"noreply@github.com"
] | noreply@github.com |
54b79920fac4ccf2b254e80eaa68fb1b824adafa | 5814f15941b9a4af86d49c89b17131479fee0a4e | /groups/bal/baltzo/baltzo_errorcode.t.cpp | b3e21b297090c178613e21acb30732bd033f3d96 | [
"Apache-2.0"
] | permissive | duzhanyuan/bde | 686ea258beeb3a16e8187740fa3b2b9f74643e89 | e9f279835ddefaeeecb880a0a4c7ac36f68f46d1 | refs/heads/master | 2021-01-21T16:54:23.174968 | 2017-05-18T19:51:12 | 2017-05-19T13:38:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,932 | cpp | // baltzo_errorcode.t.cpp -*-C++-*-
#include <baltzo_errorcode.h>
#include <bdlsb_fixedmemoutstreambuf.h>
#include <bslma_default.h>
#include <bslma_testallocator.h>
#include <bsl_cstdlib.h> // 'atoi'
#include <bsl_cstring.h> // 'strcmp', 'memcmp', 'memcpy'
#in... | [
"abeels@bloomberg.net"
] | abeels@bloomberg.net |
9d67ffb5e25d4f2cf07ea3a1057420f78b7101dc | a46d23b1c03be1edf8127db532170580ae919b22 | /sip/sipstack/SipReferTo.cxx | 082b3744c36574e596c9e80da532693f03682db9 | [
"BSD-2-Clause"
] | permissive | greearb/vocal-ct | 0e2935aa43d6bddf1506ad904d0cf61484724438 | 8c99a61930cc7c4887515ade518ad01022011a4e | refs/heads/master | 2023-08-19T05:26:24.583272 | 2023-08-12T00:08:06 | 2023-08-12T00:08:06 | 87,567,277 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,671 | cxx | /* ====================================================================
* The Vovida Software License, Version 1.0
*
* Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following ... | [
"greear"
] | greear |
8ef6ac90d8753d1d34576b3514c7f0f5b6e63c6e | 302945a362836fb2e3c453f1aa981500a792f6e1 | /Validator/GenICam/library/CPP/include/GenApi/IInteger.h | 8137f298dcdbeb47811648db8048d638c282bfe6 | [
"Apache-2.0"
] | permissive | genicam/GenICamXmlValidator | a39b0802a0b9fda51021a435fcc0f2f79b8ade5a | f3d0873dc2f39e09e98933aee927274a087a2a90 | refs/heads/master | 2023-01-13T01:14:26.518680 | 2020-11-09T02:07:32 | 2020-11-09T02:07:32 | 268,628,419 | 2 | 1 | Apache-2.0 | 2020-11-09T01:55:48 | 2020-06-01T20:44:51 | C++ | UTF-8 | C++ | false | false | 9,056 | h | //-----------------------------------------------------------------------------
// (c) 2006 by Basler Vision Technologies
// Section: Vision Components
// Project: GenApi
// Author: Fritz Dierks
// $Header$
//
// License: This file is published under the license of the EMVA GenICam Standard Group.
// A text fi... | [
"kola@imperx.com"
] | kola@imperx.com |
78a4f37834ade76226a8a97fc64ec2a138a1c11e | 21758f3282f433e1004844f9a66ad44bfb5870f4 | /include/itkDCTImageFilter.h | 99bed4cfe4855e572edc867b76955e57597bccf2 | [] | no_license | Micalson/ITKPhase | 497eba885fddb6d436262eda84a91dcd00fadaa2 | 6bdb27168e86d4a6779bf587b30d98d88d2421be | refs/heads/master | 2020-04-22T20:18:41.108101 | 2018-08-07T16:59:54 | 2018-08-07T16:59:54 | 170,636,897 | 1 | 0 | null | 2019-02-14T06:07:31 | 2019-02-14T06:07:30 | null | UTF-8 | C++ | false | false | 4,387 | h | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | [
"davis.vigneault@gmail.com"
] | davis.vigneault@gmail.com |
69b74acbe4747d051e27eec1c8ea9a10c2a302f3 | b9e8d33a26e13bc5b919150574f03d47a082055a | /library/graphics/Window.cc | 867762a5b2907be26cf68fb67e982aa922f0f4fb | [
"Zlib",
"BSL-1.0"
] | permissive | magestik/gf | 9215fb1e25c8a092bad4aa5875f030fd63d891ac | 60d9bbe084828fff88f1a511bd1191c774ccef4a | refs/heads/master | 2020-12-26T19:54:45.888737 | 2020-01-14T15:31:28 | 2020-01-14T15:31:28 | 237,623,167 | 0 | 0 | NOASSERTION | 2020-02-01T14:02:32 | 2020-02-01T14:02:31 | null | UTF-8 | C++ | false | false | 17,010 | cc | /*
* Gamedev Framework (gf)
* Copyright (C) 2016-2019 Julien Bernard
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software fo... | [
"julien.bernard@univ-fcomte.fr"
] | julien.bernard@univ-fcomte.fr |
17038feaedd7c54b72abcaf5675f2bd05f5a0747 | f2516490cf2d58c7e1b1e812c01976ce1bd91c8c | /atcoderproblems/81.cpp | c93eff66b239272cd935f9e592c954ee7b707ef3 | [] | no_license | kaizawa97/Competitive-programming- | c26a8c544ac6662738a8107371d86a286a8a037b | fce3a0c16a303e09ab3662f9933abd35cb203853 | refs/heads/master | 2022-12-08T23:46:01.353695 | 2020-09-11T23:43:12 | 2020-09-11T23:43:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin >> n;
for (int i = 0; i < 10; i++)
{
for (int j = 0; j < 10; j++)
{
if (i * j == n)
{
cout << "Yes" << endl;
return 0;
}
}
}
cout <<... | [
"kai109870@gmail.com"
] | kai109870@gmail.com |
bd091d3cc60eb1c6a2f8eb05d997dda23d4c641a | d89a102718ba60ee88b730d7a8c9412971e40fd9 | /External/eigen-3.3.7/bench/tensors/contraction_benchmarks_cpu.cc | fd6c54da796a546fb64cf493f85d16109c69389f | [
"MIT",
"GPL-3.0-only",
"LGPL-2.1-only",
"Minpack",
"MPL-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LGPL-2.1-or-later"
] | permissive | RokKos/eol-cloth | bd228eef04400d3199864d5d7cf60de641c88479 | b9c6f55f25ba17f33532ea5eefa41fedd29c5206 | refs/heads/master | 2021-02-18T23:08:30.700135 | 2020-03-28T10:46:48 | 2020-03-28T10:46:48 | 245,248,707 | 0 | 0 | MIT | 2020-03-05T19:20:33 | 2020-03-05T19:20:32 | null | UTF-8 | C++ | false | false | 1,372 | cc | #define EIGEN_USE_THREADS
#include "tensor_benchmarks.h"
#define CREATE_THREAD_POOL(threads) \
Eigen::ThreadPool pool(threads); \
Eigen::ThreadPoolDevice device(&pool, threads);
// Contractions for number of threads ranging from 1 to 32
// Dimensions are Rows, Cols, Depth
#define BM_Con... | [
"rok.kos@outfit7.com"
] | rok.kos@outfit7.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.