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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
db266ddf7401aa89d77492bf6a75637f608594fa | 013c7539d6fb9ffc30740a33691aac902b11b06e | /practive/POJ/finished/3278.cpp | 468d0fcf7c40dcabc1daed9490d807bcad43bd30 | [] | no_license | eternity6666/life-in-acm | 1cc4ebaa65af62219130d53c9be534ad31b361e2 | e279121a28e179d0de33674b9ce10c6763d78d32 | refs/heads/master | 2023-04-13T07:50:58.231217 | 2023-04-09T09:23:24 | 2023-04-09T09:23:24 | 127,930,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | cpp | #include <iostream>
#include <cstring>
#include <queue>
using namespace std;
const int maxn = 1e5 + 10;
struct node{int now, time;};
int n, k;
bool v[maxn];
int bfs()
{
memset(v, 1, sizeof(v));
node s;
s.now = n;
s.time = 0;
queue<node> q;
q.push(s);
int ans = maxn;
while(!q.empty())
... | [
"1462928058@qq.com"
] | 1462928058@qq.com |
a411158a8ced855fd1a0b0524a30a14f5da21d54 | 5c83b3b84af296ee2aaf4ff879fba949921668f0 | /src/core/vertex_buffer_base.cpp | d57fe45761c166f78655401408ecc5b04593336a | [] | no_license | stevebeard/rend | 8785dd6a71d9f2ebec8a83264fbcbd587c5f67fb | 852b01252da9f9d77fd9ea3bf8743c64aa2e09b1 | refs/heads/master | 2020-07-29T22:00:32.250020 | 2019-09-13T15:39:11 | 2019-09-13T15:39:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp | #include "vertex_buffer_base.h"
using namespace rend;
VertexBufferBase::VertexBufferBase(void)
: _count(0), _bytes(0), _vertex_bytes(0)
{
}
VertexBufferBase::~VertexBufferBase(void)
{
}
uint32_t VertexBufferBase::count(void) const
{
return _count;
}
size_t VertexBufferBase::bytes(void) const
{
return _... | [
"alas.paterson@gmail.com"
] | alas.paterson@gmail.com |
996c64f8814e1e0dc72928669e5bdd6b31396ca6 | da41653417bb575b80f80dcd534083d3ec5968b1 | /Qt5_learn/Day1/Code/01_FirstProject/mypushbutton.cpp | e9fd74b070aa0d6659dd91271f8d6d2a39e11828 | [] | no_license | TaraxaYJ/Qt5_Interface_for_Robot | e5c6420fc17300e0aef72b5afcd7aa3f8002b179 | 4cb7edc6327b55e840c3266329b87f38dde6efb2 | refs/heads/master | 2020-12-03T16:51:21.240568 | 2020-01-02T14:31:50 | 2020-01-02T14:31:50 | 231,396,042 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 239 | cpp | #include "mypushbutton.h"
#include <QDebug>
MyPushButton::MyPushButton(QWidget *parent) : QPushButton(parent)
{
qDebug() << "我的按钮类构造调用";
}
MyPushButton::~MyPushButton()
{
qDebug() << "我的按钮类析构";
}
| [
"yyj_1803294@sjtu.edu.cn"
] | yyj_1803294@sjtu.edu.cn |
12cd74be7c2809147f44d95c0780e8e7a244657f | 62d6e09be253895ef4f574265e4b86a3fe3936d3 | /Getopt/ShortFunction.cpp | 112d134c17eaaa08e514fb1e7abb1c3522bec998 | [] | no_license | JackWyj/Getopts | d8fa752680467dcf053c8af827f2ec48cd375df5 | 02e7b30a0d593cf127afdfd5a152aa0210496868 | refs/heads/master | 2016-09-08T02:03:18.458048 | 2015-06-23T13:34:13 | 2015-06-23T13:34:13 | 37,046,440 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | #include "stdafx.h"
#include "ShortFunction.h"
ShortFunction::ShortFunction(void)
{
ch = 0;
have_param = false;
}
ShortFunction::ShortFunction(char c , bool b){
ch = c;
have_param = b;
}
ShortFunction::~ShortFunction(void)
{
}
bool ShortFunction::haveParam(){
return have_param;
}
char ShortFunction::getch(){... | [
"568887572@qq.com"
] | 568887572@qq.com |
fae816c4afc9cd24cf07e3b92e3d8c6ed3a9d5b1 | 50edf0fe7791df5e792aef4ae844783a9bbbeb64 | /3. dynamic programming/F.cpp | a3b49310cd11be8539f39b7e871b3e1bc8f9c442 | [] | no_license | don2rryV/itmo_ADS | 08a5266f0bb485325f04797979118016bbf6c543 | af728eafc278e6d26c70356817446fe0b2cb9833 | refs/heads/master | 2020-05-27T16:48:10.716049 | 2019-05-27T17:37:57 | 2019-05-27T17:37:57 | 188,708,988 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,850 | cpp | #include <bits/stdc++.h>
using namespace std;
vector <vector <int> > a, ans;
string s;
int func(int left, int right){
if (left > right) return 0; else{
//cout << left << " " << right << endl;
if (a[left][right] == 0){
// cout << left << " " << right << " in 0 " << endl;
int y = right ... | [
"don2rry@gmail.com"
] | don2rry@gmail.com |
ecb7a987d472de06bca16181f8358db10c0320cf | f26360b99a471d466af83f037a02ccc4667db913 | /3rdparty/poco/Crypto/testsuite/src/CryptoTest.cpp | 777c23c610466c2b28c706352f97855d3f7c3a13 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | gitkeidy/opencvr | 80646520b8099485edb6c666750808f876fabf97 | 9bd570ff30c407cf149acdaf483f22f0ebefa72e | refs/heads/master | 2021-01-18T08:56:04.463604 | 2016-02-08T05:10:18 | 2016-02-08T05:10:18 | 50,656,483 | 3 | 1 | null | 2016-02-08T05:10:20 | 2016-01-29T10:44:57 | Makefile | UTF-8 | C++ | false | false | 9,166 | cpp | //
// CryptoTest.cpp
//
// $Id: //poco/1.4/Crypto/testsuite/src/CryptoTest.cpp#2 $
//
// Copyright (c) 2008, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "CryptoTest.h"
#include "CppUnit/TestCaller.h"
#include "CppUnit/TestSuite.h"
#include "Po... | [
"xsmart@163.com"
] | xsmart@163.com |
2163d70c3fd36099f2d26e57b9aba7e11bb7163a | ac25e1afb366426988e5900270a27da8da22f8dc | /src/kidsbedsmall.cpp | e4f5cb1b4761ebee99fd5b98b66acc45a53183f0 | [] | no_license | sha256/OpenGLKidsRoom | a2c5424729c74ab1d37300b32e86057a90d85031 | 131b9aa4d1bead40cf32799b5618078e9889ddb9 | refs/heads/master | 2021-01-20T15:19:54.674265 | 2017-05-09T14:44:38 | 2017-05-09T14:44:38 | 90,756,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,701 | cpp | //
// kidsbedsmall.c
// Offline1
//
// Created by Shamim Hasnath on 10/5/15.
// Copyright © 2015 Holo. All rights reserved.
//
#include "Header.h"
void kidsBedSmallDisplay(){
color(LB_PILLER);
glPushMatrix();{
glTranslatef(10, 0, 0);
glScaled(1, 3, 1);
drawCurvedCubicLine... | [
"shamim@hasnath.net"
] | shamim@hasnath.net |
48d9f45f39bcb60ed5e474c22dde595e8d72f104 | 850a39e68e715ec5b3033c5da5938bbc9b5981bf | /drgraf4_0/Allheads/Mi_obj3d.h | 03f18c3d6340be8f333090d46876a517917e0aef | [] | no_license | 15831944/drProjects | 8cb03af6d7dda961395615a0a717c9036ae1ce0f | 98e55111900d6a6c99376a1c816c0a9582c51581 | refs/heads/master | 2022-04-13T12:26:31.576952 | 2020-01-04T04:18:17 | 2020-01-04T04:18:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,625 | h | // ELMouse.h : header file
//
#ifndef _MI_OBJ3D_H
#define _MI_OBJ3D_H
//#undef AFX_DATA
//#define AFX_DATA AFX_EXT_DATA
#include "drObj3D.h"
#include "DListMgr.h"
#include "Def_Type.h"
/////////////////////////////////////////////////////////////////////////////
// CMouse vi... | [
"sray12345678@gmail.com"
] | sray12345678@gmail.com |
ba65c63bfb27b946dc9a2cb0cd0a7fbe1f3bb856 | 4c8aa269772b2677176b21930e2b513e5fcad252 | /resources/cPerson.cpp | 1a10789bd53c13421e1d3166f8c34ee7504208d9 | [] | no_license | CEduardoSQUTEC/karuSampi | 0e29ef230263fdfe32b1c0e657407f30969ef784 | b0a08ee231789e807590e7d1eac25f41562de91c | refs/heads/master | 2022-03-20T16:58:00.369954 | 2019-11-29T16:46:40 | 2019-11-29T16:46:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62 | cpp | //
// Created by eduar on 28-Nov-19.
//
#include "cPerson.h"
| [
"eduardo.castro@utec.edu.pe"
] | eduardo.castro@utec.edu.pe |
a8791f0636d7fbecd4a63aa4a4fbb4f64b8c7f6d | e6f6c2fe3a2d77069bca51c39d54ba1821f00a36 | /communication/unixSocket/include_files/unixSocket.hh | 0b964026e907f0c335744bc8a887f872a0c0c473 | [] | no_license | Tibonim/cpp_plazza | b33744dc6ad6a333eabfc9c6beeb992e01e41faa | 0cf973005c59bac8d32bb628604aea760a6cf22f | refs/heads/master | 2023-07-25T08:15:17.735210 | 2018-10-28T10:10:59 | 2018-10-28T10:10:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 485 | hh | #pragma once
#include <string>
#include <sys/socket.h>
#include <sys/un.h>
#include <arpa/inet.h>
#include "ACom.hh"
namespace com {
class unixSocket : public ACom {
public:
unixSocket(std::size_t id, int input);
~unixSocket();
void sendCmd(ICom::SendProtocol const &protocol) override;
void recei... | [
"Fusion@LAPTOP-687C0M9D.localdomain"
] | Fusion@LAPTOP-687C0M9D.localdomain |
8a15213a202dba0bce4076bcd4bb20f029b3997b | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_old_hunk_1357.cpp | 4b86268d0da26e74a2833567515b4af54f3df5de | [] | 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 | 539 | cpp | */
#include "apr_arch_threadproc.h"
APR_DECLARE(apr_status_t) apr_proc_detach(int daemonize)
{
int x;
if (chdir("/") == -1) {
return errno;
}
#if !defined(MPE) && !defined(OS2) && !defined(TPF) && !defined(BEOS)
/* Don't detach for MPE because child processes can't survive the death of
... | [
"993273596@qq.com"
] | 993273596@qq.com |
4237332df7a0628105c6f91dd7bff4c671c19cf1 | bd59d5419a886576ca93b2d07fb70c910144e4ba | /MsgBox.cpp | bec0bce10e4f2b7698cf074c89d369384959b41c | [] | no_license | liuyanmin120/test | 9555a0622f1a96e4ad1170ab8a38b7f2ac198a6e | 45d5793c70e819e4263f40b32beaeeeb7d751a50 | refs/heads/master | 2021-06-03T17:49:41.679532 | 2020-12-10T07:27:13 | 2020-12-10T07:27:13 | 320,192,472 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,274 | cpp | #include "MsgBox.h"
#include "ui_MsgBox.h"
const int MulHeight = 253;
const int SingleHeight = 193;
MsgBox::MsgBox(QWidget *parent, bool bAutoDel/* = true*/, int autoCloseTime/* = 0*/) :
QDialog(parent),
ui(new Ui::msgbox)
{
ui->setupUi(this);
setWindowFlags(windowFlags() | Qt::FramelessWindowHint | Qt::WindowSta... | [
"mywin@qq.com"
] | mywin@qq.com |
af36ba3442cb6180a261f6880ebf3f60e68d697a | f5f750efbde0ccd95856820c975ec88ee6ace0f8 | /aws-cpp-sdk-clouddirectory/include/aws/clouddirectory/model/ListObjectChildrenRequest.h | b3245e8b4e7d37504bcfa1e6b4729d65ccf597b7 | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | csimmons0/aws-sdk-cpp | 578a4ae6e7899944f8850dc37accba5568b919eb | 1d0e1ddb51022a02700a9d1d3658abf628bb41c8 | refs/heads/develop | 2020-06-17T14:58:41.406919 | 2017-04-12T03:45:33 | 2017-04-12T03:45:33 | 74,995,798 | 0 | 0 | null | 2017-03-02T05:35:49 | 2016-11-28T17:12:34 | C++ | UTF-8 | C++ | false | false | 7,931 | h | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
7d0b9df182f454e20608fd8f6553fe6d3c6dccba | 9f0d42c412db503f0759980a35136618ac6fda79 | /MyProjects/C++/2021/07.19/ZR1955.cpp | d83200d4a6052c9097817442def7e6c6b39fc1f2 | [] | no_license | lieppham/MyCode | 38a8c1353a2627d68b47b5f959bb827819058357 | 469d87f9d859123dec754b2e4ae0dced53f68660 | refs/heads/main | 2023-08-25T04:00:00.495534 | 2021-10-21T12:15:44 | 2021-10-21T12:15:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 956 | cpp | //Created by yanyanlongxia on 2021/7/23
//
#include <bits/stdc++.h>
#define ll long long
#define clm(x) memset(x,0,sizeof(x))
#define infm(x) memset(x,0x3f3f3f3f,sizeof(x))
#define minfm(x) memset(x,0xcf,sizeof(x))
using namespace std;
const int N=2e3;
int n,s,a[N],sum[N];
bool ma[N][N];
int gcd(int x,int y){
retu... | [
"yanyanlongxia@outlook.com"
] | yanyanlongxia@outlook.com |
ee64d5284d62b300029f2cce0f2c94d0ed48c44f | 83d06b8ef639485edd2085f176f778166aa32486 | /Exercise00-07.cpp | 93d10881bfadf8fb6cc6b343fb4fba1d99865f07 | [] | no_license | peteflorence/KoenigMoo_AcceleratedCpp | ac54385e0311542a94f9607349f3ed65a1f493d7 | 35dba25410e51f1729d8544666e29a78c7c36258 | refs/heads/master | 2020-04-11T09:53:48.726205 | 2015-08-25T12:01:03 | 2015-08-25T12:01:03 | 39,455,273 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | cpp | //Exercise00-07.cpp
#include <iostream>
int main()
{
/* This is a comment that extends over servel lines
because it uses /* and */ as its starting and ending delimiteres */
std::cout << "Hello, world!" << std::endl; }}}}}}
return 0;
} | [
"pete.florence@gmail.com"
] | pete.florence@gmail.com |
2609df0b39f6c063c07d56762615860dccea5fcb | 3ef9dbe0dd6b8161b75950f682ec2fc24f79a90e | /MT_Cup/H/large.cpp | eed27722b56050c5b3b9dd739caad55933998c33 | [
"MIT"
] | permissive | JackBai0914/Competitive-Programming-Codebase | abc0cb911e5f6b32d1bd14416f9eb398b7c65bb9 | a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9 | refs/heads/main | 2023-03-29T14:17:36.190798 | 2021-04-14T23:15:12 | 2021-04-14T23:15:12 | 358,065,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 56,611 | cpp | 2 0 0
3 2 1
4 3 2
5 2 3
6 3 1
7 3 5
8 0 3
9 6 0
10 6 4
11 4 7
12 0 9
13 4 5
14 10 9
15 13 7
16 13 8
17 10 16
18 12 13
19 12 18
20 2 19
21 8 6
22 20 3
23 7 21
24 15 6
25 17 16
26 14 25
27 10 17... | [
"xingjianbai0914@sina.com"
] | xingjianbai0914@sina.com |
049092663df1e1ad7b506685f510939da48f8fc8 | c1d7cd0b81923e54d18435ad7fdd119c290f0ddf | /10.11.cpp | c0e295f33ffaa33da481833c9ef2fb70545e4c3c | [] | no_license | leebingzheng/li_bingzheng | a6ba4f8d08dff21c5c408e7d03eeecca9a88839b | 6ebe1b67665499b981ec663879b803b46778b632 | refs/heads/master | 2020-04-02T06:24:31.630734 | 2019-04-21T12:08:12 | 2019-04-21T12:08:12 | 154,146,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 660 | cpp | #include "Polynomial.h"
#include <iostream>
#include <string>
#include <Polynomial.h>
using namespace std;
Polynomial::Polynomial(int a)
{
z=a;
x=new int[z+1]();
for(int i=0;i<z+1;++i)
x[i]=0;
}
Polynomial::~Polynomial()
{
delete[]x;
}
istream & operator>>(istream& input,Polynomial& a)
{
for(int i=0;i<... | [
"1074586195@qq.com"
] | 1074586195@qq.com |
c2adde24185a998d43eaf5e925bf74d05a1f0644 | b974b958552668113dbe82409e4e08bb4e153150 | /main.cpp | 7978b35e1f67e00042fb73c8f40aeb012388f083 | [] | no_license | GeremiaPompei/boost_json_heap | 8826d8d5baf943163ebce113991da4ef1371f0bf | 7add00ff6efba33b553cf4fbdf08cb148f909677 | refs/heads/master | 2023-04-06T04:03:48.254984 | 2021-04-01T08:14:19 | 2021-04-01T08:14:19 | 353,110,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 971 | cpp | #include <iostream>
#include <vector>
#include "fibonacci_heap_handler.hpp"
#include "json_handler.hpp"
#include "value.hpp"
using namespace std;
/**
* Funzione main che fa partire l'esecuzione del programma.
*/
int main()
{
JsonHandler json;
FibonacciHeapHandler<Value> fib;
vector<Value> w;
cout... | [
"geremia.pompei@studenti.unicam.it"
] | geremia.pompei@studenti.unicam.it |
cee78d7c6f635a018ffd6f231402a0d801a31536 | bcf681e46f3214a5d76bc92ab66cb3bda62da8a4 | /CSCE_313_Projects/PA3/SHMreqchannel.h | 6d7e4810f3b66e707ea93eb6dfb0585f11705547 | [] | no_license | AndersonIJ99/oldProjectsForPortfolio | 1930c0916587ce26aae2f20de0e4d7208da0997f | ccd94cd846d7301dde078ebb825ddd9726348d6d | refs/heads/master | 2023-02-28T10:16:54.727695 | 2021-02-02T20:08:56 | 2021-02-02T20:08:56 | 335,409,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,195 | h |
#ifndef _SHMreqchannel_H_
#define _SHMreqchannel_H_
#include <semaphore.h>
#include <sys/mman.h>
#include "common.h"
#include "Reqchannel.h"
#include <string>
using namespace std;
class SHMQ {
private:
char* segment;
sem_t* sd;
sem_t* rd;
string name;
int len;
public:
SHMQ (string _name, int _len) : name(_name... | [
"mew1067@gmail.com"
] | mew1067@gmail.com |
febd4bfaf0d06bef7d2dc05e27debf764eccc0aa | 7d497f964e20fbfa6ddfc980858f676eb1a8e274 | /main.cpp | f381df2d79351c480b17820fe94cf100f1af6141 | [] | no_license | jhirniak/keylogger | 41bd0d588088e1d74ca8f444c45cf09554e60159 | 6780826a0219479ac4eb27ffd2b6a5406d7f2754 | refs/heads/master | 2020-05-18T01:03:08.519176 | 2015-01-07T11:22:55 | 2015-01-07T11:22:55 | 28,909,591 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,397 | cpp | #include <windows.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <stdbool.h>
#include <stdlib.h>
bool invisible = true;
char fileName[MAX_PATH];
void hide(void)
{
HWND stealth;
/* Retrieves a handle to the top-level window whose class name and window name match the specified strings.
... | [
"j@hirniak.info"
] | j@hirniak.info |
7b4d3a4a2fddf53e76a7cac7651d501fe0189655 | 2d16f56549a1becb433cab7bf7bc08f0c9bdb930 | /chap4/pr4_1.cpp | 66052560207fbef0fe7666082a397b39ac326e7e | [] | no_license | ferng/cppBeginners | 275811ce762af8ad1cf2e3870da7b702f3aa5a80 | 708a83d150fde776a40f4da86301005ee090eb50 | refs/heads/master | 2020-09-15T11:23:58.621735 | 2019-11-22T15:27:20 | 2019-11-22T15:28:50 | 223,431,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
int nums[10];
int a, b, t;
int size;
size = 10;
for (t = 0; t < size; t++)
nums[t] = rand();
cout << "Array is:\n";
for (t = 0; t < size; t++)
cout << nums[t] << ' ';
for (a = 1; a < size; a++) {
for (b = size-1; b >= a; b--) {... | [
"ferng001@gmail.com"
] | ferng001@gmail.com |
e7f8f757f773affb21f3eddeb74c19cdc9a68f3f | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /SDK/BP_MiniGame_SmartBall_SimpleBase_parameters.h | e6726b807594cb733394c401309c3064cd7b94dc | [] | no_license | LemonHaze420/ShenmueIIISDK | a4857eebefc7e66dba9f667efa43301c5efcdb62 | 47a433b5e94f171bbf5256e3ff4471dcec2c7d7e | refs/heads/master | 2021-06-30T17:33:06.034662 | 2021-01-19T20:33:33 | 2021-01-19T20:33:33 | 214,824,713 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 902 | h | #pragma once
#include "../SDK.h"
// Name: Shenmue3SDK, Version: 1.4.1
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function... | [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
bab23d4f274c2db5bd2a783f29136041dc1c2c5f | 5bef53b0dc9539a4953919f75fde1f0ebd20e9fb | /ICPC/Sharif_2019/I.cpp | 1f74dfa7c7f160dd019cb7912fb5e832dc659e65 | [] | no_license | atrin-hojjat/CompetetiveProgramingCodes | 54c8b94092f7acf40d379e42e1f2c0fe8dab9b32 | 6a02071c3869b8e7cd873ddf7a3a2d678aec6d91 | refs/heads/master | 2020-11-25T10:51:23.200000 | 2020-10-08T11:12:09 | 2020-10-08T11:12:09 | 228,626,397 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,000 | cpp | #include <iostream>
#include <cstring>
#include <vector>
using namespace std;
const int MaxN = 2e5 + 6.66;
struct Segment {
long long seg[(int) (2e5 + 6.66) * 4];
long long laz[(int) (2e5 + 6.66) * 4];
int upd[(int) (2e5 + 6.66) * 4];
Segment() {
memset(seg, 0, sizeof seg);
memset(laz, 0, sizeof laz)... | [
"magic.h.s.atrin@gmail.com"
] | magic.h.s.atrin@gmail.com |
3c384efd88fda77f22eb44d42a9992f6e1e26a2d | fe6ef75f0e51bf88ba917162f5c31b5ac3cfd5ba | /create_image_task.cpp | 24f4f4ccbef67cfd9dd609b28d61d9471600dead | [
"MIT"
] | permissive | Sauexceed/Fractal_Designer | 5f1d1b8621321500aaf49f0296687838182f767c | 7b8289fbfb4c527786b49b6beeef35356d6a1abf | refs/heads/master | 2023-06-16T17:40:18.404673 | 2021-06-21T15:10:17 | 2021-06-21T15:10:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,280 | cpp | #include "create_image_task.h"
#include "mainwindow.h"
Create_Image_Task::Create_Image_Task(QWidget* parent)
{
MainWindow* p = (MainWindow*) parent;
connect(this, &Create_Image_Task::updateImage_preview, p, &MainWindow::getImage);
connect(this, &Create_Image_Task::progressInform_previ... | [
"teddy-jerry@qq.com"
] | teddy-jerry@qq.com |
54a82dcc2e59588acd3eedfbca0072e7adada9a3 | 1a93a3b56dc2d54ffe3ee344716654888b0af777 | /env/Library/include/qt/QtQuick/qquickrendercontrol.h | 8ec9b8aafc1f9f730bbbaf473b09bcd9c4a0722a | [
"BSD-3-Clause",
"GPL-1.0-or-later",
"GPL-3.0-only",
"GPL-2.0-only",
"Python-2.0",
"LicenseRef-scancode-python-cwi",
"LicenseRef-scancode-other-copyleft",
"0BSD",
"LicenseRef-scancode-free-unknown"
] | permissive | h4vlik/TF2_OD_BRE | ecdf6b49b0016407007a1a049f0fdb952d58cbac | 54643b6e8e9d76847329b1dbda69efa1c7ae3e72 | refs/heads/master | 2023-04-09T16:05:27.658169 | 2021-02-22T14:59:07 | 2021-02-22T14:59:07 | 327,001,911 | 0 | 0 | BSD-3-Clause | 2021-02-22T14:59:08 | 2021-01-05T13:08:03 | null | UTF-8 | C++ | false | false | 2,871 | h | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtQuick module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commer... | [
"martin.cernil@ysoft.com"
] | martin.cernil@ysoft.com |
e6eaf640255ad4d165cf8ef6930537ea5e4e5ec5 | 446fdbad810bd6623b4995184b82f8c0d5987902 | /leetcode/leetcode/35. 搜索插入位置.cpp | c6bf3c54b172c598553f597938f7fe0538357c9f | [] | no_license | 19865044959/code_test | 74f258769f627f45ba8c829d14a3111335e48562 | 371d1cb89f401290715b42e7f72299aace7ede8c | refs/heads/main | 2023-04-17T19:14:37.449157 | 2021-05-13T01:48:28 | 2021-05-13T01:48:28 | 366,901,912 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,112 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <queue>
#include <unordered_map>
using namespace std;
/**********************************************************************************************************
方法:暴力法
说明:
时间复杂度与空间复杂度:O(n) O(1)
涉及到的知识点:
************************... | [
"huanyzhang@foxmail.com"
] | huanyzhang@foxmail.com |
3b2e429c1eb06161a280cd1aa8357f356ff4660f | 9c83aa016dbee6d5ca49cc30cd03bab6d02c30ec | /LanMap Filter/cdp.cpp | 43d74f236077ec91d012acdbdf3f440e99f66465 | [] | no_license | trevelyanuk/SMPF-Client | a8240b856f9550354d59967bb7215d005e9014ea | 716e58552343ed701fc2dc2fbea2c7e7ae6367dd | refs/heads/master | 2020-04-05T14:05:47.766995 | 2019-08-03T20:43:12 | 2019-08-03T20:43:12 | 94,760,868 | 1 | 1 | null | 2019-08-13T19:40:29 | 2017-06-19T09:39:23 | C++ | UTF-8 | C++ | false | false | 9,980 | cpp |
//http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/cdp/configuration/15-mt/cdp-15-mt-book/nm-cdp-discover.html
void getDataCDP()
{
unsigned int count = 0;
/*
Destination MAC address - which is octet 0 - 5
*/
//%02x, rather than %x, will enforce a mininum field size - so a value of 1 becomes 01 and e becomes 0... | [
"cellotape@gmail.com"
] | cellotape@gmail.com |
d586d9eaa0883b0c9ea2714b2f753a49360e649a | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chromeos/services/device_sync/public/cpp/fake_device_sync_client.cc | f756216f32e422eb5fa1f43030e902156c9f87ff | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 4,058 | 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 "chromeos/services/device_sync/public/cpp/fake_device_sync_client.h"
#include "chromeos/components/multidevice/remote_device.h"
#include "chrome... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
08dde59c33d5b689e59069dea2581c10236be166 | 27f817ac1c8be0ad473279d02a514e419b5bd6fc | /November Game/MenuState.cpp | 9a809641579a3bf76401136df6c4b178da883fac | [] | no_license | Swistaak/November-Game | 7281a058d5b8bad4d3880dd0cca898deaff33607 | 5b6dfe4307905e9809f30c6816871c5990f41e2d | refs/heads/master | 2020-07-23T02:55:30.907076 | 2017-07-21T09:43:23 | 2017-07-21T09:43:23 | 73,818,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | cpp | #include "MenuState.h"
#include "Game.h"
#include "PlayState.h"
MenuState MenuState::mMenuState;
void MenuState::init(Game * game)
{
font.loadFromFile("font\\dpcomic.ttf");
startText.setFont(font);
startText.setPosition(390, 380);
startText.setString("Press space key to start game");
}
void MenuState::cleanup()
{... | [
"sswistak123@gmail.com"
] | sswistak123@gmail.com |
8b936fdde655462343005273550c31ada8bc705d | 1bd2698bde9265ab4741358c2b8e1bec1901e7f9 | /Tonb0.1/AutLib/Geom/Merge/Point/Merge_Pnt.hxx | 22b2e2974082aec71e55569618dd3549debbcb1c | [] | no_license | amir5200fx/Tonb0.1 | 150f9843ce3ad02da2ef18f409a100964c08983a | 7b17c6d2b3ddeca8e6b2900967b9599b0b1d61ed | refs/heads/master | 2022-01-17T09:47:25.291502 | 2019-06-14T13:27:39 | 2019-06-14T13:27:39 | 169,406,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,232 | hxx | #pragma once
#ifndef _Merge_Pnt_Header
#define _Merge_Pnt_Header
#include <Global_Macros.hxx>
#include <Standard_TypeDef.hxx>
#include <Traits.hxx>
#include <error.hxx>
#include <OSstream.hxx>
#include <memory>
#include <vector>
#include <algorithm>
namespace AutLib
{
class Merge_Info
{
/*Private Data*/
Sta... | [
"ma.yaaghoubi@gmail.com"
] | ma.yaaghoubi@gmail.com |
30ff9d2e8c861f92b5780ca785a8d767c9628ced | fa345d30d723c9cbdb750235c832bb3af635d77f | /CountAndSay.cpp | 1d4cd3aa2b150637dc495a9b257e1d51e278b531 | [] | no_license | AparnaChinya/100DaysOfCode | 03c50ff1dc7e003f7c3510ee1c40f2c0588021ec | 436ff8302eaeea705d92de4dc8c5a763b84b3348 | refs/heads/master | 2021-07-18T13:24:06.102900 | 2018-12-07T06:04:29 | 2018-12-07T06:04:29 | 72,006,131 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | cpp | /*
38. Count and Say
The count-and-say sequence is the sequence of integers with the first five terms as following:
1. 1
2. 11
3. 21
4. 1211
5. 111221
1 is read off as "one 1" or 11.
11 is read off as "two 1s" or 21.
21 is read off as "one 2, then one 1" or 1211.
Given an integer n where 1 ≤ n ≤ 30,... | [
"apchin@outlook.com"
] | apchin@outlook.com |
74a2c4390d2b02125824bee6e6f6cc7e20efa756 | 6c60fa044d44773c6a40485a3d8209614d2adf5e | /uVision/uVision/GeneratedFiles/ui_imagestitching.h | 8d3b095e9c4f17e0d182e5d308c71325e2f50411 | [] | no_license | githubcjl/uVision_cjl | d36e36f9f022bbfb7b1131fd76bb375f3a6e411b | a1902dd3f308d3524f92bb3552bf3b4096644730 | refs/heads/master | 2021-01-10T10:46:35.820743 | 2015-12-04T13:29:36 | 2015-12-04T13:29:36 | 45,160,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | h | /********************************************************************************
** Form generated from reading UI file 'imagestitching.ui'
**
** Created by: Qt User Interface Compiler version 4.8.6
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
************************************... | [
"1290478835@qq.com"
] | 1290478835@qq.com |
c305e963e9580d32b45ec2862f7043010e500aa5 | 406ce23771eda2a64efcf41cce28a31e6c7ecd87 | /BOJ/1012.cpp | fd86a4dffedbddf8cfe02cc6dc0719bcc1c6bb47 | [] | no_license | ypd01018/Algorithm | 53d22c9f30e9025af25401718066c73200a6bcb2 | 8382f3adb6f84620d929fcac128cc49fba2f7b6e | refs/heads/master | 2023-06-08T14:25:19.104589 | 2021-06-30T23:19:58 | 2021-06-30T23:19:58 | 324,764,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,562 | cpp | #include<bits/stdc++.h>
#define f first
#define s second
using namespace std;
int T,M,N,K,dx[4]={-1,0,1,0},dy[4]={0,1,0,-1},n;
stack<pair<int,int>> stk;
queue<pair<int,int>> q;
pair<bool,bool> mat[60][60];
void input()
{
int x,y;
cin >> M >> N >> K;
for(int i = 0 ; i < N ;i++)
{
for(int j = 0 ... | [
"ypd01018@naver.com"
] | ypd01018@naver.com |
a37761e5b4cbaa9e20c16ec0d45fd33c514806cf | 99b53c56031760912f7dc1d8438252101963c8ec | /radial_clock/radial_clock.h | 6406ff2a41dc0d8cc427e799326ee3b54cdd2285 | [] | no_license | bhill74/QtWidgets | f65ca38b1f692e74a1e806b63c36d289c6ab5613 | d044400cb3cbcb077702aa8d07028f72810f05fd | refs/heads/master | 2020-03-17T07:07:54.420298 | 2018-05-25T14:41:44 | 2018-05-25T14:41:44 | 133,384,953 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,711 | h | /****************************************************************************
**
** Copyright (C) 2018 Brian Hill
** All rights reserved.
**
** License Agreement
**
** 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... | [
"pi@chickaletta.pawpatrol.home"
] | pi@chickaletta.pawpatrol.home |
e0268d7a324d85eade450757b3c123d55918fa1d | 001bff3a9254779345f2fc22a02786decafe4678 | /11/debian-10/postgresql-repmgr-11.11.0-15-linux-amd64-debian-10/files/postgresql/include/geos/operation/buffer/OffsetSegmentGenerator.h | 6f461dd7418f629b623ef9fa9764c28e1817a4db | [
"GPL-2.0-only",
"MIT",
"Zlib",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | radondb-pg/radondb-postgresql-kubernetes | 33fe153b2b2148486e9ae3020c6b9664bc603e39 | e7a308cb4fd4c31e76b80d4aaabc9463a912c8fd | refs/heads/main | 2023-07-11T16:10:30.562439 | 2021-08-19T11:42:11 | 2021-08-19T11:42:11 | 370,936,467 | 0 | 0 | Apache-2.0 | 2021-05-26T06:56:52 | 2021-05-26T06:56:51 | null | UTF-8 | C++ | false | false | 11,294 | h | /**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2011 Sandro Santilli <strk@kbt.io>
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public Licence... | [
"hualongzhong@yunify.com"
] | hualongzhong@yunify.com |
69e788e7f83f9a4648031e7b3512d0250dd885cf | 12105636bdbaa06fe0dd4eeb93a9c3d35b28af6f | /bus_router/include/yt/util/nouse/allocator.h | d8f4a58d5b3948bd413b44b8d1b71d6c69562a48 | [] | no_license | crcanfly11/zmq-protobuf | 3f81a6699c123ace9dfd770a04ea4bbe7c32c1c5 | 1ea7039ed442cf83a4250d3af06d801cc3444284 | refs/heads/master | 2020-04-24T04:10:31.778675 | 2014-10-15T07:43:25 | 2014-10-15T07:43:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | h | #pragma once
#include <sys/types.h>
#include <stdlib.h>
namespace yt
{
class Allocator
{
public:
virtual ~Allocator() {}
virtual void * Allocate(size_t iSize, size_t * pRealSize = NULL) = 0;
virtual void Deallocate(void * pData) = 0;
public:
static Allocator * Instance();
};
class MallocAllocator ... | [
"185830862@qq.com"
] | 185830862@qq.com |
49fd169d768ce1cd9faf2a9f29d45ab474ea1303 | 6a40151ff39a43f15f8bc1037f665863c7ddf7b3 | /Game/include/Entity.h | edf5c912e14d2de496aa5419a80945f62534c64c | [] | no_license | larinius/2d_RPG_demo | 978ecfec142075edc1103acebc6564e4b8715b63 | 48d18ae4188ee6b0769b5276f8b7c8fecdf53656 | refs/heads/main | 2023-07-09T00:08:21.201234 | 2021-08-21T23:23:38 | 2021-08-21T23:23:38 | 398,671,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,883 | h | #pragma once
#include "precompiled.h"
#include "Components/Component.h"
#include "CommandQueue.h"
#include "ActorController.h"
namespace rpg {
class Entity : public sf::Transformable, public rpg::CommandListener {
public:
explicit Entity(int id, std::string name);
Entity(const Entity &) = delete;
Entity &opera... | [
"dmitry.grunt@protonmail.com"
] | dmitry.grunt@protonmail.com |
ec73ef2631a115c06be8b27d9501c88da6f2be30 | cc327a4880fa7e4c9f699b634e17ca5242c06bc0 | /doc/snippets/MagnumDebugTools-gl.cpp | 83d2160fe1e35a6ac78f5788ea633908187ead72 | [
"MIT"
] | permissive | xqms/magnum | 7cd3f2416dfbb6b305956173c5342bca8461a7cc | cef34e32db6f1fd6617870fd0f92492bbdafdf32 | refs/heads/master | 2021-06-19T13:19:18.729043 | 2019-02-07T08:02:51 | 2019-02-07T08:02:51 | 169,609,455 | 0 | 0 | NOASSERTION | 2019-02-07T17:09:32 | 2019-02-07T17:09:32 | null | UTF-8 | C++ | false | false | 4,667 | cpp | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019
Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
cdf4d51e457fb56f62dd739160e521500a23d1fd | 3507431d0802a6fd7a4eb21f6a1566e9c33cd6d1 | /src/Logging/StreamLogger.h | 64e5017ba8abc2779756da19d3e406c281ae8800 | [
"MIT"
] | permissive | akaneoit/alloy | 7cf75f67226f142712ae4889522db2b52c8cc7f5 | 451d5455663a6b647631b6c87da62a2c3856f0a0 | refs/heads/master | 2021-05-13T21:59:22.454510 | 2018-01-06T01:25:14 | 2018-01-06T01:25:14 | 116,477,678 | 2 | 0 | null | 2018-01-06T11:32:03 | 2018-01-06T11:32:03 | null | UTF-8 | C++ | false | false | 622 | h | // Copyright (c) 2017-2018, The Alloy Developers.
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <mutex>
#include "CommonLogger.h"
namespace Logging {
class StreamLogger : public CommonLogger {
publ... | [
"alloycashproject@gmail.com"
] | alloycashproject@gmail.com |
5a16a547cf5b72c0792e58382569df701547c010 | 976a68b4b8441352b5f775a946335328db88783c | /src/parser/lexer/tokens/r_instr_tok.cpp | a021e3189a19bf8aba3b63dc3d31ed265f997605 | [
"MIT"
] | permissive | maddnias/EzMIPS | 08f4b75d0c2529e6817175c09492712f648ec52d | 01b1a96528d2293faebc363a4004f8c03cf82f42 | refs/heads/master | 2021-05-31T07:02:45.852827 | 2016-05-03T12:25:22 | 2016-05-03T12:25:22 | 57,319,750 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | #include "r_instr_tok.h"
r_instr_tok::r_instr_tok(INSTRUCTION_CODE code, INSTRUCTION_TYPE type, unsigned int tok_row,
unsigned int tok_col):
instr_base_tok(code, INSTRUCTION_R, tok_row, tok_col)
{
}
r_instr_tok::~r_instr_tok(void)
{
}
| [
"imthetuffguy@gmail.com"
] | imthetuffguy@gmail.com |
5c8c69ca203e954a6f7c33672f75bcb319fb30f5 | 66165dc042ba505d7137a5baf27aac1ec5ffa033 | /dia005/lst05-04.cxx | 1a26ef5d97503ccc504af608c507590533f348b7 | [] | no_license | ricardo-rios/programacionii | 92a3e7069a71eecb4eb5601455f8f8b55f1d3dc2 | 6af5857f5fd877a8188743db6e46b81f76010948 | refs/heads/master | 2020-12-30T09:27:24.746166 | 2018-08-27T20:42:31 | 2018-08-27T20:42:31 | 100,416,756 | 0 | 0 | null | 2017-08-15T20:41:55 | 2017-08-15T20:28:31 | null | UTF-8 | C++ | false | false | 484 | cxx | #include <iostream>
using namespace std;
void myFunc();
int main()
{
int x = 5;
cout << "\nIn main x is: " << x;
myFunc();
cout << "\nBack in main, x is: " << x << endl;
return 0;
}
void myFunc()
{
int x = 8;
cout << "\nIn myFunc, local x: " << x << endl;
{
cout << "\... | [
"ricardo.rios.sv@gmail.com"
] | ricardo.rios.sv@gmail.com |
3ab9de8b6aaa8ac440a4584f195ca4f5dc1db860 | dcdf0e29d02a6adafa3d2db9dc7cf443e65bf1c5 | /src/Linked_List.cpp | 126489552833baa838c382c6e82c011f782b628c | [] | no_license | hungthanh95/Linked_List_Cpp | 3bb0281ccc5eec87787bf45efc67f8a4dfce15ff | 94d397ee013a30ace3a1ceb080ed7b9374e8bf37 | refs/heads/main | 2023-02-15T09:36:47.238231 | 2021-01-09T13:54:35 | 2021-01-09T13:54:35 | 328,165,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,381 | cpp | /*
* Linked_List.cpp
*
* Created on: Jun 12, 2019
* Author: ThanhLH
*/
#include <iostream>
#include <fstream>
#include "Linked_List.hpp"
#include "iomanip"
using namespace std;
void Linked_List::add(Node * newNode) {
/*If head = null newNode is head */
if (head == nullptr) {
head = newNode;
return;
... | [
"hungthanh95@gmail.com"
] | hungthanh95@gmail.com |
b20e00dcda3431c1f64d2346ab532131e4a6716a | c700154ce860a5d4981ea00890eae706047008ba | /codepatch/autopatch.h | ff3c615ab9131aa294cf02dc6aa3a7894d37353c | [] | no_license | KyleSanderson/left4downtown2 | 392529c8c843fa15a42117159a2e9cc84eac0c26 | 920592613c68c9b9fc4ed6313c2d9b7de2bd4121 | refs/heads/master | 2021-01-01T10:36:02.848425 | 2014-03-02T18:39:11 | 2014-03-02T18:39:11 | 33,843,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,438 | h | /**
* vim: set ts=4 :
* =============================================================================
* Left 4 Downtown SourceMod Extension
* Copyright (C) 2009 Igor "Downtown1" Smirnov.
* =============================================================================
*
* This program is free software; you ... | [
"dcx2gecko@gmail.com"
] | dcx2gecko@gmail.com |
22277d5fa3e2cb2d2b38d11aa72261441e4bd3bc | a9faa8b67818ec8dbb2a38b5041f4bc9ddaba430 | /ExRoadDesigner/Histogram.h | f8b3cb055c51bc1862ec2310d5b72009e09dbd88 | [] | no_license | QLwin/ExRoadDesigner | a219b33ff2da9dae13e739f99b758fb4e2445ad8 | cfabb8f3175babb1006f4ac9a5f26e96dac930aa | refs/heads/master | 2021-12-05T10:48:18.295989 | 2015-06-12T15:17:28 | 2015-06-12T15:17:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | h | #pragma once
#include <QMap>
#include <vector>
class Histogram {
public:
int start;
int end;
int step;
std::vector<int> bins;
public:
Histogram(int start, int end, int step);
~Histogram() {}
void clear();
void add(int value);
int size();
};
| [
"gnishida@purdue.edu"
] | gnishida@purdue.edu |
e3ac4c1ffc412457652351509d61952a1098271f | 65fc30f0eecea65bed6a640ade8fe751f26f9326 | /Lunaway_Code/Runaway/BoardManager.cpp | 7475cee7d38e5693f94df9d0d36475de4eaaea73 | [] | no_license | kmk013/Project_OpenGL_Lunaway | cf143e6063e0be9670c1cda4dba874ae2cb44e63 | a56189080c871d0dfbc5ddd696ccfd9c982d8d39 | refs/heads/master | 2020-04-07T13:48:24.536126 | 2018-11-20T16:50:56 | 2018-11-20T16:50:56 | 158,422,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,095 | cpp | #include "stdafx.h"
#include "BoardManager.h"
BoardManager::BoardManager() : phase(1)
{
currentLine = 0;
}
BoardManager::~BoardManager()
{
}
void BoardManager::Update()
{
if ((int)p->pos.z > (int)(pos.z + 16.0f)) {
pos.z += 16.0f;
for (int i = 0; i < 6; i++) {
if(!boards[i][currentLine]->useModel)
boar... | [
"kmk013@naver.com"
] | kmk013@naver.com |
2ad6a255d1846c8e4d839f3ab0676d69fbb189f2 | 936ff533e5a4a130f629fe596a377ab1122121f3 | /3RDPARTY/OpenTissue/OpenTissue/utility/gl/gl_draw_bone.h | 7d541b9aa1b833f94469425936a3f47bcff4d559 | [
"MIT"
] | permissive | misztal/GRIT | e9eb7671b215c3995a765581655d6a7c3096471f | 6850fec967c9de7c6c501f5067d021ef5288b88e | refs/heads/master | 2021-10-08T11:43:53.580211 | 2018-12-11T21:46:13 | 2018-12-11T21:46:13 | 105,385,278 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,682 | h | #ifndef OPENTISSUE_UTILITY_GL_GL_DRAW_BONE_H
#define OPENTISSUE_UTILITY_GL_GL_DRAW_BONE_H
//
// OpenTissue Template Library
// - A generic toolbox for physics-based modeling and simulation.
// Copyright (C) 2008 Department of Computer Science, University of Copenhagen.
//
// OTTL is licensed under zlib: http://opensour... | [
"marek.misztal@gmail.com"
] | marek.misztal@gmail.com |
74487c8a95b958e87573b7ba5d97881a09d4813f | b3a693cb2c15f95133876f74a640ec585b7a0f62 | /Hackerrank/ArushiUppal.cpp | a1006146c409369a63d102195d6bd5dcf7e98b1c | [] | no_license | singhsanket143/CppCompetitiveRepository | 1a7651553ef69fa407d85d789c7c342f9a4bd8e9 | 6e69599ff57e3c9dce4c4d35e60c744f8837c516 | refs/heads/master | 2022-06-23T01:42:38.811581 | 2022-06-16T13:17:15 | 2022-06-16T13:17:15 | 138,698,312 | 349 | 148 | null | 2021-03-06T18:46:58 | 2018-06-26T07:06:16 | C++ | UTF-8 | C++ | false | false | 1,277 | cpp | #include <bits/stdc++.h>
using namespace std;
int solution(int *arr, int n) {
int result = 0;
for(int j=0;j<n;j++) {
int jump = 0;
int min[10005] = {0};
int max[10005] = {0};
for(int i=0;i<n-1;i++) {
int max_el = INT_MAX;
int max_el_idx = i;
for(int j=i+1;j<n;j++) {
if(arr[j]>arr[i] and arr[i]<I... | [
"singhsanket143@gmail.com"
] | singhsanket143@gmail.com |
a977991d8705ceeedcb376529313734e42e9ecaa | 6aab4199ab2cab0b15d9af390a251f37802366ab | /modules/desktop_capture/mouse_cursor_monitor_win.cc | bf0d8534e31137cfc14ccab2ac28fa5eecbc4bcf | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-google-patent-license-webm"
] | permissive | adwpc/webrtc | f288a600332e5883b2ca44492e02bea81e45b4fa | a30eb44013b8472ea6a042d7ed2909eb7346f9a8 | refs/heads/master | 2021-05-24T13:18:44.227242 | 2021-02-01T14:54:12 | 2021-02-01T14:54:12 | 174,692,051 | 0 | 0 | MIT | 2019-03-09T12:32:13 | 2019-03-09T12:32:13 | null | UTF-8 | C++ | false | false | 7,006 | cc | /*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"adwpc@hotmail.com"
] | adwpc@hotmail.com |
2ab0a63edd4cbf682ad57e8c18ad396bb585e3c4 | 559207eb5beae4ba9fd638d19bd3009cbe3a6d11 | /src/net/instaweb/util/public/md5_hasher.h | efdb0212071e40238bd0c353c2f827293556971e | [
"Apache-2.0"
] | permissive | voku/mod-spdy | 2a8989668fe0c0f0de48c0b7ecd85b5b5b554ed1 | bcfb388cbc5415ee660c2b5dbcf61f6f43c2a5ca | refs/heads/master | 2023-04-05T09:50:46.847114 | 2015-03-19T17:58:09 | 2015-03-19T17:58:09 | 32,537,692 | 0 | 0 | NOASSERTION | 2023-04-04T01:40:41 | 2015-03-19T17:56:26 | C++ | UTF-8 | C++ | false | false | 1,451 | h | // Copyright 2010 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"ptrck@blck.io"
] | ptrck@blck.io |
39ee0eae9935106eaad933ef607a313627378803 | 70e98218d0c491bcb4e483eaad3d2ccc98882990 | /Tyle/FieldIterator.cpp | 3c02bb6102613881ae3371ff1f362d8b7fabaefe | [] | no_license | drachluch/karcassonne-z | 3aed973ba344202f07f32b5203a6c1ac5a5eee5b | db70c1b338185c543e2d938a241c3529e9c2d7ea | refs/heads/master | 2020-03-28T07:55:05.926096 | 2019-12-11T09:09:14 | 2019-12-11T09:09:14 | 147,933,159 | 0 | 0 | null | 2018-09-08T13:28:47 | 2018-09-08T12:53:56 | C++ | UTF-8 | C++ | false | false | 26 | cpp | #include "FieldIterator.h" | [
"simon.moulard@laposte.net"
] | simon.moulard@laposte.net |
020f0dd501a89b0023ef96c05e216cdb041f9a07 | dd2ad17eacd1e72fd9a351de6b4c95391aca8044 | /deps/openvdb-6.2.0/openvdb/points/AttributeGroup.cc | 68d2858c08bc51d044304a402ba6cf2e91edb160 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"MPL-1.0",
"MPL-2.0"
] | permissive | drakh/LuxCore | 88aea14db0560ba4744ee6bf6e448f6d18c7582e | 54c26383b93e18506c71fca85f08f8ee8ea11d3c | refs/heads/master | 2021-04-01T22:52:18.732333 | 2020-04-09T12:50:05 | 2020-04-09T12:50:05 | 248,220,647 | 0 | 0 | Apache-2.0 | 2020-03-18T12:05:29 | 2020-03-18T12:05:28 | null | UTF-8 | C++ | false | false | 4,698 | cc | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2012-2017 DreamWorks Animation LLC
//
// All rights reserved. This software is distributed under the
// Mozilla Public License 2.0 ( http://www.mozilla.org/MPL/2.0/ )
//
// Redistributions of source code must retain the abov... | [
"neo2068@web.de"
] | neo2068@web.de |
cc9d363f797238aacf1ba3865e826af1b6324055 | fc30e5491e74cd090f860c0f461fb4079f6d1544 | /src/refractive_test.cpp | bbe423eaf4e36fdd64dd292e697454ec56db7a08 | [
"Unlicense"
] | permissive | PeterZhizhin/RayTracerCpp | f257adf3f3608d555accc036a59450be2be4865c | e3fcd9c19c84e51a7b16aec46406656e7c3878c7 | refs/heads/master | 2022-12-04T02:23:48.097754 | 2020-08-14T15:40:51 | 2020-08-14T15:40:51 | 274,872,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,955 | cpp | #define CATCH_CONFIG_MAIN // This tells the catch header to generate a main
#include <catch2/catch.hpp>
#include <cmath>
#include "hittable.h"
#include "random.h"
#include "ray.h"
#include "refractive.h"
#include "vec3.h"
using ray_tracer::geometry::Hittable;
using ray_tracer::material::RefractiveMaterial;
using ray_... | [
"piter.zh@gmail.com"
] | piter.zh@gmail.com |
4ba28716314541e468e9eed22cde6396dc4390ae | f5fb39010aec616f37ac24427f6af61dcdfd3756 | /Pokemon_Mystery_Dungeon/Team.h | 8d023af6487d61f4b808cc2ce313bb82e31d6734 | [] | no_license | JinKyong/Pokemon_Dungeon | 08df9ce02362a239525730aaa06aaa46c4bfbc0e | c595cdcb92f822b54e99e1a366f797712ad69475 | refs/heads/main | 2023-07-31T05:01:27.372424 | 2021-10-03T13:00:52 | 2021-10-03T13:00:52 | 384,614,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148 | h | #pragma once
#include "Player.h"
class Team : public Player
{
public:
virtual HRESULT init(int pokemonNum, int level);
virtual int input();
};
| [
"sjk900700@gmail.com"
] | sjk900700@gmail.com |
7f63c1db518ea138a5d4afd4bc662f60f8f28806 | b3a86f9abffb5a6d581af1b40e08695c105e0681 | /src/fslview/src/fslview/vtkpropertydialog.h | 0f5bc299fa0a5b09f4dfcc80f7f567122124781d | [] | no_license | fithisux/FSL | 60e3e0f90430db343b3170f25a6e8b77811e6bdf | 7aa2932949129f5c61af912ea677d4dbda843895 | refs/heads/fsl-5.0.9 | 2020-12-30T16:16:32.812486 | 2016-01-29T18:52:06 | 2016-01-29T18:52:06 | 90,979,243 | 9 | 1 | null | 2017-05-11T12:56:41 | 2017-05-11T12:56:41 | null | UTF-8 | C++ | false | false | 778 | h | /* FSLView - 2D/3D Interactive Image Viewer
Authors: Rama Aravind Vorray
James Saunders
David Flitney
Mark Jenkinson
Stephen Smith
FMRIB Image Analysis Group
Copyright (C) 2002-2003 University of Oxford */
/* CCOPYRIGHT */
#if !defined(VTKPROPERTYDIALOG_H)
#define VTKPROPERTYDIALOG_H
#i... | [
"methodscorehelp@umich.edu"
] | methodscorehelp@umich.edu |
847cbeee04d421f289eb6fa7ac14eb3932aae25e | aa3d6a8a6e8e75d968786ed1900564baaad1bb62 | /AOJ/V1/117.cpp | b30cd6e55a64df793549a52d4af54dc5702ff6ae | [] | no_license | Halksel/Competition | 418b18981d4eb30572e6f24401f53968c5e9c354 | ce9ea74410a63ad2c4de23dee33698d23afb01b1 | refs/heads/master | 2021-01-23T21:46:52.925976 | 2019-08-25T13:07:44 | 2019-08-25T13:07:44 | 59,487,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,362 | cpp | #include <bits/stdc++.h>
using namespace std ;
#define pb(n) push_back(n)
#define fi first
#define se second
#define all(r) (r).begin(),(r).end()
#define gsort(st,en) sort((st),(en),greater<int>())
#define vmax(ary) *max_element(all(ary))
#define vmin(ary) *min_element(all(ary))
#define debug(x) cout<<#x<<": "<<x<<end... | [
"whentheycry0708@gmail.com"
] | whentheycry0708@gmail.com |
c60c86cb6833616c58c773ede89f7c325f46d330 | 450f07ade94e73cee336bc05de7b6446b95f4e1e | /hsr_grab_operation/include/hsr_grab_operation.h | 5986edaff1f4f75e3f116676082a42e767b56d8d | [] | no_license | shencanjun/hirop_pickandplace | bf0eb6e0aca3da247ccf2bf9a3513f43ecf4684f | 97741d079c8cc175e6b9e5ff41a195d456e80b3a | refs/heads/master | 2020-06-04T12:53:19.345839 | 2019-06-15T07:06:31 | 2019-06-15T07:06:31 | 183,205,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,720 | h | #include "igrab_operation.h"
#include <ros/ros.h>
#include <serial/serial.h>
#include "hsr_gripper_driver/serial_open_srv.h"
#include "hsr_gripper_driver/close_srv.h"
#include "hsr_gripper_driver/open_srv.h"
#include "hsr_gripper_driver/stop_srv.h"
#include "hsr_gripper_driver/open_size_srv.h"
#include "hsr_gripper_dr... | [
"1252773119@qq.com"
] | 1252773119@qq.com |
870fe70cb366434e9934fd2fc7fa2bf23a980203 | d827fb10cdea587dcaf4e8d7d4034324c6aaf96e | /DiscreteRemeshing/Examples/AnisotropicRemeshingQ.cxx | b018fa3b8fc4cbe7149444e2067638b4a1f6d36a | [
"LicenseRef-scancode-cecill-b-en",
"BSD-3-Clause",
"CECILL-B"
] | permissive | kayarre/ACVD | cf94635a94538dced381f83ddd59269375bbee8f | 83f7c05a7b3ccf0445708cea918b4b11325fb229 | refs/heads/master | 2022-01-01T06:20:50.424338 | 2021-11-12T12:54:26 | 2021-11-12T12:54:26 | 144,194,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,877 | cxx | /*=========================================================================
Program: Aproximated Centroidal Voronoi Diagrams
Module: ACVD.cxx
Language: C++
Date: 2003/11
Auteur: Sebastien Valette,
=========================================================================*/
// .NAME AnisotropicRemeshingQ
... | [
"sebastien.valette@creatis.insa-lyon.fr"
] | sebastien.valette@creatis.insa-lyon.fr |
90ae7c7f11c921beacc57401ec204a25fd29d815 | 1c7cb3154854a0d5f628c4285aa209affd8d2fc9 | /chaos-ns-3/ns-3.27/src/wifi/model/wifi-mac-trailer.h | 2f5dd8eb4fcc95117216416963054291a1591ada | [
"GPL-2.0-only",
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | ErikNatanael/royal-chaos | fac8e5891044490cd2e61b7367f284d99951d0d1 | a8e763d3720cc3e158e98143cabce8106d8de2aa | refs/heads/master | 2022-07-16T12:21:31.494237 | 2020-05-12T12:50:08 | 2020-05-12T12:50:08 | 263,333,134 | 0 | 0 | MIT | 2020-05-12T12:42:08 | 2020-05-12T12:42:08 | null | UTF-8 | C++ | false | false | 1,579 | h | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2006 INRIA
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed... | [
"zhanglong3030@qq.com"
] | zhanglong3030@qq.com |
0026da428a0b4eb7d2d66f9dd100cf646a8bcc99 | c3d5d7433ab1391cac0c2e24ff55f852198eca34 | /Starter/test/LinkedList_test.h | 33ec5e975364fdbc6811a7316b46c87742f041c2 | [
"Apache-2.0"
] | permissive | masterpiece2014/Starter | 6b65125c29fc3da0a00671b40ec2dedde4799b82 | 2f2ac47636b961b797df0101e3307c95c3b1bb5e | refs/heads/master | 2021-01-14T12:31:33.533204 | 2014-04-25T16:43:40 | 2014-04-25T16:43:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,846 | h | ///////////////////////////////////////////////////////////////////////////////
//// Copyright 2012 2013 CaiBowen
//// All rights reserved.
////
//// Author: Cai Bowen
//// contact/bug report/get new version
//// at
//// feedback2bowen@outlook.com
////
////
//// Licensed... | [
"xcommando@outlook.com"
] | xcommando@outlook.com |
9ee72a3e56b3001c3a123396077db6a389f7ebfa | 304ef9ff301d97451d01ed44e145a974ecf8ff87 | /leetcode/203-remove-linked-list-elements.cpp | 4193b8451a777025416304f692e501dbb3d392a0 | [] | no_license | hartaacme/competitive-programming | eafb8d6ca09b000d2a6207e8e7f915742b440b79 | 0f77cb0c2240e687ce7813b4f5bf79a4d9828715 | refs/heads/master | 2021-01-17T15:55:03.735973 | 2016-07-12T06:52:47 | 2016-07-12T06:52:47 | 57,095,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode* removeElements(ListNode* head, int val) {
while (head && head->val == val) {
head = head->next;
}
if (head ==... | [
"wijayaha@garena.com"
] | wijayaha@garena.com |
da6902797bb2471933ab2e7e15d0676f1d4d20a9 | 7dc042a3f9068bc911c16f9173393660df704dab | /VC2008Samples/MFC/general/Scribble/stdafx.cpp | f0d958b1471f8d16fd62898be2bbfae4b061fa5d | [
"MIT"
] | permissive | pluciro/VCSamples | 5639f953bfbe0ef598af601cc78d5a18012e1792 | 8453972390580ef1bbc8c09ec7a14d3c9111518e | refs/heads/master | 2022-05-10T04:45:11.889276 | 2022-05-06T15:11:50 | 2022-05-06T15:11:50 | 280,199,366 | 0 | 0 | NOASSERTION | 2020-07-16T16:10:32 | 2020-07-16T16:10:32 | null | UTF-8 | C++ | false | false | 605 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Scribble.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This... | [
"ericmitt@corp.microsoft.com"
] | ericmitt@corp.microsoft.com |
5fcf9116d279416f6d883b71766db5291cde4d95 | 3edc478db837a27dbf8df7eded45df909dfe3cf9 | /URI online/1245.cpp | fdf48db2524ceb6a12dcf911f09e8a3ada69a0f1 | [] | no_license | ronistone/Maratonas | b60ebeb9e7e9298399652df88faa83389bd94542 | 8bd0bedd476645081a09b19152a007ca1497fe20 | refs/heads/master | 2021-01-12T10:06:04.016208 | 2018-10-19T02:40:54 | 2018-10-19T02:40:54 | 76,360,276 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | cpp | #include <bits/stdc++.h>
using namespace std;
main(){
int n,i,j,aux;
while(cin >> n){
std::vector<int> v;
char pe[n];
int count =0;
for(i=0;i<n;i++){
cin >> aux >> pe[i];
v.push_back(aux);
}
for(i=0;i<n;i++){
for(j=0;j<n;j++){
if(j!=i && v[i]==v[j] && v[i]!=0 && v[j]!=0 && ((pe[i]=='D' && ... | [
"ronistonejunior@gmail.com"
] | ronistonejunior@gmail.com |
a9d556b8626fec512b1b6430a443627b64af71b9 | 46bf6fc69231692b467f50eba2299db7f1784ace | /Proj/facade/hfbutton_facade.h | 0a23956117c0a795552e3286adfeed7f0c460d65 | [] | no_license | RabbitChenc/crasherror | 5080c6629659a04721e27a04a5100d982c264ff6 | 2b3c589f00e60fc32b0715d795d6ac5070126113 | refs/heads/master | 2022-09-17T13:19:21.198554 | 2020-06-03T09:03:28 | 2020-06-03T09:03:28 | 269,039,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 979 | h |
/*
*
*brief:使用qpainter 画家类 自定义一个按钮控件
* 按钮继承了Qwidget 重写绘图事件 和鼠标相关的事件
*
*author: Chenjm
*
*/
#ifndef HFBUTTONFACADE_H
#define HFBUTTONFACADE_H
#include "../hfview_facade.h"
#include <QWidget>
#include <QColor>
class HFButtonFacade : public HFViewFacade
{
Q_OBJECT
public:
explicit HFButtonFacade(QWidget*pa... | [
"357778342@qq.com"
] | 357778342@qq.com |
e8ff4ec859a9827f95d2ec728e9bdf4389f00882 | 36579e820f5c07cd1fe796abc777f23f32efeb10 | /src/chrome/browser/prerender/prerender_link_manager.cc | b0b2bc6496b8ef837beef4932b00a47c03cafadf | [
"BSD-3-Clause"
] | permissive | sokolovp/BraveMining | 089ea9940ee6e6cb8108b106198e66c62049d27b | 7040cdee80f6f7176bea0e92f8f3435abce3e0ae | refs/heads/master | 2020-03-20T00:52:22.001918 | 2018-06-12T11:33:31 | 2018-06-12T11:33:31 | 137,058,944 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 18,746 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/prerender/prerender_link_manager.h"
#include <functional>
#include <limits>
#include <memory>
#include <set>
#include <strin... | [
"sokolov.p@gmail.com"
] | sokolov.p@gmail.com |
165da4abd4f993eb027567a3e8f025fc364ba656 | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /chrome/browser/extensions/api/management/chrome_management_api_delegate.h | 4140ee93e1e8266f3dcad4ddf9efc5b0703442ab | [
"BSD-3-Clause"
] | permissive | bino7/chromium | 8d26f84a1b6e38a73d1b97fea6057c634eff68cb | 4666a6bb6fdcb1114afecf77bdaa239d9787b752 | refs/heads/master | 2022-12-22T14:31:53.913081 | 2016-09-06T10:05:11 | 2016-09-06T10:05:11 | 67,410,510 | 1 | 3 | BSD-3-Clause | 2022-12-17T03:08:52 | 2016-09-05T10:11:59 | null | UTF-8 | C++ | false | false | 3,729 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_CHROME_MANAGEMENT_API_DELEGATE_H_
#define CHROME_BROWSER_EXTENSIONS_API_MANAGEMENT_CHROME_MANAGEMENT_API_... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
9542088c3d3fe5f00bff4b9ac46c660ee6e907dc | e1bafb9c94db3a6cfd86ce4b3a641e79583220b3 | /leetcode-clion/leetcode-problems/cpp/805.split-array-with-same-average.cpp | ede57023a8b404c948a30239146226dc7b2caabc | [] | no_license | lightjameslyy/lt-cpp | 055b0245ba9cc4608db6a0d08dc081d1c2766ba2 | 525c3f0fbeb4b112361a6650bf3ef445fdb61e2c | refs/heads/master | 2021-07-09T08:32:24.405308 | 2020-06-08T08:45:10 | 2020-06-08T08:45:10 | 128,907,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | cpp | /*
* @lc app=leetcode id=805 lang=cpp
*
* [805] Split Array With Same Average
*
* https://leetcode.com/problems/split-array-with-same-average/description/
*
* algorithms
* Hard (25.21%)
* Total Accepted: 11.4K
* Total Submissions: 45.2K
* Testcase Example: '[1,2,3,4,5,6,7,8]'
*
* In a given integer arr... | [
"lightjameslyy@gmail.com"
] | lightjameslyy@gmail.com |
ed7c679d7382443a228fce5f7f34b9dd1950409e | 077810b41a92310c6325300a7442e3cef28d1c55 | /lib/xtl/test/test_xfunctional.cpp | db4c8ae3dff6efac3794a36943e530ba444d9023 | [
"MIT",
"BSD-3-Clause"
] | permissive | mjgalindo/VoxSurf | eab0412dd24b2695420911becb5851456c689382 | 6218a73da4acbf0db0895b9204846a19c23ba1c0 | refs/heads/master | 2022-09-06T05:17:47.734479 | 2020-06-01T18:54:08 | 2020-06-01T18:54:08 | 261,152,584 | 1 | 4 | MIT | 2020-05-04T11:13:41 | 2020-05-04T11:13:40 | null | UTF-8 | C++ | false | false | 863 | cpp | /***************************************************************************
* Copyright (c) Johan Mabille, Sylvain Corlay and Wolf Vollprecht *
* Copyright (c) QuantStack *
* *
* Distribute... | [
"38547166+toomb-raider@users.noreply.github.com"
] | 38547166+toomb-raider@users.noreply.github.com |
25fee3b5917604de4088248873dec5c74e1ab913 | 5c77807c8a39658e995c00adecb5f9e3bde0884d | /DataStructures/Vector/main.cpp | 849141fdf730dd9922f5e3d6837abd844f6426e3 | [] | no_license | starlitnext/practice | 6a39b116213caaf014875b32d048ff5f2d6ca190 | 3d1be394c7c7cc444a10cfd878caacb2f592b653 | refs/heads/master | 2021-01-18T21:33:09.692397 | 2018-01-24T15:23:25 | 2018-01-24T15:23:25 | 40,886,119 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 473 | cpp | #include <iostream>
#include "Vector.h"
using namespace std;
int main() {
Vector<double> v1(10, 0);
cout << v1.size() << endl;
cout << v1.capacity() << endl;
for (int i = 0; i < 10; i++)
v1.push_back(i);
cout << v1.size() << endl;
cout << v1.capacity() << endl;
v1.resize(20);
cout << v1.size() << endl;
cou... | [
"vipxxq@foxmail.com"
] | vipxxq@foxmail.com |
9c795ee75d773fecc1d57b6db89fe80ed6b40504 | 41bf5ab42b2e29c20dda2eef9d073cbc6eb4ea5e | /md3dframework/InputListener.h | 1e93a7c6ae6c6eaad7ee3f3ab546a18ab2dd7f25 | [] | no_license | mvdgaag/D3D | 954078a7e0dbd7c647a4d111304157863e37ec90 | 26275e0b032ff585ac4beb75caff8a2f6e567aca | refs/heads/master | 2020-04-06T07:04:03.835089 | 2017-07-15T19:55:31 | 2017-07-15T19:55:31 | 43,242,562 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 743 | h | #pragma once
#include "GaagCommon.h"
#include "Input.h"
REGISTERCLASS(InputListener);
class InputListener
{
public:
explicit InputListener() { theInput.RegisterListener(this); }
virtual ~InputListener() { theInput.UnRegisterListener(this); }
virtual void OnKeyDown(unsigned int inKey) { UNREFERENCED_PARAME... | [
"maarten.van.der.gaag@gmail.com"
] | maarten.van.der.gaag@gmail.com |
00b64af96e6f79abe8dd36186141c0fb2b3ea788 | 237acec099992ddb5fc8d55f59d7a89b25724350 | /src/AEntities/GraphicEntityManager.cpp | f935c003e910eaf708a3e42845ac55e6e8558051 | [] | no_license | polyeezy/mouillette_indie | dbefe96b6ebf96143e152c95dced7093e75f5d42 | 268084ec43a6f1006399915c3141a6193ba96359 | refs/heads/master | 2021-01-11T06:09:28.384481 | 2016-06-06T21:32:20 | 2016-06-06T21:32:20 | 57,026,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,735 | cpp | //
// GraphicEntityManager.cpp for in /home/polyeezy/rendu/CPP/mouillette_indie/src/AEntities
//
// Made by Valérian Polizzi
// Login <polizz_v@epitech.net>
//
// Started on Mon May 30 05:58:38 2016 Valérian Polizzi
// Last update Mon Jun 6 11:30:54 2016 Valérian Polizzi
//
#include <GraphicEntityManager.hh>
G... | [
"valerian.polizzi@epitech.eu"
] | valerian.polizzi@epitech.eu |
7071db0db32dea4f337dafad1a521ffb7272c0d1 | 2c347933a7c0baf41689167a82922f457e809bcb | /sphlib/system/common/CellIndices.h | aff24c3309b83d42143bc157e17c15b5e7a8fcbc | [] | no_license | shibing/fluid | 4173380401ddce6a94bba5857a02bf180131b15a | 23c19927f393234139e9243b56cb2ad995a2f2d8 | refs/heads/master | 2020-04-17T08:29:22.797889 | 2014-11-23T13:09:07 | 2014-11-23T13:09:07 | 25,852,296 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | h |
#ifndef RTPS_CELLINDICES_H_INCLUDED
#define RTPS_CELLINDICES_H_INCLUDED
#include <RTPS.h>
#include <Buffer.h>
namespace rtps
{
class CellIndices
{
public:
CellIndices() { cli = NULL; }
CellIndices(const std::string& path, CL* cli);
int execute(int num,
... | [
"shibing.sw@gmail.com"
] | shibing.sw@gmail.com |
096b1959569e2c90b388d1a41d90494f4e33c0e2 | 1f0bb9cef7f824805599c40236a1d68965bf682f | /app/src/main/cpp/Transform.cpp | 43f0fda29e8b1aafa975e3e15a78b163588db8e8 | [
"Apache-2.0"
] | permissive | Da-minHan/android-gles3jni-texturecube | 7282f9b9d1231c40892d7331bd4be594c7c68508 | 4d8c84b9f88ab5949b01fcfe82fbaec84b695089 | refs/heads/master | 2023-03-03T18:53:26.643074 | 2021-02-17T15:43:23 | 2021-02-17T15:43:23 | 338,627,011 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,318 | cpp | // The MIT License (MIT)
//
// Copyright (c) 2013 Dan Ginsburg, Budirijanto Purnomo
//
// 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... | [
"handa7289@gmail.com"
] | handa7289@gmail.com |
0a2144a4b5185fc74282c45fdd3654346b991844 | 99e44f844d78de330391f2b17bbf2e293bf24b1b | /pytorch/caffe2/operators/dataset_ops.cc | 78fe0032da04247742ec26870cb0728f480375a9 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | raghavnauhria/whatmt | be10d57bcd6134dd5714d0c4058abd56a1b35a13 | c20483a437c82936cb0fb8080925e37b9c4bba87 | refs/heads/master | 2022-12-04T05:39:24.601698 | 2019-07-22T09:43:30 | 2019-07-22T09:43:30 | 193,026,689 | 0 | 1 | MIT | 2022-11-28T17:50:19 | 2019-06-21T03:48:20 | C++ | UTF-8 | C++ | false | false | 50,195 | cc | #include "caffe2/operators/dataset_ops.h"
#include <memory>
#include <mutex>
#include <string>
#include <vector>
#include "caffe2/core/blob_serialization.h"
#include "caffe2/core/operator.h"
#include "caffe2/core/tensor.h"
#include "caffe2/utils/string_utils.h"
namespace caffe2 {
CAFFE_KNOWN_TYPE(std::unique_ptr<dat... | [
"rnauhria@gmail.com"
] | rnauhria@gmail.com |
4534841781d88142aa184985c163cc2c6e41779d | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /cdwch/src/v20200915/model/DestroyInstanceResponse.cpp | 30694b76df35e21c4f2917a8ee1a1947248c6676 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 5,584 | 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
8fc7f5129112f70d52809d71eb3909299a6cc45f | 6be30dd43e374450d7abacbdca638aacb8eb4c97 | /Src/HMCAD/dxflib/dl_writer.h | ba7718271714d73dcb797c202b35c4baeb986e3c | [] | no_license | 15831944/Main | 471bc3e91a22ccd888ca1351e23bf6982a26d4d6 | 971ba925c261a27ea62f4b6708c7b8ac22298195 | refs/heads/master | 2021-10-26T22:32:09.617567 | 2019-04-14T12:21:29 | 2019-04-14T12:21:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,998 | h | /****************************************************************************
** Copyright (C) 2001-2013 RibbonSoft, GmbH. All rights reserved.
** Copyright (C) 2001 Robert J. Campbell Jr.
**
** This file is part of the dxflib project.
**
** This file is free software; you can redistribute it and/or modify
** it under ... | [
"960902471@qq.com"
] | 960902471@qq.com |
8ba186ab00dc67517b1f6dcadf0b4b286f5588ce | 07368f604a72c97faf863529dfef690ff21d8675 | /tensorflow/compiler/jit/xla_device_context.cc | ff30b62bad782f281bcd25275521ed8b0c4c0bfd | [
"Apache-2.0"
] | permissive | Amywanwan/tensorflow | 8f847abe28815977fb1f9edbcc10c9d5ec0d4214 | 4b010b31890369d3236887f29633910af04d1410 | refs/heads/master | 2022-10-26T19:18:29.518549 | 2022-10-17T13:26:51 | 2022-10-17T13:26:51 | 134,808,604 | 0 | 0 | Apache-2.0 | 2018-05-25T05:42:23 | 2018-05-25T05:42:23 | null | UTF-8 | C++ | false | false | 8,736 | cc | /* Copyright 2017 The TensorFlow Authors. 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 by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
95bae46918c21c1cf52babb05a818050eee19f09 | c676bcf38a8e3833699752cf03f361b74fcc3e20 | /src/canvascv/widgets/hframe.cpp | 4130562d7f6f28916fa81282ca68d71e7665fbe6 | [
"BSD-3-Clause"
] | permissive | rocee/CanvasCV | 9fa619e9a5f6398f28cad76682f8c9364ac33e15 | 85235e5c6270df0feb6f960254b67a04653f1221 | refs/heads/master | 2021-04-15T10:31:51.462153 | 2017-07-26T11:41:40 | 2017-07-26T11:41:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | cpp | #include "hframe.h"
#include "widgetfactory.h"
using namespace cv;
using namespace std;
namespace canvascv
{
const char * HFrame::type = "HFrame";
HFrame::HFrame(const Point &pos)
: HorizontalLayout(pos)
{
fillBG = true;
}
shared_ptr<HFrame> HFrame::create(Layout &layout, const Point &pos)
{
shared_ptr... | [
"sagi.zeevi@gmail.com"
] | sagi.zeevi@gmail.com |
43b2255f5fb45d06c9a5e2a83077149df7df4e9c | 26968d29aefc53d207ab2559084fd8b6943da85b | /SourceFiles/httpThread_y.cpp | 83b728b0212680df85c423a8d0c27e56014d5071 | [] | no_license | dzfowen/Visual-Telemedicine-Aided-Diagnosis-Platform | 53d8809af5cecf4e9c7094ea45e6318436d984fe | efe25002e6d62827f3327281ac505480d5bfd3df | refs/heads/master | 2020-06-01T22:56:44.656482 | 2019-06-09T02:59:18 | 2019-06-09T02:59:18 | 190,713,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,380 | cpp | #include "httpThread_y.h"
extern Service* service2;
void httpThread_y::on_get(lacewing::webserver webserver, lacewing::webserver_request request)
{
std::string str;
str = request->GET("Command");
qDebug() << "http thread_y " << str.c_str() << endl;
if (strcmp(str.c_str(), "getcurrentuser") == 0)
{
request->wr... | [
"575900931@qq.com"
] | 575900931@qq.com |
640ef8237b51d26f621b5a0cc0b79fc5f943a67f | d96333ca6eb18677c2579c1114fb047cc799bf13 | /aoj0232.cpp | c9e6b147c3cbea116a8616994710cc08ec2fef62 | [] | no_license | zaburo-ch/icpc_practice | e8fe735857689f685ea86435346963731f5dcd18 | fc275c0d0a0b8feba786059fa1f571563d8e432e | refs/heads/master | 2021-01-19T05:03:31.891988 | 2015-06-28T17:39:00 | 2015-06-28T17:39:00 | 21,899,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,717 | cpp | #include <iostream>
#include <stdio.h>
#include <sstream>
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <algorithm>
#include <set>
#include <math.h>
#include <utility>
#include <stack>
#include <string.h>
#include <complex>
using namespace std;
const int INF = 1<<29;
const double EPS = 1... | [
"musharna000@gmail.com"
] | musharna000@gmail.com |
912207ae47a0d6f3381398216d9a415ad8b1e119 | 370aa8b7d58d20bf02dbc7c32510b87bee872759 | /testsrc/configtest.cc | be3a8a46f5101f0a888a300ded6166f452c8dec1 | [] | no_license | tlvb/dmx512usb_software | f61d9fbfa403ba71f88ecf1d06db9eb83570ca3f | 5eabf8d6fc8a602c0ed116feec195749d509624b | refs/heads/master | 2020-05-27T19:38:43.656248 | 2012-08-20T20:47:00 | 2012-08-20T20:47:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 431 | cc | #include "config.hh"
#include <iostream>
using namespace std;
using namespace dmx512usb_software;
int main(void) {
Config c;
if (c.get_device().compare("/dev/ttyUSB0") != 0) {
cout << "c.get_device() does does not equal expected value" << endl;
cout << "expected: \"/dev/ttyUSB0\"" << endl;
cout << "actual: ... | [
"leo.barring@gmail.com"
] | leo.barring@gmail.com |
ce9bb75c4341bba37f5a64401968ce184f08b755 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /contest/1542580447.cpp | f941677b85b2f0c7d50bbecdcc0738400d203115 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,465 | cpp | #include<bits/stdc++.h>
#define ll long long int
#define ull unsigned long long int
#define I(a) scanf("%d",&a)
#define I2(a,b) scanf("%d%d",&a,&b)
#define I3(a,b,c) scanf("%d%d%d",&a,&b,&c)
#define L(a) scanf("%lld",&a)
#define L2(a,b) scanf("%lld%lld",&a,&b)
#define L3(a,b,c) scanf("%lld%lld%lld",&a,&... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
43bb556f65c566e003c75690398531f764bbe28b | f6761bd4b74ed9c3bc0e8f62e5a1db70c03096f0 | /aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp | 248392ec0aa5e67c9c76138a6e49deb464184f43 | [
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | MarisaKirisame/pytorch | b638790a0997d776ad4c5e4c77badc77e5dc94f9 | 59c5de4d0eda8d4f5494602034093933600d0a3d | refs/heads/master | 2021-06-19T10:44:33.846286 | 2019-10-31T22:56:55 | 2019-10-31T22:58:28 | 218,881,408 | 2 | 0 | NOASSERTION | 2019-11-01T00:02:51 | 2019-11-01T00:02:51 | null | UTF-8 | C++ | false | false | 3,095 | cpp | // Ternary and higher-order pointwise operations
#include <ATen/ATen.h>
#include <ATen/Dispatch.h>
#include <ATen/native/PointwiseOps.h>
#include <ATen/native/TensorIterator.h>
#include <ATen/native/cpu/Loops.h>
namespace at {
namespace native {
namespace {
static void addcmul_cpu_kernel(TensorIterator& iter, Scalar... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
8e826754a06111c93a000e9f9d627904416f3b77 | ff43563cca42c1cf2f48f3273d445cc8ed004edd | /src/game/scene/StartMenu.cc | 64f75298f17f0422219fcc0df50fe07afad4e608 | [] | no_license | MatthewSuttles/galaxy-demo-app | d800280df81f8aff7fd5aaccac161f2006fb0159 | c8aea4db4f525bc28961b6d82924ccf2eb98e72d | refs/heads/master | 2021-01-18T06:13:06.411905 | 2016-04-11T09:36:30 | 2016-04-11T09:36:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,914 | cc | #include "StartMenu.h"
#include <game/IGame.h>
#include <engine/system/Button.h>
#include <engine/core/SDLResourceManager.h>
#include <SDL_opengl.h>
using namespace gogtron;
using namespace gogtron::system;
using namespace gogtron::scene;
using namespace gogtron::networking;
StartMenu::StartMenu(const IGamePtr& _game... | [
"tjaskolski@gog.com"
] | tjaskolski@gog.com |
39fdcca7269687757c9612d145d3e719b9c4ab4d | 93183bb5313c7eb85268fdeb1ebfde02f26cca75 | /src/rpc/rawtransaction.cpp | ee1817c1dcfee361e2e20a286606a8380222c9bc | [] | no_license | puzcoin/stakework | 9e600a6ace0c8f5a22842478d657fd940564aee7 | 97725197706b86a6ae3816bc5ffbbe87a57e8d96 | refs/heads/master | 2021-01-08T23:13:21.772438 | 2020-02-21T18:20:43 | 2020-02-21T18:20:43 | 242,171,332 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,803 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <base58.h>
#include <chain.h>
#include <coins.h>
#include <consensus/validati... | [
"akuma@mud.com.cn"
] | akuma@mud.com.cn |
ca902ad76562670fa57749832583bb07539b0634 | 76b7e459b143c8481b044c60a68c768a0848b8f6 | /Codeforces/Round570/A.cpp | 7a33fbf9abb5c35ea39880db5f49f2e0e870fed0 | [] | no_license | hsnavarro/imepp | f3b195e5ed4e453eac9b73d5a77b39f44917435f | eb90580caea91b48e7d541db92531ba3fd2b82c1 | refs/heads/master | 2021-11-28T07:25:05.778476 | 2021-09-10T02:20:32 | 2021-09-10T02:20:32 | 145,646,296 | 0 | 1 | null | 2021-09-10T02:20:33 | 2018-08-22T02:40:54 | C++ | UTF-8 | C++ | false | false | 446 | cpp | #include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
#define st first
#define nd second
typedef pair<int, int> pii;
typedef long long ll;
const ll LINF = 0x3f3f3f3f3f3f3f3f;
int n;
bool check(int n){
string s = to_string(n);
int sum = 0;
for(auto x : s) sum += (x - '0');
return sum % ... | [
"ricksnavarro@gmail.com"
] | ricksnavarro@gmail.com |
2f8929eade7f9d319af392268172fdf7a02701e4 | a759c6611c855925e2a73ca437ed004d74c4c611 | /백준문제/자료구조 - Data Structures/백준 10872.cpp | 9cb3482b3f81ab14d7c1bfb5ba4554ae22d121c0 | [] | no_license | yugo9081/My-Codes | dafcfb7428256b9bad06d4221cec6e208241d151 | 84bfe92865d854f9aa6a201a2ba66dae1c2abe27 | refs/heads/master | 2023-01-20T22:50:39.828481 | 2020-11-23T09:47:05 | 2020-11-23T09:47:05 | 283,927,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | cpp | /******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
******************************************... | [
"yugo9081@colorado.edu"
] | yugo9081@colorado.edu |
e6e5a38020fa86f64eebcb18d11fe432a47a8949 | 31665642ed578801e684eb0e71526707416f6c7b | /osca/xiinux/src/web/web.hpp | 07f8b73e306027d9881615af48c387a59187c780 | [] | no_license | calint/a | 79fb449e4e9baf4b19da6b1cbf925235254ba981 | 50c8d03e0115cd52737a0f95e86b9043e731f419 | refs/heads/master | 2023-02-02T14:30:44.406050 | 2023-01-29T04:57:04 | 2023-01-29T04:57:04 | 32,960,630 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | hpp | #pragma once
//-- generated
#include"hello.hpp"
#include"typealine.hpp"
#include"counter.hpp"
#include"page.hpp"
#include"chunked.hpp"
#include"chunkedbig.hpp"
#include"chunkedbigger.hpp"
#include"notfound.hpp"
namespace xiinux{
static inline widget*widgetget(const char*qs){
if(!strcmp("hello",qs))return new web::he... | [
"calin.tenitchi@gmail.com"
] | calin.tenitchi@gmail.com |
b50f477b68a33dc4dd53b838ca071604d5d469c1 | f22bdc99b6b308ec2be3f9cb63aa117f04d82dbe | /Apps/Tracker Applications/SimpleTrackerApplication/collisionCheck.h | c50f1c0e28fec36e5ddd129986edbe1ad77e7e3b | [] | no_license | naneaa/cybermed-master | d268b7b6c573feadc7cde041bd80de4a7ccc5687 | 46fba3ea54e9c4671a521cf21624a65a50812bd0 | refs/heads/master | 2021-01-21T08:37:19.621596 | 2018-05-14T23:30:42 | 2018-05-14T23:30:42 | 91,632,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | h | class collisionCheck : public CybThread
{
private:
CybSphereTriangle *collisionObj;
CybParameters *cybCore;
int count;
public:
collisionCheck(int layerID)
{
collisionObj = new CybSphereTriangle(layerID);
count = 0;
cybCore = CybParameters::getInstance();
this->setTime(50);
}
~collisionCheck(){ d... | [
"elaineanita1@gmail.com"
] | elaineanita1@gmail.com |
b4ed4c31a7388377ba32c2c3f16b2bdffe58c7de | ea5abb606afbae6e5774072ffd9b69e6418d0389 | /source/io/fs/detail/FsCommon.h | 01ecfe4b23d8cabd1575c7618951d617b27bdfe8 | [
"MIT"
] | permissive | stormlord/tarm-io | a4487316a4034b654f89fb081e880bb4f3e4a928 | 6aebd85573f65017decf81be073c8b13ce6ac12c | refs/heads/master | 2023-07-01T11:24:38.077682 | 2021-08-08T08:02:37 | 2021-08-08T08:02:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,462 | h | /*----------------------------------------------------------------------------------------------
* Copyright (c) 2020 - present Alexander Voitenko
* Licensed under the MIT License. See License.txt in the project root for license information.
*------------------------------------------------------------------------... | [
"av@tarm.io"
] | av@tarm.io |
c774bfeab29bec9759f932410ff545fd298709eb | 46367579a54a09dd220dd9a678b1452f06897f11 | /tags/hdf5-1_4_3/c++/src/H5Library.h | f0d2e022702ec08d16b23d45501c7ef8f9f58be3 | [
"LicenseRef-scancode-llnl",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | TPLink32/hdf5 | 33ff24c9b6133f0f51cb6cc2b722fba7bb1777dd | 0d6987c15284bd9f34c7e44452a152833d42a738 | refs/heads/master | 2021-05-31T01:15:39.463663 | 2016-04-14T23:02:09 | 2016-04-14T23:02:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,220 | h | // C++ informative line for the emacs editor: -*- C++ -*-
#ifndef _H5Library_H
#define _H5Library_H
#ifndef H5_NO_NAMESPACE
namespace H5 {
#endif
#define NOTATEXIT (-10) // just in case the HDF5 library use more
// negative constants. Note: the solution used for the atexit/global
// destructors is not relia... | [
"(no author)@dab4d1a6-ed17-0410-a064-d1ae371a2980"
] | (no author)@dab4d1a6-ed17-0410-a064-d1ae371a2980 |
f7b5afa95d321aefe346b4081a73fbc3d9358b39 | d1f42089ef7f2976bcfba27253860df394fe6221 | /02/lab02/Dispencer/Dispencer.cpp | a954ddbe3cd4f4b6677d66c54df1e2f02a818eb4 | [] | no_license | petaryanakiev-py/oop-2020 | e4f756541fe6ffdcc1cea55d501f261911934d79 | ec9388d2b81325cbf43f5944eb76f7459a2c8b0a | refs/heads/master | 2022-09-10T22:18:23.191298 | 2020-06-03T14:39:26 | 2020-06-03T14:39:26 | 241,456,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | cpp | #include "Dispencer.hpp"
#include <iostream>
void Dispencer::fill(const double litres)
{
this->litres = litres;
}
void Dispencer::fillGlass(const double mililitres)
{
const double MILILITRES_IN_LITRE = 1000;
if (this->litres * MILILITRES_IN_LITRE < mililitres)
{
std::cout << "Not enough water.... | [
"petaryanakiev.py@gmail.com"
] | petaryanakiev.py@gmail.com |
7eb160471a88085df3efc9141b75dd84e9e11efa | c32ee8ade268240a8064e9b8efdbebfbaa46ddfa | /Libraries/m2sdk/ue/ai/framework/C_ObjectCreator_TPL_75E6C06E.h | ea3e3e1ffffbccda496262b1c31c13681acbdc75 | [] | no_license | hopk1nz/maf2mp | 6f65bd4f8114fdeb42f9407a4d158ad97f8d1789 | 814cab57dc713d9ff791dfb2a2abeb6af0e2f5a8 | refs/heads/master | 2021-03-12T23:56:24.336057 | 2015-08-22T13:53:10 | 2015-08-22T13:53:10 | 41,209,355 | 19 | 21 | null | 2015-08-31T05:28:13 | 2015-08-22T13:56:04 | C++ | UTF-8 | C++ | false | false | 539 | h | // auto-generated file (rttidump-exporter by h0pk1nz)
#pragma once
#include <ue/ai/framework/C_Functor_TPL_DC332828.h>
namespace ue
{
namespace ai
{
namespace framework
{
/** ue::ai::framework::C_ObjectCreator<game::ai::C_Behaviour_AvoidingCarJump> (VTable=0x01E43590) */
class C_ObjectCreator_TPL_75E6C06E : publi... | [
"hopk1nz@gmail.com"
] | hopk1nz@gmail.com |
83abd328f151249aaa1a0f7e97caf23eb3f3f08a | 1dbbd823d470a10b1e122f99edff5a5e1b94a7a8 | /dependency/Shared/LogModule.h | ebe69aaca8b00921d2516490d97cd8208a6139f0 | [] | no_license | iwifigame/zhajinhua-project | ee99b31199af45985adb409f9bca9bccbeb99c7c | 85c1398f56e16c645fad4760a5c5f9abe3495781 | refs/heads/master | 2021-01-19T13:11:14.723484 | 2013-03-22T13:42:07 | 2013-03-22T13:42:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,920 | h | /********************************************************************
Copyright (C) 2013 by Alden Pang
@date: 2012-1-20 16:03
@file: LogModule.h
@author: Alden Pang
@desc:
*********************************************************************/
#ifndef _LOGMODULE_H_
#define _LOGMODULE_H_
#inclu... | [
"pangshuo1981@gmail.com@d8f4ed1e-bbb0-a400-853e-1b27d4c80825"
] | pangshuo1981@gmail.com@d8f4ed1e-bbb0-a400-853e-1b27d4c80825 |
614a9037776bfda2a144fe0a646c5ae41b3125c8 | 4e0a2e6e8136b54995594b43b2a71d75614a52bf | /ACM-2011-practise/ZOJ/The_8th_Zhejiang_Provincial_Collegiate_Programming_Contest/ProF.cpp | 16a21efccae41a033201608a88c7694fdbab0ab8 | [] | no_license | AlbertWang0116/KrwlngsACMFile | 884c84ba0afff0727448fc5b5b27b5cb76330936 | 23f0d9f6834f2b4fb2604ecbd50d5c41dd994b8f | refs/heads/master | 2023-06-21T09:25:28.528059 | 2023-06-11T19:18:40 | 2023-06-11T19:18:40 | 2,345,592 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 666 | cpp | #include<iostream>
#include<cstdio>
#include<string>
#include<cstring>
#include<cstdlib>
#include<ctime>
#include<cmath>
#include<algorithm>
using namespace std;
#define N 110
#define M 30
char name[N][M], frt[M];
int n, idx;
void input()
{
int i;
scanf("%d", &n);
scanf("%s", frt);
for (i = 0; i < n; ++i)
{
sc... | [
"st.krwlng@gmail.com"
] | st.krwlng@gmail.com |
69d8defcea494a57668b92e7cd6af260edb33e1d | aa463fea7a890456f251d1b55242ef1782a71357 | /mytemplate.cpp | 730df5774fb20733268febad561d53c35ab830b3 | [] | no_license | tariqiitju/Contest-code | 8e18eb8996dd24a877fb9bbcb3593098b2ab91af | 651fe97a134f5c38e278a70723a6f694872d1949 | refs/heads/master | 2021-04-27T01:36:52.229896 | 2018-02-23T22:52:55 | 2018-02-23T22:52:55 | 122,678,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,179 | cpp | #include <bits/stdc++.h>
using namespace std;
#define output freopen("output.txt","w",stdout)
#define input freopen("input.txt","r",stdin)
///C IO
#define pf printf
#define sc scanf
#define pch putchar
#define ssc sscan... | [
"tarik.amtoly@gmail.com"
] | tarik.amtoly@gmail.com |
3bd6f1e890a2deeb7cfaa5c39d5f1f5e7a198a96 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chrome/browser/extensions/api/i18n/i18n_api.cc | fd5a25ff5b1975d278a15f13ee87815a3633a4c7 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 2,272 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/api/i18n/i18n_api.h"
#include <algorithm>
#include <string>
#include <vector>
#include "base/lazy_instance.h"
#i... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
361e83aed4895ff69b67636e7141a3203c966ad7 | 39320b80b4aa862c0d545e85bd2dd88f2585bdce | /src/server/scripts/EasternKingdoms/ZulGurub/instance_zulgurub.cpp | 0b1deea43223d6e9d9bc256e036edf82ad359e47 | [] | no_license | ProjectStarGate/StarGate-Plus-EMU | ec8c8bb4fab9f6d3432d76b2afac1e1e7ec3249f | 8e75d2976ae863557992e69353a23af759346eae | refs/heads/master | 2021-01-15T12:25:53.949001 | 2011-12-21T06:04:07 | 2011-12-21T06:04:07 | 3,004,543 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,642 | cpp | /*
* Copyright (C) 2005-2011 MaNGOS <http://www.getmangos.com/>
*
* Copyright (C) 2008-2011 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2006-2011 ScriptDev2 <http://www.scriptdev2.com/>
*
* Copyright (C) 2010-2011 ProjectSkyfire <http://www.projectskyfire.org/>
*
* Copyright (C) 2010-2012 Project-... | [
"sharkipaust@web.de"
] | sharkipaust@web.de |
339d92a59f1c1d6d01f31bed8ff189e6dcf58455 | 3e0725ebd1e7dcb4bb9cb2af7f86a0dceefffa04 | /chrome/browser/vr/ui_scene_constants.h | 70dadfe300ed47e12caa83267df22a77a74b1889 | [
"BSD-3-Clause"
] | permissive | fajarlabs/chromium | 50a25d9240c013d5b266af2bddea973fa01399ea | dec49c8bcb8089e0aebeb7c217276d486a3f4ff4 | refs/heads/master | 2023-01-12T23:47:44.012639 | 2018-04-19T04:15:59 | 2018-04-19T04:15:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,878 | h | // 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.
#ifndef CHROME_BROWSER_VR_UI_SCENE_CONSTANTS_H_
#define CHROME_BROWSER_VR_UI_SCENE_CONSTANTS_H_
#include "ui/gfx/geometry/angle_conversions.h"
namespace... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
567b5fe53f63d1c6732f4b6576ac26fa2a5f7bfc | 268775f0cb11043637273305dbb7e3c61a09f42a | /chocoblack.h | 5965a024042e1e988e8606389d18e12af618cc7c | [] | no_license | Sevenium/ChocolateFactory | d4312d24a46f875827d91f47019a4b44c3cd52f7 | 0731f31edc33cd3eb7f9253411eec2aa73b0b9ab | refs/heads/master | 2020-09-30T00:58:49.318654 | 2019-12-10T16:11:27 | 2019-12-10T16:11:27 | 227,161,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | h | #ifndef CHOCOBLACK_H
#define CHOCOBLACK_H
#include "chocolate.h"
// SubClass of Chocolate with real values
class ChocoBlack : public Chocolate
{
public:
ChocoBlack():Chocolate("Black",100,160,10,90){}
};
#endif // CHOCOBLACK_H
| [
"bryanhardy@hotmail.fr"
] | bryanhardy@hotmail.fr |
bb29049e91202ff876eab9978357858985addbb9 | eab27b0a2cf9e4ea42ba305c771bd4272a58a518 | /src/cloud_filters/radius_outlier_removal.cpp | a9d2cf91212c8ee10d88e561106a5ecbfc7d478e | [
"BSD-3-Clause"
] | permissive | myalfred03/dynamic_robot_localization | fa1ce87d23dba8f40d763bac73aec53d6e74b9c8 | d26e4563ab98171ae724a527a2c63d1b1abb1843 | refs/heads/kinetic-devel | 2020-04-03T14:28:48.608738 | 2018-10-17T17:48:36 | 2018-10-17T17:48:36 | 155,323,125 | 0 | 0 | BSD-3-Clause | 2019-01-12T22:57:23 | 2018-10-30T04:12:11 | C++ | UTF-8 | C++ | false | false | 1,262 | cpp | /**\file radius_outlier_removal.cpp
* \brief Description...
*
* @version 1.0
* @author Carlos Miguel Correia da Costa
*/
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <includes> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
#include <dynami... | [
"carloscosta.cmcc@gmail.com"
] | carloscosta.cmcc@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.