blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a5a7f209f86b823f5ab558986431da5d358ffe4b | 85ef0f6ffc78282803d1b1e0db8c1800bb01f72c | /leetcode/108.cpp | 18360456305ec8e65cf9a4003b3fb0e5c0be2fbf | [] | no_license | yangyiming0516/my-online-judge-code | 76a461142e4a7cc7c2f08c8e2301aadbced3e543 | 5c2c7baf4acba72056cde83528870cbe5c6b289a | refs/heads/master | 2021-01-25T11:57:16.705378 | 2019-03-03T18:25:03 | 2019-03-03T18:25:03 | 123,449,383 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 581 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
TreeNode* sortedArrayToBST(vector<int>& nums) {
return AtoB(nums,0, nums.size()-1);
... | [
"noreply@github.com"
] | yangyiming0516.noreply@github.com |
435a07e6fab2d089aa55ee5dcb59e69bc2159bb1 | 7dc2589f403c4a42310191f7449bc0603fe9d30d | /project-game/GameProject/Sun.h | 68f31a88a8fe76f841b5c580bbd3ff75326e64e9 | [] | no_license | SuganumaYutaka/city-project | c469eabc429af1e6495be83a081a984c6efce9ee | 38269866f3d678fdfb56c6402d3e23281ce1298a | refs/heads/master | 2022-12-01T21:40:16.152744 | 2022-11-25T08:55:44 | 2022-11-25T08:55:44 | 109,118,688 | 3 | 0 | null | 2018-02-14T06:11:33 | 2017-11-01T10:36:48 | C++ | UTF-8 | C++ | false | false | 1,240 | h | /*==============================================================================
Sun.h - 太陽
Author : Yutaka Suganuma
Date : 2017/8/16
==============================================================================*/
#ifndef _SUN_H_
#define _SUN_H_
/*-------------------------------------... | [
"yumetaigachibi@gmail.com"
] | yumetaigachibi@gmail.com |
22ab21260f3e221c61d247cf745a6d3be1ecf449 | 3ae8fb577d6f34bc94c725b3b7140abacc51047d | /gambit/armlib/src/gambit.cpp | 0aefce35c56ef326f9f4d43f50ff6d2da382abbf | [] | no_license | mjyc/gambit-lego-pkg | b25b7831e864bba0f126f64a3d40f412a19664c1 | d2ae2fa4eb09d5e149c0816eabf9213f75b7283f | refs/heads/master | 2022-12-30T17:11:30.768639 | 2013-09-03T22:02:21 | 2013-09-03T22:02:21 | 306,082,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,855 | cpp | #include <armlib/gambit.h>
#include "ik_gambit.cpp"
namespace armlib {
Gambit::Gambit() :
_spinner(1, &_cb_queue)
{
_latency_usec = 250000;
_n_dofs = 7;
_n_arm_dofs = 6;
_n_manip_dofs = 1;
_data_valid = false;
_encoder_position.resize(_n_dofs);
_joint_weights.push_back(1.5);
_joint_weights.push_back(1.... | [
"mjyc@cs.washington.edu"
] | mjyc@cs.washington.edu |
f9424d18dba2a118bd97f258c99f1618bb4b6b6e | ea8aa77c861afdbf2c9b3268ba1ae3f9bfd152fe | /meituan17D/meituan17D/ACMTemplete.cpp | 47bd95da4f5a5988b4da704a16c61bb346019e23 | [] | no_license | lonelam/SolveSet | 987a01e72d92f975703f715e6a7588d097f7f2e5 | 66a9a984d7270ff03b9c2dfa229d99b922907d57 | refs/heads/master | 2021-04-03T02:02:03.108669 | 2018-07-21T14:25:53 | 2018-07-21T14:25:53 | 62,948,874 | 9 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,827 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
#include <cstdio>
#include <cmath>
#include <map>
#include <set>
#include <utility>
#include <stack>
#include <cstring>
#include <bitset>
#include <deque>
#include <string>
#include <list>
#include <cstdlib>
usin... | [
"laizenan@gmail.com"
] | laizenan@gmail.com |
9dfcc768bcf8e289a771291983ab122165808834 | 9dc0e27554c5139534087ec2064d2a07ec3b943f | /semestr_1/dynamiczne_zarzadzanie_pamiecia_algorytmy_i_struktury_danych/Kodowanie Huffmana/kodowanie_huffmana.cpp | 35b3606b9392256ed8146c93cc85e52834b8c2e8 | [] | no_license | rikonek/zut | 82d2bc4084d0d17ab8385181386f391446ec35ac | d236b275ffc19524c64369dd21fa711f735605c7 | refs/heads/master | 2020-12-24T20:00:13.639419 | 2018-01-25T09:53:29 | 2018-01-25T09:53:29 | 86,224,826 | 1 | 3 | null | 2018-01-09T11:40:52 | 2017-03-26T10:36:59 | HTML | UTF-8 | C++ | false | false | 374 | cpp | #include <iostream>
#include <fstream>
#include "huffman.class.h"
int main(int argc,char **argv)
{
std::ifstream plik(argv[1]);
if(!plik.is_open())
{
std::cout << "Nie mozna otworzyc pliku zrodlowego" << std::endl;
return 1;
}
huffman h;
h.debug(true);
std::cout << h.encode(... | [
"radek@madenet.pl"
] | radek@madenet.pl |
fe095c6c941658f78f02c1bf0ffa60c4f117687b | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/Handle_PPoly_HArray1OfTriangle.hxx | 84bbc8c656ce1693e38869fe1441597500a8d075 | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _Handle_PPoly_HArray1OfTriangle_Header... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
ff8ab998e988148c788ced5e52bf52d17b69a7ce | ec5168f927a2e6e577b1434ff6afb3a6920e919d | /BFS - Shortest Path.cpp | 19b279d0ef6b4eda6c43db7c8566d451a887667e | [] | no_license | prabhsimar100/Backup-for-Codes-Competitive-Programming- | 3e556e61b429f0b5ef7c0410deae9e3d486617ae | 897c02aba520b8b8983bdcd2632103278373292d | refs/heads/master | 2022-12-08T14:56:59.396630 | 2020-09-06T11:35:41 | 2020-09-06T11:35:41 | 293,262,987 | 0 | 0 | null | 2020-09-06T11:35:42 | 2020-09-06T11:32:13 | C++ | UTF-8 | C++ | false | false | 2,064 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long int
#define P pair<int,int>
#define pb push_back
vector<int> graph[1005];
void bfs(int distance[],int root, int n)
{
for (int i = 1; i <=n; ++i)
{
distance[i]=0;
}
queue<int> Q;
Q.push(root);
// for (int i = 0; i < graph[root].size(); ++i)
... | [
"prabhsimar100@gmail.com"
] | prabhsimar100@gmail.com |
d47b0f911b4f7a4446b6bd5b374700cbe71eacba | 04fdfc9d6d1cd2ff13ef7d9e29da988bf2710204 | /think_in_c++/chapters02/_17PointerToFunction.cpp | 865435f36fb8d4293809a731d71fb30f35f51728 | [] | no_license | DongHuaLu/C-plus-plus | 29bd872e13e70aef80965c48446d5a5b51134b78 | 6a3405fd50ed7b23e40a0927267388c4c5f0c45a | refs/heads/master | 2020-03-30T05:28:17.467026 | 2017-02-09T06:05:08 | 2017-02-09T06:05:08 | 39,047,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | cpp | #include <iostream>
using namespace std;
int func(int i){
cout << "i = " << i << endl;
return i;
}
int main(){
int (*fp1)(int);
fp1 = func;
(*fp1)(2);
int (*fp2)(int) = func;
(*fp2)(55);
}
| [
"ctl70000@163.com"
] | ctl70000@163.com |
6db78db0707c229277eec3b8c04aa6ac42214554 | e38231ec168a4daaec38b3b6ac90c3080acd5204 | /src/FaBoMotor_DRV8830.cpp | ec4e0a38831446b2d853cd0cd1b92a605b532736 | [
"Artistic-2.0"
] | permissive | gcohen10/FaBoMotor-DRV8830-Library | 1f9bc1aeb4db24f49d0e9bc8e70bd5bfeb615877 | 25817b3c37543b47a03b662d98a7ee97d508f0d6 | refs/heads/master | 2022-01-07T05:49:09.016233 | 2019-01-03T16:21:35 | 2019-01-03T16:21:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,411 | cpp | /**
@file FaBoMotor_DRV8830.cpp
@brief This is a library for the FaBo Temperature I2C Brick.
Released under APACHE LICENSE, VERSION 2.0
http://www.apache.org/licenses/
@author FaBo<info@fabo.io>
*/
#include "FaBoMotor_DRV8830.h"
/**
@brief Constructor
*/
FaBoMotor::FaBoMotor(uint8_t addr) {
_i2caddr = ad... | [
"gclue.akira@gmail.com"
] | gclue.akira@gmail.com |
e66c02796f8619bff91d493e7ef2518aa1e078de | 781f351347692832c17ebd43bb90accd1036572d | /Sources/Core/Src/KSubWorld.h | 5e39d90776a7dee5d86e6a965af39cddab9f4a8e | [] | no_license | fcccode/Jx | 71f9a549c7c6bbd1d00df5ad3e074a7c1c665bd1 | 4b436851508d76dd626779522a080b35cf8edc14 | refs/heads/master | 2020-04-14T07:59:12.814607 | 2017-05-23T07:57:15 | 2017-05-23T07:57:15 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,191 | h | #ifndef KWorldH
#define KWorldH
#ifdef _SERVER
#define MAX_SUBWORLD 80
#else
#define MAX_SUBWORLD 1
#endif
#define VOID_REGION -2
//-------------------------------------------------------------
#include "KEngine.h"
#include "KRegion.h"
#include "KWeatherMgr.h"
#ifdef _SERVER
#include "KMission.h"
#include "KMissionA... | [
"tuan.n0s0und@gmail.com"
] | tuan.n0s0und@gmail.com |
31a4cdecf1c61a27f8d1246d81cc2872e57ae982 | ad20ec70814c8e3992e14c8e78ef1830d7c73597 | /TripleX/main.cpp | c45e529e76be9924d25f61e139a55aa784b234c0 | [] | no_license | koerriva/UnrealEngine4Course | eab6ea63d00777a53476f750528257563891cea0 | c575fe211e034e405e34f524ebe0f1ac498be0d7 | refs/heads/master | 2022-10-13T15:16:09.067684 | 2020-06-02T14:26:52 | 2020-06-02T14:26:52 | 265,832,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,931 | cpp | #include <iostream>
#include <ctime>
void PrintIntroduction(int Difficulty)
{
std::cout << "\033[1;33mYou are a secret agent breaking into a level ";
std::cout << "\033[1;32m" << Difficulty << "\033[0m";
std::cout << "\033[1;33m"
<< " secure server room...\033[0m\n";
std::cout << "\033[1;... | [
"504097978@qq.com"
] | 504097978@qq.com |
390b3e557568277807833847dd196073931a5739 | 09a353319e8e3f7abe82cdf959254fb8338321dc | /src/runtime/vm/translator/hopt/linearscan.h | 4dea13eb48d4162c0e67aff03be0ef2cc2b5f7af | [
"LicenseRef-scancode-unknown-license-reference",
"PHP-3.01",
"Zend-2.0"
] | permissive | huzhiguang/hiphop-php_20121224_original | 37b26487d96707ecb11b1810ff21c69b8f61acd8 | 029125e8af031cb79fe8e0c2eea9b8f2ad5769a2 | refs/heads/master | 2020-05-04T17:07:19.378484 | 2013-08-19T10:06:52 | 2013-08-19T10:06:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,547 | h | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"huzhiguang@jd.com"
] | huzhiguang@jd.com |
bbe54247f976922ff01895d54e1eb0055737ff5b | 81fdded2f4a5482e9c00ebb2230a7f8975fc38fd | /ComIOP/Wrapper/ProxyServer/OpcUaComProxyServer.cpp | 894c4fd92d29a30e129d80570ec77514cb90b1f9 | [
"LicenseRef-scancode-generic-cla"
] | no_license | thephez/UA-.NETStandardLibrary | c38477a95d69387fa37f9eb3cd2056e460b5ae40 | 759ea05f8d8f990a9aa2354c58dbb846e2ffd88b | refs/heads/master | 2021-01-21T07:25:31.968237 | 2017-01-03T21:01:07 | 2017-01-03T21:01:07 | 64,311,762 | 1 | 1 | null | 2016-07-27T13:42:48 | 2016-07-27T13:42:48 | null | UTF-8 | C++ | false | false | 3,620 | cpp | /* ========================================================================
* Copyright (c) 2005-2016 The OPC Foundation, Inc. All rights reserved.
*
* OPC Foundation MIT License 1.00
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
... | [
"mregen@microsoft.com"
] | mregen@microsoft.com |
b2d480d42ad7290ca3f5c828db7722bfd4e55e46 | 341c6ea936988af9e24379f5cf08a62be1d9d811 | /ccursor.cpp | 9ade2e2634292e71272a114441865681674a7f6f | [] | no_license | mextier/Patience | 3fad4544ccc123782756f4de411527a43a047bc6 | bad1f104f82d3c895e4565499137acaf27da3f20 | refs/heads/master | 2021-10-24T05:04:45.991183 | 2019-03-22T05:17:40 | 2019-03-22T05:17:40 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 3,369 | cpp | //====================================================================================================
//подключаемые библиотеки
//====================================================================================================
#include "ccursor.h"
//===========================================================... | [
"da-nie@yandex.ru"
] | da-nie@yandex.ru |
509a0bb6dd889547c470d03729e808191c894668 | 188fb8ded33ad7a2f52f69975006bb38917437ef | /Fluid/processor5/0.54/Force | 2cdaa9d96d5a6ff1f1921b4cb0b78a0ba171f205 | [] | no_license | abarcaortega/Tuto_2 | 34a4721f14725c20471ff2dc8d22b52638b8a2b3 | 4a84c22efbb9cd2eaeda92883343b6910e0941e2 | refs/heads/master | 2020-08-05T16:11:57.674940 | 2019-10-04T09:56:09 | 2019-10-04T09:56:09 | 212,573,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,724 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | [
"aldo.abarca.ortega@gmail.com"
] | aldo.abarca.ortega@gmail.com | |
8f44ca22c4f15cecfa7ca9af7931ee8685718ba5 | d1d31c9bb9bb1347d0c31ff39ce781236cd1c89a | /test/ComponentTypeInformationTest.cpp | 5b929f036d0d16a1610d870d08181b32319b924a | [] | no_license | defacto2k15/pwAsteroids | bf8cb516f788565c11601095348581d74f87897b | 546678ce169a5a1855f2c5c2752f5e00c0c77d0f | refs/heads/master | 2021-01-21T14:04:28.377090 | 2016-05-25T12:58:52 | 2016-05-25T12:58:52 | 44,272,235 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | cpp | //
// Created by defacto on 26.10.15.
//
#include <lib/gmock-1.7.0/gtest/include/gtest/gtest.h>
#include <Model/components/Component.h>
class C1 : public Component{};
class C2 : public Component{};
class C3 : public C2{};
TEST(ComponentTypeInformationTest, WorksForTwoComponentsOfTheSameTypeWhenSecondIsCastedToBase... | [
"defacto2k15@gmail.com"
] | defacto2k15@gmail.com |
678cd10a426ee46dca1f758231f8d3b2e2f2eb77 | 7598c557d4be8308ed0fb57e99e54bf64a583cdc | /test/core/event_engine/windows/iocp_test.cc | 1736446d3d43f8a4dfa403faa562c695aef953ec | [
"BSD-3-Clause",
"MPL-2.0",
"Apache-2.0"
] | permissive | kedartal/grpc | c2c817bec4f00eab5af26ddffcd61ff8c2ba7c07 | d699b574a8e773e256b438d685ba3121b9ab96b3 | refs/heads/master | 2022-10-17T00:07:56.318728 | 2022-10-12T19:37:14 | 2022-10-12T19:37:14 | 265,615,706 | 0 | 0 | Apache-2.0 | 2020-05-20T15:57:40 | 2020-05-20T15:57:39 | null | UTF-8 | C++ | false | false | 13,757 | cc | // Copyright 2022 gRPC 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 agreed to i... | [
"noreply@github.com"
] | kedartal.noreply@github.com |
6133ca93acfccd10156c5b107ddf16c4bd5891f5 | b2810745e7d746140b87367f9fa55374cc82b2f2 | /Source/BansheeEditor/Source/Win32/BsVSCodeEditor.cpp | ac98bd4c6ee446ec6e04398f8151d7b5fe2352e5 | [] | no_license | nemerle/BansheeEngine | 7aabb7d2c1af073b1069f313a2192e0152b56e99 | 10436324afc9327865251169918177a6eabc8506 | refs/heads/preview | 2020-04-05T18:29:09.657686 | 2016-05-11T08:19:09 | 2016-05-11T08:19:09 | 58,526,181 | 2 | 0 | null | 2016-05-11T08:10:44 | 2016-05-11T08:10:44 | null | UTF-8 | C++ | false | false | 22,469 | cpp | //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
//**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
#include "Win32/BsVSCodeEditor.h"
#include <windows.h>
#include <a... | [
"bearishsun@gmail.com"
] | bearishsun@gmail.com |
eaf89ae9f32bac205334c7381ad28ccb6f9d402d | 50c74a5dd38180e26f0608cb0002585489445555 | /Codeforces Solutions/201A.cpp | cfdc91499bfd6ce3a728949417d01b155ff997fe | [] | no_license | ShobhitBehl/Competitive-Programming | 1518fe25001cc57095c1643cc8c904523b2ac2ef | 7a05897ca0ef5565655350803327f7f23bcf82fe | refs/heads/master | 2020-04-17T05:20:52.302129 | 2019-03-18T10:17:47 | 2019-03-18T10:17:47 | 166,265,289 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int lli;
#define pi 3.141592653589793238
typedef pair<lli,lli> pll;
typedef map<lli,lli> mll;
typedef set<lli> sl;
//typedef pair<int,int> pii;
typedef map<int,int> mii;
typedef set<int> si;
#define x first
#define y second
#define mp make_pair
#define pb ... | [
"shobhitbehl1@gmail.com"
] | shobhitbehl1@gmail.com |
f9d054b276bb474ba401ed6614b848a43fce7142 | 03b20afd312ba32e375d8a2619a070971f3e31f5 | /Coursera/Data Structures and Algorithms Specialization/Algorithmic Toolbox/Week2/last_digit_of_a_large_fibonacci_number.cpp | 87330ec8ee5bce10f11044d63577426135a55425 | [] | no_license | AndrewShkrob/Courses | 9c368e107786ba7c19a1744072d6f50bc332efbb | c5d95e468ac8ee0d38a6af7119c1d9c1962c4941 | refs/heads/master | 2022-10-05T02:48:38.388577 | 2020-06-06T14:25:27 | 2020-06-06T14:25:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | #include <bits/stdc++.h>
using namespace std;
uint64_t FibonacciLastDigit(uint64_t n) {
if (n <= 1)
return n;
uint64_t a = 0;
uint64_t b = 1;
uint64_t ans = 0;
for (size_t i = 2; i <= n; i++) {
ans = (a + b) % 10;
a = b;
b = ans;
}
return ans;
}
int main() ... | [
"andrei5709978@gmail.com"
] | andrei5709978@gmail.com |
32bedefb699943affb1725b7938320a4470bb00b | 5df7293b4a7d7f3cf4e4d25921e252ac92c21b5f | /onnxruntime/core/providers/rocm/rocm_execution_provider_info.h | b7c308d13de026eef46fb8e641dd35a17f55ff2d | [
"MIT"
] | permissive | Nifury/onnxruntime | ccd7fed07ad917fb3b63ae333c388895073f9263 | 198994d01d4e226fd3a8816e8b2fad00c84a691c | refs/heads/main | 2023-04-08T21:40:39.383881 | 2023-04-05T00:34:13 | 2023-04-05T00:34:13 | 312,125,003 | 7 | 2 | MIT | 2020-11-12T00:28:40 | 2020-11-12T00:28:39 | null | UTF-8 | C++ | false | false | 2,757 | h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include <functional>
#include <limits>
#include "core/common/hash_combine.h"
#include "core/framework/arena_extend_strategy.h"
#include "core/framework/ortdevice.h"
#include "core/framework/provider_options.... | [
"noreply@github.com"
] | Nifury.noreply@github.com |
8733b71ded70c4ef071f1255b4285d6fd6d247a1 | 7e79e0be56f612288e9783582c7b65a1a6a53397 | /problem-solutions/codeforces/408/D.cpp | 7876c3a3644482f6dffb8ca40766a688c55f5fbb | [] | no_license | gcamargo96/Competitive-Programming | a643f492b429989c2d13d7d750c6124e99373771 | 0325097de60e693009094990d408ee8f3e8bb18a | refs/heads/master | 2020-07-14T10:27:26.572439 | 2019-08-24T15:11:20 | 2019-08-24T15:11:20 | 66,391,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,028 | cpp | #include <bits/stdc++.h>
using namespace std;
#define INF 0x3f3f3f3f
#define For(i,a,b) for(int (i)=(a);(i) < (b); ++(i))
#define mp make_pair
#define pb push_back
#define fi first
#define se second
#define endl "\n"
#define PI acos(-1)
typedef long long ll;
typedef vector<int> vi;
typedef vector<bool> vb;
typedef pair... | [
"gacamargo1.000@gmail.com"
] | gacamargo1.000@gmail.com |
5cff9c1adda869142180d8859f2dbc854306699b | b7e10af07325fbe34a8f6acb8ad3de090383b845 | /edgeRuntime/StandardPlayer.h | eaeacf0bb5b805ee026eb944a8c8fb92b83f3e1e | [
"Apache-2.0"
] | permissive | Joshua0128/mpcToolkit | dabc59d8c1844072fbd92e66eebcd236361e3c3d | 67d647488907e6f00575026e5c0b2c26b0b92b25 | refs/heads/master | 2021-12-29T23:44:16.268521 | 2016-03-21T15:58:55 | 2016-03-21T15:58:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,628 | h | //
// StandardPlayer.h
// edgeRuntime
//
// Created by Abdelrahaman Aly on 06/11/13.
// Copyright (c) 2013 Abdelrahaman Aly. All rights reserved.
//
#ifndef edgeRuntime_StandardPlayer_h
#define edgeRuntime_StandardPlayer_h
//Generic Headers
#include <string.h>
namespace Players
{
/**
* @class StandardPla... | [
"abdelrahaman.aly@gmail.com"
] | abdelrahaman.aly@gmail.com |
addc5b1c12b7b43b61875450b13d0454d7d12f71 | e73ca94a87c263b0e7622a850a576d526fc22d82 | /D3DX_Doyun_Engine/ConsoleLogger.h | d3d286b16c8a1110bdbab2c9cf8e3671418a6877 | [] | no_license | Sicarim/D3DX_Project | de3805bb1bf08b66396ab815c1abc6ffad68ba64 | 5679aa80a7aac9e8cd05f77567eb4bc279657257 | refs/heads/main | 2023-03-26T22:25:52.857187 | 2021-03-15T15:05:04 | 2021-03-15T15:05:04 | 348,013,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,611 | h | // ConsoleLogger.h: interface for the CConsoleLogger class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CONSOLELOGGER_H__294FDF9B_F91E_4F6A_A953_700181DD1996__INCLUDED_)
#define AFX_CONSOLELOGGER_H__294FDF9B_F91E_4F6A_A953_700181DD1996__INCLUDED_
#if _MSC_VER > 1000
#pra... | [
"djawleh@naver.com"
] | djawleh@naver.com |
936c6b1f0f486a1ee84416fc0d8852225ea51cad | 1097ed333a4000634e68a590ee6ffc6129ae61e3 | /Offer/CPP/旋转数组的最小数字.cpp | ee33cc555c7f33c09616b0d831e08e40937f496d | [
"MIT"
] | permissive | AutuanLiu/Code-Storm2019 | 1bbe890c7ca0d033c32348173bfebba612623a90 | 8efc7c5475fd888f7d86c3b08a3c1c9e55c1ac30 | refs/heads/master | 2020-04-23T07:03:08.975232 | 2019-10-24T08:56:26 | 2019-10-24T08:56:26 | 170,995,032 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,299 | cpp | // 旋转数组的最小数字.cpp
// 二分法解题
class Solution {
public:
int minNumberInRotateArray(vector<int> rotateArray)
{
if (rotateArray.size() <= 0)
return -1; // error
int ptr1 = 0;
int ptr2 = rotateArray.size() - 1;
int mid = ptr1; // 一旦第一个元素小于最后一个元素,说明数组本身是有序的,所以初始化为 ptr1
... | [
"autuanliu@163.com"
] | autuanliu@163.com |
35bb5a26000ed27182ac488cf1c23457adfa61dc | 38af875a44c6f42169b38d8a85237e778f855e22 | /main.cpp | 029f79d2172c02c56ce042cbaa7b64879d2bf310 | [] | no_license | gaurab2702/Cpp-graph-library | f93f02ce92325b5376282d2ef9fef10bfd988d89 | 20a48dcee9ed1b9714cfac28a45a0e50d187b154 | refs/heads/main | 2023-06-18T17:25:23.247370 | 2021-07-20T07:22:16 | 2021-07-20T07:22:16 | 387,704,926 | 0 | 0 | null | 2021-07-20T07:19:42 | 2021-07-20T07:10:31 | null | UTF-8 | C++ | false | false | 864 | cpp | #include "Graph.h"
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
string edgeString(tuple<string, string, int>); //Useful for print edges
int main() {
vector<string> nodes = {"A", "B", "C", "D"};
Graph G;
G.addNode(1.12314, "A");
G.addNode(-7.3412, "B");
G.addNode(420, "C");... | [
"noreply@github.com"
] | gaurab2702.noreply@github.com |
6955ad08326f1cf2d1c0aaf749566ed6ba6ce3f0 | 5012f1a7f9d746c117f04ff56f7ebe6d5fc9128f | /1.Server/2.Midware/KFPlugin/KFRobot/KFQueryFriendRankState.cpp | 3f23e0ad284c1c1cae7bddbb58bde3f1bb49e3c8 | [
"Apache-2.0"
] | permissive | hw233/KFrame | c9badd576ab7c75f4e5aea2cfb3b20f6f102177f | a7e300c301225d0ba3241abcf81e871d8932f326 | refs/heads/master | 2023-05-11T07:50:30.349114 | 2019-01-25T08:20:11 | 2019-01-25T08:20:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | cpp | #include "KFQueryFriendRankState.h"
#include "KFRobot.h"
namespace KFrame
{
void KFQueryFriendRankState::EnterState( KFRobot* kfrobot )
{
// 启动定时器, 10秒认证一次
kfrobot->StartTimer( _kf_robot_config->_state_rep_time );
}
void KFQueryFriendRankState::LeaveState( KFRobot* kfrobot )
{
... | [
"lori227@qq.com"
] | lori227@qq.com |
eb1d76fa137b7b7e67ed56e4748d7ec0059b3eb1 | 2665b0d8ab0ba8584721b6dcd50f404952921900 | /src/interpreter.hh | 576835201010c4237152a77cefa7d19026ae1874 | [
"MIT"
] | permissive | hxdaze/Epilog | 2f9d938828e5f3e5e356d2695867fca78221650f | 48cd45be6003f7968e5ed9ad69d2907fed9f435e | refs/heads/master | 2021-12-14T09:34:22.457568 | 2017-04-22T11:38:05 | 2017-04-22T11:38:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,172 | hh | #include "runtime.hh"
namespace Epilog {
namespace Interpreter {
struct FunctorClause {
// A structure entailing a block of instructions containing the definition for each clause with a certain functor.
std::vector<Instruction::instructionReference> startAddresses;
Instruction::instructionReference endAddr... | [
"github@varkor.com"
] | github@varkor.com |
cc0b80bbfaf9d74f44dfe7bcd86ae46a8320ea63 | 102eae403665433dc48f48196a7e9210ca344678 | /MultiThreads/Generated Files/winrt/Windows.Devices.I2c.h | 76c119e200ab095dd01dd690ce0ec172f3c02273 | [] | no_license | AIchemists/multiThreads | 5fd583c46314296cc745d3afa23dbe1994dff9f6 | df57a18dff84cd51eda31184a9ba1c811d30e2c0 | refs/heads/master | 2022-12-18T16:09:57.390044 | 2020-09-22T01:57:58 | 2020-09-22T01:57:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,568 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.200917.4
#ifndef WINRT_Windows_Devices_I2c_H
#define WINRT_Windows_Devices_I2c_H
#include "winrt/base.h"
static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.200917.4"), "Mismatched C++/WinRT headers.");
#define CPPWINRT_VERSION "2.0.2009... | [
"jicheng@yahoo.com"
] | jicheng@yahoo.com |
2f30b0feb79c37a7639798b04b76f63b8bdb5d4b | 812125f1d67ab7cb468a06171fb6ef86c8ef1483 | /buff/b.cpp | 310642ffc8ccd0bd78875e732dbdcdf68523ef1f | [] | no_license | sxw106106/cpp-learning | 861e8d67ed29ce0ceac78acb900e4756667adad6 | 7cd2817699e816acd6725137e6f7254b9fcbe1a0 | refs/heads/master | 2021-01-21T06:46:47.779675 | 2014-03-24T16:20:28 | 2014-03-24T16:20:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 983 | cpp | #include <string.h>
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
char buff2[4 * 16000 * 16 /8];
printf("################## sizeof(buff2)= %d#################\n",sizeof(buff2));
char buff[3][4 * 16000 * 16 /8];
memset(buff,0,sizeof(buff));
printf("################## sizeof(buff)= %d##########... | [
"no7david@gmail.com"
] | no7david@gmail.com |
0dd0f914eea606945a4af6c214d24c7b137c2754 | 7de2a17a61f83d3aea9d0078d2210d7dfd7960a3 | /src/ImProcGLTexture_ClrChk.h | a27c206ec597f80f46a3c66839beb9968224c504 | [] | no_license | hhcoder/GlCameraRendering | 688ceeed70289a7f8b8bfd1163a2da00cb434883 | 26ad341cfe075a532e629841e73054e03f31c8d7 | refs/heads/master | 2020-09-24T10:48:32.021361 | 2019-12-04T00:18:38 | 2019-12-04T00:18:38 | 225,741,857 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,487 | h | #ifndef _IMPROCGLTEXTURE_CLRCHK_H_
#define _IMPROCGLTEXTURE_CLRCHK_H_
#include "ImProcGLTexture.h"
#include "ImProcUtilColorChecker.h"
namespace ImProc
{
class GLTexture_ColorChecker : public GLTexture
{
public:
GLTexture_ColorChecker(GLuint iw, GLuint ih)
: nFrameWidth(iw),
nFrameHeight(ih),... | [
"hhwu.coder@outlook.com"
] | hhwu.coder@outlook.com |
76a61ab4d8a8fbf46b6ae5b33f89a7d5f83c9fe3 | 80ed2d804f11a90013b95d51f838513f1e42ef1c | /src/SimpleVariantCallTool.cpp | e2a6a5c5288f517339c61edd211d7fedfbd0e1bc | [] | no_license | ZengFLab/PyroTools | dc80b4cd44b830fd9efe0d16632a8c51650b6e48 | 81ece81d1947100edbecb807755a01a472d348ad | refs/heads/master | 2021-12-05T01:35:57.751050 | 2015-05-26T03:39:35 | 2015-05-26T03:39:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,328 | cpp | #include "SimpleVariantCallTool.h"
#include "GenericRegionTools.h"
#include "GenericVariant.h"
#include "GenericBamAlignmentTools.h"
#include "GenericSequenceGlobal.h"
using namespace GenericSequenceTools;
#include <getopt.h>
#include <time.h>
#include <tuple>
#include <utility>
#include <iomanip>
#include <iostream>
... | [
"zeng.bupt@gmail.com"
] | zeng.bupt@gmail.com |
90e3241c86b5ce4a32b1ada77a53bdf247fd2f06 | 22d5d10c1f67efe97b8854760b7934d8e16d269b | /LeetCodeCPP/47. PermutationsII/main.cpp | 7a88a97f926481b3ad11969dd754c48358f0cdd4 | [
"Apache-2.0"
] | permissive | 18600130137/leetcode | 42241ece7fce1536255d427a87897015b26fd16d | fd2dc72c0b85da50269732f0fcf91326c4787d3a | refs/heads/master | 2020-04-24T01:48:03.049019 | 2019-10-17T06:02:57 | 2019-10-17T06:02:57 | 171,612,908 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,591 | cpp | //
// main.cpp
// 47. PermutationsII
//
// Created by admin on 2019/3/18.
// Copyright © 2019年 liu. All rights reserved.
//
#include <iostream>
#include <vector>
using namespace std;
class Solution {
private:
// void helper(vector<vector<int>> &ret,vector<int> &nums,int start){
// if(start>=nums.siz... | [
"guodongliu6@crediteses.cn"
] | guodongliu6@crediteses.cn |
faf80e17980949abd2b6d7cd85c2439262df41f6 | 3f96f4c7d8c32b662a4b913f5596c2c33953ab65 | /RealTimeClock.h | 2992a9bc69242cee8e24e062299519aa02a9c22c | [] | no_license | hannahellis4242/clock | 397dad52941e6d51747c47cab737a8a7e55447f2 | d8f450f246c7178812b7282ca308a8f48a261d18 | refs/heads/master | 2022-08-29T09:19:00.157778 | 2020-05-28T16:04:52 | 2020-05-28T16:04:52 | 255,748,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | h | #ifndef REALTIMECLOCK_H
#define REALTIMECLOCK_H
#include "Array.h"
class RealTimeClock
{
private:
volatile uint8_t * out_port_ ;
const volatile uint8_t * in_port_ ;
uint8_t ce_mask_high_ ;
uint8_t ce_mask_low_ ;
public:
RealTimeClock(volatile uint8_t * out_port , const volatile uint8_t * in_port , const ui... | [
"hannah.ellis@pulsic.com"
] | hannah.ellis@pulsic.com |
57c125372bb62b28735315c8c24afd9bfc8f2b16 | da70d298517ee35165391f8486489df0a0417319 | /LAB3.1/Message.cpp | 486596be8ac479dd2a37c23aef19d6586e4ed7de | [] | no_license | Lorenzodelso/PdS | 1eb5f0cb837fd0e85ed11b0f64dbd684e4a809e8 | 41b0f7f878968c587e5a0344fd73a110bce5dd0b | refs/heads/master | 2020-05-19T09:12:06.752650 | 2019-05-15T14:56:37 | 2019-05-15T14:56:37 | 184,941,385 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | cpp | //
// Created by Lorenzo Del Sordo on 2019-05-14.
//
#include "Message.h"
Message::Message(bool insert, int siteId, Symbol* s): s(s),insert(insert),siteId(siteId) {}
Message::Message(const Message &m) {
this->insert = m.insert;
this->siteId = m.siteId;
this->s = m.s;
}
bool Message::isInsert() { return i... | [
"noreply@github.com"
] | Lorenzodelso.noreply@github.com |
9ee48f6304aaf1e28305bae593445a2126289807 | aa925e9df0eada356de766d656ad7ba95d818b7b | /algorithm/tree/KthSmallestInBST.cpp | 53d7745f17d4402aa52503a71163645b4505892d | [] | no_license | starboy520/starboy | 38bf51be81b5cc526a77e1ea16b1dab0b3e9f058 | ce386c0f5f4f8625e7030305f32194b75ca5ab1b | refs/heads/master | 2021-01-17T12:10:57.480551 | 2014-08-06T07:09:49 | 2014-08-06T07:09:49 | 554,437 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 885 | cpp | struct TreeNode {
TreeNode* left;
TreeNode* right;
int val;
};
TreeNode* findKthSmallest(TreeNode* root, int& val, int k) {
TreeNode* tmp = NULL;
if (root->left && val < k) {
tmp = findKthSmallest(root->left, val, k)
}
val++;
if (val == k) return tmp;
if (root... | [
"starboy.qi@gmail.com"
] | starboy.qi@gmail.com |
b8f6a619f16a44378cba52af5ab40db757bd6376 | 81ec283d00fa64b514063918475cf716fce18902 | /empty csgo sdk/handling/hooks/hooks.cpp | a88765231097dae6b750560c1f1a4e0f54c0f1a1 | [] | no_license | zanzo420/csgobase | ee350c11a6487bae6395821bed0e31f6142ca286 | 7c6ef093594cbe185420f8f55d21540f62d81abb | refs/heads/master | 2022-04-28T03:24:07.887141 | 2020-04-03T22:22:36 | 2020-04-03T22:22:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,303 | cpp | #include "hooks.h"
#include "../utils/render.h"
#include "../../hacks/hacks.h"
#include "../../menu/main/menu.h"
namespace handling {
namespace hooks {
std::unique_ptr <handling::utils::vmt_hook> CModeHook;
std::unique_ptr <handling::utils::vmt_hook> GPanelHook;
std::unique_ptr <handling::utils::... | [
"noreply@github.com"
] | zanzo420.noreply@github.com |
cfe6ea69b76a06517c71b274721dafb4b8459b43 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/ISA2+dmb.sy+po+ctrl.c.cbmc_out.cpp | 1b8de5e51e7f2305d9a294d4e8bd3b587c0671d9 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 43,657 | cpp | // 0:vars:3
// 8:thr2:1
// 3:atom_1_X0_1:1
// 4:atom_2_X0_1:1
// 5:atom_2_X2_0:1
// 6:thr0:1
// 7:thr1:1
#define ADDRSIZE 9
#define NPROC 4
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rng();
char get_rng( ch... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
7837ee3dad481b3f279d17fa1497053a19968ef5 | 07fbf3ab32180d94afb1eadd1a8f8ddd657e8656 | /NWNXLib/API/Linux/API/CExoArrayListTemplatedCFileInfo.hpp | 69f8472d3d01916bd71abe4ba9b74906d63bd0b8 | [
"MIT"
] | permissive | ELadner/nwnx-unified | 3b322e8722eab70c9c72a45e71013b89dbbf1e89 | 09f8e8a0c1474e8b16d4746f9cb57ca870a17ce5 | refs/heads/master | 2021-09-04T08:52:06.521478 | 2018-01-17T13:04:29 | 2018-01-17T13:04:29 | 117,771,934 | 0 | 0 | null | 2018-01-17T02:29:14 | 2018-01-17T02:29:14 | null | UTF-8 | C++ | false | false | 931 | hpp | #pragma once
#include <cstdint>
#include "CFileInfo.hpp"
namespace NWNXLib {
namespace API {
struct CExoArrayListTemplatedCFileInfo
{
CFileInfo* element;
int32_t num;
int32_t array_size;
// The below are auto generated stubs.
CExoArrayListTemplatedCFileInfo() = default;
C... | [
"liarethnwn@gmail.com"
] | liarethnwn@gmail.com |
adf1e8d9dc4bf42d38dee8fb8cf1e37ec0f3332b | 8c48a060ec96f5d4857d4e08c08f5a44d4163e6e | /tester/OverallTest/cpp/main.cpp | 5b09ad811e82a2c8f4ce0019a418838fe4ce21a6 | [] | no_license | ccf19881030/JQHttpServer | cd6e50eb74a361241d87e0dc33857ca580a51268 | 49508b53dea2c65808b2e82cef549441d268484c | refs/heads/master | 2022-12-08T09:37:10.363944 | 2020-09-05T03:53:14 | 2020-09-05T03:53:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | cpp | // Qt lib import
#include <QCoreApplication>
#include <QtTest>
// Project lib import
#include "OverallTest.h"
int main(int argc, char *argv[])
{
QCoreApplication app( argc, argv );
OverallTest benchMark;
return QTest::qExec( &benchMark, argc, argv );
}
| [
"188080501@qq.com"
] | 188080501@qq.com |
6c7ebc66296005eab8c9d6352eb790f8ee5ad069 | 4434644992afc0ced6a255d1701464fb82e19f91 | /w_autogyro/lcd_manager.cpp | f833726a09f1d01216717004803ee45950ba7691 | [] | no_license | albaniac/Sergey_gyro_mega128_mpu6050_lcd | 307d1cd205d71e5d7a8f95f91e4e67e52ced19e4 | 5284bc287306d2ec693ab4744d7b43ca79a824bb | refs/heads/master | 2020-04-10T11:26:34.632573 | 2017-12-29T13:47:40 | 2017-12-29T13:47:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,897 | cpp | #include "lcd_manager.h"
#include <stdio.h>
#include <string.h>
//=======================================================================================
LCDManager::LCDManager(){
};
//=======================================================================================
void LCDManager::SetXY (double x, double y){
... | [
"blobby@radico.ru"
] | blobby@radico.ru |
e335cda7e142ddf3a27c1373562afb9606cb75ca | d78b48d71abc96fbd45b51103ecf3e5c36486402 | /practicaFinalRedone/TouchGFX/generated/gui_generated/include/gui_generated/common/FrontendApplicationBase.hpp | cf63ad0e2dcd92688856a6ebcea9282f4a004ec4 | [] | no_license | Adrian-Rod-Mol/sistemasEmpotrados | c445c80d9490382149cde22dd80ded00faed5b53 | 9c3475e6a8e99a1186c87020318f9f43fd3adce5 | refs/heads/master | 2023-05-13T06:36:16.926220 | 2021-06-09T17:01:28 | 2021-06-09T17:01:28 | 374,237,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | hpp | /*********************************************************************************/
/********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/
/*********************************************************************************/
#ifndef FRONTENDAPPLICATIONBASE_HPP
#define FRONTENDAPPLICATIONB... | [
"adrian.rod.mol@gmail.com"
] | adrian.rod.mol@gmail.com |
322564a6bc4f1db4100e2299b1f95e471a8ccf41 | 6fe04bf9ced0dade346a4665f791ac64ee8dcb9e | /dbnamelist.h | 7e99875d5dc7195042ba7af7ea5987225d789130 | [] | no_license | zizle/dbAssistant | 29514276c037540080476518944080e4b3fd6527 | 4ca579d10f1a82c342c3f3c7ba04b438312b0e3f | refs/heads/master | 2021-05-23T16:24:35.391962 | 2020-04-14T15:03:27 | 2020-04-14T15:03:27 | 253,380,126 | 0 | 0 | null | 2020-04-14T15:03:28 | 2020-04-06T02:52:11 | null | UTF-8 | C++ | false | false | 327 | h | #ifndef DBNAMELIST_H
#define DBNAMELIST_H
#include <QListWidget>
class DBNameList : public QListWidget
{
Q_OBJECT
public:
explicit DBNameList(QWidget *parent = nullptr);
bool m_IsConnected = false;
signals:
void nameListActionSignal(QString action, QString dbName);
public slots:
};
#endif // DBNAME... | [
"zizle_lin@163.com"
] | zizle_lin@163.com |
7c856708503aec1bfe10c12834901d773b249882 | 10b4ba9e8707576a5b0210da43e6261c7e2f072e | /pat/成绩排名.cpp | 9714b5ae1ac315c0d3b7857aa4cdd173e8c8e73e | [] | no_license | liyingfei142118/Document2018 | 2ec1116cbe61ddfb63144cf06281f0c1b3b1823e | 662c5a6a50f5c7b6251027601c6f0a13307dca58 | refs/heads/master | 2020-07-03T10:31:23.981102 | 2019-08-12T08:08:34 | 2019-08-12T08:08:34 | 201,878,629 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,375 | cpp | /*读入n名学生的姓名、学号、成绩,分别输出成绩最高和成绩最低学生的姓名和学号。
输入格式:每个测试输入包含1个测试用例,格式为
第1行:正整数n
第2行:第1个学生的姓名 学号 成绩
第3行:第2个学生的姓名 学号 成绩
... ... ...
第n+1行:第n个学生的姓名 学号 成绩
其中姓名和学号均为不超过10个字符的字符串,成绩为0到100之间的一个整数,
这里保证在一组测试用例中没有两个学生的成绩是相同的。
输出格式:对每个测试用例输出2行,第1行是成绩最高学生的姓名和学号,
第2行是成绩最低学生的姓名和学号,字符串间有1空格。
输入样例:
3
Joe Math990112 8... | [
"liyingfei103@jobmail.vip"
] | liyingfei103@jobmail.vip |
ec09b5e90c55664f190a29f17fa93e67396b7b1d | 3850eac3882e8753be5f8d2d33bbc45f261141ab | /linked_list/linked_list_matrix.cpp | b41f5709f6e51cce36f12c00033a26695274f5d9 | [] | no_license | ankitkumarsamota121/geeksforgeeks_practice | 0f2ab48bc76dceadc465ad8bf588a70db053f83c | 27cbca1d44e2e6105ae8729ab9f4ea1b4a97d13c | refs/heads/master | 2023-02-07T14:58:37.107833 | 2021-01-03T11:55:47 | 2021-01-03T11:55:47 | 255,017,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,257 | cpp | // { Driver Code Starts
#include <bits/stdc++.h>
#define MAX 20
using namespace std;
struct Node
{
int data;
Node *right, *down;
Node(int x)
{
data = x;
right = NULL;
down = NULL;
}
};
void display(Node *head)
{
Node *Rp;
Node *Dp = head;
while (Dp)
{
... | [
"ankitkumarsamota121@gmail.com"
] | ankitkumarsamota121@gmail.com |
c8af3c3dc9c493a90ba672bab02585a0dd79e042 | 564a1c1bd548a080a07ca16a96ff2e0521de46c0 | /tests/src/pressed_keys_manager/src/pressed_keys_manager_test.cpp | cd119a65cdd6eff698306bf851fc99f9ff82ecb3 | [
"Unlicense"
] | permissive | lianyu125/Karabiner-Elements | 645aa142aeab2927180ff4101df9d4c83e0ba944 | e65ccbe26b4bc847d61888ff6aa33bcc78ac8e89 | refs/heads/master | 2023-01-19T06:36:54.849723 | 2020-11-26T23:49:16 | 2020-11-26T23:49:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,922 | cpp | #include <catch2/catch.hpp>
#include "pressed_keys_manager.hpp"
TEST_CASE("pressed_keys_manager") {
// empty
{
krbn::pressed_keys_manager manager;
REQUIRE(manager.empty());
}
// key_code
{
krbn::pressed_keys_manager manager;
manager.insert(krbn::momentary_switch_event(pqrs::hid::usage_p... | [
"tekezo@pqrs.org"
] | tekezo@pqrs.org |
7272179785d922b36366316ff38297b3d9f3e6a6 | 6d41a2bdaad0bf0399466417a2270fc73147c153 | /programs in April/0421/校门外的树/校门外的树/校门外的树.cpp | 8c9eb1bb3686600229ac0f3fa5d0f17e66d04d98 | [] | no_license | yuheng95/CPP_Project | b0c7aaf4af24ac158e0ab931f274ccb957e0850d | 5d5630bc21bc6d65e7b0e8dfbf6cf6e17ccfcecf | refs/heads/master | 2021-07-05T19:41:08.813794 | 2017-09-30T18:23:24 | 2017-09-30T18:23:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 411 | cpp | #include <iostream>;
using namespace std;
int main() {
int L, M = 0;
int a[10001];
int sum = 0;
cin >> L >> M;
for (int i = 0; i <= L; i++) {
a[i] = 1;
}
for (int p = 1; p <= M; p++) {
int start = 0;
int end = 0;
cin >> start >> end;
for (int j = start; j <= end; j++) {
a[j] = 0;
}
}
for (int i ... | [
"aqwmx11@pku.edu.cn"
] | aqwmx11@pku.edu.cn |
6042e76ba3b1e9c11658256d013f9897f6a2b028 | d850e50d2cb97b85c524802201efb624889fe132 | /a095.cpp | af825e6fbf2642d8f257c077ff6fce1cdb1ac8fa | [] | no_license | rosynirvana/ZeroJudge | 347e8bd5b18adb20d8c39efa700056696c720f6c | c48e7daf99da3f8c5928d20b51510c4ddbdea161 | refs/heads/master | 2021-01-21T22:29:10.608134 | 2013-09-04T12:38:12 | 2013-09-04T12:38:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 176 | cpp | #include <iostream>
int main()
{
int N, M;
while(std::cin >> N){
std::cin >> M;
if(M != N)
std::cout << M+1 << "\n";
else
std::cout << M << "\n";
}
return 0;
} | [
"kongchuijin@gmail.com"
] | kongchuijin@gmail.com |
e08c9eb25af2e62a661b50b1bc8e79264e1d765e | 10ef710dda5acd5206be8ca0f0d6bf7f1c8075b7 | /Segundo cuatrimestre/8A - Duplicar una lista y mas/listaDuplica.h | d060b7de9eba30ef7cb3063fe10baaf2a2aa9a1e | [] | no_license | imartin28/EDA | 0aee47a11c148a7e7a2742e3498c317229f45d49 | f989f0e96ced60dfb3514b60e33767519481ab3b | refs/heads/master | 2020-08-02T06:41:38.426057 | 2019-09-27T08:01:59 | 2019-09-27T08:01:59 | 211,266,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,680 | h | //
// lista_duplica.h
// EDA_2
//
// Created by Irene Martin berlanga on 15/02/2019.
// Copyright © 2019 Irene Martin berlanga. All rights reserved.
//
#ifndef lista_duplica_h
#define lista_duplica_h
#include <iostream>
#include <iomanip>
#include <fstream>
#include "queue_eda.h"
template <class T>
class listaDup... | [
"imart02@ucm.es"
] | imart02@ucm.es |
f3304244e588c20c1a41348dec3ea815903f8c47 | b4925f354c0236406d07cdab4e47667f12f58067 | /distribuidos/VisualizadordeInterfaces/SocketDatagrama.cpp | 75fe0e82a65cba0b237977171ec5968562791e57 | [
"MIT"
] | permissive | MauricioCerv10/schoolhistory | 93be0e0adc57a79e5feea4665cac92d925edd9d8 | 7e5ef296909cc1e6daa54846e595b299e4be4e6e | refs/heads/master | 2023-07-01T16:14:25.918824 | 2021-07-30T03:12:15 | 2021-07-30T03:12:15 | 390,902,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,526 | cpp | #include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <strings.h>
#include <stdio.h>
#include <stdlib.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <string.h>
#include "SocketDatagrama.h"
#include "PaqueteDatagrama.h"
using namespace std;
SocketDatagrama::SocketDa... | [
"mauriciocervantesdelgadillo10@gmail.com"
] | mauriciocervantesdelgadillo10@gmail.com |
d16c73c25ed72c5d8b723bcfe281629015944900 | 1754c9ca732121677ac6a9637db31419d32dbcf1 | /dependencies/libsbml-vs2017-release-32/include/sbml/validator/OverdeterminedValidator.h | 8a965fee5242fbffa7e5ebbaa8e6ecb848cf7d14 | [
"BSD-2-Clause"
] | permissive | sys-bio/Libstructural | 1701e239e3f4f64674b86e9e1053e9c61fe868a7 | fb698bcaeaef95f0d07c010f80c84d2cb6e93793 | refs/heads/master | 2021-09-14T17:54:17.538528 | 2018-05-16T21:12:24 | 2018-05-16T21:12:24 | 114,693,721 | 3 | 1 | null | 2017-12-18T22:25:11 | 2017-12-18T22:25:10 | null | UTF-8 | C++ | false | false | 2,257 | h | /**
* @cond doxygenLibsbmlInternal
*
* @file OverdeterminedValidator.h
* @brief Performs consistency checks on an SBML model
* @author Sarah Keating
*
* <!--------------------------------------------------------------------------
* This file is part of libSBML. Please visit http://sbml.org for m... | [
"yosefmaru@gmail.com"
] | yosefmaru@gmail.com |
c9fae1c2a7046fc83d281dde707d1dae7d45dbf9 | 7174bbeaf7729dda4e529fb47a374cd959e91c05 | /Ticket-Seller/Transakcja.h | 8aea33c1c60dbd7a9027e72a0ac729dde2ddb832 | [] | no_license | bk44271/Ticketseller | 77fd2a9c2ed357ec9c50c3ad7c00ad20b649de72 | a22dbc10e378619ad4831bcb5181a4c43e8c006a | refs/heads/master | 2022-10-18T03:15:54.242246 | 2020-06-15T08:43:15 | 2020-06-15T08:43:15 | 262,981,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | h | #include <vector>
using namespace std;
#ifndef __Transakcja_h__
#define __Transakcja_h__
// #include "buyer.h"
// #include "seller.h"
#include "bilet.h"
class buyer;
class seller;
class bilet;
class Transakcja;
class Transakcja
{
private: int _iD;
private: string _data_tran;
public: buyer* _un... | [
"noreply@github.com"
] | bk44271.noreply@github.com |
0dd7e9f882b8a7bf3ebb6cbadae295070e560d55 | 80bee850d1197772d61e05d8febc014e9980d7c0 | /Addons/MostWanted/MostWanted_Client/Notifications.hpp | f3de98f67f3b232f5bdff8face5cd591b28655f8 | [
"MIT"
] | permissive | x-cessive/Exile | 0443bb201bda31201fadc9c0ac80823fb2d7a25d | c5d1f679879a183549e1c87d078d462cbba32c25 | refs/heads/master | 2021-11-29T08:40:00.286597 | 2021-11-14T17:36:51 | 2021-11-14T17:36:51 | 82,304,207 | 10 | 8 | null | 2017-04-11T14:44:21 | 2017-02-17T14:20:22 | SQF | UTF-8 | C++ | false | false | 1,248 | hpp | class MostWanted
{
displayName = "MostWanted";
class NewBounty
{
displayName = "New Bounty";
description = "%3INMATES!%4%1A perspective client has set a bounty on a fellow inmate.%1The client is offering <t color='#ff0000'>%11</t> poptabs for their head.%1Your local Office Trader has the details and the contrac... | [
"mrsage@xcsv.tv"
] | mrsage@xcsv.tv |
795674d1fbc85a65e3222945bf988ba5f7a7e09b | 66330f7a1ff0b8447b4245474ab4de48727fd1c5 | /libs/multiprecision/plots/cpp_bin_float_tgamma_errors.cpp | 5e3dd11051ab81908028e9c1a12059142a4a9191 | [
"MIT"
] | permissive | everscalecodes/knapsack-snark | fd3cc6155125ae6ff0fc56aa979f84ba6a8c49c7 | 633515a13906407338a81b9874d964869ddec624 | refs/heads/main | 2023-07-18T06:05:22.319230 | 2021-08-31T16:10:16 | 2021-08-31T16:10:16 | 447,180,824 | 0 | 1 | MIT | 2022-01-12T10:53:21 | 2022-01-12T10:53:20 | null | UTF-8 | C++ | false | false | 2,044 | cpp |
// (C) Copyright Nick Thompson 2020.
// (C) Copyright John Maddock 2020.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <iostream>
#include <boost/math/tools/ulps_p... | [
"curryrasul@gmail.com"
] | curryrasul@gmail.com |
4453a277bdf96bebd35d6c10b85c6df1a42f075a | d52399169d3ce1ca274583241ed471fcac857ec9 | /OS/labs/lab12/os12COM/lab12/lab12/CFactory.h | 9bf083a713ffb6b9e29b57045799236337a2a0cb | [] | no_license | sshkodunishka/thirdCourse2Sem | bc7d7af3b8376aa0265a926041d1765c9173cd78 | 0eb3bb66af0e7ccc24c82a616167f08803ea3c2e | refs/heads/main | 2023-05-06T18:36:05.330071 | 2021-06-03T05:06:08 | 2021-06-03T05:06:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | h | #pragma once
#include <objbase.h>
class CFactory : public IClassFactory
{
public :
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void** ppv);
virtual ULONG STDMETHODCALLTYPE AddRef(void);
virtual ULONG STDMETHODCALLTYPE Release(void);
virtual HRESULT STDMETHODCALLTYPE CreateInstance(IUnknown* pU... | [
"anton.borisov.17@mail.ru"
] | anton.borisov.17@mail.ru |
c6dff43645cc65834c5dc8efe17ce64c45a7c237 | e9e33cbc5e0c5fe037c6e72d59190e20987e0f28 | /templates/codeforces.cpp | 4dcc48c3b2a2daa19f75b9d9c1743da7a4437b52 | [] | no_license | DakshinD/Competitive-Programming | ae7f952ac382820c0687a6cbdf23b0990e25a40e | 03fbf8d06a59d121780b667897131cb25484930a | refs/heads/master | 2021-05-21T04:56:29.271648 | 2020-12-18T16:34:26 | 2020-12-18T16:34:26 | 252,552,732 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,455 | cpp | #pragma GCC optimize("Ofast,no-stack-protector,unroll-loops,fast-math,O3")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int, int> pi... | [
"noreply@github.com"
] | DakshinD.noreply@github.com |
01106bff80159e1d5a09fd11d3b2fe330c760509 | da8fc6a09a690cf111a1d88e9f5a2d749b81af27 | /StoneSword/src/StoneSword/Events/ApplicationEvent.h | 98d5beeb504d263ef56d2ba8f9a57eb42c4a689c | [
"Apache-2.0"
] | permissive | qqqcode/StoneSword | 0864b5b0016538805581e37e553edc21192ca1f8 | 0d6217b934508196327d3bd001b42f20d8ea9c7f | refs/heads/master | 2023-03-01T18:04:05.241472 | 2021-02-01T16:53:26 | 2021-02-01T16:53:26 | 325,945,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,340 | h | #pragma once
#include "Event.h"
namespace StoneSword {
class STONESWORD_API WindowResizeEvent : public Event
{
public:
WindowResizeEvent(unsigned int width, unsigned int height)
: m_Width(width), m_Height(height) {}
unsigned int GetWidth() const { return m_Width; }
unsigned int GetHeight() const { retu... | [
"1278323354@qq.com"
] | 1278323354@qq.com |
d28903d2fd712f64bec3d7a33765e3799a3513bf | d324dafd7b383d1fccac2e6f954d2c35264d84d8 | /multigpu_graphics_attila/src/trace/ACD/Implementation/ACDTexture3DImp.h | f21ec86142a602dfd6e55409b70c45e13349d39c | [
"BSD-3-Clause",
"BSD-2-Clause-Views",
"MIT"
] | permissive | flair2005/Scalable-Multi-GPU-Rendering | 847efbaddd7c091c7bea20ebec1f22fcd5d80022 | 1fe0fa74cee5891424db73654551335a7fd5380c | refs/heads/main | 2023-02-06T07:57:02.429875 | 2020-12-29T01:06:10 | 2020-12-29T01:06:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,426 | h | /**************************************************************************
*
* Copyright (c) 2002 - 2011 by Computer Architecture Department,
* Universitat Politecnica de Catalunya.
* All rights reserved.
*
* The contents of this file may not be disclosed to third parties,
* copied or duplicated in any form, in... | [
"renxiaowei66@gmail.com"
] | renxiaowei66@gmail.com |
4b0998ab7bbe1b25038d28cae141b8b6ee204a93 | c27e82cde645bb5bb33c0c2c5f418dc3ba7a491c | /src/shell/command_parser/structures/OutAppend.cpp | 214edb500e8161b5327fb67600f4d7773d5f1de0 | [] | no_license | pik694/UXP1A_shell | 8729cb28507dc5f9a0029226b44b10b0519b821d | f6efd8d1cd3ebc8f0e85505da429c4c63566d9ff | refs/heads/master | 2020-03-13T13:58:17.432490 | 2018-06-14T17:22:14 | 2018-06-14T17:22:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 181 | cpp | //
// Created by Daniel Bigos on 13.06.18.
//
#include "OutAppend.h"
using namespace shell::parser::structures;
OutAppend::OutAppend( const std::string &path ) : Out( path ) { }
| [
"daniel.bigos96@gmail.com"
] | daniel.bigos96@gmail.com |
025ddbee6d4849149e13c1bbb8d7c6eed8b97873 | b0bdd09dbbaa05bcfb1c02263325188c4ba9c588 | /src/SLR1.cpp | 924b708c221a2aed4dfa51852c9bc8587d140a23 | [] | no_license | Nightbot1448/SLR1 | b26068ed3a49b13b8282dbb91cb8ebd605417686 | 20fa5523d192a19cdb45aef16620b6b41f34a5ce | refs/heads/master | 2021-07-19T06:11:31.784183 | 2021-01-23T12:40:30 | 2021-01-23T12:40:30 | 235,463,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,113 | cpp | #include "SLR_parser.h"
#include "SLR_base.h"
#include <iostream>
#include <fstream>
#ifdef __linux__
#include <getopt.h>
#endif
int main(int argc, char **argv)
{
bool print_parsing_table = false;
bool print_tree = false;
std::string input_string("-n+(n*n--n/n)+n");
std::string input_file;
const char* short_o... | [
"night1337bot@gmail.com"
] | night1337bot@gmail.com |
293b37023bbcdf27b6ae924ee5e55fc45b00fc1f | 5ede0e0fd1668416fc74fc5a3c997547b7708abc | /src/map_patterns.cpp | d93d1e1499a4c6bc0c71e3f9ead2eefb4c0c565b | [] | no_license | ethanfine/ia | d1f8671177cacb4bc351d5257e65c8cc05e6732d | 134ff030939fc3286545d7f58cc20cbfbc5547fa | refs/heads/develop | 2020-04-06T05:09:13.466507 | 2015-12-08T19:19:16 | 2015-12-08T19:19:16 | 47,472,684 | 0 | 0 | null | 2015-12-05T21:05:43 | 2015-12-05T21:05:42 | null | UTF-8 | C++ | false | false | 3,486 | cpp | #include "map_patterns.hpp"
#include "init.hpp"
#include <vector>
#include "map.hpp"
#include "feature_rigid.hpp"
#include "game_time.hpp"
namespace map_patterns
{
void cells_in_room(const Room& room, std::vector<P>& adj_to_walls,
std::vector<P>& away_from_walls)
{
TRACE_FUNC_BEGIN_VERBOSE;
... | [
"m.tornq@gmail.com"
] | m.tornq@gmail.com |
394a805fa897aa08cd8375de5bebd9aad769eb0b | 3c1f699c1da70d1b5f3075d74887129acbedb949 | /include/BigUint.hpp | b6145521de07624d7fb4af8df074ddbe572f01e2 | [
"MIT"
] | permissive | peterzuger/BigInt | 8acebad47bbbb19a608663398563cf4ce273f17e | 2c106cbb24db5728f34d6e7748f423e9d4301b65 | refs/heads/master | 2021-05-18T01:56:55.779994 | 2020-07-19T08:42:15 | 2020-07-19T08:42:15 | 251,055,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,727 | hpp | /**
* @file BigInt/include/BigUint.hpp
* @author Peter Züger
* @date 29.03.2020
* @brief Library for representing big integers
*
* The MIT License (MIT)
*
* Copyright (c) 2020 Philippe Peter
* Copyright (c) 2020 Peter Züger
*
* Permission is hereby granted, free of charge, to any person
* obtaining a c... | [
"zueger.peter@icloud.com"
] | zueger.peter@icloud.com |
b2261580a5edb6c594a0609140c72747e0ef074d | fc38a55144a0ad33bd94301e2d06abd65bd2da3c | /thirdparty/cgal/CGAL-4.13/include/CGAL/Minkowski_sum_2/Minkowski_sum_by_reduced_convolution_2.h | ef37f9d9336bc1fb96224b6e811a8fe50238c63a | [
"LGPL-2.0-or-later",
"LGPL-3.0-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-commercial-license",
"MIT",
"LicenseRef-scancode-free-unknown",
"LGPL-3.0-only",
"GPL-3.0-only",
"LGPL-2.1-or-later",
"LicenseRef-scancode-proprietary-license",
"Licens... | permissive | bobpepin/dust3d | 20fc2fa4380865bc6376724f0843100accd4b08d | 6dcc6b1675cb49ef3fac4a58845f9c9025aa4c9f | refs/heads/master | 2022-11-30T06:00:10.020207 | 2020-08-09T09:54:29 | 2020-08-09T09:54:29 | 286,051,200 | 0 | 0 | MIT | 2020-08-08T13:45:15 | 2020-08-08T13:45:14 | null | UTF-8 | C++ | false | false | 17,395 | h | // Copyright (c) 2015 Tel-Aviv University (Israel).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// You can redistribute it and/or modify it under the terms of the GNU
// General Public License as published by the Free Software Foundation,
// either version 3 of the License, or (at your opti... | [
"huxingyi@msn.com"
] | huxingyi@msn.com |
9b4dc0f311dfe13070d74a507f6b6da8d0d854b8 | 883ab39434c0a31cb0f04b8fe7f5e7761f1939ca | /main.cpp | 30814549176d8e791c19bad9cddd6f0fc072659f | [] | no_license | jiubing/QtDemo | 7b88130df00190971ee4c570caa37e4c43cdbbf7 | 58433760aabfa3689b1b0b28a9c74a847f9aaa23 | refs/heads/master | 2022-12-04T11:00:33.676335 | 2020-08-29T01:28:23 | 2020-08-29T01:28:23 | 291,176,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | cpp | #include "mainwindow.h"
#include <QApplication>
//hhhhhhhhhhhhhhhhhhhhhhh
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
| [
"1761960198@qq.co"
] | 1761960198@qq.co |
5b3a5a427fb5c5934e5651f65e84a22cc9474932 | 20b49a6ef1fa417d67abef2d29a598c9e41c478e | /CSES/Graph Algorithms/highScore.cpp | 23f369dd0f7541a0647b7dcefc154b5f83a3e3d1 | [] | no_license | switchpiggy/Competitive_Programming | 956dac4a71fdf65de2959dd142a2032e2f0710e1 | beaaae4ece70889b0af1494d68c630a6e053558a | refs/heads/master | 2023-04-15T19:13:12.348433 | 2021-04-04T06:12:29 | 2021-04-04T06:12:29 | 290,905,106 | 1 | 3 | null | 2020-10-05T20:16:53 | 2020-08-27T23:38:48 | C++ | UTF-8 | C++ | false | false | 1,782 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
#define benq queue
#define pbenq priority_queue
#define all(x) x.begin(), x.end()
#define sz(x) (ll)x.size()
#define m1(x) memset(x, 1, sizeof(x))
#define m0(x) memset(x, 0, sizeof(x))
#define mn(x) memset(x, -0x3f, sizeof(... | [
"switchpiggy@users.noreply.github.com"
] | switchpiggy@users.noreply.github.com |
a0ae71ec28c9e9436e81fb0fadabda6d923ddd27 | 17353cfd2c984f2b57ab09dce5b793f34b051f19 | /unsorted_include_todo/Title/Section.h | c34ffd80181d3d4f3e76fde755292d151f5c7e80 | [] | no_license | mxygon/pikmin2 | 573df84b127b27f1c5db6be22680b63fd34565d5 | fa16b706d562d3f276406d8a87e01ad541515737 | refs/heads/main | 2023-09-02T06:56:56.216154 | 2021-11-12T09:34:26 | 2021-11-12T09:34:26 | 427,367,127 | 1 | 0 | null | 2021-11-12T13:19:54 | 2021-11-12T13:19:53 | null | UTF-8 | C++ | false | false | 2,110 | h | #ifndef _TITLE_SECTION_H
#define _TITLE_SECTION_H
namespace Game {
struct BaseHIOSection {
virtual void _00() = 0; // _00
virtual void _04() = 0; // _04
virtual void _08() = 0; // _08
virtual void _0C() = 0; // _0C
virtual void _10() = 0; // _10
virtual... | [
"84647527+intns@users.noreply.github.com"
] | 84647527+intns@users.noreply.github.com |
55de33c245258aff29acda728b146e7ccb1cc969 | 83983b26f3db2963871e6a1ab046c64b2c378dd7 | /CHEFINSQ.cpp | 49f0a6ccb52c780bdc1eb51e71c78e5f1e1ce1b0 | [] | no_license | sakib1913/CODE-CHEF-AND-CODEFORCES-SOLUTIONS-IN-CPP | 144fda22091195330ae3baa1c7ce8523804d6d3b | 73af645558ce5232a33e99f648840ecf1656f2cf | refs/heads/master | 2022-11-12T18:18:51.824547 | 2020-07-11T13:13:52 | 2020-07-11T13:13:52 | 265,778,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | cpp | #include<iostream>
#include<algorithm>
using namespace std;
int fact(int n)
{
int res = 1;
for (int i = 2; i <= n; i++)
res = res * i;
return res;
}
int ncr(int n, int r)
{
return fact(n) / (fact(r) * fact(n - r));
}
int main()
{int n;
cin>>n;
int a[n];
for(int i=0;i<n;i++)
{
cin>>a[i];
}
sort(a... | [
"noreply@github.com"
] | sakib1913.noreply@github.com |
282a40574da52846ce82302f4033862a5e950873 | 8f726a302a527a43a656c6c8a791fe59a73b029d | /Chapter_1/1.5_One_Away/Levenshtein_distance.cpp | ea7a0e3935f07322a73615bb15ddb56cd688e207 | [] | no_license | aaraki/CtCI | f9d22117e6bc495695839ddd193744e5ef1b18c7 | 6f904251f2e7def3f24e05034ce24341bfc9351f | refs/heads/master | 2022-04-18T15:31:33.421149 | 2020-03-09T02:38:23 | 2020-03-09T02:38:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | cpp | #include <iostream>
#include <vector>
#include <list>
#include <stack>
#include <queue>
#include <map>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <string>
#include <algorithm>
using namespace std;
bool oneEditAway(string s, string t) {
int n = (int)s.size();
int m = (int)t.size()... | [
"tatsuhiro.no.jones@gmail.com"
] | tatsuhiro.no.jones@gmail.com |
7c0ba1339830b09e5890de8a9ea60307d9c1aa35 | 02c506346de40061bc7bf3cc4873bbb19581606c | /client/examonline/scorepaper.h | c379bac39a81426d92e1d91351048eeb197a741a | [] | no_license | 787028221/exam | f95327f56e5018257eb16fbe2ad3d869115c2bcc | 7203a851a8bab4fe595b093215fe91a8eed42696 | refs/heads/master | 2019-01-20T07:14:55.384154 | 2016-05-21T13:34:36 | 2016-05-21T13:34:58 | 57,008,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | h | #ifndef SCOREPAPER_H
#define SCOREPAPER_H
#include <QDialog>
#include<QtNetwork>
#include<QtNetwork/QTcpSocket>
namespace Ui {
class scorepaper;
}
class scorepaper : public QDialog
{
Q_OBJECT
public:
explicit scorepaper(QWidget *parent = 0);
~scorepaper();
private:
Ui::scorepaper *ui;
void ... | [
"787028221@qq.com"
] | 787028221@qq.com |
a878d481ae5d8be7753c0657d55a4a200e43ef93 | 2b60f6b0c50b5637206c3051be1b9a2d70979406 | /src/version.cpp | 9dcd85625ccabdfcd39f7ab4563f751c27524b97 | [
"MIT"
] | permissive | dogecrap/dogecrap | 97976d180b6d73af3176fa43e2aef78ea5b2058a | 307721834e9dc525b060414851252927143e5ccb | refs/heads/master | 2021-03-12T22:41:19.332301 | 2014-01-22T21:48:27 | 2014-01-22T21:48:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,672 | cpp | // Copyright (c) 2012 The Bitcoin developers
// Copyright (c) 2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the acrapmpanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <string>
#include "version.h"
// Name of client reported in the 'version' mess... | [
"you@example.com"
] | you@example.com |
ae1c44a7ef3456981492f6cc7a24fd210cec70b7 | 46622c56ade42ee4ffc7fee9ef55059a5d20bfb8 | /Byang Loves Byangette.cpp | b0cc127999361b594743402ac625b37d46da9105 | [] | no_license | Abu-Kaisar/Toph-Solutions | 4fd6522ebf0d1896efe174ea59cd41e32f9359ff | b0791067ff41ae74a2eb983fda33e4494644bc1c | refs/heads/master | 2022-03-03T04:06:27.274970 | 2019-10-03T19:19:20 | 2019-10-03T19:19:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,559 | cpp | /***
Bismillahir Rahmanir Rahim
Read in the name of Allah, who created you!!!
Author : Shah Newaj Rabbi Shishir,
Department of CSE, City University, Bangladesh.
***/
#include <bits/stdc++.h>
using namespace std;
#define sf scanf
#define pf printf
#define... | [
"noreply@github.com"
] | Abu-Kaisar.noreply@github.com |
95b16fcf7aba9cffc7917967cffa481ee9bb11be | ed2d635479472dd330176a8624b3189017b0cdc2 | /test/SplitterTest.cpp | 516353fd646aac96209addd888a923bcc9f3d7b5 | [] | no_license | Firobe/Packer | ac16da43e3e86f9401bdabb0f91f986a022d0220 | bd6b3cc824028c63e01c51831ebbb4b006a4b351 | refs/heads/master | 2021-01-21T16:27:47.159457 | 2017-04-13T22:20:44 | 2017-04-13T22:20:44 | 91,887,259 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp | #include <iostream>
#include "Outer.hpp"
#include "Splitter.hpp"
using namespace std;
int main() {
int width = 2000, height = 2000, nbSplit = 50;
Splitter splitter(width, height);
for (int i = 0 ; i < nbSplit ; i++)
splitter.split(Point(rand() % width, rand() % height), Point(rand() % width, ran... | [
"vrobles@enseirb-matmeca.fr"
] | vrobles@enseirb-matmeca.fr |
c26c0d55e48228f06762b775339116ab9416d3d1 | 44f04b8f2b6c0dba51f1e998985d3a9e8540715f | /UESTC/1058/E.cpp | 7c2f5cc3302aa1bf9f2566cb30256e55bc3ad123 | [] | no_license | GuessEver/ACMICPCSolutions | 2dd318a45939711eff1dd208cffc05a029b38130 | 909927778efd77ca9ec8e18aed3ff22c167d2a33 | refs/heads/master | 2020-05-18T20:52:32.359955 | 2015-11-04T08:31:43 | 2015-11-04T08:31:43 | 29,720,059 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,249 | cpp | #include <cstdio>
#include <cctype>
#include <cstring>
#include <algorithm>
const int N = 100000 + 10;
int W, H, n, m;
struct Edge{
int x1, x2, y, sign;
bool operator < (const Edge &b) const
{
if(y == b.y) return x1 < b.x1;
return y < b.y;
}
}edge1[N * 2], edge2[N * 2];
int num1, num2;
int val[N * 4], len[N *... | [
"jiangzh777@163.com"
] | jiangzh777@163.com |
c2fc37b3078a98d420aa542049f848fdacf5db5f | 040edc2bdbefe7c0d640a18d23f25a8761d62f40 | /25/src/densitysimcomp.cpp | aa9f386413385d855a37c4021098bf4a31155edc | [
"BSD-2-Clause"
] | permissive | johnrsibert/tagest | 9d3be8352f6bb5603fbd0eb6140589bb852ff40b | 0194b1fbafe062396cc32a0f5a4bbe824341e725 | refs/heads/master | 2021-01-24T00:18:24.231639 | 2018-01-16T19:10:25 | 2018-01-16T19:10:25 | 30,438,830 | 3 | 3 | null | 2016-12-08T17:59:28 | 2015-02-07T00:05:30 | C++ | UTF-8 | C++ | false | false | 5,052 | cpp | //$Id: halfcomp.cpp 2754 2011-01-02 20:57:07Z jsibert $
#include <fvar.hpp>
//#include "trace.h"
void assignSeapodym(dmatrix& density, const dmatrix& seapodym)
{
int i1 = density.rowmin();
int i2 = density.rowmax();
for(int i = i1; i <= i2; i++)
{
int j1 = density(i).indexmin();
int j2 = density... | [
"thomasp@spc.int"
] | thomasp@spc.int |
fad642e3a822a58e175e378996f2695c176435d9 | fa2069464c2ab9866fe6d5dd656dc48670037ba0 | /include/pixiu/request_utils.hpp | 6f005184c6de35bfdf1a3f71605bf6d4895311dc | [
"MIT"
] | permissive | blockspacer/pixiu | 2b4f881094f3876dd9a30d8acf431d5020f5a041 | a75f06a363df0bdec37ff270b67ee877bfaed03a | refs/heads/master | 2022-03-11T08:54:56.031718 | 2019-08-22T19:20:34 | 2019-08-22T19:20:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 495 | hpp | #pragma once
#include "client/request_param.hpp"
namespace pixiu {
using request_param = client_bits::request_param;
constexpr struct MakeRequest {
auto operator()(
const boost::beast::http::verb method,
const std::string& host,
boost::string_view target,
int version,
nlohmann::json param
) c... | [
"CHChang810716@gmail.com"
] | CHChang810716@gmail.com |
2bb6dc88b93399449964d90f89d4e2deca9788b3 | eed6286ba5b50858eeeb113165d87611a3c1dd18 | /WordGame/作业2/PlayerClass.cpp | e903f236e2c0bd8fd3fb36c5c19aadd5edadf8b3 | [] | no_license | Jiaxin77/University | 8270962dbe98d9705105f3e4c1c38483484aa6f1 | a6d7ef48114efb589c8b2ee4def84f9e8860ba9c | refs/heads/master | 2020-03-22T17:29:13.207436 | 2018-10-22T02:51:49 | 2018-10-22T02:51:49 | 140,394,427 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,424 | cpp | #include"PlayerClass.h"
using namespace std;
void user::setname(string na)
{
name=na;
}
void user::setpassword(string pw)
{
password=pw;
}
string user::getname()
{
return name;
}
string user::getpassword()
{
return password;
}
Player::Player()
{ name="\0";
password="\0";
WS... | [
"noreply@github.com"
] | Jiaxin77.noreply@github.com |
24e73ff935f43b05e51172c2c8b26f94bbd4d2f7 | 62cd600b3ebceea112d15b0e38b3f9ea246de729 | /DirectProgramming/DPC++/StructuredGrids/iso2dfd_dpcpp/src/iso2dfd.cpp | 710d87051b19603f4f13180ddddf6da6daa78efe | [
"MIT"
] | permissive | varsha-madananth/oneAPI-samples | 4b7637cb32670bad433c5406102a7737c0366adb | 9a2afd0154bde806b1373808f8c292431523a605 | refs/heads/master | 2022-12-02T01:14:18.012862 | 2020-08-17T17:51:37 | 2020-08-17T17:51:37 | 278,158,335 | 0 | 0 | MIT | 2020-07-08T17:55:19 | 2020-07-08T17:55:18 | null | UTF-8 | C++ | false | false | 12,324 | cpp | //==============================================================
// Copyright © 2019 Intel Corporation
//
// SPDX-License-Identifier: MIT
// =============================================================
// ISO2DFD: Intel® oneAPI DPC++ Language Basics Using 2D-Finite-Difference-Wave
// Propagation
//
// ISO2DFD is a fi... | [
"noreply@github.com"
] | varsha-madananth.noreply@github.com |
cdc55fe3b78c98ec20d72136661b2c13507d970b | a46add2ebf128c4dbe8346a59a874f2ce6c833a6 | /source/Logger/Level.hpp | c207ff52090b2c040eeecf435ea128be02e27454 | [
"MIT"
] | permissive | kurocha/logger | 3a0f4c20d8de0e53f97f9d41b0c53c22184d54cd | e34a8b976fc983b904c091a7d75671192d015179 | refs/heads/master | 2020-12-03T07:52:44.159969 | 2019-09-14T05:18:57 | 2019-09-14T05:18:57 | 95,637,102 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,308 | hpp | //
// Level.hpp
// File file is part of the "Logger" project and released under the MIT License.
//
// Created by Samuel Williams on 28/6/2017.
// Copyright, 2017, by Samuel Williams. All rights reserved.
//
#pragma once
#include <type_traits>
namespace Logger
{
enum class Level : unsigned {
ERROR = 1,
WARN... | [
"samuel.williams@oriontransfer.co.nz"
] | samuel.williams@oriontransfer.co.nz |
4090a260992308622b1cc2ff12cf77a61c46e34c | c7f14ba53098a55e94780678c0ba815cf7954930 | /Project 3 - boulder blast/BoulderBlast/BoulderBlast/backup during exit i really needa nap/Actor.cpp | 867f24aca5b30f5d316e9fd26c44c90215bd3081 | [] | no_license | TheodoreNguyen/CS32 | 0a07f29bba944a76e3f8b6b1e1d530ccdd900dc0 | 9b95a20f8572e439f8d4d97c1d06acdc1c8ffb63 | refs/heads/master | 2021-01-12T12:35:47.460095 | 2015-11-06T04:55:03 | 2015-11-06T04:55:03 | 31,944,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,527 | cpp | #include "Actor.h"
#include "StudentWorld.h"
// Students: Add code to this file (if you wish), Actor.h, StudentWorld.h, and StudentWorld.cpp
void Exit::leveldone()
{
}
void Exit::doSomething()
{
if (isVisible())
{
if (getWorld()->getPlayer->getX() == getX() && getWorld()->getPlayer()->getY() == getY())
{
... | [
"theodore.h.nguyen@outlook.com"
] | theodore.h.nguyen@outlook.com |
8234c7d2a02d2fc33ee3e2b4e27d27e82dff12f3 | dcea0b93c838a008367eee386b5eb10531e6d2a7 | /src/instructions/src/TESTinstruction.cpp | fb44d4f944cf2f951bdd20a2798dd94ba5a2865e | [] | no_license | lazav94/TwoPassAssembler | 084a7ccaa6a4f71737f1db9845e4456faf6d5763 | 7c3c1de07b8f42af56f1f2e7dc331960cbd7b4d6 | refs/heads/master | 2021-01-22T06:02:00.675495 | 2017-02-12T13:59:25 | 2017-02-12T13:59:25 | 81,729,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,912 | cpp | /*
* TESTinstruction.cpp
*
* Created on: Aug 11, 2016
* Author: laza
*/
#include "TESTinstruction.h"
TEST_instruction::TEST_instruction(int src, int dst) {
this->src = src;
this->dst = dst;
}
TEST_instruction::TEST_instruction(string instruction, string name,
string condition, bool psw_change, Elf32_... | [
"lazav94@gmail.com"
] | lazav94@gmail.com |
20c06a975fad8ae967c7a546d2cf25409fb0666d | f81664ad23806f837b154cd9c193b4b0a4cbecb9 | /vs2003_cd01/Program Files/Microsoft Visual Studio .NET 2003/Vc7/VCWizards/ClassWiz/MFC/Simple/Templates/1033/oproppg.cpp | 8b77dde9b7884f85167bcf5583be1c89fdbbd182 | [] | no_license | HowlTheHusky/vs2003 | 7b3c5a412e76025f203b7a2bf93daed546834e68 | 2f9e0d77ddb69453626459221128d941c31a2330 | refs/heads/master | 2021-06-28T13:57:57.230418 | 2017-09-18T13:39:52 | 2017-09-18T13:39:52 | 103,944,102 | 0 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,545 | cpp | // [!output IMPL_FILE] : implementation file
//
#include "stdafx.h"
#include "[!output PROJECT_NAME].h"
#include "[!output HEADER_FILE]"
[!if !MERGE_FILE]
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
[!endif]
// [!output CLASS_NAME] dialog
IMPLEMENT_DYNCREATE([!output CLASS_NAME], COlePropertyPage)
// Message map... | [
"32062494+HowlTheHusky@users.noreply.github.com"
] | 32062494+HowlTheHusky@users.noreply.github.com |
4c10f87ba91b73d99b5d4b1c23f14de89de77614 | 5a54b68c4936c8e2c4af67bb280517c1932e991e | /uavobjectwidget/uavobjectbrowserfactory.cpp | 572dc3abfa123cc2ee5c094715c48a0265cda6eb | [] | no_license | 519984307/testpilot | 538a0384dca703f7c5906f4525854c31a343eecc | 798d39afd9d39724049980d619aa4505fc67fab6 | refs/heads/master | 2023-03-17T03:29:35.283448 | 2018-02-10T12:30:48 | 2018-02-10T12:30:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,277 | cpp | /**
******************************************************************************
*
* @file uavobjectbrowserfactory.cpp
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
* @addtogroup GCSPlugins GCS Plugins
* @{
* @addtogroup UAVObjectBrowserPlugin UAVObject Browser Plu... | [
"teching.ko@gmail.com"
] | teching.ko@gmail.com |
f7fd718ba06470dca586f0b4f654b2669774b6fd | 277a8953fb34dcade615d30b65d5571800fffbe8 | /src/main.cpp | 28b5915804f40e62f2f3f4107dbbcd66eec63c4b | [] | no_license | julien-besancon/OOP_arcade_2019 | 528ccd7bed416fdd8bfbab0903c3fca4ebe5e72b | ce2677eb68bf6c2199e0cad135f28df05e219f1d | refs/heads/master | 2021-05-26T11:11:26.235031 | 2020-04-08T18:30:11 | 2020-04-08T18:30:11 | 254,108,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | /*
** EPITECH PROJECT, 2020
** OOP_arcade_2019 [WSL: Ubuntu]
** File description:
** main
*/
#include <dlfcn.h>
#include <stdio.h>
#include "Core.hpp"
void launch_game(Core &core)
{
input c = core.game->game_loop(core);
if (c == restart)
launch_game(core);
if (c == next_game) {
core.next_ga... | [
"yanis.auer@epitech.eu"
] | yanis.auer@epitech.eu |
e6fa14bdac9bcd3c0d39dcdebd772db4032f7619 | ab86dd1ea843aaf24040bee448f28c9c3ecba33b | /src/dao.cpp | 518fc4bd5762cec2da190c437292489b20128929 | [
"Apache-2.0"
] | permissive | subbyte/sdld | 14253ea51f92c60a9047ed345c5a70f586b9ad4e | 39707290fc148ddc935979cbbfdd8639035b9f95 | refs/heads/master | 2021-01-22T09:54:12.053742 | 2013-11-07T17:48:35 | 2013-11-07T17:48:35 | 14,211,007 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,668 | cpp | #include <fstream>
#include <cstdio>
#include <dirent.h>
#include <unistd.h>
#include <sys/stat.h>
#include "dao.h"
using namespace std;
DAO::DAO(char *dirname, uint32_t shingle_len)
{
m_shingle_len = shingle_len;
m_dirname = dirname;
read_filelist();
}
DAO::~DAO()
{
for(auto it = m_filenames.begin... | [
"subbyte@gmail.com"
] | subbyte@gmail.com |
af2945c2abba4ecc1c062fffaf2a65e8f64b94d7 | 85b9ce4fb88972d9b86dce594ae4fb3acfcd0a4b | /build/Android/Release/Global Pot/app/src/main/jni/_root.RecipePage.Template3.Template4.cpp | 0060301041397bfad94b84abd4a2d533efce5ba3 | [] | no_license | bgirr/Global-Pot_App | 16431a99e26f1c60dc16223fb388d9fd525cb5fa | c96c5a8fb95acde66fc286bcd9a5cdf160ba8b1b | refs/heads/master | 2021-01-09T06:29:18.255583 | 2017-02-21T23:27:47 | 2017-02-21T23:27:47 | 80,985,681 | 0 | 0 | null | 2017-02-21T23:27:48 | 2017-02-05T10:29:14 | C++ | UTF-8 | C++ | false | false | 10,435 | cpp | // This file was generated based on 'F:\Global Pot_App\.uno\ux11\RecipePage.g.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#include <_root.GlobalPot_FuseControlsImage_Url_Property.h>
#include <_root.GlobalPot_FuseControlsTextControl_Value_Property.h>
#include <_root.GlobalPot_UnoUXStringConc... | [
"girr.benjamin@gmail.com"
] | girr.benjamin@gmail.com |
12d4cdef2347b1c4ff86778d9047352e24115f01 | 510da926846b27824b55cb1bcca05907f247eb5f | /ListNodeSerializationCpp/main.cpp | 361d66f11b8920bf8cd65f023b31ffe813897919 | [] | no_license | VasilchukVV/ListNodeCpp | 207c25652c5289cbca0dafa097e485b8b3618a50 | 3e417231fd58e0c98171b6d66dfeee0452d22ca7 | refs/heads/master | 2022-11-18T18:19:51.987109 | 2020-07-20T03:44:12 | 2020-07-20T03:44:12 | 281,005,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,540 | cpp | #include "stdafx.h"
#include <sstream>
using namespace list_node_sample;
ostream& serialize(ostream& stream, const node_info& node_info);
istream& deserialize(istream& stream, node_info& node_info);
//-------------------------------------------------------------------------------------------------------------
int ma... | [
"VasilchukVV@gmail.com"
] | VasilchukVV@gmail.com |
e2c1aab4b03299431f4a066d5b19bfc8f0f52178 | 78a5c4c4a6881c76816769e3bae4f971c27bed82 | /Room.h | c0fe805b4a81edb6cd32feaf6d607dc3fddab919 | [] | no_license | StiveMan1/PSS_University_Access_System | 56ce0ec6076499aaffce538b034a438c95db19dd | d4dd509e0f198b813b8e55034cc6d26d4dc7b9e4 | refs/heads/main | 2023-03-19T23:18:33.076015 | 2021-03-17T13:04:07 | 2021-03-17T13:04:07 | 348,708,901 | 2 | 0 | null | 2021-03-17T13:02:47 | 2021-03-17T12:53:38 | C++ | UTF-8 | C++ | false | false | 1,981 | h | //
// Created by 04024 on 05.03.2021.
//
#ifndef PSS_AS_ROOM_H
#define PSS_AS_ROOM_H
#include "Users/Person.h"
class Room {
private:
char* name;
unsigned int standardAccess = 1;
int specialAccessedUsers_len = 0,specialAccessedUsers_count=1;
unsigned int* specialAccessedUsers = new unsigned int[1];
... | [
"39464416+StiveMan1@users.noreply.github.com"
] | 39464416+StiveMan1@users.noreply.github.com |
bb7eb530f62f5575622455f40d9cdb85a8b46607 | b549c903ec613321b16f01818a4a861f22afc41c | /src/QDownloaderPrivate.h | 28e4b168dec61a27d19f2b0b504ed666cfa8d6f1 | [] | no_license | jeandet/QDownloader | 206ba381ee584f6c5910923fe1a0ee71b9da5deb | 3725b25223247a60d61e56e572a2cabe6437f533 | refs/heads/master | 2021-01-23T23:02:37.441686 | 2017-09-09T13:00:58 | 2017-09-09T13:00:58 | 102,950,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,613 | h | /*------------------------------------------------------------------------------
-- This file is a part of the QDownloader library
-- Copyright (C) 2017, Plasma Physics Laboratory - CNRS
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public Licens... | [
"alexis.jeandet@member.fsf.org"
] | alexis.jeandet@member.fsf.org |
5951a6b0505e92a3c624a2e0b1d23de2ffa9f810 | e13b9e222a53ff2bd46716c2874944f6a4441ae8 | /tcpclientthread.cpp | b3d9c38540b142d9edd438aba9ca84f8f794645c | [] | no_license | lc641777437/collector_manager | ae6f654c6a8b37fede54b6ad47d9a0e98bf4c0f4 | 6077bb3f7a014d28717583efa4bd5657af9ecf2f | refs/heads/master | 2020-04-15T22:44:06.344773 | 2018-11-18T10:44:54 | 2018-11-18T10:44:54 | 68,067,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,629 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "tcpclientthread.h"
extern QVector<double> times;
extern QVector<double> value[16]; // value是一个vector的数组,即二维数组
extern int samplerate;
/***************** 初始化 ********************************/
TcpClientThread::TcpClientThread(QString message, QObject *paren... | [
"641777437@qq.com"
] | 641777437@qq.com |
d1d08d73b8efe9e21c5a868f8d28bcc8798472ca | da99e80d9c88b7783e2a5154ef6b9217fbf611e9 | /MyAstroids/MoveComponent.cpp | 9990e0a72b2f5059bbfcf6238afac9d69f7abc47 | [] | no_license | markvanbuyten/MyAstroids | 983d14fc81818b40caf401a10eff506911467687 | 4d98cb2b9e051c8e2d2f1403057e7152c646468f | refs/heads/master | 2020-04-23T17:19:24.295896 | 2019-02-21T20:04:34 | 2019-02-21T20:04:34 | 171,327,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 797 | cpp | #include "MoveComponent.h"
#include "Actor.h"
MoveComponent::MoveComponent(Actor * owner, int updateOrder)
:Component(owner, updateOrder)
,mAngularSpeed(0.0f)
,mForwardSpeed(0.0f)
{
}
void MoveComponent::Update(float deltaTime)
{
if (!Math::NearZero(mAngularSpeed))
{
float rotation = mOwner->GetRotation();
r... | [
"markvanbuyten@gmail.com"
] | markvanbuyten@gmail.com |
d5244461c524a17b9fb42cb7a4295fb6bd4be99b | 63f7f32a914a2096a9a82b50dc29dd21a877b84d | /GeneratedFiles/soapBasicHttpBinding_USCOREIRouteServiceObject.h | 3fe56bf4d96b75b073f046f4eb81ced6193f9263 | [] | no_license | dabiaoluo/VirtualEarthBitmapDownload | 069da5ad2ce3e45dde62364691e4529a8eaf5ad0 | f886f07431ae66d469c888aa1f54ecf2bb950f7b | refs/heads/master | 2021-01-14T12:58:05.021911 | 2014-11-04T03:42:55 | 2014-11-04T03:42:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,637 | h | /* soapBasicHttpBinding_USCOREIRouteServiceObject.h
Generated by gSOAP 2.7.13 from VirtualEarth.h
Copyright(C) 2000-2009, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for c... | [
"wanglauping@gmail.com"
] | wanglauping@gmail.com |
aa600d0ac987f72998e58ebf2aec43749946f30f | 5330918e825f8d373d3907962ba28215182389c3 | /CMGTools/H2TauTau/interface/DiObjectUpdateFactory.h | 86fe248404e18b758d7592c671ceaf7c6fca93de | [] | no_license | perrozzi/cmg-cmssw | 31103a7179222c7aa94f65e83d090a5cf2748e27 | 1f4cfd936da3a6ca78f25959a41620925c4907ca | refs/heads/CMG_PAT_V5_18_from-CMSSW_5_3_22 | 2021-01-16T23:15:58.556441 | 2017-05-11T22:43:15 | 2017-05-11T22:43:15 | 13,272,641 | 1 | 0 | null | 2017-05-11T22:43:16 | 2013-10-02T14:05:21 | C++ | UTF-8 | C++ | false | false | 7,190 | h | #ifndef DIOBJECTUPDATEFACTORY_H_
#define DIOBJECTUPDATEFACTORY_H_
#include "CMGTools/H2TauTau/interface/DiTauObjectFactory.h"
#include "TLorentzVector.h"
#include "DataFormats/Math/interface/deltaR.h"
namespace cmg{
// T is for example a di-object<U, S>
template< typename T>
class DiObjectUpdateFactory : publi... | [
"colin.bernet@cern.ch"
] | colin.bernet@cern.ch |
aae72d3002da609f42c2d9e6c64dc6b5d837b43f | 0f753714aab2b0e90469f17af834e94e2faa9c0f | /src/progs/recon_PBC_real.cpp | 36475dcbac8e5a8731c17cb3da6d90fd877d9111 | [] | no_license | npadmana/baorecon | b90ee4f2fb3738beb9e8ea1d5e654f6f4a0dc8eb | 1147c4b9f3a46c3b84a6c2f25960d70402e57390 | refs/heads/master | 2016-09-08T01:22:03.082693 | 2014-11-28T02:40:44 | 2014-11-28T02:40:44 | 2,431,362 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,385 | cpp | #include <iostream>
#include <cmath>
#include <sstream>
#include <iomanip>
#include "Recon.h"
static char help[] = "recon_PBC_real -configfn <configuration file>\n";
using namespace std;
int main(int argc, char *args[]) {
PetscErrorCode ierr;
ierr=PetscInitialize(&argc,&args,(char *) 0, help); CHKERRQ(... | [
"nikhil.padmanabhan@yale.edu"
] | nikhil.padmanabhan@yale.edu |
2518b1d9f829e02d4a6f05dadbb1ffce590166fa | 6d6865725ceec1287dc18a75ed843e6190d58e66 | /String/stringtest.cpp | 2462c6a414ff49ab35e483b1bb5078aaf39af8f9 | [] | no_license | patrickclark9/Esercizi | 0edbdd5e7916f56bd83f2d810e487fd4f07e93e4 | 44b4f2dbd145a788c1d359098d22db6a8085e0ab | refs/heads/master | 2023-03-15T08:44:35.732366 | 2021-03-16T09:24:44 | 2021-03-16T09:24:44 | 346,989,454 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | cpp | #include <string>
#include <iostream>
#include "string.hpp"
int main()
{
eostring n;
std::string s1 = "ciao";
std::string s2 = "buonasera";
std::string s3 = "latte";
std::string s4 = "caffett";
std::string s5 = "carlot";
std::string s6 = "pari";
char c;
n.insertString(s1);
n.in... | [
"patrickclark@outlook.it"
] | patrickclark@outlook.it |
541abdb22dfaabbe5de0031df96be623728d4750 | a550ff2a385e7a7498c02ac831116e4ff38f2a1c | /c++ sol/USACO/2018-2019/January/Platinum/redistricting.cpp | e021f2f2c7e70bc46358131ab95a41203b47527f | [] | no_license | TausifIqbal/CPcode | 28854eca64813bf01369ec553558a8cf87111537 | 23292111132752f4639037ebada288f338101e32 | refs/heads/master | 2023-04-07T19:38:52.373971 | 2021-04-13T23:11:36 | 2021-04-13T23:11:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 902 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <set>
using namespace std;
#define endl '\n'
int main(){
freopen("redistricting.in", "r", stdin);
freopen("redistricting.out", "w", stdout);
ios::sync_with_stdio(false);
cin.tie(NULL);
int n, k;
cin >> n >> k;
int dif[n + 1], dp[n + 1];
... | [
"super_j@att.net"
] | super_j@att.net |
f6fdd6f2df29a676f54867054083733d44e3a38c | fda4e3f7ecbb8f7b2e3c92682776c20b013f4e97 | /libssoa/src/registry/registryservicerequest.cpp | 4c1fbdb5409e5151c98d006afd1cdac9d7d4f046 | [] | no_license | antoniomacri/sisop-soa | 7f1ae01c6a56013fb38d76fc641ee2c9465e0995 | bbe7932ce838ce8cab2bee7c3fc8df4d67b75aac | refs/heads/master | 2021-01-11T01:23:02.021624 | 2016-10-12T21:02:41 | 2016-10-12T21:02:41 | 70,739,532 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 791 | cpp | /*
* registryservicerequest.cpp
*/
#include <ssoa/registry/registryservicerequest.h>
#include <sstream>
#include <yaml-cpp/yaml.h>
using std::string;
namespace ssoa
{
RegistryMessage * RegistryServiceRequest::fromYaml(const YAML::Node& node)
{
if (node["type"].to<string>() != messageType())
... | [
"ing.antonio.macri@gmail.com"
] | ing.antonio.macri@gmail.com |
80ec58caf299bd175668323a90f64d35c139bb96 | 6680910326e975c20fbe36e1aa31d35539d97c75 | /progbase2/build-SR_2_Lukianets_Mykhailo-Desktop_Qt_5_8_0_GCC_64bit-Debug/moc_createdata.cpp | 190814ade599af583bcf072ddfb6823bd4b53f28 | [] | no_license | TGIfr/courses | 9c927ac23921ec9a6f6503e0e7831f47c28060e3 | 99c4bc9b77a41f731d61bf7d5fa2616c610e737d | refs/heads/master | 2020-03-14T08:45:50.322966 | 2018-05-01T11:35:12 | 2018-05-01T11:35:12 | 131,532,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,699 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'createdata.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.8.0)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"mihail.lukjanec@gmail.com"
] | mihail.lukjanec@gmail.com |
3a149f7f2613ce0141859772dfff7da06f089291 | b8eb1b1e8db64dd69bab51a038131c6ef2cb7b1e | /src/Pawn.h | bf92ed9d4c08e59c5e44c6a8ad9a696f15465627 | [] | no_license | Gasia44/Advanced-Object-Oriented-Programming | f12252b1e5ab7f1b6b693c7cc6e090ee5e8e5f00 | 2fbd1464412ac3f94b427a9b54e56692dcbb14d0 | refs/heads/master | 2021-09-08T13:15:49.928299 | 2021-09-02T06:21:23 | 2021-09-02T06:21:23 | 225,483,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | h | //
// Created by gasia on 12/13/19.
//
#ifndef CHESS_PROJECT_PAWN_H
#define CHESS_PROJECT_PAWN_H
#pragma once
#include "Figure.h"
class Pawn: public Figure {
public:
Pawn(bool);
~Pawn();
bool canMove(Square*, Square*);
};
#endif //CHESS_PROJECT_PAWN_H
| [
"gasiaatashian@gmail.com"
] | gasiaatashian@gmail.com |
6960861ae1ecef55a4b0ec18b60e4fbe1f49d3b2 | 46f53e9a564192eed2f40dc927af6448f8608d13 | /content/renderer/pepper/plugin_power_saver_helper_browsertest.cc | 7444d1cc45c7c10fa0f6276dede62472832c8a63 | [
"BSD-3-Clause"
] | permissive | sgraham/nope | deb2d106a090d71ae882ac1e32e7c371f42eaca9 | f974e0c234388a330aab71a3e5bbf33c4dcfc33c | refs/heads/master | 2022-12-21T01:44:15.776329 | 2015-03-23T17:25:47 | 2015-03-23T17:25:47 | 32,344,868 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,280 | 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 "base/run_loop.h"
#include "content/common/frame_messages.h"
#include "content/common/view_message_enums.h"
#include "content/public/common/conte... | [
"scottmg@chromium.org"
] | scottmg@chromium.org |
3f245f098ab21aba54b1f6f2150ba888fdddb01e | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /extensions/browser/content_verifier/content_hash_unittest.cc | 1d560cbe4a012e5c5b3bf2fb4911bfbf6a359e92 | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 8,889 | cc | // Copyright 2019 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 "extensions/browser/content_verifier/content_hash.h"
#include "base/base64url.h"
#include "base/files/file_util.h"
#include "base/files/scoped_t... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.