blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b065c84fa2296edb20a5c66d14cc1a98138b5243 | dc53f17cf8b5e111905f8e20896a70d2c60ed4ad | /content/browser/site_per_process_unload_browsertest.cc | 0644b38d8f391a3893319648b39cba5f168c2187 | [
"BSD-3-Clause"
] | permissive | to-be-architect/chromium | 2d9b7fae2a347d0f9a9544c35e003852036a725c | 5d84ea71caa7d307fcb1f062e559dadc752544a4 | refs/heads/master | 2023-02-22T14:52:00.473036 | 2020-05-01T16:30:43 | 2020-05-01T16:30:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67,078 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/site_per_process_browsertest.h"
#include <algorithm>
#include <list>
#include <memory>
#include <string>
#include <utility>... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
471cc1b9c4d3691c4676f884eb1dd5572e388d22 | 256079f44c3753c53e975efe127b4b34a137fdda | /include/hermes/VM/HadesGC.h | 6626a1d6a0af6a2405d25a089b4c3f821ddca561 | [
"MIT"
] | permissive | o-abbas/hermes | 6559000138a744fb0b5d6511404f46166de4b290 | e5c093f932488af76bcc834e169cd1e73dc67701 | refs/heads/master | 2023-03-30T10:13:14.226063 | 2021-03-30T04:17:21 | 2021-03-30T04:18:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,107 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#ifndef HERMES_VM_HADESGC_H
#define HERMES_VM_HADESGC_H
#include "hermes/ADT/BitArray.h"
#include "hermes/ADT/ExponentialMovingAve... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
92c52bcd12c89a0e93ccb5d3b16c01a623f79fbc | 0dba25cd369487e055643cbee66b1f02432be148 | /TrainingFramework/src/GameObject/Sprite2D.cpp | 68c4582e540c37df829466ec5d2a6e38434c329a | [] | no_license | QuynhHust/MakingGame | d57975815e17460cd0268cf6124986f2df822886 | 20e6c05d083ff46cf311ec47fc58b64dbad10516 | refs/heads/master | 2022-03-22T06:51:41.246345 | 2019-11-13T01:05:41 | 2019-11-13T01:05:41 | 217,356,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,884 | cpp | #include "Sprite2D.h"
#include "Shaders.h"
#include "Models.h"
#include "Camera.h"
#include "Texture.h"
extern GLint screenWidth;
extern GLint screenHeight;
void Sprite2D::CaculateWorldMatrix()
{
Matrix m_Sc, m_T;
m_Sc.SetScale(m_Vec3Scale);
m_T.SetTranslation(m_Vec3Position);
m_WorldMat = m_Sc * m_T;
}
Sprite... | [
"="
] | = |
db935f08180d44652a7bdf75f6cc97144c1e7915 | 6c2c4bcd9123f1c8fcc7a61fb2d1de8aa972e3cf | /chapter_01/ray.h | 318375a83b82f8762183397c7a0b0ed6225b77ab | [] | no_license | KrisYu/RayTracing-TheNextWeek | 3af1e88d9b82c6c2be62d1c10e9663f3cc0350aa | 089112b0e32c4f529592b3e0a7763767b53aeef5 | refs/heads/master | 2020-07-10T08:48:10.348199 | 2019-08-28T00:42:55 | 2019-08-28T00:42:55 | 204,222,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 394 | h | #ifndef RAYH
#define RAYH
#include "vec3.h"
class ray
{
public:
ray(){}
ray(const vec3& a, const vec3 & b, float ti = 0.0){ A =a; B = b; _time = ti;}
vec3 origin() const { return A;}
vec3 direction() const { return B;}
float time() const {return _time;}
vec3 point_at_parameter(float t) con... | [
"abcyuxue123@126.com"
] | abcyuxue123@126.com |
bb6695852cb2a5f9f1b8c0d0134a1ae1801cba7f | 3c25475e4bd5a634d7980e291ae02ae62ab6e74a | /Source/Samples/109_KinematicCharacter/KinematicCharacter.h | 786f7f2d84aa481637ed1b58bdc1d5a46952e09b | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | eugeneko/rbfx | e1c8b41861093b5df03f616cd614f4a73795b16b | 379641ebfeb63a2ceba901eb06be4309d3973272 | refs/heads/master | 2023-03-19T05:06:32.714516 | 2022-09-26T12:14:05 | 2022-09-26T12:14:05 | 186,170,069 | 1 | 0 | MIT | 2019-05-11T18:45:46 | 2019-05-11T18:45:46 | null | UTF-8 | C++ | false | false | 4,169 | h | //
// Copyright (c) 2008-2020 the Urho3D project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, m... | [
"nekoeuge@gmail.com"
] | nekoeuge@gmail.com |
d531eb17eb547f76d7408e4fe9f1d490102e2b87 | f56f7dfe684e448f72c32dd4d56dc81dd494dd35 | /thrift/compiler/test/fixtures/mcpp2-compare/gen-cpp2/ReturnService.h | 0d8b97a8dc6b19e845bd63af423e96877f5e7911 | [
"Apache-2.0"
] | permissive | CHJoanna/fbthrift | 088145e079078ab09d321d101c6cc50c128838b7 | bb1dd6ba08f2fadacb801f968eee50493ab4e801 | refs/heads/master | 2023-03-23T13:20:38.916692 | 2021-03-26T18:45:03 | 2021-03-26T18:46:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,220 | h | /**
* Autogenerated by Thrift for src/module.thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#pragma once
#include <thrift/lib/cpp2/gen/service_h.h>
#include "thrift/compiler/test/fixtures/mcpp2-compare/gen-cpp2/ReturnServiceAsyncClient.h"
#include "thrift/compiler/te... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
874f518bc83d9acfb92580f74fb66b115350d98a | 325f4a6ce8aa09a019cae883c0db967b615da5db | /SDK/PUBG_ABP_Weapon_Glock18_classes.hpp | 6f883fd652ad42888007495cd69642b60ebcff3a | [] | no_license | Rioo-may/PUBG-SDK | 1c9e18b1dc0f893f5e88d5c2f631651ada7e63a4 | fa64ffdc5924e5f3222a30b051daa3a5b3a86fbf | refs/heads/master | 2023-01-07T22:57:11.560093 | 2020-11-11T05:49:47 | 2020-11-11T05:49:47 | 311,240,310 | 0 | 0 | null | 2020-11-11T05:51:42 | 2020-11-09T06:09:27 | C++ | UTF-8 | C++ | false | false | 2,167 | hpp | #pragma once
// PlayerUnknown's Battlegrounds (2.5.39.19) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace Classes
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// AnimBlueprintGene... | [
"pubgsdk@gmail.com"
] | pubgsdk@gmail.com |
5622e41237d4c31970ab19a2a9c8ae3ad9f94554 | ac2e10e06d4aa423040bca4f6728a786f7bf64ef | /common/src/util.cpp | 242aade1a15de59b428f38b431f74eacd5696ddc | [
"MIT"
] | permissive | sathyamvellal/hpc-experiments | 5c7ec722258663dd534d17c99c501a8f1f96475f | 7ef1557ae6a9c247b844f662ee4ad0fd06ce8bc0 | refs/heads/master | 2021-04-25T18:27:49.221728 | 2017-11-13T18:17:15 | 2017-11-13T18:17:15 | 108,215,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | //
// Created by Sathyam Vellal on 27/10/2017.
//
#include "util.h"
double dmod(double num, double mod)
{
int a;
a = (int) (num/mod);
return (num - mod * a);
}
#if 0
double signr(double val, double x)
{
return (x > 0.0) ? val : -val;
}
#endif | [
"sathyam.vellal@gmail.com"
] | sathyam.vellal@gmail.com |
4ea363103f15a752d0a542b651e86b861c728b9f | 26cc428b3d87f0cd0f1a2e6a51e9da25cd0b651a | /discretization/Blasius_linearUpwind/0.75/phi | 447069128c02b1337724d1aae5b2d94bef5eb8d6 | [] | no_license | CagriMetin/BlasiusProblem | 8f4fe708df8f3332d054b233d99a33fbb3c15c2a | 32c4aafd6ddd6ba4c39aef04d01b77a9106125b2 | refs/heads/master | 2020-12-24T19:37:14.665700 | 2016-12-27T19:13:04 | 2016-12-27T19:13:04 | 57,833,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 72,363 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"cagri.metin.ege@gmail.com"
] | cagri.metin.ege@gmail.com | |
d6ab9c59afa228d0cc778c83eded36215f1960ed | ff9ba2b14c79cec6364561ef75bd99e9d3008742 | /src/vmdtab.cpp | f50ef87b03f2338e28f1b514f13208d373e092cf | [
"MIT",
"ISC",
"Apache-2.0",
"GPL-3.0-only",
"BSD-3-Clause"
] | permissive | akkuman/vnote | 9caeb205b86c694e5df896962e132b5c6d35a2e5 | d9a42f74b18cda0179eaf558040dfd6c24c9a859 | refs/heads/master | 2020-03-28T13:57:37.053737 | 2018-09-18T10:00:35 | 2018-09-18T10:00:35 | 148,445,487 | 0 | 0 | MIT | 2018-09-12T08:13:49 | 2018-09-12T08:13:48 | null | UTF-8 | C++ | false | false | 46,079 | cpp | #include <QtWidgets>
#include <QWebChannel>
#include <QFileInfo>
#include <QCoreApplication>
#include <QWebEngineProfile>
#include "vmdtab.h"
#include "vdocument.h"
#include "vnote.h"
#include "utils/vutils.h"
#include "vpreviewpage.h"
#include "pegmarkdownhighlighter.h"
#include "vconfigmanager.h"
#include "vmarkdownc... | [
"tamlokveer@gmail.com"
] | tamlokveer@gmail.com |
e13e59867394b968aef4f1eae54ec37ed3ed2ec3 | 8a274dffceab9d4e63fc0962e20fb7dab761555c | /CodeForce/A. Ultra-Fast Mathematician.cpp | b84942efa9e89eafda2a0712c640fbad8c6bf619 | [] | 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 | 3,621 | cpp | #include <bits/stdc++.h>
#define ll long long
#define pi (3.141592653589)
#define sz(x) ((int)(x).size())
#define all(x) (x).begin(), (x).end()
#define vi vector<int>
#define pii pair<int, int>
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define mini(a, b, c) min(c, min(a, b))
#define ... | [
"63262620+mkp042@users.noreply.github.com"
] | 63262620+mkp042@users.noreply.github.com |
cb3425fe3f5ce8133e0f5ab6f43bf835b3076dcb | 6c945f5861276389d565fc2326ddfd069f61e6a9 | /src/boost/spirit/home/phoenix/operator/detail/io.hpp | a487e2c48570f06f84cee903094698098f3dfd6c | [] | no_license | Springhead/dependency | 3f78387d2a50439ce2edf7790a296026c6012fa3 | 05d4e6f9a3e9c21aae8db4b47573aa34058c4705 | refs/heads/master | 2023-04-23T23:40:13.402639 | 2021-05-08T05:55:22 | 2021-05-08T05:55:22 | 112,149,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,353 | hpp | /*=============================================================================
Copyright (c) 2001-2007 Joel de Guzman
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)
=======================================... | [
"kanehori@haselab.net"
] | kanehori@haselab.net |
a4e13f7680d404c8ee4adb637b6e92efb9412901 | b28305dab0be0e03765c62b97bcd7f49a4f8073d | /chrome/browser/printing/cloud_print/gcd_api_flow.h | 3961f35dde66f2909f7d678c215112ab8ae07fe7 | [
"BSD-3-Clause"
] | permissive | svarvel/browser-android-tabs | 9e5e27e0a6e302a12fe784ca06123e5ce090ced5 | bd198b4c7a1aca2f3e91f33005d881f42a8d0c3f | refs/heads/base-72.0.3626.105 | 2020-04-24T12:16:31.442851 | 2019-08-02T19:15:36 | 2019-08-02T19:15:36 | 171,950,555 | 1 | 2 | NOASSERTION | 2019-08-02T19:15:37 | 2019-02-21T21:47:44 | null | UTF-8 | C++ | false | false | 2,724 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_GCD_API_FLOW_H_
#define CHROME_BROWSER_PRINTING_CLOUD_PRINT_GCD_API_FLOW_H_
#include <memory>
#include <strin... | [
"artem@brave.com"
] | artem@brave.com |
9ebeba03be014a5cd3ab8bd481318821eceab4dc | 1ce740051a6420616f0fc5eb471193dd9643a818 | /psdaq/psdaq/eb/tstNthSet.cc | ee6f6dc7835f3e61513f7bdd45962a3ed7f42d72 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | slac-lcls/lcls2 | 25405bd81f8b61b3aa035e4da856402e630afb28 | 7f0401960ceb46551fd926d932c59e96297df6b0 | refs/heads/master | 2023-08-22T17:29:44.193939 | 2023-08-21T20:56:18 | 2023-08-21T20:56:18 | 94,483,750 | 19 | 32 | NOASSERTION | 2023-07-27T01:59:45 | 2017-06-15T22:31:15 | Python | UTF-8 | C++ | false | false | 1,482 | cc | #ifdef NDEBUG
# undef NDEBUG
#endif
#include <cassert>
#include <cstdint>
#include <x86intrin.h>
#include <stdio.h>
inline uint64_t nthset(uint64_t x, unsigned n) {
return _pdep_u64(1ULL << n, x);
}
int main() {
for (unsigned i = 0; i < 64; ++i)
{
uint64_t x = -1ul; //1ul << i;
uint64_t v = nthset(x, i... | [
"claus@slac.stanford.edu"
] | claus@slac.stanford.edu |
3c6f6c6097a8520861327f6aa9a43d4fc920f369 | 8c4ad8d91bdd5cc1c0cf2f7b2766d804a21e0ff8 | /kattis/pikemaneasy.cpp | 7e6fc972efd5c8241b3ea96b7e1fb38a94b296c1 | [] | no_license | gabrieltepin/programming-contests | c4da797a80a77ee02b99a74b8469cb77677fd94c | 9dcf56c4b77c5426dd987ebf1f0536aa14fd4858 | refs/heads/master | 2023-03-23T11:36:39.908248 | 2021-03-19T13:43:43 | 2021-03-19T13:43:43 | 349,437,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 555 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#define fori(x, y) for(int i = x; i < y; ++i)
#define MOD 1000000007
typedef long long ll;
using namespace std;
int main() {
int n, A, B, C, t, solved=0;
ll penalty=0, T=0;
cin >> n >> t;
vector <ll> v(n);
cin >> A >> B >> C >> v[0];
fori(1, n)
v[i]=... | [
"gabrieltepin@gmail.com"
] | gabrieltepin@gmail.com |
98147fc9c979165ea1db827d47e9cc81613fb01c | 043eb9b100070cef1a522ffea1c48f8f8d969ac7 | /ios_proj/wwj/Classes/Native/mscorlib_System_Array_InternalEnumerator_1_gen2950594271.h | 0fba986baff4e2f4836b724aba854ac02e1c1a0d | [] | no_license | spidermandl/wawaji | 658076fcac0c0f5975eb332a52310a61a5396c25 | 209ef57c14f7ddd1b8309fc808501729dda58071 | refs/heads/master | 2021-01-18T16:38:07.528225 | 2017-10-19T09:57:00 | 2017-10-19T09:57:00 | 100,465,677 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,502 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_ValueType3507792607.h"
// System.Array
struct Il2CppArray;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-of... | [
"Desmond@Desmonds-MacBook-Pro.local"
] | Desmond@Desmonds-MacBook-Pro.local |
bacffcf88e010c0d542883f8c1360043e2116309 | a6a7b331476d448872abca1f62b0dfeecb29bb1a | /GenActor/GenActor/entitydef/datatypes.cpp | 2211dee54a764ca8f6b0a3a034b8f1ca07c73783 | [] | no_license | EvolutionFS/muek | 784909e40fd7f77e238df3be72b087cf8e91c2b6 | 5c6d445d9c8f1722c40721238ed4bec1f7952931 | refs/heads/master | 2022-12-17T22:12:46.320505 | 2020-08-19T11:28:35 | 2020-08-19T11:28:35 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 18,826 | cpp | /*
This source file is part of KBEngine
For the latest info, see http://www.kbengine.org/
Copyright (c) 2008-2016 KBEngine.
KBEngine is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundatio... | [
"hsq@HSQ-54.localdomain"
] | hsq@HSQ-54.localdomain |
ff0374f5a1a63bb7ce3bb3f114e3991720af2862 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_new_log_223.cpp | e5c9af3a7cf6a74a49d6dc25aec0ea5ec10e3c5e | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39 | cpp | die("BUG: check_apply_state() failed"); | [
"993273596@qq.com"
] | 993273596@qq.com |
949ee64d4348efe41520885a2604bab9ed262b2b | d5264e6ec7905da4875a9862ff00f3fa2ed8376c | /media/mtp/MtpFfsHandle.cpp | f25fc71752c42796616ee0edb13ce427f957fb95 | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | ValidusOs/frameworks_av | 156688bd4f6e5d15dca1dc69a30ba174f0125ab5 | f0397be7a8f5e9c8ca5986fce56b84edcc7e6be0 | refs/heads/9.0 | 2021-06-05T12:15:49.821982 | 2018-12-27T01:48:08 | 2019-08-17T07:07:43 | 114,925,058 | 2 | 11 | NOASSERTION | 2019-08-12T08:53:27 | 2017-12-20T19:48:23 | C++ | UTF-8 | C++ | false | false | 22,841 | cpp | /*
* Copyright (C) 2016 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"zhangjerry@google.com"
] | zhangjerry@google.com |
6d3ef83ae93cfd03e3c5d4be71e01940326bc80c | 7e48d392300fbc123396c6a517dfe8ed1ea7179f | /RodentVR/Intermediate/Build/Win64/RodentVR/Inc/Engine/DocumentationActor.gen.cpp | ace37a7892e27434804afcab529960c02f74fdf5 | [] | no_license | WestRyanK/Rodent-VR | f4920071b716df6a006b15c132bc72d3b0cba002 | 2033946f197a07b8c851b9a5075f0cb276033af6 | refs/heads/master | 2021-06-14T18:33:22.141793 | 2020-10-27T03:25:33 | 2020-10-27T03:25:33 | 154,956,842 | 1 | 1 | null | 2018-11-29T09:56:21 | 2018-10-27T11:23:11 | C++ | UTF-8 | C++ | false | false | 6,438 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"west.ryan.k@gmail.com"
] | west.ryan.k@gmail.com |
f4babb89fbbf25e707574fc3e49577413b0285b2 | 22fb52fc26ab1da21ab837a507524f111df5b694 | /v3/io.cpp | d8b1f01363ae5a7371c3907980a3d82b831c50d5 | [] | no_license | yangguang-ecnu/voxelbrain | b343cec00e7b76bc46cc12723f750185fa84e6d2 | 82e1912ff69998077a5d7ecca9b5b1f9d7c1b948 | refs/heads/master | 2021-01-10T01:21:59.902255 | 2009-02-10T05:24:40 | 2009-02-10T05:24:40 | 52,189,505 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,320 | cpp | #include "io.h"
#include <zlib.h>
using namespace std;
Io::Io(string content): position_(0) {
content_ = content;
rewind();
};
Io::~Io(){};
//technical
int Io::size(){return content_.size();};
Io & Io::rewind(){position_=0; return *this;};
int Io::get_position(){return position_;};
Io & Io::set_position( in... | [
"konstantin.levinski@04f5dad0-e037-0410-8c28-d9c1d3725aa7"
] | konstantin.levinski@04f5dad0-e037-0410-8c28-d9c1d3725aa7 |
c5faf6adeb9b10c19fd8b0e65af21f5b547b258a | de0ac859dc3279eca1baa8da22ccc22700b170a4 | /src/lib/include/application.h | cc7a3d6bdaa09738f9156c96cdce5576fe737c24 | [
"MIT"
] | permissive | codeosynthesis/NS-3_LXC | 519f9100d755e4577cafa3d6f9e4f7e981446079 | 7b1ea7d67c0b4c4691b1dd6c351b30bd21eddf88 | refs/heads/master | 2021-06-16T03:12:20.255436 | 2017-05-09T00:29:16 | 2017-05-09T00:29:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | h | #ifndef __APPLICATION_H_INCLUDED__
#define __APPLICATION_H_INCLUDED__
// forward declared dependencies
class Node;
// include dependencies
#include <vector>
#include <string>
#include <map>
#include "nameable.h"
namespace ns3lxc {
// declarations
class Application: public Nameable {
public:
std::string path;
std... | [
"mda5893@rit.edu"
] | mda5893@rit.edu |
cb186d00e910d8e71f6972cf0da5b0cb767615a5 | feff5dadc85629c0947abf87a79f86ace8c84539 | /poj/2104-persist.cpp | 8b90df76d2f8c25c0ed29bb230a9f19342c08acd | [] | no_license | Redleaf23477/ojcodes | af7582d9de8619509fa4ffa5338b2a59d9176608 | 7ee3053a88a78f74764bc473b3bd4887ceac6734 | refs/heads/master | 2023-08-13T22:34:58.000532 | 2023-08-10T15:54:05 | 2023-08-10T15:54:05 | 107,507,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,522 | cpp | // 2104 - kth number using persistance segment tree
#include <cstdio>
#include <cstdlib>
#include <vector>
#include <algorithm>
using namespace std;
typedef long long int ll;
const int N = 100005;
struct Node
{
int sum;
Node *lchild, *rchild;
Node()
{
sum = 0;
lchild = rchild = NULL;
... | [
"schpokeool@gmail.com"
] | schpokeool@gmail.com |
f30f7e4753a61d16fbcad8a51b19478f76988807 | 2813d78eb6a2597123deec6c9e71caca9613a476 | /src/min-heap.h | 5fbeac80413972331a58c59e5909cacc33943d4e | [] | no_license | irakr/Minimal-File-Compression-Tool | 204f1b460c2bb2b6e4c2e979fd26546ef4fbf58c | c41cda3cb57ba43551b4e5d0c8964a7363e33299 | refs/heads/master | 2021-06-29T00:47:39.151260 | 2020-09-05T17:41:58 | 2020-09-05T17:41:58 | 142,700,878 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,882 | h | #ifndef MINHEAP_H_
#define MINHEAP_H_
#include <iostream>
#include <climits>
#include <typeinfo>
#include <queue>
#include "logger.h"
// A Huffman tree node as a min heap node
template <class T, class FrequencyValType>
struct MinHeapNode {
T data; // One of the input characters
FrequencyValType freq... | [
"tarak.rigia@gmail.com"
] | tarak.rigia@gmail.com |
fe6671cd82040b4bb9cd6cd4b0a37b353485069c | 7860e371941db698ad8d0f330a666ead958d8145 | /Backtracking/Medium/lc22-alternate.cpp | 8562087d9b23ca95e98e26c50bcf28877790933e | [
"MIT"
] | permissive | lukasHsieh/leetcode-patterns | 06fc5286cc23b945e595fef82fbf7c0389640e2d | ff5cfc3effe060c01c294a4b2fbb14a0b8775931 | refs/heads/master | 2023-03-17T09:25:23.495729 | 2020-07-10T04:55:54 | 2020-07-10T04:55:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,194 | cpp | class Solution {
public:
vector<string> generateParenthesis(int n) {
vector<string> ans;
if (n == 0) {
ans.push_back("");
}
else {
for (int i = 0; i < n; i++) {
vector<string> leftParts = generateParenthesis(i);
vector<string> r... | [
"35378033+ssolaric@users.noreply.github.com"
] | 35378033+ssolaric@users.noreply.github.com |
07dd2f6c84c039b1307fe539951106debd8ded54 | fee783abde5891cb3936d68b0fc51e5bca720304 | /Projectfile/Source/BasicStudy/CustomHUD.h | 49d44a73e3bd5e8882613b06f5edd8efc0125560 | [] | no_license | JJIKKYU/UnrealEngine_Study | a4d8eec27d668ed0288a31179d40f9925b4070ed | dcf4db94316f2317bdecc26387059ab8b5f78116 | refs/heads/master | 2022-02-13T07:56:41.844138 | 2019-08-21T14:35:48 | 2019-08-21T14:35:48 | 200,591,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/HUD.h"
#include "CustomHUD.generated.h"
/**
*
*/
UCLASS()
class BASICSTUDY_API ACustomHUD : public AHUD
{
GENERATED_BODY()
public:
virtual void DrawHUD() override;
};
| [
"jjikkyu@naver.com"
] | jjikkyu@naver.com |
2197ea072334e15ec87b0fdc32f5c1aafdc752ce | 495d052b7bf8bd4733bc46ff17131889b732da71 | /Project2/Calc.h | f9a3ee44d1a084d9433869c42602b3cbf0f0b1cc | [] | no_license | Inco83/Calc | 079c08e1936da210fb9f38b64580352c9301e672 | d60627c2afd0450309938ad00864daad0fdfcbe2 | refs/heads/master | 2023-07-30T15:03:35.679249 | 2021-09-28T12:11:20 | 2021-09-28T12:11:20 | 411,266,789 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 88 | h | #pragma once
class Calc
{
public:
double Calculate(double x, char oper, double y);
};
| [
"User@ANDREYPC"
] | User@ANDREYPC |
541a232314a5226137903cd43b7b78d24a212298 | bbddb944026a8d3b1e761d49c6678af82a918796 | /Section04/Ex8/sampling_vectors.cpp | 7061ab90939bb423050aacc0ad9c652fdbabf83a | [
"MIT"
] | permissive | hoverzhao/CPlusPlus17-STL-Solutions | 8b4b04e11a491a4138dd814b2a59c3fb6a06d164 | b3078c15b106e8ac65e7f269b20ab8422fd38409 | refs/heads/master | 2023-02-02T11:21:59.565220 | 2020-12-16T08:56:10 | 2020-12-16T08:56:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 892 | cpp | #include <iostream>
#include <vector>
#include <random>
#include <algorithm>
#include <iterator>
#include <map>
#include <sstream>
#include <iomanip>
using namespace std;
int main()
{
const size_t data_points {100000};
const size_t sample_points {100};
const int mean {10};
const size_t dev {3};... | [
"nagrajp@packtpub.com"
] | nagrajp@packtpub.com |
ce4d21e0e64e60df95f8f95d3175534b989dd1e1 | 4709bfb60208ffe4c7874883fd501e97fb3479bc | /src/lp_data/sparse_vector.h | 3e73449ef37e44c916edeb5d8dd7c513f5467292 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | AlperSaltabas/OR_Tools_Google_API | 7e8bf0697063ad89c624268bdf36e09fb82b306f | 7ee31efec888adb3692e613e8c3f85ad06140af8 | refs/heads/master | 2016-09-06T03:27:28.926323 | 2015-03-15T21:16:20 | 2015-03-15T21:16:20 | 32,277,224 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,946 | h | // Copyright 2010-2014 Google
// 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 wri... | [
"lperron@google.com@59fed7e4-672f-1a80-1451-5ac2ff6d83f1"
] | lperron@google.com@59fed7e4-672f-1a80-1451-5ac2ff6d83f1 |
0ddcb52ad9dc5f99e814bdb612cc0f6f98ba867a | 2ff2d4e80e61e9912f7c95af48a54f0f494826aa | /markredeman-cpp/raffle.cpp | e8a1dd4ac0904e1d68f46a5e302553034736e1e5 | [] | no_license | borkdude/rafflers | cd3b064241ef891fdd58d9af98857fb45a022f3b | c8b471b92ec1108fa2ec4bbfa44d9539ea702a84 | refs/heads/master | 2020-12-31T00:41:10.186942 | 2017-02-02T09:11:09 | 2017-02-02T09:11:09 | 80,631,413 | 2 | 0 | null | 2017-02-01T15:07:10 | 2017-02-01T15:07:10 | null | UTF-8 | C++ | false | false | 884 | cpp | #include <iostream>
#include <fstream>
#include <algorithm>
#include <iterator>
#include <chrono>
int main(int argc, char **argv)
{
if (argc < 2)
{
std::cout << "You forgot the filename!";
return 0;
}
// Get the number of participants
std::ifstream raffle(argv[1]);
size_t names ... | [
"markredeman@gmail.com"
] | markredeman@gmail.com |
bfa1e116644ee40aa5de0d03a5930a7176986761 | 9824d607fab0a0a827abff255865f320e2a7a692 | /企业定做/PcShare/MyMultView.h | 87592870de096155a6e5b79ea1fd6dd289972a75 | [] | no_license | tuian/pcshare | 013b24af954b671aaf98604d6ab330def675a561 | 5d6455226d9720d65cfce841f8d00ef9eb09a5b8 | refs/heads/master | 2021-01-23T19:16:44.227266 | 2014-09-18T02:31:05 | 2014-09-18T02:31:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,362 | h | #if !defined(AFX_MYMULTVIEW_H__ED1450FE_6009_4148_BD6F_A3789F17B20D__INCLUDED_)
#define AFX_MYMULTVIEW_H__ED1450FE_6009_4148_BD6F_A3789F17B20D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyMultView.h : header file
//
////////////////////////////////////////////////////////////////////////... | [
"sincoder@vip.qq.com"
] | sincoder@vip.qq.com |
a4ee2dbf0f2a66acc600e317241f89d0092764d7 | d21b1f2bb185bb9ccb4c46a1d97a2b62bcc0b1a3 | /30 Days of Code/Day 08: Dictionaries and Maps.cpp | 99e3551822dc4390e3524d9b4cc2ff4c8feb307c | [
"MIT"
] | permissive | Yogeshwarans007/HackerRank-Solutions | ba24ec03541916a1c6f097e77dd6fce6ab5f2f66 | 29c3ebd87723e1237866a551783bf62cf470d919 | refs/heads/master | 2023-08-06T22:51:19.882554 | 2021-10-13T04:11:05 | 2021-10-13T04:11:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp | #include<iostream>
#include<map>
using namespace std;
int main()
{
int n;
string name;
long num;
cin>>n;
cin.ignore();
map <string, long> pBook;
for (int i = 0; i < n; i++) {
cin >> name;
cin >> num;
pBook[name] = num;
}
while(cin >> name) {
if (pBook.find(name) != pBook.end()) {
cout << name << "="... | [
"harshitruwali@outlook.com"
] | harshitruwali@outlook.com |
b3be669c8925e4680f6fa375ccec9db32e6df07b | bdabad720f77b1debc1095fd013a2e81a9a46c1a | /Simu_SyntheticNetwork/rand.cpp | 5095505640bd66dd0e875b4b1fcf39f20a02cb78 | [
"MIT"
] | permissive | leizhougetbetter/TemporalNetworks | f43fd8b5e993aec8733778f5a6d1c6b9ac58ec62 | 22ae2f70b2ade4aee50064a439d4ca376ba41a5e | refs/heads/master | 2022-07-06T14:28:45.338483 | 2022-06-20T14:16:39 | 2022-06-20T14:16:39 | 252,776,313 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 451 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <time.h>
//Return a double in range [0,1)
double rand_double1()
{
return (double) rand()/((double)RAND_MAX+1);
}
//Return a double in range [0,1]
double rand_double2()
{
double p = (double) (rand())/((double)RAND_MAX);
if (p>1.0)
{
p = 1.0;
}
r... | [
"noreply@github.com"
] | leizhougetbetter.noreply@github.com |
ce268c838b3d590bd4f74810e8ff245e68f601ab | 1ac2d374099f0d265e0d78f0fc811da2c0b4f084 | /Ch03/04_SignalSlot/01_CustomSignalSlot/widget.cpp | 81249150cb302482e94fd49854bc01e4c95dff5b | [] | no_license | kwoss2341/qt_ex | e3d0aa179667409a8878572c481667142debf42a | e3bc7b11e624b5f230d9b17e9ac970f36d18bb2f | refs/heads/master | 2023-03-24T03:00:41.744163 | 2021-03-20T14:21:46 | 2021-03-20T14:21:46 | 337,698,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | cpp | #include "widget.h"
Widget::Widget(QWidget *parent)
: QWidget(parent)
{
lbl = new QLabel("", this);
lbl->setGeometry(10, 10, 250, 40);
SignalSlot myObject;
// New Style
connect(&myObject, &SignalSlot::valueChanged,
this, &Widget::setValue);
//Old Style
/*
connec... | [
"kwoss2341@gmail.com"
] | kwoss2341@gmail.com |
3085109e30dc2535cc0dd488f4bdb943bfc2a744 | 67fc9e51437e351579fe9d2d349040c25936472a | /wrappers/8.1.1/vtkCircularLayoutStrategyWrap.h | 96dd725c7c113f71cbf39a4cb111c51437c6d47e | [] | permissive | axkibe/node-vtk | 51b3207c7a7d3b59a4dd46a51e754984c3302dec | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | refs/heads/master | 2023-03-05T07:45:45.577220 | 2020-03-30T09:31:07 | 2020-03-30T09:31:07 | 48,490,707 | 6 | 0 | BSD-3-Clause | 2022-12-07T20:41:45 | 2015-12-23T12:58:43 | C++ | UTF-8 | C++ | false | false | 1,333 | h | /* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */
#ifndef NATIVE_EXTENSION_VTK_VTKCIRCULARLAYOUTSTRATEGYWRAP_H
#define NATIVE_EXTENSION_VTK_VTKCIRCULARLAYOUTSTRATEGYWRAP_H
#include <nan.h>
#include <vtkSmartPointer.h>
#include <vtkCircularLayoutStrategy.h>
#include "vtkGr... | [
"axkibe@gmail.com"
] | axkibe@gmail.com |
3460445229d2662bd7c2cd4afb2c18be1e6f08c1 | 89a7fc84adee392c6fe7b9cf654b2f73a3c82903 | /src/mediachooserpopup.h | 37926474ed614076b9d64e8f7cff8865e7058fe1 | [] | no_license | app211/jaqet | 401609e0ac0721846abba77777a1c9d14ba025f5 | 3b5cb9945705a911b188b371b42def715b9e7d21 | refs/heads/master | 2021-01-19T08:55:00.938449 | 2015-11-24T21:50:57 | 2015-11-24T21:50:57 | 18,848,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,317 | h | #ifndef MEDIACHOOSERWIDGET_H
#define MEDIACHOOSERWIDGET_H
#include <QWidget>
#include <QFlags>
#include <QUrl>
#include "mediachoosermediatype.h"
class QGraphicsScene;
class QCloseEvent;
class MediaChooserGraphicsObject;
class MediaChooserButton;
class Scraper;
class QNetworkAccessManager;
class Click... | [
"app.211@laposte.net"
] | app.211@laposte.net |
1b50f376e0ed5da1699de107cf07c516203511b2 | 01528a046e1c5bfaa1e1b94d30babb35675c9f3a | /trunk/iWinOnline-cocos2dx/iwin/Classes/Services/ReviewService.cpp | e6e3ee22415bdb5ba3b5120eef1b8cf58f15da69 | [] | no_license | flowerfx/cc_iw_game | f48802b355baaaff887e289d7cd97d2ba8f58082 | 81309a8651e2ec089d1bd08a07cacb0949d05df7 | refs/heads/master | 2021-01-21T15:32:22.670075 | 2020-05-08T09:15:50 | 2020-05-08T09:15:50 | 81,444,503 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,706 | cpp | #include "ReviewService.h"
using namespace cocos2d::network;
ReviewService* ReviewService::s_instance = nullptr;
ReviewService* ReviewService::getInstance()
{
if (s_instance == nullptr) {
s_instance = new ReviewService();
}
return s_instance;
}
ReviewService::ReviewService()
{
//_isLoadDataFromServerOK = fa... | [
"qchien.gl@hotmail.com"
] | qchien.gl@hotmail.com |
ae201d885392c9da4138ba6746ffcc86e6d3b1f3 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /ash/wm/property_util.cc | 320545c4c484f3164134e86253c3fb6bca1e70a4 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 3,507 | cc | // Copyright 2015 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 "ash/wm/property_util.h"
#include "ash/public/cpp/window_style.h"
#include "ash/public/interfaces/window_style.mojom.h"
#include "services/ui/pu... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
7c43d1f97fba70cc2ff2d9a9163969d147923ec9 | 997e6464caca89940666193c2e94d8c6abb33048 | /Janela_Automatica_v_2_1/Janela_Automatica_v_2_1.ino | f615048ec34c473e176f7f966545b2edfbb51799 | [] | no_license | mmcromero/historico-de-codigos-arduino | bcb48dc9952b24c99962be3a17534bcdd4d9b6db | 32a23d559f54cc586689b3e99ce9ffbebac75767 | refs/heads/master | 2021-04-26T23:44:57.097035 | 2018-03-05T01:53:45 | 2018-03-05T01:53:45 | 123,849,599 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,406 | ino | /*
//Programa : Controle de Janela de 2 folhas
Sensor Ldr: Quando esta de dia, janela de aluminio abre e quando escurece janela de aluminio fecha.
setLimiteDelayLdr = variavel que determina tempo do delay para inicio da ação
Sensor Chuva: Quando chove, janela de vidro fecha e quando para de chover janela de vidro a... | [
"mmcromero@gmail.com"
] | mmcromero@gmail.com |
a2cf9bf55875934bd6c50b7c66ebac7634e81f8e | 19f039b593be9401d479b15f97ecb191ef478f46 | /RSA-SW/PSME/common/agent-framework/tests/configuration/validators/address_test.cpp | d46ef7f6cd1ce37875041f330f7f66bf30bf7926 | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | isabella232/IntelRackScaleArchitecture | 9a28e34a7f7cdc21402791f24dad842ac74d07b6 | 1206d2316e1bd1889b10a1c4f4a39f71bdfa88d3 | refs/heads/master | 2021-06-04T08:33:27.191735 | 2016-09-29T09:18:10 | 2016-09-29T09:18:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,897 | cpp | /*!
* @section LICENSE
*
* @copyright
* Copyright (c) 2015 Intel Corporation
*
* @copyright
* 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
*
* @copyright
* http://www.apache.org... | [
"chester.kuo@gmail.com"
] | chester.kuo@gmail.com |
8b688dee6c565046b566d535d80a96149f3c9458 | f7b876a11cc15cec6a5b377df3e915aaf5bcc289 | /5_tree/depth_of_btree.cpp | 52d33a6053b1090da8ca0d36566e21c9cfa345b5 | [] | no_license | AniRobotics/CPP-Fundamental-Problems | 01a25962f998689364a52ed2c04f544a75ec2d7d | 9f0c2641a54022a4acee8f21cad22db261c4aeff | refs/heads/master | 2021-04-22T02:00:15.944414 | 2020-09-15T16:42:31 | 2020-09-15T16:42:31 | 249,841,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,019 | cpp | #include <iostream>
#include <vector>
#include <queue>
#include <memory>
using namespace std;
/*
10
/ \
20 30 <----- Tree used for this problem
/ \ / \
40 50 60 70
/ \
80 90
*/
class Node {
private:
int value;
std::sha... | [
"anirban.robotics@gmail.com"
] | anirban.robotics@gmail.com |
204e8aa80ec5dd60a2ce6178fe7154f9eed695ae | 76c247d000c261dd521768cf45e0aafa9839935c | /Clients.cpp | c0e1b4d5c483c5e3aef1e7bf33ca3ef53f71a88e | [] | no_license | Skynet2020/Lab_4_LinkedList | 5eb79f6d4da2fb203737951e3adc066439088280 | e7b5124d1fa9848f904e03ac69528ac49baec0df | refs/heads/master | 2020-08-09T20:38:20.470000 | 2019-10-10T11:55:08 | 2019-10-10T11:55:08 | 214,170,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 401 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
#include "Clients.h"
// Функция пустая, надо написать
template<typename ItemType>
bool Clients<ItemType>::isEmpty(){
... | [
"noreply@github.com"
] | Skynet2020.noreply@github.com |
d42a7c559862a372d05bdddbdbb7a3cc2f6a9dc8 | 00f964ab109f17423617037fe48ab2d823bcde2b | /src/applications/pingapp/PingApp.h | 7324209ae75de0afad7e31dd394ecda93359b878 | [] | no_license | PASER/Simulation-INETMANET | 2c18bc6d076d425a6660ecea699df5ae80f73273 | 47c30f967ce6135c4e07399ecfad32590348f1d3 | refs/heads/master | 2016-08-05T19:57:54.742163 | 2012-12-18T11:30:21 | 2012-12-18T11:30:21 | 7,203,912 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,221 | h | //
// Copyright (C) 2001, 2003, 2004 Johnny Lai, Monash University, Melbourne, Australia
// Copyright (C) 2005 Andras Varga
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation; either ve... | [
"mohamad.sbeiti@tu-dortmund.de"
] | mohamad.sbeiti@tu-dortmund.de |
3898884ef82aef36f6790da00f745e046a614670 | 1dc6d0b43ae1471aa030214dc06fe9269a7bfd7f | /l12-13/75.cpp | 7c5949cc9aa787ce5f012706fac126735a3d801a | [] | no_license | kskeshav/Codeforces-Contests | 5e52e7c802b8e62f80c81e61aebb300536f5181c | cde885818be5fe9d07ffbd4cabeda2aa42dd3a39 | refs/heads/main | 2023-06-10T21:52:24.911333 | 2021-07-09T09:51:53 | 2021-07-09T09:51:53 | 384,392,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
int main(int argc, char const *argv[])
{
int n,a,b,c,m = 0;
cin>>n>>a>>b>>c;
int x = n/a;
int r = 0;
for (int i = 0; i <= x; ++i)
{
r = n-i*a;
int y = r/b;
for (int j = 0; j <= y; ++j)
{
int t = n-a*i-b*j;
if (t%c == 0)
{
int z... | [
"keshavsinghal594@gmail.com"
] | keshavsinghal594@gmail.com |
475609a090cc1d797930211603cd630411c69f39 | 594aba22b8185ed8f43804c7b0b6738e9e5d031c | /Source/Shooter_3rdPerson/Shooter_3rdPersonGameModeBase.h | 8800171281dbb4d1b5855e3a28858e6619d33e92 | [] | no_license | branthompson/3rdPersonShooter | 2acc7050e5d30bca483704bcdc60c24609a98625 | 337296f72e7b0908ae8293969f0bd42a9c23e452 | refs/heads/main | 2023-07-08T20:08:31.107346 | 2021-08-08T05:06:48 | 2021-08-08T05:06:48 | 393,859,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | h | // Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/GameModeBase.h"
#include "Shooter_3rdPersonGameModeBase.generated.h"
/**
*
*/
UCLASS()
class SHOOTER_3RDPERSON_API AShooter_3rdPersonGameModeBase : public AGameModeBase
{
GENERATED_BODY(... | [
"noreply@github.com"
] | branthompson.noreply@github.com |
3edd70d87d1ae5ffc284cbd35899a054a955c699 | e98b8922ee3d566d7b7193bc71d269ce69b18b49 | /include/qpid/sys/SaslFactory.h | 7ba41e67ad005eebb9c7e75796ed2c9dc0880126 | [] | no_license | QuarkCloud/qpid-lite | bfcf275eb5a99be3a1defb18331780d1b242dfa6 | 3818811d1b2eb70c9603c1e74045072b9a9b8cbc | refs/heads/master | 2020-04-14T17:18:28.441389 | 2019-02-18T02:20:56 | 2019-02-18T02:20:56 | 163,975,774 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,879 | h | #ifndef QPID_SYS_SASL_FACTORY_H
#define QPID_SYS_SASL_FACTORY_H 1
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
*... | [
"romandion@163.com"
] | romandion@163.com |
78b01cff5c52a0c50ce8bfc0856a08722eee16fb | 75452de12ec9eea346e3b9c7789ac0abf3eb1d73 | /src/camera/lib/fake_legacy_stream/test/test.cc | cd395b553207d50fcd730fe00622a4d6ebbc4d0a | [
"BSD-3-Clause"
] | permissive | oshunter/fuchsia | c9285cc8c14be067b80246e701434bbef4d606d1 | 2196fc8c176d01969466b97bba3f31ec55f7767b | refs/heads/master | 2022-12-22T11:30:15.486382 | 2020-08-16T03:41:23 | 2020-08-16T03:41:23 | 287,920,017 | 2 | 2 | BSD-3-Clause | 2022-12-16T03:30:27 | 2020-08-16T10:18:30 | C++ | UTF-8 | C++ | false | false | 4,030 | cc |
// Copyright 2019 The Fuchsia 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 <fuchsia/camera2/cpp/fidl.h>
#include <fuchsia/sysmem/cpp/fidl.h>
#include <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
#inclu... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e917527f46621d53623512861639cccd2dcb38d5 | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /hackathon/2010/brunsc/python_console/generated_code/TriviewControl.pypp.hpp | 2184c98bda5f23f043affd824893937b1d917c0e | [
"MIT",
"Apache-2.0"
] | permissive | Vaa3D/vaa3d_tools | edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9 | e6974d5223ae70474efaa85e1253f5df1814fae8 | refs/heads/master | 2023-08-03T06:12:01.013752 | 2023-08-02T07:26:01 | 2023-08-02T07:26:01 | 50,527,925 | 107 | 86 | MIT | 2023-05-22T23:43:48 | 2016-01-27T18:19:17 | C++ | UTF-8 | C++ | false | false | 223 | hpp | // This file has been generated by Py++.
#ifndef TriviewControl_hpp__pyplusplus_wrapper
#define TriviewControl_hpp__pyplusplus_wrapper
void register_TriviewControl_class();
#endif//TriviewControl_hpp__pyplusplus_wrapper
| [
"hanchuan.peng@gmail.com"
] | hanchuan.peng@gmail.com |
b8a866627f55314408d4c62c82099fd3ce2c806a | ac8813f98a2e7054768e9e9db26bfd7a3fa1a70d | /PAT/有理数四则运算.cpp | ceb6e66ecd68ca79f43aef6f269ef190ed6051eb | [] | no_license | lxsshgdl/ACM | 684b692b974204d7f5f384336061ea3b3ecb4c69 | b1d7e5c5540146d8273fa0c531d063933de42b41 | refs/heads/master | 2023-07-18T09:30:24.212227 | 2021-08-27T15:48:27 | 2021-08-27T15:48:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,456 | cpp | // https://pintia.cn/problem-sets/994805260223102976/problems/994805287624491008
// 错因:爆数
// 改正:用long long
#include <bits/stdc++.h>
#define ios \
ios::sync_with_stdio(false); \
cin.tie(0);
using namespace std;
const int maxn = 1e5 + 5;
const int inf = 0x3f3f3f3f;
const int mod = 1e9 + 7;
... | [
"gsh1150520575@163.com"
] | gsh1150520575@163.com |
3913b7ecb8281626da99ddff8475974dcfe4b038 | 911bc2d4464948f76de4568aa01f3272e0bb39bf | /include/Toolbar.h | 166a33d8afd5510d177f7b9542e3e4ce6b6bba4b | [] | no_license | TomCollingwood/ParticlePanic | aec1af60a9fe94468fc93e522de51981ebaf921f | 50d5559f25b1a548ff78986434824b8ce77238a3 | refs/heads/master | 2021-01-10T15:16:39.276708 | 2016-05-02T12:17:00 | 2016-05-02T12:17:00 | 54,407,663 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,675 | h | /// \file Toolbar.h
/// \brief GUI implementation from scratch, includes draw and input interaction.
/// \author Thomas Collingwood
/// \version 1.0
/// \date 26/4/16 Updated to NCCA Coding standard
/// Revision History : See https://github.com/TomCollingwood/ParticlePanic
#ifndef _TOOLBAR_H_
#define _TOOLBAR_H_
#ifd... | [
"tomcoll@hotmail.co.uk"
] | tomcoll@hotmail.co.uk |
a67b649d76715a7551f9dc9dfb04211123565c09 | 70d0efb3b61e0d4b9843f806a5461b10a3ff2af9 | /src/drivers/common/ttf_font.cpp | 1444ae702491ca77e35cae3396da89edd376f4e1 | [
"MIT"
] | permissive | Dwedit/sdlretro | a2bacb623d464940afc912ce5008df908a7016ff | 521c5558cb55d4028210529e336d8a8622037358 | refs/heads/master | 2021-04-12T00:38:10.157128 | 2020-01-20T13:16:04 | 2020-01-20T13:16:04 | 249,069,950 | 0 | 0 | MIT | 2020-03-21T22:12:48 | 2020-03-21T22:12:48 | null | UTF-8 | C++ | false | false | 4,987 | cpp | #include "ttf_font.h"
#include "stb_rect_pack.h"
#ifdef USE_STB_TRUETYPE
#define STB_TRUETYPE_IMPLEMENTATION
#include "stb_truetype.h"
#include <fstream>
#else
#include <ft2build.h>
#include FT_FREETYPE_H
#endif
#include <climits>
namespace drivers {
enum :uint16_t {
RECTPACK_WIDTH = 1024
};
struct rect_pack_... | [
"soarchin@gmail.com"
] | soarchin@gmail.com |
43e4881ec0ee25320874c28c439eb74ced17c8ce | da3dde37cfab6ac43640f13b08e6de9e90070f9c | /include/gtkmm-3.0/gtkmm/widget.h | d1672c6830f7923bb5e2d813ff00182a120d3ecc | [] | no_license | codenotes/gtk2-gtk3-sdk-2.24.30-3.20.2-2016-04-09-ts-win64 | 27ca673a945c76bd9ace095c510e703b52ddc9f7 | 952b68aebdf1c41e856db8a2f7efd120485ae9eb | refs/heads/master | 2020-12-25T14:58:10.876852 | 2016-09-08T18:19:25 | 2016-09-08T18:19:25 | 67,728,820 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 218,646 | h | // Generated by gmmproc 2.48.0 -- DO NOT MODIFY!
#ifndef _GTKMM_WIDGET_H
#define _GTKMM_WIDGET_H
#include <gtkmmconfig.h>
#include <glibmm/ustring.h>
#include <sigc++/sigc++.h>
/* Copyright (C) 2002, 2003 The gtkmm Development Team
*
* This library is free software; you can redistribute it and/or
* modify it und... | [
"gbrill@infusion.com"
] | gbrill@infusion.com |
0c15a8df7b1dc973d34b7514c6ff98e7a873120b | f23c8df7d0e570b286764e3bf16d4da0981f995d | /source/CUDARaster/cuda/CoarseRaster.inl | 6616c4384c779321a900ceaf0039d204738a2d3d | [
"MIT"
] | permissive | mhourousha/cuRE | 7d48be4b282348c4e5200c511b7101028f897f85 | ccba6a29bba4445300cbb630befe57e31f0d80cb | refs/heads/master | 2022-01-26T13:05:31.782134 | 2018-10-04T21:56:06 | 2018-10-04T21:56:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,044 | inl | /*
* Copyright (c) 2009-2011, NVIDIA Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* ... | [
"michael.kenzel@gmail.com"
] | michael.kenzel@gmail.com |
effb0a81a93d06f0670d6db1fb732d12fecb6b80 | 383e7d7f7ef658896a76d89fa3a3d5fb215a0140 | /core/vsl/Templates/vsl_vector_io+vcl_vector+int--.cxx | 34d6d9cc4d6776cdbdc5c038543f57a9fe299acb | [] | no_license | aliosmanulusoy/Probabilistic-Volumetric-3D-Reconstruction | f9abd69f278a85c0133c3474eaee1c59e2d4f3e2 | cdb08ed893f88c245bd3c9cff1081182a4eaced9 | refs/heads/master | 2021-06-01T23:21:59.861182 | 2016-05-31T09:38:48 | 2016-05-31T09:38:48 | 58,373,814 | 60 | 26 | null | null | null | null | UTF-8 | C++ | false | false | 80 | cxx | #include <vsl/vsl_vector_io.hxx>
VSL_VECTOR_IO_INSTANTIATE( std::vector<int> );
| [
"hans-johnson@uiowa.edu"
] | hans-johnson@uiowa.edu |
7238313f917830b2653e9fa360b58600da014e64 | 269e13a077d3ef90d4c352249fb6e32d2360a4ec | /leetcode/backtracking/039-Combination-Sum.cpp | 0154bc0d0444b6f346ee7934cbe4951bbb940cef | [] | no_license | luckyzahuo/Snorlax | d3df462ee484ecd338cde05869006f907e684153 | 51cf7e313fddee6fd00c2a276b43c48013375618 | refs/heads/master | 2023-08-21T11:02:01.975516 | 2021-10-10T08:50:40 | 2021-10-10T08:50:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,360 | cpp |
#include <vector>
#include <string>
#include <algorithm>
#include <iostream>
using namespace std;
/*
* 限制条件: candidates 中元素不重复,但可以重复选取, 目标 target 最多包含 150 个元素
* 下面采用纯粹的 回溯法 结果,无减枝
*/
class Solution {
private:
vector<vector<int>> result;
// 在 candidates[index...size()-1] 中选择和为 target 的一个或者多个数
void gen... | [
"smartkeyerror@gmail.com"
] | smartkeyerror@gmail.com |
80399ef6e80988ab3c9bf61d165ba914d02a2baf | fd1df64a192fad2595066a6822f5a1a69baea5d1 | /Lab1_qt/Lab/Output.cpp | 39b6b199a6abbdfc9823f5ad0198886347d148b1 | [] | no_license | k1-801/SOA | bf913f7fa47f7466d0b9d9b8e375e459469c1a3c | 3193bb4bf859ff12792d932aea4b9eb26a877c9a | refs/heads/master | 2020-07-27T02:51:47.981358 | 2019-09-18T15:36:49 | 2019-09-18T15:38:11 | 208,843,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,810 | cpp | #include "Output.hpp"
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QDomDocument>
#include <QVariant>
#include <QByteArray>
void Output::solve(const Input& i)
{
_sumResult = 0;
for(double t: i.sums()) _sumResult += t;
_sumResult *= i.k();
_mulResult = 1;
for(int t: i.muls()) _mu... | [
"k1-801@mail.ru"
] | k1-801@mail.ru |
1719ac5fb9bef052358599dbc336171989bb8080 | c0ce303049f732fd0219631a59a4b824316dffe8 | /Lab7/Lab7.ino | eb0ae0d1f75690e01830b67a7fe45404fdb4d50e | [] | no_license | DemonicKrace/Arduino | c02ef0c68940d4f326ca3007ef9c450890adfaba | 2cb65254526c4475e9ec9031bd893f5a95fb67c7 | refs/heads/master | 2021-01-18T23:01:08.011562 | 2016-06-18T10:03:28 | 2016-06-18T10:03:28 | 55,387,750 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,457 | ino | //Lab07-LCD 顯示器
/* Lab7 - 在 2x20 LCD 上顯示 "Hello World" 訊息
The circuit:
* LCD RS pin to digital pin 12
* LCD Enable pin to digital pin 11
* LCD D4 pin to digital pin 5
* LCD D5 pin to digital pin 4
* LCD D6 pin to digital pin 3
* LCD D7 pin to digital pin 2
* 10K Potentiometer:
* ends to +5V and ground
* wip... | [
"krace710267@gmail.com"
] | krace710267@gmail.com |
4f395c6c3b9ccd3e66958f9b14cba5dadd11eb77 | 7e85a7f0dcb632e1575ae643ffdbb3fb8f0f8a18 | /Firmware/shared/Application/source/SensorController.cpp | 1b56829df29094e7ace0353e612f6ab090e9e098 | [
"MIT"
] | permissive | cemizm/AnySensePro | f63da3413df4ddc382bf06226f05dc607f595849 | 55d831e24f14c5c07c7c79b1bdf0412b8661cb89 | refs/heads/master | 2022-05-17T00:22:35.406444 | 2022-04-24T06:33:57 | 2022-04-24T06:33:57 | 41,855,329 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 662 | cpp | /*
* SensorController.cpp
*
* Created on: 11.03.2016
* Author: cem
*/
#include <SensorController.h>
#include <string.h>
#include "SensorFrSky.h"
#include <new>
namespace App
{
void SensorController::Init()
{
}
void SensorController::Run()
{
SensorAdapterBase::Procotol protocol = SensorAdapterBase::Pr... | [
"cem.basoglu@web.de"
] | cem.basoglu@web.de |
326d82a7509de1f6c02ba2000ad91c1ca6ad5303 | 5674bf9a4efac928e83f74995d59dbf0a3738a02 | /Week-3/Day-17-numIslands.cpp | 1956b2ff1747511665d3f067adfc467c2e0e8d32 | [
"MIT"
] | permissive | utkarshavardhana/30-day-leetcoding-challenge | 3dff31c96a64e7baada6909c09408438309bacd3 | a47b14f74f28961a032d1f00ce710ea3dcb0d910 | refs/heads/master | 2022-04-26T07:37:33.716275 | 2020-05-02T04:10:12 | 2020-05-02T04:10:12 | 260,606,768 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,567 | cpp | class Solution {
public:
void traverse_island(int row_index, int column_index, vector<vector<char>>& grid) {
int rows = grid.size();
int columns = grid[0].size();
std::queue<int> indices;
grid[row_index][column_index] = -1;
if(row_index - 1 >= 0 && ... | [
"noreply@github.com"
] | utkarshavardhana.noreply@github.com |
c0fb9182ff41f73e2b8ebdc0b17d6e21dc94cbbd | 53ccfcb1791374efb528e2248e05861f593ac76f | /Source/ImageIOLibrary/Private/Mac/ImageDialogManagerMac.cpp | ffb757d076348cde1c6d2ccf89e9ab2a3b0cf6f5 | [] | no_license | FunkyPizza/ImageIOLibrary | f9c2f7d64b5722c978f0899e404d2707385033df | e42a5f899469a9b7a1c5c5296bfb658eaf225fa8 | refs/heads/main | 2023-06-24T12:39:18.493349 | 2023-06-13T12:11:09 | 2023-06-13T12:11:09 | 378,493,125 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,128 | cpp | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
// Copyright Lambda Works, Samuel Metters 2020. All rights reserved.
// This class is responsible for Dialogs on the Windows platform.
#include "Mac/ImageDialogManagerMac.h"
#include "Mac/MacApplication.h"
#include "Misc/FeedbackContextMarkup.h"
#include "M... | [
"FunkyPizza@users.noreply.github.com"
] | FunkyPizza@users.noreply.github.com |
41cf76762db7ce1207182be57df5caebb44bacc5 | f9d2d33e3ae3eeb95cdbb506ac0a5e668abf0d49 | /src/test/eurekacointests/eurekacointxconverter_tests.cpp | 020cc0e7b6d8ef6ca385b94ab666563653f0e0e4 | [
"MIT"
] | permissive | KeerthanaRamalingam/Coin18 | 8e1fc6122f63084f74d5e290d6475d139b5d4daa | 180dde33ee0b9998313cc20386e56e745619235d | refs/heads/master | 2023-04-04T06:21:09.568835 | 2021-04-14T09:05:09 | 2021-04-14T09:05:09 | 357,812,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,249 | cpp | #include <boost/test/unit_test.hpp>
#include <test/test_bitcoin.h>
#include <consensus/merkle.h>
#include <chainparams.h>
#include <miner.h>
#include <validation.h>
#include <util/convert.h>
//Tests data
CAmount value(5000000000LL - 1000);
dev::u256 gasPrice(3);
dev::u256 gasLimit(655535);
std::vector<unsigned char> a... | [
"neoblock8@gmail.com"
] | neoblock8@gmail.com |
2b8ba2720c0415d05ca114b06f0c41495e3cf4dd | 6792b502f067667680a9c8b1431664b7aa135195 | /Practica2/ParpadeoDiferentesFrecuencias.ino | 961d7091b6624c6b23ea1e32d9354e85ab0ed4e6 | [] | no_license | josedavid980111/PM_Practica_1 | dd4b75276d742286f4cb29ab86eab6a1e65d3092 | f6606ed3dfb5e18e6998dd8cbe7eb13cdb885d7a | refs/heads/master | 2020-12-26T12:12:16.788870 | 2020-05-23T03:57:25 | 2020-05-23T03:57:25 | 237,505,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,290 | ino | void setup()
{
DDRB = DDRB | B00111100; // Data Direction Register B: Inputs 0-6, Output 7
}
void loop()
{
asm (
"inicio: \n\t"
"sbi 0x05,0x05 \n\t"
"sbi 0x05,0x04 \n\t"
"sbi 0x05,0x03 \n\t"
"sbi 0x05,0x02 \n\t"
"call tiempo \n\t"
"cbi 0x05,0x05 \n\t"
"call tiempo \n\t"
"sbi 0x05,0x05 \n\t"
"cbi 0x05,0x04 \n\t"
"... | [
"noreply@github.com"
] | josedavid980111.noreply@github.com |
17d1e53847ceae22fd33afd043613587af6bf765 | 4128d588f23212348527405372c86a6738248080 | /power_logger/power_logger.ino | 0b54393b126be29b8b9e6f6e336577b0229d3513 | [] | no_license | cosailer/arduino_tests | 71742e8fd04c54c3e49449957ddb0063a1288dc2 | 9340e4bf91fc5f623439771271da9863ff107029 | refs/heads/master | 2023-02-11T00:41:42.388068 | 2021-01-13T19:15:16 | 2021-01-13T19:15:16 | 329,407,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,980 | ino | #include <Wire.h>
#include <SPI.h>
//#include <Adafruit_GFX.h>
#include <Adafruit_PCD8544.h>
#include <Adafruit_INA219.h>
//#include "SdFat.h"
//SdFat SD;
//File file_log;
// Software SPI (slower updates, more flexible pin options):
// pin C3 - 19 - Serial clock out (SCLK)
// pin C2 - 18 - Serial data out (DIN)
// pin... | [
"cosailer@gmail.com"
] | cosailer@gmail.com |
eadb87b0c1fbef9355cc3b1344e5a95496ab0915 | 38a4b7447af49a6d14fca3c38e6beda0b3f8564d | /src/Server.cpp | ae42b9b5ecfd41b80079622490b353d024f0faee | [
"MIT"
] | permissive | fancyqlx/socketx | 749f0b431e007ae947f8134208520d79e4da29f2 | 36099c329614516ba6d2790291a22033d5fd7ee7 | refs/heads/master | 2021-01-25T11:27:52.600392 | 2018-07-10T01:55:46 | 2018-07-10T01:55:46 | 93,928,218 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,345 | cpp | #include "Server.hpp"
namespace socketx{
Server::Server(EventLoop *loop, std::string port):
loop_(loop),
port_(port),
socket_(std::make_shared<ServerSocket>(loop, port)){
socket_->setNewConnctionFunc(std::bind(&Server::newConnection, this, std::placeholders::_1));
}
... | [
"fancyqlx@163.com"
] | fancyqlx@163.com |
e471218354b81d9a9ff75cfaecbf5e5816902009 | 527739ed800e3234136b3284838c81334b751b44 | /include/RED4ext/Types/generated/ink/PlatformSpecificVideoController.hpp | 4c4f16d4a8e1144fd0d3c6f8e0ae64d2e1393463 | [
"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 | 877 | 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/Types/SimpleTypes.hpp>
#include <RED4ext/Types/generated/ink/WidgetLogicController.hpp>
namespace RED4ext
{
struct Bink;
namespace ink {
struct Pl... | [
"expired6978@gmail.com"
] | expired6978@gmail.com |
d8702e4aae66ce3e586a61b5ff9375a9271b23ae | e28f6e8858453831f84b5c728f8bec120651d5dc | /include/pacman/Ghost.hpp | 06c654a4b6553780e22af0cd35fd9f299e2a33aa | [
"MIT"
] | permissive | 197708156EQUJ5/pac-man | 26d7e8b9d2dc39e4d91d3b18dff07e11d3350813 | 30501ac43b9bcdd94b3cbb848c597882fc268492 | refs/heads/main | 2023-01-20T02:37:31.129449 | 2020-11-23T01:19:30 | 2020-11-23T01:19:30 | 314,895,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 328 | hpp | #pragma once
#include "Character.hpp"
namespace pacman
{
class Ghost : Character
{
public:
Ghost() = default;
~Ghost() = default;
int getX();
int getY();
void setX(int x);
void setY(int y);
void setDirection(Direction &direction);
void move();
void respawn();
};
} // namespace ... | [
"ggraves73@gmail.com"
] | ggraves73@gmail.com |
4311dc8f24441dfc85d5102a75d0ff98443944ad | 6f0ecf48bbf3adfa20cf54e1169c702ebf065ad0 | /tema_demo/main.cpp | 72edfbda49f719096a3539aa75aea528038ab752 | [] | no_license | OanaVasut/year1 | 47c551b3a7d2df8540c4fe38684e306bdb22fc2e | e3c1b916bcccee479177512525150b1725fcbaa6 | refs/heads/master | 2020-03-17T07:09:24.697450 | 2018-05-28T10:40:38 | 2018-05-28T10:40:38 | 133,386,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | cpp | /*
* short, long int - intreg, 5
* double - real, 3.45
* float - real 3.65
* char - caracter 'g'
*
* 00 00 00 00 - 0
* 00 10 00 01 - !
*/
int main(int argc, char *argv[]){
return 0;
}
| [
"oana@mushu.localdomain"
] | oana@mushu.localdomain |
bf3550b89ec34295db06c78b5110d91c727c1fe7 | 23017336d25e6ec49c4a51f11c1b3a3aa10acf22 | /csc3750/prog2/Scene.h | 21b801a8cef94c88d6eee2a82feeb8ab42865b44 | [] | no_license | tjshaffer21/School | 5e7681c96e0c10966fc7362931412c4244507911 | 4aa5fc3a8bbbbb8d46d045244e8a7f84e71c768f | refs/heads/master | 2020-05-27T19:05:06.422314 | 2011-05-17T19:55:40 | 2011-05-17T19:55:40 | 1,681,224 | 1 | 1 | null | 2017-07-29T13:35:54 | 2011-04-29T15:36:55 | C++ | UTF-8 | C++ | false | false | 397 | h | #if !defined (SCENE_H)
#define SCENE_H
/**
* Thomas Shaffer
* Scene
* 28 Septemeber 2009
*
*/
#include "InstanceObject.h"
class Scene
{
private:
List<InstanceObject>* scene;
Matrix* wnd;
public:
Scene( Matrix* wnd );
virtual ~Scene();
void a... | [
"tjshaffer21@gmail.com"
] | tjshaffer21@gmail.com |
b22c3fb99706c9ccf974d231a10bf7d84b425104 | 30972996fe49561473ee697f76e20b3407a65d96 | /9_task/src/test/Where_test.cpp | b6b33cf3188defa0caeba45c2cc11100da201606 | [] | no_license | carpawell/system_programming | 6918fa360b5b1e236221ee10542220002ae2534f | a5f4a6f91eac8f14958195affa8499df1acf7a4a | refs/heads/master | 2022-03-30T09:52:34.125283 | 2020-01-23T07:50:40 | 2020-01-23T07:50:40 | 234,906,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 897 | cpp | #include <gtest/gtest.h>
#include "myproject/4_task/matrix.h"
using namespace std;
struct where_param {
Matrix<int> input1;
Matrix<int> input2;
Matrix<int> expected_output;
};
class where_test: public ::testing::TestWithParam<where_param> {};
TEST_P(where_test, _) {
const where_param& param = GetP... | [
"pasha.karpiy98@gmail.com"
] | pasha.karpiy98@gmail.com |
d339e5840f017d1845216fbdb0738f8022927a39 | d2c3ceb8041d5355d173cd43192969784ac7e478 | /OPI/2023/Seleccion IOI/Contest 2/Códigos/D/solution.cpp | 18988fb5d241ae2020df7427b97af3f71a4fc108 | [
"MIT"
] | permissive | FOPInformatica/soluciones | cebaece2b42a3b8bfb1ae859fb266845bae57036 | d47dafbb1e8d81c8dac487c544ceedec21ef4e3d | refs/heads/master | 2023-07-05T23:56:50.725854 | 2023-06-26T00:36:05 | 2023-06-26T00:36:05 | 92,699,750 | 8 | 1 | MIT | 2022-06-06T19:44:48 | 2017-05-29T02:11:52 | C++ | UTF-8 | C++ | false | false | 1,173 | cpp | #include <bits/stdc++.h>
#define eb emplace_back
#define re(x, y, z) for (int x=y; x<z; ++x)
#define trav(v, x) for (auto v : x)
using namespace std;
using vi = vector<int>;
using ll = long long;
using vll = vector<ll>;
using iii = pair<pair<int, int>, int>;
const int maxn = 2e3 + 10;
struct Node {
int to, t, c;
Node... | [
"racso_galvan@hotmail.com"
] | racso_galvan@hotmail.com |
33c1f10fe15b57bce0cc9cae704eac4a34587ac2 | 6caee5b61fb3f94973992f499cd0541ea03e8a24 | /arduino/altar/reset.h | b14cf74aa784ca8f7db14f0a993017b7d1ec126c | [] | no_license | nsparisi/locurio | df40d06206434d5ac230732806f9c5afa1be870a | dc11cd00f2ede8dd725aa67b5895f0a8b5220f4f | refs/heads/master | 2021-10-24T12:15:01.646271 | 2019-03-26T02:43:06 | 2019-03-26T02:43:06 | 34,501,868 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 216 | h | #ifndef Reset_h
#define Reset_h
#include <inttypes.h>
class Reset
{
// Pointer to the beginning of program memory; this has the same effect as a reset.
public:
static void(*resetFunc) (void);
};
#endif
| [
"bandrews@mofangheavyindustries.com"
] | bandrews@mofangheavyindustries.com |
1116d31cc2b0a82bb1b2259a15aee7e02af57ec0 | dd827f6656c520ca1fa27663b71f7e1449291307 | /DirectX11Framework/DirectX11Framework/src/GameFramework/framework/Resource/Mesh/Mesh.h | 0e26efc9e27de306fdf7182faede67e05f0cdfc7 | [
"MIT"
] | permissive | MSyun/DX11Study | 6c3965e8e0352efe7f169a7d456d0e2b0ec5575d | 9767c20b8142a088b5c86efd1dcb5ef39e7dbbb9 | refs/heads/master | 2021-01-19T16:17:36.347863 | 2017-10-18T08:43:38 | 2017-10-18T08:43:38 | 88,261,132 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 866 | h | // メッシュ
// 2017.05.12 : プログラム作成
// author : SyunMizuno
#pragma once
#include "../Base/IResource.h"
#include "Pmd/Pmd.h"
#include <vector>
namespace MSLib {
class Mesh : public IResource {
public:
typedef enum {
CHECK_ALL = 0,
CHECK_ALPHA,
CHECK_NOALPHA,
} _eAlphaCheck;
private:
struct SimpleVer... | [
"syun7game8fight7@yahoo.co.jp"
] | syun7game8fight7@yahoo.co.jp |
b09ed26c6bad2e2248b628b51a626b5b83123040 | 951b69aae583da24134fac00e8ca39fb684fc577 | /arduino/opencr_develop/opencr_fw_template/opencr_fw_arduino/src/sketch/turtlebot3/examples/friends/turtlebot3_bike/turtlebot3_bike_motor_driver.cpp | 68f88f1542d2cc4ae6ca519042d5c80d695143fd | [
"Apache-2.0"
] | permissive | ROBOTIS-Will/OpenCR | 6bb9281030c389fc40669ab8d2ea921ac8a4545e | 0787393e189fd790eca6402c9c72574024123450 | refs/heads/master | 2021-06-06T04:33:29.635094 | 2021-05-17T09:32:55 | 2021-05-17T09:32:55 | 138,265,877 | 2 | 0 | Apache-2.0 | 2018-06-22T06:51:25 | 2018-06-22T06:49:31 | C | UTF-8 | C++ | false | false | 4,914 | cpp | /*******************************************************************************
* Copyright 2016 ROBOTIS CO., LTD.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.a... | [
"willson@robotis.com"
] | willson@robotis.com |
17ff6309a627bea8a66c9cd8c61cda0e793873f7 | 7df7a07c07db41e4e8867f645aa3386ed75d9e3b | /Utilities/Utilities/event/Event.h | f70d0312fec994267bf30f2aaebcf12063139b39 | [] | no_license | janie177/Utilities | 9284a3d19e13ce61a28744346c26dbe11a22d902 | 5c270c54dc40e762d57c35d95fda5dfb9c73e898 | refs/heads/master | 2021-06-18T06:20:08.323873 | 2021-05-03T18:21:58 | 2021-05-03T18:21:58 | 202,134,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148 | h | #pragma once
namespace utilities
{
/*
Event is a base class that can be extended to contain other cool functionality.
*/
class Event
{
};
} | [
"janie177@hotmail.com"
] | janie177@hotmail.com |
4bf571b39606fdfe54e43fe384a1e9bf34f6aa65 | 0c0c4d14b6bf9a181c859db119433e97ce76edc9 | /include/complex | 07d3754658fbf15ff65dae1f58393fe88914dd3d | [
"MIT",
"NCSA"
] | permissive | marcinz/libcxx-ranges | d0e748574798ba4926ffad353ac0f254d0294648 | ee4ebf99147da4bbb5356b6ab0e7a79a1bfa0704 | refs/heads/master | 2020-05-19T07:17:43.541160 | 2013-03-01T18:35:48 | 2013-03-01T18:35:48 | 8,189,114 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,637 | // -*- C++ -*-
//===--------------------------- complex ----------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===-------------------------... | [
"hhinnant@91177308-0d34-0410-b5e6-96231b3b80d8"
] | hhinnant@91177308-0d34-0410-b5e6-96231b3b80d8 | |
f3daccbdaac7c0a8a571d4eef059a1476c645f8b | d305e9667f18127e4a1d4d65e5370cf60df30102 | /mindspore/lite/test/ut/src/runtime/kernel/arm/int8/power_int8_tests.cc | 264e54d46732b29874251b91cbc0401538d9d5e6 | [
"Apache-2.0",
"MIT",
"Libpng",
"LicenseRef-scancode-proprietary-license",
"LGPL-2.1-only",
"AGPL-3.0-only",
"MPL-2.0-no-copyleft-exception",
"IJG",
"Zlib",
"MPL-1.1",
"BSD-3-Clause",
"BSD-3-Clause-Open-MPI",
"MPL-1.0",
"GPL-2.0-only",
"MPL-2.0",
"BSL-1.0",
"LicenseRef-scancode-unknow... | permissive | imyzx2017/mindspore_pcl | d8e5bd1f80458538d07ef0a8fc447b552bd87420 | f548c9dae106879d1a83377dd06b10d96427fd2d | refs/heads/master | 2023-01-13T22:28:42.064535 | 2020-11-18T11:15:41 | 2020-11-18T11:15:41 | 313,906,414 | 6 | 1 | Apache-2.0 | 2020-11-18T11:25:08 | 2020-11-18T10:57:26 | null | UTF-8 | C++ | false | false | 5,311 | cc | /**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | [
"513344092@qq.com"
] | 513344092@qq.com |
8cdb8df95e420168e417d650549ee53a3f78fd95 | 6b59885c4a69f2d40f0148e9793636a45428f23b | /DungeonCrawler/FBX/FBXParserLibrary.h | c4405b34ac2773c238e8cc8e9de72a9d2221e2bf | [] | no_license | StevenCederrand/Dungeon-Crawler | cbc8e215e8e7756a9a931be47a7fa3203383dd9e | 5340a5843d38356cb00064c5e2a5f1f246977b48 | refs/heads/master | 2022-01-08T17:23:20.429813 | 2019-05-28T11:47:50 | 2019-05-28T11:47:50 | 178,849,264 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,158 | h | #pragma once
#include <vector>
#include <string>
#include <bitset>
#include <fstream>
#include <iostream>
#include <string>
#include "FBXParserData.h"
namespace FBXParserLibrary
{
void readAndWriteBinaryData(std::string pathToMesh, FBXParserData* fileData);
void saveMainHeader(std::ifstream& binaryFile, FBXParser... | [
"erichallengren@live.se"
] | erichallengren@live.se |
d4e7eb57f33bb3caf882ca0b45da8501f60c9c1a | 2b1964103bd0a98ff501b4888426b91f35a5f4c4 | /cdblock.cpp | b389069e5793e12399be9d1d6fd909e607d7e34c | [
"MIT"
] | permissive | razor85/libyaul_cdblock_demo | 2a4ba01ac36c06c2287a6c408db570a6fbcb4e74 | 133e93c9fe67193e433dfcf69a59d21e3304dc6f | refs/heads/master | 2022-04-13T17:00:51.875006 | 2020-04-11T20:40:36 | 2020-04-11T20:40:36 | 254,902,160 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,148 | cpp | /*
* Copyright (c) 2020 - Romulo Fernandes Machado Leitao
* See LICENSE for details.
*
* Romulo Fernandes Machado Leitao <abra185@gmail.com>
*/
#include "cdblock.h"
#include <cd-block.h>
#include <ctype.h>
// Debugging Functions
// #define DEBUG_CDBLOCK
namespace CdBlock {
namespace {
... | [
"abra185@yahoo.com"
] | abra185@yahoo.com |
9556a6dddf513fb4a15d94a6170e43ad207ddf24 | f2f250eaddaed6899362e44d99e0910bb522e758 | /src/qe/qe.cc | 65f3a11c7a93102f01cf7f3c913484ffb9cb7268 | [] | no_license | pramitchoudhary/MiniDatabaseProject | 986333d338ec03d73584fc252e482308bc8b8519 | b6c49ae99fbf72aafd8c5b7d357021234b15059f | refs/heads/master | 2021-01-25T07:35:19.081765 | 2014-02-26T20:15:54 | 2014-02-26T20:15:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,226 | cc |
#include "qe.h"
#include <iostream>
#include <sstream>
#include <math.h>
#include <sys/stat.h>
#include <time.h>
Filter::Filter(Iterator *input, // Iterator of input R
const Condition &condition // Selection condition
)
{
m_input = input;
// Maintain a copy of the co... | [
"pramitchoudhary@gmail.com"
] | pramitchoudhary@gmail.com |
992e7669d1829ddae46a3f4c0bcd80214599ef6f | 0b070626740788d5af23fcd1cd095e56033308de | /210.cpp | 17e8647927104789fe2824e06ba70c4ae6bc59ab | [] | no_license | xis19/leetcode | 71cb76c5764f8082155d31abcb024b25fd90bc75 | fb35fd050d69d5d8abf6794ae4bed174aaafb001 | refs/heads/master | 2021-03-24T12:53:34.379480 | 2020-02-24T04:25:36 | 2020-02-24T04:25:36 | 76,006,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,482 | cpp | #include <list>
#include <unordered_map>
#include <unordered_set>
#include <vector>
std::vector<int> findOrder(int numCourses, const std::vector<std::vector<int>>& prerequisites) {
// Toplogical sort approach
// See https://en.wikipedia.org/wiki/Topological_sorting
// Use Kahn's algorithm
// graph[i] ... | [
"magichp@gmail.com"
] | magichp@gmail.com |
2d3f10184cc7a566e2e3fbe42843ff5cbf5daa75 | a4853fde22e956533776cd7c6db8e8c4bd8643a6 | /tools/clang/tools/extra/clang-rename/tool/ClangRename.cpp | 74752116ec05360bf8cee264e88150409e7f7a14 | [
"NCSA"
] | permissive | sawenzel/clang | 0ea6cdd2d8df8cb7b7fac552b1ee6d84fe82f3b7 | 5012a87efe37a8635776f554edb28d8864b0ffa7 | refs/heads/master | 2020-04-05T07:25:00.132973 | 2017-01-11T14:43:44 | 2017-01-12T08:23:59 | 156,674,510 | 0 | 0 | NOASSERTION | 2018-11-08T08:29:37 | 2018-11-08T08:29:37 | null | UTF-8 | C++ | false | false | 5,815 | cpp | //===--- tools/extra/clang-rename/ClangRename.cpp - Clang rename tool -----===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"sandro.wenzel@cern.ch"
] | sandro.wenzel@cern.ch |
cfac4513cd478555cd4ca839833158c8ae89fee6 | 3fe692c3ebf0b16c0a6ae9d8633799abc93bd3bb | /Practices/Codeforces/CF587E.cpp | 6284d374c2505e972df66606cbbe08dd6cd436ee | [] | no_license | kaloronahuang/KaloronaCodebase | f9d297461446e752bdab09ede36584aacd0b3aeb | 4fa071d720e06100f9b577e87a435765ea89f838 | refs/heads/master | 2023-06-01T04:24:11.403154 | 2023-05-23T00:38:07 | 2023-05-23T00:38:07 | 155,797,801 | 14 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,731 | cpp | // CF587E.cpp
#include <bits/stdc++.h>
using namespace std;
const int MAX_N = 2e5 + 200;
int n, q, ai[MAX_N], bi[MAX_N];
struct Basis
{
int base[40];
void clear() { memset(base, 0, sizeof(base)); }
void update(int x)
{
for (int i = 31; i >= 0; i--)
if ((x & (1 << i)))
... | [
"kaloronahuang@gmail.com"
] | kaloronahuang@gmail.com |
d666ce79dbc64f2a7a3fa755a61b3f332f431023 | 16990986aa24d36d480e551821ab2fa0d145eff8 | /src/Fault.cpp | 0ad0ecd571d560dcec50052fbd6768d3f805bf18 | [] | no_license | izissise/abstract-vm | e5db0cfcca0c1e93cfc9d7e0e8be80f2570e0b60 | 669ce27210b1ee9ce8c32da1511c3be4f2ce5cd2 | refs/heads/master | 2021-01-19T11:26:41.849480 | 2014-03-02T14:34:19 | 2014-03-02T14:34:19 | 30,887,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | cpp | /*
** FILE for FILE in /home/moriss_h/projet
**
** Made by hugues morisset
** Login <moriss_h@epitech.net>
**
** Started on Mon Oct 8 09:34:29 2012 hugues morisset
** Last update Mon Oct 8 16:20:21 2012 hugues morisset
*/
#include "Fault.hpp"
Fault::Fault(std::string const& err, std::string const& file, std::stri... | [
"hugues.m@hotmail.fr"
] | hugues.m@hotmail.fr |
64c489e2e4ec6fb309f3bb29a1f696fcea8f2d36 | f0b5f8b7ef9d88fdb71bcd97b504808d43b17836 | /main.cpp | 46cb9c2fbf35f46f8f0c15b196d0dd1a31d20e4c | [] | no_license | ferassalous/Tree-Data-Structure | f4a1bce11e8379c946698ff5558ce354d189c90b | 72474d3020e7495a797f7815f1305111d749d2d2 | refs/heads/master | 2020-05-03T16:14:04.388621 | 2019-04-02T14:32:44 | 2019-04-02T14:32:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,168 | cpp | //
// main.cpp
// Project4DataStructures
//
// Created by Feras Salous on 3/14/19.
// Copyright © 2019 Feras Salous . All rights reserved.
//
#include <iostream>
using namespace std;
class Tree
{
protected:
int* myParent; //my tree array
int* data;// pointer to data in my tree.
int root;
int count... | [
"feras.m.salous-1@ou.edugit config --global user.email feras.m.salous-1@ou.edugit config --global user.email feras.m.salous-1@ou.edu"
] | feras.m.salous-1@ou.edugit config --global user.email feras.m.salous-1@ou.edugit config --global user.email feras.m.salous-1@ou.edu |
128ac57142546e5f12417c60cb7c8966fec0a856 | bf325d30bfc855b6a23ae9874c5bb801f2f57d6d | /acm test/春/1/B.cpp | 982392cab05ec8365f7064fc4d115f6e428fb1e4 | [] | no_license | sudekidesu/my-programes | 6d606d2af19da3e6ab60c4e192571698256c0109 | 622cbef10dd46ec82f7d9b3f27e1ab6893f08bf5 | refs/heads/master | 2020-04-09T07:20:32.732517 | 2019-04-24T10:17:30 | 2019-04-24T10:17:30 | 160,151,449 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 389 | cpp | #include<cstdio>
#include<cstring>
char W[10000],T[1000000];
int main()
{
int o,t,i,j,m,n,num;
scanf("%d",&t);
for(o=0;o<t;o++)
{
num=0;
scanf("%s",W);
scanf("%s",T);
m=strlen(W);
n=strlen(T);
for(i=0;i<=n-m;i++)
{
if(T[i]==W[0])
{
for(j=0;j<m;j++)
{
if(T[i+j]!=W[j])
break;
... | [
"33283268+sudekidesu@users.noreply.github.com"
] | 33283268+sudekidesu@users.noreply.github.com |
17953c6a6fb355441311f46f5928b72a79dabf08 | 07ee17f9fb57c0ccc9e4fe2c18410bd3f3eeec34 | /program/inc/FearPlayerPSC.h | f7e0cfa71a2aa358004905659b0323d309c3a255 | [] | no_license | AlexHuck/TribesRebirth | 1ea6ba27bc2af10527259d4d6cd4561a1793bccd | cf52c2e8c63f3da79e38cb3c153288d12003b123 | refs/heads/master | 2021-09-11T00:35:45.407177 | 2021-08-29T14:36:56 | 2021-08-29T14:36:56 | 226,741,338 | 0 | 0 | null | 2019-12-08T22:30:13 | 2019-12-08T22:30:12 | null | UTF-8 | C++ | false | false | 4,835 | h | #pragma once
#include "netPacketStream.h"
#include "Console.h"
#include "SimMovement.h"
#include "Player.h"
#include "PlayerManager.h"
#include "simAction.h"
#include "Item.h"
class PlayerPSC : public Net::PacketStreamClient
{
typedef PacketStreamClient Parent;
friend class FearGame;
friend class FearCSDelegate;
... | [
"alexhuck1@cox.net"
] | alexhuck1@cox.net |
ff6de001b734e62c48cb11a534cacf07d6e25ae6 | 9fcf23cfd101379172fd70f736540e51488e9abb | /lancer_arduino_prog/lancer_pid_cascade/lancer_pid_test_cascade_latest_ROS/lancer_pid_test_cascade_latest_ROS.ino | e7115edc81ccb415cf5670e85086809a8bb08c1d | [] | no_license | KobayashiRui/Lancer_robot | ad3f8e0c98ec103254ababa8459065fea1fcef13 | 2c0995d155905c0fe87a0fcefed07441364b13ba | refs/heads/master | 2020-03-16T07:21:22.404154 | 2018-07-25T07:32:01 | 2018-07-25T07:32:01 | 132,574,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,428 | ino | #include "I2Cdev.h"
#define USE_USBCON
#include <ros.h>
#include <std_msgs/Int16MultiArray.h>
#include "MPU6050_6Axis_MotionApps20.h"
#if I2CDEV_IMPLEMENTATION == I2CDEV_ARDUINO_WIRE
#include "Wire.h"
#endif
#include<TimerThree.h>
#include<TimerOne.h>
//pin設定-----------------
const int Dir_pin1 = 5;
const int Dir_... | [
"roboroborx782@gmail.com"
] | roboroborx782@gmail.com |
a9a9120973848063ec8a56a7618bfeaf275be45a | 47cd4e2be27c39a9242dd0bc57b195c293cd93d5 | /Contest6/14.cpp | d5525187a8ab799d12b828985045ce6312585334 | [] | no_license | ntung1005/Algo | 18b403eb636333aa318b99fa37238403a21eef71 | 3e0942dc471ba03bb2da3736ebcc43f786834aec | refs/heads/master | 2022-11-30T22:34:58.865637 | 2020-08-08T10:35:12 | 2020-08-08T10:35:12 | 264,919,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | cpp | #include<bits/stdc++.h>
using namespace std;
bool checkNguyenTo(int i){
if(i<2) return false;
for(int j=2;j<i;j++){
if(i%j==0) return false;
}
return true;
}
int main(){
int t;
cin>>t;
while(t--){
int n;
cin>>n;
vector<int> a;
vector<int> result;
a.clear();
result.clear();
for(int i=0;i<n;i+... | [
"ntung7965@gmail.com"
] | ntung7965@gmail.com |
8f6a1847cb97de204dffb5650dcb07e21f4bc69a | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE78_OS_Command_Injection/s03/CWE78_OS_Command_Injection__char_environment_w32_spawnv_84a.cpp | 3b2af06ace409ead5ca49ac0d25c8093397a5ae1 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 2,377 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_environment_w32_spawnv_84a.cpp
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-84a.tmpl.cpp
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: environment Read input fr... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
0bf3232f653e6a8ae6064175a944c2c80db82ef2 | 238bd2de16d774fa144fdfb2f14c92a78f0c77c0 | /chapter09/main.cpp | 42df77284f0c6aeacc7185ea7de3521dbd944541 | [] | no_license | Mipmap/glslcookbook | a18474c24af22ba139311642d8291f6225e5f119 | cde0d49a014fe3cecc9fce77221d9e02162c580c | refs/heads/master | 2021-01-17T07:44:46.075180 | 2013-05-23T18:36:01 | 2013-05-23T18:36:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,112 | cpp | #include "cookbookogl.h"
#include <GL/glfw.h>
#include "glutils.h"
#include "scenefire.h"
#include "sceneparticles.h"
#include "sceneparticlesfeedback.h"
#include "sceneparticlesinstanced.h"
#include "scenesmoke.h"
#include "scenewave.h"
#define WIN_WIDTH 800
#define WIN_HEIGHT 600
Scene *scene;
str... | [
"davidwolff@siggraph.org"
] | davidwolff@siggraph.org |
04bec7c02f31947378e3de15390829364422c453 | 8d30ffc4c36d0c7ce5c8df49132fe8f8930902cb | /C++/phonePayMatrixBfs.cpp | 79b79040fd55822b79a3b330834352d4552a97f5 | [] | no_license | abhi-repos/c-CodingSolutions | dafc068108280fa87162f84978fb289582e65c34 | 28edad2b5c3c95ef8dd5eaa47b9a3a8a9095da84 | refs/heads/master | 2021-07-11T01:49:37.957054 | 2020-07-13T13:08:10 | 2020-07-13T13:08:10 | 172,229,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,271 | cpp | /*
Input Sample
4 5
YNNYN
YYYNN
NNNYY
NNNYN
*/
#include<bits/stdc++.h>
using namespace std;
int dx[]={0,1,-1,0},dy[]={1,0,0,-1},n,m,a[1000][1000],fact[100000];
bool visited[1000][1000];
void bfs(int i,int j)
{
int x,y,k;
visited[i][j]=true;
queue <int> qx,qy;
qx.push(i),qy.push(j);
while(!qx.empty())
{
x=qx.... | [
"abhishek10001kumar@gmail.com"
] | abhishek10001kumar@gmail.com |
4f88907454ddc9f2b2ab7959550e0a7f838703aa | 3f012afcb5e2087300bffd726c0d8317afbf8ce2 | /models/book.cpp | dad8ce4adf9e537320e5bc22fa0353c472f808ab | [] | no_license | zhangtianxiang/library_management_system | 3501e44111831e35e167c3f42e29efc1c45ce20e | 167e0ddd4de2d06e794f4b10b3b795a459662e3d | refs/heads/master | 2020-05-25T13:14:38.598965 | 2019-05-21T10:43:54 | 2019-05-21T10:43:54 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,290 | cpp | #ifndef __BOOK_MODEL__
#define __BOOK_MODEL__ 1
/**
* 定义图书存储结构及相关操作
*/
#include "../tools/basetool.cpp"
#include "../tools/datatool.cpp"
#include "../configs/config.h"
#include "hash.cpp"
/// 单本图书
class Book {
public:
int id; // unique primary key
ll ISBN; // 书号 13位 可检索 已检索
string bo... | [
"ztx97@qq.com"
] | ztx97@qq.com |
0fd4f195cb7787dacebb97b4ff0db840ce9c84f2 | 0e5ba747f249cbcba193e300a0b7ff9f486daa32 | /SDL_1.2/wayang_sandbox/01_test.cpp | df9cced43bb29e064f419a179d0638b34b9e62e6 | [] | no_license | f-fathurrahman/ffr-cpp-stuffs | f3574dad3db0d1acd28cf776c5c77503b3be14c0 | bd1b4b6f2e5a0aac179a9dbcda27be0d3d244ffd | refs/heads/master | 2021-12-01T00:30:33.123609 | 2021-11-01T12:21:58 | 2021-11-01T12:21:58 | 99,059,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 489 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <SDL.h>
#include <SDL_image.h>
#include <SDL_ttf.h>
#include "sprig/sprig.h"
#include "wayang/wayang.h"
int main()
{
printf("LATIHAN SDL 2017\n");
kOpen(800, 600, "images/layar/infantis_146.jpg");
kSetCaption("Test");
kSetCaption("ffr ca... | [
"fadjar.fathurrahman@gmail.com"
] | fadjar.fathurrahman@gmail.com |
dc76622073db9251eec8155d7a03ee6e3b90bc09 | f2c9f9bd763c94fb440aa929320de8c5d0f9da71 | /draw1c/draw_engine.h | 2db4ef93b963cda6b8847267eea019e3bf7223cf | [] | no_license | Dimadze/NativeAPI | af7e285967219e6f5325e79639adce38e65c2548 | ef7c50aa26cb93d9c80f0c63c128835daefa1185 | refs/heads/master | 2021-01-10T18:04:02.233331 | 2015-11-08T21:17:47 | 2015-11-08T21:17:47 | 45,799,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,095 | h | #ifndef __DRAW1C_H__
#include "windows.h"
#include "draw_out.h"
#include <GdiPlus.h>
using namespace Gdiplus;
typedef struct {
unsigned char a;
unsigned char r;
unsigned char g;
unsigned char b;
} DrawColor;
class Draw1C
{
private:
DrawOut1C *v_out;
public:
Image *canvas;
wchar_t canva... | [
"dimadze@bk.ru"
] | dimadze@bk.ru |
856799409f83461c31a2740ef191ba3a49a53f8e | 8f680f6a7f1bf550ad39bcfa37f613dd57062f55 | /src/dynamic_programming/23_longest_common_subsequence/tworow.cpp | ebc5804c4b0021fda32e8ebe6c4ee58174a1a83d | [] | no_license | Hdbcoding/cpp_scratchpad | 6cd85a816f7f1251b3ac6cd66479785cc8cf9151 | 230cdcbf544c68c392be51abd8e12112be6bd292 | refs/heads/master | 2023-03-07T03:34:45.012358 | 2021-02-21T17:34:06 | 2021-02-21T17:34:06 | 277,338,529 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | #include <string>
#include <vector>
#include "tworow.hpp"
using namespace std;
int tworow::lcs(const string &w1, const string &w2)
{
vector<vector<int>> dp(2 + 1, vector<int>(w2.size() + 1));
for (int i = 0; i < w1.size(); ++i)
{
for (int j = 0; j < w2.size(); ++j)
{
if (w1[i]... | [
"hdbyrd1@gmail.com"
] | hdbyrd1@gmail.com |
40258bd3e8e8f9024fe7b8294ad73113a1c5e1c6 | edb50c09783d2c20927ecebc628e3c784983b2ad | /Practice/CollisionManager.h | bfc7be3f036898b9d50fbb863f7abe5dfd035c14 | [] | no_license | NguyenThanhTung1310/FrameWork | e9da739652168f71ee6328c8c5560f004dd04d72 | 23985d99e08c7ed7dc77b6b1fdd065212c114f61 | refs/heads/main | 2023-06-16T09:10:59.378668 | 2021-07-12T09:32:25 | 2021-07-12T09:32:25 | 385,190,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | h | #pragma once
#include "Object.h"
#include "Rectangle.h"
#include "Circle.h"
#include <vector>
using namespace std;
class CollisionManager : public Object
{
public:
CollisionManager();
~CollisionManager();
float GetWidth();
float GetHeight();
float GetRadius();
void Render();
void Update(float de... | [
"noreply@github.com"
] | NguyenThanhTung1310.noreply@github.com |
b68ddc466fc0013274db68a823442b8358a4dba5 | c4bd1c4ef5e13d545e9f9e70c9f73991bf9653a4 | /data-structures/linked-list/linked-list.h | 24b4cac11daa4d81fbc8f639ad60c7e005494150 | [] | no_license | john-echelon/cpp-dsa | e01d824e32db05371f03934c5b1a24a2b79f24d5 | ac052355f3ec2e929c034e874273d1c212ebe919 | refs/heads/master | 2022-12-23T22:43:29.797144 | 2022-12-12T21:24:44 | 2022-12-12T21:24:44 | 182,900,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,512 | h | #ifndef LINKED_LIST_H_
#define LINKED_LIST_H_
#include <iostream>
template <class T>
struct Node {
T data;
Node * prev, *next;
Node(){
prev = next = 0;
}
Node(const T & el, Node * p =0, Node * n = 0)
{
data = el; prev = p; next = n;
}
};
template <class T>
class LinkedLis... | [
"johshin@gmail.com"
] | johshin@gmail.com |
230c7eb7339669d1faee639474dea0c042d8e411 | 085af71cbbdfa3cf5602c344d1f3788d2595bb94 | /src_synthetic/src_Adaptivity/PatternMatcher.cpp | 961ae9add5d061f7ddaee0c241e5e1c3c45a9eb5 | [] | no_license | zbjob/AthenaCEP | ba0406af3f4bb1c79a700da6e30034f171ccdf68 | b04d8b093b60445d6e9dacba22bd84abb56e9a14 | refs/heads/master | 2021-06-30T00:42:01.258214 | 2020-10-06T10:23:31 | 2020-10-06T10:23:31 | 168,676,787 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 39,540 | cpp | #include "_shared/GlobalClock.h"
#include "PatternMatcher.h"
#include <assert.h>
#include <emmintrin.h>
#include <algorithm>
#include <iostream>
#include <chrono>
#include <ctime>
#include <cstdlib>
#include <string>
#include "Query.h"
#include <time.h>
#include <random>
using namespace std;
using names... | [
"bo.zhao@informatik.hu-berlin.de"
] | bo.zhao@informatik.hu-berlin.de |
895541c1df1de79d69d079f7d7739563c0bfd4cf | 3054ded5d75ec90aac29ca5d601e726cf835f76c | /Training/URI/Mathematics/1989 - Doing Nothing.cpp | 3ff9bd9b1ad18f12f8d1f2aa6561e6ffbf1ad535 | [] | no_license | Yefri97/Competitive-Programming | ef8c5806881bee797deeb2ef12416eee83c03add | 2b267ded55d94c819e720281805fb75696bed311 | refs/heads/master | 2022-11-09T20:19:00.983516 | 2022-04-29T21:29:45 | 2022-04-29T21:29:45 | 60,136,956 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 389 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int MAX_N = 1e5;
int main() {
ll arr[MAX_N + 10]; arr[0] = 0;
ll n, m;
while (cin >> n >> m && n != -1 & m != -1) {
for (int i = 1; i <= n; i++) {
ll x; cin >> x;
arr[i] = x * m + arr[i - 1];
}
ll ans = accumulate(... | [
"yefri.gaitan97@gmail.com"
] | yefri.gaitan97@gmail.com |
accf97048275c41d1ce4476bfe9592a9fb928245 | b991b3822572e13c1a0e17f037564326d4932ff6 | /find-the-index-of-the-first-occurrence-in-a-string/Wrong Answer/3-1-2020, 8_21_00 PM/Solution.cpp | 8b80c7b3fb9423b5ccdce1e031f1ecfca5ddcd5a | [] | no_license | isaigm/leetcode | 8f1188a824e78f11b8223302fe625e9a8bf9262a | e53b04a9f627ff95aaae9f8e5315f5f688c6b9e2 | refs/heads/master | 2023-01-06T02:07:41.118942 | 2022-12-31T23:13:20 | 2022-12-31T23:13:20 | 248,679,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | cpp | // https://leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-string
class Solution {
public:
int strStr(std::string haystack, std::string needle) {
if(!haystack.compare(needle)) return 0;
if (haystack.length() >= needle.length())
{
int len = needle.length();
for (in... | [
"isaigm23@gmail.com"
] | isaigm23@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.