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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e6d1cc1f08062f1bb31b68db208d45019110cc15 | f8f65dbbd81de52497cc789364eecf8c164fa262 | /Engine/PhysX/Include/common/PxTolerancesScale.h | 43d351cc22687d644fcbbf56d00307e613294bab | [
"MIT"
] | permissive | Project3CITM/CulverinEngine-Project3 | c960959b9fd3571d176c2f60d446cc22601c28b0 | cc386713dd786e2a52cc9b219a0d701a9398f202 | refs/heads/master | 2021-07-14T17:14:43.791594 | 2018-06-08T16:02:29 | 2018-06-08T16:02:29 | 118,268,567 | 11 | 2 | MIT | 2018-03-24T16:16:07 | 2018-01-20T18:14:49 | C++ | UTF-8 | C++ | false | false | 3,744 | h | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... | [
"pere.rifaplanellas@gmail.com"
] | pere.rifaplanellas@gmail.com |
e9c0810094af5435e01a81470adb4cd1396df56b | f181a65ff8d40489d1f95ea60603d6789b0504da | /include/shader.h | 8252ea946ee409adcad040d8c6f409364aae67b7 | [] | no_license | robsws/rendersaurus | 58a5822a5e64cfe246b7f95ec69973d7ab1ad926 | 9c7acdd19afe8381523c07c9a5b73af7d63211cc | refs/heads/master | 2021-06-02T01:48:28.997508 | 2021-05-16T12:14:45 | 2021-05-16T12:14:45 | 92,754,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,390 | h | #pragma once
#include "vertex.h"
#include "square_matrix.h"
#include "coord.h"
#include "fragment.h"
#include "triangle3d.h"
#include <vector>
class Shader {
public:
// Construct a shader with given window dimensions for transforming
// vertices to window space.
Shader(int windowWidth, int... | [
"robsws@gmail.com"
] | robsws@gmail.com |
bc050651e7f4dc1e433c63d33bc12654c8d29e0b | bc997f47b4cffef395f0ce85d72f113ceb1466e6 | /ICPC/Korea/pre17_a.cpp | 71b451cd073169bb64a979817dbdc2a71bde716c | [
"LicenseRef-scancode-public-domain"
] | permissive | koosaga/olympiad | 1f069dd480004c9df033b73d87004b765d77d622 | fcb87b58dc8b5715b3ae2fac788bd1b7cac9bffe | refs/heads/master | 2023-09-01T07:37:45.168803 | 2023-08-31T14:18:03 | 2023-08-31T14:18:03 | 45,691,895 | 246 | 49 | null | 2020-10-20T16:52:45 | 2015-11-06T16:01:57 | C++ | UTF-8 | C++ | false | false | 751 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long lint;
typedef pair<int, int> pi;
const int MAXN = 1000005;
const int mod = 1e9 + 7;
pi a[MAXN];
int main(){
int n, m, c1, c2; scanf("%d %d %d %d",&n,&m,&c1,&c2);
for(int i=0; i<n; i++) scanf("%d",&a[i].first), a[i].second = 0;
for(int i=n; i<... | [
"koosaga@gmail.com"
] | koosaga@gmail.com |
125fef689bac34262abca3b789832b12b3ca9678 | 6bc87ae9bb38ef580689345b4c4603bf53c8e1c2 | /src/qt/optionsdialog.cpp | 7ce8b669625ed58564d586c0b0be402dd7d080a9 | [
"MIT"
] | permissive | martexcoin/martexcoin | 54a5056d71d0f380481eca5ff347ae16d8562812 | 45c37bea83c06849c66f9fe3fbc31d4b4dbebb0e | refs/heads/master | 2022-04-29T10:53:08.218996 | 2022-04-06T16:45:35 | 2022-04-06T16:45:35 | 30,538,655 | 40 | 36 | MIT | 2021-01-19T15:40:46 | 2015-02-09T14:06:49 | C++ | UTF-8 | C++ | false | false | 11,893 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2017-2019 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/martex-config.h"
#endif
#include "... | [
"marcianovc@gmail.com"
] | marcianovc@gmail.com |
b84cdc4f1613f855c005dc1838885111d18b9abd | 746d5afd05737b35b59610a3d54742a7b54ed1a4 | /components/clas12/source/output/outputFactory.cc | 09bf993629be0f0a7135eb57c5c2e2facf2fc602 | [] | no_license | gemc/gemcWeb | cebe94211a981b5d36b81d0e1351f10012eb294e | b9abf60ca961ea82b2b4afd6fe157e853e59b81d | refs/heads/master | 2021-01-25T04:14:23.253516 | 2017-09-23T19:37:22 | 2017-09-23T19:37:22 | 93,410,833 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,444 | cc | // gemc headers
#include "outputFactory.h"
#include "options.h"
#include "string_utilities.h"
#include "evio_output.h"
#include "txt_output.h"
// mlibrary
#include "gstring.h"
using namespace gstring;
// C++ headers
#include <fstream>
using namespace std;
#define EVIO_BUFFER 30000000
outputFactory *getOutputFactory... | [
"markelonphysics@gmx.com"
] | markelonphysics@gmx.com |
218ed25e4f893254498fc913deee27156be76676 | 880c6984891ba45d6d5eecbb890df3ee91ad523e | /rice/detail/env.hpp | 8f141bb94caec5fad7072d79d4a373b9be80d75d | [
"BSD-2-Clause"
] | permissive | cout/rice | 92cfe61003e45e651b60c09d8aa9f2123356b9b3 | 2cc6fe0583739c4387a28149660c59c9d267e4e9 | refs/heads/master | 2021-07-12T08:31:33.931336 | 2009-06-07T23:21:59 | 2009-06-07T23:21:59 | 20,609 | 13 | 2 | NOASSERTION | 2021-04-13T12:32:51 | 2008-05-29T22:20:28 | C++ | UTF-8 | C++ | false | false | 308 | hpp | #ifndef Rice__detail__env__hpp_
#define Rice__detail__env__hpp_
/**
* Helper header for the env.h ruby include file, which does
* not have extern "C"
*/
// TODO: Won't work on ruby 1.9
#include "ruby_version_code.hpp"
#if RICE__RUBY_VERSION_CODE < 190
extern "C" {
#include "env.h"
}
#endif
#endif
| [
"curlypaul924@gmail.com"
] | curlypaul924@gmail.com |
9d8948569e5a2d404ed22099ea1d68db5bedba17 | 236e0fe4c7a0b239a3d930f9f476d144af6645d6 | /stack/test/common/mock_btsnoop_module.cc | 7a5c5ae88b6f1acbeafed38dfbb6b1800e642f9f | [
"Apache-2.0"
] | permissive | RevengeOS/android_system_bt | 4e178e900cde15473e1d4fd49e1bd40a359777ca | 57383ba301d9f19c7ab19e83ffb59c25af05da59 | refs/heads/r10.0 | 2021-07-22T12:15:48.460364 | 2019-06-27T05:56:56 | 2020-07-01T18:35:38 | 166,219,788 | 2 | 5 | NOASSERTION | 2021-01-05T19:26:25 | 2019-01-17T12:09:48 | C++ | UTF-8 | C++ | false | false | 1,550 | cc | /******************************************************************************
*
* Copyright 2019 The Android Open Source Project
*
* 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:
... | [
"siyuanh@google.com"
] | siyuanh@google.com |
49ef800d07ce989003271b7540020e6b1a100b5f | 1ef3e1262e2b1c82183f02d7f667b01cb5f8092e | /src/Dependencies/EASTL/include/EASTL/bonus/fixed_tuple_vector.h | e44897b134ef4cacdf22906a6a353fc38b1bed25 | [
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Connway/Shibboleth | 1f407e72b3d7afb68f7e36c13ac3abe305ced6fc | 0451a847e91302bf512f96282f7e0b5b3be0bf60 | refs/heads/master | 2023-05-12T18:05:04.584050 | 2023-03-04T19:45:27 | 2023-03-04T19:45:27 | 253,410,032 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,945 | h | ///////////////////////////////////////////////////////////////////////////////
// Copyright (c) Electronic Arts Inc. All rights reserved.
///////////////////////////////////////////////////////////////////////////////
#ifndef EASTL_FIXEDTUPLEVECTOR_H
#define EASTL_FIXEDTUPLEVECTOR_H
#include <EASTL/bonus/tupl... | [
"2028855+Connway@users.noreply.github.com"
] | 2028855+Connway@users.noreply.github.com |
cefb8bb336d1c7e76177d1b4bcffc826ac69efcc | b6a498064700c808cb4bef8646c4a9243d15195f | /src/rotateList/rotate_list.cpp | f1ac4c6168ad699e5775f6e8d5d3588abd2c44b2 | [] | no_license | kuring/leetcode | 8461393d90f5e23179232ed46cd9cdb650a283b0 | e679d53674f52395e23f644c20f6075a62b8a09f | refs/heads/master | 2021-01-17T17:41:04.502211 | 2015-05-29T13:52:41 | 2015-05-29T13:52:41 | 25,693,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,613 | cpp | #include <stdio.h>
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
/**
* 我对题目的理解有点问题,rotate the list to the right by k places我理解的是将链表开头的元素放到链表尾部,而题目的真实意思是将链表尾部的元素放到链表头部
*/
class Solution {
public:
ListNode *rotateRight(ListNode *head, int k) {
if (head ... | [
"kuring.public@gmail.com"
] | kuring.public@gmail.com |
536981b243bd708617f3f6162d81ed10a9249421 | 75251b624fd9549c33fc27bdf07d63d6db1423d6 | /node_modules/hummus/src/deps/PDFWriter/PDFIndirectObjectReference.cpp | 903cac78cfdb1ab93d36b8387daa565eb6202c10 | [
"Apache-2.0",
"MIT"
] | permissive | fradav/Cours-Deep-Learning | 1b1e61052a41321b046a6053b716727fcbcfe044 | 3e4daceecb97f57d1d5df6fb174eef117967e17c | refs/heads/master | 2023-03-16T00:44:49.184919 | 2020-01-31T01:48:24 | 2020-01-31T01:48:24 | 236,770,039 | 0 | 0 | MIT | 2023-03-03T08:06:06 | 2020-01-28T15:35:24 | Jupyter Notebook | UTF-8 | C++ | false | false | 964 | cpp | /*
Source File : PDFIndirectObjectReference.cpp
Copyright 2011 Gal Kahana PDFWriter
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/... | [
"Francois-David.Collin@umontpellier.fr"
] | Francois-David.Collin@umontpellier.fr |
82c44b5cca5652a9e58f41dbcc161c823619f042 | 53d4a4ed468941ace04d92da75bdac2285c377fe | /Part-I/Ch05/5.1/5.3.cc | 8b9606828d4f38a7de7a73440cb1298f530a9037 | [
"MIT"
] | permissive | RingZEROtlf/Cpp-Primer | c937cad3342950d4f211907b7fb7044260bc09cc | bde40534eeca733350825c41f268415fdccb1cc3 | refs/heads/master | 2022-12-22T18:52:01.163191 | 2020-09-25T07:45:13 | 2020-09-25T07:45:13 | 285,617,317 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 143 | cc | #include <iostream>
int main()
{
int sum = 0, i = 50;
while (i <= 100) sum += i, i += 1;
std::cout << sum << '\n';
return 0;
} | [
"RingZEROtlf@outlook.com"
] | RingZEROtlf@outlook.com |
f5696b082d47c6fb9058bf2e6150761a4e0e7e1e | 0dbea3b3e25ea00ee9a51b2bfb4094d513a66533 | /third_party/wpilib/hal/lib/Athena/Task.cpp | 3536544b2200a1aaf36b4d6c8572997c1c2170de | [] | no_license | kylestach/frc-bazel | 99886b596c4beb97e2f01959afeef39f23a07206 | 54d6c17d47faed5f529a204317d312920503e571 | refs/heads/master | 2021-06-02T01:50:00.864759 | 2016-04-16T05:28:54 | 2016-04-16T05:28:54 | 56,031,536 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,484 | cpp | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2016. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | [
"kylestach99@gmail.com"
] | kylestach99@gmail.com |
3b97d73bfd5ef3ed0b4f62fb29b28e9c27b1122d | a568d13304fad8f44b1a869837b99ca29687b7d8 | /Code_16/Camp_2/B-seach/AP_Bush.cpp | 8829651eb388ae2e76758fbe5d8c274e2a2793a2 | [] | no_license | MasterIceZ/Code_CPP | ded570ace902c57e2f5fc84e4b1055d191fc4e3d | bc2561484e58b3a326a5f79282f1e6e359ba63ba | refs/heads/master | 2023-02-20T14:13:47.722180 | 2021-01-21T06:15:03 | 2021-01-21T06:15:03 | 331,527,248 | 0 | 0 | null | 2021-01-21T05:51:49 | 2021-01-21T05:43:59 | null | UTF-8 | C++ | false | false | 1,160 | cpp | /*
TASK:AP_Bush
LANG: CPP
AUTHOR: Wichada
SCHOOL: RYW
*/
#include<bits/stdc++.h>
using namespace std;
long long a[1010];
int main()
{
long long q,n;
long long k,cnt;
scanf("%lld",&q);
while(q--){
scanf("%lld %lld",&n,&k);
for(int i=1;i<=n;i++){
scanf("%lld",&a... | [
"w.wichada26@gmail.com"
] | w.wichada26@gmail.com |
544d66c212d54a2a91b45ce42cb06c7890c595c7 | cfc5c45432335497193004fe095af67b0c39a47e | /LeetcodeQuestions/SolutionNavigator/Leetcode Source Files/020 - validParentheses.cpp | 70763404eda63cb3fd1f3c7c0ccaceb67fa96121 | [] | no_license | cleverfool97/Leetcode | 824aaa08b66750f76e2c6333c4363c4d3b3af34d | 9ed2464a73ca53df02190fdc6b74ca082ef98ad8 | refs/heads/master | 2021-06-02T15:58:32.346494 | 2019-09-20T04:40:02 | 2019-09-20T04:40:02 | 96,049,744 | 13 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,885 | cpp | #include "020 - validParentheses.h"
#include "config.h"
/*
Difficulty: Easy
Please refer to "20. Valid Parentheses" for the problem statement.
https://leetcode.com/problems/valid-parentheses/description/
Solution:
Every time we encounter an opening character, we know that its closing match must be next.
This... | [
"jameswang97@ucla.edu"
] | jameswang97@ucla.edu |
53ee90bf8a1b81184d8acbaa73509c03980c2d42 | d52d5fdbcd848334c6b7799cad7b3dfd2f1f33e4 | /third_party/folly/folly/logging/Logger.cpp | a982d72dde0cf761165dfed191a689bec2927b8a | [
"Apache-2.0"
] | permissive | zhiliaoniu/toolhub | 4109c2a488b3679e291ae83cdac92b52c72bc592 | 39a3810ac67604e8fa621c69f7ca6df1b35576de | refs/heads/master | 2022-12-10T23:17:26.541731 | 2020-07-18T03:33:48 | 2020-07-18T03:33:48 | 125,298,974 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,073 | cpp | /*
* Copyright 2017-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | [
"yangshengzhi1@bigo.sg"
] | yangshengzhi1@bigo.sg |
431ea7d136cd417e2c93538d846209c38ad642e5 | 6b70d4fe93a0dc89ee3f2c2395114a5d684b3e2d | /Library/Il2cppBuildCache/Android/armeabi-v7a/il2cppOutput/Assembly-CSharp.cpp | 64f009c605a609a0655a1a5ecec5c831b69047f3 | [] | no_license | Qb1ss/Versus-Another | ec9424882e21d6a3d4cccb80907fb1224ed6fe7f | 3a7afd5a72bdbd2354f21e58dbfd7511165d8baa | refs/heads/main | 2023-07-14T22:33:13.134412 | 2021-08-16T01:30:06 | 2021-08-16T01:30:06 | 396,562,368 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 149,185 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R>
struct VirtFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const Virt... | [
"gleb.bortsov79@gmail.com"
] | gleb.bortsov79@gmail.com |
c521229870f3f9118a068eaf04ce42da0dd60e6b | 274e1169a03062140871e4fddaf4836e30cce503 | /src/CursATE/Curses/Exception.hpp | 589be93d8537de5df78228981f3540792fbc5365 | [
"BSD-2-Clause"
] | permissive | el-bart/LogATE | 38df676a9874c42d9ec862cf3090e0e31bc134f2 | 88569417c0758318a049205bb69f3ecee4d13a32 | refs/heads/master | 2023-08-29T14:45:26.924602 | 2023-07-25T17:55:13 | 2023-07-25T17:55:13 | 152,469,962 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 143 | hpp | #pragma once
#include <But/Exception.hpp>
namespace CursATE::Curses
{
BUT_DEFINE_EXCEPTION(Exception, ::But::Exception, "ncurses error");
}
| [
"bartosz.szurgot@qiagen.com"
] | bartosz.szurgot@qiagen.com |
64b1ae9a9cd3472021ffd3dd53d8a1755123dc03 | bd5bc7146f852fc3bddbfa0ad818911e2f1b379a | /include/ccapi_cpp/ccapi_element.h | 00480ea5a8d15afed9adfd3dc1924bc560a7e03d | [
"MIT"
] | permissive | CosmicSharts/ccapi | ac6c8ffc43973081e77ae33d433ed8ef1cdfdefc | 8a1a89dcaf41b5a23b317efb492b6d7665b125c9 | refs/heads/master | 2023-08-23T17:06:50.119893 | 2021-10-30T02:07:07 | 2021-10-30T02:07:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,705 | h | #ifndef INCLUDE_CCAPI_CPP_CCAPI_ELEMENT_H_
#define INCLUDE_CCAPI_CPP_CCAPI_ELEMENT_H_
#include <map>
#include <string>
#include "ccapi_cpp/ccapi_util_private.h"
namespace ccapi {
class Element CCAPI_FINAL {
public:
explicit Element(bool isFix = false) : isFix(isFix) {}
void insert(const std::string& name, const s... | [
"admin@cryptochassis.com"
] | admin@cryptochassis.com |
08fdf33dc0f676a6a3d674f7ae2bb3c8397253e2 | b124a10c3394190a7dd967e6b1b805ef027fd40f | /seriaC/C6/main.cpp | 72a8d512ee63f6eb8ec94a0de8aae2b03784a138 | [] | no_license | bambuchaAdm/Algorytmika2011_2012 | 6d61fa245dd3ad1247b830ad29b6b191381fb5b3 | 50f23f64e4573db57baef29863d1fd43c099500f | refs/heads/master | 2021-01-15T11:28:45.132664 | 2012-04-18T02:07:29 | 2012-04-18T02:07:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,773 | cpp | #include <cstdio>
#include <vector>
#include <iostream>
using namespace std;
struct szczyt
{
int numer;
int x;
int y;
};
void quicksort(vector<szczyt>& mapa, int b, int e)
{
int b1 = b;
int e1 = e;
szczyt podzial = mapa[(b+e)/2];
do
{
while(podzial.x*mapa[b1].y - mapa[b1].... | [
"adam1piekarczyk@gmail.com"
] | adam1piekarczyk@gmail.com |
d921b5de35f7d63e88d8a8cab209872f31f5a885 | b515a51bde5d5ce96c9ddcc9b1c653a0b2c08e31 | /opencv/opencv/sources/samples/tapi/clahe.cpp | 905ea1f1ae2b81dbb5cdca44948abf54fce7ea8b | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | yedushusheng/EasyPR | 91035cf730efb11273181124c9979ad95b971f54 | 1c99e180a03d68d0f635a84c6665130b26f00bae | refs/heads/master | 2020-04-16T20:13:14.619772 | 2019-09-30T18:53:02 | 2019-09-30T18:53:02 | 165,891,115 | 0 | 0 | Apache-2.0 | 2019-01-15T17:08:22 | 2019-01-15T17:08:22 | null | UTF-8 | C++ | false | false | 2,916 | cpp | #include <iostream>
#include "opencv2/core/core.hpp"
#include "opencv2/core/ocl.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/imgcodecs.hpp"
#include "opencv2/videoio.hpp"
#include "opencv2/highgui/highgui.hpp"
using namespace cv;
using namespace std;
Ptr<CLAHE> pFi... | [
"yedushusheng@163.com"
] | yedushusheng@163.com |
3eacbddfb5be673dbed51c0a6bd6c4fef49f0ae8 | 7d16e23b7a8fcc0c9ba26b1d060da216df1a536c | /tests/day1.cpp | ea65d5574e258b0bb784cfc97787c92c39636466 | [
"MIT"
] | permissive | maxnoe/adventofcode2020 | ae3887083d4c9db73c3bd723af56ce86051e0ba1 | eb2a3ea03af02bf951f145f214da6a9221d8fe4f | refs/heads/main | 2023-02-03T19:02:00.849634 | 2020-12-19T13:14:05 | 2020-12-19T13:14:05 | 317,613,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 619 | cpp | #include "gtest/gtest.h"
#include <aocmaxnoe2020/aocmaxnoe2020.h>
#include <aocmaxnoe2020/day1.h>
using namespace aocmaxnoe2020;
const std::string test_input = R"(1721
979
366
299
675
1456
)";
const std::unordered_set<int> test_numbers{1721, 979, 366, 299, 675, 1456};
TEST(TestDay1, TestParse) {
auto numbers =... | [
"maximilian.noethe@tu-dortmund.de"
] | maximilian.noethe@tu-dortmund.de |
b26b63099d8dbcd31a7fe3aa78c25ba194790b82 | 2379a3470c7d1b08b4a08ba74e5720cef613ad18 | /Server-Client-v3/Client/NetworkableException.h | 7fae8a1c7d58e84ff200854bebd729289ad2a934 | [] | no_license | BurakAkten/Project-Group7 | a161e4f3916317f4465248ad7b7169ef83ae6430 | 8c474c660a5dd293abea9a6c8385469c468bc29d | refs/heads/master | 2021-04-12T02:47:27.730912 | 2018-05-30T23:28:48 | 2018-05-30T23:28:48 | 125,826,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | h | //
// Created by Vakhid Betrakhmadov on 13/04/2018.
//
#ifndef SERVER_NETWORKABLEEXCEPTION_H
#define SERVER_NETWORKABLEEXCEPTION_H
#include <iostream>
using namespace std;
namespace server_client {
class NetworkableException : public exception {
string message;
public:
inline NetworkableExc... | [
"restermans@mail.ru"
] | restermans@mail.ru |
07563a316c7189bb6d7d927e69f2972eb08cbfd0 | 78d03e194b6c465b04c6a57cfe7de01945c3cb81 | /src/distanceAPI.h | e655561f7a502564c040cdd145f71164e642b70e | [
"MIT"
] | permissive | sipemu/case-based-reasoning | 582e520260fd4a3613320c183c28d3dcbbc0bdab | 8bc6cb18090c48004c06f531bbedd32a1a69b40a | refs/heads/main | 2023-05-12T23:02:03.038770 | 2023-04-29T06:01:06 | 2023-04-29T06:01:06 | 35,034,004 | 9 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 1,991 | h | #ifndef DISTANCEAPI_H
#define DISTANCEAPI_H
// [[Rcpp::depends(RcppArmadillo)]]
#include<RcppArmadillo.h>
#include "distance/distance.h"
#include "parallelFrameworks.h"
#include "ranger/rangerForest.h"
/**
* Distance Calculation
*/
class distanceAPI {
public:
distanceAPI() {};
void init();
arma::vec calculat... | [
"sm@data-zoo.de"
] | sm@data-zoo.de |
5de69f447213109c30597a10cdb49d985ede198f | 0932a1d94a15ef74294acde30e1bc3267084e3f4 | /Classification/POJ/简单/POJ2602.cpp | d858f0c58fa0c3c54950ee65639ce56ea6dc019c | [] | no_license | wuzhen247/ACM-ICPC | 9e585cb425cb0a5d2698f4c603f04a04ade84b88 | 65b5ab5e86c07e9f1d7c5c8e42f704bbabc8c20d | refs/heads/master | 2020-05-17T19:51:48.804361 | 2016-09-03T12:21:59 | 2016-09-03T12:21:59 | 33,580,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | cpp | #include <iostream>
#include <cstring>
#include <cstdio>
using namespace std;
char s[1000005];
int main()
{
int n,i,x,y;
memset(s,0,sizeof(s));
scanf("%d",&n);
for(i=1;i<=n;i++)
{
scanf("%d%d",&x,&y);
s[i]=x+y+'0';
}
for(i=n;i>=1;i--)
{
s[i-1]+=(s[i]-'0')/10;
s[i]=(s[i]-'0')%10+'0';
}
printf("%s\n",... | [
"aaronzark@163.com"
] | aaronzark@163.com |
466a44f1335338a7559b3eb36f6ac0d0c6cf2271 | c94b05e943fa295afb019260d2fdb65a9527603b | /tetris/src/Game.h | 6efc37b554a0ef80b2fb9606473ea60bf71f8592 | [] | no_license | bbugday/tetris | ce7546f988f66194a451bd2741fc0bb3e78cda4a | 71b60213bcb8e765d09c53da85327233697137e9 | refs/heads/main | 2023-07-11T02:24:36.040348 | 2021-08-22T18:54:07 | 2021-08-22T18:54:07 | 398,092,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,250 | h | #pragma once
#include <ResourceHandling/ResourceHolder.h>
#include <ResourceHandling/ResourceIdentifiers.h>
#include <Piece.h>
#include <SFML/System/NonCopyable.hpp>
#include <SFML/Graphics/View.hpp>
#include <SFML/Graphics/Texture.hpp>
#include <SFML/Window/Event.hpp>
#include <SFML/System/Clock.hpp>
#include <arra... | [
"bugdayberke@gmail.com"
] | bugdayberke@gmail.com |
ae83688e5399d1bfa23bda19a11f6409a200e4e3 | da86d9f9cf875db42fd912e3366cfe9e0aa392c6 | /2018/solutions/B/DAC-Plovdiv/codes.cpp | 6f93106ab5bf3f056731065f37552b7f20bea902 | [] | 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 | 4,887 | cpp | #include <iostream>
#include <cmath>
#include <string>
#include <vector>
using namespace std;
#define MAXN 128
string ans="";
int arr[MAXN]={}, s[MAXN]={}, maxs=-1, maxs2=-2;
int n;
vector<int> maxii;
void rec(long long k, long long a, long long b){
if(k==1){
int maxi=-1;
for(in... | [
"aleks.tcr@gmail.com"
] | aleks.tcr@gmail.com |
3ea13f363dc38fb1974fe953710c3a3ae28ca5d6 | 69784e105ddc2aca3699b6b07dbcb1834d7c242c | /Classes/Native/Vuforia_UnityExtensions_Vuforia_SmartTerrainBuilde1628525337.h | 69a9028df9d8e22ab89b96c0b2b74550e2279a4b | [] | no_license | ryanmcgrail95/CRHC-iOS | 7e72139100b2140143deb424d21fdc69b2959ed1 | 1b00260e6c59f552d9a8b94e42fcae5e657a6c46 | refs/heads/master | 2021-06-12T11:21:33.461817 | 2017-03-04T01:08:34 | 2017-03-04T01:08:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532 | 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"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnos... | [
"rmcgrai1@nd.edu"
] | rmcgrai1@nd.edu |
b5a7dd2d1ae33789bd970a6f69e296dfa4f571c8 | 2c2390232d175cecbcafeedae39bc2943ddf8452 | /UIShop/AddAllClassDlg.h | d2b61df9fd200241d6592d37cd00b1817f763ac7 | [] | permissive | iUIShop/LibUIDK | d36621fbf3551b1c8ac5b6a44a2df1769a73a4f6 | ea7b0ca3ba1e58867bb35fdaa32b8685a3f83409 | refs/heads/master | 2023-04-13T04:37:35.618021 | 2023-03-30T09:53:55 | 2023-03-30T09:53:55 | 207,088,755 | 418 | 204 | MIT | 2019-09-09T13:52:26 | 2019-09-08T09:19:02 | C++ | UTF-8 | C++ | false | false | 554 | h | #pragma once
// CAddAllClassDlg dialog
class CAddAllClassDlg : public CDialog
{
DECLARE_DYNAMIC(CAddAllClassDlg)
public:
CString m_strLocation;
TCHAR m_szBrowseRoot[MAX_PATH];
public:
CAddAllClassDlg(CWnd* pParent = NULL); // standard constructor
virtual ~CAddAllClassDlg();
// Dialog Data
... | [
"1584793892@qq.com"
] | 1584793892@qq.com |
f1e015064071e6109c5829983699d4fdf872518f | 119e3839dc83d2f8fca8b8a78a687982cfe25104 | /prebuild/VTK-8.1.0.rc1/ThirdParty/vtkm/vtk-m/vtkm/cont/Error.h | 4a036a76e81b59c0b30b277b15026edc3d24b2a0 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | liulihuogyh/osgall | 30cdb5c8ca7d3f2c0863ef2da6ff6c1bafb357f1 | 310530672b69be6afac16f0b9b2f5bd9b3ec60d4 | refs/heads/master | 2023-04-14T13:01:04.085705 | 2021-04-24T19:53:50 | 2021-04-24T19:53:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,405 | h | //============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | [
"shell_tdf@126.com"
] | shell_tdf@126.com |
9301e1e70feff013c02bb8690af3aba5c1172c93 | 18d6674e9387774824cfb7239d15694798fd120e | /src/qt/walletframe.h | dcbbe640e3ca8b5a17e351e55fb0d7bd5dc3bea6 | [
"MIT"
] | permissive | spiraltech/Silk-Core | 5b7115153f20a1e2bb81bdac5ad4e1e6eead6e0a | f233cd1113437ef22ec93b125b706e6f46b22028 | refs/heads/master | 2021-01-11T05:50:50.654841 | 2016-10-23T05:32:15 | 2016-10-23T05:32:15 | 71,719,261 | 0 | 0 | null | 2016-10-23T17:48:17 | 2016-10-23T17:48:15 | null | UTF-8 | C++ | false | false | 2,365 | h | // Copyright (c) 2009-2016 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Developers
// Copyright (c) 2015-2016 Silk Network Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SILK_QT_WALLETFRAME_H
#defi... | [
"amirabrams@mail.com"
] | amirabrams@mail.com |
7c9eca6ac01320eaccf4aa0b6f4c24f79f3a237b | 7e68c3e0e86d1a1327026d189a613297b769c411 | /Lib/Src/D3DGraphics/D3MathXML.cpp | 3d02c93923c008902bb24a329ef9b8dc5a8b804b | [] | no_license | staticlibs/Big-Numbers | bc08092e36c7c640dcf43d863448cd066abaebed | adbfa38cc2e3b8ef706a3ac8bbd3e398f741baf3 | refs/heads/master | 2023-03-16T20:25:08.699789 | 2020-12-20T20:50:25 | 2020-12-20T20:50:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,140 | cpp | #include "pch.h"
#include <XMLUtil.h>
#include <D3DGraphics/D3XML.h>
void setValue(XMLDoc &doc, XMLNodePtr n, const D3DXVECTOR3 &v) {
setValue(doc, n, _T("x"), v.x);
setValue(doc, n, _T("y"), v.y);
setValue(doc, n, _T("z"), v.z);
}
void getValue(XMLDoc &doc, XMLNodePtr n, D3DXVECTOR3 &v) {
getValue(doc, n, _T... | [
"jesper.gr.mikkelsen@gmail.com"
] | jesper.gr.mikkelsen@gmail.com |
0c4dc01112d066f44bfc2c4962e5d332a3fc6eb9 | 6e7bb7d2cd045301bc29a810c56b443e48ccbcef | /ftp-client/Server.cpp | 6c4344567a1f159e4c8eb4ab446403f355d9eeb6 | [] | no_license | ShadeWe/ftp-client | dc8b49a573f7436f73c8a3706c14fbc100a07a7e | 4e5c1cde73d10b6b6275d693d002d56be80ba9e4 | refs/heads/master | 2021-04-27T16:11:08.570237 | 2018-04-05T04:40:49 | 2018-04-05T04:40:49 | 122,484,231 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,068 | cpp | #include <string>
#include <iostream>
#include <winsock.h>
#include <fstream>
#include <iomanip>
#include "Server.h"
#include "coloredText.h"
string Server::RetrieveMessage(char * buffer, int size) {
string buf = buffer;
return buf.substr(0, size);
}
int Server::ObtainServerSettings() {
Write(" hostname >> ", DA... | [
"slim.shady.ghetto@yandex.ru"
] | slim.shady.ghetto@yandex.ru |
c51ea78f1f55a680e6e330cda296facb2d9e60bd | 2f663f94b8e08a894a83a45c918cf79c3ae6092d | /xmastreesketch/blinkRandomLights/blinkRandomLights.ino | eefbbc8aa56b33c9004d58b1ed9f77cafe2b965d | [] | no_license | grobins/xmaslights | 898f3db649cd9cf8f53a8f9d37885121ae76bec3 | 1306b271d861d2583bd34080a314c942619d714e | refs/heads/master | 2021-01-10T10:58:51.981435 | 2016-03-09T08:37:50 | 2016-03-09T08:37:50 | 47,961,924 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,773 | ino | const byte myPins[] = {7, 8, 9, 10, 11, 12};
byte onPin;
int sound = 0;
int soundpin = A0;
int soundTrigger = 2;
int numLights = 0;
int onTime = 0;
int baseThreshold = 512;
void setup() {
for (int i = 0; i < sizeof(myPins) - 1; i++) {
pinMode(myPins[i], OUTPUT);
}
Serial.begin(19200... | [
"gareth.robins@gmail.com"
] | gareth.robins@gmail.com |
fdca91a3156329b2760960f659dfcaab93f2c988 | f6bdac5f1eda23454f9012815c6216c1f9531898 | /roommgr/talktree.cpp | 4bc87af0ec4ed9b2ead8e3900f11439ba5dc631f | [] | no_license | Pink-Dragon-Labs/DnGServerSource | 62310037935d223f4db0555b4ba7837621feb895 | 995e8d1e23bd7b3e952f0e36b6ed84e6c41055d8 | refs/heads/master | 2021-02-08T19:57:41.259553 | 2020-02-29T04:19:48 | 2020-02-29T04:19:48 | 244,190,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,264 | cpp | //
// talktree.cpp
//
// classes and code for talk trees
//
// Author: Stephen L. Nichols
//
#include "roommgr.hpp"
LinkedList gTalkTrees;
TalkTreeTopicOwner::TalkTreeTopicOwner()
{
type = _TREE_ROOT;
banner = NULL;
setBanner ( "Default banner" );
}
TalkTreeTopicOwner::~TalkTreeTopicOwner()
{
setBanner ( NULL ... | [
"32891881+STRHercules@users.noreply.github.com"
] | 32891881+STRHercules@users.noreply.github.com |
4bff0129886879f5b1a76fd7bfe92fe7186b3044 | e42eefb29872ea3439d9a68773bceb830ca0654f | /MKR-turning-on-led-web.ino | 983ccf21e263ffce2649192d0908e0cf23134a01 | [] | no_license | paolonapoletano/MKR-turning-on-led-web | 3a810bdeb87af96995bd1360155a4855b3f6be8e | 05cebd584e7f340edab52e69bedb94f79de7d8e8 | refs/heads/master | 2020-05-03T17:31:54.688842 | 2019-03-31T21:51:06 | 2019-03-31T21:51:06 | 178,745,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,031 | ino |
#include <SPI.h>
#include <WiFi101.h>
#include "secrets.h"
IPAddress ip(149, 132, 182, 33);
IPAddress subnet(255, 255, 255, 0);
IPAddress dns(149, 132, 2, 3);
IPAddress gateway(149, 132, 182, 1);
char ssid[] = SECRET_SSID; // your network SSID (name)
char pass[] = SECRET_PASS; // your network password (use f... | [
"paolo.napoletano@unimib.it"
] | paolo.napoletano@unimib.it |
e54f1bd399e2b64c9689c077f6ff21a3dedd5b19 | 0c7c69b9fe16ec17e0f1a7718be8153be07b0f88 | /dev/test/so_5/bench/agent_ring/main.cpp | 4cf7820326c73d7e88cc32e436c37a0b949a4d4e | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gitter-badger/SObjectizer | 7cfa6a3d8b81e8d562e3cc5335068d8ba82491a6 | aae82d418c7b614c64c014eb13a0eca9333ce168 | refs/heads/master | 2021-01-18T08:16:32.166384 | 2016-01-22T17:19:29 | 2016-01-22T17:19:29 | 50,293,195 | 0 | 0 | null | 2016-01-24T15:12:04 | 2016-01-24T15:12:03 | null | UTF-8 | C++ | false | false | 7,308 | cpp | #include <iostream>
#include <set>
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <so_5/all.hpp>
#include <various_helpers_1/cmd_line_args_helpers.hpp>
#include <various_helpers_1/benchmark_helpers.hpp>
using namespace std::chrono;
enum class dispatcher_type_t
{
one_thread,
thread_pool,
prio_ot... | [
"eao197@1d1731ae-3f85-447d-88f8-c72b288064d1"
] | eao197@1d1731ae-3f85-447d-88f8-c72b288064d1 |
66c6afd9184e8efe9ff67eefd9a6a56e58846c44 | e1ad8df32760159d8d48112cb733ca52e917339b | /Source/Figures/DurationProtocolControllers/PrescribedProtocolController.h | 46c7fbf8e46628505194636a565acbee965d5697 | [] | no_license | joncode/Montage | b3e2c17194b2863ba2ea2e2b3fb3486faa58e134 | 189f1c4119aeba03ed73c1385d4cfcc3a6c1b662 | refs/heads/master | 2023-04-05T10:54:17.551077 | 2021-03-24T09:37:27 | 2021-03-24T09:37:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | h | #pragma once
#include "DurationProtocolController.h"
#include "DurationProtocolParams.h"
#include "NumericCollectionEditor.h"
#include <memory>
class PrescribedProtocolController : public DurationProtocolController {
public:
PrescribedProtocolController(
DurationProtocolParams ¶ms,
std::shar... | [
"simonjamespratt@gmail.com"
] | simonjamespratt@gmail.com |
145d2edb051492420310ddf1d3a8ee6447c65d17 | 39539987d11d1031f1c6ca56f85235a8355d8750 | /usr/bin/qtopia/examples/tools/plugandpaintplugins/basictools/basictoolsplugin.h | c857e4c7a0bc42b085e32f51f87afba508b8e0be | [] | no_license | sensarliar/zfcs_filesystem | dfe36b46c91eaa027940ec22f556dea6dabb08cf | fea119e8a5027cbef664414b7e44138a3bde7ce5 | refs/heads/master | 2021-01-25T10:29:28.515351 | 2014-08-29T13:27:46 | 2014-08-29T13:27:46 | 22,943,366 | 1 | 2 | null | 2018-02-23T15:05:27 | 2014-08-14T06:19:08 | C++ | UTF-8 | C++ | false | false | 3,235 | h | /****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of... | [
"sensarliar@gmail.com"
] | sensarliar@gmail.com |
2e7139d600daabbb78c5c4a8c27fdde7e87363e6 | 0c5c85d2bc439e53c42f14c90bca364aee53f3da | /xcode/DragablePoint.cpp | 02eb090ae5fc034b021128460f087faed2fbfca0 | [] | no_license | ameisso/SVGLines | 5357a10d4c04c34a09e6b30eb751e5c89fccdb59 | 2fb3af0173bf6cbb9ff44f26296c49f0046da163 | refs/heads/master | 2016-09-05T13:24:47.691334 | 2014-04-14T22:01:37 | 2014-04-14T22:01:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,163 | cpp | //
// DragablePoint.cpp
// SVGLines
//
// Created by Meissonnier A on 12/04/14.
//
//
#include "DragablePoint.h"
DragablePoint::DragablePoint()
{
//ctor
}
DragablePoint::~DragablePoint()
{
}
DragablePoint::DragablePoint(int posX, int posY)
{
x=posX;
y=posY;
bOver=false;
bBeingDragged=false;
... | [
"ame.anomes@gmail.com"
] | ame.anomes@gmail.com |
c27564e110fc0f202faa60d8e41f2090c5df6cb1 | 19c694144674cfea93ffdcf36404b3043a4f9fc9 | /src/PinOutput.h | 95ccdfc6fc2df0788c41f2ed30b8217ea7734e68 | [
"MIT"
] | permissive | MinusKube/NodalSoundEditor | 7b88af9a910adcf607c621863e21bff719342c8a | c6036fd0b22ef1a90796efafdc0802207cc9a6c0 | refs/heads/master | 2020-04-30T17:05:31.478917 | 2019-03-13T08:40:38 | 2019-03-13T08:40:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 844 | h | /*
* @author PELLETIER Benoit
*
* @file PinOutput.h
*
* @date 01/02/2019
*
* @brief Define an output pin
*
*/
#ifndef _PINOUTPUT_H
#define _PINOUTPUT_H
#include <iostream>
#include "Components/Component.h"
#include "Pin.h"
using namespace std;
class PinOutput : public Pin
{
friend class PinInput;
private:
Compone... | [
"omegazed97@gmail.com"
] | omegazed97@gmail.com |
3b66a544ec37b48a2f88585bbedf9bf82da1e7de | e426601e556b2f69468d33fe56fdf9880ebd7de8 | /NDIsing.cpp | b9dbda6ed7adff1703e18e37640e615e0a6a23f5 | [] | no_license | jarready/NDIsing | c684d28de347f5484aa589ce3ae2bf2463f29a76 | 81c8a1b0188df1a99e48c94a05e5b3a2066d5b78 | refs/heads/master | 2021-01-10T10:36:37.344487 | 2016-03-19T08:11:57 | 2016-03-19T08:11:57 | 54,246,032 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,706 | cpp | #include "NDIsing.h"
#include <iostream>
#include <string>
#include <cmath>
#include <vector>
NDIsing::NDIsing(int D_set,
int L_set,
double T_set,
double J_set,
double H_set) {
D = D_set; L = L_set; T = T_set; J = J_set; H = H_set;
mark.resi... | [
"917636667@qq.com"
] | 917636667@qq.com |
fcbd627ecc887f2896dbb9386f78981a3f59057d | 2d1db008579c3a955084947248f114005856e4b9 | /Tree/PostOrderTraversal.cpp | f5215603d69fb33e7f4983169c0f47c5281a4ead | [] | no_license | bkrohitkumar/Coding-Ninjas_DSA_Problems | ac705fba31f13aa3ef6177f3d4c7a89e86263bce | 8453347118e64edcafb8de031bb2a9a45d688e86 | refs/heads/main | 2023-03-28T17:32:31.373014 | 2021-04-04T09:52:41 | 2021-04-04T09:52:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,386 | cpp | #include <iostream>
#include <vector>
#include <queue>
using namespace std;
template <typename T>
class TreeNode
{
public:
T data;
vector<TreeNode<T> *> children;
TreeNode(T data)
{
this->data = data;
}
};
void postOrder(TreeNode<int> *root)
{
if (root == NULL)
{
return;
... | [
"55191181+iamketan56@users.noreply.github.com"
] | 55191181+iamketan56@users.noreply.github.com |
89de632a292fecf11844a79c6c9f0ccd336838fb | 4e7f736969804451a12bf2a1124b964f15cc15e8 | /AtCoder/ABC/ABC266/D.cpp | 9cc08bfc61272d6d37493d71f86525b74cf1f8fb | [] | no_license | hayaten0415/Competitive-programming | bb753303f9d8d1864991eb06fa823a9f74e42a4c | ea8bf51c1570566e631699aa7739cda973133f82 | refs/heads/master | 2022-11-26T07:11:46.953867 | 2022-11-01T16:18:04 | 2022-11-01T16:18:04 | 171,068,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,717 | cpp | #include <bits/stdc++.h>
#include <atcoder/all>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
template <typename T>
using ordered_set =
tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
struct __INIT{__INIT()... | [
"hayaten0415@gmail.com"
] | hayaten0415@gmail.com |
7127e9a138ee30461518b50d0097735600accbe5 | d80ef43b80a4d0a98f12a5c58d3355fd9b579b40 | /Source/CET346/CET346GameMode.cpp | 85f78efb0d80614ff2982ae1cb54470f14042a31 | [] | no_license | Spudward/CET345Fix | ddeed03d34be27cb91370e33583499d049357b43 | e8895d09c8714b5240ede229139a2b55a690ff94 | refs/heads/master | 2023-05-09T17:26:15.561523 | 2021-05-28T11:38:04 | 2021-05-28T11:38:04 | 371,517,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
#include "CET346GameMode.h"
#include "CET346Character.h"
ACET346GameMode::ACET346GameMode()
{
// Set default pawn class to our character
DefaultPawnClass = ACET346Character::StaticClass();
}
| [
"50043883+Spudward@users.noreply.github.com"
] | 50043883+Spudward@users.noreply.github.com |
b791a212d6563ce86cc3b27f6ad03fb2c77063ce | 1fddc0f5ebe01106ebe718ad1dc2475dbdcfc47e | /SPOJ/hoan-vi.cpp | 9a29f430f114bcd00ee331a40cdaa738bca76988 | [] | no_license | not-a-wjbu-war/Source-Code | 15e253334c0a7a81a8218ef14f0a4d6d14005984 | 3eec0a26e665ebda5c6cbf0dc178100076d00a64 | refs/heads/master | 2023-06-01T11:12:29.844593 | 2021-06-14T17:44:51 | 2021-06-14T17:44:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | /*
*/
#include<bits/stdc++.h>
using namespace std;
const int mod = 1e9+7;
int n=5,X[100],chuaxet[100];
void In(){
for(int i=1;i<=n;i++)
cout<<X[i];
cout<<endl;
}
void Try(int i){
int j;
for(int j=1;j<=n;j++){
if(chuaxet[j]){
X[i]=j; chuaxet[j]=0;
if(i==n) In();
else Try(i+1);
chuaxet[j]=1;
}
}
}... | [
"bbaotrung372k@gmail.com"
] | bbaotrung372k@gmail.com |
086ecbc167c0c3688f697dc97fc6ef5ad05fa681 | 3a17418505f5c68564100f03caa789db2e214477 | /testCases/Cavity/Galbraith/semi-anal-comparison/cavity_stoich_ideal_CASE/0.038/S | e93301b8b75155210b03325a7457c217d49bc304 | [] | no_license | BJankauskas/mapFoam | 2554798c7a4435c90e3f269e84c1c6e6109bb1e7 | 06200cf3a51da3e9a8d284d9df18f8634964dc1a | refs/heads/master | 2020-05-24T16:31:26.833077 | 2019-05-21T18:40:15 | 2019-05-21T18:40:15 | 187,356,603 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,219 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.x |
... | [
"bernardas.jankauskas@gmail.com"
] | bernardas.jankauskas@gmail.com | |
371a1e1e387f49912eae45dc778862f51d7a01f1 | 0e4bd31b06c62391540b331516003e6e4bce53b7 | /master.cpp | 08a269b9466189afbebcd8ef391f15323f6853e8 | [] | no_license | mgazit2/Unix-Concurrent-Processes-and-Shared-Memory | 31a2d5f6a1e3740b24d3010bd5e40602f0b5db72 | ebe98c54bc16d6c22cb9bfd9870b12ff099603ad | refs/heads/master | 2021-06-21T09:52:58.892505 | 2017-06-01T12:02:29 | 2017-06-01T12:02:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,395 | cpp | /**
Author: Jeffery Calhoun
Course: CS 4760 Operating Systems Section 2 (TTh 9:30-10:45am)
Date: 10/05/2016
*/
#include <unistd.h>
#include <fstream>
#include <iostream>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <signal.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <cstdlib>
#include <cstring>
usi... | [
"jeffcaljr@gmail.com"
] | jeffcaljr@gmail.com |
ac9a225ef55c2ced5b8f3d4673f536cc17dace57 | 6fadbcba905a0ab25f4250c09151c64a04c60e83 | /QT/sudoku.h | 6ba7f4335d01d2bf48853c9cfdcfaaf4fe0d0aaa | [] | no_license | DaRes-97/prog_CPP_graph_QT_sudoku | c1950378656c765c3f9c3f7c2070c3633f022c03 | 0bc55127357d8f4a582310ac041b982ab6b6f4a8 | refs/heads/master | 2023-04-17T22:59:00.580442 | 2021-04-26T11:27:35 | 2021-04-26T11:27:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,569 | h | /*
Resmini Daniele Andrea - MAT: 830446
Progetto QT - SUDOKU
*/
#ifndef SUDOKU_H
#define SUDOKU_H
#include <QMainWindow>
#include <QStack>
#include "ui_sudoku.h"
QT_BEGIN_NAMESPACE
namespace Ui { class Sudoku; }
QT_END_NAMESPACE
class Sudoku : public QMainWindow
{
Q_OBJECT
public:
Sudoku(QWidget *p... | [
"d.resma97@gmail.com"
] | d.resma97@gmail.com |
0ca4f091c3b5534231e8a905d0ee961626c28bf4 | f74256b079b12a02406b0eda5321f2dc22b3226c | /yangyiyang/power_of_two.cpp | 97963b564ce3c3c454b8bd3a80f5004a28fb10da | [
"Apache-2.0"
] | permissive | ylovesy/CodeFun | e716c840c0c08227c4cae0120161e99e15d3c1e2 | 4469a88b5fe8796054d4d60025c857c18eb374db | refs/heads/master | 2021-07-17T19:45:11.099724 | 2017-12-14T12:34:29 | 2017-12-14T12:34:29 | 96,773,933 | 0 | 3 | null | 2017-07-15T06:55:14 | 2017-07-10T12:16:28 | C++ | UTF-8 | C++ | false | false | 127 | cpp | class Solution {
public:
bool isPowerOfTwo(int n) {
return (n > 0) && (!(n & (n - 1)));
}
};
| [
"yangyiyang@lianjia.com"
] | yangyiyang@lianjia.com |
e01c0e436c6675360c859bbbcb17ec6c980e8774 | 7a3039632ff732e0df949ca19395e19ce0947f2c | /07주차/문제풀이 코드/카펫/유의진.cpp | 53dc7b642190b2df5f6478019485afd1437d3d3d | [] | no_license | 1hk-star/Konkuk_SecurityFACT_Algorithm | d84467cab68ba515a2454efd43e102bd6ce083b0 | 2c8fd34d45858fc44bd40d3163bf5baeff698923 | refs/heads/main | 2023-05-29T03:56:31.012258 | 2021-06-09T13:42:33 | 2021-06-09T13:42:33 | 348,569,170 | 3 | 11 | null | 2021-06-09T13:16:38 | 2021-03-17T03:34:13 | C++ | UTF-8 | C++ | false | false | 388 | cpp | #include <string>
#include <vector>
using namespace std;
vector<int> solution(int brown, int yellow) {
vector<int> answer;
for(int i=1; i<=yellow; i++){
if(yellow%i==0){
if(2*(yellow/i+i)+4==brown){
answer.push_back(yellow/i+2);
answer.push_back(i+2);
... | [
"80818313+youuijin@users.noreply.github.com"
] | 80818313+youuijin@users.noreply.github.com |
329b256d186e697d2eadde1bb051b9900ee45512 | 8f252c952ac94605d0d5ff18d02deac88a9a46e2 | /src/Source/Chunks/Shex/Tokens/PixelShaderInputRegisterDeclarationToken.h | 2c8fe7c016a4ce196a6d9bd8f57e3517e59a7e38 | [
"MIT"
] | permissive | gnedo/slimshader-cpp | d79866197c4a260e933ee4ac0fcc752a25389afc | a1833e2eccf32cccfe33aa7613772503eca963ee | refs/heads/master | 2020-07-09T01:42:47.899437 | 2013-04-27T03:41:50 | 2013-04-27T03:41:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,684 | h | #pragma once
#include "PCH.h"
#include "InputRegisterDeclarationToken.h"
#include "InterpolationMode.h"
namespace SlimShader
{
/// <summary>
/// Pixel Shader Input Register Declaration
///
/// OpcodeToken0:
///
/// [10:00] D3D10_SB_OPCODE_DCL_INPUT_PS
/// [14:11] D3D10_SB_INTERPOLATION_MODE
/// [23:15] Ignore... | [
"tim@timjones.tw"
] | tim@timjones.tw |
97dc1f05f0948eb94ea99ba0d14292ce30e5c475 | f5d249f7b1c9e2b75207c3e4047bd660a22d313b | /src/display.cpp | a06464bd3673651ea8186da1e1bfa4fec4a7f031 | [] | no_license | rbenamotz/uvtimer | fb5b88289a3767fa1b182a04b115ff5526bae9eb | 64076329259341d64b50ce9c6f042e65a16e04f1 | refs/heads/master | 2022-12-14T21:18:15.488014 | 2020-09-21T12:27:20 | 2020-09-21T12:27:20 | 290,856,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,842 | cpp | #include <Arduino.h>
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include "common.h"
#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 32 // OLED display height, in pixels
#define FONT_SIZE 3
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEI... | [
"roey@benamotz.com"
] | roey@benamotz.com |
9b92c8066a221a8dd267207d2362b865d2b7d157 | 76be78694351a6d2349e63330c01a9d7bad406e6 | /project/部门协同合作/src/DigitalSignature/DigitalSignature/cpp/src/DDSEntityManager.cpp | 57d0b400e1c5e43642f83eecce64d45d045c18e7 | [
"MIT"
] | permissive | LLFKirito/Reverse-Engineering-and-Secondary-Development-of-OpenspliceDDS---BIT1120161918 | 7b966151b28777b27e88e4fc8697edd884b24e8a | a1e50ca203735b81431ea8b931669a5a7b5c0cd6 | refs/heads/master | 2020-04-27T18:05:59.526388 | 2019-03-09T08:28:49 | 2019-03-09T08:28:49 | 174,554,120 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,319 | cpp |
/*
* Digital Signature
*
* This software and documentation are Copyright 2018 to Fengfeng Software
* Studio Limited, its affiliated companies and licensors. All rights
* reserved. You may not use this file except in compliance with the License.
*
* Team Members: Linfeng L... | [
"35672820+LLFKirito@users.noreply.github.com"
] | 35672820+LLFKirito@users.noreply.github.com |
55872375449f91fc7dc96757f421616a6b010785 | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/949/phia | 7b3139519b3284899d384c3f3976921238981aad | [] | 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 | 235,122 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"as998@snu.edu.in"
] | as998@snu.edu.in | |
2d80f5e22ea1448ed414655f9757404e247b91e5 | c803c44e46a9960c9fa72503f88fbe9ae829df86 | /mini_map/points.cpp | 749e56c0bab23c4b0b0547e5611a423470597750 | [] | no_license | PlatanusCarl/QtPrj | 92ba99015cbab62814221fbb040d59385cbf13ad | a80b2d23afe2a86cc83ac45331a48c604806031c | refs/heads/master | 2023-01-11T17:46:30.003422 | 2020-10-24T11:08:16 | 2020-10-24T11:08:16 | 306,845,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43 | cpp | #include "points.h"
points::points()
{
}
| [
"931379331@qq.com"
] | 931379331@qq.com |
b453709bfa60752ddc02c9f916f652427e1c9cf0 | e65e6b345e98633cccc501ad0d6df9918b2aa25e | /Codeforces/Contests/Intel/ B.cpp | 4c56fa81deb8ed7b962aeea7d5ba60b743574cbb | [] | no_license | wcysai/CodeLibrary | 6eb99df0232066cf06a9267bdcc39dc07f5aab29 | 6517cef736f1799b77646fe04fb280c9503d7238 | refs/heads/master | 2023-08-10T08:31:58.057363 | 2023-07-29T11:56:38 | 2023-07-29T11:56:38 | 134,228,833 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cpp | #include<cstdio>
#include<cmath>
#include<cstring>
#include<iostream>
#include<cstdlib>
#include<algorithm>
#include<vector>
#define MAXN 100
using namespace std;
int n,a[MAXN];
char str[MAXN];
int main()
{
scanf("%d",&n);
for(int i=0;i<n;i++)
scanf("%d",&a[i]);
scanf("\n");
int flag=1;
for(... | [
"wcysai@foxmail.com"
] | wcysai@foxmail.com |
148daa716f435d369b5cbe0ce59cd9635848e5c3 | f3425c5a37a4c0a1afc7c15597a51cdd1a12f69f | /include/glmh.h | 883bea30ced787e9e851573b77fa70d2d161eca7 | [] | no_license | visiblegroup/HAP-Cinder | 434837f2c785c3bd6fd69a6b6e2ce1320a7f3dd5 | c6da81dc72f7a8924a277d00dac63a515a4d5a58 | refs/heads/master | 2021-09-17T01:40:56.046873 | 2018-06-26T09:59:14 | 2018-06-26T09:59:14 | 138,715,627 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 105 | h | #pragma once
#include <string>
#include <iostream>
#include "FrameTexture.h"
std::string getGLError();
| [
"mitja@visible.si"
] | mitja@visible.si |
df467dae54a83c854c563832a328a6d8efca26ef | 09ee253b341f4540d89884fff560e158b91c1425 | /src/Arguments.cpp | 8176f58b336556be15af4a6113a2890f31b7f6b7 | [] | no_license | schoettl/schwopt | 335f42b2107b9ff0e6523ca4880cd727f30eed8e | b1f62ed8e39cbde461e2c468a0cfc651fc43e0e3 | refs/heads/master | 2021-01-23T18:11:12.709216 | 2015-02-05T13:24:36 | 2015-02-05T13:24:36 | 9,735,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25 | cpp |
#include "Arguments.h"
| [
"jschoett@gmail.com"
] | jschoett@gmail.com |
a6e8e3a8346eb884d994a6a1ac4bcfc94378c896 | 36c31b485a5906ab514c964491b8f001a70a67f5 | /AIPO/AIPO 2022/TST 2/mgronalds-mayhem/mgronalds-val.cpp | ea6ce93b4a8b104e803ac04ec54aad949c918273 | [] | no_license | SMiles02/CompetitiveProgramming | 77926918d5512824900384639955b31b0d0a5841 | 035040538c7e2102a88a2e3587e1ca984a2d9568 | refs/heads/master | 2023-08-18T22:14:09.997704 | 2023-08-13T20:30:42 | 2023-08-13T20:30:42 | 277,504,801 | 25 | 5 | null | 2022-11-01T01:34:30 | 2020-07-06T09:54:44 | C++ | UTF-8 | C++ | false | false | 872 | cpp | #include "testlib.h"
#include <bits/stdc++.h>
using namespace std;
const int N = 1'000'000;
int main(int argc, char* argv[]) {
registerValidation(argc, argv);
int n = inf.readInt(1, N, "n");
inf.readSpace();
int m = inf.readInt(1, N, "m");
inf.readEoln();
int k_sum = 0, k, x;
for (in... | [
"mahajan.suneet2002@gmail.com"
] | mahajan.suneet2002@gmail.com |
e6cde9e859b439e244af2adee2fee5702c189420 | 8d795050cd3f0673165cb161bad224b3dd58f27c | /serie12/Person/Person.cpp | 09e84a54ead2c57333275994a736a89e9fcb3745 | [] | no_license | idahoenigmann/eprog | 0e249f3dbaaa512f92caad86a125b3578c0bd0a9 | ba3e1bfb6db3cc3c5980e352ff9232b83b29a683 | refs/heads/main | 2023-02-16T17:59:12.698332 | 2021-01-14T18:45:23 | 2021-01-14T18:45:23 | 304,560,126 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,987 | cpp | //
// Created by ida on 13.01.21.
//
#include "Person.h"
using namespace std;
Person::Person(const string &name, const string &address) : name(name), address(address) {
this->name = name;
this->address = address;
}
const std::string &Person::getName() const {
return name;
}
void Person::setName(const s... | [
"idahoney@gmx.at"
] | idahoney@gmx.at |
303ba4cddf635150234419edd1c3771373a33de6 | b6585a17a40d458c040d4811b79a42c64f6ce5f2 | /owGame/SceneNode.h | 230addde2aabc1663f1422160f4bc21f6aaa6e77 | [
"Apache-2.0"
] | permissive | Tormund/OpenWow | 1409e22a5a0530b7aab1ec12c318a29718398f2e | 44a554bf3b55b939ba64cd63363fdb64cf28131e | refs/heads/master | 2021-05-04T14:38:51.863688 | 2017-11-19T18:50:38 | 2017-11-19T18:50:38 | 120,205,859 | 2 | 0 | null | 2018-02-04T17:18:33 | 2018-02-04T17:18:33 | null | UTF-8 | C++ | false | false | 658 | h | #pragma once
struct SceneNodeTypes
{
enum List
{
Undefined = 0,
MapChunk,
WMO,
WMO_Doodad,
MDX,
};
};
class SceneNode
{
public:
SceneNode() : m_Parent(nullptr) {}
SceneNode(SceneNode* _parent) : m_Parent(_parent) {}
const Matrix4f& getRelTrans() { return m_RelTransform; }
const Matrix4f& getAbsTrans... | [
"alexstenfard@gmail.com"
] | alexstenfard@gmail.com |
8ebf695a698e51c26d37e28f03df1b814aa77551 | ae1bea027c2b30dbd0340290e3e6e27e6d490bd8 | /graphApp/Point.h | a66c9bfcb8908c8b1a67d566b314b860dab6d2c3 | [] | no_license | NavyaGopu/graphAPP | b1cb5d63164a8c7a0af291ae5e3953f59a70cacb | eaab5f4ea20110bf46b3672cdcc02868198ac690 | refs/heads/master | 2021-01-22T05:50:55.745789 | 2017-05-26T09:48:34 | 2017-05-26T09:48:34 | 92,501,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | h | #pragma once
#include "stdafx.h"
#include "Point.h"
#include "iostream"
#include <string.h>
#include "PointGraph.h"
#include <fstream>
#include <tuple>
using namespace std;
class Point
{
public:
Point();
~Point();
tuple<string, string> split(string line);
struct GraphData;
void readData(string filename,string g... | [
"navyateja.g18@gmail.com"
] | navyateja.g18@gmail.com |
7c6f5416f5dd28f2828e9bcefdffa1530d60e2e4 | 18bdae85833ad731a0df02c99c984af50c07eff0 | /src/graphics/TimelineItem.h | 9a3b802f8e0a1069627d0072b2a2fbbcfdce62e4 | [] | no_license | jcelerier/Prism | 843cb50030624eb8464f69a76c28983109337fe8 | a31ff6a4ed116e36f611f21cdaa7bfe5c2a0ba68 | refs/heads/master | 2021-01-16T17:54:23.886821 | 2015-11-09T22:24:30 | 2015-11-09T22:24:55 | 45,870,881 | 0 | 0 | null | 2015-11-09T22:25:19 | 2015-11-09T22:25:19 | null | UTF-8 | C++ | false | false | 540 | h | #ifndef TIMELINEITEM_H
#define TIMELINEITEM_H
#include <QGraphicsItem>
class TimelineItem : public QGraphicsItem
{
public:
TimelineItem();
QRectF boundingRect() const;
void paint( QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget );
void setZoo... | [
"jeremyabel@gmail.com"
] | jeremyabel@gmail.com |
5800275edcc2fc69ef7633d5d2209d8ad17e8451 | d66242b3193b07767bbabe782f1f1e48e643e82b | /.svn/pristine/92/92e720e7589b3a3037542eb2db8357d4ebfef278.svn-base | 0bfccf45a259ff8432c2f96bd8eaa20291150661 | [] | no_license | c444b774/SIMCODE | 84737b1db4356e5b4f87f8c2715754061ab736bd | a1f778df79ade1c20947375522f7be45a2a928f5 | refs/heads/master | 2020-11-27T12:42:18.392852 | 2016-04-23T13:46:28 | 2016-04-23T13:46:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 |
#include "stdafx.h"
#include "DBExports.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
using namespace std;
int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
{
int nRetCode = 0;
// initialize MFC and print and error on failure
if (!AfxWinInit(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), 0))
{
// TODO... | [
"flyzsf@163.com"
] | flyzsf@163.com | |
8ede34451ec941866f17e0f6c8d7524abc83e987 | 1c937c1baf2122171bab502b3f047cf4624ccf3a | /src/objects/stringobject.cpp | 8b07574ceb0be71cad914dcdecb6e62b0ee91f20 | [] | no_license | marc-cr1810/Viper | a62ef86657eb5cfa8f2c78b961dd35e7867ea2a6 | 9d1153d80960afc1a8249fd28b19367e9a520b5b | refs/heads/master | 2023-08-23T23:34:30.307203 | 2021-09-13T11:55:57 | 2021-09-13T11:55:57 | 405,952,525 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,369 | cpp | #include "stringobject.h"
#include "../core/error.h"
#include "intobject.h"
static inline int valid_index(Vi_size_t i, Vi_size_t limit)
{
return (size_t)i < (size_t)limit;
}
static int get_char_value(ViObject* obj, int* value)
{
if (!ViInt_Check(obj))
{
ViError_SetString(ViExc_TypeError, "object must be an int... | [
"marc.cookerussell@gmail.com"
] | marc.cookerussell@gmail.com |
6eb057da3396c0ae807c88007a92c96a4da19c00 | 1999338945f20f4607f08dc8e4418c32010c465d | /Centrale_Soft/src/communication/Communicator.h | 05a9f5aafbedae7fde326569529af74557b39c04 | [] | no_license | L2GB/Projet | 36668c354feba0a06624d9c0d2dbdaea87f23049 | 5d5056aaccc816774eb91efb2782f0b3cca2d406 | refs/heads/master | 2016-09-05T22:51:34.919222 | 2015-02-06T10:33:48 | 2015-02-06T10:33:48 | 28,903,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | h | /*
* Communicator.h
*
* Created on: 7 janv. 2015
* Author: menard
*/
#ifndef COMMUNICATION_COMMUNICATOR_H_
#define COMMUNICATION_COMMUNICATOR_H_
// Internal include
#include "transmission/Transmission.h"
/**
* Needed to instance the transmission.
*/
class Communicator
{
public:
Communicator(){}
vir... | [
"maxime.menard@reseau.eseo.fr"
] | maxime.menard@reseau.eseo.fr |
3f14c78862c53142b8a5aa06129a0d5bc58e6c8f | 209d5dea0a99ffbf7e11a952393426fe8fab88c2 | /Lab_03/AP_Lab_03.cpp | b56d0f5bc0640daaefd6e5d5fd63f342214c62ef | [] | no_license | nadiyafomenko/AP | 9d33216d3b51b589004d8d6fb7a865ec08438f6b | eec47b3031be1411043016cc439bc57d011e89ba | refs/heads/master | 2021-05-17T23:18:58.172685 | 2020-06-02T20:41:20 | 2020-06-02T20:41:20 | 249,692,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,628 | cpp | #include <stdio.h>
#include <string.h>
#define LEN 10
//шаблон структури
typedef struct {
char name[50];
int year;
char country[50];
int population;
} city;
city c;
int Input(city* cities); // функція заповнення масиву структур
int Percent(city* , int counter); //розрахування відсотку
city setCity(); //функці... | [
"nadiya.fomenko@gmail.com"
] | nadiya.fomenko@gmail.com |
836020e28b05ae409bfae44982d4389b5b3f0f05 | 84b22a355ea11edc4bba33f7212ec354baac84c6 | /include/boost/beast/_experimental/json/impl/allocator.hpp | 25f83f971bab94454037e72af7b193ed54038204 | [
"BSL-1.0"
] | permissive | msiva21/BeastLounge | b9ceaa15f42b55517a6a4ccd3ebe9afb5e97385f | 676a38a619457b88bae36dc24d66abddf60d2c89 | refs/heads/master | 2023-01-01T00:23:05.596889 | 2019-03-12T04:31:50 | 2019-03-12T17:06:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,606 | hpp | //
// Copyright (c) 2018-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
#ifndef BOOST_BEAST_... | [
"vinnie.falco@gmail.com"
] | vinnie.falco@gmail.com |
d0828d31fced7e662e10101e97f6d78f7c19744d | cd108c137093721febfe5ba6e6bd6f1a532d3d41 | /PROJECT ROBOT FINISH/projectROBOTBLUETEAM/fin_Blue/fin_Blue.ino | 407b87754aa32a7ef0bfeb7fb3dde43364a7f9a8 | [] | no_license | NRdeARK/Arduino | 559fe568b66964087a9501e9214835173573ccf8 | 8cd225588f6665b471813d567cc4060eae106d74 | refs/heads/main | 2023-07-24T15:24:10.198636 | 2021-09-06T09:44:24 | 2021-09-06T09:44:24 | 401,648,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,716 | ino | #include <Servo.h>
///motor
#define IN1 34
#define IN2 36
#define IN3 38
#define IN4 40
#define PWMA 32
#define PWMB 42
///sensor
#define CLP 31
#define SL2 33
#define SL 35
#define SC 37
#define SR 39
#define SR2 41
int sL2 = 0, sL = 0, sC = 0, sR = 0, sR2 = 0, clp;
Servo myse... | [
"85008989+NRdeARK@users.noreply.github.com"
] | 85008989+NRdeARK@users.noreply.github.com |
b8fcc7e5acaa69adfad5296cdc5478eff5b2cd4a | 682ce86c118a1b6f12c5bd4a5b62d8403df34496 | /SRC/Framework/Framework.h | d86094dbb37db72588c97782c7b953d05c567f01 | [] | no_license | 15831944/applesales | 5596aca332384fe3210e03152b30334e48c344bd | 76aaf13d6b995ee59f8d83ecd9a1af155ed1911d | refs/heads/master | 2023-03-17T11:44:43.762650 | 2013-04-15T14:22:18 | 2013-04-15T14:22:18 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 453 | h | // Framework.h : Framework DLL 的主头文件
//
#pragma once
#ifndef __AFXWIN_H__
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif
#include "resource.h" // 主符号
// CFrameworkApp
// 有关此类实现的信息,请参阅 Framework.cpp
//
class CFrameworkApp : public CWinApp
{
public:
CFrameworkApp();
// 重写
public:
virtual... | [
"lordfm@163.com"
] | lordfm@163.com |
dc202d1ff950f708bac4c90b033e621c06c04544 | d2b6365b5d4647181b599c8f3eb9fe929cc4d421 | /chrome/browser/chromeos/login/quick_unlock/quick_unlock_storage.cc | 1173ffc4e09a5a252feac51490cbc6b69cf34599 | [
"BSD-3-Clause"
] | permissive | EquinoxDev/chromium | 1ac6279412a8df01840cee9f3404f885e2d5e917 | 670549761d5a3802cfdaa8204e725a8276ea9128 | refs/heads/master | 2023-03-07T18:49:02.881437 | 2019-04-18T22:25:20 | 2019-04-18T22:25:20 | 164,255,998 | 0 | 0 | NOASSERTION | 2019-01-06T11:14:13 | 2019-01-05T22:25:57 | null | UTF-8 | C++ | false | false | 3,331 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_storage.h"
#include <memory>
#include "base/time/time.h"
#include "chrome/browser/chro... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
5c3a41e1b04161a821f9b5700b1ce1eee2678e76 | 6f64e28eda6045dcd95d41d9dbd417457f15dc67 | /rtcp_packets_generator/mpe_packets_generator.cpp | e96fdcb5072cdd0df36832d07162504c7db624de | [] | no_license | spinlockirqsave/qt | 6f5c8418c5192eeb0d3e733ee1bbddd972e65f99 | 48cce2639029d024d560e8da0a6afd932fa57ed1 | refs/heads/master | 2021-01-18T15:46:26.630603 | 2015-11-16T23:23:48 | 2015-11-16T23:23:48 | 16,418,875 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,558 | cpp | #include "mpe_packets_generator.h"
#include "ui_mpe_packets_generator.h"
#include <mpe_uint_validator.h>
#include <limits>
Mpe_packets_generator::Mpe_packets_generator(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::Mpe_packets_generator),
mapper(new QSignalMapper(this)),
sr_rb_mapper(new QSignalM... | [
"mygemailpublic@gmail.com"
] | mygemailpublic@gmail.com |
f035c002a526e2d3aa3e6ca1505705ac80f8cefa | 158bd75e211b4cc9628a295e16e76eaecc74ce61 | /core/src/dummy.cpp | 0624d98ca8dbff57d973ee882562284941538ce1 | [
"Apache-2.0"
] | permissive | morpheus-org/morpheus | 30733393fc60569859e838ecd942f1174767a87b | 026e9fe7ac17e27c92db98ae50b834889f192cf1 | refs/heads/develop | 2023-07-20T10:20:26.074095 | 2023-07-16T10:03:45 | 2023-07-16T10:03:45 | 272,454,646 | 12 | 0 | Apache-2.0 | 2022-12-30T15:09:13 | 2020-06-15T14:04:25 | C++ | UTF-8 | C++ | false | false | 953 | cpp | /**
* dummy.cpp
*
* EPCC, The University of Edinburgh
*
* (c) 2021 - 2023 The University of Edinburgh
*
* Contributing Authors:
* Christodoulos Stylianou (c.stylianou@ed.ac.uk)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licens... | [
"cstyl16@gmail.com"
] | cstyl16@gmail.com |
a25ad18c52b45b115579256ab9d5b3863f51c569 | 9c0724b493036818760b6a5850711b839651a711 | /luaFunction.h | 9d89c713a1b142d015c5dfb7bb4ff7b624a3e154 | [] | no_license | asdlei99/MP4BoxInfo | 0ee577e52c9f936eca92d1d6485d1e5cfb6327e1 | 059ad899f7416791cd52d6ad2ae5369e2793e31a | refs/heads/master | 2020-08-11T18:05:58.473438 | 2017-09-05T07:51:09 | 2017-09-05T07:51:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 149 | h | #pragma once
#include <vector>
#include <string>
std::vector<std::string > LuaParseBoxContent(const char * name,char * buffer, uint64_t size); | [
"ilooyo2014fz"
] | ilooyo2014fz |
dbe0c80045a6cb1e749b619f327b49451c958eb8 | 05328a9e406a0d9deaf5428d6c3046a616cd9f76 | /GCG_Source.build/module.django.utils.itercompat.cpp | 57ec0c7251da2516b80bb61e75124b24a0271be0 | [
"MIT"
] | permissive | Pckool/GCG | c707e7c927ec2aa0b03362a4841581751f3a006f | cee786d04ea30f3995e910bca82635f442b2a6a8 | refs/heads/master | 2021-09-01T11:38:57.269041 | 2017-12-25T07:57:39 | 2017-12-25T07:57:39 | 115,445,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,831 | cpp | /* Generated code for Python source for module 'django.utils.itercompat'
* created by Nuitka version 0.5.28.2
*
* This code is in part copyright 2017 Kay Hayen.
*
* 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 ... | [
"phillclesco@yahoo.com"
] | phillclesco@yahoo.com |
d93cd0411695f6c15d5b021b3c575d440cf6c84c | ddfe00b7f69c6d8041fd5446ac108354954e7e2e | /Classes/ManicMiner/Layers/CMLTheVat.h | f7924f794845c3a778698568aebd6f62f190ba67 | [] | no_license | GamerCampTeam3/ManicMiner | d8633cce62f3063cc37abb7949bde5547e6b45c3 | 1e497d0c015a3fe01d40f673b669d46ae4644c3f | refs/heads/main | 2023-03-31T21:23:37.168762 | 2021-04-07T18:52:45 | 2021-04-07T18:52:45 | 300,598,224 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,847 | h | // -------------------------------------------------------------------------------------------------------------------- //
// Gamer Camp 2020 / Team 3 //
// -------------------------------------------------------------------------------------------------------------------- //
// Purpose : CMLCen... | [
"52705025+Bibool@users.noreply.github.com"
] | 52705025+Bibool@users.noreply.github.com |
70245d2f42d4f1dd4e0c62a8f243f9f82fd53a8c | 9d1e6d34fcd46d7b6449a91918438ea0d0f2c9be | /opengl-pong/main.cpp | b4c219eb608af08d4fc672f8a6beaf8fe109e116 | [] | no_license | hanslosche/opengl-pong | 23aaa688cb7701d117961681d55d758a35319c8d | f7d96a18f1d51c870b47dca0c872999d30d60d66 | refs/heads/master | 2023-01-07T20:47:28.290710 | 2020-11-03T21:26:57 | 2020-11-03T21:26:57 | 309,193,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,340 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <string>
#include <iostream>
#include <sstream>
#include <fstream>
// settings
unsigned int scrWidth = 800;
unsigned int scrHeight = 600;
const char* title = "Pong";
GLuint shaderProgram;
// graphics paramters
const float paddleSpeed = 175.0f;
const float pad... | [
"hansloesche.art@gmail.com"
] | hansloesche.art@gmail.com |
3346e5a11b6159b1a3fa903aadc89204c99008cb | ac52a424ff9d841b33f09f9042e2bd9d2486d376 | /Engine/Math/Constants.h | 05b0c1d424f38819cc7f89ce812ed8bb78c0e14b | [] | no_license | LuisGarciaRemes/AsteroidsDemo | 43b802ca47ded9e3d325277afad6c0e44397bd46 | f499d2ed8d962119cf67d5a63bbbf5ceca0ebfbc | refs/heads/master | 2022-09-10T09:07:16.461746 | 2020-06-02T19:27:44 | 2020-06-02T19:27:44 | 268,890,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | h | /*
This file contains math-related constants
*/
#ifndef EAE6320_MATH_CONSTANTS_H
#define EAE6320_MATH_CONSTANTS_H
namespace eae6320
{
namespace Math
{
constexpr auto Pi = 3.141592654f;
}
}
#endif // EAE6320_MATH_CONSTANTS_H
| [
"luisagarciaremes@hotmail.com"
] | luisagarciaremes@hotmail.com |
f679cad1b85e3d0591dd7a4502012c7453ceb1af | 834b551c9e17345d761bc54c6a56c2de9002d6ac | /problems/104. Maximum Depth of Binary Tree/bfs.cpp | e24cdcf8d9e2b4717de73c38a5b0f8c257c6f211 | [] | no_license | nullscc/leetcode | 15507aecbb256acff0506bbc2bdb4dada113553b | 95fbe47252b6f5e88378719fcdf3ee6200c68de4 | refs/heads/main | 2023-03-20T08:36:22.313209 | 2021-03-02T08:40:20 | 2021-03-02T08:40:20 | 330,892,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 853 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | [
"jarves@foxmail.com"
] | jarves@foxmail.com |
34b6a7b12c110b9bbca76b24d7c84416f284c145 | e19fa80267a0c10522583111e181a4d9fca3fdbc | /GoogleCodeJam/Round1C2015/Brattleship/solution.cpp | 914b030569c89d536c39beace359887626ee29d1 | [] | no_license | yaoshun/CodingCompetition | a8541fff5c1e928ad28aaf283013678e168d969b | 06d0eab4facaed08c12829567a186be11d35a3d3 | refs/heads/master | 2021-01-17T18:34:34.349498 | 2016-10-01T04:17:10 | 2016-10-01T04:17:10 | 43,710,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 765 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <unordered_set>
#include <unordered_map>
#include <queue>
#include <stack>
typedef long long ll;
using namespace std;
void solve() {
int R, C, W;
cin >> R >> C >> W;
int res = 0;
// Guesses necessary to cover the first right position... | [
"yaoshun@Shuns-MacBook-Pro.local"
] | yaoshun@Shuns-MacBook-Pro.local |
bbebef21bc4d3bd6b2f5efdcdd224be51f6279a3 | abe541ae6e92d6683de6a0432ad0cf662a0fc5f9 | /Algorithms/Warmup/diagonal-difference.cpp | a61b087b7ca09be15c7d968bd0056b16ce6df6ba | [] | no_license | ozzi7/Hackerrank-Solutions | ab64805124f81256269d3a5ee766200cb495d8c1 | d094f83ffcbcf9bd264ddbac7c27091eedd21ad3 | refs/heads/master | 2021-01-01T19:44:33.257815 | 2018-08-10T20:39:39 | 2018-08-10T20:39:39 | 98,666,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
int sumA = 0; int sumB = 0;
int count;
cin >> count;
int curr;
int currA = 0; int currB = count - 1;
for (int i = 0; i < count*count; ++i) {
cin >> curr;
if (i == currA) {
sumA +... | [
"pawiddy@gmail.com"
] | pawiddy@gmail.com |
02858ede4110f4274b83d72bf355befde40349db | 942225fbe538d9f6bf7b04c018dc6b9c8a0ad279 | /PXG/PXG3D/Utils.cpp | 94aa6950943196c71094ffd1ff6d6a59eb81a21b | [
"MIT"
] | permissive | kukash/PXG3D | 654e79d0b8f3e385561edb860c95c75967a7abee | 5f1b1e2c83d454357f846177626ea2c1753da6e6 | refs/heads/master | 2021-04-05T00:06:55.313073 | 2020-03-17T10:15:37 | 2020-03-17T10:15:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,330 | cpp | #include "Utils.h"
#include "Vector3.h"
#include "World.h"
#include "CameraComponent.h"
namespace PXG
{
Vector3 Utils::GetProjectionCameraScreenToWorld(float i, float j, std::shared_ptr<World> world)
{
auto camera = world->GetCamera();
if (!camera)
{
Debug::Log(Verbosity::Error, "World does not have a re... | [
"blue.person16@gmail.com"
] | blue.person16@gmail.com |
5d49cd2deeb3137f3c1464c598ea220799571e8f | 3dc38cf6cb43bca74806bc1a9225fee208070e04 | /src/drag2d/widgets/VerticalImageList.cpp | 6e7038276d464cd109109df2e446f9a5889af021 | [] | no_license | bigstupidx/drag2d | 3451b88ee13c6582f21b41216864b73041ae12cd | c85c92fbd1205857ad4e65348027e019d7d304ea | refs/heads/master | 2020-04-10T13:28:40.558917 | 2013-08-27T08:00:28 | 2013-08-27T08:00:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,084 | cpp | /*
* Copyright (c) 2012-2013 Guang Zhu http://runnersoft.net
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* i... | [
"xzrunner@gmail.com"
] | xzrunner@gmail.com |
cf2c9b91f312cb6d0148da2513c11988e50602fe | 7e1107c4995489a26c4007e41b53ea8d00ab2134 | /game/code/data/PersistentWorldManager.cpp | eba5edf9454fd1c717ef19b868b766e23b42e009 | [] | no_license | Svxy/The-Simpsons-Hit-and-Run | 83837eb2bfb79d5ddb008346313aad42cd39f10d | eb4b3404aa00220d659e532151dab13d642c17a3 | refs/heads/main | 2023-07-14T07:19:13.324803 | 2023-05-31T21:31:32 | 2023-05-31T21:31:32 | 647,840,572 | 591 | 45 | null | null | null | null | UTF-8 | C++ | false | false | 8,053 | cpp | //=============================================================================
// Copyright (C) 2003 Radical Entertainment Ltd. All rights reserved.
//
// File: PersistentWorldManager.cpp
//
// Description: Implementation of class PersistenWorldManager
//
// History:
// 25 Feb 2003 James Harrison Cre... | [
"aidan61605@gmail.com"
] | aidan61605@gmail.com |
538e7f2d6ec04f325fc0425e142270fbd3f8f914 | 917e021fcac8ed3d40200cbba81a14bfa6aa4c5a | /June/Week-4/Day6/Submissions/perfectSquares.cpp | 063eae727b24aa538173cbd41a1723e9704da408 | [] | no_license | mmkvdev/leetcode | 7e7486f09b9f7c61e64c598002943fe0644c07dd | 57e9f03d4254e54c298b98faf9843716d7a5cc7b | refs/heads/master | 2023-07-13T00:28:55.638705 | 2021-08-22T15:10:42 | 2021-08-22T15:10:42 | 268,999,549 | 3 | 1 | null | 2021-05-14T14:59:51 | 2020-06-03T05:42:38 | JavaScript | UTF-8 | C++ | false | false | 561 | cpp | #include<iostream>
#include<vector>
#include<bits/stdc++.h>
using namespace std;
class Solution {
public:
int numSquares(int n) {
static vector<int> dp {0};
int m = dp.size();
cout << m;
dp.resize(max(m, n+1), INT_MAX);
for (int i=1, i2; (i2 = i*i)<=n; ++i)
... | [
"madhuv299@gmail.com"
] | madhuv299@gmail.com |
8c1f71be2ec2f1481d770e4b8ce6e8aded8d8780 | d190865b73388327f24342277400c6df5de12c07 | /tests/utils.cpp | 47a8706892db9df22a3985d97610e126516dfcba | [
"MIT"
] | permissive | chocolatemelt/fe-cli | 4e8cee9d6d15ecdaba9087dd8d487bae80a32b6c | 9c407c33b92cf9727647003364a8bdf10094527b | refs/heads/master | 2021-06-06T08:32:55.457004 | 2017-06-13T07:48:20 | 2017-06-13T07:48:20 | 40,362,564 | 0 | 2 | null | 2017-02-17T23:00:47 | 2015-08-07T13:47:33 | C++ | UTF-8 | C++ | false | false | 500 | cpp | /**
* tests/utils.cpp
* Generic tests for the feUtils class.
*/
#include <iostream>
#include "catch.hpp"
#include "feUtils.h"
TEST_CASE("RNG correctly outputs 0-99", "[feUtils]") {
feUtils utils;
std::vector<int> testVector;
std::cout << "[feUtils]: Check distribution:" << std::endl;
int a;
for(int i = 0; i... | [
"kzhaaang@gmail.com"
] | kzhaaang@gmail.com |
f77f90b97cc1b73cb979834023b3c18e8b70f672 | 62041eabf973110f5efb2e63473057ea05f26d2f | /hackerrank/Algorithms/implementation/queens-attack-2.cpp | be73148d53ac04a9d8c2246dfedde701fe0bc4b6 | [
"MIT"
] | permissive | mpsbotelho/problem-solving | 6fe57a2b043dc91c0f2a36e369c70339cdce8ad0 | 22f70259bb3202c8a2259aa3e4af2470103bb522 | refs/heads/master | 2020-05-18T21:53:57.373483 | 2019-05-08T02:16:22 | 2019-05-08T02:16:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,920 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> ii;
vector<ii> blockers;
int minList[10] = {0};
ii points[10];
enum pos { q1 = 0, q2, q3, q4, yu, yd, xr, xl };
void initializeList(int N, int qx, int qy) {
minList[q1] = min(qx - 1, N - qy);
minList[q2] = min(qx - 1, qy - 1);
minList[q3] = ... | [
"mpsbotelho@gmail.com"
] | mpsbotelho@gmail.com |
f167480a588442ac9c1318ce1d61de05d16b6dc8 | 14582f8c74c28d346399f877b9957d0332ba1c3c | /branches/pstade_1_03_5_head/pstade_subversive/pstade/sausage/detail/customization_of.hpp | b5c6cb76c082fd597357c34d9651dc1f6e45c0f8 | [] | no_license | svn2github/p-stade | c7b421be9eeb8327ddd04d3cb36822ba1331a43e | 909b46567aa203d960fe76055adafc3fdc48e8a5 | refs/heads/master | 2016-09-05T22:14:09.460711 | 2014-08-22T08:16:11 | 2014-08-22T08:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 648 | hpp | #ifndef PSTADE_SAUSAGE_DETAIL_CUSTOMIZATION_OF_HPP
#define PSTADE_SAUSAGE_DETAIL_CUSTOMIZATION_OF_HPP
// PStade.Sausage
//
// Copyright MB 2005-2006.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
... | [
"mb2sync@350e9bb6-6311-0410-90c3-be67731b76ec"
] | mb2sync@350e9bb6-6311-0410-90c3-be67731b76ec |
e78f4c8916fdedf362989e3e12118c1b49dbe60e | 47cceefe390101069de80d0b1af4ee7bdbec1d6e | /groups/bal/ball/ball_attributecontainer.cpp | f00d4bb8b4292602ac1f4ea9fac1ad3831a56d56 | [
"Apache-2.0"
] | permissive | mversche/bde | a184da814209038c8687edaa761f420aa3234ae2 | 842c7e5c372eb5c29f7984f3beb4010d1c493521 | refs/heads/master | 2021-01-21T23:45:25.376416 | 2015-11-06T19:15:10 | 2015-11-06T19:15:10 | 29,453,231 | 2 | 0 | null | 2015-01-19T04:13:24 | 2015-01-19T04:13:22 | null | UTF-8 | C++ | false | false | 1,676 | cpp | // ball_attributecontainer.cpp -*-C++-*-
// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example f... | [
"abeels@bloomberg.net"
] | abeels@bloomberg.net |
086da77efb5699264686cecd3aaa0a164c705cec | beb0b94fa2eacf646f854f8ce71f3a3ba735d15c | /src/network/communicator.h | b9f6785fb4bfde5a9d066443352031378a75cc9e | [
"Apache-2.0"
] | permissive | shafiahmed/xforest | 4d7f68761bb087c1184218ea96a188cc3778ad30 | f80003200786a48097ac45b138d7b5643b91dee4 | refs/heads/master | 2020-04-24T02:35:02.370993 | 2019-02-20T08:50:42 | 2019-02-20T08:50:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,751 | h | //------------------------------------------------------------------------------
// Copyright (c) 2018 by contributors. 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 a... | [
"mctt90@gmail.com"
] | mctt90@gmail.com |
2ad67ab7940ce06a7642cebb829cf2dfe06b8a75 | 445b08ddf5afa9e7e4980e30e8c36553a0e18b73 | /ExternalLibs/cinolib/include/cinolib/io/write_NODE_ELE.cpp | 4c59ebcc038e4dc834785a6662c9b88e434a6719 | [] | no_license | AndrewWang996/6.839-final | 41d741ea0976949d1e9394ce5cce4edc9b822b51 | 3a8d711f37b7be349f9ff21183e561bef224b692 | refs/heads/master | 2020-04-10T14:37:42.582850 | 2018-12-16T21:43:11 | 2018-12-16T21:43:11 | 161,082,380 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,259 | cpp | /*********************************************************************************
* Copyright(C) 2016: Marco Livesu *
* All rights reserved. *
* ... | [
"andrewwang996@gmail.com"
] | andrewwang996@gmail.com |
3cb0d2c465be63071ba4bf1b048e4adc80bf2563 | e4582deb8bab232135a01520ecd466f8df3c987b | /fdct3d/src/test.cpp | e59e0777325a8e016f980f43eed13bf841cbb43b | [] | no_license | haruiz/CurveLab | 7b969fb1e042f9e3eff7d1be09493619239ded62 | 1d06af57fcc8c45c74cc872d4f2de68a76c96a63 | refs/heads/master | 2022-02-22T22:32:08.045246 | 2019-05-02T15:19:56 | 2019-05-02T15:20:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,629 | cpp | /* FDCT3D (Fast 3d Curvelet Transform)
Copyright (C) 2004 Caltech
Written by Lexing Ying
*/
#include "fdct3d.hpp"
#include "fdct3dinline.hpp"
int optionsCreate(const char* optfile, std::map<std::string, std::string>& options) {
options.clear();
std::ifstream fin(optfile);
assert(fin.good());
std::s... | [
"pablo.hernandez.cerdan@outlook.com"
] | pablo.hernandez.cerdan@outlook.com |
9e9a85da3bb7139d0765e517de152237a6d7f2b5 | 43671eb2be91782ac2096b9ec64e3a02b5aa9559 | /subsystem/testprogs/test_clientinfo_and_abo.cpp | 7c7cd42681cef60f0328dde61e10b8207984940e | [] | no_license | psi46/elComandante | fba87eda9c404de0ceed0ab9b81f5258f172325b | 052066eda34d1e335128af214e55e330f9b6e855 | refs/heads/master | 2020-04-06T12:37:01.024183 | 2016-11-28T14:23:31 | 2016-11-28T14:23:31 | 28,905,523 | 1 | 4 | null | 2015-08-08T11:06:20 | 2015-01-07T08:25:52 | FORTRAN | UTF-8 | C++ | false | false | 4,271 | cpp |
#include <stdio.h>
#include <errno.h>
#include <unistd.h> // read
#include <sys/socket.h> // socket
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h> // inet_aton
#include <string.h>
#include "error.h"
// set local address to one of INADDR_ANY, INADDR_LOOPBACK, inet_aton(), inet_addr(), gethos... | [
"bachmair@phys.ethz.ch"
] | bachmair@phys.ethz.ch |
4c7e5d8f7779e2b826dd3ea7f2980ddc34bebb0c | 30773b649ebd89ffadd16d30fd62740b77ca7865 | /SDK/BP_PetPreview_Cat_classes.h | 9f34665f3ad78ffdf2a9d8ce424ddc4f94b9cb67 | [] | no_license | The-Jani/Sot-SDK | 7f2772fb5df421e02b8fec237248af407cb2540b | 2a158a461c697cca8db67aa28ffe3e43677dcf11 | refs/heads/main | 2023-07-09T07:17:56.972569 | 2021-08-18T23:45:06 | 2021-08-18T23:45:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | h | #pragma once
// Name: S, Version: 2.2.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//----------------------------------------------------------------... | [
"ploszjanos9844@gmail.com"
] | ploszjanos9844@gmail.com |
4b8e24c18a6ae96071ae4d51db26c7e1e3b77231 | e4f7add9ffcd76a31ad3e39fb5458f4adae54705 | /Plugins/RevGameplayTracer/Source/RevGameplayTracer/Public/Misc/RevGameplayTracerRetrievalInterface.h | 6d01a8e07415cc9fd95704465fb1c55c5d64da0d | [] | no_license | Joxx0r/UE5Playground | 9745774d8d24a7801f3431021ca38e1901c8b388 | de27add401f950ae0ef96a871cf1038a1030ae69 | refs/heads/main | 2023-07-16T08:56:59.259229 | 2021-09-04T14:42:00 | 2021-09-04T14:42:00 | 400,583,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | h | #pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "RevGameplayTracerRetrievalInterface.generated.h"
class ARevTransportManager;
class ARevImpactManager;
UINTERFACE(meta = (CannotImplementInterfaceInBlueprint))
class REVGAMEPLAYTRACER_API URevGameplayTracerRetrievalInterface : public UInte... | [
"Joxxor@gmail.com"
] | Joxxor@gmail.com |
cd97816c94591bb7fbf4464cfd9e22fe2ff91dd4 | af50c1629cb443eae5cde6e2bd1751187c8921f4 | /Source/NetPhysSync/Private/Utility/FTickIterator.cpp | ba3c02dc14e4fd766e7018a1e416c8e7e1a8f15b | [
"BSD-3-Clause"
] | permissive | i3oi3o/NetPhysSync | 62a3fccceceec40202272ae90965030ee6fcba4d | 267d1858d2f960933a699e725c14d8a4b4713f96 | refs/heads/master | 2020-03-07T21:48:20.951551 | 2018-06-23T15:16:14 | 2018-06-23T15:16:14 | 127,737,502 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 888 | cpp | // This is licensed under the BSD License 2.0 found in the LICENSE file in project's root directory.
#include "FTickIterator.h"
#include "FNPS_StaticHelperFunction.h"
FTickIterator::FTickIterator
(
uint32 BeginTickIdxParam,
uint32 EndTickIdxParam,
ETickIteratorEndRange EndRange
)
: BeginTick(BeginTickIdxParam)
... | [
"i3oi3osan@gmail.com"
] | i3oi3osan@gmail.com |
44be4fa18e1413fd625a52bb8d22bd67fadf2710 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /content/renderer/media/remote_media_stream_track_adapter.cc | cc05408ca8434ca73e58af3ecbd9519ea411be58 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 4,191 | cc | // Copyright (c) 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/media/remote_media_stream_track_adapter.h"
#include "content/renderer/media/media_stream_audio_source.h"
#include "content... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
4a6b0a25ca42a42db5834c2cdd0fcf1a03cdd87a | d6bce47890515451b9c6c8c20575b3e6290e8f2c | /src/Module/visualization_module.cpp | db724a99c5991443f68b525ec58ee654b9ca4398 | [] | no_license | sandsmark/replicode-visualizer | 4dde6ed5039929866e3f63426cda608556c23afe | 3a6ba2006b5d35b3836d4e7619a133a4064e8034 | refs/heads/master | 2021-01-10T21:36:23.609328 | 2015-08-27T16:48:40 | 2015-08-27T16:48:40 | 40,547,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 60 | cpp | #include "visualization_module.h"
LOAD_MODULE(Visualizer)
| [
"martin.sandsmark@kde.org"
] | martin.sandsmark@kde.org |
604d1b12fdae4f84b3ee768f07e8965bb8e21f59 | 7d1b8503fb243edf90131d739d0d1df833dc93ee | /examination/Training/枚举/BL-P2754.cpp | ac0932165178ffe619100d23b00cfc3ef963bb2c | [] | no_license | ChangWinde/Algorithm | e430c397a6d16b8e61bf7f127e4504250f53d5ee | ab4369021585b737e6a32c6add15a74efea23210 | refs/heads/master | 2020-05-05T10:17:04.721464 | 2019-08-26T13:16:21 | 2019-08-26T13:16:21 | 179,938,119 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | cpp | // 百炼2754:八皇后
#include<stdio.h>
#include<cstring>
#include<iostream>
using namespace std;
int n = 8;
int c[14];
int res,pos;
bool flag;
void solve(int curr) {
if (flag)return;
if (curr == n) {
++res;
if (res == pos) {
for (int i = 0; i < n; ++i)
printf("%d", c[i]);
printf("\n");
flag = true;
}
}... | [
"ChangWinde@163.com"
] | ChangWinde@163.com |
a9241dc72a8ec3843ea4ef9ac36573c5e91b8736 | c24323dfc3023b28b84fa0d16b196482062d1010 | /Projects/Project 2/BlackjackProject2.0_V2/main.cpp | 01b5edbe0291fea4fd8a64b84df3aa7d3da54ddf | [] | no_license | ChrisR27/RountreeChris_CSC5_41202 | fcaa19aeeb8bfeb9b89825c50c00f533dc481c96 | b8ffdc1fa15a42c31d0443a49bd86d32124b8db2 | refs/heads/master | 2016-08-13T02:13:22.299108 | 2016-02-11T09:40:30 | 2016-02-11T09:40:30 | 49,084,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,286 | cpp | /*
* File: main.cpp
* Author: Chris Rountree
* Purpose: Blackjack Project 2.0 Version 2
* Created on February 10, 2016, 4:50 PM
*/
//System Libraries
#include <iostream> //I/O
#include <iomanip> //Formating
#include <cstdlib> //Srand and rand function
#include <ctime> //Time to set the ran... | [
"crountree27@yahoo.com"
] | crountree27@yahoo.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.