blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f1a33c40a65080c979eb231ba14a87f629ade9ad | 11879f654578e4e0d7c96fa306926e0a632bedf3 | /Cadastro.C++ | 63bd74a84e106e41a1009299571bb1888cd3f90e | [] | no_license | Vimuniz6/A3.C- | c9a8b11f6de8caa3fa5bfc7b2d64566a89dab05d | a64ec69d311fe8b2c8e9f4b764b3950882efc7ee | refs/heads/main | 2023-08-01T01:09:43.767979 | 2021-09-26T15:57:27 | 2021-09-26T15:57:27 | 410,595,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,468 | # inclui <stdio.h>
# inclui <stdlib.h>
# inclui <string.h>
# inclua <locale.h>
typedef struct cadastro
{
int codigoCliente;
char nome [ 30 ];
int anoNasc;
float totalGasto;
} cliente;
void cadastrarCliente (cliente * cad, int * contador) {
getchar ();
printf ( " \ n Digite o Nome do cliente: \ n " );
scan... | [
"noreply@github.com"
] | noreply@github.com | |
dc36b66a463dfa56611657c7ca8375d0de120c40 | de7a47bbe1ce3cf04d338366188257cf61f8473c | /ConsoleApplication2/stdafx.h | add05d605662560c9607f8495db8de98f3fcd417 | [] | no_license | by1c/MemDllLoader | 422799d5f14fbb477a392dd191164b9b3098ca7a | 409b51cff56ead5ac2fdf7596daae0d1dc4c5700 | refs/heads/master | 2023-03-17T17:41:46.050655 | 2018-07-31T13:06:52 | 2018-07-31T13:06:52 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 469 | h | // stdafx.h : 标准系统包含文件的包含文件,
// 或是经常使用但不常更改的
// 特定于项目的包含文件
//
#pragma once
#include "targetver.h"
#include <stdio.h>
#include <tchar.h>
// TODO: 在此处引用程序需要的其他头文件
#include <iostream>
#include <memory>
#include <string>
using namespace std;
#include <cstdlib>
#include <fstream>
#include <Windows... | [
"noreply@github.com"
] | noreply@github.com |
5f3a710ac999dc24f907abcfaf78d6ebde9868bc | f9ab50677516460292fa8f444b252195f40c6094 | /src/core/deel.boost.python/revise/boost/python/wrapper.hpp | 52701e8fc12ba23bb7887bde2586823c1c567b63 | [
"BSL-1.0"
] | permissive | DD-L/lproxy | d753f340c24de65a728082ba576a3b69003ee112 | 333db49d446faad445a49955c335c9cd230880d4 | refs/heads/master | 2020-05-22T08:09:20.209701 | 2016-09-25T07:23:47 | 2016-09-25T07:23:47 | 36,083,975 | 13 | 4 | null | 2016-08-23T06:35:37 | 2015-05-22T16:51:10 | C++ | UTF-8 | C++ | false | false | 1,123 | hpp | // Copyright David Abrahams 2004. 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 WRAPPER_DWA2004720_HPP
# define WRAPPER_DWA2004720_HPP
# include <deel.boost.python/revise/boost/python/detail/wrapper_base.... | [
"deel@d-l.top"
] | deel@d-l.top |
d220ea6711afb8560c604046034c78b1714e9a93 | 4d171a200367785d6ded244516fbb7e29d7c94c4 | /Python/for.cpp | 6f53dad90750a45faf6aa83028e27426f0e3ae89 | [] | no_license | furkanhtk/Microhomework | b43cbb1dbe94d86812e5be5cf533ab720c787c18 | d534653cd8b3a1030e4ad767e5e7effd75e0ac33 | refs/heads/master | 2022-09-11T07:27:18.308824 | 2020-05-28T18:34:42 | 2020-05-28T18:34:42 | 264,287,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | int func_and(int num4, int num5)
{
return num4 && num5 ;
}
int func_or(int num4, int num5)
{
return num4 || num5 ;
}
int main () {
int output;
int output2;
output = func_and(10, 20);
output = func_or(10, 20);
}
| [
"furkanhtk"
] | furkanhtk |
29c4d7daa839cb3f691a14d78896017ae9242cc0 | 11d02726300fbf3eb8a4b04f01cb234e12532bbb | /Mariam1/C++ Projects/Classwork21.03.18/Age20-30Short.cpp | 43839e38cac1e1115b506cc138018553742319f9 | [] | no_license | mariam171196/group-2 | c672324b80d4f04feca1a89b8925b0b710d79ea5 | 84a6f838438e2167ec979f8dce80d738b28a4838 | refs/heads/master | 2021-04-26T22:30:38.730658 | 2018-05-10T05:50:02 | 2018-05-10T05:50:02 | 124,104,216 | 0 | 0 | null | 2018-03-06T16:12:07 | 2018-03-06T16:12:07 | null | UTF-8 | C++ | false | false | 194 | cpp | #include <iostream>
int main () {
int age;
int a;
std::cout << "Enter your age!\n";
std::cin >> age;
a = (age > 20 && age < 30) ? 1 : 0;
std::cout << a;
return 0;
}
| [
"Karapetyan.Mariam21@gmail.com"
] | Karapetyan.Mariam21@gmail.com |
88b9f9724f63505a951cc0a20b2e25135b1b25d0 | a1fbf16243026331187b6df903ed4f69e5e8c110 | /cs/sdk/3d_sdk/maya/ver-2008/devkit/plug-ins/hwToonShader_NV20.cpp | 1a769922ffad301d8a49b1452c3ab1eeff09f7a6 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | OpenXRay/xray-15 | ca0031cf1893616e0c9795c670d5d9f57ca9beff | 1390dfb08ed20997d7e8c95147ea8e8cb71f5e86 | refs/heads/xd_dev | 2023-07-17T23:42:14.693841 | 2021-09-01T23:25:34 | 2021-09-01T23:25:34 | 23,224,089 | 64 | 23 | NOASSERTION | 2019-04-03T17:50:18 | 2014-08-22T12:09:41 | C++ | UTF-8 | C++ | false | false | 35,706 | cpp | //-
// ==========================================================================
// Copyright (C) 1995 - 2006 Autodesk, Inc. and/or its licensors. All
// rights reserved.
//
// The coded instructions, statements, computer programs, and/or related
// material (collectively the "Data") in these files contain unpublis... | [
"paul-kv@yandex.ru"
] | paul-kv@yandex.ru |
40208b916e30741715e7388b0b5272cd1a0828c0 | 60bb67415a192d0c421719de7822c1819d5ba7ac | /blaze/math/simd/Pow.h | 671e309acfaa66b1ff1ba110e0a95ce249ebdebc | [
"BSD-3-Clause"
] | permissive | rtohid/blaze | 48decd51395d912730add9bc0d19e617ecae8624 | 7852d9e22aeb89b907cb878c28d6ca75e5528431 | refs/heads/master | 2020-04-16T16:48:03.915504 | 2018-12-19T20:29:42 | 2018-12-19T20:29:42 | 165,750,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,152 | h | //=================================================================================================
/*!
// \file blaze/math/simd/Pow.h
// \brief Header file for the SIMD power functionality
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze library. You can redi... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
4320895d00bcad6f36350f24fa1f90162bae8011 | 34e66b5cb29af806c19c0cd18981b9c7b5306292 | /Host.cpp | 68210291ef250710b8c9c2351a69bb65d15b5c5e | [] | no_license | iarihda/DVMRP | a5e29933125263ce9fcd570c2fd79bffa661b058 | 624715b528cd4a8a951b6c3fa2a9ea351240f7a8 | refs/heads/master | 2020-05-28T05:27:39.686258 | 2014-04-02T18:32:24 | 2014-04-02T18:32:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,641 | cpp | #include<iostream>
#include<cstring>
#include<fstream>
#include<ctime>
#include<cerrno>
#include<sstream>
#include<fstream>
#include<cstdlib>
#include<unistd.h>
using namespace std;
int num;
int lan;
char type[10];
int start_time;
int duration;
int count;
int lptr;
void sleep(int s)
{
int sec = int(s*1000000);... | [
"adhirai.manickam@gmail.com"
] | adhirai.manickam@gmail.com |
7b5cee1bcd99ea88c004df04ab1cb2cb562ce8c4 | 95efaa256914926ac30acbb1a8c89c320c19bf40 | /HePlugin/HCie1931ChartView.cpp | 0aa603a7ebccf3080869eab01d65ae49f3ab505d | [] | no_license | mabo0001/QtCode | bc2d80446a160d97b4034fa1c068324ba939cb20 | 9038f05da33c870c1e9808791f03467dcc19a4ab | refs/heads/master | 2022-08-26T13:36:14.021944 | 2019-07-15T01:12:51 | 2019-07-15T01:12:51 | 266,298,758 | 1 | 0 | null | 2020-05-23T08:54:08 | 2020-05-23T08:54:07 | null | UTF-8 | C++ | false | false | 4,193 | cpp | #include "HCie1931ChartView_p.h"
#include "HCie1931Chart.h"
#include "HPositionTracking.h"
#include "HPluginHelper.h"
#include <QtWidgets/QAction>
HCie1931ChartView::HCie1931ChartView(QWidget *parent) :
HZoomChartView(*new HCie1931ChartViewPrivate, nullptr, parent)
{
init();
}
HCie1931ChartView::~HCie1931Char... | [
"hexianqi@msn.com"
] | hexianqi@msn.com |
2a123266d147b1a56e7fc1b9809d16dd087ddc52 | 788da62dce9041878fd098e5347408fbf0679ace | /qcom/proprietary/mm-parser/Android_adaptation/src/SourcePort.cpp | 2d7d7fdbf1a95f75df381f51a6cad9c3cfb00537 | [] | no_license | Snapdragon-Computer-Vision-Engine-Team/msm8974-sources2 | e7daa0bf3096e09286fd6e9f3a4e078774e49565 | 8e8a1d7b8b840a7c93e39634d61614665974acb1 | refs/heads/master | 2021-12-15T03:28:26.619350 | 2017-07-25T06:50:38 | 2017-07-25T06:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,345 | cpp | /*
* Copyright (c) 2010 - 2012 Qualcomm Technologies, Inc. All Rights Reserved.
* Qualcomm Technologies Proprietary and Confidential.
*/
//#define LOG_NDEBUG 0
#define LOG_TAG "SourcePort"
#include <utils/Log.h>
#include "common_log.h"
#include "SourcePort.h"
namespace android {
SourcePort::SourcePort(const sp<... | [
"xinhe.jiang@itel-mobile.com"
] | xinhe.jiang@itel-mobile.com |
2aabdc79c402021cea70ef83e127ec1b9ca4318a | 8fa761ae282809661933f62d240861281025bb9e | /top_k_optimal_selector.h | b173b0af1f6f16eb9eb8ba01c7bd0ac5a6b547f1 | [] | no_license | MichaelVoe/Masterarbeit | 6b0f35d745f22454ebd5d4b8c53625614938326a | 420471af4e7515a39a5d2b7814fdc66f8331c1af | refs/heads/master | 2022-10-26T21:16:07.316837 | 2020-06-16T06:30:38 | 2020-06-16T06:30:38 | 238,152,031 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | h | #ifndef SYMBOLIC_TOP_K_OPTIMAL_SELECTOR_H
#define SYMBOLIC_TOP_K_OPTIMAL_SELECTOR_H
#include "plan_database.h"
namespace symbolic {
class TopKSelectorOptimal : public PlanDataBase {
public:
TopKSelectorOptimal(const options::Options &opts);
~TopKSelectorOptimal() {};
... | [
"noreply@github.com"
] | noreply@github.com |
3b3989f2e8435a8cd6874961c5c1f630cb0103ce | 2a077744d7d8d90fd1675a10b83a92dbf37b3770 | /vietnamese-compiler/FirstVisitor.h | 00ddb5098099eb30e4da57cfd92f23ac20d385c7 | [] | no_license | hadiyah97/wci | ed75692b8c2c51d30a54b4a06dbc9c2a8f212654 | 1aa0ba7a5cd61f6533458ac284c407f2dd775450 | refs/heads/master | 2021-02-28T09:48:56.021798 | 2020-10-30T22:07:41 | 2020-10-30T22:07:41 | 245,683,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,377 | h | /*
* FirstVisitor.h
*
* Created on: May 5, 2020
* Author: hadiyah
*/
#ifndef FIRSTVISITOR_H_
#define FIRSTVISITOR_H_
#include <iostream>
#include <unordered_map>
#include "wci/intermediate/TypeSpec.h"
#include "wci/intermediate/SymTabStack.h"
#include "wci/intermediate/SymTabEntry.h"
using namespace wci;... | [
"48602985+hadiyah97@users.noreply.github.com"
] | 48602985+hadiyah97@users.noreply.github.com |
3a9748b807b6c15eb4133dcf974baf9acb51a847 | 7ee18aa256587f7ace1640ecc647dc5719c2da61 | /jni/exnihilope/registries/manager/IHeatDefaultRegistryProvider.h | 726e04036547d2c0ca698d13b5edbbf354367a8d | [
"Apache-2.0"
] | permissive | Virtualoso/ExNihiloPE | 3491ba06548075284114ff89178d5ffa50c03ad7 | 8a3636ff72456a6ae156f23ea79d871fa3721754 | refs/heads/master | 2021-06-21T09:31:44.923842 | 2017-07-27T16:29:20 | 2017-07-27T16:29:20 | 83,483,622 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 110 | h | #pragma once
class IHeatDefaultRegistryProvider {
public:
virtual void registerHeatRecipeDefaults() = 0;
};
| [
"trinitydevelopers4christ@gmail.com"
] | trinitydevelopers4christ@gmail.com |
8446bd163f505d02beecbed179610b7a25bb8d03 | 07462e8cc8e1bcdcc6a8bac76a7e8716d83d79d2 | /leetcode-Cpp/387.First Unique Character in a String.cpp | e548c2ced356de1eb13a84bc8525bc9afd6ed909 | [
"Apache-2.0"
] | permissive | Bigwode/3-leetcode-everyday | 0bc97133e06b2f89c2ef7e5c9596c18b49eab083 | 9380fffcfcb69c618cb771c2142302056c42782d | refs/heads/master | 2020-04-06T21:08:54.565561 | 2019-09-10T01:35:22 | 2019-09-10T01:35:22 | 157,794,100 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 757 | cpp | /*Method 1 需要遍历两遍*/
class Solution {
public:
int firstUniqChar(string s)
{
unordered_map<char, int>m;
for(char i: s)
{
if (m.count(i)) m[i]++;
else m[i]=1;
}
for(int j=0; j<s.size();j++)
{
if (m[s[j]] == 1) return j;
}
... | [
"1165902905@qq.com"
] | 1165902905@qq.com |
e0fc701a37da7ca93f7dde75832613cdbc2d4729 | 85aed0bcac5d6aea781dff64029c2d23fcba984b | /netserverLib/s_COdbcGameInven.cpp | 17f469996205d55b35d1644bac89ce4ec5d3810e | [] | no_license | youdontknowme17/ura | 3c76bf05eccd38b454b389841f1db49b59217e46 | e31bc9fd9c2312175d250dc4dc1f9c656c7f2004 | refs/heads/master | 2020-03-28T15:49:00.379682 | 2018-09-15T09:57:49 | 2018-09-15T09:57:49 | 148,628,762 | 0 | 2 | null | null | null | null | UHC | C++ | false | false | 16,234 | cpp | #include "stdafx.h"
#include "s_COdbcManager.h"
#include "s_CDbAction.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
///////////////////////////////////////////////////////////////////////////
// 해당 락커 만료시간을 정한다.
// 1 번 5 번 락커는 정할 수 없음.
// 2, 3, 4 번 락커만 만료시간을 정할 수 있다.
// 입력
// nChaNum : 캐릭터번호
// nStorageNum : 스토리지 번호
... | [
"markcalimosa@gmail.com"
] | markcalimosa@gmail.com |
494a188e8c9c1e381498ad4d4a2ec875220e8657 | 81beaace24b74eb039ca6d1011850c06b3636041 | /Include/Poco/ClassLibrary.h | 4265eb02f26031c1894a8d4fd28183d9ccbb6e43 | [] | no_license | passionkk/Business | 7179c6f34ff3f1075c017b7fb11ce68e459aee73 | 7198c99fe74260dcced7060ed26301833192ceca | refs/heads/master | 2021-05-11T06:54:45.486522 | 2018-03-06T01:48:33 | 2018-03-06T01:48:33 | 118,002,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,450 | h | //
// ClassLibrary.h
//
// $Id: //poco/1.4/Foundation/include/Poco/ClassLibrary.h#1 $
//
// Library: Foundation
// Package: SharedLibrary
// Module: ClassLoader
//
// Definitions for class libraries.
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// ... | [
"767313547@qq.com"
] | 767313547@qq.com |
da2f5cede241688cdd6d8555860c493f5f7e7fc3 | e689db2b5028508e317cd6a2fb205b5b02f59432 | /priority_queue/priority_queue.h | b7c0b2f11dbf3f48f6324649b08c78dfad3e8b79 | [] | no_license | VishaalK/DataStructures | e594bc7de1048285b2fb74aa195c6d581b7d28c3 | 3fd03886151116adfa6d42005184a9435601be74 | refs/heads/master | 2021-01-21T17:46:23.741452 | 2014-05-19T04:32:44 | 2014-05-19T04:32:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | h | #ifndef PRIORITY_QUEUE_H
#define PRIORITY_QUEUE_H
class priority_queue {
public:
virtual ~priority_queue() {};
virtual void push(int) = 0;
virtual int top() = 0;
virtual void pop() = 0;
virtual int size() = 0;
virtual bool isEmpty() = 0;
virtual void clear() = 0;
... | [
"vishaalk@umich.edu"
] | vishaalk@umich.edu |
0cac61dd750624a0caf2a3cce502917a2262861c | e8f52b45c57c6dd5af5df46e0c6b82fac91abab9 | /exe/MakeBetaIsoMat.cpp | b2eb7a962c9e323b010a9140e87d4b02b6c366f9 | [] | no_license | mb0316/EURoot | 5ea615572d6f473ee997ecce7a88b7e3020e4c6e | ff6fd5ded61bbd49d89be2aedbe73d1e41ec2661 | refs/heads/master | 2018-10-24T18:46:47.590108 | 2018-10-17T08:04:04 | 2018-10-17T08:04:04 | 103,235,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,503 | cpp | #include "TTree.h"
#include "EUTreeDecay.h"
#include "EUAnaMat.h"
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include "TFile.h"
#include "TH1D.h"
#include "TH2D.h"
#include <fstream>
#include "TApplication.h"
#include "TROOT.h"
#include "TCanvas.h"
using namespace std;
int main (int argc, char* argv[]... | [
"mb0316@nuclear.korea.ac.kr"
] | mb0316@nuclear.korea.ac.kr |
0602f334bbbec954c161ce9780eaf4b2c812c7a6 | 941136e02440c86f85cfcf96274cc79eb0c898c3 | /Engine/Source/Physics/Cloth.cpp | 09e617f2d9b566c4d8f02d783939d58af39cdebc | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-other-permissive"
] | permissive | astrorog/EsenthelEngine | 5d5b5923e5540fb7019d924412ebee12d7a9c8c0 | fda4e2458509abfde9e8205edf7db5a63aff9e72 | refs/heads/master | 2023-02-27T03:13:12.165592 | 2020-12-14T13:15:37 | 2020-12-14T13:15:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,572 | cpp | /******************************************************************************/
#include "stdafx.h"
namespace EE{
#include "PhysX Stream.h"
/******************************************************************************/
#define CC4_CLMS CC4('C','L','M','S')
/***********************************************************... | [
"esenthel@hotmail.com"
] | esenthel@hotmail.com |
11933727456914b98cc15e23d94507e879779487 | ad78d2168925ec23d290d0186a5249ad4c6ea037 | /src/ENDFtk/section/6/LaboratoryAngleEnergy/AngularDistribution/src/ctor.hpp | b38bfdcb60ecee36b9a2ba74e5ba1bff2ee4145e | [
"BSD-2-Clause"
] | permissive | jkulesza/ENDFtk | f363a115f059df02195b9f248f81854935c8dbf4 | b6618b396f51e802b7ee19ba529533c27e6ac302 | refs/heads/master | 2023-03-11T01:36:52.086387 | 2020-10-29T17:36:01 | 2020-10-29T17:36:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | hpp | AngularDistribution(
double energy,
std::vector< long >&& boundaries,
std::vector< long >&& interpolants,
std::vector< EnergyDistribution >&& distributions )
try : InterpolationSequenceRecord(
InterpolationRecord( 0.0, energy, 0, 0,
std::move( boundaries... | [
"whaeck@gmail.com"
] | whaeck@gmail.com |
7bd9d19ff9eb582e56b428fd1c7edae39669545e | f1d2734ee5f700a78081177387ebe710e418e2cc | /Arrays and Searching/TypeOfArray.cpp | 1ccddcc45a2163e13e65020c48038f4aca56651c | [] | no_license | Raunaq-singh/SudoPlacement2019 | 29a645ef0cb0a43ed29b9bb80c0410b672b7d405 | e3b0be3b7e265d5aa7abd19c99beed19a5e78000 | refs/heads/master | 2020-06-03T11:21:18.871792 | 2019-07-06T10:06:29 | 2019-07-06T10:06:29 | 191,548,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 620 | cpp | #include<bits/stdc++.h>
typedef long long ll;
typedef long double ld;
using namespace std;
int main(){
ios::sync_with_stdio(0);
cin.tie(NULL);
cout.tie(NULL);
ll t;
cin>>t;
while(t--){
ll n;
cin>>n;
ll a[n];
ll mx=-1;
ll mn=INT_MAX;
for(ll i=0;i<n;i++){
cin>>a[i];
... | [
"noreply@github.com"
] | noreply@github.com |
4e0a6c91cf643979dde275a28ff5766a0ef932d2 | 6474e1ce6fdc13d514e59da2a7025a35d7908218 | /week-07/day-1/11.cpp | 435f8c32e77fe18ab6d5963ed8276e170f4bd579 | [] | no_license | green-fox-academy/ImreCsete | 1cc62af0e9dfa7f8005c214d3be13bb5db33cf69 | f5fc58a4793f17efec0249eca1b0f192d1860ff8 | refs/heads/master | 2021-09-06T09:23:06.177864 | 2018-02-05T00:53:20 | 2018-02-05T00:53:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,345 | cpp | #include <iostream>
#include <cstdlib>
#include <ctime>
#include <typeinfo>
using namespace std;
int main() {
srand(time(NULL)); // This initializes the random generator.
int rnd = 0;
for (int i = 0; i < 20; i++) {
rnd = rand() % 5; // generate a random number in the range [0, 4]
try {
switch (rnd) {
ca... | [
"csete_imre@hotmail.com"
] | csete_imre@hotmail.com |
3b85c79bcfa88ed987823a1be55b3b74e4d065b5 | 8c74008407dc93b74fb4cee5a986bb9cdae4adf2 | /tools/log viewer/Source.cpp | 0cc18c5aeb565cc23c6722d2755f6fe23e1994cc | [
"MIT"
] | permissive | Qazwar/RFC-Framework | 0d1581ac20b1637664cb3c958ebc7b85b75d15cf | 9c1881d412db6f9f7670b910a0918a631208cfd1 | refs/heads/master | 2023-06-01T21:36:21.394870 | 2021-06-17T06:26:22 | 2021-06-17T06:26:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,333 | cpp |
#include "rfc_amalgamated.h"
#define COL_WARNING_TEXT RGB(0, 128, 0)
#define COL_WARNING_BACK RGB(240, 240, 240)
#define COL_ERROR_TEXT RGB(149, 0, 0)
#define COL_ERROR_BACK RGB(255, 240, 240)
/**
custom drawn gridview to highlight warnings & errors.
for some components, custom drawing is easier than owner drawing... | [
"ruchira66@gmail.com"
] | ruchira66@gmail.com |
abedb2bcba02167dfb4cfb9e0811ece9b0b09ef9 | 2ff9f9945f81637e513b06195dcce1f922c12248 | /src/backend/opencl/jit/kernel_generators.hpp | 8754ef858261d3beb2d3a3a55e7617f5a8307317 | [
"MIT",
"BSD-3-Clause",
"Zlib",
"BSL-1.0",
"Apache-2.0"
] | permissive | mlloreda/arrayfire | 256f246a74ec0a6a097fad34df03d332e887aa18 | 2bac5df9f8e46cda6a9110ef84efca1d6afa02c3 | refs/heads/master | 2020-12-03T09:20:29.442976 | 2018-11-16T14:44:40 | 2018-11-16T17:40:51 | 77,644,409 | 1 | 0 | null | 2016-12-29T22:46:36 | 2016-12-29T22:46:36 | null | UTF-8 | C++ | false | false | 4,301 | hpp | /*******************************************************
* Copyright (c) 2018, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
**********************************************... | [
"pradeep@arrayfire.com"
] | pradeep@arrayfire.com |
1ae459c3658efbf605faed4df4c2c59fa422bcb4 | 786cd2c3e735f24e1ccf9ce8e72bbafe5f22e1c1 | /Bematech_Termica/ImpressoraFiscalEcfRfd.cpp | 7a1465a889a43b238b9618ab90c1df6c39ba1169 | [] | no_license | Nilson-Xavier/Consigo | 0eea85e08160960b2225af5f0b9d119ae6fd56d3 | 4f22a03604132e56b34f687f805d82d7baf9474c | refs/heads/master | 2020-05-26T15:12:38.985619 | 2019-05-23T19:40:29 | 2019-05-23T19:40:29 | 188,280,296 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 22,521 | cpp | //---------------------------------------------------------------------------
#pragma hdrstop
#include "ImpressoraFiscalEcfRfd.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
//---------------------------------------------------------------------------... | [
"noreply@github.com"
] | noreply@github.com |
a76e4111e900d563f7395ba7f027677ae72ce02d | 801f7ed77fb05b1a19df738ad7903c3e3b302692 | /refactoringOptimisation/differentiatedCAD/occt-min-topo-src/src/XCAFDimTolObjects/XCAFDimTolObjects_GeomToleranceModif.hxx | 77985bc50dd7f147164a89619e847a355fbe6935 | [] | no_license | salvAuri/optimisationRefactoring | 9507bdb837cabe10099d9481bb10a7e65331aa9d | e39e19da548cb5b9c0885753fe2e3a306632d2ba | refs/heads/master | 2021-01-20T03:47:54.825311 | 2017-04-27T11:31:24 | 2017-04-27T11:31:24 | 89,588,404 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,775 | hxx | // Created on: 2015-08-06
// Created by: Ilya Novikov
// Copyright (c) 2004-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as ... | [
"salvatore.auriemma@opencascade.com"
] | salvatore.auriemma@opencascade.com |
dc48da9fc8b6bac007b1bd49c31cfbd94d64651b | deb9334fc2e75fd105370e7cdd857d4f7c2caffb | /一本通/03数据结构/04图论基础/0405并查集/1385.cpp | efd83ef7e1ea01cb83bc6a78e7cdefd69fb02c20 | [] | no_license | liwei2088/oi | a641aa06cfeeaeff75673191c4e0bd3f5aae9de3 | 487acf4b1d4f97ab26614f9f396c9ca007c2b507 | refs/heads/master | 2021-06-12T00:00:02.767091 | 2021-03-27T06:21:09 | 2021-03-27T06:21:09 | 149,082,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 965 | cpp | #include <cstdio>
#include <iostream>
using namespace std;
int n, m, p[1005], q[1005];
int find(int x) {
if (p[x] != x) p[x] = find(p[x]);
return p[x];
}
int main() {
cin >> n >> m;
for (int i = 1; i <= n; i++) p[i] = i;
while (m--) {
int t, x, y, u, v;
cin >> t >> x >> y;
... | [
"liwei2088@sohu.com"
] | liwei2088@sohu.com |
f0acf61977712ee9d9ef86e0c781f9d3caac2f6d | a9f0884bc8a2a117016936d0bdadfd1cd6bc9e28 | /编程练习/BFS与DFS走迷宫.cpp | d4e12bbf946dca267cf4fa744675de765ec1e0c9 | [] | no_license | StillNormal/WeeklyCode | 67f7fb5919d3e297e100ec3c505fa43bed230e4a | 8b1bb6c370ff811d186107a0e1822b974903b142 | refs/heads/master | 2021-04-03T08:25:36.359492 | 2019-12-17T05:28:27 | 2019-12-17T05:28:27 | 124,240,046 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,480 | cpp | #include <iostream>
#include <stack>
#include <queue>
using namespace std;
int maze[5][5] = {//迷宫数组 1为墙 左上到左下(0,0)->(4,4)
0, 1, 0, 0, 0,
0, 1, 0, 1, 0,
0, 0, 0, 0, 0,
0, 1, 1, 1, 0,
0, 0, 0, 1, 0,
};
struct pos {
int x;
int y;
};
void deep_search() {//dfs 不可采用记录后继的方式 因为后继可能有多个 因此也无法判断多条到达终点的路
pos predecessor[... | [
"386811796@qq.com"
] | 386811796@qq.com |
6259bc4ce84a2df00689e14c4640ea598caf5120 | a336409f3a743664dc5e96680a026bd2bf04496b | /cpp/private/strings.cpp | a3fe0c526b5068110ce1a3732107f866c2926072 | [
"MIT"
] | permissive | rlei-weta/gofileseq | 7957f5ec738727ad521ceb9b7d4240cafc8cac9c | 97d877d68cdef5939f4db199f52e4424fe9a691a | refs/heads/master | 2023-04-30T21:49:18.716283 | 2020-12-16T20:58:52 | 2020-12-16T20:58:52 | 365,962,390 | 0 | 0 | MIT | 2021-05-10T08:47:50 | 2021-05-10T07:55:12 | null | UTF-8 | C++ | false | false | 1,363 | cpp |
#include "strings.h"
namespace fileseq {
namespace strings {
bool contains(const std::string &str, const std::string &substr) {
return (str.find(substr) != std::string::npos);
}
void replace_all(std::string &str, const std::string &from, const std::string &to) {
size_t start_pos = 0;
while((start_pos... | [
"justinisrael@gmail.com"
] | justinisrael@gmail.com |
3e8fc538018c599063328f2e6fe8931fec878cb1 | 18736948db3787c07a268dcd8ab64ff5173c2101 | /Classes/Logic/Commander.hpp | 504a687148fe4959fc1d23f22dbea4545217aa61 | [
"MIT"
] | permissive | FaithZL/DontCrash | 5f75beb05830c38c2b3e48bdfc60577025333d23 | fe8d51c6dbdb86f57158aa6f96a2c2c19dfd5f0c | refs/heads/master | 2021-01-10T17:16:33.356750 | 2016-02-04T02:33:42 | 2016-02-04T02:33:42 | 50,807,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | hpp | //
// Commander.hpp
// DontCrash
//
// Created by SATAN_Z on 16/1/29.
//
//
#ifndef Commander_hpp
#define Commander_hpp
#include "cocos2d.h"
#include "../utils/FSM/FSM.h"
#include "Scorer.hpp"
class Enemy;
enum GroupState {
g3,
g12,
g111
};
class Commander : public FSM , public cocos2d::Ref{
public... | [
"249002031@qq.com"
] | 249002031@qq.com |
ad2eac4d8b19397db5f4ba4e39554edfd23f508a | d9f971681053469d4f0c28e6f25f7e1ac2045107 | /BOJ/Samsung/17825_주사위윷놀이/17825.cpp | dd2bc5b6c0c7a83b2ced694484204e59051c3ca9 | [] | no_license | jinwookss/algorithm-solutions | 7f85f7bc865fe6e6ed2687f9200ed31f4a72fa9c | 66576bdac4a4b092fe7775d17c0602a1c7450f78 | refs/heads/master | 2023-05-12T10:16:46.823225 | 2021-05-31T10:14:46 | 2021-05-31T10:14:46 | 239,338,482 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,063 | cpp | #include <algorithm>
#include <fstream>
#include <iostream>
#include <vector>
using namespace std;
vector<int> inputs(10);
vector<vector<int>> map;
vector<int> idx = {0, 0, 0, 0};
vector<int> course = {0, 0, 0, 0};
int maxScore = 0;
// vector<int> v;
// vector<int> v2;
void dfs(int diceIdx, int score) {
if (dic... | [
"jjw6215@gmail.com"
] | jjw6215@gmail.com |
3b7b0e9f9094f6e92785abed150186832d7de9c9 | 49292d25823cb9147408df62cda55d38ba1e782a | /test_run_dir/lab8/VExercise1__ALLsup.cpp | 3b1eaad18a45e369598bec8ac07d0a0d22f9abb5 | [] | no_license | Shahzaib2028/chisel-quickstart | 92d2da9a3d3b60fd02cab9579e8a50525a90dd22 | 877a68aee5c034db58288cd4e5a746fea9fe9119 | refs/heads/main | 2023-04-10T01:02:57.255688 | 2021-04-16T09:07:36 | 2021-04-16T09:07:36 | 349,036,502 | 2 | 0 | null | 2021-03-18T10:48:36 | 2021-03-18T10:48:36 | null | UTF-8 | C++ | false | false | 196 | cpp | // DESCRIPTION: Generated by verilator_includer via makefile
#define VL_INCLUDE_OPT include
#include "VExercise1__Trace.cpp"
#include "VExercise1__Syms.cpp"
#include "VExercise1__Trace__Slow.cpp"
| [
"noreply@github.com"
] | noreply@github.com |
5ae65201c9147800d6406e327ce1206219f9526b | 1a08c177538b8718861c4969a57d3b41ab5d2bb0 | /sai2-simulation-master/src/object/CDynJoint.cpp | b2adb023582ff6b83d44b1e202fc7d362936f3a4 | [] | no_license | michaellin/cs327a | 9be6aa4442e04d21f7ad455391114faeafc26171 | 032d447c98f96816b4ddb50b2b7dd3569e475867 | refs/heads/master | 2023-01-12T23:53:33.539482 | 2020-11-16T05:44:01 | 2020-11-16T05:44:01 | 268,144,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,344 | cpp | //===========================================================================
/*
This file is part of the dynamics library.
Copyright (C) 2014, Artificial Intelligence Laboratory,
Stanford University. All rights reserved.
\version $MAJOR.$MINOR.$RELEASE $Rev: 1242 $
*/
//====================... | [
"michaelv03@gmail.com"
] | michaelv03@gmail.com |
6d824fca0f02ce4ade5b25d42558092f45094de5 | 29a7bade00baf0153036b91c43c51fba2021219c | /operating systems/assign1/queue.cpp | 11e87a286a39a0868cdb7ccd78f57201b5a2df07 | [] | no_license | Tgriff073/school | 92fc1054bdc3f0fc9ca030efb7e94cfe66723207 | acb0cccb5b5780043dfe43bc4b77d16a73e7ead6 | refs/heads/master | 2021-09-10T02:47:34.442141 | 2018-03-20T19:30:40 | 2018-03-20T19:30:40 | 126,069,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,963 | cpp | /* Queue CPP file
* Jan Ocampo & Thomas Griffin
* CS 433 - Xiaoyu Zhang
* February 13, 2017
*
* This file defines all the method calls for the queue data structure, methods described are
* ctor, push, pop, display, and size
*
*/
#include "queue... | [
"griff073@cougars.csusm.edu"
] | griff073@cougars.csusm.edu |
bae33308d260717acf0d874778c66e472339c70d | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /components/storage_monitor/storage_monitor_chromeos.cc | c6f7661627ba0cffadf3d993b0c96070e7e65f24 | [
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 12,220 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/storage_monitor/storage_monitor_chromeos.h"
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
e03327db42211014dbfac95380585a8d600aac7e | 7e48d392300fbc123396c6a517dfe8ed1ea7179f | /RodentVR/Intermediate/Build/Win64/RodentVR/Inc/Engine/PhysicalMaterialMask.generated.h | 5bba73616aed3574522e69e6620a25eab6f5315e | [] | no_license | WestRyanK/Rodent-VR | f4920071b716df6a006b15c132bc72d3b0cba002 | 2033946f197a07b8c851b9a5075f0cb276033af6 | refs/heads/master | 2021-06-14T18:33:22.141793 | 2020-10-27T03:25:33 | 2020-10-27T03:25:33 | 154,956,842 | 1 | 1 | null | 2018-11-29T09:56:21 | 2018-10-27T11:23:11 | C++ | UTF-8 | C++ | false | false | 5,267 | h | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"west.ryan.k@gmail.com"
] | west.ryan.k@gmail.com |
2ed5debed306e59026eeb38780d9555dea4e264c | 8d0ad4f1fa55790317d03649bcb17cbabcc80a76 | /src/robot_preview.h | 7ee9a379b7b6aa083189216c27016b4007b05a97 | [
"BSD-3-Clause"
] | permissive | rhololkeolke/robot_editor | 234e455ebd63ab46a6efed2cb857a2238b095be8 | 0621b61e83ea66c47b96d16c52ad5bacc84e37a1 | refs/heads/master | 2016-09-02T01:44:43.075208 | 2014-05-17T21:25:44 | 2014-05-17T21:25:44 | 19,705,595 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 509 | h | #ifndef ROBOT_EDITOR_ROBOT_PREVIEW_H_
#define ROBOT_EDITOR_ROBOT_PREVIEW_H_
#include <QWidget>
namespace rviz
{
class Display;
class RenderPanel;
class VisualizationManager;
}
class RobotPreview: public QWidget
{
Q_OBJECT
public:
RobotPreview(QWidget* parent=0);
virtual ~RobotPreview();
void refresh(const st... | [
"digidevin@gmail.com"
] | digidevin@gmail.com |
73b471f2c78cce1e7cc5239b823eaf851a829e39 | 8c9568133d07c324a4e464efe362c240d9000388 | /Single Number II.cpp | a96e03db00fdddbeea8bbcd161207070f76f3565 | [] | no_license | Vikalp19041999/LeetCode-solutions | bc3f443243ca19d389b92331dfc83d5304282bc7 | fc07ea77e929ca35c68312e36c9543705cdad002 | refs/heads/main | 2023-08-15T13:58:18.829183 | 2021-09-20T15:56:51 | 2021-09-20T15:56:51 | 371,249,286 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | cpp | class Solution {
public:
int singleNumber(vector<int>& nums) {
int one = 0;
int two = 0;
for(int i : nums) {
one = (one^i) & ~two;
two = (two^i) & ~one;
}
return one;
}
}; | [
"vicks548@gmail.com"
] | vicks548@gmail.com |
f50aa5a1cf1e7bb3b8de7dae3f5e84e825c29eda | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Trigger/TrigConfiguration/TrigConfL1Data/Root/TriggerItemNode.cxx | bb4bdf8fae1ddd6a0729a7d9113f39347b9df9a5 | [] | 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 | 10,794 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#include "TrigConfL1Data/TriggerItemNode.h"
#include "TrigConfL1Data/TriggerThreshold.h"
#include <iomanip>
#include <iostream>
#include <string>
#include <cstdlib>
#include <inttypes.h>
#include <stdexcept>
#include <sys/types.h>
#inclu... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
41767e6148354b0c5094bf284ce448e92677c953 | bc3ba9aab0f483c94f310d976683abb83709a4f1 | /particles/ParticleSystemSnapShot.cpp | faa6b7d557b05c7decd6eeb70cec27f1a77b3f6c | [] | no_license | mkkellogg/Core | 283c83bb7b408e0edb0773d86ca167b5ab994b5e | a3de603df9b80ed90d7a603bd5536f9273fd55e9 | refs/heads/master | 2023-08-08T03:08:14.992663 | 2023-07-31T04:02:28 | 2023-07-31T04:02:28 | 134,364,838 | 3 | 3 | null | 2020-06-11T01:21:41 | 2018-05-22T05:28:43 | C++ | UTF-8 | C++ | false | false | 567 | cpp | #include "ParticleSystemSnapShot.h"
#include "../common/Exception.h"
namespace Core {
ParticleSystemSnapShot::ParticleSystemSnapShot() {}
void ParticleSystemSnapShot::addState(const ParticleState& state) {
this->particleStates.push_back(state);
}
const ParticleState& ParticleSystemSnapShot::... | [
"mkkellogg@gmail.com"
] | mkkellogg@gmail.com |
ee3c3c0d5ef66da57a8932c7dc16c793874926fe | 23f5c0d9c2094f75e19792c20c5bb3a67021c5db | /My_Mine/main.cpp | 0eb695bbafe845a825a90e847bf561e3c969bbbf | [] | no_license | qiuzhiqian/QT_Mine | 781210ac2fc7552493fcbab380b2772cbaa06aa2 | b6adda1c6bda68a61e8c79bd3f585f3f3ddadf8d | refs/heads/master | 2021-01-18T11:33:30.260109 | 2016-05-17T00:18:39 | 2016-05-17T00:18:39 | 58,976,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 160 | cpp | #include "myui.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MyUI w;
w.show();
return a.exec();
}
| [
"xia_mengliang@163.com"
] | xia_mengliang@163.com |
d9e0a095e48ccc5493169854c7b86e7053da42f3 | e5122c6ef178cdd293fb4c68d9cdcc6fea96515d | /Classic/graphs/Dijkstry.cpp | 261d2f75afb4f4c2e7016cc6d74b0cd0686409e4 | [] | no_license | Dawidsoni/programming-competitions | 227b466c9cf9f90ede1d42b6abde8972ee6b2860 | 8314250d9777e57e3bdb2de9cdfad0d91975b265 | refs/heads/master | 2021-01-16T20:42:13.748820 | 2018-02-16T14:17:34 | 2018-02-16T14:17:34 | 62,567,916 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,482 | cpp | #include<iostream>
#include<vector>
#include<climits>
#include<queue>
using namespace std;
int result[10000000], startV, eCount, a, b, c, vCount;
bool isCounted[10000000];
typedef pair<int,int> IPair;
vector<vector<IPair> > graph;
priority_queue<IPair, vector<IPair>, greater<IPair> > minQueue;
int main() ... | [
"dawid.wegner@gmail.com"
] | dawid.wegner@gmail.com |
a5d608f77b72fbf3e94f7b93d41947944fe4465a | 4ef69f0044f45be4fbce54f7b7c0319e4c5ec53d | /include/cv/core/cmd/out/sgerq2.inl | d61f4e6412ad9dd41a0af54e4406d986a7ed3d2c | [] | no_license | 15831944/cstd | c6c3996103953ceda7c06625ee1045127bf79ee8 | 53b7e5ba73cbdc9b5bbc61094a09bf3d5957f373 | refs/heads/master | 2021-09-15T13:44:37.937208 | 2018-06-02T10:14:16 | 2018-06-02T10:14:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 79 | inl | #ifndef __sgerq2__
#define __sgerq2__
#include "sgerq2.c"
#endif // __sgerq2__
| [
"31720406@qq.com"
] | 31720406@qq.com |
13bb3ec288ae37b88dd51f01453bfd982d5c03a4 | ec230c77637a779e58e11c57f60f29c29740eb07 | /CSE335_inclass_TemplateMethodPattern/Student.h | 6b119416d746ad338f7f348df18e7e58e2c0fc53 | [] | no_license | MikeMei/CSE335 | 951ede53fdbbeb2bb54f8d66ee1249e201827803 | 431719494ca6fba3bf773ceabd2c2450b9894d78 | refs/heads/master | 2021-01-19T08:50:41.419499 | 2016-04-25T03:03:55 | 2016-04-25T03:03:55 | 50,695,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,739 | h | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: Student.h
* Author: laptop-pc
*
* Created on February 4, 2016, 1:08 PM
*/
#ifndef STUDENT_H
#define STUDENT_H
#in... | [
"mhmei95@gmail.com"
] | mhmei95@gmail.com |
30adad3a38c67e1263d0e9484f8b83d52b5ef2aa | fd85020456c57bc2f911e110df56655bec97bbb4 | /teachermaindialog.h | f4090f2275d919bd887337144f9cc2a5af426596 | [] | no_license | MrVozhde/MyLastVersion | 2896916ef75747427da96225eed6d5776444833c | 3a98c82438dccf9049633c91f23f56873f2c97bf | refs/heads/master | 2020-05-24T21:02:29.313566 | 2019-05-19T11:30:39 | 2019-05-19T11:30:39 | 187,467,860 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 489 | h | #ifndef TEACHERMAINDIALOG_H
#define TEACHERMAINDIALOG_H
#include <QDialog>
#include <teacherchangepassword.h>
namespace Ui {
class TeacherMainDialog;
}
class TeacherMainDialog : public QDialog
{
Q_OBJECT
public:
explicit TeacherMainDialog(QWidget *parent = nullptr);
~TeacherMainDialog();
private slots:... | [
"mhhz2013@gmail.com"
] | mhhz2013@gmail.com |
6cde08495c8bdbd676b33c2c47c8a3c01d11351c | 626f70480edda21388c09dec57fe24cac75e562e | /Hackerrank/101 Hack 47 B.cpp | 92eceec668ef5d08ba5894586f252d0d234ce81f | [] | no_license | arf111/Programming-Problems- | 48871be8c919016eafb0e82a4ca22bb65f0b6f14 | 088d2fe3b646a57b0f622406a60a24d02c690025 | refs/heads/master | 2020-09-09T21:35:57.762346 | 2018-01-22T05:13:26 | 2018-01-22T05:13:26 | 94,446,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 854 | cpp | #include <bits/stdc++.h>
using namespace std;
int flag[5000];
int main()
{
int n,p,q;
scanf("%d %d %d",&n,&p,&q);
vector<int> a(p);
for(int a_i = 0; a_i < p; a_i++)
{
cin >> a[a_i];
}
vector<int> b(q);
for(int b_i = 0; b_i < q; b_i++)
{
... | [
"noreply@github.com"
] | noreply@github.com |
6306d0fcba4ca66ce53b319948999389f7506c4d | e2f27c57a3a7a6be57f8db5112106d38b61a3f1e | /SpaceInvaders/Models/ECS/UColliderComponent.h | ff1e53245f7df64ff9761388e626ef490c2283f6 | [] | no_license | stefan-0905/SpaceInvaders | cd5b29794f0224ed418005351e88464fb5b39252 | b90db35dc0e02051c83eaa79eb60486b8428e1d6 | refs/heads/master | 2023-01-01T02:52:43.679584 | 2020-10-27T18:02:19 | 2020-10-27T18:02:19 | 278,060,659 | 0 | 0 | null | 2020-10-27T10:29:48 | 2020-07-08T10:33:53 | C++ | UTF-8 | C++ | false | false | 414 | h | #pragma once
#include "ECS.h"
#include <SFML\Graphics\Rect.hpp>
class UPositionComponent;
class UColliderComponent : public Component
{
private:
UPositionComponent* PositionComponent;
sf::FloatRect Collider;
public:
UColliderComponent(float width, float height);
virtual void Init() override;
virtual void Tick... | [
"stefan_0905@hotmail.com"
] | stefan_0905@hotmail.com |
f27634a0155ffde1c70bb5c89780b43ea681672e | 3fcbc5cc45cb7ce71ea8fd71aa52e6c8d9ff80ab | /15644.cpp | c185a5ccff12d72c9d73164f5a424e7513bca3b0 | [] | no_license | ploffer11/CPP | 83a14601dcc11894bbf5e9b8df1a462f4c494b3a | c47160a9f3f474cee630af0c6e020c6a980c9ab6 | refs/heads/master | 2020-12-06T15:19:10.331008 | 2020-10-04T13:51:53 | 2020-10-04T13:51:53 | 232,493,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,824 | cpp | #include <bits/stdc++.h>
#pragma GCC optimize("Ofast")
#pragma GCC optimize("O3")
using namespace std;
using ll = long long;
using pii = pair<int, int>;
const int INF = 987654321;
const int MOD = 1e9 + 7;
string dir = "DURL";
int _dr[] = {1, -1, 0, 0};
int _dc[] = {0, 0, 1, -1};
map<vector<vector<char>>, int> visit;
... | [
"ploffer11@naver.com"
] | ploffer11@naver.com |
ea9fc311ded535da8d5c8bfd790915819626ec04 | a97a53c58ae7eb110eab7aa6fde382eaada4d63d | /GE/XYZSurfaceSheet.h | b169971fc13cd8ee6387b6ce1ea20d239890b184 | [] | no_license | meintjesbekker/GE | 8d7a0f40110fd87a58870d9ce7390cc1f2d05f45 | 821323f42657763c03d30c4fadd607b758417c8a | refs/heads/master | 2021-12-08T10:56:51.533338 | 2019-08-08T19:39:56 | 2019-08-08T19:39:56 | 153,671,097 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,564 | h | /*--------------------------------------------------------------------------*/
/* XYZSurfaceSheet.h */
/* */
/* Purpose : Sheet for GUI pages of XYZ Surface. */
/* Author : Meintjes Bekker */
/* Date : Copyright (C) 2000 ... | [
"meintjesbekker@yahoo.com"
] | meintjesbekker@yahoo.com |
d337cc9e1eb0eafddca2997ac08783db95cfdaaa | 9a71f86a7917234d9d521a339e5ff621b085c231 | /cpp/examples/gridNetExamples/smartnos-developer-platform/smartnosapplicationframework/DomainClientSocket.cpp | 645e70781e458f8ae3d0bae601682303fe842fe6 | [] | no_license | projectsf/snippets | 58a42573175c2662e00c7f92aa0603c6c4eaf371 | f85f287a8b63d2e3ef5ddd861c01d60cc4f96cc4 | refs/heads/master | 2016-09-02T01:36:43.614212 | 2013-03-15T22:46:03 | 2013-03-15T22:46:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 968 | cpp | /**
* Used in socket_main.cpp
*
* @file DomainClientSocket.cpp
*/
// Implementation of the DomainClientSocket class
#include "DomainClientSocket.hpp"
#include "DomainSocketException.hpp"
DomainClientSocket::DomainClientSocket ( std::string host, int port )
{
if ( ! DomainSocket::create() )
{
throw D... | [
"scott.maroney@gmail.com"
] | scott.maroney@gmail.com |
754145475a520dff49dd28ca538ffad73851b52a | c46eaf417ed24709c3ddf96cc104b6b66ae895be | /Need_DO/0.0.cpp | 9eaf5d7c40451d6a0a4e1b3ff176ac5ba322ca2f | [
"MIT"
] | permissive | AdorableGhost/CPP_learn | 6bcfea6446dda718a131b6c95479e1835775eb2b | a91c80119eda8d8f9f0c257ce460b4612d45f2d2 | refs/heads/master | 2022-12-09T21:20:17.494966 | 2020-09-13T02:13:25 | 2020-09-13T02:13:25 | 294,763,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 174 | cpp | /*
Clean One If Finished!
*/
1. QT First
2. DataStructure And Algorithm And Essential Knowndges For CPP doing
3.Linux CPP Programming
4.Windows Programming (If needed!) | [
"1244453862@qq.com"
] | 1244453862@qq.com |
15ff66bfa9e59f1126d20fc1a980617f58e74df2 | 788b4664f114e03e2d84060615f5451dc662d66e | /lingex/inheritance_man.cpp | 3e96ddcbef7d687109364615f55347ef28247933 | [] | no_license | zhouxindong/rola | dbdd7fb3bf034ed084ac67efcb9b59b6de0bb657 | 04b8b039b8786ee123c3a85467869c7708da185d | refs/heads/main | 2023-07-29T10:58:24.271940 | 2021-08-27T07:30:13 | 2021-08-27T07:30:13 | 305,242,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 842 | cpp | #include "inheritance.hpp"
#include <iostream>
#include <vector>
struct ICalculator
{
virtual long long compute(int input) const = 0;
virtual ~ICalculator() {};
};
struct BigCalculator : ICalculator
{
long long compute(int input) const override
{
std::cout << "BigCalculator::compute()" << std::endl;
return in... | [
"zhouxindong@163.com"
] | zhouxindong@163.com |
034a25d085e2e9bb761d4f972bd5b30bb743e7f7 | ab5c7e0a0d6f699f24f4ace5244c1f64acbe3563 | /core/test/lib/boost/boost/asio/ssl/impl/error.ipp | 0ab6d419aef3058c8f5e87250011f52df86f02ce | [
"MIT"
] | permissive | tmpfork/lib-ledger-core | e7c9d0426fe944c0f6a81d74744796e87542fa8a | 8741e84f38f863fd941d3bd56a470f37eb36da04 | refs/heads/master | 2020-04-21T09:42:37.184675 | 2019-01-23T13:15:43 | 2019-01-23T13:15:43 | 169,459,374 | 0 | 0 | MIT | 2019-02-06T18:58:46 | 2019-02-06T18:58:46 | null | UTF-8 | C++ | false | false | 2,223 | ipp | //
// ssl/impl/error.ipp
// ~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_ASIO_SS... | [
"pollastri.p@gmail.com"
] | pollastri.p@gmail.com |
972955d9cebf786af7ae66ea972c706cb10082ff | 49b4153a6709c1b115dd459a115fc2bb1ca1a6b2 | /zetasql/reference_impl/value_expr.cc | a6a3833be290799d04692f47827a9abda8f90dfa | [
"Apache-2.0"
] | permissive | gbeanvamp/zetasql | a1651e6c963638f4e24fe552958fbaef681abf5f | 64f7ea4be8c0d5ab8eeb62ebcc1f95f754a14bc3 | refs/heads/master | 2021-01-08T10:12:44.395053 | 2020-03-03T20:01:29 | 2020-03-03T20:01:29 | 241,998,627 | 0 | 0 | Apache-2.0 | 2020-03-03T20:01:30 | 2020-02-20T21:56:07 | C++ | UTF-8 | C++ | false | false | 124,483 | cc | //
// Copyright 2019 ZetaSQL Authors
//
// 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 agree... | [
"matthewbr@google.com"
] | matthewbr@google.com |
32fc2a6adca2de8d3e0819ddb0821292df4c23ce | 297497957c531d81ba286bc91253fbbb78b4d8be | /gfx/skia/skia/src/pdf/SkPDFDevice.h | c021d371bdf8948853c2f3ebc7086a4749ec0abb | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | 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 | 6,386 | h |
#ifndef SkPDFDevice_DEFINED
#define SkPDFDevice_DEFINED
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkData.h"
#include "include/core/SkPaint.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkStream.h"
#include "src/co... | [
"mcastelluccio@mozilla.com"
] | mcastelluccio@mozilla.com |
b67ae046438eac98bf6f2c3866bea5a46b5c1e3d | 5d15e7dfba2b8d6b9a8bb14973d4907b753d3ab9 | /Screenwriting/EditWidget.cpp | ea62356370369603f44984911051aaeb4108f9b9 | [] | no_license | giurgiumatei/Object-Oriented-Programming | b7957c9e14711ec4910563104d114a70d874b9b2 | 2ab019f1b7f9aaa03b634453fbe2ac2914320923 | refs/heads/main | 2023-03-10T00:14:25.892419 | 2021-02-22T14:53:57 | 2021-02-22T14:53:57 | 341,146,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 149 | cpp | #include "EditWidget.h"
EditWidget::EditWidget(QWidget *parent)
: QWidget(parent)
{
ui.setupUi(this);
}
EditWidget::~EditWidget()
{
}
| [
"noreply@github.com"
] | noreply@github.com |
13357256c7f01b11626ecd9b25b0a480210a758b | d0eb99a27084d0decd07e72be416ea36db003df6 | /LilleBuddha/LilleBuddha.ino | 7d0d6b241f67d09663ecc9a908df6bcc877b7ae5 | [] | no_license | passelig/arduino | 6e690e577605fe38c8e96ded8db16d2156a17863 | f7382a2c135fe6a32a5442a54bc52b5770a0c9ef | refs/heads/master | 2023-05-28T04:50:57.927627 | 2023-05-02T19:34:18 | 2023-05-02T19:34:18 | 301,216,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,386 | ino | /**
* @example CompNumber.ino
*
* @par How to Use
* This example shows that ,when the "+" component on the Nextion screen is released,
* the value of number component will plus 1,when the "-" component released ,the value of
* number component will minus 1 every time.
*
* @author huang xianming (email:<xianmi... | [
"gunnar.storebo@gmail.com"
] | gunnar.storebo@gmail.com |
83bd2bee7482f86e994151eedefcec3f4e00c0cd | 4c6ee3c60a0bcd35a1775274bc60f7d41dfbf11b | /swo/ue07/src/wmb/motor.hpp | c8ed9241a9f5b61ecdae08b56748df0717cb443b | [] | no_license | TangoTwo/nv-hgb | 01e19deab3b2b12668f8c4faab9622355698885c | fabe9751b0687a8c783118a9a592808666994446 | refs/heads/master | 2020-04-03T11:45:45.175196 | 2019-02-02T16:31:46 | 2019-02-02T16:31:46 | 155,231,000 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,226 | hpp | #pragma once
#include <string>
#include <chrono>
#include <iostream>
/**
* All types of fuels (that are supported by this
* totally legitimate business software).
*/
enum class fuel_t
{
DIESEL, GASOLINE
};
class motor_t
{
public: // typedefs
/**
* Horse power.
*/
using h... | [
"vest.niklas@gmail.com"
] | vest.niklas@gmail.com |
df8b0fcaf847b27a47b50860ec1976f62e6b4826 | 0d46e0823a2de35927cee433229675e54361725e | /Lab/lab12/room.cpp | 4c823e55899404da07b64312ea2dfa50a3652d2d | [] | no_license | ipx97/CS1570 | 329a716e2995b4786c4d94d690e1f6bc5a9dbfee | 40fc31db0be6e001c0680fe13089b82413acd07a | refs/heads/master | 2021-09-13T08:35:15.937143 | 2018-04-27T06:32:31 | 2018-04-27T06:32:31 | 119,192,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | cpp | #include "room.h"
#include "res.h"
Crime_room::Crime_room(){
m_murderCommitted = false;
m_deadGuy = "";
m_hair = 0;
}
void Crime_room::meeting(Resident & a,Resident & b){
if(murder()){
m_murderCommitted = true;
//Randomizes who committed the murder
if (rand() % 2 == 1){
m_deadGuy = a.m_name;... | [
"ipiskulic17@gmail.com"
] | ipiskulic17@gmail.com |
859f99296aeec2c7491bcbe90d354e8698d787fe | 107b558561055314d9d40010e9c748888bffc3d8 | /multievent/interface/ReferenceControlT.h | 176427cd78b4ca5b511615e31a83567c55655a64 | [] | no_license | dq5070410/multievent | 44b2b228bbd86cde118769554584a2b7c1a654cb | 2006427c03202b68c0587494d87ec38bfc3c6824 | refs/heads/master | 2020-06-18T11:21:38.424426 | 2017-05-26T07:27:03 | 2017-05-26T07:27:03 | 75,140,434 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,490 | h | /**
* 引用计数类
*
*
* History
* 12/11/2012 Created
*/
#ifndef __REFERENCE_CONTROL_T_H_
#define __REFERENCE_CONTROL_T_H_
#include "AtomicOperationT.h"
ME_NAME_SPACE_BEGIN
/**
* 引用计数类
*
* 基于原子操作CMEAtomicOperationT
*/
class IMEReferenceControl
{
public:
virtual ~IMEReferenceControl() {}
publi... | [
"dq5070410@126.com"
] | dq5070410@126.com |
80f2768ffb10ee16e312b2d8f27ab4e2e69ee5af | 98f92b1375d23823a4f36136b7762ac79d33e5a4 | /src/ping_data.hpp | bada3b96decde374d659c5d4db123c8e78ceb2b5 | [
"MIT"
] | permissive | cooky451/pingstats | d60f5e311c30e35da65a18b6df121d081430133f | ed908ff6ed8fed40623c9eb8d4ae255c3c188061 | refs/heads/master | 2021-01-15T15:25:51.179585 | 2017-09-22T04:56:58 | 2017-09-22T04:56:58 | 50,164,393 | 19 | 5 | null | 2017-09-23T22:19:13 | 2016-01-22T07:08:20 | C++ | UTF-8 | C++ | false | false | 6,602 | hpp | /*
* Copyright (c) 2016 - 2017 cooky451
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, p... | [
"cooky451@gmail.com"
] | cooky451@gmail.com |
719a2ea7146dbb72218cddfa4cba569d5c5ff73e | 710f2cf5524cb1101ea11b5941b1b139e7469ec6 | /InsertAtTailLL.cpp | c0003aab6b4453d0c4a1cafdd29b5fd601c67753 | [] | no_license | themennice/programming-challenges | 2bbf49f9848e84c5062f9c3718232f3095d45e4f | c62d2a84ec43076f4c8db101e7d88b2a27eb37a8 | refs/heads/master | 2023-04-06T16:22:23.298137 | 2021-04-06T03:00:42 | 2021-04-06T03:00:42 | 230,023,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,252 | cpp | /*
Insert at tail of a linked list.
https://www.hackerrank.com/challenges/30-linked-list/problem
*/
#include <iostream>
#include <cstddef>
using namespace std;
class Node
{
public:
int data;
Node *next;
Node(int d){
data=d;
next=NULL;
}
};
class Solution{
... | [
"dziubiiden@gmail.com"
] | dziubiiden@gmail.com |
d3a5f10fe9c4e8fab24e2ae128a5954ad61d4a3a | 60e49824f399df40bc2330f723b1d89bdda7e977 | /BrewPiLess/TimeKeeper.h | 6763d16e5ff805faa9028ff6423f8eceebd264c0 | [] | no_license | jalexandre0/BrewPiLess | 6f211c6c974aa37e3001de624f2158fb28db908a | d21cb15fbf569d3ed6566c7e698cf521a7d16d99 | refs/heads/master | 2020-06-25T02:28:29.844873 | 2017-07-06T21:15:27 | 2017-07-06T21:15:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,021 | h | #ifndef TimeKeeper_H
#define TimeKeeper_H
class TimeKeeperClass
{
public:
TimeKeeperClass(void):_referenceSeconds(0),_referenceSystemTime(0){}
void begin(char* server1,char* server2,char* server3);
void begin(void);
time_t getTimeSeconds(void); // get Epoch time
const char *getDateTimeStr(void);
void setInter... | [
"vitotai@mail.com"
] | vitotai@mail.com |
69d5c19aee981b344c6fdee1dea8c4ecf2b04102 | 087559124a37bb857a1fd6b5952dd44d2cb71bc6 | /tutorial1.cpp | ce45923b140a85c5f01ebab75e627f69419b899e | [] | no_license | lterrazas/CS4830Exploration4 | eefd30f4a5d572702fbd87d17af5b61c1b528478 | eb02fe22f2a569237f6810173ff0c6868aa7c484 | refs/heads/master | 2016-08-02T22:21:37.580138 | 2014-11-07T02:09:18 | 2014-11-07T02:09:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | cpp | #include "opencv2\highgui\highgui.hpp"
#include <iostream>
using namespace cv;
using namespace std;
int main(int argc, const char** argv)
{
Mat img = imread("opencv-logo.png", CV_LOAD_IMAGE_UNCHANGED); //read the image data in the file "MyPic.JPG" and store it in 'img'
if (img.empty()) //check whether the image is... | [
"itslarissat@gmail.com"
] | itslarissat@gmail.com |
843a0c7791684ed90f594bcbbdf9dfb3696865db | 1ecef5939c99cda2a92bcc17770fcbd883ae15b6 | /llvm/projects/test-suite/SingleSource/Benchmarks/Shootout-C++/hash.cpp | 9864058cc4aa286e54f165761010f5b6bb5738e7 | [
"NCSA"
] | permissive | yahnik/TaintTracking | 52316fc2ce60c0e9d11b8e3f4dea39293b43fdd2 | 71569ccc1ca84904ea22440cb0172c4f1464a29b | refs/heads/master | 2021-05-31T05:27:09.467947 | 2013-01-01T21:33:57 | 2013-01-01T21:33:57 | 6,711,409 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 838 | cpp | // -*- mode: c++ -*-
// $Id: hash.cpp 59315 2008-11-14 20:29:00Z edwin $
// http://www.bagley.org/~doug/shootout/
#include <stdio.h>
#include <iostream>
#include <ext/hash_map>
#include <cstring>
using namespace std;
using namespace __gnu_cxx;
struct eqstr {
bool operator()(const char* s1, const char* s2) const ... | [
"djonik08@gmail.com"
] | djonik08@gmail.com |
ea15e362ca6e77c297ddc57938fc7965a1617e4f | c74fc6d883e719703bcc91eab7aedf1f676667c0 | /neteq/tick_timer.cc | 3182d4d5e17d40d7d7b0d2eb5de4658f72f79e2a | [] | no_license | lanyuliuyun/webrtc-research | 5a118d7b7241f50275b1cd9827a43ff07789118b | 962bd0e73aa0069c6ffd18a1ae9a73a90f7e464f | refs/heads/master | 2022-06-13T19:33:07.737571 | 2022-03-08T04:33:53 | 2022-03-08T04:33:53 | 95,969,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 858 | cc | /*
* Copyright (c) 2016 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... | [
"lanyuliuyun@foxmail.com"
] | lanyuliuyun@foxmail.com |
2e8e2becb579dd727d6b87de1d87c125baa12a56 | 018e83709b0a00b7fc012a57259f21bf5e5deed9 | /longest_valid_parentheses/Solution.cpp | 047142aed8b56fe07b2a29fcb0ed735c8af2a235 | [] | no_license | lxyu0405/leetcode-pratice | 79daa472b6bbb96afad38e18deb6053b988052ae | 57eec096bd4de4c0a7afda7c699181ca5c2af3a0 | refs/heads/master | 2021-01-17T02:31:32.965245 | 2016-10-16T02:42:22 | 2016-10-16T02:42:22 | 52,575,038 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,547 | cpp | #include <vector>
#include <string>
#include <stack>
#include <utility>
#include <iostream>
using namespace std;
class Solution {
public:
int longestValidParentheses(string s) {
if (s.length() < 2) {
return 0;
}
stack<pair<char, int>> bracketStack;
vector<int> ... | [
"xiaoyu.lu0405@gmail.com"
] | xiaoyu.lu0405@gmail.com |
c24679e83f72ecce4053e321e5f82060fcec16d6 | 786a89a4bd31e0a5953094c7880021cc98f78f98 | /ABC/ABC230/e.cpp | f20beabf431b6e3d918a2c19649fefa2babe993f | [] | no_license | enjoy82/atcodersyozin | c12eb9cc04e61cedcdc13643b84e8c87c13ff4b1 | c8a73577d1d75db2d5c22eab028f942f75f2fba7 | refs/heads/master | 2022-10-04T04:47:16.835712 | 2022-09-30T07:15:47 | 2022-09-30T07:15:47 | 243,669,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,710 | cpp | // execute g++-11 main.cpp -std=c++14 -I C:\Users\naoya\Desktop\code\Atcoder
#include<bits/stdc++.h>
//#include<atcoder/all>
typedef long long ll;
typedef long double ld;
using namespace std;
//using namespace atcoder;
using Pii = pair<int, int>;
using Pll = pair<ll, ll>;
//ordered_set 重複不可
#include <ext/pb_ds/assoc_... | [
"naoya990506@gmail.com"
] | naoya990506@gmail.com |
0adcfaa67c5d09b64c88488f16a61bf101e759d3 | f426ab0481f35eddbcdd63bd4cfb3b0f8e1949a8 | /style_test.cpp | 239d748fe1810a027d86c9d04bcf59a7c3dad674 | [
"Unlicense"
] | permissive | cengizkandemir/.emacs.d | 5d258492a4103753abafb5b9b14cc77ee59d0455 | 189c8d506a8bb47396f73e7b2302412db6b72949 | refs/heads/master | 2022-06-27T17:57:24.312088 | 2022-05-09T13:02:58 | 2022-05-09T13:02:58 | 182,718,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,196 | cpp | #include <iostream>
#define SOME_MACRO_DEF(arg1, arg2) \
if(arg1 > arg2) { \
; \
} \
else { \
; \
}
namespace
{
int values[] =
{
1,
2,
3
};
template <... | [
"cengizkandemir@live.com"
] | cengizkandemir@live.com |
b72fbcfd6e96e74ef4b994d3fe0d6521a2efb3d6 | 163128554c1d26f17739cc77702cfbde520b406e | /task2_parser/tests/bad/bad006.cc | 7909a7000a9d9da9e72a40af103731b8c66cb54e | [] | no_license | sils/compiler-construction-haskell | 7700a278b9033c7a39947b112a8dc68d3cfb4904 | 4c58e1b43077a7049aee205d57bf16d2bc333211 | refs/heads/master | 2021-05-29T00:58:08.356159 | 2015-06-18T14:12:03 | 2015-06-18T14:13:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46 | cc | using cout::5;
int main () {
return 0;
}
| [
"lasse.schuirmann@gmail.com"
] | lasse.schuirmann@gmail.com |
77e6c591e76d6cc150236d1fe4fe8f04fd6bb1b8 | 1e2c2688150ddcc894d9049fc353029cd75c8d87 | /supporting libraries/pyside/PySide-1.2.4/pyside_build/py3.5-qt4.8.7-64bit-release/pyside/PySide/QtCore/PySide/QtCore/qmargins_wrapper.cpp | 242a29344bafeb2e5a23f5838d213d1fcd77e1d8 | [] | no_license | tryanaditya/mainmain | f3f9559230a520b69bdafc8bf9e36ebbf14147fa | fc82048e17587af3b56b977bea476a7f2506a7ba | refs/heads/master | 2021-01-11T03:11:00.020758 | 2016-10-16T23:55:05 | 2016-10-16T23:55:05 | 71,084,893 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,830 | cpp | /*
* This file is part of PySide: Python for Qt
*
* Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
*
* Contact: PySide team <contact@pyside.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2... | [
"tryan.aditya@yahoo.com"
] | tryan.aditya@yahoo.com |
71ebbde9c6859e308390a2d52fd7df2befe91e42 | 7414a260dccb2e6876af4736aac40ec10f562a29 | /ActorGraph.hpp | 68ff35f0308dd2a5d85f7734a98a5df99d4a49e9 | [] | no_license | enoorzay/compress | 582241ee84a6351cc0cf26be17ed2bb80a4e36c9 | bf45c5827913a3b9d2df53370de32759bba30fab | refs/heads/master | 2021-01-11T16:03:21.628764 | 2017-01-25T07:44:14 | 2017-01-25T07:44:14 | 79,993,229 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,463 | hpp | /*
* ActorGraph.cpp
* Author: <Edrees Noorzay>
* Date: <06/02/2016>
*
* This is the header for the ActorGraph class and its functions. The class implements
* a graph of ActorNode vertices and ActorEdge edges, along with methods to
* traverse the graph.
*/
#ifndef ACTORGRAPH_HPP
#define ACTORGRAPH_HPP
#define... | [
"enoorzay@gmail.com"
] | enoorzay@gmail.com |
9204909705ea871dae3bddb7be108f4bbdc4c38d | 55a565712300b73fa4cce94bdf4d275cbf7802af | /SEI/recapitulare/gn/gn/gnDlg.h | ecfb6b3973e5ec3488332091c0ecb8ef9f204d78 | [] | no_license | scorpionipx/ETTIM1 | 18effb605c1f957ed43012db051a4e3d8c633aec | ff1348a0581b49e48ca034849f5cc738f5aa2839 | refs/heads/master | 2020-03-30T12:57:16.890238 | 2019-07-15T11:21:00 | 2019-07-15T11:21:00 | 151,249,532 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 619 | h | // gnDlg.h : header file
//
#pragma once
#include "afxwin.h"
// CgnDlg dialog
class CgnDlg : public CDialog
{
// Construction
public:
CgnDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_GN_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support... | [
"scorpionipx@gmail.com"
] | scorpionipx@gmail.com |
4e916ce6a0ea4f9c56d4bb5c98c44694f0b76ced | 2b6263485f7b45d048387744f82198abe3230505 | /VS/Arduino.VC/MiniCNC/MiniCNC.cpp | a87832b53bcb4f1cf0a6a2bd4cbe02c877348da3 | [] | no_license | unkaMoMo/CNCStepper | b7338ae368ab670b24c69b28c4d3e3f826857bd6 | 672206dc37b775dcd07a49dc926b39b6900f9a53 | refs/heads/master | 2020-04-01T00:21:36.099052 | 2018-09-23T20:41:16 | 2018-09-23T20:41:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,595 | cpp | ////////////////////////////////////////////////////////
/*
This file is part of CNCLib - A library for stepper motors.
Copyright (c) 2013-2018 Herbert Aitenbichler
CNCLib 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 So... | [
"h.aitenbichler@eduhi.at"
] | h.aitenbichler@eduhi.at |
b6094ef8f22b01926bbb5421239169d50d4a8716 | b1784318c8c6c48f55f7d3af92bf53eca43f0f05 | /M5Stack_7SegMovie/M5Stack_7SegMovie.ino | 14e6b9f7614dee3afb3ac230cccfd62df91a6f8d | [
"MIT"
] | permissive | MhageGH/M5Stack_7SegMovie | 5ebea2de9946b2279b05700198ef07346148ae39 | d28fdf490ef27069eed5daa82afa0e51fa17631c | refs/heads/master | 2020-03-26T08:36:52.351535 | 2018-08-14T13:52:20 | 2018-08-14T13:52:20 | 144,711,214 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | ino | #include <Wire.h>
#include <M5Stack.h>
void setup() {
M5.begin();
M5.Lcd.drawJpgFile(SD, "/7SegMovie.jpg");
File file = SD.open("/7SegMovie.dat", "r");
Wire.begin();
for (int k = 0; k < 4400; ++k) {
for (int j = 0; j < 8; ++j) {
Wire.beginTransmission(0x70 + j);
Wire.write(0x21);
Wire.e... | [
"noreply@github.com"
] | noreply@github.com |
f53b147eb8f84a76b2fa54d2c9b74a80e183620a | 0ee94d9799a12d1efd0347bc5e498057623a93d1 | /Library/Source/GameControl/Settings.h | de05769982af17f9bb9cedd7dc953c543f60730a | [] | no_license | Regalixx/FrameworkSP3 | 9059c5e7975f61cd7773b909440345559060c3c2 | c40b859581f92f28842bdd28713ab04281f1aa34 | refs/heads/master | 2023-07-14T23:44:03.494552 | 2021-08-29T11:39:48 | 2021-08-29T11:39:48 | 396,223,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,777 | h | /**
CSettings
By: Toh Da Jun
Date: Mar 2020
*/
#pragma once
// Include SingletonTemplate
#include "../DesignPatterns/SingletonTemplate.h"
#include <Windows.h>
// Include GLEW
#ifndef GLEW_STATIC
#define GLEW_STATIC
#include <GL/glew.h>
#endif
// Include GLFW
#include <GLFW/glfw3.h>
class CSettings : public CS... | [
"204122U@mymail.nyp.edu.sg"
] | 204122U@mymail.nyp.edu.sg |
9b6a7a348b8e8da343dd390cb52baaaa6a3f3f8c | 515cb8eb07eeaae2dfea0084891057068562c5df | /ThreatLevel.cpp | dde421aa5a2cabf4b7bac428f5cf3b061248685e | [] | no_license | openbracketret/cos214project | 54946be54be763f11d6ff47932384ebc19c7d994 | 2b786e265764fb70cc98fac99d1c63aca4cb1aab | refs/heads/master | 2020-08-04T00:24:35.615691 | 2019-10-28T05:44:03 | 2019-10-28T05:44:03 | 211,934,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24 | cpp | #include "ThreatLevel.h" | [
"lukegreen.dev@gmail.com"
] | lukegreen.dev@gmail.com |
6e4815840f5d1290e4e1938f0e6589e9188710ab | 00a2acb5951a723f8285e04b4efc1600b042728c | /lfr_new.cp | 45356a69ccfb861bcb736d531738998a1d5461a9 | [] | no_license | Xcrater/PIC-Projects | bfc360f2edd896cd43d27464253c6ce06e6b92ae | 7589e71383ce0d959c9a6ee9c6c71678dec59bc2 | refs/heads/master | 2023-04-27T21:36:29.060476 | 2015-11-05T09:35:41 | 2015-11-05T09:35:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,227 | cp | #line 1 "C:/Documents and Settings/rajesh/Desktop/pic_codes/lfr_new.c"
#line 10 "C:/Documents and Settings/rajesh/Desktop/pic_codes/lfr_new.c"
unsigned int s1,s2,s3,s4,s5,s6,s7,s8;
unsigned short int basespeed = 150, Kp = 100, Ki = 5, Kd = 10;
float rightpulse=0,leftpulse=0,perror=0,error=0,PROPORTIONAL=0,INTEGRAL=0,DE... | [
"rajesh.raveendran@student.tut.fi"
] | rajesh.raveendran@student.tut.fi |
89a6825c4a43d39817e79032bb72df79e46545a3 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/webrtc/sdk/android/src/jni/pc/statsobserver.cc | ef73c9bfbfce728dd224e83f2492776f6c6a715b | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-google-patent-license-webrtc",
"GPL-1.0-or-later",
"LicenseRef-scancode-takuya-ooura",
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown",
... | 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 | 2,766 | cc | /*
* Copyright 2017 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 contributing ... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
d509905574552710f5d9825c16fda7813d47c66d | f08e4be57512d0555b24d13b38978f2d2c593fd1 | /leetcode/generateParenthese.h | 5ce6f61b6a4d17a4d201d30ba6c030a4c186284c | [] | no_license | FLOWERCLOUD/LeetcodePracticeByHuayun | 6f07ed86b9f4c0af1c58f4c212df826f63dd6e8e | da31b3473f6f4e02bbf69872fb4c4edfcc6bd687 | refs/heads/master | 2021-01-10T17:14:21.817412 | 2016-03-17T04:39:30 | 2016-03-17T04:39:30 | 43,479,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,812 | h | #include <string>
#include <vector>
using namespace std;
class parentheseNode{
public:
parentheseNode()
{
leftNum =0;
rightNum =0;
num = 0;
isWorking = true;
}
parentheseNode(const parentheseNode& node)
{
this->leftNum = node.leftNum;
this->rightNum = node.rightNum;
this->num =node.num;
this->isW... | [
"528450012@qq.com"
] | 528450012@qq.com |
f4dd7b130754261ffadad5854d1cbdd761d3e628 | 63168b3cc1a8019583b331ebc8c4ec58c241753c | /inference-engine/src/low_precision_transformations/src/fuse_convert.cpp | 3533bb662136531761b0972b3b9e5c7da1258ca9 | [
"Apache-2.0"
] | permissive | generalova-kate/openvino | 2e14552ab9b1196fe35af63b5751a96d0138587a | 72fb7d207cb61fd5b9bb630ee8785881cc656b72 | refs/heads/master | 2023-08-09T20:39:03.377258 | 2021-09-07T09:43:33 | 2021-09-07T09:43:33 | 300,206,718 | 0 | 0 | Apache-2.0 | 2020-10-01T08:35:46 | 2020-10-01T08:35:45 | null | UTF-8 | C++ | false | false | 5,590 | cpp | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "low_precision/fuse_convert.hpp"
#include <memory>
#include <vector>
#include <ngraph/pattern/op/wrap_type.hpp>
#include <ngraph/pattern/op/or.hpp>
#include "low_precision/common/ie_lpt_exception.hpp"
#include "low_prec... | [
"noreply@github.com"
] | noreply@github.com |
28c0e41433f78605cd8025f9b72858276761f011 | ff69e73ba648407fd8f7d1628f794b9887dcef2e | /include/linear_tri2dmesh_neohookean_dq.h | 887a898bca4b25ccefe217ce906aaf71dc612565 | [] | no_license | itsvismay/Bartels | 87bae94d7f8f51a50c419b26b5ad745503b44495 | f9c33ada4f934ea727ea647a4c556d175cbb72e6 | refs/heads/master | 2022-04-25T23:41:12.394557 | 2020-04-17T22:06:54 | 2020-04-17T22:06:54 | 259,399,718 | 0 | 0 | null | 2020-04-27T17:12:19 | 2020-04-27T17:12:19 | null | UTF-8 | C++ | false | false | 1,155 | h | #ifndef SIM_linear_tri2dmesh_neohookean_dq_H
#define SIM_linear_tri2dmesh_neohookean_dq_H
#include <Eigen/Dense>
#include <EigenTypes.h>
#include <assemble.h>
#include <linear_tri2d_neohookean_dq.h>
namespace sim {
//some c++ trickery to allow for default call backs
auto default_callback = [](auto &element_matrix... | [
"dilevin@csail.mit.edu"
] | dilevin@csail.mit.edu |
6ce09c730bada11e8c9e20bba542310ecb950da9 | c30c3466c34c41b49e8c8b2791e0d44ae6277cb2 | /Suffix Tree/src/Suffix Tree.cpp | 503c6a76579913920fd529c8222f3e0c73d95300 | [] | no_license | theAnton-forks/Competitive-Programming-Portfolio | 784eb9ff5441f1a81f5501d690f9094698bc34c7 | fb3f099d7ecc37b9117d64faa4c1bdf89e1f18d2 | refs/heads/master | 2022-12-14T03:18:04.941318 | 2020-09-03T05:22:46 | 2020-09-03T05:22:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 165 | cpp | #include <iostream>
typedef long long ll;
int main() {
std::string str;
std::cin >> str;
for(int i = 0; i <= str.length(); i++){
}
return 0;
}
| [
"vlade.maksimovski@gmail.com"
] | vlade.maksimovski@gmail.com |
b2ea7ec3e8c42e52ccceec16a0f19c71adb659cb | 6d1b158548b2da4e1e2a1761a6bb05a9bffe3bb4 | /Unique_Binary_Search_Trees_II/Unique_Binary_Search_Trees_II_ULT/Unique_Binary_Search_Trees_II_ULT.cpp | f8ff5b0074d17f59a9d197fc885393468e4d55b5 | [] | no_license | SoltiHo/LeetRepository | 636d37f80f62ac59da56ecaf8601441944105f03 | e1353e4a7ecb62898b83edb4cd64c09a4b9b93f7 | refs/heads/master | 2021-01-19T07:46:10.900494 | 2015-07-20T03:05:27 | 2015-07-20T03:05:27 | 25,610,057 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | #include "gtest/gtest.h" // access test macro
#include "Unique_Binary_Search_Trees_II.h"
TEST(Leet, Basic02){
Solution_DP sol;
sol.generateTrees(5);
}
TEST(Leet, Basic01){
Solution_DP sol;
sol.generateTrees(4);
}
// --------------------------------------------------------------------
| [
"Solti.Ho@Gmail.com"
] | Solti.Ho@Gmail.com |
899f2c82df86acf82375170f960e7f72b23f9185 | a2808ac35b2a639e34d740cde5440511408560f5 | /tests/events_service_ut.cpp | b847adab8fe7cffa7ec31b87e4a962456522f000 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | cisco-aarhodes/sonic-swss-common | a172404ca8e689de006ad22523e15628267bb0b7 | c396ff7b9ecf6a0fe6ae53e84a3f3539dfc9a9a3 | refs/heads/master | 2023-05-26T16:25:26.437472 | 2023-05-17T07:58:41 | 2023-05-17T07:58:41 | 178,019,413 | 0 | 1 | NOASSERTION | 2019-03-27T15:09:34 | 2019-03-27T15:09:34 | null | UTF-8 | C++ | false | false | 4,323 | cpp | #include <iostream>
#include <memory>
#include <thread>
#include <algorithm>
#include <deque>
#include <regex>
#include "gtest/gtest.h"
#include "common/events_common.h"
#include "common/events_service.h"
using namespace std;
static bool do_terminate = false;
static void *zmq_ctx = NULL;
static event_service service_... | [
"noreply@github.com"
] | noreply@github.com |
7c33ab39a65fc3c1bcc73eaeedc92dea700bc9fd | 88f51675ccd4b2b48433bb367f3ebaf9c45049a1 | /Source/DX2DEngine/tga2d/shaders/shader_distance_field_instanced.h | 58344f5b1e7bd0433f832a02016a6de4125444a3 | [] | no_license | PekaOchKlickaGrupp7/PekaOchKlicka | 041c430d1f068d12c28e65b5aa47d339e71c04bd | 8fac3296a2f27c59ba39bb07c8d4415bd415eb01 | refs/heads/master | 2021-01-10T16:01:18.619325 | 2016-02-26T16:57:09 | 2016-02-26T16:57:09 | 49,209,774 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | h | #pragma once
#include "shader.h"
#include "math/vector2.h"
#include "math/vector4.h"
#include "shader_common.h"
namespace DX2D
{
class CTexturedQuadBatch;
class CSprite;
class CShaderDistanceFieldInstanced : public CShader
{
public:
CShaderDistanceFieldInstanced(CEngine* aEngine);
bool Init() override;
vo... | [
"linus@neuman.io"
] | linus@neuman.io |
205ddf69fffff0aee04ebcf4f816e8f4d202b146 | 0fbfce2abb13ca88a7f6150f8ba0c3bd6a87ed27 | /source/tools/reference_vector.h | ec4375edcc1f77fcf0d249dd7c2bc6fb602f8481 | [] | no_license | mmore500/Empirical | cb8ee861892f0f5cb0a203d1765b88006330ee7e | 43edffcebb0538182426fe67c0cb0cff35760375 | refs/heads/master | 2023-06-25T17:17:53.374977 | 2020-10-16T23:09:10 | 2020-10-16T23:10:00 | 109,316,865 | 0 | 0 | null | 2017-11-02T20:43:32 | 2017-11-02T20:43:31 | null | UTF-8 | C++ | false | false | 3,636 | h | /**
* @note This file is part of Empirical, https://github.com/devosoft/Empirical
* @copyright Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* @date 2019
*
* @file reference_vector.h
* @brief A version of vector that holds only references to objects. Be careful!
* @not... | [
"charles.ofria@gmail.com"
] | charles.ofria@gmail.com |
44e4609e3d304d103890c668cafb46fc30b39006 | 22d3c41426e0aee42c60916bbebb6728d4f91900 | /source/tnn/device/opencl/opencl_utils.h | 43a5fde3d5ee643469e3bb504926efddbbbdb197 | [
"BSD-3-Clause"
] | permissive | airockchip/TNN | ff5e095a9acf35d39e78cb7d3592d9661f9d5ccf | 3d35e9cc4d608fcc9434413207642cbda9056b75 | refs/heads/master | 2022-12-12T14:06:51.757881 | 2020-08-11T11:48:06 | 2020-08-12T05:32:20 | 287,201,899 | 1 | 1 | NOASSERTION | 2020-08-13T06:41:45 | 2020-08-13T06:41:45 | null | UTF-8 | C++ | false | false | 6,032 | h | // Tencent is pleased to support the open source community by making TNN available.
//
// Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy o... | [
"darrenyao@tencent.com"
] | darrenyao@tencent.com |
7bf604288e049d47d392e44f2974ccaaafb3ce2f | b08a4eeabc5495d24f309d9a9ea6da7104277f4a | /All Them Pixels/All Them Pixels/ValueBar.h | fc2b2854beb6d87b2fd82ae6bd7de696bd383d65 | [] | no_license | Kanel/AllThemPixels | f776b49005eeff7cb99e32184c86dfcea55c2339 | 61be150419c46ac2a832a06f95f3bdc3af3c7125 | refs/heads/master | 2021-01-10T19:32:32.066249 | 2013-09-22T17:07:52 | 2013-09-22T17:07:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | h | #pragma once
#include "Vector2fMath.h"
#include "Collision.h"
#include <SFML\Graphics.hpp>
using namespace sf;
class ValueBar : public Drawable
{
private:
float min;
float max;
float value;
float size;
float margin;
Vector2f start;
Vector2f end;
Vertex background[4];
Vertex foreground[4];... | [
"joakim@celestus.se"
] | joakim@celestus.se |
58418ed647ee87c4e164ec7b0d76de7d6b5ca0f2 | 71305fba783f04a7925cf2baef6bbd348f443ebb | /check_qobject/test/widget2.h | 05c083e8c5adff968c8faa44d9802ea0afd4d7ac | [] | no_license | zhugp125/PythonProject | 2c237207586b26846dfd28400b6f60722eaa7734 | 2f007fcd7f51a1c80631e7dce338e8e6f4e92777 | refs/heads/master | 2020-04-29T06:24:54.460646 | 2019-04-27T00:51:14 | 2019-04-27T00:51:14 | 110,132,953 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | h | #ifndef WIDGET_H
#include <QWidget>
class Widget : public QWidget
{
Q_OBJECT
public:
Widget(QWidget* parent = NULL);
public slots:
void onclicked();
};
#endif // !WIDGET_H | [
"18811475054@163.com"
] | 18811475054@163.com |
e706d35e12710bc1e4ad9117969583b6a1ddf590 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /DP/2634.cpp | 7963bc64cc0bb23e6f749b67215dcc23a481e2e5 | [] | 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 | 371 | cpp | #include <bits/stdc++.h>
std::vector<int> ans;
void init() {
for (int i = 10; i <= 20000000; i ++) {
int x = i, digit = 0;
while (x) {
digit += x % 10;
x /= 10;
}
if (digit == 10) {
ans.push_back(i);
}
}
}
int main() {
init();
int k;
std::cin >> k;
s... | [
"mukeshchugani10@gmail.com"
] | mukeshchugani10@gmail.com |
cc6598d5fd9a26322e1a1aa0bc4034096dba5766 | 4c1d515719425db127ba5285b5be4f03af10d5a1 | /URI-Judge/URI_1195.cpp | d330768042837c6c8a97aa54fab86ae8451fceb3 | [] | no_license | matheusmtta/Competitive-Programming | 26e51741332aed223b9231da33749940f5a1b977 | e254b80090cc75bc213aad0a7957875842e90f1a | refs/heads/master | 2023-04-28T18:08:51.417470 | 2023-04-24T21:09:00 | 2023-04-24T21:09:00 | 223,605,672 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,603 | cpp | #include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
#define INF 0x3f3f3f3f
#define MP make_pair
#define PB push_back
typedef long int int32;
typedef unsigned long int uint32;
typedef long long int int64;
typedef unsigned long long int uint64;
struct node{
int value;
struct node *left, *right;
}... | [
"matheusaquino199@gmail.com"
] | matheusaquino199@gmail.com |
a4c6e915717ad22fb9064c5357a259b1ee4897f7 | bf740abedafd4096203f5f45a388df808bada16f | /src/timer/tcsr.h | e23bbd66c9b8a87cb40308000d80d355a5e09bfa | [] | no_license | shimomura1004/h8_emulator | e96c9fe87ce52ba0b5f0f08264a2e1edd5d6bd08 | 16b3c2467f9912a28aacc0df3c587c79200f0ad5 | refs/heads/master | 2023-07-24T14:30:59.244751 | 2021-09-01T07:01:19 | 2021-09-01T07:01:19 | 327,459,845 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | h | #ifndef _TIMER_TCSR_INCLUDED_
#define _TIMER_TCSR_INCLUDED_
#include <cstdint>
class TCSR {
uint8_t reg;
public:
TCSR(uint8_t channel) : reg(channel != 2 ? 0x00 : 0x10) {}
uint8_t get_raw();
void set_raw(uint8_t value);
bool get_tcsr_cmfb();
bool get_tcsr_cmfa();
bool get_tcsr_ovf();
... | [
"graueule@gmail.com"
] | graueule@gmail.com |
e292eed20d63387dece66547b421b5face7e3d1b | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_repos_function_2180_curl-7.55.1.cpp | 2809e983f09f43661646b1e8e41b6c2d510f74db | [] | 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 | 2,769 | cpp | int
Curl_getaddrinfo_ex(const char *nodename,
const char *servname,
const struct addrinfo *hints,
Curl_addrinfo **result)
{
const struct addrinfo *ai;
struct addrinfo *aihead;
Curl_addrinfo *cafirst = NULL;
Curl_addrinfo *calast = NULL;
Curl_addrinfo... | [
"993273596@qq.com"
] | 993273596@qq.com |
6e3d90761eaae81d0be8c3df2263d9f3c3ef1d48 | eb9eea5631cfc247a8e780b98e3220ccd7682223 | /CS2040C/Kattis/oddities.cpp | 5dd60ef82cee1a1fe0c6ac6a0c38ebd920c0e4bb | [] | no_license | px1099/CS2040C-C-files | 2b7520fe2015c2f6f35e12f13c330c1f6a5cb4ea | 677bcc81ae16e7c6a198eb8cab9d90770dcef5f7 | refs/heads/master | 2020-03-17T09:33:23.891641 | 2019-04-22T09:16:31 | 2019-04-22T09:16:31 | 133,479,667 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 209 | cpp | // oddities
#include <bits/stdc++.h>
using namespace std;
int main() {
int n, x;
cin >> n;
for (int i=0; i<n; i++) {
cin >> x;
cout << x << " is " << ((x%2==0) ? "even" : "odd") << endl;
}
return 0;
} | [
"px1099@gmail.com"
] | px1099@gmail.com |
20146d67ab2062e28da3340f144f4eeacdd7be8a | 864dc68b63491e6286b43ad7e9ef6c615cb6d672 | /200-str C++/200-str C++/Source.cpp | bfa2092d56cd57cad6f3619bddebd8d0e47e02e1 | [] | no_license | HristoHristov95/C-- | 849b65859b17f81f5f7c19218c38474b44ba7616 | a3cb964cf931f3b2c11eb2ed0fe8841fd0d0c5ac | refs/heads/master | 2021-01-01T03:51:38.704768 | 2016-04-15T18:03:18 | 2016-04-15T18:03:18 | 56,339,634 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125 | cpp | #include<iostream>
using namespace std;
class myclass
{
int x, y;
public:
myclass(int i = 0, int j = 0){ x = i; y = j; }
}; | [
"hristo_ultimeted@yahoo.com"
] | hristo_ultimeted@yahoo.com |
797650a11162a7e530a0fe627892de076765785b | ad10052619b7bc79d311940bd2419772c4bc8a53 | /topcoder-master-2/RepaintTheChessboard.cpp | ee65d346cd74b698df0f51eea89f6f76b0617fe3 | [] | no_license | bluepine/topcoder | 3af066a5b1ac6c448c50942f98deb2aa382ba040 | d300c8a349a8346dba4a5fe3b4f43b17207627a1 | refs/heads/master | 2021-01-19T08:15:06.539102 | 2014-04-02T21:10:58 | 2014-04-02T21:10:58 | 18,381,690 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,860 | cpp | // BEGIN CUT HERE
// END CUT HERE
#include <sstream>
#include <string>
#include <vector>
#include <map>
#include <algorithm>
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <utility>
#include <set>
#include <cctype>
#include <queue>
#include <stack>
#include <numeric>
// BEGIN CUT HER... | [
"1983.song.wei@gmail.com"
] | 1983.song.wei@gmail.com |
f9a50cda5f317d7599bd5a5cdcc3ccc8da63219a | 7dbad8f9f2269476c8883ae9c4e23d53d4e5bbda | /udemy/FirstProgram/src/main.cpp | 147f1b9b19d24a5374c146fabfea9ed55b5e884a | [] | no_license | Geschoss/beginning-c-plus-plus | 422cf6c707eece4d3f33617d61a7d7c83b5351fb | a28806c29f308fe43df83cc290790a62ac6fb649 | refs/heads/master | 2022-03-09T18:28:11.657722 | 2022-01-22T09:25:31 | 2022-01-22T09:25:31 | 232,835,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | cpp | #include <iostream>
using std::cout;
using std::endl;
using std::cin;
using std::to_string;
template <typename T>
void log(T str) {
cout << str << endl;
}
int main()
{
int favorite_number;
log("Enter you favorite number between 1 and 100");
cin >> favorite_number;
if (favorite_number > 1... | [
"p.e.kolomnikov@tinkoff.ru"
] | p.e.kolomnikov@tinkoff.ru |
48f3a396d5ed1bfa00c1d34ab2fae33085f5a1e3 | ef91a0d2742274151949b848e34f3398e75a7b5b | /PyoFilter_win/JuceLibraryCode/modules/juce_core/juce_core.cpp | b27511bdaad0072694cb84059865545b91fed779 | [] | no_license | JVanBuskirk/PyoFilter | 6a6e5784cad6298ca56774cb4d884a2685464efc | 0698e7c41ec4cde533a841f5b18f0c5ec88c27e4 | refs/heads/master | 2021-03-19T11:53:59.100450 | 2018-07-25T01:02:50 | 2018-07-25T01:02:50 | 98,043,005 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,221 | cpp | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
The code included in this file is provided under the terms of the ISC... | [
"JVanBuskirk@users.noreply.github.com"
] | JVanBuskirk@users.noreply.github.com |
7f45cd49f40195dd4ba6ab9935904537eebffa79 | bb20ba88cc104e320374612e00fdddd5fefe86d8 | /C++/3rd_Party/CGAL/include/CGAL/Cartesian/Circle_3.h | 48940e21d775befd0cfd48ce83b021982ec431e9 | [] | no_license | cbtogu/3DLearning | 5949e22d16f14a57ab04e0eec0ef1c4364747c76 | 9cfc64ad1e0473aff4e2aef34da50731249d3433 | refs/heads/master | 2022-01-31T10:37:58.177148 | 2017-07-06T15:11:43 | 2017-07-06T15:11:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,783 | h | // Copyright (c) 2000
// Utrecht University (The Netherlands),
// ETH Zurich (Switzerland),
// INRIA Sophia-Antipolis (France),
// Max-Planck-Institute Saarbruecken (Germany),
// and Tel-Aviv University (Israel). All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you can redistribute it and/or
// ... | [
"Etienne.Houze@polytechnique.edu"
] | Etienne.Houze@polytechnique.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.