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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9a27618d9bab7ca938b5e85b94014356ada2ded2 | 2acf847fa974c1070c8e93af55a9d02c2f51374d | /sources/Shell/Shell.h | f194d115bd8d932f4dff932bbe1a33a64060070a | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | ezhangle/XieXie-2 | dfcfb41a902df5dad35afb391bab3dab92546bc2 | 522714d8f5ad49c3362014911e5891b423333c26 | refs/heads/master | 2021-01-09T06:23:20.023991 | 2016-07-14T12:47:26 | 2016-07-14T12:47:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | h | /*
* Shell.h
*
* This file is part of the "XieXie 2.0 Project" (Copyright (c) 2014 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#ifndef __XX_SHELL_H__
#define __XX_SHELL_H__
#include "Log.h"
#include "StreamParser.h"
#include <istream>
#include <string>
#include <vector>
class Shell
{
... | [
"lhlukash23@googlemail.com"
] | lhlukash23@googlemail.com |
82bf82c3946a1781361983a332554c0383b08cf9 | 058c9e0988d1ccd14ee1f5509007da51b229e3e5 | /Destructible_demo/Source/Destructible_demo/PunchThrowAnimNotifyState.cpp | 3c1e5b7606182d0487dc8eb35cfc295aa18efccb | [] | no_license | AlbertBoll/UE4-charcter-action-system | aa017a73c04696ff806ed1d7370169e0b4ec495c | b197619eaae89ed57d586b83c3d621e4f20111e2 | refs/heads/master | 2020-09-25T12:36:35.403927 | 2019-12-11T17:53:06 | 2019-12-11T17:53:06 | 226,006,407 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,122 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Engine.h"
#include "Destructible_demoCharacter.h"
#include "PunchThrowAnimNotifyState.h"
void UPunchThrowAnimNotifyState::NotifyBegin(USkeletalMeshComponent* MeshComp, UAnimSequenceBase* Animation, float TotalDuration)
{
//GEngi... | [
"ad58039330@g.ucla.edu"
] | ad58039330@g.ucla.edu |
b5e6996cdfb7e500f12cf8c07084bd26c6d9ab14 | f77a2f9cf98e3697deaefa99c24e35ffb6689db8 | /toonz/sources/include/toonz/scriptbinding_image_builder.h | 5eb2a9d8b51cef2369004c6bdcc9a07e5c882451 | [
"BSD-3-Clause"
] | permissive | Emasoft/opentoonz | 0adca8dbf43205549248adc9ebaa5ac63d407c03 | 663ee2ab9ef8fadc2f25b70535cb2e0a65250862 | refs/heads/master | 2021-01-17T14:19:51.163186 | 2016-04-21T10:04:28 | 2016-04-21T10:04:28 | 56,930,005 | 1 | 0 | null | 2016-04-23T16:46:07 | 2016-04-23T16:46:07 | null | UTF-8 | C++ | false | false | 1,357 | h |
#ifndef SCRIPTBINDING_IMAGE_BUILDER_H
#define SCRIPTBINDING_IMAGE_BUILDER_H
#include "toonz/scriptbinding.h"
class ToonzScene;
class TXshSimpleLevel;
namespace TScriptBinding
{
class DVAPI Transform : public Wrapper
{
Q_OBJECT
TAffine m_affine;
public:
Transform();
Transform(const TAffine &aff);
~Transform... | [
"shimizu.toshihiro@gmail.com"
] | shimizu.toshihiro@gmail.com |
c62b4c9711f028763609a30706eac3542adf027d | 3f44f7b8bade5fe25a023cacfd15368b20d42722 | /cpp/16/person2.cpp | 1ba5a03b0dddf8b2de98c0133d38015b7dbfc429 | [] | no_license | qjatn114/Study | 86dc6aa38253baaf730d176fdb7a0021711d4197 | 8f6b9a2f796de2141652db3604a4992ab4c41ea6 | refs/heads/master | 2023-01-08T17:56:49.253851 | 2019-07-01T01:22:20 | 2019-07-01T01:22:20 | 194,195,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,037 | cpp | #include <iostream>
#include <stdlib.h>
#include <string.h>
using namespace std;
class Person
{
private:
int age;
char name[30];
char job[20];
public:
Person(int i);
Person(char *s,char *c);
void setAge(int i);
int getAge(void);
void setName(char *c);
char *getName(void);
void setJob(char *c);
char *ge... | [
"wjdqjatn114@gmail.com"
] | wjdqjatn114@gmail.com |
ad0925ee57125296567f4bb9a4ab73e5d048fb14 | 952a5e4b1d7305e6ab7d91f31f910729b04fdf25 | /src/constraints/direct/translators/translator.cxx | b24da7b5fb1c070843e12b59fdb1e8d553f07198 | [] | no_license | javiermtorres/fs | a62e7ebe81ee383b04f45894c78b90085be5d93c | 70e727aed65ac132fce1af972f562acfcd4ba35d | refs/heads/master | 2021-12-12T23:33:47.521831 | 2017-03-06T14:10:13 | 2017-03-06T14:10:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,924 | cxx |
#include <constraints/direct/translators/translator.hxx>
#include <languages/fstrips/terms.hxx>
#include <languages/fstrips/effects.hxx>
#include <constraints/direct/builtin.hxx>
#include <constraints/direct/compiled.hxx>
#include <problem.hxx>
#include <constraints/registry.hxx>
#include <aptk2/tools/logging.hxx>
#in... | [
"guillem.frances@gmail.com"
] | guillem.frances@gmail.com |
6a697bb2baa59f355cdcf97d54a34664d94c23df | bbb808e77135b6552db908bcc086dc2dd7c3d573 | /math/box-model/3-cfgm101147-G.cpp | 8447f993d8984723182bd2ffcddd5fc154d4c7ce | [] | no_license | cfeitong/ACM-problem-archive | fda3c9e6bed051e209fe1de7e86a41ac9730a49f | 77d7b7488121fd9d2deaba223d01f4afedee5b9f | refs/heads/master | 2020-05-22T04:38:47.130189 | 2017-03-30T10:37:12 | 2017-03-30T10:37:12 | 65,458,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 749 | cpp | #include <cmath>
#include <iostream>
using namespace std;
typedef long long LL;
const LL MOD = 1e9 + 7;
const int N = 1e3 + 5;
LL S[N][N];
int main() {
#ifdef D
freopen("g.in", "r", stdin);
#else
freopen("galactic.in", "r", stdin);
#endif
int T;
S[1][1] = 1;
for (int i = 2; i < N; i++)
... | [
"cfeitong@gmail.com"
] | cfeitong@gmail.com |
74df6dccf6c918db0f30f9f51af3529e3bf3b1ac | 06ed081966adfbcd212eb57050f8cceb4f8faea7 | /BinaryTreePostorderTraversal.cpp | 3897025014fcc2edb43c1585b3ad2b67f93ce26c | [] | no_license | ak638/leetcode | 8ccc5c1509dce4e1de52216ce1031327f5fb0a74 | 8a1829041718c3849150ad2fe30dde795289d635 | refs/heads/master | 2021-06-07T13:32:37.569282 | 2019-03-20T03:58:12 | 2019-03-20T03:58:12 | 26,021,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,949 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string>
#include <stack>
#include <queue>
#include <vector>
#include <set>
#include <unordered_set>
#include <map>
#include <unordered_map>
#include <string.h>
#include <cmath>
using namespace std;
/**
* Definition for binary tree
* struct TreeNode {
* int... | [
"wuhuadong1010@gmail.com"
] | wuhuadong1010@gmail.com |
958be30c63e0b15453e1a79bbb44b21b5d64f317 | 852a78042cac151d8e8525a92661e1410f0447fc | /practica20/utils.cpp | 12c68ea08ffb4751511e211b7448cfccb872f700 | [] | no_license | gonzalomvp/cpp-exercises | 0f4cb458f789ce73f07b1610ca1af68151b2b45d | 3dabffc12af0804ac4f1b60149aa92d1c0f2e679 | refs/heads/master | 2020-04-04T13:48:53.317678 | 2018-11-03T11:17:56 | 2018-11-03T11:17:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | cpp | #include "stdafx.h"
#include "utils.h"
short int intToShort(int i)
{
short int ret = static_cast<short int>(i);
if (i > MAX_SHORT)
{
ret = MAX_SHORT;
}
else if (i < MIN_SHORT)
{
ret = MIN_SHORT;
}
return ret;
} | [
"gonzalo.villaescusa@live.u-tad.com"
] | gonzalo.villaescusa@live.u-tad.com |
081807877be149d04a420af9f30e05823b856dbc | 0e9394230899fd0df0c891a83131883f4451bcb9 | /test/constant/scalar/minlog2.cpp | 5ca5ebd454ef3d2a02492c831a91d8562fbfb2e6 | [
"BSL-1.0"
] | permissive | WillowOfTheBorder/boost.simd | f75764485424490302291fbe9856d10eb55cdbf6 | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | refs/heads/master | 2022-05-02T07:07:29.560118 | 2016-04-21T12:53:10 | 2016-04-21T12:53:10 | 59,155,554 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,517 | cpp | //==================================================================================================
/*!
Copyright 2015 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//====================================... | [
"charly.chevalier@numscale.com"
] | charly.chevalier@numscale.com |
0459a63fb5113b2e442bfd2d27558d3d4c313a52 | d7862ebb87a64734dfc9fbbec880be82ddab1f1c | /C++/Tree/114.FlattenBinaryTreetoLinkedList.cpp | a0edfbc9df5fbfcda491d5b6313af7c4b08b1a46 | [] | no_license | Bocabbage/Leetcode | 8b7451e5f8f64a467f57f48d86a3bfa1ceca262f | 4cd96f96b534fdfe64557daab6f0c9c06890ee7b | refs/heads/master | 2022-09-28T13:21:56.675022 | 2022-09-21T03:11:13 | 2022-09-21T03:11:13 | 203,577,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,445 | cpp | /*
Title: 114.FlattenBinaryTreetoLinkedList.cpp
Update date: 2022/04/27
Author: Zhuofan Zhang
*/
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* ... | [
"378066505@qq.com"
] | 378066505@qq.com |
b164b8d2ff5ffe5fc1d8540c72420876ccc041f1 | e6725534568aa25f8a9d225588a0704b16cca7d4 | /src/CTimerOLD.cpp | 315bb485677c937314fa4d094bcb85abedc235d1 | [] | no_license | deadlydog/Blasteroid | d9f4da13c255684f6de0c3b739d63fce026cf9e7 | 25f80a738c5f017d675a936004ac06f64cc3fc22 | refs/heads/master | 2022-12-22T14:25:49.984740 | 2020-09-21T14:36:27 | 2020-09-21T14:36:27 | 297,231,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,260 | cpp | // CTimer.cpp
#include "CTimer.h"
//********** CClock Functions **********
// Initialize the Instance pointer to NULL
CClock* CClock::mScpInstance = 0;
unsigned long CClock::mSulSavedTime = 0;
// Constructor - Does nothing
CClock::CClock()
{}
// Destructor - Does nothing
CClock::~CClock()
{}
// Returns a pointe... | [
"deadlydog@hotmail.com"
] | deadlydog@hotmail.com |
6e1bff7d9b8b4fb957a4218cfb73d58116a8105b | 2e5e84f1fc80d2e9f5a642c4d7eea44cc3cb33f6 | /sys/src/games/doom/i_net.c | 945287eaf7a46a8da6247a0e82801dc55103a427 | [] | no_license | mischief/9problems | d5554f1ae5db64675cff297359b18fa7ba042acb | e2b4afd35e8648f7d449af427213e725d8fa3140 | refs/heads/master | 2020-12-25T15:18:57.556379 | 2017-07-24T21:48:50 | 2017-07-28T00:38:22 | 18,060,067 | 11 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,581 | c | // Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id:$
//
// Copyright (C) 1993-1996 by id Software, Inc.
//
// This source is available for distribution and/or modification
// only under the terms of the DOOM Source Code License as
// publi... | [
"cinap_lenrek@localhost"
] | cinap_lenrek@localhost |
dec70c804e7895757fa0f792b3f66cad7c718c3a | 0f7a4119185aff6f48907e8a5b2666d91a47c56b | /sstd_utility/windows_boost/boost/asio/basic_raw_socket.hpp | 360d4049768981fe33044ee1d4657eba477a7f60 | [] | no_license | jixhua/QQmlQuickBook | 6636c77e9553a86f09cd59a2e89a83eaa9f153b6 | 782799ec3426291be0b0a2e37dc3e209006f0415 | refs/heads/master | 2021-09-28T13:02:48.880908 | 2018-11-17T10:43:47 | 2018-11-17T10:43:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,593 | hpp | //
// basic_raw_socket.hpp
// ~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff 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)
//
#ifndef BOOST_ASIO_BASIC_R... | [
"nanguazhude@vip.qq.com"
] | nanguazhude@vip.qq.com |
e69772da2de0d45234cc0828f9d192018f442278 | 471e7253cc79f86d47c1e53b493131c748364d45 | /GasRemote/CE/winceCompass/ini_parser.cpp | 684256fb7e4af54db80923e5fe5cf3691f32d4e8 | [] | no_license | Quenii/adcevm | 9ed6dff30eac0dd12ecbf08ff19e555aff25c0ca | b15ad0dd33a64f26fc89dbe9c595f80abbf99230 | refs/heads/master | 2016-09-06T11:00:06.719515 | 2014-12-26T08:12:31 | 2014-12-26T08:12:31 | 34,307,888 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 39,088 | cpp | /*
Ultra Light INI Parser
Copyright (C) 2011 Grigor Margaritov
g66666@yahoo.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at ... | [
"quenii@e4c55939-9875-e5a8-f322-dd768a204feb"
] | quenii@e4c55939-9875-e5a8-f322-dd768a204feb |
f3a9c3e375f8f922d65db025dcbacb081b1f3db8 | e46b909cdf0361f6c336f532507573c2f592cdf4 | /catboost/cuda/cuda_lib/cuda_events_provider.h | 91e33a21dc948e90f59077dfac5ec6154618c296 | [
"Apache-2.0"
] | permissive | exprmntr/test | d25b50881089640e8d94bc6817e9194fda452e85 | 170138c9ab62756f75882d59fb87447fc8b0f524 | refs/heads/master | 2022-11-01T16:47:25.276943 | 2018-03-31T20:56:25 | 2018-03-31T20:56:25 | 95,452,782 | 0 | 3 | Apache-2.0 | 2022-10-30T22:45:27 | 2017-06-26T14:04:21 | C++ | UTF-8 | C++ | false | false | 3,995 | h | #pragma once
#include "cuda_base.h"
#include <util/system/spinlock.h>
#include <util/generic/vector.h>
namespace NCudaLib {
class TCudaEventsProvider {
private:
TVector<cudaEvent_t> FreeHandles;
TVector<cudaEvent_t> FreeHandlesWithoutTiming;
static const ui64 RequestHandlesBatchSize = ... | [
"exprmntr@yandex-team.ru"
] | exprmntr@yandex-team.ru |
aa9d6ea8801429bdcdf68279499f016afd3fdf10 | 3d3bc8c9aeefd7cf3c37a6916ff8977f100d3986 | /Aroma/include/aroma/render/Shader.h | 97bbd74332d9cf69e1fbe13fef4fba471dcb6d39 | [] | no_license | d0kusounko/Aroma | 8e672cfac8074c863e98509368318abcae893764 | c129bfbd8566f66329112e6eb7f9ac40d8cc3899 | refs/heads/master | 2020-04-03T07:31:21.953788 | 2018-11-27T15:46:31 | 2018-11-27T15:46:31 | 155,101,956 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,724 | h | //===========================================================================
//!
//! @file Shader.h
//! @brief シェーダー.
//!
//! @author Copyright (C) DebugCurry. All rights reserved.
//! @author d0
//!
//! @todo TODO: インターフェース化してステージ毎にオブジェクト作成.
//!
//======================================================... | [
"do.ventilator@gmail.com"
] | do.ventilator@gmail.com |
dd3295fac74426596f58ae1eae27e664f70ebd69 | 571e83121fc1a751a436c734593407ca07393450 | /Reverse words in a given string.cpp | 267e1133c21e56fc8eacafaea04ace036fd04bcb | [] | no_license | AnuragVishu/programming-challanges | 293f82a4ac62a9b85eaefe4f74c74438c3ac18ad | e7cbb1a67a3a537789586393750ebe7b11aecea1 | refs/heads/master | 2020-05-03T09:00:03.545007 | 2019-04-15T10:14:50 | 2019-04-15T10:14:50 | 178,542,009 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,902 | cpp | // Given a String of length S, reverse the whole string without reversing the individual words in it. Words are separated by dots.
// Input:
// The first line contains T denoting the number of testcases. T testcases follow. Each case contains a string S containing characters.
// Output:
// For each test case, in a ne... | [
"anurag.vishwakarma9@gmail.com"
] | anurag.vishwakarma9@gmail.com |
5e28a809b2fbdecc54551362b3da4c462078b39c | f6baf8dfd97a4fd5357e80565a40450fa2c0a50f | /Source/RN4UE4_Sample/RN4UE4_SampleGameMode.h | 9c3fccf2ed46f889287af610a39d514948203ae3 | [] | no_license | dev-game-bj/RN4UE4_Sample | aabce977b7a6e239cd796344897411691f073f7e | 8f513b18f02aae12b76044065674bad28bb70351 | refs/heads/master | 2021-06-06T06:02:08.246031 | 2016-04-26T06:57:43 | 2016-04-26T06:57:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/GameMode.h"
#include "RN4UE4_SampleGameMode.generated.h"
/**
*
*/
UCLASS()
class RN4UE4_SAMPLE_API ARN4UE4_SampleGameMode : public AGameMode
{
GENERATED_BODY()
};
| [
"yujen-cheng@corp.capcom.co.jp"
] | yujen-cheng@corp.capcom.co.jp |
1fc16209452e914a585fb64219434be026880645 | aff6b50535b9791bbff77af5d4f3ce52fb60041d | /Skateboard.cpp | c4d6153b381af4e5ad9c785c9c525e84681455a0 | [] | no_license | StephenJohnson42/assignment2 | 074f1e18292658596cba1cb7b6dd3a721b3df4f6 | bb64ad49b96e024c2a0b8fc6043e871a7ccd8942 | refs/heads/master | 2020-08-05T20:40:44.555275 | 2019-10-04T14:27:01 | 2019-10-04T14:27:01 | 212,702,593 | 0 | 0 | null | 2019-10-03T23:47:58 | 2019-10-03T23:47:58 | null | UTF-8 | C++ | false | false | 991 | cpp | //
// Created by Stephen Johnson 10/3/2019
//
#include "Skateboard.h"
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
//#include <string>
#include <cmath>
Skateboard::Skateboard(string brand, string model) {
setBrand(brand);
setModel(model);
}
Skateboard::~Skateboard() = default;
dou... | [
"54747618+StephenJohnson42@users.noreply.github.com"
] | 54747618+StephenJohnson42@users.noreply.github.com |
6f158dade7d4e5577cd61d4ad541dcf884fcf929 | e97b6f3998817e0fb22bc7b2c8d87294957496d4 | /include/CUDA-10.2/cuda/std/detail/libcxx/include/initializer_list | 122c23c3d3edfd6dfe1c2c60615bd4e443da0a76 | [
"LLVM-exception",
"Apache-2.0"
] | permissive | ShawnZhong/CUDA-Programming-Starter-Kit | 9652e9ff664313fffaeb6914cf157126fbc3e2fd | 4bb768272359fb26c85f094ff5b0b313d7b6360f | refs/heads/master | 2022-04-20T23:09:54.584635 | 2020-02-23T10:13:44 | 2020-02-23T10:13:44 | 240,697,043 | 4 | 1 | null | 2020-02-22T14:50:16 | 2020-02-15T11:31:25 | C++ | UTF-8 | C++ | false | false | 2,930 | // -*- C++ -*-
//===----------------------- initializer_list -----------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===------------... | [
"github@shawnzhong.com"
] | github@shawnzhong.com | |
a3bdc2755a256a30548b4b60fb85b739ef84a5d5 | 4e1b057f689a182c24a3b627410ae90c40eb02fe | /cpp/util/closure.h | b720fa16ded0bab1d6c2d98a9df55dacbf2c9e0a | [] | no_license | leoYY/workspace | 60fe0c613e6e22e233bef309d8ed39a7452ce0b5 | 7da9bac4151e85143a7a7d609485e8a89d0d6ca6 | refs/heads/master | 2021-01-13T01:35:59.464194 | 2015-01-16T17:34:29 | 2015-01-16T17:34:29 | 8,631,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,043 | h | // Copyright (c) 2015 Baidu.com , Inc. All Rights Reserved
// @author: yuanyi (yuan.yi.coding@gmail.com)
// @brief :
#ifndef _CLOSURE_H_
#define _CLOSURE_H_
namespace common {
namespace util {
class Closure : public noncopyable {
public:
Closure() {}
virtual ~Closure() {}
virtual void Run() = 0;
}... | [
"yuan.yi.coding@gmail.com"
] | yuan.yi.coding@gmail.com |
fd76e991b86abbb12e3619d2ed0f17dc46b1a85e | 5a60d60fca2c2b8b44d602aca7016afb625bc628 | /aws-cpp-sdk-codecommit/source/model/BatchGetCommitsResult.cpp | 7fa0134dd40e4ea2118ea160f1085313e5d91b71 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | yuatpocketgems/aws-sdk-cpp | afaa0bb91b75082b63236cfc0126225c12771ed0 | a0dcbc69c6000577ff0e8171de998ccdc2159c88 | refs/heads/master | 2023-01-23T10:03:50.077672 | 2023-01-04T22:42:53 | 2023-01-04T22:42:53 | 134,497,260 | 0 | 1 | null | 2018-05-23T01:47:14 | 2018-05-23T01:47:14 | null | UTF-8 | C++ | false | false | 1,460 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/codecommit/model/BatchGetCommitsResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <a... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
2246451249c563eeb51759c71e81001263e40d20 | 433410a07309822d47614d879aa95208150a0b61 | /maximumFrequencyStack.cpp | 59fd2d4b875ecae8ec3d5b959ec4fa637f130b6a | [] | no_license | aditya1944/Scaler-Questions | c141b12cfcf618101e7f47d9ebcdaf097fdebdee | f1fe38d165751d239d2471d7a89b3d397cde1d9a | refs/heads/master | 2023-01-07T08:02:55.230168 | 2020-11-09T11:46:47 | 2020-11-09T11:46:47 | 271,989,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,758 | cpp | #include<iostream>
#include<vector>
#include<unordered_map>
#include<stack>
std::vector<int> solve(std::vector<std::vector<int> > &A){
std::vector<int> returnValue(A.size());
std::unordered_map<int, int> frequencyMap;
std::unordered_map<int, std::stack<int> > orderMap;
int maxFreq = -1;
for(int quer... | [
"aditya1944@live.com"
] | aditya1944@live.com |
9bdb4f6e3b0c7e9bf853dedbd70c248cd604cb91 | 882fa2998c5912a433f884ee8aae7eab43a22978 | /base/addons/gas/gasproduction.inc | 57b03c69d8cb702f733188057d38504512af60d4 | [
"ISC"
] | permissive | open-modex/model_Balmorel | 2a2b11530f906d1c04e8b274cf1e09163d5e263f | 30cd3408e3329343824da08a120475498ec754af | refs/heads/master | 2020-04-27T02:17:08.996972 | 2019-11-27T14:38:34 | 2019-11-27T14:38:34 | 173,989,381 | 1 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 200 | inc |
TABLE GP(YYY,SOURCE)
* PJ/Śr
NYBRO
2005 376
2006 377
2007 380
2008 387
2009 392
;
GP(YYY,SOURCE)=GP(YYY,SOURCE)/3.6*1000000;
| [
"tilseb@dtu.dk"
] | tilseb@dtu.dk |
e3df021c6acb77ded06638b3ef5c863bb6d1bfdf | b0d3f49a175e9becd93c79ee44a4809f446bcf55 | /2020-SE/4/I.cpp | e361f8f8618fd966a2e2a2f657bbecbee0ea1f7e | [] | no_license | always0108/ACM | 9e107cd79e71a6beaa69b77b7c1c44995c65895c | d2464167192f06d62362da23299215293d355bec | refs/heads/master | 2021-06-07T14:30:51.654298 | 2020-10-23T14:59:26 | 2020-10-23T14:59:26 | 98,840,697 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cpp | /*************************************************************************
> File Name: I.cpp
> Author:Li Meng
> Mail:ldx19980108@gmail.com
> Created Time: 二 9/29 22:16:24 2020
************************************************************************/
#include<iostream>
using namespace std;
int n, k;
int a[1000... | [
"ldx19980108@gmail.com"
] | ldx19980108@gmail.com |
bc795f5a61fb7a5c7a6e600b8817b77a85dd6cb7 | c28f358c68ebe4f53a5074e9ba35d0f7a7488c0e | /RVTP6/main.cpp | f06dfe56a606b2dbd73f577f9122d8ca2c294f68 | [] | no_license | Romain-GARNIER/VirtualReality | 3d2d4fe94746f533e662fb12a579e9f748b591e8 | 8a32a132bb4a723da365f5befedaceba682238a1 | refs/heads/master | 2020-12-19T21:26:47.176806 | 2020-02-29T09:06:18 | 2020-02-29T09:06:18 | 235,856,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 394 | cpp | /*!
\file main.cpp
\brief Tutoriel n°2
\author Leo Donati
\date 2019-2020
\version 5.0
Cours de Réalité Virtuelle
Polytech'Nice Sophia
Tuto 5
*/
#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.setWindowTi... | [
"garnierr10@gmail.com"
] | garnierr10@gmail.com |
664245cc8b0a1e1d6f1412a6d3172a2422d629e3 | cc0f632f56c572bd4f50c141f048b0bc7fad4055 | /UVA/1225.cpp | 059750d2c206c6cf7d14cd6a1bbf87735d14dd92 | [] | no_license | AbuHorairaTarif/UvaProject | 78517e585c668a83b99866be19b84a0a120bc617 | b0688f97a7226bdd692c9ceb29e7b0c406b8a15a | refs/heads/master | 2021-05-04T08:19:46.607485 | 2016-11-11T14:26:23 | 2016-11-11T14:26:23 | 70,333,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | #include <cstdio>
#include <cstring>
using namespace std;
int main()
{
int testCase;
scanf("%d",&testCase);
while(testCase--)
{
int n;
scanf("%d",&n);
int cnt[10];
memset(cnt,0,sizeof cnt);
for(int i=1;i<=n;i++)
{
int temp=i;
wh... | [
"horaira_cse13@yahoo.com"
] | horaira_cse13@yahoo.com |
cd07194ee6bdb71c69221d05e5f341ff3c4ddbe0 | 9f9660f318732124b8a5154e6670e1cfc372acc4 | /Case_save/Case20/case0/800/epsilon | 89abfa1cc304d738a79bff72fa73214a80fb0e60 | [] | no_license | mamitsu2/aircond5 | 9a6857f4190caec15823cb3f975cdddb7cfec80b | 20a6408fb10c3ba7081923b61e44454a8f09e2be | refs/heads/master | 2020-04-10T22:41:47.782141 | 2019-09-02T03:42:37 | 2019-09-02T03:42:37 | 161,329,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,344 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"mitsuaki.makino@tryeting.jp"
] | mitsuaki.makino@tryeting.jp | |
40682b908edce4e70e746235f46f3b0c57fe9755 | 7a9463e62761a3793ae0df9792807ee1b2ec21d8 | /implementation/Breadcrumb.cpp | 4ae7130876caf7fd9b58a2079a5901ace3fa94f6 | [] | no_license | BerkeBat/advprog_assignment1 | 1b866db795787c94bd416247287d189e59a78c48 | 092f74fa791c36d5203b0bf0e3763fdc97ebf318 | refs/heads/master | 2023-04-27T16:29:38.871653 | 2021-05-08T06:59:58 | 2021-05-08T06:59:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 411 | cpp |
#include "Breadcrumb.h"
Breadcrumb::Breadcrumb(int x, int y, bool stale) {
this->x = x;
this->y = y;
this->stale = stale;
}
Breadcrumb::~Breadcrumb() {
delete &x;
delete &y;
delete &stale;
}
int Breadcrumb::getX() {
return x;
}
int Breadcrumb::getY() {
return y;
}
bool Breadcrumb::isStale(... | [
"s3782067@student.rmit.edu.au"
] | s3782067@student.rmit.edu.au |
06ac53df3950beb97c85ec5aa8d38f6b161dd38f | b4e9ff1b80ff022aaacdf2f863bc3a668898ce7f | /lime/GrotateMove/Export/macos/obj/src/lime/_internal/format/Zlib.cpp | 91693fa6184dc12de13f1bffe4f9c359dad39249 | [
"MIT"
] | permissive | TrilateralX/TrilateralSamples | c1aa206495cf6e1f4f249c87e49fa46d62544c24 | 9c9168c5c2fabed9222b47e738c67ec724b52aa6 | refs/heads/master | 2023-04-02T05:10:13.579952 | 2021-04-01T17:41:23 | 2021-04-01T17:41:23 | 272,706,707 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 3,762 | cpp | // Generated by Haxe 4.2.0-rc.1+7dc565e63
#include <hxcpp.h>
#ifndef INCLUDED_haxe_io_Bytes
#include <haxe/io/Bytes.h>
#endif
#ifndef INCLUDED_lime__internal_backend_native_NativeCFFI
#include <lime/_internal/backend/native/NativeCFFI.h>
#endif
#ifndef INCLUDED_lime__internal_format_Zlib
#include <lime/_internal/forma... | [
"none"
] | none |
1e24fe4f20726fea78e771863b85a98f6b0c62e4 | 110cb5d2708fea3a384e470271d489fc5b7a6318 | /HW3/include/Media.h | f37df5c2d96f4a8cd0e48729259c9f7bc3c27d7e | [] | no_license | yoyo890121/posd2016f | 6b622bf46f1fa1318223b6c90bae94c2378f3fd9 | e736c59f4d3d63b4610f573cf314b56f399dbf83 | refs/heads/master | 2021-05-04T02:20:54.784445 | 2017-01-06T12:42:33 | 2017-01-06T12:42:33 | 71,317,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | h | #ifndef MEDIA_H
#define MEDIA_H
#include "DescriptionVisitor.h"
#include "AreaVisitor.h"
#include "PerimeterVisitor.h"
#include <vector>
class Media {
public :
virtual double area() const = 0 ;
virtual double perimeter() const =0;
virtual void accept(MediaVisitor*) =0;
virtual void add(Media * m) {
... | [
"yoyo890121@hotmail.com"
] | yoyo890121@hotmail.com |
b4e2954d8abf68cb1fb11292347d2740e697b82a | 2ecc9164e7a29a8f25f82ea7ef7b52e146408016 | /third_party/blink/renderer/modules/webcodecs/video_decoder_fuzzer.cc | d27c51004329e7b107bd8b3d36b5d00e362eb2ab | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | pan-alexey/chromium | ff78e911888a3b546b8ef274a57fe4219760cd03 | 6c3a31f157bf1ac667f20f6f868e671d5c2fb9a1 | refs/heads/master | 2022-12-14T01:24:02.552881 | 2020-08-28T12:33:26 | 2020-08-28T12:33:26 | 290,737,087 | 0 | 0 | BSD-3-Clause | 2020-08-27T09:45:10 | 2020-08-27T09:45:09 | null | UTF-8 | C++ | false | false | 5,298 | cc | // Copyright 2020 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 "base/run_loop.h"
#include "testing/libfuzzer/proto/lpm_interface.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
10196da9b6744da6c0550c053ac4c95ac0800d6a | 5b39ca63aab1631505092c67afaee4d91af0c1ed | /lib/config/config.hpp | 34fac5116860bf20215f2d9855a9982c79511b9e | [
"MIT"
] | permissive | Li-Pro/AutoComplete-Shell | ab97ac018d8937fbeaea5e8ac15d6a17d6894fd3 | 01c0696765f2b99d4a339ca5b0e2f3ef538c35c3 | refs/heads/master | 2021-01-08T16:14:33.073037 | 2020-02-24T09:52:38 | 2020-02-24T09:52:38 | 242,076,009 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 189 | hpp | #ifndef ACShell_CONFIG_CONFIG_HPP
#define ACShell_CONFIG_CONFIG_HPP
#include<iostream>
struct CONFIGURABLE_SETTING
{
std::string DELIM;
};
extern CONFIGURABLE_SETTING GLB_CONF;
#endif
| [
"53344765+Li-Pro@users.noreply.github.com"
] | 53344765+Li-Pro@users.noreply.github.com |
4889fe32743db34440944e82987d1e06b1c389cf | 74942cf75a71617e93c332067722a5e022530ad2 | /Source Code/OOPs/Classes.cpp | 6b5b6989d91b09bc7ac7d0564d23d79235e31f07 | [] | no_license | VRedBull/C-Fundamentals | f156c0137bb83112bfe7e2cab71429124a334aea | 17a296bd8b90cf099f6910c62fb79fe78b35454f | refs/heads/master | 2023-05-01T15:26:42.350981 | 2021-05-12T05:12:16 | 2021-05-12T05:12:16 | 304,946,080 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141 | cpp | #include <iostream>
#include "Cat.h"
using namespace std;
int main(){
Cat cat1;
cat1.drink();
cat1.speak();
return 0;
} | [
"pradhanvikas11@gmail.com"
] | pradhanvikas11@gmail.com |
07126f58eb6e465bea619e48d719e5cc1b338bcd | 9b8a89bc7c031b0db6723420964c9cb343208e27 | /Castlevania/LoadingData.cpp | eb9a98f2dc84aad1d5083a1339139fcf6141eada | [] | no_license | nguyentuyetnhungpht/Game-Castlevania | ac090012195fbfb708168b7df91f094a5649cd56 | c59d7fa1f514b1ee156c9628ac2c4af32bb92dd7 | refs/heads/main | 2022-12-25T12:08:46.152743 | 2020-10-03T12:18:13 | 2020-10-03T12:18:13 | 300,872,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,832 | cpp | #include "LoadingData.h"
#include <fstream>
#include "debug.h"
#include "Brick.h"
#include "Candle.h"
#include "Gate.h"
#include "Stair.h"
CLoadingData::CLoadingData(void)
{
}
CLoadingData::~CLoadingData(void)
{
}
void CLoadingData::LoadSpriteFromFile(CSprites *sprites, LPCWSTR fileName, LPDIRECT3DTEXTURE9 tex)
{
... | [
"35988338+nguyentuyetnhungpht@users.noreply.github.com"
] | 35988338+nguyentuyetnhungpht@users.noreply.github.com |
8005dd3940b8dbd2569464c76a1fa30deff62b99 | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/apps/JAWS3/jaws3/Task_Timer.h | 7353fb4faa4297b8637785bdb5e4d9da23b186b5 | [
"Apache-2.0"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 1,518 | h | /* -*- c++ -*- */
#ifndef JAWS_TASK_TIMER_H
#define JAWS_TASK_TIMER_H
#include "ace/Singleton.h"
#include "ace/Timer_Wheel.h"
#include "ace/Timer_Queue_Adapters.h"
#include "jaws3/Export.h"
#include "jaws3/Timer.h"
class JAWS_Task_Timer;
class JAWS_Export JAWS_Task_Timer : public JAWS_Timer_Impl
{
public:
JAWS_T... | [
"lihuibin705@163.com"
] | lihuibin705@163.com |
0d964ca16e9505bc7e8020a7932e0e8c3157ef19 | 8939b360a96921d477076596cc4a395b1993113a | /ZespolowyProjekt2/Encoder.h | abc33be7574b41152657b6d9b47d682cc240b450 | [] | no_license | AjonePL/ZespolowyProjektBadawczy2 | a87a6e801aedcb39853963d8c91294402040b187 | 57e65d16d40fd9cb5ea000d733eb11eaf34dcbd0 | refs/heads/master | 2023-06-04T20:57:00.706781 | 2021-06-14T23:07:57 | 2021-06-14T23:07:57 | 350,502,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,335 | h | #pragma once
#include <vector>
#include <string>
class Encoder
{
public:
enum EInitializationMode {
eRandom,
ePNN,
eAvgVar
};
Encoder(std::vector<std::vector<int>> image, EInitializationMode initializationMode,int inDictionarySize,bool showPSNR);
bool EncodeToFile(std::string filename);
std::vector<std::ve... | [
"grzegorz.iwaniura@gmail.com"
] | grzegorz.iwaniura@gmail.com |
3398f496ec7c57358d09d82669d532b8db7c2a35 | 75e5dc814676640017d103c4e077a9fc88ec60d1 | /tools/oatmeal/vdex.cpp | ed6739b93611770de06293dc066aec31f73e430a | [
"MIT"
] | permissive | penguin-wwy/redex | 01347a8468a259d8321c13b0fe07fc648303f24c | 31baadec7ccddcadb5ddaf4947a63112f2eadc04 | refs/heads/master | 2020-09-30T21:44:58.218106 | 2020-02-11T06:40:14 | 2020-02-11T06:40:14 | 227,380,230 | 0 | 0 | MIT | 2019-12-11T14:05:56 | 2019-12-11T14:05:55 | null | UTF-8 | C++ | false | false | 1,792 | cpp | /*
* 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.
*/
#include "vdex.h"
namespace {
size_t size_of_checksums_section(const VdexFileHeader& header) {
return sizeof(VdexChecksum) * he... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
bf4704e6339c51f544c3e44e682aa5619737e60d | 1217df68d508d3dc927e951a81b8ffbaf8832549 | /acmicpc.net/11800.cpp | b116eb4a97cd67cf6c11f5c7dd70c0c0cc485751 | [
"MIT"
] | permissive | kbu1564/SimpleAlgorithm | 200ae0dbaa76d127881699a229a2258b358e696c | 7e5b0d2fe19461417d88de0addd2235da55787d3 | refs/heads/master | 2021-01-16T23:57:10.112064 | 2017-04-23T03:44:12 | 2017-04-23T03:44:12 | 56,262,760 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | cpp | #include <iostream>
#include <string>
#include <algorithm>
using namespace std;
int main() {
string S[7] = {
"",
"Yakk",
"Doh",
"Seh",
"Ghar",
"Bang",
"Sheesh"
};
string SS[7][7];
for (int i = 1; i <= 6; i++) {
for (int j = 1; j <= 6; j++) {
SS[i][j] += S[max(i, j)];
SS[i][j] += ' ';
SS[i... | [
"quddnr145@gmail.com"
] | quddnr145@gmail.com |
909b129e2cbd9fbc63f131ec4ddb3c08bc9b61e8 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/wget/hunk_3955.cpp | 27904eaac77a03855909a120ae172ebceaa09d4c | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,376 | cpp | {
return ftp_parse_unix_ls (file);
}
+
+/* Stuff for creating FTP index. */
+
+/* The function returns the pointer to the malloc-ed quoted version of
+ string s. It will recognize and quote numeric and special graphic
+ entities, as per RFC1866:
+
+ `&' -> `&'
+ `<' -> `<'
+ `>' -> `>'
+ `"... | [
"993273596@qq.com"
] | 993273596@qq.com |
c3ba1728193b0d665dc181ba9e63cc3d17e465ba | 00f10946ba080ca97e24e34124ef428130df58c2 | /Segmenter.cpp | 1a958218ccc0495f41065ced79b9a96ec8cbb8e4 | [] | no_license | russvette76/Porfolio | 54d88ec2648636634967f69784c634078e073dbd | 08e3213855cf74b47dac180ea577bf70b8c96889 | refs/heads/master | 2021-05-04T00:26:21.923175 | 2016-10-25T01:10:16 | 2016-10-25T01:10:16 | 71,841,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | cpp | /*
* Segmenter.cpp
*
* Created on: Oct 22, 2016
* Author: mine
*/
#include "Segmenter.h"
Segmenter::Segmenter() {
// TODO Auto-generated constructor stub
}
Segmenter::~Segmenter() {
// TODO Auto-generated destructor stub
}
int Segmenter::FindQRCode(unsigned char **InOrigImg, ROI &outQRROI )
{
int ret... | [
"r.r.lembersky@gmail.com"
] | r.r.lembersky@gmail.com |
f3d511f3600335f401db521f3a7e98c9de1d7647 | d5faa482ee90a95874bb573ed701352540da58ef | /opengl-template/opengl-template/libs/glm/geometric.hpp | 63e9be3412619e0178f2c8c20de9428ed60fa277 | [] | no_license | alexdrone/cxx_tutorials | a2792815a9034a2ce6d7328495b3a91d01b63375 | d805e46f6bf0e44dface411481c146c4128564ef | refs/heads/master | 2022-11-04T22:20:37.517855 | 2020-06-22T07:45:44 | 2020-06-22T07:45:44 | 257,827,459 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,709 | hpp | /// @ref core
/// @file glm/geometric.hpp
///
/// @see <a
/// href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8
/// specification, section 8.5 Geometric Functions</a>
///
/// @defgroup core_func_geometric Geometric functions
/// @ingroup core
///
/// These operate on vectors as vect... | [
"alexusbergo@alexusbergo-imacpro.roam.corp.google.com"
] | alexusbergo@alexusbergo-imacpro.roam.corp.google.com |
060df85d01fbafb633d42ad39fc6642489dfa72d | c333ff3c03e38998ba4d375c37c52d0f86c2f13c | /CS-11/Asn 3/arithmetic.cpp | 54af0d25687b3ffb0f295ad52507173f762cf6bc | [] | no_license | obiejuan/cabrillo-college | b2e8950beead0156f9de38c98430e7d5bb549954 | b15c5825a13a833ddff9a0712125734149c30f5b | refs/heads/master | 2020-12-25T00:55:19.956707 | 2013-11-16T21:35:57 | 2013-11-16T21:35:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 442 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main() {
int a = 7, b = 2;
cout << "a + b = " << a + b << endl;
cout << "a - b = " << a - b << endl;
cout << "a * b = " << a * b << endl;
cout << "a / b = " << a / b << endl;
cout << "a + b / 2 = " << a + b / 2 << endl;
cout << "(a + b) / 2 = " << (a... | [
"john.w.carlyle@gmail.com"
] | john.w.carlyle@gmail.com |
da1b0c5e622f94685c65a46ce409722202b1d6fc | 038df27dfb74a68f7b2fef2f63e5cc6bfe720962 | /include/fast_io_core_impl/integers/sto/sto.h | 44403433d04fe16639fe54ca41097368f4710ca2 | [
"MIT"
] | permissive | klmr/fast_io | 6226db934bbda0b78ae1fac80d20c635106db2c1 | 1393ef01b82dffa87f3008ec0898431865870a1f | refs/heads/master | 2022-07-28T12:34:10.173427 | 2020-05-25T11:25:38 | 2020-05-25T11:25:38 | 266,780,867 | 2 | 0 | NOASSERTION | 2020-05-25T13:03:19 | 2020-05-25T13:03:19 | null | UTF-8 | C++ | false | false | 8,175 | h | #pragma once
namespace fast_io
{
namespace details
{
template<char8_t base,my_unsigned_integral T>
inline constexpr void detect_overflow(T const& t,std::size_t length)
{
constexpr std::size_t max_size{cal_max_int_size<T,base>()};
if(max_size<=length)[[unlikely]]
{
if((max_size<length)|(t<=base))[[unlikely]]
#ifd... | [
"euloanty@live.com"
] | euloanty@live.com |
5a23d569ba95876929009851ad3699f6a20199f8 | 716b6a68edab4393031620a2018043927f078ccf | /creational_patterns/builder/builder/Product1.h | 3ab6f0e22ab1b15a6cdc0c981d78663789ad42f0 | [] | no_license | dannyli0109/design_patterns | d27f90dce08d95b0698db5ada1df1f664fc9ec28 | f14b12addfd2fd3998714fd8dff9a96d43d5ed6f | refs/heads/master | 2022-11-15T13:17:15.511945 | 2020-07-14T05:31:51 | 2020-07-14T05:31:51 | 278,260,055 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 266 | h | #pragma once
class Product1 {
int a = 0, b = 0, c = 0;
public:
void SetA(int n) {
a = n;
}
void SetB(int n) {
b = n;
}
void SetC(int n) {
c = n;
}
int GetA() const{
return a;
}
int GetB() const{
return b;
}
int GetC() const{
return c;
}
}; | [
"dannyli0109@gmail.com"
] | dannyli0109@gmail.com |
71e79cb6189e3742bb3ec220e68e03bdf77a829f | b73bf44544f0201a7cf4a532d27a09f91f717d7f | /ndk_internal_module/jni/cpputest/include/CppUTestExt/MockNamedValue.h | e88cac16d396421c756d6b10236e94a0681e7810 | [] | no_license | weichenlin/NDK-Sample | 683aeac8c7b139fac509ce4e72334a7622a41754 | df50241063ea011474495bcf6a4e1981872d3f72 | refs/heads/master | 2021-01-22T06:58:56.658951 | 2015-05-20T23:52:46 | 2015-05-20T23:52:46 | 35,438,975 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,557 | h | /*
* Copyright (c) 2007, Michael Feathers, James Grenning and Bas Vodde
* 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... | [
"wclinhub@sp36.net"
] | wclinhub@sp36.net |
9dd56f9948ffd97dd5b8fd7e37859b8d7e6553d0 | 13c756aabf546fb46bb6a9dbbdb3ea5d0d8b5356 | /ACM/连通分量/hdu3639.cpp | 135ac7fceeab78482cfa7931764337c319879296 | [] | no_license | JosephZ7/ACM | def2fa0030989464bbaebeab400d88815df1c410 | 63c9d696dad4d010468750e783a151e68a0395ae | refs/heads/master | 2021-01-19T18:41:53.788146 | 2018-07-23T08:12:04 | 2018-07-23T08:12:04 | 101,154,332 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,089 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <cmath>
#include <string.h>
#include <string>
#include <queue>
#include <stack>
#include <algorithm>
#include <iostream>
#define LL long long
#define INF 0x7fffffff
using namespace std;
const int MAX_N = 1e4+10;
const LL inf = 1e15+10;
const LL mod = 1e6+3;
const double e... | [
"1072920311@qq.com"
] | 1072920311@qq.com |
a8331f06dd5b2f3874c59a2300a265593cf57f89 | 471259dfba82f53f882022a07137801b9e24765e | /Sorting/heapsort.cpp | 5bc0cc43f5435bc25b4de2b4b1b6192547f46f25 | [] | no_license | kriti-garg/Data-Structures | 26a14c41fa68ba7684a6cc046ca37f922fa242bf | f241f936bd5058eda6379ab8b63833ec5a08df8b | refs/heads/master | 2020-03-23T08:01:58.041902 | 2019-10-10T16:27:37 | 2019-10-10T16:27:37 | 141,304,445 | 0 | 1 | null | 2019-10-10T16:27:40 | 2018-07-17T14:53:25 | C++ | UTF-8 | C++ | false | false | 753 | cpp | using namespace std;
void heapify(int arr[],int n,int i)
{
int largest=i;
int l=2*i+1;
int r=2*i+2;
if(l<n && arr[l]>arr[largest])
largest=l;
if(r<n && arr[r]>arr[largest])
largest=r;
if(largest!=i)
{
swap(arr[i],arr[largest]);
heapify(arr,n,largest);
}
}
void... | [
"kritigarg1998@gmail.com"
] | kritigarg1998@gmail.com |
92e792b05e124e8e05fa00ae9caa71a074e12be9 | ad981e0fc7997a0084da7a6fd057f25ddde767bf | /container_zoo/vector/capacity_vs_size.cpp | f402c8ce14f0656a742d9dcdb3a81f0ba2fd9eb3 | [] | no_license | vivekian/cpp_practice | 05053c9384d3b5998b90f29cb98844df956b8ddf | 541b651fd310bff91b0c272d28c2b23c066ef710 | refs/heads/master | 2023-08-04T04:14:37.148493 | 2023-07-27T00:32:26 | 2023-07-27T00:32:26 | 44,278,295 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,712 | cpp | #include <cassert>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
// struct foo to show how the vector invokes move and copy constructors when reallocating the
// array.
struct foo {
int a_;
int b_;
foo() = default;
foo(int a, int b): a_(a), b_(b) {cout << "cons... | [
"vivekaseeja@me.com"
] | vivekaseeja@me.com |
f04c0002f28e7971abd780f560c7076d47eeb6c3 | db4b69d3e99af44c29a5ad17eafc18a004e51d59 | /FindPath/Classes/AppDelegate.cpp | 9797f0d0162cb37211a019187a9c48a3d167c665 | [] | no_license | anyinst/PersonProject | f188409b428134f81667cd3a38d70a93fefe19ec | acd25e133fe1a8c153757857d5cabdfc60f6a098 | refs/heads/master | 2021-09-06T03:53:10.521880 | 2018-02-02T07:29:42 | 2018-02-02T07:29:42 | 113,829,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,767 | cpp | #include "AppDelegate.h"
#include "HelloWorldScene.h"
#include "SceneMapWalk.h"
USING_NS_CC;
AppDelegate::AppDelegate() {
}
AppDelegate::~AppDelegate()
{
}
//if you want a different context,just modify the value of glContextAttrs
//it will takes effect on all platforms
void AppDelegate::initGLContextAttrs()
{
... | [
"jlb@jlbdeMacBook-Pro.local"
] | jlb@jlbdeMacBook-Pro.local |
5c147c76da8889813f23c916f7ed4dcbdf77f526 | 09dcf73950927beaa31fe6a72ed9ce3f98ebffaa | /1/0/4/1040.cpp | df9994a3bb74909e2110a0a0cfe1ae48fefd55a3 | [] | no_license | huangbin5/Luogu | 2bc5943e35c5b38f95e4b51403a06be3ef427fb1 | 8448f306967bf5f6906489908a07f469af5de37d | refs/heads/master | 2023-03-29T18:53:07.243567 | 2021-03-26T15:33:43 | 2021-03-26T15:33:43 | 351,827,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,649 | cpp | #include <cstdio>
#include <iostream>
using namespace std;
typedef long long ll;
// #define DEBUG
/**
* 状态:
* dp[i][j]表示由节点i~j构成的子树的最大加分,整棵树的最大加分就是dp[1, n]
* root[i][j]表示由节点i~j构成最大加分子树时所选的根
* 状态转移:
* dp[i][j] = max{dp[i][k - 1] * dp[k + 1][j] + dp[k][k]}
* 其中dp[k][k] = score[k]
*/
const int maxn = 35;
int n, sc... | [
"2270144830@qq.com"
] | 2270144830@qq.com |
23f1d49cb8d44a85375f664a9f55f598b72d7b7d | 8da1d30cb6a9c55c5478d58c68ee2632a51c7170 | /fibonacci_nlogn.cpp | 97f20e55fab93cfadf09fc5109fefdd69abbb104 | [] | no_license | 1guangnian/tech_interview_problems | ef418d66a7d43bfdf50ed703c91cee22070fb97d | 8ca2f0527de1eab14419cf49a81a7548e9718453 | refs/heads/master | 2016-08-07T21:20:01.972192 | 2014-10-21T05:08:42 | 2014-10-21T05:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,083 | cpp | #include <cstdlib>
#include <cctype>
#include <cstring>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <vector>
#include <string>
#include <iostream>
#include <sstream>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <fstream>
#include <numeric>
#include <iomanip>
#include <bi... | [
"scorpio.uestc@gmail.com"
] | scorpio.uestc@gmail.com |
af4972728665629b0ba6bf922c91d25929697d7a | d1f877e884ed0da6be476de85685d8418fc3a4a0 | /tests/bfscheck/main.cpp | 739b78d1c41b6492433bb0d8387e4a705ab6313c | [] | no_license | abhishekbatra/abcpp | c59e66edef85bfb82c88cd62d36b9ab4432e8044 | 7c79f7995a2f8b29990ffcca2423524adf9ed238 | refs/heads/master | 2021-01-01T17:21:51.061947 | 2014-02-12T18:26:22 | 2014-02-12T18:26:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,538 | cpp | #include "graph.h"
#include <string>
#include <iostream>
#include <cstdlib>
using namespace abcpp;
using namespace std;
class NodeData : public Node
{
public:
string name;
};
class BFSClient : public IGraphClient
{
virtual bool DFVisit(Node *pFromNode, Node *pToNode)
{
return false;
}
vi... | [
"abhshk.btra@gmail.com"
] | abhshk.btra@gmail.com |
7d54376b0d85ef4761e50672898901ae28d69b3f | dbc43d6460f261bfbcb45ed3aa68b9419b1801bd | /Money/Money.cpp | a3e12aaf93048abfebcb070c090ea9dea90a5f19 | [] | no_license | dongho-jung/Advanced_C_Programming | 9cc6d41140c9157fa1b3b57388730bc7ecfb0d3c | 792291bc564e0d942f6dafe5d95ce78ad53fd464 | refs/heads/master | 2023-06-09T20:26:33.541842 | 2017-05-03T13:57:45 | 2017-05-03T13:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 804 | cpp | #include "Money.h"
#include <cmath>
using namespace std;
Money::Money() {
mDollar = 0;
mCent = 0;
}
Money::Money(double dollarWithCent) {
setDollarWithCent(dollarWithCent);
}
Money::~Money() {
}
int Money::getDollar() const {
return mDollar;
}
void Money::setDollar(int dollar) {
mDollar = dollar;
}
int M... | [
"dongho971220@gmail.com"
] | dongho971220@gmail.com |
3c5e27979f7374c7ce97d647796e5310f6369a99 | 2cb3c034590bebf251b0f361605a79ef24258e50 | /PE-final/PETest.cpp | 43bb2d9f37ce783ec9aba9e9c4fdac096b7b5103 | [] | no_license | chengwenwu/ML | 60630eae5ddb54b9e60498f5e54d15ec11270626 | 8879b8e9b41b6568a266043021324ff5e1888709 | refs/heads/master | 2020-04-07T01:58:36.688533 | 2019-03-01T14:03:13 | 2019-03-01T14:03:13 | 157,959,357 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,102 | cpp | #include "PE.h"
int main()
{
PE pe;
pe.setSampleFile("a.txt");
pe.setClassSize(3);
pe.setSampleSize(10);
pe.setVectorLen(1);
pe.estimate();
cout<<"ch3_1_a:\n";
for(int counter = 1; counter <= 3; counter++)
{
cout<<"clo "<<counter<<" means :"<<pe.getMean(counter).matrixToFloat()
<<" variance :"<<pe.getSigm... | [
"2681595858@qq.com"
] | 2681595858@qq.com |
813538270659d86aa91885a123c39c8954fc8c68 | a1fbf16243026331187b6df903ed4f69e5e8c110 | /cs/engine/xrGame/ui/UIWndCallback.cpp | 1b0652fcf76b54341583d6b54b76010079cc544d | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | OpenXRay/xray-15 | ca0031cf1893616e0c9795c670d5d9f57ca9beff | 1390dfb08ed20997d7e8c95147ea8e8cb71f5e86 | refs/heads/xd_dev | 2023-07-17T23:42:14.693841 | 2021-09-01T23:25:34 | 2021-09-01T23:25:34 | 23,224,089 | 64 | 23 | NOASSERTION | 2019-04-03T17:50:18 | 2014-08-22T12:09:41 | C++ | UTF-8 | C++ | false | false | 1,422 | cpp | #include "pch_script.h"
#include "UIWndCallback.h"
#include "UIWindow.h"
#include "object_broker.h"
#include "callback_info.h"
struct event_comparer{
shared_str name;
s16 event;
event_comparer(shared_str n, s16 e):name(n),event(e){}
bool operator ()(SCallbackInfo* i){
return( (i->m_controlName==name) && (... | [
"paul-kv@yandex.ru"
] | paul-kv@yandex.ru |
4aec6f50c8b6e40f313eea4cdfcfd22128dfd189 | 6276ee99caf2a4bfd5adeefa4e815a30b220075e | /Baekjoon/2647_검은점과_하얀점_연결.cpp | e2fe7e12676883bb8a7c4d0c74abe7abbf730172 | [] | no_license | RokwonK/Problem_solving | ba95b71aac0567e1d321484d2ffd9809c8b6654e | 92bf77b93fcbe9102a18fc30a9d539276b06ffc5 | refs/heads/master | 2022-12-05T00:10:21.709831 | 2020-08-13T05:44:17 | 2020-08-13T05:44:17 | 210,171,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,856 | cpp | #include <cstdio>
#include <cstring>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
const int INF = 9876543;
// a~b사이를 이었을때 최소값
int N;
int arr[102];
// a~b = 가장 작은 거리
int dp[102][102];
// 거리가 가장 작을 때 높이를 저장
int height[102][102];
vector<pair<int,int>> answer_pair;
bool compare(const p... | [
"wonrok97@naver.com"
] | wonrok97@naver.com |
8a3faf17ab1ed5163ef754078d3a841a5d1786b2 | 91c4e7183e57a45813d1295e55e05be6ab919b8b | /resources/ews/ewssubscribedfoldersjob.cpp | 75fc912f3e3be86c13ef4171bb0060378b2b2fcf | [
"BSD-3-Clause"
] | permissive | viralgecko/kdepim-runtime | fd0cbaab3452061f98ed1fd6e64006f7ae563034 | f6770440bd742b073dd4478385e344ec89fddd3f | refs/heads/main | 2023-07-05T01:52:36.486539 | 2021-09-03T18:55:41 | 2021-09-03T18:55:41 | 399,860,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,937 | cpp | /*
SPDX-FileCopyrightText: 2015-2017 Krzysztof Nowicki <krissn@op.pl>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "ewssubscribedfoldersjob.h"
#include "ewsclient.h"
#include "ewsgetfolderrequest.h"
#include "ewsresource_debug.h"
#include "ewssettings.h"
EwsSubscribedFoldersJob::EwsSubscribedFolde... | [
"andreas.merl@student.tugraz.at"
] | andreas.merl@student.tugraz.at |
9d828c373f58ef728b6c25a89c371b891fd03a5d | 09e5cfe06e437989a2ccf2aeecb9c73eb998a36c | /modules/ccp4io/mmdb/mmdb_root.cpp | 3a98edbe6e03a7326f7a3c2776879a0580366def | [
"BSD-3-Clause",
"LGPL-3.0-only"
] | permissive | jorgediazjr/dials-dev20191018 | b81b19653624cee39207b7cefb8dfcb2e99b79eb | 77d66c719b5746f37af51ad593e2941ed6fbba17 | refs/heads/master | 2020-08-21T02:48:54.719532 | 2020-01-25T01:41:37 | 2020-01-25T01:41:37 | 216,089,955 | 0 | 1 | BSD-3-Clause | 2020-01-25T01:41:39 | 2019-10-18T19:03:17 | Python | UTF-8 | C++ | false | false | 90,040 | cpp | // $Id: mmdb_root.h $
// =================================================================
//
// CCP4 Coordinate Library: support of coordinate-related
// functionality in protein crystallography applications.
//
// Copyright (C) Eugene Krissinel 2000-2013.
//
// This library is free software: you can redist... | [
"jorge7soccer@gmail.com"
] | jorge7soccer@gmail.com |
8c07262e66766cd87d92adeb2f7b2a03e6c400f9 | 6f49cc2d5112a6b97f82e7828f59b201ea7ec7b9 | /wdbecmbd/CrdWdbeNav/PnlWdbeNavDevdev_blks.cpp | 15db5f335d97f35d51998508f84e09b982568c9f | [
"MIT"
] | permissive | mpsitech/wdbe-WhizniumDBE | d3702800d6e5510e41805d105228d8dd8b251d7a | 89ef36b4c86384429f1e707e5fa635f643e81240 | refs/heads/master | 2022-09-28T10:27:03.683192 | 2022-09-18T22:04:37 | 2022-09-18T22:04:37 | 282,705,449 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,053 | cpp | /**
* \file PnlWdbeNavDevdev_blks.cpp
* job handler for job PnlWdbeNavDevdev (implementation of blocks)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 28 Nov 2020
*/
// IP header --- ABOVE
using namespace std;
using namespace Sbecore;
using n... | [
"aw@mpsitech.com"
] | aw@mpsitech.com |
3535ceb2282665efd8b73b87c0518f29e6289b76 | 4262591e1586b909692756c48288e690af813b66 | /src/project/DOTATribe/src/PacketFactoryManager.cpp | 92fdc34e0f9f97e4ef338745644310a866eb4e7c | [] | no_license | atom-chen/DotaTribe | 924a6df4463bffb6cc08df5d8d5cdb4a1a5740fb | 2f6409a78825250ffa38b18b9819dee3ec9d1182 | refs/heads/master | 2020-11-28T03:44:41.631302 | 2019-08-23T07:04:34 | 2019-08-23T07:04:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,896 | cpp | #include "../include/PacketFactoryManager.h"
#include "../include/LoggerSystem.h"
#include "../include/PacketFactory.h"
#include "../include/LoginPacket.h"
#include "../include/SCRoleInfoPacket.h"
#include "../include/SCChangeEquipPacket.h"
#include "../include/SCChangeSkinPacket.h"
#include "../include/SCOffEquipPack... | [
"qyin@me.com"
] | qyin@me.com |
df96d9360d1bd03a4f3728673222a8787625af7d | f0d65f21527cda0200262e75ef9b32fa0b91ae28 | /almost_prime.cpp | 0193c37324ce82ba8ba9eed8a15826f2b5544516 | [] | no_license | hijal/problem_solutions | a7954764517dfeae36c255575de35460ef68800a | e0cfeb9d7946d19f32c2bd330727cc25dc3f4bbb | refs/heads/master | 2023-08-28T22:15:13.747266 | 2021-10-20T18:12:01 | 2021-10-20T18:12:01 | 411,110,732 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 816 | cpp | #include <bits/stdc++.h>
#define pb push_back
#define MAX 3123
#define ll long long int
using namespace std;
int primes[MAX];
void siv()
{
for(int i=2;i<3000;i++) {
primes[i]=1;
}
for(int i=2;i<3000;i++)
{
if(primes[i])
{
for(int j=i*2;j<3000;j+=i)
primes[j]=0;
}
}
}
void init()
{
siv();
i... | [
"hijal@shuttlebd.com"
] | hijal@shuttlebd.com |
b0ca06da85479a88083628ae7950411a37986f4b | 23e868036a088139e968b55f80283a9f7c996f8f | /src/rpc/net.cpp | 35135f374ca456ad1cabbfc789149c3f1bff3925 | [
"MIT"
] | permissive | hiphopcoin24/hiphopcoin24 | ec972602d502df0d131818eae7f903e3acc7e550 | 09b780546ba9e28b452a8641863aafa90def40d1 | refs/heads/master | 2023-05-14T18:44:02.844736 | 2021-06-09T08:51:27 | 2021-06-09T08:51:27 | 369,224,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,118 | cpp | // Copyright (c) 2009-2020 The Hiphopcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <rpc/server.h>
#include <banman.h>
#include <clientversion.h>
#include <core_io.h>
#include <net.h>
#include <ne... | [
"hiphopcoin24@gmail.com"
] | hiphopcoin24@gmail.com |
f15e8520455210a94cc4547efa5dc238519b77b7 | c24ba62e7d88c41f9fc8ad340e91f65893c5462f | /Cheater for Rise of the Tomb Raider UWP/Main Dialog.cpp | 058a63f724cac4daa5a87597d6c7b1a14741643d | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | UnnamedOrange/Cheater-for-Rise-of-the-Tomb-Raider-UWP | 633eb584c085b903754a5e4fe2975e599a53cff3 | b9cf096ef533b36692ba0507fa9c9ab8f4a3e6fc | refs/heads/master | 2020-06-22T19:26:49.990519 | 2019-07-20T14:39:18 | 2019-07-20T14:39:18 | 197,789,606 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,732 | cpp | // MIT License
//
// Copyright (c) 2019 Orange Software
//
// 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, m... | [
"33177912+UnnamedOrange@users.noreply.github.com"
] | 33177912+UnnamedOrange@users.noreply.github.com |
013dde1521c3d0560ec416a8426521adabdf1049 | 03d83787d0749a0d2bbc6a44aaffd81cc1f2a0e9 | /Beijing_1232_lines/Beijing/Beijing - cpptest/Example19.cpp | ed6e45e100e5883a7eb13e01216fecfeb04ed473 | [] | no_license | dortal/ExampleBeijing | c374cb436b8da22c50aaa4ab1fc31419dad2f503 | 08f453c550c48c0e121c384bcb03a0a41e7a516f | refs/heads/master | 2016-09-06T08:28:08.294655 | 2015-05-12T09:33:24 | 2015-05-12T09:33:24 | 35,479,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 242 | cpp | char *stringcopy(char *str1, char *str2)
{
while (*str2)
*str1++ = *str2++;
return str2;
}
main(int argc, char **argv)
{
char *buffer = (char *)malloc(16 * sizeof(char));
stringcopy(buffer, argv[1]);
printf("%s\n", buffer);
}
| [
"annas@Annas-PC.dm.cx"
] | annas@Annas-PC.dm.cx |
5c7f4e895c88b6dd407616ec3f67c10b13d8db43 | a7b16e7da3981097b7bde2c0b4d75147a772929b | /conn_server.cpp | dfb640b3d6c0c5a77ea2c43302b3b3cc951d092c | [] | no_license | Jerryporter/Lot_C | 07330c97e3059dc98eb5f7319518eb0399debe8d | 978216222a76694cd3604b7ec631a3c2d88ff319 | refs/heads/master | 2022-12-28T02:45:41.824297 | 2020-10-10T15:15:59 | 2020-10-10T15:15:59 | 296,517,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,058 | cpp | #include "winsock.h"
#include "stdio.h"
#pragma comment(lib, "wsock32.lib")
struct socket_list
{
SOCKET MainSock;
int num;
SOCKET sock_array[64];
};
void init_list(socket_list *list)
{
int i;
list->MainSock = 0;
list->num = 0;
for (i = 0; i < 64; i++)
{
list->sock_array[i] = 0;
}
}
void insert_list(SOCKET s,... | [
"chy8858769749@163.com"
] | chy8858769749@163.com |
b76ef3583fcb633c6e7decc606eb5d61de976a5d | d3318898bbd8153d0df88d60fe2b51bd9e7c81b9 | /Mart_DataProcess/Queue.cpp | 28affec9fafcd21be4d0d6722ca5942e463b981b | [] | no_license | YEOSEUNGMO/Mart_DataProcess | 0a1e5cc7a6cacf55670d640b6cadeb83163984e1 | c74781a08e333087288756ae17e08ad4dddfd8c3 | refs/heads/master | 2020-07-15T20:56:12.781345 | 2019-09-01T08:00:21 | 2019-09-01T08:00:21 | 205,646,876 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 6,316 | cpp | #include <Windows.h>
#include <commctrl.h>
#include "Queue.h"
#include "resource.h"
Queue::Queue()
{
front = nullptr;
rear = nullptr;
len = 0;
}
Queue::Queue(const Queue &a)
{
front = a.front;
rear = a.rear;
len = a.len;
}
void Queue::New_node(Record &data)
{
Record *temp = new Record;
temp->SetRecord(data... | [
"ysm2107@gmail.com"
] | ysm2107@gmail.com |
da48a94e27531e6d183d0f57a874c628345d46c6 | 49db059c239549a8691fda362adf0654c5749fb1 | /2010/zabrodina/task9/MyDialog.cpp | 1d548647f41d10529e3079570b4797c05449258b | [] | no_license | bondarevts/amse-qt | 1a063f27c45a80897bb4751ae5c10f5d9d80de1b | 2b9b76c7a5576bc1079fc037adcf039fed4dc848 | refs/heads/master | 2020-05-07T21:19:48.773724 | 2010-12-07T07:53:51 | 2010-12-07T07:53:51 | 35,804,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,475 | cpp | #include<stdio.h>
#include<QDebug>
#include<QVBoxLayout>
#include<QLCDNumber>
#include<QHBoxLayout>
#include<QComboBox>
#include"MyDialog.h"
MyDialog :: MyDialog() {
setButton = new QPushButton( "SET", this );
stopButton = new QPushButton( "STOP", this );
timer1Label = new QLabel( "Timer1", this );
timer... | [
"NadyaZabr@1a14799f-55e9-4979-7f51-533a2053511e"
] | NadyaZabr@1a14799f-55e9-4979-7f51-533a2053511e |
84e95fce16d1903ec8692cc92f5d29a4354f764e | ea23809f30e85a5b4313832c7dea5e68cc073385 | /sources/City.hpp | fadcb46ace3a1e1f0e2edf288a3f669dd4f29b9d | [] | no_license | eloblo/CPP_Ex4 | d8d4ca0fe14564d28d38ebb69d5770acca471133 | 4bf43b4c78fddd2a33722c030f5dcaaf48524126 | refs/heads/main | 2023-04-21T12:11:54.958692 | 2021-05-15T14:57:25 | 2021-05-15T14:57:25 | 363,632,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 633 | hpp | #pragma once
namespace pandemic {
// Defines the cities on the board
enum class City {
Algiers,
Atlanta,
Baghdad,
Bangkok,
Beijing,
Bogota,
BuenosAires,
Cairo,
Chennai,
Chicago,
Delhi,
Essen,
HoChiMinhCity,
HongKong,
Istanbul,
Jakarta,
Johannesburg,
Karachi,
Khartoum,
Kinshasa... | [
"eloblo250@gmail.com"
] | eloblo250@gmail.com |
c52117330d7f2e79e37a20d019fe53f59d795e24 | 4408d9c401e396b3743a4059ce721c5d98c89738 | /test/test_multiply_native.cpp | b11231aeaf2d3f2c11bfcb11bcc5c6ff5198cbdc | [] | no_license | insideoutclub/safe_numerics | e2eb9e4d3e7c2ecb71dcdf4dc6f20dcf311a8f94 | 273300e7a745656b8bfc77544f3af59fe126a766 | refs/heads/master | 2021-01-19T19:06:01.286156 | 2017-04-08T18:20:34 | 2017-04-08T18:20:34 | 83,690,750 | 0 | 0 | null | 2017-03-02T15:05:01 | 2017-03-02T15:05:01 | null | UTF-8 | C++ | false | false | 3,524 | cpp | // Copyright (c) 2012 Robert Ramey
//
// 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)
#include <iostream>
#include <exception>
#include <cxxabi.h>
#include "../include/safe_integer.hpp"
template <class T>
usi... | [
"ramey@rrsd.com"
] | ramey@rrsd.com |
0322d2134add6b7ebac2e7f7433117f8838b57f3 | 2039d19404fa6f8656e17f3339e1d78ba7cff14a | /10344.cpp | 9b87eb5b9e107e3fad67e25bbba360d1d8c8b246 | [] | no_license | Asmaasa3d/UVA-solved-problem | 05fde23196d2c410a1b7d587778b6c74c514fd40 | 646ff36281aca03bcc965f466f2311326f6ec352 | refs/heads/master | 2023-05-23T13:07:40.568740 | 2021-06-10T17:48:01 | 2021-06-10T17:48:01 | 282,705,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,358 | cpp | // Auther : asmaa saeed date: 2020-08-08
#include <bits/stdc++.h>
using namespace std;
#define loop(v, st, en) for (int v = st; v < en; v++)
#define INF 1E9
#define clr(v, d) memset(v, d, sizeof(v))
#define pb push_back
#define MP make_pair
#define P(x) cout << #x << " = { " << x << " }\n"
typedef long long ll;
typedef... | [
"asmaasaeed289@gmail.com"
] | asmaasaeed289@gmail.com |
98aef6e2abb924385ede8d52cce314e54310d4ec | 757e9f542847384698c5a622ecaccf7fa663ae96 | /programming/mailru-deep-c-cpp/downloader/include/socket_linux.hpp | f2c95d74fdfab8f2bf8c0dde5ea3236d08c487fb | [] | no_license | vpetrigo/courses | 90580357f3ae57be8ca177bbc3ad0e38e5c9ccac | 406f20cf1a14e2a4da992b4cb6d5690a20568096 | refs/heads/master | 2021-06-14T15:26:52.546264 | 2021-04-25T14:04:08 | 2021-04-25T14:04:08 | 60,792,538 | 17 | 13 | null | 2021-04-25T14:04:09 | 2016-06-09T17:13:59 | C++ | UTF-8 | C++ | false | false | 1,125 | hpp | #ifndef MAILRU_COURSE_SOCKET_LINUX_HPP
#define MAILRU_COURSE_SOCKET_LINUX_HPP
#include "socket.hpp"
namespace downloader {
class LinuxTCPClientSocket : public ClientSocket {
public:
LinuxTCPClientSocket();
// deprecate copying of a socket
LinuxTCPClientSocket(const LinuxTCPClientSocket&) = delete;
LinuxTCPC... | [
"taenaru@gmail.com"
] | taenaru@gmail.com |
233675913b66e88804307185706d3c5d8857e897 | 07b8012a75f4a915fcb9df9279545e30ef0b0004 | /mfm_Viewer/mfm_Model_Viewer/code/DrawData.cpp | 1d93734ff9a367e4b881ffe473fd5701c8eb620e | [] | no_license | sadafumi/mfmViewer | ed4e5e21f50259c0b8374c78988ee522cd4820cd | 803ffa1cf8e976b788dfb178210ac44e6c2d7919 | refs/heads/master | 2020-08-08T02:11:17.720479 | 2019-10-10T17:47:26 | 2019-10-10T17:47:26 | 213,670,637 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,035 | cpp | #include "DrawData.h"
void DATA_TYPE::VERTEX2DDATA::Destroy()
{
if (this->pVetTexBuffer != NULL)
{
this->pVetTexBuffer->Release();
}
}
void DATA_TYPE::VERTEXDATA::Destroy()
{
if (this->pVetTexBuffer != NULL)
{
this->pVetTexBuffer->Release();
}
if (this->pIndexBuffer != NULL)
{
this->pIndexBuffer->Rele... | [
"sdaharu020@gmail.com"
] | sdaharu020@gmail.com |
baae0640126207b4ec89af456b32c7bbe13e284e | 4da2df878251bf959c703cff858c8d0378da1b38 | /ue4_umg/adobe/future/widgets/headers/platform_metrics.hpp | c6956e8c8f969c5ad510709d8326fd3786847792 | [] | no_license | tzlaine/adobe_platform_libraries | 83e0454ee52dec5d5ab3ac0b7f507dc567a9f75a | fed6de5f1b451cd0fa4cba70d6ef5f5f280b4d5a | refs/heads/master | 2021-01-11T08:07:47.411578 | 2016-11-01T23:06:09 | 2016-11-01T23:09:21 | 69,586,089 | 0 | 0 | null | 2016-09-29T16:26:36 | 2016-09-29T16:26:36 | null | UTF-8 | C++ | false | false | 3,880 | hpp | /*
Copyright 2013 Adobe
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
/****************************************************************************************************/
#ifndef ADOBE_METRICS_HPP
#def... | [
"whatwasthataddress@gmail.com"
] | whatwasthataddress@gmail.com |
a9d4fe53a7755e7e8c829075b14474d6d53fa479 | 545d1aa7075c423ac22d5057684d444c72d9a8c2 | /codes/1629-Slowest-Key/cpp/main1.cpp | 16bc34b8d54f5e587c82b311e80fd3170d779ef2 | [] | no_license | Stackingrule/LeetCode-Solutions | da9420953b0e56bb76f026f5c1a4a48cd404641d | 3f7d22dd94eef4e47f3c19c436b00c40891dc03b | refs/heads/main | 2023-08-28T00:43:37.871877 | 2021-10-14T02:55:42 | 2021-10-14T02:55:42 | 207,331,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | cpp | class Solution
{
public:
char slowestKey(vector<int> &releaseTimes, string keysPressed)
{
int n = releaseTimes.size();
int maxTime = releaseTimes[0];
char maxChar = keysPressed[0];
for (int i = 1; i < n; ++i)
{
int time = releaseTimes[i] - releaseTimes[i - 1];... | [
"38368554+Stackingrule@users.noreply.github.com"
] | 38368554+Stackingrule@users.noreply.github.com |
bb65728a8b17c56f7b4046a5580451dfb3a8aa15 | 273e938c5f79412aae1906c60403a335accae992 | /Avg.cpp | 5edabbfdd544b0d577ece07d5afda04593033f44 | [] | no_license | AramSar/SimpleCPP | 033175364bf0bc09e3ed4b19e4ef123f73128564 | 65a5ae2c0310eae045c622057807f9e88eaeabb2 | refs/heads/master | 2021-04-12T09:47:39.397724 | 2018-03-25T11:48:16 | 2018-03-25T11:48:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 703 | cpp | #include <iostream>
int avg(int arr[], int length)
{
int sum = 0;
int avg;
for (int i = 0; i < length; i++)
{
sum+= arr[i];
}
avg = sum/length;
return avg;
}
int main()
{
const int length = 10;
int n[length];
std::cout << "Enter " << length << " numbers " << std::endl;... | [
"aram_sargsyan@edu.aua.am"
] | aram_sargsyan@edu.aua.am |
66f9f7bc07dce1190bc7582979ece3fdea327105 | c4b8dfc5dcdb793504e209f875e9b22ce59cfd38 | /modao/main.cpp | b516e86c5f369bbda6c76318bee7705883c90da1 | [] | no_license | zhigangxi/utility | 03241b2add0af70a07330ae610853bef39c48c94 | ab7c5003b4b4c2f0878d9234b48e73abb2f93f7a | refs/heads/master | 2023-03-15T16:25:26.442624 | 2022-02-14T03:32:42 | 2022-02-14T03:32:42 | 139,837,882 | 0 | 0 | null | 2023-03-07T03:28:26 | 2018-07-05T11:11:46 | C++ | GB18030 | C++ | false | false | 35,056 | cpp | #include <iostream>
#include "pack_list.h"
#include "pack_deal.h"
#include "main.h"
#include "net_msg.h"
#include "database.h"
#include "singleton.h"
#include "ini_file.h"
#include "self_typedef.h"
#include "call_script.h"
#include "script_call.h"
#include "huo_dong.h"
#include <signal.h>
#include <boost/bind.hpp>
#inc... | [
"zhigangxi@gmail.com"
] | zhigangxi@gmail.com |
269dc2229f07d52bb82310dfa4e02c13f3408f35 | 5a161d37069a434b75874333c7b9e987cf89010b | /ogredeps/src/ois/src/extras/LIRC/OISLIRCFactoryCreator.cpp | 7b4d1696c6930b151402babb9070900e3f3b1623 | [
"Zlib"
] | permissive | jrsnail/u2project_deps | a4bd6835abc80ef35a27445865d8bde47502cb3d | 122b056e81d1d6c4560abd38995dab6f3d48d8a3 | refs/heads/master | 2021-05-04T11:38:50.720775 | 2016-12-02T13:08:39 | 2016-12-02T13:08:49 | 54,451,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,915 | cpp | #include "OISConfig.h"
#ifdef OIS_LIRC_SUPPORT
/*
The zlib/libpng License
Copyright (c) 2005-2007 Phillip Castaneda (pjcast -- www.wreckedgames.com)
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 sof... | [
"jr19841227@gmail.com"
] | jr19841227@gmail.com |
67d51a47223c40045567ae23d961bf2dc6dc5093 | 35999daa3af753443d7a82ed568c6c8f12e31377 | /video_capture.cpp | d48426f4b5d8d7f81456b7c1de77344bd3f7d3f1 | [] | no_license | denk1/v4l2_capture | 732bb313db02b0607ba53d38d891e70ab48d9cfb | 13003cb8f39e375bebe9c13d33256a2663c37692 | refs/heads/main | 2022-12-20T22:54:24.696578 | 2020-10-08T11:50:29 | 2020-10-08T11:50:29 | 300,568,079 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,029 | cpp | #include <opencv2/core.hpp>
#include <opencv2/videoio.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <iostream>
#include <stdio.h>
#include "capture.h"
#include "VideoCapture.h"
using namespace cv;
using namespace std;
void init_video_capture(const char *device_name)
{
open_device(dev... | [
"tu214@yandex.ru"
] | tu214@yandex.ru |
2b0018685ccb2d997b49605056aaa66d978c0032 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/aa/d5214aab5d42ab/main.cpp | 4abf5e407ef911f6d3f5bcf77a86398f00a5c950 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,440 | cpp | #include <stdio.h>
#include <stdint.h>
//-------------------------------------------------------------//
// "Malware related compile-time hacks with C++11" by LeFF //
// You can use this code however you like, I just don't really //
// give a shit, but if you feel some respect for me, please //
// don't cut... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
904d6cf3ed25d38fdc7a95650f39074d95b0842e | 24c99f27929b21b762d44f39a6a6204ecd8df101 | /src/netbase.h | 59a1c195be174c082b098afc5559a554c766fe26 | [
"MIT"
] | permissive | unix-help/MNPROV2 | 1c618c7be643f6050e426a9b602c249a32debbed | 2b05197a579315417cd23ef790b55e541cc6e9a9 | refs/heads/master | 2020-07-26T14:20:33.928436 | 2019-09-15T23:43:27 | 2019-09-15T23:43:27 | 198,615,460 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,135 | h | // Copyright (c) 2009-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_NETBASE_H
#define BITCOIN_NETBASE_H
#if defined(HAVE_CONFIG_H)
#include "config/mnpro-config.h"
#endif
#incl... | [
"support@mnpro.xyz"
] | support@mnpro.xyz |
92bd8b618aa2a814ecbfe387680efd4a7718bdac | 3ed65ce239f2db5de08b5c45caa97525a7379beb | /src/rocksdb2/utilities/backupable/backupable_db.cc | a9612a105d932009ed38ae84308e115cf5725ea3 | [
"BSD-3-Clause",
"MIT-Wu",
"ISC",
"BSL-1.0",
"MIT"
] | permissive | moorecoin/MooreCoinService | 9466aac3683ccc52e7ea89906e2bc6c90dae9922 | 6de5f5032972147c0d43c3ae48a088f9e1fa7d28 | refs/heads/master | 2021-01-10T06:05:51.501738 | 2015-11-14T13:18:47 | 2015-11-14T13:18:47 | 46,175,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,546 | cc | // copyright (c) 2013, facebook, inc. all rights reserved.
// this source code is licensed under the bsd-style license found in the
// license file in the root directory of this source tree. an additional grant
// of patent rights can be found in the patents file in the same directory.
//
// copyright (c) 2011 the... | [
"mooreccc@foxmail.com"
] | mooreccc@foxmail.com |
2c678f32e906a7708c815eb233af3f237e28a74f | 8ffc5b843ba14f09c1347ce9406801a55979885f | /60/main.cpp | ce465d2f40758752a353279b593dd29de2c43e7f | [] | no_license | tomoki/project-euler | 460c622fd3b019e3b1f2373384f5f4d9a249aba9 | aec64f83e36cb640d9c34fd342b4ab7fe9b80d78 | refs/heads/master | 2021-01-10T02:43:39.852037 | 2016-03-18T17:10:05 | 2016-03-18T17:10:05 | 54,218,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,402 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <queue>
#include <sstream>
#include <cmath>
//#include <omp.h>
using namespace std;
template<typename T>
ostream& operator<<(ostream& os,const vector<T>& val){
os << "[ ";
for(typename vector<T>::const_iterator it=val.begin();
it != va... | [
"tomo832@gmail.com"
] | tomo832@gmail.com |
b25230128819554022c93adf3717a8c4bc555e9e | 814fd0bea5bc063a4e34ebdd0a5597c9ff67532b | /athena/extensions/chrome/app_list_controller_delegate_athena.cc | a731c8b855c132e46d0c6dcd722065031ac7561f | [
"BSD-3-Clause"
] | permissive | rzr/chromium-crosswalk | 1b22208ff556d69c009ad292bc17dca3fe15c493 | d391344809adf7b4f39764ac0e15c378169b805f | refs/heads/master | 2021-01-21T09:11:07.316526 | 2015-02-16T11:52:21 | 2015-02-16T11:52:21 | 38,887,985 | 0 | 0 | NOASSERTION | 2019-08-07T21:59:20 | 2015-07-10T15:35:50 | C++ | UTF-8 | C++ | false | false | 2,980 | cc | // 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.
#include "athena/extensions/chrome/app_list_controller_delegate_athena.h"
#include "athena/activity/public/activity_factory.h"
#include "athena/extension... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
cc70636baaa9116eea7325486b91734778f30019 | 8dcc184db7b10919b13ef481aa6594b2ee55842e | /CppTest/calc.cpp | 73291ad5bf28458cb1908d29e07c2bbdbb68b1d8 | [] | no_license | jeffniu/cpptest | 48f6d9fa82cf18905b1aa2bfde7a84529bfd2724 | 39b2259947e202b526f4e5d10af296060af6be99 | refs/heads/master | 2020-05-19T10:32:05.134509 | 2015-07-05T03:33:22 | 2015-07-05T03:33:22 | 38,153,706 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | cpp | //
// calc.cpp
// CppTest
//
// Created by GUANGYUAN NIU on 27/6/15.
// Copyright (c) 2015 ngy. All rights reserved.
//
#include "calc.h"
int Calc::add(int a, int b) {
return a + b;
}
| [
"a0039576@u.nus.edu"
] | a0039576@u.nus.edu |
4a5784297ff5a1ffec98962611b6d4361d10af70 | 61adb3fa7901b594e04de3cc91d39e4555592e8f | /OriginalRosenbluthCollisionOperator.H | 5669bac6852e3ed3dc97a3b4fd333a73294cfacb | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | LLNL/LOKI | 63c4b90a88e10d6e6c748d24bbf499ca8e86792d | c80ea474bf2785b2642398cafceebec7c43dda00 | refs/heads/master | 2023-06-03T20:41:15.103427 | 2022-10-18T17:15:20 | 2022-10-18T17:15:20 | 135,104,606 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 8,371 | h | /*************************************************************************
*
* Copyright (c) 2018-2022, Lawrence Livermore National Security, LLC.
* See the top-level LICENSE file for details.
* Produced at the Lawrence Livermore National Laboratory
*
* SPDX-License-Identifier: MIT
*
***************************... | [
"arrighi2@ruby964.llnl.gov"
] | arrighi2@ruby964.llnl.gov |
24415499abbc2299752916b4b99740c40b8060c3 | 2fc2eb5befec70dfe962a8a48ee727dc876ca32c | /src/BESolver/BESolver.h | f9704a045d71b0afce556023bcc72abd4fbe27c9 | [] | no_license | ludovicadelpop/MultiRate_SparseMatrix | 8c3e0b43b54697f88609cc470e67e5d50535f1f4 | ae30c628598dc485e2e40ac1b381b51f8c7c28da | refs/heads/master | 2021-01-10T07:36:59.778128 | 2016-02-16T10:29:56 | 2016-02-16T10:29:56 | 51,826,608 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 914 | h | /*
* BESolver.h
*
* Created on: Nov 5, 2015
* Author: delpopol
*/
#ifndef BESOLVER_H_
#define BESOLVER_H_
#include "BESolverInput.h"
#include "BESolverOutput.h"
#include "INewtonFunction.h"
#include "TraceMng.h"
#include "IRHSFunction.h"
#include "INewtonSolver.h"
//! Class to solve a single time step wit... | [
"ludovica.delpop92@gmail.com"
] | ludovica.delpop92@gmail.com |
d168d675832d5ab1aa2e1a1390d33697aa098012 | 1fb60732828ab4b26dee5c1a6c09192b3e72605b | /galaxy-game/UFO.cpp | e1999e6506f1a2f65234711749a983d541608258 | [] | no_license | phatnm-student-hcmus/ProjectOOP | e24a01135607cddbfdbcb7e38c741743d57946b8 | d1d63f873990506b8cdb2df37a5dd11d297fbaa4 | refs/heads/master | 2023-06-18T01:26:48.123211 | 2021-05-09T12:29:10 | 2021-05-09T12:29:10 | 365,736,903 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,066 | cpp | #include "UFO.h"
UFO::UFO() {
int random_result = rand() % 100;
//in range(0, RATE_SPOND_GOOD_UFO)
if (random_result < RATE_SPOND_GOOD_UFO) {
type_ = GOOD;
shoting_time_ = 0;
health_ = 2;
rect_.x = rand() % (SCREEN_WIDTH - UFO_GOOD_WIDTH);
rect_.y = 0;
rect_.w = UFO_GOOD_WIDTH;
rect_.h = UFO_GOOD_HEI... | [
"74006956+phatnguqqq-2428@users.noreply.github.com"
] | 74006956+phatnguqqq-2428@users.noreply.github.com |
721d43441d85de6f55b912d91ba737c4ae7c98f4 | 94b8f58837d4dd948fcdb0b4372caab9f3115c79 | /游戏组件/常规游戏/新百家乐/游戏客户端/GameFrameWindow.h | 74a204543b423788a36dac2875fe0cbb724fc1f7 | [] | no_license | zwong91/qpserver | ed364701c363d164bcb695bed02ba9131a9cc3b2 | 6e2de86fe60e3c45cc192f69a137f61e58f02325 | refs/heads/master | 2020-07-27T14:01:05.894864 | 2017-11-13T11:54:27 | 2017-11-13T11:54:27 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,019 | h | #pragma once
#include "StringMessage.h"
//屏幕限制
#define LESS_SCREEN_CY 740 //最小高度
#define LESS_SCREEN_CX 1024 //最小宽度
class CGameFrameWindow : public CFrameWnd, public IGameFrameWnd, public IUserEventSink
{
//组件接口
protected:
IClientKernel * m_pIClientKer... | [
"wuliangyue7@163.com"
] | wuliangyue7@163.com |
5be001954f784217aeaca5aba02efde8a9a40338 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /base/android/path_utils.h | 7402644c1c252778ece6fb420203948278d48592 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 2,050 | h | // 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.
#ifndef BASE_ANDROID_PATH_UTILS_H_
#define BASE_ANDROID_PATH_UTILS_H_
#include <jni.h>
#include "base/base_export.h"
namespace base {
class FilePa... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
7bfc5f79aa9f8939b49f9fad53b76af9ce764544 | 6f74c30d783d414d05d696ba78b1f2ed85ffe561 | /vtkheaders/vtkTextMapper.h | b60d527014ddfc39b98e900b8cd2c4b20f9db9c6 | [] | no_license | yyang2/3DROIManager | e7734b1e844ab28f7c927c1fa577654809784db7 | 088d66d6a6841e78a5fe2fd07312dddbb7ebfbf4 | refs/heads/master | 2021-01-23T16:30:25.723641 | 2011-06-28T22:46:43 | 2011-06-28T22:46:43 | 1,399,984 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,929 | h | /*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: vtkTextMapper.h,v $
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This... | [
"yyang2+git@gmail.com"
] | yyang2+git@gmail.com |
e92bea477cc88b4b20b4289348c672ba23083c83 | 504d1d75fcf7a4d1d00ce3d07bd263c6b18cec98 | /src/qt/editaddressdialog.h | b8c0f2b54a71914180144c156b2fd59f48122f4e | [
"MIT"
] | permissive | eenglish34/E-BlockMail | 698038c14c11cb2ad76f9784934470bc99935835 | 96f3cb7a3999643b0609d1c31927848dc37faae2 | refs/heads/master | 2020-03-29T14:46:58.161284 | 2018-10-10T18:03:30 | 2018-10-10T18:03:30 | 150,032,461 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,223 | h | // Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2017 The EBlockmail developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_EDITADDRESSDIALOG_H
#define BITCOIN_QT_EDITADDRESSDIALOG_H
... | [
"eenglish34@hotmail.com"
] | eenglish34@hotmail.com |
ab331bba057ef6a0446d541800d30ef549067a2f | c7693de80148bc9e6fa38e7bcf59717e6bcf1d93 | /include/cyberlink/xml/DeviceData.h | e343ebaf0f6df6b56e59db31efd21bea17dae24d | [] | no_license | muidea/magicMirror | bea6d0fe2696573641042528670a961756895828 | 8d301c26b8055cec7f48913f4497a52c6d5c91f7 | refs/heads/master | 2021-01-20T06:51:04.723500 | 2017-05-13T16:19:08 | 2017-05-13T16:19:08 | 89,934,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,720 | h | /******************************************************************
*
* CyberLink for C++
*
* Copyright (C) Satoshi Konno 2002
*
* This is licensed under BSD-style license, see file COPYING.
*
******************************************************************/
#ifndef _MUPMPCC_DEVICEDATA_H_
#define _MUPMPCC_DE... | [
"muidea@gmail.com"
] | muidea@gmail.com |
5fd85b17ce0f23d6771d4e3cb2f749bf414b2fa6 | 5915dfcedd7e954c4c76feb4bda431f8a238614f | /world/aurora_world_editor.cpp | a6133119653db208affff00899e0a44a8fda2656 | [] | no_license | Boyquotes/aurora-code | f39b6997ebdf1e5eeb89c04fc9bc0e85954e8a9d | 66d0b129465004f3765dab7bd109c2367d2e33ac | refs/heads/master | 2023-05-29T19:13:06.869835 | 2020-04-26T19:44:06 | 2020-04-26T19:44:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,145 | cpp | #include "aurora_world_editor.h"
#include "aurora_level.h"
#include <assert.h>
#include "../physics/aurora_physic_constants.h"
#include "../physics/aurora_physic_types.h"
namespace aurora {
AuroraWorldEditor::AuroraWorldEditor()
{
}
AuroraWorldEditor::~AuroraWorldEditor()
{
}
// void AuroraWorldEditor::set_world... | [
"fred.bertolus@gmail.com"
] | fred.bertolus@gmail.com |
c0f5cf3ddd7687b539bd05959687b46d45ba31c4 | 829faecc97ec07db831c9c138bdf089ee34c9a0f | /cpp/openGLEssential/lessons/Lesson4.2/WrappingModesDemo.h | 9100d12e48cce7412c908df62af0c5ebac08653a | [] | no_license | sysbender/study | ec1cf8baa3b2971dfb9aa08566bf5db7e5cc663d | d69bd41a269a4936624b6c4bcd53a71616986eb0 | refs/heads/master | 2021-01-20T06:07:56.494951 | 2018-07-16T12:47:01 | 2018-07-16T12:47:01 | 101,484,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,672 | h | #pragma once
#include "DrawableGameComponent.h"
#include "ShaderProgram.h"
#include "Game.h"
namespace Library
{
class VertexPositionTexture;
}
namespace Rendering
{
class WrappingModesDemo final : public Library::DrawableGameComponent
{
RTTI_DECLARATIONS(WrappingModesDemo, Library::DrawableGameComponent)
pub... | [
"sysbender@gmail.com"
] | sysbender@gmail.com |
639ffb4d31f4d165ca1d27b0c9f62d1f674750e9 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE319_Cleartext_Tx_Sensitive_Info/testcases.h | 481238d1f1c42c696320924a0945888de8d0f3f7 | [] | 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 | 34,530 | h | // NOTE - eventually this file will be automatically updated using a Perl script that understand
// the naming of test case files, functions, and namespaces.
#ifndef _TESTCASES_H
#define _TESTCASES_H
#ifdef __cplusplus
extern "C" {
#endif
// declare C good and bad functions
#ifndef OMITGOOD
/* BEGIN-AUT... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
13eafe5289ded7db694798d35eb49ed334d62064 | d0bec9915dc87e21aa9faab172002a1775c56bad | /LinkedListInteger/LinkedListInt.cpp | dec7c7f6236825ef52589eb86e32e55cded09159 | [] | no_license | PawaraGunawardena/data-structures-cpp | 9431020bb883babbd1137340c0ee08cc29c075f2 | 3d775b2c1fbb46ab1731b2dc675ab911b6a077a7 | refs/heads/master | 2022-12-10T01:00:53.898715 | 2020-08-28T15:17:55 | 2020-08-28T15:17:55 | 291,078,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,903 | cpp | #include "LinkedListInt.h"
LinkedListInt::LinkedListInt()
{
this->head = nullptr;
this->last = nullptr;
this->iterator = 0;
this->numberOfElements = 0;
this->pNewNode = nullptr;
this->pTempNode = nullptr;
}
LinkedListInt::~LinkedListInt()
{
this->pTempNode = this->head;
while (this->pTempNode->next != nullpt... | [
"pawara.15@cse.mrt.ac.lk"
] | pawara.15@cse.mrt.ac.lk |
3cf4df19a3fb197542a86fc6b6c066b5cc936f1b | e20eb66d8ce0ab07b1d5b7a699f1cd5498de7087 | /leetcode/leetcode-118-pascal's triangle.cpp | e3a1e0847be11d0ab8b985bef62b952c7c38130d | [] | no_license | yohstone/programming-practice | 438ec9ea6ebba57ee259157c731648b8d9a83a05 | ce6d07cb2d1143700af00afe5bb011b0e966d7fb | refs/heads/master | 2020-04-24T10:25:33.460405 | 2020-04-22T08:00:05 | 2020-04-22T08:00:05 | 171,894,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,572 | cpp | #include<iostream>
#include<vector>
using namespace std;
// 杨辉三角
// 给定一个非负整数 numRows,生成杨辉三角的前 numRows 行。
// 在杨辉三角中,每个数是它左上方和右上方的数的和。
// 示例:
// 输入: 5
// 输出:
// [
// [1],
// [1,1],
// [1,2,1],
// [1,3,3,1],
// [1,4,6,4,1]
// ]
// Given a non-n... | [
"steve_stone@126.com"
] | steve_stone@126.com |
cfcbddf358b94b02b149f031fd0a1d64d8ee4849 | c03699857dad786645588ce679e8d044933bb14c | /ToBeDone/server.hpp | 3d29be2b0dd770fa94cc1cf2b2fb70afd687d2a3 | [] | no_license | Zarine-Sayadyan/instigate_training_2019 | f6c80ef43c23bc778544c87d66e640ecf48d1250 | 3240211865c8d13a04e0863e0ef986482d9a1498 | refs/heads/master | 2020-05-09T13:34:16.331593 | 2019-05-17T10:20:44 | 2019-05-17T10:20:44 | 181,156,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 765 | hpp | #include <cstring>
#include "thread.hpp"
#include "socket.hpp"
#include <vector>
namespace messenger
{
class server;
class talker;
}
class messenger::server
{
private:
void run();
void login_user();
void logout_user();
void register_user();
void notify();
void add_user... | [
"zara030396@gmail.com"
] | zara030396@gmail.com |
752ce9e61414477ac1d693ec599f28a66bec9857 | 5123b2969d9b6c1ba8261ec902b8eeb680a23302 | /PrintArray.h | a2775b566e7ae0bd208af6a7ffea145b708ad45d | [] | no_license | Noura/PrintArray | 31ba0313d26941a6814569e873f0c93b849bc051 | 8ae19a3a0f0f59234d343dd6484b8327870cf6c3 | refs/heads/master | 2020-12-31T08:09:07.200687 | 2016-06-28T18:54:32 | 2016-06-28T18:54:32 | 62,093,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | h | /*
PrintArray.h - for printing Arrays with Serial.print( ... )
2016 Noura Howell
https://github.com/Noura/PrintArray.git
*/
#ifndef PrintArray_h
#define PrintArray_h
#include "Arduino.h"
#include "HardwareSerial.h"
class PrintArray
{
public:
static void printArrayInt(int * arr, int N);
... | [
"culurienneldoreth@gmail.com"
] | culurienneldoreth@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.