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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11ee7c334c99893c878810b89233213d22b4e224 | f03cc0f5dd196b1abe9464bf602b7859865df53c | /字符串循环移位包含.cpp | 74d094477b6dffb885f946ba29512bbfb634b92e | [] | no_license | faradayin/jz | 556881452557566b77f16cb4c2bd3b9670f64088 | dce5ec8cd339169ad764867e0bdd2bcc34e0bb2c | refs/heads/master | 2020-08-01T14:21:35.156140 | 2019-09-26T07:02:04 | 2019-09-26T07:02:04 | 211,013,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,390 | cpp | /*
给定两个字符串s1,s2,要求判定s2是否能够被s1做循环移位得到的字符串包含。
*/
//C代码
#include <stdio.h>
#include <string.h>
int main()
{
char s1[] = "AABCDEF";
char s2[] = "CDEFA";
int len = strlen(s1);
int i, j;
char temp;
for (i = 0; i < len; i++)
{
temp = s1[0];
for (j = 0; j < len - 1; j++)
{
... | [
"yinfeng.v@gmail.com"
] | yinfeng.v@gmail.com |
e158dc292706608db070e99bcea8a9c89aefa09f | 62836532e3170e0f9d6be67ea546e8b462ebf80e | /Ambos-Pi/src/Order.hpp | bffc2cd4c36b5cc190742be239cfa229903a1194 | [] | no_license | AMBOS-3D/Ambos-3D-Repo | 38fb308fd2deb896eaaf454af4cec91be2c65902 | 3ce09fd457f01775e1ebbc10be02e60dc36fb624 | refs/heads/master | 2022-03-13T11:40:13.466321 | 2022-03-02T09:04:28 | 2022-03-02T09:04:28 | 129,708,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,252 | hpp | #pragma once
#include <string>
#include "Component.hpp"
#include "Workplace.hpp"
#include "Settings.hpp"
#include "HandDetector.hpp"
/**
* @class Order
* @brief Zentrales Objekt für V1. Main-loop wird in processOrder gestartet. Für die Verarbeitung wird ein FrameHandler Objekt verwendet
*/
class Order
{
// Funkt... | [
"christian.jauch@ipa.fraunhofer.de"
] | christian.jauch@ipa.fraunhofer.de |
94ef55167e500305b711d270b32a67754b170844 | 45472ac0c43ebce4e1f85dd8aff69fb99a8c1307 | /CG_Fase4/generator/figures.cpp | 021bb34a6296c72af6481cd8c1e54ef5620bb7ad | [] | no_license | AdrianaMeireles80/CG | f1b1bd87087ad15cf76398caba9acc735aa0f801 | d7322acd9724872e13572a776d1923eb114cfff6 | refs/heads/master | 2021-03-13T21:05:27.545327 | 2020-03-28T21:09:33 | 2020-03-28T21:09:33 | 246,712,430 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,849 | cpp | #define _USE_MATH_DEFINES
#include "headers/figures.h"
#include <math.h>
using namespace std;
float quadrants[8][3] = {
{ 1, 1, 1},
{ 1, 1, -1},
{-1, 1, -1},
{-1, 1, 1},
{ 1, -1, 1},
{ 1, -1, -1},
{-1, -1, -1},
{-1, -1, 1},
};
float normals[6][3] = {
{0,1,0},
{0,-1,0},
{0,0,1},
{0,0,... | [
"adriana_1998@live.com.pt"
] | adriana_1998@live.com.pt |
371695e48663f1ca9e5b67dee34e0bd768560f49 | 5bce87c99f3c62c9caafdc253ed1e26ee3887c68 | /src/board.cc | 5ac57101f62113d9ff25ce0fa113aa800d3b545e | [
"MIT"
] | permissive | CS126SP20/tetris-lucianatl | aff834d19067dc22c142cb96671dba3b9cde31b1 | d55bbf32c05f793ff0dbbc0c9a8dc7e78a27fd9f | refs/heads/master | 2022-06-08T00:27:32.688450 | 2020-05-07T02:25:15 | 2020-05-07T02:25:15 | 257,122,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,670 | cc | //
// Created by Luciana Toledo-Lopez on 4/22/20.
//
#include "mylibrary/board.h"
namespace tetris {
Board::Board() {}
Board::Board(int screen_height) {
kScreenHeight = screen_height;
FillBoard();
}
int Board::GetScreenHeight() const {
return kScreenHeight;
}
void ... | [
"Csc3maat"
] | Csc3maat |
2a5fcfbb4a4fde05393f7886768d498102c749d3 | 97478e6083db1b7ec79680cfcfd78ed6f5895c7d | /base/message_loop/message_loop_io_posix_unittest.cc | f98d4668d3a6299e16047c250e3098bdb830a337 | [
"BSD-3-Clause"
] | permissive | zeph1912/milkomeda_chromium | 94e81510e1490d504b631a29af2f1fef76110733 | 7b29a87147c40376bcdd1742f687534bcd0e4c78 | refs/heads/master | 2023-03-15T11:05:27.924423 | 2018-12-19T07:58:08 | 2018-12-19T07:58:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,458 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/message_loop/message_loop.h"
#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/files/file_util.h"
#include "base/f... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d0a2f8dc6db2356c0b467dd57657aee35f51e601 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE789_Uncontrolled_Mem_Alloc/s01/CWE789_Uncontrolled_Mem_Alloc__malloc_char_rand_84_goodG2B.cpp | 01ff71d446cc7b8e5da5605854525df9b9a3b7f0 | [] | 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,130 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_char_rand_84_goodG2B.cpp
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml
Template File: sources-sinks-84_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: rand... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
7edd28d0b1c75bcdea8a4587028eaad9cfde468b | 607c0886ca3e52e99313053e7be77bee60cb41ac | /infantry/rune/tiny_dnn/core/kernels/global_avepool_grad_op.h | dc5b6eed42aed586cae84196e0776f6913f173f7 | [] | no_license | bobbyshashin/RoboMasters | 9620e27c6967a3da35fb7df5f4b853dfde343890 | 589c879ab276d05ddf283adfe5292629fb6dc408 | refs/heads/master | 2021-03-24T09:10:27.787322 | 2017-07-21T18:59:27 | 2017-07-21T18:59:27 | 63,122,244 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,091 | h | /*
Copyright (c) 2017, Taiga Nomi
All rights reserved.
Use of this source code is governed by a BSD-style license that can be found
in the LICENSE file.
*/
#pragma once
#include "tiny_dnn/core/framework/op_kernel.h"
#include "tiny_dnn/core/kernels/global_avepool_op_internal.h"
namespace tiny_dnn {
c... | [
"xvjiarui0826@gmail.com"
] | xvjiarui0826@gmail.com |
ed03d2aa673e8592147f3e1f2c91699f019c98fa | 3c0ddf4722dec4ab07c571705f46c98942c55efe | /cpp/chap02/02_01.cpp | 5adbd500415ad9809be7a4de47504144b73d2c87 | [] | no_license | bennyang/Hello-World | 5430385c479fd3e887a5248fbe8abb6669b0322c | 880a4cb7d1fe1e6cb8e94229416b9e822fe70d48 | refs/heads/master | 2021-01-19T18:17:04.157075 | 2017-08-20T09:35:34 | 2017-08-20T09:35:34 | 88,352,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | cpp | #include <iostream>
int main()
{
bool b = 42;
std::cout << b << std::endl;
int i = b;
std::cout << i << std::endl;
i = 3.14;
std::cout << i << std::endl;
double pi = i;
std::cout << pi << std::endl;
unsigned char c = -i;
std::cout << c << std::endl;
signed char c2 =256;
std::cout << c2 << std::e... | [
"benn2015@163.com"
] | benn2015@163.com |
745323ca11d0f20fc3dfc19a6d873e96f19e3325 | 70b106ea0a9286533fdb6e3ff7157ca82b836d8f | /code/ListBoxHandler.h | 62950dc5f4817cac775d74797b5c9c39039f5d9d | [
"MIT"
] | permissive | Mankua/texlay | c03458ee1577da6f9093acfae132534203528c85 | 8e67db732b525ac2abf6622c926c7b347fc211ec | refs/heads/master | 2021-01-23T19:46:10.384985 | 2014-06-12T13:36:38 | 2014-06-12T13:36:38 | 20,766,708 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 790 | h | #pragma once
// custom drag&drop notification message
// dragged item as WPARAM
// dropped position as LPARAM
#define USER_LB_DRAGDROP WM_USER+1
#define USER_LB_SETSEL WM_USER+2
#define USER_LB_ACTIVATE WM_USER+3
class CListBoxHandler
{
public:
CListBoxHandler();
virtual ~CListBoxHandler();
public:
BOOL SetTar... | [
"diego@mankua.com"
] | diego@mankua.com |
09446eb6f017a3054418ead27d0c27f47fc848d2 | 11348e739dee821e4bdd6ec0e4c6c041a01b0b59 | /kk/916.股神九.cpp | 80a1dfbe83415ced29265dbc0223485c4bc9e360 | [] | no_license | Spartan859/Noip_Code | 580b1f022ca4b8bf3e77ff8d57d230340715a98d | 8efe9e7cc6f29cd864b9570944932f50115c3089 | refs/heads/master | 2022-11-18T15:09:19.500944 | 2020-07-11T13:36:21 | 2020-07-11T13:36:21 | 163,517,575 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | cpp | #include<bits/stdc++.h>
#define N 10005
#define ll long long
using namespace std;
ll f[N][2],n,k,x[N],tmp=0,bf,cnt=1,ans,cntz=0,sumz=0;
const ll zr=0;
int main(){
//freopen("god9.in","r",stdin);
//freopen("god9.out","w",stdout);
scanf("%lld %lld",&n,&k);
for(ll i=1;i<=n;i++){
scanf("%lld",&x[i]);
}
for(ll i=1;i... | [
"36628376+Spartan859@users.noreply.github.com"
] | 36628376+Spartan859@users.noreply.github.com |
faed9c002399c6cc96115cfd7e1ea973ec470562 | 814fda3bc42d0b324b33c2cbb57cb4a327f71e96 | /test/2019/Day05PuzzleTests.cpp | 10a27b55f0c5fee7a7dac2d331673cfea2533fe7 | [
"MIT"
] | permissive | MarkRDavison/AdventOfCode | 377591ce341e37ef2bffa563ccd596fdacc83b60 | a415f3311ad29a5ed2703113769b04b9614e7d57 | refs/heads/main | 2022-12-21T10:04:37.032919 | 2022-12-18T05:55:29 | 2022-12-18T05:55:29 | 162,899,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 588 | cpp | #include <catch/catch.hpp>
#include <2019/Day05Puzzle.hpp>
namespace TwentyNineteen {
TEST_CASE("2019 Day 5 Part 1 Example work", "[2019][Day05]") {
const std::vector<std::string> input = {};
Day05Puzzle puzzle{};
puzzle.setVerbose(true);
puzzle.setInputLines(input);
auto answers = puzzle.... | [
"markdavison0+github@gmail.com"
] | markdavison0+github@gmail.com |
cc82e7648d031ee6f0aad43e0df6b4b17cfdffe1 | dd9ce0e1ebbb2dd0e2110eae8246346b5e4e6bb3 | /diamnet-core/src/ledger/LedgerTxnHeader.h | 712cfd5514d86d6781f09a07d670c6237d241b5d | [
"MIT",
"BSD-3-Clause",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | shanhashcah/diamnet-core15 | f9a4d2b9dd93ac504782df85225e4f924ac8bdc2 | de15c6b197f8c21f269c0b99d90c6b243d1addb0 | refs/heads/master | 2023-08-25T01:45:11.747763 | 2021-10-20T16:09:35 | 2021-10-20T16:09:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | h | #pragma once
// Copyright 2018 Diamnet Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include <memory>
namespace diamnet
{
class AbstractLedgerTxn;
struct LedgerHea... | [
"ubuntu@ip-172-31-22-243.us-west-1.compute.internal"
] | ubuntu@ip-172-31-22-243.us-west-1.compute.internal |
aa5f341b655fd86ea3cde9f959b5505226d93115 | 10fdc68abb2110732bc3928a577aa404153c824b | /third_party/skcms/skcms.cc | b746879d60c25f42310ee54fb6c502b43cbb6cda | [
"BSD-3-Clause"
] | permissive | EdSchouten/skia | 6f60471eebe2faf398b7915d1d6f057fe761afc5 | a583a06f831e9e03c303920b9d34f085508135c1 | refs/heads/master | 2020-04-01T14:02:12.877873 | 2018-10-16T07:19:03 | 2018-10-16T07:45:33 | 153,277,813 | 0 | 0 | NOASSERTION | 2018-10-16T11:57:33 | 2018-10-16T11:57:33 | null | UTF-8 | C++ | false | false | 83,896 | cc | /*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "skcms.h"
#include "skcms_internal.h"
#include <assert.h>
#include <float.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#if defined(__ARM_NEON)
... | [
"skia-commit-bot@chromium.org"
] | skia-commit-bot@chromium.org |
f0a505a4b5337baa695646180bde0534801ba0e3 | 879681c994f1ca9c8d2c905a4e5064997ad25a27 | /root-2.3.0/run/tutorials/multiphase/twoPhaseEulerFoam/RAS/fluidisedBed/0.9/p | 2d4df613a55cb025445f2012d3f2adec1dbf4ac7 | [] | no_license | MizuhaWatanabe/OpenFOAM-2.3.0-with-Ubuntu | 3828272d989d45fb020e83f8426b849e75560c62 | daeb870be81275e8a81f5cbac4ca1906a9bc69c0 | refs/heads/master | 2020-05-17T16:36:41.848261 | 2015-04-18T09:29:48 | 2015-04-18T09:29:48 | 34,159,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,716 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"mizuha.watanabe@gmail.com"
] | mizuha.watanabe@gmail.com | |
582b0c950c3e9ee0932c8ac16951bf7a6a5c94c3 | bd6726e677dd8ef16856747ce4f7450e5cc9b00b | /src/FelZenSegment/imconv.cpp | b5f38eacc6dc8e6565b4c213eb8515e9b2aa3bc0 | [] | no_license | i-genius/image-segment | 63c05b9227c4dbd9d6dc9527d7d99dfd45086fd2 | 653840e53ef2b31ec2cf09a747628af56efd6b29 | refs/heads/master | 2021-05-02T06:49:26.746806 | 2018-02-09T07:08:04 | 2018-02-09T07:08:04 | 120,864,802 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,863 | cpp | /*
Copyright (C) 2006 Pedro Felzenszwalb
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 2 of the License, or
(at your option) any later version.
This program is distributed in the ho... | [
"Tx_huntaway1023@163.com"
] | Tx_huntaway1023@163.com |
d29b2df26638bb029a429e97d5041f2357e0b087 | e929869ccbcd6142760b7b4acbb52d2d60beb2af | /lib/PID/PID.h | 95e1a28bfbe7e02bdc2cf239b160abee5cc3b056 | [] | no_license | rudra-potlapally/Epsilon-6-2022 | 6481974f406a76bb98f80d0fa1db3f1ea8dd5538 | ce2c152a4d82d4d307c7522f179945734efd0775 | refs/heads/main | 2023-08-17T19:25:33.670674 | 2021-10-11T04:33:16 | 2021-10-11T04:33:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | h | #ifndef PID_H
#define PID_H
#include <Arduino.h>
class PID {
public:
double kp;
double ki;
double kd;
PID(double p, double i, double d, double absoluteMax = 0.0);
double update(double input, double setpoint, double modulus = 0.0);
private:
unsigned long lastTime;
double absMax;
doub... | [
"27093@bbc.qld.edu.au"
] | 27093@bbc.qld.edu.au |
836eb26637f9d8a9fe2ea0bb1277a24c901dc174 | ed033bdd4ded921dc94cc78110507e1e9e8c257c | /GL_Game_Colors/GL_Game_Colors/Painter.cpp | 8ed8e7849b2adb86a13590ff34d035442710c64c | [] | no_license | coint-my/store | cda8f37db9859a02141e1f59aee9c56d79fdc145 | 395d717c8f3053ab3db3084f4261b0344cbbc4ba | refs/heads/master | 2023-04-14T22:52:36.659403 | 2023-04-05T13:48:17 | 2023-04-05T13:48:17 | 245,461,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | cpp | #include "Painter.h"
Painter::Painter(void)
{
}
Painter::~Painter(void)
{
}
void Painter::DrawTile(const int _rad, const int _seg, const float _x, const float _y, const Color &_col)
{
glColor3f(_col.r, _col.g, _col.b);
glBegin(GL_POLYGON);
for(int i = 0; i < _seg; i++)
{
float angle = M_PI / _seg;
float p... | [
"vovabelyaev1984@gmail.com"
] | vovabelyaev1984@gmail.com |
21d3c5dac9a8fccb1a8f4de7e81df4674e4e79a0 | 80788be5905eee6c573fb310602dfe54143d0fba | /Source/DemoDisc1/EndGame/EndGameUI.h | bb6c83b3782e9d63ba0d87c55470bdb448cacf3e | [] | no_license | bgonz12/DemoDisc1 | 72e49c8601d17b4a019a3546f181825db84a27c1 | 6963d516e7e290330fe9a5aed32849e9dc9aec27 | refs/heads/master | 2021-04-19T03:30:07.701981 | 2020-05-27T18:11:39 | 2020-05-27T18:11:39 | 249,575,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "EndGameUI.generated.h"
/**
*
*/
UCLASS()
class DEMODISC1_API UEndGameUI : public UUserWidget
{
GENERATED_BODY()
public:
virtual bool Initialize() over... | [
"bgonz12@hotmail.com"
] | bgonz12@hotmail.com |
da6e2356d32819241b2f922b46da256fdd28dba1 | d1827a314078bd6ea73bbe47e892853b2c578c9e | /src/qt/signverifymessagedialog.cpp | d4c3b1756dfdfa593aaba044de017bd79efd0ba7 | [
"MIT"
] | permissive | 404c/404 | 814fa768e518e72da629b21a32e13276a6808e26 | 2c9beab63f7fc6ba2faeff00faa9a6d38f82b728 | refs/heads/master | 2021-01-20T20:32:44.637573 | 2016-06-07T11:00:47 | 2016-06-07T11:00:47 | 60,607,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,779 | cpp | #include "signverifymessagedialog.h"
#include "ui_signverifymessagedialog.h"
#include "addressbookpage.h"
#include "base58.h"
#include "guiutil.h"
#include "init.h"
#include "main.h"
#include "optionsmodel.h"
#include "walletmodel.h"
#include "wallet.h"
#include <string>
#include <vector>
#include <QClipboard>
Sign... | [
"404coin@scryptmail.com"
] | 404coin@scryptmail.com |
2a465783748c7c72a8877a8e5b5f4666644d2b23 | 6ef6213d2fa39d1d0ab7e2373d882b9d263e8c6d | /vision_sdk/apps/tools/vision_sdk_usecase_gen/vsdk-ctx.h | 73879caf09fc890b2d528bace629a62530deba94 | [] | no_license | Zhangh2018/PROCESSOR_SDK_VISION_03_06_00_00 | 9c380d3167b156a11a8f21814e94ac5550cddc87 | 05c72de5d031006c7565d4234abd53670a926acd | refs/heads/master | 2021-10-16T13:43:05.313842 | 2019-02-11T09:10:44 | 2019-02-11T09:10:44 | null | 0 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 3,144 | h | /******************************************************************************
Copyright (c) [2012 - 2017] Texas Instruments Incorporated
All rights reserved not granted herein.
Limited License.
Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive
license under copyrights and patents it... | [
"yukichen@otobrite.com"
] | yukichen@otobrite.com |
077e108ff2502363cd26c6bb66914be2a8c4b812 | ddf1edc6d185169aabfbbf4465d24421e568868a | /Activity2/main.cpp | 8db639bdf4ef510027aa63a95e0ce810ae9ff721 | [] | no_license | Jatapiaro/Activity | b7ab22f0bc7abb780b9bccd69615ef371b830636 | 8cbcb3f16147c8a28897ca14d63adf98e3c6d0e4 | refs/heads/master | 2020-05-26T14:41:58.479224 | 2017-03-15T00:55:29 | 2017-03-15T00:55:29 | 85,006,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,815 | cpp | /*
TC3022. Computer Graphics
Sergio Ruiz
External geometry loader activity.
*/
#ifdef __APPLE__
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <GLUT/glut.h>
#else
#include "freeglut.h"
#endif
#include <stdio.h>
#include <math.h>
// NATE ROBINS' OBJ MODEL LOADER (http://devernay.free.fr/hacks/glm/)
#inclu... | [
"jacob.et.cetera@gmail.com"
] | jacob.et.cetera@gmail.com |
0fd69a9dcfead279458bb054b40fcb440c90eda0 | 0dca3325c194509a48d0c4056909175d6c29f7bc | /outboundbot/src/model/GetAfterAnswerDelayPlaybackRequest.cc | ed610557a4d3a05edd6b979d3d0c794e0f3731c7 | [
"Apache-2.0"
] | permissive | dingshiyu/aliyun-openapi-cpp-sdk | 3eebd9149c2e6a2b835aba9d746ef9e6bef9ad62 | 4edd799a79f9b94330d5705bb0789105b6d0bb44 | refs/heads/master | 2023-07-31T10:11:20.446221 | 2021-09-26T10:08:42 | 2021-09-26T10:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,586 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
d0879019378c1879ee807f523a2f9a06935626e3 | 4d6aba3a0de0cd804305360649d9571a55b1c26c | /src/merkleblock.cpp | fddf7dbda695bbdae4a6d13589a57414738c4cb8 | [
"MIT"
] | permissive | PPeshev/MOK | cddf68771b73b573d377e13ce2297ee3b46a0c4c | eae922e60159aa4db696ea64ca69198669ed56d1 | refs/heads/master | 2020-03-25T12:00:27.334757 | 2018-09-24T14:52:19 | 2018-09-24T14:52:19 | 133,274,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,838 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2016-2018 The PIVX developers
// Copyright (c) 2018 The MOKEN developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.ph... | [
"lordpgp@gmail.com"
] | lordpgp@gmail.com |
3fd298f92410e488e2bc52f253306f73c0c68239 | a7bedf7925ce55e12337d3c6827c1e456c8d4d89 | /BinaryTreePreorderTraversal.cpp | 5cf970ca5581ac5831bfac4a2e6e158f54b18d86 | [] | no_license | denisewu/LeetCode | f9d1e90d8d6e205727426a330d7d32021e8c3445 | cea84d40a79106803f5d0ffdcdd548a96d0e86eb | refs/heads/master | 2021-01-01T15:25:17.356794 | 2015-03-16T14:08:30 | 2015-03-16T14:08:30 | 10,868,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 787 | cpp | /*
Given a binary tree, return the preorder traversal of its nodes' values.
*/
/**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
vector<int> preorderTra... | [
"denisewu.ict@gmail.com"
] | denisewu.ict@gmail.com |
f2d4248cfec4132eafb14863dc0c3f334d9cdd21 | cf2d0d0a648e912abb4b9b600ea0f287c2e4cac2 | /DMD/DMD.cpp | 2d9d5a3effd5f9f0a7d8366de02945e2b24f70d2 | [] | no_license | tqkhcmut/DMD_APP | a8f031487f8ac466f3898566b77493a327363692 | b2906d8917643d1e302491c6037aa75dfc438bdf | refs/heads/master | 2020-06-01T04:29:41.820318 | 2014-04-08T10:06:05 | 2014-04-08T10:06:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,858 | cpp | /*--------------------------------------------------------------------------------------
DMD.cpp - Function and support library for the Freetronics DMD, a 512 LED matrix display
panel arranged in a 32 x 16 layout.
Copyright (C) 2011 Marc Alexander (info <at> freetronics <dot> com)
Note that the DMD lib... | [
"kieutq@hotmail.com"
] | kieutq@hotmail.com |
194d79f708e434b7352f8a3a921a73db559bcba2 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/rsync/gumtree/rsync_old_log_204.cpp | cff69d808b5ca5ecd592f11d4cd3295c6c8e6728 | [] | 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 | 56 | cpp | fprintf(stderr,"fstat %s : %s\n",fname,strerror(errno)); | [
"993273596@qq.com"
] | 993273596@qq.com |
ea9d35310cc09482f6ea743a01fa9532975d7496 | 47ebf27cd965269321b5d07beea10aec6da494d9 | /Analysis/ReprocessingTools/ExtractKretchmann/OscillotonPotential.hpp | 0454ef4a6ac48357a24d04885a05a42768293cc5 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | JamieBamber/GRChombo | 9220fa67eeaa97eee17bc3c0a8ad17bfd3d02d0e | 4399e51f71618754282049d6f2946b69ad2c12ee | refs/heads/master | 2022-03-21T18:49:41.668222 | 2020-11-24T23:21:14 | 2020-11-24T23:21:14 | 201,951,780 | 0 | 0 | BSD-3-Clause | 2020-03-11T10:19:26 | 2019-08-12T14:55:47 | C++ | UTF-8 | C++ | false | false | 1,268 | hpp | /* GRChombo
* Copyright 2012 The GRChombo collaboration.
* Please refer to LICENSE in GRChombo's root directory.
*/
#ifndef OSCILLOTONPOTENTIAL_HPP_
#define OSCILLOTONPOTENTIAL_HPP_
#include "simd.hpp"
class OscillotonPotential
{
public:
struct params_t
{
double scalar_mass;
double f_axi... | [
"dc-bamb1@login-e-14.data.cluster"
] | dc-bamb1@login-e-14.data.cluster |
6e31e936886220631a55db35e0c613f2e62ffe61 | fc515a72800f3fc7b3de998cb944eab91e0baf7b | /52-2loopText 回文字符串——递归编程练习/main.cpp | caf8ef2017069b43976c04aad4fb523b63450ac1 | [] | no_license | jbji/2019-Programming-Basics-C- | 4211e0c25dd1fc88de71716ad6a37d41cd7b8b04 | 014d3d8a5f1d6a95c132699e98ef4bfb25ef845f | refs/heads/master | 2022-12-30T08:12:09.214502 | 2020-10-13T14:17:57 | 2020-10-13T14:17:57 | 303,658,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 926 | cpp | #include<iostream>
#include<cmath>
using namespace std;
int main()
{
int n; //数组长度
cin>>n;
int in[n];
//临时变量
int tmpDigit[10];//拆解用临时存储
int isLoop;
int i=0;
int j=0;
int k=0;
for(i=0;i<=n-1;i++){
cin >> in[i];
}
for(i=0;i<=n-1;i++){
//数字拆解
int tmp... | [
"jbji@foxmail.com"
] | jbji@foxmail.com |
adcd9768d53513c3ec88e6254542a5b73c772a72 | 863de8a7226bad3433e64ad212cb5abd90794254 | /src/eve/server/Connection.hpp | 698849174a4d2cfa0b60131eb658e64ab6f1627e | [] | no_license | Sol1du2/Eve | 9b4ed93282593d8f8228bfa7564dfcb8d9ff9687 | 440a4d1ef418b7d7b04b5f5a72db86f439e181e3 | refs/heads/master | 2023-01-05T17:41:31.443438 | 2020-10-30T18:36:23 | 2020-10-30T18:36:23 | 308,386,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,698 | hpp | #ifndef EVE_SERVER_CONNECTION_HPP
#define EVE_SERVER_CONNECTION_HPP
#include <boost/asio.hpp>
#include <boost/signals2.hpp>
#include "../msg/Http_parser.hpp"
#include "../msg/Reply.hpp"
#include "../msg/Request.hpp"
namespace eve
{
namespace server
{
/// This class holds a connection to the server.
/// When the comm... | [
"jtrgouveia@gmail.com"
] | jtrgouveia@gmail.com |
eee4b64fb7ca114cd146df7e0e05464bc59bdec1 | 039a30b5db53c7f828ea87b9f305f51be4d7e6cc | /模板/数据结构/主席树-静态第k大.cpp | e44d60df0f1e93b349ad11a6bb5d7a69dd813af6 | [] | no_license | 1092772959/My-ACM-code | cd5af7cebc04c3252ed880686759257237b63b34 | 87109a0a98e6ea49f8726927cc4357a9155ba3f2 | refs/heads/master | 2021-07-03T01:31:39.173353 | 2020-08-25T13:48:49 | 2020-08-25T13:48:49 | 151,587,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,999 | cpp | #include<cstdio>
#include<cstring>
#include<algorithm>
#include<cmath>
using namespace std;
typedef long long LL;
const int N = 200005;
const int INF = 0x3f3f3f3f;
int n,q,tot;
struct lp{
int l,r,sum;
lp(){l=r=sum=0;}
}cw[N*20];
int ar[N],br[N],now[N];
int root[N];
void update(int l,int r,int last,int &cur,int ... | [
"32030091+1092772959@users.noreply.github.com"
] | 32030091+1092772959@users.noreply.github.com |
0a46294170763fae0c3b81ba37df43f5a6e51163 | 5950c4973a1862d2b67e072deeea8f4188d23d97 | /Export/macos/obj/include/lime/media/openal/AL.h | 0325dba409155693cd2408a403b1727c6d78bfe5 | [
"MIT"
] | permissive | TrilateralX/TrilateralLimeTriangle | b3cc0283cd3745b57ccc9131fcc9b81427414718 | 219d8e54fc3861dc1ffeb3da25da6eda349847c1 | refs/heads/master | 2022-10-26T11:51:28.578254 | 2020-06-16T12:32:35 | 2020-06-16T12:32:35 | 272,572,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 17,649 | h | // Generated by Haxe 4.2.0-rc.1+cb30bd580
#ifndef INCLUDED_lime_media_openal_AL
#define INCLUDED_lime_media_openal_AL
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(lime,media,openal,AL)
HX_DECLARE_CLASS2(lime,utils,ArrayBufferView)
namespace lime{
namespace media{
namespace openal{
class HXCPP_CLASS_... | [
"none"
] | none |
7ff27ea3854395b31f70ec3fafe8e1abd707312e | b58ed4aec5031dbd83b254da9e1c5d7b0ed76b49 | /src/Checksummer.cpp | bd956f895483f16afb0b72922e7cb9cec13fff18 | [
"BSD-2-Clause"
] | permissive | 285424336/Middleware | ab961c94c7721950e9bf66660db7367f5363516d | 6438bdef16671482ecc1330679fa56439f916c61 | refs/heads/master | 2021-05-30T12:07:01.298691 | 2016-02-25T12:01:19 | 2016-02-25T12:01:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 186 | cpp |
#include <r2p/Checksummer.hpp>
namespace r2p {
void Checksummer::add(const uint8_t *chunkp, size_t length) {
while (length-- > 0) {
add(*chunkp++);
}
}
} // namespace r2p
| [
"martino.migliavacca@gmail.com"
] | martino.migliavacca@gmail.com |
5f3635f49d3531378096911d66128e86598ae259 | e25e02848b4e9374a2d55b95d4773709b94f52f2 | /omp_tests/atomic/sound/target_parallel.cpp | f3f3b6ab511f7b9641d2157533d0c50dce1a6f79 | [] | no_license | josemonsalve2/OmpVal | 06950f596048df525178929dabc6482044319862 | fcf0f70896b0548df33d8715968bfacba31c95ff | refs/heads/master | 2020-09-24T09:24:03.585369 | 2019-12-04T00:30:01 | 2019-12-04T00:30:01 | 225,727,692 | 0 | 0 | null | 2019-12-03T22:14:08 | 2019-12-03T22:14:08 | null | UTF-8 | C++ | false | false | 642 | cpp | #include <stdlib.h>
#include <numeric>
#include <math.h>
#include <cassert>
#include <iostream>
#include <cmath>
void test_target_parallel(){
// Declare Size of Loop
// Initialize array
int A = 0;
// Computation
#pragma omp target parallel map(tofrom: A)
... | [
"t.applencourt@anl.gov"
] | t.applencourt@anl.gov |
ad237d495fe51ef4237bbb611fd6400be14beaf8 | b44e1008ccbd87f50df13e92cb40513372e10d73 | /Source/Database/PostgreSQL/Lock.cpp | 55fa7ea16eeceb24689aed8039d409c68d02d12f | [] | no_license | perryiv/haf | d76bc205604b14c407a9883a44b7e2ea89e1cf2d | 12e1df5fc67fcad3462f335072e025ef866f7c86 | refs/heads/master | 2020-04-06T07:44:05.044643 | 2018-12-04T20:06:02 | 2018-12-04T20:06:02 | 157,283,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,720 | cpp |
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2009, Perry L Miller IV
// All rights reserved.
// BSD License: http://www.opensource.org/licenses/bsd-license.html
//
///////////////////////////////////////////////////////////////////////////////
////////////////... | [
"miller@ciespace.com"
] | miller@ciespace.com |
ab8c0be700def324a697ed3b24d5c516530c34ff | 91561183d0b64eab7de0e10daa328d39ebb229d4 | /src/include/catalog/type_handle.h | 4a2296b02f769c10ab23a7525489e11552df4434 | [
"MIT"
] | permissive | jrolli/terrier | a2ae102e0290fc644d864545cc18d7efe483df69 | 77750bb3f54d9ec22908c1986e5412441c65ef11 | refs/heads/schema_change | 2021-10-26T21:59:25.631175 | 2019-05-17T13:36:48 | 2019-05-17T13:36:48 | 168,453,725 | 0 | 1 | MIT | 2019-07-09T15:33:36 | 2019-01-31T03:05:19 | C++ | UTF-8 | C++ | false | false | 2,566 | h | #pragma once
#include <type/transient_value.h>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "catalog/catalog_defs.h"
#include "catalog/catalog_entry.h"
#include "catalog/catalog_sql_table.h"
namespace terrier::catalog {
class Catalog;
/**
* An TypeEntry is a row in pg_class cat... | [
"34660288+pervazea@users.noreply.github.com"
] | 34660288+pervazea@users.noreply.github.com |
51a2461f17b290f487b04b45e40f5b9195ec388c | 5f04291a134213aee5703edf1ce2caa2664a1e4f | /chefgr.cpp | 65497ee0b59ff7603bf22a035777bef125ea54f6 | [] | no_license | prateek1802/Codechef | 5a9797bf0283f91e713ff63b39e1d244ea9ce9cd | a27e0feef561b3e9e02ec49e2a4c91d2a06a3a28 | refs/heads/master | 2020-03-19T04:13:29.264583 | 2018-07-21T06:17:44 | 2018-07-21T06:17:44 | 135,807,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | cpp | #include<bits/stdc++.h>
#include<algorithm>
#define M_PI
using namespace std;
int main()
{
int t;
scanf("%d",&t);
while(t--)
{
int n,m;
scanf("%d%d",&n,&m);
int a[n],maxx=-1;
for(int i=0;i<n;i++)
{
scanf("%d",&a[i]);
if(a[i]>maxx)
... | [
"sharma.prateek182@gmail.com"
] | sharma.prateek182@gmail.com |
49086e999d5a1f7835b1864c9f36eb5bff759a65 | 83279b3c5e3337a56ba31f9a84bb5e4c746a786e | /Postfix.h | 387f5bebd35629a6d72211bcb3adff895d5779ba | [
"MIT"
] | permissive | Zonr0/geneticPractice | 0ea5d15ac855a9841912f05585f58278efd8ac10 | 02e26dc60765e36db2c12653068d56e0b023dfcc | refs/heads/master | 2021-05-04T19:37:25.099386 | 2017-11-17T23:01:52 | 2017-11-17T23:01:52 | 106,791,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,257 | h | #ifndef POSTFIX_H
#define POSTFIX_H
#define NULL 0
#ifdef DEBUG
#include <iostream>
#endif
namespace PostfixNodes {
struct node {
int value;
struct node * pNext;
node();
void deleteAll();
};
//TODO: Write comment explaining this
const int SUBTRACTION = -1;
const int ADDITION = -2;
const int MULTIPLICATIO... | [
"awaugh@pdx.edu"
] | awaugh@pdx.edu |
a32ff185583a7d825975c3861ea03cb23e473f26 | e0e025b0b186e047461d2d74ea5fa84fb8a21f7b | /.history/8_cosuri_20210307090917.cpp | 79f95437541417130d298b3728d4e126e31ad6fd | [] | no_license | xKristee29/1nfo | fbd4b9c1b50f45fbd10b968f39d342a47a007da7 | 1aa9ec38f24a54c76cab8d94212bd33df616082d | refs/heads/main | 2023-03-20T02:04:51.730374 | 2021-03-08T20:24:55 | 2021-03-08T20:24:55 | 345,783,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,012 | cpp | #include <bits/stdc++.h>
using namespace std;
ifstream f("cosuri.in");
ofstream g("cosuri.out");
vector<int> v;
int n,cerinta,x,sum,prevsum;
void cer1(){
int min1=1000005,
min2=1000005,mins,
max1=-1,
max2=-1,maxs;
for(int i=1;i<=2*n;++i){
f>>x;
if(x<min1){
... | [
"c90717489@gmail.com"
] | c90717489@gmail.com |
2b42ec3d0e2ab4c45eaefab9aa84dbe56900dff2 | 1aef58c912885e0abbabe359f6d887ca4812e55c | /MovieClustering/DataInitialize.cpp | 3522da872aa8b8190e50aabaec3e1f3f2489fa14 | [] | no_license | Apoorvalakshmi/MovieClustering | cfe72ebc6f9c05d5b9502276d73b38a9d4e98643 | acf1a5a5548755e3d78beb4468e1dbf83596e847 | refs/heads/master | 2022-01-17T02:12:19.323920 | 2019-01-06T15:02:42 | 2019-01-06T15:02:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,134 | cpp | #include "DataInitialize.h"
#include <fstream>
#include <ctime>
#include "stdlib.h"
#include <iostream>
using namespace std;
Data::Data()
{
for (int i = 0; i < K; i++)
{
for (int j = 0; j < MOVIE_NUMBER;j++)
{
KCenters[i][j] = 0;
}
}
}
void Data::initKCenters()
{
ofstream ofile("Kcenter1.dat");
srand((in... | [
"narcissuscyn@gmail.com"
] | narcissuscyn@gmail.com |
ba8911472f475cc4574cc369ac9e4003d2bcf855 | a15950e54e6775e6f7f7004bb90a5585405eade7 | /ui/accessibility/ax_enum_util.cc | 8c80b463557d35833ed170aeadeac86ca4f9fdb6 | [
"BSD-3-Clause"
] | permissive | whycoding126/chromium | 19f6b44d0ec3e4f1b5ef61cc083cae587de3df73 | 9191e417b00328d59a7060fa6bbef061a3fe4ce4 | refs/heads/master | 2023-02-26T22:57:28.582142 | 2018-04-09T11:12:57 | 2018-04-09T11:12:57 | 128,760,157 | 1 | 0 | null | 2018-04-09T11:17:03 | 2018-04-09T11:17:03 | null | UTF-8 | C++ | false | false | 85,873 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/accessibility/ax_enum_util.h"
namespace ui {
const char* ToString(ax::mojom::Event event) {
switch (event) {
case ax::mojom::Event::k... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
290b089dd70b3c0fc2e743259cd7803036505ead | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/varband/src/varbandcpp.cpp | b8402af8ad2c5029e5779eeafc4d68419691fab8 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,070 | cpp | #include <cmath>
// we only include RcppArmadillo.h which pulls Rcpp.h in for us
#include "RcppArmadillo.h"
// via the depends attribute we tell Rcpp to create hooks for
// RcppArmadillo so that the build process will know what to do
//
// [[Rcpp::depends(RcppArmadillo)]]
#define TOL 1.0e-6
#define SMALL 1.0e-15
#defi... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
7902d395ffbc69b1450153a76c08c8e07e7cbf49 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5662291475300352_0/C++/Kutso/C.cpp | 5711eeab8e43b6808e4f6a602d479dd058341379 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,128 | cpp | #include <iostream>
#include <algorithm>
#include <set>
#include <map>
#include <queue>
#include <string>
#include <vector>
#include <cmath>
#include <cstdio>
#include <cstring>
using namespace std;
const int NMAX = 10010;
int main() {
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", s... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
0df98c79e3dad9ca28b0985d7d34eb6e10440a97 | 32d554b66d3da0dc0df09739422236523b0dde2e | /src/ShapeTanimoto.H | 8979b35a80fc8c9c9cc8faa75be980278a38ffa7 | [
"BSD-3-Clause"
] | permissive | OpenEye-Contrib/Triphic | b916643e784edb966c122cc384d4695722b09cb6 | 7db4bbe3ebff27e222a3f3aacbf625f2f137ec20 | refs/heads/master | 2021-01-22T11:41:55.855524 | 2016-02-22T16:36:19 | 2016-02-22T16:36:19 | 35,508,854 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,353 | h | //
// file ShapeTanimoto.H
// David Cosgrove
// AstraZeneca
// 15th September 2009
//
// Computes the approximate shape tanimoto coefficient for the 2 OEMolBases
// passed in. Uses 1st order intersections only, so not a reliable way
// of calculating volumes, but good enough for the tanimoto according to
// JAG. It's ... | [
"haigh@eyesopen.com"
] | haigh@eyesopen.com |
d486524e59b8c215c577382db3b2c273023b2145 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-rds/include/aws/rds/model/CreateCustomAvailabilityZoneResult.h | 744a9690e8ab992c50ff5ef93b7293a990f208b1 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 2,344 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/rds/RDS_EXPORTS.h>
#include <aws/rds/model/CustomAvailabilityZone.h>
#include <aws/rds/model/ResponseMetadata.h>
#include <utility>
namespace Aws
{
template<typename RESULT... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
a8c51f2dfb549953b1c6d8204e6d2433375e775b | f679998d61e7f03c25e5cee32b14e4a3ee847510 | /commonhelper.h | 4a86f18ac6df1d777f311beec91468405c010b96 | [] | no_license | xian0gang/xiaodan | 4fe822577fe5bf4e076d0ad39bc52dd25ddf1f30 | 9cf177685a2fc19c96a9cd8436473db34419811b | refs/heads/master | 2020-04-17T07:30:36.904560 | 2020-01-02T10:57:56 | 2020-01-02T10:57:56 | 166,372,883 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | h | #ifndef COMMONHELPER_H
#define COMMONHELPER_H
#include <QFile>
#include <QApplication>
class CommonHelper
{
public:
CommonHelper();
static void setStyle(const QString &style)
{
QFile qss(style);
qss.open(QFile::ReadOnly);
qApp->setStyleSheet(qss.readAll());
q... | [
"xian0gang@163.com"
] | xian0gang@163.com |
d42a6df0f44af402bdef7c55f2e0eeb0854303e8 | a1cb6411fee13060d2e44d35de79945d49b3134a | /unit_tests/verify_seqs.hh | 6825e26ab8f94d1bfbbea10bfe1981bfa02f1723 | [
"MIT"
] | permissive | bruce2008github/PEGTL | 72d4981df0092c10133222240ae122b899aa4c1f | 2bbdde0f99e11fbce55607d4133bd4110b810428 | refs/heads/master | 2021-01-15T20:08:22.374235 | 2015-02-27T12:45:22 | 2015-02-27T12:45:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,991 | hh | // Copyright (c) 2014-2015 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/ColinH/PEGTL/
#ifndef PEGTL_UNIT_TESTS_VERIFY_SEQS_HH
#define PEGTL_UNIT_TESTS_VERIFY_SEQS_HH
#include <pegtl.hh>
#include "verify_rule.hh"
#include "verify_analyze.hh"
namespace pegtl
{
temp... | [
"colinh-github-06134@icemx.net"
] | colinh-github-06134@icemx.net |
9b622f383e2b65dc005286e0afbc0fce92f8c58d | 473b54b77a402c261ee44fe3ea1878ea66d4a34a | /src/CSix.cpp | 68e00703603dbffde52a9531cccf171f1cc6ee76 | [] | no_license | baoleibai/CppExecises | 7c62a350f674f16e4059bfa2a55a7c3946f68ec6 | 4bfa7baf902106e9bdccd763c1a2a9a4d7bf0d52 | refs/heads/master | 2021-01-15T14:29:14.770754 | 2014-03-10T09:59:15 | 2014-03-10T09:59:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,077 | cpp | /*
* CSix.cpp
*
* Created on: Dec 25, 2013
* Author: b576
*/
#include "include/CSix.h"
CSix::CSix() {
}
CSix::~CSix() {
}
void CSix::show() {
program9();
program8();
program6();
program5();
program4();
program3();
program2();
program1();
exes();
readFromFileIO();
writeToFileIO();
practise();... | [
"b576@borqs.com"
] | b576@borqs.com |
089c941220c92578ba6bb05582ba29b4cb05b2a1 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/blink/renderer/core/paint/clip_path_clipper_test.cc | 88530ea7bda330cbfac3a49932887c2e1df76b3b | [
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0"
] | 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 | 970 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/paint/clip_path_clipper.h"
#include <gtest/gtest.h>
#include "third_party/blink/renderer/core/testing/core_unit... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
e0a2afcb919433bb677c43bc745491e14666954d | bf5bbd1248cf94942cbb622c6e9383a0ceca3921 | /BulletSwift/bullet-2.87/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.h | 04e648d39c46b69c24733fa3735587fd33d477a3 | [] | no_license | yohei-yoshihara/BulletSwift | 0ea3bcee10f988f312ea0b6a3f25cd2e2ae255c8 | eb6f0a91068769f32959319509fe8f1c5dbace86 | refs/heads/master | 2021-07-02T09:23:19.798915 | 2020-09-12T08:07:11 | 2020-09-12T08:07:11 | 150,093,949 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,919 | h | #pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdocumentation"
#pragma clang diagnostic ignored "-Wcomma"
#pragma clang diagnostic ignored "-Wunused-function"
#pragma clang diagnostic ignored "-Wunused-variable"
#pragma clang diagnostic ignored "-Wunreachable-code"
#pragma clang diagnostic ignored "-W... | [
"yohei_yoshihara@cx5software.com"
] | yohei_yoshihara@cx5software.com |
7100223ffcd60a7d6900c326680c7ed12df938b7 | 6901385058db4adecafc671745a3d0a301d09868 | /Road_of_Gold/updateGroups.cpp | dec6e3d10ca8fe5cf2519de70bf48690fed40026 | [
"MIT"
] | permissive | 66588257/Road_of_Gold | 91d45cbf8032c4ea015950db1ac8942f4e1b5b2a | 848fabebc438db2cfc03eab03098205219e62a17 | refs/heads/master | 2021-01-21T01:03:21.178456 | 2017-08-30T08:10:11 | 2017-08-30T08:10:11 | 101,868,046 | 1 | 0 | null | 2017-08-30T10:20:42 | 2017-08-30T10:20:42 | null | SHIFT_JIS | C++ | false | false | 877 | cpp | #include"Planet.h"
#include"Group.h"
#include"Vehicle.h"
#include"Wallet.h"
#include"Planet.h"
double tmr = 0.0;
void updateGroups()
{
tmr += planet.timeSpeed;
if (tmr > 0.0)
{
tmr -= 50.0;
//下位1/4の事業見直し
for (int i = 0; i < int(vehicles.size() / 10); i++)
{
int min = 0;
Vehicle* target = nullptr;
f... | [
"sknjpn@gmail.com"
] | sknjpn@gmail.com |
5b7aaa81b5c1c3bf5e56f8a1c1094c9cdd47f4af | 9ec67e83200f643f9f55ed90e0b2cae4581ebcb6 | /JavaParserLib/JavaSyntaxStatement.cpp | f50ac2dff7ecfc279658dc18cdce37602f63970e | [] | no_license | andrewpaterson/Codaphela.Library | 465770eaf2839589fc305660725abb38033f8aa2 | 2a4722ba0a4b98a304a297a9d74c9b6811fa4ac5 | refs/heads/master | 2023-05-25T13:01:45.587888 | 2023-05-14T11:46:36 | 2023-05-14T11:46:36 | 3,248,841 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,651 | cpp | #include "JavaSyntaxStatement.h"
//////////////////////////////////////////////////////////////////////////
//
//
//////////////////////////////////////////////////////////////////////////
void CJavaSyntaxStatement::Init(CJavaSyntaxTree* pcTree, CJavaSyntax* pcParent)
{
CJavaSyntax::Init(pcTree, pcParent);
... | [
"andrew.ian.paterson@gmail.com"
] | andrew.ian.paterson@gmail.com |
3566ee6ec664e96548f79c5aaf237bf4f1227ff9 | 817e9bf148738af01cd0d88180845b40b7aa069d | /C++/Classes/Structs/main.cpp | 454e5f2c77becdf708626c5b788f9b45aa93a481 | [] | no_license | mohamed-said-ibrahem/Hacker-Rank-Problems | 6d98c7eea8ac0f470faa42885075337a46561e40 | b373d261150e4f8b5932b9b43aefdd5fa173be8a | refs/heads/master | 2020-03-31T01:16:20.005942 | 2018-10-17T06:30:22 | 2018-10-17T06:30:22 | 151,774,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
struct Student{
int age;
string first_name;
int standard;
string last_name;
};
int main() {
Student st;
cin >> st.age >> st.first_name >> st.last_name >> st.standard;
cout <<... | [
"eng.mohamedsaid1996@gmail.com"
] | eng.mohamedsaid1996@gmail.com |
65da106f074abfbc0121e80113730e5309e629f9 | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /ckafka/src/v20190819/model/DescribeConsumerGroupResponse.cpp | c2dfcaf956a3fbfeba08f95a9f317aadddb18ab6 | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 3,192 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"zhiqiangfan@tencent.com"
] | zhiqiangfan@tencent.com |
8e5a4ed7c32325965aa6585f4ec6b3e3c84dc05a | e549363a6c9c445ddb8b13b8ee283d343a4d9e94 | /pruebaSFML/src/game/setup/screens.h | 70b71191162b380d3d493274204fe83010b57543 | [] | no_license | frankvega2010/SFML-Template | 4e1bd6283a611bdfc2a496960519a503601927d3 | db1da550c10292b2887083cc4fe56a6543e64d10 | refs/heads/master | 2020-04-06T09:52:20.088069 | 2018-11-16T15:53:47 | 2018-11-16T15:53:47 | 157,360,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | h | #ifndef SCREENS_H
#define SCREENS_H
namespace Juego
{
class Screens
{
private:
bool _hasScreenFinished;
public:
Screens();
~Screens();
bool getHasScreenFinished();
void setHasScreenFinished(bool hasScreenFinished);
virtual void init() = 0;
virtual void input() = 0;
virtual void upda... | [
"franco_vega@msn.com"
] | franco_vega@msn.com |
809db6d3baec3ebe0758d12b4613f32c3ed08941 | ebb02bef87ad5a560cd4c942f656b2a415a3fdeb | /src/material/metal.hpp | c74441f97d1978d5d1b3667f7b0d52bd063fed93 | [] | no_license | muramasa8191/raytracer_cpp | 731414abde3f2fef4831d12104e9a3fac7dc743c | 3249aa84834d8540114dfe2607f3b61d4a436673 | refs/heads/master | 2020-04-11T04:08:50.607049 | 2019-01-04T04:24:42 | 2019-01-04T04:24:42 | 161,502,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 773 | hpp | #ifndef RAYTRACER_CPP_METAL_HPP_
#define RAYTRACER_CPP_METAL_HPP_
#include <iostream>
#include "material.hpp"
#include "ray.hpp"
#include "utils.hpp"
#include "vector.hpp"
namespace raytracer {
class Metal : public Material {
public:
Metal(const Vec3 &albedo, float fuzz) : albedo_(albedo), fuzz_(fuzz) {}
virtual... | [
"muramasa8191@gmail.com"
] | muramasa8191@gmail.com |
f2325b065a9cce22d9ec83ca7bd31f8a2cbda780 | a8504d0806086082a9caf4c00ead73eb0c143abc | /chinchiller/include/drivers/lcd.h | 5959aa979dbd32bcb7a22229db80879c302bb28c | [
"MIT"
] | permissive | lucianodasilva/chinchiller | 9b9d618af590bc1b97532c673c589f2ff54c7d06 | 67b50e5997f1bed18d3f68168a8e5b0734e6aaab | refs/heads/master | 2021-01-23T01:12:10.583594 | 2017-07-21T16:50:17 | 2017-07-21T16:50:17 | 92,857,443 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,459 | h | #pragma once
#ifndef _common_drivers_lcd_h_
#define _common_drivers_lcd_h_
#include "common/mcu.h"
namespace drivers {
struct pos {
uint8_t x, y;
};
template <
mcu::io::pin_num_t _rs_pin_n,
mcu::io::pin_num_t _e_pin_n,
mcu::io::pin_num_t _data0_pin_n,
mcu::io::pin_num_t _data1_pin_n,
mcu::io::pin_nu... | [
"luciano.silva@live.com.pt"
] | luciano.silva@live.com.pt |
e7131ebb00f85ad433318e1b338cbe9bcf8753ba | c61c856258294fed5eb2a8b17c28d94db6f86fae | /exceptions/application_exceptions.hpp | 9fbfd2efcc34590f3847376cd0762389966181df | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hmito/hmLib | 18b5cd5493e29168b5dc8ca488ed425caae42a8b | 3d10a18cc9b4dbba52b5060208263bbb5bb29c4b | refs/heads/master | 2023-08-16T22:47:45.550228 | 2022-05-10T03:01:21 | 2022-05-10T03:01:21 | 29,452,438 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,206 | hpp | #ifndef HMLIB_EXCEPTIONS_APPLICATIONEXCEPTIONS_INC
#define HMLIB_EXCEPTIONS_APPLICATIONEXCEPTIONS_INC 100
#
#include"exception.hpp"
namespace hmLib{
namespace application_exceptions {
//applicationに関わる例外処理
class application_exception :public exceptions::exception {
typedef exceptions::exception base_type;
pu... | [
"hmito@outlook.com"
] | hmito@outlook.com |
9488a905c7f3d47e460056bdcecc885227c84981 | af88798163d01a149de2ae04f8354311e734da08 | /BitSet/parser.h | d014a07b45ad71af9cc453bc7f26843b4ca1ccef | [
"MIT"
] | permissive | vlad-shevchenko/BitSet | abe3121826662e8f250e155ec1e7639aa49ab542 | e9b24e8e0c432d7eeda3bb460693d1006bbd63cb | refs/heads/master | 2020-12-24T21:27:23.999498 | 2016-06-01T06:36:59 | 2016-06-01T06:36:59 | 56,754,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | h | #ifndef PARSER_H
#define PARSER_H
#include <symbols.h>
#include <bitset.h>
#include <QString>
class Parser
{
private:
QList<symbols::Symbol> tokens;
symbols::Symbol cur;
symbols::Symbol next;
void goNext();
BitSet parseConcat();
BitSet parseShift();
BitSet parseXor();
BitSet parseA... | [
"vlad.shevchenko.ua@gmail.com"
] | vlad.shevchenko.ua@gmail.com |
8b7cd369226b90a3e39d20060a03ed95ebd0ecfb | 5bc07dbbdcda1a772de18a36432086a4c09299a9 | /TXCloudPortal/UI/CreateRoom.h | dc6ba15d9cd123dd007070d2390e88faa8e05951 | [] | no_license | shengang1978/webexe_exe_source | f37715405b0e822c779cd00496765f34285981bb | 716e85310449db720558eea7e2d6dbf803824e56 | refs/heads/master | 2020-04-06T17:00:01.144573 | 2018-09-29T10:52:45 | 2018-09-29T10:52:45 | 157,642,349 | 0 | 1 | null | 2018-11-15T02:46:19 | 2018-11-15T02:46:18 | null | UTF-8 | C++ | false | false | 804 | h | #pragma once
#include <QDialog>
#include "ui_CreateRoom.h"
typedef std::function<void(bool, const std::string&)> handlefunction;
class CreateRoom : public QDialog
{
Q_OBJECT
public:
CreateRoom(QWidget *parent = Q_NULLPTR);
~CreateRoom();
void setLogo(QString styleSheet);
void setHanleFunction... | [
"xuanyiyan@tencent.com"
] | xuanyiyan@tencent.com |
700f609fb736c3026fd522ee2ce20c4520a64fe2 | 33a92a350d18515613a7c5bac8518556c2c1d799 | /VC++6.0/数字图像/ljz153/ljz153.h | 1f02c60d5d8f63c2ed10462d41bdae2e7d167c29 | [] | no_license | WemtFox/MyLearningCode | 7b35345524f7cc047e364ab3d9f54892776213fa | e7df5692ea57756ae9563a84a5345e0b688c470d | refs/heads/master | 2020-04-12T07:50:30.255469 | 2015-12-05T01:47:40 | 2015-12-05T01:47:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,307 | h | // ljz153.h : main header file for the LJZ153 application
//
#if !defined(AFX_LJZ153_H__38C58EDA_692E_41E0_BEB8_CF94E24D2CC0__INCLUDED_)
#define AFX_LJZ153_H__38C58EDA_692E_41E0_BEB8_CF94E24D2CC0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' bef... | [
"sslujuzhi@sina.cn"
] | sslujuzhi@sina.cn |
15e98d16b9d317e6b47cbaae56d35e249e1b3447 | 050c8a810d34fe125aecae582f9adfd0625356c6 | /cf1540/B.cpp | cfbb3c60bdcf0125a72cd34a79fa6582cf8fb874 | [] | no_license | georgerapeanu/c-sources | adff7a268121ae8c314e846726267109ba1c62e6 | af95d3ce726325dcd18b3d94fe99969006b8e138 | refs/heads/master | 2022-12-24T22:57:39.526205 | 2022-12-21T16:05:01 | 2022-12-21T16:05:01 | 144,864,608 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,344 | cpp | #include <bits/stdc++.h>
using namespace std;
const int MOD = 1e9 + 7;
const int NMAX = 200;
int fact[NMAX + 5];
int ifact[NMAX + 5];
int pw2[NMAX + 5];
int ipw2[NMAX + 5];
int dp[NMAX + 5][NMAX + 5];
int add(int a,int b){
a += b;
if(a >= MOD){
a -= MOD;
}
return a;
}
int mult(int a,int b){
return 1L... | [
"alexandrurapeanu@yahoo.com"
] | alexandrurapeanu@yahoo.com |
90bb81b28fdd34f50cf584bcafdb83d1c7e4ce88 | c43cbfca4056ea30051e46e1917e7946beb1e331 | /src/qt/editaddressdialog.cpp | 891eca042a2c3bf7f409b8b29dda130872a3c88e | [
"MIT"
] | permissive | Legioncrypto/Legion | c9017fce536e9d296f6af9e1d06e5a9b03c9b0c9 | f7b5a0287e530bec85f3081fd7ac7a8a020cdcf9 | refs/heads/master | 2020-03-18T19:55:28.823995 | 2019-03-14T02:29:52 | 2019-03-14T02:29:52 | 135,185,573 | 1 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 4,480 | cpp | #include "editaddressdialog.h"
#include "ui_editaddressdialog.h"
#include "addresstablemodel.h"
#include "guiutil.h"
#include <QDataWidgetMapper>
#include <QMessageBox>
#include <QClipboard>
EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) :
QDialog(parent),
ui(new Ui::EditAddressDialog), map... | [
"legioncrypto@users.noreply.github.com"
] | legioncrypto@users.noreply.github.com |
077988cb4e85122c644aea246d26d91cbf2ad0a1 | 1060214b1efa068d20a756126ad1ffcbfeb0814b | /estrutura/PontosdeFeno.cpp | aa7ab141b613b2202e44f8b8a12b66db0bb20078 | [] | no_license | blogdarkspot/MaratonadeProgramacao | 4b0aecc063033caebad78e34bb090d1822e1fb26 | 41420c2c06b6849f50f9ea99e70d841e15c0f1ea | refs/heads/master | 2021-05-30T01:57:26.007257 | 2015-10-06T14:49:00 | 2015-10-06T14:49:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | cpp | //https://www.urionlinejudge.com.br/judge/pt/problems/view/1261
#include<iostream>
#include<string>
#include<cstdio>
#include<map>
using namespace std;
int main ()
{
string buffer;
map<string, int> dic;
int i,j,k, total = 0;
cin>>i>>j;
total = 0;
dic.clear();
while(i--)
{
cin... | [
"fabio.scienvitarso@gmail.com"
] | fabio.scienvitarso@gmail.com |
c5a199aca76e8092977a016cd814325578ead538 | a366d89b4e41bde44d471f163c49f76abb3da8fc | /homing.cpp | b242f7e997a6174f31c3fa54674fbf3d7520f3fa | [] | no_license | pigranya1218/WinAPI-worms | 6bc3ff2a3ac6e4216fc973a6b6c7c0031605283c | 7f864994aa26afc00bfcc3d405b513f9665a627e | refs/heads/master | 2022-11-25T18:05:30.278987 | 2020-07-29T02:17:49 | 2020-07-29T02:17:49 | 276,584,039 | 0 | 1 | null | null | null | null | UHC | C++ | false | false | 1,651 | cpp | #include "stdafx.h"
#include "homing.h"
#include "stageManager.h"
#include "wormManager.h"
#include "objectManager.h"
void homing::update()
{
if (!_isFinish)
{
if (_homingCount++ >= 50) // 바추카와 같다
{
if (!_isHoming)
{
_angle = TTYONE_UTIL::getAngle(_x, _y, _pointX, _pointY);
float degree = _angle * ... | [
"ddodd34@gmail.com"
] | ddodd34@gmail.com |
089c5270881b5dd21f1fef4645de3d704cc37e27 | fcdea24e6466d4ec8d7798555358a9af8acf9b35 | /Engine/mrayEngine/src/MorphAnimator.cpp | 46e44ecb119f9f0d93b058b68ea3ee17eeb52279 | [] | no_license | yingzhang536/mrayy-Game-Engine | 6634afecefcb79c2117cecf3e4e635d3089c9590 | 6b6fcbab8674a6169e26f0f20356d0708620b828 | refs/heads/master | 2021-01-17T07:59:30.135446 | 2014-11-30T16:10:54 | 2014-11-30T16:10:54 | 27,630,181 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,802 | cpp | #include "stdafx.h"
#include "MorphAnimator.h"
#include "ILogManager.h"
#include "IMeshBuffer.h"
namespace mray{
namespace scene{
MorphAnimator::MorphAnimator(IMeshBuffer*mesh)
:IMorphAnimator(mesh)
{
m_needUpdate=false;
setMeshBuffer(mesh);
}
MorphAnimator::~MorphAnimator(){
m_targets.clear();... | [
"mrayyamen@gmail.com"
] | mrayyamen@gmail.com |
1de0c1f4544030bdb1b8b0665e7443ee8b195520 | 297497957c531d81ba286bc91253fbbb78b4d8be | /media/libyuv/libyuv/source/planar_functions.cc | f4463d547deb03eab1965e14dd323ae03e0e18be | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | marco-c/gecko-dev-comments-removed | 7a9dd34045b07e6b22f0c636c0a836b9e639f9d3 | 61942784fb157763e65608e5a29b3729b0aa66fa | refs/heads/master | 2023-08-09T18:55:25.895853 | 2023-08-01T00:40:39 | 2023-08-01T00:40:39 | 211,297,481 | 0 | 0 | NOASSERTION | 2019-09-29T01:27:49 | 2019-09-27T10:44:24 | C++ | UTF-8 | C++ | false | false | 149,944 | cc |
#include "libyuv/planar_functions.h"
#include <assert.h>
#include <string.h>
#include "libyuv/cpu_id.h"
#ifdef HAVE_JPEG
#include "libyuv/mjpeg_decoder.h"
#endif
#include "libyuv/row.h"
#include "libyuv/scale_row.h"
#ifdef __cplusplus
namespace libyuv {
extern "C" {
#endif
LIBYUV_API
void CopyPlane(c... | [
"mcastelluccio@mozilla.com"
] | mcastelluccio@mozilla.com |
c207f19caf0c814ea18699171f20932ad31de9b5 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Trigger/TrigEvent/TrigParticle/TrigParticle/TrigEFBjetContainer.h | eaa39bf15909320a2dd009d109ca42c3e97137b5 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 897 | h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
// ************************************************
//
// NAME: TrigEFBjetContainer.h
// PACKAGE: Trigger/TrigEvent/TrigParticle
//
// AUTHOR: Andrea Coccaro
// EMAIL: Andrea.Coccaro@ge.infn.it
//
// ****************************... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
00c0ed7f2f33ed82c0133d78dbd68c1f52aea2fb | bbcb83e5d9bababc7d5ad017222f4f2d0127e152 | /TestThreadLib/TestThreadLib/SharedMemoryThread.h | b39da1c0dc10c1f4f1102b21d3c0ae51797d89b3 | [] | no_license | andrewpaterson/Codaphela.Test | d52f3c4d9c5b4ae21f265424cb01a246463f70b5 | 1678a4af46ce363e3d1b01ca931ca8f84330c764 | refs/heads/master | 2023-05-25T07:00:38.362742 | 2023-05-14T11:46:51 | 2023-05-14T11:46:51 | 3,249,605 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 757 | h | #ifndef __SHARED_MEMORY_THREAD_H__
#define __SHARED_MEMORY_THREAD_H__
#include "ThreadLib/Thread.h"
#include "SharedMemoryFill.h"
class CSharedMemoryThread : public CThread
{
CONSTRUCTABLE(CSharedMemoryThread);
private:
CSharedMemoryFill mcFill;
public:
CSharedMemoryThread(void) : CThread() {}
CShar... | [
"andrew.ian.paterson@gmail.com"
] | andrew.ian.paterson@gmail.com |
a4927524fee30ef2cb25ecec7be414f8c11fb2ae | 92dbe90d8cf56a38caaefff70b8d1f700f1562aa | /ash/system/holding_space/holding_space_tray.cc | 9004a2414e79efb5945a52cca6d2cf3a0c09e8f3 | [
"BSD-3-Clause"
] | permissive | jeeeez/chromium | 4fb134eccfd1d3f469a838ac0b9ee375eb28ad88 | ed032184fd1bf63ca0e9525f5ccca7d3165e2d63 | refs/heads/master | 2023-01-03T08:12:33.054587 | 2020-10-27T09:34:51 | 2020-10-27T09:34:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,375 | 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 "ash/system/holding_space/holding_space_tray.h"
#include <memory>
#include "ash/accessibility/accessibility_controller_impl.h"
#include "ash/pub... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f78aaae4f665073906caf8fd2ee5f4fce2f7cf84 | 92359e635b722f8c359b6a27133685c1c9b56565 | /sandbox/FastBlurs/CPUT/CPUT/CPUTRenderTargetOGL.cpp | 92a3dfb04260a11e0399ed5cc969578ea6f46aee | [
"MIT"
] | permissive | oamates/OpenGL | 547ccb560d76182c70eae3ea6512df81c794f322 | 78c6d1fbdcb0c041b3333ea71c43c8f531e04481 | refs/heads/master | 2021-05-11T17:23:36.445056 | 2018-01-16T02:32:04 | 2018-01-16T02:32:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,248 | cpp | //--------------------------------------------------------------------------------------
// Copyright 2013 Intel Corporation
// All Rights Reserved
//
// Permission is granted to use, copy, distribute and prepare derivative works of this
// software for any purpose and without fee, provided, that the above copyright no... | [
"afoksha@luxoft.com"
] | afoksha@luxoft.com |
3db1d8ba3cc78ae6f0d286ba74ba205efe29311b | e4f9418990bfa3e07357c09922bd713432d4fefe | /include/E/Networking/E_NetworkLog.hpp | d14c40120cdedead8dc7d74ddacea73350d3f856 | [
"MIT"
] | permissive | TerrySunty/KENS | 7bac2ba1e3d75d4d98b618373e748f5f8edf4c7c | 3fbd998830fbee0e9a6d3a072262034c178ccd16 | refs/heads/master | 2020-04-07T16:42:25.885705 | 2017-05-13T13:40:20 | 2017-05-13T13:40:20 | 158,539,716 | 0 | 1 | MIT | 2018-11-21T11:46:25 | 2018-11-21T11:46:25 | null | UTF-8 | C++ | false | false | 2,202 | hpp | /**
* @file E_NetworkLog.hpp
* @Author leeopop (dlrmsghd@gmail.com)
* @date November, 2014
* @brief Header for E::NetworkLog
*/
#ifndef E_NETWORKLOG_HPP_
#define E_NETWORKLOG_HPP_
#include <E/E_Common.hpp>
namespace E
{
/**
* @brief Log provides log-related utilities for network modules.
* We recommend y... | [
"wwiiiii@naver.com"
] | wwiiiii@naver.com |
1699ce3c3bf537fcaa3af5dc6c6ba404a666d600 | aad6b08ee56c2760b207d562f16be0a5bb8e3e2a | /tags/Doduo_1.1/BAL/WKAL/Concretizations/Graphics/WK/BCIntRectWK.h | 184ac411376ea626c23d90f21f62e417b0887abe | [] | no_license | Chengjian-Tang/owb-mirror | 5ffd127685d06f2c8e00832c63cd235bec63f753 | b48392a07a2f760bfc273d8d8b80e8d3f43b6b55 | refs/heads/master | 2021-05-27T02:09:03.654458 | 2010-06-23T11:10:12 | 2010-06-23T11:10:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,932 | h | /*
* Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this lis... | [
"sroret@a3cd4a6d-042f-0410-9b26-d8d12826d3fb"
] | sroret@a3cd4a6d-042f-0410-9b26-d8d12826d3fb |
0a53e613cecf1e5ca7ee48b8a5f830fae0c544eb | 03a975e0188b19d3d3d32d37b27651285dc5412e | /tools/topology_tools.cpp | 859928b64d5d27fb769f4cc3a649b42ec0ebc4f7 | [] | no_license | UG4/plugin_ProMesh | 30b42eaaa7698d61aeee8076d9fe1940b5aa1d33 | df97012b1c204b9f8ff01d49932da715e741e58f | refs/heads/master | 2021-06-14T15:50:52.279213 | 2021-03-20T22:06:10 | 2021-03-20T22:06:10 | 47,968,484 | 4 | 10 | null | 2021-03-20T22:06:10 | 2015-12-14T10:39:25 | C++ | UTF-8 | C++ | false | false | 13,672 | cpp | /*
* Copyright (c) 2013-2017: G-CSC, Goethe University Frankfurt
* Author: Sebastian Reiter
*
* This file is part of UG4.
*
* UG4 is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License version 3 (as published by the
* Free Software Foundation) wi... | [
"s.b.reiter@gmail.com"
] | s.b.reiter@gmail.com |
8afb4ddcb87e6dde70b25838afb89860ae1935bb | 18aeeee08da1ca1ec2f68e73510e39630f662635 | /src/ConstanzeComponent.hpp | 460f1d03e681d40904bf89de0058b8097385fea2 | [] | no_license | openwns/constanze | bcac826526c845cd9f844c2c4f019cc234a14bf0 | 1804214f71552744ca2ec719fcb250df289d8725 | refs/heads/master | 2016-08-07T18:00:44.409415 | 2014-06-29T23:28:28 | 2014-06-29T23:28:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,297 | hpp | /*******************************************************************************
* This file is part of openWNS (open Wireless Network Simulator)
* _____________________________________________________________________________
*
* Copyright (C) 2004-2007
* Chair of Communication Networks (ComNets)
* Kopernikusstr.... | [
"mue@comnets.rwth-aachen.de"
] | mue@comnets.rwth-aachen.de |
df8eaca34063fbe0ef0b9d725745533a3520138a | e8193b586e3376e6de82392aac66eb2feee4f7f7 | /src/GafferSceneBindings/OptionsBinding.cpp | 10e4c194e6d08138a4d7a49ec6905445a707a6a4 | [
"BSD-3-Clause"
] | permissive | PaulDoessel/gaffer-play | eb31f4917f40b4815c12984f55e3aeba60b8dd8f | 8b72dabb388e12424c230acfb0bd209049b01bd6 | refs/heads/master | 2021-01-12T15:18:35.508661 | 2016-10-22T00:07:02 | 2016-10-22T00:07:02 | 71,752,516 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,465 | cpp | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2013, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * R... | [
"thehaddonyoof@gmail.com"
] | thehaddonyoof@gmail.com |
0c49d36631f18dca9d1ba0f34e5c19440d8bc231 | d555c767df66a7b3bde1eab92dc5d55c25973762 | /internal/catch_list.hpp | 85e19345a4d9fef457a5a417ba299aa0854a5300 | [
"BSL-1.0"
] | permissive | Tryneus/Catch | c32c3ee4387722a897aa73ec74a352b0764b9149 | 52926d8f989cd2401d88c3892bb1ed1a56f1a698 | refs/heads/master | 2021-01-16T00:17:11.145192 | 2011-02-09T20:11:13 | 2011-02-09T20:11:13 | 1,343,925 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,351 | hpp | /*
* catch_list.hpp
* Catch
*
* Created by Phil on 5/11/2010.
* Copyright 2010 Two Blue Cubes Ltd. All rights reserved.
*
* 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 TWOBLUECUBES_CATC... | [
"phil@twobluecubes.com"
] | phil@twobluecubes.com |
dd29684e3e8874a1c605e53236e39a52a5b3fe58 | d6e3150e58f78ef0c2c08f5ef4493b9951c8bb7d | /Chapter12/Practice12_1/Practice12_1.cpp | 24431c7965910eac2b5a5a820e9d1be93c95a94c | [] | no_license | SuperNova911/MFC-Class | fdba15bc6c456322bd6b758de397cebd4f305f7c | 02d53bc34626f6991ea89ce4eb6c341574a5498a | refs/heads/master | 2021-04-15T15:37:15.289858 | 2018-06-15T03:29:58 | 2018-06-15T03:29:58 | 126,199,036 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 5,943 | cpp |
// Practice12_1.cpp : 응용 프로그램에 대한 클래스 동작을 정의합니다.
//
#include "stdafx.h"
#include "afxwinappex.h"
#include "afxdialogex.h"
#include "Practice12_1.h"
#include "MainFrm.h"
#include "Practice12_1Doc.h"
#include "Practice12_1View.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CPractice12_1App
BEGIN_MESSAGE_MAP(CPra... | [
"suwhan77@naver.com"
] | suwhan77@naver.com |
3954dabd846b8f2cbc36366dfda6169fb4d952be | 2c20040abf2996ba02858ce47a661b7ce280583c | /Benchmark/IsaMubuf.h | de59f0c2bc805e2956f7f793d61d4899a8028398 | [] | no_license | carlushuang/auto_gen | 0157c2bb93f94a1ed446b13f0f3f293b9ad9fa75 | 7e5e0e27cc7e0a7403c0afcca02c69caef07d6cd | refs/heads/master | 2020-04-04T18:54:30.023997 | 2018-11-20T05:13:10 | 2018-11-20T05:13:10 | 156,184,552 | 0 | 0 | null | 2018-11-05T08:30:05 | 2018-11-05T08:30:04 | null | GB18030 | C++ | false | false | 3,411 | h | #pragma once
#include "SampleConfig.h"
#include "ProblemControl.h"
#include "IsaMubufKernelWriter.h"
/************************************************************************/
/* solution控制 */
/*******************************************************************... | [
"Fei.Wang@amd.com"
] | Fei.Wang@amd.com |
21165d044c9b53913d573784e471a4217dd29b2f | 04c203b271bf5532632a356bc8168c5c7c320f40 | /lecture08/exercise08-A/template.cpp | 6b1475a52c9558a38136e534302d5a7d538b6a10 | [
"MIT"
] | permissive | leahhealy/cse-30872-fa21-examples | af30878a1594d5a69ee48b9edf25a89c46df7b5f | 0ec31cdf9df7aefa3a708a95d49b129022495596 | refs/heads/master | 2023-08-25T14:13:33.946240 | 2021-11-07T18:43:07 | 2021-11-07T18:43:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | cpp | // Exercise 08-A: Largest Number
#include <algorithm>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
// Functions
bool read_numbers(vector<string> &numbers) {
numbers.clear();
string line;
if (getline(cin, line)) {
stringstream ss(line);
string... | [
"pbui@nd.edu"
] | pbui@nd.edu |
93fe847067c9bea99f6d82f7592bba9253d7d12c | 615c7f3cb391f9bb1b8a9b3fe2dcfc238d4956e5 | /136/136/closest.cpp | b3df16a8824810e62ac95448014e5ec8e6be7a48 | [] | no_license | HelpEverywhere/Phrase1 | 0f07d1d362a63b114cf4eec742d698b872401bb7 | 1120d7a2a546230731e2c7b54812619102795121 | refs/heads/master | 2021-01-10T17:46:32.489717 | 2016-02-11T14:53:20 | 2016-02-11T14:53:20 | 50,866,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | #include "stdafx.h"
int abs(int n){
if (n >= 0)
return n;
return -n;
}
void closest()
{
int n;
//n = readnat();
scanf("%d", &n);
if (0 == n)
{
printf("%d", n);
}
else
{
while (true)
{
int m, x = -1, i = 0;
//m = readnat();
scanf("%d", &m);
if (0 == m)
{
break;
}
else
{
... | [
"Mike.Zhang@maplesfs.com"
] | Mike.Zhang@maplesfs.com |
312981ac31fb76117fc883ebf8ff5da9b0afc76e | 0e5835408690913eb8b30c2cd81bb07f7e0cddc5 | /Server/database.h | 49b4dc3392052a41b356b0a23fa63fde5044a7ee | [] | no_license | Karaylev96/ChatApp | 5bae0e2da843c3a6ae0553f0ba470d2ac0d0f978 | 1709685b0fe454fb8222b4bc34c107d19c34208e | refs/heads/master | 2021-09-06T21:58:38.796904 | 2018-02-12T09:04:54 | 2018-02-12T09:04:54 | 115,921,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | h | #ifndef DATABASE_H
#define DATABASE_H
#include <stdio.h>
#include <QDebug>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QSqlQueryModel>
#include <QtSql/QSqlDatabase>
#include <QtDebug>
//#include <QtGui/QApplication>
#include <QtSql>
#include <QMessageLogger>
#include <QTcpSocket>
class Databas... | [
"karailev96@gmail.com"
] | karailev96@gmail.com |
c4f401c6eaeb7dc454c09a3e0267e4aa30eed420 | 2a9213024770a6c6c6b305bf3cf45f44e6398d47 | /TestClient/GlobalInstance.cpp | f2c419561a9e8e958b9422e286fcfd2c295fcfc2 | [
"Unlicense"
] | permissive | wissunpower/WeizenbierGame | 195d36e7a32485dc76f06c2b0d5c11ee6d5b4a60 | 34f027c43055dfa6b05e62ca0b6c31271af013f3 | refs/heads/main | 2023-08-06T06:44:36.240176 | 2021-09-29T07:34:29 | 2021-09-29T07:34:29 | 390,057,582 | 0 | 0 | Unlicense | 2021-09-26T16:22:57 | 2021-07-27T16:43:06 | C++ | UTF-8 | C++ | false | false | 179 | cpp |
#include "ResponseIntervalCollector.h"
#include "GlobalInstance.h"
ResponseIntervalCollector* ResponseIntervalCollectorInstance = Singleton<ResponseIntervalCollector>::Get();
| [
"30381759+wissunpower@users.noreply.github.com"
] | 30381759+wissunpower@users.noreply.github.com |
c8e3734adfecfce28189617605e1de41c9588907 | 214355db2ebb44a0c63a993d96cd759e0061a33b | /EmptyProject/GameClear.h | a989b7c44cda67d38aa8285ce98eb95ee6006997 | [] | no_license | JeongTaeLee/Gleise-518D | b59e24a2f5722155c732adc346ace087cd66c691 | b9f69cb33b63f4a4e25e6399d8915e35daf95df9 | refs/heads/master | 2020-05-02T21:31:55.350658 | 2019-04-02T05:47:45 | 2019-04-02T05:47:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 230 | h | #pragma once
#include "GameObject.h"
class GameClear :
public GameObject
{
public:
bool bCompleteProcess = false;
public:
GameClear();
virtual ~GameClear();
virtual void Init() override;
virtual void Update() override;
};
| [
"jeongtae8633@gmail.com"
] | jeongtae8633@gmail.com |
545b0594e58252eec1b81ba91f6ba1b7ca7b00b3 | b65acdd4e28bac5b0b0cc088bded08cc80437ad8 | /MVSProg/Task18/Project4/Project4/Source.cpp | 392ac0723636cdcdd4d6ca1efd01d18bac93b562 | [] | no_license | YulianStrus/Examples-of-academic-homeworks | 44794bb234626319810f444a3115557b4e59d54f | f2fb2b5e02f069ff8f0cbc1a95c472ad2becad4c | refs/heads/master | 2023-05-27T16:09:41.220326 | 2021-06-02T10:04:07 | 2021-06-02T10:04:07 | 313,245,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cpp | #include "iostream"
#include "stdlib.h"
#include "time.h"
using namespace std;
void main()
{
const int size = 20;
int arr[size];
int Sum = 0;
int x = 15, y = -15, srand(time(NULL));
for (int i = 0; i < size; i++) {
arr[i] = rand() % (x - y) + y;
cout << arr[i] << " ";
}
cout << endl;
int tmp;
bool change ... | [
"stryulvas@ukr.net"
] | stryulvas@ukr.net |
806927871fe91078c42527e503c28aa857d5ac52 | 961f6147855cb608eefd2ccb7927e65311133efa | /util/stream/aligned_ut.cpp | 0aeb1a4aa422858d6f46961fc5d3a945be8816a2 | [
"Apache-2.0"
] | permissive | kyper999/catboost_yandex | 55a79890be28d46748cb4f55dd7a8ad24ab7b354 | 91c41df3d4997dbab57fc1b8a990017270da47c6 | refs/heads/master | 2022-10-31T11:21:22.438222 | 2017-07-18T10:25:29 | 2017-07-18T10:25:29 | 97,590,200 | 0 | 1 | NOASSERTION | 2022-10-23T09:35:09 | 2017-07-18T11:27:38 | C | UTF-8 | C++ | false | false | 1,296 | cpp | #include "aligned.h"
#include <library/unittest/registar.h>
class TNastyInputStream: public TInputStream {
public:
TNastyInputStream()
: Pos_(0)
{
}
protected:
size_t DoRead(void* buf, size_t len) override {
if (len == 0)
return 0;
*static_cast<unsigned char*>(buf... | [
"exprmntr@pepe.search.yandex.net"
] | exprmntr@pepe.search.yandex.net |
8ce53c78d3aea48229b4cfa0000961e3a9290b9d | 71beff3e20a58fdfeefb5590bba7082fe0bc8292 | /src/GUI/Screen/ScreenHighscores.cpp | 7c4776defe0303ac1416417df17dbce52a732b00 | [] | no_license | milandamen/grimwall | 351ea51f2018fdb8d4f388c682eca818344f7aec | 04156b9d5c3bf8f4c31fdb282c6bccbd7e13ea8a | refs/heads/master | 2021-06-15T15:38:33.057796 | 2017-01-17T13:55:23 | 2017-01-17T13:55:23 | 70,218,635 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,151 | cpp |
#include "ScreenHighscores.h"
ScreenHighscores::ScreenHighscores(IGame* game,AGUIManager* manager)
: GUI(manager), game(game)
{
this->imgBg = manager->addImage("assets/gui/backgroundMenu.png", 0, 0, 1024, 768);
this->lblSlot1 = manager->addLabel("", 172, 300);
this->lblSlot1->setWidth(200);
t... | [
"sromer@avans.nl"
] | sromer@avans.nl |
b53c9d277d602579eb1577da2575c4600f90b298 | 6b5bddc107b800f7fd658413cf626ed6f801ed36 | /funcs/debug.cpp | 911394790a325948e6fdf6e8c8f6abdb04a44e6e | [
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | ashr/notes | 6c5cc00c1b0a2e30e87755b6f5ee32d463f28ed5 | c449d10374b0bded8177e318892fdd58bcce3524 | refs/heads/master | 2021-05-11T04:39:22.877171 | 2018-01-17T15:01:05 | 2018-01-17T15:01:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | // address: 0x4086F4
//
// debug_load_graphics loads debugging graphics.
void debug_load_graphics();
// address: 0x40870F
//
// debug_cleanup releases the resources used for debugging.
void debug_cleanup();
// address: 0x408721
//
// TODO: add documentation.
| [
"rnd0x00@gmail.com"
] | rnd0x00@gmail.com |
bd01faf30f3a2293c8ea359f8e548081ead6d39d | 9da7b17ab5b601735a8ec1a97853945185b76e7f | /olfaction-demo/src/ptu/ptu_control/src/ptu_control.cpp | e69b649ec582353abb9b5062015c8bcd3b77b4e5 | [] | no_license | AsifArain/ros-catkin-ws | 137556337b7ed08d23bbfd48dc52bc376d85fe2d | 75c75075138eeae2ba50076bb3f2007dd6735570 | refs/heads/master | 2023-03-09T10:24:10.824014 | 2018-07-03T16:32:20 | 2018-07-03T16:32:20 | 342,039,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,040 | cpp | //=============================================================
// Node Name: ptu_control.cpp
// Version: 01
// Date: August 12th, 2013
// Description: Integrates joystick ptu control
// as well as service requests from other modules
//==============================================================
#include "ptu_con... | [
"asif.arain@oru.se"
] | asif.arain@oru.se |
a06765545826fc0499576c0069ce91f54a36790c | 4ceb431679147aedd57c04308f769a2521b1a9e4 | /Problems and Solutions/10812 - Beat the Spread!.cpp | 636c1b5b747f9bdef146229df738bc4294d1753b | [] | no_license | tushar20008/Competitive-Coding | 188797383cfa4f3b722543f5a999847c0756388b | 9ec0891d6023029590cb096417b6477a011f3d61 | refs/heads/master | 2021-01-18T18:51:57.586151 | 2018-05-01T10:59:30 | 2018-05-01T10:59:30 | 86,875,720 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 259 | cpp | #include <iostream>
using namespace std;
int main()
{
int T;
cin>>T;
while(T--)
{
long s,d;
cin>>s>>d;
long a = (s+d)/2;
long b = s-a;
if(b<0 || a+b != s || a-b != d)
cout<<"impossible"<<endl;
else
cout<<a<<" "<<b<<endl;
}
return 0;
} | [
"tusharanand20008@gmail.com"
] | tusharanand20008@gmail.com |
f991129b23eca7d31f3244b1cf151accf89e5f48 | c74e5e9b6cddbe7abbf92b69a813aff38e580b79 | /src/casecostview.cpp | b6554ac970facba8d1564a070df77a9e107df3dd | [] | no_license | damaro05/LawFirmPlatform | 19981236300cbd2adc154e63e0c3f7298aed7ad4 | f28dbb8a46b3d80314803ff264cd9b65dca06671 | refs/heads/master | 2021-03-24T13:57:03.049933 | 2017-05-25T11:42:10 | 2017-05-25T11:42:10 | 80,528,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,993 | cpp | #include "casecostview.h"
#include "ui_tableviewtemplate.h"
#include "models/cmodeltableview.h"
#include "models/cases.h"
#include "models/qjsontablemodel.h"
#include "globals.h"
CaseCostView::CaseCostView()
{
std::cout << "Constractor " << typeid(this).name() << std::endl;
model = new CModelTableView(this);
... | [
"scmh05@gmail.com"
] | scmh05@gmail.com |
af24f473cf2766bb59d207fa4296a652398f5e2b | 1a562c8e43247097582e0089d386eed5b450ed49 | /Interpreter/DataTypes.h | c5b4b66eb5452cf12cb8e09ebca51b0d2d1c6604 | [] | no_license | baniuk/RadiographySoftware | 89c202496f4f318005e0459575f29d8928053d99 | c0efc3b842d56dc19975c213f654299829931e5e | refs/heads/master | 2020-04-29T04:27:32.174950 | 2019-03-15T15:43:17 | 2019-03-15T15:43:17 | 175,847,643 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 829 | h | #pragma once
#define IMAGE 0x00000010
#define STRING 0x00000100
#define MATRIX 0x00001000
#define NUMBER MATRIX
#define DT UINT
#define maxline 256 // maksymalna ilosc znakow w linii
#define CHARNOEXIST 32000
#define maxnameofleftparametr 256
#define maxwindows 256;
#define maxbuffor 50 // ilosc komend
#define max... | [
"P.Baniukiewicz@warwick.ac.uk"
] | P.Baniukiewicz@warwick.ac.uk |
0ac00b6f5b2fae467c144232dd57a365ad29c740 | f0983a84dd46f5ea7dd43a08fb11fc7d15912988 | /Classes/QuadTree.cpp | a0431129757b90ea98005fa1286177443ad07384 | [] | no_license | acmersch/Fighter | bff6241a767cd1582e73c35a4a20dd69ae3f7566 | b2ed033d077ebe9f55bf1f206266ed503fe52560 | refs/heads/master | 2020-04-29T14:51:42.753321 | 2014-04-15T15:35:15 | 2014-04-15T15:35:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,826 | cpp | //
// QuadTree.cpp
// Card
//
// Created by Roton_Lin on 14-3-20.
//
//
#include "QuadTree.h"
#include "lifeObj.h"
//build the tree
QuadTree::QuadTree(int deep, Rect rect) {
mRect = rect;
mObjArray = CCArray::create();
mObjArray->retain();
initChild(deep, rect);
}
QuadTree::~QuadTree() {
mObjA... | [
"acmercyj@gmail.com"
] | acmercyj@gmail.com |
13ae85161fadd329013a6759366be23458b9d8d9 | 6058aac649d539ffc4102d64fecc0b397cf014bc | /include/Menu.hpp | 269b3baec6f9d49397eb97bfce2f1652ed9e3b19 | [
"MIT"
] | permissive | Kirthos/Aerria | bb00b1a9fbb32891837d7b9adcb80a53e20539aa | ec9eb6c78690838ba5a3509369e2c4d8428b4dc2 | refs/heads/master | 2020-04-02T06:33:52.656726 | 2018-10-22T14:37:08 | 2018-10-22T14:37:08 | 154,156,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,272 | hpp | #ifndef MENU_HPP_INCLUDED
#define MENU_HPP_INCLUDED
#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>
#include "Game.hpp"
#include "SingletonWindow.h"
#include <iostream>
using namespace std;
class Menu
{
public:
Menu();
void run();
protected:
void update();
const void render();
int checkBox... | [
"gm.kirthos@gmail.com"
] | gm.kirthos@gmail.com |
dc6fc7d52e1327e08dc3d486c97b81134e83df99 | 23e393f8c385a4e0f8f3d4b9e2d80f98657f4e1f | /从算法到程序(第2版)/Chapter11/hdu1521.cpp | 9e77f4ea6add52f8b41c10a993a633d50da3d006 | [] | no_license | IgorYunusov/Mega-collection-cpp-1 | c7c09e3c76395bcbf95a304db6462a315db921ba | 42d07f16a379a8093b6ddc15675bf777eb10d480 | refs/heads/master | 2020-03-24T10:20:15.783034 | 2018-06-12T13:19:05 | 2018-06-12T13:19:05 | 142,653,486 | 3 | 1 | null | 2018-07-28T06:36:35 | 2018-07-28T06:36:35 | null | UTF-8 | C++ | false | false | 877 | cpp | #include<stdio.h>
#include<string.h>
int main()
{
int i;
double a[15];
a[0] = a[1] = 1;
for (i = 2; i <= 10; i++)
a[i] = i * a[i - 1];
int n, m;
while (scanf("%d%d", &n, &m) != EOF) {
int num[15];
double c1[15], c2[15];
for (i = 1; i <= n; i... | [
"wyrover@gmail.com"
] | wyrover@gmail.com |
1fe170cef447c0f76fba91fe15ec4b6177b34114 | 46e2c94c7b5691432716d618beda6f5075b76754 | /sln/019RemoveNthNodeFromEndofList_v3.cpp | b8bea9d8ce68c0900b7600d3fbfc38f6c7138a4a | [] | no_license | Starxyz/leetCodeRecord | 6fc52205130e94b21739c60e068eba7b0067badb | ed41d3db46bb1ef8082867483a85bb73f35ae07d | refs/heads/master | 2021-06-29T00:59:46.018955 | 2020-10-04T10:15:06 | 2020-10-04T10:15:06 | 151,848,728 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,285 | cpp | /*
Given a linked list, remove the n-th node from the end of list and return its head.
Example:
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node from the end, the linked list becomes 1->2->3->5.
Note:
Given n will always be valid.
Follow up:
Could you do this in one pass?
... | [
"a136009394@163.com"
] | a136009394@163.com |
ced72451d22b4a11f97a3d80f55f95207d5a2bb9 | c4cfc213646bd5d5dcc637b37e80e35318eb3a40 | /KOCOM/src/context_elevator.cpp | 1b7b095a2ca9c7c2335f60675ddacbf44e8fafb2 | [] | no_license | gandy555/MTM_V3 | ff90e70b525bd88c6d25756f4de7b21b2b5d0d61 | abc012b1663b412cca26c5ffb3073bbfd57550c2 | refs/heads/master | 2021-01-20T06:59:40.596104 | 2015-10-14T14:30:31 | 2015-10-14T14:30:31 | 42,117,534 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 12,890 | cpp | /*
*/
#include "common.h"
#include "context_elevator.h"
#include "main.h"
#define ELEVATOR_STAT_REQ (1<<0)
#define ELEVATOR_STAT_RES_WAIT (1<<1)
#define ELEVATOR_STAT_RES_TIMEOUT (1<<2)
#define ELEVATOR_CALL_REQ (1<<3)
#define ELEVATOR_CALL_RES_WAIT (1<<4)
#define ELEVATOR_CALL_RES_TIMEOUT (1<<5... | [
"freejack@ubuntu.(none)"
] | freejack@ubuntu.(none) |
58bbb6a913c062b39f9d0eaf9ff6eb0effe5717c | 753ed389484c2bbb5d26c21f3c944471a8d704fd | /cv2/streamcypher.cpp | 27e49f739ba6161a6ed1ab12d0d4b5dd10b7cf70 | [] | no_license | jhrach/BEZ | ee86f0ac1f985dc8830db98834e5e69c5eb8dbbe | ff04cb9e5b87854762954ff585115a74c839cb06 | refs/heads/master | 2021-01-12T21:17:57.541026 | 2014-03-26T16:58:20 | 2014-03-26T16:58:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,779 | cpp | #include <stdlib.h>
#include <openssl/evp.h>
#include <string.h>
#include <fstream>
using namespace std;
int main(void) {
unsigned char known[1024] = "abcdefghijklmnopqrstuvwxyz0123";
unsigned char knownst[1024];
int knownstlen = 0;
unsigned char ot[1024] = "Supertajna zprava z BEZ supert"; // open text
... | [
"shadow.to.root@gmail.com"
] | shadow.to.root@gmail.com |
a592addea95811bc23a8550cb3cd4dadbf43e160 | 41098b8eb7a50a0cbc8ce9973eb7840f5d5fa87e | /Implementation/id_002/id_002b.cc | 3dbfe8a85637b921bf3ed353374630494ace53a2 | [] | no_license | RexusWolf/IS | f119bddc372b25ec3c4dea66e72254097f4a1cb3 | 80e11fde39bfbe72cfae17e77a4af822d582ffd5 | refs/heads/master | 2021-08-04T17:10:14.810359 | 2019-01-10T19:54:18 | 2019-01-10T19:54:18 | 149,256,650 | 14 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 391 | cc | // ID_0002a: Remove all Student
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <list>
#include "id_002b.h"
#include "../classes/student.h"
using std::list;
void deleteAll(list<Student> students){
list<Student>::iterator b = students.begin();
list<Student>::iterator e = students.end();
studen... | [
"francisjmp99@gmail.com"
] | francisjmp99@gmail.com |
4706be939cc1ffea406f473d6d30f8ddf8fed52b | b50e21a9d46169930957fc43ce589b60631e3365 | /OpenGLTutorial/WindowEx.cpp | ccbb587d5a50148dcd82f0a7312ee76242f19733 | [] | no_license | YMMH/OpenGLTutorial | 05b3ea4118ca306eb62920a815cb958458ac6b39 | 7338c130b8943a727f52310082dec59c35bdac75 | refs/heads/master | 2020-06-20T07:39:30.925647 | 2019-07-15T17:59:54 | 2019-07-15T17:59:54 | 197,045,944 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,863 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <iostream>
#define WIN_HEIGHT 600
#define WIN_WIDTH 800
void framebuffer_size_callback(GLFWwindow *window, int width, int height);
void processInput(GLFWwindow* window);
int main()
{
glfwInit();
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(G... | [
"sftwrmstr@gmail.com"
] | sftwrmstr@gmail.com |
a33349a5bf841e95739bd23a0ea0b7b16690b2af | 24411a9cfe06f4e52ff4f7689ee09ebdadebb863 | /ToDoList/tdccustomattribdata.h | 621e55e70c085cde5fa64e2d9d67e80d2fff54c0 | [] | no_license | JohnnyXiaoYang/ToDoList_7.2 | 6371a2d24f86e6781566ba0a86b43c3a2d57a97f | 7f0f14a49b55304b71b257c0086fbb179c12dbc7 | refs/heads/master | 2022-11-30T23:55:53.309392 | 2020-08-16T01:22:04 | 2020-08-16T01:22:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,693 | h | #if !defined(AFX_TDCCDATA_H__5951FDE6_508A_4A9D_A55D_D16EB026AEF7__INCLUDED_)
#define AFX_TDCCDATA_H__5951FDE6_508A_4A9D_A55D_D16EB026AEF7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////////////////////
#include "..\i... | [
"daniel.godson@gmail.com"
] | daniel.godson@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.